diff --git a/.gitattributes b/.gitattributes index d9268bdd8..3b5e301ea 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,7 @@ -*.sql binary -*.psql binary \ No newline at end of file +# Never convert line endings for test SQL files (e.g. to CRLF on Windows checkouts), +# since the tests compare exact bytes. These are still text, so diffs show up in reviews. +*.sql -text +*.psql -text + +# Contains WIN1252-encoded (non-UTF-8) data +test/sql/postgres_regress/collate.windows.win1252.sql binary diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5632e25f..190816500 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: matrix: os: [ubuntu-24.04] compiler: [clang, gcc] - protobuf_lib: [protobuf-c, protobuf-cpp] + protobuf_lib: [upb, protobuf-cpp] valgrind: [valgrind,no-valgrind] exclude: # this combination hits linking errors: see https://github.com/pganalyze/libpg_query/pull/289 diff --git a/.gitignore b/.gitignore index 6777b14c3..9112a0e62 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,10 @@ pg_query.lib examples/* !examples/*.c +benchmark/* +!benchmark/*.c +!benchmark/*.md + test/* !test/*.c !test/*.sql @@ -21,3 +25,5 @@ tmp/* !tmp/.gitkeep .vs/* + +vendor/upb/.upb-update-tmp/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b2960bc9..ecf69edf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,88 @@ All versions are tagged by the major Postgres version, plus a minor/patch version to indicate changes to the libpg_query supporting code. The minor version does not reflect the Postgres minor version, but is instead used to indicate major or API breaking changes in libpg_query itself. +## 18.1.0 2026-09-30 + +* Security fix: Heap out-of-bounds write and read in pg_query_normalize ([GHSA-6ggm-xmc9-8ffg](https://github.com/pganalyze/libpg_query/security/advisories/GHSA-6ggm-xmc9-8ffg)) + - When normalizing certain utility statements (e.g. `DO ... LANGUAGE`, statements with + string options, or `CREATE/ALTER SUBSCRIPTION ... CONNECTION`), pg_query_normalize + searched the query text for the location of string constants, which could yield + wrong locations for crafted input. This could cause out-of-bounds writes and reads + on the heap, leaking process memory in the normalized output or crashing the process. + - Constant locations are now recorded by the parser instead, and the normalizer checks + at runtime that constant locations never overlap + - This adds new location fields to the parse tree output (`DefElem.arg_location`, + `NotifyStmt.payload_location`, `CreateSubscriptionStmt.conninfo_location` and + `AlterSubscriptionStmt.conninfo_location`). Like other location fields, these are + ignored for fingerprinting. + - Applications that normalize untrusted query text should upgrade + - Reported by Paul Gerste (Cure53) +* Deparser: Add strict checking for unexpected pointer values + - This ensures that a bad input parse tree doesn't cause the deparser to crash, and + instead returns an error + - Use cases that do not work with user input can define `PG_QUERY_DEPARSE_NO_STRICT_CHECKS` + to turn off the most detailed checks, for slightly better performance + - Reported by Paul Gerste (Cure53) +* Add stack overflow crash protection, error out instead [#348](https://github.com/pganalyze/libpg_query/pull/348) + - Overly deep queries now return the standard Postgres "stack depth limit exceeded" + error instead of crashing the process + - The allowed stack depth defaults to 100 kB, auto-sized up to 2 MB, and is + recalculated on each call, since callers may use threads with varying stack sizes + - Stack depth is also checked when recursing directly into specific node types (e.g. + long `UNION` chains), and in `exprLocation` during raw parsing +* Switch Protobuf implementation from protobuf-c to upb + - upb is developed as part of the main Protobuf project, and is substantially faster, + in part due to its built-in arena allocation + - upb also allows limiting parse depth for complex Protobuf input, avoiding crashes +* Update to Postgres 18.6 release +* Add `pg_query_scan_tokens` to get scan results without involving Protobuf + - This allows pure C callers to walk a simple list of `PgQueryScanToken` structs +* Ignore comments when parsing queries, only treat them as significant for scanning [#378](https://github.com/pganalyze/libpg_query/pull/378) + - This fixes parse errors when comments are placed between related tokens + (e.g. `NOT /* comment */ IN`), or between string literals that get concatenated +* Parser: Avoid quadratic memory use for rules that involve dotted names [#374](https://github.com/pganalyze/libpg_query/pull/374) +* Return errors for PL/pgSQL statements without bodies [#363](https://github.com/pganalyze/libpg_query/pull/363) + - This avoids an assertion failure or crash when `CREATE FUNCTION` or `DO` omits + its function body +* Fingerprinting: Add fingerprint options to `pg_query_fingerprint_opts` [#361](https://github.com/pganalyze/libpg_query/pull/361) + - This is a breaking change for callers of `pg_query_fingerprint_opts`, + which now takes a fingerprint options bitmask as a third argument + - By default, relation references are fingerprinted following Postgres 18+ + query ID behavior: in SELECT/DML statements the alias name replaces the + relation name when present, and schema names are ignored + - `PG_QUERY_FINGERPRINT_RANGEVAR_IGNORE_ALIASES` always fingerprints + relation names and ignores aliases + - `PG_QUERY_FINGERPRINT_RANGEVAR_INCLUDE_SCHEMA` also fingerprints schema + names in SELECT/DML statements + - Combining both flags (`PG_QUERY_FINGERPRINT_RANGEVAR_PG17_COMPAT`) + matches how Postgres 17 and earlier calculate query IDs, and how + libpg_query 17 and earlier calculated fingerprints + - `PG_QUERY_FINGERPRINT_FULL_RELNAME` fingerprints the full relation name, + instead of the default behavior of ignoring 2+ consecutive digits (which + groups queries on date/number-suffixed tables together) +* Fingerprinting: + - Ignore `NOTIFY` payloads, similar to channel names [#353](https://github.com/pganalyze/libpg_query/pull/353) + - Ignore role names (e.g. in `CREATE ROLE`, `DROP ROLE`, `GRANT` and `ALTER ... RENAME`) [#357](https://github.com/pganalyze/libpg_query/pull/357) + - Include `BEGIN`/`START TRANSACTION` options (e.g. read-only, isolation level) [#358](https://github.com/pganalyze/libpg_query/pull/358) + - Apply the depth cutoff when recursing into specific node types + - This changes fingerprints for set operation chains deeper than 100 levels, + which are now cut off consistently like other deeply nested nodes +* Deparser: + - Rework when parentheses are added based on operator precedence [#371](https://github.com/pganalyze/libpg_query/pull/371) + - This fixes cases where the deparsed SQL changed meaning or was invalid, and + avoids adding unnecessary parentheses in others + - Use `strlcpy` instead of `strncpy` in deparser and summary truncate [#345](https://github.com/pganalyze/libpg_query/pull/345) +* pg_query_normalize: + - Add support for `NOTIFY` statements [#340](https://github.com/pganalyze/libpg_query/pull/340) + - Avoid undefined behaviour for overly large parameter references [#346](https://github.com/pganalyze/libpg_query/pull/346) + - Fix handling of `U&` special constants in DefElem nodes [#347](https://github.com/pganalyze/libpg_query/pull/347) + - Don't swallow stack depth errors and return a partially normalized query +* pg_query_summary: + - Fix a relation going missing when a CTE shares its name [#367](https://github.com/pganalyze/libpg_query/pull/367) + - Fix memory leak when the tree walk throws an error +* Use built-in `strlcpy`/`strlcat` on older glibc versions [#339](https://github.com/pganalyze/libpg_query/pull/339) +* Add new OSS-Fuzz fuzzer targets for Protobuf processing and PL/pgSQL parsing [#341](https://github.com/pganalyze/libpg_query/pull/341) [#343](https://github.com/pganalyze/libpg_query/pull/343) + ## 18.0.0 2026-05-20 * Upgrade to Postgres 18 @@ -22,6 +104,40 @@ All versions are tagged by the major Postgres version, plus a minor/patch versio pointer values, that would be retained in such a copy). * Fingerprinting: Rework alias/schema name handling to match Postgres 18 +## 17-6.2.4 2026-09-30 + +* Security fix: Heap out-of-bounds write and read in pg_query_normalize ([GHSA-6ggm-xmc9-8ffg](https://github.com/pganalyze/libpg_query/security/advisories/GHSA-6ggm-xmc9-8ffg)) + - When normalizing certain utility statements (e.g. `DO ... LANGUAGE`, statements with + string options, or `CREATE/ALTER SUBSCRIPTION ... CONNECTION`), pg_query_normalize + searched the query text for the location of string constants, which could yield + wrong locations for crafted input. This could cause out-of-bounds writes and reads + on the heap, leaking process memory in the normalized output or crashing the process. + - Constant locations are now recorded by the parser instead, and the normalizer checks + at runtime that constant locations never overlap + - This adds new location fields to the parse tree output (`DefElem.arg_location`, + `NotifyStmt.payload_location`, `CreateSubscriptionStmt.conninfo_location` and + `AlterSubscriptionStmt.conninfo_location`). Like other location fields, these are + ignored for fingerprinting. + - Applications that normalize untrusted query text should upgrade + - Reported by Paul Gerste (Cure53) +* Deparser: Add strict checking for unexpected pointer values + - This ensures that a bad input parse tree doesn't cause the deparser to crash, and + instead returns an error + - Use cases that do not work with user input can define `PG_QUERY_DEPARSE_NO_STRICT_CHECKS` + to turn off the most detailed checks, for slightly better performance + - Reported by Paul Gerste (Cure53) +* pg_query_normalize: + - Add support for `NOTIFY` statements [#340](https://github.com/pganalyze/libpg_query/pull/340) + - Avoid undefined behaviour for overly large parameter references [#346](https://github.com/pganalyze/libpg_query/pull/346) + +## 17-6.2.3 2026-08-24 + +* Deparser: + - Preserve parentheses around subscripted array constructors + - This prevents `(ARRAY[...])[...]` from being deparsed as invalid SQL + - Fix handling of constraint key named `value` in `ALTER TABLE` [#329](https://github.com/pganalyze/libpg_query/pull/329) +* Preserve `ARFLAGS` when overriding `AR` [#328](https://github.com/pganalyze/libpg_query/pull/328) + ## 17-6.2.2 2026-01-26 * pg_query_normalize: Fix handling of special strings in DefElem [#325](https://github.com/pganalyze/libpg_query/pull/325) diff --git a/Makefile b/Makefile index fdf5e2c2d..861f3a4a7 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,13 @@ PGDIR = $(root_dir)/tmp/postgres PGDIRBZ2 = $(root_dir)/tmp/postgres.tar.bz2 PGDIRZIP = $(root_dir)/tmp/postgres.zip -PG_VERSION = 18.4 +PG_VERSION = 18.6 PG_VERSION_MAJOR = $(call word-dot,$(PG_VERSION),1) -PG_VERSION_NUM = 180004 +PG_VERSION_NUM = 180006 PROTOC_VERSION = 25.1 +UPB_PROTOC_VERSION := $(patsubst v%,%,$(shell head -n1 vendor/upb/VERSION 2>/dev/null)) -VERSION = 18.0.0 +VERSION = 18.1.0 VERSION_MAJOR = $(call word-dot,$(VERSION),1) VERSION_MINOR = $(call word-dot,$(VERSION),2) VERSION_PATCH = $(call word-dot,$(VERSION),3) @@ -31,10 +32,14 @@ else SOFLAG = -soname endif -SRC_FILES := $(wildcard src/*.c src/postgres/*.c) vendor/protobuf-c/protobuf-c.c vendor/xxhash/xxhash.c protobuf/pg_query.pb-c.c +UPB_DIR := vendor/upb +UPB_INCLUDES := -I./$(UPB_DIR) -I./$(UPB_DIR)/third_party/utf8_range +UPB_SRC_FILES := $(UPB_DIR)/upb.c $(UPB_DIR)/third_party/utf8_range/utf8_range.c protobuf/pg_query.upb_minitable.c + +SRC_FILES := $(wildcard src/*.c src/postgres/*.c) vendor/xxhash/xxhash.c $(UPB_SRC_FILES) OBJ_FILES := $(SRC_FILES:.c=.o) -override CFLAGS += -g -I. -I./vendor -I./src/include -I./src/postgres/include -Wall -Wno-unused-function -Wno-unused-value -Wno-unused-variable -fno-strict-aliasing -fwrapv -fPIC +override CFLAGS += -g -I. -I./vendor $(UPB_INCLUDES) -I./src/include -I./src/postgres/include -Wall -Wno-unused-function -Wno-unused-value -Wno-unused-variable -fno-strict-aliasing -fwrapv -fPIC ifeq ($(OS),Windows_NT) override CFLAGS += -I./src/postgres/include/port/win32 @@ -43,7 +48,7 @@ endif override PG_CONFIGURE_FLAGS += -q --without-readline --without-zlib --without-icu -override TEST_CFLAGS += -g -I. -I./vendor -Wall +override TEST_CFLAGS += -g -I. -I./vendor $(UPB_INCLUDES) -Wall override TEST_LDFLAGS += -pthread CFLAGS_OPT_LEVEL = -O3 @@ -109,11 +114,11 @@ build: $(ARLIB) build_shared: $(SOLIB) clean: - -@ $(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) $(EXAMPLES) $(TESTS) - -@ $(RM) -rf {test,examples}/*.dSYM + -@ $(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) $(EXAMPLES) $(TESTS) $(BENCHMARKS) + -@ $(RM) -rf {test,examples,benchmark}/*.dSYM -@ $(RM) -r $(PGDIR) $(PGDIRBZ2) $(PGDIRZIP) -.PHONY: all clean build build_shared extract_source examples test install +.PHONY: all clean build build_shared extract_source examples test benchmark install $(PGDIR): curl -o $(PGDIRBZ2) https://ftp.postgresql.org/pub/source/v$(PG_VERSION)/postgresql-$(PG_VERSION).tar.bz2 @@ -130,6 +135,9 @@ $(PGDIR): cd $(PGDIR); patch -p1 < $(root_dir)/patches/10_avoid_namespace_hashtab_impl_gen.patch cd $(PGDIR); patch -p1 < $(root_dir)/patches/11_ifndef_namedatalen.patch cd $(PGDIR); patch -p1 < $(root_dir)/patches/12_remove_acl_check.patch + cd $(PGDIR); patch -p1 < $(root_dir)/patches/13_exprlocation_check_stack_depth.patch + cd $(PGDIR); patch -p1 < $(root_dir)/patches/14_avoid_quadratic_memory_dotted_names.patch + cd $(PGDIR); patch -p1 < $(root_dir)/patches/15_node_string_constant_locations.patch cd $(PGDIR); ./configure $(PG_CONFIGURE_FLAGS) cd $(PGDIR); make -C src/pl/plpgsql/src pl_gram.h plerrcodes.h pl_reserved_kwlist_d.h pl_unreserved_kwlist_d.h cd $(PGDIR); make -C src/port pg_config_paths.h @@ -194,14 +202,24 @@ $(ARLIB): $(OBJ_FILES) Makefile $(SOLIB): $(OBJ_FILES) Makefile @$(CC) $(CFLAGS) -shared -Wl,$(SOFLAG),$(SONAME) $(LDFLAGS) -o $@ $(OBJ_FILES) $(LIBS) -protobuf/pg_query.pb-c.c protobuf/pg_query.pb-c.h: protobuf/pg_query.proto -ifneq ($(shell which protoc-gen-c), ) - protoc --c_out=. protobuf/pg_query.proto +# upb-generated message code + minitables (regenerated only when the upb protoc +# plugins are installed; otherwise the committed files are used as-is). Must be +# generated with a protoc/protoc-gen-upb matching vendor/upb/VERSION. +# +# protoc-gen-upb also emits an empty pg_query.upb.c (all accessors are inline +# in the header), which we don't keep. +protobuf/pg_query.upb.h protobuf/pg_query.upb_minitable.h protobuf/pg_query.upb_minitable.c: protobuf/pg_query.proto +ifneq ($(shell which protoc-gen-upb), ) +ifneq ($(shell protoc --version 2>/dev/null | cut -f2 -d" "), $(UPB_PROTOC_VERSION)) + $(error ERROR - upb codegen needs protoc $(UPB_PROTOC_VERSION) to match vendor/upb/VERSION (found "$(shell protoc --version 2>/dev/null | cut -f2 -d' ')"); run 'make -C vendor/upb update TAG=...' to change the pinned version) +endif + protoc --upb_out=. --upb_minitable_out=. protobuf/pg_query.proto + rm -f protobuf/pg_query.upb.c else - @echo 'Warning: protoc-gen-c not found, skipping protocol buffer regeneration' + @echo 'Warning: protoc-gen-upb not found, skipping upb regeneration' endif -src/pg_query_protobuf.c src/pg_query_scan.c: protobuf/pg_query.pb-c.h +src/pg_query_scan.c: protobuf/pg_query.upb.h # Only used when USE_PROTOBUF_CPP is used (experimental for testing only) src/pg_query_outfuncs_protobuf_cpp.cc: protobuf/pg_query.pb.cc @@ -211,6 +229,18 @@ ifneq ($(shell protoc --version 2>/dev/null | cut -f2 -d" "), $(PROTOC_VERSION)) endif protoc --cpp_out=. protobuf/pg_query.proto +BENCHMARKS = benchmark/bench_protobuf benchmark/microbench_protobuf +BENCHMARK_CFLAGS = $(TEST_CFLAGS) -O2 -I./src -I./src/include -I./src/postgres/include +benchmark: $(BENCHMARKS) + benchmark/bench_protobuf + benchmark/microbench_protobuf + +benchmark/bench_protobuf: benchmark/bench_protobuf.c $(ARLIB) + $(CC) $(BENCHMARK_CFLAGS) -o $@ benchmark/bench_protobuf.c $(ARLIB) $(TEST_LDFLAGS) + +benchmark/microbench_protobuf: benchmark/microbench_protobuf.c $(ARLIB) + $(CC) $(BENCHMARK_CFLAGS) -o $@ benchmark/microbench_protobuf.c $(ARLIB) $(TEST_LDFLAGS) + EXAMPLES = examples/simple examples/scan examples/normalize examples/simple_error examples/normalize_error examples/simple_plpgsql examples: $(EXAMPLES) examples/simple @@ -238,12 +268,16 @@ examples/normalize_error: examples/normalize_error.c $(ARLIB) examples/simple_plpgsql: examples/simple_plpgsql.c $(ARLIB) $(CC) $(TEST_CFLAGS) -o $@ -g examples/simple_plpgsql.c $(ARLIB) $(TEST_LDFLAGS) -TESTS = test/complex test/concurrency test/deparse test/fingerprint test/fingerprint_opts test/is_utility_stmt test/normalize test/normalize_utility test/parse test/parse_opts test/parse_protobuf test/parse_protobuf_opts test/parse_plpgsql test/scan test/split test/summary test/summary_truncate +TESTS = test/complex test/concurrency test/deparse test/deparse_depth test/fingerprint test/fingerprint_opts test/is_utility_stmt test/normalize test/normalize_utility test/parse test/parse_opts test/parse_protobuf test/parse_protobuf_opts test/parse_plpgsql test/scan test/split test/stack_depth test/summary test/summary_truncate test: $(TESTS) ifeq ($(VALGRIND),1) $(VALGRIND_MEMCHECK) test/complex || (cat test/valgrind.log && false) $(VALGRIND_MEMCHECK) test/concurrency || (cat test/valgrind.log && false) $(VALGRIND_MEMCHECK) test/deparse || (cat test/valgrind.log && false) +ifneq ($(USE_PROTOBUF_CPP),1) + # Tests the upb encoder's depth limit, which the C++ backend doesn't have + $(VALGRIND_MEMCHECK) test/deparse_depth || (cat test/valgrind.log && false) +endif $(VALGRIND_MEMCHECK) test/fingerprint || (cat test/valgrind.log && false) $(VALGRIND_MEMCHECK) test/fingerprint_opts || (cat test/valgrind.log && false) $(VALGRIND_MEMCHECK) test/is_utility_stmt || (cat test/valgrind.log && false) @@ -255,6 +289,7 @@ ifeq ($(VALGRIND),1) $(VALGRIND_MEMCHECK) test/parse_protobuf_opts || (cat test/valgrind.log && false) $(VALGRIND_MEMCHECK) test/scan || (cat test/valgrind.log && false) $(VALGRIND_MEMCHECK) test/split || (cat test/valgrind.log && false) + $(VALGRIND_MEMCHECK) test/stack_depth || (cat test/valgrind.log && false) $(VALGRIND_MEMCHECK) test/summary || (cat test/valgrind.log && false) $(VALGRIND_MEMCHECK) test/summary_truncate || (cat test/valgrind.log && false) # Output-based tests @@ -264,6 +299,10 @@ else test/complex test/concurrency test/deparse +ifneq ($(USE_PROTOBUF_CPP),1) + # Tests the upb encoder's depth limit, which the C++ backend doesn't have + test/deparse_depth +endif test/fingerprint test/fingerprint_opts test/is_utility_stmt @@ -275,6 +314,7 @@ else test/parse_protobuf_opts test/scan test/split + test/stack_depth test/summary test/summary_truncate # Output-based tests @@ -292,6 +332,9 @@ test/concurrency: test/concurrency.c test/parse_tests.c $(ARLIB) test/deparse: test/deparse.c test/deparse_tests.c $(ARLIB) $(CC) $(TEST_CFLAGS) -o $@ test/deparse.c $(ARLIB) $(TEST_LDFLAGS) +test/deparse_depth: test/deparse_depth.c $(ARLIB) + $(CC) $(TEST_CFLAGS) -o $@ test/deparse_depth.c $(ARLIB) $(TEST_LDFLAGS) + test/fingerprint: test/fingerprint.c test/fingerprint_tests.c $(ARLIB) # We have "-Isrc/" because this test uses pg_query_fingerprint_with_opts $(CC) $(TEST_CFLAGS) -o $@ -Isrc/ test/fingerprint.c $(ARLIB) $(TEST_LDFLAGS) @@ -339,6 +382,9 @@ test/scan: test/scan.c test/scan_tests.c $(ARLIB) test/split: test/split.c test/split_tests.c $(ARLIB) $(CC) $(TEST_CFLAGS) -o $@ test/split.c $(ARLIB) $(TEST_LDFLAGS) +test/stack_depth: test/stack_depth.c $(ARLIB) + $(CC) $(TEST_CFLAGS) -o $@ test/stack_depth.c $(ARLIB) $(TEST_LDFLAGS) + prefix = /usr/local libdir = $(prefix)/lib includedir = $(prefix)/include @@ -352,4 +398,5 @@ install: $(ARLIB) $(SOLIB) $(INSTALL) -d "$(DESTDIR)"$(includedir)/$(TARGET) $(INSTALL) -m 644 pg_query.h "$(DESTDIR)"$(includedir)/pg_query.h $(INSTALL) -m 644 postgres_deparse.h "$(DESTDIR)"$(includedir)/postgres_deparse.h + $(INSTALL) -m 644 pg_query_scan_tokens.h "$(DESTDIR)"$(includedir)/pg_query_scan_tokens.h $(INSTALL) -m 644 protobuf/pg_query.proto "$(DESTDIR)"$(includedir)/$(TARGET)/pg_query.proto diff --git a/Makefile.msvc b/Makefile.msvc index 8ed84b8db..b2b89448a 100644 --- a/Makefile.msvc +++ b/Makefile.msvc @@ -3,9 +3,9 @@ TARGET = pg_query ARLIB = $(TARGET).lib -SRC_FILES = src/*.c src/postgres/*.c vendor/protobuf-c/protobuf-c.c vendor/xxhash/xxhash.c protobuf/pg_query.pb-c.c +SRC_FILES = src/*.c src/postgres/*.c vendor/xxhash/xxhash.c vendor/upb/upb.c vendor/upb/third_party/utf8_range/utf8_range.c protobuf/pg_query.upb_minitable.c -CFLAGS = -I. -I./vendor -I./src/postgres/include -I./src/include -I./src/postgres/include/port/win32 -I./src/postgres/include/port/win32_msvc +CFLAGS = -I. -I./vendor -I./vendor/upb -I./vendor/upb/third_party/utf8_range -I./src/postgres/include -I./src/include -I./src/postgres/include/port/win32 -I./src/postgres/include/port/win32_msvc RM = del @@ -14,14 +14,14 @@ all: examples test build build: $(ARLIB) clean: - $(RM) *.obj - $(RM) pg_query.lib + -$(RM) *.obj + -$(RM) pg_query.lib .PHONY: all clean build build_shared extract_source examples test install $(ARLIB): clean $(SRC_FILES) $(CC) $(CFLAGS) /c $(SRC_FILES) - lib /OUT:pg_query.lib *.obj + lib /OUT:pg_query.lib *.obj EXAMPLES = examples/simple examples/scan examples/normalize examples/simple_error examples/normalize_error examples/simple_plpgsql examples: $(EXAMPLES) @@ -50,9 +50,10 @@ examples/normalize_error: examples/normalize_error.c $(ARLIB) examples/simple_plpgsql: examples/simple_plpgsql.c $(ARLIB) $(CC) $(CFLAGS) -o $@ examples/simple_plpgsql.c $(ARLIB) -TESTS = test/deparse test/fingerprint test/fingerprint_opts test/is_utility_stmt test/normalize test/parse test/parse_opts test/parse_protobuf test/parse_protobuf_opts test/parse_plpgsql test/scan test/split test/summary test/summary_truncate +TESTS = test/deparse test/deparse_depth test/fingerprint test/fingerprint_opts test/is_utility_stmt test/normalize test/parse test/parse_opts test/parse_protobuf test/parse_protobuf_opts test/parse_plpgsql test/scan test/split test/summary test/summary_truncate test: $(TESTS) .\test\deparse + .\test\deparse_depth .\test\fingerprint .\test\fingerprint_opts .\test\is_utility_stmt @@ -78,6 +79,9 @@ test: $(TESTS) test/deparse: test/deparse.c test/deparse_tests.c $(ARLIB) $(CC) $(CFLAGS) -o $@ test/deparse.c $(ARLIB) +test/deparse_depth: test/deparse_depth.c $(ARLIB) + $(CC) $(CFLAGS) -o $@ test/deparse_depth.c $(ARLIB) + test/fingerprint: test/fingerprint.c test/fingerprint_tests.c $(ARLIB) # We have "-Isrc/" because this test uses pg_query_fingerprint_with_opts $(CC) $(CFLAGS) -o $@ -Isrc/ test/fingerprint.c $(ARLIB) diff --git a/README.md b/README.md index cebb0474a..fe0e2a18c 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ This will output the parse tree (whitespace adjusted here for better readability ```json { - "version": 180004, + "version": 180006, "stmts": [ { "stmt": { @@ -99,38 +99,37 @@ from identifiers and other parts of the query: #include #include -#include "protobuf/pg_query.pb-c.h" int main() { - PgQueryScanResult result; - PgQuery__ScanResult *scan_result; - PgQuery__ScanToken *scan_token; - const ProtobufCEnumValue *token_kind; - const ProtobufCEnumValue *keyword_kind; + PgQueryScanTokensResult result; const char *input = "SELECT update AS left /* comment */ FROM between"; - result = pg_query_scan(input); - scan_result = pg_query__scan_result__unpack(NULL, result.pbuf.len, (const uint8_t *) result.pbuf.data); + result = pg_query_scan_tokens(input); + if (result.error) { + printf("error: %s at %d\n", result.error->message, result.error->cursorpos); + pg_query_free_scan_tokens_result(result); + return 1; + } - printf(" version: %d, tokens: %ld, size: %zu\n", scan_result->version, scan_result->n_tokens, result.pbuf.len); - for (size_t j = 0; j < scan_result->n_tokens; j++) { - scan_token = scan_result->tokens[j]; - token_kind = protobuf_c_enum_descriptor_get_value(&pg_query__token__descriptor, scan_token->token); - keyword_kind = protobuf_c_enum_descriptor_get_value(&pg_query__keyword_kind__descriptor, scan_token->keyword_kind); - printf(" \"%.*s\" = [ %d, %d, %s, %s ]\n", scan_token->end - scan_token->start, &(input[scan_token->start]), scan_token->start, scan_token->end, token_kind->name, keyword_kind->name); + printf(" tokens: %d\n", result.n_tokens); + for (int j = 0; j < result.n_tokens; j++) { + PgQueryScanToken token = result.tokens[j]; + printf(" \"%.*s\" = [ %d, %d, %s, %s ]\n", token.end - token.start, &(input[token.start]), token.start, token.end, + pg_query_token_name(token.token), pg_query_keyword_kind_name(token.keyword_kind)); } - pg_query__scan_result__free_unpacked(scan_result, NULL); - pg_query_free_scan_result(result); + pg_query_free_scan_tokens_result(result); return 0; } ``` +If you need the tokens as a Protobuf message instead, e.g. to decode them in another language, use `pg_query_scan`, which returns the same tokens serialized as a `ScanResult`. It can be decoded with the vendored [upb](https://github.com/protocolbuffers/protobuf/tree/main/upb) runtime, which is included in `libpg_query.a` (the upb headers must then be on the include path as well, `-Ilibpg_query/vendor/upb`). + This will output the following: ``` - version: 180004, tokens: 7, size: 77 + tokens: 7 "SELECT" = [ 0, 6, SELECT, RESERVED_KEYWORD ] "update" = [ 7, 13, UPDATE, UNRESERVED_KEYWORD ] "AS" = [ 14, 16, AS, RESERVED_KEYWORD ] @@ -144,13 +143,15 @@ Where the each element in the token list has the following fields: 1. Start location in the source string 2. End location in the source string -3. Token value - see Token type in `protobuf/pg_query.proto` -4. Keyword type - see KeywordKind type in `protobuf/pg_query.proto`, possible values: - `NO_KEYWORD`: Not a keyword - `UNRESERVED_KEYWORD`: Unreserved keyword (available for use as any kind of unescaped name) - `COL_NAME_KEYWORD`: Unreserved keyword (can be unescaped column/table/etc names, cannot be unescaped function or type name) - `TYPE_FUNC_NAME_KEYWORD`: Reserved keyword (can be unescaped function or type name, cannot be unescaped column/table/etc names) - `RESERVED_KEYWORD`: Reserved keyword (cannot be unescaped column/table/variable/type/function names) +3. Token value - `PgQueryToken` enum (e.g. `PG_QUERY_TOKEN_SELECT`), see `pg_query_scan_tokens.h`, or the Token type in `protobuf/pg_query.proto` for the Protobuf output +4. Keyword type - `PgQueryKeywordKind` enum, see `pg_query_scan_tokens.h`, or the KeywordKind type in `protobuf/pg_query.proto` for the Protobuf output, possible values: + `PG_QUERY_NO_KEYWORD`: Not a keyword + `PG_QUERY_UNRESERVED_KEYWORD`: Unreserved keyword (available for use as any kind of unescaped name) + `PG_QUERY_COL_NAME_KEYWORD`: Unreserved keyword (can be unescaped column/table/etc names, cannot be unescaped function or type name) + `PG_QUERY_TYPE_FUNC_NAME_KEYWORD`: Reserved keyword (can be unescaped function or type name, cannot be unescaped column/table/etc names) + `PG_QUERY_RESERVED_KEYWORD`: Reserved keyword (cannot be unescaped column/table/variable/type/function names) + +The token values are the token numbers of the Postgres grammar, which change between Postgres versions, so compare them by name rather than by value. Note that whitespace does not show as tokens. @@ -185,6 +186,50 @@ This will output: 50fde20626009aba ``` +In general, fingerprinting intends to be a superset of the Postgres `queryid` mechanism. That means that for a given Postgres `queryid`, there should only be one valid fingerprint - even when varying the inputs that produce that same `queryid`. A simple example of this would be that the Postgres `queryid` ignores constant values (e.g. `... WHERE id = 123` is the same queryid as `... WHERE id = 456`), and thus the fingerprint also behaves that way. + +One special case are the changes done in Postgres 18, which significantly changed how schema names and table aliases in `FROM` clauses are handled for `queryid` values. On Postgres 17 and older, the schema was significant, and the alias was always ignored. On Postgres 18, the schema is always ignored, and the table alias (if present) is used instead of the table name. + +To support matching behaviour, you can optionally pass fingerprint options. By default fingerprinting behaves like Postgres 18, but you can pass `PG_QUERY_FINGERPRINT_RANGEVAR_PG17_COMPAT` to instead have it behave like Postgres 17 does for `queryid`: + +```c +#include +#include + +int main() { + const char *queries[] = { + "SELECT * FROM public.users u", + "SELECT * FROM myschema.users u", + }; + PgQueryFingerprintResult result; + + for (int i = 0; i < 2; i++) { + result = pg_query_fingerprint_opts(queries[i], PG_QUERY_PARSE_DEFAULT, PG_QUERY_FINGERPRINT_DEFAULT); + printf("Default: %s\n", result.fingerprint_str); + pg_query_free_fingerprint_result(result); + + result = pg_query_fingerprint_opts(queries[i], PG_QUERY_PARSE_DEFAULT, PG_QUERY_FINGERPRINT_RANGEVAR_PG17_COMPAT); + printf("PG17 compat: %s\n", result.fingerprint_str); + pg_query_free_fingerprint_result(result); + } + + return 0; +} +``` + +This will output: + +``` +Default: 6640d8be64880eed +PG17 compat: d3198777453aef12 +Default: 6640d8be64880eed +PG17 compat: 91e880cf13f4f219 +``` + +With the default options both queries get the same fingerprint, because the schema is ignored and the alias `u` is used. With `PG_QUERY_FINGERPRINT_RANGEVAR_PG17_COMPAT`, the schema-qualified table name counts, so the two queries get different fingerprints. + +The options also allow controlling whether relation names that have subsequent digits (often used for daily partitions) should be ignored for fingerprinting, which is the case by default. + See https://github.com/pganalyze/libpg_query/wiki/Fingerprinting for the full fingerprinting rules. ## Usage: Parsing a PL/pgSQL function @@ -306,16 +351,16 @@ This will output (formatted for clarity): For stability, it is recommended you use individual tagged git versions, see CHANGELOG. -Each major version is maintained in a dedicated git branch. Only the latest Postgres stable release receives active updates. +Each major version is maintained in a dedicated git branch. Only the latest Postgres stable release receives active updates, with exceptions being made for the prior release branch for critical fixes. | PostgreSQL Major Version | Branch | Status | |--------------------------|------------|---------------------| | 18 | 18-latest | Active development | | 17 | 17-latest | Critical fixes only | -| 16 | 16-latest | Critical fixes only | -| 15 | 15-latest | Critical fixes only | -| 14 | 14-latest | Critical fixes only | -| 13 | 13-latest | Critical fixes only | +| 16 | 16-latest | No longer supported | +| 15 | 15-latest | No longer supported | +| 14 | 14-latest | No longer supported | +| 13 | 13-latest | No longer supported | | 12 | (n/a) | Not supported | | 11 | (n/a) | Not supported | | 10 | 10-latest | No longer supported | @@ -323,6 +368,18 @@ Each major version is maintained in a dedicated git branch. Only the latest Post | 9.5 | 9.5-latest | No longer supported | | 9.4 | 9.4-latest | No longer supported | +## Updating the vendored upb (Protobuf) runtime + +Protobuf serialization uses [upb](https://github.com/protocolbuffers/protobuf/tree/main/upb), vendored in `vendor/upb`. The generated code in `protobuf/pg_query.upb*.{c,h}` is tied to the exact upb version it was generated with, so both are updated together: + +```sh +brew upgrade protobuf # protoc + protoc-gen-upb must match the target release +make -C vendor/upb update TAG=v$(protoc --version | awk '{print $2}') +make clean && make && make test +``` + +See [vendor/upb/README](vendor/upb/README) for details, including the local patches that are re-applied on each update. + ## Resources pg_query wrappers in other languages: @@ -358,6 +415,15 @@ PostgreSQL server source code, used under the [PostgreSQL license](https://www.p Portions Copyright (c) 1996-2026, The PostgreSQL Global Development Group
Portions Copyright (c) 1994, The Regents of the University of California +upb Protobuf runtime (`vendor/upb`), used under the [3-clause BSD license](vendor/upb/LICENSE).
+Copyright 2008 Google Inc.
+Includes utf8_range (`vendor/upb/third_party/utf8_range`), used under the [MIT license](vendor/upb/third_party/utf8_range/LICENSE).
+Copyright (c) 2019 Yibo Cai
+Copyright 2022 Google LLC + +xxHash (`vendor/xxhash`), used under the [2-clause BSD license](vendor/xxhash/xxhash.h).
+Copyright (C) 2012-2020 Yann Collet + All other parts are licensed under the 3-clause BSD license, see LICENSE file for details.
Copyright (c) 2015, Lukas Fittl Copyright (c) 2016-2026, Duboce Labs, Inc. (pganalyze) diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..693c9abd5 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,13 @@ +# Security Policy + +## Supported Versions + +See https://github.com/pganalyze/libpg_query#versions + +## Reporting a Vulnerability + +Please report vulnerabilities privately by email to security@pganalyze.com. + +We recommend encrypting your message using PGP for the pganalyze key, as documented on the [pganalyze security page](https://pganalyze.com/security). + +Note the pganalyze [bug bounty program](https://pganalyze.com/security/bug-bounty-program) extends to libpg_query and related libraries if the bugs are exploitable, or can reasonably be deemed to be exploitable, in the context of the pganalyze application. If in doubt, reach out to security@pganalyze.com and we'd be happy to review and confirm, or provide a test account to confirm. diff --git a/benchmark/README.md b/benchmark/README.md new file mode 100644 index 000000000..832f28730 --- /dev/null +++ b/benchmark/README.md @@ -0,0 +1,51 @@ +# Protobuf encode/decode benchmarks + +Microbenchmarks for the protobuf serialization layer +(`pg_query_nodes_to_protobuf` / `pg_query_protobuf_to_nodes`, exercised by +`pg_query_parse_protobuf` / `pg_query_deparse_protobuf`). + +## Running + +```sh +make benchmark # builds libpg_query.a and runs both harnesses +./benchmark/bench_protobuf [iters] [label] # default iters: 20000 +./benchmark/microbench_protobuf [iters] [label] # default iters: 50000 +``` + +- **`bench_protobuf`** — end-to-end via the public API: `pg_query_parse_protobuf` + (parse + encode) and `pg_query_deparse_protobuf` (decode + deparse). Reports + ns/op, wire bytes, and peak RSS. +- **`microbench_protobuf`** — isolates *only* the protobuf layer by calling the + internal encode/decode on pre-parsed trees / pre-encoded bytes, with a scratch + memory context reset after each op (so per-node `palloc` churn and arena + lifecycle are both counted, while the parse trees persist). Removes the shared + parse/deparse cost from the measurement. + +Both use the same small mixed-complexity query corpus. Point them at your own +corpus by editing the `queries[]` array. + +## A/B comparing two implementations (e.g. before/after a change) + +The benchmarks measure whatever `libpg_query.a` they link against. To compare a +change against a baseline ref, build the baseline in an isolated worktree and +run the same harness against each archive: + +```sh +# baseline (e.g. the commit before the change) +git worktree add /tmp/libpg_base +make -C /tmp/libpg_base build + +# build the harness against each archive (microbench needs the internal headers) +cc -O2 -w -I. -Isrc -Isrc/include -Isrc/postgres/include -Ivendor \ + benchmark/microbench_protobuf.c libpg_query.a -pthread -o /tmp/micro_new +cc -O2 -w -I/tmp/libpg_base -I/tmp/libpg_base/src -I/tmp/libpg_base/src/include \ + -I/tmp/libpg_base/src/postgres/include -I/tmp/libpg_base/vendor \ + benchmark/microbench_protobuf.c /tmp/libpg_base/libpg_query.a -pthread -o /tmp/micro_base + +/tmp/micro_base 50000 baseline +/tmp/micro_new 50000 new +git worktree remove --force /tmp/libpg_base +``` + +Because the parser and deparse walk are identical across builds, the per-op +*difference* isolates the protobuf-layer change. diff --git a/benchmark/bench_protobuf.c b/benchmark/bench_protobuf.c new file mode 100644 index 000000000..9d6c20823 --- /dev/null +++ b/benchmark/bench_protobuf.c @@ -0,0 +1,101 @@ +/* + * A/B benchmark for the protobuf encode/decode layer. + * Identical source compiled against the old (protobuf-c) and new (upb) + * libpg_query.a. Only the protobuf implementation differs between the two + * archives; parser and deparse walk are shared, so the per-op delta isolates + * the encode/decode cost. + */ +#include +#include +#include +#include +#include +#include + +static const char *queries[] = { + "SELECT 1", + "SELECT id, name FROM users WHERE active = true ORDER BY created_at DESC LIMIT 10", + "SELECT u.id, count(*) FROM users u JOIN orders o ON o.user_id = u.id " + "WHERE o.total > 100 GROUP BY u.id HAVING count(*) > 5", + "INSERT INTO t (a,b,c,d,e) VALUES (1,2,3,4,5),(6,7,8,9,10),(11,12,13,14,15)," + "(16,17,18,19,20),(21,22,23,24,25),(26,27,28,29,30)", + "WITH RECURSIVE cte AS (SELECT 1 AS n UNION ALL SELECT n+1 FROM cte WHERE n < 100) " + "SELECT sum(n) OVER (ORDER BY n ROWS BETWEEN 2 PRECEDING AND CURRENT ROW) FROM cte", + "UPDATE accounts SET balance = balance - 50 WHERE id = 7 AND balance >= 50 RETURNING id, balance", + "SELECT CASE WHEN a > b THEN 'x' WHEN a < b THEN 'y' ELSE 'z' END, " + "coalesce(nullif(c, 0), d, 1), array_agg(e ORDER BY f) FROM tbl GROUP BY 1", + "SELECT * FROM a LEFT JOIN b USING (k) LEFT JOIN c ON c.k = b.k " + "FULL JOIN d ON d.k = c.k WHERE a.x IN (SELECT x FROM e WHERE y = $1)", + "CREATE TABLE foo (id serial PRIMARY KEY, name text NOT NULL, " + "data jsonb DEFAULT '{}', created timestamptz DEFAULT now(), CHECK (length(name) > 0))", + "SELECT to_char(d, 'YYYY-MM-DD'), extract(epoch FROM d), d + interval '1 day' " + "FROM (SELECT generate_series('2020-01-01'::date, '2020-12-31'::date, '1 day') AS d) s", +}; +static const int NQ = sizeof(queries) / sizeof(queries[0]); + +static double now_sec(void) { + struct timespec ts; + clock_gettime(CLOCK_MONOTONIC, &ts); + return ts.tv_sec + ts.tv_nsec / 1e9; +} + +int main(int argc, char **argv) { + int iters = (argc > 1) ? atoi(argv[1]) : 20000; + const char *label = (argc > 2) ? argv[2] : "?"; + + /* Pre-encode each query once and keep the bytes for the decode benchmark. */ + PgQueryProtobuf bufs[64]; + size_t total_bytes = 0; + for (int i = 0; i < NQ; i++) { + PgQueryProtobufParseResult r = pg_query_parse_protobuf(queries[i]); + if (r.error) { fprintf(stderr, "parse error: %s\n", r.error->message); return 1; } + bufs[i].len = r.parse_tree.len; + bufs[i].data = malloc(r.parse_tree.len); + memcpy(bufs[i].data, r.parse_tree.data, r.parse_tree.len); + total_bytes += r.parse_tree.len; + pg_query_free_protobuf_parse_result(r); + } + + /* Warmup */ + for (int w = 0; w < 200; w++) + for (int i = 0; i < NQ; i++) { + PgQueryProtobufParseResult r = pg_query_parse_protobuf(queries[i]); + pg_query_free_protobuf_parse_result(r); + PgQueryDeparseResult d = pg_query_deparse_protobuf(bufs[i]); + pg_query_free_deparse_result(d); + } + + /* ENCODE: parse_protobuf (parse + protobuf encode) */ + double t0 = now_sec(); + volatile size_t sink = 0; + for (int it = 0; it < iters; it++) + for (int i = 0; i < NQ; i++) { + PgQueryProtobufParseResult r = pg_query_parse_protobuf(queries[i]); + sink += r.parse_tree.len; + pg_query_free_protobuf_parse_result(r); + } + double t_enc = now_sec() - t0; + + /* DECODE: deparse_protobuf (protobuf decode + deparse walk) */ + t0 = now_sec(); + for (int it = 0; it < iters; it++) + for (int i = 0; i < NQ; i++) { + PgQueryDeparseResult d = pg_query_deparse_protobuf(bufs[i]); + sink += d.query ? strlen(d.query) : 0; + pg_query_free_deparse_result(d); + } + double t_dec = now_sec() - t0; + + long ops = (long) iters * NQ; + struct rusage ru; + getrusage(RUSAGE_SELF, &ru); + + printf("[%s] iters=%d queries=%d ops=%ld\n", label, iters, NQ, ops); + printf(" encode (parse_protobuf): %8.3f s %8.1f ns/op %9.0f ops/s\n", + t_enc, t_enc * 1e9 / ops, ops / t_enc); + printf(" decode (deparse_protobuf): %6.3f s %8.1f ns/op %9.0f ops/s\n", + t_dec, t_dec * 1e9 / ops, ops / t_dec); + printf(" protobuf bytes/corpus pass: %zu (per-op avg %.1f)\n", total_bytes, (double) total_bytes / NQ); + printf(" maxrss: %.1f MB (sink=%zu)\n", ru.ru_maxrss / (1024.0 * 1024.0), sink); + return 0; +} diff --git a/benchmark/microbench_protobuf.c b/benchmark/microbench_protobuf.c new file mode 100644 index 000000000..b1c989877 --- /dev/null +++ b/benchmark/microbench_protobuf.c @@ -0,0 +1,116 @@ +/* + * Microbenchmark isolating ONLY the protobuf layer (no parsing, no deparse + * walk): pg_query_nodes_to_protobuf (encode) and pg_query_protobuf_to_nodes + * (decode), run on pre-parsed trees / pre-encoded bytes. + * + * Identical source compiled against the old (protobuf-c) and new (upb) + * libpg_query.a; only those two functions differ. A scratch memory context is + * reset after each op so the per-node palloc churn (protobuf-c) and arena + * lifecycle (upb) are both counted as part of their real cost, while the + * persistent parse trees survive across iterations. + * + * Built with the library CFLAGS (needs the internal headers + postgres.h). + */ +#include "pg_query.h" +#include "pg_query_internal.h" /* raw_parse, memory-context helpers, MemoryContext */ +#include "pg_query_outfuncs.h" /* pg_query_nodes_to_protobuf */ +#include "pg_query_readfuncs.h" /* pg_query_protobuf_to_nodes */ + +#include +#include +#include +#include + +static const char *queries[] = { + "SELECT 1", + "SELECT id, name FROM users WHERE active = true ORDER BY created_at DESC LIMIT 10", + "SELECT u.id, count(*) FROM users u JOIN orders o ON o.user_id = u.id " + "WHERE o.total > 100 GROUP BY u.id HAVING count(*) > 5", + "INSERT INTO t (a,b,c,d,e) VALUES (1,2,3,4,5),(6,7,8,9,10),(11,12,13,14,15)," + "(16,17,18,19,20),(21,22,23,24,25),(26,27,28,29,30)", + "WITH RECURSIVE cte AS (SELECT 1 AS n UNION ALL SELECT n+1 FROM cte WHERE n < 100) " + "SELECT sum(n) OVER (ORDER BY n ROWS BETWEEN 2 PRECEDING AND CURRENT ROW) FROM cte", + "UPDATE accounts SET balance = balance - 50 WHERE id = 7 AND balance >= 50 RETURNING id, balance", + "SELECT CASE WHEN a > b THEN 'x' WHEN a < b THEN 'y' ELSE 'z' END, " + "coalesce(nullif(c, 0), d, 1), array_agg(e ORDER BY f) FROM tbl GROUP BY 1", + "SELECT * FROM a LEFT JOIN b USING (k) LEFT JOIN c ON c.k = b.k " + "FULL JOIN d ON d.k = c.k WHERE a.x IN (SELECT x FROM e WHERE y = $1)", + "CREATE TABLE foo (id serial PRIMARY KEY, name text NOT NULL, " + "data jsonb DEFAULT '{}', created timestamptz DEFAULT now(), CHECK (length(name) > 0))", + "SELECT to_char(d, 'YYYY-MM-DD'), extract(epoch FROM d), d + interval '1 day' " + "FROM (SELECT generate_series('2020-01-01'::date, '2020-12-31'::date, '1 day') AS d) s", +}; +static const int NQ = sizeof(queries) / sizeof(queries[0]); + +static double now_sec(void) { + struct timespec ts; + clock_gettime(CLOCK_MONOTONIC, &ts); + return ts.tv_sec + ts.tv_nsec / 1e9; +} + +int main(int argc, char **argv) { + int iters = (argc > 1) ? atoi(argv[1]) : 50000; + const char *label = (argc > 2) ? argv[2] : "?"; + + MemoryContext persistent = pg_query_enter_memory_context(); + + /* Parse every query once; trees live in the persistent context. */ + List *trees[64]; + PgQueryProtobuf bufs[64]; + size_t total_bytes = 0; + for (int i = 0; i < NQ; i++) { + PgQueryInternalParsetreeAndError pe = pg_query_raw_parse(queries[i], 0); + if (pe.error) { fprintf(stderr, "parse error: %s\n", pe.error->message); return 1; } + trees[i] = pe.tree; + bufs[i] = pg_query_nodes_to_protobuf(pe.tree); /* data is malloc'd, survives */ + total_bytes += bufs[i].len; + } + + /* Scratch context for per-op intermediates; reset after each op. */ + MemoryContext scratch = AllocSetContextCreate(CurrentMemoryContext, "bench_scratch", ALLOCSET_DEFAULT_SIZES); + MemoryContextSwitchTo(scratch); + + volatile size_t sink = 0; + + /* Warmup */ + for (int w = 0; w < 1000; w++) + for (int i = 0; i < NQ; i++) { + PgQueryProtobuf pb = pg_query_nodes_to_protobuf(trees[i]); + free(pb.data); + pg_query_protobuf_to_nodes(bufs[i]); + MemoryContextReset(scratch); + } + + /* ENCODE only: nodes -> protobuf bytes */ + double t0 = now_sec(); + for (int it = 0; it < iters; it++) + for (int i = 0; i < NQ; i++) { + PgQueryProtobuf pb = pg_query_nodes_to_protobuf(trees[i]); + sink += pb.len; + free(pb.data); + MemoryContextReset(scratch); + } + double t_enc = now_sec() - t0; + + /* DECODE only: protobuf bytes -> nodes */ + t0 = now_sec(); + for (int it = 0; it < iters; it++) + for (int i = 0; i < NQ; i++) { + List *l = pg_query_protobuf_to_nodes(bufs[i]); + sink += (size_t) l; + MemoryContextReset(scratch); + } + double t_dec = now_sec() - t0; + + long ops = (long) iters * NQ; + printf("[%s] iters=%d queries=%d ops=%ld\n", label, iters, NQ, ops); + printf(" ENCODE nodes_to_protobuf: %7.3f s %7.1f ns/op %9.0f ops/s\n", + t_enc, t_enc * 1e9 / ops, ops / t_enc); + printf(" DECODE protobuf_to_nodes: %7.3f s %7.1f ns/op %9.0f ops/s\n", + t_dec, t_dec * 1e9 / ops, ops / t_dec); + printf(" bytes/corpus pass: %zu (sink=%zu)\n", total_bytes, sink); + + MemoryContextSwitchTo(persistent); + pg_query_exit_memory_context(persistent); + return 0; +} diff --git a/examples/scan.c b/examples/scan.c index a75115ed9..66a7662de 100644 --- a/examples/scan.c +++ b/examples/scan.c @@ -2,8 +2,6 @@ #include #include -#include "protobuf/pg_query.pb-c.h" - size_t testCount = 13; const char* tests[] = { "SELECT 1", @@ -22,35 +20,26 @@ const char* tests[] = { }; int main() { - PgQueryScanResult result; - PgQuery__ScanResult *scan_result; - PgQuery__ScanToken *scan_token; - const ProtobufCEnumValue *token_kind; - const ProtobufCEnumValue *keyword_kind; + PgQueryScanTokensResult result; size_t i; - size_t j; + int j; for (i = 0; i < testCount; i++) { - result = pg_query_scan(tests[i]); + result = pg_query_scan_tokens(tests[i]); printf("%s\n", tests[i]); if (result.error) { printf(" error: %s at %d\n", result.error->message, result.error->cursorpos); } else { - scan_result = pg_query__scan_result__unpack(NULL, result.pbuf.len, (void *) result.pbuf.data); - - printf(" version: %d, tokens: %zu, size: %zu\n", scan_result->version, scan_result->n_tokens, result.pbuf.len); - for (j = 0; j < scan_result->n_tokens; j++) { - scan_token = scan_result->tokens[j]; - token_kind = protobuf_c_enum_descriptor_get_value(&pg_query__token__descriptor, scan_token->token); - keyword_kind = protobuf_c_enum_descriptor_get_value(&pg_query__keyword_kind__descriptor, scan_token->keyword_kind); - printf(" \"%.*s\" = [ %d, %d, %s, %s ]\n", scan_token->end - scan_token->start, &(tests[i][scan_token->start]), scan_token->start, scan_token->end, token_kind->name, keyword_kind->name); + printf(" tokens: %d\n", result.n_tokens); + for (j = 0; j < result.n_tokens; j++) { + PgQueryScanToken token = result.tokens[j]; + printf(" \"%.*s\" = [ %d, %d, %s, %s ]\n", token.end - token.start, &(tests[i][token.start]), token.start, token.end, + pg_query_token_name(token.token), pg_query_keyword_kind_name(token.keyword_kind)); } - - pg_query__scan_result__free_unpacked(scan_result, NULL); } - pg_query_free_scan_result(result); + pg_query_free_scan_tokens_result(result); } // Optional, this ensures all memory is freed upon program exit (useful when running Valgrind) diff --git a/patches/04_lexer_comments_as_tokens.patch b/patches/04_lexer_comments_as_tokens.patch index 4a76488ef..494725015 100644 --- a/patches/04_lexer_comments_as_tokens.patch +++ b/patches/04_lexer_comments_as_tokens.patch @@ -2,20 +2,24 @@ commit 17aa7e51f4a3bf12d4662720ef39f6f60336dc83 Author: Lukas Fittl Date: Sun Jan 3 16:01:44 2021 -0800 - pg_query: Track comments separately from whitespace in lexer/parser - + pg_query: Optionally return comments as tokens from the lexer + For syntax highlighting and extracting comments from a query, its very helpful to know the exact locations of a comment in the query string. - + Previously the lexer discarded all comments as whitespace, making it impossible to determine where they are located in the query string. With - this change, the lexer returns them as SQL_COMMENT/C_COMMENT tokens. + this change, the lexer returns them as SQL_COMMENT/C_COMMENT tokens when + return_comments is set in core_yy_extra_type (as done by pg_query_scan). + + By default (e.g. when called from the parser) comments continue to be + ignored like whitespace, so parsing behaves the same as upstream Postgres. + Comments are always treated as whitespace within {quotecontinue}. diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y -index 452e17edf2..87e6e1c858 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y -@@ -695,6 +695,7 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query); +@@ -690,6 +690,7 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query); %token ICONST PARAM %token TYPECAST DOT_DOT COLON_EQUALS EQUALS_GREATER %token LESS_EQUALS GREATER_EQUALS NOT_EQUALS @@ -23,87 +27,70 @@ index 452e17edf2..87e6e1c858 100644 /* * If you want to make any keyword changes, update the keyword table in -diff --git a/src/backend/parser/parser.c b/src/backend/parser/parser.c -index 118488c3f3..551b37a09a 100644 ---- a/src/backend/parser/parser.c -+++ b/src/backend/parser/parser.c -@@ -156,6 +156,9 @@ base_yylex(YYSTYPE *lvalp, YYLTYPE *llocp, core_yyscan_t yyscanner) - case WITHOUT: - cur_token_length = 7; - break; -+ case SQL_COMMENT: -+ case C_COMMENT: -+ return base_yylex(lvalp, llocp, yyscanner); - default: - return cur_token; - } diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l -index 28fdd262b1..5c930dfda2 100644 --- a/src/backend/parser/scan.l +++ b/src/backend/parser/scan.l -@@ -226,7 +226,7 @@ non_newline [^\n\r] - - comment ("--"{non_newline}*) +@@ -440,10 +440,19 @@ other . --whitespace ({space}+|{comment}) -+whitespace ({space}+) + %% - /* - * SQL requires at least one newline in the whitespace separating -@@ -235,8 +235,8 @@ whitespace ({space}+|{comment}) - * it, whereas {whitespace} should generally have a * after it... - */ - --special_whitespace ({space}+|{comment}{newline}) --non_newline_whitespace ({non_newline_space}|{comment}) -+special_whitespace ({space}+) -+non_newline_whitespace ({non_newline_space}) - whitespace_with_newline ({non_newline_whitespace}*{newline}{special_whitespace}*) - - quote ' -@@ -444,6 +444,11 @@ other . +-{whitespace} { ++{space}+ { /* ignore */ } +{comment} { -+ SET_YYLLOC(); -+ return SQL_COMMENT; ++ /* ignore, unless comments were requested as tokens */ ++ if (yyextra->return_comments) ++ { ++ SET_YYLLOC(); ++ return SQL_COMMENT; ++ } + } + {xcstart} { /* Set location in case of syntax error in comment */ SET_YYLLOC(); -@@ -462,7 +467,11 @@ other . +@@ -462,7 +471,14 @@ other . {xcstop} { if (yyextra->xcdepth <= 0) + { BEGIN(INITIAL); -+ yyextra->yyllocend = yytext - yyextra->scanbuf + yyleng; -+ return C_COMMENT; ++ if (yyextra->return_comments) ++ { ++ yyextra->yyllocend = yytext - yyextra->scanbuf + yyleng; ++ return C_COMMENT; ++ } + } else (yyextra->xcdepth)--; } -diff --git a/src/interfaces/ecpg/preproc/parser.c b/src/interfaces/ecpg/preproc/parser.c -index 9daeee3303..1c32d3ccce 100644 ---- a/src/interfaces/ecpg/preproc/parser.c -+++ b/src/interfaces/ecpg/preproc/parser.c -@@ -86,6 +86,9 @@ filtered_base_yylex(void) - case UIDENT: - case USCONST: - break; -+ case SQL_COMMENT: -+ case C_COMMENT: -+ return filtered_base_yylex(); - default: - return cur_token; - } +@@ -1275,6 +1291,7 @@ scanner_init(const char *str, + yyext->backslash_quote = backslash_quote; + yyext->escape_string_warning = escape_string_warning; + yyext->standard_conforming_strings = standard_conforming_strings; ++ yyext->return_comments = false; + + /* + * Make a scan buffer with special termination needed by flex. +diff --git a/src/include/parser/scanner.h b/src/include/parser/scanner.h +--- a/src/include/parser/scanner.h ++++ b/src/include/parser/scanner.h +@@ -115,6 +115,9 @@ typedef struct core_yy_extra_type + bool saw_non_ascii; + + int yyllocend; ++ ++ /* return comments as SQL_COMMENT/C_COMMENT tokens, instead of ignoring */ ++ bool return_comments; + } core_yy_extra_type; + + /* diff --git a/src/pl/plpgsql/src/pl_gram.y b/src/pl/plpgsql/src/pl_gram.y -index 97be9239e3..165b9b0a8c 100644 --- a/src/pl/plpgsql/src/pl_gram.y +++ b/src/pl/plpgsql/src/pl_gram.y -@@ -232,6 +232,7 @@ static void check_raise_parameters(PLpgSQL_stmt_raise *stmt); +@@ -247,6 +247,7 @@ static void check_raise_parameters(PLpgSQL_stmt_raise *stmt); %token ICONST PARAM %token TYPECAST DOT_DOT COLON_EQUALS EQUALS_GREATER %token LESS_EQUALS GREATER_EQUALS NOT_EQUALS @@ -111,19 +98,3 @@ index 97be9239e3..165b9b0a8c 100644 /* * Other tokens recognized by plpgsql's lexer interface layer (pl_scanner.c). -diff --git a/src/pl/plpgsql/src/pl_scanner.c b/src/pl/plpgsql/src/pl_scanner.c -index 9407da51ef..51919febe5 100644 ---- a/src/pl/plpgsql/src/pl_scanner.c -+++ b/src/pl/plpgsql/src/pl_scanner.c -@@ -359,6 +359,11 @@ internal_yylex(TokenAuxData *auxdata) - { - auxdata->lval.str = pstrdup(yytext); - } -+ -+ else if (token == SQL_COMMENT || token == C_COMMENT) -+ { -+ token = internal_yylex(auxdata, yyscanner); -+ } - } - - return token; diff --git a/patches/13_exprlocation_check_stack_depth.patch b/patches/13_exprlocation_check_stack_depth.patch new file mode 100644 index 000000000..219c82e32 --- /dev/null +++ b/patches/13_exprlocation_check_stack_depth.patch @@ -0,0 +1,27 @@ +From: Lukas Fittl +Subject: [PATCH] exprLocation: Check stack depth + +exprLocation recurses into the left operand of an A_Expr (and other +child nodes), without checking stack depth. The grammar calls it when +reporting errors like "multiple ORDER BY clauses not allowed", so a +deeply nested expression (e.g. "(SELECT ORDER BY a) ORDER BY x+x+...") +could overflow the stack during raw parsing, before any other check +runs. +--- + src/backend/nodes/nodeFuncs.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/backend/nodes/nodeFuncs.c b/src/backend/nodes/nodeFuncs.c +--- a/src/backend/nodes/nodeFuncs.c ++++ b/src/backend/nodes/nodeFuncs.c +@@ -1387,6 +1387,10 @@ exprLocation(const Node *expr) + + if (expr == NULL) + return -1; ++ ++ /* Guard against stack overflow due to overly complex expressions */ ++ check_stack_depth(); ++ + switch (nodeTag(expr)) + { + case T_RangeVar: diff --git a/patches/14_avoid_quadratic_memory_dotted_names.patch b/patches/14_avoid_quadratic_memory_dotted_names.patch new file mode 100644 index 000000000..2b75d2cdd --- /dev/null +++ b/patches/14_avoid_quadratic_memory_dotted_names.patch @@ -0,0 +1,46 @@ +diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y +--- a/src/backend/parser/gram.y ++++ b/src/backend/parser/gram.y +@@ -362,7 +362,7 @@ + %type opt_in_database + + %type parameter_name +-%type OptSchemaEltList parameter_name_list ++%type OptSchemaEltList parameter_name_list dotted_colid_list + + %type am_type + +@@ -1846,11 +1846,14 @@ + } + ; + +-var_name: ColId { $$ = $1; } +- | var_name '.' ColId +- { $$ = psprintf("%s.%s", $1, $3); } ++var_name: dotted_colid_list { $$ = NameListToString($1); } + ; + ++dotted_colid_list: ++ ColId { $$ = list_make1(makeString($1)); } ++ | dotted_colid_list '.' ColId { $$ = lappend($1, makeString($3)); } ++ ; ++ + var_list: var_value { $$ = list_make1($1); } + | var_list ',' var_value { $$ = lappend($1, $3); } + ; +@@ -7828,13 +7831,9 @@ + ; + + parameter_name: +- ColId ++ dotted_colid_list + { +- $$ = $1; +- } +- | parameter_name '.' ColId +- { +- $$ = psprintf("%s.%s", $1, $3); ++ $$ = NameListToString($1); + } + ; + diff --git a/patches/15_node_string_constant_locations.patch b/patches/15_node_string_constant_locations.patch new file mode 100644 index 000000000..a4fa99af8 --- /dev/null +++ b/patches/15_node_string_constant_locations.patch @@ -0,0 +1,182 @@ +--- a/src/backend/nodes/makefuncs.c ++++ b/src/backend/nodes/makefuncs.c +@@ -643,6 +643,7 @@ + res->arg = arg; + res->defaction = DEFELEM_UNSPEC; + res->location = location; ++ res->arg_location = -1; + + return res; + } +@@ -662,6 +663,7 @@ + res->arg = arg; + res->defaction = defaction; + res->location = location; ++ res->arg_location = -1; + + return res; + } +--- a/src/backend/parser/gram.y ++++ b/src/backend/parser/gram.y +@@ -574,7 +574,7 @@ + %type opt_varying opt_timezone opt_no_inherit + + %type Iconst SignedIconst +-%type Sconst comment_text notify_payload ++%type Sconst comment_text + %type RoleId opt_boolean_or_string + %type var_list + %type ColId ColLabel BareColLabel +@@ -1200,6 +1200,7 @@ + { + $$ = makeDefElem("password", + (Node *) makeString($2), @1); ++ $$->arg_location = @2; + } + | PASSWORD NULL_P + { +@@ -1214,6 +1215,7 @@ + */ + $$ = makeDefElem("password", + (Node *) makeString($3), @1); ++ $$->arg_location = @3; + } + | UNENCRYPTED PASSWORD Sconst + { +@@ -1234,6 +1236,7 @@ + | VALID UNTIL Sconst + { + $$ = makeDefElem("validUntil", (Node *) makeString($3), @1); ++ $$->arg_location = @3; + } + /* Supported but not documented for roles, for use by ALTER GROUP. */ + | USER role_list +@@ -5560,6 +5563,7 @@ + generic_option_name generic_option_arg + { + $$ = makeDefElem($1, $2, @1); ++ $$->arg_location = @2; + } + ; + +@@ -8800,11 +8804,17 @@ + AS func_as + { + $$ = makeDefElem("as", (Node *) $2, @1); ++ $$->arg_location = @2; + } +- | LANGUAGE NonReservedWord_or_Sconst ++ | LANGUAGE NonReservedWord + { + $$ = makeDefElem("language", (Node *) makeString($2), @1); + } ++ | LANGUAGE Sconst ++ { ++ $$ = makeDefElem("language", (Node *) makeString($2), @1); ++ $$->arg_location = @2; ++ } + | TRANSFORM transform_type_list + { + $$ = makeDefElem("transform", (Node *) $2, @1); +@@ -9160,10 +9170,16 @@ + Sconst + { + $$ = makeDefElem("as", (Node *) makeString($1), @1); ++ $$->arg_location = @1; + } +- | LANGUAGE NonReservedWord_or_Sconst ++ | LANGUAGE NonReservedWord ++ { ++ $$ = makeDefElem("language", (Node *) makeString($2), @1); ++ } ++ | LANGUAGE Sconst + { + $$ = makeDefElem("language", (Node *) makeString($2), @1); ++ $$->arg_location = @2; + } + ; + +@@ -10827,6 +10843,7 @@ + makeNode(CreateSubscriptionStmt); + n->subname = $3; + n->conninfo = $5; ++ n->conninfo_location = @5; + n->publication = $7; + n->options = $8; + $$ = (Node *) n; +@@ -10858,6 +10875,7 @@ + n->kind = ALTER_SUBSCRIPTION_CONNECTION; + n->subname = $3; + n->conninfo = $5; ++ n->conninfo_location = @5; + $$ = (Node *) n; + } + | ALTER SUBSCRIPTION name REFRESH PUBLICATION opt_definition +@@ -11042,19 +11060,23 @@ + * + *****************************************************************************/ + +-NotifyStmt: NOTIFY ColId notify_payload ++NotifyStmt: NOTIFY ColId ',' Sconst + { + NotifyStmt *n = makeNode(NotifyStmt); + + n->conditionname = $2; +- n->payload = $3; ++ n->payload = $4; ++ n->payload_location = @4; + $$ = (Node *) n; + } +- ; ++ | NOTIFY ColId ++ { ++ NotifyStmt *n = makeNode(NotifyStmt); + +-notify_payload: +- ',' Sconst { $$ = $2; } +- | /*EMPTY*/ { $$ = NULL; } ++ n->conditionname = $2; ++ n->payload = NULL; ++ $$ = (Node *) n; ++ } + ; + + ListenStmt: LISTEN ColId +--- a/src/include/nodes/parsenodes.h ++++ b/src/include/nodes/parsenodes.h +@@ -843,6 +843,8 @@ + * TypeName */ + DefElemAction defaction; /* unspecified action, or SET/ADD/DROP */ + ParseLoc location; /* token location, or -1 if unknown */ ++ /* location of arg's string constant, or -1 if not a string constant */ ++ ParseLoc arg_location pg_node_attr(query_jumble_ignore); + } DefElem; + + /* +@@ -3725,6 +3727,8 @@ + NodeTag type; + char *conditionname; /* condition name to notify */ + char *payload; /* the payload string, or NULL if none */ ++ /* location of payload's string constant; only set when payload is */ ++ ParseLoc payload_location pg_node_attr(query_jumble_ignore); + } NotifyStmt; + + /* ---------------------- +@@ -4299,6 +4303,8 @@ + char *conninfo; /* Connection string to publisher */ + List *publication; /* One or more publication to subscribe to */ + List *options; /* List of DefElem nodes */ ++ /* location of conninfo's string constant; only set when conninfo is */ ++ ParseLoc conninfo_location pg_node_attr(query_jumble_ignore); + } CreateSubscriptionStmt; + + typedef enum AlterSubscriptionType +@@ -4321,6 +4327,8 @@ + char *conninfo; /* Connection string to publisher */ + List *publication; /* One or more publication to subscribe to */ + List *options; /* List of DefElem nodes */ ++ /* location of conninfo's string constant; only set when conninfo is */ ++ ParseLoc conninfo_location pg_node_attr(query_jumble_ignore); + } AlterSubscriptionStmt; + + typedef struct DropSubscriptionStmt diff --git a/pg_query.h b/pg_query.h index 6e1035464..f8c63cd05 100644 --- a/pg_query.h +++ b/pg_query.h @@ -6,6 +6,7 @@ #include #include "postgres_deparse.h" +#include "pg_query_scan_tokens.h" typedef struct { char* message; // exception message @@ -33,6 +34,19 @@ typedef struct { PgQueryError* error; } PgQueryScanResult; +typedef struct { + int start; // byte offset of the token in the input + int end; // byte offset just past the token + PgQueryToken token; // use pg_query_token_name to get the name as a string + PgQueryKeywordKind keyword_kind; // use pg_query_keyword_kind_name to get the name as a string +} PgQueryScanToken; + +typedef struct { + PgQueryScanToken* tokens; + int n_tokens; + PgQueryError* error; +} PgQueryScanTokensResult; + typedef struct { char* parse_tree; char* stderr_buffer; @@ -112,13 +126,46 @@ typedef enum #define PG_QUERY_DISABLE_STANDARD_CONFORMING_STRINGS 32 // standard_conforming_strings = off (default is on) #define PG_QUERY_DISABLE_ESCAPE_STRING_WARNING 64 // escape_string_warning = off (default is on) +// Fingerprint options (flags that control how fingerprints are calculated) + +#define PG_QUERY_FINGERPRINT_DEFAULT 0 + +// RangeVar handling (bits 0-3) +// +// By default, relation references are fingerprinted following the Postgres 18+ +// query ID behavior (see Postgres commit 787514b30bb): in SELECT/DML statements +// the alias name is fingerprinted, the relation name is ignored when an alias +// is present, and schema names are ignored. +#define PG_QUERY_FINGERPRINT_RANGEVAR_IGNORE_ALIASES (1 << 0) // Relation names are always fingerprinted, aliases are ignored +#define PG_QUERY_FINGERPRINT_RANGEVAR_INCLUDE_SCHEMA (1 << 1) // Schema names are also fingerprinted in SELECT/DML statements (they are always fingerprinted in utility statements) + +// Convenience combination that matches how Postgres 17 and earlier calculate +// query IDs, and how libpg_query 17 and earlier calculated fingerprints +#define PG_QUERY_FINGERPRINT_RANGEVAR_PG17_COMPAT (PG_QUERY_FINGERPRINT_RANGEVAR_IGNORE_ALIASES | PG_QUERY_FINGERPRINT_RANGEVAR_INCLUDE_SCHEMA) + +// Relation name handling (bits 4-7) +// +// By default, sequences of two or more digits in relation names are ignored +// when fingerprinting, so that queries on date/number-suffixed tables (e.g. +// partitions like "orders_2024_01") get the same fingerprint. Set this flag +// to fingerprint the full relation name instead. +#define PG_QUERY_FINGERPRINT_FULL_RELNAME (1 << 4) + #ifdef __cplusplus extern "C" { #endif PgQueryNormalizeResult pg_query_normalize(const char* input); PgQueryNormalizeResult pg_query_normalize_utility(const char* input); + +// pg_query_scan returns the tokens as a serialized ScanResult protobuf (for +// decoding in another language), pg_query_scan_tokens returns them as a plain +// C array (for use from C). PgQueryScanResult pg_query_scan(const char* input); +PgQueryScanTokensResult pg_query_scan_tokens(const char* input); +const char* pg_query_token_name(PgQueryToken token); +const char* pg_query_keyword_kind_name(PgQueryKeywordKind keyword_kind); + PgQueryParseResult pg_query_parse(const char* input); PgQueryParseResult pg_query_parse_opts(const char* input, int parser_options); PgQueryProtobufParseResult pg_query_parse_protobuf(const char* input); @@ -126,7 +173,7 @@ PgQueryProtobufParseResult pg_query_parse_protobuf_opts(const char* input, int p PgQueryPlpgsqlParseResult pg_query_parse_plpgsql(const char* input); PgQueryFingerprintResult pg_query_fingerprint(const char* input); -PgQueryFingerprintResult pg_query_fingerprint_opts(const char* input, int parser_options); +PgQueryFingerprintResult pg_query_fingerprint_opts(const char* input, int parser_options, int fingerprint_options); // Use pg_query_split_with_scanner when you need to split statements that may // contain parse errors, otherwise pg_query_split_with_parser is recommended @@ -148,6 +195,7 @@ PgQuerySummaryParseResult pg_query_summary(const char* input, int parser_options void pg_query_free_normalize_result(PgQueryNormalizeResult result); void pg_query_free_scan_result(PgQueryScanResult result); +void pg_query_free_scan_tokens_result(PgQueryScanTokensResult result); void pg_query_free_parse_result(PgQueryParseResult result); void pg_query_free_split_result(PgQuerySplitResult result); void pg_query_free_deparse_result(PgQueryDeparseResult result); @@ -163,8 +211,8 @@ void pg_query_exit(void); // Postgres version information #define PG_MAJORVERSION "18" -#define PG_VERSION "18.4" -#define PG_VERSION_NUM 180004 +#define PG_VERSION "18.6" +#define PG_VERSION_NUM 180006 // Deprecated APIs below diff --git a/pg_query_scan_tokens.h b/pg_query_scan_tokens.h new file mode 100644 index 000000000..832c6993c --- /dev/null +++ b/pg_query_scan_tokens.h @@ -0,0 +1,575 @@ +// This file is autogenerated by ./scripts/generate_protobuf_and_funcs.rb + +#ifndef PG_QUERY_SCAN_TOKENS_H +#define PG_QUERY_SCAN_TOKENS_H + +// Tokens returned by the Postgres scanner, as used by pg_query_scan_tokens. +// +// The values are the token numbers of the Postgres grammar (identical to the +// Token enum in protobuf/pg_query.proto). They change between Postgres +// versions, since Bison numbers tokens in declaration order, so compare by +// name rather than by value. +typedef enum { + PG_QUERY_TOKEN_NUL = 0, + // Single-character tokens that are returned 1:1 (identical with "self" list in scan.l) + // Either supporting syntax, or single-character operators (some can be both) + // Also see https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-SPECIAL-CHARS + PG_QUERY_TOKEN_ASCII_36 = 36, // "$" + PG_QUERY_TOKEN_ASCII_37 = 37, // "%" + PG_QUERY_TOKEN_ASCII_40 = 40, // "(" + PG_QUERY_TOKEN_ASCII_41 = 41, // ")" + PG_QUERY_TOKEN_ASCII_42 = 42, // "*" + PG_QUERY_TOKEN_ASCII_43 = 43, // "+" + PG_QUERY_TOKEN_ASCII_44 = 44, // "," + PG_QUERY_TOKEN_ASCII_45 = 45, // "-" + PG_QUERY_TOKEN_ASCII_46 = 46, // "." + PG_QUERY_TOKEN_ASCII_47 = 47, // "/" + PG_QUERY_TOKEN_ASCII_58 = 58, // ":" + PG_QUERY_TOKEN_ASCII_59 = 59, // ";" + PG_QUERY_TOKEN_ASCII_60 = 60, // "<" + PG_QUERY_TOKEN_ASCII_61 = 61, // "=" + PG_QUERY_TOKEN_ASCII_62 = 62, // ">" + PG_QUERY_TOKEN_ASCII_63 = 63, // "?" + PG_QUERY_TOKEN_ASCII_91 = 91, // "[" + PG_QUERY_TOKEN_ASCII_92 = 92, // "\" + PG_QUERY_TOKEN_ASCII_93 = 93, // "]" + PG_QUERY_TOKEN_ASCII_94 = 94, // "^" + // Named tokens in scan.l + PG_QUERY_TOKEN_IDENT = 258, + PG_QUERY_TOKEN_UIDENT = 259, + PG_QUERY_TOKEN_FCONST = 260, + PG_QUERY_TOKEN_SCONST = 261, + PG_QUERY_TOKEN_USCONST = 262, + PG_QUERY_TOKEN_BCONST = 263, + PG_QUERY_TOKEN_XCONST = 264, + PG_QUERY_TOKEN_Op = 265, + PG_QUERY_TOKEN_ICONST = 266, + PG_QUERY_TOKEN_PARAM = 267, + PG_QUERY_TOKEN_TYPECAST = 268, + PG_QUERY_TOKEN_DOT_DOT = 269, + PG_QUERY_TOKEN_COLON_EQUALS = 270, + PG_QUERY_TOKEN_EQUALS_GREATER = 271, + PG_QUERY_TOKEN_LESS_EQUALS = 272, + PG_QUERY_TOKEN_GREATER_EQUALS = 273, + PG_QUERY_TOKEN_NOT_EQUALS = 274, + PG_QUERY_TOKEN_SQL_COMMENT = 275, + PG_QUERY_TOKEN_C_COMMENT = 276, + PG_QUERY_TOKEN_ABORT_P = 277, + PG_QUERY_TOKEN_ABSENT = 278, + PG_QUERY_TOKEN_ABSOLUTE_P = 279, + PG_QUERY_TOKEN_ACCESS = 280, + PG_QUERY_TOKEN_ACTION = 281, + PG_QUERY_TOKEN_ADD_P = 282, + PG_QUERY_TOKEN_ADMIN = 283, + PG_QUERY_TOKEN_AFTER = 284, + PG_QUERY_TOKEN_AGGREGATE = 285, + PG_QUERY_TOKEN_ALL = 286, + PG_QUERY_TOKEN_ALSO = 287, + PG_QUERY_TOKEN_ALTER = 288, + PG_QUERY_TOKEN_ALWAYS = 289, + PG_QUERY_TOKEN_ANALYSE = 290, + PG_QUERY_TOKEN_ANALYZE = 291, + PG_QUERY_TOKEN_AND = 292, + PG_QUERY_TOKEN_ANY = 293, + PG_QUERY_TOKEN_ARRAY = 294, + PG_QUERY_TOKEN_AS = 295, + PG_QUERY_TOKEN_ASC = 296, + PG_QUERY_TOKEN_ASENSITIVE = 297, + PG_QUERY_TOKEN_ASSERTION = 298, + PG_QUERY_TOKEN_ASSIGNMENT = 299, + PG_QUERY_TOKEN_ASYMMETRIC = 300, + PG_QUERY_TOKEN_ATOMIC = 301, + PG_QUERY_TOKEN_AT = 302, + PG_QUERY_TOKEN_ATTACH = 303, + PG_QUERY_TOKEN_ATTRIBUTE = 304, + PG_QUERY_TOKEN_AUTHORIZATION = 305, + PG_QUERY_TOKEN_BACKWARD = 306, + PG_QUERY_TOKEN_BEFORE = 307, + PG_QUERY_TOKEN_BEGIN_P = 308, + PG_QUERY_TOKEN_BETWEEN = 309, + PG_QUERY_TOKEN_BIGINT = 310, + PG_QUERY_TOKEN_BINARY = 311, + PG_QUERY_TOKEN_BIT = 312, + PG_QUERY_TOKEN_BOOLEAN_P = 313, + PG_QUERY_TOKEN_BOTH = 314, + PG_QUERY_TOKEN_BREADTH = 315, + PG_QUERY_TOKEN_BY = 316, + PG_QUERY_TOKEN_CACHE = 317, + PG_QUERY_TOKEN_CALL = 318, + PG_QUERY_TOKEN_CALLED = 319, + PG_QUERY_TOKEN_CASCADE = 320, + PG_QUERY_TOKEN_CASCADED = 321, + PG_QUERY_TOKEN_CASE = 322, + PG_QUERY_TOKEN_CAST = 323, + PG_QUERY_TOKEN_CATALOG_P = 324, + PG_QUERY_TOKEN_CHAIN = 325, + PG_QUERY_TOKEN_CHAR_P = 326, + PG_QUERY_TOKEN_CHARACTER = 327, + PG_QUERY_TOKEN_CHARACTERISTICS = 328, + PG_QUERY_TOKEN_CHECK = 329, + PG_QUERY_TOKEN_CHECKPOINT = 330, + PG_QUERY_TOKEN_CLASS = 331, + PG_QUERY_TOKEN_CLOSE = 332, + PG_QUERY_TOKEN_CLUSTER = 333, + PG_QUERY_TOKEN_COALESCE = 334, + PG_QUERY_TOKEN_COLLATE = 335, + PG_QUERY_TOKEN_COLLATION = 336, + PG_QUERY_TOKEN_COLUMN = 337, + PG_QUERY_TOKEN_COLUMNS = 338, + PG_QUERY_TOKEN_COMMENT = 339, + PG_QUERY_TOKEN_COMMENTS = 340, + PG_QUERY_TOKEN_COMMIT = 341, + PG_QUERY_TOKEN_COMMITTED = 342, + PG_QUERY_TOKEN_COMPRESSION = 343, + PG_QUERY_TOKEN_CONCURRENTLY = 344, + PG_QUERY_TOKEN_CONDITIONAL = 345, + PG_QUERY_TOKEN_CONFIGURATION = 346, + PG_QUERY_TOKEN_CONFLICT = 347, + PG_QUERY_TOKEN_CONNECTION = 348, + PG_QUERY_TOKEN_CONSTRAINT = 349, + PG_QUERY_TOKEN_CONSTRAINTS = 350, + PG_QUERY_TOKEN_CONTENT_P = 351, + PG_QUERY_TOKEN_CONTINUE_P = 352, + PG_QUERY_TOKEN_CONVERSION_P = 353, + PG_QUERY_TOKEN_COPY = 354, + PG_QUERY_TOKEN_COST = 355, + PG_QUERY_TOKEN_CREATE = 356, + PG_QUERY_TOKEN_CROSS = 357, + PG_QUERY_TOKEN_CSV = 358, + PG_QUERY_TOKEN_CUBE = 359, + PG_QUERY_TOKEN_CURRENT_P = 360, + PG_QUERY_TOKEN_CURRENT_CATALOG = 361, + PG_QUERY_TOKEN_CURRENT_DATE = 362, + PG_QUERY_TOKEN_CURRENT_ROLE = 363, + PG_QUERY_TOKEN_CURRENT_SCHEMA = 364, + PG_QUERY_TOKEN_CURRENT_TIME = 365, + PG_QUERY_TOKEN_CURRENT_TIMESTAMP = 366, + PG_QUERY_TOKEN_CURRENT_USER = 367, + PG_QUERY_TOKEN_CURSOR = 368, + PG_QUERY_TOKEN_CYCLE = 369, + PG_QUERY_TOKEN_DATA_P = 370, + PG_QUERY_TOKEN_DATABASE = 371, + PG_QUERY_TOKEN_DAY_P = 372, + PG_QUERY_TOKEN_DEALLOCATE = 373, + PG_QUERY_TOKEN_DEC = 374, + PG_QUERY_TOKEN_DECIMAL_P = 375, + PG_QUERY_TOKEN_DECLARE = 376, + PG_QUERY_TOKEN_DEFAULT = 377, + PG_QUERY_TOKEN_DEFAULTS = 378, + PG_QUERY_TOKEN_DEFERRABLE = 379, + PG_QUERY_TOKEN_DEFERRED = 380, + PG_QUERY_TOKEN_DEFINER = 381, + PG_QUERY_TOKEN_DELETE_P = 382, + PG_QUERY_TOKEN_DELIMITER = 383, + PG_QUERY_TOKEN_DELIMITERS = 384, + PG_QUERY_TOKEN_DEPENDS = 385, + PG_QUERY_TOKEN_DEPTH = 386, + PG_QUERY_TOKEN_DESC = 387, + PG_QUERY_TOKEN_DETACH = 388, + PG_QUERY_TOKEN_DICTIONARY = 389, + PG_QUERY_TOKEN_DISABLE_P = 390, + PG_QUERY_TOKEN_DISCARD = 391, + PG_QUERY_TOKEN_DISTINCT = 392, + PG_QUERY_TOKEN_DO = 393, + PG_QUERY_TOKEN_DOCUMENT_P = 394, + PG_QUERY_TOKEN_DOMAIN_P = 395, + PG_QUERY_TOKEN_DOUBLE_P = 396, + PG_QUERY_TOKEN_DROP = 397, + PG_QUERY_TOKEN_EACH = 398, + PG_QUERY_TOKEN_ELSE = 399, + PG_QUERY_TOKEN_EMPTY_P = 400, + PG_QUERY_TOKEN_ENABLE_P = 401, + PG_QUERY_TOKEN_ENCODING = 402, + PG_QUERY_TOKEN_ENCRYPTED = 403, + PG_QUERY_TOKEN_END_P = 404, + PG_QUERY_TOKEN_ENFORCED = 405, + PG_QUERY_TOKEN_ENUM_P = 406, + PG_QUERY_TOKEN_ERROR_P = 407, + PG_QUERY_TOKEN_ESCAPE = 408, + PG_QUERY_TOKEN_EVENT = 409, + PG_QUERY_TOKEN_EXCEPT = 410, + PG_QUERY_TOKEN_EXCLUDE = 411, + PG_QUERY_TOKEN_EXCLUDING = 412, + PG_QUERY_TOKEN_EXCLUSIVE = 413, + PG_QUERY_TOKEN_EXECUTE = 414, + PG_QUERY_TOKEN_EXISTS = 415, + PG_QUERY_TOKEN_EXPLAIN = 416, + PG_QUERY_TOKEN_EXPRESSION = 417, + PG_QUERY_TOKEN_EXTENSION = 418, + PG_QUERY_TOKEN_EXTERNAL = 419, + PG_QUERY_TOKEN_EXTRACT = 420, + PG_QUERY_TOKEN_FALSE_P = 421, + PG_QUERY_TOKEN_FAMILY = 422, + PG_QUERY_TOKEN_FETCH = 423, + PG_QUERY_TOKEN_FILTER = 424, + PG_QUERY_TOKEN_FINALIZE = 425, + PG_QUERY_TOKEN_FIRST_P = 426, + PG_QUERY_TOKEN_FLOAT_P = 427, + PG_QUERY_TOKEN_FOLLOWING = 428, + PG_QUERY_TOKEN_FOR = 429, + PG_QUERY_TOKEN_FORCE = 430, + PG_QUERY_TOKEN_FOREIGN = 431, + PG_QUERY_TOKEN_FORMAT = 432, + PG_QUERY_TOKEN_FORWARD = 433, + PG_QUERY_TOKEN_FREEZE = 434, + PG_QUERY_TOKEN_FROM = 435, + PG_QUERY_TOKEN_FULL = 436, + PG_QUERY_TOKEN_FUNCTION = 437, + PG_QUERY_TOKEN_FUNCTIONS = 438, + PG_QUERY_TOKEN_GENERATED = 439, + PG_QUERY_TOKEN_GLOBAL = 440, + PG_QUERY_TOKEN_GRANT = 441, + PG_QUERY_TOKEN_GRANTED = 442, + PG_QUERY_TOKEN_GREATEST = 443, + PG_QUERY_TOKEN_GROUP_P = 444, + PG_QUERY_TOKEN_GROUPING = 445, + PG_QUERY_TOKEN_GROUPS = 446, + PG_QUERY_TOKEN_HANDLER = 447, + PG_QUERY_TOKEN_HAVING = 448, + PG_QUERY_TOKEN_HEADER_P = 449, + PG_QUERY_TOKEN_HOLD = 450, + PG_QUERY_TOKEN_HOUR_P = 451, + PG_QUERY_TOKEN_IDENTITY_P = 452, + PG_QUERY_TOKEN_IF_P = 453, + PG_QUERY_TOKEN_ILIKE = 454, + PG_QUERY_TOKEN_IMMEDIATE = 455, + PG_QUERY_TOKEN_IMMUTABLE = 456, + PG_QUERY_TOKEN_IMPLICIT_P = 457, + PG_QUERY_TOKEN_IMPORT_P = 458, + PG_QUERY_TOKEN_IN_P = 459, + PG_QUERY_TOKEN_INCLUDE = 460, + PG_QUERY_TOKEN_INCLUDING = 461, + PG_QUERY_TOKEN_INCREMENT = 462, + PG_QUERY_TOKEN_INDENT = 463, + PG_QUERY_TOKEN_INDEX = 464, + PG_QUERY_TOKEN_INDEXES = 465, + PG_QUERY_TOKEN_INHERIT = 466, + PG_QUERY_TOKEN_INHERITS = 467, + PG_QUERY_TOKEN_INITIALLY = 468, + PG_QUERY_TOKEN_INLINE_P = 469, + PG_QUERY_TOKEN_INNER_P = 470, + PG_QUERY_TOKEN_INOUT = 471, + PG_QUERY_TOKEN_INPUT_P = 472, + PG_QUERY_TOKEN_INSENSITIVE = 473, + PG_QUERY_TOKEN_INSERT = 474, + PG_QUERY_TOKEN_INSTEAD = 475, + PG_QUERY_TOKEN_INT_P = 476, + PG_QUERY_TOKEN_INTEGER = 477, + PG_QUERY_TOKEN_INTERSECT = 478, + PG_QUERY_TOKEN_INTERVAL = 479, + PG_QUERY_TOKEN_INTO = 480, + PG_QUERY_TOKEN_INVOKER = 481, + PG_QUERY_TOKEN_IS = 482, + PG_QUERY_TOKEN_ISNULL = 483, + PG_QUERY_TOKEN_ISOLATION = 484, + PG_QUERY_TOKEN_JOIN = 485, + PG_QUERY_TOKEN_JSON = 486, + PG_QUERY_TOKEN_JSON_ARRAY = 487, + PG_QUERY_TOKEN_JSON_ARRAYAGG = 488, + PG_QUERY_TOKEN_JSON_EXISTS = 489, + PG_QUERY_TOKEN_JSON_OBJECT = 490, + PG_QUERY_TOKEN_JSON_OBJECTAGG = 491, + PG_QUERY_TOKEN_JSON_QUERY = 492, + PG_QUERY_TOKEN_JSON_SCALAR = 493, + PG_QUERY_TOKEN_JSON_SERIALIZE = 494, + PG_QUERY_TOKEN_JSON_TABLE = 495, + PG_QUERY_TOKEN_JSON_VALUE = 496, + PG_QUERY_TOKEN_KEEP = 497, + PG_QUERY_TOKEN_KEY = 498, + PG_QUERY_TOKEN_KEYS = 499, + PG_QUERY_TOKEN_LABEL = 500, + PG_QUERY_TOKEN_LANGUAGE = 501, + PG_QUERY_TOKEN_LARGE_P = 502, + PG_QUERY_TOKEN_LAST_P = 503, + PG_QUERY_TOKEN_LATERAL_P = 504, + PG_QUERY_TOKEN_LEADING = 505, + PG_QUERY_TOKEN_LEAKPROOF = 506, + PG_QUERY_TOKEN_LEAST = 507, + PG_QUERY_TOKEN_LEFT = 508, + PG_QUERY_TOKEN_LEVEL = 509, + PG_QUERY_TOKEN_LIKE = 510, + PG_QUERY_TOKEN_LIMIT = 511, + PG_QUERY_TOKEN_LISTEN = 512, + PG_QUERY_TOKEN_LOAD = 513, + PG_QUERY_TOKEN_LOCAL = 514, + PG_QUERY_TOKEN_LOCALTIME = 515, + PG_QUERY_TOKEN_LOCALTIMESTAMP = 516, + PG_QUERY_TOKEN_LOCATION = 517, + PG_QUERY_TOKEN_LOCK_P = 518, + PG_QUERY_TOKEN_LOCKED = 519, + PG_QUERY_TOKEN_LOGGED = 520, + PG_QUERY_TOKEN_MAPPING = 521, + PG_QUERY_TOKEN_MATCH = 522, + PG_QUERY_TOKEN_MATCHED = 523, + PG_QUERY_TOKEN_MATERIALIZED = 524, + PG_QUERY_TOKEN_MAXVALUE = 525, + PG_QUERY_TOKEN_MERGE = 526, + PG_QUERY_TOKEN_MERGE_ACTION = 527, + PG_QUERY_TOKEN_METHOD = 528, + PG_QUERY_TOKEN_MINUTE_P = 529, + PG_QUERY_TOKEN_MINVALUE = 530, + PG_QUERY_TOKEN_MODE = 531, + PG_QUERY_TOKEN_MONTH_P = 532, + PG_QUERY_TOKEN_MOVE = 533, + PG_QUERY_TOKEN_NAME_P = 534, + PG_QUERY_TOKEN_NAMES = 535, + PG_QUERY_TOKEN_NATIONAL = 536, + PG_QUERY_TOKEN_NATURAL = 537, + PG_QUERY_TOKEN_NCHAR = 538, + PG_QUERY_TOKEN_NESTED = 539, + PG_QUERY_TOKEN_NEW = 540, + PG_QUERY_TOKEN_NEXT = 541, + PG_QUERY_TOKEN_NFC = 542, + PG_QUERY_TOKEN_NFD = 543, + PG_QUERY_TOKEN_NFKC = 544, + PG_QUERY_TOKEN_NFKD = 545, + PG_QUERY_TOKEN_NO = 546, + PG_QUERY_TOKEN_NONE = 547, + PG_QUERY_TOKEN_NORMALIZE = 548, + PG_QUERY_TOKEN_NORMALIZED = 549, + PG_QUERY_TOKEN_NOT = 550, + PG_QUERY_TOKEN_NOTHING = 551, + PG_QUERY_TOKEN_NOTIFY = 552, + PG_QUERY_TOKEN_NOTNULL = 553, + PG_QUERY_TOKEN_NOWAIT = 554, + PG_QUERY_TOKEN_NULL_P = 555, + PG_QUERY_TOKEN_NULLIF = 556, + PG_QUERY_TOKEN_NULLS_P = 557, + PG_QUERY_TOKEN_NUMERIC = 558, + PG_QUERY_TOKEN_OBJECT_P = 559, + PG_QUERY_TOKEN_OBJECTS_P = 560, + PG_QUERY_TOKEN_OF = 561, + PG_QUERY_TOKEN_OFF = 562, + PG_QUERY_TOKEN_OFFSET = 563, + PG_QUERY_TOKEN_OIDS = 564, + PG_QUERY_TOKEN_OLD = 565, + PG_QUERY_TOKEN_OMIT = 566, + PG_QUERY_TOKEN_ON = 567, + PG_QUERY_TOKEN_ONLY = 568, + PG_QUERY_TOKEN_OPERATOR = 569, + PG_QUERY_TOKEN_OPTION = 570, + PG_QUERY_TOKEN_OPTIONS = 571, + PG_QUERY_TOKEN_OR = 572, + PG_QUERY_TOKEN_ORDER = 573, + PG_QUERY_TOKEN_ORDINALITY = 574, + PG_QUERY_TOKEN_OTHERS = 575, + PG_QUERY_TOKEN_OUT_P = 576, + PG_QUERY_TOKEN_OUTER_P = 577, + PG_QUERY_TOKEN_OVER = 578, + PG_QUERY_TOKEN_OVERLAPS = 579, + PG_QUERY_TOKEN_OVERLAY = 580, + PG_QUERY_TOKEN_OVERRIDING = 581, + PG_QUERY_TOKEN_OWNED = 582, + PG_QUERY_TOKEN_OWNER = 583, + PG_QUERY_TOKEN_PARALLEL = 584, + PG_QUERY_TOKEN_PARAMETER = 585, + PG_QUERY_TOKEN_PARSER = 586, + PG_QUERY_TOKEN_PARTIAL = 587, + PG_QUERY_TOKEN_PARTITION = 588, + PG_QUERY_TOKEN_PASSING = 589, + PG_QUERY_TOKEN_PASSWORD = 590, + PG_QUERY_TOKEN_PATH = 591, + PG_QUERY_TOKEN_PERIOD = 592, + PG_QUERY_TOKEN_PLACING = 593, + PG_QUERY_TOKEN_PLAN = 594, + PG_QUERY_TOKEN_PLANS = 595, + PG_QUERY_TOKEN_POLICY = 596, + PG_QUERY_TOKEN_POSITION = 597, + PG_QUERY_TOKEN_PRECEDING = 598, + PG_QUERY_TOKEN_PRECISION = 599, + PG_QUERY_TOKEN_PRESERVE = 600, + PG_QUERY_TOKEN_PREPARE = 601, + PG_QUERY_TOKEN_PREPARED = 602, + PG_QUERY_TOKEN_PRIMARY = 603, + PG_QUERY_TOKEN_PRIOR = 604, + PG_QUERY_TOKEN_PRIVILEGES = 605, + PG_QUERY_TOKEN_PROCEDURAL = 606, + PG_QUERY_TOKEN_PROCEDURE = 607, + PG_QUERY_TOKEN_PROCEDURES = 608, + PG_QUERY_TOKEN_PROGRAM = 609, + PG_QUERY_TOKEN_PUBLICATION = 610, + PG_QUERY_TOKEN_QUOTE = 611, + PG_QUERY_TOKEN_QUOTES = 612, + PG_QUERY_TOKEN_RANGE = 613, + PG_QUERY_TOKEN_READ = 614, + PG_QUERY_TOKEN_REAL = 615, + PG_QUERY_TOKEN_REASSIGN = 616, + PG_QUERY_TOKEN_RECURSIVE = 617, + PG_QUERY_TOKEN_REF_P = 618, + PG_QUERY_TOKEN_REFERENCES = 619, + PG_QUERY_TOKEN_REFERENCING = 620, + PG_QUERY_TOKEN_REFRESH = 621, + PG_QUERY_TOKEN_REINDEX = 622, + PG_QUERY_TOKEN_RELATIVE_P = 623, + PG_QUERY_TOKEN_RELEASE = 624, + PG_QUERY_TOKEN_RENAME = 625, + PG_QUERY_TOKEN_REPEATABLE = 626, + PG_QUERY_TOKEN_REPLACE = 627, + PG_QUERY_TOKEN_REPLICA = 628, + PG_QUERY_TOKEN_RESET = 629, + PG_QUERY_TOKEN_RESTART = 630, + PG_QUERY_TOKEN_RESTRICT = 631, + PG_QUERY_TOKEN_RETURN = 632, + PG_QUERY_TOKEN_RETURNING = 633, + PG_QUERY_TOKEN_RETURNS = 634, + PG_QUERY_TOKEN_REVOKE = 635, + PG_QUERY_TOKEN_RIGHT = 636, + PG_QUERY_TOKEN_ROLE = 637, + PG_QUERY_TOKEN_ROLLBACK = 638, + PG_QUERY_TOKEN_ROLLUP = 639, + PG_QUERY_TOKEN_ROUTINE = 640, + PG_QUERY_TOKEN_ROUTINES = 641, + PG_QUERY_TOKEN_ROW = 642, + PG_QUERY_TOKEN_ROWS = 643, + PG_QUERY_TOKEN_RULE = 644, + PG_QUERY_TOKEN_SAVEPOINT = 645, + PG_QUERY_TOKEN_SCALAR = 646, + PG_QUERY_TOKEN_SCHEMA = 647, + PG_QUERY_TOKEN_SCHEMAS = 648, + PG_QUERY_TOKEN_SCROLL = 649, + PG_QUERY_TOKEN_SEARCH = 650, + PG_QUERY_TOKEN_SECOND_P = 651, + PG_QUERY_TOKEN_SECURITY = 652, + PG_QUERY_TOKEN_SELECT = 653, + PG_QUERY_TOKEN_SEQUENCE = 654, + PG_QUERY_TOKEN_SEQUENCES = 655, + PG_QUERY_TOKEN_SERIALIZABLE = 656, + PG_QUERY_TOKEN_SERVER = 657, + PG_QUERY_TOKEN_SESSION = 658, + PG_QUERY_TOKEN_SESSION_USER = 659, + PG_QUERY_TOKEN_SET = 660, + PG_QUERY_TOKEN_SETS = 661, + PG_QUERY_TOKEN_SETOF = 662, + PG_QUERY_TOKEN_SHARE = 663, + PG_QUERY_TOKEN_SHOW = 664, + PG_QUERY_TOKEN_SIMILAR = 665, + PG_QUERY_TOKEN_SIMPLE = 666, + PG_QUERY_TOKEN_SKIP = 667, + PG_QUERY_TOKEN_SMALLINT = 668, + PG_QUERY_TOKEN_SNAPSHOT = 669, + PG_QUERY_TOKEN_SOME = 670, + PG_QUERY_TOKEN_SOURCE = 671, + PG_QUERY_TOKEN_SQL_P = 672, + PG_QUERY_TOKEN_STABLE = 673, + PG_QUERY_TOKEN_STANDALONE_P = 674, + PG_QUERY_TOKEN_START = 675, + PG_QUERY_TOKEN_STATEMENT = 676, + PG_QUERY_TOKEN_STATISTICS = 677, + PG_QUERY_TOKEN_STDIN = 678, + PG_QUERY_TOKEN_STDOUT = 679, + PG_QUERY_TOKEN_STORAGE = 680, + PG_QUERY_TOKEN_STORED = 681, + PG_QUERY_TOKEN_STRICT_P = 682, + PG_QUERY_TOKEN_STRING_P = 683, + PG_QUERY_TOKEN_STRIP_P = 684, + PG_QUERY_TOKEN_SUBSCRIPTION = 685, + PG_QUERY_TOKEN_SUBSTRING = 686, + PG_QUERY_TOKEN_SUPPORT = 687, + PG_QUERY_TOKEN_SYMMETRIC = 688, + PG_QUERY_TOKEN_SYSID = 689, + PG_QUERY_TOKEN_SYSTEM_P = 690, + PG_QUERY_TOKEN_SYSTEM_USER = 691, + PG_QUERY_TOKEN_TABLE = 692, + PG_QUERY_TOKEN_TABLES = 693, + PG_QUERY_TOKEN_TABLESAMPLE = 694, + PG_QUERY_TOKEN_TABLESPACE = 695, + PG_QUERY_TOKEN_TARGET = 696, + PG_QUERY_TOKEN_TEMP = 697, + PG_QUERY_TOKEN_TEMPLATE = 698, + PG_QUERY_TOKEN_TEMPORARY = 699, + PG_QUERY_TOKEN_TEXT_P = 700, + PG_QUERY_TOKEN_THEN = 701, + PG_QUERY_TOKEN_TIES = 702, + PG_QUERY_TOKEN_TIME = 703, + PG_QUERY_TOKEN_TIMESTAMP = 704, + PG_QUERY_TOKEN_TO = 705, + PG_QUERY_TOKEN_TRAILING = 706, + PG_QUERY_TOKEN_TRANSACTION = 707, + PG_QUERY_TOKEN_TRANSFORM = 708, + PG_QUERY_TOKEN_TREAT = 709, + PG_QUERY_TOKEN_TRIGGER = 710, + PG_QUERY_TOKEN_TRIM = 711, + PG_QUERY_TOKEN_TRUE_P = 712, + PG_QUERY_TOKEN_TRUNCATE = 713, + PG_QUERY_TOKEN_TRUSTED = 714, + PG_QUERY_TOKEN_TYPE_P = 715, + PG_QUERY_TOKEN_TYPES_P = 716, + PG_QUERY_TOKEN_UESCAPE = 717, + PG_QUERY_TOKEN_UNBOUNDED = 718, + PG_QUERY_TOKEN_UNCONDITIONAL = 719, + PG_QUERY_TOKEN_UNCOMMITTED = 720, + PG_QUERY_TOKEN_UNENCRYPTED = 721, + PG_QUERY_TOKEN_UNION = 722, + PG_QUERY_TOKEN_UNIQUE = 723, + PG_QUERY_TOKEN_UNKNOWN = 724, + PG_QUERY_TOKEN_UNLISTEN = 725, + PG_QUERY_TOKEN_UNLOGGED = 726, + PG_QUERY_TOKEN_UNTIL = 727, + PG_QUERY_TOKEN_UPDATE = 728, + PG_QUERY_TOKEN_USER = 729, + PG_QUERY_TOKEN_USING = 730, + PG_QUERY_TOKEN_VACUUM = 731, + PG_QUERY_TOKEN_VALID = 732, + PG_QUERY_TOKEN_VALIDATE = 733, + PG_QUERY_TOKEN_VALIDATOR = 734, + PG_QUERY_TOKEN_VALUE_P = 735, + PG_QUERY_TOKEN_VALUES = 736, + PG_QUERY_TOKEN_VARCHAR = 737, + PG_QUERY_TOKEN_VARIADIC = 738, + PG_QUERY_TOKEN_VARYING = 739, + PG_QUERY_TOKEN_VERBOSE = 740, + PG_QUERY_TOKEN_VERSION_P = 741, + PG_QUERY_TOKEN_VIEW = 742, + PG_QUERY_TOKEN_VIEWS = 743, + PG_QUERY_TOKEN_VIRTUAL = 744, + PG_QUERY_TOKEN_VOLATILE = 745, + PG_QUERY_TOKEN_WHEN = 746, + PG_QUERY_TOKEN_WHERE = 747, + PG_QUERY_TOKEN_WHITESPACE_P = 748, + PG_QUERY_TOKEN_WINDOW = 749, + PG_QUERY_TOKEN_WITH = 750, + PG_QUERY_TOKEN_WITHIN = 751, + PG_QUERY_TOKEN_WITHOUT = 752, + PG_QUERY_TOKEN_WORK = 753, + PG_QUERY_TOKEN_WRAPPER = 754, + PG_QUERY_TOKEN_WRITE = 755, + PG_QUERY_TOKEN_XML_P = 756, + PG_QUERY_TOKEN_XMLATTRIBUTES = 757, + PG_QUERY_TOKEN_XMLCONCAT = 758, + PG_QUERY_TOKEN_XMLELEMENT = 759, + PG_QUERY_TOKEN_XMLEXISTS = 760, + PG_QUERY_TOKEN_XMLFOREST = 761, + PG_QUERY_TOKEN_XMLNAMESPACES = 762, + PG_QUERY_TOKEN_XMLPARSE = 763, + PG_QUERY_TOKEN_XMLPI = 764, + PG_QUERY_TOKEN_XMLROOT = 765, + PG_QUERY_TOKEN_XMLSERIALIZE = 766, + PG_QUERY_TOKEN_XMLTABLE = 767, + PG_QUERY_TOKEN_YEAR_P = 768, + PG_QUERY_TOKEN_YES_P = 769, + PG_QUERY_TOKEN_ZONE = 770, + PG_QUERY_TOKEN_FORMAT_LA = 771, + PG_QUERY_TOKEN_NOT_LA = 772, + PG_QUERY_TOKEN_NULLS_LA = 773, + PG_QUERY_TOKEN_WITH_LA = 774, + PG_QUERY_TOKEN_WITHOUT_LA = 775, + PG_QUERY_TOKEN_MODE_TYPE_NAME = 776, + PG_QUERY_TOKEN_MODE_PLPGSQL_EXPR = 777, + PG_QUERY_TOKEN_MODE_PLPGSQL_ASSIGN1 = 778, + PG_QUERY_TOKEN_MODE_PLPGSQL_ASSIGN2 = 779, + PG_QUERY_TOKEN_MODE_PLPGSQL_ASSIGN3 = 780, + PG_QUERY_TOKEN_UMINUS = 781, +} PgQueryToken; + +// Keyword category of a token, as used by pg_query_scan_tokens (identical to +// the KeywordKind enum in protobuf/pg_query.proto). This is the Postgres +// keyword category shifted by one, so that non-keywords are zero. +typedef enum { + PG_QUERY_NO_KEYWORD = 0, + PG_QUERY_UNRESERVED_KEYWORD = 1, + PG_QUERY_COL_NAME_KEYWORD = 2, + PG_QUERY_TYPE_FUNC_NAME_KEYWORD = 3, + PG_QUERY_RESERVED_KEYWORD = 4, +} PgQueryKeywordKind; + +#endif diff --git a/protobuf/pg_query.pb-c.c b/protobuf/pg_query.pb-c.c deleted file mode 100644 index bfd1f2638..000000000 --- a/protobuf/pg_query.pb-c.c +++ /dev/null @@ -1,45829 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: protobuf/pg_query.proto */ - -/* Do not generate deprecated warnings for self */ -#ifndef PROTOBUF_C__NO_DEPRECATED -#define PROTOBUF_C__NO_DEPRECATED -#endif - -#include "protobuf/pg_query.pb-c.h" -void pg_query__parse_result__init - (PgQuery__ParseResult *message) -{ - static const PgQuery__ParseResult init_value = PG_QUERY__PARSE_RESULT__INIT; - *message = init_value; -} -size_t pg_query__parse_result__get_packed_size - (const PgQuery__ParseResult *message) -{ - assert(message->base.descriptor == &pg_query__parse_result__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__parse_result__pack - (const PgQuery__ParseResult *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__parse_result__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__parse_result__pack_to_buffer - (const PgQuery__ParseResult *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__parse_result__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ParseResult * - pg_query__parse_result__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ParseResult *) - protobuf_c_message_unpack (&pg_query__parse_result__descriptor, - allocator, len, data); -} -void pg_query__parse_result__free_unpacked - (PgQuery__ParseResult *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__parse_result__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__scan_result__init - (PgQuery__ScanResult *message) -{ - static const PgQuery__ScanResult init_value = PG_QUERY__SCAN_RESULT__INIT; - *message = init_value; -} -size_t pg_query__scan_result__get_packed_size - (const PgQuery__ScanResult *message) -{ - assert(message->base.descriptor == &pg_query__scan_result__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__scan_result__pack - (const PgQuery__ScanResult *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__scan_result__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__scan_result__pack_to_buffer - (const PgQuery__ScanResult *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__scan_result__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ScanResult * - pg_query__scan_result__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ScanResult *) - protobuf_c_message_unpack (&pg_query__scan_result__descriptor, - allocator, len, data); -} -void pg_query__scan_result__free_unpacked - (PgQuery__ScanResult *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__scan_result__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__node__init - (PgQuery__Node *message) -{ - static const PgQuery__Node init_value = PG_QUERY__NODE__INIT; - *message = init_value; -} -size_t pg_query__node__get_packed_size - (const PgQuery__Node *message) -{ - assert(message->base.descriptor == &pg_query__node__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__node__pack - (const PgQuery__Node *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__node__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__node__pack_to_buffer - (const PgQuery__Node *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__node__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__Node * - pg_query__node__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__Node *) - protobuf_c_message_unpack (&pg_query__node__descriptor, - allocator, len, data); -} -void pg_query__node__free_unpacked - (PgQuery__Node *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__node__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__integer__init - (PgQuery__Integer *message) -{ - static const PgQuery__Integer init_value = PG_QUERY__INTEGER__INIT; - *message = init_value; -} -size_t pg_query__integer__get_packed_size - (const PgQuery__Integer *message) -{ - assert(message->base.descriptor == &pg_query__integer__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__integer__pack - (const PgQuery__Integer *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__integer__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__integer__pack_to_buffer - (const PgQuery__Integer *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__integer__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__Integer * - pg_query__integer__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__Integer *) - protobuf_c_message_unpack (&pg_query__integer__descriptor, - allocator, len, data); -} -void pg_query__integer__free_unpacked - (PgQuery__Integer *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__integer__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__float__init - (PgQuery__Float *message) -{ - static const PgQuery__Float init_value = PG_QUERY__FLOAT__INIT; - *message = init_value; -} -size_t pg_query__float__get_packed_size - (const PgQuery__Float *message) -{ - assert(message->base.descriptor == &pg_query__float__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__float__pack - (const PgQuery__Float *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__float__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__float__pack_to_buffer - (const PgQuery__Float *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__float__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__Float * - pg_query__float__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__Float *) - protobuf_c_message_unpack (&pg_query__float__descriptor, - allocator, len, data); -} -void pg_query__float__free_unpacked - (PgQuery__Float *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__float__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__boolean__init - (PgQuery__Boolean *message) -{ - static const PgQuery__Boolean init_value = PG_QUERY__BOOLEAN__INIT; - *message = init_value; -} -size_t pg_query__boolean__get_packed_size - (const PgQuery__Boolean *message) -{ - assert(message->base.descriptor == &pg_query__boolean__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__boolean__pack - (const PgQuery__Boolean *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__boolean__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__boolean__pack_to_buffer - (const PgQuery__Boolean *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__boolean__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__Boolean * - pg_query__boolean__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__Boolean *) - protobuf_c_message_unpack (&pg_query__boolean__descriptor, - allocator, len, data); -} -void pg_query__boolean__free_unpacked - (PgQuery__Boolean *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__boolean__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__string__init - (PgQuery__String *message) -{ - static const PgQuery__String init_value = PG_QUERY__STRING__INIT; - *message = init_value; -} -size_t pg_query__string__get_packed_size - (const PgQuery__String *message) -{ - assert(message->base.descriptor == &pg_query__string__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__string__pack - (const PgQuery__String *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__string__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__string__pack_to_buffer - (const PgQuery__String *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__string__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__String * - pg_query__string__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__String *) - protobuf_c_message_unpack (&pg_query__string__descriptor, - allocator, len, data); -} -void pg_query__string__free_unpacked - (PgQuery__String *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__string__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__bit_string__init - (PgQuery__BitString *message) -{ - static const PgQuery__BitString init_value = PG_QUERY__BIT_STRING__INIT; - *message = init_value; -} -size_t pg_query__bit_string__get_packed_size - (const PgQuery__BitString *message) -{ - assert(message->base.descriptor == &pg_query__bit_string__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__bit_string__pack - (const PgQuery__BitString *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__bit_string__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__bit_string__pack_to_buffer - (const PgQuery__BitString *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__bit_string__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__BitString * - pg_query__bit_string__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__BitString *) - protobuf_c_message_unpack (&pg_query__bit_string__descriptor, - allocator, len, data); -} -void pg_query__bit_string__free_unpacked - (PgQuery__BitString *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__bit_string__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__list__init - (PgQuery__List *message) -{ - static const PgQuery__List init_value = PG_QUERY__LIST__INIT; - *message = init_value; -} -size_t pg_query__list__get_packed_size - (const PgQuery__List *message) -{ - assert(message->base.descriptor == &pg_query__list__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__list__pack - (const PgQuery__List *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__list__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__list__pack_to_buffer - (const PgQuery__List *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__list__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__List * - pg_query__list__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__List *) - protobuf_c_message_unpack (&pg_query__list__descriptor, - allocator, len, data); -} -void pg_query__list__free_unpacked - (PgQuery__List *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__list__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__oid_list__init - (PgQuery__OidList *message) -{ - static const PgQuery__OidList init_value = PG_QUERY__OID_LIST__INIT; - *message = init_value; -} -size_t pg_query__oid_list__get_packed_size - (const PgQuery__OidList *message) -{ - assert(message->base.descriptor == &pg_query__oid_list__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__oid_list__pack - (const PgQuery__OidList *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__oid_list__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__oid_list__pack_to_buffer - (const PgQuery__OidList *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__oid_list__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__OidList * - pg_query__oid_list__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__OidList *) - protobuf_c_message_unpack (&pg_query__oid_list__descriptor, - allocator, len, data); -} -void pg_query__oid_list__free_unpacked - (PgQuery__OidList *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__oid_list__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__int_list__init - (PgQuery__IntList *message) -{ - static const PgQuery__IntList init_value = PG_QUERY__INT_LIST__INIT; - *message = init_value; -} -size_t pg_query__int_list__get_packed_size - (const PgQuery__IntList *message) -{ - assert(message->base.descriptor == &pg_query__int_list__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__int_list__pack - (const PgQuery__IntList *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__int_list__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__int_list__pack_to_buffer - (const PgQuery__IntList *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__int_list__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__IntList * - pg_query__int_list__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__IntList *) - protobuf_c_message_unpack (&pg_query__int_list__descriptor, - allocator, len, data); -} -void pg_query__int_list__free_unpacked - (PgQuery__IntList *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__int_list__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__a__const__init - (PgQuery__AConst *message) -{ - static const PgQuery__AConst init_value = PG_QUERY__A__CONST__INIT; - *message = init_value; -} -size_t pg_query__a__const__get_packed_size - (const PgQuery__AConst *message) -{ - assert(message->base.descriptor == &pg_query__a__const__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__a__const__pack - (const PgQuery__AConst *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__a__const__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__a__const__pack_to_buffer - (const PgQuery__AConst *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__a__const__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AConst * - pg_query__a__const__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AConst *) - protobuf_c_message_unpack (&pg_query__a__const__descriptor, - allocator, len, data); -} -void pg_query__a__const__free_unpacked - (PgQuery__AConst *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__a__const__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alias__init - (PgQuery__Alias *message) -{ - static const PgQuery__Alias init_value = PG_QUERY__ALIAS__INIT; - *message = init_value; -} -size_t pg_query__alias__get_packed_size - (const PgQuery__Alias *message) -{ - assert(message->base.descriptor == &pg_query__alias__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alias__pack - (const PgQuery__Alias *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alias__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alias__pack_to_buffer - (const PgQuery__Alias *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alias__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__Alias * - pg_query__alias__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__Alias *) - protobuf_c_message_unpack (&pg_query__alias__descriptor, - allocator, len, data); -} -void pg_query__alias__free_unpacked - (PgQuery__Alias *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alias__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__range_var__init - (PgQuery__RangeVar *message) -{ - static const PgQuery__RangeVar init_value = PG_QUERY__RANGE_VAR__INIT; - *message = init_value; -} -size_t pg_query__range_var__get_packed_size - (const PgQuery__RangeVar *message) -{ - assert(message->base.descriptor == &pg_query__range_var__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__range_var__pack - (const PgQuery__RangeVar *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__range_var__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__range_var__pack_to_buffer - (const PgQuery__RangeVar *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__range_var__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RangeVar * - pg_query__range_var__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RangeVar *) - protobuf_c_message_unpack (&pg_query__range_var__descriptor, - allocator, len, data); -} -void pg_query__range_var__free_unpacked - (PgQuery__RangeVar *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__range_var__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__table_func__init - (PgQuery__TableFunc *message) -{ - static const PgQuery__TableFunc init_value = PG_QUERY__TABLE_FUNC__INIT; - *message = init_value; -} -size_t pg_query__table_func__get_packed_size - (const PgQuery__TableFunc *message) -{ - assert(message->base.descriptor == &pg_query__table_func__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__table_func__pack - (const PgQuery__TableFunc *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__table_func__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__table_func__pack_to_buffer - (const PgQuery__TableFunc *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__table_func__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__TableFunc * - pg_query__table_func__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__TableFunc *) - protobuf_c_message_unpack (&pg_query__table_func__descriptor, - allocator, len, data); -} -void pg_query__table_func__free_unpacked - (PgQuery__TableFunc *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__table_func__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__into_clause__init - (PgQuery__IntoClause *message) -{ - static const PgQuery__IntoClause init_value = PG_QUERY__INTO_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__into_clause__get_packed_size - (const PgQuery__IntoClause *message) -{ - assert(message->base.descriptor == &pg_query__into_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__into_clause__pack - (const PgQuery__IntoClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__into_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__into_clause__pack_to_buffer - (const PgQuery__IntoClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__into_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__IntoClause * - pg_query__into_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__IntoClause *) - protobuf_c_message_unpack (&pg_query__into_clause__descriptor, - allocator, len, data); -} -void pg_query__into_clause__free_unpacked - (PgQuery__IntoClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__into_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__var__init - (PgQuery__Var *message) -{ - static const PgQuery__Var init_value = PG_QUERY__VAR__INIT; - *message = init_value; -} -size_t pg_query__var__get_packed_size - (const PgQuery__Var *message) -{ - assert(message->base.descriptor == &pg_query__var__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__var__pack - (const PgQuery__Var *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__var__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__var__pack_to_buffer - (const PgQuery__Var *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__var__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__Var * - pg_query__var__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__Var *) - protobuf_c_message_unpack (&pg_query__var__descriptor, - allocator, len, data); -} -void pg_query__var__free_unpacked - (PgQuery__Var *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__var__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__param__init - (PgQuery__Param *message) -{ - static const PgQuery__Param init_value = PG_QUERY__PARAM__INIT; - *message = init_value; -} -size_t pg_query__param__get_packed_size - (const PgQuery__Param *message) -{ - assert(message->base.descriptor == &pg_query__param__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__param__pack - (const PgQuery__Param *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__param__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__param__pack_to_buffer - (const PgQuery__Param *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__param__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__Param * - pg_query__param__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__Param *) - protobuf_c_message_unpack (&pg_query__param__descriptor, - allocator, len, data); -} -void pg_query__param__free_unpacked - (PgQuery__Param *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__param__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__aggref__init - (PgQuery__Aggref *message) -{ - static const PgQuery__Aggref init_value = PG_QUERY__AGGREF__INIT; - *message = init_value; -} -size_t pg_query__aggref__get_packed_size - (const PgQuery__Aggref *message) -{ - assert(message->base.descriptor == &pg_query__aggref__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__aggref__pack - (const PgQuery__Aggref *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__aggref__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__aggref__pack_to_buffer - (const PgQuery__Aggref *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__aggref__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__Aggref * - pg_query__aggref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__Aggref *) - protobuf_c_message_unpack (&pg_query__aggref__descriptor, - allocator, len, data); -} -void pg_query__aggref__free_unpacked - (PgQuery__Aggref *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__aggref__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__grouping_func__init - (PgQuery__GroupingFunc *message) -{ - static const PgQuery__GroupingFunc init_value = PG_QUERY__GROUPING_FUNC__INIT; - *message = init_value; -} -size_t pg_query__grouping_func__get_packed_size - (const PgQuery__GroupingFunc *message) -{ - assert(message->base.descriptor == &pg_query__grouping_func__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__grouping_func__pack - (const PgQuery__GroupingFunc *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__grouping_func__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__grouping_func__pack_to_buffer - (const PgQuery__GroupingFunc *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__grouping_func__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__GroupingFunc * - pg_query__grouping_func__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__GroupingFunc *) - protobuf_c_message_unpack (&pg_query__grouping_func__descriptor, - allocator, len, data); -} -void pg_query__grouping_func__free_unpacked - (PgQuery__GroupingFunc *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__grouping_func__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__window_func__init - (PgQuery__WindowFunc *message) -{ - static const PgQuery__WindowFunc init_value = PG_QUERY__WINDOW_FUNC__INIT; - *message = init_value; -} -size_t pg_query__window_func__get_packed_size - (const PgQuery__WindowFunc *message) -{ - assert(message->base.descriptor == &pg_query__window_func__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__window_func__pack - (const PgQuery__WindowFunc *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__window_func__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__window_func__pack_to_buffer - (const PgQuery__WindowFunc *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__window_func__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__WindowFunc * - pg_query__window_func__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__WindowFunc *) - protobuf_c_message_unpack (&pg_query__window_func__descriptor, - allocator, len, data); -} -void pg_query__window_func__free_unpacked - (PgQuery__WindowFunc *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__window_func__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__window_func_run_condition__init - (PgQuery__WindowFuncRunCondition *message) -{ - static const PgQuery__WindowFuncRunCondition init_value = PG_QUERY__WINDOW_FUNC_RUN_CONDITION__INIT; - *message = init_value; -} -size_t pg_query__window_func_run_condition__get_packed_size - (const PgQuery__WindowFuncRunCondition *message) -{ - assert(message->base.descriptor == &pg_query__window_func_run_condition__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__window_func_run_condition__pack - (const PgQuery__WindowFuncRunCondition *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__window_func_run_condition__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__window_func_run_condition__pack_to_buffer - (const PgQuery__WindowFuncRunCondition *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__window_func_run_condition__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__WindowFuncRunCondition * - pg_query__window_func_run_condition__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__WindowFuncRunCondition *) - protobuf_c_message_unpack (&pg_query__window_func_run_condition__descriptor, - allocator, len, data); -} -void pg_query__window_func_run_condition__free_unpacked - (PgQuery__WindowFuncRunCondition *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__window_func_run_condition__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__merge_support_func__init - (PgQuery__MergeSupportFunc *message) -{ - static const PgQuery__MergeSupportFunc init_value = PG_QUERY__MERGE_SUPPORT_FUNC__INIT; - *message = init_value; -} -size_t pg_query__merge_support_func__get_packed_size - (const PgQuery__MergeSupportFunc *message) -{ - assert(message->base.descriptor == &pg_query__merge_support_func__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__merge_support_func__pack - (const PgQuery__MergeSupportFunc *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__merge_support_func__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__merge_support_func__pack_to_buffer - (const PgQuery__MergeSupportFunc *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__merge_support_func__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__MergeSupportFunc * - pg_query__merge_support_func__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__MergeSupportFunc *) - protobuf_c_message_unpack (&pg_query__merge_support_func__descriptor, - allocator, len, data); -} -void pg_query__merge_support_func__free_unpacked - (PgQuery__MergeSupportFunc *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__merge_support_func__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__subscripting_ref__init - (PgQuery__SubscriptingRef *message) -{ - static const PgQuery__SubscriptingRef init_value = PG_QUERY__SUBSCRIPTING_REF__INIT; - *message = init_value; -} -size_t pg_query__subscripting_ref__get_packed_size - (const PgQuery__SubscriptingRef *message) -{ - assert(message->base.descriptor == &pg_query__subscripting_ref__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__subscripting_ref__pack - (const PgQuery__SubscriptingRef *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__subscripting_ref__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__subscripting_ref__pack_to_buffer - (const PgQuery__SubscriptingRef *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__subscripting_ref__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SubscriptingRef * - pg_query__subscripting_ref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SubscriptingRef *) - protobuf_c_message_unpack (&pg_query__subscripting_ref__descriptor, - allocator, len, data); -} -void pg_query__subscripting_ref__free_unpacked - (PgQuery__SubscriptingRef *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__subscripting_ref__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__func_expr__init - (PgQuery__FuncExpr *message) -{ - static const PgQuery__FuncExpr init_value = PG_QUERY__FUNC_EXPR__INIT; - *message = init_value; -} -size_t pg_query__func_expr__get_packed_size - (const PgQuery__FuncExpr *message) -{ - assert(message->base.descriptor == &pg_query__func_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__func_expr__pack - (const PgQuery__FuncExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__func_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__func_expr__pack_to_buffer - (const PgQuery__FuncExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__func_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__FuncExpr * - pg_query__func_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__FuncExpr *) - protobuf_c_message_unpack (&pg_query__func_expr__descriptor, - allocator, len, data); -} -void pg_query__func_expr__free_unpacked - (PgQuery__FuncExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__func_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__named_arg_expr__init - (PgQuery__NamedArgExpr *message) -{ - static const PgQuery__NamedArgExpr init_value = PG_QUERY__NAMED_ARG_EXPR__INIT; - *message = init_value; -} -size_t pg_query__named_arg_expr__get_packed_size - (const PgQuery__NamedArgExpr *message) -{ - assert(message->base.descriptor == &pg_query__named_arg_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__named_arg_expr__pack - (const PgQuery__NamedArgExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__named_arg_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__named_arg_expr__pack_to_buffer - (const PgQuery__NamedArgExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__named_arg_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__NamedArgExpr * - pg_query__named_arg_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__NamedArgExpr *) - protobuf_c_message_unpack (&pg_query__named_arg_expr__descriptor, - allocator, len, data); -} -void pg_query__named_arg_expr__free_unpacked - (PgQuery__NamedArgExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__named_arg_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__op_expr__init - (PgQuery__OpExpr *message) -{ - static const PgQuery__OpExpr init_value = PG_QUERY__OP_EXPR__INIT; - *message = init_value; -} -size_t pg_query__op_expr__get_packed_size - (const PgQuery__OpExpr *message) -{ - assert(message->base.descriptor == &pg_query__op_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__op_expr__pack - (const PgQuery__OpExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__op_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__op_expr__pack_to_buffer - (const PgQuery__OpExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__op_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__OpExpr * - pg_query__op_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__OpExpr *) - protobuf_c_message_unpack (&pg_query__op_expr__descriptor, - allocator, len, data); -} -void pg_query__op_expr__free_unpacked - (PgQuery__OpExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__op_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__distinct_expr__init - (PgQuery__DistinctExpr *message) -{ - static const PgQuery__DistinctExpr init_value = PG_QUERY__DISTINCT_EXPR__INIT; - *message = init_value; -} -size_t pg_query__distinct_expr__get_packed_size - (const PgQuery__DistinctExpr *message) -{ - assert(message->base.descriptor == &pg_query__distinct_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__distinct_expr__pack - (const PgQuery__DistinctExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__distinct_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__distinct_expr__pack_to_buffer - (const PgQuery__DistinctExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__distinct_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DistinctExpr * - pg_query__distinct_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DistinctExpr *) - protobuf_c_message_unpack (&pg_query__distinct_expr__descriptor, - allocator, len, data); -} -void pg_query__distinct_expr__free_unpacked - (PgQuery__DistinctExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__distinct_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__null_if_expr__init - (PgQuery__NullIfExpr *message) -{ - static const PgQuery__NullIfExpr init_value = PG_QUERY__NULL_IF_EXPR__INIT; - *message = init_value; -} -size_t pg_query__null_if_expr__get_packed_size - (const PgQuery__NullIfExpr *message) -{ - assert(message->base.descriptor == &pg_query__null_if_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__null_if_expr__pack - (const PgQuery__NullIfExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__null_if_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__null_if_expr__pack_to_buffer - (const PgQuery__NullIfExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__null_if_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__NullIfExpr * - pg_query__null_if_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__NullIfExpr *) - protobuf_c_message_unpack (&pg_query__null_if_expr__descriptor, - allocator, len, data); -} -void pg_query__null_if_expr__free_unpacked - (PgQuery__NullIfExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__null_if_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__scalar_array_op_expr__init - (PgQuery__ScalarArrayOpExpr *message) -{ - static const PgQuery__ScalarArrayOpExpr init_value = PG_QUERY__SCALAR_ARRAY_OP_EXPR__INIT; - *message = init_value; -} -size_t pg_query__scalar_array_op_expr__get_packed_size - (const PgQuery__ScalarArrayOpExpr *message) -{ - assert(message->base.descriptor == &pg_query__scalar_array_op_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__scalar_array_op_expr__pack - (const PgQuery__ScalarArrayOpExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__scalar_array_op_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__scalar_array_op_expr__pack_to_buffer - (const PgQuery__ScalarArrayOpExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__scalar_array_op_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ScalarArrayOpExpr * - pg_query__scalar_array_op_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ScalarArrayOpExpr *) - protobuf_c_message_unpack (&pg_query__scalar_array_op_expr__descriptor, - allocator, len, data); -} -void pg_query__scalar_array_op_expr__free_unpacked - (PgQuery__ScalarArrayOpExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__scalar_array_op_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__bool_expr__init - (PgQuery__BoolExpr *message) -{ - static const PgQuery__BoolExpr init_value = PG_QUERY__BOOL_EXPR__INIT; - *message = init_value; -} -size_t pg_query__bool_expr__get_packed_size - (const PgQuery__BoolExpr *message) -{ - assert(message->base.descriptor == &pg_query__bool_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__bool_expr__pack - (const PgQuery__BoolExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__bool_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__bool_expr__pack_to_buffer - (const PgQuery__BoolExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__bool_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__BoolExpr * - pg_query__bool_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__BoolExpr *) - protobuf_c_message_unpack (&pg_query__bool_expr__descriptor, - allocator, len, data); -} -void pg_query__bool_expr__free_unpacked - (PgQuery__BoolExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__bool_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__sub_link__init - (PgQuery__SubLink *message) -{ - static const PgQuery__SubLink init_value = PG_QUERY__SUB_LINK__INIT; - *message = init_value; -} -size_t pg_query__sub_link__get_packed_size - (const PgQuery__SubLink *message) -{ - assert(message->base.descriptor == &pg_query__sub_link__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__sub_link__pack - (const PgQuery__SubLink *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__sub_link__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__sub_link__pack_to_buffer - (const PgQuery__SubLink *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__sub_link__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SubLink * - pg_query__sub_link__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SubLink *) - protobuf_c_message_unpack (&pg_query__sub_link__descriptor, - allocator, len, data); -} -void pg_query__sub_link__free_unpacked - (PgQuery__SubLink *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__sub_link__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__sub_plan__init - (PgQuery__SubPlan *message) -{ - static const PgQuery__SubPlan init_value = PG_QUERY__SUB_PLAN__INIT; - *message = init_value; -} -size_t pg_query__sub_plan__get_packed_size - (const PgQuery__SubPlan *message) -{ - assert(message->base.descriptor == &pg_query__sub_plan__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__sub_plan__pack - (const PgQuery__SubPlan *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__sub_plan__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__sub_plan__pack_to_buffer - (const PgQuery__SubPlan *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__sub_plan__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SubPlan * - pg_query__sub_plan__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SubPlan *) - protobuf_c_message_unpack (&pg_query__sub_plan__descriptor, - allocator, len, data); -} -void pg_query__sub_plan__free_unpacked - (PgQuery__SubPlan *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__sub_plan__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alternative_sub_plan__init - (PgQuery__AlternativeSubPlan *message) -{ - static const PgQuery__AlternativeSubPlan init_value = PG_QUERY__ALTERNATIVE_SUB_PLAN__INIT; - *message = init_value; -} -size_t pg_query__alternative_sub_plan__get_packed_size - (const PgQuery__AlternativeSubPlan *message) -{ - assert(message->base.descriptor == &pg_query__alternative_sub_plan__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alternative_sub_plan__pack - (const PgQuery__AlternativeSubPlan *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alternative_sub_plan__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alternative_sub_plan__pack_to_buffer - (const PgQuery__AlternativeSubPlan *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alternative_sub_plan__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlternativeSubPlan * - pg_query__alternative_sub_plan__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlternativeSubPlan *) - protobuf_c_message_unpack (&pg_query__alternative_sub_plan__descriptor, - allocator, len, data); -} -void pg_query__alternative_sub_plan__free_unpacked - (PgQuery__AlternativeSubPlan *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alternative_sub_plan__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__field_select__init - (PgQuery__FieldSelect *message) -{ - static const PgQuery__FieldSelect init_value = PG_QUERY__FIELD_SELECT__INIT; - *message = init_value; -} -size_t pg_query__field_select__get_packed_size - (const PgQuery__FieldSelect *message) -{ - assert(message->base.descriptor == &pg_query__field_select__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__field_select__pack - (const PgQuery__FieldSelect *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__field_select__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__field_select__pack_to_buffer - (const PgQuery__FieldSelect *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__field_select__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__FieldSelect * - pg_query__field_select__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__FieldSelect *) - protobuf_c_message_unpack (&pg_query__field_select__descriptor, - allocator, len, data); -} -void pg_query__field_select__free_unpacked - (PgQuery__FieldSelect *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__field_select__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__field_store__init - (PgQuery__FieldStore *message) -{ - static const PgQuery__FieldStore init_value = PG_QUERY__FIELD_STORE__INIT; - *message = init_value; -} -size_t pg_query__field_store__get_packed_size - (const PgQuery__FieldStore *message) -{ - assert(message->base.descriptor == &pg_query__field_store__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__field_store__pack - (const PgQuery__FieldStore *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__field_store__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__field_store__pack_to_buffer - (const PgQuery__FieldStore *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__field_store__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__FieldStore * - pg_query__field_store__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__FieldStore *) - protobuf_c_message_unpack (&pg_query__field_store__descriptor, - allocator, len, data); -} -void pg_query__field_store__free_unpacked - (PgQuery__FieldStore *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__field_store__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__relabel_type__init - (PgQuery__RelabelType *message) -{ - static const PgQuery__RelabelType init_value = PG_QUERY__RELABEL_TYPE__INIT; - *message = init_value; -} -size_t pg_query__relabel_type__get_packed_size - (const PgQuery__RelabelType *message) -{ - assert(message->base.descriptor == &pg_query__relabel_type__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__relabel_type__pack - (const PgQuery__RelabelType *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__relabel_type__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__relabel_type__pack_to_buffer - (const PgQuery__RelabelType *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__relabel_type__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RelabelType * - pg_query__relabel_type__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RelabelType *) - protobuf_c_message_unpack (&pg_query__relabel_type__descriptor, - allocator, len, data); -} -void pg_query__relabel_type__free_unpacked - (PgQuery__RelabelType *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__relabel_type__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__coerce_via_io__init - (PgQuery__CoerceViaIO *message) -{ - static const PgQuery__CoerceViaIO init_value = PG_QUERY__COERCE_VIA_IO__INIT; - *message = init_value; -} -size_t pg_query__coerce_via_io__get_packed_size - (const PgQuery__CoerceViaIO *message) -{ - assert(message->base.descriptor == &pg_query__coerce_via_io__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__coerce_via_io__pack - (const PgQuery__CoerceViaIO *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__coerce_via_io__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__coerce_via_io__pack_to_buffer - (const PgQuery__CoerceViaIO *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__coerce_via_io__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CoerceViaIO * - pg_query__coerce_via_io__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CoerceViaIO *) - protobuf_c_message_unpack (&pg_query__coerce_via_io__descriptor, - allocator, len, data); -} -void pg_query__coerce_via_io__free_unpacked - (PgQuery__CoerceViaIO *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__coerce_via_io__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__array_coerce_expr__init - (PgQuery__ArrayCoerceExpr *message) -{ - static const PgQuery__ArrayCoerceExpr init_value = PG_QUERY__ARRAY_COERCE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__array_coerce_expr__get_packed_size - (const PgQuery__ArrayCoerceExpr *message) -{ - assert(message->base.descriptor == &pg_query__array_coerce_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__array_coerce_expr__pack - (const PgQuery__ArrayCoerceExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__array_coerce_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__array_coerce_expr__pack_to_buffer - (const PgQuery__ArrayCoerceExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__array_coerce_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ArrayCoerceExpr * - pg_query__array_coerce_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ArrayCoerceExpr *) - protobuf_c_message_unpack (&pg_query__array_coerce_expr__descriptor, - allocator, len, data); -} -void pg_query__array_coerce_expr__free_unpacked - (PgQuery__ArrayCoerceExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__array_coerce_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__convert_rowtype_expr__init - (PgQuery__ConvertRowtypeExpr *message) -{ - static const PgQuery__ConvertRowtypeExpr init_value = PG_QUERY__CONVERT_ROWTYPE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__convert_rowtype_expr__get_packed_size - (const PgQuery__ConvertRowtypeExpr *message) -{ - assert(message->base.descriptor == &pg_query__convert_rowtype_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__convert_rowtype_expr__pack - (const PgQuery__ConvertRowtypeExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__convert_rowtype_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__convert_rowtype_expr__pack_to_buffer - (const PgQuery__ConvertRowtypeExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__convert_rowtype_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ConvertRowtypeExpr * - pg_query__convert_rowtype_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ConvertRowtypeExpr *) - protobuf_c_message_unpack (&pg_query__convert_rowtype_expr__descriptor, - allocator, len, data); -} -void pg_query__convert_rowtype_expr__free_unpacked - (PgQuery__ConvertRowtypeExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__convert_rowtype_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__collate_expr__init - (PgQuery__CollateExpr *message) -{ - static const PgQuery__CollateExpr init_value = PG_QUERY__COLLATE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__collate_expr__get_packed_size - (const PgQuery__CollateExpr *message) -{ - assert(message->base.descriptor == &pg_query__collate_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__collate_expr__pack - (const PgQuery__CollateExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__collate_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__collate_expr__pack_to_buffer - (const PgQuery__CollateExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__collate_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CollateExpr * - pg_query__collate_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CollateExpr *) - protobuf_c_message_unpack (&pg_query__collate_expr__descriptor, - allocator, len, data); -} -void pg_query__collate_expr__free_unpacked - (PgQuery__CollateExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__collate_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__case_expr__init - (PgQuery__CaseExpr *message) -{ - static const PgQuery__CaseExpr init_value = PG_QUERY__CASE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__case_expr__get_packed_size - (const PgQuery__CaseExpr *message) -{ - assert(message->base.descriptor == &pg_query__case_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__case_expr__pack - (const PgQuery__CaseExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__case_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__case_expr__pack_to_buffer - (const PgQuery__CaseExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__case_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CaseExpr * - pg_query__case_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CaseExpr *) - protobuf_c_message_unpack (&pg_query__case_expr__descriptor, - allocator, len, data); -} -void pg_query__case_expr__free_unpacked - (PgQuery__CaseExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__case_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__case_when__init - (PgQuery__CaseWhen *message) -{ - static const PgQuery__CaseWhen init_value = PG_QUERY__CASE_WHEN__INIT; - *message = init_value; -} -size_t pg_query__case_when__get_packed_size - (const PgQuery__CaseWhen *message) -{ - assert(message->base.descriptor == &pg_query__case_when__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__case_when__pack - (const PgQuery__CaseWhen *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__case_when__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__case_when__pack_to_buffer - (const PgQuery__CaseWhen *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__case_when__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CaseWhen * - pg_query__case_when__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CaseWhen *) - protobuf_c_message_unpack (&pg_query__case_when__descriptor, - allocator, len, data); -} -void pg_query__case_when__free_unpacked - (PgQuery__CaseWhen *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__case_when__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__case_test_expr__init - (PgQuery__CaseTestExpr *message) -{ - static const PgQuery__CaseTestExpr init_value = PG_QUERY__CASE_TEST_EXPR__INIT; - *message = init_value; -} -size_t pg_query__case_test_expr__get_packed_size - (const PgQuery__CaseTestExpr *message) -{ - assert(message->base.descriptor == &pg_query__case_test_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__case_test_expr__pack - (const PgQuery__CaseTestExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__case_test_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__case_test_expr__pack_to_buffer - (const PgQuery__CaseTestExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__case_test_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CaseTestExpr * - pg_query__case_test_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CaseTestExpr *) - protobuf_c_message_unpack (&pg_query__case_test_expr__descriptor, - allocator, len, data); -} -void pg_query__case_test_expr__free_unpacked - (PgQuery__CaseTestExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__case_test_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__array_expr__init - (PgQuery__ArrayExpr *message) -{ - static const PgQuery__ArrayExpr init_value = PG_QUERY__ARRAY_EXPR__INIT; - *message = init_value; -} -size_t pg_query__array_expr__get_packed_size - (const PgQuery__ArrayExpr *message) -{ - assert(message->base.descriptor == &pg_query__array_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__array_expr__pack - (const PgQuery__ArrayExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__array_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__array_expr__pack_to_buffer - (const PgQuery__ArrayExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__array_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ArrayExpr * - pg_query__array_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ArrayExpr *) - protobuf_c_message_unpack (&pg_query__array_expr__descriptor, - allocator, len, data); -} -void pg_query__array_expr__free_unpacked - (PgQuery__ArrayExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__array_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__row_expr__init - (PgQuery__RowExpr *message) -{ - static const PgQuery__RowExpr init_value = PG_QUERY__ROW_EXPR__INIT; - *message = init_value; -} -size_t pg_query__row_expr__get_packed_size - (const PgQuery__RowExpr *message) -{ - assert(message->base.descriptor == &pg_query__row_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__row_expr__pack - (const PgQuery__RowExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__row_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__row_expr__pack_to_buffer - (const PgQuery__RowExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__row_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RowExpr * - pg_query__row_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RowExpr *) - protobuf_c_message_unpack (&pg_query__row_expr__descriptor, - allocator, len, data); -} -void pg_query__row_expr__free_unpacked - (PgQuery__RowExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__row_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__row_compare_expr__init - (PgQuery__RowCompareExpr *message) -{ - static const PgQuery__RowCompareExpr init_value = PG_QUERY__ROW_COMPARE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__row_compare_expr__get_packed_size - (const PgQuery__RowCompareExpr *message) -{ - assert(message->base.descriptor == &pg_query__row_compare_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__row_compare_expr__pack - (const PgQuery__RowCompareExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__row_compare_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__row_compare_expr__pack_to_buffer - (const PgQuery__RowCompareExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__row_compare_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RowCompareExpr * - pg_query__row_compare_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RowCompareExpr *) - protobuf_c_message_unpack (&pg_query__row_compare_expr__descriptor, - allocator, len, data); -} -void pg_query__row_compare_expr__free_unpacked - (PgQuery__RowCompareExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__row_compare_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__coalesce_expr__init - (PgQuery__CoalesceExpr *message) -{ - static const PgQuery__CoalesceExpr init_value = PG_QUERY__COALESCE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__coalesce_expr__get_packed_size - (const PgQuery__CoalesceExpr *message) -{ - assert(message->base.descriptor == &pg_query__coalesce_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__coalesce_expr__pack - (const PgQuery__CoalesceExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__coalesce_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__coalesce_expr__pack_to_buffer - (const PgQuery__CoalesceExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__coalesce_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CoalesceExpr * - pg_query__coalesce_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CoalesceExpr *) - protobuf_c_message_unpack (&pg_query__coalesce_expr__descriptor, - allocator, len, data); -} -void pg_query__coalesce_expr__free_unpacked - (PgQuery__CoalesceExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__coalesce_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__min_max_expr__init - (PgQuery__MinMaxExpr *message) -{ - static const PgQuery__MinMaxExpr init_value = PG_QUERY__MIN_MAX_EXPR__INIT; - *message = init_value; -} -size_t pg_query__min_max_expr__get_packed_size - (const PgQuery__MinMaxExpr *message) -{ - assert(message->base.descriptor == &pg_query__min_max_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__min_max_expr__pack - (const PgQuery__MinMaxExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__min_max_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__min_max_expr__pack_to_buffer - (const PgQuery__MinMaxExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__min_max_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__MinMaxExpr * - pg_query__min_max_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__MinMaxExpr *) - protobuf_c_message_unpack (&pg_query__min_max_expr__descriptor, - allocator, len, data); -} -void pg_query__min_max_expr__free_unpacked - (PgQuery__MinMaxExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__min_max_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__sqlvalue_function__init - (PgQuery__SQLValueFunction *message) -{ - static const PgQuery__SQLValueFunction init_value = PG_QUERY__SQLVALUE_FUNCTION__INIT; - *message = init_value; -} -size_t pg_query__sqlvalue_function__get_packed_size - (const PgQuery__SQLValueFunction *message) -{ - assert(message->base.descriptor == &pg_query__sqlvalue_function__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__sqlvalue_function__pack - (const PgQuery__SQLValueFunction *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__sqlvalue_function__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__sqlvalue_function__pack_to_buffer - (const PgQuery__SQLValueFunction *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__sqlvalue_function__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SQLValueFunction * - pg_query__sqlvalue_function__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SQLValueFunction *) - protobuf_c_message_unpack (&pg_query__sqlvalue_function__descriptor, - allocator, len, data); -} -void pg_query__sqlvalue_function__free_unpacked - (PgQuery__SQLValueFunction *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__sqlvalue_function__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__xml_expr__init - (PgQuery__XmlExpr *message) -{ - static const PgQuery__XmlExpr init_value = PG_QUERY__XML_EXPR__INIT; - *message = init_value; -} -size_t pg_query__xml_expr__get_packed_size - (const PgQuery__XmlExpr *message) -{ - assert(message->base.descriptor == &pg_query__xml_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__xml_expr__pack - (const PgQuery__XmlExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__xml_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__xml_expr__pack_to_buffer - (const PgQuery__XmlExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__xml_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__XmlExpr * - pg_query__xml_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__XmlExpr *) - protobuf_c_message_unpack (&pg_query__xml_expr__descriptor, - allocator, len, data); -} -void pg_query__xml_expr__free_unpacked - (PgQuery__XmlExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__xml_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_format__init - (PgQuery__JsonFormat *message) -{ - static const PgQuery__JsonFormat init_value = PG_QUERY__JSON_FORMAT__INIT; - *message = init_value; -} -size_t pg_query__json_format__get_packed_size - (const PgQuery__JsonFormat *message) -{ - assert(message->base.descriptor == &pg_query__json_format__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_format__pack - (const PgQuery__JsonFormat *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_format__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_format__pack_to_buffer - (const PgQuery__JsonFormat *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_format__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonFormat * - pg_query__json_format__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonFormat *) - protobuf_c_message_unpack (&pg_query__json_format__descriptor, - allocator, len, data); -} -void pg_query__json_format__free_unpacked - (PgQuery__JsonFormat *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_format__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_returning__init - (PgQuery__JsonReturning *message) -{ - static const PgQuery__JsonReturning init_value = PG_QUERY__JSON_RETURNING__INIT; - *message = init_value; -} -size_t pg_query__json_returning__get_packed_size - (const PgQuery__JsonReturning *message) -{ - assert(message->base.descriptor == &pg_query__json_returning__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_returning__pack - (const PgQuery__JsonReturning *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_returning__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_returning__pack_to_buffer - (const PgQuery__JsonReturning *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_returning__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonReturning * - pg_query__json_returning__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonReturning *) - protobuf_c_message_unpack (&pg_query__json_returning__descriptor, - allocator, len, data); -} -void pg_query__json_returning__free_unpacked - (PgQuery__JsonReturning *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_returning__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_value_expr__init - (PgQuery__JsonValueExpr *message) -{ - static const PgQuery__JsonValueExpr init_value = PG_QUERY__JSON_VALUE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__json_value_expr__get_packed_size - (const PgQuery__JsonValueExpr *message) -{ - assert(message->base.descriptor == &pg_query__json_value_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_value_expr__pack - (const PgQuery__JsonValueExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_value_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_value_expr__pack_to_buffer - (const PgQuery__JsonValueExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_value_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonValueExpr * - pg_query__json_value_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonValueExpr *) - protobuf_c_message_unpack (&pg_query__json_value_expr__descriptor, - allocator, len, data); -} -void pg_query__json_value_expr__free_unpacked - (PgQuery__JsonValueExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_value_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_constructor_expr__init - (PgQuery__JsonConstructorExpr *message) -{ - static const PgQuery__JsonConstructorExpr init_value = PG_QUERY__JSON_CONSTRUCTOR_EXPR__INIT; - *message = init_value; -} -size_t pg_query__json_constructor_expr__get_packed_size - (const PgQuery__JsonConstructorExpr *message) -{ - assert(message->base.descriptor == &pg_query__json_constructor_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_constructor_expr__pack - (const PgQuery__JsonConstructorExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_constructor_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_constructor_expr__pack_to_buffer - (const PgQuery__JsonConstructorExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_constructor_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonConstructorExpr * - pg_query__json_constructor_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonConstructorExpr *) - protobuf_c_message_unpack (&pg_query__json_constructor_expr__descriptor, - allocator, len, data); -} -void pg_query__json_constructor_expr__free_unpacked - (PgQuery__JsonConstructorExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_constructor_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_is_predicate__init - (PgQuery__JsonIsPredicate *message) -{ - static const PgQuery__JsonIsPredicate init_value = PG_QUERY__JSON_IS_PREDICATE__INIT; - *message = init_value; -} -size_t pg_query__json_is_predicate__get_packed_size - (const PgQuery__JsonIsPredicate *message) -{ - assert(message->base.descriptor == &pg_query__json_is_predicate__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_is_predicate__pack - (const PgQuery__JsonIsPredicate *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_is_predicate__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_is_predicate__pack_to_buffer - (const PgQuery__JsonIsPredicate *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_is_predicate__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonIsPredicate * - pg_query__json_is_predicate__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonIsPredicate *) - protobuf_c_message_unpack (&pg_query__json_is_predicate__descriptor, - allocator, len, data); -} -void pg_query__json_is_predicate__free_unpacked - (PgQuery__JsonIsPredicate *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_is_predicate__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_behavior__init - (PgQuery__JsonBehavior *message) -{ - static const PgQuery__JsonBehavior init_value = PG_QUERY__JSON_BEHAVIOR__INIT; - *message = init_value; -} -size_t pg_query__json_behavior__get_packed_size - (const PgQuery__JsonBehavior *message) -{ - assert(message->base.descriptor == &pg_query__json_behavior__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_behavior__pack - (const PgQuery__JsonBehavior *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_behavior__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_behavior__pack_to_buffer - (const PgQuery__JsonBehavior *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_behavior__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonBehavior * - pg_query__json_behavior__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonBehavior *) - protobuf_c_message_unpack (&pg_query__json_behavior__descriptor, - allocator, len, data); -} -void pg_query__json_behavior__free_unpacked - (PgQuery__JsonBehavior *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_behavior__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_expr__init - (PgQuery__JsonExpr *message) -{ - static const PgQuery__JsonExpr init_value = PG_QUERY__JSON_EXPR__INIT; - *message = init_value; -} -size_t pg_query__json_expr__get_packed_size - (const PgQuery__JsonExpr *message) -{ - assert(message->base.descriptor == &pg_query__json_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_expr__pack - (const PgQuery__JsonExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_expr__pack_to_buffer - (const PgQuery__JsonExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonExpr * - pg_query__json_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonExpr *) - protobuf_c_message_unpack (&pg_query__json_expr__descriptor, - allocator, len, data); -} -void pg_query__json_expr__free_unpacked - (PgQuery__JsonExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_table_path__init - (PgQuery__JsonTablePath *message) -{ - static const PgQuery__JsonTablePath init_value = PG_QUERY__JSON_TABLE_PATH__INIT; - *message = init_value; -} -size_t pg_query__json_table_path__get_packed_size - (const PgQuery__JsonTablePath *message) -{ - assert(message->base.descriptor == &pg_query__json_table_path__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_table_path__pack - (const PgQuery__JsonTablePath *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_table_path__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_table_path__pack_to_buffer - (const PgQuery__JsonTablePath *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_table_path__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonTablePath * - pg_query__json_table_path__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonTablePath *) - protobuf_c_message_unpack (&pg_query__json_table_path__descriptor, - allocator, len, data); -} -void pg_query__json_table_path__free_unpacked - (PgQuery__JsonTablePath *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_table_path__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_table_path_scan__init - (PgQuery__JsonTablePathScan *message) -{ - static const PgQuery__JsonTablePathScan init_value = PG_QUERY__JSON_TABLE_PATH_SCAN__INIT; - *message = init_value; -} -size_t pg_query__json_table_path_scan__get_packed_size - (const PgQuery__JsonTablePathScan *message) -{ - assert(message->base.descriptor == &pg_query__json_table_path_scan__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_table_path_scan__pack - (const PgQuery__JsonTablePathScan *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_table_path_scan__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_table_path_scan__pack_to_buffer - (const PgQuery__JsonTablePathScan *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_table_path_scan__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonTablePathScan * - pg_query__json_table_path_scan__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonTablePathScan *) - protobuf_c_message_unpack (&pg_query__json_table_path_scan__descriptor, - allocator, len, data); -} -void pg_query__json_table_path_scan__free_unpacked - (PgQuery__JsonTablePathScan *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_table_path_scan__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_table_sibling_join__init - (PgQuery__JsonTableSiblingJoin *message) -{ - static const PgQuery__JsonTableSiblingJoin init_value = PG_QUERY__JSON_TABLE_SIBLING_JOIN__INIT; - *message = init_value; -} -size_t pg_query__json_table_sibling_join__get_packed_size - (const PgQuery__JsonTableSiblingJoin *message) -{ - assert(message->base.descriptor == &pg_query__json_table_sibling_join__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_table_sibling_join__pack - (const PgQuery__JsonTableSiblingJoin *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_table_sibling_join__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_table_sibling_join__pack_to_buffer - (const PgQuery__JsonTableSiblingJoin *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_table_sibling_join__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonTableSiblingJoin * - pg_query__json_table_sibling_join__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonTableSiblingJoin *) - protobuf_c_message_unpack (&pg_query__json_table_sibling_join__descriptor, - allocator, len, data); -} -void pg_query__json_table_sibling_join__free_unpacked - (PgQuery__JsonTableSiblingJoin *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_table_sibling_join__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__null_test__init - (PgQuery__NullTest *message) -{ - static const PgQuery__NullTest init_value = PG_QUERY__NULL_TEST__INIT; - *message = init_value; -} -size_t pg_query__null_test__get_packed_size - (const PgQuery__NullTest *message) -{ - assert(message->base.descriptor == &pg_query__null_test__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__null_test__pack - (const PgQuery__NullTest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__null_test__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__null_test__pack_to_buffer - (const PgQuery__NullTest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__null_test__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__NullTest * - pg_query__null_test__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__NullTest *) - protobuf_c_message_unpack (&pg_query__null_test__descriptor, - allocator, len, data); -} -void pg_query__null_test__free_unpacked - (PgQuery__NullTest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__null_test__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__boolean_test__init - (PgQuery__BooleanTest *message) -{ - static const PgQuery__BooleanTest init_value = PG_QUERY__BOOLEAN_TEST__INIT; - *message = init_value; -} -size_t pg_query__boolean_test__get_packed_size - (const PgQuery__BooleanTest *message) -{ - assert(message->base.descriptor == &pg_query__boolean_test__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__boolean_test__pack - (const PgQuery__BooleanTest *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__boolean_test__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__boolean_test__pack_to_buffer - (const PgQuery__BooleanTest *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__boolean_test__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__BooleanTest * - pg_query__boolean_test__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__BooleanTest *) - protobuf_c_message_unpack (&pg_query__boolean_test__descriptor, - allocator, len, data); -} -void pg_query__boolean_test__free_unpacked - (PgQuery__BooleanTest *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__boolean_test__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__merge_action__init - (PgQuery__MergeAction *message) -{ - static const PgQuery__MergeAction init_value = PG_QUERY__MERGE_ACTION__INIT; - *message = init_value; -} -size_t pg_query__merge_action__get_packed_size - (const PgQuery__MergeAction *message) -{ - assert(message->base.descriptor == &pg_query__merge_action__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__merge_action__pack - (const PgQuery__MergeAction *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__merge_action__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__merge_action__pack_to_buffer - (const PgQuery__MergeAction *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__merge_action__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__MergeAction * - pg_query__merge_action__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__MergeAction *) - protobuf_c_message_unpack (&pg_query__merge_action__descriptor, - allocator, len, data); -} -void pg_query__merge_action__free_unpacked - (PgQuery__MergeAction *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__merge_action__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__coerce_to_domain__init - (PgQuery__CoerceToDomain *message) -{ - static const PgQuery__CoerceToDomain init_value = PG_QUERY__COERCE_TO_DOMAIN__INIT; - *message = init_value; -} -size_t pg_query__coerce_to_domain__get_packed_size - (const PgQuery__CoerceToDomain *message) -{ - assert(message->base.descriptor == &pg_query__coerce_to_domain__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__coerce_to_domain__pack - (const PgQuery__CoerceToDomain *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__coerce_to_domain__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__coerce_to_domain__pack_to_buffer - (const PgQuery__CoerceToDomain *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__coerce_to_domain__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CoerceToDomain * - pg_query__coerce_to_domain__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CoerceToDomain *) - protobuf_c_message_unpack (&pg_query__coerce_to_domain__descriptor, - allocator, len, data); -} -void pg_query__coerce_to_domain__free_unpacked - (PgQuery__CoerceToDomain *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__coerce_to_domain__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__coerce_to_domain_value__init - (PgQuery__CoerceToDomainValue *message) -{ - static const PgQuery__CoerceToDomainValue init_value = PG_QUERY__COERCE_TO_DOMAIN_VALUE__INIT; - *message = init_value; -} -size_t pg_query__coerce_to_domain_value__get_packed_size - (const PgQuery__CoerceToDomainValue *message) -{ - assert(message->base.descriptor == &pg_query__coerce_to_domain_value__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__coerce_to_domain_value__pack - (const PgQuery__CoerceToDomainValue *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__coerce_to_domain_value__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__coerce_to_domain_value__pack_to_buffer - (const PgQuery__CoerceToDomainValue *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__coerce_to_domain_value__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CoerceToDomainValue * - pg_query__coerce_to_domain_value__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CoerceToDomainValue *) - protobuf_c_message_unpack (&pg_query__coerce_to_domain_value__descriptor, - allocator, len, data); -} -void pg_query__coerce_to_domain_value__free_unpacked - (PgQuery__CoerceToDomainValue *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__coerce_to_domain_value__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__set_to_default__init - (PgQuery__SetToDefault *message) -{ - static const PgQuery__SetToDefault init_value = PG_QUERY__SET_TO_DEFAULT__INIT; - *message = init_value; -} -size_t pg_query__set_to_default__get_packed_size - (const PgQuery__SetToDefault *message) -{ - assert(message->base.descriptor == &pg_query__set_to_default__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__set_to_default__pack - (const PgQuery__SetToDefault *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__set_to_default__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__set_to_default__pack_to_buffer - (const PgQuery__SetToDefault *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__set_to_default__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SetToDefault * - pg_query__set_to_default__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SetToDefault *) - protobuf_c_message_unpack (&pg_query__set_to_default__descriptor, - allocator, len, data); -} -void pg_query__set_to_default__free_unpacked - (PgQuery__SetToDefault *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__set_to_default__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__current_of_expr__init - (PgQuery__CurrentOfExpr *message) -{ - static const PgQuery__CurrentOfExpr init_value = PG_QUERY__CURRENT_OF_EXPR__INIT; - *message = init_value; -} -size_t pg_query__current_of_expr__get_packed_size - (const PgQuery__CurrentOfExpr *message) -{ - assert(message->base.descriptor == &pg_query__current_of_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__current_of_expr__pack - (const PgQuery__CurrentOfExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__current_of_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__current_of_expr__pack_to_buffer - (const PgQuery__CurrentOfExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__current_of_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CurrentOfExpr * - pg_query__current_of_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CurrentOfExpr *) - protobuf_c_message_unpack (&pg_query__current_of_expr__descriptor, - allocator, len, data); -} -void pg_query__current_of_expr__free_unpacked - (PgQuery__CurrentOfExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__current_of_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__next_value_expr__init - (PgQuery__NextValueExpr *message) -{ - static const PgQuery__NextValueExpr init_value = PG_QUERY__NEXT_VALUE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__next_value_expr__get_packed_size - (const PgQuery__NextValueExpr *message) -{ - assert(message->base.descriptor == &pg_query__next_value_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__next_value_expr__pack - (const PgQuery__NextValueExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__next_value_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__next_value_expr__pack_to_buffer - (const PgQuery__NextValueExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__next_value_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__NextValueExpr * - pg_query__next_value_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__NextValueExpr *) - protobuf_c_message_unpack (&pg_query__next_value_expr__descriptor, - allocator, len, data); -} -void pg_query__next_value_expr__free_unpacked - (PgQuery__NextValueExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__next_value_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__inference_elem__init - (PgQuery__InferenceElem *message) -{ - static const PgQuery__InferenceElem init_value = PG_QUERY__INFERENCE_ELEM__INIT; - *message = init_value; -} -size_t pg_query__inference_elem__get_packed_size - (const PgQuery__InferenceElem *message) -{ - assert(message->base.descriptor == &pg_query__inference_elem__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__inference_elem__pack - (const PgQuery__InferenceElem *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__inference_elem__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__inference_elem__pack_to_buffer - (const PgQuery__InferenceElem *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__inference_elem__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__InferenceElem * - pg_query__inference_elem__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__InferenceElem *) - protobuf_c_message_unpack (&pg_query__inference_elem__descriptor, - allocator, len, data); -} -void pg_query__inference_elem__free_unpacked - (PgQuery__InferenceElem *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__inference_elem__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__returning_expr__init - (PgQuery__ReturningExpr *message) -{ - static const PgQuery__ReturningExpr init_value = PG_QUERY__RETURNING_EXPR__INIT; - *message = init_value; -} -size_t pg_query__returning_expr__get_packed_size - (const PgQuery__ReturningExpr *message) -{ - assert(message->base.descriptor == &pg_query__returning_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__returning_expr__pack - (const PgQuery__ReturningExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__returning_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__returning_expr__pack_to_buffer - (const PgQuery__ReturningExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__returning_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ReturningExpr * - pg_query__returning_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ReturningExpr *) - protobuf_c_message_unpack (&pg_query__returning_expr__descriptor, - allocator, len, data); -} -void pg_query__returning_expr__free_unpacked - (PgQuery__ReturningExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__returning_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__target_entry__init - (PgQuery__TargetEntry *message) -{ - static const PgQuery__TargetEntry init_value = PG_QUERY__TARGET_ENTRY__INIT; - *message = init_value; -} -size_t pg_query__target_entry__get_packed_size - (const PgQuery__TargetEntry *message) -{ - assert(message->base.descriptor == &pg_query__target_entry__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__target_entry__pack - (const PgQuery__TargetEntry *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__target_entry__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__target_entry__pack_to_buffer - (const PgQuery__TargetEntry *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__target_entry__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__TargetEntry * - pg_query__target_entry__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__TargetEntry *) - protobuf_c_message_unpack (&pg_query__target_entry__descriptor, - allocator, len, data); -} -void pg_query__target_entry__free_unpacked - (PgQuery__TargetEntry *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__target_entry__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__range_tbl_ref__init - (PgQuery__RangeTblRef *message) -{ - static const PgQuery__RangeTblRef init_value = PG_QUERY__RANGE_TBL_REF__INIT; - *message = init_value; -} -size_t pg_query__range_tbl_ref__get_packed_size - (const PgQuery__RangeTblRef *message) -{ - assert(message->base.descriptor == &pg_query__range_tbl_ref__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__range_tbl_ref__pack - (const PgQuery__RangeTblRef *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__range_tbl_ref__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__range_tbl_ref__pack_to_buffer - (const PgQuery__RangeTblRef *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__range_tbl_ref__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RangeTblRef * - pg_query__range_tbl_ref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RangeTblRef *) - protobuf_c_message_unpack (&pg_query__range_tbl_ref__descriptor, - allocator, len, data); -} -void pg_query__range_tbl_ref__free_unpacked - (PgQuery__RangeTblRef *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__range_tbl_ref__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__join_expr__init - (PgQuery__JoinExpr *message) -{ - static const PgQuery__JoinExpr init_value = PG_QUERY__JOIN_EXPR__INIT; - *message = init_value; -} -size_t pg_query__join_expr__get_packed_size - (const PgQuery__JoinExpr *message) -{ - assert(message->base.descriptor == &pg_query__join_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__join_expr__pack - (const PgQuery__JoinExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__join_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__join_expr__pack_to_buffer - (const PgQuery__JoinExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__join_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JoinExpr * - pg_query__join_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JoinExpr *) - protobuf_c_message_unpack (&pg_query__join_expr__descriptor, - allocator, len, data); -} -void pg_query__join_expr__free_unpacked - (PgQuery__JoinExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__join_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__from_expr__init - (PgQuery__FromExpr *message) -{ - static const PgQuery__FromExpr init_value = PG_QUERY__FROM_EXPR__INIT; - *message = init_value; -} -size_t pg_query__from_expr__get_packed_size - (const PgQuery__FromExpr *message) -{ - assert(message->base.descriptor == &pg_query__from_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__from_expr__pack - (const PgQuery__FromExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__from_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__from_expr__pack_to_buffer - (const PgQuery__FromExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__from_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__FromExpr * - pg_query__from_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__FromExpr *) - protobuf_c_message_unpack (&pg_query__from_expr__descriptor, - allocator, len, data); -} -void pg_query__from_expr__free_unpacked - (PgQuery__FromExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__from_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__on_conflict_expr__init - (PgQuery__OnConflictExpr *message) -{ - static const PgQuery__OnConflictExpr init_value = PG_QUERY__ON_CONFLICT_EXPR__INIT; - *message = init_value; -} -size_t pg_query__on_conflict_expr__get_packed_size - (const PgQuery__OnConflictExpr *message) -{ - assert(message->base.descriptor == &pg_query__on_conflict_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__on_conflict_expr__pack - (const PgQuery__OnConflictExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__on_conflict_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__on_conflict_expr__pack_to_buffer - (const PgQuery__OnConflictExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__on_conflict_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__OnConflictExpr * - pg_query__on_conflict_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__OnConflictExpr *) - protobuf_c_message_unpack (&pg_query__on_conflict_expr__descriptor, - allocator, len, data); -} -void pg_query__on_conflict_expr__free_unpacked - (PgQuery__OnConflictExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__on_conflict_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__query__init - (PgQuery__Query *message) -{ - static const PgQuery__Query init_value = PG_QUERY__QUERY__INIT; - *message = init_value; -} -size_t pg_query__query__get_packed_size - (const PgQuery__Query *message) -{ - assert(message->base.descriptor == &pg_query__query__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__query__pack - (const PgQuery__Query *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__query__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__query__pack_to_buffer - (const PgQuery__Query *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__query__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__Query * - pg_query__query__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__Query *) - protobuf_c_message_unpack (&pg_query__query__descriptor, - allocator, len, data); -} -void pg_query__query__free_unpacked - (PgQuery__Query *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__query__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__type_name__init - (PgQuery__TypeName *message) -{ - static const PgQuery__TypeName init_value = PG_QUERY__TYPE_NAME__INIT; - *message = init_value; -} -size_t pg_query__type_name__get_packed_size - (const PgQuery__TypeName *message) -{ - assert(message->base.descriptor == &pg_query__type_name__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__type_name__pack - (const PgQuery__TypeName *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__type_name__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__type_name__pack_to_buffer - (const PgQuery__TypeName *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__type_name__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__TypeName * - pg_query__type_name__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__TypeName *) - protobuf_c_message_unpack (&pg_query__type_name__descriptor, - allocator, len, data); -} -void pg_query__type_name__free_unpacked - (PgQuery__TypeName *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__type_name__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__column_ref__init - (PgQuery__ColumnRef *message) -{ - static const PgQuery__ColumnRef init_value = PG_QUERY__COLUMN_REF__INIT; - *message = init_value; -} -size_t pg_query__column_ref__get_packed_size - (const PgQuery__ColumnRef *message) -{ - assert(message->base.descriptor == &pg_query__column_ref__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__column_ref__pack - (const PgQuery__ColumnRef *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__column_ref__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__column_ref__pack_to_buffer - (const PgQuery__ColumnRef *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__column_ref__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ColumnRef * - pg_query__column_ref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ColumnRef *) - protobuf_c_message_unpack (&pg_query__column_ref__descriptor, - allocator, len, data); -} -void pg_query__column_ref__free_unpacked - (PgQuery__ColumnRef *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__column_ref__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__param_ref__init - (PgQuery__ParamRef *message) -{ - static const PgQuery__ParamRef init_value = PG_QUERY__PARAM_REF__INIT; - *message = init_value; -} -size_t pg_query__param_ref__get_packed_size - (const PgQuery__ParamRef *message) -{ - assert(message->base.descriptor == &pg_query__param_ref__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__param_ref__pack - (const PgQuery__ParamRef *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__param_ref__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__param_ref__pack_to_buffer - (const PgQuery__ParamRef *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__param_ref__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ParamRef * - pg_query__param_ref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ParamRef *) - protobuf_c_message_unpack (&pg_query__param_ref__descriptor, - allocator, len, data); -} -void pg_query__param_ref__free_unpacked - (PgQuery__ParamRef *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__param_ref__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__a__expr__init - (PgQuery__AExpr *message) -{ - static const PgQuery__AExpr init_value = PG_QUERY__A__EXPR__INIT; - *message = init_value; -} -size_t pg_query__a__expr__get_packed_size - (const PgQuery__AExpr *message) -{ - assert(message->base.descriptor == &pg_query__a__expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__a__expr__pack - (const PgQuery__AExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__a__expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__a__expr__pack_to_buffer - (const PgQuery__AExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__a__expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AExpr * - pg_query__a__expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AExpr *) - protobuf_c_message_unpack (&pg_query__a__expr__descriptor, - allocator, len, data); -} -void pg_query__a__expr__free_unpacked - (PgQuery__AExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__a__expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__type_cast__init - (PgQuery__TypeCast *message) -{ - static const PgQuery__TypeCast init_value = PG_QUERY__TYPE_CAST__INIT; - *message = init_value; -} -size_t pg_query__type_cast__get_packed_size - (const PgQuery__TypeCast *message) -{ - assert(message->base.descriptor == &pg_query__type_cast__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__type_cast__pack - (const PgQuery__TypeCast *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__type_cast__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__type_cast__pack_to_buffer - (const PgQuery__TypeCast *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__type_cast__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__TypeCast * - pg_query__type_cast__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__TypeCast *) - protobuf_c_message_unpack (&pg_query__type_cast__descriptor, - allocator, len, data); -} -void pg_query__type_cast__free_unpacked - (PgQuery__TypeCast *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__type_cast__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__collate_clause__init - (PgQuery__CollateClause *message) -{ - static const PgQuery__CollateClause init_value = PG_QUERY__COLLATE_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__collate_clause__get_packed_size - (const PgQuery__CollateClause *message) -{ - assert(message->base.descriptor == &pg_query__collate_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__collate_clause__pack - (const PgQuery__CollateClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__collate_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__collate_clause__pack_to_buffer - (const PgQuery__CollateClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__collate_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CollateClause * - pg_query__collate_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CollateClause *) - protobuf_c_message_unpack (&pg_query__collate_clause__descriptor, - allocator, len, data); -} -void pg_query__collate_clause__free_unpacked - (PgQuery__CollateClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__collate_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__role_spec__init - (PgQuery__RoleSpec *message) -{ - static const PgQuery__RoleSpec init_value = PG_QUERY__ROLE_SPEC__INIT; - *message = init_value; -} -size_t pg_query__role_spec__get_packed_size - (const PgQuery__RoleSpec *message) -{ - assert(message->base.descriptor == &pg_query__role_spec__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__role_spec__pack - (const PgQuery__RoleSpec *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__role_spec__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__role_spec__pack_to_buffer - (const PgQuery__RoleSpec *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__role_spec__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RoleSpec * - pg_query__role_spec__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RoleSpec *) - protobuf_c_message_unpack (&pg_query__role_spec__descriptor, - allocator, len, data); -} -void pg_query__role_spec__free_unpacked - (PgQuery__RoleSpec *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__role_spec__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__func_call__init - (PgQuery__FuncCall *message) -{ - static const PgQuery__FuncCall init_value = PG_QUERY__FUNC_CALL__INIT; - *message = init_value; -} -size_t pg_query__func_call__get_packed_size - (const PgQuery__FuncCall *message) -{ - assert(message->base.descriptor == &pg_query__func_call__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__func_call__pack - (const PgQuery__FuncCall *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__func_call__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__func_call__pack_to_buffer - (const PgQuery__FuncCall *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__func_call__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__FuncCall * - pg_query__func_call__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__FuncCall *) - protobuf_c_message_unpack (&pg_query__func_call__descriptor, - allocator, len, data); -} -void pg_query__func_call__free_unpacked - (PgQuery__FuncCall *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__func_call__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__a__star__init - (PgQuery__AStar *message) -{ - static const PgQuery__AStar init_value = PG_QUERY__A__STAR__INIT; - *message = init_value; -} -size_t pg_query__a__star__get_packed_size - (const PgQuery__AStar *message) -{ - assert(message->base.descriptor == &pg_query__a__star__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__a__star__pack - (const PgQuery__AStar *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__a__star__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__a__star__pack_to_buffer - (const PgQuery__AStar *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__a__star__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AStar * - pg_query__a__star__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AStar *) - protobuf_c_message_unpack (&pg_query__a__star__descriptor, - allocator, len, data); -} -void pg_query__a__star__free_unpacked - (PgQuery__AStar *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__a__star__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__a__indices__init - (PgQuery__AIndices *message) -{ - static const PgQuery__AIndices init_value = PG_QUERY__A__INDICES__INIT; - *message = init_value; -} -size_t pg_query__a__indices__get_packed_size - (const PgQuery__AIndices *message) -{ - assert(message->base.descriptor == &pg_query__a__indices__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__a__indices__pack - (const PgQuery__AIndices *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__a__indices__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__a__indices__pack_to_buffer - (const PgQuery__AIndices *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__a__indices__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AIndices * - pg_query__a__indices__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AIndices *) - protobuf_c_message_unpack (&pg_query__a__indices__descriptor, - allocator, len, data); -} -void pg_query__a__indices__free_unpacked - (PgQuery__AIndices *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__a__indices__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__a__indirection__init - (PgQuery__AIndirection *message) -{ - static const PgQuery__AIndirection init_value = PG_QUERY__A__INDIRECTION__INIT; - *message = init_value; -} -size_t pg_query__a__indirection__get_packed_size - (const PgQuery__AIndirection *message) -{ - assert(message->base.descriptor == &pg_query__a__indirection__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__a__indirection__pack - (const PgQuery__AIndirection *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__a__indirection__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__a__indirection__pack_to_buffer - (const PgQuery__AIndirection *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__a__indirection__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AIndirection * - pg_query__a__indirection__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AIndirection *) - protobuf_c_message_unpack (&pg_query__a__indirection__descriptor, - allocator, len, data); -} -void pg_query__a__indirection__free_unpacked - (PgQuery__AIndirection *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__a__indirection__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__a__array_expr__init - (PgQuery__AArrayExpr *message) -{ - static const PgQuery__AArrayExpr init_value = PG_QUERY__A__ARRAY_EXPR__INIT; - *message = init_value; -} -size_t pg_query__a__array_expr__get_packed_size - (const PgQuery__AArrayExpr *message) -{ - assert(message->base.descriptor == &pg_query__a__array_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__a__array_expr__pack - (const PgQuery__AArrayExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__a__array_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__a__array_expr__pack_to_buffer - (const PgQuery__AArrayExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__a__array_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AArrayExpr * - pg_query__a__array_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AArrayExpr *) - protobuf_c_message_unpack (&pg_query__a__array_expr__descriptor, - allocator, len, data); -} -void pg_query__a__array_expr__free_unpacked - (PgQuery__AArrayExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__a__array_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__res_target__init - (PgQuery__ResTarget *message) -{ - static const PgQuery__ResTarget init_value = PG_QUERY__RES_TARGET__INIT; - *message = init_value; -} -size_t pg_query__res_target__get_packed_size - (const PgQuery__ResTarget *message) -{ - assert(message->base.descriptor == &pg_query__res_target__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__res_target__pack - (const PgQuery__ResTarget *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__res_target__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__res_target__pack_to_buffer - (const PgQuery__ResTarget *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__res_target__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ResTarget * - pg_query__res_target__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ResTarget *) - protobuf_c_message_unpack (&pg_query__res_target__descriptor, - allocator, len, data); -} -void pg_query__res_target__free_unpacked - (PgQuery__ResTarget *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__res_target__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__multi_assign_ref__init - (PgQuery__MultiAssignRef *message) -{ - static const PgQuery__MultiAssignRef init_value = PG_QUERY__MULTI_ASSIGN_REF__INIT; - *message = init_value; -} -size_t pg_query__multi_assign_ref__get_packed_size - (const PgQuery__MultiAssignRef *message) -{ - assert(message->base.descriptor == &pg_query__multi_assign_ref__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__multi_assign_ref__pack - (const PgQuery__MultiAssignRef *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__multi_assign_ref__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__multi_assign_ref__pack_to_buffer - (const PgQuery__MultiAssignRef *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__multi_assign_ref__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__MultiAssignRef * - pg_query__multi_assign_ref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__MultiAssignRef *) - protobuf_c_message_unpack (&pg_query__multi_assign_ref__descriptor, - allocator, len, data); -} -void pg_query__multi_assign_ref__free_unpacked - (PgQuery__MultiAssignRef *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__multi_assign_ref__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__sort_by__init - (PgQuery__SortBy *message) -{ - static const PgQuery__SortBy init_value = PG_QUERY__SORT_BY__INIT; - *message = init_value; -} -size_t pg_query__sort_by__get_packed_size - (const PgQuery__SortBy *message) -{ - assert(message->base.descriptor == &pg_query__sort_by__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__sort_by__pack - (const PgQuery__SortBy *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__sort_by__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__sort_by__pack_to_buffer - (const PgQuery__SortBy *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__sort_by__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SortBy * - pg_query__sort_by__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SortBy *) - protobuf_c_message_unpack (&pg_query__sort_by__descriptor, - allocator, len, data); -} -void pg_query__sort_by__free_unpacked - (PgQuery__SortBy *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__sort_by__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__window_def__init - (PgQuery__WindowDef *message) -{ - static const PgQuery__WindowDef init_value = PG_QUERY__WINDOW_DEF__INIT; - *message = init_value; -} -size_t pg_query__window_def__get_packed_size - (const PgQuery__WindowDef *message) -{ - assert(message->base.descriptor == &pg_query__window_def__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__window_def__pack - (const PgQuery__WindowDef *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__window_def__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__window_def__pack_to_buffer - (const PgQuery__WindowDef *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__window_def__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__WindowDef * - pg_query__window_def__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__WindowDef *) - protobuf_c_message_unpack (&pg_query__window_def__descriptor, - allocator, len, data); -} -void pg_query__window_def__free_unpacked - (PgQuery__WindowDef *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__window_def__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__range_subselect__init - (PgQuery__RangeSubselect *message) -{ - static const PgQuery__RangeSubselect init_value = PG_QUERY__RANGE_SUBSELECT__INIT; - *message = init_value; -} -size_t pg_query__range_subselect__get_packed_size - (const PgQuery__RangeSubselect *message) -{ - assert(message->base.descriptor == &pg_query__range_subselect__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__range_subselect__pack - (const PgQuery__RangeSubselect *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__range_subselect__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__range_subselect__pack_to_buffer - (const PgQuery__RangeSubselect *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__range_subselect__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RangeSubselect * - pg_query__range_subselect__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RangeSubselect *) - protobuf_c_message_unpack (&pg_query__range_subselect__descriptor, - allocator, len, data); -} -void pg_query__range_subselect__free_unpacked - (PgQuery__RangeSubselect *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__range_subselect__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__range_function__init - (PgQuery__RangeFunction *message) -{ - static const PgQuery__RangeFunction init_value = PG_QUERY__RANGE_FUNCTION__INIT; - *message = init_value; -} -size_t pg_query__range_function__get_packed_size - (const PgQuery__RangeFunction *message) -{ - assert(message->base.descriptor == &pg_query__range_function__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__range_function__pack - (const PgQuery__RangeFunction *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__range_function__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__range_function__pack_to_buffer - (const PgQuery__RangeFunction *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__range_function__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RangeFunction * - pg_query__range_function__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RangeFunction *) - protobuf_c_message_unpack (&pg_query__range_function__descriptor, - allocator, len, data); -} -void pg_query__range_function__free_unpacked - (PgQuery__RangeFunction *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__range_function__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__range_table_func__init - (PgQuery__RangeTableFunc *message) -{ - static const PgQuery__RangeTableFunc init_value = PG_QUERY__RANGE_TABLE_FUNC__INIT; - *message = init_value; -} -size_t pg_query__range_table_func__get_packed_size - (const PgQuery__RangeTableFunc *message) -{ - assert(message->base.descriptor == &pg_query__range_table_func__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__range_table_func__pack - (const PgQuery__RangeTableFunc *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__range_table_func__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__range_table_func__pack_to_buffer - (const PgQuery__RangeTableFunc *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__range_table_func__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RangeTableFunc * - pg_query__range_table_func__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RangeTableFunc *) - protobuf_c_message_unpack (&pg_query__range_table_func__descriptor, - allocator, len, data); -} -void pg_query__range_table_func__free_unpacked - (PgQuery__RangeTableFunc *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__range_table_func__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__range_table_func_col__init - (PgQuery__RangeTableFuncCol *message) -{ - static const PgQuery__RangeTableFuncCol init_value = PG_QUERY__RANGE_TABLE_FUNC_COL__INIT; - *message = init_value; -} -size_t pg_query__range_table_func_col__get_packed_size - (const PgQuery__RangeTableFuncCol *message) -{ - assert(message->base.descriptor == &pg_query__range_table_func_col__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__range_table_func_col__pack - (const PgQuery__RangeTableFuncCol *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__range_table_func_col__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__range_table_func_col__pack_to_buffer - (const PgQuery__RangeTableFuncCol *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__range_table_func_col__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RangeTableFuncCol * - pg_query__range_table_func_col__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RangeTableFuncCol *) - protobuf_c_message_unpack (&pg_query__range_table_func_col__descriptor, - allocator, len, data); -} -void pg_query__range_table_func_col__free_unpacked - (PgQuery__RangeTableFuncCol *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__range_table_func_col__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__range_table_sample__init - (PgQuery__RangeTableSample *message) -{ - static const PgQuery__RangeTableSample init_value = PG_QUERY__RANGE_TABLE_SAMPLE__INIT; - *message = init_value; -} -size_t pg_query__range_table_sample__get_packed_size - (const PgQuery__RangeTableSample *message) -{ - assert(message->base.descriptor == &pg_query__range_table_sample__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__range_table_sample__pack - (const PgQuery__RangeTableSample *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__range_table_sample__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__range_table_sample__pack_to_buffer - (const PgQuery__RangeTableSample *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__range_table_sample__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RangeTableSample * - pg_query__range_table_sample__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RangeTableSample *) - protobuf_c_message_unpack (&pg_query__range_table_sample__descriptor, - allocator, len, data); -} -void pg_query__range_table_sample__free_unpacked - (PgQuery__RangeTableSample *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__range_table_sample__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__column_def__init - (PgQuery__ColumnDef *message) -{ - static const PgQuery__ColumnDef init_value = PG_QUERY__COLUMN_DEF__INIT; - *message = init_value; -} -size_t pg_query__column_def__get_packed_size - (const PgQuery__ColumnDef *message) -{ - assert(message->base.descriptor == &pg_query__column_def__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__column_def__pack - (const PgQuery__ColumnDef *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__column_def__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__column_def__pack_to_buffer - (const PgQuery__ColumnDef *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__column_def__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ColumnDef * - pg_query__column_def__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ColumnDef *) - protobuf_c_message_unpack (&pg_query__column_def__descriptor, - allocator, len, data); -} -void pg_query__column_def__free_unpacked - (PgQuery__ColumnDef *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__column_def__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__table_like_clause__init - (PgQuery__TableLikeClause *message) -{ - static const PgQuery__TableLikeClause init_value = PG_QUERY__TABLE_LIKE_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__table_like_clause__get_packed_size - (const PgQuery__TableLikeClause *message) -{ - assert(message->base.descriptor == &pg_query__table_like_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__table_like_clause__pack - (const PgQuery__TableLikeClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__table_like_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__table_like_clause__pack_to_buffer - (const PgQuery__TableLikeClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__table_like_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__TableLikeClause * - pg_query__table_like_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__TableLikeClause *) - protobuf_c_message_unpack (&pg_query__table_like_clause__descriptor, - allocator, len, data); -} -void pg_query__table_like_clause__free_unpacked - (PgQuery__TableLikeClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__table_like_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__index_elem__init - (PgQuery__IndexElem *message) -{ - static const PgQuery__IndexElem init_value = PG_QUERY__INDEX_ELEM__INIT; - *message = init_value; -} -size_t pg_query__index_elem__get_packed_size - (const PgQuery__IndexElem *message) -{ - assert(message->base.descriptor == &pg_query__index_elem__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__index_elem__pack - (const PgQuery__IndexElem *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__index_elem__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__index_elem__pack_to_buffer - (const PgQuery__IndexElem *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__index_elem__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__IndexElem * - pg_query__index_elem__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__IndexElem *) - protobuf_c_message_unpack (&pg_query__index_elem__descriptor, - allocator, len, data); -} -void pg_query__index_elem__free_unpacked - (PgQuery__IndexElem *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__index_elem__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__def_elem__init - (PgQuery__DefElem *message) -{ - static const PgQuery__DefElem init_value = PG_QUERY__DEF_ELEM__INIT; - *message = init_value; -} -size_t pg_query__def_elem__get_packed_size - (const PgQuery__DefElem *message) -{ - assert(message->base.descriptor == &pg_query__def_elem__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__def_elem__pack - (const PgQuery__DefElem *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__def_elem__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__def_elem__pack_to_buffer - (const PgQuery__DefElem *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__def_elem__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DefElem * - pg_query__def_elem__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DefElem *) - protobuf_c_message_unpack (&pg_query__def_elem__descriptor, - allocator, len, data); -} -void pg_query__def_elem__free_unpacked - (PgQuery__DefElem *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__def_elem__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__locking_clause__init - (PgQuery__LockingClause *message) -{ - static const PgQuery__LockingClause init_value = PG_QUERY__LOCKING_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__locking_clause__get_packed_size - (const PgQuery__LockingClause *message) -{ - assert(message->base.descriptor == &pg_query__locking_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__locking_clause__pack - (const PgQuery__LockingClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__locking_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__locking_clause__pack_to_buffer - (const PgQuery__LockingClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__locking_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__LockingClause * - pg_query__locking_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__LockingClause *) - protobuf_c_message_unpack (&pg_query__locking_clause__descriptor, - allocator, len, data); -} -void pg_query__locking_clause__free_unpacked - (PgQuery__LockingClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__locking_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__xml_serialize__init - (PgQuery__XmlSerialize *message) -{ - static const PgQuery__XmlSerialize init_value = PG_QUERY__XML_SERIALIZE__INIT; - *message = init_value; -} -size_t pg_query__xml_serialize__get_packed_size - (const PgQuery__XmlSerialize *message) -{ - assert(message->base.descriptor == &pg_query__xml_serialize__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__xml_serialize__pack - (const PgQuery__XmlSerialize *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__xml_serialize__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__xml_serialize__pack_to_buffer - (const PgQuery__XmlSerialize *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__xml_serialize__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__XmlSerialize * - pg_query__xml_serialize__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__XmlSerialize *) - protobuf_c_message_unpack (&pg_query__xml_serialize__descriptor, - allocator, len, data); -} -void pg_query__xml_serialize__free_unpacked - (PgQuery__XmlSerialize *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__xml_serialize__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__partition_elem__init - (PgQuery__PartitionElem *message) -{ - static const PgQuery__PartitionElem init_value = PG_QUERY__PARTITION_ELEM__INIT; - *message = init_value; -} -size_t pg_query__partition_elem__get_packed_size - (const PgQuery__PartitionElem *message) -{ - assert(message->base.descriptor == &pg_query__partition_elem__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__partition_elem__pack - (const PgQuery__PartitionElem *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__partition_elem__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__partition_elem__pack_to_buffer - (const PgQuery__PartitionElem *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__partition_elem__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__PartitionElem * - pg_query__partition_elem__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__PartitionElem *) - protobuf_c_message_unpack (&pg_query__partition_elem__descriptor, - allocator, len, data); -} -void pg_query__partition_elem__free_unpacked - (PgQuery__PartitionElem *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__partition_elem__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__partition_spec__init - (PgQuery__PartitionSpec *message) -{ - static const PgQuery__PartitionSpec init_value = PG_QUERY__PARTITION_SPEC__INIT; - *message = init_value; -} -size_t pg_query__partition_spec__get_packed_size - (const PgQuery__PartitionSpec *message) -{ - assert(message->base.descriptor == &pg_query__partition_spec__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__partition_spec__pack - (const PgQuery__PartitionSpec *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__partition_spec__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__partition_spec__pack_to_buffer - (const PgQuery__PartitionSpec *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__partition_spec__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__PartitionSpec * - pg_query__partition_spec__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__PartitionSpec *) - protobuf_c_message_unpack (&pg_query__partition_spec__descriptor, - allocator, len, data); -} -void pg_query__partition_spec__free_unpacked - (PgQuery__PartitionSpec *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__partition_spec__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__partition_bound_spec__init - (PgQuery__PartitionBoundSpec *message) -{ - static const PgQuery__PartitionBoundSpec init_value = PG_QUERY__PARTITION_BOUND_SPEC__INIT; - *message = init_value; -} -size_t pg_query__partition_bound_spec__get_packed_size - (const PgQuery__PartitionBoundSpec *message) -{ - assert(message->base.descriptor == &pg_query__partition_bound_spec__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__partition_bound_spec__pack - (const PgQuery__PartitionBoundSpec *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__partition_bound_spec__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__partition_bound_spec__pack_to_buffer - (const PgQuery__PartitionBoundSpec *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__partition_bound_spec__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__PartitionBoundSpec * - pg_query__partition_bound_spec__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__PartitionBoundSpec *) - protobuf_c_message_unpack (&pg_query__partition_bound_spec__descriptor, - allocator, len, data); -} -void pg_query__partition_bound_spec__free_unpacked - (PgQuery__PartitionBoundSpec *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__partition_bound_spec__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__partition_range_datum__init - (PgQuery__PartitionRangeDatum *message) -{ - static const PgQuery__PartitionRangeDatum init_value = PG_QUERY__PARTITION_RANGE_DATUM__INIT; - *message = init_value; -} -size_t pg_query__partition_range_datum__get_packed_size - (const PgQuery__PartitionRangeDatum *message) -{ - assert(message->base.descriptor == &pg_query__partition_range_datum__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__partition_range_datum__pack - (const PgQuery__PartitionRangeDatum *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__partition_range_datum__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__partition_range_datum__pack_to_buffer - (const PgQuery__PartitionRangeDatum *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__partition_range_datum__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__PartitionRangeDatum * - pg_query__partition_range_datum__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__PartitionRangeDatum *) - protobuf_c_message_unpack (&pg_query__partition_range_datum__descriptor, - allocator, len, data); -} -void pg_query__partition_range_datum__free_unpacked - (PgQuery__PartitionRangeDatum *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__partition_range_datum__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__partition_cmd__init - (PgQuery__PartitionCmd *message) -{ - static const PgQuery__PartitionCmd init_value = PG_QUERY__PARTITION_CMD__INIT; - *message = init_value; -} -size_t pg_query__partition_cmd__get_packed_size - (const PgQuery__PartitionCmd *message) -{ - assert(message->base.descriptor == &pg_query__partition_cmd__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__partition_cmd__pack - (const PgQuery__PartitionCmd *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__partition_cmd__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__partition_cmd__pack_to_buffer - (const PgQuery__PartitionCmd *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__partition_cmd__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__PartitionCmd * - pg_query__partition_cmd__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__PartitionCmd *) - protobuf_c_message_unpack (&pg_query__partition_cmd__descriptor, - allocator, len, data); -} -void pg_query__partition_cmd__free_unpacked - (PgQuery__PartitionCmd *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__partition_cmd__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__range_tbl_entry__init - (PgQuery__RangeTblEntry *message) -{ - static const PgQuery__RangeTblEntry init_value = PG_QUERY__RANGE_TBL_ENTRY__INIT; - *message = init_value; -} -size_t pg_query__range_tbl_entry__get_packed_size - (const PgQuery__RangeTblEntry *message) -{ - assert(message->base.descriptor == &pg_query__range_tbl_entry__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__range_tbl_entry__pack - (const PgQuery__RangeTblEntry *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__range_tbl_entry__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__range_tbl_entry__pack_to_buffer - (const PgQuery__RangeTblEntry *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__range_tbl_entry__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RangeTblEntry * - pg_query__range_tbl_entry__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RangeTblEntry *) - protobuf_c_message_unpack (&pg_query__range_tbl_entry__descriptor, - allocator, len, data); -} -void pg_query__range_tbl_entry__free_unpacked - (PgQuery__RangeTblEntry *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__range_tbl_entry__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__rtepermission_info__init - (PgQuery__RTEPermissionInfo *message) -{ - static const PgQuery__RTEPermissionInfo init_value = PG_QUERY__RTEPERMISSION_INFO__INIT; - *message = init_value; -} -size_t pg_query__rtepermission_info__get_packed_size - (const PgQuery__RTEPermissionInfo *message) -{ - assert(message->base.descriptor == &pg_query__rtepermission_info__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__rtepermission_info__pack - (const PgQuery__RTEPermissionInfo *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__rtepermission_info__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__rtepermission_info__pack_to_buffer - (const PgQuery__RTEPermissionInfo *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__rtepermission_info__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RTEPermissionInfo * - pg_query__rtepermission_info__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RTEPermissionInfo *) - protobuf_c_message_unpack (&pg_query__rtepermission_info__descriptor, - allocator, len, data); -} -void pg_query__rtepermission_info__free_unpacked - (PgQuery__RTEPermissionInfo *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__rtepermission_info__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__range_tbl_function__init - (PgQuery__RangeTblFunction *message) -{ - static const PgQuery__RangeTblFunction init_value = PG_QUERY__RANGE_TBL_FUNCTION__INIT; - *message = init_value; -} -size_t pg_query__range_tbl_function__get_packed_size - (const PgQuery__RangeTblFunction *message) -{ - assert(message->base.descriptor == &pg_query__range_tbl_function__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__range_tbl_function__pack - (const PgQuery__RangeTblFunction *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__range_tbl_function__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__range_tbl_function__pack_to_buffer - (const PgQuery__RangeTblFunction *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__range_tbl_function__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RangeTblFunction * - pg_query__range_tbl_function__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RangeTblFunction *) - protobuf_c_message_unpack (&pg_query__range_tbl_function__descriptor, - allocator, len, data); -} -void pg_query__range_tbl_function__free_unpacked - (PgQuery__RangeTblFunction *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__range_tbl_function__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__table_sample_clause__init - (PgQuery__TableSampleClause *message) -{ - static const PgQuery__TableSampleClause init_value = PG_QUERY__TABLE_SAMPLE_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__table_sample_clause__get_packed_size - (const PgQuery__TableSampleClause *message) -{ - assert(message->base.descriptor == &pg_query__table_sample_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__table_sample_clause__pack - (const PgQuery__TableSampleClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__table_sample_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__table_sample_clause__pack_to_buffer - (const PgQuery__TableSampleClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__table_sample_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__TableSampleClause * - pg_query__table_sample_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__TableSampleClause *) - protobuf_c_message_unpack (&pg_query__table_sample_clause__descriptor, - allocator, len, data); -} -void pg_query__table_sample_clause__free_unpacked - (PgQuery__TableSampleClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__table_sample_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__with_check_option__init - (PgQuery__WithCheckOption *message) -{ - static const PgQuery__WithCheckOption init_value = PG_QUERY__WITH_CHECK_OPTION__INIT; - *message = init_value; -} -size_t pg_query__with_check_option__get_packed_size - (const PgQuery__WithCheckOption *message) -{ - assert(message->base.descriptor == &pg_query__with_check_option__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__with_check_option__pack - (const PgQuery__WithCheckOption *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__with_check_option__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__with_check_option__pack_to_buffer - (const PgQuery__WithCheckOption *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__with_check_option__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__WithCheckOption * - pg_query__with_check_option__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__WithCheckOption *) - protobuf_c_message_unpack (&pg_query__with_check_option__descriptor, - allocator, len, data); -} -void pg_query__with_check_option__free_unpacked - (PgQuery__WithCheckOption *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__with_check_option__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__sort_group_clause__init - (PgQuery__SortGroupClause *message) -{ - static const PgQuery__SortGroupClause init_value = PG_QUERY__SORT_GROUP_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__sort_group_clause__get_packed_size - (const PgQuery__SortGroupClause *message) -{ - assert(message->base.descriptor == &pg_query__sort_group_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__sort_group_clause__pack - (const PgQuery__SortGroupClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__sort_group_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__sort_group_clause__pack_to_buffer - (const PgQuery__SortGroupClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__sort_group_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SortGroupClause * - pg_query__sort_group_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SortGroupClause *) - protobuf_c_message_unpack (&pg_query__sort_group_clause__descriptor, - allocator, len, data); -} -void pg_query__sort_group_clause__free_unpacked - (PgQuery__SortGroupClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__sort_group_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__grouping_set__init - (PgQuery__GroupingSet *message) -{ - static const PgQuery__GroupingSet init_value = PG_QUERY__GROUPING_SET__INIT; - *message = init_value; -} -size_t pg_query__grouping_set__get_packed_size - (const PgQuery__GroupingSet *message) -{ - assert(message->base.descriptor == &pg_query__grouping_set__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__grouping_set__pack - (const PgQuery__GroupingSet *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__grouping_set__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__grouping_set__pack_to_buffer - (const PgQuery__GroupingSet *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__grouping_set__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__GroupingSet * - pg_query__grouping_set__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__GroupingSet *) - protobuf_c_message_unpack (&pg_query__grouping_set__descriptor, - allocator, len, data); -} -void pg_query__grouping_set__free_unpacked - (PgQuery__GroupingSet *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__grouping_set__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__window_clause__init - (PgQuery__WindowClause *message) -{ - static const PgQuery__WindowClause init_value = PG_QUERY__WINDOW_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__window_clause__get_packed_size - (const PgQuery__WindowClause *message) -{ - assert(message->base.descriptor == &pg_query__window_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__window_clause__pack - (const PgQuery__WindowClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__window_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__window_clause__pack_to_buffer - (const PgQuery__WindowClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__window_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__WindowClause * - pg_query__window_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__WindowClause *) - protobuf_c_message_unpack (&pg_query__window_clause__descriptor, - allocator, len, data); -} -void pg_query__window_clause__free_unpacked - (PgQuery__WindowClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__window_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__row_mark_clause__init - (PgQuery__RowMarkClause *message) -{ - static const PgQuery__RowMarkClause init_value = PG_QUERY__ROW_MARK_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__row_mark_clause__get_packed_size - (const PgQuery__RowMarkClause *message) -{ - assert(message->base.descriptor == &pg_query__row_mark_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__row_mark_clause__pack - (const PgQuery__RowMarkClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__row_mark_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__row_mark_clause__pack_to_buffer - (const PgQuery__RowMarkClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__row_mark_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RowMarkClause * - pg_query__row_mark_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RowMarkClause *) - protobuf_c_message_unpack (&pg_query__row_mark_clause__descriptor, - allocator, len, data); -} -void pg_query__row_mark_clause__free_unpacked - (PgQuery__RowMarkClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__row_mark_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__with_clause__init - (PgQuery__WithClause *message) -{ - static const PgQuery__WithClause init_value = PG_QUERY__WITH_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__with_clause__get_packed_size - (const PgQuery__WithClause *message) -{ - assert(message->base.descriptor == &pg_query__with_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__with_clause__pack - (const PgQuery__WithClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__with_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__with_clause__pack_to_buffer - (const PgQuery__WithClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__with_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__WithClause * - pg_query__with_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__WithClause *) - protobuf_c_message_unpack (&pg_query__with_clause__descriptor, - allocator, len, data); -} -void pg_query__with_clause__free_unpacked - (PgQuery__WithClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__with_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__infer_clause__init - (PgQuery__InferClause *message) -{ - static const PgQuery__InferClause init_value = PG_QUERY__INFER_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__infer_clause__get_packed_size - (const PgQuery__InferClause *message) -{ - assert(message->base.descriptor == &pg_query__infer_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__infer_clause__pack - (const PgQuery__InferClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__infer_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__infer_clause__pack_to_buffer - (const PgQuery__InferClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__infer_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__InferClause * - pg_query__infer_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__InferClause *) - protobuf_c_message_unpack (&pg_query__infer_clause__descriptor, - allocator, len, data); -} -void pg_query__infer_clause__free_unpacked - (PgQuery__InferClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__infer_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__on_conflict_clause__init - (PgQuery__OnConflictClause *message) -{ - static const PgQuery__OnConflictClause init_value = PG_QUERY__ON_CONFLICT_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__on_conflict_clause__get_packed_size - (const PgQuery__OnConflictClause *message) -{ - assert(message->base.descriptor == &pg_query__on_conflict_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__on_conflict_clause__pack - (const PgQuery__OnConflictClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__on_conflict_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__on_conflict_clause__pack_to_buffer - (const PgQuery__OnConflictClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__on_conflict_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__OnConflictClause * - pg_query__on_conflict_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__OnConflictClause *) - protobuf_c_message_unpack (&pg_query__on_conflict_clause__descriptor, - allocator, len, data); -} -void pg_query__on_conflict_clause__free_unpacked - (PgQuery__OnConflictClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__on_conflict_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__ctesearch_clause__init - (PgQuery__CTESearchClause *message) -{ - static const PgQuery__CTESearchClause init_value = PG_QUERY__CTESEARCH_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__ctesearch_clause__get_packed_size - (const PgQuery__CTESearchClause *message) -{ - assert(message->base.descriptor == &pg_query__ctesearch_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__ctesearch_clause__pack - (const PgQuery__CTESearchClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__ctesearch_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__ctesearch_clause__pack_to_buffer - (const PgQuery__CTESearchClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__ctesearch_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CTESearchClause * - pg_query__ctesearch_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CTESearchClause *) - protobuf_c_message_unpack (&pg_query__ctesearch_clause__descriptor, - allocator, len, data); -} -void pg_query__ctesearch_clause__free_unpacked - (PgQuery__CTESearchClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__ctesearch_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__ctecycle_clause__init - (PgQuery__CTECycleClause *message) -{ - static const PgQuery__CTECycleClause init_value = PG_QUERY__CTECYCLE_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__ctecycle_clause__get_packed_size - (const PgQuery__CTECycleClause *message) -{ - assert(message->base.descriptor == &pg_query__ctecycle_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__ctecycle_clause__pack - (const PgQuery__CTECycleClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__ctecycle_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__ctecycle_clause__pack_to_buffer - (const PgQuery__CTECycleClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__ctecycle_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CTECycleClause * - pg_query__ctecycle_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CTECycleClause *) - protobuf_c_message_unpack (&pg_query__ctecycle_clause__descriptor, - allocator, len, data); -} -void pg_query__ctecycle_clause__free_unpacked - (PgQuery__CTECycleClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__ctecycle_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__common_table_expr__init - (PgQuery__CommonTableExpr *message) -{ - static const PgQuery__CommonTableExpr init_value = PG_QUERY__COMMON_TABLE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__common_table_expr__get_packed_size - (const PgQuery__CommonTableExpr *message) -{ - assert(message->base.descriptor == &pg_query__common_table_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__common_table_expr__pack - (const PgQuery__CommonTableExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__common_table_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__common_table_expr__pack_to_buffer - (const PgQuery__CommonTableExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__common_table_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CommonTableExpr * - pg_query__common_table_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CommonTableExpr *) - protobuf_c_message_unpack (&pg_query__common_table_expr__descriptor, - allocator, len, data); -} -void pg_query__common_table_expr__free_unpacked - (PgQuery__CommonTableExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__common_table_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__merge_when_clause__init - (PgQuery__MergeWhenClause *message) -{ - static const PgQuery__MergeWhenClause init_value = PG_QUERY__MERGE_WHEN_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__merge_when_clause__get_packed_size - (const PgQuery__MergeWhenClause *message) -{ - assert(message->base.descriptor == &pg_query__merge_when_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__merge_when_clause__pack - (const PgQuery__MergeWhenClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__merge_when_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__merge_when_clause__pack_to_buffer - (const PgQuery__MergeWhenClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__merge_when_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__MergeWhenClause * - pg_query__merge_when_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__MergeWhenClause *) - protobuf_c_message_unpack (&pg_query__merge_when_clause__descriptor, - allocator, len, data); -} -void pg_query__merge_when_clause__free_unpacked - (PgQuery__MergeWhenClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__merge_when_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__returning_option__init - (PgQuery__ReturningOption *message) -{ - static const PgQuery__ReturningOption init_value = PG_QUERY__RETURNING_OPTION__INIT; - *message = init_value; -} -size_t pg_query__returning_option__get_packed_size - (const PgQuery__ReturningOption *message) -{ - assert(message->base.descriptor == &pg_query__returning_option__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__returning_option__pack - (const PgQuery__ReturningOption *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__returning_option__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__returning_option__pack_to_buffer - (const PgQuery__ReturningOption *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__returning_option__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ReturningOption * - pg_query__returning_option__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ReturningOption *) - protobuf_c_message_unpack (&pg_query__returning_option__descriptor, - allocator, len, data); -} -void pg_query__returning_option__free_unpacked - (PgQuery__ReturningOption *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__returning_option__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__returning_clause__init - (PgQuery__ReturningClause *message) -{ - static const PgQuery__ReturningClause init_value = PG_QUERY__RETURNING_CLAUSE__INIT; - *message = init_value; -} -size_t pg_query__returning_clause__get_packed_size - (const PgQuery__ReturningClause *message) -{ - assert(message->base.descriptor == &pg_query__returning_clause__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__returning_clause__pack - (const PgQuery__ReturningClause *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__returning_clause__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__returning_clause__pack_to_buffer - (const PgQuery__ReturningClause *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__returning_clause__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ReturningClause * - pg_query__returning_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ReturningClause *) - protobuf_c_message_unpack (&pg_query__returning_clause__descriptor, - allocator, len, data); -} -void pg_query__returning_clause__free_unpacked - (PgQuery__ReturningClause *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__returning_clause__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__trigger_transition__init - (PgQuery__TriggerTransition *message) -{ - static const PgQuery__TriggerTransition init_value = PG_QUERY__TRIGGER_TRANSITION__INIT; - *message = init_value; -} -size_t pg_query__trigger_transition__get_packed_size - (const PgQuery__TriggerTransition *message) -{ - assert(message->base.descriptor == &pg_query__trigger_transition__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__trigger_transition__pack - (const PgQuery__TriggerTransition *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__trigger_transition__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__trigger_transition__pack_to_buffer - (const PgQuery__TriggerTransition *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__trigger_transition__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__TriggerTransition * - pg_query__trigger_transition__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__TriggerTransition *) - protobuf_c_message_unpack (&pg_query__trigger_transition__descriptor, - allocator, len, data); -} -void pg_query__trigger_transition__free_unpacked - (PgQuery__TriggerTransition *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__trigger_transition__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_output__init - (PgQuery__JsonOutput *message) -{ - static const PgQuery__JsonOutput init_value = PG_QUERY__JSON_OUTPUT__INIT; - *message = init_value; -} -size_t pg_query__json_output__get_packed_size - (const PgQuery__JsonOutput *message) -{ - assert(message->base.descriptor == &pg_query__json_output__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_output__pack - (const PgQuery__JsonOutput *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_output__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_output__pack_to_buffer - (const PgQuery__JsonOutput *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_output__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonOutput * - pg_query__json_output__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonOutput *) - protobuf_c_message_unpack (&pg_query__json_output__descriptor, - allocator, len, data); -} -void pg_query__json_output__free_unpacked - (PgQuery__JsonOutput *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_output__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_argument__init - (PgQuery__JsonArgument *message) -{ - static const PgQuery__JsonArgument init_value = PG_QUERY__JSON_ARGUMENT__INIT; - *message = init_value; -} -size_t pg_query__json_argument__get_packed_size - (const PgQuery__JsonArgument *message) -{ - assert(message->base.descriptor == &pg_query__json_argument__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_argument__pack - (const PgQuery__JsonArgument *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_argument__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_argument__pack_to_buffer - (const PgQuery__JsonArgument *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_argument__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonArgument * - pg_query__json_argument__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonArgument *) - protobuf_c_message_unpack (&pg_query__json_argument__descriptor, - allocator, len, data); -} -void pg_query__json_argument__free_unpacked - (PgQuery__JsonArgument *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_argument__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_func_expr__init - (PgQuery__JsonFuncExpr *message) -{ - static const PgQuery__JsonFuncExpr init_value = PG_QUERY__JSON_FUNC_EXPR__INIT; - *message = init_value; -} -size_t pg_query__json_func_expr__get_packed_size - (const PgQuery__JsonFuncExpr *message) -{ - assert(message->base.descriptor == &pg_query__json_func_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_func_expr__pack - (const PgQuery__JsonFuncExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_func_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_func_expr__pack_to_buffer - (const PgQuery__JsonFuncExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_func_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonFuncExpr * - pg_query__json_func_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonFuncExpr *) - protobuf_c_message_unpack (&pg_query__json_func_expr__descriptor, - allocator, len, data); -} -void pg_query__json_func_expr__free_unpacked - (PgQuery__JsonFuncExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_func_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_table_path_spec__init - (PgQuery__JsonTablePathSpec *message) -{ - static const PgQuery__JsonTablePathSpec init_value = PG_QUERY__JSON_TABLE_PATH_SPEC__INIT; - *message = init_value; -} -size_t pg_query__json_table_path_spec__get_packed_size - (const PgQuery__JsonTablePathSpec *message) -{ - assert(message->base.descriptor == &pg_query__json_table_path_spec__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_table_path_spec__pack - (const PgQuery__JsonTablePathSpec *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_table_path_spec__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_table_path_spec__pack_to_buffer - (const PgQuery__JsonTablePathSpec *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_table_path_spec__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonTablePathSpec * - pg_query__json_table_path_spec__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonTablePathSpec *) - protobuf_c_message_unpack (&pg_query__json_table_path_spec__descriptor, - allocator, len, data); -} -void pg_query__json_table_path_spec__free_unpacked - (PgQuery__JsonTablePathSpec *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_table_path_spec__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_table__init - (PgQuery__JsonTable *message) -{ - static const PgQuery__JsonTable init_value = PG_QUERY__JSON_TABLE__INIT; - *message = init_value; -} -size_t pg_query__json_table__get_packed_size - (const PgQuery__JsonTable *message) -{ - assert(message->base.descriptor == &pg_query__json_table__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_table__pack - (const PgQuery__JsonTable *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_table__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_table__pack_to_buffer - (const PgQuery__JsonTable *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_table__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonTable * - pg_query__json_table__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonTable *) - protobuf_c_message_unpack (&pg_query__json_table__descriptor, - allocator, len, data); -} -void pg_query__json_table__free_unpacked - (PgQuery__JsonTable *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_table__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_table_column__init - (PgQuery__JsonTableColumn *message) -{ - static const PgQuery__JsonTableColumn init_value = PG_QUERY__JSON_TABLE_COLUMN__INIT; - *message = init_value; -} -size_t pg_query__json_table_column__get_packed_size - (const PgQuery__JsonTableColumn *message) -{ - assert(message->base.descriptor == &pg_query__json_table_column__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_table_column__pack - (const PgQuery__JsonTableColumn *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_table_column__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_table_column__pack_to_buffer - (const PgQuery__JsonTableColumn *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_table_column__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonTableColumn * - pg_query__json_table_column__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonTableColumn *) - protobuf_c_message_unpack (&pg_query__json_table_column__descriptor, - allocator, len, data); -} -void pg_query__json_table_column__free_unpacked - (PgQuery__JsonTableColumn *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_table_column__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_key_value__init - (PgQuery__JsonKeyValue *message) -{ - static const PgQuery__JsonKeyValue init_value = PG_QUERY__JSON_KEY_VALUE__INIT; - *message = init_value; -} -size_t pg_query__json_key_value__get_packed_size - (const PgQuery__JsonKeyValue *message) -{ - assert(message->base.descriptor == &pg_query__json_key_value__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_key_value__pack - (const PgQuery__JsonKeyValue *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_key_value__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_key_value__pack_to_buffer - (const PgQuery__JsonKeyValue *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_key_value__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonKeyValue * - pg_query__json_key_value__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonKeyValue *) - protobuf_c_message_unpack (&pg_query__json_key_value__descriptor, - allocator, len, data); -} -void pg_query__json_key_value__free_unpacked - (PgQuery__JsonKeyValue *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_key_value__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_parse_expr__init - (PgQuery__JsonParseExpr *message) -{ - static const PgQuery__JsonParseExpr init_value = PG_QUERY__JSON_PARSE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__json_parse_expr__get_packed_size - (const PgQuery__JsonParseExpr *message) -{ - assert(message->base.descriptor == &pg_query__json_parse_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_parse_expr__pack - (const PgQuery__JsonParseExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_parse_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_parse_expr__pack_to_buffer - (const PgQuery__JsonParseExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_parse_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonParseExpr * - pg_query__json_parse_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonParseExpr *) - protobuf_c_message_unpack (&pg_query__json_parse_expr__descriptor, - allocator, len, data); -} -void pg_query__json_parse_expr__free_unpacked - (PgQuery__JsonParseExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_parse_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_scalar_expr__init - (PgQuery__JsonScalarExpr *message) -{ - static const PgQuery__JsonScalarExpr init_value = PG_QUERY__JSON_SCALAR_EXPR__INIT; - *message = init_value; -} -size_t pg_query__json_scalar_expr__get_packed_size - (const PgQuery__JsonScalarExpr *message) -{ - assert(message->base.descriptor == &pg_query__json_scalar_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_scalar_expr__pack - (const PgQuery__JsonScalarExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_scalar_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_scalar_expr__pack_to_buffer - (const PgQuery__JsonScalarExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_scalar_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonScalarExpr * - pg_query__json_scalar_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonScalarExpr *) - protobuf_c_message_unpack (&pg_query__json_scalar_expr__descriptor, - allocator, len, data); -} -void pg_query__json_scalar_expr__free_unpacked - (PgQuery__JsonScalarExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_scalar_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_serialize_expr__init - (PgQuery__JsonSerializeExpr *message) -{ - static const PgQuery__JsonSerializeExpr init_value = PG_QUERY__JSON_SERIALIZE_EXPR__INIT; - *message = init_value; -} -size_t pg_query__json_serialize_expr__get_packed_size - (const PgQuery__JsonSerializeExpr *message) -{ - assert(message->base.descriptor == &pg_query__json_serialize_expr__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_serialize_expr__pack - (const PgQuery__JsonSerializeExpr *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_serialize_expr__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_serialize_expr__pack_to_buffer - (const PgQuery__JsonSerializeExpr *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_serialize_expr__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonSerializeExpr * - pg_query__json_serialize_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonSerializeExpr *) - protobuf_c_message_unpack (&pg_query__json_serialize_expr__descriptor, - allocator, len, data); -} -void pg_query__json_serialize_expr__free_unpacked - (PgQuery__JsonSerializeExpr *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_serialize_expr__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_object_constructor__init - (PgQuery__JsonObjectConstructor *message) -{ - static const PgQuery__JsonObjectConstructor init_value = PG_QUERY__JSON_OBJECT_CONSTRUCTOR__INIT; - *message = init_value; -} -size_t pg_query__json_object_constructor__get_packed_size - (const PgQuery__JsonObjectConstructor *message) -{ - assert(message->base.descriptor == &pg_query__json_object_constructor__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_object_constructor__pack - (const PgQuery__JsonObjectConstructor *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_object_constructor__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_object_constructor__pack_to_buffer - (const PgQuery__JsonObjectConstructor *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_object_constructor__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonObjectConstructor * - pg_query__json_object_constructor__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonObjectConstructor *) - protobuf_c_message_unpack (&pg_query__json_object_constructor__descriptor, - allocator, len, data); -} -void pg_query__json_object_constructor__free_unpacked - (PgQuery__JsonObjectConstructor *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_object_constructor__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_array_constructor__init - (PgQuery__JsonArrayConstructor *message) -{ - static const PgQuery__JsonArrayConstructor init_value = PG_QUERY__JSON_ARRAY_CONSTRUCTOR__INIT; - *message = init_value; -} -size_t pg_query__json_array_constructor__get_packed_size - (const PgQuery__JsonArrayConstructor *message) -{ - assert(message->base.descriptor == &pg_query__json_array_constructor__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_array_constructor__pack - (const PgQuery__JsonArrayConstructor *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_array_constructor__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_array_constructor__pack_to_buffer - (const PgQuery__JsonArrayConstructor *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_array_constructor__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonArrayConstructor * - pg_query__json_array_constructor__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonArrayConstructor *) - protobuf_c_message_unpack (&pg_query__json_array_constructor__descriptor, - allocator, len, data); -} -void pg_query__json_array_constructor__free_unpacked - (PgQuery__JsonArrayConstructor *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_array_constructor__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_array_query_constructor__init - (PgQuery__JsonArrayQueryConstructor *message) -{ - static const PgQuery__JsonArrayQueryConstructor init_value = PG_QUERY__JSON_ARRAY_QUERY_CONSTRUCTOR__INIT; - *message = init_value; -} -size_t pg_query__json_array_query_constructor__get_packed_size - (const PgQuery__JsonArrayQueryConstructor *message) -{ - assert(message->base.descriptor == &pg_query__json_array_query_constructor__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_array_query_constructor__pack - (const PgQuery__JsonArrayQueryConstructor *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_array_query_constructor__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_array_query_constructor__pack_to_buffer - (const PgQuery__JsonArrayQueryConstructor *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_array_query_constructor__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonArrayQueryConstructor * - pg_query__json_array_query_constructor__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonArrayQueryConstructor *) - protobuf_c_message_unpack (&pg_query__json_array_query_constructor__descriptor, - allocator, len, data); -} -void pg_query__json_array_query_constructor__free_unpacked - (PgQuery__JsonArrayQueryConstructor *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_array_query_constructor__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_agg_constructor__init - (PgQuery__JsonAggConstructor *message) -{ - static const PgQuery__JsonAggConstructor init_value = PG_QUERY__JSON_AGG_CONSTRUCTOR__INIT; - *message = init_value; -} -size_t pg_query__json_agg_constructor__get_packed_size - (const PgQuery__JsonAggConstructor *message) -{ - assert(message->base.descriptor == &pg_query__json_agg_constructor__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_agg_constructor__pack - (const PgQuery__JsonAggConstructor *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_agg_constructor__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_agg_constructor__pack_to_buffer - (const PgQuery__JsonAggConstructor *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_agg_constructor__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonAggConstructor * - pg_query__json_agg_constructor__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonAggConstructor *) - protobuf_c_message_unpack (&pg_query__json_agg_constructor__descriptor, - allocator, len, data); -} -void pg_query__json_agg_constructor__free_unpacked - (PgQuery__JsonAggConstructor *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_agg_constructor__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_object_agg__init - (PgQuery__JsonObjectAgg *message) -{ - static const PgQuery__JsonObjectAgg init_value = PG_QUERY__JSON_OBJECT_AGG__INIT; - *message = init_value; -} -size_t pg_query__json_object_agg__get_packed_size - (const PgQuery__JsonObjectAgg *message) -{ - assert(message->base.descriptor == &pg_query__json_object_agg__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_object_agg__pack - (const PgQuery__JsonObjectAgg *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_object_agg__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_object_agg__pack_to_buffer - (const PgQuery__JsonObjectAgg *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_object_agg__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonObjectAgg * - pg_query__json_object_agg__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonObjectAgg *) - protobuf_c_message_unpack (&pg_query__json_object_agg__descriptor, - allocator, len, data); -} -void pg_query__json_object_agg__free_unpacked - (PgQuery__JsonObjectAgg *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_object_agg__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__json_array_agg__init - (PgQuery__JsonArrayAgg *message) -{ - static const PgQuery__JsonArrayAgg init_value = PG_QUERY__JSON_ARRAY_AGG__INIT; - *message = init_value; -} -size_t pg_query__json_array_agg__get_packed_size - (const PgQuery__JsonArrayAgg *message) -{ - assert(message->base.descriptor == &pg_query__json_array_agg__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__json_array_agg__pack - (const PgQuery__JsonArrayAgg *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__json_array_agg__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__json_array_agg__pack_to_buffer - (const PgQuery__JsonArrayAgg *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__json_array_agg__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__JsonArrayAgg * - pg_query__json_array_agg__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__JsonArrayAgg *) - protobuf_c_message_unpack (&pg_query__json_array_agg__descriptor, - allocator, len, data); -} -void pg_query__json_array_agg__free_unpacked - (PgQuery__JsonArrayAgg *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__json_array_agg__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__raw_stmt__init - (PgQuery__RawStmt *message) -{ - static const PgQuery__RawStmt init_value = PG_QUERY__RAW_STMT__INIT; - *message = init_value; -} -size_t pg_query__raw_stmt__get_packed_size - (const PgQuery__RawStmt *message) -{ - assert(message->base.descriptor == &pg_query__raw_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__raw_stmt__pack - (const PgQuery__RawStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__raw_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__raw_stmt__pack_to_buffer - (const PgQuery__RawStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__raw_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RawStmt * - pg_query__raw_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RawStmt *) - protobuf_c_message_unpack (&pg_query__raw_stmt__descriptor, - allocator, len, data); -} -void pg_query__raw_stmt__free_unpacked - (PgQuery__RawStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__raw_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__insert_stmt__init - (PgQuery__InsertStmt *message) -{ - static const PgQuery__InsertStmt init_value = PG_QUERY__INSERT_STMT__INIT; - *message = init_value; -} -size_t pg_query__insert_stmt__get_packed_size - (const PgQuery__InsertStmt *message) -{ - assert(message->base.descriptor == &pg_query__insert_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__insert_stmt__pack - (const PgQuery__InsertStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__insert_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__insert_stmt__pack_to_buffer - (const PgQuery__InsertStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__insert_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__InsertStmt * - pg_query__insert_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__InsertStmt *) - protobuf_c_message_unpack (&pg_query__insert_stmt__descriptor, - allocator, len, data); -} -void pg_query__insert_stmt__free_unpacked - (PgQuery__InsertStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__insert_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__delete_stmt__init - (PgQuery__DeleteStmt *message) -{ - static const PgQuery__DeleteStmt init_value = PG_QUERY__DELETE_STMT__INIT; - *message = init_value; -} -size_t pg_query__delete_stmt__get_packed_size - (const PgQuery__DeleteStmt *message) -{ - assert(message->base.descriptor == &pg_query__delete_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__delete_stmt__pack - (const PgQuery__DeleteStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__delete_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__delete_stmt__pack_to_buffer - (const PgQuery__DeleteStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__delete_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DeleteStmt * - pg_query__delete_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DeleteStmt *) - protobuf_c_message_unpack (&pg_query__delete_stmt__descriptor, - allocator, len, data); -} -void pg_query__delete_stmt__free_unpacked - (PgQuery__DeleteStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__delete_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__update_stmt__init - (PgQuery__UpdateStmt *message) -{ - static const PgQuery__UpdateStmt init_value = PG_QUERY__UPDATE_STMT__INIT; - *message = init_value; -} -size_t pg_query__update_stmt__get_packed_size - (const PgQuery__UpdateStmt *message) -{ - assert(message->base.descriptor == &pg_query__update_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__update_stmt__pack - (const PgQuery__UpdateStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__update_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__update_stmt__pack_to_buffer - (const PgQuery__UpdateStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__update_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__UpdateStmt * - pg_query__update_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__UpdateStmt *) - protobuf_c_message_unpack (&pg_query__update_stmt__descriptor, - allocator, len, data); -} -void pg_query__update_stmt__free_unpacked - (PgQuery__UpdateStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__update_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__merge_stmt__init - (PgQuery__MergeStmt *message) -{ - static const PgQuery__MergeStmt init_value = PG_QUERY__MERGE_STMT__INIT; - *message = init_value; -} -size_t pg_query__merge_stmt__get_packed_size - (const PgQuery__MergeStmt *message) -{ - assert(message->base.descriptor == &pg_query__merge_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__merge_stmt__pack - (const PgQuery__MergeStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__merge_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__merge_stmt__pack_to_buffer - (const PgQuery__MergeStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__merge_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__MergeStmt * - pg_query__merge_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__MergeStmt *) - protobuf_c_message_unpack (&pg_query__merge_stmt__descriptor, - allocator, len, data); -} -void pg_query__merge_stmt__free_unpacked - (PgQuery__MergeStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__merge_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__select_stmt__init - (PgQuery__SelectStmt *message) -{ - static const PgQuery__SelectStmt init_value = PG_QUERY__SELECT_STMT__INIT; - *message = init_value; -} -size_t pg_query__select_stmt__get_packed_size - (const PgQuery__SelectStmt *message) -{ - assert(message->base.descriptor == &pg_query__select_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__select_stmt__pack - (const PgQuery__SelectStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__select_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__select_stmt__pack_to_buffer - (const PgQuery__SelectStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__select_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SelectStmt * - pg_query__select_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SelectStmt *) - protobuf_c_message_unpack (&pg_query__select_stmt__descriptor, - allocator, len, data); -} -void pg_query__select_stmt__free_unpacked - (PgQuery__SelectStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__select_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__set_operation_stmt__init - (PgQuery__SetOperationStmt *message) -{ - static const PgQuery__SetOperationStmt init_value = PG_QUERY__SET_OPERATION_STMT__INIT; - *message = init_value; -} -size_t pg_query__set_operation_stmt__get_packed_size - (const PgQuery__SetOperationStmt *message) -{ - assert(message->base.descriptor == &pg_query__set_operation_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__set_operation_stmt__pack - (const PgQuery__SetOperationStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__set_operation_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__set_operation_stmt__pack_to_buffer - (const PgQuery__SetOperationStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__set_operation_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SetOperationStmt * - pg_query__set_operation_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SetOperationStmt *) - protobuf_c_message_unpack (&pg_query__set_operation_stmt__descriptor, - allocator, len, data); -} -void pg_query__set_operation_stmt__free_unpacked - (PgQuery__SetOperationStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__set_operation_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__return_stmt__init - (PgQuery__ReturnStmt *message) -{ - static const PgQuery__ReturnStmt init_value = PG_QUERY__RETURN_STMT__INIT; - *message = init_value; -} -size_t pg_query__return_stmt__get_packed_size - (const PgQuery__ReturnStmt *message) -{ - assert(message->base.descriptor == &pg_query__return_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__return_stmt__pack - (const PgQuery__ReturnStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__return_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__return_stmt__pack_to_buffer - (const PgQuery__ReturnStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__return_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ReturnStmt * - pg_query__return_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ReturnStmt *) - protobuf_c_message_unpack (&pg_query__return_stmt__descriptor, - allocator, len, data); -} -void pg_query__return_stmt__free_unpacked - (PgQuery__ReturnStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__return_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__plassign_stmt__init - (PgQuery__PLAssignStmt *message) -{ - static const PgQuery__PLAssignStmt init_value = PG_QUERY__PLASSIGN_STMT__INIT; - *message = init_value; -} -size_t pg_query__plassign_stmt__get_packed_size - (const PgQuery__PLAssignStmt *message) -{ - assert(message->base.descriptor == &pg_query__plassign_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__plassign_stmt__pack - (const PgQuery__PLAssignStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__plassign_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__plassign_stmt__pack_to_buffer - (const PgQuery__PLAssignStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__plassign_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__PLAssignStmt * - pg_query__plassign_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__PLAssignStmt *) - protobuf_c_message_unpack (&pg_query__plassign_stmt__descriptor, - allocator, len, data); -} -void pg_query__plassign_stmt__free_unpacked - (PgQuery__PLAssignStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__plassign_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_schema_stmt__init - (PgQuery__CreateSchemaStmt *message) -{ - static const PgQuery__CreateSchemaStmt init_value = PG_QUERY__CREATE_SCHEMA_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_schema_stmt__get_packed_size - (const PgQuery__CreateSchemaStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_schema_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_schema_stmt__pack - (const PgQuery__CreateSchemaStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_schema_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_schema_stmt__pack_to_buffer - (const PgQuery__CreateSchemaStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_schema_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateSchemaStmt * - pg_query__create_schema_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateSchemaStmt *) - protobuf_c_message_unpack (&pg_query__create_schema_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_schema_stmt__free_unpacked - (PgQuery__CreateSchemaStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_schema_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_table_stmt__init - (PgQuery__AlterTableStmt *message) -{ - static const PgQuery__AlterTableStmt init_value = PG_QUERY__ALTER_TABLE_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_table_stmt__get_packed_size - (const PgQuery__AlterTableStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_table_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_table_stmt__pack - (const PgQuery__AlterTableStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_table_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_table_stmt__pack_to_buffer - (const PgQuery__AlterTableStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_table_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterTableStmt * - pg_query__alter_table_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterTableStmt *) - protobuf_c_message_unpack (&pg_query__alter_table_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_table_stmt__free_unpacked - (PgQuery__AlterTableStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_table_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_table_cmd__init - (PgQuery__AlterTableCmd *message) -{ - static const PgQuery__AlterTableCmd init_value = PG_QUERY__ALTER_TABLE_CMD__INIT; - *message = init_value; -} -size_t pg_query__alter_table_cmd__get_packed_size - (const PgQuery__AlterTableCmd *message) -{ - assert(message->base.descriptor == &pg_query__alter_table_cmd__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_table_cmd__pack - (const PgQuery__AlterTableCmd *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_table_cmd__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_table_cmd__pack_to_buffer - (const PgQuery__AlterTableCmd *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_table_cmd__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterTableCmd * - pg_query__alter_table_cmd__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterTableCmd *) - protobuf_c_message_unpack (&pg_query__alter_table_cmd__descriptor, - allocator, len, data); -} -void pg_query__alter_table_cmd__free_unpacked - (PgQuery__AlterTableCmd *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_table_cmd__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__atalter_constraint__init - (PgQuery__ATAlterConstraint *message) -{ - static const PgQuery__ATAlterConstraint init_value = PG_QUERY__ATALTER_CONSTRAINT__INIT; - *message = init_value; -} -size_t pg_query__atalter_constraint__get_packed_size - (const PgQuery__ATAlterConstraint *message) -{ - assert(message->base.descriptor == &pg_query__atalter_constraint__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__atalter_constraint__pack - (const PgQuery__ATAlterConstraint *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__atalter_constraint__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__atalter_constraint__pack_to_buffer - (const PgQuery__ATAlterConstraint *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__atalter_constraint__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ATAlterConstraint * - pg_query__atalter_constraint__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ATAlterConstraint *) - protobuf_c_message_unpack (&pg_query__atalter_constraint__descriptor, - allocator, len, data); -} -void pg_query__atalter_constraint__free_unpacked - (PgQuery__ATAlterConstraint *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__atalter_constraint__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__replica_identity_stmt__init - (PgQuery__ReplicaIdentityStmt *message) -{ - static const PgQuery__ReplicaIdentityStmt init_value = PG_QUERY__REPLICA_IDENTITY_STMT__INIT; - *message = init_value; -} -size_t pg_query__replica_identity_stmt__get_packed_size - (const PgQuery__ReplicaIdentityStmt *message) -{ - assert(message->base.descriptor == &pg_query__replica_identity_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__replica_identity_stmt__pack - (const PgQuery__ReplicaIdentityStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__replica_identity_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__replica_identity_stmt__pack_to_buffer - (const PgQuery__ReplicaIdentityStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__replica_identity_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ReplicaIdentityStmt * - pg_query__replica_identity_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ReplicaIdentityStmt *) - protobuf_c_message_unpack (&pg_query__replica_identity_stmt__descriptor, - allocator, len, data); -} -void pg_query__replica_identity_stmt__free_unpacked - (PgQuery__ReplicaIdentityStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__replica_identity_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_collation_stmt__init - (PgQuery__AlterCollationStmt *message) -{ - static const PgQuery__AlterCollationStmt init_value = PG_QUERY__ALTER_COLLATION_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_collation_stmt__get_packed_size - (const PgQuery__AlterCollationStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_collation_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_collation_stmt__pack - (const PgQuery__AlterCollationStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_collation_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_collation_stmt__pack_to_buffer - (const PgQuery__AlterCollationStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_collation_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterCollationStmt * - pg_query__alter_collation_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterCollationStmt *) - protobuf_c_message_unpack (&pg_query__alter_collation_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_collation_stmt__free_unpacked - (PgQuery__AlterCollationStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_collation_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_domain_stmt__init - (PgQuery__AlterDomainStmt *message) -{ - static const PgQuery__AlterDomainStmt init_value = PG_QUERY__ALTER_DOMAIN_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_domain_stmt__get_packed_size - (const PgQuery__AlterDomainStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_domain_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_domain_stmt__pack - (const PgQuery__AlterDomainStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_domain_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_domain_stmt__pack_to_buffer - (const PgQuery__AlterDomainStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_domain_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterDomainStmt * - pg_query__alter_domain_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterDomainStmt *) - protobuf_c_message_unpack (&pg_query__alter_domain_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_domain_stmt__free_unpacked - (PgQuery__AlterDomainStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_domain_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__grant_stmt__init - (PgQuery__GrantStmt *message) -{ - static const PgQuery__GrantStmt init_value = PG_QUERY__GRANT_STMT__INIT; - *message = init_value; -} -size_t pg_query__grant_stmt__get_packed_size - (const PgQuery__GrantStmt *message) -{ - assert(message->base.descriptor == &pg_query__grant_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__grant_stmt__pack - (const PgQuery__GrantStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__grant_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__grant_stmt__pack_to_buffer - (const PgQuery__GrantStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__grant_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__GrantStmt * - pg_query__grant_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__GrantStmt *) - protobuf_c_message_unpack (&pg_query__grant_stmt__descriptor, - allocator, len, data); -} -void pg_query__grant_stmt__free_unpacked - (PgQuery__GrantStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__grant_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__object_with_args__init - (PgQuery__ObjectWithArgs *message) -{ - static const PgQuery__ObjectWithArgs init_value = PG_QUERY__OBJECT_WITH_ARGS__INIT; - *message = init_value; -} -size_t pg_query__object_with_args__get_packed_size - (const PgQuery__ObjectWithArgs *message) -{ - assert(message->base.descriptor == &pg_query__object_with_args__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__object_with_args__pack - (const PgQuery__ObjectWithArgs *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__object_with_args__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__object_with_args__pack_to_buffer - (const PgQuery__ObjectWithArgs *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__object_with_args__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ObjectWithArgs * - pg_query__object_with_args__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ObjectWithArgs *) - protobuf_c_message_unpack (&pg_query__object_with_args__descriptor, - allocator, len, data); -} -void pg_query__object_with_args__free_unpacked - (PgQuery__ObjectWithArgs *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__object_with_args__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__access_priv__init - (PgQuery__AccessPriv *message) -{ - static const PgQuery__AccessPriv init_value = PG_QUERY__ACCESS_PRIV__INIT; - *message = init_value; -} -size_t pg_query__access_priv__get_packed_size - (const PgQuery__AccessPriv *message) -{ - assert(message->base.descriptor == &pg_query__access_priv__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__access_priv__pack - (const PgQuery__AccessPriv *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__access_priv__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__access_priv__pack_to_buffer - (const PgQuery__AccessPriv *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__access_priv__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AccessPriv * - pg_query__access_priv__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AccessPriv *) - protobuf_c_message_unpack (&pg_query__access_priv__descriptor, - allocator, len, data); -} -void pg_query__access_priv__free_unpacked - (PgQuery__AccessPriv *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__access_priv__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__grant_role_stmt__init - (PgQuery__GrantRoleStmt *message) -{ - static const PgQuery__GrantRoleStmt init_value = PG_QUERY__GRANT_ROLE_STMT__INIT; - *message = init_value; -} -size_t pg_query__grant_role_stmt__get_packed_size - (const PgQuery__GrantRoleStmt *message) -{ - assert(message->base.descriptor == &pg_query__grant_role_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__grant_role_stmt__pack - (const PgQuery__GrantRoleStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__grant_role_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__grant_role_stmt__pack_to_buffer - (const PgQuery__GrantRoleStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__grant_role_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__GrantRoleStmt * - pg_query__grant_role_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__GrantRoleStmt *) - protobuf_c_message_unpack (&pg_query__grant_role_stmt__descriptor, - allocator, len, data); -} -void pg_query__grant_role_stmt__free_unpacked - (PgQuery__GrantRoleStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__grant_role_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_default_privileges_stmt__init - (PgQuery__AlterDefaultPrivilegesStmt *message) -{ - static const PgQuery__AlterDefaultPrivilegesStmt init_value = PG_QUERY__ALTER_DEFAULT_PRIVILEGES_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_default_privileges_stmt__get_packed_size - (const PgQuery__AlterDefaultPrivilegesStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_default_privileges_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_default_privileges_stmt__pack - (const PgQuery__AlterDefaultPrivilegesStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_default_privileges_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_default_privileges_stmt__pack_to_buffer - (const PgQuery__AlterDefaultPrivilegesStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_default_privileges_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterDefaultPrivilegesStmt * - pg_query__alter_default_privileges_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterDefaultPrivilegesStmt *) - protobuf_c_message_unpack (&pg_query__alter_default_privileges_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_default_privileges_stmt__free_unpacked - (PgQuery__AlterDefaultPrivilegesStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_default_privileges_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__copy_stmt__init - (PgQuery__CopyStmt *message) -{ - static const PgQuery__CopyStmt init_value = PG_QUERY__COPY_STMT__INIT; - *message = init_value; -} -size_t pg_query__copy_stmt__get_packed_size - (const PgQuery__CopyStmt *message) -{ - assert(message->base.descriptor == &pg_query__copy_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__copy_stmt__pack - (const PgQuery__CopyStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__copy_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__copy_stmt__pack_to_buffer - (const PgQuery__CopyStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__copy_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CopyStmt * - pg_query__copy_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CopyStmt *) - protobuf_c_message_unpack (&pg_query__copy_stmt__descriptor, - allocator, len, data); -} -void pg_query__copy_stmt__free_unpacked - (PgQuery__CopyStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__copy_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__variable_set_stmt__init - (PgQuery__VariableSetStmt *message) -{ - static const PgQuery__VariableSetStmt init_value = PG_QUERY__VARIABLE_SET_STMT__INIT; - *message = init_value; -} -size_t pg_query__variable_set_stmt__get_packed_size - (const PgQuery__VariableSetStmt *message) -{ - assert(message->base.descriptor == &pg_query__variable_set_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__variable_set_stmt__pack - (const PgQuery__VariableSetStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__variable_set_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__variable_set_stmt__pack_to_buffer - (const PgQuery__VariableSetStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__variable_set_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__VariableSetStmt * - pg_query__variable_set_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__VariableSetStmt *) - protobuf_c_message_unpack (&pg_query__variable_set_stmt__descriptor, - allocator, len, data); -} -void pg_query__variable_set_stmt__free_unpacked - (PgQuery__VariableSetStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__variable_set_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__variable_show_stmt__init - (PgQuery__VariableShowStmt *message) -{ - static const PgQuery__VariableShowStmt init_value = PG_QUERY__VARIABLE_SHOW_STMT__INIT; - *message = init_value; -} -size_t pg_query__variable_show_stmt__get_packed_size - (const PgQuery__VariableShowStmt *message) -{ - assert(message->base.descriptor == &pg_query__variable_show_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__variable_show_stmt__pack - (const PgQuery__VariableShowStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__variable_show_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__variable_show_stmt__pack_to_buffer - (const PgQuery__VariableShowStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__variable_show_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__VariableShowStmt * - pg_query__variable_show_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__VariableShowStmt *) - protobuf_c_message_unpack (&pg_query__variable_show_stmt__descriptor, - allocator, len, data); -} -void pg_query__variable_show_stmt__free_unpacked - (PgQuery__VariableShowStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__variable_show_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_stmt__init - (PgQuery__CreateStmt *message) -{ - static const PgQuery__CreateStmt init_value = PG_QUERY__CREATE_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_stmt__get_packed_size - (const PgQuery__CreateStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_stmt__pack - (const PgQuery__CreateStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_stmt__pack_to_buffer - (const PgQuery__CreateStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateStmt * - pg_query__create_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateStmt *) - protobuf_c_message_unpack (&pg_query__create_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_stmt__free_unpacked - (PgQuery__CreateStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__constraint__init - (PgQuery__Constraint *message) -{ - static const PgQuery__Constraint init_value = PG_QUERY__CONSTRAINT__INIT; - *message = init_value; -} -size_t pg_query__constraint__get_packed_size - (const PgQuery__Constraint *message) -{ - assert(message->base.descriptor == &pg_query__constraint__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__constraint__pack - (const PgQuery__Constraint *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__constraint__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__constraint__pack_to_buffer - (const PgQuery__Constraint *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__constraint__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__Constraint * - pg_query__constraint__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__Constraint *) - protobuf_c_message_unpack (&pg_query__constraint__descriptor, - allocator, len, data); -} -void pg_query__constraint__free_unpacked - (PgQuery__Constraint *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__constraint__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_table_space_stmt__init - (PgQuery__CreateTableSpaceStmt *message) -{ - static const PgQuery__CreateTableSpaceStmt init_value = PG_QUERY__CREATE_TABLE_SPACE_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_table_space_stmt__get_packed_size - (const PgQuery__CreateTableSpaceStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_table_space_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_table_space_stmt__pack - (const PgQuery__CreateTableSpaceStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_table_space_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_table_space_stmt__pack_to_buffer - (const PgQuery__CreateTableSpaceStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_table_space_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateTableSpaceStmt * - pg_query__create_table_space_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateTableSpaceStmt *) - protobuf_c_message_unpack (&pg_query__create_table_space_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_table_space_stmt__free_unpacked - (PgQuery__CreateTableSpaceStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_table_space_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__drop_table_space_stmt__init - (PgQuery__DropTableSpaceStmt *message) -{ - static const PgQuery__DropTableSpaceStmt init_value = PG_QUERY__DROP_TABLE_SPACE_STMT__INIT; - *message = init_value; -} -size_t pg_query__drop_table_space_stmt__get_packed_size - (const PgQuery__DropTableSpaceStmt *message) -{ - assert(message->base.descriptor == &pg_query__drop_table_space_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__drop_table_space_stmt__pack - (const PgQuery__DropTableSpaceStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__drop_table_space_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__drop_table_space_stmt__pack_to_buffer - (const PgQuery__DropTableSpaceStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__drop_table_space_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DropTableSpaceStmt * - pg_query__drop_table_space_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DropTableSpaceStmt *) - protobuf_c_message_unpack (&pg_query__drop_table_space_stmt__descriptor, - allocator, len, data); -} -void pg_query__drop_table_space_stmt__free_unpacked - (PgQuery__DropTableSpaceStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__drop_table_space_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_table_space_options_stmt__init - (PgQuery__AlterTableSpaceOptionsStmt *message) -{ - static const PgQuery__AlterTableSpaceOptionsStmt init_value = PG_QUERY__ALTER_TABLE_SPACE_OPTIONS_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_table_space_options_stmt__get_packed_size - (const PgQuery__AlterTableSpaceOptionsStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_table_space_options_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_table_space_options_stmt__pack - (const PgQuery__AlterTableSpaceOptionsStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_table_space_options_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_table_space_options_stmt__pack_to_buffer - (const PgQuery__AlterTableSpaceOptionsStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_table_space_options_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterTableSpaceOptionsStmt * - pg_query__alter_table_space_options_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterTableSpaceOptionsStmt *) - protobuf_c_message_unpack (&pg_query__alter_table_space_options_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_table_space_options_stmt__free_unpacked - (PgQuery__AlterTableSpaceOptionsStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_table_space_options_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_table_move_all_stmt__init - (PgQuery__AlterTableMoveAllStmt *message) -{ - static const PgQuery__AlterTableMoveAllStmt init_value = PG_QUERY__ALTER_TABLE_MOVE_ALL_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_table_move_all_stmt__get_packed_size - (const PgQuery__AlterTableMoveAllStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_table_move_all_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_table_move_all_stmt__pack - (const PgQuery__AlterTableMoveAllStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_table_move_all_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_table_move_all_stmt__pack_to_buffer - (const PgQuery__AlterTableMoveAllStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_table_move_all_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterTableMoveAllStmt * - pg_query__alter_table_move_all_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterTableMoveAllStmt *) - protobuf_c_message_unpack (&pg_query__alter_table_move_all_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_table_move_all_stmt__free_unpacked - (PgQuery__AlterTableMoveAllStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_table_move_all_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_extension_stmt__init - (PgQuery__CreateExtensionStmt *message) -{ - static const PgQuery__CreateExtensionStmt init_value = PG_QUERY__CREATE_EXTENSION_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_extension_stmt__get_packed_size - (const PgQuery__CreateExtensionStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_extension_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_extension_stmt__pack - (const PgQuery__CreateExtensionStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_extension_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_extension_stmt__pack_to_buffer - (const PgQuery__CreateExtensionStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_extension_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateExtensionStmt * - pg_query__create_extension_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateExtensionStmt *) - protobuf_c_message_unpack (&pg_query__create_extension_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_extension_stmt__free_unpacked - (PgQuery__CreateExtensionStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_extension_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_extension_stmt__init - (PgQuery__AlterExtensionStmt *message) -{ - static const PgQuery__AlterExtensionStmt init_value = PG_QUERY__ALTER_EXTENSION_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_extension_stmt__get_packed_size - (const PgQuery__AlterExtensionStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_extension_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_extension_stmt__pack - (const PgQuery__AlterExtensionStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_extension_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_extension_stmt__pack_to_buffer - (const PgQuery__AlterExtensionStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_extension_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterExtensionStmt * - pg_query__alter_extension_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterExtensionStmt *) - protobuf_c_message_unpack (&pg_query__alter_extension_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_extension_stmt__free_unpacked - (PgQuery__AlterExtensionStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_extension_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_extension_contents_stmt__init - (PgQuery__AlterExtensionContentsStmt *message) -{ - static const PgQuery__AlterExtensionContentsStmt init_value = PG_QUERY__ALTER_EXTENSION_CONTENTS_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_extension_contents_stmt__get_packed_size - (const PgQuery__AlterExtensionContentsStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_extension_contents_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_extension_contents_stmt__pack - (const PgQuery__AlterExtensionContentsStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_extension_contents_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_extension_contents_stmt__pack_to_buffer - (const PgQuery__AlterExtensionContentsStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_extension_contents_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterExtensionContentsStmt * - pg_query__alter_extension_contents_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterExtensionContentsStmt *) - protobuf_c_message_unpack (&pg_query__alter_extension_contents_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_extension_contents_stmt__free_unpacked - (PgQuery__AlterExtensionContentsStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_extension_contents_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_fdw_stmt__init - (PgQuery__CreateFdwStmt *message) -{ - static const PgQuery__CreateFdwStmt init_value = PG_QUERY__CREATE_FDW_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_fdw_stmt__get_packed_size - (const PgQuery__CreateFdwStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_fdw_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_fdw_stmt__pack - (const PgQuery__CreateFdwStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_fdw_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_fdw_stmt__pack_to_buffer - (const PgQuery__CreateFdwStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_fdw_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateFdwStmt * - pg_query__create_fdw_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateFdwStmt *) - protobuf_c_message_unpack (&pg_query__create_fdw_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_fdw_stmt__free_unpacked - (PgQuery__CreateFdwStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_fdw_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_fdw_stmt__init - (PgQuery__AlterFdwStmt *message) -{ - static const PgQuery__AlterFdwStmt init_value = PG_QUERY__ALTER_FDW_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_fdw_stmt__get_packed_size - (const PgQuery__AlterFdwStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_fdw_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_fdw_stmt__pack - (const PgQuery__AlterFdwStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_fdw_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_fdw_stmt__pack_to_buffer - (const PgQuery__AlterFdwStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_fdw_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterFdwStmt * - pg_query__alter_fdw_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterFdwStmt *) - protobuf_c_message_unpack (&pg_query__alter_fdw_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_fdw_stmt__free_unpacked - (PgQuery__AlterFdwStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_fdw_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_foreign_server_stmt__init - (PgQuery__CreateForeignServerStmt *message) -{ - static const PgQuery__CreateForeignServerStmt init_value = PG_QUERY__CREATE_FOREIGN_SERVER_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_foreign_server_stmt__get_packed_size - (const PgQuery__CreateForeignServerStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_foreign_server_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_foreign_server_stmt__pack - (const PgQuery__CreateForeignServerStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_foreign_server_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_foreign_server_stmt__pack_to_buffer - (const PgQuery__CreateForeignServerStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_foreign_server_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateForeignServerStmt * - pg_query__create_foreign_server_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateForeignServerStmt *) - protobuf_c_message_unpack (&pg_query__create_foreign_server_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_foreign_server_stmt__free_unpacked - (PgQuery__CreateForeignServerStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_foreign_server_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_foreign_server_stmt__init - (PgQuery__AlterForeignServerStmt *message) -{ - static const PgQuery__AlterForeignServerStmt init_value = PG_QUERY__ALTER_FOREIGN_SERVER_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_foreign_server_stmt__get_packed_size - (const PgQuery__AlterForeignServerStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_foreign_server_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_foreign_server_stmt__pack - (const PgQuery__AlterForeignServerStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_foreign_server_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_foreign_server_stmt__pack_to_buffer - (const PgQuery__AlterForeignServerStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_foreign_server_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterForeignServerStmt * - pg_query__alter_foreign_server_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterForeignServerStmt *) - protobuf_c_message_unpack (&pg_query__alter_foreign_server_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_foreign_server_stmt__free_unpacked - (PgQuery__AlterForeignServerStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_foreign_server_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_foreign_table_stmt__init - (PgQuery__CreateForeignTableStmt *message) -{ - static const PgQuery__CreateForeignTableStmt init_value = PG_QUERY__CREATE_FOREIGN_TABLE_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_foreign_table_stmt__get_packed_size - (const PgQuery__CreateForeignTableStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_foreign_table_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_foreign_table_stmt__pack - (const PgQuery__CreateForeignTableStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_foreign_table_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_foreign_table_stmt__pack_to_buffer - (const PgQuery__CreateForeignTableStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_foreign_table_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateForeignTableStmt * - pg_query__create_foreign_table_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateForeignTableStmt *) - protobuf_c_message_unpack (&pg_query__create_foreign_table_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_foreign_table_stmt__free_unpacked - (PgQuery__CreateForeignTableStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_foreign_table_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_user_mapping_stmt__init - (PgQuery__CreateUserMappingStmt *message) -{ - static const PgQuery__CreateUserMappingStmt init_value = PG_QUERY__CREATE_USER_MAPPING_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_user_mapping_stmt__get_packed_size - (const PgQuery__CreateUserMappingStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_user_mapping_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_user_mapping_stmt__pack - (const PgQuery__CreateUserMappingStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_user_mapping_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_user_mapping_stmt__pack_to_buffer - (const PgQuery__CreateUserMappingStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_user_mapping_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateUserMappingStmt * - pg_query__create_user_mapping_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateUserMappingStmt *) - protobuf_c_message_unpack (&pg_query__create_user_mapping_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_user_mapping_stmt__free_unpacked - (PgQuery__CreateUserMappingStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_user_mapping_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_user_mapping_stmt__init - (PgQuery__AlterUserMappingStmt *message) -{ - static const PgQuery__AlterUserMappingStmt init_value = PG_QUERY__ALTER_USER_MAPPING_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_user_mapping_stmt__get_packed_size - (const PgQuery__AlterUserMappingStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_user_mapping_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_user_mapping_stmt__pack - (const PgQuery__AlterUserMappingStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_user_mapping_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_user_mapping_stmt__pack_to_buffer - (const PgQuery__AlterUserMappingStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_user_mapping_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterUserMappingStmt * - pg_query__alter_user_mapping_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterUserMappingStmt *) - protobuf_c_message_unpack (&pg_query__alter_user_mapping_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_user_mapping_stmt__free_unpacked - (PgQuery__AlterUserMappingStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_user_mapping_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__drop_user_mapping_stmt__init - (PgQuery__DropUserMappingStmt *message) -{ - static const PgQuery__DropUserMappingStmt init_value = PG_QUERY__DROP_USER_MAPPING_STMT__INIT; - *message = init_value; -} -size_t pg_query__drop_user_mapping_stmt__get_packed_size - (const PgQuery__DropUserMappingStmt *message) -{ - assert(message->base.descriptor == &pg_query__drop_user_mapping_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__drop_user_mapping_stmt__pack - (const PgQuery__DropUserMappingStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__drop_user_mapping_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__drop_user_mapping_stmt__pack_to_buffer - (const PgQuery__DropUserMappingStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__drop_user_mapping_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DropUserMappingStmt * - pg_query__drop_user_mapping_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DropUserMappingStmt *) - protobuf_c_message_unpack (&pg_query__drop_user_mapping_stmt__descriptor, - allocator, len, data); -} -void pg_query__drop_user_mapping_stmt__free_unpacked - (PgQuery__DropUserMappingStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__drop_user_mapping_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__import_foreign_schema_stmt__init - (PgQuery__ImportForeignSchemaStmt *message) -{ - static const PgQuery__ImportForeignSchemaStmt init_value = PG_QUERY__IMPORT_FOREIGN_SCHEMA_STMT__INIT; - *message = init_value; -} -size_t pg_query__import_foreign_schema_stmt__get_packed_size - (const PgQuery__ImportForeignSchemaStmt *message) -{ - assert(message->base.descriptor == &pg_query__import_foreign_schema_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__import_foreign_schema_stmt__pack - (const PgQuery__ImportForeignSchemaStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__import_foreign_schema_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__import_foreign_schema_stmt__pack_to_buffer - (const PgQuery__ImportForeignSchemaStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__import_foreign_schema_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ImportForeignSchemaStmt * - pg_query__import_foreign_schema_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ImportForeignSchemaStmt *) - protobuf_c_message_unpack (&pg_query__import_foreign_schema_stmt__descriptor, - allocator, len, data); -} -void pg_query__import_foreign_schema_stmt__free_unpacked - (PgQuery__ImportForeignSchemaStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__import_foreign_schema_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_policy_stmt__init - (PgQuery__CreatePolicyStmt *message) -{ - static const PgQuery__CreatePolicyStmt init_value = PG_QUERY__CREATE_POLICY_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_policy_stmt__get_packed_size - (const PgQuery__CreatePolicyStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_policy_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_policy_stmt__pack - (const PgQuery__CreatePolicyStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_policy_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_policy_stmt__pack_to_buffer - (const PgQuery__CreatePolicyStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_policy_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreatePolicyStmt * - pg_query__create_policy_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreatePolicyStmt *) - protobuf_c_message_unpack (&pg_query__create_policy_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_policy_stmt__free_unpacked - (PgQuery__CreatePolicyStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_policy_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_policy_stmt__init - (PgQuery__AlterPolicyStmt *message) -{ - static const PgQuery__AlterPolicyStmt init_value = PG_QUERY__ALTER_POLICY_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_policy_stmt__get_packed_size - (const PgQuery__AlterPolicyStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_policy_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_policy_stmt__pack - (const PgQuery__AlterPolicyStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_policy_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_policy_stmt__pack_to_buffer - (const PgQuery__AlterPolicyStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_policy_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterPolicyStmt * - pg_query__alter_policy_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterPolicyStmt *) - protobuf_c_message_unpack (&pg_query__alter_policy_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_policy_stmt__free_unpacked - (PgQuery__AlterPolicyStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_policy_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_am_stmt__init - (PgQuery__CreateAmStmt *message) -{ - static const PgQuery__CreateAmStmt init_value = PG_QUERY__CREATE_AM_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_am_stmt__get_packed_size - (const PgQuery__CreateAmStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_am_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_am_stmt__pack - (const PgQuery__CreateAmStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_am_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_am_stmt__pack_to_buffer - (const PgQuery__CreateAmStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_am_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateAmStmt * - pg_query__create_am_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateAmStmt *) - protobuf_c_message_unpack (&pg_query__create_am_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_am_stmt__free_unpacked - (PgQuery__CreateAmStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_am_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_trig_stmt__init - (PgQuery__CreateTrigStmt *message) -{ - static const PgQuery__CreateTrigStmt init_value = PG_QUERY__CREATE_TRIG_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_trig_stmt__get_packed_size - (const PgQuery__CreateTrigStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_trig_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_trig_stmt__pack - (const PgQuery__CreateTrigStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_trig_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_trig_stmt__pack_to_buffer - (const PgQuery__CreateTrigStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_trig_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateTrigStmt * - pg_query__create_trig_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateTrigStmt *) - protobuf_c_message_unpack (&pg_query__create_trig_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_trig_stmt__free_unpacked - (PgQuery__CreateTrigStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_trig_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_event_trig_stmt__init - (PgQuery__CreateEventTrigStmt *message) -{ - static const PgQuery__CreateEventTrigStmt init_value = PG_QUERY__CREATE_EVENT_TRIG_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_event_trig_stmt__get_packed_size - (const PgQuery__CreateEventTrigStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_event_trig_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_event_trig_stmt__pack - (const PgQuery__CreateEventTrigStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_event_trig_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_event_trig_stmt__pack_to_buffer - (const PgQuery__CreateEventTrigStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_event_trig_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateEventTrigStmt * - pg_query__create_event_trig_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateEventTrigStmt *) - protobuf_c_message_unpack (&pg_query__create_event_trig_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_event_trig_stmt__free_unpacked - (PgQuery__CreateEventTrigStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_event_trig_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_event_trig_stmt__init - (PgQuery__AlterEventTrigStmt *message) -{ - static const PgQuery__AlterEventTrigStmt init_value = PG_QUERY__ALTER_EVENT_TRIG_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_event_trig_stmt__get_packed_size - (const PgQuery__AlterEventTrigStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_event_trig_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_event_trig_stmt__pack - (const PgQuery__AlterEventTrigStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_event_trig_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_event_trig_stmt__pack_to_buffer - (const PgQuery__AlterEventTrigStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_event_trig_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterEventTrigStmt * - pg_query__alter_event_trig_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterEventTrigStmt *) - protobuf_c_message_unpack (&pg_query__alter_event_trig_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_event_trig_stmt__free_unpacked - (PgQuery__AlterEventTrigStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_event_trig_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_plang_stmt__init - (PgQuery__CreatePLangStmt *message) -{ - static const PgQuery__CreatePLangStmt init_value = PG_QUERY__CREATE_PLANG_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_plang_stmt__get_packed_size - (const PgQuery__CreatePLangStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_plang_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_plang_stmt__pack - (const PgQuery__CreatePLangStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_plang_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_plang_stmt__pack_to_buffer - (const PgQuery__CreatePLangStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_plang_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreatePLangStmt * - pg_query__create_plang_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreatePLangStmt *) - protobuf_c_message_unpack (&pg_query__create_plang_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_plang_stmt__free_unpacked - (PgQuery__CreatePLangStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_plang_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_role_stmt__init - (PgQuery__CreateRoleStmt *message) -{ - static const PgQuery__CreateRoleStmt init_value = PG_QUERY__CREATE_ROLE_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_role_stmt__get_packed_size - (const PgQuery__CreateRoleStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_role_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_role_stmt__pack - (const PgQuery__CreateRoleStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_role_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_role_stmt__pack_to_buffer - (const PgQuery__CreateRoleStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_role_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateRoleStmt * - pg_query__create_role_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateRoleStmt *) - protobuf_c_message_unpack (&pg_query__create_role_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_role_stmt__free_unpacked - (PgQuery__CreateRoleStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_role_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_role_stmt__init - (PgQuery__AlterRoleStmt *message) -{ - static const PgQuery__AlterRoleStmt init_value = PG_QUERY__ALTER_ROLE_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_role_stmt__get_packed_size - (const PgQuery__AlterRoleStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_role_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_role_stmt__pack - (const PgQuery__AlterRoleStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_role_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_role_stmt__pack_to_buffer - (const PgQuery__AlterRoleStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_role_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterRoleStmt * - pg_query__alter_role_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterRoleStmt *) - protobuf_c_message_unpack (&pg_query__alter_role_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_role_stmt__free_unpacked - (PgQuery__AlterRoleStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_role_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_role_set_stmt__init - (PgQuery__AlterRoleSetStmt *message) -{ - static const PgQuery__AlterRoleSetStmt init_value = PG_QUERY__ALTER_ROLE_SET_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_role_set_stmt__get_packed_size - (const PgQuery__AlterRoleSetStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_role_set_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_role_set_stmt__pack - (const PgQuery__AlterRoleSetStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_role_set_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_role_set_stmt__pack_to_buffer - (const PgQuery__AlterRoleSetStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_role_set_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterRoleSetStmt * - pg_query__alter_role_set_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterRoleSetStmt *) - protobuf_c_message_unpack (&pg_query__alter_role_set_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_role_set_stmt__free_unpacked - (PgQuery__AlterRoleSetStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_role_set_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__drop_role_stmt__init - (PgQuery__DropRoleStmt *message) -{ - static const PgQuery__DropRoleStmt init_value = PG_QUERY__DROP_ROLE_STMT__INIT; - *message = init_value; -} -size_t pg_query__drop_role_stmt__get_packed_size - (const PgQuery__DropRoleStmt *message) -{ - assert(message->base.descriptor == &pg_query__drop_role_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__drop_role_stmt__pack - (const PgQuery__DropRoleStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__drop_role_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__drop_role_stmt__pack_to_buffer - (const PgQuery__DropRoleStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__drop_role_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DropRoleStmt * - pg_query__drop_role_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DropRoleStmt *) - protobuf_c_message_unpack (&pg_query__drop_role_stmt__descriptor, - allocator, len, data); -} -void pg_query__drop_role_stmt__free_unpacked - (PgQuery__DropRoleStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__drop_role_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_seq_stmt__init - (PgQuery__CreateSeqStmt *message) -{ - static const PgQuery__CreateSeqStmt init_value = PG_QUERY__CREATE_SEQ_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_seq_stmt__get_packed_size - (const PgQuery__CreateSeqStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_seq_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_seq_stmt__pack - (const PgQuery__CreateSeqStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_seq_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_seq_stmt__pack_to_buffer - (const PgQuery__CreateSeqStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_seq_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateSeqStmt * - pg_query__create_seq_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateSeqStmt *) - protobuf_c_message_unpack (&pg_query__create_seq_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_seq_stmt__free_unpacked - (PgQuery__CreateSeqStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_seq_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_seq_stmt__init - (PgQuery__AlterSeqStmt *message) -{ - static const PgQuery__AlterSeqStmt init_value = PG_QUERY__ALTER_SEQ_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_seq_stmt__get_packed_size - (const PgQuery__AlterSeqStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_seq_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_seq_stmt__pack - (const PgQuery__AlterSeqStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_seq_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_seq_stmt__pack_to_buffer - (const PgQuery__AlterSeqStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_seq_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterSeqStmt * - pg_query__alter_seq_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterSeqStmt *) - protobuf_c_message_unpack (&pg_query__alter_seq_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_seq_stmt__free_unpacked - (PgQuery__AlterSeqStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_seq_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__define_stmt__init - (PgQuery__DefineStmt *message) -{ - static const PgQuery__DefineStmt init_value = PG_QUERY__DEFINE_STMT__INIT; - *message = init_value; -} -size_t pg_query__define_stmt__get_packed_size - (const PgQuery__DefineStmt *message) -{ - assert(message->base.descriptor == &pg_query__define_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__define_stmt__pack - (const PgQuery__DefineStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__define_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__define_stmt__pack_to_buffer - (const PgQuery__DefineStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__define_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DefineStmt * - pg_query__define_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DefineStmt *) - protobuf_c_message_unpack (&pg_query__define_stmt__descriptor, - allocator, len, data); -} -void pg_query__define_stmt__free_unpacked - (PgQuery__DefineStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__define_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_domain_stmt__init - (PgQuery__CreateDomainStmt *message) -{ - static const PgQuery__CreateDomainStmt init_value = PG_QUERY__CREATE_DOMAIN_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_domain_stmt__get_packed_size - (const PgQuery__CreateDomainStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_domain_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_domain_stmt__pack - (const PgQuery__CreateDomainStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_domain_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_domain_stmt__pack_to_buffer - (const PgQuery__CreateDomainStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_domain_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateDomainStmt * - pg_query__create_domain_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateDomainStmt *) - protobuf_c_message_unpack (&pg_query__create_domain_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_domain_stmt__free_unpacked - (PgQuery__CreateDomainStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_domain_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_op_class_stmt__init - (PgQuery__CreateOpClassStmt *message) -{ - static const PgQuery__CreateOpClassStmt init_value = PG_QUERY__CREATE_OP_CLASS_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_op_class_stmt__get_packed_size - (const PgQuery__CreateOpClassStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_op_class_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_op_class_stmt__pack - (const PgQuery__CreateOpClassStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_op_class_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_op_class_stmt__pack_to_buffer - (const PgQuery__CreateOpClassStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_op_class_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateOpClassStmt * - pg_query__create_op_class_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateOpClassStmt *) - protobuf_c_message_unpack (&pg_query__create_op_class_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_op_class_stmt__free_unpacked - (PgQuery__CreateOpClassStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_op_class_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_op_class_item__init - (PgQuery__CreateOpClassItem *message) -{ - static const PgQuery__CreateOpClassItem init_value = PG_QUERY__CREATE_OP_CLASS_ITEM__INIT; - *message = init_value; -} -size_t pg_query__create_op_class_item__get_packed_size - (const PgQuery__CreateOpClassItem *message) -{ - assert(message->base.descriptor == &pg_query__create_op_class_item__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_op_class_item__pack - (const PgQuery__CreateOpClassItem *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_op_class_item__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_op_class_item__pack_to_buffer - (const PgQuery__CreateOpClassItem *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_op_class_item__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateOpClassItem * - pg_query__create_op_class_item__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateOpClassItem *) - protobuf_c_message_unpack (&pg_query__create_op_class_item__descriptor, - allocator, len, data); -} -void pg_query__create_op_class_item__free_unpacked - (PgQuery__CreateOpClassItem *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_op_class_item__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_op_family_stmt__init - (PgQuery__CreateOpFamilyStmt *message) -{ - static const PgQuery__CreateOpFamilyStmt init_value = PG_QUERY__CREATE_OP_FAMILY_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_op_family_stmt__get_packed_size - (const PgQuery__CreateOpFamilyStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_op_family_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_op_family_stmt__pack - (const PgQuery__CreateOpFamilyStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_op_family_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_op_family_stmt__pack_to_buffer - (const PgQuery__CreateOpFamilyStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_op_family_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateOpFamilyStmt * - pg_query__create_op_family_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateOpFamilyStmt *) - protobuf_c_message_unpack (&pg_query__create_op_family_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_op_family_stmt__free_unpacked - (PgQuery__CreateOpFamilyStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_op_family_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_op_family_stmt__init - (PgQuery__AlterOpFamilyStmt *message) -{ - static const PgQuery__AlterOpFamilyStmt init_value = PG_QUERY__ALTER_OP_FAMILY_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_op_family_stmt__get_packed_size - (const PgQuery__AlterOpFamilyStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_op_family_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_op_family_stmt__pack - (const PgQuery__AlterOpFamilyStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_op_family_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_op_family_stmt__pack_to_buffer - (const PgQuery__AlterOpFamilyStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_op_family_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterOpFamilyStmt * - pg_query__alter_op_family_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterOpFamilyStmt *) - protobuf_c_message_unpack (&pg_query__alter_op_family_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_op_family_stmt__free_unpacked - (PgQuery__AlterOpFamilyStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_op_family_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__drop_stmt__init - (PgQuery__DropStmt *message) -{ - static const PgQuery__DropStmt init_value = PG_QUERY__DROP_STMT__INIT; - *message = init_value; -} -size_t pg_query__drop_stmt__get_packed_size - (const PgQuery__DropStmt *message) -{ - assert(message->base.descriptor == &pg_query__drop_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__drop_stmt__pack - (const PgQuery__DropStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__drop_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__drop_stmt__pack_to_buffer - (const PgQuery__DropStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__drop_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DropStmt * - pg_query__drop_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DropStmt *) - protobuf_c_message_unpack (&pg_query__drop_stmt__descriptor, - allocator, len, data); -} -void pg_query__drop_stmt__free_unpacked - (PgQuery__DropStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__drop_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__truncate_stmt__init - (PgQuery__TruncateStmt *message) -{ - static const PgQuery__TruncateStmt init_value = PG_QUERY__TRUNCATE_STMT__INIT; - *message = init_value; -} -size_t pg_query__truncate_stmt__get_packed_size - (const PgQuery__TruncateStmt *message) -{ - assert(message->base.descriptor == &pg_query__truncate_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__truncate_stmt__pack - (const PgQuery__TruncateStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__truncate_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__truncate_stmt__pack_to_buffer - (const PgQuery__TruncateStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__truncate_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__TruncateStmt * - pg_query__truncate_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__TruncateStmt *) - protobuf_c_message_unpack (&pg_query__truncate_stmt__descriptor, - allocator, len, data); -} -void pg_query__truncate_stmt__free_unpacked - (PgQuery__TruncateStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__truncate_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__comment_stmt__init - (PgQuery__CommentStmt *message) -{ - static const PgQuery__CommentStmt init_value = PG_QUERY__COMMENT_STMT__INIT; - *message = init_value; -} -size_t pg_query__comment_stmt__get_packed_size - (const PgQuery__CommentStmt *message) -{ - assert(message->base.descriptor == &pg_query__comment_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__comment_stmt__pack - (const PgQuery__CommentStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__comment_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__comment_stmt__pack_to_buffer - (const PgQuery__CommentStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__comment_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CommentStmt * - pg_query__comment_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CommentStmt *) - protobuf_c_message_unpack (&pg_query__comment_stmt__descriptor, - allocator, len, data); -} -void pg_query__comment_stmt__free_unpacked - (PgQuery__CommentStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__comment_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__sec_label_stmt__init - (PgQuery__SecLabelStmt *message) -{ - static const PgQuery__SecLabelStmt init_value = PG_QUERY__SEC_LABEL_STMT__INIT; - *message = init_value; -} -size_t pg_query__sec_label_stmt__get_packed_size - (const PgQuery__SecLabelStmt *message) -{ - assert(message->base.descriptor == &pg_query__sec_label_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__sec_label_stmt__pack - (const PgQuery__SecLabelStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__sec_label_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__sec_label_stmt__pack_to_buffer - (const PgQuery__SecLabelStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__sec_label_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SecLabelStmt * - pg_query__sec_label_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SecLabelStmt *) - protobuf_c_message_unpack (&pg_query__sec_label_stmt__descriptor, - allocator, len, data); -} -void pg_query__sec_label_stmt__free_unpacked - (PgQuery__SecLabelStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__sec_label_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__declare_cursor_stmt__init - (PgQuery__DeclareCursorStmt *message) -{ - static const PgQuery__DeclareCursorStmt init_value = PG_QUERY__DECLARE_CURSOR_STMT__INIT; - *message = init_value; -} -size_t pg_query__declare_cursor_stmt__get_packed_size - (const PgQuery__DeclareCursorStmt *message) -{ - assert(message->base.descriptor == &pg_query__declare_cursor_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__declare_cursor_stmt__pack - (const PgQuery__DeclareCursorStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__declare_cursor_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__declare_cursor_stmt__pack_to_buffer - (const PgQuery__DeclareCursorStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__declare_cursor_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DeclareCursorStmt * - pg_query__declare_cursor_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DeclareCursorStmt *) - protobuf_c_message_unpack (&pg_query__declare_cursor_stmt__descriptor, - allocator, len, data); -} -void pg_query__declare_cursor_stmt__free_unpacked - (PgQuery__DeclareCursorStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__declare_cursor_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__close_portal_stmt__init - (PgQuery__ClosePortalStmt *message) -{ - static const PgQuery__ClosePortalStmt init_value = PG_QUERY__CLOSE_PORTAL_STMT__INIT; - *message = init_value; -} -size_t pg_query__close_portal_stmt__get_packed_size - (const PgQuery__ClosePortalStmt *message) -{ - assert(message->base.descriptor == &pg_query__close_portal_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__close_portal_stmt__pack - (const PgQuery__ClosePortalStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__close_portal_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__close_portal_stmt__pack_to_buffer - (const PgQuery__ClosePortalStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__close_portal_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ClosePortalStmt * - pg_query__close_portal_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ClosePortalStmt *) - protobuf_c_message_unpack (&pg_query__close_portal_stmt__descriptor, - allocator, len, data); -} -void pg_query__close_portal_stmt__free_unpacked - (PgQuery__ClosePortalStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__close_portal_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__fetch_stmt__init - (PgQuery__FetchStmt *message) -{ - static const PgQuery__FetchStmt init_value = PG_QUERY__FETCH_STMT__INIT; - *message = init_value; -} -size_t pg_query__fetch_stmt__get_packed_size - (const PgQuery__FetchStmt *message) -{ - assert(message->base.descriptor == &pg_query__fetch_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__fetch_stmt__pack - (const PgQuery__FetchStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__fetch_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__fetch_stmt__pack_to_buffer - (const PgQuery__FetchStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__fetch_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__FetchStmt * - pg_query__fetch_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__FetchStmt *) - protobuf_c_message_unpack (&pg_query__fetch_stmt__descriptor, - allocator, len, data); -} -void pg_query__fetch_stmt__free_unpacked - (PgQuery__FetchStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__fetch_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__index_stmt__init - (PgQuery__IndexStmt *message) -{ - static const PgQuery__IndexStmt init_value = PG_QUERY__INDEX_STMT__INIT; - *message = init_value; -} -size_t pg_query__index_stmt__get_packed_size - (const PgQuery__IndexStmt *message) -{ - assert(message->base.descriptor == &pg_query__index_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__index_stmt__pack - (const PgQuery__IndexStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__index_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__index_stmt__pack_to_buffer - (const PgQuery__IndexStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__index_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__IndexStmt * - pg_query__index_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__IndexStmt *) - protobuf_c_message_unpack (&pg_query__index_stmt__descriptor, - allocator, len, data); -} -void pg_query__index_stmt__free_unpacked - (PgQuery__IndexStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__index_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_stats_stmt__init - (PgQuery__CreateStatsStmt *message) -{ - static const PgQuery__CreateStatsStmt init_value = PG_QUERY__CREATE_STATS_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_stats_stmt__get_packed_size - (const PgQuery__CreateStatsStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_stats_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_stats_stmt__pack - (const PgQuery__CreateStatsStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_stats_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_stats_stmt__pack_to_buffer - (const PgQuery__CreateStatsStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_stats_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateStatsStmt * - pg_query__create_stats_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateStatsStmt *) - protobuf_c_message_unpack (&pg_query__create_stats_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_stats_stmt__free_unpacked - (PgQuery__CreateStatsStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_stats_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__stats_elem__init - (PgQuery__StatsElem *message) -{ - static const PgQuery__StatsElem init_value = PG_QUERY__STATS_ELEM__INIT; - *message = init_value; -} -size_t pg_query__stats_elem__get_packed_size - (const PgQuery__StatsElem *message) -{ - assert(message->base.descriptor == &pg_query__stats_elem__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__stats_elem__pack - (const PgQuery__StatsElem *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__stats_elem__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__stats_elem__pack_to_buffer - (const PgQuery__StatsElem *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__stats_elem__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__StatsElem * - pg_query__stats_elem__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__StatsElem *) - protobuf_c_message_unpack (&pg_query__stats_elem__descriptor, - allocator, len, data); -} -void pg_query__stats_elem__free_unpacked - (PgQuery__StatsElem *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__stats_elem__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_stats_stmt__init - (PgQuery__AlterStatsStmt *message) -{ - static const PgQuery__AlterStatsStmt init_value = PG_QUERY__ALTER_STATS_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_stats_stmt__get_packed_size - (const PgQuery__AlterStatsStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_stats_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_stats_stmt__pack - (const PgQuery__AlterStatsStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_stats_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_stats_stmt__pack_to_buffer - (const PgQuery__AlterStatsStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_stats_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterStatsStmt * - pg_query__alter_stats_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterStatsStmt *) - protobuf_c_message_unpack (&pg_query__alter_stats_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_stats_stmt__free_unpacked - (PgQuery__AlterStatsStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_stats_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_function_stmt__init - (PgQuery__CreateFunctionStmt *message) -{ - static const PgQuery__CreateFunctionStmt init_value = PG_QUERY__CREATE_FUNCTION_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_function_stmt__get_packed_size - (const PgQuery__CreateFunctionStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_function_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_function_stmt__pack - (const PgQuery__CreateFunctionStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_function_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_function_stmt__pack_to_buffer - (const PgQuery__CreateFunctionStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_function_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateFunctionStmt * - pg_query__create_function_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateFunctionStmt *) - protobuf_c_message_unpack (&pg_query__create_function_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_function_stmt__free_unpacked - (PgQuery__CreateFunctionStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_function_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__function_parameter__init - (PgQuery__FunctionParameter *message) -{ - static const PgQuery__FunctionParameter init_value = PG_QUERY__FUNCTION_PARAMETER__INIT; - *message = init_value; -} -size_t pg_query__function_parameter__get_packed_size - (const PgQuery__FunctionParameter *message) -{ - assert(message->base.descriptor == &pg_query__function_parameter__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__function_parameter__pack - (const PgQuery__FunctionParameter *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__function_parameter__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__function_parameter__pack_to_buffer - (const PgQuery__FunctionParameter *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__function_parameter__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__FunctionParameter * - pg_query__function_parameter__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__FunctionParameter *) - protobuf_c_message_unpack (&pg_query__function_parameter__descriptor, - allocator, len, data); -} -void pg_query__function_parameter__free_unpacked - (PgQuery__FunctionParameter *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__function_parameter__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_function_stmt__init - (PgQuery__AlterFunctionStmt *message) -{ - static const PgQuery__AlterFunctionStmt init_value = PG_QUERY__ALTER_FUNCTION_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_function_stmt__get_packed_size - (const PgQuery__AlterFunctionStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_function_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_function_stmt__pack - (const PgQuery__AlterFunctionStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_function_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_function_stmt__pack_to_buffer - (const PgQuery__AlterFunctionStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_function_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterFunctionStmt * - pg_query__alter_function_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterFunctionStmt *) - protobuf_c_message_unpack (&pg_query__alter_function_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_function_stmt__free_unpacked - (PgQuery__AlterFunctionStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_function_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__do_stmt__init - (PgQuery__DoStmt *message) -{ - static const PgQuery__DoStmt init_value = PG_QUERY__DO_STMT__INIT; - *message = init_value; -} -size_t pg_query__do_stmt__get_packed_size - (const PgQuery__DoStmt *message) -{ - assert(message->base.descriptor == &pg_query__do_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__do_stmt__pack - (const PgQuery__DoStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__do_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__do_stmt__pack_to_buffer - (const PgQuery__DoStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__do_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DoStmt * - pg_query__do_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DoStmt *) - protobuf_c_message_unpack (&pg_query__do_stmt__descriptor, - allocator, len, data); -} -void pg_query__do_stmt__free_unpacked - (PgQuery__DoStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__do_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__inline_code_block__init - (PgQuery__InlineCodeBlock *message) -{ - static const PgQuery__InlineCodeBlock init_value = PG_QUERY__INLINE_CODE_BLOCK__INIT; - *message = init_value; -} -size_t pg_query__inline_code_block__get_packed_size - (const PgQuery__InlineCodeBlock *message) -{ - assert(message->base.descriptor == &pg_query__inline_code_block__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__inline_code_block__pack - (const PgQuery__InlineCodeBlock *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__inline_code_block__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__inline_code_block__pack_to_buffer - (const PgQuery__InlineCodeBlock *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__inline_code_block__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__InlineCodeBlock * - pg_query__inline_code_block__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__InlineCodeBlock *) - protobuf_c_message_unpack (&pg_query__inline_code_block__descriptor, - allocator, len, data); -} -void pg_query__inline_code_block__free_unpacked - (PgQuery__InlineCodeBlock *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__inline_code_block__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__call_stmt__init - (PgQuery__CallStmt *message) -{ - static const PgQuery__CallStmt init_value = PG_QUERY__CALL_STMT__INIT; - *message = init_value; -} -size_t pg_query__call_stmt__get_packed_size - (const PgQuery__CallStmt *message) -{ - assert(message->base.descriptor == &pg_query__call_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__call_stmt__pack - (const PgQuery__CallStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__call_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__call_stmt__pack_to_buffer - (const PgQuery__CallStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__call_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CallStmt * - pg_query__call_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CallStmt *) - protobuf_c_message_unpack (&pg_query__call_stmt__descriptor, - allocator, len, data); -} -void pg_query__call_stmt__free_unpacked - (PgQuery__CallStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__call_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__call_context__init - (PgQuery__CallContext *message) -{ - static const PgQuery__CallContext init_value = PG_QUERY__CALL_CONTEXT__INIT; - *message = init_value; -} -size_t pg_query__call_context__get_packed_size - (const PgQuery__CallContext *message) -{ - assert(message->base.descriptor == &pg_query__call_context__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__call_context__pack - (const PgQuery__CallContext *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__call_context__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__call_context__pack_to_buffer - (const PgQuery__CallContext *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__call_context__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CallContext * - pg_query__call_context__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CallContext *) - protobuf_c_message_unpack (&pg_query__call_context__descriptor, - allocator, len, data); -} -void pg_query__call_context__free_unpacked - (PgQuery__CallContext *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__call_context__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__rename_stmt__init - (PgQuery__RenameStmt *message) -{ - static const PgQuery__RenameStmt init_value = PG_QUERY__RENAME_STMT__INIT; - *message = init_value; -} -size_t pg_query__rename_stmt__get_packed_size - (const PgQuery__RenameStmt *message) -{ - assert(message->base.descriptor == &pg_query__rename_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__rename_stmt__pack - (const PgQuery__RenameStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__rename_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__rename_stmt__pack_to_buffer - (const PgQuery__RenameStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__rename_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RenameStmt * - pg_query__rename_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RenameStmt *) - protobuf_c_message_unpack (&pg_query__rename_stmt__descriptor, - allocator, len, data); -} -void pg_query__rename_stmt__free_unpacked - (PgQuery__RenameStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__rename_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_object_depends_stmt__init - (PgQuery__AlterObjectDependsStmt *message) -{ - static const PgQuery__AlterObjectDependsStmt init_value = PG_QUERY__ALTER_OBJECT_DEPENDS_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_object_depends_stmt__get_packed_size - (const PgQuery__AlterObjectDependsStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_object_depends_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_object_depends_stmt__pack - (const PgQuery__AlterObjectDependsStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_object_depends_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_object_depends_stmt__pack_to_buffer - (const PgQuery__AlterObjectDependsStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_object_depends_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterObjectDependsStmt * - pg_query__alter_object_depends_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterObjectDependsStmt *) - protobuf_c_message_unpack (&pg_query__alter_object_depends_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_object_depends_stmt__free_unpacked - (PgQuery__AlterObjectDependsStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_object_depends_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_object_schema_stmt__init - (PgQuery__AlterObjectSchemaStmt *message) -{ - static const PgQuery__AlterObjectSchemaStmt init_value = PG_QUERY__ALTER_OBJECT_SCHEMA_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_object_schema_stmt__get_packed_size - (const PgQuery__AlterObjectSchemaStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_object_schema_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_object_schema_stmt__pack - (const PgQuery__AlterObjectSchemaStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_object_schema_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_object_schema_stmt__pack_to_buffer - (const PgQuery__AlterObjectSchemaStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_object_schema_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterObjectSchemaStmt * - pg_query__alter_object_schema_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterObjectSchemaStmt *) - protobuf_c_message_unpack (&pg_query__alter_object_schema_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_object_schema_stmt__free_unpacked - (PgQuery__AlterObjectSchemaStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_object_schema_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_owner_stmt__init - (PgQuery__AlterOwnerStmt *message) -{ - static const PgQuery__AlterOwnerStmt init_value = PG_QUERY__ALTER_OWNER_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_owner_stmt__get_packed_size - (const PgQuery__AlterOwnerStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_owner_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_owner_stmt__pack - (const PgQuery__AlterOwnerStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_owner_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_owner_stmt__pack_to_buffer - (const PgQuery__AlterOwnerStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_owner_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterOwnerStmt * - pg_query__alter_owner_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterOwnerStmt *) - protobuf_c_message_unpack (&pg_query__alter_owner_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_owner_stmt__free_unpacked - (PgQuery__AlterOwnerStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_owner_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_operator_stmt__init - (PgQuery__AlterOperatorStmt *message) -{ - static const PgQuery__AlterOperatorStmt init_value = PG_QUERY__ALTER_OPERATOR_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_operator_stmt__get_packed_size - (const PgQuery__AlterOperatorStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_operator_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_operator_stmt__pack - (const PgQuery__AlterOperatorStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_operator_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_operator_stmt__pack_to_buffer - (const PgQuery__AlterOperatorStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_operator_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterOperatorStmt * - pg_query__alter_operator_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterOperatorStmt *) - protobuf_c_message_unpack (&pg_query__alter_operator_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_operator_stmt__free_unpacked - (PgQuery__AlterOperatorStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_operator_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_type_stmt__init - (PgQuery__AlterTypeStmt *message) -{ - static const PgQuery__AlterTypeStmt init_value = PG_QUERY__ALTER_TYPE_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_type_stmt__get_packed_size - (const PgQuery__AlterTypeStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_type_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_type_stmt__pack - (const PgQuery__AlterTypeStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_type_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_type_stmt__pack_to_buffer - (const PgQuery__AlterTypeStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_type_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterTypeStmt * - pg_query__alter_type_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterTypeStmt *) - protobuf_c_message_unpack (&pg_query__alter_type_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_type_stmt__free_unpacked - (PgQuery__AlterTypeStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_type_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__rule_stmt__init - (PgQuery__RuleStmt *message) -{ - static const PgQuery__RuleStmt init_value = PG_QUERY__RULE_STMT__INIT; - *message = init_value; -} -size_t pg_query__rule_stmt__get_packed_size - (const PgQuery__RuleStmt *message) -{ - assert(message->base.descriptor == &pg_query__rule_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__rule_stmt__pack - (const PgQuery__RuleStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__rule_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__rule_stmt__pack_to_buffer - (const PgQuery__RuleStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__rule_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RuleStmt * - pg_query__rule_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RuleStmt *) - protobuf_c_message_unpack (&pg_query__rule_stmt__descriptor, - allocator, len, data); -} -void pg_query__rule_stmt__free_unpacked - (PgQuery__RuleStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__rule_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__notify_stmt__init - (PgQuery__NotifyStmt *message) -{ - static const PgQuery__NotifyStmt init_value = PG_QUERY__NOTIFY_STMT__INIT; - *message = init_value; -} -size_t pg_query__notify_stmt__get_packed_size - (const PgQuery__NotifyStmt *message) -{ - assert(message->base.descriptor == &pg_query__notify_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__notify_stmt__pack - (const PgQuery__NotifyStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__notify_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__notify_stmt__pack_to_buffer - (const PgQuery__NotifyStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__notify_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__NotifyStmt * - pg_query__notify_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__NotifyStmt *) - protobuf_c_message_unpack (&pg_query__notify_stmt__descriptor, - allocator, len, data); -} -void pg_query__notify_stmt__free_unpacked - (PgQuery__NotifyStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__notify_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__listen_stmt__init - (PgQuery__ListenStmt *message) -{ - static const PgQuery__ListenStmt init_value = PG_QUERY__LISTEN_STMT__INIT; - *message = init_value; -} -size_t pg_query__listen_stmt__get_packed_size - (const PgQuery__ListenStmt *message) -{ - assert(message->base.descriptor == &pg_query__listen_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__listen_stmt__pack - (const PgQuery__ListenStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__listen_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__listen_stmt__pack_to_buffer - (const PgQuery__ListenStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__listen_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ListenStmt * - pg_query__listen_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ListenStmt *) - protobuf_c_message_unpack (&pg_query__listen_stmt__descriptor, - allocator, len, data); -} -void pg_query__listen_stmt__free_unpacked - (PgQuery__ListenStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__listen_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__unlisten_stmt__init - (PgQuery__UnlistenStmt *message) -{ - static const PgQuery__UnlistenStmt init_value = PG_QUERY__UNLISTEN_STMT__INIT; - *message = init_value; -} -size_t pg_query__unlisten_stmt__get_packed_size - (const PgQuery__UnlistenStmt *message) -{ - assert(message->base.descriptor == &pg_query__unlisten_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__unlisten_stmt__pack - (const PgQuery__UnlistenStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__unlisten_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__unlisten_stmt__pack_to_buffer - (const PgQuery__UnlistenStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__unlisten_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__UnlistenStmt * - pg_query__unlisten_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__UnlistenStmt *) - protobuf_c_message_unpack (&pg_query__unlisten_stmt__descriptor, - allocator, len, data); -} -void pg_query__unlisten_stmt__free_unpacked - (PgQuery__UnlistenStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__unlisten_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__transaction_stmt__init - (PgQuery__TransactionStmt *message) -{ - static const PgQuery__TransactionStmt init_value = PG_QUERY__TRANSACTION_STMT__INIT; - *message = init_value; -} -size_t pg_query__transaction_stmt__get_packed_size - (const PgQuery__TransactionStmt *message) -{ - assert(message->base.descriptor == &pg_query__transaction_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__transaction_stmt__pack - (const PgQuery__TransactionStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__transaction_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__transaction_stmt__pack_to_buffer - (const PgQuery__TransactionStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__transaction_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__TransactionStmt * - pg_query__transaction_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__TransactionStmt *) - protobuf_c_message_unpack (&pg_query__transaction_stmt__descriptor, - allocator, len, data); -} -void pg_query__transaction_stmt__free_unpacked - (PgQuery__TransactionStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__transaction_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__composite_type_stmt__init - (PgQuery__CompositeTypeStmt *message) -{ - static const PgQuery__CompositeTypeStmt init_value = PG_QUERY__COMPOSITE_TYPE_STMT__INIT; - *message = init_value; -} -size_t pg_query__composite_type_stmt__get_packed_size - (const PgQuery__CompositeTypeStmt *message) -{ - assert(message->base.descriptor == &pg_query__composite_type_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__composite_type_stmt__pack - (const PgQuery__CompositeTypeStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__composite_type_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__composite_type_stmt__pack_to_buffer - (const PgQuery__CompositeTypeStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__composite_type_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CompositeTypeStmt * - pg_query__composite_type_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CompositeTypeStmt *) - protobuf_c_message_unpack (&pg_query__composite_type_stmt__descriptor, - allocator, len, data); -} -void pg_query__composite_type_stmt__free_unpacked - (PgQuery__CompositeTypeStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__composite_type_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_enum_stmt__init - (PgQuery__CreateEnumStmt *message) -{ - static const PgQuery__CreateEnumStmt init_value = PG_QUERY__CREATE_ENUM_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_enum_stmt__get_packed_size - (const PgQuery__CreateEnumStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_enum_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_enum_stmt__pack - (const PgQuery__CreateEnumStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_enum_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_enum_stmt__pack_to_buffer - (const PgQuery__CreateEnumStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_enum_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateEnumStmt * - pg_query__create_enum_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateEnumStmt *) - protobuf_c_message_unpack (&pg_query__create_enum_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_enum_stmt__free_unpacked - (PgQuery__CreateEnumStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_enum_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_range_stmt__init - (PgQuery__CreateRangeStmt *message) -{ - static const PgQuery__CreateRangeStmt init_value = PG_QUERY__CREATE_RANGE_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_range_stmt__get_packed_size - (const PgQuery__CreateRangeStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_range_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_range_stmt__pack - (const PgQuery__CreateRangeStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_range_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_range_stmt__pack_to_buffer - (const PgQuery__CreateRangeStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_range_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateRangeStmt * - pg_query__create_range_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateRangeStmt *) - protobuf_c_message_unpack (&pg_query__create_range_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_range_stmt__free_unpacked - (PgQuery__CreateRangeStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_range_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_enum_stmt__init - (PgQuery__AlterEnumStmt *message) -{ - static const PgQuery__AlterEnumStmt init_value = PG_QUERY__ALTER_ENUM_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_enum_stmt__get_packed_size - (const PgQuery__AlterEnumStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_enum_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_enum_stmt__pack - (const PgQuery__AlterEnumStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_enum_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_enum_stmt__pack_to_buffer - (const PgQuery__AlterEnumStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_enum_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterEnumStmt * - pg_query__alter_enum_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterEnumStmt *) - protobuf_c_message_unpack (&pg_query__alter_enum_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_enum_stmt__free_unpacked - (PgQuery__AlterEnumStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_enum_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__view_stmt__init - (PgQuery__ViewStmt *message) -{ - static const PgQuery__ViewStmt init_value = PG_QUERY__VIEW_STMT__INIT; - *message = init_value; -} -size_t pg_query__view_stmt__get_packed_size - (const PgQuery__ViewStmt *message) -{ - assert(message->base.descriptor == &pg_query__view_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__view_stmt__pack - (const PgQuery__ViewStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__view_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__view_stmt__pack_to_buffer - (const PgQuery__ViewStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__view_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ViewStmt * - pg_query__view_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ViewStmt *) - protobuf_c_message_unpack (&pg_query__view_stmt__descriptor, - allocator, len, data); -} -void pg_query__view_stmt__free_unpacked - (PgQuery__ViewStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__view_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__load_stmt__init - (PgQuery__LoadStmt *message) -{ - static const PgQuery__LoadStmt init_value = PG_QUERY__LOAD_STMT__INIT; - *message = init_value; -} -size_t pg_query__load_stmt__get_packed_size - (const PgQuery__LoadStmt *message) -{ - assert(message->base.descriptor == &pg_query__load_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__load_stmt__pack - (const PgQuery__LoadStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__load_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__load_stmt__pack_to_buffer - (const PgQuery__LoadStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__load_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__LoadStmt * - pg_query__load_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__LoadStmt *) - protobuf_c_message_unpack (&pg_query__load_stmt__descriptor, - allocator, len, data); -} -void pg_query__load_stmt__free_unpacked - (PgQuery__LoadStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__load_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__createdb_stmt__init - (PgQuery__CreatedbStmt *message) -{ - static const PgQuery__CreatedbStmt init_value = PG_QUERY__CREATEDB_STMT__INIT; - *message = init_value; -} -size_t pg_query__createdb_stmt__get_packed_size - (const PgQuery__CreatedbStmt *message) -{ - assert(message->base.descriptor == &pg_query__createdb_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__createdb_stmt__pack - (const PgQuery__CreatedbStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__createdb_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__createdb_stmt__pack_to_buffer - (const PgQuery__CreatedbStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__createdb_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreatedbStmt * - pg_query__createdb_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreatedbStmt *) - protobuf_c_message_unpack (&pg_query__createdb_stmt__descriptor, - allocator, len, data); -} -void pg_query__createdb_stmt__free_unpacked - (PgQuery__CreatedbStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__createdb_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_database_stmt__init - (PgQuery__AlterDatabaseStmt *message) -{ - static const PgQuery__AlterDatabaseStmt init_value = PG_QUERY__ALTER_DATABASE_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_database_stmt__get_packed_size - (const PgQuery__AlterDatabaseStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_database_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_database_stmt__pack - (const PgQuery__AlterDatabaseStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_database_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_database_stmt__pack_to_buffer - (const PgQuery__AlterDatabaseStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_database_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterDatabaseStmt * - pg_query__alter_database_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterDatabaseStmt *) - protobuf_c_message_unpack (&pg_query__alter_database_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_database_stmt__free_unpacked - (PgQuery__AlterDatabaseStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_database_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_database_refresh_coll_stmt__init - (PgQuery__AlterDatabaseRefreshCollStmt *message) -{ - static const PgQuery__AlterDatabaseRefreshCollStmt init_value = PG_QUERY__ALTER_DATABASE_REFRESH_COLL_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_database_refresh_coll_stmt__get_packed_size - (const PgQuery__AlterDatabaseRefreshCollStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_database_refresh_coll_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_database_refresh_coll_stmt__pack - (const PgQuery__AlterDatabaseRefreshCollStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_database_refresh_coll_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_database_refresh_coll_stmt__pack_to_buffer - (const PgQuery__AlterDatabaseRefreshCollStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_database_refresh_coll_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterDatabaseRefreshCollStmt * - pg_query__alter_database_refresh_coll_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterDatabaseRefreshCollStmt *) - protobuf_c_message_unpack (&pg_query__alter_database_refresh_coll_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_database_refresh_coll_stmt__free_unpacked - (PgQuery__AlterDatabaseRefreshCollStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_database_refresh_coll_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_database_set_stmt__init - (PgQuery__AlterDatabaseSetStmt *message) -{ - static const PgQuery__AlterDatabaseSetStmt init_value = PG_QUERY__ALTER_DATABASE_SET_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_database_set_stmt__get_packed_size - (const PgQuery__AlterDatabaseSetStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_database_set_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_database_set_stmt__pack - (const PgQuery__AlterDatabaseSetStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_database_set_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_database_set_stmt__pack_to_buffer - (const PgQuery__AlterDatabaseSetStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_database_set_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterDatabaseSetStmt * - pg_query__alter_database_set_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterDatabaseSetStmt *) - protobuf_c_message_unpack (&pg_query__alter_database_set_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_database_set_stmt__free_unpacked - (PgQuery__AlterDatabaseSetStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_database_set_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__dropdb_stmt__init - (PgQuery__DropdbStmt *message) -{ - static const PgQuery__DropdbStmt init_value = PG_QUERY__DROPDB_STMT__INIT; - *message = init_value; -} -size_t pg_query__dropdb_stmt__get_packed_size - (const PgQuery__DropdbStmt *message) -{ - assert(message->base.descriptor == &pg_query__dropdb_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__dropdb_stmt__pack - (const PgQuery__DropdbStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__dropdb_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__dropdb_stmt__pack_to_buffer - (const PgQuery__DropdbStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__dropdb_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DropdbStmt * - pg_query__dropdb_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DropdbStmt *) - protobuf_c_message_unpack (&pg_query__dropdb_stmt__descriptor, - allocator, len, data); -} -void pg_query__dropdb_stmt__free_unpacked - (PgQuery__DropdbStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__dropdb_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_system_stmt__init - (PgQuery__AlterSystemStmt *message) -{ - static const PgQuery__AlterSystemStmt init_value = PG_QUERY__ALTER_SYSTEM_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_system_stmt__get_packed_size - (const PgQuery__AlterSystemStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_system_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_system_stmt__pack - (const PgQuery__AlterSystemStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_system_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_system_stmt__pack_to_buffer - (const PgQuery__AlterSystemStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_system_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterSystemStmt * - pg_query__alter_system_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterSystemStmt *) - protobuf_c_message_unpack (&pg_query__alter_system_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_system_stmt__free_unpacked - (PgQuery__AlterSystemStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_system_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__cluster_stmt__init - (PgQuery__ClusterStmt *message) -{ - static const PgQuery__ClusterStmt init_value = PG_QUERY__CLUSTER_STMT__INIT; - *message = init_value; -} -size_t pg_query__cluster_stmt__get_packed_size - (const PgQuery__ClusterStmt *message) -{ - assert(message->base.descriptor == &pg_query__cluster_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__cluster_stmt__pack - (const PgQuery__ClusterStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__cluster_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__cluster_stmt__pack_to_buffer - (const PgQuery__ClusterStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__cluster_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ClusterStmt * - pg_query__cluster_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ClusterStmt *) - protobuf_c_message_unpack (&pg_query__cluster_stmt__descriptor, - allocator, len, data); -} -void pg_query__cluster_stmt__free_unpacked - (PgQuery__ClusterStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__cluster_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__vacuum_stmt__init - (PgQuery__VacuumStmt *message) -{ - static const PgQuery__VacuumStmt init_value = PG_QUERY__VACUUM_STMT__INIT; - *message = init_value; -} -size_t pg_query__vacuum_stmt__get_packed_size - (const PgQuery__VacuumStmt *message) -{ - assert(message->base.descriptor == &pg_query__vacuum_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__vacuum_stmt__pack - (const PgQuery__VacuumStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__vacuum_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__vacuum_stmt__pack_to_buffer - (const PgQuery__VacuumStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__vacuum_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__VacuumStmt * - pg_query__vacuum_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__VacuumStmt *) - protobuf_c_message_unpack (&pg_query__vacuum_stmt__descriptor, - allocator, len, data); -} -void pg_query__vacuum_stmt__free_unpacked - (PgQuery__VacuumStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__vacuum_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__vacuum_relation__init - (PgQuery__VacuumRelation *message) -{ - static const PgQuery__VacuumRelation init_value = PG_QUERY__VACUUM_RELATION__INIT; - *message = init_value; -} -size_t pg_query__vacuum_relation__get_packed_size - (const PgQuery__VacuumRelation *message) -{ - assert(message->base.descriptor == &pg_query__vacuum_relation__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__vacuum_relation__pack - (const PgQuery__VacuumRelation *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__vacuum_relation__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__vacuum_relation__pack_to_buffer - (const PgQuery__VacuumRelation *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__vacuum_relation__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__VacuumRelation * - pg_query__vacuum_relation__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__VacuumRelation *) - protobuf_c_message_unpack (&pg_query__vacuum_relation__descriptor, - allocator, len, data); -} -void pg_query__vacuum_relation__free_unpacked - (PgQuery__VacuumRelation *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__vacuum_relation__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__explain_stmt__init - (PgQuery__ExplainStmt *message) -{ - static const PgQuery__ExplainStmt init_value = PG_QUERY__EXPLAIN_STMT__INIT; - *message = init_value; -} -size_t pg_query__explain_stmt__get_packed_size - (const PgQuery__ExplainStmt *message) -{ - assert(message->base.descriptor == &pg_query__explain_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__explain_stmt__pack - (const PgQuery__ExplainStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__explain_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__explain_stmt__pack_to_buffer - (const PgQuery__ExplainStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__explain_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ExplainStmt * - pg_query__explain_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ExplainStmt *) - protobuf_c_message_unpack (&pg_query__explain_stmt__descriptor, - allocator, len, data); -} -void pg_query__explain_stmt__free_unpacked - (PgQuery__ExplainStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__explain_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_table_as_stmt__init - (PgQuery__CreateTableAsStmt *message) -{ - static const PgQuery__CreateTableAsStmt init_value = PG_QUERY__CREATE_TABLE_AS_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_table_as_stmt__get_packed_size - (const PgQuery__CreateTableAsStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_table_as_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_table_as_stmt__pack - (const PgQuery__CreateTableAsStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_table_as_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_table_as_stmt__pack_to_buffer - (const PgQuery__CreateTableAsStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_table_as_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateTableAsStmt * - pg_query__create_table_as_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateTableAsStmt *) - protobuf_c_message_unpack (&pg_query__create_table_as_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_table_as_stmt__free_unpacked - (PgQuery__CreateTableAsStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_table_as_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__refresh_mat_view_stmt__init - (PgQuery__RefreshMatViewStmt *message) -{ - static const PgQuery__RefreshMatViewStmt init_value = PG_QUERY__REFRESH_MAT_VIEW_STMT__INIT; - *message = init_value; -} -size_t pg_query__refresh_mat_view_stmt__get_packed_size - (const PgQuery__RefreshMatViewStmt *message) -{ - assert(message->base.descriptor == &pg_query__refresh_mat_view_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__refresh_mat_view_stmt__pack - (const PgQuery__RefreshMatViewStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__refresh_mat_view_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__refresh_mat_view_stmt__pack_to_buffer - (const PgQuery__RefreshMatViewStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__refresh_mat_view_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__RefreshMatViewStmt * - pg_query__refresh_mat_view_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__RefreshMatViewStmt *) - protobuf_c_message_unpack (&pg_query__refresh_mat_view_stmt__descriptor, - allocator, len, data); -} -void pg_query__refresh_mat_view_stmt__free_unpacked - (PgQuery__RefreshMatViewStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__refresh_mat_view_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__check_point_stmt__init - (PgQuery__CheckPointStmt *message) -{ - static const PgQuery__CheckPointStmt init_value = PG_QUERY__CHECK_POINT_STMT__INIT; - *message = init_value; -} -size_t pg_query__check_point_stmt__get_packed_size - (const PgQuery__CheckPointStmt *message) -{ - assert(message->base.descriptor == &pg_query__check_point_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__check_point_stmt__pack - (const PgQuery__CheckPointStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__check_point_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__check_point_stmt__pack_to_buffer - (const PgQuery__CheckPointStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__check_point_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CheckPointStmt * - pg_query__check_point_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CheckPointStmt *) - protobuf_c_message_unpack (&pg_query__check_point_stmt__descriptor, - allocator, len, data); -} -void pg_query__check_point_stmt__free_unpacked - (PgQuery__CheckPointStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__check_point_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__discard_stmt__init - (PgQuery__DiscardStmt *message) -{ - static const PgQuery__DiscardStmt init_value = PG_QUERY__DISCARD_STMT__INIT; - *message = init_value; -} -size_t pg_query__discard_stmt__get_packed_size - (const PgQuery__DiscardStmt *message) -{ - assert(message->base.descriptor == &pg_query__discard_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__discard_stmt__pack - (const PgQuery__DiscardStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__discard_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__discard_stmt__pack_to_buffer - (const PgQuery__DiscardStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__discard_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DiscardStmt * - pg_query__discard_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DiscardStmt *) - protobuf_c_message_unpack (&pg_query__discard_stmt__descriptor, - allocator, len, data); -} -void pg_query__discard_stmt__free_unpacked - (PgQuery__DiscardStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__discard_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__lock_stmt__init - (PgQuery__LockStmt *message) -{ - static const PgQuery__LockStmt init_value = PG_QUERY__LOCK_STMT__INIT; - *message = init_value; -} -size_t pg_query__lock_stmt__get_packed_size - (const PgQuery__LockStmt *message) -{ - assert(message->base.descriptor == &pg_query__lock_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__lock_stmt__pack - (const PgQuery__LockStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__lock_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__lock_stmt__pack_to_buffer - (const PgQuery__LockStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__lock_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__LockStmt * - pg_query__lock_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__LockStmt *) - protobuf_c_message_unpack (&pg_query__lock_stmt__descriptor, - allocator, len, data); -} -void pg_query__lock_stmt__free_unpacked - (PgQuery__LockStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__lock_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__constraints_set_stmt__init - (PgQuery__ConstraintsSetStmt *message) -{ - static const PgQuery__ConstraintsSetStmt init_value = PG_QUERY__CONSTRAINTS_SET_STMT__INIT; - *message = init_value; -} -size_t pg_query__constraints_set_stmt__get_packed_size - (const PgQuery__ConstraintsSetStmt *message) -{ - assert(message->base.descriptor == &pg_query__constraints_set_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__constraints_set_stmt__pack - (const PgQuery__ConstraintsSetStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__constraints_set_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__constraints_set_stmt__pack_to_buffer - (const PgQuery__ConstraintsSetStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__constraints_set_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ConstraintsSetStmt * - pg_query__constraints_set_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ConstraintsSetStmt *) - protobuf_c_message_unpack (&pg_query__constraints_set_stmt__descriptor, - allocator, len, data); -} -void pg_query__constraints_set_stmt__free_unpacked - (PgQuery__ConstraintsSetStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__constraints_set_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__reindex_stmt__init - (PgQuery__ReindexStmt *message) -{ - static const PgQuery__ReindexStmt init_value = PG_QUERY__REINDEX_STMT__INIT; - *message = init_value; -} -size_t pg_query__reindex_stmt__get_packed_size - (const PgQuery__ReindexStmt *message) -{ - assert(message->base.descriptor == &pg_query__reindex_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__reindex_stmt__pack - (const PgQuery__ReindexStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__reindex_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__reindex_stmt__pack_to_buffer - (const PgQuery__ReindexStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__reindex_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ReindexStmt * - pg_query__reindex_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ReindexStmt *) - protobuf_c_message_unpack (&pg_query__reindex_stmt__descriptor, - allocator, len, data); -} -void pg_query__reindex_stmt__free_unpacked - (PgQuery__ReindexStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__reindex_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_conversion_stmt__init - (PgQuery__CreateConversionStmt *message) -{ - static const PgQuery__CreateConversionStmt init_value = PG_QUERY__CREATE_CONVERSION_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_conversion_stmt__get_packed_size - (const PgQuery__CreateConversionStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_conversion_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_conversion_stmt__pack - (const PgQuery__CreateConversionStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_conversion_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_conversion_stmt__pack_to_buffer - (const PgQuery__CreateConversionStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_conversion_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateConversionStmt * - pg_query__create_conversion_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateConversionStmt *) - protobuf_c_message_unpack (&pg_query__create_conversion_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_conversion_stmt__free_unpacked - (PgQuery__CreateConversionStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_conversion_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_cast_stmt__init - (PgQuery__CreateCastStmt *message) -{ - static const PgQuery__CreateCastStmt init_value = PG_QUERY__CREATE_CAST_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_cast_stmt__get_packed_size - (const PgQuery__CreateCastStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_cast_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_cast_stmt__pack - (const PgQuery__CreateCastStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_cast_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_cast_stmt__pack_to_buffer - (const PgQuery__CreateCastStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_cast_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateCastStmt * - pg_query__create_cast_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateCastStmt *) - protobuf_c_message_unpack (&pg_query__create_cast_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_cast_stmt__free_unpacked - (PgQuery__CreateCastStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_cast_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_transform_stmt__init - (PgQuery__CreateTransformStmt *message) -{ - static const PgQuery__CreateTransformStmt init_value = PG_QUERY__CREATE_TRANSFORM_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_transform_stmt__get_packed_size - (const PgQuery__CreateTransformStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_transform_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_transform_stmt__pack - (const PgQuery__CreateTransformStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_transform_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_transform_stmt__pack_to_buffer - (const PgQuery__CreateTransformStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_transform_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateTransformStmt * - pg_query__create_transform_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateTransformStmt *) - protobuf_c_message_unpack (&pg_query__create_transform_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_transform_stmt__free_unpacked - (PgQuery__CreateTransformStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_transform_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__prepare_stmt__init - (PgQuery__PrepareStmt *message) -{ - static const PgQuery__PrepareStmt init_value = PG_QUERY__PREPARE_STMT__INIT; - *message = init_value; -} -size_t pg_query__prepare_stmt__get_packed_size - (const PgQuery__PrepareStmt *message) -{ - assert(message->base.descriptor == &pg_query__prepare_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__prepare_stmt__pack - (const PgQuery__PrepareStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__prepare_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__prepare_stmt__pack_to_buffer - (const PgQuery__PrepareStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__prepare_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__PrepareStmt * - pg_query__prepare_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__PrepareStmt *) - protobuf_c_message_unpack (&pg_query__prepare_stmt__descriptor, - allocator, len, data); -} -void pg_query__prepare_stmt__free_unpacked - (PgQuery__PrepareStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__prepare_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__execute_stmt__init - (PgQuery__ExecuteStmt *message) -{ - static const PgQuery__ExecuteStmt init_value = PG_QUERY__EXECUTE_STMT__INIT; - *message = init_value; -} -size_t pg_query__execute_stmt__get_packed_size - (const PgQuery__ExecuteStmt *message) -{ - assert(message->base.descriptor == &pg_query__execute_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__execute_stmt__pack - (const PgQuery__ExecuteStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__execute_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__execute_stmt__pack_to_buffer - (const PgQuery__ExecuteStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__execute_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ExecuteStmt * - pg_query__execute_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ExecuteStmt *) - protobuf_c_message_unpack (&pg_query__execute_stmt__descriptor, - allocator, len, data); -} -void pg_query__execute_stmt__free_unpacked - (PgQuery__ExecuteStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__execute_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__deallocate_stmt__init - (PgQuery__DeallocateStmt *message) -{ - static const PgQuery__DeallocateStmt init_value = PG_QUERY__DEALLOCATE_STMT__INIT; - *message = init_value; -} -size_t pg_query__deallocate_stmt__get_packed_size - (const PgQuery__DeallocateStmt *message) -{ - assert(message->base.descriptor == &pg_query__deallocate_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__deallocate_stmt__pack - (const PgQuery__DeallocateStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__deallocate_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__deallocate_stmt__pack_to_buffer - (const PgQuery__DeallocateStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__deallocate_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DeallocateStmt * - pg_query__deallocate_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DeallocateStmt *) - protobuf_c_message_unpack (&pg_query__deallocate_stmt__descriptor, - allocator, len, data); -} -void pg_query__deallocate_stmt__free_unpacked - (PgQuery__DeallocateStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__deallocate_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__drop_owned_stmt__init - (PgQuery__DropOwnedStmt *message) -{ - static const PgQuery__DropOwnedStmt init_value = PG_QUERY__DROP_OWNED_STMT__INIT; - *message = init_value; -} -size_t pg_query__drop_owned_stmt__get_packed_size - (const PgQuery__DropOwnedStmt *message) -{ - assert(message->base.descriptor == &pg_query__drop_owned_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__drop_owned_stmt__pack - (const PgQuery__DropOwnedStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__drop_owned_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__drop_owned_stmt__pack_to_buffer - (const PgQuery__DropOwnedStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__drop_owned_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DropOwnedStmt * - pg_query__drop_owned_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DropOwnedStmt *) - protobuf_c_message_unpack (&pg_query__drop_owned_stmt__descriptor, - allocator, len, data); -} -void pg_query__drop_owned_stmt__free_unpacked - (PgQuery__DropOwnedStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__drop_owned_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__reassign_owned_stmt__init - (PgQuery__ReassignOwnedStmt *message) -{ - static const PgQuery__ReassignOwnedStmt init_value = PG_QUERY__REASSIGN_OWNED_STMT__INIT; - *message = init_value; -} -size_t pg_query__reassign_owned_stmt__get_packed_size - (const PgQuery__ReassignOwnedStmt *message) -{ - assert(message->base.descriptor == &pg_query__reassign_owned_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__reassign_owned_stmt__pack - (const PgQuery__ReassignOwnedStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__reassign_owned_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__reassign_owned_stmt__pack_to_buffer - (const PgQuery__ReassignOwnedStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__reassign_owned_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ReassignOwnedStmt * - pg_query__reassign_owned_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ReassignOwnedStmt *) - protobuf_c_message_unpack (&pg_query__reassign_owned_stmt__descriptor, - allocator, len, data); -} -void pg_query__reassign_owned_stmt__free_unpacked - (PgQuery__ReassignOwnedStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__reassign_owned_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_tsdictionary_stmt__init - (PgQuery__AlterTSDictionaryStmt *message) -{ - static const PgQuery__AlterTSDictionaryStmt init_value = PG_QUERY__ALTER_TSDICTIONARY_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_tsdictionary_stmt__get_packed_size - (const PgQuery__AlterTSDictionaryStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_tsdictionary_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_tsdictionary_stmt__pack - (const PgQuery__AlterTSDictionaryStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_tsdictionary_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_tsdictionary_stmt__pack_to_buffer - (const PgQuery__AlterTSDictionaryStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_tsdictionary_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterTSDictionaryStmt * - pg_query__alter_tsdictionary_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterTSDictionaryStmt *) - protobuf_c_message_unpack (&pg_query__alter_tsdictionary_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_tsdictionary_stmt__free_unpacked - (PgQuery__AlterTSDictionaryStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_tsdictionary_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_tsconfiguration_stmt__init - (PgQuery__AlterTSConfigurationStmt *message) -{ - static const PgQuery__AlterTSConfigurationStmt init_value = PG_QUERY__ALTER_TSCONFIGURATION_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_tsconfiguration_stmt__get_packed_size - (const PgQuery__AlterTSConfigurationStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_tsconfiguration_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_tsconfiguration_stmt__pack - (const PgQuery__AlterTSConfigurationStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_tsconfiguration_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_tsconfiguration_stmt__pack_to_buffer - (const PgQuery__AlterTSConfigurationStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_tsconfiguration_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterTSConfigurationStmt * - pg_query__alter_tsconfiguration_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterTSConfigurationStmt *) - protobuf_c_message_unpack (&pg_query__alter_tsconfiguration_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_tsconfiguration_stmt__free_unpacked - (PgQuery__AlterTSConfigurationStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_tsconfiguration_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__publication_table__init - (PgQuery__PublicationTable *message) -{ - static const PgQuery__PublicationTable init_value = PG_QUERY__PUBLICATION_TABLE__INIT; - *message = init_value; -} -size_t pg_query__publication_table__get_packed_size - (const PgQuery__PublicationTable *message) -{ - assert(message->base.descriptor == &pg_query__publication_table__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__publication_table__pack - (const PgQuery__PublicationTable *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__publication_table__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__publication_table__pack_to_buffer - (const PgQuery__PublicationTable *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__publication_table__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__PublicationTable * - pg_query__publication_table__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__PublicationTable *) - protobuf_c_message_unpack (&pg_query__publication_table__descriptor, - allocator, len, data); -} -void pg_query__publication_table__free_unpacked - (PgQuery__PublicationTable *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__publication_table__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__publication_obj_spec__init - (PgQuery__PublicationObjSpec *message) -{ - static const PgQuery__PublicationObjSpec init_value = PG_QUERY__PUBLICATION_OBJ_SPEC__INIT; - *message = init_value; -} -size_t pg_query__publication_obj_spec__get_packed_size - (const PgQuery__PublicationObjSpec *message) -{ - assert(message->base.descriptor == &pg_query__publication_obj_spec__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__publication_obj_spec__pack - (const PgQuery__PublicationObjSpec *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__publication_obj_spec__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__publication_obj_spec__pack_to_buffer - (const PgQuery__PublicationObjSpec *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__publication_obj_spec__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__PublicationObjSpec * - pg_query__publication_obj_spec__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__PublicationObjSpec *) - protobuf_c_message_unpack (&pg_query__publication_obj_spec__descriptor, - allocator, len, data); -} -void pg_query__publication_obj_spec__free_unpacked - (PgQuery__PublicationObjSpec *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__publication_obj_spec__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_publication_stmt__init - (PgQuery__CreatePublicationStmt *message) -{ - static const PgQuery__CreatePublicationStmt init_value = PG_QUERY__CREATE_PUBLICATION_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_publication_stmt__get_packed_size - (const PgQuery__CreatePublicationStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_publication_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_publication_stmt__pack - (const PgQuery__CreatePublicationStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_publication_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_publication_stmt__pack_to_buffer - (const PgQuery__CreatePublicationStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_publication_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreatePublicationStmt * - pg_query__create_publication_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreatePublicationStmt *) - protobuf_c_message_unpack (&pg_query__create_publication_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_publication_stmt__free_unpacked - (PgQuery__CreatePublicationStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_publication_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_publication_stmt__init - (PgQuery__AlterPublicationStmt *message) -{ - static const PgQuery__AlterPublicationStmt init_value = PG_QUERY__ALTER_PUBLICATION_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_publication_stmt__get_packed_size - (const PgQuery__AlterPublicationStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_publication_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_publication_stmt__pack - (const PgQuery__AlterPublicationStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_publication_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_publication_stmt__pack_to_buffer - (const PgQuery__AlterPublicationStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_publication_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterPublicationStmt * - pg_query__alter_publication_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterPublicationStmt *) - protobuf_c_message_unpack (&pg_query__alter_publication_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_publication_stmt__free_unpacked - (PgQuery__AlterPublicationStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_publication_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__create_subscription_stmt__init - (PgQuery__CreateSubscriptionStmt *message) -{ - static const PgQuery__CreateSubscriptionStmt init_value = PG_QUERY__CREATE_SUBSCRIPTION_STMT__INIT; - *message = init_value; -} -size_t pg_query__create_subscription_stmt__get_packed_size - (const PgQuery__CreateSubscriptionStmt *message) -{ - assert(message->base.descriptor == &pg_query__create_subscription_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__create_subscription_stmt__pack - (const PgQuery__CreateSubscriptionStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__create_subscription_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__create_subscription_stmt__pack_to_buffer - (const PgQuery__CreateSubscriptionStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__create_subscription_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__CreateSubscriptionStmt * - pg_query__create_subscription_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__CreateSubscriptionStmt *) - protobuf_c_message_unpack (&pg_query__create_subscription_stmt__descriptor, - allocator, len, data); -} -void pg_query__create_subscription_stmt__free_unpacked - (PgQuery__CreateSubscriptionStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__create_subscription_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__alter_subscription_stmt__init - (PgQuery__AlterSubscriptionStmt *message) -{ - static const PgQuery__AlterSubscriptionStmt init_value = PG_QUERY__ALTER_SUBSCRIPTION_STMT__INIT; - *message = init_value; -} -size_t pg_query__alter_subscription_stmt__get_packed_size - (const PgQuery__AlterSubscriptionStmt *message) -{ - assert(message->base.descriptor == &pg_query__alter_subscription_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__alter_subscription_stmt__pack - (const PgQuery__AlterSubscriptionStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__alter_subscription_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__alter_subscription_stmt__pack_to_buffer - (const PgQuery__AlterSubscriptionStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__alter_subscription_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__AlterSubscriptionStmt * - pg_query__alter_subscription_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__AlterSubscriptionStmt *) - protobuf_c_message_unpack (&pg_query__alter_subscription_stmt__descriptor, - allocator, len, data); -} -void pg_query__alter_subscription_stmt__free_unpacked - (PgQuery__AlterSubscriptionStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__alter_subscription_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__drop_subscription_stmt__init - (PgQuery__DropSubscriptionStmt *message) -{ - static const PgQuery__DropSubscriptionStmt init_value = PG_QUERY__DROP_SUBSCRIPTION_STMT__INIT; - *message = init_value; -} -size_t pg_query__drop_subscription_stmt__get_packed_size - (const PgQuery__DropSubscriptionStmt *message) -{ - assert(message->base.descriptor == &pg_query__drop_subscription_stmt__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__drop_subscription_stmt__pack - (const PgQuery__DropSubscriptionStmt *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__drop_subscription_stmt__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__drop_subscription_stmt__pack_to_buffer - (const PgQuery__DropSubscriptionStmt *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__drop_subscription_stmt__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__DropSubscriptionStmt * - pg_query__drop_subscription_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__DropSubscriptionStmt *) - protobuf_c_message_unpack (&pg_query__drop_subscription_stmt__descriptor, - allocator, len, data); -} -void pg_query__drop_subscription_stmt__free_unpacked - (PgQuery__DropSubscriptionStmt *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__drop_subscription_stmt__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__scan_token__init - (PgQuery__ScanToken *message) -{ - static const PgQuery__ScanToken init_value = PG_QUERY__SCAN_TOKEN__INIT; - *message = init_value; -} -size_t pg_query__scan_token__get_packed_size - (const PgQuery__ScanToken *message) -{ - assert(message->base.descriptor == &pg_query__scan_token__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__scan_token__pack - (const PgQuery__ScanToken *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__scan_token__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__scan_token__pack_to_buffer - (const PgQuery__ScanToken *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__scan_token__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__ScanToken * - pg_query__scan_token__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__ScanToken *) - protobuf_c_message_unpack (&pg_query__scan_token__descriptor, - allocator, len, data); -} -void pg_query__scan_token__free_unpacked - (PgQuery__ScanToken *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__scan_token__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -void pg_query__summary_result__table__init - (PgQuery__SummaryResult__Table *message) -{ - static const PgQuery__SummaryResult__Table init_value = PG_QUERY__SUMMARY_RESULT__TABLE__INIT; - *message = init_value; -} -void pg_query__summary_result__aliases_entry__init - (PgQuery__SummaryResult__AliasesEntry *message) -{ - static const PgQuery__SummaryResult__AliasesEntry init_value = PG_QUERY__SUMMARY_RESULT__ALIASES_ENTRY__INIT; - *message = init_value; -} -void pg_query__summary_result__function__init - (PgQuery__SummaryResult__Function *message) -{ - static const PgQuery__SummaryResult__Function init_value = PG_QUERY__SUMMARY_RESULT__FUNCTION__INIT; - *message = init_value; -} -void pg_query__summary_result__filter_column__init - (PgQuery__SummaryResult__FilterColumn *message) -{ - static const PgQuery__SummaryResult__FilterColumn init_value = PG_QUERY__SUMMARY_RESULT__FILTER_COLUMN__INIT; - *message = init_value; -} -void pg_query__summary_result__init - (PgQuery__SummaryResult *message) -{ - static const PgQuery__SummaryResult init_value = PG_QUERY__SUMMARY_RESULT__INIT; - *message = init_value; -} -size_t pg_query__summary_result__get_packed_size - (const PgQuery__SummaryResult *message) -{ - assert(message->base.descriptor == &pg_query__summary_result__descriptor); - return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); -} -size_t pg_query__summary_result__pack - (const PgQuery__SummaryResult *message, - uint8_t *out) -{ - assert(message->base.descriptor == &pg_query__summary_result__descriptor); - return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); -} -size_t pg_query__summary_result__pack_to_buffer - (const PgQuery__SummaryResult *message, - ProtobufCBuffer *buffer) -{ - assert(message->base.descriptor == &pg_query__summary_result__descriptor); - return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); -} -PgQuery__SummaryResult * - pg_query__summary_result__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data) -{ - return (PgQuery__SummaryResult *) - protobuf_c_message_unpack (&pg_query__summary_result__descriptor, - allocator, len, data); -} -void pg_query__summary_result__free_unpacked - (PgQuery__SummaryResult *message, - ProtobufCAllocator *allocator) -{ - if(!message) - return; - assert(message->base.descriptor == &pg_query__summary_result__descriptor); - protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); -} -static const ProtobufCFieldDescriptor pg_query__parse_result__field_descriptors[2] = -{ - { - "version", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ParseResult, version), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stmts", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ParseResult, n_stmts), - offsetof(PgQuery__ParseResult, stmts), - &pg_query__raw_stmt__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__parse_result__field_indices_by_name[] = { - 1, /* field[1] = stmts */ - 0, /* field[0] = version */ -}; -static const ProtobufCIntRange pg_query__parse_result__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__parse_result__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ParseResult", - "ParseResult", - "PgQuery__ParseResult", - "pg_query", - sizeof(PgQuery__ParseResult), - 2, - pg_query__parse_result__field_descriptors, - pg_query__parse_result__field_indices_by_name, - 1, pg_query__parse_result__number_ranges, - (ProtobufCMessageInit) pg_query__parse_result__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__scan_result__field_descriptors[2] = -{ - { - "version", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ScanResult, version), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "tokens", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ScanResult, n_tokens), - offsetof(PgQuery__ScanResult, tokens), - &pg_query__scan_token__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__scan_result__field_indices_by_name[] = { - 1, /* field[1] = tokens */ - 0, /* field[0] = version */ -}; -static const ProtobufCIntRange pg_query__scan_result__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__scan_result__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ScanResult", - "ScanResult", - "PgQuery__ScanResult", - "pg_query", - sizeof(PgQuery__ScanResult), - 2, - pg_query__scan_result__field_descriptors, - pg_query__scan_result__field_indices_by_name, - 1, pg_query__scan_result__number_ranges, - (ProtobufCMessageInit) pg_query__scan_result__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__node__field_descriptors[271] = -{ - { - "alias", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alias), - &pg_query__alias__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "range_var", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, range_var), - &pg_query__range_var__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table_func", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, table_func), - &pg_query__table_func__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "into_clause", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, into_clause), - &pg_query__into_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "var", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, var), - &pg_query__var__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "param", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, param), - &pg_query__param__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggref", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, aggref), - &pg_query__aggref__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "grouping_func", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, grouping_func), - &pg_query__grouping_func__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "window_func", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, window_func), - &pg_query__window_func__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "window_func_run_condition", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, window_func_run_condition), - &pg_query__window_func_run_condition__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "merge_support_func", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, merge_support_func), - &pg_query__merge_support_func__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "subscripting_ref", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, subscripting_ref), - &pg_query__subscripting_ref__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "func_expr", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, func_expr), - &pg_query__func_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "named_arg_expr", - 14, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, named_arg_expr), - &pg_query__named_arg_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "op_expr", - 15, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, op_expr), - &pg_query__op_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "distinct_expr", - 16, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, distinct_expr), - &pg_query__distinct_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "null_if_expr", - 17, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, null_if_expr), - &pg_query__null_if_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "scalar_array_op_expr", - 18, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, scalar_array_op_expr), - &pg_query__scalar_array_op_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bool_expr", - 19, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, bool_expr), - &pg_query__bool_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sub_link", - 20, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, sub_link), - &pg_query__sub_link__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sub_plan", - 21, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, sub_plan), - &pg_query__sub_plan__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alternative_sub_plan", - 22, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alternative_sub_plan), - &pg_query__alternative_sub_plan__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "field_select", - 23, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, field_select), - &pg_query__field_select__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "field_store", - 24, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, field_store), - &pg_query__field_store__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relabel_type", - 25, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, relabel_type), - &pg_query__relabel_type__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coerce_via_io", - 26, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, coerce_via_io), - &pg_query__coerce_via_io__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "array_coerce_expr", - 27, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, array_coerce_expr), - &pg_query__array_coerce_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "convert_rowtype_expr", - 28, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, convert_rowtype_expr), - &pg_query__convert_rowtype_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "collate_expr", - 29, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, collate_expr), - &pg_query__collate_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "case_expr", - 30, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, case_expr), - &pg_query__case_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "case_when", - 31, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, case_when), - &pg_query__case_when__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "case_test_expr", - 32, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, case_test_expr), - &pg_query__case_test_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "array_expr", - 33, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, array_expr), - &pg_query__array_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "row_expr", - 34, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, row_expr), - &pg_query__row_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "row_compare_expr", - 35, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, row_compare_expr), - &pg_query__row_compare_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coalesce_expr", - 36, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, coalesce_expr), - &pg_query__coalesce_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "min_max_expr", - 37, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, min_max_expr), - &pg_query__min_max_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sqlvalue_function", - 38, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, sqlvalue_function), - &pg_query__sqlvalue_function__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "xml_expr", - 39, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, xml_expr), - &pg_query__xml_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_format", - 40, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_format), - &pg_query__json_format__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_returning", - 41, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_returning), - &pg_query__json_returning__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_value_expr", - 42, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_value_expr), - &pg_query__json_value_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_constructor_expr", - 43, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_constructor_expr), - &pg_query__json_constructor_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_is_predicate", - 44, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_is_predicate), - &pg_query__json_is_predicate__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_behavior", - 45, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_behavior), - &pg_query__json_behavior__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_expr", - 46, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_expr), - &pg_query__json_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_table_path", - 47, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_table_path), - &pg_query__json_table_path__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_table_path_scan", - 48, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_table_path_scan), - &pg_query__json_table_path_scan__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_table_sibling_join", - 49, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_table_sibling_join), - &pg_query__json_table_sibling_join__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "null_test", - 50, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, null_test), - &pg_query__null_test__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "boolean_test", - 51, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, boolean_test), - &pg_query__boolean_test__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "merge_action", - 52, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, merge_action), - &pg_query__merge_action__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coerce_to_domain", - 53, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, coerce_to_domain), - &pg_query__coerce_to_domain__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coerce_to_domain_value", - 54, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, coerce_to_domain_value), - &pg_query__coerce_to_domain_value__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "set_to_default", - 55, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, set_to_default), - &pg_query__set_to_default__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "current_of_expr", - 56, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, current_of_expr), - &pg_query__current_of_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "next_value_expr", - 57, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, next_value_expr), - &pg_query__next_value_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inference_elem", - 58, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, inference_elem), - &pg_query__inference_elem__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning_expr", - 59, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, returning_expr), - &pg_query__returning_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "target_entry", - 60, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, target_entry), - &pg_query__target_entry__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "range_tbl_ref", - 61, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, range_tbl_ref), - &pg_query__range_tbl_ref__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "join_expr", - 62, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, join_expr), - &pg_query__join_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "from_expr", - 63, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, from_expr), - &pg_query__from_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_conflict_expr", - 64, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, on_conflict_expr), - &pg_query__on_conflict_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "query", - 65, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, query), - &pg_query__query__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_name", - 66, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, type_name), - &pg_query__type_name__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "column_ref", - 67, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, column_ref), - &pg_query__column_ref__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "param_ref", - 68, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, param_ref), - &pg_query__param_ref__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "a_expr", - 69, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, a_expr), - &pg_query__a__expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_cast", - 70, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, type_cast), - &pg_query__type_cast__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "collate_clause", - 71, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, collate_clause), - &pg_query__collate_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "role_spec", - 72, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, role_spec), - &pg_query__role_spec__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "func_call", - 73, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, func_call), - &pg_query__func_call__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "a_star", - 74, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, a_star), - &pg_query__a__star__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "a_indices", - 75, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, a_indices), - &pg_query__a__indices__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "a_indirection", - 76, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, a_indirection), - &pg_query__a__indirection__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "a_array_expr", - 77, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, a_array_expr), - &pg_query__a__array_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "res_target", - 78, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, res_target), - &pg_query__res_target__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "multi_assign_ref", - 79, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, multi_assign_ref), - &pg_query__multi_assign_ref__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sort_by", - 80, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, sort_by), - &pg_query__sort_by__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "window_def", - 81, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, window_def), - &pg_query__window_def__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "range_subselect", - 82, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, range_subselect), - &pg_query__range_subselect__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "range_function", - 83, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, range_function), - &pg_query__range_function__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "range_table_func", - 84, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, range_table_func), - &pg_query__range_table_func__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "range_table_func_col", - 85, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, range_table_func_col), - &pg_query__range_table_func_col__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "range_table_sample", - 86, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, range_table_sample), - &pg_query__range_table_sample__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "column_def", - 87, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, column_def), - &pg_query__column_def__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table_like_clause", - 88, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, table_like_clause), - &pg_query__table_like_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "index_elem", - 89, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, index_elem), - &pg_query__index_elem__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "def_elem", - 90, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, def_elem), - &pg_query__def_elem__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "locking_clause", - 91, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, locking_clause), - &pg_query__locking_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "xml_serialize", - 92, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, xml_serialize), - &pg_query__xml_serialize__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "partition_elem", - 93, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, partition_elem), - &pg_query__partition_elem__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "partition_spec", - 94, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, partition_spec), - &pg_query__partition_spec__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "partition_bound_spec", - 95, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, partition_bound_spec), - &pg_query__partition_bound_spec__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "partition_range_datum", - 96, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, partition_range_datum), - &pg_query__partition_range_datum__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "partition_cmd", - 97, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, partition_cmd), - &pg_query__partition_cmd__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "range_tbl_entry", - 98, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, range_tbl_entry), - &pg_query__range_tbl_entry__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rtepermission_info", - 99, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, rtepermission_info), - &pg_query__rtepermission_info__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "range_tbl_function", - 100, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, range_tbl_function), - &pg_query__range_tbl_function__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table_sample_clause", - 101, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, table_sample_clause), - &pg_query__table_sample_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_check_option", - 102, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, with_check_option), - &pg_query__with_check_option__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sort_group_clause", - 103, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, sort_group_clause), - &pg_query__sort_group_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "grouping_set", - 104, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, grouping_set), - &pg_query__grouping_set__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "window_clause", - 105, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, window_clause), - &pg_query__window_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "row_mark_clause", - 106, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, row_mark_clause), - &pg_query__row_mark_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_clause", - 107, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, with_clause), - &pg_query__with_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "infer_clause", - 108, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, infer_clause), - &pg_query__infer_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_conflict_clause", - 109, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, on_conflict_clause), - &pg_query__on_conflict_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ctesearch_clause", - 110, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, ctesearch_clause), - &pg_query__ctesearch_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ctecycle_clause", - 111, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, ctecycle_clause), - &pg_query__ctecycle_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "common_table_expr", - 112, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, common_table_expr), - &pg_query__common_table_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "merge_when_clause", - 113, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, merge_when_clause), - &pg_query__merge_when_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning_option", - 114, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, returning_option), - &pg_query__returning_option__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning_clause", - 115, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, returning_clause), - &pg_query__returning_clause__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "trigger_transition", - 116, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, trigger_transition), - &pg_query__trigger_transition__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_output", - 117, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_output), - &pg_query__json_output__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_argument", - 118, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_argument), - &pg_query__json_argument__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_func_expr", - 119, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_func_expr), - &pg_query__json_func_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_table_path_spec", - 120, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_table_path_spec), - &pg_query__json_table_path_spec__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_table", - 121, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_table), - &pg_query__json_table__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_table_column", - 122, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_table_column), - &pg_query__json_table_column__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_key_value", - 123, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_key_value), - &pg_query__json_key_value__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_parse_expr", - 124, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_parse_expr), - &pg_query__json_parse_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_scalar_expr", - 125, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_scalar_expr), - &pg_query__json_scalar_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_serialize_expr", - 126, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_serialize_expr), - &pg_query__json_serialize_expr__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_object_constructor", - 127, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_object_constructor), - &pg_query__json_object_constructor__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_array_constructor", - 128, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_array_constructor), - &pg_query__json_array_constructor__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_array_query_constructor", - 129, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_array_query_constructor), - &pg_query__json_array_query_constructor__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_agg_constructor", - 130, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_agg_constructor), - &pg_query__json_agg_constructor__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_object_agg", - 131, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_object_agg), - &pg_query__json_object_agg__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "json_array_agg", - 132, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, json_array_agg), - &pg_query__json_array_agg__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "raw_stmt", - 133, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, raw_stmt), - &pg_query__raw_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "insert_stmt", - 134, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, insert_stmt), - &pg_query__insert_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "delete_stmt", - 135, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, delete_stmt), - &pg_query__delete_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "update_stmt", - 136, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, update_stmt), - &pg_query__update_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "merge_stmt", - 137, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, merge_stmt), - &pg_query__merge_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "select_stmt", - 138, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, select_stmt), - &pg_query__select_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "set_operation_stmt", - 139, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, set_operation_stmt), - &pg_query__set_operation_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "return_stmt", - 140, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, return_stmt), - &pg_query__return_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "plassign_stmt", - 141, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, plassign_stmt), - &pg_query__plassign_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_schema_stmt", - 142, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_schema_stmt), - &pg_query__create_schema_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_table_stmt", - 143, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_table_stmt), - &pg_query__alter_table_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_table_cmd", - 144, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_table_cmd), - &pg_query__alter_table_cmd__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "atalter_constraint", - 145, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, atalter_constraint), - &pg_query__atalter_constraint__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "replica_identity_stmt", - 146, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, replica_identity_stmt), - &pg_query__replica_identity_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_collation_stmt", - 147, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_collation_stmt), - &pg_query__alter_collation_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_domain_stmt", - 148, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_domain_stmt), - &pg_query__alter_domain_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "grant_stmt", - 149, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, grant_stmt), - &pg_query__grant_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "object_with_args", - 150, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, object_with_args), - &pg_query__object_with_args__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "access_priv", - 151, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, access_priv), - &pg_query__access_priv__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "grant_role_stmt", - 152, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, grant_role_stmt), - &pg_query__grant_role_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_default_privileges_stmt", - 153, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_default_privileges_stmt), - &pg_query__alter_default_privileges_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "copy_stmt", - 154, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, copy_stmt), - &pg_query__copy_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "variable_set_stmt", - 155, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, variable_set_stmt), - &pg_query__variable_set_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "variable_show_stmt", - 156, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, variable_show_stmt), - &pg_query__variable_show_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_stmt", - 157, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_stmt), - &pg_query__create_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "constraint", - 158, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, constraint), - &pg_query__constraint__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_table_space_stmt", - 159, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_table_space_stmt), - &pg_query__create_table_space_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "drop_table_space_stmt", - 160, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, drop_table_space_stmt), - &pg_query__drop_table_space_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_table_space_options_stmt", - 161, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_table_space_options_stmt), - &pg_query__alter_table_space_options_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_table_move_all_stmt", - 162, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_table_move_all_stmt), - &pg_query__alter_table_move_all_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_extension_stmt", - 163, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_extension_stmt), - &pg_query__create_extension_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_extension_stmt", - 164, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_extension_stmt), - &pg_query__alter_extension_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_extension_contents_stmt", - 165, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_extension_contents_stmt), - &pg_query__alter_extension_contents_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_fdw_stmt", - 166, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_fdw_stmt), - &pg_query__create_fdw_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_fdw_stmt", - 167, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_fdw_stmt), - &pg_query__alter_fdw_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_foreign_server_stmt", - 168, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_foreign_server_stmt), - &pg_query__create_foreign_server_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_foreign_server_stmt", - 169, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_foreign_server_stmt), - &pg_query__alter_foreign_server_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_foreign_table_stmt", - 170, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_foreign_table_stmt), - &pg_query__create_foreign_table_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_user_mapping_stmt", - 171, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_user_mapping_stmt), - &pg_query__create_user_mapping_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_user_mapping_stmt", - 172, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_user_mapping_stmt), - &pg_query__alter_user_mapping_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "drop_user_mapping_stmt", - 173, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, drop_user_mapping_stmt), - &pg_query__drop_user_mapping_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "import_foreign_schema_stmt", - 174, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, import_foreign_schema_stmt), - &pg_query__import_foreign_schema_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_policy_stmt", - 175, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_policy_stmt), - &pg_query__create_policy_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_policy_stmt", - 176, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_policy_stmt), - &pg_query__alter_policy_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_am_stmt", - 177, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_am_stmt), - &pg_query__create_am_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_trig_stmt", - 178, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_trig_stmt), - &pg_query__create_trig_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_event_trig_stmt", - 179, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_event_trig_stmt), - &pg_query__create_event_trig_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_event_trig_stmt", - 180, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_event_trig_stmt), - &pg_query__alter_event_trig_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_plang_stmt", - 181, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_plang_stmt), - &pg_query__create_plang_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_role_stmt", - 182, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_role_stmt), - &pg_query__create_role_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_role_stmt", - 183, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_role_stmt), - &pg_query__alter_role_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_role_set_stmt", - 184, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_role_set_stmt), - &pg_query__alter_role_set_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "drop_role_stmt", - 185, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, drop_role_stmt), - &pg_query__drop_role_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_seq_stmt", - 186, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_seq_stmt), - &pg_query__create_seq_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_seq_stmt", - 187, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_seq_stmt), - &pg_query__alter_seq_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "define_stmt", - 188, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, define_stmt), - &pg_query__define_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_domain_stmt", - 189, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_domain_stmt), - &pg_query__create_domain_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_op_class_stmt", - 190, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_op_class_stmt), - &pg_query__create_op_class_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_op_class_item", - 191, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_op_class_item), - &pg_query__create_op_class_item__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_op_family_stmt", - 192, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_op_family_stmt), - &pg_query__create_op_family_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_op_family_stmt", - 193, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_op_family_stmt), - &pg_query__alter_op_family_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "drop_stmt", - 194, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, drop_stmt), - &pg_query__drop_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "truncate_stmt", - 195, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, truncate_stmt), - &pg_query__truncate_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "comment_stmt", - 196, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, comment_stmt), - &pg_query__comment_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sec_label_stmt", - 197, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, sec_label_stmt), - &pg_query__sec_label_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "declare_cursor_stmt", - 198, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, declare_cursor_stmt), - &pg_query__declare_cursor_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "close_portal_stmt", - 199, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, close_portal_stmt), - &pg_query__close_portal_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fetch_stmt", - 200, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, fetch_stmt), - &pg_query__fetch_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "index_stmt", - 201, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, index_stmt), - &pg_query__index_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_stats_stmt", - 202, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_stats_stmt), - &pg_query__create_stats_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stats_elem", - 203, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, stats_elem), - &pg_query__stats_elem__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_stats_stmt", - 204, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_stats_stmt), - &pg_query__alter_stats_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_function_stmt", - 205, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_function_stmt), - &pg_query__create_function_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "function_parameter", - 206, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, function_parameter), - &pg_query__function_parameter__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_function_stmt", - 207, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_function_stmt), - &pg_query__alter_function_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "do_stmt", - 208, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, do_stmt), - &pg_query__do_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inline_code_block", - 209, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, inline_code_block), - &pg_query__inline_code_block__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "call_stmt", - 210, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, call_stmt), - &pg_query__call_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "call_context", - 211, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, call_context), - &pg_query__call_context__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rename_stmt", - 212, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, rename_stmt), - &pg_query__rename_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_object_depends_stmt", - 213, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_object_depends_stmt), - &pg_query__alter_object_depends_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_object_schema_stmt", - 214, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_object_schema_stmt), - &pg_query__alter_object_schema_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_owner_stmt", - 215, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_owner_stmt), - &pg_query__alter_owner_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_operator_stmt", - 216, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_operator_stmt), - &pg_query__alter_operator_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_type_stmt", - 217, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_type_stmt), - &pg_query__alter_type_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rule_stmt", - 218, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, rule_stmt), - &pg_query__rule_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "notify_stmt", - 219, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, notify_stmt), - &pg_query__notify_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "listen_stmt", - 220, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, listen_stmt), - &pg_query__listen_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "unlisten_stmt", - 221, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, unlisten_stmt), - &pg_query__unlisten_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "transaction_stmt", - 222, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, transaction_stmt), - &pg_query__transaction_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "composite_type_stmt", - 223, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, composite_type_stmt), - &pg_query__composite_type_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_enum_stmt", - 224, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_enum_stmt), - &pg_query__create_enum_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_range_stmt", - 225, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_range_stmt), - &pg_query__create_range_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_enum_stmt", - 226, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_enum_stmt), - &pg_query__alter_enum_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "view_stmt", - 227, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, view_stmt), - &pg_query__view_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "load_stmt", - 228, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, load_stmt), - &pg_query__load_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "createdb_stmt", - 229, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, createdb_stmt), - &pg_query__createdb_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_database_stmt", - 230, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_database_stmt), - &pg_query__alter_database_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_database_refresh_coll_stmt", - 231, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_database_refresh_coll_stmt), - &pg_query__alter_database_refresh_coll_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_database_set_stmt", - 232, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_database_set_stmt), - &pg_query__alter_database_set_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dropdb_stmt", - 233, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, dropdb_stmt), - &pg_query__dropdb_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_system_stmt", - 234, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_system_stmt), - &pg_query__alter_system_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cluster_stmt", - 235, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, cluster_stmt), - &pg_query__cluster_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "vacuum_stmt", - 236, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, vacuum_stmt), - &pg_query__vacuum_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "vacuum_relation", - 237, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, vacuum_relation), - &pg_query__vacuum_relation__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "explain_stmt", - 238, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, explain_stmt), - &pg_query__explain_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_table_as_stmt", - 239, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_table_as_stmt), - &pg_query__create_table_as_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refresh_mat_view_stmt", - 240, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, refresh_mat_view_stmt), - &pg_query__refresh_mat_view_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "check_point_stmt", - 241, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, check_point_stmt), - &pg_query__check_point_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "discard_stmt", - 242, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, discard_stmt), - &pg_query__discard_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "lock_stmt", - 243, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, lock_stmt), - &pg_query__lock_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "constraints_set_stmt", - 244, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, constraints_set_stmt), - &pg_query__constraints_set_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reindex_stmt", - 245, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, reindex_stmt), - &pg_query__reindex_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_conversion_stmt", - 246, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_conversion_stmt), - &pg_query__create_conversion_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_cast_stmt", - 247, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_cast_stmt), - &pg_query__create_cast_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_transform_stmt", - 248, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_transform_stmt), - &pg_query__create_transform_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "prepare_stmt", - 249, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, prepare_stmt), - &pg_query__prepare_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "execute_stmt", - 250, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, execute_stmt), - &pg_query__execute_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "deallocate_stmt", - 251, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, deallocate_stmt), - &pg_query__deallocate_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "drop_owned_stmt", - 252, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, drop_owned_stmt), - &pg_query__drop_owned_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reassign_owned_stmt", - 253, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, reassign_owned_stmt), - &pg_query__reassign_owned_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_tsdictionary_stmt", - 254, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_tsdictionary_stmt), - &pg_query__alter_tsdictionary_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_tsconfiguration_stmt", - 255, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_tsconfiguration_stmt), - &pg_query__alter_tsconfiguration_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "publication_table", - 256, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, publication_table), - &pg_query__publication_table__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "publication_obj_spec", - 257, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, publication_obj_spec), - &pg_query__publication_obj_spec__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_publication_stmt", - 258, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_publication_stmt), - &pg_query__create_publication_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_publication_stmt", - 259, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_publication_stmt), - &pg_query__alter_publication_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "create_subscription_stmt", - 260, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, create_subscription_stmt), - &pg_query__create_subscription_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_subscription_stmt", - 261, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, alter_subscription_stmt), - &pg_query__alter_subscription_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "drop_subscription_stmt", - 262, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, drop_subscription_stmt), - &pg_query__drop_subscription_stmt__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "integer", - 263, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, integer), - &pg_query__integer__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "float", - 264, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, float_), - &pg_query__float__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "boolean", - 265, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, boolean), - &pg_query__boolean__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "string", - 266, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, string), - &pg_query__string__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bit_string", - 267, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, bit_string), - &pg_query__bit_string__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "list", - 268, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, list), - &pg_query__list__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "int_list", - 269, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, int_list), - &pg_query__int_list__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "oid_list", - 270, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, oid_list), - &pg_query__oid_list__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "a_const", - 271, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Node, node_case), - offsetof(PgQuery__Node, a_const), - &pg_query__a__const__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__node__field_indices_by_name[] = { - 76, /* field[76] = a_array_expr */ - 270, /* field[270] = a_const */ - 68, /* field[68] = a_expr */ - 74, /* field[74] = a_indices */ - 75, /* field[75] = a_indirection */ - 73, /* field[73] = a_star */ - 150, /* field[150] = access_priv */ - 6, /* field[6] = aggref */ - 0, /* field[0] = alias */ - 146, /* field[146] = alter_collation_stmt */ - 230, /* field[230] = alter_database_refresh_coll_stmt */ - 231, /* field[231] = alter_database_set_stmt */ - 229, /* field[229] = alter_database_stmt */ - 152, /* field[152] = alter_default_privileges_stmt */ - 147, /* field[147] = alter_domain_stmt */ - 225, /* field[225] = alter_enum_stmt */ - 179, /* field[179] = alter_event_trig_stmt */ - 164, /* field[164] = alter_extension_contents_stmt */ - 163, /* field[163] = alter_extension_stmt */ - 166, /* field[166] = alter_fdw_stmt */ - 168, /* field[168] = alter_foreign_server_stmt */ - 206, /* field[206] = alter_function_stmt */ - 212, /* field[212] = alter_object_depends_stmt */ - 213, /* field[213] = alter_object_schema_stmt */ - 192, /* field[192] = alter_op_family_stmt */ - 215, /* field[215] = alter_operator_stmt */ - 214, /* field[214] = alter_owner_stmt */ - 175, /* field[175] = alter_policy_stmt */ - 258, /* field[258] = alter_publication_stmt */ - 183, /* field[183] = alter_role_set_stmt */ - 182, /* field[182] = alter_role_stmt */ - 186, /* field[186] = alter_seq_stmt */ - 203, /* field[203] = alter_stats_stmt */ - 260, /* field[260] = alter_subscription_stmt */ - 233, /* field[233] = alter_system_stmt */ - 143, /* field[143] = alter_table_cmd */ - 161, /* field[161] = alter_table_move_all_stmt */ - 160, /* field[160] = alter_table_space_options_stmt */ - 142, /* field[142] = alter_table_stmt */ - 254, /* field[254] = alter_tsconfiguration_stmt */ - 253, /* field[253] = alter_tsdictionary_stmt */ - 216, /* field[216] = alter_type_stmt */ - 171, /* field[171] = alter_user_mapping_stmt */ - 21, /* field[21] = alternative_sub_plan */ - 26, /* field[26] = array_coerce_expr */ - 32, /* field[32] = array_expr */ - 144, /* field[144] = atalter_constraint */ - 266, /* field[266] = bit_string */ - 18, /* field[18] = bool_expr */ - 264, /* field[264] = boolean */ - 50, /* field[50] = boolean_test */ - 210, /* field[210] = call_context */ - 209, /* field[209] = call_stmt */ - 29, /* field[29] = case_expr */ - 31, /* field[31] = case_test_expr */ - 30, /* field[30] = case_when */ - 240, /* field[240] = check_point_stmt */ - 198, /* field[198] = close_portal_stmt */ - 234, /* field[234] = cluster_stmt */ - 35, /* field[35] = coalesce_expr */ - 52, /* field[52] = coerce_to_domain */ - 53, /* field[53] = coerce_to_domain_value */ - 25, /* field[25] = coerce_via_io */ - 70, /* field[70] = collate_clause */ - 28, /* field[28] = collate_expr */ - 86, /* field[86] = column_def */ - 66, /* field[66] = column_ref */ - 195, /* field[195] = comment_stmt */ - 111, /* field[111] = common_table_expr */ - 222, /* field[222] = composite_type_stmt */ - 157, /* field[157] = constraint */ - 243, /* field[243] = constraints_set_stmt */ - 27, /* field[27] = convert_rowtype_expr */ - 153, /* field[153] = copy_stmt */ - 176, /* field[176] = create_am_stmt */ - 246, /* field[246] = create_cast_stmt */ - 245, /* field[245] = create_conversion_stmt */ - 188, /* field[188] = create_domain_stmt */ - 223, /* field[223] = create_enum_stmt */ - 178, /* field[178] = create_event_trig_stmt */ - 162, /* field[162] = create_extension_stmt */ - 165, /* field[165] = create_fdw_stmt */ - 167, /* field[167] = create_foreign_server_stmt */ - 169, /* field[169] = create_foreign_table_stmt */ - 204, /* field[204] = create_function_stmt */ - 190, /* field[190] = create_op_class_item */ - 189, /* field[189] = create_op_class_stmt */ - 191, /* field[191] = create_op_family_stmt */ - 180, /* field[180] = create_plang_stmt */ - 174, /* field[174] = create_policy_stmt */ - 257, /* field[257] = create_publication_stmt */ - 224, /* field[224] = create_range_stmt */ - 181, /* field[181] = create_role_stmt */ - 141, /* field[141] = create_schema_stmt */ - 185, /* field[185] = create_seq_stmt */ - 201, /* field[201] = create_stats_stmt */ - 156, /* field[156] = create_stmt */ - 259, /* field[259] = create_subscription_stmt */ - 238, /* field[238] = create_table_as_stmt */ - 158, /* field[158] = create_table_space_stmt */ - 247, /* field[247] = create_transform_stmt */ - 177, /* field[177] = create_trig_stmt */ - 170, /* field[170] = create_user_mapping_stmt */ - 228, /* field[228] = createdb_stmt */ - 110, /* field[110] = ctecycle_clause */ - 109, /* field[109] = ctesearch_clause */ - 55, /* field[55] = current_of_expr */ - 250, /* field[250] = deallocate_stmt */ - 197, /* field[197] = declare_cursor_stmt */ - 89, /* field[89] = def_elem */ - 187, /* field[187] = define_stmt */ - 134, /* field[134] = delete_stmt */ - 241, /* field[241] = discard_stmt */ - 15, /* field[15] = distinct_expr */ - 207, /* field[207] = do_stmt */ - 251, /* field[251] = drop_owned_stmt */ - 184, /* field[184] = drop_role_stmt */ - 193, /* field[193] = drop_stmt */ - 261, /* field[261] = drop_subscription_stmt */ - 159, /* field[159] = drop_table_space_stmt */ - 172, /* field[172] = drop_user_mapping_stmt */ - 232, /* field[232] = dropdb_stmt */ - 249, /* field[249] = execute_stmt */ - 237, /* field[237] = explain_stmt */ - 199, /* field[199] = fetch_stmt */ - 22, /* field[22] = field_select */ - 23, /* field[23] = field_store */ - 263, /* field[263] = float */ - 62, /* field[62] = from_expr */ - 72, /* field[72] = func_call */ - 12, /* field[12] = func_expr */ - 205, /* field[205] = function_parameter */ - 151, /* field[151] = grant_role_stmt */ - 148, /* field[148] = grant_stmt */ - 7, /* field[7] = grouping_func */ - 103, /* field[103] = grouping_set */ - 173, /* field[173] = import_foreign_schema_stmt */ - 88, /* field[88] = index_elem */ - 200, /* field[200] = index_stmt */ - 107, /* field[107] = infer_clause */ - 57, /* field[57] = inference_elem */ - 208, /* field[208] = inline_code_block */ - 133, /* field[133] = insert_stmt */ - 268, /* field[268] = int_list */ - 262, /* field[262] = integer */ - 3, /* field[3] = into_clause */ - 61, /* field[61] = join_expr */ - 129, /* field[129] = json_agg_constructor */ - 117, /* field[117] = json_argument */ - 131, /* field[131] = json_array_agg */ - 127, /* field[127] = json_array_constructor */ - 128, /* field[128] = json_array_query_constructor */ - 44, /* field[44] = json_behavior */ - 42, /* field[42] = json_constructor_expr */ - 45, /* field[45] = json_expr */ - 39, /* field[39] = json_format */ - 118, /* field[118] = json_func_expr */ - 43, /* field[43] = json_is_predicate */ - 122, /* field[122] = json_key_value */ - 130, /* field[130] = json_object_agg */ - 126, /* field[126] = json_object_constructor */ - 116, /* field[116] = json_output */ - 123, /* field[123] = json_parse_expr */ - 40, /* field[40] = json_returning */ - 124, /* field[124] = json_scalar_expr */ - 125, /* field[125] = json_serialize_expr */ - 120, /* field[120] = json_table */ - 121, /* field[121] = json_table_column */ - 46, /* field[46] = json_table_path */ - 47, /* field[47] = json_table_path_scan */ - 119, /* field[119] = json_table_path_spec */ - 48, /* field[48] = json_table_sibling_join */ - 41, /* field[41] = json_value_expr */ - 267, /* field[267] = list */ - 219, /* field[219] = listen_stmt */ - 227, /* field[227] = load_stmt */ - 242, /* field[242] = lock_stmt */ - 90, /* field[90] = locking_clause */ - 51, /* field[51] = merge_action */ - 136, /* field[136] = merge_stmt */ - 10, /* field[10] = merge_support_func */ - 112, /* field[112] = merge_when_clause */ - 36, /* field[36] = min_max_expr */ - 78, /* field[78] = multi_assign_ref */ - 13, /* field[13] = named_arg_expr */ - 56, /* field[56] = next_value_expr */ - 218, /* field[218] = notify_stmt */ - 16, /* field[16] = null_if_expr */ - 49, /* field[49] = null_test */ - 149, /* field[149] = object_with_args */ - 269, /* field[269] = oid_list */ - 108, /* field[108] = on_conflict_clause */ - 63, /* field[63] = on_conflict_expr */ - 14, /* field[14] = op_expr */ - 5, /* field[5] = param */ - 67, /* field[67] = param_ref */ - 94, /* field[94] = partition_bound_spec */ - 96, /* field[96] = partition_cmd */ - 92, /* field[92] = partition_elem */ - 95, /* field[95] = partition_range_datum */ - 93, /* field[93] = partition_spec */ - 140, /* field[140] = plassign_stmt */ - 248, /* field[248] = prepare_stmt */ - 256, /* field[256] = publication_obj_spec */ - 255, /* field[255] = publication_table */ - 64, /* field[64] = query */ - 82, /* field[82] = range_function */ - 81, /* field[81] = range_subselect */ - 83, /* field[83] = range_table_func */ - 84, /* field[84] = range_table_func_col */ - 85, /* field[85] = range_table_sample */ - 97, /* field[97] = range_tbl_entry */ - 99, /* field[99] = range_tbl_function */ - 60, /* field[60] = range_tbl_ref */ - 1, /* field[1] = range_var */ - 132, /* field[132] = raw_stmt */ - 252, /* field[252] = reassign_owned_stmt */ - 239, /* field[239] = refresh_mat_view_stmt */ - 244, /* field[244] = reindex_stmt */ - 24, /* field[24] = relabel_type */ - 211, /* field[211] = rename_stmt */ - 145, /* field[145] = replica_identity_stmt */ - 77, /* field[77] = res_target */ - 139, /* field[139] = return_stmt */ - 114, /* field[114] = returning_clause */ - 58, /* field[58] = returning_expr */ - 113, /* field[113] = returning_option */ - 71, /* field[71] = role_spec */ - 34, /* field[34] = row_compare_expr */ - 33, /* field[33] = row_expr */ - 105, /* field[105] = row_mark_clause */ - 98, /* field[98] = rtepermission_info */ - 217, /* field[217] = rule_stmt */ - 17, /* field[17] = scalar_array_op_expr */ - 196, /* field[196] = sec_label_stmt */ - 137, /* field[137] = select_stmt */ - 138, /* field[138] = set_operation_stmt */ - 54, /* field[54] = set_to_default */ - 79, /* field[79] = sort_by */ - 102, /* field[102] = sort_group_clause */ - 37, /* field[37] = sqlvalue_function */ - 202, /* field[202] = stats_elem */ - 265, /* field[265] = string */ - 19, /* field[19] = sub_link */ - 20, /* field[20] = sub_plan */ - 11, /* field[11] = subscripting_ref */ - 2, /* field[2] = table_func */ - 87, /* field[87] = table_like_clause */ - 100, /* field[100] = table_sample_clause */ - 59, /* field[59] = target_entry */ - 221, /* field[221] = transaction_stmt */ - 115, /* field[115] = trigger_transition */ - 194, /* field[194] = truncate_stmt */ - 69, /* field[69] = type_cast */ - 65, /* field[65] = type_name */ - 220, /* field[220] = unlisten_stmt */ - 135, /* field[135] = update_stmt */ - 236, /* field[236] = vacuum_relation */ - 235, /* field[235] = vacuum_stmt */ - 4, /* field[4] = var */ - 154, /* field[154] = variable_set_stmt */ - 155, /* field[155] = variable_show_stmt */ - 226, /* field[226] = view_stmt */ - 104, /* field[104] = window_clause */ - 80, /* field[80] = window_def */ - 8, /* field[8] = window_func */ - 9, /* field[9] = window_func_run_condition */ - 101, /* field[101] = with_check_option */ - 106, /* field[106] = with_clause */ - 38, /* field[38] = xml_expr */ - 91, /* field[91] = xml_serialize */ -}; -static const ProtobufCIntRange pg_query__node__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 271 } -}; -const ProtobufCMessageDescriptor pg_query__node__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.Node", - "Node", - "PgQuery__Node", - "pg_query", - sizeof(PgQuery__Node), - 271, - pg_query__node__field_descriptors, - pg_query__node__field_indices_by_name, - 1, pg_query__node__number_ranges, - (ProtobufCMessageInit) pg_query__node__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__integer__field_descriptors[1] = -{ - { - "ival", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Integer, ival), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__integer__field_indices_by_name[] = { - 0, /* field[0] = ival */ -}; -static const ProtobufCIntRange pg_query__integer__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__integer__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.Integer", - "Integer", - "PgQuery__Integer", - "pg_query", - sizeof(PgQuery__Integer), - 1, - pg_query__integer__field_descriptors, - pg_query__integer__field_indices_by_name, - 1, pg_query__integer__number_ranges, - (ProtobufCMessageInit) pg_query__integer__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__float__field_descriptors[1] = -{ - { - "fval", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Float, fval), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__float__field_indices_by_name[] = { - 0, /* field[0] = fval */ -}; -static const ProtobufCIntRange pg_query__float__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__float__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.Float", - "Float", - "PgQuery__Float", - "pg_query", - sizeof(PgQuery__Float), - 1, - pg_query__float__field_descriptors, - pg_query__float__field_indices_by_name, - 1, pg_query__float__number_ranges, - (ProtobufCMessageInit) pg_query__float__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__boolean__field_descriptors[1] = -{ - { - "boolval", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Boolean, boolval), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__boolean__field_indices_by_name[] = { - 0, /* field[0] = boolval */ -}; -static const ProtobufCIntRange pg_query__boolean__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__boolean__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.Boolean", - "Boolean", - "PgQuery__Boolean", - "pg_query", - sizeof(PgQuery__Boolean), - 1, - pg_query__boolean__field_descriptors, - pg_query__boolean__field_indices_by_name, - 1, pg_query__boolean__number_ranges, - (ProtobufCMessageInit) pg_query__boolean__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__string__field_descriptors[1] = -{ - { - "sval", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__String, sval), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__string__field_indices_by_name[] = { - 0, /* field[0] = sval */ -}; -static const ProtobufCIntRange pg_query__string__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__string__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.String", - "String", - "PgQuery__String", - "pg_query", - sizeof(PgQuery__String), - 1, - pg_query__string__field_descriptors, - pg_query__string__field_indices_by_name, - 1, pg_query__string__number_ranges, - (ProtobufCMessageInit) pg_query__string__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__bit_string__field_descriptors[1] = -{ - { - "bsval", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__BitString, bsval), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__bit_string__field_indices_by_name[] = { - 0, /* field[0] = bsval */ -}; -static const ProtobufCIntRange pg_query__bit_string__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__bit_string__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.BitString", - "BitString", - "PgQuery__BitString", - "pg_query", - sizeof(PgQuery__BitString), - 1, - pg_query__bit_string__field_descriptors, - pg_query__bit_string__field_indices_by_name, - 1, pg_query__bit_string__number_ranges, - (ProtobufCMessageInit) pg_query__bit_string__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__list__field_descriptors[1] = -{ - { - "items", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__List, n_items), - offsetof(PgQuery__List, items), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__list__field_indices_by_name[] = { - 0, /* field[0] = items */ -}; -static const ProtobufCIntRange pg_query__list__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__list__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.List", - "List", - "PgQuery__List", - "pg_query", - sizeof(PgQuery__List), - 1, - pg_query__list__field_descriptors, - pg_query__list__field_indices_by_name, - 1, pg_query__list__number_ranges, - (ProtobufCMessageInit) pg_query__list__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__oid_list__field_descriptors[1] = -{ - { - "items", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__OidList, n_items), - offsetof(PgQuery__OidList, items), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__oid_list__field_indices_by_name[] = { - 0, /* field[0] = items */ -}; -static const ProtobufCIntRange pg_query__oid_list__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__oid_list__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.OidList", - "OidList", - "PgQuery__OidList", - "pg_query", - sizeof(PgQuery__OidList), - 1, - pg_query__oid_list__field_descriptors, - pg_query__oid_list__field_indices_by_name, - 1, pg_query__oid_list__number_ranges, - (ProtobufCMessageInit) pg_query__oid_list__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__int_list__field_descriptors[1] = -{ - { - "items", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__IntList, n_items), - offsetof(PgQuery__IntList, items), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__int_list__field_indices_by_name[] = { - 0, /* field[0] = items */ -}; -static const ProtobufCIntRange pg_query__int_list__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__int_list__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.IntList", - "IntList", - "PgQuery__IntList", - "pg_query", - sizeof(PgQuery__IntList), - 1, - pg_query__int_list__field_descriptors, - pg_query__int_list__field_indices_by_name, - 1, pg_query__int_list__number_ranges, - (ProtobufCMessageInit) pg_query__int_list__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__a__const__field_descriptors[7] = -{ - { - "ival", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AConst, val_case), - offsetof(PgQuery__AConst, ival), - &pg_query__integer__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fval", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AConst, val_case), - offsetof(PgQuery__AConst, fval), - &pg_query__float__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "boolval", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AConst, val_case), - offsetof(PgQuery__AConst, boolval), - &pg_query__boolean__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sval", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AConst, val_case), - offsetof(PgQuery__AConst, sval), - &pg_query__string__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bsval", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AConst, val_case), - offsetof(PgQuery__AConst, bsval), - &pg_query__bit_string__descriptor, - NULL, - PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "isnull", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AConst, isnull), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__AConst, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__a__const__field_indices_by_name[] = { - 2, /* field[2] = boolval */ - 4, /* field[4] = bsval */ - 1, /* field[1] = fval */ - 5, /* field[5] = isnull */ - 0, /* field[0] = ival */ - 6, /* field[6] = location */ - 3, /* field[3] = sval */ -}; -static const ProtobufCIntRange pg_query__a__const__number_ranges[2 + 1] = -{ - { 1, 0 }, - { 10, 5 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__a__const__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.A_Const", - "AConst", - "PgQuery__AConst", - "pg_query", - sizeof(PgQuery__AConst), - 7, - pg_query__a__const__field_descriptors, - pg_query__a__const__field_indices_by_name, - 2, pg_query__a__const__number_ranges, - (ProtobufCMessageInit) pg_query__a__const__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alias__field_descriptors[2] = -{ - { - "aliasname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Alias, aliasname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "colnames", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Alias, n_colnames), - offsetof(PgQuery__Alias, colnames), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alias__field_indices_by_name[] = { - 0, /* field[0] = aliasname */ - 1, /* field[1] = colnames */ -}; -static const ProtobufCIntRange pg_query__alias__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__alias__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.Alias", - "Alias", - "PgQuery__Alias", - "pg_query", - sizeof(PgQuery__Alias), - 2, - pg_query__alias__field_descriptors, - pg_query__alias__field_indices_by_name, - 1, pg_query__alias__number_ranges, - (ProtobufCMessageInit) pg_query__alias__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__range_var__field_descriptors[7] = -{ - { - "catalogname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeVar, catalogname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "schemaname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeVar, schemaname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relname", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeVar, relname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inh", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeVar, inh), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relpersistence", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeVar, relpersistence), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alias", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeVar, alias), - &pg_query__alias__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeVar, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__range_var__field_indices_by_name[] = { - 5, /* field[5] = alias */ - 0, /* field[0] = catalogname */ - 3, /* field[3] = inh */ - 6, /* field[6] = location */ - 2, /* field[2] = relname */ - 4, /* field[4] = relpersistence */ - 1, /* field[1] = schemaname */ -}; -static const ProtobufCIntRange pg_query__range_var__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__range_var__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RangeVar", - "RangeVar", - "PgQuery__RangeVar", - "pg_query", - sizeof(PgQuery__RangeVar), - 7, - pg_query__range_var__field_descriptors, - pg_query__range_var__field_indices_by_name, - 1, pg_query__range_var__number_ranges, - (ProtobufCMessageInit) pg_query__range_var__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__table_func__field_descriptors[17] = -{ - { - "functype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableFunc, functype), - &pg_query__table_func_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ns_uris", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableFunc, n_ns_uris), - offsetof(PgQuery__TableFunc, ns_uris), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ns_names", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableFunc, n_ns_names), - offsetof(PgQuery__TableFunc, ns_names), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "docexpr", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableFunc, docexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rowexpr", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableFunc, rowexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "colnames", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableFunc, n_colnames), - offsetof(PgQuery__TableFunc, colnames), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coltypes", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableFunc, n_coltypes), - offsetof(PgQuery__TableFunc, coltypes), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coltypmods", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableFunc, n_coltypmods), - offsetof(PgQuery__TableFunc, coltypmods), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "colcollations", - 9, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableFunc, n_colcollations), - offsetof(PgQuery__TableFunc, colcollations), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "colexprs", - 10, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableFunc, n_colexprs), - offsetof(PgQuery__TableFunc, colexprs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coldefexprs", - 11, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableFunc, n_coldefexprs), - offsetof(PgQuery__TableFunc, coldefexprs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "colvalexprs", - 12, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableFunc, n_colvalexprs), - offsetof(PgQuery__TableFunc, colvalexprs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "passingvalexprs", - 13, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableFunc, n_passingvalexprs), - offsetof(PgQuery__TableFunc, passingvalexprs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "notnulls", - 14, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_UINT64, - offsetof(PgQuery__TableFunc, n_notnulls), - offsetof(PgQuery__TableFunc, notnulls), - NULL, - NULL, - PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "plan", - 15, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableFunc, plan), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ordinalitycol", - 16, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableFunc, ordinalitycol), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 17, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableFunc, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__table_func__field_indices_by_name[] = { - 8, /* field[8] = colcollations */ - 10, /* field[10] = coldefexprs */ - 9, /* field[9] = colexprs */ - 5, /* field[5] = colnames */ - 6, /* field[6] = coltypes */ - 7, /* field[7] = coltypmods */ - 11, /* field[11] = colvalexprs */ - 3, /* field[3] = docexpr */ - 0, /* field[0] = functype */ - 16, /* field[16] = location */ - 13, /* field[13] = notnulls */ - 2, /* field[2] = ns_names */ - 1, /* field[1] = ns_uris */ - 15, /* field[15] = ordinalitycol */ - 12, /* field[12] = passingvalexprs */ - 14, /* field[14] = plan */ - 4, /* field[4] = rowexpr */ -}; -static const ProtobufCIntRange pg_query__table_func__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 17 } -}; -const ProtobufCMessageDescriptor pg_query__table_func__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.TableFunc", - "TableFunc", - "PgQuery__TableFunc", - "pg_query", - sizeof(PgQuery__TableFunc), - 17, - pg_query__table_func__field_descriptors, - pg_query__table_func__field_indices_by_name, - 1, pg_query__table_func__number_ranges, - (ProtobufCMessageInit) pg_query__table_func__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__into_clause__field_descriptors[8] = -{ - { - "rel", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__IntoClause, rel), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "col_names", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__IntoClause, n_col_names), - offsetof(PgQuery__IntoClause, col_names), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "access_method", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__IntoClause, access_method), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__IntoClause, n_options), - offsetof(PgQuery__IntoClause, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_commit", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__IntoClause, on_commit), - &pg_query__on_commit_action__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table_space_name", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__IntoClause, table_space_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "view_query", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__IntoClause, view_query), - &pg_query__query__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "skip_data", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IntoClause, skip_data), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__into_clause__field_indices_by_name[] = { - 2, /* field[2] = access_method */ - 1, /* field[1] = col_names */ - 4, /* field[4] = on_commit */ - 3, /* field[3] = options */ - 0, /* field[0] = rel */ - 7, /* field[7] = skip_data */ - 5, /* field[5] = table_space_name */ - 6, /* field[6] = view_query */ -}; -static const ProtobufCIntRange pg_query__into_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__into_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.IntoClause", - "IntoClause", - "PgQuery__IntoClause", - "pg_query", - sizeof(PgQuery__IntoClause), - 8, - pg_query__into_clause__field_descriptors, - pg_query__into_clause__field_indices_by_name, - 1, pg_query__into_clause__number_ranges, - (ProtobufCMessageInit) pg_query__into_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__var__field_descriptors[10] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Var, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "varno", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Var, varno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "varattno", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Var, varattno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "vartype", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Var, vartype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "vartypmod", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Var, vartypmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "varcollid", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Var, varcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "varnullingrels", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_UINT64, - offsetof(PgQuery__Var, n_varnullingrels), - offsetof(PgQuery__Var, varnullingrels), - NULL, - NULL, - PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "varlevelsup", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Var, varlevelsup), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "varreturningtype", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__Var, varreturningtype), - &pg_query__var_returning_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Var, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__var__field_indices_by_name[] = { - 9, /* field[9] = location */ - 2, /* field[2] = varattno */ - 5, /* field[5] = varcollid */ - 7, /* field[7] = varlevelsup */ - 1, /* field[1] = varno */ - 6, /* field[6] = varnullingrels */ - 8, /* field[8] = varreturningtype */ - 3, /* field[3] = vartype */ - 4, /* field[4] = vartypmod */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__var__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 10 } -}; -const ProtobufCMessageDescriptor pg_query__var__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.Var", - "Var", - "PgQuery__Var", - "pg_query", - sizeof(PgQuery__Var), - 10, - pg_query__var__field_descriptors, - pg_query__var__field_indices_by_name, - 1, pg_query__var__number_ranges, - (ProtobufCMessageInit) pg_query__var__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__param__field_descriptors[7] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Param, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "paramkind", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__Param, paramkind), - &pg_query__param_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "paramid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Param, paramid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "paramtype", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Param, paramtype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "paramtypmod", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Param, paramtypmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "paramcollid", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Param, paramcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Param, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__param__field_indices_by_name[] = { - 6, /* field[6] = location */ - 5, /* field[5] = paramcollid */ - 2, /* field[2] = paramid */ - 1, /* field[1] = paramkind */ - 3, /* field[3] = paramtype */ - 4, /* field[4] = paramtypmod */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__param__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__param__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.Param", - "Param", - "PgQuery__Param", - "pg_query", - sizeof(PgQuery__Param), - 7, - pg_query__param__field_descriptors, - pg_query__param__field_indices_by_name, - 1, pg_query__param__number_ranges, - (ProtobufCMessageInit) pg_query__param__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__aggref__field_descriptors[19] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggfnoid", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, aggfnoid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggtype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, aggtype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggcollid", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, aggcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inputcollid", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, inputcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggargtypes", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Aggref, n_aggargtypes), - offsetof(PgQuery__Aggref, aggargtypes), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggdirectargs", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Aggref, n_aggdirectargs), - offsetof(PgQuery__Aggref, aggdirectargs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Aggref, n_args), - offsetof(PgQuery__Aggref, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggorder", - 9, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Aggref, n_aggorder), - offsetof(PgQuery__Aggref, aggorder), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggdistinct", - 10, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Aggref, n_aggdistinct), - offsetof(PgQuery__Aggref, aggdistinct), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggfilter", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, aggfilter), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggstar", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, aggstar), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggvariadic", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, aggvariadic), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggkind", - 14, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, aggkind), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "agglevelsup", - 15, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, agglevelsup), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggsplit", - 16, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, aggsplit), - &pg_query__agg_split__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggno", - 17, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, aggno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggtransno", - 18, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, aggtransno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 19, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Aggref, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__aggref__field_indices_by_name[] = { - 5, /* field[5] = aggargtypes */ - 3, /* field[3] = aggcollid */ - 6, /* field[6] = aggdirectargs */ - 9, /* field[9] = aggdistinct */ - 10, /* field[10] = aggfilter */ - 1, /* field[1] = aggfnoid */ - 13, /* field[13] = aggkind */ - 14, /* field[14] = agglevelsup */ - 16, /* field[16] = aggno */ - 8, /* field[8] = aggorder */ - 15, /* field[15] = aggsplit */ - 11, /* field[11] = aggstar */ - 17, /* field[17] = aggtransno */ - 2, /* field[2] = aggtype */ - 12, /* field[12] = aggvariadic */ - 7, /* field[7] = args */ - 4, /* field[4] = inputcollid */ - 18, /* field[18] = location */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__aggref__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 19 } -}; -const ProtobufCMessageDescriptor pg_query__aggref__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.Aggref", - "Aggref", - "PgQuery__Aggref", - "pg_query", - sizeof(PgQuery__Aggref), - 19, - pg_query__aggref__field_descriptors, - pg_query__aggref__field_indices_by_name, - 1, pg_query__aggref__number_ranges, - (ProtobufCMessageInit) pg_query__aggref__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__grouping_func__field_descriptors[5] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__GroupingFunc, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__GroupingFunc, n_args), - offsetof(PgQuery__GroupingFunc, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refs", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__GroupingFunc, n_refs), - offsetof(PgQuery__GroupingFunc, refs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "agglevelsup", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__GroupingFunc, agglevelsup), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__GroupingFunc, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__grouping_func__field_indices_by_name[] = { - 3, /* field[3] = agglevelsup */ - 1, /* field[1] = args */ - 4, /* field[4] = location */ - 2, /* field[2] = refs */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__grouping_func__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__grouping_func__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.GroupingFunc", - "GroupingFunc", - "PgQuery__GroupingFunc", - "pg_query", - sizeof(PgQuery__GroupingFunc), - 5, - pg_query__grouping_func__field_descriptors, - pg_query__grouping_func__field_indices_by_name, - 1, pg_query__grouping_func__number_ranges, - (ProtobufCMessageInit) pg_query__grouping_func__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__window_func__field_descriptors[12] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFunc, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "winfnoid", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFunc, winfnoid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "wintype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFunc, wintype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "wincollid", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFunc, wincollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inputcollid", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFunc, inputcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__WindowFunc, n_args), - offsetof(PgQuery__WindowFunc, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aggfilter", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFunc, aggfilter), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "run_condition", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__WindowFunc, n_run_condition), - offsetof(PgQuery__WindowFunc, run_condition), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "winref", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFunc, winref), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "winstar", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFunc, winstar), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "winagg", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFunc, winagg), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFunc, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__window_func__field_indices_by_name[] = { - 6, /* field[6] = aggfilter */ - 5, /* field[5] = args */ - 4, /* field[4] = inputcollid */ - 11, /* field[11] = location */ - 7, /* field[7] = run_condition */ - 10, /* field[10] = winagg */ - 3, /* field[3] = wincollid */ - 1, /* field[1] = winfnoid */ - 8, /* field[8] = winref */ - 9, /* field[9] = winstar */ - 2, /* field[2] = wintype */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__window_func__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 12 } -}; -const ProtobufCMessageDescriptor pg_query__window_func__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.WindowFunc", - "WindowFunc", - "PgQuery__WindowFunc", - "pg_query", - sizeof(PgQuery__WindowFunc), - 12, - pg_query__window_func__field_descriptors, - pg_query__window_func__field_indices_by_name, - 1, pg_query__window_func__number_ranges, - (ProtobufCMessageInit) pg_query__window_func__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__window_func_run_condition__field_descriptors[5] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFuncRunCondition, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opno", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFuncRunCondition, opno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inputcollid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFuncRunCondition, inputcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "wfunc_left", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFuncRunCondition, wfunc_left), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowFuncRunCondition, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__window_func_run_condition__field_indices_by_name[] = { - 4, /* field[4] = arg */ - 2, /* field[2] = inputcollid */ - 1, /* field[1] = opno */ - 3, /* field[3] = wfunc_left */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__window_func_run_condition__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__window_func_run_condition__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.WindowFuncRunCondition", - "WindowFuncRunCondition", - "PgQuery__WindowFuncRunCondition", - "pg_query", - sizeof(PgQuery__WindowFuncRunCondition), - 5, - pg_query__window_func_run_condition__field_descriptors, - pg_query__window_func_run_condition__field_indices_by_name, - 1, pg_query__window_func_run_condition__number_ranges, - (ProtobufCMessageInit) pg_query__window_func_run_condition__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__merge_support_func__field_descriptors[4] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeSupportFunc, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "msftype", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeSupportFunc, msftype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "msfcollid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeSupportFunc, msfcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeSupportFunc, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__merge_support_func__field_indices_by_name[] = { - 3, /* field[3] = location */ - 2, /* field[2] = msfcollid */ - 1, /* field[1] = msftype */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__merge_support_func__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__merge_support_func__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.MergeSupportFunc", - "MergeSupportFunc", - "PgQuery__MergeSupportFunc", - "pg_query", - sizeof(PgQuery__MergeSupportFunc), - 4, - pg_query__merge_support_func__field_descriptors, - pg_query__merge_support_func__field_indices_by_name, - 1, pg_query__merge_support_func__number_ranges, - (ProtobufCMessageInit) pg_query__merge_support_func__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__subscripting_ref__field_descriptors[10] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubscriptingRef, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refcontainertype", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubscriptingRef, refcontainertype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refelemtype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubscriptingRef, refelemtype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refrestype", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubscriptingRef, refrestype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reftypmod", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubscriptingRef, reftypmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refcollid", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubscriptingRef, refcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refupperindexpr", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SubscriptingRef, n_refupperindexpr), - offsetof(PgQuery__SubscriptingRef, refupperindexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reflowerindexpr", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SubscriptingRef, n_reflowerindexpr), - offsetof(PgQuery__SubscriptingRef, reflowerindexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refexpr", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubscriptingRef, refexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refassgnexpr", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubscriptingRef, refassgnexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__subscripting_ref__field_indices_by_name[] = { - 9, /* field[9] = refassgnexpr */ - 5, /* field[5] = refcollid */ - 1, /* field[1] = refcontainertype */ - 2, /* field[2] = refelemtype */ - 8, /* field[8] = refexpr */ - 7, /* field[7] = reflowerindexpr */ - 3, /* field[3] = refrestype */ - 4, /* field[4] = reftypmod */ - 6, /* field[6] = refupperindexpr */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__subscripting_ref__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 10 } -}; -const ProtobufCMessageDescriptor pg_query__subscripting_ref__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SubscriptingRef", - "SubscriptingRef", - "PgQuery__SubscriptingRef", - "pg_query", - sizeof(PgQuery__SubscriptingRef), - 10, - pg_query__subscripting_ref__field_descriptors, - pg_query__subscripting_ref__field_indices_by_name, - 1, pg_query__subscripting_ref__number_ranges, - (ProtobufCMessageInit) pg_query__subscripting_ref__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__func_expr__field_descriptors[10] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcid", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncExpr, funcid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcresulttype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncExpr, funcresulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcretset", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncExpr, funcretset), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcvariadic", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncExpr, funcvariadic), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcformat", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncExpr, funcformat), - &pg_query__coercion_form__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funccollid", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncExpr, funccollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inputcollid", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncExpr, inputcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 9, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__FuncExpr, n_args), - offsetof(PgQuery__FuncExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__func_expr__field_indices_by_name[] = { - 8, /* field[8] = args */ - 6, /* field[6] = funccollid */ - 5, /* field[5] = funcformat */ - 1, /* field[1] = funcid */ - 2, /* field[2] = funcresulttype */ - 3, /* field[3] = funcretset */ - 4, /* field[4] = funcvariadic */ - 7, /* field[7] = inputcollid */ - 9, /* field[9] = location */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__func_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 10 } -}; -const ProtobufCMessageDescriptor pg_query__func_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.FuncExpr", - "FuncExpr", - "PgQuery__FuncExpr", - "pg_query", - sizeof(PgQuery__FuncExpr), - 10, - pg_query__func_expr__field_descriptors, - pg_query__func_expr__field_indices_by_name, - 1, pg_query__func_expr__number_ranges, - (ProtobufCMessageInit) pg_query__func_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__named_arg_expr__field_descriptors[5] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__NamedArgExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__NamedArgExpr, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__NamedArgExpr, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "argnumber", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__NamedArgExpr, argnumber), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__NamedArgExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__named_arg_expr__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 3, /* field[3] = argnumber */ - 4, /* field[4] = location */ - 2, /* field[2] = name */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__named_arg_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__named_arg_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.NamedArgExpr", - "NamedArgExpr", - "PgQuery__NamedArgExpr", - "pg_query", - sizeof(PgQuery__NamedArgExpr), - 5, - pg_query__named_arg_expr__field_descriptors, - pg_query__named_arg_expr__field_indices_by_name, - 1, pg_query__named_arg_expr__number_ranges, - (ProtobufCMessageInit) pg_query__named_arg_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__op_expr__field_descriptors[8] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__OpExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opno", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__OpExpr, opno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opresulttype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__OpExpr, opresulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opretset", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__OpExpr, opretset), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opcollid", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__OpExpr, opcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inputcollid", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__OpExpr, inputcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__OpExpr, n_args), - offsetof(PgQuery__OpExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__OpExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__op_expr__field_indices_by_name[] = { - 6, /* field[6] = args */ - 5, /* field[5] = inputcollid */ - 7, /* field[7] = location */ - 4, /* field[4] = opcollid */ - 1, /* field[1] = opno */ - 2, /* field[2] = opresulttype */ - 3, /* field[3] = opretset */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__op_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__op_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.OpExpr", - "OpExpr", - "PgQuery__OpExpr", - "pg_query", - sizeof(PgQuery__OpExpr), - 8, - pg_query__op_expr__field_descriptors, - pg_query__op_expr__field_indices_by_name, - 1, pg_query__op_expr__number_ranges, - (ProtobufCMessageInit) pg_query__op_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__distinct_expr__field_descriptors[8] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__DistinctExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opno", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__DistinctExpr, opno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opresulttype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__DistinctExpr, opresulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opretset", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DistinctExpr, opretset), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opcollid", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__DistinctExpr, opcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inputcollid", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__DistinctExpr, inputcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__DistinctExpr, n_args), - offsetof(PgQuery__DistinctExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__DistinctExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__distinct_expr__field_indices_by_name[] = { - 6, /* field[6] = args */ - 5, /* field[5] = inputcollid */ - 7, /* field[7] = location */ - 4, /* field[4] = opcollid */ - 1, /* field[1] = opno */ - 2, /* field[2] = opresulttype */ - 3, /* field[3] = opretset */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__distinct_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__distinct_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DistinctExpr", - "DistinctExpr", - "PgQuery__DistinctExpr", - "pg_query", - sizeof(PgQuery__DistinctExpr), - 8, - pg_query__distinct_expr__field_descriptors, - pg_query__distinct_expr__field_indices_by_name, - 1, pg_query__distinct_expr__number_ranges, - (ProtobufCMessageInit) pg_query__distinct_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__null_if_expr__field_descriptors[8] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullIfExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opno", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullIfExpr, opno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opresulttype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullIfExpr, opresulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opretset", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullIfExpr, opretset), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opcollid", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullIfExpr, opcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inputcollid", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullIfExpr, inputcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__NullIfExpr, n_args), - offsetof(PgQuery__NullIfExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullIfExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__null_if_expr__field_indices_by_name[] = { - 6, /* field[6] = args */ - 5, /* field[5] = inputcollid */ - 7, /* field[7] = location */ - 4, /* field[4] = opcollid */ - 1, /* field[1] = opno */ - 2, /* field[2] = opresulttype */ - 3, /* field[3] = opretset */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__null_if_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__null_if_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.NullIfExpr", - "NullIfExpr", - "PgQuery__NullIfExpr", - "pg_query", - sizeof(PgQuery__NullIfExpr), - 8, - pg_query__null_if_expr__field_descriptors, - pg_query__null_if_expr__field_indices_by_name, - 1, pg_query__null_if_expr__number_ranges, - (ProtobufCMessageInit) pg_query__null_if_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__scalar_array_op_expr__field_descriptors[6] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ScalarArrayOpExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opno", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ScalarArrayOpExpr, opno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "use_or", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ScalarArrayOpExpr, use_or), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inputcollid", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ScalarArrayOpExpr, inputcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ScalarArrayOpExpr, n_args), - offsetof(PgQuery__ScalarArrayOpExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ScalarArrayOpExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__scalar_array_op_expr__field_indices_by_name[] = { - 4, /* field[4] = args */ - 3, /* field[3] = inputcollid */ - 5, /* field[5] = location */ - 1, /* field[1] = opno */ - 2, /* field[2] = use_or */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__scalar_array_op_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__scalar_array_op_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ScalarArrayOpExpr", - "ScalarArrayOpExpr", - "PgQuery__ScalarArrayOpExpr", - "pg_query", - sizeof(PgQuery__ScalarArrayOpExpr), - 6, - pg_query__scalar_array_op_expr__field_descriptors, - pg_query__scalar_array_op_expr__field_indices_by_name, - 1, pg_query__scalar_array_op_expr__number_ranges, - (ProtobufCMessageInit) pg_query__scalar_array_op_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__bool_expr__field_descriptors[4] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__BoolExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "boolop", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__BoolExpr, boolop), - &pg_query__bool_expr_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__BoolExpr, n_args), - offsetof(PgQuery__BoolExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__BoolExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__bool_expr__field_indices_by_name[] = { - 2, /* field[2] = args */ - 1, /* field[1] = boolop */ - 3, /* field[3] = location */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__bool_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__bool_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.BoolExpr", - "BoolExpr", - "PgQuery__BoolExpr", - "pg_query", - sizeof(PgQuery__BoolExpr), - 4, - pg_query__bool_expr__field_descriptors, - pg_query__bool_expr__field_indices_by_name, - 1, pg_query__bool_expr__number_ranges, - (ProtobufCMessageInit) pg_query__bool_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__sub_link__field_descriptors[7] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubLink, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sub_link_type", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubLink, sub_link_type), - &pg_query__sub_link_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sub_link_id", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubLink, sub_link_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "testexpr", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubLink, testexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "oper_name", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SubLink, n_oper_name), - offsetof(PgQuery__SubLink, oper_name), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "subselect", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubLink, subselect), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubLink, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__sub_link__field_indices_by_name[] = { - 6, /* field[6] = location */ - 4, /* field[4] = oper_name */ - 2, /* field[2] = sub_link_id */ - 1, /* field[1] = sub_link_type */ - 5, /* field[5] = subselect */ - 3, /* field[3] = testexpr */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__sub_link__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__sub_link__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SubLink", - "SubLink", - "PgQuery__SubLink", - "pg_query", - sizeof(PgQuery__SubLink), - 7, - pg_query__sub_link__field_descriptors, - pg_query__sub_link__field_indices_by_name, - 1, pg_query__sub_link__number_ranges, - (ProtobufCMessageInit) pg_query__sub_link__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__sub_plan__field_descriptors[17] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sub_link_type", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, sub_link_type), - &pg_query__sub_link_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "testexpr", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, testexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "param_ids", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SubPlan, n_param_ids), - offsetof(PgQuery__SubPlan, param_ids), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "plan_id", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, plan_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "plan_name", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, plan_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "first_col_type", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, first_col_type), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "first_col_typmod", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, first_col_typmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "first_col_collation", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, first_col_collation), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "use_hash_table", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, use_hash_table), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "unknown_eq_false", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, unknown_eq_false), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "parallel_safe", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, parallel_safe), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "set_param", - 13, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SubPlan, n_set_param), - offsetof(PgQuery__SubPlan, set_param), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "par_param", - 14, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SubPlan, n_par_param), - offsetof(PgQuery__SubPlan, par_param), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 15, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SubPlan, n_args), - offsetof(PgQuery__SubPlan, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "startup_cost", - 16, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_DOUBLE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, startup_cost), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "per_call_cost", - 17, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_DOUBLE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SubPlan, per_call_cost), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__sub_plan__field_indices_by_name[] = { - 14, /* field[14] = args */ - 8, /* field[8] = first_col_collation */ - 6, /* field[6] = first_col_type */ - 7, /* field[7] = first_col_typmod */ - 13, /* field[13] = par_param */ - 11, /* field[11] = parallel_safe */ - 3, /* field[3] = param_ids */ - 16, /* field[16] = per_call_cost */ - 4, /* field[4] = plan_id */ - 5, /* field[5] = plan_name */ - 12, /* field[12] = set_param */ - 15, /* field[15] = startup_cost */ - 1, /* field[1] = sub_link_type */ - 2, /* field[2] = testexpr */ - 10, /* field[10] = unknown_eq_false */ - 9, /* field[9] = use_hash_table */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__sub_plan__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 17 } -}; -const ProtobufCMessageDescriptor pg_query__sub_plan__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SubPlan", - "SubPlan", - "PgQuery__SubPlan", - "pg_query", - sizeof(PgQuery__SubPlan), - 17, - pg_query__sub_plan__field_descriptors, - pg_query__sub_plan__field_indices_by_name, - 1, pg_query__sub_plan__number_ranges, - (ProtobufCMessageInit) pg_query__sub_plan__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alternative_sub_plan__field_descriptors[2] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlternativeSubPlan, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "subplans", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlternativeSubPlan, n_subplans), - offsetof(PgQuery__AlternativeSubPlan, subplans), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alternative_sub_plan__field_indices_by_name[] = { - 1, /* field[1] = subplans */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__alternative_sub_plan__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__alternative_sub_plan__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlternativeSubPlan", - "AlternativeSubPlan", - "PgQuery__AlternativeSubPlan", - "pg_query", - sizeof(PgQuery__AlternativeSubPlan), - 2, - pg_query__alternative_sub_plan__field_descriptors, - pg_query__alternative_sub_plan__field_indices_by_name, - 1, pg_query__alternative_sub_plan__number_ranges, - (ProtobufCMessageInit) pg_query__alternative_sub_plan__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__field_select__field_descriptors[6] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__FieldSelect, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__FieldSelect, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fieldnum", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FieldSelect, fieldnum), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttype", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FieldSelect, resulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttypmod", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FieldSelect, resulttypmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resultcollid", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FieldSelect, resultcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__field_select__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 2, /* field[2] = fieldnum */ - 5, /* field[5] = resultcollid */ - 3, /* field[3] = resulttype */ - 4, /* field[4] = resulttypmod */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__field_select__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__field_select__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.FieldSelect", - "FieldSelect", - "PgQuery__FieldSelect", - "pg_query", - sizeof(PgQuery__FieldSelect), - 6, - pg_query__field_select__field_descriptors, - pg_query__field_select__field_indices_by_name, - 1, pg_query__field_select__number_ranges, - (ProtobufCMessageInit) pg_query__field_select__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__field_store__field_descriptors[5] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__FieldStore, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__FieldStore, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "newvals", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__FieldStore, n_newvals), - offsetof(PgQuery__FieldStore, newvals), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fieldnums", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__FieldStore, n_fieldnums), - offsetof(PgQuery__FieldStore, fieldnums), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttype", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FieldStore, resulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__field_store__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 3, /* field[3] = fieldnums */ - 2, /* field[2] = newvals */ - 4, /* field[4] = resulttype */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__field_store__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__field_store__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.FieldStore", - "FieldStore", - "PgQuery__FieldStore", - "pg_query", - sizeof(PgQuery__FieldStore), - 5, - pg_query__field_store__field_descriptors, - pg_query__field_store__field_indices_by_name, - 1, pg_query__field_store__number_ranges, - (ProtobufCMessageInit) pg_query__field_store__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__relabel_type__field_descriptors[7] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RelabelType, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RelabelType, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RelabelType, resulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttypmod", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RelabelType, resulttypmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resultcollid", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RelabelType, resultcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relabelformat", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RelabelType, relabelformat), - &pg_query__coercion_form__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RelabelType, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__relabel_type__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 6, /* field[6] = location */ - 5, /* field[5] = relabelformat */ - 4, /* field[4] = resultcollid */ - 2, /* field[2] = resulttype */ - 3, /* field[3] = resulttypmod */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__relabel_type__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__relabel_type__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RelabelType", - "RelabelType", - "PgQuery__RelabelType", - "pg_query", - sizeof(PgQuery__RelabelType), - 7, - pg_query__relabel_type__field_descriptors, - pg_query__relabel_type__field_indices_by_name, - 1, pg_query__relabel_type__number_ranges, - (ProtobufCMessageInit) pg_query__relabel_type__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__coerce_via_io__field_descriptors[6] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceViaIO, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceViaIO, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceViaIO, resulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resultcollid", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceViaIO, resultcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coerceformat", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceViaIO, coerceformat), - &pg_query__coercion_form__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceViaIO, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__coerce_via_io__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 4, /* field[4] = coerceformat */ - 5, /* field[5] = location */ - 3, /* field[3] = resultcollid */ - 2, /* field[2] = resulttype */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__coerce_via_io__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__coerce_via_io__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CoerceViaIO", - "CoerceViaIO", - "PgQuery__CoerceViaIO", - "pg_query", - sizeof(PgQuery__CoerceViaIO), - 6, - pg_query__coerce_via_io__field_descriptors, - pg_query__coerce_via_io__field_indices_by_name, - 1, pg_query__coerce_via_io__number_ranges, - (ProtobufCMessageInit) pg_query__coerce_via_io__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__array_coerce_expr__field_descriptors[8] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayCoerceExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayCoerceExpr, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "elemexpr", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayCoerceExpr, elemexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttype", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayCoerceExpr, resulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttypmod", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayCoerceExpr, resulttypmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resultcollid", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayCoerceExpr, resultcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coerceformat", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayCoerceExpr, coerceformat), - &pg_query__coercion_form__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayCoerceExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__array_coerce_expr__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 6, /* field[6] = coerceformat */ - 2, /* field[2] = elemexpr */ - 7, /* field[7] = location */ - 5, /* field[5] = resultcollid */ - 3, /* field[3] = resulttype */ - 4, /* field[4] = resulttypmod */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__array_coerce_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__array_coerce_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ArrayCoerceExpr", - "ArrayCoerceExpr", - "PgQuery__ArrayCoerceExpr", - "pg_query", - sizeof(PgQuery__ArrayCoerceExpr), - 8, - pg_query__array_coerce_expr__field_descriptors, - pg_query__array_coerce_expr__field_indices_by_name, - 1, pg_query__array_coerce_expr__number_ranges, - (ProtobufCMessageInit) pg_query__array_coerce_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__convert_rowtype_expr__field_descriptors[5] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ConvertRowtypeExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ConvertRowtypeExpr, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ConvertRowtypeExpr, resulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "convertformat", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__ConvertRowtypeExpr, convertformat), - &pg_query__coercion_form__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ConvertRowtypeExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__convert_rowtype_expr__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 3, /* field[3] = convertformat */ - 4, /* field[4] = location */ - 2, /* field[2] = resulttype */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__convert_rowtype_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__convert_rowtype_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ConvertRowtypeExpr", - "ConvertRowtypeExpr", - "PgQuery__ConvertRowtypeExpr", - "pg_query", - sizeof(PgQuery__ConvertRowtypeExpr), - 5, - pg_query__convert_rowtype_expr__field_descriptors, - pg_query__convert_rowtype_expr__field_indices_by_name, - 1, pg_query__convert_rowtype_expr__number_ranges, - (ProtobufCMessageInit) pg_query__convert_rowtype_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__collate_expr__field_descriptors[4] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CollateExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CollateExpr, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coll_oid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CollateExpr, coll_oid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CollateExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__collate_expr__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 2, /* field[2] = coll_oid */ - 3, /* field[3] = location */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__collate_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__collate_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CollateExpr", - "CollateExpr", - "PgQuery__CollateExpr", - "pg_query", - sizeof(PgQuery__CollateExpr), - 4, - pg_query__collate_expr__field_descriptors, - pg_query__collate_expr__field_indices_by_name, - 1, pg_query__collate_expr__number_ranges, - (ProtobufCMessageInit) pg_query__collate_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__case_expr__field_descriptors[7] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "casetype", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseExpr, casetype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "casecollid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseExpr, casecollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseExpr, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CaseExpr, n_args), - offsetof(PgQuery__CaseExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "defresult", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseExpr, defresult), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__case_expr__field_indices_by_name[] = { - 3, /* field[3] = arg */ - 4, /* field[4] = args */ - 2, /* field[2] = casecollid */ - 1, /* field[1] = casetype */ - 5, /* field[5] = defresult */ - 6, /* field[6] = location */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__case_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__case_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CaseExpr", - "CaseExpr", - "PgQuery__CaseExpr", - "pg_query", - sizeof(PgQuery__CaseExpr), - 7, - pg_query__case_expr__field_descriptors, - pg_query__case_expr__field_indices_by_name, - 1, pg_query__case_expr__number_ranges, - (ProtobufCMessageInit) pg_query__case_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__case_when__field_descriptors[4] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseWhen, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "expr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseWhen, expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "result", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseWhen, result), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseWhen, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__case_when__field_indices_by_name[] = { - 1, /* field[1] = expr */ - 3, /* field[3] = location */ - 2, /* field[2] = result */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__case_when__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__case_when__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CaseWhen", - "CaseWhen", - "PgQuery__CaseWhen", - "pg_query", - sizeof(PgQuery__CaseWhen), - 4, - pg_query__case_when__field_descriptors, - pg_query__case_when__field_indices_by_name, - 1, pg_query__case_when__number_ranges, - (ProtobufCMessageInit) pg_query__case_when__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__case_test_expr__field_descriptors[4] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseTestExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_id", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseTestExpr, type_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_mod", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseTestExpr, type_mod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "collation", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CaseTestExpr, collation), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__case_test_expr__field_indices_by_name[] = { - 3, /* field[3] = collation */ - 1, /* field[1] = type_id */ - 2, /* field[2] = type_mod */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__case_test_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__case_test_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CaseTestExpr", - "CaseTestExpr", - "PgQuery__CaseTestExpr", - "pg_query", - sizeof(PgQuery__CaseTestExpr), - 4, - pg_query__case_test_expr__field_descriptors, - pg_query__case_test_expr__field_indices_by_name, - 1, pg_query__case_test_expr__number_ranges, - (ProtobufCMessageInit) pg_query__case_test_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__array_expr__field_descriptors[9] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "array_typeid", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayExpr, array_typeid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "array_collid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayExpr, array_collid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "element_typeid", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayExpr, element_typeid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "elements", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ArrayExpr, n_elements), - offsetof(PgQuery__ArrayExpr, elements), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "multidims", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayExpr, multidims), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "list_start", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayExpr, list_start), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "list_end", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayExpr, list_end), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ArrayExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__array_expr__field_indices_by_name[] = { - 2, /* field[2] = array_collid */ - 1, /* field[1] = array_typeid */ - 3, /* field[3] = element_typeid */ - 4, /* field[4] = elements */ - 7, /* field[7] = list_end */ - 6, /* field[6] = list_start */ - 8, /* field[8] = location */ - 5, /* field[5] = multidims */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__array_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 9 } -}; -const ProtobufCMessageDescriptor pg_query__array_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ArrayExpr", - "ArrayExpr", - "PgQuery__ArrayExpr", - "pg_query", - sizeof(PgQuery__ArrayExpr), - 9, - pg_query__array_expr__field_descriptors, - pg_query__array_expr__field_indices_by_name, - 1, pg_query__array_expr__number_ranges, - (ProtobufCMessageInit) pg_query__array_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__row_expr__field_descriptors[6] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RowExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RowExpr, n_args), - offsetof(PgQuery__RowExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "row_typeid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RowExpr, row_typeid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "row_format", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RowExpr, row_format), - &pg_query__coercion_form__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "colnames", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RowExpr, n_colnames), - offsetof(PgQuery__RowExpr, colnames), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RowExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__row_expr__field_indices_by_name[] = { - 1, /* field[1] = args */ - 4, /* field[4] = colnames */ - 5, /* field[5] = location */ - 3, /* field[3] = row_format */ - 2, /* field[2] = row_typeid */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__row_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__row_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RowExpr", - "RowExpr", - "PgQuery__RowExpr", - "pg_query", - sizeof(PgQuery__RowExpr), - 6, - pg_query__row_expr__field_descriptors, - pg_query__row_expr__field_indices_by_name, - 1, pg_query__row_expr__number_ranges, - (ProtobufCMessageInit) pg_query__row_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__row_compare_expr__field_descriptors[7] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RowCompareExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cmptype", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RowCompareExpr, cmptype), - &pg_query__compare_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opnos", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RowCompareExpr, n_opnos), - offsetof(PgQuery__RowCompareExpr, opnos), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opfamilies", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RowCompareExpr, n_opfamilies), - offsetof(PgQuery__RowCompareExpr, opfamilies), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inputcollids", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RowCompareExpr, n_inputcollids), - offsetof(PgQuery__RowCompareExpr, inputcollids), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "largs", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RowCompareExpr, n_largs), - offsetof(PgQuery__RowCompareExpr, largs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rargs", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RowCompareExpr, n_rargs), - offsetof(PgQuery__RowCompareExpr, rargs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__row_compare_expr__field_indices_by_name[] = { - 1, /* field[1] = cmptype */ - 4, /* field[4] = inputcollids */ - 5, /* field[5] = largs */ - 3, /* field[3] = opfamilies */ - 2, /* field[2] = opnos */ - 6, /* field[6] = rargs */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__row_compare_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__row_compare_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RowCompareExpr", - "RowCompareExpr", - "PgQuery__RowCompareExpr", - "pg_query", - sizeof(PgQuery__RowCompareExpr), - 7, - pg_query__row_compare_expr__field_descriptors, - pg_query__row_compare_expr__field_indices_by_name, - 1, pg_query__row_compare_expr__number_ranges, - (ProtobufCMessageInit) pg_query__row_compare_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__coalesce_expr__field_descriptors[5] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoalesceExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coalescetype", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoalesceExpr, coalescetype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coalescecollid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoalesceExpr, coalescecollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CoalesceExpr, n_args), - offsetof(PgQuery__CoalesceExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoalesceExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__coalesce_expr__field_indices_by_name[] = { - 3, /* field[3] = args */ - 2, /* field[2] = coalescecollid */ - 1, /* field[1] = coalescetype */ - 4, /* field[4] = location */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__coalesce_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__coalesce_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CoalesceExpr", - "CoalesceExpr", - "PgQuery__CoalesceExpr", - "pg_query", - sizeof(PgQuery__CoalesceExpr), - 5, - pg_query__coalesce_expr__field_descriptors, - pg_query__coalesce_expr__field_indices_by_name, - 1, pg_query__coalesce_expr__number_ranges, - (ProtobufCMessageInit) pg_query__coalesce_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__min_max_expr__field_descriptors[7] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__MinMaxExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "minmaxtype", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__MinMaxExpr, minmaxtype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "minmaxcollid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__MinMaxExpr, minmaxcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inputcollid", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__MinMaxExpr, inputcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "op", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__MinMaxExpr, op), - &pg_query__min_max_op__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__MinMaxExpr, n_args), - offsetof(PgQuery__MinMaxExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__MinMaxExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__min_max_expr__field_indices_by_name[] = { - 5, /* field[5] = args */ - 3, /* field[3] = inputcollid */ - 6, /* field[6] = location */ - 2, /* field[2] = minmaxcollid */ - 1, /* field[1] = minmaxtype */ - 4, /* field[4] = op */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__min_max_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__min_max_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.MinMaxExpr", - "MinMaxExpr", - "PgQuery__MinMaxExpr", - "pg_query", - sizeof(PgQuery__MinMaxExpr), - 7, - pg_query__min_max_expr__field_descriptors, - pg_query__min_max_expr__field_indices_by_name, - 1, pg_query__min_max_expr__number_ranges, - (ProtobufCMessageInit) pg_query__min_max_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__sqlvalue_function__field_descriptors[5] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SQLValueFunction, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "op", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SQLValueFunction, op), - &pg_query__sqlvalue_function_op__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SQLValueFunction, type), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "typmod", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SQLValueFunction, typmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SQLValueFunction, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__sqlvalue_function__field_indices_by_name[] = { - 4, /* field[4] = location */ - 1, /* field[1] = op */ - 2, /* field[2] = type */ - 3, /* field[3] = typmod */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__sqlvalue_function__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__sqlvalue_function__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SQLValueFunction", - "SQLValueFunction", - "PgQuery__SQLValueFunction", - "pg_query", - sizeof(PgQuery__SQLValueFunction), - 5, - pg_query__sqlvalue_function__field_descriptors, - pg_query__sqlvalue_function__field_indices_by_name, - 1, pg_query__sqlvalue_function__number_ranges, - (ProtobufCMessageInit) pg_query__sqlvalue_function__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__xml_expr__field_descriptors[11] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "op", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlExpr, op), - &pg_query__xml_expr_op__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlExpr, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "named_args", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__XmlExpr, n_named_args), - offsetof(PgQuery__XmlExpr, named_args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg_names", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__XmlExpr, n_arg_names), - offsetof(PgQuery__XmlExpr, arg_names), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__XmlExpr, n_args), - offsetof(PgQuery__XmlExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "xmloption", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlExpr, xmloption), - &pg_query__xml_option_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "indent", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlExpr, indent), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlExpr, type), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "typmod", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlExpr, typmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__xml_expr__field_indices_by_name[] = { - 4, /* field[4] = arg_names */ - 5, /* field[5] = args */ - 7, /* field[7] = indent */ - 10, /* field[10] = location */ - 2, /* field[2] = name */ - 3, /* field[3] = named_args */ - 1, /* field[1] = op */ - 8, /* field[8] = type */ - 9, /* field[9] = typmod */ - 6, /* field[6] = xmloption */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__xml_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 11 } -}; -const ProtobufCMessageDescriptor pg_query__xml_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.XmlExpr", - "XmlExpr", - "PgQuery__XmlExpr", - "pg_query", - sizeof(PgQuery__XmlExpr), - 11, - pg_query__xml_expr__field_descriptors, - pg_query__xml_expr__field_indices_by_name, - 1, pg_query__xml_expr__number_ranges, - (ProtobufCMessageInit) pg_query__xml_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_format__field_descriptors[3] = -{ - { - "format_type", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFormat, format_type), - &pg_query__json_format_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "encoding", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFormat, encoding), - &pg_query__json_encoding__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFormat, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_format__field_indices_by_name[] = { - 1, /* field[1] = encoding */ - 0, /* field[0] = format_type */ - 2, /* field[2] = location */ -}; -static const ProtobufCIntRange pg_query__json_format__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__json_format__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonFormat", - "JsonFormat", - "PgQuery__JsonFormat", - "pg_query", - sizeof(PgQuery__JsonFormat), - 3, - pg_query__json_format__field_descriptors, - pg_query__json_format__field_indices_by_name, - 1, pg_query__json_format__number_ranges, - (ProtobufCMessageInit) pg_query__json_format__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_returning__field_descriptors[3] = -{ - { - "format", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonReturning, format), - &pg_query__json_format__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "typid", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonReturning, typid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "typmod", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonReturning, typmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_returning__field_indices_by_name[] = { - 0, /* field[0] = format */ - 1, /* field[1] = typid */ - 2, /* field[2] = typmod */ -}; -static const ProtobufCIntRange pg_query__json_returning__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__json_returning__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonReturning", - "JsonReturning", - "PgQuery__JsonReturning", - "pg_query", - sizeof(PgQuery__JsonReturning), - 3, - pg_query__json_returning__field_descriptors, - pg_query__json_returning__field_indices_by_name, - 1, pg_query__json_returning__number_ranges, - (ProtobufCMessageInit) pg_query__json_returning__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_value_expr__field_descriptors[3] = -{ - { - "raw_expr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonValueExpr, raw_expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "formatted_expr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonValueExpr, formatted_expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "format", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonValueExpr, format), - &pg_query__json_format__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_value_expr__field_indices_by_name[] = { - 2, /* field[2] = format */ - 1, /* field[1] = formatted_expr */ - 0, /* field[0] = raw_expr */ -}; -static const ProtobufCIntRange pg_query__json_value_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__json_value_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonValueExpr", - "JsonValueExpr", - "PgQuery__JsonValueExpr", - "pg_query", - sizeof(PgQuery__JsonValueExpr), - 3, - pg_query__json_value_expr__field_descriptors, - pg_query__json_value_expr__field_indices_by_name, - 1, pg_query__json_value_expr__number_ranges, - (ProtobufCMessageInit) pg_query__json_value_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_constructor_expr__field_descriptors[9] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonConstructorExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonConstructorExpr, type), - &pg_query__json_constructor_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JsonConstructorExpr, n_args), - offsetof(PgQuery__JsonConstructorExpr, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "func", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonConstructorExpr, func), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coercion", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonConstructorExpr, coercion), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonConstructorExpr, returning), - &pg_query__json_returning__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "absent_on_null", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonConstructorExpr, absent_on_null), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "unique", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonConstructorExpr, unique), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonConstructorExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_constructor_expr__field_indices_by_name[] = { - 6, /* field[6] = absent_on_null */ - 2, /* field[2] = args */ - 4, /* field[4] = coercion */ - 3, /* field[3] = func */ - 8, /* field[8] = location */ - 5, /* field[5] = returning */ - 1, /* field[1] = type */ - 7, /* field[7] = unique */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__json_constructor_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 9 } -}; -const ProtobufCMessageDescriptor pg_query__json_constructor_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonConstructorExpr", - "JsonConstructorExpr", - "PgQuery__JsonConstructorExpr", - "pg_query", - sizeof(PgQuery__JsonConstructorExpr), - 9, - pg_query__json_constructor_expr__field_descriptors, - pg_query__json_constructor_expr__field_indices_by_name, - 1, pg_query__json_constructor_expr__number_ranges, - (ProtobufCMessageInit) pg_query__json_constructor_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_is_predicate__field_descriptors[5] = -{ - { - "expr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonIsPredicate, expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "format", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonIsPredicate, format), - &pg_query__json_format__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "item_type", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonIsPredicate, item_type), - &pg_query__json_value_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "unique_keys", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonIsPredicate, unique_keys), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonIsPredicate, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_is_predicate__field_indices_by_name[] = { - 0, /* field[0] = expr */ - 1, /* field[1] = format */ - 2, /* field[2] = item_type */ - 4, /* field[4] = location */ - 3, /* field[3] = unique_keys */ -}; -static const ProtobufCIntRange pg_query__json_is_predicate__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__json_is_predicate__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonIsPredicate", - "JsonIsPredicate", - "PgQuery__JsonIsPredicate", - "pg_query", - sizeof(PgQuery__JsonIsPredicate), - 5, - pg_query__json_is_predicate__field_descriptors, - pg_query__json_is_predicate__field_indices_by_name, - 1, pg_query__json_is_predicate__number_ranges, - (ProtobufCMessageInit) pg_query__json_is_predicate__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_behavior__field_descriptors[4] = -{ - { - "btype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonBehavior, btype), - &pg_query__json_behavior_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "expr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonBehavior, expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coerce", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonBehavior, coerce), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonBehavior, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_behavior__field_indices_by_name[] = { - 0, /* field[0] = btype */ - 2, /* field[2] = coerce */ - 1, /* field[1] = expr */ - 3, /* field[3] = location */ -}; -static const ProtobufCIntRange pg_query__json_behavior__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__json_behavior__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonBehavior", - "JsonBehavior", - "PgQuery__JsonBehavior", - "pg_query", - sizeof(PgQuery__JsonBehavior), - 4, - pg_query__json_behavior__field_descriptors, - pg_query__json_behavior__field_indices_by_name, - 1, pg_query__json_behavior__number_ranges, - (ProtobufCMessageInit) pg_query__json_behavior__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_expr__field_descriptors[17] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "op", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, op), - &pg_query__json_expr_op__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "column_name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, column_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "formatted_expr", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, formatted_expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "format", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, format), - &pg_query__json_format__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "path_spec", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, path_spec), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, returning), - &pg_query__json_returning__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "passing_names", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JsonExpr, n_passing_names), - offsetof(PgQuery__JsonExpr, passing_names), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "passing_values", - 9, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JsonExpr, n_passing_values), - offsetof(PgQuery__JsonExpr, passing_values), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_empty", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, on_empty), - &pg_query__json_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_error", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, on_error), - &pg_query__json_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "use_io_coercion", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, use_io_coercion), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "use_json_coercion", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, use_json_coercion), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "wrapper", - 14, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, wrapper), - &pg_query__json_wrapper__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "omit_quotes", - 15, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, omit_quotes), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "collation", - 16, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, collation), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 17, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_expr__field_indices_by_name[] = { - 15, /* field[15] = collation */ - 2, /* field[2] = column_name */ - 4, /* field[4] = format */ - 3, /* field[3] = formatted_expr */ - 16, /* field[16] = location */ - 14, /* field[14] = omit_quotes */ - 9, /* field[9] = on_empty */ - 10, /* field[10] = on_error */ - 1, /* field[1] = op */ - 7, /* field[7] = passing_names */ - 8, /* field[8] = passing_values */ - 5, /* field[5] = path_spec */ - 6, /* field[6] = returning */ - 11, /* field[11] = use_io_coercion */ - 12, /* field[12] = use_json_coercion */ - 13, /* field[13] = wrapper */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__json_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 17 } -}; -const ProtobufCMessageDescriptor pg_query__json_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonExpr", - "JsonExpr", - "PgQuery__JsonExpr", - "pg_query", - sizeof(PgQuery__JsonExpr), - 17, - pg_query__json_expr__field_descriptors, - pg_query__json_expr__field_indices_by_name, - 1, pg_query__json_expr__number_ranges, - (ProtobufCMessageInit) pg_query__json_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_table_path__field_descriptors[1] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePath, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_table_path__field_indices_by_name[] = { - 0, /* field[0] = name */ -}; -static const ProtobufCIntRange pg_query__json_table_path__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__json_table_path__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonTablePath", - "JsonTablePath", - "PgQuery__JsonTablePath", - "pg_query", - sizeof(PgQuery__JsonTablePath), - 1, - pg_query__json_table_path__field_descriptors, - pg_query__json_table_path__field_indices_by_name, - 1, pg_query__json_table_path__number_ranges, - (ProtobufCMessageInit) pg_query__json_table_path__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_table_path_scan__field_descriptors[6] = -{ - { - "plan", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePathScan, plan), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "path", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePathScan, path), - &pg_query__json_table_path__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "error_on_error", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePathScan, error_on_error), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "child", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePathScan, child), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "col_min", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePathScan, col_min), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "col_max", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePathScan, col_max), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_table_path_scan__field_indices_by_name[] = { - 3, /* field[3] = child */ - 5, /* field[5] = col_max */ - 4, /* field[4] = col_min */ - 2, /* field[2] = error_on_error */ - 1, /* field[1] = path */ - 0, /* field[0] = plan */ -}; -static const ProtobufCIntRange pg_query__json_table_path_scan__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__json_table_path_scan__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonTablePathScan", - "JsonTablePathScan", - "PgQuery__JsonTablePathScan", - "pg_query", - sizeof(PgQuery__JsonTablePathScan), - 6, - pg_query__json_table_path_scan__field_descriptors, - pg_query__json_table_path_scan__field_indices_by_name, - 1, pg_query__json_table_path_scan__number_ranges, - (ProtobufCMessageInit) pg_query__json_table_path_scan__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_table_sibling_join__field_descriptors[3] = -{ - { - "plan", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableSiblingJoin, plan), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "lplan", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableSiblingJoin, lplan), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rplan", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableSiblingJoin, rplan), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_table_sibling_join__field_indices_by_name[] = { - 1, /* field[1] = lplan */ - 0, /* field[0] = plan */ - 2, /* field[2] = rplan */ -}; -static const ProtobufCIntRange pg_query__json_table_sibling_join__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__json_table_sibling_join__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonTableSiblingJoin", - "JsonTableSiblingJoin", - "PgQuery__JsonTableSiblingJoin", - "pg_query", - sizeof(PgQuery__JsonTableSiblingJoin), - 3, - pg_query__json_table_sibling_join__field_descriptors, - pg_query__json_table_sibling_join__field_indices_by_name, - 1, pg_query__json_table_sibling_join__number_ranges, - (ProtobufCMessageInit) pg_query__json_table_sibling_join__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__null_test__field_descriptors[5] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullTest, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullTest, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nulltesttype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullTest, nulltesttype), - &pg_query__null_test_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "argisrow", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullTest, argisrow), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__NullTest, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__null_test__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 3, /* field[3] = argisrow */ - 4, /* field[4] = location */ - 2, /* field[2] = nulltesttype */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__null_test__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__null_test__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.NullTest", - "NullTest", - "PgQuery__NullTest", - "pg_query", - sizeof(PgQuery__NullTest), - 5, - pg_query__null_test__field_descriptors, - pg_query__null_test__field_indices_by_name, - 1, pg_query__null_test__number_ranges, - (ProtobufCMessageInit) pg_query__null_test__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__boolean_test__field_descriptors[4] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__BooleanTest, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__BooleanTest, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "booltesttype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__BooleanTest, booltesttype), - &pg_query__bool_test_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__BooleanTest, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__boolean_test__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 2, /* field[2] = booltesttype */ - 3, /* field[3] = location */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__boolean_test__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__boolean_test__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.BooleanTest", - "BooleanTest", - "PgQuery__BooleanTest", - "pg_query", - sizeof(PgQuery__BooleanTest), - 4, - pg_query__boolean_test__field_descriptors, - pg_query__boolean_test__field_indices_by_name, - 1, pg_query__boolean_test__number_ranges, - (ProtobufCMessageInit) pg_query__boolean_test__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__merge_action__field_descriptors[6] = -{ - { - "match_kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeAction, match_kind), - &pg_query__merge_match_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "command_type", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeAction, command_type), - &pg_query__cmd_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "override", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeAction, override), - &pg_query__overriding_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "qual", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeAction, qual), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "target_list", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__MergeAction, n_target_list), - offsetof(PgQuery__MergeAction, target_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "update_colnos", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__MergeAction, n_update_colnos), - offsetof(PgQuery__MergeAction, update_colnos), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__merge_action__field_indices_by_name[] = { - 1, /* field[1] = command_type */ - 0, /* field[0] = match_kind */ - 2, /* field[2] = override */ - 3, /* field[3] = qual */ - 4, /* field[4] = target_list */ - 5, /* field[5] = update_colnos */ -}; -static const ProtobufCIntRange pg_query__merge_action__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__merge_action__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.MergeAction", - "MergeAction", - "PgQuery__MergeAction", - "pg_query", - sizeof(PgQuery__MergeAction), - 6, - pg_query__merge_action__field_descriptors, - pg_query__merge_action__field_indices_by_name, - 1, pg_query__merge_action__number_ranges, - (ProtobufCMessageInit) pg_query__merge_action__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__coerce_to_domain__field_descriptors[7] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomain, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomain, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomain, resulttype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resulttypmod", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomain, resulttypmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resultcollid", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomain, resultcollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coercionformat", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomain, coercionformat), - &pg_query__coercion_form__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomain, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__coerce_to_domain__field_indices_by_name[] = { - 1, /* field[1] = arg */ - 5, /* field[5] = coercionformat */ - 6, /* field[6] = location */ - 4, /* field[4] = resultcollid */ - 2, /* field[2] = resulttype */ - 3, /* field[3] = resulttypmod */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__coerce_to_domain__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__coerce_to_domain__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CoerceToDomain", - "CoerceToDomain", - "PgQuery__CoerceToDomain", - "pg_query", - sizeof(PgQuery__CoerceToDomain), - 7, - pg_query__coerce_to_domain__field_descriptors, - pg_query__coerce_to_domain__field_indices_by_name, - 1, pg_query__coerce_to_domain__number_ranges, - (ProtobufCMessageInit) pg_query__coerce_to_domain__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__coerce_to_domain_value__field_descriptors[5] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomainValue, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_id", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomainValue, type_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_mod", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomainValue, type_mod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "collation", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomainValue, collation), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CoerceToDomainValue, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__coerce_to_domain_value__field_indices_by_name[] = { - 3, /* field[3] = collation */ - 4, /* field[4] = location */ - 1, /* field[1] = type_id */ - 2, /* field[2] = type_mod */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__coerce_to_domain_value__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__coerce_to_domain_value__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CoerceToDomainValue", - "CoerceToDomainValue", - "PgQuery__CoerceToDomainValue", - "pg_query", - sizeof(PgQuery__CoerceToDomainValue), - 5, - pg_query__coerce_to_domain_value__field_descriptors, - pg_query__coerce_to_domain_value__field_indices_by_name, - 1, pg_query__coerce_to_domain_value__number_ranges, - (ProtobufCMessageInit) pg_query__coerce_to_domain_value__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__set_to_default__field_descriptors[5] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SetToDefault, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_id", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SetToDefault, type_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_mod", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SetToDefault, type_mod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "collation", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SetToDefault, collation), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SetToDefault, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__set_to_default__field_indices_by_name[] = { - 3, /* field[3] = collation */ - 4, /* field[4] = location */ - 1, /* field[1] = type_id */ - 2, /* field[2] = type_mod */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__set_to_default__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__set_to_default__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SetToDefault", - "SetToDefault", - "PgQuery__SetToDefault", - "pg_query", - sizeof(PgQuery__SetToDefault), - 5, - pg_query__set_to_default__field_descriptors, - pg_query__set_to_default__field_indices_by_name, - 1, pg_query__set_to_default__number_ranges, - (ProtobufCMessageInit) pg_query__set_to_default__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__current_of_expr__field_descriptors[4] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CurrentOfExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cvarno", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CurrentOfExpr, cvarno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cursor_name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CurrentOfExpr, cursor_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cursor_param", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CurrentOfExpr, cursor_param), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__current_of_expr__field_indices_by_name[] = { - 2, /* field[2] = cursor_name */ - 3, /* field[3] = cursor_param */ - 1, /* field[1] = cvarno */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__current_of_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__current_of_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CurrentOfExpr", - "CurrentOfExpr", - "PgQuery__CurrentOfExpr", - "pg_query", - sizeof(PgQuery__CurrentOfExpr), - 4, - pg_query__current_of_expr__field_descriptors, - pg_query__current_of_expr__field_indices_by_name, - 1, pg_query__current_of_expr__number_ranges, - (ProtobufCMessageInit) pg_query__current_of_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__next_value_expr__field_descriptors[3] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__NextValueExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "seqid", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__NextValueExpr, seqid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_id", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__NextValueExpr, type_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__next_value_expr__field_indices_by_name[] = { - 1, /* field[1] = seqid */ - 2, /* field[2] = type_id */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__next_value_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__next_value_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.NextValueExpr", - "NextValueExpr", - "PgQuery__NextValueExpr", - "pg_query", - sizeof(PgQuery__NextValueExpr), - 3, - pg_query__next_value_expr__field_descriptors, - pg_query__next_value_expr__field_indices_by_name, - 1, pg_query__next_value_expr__number_ranges, - (ProtobufCMessageInit) pg_query__next_value_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__inference_elem__field_descriptors[4] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__InferenceElem, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "expr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__InferenceElem, expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "infercollid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__InferenceElem, infercollid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inferopclass", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__InferenceElem, inferopclass), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__inference_elem__field_indices_by_name[] = { - 1, /* field[1] = expr */ - 2, /* field[2] = infercollid */ - 3, /* field[3] = inferopclass */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__inference_elem__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__inference_elem__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.InferenceElem", - "InferenceElem", - "PgQuery__InferenceElem", - "pg_query", - sizeof(PgQuery__InferenceElem), - 4, - pg_query__inference_elem__field_descriptors, - pg_query__inference_elem__field_indices_by_name, - 1, pg_query__inference_elem__number_ranges, - (ProtobufCMessageInit) pg_query__inference_elem__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__returning_expr__field_descriptors[4] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReturningExpr, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "retlevelsup", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReturningExpr, retlevelsup), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "retold", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReturningExpr, retold), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "retexpr", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReturningExpr, retexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__returning_expr__field_indices_by_name[] = { - 3, /* field[3] = retexpr */ - 1, /* field[1] = retlevelsup */ - 2, /* field[2] = retold */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__returning_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__returning_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ReturningExpr", - "ReturningExpr", - "PgQuery__ReturningExpr", - "pg_query", - sizeof(PgQuery__ReturningExpr), - 4, - pg_query__returning_expr__field_descriptors, - pg_query__returning_expr__field_indices_by_name, - 1, pg_query__returning_expr__number_ranges, - (ProtobufCMessageInit) pg_query__returning_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__target_entry__field_descriptors[8] = -{ - { - "xpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__TargetEntry, xpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "expr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__TargetEntry, expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resno", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TargetEntry, resno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resname", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__TargetEntry, resname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ressortgroupref", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TargetEntry, ressortgroupref), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resorigtbl", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TargetEntry, resorigtbl), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resorigcol", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TargetEntry, resorigcol), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "resjunk", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__TargetEntry, resjunk), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__target_entry__field_indices_by_name[] = { - 1, /* field[1] = expr */ - 7, /* field[7] = resjunk */ - 3, /* field[3] = resname */ - 2, /* field[2] = resno */ - 6, /* field[6] = resorigcol */ - 5, /* field[5] = resorigtbl */ - 4, /* field[4] = ressortgroupref */ - 0, /* field[0] = xpr */ -}; -static const ProtobufCIntRange pg_query__target_entry__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__target_entry__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.TargetEntry", - "TargetEntry", - "PgQuery__TargetEntry", - "pg_query", - sizeof(PgQuery__TargetEntry), - 8, - pg_query__target_entry__field_descriptors, - pg_query__target_entry__field_indices_by_name, - 1, pg_query__target_entry__number_ranges, - (ProtobufCMessageInit) pg_query__target_entry__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__range_tbl_ref__field_descriptors[1] = -{ - { - "rtindex", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblRef, rtindex), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__range_tbl_ref__field_indices_by_name[] = { - 0, /* field[0] = rtindex */ -}; -static const ProtobufCIntRange pg_query__range_tbl_ref__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__range_tbl_ref__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RangeTblRef", - "RangeTblRef", - "PgQuery__RangeTblRef", - "pg_query", - sizeof(PgQuery__RangeTblRef), - 1, - pg_query__range_tbl_ref__field_descriptors, - pg_query__range_tbl_ref__field_indices_by_name, - 1, pg_query__range_tbl_ref__number_ranges, - (ProtobufCMessageInit) pg_query__range_tbl_ref__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__join_expr__field_descriptors[9] = -{ - { - "jointype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JoinExpr, jointype), - &pg_query__join_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_natural", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JoinExpr, is_natural), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "larg", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JoinExpr, larg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rarg", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JoinExpr, rarg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "using_clause", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JoinExpr, n_using_clause), - offsetof(PgQuery__JoinExpr, using_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "join_using_alias", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JoinExpr, join_using_alias), - &pg_query__alias__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "quals", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JoinExpr, quals), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alias", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JoinExpr, alias), - &pg_query__alias__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rtindex", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JoinExpr, rtindex), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__join_expr__field_indices_by_name[] = { - 7, /* field[7] = alias */ - 1, /* field[1] = is_natural */ - 5, /* field[5] = join_using_alias */ - 0, /* field[0] = jointype */ - 2, /* field[2] = larg */ - 6, /* field[6] = quals */ - 3, /* field[3] = rarg */ - 8, /* field[8] = rtindex */ - 4, /* field[4] = using_clause */ -}; -static const ProtobufCIntRange pg_query__join_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 9 } -}; -const ProtobufCMessageDescriptor pg_query__join_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JoinExpr", - "JoinExpr", - "PgQuery__JoinExpr", - "pg_query", - sizeof(PgQuery__JoinExpr), - 9, - pg_query__join_expr__field_descriptors, - pg_query__join_expr__field_indices_by_name, - 1, pg_query__join_expr__number_ranges, - (ProtobufCMessageInit) pg_query__join_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__from_expr__field_descriptors[2] = -{ - { - "fromlist", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__FromExpr, n_fromlist), - offsetof(PgQuery__FromExpr, fromlist), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "quals", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__FromExpr, quals), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__from_expr__field_indices_by_name[] = { - 0, /* field[0] = fromlist */ - 1, /* field[1] = quals */ -}; -static const ProtobufCIntRange pg_query__from_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__from_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.FromExpr", - "FromExpr", - "PgQuery__FromExpr", - "pg_query", - sizeof(PgQuery__FromExpr), - 2, - pg_query__from_expr__field_descriptors, - pg_query__from_expr__field_indices_by_name, - 1, pg_query__from_expr__number_ranges, - (ProtobufCMessageInit) pg_query__from_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__on_conflict_expr__field_descriptors[8] = -{ - { - "action", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__OnConflictExpr, action), - &pg_query__on_conflict_action__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arbiter_elems", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__OnConflictExpr, n_arbiter_elems), - offsetof(PgQuery__OnConflictExpr, arbiter_elems), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arbiter_where", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__OnConflictExpr, arbiter_where), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "constraint", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__OnConflictExpr, constraint), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_conflict_set", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__OnConflictExpr, n_on_conflict_set), - offsetof(PgQuery__OnConflictExpr, on_conflict_set), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_conflict_where", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__OnConflictExpr, on_conflict_where), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "excl_rel_index", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__OnConflictExpr, excl_rel_index), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "excl_rel_tlist", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__OnConflictExpr, n_excl_rel_tlist), - offsetof(PgQuery__OnConflictExpr, excl_rel_tlist), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__on_conflict_expr__field_indices_by_name[] = { - 0, /* field[0] = action */ - 1, /* field[1] = arbiter_elems */ - 2, /* field[2] = arbiter_where */ - 3, /* field[3] = constraint */ - 6, /* field[6] = excl_rel_index */ - 7, /* field[7] = excl_rel_tlist */ - 4, /* field[4] = on_conflict_set */ - 5, /* field[5] = on_conflict_where */ -}; -static const ProtobufCIntRange pg_query__on_conflict_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__on_conflict_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.OnConflictExpr", - "OnConflictExpr", - "PgQuery__OnConflictExpr", - "pg_query", - sizeof(PgQuery__OnConflictExpr), - 8, - pg_query__on_conflict_expr__field_descriptors, - pg_query__on_conflict_expr__field_indices_by_name, - 1, pg_query__on_conflict_expr__number_ranges, - (ProtobufCMessageInit) pg_query__on_conflict_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__query__field_descriptors[45] = -{ - { - "command_type", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, command_type), - &pg_query__cmd_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "query_source", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, query_source), - &pg_query__query_source__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "can_set_tag", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, can_set_tag), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "utility_stmt", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, utility_stmt), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "result_relation", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, result_relation), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_aggs", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, has_aggs), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_window_funcs", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, has_window_funcs), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_target_srfs", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, has_target_srfs), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_sub_links", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, has_sub_links), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_distinct_on", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, has_distinct_on), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_recursive", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, has_recursive), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_modifying_cte", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, has_modifying_cte), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_for_update", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, has_for_update), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_row_security", - 14, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, has_row_security), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_group_rte", - 15, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, has_group_rte), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_return", - 16, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, is_return), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cte_list", - 17, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_cte_list), - offsetof(PgQuery__Query, cte_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rtable", - 18, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_rtable), - offsetof(PgQuery__Query, rtable), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rteperminfos", - 19, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_rteperminfos), - offsetof(PgQuery__Query, rteperminfos), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "jointree", - 20, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, jointree), - &pg_query__from_expr__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "merge_action_list", - 21, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_merge_action_list), - offsetof(PgQuery__Query, merge_action_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "merge_target_relation", - 22, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, merge_target_relation), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "merge_join_condition", - 23, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, merge_join_condition), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "target_list", - 24, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_target_list), - offsetof(PgQuery__Query, target_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "override", - 25, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, override), - &pg_query__overriding_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_conflict", - 26, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, on_conflict), - &pg_query__on_conflict_expr__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning_old_alias", - 27, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, returning_old_alias), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning_new_alias", - 28, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, returning_new_alias), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning_list", - 29, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_returning_list), - offsetof(PgQuery__Query, returning_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "group_clause", - 30, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_group_clause), - offsetof(PgQuery__Query, group_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "group_distinct", - 31, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, group_distinct), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "grouping_sets", - 32, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_grouping_sets), - offsetof(PgQuery__Query, grouping_sets), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "having_qual", - 33, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, having_qual), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "window_clause", - 34, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_window_clause), - offsetof(PgQuery__Query, window_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "distinct_clause", - 35, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_distinct_clause), - offsetof(PgQuery__Query, distinct_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sort_clause", - 36, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_sort_clause), - offsetof(PgQuery__Query, sort_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "limit_offset", - 37, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, limit_offset), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "limit_count", - 38, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, limit_count), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "limit_option", - 39, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, limit_option), - &pg_query__limit_option__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "row_marks", - 40, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_row_marks), - offsetof(PgQuery__Query, row_marks), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "set_operations", - 41, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, set_operations), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "constraint_deps", - 42, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_constraint_deps), - offsetof(PgQuery__Query, constraint_deps), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_check_options", - 43, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Query, n_with_check_options), - offsetof(PgQuery__Query, with_check_options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stmt_location", - 44, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, stmt_location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stmt_len", - 45, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Query, stmt_len), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__query__field_indices_by_name[] = { - 2, /* field[2] = can_set_tag */ - 0, /* field[0] = command_type */ - 41, /* field[41] = constraint_deps */ - 16, /* field[16] = cte_list */ - 34, /* field[34] = distinct_clause */ - 29, /* field[29] = group_clause */ - 30, /* field[30] = group_distinct */ - 31, /* field[31] = grouping_sets */ - 5, /* field[5] = has_aggs */ - 9, /* field[9] = has_distinct_on */ - 12, /* field[12] = has_for_update */ - 14, /* field[14] = has_group_rte */ - 11, /* field[11] = has_modifying_cte */ - 10, /* field[10] = has_recursive */ - 13, /* field[13] = has_row_security */ - 8, /* field[8] = has_sub_links */ - 7, /* field[7] = has_target_srfs */ - 6, /* field[6] = has_window_funcs */ - 32, /* field[32] = having_qual */ - 15, /* field[15] = is_return */ - 19, /* field[19] = jointree */ - 37, /* field[37] = limit_count */ - 36, /* field[36] = limit_offset */ - 38, /* field[38] = limit_option */ - 20, /* field[20] = merge_action_list */ - 22, /* field[22] = merge_join_condition */ - 21, /* field[21] = merge_target_relation */ - 25, /* field[25] = on_conflict */ - 24, /* field[24] = override */ - 1, /* field[1] = query_source */ - 4, /* field[4] = result_relation */ - 28, /* field[28] = returning_list */ - 27, /* field[27] = returning_new_alias */ - 26, /* field[26] = returning_old_alias */ - 39, /* field[39] = row_marks */ - 17, /* field[17] = rtable */ - 18, /* field[18] = rteperminfos */ - 40, /* field[40] = set_operations */ - 35, /* field[35] = sort_clause */ - 44, /* field[44] = stmt_len */ - 43, /* field[43] = stmt_location */ - 23, /* field[23] = target_list */ - 3, /* field[3] = utility_stmt */ - 33, /* field[33] = window_clause */ - 42, /* field[42] = with_check_options */ -}; -static const ProtobufCIntRange pg_query__query__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 45 } -}; -const ProtobufCMessageDescriptor pg_query__query__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.Query", - "Query", - "PgQuery__Query", - "pg_query", - sizeof(PgQuery__Query), - 45, - pg_query__query__field_descriptors, - pg_query__query__field_indices_by_name, - 1, pg_query__query__number_ranges, - (ProtobufCMessageInit) pg_query__query__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__type_name__field_descriptors[8] = -{ - { - "names", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TypeName, n_names), - offsetof(PgQuery__TypeName, names), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_oid", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TypeName, type_oid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "setof", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__TypeName, setof), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pct_type", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__TypeName, pct_type), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "typmods", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TypeName, n_typmods), - offsetof(PgQuery__TypeName, typmods), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "typemod", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TypeName, typemod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "array_bounds", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TypeName, n_array_bounds), - offsetof(PgQuery__TypeName, array_bounds), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TypeName, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__type_name__field_indices_by_name[] = { - 6, /* field[6] = array_bounds */ - 7, /* field[7] = location */ - 0, /* field[0] = names */ - 3, /* field[3] = pct_type */ - 2, /* field[2] = setof */ - 1, /* field[1] = type_oid */ - 5, /* field[5] = typemod */ - 4, /* field[4] = typmods */ -}; -static const ProtobufCIntRange pg_query__type_name__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__type_name__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.TypeName", - "TypeName", - "PgQuery__TypeName", - "pg_query", - sizeof(PgQuery__TypeName), - 8, - pg_query__type_name__field_descriptors, - pg_query__type_name__field_indices_by_name, - 1, pg_query__type_name__number_ranges, - (ProtobufCMessageInit) pg_query__type_name__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__column_ref__field_descriptors[2] = -{ - { - "fields", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ColumnRef, n_fields), - offsetof(PgQuery__ColumnRef, fields), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnRef, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__column_ref__field_indices_by_name[] = { - 0, /* field[0] = fields */ - 1, /* field[1] = location */ -}; -static const ProtobufCIntRange pg_query__column_ref__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__column_ref__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ColumnRef", - "ColumnRef", - "PgQuery__ColumnRef", - "pg_query", - sizeof(PgQuery__ColumnRef), - 2, - pg_query__column_ref__field_descriptors, - pg_query__column_ref__field_indices_by_name, - 1, pg_query__column_ref__number_ranges, - (ProtobufCMessageInit) pg_query__column_ref__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__param_ref__field_descriptors[2] = -{ - { - "number", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ParamRef, number), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ParamRef, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__param_ref__field_indices_by_name[] = { - 1, /* field[1] = location */ - 0, /* field[0] = number */ -}; -static const ProtobufCIntRange pg_query__param_ref__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__param_ref__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ParamRef", - "ParamRef", - "PgQuery__ParamRef", - "pg_query", - sizeof(PgQuery__ParamRef), - 2, - pg_query__param_ref__field_descriptors, - pg_query__param_ref__field_indices_by_name, - 1, pg_query__param_ref__number_ranges, - (ProtobufCMessageInit) pg_query__param_ref__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__a__expr__field_descriptors[7] = -{ - { - "kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AExpr, kind), - &pg_query__a__expr__kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AExpr, n_name), - offsetof(PgQuery__AExpr, name), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "lexpr", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AExpr, lexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rexpr", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AExpr, rexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rexpr_list_start", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__AExpr, rexpr_list_start), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rexpr_list_end", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__AExpr, rexpr_list_end), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__AExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__a__expr__field_indices_by_name[] = { - 0, /* field[0] = kind */ - 2, /* field[2] = lexpr */ - 6, /* field[6] = location */ - 1, /* field[1] = name */ - 3, /* field[3] = rexpr */ - 5, /* field[5] = rexpr_list_end */ - 4, /* field[4] = rexpr_list_start */ -}; -static const ProtobufCIntRange pg_query__a__expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__a__expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.A_Expr", - "AExpr", - "PgQuery__AExpr", - "pg_query", - sizeof(PgQuery__AExpr), - 7, - pg_query__a__expr__field_descriptors, - pg_query__a__expr__field_indices_by_name, - 1, pg_query__a__expr__number_ranges, - (ProtobufCMessageInit) pg_query__a__expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__type_cast__field_descriptors[3] = -{ - { - "arg", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__TypeCast, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__TypeCast, type_name), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TypeCast, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__type_cast__field_indices_by_name[] = { - 0, /* field[0] = arg */ - 2, /* field[2] = location */ - 1, /* field[1] = type_name */ -}; -static const ProtobufCIntRange pg_query__type_cast__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__type_cast__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.TypeCast", - "TypeCast", - "PgQuery__TypeCast", - "pg_query", - sizeof(PgQuery__TypeCast), - 3, - pg_query__type_cast__field_descriptors, - pg_query__type_cast__field_indices_by_name, - 1, pg_query__type_cast__number_ranges, - (ProtobufCMessageInit) pg_query__type_cast__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__collate_clause__field_descriptors[3] = -{ - { - "arg", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CollateClause, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "collname", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CollateClause, n_collname), - offsetof(PgQuery__CollateClause, collname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CollateClause, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__collate_clause__field_indices_by_name[] = { - 0, /* field[0] = arg */ - 1, /* field[1] = collname */ - 2, /* field[2] = location */ -}; -static const ProtobufCIntRange pg_query__collate_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__collate_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CollateClause", - "CollateClause", - "PgQuery__CollateClause", - "pg_query", - sizeof(PgQuery__CollateClause), - 3, - pg_query__collate_clause__field_descriptors, - pg_query__collate_clause__field_indices_by_name, - 1, pg_query__collate_clause__number_ranges, - (ProtobufCMessageInit) pg_query__collate_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__role_spec__field_descriptors[3] = -{ - { - "roletype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RoleSpec, roletype), - &pg_query__role_spec_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rolename", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RoleSpec, rolename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RoleSpec, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__role_spec__field_indices_by_name[] = { - 2, /* field[2] = location */ - 1, /* field[1] = rolename */ - 0, /* field[0] = roletype */ -}; -static const ProtobufCIntRange pg_query__role_spec__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__role_spec__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RoleSpec", - "RoleSpec", - "PgQuery__RoleSpec", - "pg_query", - sizeof(PgQuery__RoleSpec), - 3, - pg_query__role_spec__field_descriptors, - pg_query__role_spec__field_indices_by_name, - 1, pg_query__role_spec__number_ranges, - (ProtobufCMessageInit) pg_query__role_spec__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__func_call__field_descriptors[11] = -{ - { - "funcname", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__FuncCall, n_funcname), - offsetof(PgQuery__FuncCall, funcname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__FuncCall, n_args), - offsetof(PgQuery__FuncCall, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "agg_order", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__FuncCall, n_agg_order), - offsetof(PgQuery__FuncCall, agg_order), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "agg_filter", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncCall, agg_filter), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "over", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncCall, over), - &pg_query__window_def__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "agg_within_group", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncCall, agg_within_group), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "agg_star", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncCall, agg_star), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "agg_distinct", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncCall, agg_distinct), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "func_variadic", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncCall, func_variadic), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcformat", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncCall, funcformat), - &pg_query__coercion_form__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FuncCall, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__func_call__field_indices_by_name[] = { - 7, /* field[7] = agg_distinct */ - 3, /* field[3] = agg_filter */ - 2, /* field[2] = agg_order */ - 6, /* field[6] = agg_star */ - 5, /* field[5] = agg_within_group */ - 1, /* field[1] = args */ - 8, /* field[8] = func_variadic */ - 9, /* field[9] = funcformat */ - 0, /* field[0] = funcname */ - 10, /* field[10] = location */ - 4, /* field[4] = over */ -}; -static const ProtobufCIntRange pg_query__func_call__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 11 } -}; -const ProtobufCMessageDescriptor pg_query__func_call__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.FuncCall", - "FuncCall", - "PgQuery__FuncCall", - "pg_query", - sizeof(PgQuery__FuncCall), - 11, - pg_query__func_call__field_descriptors, - pg_query__func_call__field_indices_by_name, - 1, pg_query__func_call__number_ranges, - (ProtobufCMessageInit) pg_query__func_call__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define pg_query__a__star__field_descriptors NULL -#define pg_query__a__star__field_indices_by_name NULL -#define pg_query__a__star__number_ranges NULL -const ProtobufCMessageDescriptor pg_query__a__star__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.A_Star", - "AStar", - "PgQuery__AStar", - "pg_query", - sizeof(PgQuery__AStar), - 0, - pg_query__a__star__field_descriptors, - pg_query__a__star__field_indices_by_name, - 0, pg_query__a__star__number_ranges, - (ProtobufCMessageInit) pg_query__a__star__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__a__indices__field_descriptors[3] = -{ - { - "is_slice", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AIndices, is_slice), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "lidx", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AIndices, lidx), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "uidx", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AIndices, uidx), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__a__indices__field_indices_by_name[] = { - 0, /* field[0] = is_slice */ - 1, /* field[1] = lidx */ - 2, /* field[2] = uidx */ -}; -static const ProtobufCIntRange pg_query__a__indices__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__a__indices__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.A_Indices", - "AIndices", - "PgQuery__AIndices", - "pg_query", - sizeof(PgQuery__AIndices), - 3, - pg_query__a__indices__field_descriptors, - pg_query__a__indices__field_indices_by_name, - 1, pg_query__a__indices__number_ranges, - (ProtobufCMessageInit) pg_query__a__indices__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__a__indirection__field_descriptors[2] = -{ - { - "arg", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AIndirection, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "indirection", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AIndirection, n_indirection), - offsetof(PgQuery__AIndirection, indirection), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__a__indirection__field_indices_by_name[] = { - 0, /* field[0] = arg */ - 1, /* field[1] = indirection */ -}; -static const ProtobufCIntRange pg_query__a__indirection__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__a__indirection__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.A_Indirection", - "AIndirection", - "PgQuery__AIndirection", - "pg_query", - sizeof(PgQuery__AIndirection), - 2, - pg_query__a__indirection__field_descriptors, - pg_query__a__indirection__field_indices_by_name, - 1, pg_query__a__indirection__number_ranges, - (ProtobufCMessageInit) pg_query__a__indirection__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__a__array_expr__field_descriptors[4] = -{ - { - "elements", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AArrayExpr, n_elements), - offsetof(PgQuery__AArrayExpr, elements), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "list_start", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__AArrayExpr, list_start), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "list_end", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__AArrayExpr, list_end), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__AArrayExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__a__array_expr__field_indices_by_name[] = { - 0, /* field[0] = elements */ - 2, /* field[2] = list_end */ - 1, /* field[1] = list_start */ - 3, /* field[3] = location */ -}; -static const ProtobufCIntRange pg_query__a__array_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__a__array_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.A_ArrayExpr", - "AArrayExpr", - "PgQuery__AArrayExpr", - "pg_query", - sizeof(PgQuery__AArrayExpr), - 4, - pg_query__a__array_expr__field_descriptors, - pg_query__a__array_expr__field_indices_by_name, - 1, pg_query__a__array_expr__number_ranges, - (ProtobufCMessageInit) pg_query__a__array_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__res_target__field_descriptors[4] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ResTarget, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "indirection", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ResTarget, n_indirection), - offsetof(PgQuery__ResTarget, indirection), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "val", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ResTarget, val), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ResTarget, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__res_target__field_indices_by_name[] = { - 1, /* field[1] = indirection */ - 3, /* field[3] = location */ - 0, /* field[0] = name */ - 2, /* field[2] = val */ -}; -static const ProtobufCIntRange pg_query__res_target__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__res_target__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ResTarget", - "ResTarget", - "PgQuery__ResTarget", - "pg_query", - sizeof(PgQuery__ResTarget), - 4, - pg_query__res_target__field_descriptors, - pg_query__res_target__field_indices_by_name, - 1, pg_query__res_target__number_ranges, - (ProtobufCMessageInit) pg_query__res_target__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__multi_assign_ref__field_descriptors[3] = -{ - { - "source", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__MultiAssignRef, source), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "colno", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__MultiAssignRef, colno), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ncolumns", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__MultiAssignRef, ncolumns), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__multi_assign_ref__field_indices_by_name[] = { - 1, /* field[1] = colno */ - 2, /* field[2] = ncolumns */ - 0, /* field[0] = source */ -}; -static const ProtobufCIntRange pg_query__multi_assign_ref__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__multi_assign_ref__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.MultiAssignRef", - "MultiAssignRef", - "PgQuery__MultiAssignRef", - "pg_query", - sizeof(PgQuery__MultiAssignRef), - 3, - pg_query__multi_assign_ref__field_descriptors, - pg_query__multi_assign_ref__field_indices_by_name, - 1, pg_query__multi_assign_ref__number_ranges, - (ProtobufCMessageInit) pg_query__multi_assign_ref__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__sort_by__field_descriptors[5] = -{ - { - "node", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SortBy, node), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sortby_dir", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SortBy, sortby_dir), - &pg_query__sort_by_dir__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sortby_nulls", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SortBy, sortby_nulls), - &pg_query__sort_by_nulls__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "use_op", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SortBy, n_use_op), - offsetof(PgQuery__SortBy, use_op), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SortBy, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__sort_by__field_indices_by_name[] = { - 4, /* field[4] = location */ - 0, /* field[0] = node */ - 1, /* field[1] = sortby_dir */ - 2, /* field[2] = sortby_nulls */ - 3, /* field[3] = use_op */ -}; -static const ProtobufCIntRange pg_query__sort_by__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__sort_by__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SortBy", - "SortBy", - "PgQuery__SortBy", - "pg_query", - sizeof(PgQuery__SortBy), - 5, - pg_query__sort_by__field_descriptors, - pg_query__sort_by__field_indices_by_name, - 1, pg_query__sort_by__number_ranges, - (ProtobufCMessageInit) pg_query__sort_by__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__window_def__field_descriptors[8] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowDef, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowDef, refname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "partition_clause", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__WindowDef, n_partition_clause), - offsetof(PgQuery__WindowDef, partition_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "order_clause", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__WindowDef, n_order_clause), - offsetof(PgQuery__WindowDef, order_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "frame_options", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowDef, frame_options), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "start_offset", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowDef, start_offset), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "end_offset", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowDef, end_offset), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowDef, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__window_def__field_indices_by_name[] = { - 6, /* field[6] = end_offset */ - 4, /* field[4] = frame_options */ - 7, /* field[7] = location */ - 0, /* field[0] = name */ - 3, /* field[3] = order_clause */ - 2, /* field[2] = partition_clause */ - 1, /* field[1] = refname */ - 5, /* field[5] = start_offset */ -}; -static const ProtobufCIntRange pg_query__window_def__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__window_def__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.WindowDef", - "WindowDef", - "PgQuery__WindowDef", - "pg_query", - sizeof(PgQuery__WindowDef), - 8, - pg_query__window_def__field_descriptors, - pg_query__window_def__field_indices_by_name, - 1, pg_query__window_def__number_ranges, - (ProtobufCMessageInit) pg_query__window_def__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__range_subselect__field_descriptors[3] = -{ - { - "lateral", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeSubselect, lateral), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "subquery", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeSubselect, subquery), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alias", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeSubselect, alias), - &pg_query__alias__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__range_subselect__field_indices_by_name[] = { - 2, /* field[2] = alias */ - 0, /* field[0] = lateral */ - 1, /* field[1] = subquery */ -}; -static const ProtobufCIntRange pg_query__range_subselect__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__range_subselect__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RangeSubselect", - "RangeSubselect", - "PgQuery__RangeSubselect", - "pg_query", - sizeof(PgQuery__RangeSubselect), - 3, - pg_query__range_subselect__field_descriptors, - pg_query__range_subselect__field_indices_by_name, - 1, pg_query__range_subselect__number_ranges, - (ProtobufCMessageInit) pg_query__range_subselect__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__range_function__field_descriptors[6] = -{ - { - "lateral", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeFunction, lateral), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ordinality", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeFunction, ordinality), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_rowsfrom", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeFunction, is_rowsfrom), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "functions", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeFunction, n_functions), - offsetof(PgQuery__RangeFunction, functions), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alias", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeFunction, alias), - &pg_query__alias__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coldeflist", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeFunction, n_coldeflist), - offsetof(PgQuery__RangeFunction, coldeflist), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__range_function__field_indices_by_name[] = { - 4, /* field[4] = alias */ - 5, /* field[5] = coldeflist */ - 3, /* field[3] = functions */ - 2, /* field[2] = is_rowsfrom */ - 0, /* field[0] = lateral */ - 1, /* field[1] = ordinality */ -}; -static const ProtobufCIntRange pg_query__range_function__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__range_function__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RangeFunction", - "RangeFunction", - "PgQuery__RangeFunction", - "pg_query", - sizeof(PgQuery__RangeFunction), - 6, - pg_query__range_function__field_descriptors, - pg_query__range_function__field_indices_by_name, - 1, pg_query__range_function__number_ranges, - (ProtobufCMessageInit) pg_query__range_function__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__range_table_func__field_descriptors[7] = -{ - { - "lateral", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFunc, lateral), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "docexpr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFunc, docexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rowexpr", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFunc, rowexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "namespaces", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTableFunc, n_namespaces), - offsetof(PgQuery__RangeTableFunc, namespaces), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "columns", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTableFunc, n_columns), - offsetof(PgQuery__RangeTableFunc, columns), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alias", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFunc, alias), - &pg_query__alias__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFunc, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__range_table_func__field_indices_by_name[] = { - 5, /* field[5] = alias */ - 4, /* field[4] = columns */ - 1, /* field[1] = docexpr */ - 0, /* field[0] = lateral */ - 6, /* field[6] = location */ - 3, /* field[3] = namespaces */ - 2, /* field[2] = rowexpr */ -}; -static const ProtobufCIntRange pg_query__range_table_func__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__range_table_func__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RangeTableFunc", - "RangeTableFunc", - "PgQuery__RangeTableFunc", - "pg_query", - sizeof(PgQuery__RangeTableFunc), - 7, - pg_query__range_table_func__field_descriptors, - pg_query__range_table_func__field_indices_by_name, - 1, pg_query__range_table_func__number_ranges, - (ProtobufCMessageInit) pg_query__range_table_func__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__range_table_func_col__field_descriptors[7] = -{ - { - "colname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFuncCol, colname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFuncCol, type_name), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "for_ordinality", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFuncCol, for_ordinality), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_not_null", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFuncCol, is_not_null), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "colexpr", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFuncCol, colexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coldefexpr", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFuncCol, coldefexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableFuncCol, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__range_table_func_col__field_indices_by_name[] = { - 5, /* field[5] = coldefexpr */ - 4, /* field[4] = colexpr */ - 0, /* field[0] = colname */ - 2, /* field[2] = for_ordinality */ - 3, /* field[3] = is_not_null */ - 6, /* field[6] = location */ - 1, /* field[1] = type_name */ -}; -static const ProtobufCIntRange pg_query__range_table_func_col__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__range_table_func_col__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RangeTableFuncCol", - "RangeTableFuncCol", - "PgQuery__RangeTableFuncCol", - "pg_query", - sizeof(PgQuery__RangeTableFuncCol), - 7, - pg_query__range_table_func_col__field_descriptors, - pg_query__range_table_func_col__field_indices_by_name, - 1, pg_query__range_table_func_col__number_ranges, - (ProtobufCMessageInit) pg_query__range_table_func_col__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__range_table_sample__field_descriptors[5] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableSample, relation), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "method", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTableSample, n_method), - offsetof(PgQuery__RangeTableSample, method), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTableSample, n_args), - offsetof(PgQuery__RangeTableSample, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "repeatable", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableSample, repeatable), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTableSample, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__range_table_sample__field_indices_by_name[] = { - 2, /* field[2] = args */ - 4, /* field[4] = location */ - 1, /* field[1] = method */ - 0, /* field[0] = relation */ - 3, /* field[3] = repeatable */ -}; -static const ProtobufCIntRange pg_query__range_table_sample__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__range_table_sample__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RangeTableSample", - "RangeTableSample", - "PgQuery__RangeTableSample", - "pg_query", - sizeof(PgQuery__RangeTableSample), - 5, - pg_query__range_table_sample__field_descriptors, - pg_query__range_table_sample__field_indices_by_name, - 1, pg_query__range_table_sample__number_ranges, - (ProtobufCMessageInit) pg_query__range_table_sample__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__column_def__field_descriptors[19] = -{ - { - "colname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, colname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, type_name), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "compression", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, compression), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inhcount", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, inhcount), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_local", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, is_local), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_not_null", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, is_not_null), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_from_type", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, is_from_type), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "storage", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, storage), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "storage_name", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, storage_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "raw_default", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, raw_default), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cooked_default", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, cooked_default), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "identity", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, identity), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "identity_sequence", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, identity_sequence), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "generated", - 14, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, generated), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coll_clause", - 15, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, coll_clause), - &pg_query__collate_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coll_oid", - 16, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, coll_oid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "constraints", - 17, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ColumnDef, n_constraints), - offsetof(PgQuery__ColumnDef, constraints), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fdwoptions", - 18, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ColumnDef, n_fdwoptions), - offsetof(PgQuery__ColumnDef, fdwoptions), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 19, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ColumnDef, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__column_def__field_indices_by_name[] = { - 14, /* field[14] = coll_clause */ - 15, /* field[15] = coll_oid */ - 0, /* field[0] = colname */ - 2, /* field[2] = compression */ - 16, /* field[16] = constraints */ - 10, /* field[10] = cooked_default */ - 17, /* field[17] = fdwoptions */ - 13, /* field[13] = generated */ - 11, /* field[11] = identity */ - 12, /* field[12] = identity_sequence */ - 3, /* field[3] = inhcount */ - 6, /* field[6] = is_from_type */ - 4, /* field[4] = is_local */ - 5, /* field[5] = is_not_null */ - 18, /* field[18] = location */ - 9, /* field[9] = raw_default */ - 7, /* field[7] = storage */ - 8, /* field[8] = storage_name */ - 1, /* field[1] = type_name */ -}; -static const ProtobufCIntRange pg_query__column_def__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 19 } -}; -const ProtobufCMessageDescriptor pg_query__column_def__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ColumnDef", - "ColumnDef", - "PgQuery__ColumnDef", - "pg_query", - sizeof(PgQuery__ColumnDef), - 19, - pg_query__column_def__field_descriptors, - pg_query__column_def__field_indices_by_name, - 1, pg_query__column_def__number_ranges, - (ProtobufCMessageInit) pg_query__column_def__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__table_like_clause__field_descriptors[3] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableLikeClause, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableLikeClause, options), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relation_oid", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableLikeClause, relation_oid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__table_like_clause__field_indices_by_name[] = { - 1, /* field[1] = options */ - 0, /* field[0] = relation */ - 2, /* field[2] = relation_oid */ -}; -static const ProtobufCIntRange pg_query__table_like_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__table_like_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.TableLikeClause", - "TableLikeClause", - "PgQuery__TableLikeClause", - "pg_query", - sizeof(PgQuery__TableLikeClause), - 3, - pg_query__table_like_clause__field_descriptors, - pg_query__table_like_clause__field_indices_by_name, - 1, pg_query__table_like_clause__number_ranges, - (ProtobufCMessageInit) pg_query__table_like_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__index_elem__field_descriptors[8] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexElem, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "expr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexElem, expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "indexcolname", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexElem, indexcolname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "collation", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__IndexElem, n_collation), - offsetof(PgQuery__IndexElem, collation), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opclass", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__IndexElem, n_opclass), - offsetof(PgQuery__IndexElem, opclass), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opclassopts", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__IndexElem, n_opclassopts), - offsetof(PgQuery__IndexElem, opclassopts), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ordering", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexElem, ordering), - &pg_query__sort_by_dir__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nulls_ordering", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexElem, nulls_ordering), - &pg_query__sort_by_nulls__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__index_elem__field_indices_by_name[] = { - 3, /* field[3] = collation */ - 1, /* field[1] = expr */ - 2, /* field[2] = indexcolname */ - 0, /* field[0] = name */ - 7, /* field[7] = nulls_ordering */ - 4, /* field[4] = opclass */ - 5, /* field[5] = opclassopts */ - 6, /* field[6] = ordering */ -}; -static const ProtobufCIntRange pg_query__index_elem__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__index_elem__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.IndexElem", - "IndexElem", - "PgQuery__IndexElem", - "pg_query", - sizeof(PgQuery__IndexElem), - 8, - pg_query__index_elem__field_descriptors, - pg_query__index_elem__field_indices_by_name, - 1, pg_query__index_elem__number_ranges, - (ProtobufCMessageInit) pg_query__index_elem__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__def_elem__field_descriptors[5] = -{ - { - "defnamespace", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__DefElem, defnamespace), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "defname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__DefElem, defname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__DefElem, arg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "defaction", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__DefElem, defaction), - &pg_query__def_elem_action__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__DefElem, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__def_elem__field_indices_by_name[] = { - 2, /* field[2] = arg */ - 3, /* field[3] = defaction */ - 1, /* field[1] = defname */ - 0, /* field[0] = defnamespace */ - 4, /* field[4] = location */ -}; -static const ProtobufCIntRange pg_query__def_elem__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__def_elem__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DefElem", - "DefElem", - "PgQuery__DefElem", - "pg_query", - sizeof(PgQuery__DefElem), - 5, - pg_query__def_elem__field_descriptors, - pg_query__def_elem__field_indices_by_name, - 1, pg_query__def_elem__number_ranges, - (ProtobufCMessageInit) pg_query__def_elem__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__locking_clause__field_descriptors[3] = -{ - { - "locked_rels", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__LockingClause, n_locked_rels), - offsetof(PgQuery__LockingClause, locked_rels), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "strength", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__LockingClause, strength), - &pg_query__lock_clause_strength__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "wait_policy", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__LockingClause, wait_policy), - &pg_query__lock_wait_policy__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__locking_clause__field_indices_by_name[] = { - 0, /* field[0] = locked_rels */ - 1, /* field[1] = strength */ - 2, /* field[2] = wait_policy */ -}; -static const ProtobufCIntRange pg_query__locking_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__locking_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.LockingClause", - "LockingClause", - "PgQuery__LockingClause", - "pg_query", - sizeof(PgQuery__LockingClause), - 3, - pg_query__locking_clause__field_descriptors, - pg_query__locking_clause__field_indices_by_name, - 1, pg_query__locking_clause__number_ranges, - (ProtobufCMessageInit) pg_query__locking_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__xml_serialize__field_descriptors[5] = -{ - { - "xmloption", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlSerialize, xmloption), - &pg_query__xml_option_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "expr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlSerialize, expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlSerialize, type_name), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "indent", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlSerialize, indent), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__XmlSerialize, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__xml_serialize__field_indices_by_name[] = { - 1, /* field[1] = expr */ - 3, /* field[3] = indent */ - 4, /* field[4] = location */ - 2, /* field[2] = type_name */ - 0, /* field[0] = xmloption */ -}; -static const ProtobufCIntRange pg_query__xml_serialize__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__xml_serialize__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.XmlSerialize", - "XmlSerialize", - "PgQuery__XmlSerialize", - "pg_query", - sizeof(PgQuery__XmlSerialize), - 5, - pg_query__xml_serialize__field_descriptors, - pg_query__xml_serialize__field_indices_by_name, - 1, pg_query__xml_serialize__number_ranges, - (ProtobufCMessageInit) pg_query__xml_serialize__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__partition_elem__field_descriptors[5] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionElem, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "expr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionElem, expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "collation", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__PartitionElem, n_collation), - offsetof(PgQuery__PartitionElem, collation), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opclass", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__PartitionElem, n_opclass), - offsetof(PgQuery__PartitionElem, opclass), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionElem, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__partition_elem__field_indices_by_name[] = { - 2, /* field[2] = collation */ - 1, /* field[1] = expr */ - 4, /* field[4] = location */ - 0, /* field[0] = name */ - 3, /* field[3] = opclass */ -}; -static const ProtobufCIntRange pg_query__partition_elem__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__partition_elem__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.PartitionElem", - "PartitionElem", - "PgQuery__PartitionElem", - "pg_query", - sizeof(PgQuery__PartitionElem), - 5, - pg_query__partition_elem__field_descriptors, - pg_query__partition_elem__field_indices_by_name, - 1, pg_query__partition_elem__number_ranges, - (ProtobufCMessageInit) pg_query__partition_elem__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__partition_spec__field_descriptors[3] = -{ - { - "strategy", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionSpec, strategy), - &pg_query__partition_strategy__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "part_params", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__PartitionSpec, n_part_params), - offsetof(PgQuery__PartitionSpec, part_params), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionSpec, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__partition_spec__field_indices_by_name[] = { - 2, /* field[2] = location */ - 1, /* field[1] = part_params */ - 0, /* field[0] = strategy */ -}; -static const ProtobufCIntRange pg_query__partition_spec__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__partition_spec__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.PartitionSpec", - "PartitionSpec", - "PgQuery__PartitionSpec", - "pg_query", - sizeof(PgQuery__PartitionSpec), - 3, - pg_query__partition_spec__field_descriptors, - pg_query__partition_spec__field_indices_by_name, - 1, pg_query__partition_spec__number_ranges, - (ProtobufCMessageInit) pg_query__partition_spec__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__partition_bound_spec__field_descriptors[8] = -{ - { - "strategy", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionBoundSpec, strategy), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_default", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionBoundSpec, is_default), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "modulus", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionBoundSpec, modulus), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "remainder", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionBoundSpec, remainder), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "listdatums", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__PartitionBoundSpec, n_listdatums), - offsetof(PgQuery__PartitionBoundSpec, listdatums), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "lowerdatums", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__PartitionBoundSpec, n_lowerdatums), - offsetof(PgQuery__PartitionBoundSpec, lowerdatums), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "upperdatums", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__PartitionBoundSpec, n_upperdatums), - offsetof(PgQuery__PartitionBoundSpec, upperdatums), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionBoundSpec, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__partition_bound_spec__field_indices_by_name[] = { - 1, /* field[1] = is_default */ - 4, /* field[4] = listdatums */ - 7, /* field[7] = location */ - 5, /* field[5] = lowerdatums */ - 2, /* field[2] = modulus */ - 3, /* field[3] = remainder */ - 0, /* field[0] = strategy */ - 6, /* field[6] = upperdatums */ -}; -static const ProtobufCIntRange pg_query__partition_bound_spec__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__partition_bound_spec__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.PartitionBoundSpec", - "PartitionBoundSpec", - "PgQuery__PartitionBoundSpec", - "pg_query", - sizeof(PgQuery__PartitionBoundSpec), - 8, - pg_query__partition_bound_spec__field_descriptors, - pg_query__partition_bound_spec__field_indices_by_name, - 1, pg_query__partition_bound_spec__number_ranges, - (ProtobufCMessageInit) pg_query__partition_bound_spec__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__partition_range_datum__field_descriptors[3] = -{ - { - "kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionRangeDatum, kind), - &pg_query__partition_range_datum_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "value", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionRangeDatum, value), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionRangeDatum, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__partition_range_datum__field_indices_by_name[] = { - 0, /* field[0] = kind */ - 2, /* field[2] = location */ - 1, /* field[1] = value */ -}; -static const ProtobufCIntRange pg_query__partition_range_datum__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__partition_range_datum__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.PartitionRangeDatum", - "PartitionRangeDatum", - "PgQuery__PartitionRangeDatum", - "pg_query", - sizeof(PgQuery__PartitionRangeDatum), - 3, - pg_query__partition_range_datum__field_descriptors, - pg_query__partition_range_datum__field_indices_by_name, - 1, pg_query__partition_range_datum__number_ranges, - (ProtobufCMessageInit) pg_query__partition_range_datum__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__partition_cmd__field_descriptors[3] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionCmd, name), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "bound", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionCmd, bound), - &pg_query__partition_bound_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "concurrent", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__PartitionCmd, concurrent), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__partition_cmd__field_indices_by_name[] = { - 1, /* field[1] = bound */ - 2, /* field[2] = concurrent */ - 0, /* field[0] = name */ -}; -static const ProtobufCIntRange pg_query__partition_cmd__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__partition_cmd__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.PartitionCmd", - "PartitionCmd", - "PgQuery__PartitionCmd", - "pg_query", - sizeof(PgQuery__PartitionCmd), - 3, - pg_query__partition_cmd__field_descriptors, - pg_query__partition_cmd__field_indices_by_name, - 1, pg_query__partition_cmd__number_ranges, - (ProtobufCMessageInit) pg_query__partition_cmd__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__range_tbl_entry__field_descriptors[33] = -{ - { - "alias", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, alias), - &pg_query__alias__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "eref", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, eref), - &pg_query__alias__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rtekind", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, rtekind), - &pg_query__rtekind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relid", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, relid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inh", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, inh), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relkind", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, relkind), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rellockmode", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, rellockmode), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "perminfoindex", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, perminfoindex), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "tablesample", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, tablesample), - &pg_query__table_sample_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "subquery", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, subquery), - &pg_query__query__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "security_barrier", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, security_barrier), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "jointype", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, jointype), - &pg_query__join_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "joinmergedcols", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, joinmergedcols), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "joinaliasvars", - 14, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblEntry, n_joinaliasvars), - offsetof(PgQuery__RangeTblEntry, joinaliasvars), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "joinleftcols", - 15, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblEntry, n_joinleftcols), - offsetof(PgQuery__RangeTblEntry, joinleftcols), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "joinrightcols", - 16, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblEntry, n_joinrightcols), - offsetof(PgQuery__RangeTblEntry, joinrightcols), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "join_using_alias", - 17, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, join_using_alias), - &pg_query__alias__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "functions", - 18, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblEntry, n_functions), - offsetof(PgQuery__RangeTblEntry, functions), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcordinality", - 19, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, funcordinality), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "tablefunc", - 20, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, tablefunc), - &pg_query__table_func__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "values_lists", - 21, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblEntry, n_values_lists), - offsetof(PgQuery__RangeTblEntry, values_lists), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ctename", - 22, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, ctename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ctelevelsup", - 23, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, ctelevelsup), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "self_reference", - 24, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, self_reference), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coltypes", - 25, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblEntry, n_coltypes), - offsetof(PgQuery__RangeTblEntry, coltypes), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coltypmods", - 26, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblEntry, n_coltypmods), - offsetof(PgQuery__RangeTblEntry, coltypmods), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "colcollations", - 27, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblEntry, n_colcollations), - offsetof(PgQuery__RangeTblEntry, colcollations), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "enrname", - 28, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, enrname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "enrtuples", - 29, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_DOUBLE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, enrtuples), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "groupexprs", - 30, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblEntry, n_groupexprs), - offsetof(PgQuery__RangeTblEntry, groupexprs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "lateral", - 31, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, lateral), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "in_from_cl", - 32, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblEntry, in_from_cl), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "security_quals", - 33, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblEntry, n_security_quals), - offsetof(PgQuery__RangeTblEntry, security_quals), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__range_tbl_entry__field_indices_by_name[] = { - 0, /* field[0] = alias */ - 26, /* field[26] = colcollations */ - 24, /* field[24] = coltypes */ - 25, /* field[25] = coltypmods */ - 22, /* field[22] = ctelevelsup */ - 21, /* field[21] = ctename */ - 27, /* field[27] = enrname */ - 28, /* field[28] = enrtuples */ - 1, /* field[1] = eref */ - 18, /* field[18] = funcordinality */ - 17, /* field[17] = functions */ - 29, /* field[29] = groupexprs */ - 31, /* field[31] = in_from_cl */ - 4, /* field[4] = inh */ - 16, /* field[16] = join_using_alias */ - 13, /* field[13] = joinaliasvars */ - 14, /* field[14] = joinleftcols */ - 12, /* field[12] = joinmergedcols */ - 15, /* field[15] = joinrightcols */ - 11, /* field[11] = jointype */ - 30, /* field[30] = lateral */ - 7, /* field[7] = perminfoindex */ - 3, /* field[3] = relid */ - 5, /* field[5] = relkind */ - 6, /* field[6] = rellockmode */ - 2, /* field[2] = rtekind */ - 10, /* field[10] = security_barrier */ - 32, /* field[32] = security_quals */ - 23, /* field[23] = self_reference */ - 9, /* field[9] = subquery */ - 19, /* field[19] = tablefunc */ - 8, /* field[8] = tablesample */ - 20, /* field[20] = values_lists */ -}; -static const ProtobufCIntRange pg_query__range_tbl_entry__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 33 } -}; -const ProtobufCMessageDescriptor pg_query__range_tbl_entry__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RangeTblEntry", - "RangeTblEntry", - "PgQuery__RangeTblEntry", - "pg_query", - sizeof(PgQuery__RangeTblEntry), - 33, - pg_query__range_tbl_entry__field_descriptors, - pg_query__range_tbl_entry__field_indices_by_name, - 1, pg_query__range_tbl_entry__number_ranges, - (ProtobufCMessageInit) pg_query__range_tbl_entry__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__rtepermission_info__field_descriptors[7] = -{ - { - "relid", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RTEPermissionInfo, relid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inh", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RTEPermissionInfo, inh), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "required_perms", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT64, - 0, /* quantifier_offset */ - offsetof(PgQuery__RTEPermissionInfo, required_perms), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "check_as_user", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RTEPermissionInfo, check_as_user), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "selected_cols", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_UINT64, - offsetof(PgQuery__RTEPermissionInfo, n_selected_cols), - offsetof(PgQuery__RTEPermissionInfo, selected_cols), - NULL, - NULL, - PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inserted_cols", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_UINT64, - offsetof(PgQuery__RTEPermissionInfo, n_inserted_cols), - offsetof(PgQuery__RTEPermissionInfo, inserted_cols), - NULL, - NULL, - PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "updated_cols", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_UINT64, - offsetof(PgQuery__RTEPermissionInfo, n_updated_cols), - offsetof(PgQuery__RTEPermissionInfo, updated_cols), - NULL, - NULL, - PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__rtepermission_info__field_indices_by_name[] = { - 3, /* field[3] = check_as_user */ - 1, /* field[1] = inh */ - 5, /* field[5] = inserted_cols */ - 0, /* field[0] = relid */ - 2, /* field[2] = required_perms */ - 4, /* field[4] = selected_cols */ - 6, /* field[6] = updated_cols */ -}; -static const ProtobufCIntRange pg_query__rtepermission_info__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__rtepermission_info__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RTEPermissionInfo", - "RTEPermissionInfo", - "PgQuery__RTEPermissionInfo", - "pg_query", - sizeof(PgQuery__RTEPermissionInfo), - 7, - pg_query__rtepermission_info__field_descriptors, - pg_query__rtepermission_info__field_indices_by_name, - 1, pg_query__rtepermission_info__number_ranges, - (ProtobufCMessageInit) pg_query__rtepermission_info__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__range_tbl_function__field_descriptors[7] = -{ - { - "funcexpr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblFunction, funcexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funccolcount", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RangeTblFunction, funccolcount), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funccolnames", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblFunction, n_funccolnames), - offsetof(PgQuery__RangeTblFunction, funccolnames), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funccoltypes", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblFunction, n_funccoltypes), - offsetof(PgQuery__RangeTblFunction, funccoltypes), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funccoltypmods", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblFunction, n_funccoltypmods), - offsetof(PgQuery__RangeTblFunction, funccoltypmods), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funccolcollations", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RangeTblFunction, n_funccolcollations), - offsetof(PgQuery__RangeTblFunction, funccolcollations), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcparams", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_UINT64, - offsetof(PgQuery__RangeTblFunction, n_funcparams), - offsetof(PgQuery__RangeTblFunction, funcparams), - NULL, - NULL, - PROTOBUF_C_FIELD_FLAG_PACKED, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__range_tbl_function__field_indices_by_name[] = { - 5, /* field[5] = funccolcollations */ - 1, /* field[1] = funccolcount */ - 2, /* field[2] = funccolnames */ - 3, /* field[3] = funccoltypes */ - 4, /* field[4] = funccoltypmods */ - 0, /* field[0] = funcexpr */ - 6, /* field[6] = funcparams */ -}; -static const ProtobufCIntRange pg_query__range_tbl_function__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__range_tbl_function__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RangeTblFunction", - "RangeTblFunction", - "PgQuery__RangeTblFunction", - "pg_query", - sizeof(PgQuery__RangeTblFunction), - 7, - pg_query__range_tbl_function__field_descriptors, - pg_query__range_tbl_function__field_indices_by_name, - 1, pg_query__range_tbl_function__number_ranges, - (ProtobufCMessageInit) pg_query__range_tbl_function__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__table_sample_clause__field_descriptors[3] = -{ - { - "tsmhandler", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableSampleClause, tsmhandler), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TableSampleClause, n_args), - offsetof(PgQuery__TableSampleClause, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "repeatable", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__TableSampleClause, repeatable), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__table_sample_clause__field_indices_by_name[] = { - 1, /* field[1] = args */ - 2, /* field[2] = repeatable */ - 0, /* field[0] = tsmhandler */ -}; -static const ProtobufCIntRange pg_query__table_sample_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__table_sample_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.TableSampleClause", - "TableSampleClause", - "PgQuery__TableSampleClause", - "pg_query", - sizeof(PgQuery__TableSampleClause), - 3, - pg_query__table_sample_clause__field_descriptors, - pg_query__table_sample_clause__field_indices_by_name, - 1, pg_query__table_sample_clause__number_ranges, - (ProtobufCMessageInit) pg_query__table_sample_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__with_check_option__field_descriptors[5] = -{ - { - "kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__WithCheckOption, kind), - &pg_query__wcokind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__WithCheckOption, relname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "polname", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__WithCheckOption, polname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "qual", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__WithCheckOption, qual), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cascaded", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__WithCheckOption, cascaded), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__with_check_option__field_indices_by_name[] = { - 4, /* field[4] = cascaded */ - 0, /* field[0] = kind */ - 2, /* field[2] = polname */ - 3, /* field[3] = qual */ - 1, /* field[1] = relname */ -}; -static const ProtobufCIntRange pg_query__with_check_option__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__with_check_option__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.WithCheckOption", - "WithCheckOption", - "PgQuery__WithCheckOption", - "pg_query", - sizeof(PgQuery__WithCheckOption), - 5, - pg_query__with_check_option__field_descriptors, - pg_query__with_check_option__field_indices_by_name, - 1, pg_query__with_check_option__number_ranges, - (ProtobufCMessageInit) pg_query__with_check_option__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__sort_group_clause__field_descriptors[6] = -{ - { - "tle_sort_group_ref", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SortGroupClause, tle_sort_group_ref), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "eqop", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SortGroupClause, eqop), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sortop", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__SortGroupClause, sortop), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reverse_sort", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__SortGroupClause, reverse_sort), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nulls_first", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__SortGroupClause, nulls_first), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "hashable", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__SortGroupClause, hashable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__sort_group_clause__field_indices_by_name[] = { - 1, /* field[1] = eqop */ - 5, /* field[5] = hashable */ - 4, /* field[4] = nulls_first */ - 3, /* field[3] = reverse_sort */ - 2, /* field[2] = sortop */ - 0, /* field[0] = tle_sort_group_ref */ -}; -static const ProtobufCIntRange pg_query__sort_group_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__sort_group_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SortGroupClause", - "SortGroupClause", - "PgQuery__SortGroupClause", - "pg_query", - sizeof(PgQuery__SortGroupClause), - 6, - pg_query__sort_group_clause__field_descriptors, - pg_query__sort_group_clause__field_indices_by_name, - 1, pg_query__sort_group_clause__number_ranges, - (ProtobufCMessageInit) pg_query__sort_group_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__grouping_set__field_descriptors[3] = -{ - { - "kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__GroupingSet, kind), - &pg_query__grouping_set_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "content", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__GroupingSet, n_content), - offsetof(PgQuery__GroupingSet, content), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__GroupingSet, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__grouping_set__field_indices_by_name[] = { - 1, /* field[1] = content */ - 0, /* field[0] = kind */ - 2, /* field[2] = location */ -}; -static const ProtobufCIntRange pg_query__grouping_set__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__grouping_set__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.GroupingSet", - "GroupingSet", - "PgQuery__GroupingSet", - "pg_query", - sizeof(PgQuery__GroupingSet), - 3, - pg_query__grouping_set__field_descriptors, - pg_query__grouping_set__field_indices_by_name, - 1, pg_query__grouping_set__number_ranges, - (ProtobufCMessageInit) pg_query__grouping_set__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__window_clause__field_descriptors[14] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "refname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, refname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "partition_clause", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__WindowClause, n_partition_clause), - offsetof(PgQuery__WindowClause, partition_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "order_clause", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__WindowClause, n_order_clause), - offsetof(PgQuery__WindowClause, order_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "frame_options", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, frame_options), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "start_offset", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, start_offset), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "end_offset", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, end_offset), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "start_in_range_func", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, start_in_range_func), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "end_in_range_func", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, end_in_range_func), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "in_range_coll", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, in_range_coll), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "in_range_asc", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, in_range_asc), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "in_range_nulls_first", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, in_range_nulls_first), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "winref", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, winref), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "copied_order", - 14, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__WindowClause, copied_order), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__window_clause__field_indices_by_name[] = { - 13, /* field[13] = copied_order */ - 8, /* field[8] = end_in_range_func */ - 6, /* field[6] = end_offset */ - 4, /* field[4] = frame_options */ - 10, /* field[10] = in_range_asc */ - 9, /* field[9] = in_range_coll */ - 11, /* field[11] = in_range_nulls_first */ - 0, /* field[0] = name */ - 3, /* field[3] = order_clause */ - 2, /* field[2] = partition_clause */ - 1, /* field[1] = refname */ - 7, /* field[7] = start_in_range_func */ - 5, /* field[5] = start_offset */ - 12, /* field[12] = winref */ -}; -static const ProtobufCIntRange pg_query__window_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 14 } -}; -const ProtobufCMessageDescriptor pg_query__window_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.WindowClause", - "WindowClause", - "PgQuery__WindowClause", - "pg_query", - sizeof(PgQuery__WindowClause), - 14, - pg_query__window_clause__field_descriptors, - pg_query__window_clause__field_indices_by_name, - 1, pg_query__window_clause__number_ranges, - (ProtobufCMessageInit) pg_query__window_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__row_mark_clause__field_descriptors[4] = -{ - { - "rti", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RowMarkClause, rti), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "strength", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RowMarkClause, strength), - &pg_query__lock_clause_strength__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "wait_policy", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RowMarkClause, wait_policy), - &pg_query__lock_wait_policy__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pushed_down", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RowMarkClause, pushed_down), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__row_mark_clause__field_indices_by_name[] = { - 3, /* field[3] = pushed_down */ - 0, /* field[0] = rti */ - 1, /* field[1] = strength */ - 2, /* field[2] = wait_policy */ -}; -static const ProtobufCIntRange pg_query__row_mark_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__row_mark_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RowMarkClause", - "RowMarkClause", - "PgQuery__RowMarkClause", - "pg_query", - sizeof(PgQuery__RowMarkClause), - 4, - pg_query__row_mark_clause__field_descriptors, - pg_query__row_mark_clause__field_indices_by_name, - 1, pg_query__row_mark_clause__number_ranges, - (ProtobufCMessageInit) pg_query__row_mark_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__with_clause__field_descriptors[3] = -{ - { - "ctes", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__WithClause, n_ctes), - offsetof(PgQuery__WithClause, ctes), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "recursive", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__WithClause, recursive), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__WithClause, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__with_clause__field_indices_by_name[] = { - 0, /* field[0] = ctes */ - 2, /* field[2] = location */ - 1, /* field[1] = recursive */ -}; -static const ProtobufCIntRange pg_query__with_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__with_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.WithClause", - "WithClause", - "PgQuery__WithClause", - "pg_query", - sizeof(PgQuery__WithClause), - 3, - pg_query__with_clause__field_descriptors, - pg_query__with_clause__field_indices_by_name, - 1, pg_query__with_clause__number_ranges, - (ProtobufCMessageInit) pg_query__with_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__infer_clause__field_descriptors[4] = -{ - { - "index_elems", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__InferClause, n_index_elems), - offsetof(PgQuery__InferClause, index_elems), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "where_clause", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__InferClause, where_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "conname", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__InferClause, conname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__InferClause, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__infer_clause__field_indices_by_name[] = { - 2, /* field[2] = conname */ - 0, /* field[0] = index_elems */ - 3, /* field[3] = location */ - 1, /* field[1] = where_clause */ -}; -static const ProtobufCIntRange pg_query__infer_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__infer_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.InferClause", - "InferClause", - "PgQuery__InferClause", - "pg_query", - sizeof(PgQuery__InferClause), - 4, - pg_query__infer_clause__field_descriptors, - pg_query__infer_clause__field_indices_by_name, - 1, pg_query__infer_clause__number_ranges, - (ProtobufCMessageInit) pg_query__infer_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__on_conflict_clause__field_descriptors[5] = -{ - { - "action", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__OnConflictClause, action), - &pg_query__on_conflict_action__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "infer", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__OnConflictClause, infer), - &pg_query__infer_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "target_list", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__OnConflictClause, n_target_list), - offsetof(PgQuery__OnConflictClause, target_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "where_clause", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__OnConflictClause, where_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__OnConflictClause, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__on_conflict_clause__field_indices_by_name[] = { - 0, /* field[0] = action */ - 1, /* field[1] = infer */ - 4, /* field[4] = location */ - 2, /* field[2] = target_list */ - 3, /* field[3] = where_clause */ -}; -static const ProtobufCIntRange pg_query__on_conflict_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__on_conflict_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.OnConflictClause", - "OnConflictClause", - "PgQuery__OnConflictClause", - "pg_query", - sizeof(PgQuery__OnConflictClause), - 5, - pg_query__on_conflict_clause__field_descriptors, - pg_query__on_conflict_clause__field_indices_by_name, - 1, pg_query__on_conflict_clause__number_ranges, - (ProtobufCMessageInit) pg_query__on_conflict_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__ctesearch_clause__field_descriptors[4] = -{ - { - "search_col_list", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CTESearchClause, n_search_col_list), - offsetof(PgQuery__CTESearchClause, search_col_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "search_breadth_first", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTESearchClause, search_breadth_first), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "search_seq_column", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTESearchClause, search_seq_column), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTESearchClause, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__ctesearch_clause__field_indices_by_name[] = { - 3, /* field[3] = location */ - 1, /* field[1] = search_breadth_first */ - 0, /* field[0] = search_col_list */ - 2, /* field[2] = search_seq_column */ -}; -static const ProtobufCIntRange pg_query__ctesearch_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__ctesearch_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CTESearchClause", - "CTESearchClause", - "PgQuery__CTESearchClause", - "pg_query", - sizeof(PgQuery__CTESearchClause), - 4, - pg_query__ctesearch_clause__field_descriptors, - pg_query__ctesearch_clause__field_indices_by_name, - 1, pg_query__ctesearch_clause__number_ranges, - (ProtobufCMessageInit) pg_query__ctesearch_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__ctecycle_clause__field_descriptors[10] = -{ - { - "cycle_col_list", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CTECycleClause, n_cycle_col_list), - offsetof(PgQuery__CTECycleClause, cycle_col_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cycle_mark_column", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTECycleClause, cycle_mark_column), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cycle_mark_value", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTECycleClause, cycle_mark_value), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cycle_mark_default", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTECycleClause, cycle_mark_default), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cycle_path_column", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTECycleClause, cycle_path_column), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTECycleClause, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cycle_mark_type", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTECycleClause, cycle_mark_type), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cycle_mark_typmod", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTECycleClause, cycle_mark_typmod), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cycle_mark_collation", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTECycleClause, cycle_mark_collation), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cycle_mark_neop", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CTECycleClause, cycle_mark_neop), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__ctecycle_clause__field_indices_by_name[] = { - 0, /* field[0] = cycle_col_list */ - 8, /* field[8] = cycle_mark_collation */ - 1, /* field[1] = cycle_mark_column */ - 3, /* field[3] = cycle_mark_default */ - 9, /* field[9] = cycle_mark_neop */ - 6, /* field[6] = cycle_mark_type */ - 7, /* field[7] = cycle_mark_typmod */ - 2, /* field[2] = cycle_mark_value */ - 4, /* field[4] = cycle_path_column */ - 5, /* field[5] = location */ -}; -static const ProtobufCIntRange pg_query__ctecycle_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 10 } -}; -const ProtobufCMessageDescriptor pg_query__ctecycle_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CTECycleClause", - "CTECycleClause", - "PgQuery__CTECycleClause", - "pg_query", - sizeof(PgQuery__CTECycleClause), - 10, - pg_query__ctecycle_clause__field_descriptors, - pg_query__ctecycle_clause__field_indices_by_name, - 1, pg_query__ctecycle_clause__number_ranges, - (ProtobufCMessageInit) pg_query__ctecycle_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__common_table_expr__field_descriptors[13] = -{ - { - "ctename", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommonTableExpr, ctename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aliascolnames", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CommonTableExpr, n_aliascolnames), - offsetof(PgQuery__CommonTableExpr, aliascolnames), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ctematerialized", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommonTableExpr, ctematerialized), - &pg_query__ctematerialize__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ctequery", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommonTableExpr, ctequery), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "search_clause", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommonTableExpr, search_clause), - &pg_query__ctesearch_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cycle_clause", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommonTableExpr, cycle_clause), - &pg_query__ctecycle_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommonTableExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cterecursive", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommonTableExpr, cterecursive), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cterefcount", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommonTableExpr, cterefcount), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ctecolnames", - 10, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CommonTableExpr, n_ctecolnames), - offsetof(PgQuery__CommonTableExpr, ctecolnames), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ctecoltypes", - 11, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CommonTableExpr, n_ctecoltypes), - offsetof(PgQuery__CommonTableExpr, ctecoltypes), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ctecoltypmods", - 12, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CommonTableExpr, n_ctecoltypmods), - offsetof(PgQuery__CommonTableExpr, ctecoltypmods), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ctecolcollations", - 13, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CommonTableExpr, n_ctecolcollations), - offsetof(PgQuery__CommonTableExpr, ctecolcollations), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__common_table_expr__field_indices_by_name[] = { - 1, /* field[1] = aliascolnames */ - 12, /* field[12] = ctecolcollations */ - 9, /* field[9] = ctecolnames */ - 10, /* field[10] = ctecoltypes */ - 11, /* field[11] = ctecoltypmods */ - 2, /* field[2] = ctematerialized */ - 0, /* field[0] = ctename */ - 3, /* field[3] = ctequery */ - 7, /* field[7] = cterecursive */ - 8, /* field[8] = cterefcount */ - 5, /* field[5] = cycle_clause */ - 6, /* field[6] = location */ - 4, /* field[4] = search_clause */ -}; -static const ProtobufCIntRange pg_query__common_table_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 13 } -}; -const ProtobufCMessageDescriptor pg_query__common_table_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CommonTableExpr", - "CommonTableExpr", - "PgQuery__CommonTableExpr", - "pg_query", - sizeof(PgQuery__CommonTableExpr), - 13, - pg_query__common_table_expr__field_descriptors, - pg_query__common_table_expr__field_indices_by_name, - 1, pg_query__common_table_expr__number_ranges, - (ProtobufCMessageInit) pg_query__common_table_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__merge_when_clause__field_descriptors[6] = -{ - { - "match_kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeWhenClause, match_kind), - &pg_query__merge_match_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "command_type", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeWhenClause, command_type), - &pg_query__cmd_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "override", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeWhenClause, override), - &pg_query__overriding_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "condition", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeWhenClause, condition), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "target_list", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__MergeWhenClause, n_target_list), - offsetof(PgQuery__MergeWhenClause, target_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "values", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__MergeWhenClause, n_values), - offsetof(PgQuery__MergeWhenClause, values), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__merge_when_clause__field_indices_by_name[] = { - 1, /* field[1] = command_type */ - 3, /* field[3] = condition */ - 0, /* field[0] = match_kind */ - 2, /* field[2] = override */ - 4, /* field[4] = target_list */ - 5, /* field[5] = values */ -}; -static const ProtobufCIntRange pg_query__merge_when_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__merge_when_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.MergeWhenClause", - "MergeWhenClause", - "PgQuery__MergeWhenClause", - "pg_query", - sizeof(PgQuery__MergeWhenClause), - 6, - pg_query__merge_when_clause__field_descriptors, - pg_query__merge_when_clause__field_indices_by_name, - 1, pg_query__merge_when_clause__number_ranges, - (ProtobufCMessageInit) pg_query__merge_when_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__returning_option__field_descriptors[3] = -{ - { - "option", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReturningOption, option), - &pg_query__returning_option_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "value", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReturningOption, value), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReturningOption, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__returning_option__field_indices_by_name[] = { - 2, /* field[2] = location */ - 0, /* field[0] = option */ - 1, /* field[1] = value */ -}; -static const ProtobufCIntRange pg_query__returning_option__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__returning_option__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ReturningOption", - "ReturningOption", - "PgQuery__ReturningOption", - "pg_query", - sizeof(PgQuery__ReturningOption), - 3, - pg_query__returning_option__field_descriptors, - pg_query__returning_option__field_indices_by_name, - 1, pg_query__returning_option__number_ranges, - (ProtobufCMessageInit) pg_query__returning_option__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__returning_clause__field_descriptors[2] = -{ - { - "options", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ReturningClause, n_options), - offsetof(PgQuery__ReturningClause, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "exprs", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ReturningClause, n_exprs), - offsetof(PgQuery__ReturningClause, exprs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__returning_clause__field_indices_by_name[] = { - 1, /* field[1] = exprs */ - 0, /* field[0] = options */ -}; -static const ProtobufCIntRange pg_query__returning_clause__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__returning_clause__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ReturningClause", - "ReturningClause", - "PgQuery__ReturningClause", - "pg_query", - sizeof(PgQuery__ReturningClause), - 2, - pg_query__returning_clause__field_descriptors, - pg_query__returning_clause__field_indices_by_name, - 1, pg_query__returning_clause__number_ranges, - (ProtobufCMessageInit) pg_query__returning_clause__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__trigger_transition__field_descriptors[3] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__TriggerTransition, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_new", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__TriggerTransition, is_new), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_table", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__TriggerTransition, is_table), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__trigger_transition__field_indices_by_name[] = { - 1, /* field[1] = is_new */ - 2, /* field[2] = is_table */ - 0, /* field[0] = name */ -}; -static const ProtobufCIntRange pg_query__trigger_transition__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__trigger_transition__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.TriggerTransition", - "TriggerTransition", - "PgQuery__TriggerTransition", - "pg_query", - sizeof(PgQuery__TriggerTransition), - 3, - pg_query__trigger_transition__field_descriptors, - pg_query__trigger_transition__field_indices_by_name, - 1, pg_query__trigger_transition__number_ranges, - (ProtobufCMessageInit) pg_query__trigger_transition__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_output__field_descriptors[2] = -{ - { - "type_name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonOutput, type_name), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonOutput, returning), - &pg_query__json_returning__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_output__field_indices_by_name[] = { - 1, /* field[1] = returning */ - 0, /* field[0] = type_name */ -}; -static const ProtobufCIntRange pg_query__json_output__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__json_output__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonOutput", - "JsonOutput", - "PgQuery__JsonOutput", - "pg_query", - sizeof(PgQuery__JsonOutput), - 2, - pg_query__json_output__field_descriptors, - pg_query__json_output__field_indices_by_name, - 1, pg_query__json_output__number_ranges, - (ProtobufCMessageInit) pg_query__json_output__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_argument__field_descriptors[2] = -{ - { - "val", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArgument, val), - &pg_query__json_value_expr__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArgument, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_argument__field_indices_by_name[] = { - 1, /* field[1] = name */ - 0, /* field[0] = val */ -}; -static const ProtobufCIntRange pg_query__json_argument__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__json_argument__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonArgument", - "JsonArgument", - "PgQuery__JsonArgument", - "pg_query", - sizeof(PgQuery__JsonArgument), - 2, - pg_query__json_argument__field_descriptors, - pg_query__json_argument__field_indices_by_name, - 1, pg_query__json_argument__number_ranges, - (ProtobufCMessageInit) pg_query__json_argument__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_func_expr__field_descriptors[11] = -{ - { - "op", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFuncExpr, op), - &pg_query__json_expr_op__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "column_name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFuncExpr, column_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "context_item", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFuncExpr, context_item), - &pg_query__json_value_expr__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pathspec", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFuncExpr, pathspec), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "passing", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JsonFuncExpr, n_passing), - offsetof(PgQuery__JsonFuncExpr, passing), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "output", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFuncExpr, output), - &pg_query__json_output__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_empty", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFuncExpr, on_empty), - &pg_query__json_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_error", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFuncExpr, on_error), - &pg_query__json_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "wrapper", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFuncExpr, wrapper), - &pg_query__json_wrapper__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "quotes", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFuncExpr, quotes), - &pg_query__json_quotes__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonFuncExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_func_expr__field_indices_by_name[] = { - 1, /* field[1] = column_name */ - 2, /* field[2] = context_item */ - 10, /* field[10] = location */ - 6, /* field[6] = on_empty */ - 7, /* field[7] = on_error */ - 0, /* field[0] = op */ - 5, /* field[5] = output */ - 4, /* field[4] = passing */ - 3, /* field[3] = pathspec */ - 9, /* field[9] = quotes */ - 8, /* field[8] = wrapper */ -}; -static const ProtobufCIntRange pg_query__json_func_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 11 } -}; -const ProtobufCMessageDescriptor pg_query__json_func_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonFuncExpr", - "JsonFuncExpr", - "PgQuery__JsonFuncExpr", - "pg_query", - sizeof(PgQuery__JsonFuncExpr), - 11, - pg_query__json_func_expr__field_descriptors, - pg_query__json_func_expr__field_indices_by_name, - 1, pg_query__json_func_expr__number_ranges, - (ProtobufCMessageInit) pg_query__json_func_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_table_path_spec__field_descriptors[4] = -{ - { - "string", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePathSpec, string), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePathSpec, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name_location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePathSpec, name_location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTablePathSpec, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_table_path_spec__field_indices_by_name[] = { - 3, /* field[3] = location */ - 1, /* field[1] = name */ - 2, /* field[2] = name_location */ - 0, /* field[0] = string */ -}; -static const ProtobufCIntRange pg_query__json_table_path_spec__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__json_table_path_spec__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonTablePathSpec", - "JsonTablePathSpec", - "PgQuery__JsonTablePathSpec", - "pg_query", - sizeof(PgQuery__JsonTablePathSpec), - 4, - pg_query__json_table_path_spec__field_descriptors, - pg_query__json_table_path_spec__field_indices_by_name, - 1, pg_query__json_table_path_spec__number_ranges, - (ProtobufCMessageInit) pg_query__json_table_path_spec__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_table__field_descriptors[8] = -{ - { - "context_item", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTable, context_item), - &pg_query__json_value_expr__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pathspec", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTable, pathspec), - &pg_query__json_table_path_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "passing", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JsonTable, n_passing), - offsetof(PgQuery__JsonTable, passing), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "columns", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JsonTable, n_columns), - offsetof(PgQuery__JsonTable, columns), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_error", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTable, on_error), - &pg_query__json_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alias", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTable, alias), - &pg_query__alias__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "lateral", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTable, lateral), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTable, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_table__field_indices_by_name[] = { - 5, /* field[5] = alias */ - 3, /* field[3] = columns */ - 0, /* field[0] = context_item */ - 6, /* field[6] = lateral */ - 7, /* field[7] = location */ - 4, /* field[4] = on_error */ - 2, /* field[2] = passing */ - 1, /* field[1] = pathspec */ -}; -static const ProtobufCIntRange pg_query__json_table__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__json_table__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonTable", - "JsonTable", - "PgQuery__JsonTable", - "pg_query", - sizeof(PgQuery__JsonTable), - 8, - pg_query__json_table__field_descriptors, - pg_query__json_table__field_indices_by_name, - 1, pg_query__json_table__number_ranges, - (ProtobufCMessageInit) pg_query__json_table__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_table_column__field_descriptors[11] = -{ - { - "coltype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableColumn, coltype), - &pg_query__json_table_column_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableColumn, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableColumn, type_name), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pathspec", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableColumn, pathspec), - &pg_query__json_table_path_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "format", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableColumn, format), - &pg_query__json_format__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "wrapper", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableColumn, wrapper), - &pg_query__json_wrapper__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "quotes", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableColumn, quotes), - &pg_query__json_quotes__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "columns", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JsonTableColumn, n_columns), - offsetof(PgQuery__JsonTableColumn, columns), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_empty", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableColumn, on_empty), - &pg_query__json_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_error", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableColumn, on_error), - &pg_query__json_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonTableColumn, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_table_column__field_indices_by_name[] = { - 0, /* field[0] = coltype */ - 7, /* field[7] = columns */ - 4, /* field[4] = format */ - 10, /* field[10] = location */ - 1, /* field[1] = name */ - 8, /* field[8] = on_empty */ - 9, /* field[9] = on_error */ - 3, /* field[3] = pathspec */ - 6, /* field[6] = quotes */ - 2, /* field[2] = type_name */ - 5, /* field[5] = wrapper */ -}; -static const ProtobufCIntRange pg_query__json_table_column__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 11 } -}; -const ProtobufCMessageDescriptor pg_query__json_table_column__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonTableColumn", - "JsonTableColumn", - "PgQuery__JsonTableColumn", - "pg_query", - sizeof(PgQuery__JsonTableColumn), - 11, - pg_query__json_table_column__field_descriptors, - pg_query__json_table_column__field_indices_by_name, - 1, pg_query__json_table_column__number_ranges, - (ProtobufCMessageInit) pg_query__json_table_column__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_key_value__field_descriptors[2] = -{ - { - "key", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonKeyValue, key), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "value", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonKeyValue, value), - &pg_query__json_value_expr__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_key_value__field_indices_by_name[] = { - 0, /* field[0] = key */ - 1, /* field[1] = value */ -}; -static const ProtobufCIntRange pg_query__json_key_value__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__json_key_value__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonKeyValue", - "JsonKeyValue", - "PgQuery__JsonKeyValue", - "pg_query", - sizeof(PgQuery__JsonKeyValue), - 2, - pg_query__json_key_value__field_descriptors, - pg_query__json_key_value__field_indices_by_name, - 1, pg_query__json_key_value__number_ranges, - (ProtobufCMessageInit) pg_query__json_key_value__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_parse_expr__field_descriptors[4] = -{ - { - "expr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonParseExpr, expr), - &pg_query__json_value_expr__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "output", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonParseExpr, output), - &pg_query__json_output__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "unique_keys", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonParseExpr, unique_keys), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonParseExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_parse_expr__field_indices_by_name[] = { - 0, /* field[0] = expr */ - 3, /* field[3] = location */ - 1, /* field[1] = output */ - 2, /* field[2] = unique_keys */ -}; -static const ProtobufCIntRange pg_query__json_parse_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__json_parse_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonParseExpr", - "JsonParseExpr", - "PgQuery__JsonParseExpr", - "pg_query", - sizeof(PgQuery__JsonParseExpr), - 4, - pg_query__json_parse_expr__field_descriptors, - pg_query__json_parse_expr__field_indices_by_name, - 1, pg_query__json_parse_expr__number_ranges, - (ProtobufCMessageInit) pg_query__json_parse_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_scalar_expr__field_descriptors[3] = -{ - { - "expr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonScalarExpr, expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "output", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonScalarExpr, output), - &pg_query__json_output__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonScalarExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_scalar_expr__field_indices_by_name[] = { - 0, /* field[0] = expr */ - 2, /* field[2] = location */ - 1, /* field[1] = output */ -}; -static const ProtobufCIntRange pg_query__json_scalar_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__json_scalar_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonScalarExpr", - "JsonScalarExpr", - "PgQuery__JsonScalarExpr", - "pg_query", - sizeof(PgQuery__JsonScalarExpr), - 3, - pg_query__json_scalar_expr__field_descriptors, - pg_query__json_scalar_expr__field_indices_by_name, - 1, pg_query__json_scalar_expr__number_ranges, - (ProtobufCMessageInit) pg_query__json_scalar_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_serialize_expr__field_descriptors[3] = -{ - { - "expr", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonSerializeExpr, expr), - &pg_query__json_value_expr__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "output", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonSerializeExpr, output), - &pg_query__json_output__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonSerializeExpr, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_serialize_expr__field_indices_by_name[] = { - 0, /* field[0] = expr */ - 2, /* field[2] = location */ - 1, /* field[1] = output */ -}; -static const ProtobufCIntRange pg_query__json_serialize_expr__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__json_serialize_expr__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonSerializeExpr", - "JsonSerializeExpr", - "PgQuery__JsonSerializeExpr", - "pg_query", - sizeof(PgQuery__JsonSerializeExpr), - 3, - pg_query__json_serialize_expr__field_descriptors, - pg_query__json_serialize_expr__field_indices_by_name, - 1, pg_query__json_serialize_expr__number_ranges, - (ProtobufCMessageInit) pg_query__json_serialize_expr__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_object_constructor__field_descriptors[5] = -{ - { - "exprs", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JsonObjectConstructor, n_exprs), - offsetof(PgQuery__JsonObjectConstructor, exprs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "output", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonObjectConstructor, output), - &pg_query__json_output__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "absent_on_null", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonObjectConstructor, absent_on_null), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "unique", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonObjectConstructor, unique), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonObjectConstructor, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_object_constructor__field_indices_by_name[] = { - 2, /* field[2] = absent_on_null */ - 0, /* field[0] = exprs */ - 4, /* field[4] = location */ - 1, /* field[1] = output */ - 3, /* field[3] = unique */ -}; -static const ProtobufCIntRange pg_query__json_object_constructor__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__json_object_constructor__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonObjectConstructor", - "JsonObjectConstructor", - "PgQuery__JsonObjectConstructor", - "pg_query", - sizeof(PgQuery__JsonObjectConstructor), - 5, - pg_query__json_object_constructor__field_descriptors, - pg_query__json_object_constructor__field_indices_by_name, - 1, pg_query__json_object_constructor__number_ranges, - (ProtobufCMessageInit) pg_query__json_object_constructor__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_array_constructor__field_descriptors[4] = -{ - { - "exprs", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JsonArrayConstructor, n_exprs), - offsetof(PgQuery__JsonArrayConstructor, exprs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "output", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayConstructor, output), - &pg_query__json_output__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "absent_on_null", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayConstructor, absent_on_null), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayConstructor, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_array_constructor__field_indices_by_name[] = { - 2, /* field[2] = absent_on_null */ - 0, /* field[0] = exprs */ - 3, /* field[3] = location */ - 1, /* field[1] = output */ -}; -static const ProtobufCIntRange pg_query__json_array_constructor__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__json_array_constructor__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonArrayConstructor", - "JsonArrayConstructor", - "PgQuery__JsonArrayConstructor", - "pg_query", - sizeof(PgQuery__JsonArrayConstructor), - 4, - pg_query__json_array_constructor__field_descriptors, - pg_query__json_array_constructor__field_indices_by_name, - 1, pg_query__json_array_constructor__number_ranges, - (ProtobufCMessageInit) pg_query__json_array_constructor__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_array_query_constructor__field_descriptors[5] = -{ - { - "query", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayQueryConstructor, query), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "output", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayQueryConstructor, output), - &pg_query__json_output__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "format", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayQueryConstructor, format), - &pg_query__json_format__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "absent_on_null", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayQueryConstructor, absent_on_null), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayQueryConstructor, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_array_query_constructor__field_indices_by_name[] = { - 3, /* field[3] = absent_on_null */ - 2, /* field[2] = format */ - 4, /* field[4] = location */ - 1, /* field[1] = output */ - 0, /* field[0] = query */ -}; -static const ProtobufCIntRange pg_query__json_array_query_constructor__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__json_array_query_constructor__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonArrayQueryConstructor", - "JsonArrayQueryConstructor", - "PgQuery__JsonArrayQueryConstructor", - "pg_query", - sizeof(PgQuery__JsonArrayQueryConstructor), - 5, - pg_query__json_array_query_constructor__field_descriptors, - pg_query__json_array_query_constructor__field_indices_by_name, - 1, pg_query__json_array_query_constructor__number_ranges, - (ProtobufCMessageInit) pg_query__json_array_query_constructor__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_agg_constructor__field_descriptors[5] = -{ - { - "output", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonAggConstructor, output), - &pg_query__json_output__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "agg_filter", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonAggConstructor, agg_filter), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "agg_order", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__JsonAggConstructor, n_agg_order), - offsetof(PgQuery__JsonAggConstructor, agg_order), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "over", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonAggConstructor, over), - &pg_query__window_def__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonAggConstructor, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_agg_constructor__field_indices_by_name[] = { - 1, /* field[1] = agg_filter */ - 2, /* field[2] = agg_order */ - 4, /* field[4] = location */ - 0, /* field[0] = output */ - 3, /* field[3] = over */ -}; -static const ProtobufCIntRange pg_query__json_agg_constructor__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__json_agg_constructor__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonAggConstructor", - "JsonAggConstructor", - "PgQuery__JsonAggConstructor", - "pg_query", - sizeof(PgQuery__JsonAggConstructor), - 5, - pg_query__json_agg_constructor__field_descriptors, - pg_query__json_agg_constructor__field_indices_by_name, - 1, pg_query__json_agg_constructor__number_ranges, - (ProtobufCMessageInit) pg_query__json_agg_constructor__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_object_agg__field_descriptors[4] = -{ - { - "constructor", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonObjectAgg, constructor), - &pg_query__json_agg_constructor__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonObjectAgg, arg), - &pg_query__json_key_value__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "absent_on_null", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonObjectAgg, absent_on_null), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "unique", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonObjectAgg, unique), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_object_agg__field_indices_by_name[] = { - 2, /* field[2] = absent_on_null */ - 1, /* field[1] = arg */ - 0, /* field[0] = constructor */ - 3, /* field[3] = unique */ -}; -static const ProtobufCIntRange pg_query__json_object_agg__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__json_object_agg__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonObjectAgg", - "JsonObjectAgg", - "PgQuery__JsonObjectAgg", - "pg_query", - sizeof(PgQuery__JsonObjectAgg), - 4, - pg_query__json_object_agg__field_descriptors, - pg_query__json_object_agg__field_indices_by_name, - 1, pg_query__json_object_agg__number_ranges, - (ProtobufCMessageInit) pg_query__json_object_agg__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__json_array_agg__field_descriptors[3] = -{ - { - "constructor", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayAgg, constructor), - &pg_query__json_agg_constructor__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayAgg, arg), - &pg_query__json_value_expr__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "absent_on_null", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__JsonArrayAgg, absent_on_null), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__json_array_agg__field_indices_by_name[] = { - 2, /* field[2] = absent_on_null */ - 1, /* field[1] = arg */ - 0, /* field[0] = constructor */ -}; -static const ProtobufCIntRange pg_query__json_array_agg__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__json_array_agg__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.JsonArrayAgg", - "JsonArrayAgg", - "PgQuery__JsonArrayAgg", - "pg_query", - sizeof(PgQuery__JsonArrayAgg), - 3, - pg_query__json_array_agg__field_descriptors, - pg_query__json_array_agg__field_indices_by_name, - 1, pg_query__json_array_agg__number_ranges, - (ProtobufCMessageInit) pg_query__json_array_agg__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__raw_stmt__field_descriptors[3] = -{ - { - "stmt", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RawStmt, stmt), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stmt_location", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RawStmt, stmt_location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stmt_len", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__RawStmt, stmt_len), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__raw_stmt__field_indices_by_name[] = { - 0, /* field[0] = stmt */ - 2, /* field[2] = stmt_len */ - 1, /* field[1] = stmt_location */ -}; -static const ProtobufCIntRange pg_query__raw_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__raw_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RawStmt", - "RawStmt", - "PgQuery__RawStmt", - "pg_query", - sizeof(PgQuery__RawStmt), - 3, - pg_query__raw_stmt__field_descriptors, - pg_query__raw_stmt__field_indices_by_name, - 1, pg_query__raw_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__raw_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__insert_stmt__field_descriptors[7] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__InsertStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cols", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__InsertStmt, n_cols), - offsetof(PgQuery__InsertStmt, cols), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "select_stmt", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__InsertStmt, select_stmt), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "on_conflict_clause", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__InsertStmt, on_conflict_clause), - &pg_query__on_conflict_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning_clause", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__InsertStmt, returning_clause), - &pg_query__returning_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_clause", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__InsertStmt, with_clause), - &pg_query__with_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "override", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__InsertStmt, override), - &pg_query__overriding_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__insert_stmt__field_indices_by_name[] = { - 1, /* field[1] = cols */ - 3, /* field[3] = on_conflict_clause */ - 6, /* field[6] = override */ - 0, /* field[0] = relation */ - 4, /* field[4] = returning_clause */ - 2, /* field[2] = select_stmt */ - 5, /* field[5] = with_clause */ -}; -static const ProtobufCIntRange pg_query__insert_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__insert_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.InsertStmt", - "InsertStmt", - "PgQuery__InsertStmt", - "pg_query", - sizeof(PgQuery__InsertStmt), - 7, - pg_query__insert_stmt__field_descriptors, - pg_query__insert_stmt__field_indices_by_name, - 1, pg_query__insert_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__insert_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__delete_stmt__field_descriptors[5] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__DeleteStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "using_clause", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__DeleteStmt, n_using_clause), - offsetof(PgQuery__DeleteStmt, using_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "where_clause", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__DeleteStmt, where_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning_clause", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__DeleteStmt, returning_clause), - &pg_query__returning_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_clause", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__DeleteStmt, with_clause), - &pg_query__with_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__delete_stmt__field_indices_by_name[] = { - 0, /* field[0] = relation */ - 3, /* field[3] = returning_clause */ - 1, /* field[1] = using_clause */ - 2, /* field[2] = where_clause */ - 4, /* field[4] = with_clause */ -}; -static const ProtobufCIntRange pg_query__delete_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__delete_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DeleteStmt", - "DeleteStmt", - "PgQuery__DeleteStmt", - "pg_query", - sizeof(PgQuery__DeleteStmt), - 5, - pg_query__delete_stmt__field_descriptors, - pg_query__delete_stmt__field_indices_by_name, - 1, pg_query__delete_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__delete_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__update_stmt__field_descriptors[6] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__UpdateStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "target_list", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__UpdateStmt, n_target_list), - offsetof(PgQuery__UpdateStmt, target_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "where_clause", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__UpdateStmt, where_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "from_clause", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__UpdateStmt, n_from_clause), - offsetof(PgQuery__UpdateStmt, from_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning_clause", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__UpdateStmt, returning_clause), - &pg_query__returning_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_clause", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__UpdateStmt, with_clause), - &pg_query__with_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__update_stmt__field_indices_by_name[] = { - 3, /* field[3] = from_clause */ - 0, /* field[0] = relation */ - 4, /* field[4] = returning_clause */ - 1, /* field[1] = target_list */ - 2, /* field[2] = where_clause */ - 5, /* field[5] = with_clause */ -}; -static const ProtobufCIntRange pg_query__update_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__update_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.UpdateStmt", - "UpdateStmt", - "PgQuery__UpdateStmt", - "pg_query", - sizeof(PgQuery__UpdateStmt), - 6, - pg_query__update_stmt__field_descriptors, - pg_query__update_stmt__field_indices_by_name, - 1, pg_query__update_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__update_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__merge_stmt__field_descriptors[6] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "source_relation", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeStmt, source_relation), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "join_condition", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeStmt, join_condition), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "merge_when_clauses", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__MergeStmt, n_merge_when_clauses), - offsetof(PgQuery__MergeStmt, merge_when_clauses), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "returning_clause", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeStmt, returning_clause), - &pg_query__returning_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_clause", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__MergeStmt, with_clause), - &pg_query__with_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__merge_stmt__field_indices_by_name[] = { - 2, /* field[2] = join_condition */ - 3, /* field[3] = merge_when_clauses */ - 0, /* field[0] = relation */ - 4, /* field[4] = returning_clause */ - 1, /* field[1] = source_relation */ - 5, /* field[5] = with_clause */ -}; -static const ProtobufCIntRange pg_query__merge_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__merge_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.MergeStmt", - "MergeStmt", - "PgQuery__MergeStmt", - "pg_query", - sizeof(PgQuery__MergeStmt), - 6, - pg_query__merge_stmt__field_descriptors, - pg_query__merge_stmt__field_indices_by_name, - 1, pg_query__merge_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__merge_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__select_stmt__field_descriptors[20] = -{ - { - "distinct_clause", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SelectStmt, n_distinct_clause), - offsetof(PgQuery__SelectStmt, distinct_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "into_clause", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, into_clause), - &pg_query__into_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "target_list", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SelectStmt, n_target_list), - offsetof(PgQuery__SelectStmt, target_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "from_clause", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SelectStmt, n_from_clause), - offsetof(PgQuery__SelectStmt, from_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "where_clause", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, where_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "group_clause", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SelectStmt, n_group_clause), - offsetof(PgQuery__SelectStmt, group_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "group_distinct", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, group_distinct), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "having_clause", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, having_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "window_clause", - 9, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SelectStmt, n_window_clause), - offsetof(PgQuery__SelectStmt, window_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "values_lists", - 10, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SelectStmt, n_values_lists), - offsetof(PgQuery__SelectStmt, values_lists), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sort_clause", - 11, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SelectStmt, n_sort_clause), - offsetof(PgQuery__SelectStmt, sort_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "limit_offset", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, limit_offset), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "limit_count", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, limit_count), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "limit_option", - 14, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, limit_option), - &pg_query__limit_option__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "locking_clause", - 15, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SelectStmt, n_locking_clause), - offsetof(PgQuery__SelectStmt, locking_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_clause", - 16, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, with_clause), - &pg_query__with_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "op", - 17, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, op), - &pg_query__set_operation__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "all", - 18, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, all), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "larg", - 19, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, larg), - &pg_query__select_stmt__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rarg", - 20, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SelectStmt, rarg), - &pg_query__select_stmt__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__select_stmt__field_indices_by_name[] = { - 17, /* field[17] = all */ - 0, /* field[0] = distinct_clause */ - 3, /* field[3] = from_clause */ - 5, /* field[5] = group_clause */ - 6, /* field[6] = group_distinct */ - 7, /* field[7] = having_clause */ - 1, /* field[1] = into_clause */ - 18, /* field[18] = larg */ - 12, /* field[12] = limit_count */ - 11, /* field[11] = limit_offset */ - 13, /* field[13] = limit_option */ - 14, /* field[14] = locking_clause */ - 16, /* field[16] = op */ - 19, /* field[19] = rarg */ - 10, /* field[10] = sort_clause */ - 2, /* field[2] = target_list */ - 9, /* field[9] = values_lists */ - 4, /* field[4] = where_clause */ - 8, /* field[8] = window_clause */ - 15, /* field[15] = with_clause */ -}; -static const ProtobufCIntRange pg_query__select_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 20 } -}; -const ProtobufCMessageDescriptor pg_query__select_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SelectStmt", - "SelectStmt", - "PgQuery__SelectStmt", - "pg_query", - sizeof(PgQuery__SelectStmt), - 20, - pg_query__select_stmt__field_descriptors, - pg_query__select_stmt__field_indices_by_name, - 1, pg_query__select_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__select_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__set_operation_stmt__field_descriptors[8] = -{ - { - "op", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SetOperationStmt, op), - &pg_query__set_operation__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "all", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__SetOperationStmt, all), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "larg", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SetOperationStmt, larg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rarg", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SetOperationStmt, rarg), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "col_types", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SetOperationStmt, n_col_types), - offsetof(PgQuery__SetOperationStmt, col_types), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "col_typmods", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SetOperationStmt, n_col_typmods), - offsetof(PgQuery__SetOperationStmt, col_typmods), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "col_collations", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SetOperationStmt, n_col_collations), - offsetof(PgQuery__SetOperationStmt, col_collations), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "group_clauses", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SetOperationStmt, n_group_clauses), - offsetof(PgQuery__SetOperationStmt, group_clauses), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__set_operation_stmt__field_indices_by_name[] = { - 1, /* field[1] = all */ - 6, /* field[6] = col_collations */ - 4, /* field[4] = col_types */ - 5, /* field[5] = col_typmods */ - 7, /* field[7] = group_clauses */ - 2, /* field[2] = larg */ - 0, /* field[0] = op */ - 3, /* field[3] = rarg */ -}; -static const ProtobufCIntRange pg_query__set_operation_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__set_operation_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SetOperationStmt", - "SetOperationStmt", - "PgQuery__SetOperationStmt", - "pg_query", - sizeof(PgQuery__SetOperationStmt), - 8, - pg_query__set_operation_stmt__field_descriptors, - pg_query__set_operation_stmt__field_indices_by_name, - 1, pg_query__set_operation_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__set_operation_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__return_stmt__field_descriptors[1] = -{ - { - "returnval", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReturnStmt, returnval), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__return_stmt__field_indices_by_name[] = { - 0, /* field[0] = returnval */ -}; -static const ProtobufCIntRange pg_query__return_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__return_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ReturnStmt", - "ReturnStmt", - "PgQuery__ReturnStmt", - "pg_query", - sizeof(PgQuery__ReturnStmt), - 1, - pg_query__return_stmt__field_descriptors, - pg_query__return_stmt__field_indices_by_name, - 1, pg_query__return_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__return_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__plassign_stmt__field_descriptors[5] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__PLAssignStmt, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "indirection", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__PLAssignStmt, n_indirection), - offsetof(PgQuery__PLAssignStmt, indirection), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nnames", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__PLAssignStmt, nnames), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "val", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__PLAssignStmt, val), - &pg_query__select_stmt__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__PLAssignStmt, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__plassign_stmt__field_indices_by_name[] = { - 1, /* field[1] = indirection */ - 4, /* field[4] = location */ - 0, /* field[0] = name */ - 2, /* field[2] = nnames */ - 3, /* field[3] = val */ -}; -static const ProtobufCIntRange pg_query__plassign_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__plassign_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.PLAssignStmt", - "PLAssignStmt", - "PgQuery__PLAssignStmt", - "pg_query", - sizeof(PgQuery__PLAssignStmt), - 5, - pg_query__plassign_stmt__field_descriptors, - pg_query__plassign_stmt__field_indices_by_name, - 1, pg_query__plassign_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__plassign_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_schema_stmt__field_descriptors[4] = -{ - { - "schemaname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateSchemaStmt, schemaname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "authrole", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateSchemaStmt, authrole), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "schema_elts", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateSchemaStmt, n_schema_elts), - offsetof(PgQuery__CreateSchemaStmt, schema_elts), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "if_not_exists", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateSchemaStmt, if_not_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_schema_stmt__field_indices_by_name[] = { - 1, /* field[1] = authrole */ - 3, /* field[3] = if_not_exists */ - 2, /* field[2] = schema_elts */ - 0, /* field[0] = schemaname */ -}; -static const ProtobufCIntRange pg_query__create_schema_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__create_schema_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateSchemaStmt", - "CreateSchemaStmt", - "PgQuery__CreateSchemaStmt", - "pg_query", - sizeof(PgQuery__CreateSchemaStmt), - 4, - pg_query__create_schema_stmt__field_descriptors, - pg_query__create_schema_stmt__field_indices_by_name, - 1, pg_query__create_schema_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_schema_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_table_stmt__field_descriptors[4] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cmds", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterTableStmt, n_cmds), - offsetof(PgQuery__AlterTableStmt, cmds), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "objtype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableStmt, objtype), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_table_stmt__field_indices_by_name[] = { - 1, /* field[1] = cmds */ - 3, /* field[3] = missing_ok */ - 2, /* field[2] = objtype */ - 0, /* field[0] = relation */ -}; -static const ProtobufCIntRange pg_query__alter_table_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__alter_table_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterTableStmt", - "AlterTableStmt", - "PgQuery__AlterTableStmt", - "pg_query", - sizeof(PgQuery__AlterTableStmt), - 4, - pg_query__alter_table_stmt__field_descriptors, - pg_query__alter_table_stmt__field_indices_by_name, - 1, pg_query__alter_table_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_table_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_table_cmd__field_descriptors[8] = -{ - { - "subtype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableCmd, subtype), - &pg_query__alter_table_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableCmd, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "num", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableCmd, num), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "newowner", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableCmd, newowner), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "def", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableCmd, def), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "behavior", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableCmd, behavior), - &pg_query__drop_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableCmd, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "recurse", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableCmd, recurse), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_table_cmd__field_indices_by_name[] = { - 5, /* field[5] = behavior */ - 4, /* field[4] = def */ - 6, /* field[6] = missing_ok */ - 1, /* field[1] = name */ - 3, /* field[3] = newowner */ - 2, /* field[2] = num */ - 7, /* field[7] = recurse */ - 0, /* field[0] = subtype */ -}; -static const ProtobufCIntRange pg_query__alter_table_cmd__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__alter_table_cmd__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterTableCmd", - "AlterTableCmd", - "PgQuery__AlterTableCmd", - "pg_query", - sizeof(PgQuery__AlterTableCmd), - 8, - pg_query__alter_table_cmd__field_descriptors, - pg_query__alter_table_cmd__field_indices_by_name, - 1, pg_query__alter_table_cmd__number_ranges, - (ProtobufCMessageInit) pg_query__alter_table_cmd__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__atalter_constraint__field_descriptors[8] = -{ - { - "conname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ATAlterConstraint, conname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_enforceability", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ATAlterConstraint, alter_enforceability), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_enforced", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ATAlterConstraint, is_enforced), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_deferrability", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ATAlterConstraint, alter_deferrability), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "deferrable", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ATAlterConstraint, deferrable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "initdeferred", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ATAlterConstraint, initdeferred), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "alter_inheritability", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ATAlterConstraint, alter_inheritability), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "noinherit", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ATAlterConstraint, noinherit), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__atalter_constraint__field_indices_by_name[] = { - 3, /* field[3] = alter_deferrability */ - 1, /* field[1] = alter_enforceability */ - 6, /* field[6] = alter_inheritability */ - 0, /* field[0] = conname */ - 4, /* field[4] = deferrable */ - 5, /* field[5] = initdeferred */ - 2, /* field[2] = is_enforced */ - 7, /* field[7] = noinherit */ -}; -static const ProtobufCIntRange pg_query__atalter_constraint__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__atalter_constraint__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ATAlterConstraint", - "ATAlterConstraint", - "PgQuery__ATAlterConstraint", - "pg_query", - sizeof(PgQuery__ATAlterConstraint), - 8, - pg_query__atalter_constraint__field_descriptors, - pg_query__atalter_constraint__field_indices_by_name, - 1, pg_query__atalter_constraint__number_ranges, - (ProtobufCMessageInit) pg_query__atalter_constraint__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__replica_identity_stmt__field_descriptors[2] = -{ - { - "identity_type", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReplicaIdentityStmt, identity_type), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReplicaIdentityStmt, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__replica_identity_stmt__field_indices_by_name[] = { - 0, /* field[0] = identity_type */ - 1, /* field[1] = name */ -}; -static const ProtobufCIntRange pg_query__replica_identity_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__replica_identity_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ReplicaIdentityStmt", - "ReplicaIdentityStmt", - "PgQuery__ReplicaIdentityStmt", - "pg_query", - sizeof(PgQuery__ReplicaIdentityStmt), - 2, - pg_query__replica_identity_stmt__field_descriptors, - pg_query__replica_identity_stmt__field_indices_by_name, - 1, pg_query__replica_identity_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__replica_identity_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_collation_stmt__field_descriptors[1] = -{ - { - "collname", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterCollationStmt, n_collname), - offsetof(PgQuery__AlterCollationStmt, collname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_collation_stmt__field_indices_by_name[] = { - 0, /* field[0] = collname */ -}; -static const ProtobufCIntRange pg_query__alter_collation_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__alter_collation_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterCollationStmt", - "AlterCollationStmt", - "PgQuery__AlterCollationStmt", - "pg_query", - sizeof(PgQuery__AlterCollationStmt), - 1, - pg_query__alter_collation_stmt__field_descriptors, - pg_query__alter_collation_stmt__field_indices_by_name, - 1, pg_query__alter_collation_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_collation_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_domain_stmt__field_descriptors[6] = -{ - { - "subtype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterDomainStmt, subtype), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_name", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterDomainStmt, n_type_name), - offsetof(PgQuery__AlterDomainStmt, type_name), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterDomainStmt, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "def", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterDomainStmt, def), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "behavior", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterDomainStmt, behavior), - &pg_query__drop_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterDomainStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_domain_stmt__field_indices_by_name[] = { - 4, /* field[4] = behavior */ - 3, /* field[3] = def */ - 5, /* field[5] = missing_ok */ - 2, /* field[2] = name */ - 0, /* field[0] = subtype */ - 1, /* field[1] = type_name */ -}; -static const ProtobufCIntRange pg_query__alter_domain_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__alter_domain_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterDomainStmt", - "AlterDomainStmt", - "PgQuery__AlterDomainStmt", - "pg_query", - sizeof(PgQuery__AlterDomainStmt), - 6, - pg_query__alter_domain_stmt__field_descriptors, - pg_query__alter_domain_stmt__field_indices_by_name, - 1, pg_query__alter_domain_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_domain_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__grant_stmt__field_descriptors[9] = -{ - { - "is_grant", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__GrantStmt, is_grant), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "targtype", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__GrantStmt, targtype), - &pg_query__grant_target_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "objtype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__GrantStmt, objtype), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "objects", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__GrantStmt, n_objects), - offsetof(PgQuery__GrantStmt, objects), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "privileges", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__GrantStmt, n_privileges), - offsetof(PgQuery__GrantStmt, privileges), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "grantees", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__GrantStmt, n_grantees), - offsetof(PgQuery__GrantStmt, grantees), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "grant_option", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__GrantStmt, grant_option), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "grantor", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__GrantStmt, grantor), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "behavior", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__GrantStmt, behavior), - &pg_query__drop_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__grant_stmt__field_indices_by_name[] = { - 8, /* field[8] = behavior */ - 6, /* field[6] = grant_option */ - 5, /* field[5] = grantees */ - 7, /* field[7] = grantor */ - 0, /* field[0] = is_grant */ - 3, /* field[3] = objects */ - 2, /* field[2] = objtype */ - 4, /* field[4] = privileges */ - 1, /* field[1] = targtype */ -}; -static const ProtobufCIntRange pg_query__grant_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 9 } -}; -const ProtobufCMessageDescriptor pg_query__grant_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.GrantStmt", - "GrantStmt", - "PgQuery__GrantStmt", - "pg_query", - sizeof(PgQuery__GrantStmt), - 9, - pg_query__grant_stmt__field_descriptors, - pg_query__grant_stmt__field_indices_by_name, - 1, pg_query__grant_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__grant_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__object_with_args__field_descriptors[4] = -{ - { - "objname", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ObjectWithArgs, n_objname), - offsetof(PgQuery__ObjectWithArgs, objname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "objargs", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ObjectWithArgs, n_objargs), - offsetof(PgQuery__ObjectWithArgs, objargs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "objfuncargs", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ObjectWithArgs, n_objfuncargs), - offsetof(PgQuery__ObjectWithArgs, objfuncargs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args_unspecified", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ObjectWithArgs, args_unspecified), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__object_with_args__field_indices_by_name[] = { - 3, /* field[3] = args_unspecified */ - 1, /* field[1] = objargs */ - 2, /* field[2] = objfuncargs */ - 0, /* field[0] = objname */ -}; -static const ProtobufCIntRange pg_query__object_with_args__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__object_with_args__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ObjectWithArgs", - "ObjectWithArgs", - "PgQuery__ObjectWithArgs", - "pg_query", - sizeof(PgQuery__ObjectWithArgs), - 4, - pg_query__object_with_args__field_descriptors, - pg_query__object_with_args__field_indices_by_name, - 1, pg_query__object_with_args__number_ranges, - (ProtobufCMessageInit) pg_query__object_with_args__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__access_priv__field_descriptors[2] = -{ - { - "priv_name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AccessPriv, priv_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cols", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AccessPriv, n_cols), - offsetof(PgQuery__AccessPriv, cols), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__access_priv__field_indices_by_name[] = { - 1, /* field[1] = cols */ - 0, /* field[0] = priv_name */ -}; -static const ProtobufCIntRange pg_query__access_priv__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__access_priv__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AccessPriv", - "AccessPriv", - "PgQuery__AccessPriv", - "pg_query", - sizeof(PgQuery__AccessPriv), - 2, - pg_query__access_priv__field_descriptors, - pg_query__access_priv__field_indices_by_name, - 1, pg_query__access_priv__number_ranges, - (ProtobufCMessageInit) pg_query__access_priv__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__grant_role_stmt__field_descriptors[6] = -{ - { - "granted_roles", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__GrantRoleStmt, n_granted_roles), - offsetof(PgQuery__GrantRoleStmt, granted_roles), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "grantee_roles", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__GrantRoleStmt, n_grantee_roles), - offsetof(PgQuery__GrantRoleStmt, grantee_roles), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_grant", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__GrantRoleStmt, is_grant), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opt", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__GrantRoleStmt, n_opt), - offsetof(PgQuery__GrantRoleStmt, opt), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "grantor", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__GrantRoleStmt, grantor), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "behavior", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__GrantRoleStmt, behavior), - &pg_query__drop_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__grant_role_stmt__field_indices_by_name[] = { - 5, /* field[5] = behavior */ - 0, /* field[0] = granted_roles */ - 1, /* field[1] = grantee_roles */ - 4, /* field[4] = grantor */ - 2, /* field[2] = is_grant */ - 3, /* field[3] = opt */ -}; -static const ProtobufCIntRange pg_query__grant_role_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__grant_role_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.GrantRoleStmt", - "GrantRoleStmt", - "PgQuery__GrantRoleStmt", - "pg_query", - sizeof(PgQuery__GrantRoleStmt), - 6, - pg_query__grant_role_stmt__field_descriptors, - pg_query__grant_role_stmt__field_indices_by_name, - 1, pg_query__grant_role_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__grant_role_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_default_privileges_stmt__field_descriptors[2] = -{ - { - "options", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterDefaultPrivilegesStmt, n_options), - offsetof(PgQuery__AlterDefaultPrivilegesStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "action", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterDefaultPrivilegesStmt, action), - &pg_query__grant_stmt__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_default_privileges_stmt__field_indices_by_name[] = { - 1, /* field[1] = action */ - 0, /* field[0] = options */ -}; -static const ProtobufCIntRange pg_query__alter_default_privileges_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__alter_default_privileges_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterDefaultPrivilegesStmt", - "AlterDefaultPrivilegesStmt", - "PgQuery__AlterDefaultPrivilegesStmt", - "pg_query", - sizeof(PgQuery__AlterDefaultPrivilegesStmt), - 2, - pg_query__alter_default_privileges_stmt__field_descriptors, - pg_query__alter_default_privileges_stmt__field_indices_by_name, - 1, pg_query__alter_default_privileges_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_default_privileges_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__copy_stmt__field_descriptors[8] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CopyStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "query", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CopyStmt, query), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "attlist", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CopyStmt, n_attlist), - offsetof(PgQuery__CopyStmt, attlist), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_from", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CopyStmt, is_from), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_program", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CopyStmt, is_program), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "filename", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CopyStmt, filename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CopyStmt, n_options), - offsetof(PgQuery__CopyStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "where_clause", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CopyStmt, where_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__copy_stmt__field_indices_by_name[] = { - 2, /* field[2] = attlist */ - 5, /* field[5] = filename */ - 3, /* field[3] = is_from */ - 4, /* field[4] = is_program */ - 6, /* field[6] = options */ - 1, /* field[1] = query */ - 0, /* field[0] = relation */ - 7, /* field[7] = where_clause */ -}; -static const ProtobufCIntRange pg_query__copy_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__copy_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CopyStmt", - "CopyStmt", - "PgQuery__CopyStmt", - "pg_query", - sizeof(PgQuery__CopyStmt), - 8, - pg_query__copy_stmt__field_descriptors, - pg_query__copy_stmt__field_indices_by_name, - 1, pg_query__copy_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__copy_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__variable_set_stmt__field_descriptors[6] = -{ - { - "kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__VariableSetStmt, kind), - &pg_query__variable_set_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__VariableSetStmt, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__VariableSetStmt, n_args), - offsetof(PgQuery__VariableSetStmt, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "jumble_args", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__VariableSetStmt, jumble_args), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_local", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__VariableSetStmt, is_local), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__VariableSetStmt, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__variable_set_stmt__field_indices_by_name[] = { - 2, /* field[2] = args */ - 4, /* field[4] = is_local */ - 3, /* field[3] = jumble_args */ - 0, /* field[0] = kind */ - 5, /* field[5] = location */ - 1, /* field[1] = name */ -}; -static const ProtobufCIntRange pg_query__variable_set_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__variable_set_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.VariableSetStmt", - "VariableSetStmt", - "PgQuery__VariableSetStmt", - "pg_query", - sizeof(PgQuery__VariableSetStmt), - 6, - pg_query__variable_set_stmt__field_descriptors, - pg_query__variable_set_stmt__field_indices_by_name, - 1, pg_query__variable_set_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__variable_set_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__variable_show_stmt__field_descriptors[1] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__VariableShowStmt, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__variable_show_stmt__field_indices_by_name[] = { - 0, /* field[0] = name */ -}; -static const ProtobufCIntRange pg_query__variable_show_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__variable_show_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.VariableShowStmt", - "VariableShowStmt", - "PgQuery__VariableShowStmt", - "pg_query", - sizeof(PgQuery__VariableShowStmt), - 1, - pg_query__variable_show_stmt__field_descriptors, - pg_query__variable_show_stmt__field_indices_by_name, - 1, pg_query__variable_show_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__variable_show_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_stmt__field_descriptors[13] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table_elts", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateStmt, n_table_elts), - offsetof(PgQuery__CreateStmt, table_elts), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inh_relations", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateStmt, n_inh_relations), - offsetof(PgQuery__CreateStmt, inh_relations), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "partbound", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStmt, partbound), - &pg_query__partition_bound_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "partspec", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStmt, partspec), - &pg_query__partition_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "of_typename", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStmt, of_typename), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "constraints", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateStmt, n_constraints), - offsetof(PgQuery__CreateStmt, constraints), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nnconstraints", - 8, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateStmt, n_nnconstraints), - offsetof(PgQuery__CreateStmt, nnconstraints), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 9, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateStmt, n_options), - offsetof(PgQuery__CreateStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "oncommit", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStmt, oncommit), - &pg_query__on_commit_action__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "tablespacename", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStmt, tablespacename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "access_method", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStmt, access_method), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "if_not_exists", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStmt, if_not_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_stmt__field_indices_by_name[] = { - 11, /* field[11] = access_method */ - 6, /* field[6] = constraints */ - 12, /* field[12] = if_not_exists */ - 2, /* field[2] = inh_relations */ - 7, /* field[7] = nnconstraints */ - 5, /* field[5] = of_typename */ - 9, /* field[9] = oncommit */ - 8, /* field[8] = options */ - 3, /* field[3] = partbound */ - 4, /* field[4] = partspec */ - 0, /* field[0] = relation */ - 1, /* field[1] = table_elts */ - 10, /* field[10] = tablespacename */ -}; -static const ProtobufCIntRange pg_query__create_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 13 } -}; -const ProtobufCMessageDescriptor pg_query__create_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateStmt", - "CreateStmt", - "PgQuery__CreateStmt", - "pg_query", - sizeof(PgQuery__CreateStmt), - 13, - pg_query__create_stmt__field_descriptors, - pg_query__create_stmt__field_indices_by_name, - 1, pg_query__create_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__constraint__field_descriptors[35] = -{ - { - "contype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, contype), - &pg_query__constr_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "conname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, conname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "deferrable", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, deferrable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "initdeferred", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, initdeferred), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_enforced", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, is_enforced), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "skip_validation", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, skip_validation), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "initially_valid", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, initially_valid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_no_inherit", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, is_no_inherit), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "raw_expr", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, raw_expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cooked_expr", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, cooked_expr), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "generated_when", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, generated_when), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "generated_kind", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, generated_kind), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nulls_not_distinct", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, nulls_not_distinct), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "keys", - 14, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Constraint, n_keys), - offsetof(PgQuery__Constraint, keys), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "without_overlaps", - 15, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, without_overlaps), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "including", - 16, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Constraint, n_including), - offsetof(PgQuery__Constraint, including), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "exclusions", - 17, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Constraint, n_exclusions), - offsetof(PgQuery__Constraint, exclusions), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 18, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Constraint, n_options), - offsetof(PgQuery__Constraint, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "indexname", - 19, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, indexname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "indexspace", - 20, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, indexspace), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reset_default_tblspc", - 21, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, reset_default_tblspc), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "access_method", - 22, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, access_method), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "where_clause", - 23, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, where_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pktable", - 24, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, pktable), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fk_attrs", - 25, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Constraint, n_fk_attrs), - offsetof(PgQuery__Constraint, fk_attrs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pk_attrs", - 26, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Constraint, n_pk_attrs), - offsetof(PgQuery__Constraint, pk_attrs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fk_with_period", - 27, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, fk_with_period), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pk_with_period", - 28, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, pk_with_period), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fk_matchtype", - 29, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, fk_matchtype), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fk_upd_action", - 30, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, fk_upd_action), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fk_del_action", - 31, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, fk_del_action), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fk_del_set_cols", - 32, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Constraint, n_fk_del_set_cols), - offsetof(PgQuery__Constraint, fk_del_set_cols), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "old_conpfeqop", - 33, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__Constraint, n_old_conpfeqop), - offsetof(PgQuery__Constraint, old_conpfeqop), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "old_pktable_oid", - 34, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, old_pktable_oid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 35, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__Constraint, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__constraint__field_indices_by_name[] = { - 21, /* field[21] = access_method */ - 1, /* field[1] = conname */ - 0, /* field[0] = contype */ - 9, /* field[9] = cooked_expr */ - 2, /* field[2] = deferrable */ - 16, /* field[16] = exclusions */ - 24, /* field[24] = fk_attrs */ - 30, /* field[30] = fk_del_action */ - 31, /* field[31] = fk_del_set_cols */ - 28, /* field[28] = fk_matchtype */ - 29, /* field[29] = fk_upd_action */ - 26, /* field[26] = fk_with_period */ - 11, /* field[11] = generated_kind */ - 10, /* field[10] = generated_when */ - 15, /* field[15] = including */ - 18, /* field[18] = indexname */ - 19, /* field[19] = indexspace */ - 3, /* field[3] = initdeferred */ - 6, /* field[6] = initially_valid */ - 4, /* field[4] = is_enforced */ - 7, /* field[7] = is_no_inherit */ - 13, /* field[13] = keys */ - 34, /* field[34] = location */ - 12, /* field[12] = nulls_not_distinct */ - 32, /* field[32] = old_conpfeqop */ - 33, /* field[33] = old_pktable_oid */ - 17, /* field[17] = options */ - 25, /* field[25] = pk_attrs */ - 27, /* field[27] = pk_with_period */ - 23, /* field[23] = pktable */ - 8, /* field[8] = raw_expr */ - 20, /* field[20] = reset_default_tblspc */ - 5, /* field[5] = skip_validation */ - 22, /* field[22] = where_clause */ - 14, /* field[14] = without_overlaps */ -}; -static const ProtobufCIntRange pg_query__constraint__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 35 } -}; -const ProtobufCMessageDescriptor pg_query__constraint__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.Constraint", - "Constraint", - "PgQuery__Constraint", - "pg_query", - sizeof(PgQuery__Constraint), - 35, - pg_query__constraint__field_descriptors, - pg_query__constraint__field_indices_by_name, - 1, pg_query__constraint__number_ranges, - (ProtobufCMessageInit) pg_query__constraint__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_table_space_stmt__field_descriptors[4] = -{ - { - "tablespacename", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTableSpaceStmt, tablespacename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "owner", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTableSpaceStmt, owner), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTableSpaceStmt, location), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateTableSpaceStmt, n_options), - offsetof(PgQuery__CreateTableSpaceStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_table_space_stmt__field_indices_by_name[] = { - 2, /* field[2] = location */ - 3, /* field[3] = options */ - 1, /* field[1] = owner */ - 0, /* field[0] = tablespacename */ -}; -static const ProtobufCIntRange pg_query__create_table_space_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__create_table_space_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateTableSpaceStmt", - "CreateTableSpaceStmt", - "PgQuery__CreateTableSpaceStmt", - "pg_query", - sizeof(PgQuery__CreateTableSpaceStmt), - 4, - pg_query__create_table_space_stmt__field_descriptors, - pg_query__create_table_space_stmt__field_indices_by_name, - 1, pg_query__create_table_space_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_table_space_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__drop_table_space_stmt__field_descriptors[2] = -{ - { - "tablespacename", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropTableSpaceStmt, tablespacename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropTableSpaceStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__drop_table_space_stmt__field_indices_by_name[] = { - 1, /* field[1] = missing_ok */ - 0, /* field[0] = tablespacename */ -}; -static const ProtobufCIntRange pg_query__drop_table_space_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__drop_table_space_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DropTableSpaceStmt", - "DropTableSpaceStmt", - "PgQuery__DropTableSpaceStmt", - "pg_query", - sizeof(PgQuery__DropTableSpaceStmt), - 2, - pg_query__drop_table_space_stmt__field_descriptors, - pg_query__drop_table_space_stmt__field_indices_by_name, - 1, pg_query__drop_table_space_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__drop_table_space_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_table_space_options_stmt__field_descriptors[3] = -{ - { - "tablespacename", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableSpaceOptionsStmt, tablespacename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterTableSpaceOptionsStmt, n_options), - offsetof(PgQuery__AlterTableSpaceOptionsStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_reset", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableSpaceOptionsStmt, is_reset), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_table_space_options_stmt__field_indices_by_name[] = { - 2, /* field[2] = is_reset */ - 1, /* field[1] = options */ - 0, /* field[0] = tablespacename */ -}; -static const ProtobufCIntRange pg_query__alter_table_space_options_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__alter_table_space_options_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterTableSpaceOptionsStmt", - "AlterTableSpaceOptionsStmt", - "PgQuery__AlterTableSpaceOptionsStmt", - "pg_query", - sizeof(PgQuery__AlterTableSpaceOptionsStmt), - 3, - pg_query__alter_table_space_options_stmt__field_descriptors, - pg_query__alter_table_space_options_stmt__field_indices_by_name, - 1, pg_query__alter_table_space_options_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_table_space_options_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_table_move_all_stmt__field_descriptors[5] = -{ - { - "orig_tablespacename", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableMoveAllStmt, orig_tablespacename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "objtype", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableMoveAllStmt, objtype), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "roles", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterTableMoveAllStmt, n_roles), - offsetof(PgQuery__AlterTableMoveAllStmt, roles), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "new_tablespacename", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableMoveAllStmt, new_tablespacename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nowait", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTableMoveAllStmt, nowait), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_table_move_all_stmt__field_indices_by_name[] = { - 3, /* field[3] = new_tablespacename */ - 4, /* field[4] = nowait */ - 1, /* field[1] = objtype */ - 0, /* field[0] = orig_tablespacename */ - 2, /* field[2] = roles */ -}; -static const ProtobufCIntRange pg_query__alter_table_move_all_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__alter_table_move_all_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterTableMoveAllStmt", - "AlterTableMoveAllStmt", - "PgQuery__AlterTableMoveAllStmt", - "pg_query", - sizeof(PgQuery__AlterTableMoveAllStmt), - 5, - pg_query__alter_table_move_all_stmt__field_descriptors, - pg_query__alter_table_move_all_stmt__field_indices_by_name, - 1, pg_query__alter_table_move_all_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_table_move_all_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_extension_stmt__field_descriptors[3] = -{ - { - "extname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateExtensionStmt, extname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "if_not_exists", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateExtensionStmt, if_not_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateExtensionStmt, n_options), - offsetof(PgQuery__CreateExtensionStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_extension_stmt__field_indices_by_name[] = { - 0, /* field[0] = extname */ - 1, /* field[1] = if_not_exists */ - 2, /* field[2] = options */ -}; -static const ProtobufCIntRange pg_query__create_extension_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__create_extension_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateExtensionStmt", - "CreateExtensionStmt", - "PgQuery__CreateExtensionStmt", - "pg_query", - sizeof(PgQuery__CreateExtensionStmt), - 3, - pg_query__create_extension_stmt__field_descriptors, - pg_query__create_extension_stmt__field_indices_by_name, - 1, pg_query__create_extension_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_extension_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_extension_stmt__field_descriptors[2] = -{ - { - "extname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterExtensionStmt, extname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterExtensionStmt, n_options), - offsetof(PgQuery__AlterExtensionStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_extension_stmt__field_indices_by_name[] = { - 0, /* field[0] = extname */ - 1, /* field[1] = options */ -}; -static const ProtobufCIntRange pg_query__alter_extension_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__alter_extension_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterExtensionStmt", - "AlterExtensionStmt", - "PgQuery__AlterExtensionStmt", - "pg_query", - sizeof(PgQuery__AlterExtensionStmt), - 2, - pg_query__alter_extension_stmt__field_descriptors, - pg_query__alter_extension_stmt__field_indices_by_name, - 1, pg_query__alter_extension_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_extension_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_extension_contents_stmt__field_descriptors[4] = -{ - { - "extname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterExtensionContentsStmt, extname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "action", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterExtensionContentsStmt, action), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "objtype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterExtensionContentsStmt, objtype), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "object", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterExtensionContentsStmt, object), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_extension_contents_stmt__field_indices_by_name[] = { - 1, /* field[1] = action */ - 0, /* field[0] = extname */ - 3, /* field[3] = object */ - 2, /* field[2] = objtype */ -}; -static const ProtobufCIntRange pg_query__alter_extension_contents_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__alter_extension_contents_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterExtensionContentsStmt", - "AlterExtensionContentsStmt", - "PgQuery__AlterExtensionContentsStmt", - "pg_query", - sizeof(PgQuery__AlterExtensionContentsStmt), - 4, - pg_query__alter_extension_contents_stmt__field_descriptors, - pg_query__alter_extension_contents_stmt__field_indices_by_name, - 1, pg_query__alter_extension_contents_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_extension_contents_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_fdw_stmt__field_descriptors[3] = -{ - { - "fdwname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateFdwStmt, fdwname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "func_options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateFdwStmt, n_func_options), - offsetof(PgQuery__CreateFdwStmt, func_options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateFdwStmt, n_options), - offsetof(PgQuery__CreateFdwStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_fdw_stmt__field_indices_by_name[] = { - 0, /* field[0] = fdwname */ - 1, /* field[1] = func_options */ - 2, /* field[2] = options */ -}; -static const ProtobufCIntRange pg_query__create_fdw_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__create_fdw_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateFdwStmt", - "CreateFdwStmt", - "PgQuery__CreateFdwStmt", - "pg_query", - sizeof(PgQuery__CreateFdwStmt), - 3, - pg_query__create_fdw_stmt__field_descriptors, - pg_query__create_fdw_stmt__field_indices_by_name, - 1, pg_query__create_fdw_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_fdw_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_fdw_stmt__field_descriptors[3] = -{ - { - "fdwname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterFdwStmt, fdwname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "func_options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterFdwStmt, n_func_options), - offsetof(PgQuery__AlterFdwStmt, func_options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterFdwStmt, n_options), - offsetof(PgQuery__AlterFdwStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_fdw_stmt__field_indices_by_name[] = { - 0, /* field[0] = fdwname */ - 1, /* field[1] = func_options */ - 2, /* field[2] = options */ -}; -static const ProtobufCIntRange pg_query__alter_fdw_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__alter_fdw_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterFdwStmt", - "AlterFdwStmt", - "PgQuery__AlterFdwStmt", - "pg_query", - sizeof(PgQuery__AlterFdwStmt), - 3, - pg_query__alter_fdw_stmt__field_descriptors, - pg_query__alter_fdw_stmt__field_indices_by_name, - 1, pg_query__alter_fdw_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_fdw_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_foreign_server_stmt__field_descriptors[6] = -{ - { - "servername", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateForeignServerStmt, servername), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "servertype", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateForeignServerStmt, servertype), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "version", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateForeignServerStmt, version), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fdwname", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateForeignServerStmt, fdwname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "if_not_exists", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateForeignServerStmt, if_not_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateForeignServerStmt, n_options), - offsetof(PgQuery__CreateForeignServerStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_foreign_server_stmt__field_indices_by_name[] = { - 3, /* field[3] = fdwname */ - 4, /* field[4] = if_not_exists */ - 5, /* field[5] = options */ - 0, /* field[0] = servername */ - 1, /* field[1] = servertype */ - 2, /* field[2] = version */ -}; -static const ProtobufCIntRange pg_query__create_foreign_server_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__create_foreign_server_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateForeignServerStmt", - "CreateForeignServerStmt", - "PgQuery__CreateForeignServerStmt", - "pg_query", - sizeof(PgQuery__CreateForeignServerStmt), - 6, - pg_query__create_foreign_server_stmt__field_descriptors, - pg_query__create_foreign_server_stmt__field_indices_by_name, - 1, pg_query__create_foreign_server_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_foreign_server_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_foreign_server_stmt__field_descriptors[4] = -{ - { - "servername", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterForeignServerStmt, servername), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "version", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterForeignServerStmt, version), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterForeignServerStmt, n_options), - offsetof(PgQuery__AlterForeignServerStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "has_version", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterForeignServerStmt, has_version), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_foreign_server_stmt__field_indices_by_name[] = { - 3, /* field[3] = has_version */ - 2, /* field[2] = options */ - 0, /* field[0] = servername */ - 1, /* field[1] = version */ -}; -static const ProtobufCIntRange pg_query__alter_foreign_server_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__alter_foreign_server_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterForeignServerStmt", - "AlterForeignServerStmt", - "PgQuery__AlterForeignServerStmt", - "pg_query", - sizeof(PgQuery__AlterForeignServerStmt), - 4, - pg_query__alter_foreign_server_stmt__field_descriptors, - pg_query__alter_foreign_server_stmt__field_indices_by_name, - 1, pg_query__alter_foreign_server_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_foreign_server_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_foreign_table_stmt__field_descriptors[3] = -{ - { - "base_stmt", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateForeignTableStmt, base_stmt), - &pg_query__create_stmt__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "servername", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateForeignTableStmt, servername), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateForeignTableStmt, n_options), - offsetof(PgQuery__CreateForeignTableStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_foreign_table_stmt__field_indices_by_name[] = { - 0, /* field[0] = base_stmt */ - 2, /* field[2] = options */ - 1, /* field[1] = servername */ -}; -static const ProtobufCIntRange pg_query__create_foreign_table_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__create_foreign_table_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateForeignTableStmt", - "CreateForeignTableStmt", - "PgQuery__CreateForeignTableStmt", - "pg_query", - sizeof(PgQuery__CreateForeignTableStmt), - 3, - pg_query__create_foreign_table_stmt__field_descriptors, - pg_query__create_foreign_table_stmt__field_indices_by_name, - 1, pg_query__create_foreign_table_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_foreign_table_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_user_mapping_stmt__field_descriptors[4] = -{ - { - "user", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateUserMappingStmt, user), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "servername", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateUserMappingStmt, servername), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "if_not_exists", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateUserMappingStmt, if_not_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateUserMappingStmt, n_options), - offsetof(PgQuery__CreateUserMappingStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_user_mapping_stmt__field_indices_by_name[] = { - 2, /* field[2] = if_not_exists */ - 3, /* field[3] = options */ - 1, /* field[1] = servername */ - 0, /* field[0] = user */ -}; -static const ProtobufCIntRange pg_query__create_user_mapping_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__create_user_mapping_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateUserMappingStmt", - "CreateUserMappingStmt", - "PgQuery__CreateUserMappingStmt", - "pg_query", - sizeof(PgQuery__CreateUserMappingStmt), - 4, - pg_query__create_user_mapping_stmt__field_descriptors, - pg_query__create_user_mapping_stmt__field_indices_by_name, - 1, pg_query__create_user_mapping_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_user_mapping_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_user_mapping_stmt__field_descriptors[3] = -{ - { - "user", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterUserMappingStmt, user), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "servername", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterUserMappingStmt, servername), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterUserMappingStmt, n_options), - offsetof(PgQuery__AlterUserMappingStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_user_mapping_stmt__field_indices_by_name[] = { - 2, /* field[2] = options */ - 1, /* field[1] = servername */ - 0, /* field[0] = user */ -}; -static const ProtobufCIntRange pg_query__alter_user_mapping_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__alter_user_mapping_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterUserMappingStmt", - "AlterUserMappingStmt", - "PgQuery__AlterUserMappingStmt", - "pg_query", - sizeof(PgQuery__AlterUserMappingStmt), - 3, - pg_query__alter_user_mapping_stmt__field_descriptors, - pg_query__alter_user_mapping_stmt__field_indices_by_name, - 1, pg_query__alter_user_mapping_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_user_mapping_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__drop_user_mapping_stmt__field_descriptors[3] = -{ - { - "user", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropUserMappingStmt, user), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "servername", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropUserMappingStmt, servername), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropUserMappingStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__drop_user_mapping_stmt__field_indices_by_name[] = { - 2, /* field[2] = missing_ok */ - 1, /* field[1] = servername */ - 0, /* field[0] = user */ -}; -static const ProtobufCIntRange pg_query__drop_user_mapping_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__drop_user_mapping_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DropUserMappingStmt", - "DropUserMappingStmt", - "PgQuery__DropUserMappingStmt", - "pg_query", - sizeof(PgQuery__DropUserMappingStmt), - 3, - pg_query__drop_user_mapping_stmt__field_descriptors, - pg_query__drop_user_mapping_stmt__field_indices_by_name, - 1, pg_query__drop_user_mapping_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__drop_user_mapping_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__import_foreign_schema_stmt__field_descriptors[6] = -{ - { - "server_name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ImportForeignSchemaStmt, server_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "remote_schema", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ImportForeignSchemaStmt, remote_schema), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "local_schema", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ImportForeignSchemaStmt, local_schema), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "list_type", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__ImportForeignSchemaStmt, list_type), - &pg_query__import_foreign_schema_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table_list", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ImportForeignSchemaStmt, n_table_list), - offsetof(PgQuery__ImportForeignSchemaStmt, table_list), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ImportForeignSchemaStmt, n_options), - offsetof(PgQuery__ImportForeignSchemaStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__import_foreign_schema_stmt__field_indices_by_name[] = { - 3, /* field[3] = list_type */ - 2, /* field[2] = local_schema */ - 5, /* field[5] = options */ - 1, /* field[1] = remote_schema */ - 0, /* field[0] = server_name */ - 4, /* field[4] = table_list */ -}; -static const ProtobufCIntRange pg_query__import_foreign_schema_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__import_foreign_schema_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ImportForeignSchemaStmt", - "ImportForeignSchemaStmt", - "PgQuery__ImportForeignSchemaStmt", - "pg_query", - sizeof(PgQuery__ImportForeignSchemaStmt), - 6, - pg_query__import_foreign_schema_stmt__field_descriptors, - pg_query__import_foreign_schema_stmt__field_indices_by_name, - 1, pg_query__import_foreign_schema_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__import_foreign_schema_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_policy_stmt__field_descriptors[7] = -{ - { - "policy_name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePolicyStmt, policy_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePolicyStmt, table), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cmd_name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePolicyStmt, cmd_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "permissive", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePolicyStmt, permissive), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "roles", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreatePolicyStmt, n_roles), - offsetof(PgQuery__CreatePolicyStmt, roles), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "qual", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePolicyStmt, qual), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_check", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePolicyStmt, with_check), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_policy_stmt__field_indices_by_name[] = { - 2, /* field[2] = cmd_name */ - 3, /* field[3] = permissive */ - 0, /* field[0] = policy_name */ - 5, /* field[5] = qual */ - 4, /* field[4] = roles */ - 1, /* field[1] = table */ - 6, /* field[6] = with_check */ -}; -static const ProtobufCIntRange pg_query__create_policy_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__create_policy_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreatePolicyStmt", - "CreatePolicyStmt", - "PgQuery__CreatePolicyStmt", - "pg_query", - sizeof(PgQuery__CreatePolicyStmt), - 7, - pg_query__create_policy_stmt__field_descriptors, - pg_query__create_policy_stmt__field_indices_by_name, - 1, pg_query__create_policy_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_policy_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_policy_stmt__field_descriptors[5] = -{ - { - "policy_name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterPolicyStmt, policy_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterPolicyStmt, table), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "roles", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterPolicyStmt, n_roles), - offsetof(PgQuery__AlterPolicyStmt, roles), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "qual", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterPolicyStmt, qual), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_check", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterPolicyStmt, with_check), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_policy_stmt__field_indices_by_name[] = { - 0, /* field[0] = policy_name */ - 3, /* field[3] = qual */ - 2, /* field[2] = roles */ - 1, /* field[1] = table */ - 4, /* field[4] = with_check */ -}; -static const ProtobufCIntRange pg_query__alter_policy_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__alter_policy_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterPolicyStmt", - "AlterPolicyStmt", - "PgQuery__AlterPolicyStmt", - "pg_query", - sizeof(PgQuery__AlterPolicyStmt), - 5, - pg_query__alter_policy_stmt__field_descriptors, - pg_query__alter_policy_stmt__field_indices_by_name, - 1, pg_query__alter_policy_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_policy_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_am_stmt__field_descriptors[3] = -{ - { - "amname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateAmStmt, amname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "handler_name", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateAmStmt, n_handler_name), - offsetof(PgQuery__CreateAmStmt, handler_name), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "amtype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateAmStmt, amtype), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_am_stmt__field_indices_by_name[] = { - 0, /* field[0] = amname */ - 2, /* field[2] = amtype */ - 1, /* field[1] = handler_name */ -}; -static const ProtobufCIntRange pg_query__create_am_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__create_am_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateAmStmt", - "CreateAmStmt", - "PgQuery__CreateAmStmt", - "pg_query", - sizeof(PgQuery__CreateAmStmt), - 3, - pg_query__create_am_stmt__field_descriptors, - pg_query__create_am_stmt__field_indices_by_name, - 1, pg_query__create_am_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_am_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_trig_stmt__field_descriptors[15] = -{ - { - "replace", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, replace), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "isconstraint", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, isconstraint), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "trigname", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, trigname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relation", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcname", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateTrigStmt, n_funcname), - offsetof(PgQuery__CreateTrigStmt, funcname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateTrigStmt, n_args), - offsetof(PgQuery__CreateTrigStmt, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "row", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, row), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "timing", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, timing), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "events", - 9, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, events), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "columns", - 10, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateTrigStmt, n_columns), - offsetof(PgQuery__CreateTrigStmt, columns), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "when_clause", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, when_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "transition_rels", - 12, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateTrigStmt, n_transition_rels), - offsetof(PgQuery__CreateTrigStmt, transition_rels), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "deferrable", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, deferrable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "initdeferred", - 14, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, initdeferred), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "constrrel", - 15, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTrigStmt, constrrel), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_trig_stmt__field_indices_by_name[] = { - 5, /* field[5] = args */ - 9, /* field[9] = columns */ - 14, /* field[14] = constrrel */ - 12, /* field[12] = deferrable */ - 8, /* field[8] = events */ - 4, /* field[4] = funcname */ - 13, /* field[13] = initdeferred */ - 1, /* field[1] = isconstraint */ - 3, /* field[3] = relation */ - 0, /* field[0] = replace */ - 6, /* field[6] = row */ - 7, /* field[7] = timing */ - 11, /* field[11] = transition_rels */ - 2, /* field[2] = trigname */ - 10, /* field[10] = when_clause */ -}; -static const ProtobufCIntRange pg_query__create_trig_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 15 } -}; -const ProtobufCMessageDescriptor pg_query__create_trig_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateTrigStmt", - "CreateTrigStmt", - "PgQuery__CreateTrigStmt", - "pg_query", - sizeof(PgQuery__CreateTrigStmt), - 15, - pg_query__create_trig_stmt__field_descriptors, - pg_query__create_trig_stmt__field_indices_by_name, - 1, pg_query__create_trig_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_trig_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_event_trig_stmt__field_descriptors[4] = -{ - { - "trigname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateEventTrigStmt, trigname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "eventname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateEventTrigStmt, eventname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "whenclause", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateEventTrigStmt, n_whenclause), - offsetof(PgQuery__CreateEventTrigStmt, whenclause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcname", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateEventTrigStmt, n_funcname), - offsetof(PgQuery__CreateEventTrigStmt, funcname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_event_trig_stmt__field_indices_by_name[] = { - 1, /* field[1] = eventname */ - 3, /* field[3] = funcname */ - 0, /* field[0] = trigname */ - 2, /* field[2] = whenclause */ -}; -static const ProtobufCIntRange pg_query__create_event_trig_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__create_event_trig_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateEventTrigStmt", - "CreateEventTrigStmt", - "PgQuery__CreateEventTrigStmt", - "pg_query", - sizeof(PgQuery__CreateEventTrigStmt), - 4, - pg_query__create_event_trig_stmt__field_descriptors, - pg_query__create_event_trig_stmt__field_indices_by_name, - 1, pg_query__create_event_trig_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_event_trig_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_event_trig_stmt__field_descriptors[2] = -{ - { - "trigname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterEventTrigStmt, trigname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "tgenabled", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterEventTrigStmt, tgenabled), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_event_trig_stmt__field_indices_by_name[] = { - 1, /* field[1] = tgenabled */ - 0, /* field[0] = trigname */ -}; -static const ProtobufCIntRange pg_query__alter_event_trig_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__alter_event_trig_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterEventTrigStmt", - "AlterEventTrigStmt", - "PgQuery__AlterEventTrigStmt", - "pg_query", - sizeof(PgQuery__AlterEventTrigStmt), - 2, - pg_query__alter_event_trig_stmt__field_descriptors, - pg_query__alter_event_trig_stmt__field_indices_by_name, - 1, pg_query__alter_event_trig_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_event_trig_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_plang_stmt__field_descriptors[6] = -{ - { - "replace", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePLangStmt, replace), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "plname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePLangStmt, plname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "plhandler", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreatePLangStmt, n_plhandler), - offsetof(PgQuery__CreatePLangStmt, plhandler), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "plinline", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreatePLangStmt, n_plinline), - offsetof(PgQuery__CreatePLangStmt, plinline), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "plvalidator", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreatePLangStmt, n_plvalidator), - offsetof(PgQuery__CreatePLangStmt, plvalidator), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pltrusted", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePLangStmt, pltrusted), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_plang_stmt__field_indices_by_name[] = { - 2, /* field[2] = plhandler */ - 3, /* field[3] = plinline */ - 1, /* field[1] = plname */ - 5, /* field[5] = pltrusted */ - 4, /* field[4] = plvalidator */ - 0, /* field[0] = replace */ -}; -static const ProtobufCIntRange pg_query__create_plang_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__create_plang_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreatePLangStmt", - "CreatePLangStmt", - "PgQuery__CreatePLangStmt", - "pg_query", - sizeof(PgQuery__CreatePLangStmt), - 6, - pg_query__create_plang_stmt__field_descriptors, - pg_query__create_plang_stmt__field_indices_by_name, - 1, pg_query__create_plang_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_plang_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_role_stmt__field_descriptors[3] = -{ - { - "stmt_type", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateRoleStmt, stmt_type), - &pg_query__role_stmt_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "role", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateRoleStmt, role), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateRoleStmt, n_options), - offsetof(PgQuery__CreateRoleStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_role_stmt__field_indices_by_name[] = { - 2, /* field[2] = options */ - 1, /* field[1] = role */ - 0, /* field[0] = stmt_type */ -}; -static const ProtobufCIntRange pg_query__create_role_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__create_role_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateRoleStmt", - "CreateRoleStmt", - "PgQuery__CreateRoleStmt", - "pg_query", - sizeof(PgQuery__CreateRoleStmt), - 3, - pg_query__create_role_stmt__field_descriptors, - pg_query__create_role_stmt__field_indices_by_name, - 1, pg_query__create_role_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_role_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_role_stmt__field_descriptors[3] = -{ - { - "role", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterRoleStmt, role), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterRoleStmt, n_options), - offsetof(PgQuery__AlterRoleStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "action", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterRoleStmt, action), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_role_stmt__field_indices_by_name[] = { - 2, /* field[2] = action */ - 1, /* field[1] = options */ - 0, /* field[0] = role */ -}; -static const ProtobufCIntRange pg_query__alter_role_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__alter_role_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterRoleStmt", - "AlterRoleStmt", - "PgQuery__AlterRoleStmt", - "pg_query", - sizeof(PgQuery__AlterRoleStmt), - 3, - pg_query__alter_role_stmt__field_descriptors, - pg_query__alter_role_stmt__field_indices_by_name, - 1, pg_query__alter_role_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_role_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_role_set_stmt__field_descriptors[3] = -{ - { - "role", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterRoleSetStmt, role), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "database", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterRoleSetStmt, database), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "setstmt", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterRoleSetStmt, setstmt), - &pg_query__variable_set_stmt__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_role_set_stmt__field_indices_by_name[] = { - 1, /* field[1] = database */ - 0, /* field[0] = role */ - 2, /* field[2] = setstmt */ -}; -static const ProtobufCIntRange pg_query__alter_role_set_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__alter_role_set_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterRoleSetStmt", - "AlterRoleSetStmt", - "PgQuery__AlterRoleSetStmt", - "pg_query", - sizeof(PgQuery__AlterRoleSetStmt), - 3, - pg_query__alter_role_set_stmt__field_descriptors, - pg_query__alter_role_set_stmt__field_indices_by_name, - 1, pg_query__alter_role_set_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_role_set_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__drop_role_stmt__field_descriptors[2] = -{ - { - "roles", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__DropRoleStmt, n_roles), - offsetof(PgQuery__DropRoleStmt, roles), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropRoleStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__drop_role_stmt__field_indices_by_name[] = { - 1, /* field[1] = missing_ok */ - 0, /* field[0] = roles */ -}; -static const ProtobufCIntRange pg_query__drop_role_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__drop_role_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DropRoleStmt", - "DropRoleStmt", - "PgQuery__DropRoleStmt", - "pg_query", - sizeof(PgQuery__DropRoleStmt), - 2, - pg_query__drop_role_stmt__field_descriptors, - pg_query__drop_role_stmt__field_indices_by_name, - 1, pg_query__drop_role_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__drop_role_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_seq_stmt__field_descriptors[5] = -{ - { - "sequence", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateSeqStmt, sequence), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateSeqStmt, n_options), - offsetof(PgQuery__CreateSeqStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "owner_id", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateSeqStmt, owner_id), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "for_identity", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateSeqStmt, for_identity), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "if_not_exists", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateSeqStmt, if_not_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_seq_stmt__field_indices_by_name[] = { - 3, /* field[3] = for_identity */ - 4, /* field[4] = if_not_exists */ - 1, /* field[1] = options */ - 2, /* field[2] = owner_id */ - 0, /* field[0] = sequence */ -}; -static const ProtobufCIntRange pg_query__create_seq_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__create_seq_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateSeqStmt", - "CreateSeqStmt", - "PgQuery__CreateSeqStmt", - "pg_query", - sizeof(PgQuery__CreateSeqStmt), - 5, - pg_query__create_seq_stmt__field_descriptors, - pg_query__create_seq_stmt__field_indices_by_name, - 1, pg_query__create_seq_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_seq_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_seq_stmt__field_descriptors[4] = -{ - { - "sequence", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterSeqStmt, sequence), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterSeqStmt, n_options), - offsetof(PgQuery__AlterSeqStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "for_identity", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterSeqStmt, for_identity), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterSeqStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_seq_stmt__field_indices_by_name[] = { - 2, /* field[2] = for_identity */ - 3, /* field[3] = missing_ok */ - 1, /* field[1] = options */ - 0, /* field[0] = sequence */ -}; -static const ProtobufCIntRange pg_query__alter_seq_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__alter_seq_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterSeqStmt", - "AlterSeqStmt", - "PgQuery__AlterSeqStmt", - "pg_query", - sizeof(PgQuery__AlterSeqStmt), - 4, - pg_query__alter_seq_stmt__field_descriptors, - pg_query__alter_seq_stmt__field_indices_by_name, - 1, pg_query__alter_seq_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_seq_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__define_stmt__field_descriptors[7] = -{ - { - "kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__DefineStmt, kind), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "oldstyle", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DefineStmt, oldstyle), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "defnames", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__DefineStmt, n_defnames), - offsetof(PgQuery__DefineStmt, defnames), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "args", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__DefineStmt, n_args), - offsetof(PgQuery__DefineStmt, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "definition", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__DefineStmt, n_definition), - offsetof(PgQuery__DefineStmt, definition), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "if_not_exists", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DefineStmt, if_not_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "replace", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DefineStmt, replace), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__define_stmt__field_indices_by_name[] = { - 3, /* field[3] = args */ - 4, /* field[4] = definition */ - 2, /* field[2] = defnames */ - 5, /* field[5] = if_not_exists */ - 0, /* field[0] = kind */ - 1, /* field[1] = oldstyle */ - 6, /* field[6] = replace */ -}; -static const ProtobufCIntRange pg_query__define_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__define_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DefineStmt", - "DefineStmt", - "PgQuery__DefineStmt", - "pg_query", - sizeof(PgQuery__DefineStmt), - 7, - pg_query__define_stmt__field_descriptors, - pg_query__define_stmt__field_indices_by_name, - 1, pg_query__define_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__define_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_domain_stmt__field_descriptors[4] = -{ - { - "domainname", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateDomainStmt, n_domainname), - offsetof(PgQuery__CreateDomainStmt, domainname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateDomainStmt, type_name), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coll_clause", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateDomainStmt, coll_clause), - &pg_query__collate_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "constraints", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateDomainStmt, n_constraints), - offsetof(PgQuery__CreateDomainStmt, constraints), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_domain_stmt__field_indices_by_name[] = { - 2, /* field[2] = coll_clause */ - 3, /* field[3] = constraints */ - 0, /* field[0] = domainname */ - 1, /* field[1] = type_name */ -}; -static const ProtobufCIntRange pg_query__create_domain_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__create_domain_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateDomainStmt", - "CreateDomainStmt", - "PgQuery__CreateDomainStmt", - "pg_query", - sizeof(PgQuery__CreateDomainStmt), - 4, - pg_query__create_domain_stmt__field_descriptors, - pg_query__create_domain_stmt__field_indices_by_name, - 1, pg_query__create_domain_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_domain_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_op_class_stmt__field_descriptors[6] = -{ - { - "opclassname", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateOpClassStmt, n_opclassname), - offsetof(PgQuery__CreateOpClassStmt, opclassname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "opfamilyname", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateOpClassStmt, n_opfamilyname), - offsetof(PgQuery__CreateOpClassStmt, opfamilyname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "amname", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateOpClassStmt, amname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "datatype", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateOpClassStmt, datatype), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "items", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateOpClassStmt, n_items), - offsetof(PgQuery__CreateOpClassStmt, items), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_default", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateOpClassStmt, is_default), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_op_class_stmt__field_indices_by_name[] = { - 2, /* field[2] = amname */ - 3, /* field[3] = datatype */ - 5, /* field[5] = is_default */ - 4, /* field[4] = items */ - 0, /* field[0] = opclassname */ - 1, /* field[1] = opfamilyname */ -}; -static const ProtobufCIntRange pg_query__create_op_class_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__create_op_class_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateOpClassStmt", - "CreateOpClassStmt", - "PgQuery__CreateOpClassStmt", - "pg_query", - sizeof(PgQuery__CreateOpClassStmt), - 6, - pg_query__create_op_class_stmt__field_descriptors, - pg_query__create_op_class_stmt__field_indices_by_name, - 1, pg_query__create_op_class_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_op_class_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_op_class_item__field_descriptors[6] = -{ - { - "itemtype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateOpClassItem, itemtype), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateOpClassItem, name), - &pg_query__object_with_args__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "number", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateOpClassItem, number), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "order_family", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateOpClassItem, n_order_family), - offsetof(PgQuery__CreateOpClassItem, order_family), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "class_args", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateOpClassItem, n_class_args), - offsetof(PgQuery__CreateOpClassItem, class_args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "storedtype", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateOpClassItem, storedtype), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_op_class_item__field_indices_by_name[] = { - 4, /* field[4] = class_args */ - 0, /* field[0] = itemtype */ - 1, /* field[1] = name */ - 2, /* field[2] = number */ - 3, /* field[3] = order_family */ - 5, /* field[5] = storedtype */ -}; -static const ProtobufCIntRange pg_query__create_op_class_item__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__create_op_class_item__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateOpClassItem", - "CreateOpClassItem", - "PgQuery__CreateOpClassItem", - "pg_query", - sizeof(PgQuery__CreateOpClassItem), - 6, - pg_query__create_op_class_item__field_descriptors, - pg_query__create_op_class_item__field_indices_by_name, - 1, pg_query__create_op_class_item__number_ranges, - (ProtobufCMessageInit) pg_query__create_op_class_item__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_op_family_stmt__field_descriptors[2] = -{ - { - "opfamilyname", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateOpFamilyStmt, n_opfamilyname), - offsetof(PgQuery__CreateOpFamilyStmt, opfamilyname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "amname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateOpFamilyStmt, amname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_op_family_stmt__field_indices_by_name[] = { - 1, /* field[1] = amname */ - 0, /* field[0] = opfamilyname */ -}; -static const ProtobufCIntRange pg_query__create_op_family_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__create_op_family_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateOpFamilyStmt", - "CreateOpFamilyStmt", - "PgQuery__CreateOpFamilyStmt", - "pg_query", - sizeof(PgQuery__CreateOpFamilyStmt), - 2, - pg_query__create_op_family_stmt__field_descriptors, - pg_query__create_op_family_stmt__field_indices_by_name, - 1, pg_query__create_op_family_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_op_family_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_op_family_stmt__field_descriptors[4] = -{ - { - "opfamilyname", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterOpFamilyStmt, n_opfamilyname), - offsetof(PgQuery__AlterOpFamilyStmt, opfamilyname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "amname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterOpFamilyStmt, amname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_drop", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterOpFamilyStmt, is_drop), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "items", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterOpFamilyStmt, n_items), - offsetof(PgQuery__AlterOpFamilyStmt, items), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_op_family_stmt__field_indices_by_name[] = { - 1, /* field[1] = amname */ - 2, /* field[2] = is_drop */ - 3, /* field[3] = items */ - 0, /* field[0] = opfamilyname */ -}; -static const ProtobufCIntRange pg_query__alter_op_family_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__alter_op_family_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterOpFamilyStmt", - "AlterOpFamilyStmt", - "PgQuery__AlterOpFamilyStmt", - "pg_query", - sizeof(PgQuery__AlterOpFamilyStmt), - 4, - pg_query__alter_op_family_stmt__field_descriptors, - pg_query__alter_op_family_stmt__field_indices_by_name, - 1, pg_query__alter_op_family_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_op_family_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__drop_stmt__field_descriptors[5] = -{ - { - "objects", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__DropStmt, n_objects), - offsetof(PgQuery__DropStmt, objects), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "remove_type", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropStmt, remove_type), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "behavior", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropStmt, behavior), - &pg_query__drop_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "concurrent", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropStmt, concurrent), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__drop_stmt__field_indices_by_name[] = { - 2, /* field[2] = behavior */ - 4, /* field[4] = concurrent */ - 3, /* field[3] = missing_ok */ - 0, /* field[0] = objects */ - 1, /* field[1] = remove_type */ -}; -static const ProtobufCIntRange pg_query__drop_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__drop_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DropStmt", - "DropStmt", - "PgQuery__DropStmt", - "pg_query", - sizeof(PgQuery__DropStmt), - 5, - pg_query__drop_stmt__field_descriptors, - pg_query__drop_stmt__field_indices_by_name, - 1, pg_query__drop_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__drop_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__truncate_stmt__field_descriptors[3] = -{ - { - "relations", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TruncateStmt, n_relations), - offsetof(PgQuery__TruncateStmt, relations), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "restart_seqs", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__TruncateStmt, restart_seqs), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "behavior", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__TruncateStmt, behavior), - &pg_query__drop_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__truncate_stmt__field_indices_by_name[] = { - 2, /* field[2] = behavior */ - 0, /* field[0] = relations */ - 1, /* field[1] = restart_seqs */ -}; -static const ProtobufCIntRange pg_query__truncate_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__truncate_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.TruncateStmt", - "TruncateStmt", - "PgQuery__TruncateStmt", - "pg_query", - sizeof(PgQuery__TruncateStmt), - 3, - pg_query__truncate_stmt__field_descriptors, - pg_query__truncate_stmt__field_indices_by_name, - 1, pg_query__truncate_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__truncate_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__comment_stmt__field_descriptors[3] = -{ - { - "objtype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommentStmt, objtype), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "object", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommentStmt, object), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "comment", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CommentStmt, comment), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__comment_stmt__field_indices_by_name[] = { - 2, /* field[2] = comment */ - 1, /* field[1] = object */ - 0, /* field[0] = objtype */ -}; -static const ProtobufCIntRange pg_query__comment_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__comment_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CommentStmt", - "CommentStmt", - "PgQuery__CommentStmt", - "pg_query", - sizeof(PgQuery__CommentStmt), - 3, - pg_query__comment_stmt__field_descriptors, - pg_query__comment_stmt__field_indices_by_name, - 1, pg_query__comment_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__comment_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__sec_label_stmt__field_descriptors[4] = -{ - { - "objtype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SecLabelStmt, objtype), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "object", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__SecLabelStmt, object), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "provider", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SecLabelStmt, provider), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "label", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SecLabelStmt, label), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__sec_label_stmt__field_indices_by_name[] = { - 3, /* field[3] = label */ - 1, /* field[1] = object */ - 0, /* field[0] = objtype */ - 2, /* field[2] = provider */ -}; -static const ProtobufCIntRange pg_query__sec_label_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__sec_label_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SecLabelStmt", - "SecLabelStmt", - "PgQuery__SecLabelStmt", - "pg_query", - sizeof(PgQuery__SecLabelStmt), - 4, - pg_query__sec_label_stmt__field_descriptors, - pg_query__sec_label_stmt__field_indices_by_name, - 1, pg_query__sec_label_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__sec_label_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__declare_cursor_stmt__field_descriptors[3] = -{ - { - "portalname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__DeclareCursorStmt, portalname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__DeclareCursorStmt, options), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "query", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__DeclareCursorStmt, query), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__declare_cursor_stmt__field_indices_by_name[] = { - 1, /* field[1] = options */ - 0, /* field[0] = portalname */ - 2, /* field[2] = query */ -}; -static const ProtobufCIntRange pg_query__declare_cursor_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__declare_cursor_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DeclareCursorStmt", - "DeclareCursorStmt", - "PgQuery__DeclareCursorStmt", - "pg_query", - sizeof(PgQuery__DeclareCursorStmt), - 3, - pg_query__declare_cursor_stmt__field_descriptors, - pg_query__declare_cursor_stmt__field_indices_by_name, - 1, pg_query__declare_cursor_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__declare_cursor_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__close_portal_stmt__field_descriptors[1] = -{ - { - "portalname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ClosePortalStmt, portalname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__close_portal_stmt__field_indices_by_name[] = { - 0, /* field[0] = portalname */ -}; -static const ProtobufCIntRange pg_query__close_portal_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__close_portal_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ClosePortalStmt", - "ClosePortalStmt", - "PgQuery__ClosePortalStmt", - "pg_query", - sizeof(PgQuery__ClosePortalStmt), - 1, - pg_query__close_portal_stmt__field_descriptors, - pg_query__close_portal_stmt__field_indices_by_name, - 1, pg_query__close_portal_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__close_portal_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__fetch_stmt__field_descriptors[4] = -{ - { - "direction", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__FetchStmt, direction), - &pg_query__fetch_direction__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "how_many", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT64, - 0, /* quantifier_offset */ - offsetof(PgQuery__FetchStmt, how_many), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "portalname", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__FetchStmt, portalname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "ismove", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__FetchStmt, ismove), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__fetch_stmt__field_indices_by_name[] = { - 0, /* field[0] = direction */ - 1, /* field[1] = how_many */ - 3, /* field[3] = ismove */ - 2, /* field[2] = portalname */ -}; -static const ProtobufCIntRange pg_query__fetch_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__fetch_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.FetchStmt", - "FetchStmt", - "PgQuery__FetchStmt", - "pg_query", - sizeof(PgQuery__FetchStmt), - 4, - pg_query__fetch_stmt__field_descriptors, - pg_query__fetch_stmt__field_indices_by_name, - 1, pg_query__fetch_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__fetch_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__index_stmt__field_descriptors[25] = -{ - { - "idxname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, idxname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relation", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "access_method", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, access_method), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table_space", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, table_space), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "index_params", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__IndexStmt, n_index_params), - offsetof(PgQuery__IndexStmt, index_params), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "index_including_params", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__IndexStmt, n_index_including_params), - offsetof(PgQuery__IndexStmt, index_including_params), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 7, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__IndexStmt, n_options), - offsetof(PgQuery__IndexStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "where_clause", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, where_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "exclude_op_names", - 9, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__IndexStmt, n_exclude_op_names), - offsetof(PgQuery__IndexStmt, exclude_op_names), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "idxcomment", - 10, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, idxcomment), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "index_oid", - 11, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, index_oid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "old_number", - 12, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, old_number), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "old_create_subid", - 13, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, old_create_subid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "old_first_relfilelocator_subid", - 14, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, old_first_relfilelocator_subid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "unique", - 15, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, unique), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nulls_not_distinct", - 16, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, nulls_not_distinct), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "primary", - 17, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, primary), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "isconstraint", - 18, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, isconstraint), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "iswithoutoverlaps", - 19, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, iswithoutoverlaps), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "deferrable", - 20, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, deferrable), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "initdeferred", - 21, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, initdeferred), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "transformed", - 22, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, transformed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "concurrent", - 23, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, concurrent), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "if_not_exists", - 24, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, if_not_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "reset_default_tblspc", - 25, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__IndexStmt, reset_default_tblspc), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__index_stmt__field_indices_by_name[] = { - 2, /* field[2] = access_method */ - 22, /* field[22] = concurrent */ - 19, /* field[19] = deferrable */ - 8, /* field[8] = exclude_op_names */ - 9, /* field[9] = idxcomment */ - 0, /* field[0] = idxname */ - 23, /* field[23] = if_not_exists */ - 5, /* field[5] = index_including_params */ - 10, /* field[10] = index_oid */ - 4, /* field[4] = index_params */ - 20, /* field[20] = initdeferred */ - 17, /* field[17] = isconstraint */ - 18, /* field[18] = iswithoutoverlaps */ - 15, /* field[15] = nulls_not_distinct */ - 12, /* field[12] = old_create_subid */ - 13, /* field[13] = old_first_relfilelocator_subid */ - 11, /* field[11] = old_number */ - 6, /* field[6] = options */ - 16, /* field[16] = primary */ - 1, /* field[1] = relation */ - 24, /* field[24] = reset_default_tblspc */ - 3, /* field[3] = table_space */ - 21, /* field[21] = transformed */ - 14, /* field[14] = unique */ - 7, /* field[7] = where_clause */ -}; -static const ProtobufCIntRange pg_query__index_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 25 } -}; -const ProtobufCMessageDescriptor pg_query__index_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.IndexStmt", - "IndexStmt", - "PgQuery__IndexStmt", - "pg_query", - sizeof(PgQuery__IndexStmt), - 25, - pg_query__index_stmt__field_descriptors, - pg_query__index_stmt__field_indices_by_name, - 1, pg_query__index_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__index_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_stats_stmt__field_descriptors[7] = -{ - { - "defnames", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateStatsStmt, n_defnames), - offsetof(PgQuery__CreateStatsStmt, defnames), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stat_types", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateStatsStmt, n_stat_types), - offsetof(PgQuery__CreateStatsStmt, stat_types), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "exprs", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateStatsStmt, n_exprs), - offsetof(PgQuery__CreateStatsStmt, exprs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relations", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateStatsStmt, n_relations), - offsetof(PgQuery__CreateStatsStmt, relations), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stxcomment", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStatsStmt, stxcomment), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "transformed", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStatsStmt, transformed), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "if_not_exists", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateStatsStmt, if_not_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_stats_stmt__field_indices_by_name[] = { - 0, /* field[0] = defnames */ - 2, /* field[2] = exprs */ - 6, /* field[6] = if_not_exists */ - 3, /* field[3] = relations */ - 1, /* field[1] = stat_types */ - 4, /* field[4] = stxcomment */ - 5, /* field[5] = transformed */ -}; -static const ProtobufCIntRange pg_query__create_stats_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__create_stats_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateStatsStmt", - "CreateStatsStmt", - "PgQuery__CreateStatsStmt", - "pg_query", - sizeof(PgQuery__CreateStatsStmt), - 7, - pg_query__create_stats_stmt__field_descriptors, - pg_query__create_stats_stmt__field_indices_by_name, - 1, pg_query__create_stats_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_stats_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__stats_elem__field_descriptors[2] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__StatsElem, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "expr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__StatsElem, expr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__stats_elem__field_indices_by_name[] = { - 1, /* field[1] = expr */ - 0, /* field[0] = name */ -}; -static const ProtobufCIntRange pg_query__stats_elem__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__stats_elem__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.StatsElem", - "StatsElem", - "PgQuery__StatsElem", - "pg_query", - sizeof(PgQuery__StatsElem), - 2, - pg_query__stats_elem__field_descriptors, - pg_query__stats_elem__field_indices_by_name, - 1, pg_query__stats_elem__number_ranges, - (ProtobufCMessageInit) pg_query__stats_elem__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_stats_stmt__field_descriptors[3] = -{ - { - "defnames", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterStatsStmt, n_defnames), - offsetof(PgQuery__AlterStatsStmt, defnames), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "stxstattarget", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterStatsStmt, stxstattarget), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterStatsStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_stats_stmt__field_indices_by_name[] = { - 0, /* field[0] = defnames */ - 2, /* field[2] = missing_ok */ - 1, /* field[1] = stxstattarget */ -}; -static const ProtobufCIntRange pg_query__alter_stats_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__alter_stats_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterStatsStmt", - "AlterStatsStmt", - "PgQuery__AlterStatsStmt", - "pg_query", - sizeof(PgQuery__AlterStatsStmt), - 3, - pg_query__alter_stats_stmt__field_descriptors, - pg_query__alter_stats_stmt__field_indices_by_name, - 1, pg_query__alter_stats_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_stats_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_function_stmt__field_descriptors[7] = -{ - { - "is_procedure", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateFunctionStmt, is_procedure), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "replace", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateFunctionStmt, replace), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcname", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateFunctionStmt, n_funcname), - offsetof(PgQuery__CreateFunctionStmt, funcname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "parameters", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateFunctionStmt, n_parameters), - offsetof(PgQuery__CreateFunctionStmt, parameters), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "return_type", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateFunctionStmt, return_type), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateFunctionStmt, n_options), - offsetof(PgQuery__CreateFunctionStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "sql_body", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateFunctionStmt, sql_body), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_function_stmt__field_indices_by_name[] = { - 2, /* field[2] = funcname */ - 0, /* field[0] = is_procedure */ - 5, /* field[5] = options */ - 3, /* field[3] = parameters */ - 1, /* field[1] = replace */ - 4, /* field[4] = return_type */ - 6, /* field[6] = sql_body */ -}; -static const ProtobufCIntRange pg_query__create_function_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__create_function_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateFunctionStmt", - "CreateFunctionStmt", - "PgQuery__CreateFunctionStmt", - "pg_query", - sizeof(PgQuery__CreateFunctionStmt), - 7, - pg_query__create_function_stmt__field_descriptors, - pg_query__create_function_stmt__field_indices_by_name, - 1, pg_query__create_function_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_function_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__function_parameter__field_descriptors[5] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__FunctionParameter, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "arg_type", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__FunctionParameter, arg_type), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "mode", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__FunctionParameter, mode), - &pg_query__function_parameter_mode__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "defexpr", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__FunctionParameter, defexpr), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__FunctionParameter, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__function_parameter__field_indices_by_name[] = { - 1, /* field[1] = arg_type */ - 3, /* field[3] = defexpr */ - 4, /* field[4] = location */ - 2, /* field[2] = mode */ - 0, /* field[0] = name */ -}; -static const ProtobufCIntRange pg_query__function_parameter__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__function_parameter__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.FunctionParameter", - "FunctionParameter", - "PgQuery__FunctionParameter", - "pg_query", - sizeof(PgQuery__FunctionParameter), - 5, - pg_query__function_parameter__field_descriptors, - pg_query__function_parameter__field_indices_by_name, - 1, pg_query__function_parameter__number_ranges, - (ProtobufCMessageInit) pg_query__function_parameter__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_function_stmt__field_descriptors[3] = -{ - { - "objtype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterFunctionStmt, objtype), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "func", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterFunctionStmt, func), - &pg_query__object_with_args__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "actions", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterFunctionStmt, n_actions), - offsetof(PgQuery__AlterFunctionStmt, actions), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_function_stmt__field_indices_by_name[] = { - 2, /* field[2] = actions */ - 1, /* field[1] = func */ - 0, /* field[0] = objtype */ -}; -static const ProtobufCIntRange pg_query__alter_function_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__alter_function_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterFunctionStmt", - "AlterFunctionStmt", - "PgQuery__AlterFunctionStmt", - "pg_query", - sizeof(PgQuery__AlterFunctionStmt), - 3, - pg_query__alter_function_stmt__field_descriptors, - pg_query__alter_function_stmt__field_indices_by_name, - 1, pg_query__alter_function_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_function_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__do_stmt__field_descriptors[1] = -{ - { - "args", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__DoStmt, n_args), - offsetof(PgQuery__DoStmt, args), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__do_stmt__field_indices_by_name[] = { - 0, /* field[0] = args */ -}; -static const ProtobufCIntRange pg_query__do_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__do_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DoStmt", - "DoStmt", - "PgQuery__DoStmt", - "pg_query", - sizeof(PgQuery__DoStmt), - 1, - pg_query__do_stmt__field_descriptors, - pg_query__do_stmt__field_indices_by_name, - 1, pg_query__do_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__do_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__inline_code_block__field_descriptors[4] = -{ - { - "source_text", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__InlineCodeBlock, source_text), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "lang_oid", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__InlineCodeBlock, lang_oid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "lang_is_trusted", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__InlineCodeBlock, lang_is_trusted), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "atomic", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__InlineCodeBlock, atomic), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__inline_code_block__field_indices_by_name[] = { - 3, /* field[3] = atomic */ - 2, /* field[2] = lang_is_trusted */ - 1, /* field[1] = lang_oid */ - 0, /* field[0] = source_text */ -}; -static const ProtobufCIntRange pg_query__inline_code_block__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__inline_code_block__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.InlineCodeBlock", - "InlineCodeBlock", - "PgQuery__InlineCodeBlock", - "pg_query", - sizeof(PgQuery__InlineCodeBlock), - 4, - pg_query__inline_code_block__field_descriptors, - pg_query__inline_code_block__field_indices_by_name, - 1, pg_query__inline_code_block__number_ranges, - (ProtobufCMessageInit) pg_query__inline_code_block__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__call_stmt__field_descriptors[3] = -{ - { - "funccall", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CallStmt, funccall), - &pg_query__func_call__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "funcexpr", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CallStmt, funcexpr), - &pg_query__func_expr__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "outargs", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CallStmt, n_outargs), - offsetof(PgQuery__CallStmt, outargs), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__call_stmt__field_indices_by_name[] = { - 0, /* field[0] = funccall */ - 1, /* field[1] = funcexpr */ - 2, /* field[2] = outargs */ -}; -static const ProtobufCIntRange pg_query__call_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__call_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CallStmt", - "CallStmt", - "PgQuery__CallStmt", - "pg_query", - sizeof(PgQuery__CallStmt), - 3, - pg_query__call_stmt__field_descriptors, - pg_query__call_stmt__field_indices_by_name, - 1, pg_query__call_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__call_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__call_context__field_descriptors[1] = -{ - { - "atomic", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CallContext, atomic), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__call_context__field_indices_by_name[] = { - 0, /* field[0] = atomic */ -}; -static const ProtobufCIntRange pg_query__call_context__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__call_context__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CallContext", - "CallContext", - "PgQuery__CallContext", - "pg_query", - sizeof(PgQuery__CallContext), - 1, - pg_query__call_context__field_descriptors, - pg_query__call_context__field_indices_by_name, - 1, pg_query__call_context__number_ranges, - (ProtobufCMessageInit) pg_query__call_context__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__rename_stmt__field_descriptors[8] = -{ - { - "rename_type", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RenameStmt, rename_type), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relation_type", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RenameStmt, relation_type), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relation", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RenameStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "object", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RenameStmt, object), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "subname", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RenameStmt, subname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "newname", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RenameStmt, newname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "behavior", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RenameStmt, behavior), - &pg_query__drop_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 8, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RenameStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__rename_stmt__field_indices_by_name[] = { - 6, /* field[6] = behavior */ - 7, /* field[7] = missing_ok */ - 5, /* field[5] = newname */ - 3, /* field[3] = object */ - 2, /* field[2] = relation */ - 1, /* field[1] = relation_type */ - 0, /* field[0] = rename_type */ - 4, /* field[4] = subname */ -}; -static const ProtobufCIntRange pg_query__rename_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 8 } -}; -const ProtobufCMessageDescriptor pg_query__rename_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RenameStmt", - "RenameStmt", - "PgQuery__RenameStmt", - "pg_query", - sizeof(PgQuery__RenameStmt), - 8, - pg_query__rename_stmt__field_descriptors, - pg_query__rename_stmt__field_indices_by_name, - 1, pg_query__rename_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__rename_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_object_depends_stmt__field_descriptors[5] = -{ - { - "object_type", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterObjectDependsStmt, object_type), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relation", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterObjectDependsStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "object", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterObjectDependsStmt, object), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "extname", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterObjectDependsStmt, extname), - &pg_query__string__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "remove", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterObjectDependsStmt, remove), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_object_depends_stmt__field_indices_by_name[] = { - 3, /* field[3] = extname */ - 2, /* field[2] = object */ - 0, /* field[0] = object_type */ - 1, /* field[1] = relation */ - 4, /* field[4] = remove */ -}; -static const ProtobufCIntRange pg_query__alter_object_depends_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__alter_object_depends_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterObjectDependsStmt", - "AlterObjectDependsStmt", - "PgQuery__AlterObjectDependsStmt", - "pg_query", - sizeof(PgQuery__AlterObjectDependsStmt), - 5, - pg_query__alter_object_depends_stmt__field_descriptors, - pg_query__alter_object_depends_stmt__field_indices_by_name, - 1, pg_query__alter_object_depends_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_object_depends_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_object_schema_stmt__field_descriptors[5] = -{ - { - "object_type", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterObjectSchemaStmt, object_type), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relation", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterObjectSchemaStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "object", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterObjectSchemaStmt, object), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "newschema", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterObjectSchemaStmt, newschema), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterObjectSchemaStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_object_schema_stmt__field_indices_by_name[] = { - 4, /* field[4] = missing_ok */ - 3, /* field[3] = newschema */ - 2, /* field[2] = object */ - 0, /* field[0] = object_type */ - 1, /* field[1] = relation */ -}; -static const ProtobufCIntRange pg_query__alter_object_schema_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__alter_object_schema_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterObjectSchemaStmt", - "AlterObjectSchemaStmt", - "PgQuery__AlterObjectSchemaStmt", - "pg_query", - sizeof(PgQuery__AlterObjectSchemaStmt), - 5, - pg_query__alter_object_schema_stmt__field_descriptors, - pg_query__alter_object_schema_stmt__field_indices_by_name, - 1, pg_query__alter_object_schema_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_object_schema_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_owner_stmt__field_descriptors[4] = -{ - { - "object_type", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterOwnerStmt, object_type), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relation", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterOwnerStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "object", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterOwnerStmt, object), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "newowner", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterOwnerStmt, newowner), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_owner_stmt__field_indices_by_name[] = { - 3, /* field[3] = newowner */ - 2, /* field[2] = object */ - 0, /* field[0] = object_type */ - 1, /* field[1] = relation */ -}; -static const ProtobufCIntRange pg_query__alter_owner_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__alter_owner_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterOwnerStmt", - "AlterOwnerStmt", - "PgQuery__AlterOwnerStmt", - "pg_query", - sizeof(PgQuery__AlterOwnerStmt), - 4, - pg_query__alter_owner_stmt__field_descriptors, - pg_query__alter_owner_stmt__field_indices_by_name, - 1, pg_query__alter_owner_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_owner_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_operator_stmt__field_descriptors[2] = -{ - { - "opername", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterOperatorStmt, opername), - &pg_query__object_with_args__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterOperatorStmt, n_options), - offsetof(PgQuery__AlterOperatorStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_operator_stmt__field_indices_by_name[] = { - 0, /* field[0] = opername */ - 1, /* field[1] = options */ -}; -static const ProtobufCIntRange pg_query__alter_operator_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__alter_operator_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterOperatorStmt", - "AlterOperatorStmt", - "PgQuery__AlterOperatorStmt", - "pg_query", - sizeof(PgQuery__AlterOperatorStmt), - 2, - pg_query__alter_operator_stmt__field_descriptors, - pg_query__alter_operator_stmt__field_indices_by_name, - 1, pg_query__alter_operator_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_operator_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_type_stmt__field_descriptors[2] = -{ - { - "type_name", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterTypeStmt, n_type_name), - offsetof(PgQuery__AlterTypeStmt, type_name), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterTypeStmt, n_options), - offsetof(PgQuery__AlterTypeStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_type_stmt__field_indices_by_name[] = { - 1, /* field[1] = options */ - 0, /* field[0] = type_name */ -}; -static const ProtobufCIntRange pg_query__alter_type_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__alter_type_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterTypeStmt", - "AlterTypeStmt", - "PgQuery__AlterTypeStmt", - "pg_query", - sizeof(PgQuery__AlterTypeStmt), - 2, - pg_query__alter_type_stmt__field_descriptors, - pg_query__alter_type_stmt__field_indices_by_name, - 1, pg_query__alter_type_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_type_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__rule_stmt__field_descriptors[7] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RuleStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rulename", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__RuleStmt, rulename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "where_clause", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RuleStmt, where_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "event", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__RuleStmt, event), - &pg_query__cmd_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "instead", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RuleStmt, instead), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "actions", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__RuleStmt, n_actions), - offsetof(PgQuery__RuleStmt, actions), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "replace", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RuleStmt, replace), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__rule_stmt__field_indices_by_name[] = { - 5, /* field[5] = actions */ - 3, /* field[3] = event */ - 4, /* field[4] = instead */ - 0, /* field[0] = relation */ - 6, /* field[6] = replace */ - 1, /* field[1] = rulename */ - 2, /* field[2] = where_clause */ -}; -static const ProtobufCIntRange pg_query__rule_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__rule_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RuleStmt", - "RuleStmt", - "PgQuery__RuleStmt", - "pg_query", - sizeof(PgQuery__RuleStmt), - 7, - pg_query__rule_stmt__field_descriptors, - pg_query__rule_stmt__field_indices_by_name, - 1, pg_query__rule_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__rule_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__notify_stmt__field_descriptors[2] = -{ - { - "conditionname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__NotifyStmt, conditionname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "payload", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__NotifyStmt, payload), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__notify_stmt__field_indices_by_name[] = { - 0, /* field[0] = conditionname */ - 1, /* field[1] = payload */ -}; -static const ProtobufCIntRange pg_query__notify_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__notify_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.NotifyStmt", - "NotifyStmt", - "PgQuery__NotifyStmt", - "pg_query", - sizeof(PgQuery__NotifyStmt), - 2, - pg_query__notify_stmt__field_descriptors, - pg_query__notify_stmt__field_indices_by_name, - 1, pg_query__notify_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__notify_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__listen_stmt__field_descriptors[1] = -{ - { - "conditionname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ListenStmt, conditionname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__listen_stmt__field_indices_by_name[] = { - 0, /* field[0] = conditionname */ -}; -static const ProtobufCIntRange pg_query__listen_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__listen_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ListenStmt", - "ListenStmt", - "PgQuery__ListenStmt", - "pg_query", - sizeof(PgQuery__ListenStmt), - 1, - pg_query__listen_stmt__field_descriptors, - pg_query__listen_stmt__field_indices_by_name, - 1, pg_query__listen_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__listen_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__unlisten_stmt__field_descriptors[1] = -{ - { - "conditionname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__UnlistenStmt, conditionname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__unlisten_stmt__field_indices_by_name[] = { - 0, /* field[0] = conditionname */ -}; -static const ProtobufCIntRange pg_query__unlisten_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__unlisten_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.UnlistenStmt", - "UnlistenStmt", - "PgQuery__UnlistenStmt", - "pg_query", - sizeof(PgQuery__UnlistenStmt), - 1, - pg_query__unlisten_stmt__field_descriptors, - pg_query__unlisten_stmt__field_indices_by_name, - 1, pg_query__unlisten_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__unlisten_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__transaction_stmt__field_descriptors[6] = -{ - { - "kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__TransactionStmt, kind), - &pg_query__transaction_stmt_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__TransactionStmt, n_options), - offsetof(PgQuery__TransactionStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "savepoint_name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__TransactionStmt, savepoint_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "gid", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__TransactionStmt, gid), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "chain", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__TransactionStmt, chain), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__TransactionStmt, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__transaction_stmt__field_indices_by_name[] = { - 4, /* field[4] = chain */ - 3, /* field[3] = gid */ - 0, /* field[0] = kind */ - 5, /* field[5] = location */ - 1, /* field[1] = options */ - 2, /* field[2] = savepoint_name */ -}; -static const ProtobufCIntRange pg_query__transaction_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__transaction_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.TransactionStmt", - "TransactionStmt", - "PgQuery__TransactionStmt", - "pg_query", - sizeof(PgQuery__TransactionStmt), - 6, - pg_query__transaction_stmt__field_descriptors, - pg_query__transaction_stmt__field_indices_by_name, - 1, pg_query__transaction_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__transaction_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__composite_type_stmt__field_descriptors[2] = -{ - { - "typevar", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CompositeTypeStmt, typevar), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "coldeflist", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CompositeTypeStmt, n_coldeflist), - offsetof(PgQuery__CompositeTypeStmt, coldeflist), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__composite_type_stmt__field_indices_by_name[] = { - 1, /* field[1] = coldeflist */ - 0, /* field[0] = typevar */ -}; -static const ProtobufCIntRange pg_query__composite_type_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__composite_type_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CompositeTypeStmt", - "CompositeTypeStmt", - "PgQuery__CompositeTypeStmt", - "pg_query", - sizeof(PgQuery__CompositeTypeStmt), - 2, - pg_query__composite_type_stmt__field_descriptors, - pg_query__composite_type_stmt__field_indices_by_name, - 1, pg_query__composite_type_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__composite_type_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_enum_stmt__field_descriptors[2] = -{ - { - "type_name", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateEnumStmt, n_type_name), - offsetof(PgQuery__CreateEnumStmt, type_name), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "vals", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateEnumStmt, n_vals), - offsetof(PgQuery__CreateEnumStmt, vals), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_enum_stmt__field_indices_by_name[] = { - 0, /* field[0] = type_name */ - 1, /* field[1] = vals */ -}; -static const ProtobufCIntRange pg_query__create_enum_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__create_enum_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateEnumStmt", - "CreateEnumStmt", - "PgQuery__CreateEnumStmt", - "pg_query", - sizeof(PgQuery__CreateEnumStmt), - 2, - pg_query__create_enum_stmt__field_descriptors, - pg_query__create_enum_stmt__field_indices_by_name, - 1, pg_query__create_enum_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_enum_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_range_stmt__field_descriptors[2] = -{ - { - "type_name", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateRangeStmt, n_type_name), - offsetof(PgQuery__CreateRangeStmt, type_name), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "params", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateRangeStmt, n_params), - offsetof(PgQuery__CreateRangeStmt, params), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_range_stmt__field_indices_by_name[] = { - 1, /* field[1] = params */ - 0, /* field[0] = type_name */ -}; -static const ProtobufCIntRange pg_query__create_range_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__create_range_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateRangeStmt", - "CreateRangeStmt", - "PgQuery__CreateRangeStmt", - "pg_query", - sizeof(PgQuery__CreateRangeStmt), - 2, - pg_query__create_range_stmt__field_descriptors, - pg_query__create_range_stmt__field_indices_by_name, - 1, pg_query__create_range_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_range_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_enum_stmt__field_descriptors[6] = -{ - { - "type_name", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterEnumStmt, n_type_name), - offsetof(PgQuery__AlterEnumStmt, type_name), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "old_val", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterEnumStmt, old_val), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "new_val", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterEnumStmt, new_val), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "new_val_neighbor", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterEnumStmt, new_val_neighbor), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "new_val_is_after", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterEnumStmt, new_val_is_after), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "skip_if_new_val_exists", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterEnumStmt, skip_if_new_val_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_enum_stmt__field_indices_by_name[] = { - 2, /* field[2] = new_val */ - 4, /* field[4] = new_val_is_after */ - 3, /* field[3] = new_val_neighbor */ - 1, /* field[1] = old_val */ - 5, /* field[5] = skip_if_new_val_exists */ - 0, /* field[0] = type_name */ -}; -static const ProtobufCIntRange pg_query__alter_enum_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__alter_enum_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterEnumStmt", - "AlterEnumStmt", - "PgQuery__AlterEnumStmt", - "pg_query", - sizeof(PgQuery__AlterEnumStmt), - 6, - pg_query__alter_enum_stmt__field_descriptors, - pg_query__alter_enum_stmt__field_indices_by_name, - 1, pg_query__alter_enum_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_enum_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__view_stmt__field_descriptors[6] = -{ - { - "view", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ViewStmt, view), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aliases", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ViewStmt, n_aliases), - offsetof(PgQuery__ViewStmt, aliases), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "query", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ViewStmt, query), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "replace", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ViewStmt, replace), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ViewStmt, n_options), - offsetof(PgQuery__ViewStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "with_check_option", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__ViewStmt, with_check_option), - &pg_query__view_check_option__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__view_stmt__field_indices_by_name[] = { - 1, /* field[1] = aliases */ - 4, /* field[4] = options */ - 2, /* field[2] = query */ - 3, /* field[3] = replace */ - 0, /* field[0] = view */ - 5, /* field[5] = with_check_option */ -}; -static const ProtobufCIntRange pg_query__view_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 6 } -}; -const ProtobufCMessageDescriptor pg_query__view_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ViewStmt", - "ViewStmt", - "PgQuery__ViewStmt", - "pg_query", - sizeof(PgQuery__ViewStmt), - 6, - pg_query__view_stmt__field_descriptors, - pg_query__view_stmt__field_indices_by_name, - 1, pg_query__view_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__view_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__load_stmt__field_descriptors[1] = -{ - { - "filename", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__LoadStmt, filename), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__load_stmt__field_indices_by_name[] = { - 0, /* field[0] = filename */ -}; -static const ProtobufCIntRange pg_query__load_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__load_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.LoadStmt", - "LoadStmt", - "PgQuery__LoadStmt", - "pg_query", - sizeof(PgQuery__LoadStmt), - 1, - pg_query__load_stmt__field_descriptors, - pg_query__load_stmt__field_indices_by_name, - 1, pg_query__load_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__load_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__createdb_stmt__field_descriptors[2] = -{ - { - "dbname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatedbStmt, dbname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreatedbStmt, n_options), - offsetof(PgQuery__CreatedbStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__createdb_stmt__field_indices_by_name[] = { - 0, /* field[0] = dbname */ - 1, /* field[1] = options */ -}; -static const ProtobufCIntRange pg_query__createdb_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__createdb_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreatedbStmt", - "CreatedbStmt", - "PgQuery__CreatedbStmt", - "pg_query", - sizeof(PgQuery__CreatedbStmt), - 2, - pg_query__createdb_stmt__field_descriptors, - pg_query__createdb_stmt__field_indices_by_name, - 1, pg_query__createdb_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__createdb_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_database_stmt__field_descriptors[2] = -{ - { - "dbname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterDatabaseStmt, dbname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterDatabaseStmt, n_options), - offsetof(PgQuery__AlterDatabaseStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_database_stmt__field_indices_by_name[] = { - 0, /* field[0] = dbname */ - 1, /* field[1] = options */ -}; -static const ProtobufCIntRange pg_query__alter_database_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__alter_database_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterDatabaseStmt", - "AlterDatabaseStmt", - "PgQuery__AlterDatabaseStmt", - "pg_query", - sizeof(PgQuery__AlterDatabaseStmt), - 2, - pg_query__alter_database_stmt__field_descriptors, - pg_query__alter_database_stmt__field_indices_by_name, - 1, pg_query__alter_database_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_database_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_database_refresh_coll_stmt__field_descriptors[1] = -{ - { - "dbname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterDatabaseRefreshCollStmt, dbname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_database_refresh_coll_stmt__field_indices_by_name[] = { - 0, /* field[0] = dbname */ -}; -static const ProtobufCIntRange pg_query__alter_database_refresh_coll_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__alter_database_refresh_coll_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterDatabaseRefreshCollStmt", - "AlterDatabaseRefreshCollStmt", - "PgQuery__AlterDatabaseRefreshCollStmt", - "pg_query", - sizeof(PgQuery__AlterDatabaseRefreshCollStmt), - 1, - pg_query__alter_database_refresh_coll_stmt__field_descriptors, - pg_query__alter_database_refresh_coll_stmt__field_indices_by_name, - 1, pg_query__alter_database_refresh_coll_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_database_refresh_coll_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_database_set_stmt__field_descriptors[2] = -{ - { - "dbname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterDatabaseSetStmt, dbname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "setstmt", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterDatabaseSetStmt, setstmt), - &pg_query__variable_set_stmt__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_database_set_stmt__field_indices_by_name[] = { - 0, /* field[0] = dbname */ - 1, /* field[1] = setstmt */ -}; -static const ProtobufCIntRange pg_query__alter_database_set_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__alter_database_set_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterDatabaseSetStmt", - "AlterDatabaseSetStmt", - "PgQuery__AlterDatabaseSetStmt", - "pg_query", - sizeof(PgQuery__AlterDatabaseSetStmt), - 2, - pg_query__alter_database_set_stmt__field_descriptors, - pg_query__alter_database_set_stmt__field_indices_by_name, - 1, pg_query__alter_database_set_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_database_set_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__dropdb_stmt__field_descriptors[3] = -{ - { - "dbname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropdbStmt, dbname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropdbStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__DropdbStmt, n_options), - offsetof(PgQuery__DropdbStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__dropdb_stmt__field_indices_by_name[] = { - 0, /* field[0] = dbname */ - 1, /* field[1] = missing_ok */ - 2, /* field[2] = options */ -}; -static const ProtobufCIntRange pg_query__dropdb_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__dropdb_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DropdbStmt", - "DropdbStmt", - "PgQuery__DropdbStmt", - "pg_query", - sizeof(PgQuery__DropdbStmt), - 3, - pg_query__dropdb_stmt__field_descriptors, - pg_query__dropdb_stmt__field_indices_by_name, - 1, pg_query__dropdb_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__dropdb_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_system_stmt__field_descriptors[1] = -{ - { - "setstmt", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterSystemStmt, setstmt), - &pg_query__variable_set_stmt__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_system_stmt__field_indices_by_name[] = { - 0, /* field[0] = setstmt */ -}; -static const ProtobufCIntRange pg_query__alter_system_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__alter_system_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterSystemStmt", - "AlterSystemStmt", - "PgQuery__AlterSystemStmt", - "pg_query", - sizeof(PgQuery__AlterSystemStmt), - 1, - pg_query__alter_system_stmt__field_descriptors, - pg_query__alter_system_stmt__field_indices_by_name, - 1, pg_query__alter_system_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_system_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__cluster_stmt__field_descriptors[3] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ClusterStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "indexname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ClusterStmt, indexname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "params", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ClusterStmt, n_params), - offsetof(PgQuery__ClusterStmt, params), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__cluster_stmt__field_indices_by_name[] = { - 1, /* field[1] = indexname */ - 2, /* field[2] = params */ - 0, /* field[0] = relation */ -}; -static const ProtobufCIntRange pg_query__cluster_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__cluster_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ClusterStmt", - "ClusterStmt", - "PgQuery__ClusterStmt", - "pg_query", - sizeof(PgQuery__ClusterStmt), - 3, - pg_query__cluster_stmt__field_descriptors, - pg_query__cluster_stmt__field_indices_by_name, - 1, pg_query__cluster_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__cluster_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__vacuum_stmt__field_descriptors[3] = -{ - { - "options", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__VacuumStmt, n_options), - offsetof(PgQuery__VacuumStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "rels", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__VacuumStmt, n_rels), - offsetof(PgQuery__VacuumStmt, rels), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_vacuumcmd", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__VacuumStmt, is_vacuumcmd), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__vacuum_stmt__field_indices_by_name[] = { - 2, /* field[2] = is_vacuumcmd */ - 0, /* field[0] = options */ - 1, /* field[1] = rels */ -}; -static const ProtobufCIntRange pg_query__vacuum_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__vacuum_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.VacuumStmt", - "VacuumStmt", - "PgQuery__VacuumStmt", - "pg_query", - sizeof(PgQuery__VacuumStmt), - 3, - pg_query__vacuum_stmt__field_descriptors, - pg_query__vacuum_stmt__field_indices_by_name, - 1, pg_query__vacuum_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__vacuum_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__vacuum_relation__field_descriptors[3] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__VacuumRelation, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "oid", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_UINT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__VacuumRelation, oid), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "va_cols", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__VacuumRelation, n_va_cols), - offsetof(PgQuery__VacuumRelation, va_cols), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__vacuum_relation__field_indices_by_name[] = { - 1, /* field[1] = oid */ - 0, /* field[0] = relation */ - 2, /* field[2] = va_cols */ -}; -static const ProtobufCIntRange pg_query__vacuum_relation__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__vacuum_relation__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.VacuumRelation", - "VacuumRelation", - "PgQuery__VacuumRelation", - "pg_query", - sizeof(PgQuery__VacuumRelation), - 3, - pg_query__vacuum_relation__field_descriptors, - pg_query__vacuum_relation__field_indices_by_name, - 1, pg_query__vacuum_relation__number_ranges, - (ProtobufCMessageInit) pg_query__vacuum_relation__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__explain_stmt__field_descriptors[2] = -{ - { - "query", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ExplainStmt, query), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ExplainStmt, n_options), - offsetof(PgQuery__ExplainStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__explain_stmt__field_indices_by_name[] = { - 1, /* field[1] = options */ - 0, /* field[0] = query */ -}; -static const ProtobufCIntRange pg_query__explain_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__explain_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ExplainStmt", - "ExplainStmt", - "PgQuery__ExplainStmt", - "pg_query", - sizeof(PgQuery__ExplainStmt), - 2, - pg_query__explain_stmt__field_descriptors, - pg_query__explain_stmt__field_indices_by_name, - 1, pg_query__explain_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__explain_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_table_as_stmt__field_descriptors[5] = -{ - { - "query", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTableAsStmt, query), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "into", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTableAsStmt, into), - &pg_query__into_clause__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "objtype", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTableAsStmt, objtype), - &pg_query__object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "is_select_into", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTableAsStmt, is_select_into), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "if_not_exists", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTableAsStmt, if_not_exists), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_table_as_stmt__field_indices_by_name[] = { - 4, /* field[4] = if_not_exists */ - 1, /* field[1] = into */ - 3, /* field[3] = is_select_into */ - 2, /* field[2] = objtype */ - 0, /* field[0] = query */ -}; -static const ProtobufCIntRange pg_query__create_table_as_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__create_table_as_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateTableAsStmt", - "CreateTableAsStmt", - "PgQuery__CreateTableAsStmt", - "pg_query", - sizeof(PgQuery__CreateTableAsStmt), - 5, - pg_query__create_table_as_stmt__field_descriptors, - pg_query__create_table_as_stmt__field_indices_by_name, - 1, pg_query__create_table_as_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_table_as_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__refresh_mat_view_stmt__field_descriptors[3] = -{ - { - "concurrent", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RefreshMatViewStmt, concurrent), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "skip_data", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__RefreshMatViewStmt, skip_data), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relation", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__RefreshMatViewStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__refresh_mat_view_stmt__field_indices_by_name[] = { - 0, /* field[0] = concurrent */ - 2, /* field[2] = relation */ - 1, /* field[1] = skip_data */ -}; -static const ProtobufCIntRange pg_query__refresh_mat_view_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__refresh_mat_view_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.RefreshMatViewStmt", - "RefreshMatViewStmt", - "PgQuery__RefreshMatViewStmt", - "pg_query", - sizeof(PgQuery__RefreshMatViewStmt), - 3, - pg_query__refresh_mat_view_stmt__field_descriptors, - pg_query__refresh_mat_view_stmt__field_indices_by_name, - 1, pg_query__refresh_mat_view_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__refresh_mat_view_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -#define pg_query__check_point_stmt__field_descriptors NULL -#define pg_query__check_point_stmt__field_indices_by_name NULL -#define pg_query__check_point_stmt__number_ranges NULL -const ProtobufCMessageDescriptor pg_query__check_point_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CheckPointStmt", - "CheckPointStmt", - "PgQuery__CheckPointStmt", - "pg_query", - sizeof(PgQuery__CheckPointStmt), - 0, - pg_query__check_point_stmt__field_descriptors, - pg_query__check_point_stmt__field_indices_by_name, - 0, pg_query__check_point_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__check_point_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__discard_stmt__field_descriptors[1] = -{ - { - "target", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__DiscardStmt, target), - &pg_query__discard_mode__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__discard_stmt__field_indices_by_name[] = { - 0, /* field[0] = target */ -}; -static const ProtobufCIntRange pg_query__discard_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 1 } -}; -const ProtobufCMessageDescriptor pg_query__discard_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DiscardStmt", - "DiscardStmt", - "PgQuery__DiscardStmt", - "pg_query", - sizeof(PgQuery__DiscardStmt), - 1, - pg_query__discard_stmt__field_descriptors, - pg_query__discard_stmt__field_indices_by_name, - 1, pg_query__discard_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__discard_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__lock_stmt__field_descriptors[3] = -{ - { - "relations", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__LockStmt, n_relations), - offsetof(PgQuery__LockStmt, relations), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "mode", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__LockStmt, mode), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "nowait", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__LockStmt, nowait), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__lock_stmt__field_indices_by_name[] = { - 1, /* field[1] = mode */ - 2, /* field[2] = nowait */ - 0, /* field[0] = relations */ -}; -static const ProtobufCIntRange pg_query__lock_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__lock_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.LockStmt", - "LockStmt", - "PgQuery__LockStmt", - "pg_query", - sizeof(PgQuery__LockStmt), - 3, - pg_query__lock_stmt__field_descriptors, - pg_query__lock_stmt__field_indices_by_name, - 1, pg_query__lock_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__lock_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__constraints_set_stmt__field_descriptors[2] = -{ - { - "constraints", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ConstraintsSetStmt, n_constraints), - offsetof(PgQuery__ConstraintsSetStmt, constraints), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "deferred", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__ConstraintsSetStmt, deferred), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__constraints_set_stmt__field_indices_by_name[] = { - 0, /* field[0] = constraints */ - 1, /* field[1] = deferred */ -}; -static const ProtobufCIntRange pg_query__constraints_set_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__constraints_set_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ConstraintsSetStmt", - "ConstraintsSetStmt", - "PgQuery__ConstraintsSetStmt", - "pg_query", - sizeof(PgQuery__ConstraintsSetStmt), - 2, - pg_query__constraints_set_stmt__field_descriptors, - pg_query__constraints_set_stmt__field_indices_by_name, - 1, pg_query__constraints_set_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__constraints_set_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__reindex_stmt__field_descriptors[4] = -{ - { - "kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReindexStmt, kind), - &pg_query__reindex_object_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "relation", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReindexStmt, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReindexStmt, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "params", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ReindexStmt, n_params), - offsetof(PgQuery__ReindexStmt, params), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__reindex_stmt__field_indices_by_name[] = { - 0, /* field[0] = kind */ - 2, /* field[2] = name */ - 3, /* field[3] = params */ - 1, /* field[1] = relation */ -}; -static const ProtobufCIntRange pg_query__reindex_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__reindex_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ReindexStmt", - "ReindexStmt", - "PgQuery__ReindexStmt", - "pg_query", - sizeof(PgQuery__ReindexStmt), - 4, - pg_query__reindex_stmt__field_descriptors, - pg_query__reindex_stmt__field_indices_by_name, - 1, pg_query__reindex_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__reindex_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_conversion_stmt__field_descriptors[5] = -{ - { - "conversion_name", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateConversionStmt, n_conversion_name), - offsetof(PgQuery__CreateConversionStmt, conversion_name), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "for_encoding_name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateConversionStmt, for_encoding_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "to_encoding_name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateConversionStmt, to_encoding_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "func_name", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateConversionStmt, n_func_name), - offsetof(PgQuery__CreateConversionStmt, func_name), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "def", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateConversionStmt, def), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_conversion_stmt__field_indices_by_name[] = { - 0, /* field[0] = conversion_name */ - 4, /* field[4] = def */ - 1, /* field[1] = for_encoding_name */ - 3, /* field[3] = func_name */ - 2, /* field[2] = to_encoding_name */ -}; -static const ProtobufCIntRange pg_query__create_conversion_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__create_conversion_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateConversionStmt", - "CreateConversionStmt", - "PgQuery__CreateConversionStmt", - "pg_query", - sizeof(PgQuery__CreateConversionStmt), - 5, - pg_query__create_conversion_stmt__field_descriptors, - pg_query__create_conversion_stmt__field_indices_by_name, - 1, pg_query__create_conversion_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_conversion_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_cast_stmt__field_descriptors[5] = -{ - { - "sourcetype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateCastStmt, sourcetype), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "targettype", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateCastStmt, targettype), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "func", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateCastStmt, func), - &pg_query__object_with_args__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "context", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateCastStmt, context), - &pg_query__coercion_context__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "inout", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateCastStmt, inout), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_cast_stmt__field_indices_by_name[] = { - 3, /* field[3] = context */ - 2, /* field[2] = func */ - 4, /* field[4] = inout */ - 0, /* field[0] = sourcetype */ - 1, /* field[1] = targettype */ -}; -static const ProtobufCIntRange pg_query__create_cast_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__create_cast_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateCastStmt", - "CreateCastStmt", - "PgQuery__CreateCastStmt", - "pg_query", - sizeof(PgQuery__CreateCastStmt), - 5, - pg_query__create_cast_stmt__field_descriptors, - pg_query__create_cast_stmt__field_indices_by_name, - 1, pg_query__create_cast_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_cast_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_transform_stmt__field_descriptors[5] = -{ - { - "replace", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTransformStmt, replace), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "type_name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTransformStmt, type_name), - &pg_query__type_name__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "lang", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTransformStmt, lang), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "fromsql", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTransformStmt, fromsql), - &pg_query__object_with_args__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "tosql", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateTransformStmt, tosql), - &pg_query__object_with_args__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_transform_stmt__field_indices_by_name[] = { - 3, /* field[3] = fromsql */ - 2, /* field[2] = lang */ - 0, /* field[0] = replace */ - 4, /* field[4] = tosql */ - 1, /* field[1] = type_name */ -}; -static const ProtobufCIntRange pg_query__create_transform_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__create_transform_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateTransformStmt", - "CreateTransformStmt", - "PgQuery__CreateTransformStmt", - "pg_query", - sizeof(PgQuery__CreateTransformStmt), - 5, - pg_query__create_transform_stmt__field_descriptors, - pg_query__create_transform_stmt__field_indices_by_name, - 1, pg_query__create_transform_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_transform_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__prepare_stmt__field_descriptors[3] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__PrepareStmt, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "argtypes", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__PrepareStmt, n_argtypes), - offsetof(PgQuery__PrepareStmt, argtypes), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "query", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__PrepareStmt, query), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__prepare_stmt__field_indices_by_name[] = { - 1, /* field[1] = argtypes */ - 0, /* field[0] = name */ - 2, /* field[2] = query */ -}; -static const ProtobufCIntRange pg_query__prepare_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__prepare_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.PrepareStmt", - "PrepareStmt", - "PgQuery__PrepareStmt", - "pg_query", - sizeof(PgQuery__PrepareStmt), - 3, - pg_query__prepare_stmt__field_descriptors, - pg_query__prepare_stmt__field_indices_by_name, - 1, pg_query__prepare_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__prepare_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__execute_stmt__field_descriptors[2] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__ExecuteStmt, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "params", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ExecuteStmt, n_params), - offsetof(PgQuery__ExecuteStmt, params), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__execute_stmt__field_indices_by_name[] = { - 0, /* field[0] = name */ - 1, /* field[1] = params */ -}; -static const ProtobufCIntRange pg_query__execute_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__execute_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ExecuteStmt", - "ExecuteStmt", - "PgQuery__ExecuteStmt", - "pg_query", - sizeof(PgQuery__ExecuteStmt), - 2, - pg_query__execute_stmt__field_descriptors, - pg_query__execute_stmt__field_indices_by_name, - 1, pg_query__execute_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__execute_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__deallocate_stmt__field_descriptors[3] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__DeallocateStmt, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "isall", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DeallocateStmt, isall), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__DeallocateStmt, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__deallocate_stmt__field_indices_by_name[] = { - 1, /* field[1] = isall */ - 2, /* field[2] = location */ - 0, /* field[0] = name */ -}; -static const ProtobufCIntRange pg_query__deallocate_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__deallocate_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DeallocateStmt", - "DeallocateStmt", - "PgQuery__DeallocateStmt", - "pg_query", - sizeof(PgQuery__DeallocateStmt), - 3, - pg_query__deallocate_stmt__field_descriptors, - pg_query__deallocate_stmt__field_indices_by_name, - 1, pg_query__deallocate_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__deallocate_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__drop_owned_stmt__field_descriptors[2] = -{ - { - "roles", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__DropOwnedStmt, n_roles), - offsetof(PgQuery__DropOwnedStmt, roles), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "behavior", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropOwnedStmt, behavior), - &pg_query__drop_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__drop_owned_stmt__field_indices_by_name[] = { - 1, /* field[1] = behavior */ - 0, /* field[0] = roles */ -}; -static const ProtobufCIntRange pg_query__drop_owned_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__drop_owned_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DropOwnedStmt", - "DropOwnedStmt", - "PgQuery__DropOwnedStmt", - "pg_query", - sizeof(PgQuery__DropOwnedStmt), - 2, - pg_query__drop_owned_stmt__field_descriptors, - pg_query__drop_owned_stmt__field_indices_by_name, - 1, pg_query__drop_owned_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__drop_owned_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__reassign_owned_stmt__field_descriptors[2] = -{ - { - "roles", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__ReassignOwnedStmt, n_roles), - offsetof(PgQuery__ReassignOwnedStmt, roles), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "newrole", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__ReassignOwnedStmt, newrole), - &pg_query__role_spec__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__reassign_owned_stmt__field_indices_by_name[] = { - 1, /* field[1] = newrole */ - 0, /* field[0] = roles */ -}; -static const ProtobufCIntRange pg_query__reassign_owned_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__reassign_owned_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ReassignOwnedStmt", - "ReassignOwnedStmt", - "PgQuery__ReassignOwnedStmt", - "pg_query", - sizeof(PgQuery__ReassignOwnedStmt), - 2, - pg_query__reassign_owned_stmt__field_descriptors, - pg_query__reassign_owned_stmt__field_indices_by_name, - 1, pg_query__reassign_owned_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__reassign_owned_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_tsdictionary_stmt__field_descriptors[2] = -{ - { - "dictname", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterTSDictionaryStmt, n_dictname), - offsetof(PgQuery__AlterTSDictionaryStmt, dictname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterTSDictionaryStmt, n_options), - offsetof(PgQuery__AlterTSDictionaryStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_tsdictionary_stmt__field_indices_by_name[] = { - 0, /* field[0] = dictname */ - 1, /* field[1] = options */ -}; -static const ProtobufCIntRange pg_query__alter_tsdictionary_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__alter_tsdictionary_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterTSDictionaryStmt", - "AlterTSDictionaryStmt", - "PgQuery__AlterTSDictionaryStmt", - "pg_query", - sizeof(PgQuery__AlterTSDictionaryStmt), - 2, - pg_query__alter_tsdictionary_stmt__field_descriptors, - pg_query__alter_tsdictionary_stmt__field_indices_by_name, - 1, pg_query__alter_tsdictionary_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_tsdictionary_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_tsconfiguration_stmt__field_descriptors[7] = -{ - { - "kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTSConfigurationStmt, kind), - &pg_query__alter_tsconfig_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cfgname", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterTSConfigurationStmt, n_cfgname), - offsetof(PgQuery__AlterTSConfigurationStmt, cfgname), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "tokentype", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterTSConfigurationStmt, n_tokentype), - offsetof(PgQuery__AlterTSConfigurationStmt, tokentype), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "dicts", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterTSConfigurationStmt, n_dicts), - offsetof(PgQuery__AlterTSConfigurationStmt, dicts), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "override", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTSConfigurationStmt, override), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "replace", - 6, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTSConfigurationStmt, replace), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterTSConfigurationStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_tsconfiguration_stmt__field_indices_by_name[] = { - 1, /* field[1] = cfgname */ - 3, /* field[3] = dicts */ - 0, /* field[0] = kind */ - 6, /* field[6] = missing_ok */ - 4, /* field[4] = override */ - 5, /* field[5] = replace */ - 2, /* field[2] = tokentype */ -}; -static const ProtobufCIntRange pg_query__alter_tsconfiguration_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__alter_tsconfiguration_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterTSConfigurationStmt", - "AlterTSConfigurationStmt", - "PgQuery__AlterTSConfigurationStmt", - "pg_query", - sizeof(PgQuery__AlterTSConfigurationStmt), - 7, - pg_query__alter_tsconfiguration_stmt__field_descriptors, - pg_query__alter_tsconfiguration_stmt__field_indices_by_name, - 1, pg_query__alter_tsconfiguration_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_tsconfiguration_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__publication_table__field_descriptors[3] = -{ - { - "relation", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__PublicationTable, relation), - &pg_query__range_var__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "where_clause", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__PublicationTable, where_clause), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "columns", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__PublicationTable, n_columns), - offsetof(PgQuery__PublicationTable, columns), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__publication_table__field_indices_by_name[] = { - 2, /* field[2] = columns */ - 0, /* field[0] = relation */ - 1, /* field[1] = where_clause */ -}; -static const ProtobufCIntRange pg_query__publication_table__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__publication_table__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.PublicationTable", - "PublicationTable", - "PgQuery__PublicationTable", - "pg_query", - sizeof(PgQuery__PublicationTable), - 3, - pg_query__publication_table__field_descriptors, - pg_query__publication_table__field_indices_by_name, - 1, pg_query__publication_table__number_ranges, - (ProtobufCMessageInit) pg_query__publication_table__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__publication_obj_spec__field_descriptors[4] = -{ - { - "pubobjtype", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__PublicationObjSpec, pubobjtype), - &pg_query__publication_obj_spec_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__PublicationObjSpec, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pubtable", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_MESSAGE, - 0, /* quantifier_offset */ - offsetof(PgQuery__PublicationObjSpec, pubtable), - &pg_query__publication_table__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "location", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__PublicationObjSpec, location), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__publication_obj_spec__field_indices_by_name[] = { - 3, /* field[3] = location */ - 1, /* field[1] = name */ - 0, /* field[0] = pubobjtype */ - 2, /* field[2] = pubtable */ -}; -static const ProtobufCIntRange pg_query__publication_obj_spec__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__publication_obj_spec__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.PublicationObjSpec", - "PublicationObjSpec", - "PgQuery__PublicationObjSpec", - "pg_query", - sizeof(PgQuery__PublicationObjSpec), - 4, - pg_query__publication_obj_spec__field_descriptors, - pg_query__publication_obj_spec__field_indices_by_name, - 1, pg_query__publication_obj_spec__number_ranges, - (ProtobufCMessageInit) pg_query__publication_obj_spec__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_publication_stmt__field_descriptors[4] = -{ - { - "pubname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePublicationStmt, pubname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreatePublicationStmt, n_options), - offsetof(PgQuery__CreatePublicationStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pubobjects", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreatePublicationStmt, n_pubobjects), - offsetof(PgQuery__CreatePublicationStmt, pubobjects), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "for_all_tables", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreatePublicationStmt, for_all_tables), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_publication_stmt__field_indices_by_name[] = { - 3, /* field[3] = for_all_tables */ - 1, /* field[1] = options */ - 0, /* field[0] = pubname */ - 2, /* field[2] = pubobjects */ -}; -static const ProtobufCIntRange pg_query__create_publication_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__create_publication_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreatePublicationStmt", - "CreatePublicationStmt", - "PgQuery__CreatePublicationStmt", - "pg_query", - sizeof(PgQuery__CreatePublicationStmt), - 4, - pg_query__create_publication_stmt__field_descriptors, - pg_query__create_publication_stmt__field_indices_by_name, - 1, pg_query__create_publication_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_publication_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_publication_stmt__field_descriptors[5] = -{ - { - "pubname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterPublicationStmt, pubname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterPublicationStmt, n_options), - offsetof(PgQuery__AlterPublicationStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "pubobjects", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterPublicationStmt, n_pubobjects), - offsetof(PgQuery__AlterPublicationStmt, pubobjects), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "for_all_tables", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterPublicationStmt, for_all_tables), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "action", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterPublicationStmt, action), - &pg_query__alter_publication_action__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_publication_stmt__field_indices_by_name[] = { - 4, /* field[4] = action */ - 3, /* field[3] = for_all_tables */ - 1, /* field[1] = options */ - 0, /* field[0] = pubname */ - 2, /* field[2] = pubobjects */ -}; -static const ProtobufCIntRange pg_query__alter_publication_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__alter_publication_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterPublicationStmt", - "AlterPublicationStmt", - "PgQuery__AlterPublicationStmt", - "pg_query", - sizeof(PgQuery__AlterPublicationStmt), - 5, - pg_query__alter_publication_stmt__field_descriptors, - pg_query__alter_publication_stmt__field_indices_by_name, - 1, pg_query__alter_publication_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_publication_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__create_subscription_stmt__field_descriptors[4] = -{ - { - "subname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateSubscriptionStmt, subname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "conninfo", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__CreateSubscriptionStmt, conninfo), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "publication", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateSubscriptionStmt, n_publication), - offsetof(PgQuery__CreateSubscriptionStmt, publication), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__CreateSubscriptionStmt, n_options), - offsetof(PgQuery__CreateSubscriptionStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__create_subscription_stmt__field_indices_by_name[] = { - 1, /* field[1] = conninfo */ - 3, /* field[3] = options */ - 2, /* field[2] = publication */ - 0, /* field[0] = subname */ -}; -static const ProtobufCIntRange pg_query__create_subscription_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__create_subscription_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.CreateSubscriptionStmt", - "CreateSubscriptionStmt", - "PgQuery__CreateSubscriptionStmt", - "pg_query", - sizeof(PgQuery__CreateSubscriptionStmt), - 4, - pg_query__create_subscription_stmt__field_descriptors, - pg_query__create_subscription_stmt__field_indices_by_name, - 1, pg_query__create_subscription_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__create_subscription_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__alter_subscription_stmt__field_descriptors[5] = -{ - { - "kind", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterSubscriptionStmt, kind), - &pg_query__alter_subscription_type__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "subname", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterSubscriptionStmt, subname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "conninfo", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__AlterSubscriptionStmt, conninfo), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "publication", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterSubscriptionStmt, n_publication), - offsetof(PgQuery__AlterSubscriptionStmt, publication), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "options", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__AlterSubscriptionStmt, n_options), - offsetof(PgQuery__AlterSubscriptionStmt, options), - &pg_query__node__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__alter_subscription_stmt__field_indices_by_name[] = { - 2, /* field[2] = conninfo */ - 0, /* field[0] = kind */ - 4, /* field[4] = options */ - 3, /* field[3] = publication */ - 1, /* field[1] = subname */ -}; -static const ProtobufCIntRange pg_query__alter_subscription_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 5 } -}; -const ProtobufCMessageDescriptor pg_query__alter_subscription_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.AlterSubscriptionStmt", - "AlterSubscriptionStmt", - "PgQuery__AlterSubscriptionStmt", - "pg_query", - sizeof(PgQuery__AlterSubscriptionStmt), - 5, - pg_query__alter_subscription_stmt__field_descriptors, - pg_query__alter_subscription_stmt__field_indices_by_name, - 1, pg_query__alter_subscription_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__alter_subscription_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__drop_subscription_stmt__field_descriptors[3] = -{ - { - "subname", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropSubscriptionStmt, subname), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "missing_ok", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_BOOL, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropSubscriptionStmt, missing_ok), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "behavior", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__DropSubscriptionStmt, behavior), - &pg_query__drop_behavior__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__drop_subscription_stmt__field_indices_by_name[] = { - 2, /* field[2] = behavior */ - 1, /* field[1] = missing_ok */ - 0, /* field[0] = subname */ -}; -static const ProtobufCIntRange pg_query__drop_subscription_stmt__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__drop_subscription_stmt__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.DropSubscriptionStmt", - "DropSubscriptionStmt", - "PgQuery__DropSubscriptionStmt", - "pg_query", - sizeof(PgQuery__DropSubscriptionStmt), - 3, - pg_query__drop_subscription_stmt__field_descriptors, - pg_query__drop_subscription_stmt__field_indices_by_name, - 1, pg_query__drop_subscription_stmt__number_ranges, - (ProtobufCMessageInit) pg_query__drop_subscription_stmt__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__scan_token__field_descriptors[4] = -{ - { - "start", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ScanToken, start), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "end", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_INT32, - 0, /* quantifier_offset */ - offsetof(PgQuery__ScanToken, end), - NULL, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "token", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__ScanToken, token), - &pg_query__token__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "keyword_kind", - 5, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__ScanToken, keyword_kind), - &pg_query__keyword_kind__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__scan_token__field_indices_by_name[] = { - 1, /* field[1] = end */ - 3, /* field[3] = keyword_kind */ - 0, /* field[0] = start */ - 2, /* field[2] = token */ -}; -static const ProtobufCIntRange pg_query__scan_token__number_ranges[2 + 1] = -{ - { 1, 0 }, - { 4, 2 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__scan_token__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.ScanToken", - "ScanToken", - "PgQuery__ScanToken", - "pg_query", - sizeof(PgQuery__ScanToken), - 4, - pg_query__scan_token__field_descriptors, - pg_query__scan_token__field_indices_by_name, - 2, pg_query__scan_token__number_ranges, - (ProtobufCMessageInit) pg_query__scan_token__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__summary_result__table__field_descriptors[4] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__Table, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "schema_name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__Table, schema_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table_name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__Table, table_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "context", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__Table, context), - &pg_query__summary_result__context__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__summary_result__table__field_indices_by_name[] = { - 3, /* field[3] = context */ - 0, /* field[0] = name */ - 1, /* field[1] = schema_name */ - 2, /* field[2] = table_name */ -}; -static const ProtobufCIntRange pg_query__summary_result__table__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__summary_result__table__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SummaryResult.Table", - "Table", - "PgQuery__SummaryResult__Table", - "pg_query", - sizeof(PgQuery__SummaryResult__Table), - 4, - pg_query__summary_result__table__field_descriptors, - pg_query__summary_result__table__field_indices_by_name, - 1, pg_query__summary_result__table__number_ranges, - (ProtobufCMessageInit) pg_query__summary_result__table__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__summary_result__aliases_entry__field_descriptors[2] = -{ - { - "key", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__AliasesEntry, key), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "value", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__AliasesEntry, value), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__summary_result__aliases_entry__field_indices_by_name[] = { - 0, /* field[0] = key */ - 1, /* field[1] = value */ -}; -static const ProtobufCIntRange pg_query__summary_result__aliases_entry__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 2 } -}; -const ProtobufCMessageDescriptor pg_query__summary_result__aliases_entry__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SummaryResult.AliasesEntry", - "AliasesEntry", - "PgQuery__SummaryResult__AliasesEntry", - "pg_query", - sizeof(PgQuery__SummaryResult__AliasesEntry), - 2, - pg_query__summary_result__aliases_entry__field_descriptors, - pg_query__summary_result__aliases_entry__field_indices_by_name, - 1, pg_query__summary_result__aliases_entry__number_ranges, - (ProtobufCMessageInit) pg_query__summary_result__aliases_entry__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__summary_result__function__field_descriptors[4] = -{ - { - "name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__Function, name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "function_name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__Function, function_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "schema_name", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__Function, schema_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "context", - 4, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_ENUM, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__Function, context), - &pg_query__summary_result__context__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__summary_result__function__field_indices_by_name[] = { - 3, /* field[3] = context */ - 1, /* field[1] = function_name */ - 0, /* field[0] = name */ - 2, /* field[2] = schema_name */ -}; -static const ProtobufCIntRange pg_query__summary_result__function__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 4 } -}; -const ProtobufCMessageDescriptor pg_query__summary_result__function__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SummaryResult.Function", - "Function", - "PgQuery__SummaryResult__Function", - "pg_query", - sizeof(PgQuery__SummaryResult__Function), - 4, - pg_query__summary_result__function__field_descriptors, - pg_query__summary_result__function__field_indices_by_name, - 1, pg_query__summary_result__function__number_ranges, - (ProtobufCMessageInit) pg_query__summary_result__function__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCFieldDescriptor pg_query__summary_result__filter_column__field_descriptors[3] = -{ - { - "schema_name", - 1, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__FilterColumn, schema_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "table_name", - 2, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__FilterColumn, table_name), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "column", - 3, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult__FilterColumn, column), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__summary_result__filter_column__field_indices_by_name[] = { - 2, /* field[2] = column */ - 0, /* field[0] = schema_name */ - 1, /* field[1] = table_name */ -}; -static const ProtobufCIntRange pg_query__summary_result__filter_column__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 3 } -}; -const ProtobufCMessageDescriptor pg_query__summary_result__filter_column__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SummaryResult.FilterColumn", - "FilterColumn", - "PgQuery__SummaryResult__FilterColumn", - "pg_query", - sizeof(PgQuery__SummaryResult__FilterColumn), - 3, - pg_query__summary_result__filter_column__field_descriptors, - pg_query__summary_result__filter_column__field_indices_by_name, - 1, pg_query__summary_result__filter_column__number_ranges, - (ProtobufCMessageInit) pg_query__summary_result__filter_column__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCEnumValue pg_query__summary_result__context__enum_values_by_number[5] = -{ - { "None", "PG_QUERY__SUMMARY_RESULT__CONTEXT__None", 0 }, - { "Select", "PG_QUERY__SUMMARY_RESULT__CONTEXT__Select", 1 }, - { "DML", "PG_QUERY__SUMMARY_RESULT__CONTEXT__DML", 2 }, - { "DDL", "PG_QUERY__SUMMARY_RESULT__CONTEXT__DDL", 3 }, - { "Call", "PG_QUERY__SUMMARY_RESULT__CONTEXT__Call", 4 }, -}; -static const ProtobufCIntRange pg_query__summary_result__context__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__summary_result__context__enum_values_by_name[5] = -{ - { "Call", 4 }, - { "DDL", 3 }, - { "DML", 2 }, - { "None", 0 }, - { "Select", 1 }, -}; -const ProtobufCEnumDescriptor pg_query__summary_result__context__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.SummaryResult.Context", - "Context", - "PgQuery__SummaryResult__Context", - "pg_query", - 5, - pg_query__summary_result__context__enum_values_by_number, - 5, - pg_query__summary_result__context__enum_values_by_name, - 1, - pg_query__summary_result__context__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCFieldDescriptor pg_query__summary_result__field_descriptors[7] = -{ - { - "tables", - 1, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SummaryResult, n_tables), - offsetof(PgQuery__SummaryResult, tables), - &pg_query__summary_result__table__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "aliases", - 2, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SummaryResult, n_aliases), - offsetof(PgQuery__SummaryResult, aliases), - &pg_query__summary_result__aliases_entry__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "cte_names", - 3, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_STRING, - offsetof(PgQuery__SummaryResult, n_cte_names), - offsetof(PgQuery__SummaryResult, cte_names), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "functions", - 4, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SummaryResult, n_functions), - offsetof(PgQuery__SummaryResult, functions), - &pg_query__summary_result__function__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "filter_columns", - 5, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_MESSAGE, - offsetof(PgQuery__SummaryResult, n_filter_columns), - offsetof(PgQuery__SummaryResult, filter_columns), - &pg_query__summary_result__filter_column__descriptor, - NULL, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "statement_types", - 6, - PROTOBUF_C_LABEL_REPEATED, - PROTOBUF_C_TYPE_STRING, - offsetof(PgQuery__SummaryResult, n_statement_types), - offsetof(PgQuery__SummaryResult, statement_types), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, - { - "truncated_query", - 7, - PROTOBUF_C_LABEL_NONE, - PROTOBUF_C_TYPE_STRING, - 0, /* quantifier_offset */ - offsetof(PgQuery__SummaryResult, truncated_query), - NULL, - &protobuf_c_empty_string, - 0, /* flags */ - 0,NULL,NULL /* reserved1,reserved2, etc */ - }, -}; -static const unsigned pg_query__summary_result__field_indices_by_name[] = { - 1, /* field[1] = aliases */ - 2, /* field[2] = cte_names */ - 4, /* field[4] = filter_columns */ - 3, /* field[3] = functions */ - 5, /* field[5] = statement_types */ - 0, /* field[0] = tables */ - 6, /* field[6] = truncated_query */ -}; -static const ProtobufCIntRange pg_query__summary_result__number_ranges[1 + 1] = -{ - { 1, 0 }, - { 0, 7 } -}; -const ProtobufCMessageDescriptor pg_query__summary_result__descriptor = -{ - PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, - "pg_query.SummaryResult", - "SummaryResult", - "PgQuery__SummaryResult", - "pg_query", - sizeof(PgQuery__SummaryResult), - 7, - pg_query__summary_result__field_descriptors, - pg_query__summary_result__field_indices_by_name, - 1, pg_query__summary_result__number_ranges, - (ProtobufCMessageInit) pg_query__summary_result__init, - NULL,NULL,NULL /* reserved[123] */ -}; -static const ProtobufCEnumValue pg_query__query_source__enum_values_by_number[6] = -{ - { "QUERY_SOURCE_UNDEFINED", "PG_QUERY__QUERY_SOURCE__QUERY_SOURCE_UNDEFINED", 0 }, - { "QSRC_ORIGINAL", "PG_QUERY__QUERY_SOURCE__QSRC_ORIGINAL", 1 }, - { "QSRC_PARSER", "PG_QUERY__QUERY_SOURCE__QSRC_PARSER", 2 }, - { "QSRC_INSTEAD_RULE", "PG_QUERY__QUERY_SOURCE__QSRC_INSTEAD_RULE", 3 }, - { "QSRC_QUAL_INSTEAD_RULE", "PG_QUERY__QUERY_SOURCE__QSRC_QUAL_INSTEAD_RULE", 4 }, - { "QSRC_NON_INSTEAD_RULE", "PG_QUERY__QUERY_SOURCE__QSRC_NON_INSTEAD_RULE", 5 }, -}; -static const ProtobufCIntRange pg_query__query_source__value_ranges[] = { -{0, 0},{0, 6} -}; -static const ProtobufCEnumValueIndex pg_query__query_source__enum_values_by_name[6] = -{ - { "QSRC_INSTEAD_RULE", 3 }, - { "QSRC_NON_INSTEAD_RULE", 5 }, - { "QSRC_ORIGINAL", 1 }, - { "QSRC_PARSER", 2 }, - { "QSRC_QUAL_INSTEAD_RULE", 4 }, - { "QUERY_SOURCE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__query_source__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.QuerySource", - "QuerySource", - "PgQuery__QuerySource", - "pg_query", - 6, - pg_query__query_source__enum_values_by_number, - 6, - pg_query__query_source__enum_values_by_name, - 1, - pg_query__query_source__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__sort_by_dir__enum_values_by_number[5] = -{ - { "SORT_BY_DIR_UNDEFINED", "PG_QUERY__SORT_BY_DIR__SORT_BY_DIR_UNDEFINED", 0 }, - { "SORTBY_DEFAULT", "PG_QUERY__SORT_BY_DIR__SORTBY_DEFAULT", 1 }, - { "SORTBY_ASC", "PG_QUERY__SORT_BY_DIR__SORTBY_ASC", 2 }, - { "SORTBY_DESC", "PG_QUERY__SORT_BY_DIR__SORTBY_DESC", 3 }, - { "SORTBY_USING", "PG_QUERY__SORT_BY_DIR__SORTBY_USING", 4 }, -}; -static const ProtobufCIntRange pg_query__sort_by_dir__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__sort_by_dir__enum_values_by_name[5] = -{ - { "SORTBY_ASC", 2 }, - { "SORTBY_DEFAULT", 1 }, - { "SORTBY_DESC", 3 }, - { "SORTBY_USING", 4 }, - { "SORT_BY_DIR_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__sort_by_dir__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.SortByDir", - "SortByDir", - "PgQuery__SortByDir", - "pg_query", - 5, - pg_query__sort_by_dir__enum_values_by_number, - 5, - pg_query__sort_by_dir__enum_values_by_name, - 1, - pg_query__sort_by_dir__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__sort_by_nulls__enum_values_by_number[4] = -{ - { "SORT_BY_NULLS_UNDEFINED", "PG_QUERY__SORT_BY_NULLS__SORT_BY_NULLS_UNDEFINED", 0 }, - { "SORTBY_NULLS_DEFAULT", "PG_QUERY__SORT_BY_NULLS__SORTBY_NULLS_DEFAULT", 1 }, - { "SORTBY_NULLS_FIRST", "PG_QUERY__SORT_BY_NULLS__SORTBY_NULLS_FIRST", 2 }, - { "SORTBY_NULLS_LAST", "PG_QUERY__SORT_BY_NULLS__SORTBY_NULLS_LAST", 3 }, -}; -static const ProtobufCIntRange pg_query__sort_by_nulls__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__sort_by_nulls__enum_values_by_name[4] = -{ - { "SORTBY_NULLS_DEFAULT", 1 }, - { "SORTBY_NULLS_FIRST", 2 }, - { "SORTBY_NULLS_LAST", 3 }, - { "SORT_BY_NULLS_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__sort_by_nulls__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.SortByNulls", - "SortByNulls", - "PgQuery__SortByNulls", - "pg_query", - 4, - pg_query__sort_by_nulls__enum_values_by_number, - 4, - pg_query__sort_by_nulls__enum_values_by_name, - 1, - pg_query__sort_by_nulls__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__set_quantifier__enum_values_by_number[4] = -{ - { "SET_QUANTIFIER_UNDEFINED", "PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_UNDEFINED", 0 }, - { "SET_QUANTIFIER_DEFAULT", "PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_DEFAULT", 1 }, - { "SET_QUANTIFIER_ALL", "PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_ALL", 2 }, - { "SET_QUANTIFIER_DISTINCT", "PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_DISTINCT", 3 }, -}; -static const ProtobufCIntRange pg_query__set_quantifier__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__set_quantifier__enum_values_by_name[4] = -{ - { "SET_QUANTIFIER_ALL", 2 }, - { "SET_QUANTIFIER_DEFAULT", 1 }, - { "SET_QUANTIFIER_DISTINCT", 3 }, - { "SET_QUANTIFIER_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__set_quantifier__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.SetQuantifier", - "SetQuantifier", - "PgQuery__SetQuantifier", - "pg_query", - 4, - pg_query__set_quantifier__enum_values_by_number, - 4, - pg_query__set_quantifier__enum_values_by_name, - 1, - pg_query__set_quantifier__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__a__expr__kind__enum_values_by_number[15] = -{ - { "A_EXPR_KIND_UNDEFINED", "PG_QUERY__A__EXPR__KIND__A_EXPR_KIND_UNDEFINED", 0 }, - { "AEXPR_OP", "PG_QUERY__A__EXPR__KIND__AEXPR_OP", 1 }, - { "AEXPR_OP_ANY", "PG_QUERY__A__EXPR__KIND__AEXPR_OP_ANY", 2 }, - { "AEXPR_OP_ALL", "PG_QUERY__A__EXPR__KIND__AEXPR_OP_ALL", 3 }, - { "AEXPR_DISTINCT", "PG_QUERY__A__EXPR__KIND__AEXPR_DISTINCT", 4 }, - { "AEXPR_NOT_DISTINCT", "PG_QUERY__A__EXPR__KIND__AEXPR_NOT_DISTINCT", 5 }, - { "AEXPR_NULLIF", "PG_QUERY__A__EXPR__KIND__AEXPR_NULLIF", 6 }, - { "AEXPR_IN", "PG_QUERY__A__EXPR__KIND__AEXPR_IN", 7 }, - { "AEXPR_LIKE", "PG_QUERY__A__EXPR__KIND__AEXPR_LIKE", 8 }, - { "AEXPR_ILIKE", "PG_QUERY__A__EXPR__KIND__AEXPR_ILIKE", 9 }, - { "AEXPR_SIMILAR", "PG_QUERY__A__EXPR__KIND__AEXPR_SIMILAR", 10 }, - { "AEXPR_BETWEEN", "PG_QUERY__A__EXPR__KIND__AEXPR_BETWEEN", 11 }, - { "AEXPR_NOT_BETWEEN", "PG_QUERY__A__EXPR__KIND__AEXPR_NOT_BETWEEN", 12 }, - { "AEXPR_BETWEEN_SYM", "PG_QUERY__A__EXPR__KIND__AEXPR_BETWEEN_SYM", 13 }, - { "AEXPR_NOT_BETWEEN_SYM", "PG_QUERY__A__EXPR__KIND__AEXPR_NOT_BETWEEN_SYM", 14 }, -}; -static const ProtobufCIntRange pg_query__a__expr__kind__value_ranges[] = { -{0, 0},{0, 15} -}; -static const ProtobufCEnumValueIndex pg_query__a__expr__kind__enum_values_by_name[15] = -{ - { "AEXPR_BETWEEN", 11 }, - { "AEXPR_BETWEEN_SYM", 13 }, - { "AEXPR_DISTINCT", 4 }, - { "AEXPR_ILIKE", 9 }, - { "AEXPR_IN", 7 }, - { "AEXPR_LIKE", 8 }, - { "AEXPR_NOT_BETWEEN", 12 }, - { "AEXPR_NOT_BETWEEN_SYM", 14 }, - { "AEXPR_NOT_DISTINCT", 5 }, - { "AEXPR_NULLIF", 6 }, - { "AEXPR_OP", 1 }, - { "AEXPR_OP_ALL", 3 }, - { "AEXPR_OP_ANY", 2 }, - { "AEXPR_SIMILAR", 10 }, - { "A_EXPR_KIND_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__a__expr__kind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.A_Expr_Kind", - "A_Expr_Kind", - "PgQuery__AExprKind", - "pg_query", - 15, - pg_query__a__expr__kind__enum_values_by_number, - 15, - pg_query__a__expr__kind__enum_values_by_name, - 1, - pg_query__a__expr__kind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__role_spec_type__enum_values_by_number[6] = -{ - { "ROLE_SPEC_TYPE_UNDEFINED", "PG_QUERY__ROLE_SPEC_TYPE__ROLE_SPEC_TYPE_UNDEFINED", 0 }, - { "ROLESPEC_CSTRING", "PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_CSTRING", 1 }, - { "ROLESPEC_CURRENT_ROLE", "PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_CURRENT_ROLE", 2 }, - { "ROLESPEC_CURRENT_USER", "PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_CURRENT_USER", 3 }, - { "ROLESPEC_SESSION_USER", "PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_SESSION_USER", 4 }, - { "ROLESPEC_PUBLIC", "PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_PUBLIC", 5 }, -}; -static const ProtobufCIntRange pg_query__role_spec_type__value_ranges[] = { -{0, 0},{0, 6} -}; -static const ProtobufCEnumValueIndex pg_query__role_spec_type__enum_values_by_name[6] = -{ - { "ROLESPEC_CSTRING", 1 }, - { "ROLESPEC_CURRENT_ROLE", 2 }, - { "ROLESPEC_CURRENT_USER", 3 }, - { "ROLESPEC_PUBLIC", 5 }, - { "ROLESPEC_SESSION_USER", 4 }, - { "ROLE_SPEC_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__role_spec_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.RoleSpecType", - "RoleSpecType", - "PgQuery__RoleSpecType", - "pg_query", - 6, - pg_query__role_spec_type__enum_values_by_number, - 6, - pg_query__role_spec_type__enum_values_by_name, - 1, - pg_query__role_spec_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__table_like_option__enum_values_by_number[11] = -{ - { "TABLE_LIKE_OPTION_UNDEFINED", "PG_QUERY__TABLE_LIKE_OPTION__TABLE_LIKE_OPTION_UNDEFINED", 0 }, - { "CREATE_TABLE_LIKE_COMMENTS", "PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_COMMENTS", 1 }, - { "CREATE_TABLE_LIKE_COMPRESSION", "PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_COMPRESSION", 2 }, - { "CREATE_TABLE_LIKE_CONSTRAINTS", "PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_CONSTRAINTS", 3 }, - { "CREATE_TABLE_LIKE_DEFAULTS", "PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_DEFAULTS", 4 }, - { "CREATE_TABLE_LIKE_GENERATED", "PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_GENERATED", 5 }, - { "CREATE_TABLE_LIKE_IDENTITY", "PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_IDENTITY", 6 }, - { "CREATE_TABLE_LIKE_INDEXES", "PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_INDEXES", 7 }, - { "CREATE_TABLE_LIKE_STATISTICS", "PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_STATISTICS", 8 }, - { "CREATE_TABLE_LIKE_STORAGE", "PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_STORAGE", 9 }, - { "CREATE_TABLE_LIKE_ALL", "PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_ALL", 10 }, -}; -static const ProtobufCIntRange pg_query__table_like_option__value_ranges[] = { -{0, 0},{0, 11} -}; -static const ProtobufCEnumValueIndex pg_query__table_like_option__enum_values_by_name[11] = -{ - { "CREATE_TABLE_LIKE_ALL", 10 }, - { "CREATE_TABLE_LIKE_COMMENTS", 1 }, - { "CREATE_TABLE_LIKE_COMPRESSION", 2 }, - { "CREATE_TABLE_LIKE_CONSTRAINTS", 3 }, - { "CREATE_TABLE_LIKE_DEFAULTS", 4 }, - { "CREATE_TABLE_LIKE_GENERATED", 5 }, - { "CREATE_TABLE_LIKE_IDENTITY", 6 }, - { "CREATE_TABLE_LIKE_INDEXES", 7 }, - { "CREATE_TABLE_LIKE_STATISTICS", 8 }, - { "CREATE_TABLE_LIKE_STORAGE", 9 }, - { "TABLE_LIKE_OPTION_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__table_like_option__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.TableLikeOption", - "TableLikeOption", - "PgQuery__TableLikeOption", - "pg_query", - 11, - pg_query__table_like_option__enum_values_by_number, - 11, - pg_query__table_like_option__enum_values_by_name, - 1, - pg_query__table_like_option__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__def_elem_action__enum_values_by_number[5] = -{ - { "DEF_ELEM_ACTION_UNDEFINED", "PG_QUERY__DEF_ELEM_ACTION__DEF_ELEM_ACTION_UNDEFINED", 0 }, - { "DEFELEM_UNSPEC", "PG_QUERY__DEF_ELEM_ACTION__DEFELEM_UNSPEC", 1 }, - { "DEFELEM_SET", "PG_QUERY__DEF_ELEM_ACTION__DEFELEM_SET", 2 }, - { "DEFELEM_ADD", "PG_QUERY__DEF_ELEM_ACTION__DEFELEM_ADD", 3 }, - { "DEFELEM_DROP", "PG_QUERY__DEF_ELEM_ACTION__DEFELEM_DROP", 4 }, -}; -static const ProtobufCIntRange pg_query__def_elem_action__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__def_elem_action__enum_values_by_name[5] = -{ - { "DEFELEM_ADD", 3 }, - { "DEFELEM_DROP", 4 }, - { "DEFELEM_SET", 2 }, - { "DEFELEM_UNSPEC", 1 }, - { "DEF_ELEM_ACTION_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__def_elem_action__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.DefElemAction", - "DefElemAction", - "PgQuery__DefElemAction", - "pg_query", - 5, - pg_query__def_elem_action__enum_values_by_number, - 5, - pg_query__def_elem_action__enum_values_by_name, - 1, - pg_query__def_elem_action__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__partition_strategy__enum_values_by_number[4] = -{ - { "PARTITION_STRATEGY_UNDEFINED", "PG_QUERY__PARTITION_STRATEGY__PARTITION_STRATEGY_UNDEFINED", 0 }, - { "PARTITION_STRATEGY_LIST", "PG_QUERY__PARTITION_STRATEGY__PARTITION_STRATEGY_LIST", 1 }, - { "PARTITION_STRATEGY_RANGE", "PG_QUERY__PARTITION_STRATEGY__PARTITION_STRATEGY_RANGE", 2 }, - { "PARTITION_STRATEGY_HASH", "PG_QUERY__PARTITION_STRATEGY__PARTITION_STRATEGY_HASH", 3 }, -}; -static const ProtobufCIntRange pg_query__partition_strategy__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__partition_strategy__enum_values_by_name[4] = -{ - { "PARTITION_STRATEGY_HASH", 3 }, - { "PARTITION_STRATEGY_LIST", 1 }, - { "PARTITION_STRATEGY_RANGE", 2 }, - { "PARTITION_STRATEGY_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__partition_strategy__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.PartitionStrategy", - "PartitionStrategy", - "PgQuery__PartitionStrategy", - "pg_query", - 4, - pg_query__partition_strategy__enum_values_by_number, - 4, - pg_query__partition_strategy__enum_values_by_name, - 1, - pg_query__partition_strategy__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__partition_range_datum_kind__enum_values_by_number[4] = -{ - { "PARTITION_RANGE_DATUM_KIND_UNDEFINED", "PG_QUERY__PARTITION_RANGE_DATUM_KIND__PARTITION_RANGE_DATUM_KIND_UNDEFINED", 0 }, - { "PARTITION_RANGE_DATUM_MINVALUE", "PG_QUERY__PARTITION_RANGE_DATUM_KIND__PARTITION_RANGE_DATUM_MINVALUE", 1 }, - { "PARTITION_RANGE_DATUM_VALUE", "PG_QUERY__PARTITION_RANGE_DATUM_KIND__PARTITION_RANGE_DATUM_VALUE", 2 }, - { "PARTITION_RANGE_DATUM_MAXVALUE", "PG_QUERY__PARTITION_RANGE_DATUM_KIND__PARTITION_RANGE_DATUM_MAXVALUE", 3 }, -}; -static const ProtobufCIntRange pg_query__partition_range_datum_kind__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__partition_range_datum_kind__enum_values_by_name[4] = -{ - { "PARTITION_RANGE_DATUM_KIND_UNDEFINED", 0 }, - { "PARTITION_RANGE_DATUM_MAXVALUE", 3 }, - { "PARTITION_RANGE_DATUM_MINVALUE", 1 }, - { "PARTITION_RANGE_DATUM_VALUE", 2 }, -}; -const ProtobufCEnumDescriptor pg_query__partition_range_datum_kind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.PartitionRangeDatumKind", - "PartitionRangeDatumKind", - "PgQuery__PartitionRangeDatumKind", - "pg_query", - 4, - pg_query__partition_range_datum_kind__enum_values_by_number, - 4, - pg_query__partition_range_datum_kind__enum_values_by_name, - 1, - pg_query__partition_range_datum_kind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__rtekind__enum_values_by_number[11] = -{ - { "RTEKIND_UNDEFINED", "PG_QUERY__RTEKIND__RTEKIND_UNDEFINED", 0 }, - { "RTE_RELATION", "PG_QUERY__RTEKIND__RTE_RELATION", 1 }, - { "RTE_SUBQUERY", "PG_QUERY__RTEKIND__RTE_SUBQUERY", 2 }, - { "RTE_JOIN", "PG_QUERY__RTEKIND__RTE_JOIN", 3 }, - { "RTE_FUNCTION", "PG_QUERY__RTEKIND__RTE_FUNCTION", 4 }, - { "RTE_TABLEFUNC", "PG_QUERY__RTEKIND__RTE_TABLEFUNC", 5 }, - { "RTE_VALUES", "PG_QUERY__RTEKIND__RTE_VALUES", 6 }, - { "RTE_CTE", "PG_QUERY__RTEKIND__RTE_CTE", 7 }, - { "RTE_NAMEDTUPLESTORE", "PG_QUERY__RTEKIND__RTE_NAMEDTUPLESTORE", 8 }, - { "RTE_RESULT", "PG_QUERY__RTEKIND__RTE_RESULT", 9 }, - { "RTE_GROUP", "PG_QUERY__RTEKIND__RTE_GROUP", 10 }, -}; -static const ProtobufCIntRange pg_query__rtekind__value_ranges[] = { -{0, 0},{0, 11} -}; -static const ProtobufCEnumValueIndex pg_query__rtekind__enum_values_by_name[11] = -{ - { "RTEKIND_UNDEFINED", 0 }, - { "RTE_CTE", 7 }, - { "RTE_FUNCTION", 4 }, - { "RTE_GROUP", 10 }, - { "RTE_JOIN", 3 }, - { "RTE_NAMEDTUPLESTORE", 8 }, - { "RTE_RELATION", 1 }, - { "RTE_RESULT", 9 }, - { "RTE_SUBQUERY", 2 }, - { "RTE_TABLEFUNC", 5 }, - { "RTE_VALUES", 6 }, -}; -const ProtobufCEnumDescriptor pg_query__rtekind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.RTEKind", - "RTEKind", - "PgQuery__RTEKind", - "pg_query", - 11, - pg_query__rtekind__enum_values_by_number, - 11, - pg_query__rtekind__enum_values_by_name, - 1, - pg_query__rtekind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__wcokind__enum_values_by_number[7] = -{ - { "WCOKIND_UNDEFINED", "PG_QUERY__WCOKIND__WCOKIND_UNDEFINED", 0 }, - { "WCO_VIEW_CHECK", "PG_QUERY__WCOKIND__WCO_VIEW_CHECK", 1 }, - { "WCO_RLS_INSERT_CHECK", "PG_QUERY__WCOKIND__WCO_RLS_INSERT_CHECK", 2 }, - { "WCO_RLS_UPDATE_CHECK", "PG_QUERY__WCOKIND__WCO_RLS_UPDATE_CHECK", 3 }, - { "WCO_RLS_CONFLICT_CHECK", "PG_QUERY__WCOKIND__WCO_RLS_CONFLICT_CHECK", 4 }, - { "WCO_RLS_MERGE_UPDATE_CHECK", "PG_QUERY__WCOKIND__WCO_RLS_MERGE_UPDATE_CHECK", 5 }, - { "WCO_RLS_MERGE_DELETE_CHECK", "PG_QUERY__WCOKIND__WCO_RLS_MERGE_DELETE_CHECK", 6 }, -}; -static const ProtobufCIntRange pg_query__wcokind__value_ranges[] = { -{0, 0},{0, 7} -}; -static const ProtobufCEnumValueIndex pg_query__wcokind__enum_values_by_name[7] = -{ - { "WCOKIND_UNDEFINED", 0 }, - { "WCO_RLS_CONFLICT_CHECK", 4 }, - { "WCO_RLS_INSERT_CHECK", 2 }, - { "WCO_RLS_MERGE_DELETE_CHECK", 6 }, - { "WCO_RLS_MERGE_UPDATE_CHECK", 5 }, - { "WCO_RLS_UPDATE_CHECK", 3 }, - { "WCO_VIEW_CHECK", 1 }, -}; -const ProtobufCEnumDescriptor pg_query__wcokind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.WCOKind", - "WCOKind", - "PgQuery__WCOKind", - "pg_query", - 7, - pg_query__wcokind__enum_values_by_number, - 7, - pg_query__wcokind__enum_values_by_name, - 1, - pg_query__wcokind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__grouping_set_kind__enum_values_by_number[6] = -{ - { "GROUPING_SET_KIND_UNDEFINED", "PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_KIND_UNDEFINED", 0 }, - { "GROUPING_SET_EMPTY", "PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_EMPTY", 1 }, - { "GROUPING_SET_SIMPLE", "PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_SIMPLE", 2 }, - { "GROUPING_SET_ROLLUP", "PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_ROLLUP", 3 }, - { "GROUPING_SET_CUBE", "PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_CUBE", 4 }, - { "GROUPING_SET_SETS", "PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_SETS", 5 }, -}; -static const ProtobufCIntRange pg_query__grouping_set_kind__value_ranges[] = { -{0, 0},{0, 6} -}; -static const ProtobufCEnumValueIndex pg_query__grouping_set_kind__enum_values_by_name[6] = -{ - { "GROUPING_SET_CUBE", 4 }, - { "GROUPING_SET_EMPTY", 1 }, - { "GROUPING_SET_KIND_UNDEFINED", 0 }, - { "GROUPING_SET_ROLLUP", 3 }, - { "GROUPING_SET_SETS", 5 }, - { "GROUPING_SET_SIMPLE", 2 }, -}; -const ProtobufCEnumDescriptor pg_query__grouping_set_kind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.GroupingSetKind", - "GroupingSetKind", - "PgQuery__GroupingSetKind", - "pg_query", - 6, - pg_query__grouping_set_kind__enum_values_by_number, - 6, - pg_query__grouping_set_kind__enum_values_by_name, - 1, - pg_query__grouping_set_kind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__ctematerialize__enum_values_by_number[4] = -{ - { "CTEMATERIALIZE_UNDEFINED", "PG_QUERY__CTEMATERIALIZE__CTEMATERIALIZE_UNDEFINED", 0 }, - { "CTEMaterializeDefault", "PG_QUERY__CTEMATERIALIZE__CTEMaterializeDefault", 1 }, - { "CTEMaterializeAlways", "PG_QUERY__CTEMATERIALIZE__CTEMaterializeAlways", 2 }, - { "CTEMaterializeNever", "PG_QUERY__CTEMATERIALIZE__CTEMaterializeNever", 3 }, -}; -static const ProtobufCIntRange pg_query__ctematerialize__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__ctematerialize__enum_values_by_name[4] = -{ - { "CTEMATERIALIZE_UNDEFINED", 0 }, - { "CTEMaterializeAlways", 2 }, - { "CTEMaterializeDefault", 1 }, - { "CTEMaterializeNever", 3 }, -}; -const ProtobufCEnumDescriptor pg_query__ctematerialize__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.CTEMaterialize", - "CTEMaterialize", - "PgQuery__CTEMaterialize", - "pg_query", - 4, - pg_query__ctematerialize__enum_values_by_number, - 4, - pg_query__ctematerialize__enum_values_by_name, - 1, - pg_query__ctematerialize__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__returning_option_kind__enum_values_by_number[3] = -{ - { "RETURNING_OPTION_KIND_UNDEFINED", "PG_QUERY__RETURNING_OPTION_KIND__RETURNING_OPTION_KIND_UNDEFINED", 0 }, - { "RETURNING_OPTION_OLD", "PG_QUERY__RETURNING_OPTION_KIND__RETURNING_OPTION_OLD", 1 }, - { "RETURNING_OPTION_NEW", "PG_QUERY__RETURNING_OPTION_KIND__RETURNING_OPTION_NEW", 2 }, -}; -static const ProtobufCIntRange pg_query__returning_option_kind__value_ranges[] = { -{0, 0},{0, 3} -}; -static const ProtobufCEnumValueIndex pg_query__returning_option_kind__enum_values_by_name[3] = -{ - { "RETURNING_OPTION_KIND_UNDEFINED", 0 }, - { "RETURNING_OPTION_NEW", 2 }, - { "RETURNING_OPTION_OLD", 1 }, -}; -const ProtobufCEnumDescriptor pg_query__returning_option_kind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.ReturningOptionKind", - "ReturningOptionKind", - "PgQuery__ReturningOptionKind", - "pg_query", - 3, - pg_query__returning_option_kind__enum_values_by_number, - 3, - pg_query__returning_option_kind__enum_values_by_name, - 1, - pg_query__returning_option_kind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__json_quotes__enum_values_by_number[4] = -{ - { "JSON_QUOTES_UNDEFINED", "PG_QUERY__JSON_QUOTES__JSON_QUOTES_UNDEFINED", 0 }, - { "JS_QUOTES_UNSPEC", "PG_QUERY__JSON_QUOTES__JS_QUOTES_UNSPEC", 1 }, - { "JS_QUOTES_KEEP", "PG_QUERY__JSON_QUOTES__JS_QUOTES_KEEP", 2 }, - { "JS_QUOTES_OMIT", "PG_QUERY__JSON_QUOTES__JS_QUOTES_OMIT", 3 }, -}; -static const ProtobufCIntRange pg_query__json_quotes__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__json_quotes__enum_values_by_name[4] = -{ - { "JSON_QUOTES_UNDEFINED", 0 }, - { "JS_QUOTES_KEEP", 2 }, - { "JS_QUOTES_OMIT", 3 }, - { "JS_QUOTES_UNSPEC", 1 }, -}; -const ProtobufCEnumDescriptor pg_query__json_quotes__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.JsonQuotes", - "JsonQuotes", - "PgQuery__JsonQuotes", - "pg_query", - 4, - pg_query__json_quotes__enum_values_by_number, - 4, - pg_query__json_quotes__enum_values_by_name, - 1, - pg_query__json_quotes__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__json_table_column_type__enum_values_by_number[6] = -{ - { "JSON_TABLE_COLUMN_TYPE_UNDEFINED", "PG_QUERY__JSON_TABLE_COLUMN_TYPE__JSON_TABLE_COLUMN_TYPE_UNDEFINED", 0 }, - { "JTC_FOR_ORDINALITY", "PG_QUERY__JSON_TABLE_COLUMN_TYPE__JTC_FOR_ORDINALITY", 1 }, - { "JTC_REGULAR", "PG_QUERY__JSON_TABLE_COLUMN_TYPE__JTC_REGULAR", 2 }, - { "JTC_EXISTS", "PG_QUERY__JSON_TABLE_COLUMN_TYPE__JTC_EXISTS", 3 }, - { "JTC_FORMATTED", "PG_QUERY__JSON_TABLE_COLUMN_TYPE__JTC_FORMATTED", 4 }, - { "JTC_NESTED", "PG_QUERY__JSON_TABLE_COLUMN_TYPE__JTC_NESTED", 5 }, -}; -static const ProtobufCIntRange pg_query__json_table_column_type__value_ranges[] = { -{0, 0},{0, 6} -}; -static const ProtobufCEnumValueIndex pg_query__json_table_column_type__enum_values_by_name[6] = -{ - { "JSON_TABLE_COLUMN_TYPE_UNDEFINED", 0 }, - { "JTC_EXISTS", 3 }, - { "JTC_FORMATTED", 4 }, - { "JTC_FOR_ORDINALITY", 1 }, - { "JTC_NESTED", 5 }, - { "JTC_REGULAR", 2 }, -}; -const ProtobufCEnumDescriptor pg_query__json_table_column_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.JsonTableColumnType", - "JsonTableColumnType", - "PgQuery__JsonTableColumnType", - "pg_query", - 6, - pg_query__json_table_column_type__enum_values_by_number, - 6, - pg_query__json_table_column_type__enum_values_by_name, - 1, - pg_query__json_table_column_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__set_operation__enum_values_by_number[5] = -{ - { "SET_OPERATION_UNDEFINED", "PG_QUERY__SET_OPERATION__SET_OPERATION_UNDEFINED", 0 }, - { "SETOP_NONE", "PG_QUERY__SET_OPERATION__SETOP_NONE", 1 }, - { "SETOP_UNION", "PG_QUERY__SET_OPERATION__SETOP_UNION", 2 }, - { "SETOP_INTERSECT", "PG_QUERY__SET_OPERATION__SETOP_INTERSECT", 3 }, - { "SETOP_EXCEPT", "PG_QUERY__SET_OPERATION__SETOP_EXCEPT", 4 }, -}; -static const ProtobufCIntRange pg_query__set_operation__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__set_operation__enum_values_by_name[5] = -{ - { "SETOP_EXCEPT", 4 }, - { "SETOP_INTERSECT", 3 }, - { "SETOP_NONE", 1 }, - { "SETOP_UNION", 2 }, - { "SET_OPERATION_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__set_operation__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.SetOperation", - "SetOperation", - "PgQuery__SetOperation", - "pg_query", - 5, - pg_query__set_operation__enum_values_by_number, - 5, - pg_query__set_operation__enum_values_by_name, - 1, - pg_query__set_operation__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__object_type__enum_values_by_number[53] = -{ - { "OBJECT_TYPE_UNDEFINED", "PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED", 0 }, - { "OBJECT_ACCESS_METHOD", "PG_QUERY__OBJECT_TYPE__OBJECT_ACCESS_METHOD", 1 }, - { "OBJECT_AGGREGATE", "PG_QUERY__OBJECT_TYPE__OBJECT_AGGREGATE", 2 }, - { "OBJECT_AMOP", "PG_QUERY__OBJECT_TYPE__OBJECT_AMOP", 3 }, - { "OBJECT_AMPROC", "PG_QUERY__OBJECT_TYPE__OBJECT_AMPROC", 4 }, - { "OBJECT_ATTRIBUTE", "PG_QUERY__OBJECT_TYPE__OBJECT_ATTRIBUTE", 5 }, - { "OBJECT_CAST", "PG_QUERY__OBJECT_TYPE__OBJECT_CAST", 6 }, - { "OBJECT_COLUMN", "PG_QUERY__OBJECT_TYPE__OBJECT_COLUMN", 7 }, - { "OBJECT_COLLATION", "PG_QUERY__OBJECT_TYPE__OBJECT_COLLATION", 8 }, - { "OBJECT_CONVERSION", "PG_QUERY__OBJECT_TYPE__OBJECT_CONVERSION", 9 }, - { "OBJECT_DATABASE", "PG_QUERY__OBJECT_TYPE__OBJECT_DATABASE", 10 }, - { "OBJECT_DEFAULT", "PG_QUERY__OBJECT_TYPE__OBJECT_DEFAULT", 11 }, - { "OBJECT_DEFACL", "PG_QUERY__OBJECT_TYPE__OBJECT_DEFACL", 12 }, - { "OBJECT_DOMAIN", "PG_QUERY__OBJECT_TYPE__OBJECT_DOMAIN", 13 }, - { "OBJECT_DOMCONSTRAINT", "PG_QUERY__OBJECT_TYPE__OBJECT_DOMCONSTRAINT", 14 }, - { "OBJECT_EVENT_TRIGGER", "PG_QUERY__OBJECT_TYPE__OBJECT_EVENT_TRIGGER", 15 }, - { "OBJECT_EXTENSION", "PG_QUERY__OBJECT_TYPE__OBJECT_EXTENSION", 16 }, - { "OBJECT_FDW", "PG_QUERY__OBJECT_TYPE__OBJECT_FDW", 17 }, - { "OBJECT_FOREIGN_SERVER", "PG_QUERY__OBJECT_TYPE__OBJECT_FOREIGN_SERVER", 18 }, - { "OBJECT_FOREIGN_TABLE", "PG_QUERY__OBJECT_TYPE__OBJECT_FOREIGN_TABLE", 19 }, - { "OBJECT_FUNCTION", "PG_QUERY__OBJECT_TYPE__OBJECT_FUNCTION", 20 }, - { "OBJECT_INDEX", "PG_QUERY__OBJECT_TYPE__OBJECT_INDEX", 21 }, - { "OBJECT_LANGUAGE", "PG_QUERY__OBJECT_TYPE__OBJECT_LANGUAGE", 22 }, - { "OBJECT_LARGEOBJECT", "PG_QUERY__OBJECT_TYPE__OBJECT_LARGEOBJECT", 23 }, - { "OBJECT_MATVIEW", "PG_QUERY__OBJECT_TYPE__OBJECT_MATVIEW", 24 }, - { "OBJECT_OPCLASS", "PG_QUERY__OBJECT_TYPE__OBJECT_OPCLASS", 25 }, - { "OBJECT_OPERATOR", "PG_QUERY__OBJECT_TYPE__OBJECT_OPERATOR", 26 }, - { "OBJECT_OPFAMILY", "PG_QUERY__OBJECT_TYPE__OBJECT_OPFAMILY", 27 }, - { "OBJECT_PARAMETER_ACL", "PG_QUERY__OBJECT_TYPE__OBJECT_PARAMETER_ACL", 28 }, - { "OBJECT_POLICY", "PG_QUERY__OBJECT_TYPE__OBJECT_POLICY", 29 }, - { "OBJECT_PROCEDURE", "PG_QUERY__OBJECT_TYPE__OBJECT_PROCEDURE", 30 }, - { "OBJECT_PUBLICATION", "PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION", 31 }, - { "OBJECT_PUBLICATION_NAMESPACE", "PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION_NAMESPACE", 32 }, - { "OBJECT_PUBLICATION_REL", "PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION_REL", 33 }, - { "OBJECT_ROLE", "PG_QUERY__OBJECT_TYPE__OBJECT_ROLE", 34 }, - { "OBJECT_ROUTINE", "PG_QUERY__OBJECT_TYPE__OBJECT_ROUTINE", 35 }, - { "OBJECT_RULE", "PG_QUERY__OBJECT_TYPE__OBJECT_RULE", 36 }, - { "OBJECT_SCHEMA", "PG_QUERY__OBJECT_TYPE__OBJECT_SCHEMA", 37 }, - { "OBJECT_SEQUENCE", "PG_QUERY__OBJECT_TYPE__OBJECT_SEQUENCE", 38 }, - { "OBJECT_SUBSCRIPTION", "PG_QUERY__OBJECT_TYPE__OBJECT_SUBSCRIPTION", 39 }, - { "OBJECT_STATISTIC_EXT", "PG_QUERY__OBJECT_TYPE__OBJECT_STATISTIC_EXT", 40 }, - { "OBJECT_TABCONSTRAINT", "PG_QUERY__OBJECT_TYPE__OBJECT_TABCONSTRAINT", 41 }, - { "OBJECT_TABLE", "PG_QUERY__OBJECT_TYPE__OBJECT_TABLE", 42 }, - { "OBJECT_TABLESPACE", "PG_QUERY__OBJECT_TYPE__OBJECT_TABLESPACE", 43 }, - { "OBJECT_TRANSFORM", "PG_QUERY__OBJECT_TYPE__OBJECT_TRANSFORM", 44 }, - { "OBJECT_TRIGGER", "PG_QUERY__OBJECT_TYPE__OBJECT_TRIGGER", 45 }, - { "OBJECT_TSCONFIGURATION", "PG_QUERY__OBJECT_TYPE__OBJECT_TSCONFIGURATION", 46 }, - { "OBJECT_TSDICTIONARY", "PG_QUERY__OBJECT_TYPE__OBJECT_TSDICTIONARY", 47 }, - { "OBJECT_TSPARSER", "PG_QUERY__OBJECT_TYPE__OBJECT_TSPARSER", 48 }, - { "OBJECT_TSTEMPLATE", "PG_QUERY__OBJECT_TYPE__OBJECT_TSTEMPLATE", 49 }, - { "OBJECT_TYPE", "PG_QUERY__OBJECT_TYPE__OBJECT_TYPE", 50 }, - { "OBJECT_USER_MAPPING", "PG_QUERY__OBJECT_TYPE__OBJECT_USER_MAPPING", 51 }, - { "OBJECT_VIEW", "PG_QUERY__OBJECT_TYPE__OBJECT_VIEW", 52 }, -}; -static const ProtobufCIntRange pg_query__object_type__value_ranges[] = { -{0, 0},{0, 53} -}; -static const ProtobufCEnumValueIndex pg_query__object_type__enum_values_by_name[53] = -{ - { "OBJECT_ACCESS_METHOD", 1 }, - { "OBJECT_AGGREGATE", 2 }, - { "OBJECT_AMOP", 3 }, - { "OBJECT_AMPROC", 4 }, - { "OBJECT_ATTRIBUTE", 5 }, - { "OBJECT_CAST", 6 }, - { "OBJECT_COLLATION", 8 }, - { "OBJECT_COLUMN", 7 }, - { "OBJECT_CONVERSION", 9 }, - { "OBJECT_DATABASE", 10 }, - { "OBJECT_DEFACL", 12 }, - { "OBJECT_DEFAULT", 11 }, - { "OBJECT_DOMAIN", 13 }, - { "OBJECT_DOMCONSTRAINT", 14 }, - { "OBJECT_EVENT_TRIGGER", 15 }, - { "OBJECT_EXTENSION", 16 }, - { "OBJECT_FDW", 17 }, - { "OBJECT_FOREIGN_SERVER", 18 }, - { "OBJECT_FOREIGN_TABLE", 19 }, - { "OBJECT_FUNCTION", 20 }, - { "OBJECT_INDEX", 21 }, - { "OBJECT_LANGUAGE", 22 }, - { "OBJECT_LARGEOBJECT", 23 }, - { "OBJECT_MATVIEW", 24 }, - { "OBJECT_OPCLASS", 25 }, - { "OBJECT_OPERATOR", 26 }, - { "OBJECT_OPFAMILY", 27 }, - { "OBJECT_PARAMETER_ACL", 28 }, - { "OBJECT_POLICY", 29 }, - { "OBJECT_PROCEDURE", 30 }, - { "OBJECT_PUBLICATION", 31 }, - { "OBJECT_PUBLICATION_NAMESPACE", 32 }, - { "OBJECT_PUBLICATION_REL", 33 }, - { "OBJECT_ROLE", 34 }, - { "OBJECT_ROUTINE", 35 }, - { "OBJECT_RULE", 36 }, - { "OBJECT_SCHEMA", 37 }, - { "OBJECT_SEQUENCE", 38 }, - { "OBJECT_STATISTIC_EXT", 40 }, - { "OBJECT_SUBSCRIPTION", 39 }, - { "OBJECT_TABCONSTRAINT", 41 }, - { "OBJECT_TABLE", 42 }, - { "OBJECT_TABLESPACE", 43 }, - { "OBJECT_TRANSFORM", 44 }, - { "OBJECT_TRIGGER", 45 }, - { "OBJECT_TSCONFIGURATION", 46 }, - { "OBJECT_TSDICTIONARY", 47 }, - { "OBJECT_TSPARSER", 48 }, - { "OBJECT_TSTEMPLATE", 49 }, - { "OBJECT_TYPE", 50 }, - { "OBJECT_TYPE_UNDEFINED", 0 }, - { "OBJECT_USER_MAPPING", 51 }, - { "OBJECT_VIEW", 52 }, -}; -const ProtobufCEnumDescriptor pg_query__object_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.ObjectType", - "ObjectType", - "PgQuery__ObjectType", - "pg_query", - 53, - pg_query__object_type__enum_values_by_number, - 53, - pg_query__object_type__enum_values_by_name, - 1, - pg_query__object_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__drop_behavior__enum_values_by_number[3] = -{ - { "DROP_BEHAVIOR_UNDEFINED", "PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED", 0 }, - { "DROP_RESTRICT", "PG_QUERY__DROP_BEHAVIOR__DROP_RESTRICT", 1 }, - { "DROP_CASCADE", "PG_QUERY__DROP_BEHAVIOR__DROP_CASCADE", 2 }, -}; -static const ProtobufCIntRange pg_query__drop_behavior__value_ranges[] = { -{0, 0},{0, 3} -}; -static const ProtobufCEnumValueIndex pg_query__drop_behavior__enum_values_by_name[3] = -{ - { "DROP_BEHAVIOR_UNDEFINED", 0 }, - { "DROP_CASCADE", 2 }, - { "DROP_RESTRICT", 1 }, -}; -const ProtobufCEnumDescriptor pg_query__drop_behavior__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.DropBehavior", - "DropBehavior", - "PgQuery__DropBehavior", - "pg_query", - 3, - pg_query__drop_behavior__enum_values_by_number, - 3, - pg_query__drop_behavior__enum_values_by_name, - 1, - pg_query__drop_behavior__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__alter_table_type__enum_values_by_number[67] = -{ - { "ALTER_TABLE_TYPE_UNDEFINED", "PG_QUERY__ALTER_TABLE_TYPE__ALTER_TABLE_TYPE_UNDEFINED", 0 }, - { "AT_AddColumn", "PG_QUERY__ALTER_TABLE_TYPE__AT_AddColumn", 1 }, - { "AT_AddColumnToView", "PG_QUERY__ALTER_TABLE_TYPE__AT_AddColumnToView", 2 }, - { "AT_ColumnDefault", "PG_QUERY__ALTER_TABLE_TYPE__AT_ColumnDefault", 3 }, - { "AT_CookedColumnDefault", "PG_QUERY__ALTER_TABLE_TYPE__AT_CookedColumnDefault", 4 }, - { "AT_DropNotNull", "PG_QUERY__ALTER_TABLE_TYPE__AT_DropNotNull", 5 }, - { "AT_SetNotNull", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetNotNull", 6 }, - { "AT_SetExpression", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetExpression", 7 }, - { "AT_DropExpression", "PG_QUERY__ALTER_TABLE_TYPE__AT_DropExpression", 8 }, - { "AT_SetStatistics", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetStatistics", 9 }, - { "AT_SetOptions", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetOptions", 10 }, - { "AT_ResetOptions", "PG_QUERY__ALTER_TABLE_TYPE__AT_ResetOptions", 11 }, - { "AT_SetStorage", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetStorage", 12 }, - { "AT_SetCompression", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetCompression", 13 }, - { "AT_DropColumn", "PG_QUERY__ALTER_TABLE_TYPE__AT_DropColumn", 14 }, - { "AT_AddIndex", "PG_QUERY__ALTER_TABLE_TYPE__AT_AddIndex", 15 }, - { "AT_ReAddIndex", "PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddIndex", 16 }, - { "AT_AddConstraint", "PG_QUERY__ALTER_TABLE_TYPE__AT_AddConstraint", 17 }, - { "AT_ReAddConstraint", "PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddConstraint", 18 }, - { "AT_ReAddDomainConstraint", "PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddDomainConstraint", 19 }, - { "AT_AlterConstraint", "PG_QUERY__ALTER_TABLE_TYPE__AT_AlterConstraint", 20 }, - { "AT_ValidateConstraint", "PG_QUERY__ALTER_TABLE_TYPE__AT_ValidateConstraint", 21 }, - { "AT_AddIndexConstraint", "PG_QUERY__ALTER_TABLE_TYPE__AT_AddIndexConstraint", 22 }, - { "AT_DropConstraint", "PG_QUERY__ALTER_TABLE_TYPE__AT_DropConstraint", 23 }, - { "AT_ReAddComment", "PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddComment", 24 }, - { "AT_AlterColumnType", "PG_QUERY__ALTER_TABLE_TYPE__AT_AlterColumnType", 25 }, - { "AT_AlterColumnGenericOptions", "PG_QUERY__ALTER_TABLE_TYPE__AT_AlterColumnGenericOptions", 26 }, - { "AT_ChangeOwner", "PG_QUERY__ALTER_TABLE_TYPE__AT_ChangeOwner", 27 }, - { "AT_ClusterOn", "PG_QUERY__ALTER_TABLE_TYPE__AT_ClusterOn", 28 }, - { "AT_DropCluster", "PG_QUERY__ALTER_TABLE_TYPE__AT_DropCluster", 29 }, - { "AT_SetLogged", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetLogged", 30 }, - { "AT_SetUnLogged", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetUnLogged", 31 }, - { "AT_DropOids", "PG_QUERY__ALTER_TABLE_TYPE__AT_DropOids", 32 }, - { "AT_SetAccessMethod", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetAccessMethod", 33 }, - { "AT_SetTableSpace", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetTableSpace", 34 }, - { "AT_SetRelOptions", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetRelOptions", 35 }, - { "AT_ResetRelOptions", "PG_QUERY__ALTER_TABLE_TYPE__AT_ResetRelOptions", 36 }, - { "AT_ReplaceRelOptions", "PG_QUERY__ALTER_TABLE_TYPE__AT_ReplaceRelOptions", 37 }, - { "AT_EnableTrig", "PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrig", 38 }, - { "AT_EnableAlwaysTrig", "PG_QUERY__ALTER_TABLE_TYPE__AT_EnableAlwaysTrig", 39 }, - { "AT_EnableReplicaTrig", "PG_QUERY__ALTER_TABLE_TYPE__AT_EnableReplicaTrig", 40 }, - { "AT_DisableTrig", "PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrig", 41 }, - { "AT_EnableTrigAll", "PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrigAll", 42 }, - { "AT_DisableTrigAll", "PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrigAll", 43 }, - { "AT_EnableTrigUser", "PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrigUser", 44 }, - { "AT_DisableTrigUser", "PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrigUser", 45 }, - { "AT_EnableRule", "PG_QUERY__ALTER_TABLE_TYPE__AT_EnableRule", 46 }, - { "AT_EnableAlwaysRule", "PG_QUERY__ALTER_TABLE_TYPE__AT_EnableAlwaysRule", 47 }, - { "AT_EnableReplicaRule", "PG_QUERY__ALTER_TABLE_TYPE__AT_EnableReplicaRule", 48 }, - { "AT_DisableRule", "PG_QUERY__ALTER_TABLE_TYPE__AT_DisableRule", 49 }, - { "AT_AddInherit", "PG_QUERY__ALTER_TABLE_TYPE__AT_AddInherit", 50 }, - { "AT_DropInherit", "PG_QUERY__ALTER_TABLE_TYPE__AT_DropInherit", 51 }, - { "AT_AddOf", "PG_QUERY__ALTER_TABLE_TYPE__AT_AddOf", 52 }, - { "AT_DropOf", "PG_QUERY__ALTER_TABLE_TYPE__AT_DropOf", 53 }, - { "AT_ReplicaIdentity", "PG_QUERY__ALTER_TABLE_TYPE__AT_ReplicaIdentity", 54 }, - { "AT_EnableRowSecurity", "PG_QUERY__ALTER_TABLE_TYPE__AT_EnableRowSecurity", 55 }, - { "AT_DisableRowSecurity", "PG_QUERY__ALTER_TABLE_TYPE__AT_DisableRowSecurity", 56 }, - { "AT_ForceRowSecurity", "PG_QUERY__ALTER_TABLE_TYPE__AT_ForceRowSecurity", 57 }, - { "AT_NoForceRowSecurity", "PG_QUERY__ALTER_TABLE_TYPE__AT_NoForceRowSecurity", 58 }, - { "AT_GenericOptions", "PG_QUERY__ALTER_TABLE_TYPE__AT_GenericOptions", 59 }, - { "AT_AttachPartition", "PG_QUERY__ALTER_TABLE_TYPE__AT_AttachPartition", 60 }, - { "AT_DetachPartition", "PG_QUERY__ALTER_TABLE_TYPE__AT_DetachPartition", 61 }, - { "AT_DetachPartitionFinalize", "PG_QUERY__ALTER_TABLE_TYPE__AT_DetachPartitionFinalize", 62 }, - { "AT_AddIdentity", "PG_QUERY__ALTER_TABLE_TYPE__AT_AddIdentity", 63 }, - { "AT_SetIdentity", "PG_QUERY__ALTER_TABLE_TYPE__AT_SetIdentity", 64 }, - { "AT_DropIdentity", "PG_QUERY__ALTER_TABLE_TYPE__AT_DropIdentity", 65 }, - { "AT_ReAddStatistics", "PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddStatistics", 66 }, -}; -static const ProtobufCIntRange pg_query__alter_table_type__value_ranges[] = { -{0, 0},{0, 67} -}; -static const ProtobufCEnumValueIndex pg_query__alter_table_type__enum_values_by_name[67] = -{ - { "ALTER_TABLE_TYPE_UNDEFINED", 0 }, - { "AT_AddColumn", 1 }, - { "AT_AddColumnToView", 2 }, - { "AT_AddConstraint", 17 }, - { "AT_AddIdentity", 63 }, - { "AT_AddIndex", 15 }, - { "AT_AddIndexConstraint", 22 }, - { "AT_AddInherit", 50 }, - { "AT_AddOf", 52 }, - { "AT_AlterColumnGenericOptions", 26 }, - { "AT_AlterColumnType", 25 }, - { "AT_AlterConstraint", 20 }, - { "AT_AttachPartition", 60 }, - { "AT_ChangeOwner", 27 }, - { "AT_ClusterOn", 28 }, - { "AT_ColumnDefault", 3 }, - { "AT_CookedColumnDefault", 4 }, - { "AT_DetachPartition", 61 }, - { "AT_DetachPartitionFinalize", 62 }, - { "AT_DisableRowSecurity", 56 }, - { "AT_DisableRule", 49 }, - { "AT_DisableTrig", 41 }, - { "AT_DisableTrigAll", 43 }, - { "AT_DisableTrigUser", 45 }, - { "AT_DropCluster", 29 }, - { "AT_DropColumn", 14 }, - { "AT_DropConstraint", 23 }, - { "AT_DropExpression", 8 }, - { "AT_DropIdentity", 65 }, - { "AT_DropInherit", 51 }, - { "AT_DropNotNull", 5 }, - { "AT_DropOf", 53 }, - { "AT_DropOids", 32 }, - { "AT_EnableAlwaysRule", 47 }, - { "AT_EnableAlwaysTrig", 39 }, - { "AT_EnableReplicaRule", 48 }, - { "AT_EnableReplicaTrig", 40 }, - { "AT_EnableRowSecurity", 55 }, - { "AT_EnableRule", 46 }, - { "AT_EnableTrig", 38 }, - { "AT_EnableTrigAll", 42 }, - { "AT_EnableTrigUser", 44 }, - { "AT_ForceRowSecurity", 57 }, - { "AT_GenericOptions", 59 }, - { "AT_NoForceRowSecurity", 58 }, - { "AT_ReAddComment", 24 }, - { "AT_ReAddConstraint", 18 }, - { "AT_ReAddDomainConstraint", 19 }, - { "AT_ReAddIndex", 16 }, - { "AT_ReAddStatistics", 66 }, - { "AT_ReplaceRelOptions", 37 }, - { "AT_ReplicaIdentity", 54 }, - { "AT_ResetOptions", 11 }, - { "AT_ResetRelOptions", 36 }, - { "AT_SetAccessMethod", 33 }, - { "AT_SetCompression", 13 }, - { "AT_SetExpression", 7 }, - { "AT_SetIdentity", 64 }, - { "AT_SetLogged", 30 }, - { "AT_SetNotNull", 6 }, - { "AT_SetOptions", 10 }, - { "AT_SetRelOptions", 35 }, - { "AT_SetStatistics", 9 }, - { "AT_SetStorage", 12 }, - { "AT_SetTableSpace", 34 }, - { "AT_SetUnLogged", 31 }, - { "AT_ValidateConstraint", 21 }, -}; -const ProtobufCEnumDescriptor pg_query__alter_table_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.AlterTableType", - "AlterTableType", - "PgQuery__AlterTableType", - "pg_query", - 67, - pg_query__alter_table_type__enum_values_by_number, - 67, - pg_query__alter_table_type__enum_values_by_name, - 1, - pg_query__alter_table_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__grant_target_type__enum_values_by_number[4] = -{ - { "GRANT_TARGET_TYPE_UNDEFINED", "PG_QUERY__GRANT_TARGET_TYPE__GRANT_TARGET_TYPE_UNDEFINED", 0 }, - { "ACL_TARGET_OBJECT", "PG_QUERY__GRANT_TARGET_TYPE__ACL_TARGET_OBJECT", 1 }, - { "ACL_TARGET_ALL_IN_SCHEMA", "PG_QUERY__GRANT_TARGET_TYPE__ACL_TARGET_ALL_IN_SCHEMA", 2 }, - { "ACL_TARGET_DEFAULTS", "PG_QUERY__GRANT_TARGET_TYPE__ACL_TARGET_DEFAULTS", 3 }, -}; -static const ProtobufCIntRange pg_query__grant_target_type__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__grant_target_type__enum_values_by_name[4] = -{ - { "ACL_TARGET_ALL_IN_SCHEMA", 2 }, - { "ACL_TARGET_DEFAULTS", 3 }, - { "ACL_TARGET_OBJECT", 1 }, - { "GRANT_TARGET_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__grant_target_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.GrantTargetType", - "GrantTargetType", - "PgQuery__GrantTargetType", - "pg_query", - 4, - pg_query__grant_target_type__enum_values_by_number, - 4, - pg_query__grant_target_type__enum_values_by_name, - 1, - pg_query__grant_target_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__variable_set_kind__enum_values_by_number[7] = -{ - { "VARIABLE_SET_KIND_UNDEFINED", "PG_QUERY__VARIABLE_SET_KIND__VARIABLE_SET_KIND_UNDEFINED", 0 }, - { "VAR_SET_VALUE", "PG_QUERY__VARIABLE_SET_KIND__VAR_SET_VALUE", 1 }, - { "VAR_SET_DEFAULT", "PG_QUERY__VARIABLE_SET_KIND__VAR_SET_DEFAULT", 2 }, - { "VAR_SET_CURRENT", "PG_QUERY__VARIABLE_SET_KIND__VAR_SET_CURRENT", 3 }, - { "VAR_SET_MULTI", "PG_QUERY__VARIABLE_SET_KIND__VAR_SET_MULTI", 4 }, - { "VAR_RESET", "PG_QUERY__VARIABLE_SET_KIND__VAR_RESET", 5 }, - { "VAR_RESET_ALL", "PG_QUERY__VARIABLE_SET_KIND__VAR_RESET_ALL", 6 }, -}; -static const ProtobufCIntRange pg_query__variable_set_kind__value_ranges[] = { -{0, 0},{0, 7} -}; -static const ProtobufCEnumValueIndex pg_query__variable_set_kind__enum_values_by_name[7] = -{ - { "VARIABLE_SET_KIND_UNDEFINED", 0 }, - { "VAR_RESET", 5 }, - { "VAR_RESET_ALL", 6 }, - { "VAR_SET_CURRENT", 3 }, - { "VAR_SET_DEFAULT", 2 }, - { "VAR_SET_MULTI", 4 }, - { "VAR_SET_VALUE", 1 }, -}; -const ProtobufCEnumDescriptor pg_query__variable_set_kind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.VariableSetKind", - "VariableSetKind", - "PgQuery__VariableSetKind", - "pg_query", - 7, - pg_query__variable_set_kind__enum_values_by_number, - 7, - pg_query__variable_set_kind__enum_values_by_name, - 1, - pg_query__variable_set_kind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__constr_type__enum_values_by_number[17] = -{ - { "CONSTR_TYPE_UNDEFINED", "PG_QUERY__CONSTR_TYPE__CONSTR_TYPE_UNDEFINED", 0 }, - { "CONSTR_NULL", "PG_QUERY__CONSTR_TYPE__CONSTR_NULL", 1 }, - { "CONSTR_NOTNULL", "PG_QUERY__CONSTR_TYPE__CONSTR_NOTNULL", 2 }, - { "CONSTR_DEFAULT", "PG_QUERY__CONSTR_TYPE__CONSTR_DEFAULT", 3 }, - { "CONSTR_IDENTITY", "PG_QUERY__CONSTR_TYPE__CONSTR_IDENTITY", 4 }, - { "CONSTR_GENERATED", "PG_QUERY__CONSTR_TYPE__CONSTR_GENERATED", 5 }, - { "CONSTR_CHECK", "PG_QUERY__CONSTR_TYPE__CONSTR_CHECK", 6 }, - { "CONSTR_PRIMARY", "PG_QUERY__CONSTR_TYPE__CONSTR_PRIMARY", 7 }, - { "CONSTR_UNIQUE", "PG_QUERY__CONSTR_TYPE__CONSTR_UNIQUE", 8 }, - { "CONSTR_EXCLUSION", "PG_QUERY__CONSTR_TYPE__CONSTR_EXCLUSION", 9 }, - { "CONSTR_FOREIGN", "PG_QUERY__CONSTR_TYPE__CONSTR_FOREIGN", 10 }, - { "CONSTR_ATTR_DEFERRABLE", "PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_DEFERRABLE", 11 }, - { "CONSTR_ATTR_NOT_DEFERRABLE", "PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_NOT_DEFERRABLE", 12 }, - { "CONSTR_ATTR_DEFERRED", "PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_DEFERRED", 13 }, - { "CONSTR_ATTR_IMMEDIATE", "PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_IMMEDIATE", 14 }, - { "CONSTR_ATTR_ENFORCED", "PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_ENFORCED", 15 }, - { "CONSTR_ATTR_NOT_ENFORCED", "PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_NOT_ENFORCED", 16 }, -}; -static const ProtobufCIntRange pg_query__constr_type__value_ranges[] = { -{0, 0},{0, 17} -}; -static const ProtobufCEnumValueIndex pg_query__constr_type__enum_values_by_name[17] = -{ - { "CONSTR_ATTR_DEFERRABLE", 11 }, - { "CONSTR_ATTR_DEFERRED", 13 }, - { "CONSTR_ATTR_ENFORCED", 15 }, - { "CONSTR_ATTR_IMMEDIATE", 14 }, - { "CONSTR_ATTR_NOT_DEFERRABLE", 12 }, - { "CONSTR_ATTR_NOT_ENFORCED", 16 }, - { "CONSTR_CHECK", 6 }, - { "CONSTR_DEFAULT", 3 }, - { "CONSTR_EXCLUSION", 9 }, - { "CONSTR_FOREIGN", 10 }, - { "CONSTR_GENERATED", 5 }, - { "CONSTR_IDENTITY", 4 }, - { "CONSTR_NOTNULL", 2 }, - { "CONSTR_NULL", 1 }, - { "CONSTR_PRIMARY", 7 }, - { "CONSTR_TYPE_UNDEFINED", 0 }, - { "CONSTR_UNIQUE", 8 }, -}; -const ProtobufCEnumDescriptor pg_query__constr_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.ConstrType", - "ConstrType", - "PgQuery__ConstrType", - "pg_query", - 17, - pg_query__constr_type__enum_values_by_number, - 17, - pg_query__constr_type__enum_values_by_name, - 1, - pg_query__constr_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__import_foreign_schema_type__enum_values_by_number[4] = -{ - { "IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED", "PG_QUERY__IMPORT_FOREIGN_SCHEMA_TYPE__IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED", 0 }, - { "FDW_IMPORT_SCHEMA_ALL", "PG_QUERY__IMPORT_FOREIGN_SCHEMA_TYPE__FDW_IMPORT_SCHEMA_ALL", 1 }, - { "FDW_IMPORT_SCHEMA_LIMIT_TO", "PG_QUERY__IMPORT_FOREIGN_SCHEMA_TYPE__FDW_IMPORT_SCHEMA_LIMIT_TO", 2 }, - { "FDW_IMPORT_SCHEMA_EXCEPT", "PG_QUERY__IMPORT_FOREIGN_SCHEMA_TYPE__FDW_IMPORT_SCHEMA_EXCEPT", 3 }, -}; -static const ProtobufCIntRange pg_query__import_foreign_schema_type__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__import_foreign_schema_type__enum_values_by_name[4] = -{ - { "FDW_IMPORT_SCHEMA_ALL", 1 }, - { "FDW_IMPORT_SCHEMA_EXCEPT", 3 }, - { "FDW_IMPORT_SCHEMA_LIMIT_TO", 2 }, - { "IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__import_foreign_schema_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.ImportForeignSchemaType", - "ImportForeignSchemaType", - "PgQuery__ImportForeignSchemaType", - "pg_query", - 4, - pg_query__import_foreign_schema_type__enum_values_by_number, - 4, - pg_query__import_foreign_schema_type__enum_values_by_name, - 1, - pg_query__import_foreign_schema_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__role_stmt_type__enum_values_by_number[4] = -{ - { "ROLE_STMT_TYPE_UNDEFINED", "PG_QUERY__ROLE_STMT_TYPE__ROLE_STMT_TYPE_UNDEFINED", 0 }, - { "ROLESTMT_ROLE", "PG_QUERY__ROLE_STMT_TYPE__ROLESTMT_ROLE", 1 }, - { "ROLESTMT_USER", "PG_QUERY__ROLE_STMT_TYPE__ROLESTMT_USER", 2 }, - { "ROLESTMT_GROUP", "PG_QUERY__ROLE_STMT_TYPE__ROLESTMT_GROUP", 3 }, -}; -static const ProtobufCIntRange pg_query__role_stmt_type__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__role_stmt_type__enum_values_by_name[4] = -{ - { "ROLESTMT_GROUP", 3 }, - { "ROLESTMT_ROLE", 1 }, - { "ROLESTMT_USER", 2 }, - { "ROLE_STMT_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__role_stmt_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.RoleStmtType", - "RoleStmtType", - "PgQuery__RoleStmtType", - "pg_query", - 4, - pg_query__role_stmt_type__enum_values_by_number, - 4, - pg_query__role_stmt_type__enum_values_by_name, - 1, - pg_query__role_stmt_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__fetch_direction__enum_values_by_number[5] = -{ - { "FETCH_DIRECTION_UNDEFINED", "PG_QUERY__FETCH_DIRECTION__FETCH_DIRECTION_UNDEFINED", 0 }, - { "FETCH_FORWARD", "PG_QUERY__FETCH_DIRECTION__FETCH_FORWARD", 1 }, - { "FETCH_BACKWARD", "PG_QUERY__FETCH_DIRECTION__FETCH_BACKWARD", 2 }, - { "FETCH_ABSOLUTE", "PG_QUERY__FETCH_DIRECTION__FETCH_ABSOLUTE", 3 }, - { "FETCH_RELATIVE", "PG_QUERY__FETCH_DIRECTION__FETCH_RELATIVE", 4 }, -}; -static const ProtobufCIntRange pg_query__fetch_direction__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__fetch_direction__enum_values_by_name[5] = -{ - { "FETCH_ABSOLUTE", 3 }, - { "FETCH_BACKWARD", 2 }, - { "FETCH_DIRECTION_UNDEFINED", 0 }, - { "FETCH_FORWARD", 1 }, - { "FETCH_RELATIVE", 4 }, -}; -const ProtobufCEnumDescriptor pg_query__fetch_direction__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.FetchDirection", - "FetchDirection", - "PgQuery__FetchDirection", - "pg_query", - 5, - pg_query__fetch_direction__enum_values_by_number, - 5, - pg_query__fetch_direction__enum_values_by_name, - 1, - pg_query__fetch_direction__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__function_parameter_mode__enum_values_by_number[7] = -{ - { "FUNCTION_PARAMETER_MODE_UNDEFINED", "PG_QUERY__FUNCTION_PARAMETER_MODE__FUNCTION_PARAMETER_MODE_UNDEFINED", 0 }, - { "FUNC_PARAM_IN", "PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_IN", 1 }, - { "FUNC_PARAM_OUT", "PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_OUT", 2 }, - { "FUNC_PARAM_INOUT", "PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_INOUT", 3 }, - { "FUNC_PARAM_VARIADIC", "PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_VARIADIC", 4 }, - { "FUNC_PARAM_TABLE", "PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_TABLE", 5 }, - { "FUNC_PARAM_DEFAULT", "PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_DEFAULT", 6 }, -}; -static const ProtobufCIntRange pg_query__function_parameter_mode__value_ranges[] = { -{0, 0},{0, 7} -}; -static const ProtobufCEnumValueIndex pg_query__function_parameter_mode__enum_values_by_name[7] = -{ - { "FUNCTION_PARAMETER_MODE_UNDEFINED", 0 }, - { "FUNC_PARAM_DEFAULT", 6 }, - { "FUNC_PARAM_IN", 1 }, - { "FUNC_PARAM_INOUT", 3 }, - { "FUNC_PARAM_OUT", 2 }, - { "FUNC_PARAM_TABLE", 5 }, - { "FUNC_PARAM_VARIADIC", 4 }, -}; -const ProtobufCEnumDescriptor pg_query__function_parameter_mode__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.FunctionParameterMode", - "FunctionParameterMode", - "PgQuery__FunctionParameterMode", - "pg_query", - 7, - pg_query__function_parameter_mode__enum_values_by_number, - 7, - pg_query__function_parameter_mode__enum_values_by_name, - 1, - pg_query__function_parameter_mode__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__transaction_stmt_kind__enum_values_by_number[11] = -{ - { "TRANSACTION_STMT_KIND_UNDEFINED", "PG_QUERY__TRANSACTION_STMT_KIND__TRANSACTION_STMT_KIND_UNDEFINED", 0 }, - { "TRANS_STMT_BEGIN", "PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_BEGIN", 1 }, - { "TRANS_STMT_START", "PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_START", 2 }, - { "TRANS_STMT_COMMIT", "PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_COMMIT", 3 }, - { "TRANS_STMT_ROLLBACK", "PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_ROLLBACK", 4 }, - { "TRANS_STMT_SAVEPOINT", "PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_SAVEPOINT", 5 }, - { "TRANS_STMT_RELEASE", "PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_RELEASE", 6 }, - { "TRANS_STMT_ROLLBACK_TO", "PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_ROLLBACK_TO", 7 }, - { "TRANS_STMT_PREPARE", "PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_PREPARE", 8 }, - { "TRANS_STMT_COMMIT_PREPARED", "PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_COMMIT_PREPARED", 9 }, - { "TRANS_STMT_ROLLBACK_PREPARED", "PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_ROLLBACK_PREPARED", 10 }, -}; -static const ProtobufCIntRange pg_query__transaction_stmt_kind__value_ranges[] = { -{0, 0},{0, 11} -}; -static const ProtobufCEnumValueIndex pg_query__transaction_stmt_kind__enum_values_by_name[11] = -{ - { "TRANSACTION_STMT_KIND_UNDEFINED", 0 }, - { "TRANS_STMT_BEGIN", 1 }, - { "TRANS_STMT_COMMIT", 3 }, - { "TRANS_STMT_COMMIT_PREPARED", 9 }, - { "TRANS_STMT_PREPARE", 8 }, - { "TRANS_STMT_RELEASE", 6 }, - { "TRANS_STMT_ROLLBACK", 4 }, - { "TRANS_STMT_ROLLBACK_PREPARED", 10 }, - { "TRANS_STMT_ROLLBACK_TO", 7 }, - { "TRANS_STMT_SAVEPOINT", 5 }, - { "TRANS_STMT_START", 2 }, -}; -const ProtobufCEnumDescriptor pg_query__transaction_stmt_kind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.TransactionStmtKind", - "TransactionStmtKind", - "PgQuery__TransactionStmtKind", - "pg_query", - 11, - pg_query__transaction_stmt_kind__enum_values_by_number, - 11, - pg_query__transaction_stmt_kind__enum_values_by_name, - 1, - pg_query__transaction_stmt_kind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__view_check_option__enum_values_by_number[4] = -{ - { "VIEW_CHECK_OPTION_UNDEFINED", "PG_QUERY__VIEW_CHECK_OPTION__VIEW_CHECK_OPTION_UNDEFINED", 0 }, - { "NO_CHECK_OPTION", "PG_QUERY__VIEW_CHECK_OPTION__NO_CHECK_OPTION", 1 }, - { "LOCAL_CHECK_OPTION", "PG_QUERY__VIEW_CHECK_OPTION__LOCAL_CHECK_OPTION", 2 }, - { "CASCADED_CHECK_OPTION", "PG_QUERY__VIEW_CHECK_OPTION__CASCADED_CHECK_OPTION", 3 }, -}; -static const ProtobufCIntRange pg_query__view_check_option__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__view_check_option__enum_values_by_name[4] = -{ - { "CASCADED_CHECK_OPTION", 3 }, - { "LOCAL_CHECK_OPTION", 2 }, - { "NO_CHECK_OPTION", 1 }, - { "VIEW_CHECK_OPTION_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__view_check_option__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.ViewCheckOption", - "ViewCheckOption", - "PgQuery__ViewCheckOption", - "pg_query", - 4, - pg_query__view_check_option__enum_values_by_number, - 4, - pg_query__view_check_option__enum_values_by_name, - 1, - pg_query__view_check_option__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__discard_mode__enum_values_by_number[5] = -{ - { "DISCARD_MODE_UNDEFINED", "PG_QUERY__DISCARD_MODE__DISCARD_MODE_UNDEFINED", 0 }, - { "DISCARD_ALL", "PG_QUERY__DISCARD_MODE__DISCARD_ALL", 1 }, - { "DISCARD_PLANS", "PG_QUERY__DISCARD_MODE__DISCARD_PLANS", 2 }, - { "DISCARD_SEQUENCES", "PG_QUERY__DISCARD_MODE__DISCARD_SEQUENCES", 3 }, - { "DISCARD_TEMP", "PG_QUERY__DISCARD_MODE__DISCARD_TEMP", 4 }, -}; -static const ProtobufCIntRange pg_query__discard_mode__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__discard_mode__enum_values_by_name[5] = -{ - { "DISCARD_ALL", 1 }, - { "DISCARD_MODE_UNDEFINED", 0 }, - { "DISCARD_PLANS", 2 }, - { "DISCARD_SEQUENCES", 3 }, - { "DISCARD_TEMP", 4 }, -}; -const ProtobufCEnumDescriptor pg_query__discard_mode__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.DiscardMode", - "DiscardMode", - "PgQuery__DiscardMode", - "pg_query", - 5, - pg_query__discard_mode__enum_values_by_number, - 5, - pg_query__discard_mode__enum_values_by_name, - 1, - pg_query__discard_mode__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__reindex_object_type__enum_values_by_number[6] = -{ - { "REINDEX_OBJECT_TYPE_UNDEFINED", "PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_TYPE_UNDEFINED", 0 }, - { "REINDEX_OBJECT_INDEX", "PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_INDEX", 1 }, - { "REINDEX_OBJECT_TABLE", "PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_TABLE", 2 }, - { "REINDEX_OBJECT_SCHEMA", "PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_SCHEMA", 3 }, - { "REINDEX_OBJECT_SYSTEM", "PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_SYSTEM", 4 }, - { "REINDEX_OBJECT_DATABASE", "PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_DATABASE", 5 }, -}; -static const ProtobufCIntRange pg_query__reindex_object_type__value_ranges[] = { -{0, 0},{0, 6} -}; -static const ProtobufCEnumValueIndex pg_query__reindex_object_type__enum_values_by_name[6] = -{ - { "REINDEX_OBJECT_DATABASE", 5 }, - { "REINDEX_OBJECT_INDEX", 1 }, - { "REINDEX_OBJECT_SCHEMA", 3 }, - { "REINDEX_OBJECT_SYSTEM", 4 }, - { "REINDEX_OBJECT_TABLE", 2 }, - { "REINDEX_OBJECT_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__reindex_object_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.ReindexObjectType", - "ReindexObjectType", - "PgQuery__ReindexObjectType", - "pg_query", - 6, - pg_query__reindex_object_type__enum_values_by_number, - 6, - pg_query__reindex_object_type__enum_values_by_name, - 1, - pg_query__reindex_object_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__alter_tsconfig_type__enum_values_by_number[6] = -{ - { "ALTER_TSCONFIG_TYPE_UNDEFINED", "PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_TYPE_UNDEFINED", 0 }, - { "ALTER_TSCONFIG_ADD_MAPPING", "PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_ADD_MAPPING", 1 }, - { "ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN", "PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN", 2 }, - { "ALTER_TSCONFIG_REPLACE_DICT", "PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_REPLACE_DICT", 3 }, - { "ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN", "PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN", 4 }, - { "ALTER_TSCONFIG_DROP_MAPPING", "PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_DROP_MAPPING", 5 }, -}; -static const ProtobufCIntRange pg_query__alter_tsconfig_type__value_ranges[] = { -{0, 0},{0, 6} -}; -static const ProtobufCEnumValueIndex pg_query__alter_tsconfig_type__enum_values_by_name[6] = -{ - { "ALTER_TSCONFIG_ADD_MAPPING", 1 }, - { "ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN", 2 }, - { "ALTER_TSCONFIG_DROP_MAPPING", 5 }, - { "ALTER_TSCONFIG_REPLACE_DICT", 3 }, - { "ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN", 4 }, - { "ALTER_TSCONFIG_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__alter_tsconfig_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.AlterTSConfigType", - "AlterTSConfigType", - "PgQuery__AlterTSConfigType", - "pg_query", - 6, - pg_query__alter_tsconfig_type__enum_values_by_number, - 6, - pg_query__alter_tsconfig_type__enum_values_by_name, - 1, - pg_query__alter_tsconfig_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__publication_obj_spec_type__enum_values_by_number[5] = -{ - { "PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED", "PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED", 0 }, - { "PUBLICATIONOBJ_TABLE", "PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_TABLE", 1 }, - { "PUBLICATIONOBJ_TABLES_IN_SCHEMA", "PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_TABLES_IN_SCHEMA", 2 }, - { "PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA", "PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA", 3 }, - { "PUBLICATIONOBJ_CONTINUATION", "PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_CONTINUATION", 4 }, -}; -static const ProtobufCIntRange pg_query__publication_obj_spec_type__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__publication_obj_spec_type__enum_values_by_name[5] = -{ - { "PUBLICATIONOBJ_CONTINUATION", 4 }, - { "PUBLICATIONOBJ_TABLE", 1 }, - { "PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA", 3 }, - { "PUBLICATIONOBJ_TABLES_IN_SCHEMA", 2 }, - { "PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__publication_obj_spec_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.PublicationObjSpecType", - "PublicationObjSpecType", - "PgQuery__PublicationObjSpecType", - "pg_query", - 5, - pg_query__publication_obj_spec_type__enum_values_by_number, - 5, - pg_query__publication_obj_spec_type__enum_values_by_name, - 1, - pg_query__publication_obj_spec_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__alter_publication_action__enum_values_by_number[4] = -{ - { "ALTER_PUBLICATION_ACTION_UNDEFINED", "PG_QUERY__ALTER_PUBLICATION_ACTION__ALTER_PUBLICATION_ACTION_UNDEFINED", 0 }, - { "AP_AddObjects", "PG_QUERY__ALTER_PUBLICATION_ACTION__AP_AddObjects", 1 }, - { "AP_DropObjects", "PG_QUERY__ALTER_PUBLICATION_ACTION__AP_DropObjects", 2 }, - { "AP_SetObjects", "PG_QUERY__ALTER_PUBLICATION_ACTION__AP_SetObjects", 3 }, -}; -static const ProtobufCIntRange pg_query__alter_publication_action__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__alter_publication_action__enum_values_by_name[4] = -{ - { "ALTER_PUBLICATION_ACTION_UNDEFINED", 0 }, - { "AP_AddObjects", 1 }, - { "AP_DropObjects", 2 }, - { "AP_SetObjects", 3 }, -}; -const ProtobufCEnumDescriptor pg_query__alter_publication_action__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.AlterPublicationAction", - "AlterPublicationAction", - "PgQuery__AlterPublicationAction", - "pg_query", - 4, - pg_query__alter_publication_action__enum_values_by_number, - 4, - pg_query__alter_publication_action__enum_values_by_name, - 1, - pg_query__alter_publication_action__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__alter_subscription_type__enum_values_by_number[9] = -{ - { "ALTER_SUBSCRIPTION_TYPE_UNDEFINED", "PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_TYPE_UNDEFINED", 0 }, - { "ALTER_SUBSCRIPTION_OPTIONS", "PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_OPTIONS", 1 }, - { "ALTER_SUBSCRIPTION_CONNECTION", "PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_CONNECTION", 2 }, - { "ALTER_SUBSCRIPTION_SET_PUBLICATION", "PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_SET_PUBLICATION", 3 }, - { "ALTER_SUBSCRIPTION_ADD_PUBLICATION", "PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_ADD_PUBLICATION", 4 }, - { "ALTER_SUBSCRIPTION_DROP_PUBLICATION", "PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_DROP_PUBLICATION", 5 }, - { "ALTER_SUBSCRIPTION_REFRESH", "PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_REFRESH", 6 }, - { "ALTER_SUBSCRIPTION_ENABLED", "PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_ENABLED", 7 }, - { "ALTER_SUBSCRIPTION_SKIP", "PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_SKIP", 8 }, -}; -static const ProtobufCIntRange pg_query__alter_subscription_type__value_ranges[] = { -{0, 0},{0, 9} -}; -static const ProtobufCEnumValueIndex pg_query__alter_subscription_type__enum_values_by_name[9] = -{ - { "ALTER_SUBSCRIPTION_ADD_PUBLICATION", 4 }, - { "ALTER_SUBSCRIPTION_CONNECTION", 2 }, - { "ALTER_SUBSCRIPTION_DROP_PUBLICATION", 5 }, - { "ALTER_SUBSCRIPTION_ENABLED", 7 }, - { "ALTER_SUBSCRIPTION_OPTIONS", 1 }, - { "ALTER_SUBSCRIPTION_REFRESH", 6 }, - { "ALTER_SUBSCRIPTION_SET_PUBLICATION", 3 }, - { "ALTER_SUBSCRIPTION_SKIP", 8 }, - { "ALTER_SUBSCRIPTION_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__alter_subscription_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.AlterSubscriptionType", - "AlterSubscriptionType", - "PgQuery__AlterSubscriptionType", - "pg_query", - 9, - pg_query__alter_subscription_type__enum_values_by_number, - 9, - pg_query__alter_subscription_type__enum_values_by_name, - 1, - pg_query__alter_subscription_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__overriding_kind__enum_values_by_number[4] = -{ - { "OVERRIDING_KIND_UNDEFINED", "PG_QUERY__OVERRIDING_KIND__OVERRIDING_KIND_UNDEFINED", 0 }, - { "OVERRIDING_NOT_SET", "PG_QUERY__OVERRIDING_KIND__OVERRIDING_NOT_SET", 1 }, - { "OVERRIDING_USER_VALUE", "PG_QUERY__OVERRIDING_KIND__OVERRIDING_USER_VALUE", 2 }, - { "OVERRIDING_SYSTEM_VALUE", "PG_QUERY__OVERRIDING_KIND__OVERRIDING_SYSTEM_VALUE", 3 }, -}; -static const ProtobufCIntRange pg_query__overriding_kind__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__overriding_kind__enum_values_by_name[4] = -{ - { "OVERRIDING_KIND_UNDEFINED", 0 }, - { "OVERRIDING_NOT_SET", 1 }, - { "OVERRIDING_SYSTEM_VALUE", 3 }, - { "OVERRIDING_USER_VALUE", 2 }, -}; -const ProtobufCEnumDescriptor pg_query__overriding_kind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.OverridingKind", - "OverridingKind", - "PgQuery__OverridingKind", - "pg_query", - 4, - pg_query__overriding_kind__enum_values_by_number, - 4, - pg_query__overriding_kind__enum_values_by_name, - 1, - pg_query__overriding_kind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__on_commit_action__enum_values_by_number[5] = -{ - { "ON_COMMIT_ACTION_UNDEFINED", "PG_QUERY__ON_COMMIT_ACTION__ON_COMMIT_ACTION_UNDEFINED", 0 }, - { "ONCOMMIT_NOOP", "PG_QUERY__ON_COMMIT_ACTION__ONCOMMIT_NOOP", 1 }, - { "ONCOMMIT_PRESERVE_ROWS", "PG_QUERY__ON_COMMIT_ACTION__ONCOMMIT_PRESERVE_ROWS", 2 }, - { "ONCOMMIT_DELETE_ROWS", "PG_QUERY__ON_COMMIT_ACTION__ONCOMMIT_DELETE_ROWS", 3 }, - { "ONCOMMIT_DROP", "PG_QUERY__ON_COMMIT_ACTION__ONCOMMIT_DROP", 4 }, -}; -static const ProtobufCIntRange pg_query__on_commit_action__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__on_commit_action__enum_values_by_name[5] = -{ - { "ONCOMMIT_DELETE_ROWS", 3 }, - { "ONCOMMIT_DROP", 4 }, - { "ONCOMMIT_NOOP", 1 }, - { "ONCOMMIT_PRESERVE_ROWS", 2 }, - { "ON_COMMIT_ACTION_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__on_commit_action__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.OnCommitAction", - "OnCommitAction", - "PgQuery__OnCommitAction", - "pg_query", - 5, - pg_query__on_commit_action__enum_values_by_number, - 5, - pg_query__on_commit_action__enum_values_by_name, - 1, - pg_query__on_commit_action__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__table_func_type__enum_values_by_number[3] = -{ - { "TABLE_FUNC_TYPE_UNDEFINED", "PG_QUERY__TABLE_FUNC_TYPE__TABLE_FUNC_TYPE_UNDEFINED", 0 }, - { "TFT_XMLTABLE", "PG_QUERY__TABLE_FUNC_TYPE__TFT_XMLTABLE", 1 }, - { "TFT_JSON_TABLE", "PG_QUERY__TABLE_FUNC_TYPE__TFT_JSON_TABLE", 2 }, -}; -static const ProtobufCIntRange pg_query__table_func_type__value_ranges[] = { -{0, 0},{0, 3} -}; -static const ProtobufCEnumValueIndex pg_query__table_func_type__enum_values_by_name[3] = -{ - { "TABLE_FUNC_TYPE_UNDEFINED", 0 }, - { "TFT_JSON_TABLE", 2 }, - { "TFT_XMLTABLE", 1 }, -}; -const ProtobufCEnumDescriptor pg_query__table_func_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.TableFuncType", - "TableFuncType", - "PgQuery__TableFuncType", - "pg_query", - 3, - pg_query__table_func_type__enum_values_by_number, - 3, - pg_query__table_func_type__enum_values_by_name, - 1, - pg_query__table_func_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__var_returning_type__enum_values_by_number[4] = -{ - { "VAR_RETURNING_TYPE_UNDEFINED", "PG_QUERY__VAR_RETURNING_TYPE__VAR_RETURNING_TYPE_UNDEFINED", 0 }, - { "VAR_RETURNING_DEFAULT", "PG_QUERY__VAR_RETURNING_TYPE__VAR_RETURNING_DEFAULT", 1 }, - { "VAR_RETURNING_OLD", "PG_QUERY__VAR_RETURNING_TYPE__VAR_RETURNING_OLD", 2 }, - { "VAR_RETURNING_NEW", "PG_QUERY__VAR_RETURNING_TYPE__VAR_RETURNING_NEW", 3 }, -}; -static const ProtobufCIntRange pg_query__var_returning_type__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__var_returning_type__enum_values_by_name[4] = -{ - { "VAR_RETURNING_DEFAULT", 1 }, - { "VAR_RETURNING_NEW", 3 }, - { "VAR_RETURNING_OLD", 2 }, - { "VAR_RETURNING_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__var_returning_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.VarReturningType", - "VarReturningType", - "PgQuery__VarReturningType", - "pg_query", - 4, - pg_query__var_returning_type__enum_values_by_number, - 4, - pg_query__var_returning_type__enum_values_by_name, - 1, - pg_query__var_returning_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__param_kind__enum_values_by_number[5] = -{ - { "PARAM_KIND_UNDEFINED", "PG_QUERY__PARAM_KIND__PARAM_KIND_UNDEFINED", 0 }, - { "PARAM_EXTERN", "PG_QUERY__PARAM_KIND__PARAM_EXTERN", 1 }, - { "PARAM_EXEC", "PG_QUERY__PARAM_KIND__PARAM_EXEC", 2 }, - { "PARAM_SUBLINK", "PG_QUERY__PARAM_KIND__PARAM_SUBLINK", 3 }, - { "PARAM_MULTIEXPR", "PG_QUERY__PARAM_KIND__PARAM_MULTIEXPR", 4 }, -}; -static const ProtobufCIntRange pg_query__param_kind__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__param_kind__enum_values_by_name[5] = -{ - { "PARAM_EXEC", 2 }, - { "PARAM_EXTERN", 1 }, - { "PARAM_KIND_UNDEFINED", 0 }, - { "PARAM_MULTIEXPR", 4 }, - { "PARAM_SUBLINK", 3 }, -}; -const ProtobufCEnumDescriptor pg_query__param_kind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.ParamKind", - "ParamKind", - "PgQuery__ParamKind", - "pg_query", - 5, - pg_query__param_kind__enum_values_by_number, - 5, - pg_query__param_kind__enum_values_by_name, - 1, - pg_query__param_kind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__coercion_context__enum_values_by_number[5] = -{ - { "COERCION_CONTEXT_UNDEFINED", "PG_QUERY__COERCION_CONTEXT__COERCION_CONTEXT_UNDEFINED", 0 }, - { "COERCION_IMPLICIT", "PG_QUERY__COERCION_CONTEXT__COERCION_IMPLICIT", 1 }, - { "COERCION_ASSIGNMENT", "PG_QUERY__COERCION_CONTEXT__COERCION_ASSIGNMENT", 2 }, - { "COERCION_PLPGSQL", "PG_QUERY__COERCION_CONTEXT__COERCION_PLPGSQL", 3 }, - { "COERCION_EXPLICIT", "PG_QUERY__COERCION_CONTEXT__COERCION_EXPLICIT", 4 }, -}; -static const ProtobufCIntRange pg_query__coercion_context__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__coercion_context__enum_values_by_name[5] = -{ - { "COERCION_ASSIGNMENT", 2 }, - { "COERCION_CONTEXT_UNDEFINED", 0 }, - { "COERCION_EXPLICIT", 4 }, - { "COERCION_IMPLICIT", 1 }, - { "COERCION_PLPGSQL", 3 }, -}; -const ProtobufCEnumDescriptor pg_query__coercion_context__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.CoercionContext", - "CoercionContext", - "PgQuery__CoercionContext", - "pg_query", - 5, - pg_query__coercion_context__enum_values_by_number, - 5, - pg_query__coercion_context__enum_values_by_name, - 1, - pg_query__coercion_context__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__coercion_form__enum_values_by_number[5] = -{ - { "COERCION_FORM_UNDEFINED", "PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED", 0 }, - { "COERCE_EXPLICIT_CALL", "PG_QUERY__COERCION_FORM__COERCE_EXPLICIT_CALL", 1 }, - { "COERCE_EXPLICIT_CAST", "PG_QUERY__COERCION_FORM__COERCE_EXPLICIT_CAST", 2 }, - { "COERCE_IMPLICIT_CAST", "PG_QUERY__COERCION_FORM__COERCE_IMPLICIT_CAST", 3 }, - { "COERCE_SQL_SYNTAX", "PG_QUERY__COERCION_FORM__COERCE_SQL_SYNTAX", 4 }, -}; -static const ProtobufCIntRange pg_query__coercion_form__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__coercion_form__enum_values_by_name[5] = -{ - { "COERCE_EXPLICIT_CALL", 1 }, - { "COERCE_EXPLICIT_CAST", 2 }, - { "COERCE_IMPLICIT_CAST", 3 }, - { "COERCE_SQL_SYNTAX", 4 }, - { "COERCION_FORM_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__coercion_form__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.CoercionForm", - "CoercionForm", - "PgQuery__CoercionForm", - "pg_query", - 5, - pg_query__coercion_form__enum_values_by_number, - 5, - pg_query__coercion_form__enum_values_by_name, - 1, - pg_query__coercion_form__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__bool_expr_type__enum_values_by_number[4] = -{ - { "BOOL_EXPR_TYPE_UNDEFINED", "PG_QUERY__BOOL_EXPR_TYPE__BOOL_EXPR_TYPE_UNDEFINED", 0 }, - { "AND_EXPR", "PG_QUERY__BOOL_EXPR_TYPE__AND_EXPR", 1 }, - { "OR_EXPR", "PG_QUERY__BOOL_EXPR_TYPE__OR_EXPR", 2 }, - { "NOT_EXPR", "PG_QUERY__BOOL_EXPR_TYPE__NOT_EXPR", 3 }, -}; -static const ProtobufCIntRange pg_query__bool_expr_type__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__bool_expr_type__enum_values_by_name[4] = -{ - { "AND_EXPR", 1 }, - { "BOOL_EXPR_TYPE_UNDEFINED", 0 }, - { "NOT_EXPR", 3 }, - { "OR_EXPR", 2 }, -}; -const ProtobufCEnumDescriptor pg_query__bool_expr_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.BoolExprType", - "BoolExprType", - "PgQuery__BoolExprType", - "pg_query", - 4, - pg_query__bool_expr_type__enum_values_by_number, - 4, - pg_query__bool_expr_type__enum_values_by_name, - 1, - pg_query__bool_expr_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__sub_link_type__enum_values_by_number[9] = -{ - { "SUB_LINK_TYPE_UNDEFINED", "PG_QUERY__SUB_LINK_TYPE__SUB_LINK_TYPE_UNDEFINED", 0 }, - { "EXISTS_SUBLINK", "PG_QUERY__SUB_LINK_TYPE__EXISTS_SUBLINK", 1 }, - { "ALL_SUBLINK", "PG_QUERY__SUB_LINK_TYPE__ALL_SUBLINK", 2 }, - { "ANY_SUBLINK", "PG_QUERY__SUB_LINK_TYPE__ANY_SUBLINK", 3 }, - { "ROWCOMPARE_SUBLINK", "PG_QUERY__SUB_LINK_TYPE__ROWCOMPARE_SUBLINK", 4 }, - { "EXPR_SUBLINK", "PG_QUERY__SUB_LINK_TYPE__EXPR_SUBLINK", 5 }, - { "MULTIEXPR_SUBLINK", "PG_QUERY__SUB_LINK_TYPE__MULTIEXPR_SUBLINK", 6 }, - { "ARRAY_SUBLINK", "PG_QUERY__SUB_LINK_TYPE__ARRAY_SUBLINK", 7 }, - { "CTE_SUBLINK", "PG_QUERY__SUB_LINK_TYPE__CTE_SUBLINK", 8 }, -}; -static const ProtobufCIntRange pg_query__sub_link_type__value_ranges[] = { -{0, 0},{0, 9} -}; -static const ProtobufCEnumValueIndex pg_query__sub_link_type__enum_values_by_name[9] = -{ - { "ALL_SUBLINK", 2 }, - { "ANY_SUBLINK", 3 }, - { "ARRAY_SUBLINK", 7 }, - { "CTE_SUBLINK", 8 }, - { "EXISTS_SUBLINK", 1 }, - { "EXPR_SUBLINK", 5 }, - { "MULTIEXPR_SUBLINK", 6 }, - { "ROWCOMPARE_SUBLINK", 4 }, - { "SUB_LINK_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__sub_link_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.SubLinkType", - "SubLinkType", - "PgQuery__SubLinkType", - "pg_query", - 9, - pg_query__sub_link_type__enum_values_by_number, - 9, - pg_query__sub_link_type__enum_values_by_name, - 1, - pg_query__sub_link_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__min_max_op__enum_values_by_number[3] = -{ - { "MIN_MAX_OP_UNDEFINED", "PG_QUERY__MIN_MAX_OP__MIN_MAX_OP_UNDEFINED", 0 }, - { "IS_GREATEST", "PG_QUERY__MIN_MAX_OP__IS_GREATEST", 1 }, - { "IS_LEAST", "PG_QUERY__MIN_MAX_OP__IS_LEAST", 2 }, -}; -static const ProtobufCIntRange pg_query__min_max_op__value_ranges[] = { -{0, 0},{0, 3} -}; -static const ProtobufCEnumValueIndex pg_query__min_max_op__enum_values_by_name[3] = -{ - { "IS_GREATEST", 1 }, - { "IS_LEAST", 2 }, - { "MIN_MAX_OP_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__min_max_op__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.MinMaxOp", - "MinMaxOp", - "PgQuery__MinMaxOp", - "pg_query", - 3, - pg_query__min_max_op__enum_values_by_number, - 3, - pg_query__min_max_op__enum_values_by_name, - 1, - pg_query__min_max_op__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__sqlvalue_function_op__enum_values_by_number[16] = -{ - { "SQLVALUE_FUNCTION_OP_UNDEFINED", "PG_QUERY__SQLVALUE_FUNCTION_OP__SQLVALUE_FUNCTION_OP_UNDEFINED", 0 }, - { "SVFOP_CURRENT_DATE", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_DATE", 1 }, - { "SVFOP_CURRENT_TIME", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_TIME", 2 }, - { "SVFOP_CURRENT_TIME_N", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_TIME_N", 3 }, - { "SVFOP_CURRENT_TIMESTAMP", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_TIMESTAMP", 4 }, - { "SVFOP_CURRENT_TIMESTAMP_N", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_TIMESTAMP_N", 5 }, - { "SVFOP_LOCALTIME", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_LOCALTIME", 6 }, - { "SVFOP_LOCALTIME_N", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_LOCALTIME_N", 7 }, - { "SVFOP_LOCALTIMESTAMP", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_LOCALTIMESTAMP", 8 }, - { "SVFOP_LOCALTIMESTAMP_N", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_LOCALTIMESTAMP_N", 9 }, - { "SVFOP_CURRENT_ROLE", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_ROLE", 10 }, - { "SVFOP_CURRENT_USER", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_USER", 11 }, - { "SVFOP_USER", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_USER", 12 }, - { "SVFOP_SESSION_USER", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_SESSION_USER", 13 }, - { "SVFOP_CURRENT_CATALOG", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_CATALOG", 14 }, - { "SVFOP_CURRENT_SCHEMA", "PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_SCHEMA", 15 }, -}; -static const ProtobufCIntRange pg_query__sqlvalue_function_op__value_ranges[] = { -{0, 0},{0, 16} -}; -static const ProtobufCEnumValueIndex pg_query__sqlvalue_function_op__enum_values_by_name[16] = -{ - { "SQLVALUE_FUNCTION_OP_UNDEFINED", 0 }, - { "SVFOP_CURRENT_CATALOG", 14 }, - { "SVFOP_CURRENT_DATE", 1 }, - { "SVFOP_CURRENT_ROLE", 10 }, - { "SVFOP_CURRENT_SCHEMA", 15 }, - { "SVFOP_CURRENT_TIME", 2 }, - { "SVFOP_CURRENT_TIMESTAMP", 4 }, - { "SVFOP_CURRENT_TIMESTAMP_N", 5 }, - { "SVFOP_CURRENT_TIME_N", 3 }, - { "SVFOP_CURRENT_USER", 11 }, - { "SVFOP_LOCALTIME", 6 }, - { "SVFOP_LOCALTIMESTAMP", 8 }, - { "SVFOP_LOCALTIMESTAMP_N", 9 }, - { "SVFOP_LOCALTIME_N", 7 }, - { "SVFOP_SESSION_USER", 13 }, - { "SVFOP_USER", 12 }, -}; -const ProtobufCEnumDescriptor pg_query__sqlvalue_function_op__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.SQLValueFunctionOp", - "SQLValueFunctionOp", - "PgQuery__SQLValueFunctionOp", - "pg_query", - 16, - pg_query__sqlvalue_function_op__enum_values_by_number, - 16, - pg_query__sqlvalue_function_op__enum_values_by_name, - 1, - pg_query__sqlvalue_function_op__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__xml_expr_op__enum_values_by_number[9] = -{ - { "XML_EXPR_OP_UNDEFINED", "PG_QUERY__XML_EXPR_OP__XML_EXPR_OP_UNDEFINED", 0 }, - { "IS_XMLCONCAT", "PG_QUERY__XML_EXPR_OP__IS_XMLCONCAT", 1 }, - { "IS_XMLELEMENT", "PG_QUERY__XML_EXPR_OP__IS_XMLELEMENT", 2 }, - { "IS_XMLFOREST", "PG_QUERY__XML_EXPR_OP__IS_XMLFOREST", 3 }, - { "IS_XMLPARSE", "PG_QUERY__XML_EXPR_OP__IS_XMLPARSE", 4 }, - { "IS_XMLPI", "PG_QUERY__XML_EXPR_OP__IS_XMLPI", 5 }, - { "IS_XMLROOT", "PG_QUERY__XML_EXPR_OP__IS_XMLROOT", 6 }, - { "IS_XMLSERIALIZE", "PG_QUERY__XML_EXPR_OP__IS_XMLSERIALIZE", 7 }, - { "IS_DOCUMENT", "PG_QUERY__XML_EXPR_OP__IS_DOCUMENT", 8 }, -}; -static const ProtobufCIntRange pg_query__xml_expr_op__value_ranges[] = { -{0, 0},{0, 9} -}; -static const ProtobufCEnumValueIndex pg_query__xml_expr_op__enum_values_by_name[9] = -{ - { "IS_DOCUMENT", 8 }, - { "IS_XMLCONCAT", 1 }, - { "IS_XMLELEMENT", 2 }, - { "IS_XMLFOREST", 3 }, - { "IS_XMLPARSE", 4 }, - { "IS_XMLPI", 5 }, - { "IS_XMLROOT", 6 }, - { "IS_XMLSERIALIZE", 7 }, - { "XML_EXPR_OP_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__xml_expr_op__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.XmlExprOp", - "XmlExprOp", - "PgQuery__XmlExprOp", - "pg_query", - 9, - pg_query__xml_expr_op__enum_values_by_number, - 9, - pg_query__xml_expr_op__enum_values_by_name, - 1, - pg_query__xml_expr_op__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__xml_option_type__enum_values_by_number[3] = -{ - { "XML_OPTION_TYPE_UNDEFINED", "PG_QUERY__XML_OPTION_TYPE__XML_OPTION_TYPE_UNDEFINED", 0 }, - { "XMLOPTION_DOCUMENT", "PG_QUERY__XML_OPTION_TYPE__XMLOPTION_DOCUMENT", 1 }, - { "XMLOPTION_CONTENT", "PG_QUERY__XML_OPTION_TYPE__XMLOPTION_CONTENT", 2 }, -}; -static const ProtobufCIntRange pg_query__xml_option_type__value_ranges[] = { -{0, 0},{0, 3} -}; -static const ProtobufCEnumValueIndex pg_query__xml_option_type__enum_values_by_name[3] = -{ - { "XMLOPTION_CONTENT", 2 }, - { "XMLOPTION_DOCUMENT", 1 }, - { "XML_OPTION_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__xml_option_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.XmlOptionType", - "XmlOptionType", - "PgQuery__XmlOptionType", - "pg_query", - 3, - pg_query__xml_option_type__enum_values_by_number, - 3, - pg_query__xml_option_type__enum_values_by_name, - 1, - pg_query__xml_option_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__json_encoding__enum_values_by_number[5] = -{ - { "JSON_ENCODING_UNDEFINED", "PG_QUERY__JSON_ENCODING__JSON_ENCODING_UNDEFINED", 0 }, - { "JS_ENC_DEFAULT", "PG_QUERY__JSON_ENCODING__JS_ENC_DEFAULT", 1 }, - { "JS_ENC_UTF8", "PG_QUERY__JSON_ENCODING__JS_ENC_UTF8", 2 }, - { "JS_ENC_UTF16", "PG_QUERY__JSON_ENCODING__JS_ENC_UTF16", 3 }, - { "JS_ENC_UTF32", "PG_QUERY__JSON_ENCODING__JS_ENC_UTF32", 4 }, -}; -static const ProtobufCIntRange pg_query__json_encoding__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__json_encoding__enum_values_by_name[5] = -{ - { "JSON_ENCODING_UNDEFINED", 0 }, - { "JS_ENC_DEFAULT", 1 }, - { "JS_ENC_UTF16", 3 }, - { "JS_ENC_UTF32", 4 }, - { "JS_ENC_UTF8", 2 }, -}; -const ProtobufCEnumDescriptor pg_query__json_encoding__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.JsonEncoding", - "JsonEncoding", - "PgQuery__JsonEncoding", - "pg_query", - 5, - pg_query__json_encoding__enum_values_by_number, - 5, - pg_query__json_encoding__enum_values_by_name, - 1, - pg_query__json_encoding__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__json_format_type__enum_values_by_number[4] = -{ - { "JSON_FORMAT_TYPE_UNDEFINED", "PG_QUERY__JSON_FORMAT_TYPE__JSON_FORMAT_TYPE_UNDEFINED", 0 }, - { "JS_FORMAT_DEFAULT", "PG_QUERY__JSON_FORMAT_TYPE__JS_FORMAT_DEFAULT", 1 }, - { "JS_FORMAT_JSON", "PG_QUERY__JSON_FORMAT_TYPE__JS_FORMAT_JSON", 2 }, - { "JS_FORMAT_JSONB", "PG_QUERY__JSON_FORMAT_TYPE__JS_FORMAT_JSONB", 3 }, -}; -static const ProtobufCIntRange pg_query__json_format_type__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__json_format_type__enum_values_by_name[4] = -{ - { "JSON_FORMAT_TYPE_UNDEFINED", 0 }, - { "JS_FORMAT_DEFAULT", 1 }, - { "JS_FORMAT_JSON", 2 }, - { "JS_FORMAT_JSONB", 3 }, -}; -const ProtobufCEnumDescriptor pg_query__json_format_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.JsonFormatType", - "JsonFormatType", - "PgQuery__JsonFormatType", - "pg_query", - 4, - pg_query__json_format_type__enum_values_by_number, - 4, - pg_query__json_format_type__enum_values_by_name, - 1, - pg_query__json_format_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__json_constructor_type__enum_values_by_number[8] = -{ - { "JSON_CONSTRUCTOR_TYPE_UNDEFINED", "PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSON_CONSTRUCTOR_TYPE_UNDEFINED", 0 }, - { "JSCTOR_JSON_OBJECT", "PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_OBJECT", 1 }, - { "JSCTOR_JSON_ARRAY", "PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_ARRAY", 2 }, - { "JSCTOR_JSON_OBJECTAGG", "PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_OBJECTAGG", 3 }, - { "JSCTOR_JSON_ARRAYAGG", "PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_ARRAYAGG", 4 }, - { "JSCTOR_JSON_PARSE", "PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_PARSE", 5 }, - { "JSCTOR_JSON_SCALAR", "PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_SCALAR", 6 }, - { "JSCTOR_JSON_SERIALIZE", "PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_SERIALIZE", 7 }, -}; -static const ProtobufCIntRange pg_query__json_constructor_type__value_ranges[] = { -{0, 0},{0, 8} -}; -static const ProtobufCEnumValueIndex pg_query__json_constructor_type__enum_values_by_name[8] = -{ - { "JSCTOR_JSON_ARRAY", 2 }, - { "JSCTOR_JSON_ARRAYAGG", 4 }, - { "JSCTOR_JSON_OBJECT", 1 }, - { "JSCTOR_JSON_OBJECTAGG", 3 }, - { "JSCTOR_JSON_PARSE", 5 }, - { "JSCTOR_JSON_SCALAR", 6 }, - { "JSCTOR_JSON_SERIALIZE", 7 }, - { "JSON_CONSTRUCTOR_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__json_constructor_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.JsonConstructorType", - "JsonConstructorType", - "PgQuery__JsonConstructorType", - "pg_query", - 8, - pg_query__json_constructor_type__enum_values_by_number, - 8, - pg_query__json_constructor_type__enum_values_by_name, - 1, - pg_query__json_constructor_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__json_value_type__enum_values_by_number[5] = -{ - { "JSON_VALUE_TYPE_UNDEFINED", "PG_QUERY__JSON_VALUE_TYPE__JSON_VALUE_TYPE_UNDEFINED", 0 }, - { "JS_TYPE_ANY", "PG_QUERY__JSON_VALUE_TYPE__JS_TYPE_ANY", 1 }, - { "JS_TYPE_OBJECT", "PG_QUERY__JSON_VALUE_TYPE__JS_TYPE_OBJECT", 2 }, - { "JS_TYPE_ARRAY", "PG_QUERY__JSON_VALUE_TYPE__JS_TYPE_ARRAY", 3 }, - { "JS_TYPE_SCALAR", "PG_QUERY__JSON_VALUE_TYPE__JS_TYPE_SCALAR", 4 }, -}; -static const ProtobufCIntRange pg_query__json_value_type__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__json_value_type__enum_values_by_name[5] = -{ - { "JSON_VALUE_TYPE_UNDEFINED", 0 }, - { "JS_TYPE_ANY", 1 }, - { "JS_TYPE_ARRAY", 3 }, - { "JS_TYPE_OBJECT", 2 }, - { "JS_TYPE_SCALAR", 4 }, -}; -const ProtobufCEnumDescriptor pg_query__json_value_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.JsonValueType", - "JsonValueType", - "PgQuery__JsonValueType", - "pg_query", - 5, - pg_query__json_value_type__enum_values_by_number, - 5, - pg_query__json_value_type__enum_values_by_name, - 1, - pg_query__json_value_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__json_wrapper__enum_values_by_number[5] = -{ - { "JSON_WRAPPER_UNDEFINED", "PG_QUERY__JSON_WRAPPER__JSON_WRAPPER_UNDEFINED", 0 }, - { "JSW_UNSPEC", "PG_QUERY__JSON_WRAPPER__JSW_UNSPEC", 1 }, - { "JSW_NONE", "PG_QUERY__JSON_WRAPPER__JSW_NONE", 2 }, - { "JSW_CONDITIONAL", "PG_QUERY__JSON_WRAPPER__JSW_CONDITIONAL", 3 }, - { "JSW_UNCONDITIONAL", "PG_QUERY__JSON_WRAPPER__JSW_UNCONDITIONAL", 4 }, -}; -static const ProtobufCIntRange pg_query__json_wrapper__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__json_wrapper__enum_values_by_name[5] = -{ - { "JSON_WRAPPER_UNDEFINED", 0 }, - { "JSW_CONDITIONAL", 3 }, - { "JSW_NONE", 2 }, - { "JSW_UNCONDITIONAL", 4 }, - { "JSW_UNSPEC", 1 }, -}; -const ProtobufCEnumDescriptor pg_query__json_wrapper__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.JsonWrapper", - "JsonWrapper", - "PgQuery__JsonWrapper", - "pg_query", - 5, - pg_query__json_wrapper__enum_values_by_number, - 5, - pg_query__json_wrapper__enum_values_by_name, - 1, - pg_query__json_wrapper__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__json_behavior_type__enum_values_by_number[10] = -{ - { "JSON_BEHAVIOR_TYPE_UNDEFINED", "PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_TYPE_UNDEFINED", 0 }, - { "JSON_BEHAVIOR_NULL", "PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_NULL", 1 }, - { "JSON_BEHAVIOR_ERROR", "PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_ERROR", 2 }, - { "JSON_BEHAVIOR_EMPTY", "PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_EMPTY", 3 }, - { "JSON_BEHAVIOR_TRUE", "PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_TRUE", 4 }, - { "JSON_BEHAVIOR_FALSE", "PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_FALSE", 5 }, - { "JSON_BEHAVIOR_UNKNOWN", "PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_UNKNOWN", 6 }, - { "JSON_BEHAVIOR_EMPTY_ARRAY", "PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_EMPTY_ARRAY", 7 }, - { "JSON_BEHAVIOR_EMPTY_OBJECT", "PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_EMPTY_OBJECT", 8 }, - { "JSON_BEHAVIOR_DEFAULT", "PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_DEFAULT", 9 }, -}; -static const ProtobufCIntRange pg_query__json_behavior_type__value_ranges[] = { -{0, 0},{0, 10} -}; -static const ProtobufCEnumValueIndex pg_query__json_behavior_type__enum_values_by_name[10] = -{ - { "JSON_BEHAVIOR_DEFAULT", 9 }, - { "JSON_BEHAVIOR_EMPTY", 3 }, - { "JSON_BEHAVIOR_EMPTY_ARRAY", 7 }, - { "JSON_BEHAVIOR_EMPTY_OBJECT", 8 }, - { "JSON_BEHAVIOR_ERROR", 2 }, - { "JSON_BEHAVIOR_FALSE", 5 }, - { "JSON_BEHAVIOR_NULL", 1 }, - { "JSON_BEHAVIOR_TRUE", 4 }, - { "JSON_BEHAVIOR_TYPE_UNDEFINED", 0 }, - { "JSON_BEHAVIOR_UNKNOWN", 6 }, -}; -const ProtobufCEnumDescriptor pg_query__json_behavior_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.JsonBehaviorType", - "JsonBehaviorType", - "PgQuery__JsonBehaviorType", - "pg_query", - 10, - pg_query__json_behavior_type__enum_values_by_number, - 10, - pg_query__json_behavior_type__enum_values_by_name, - 1, - pg_query__json_behavior_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__json_expr_op__enum_values_by_number[5] = -{ - { "JSON_EXPR_OP_UNDEFINED", "PG_QUERY__JSON_EXPR_OP__JSON_EXPR_OP_UNDEFINED", 0 }, - { "JSON_EXISTS_OP", "PG_QUERY__JSON_EXPR_OP__JSON_EXISTS_OP", 1 }, - { "JSON_QUERY_OP", "PG_QUERY__JSON_EXPR_OP__JSON_QUERY_OP", 2 }, - { "JSON_VALUE_OP", "PG_QUERY__JSON_EXPR_OP__JSON_VALUE_OP", 3 }, - { "JSON_TABLE_OP", "PG_QUERY__JSON_EXPR_OP__JSON_TABLE_OP", 4 }, -}; -static const ProtobufCIntRange pg_query__json_expr_op__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__json_expr_op__enum_values_by_name[5] = -{ - { "JSON_EXISTS_OP", 1 }, - { "JSON_EXPR_OP_UNDEFINED", 0 }, - { "JSON_QUERY_OP", 2 }, - { "JSON_TABLE_OP", 4 }, - { "JSON_VALUE_OP", 3 }, -}; -const ProtobufCEnumDescriptor pg_query__json_expr_op__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.JsonExprOp", - "JsonExprOp", - "PgQuery__JsonExprOp", - "pg_query", - 5, - pg_query__json_expr_op__enum_values_by_number, - 5, - pg_query__json_expr_op__enum_values_by_name, - 1, - pg_query__json_expr_op__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__null_test_type__enum_values_by_number[3] = -{ - { "NULL_TEST_TYPE_UNDEFINED", "PG_QUERY__NULL_TEST_TYPE__NULL_TEST_TYPE_UNDEFINED", 0 }, - { "IS_NULL", "PG_QUERY__NULL_TEST_TYPE__IS_NULL", 1 }, - { "IS_NOT_NULL", "PG_QUERY__NULL_TEST_TYPE__IS_NOT_NULL", 2 }, -}; -static const ProtobufCIntRange pg_query__null_test_type__value_ranges[] = { -{0, 0},{0, 3} -}; -static const ProtobufCEnumValueIndex pg_query__null_test_type__enum_values_by_name[3] = -{ - { "IS_NOT_NULL", 2 }, - { "IS_NULL", 1 }, - { "NULL_TEST_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__null_test_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.NullTestType", - "NullTestType", - "PgQuery__NullTestType", - "pg_query", - 3, - pg_query__null_test_type__enum_values_by_number, - 3, - pg_query__null_test_type__enum_values_by_name, - 1, - pg_query__null_test_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__bool_test_type__enum_values_by_number[7] = -{ - { "BOOL_TEST_TYPE_UNDEFINED", "PG_QUERY__BOOL_TEST_TYPE__BOOL_TEST_TYPE_UNDEFINED", 0 }, - { "IS_TRUE", "PG_QUERY__BOOL_TEST_TYPE__IS_TRUE", 1 }, - { "IS_NOT_TRUE", "PG_QUERY__BOOL_TEST_TYPE__IS_NOT_TRUE", 2 }, - { "IS_FALSE", "PG_QUERY__BOOL_TEST_TYPE__IS_FALSE", 3 }, - { "IS_NOT_FALSE", "PG_QUERY__BOOL_TEST_TYPE__IS_NOT_FALSE", 4 }, - { "IS_UNKNOWN", "PG_QUERY__BOOL_TEST_TYPE__IS_UNKNOWN", 5 }, - { "IS_NOT_UNKNOWN", "PG_QUERY__BOOL_TEST_TYPE__IS_NOT_UNKNOWN", 6 }, -}; -static const ProtobufCIntRange pg_query__bool_test_type__value_ranges[] = { -{0, 0},{0, 7} -}; -static const ProtobufCEnumValueIndex pg_query__bool_test_type__enum_values_by_name[7] = -{ - { "BOOL_TEST_TYPE_UNDEFINED", 0 }, - { "IS_FALSE", 3 }, - { "IS_NOT_FALSE", 4 }, - { "IS_NOT_TRUE", 2 }, - { "IS_NOT_UNKNOWN", 6 }, - { "IS_TRUE", 1 }, - { "IS_UNKNOWN", 5 }, -}; -const ProtobufCEnumDescriptor pg_query__bool_test_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.BoolTestType", - "BoolTestType", - "PgQuery__BoolTestType", - "pg_query", - 7, - pg_query__bool_test_type__enum_values_by_number, - 7, - pg_query__bool_test_type__enum_values_by_name, - 1, - pg_query__bool_test_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__merge_match_kind__enum_values_by_number[4] = -{ - { "MERGE_MATCH_KIND_UNDEFINED", "PG_QUERY__MERGE_MATCH_KIND__MERGE_MATCH_KIND_UNDEFINED", 0 }, - { "MERGE_WHEN_MATCHED", "PG_QUERY__MERGE_MATCH_KIND__MERGE_WHEN_MATCHED", 1 }, - { "MERGE_WHEN_NOT_MATCHED_BY_SOURCE", "PG_QUERY__MERGE_MATCH_KIND__MERGE_WHEN_NOT_MATCHED_BY_SOURCE", 2 }, - { "MERGE_WHEN_NOT_MATCHED_BY_TARGET", "PG_QUERY__MERGE_MATCH_KIND__MERGE_WHEN_NOT_MATCHED_BY_TARGET", 3 }, -}; -static const ProtobufCIntRange pg_query__merge_match_kind__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__merge_match_kind__enum_values_by_name[4] = -{ - { "MERGE_MATCH_KIND_UNDEFINED", 0 }, - { "MERGE_WHEN_MATCHED", 1 }, - { "MERGE_WHEN_NOT_MATCHED_BY_SOURCE", 2 }, - { "MERGE_WHEN_NOT_MATCHED_BY_TARGET", 3 }, -}; -const ProtobufCEnumDescriptor pg_query__merge_match_kind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.MergeMatchKind", - "MergeMatchKind", - "PgQuery__MergeMatchKind", - "pg_query", - 4, - pg_query__merge_match_kind__enum_values_by_number, - 4, - pg_query__merge_match_kind__enum_values_by_name, - 1, - pg_query__merge_match_kind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__cmd_type__enum_values_by_number[9] = -{ - { "CMD_TYPE_UNDEFINED", "PG_QUERY__CMD_TYPE__CMD_TYPE_UNDEFINED", 0 }, - { "CMD_UNKNOWN", "PG_QUERY__CMD_TYPE__CMD_UNKNOWN", 1 }, - { "CMD_SELECT", "PG_QUERY__CMD_TYPE__CMD_SELECT", 2 }, - { "CMD_UPDATE", "PG_QUERY__CMD_TYPE__CMD_UPDATE", 3 }, - { "CMD_INSERT", "PG_QUERY__CMD_TYPE__CMD_INSERT", 4 }, - { "CMD_DELETE", "PG_QUERY__CMD_TYPE__CMD_DELETE", 5 }, - { "CMD_MERGE", "PG_QUERY__CMD_TYPE__CMD_MERGE", 6 }, - { "CMD_UTILITY", "PG_QUERY__CMD_TYPE__CMD_UTILITY", 7 }, - { "CMD_NOTHING", "PG_QUERY__CMD_TYPE__CMD_NOTHING", 8 }, -}; -static const ProtobufCIntRange pg_query__cmd_type__value_ranges[] = { -{0, 0},{0, 9} -}; -static const ProtobufCEnumValueIndex pg_query__cmd_type__enum_values_by_name[9] = -{ - { "CMD_DELETE", 5 }, - { "CMD_INSERT", 4 }, - { "CMD_MERGE", 6 }, - { "CMD_NOTHING", 8 }, - { "CMD_SELECT", 2 }, - { "CMD_TYPE_UNDEFINED", 0 }, - { "CMD_UNKNOWN", 1 }, - { "CMD_UPDATE", 3 }, - { "CMD_UTILITY", 7 }, -}; -const ProtobufCEnumDescriptor pg_query__cmd_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.CmdType", - "CmdType", - "PgQuery__CmdType", - "pg_query", - 9, - pg_query__cmd_type__enum_values_by_number, - 9, - pg_query__cmd_type__enum_values_by_name, - 1, - pg_query__cmd_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__join_type__enum_values_by_number[11] = -{ - { "JOIN_TYPE_UNDEFINED", "PG_QUERY__JOIN_TYPE__JOIN_TYPE_UNDEFINED", 0 }, - { "JOIN_INNER", "PG_QUERY__JOIN_TYPE__JOIN_INNER", 1 }, - { "JOIN_LEFT", "PG_QUERY__JOIN_TYPE__JOIN_LEFT", 2 }, - { "JOIN_FULL", "PG_QUERY__JOIN_TYPE__JOIN_FULL", 3 }, - { "JOIN_RIGHT", "PG_QUERY__JOIN_TYPE__JOIN_RIGHT", 4 }, - { "JOIN_SEMI", "PG_QUERY__JOIN_TYPE__JOIN_SEMI", 5 }, - { "JOIN_ANTI", "PG_QUERY__JOIN_TYPE__JOIN_ANTI", 6 }, - { "JOIN_RIGHT_SEMI", "PG_QUERY__JOIN_TYPE__JOIN_RIGHT_SEMI", 7 }, - { "JOIN_RIGHT_ANTI", "PG_QUERY__JOIN_TYPE__JOIN_RIGHT_ANTI", 8 }, - { "JOIN_UNIQUE_OUTER", "PG_QUERY__JOIN_TYPE__JOIN_UNIQUE_OUTER", 9 }, - { "JOIN_UNIQUE_INNER", "PG_QUERY__JOIN_TYPE__JOIN_UNIQUE_INNER", 10 }, -}; -static const ProtobufCIntRange pg_query__join_type__value_ranges[] = { -{0, 0},{0, 11} -}; -static const ProtobufCEnumValueIndex pg_query__join_type__enum_values_by_name[11] = -{ - { "JOIN_ANTI", 6 }, - { "JOIN_FULL", 3 }, - { "JOIN_INNER", 1 }, - { "JOIN_LEFT", 2 }, - { "JOIN_RIGHT", 4 }, - { "JOIN_RIGHT_ANTI", 8 }, - { "JOIN_RIGHT_SEMI", 7 }, - { "JOIN_SEMI", 5 }, - { "JOIN_TYPE_UNDEFINED", 0 }, - { "JOIN_UNIQUE_INNER", 10 }, - { "JOIN_UNIQUE_OUTER", 9 }, -}; -const ProtobufCEnumDescriptor pg_query__join_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.JoinType", - "JoinType", - "PgQuery__JoinType", - "pg_query", - 11, - pg_query__join_type__enum_values_by_number, - 11, - pg_query__join_type__enum_values_by_name, - 1, - pg_query__join_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__agg_strategy__enum_values_by_number[5] = -{ - { "AGG_STRATEGY_UNDEFINED", "PG_QUERY__AGG_STRATEGY__AGG_STRATEGY_UNDEFINED", 0 }, - { "AGG_PLAIN", "PG_QUERY__AGG_STRATEGY__AGG_PLAIN", 1 }, - { "AGG_SORTED", "PG_QUERY__AGG_STRATEGY__AGG_SORTED", 2 }, - { "AGG_HASHED", "PG_QUERY__AGG_STRATEGY__AGG_HASHED", 3 }, - { "AGG_MIXED", "PG_QUERY__AGG_STRATEGY__AGG_MIXED", 4 }, -}; -static const ProtobufCIntRange pg_query__agg_strategy__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__agg_strategy__enum_values_by_name[5] = -{ - { "AGG_HASHED", 3 }, - { "AGG_MIXED", 4 }, - { "AGG_PLAIN", 1 }, - { "AGG_SORTED", 2 }, - { "AGG_STRATEGY_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__agg_strategy__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.AggStrategy", - "AggStrategy", - "PgQuery__AggStrategy", - "pg_query", - 5, - pg_query__agg_strategy__enum_values_by_number, - 5, - pg_query__agg_strategy__enum_values_by_name, - 1, - pg_query__agg_strategy__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__agg_split__enum_values_by_number[4] = -{ - { "AGG_SPLIT_UNDEFINED", "PG_QUERY__AGG_SPLIT__AGG_SPLIT_UNDEFINED", 0 }, - { "AGGSPLIT_SIMPLE", "PG_QUERY__AGG_SPLIT__AGGSPLIT_SIMPLE", 1 }, - { "AGGSPLIT_INITIAL_SERIAL", "PG_QUERY__AGG_SPLIT__AGGSPLIT_INITIAL_SERIAL", 2 }, - { "AGGSPLIT_FINAL_DESERIAL", "PG_QUERY__AGG_SPLIT__AGGSPLIT_FINAL_DESERIAL", 3 }, -}; -static const ProtobufCIntRange pg_query__agg_split__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__agg_split__enum_values_by_name[4] = -{ - { "AGGSPLIT_FINAL_DESERIAL", 3 }, - { "AGGSPLIT_INITIAL_SERIAL", 2 }, - { "AGGSPLIT_SIMPLE", 1 }, - { "AGG_SPLIT_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__agg_split__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.AggSplit", - "AggSplit", - "PgQuery__AggSplit", - "pg_query", - 4, - pg_query__agg_split__enum_values_by_number, - 4, - pg_query__agg_split__enum_values_by_name, - 1, - pg_query__agg_split__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__set_op_cmd__enum_values_by_number[5] = -{ - { "SET_OP_CMD_UNDEFINED", "PG_QUERY__SET_OP_CMD__SET_OP_CMD_UNDEFINED", 0 }, - { "SETOPCMD_INTERSECT", "PG_QUERY__SET_OP_CMD__SETOPCMD_INTERSECT", 1 }, - { "SETOPCMD_INTERSECT_ALL", "PG_QUERY__SET_OP_CMD__SETOPCMD_INTERSECT_ALL", 2 }, - { "SETOPCMD_EXCEPT", "PG_QUERY__SET_OP_CMD__SETOPCMD_EXCEPT", 3 }, - { "SETOPCMD_EXCEPT_ALL", "PG_QUERY__SET_OP_CMD__SETOPCMD_EXCEPT_ALL", 4 }, -}; -static const ProtobufCIntRange pg_query__set_op_cmd__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__set_op_cmd__enum_values_by_name[5] = -{ - { "SETOPCMD_EXCEPT", 3 }, - { "SETOPCMD_EXCEPT_ALL", 4 }, - { "SETOPCMD_INTERSECT", 1 }, - { "SETOPCMD_INTERSECT_ALL", 2 }, - { "SET_OP_CMD_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__set_op_cmd__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.SetOpCmd", - "SetOpCmd", - "PgQuery__SetOpCmd", - "pg_query", - 5, - pg_query__set_op_cmd__enum_values_by_number, - 5, - pg_query__set_op_cmd__enum_values_by_name, - 1, - pg_query__set_op_cmd__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__set_op_strategy__enum_values_by_number[3] = -{ - { "SET_OP_STRATEGY_UNDEFINED", "PG_QUERY__SET_OP_STRATEGY__SET_OP_STRATEGY_UNDEFINED", 0 }, - { "SETOP_SORTED", "PG_QUERY__SET_OP_STRATEGY__SETOP_SORTED", 1 }, - { "SETOP_HASHED", "PG_QUERY__SET_OP_STRATEGY__SETOP_HASHED", 2 }, -}; -static const ProtobufCIntRange pg_query__set_op_strategy__value_ranges[] = { -{0, 0},{0, 3} -}; -static const ProtobufCEnumValueIndex pg_query__set_op_strategy__enum_values_by_name[3] = -{ - { "SETOP_HASHED", 2 }, - { "SETOP_SORTED", 1 }, - { "SET_OP_STRATEGY_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__set_op_strategy__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.SetOpStrategy", - "SetOpStrategy", - "PgQuery__SetOpStrategy", - "pg_query", - 3, - pg_query__set_op_strategy__enum_values_by_number, - 3, - pg_query__set_op_strategy__enum_values_by_name, - 1, - pg_query__set_op_strategy__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__on_conflict_action__enum_values_by_number[4] = -{ - { "ON_CONFLICT_ACTION_UNDEFINED", "PG_QUERY__ON_CONFLICT_ACTION__ON_CONFLICT_ACTION_UNDEFINED", 0 }, - { "ONCONFLICT_NONE", "PG_QUERY__ON_CONFLICT_ACTION__ONCONFLICT_NONE", 1 }, - { "ONCONFLICT_NOTHING", "PG_QUERY__ON_CONFLICT_ACTION__ONCONFLICT_NOTHING", 2 }, - { "ONCONFLICT_UPDATE", "PG_QUERY__ON_CONFLICT_ACTION__ONCONFLICT_UPDATE", 3 }, -}; -static const ProtobufCIntRange pg_query__on_conflict_action__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__on_conflict_action__enum_values_by_name[4] = -{ - { "ONCONFLICT_NONE", 1 }, - { "ONCONFLICT_NOTHING", 2 }, - { "ONCONFLICT_UPDATE", 3 }, - { "ON_CONFLICT_ACTION_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__on_conflict_action__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.OnConflictAction", - "OnConflictAction", - "PgQuery__OnConflictAction", - "pg_query", - 4, - pg_query__on_conflict_action__enum_values_by_number, - 4, - pg_query__on_conflict_action__enum_values_by_name, - 1, - pg_query__on_conflict_action__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__limit_option__enum_values_by_number[4] = -{ - { "LIMIT_OPTION_UNDEFINED", "PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_UNDEFINED", 0 }, - { "LIMIT_OPTION_DEFAULT", "PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_DEFAULT", 1 }, - { "LIMIT_OPTION_COUNT", "PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_COUNT", 2 }, - { "LIMIT_OPTION_WITH_TIES", "PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_WITH_TIES", 3 }, -}; -static const ProtobufCIntRange pg_query__limit_option__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__limit_option__enum_values_by_name[4] = -{ - { "LIMIT_OPTION_COUNT", 2 }, - { "LIMIT_OPTION_DEFAULT", 1 }, - { "LIMIT_OPTION_UNDEFINED", 0 }, - { "LIMIT_OPTION_WITH_TIES", 3 }, -}; -const ProtobufCEnumDescriptor pg_query__limit_option__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.LimitOption", - "LimitOption", - "PgQuery__LimitOption", - "pg_query", - 4, - pg_query__limit_option__enum_values_by_number, - 4, - pg_query__limit_option__enum_values_by_name, - 1, - pg_query__limit_option__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__lock_clause_strength__enum_values_by_number[6] = -{ - { "LOCK_CLAUSE_STRENGTH_UNDEFINED", "PG_QUERY__LOCK_CLAUSE_STRENGTH__LOCK_CLAUSE_STRENGTH_UNDEFINED", 0 }, - { "LCS_NONE", "PG_QUERY__LOCK_CLAUSE_STRENGTH__LCS_NONE", 1 }, - { "LCS_FORKEYSHARE", "PG_QUERY__LOCK_CLAUSE_STRENGTH__LCS_FORKEYSHARE", 2 }, - { "LCS_FORSHARE", "PG_QUERY__LOCK_CLAUSE_STRENGTH__LCS_FORSHARE", 3 }, - { "LCS_FORNOKEYUPDATE", "PG_QUERY__LOCK_CLAUSE_STRENGTH__LCS_FORNOKEYUPDATE", 4 }, - { "LCS_FORUPDATE", "PG_QUERY__LOCK_CLAUSE_STRENGTH__LCS_FORUPDATE", 5 }, -}; -static const ProtobufCIntRange pg_query__lock_clause_strength__value_ranges[] = { -{0, 0},{0, 6} -}; -static const ProtobufCEnumValueIndex pg_query__lock_clause_strength__enum_values_by_name[6] = -{ - { "LCS_FORKEYSHARE", 2 }, - { "LCS_FORNOKEYUPDATE", 4 }, - { "LCS_FORSHARE", 3 }, - { "LCS_FORUPDATE", 5 }, - { "LCS_NONE", 1 }, - { "LOCK_CLAUSE_STRENGTH_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__lock_clause_strength__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.LockClauseStrength", - "LockClauseStrength", - "PgQuery__LockClauseStrength", - "pg_query", - 6, - pg_query__lock_clause_strength__enum_values_by_number, - 6, - pg_query__lock_clause_strength__enum_values_by_name, - 1, - pg_query__lock_clause_strength__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__lock_wait_policy__enum_values_by_number[4] = -{ - { "LOCK_WAIT_POLICY_UNDEFINED", "PG_QUERY__LOCK_WAIT_POLICY__LOCK_WAIT_POLICY_UNDEFINED", 0 }, - { "LockWaitBlock", "PG_QUERY__LOCK_WAIT_POLICY__LockWaitBlock", 1 }, - { "LockWaitSkip", "PG_QUERY__LOCK_WAIT_POLICY__LockWaitSkip", 2 }, - { "LockWaitError", "PG_QUERY__LOCK_WAIT_POLICY__LockWaitError", 3 }, -}; -static const ProtobufCIntRange pg_query__lock_wait_policy__value_ranges[] = { -{0, 0},{0, 4} -}; -static const ProtobufCEnumValueIndex pg_query__lock_wait_policy__enum_values_by_name[4] = -{ - { "LOCK_WAIT_POLICY_UNDEFINED", 0 }, - { "LockWaitBlock", 1 }, - { "LockWaitError", 3 }, - { "LockWaitSkip", 2 }, -}; -const ProtobufCEnumDescriptor pg_query__lock_wait_policy__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.LockWaitPolicy", - "LockWaitPolicy", - "PgQuery__LockWaitPolicy", - "pg_query", - 4, - pg_query__lock_wait_policy__enum_values_by_number, - 4, - pg_query__lock_wait_policy__enum_values_by_name, - 1, - pg_query__lock_wait_policy__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__lock_tuple_mode__enum_values_by_number[5] = -{ - { "LOCK_TUPLE_MODE_UNDEFINED", "PG_QUERY__LOCK_TUPLE_MODE__LOCK_TUPLE_MODE_UNDEFINED", 0 }, - { "LockTupleKeyShare", "PG_QUERY__LOCK_TUPLE_MODE__LockTupleKeyShare", 1 }, - { "LockTupleShare", "PG_QUERY__LOCK_TUPLE_MODE__LockTupleShare", 2 }, - { "LockTupleNoKeyExclusive", "PG_QUERY__LOCK_TUPLE_MODE__LockTupleNoKeyExclusive", 3 }, - { "LockTupleExclusive", "PG_QUERY__LOCK_TUPLE_MODE__LockTupleExclusive", 4 }, -}; -static const ProtobufCIntRange pg_query__lock_tuple_mode__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__lock_tuple_mode__enum_values_by_name[5] = -{ - { "LOCK_TUPLE_MODE_UNDEFINED", 0 }, - { "LockTupleExclusive", 4 }, - { "LockTupleKeyShare", 1 }, - { "LockTupleNoKeyExclusive", 3 }, - { "LockTupleShare", 2 }, -}; -const ProtobufCEnumDescriptor pg_query__lock_tuple_mode__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.LockTupleMode", - "LockTupleMode", - "PgQuery__LockTupleMode", - "pg_query", - 5, - pg_query__lock_tuple_mode__enum_values_by_number, - 5, - pg_query__lock_tuple_mode__enum_values_by_name, - 1, - pg_query__lock_tuple_mode__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__compare_type__enum_values_by_number[10] = -{ - { "COMPARE_TYPE_UNDEFINED", "PG_QUERY__COMPARE_TYPE__COMPARE_TYPE_UNDEFINED", 0 }, - { "COMPARE_INVALID", "PG_QUERY__COMPARE_TYPE__COMPARE_INVALID", 1 }, - { "COMPARE_LT", "PG_QUERY__COMPARE_TYPE__COMPARE_LT", 2 }, - { "COMPARE_LE", "PG_QUERY__COMPARE_TYPE__COMPARE_LE", 3 }, - { "COMPARE_EQ", "PG_QUERY__COMPARE_TYPE__COMPARE_EQ", 4 }, - { "COMPARE_GE", "PG_QUERY__COMPARE_TYPE__COMPARE_GE", 5 }, - { "COMPARE_GT", "PG_QUERY__COMPARE_TYPE__COMPARE_GT", 6 }, - { "COMPARE_NE", "PG_QUERY__COMPARE_TYPE__COMPARE_NE", 7 }, - { "COMPARE_OVERLAP", "PG_QUERY__COMPARE_TYPE__COMPARE_OVERLAP", 8 }, - { "COMPARE_CONTAINED_BY", "PG_QUERY__COMPARE_TYPE__COMPARE_CONTAINED_BY", 9 }, -}; -static const ProtobufCIntRange pg_query__compare_type__value_ranges[] = { -{0, 0},{0, 10} -}; -static const ProtobufCEnumValueIndex pg_query__compare_type__enum_values_by_name[10] = -{ - { "COMPARE_CONTAINED_BY", 9 }, - { "COMPARE_EQ", 4 }, - { "COMPARE_GE", 5 }, - { "COMPARE_GT", 6 }, - { "COMPARE_INVALID", 1 }, - { "COMPARE_LE", 3 }, - { "COMPARE_LT", 2 }, - { "COMPARE_NE", 7 }, - { "COMPARE_OVERLAP", 8 }, - { "COMPARE_TYPE_UNDEFINED", 0 }, -}; -const ProtobufCEnumDescriptor pg_query__compare_type__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.CompareType", - "CompareType", - "PgQuery__CompareType", - "pg_query", - 10, - pg_query__compare_type__enum_values_by_number, - 10, - pg_query__compare_type__enum_values_by_name, - 1, - pg_query__compare_type__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__keyword_kind__enum_values_by_number[5] = -{ - { "NO_KEYWORD", "PG_QUERY__KEYWORD_KIND__NO_KEYWORD", 0 }, - { "UNRESERVED_KEYWORD", "PG_QUERY__KEYWORD_KIND__UNRESERVED_KEYWORD", 1 }, - { "COL_NAME_KEYWORD", "PG_QUERY__KEYWORD_KIND__COL_NAME_KEYWORD", 2 }, - { "TYPE_FUNC_NAME_KEYWORD", "PG_QUERY__KEYWORD_KIND__TYPE_FUNC_NAME_KEYWORD", 3 }, - { "RESERVED_KEYWORD", "PG_QUERY__KEYWORD_KIND__RESERVED_KEYWORD", 4 }, -}; -static const ProtobufCIntRange pg_query__keyword_kind__value_ranges[] = { -{0, 0},{0, 5} -}; -static const ProtobufCEnumValueIndex pg_query__keyword_kind__enum_values_by_name[5] = -{ - { "COL_NAME_KEYWORD", 2 }, - { "NO_KEYWORD", 0 }, - { "RESERVED_KEYWORD", 4 }, - { "TYPE_FUNC_NAME_KEYWORD", 3 }, - { "UNRESERVED_KEYWORD", 1 }, -}; -const ProtobufCEnumDescriptor pg_query__keyword_kind__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.KeywordKind", - "KeywordKind", - "PgQuery__KeywordKind", - "pg_query", - 5, - pg_query__keyword_kind__enum_values_by_number, - 5, - pg_query__keyword_kind__enum_values_by_name, - 1, - pg_query__keyword_kind__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; -static const ProtobufCEnumValue pg_query__token__enum_values_by_number[545] = -{ - { "NUL", "PG_QUERY__TOKEN__NUL", 0 }, - { "ASCII_36", "PG_QUERY__TOKEN__ASCII_36", 36 }, - { "ASCII_37", "PG_QUERY__TOKEN__ASCII_37", 37 }, - { "ASCII_40", "PG_QUERY__TOKEN__ASCII_40", 40 }, - { "ASCII_41", "PG_QUERY__TOKEN__ASCII_41", 41 }, - { "ASCII_42", "PG_QUERY__TOKEN__ASCII_42", 42 }, - { "ASCII_43", "PG_QUERY__TOKEN__ASCII_43", 43 }, - { "ASCII_44", "PG_QUERY__TOKEN__ASCII_44", 44 }, - { "ASCII_45", "PG_QUERY__TOKEN__ASCII_45", 45 }, - { "ASCII_46", "PG_QUERY__TOKEN__ASCII_46", 46 }, - { "ASCII_47", "PG_QUERY__TOKEN__ASCII_47", 47 }, - { "ASCII_58", "PG_QUERY__TOKEN__ASCII_58", 58 }, - { "ASCII_59", "PG_QUERY__TOKEN__ASCII_59", 59 }, - { "ASCII_60", "PG_QUERY__TOKEN__ASCII_60", 60 }, - { "ASCII_61", "PG_QUERY__TOKEN__ASCII_61", 61 }, - { "ASCII_62", "PG_QUERY__TOKEN__ASCII_62", 62 }, - { "ASCII_63", "PG_QUERY__TOKEN__ASCII_63", 63 }, - { "ASCII_91", "PG_QUERY__TOKEN__ASCII_91", 91 }, - { "ASCII_92", "PG_QUERY__TOKEN__ASCII_92", 92 }, - { "ASCII_93", "PG_QUERY__TOKEN__ASCII_93", 93 }, - { "ASCII_94", "PG_QUERY__TOKEN__ASCII_94", 94 }, - { "IDENT", "PG_QUERY__TOKEN__IDENT", 258 }, - { "UIDENT", "PG_QUERY__TOKEN__UIDENT", 259 }, - { "FCONST", "PG_QUERY__TOKEN__FCONST", 260 }, - { "SCONST", "PG_QUERY__TOKEN__SCONST", 261 }, - { "USCONST", "PG_QUERY__TOKEN__USCONST", 262 }, - { "BCONST", "PG_QUERY__TOKEN__BCONST", 263 }, - { "XCONST", "PG_QUERY__TOKEN__XCONST", 264 }, - { "Op", "PG_QUERY__TOKEN__Op", 265 }, - { "ICONST", "PG_QUERY__TOKEN__ICONST", 266 }, - { "PARAM", "PG_QUERY__TOKEN__PARAM", 267 }, - { "TYPECAST", "PG_QUERY__TOKEN__TYPECAST", 268 }, - { "DOT_DOT", "PG_QUERY__TOKEN__DOT_DOT", 269 }, - { "COLON_EQUALS", "PG_QUERY__TOKEN__COLON_EQUALS", 270 }, - { "EQUALS_GREATER", "PG_QUERY__TOKEN__EQUALS_GREATER", 271 }, - { "LESS_EQUALS", "PG_QUERY__TOKEN__LESS_EQUALS", 272 }, - { "GREATER_EQUALS", "PG_QUERY__TOKEN__GREATER_EQUALS", 273 }, - { "NOT_EQUALS", "PG_QUERY__TOKEN__NOT_EQUALS", 274 }, - { "SQL_COMMENT", "PG_QUERY__TOKEN__SQL_COMMENT", 275 }, - { "C_COMMENT", "PG_QUERY__TOKEN__C_COMMENT", 276 }, - { "ABORT_P", "PG_QUERY__TOKEN__ABORT_P", 277 }, - { "ABSENT", "PG_QUERY__TOKEN__ABSENT", 278 }, - { "ABSOLUTE_P", "PG_QUERY__TOKEN__ABSOLUTE_P", 279 }, - { "ACCESS", "PG_QUERY__TOKEN__ACCESS", 280 }, - { "ACTION", "PG_QUERY__TOKEN__ACTION", 281 }, - { "ADD_P", "PG_QUERY__TOKEN__ADD_P", 282 }, - { "ADMIN", "PG_QUERY__TOKEN__ADMIN", 283 }, - { "AFTER", "PG_QUERY__TOKEN__AFTER", 284 }, - { "AGGREGATE", "PG_QUERY__TOKEN__AGGREGATE", 285 }, - { "ALL", "PG_QUERY__TOKEN__ALL", 286 }, - { "ALSO", "PG_QUERY__TOKEN__ALSO", 287 }, - { "ALTER", "PG_QUERY__TOKEN__ALTER", 288 }, - { "ALWAYS", "PG_QUERY__TOKEN__ALWAYS", 289 }, - { "ANALYSE", "PG_QUERY__TOKEN__ANALYSE", 290 }, - { "ANALYZE", "PG_QUERY__TOKEN__ANALYZE", 291 }, - { "AND", "PG_QUERY__TOKEN__AND", 292 }, - { "ANY", "PG_QUERY__TOKEN__ANY", 293 }, - { "ARRAY", "PG_QUERY__TOKEN__ARRAY", 294 }, - { "AS", "PG_QUERY__TOKEN__AS", 295 }, - { "ASC", "PG_QUERY__TOKEN__ASC", 296 }, - { "ASENSITIVE", "PG_QUERY__TOKEN__ASENSITIVE", 297 }, - { "ASSERTION", "PG_QUERY__TOKEN__ASSERTION", 298 }, - { "ASSIGNMENT", "PG_QUERY__TOKEN__ASSIGNMENT", 299 }, - { "ASYMMETRIC", "PG_QUERY__TOKEN__ASYMMETRIC", 300 }, - { "ATOMIC", "PG_QUERY__TOKEN__ATOMIC", 301 }, - { "AT", "PG_QUERY__TOKEN__AT", 302 }, - { "ATTACH", "PG_QUERY__TOKEN__ATTACH", 303 }, - { "ATTRIBUTE", "PG_QUERY__TOKEN__ATTRIBUTE", 304 }, - { "AUTHORIZATION", "PG_QUERY__TOKEN__AUTHORIZATION", 305 }, - { "BACKWARD", "PG_QUERY__TOKEN__BACKWARD", 306 }, - { "BEFORE", "PG_QUERY__TOKEN__BEFORE", 307 }, - { "BEGIN_P", "PG_QUERY__TOKEN__BEGIN_P", 308 }, - { "BETWEEN", "PG_QUERY__TOKEN__BETWEEN", 309 }, - { "BIGINT", "PG_QUERY__TOKEN__BIGINT", 310 }, - { "BINARY", "PG_QUERY__TOKEN__BINARY", 311 }, - { "BIT", "PG_QUERY__TOKEN__BIT", 312 }, - { "BOOLEAN_P", "PG_QUERY__TOKEN__BOOLEAN_P", 313 }, - { "BOTH", "PG_QUERY__TOKEN__BOTH", 314 }, - { "BREADTH", "PG_QUERY__TOKEN__BREADTH", 315 }, - { "BY", "PG_QUERY__TOKEN__BY", 316 }, - { "CACHE", "PG_QUERY__TOKEN__CACHE", 317 }, - { "CALL", "PG_QUERY__TOKEN__CALL", 318 }, - { "CALLED", "PG_QUERY__TOKEN__CALLED", 319 }, - { "CASCADE", "PG_QUERY__TOKEN__CASCADE", 320 }, - { "CASCADED", "PG_QUERY__TOKEN__CASCADED", 321 }, - { "CASE", "PG_QUERY__TOKEN__CASE", 322 }, - { "CAST", "PG_QUERY__TOKEN__CAST", 323 }, - { "CATALOG_P", "PG_QUERY__TOKEN__CATALOG_P", 324 }, - { "CHAIN", "PG_QUERY__TOKEN__CHAIN", 325 }, - { "CHAR_P", "PG_QUERY__TOKEN__CHAR_P", 326 }, - { "CHARACTER", "PG_QUERY__TOKEN__CHARACTER", 327 }, - { "CHARACTERISTICS", "PG_QUERY__TOKEN__CHARACTERISTICS", 328 }, - { "CHECK", "PG_QUERY__TOKEN__CHECK", 329 }, - { "CHECKPOINT", "PG_QUERY__TOKEN__CHECKPOINT", 330 }, - { "CLASS", "PG_QUERY__TOKEN__CLASS", 331 }, - { "CLOSE", "PG_QUERY__TOKEN__CLOSE", 332 }, - { "CLUSTER", "PG_QUERY__TOKEN__CLUSTER", 333 }, - { "COALESCE", "PG_QUERY__TOKEN__COALESCE", 334 }, - { "COLLATE", "PG_QUERY__TOKEN__COLLATE", 335 }, - { "COLLATION", "PG_QUERY__TOKEN__COLLATION", 336 }, - { "COLUMN", "PG_QUERY__TOKEN__COLUMN", 337 }, - { "COLUMNS", "PG_QUERY__TOKEN__COLUMNS", 338 }, - { "COMMENT", "PG_QUERY__TOKEN__COMMENT", 339 }, - { "COMMENTS", "PG_QUERY__TOKEN__COMMENTS", 340 }, - { "COMMIT", "PG_QUERY__TOKEN__COMMIT", 341 }, - { "COMMITTED", "PG_QUERY__TOKEN__COMMITTED", 342 }, - { "COMPRESSION", "PG_QUERY__TOKEN__COMPRESSION", 343 }, - { "CONCURRENTLY", "PG_QUERY__TOKEN__CONCURRENTLY", 344 }, - { "CONDITIONAL", "PG_QUERY__TOKEN__CONDITIONAL", 345 }, - { "CONFIGURATION", "PG_QUERY__TOKEN__CONFIGURATION", 346 }, - { "CONFLICT", "PG_QUERY__TOKEN__CONFLICT", 347 }, - { "CONNECTION", "PG_QUERY__TOKEN__CONNECTION", 348 }, - { "CONSTRAINT", "PG_QUERY__TOKEN__CONSTRAINT", 349 }, - { "CONSTRAINTS", "PG_QUERY__TOKEN__CONSTRAINTS", 350 }, - { "CONTENT_P", "PG_QUERY__TOKEN__CONTENT_P", 351 }, - { "CONTINUE_P", "PG_QUERY__TOKEN__CONTINUE_P", 352 }, - { "CONVERSION_P", "PG_QUERY__TOKEN__CONVERSION_P", 353 }, - { "COPY", "PG_QUERY__TOKEN__COPY", 354 }, - { "COST", "PG_QUERY__TOKEN__COST", 355 }, - { "CREATE", "PG_QUERY__TOKEN__CREATE", 356 }, - { "CROSS", "PG_QUERY__TOKEN__CROSS", 357 }, - { "CSV", "PG_QUERY__TOKEN__CSV", 358 }, - { "CUBE", "PG_QUERY__TOKEN__CUBE", 359 }, - { "CURRENT_P", "PG_QUERY__TOKEN__CURRENT_P", 360 }, - { "CURRENT_CATALOG", "PG_QUERY__TOKEN__CURRENT_CATALOG", 361 }, - { "CURRENT_DATE", "PG_QUERY__TOKEN__CURRENT_DATE", 362 }, - { "CURRENT_ROLE", "PG_QUERY__TOKEN__CURRENT_ROLE", 363 }, - { "CURRENT_SCHEMA", "PG_QUERY__TOKEN__CURRENT_SCHEMA", 364 }, - { "CURRENT_TIME", "PG_QUERY__TOKEN__CURRENT_TIME", 365 }, - { "CURRENT_TIMESTAMP", "PG_QUERY__TOKEN__CURRENT_TIMESTAMP", 366 }, - { "CURRENT_USER", "PG_QUERY__TOKEN__CURRENT_USER", 367 }, - { "CURSOR", "PG_QUERY__TOKEN__CURSOR", 368 }, - { "CYCLE", "PG_QUERY__TOKEN__CYCLE", 369 }, - { "DATA_P", "PG_QUERY__TOKEN__DATA_P", 370 }, - { "DATABASE", "PG_QUERY__TOKEN__DATABASE", 371 }, - { "DAY_P", "PG_QUERY__TOKEN__DAY_P", 372 }, - { "DEALLOCATE", "PG_QUERY__TOKEN__DEALLOCATE", 373 }, - { "DEC", "PG_QUERY__TOKEN__DEC", 374 }, - { "DECIMAL_P", "PG_QUERY__TOKEN__DECIMAL_P", 375 }, - { "DECLARE", "PG_QUERY__TOKEN__DECLARE", 376 }, - { "DEFAULT", "PG_QUERY__TOKEN__DEFAULT", 377 }, - { "DEFAULTS", "PG_QUERY__TOKEN__DEFAULTS", 378 }, - { "DEFERRABLE", "PG_QUERY__TOKEN__DEFERRABLE", 379 }, - { "DEFERRED", "PG_QUERY__TOKEN__DEFERRED", 380 }, - { "DEFINER", "PG_QUERY__TOKEN__DEFINER", 381 }, - { "DELETE_P", "PG_QUERY__TOKEN__DELETE_P", 382 }, - { "DELIMITER", "PG_QUERY__TOKEN__DELIMITER", 383 }, - { "DELIMITERS", "PG_QUERY__TOKEN__DELIMITERS", 384 }, - { "DEPENDS", "PG_QUERY__TOKEN__DEPENDS", 385 }, - { "DEPTH", "PG_QUERY__TOKEN__DEPTH", 386 }, - { "DESC", "PG_QUERY__TOKEN__DESC", 387 }, - { "DETACH", "PG_QUERY__TOKEN__DETACH", 388 }, - { "DICTIONARY", "PG_QUERY__TOKEN__DICTIONARY", 389 }, - { "DISABLE_P", "PG_QUERY__TOKEN__DISABLE_P", 390 }, - { "DISCARD", "PG_QUERY__TOKEN__DISCARD", 391 }, - { "DISTINCT", "PG_QUERY__TOKEN__DISTINCT", 392 }, - { "DO", "PG_QUERY__TOKEN__DO", 393 }, - { "DOCUMENT_P", "PG_QUERY__TOKEN__DOCUMENT_P", 394 }, - { "DOMAIN_P", "PG_QUERY__TOKEN__DOMAIN_P", 395 }, - { "DOUBLE_P", "PG_QUERY__TOKEN__DOUBLE_P", 396 }, - { "DROP", "PG_QUERY__TOKEN__DROP", 397 }, - { "EACH", "PG_QUERY__TOKEN__EACH", 398 }, - { "ELSE", "PG_QUERY__TOKEN__ELSE", 399 }, - { "EMPTY_P", "PG_QUERY__TOKEN__EMPTY_P", 400 }, - { "ENABLE_P", "PG_QUERY__TOKEN__ENABLE_P", 401 }, - { "ENCODING", "PG_QUERY__TOKEN__ENCODING", 402 }, - { "ENCRYPTED", "PG_QUERY__TOKEN__ENCRYPTED", 403 }, - { "END_P", "PG_QUERY__TOKEN__END_P", 404 }, - { "ENFORCED", "PG_QUERY__TOKEN__ENFORCED", 405 }, - { "ENUM_P", "PG_QUERY__TOKEN__ENUM_P", 406 }, - { "ERROR_P", "PG_QUERY__TOKEN__ERROR_P", 407 }, - { "ESCAPE", "PG_QUERY__TOKEN__ESCAPE", 408 }, - { "EVENT", "PG_QUERY__TOKEN__EVENT", 409 }, - { "EXCEPT", "PG_QUERY__TOKEN__EXCEPT", 410 }, - { "EXCLUDE", "PG_QUERY__TOKEN__EXCLUDE", 411 }, - { "EXCLUDING", "PG_QUERY__TOKEN__EXCLUDING", 412 }, - { "EXCLUSIVE", "PG_QUERY__TOKEN__EXCLUSIVE", 413 }, - { "EXECUTE", "PG_QUERY__TOKEN__EXECUTE", 414 }, - { "EXISTS", "PG_QUERY__TOKEN__EXISTS", 415 }, - { "EXPLAIN", "PG_QUERY__TOKEN__EXPLAIN", 416 }, - { "EXPRESSION", "PG_QUERY__TOKEN__EXPRESSION", 417 }, - { "EXTENSION", "PG_QUERY__TOKEN__EXTENSION", 418 }, - { "EXTERNAL", "PG_QUERY__TOKEN__EXTERNAL", 419 }, - { "EXTRACT", "PG_QUERY__TOKEN__EXTRACT", 420 }, - { "FALSE_P", "PG_QUERY__TOKEN__FALSE_P", 421 }, - { "FAMILY", "PG_QUERY__TOKEN__FAMILY", 422 }, - { "FETCH", "PG_QUERY__TOKEN__FETCH", 423 }, - { "FILTER", "PG_QUERY__TOKEN__FILTER", 424 }, - { "FINALIZE", "PG_QUERY__TOKEN__FINALIZE", 425 }, - { "FIRST_P", "PG_QUERY__TOKEN__FIRST_P", 426 }, - { "FLOAT_P", "PG_QUERY__TOKEN__FLOAT_P", 427 }, - { "FOLLOWING", "PG_QUERY__TOKEN__FOLLOWING", 428 }, - { "FOR", "PG_QUERY__TOKEN__FOR", 429 }, - { "FORCE", "PG_QUERY__TOKEN__FORCE", 430 }, - { "FOREIGN", "PG_QUERY__TOKEN__FOREIGN", 431 }, - { "FORMAT", "PG_QUERY__TOKEN__FORMAT", 432 }, - { "FORWARD", "PG_QUERY__TOKEN__FORWARD", 433 }, - { "FREEZE", "PG_QUERY__TOKEN__FREEZE", 434 }, - { "FROM", "PG_QUERY__TOKEN__FROM", 435 }, - { "FULL", "PG_QUERY__TOKEN__FULL", 436 }, - { "FUNCTION", "PG_QUERY__TOKEN__FUNCTION", 437 }, - { "FUNCTIONS", "PG_QUERY__TOKEN__FUNCTIONS", 438 }, - { "GENERATED", "PG_QUERY__TOKEN__GENERATED", 439 }, - { "GLOBAL", "PG_QUERY__TOKEN__GLOBAL", 440 }, - { "GRANT", "PG_QUERY__TOKEN__GRANT", 441 }, - { "GRANTED", "PG_QUERY__TOKEN__GRANTED", 442 }, - { "GREATEST", "PG_QUERY__TOKEN__GREATEST", 443 }, - { "GROUP_P", "PG_QUERY__TOKEN__GROUP_P", 444 }, - { "GROUPING", "PG_QUERY__TOKEN__GROUPING", 445 }, - { "GROUPS", "PG_QUERY__TOKEN__GROUPS", 446 }, - { "HANDLER", "PG_QUERY__TOKEN__HANDLER", 447 }, - { "HAVING", "PG_QUERY__TOKEN__HAVING", 448 }, - { "HEADER_P", "PG_QUERY__TOKEN__HEADER_P", 449 }, - { "HOLD", "PG_QUERY__TOKEN__HOLD", 450 }, - { "HOUR_P", "PG_QUERY__TOKEN__HOUR_P", 451 }, - { "IDENTITY_P", "PG_QUERY__TOKEN__IDENTITY_P", 452 }, - { "IF_P", "PG_QUERY__TOKEN__IF_P", 453 }, - { "ILIKE", "PG_QUERY__TOKEN__ILIKE", 454 }, - { "IMMEDIATE", "PG_QUERY__TOKEN__IMMEDIATE", 455 }, - { "IMMUTABLE", "PG_QUERY__TOKEN__IMMUTABLE", 456 }, - { "IMPLICIT_P", "PG_QUERY__TOKEN__IMPLICIT_P", 457 }, - { "IMPORT_P", "PG_QUERY__TOKEN__IMPORT_P", 458 }, - { "IN_P", "PG_QUERY__TOKEN__IN_P", 459 }, - { "INCLUDE", "PG_QUERY__TOKEN__INCLUDE", 460 }, - { "INCLUDING", "PG_QUERY__TOKEN__INCLUDING", 461 }, - { "INCREMENT", "PG_QUERY__TOKEN__INCREMENT", 462 }, - { "INDENT", "PG_QUERY__TOKEN__INDENT", 463 }, - { "INDEX", "PG_QUERY__TOKEN__INDEX", 464 }, - { "INDEXES", "PG_QUERY__TOKEN__INDEXES", 465 }, - { "INHERIT", "PG_QUERY__TOKEN__INHERIT", 466 }, - { "INHERITS", "PG_QUERY__TOKEN__INHERITS", 467 }, - { "INITIALLY", "PG_QUERY__TOKEN__INITIALLY", 468 }, - { "INLINE_P", "PG_QUERY__TOKEN__INLINE_P", 469 }, - { "INNER_P", "PG_QUERY__TOKEN__INNER_P", 470 }, - { "INOUT", "PG_QUERY__TOKEN__INOUT", 471 }, - { "INPUT_P", "PG_QUERY__TOKEN__INPUT_P", 472 }, - { "INSENSITIVE", "PG_QUERY__TOKEN__INSENSITIVE", 473 }, - { "INSERT", "PG_QUERY__TOKEN__INSERT", 474 }, - { "INSTEAD", "PG_QUERY__TOKEN__INSTEAD", 475 }, - { "INT_P", "PG_QUERY__TOKEN__INT_P", 476 }, - { "INTEGER", "PG_QUERY__TOKEN__INTEGER", 477 }, - { "INTERSECT", "PG_QUERY__TOKEN__INTERSECT", 478 }, - { "INTERVAL", "PG_QUERY__TOKEN__INTERVAL", 479 }, - { "INTO", "PG_QUERY__TOKEN__INTO", 480 }, - { "INVOKER", "PG_QUERY__TOKEN__INVOKER", 481 }, - { "IS", "PG_QUERY__TOKEN__IS", 482 }, - { "ISNULL", "PG_QUERY__TOKEN__ISNULL", 483 }, - { "ISOLATION", "PG_QUERY__TOKEN__ISOLATION", 484 }, - { "JOIN", "PG_QUERY__TOKEN__JOIN", 485 }, - { "JSON", "PG_QUERY__TOKEN__JSON", 486 }, - { "JSON_ARRAY", "PG_QUERY__TOKEN__JSON_ARRAY", 487 }, - { "JSON_ARRAYAGG", "PG_QUERY__TOKEN__JSON_ARRAYAGG", 488 }, - { "JSON_EXISTS", "PG_QUERY__TOKEN__JSON_EXISTS", 489 }, - { "JSON_OBJECT", "PG_QUERY__TOKEN__JSON_OBJECT", 490 }, - { "JSON_OBJECTAGG", "PG_QUERY__TOKEN__JSON_OBJECTAGG", 491 }, - { "JSON_QUERY", "PG_QUERY__TOKEN__JSON_QUERY", 492 }, - { "JSON_SCALAR", "PG_QUERY__TOKEN__JSON_SCALAR", 493 }, - { "JSON_SERIALIZE", "PG_QUERY__TOKEN__JSON_SERIALIZE", 494 }, - { "JSON_TABLE", "PG_QUERY__TOKEN__JSON_TABLE", 495 }, - { "JSON_VALUE", "PG_QUERY__TOKEN__JSON_VALUE", 496 }, - { "KEEP", "PG_QUERY__TOKEN__KEEP", 497 }, - { "KEY", "PG_QUERY__TOKEN__KEY", 498 }, - { "KEYS", "PG_QUERY__TOKEN__KEYS", 499 }, - { "LABEL", "PG_QUERY__TOKEN__LABEL", 500 }, - { "LANGUAGE", "PG_QUERY__TOKEN__LANGUAGE", 501 }, - { "LARGE_P", "PG_QUERY__TOKEN__LARGE_P", 502 }, - { "LAST_P", "PG_QUERY__TOKEN__LAST_P", 503 }, - { "LATERAL_P", "PG_QUERY__TOKEN__LATERAL_P", 504 }, - { "LEADING", "PG_QUERY__TOKEN__LEADING", 505 }, - { "LEAKPROOF", "PG_QUERY__TOKEN__LEAKPROOF", 506 }, - { "LEAST", "PG_QUERY__TOKEN__LEAST", 507 }, - { "LEFT", "PG_QUERY__TOKEN__LEFT", 508 }, - { "LEVEL", "PG_QUERY__TOKEN__LEVEL", 509 }, - { "LIKE", "PG_QUERY__TOKEN__LIKE", 510 }, - { "LIMIT", "PG_QUERY__TOKEN__LIMIT", 511 }, - { "LISTEN", "PG_QUERY__TOKEN__LISTEN", 512 }, - { "LOAD", "PG_QUERY__TOKEN__LOAD", 513 }, - { "LOCAL", "PG_QUERY__TOKEN__LOCAL", 514 }, - { "LOCALTIME", "PG_QUERY__TOKEN__LOCALTIME", 515 }, - { "LOCALTIMESTAMP", "PG_QUERY__TOKEN__LOCALTIMESTAMP", 516 }, - { "LOCATION", "PG_QUERY__TOKEN__LOCATION", 517 }, - { "LOCK_P", "PG_QUERY__TOKEN__LOCK_P", 518 }, - { "LOCKED", "PG_QUERY__TOKEN__LOCKED", 519 }, - { "LOGGED", "PG_QUERY__TOKEN__LOGGED", 520 }, - { "MAPPING", "PG_QUERY__TOKEN__MAPPING", 521 }, - { "MATCH", "PG_QUERY__TOKEN__MATCH", 522 }, - { "MATCHED", "PG_QUERY__TOKEN__MATCHED", 523 }, - { "MATERIALIZED", "PG_QUERY__TOKEN__MATERIALIZED", 524 }, - { "MAXVALUE", "PG_QUERY__TOKEN__MAXVALUE", 525 }, - { "MERGE", "PG_QUERY__TOKEN__MERGE", 526 }, - { "MERGE_ACTION", "PG_QUERY__TOKEN__MERGE_ACTION", 527 }, - { "METHOD", "PG_QUERY__TOKEN__METHOD", 528 }, - { "MINUTE_P", "PG_QUERY__TOKEN__MINUTE_P", 529 }, - { "MINVALUE", "PG_QUERY__TOKEN__MINVALUE", 530 }, - { "MODE", "PG_QUERY__TOKEN__MODE", 531 }, - { "MONTH_P", "PG_QUERY__TOKEN__MONTH_P", 532 }, - { "MOVE", "PG_QUERY__TOKEN__MOVE", 533 }, - { "NAME_P", "PG_QUERY__TOKEN__NAME_P", 534 }, - { "NAMES", "PG_QUERY__TOKEN__NAMES", 535 }, - { "NATIONAL", "PG_QUERY__TOKEN__NATIONAL", 536 }, - { "NATURAL", "PG_QUERY__TOKEN__NATURAL", 537 }, - { "NCHAR", "PG_QUERY__TOKEN__NCHAR", 538 }, - { "NESTED", "PG_QUERY__TOKEN__NESTED", 539 }, - { "NEW", "PG_QUERY__TOKEN__NEW", 540 }, - { "NEXT", "PG_QUERY__TOKEN__NEXT", 541 }, - { "NFC", "PG_QUERY__TOKEN__NFC", 542 }, - { "NFD", "PG_QUERY__TOKEN__NFD", 543 }, - { "NFKC", "PG_QUERY__TOKEN__NFKC", 544 }, - { "NFKD", "PG_QUERY__TOKEN__NFKD", 545 }, - { "NO", "PG_QUERY__TOKEN__NO", 546 }, - { "NONE", "PG_QUERY__TOKEN__NONE", 547 }, - { "NORMALIZE", "PG_QUERY__TOKEN__NORMALIZE", 548 }, - { "NORMALIZED", "PG_QUERY__TOKEN__NORMALIZED", 549 }, - { "NOT", "PG_QUERY__TOKEN__NOT", 550 }, - { "NOTHING", "PG_QUERY__TOKEN__NOTHING", 551 }, - { "NOTIFY", "PG_QUERY__TOKEN__NOTIFY", 552 }, - { "NOTNULL", "PG_QUERY__TOKEN__NOTNULL", 553 }, - { "NOWAIT", "PG_QUERY__TOKEN__NOWAIT", 554 }, - { "NULL_P", "PG_QUERY__TOKEN__NULL_P", 555 }, - { "NULLIF", "PG_QUERY__TOKEN__NULLIF", 556 }, - { "NULLS_P", "PG_QUERY__TOKEN__NULLS_P", 557 }, - { "NUMERIC", "PG_QUERY__TOKEN__NUMERIC", 558 }, - { "OBJECT_P", "PG_QUERY__TOKEN__OBJECT_P", 559 }, - { "OBJECTS_P", "PG_QUERY__TOKEN__OBJECTS_P", 560 }, - { "OF", "PG_QUERY__TOKEN__OF", 561 }, - { "OFF", "PG_QUERY__TOKEN__OFF", 562 }, - { "OFFSET", "PG_QUERY__TOKEN__OFFSET", 563 }, - { "OIDS", "PG_QUERY__TOKEN__OIDS", 564 }, - { "OLD", "PG_QUERY__TOKEN__OLD", 565 }, - { "OMIT", "PG_QUERY__TOKEN__OMIT", 566 }, - { "ON", "PG_QUERY__TOKEN__ON", 567 }, - { "ONLY", "PG_QUERY__TOKEN__ONLY", 568 }, - { "OPERATOR", "PG_QUERY__TOKEN__OPERATOR", 569 }, - { "OPTION", "PG_QUERY__TOKEN__OPTION", 570 }, - { "OPTIONS", "PG_QUERY__TOKEN__OPTIONS", 571 }, - { "OR", "PG_QUERY__TOKEN__OR", 572 }, - { "ORDER", "PG_QUERY__TOKEN__ORDER", 573 }, - { "ORDINALITY", "PG_QUERY__TOKEN__ORDINALITY", 574 }, - { "OTHERS", "PG_QUERY__TOKEN__OTHERS", 575 }, - { "OUT_P", "PG_QUERY__TOKEN__OUT_P", 576 }, - { "OUTER_P", "PG_QUERY__TOKEN__OUTER_P", 577 }, - { "OVER", "PG_QUERY__TOKEN__OVER", 578 }, - { "OVERLAPS", "PG_QUERY__TOKEN__OVERLAPS", 579 }, - { "OVERLAY", "PG_QUERY__TOKEN__OVERLAY", 580 }, - { "OVERRIDING", "PG_QUERY__TOKEN__OVERRIDING", 581 }, - { "OWNED", "PG_QUERY__TOKEN__OWNED", 582 }, - { "OWNER", "PG_QUERY__TOKEN__OWNER", 583 }, - { "PARALLEL", "PG_QUERY__TOKEN__PARALLEL", 584 }, - { "PARAMETER", "PG_QUERY__TOKEN__PARAMETER", 585 }, - { "PARSER", "PG_QUERY__TOKEN__PARSER", 586 }, - { "PARTIAL", "PG_QUERY__TOKEN__PARTIAL", 587 }, - { "PARTITION", "PG_QUERY__TOKEN__PARTITION", 588 }, - { "PASSING", "PG_QUERY__TOKEN__PASSING", 589 }, - { "PASSWORD", "PG_QUERY__TOKEN__PASSWORD", 590 }, - { "PATH", "PG_QUERY__TOKEN__PATH", 591 }, - { "PERIOD", "PG_QUERY__TOKEN__PERIOD", 592 }, - { "PLACING", "PG_QUERY__TOKEN__PLACING", 593 }, - { "PLAN", "PG_QUERY__TOKEN__PLAN", 594 }, - { "PLANS", "PG_QUERY__TOKEN__PLANS", 595 }, - { "POLICY", "PG_QUERY__TOKEN__POLICY", 596 }, - { "POSITION", "PG_QUERY__TOKEN__POSITION", 597 }, - { "PRECEDING", "PG_QUERY__TOKEN__PRECEDING", 598 }, - { "PRECISION", "PG_QUERY__TOKEN__PRECISION", 599 }, - { "PRESERVE", "PG_QUERY__TOKEN__PRESERVE", 600 }, - { "PREPARE", "PG_QUERY__TOKEN__PREPARE", 601 }, - { "PREPARED", "PG_QUERY__TOKEN__PREPARED", 602 }, - { "PRIMARY", "PG_QUERY__TOKEN__PRIMARY", 603 }, - { "PRIOR", "PG_QUERY__TOKEN__PRIOR", 604 }, - { "PRIVILEGES", "PG_QUERY__TOKEN__PRIVILEGES", 605 }, - { "PROCEDURAL", "PG_QUERY__TOKEN__PROCEDURAL", 606 }, - { "PROCEDURE", "PG_QUERY__TOKEN__PROCEDURE", 607 }, - { "PROCEDURES", "PG_QUERY__TOKEN__PROCEDURES", 608 }, - { "PROGRAM", "PG_QUERY__TOKEN__PROGRAM", 609 }, - { "PUBLICATION", "PG_QUERY__TOKEN__PUBLICATION", 610 }, - { "QUOTE", "PG_QUERY__TOKEN__QUOTE", 611 }, - { "QUOTES", "PG_QUERY__TOKEN__QUOTES", 612 }, - { "RANGE", "PG_QUERY__TOKEN__RANGE", 613 }, - { "READ", "PG_QUERY__TOKEN__READ", 614 }, - { "REAL", "PG_QUERY__TOKEN__REAL", 615 }, - { "REASSIGN", "PG_QUERY__TOKEN__REASSIGN", 616 }, - { "RECURSIVE", "PG_QUERY__TOKEN__RECURSIVE", 617 }, - { "REF_P", "PG_QUERY__TOKEN__REF_P", 618 }, - { "REFERENCES", "PG_QUERY__TOKEN__REFERENCES", 619 }, - { "REFERENCING", "PG_QUERY__TOKEN__REFERENCING", 620 }, - { "REFRESH", "PG_QUERY__TOKEN__REFRESH", 621 }, - { "REINDEX", "PG_QUERY__TOKEN__REINDEX", 622 }, - { "RELATIVE_P", "PG_QUERY__TOKEN__RELATIVE_P", 623 }, - { "RELEASE", "PG_QUERY__TOKEN__RELEASE", 624 }, - { "RENAME", "PG_QUERY__TOKEN__RENAME", 625 }, - { "REPEATABLE", "PG_QUERY__TOKEN__REPEATABLE", 626 }, - { "REPLACE", "PG_QUERY__TOKEN__REPLACE", 627 }, - { "REPLICA", "PG_QUERY__TOKEN__REPLICA", 628 }, - { "RESET", "PG_QUERY__TOKEN__RESET", 629 }, - { "RESTART", "PG_QUERY__TOKEN__RESTART", 630 }, - { "RESTRICT", "PG_QUERY__TOKEN__RESTRICT", 631 }, - { "RETURN", "PG_QUERY__TOKEN__RETURN", 632 }, - { "RETURNING", "PG_QUERY__TOKEN__RETURNING", 633 }, - { "RETURNS", "PG_QUERY__TOKEN__RETURNS", 634 }, - { "REVOKE", "PG_QUERY__TOKEN__REVOKE", 635 }, - { "RIGHT", "PG_QUERY__TOKEN__RIGHT", 636 }, - { "ROLE", "PG_QUERY__TOKEN__ROLE", 637 }, - { "ROLLBACK", "PG_QUERY__TOKEN__ROLLBACK", 638 }, - { "ROLLUP", "PG_QUERY__TOKEN__ROLLUP", 639 }, - { "ROUTINE", "PG_QUERY__TOKEN__ROUTINE", 640 }, - { "ROUTINES", "PG_QUERY__TOKEN__ROUTINES", 641 }, - { "ROW", "PG_QUERY__TOKEN__ROW", 642 }, - { "ROWS", "PG_QUERY__TOKEN__ROWS", 643 }, - { "RULE", "PG_QUERY__TOKEN__RULE", 644 }, - { "SAVEPOINT", "PG_QUERY__TOKEN__SAVEPOINT", 645 }, - { "SCALAR", "PG_QUERY__TOKEN__SCALAR", 646 }, - { "SCHEMA", "PG_QUERY__TOKEN__SCHEMA", 647 }, - { "SCHEMAS", "PG_QUERY__TOKEN__SCHEMAS", 648 }, - { "SCROLL", "PG_QUERY__TOKEN__SCROLL", 649 }, - { "SEARCH", "PG_QUERY__TOKEN__SEARCH", 650 }, - { "SECOND_P", "PG_QUERY__TOKEN__SECOND_P", 651 }, - { "SECURITY", "PG_QUERY__TOKEN__SECURITY", 652 }, - { "SELECT", "PG_QUERY__TOKEN__SELECT", 653 }, - { "SEQUENCE", "PG_QUERY__TOKEN__SEQUENCE", 654 }, - { "SEQUENCES", "PG_QUERY__TOKEN__SEQUENCES", 655 }, - { "SERIALIZABLE", "PG_QUERY__TOKEN__SERIALIZABLE", 656 }, - { "SERVER", "PG_QUERY__TOKEN__SERVER", 657 }, - { "SESSION", "PG_QUERY__TOKEN__SESSION", 658 }, - { "SESSION_USER", "PG_QUERY__TOKEN__SESSION_USER", 659 }, - { "SET", "PG_QUERY__TOKEN__SET", 660 }, - { "SETS", "PG_QUERY__TOKEN__SETS", 661 }, - { "SETOF", "PG_QUERY__TOKEN__SETOF", 662 }, - { "SHARE", "PG_QUERY__TOKEN__SHARE", 663 }, - { "SHOW", "PG_QUERY__TOKEN__SHOW", 664 }, - { "SIMILAR", "PG_QUERY__TOKEN__SIMILAR", 665 }, - { "SIMPLE", "PG_QUERY__TOKEN__SIMPLE", 666 }, - { "SKIP", "PG_QUERY__TOKEN__SKIP", 667 }, - { "SMALLINT", "PG_QUERY__TOKEN__SMALLINT", 668 }, - { "SNAPSHOT", "PG_QUERY__TOKEN__SNAPSHOT", 669 }, - { "SOME", "PG_QUERY__TOKEN__SOME", 670 }, - { "SOURCE", "PG_QUERY__TOKEN__SOURCE", 671 }, - { "SQL_P", "PG_QUERY__TOKEN__SQL_P", 672 }, - { "STABLE", "PG_QUERY__TOKEN__STABLE", 673 }, - { "STANDALONE_P", "PG_QUERY__TOKEN__STANDALONE_P", 674 }, - { "START", "PG_QUERY__TOKEN__START", 675 }, - { "STATEMENT", "PG_QUERY__TOKEN__STATEMENT", 676 }, - { "STATISTICS", "PG_QUERY__TOKEN__STATISTICS", 677 }, - { "STDIN", "PG_QUERY__TOKEN__STDIN", 678 }, - { "STDOUT", "PG_QUERY__TOKEN__STDOUT", 679 }, - { "STORAGE", "PG_QUERY__TOKEN__STORAGE", 680 }, - { "STORED", "PG_QUERY__TOKEN__STORED", 681 }, - { "STRICT_P", "PG_QUERY__TOKEN__STRICT_P", 682 }, - { "STRING_P", "PG_QUERY__TOKEN__STRING_P", 683 }, - { "STRIP_P", "PG_QUERY__TOKEN__STRIP_P", 684 }, - { "SUBSCRIPTION", "PG_QUERY__TOKEN__SUBSCRIPTION", 685 }, - { "SUBSTRING", "PG_QUERY__TOKEN__SUBSTRING", 686 }, - { "SUPPORT", "PG_QUERY__TOKEN__SUPPORT", 687 }, - { "SYMMETRIC", "PG_QUERY__TOKEN__SYMMETRIC", 688 }, - { "SYSID", "PG_QUERY__TOKEN__SYSID", 689 }, - { "SYSTEM_P", "PG_QUERY__TOKEN__SYSTEM_P", 690 }, - { "SYSTEM_USER", "PG_QUERY__TOKEN__SYSTEM_USER", 691 }, - { "TABLE", "PG_QUERY__TOKEN__TABLE", 692 }, - { "TABLES", "PG_QUERY__TOKEN__TABLES", 693 }, - { "TABLESAMPLE", "PG_QUERY__TOKEN__TABLESAMPLE", 694 }, - { "TABLESPACE", "PG_QUERY__TOKEN__TABLESPACE", 695 }, - { "TARGET", "PG_QUERY__TOKEN__TARGET", 696 }, - { "TEMP", "PG_QUERY__TOKEN__TEMP", 697 }, - { "TEMPLATE", "PG_QUERY__TOKEN__TEMPLATE", 698 }, - { "TEMPORARY", "PG_QUERY__TOKEN__TEMPORARY", 699 }, - { "TEXT_P", "PG_QUERY__TOKEN__TEXT_P", 700 }, - { "THEN", "PG_QUERY__TOKEN__THEN", 701 }, - { "TIES", "PG_QUERY__TOKEN__TIES", 702 }, - { "TIME", "PG_QUERY__TOKEN__TIME", 703 }, - { "TIMESTAMP", "PG_QUERY__TOKEN__TIMESTAMP", 704 }, - { "TO", "PG_QUERY__TOKEN__TO", 705 }, - { "TRAILING", "PG_QUERY__TOKEN__TRAILING", 706 }, - { "TRANSACTION", "PG_QUERY__TOKEN__TRANSACTION", 707 }, - { "TRANSFORM", "PG_QUERY__TOKEN__TRANSFORM", 708 }, - { "TREAT", "PG_QUERY__TOKEN__TREAT", 709 }, - { "TRIGGER", "PG_QUERY__TOKEN__TRIGGER", 710 }, - { "TRIM", "PG_QUERY__TOKEN__TRIM", 711 }, - { "TRUE_P", "PG_QUERY__TOKEN__TRUE_P", 712 }, - { "TRUNCATE", "PG_QUERY__TOKEN__TRUNCATE", 713 }, - { "TRUSTED", "PG_QUERY__TOKEN__TRUSTED", 714 }, - { "TYPE_P", "PG_QUERY__TOKEN__TYPE_P", 715 }, - { "TYPES_P", "PG_QUERY__TOKEN__TYPES_P", 716 }, - { "UESCAPE", "PG_QUERY__TOKEN__UESCAPE", 717 }, - { "UNBOUNDED", "PG_QUERY__TOKEN__UNBOUNDED", 718 }, - { "UNCONDITIONAL", "PG_QUERY__TOKEN__UNCONDITIONAL", 719 }, - { "UNCOMMITTED", "PG_QUERY__TOKEN__UNCOMMITTED", 720 }, - { "UNENCRYPTED", "PG_QUERY__TOKEN__UNENCRYPTED", 721 }, - { "UNION", "PG_QUERY__TOKEN__UNION", 722 }, - { "UNIQUE", "PG_QUERY__TOKEN__UNIQUE", 723 }, - { "UNKNOWN", "PG_QUERY__TOKEN__UNKNOWN", 724 }, - { "UNLISTEN", "PG_QUERY__TOKEN__UNLISTEN", 725 }, - { "UNLOGGED", "PG_QUERY__TOKEN__UNLOGGED", 726 }, - { "UNTIL", "PG_QUERY__TOKEN__UNTIL", 727 }, - { "UPDATE", "PG_QUERY__TOKEN__UPDATE", 728 }, - { "USER", "PG_QUERY__TOKEN__USER", 729 }, - { "USING", "PG_QUERY__TOKEN__USING", 730 }, - { "VACUUM", "PG_QUERY__TOKEN__VACUUM", 731 }, - { "VALID", "PG_QUERY__TOKEN__VALID", 732 }, - { "VALIDATE", "PG_QUERY__TOKEN__VALIDATE", 733 }, - { "VALIDATOR", "PG_QUERY__TOKEN__VALIDATOR", 734 }, - { "VALUE_P", "PG_QUERY__TOKEN__VALUE_P", 735 }, - { "VALUES", "PG_QUERY__TOKEN__VALUES", 736 }, - { "VARCHAR", "PG_QUERY__TOKEN__VARCHAR", 737 }, - { "VARIADIC", "PG_QUERY__TOKEN__VARIADIC", 738 }, - { "VARYING", "PG_QUERY__TOKEN__VARYING", 739 }, - { "VERBOSE", "PG_QUERY__TOKEN__VERBOSE", 740 }, - { "VERSION_P", "PG_QUERY__TOKEN__VERSION_P", 741 }, - { "VIEW", "PG_QUERY__TOKEN__VIEW", 742 }, - { "VIEWS", "PG_QUERY__TOKEN__VIEWS", 743 }, - { "VIRTUAL", "PG_QUERY__TOKEN__VIRTUAL", 744 }, - { "VOLATILE", "PG_QUERY__TOKEN__VOLATILE", 745 }, - { "WHEN", "PG_QUERY__TOKEN__WHEN", 746 }, - { "WHERE", "PG_QUERY__TOKEN__WHERE", 747 }, - { "WHITESPACE_P", "PG_QUERY__TOKEN__WHITESPACE_P", 748 }, - { "WINDOW", "PG_QUERY__TOKEN__WINDOW", 749 }, - { "WITH", "PG_QUERY__TOKEN__WITH", 750 }, - { "WITHIN", "PG_QUERY__TOKEN__WITHIN", 751 }, - { "WITHOUT", "PG_QUERY__TOKEN__WITHOUT", 752 }, - { "WORK", "PG_QUERY__TOKEN__WORK", 753 }, - { "WRAPPER", "PG_QUERY__TOKEN__WRAPPER", 754 }, - { "WRITE", "PG_QUERY__TOKEN__WRITE", 755 }, - { "XML_P", "PG_QUERY__TOKEN__XML_P", 756 }, - { "XMLATTRIBUTES", "PG_QUERY__TOKEN__XMLATTRIBUTES", 757 }, - { "XMLCONCAT", "PG_QUERY__TOKEN__XMLCONCAT", 758 }, - { "XMLELEMENT", "PG_QUERY__TOKEN__XMLELEMENT", 759 }, - { "XMLEXISTS", "PG_QUERY__TOKEN__XMLEXISTS", 760 }, - { "XMLFOREST", "PG_QUERY__TOKEN__XMLFOREST", 761 }, - { "XMLNAMESPACES", "PG_QUERY__TOKEN__XMLNAMESPACES", 762 }, - { "XMLPARSE", "PG_QUERY__TOKEN__XMLPARSE", 763 }, - { "XMLPI", "PG_QUERY__TOKEN__XMLPI", 764 }, - { "XMLROOT", "PG_QUERY__TOKEN__XMLROOT", 765 }, - { "XMLSERIALIZE", "PG_QUERY__TOKEN__XMLSERIALIZE", 766 }, - { "XMLTABLE", "PG_QUERY__TOKEN__XMLTABLE", 767 }, - { "YEAR_P", "PG_QUERY__TOKEN__YEAR_P", 768 }, - { "YES_P", "PG_QUERY__TOKEN__YES_P", 769 }, - { "ZONE", "PG_QUERY__TOKEN__ZONE", 770 }, - { "FORMAT_LA", "PG_QUERY__TOKEN__FORMAT_LA", 771 }, - { "NOT_LA", "PG_QUERY__TOKEN__NOT_LA", 772 }, - { "NULLS_LA", "PG_QUERY__TOKEN__NULLS_LA", 773 }, - { "WITH_LA", "PG_QUERY__TOKEN__WITH_LA", 774 }, - { "WITHOUT_LA", "PG_QUERY__TOKEN__WITHOUT_LA", 775 }, - { "MODE_TYPE_NAME", "PG_QUERY__TOKEN__MODE_TYPE_NAME", 776 }, - { "MODE_PLPGSQL_EXPR", "PG_QUERY__TOKEN__MODE_PLPGSQL_EXPR", 777 }, - { "MODE_PLPGSQL_ASSIGN1", "PG_QUERY__TOKEN__MODE_PLPGSQL_ASSIGN1", 778 }, - { "MODE_PLPGSQL_ASSIGN2", "PG_QUERY__TOKEN__MODE_PLPGSQL_ASSIGN2", 779 }, - { "MODE_PLPGSQL_ASSIGN3", "PG_QUERY__TOKEN__MODE_PLPGSQL_ASSIGN3", 780 }, - { "UMINUS", "PG_QUERY__TOKEN__UMINUS", 781 }, -}; -static const ProtobufCIntRange pg_query__token__value_ranges[] = { -{0, 0},{36, 1},{40, 3},{58, 11},{91, 17},{258, 21},{0, 545} -}; -static const ProtobufCEnumValueIndex pg_query__token__enum_values_by_name[545] = -{ - { "ABORT_P", 40 }, - { "ABSENT", 41 }, - { "ABSOLUTE_P", 42 }, - { "ACCESS", 43 }, - { "ACTION", 44 }, - { "ADD_P", 45 }, - { "ADMIN", 46 }, - { "AFTER", 47 }, - { "AGGREGATE", 48 }, - { "ALL", 49 }, - { "ALSO", 50 }, - { "ALTER", 51 }, - { "ALWAYS", 52 }, - { "ANALYSE", 53 }, - { "ANALYZE", 54 }, - { "AND", 55 }, - { "ANY", 56 }, - { "ARRAY", 57 }, - { "AS", 58 }, - { "ASC", 59 }, - { "ASCII_36", 1 }, - { "ASCII_37", 2 }, - { "ASCII_40", 3 }, - { "ASCII_41", 4 }, - { "ASCII_42", 5 }, - { "ASCII_43", 6 }, - { "ASCII_44", 7 }, - { "ASCII_45", 8 }, - { "ASCII_46", 9 }, - { "ASCII_47", 10 }, - { "ASCII_58", 11 }, - { "ASCII_59", 12 }, - { "ASCII_60", 13 }, - { "ASCII_61", 14 }, - { "ASCII_62", 15 }, - { "ASCII_63", 16 }, - { "ASCII_91", 17 }, - { "ASCII_92", 18 }, - { "ASCII_93", 19 }, - { "ASCII_94", 20 }, - { "ASENSITIVE", 60 }, - { "ASSERTION", 61 }, - { "ASSIGNMENT", 62 }, - { "ASYMMETRIC", 63 }, - { "AT", 65 }, - { "ATOMIC", 64 }, - { "ATTACH", 66 }, - { "ATTRIBUTE", 67 }, - { "AUTHORIZATION", 68 }, - { "BACKWARD", 69 }, - { "BCONST", 26 }, - { "BEFORE", 70 }, - { "BEGIN_P", 71 }, - { "BETWEEN", 72 }, - { "BIGINT", 73 }, - { "BINARY", 74 }, - { "BIT", 75 }, - { "BOOLEAN_P", 76 }, - { "BOTH", 77 }, - { "BREADTH", 78 }, - { "BY", 79 }, - { "CACHE", 80 }, - { "CALL", 81 }, - { "CALLED", 82 }, - { "CASCADE", 83 }, - { "CASCADED", 84 }, - { "CASE", 85 }, - { "CAST", 86 }, - { "CATALOG_P", 87 }, - { "CHAIN", 88 }, - { "CHARACTER", 90 }, - { "CHARACTERISTICS", 91 }, - { "CHAR_P", 89 }, - { "CHECK", 92 }, - { "CHECKPOINT", 93 }, - { "CLASS", 94 }, - { "CLOSE", 95 }, - { "CLUSTER", 96 }, - { "COALESCE", 97 }, - { "COLLATE", 98 }, - { "COLLATION", 99 }, - { "COLON_EQUALS", 33 }, - { "COLUMN", 100 }, - { "COLUMNS", 101 }, - { "COMMENT", 102 }, - { "COMMENTS", 103 }, - { "COMMIT", 104 }, - { "COMMITTED", 105 }, - { "COMPRESSION", 106 }, - { "CONCURRENTLY", 107 }, - { "CONDITIONAL", 108 }, - { "CONFIGURATION", 109 }, - { "CONFLICT", 110 }, - { "CONNECTION", 111 }, - { "CONSTRAINT", 112 }, - { "CONSTRAINTS", 113 }, - { "CONTENT_P", 114 }, - { "CONTINUE_P", 115 }, - { "CONVERSION_P", 116 }, - { "COPY", 117 }, - { "COST", 118 }, - { "CREATE", 119 }, - { "CROSS", 120 }, - { "CSV", 121 }, - { "CUBE", 122 }, - { "CURRENT_CATALOG", 124 }, - { "CURRENT_DATE", 125 }, - { "CURRENT_P", 123 }, - { "CURRENT_ROLE", 126 }, - { "CURRENT_SCHEMA", 127 }, - { "CURRENT_TIME", 128 }, - { "CURRENT_TIMESTAMP", 129 }, - { "CURRENT_USER", 130 }, - { "CURSOR", 131 }, - { "CYCLE", 132 }, - { "C_COMMENT", 39 }, - { "DATABASE", 134 }, - { "DATA_P", 133 }, - { "DAY_P", 135 }, - { "DEALLOCATE", 136 }, - { "DEC", 137 }, - { "DECIMAL_P", 138 }, - { "DECLARE", 139 }, - { "DEFAULT", 140 }, - { "DEFAULTS", 141 }, - { "DEFERRABLE", 142 }, - { "DEFERRED", 143 }, - { "DEFINER", 144 }, - { "DELETE_P", 145 }, - { "DELIMITER", 146 }, - { "DELIMITERS", 147 }, - { "DEPENDS", 148 }, - { "DEPTH", 149 }, - { "DESC", 150 }, - { "DETACH", 151 }, - { "DICTIONARY", 152 }, - { "DISABLE_P", 153 }, - { "DISCARD", 154 }, - { "DISTINCT", 155 }, - { "DO", 156 }, - { "DOCUMENT_P", 157 }, - { "DOMAIN_P", 158 }, - { "DOT_DOT", 32 }, - { "DOUBLE_P", 159 }, - { "DROP", 160 }, - { "EACH", 161 }, - { "ELSE", 162 }, - { "EMPTY_P", 163 }, - { "ENABLE_P", 164 }, - { "ENCODING", 165 }, - { "ENCRYPTED", 166 }, - { "END_P", 167 }, - { "ENFORCED", 168 }, - { "ENUM_P", 169 }, - { "EQUALS_GREATER", 34 }, - { "ERROR_P", 170 }, - { "ESCAPE", 171 }, - { "EVENT", 172 }, - { "EXCEPT", 173 }, - { "EXCLUDE", 174 }, - { "EXCLUDING", 175 }, - { "EXCLUSIVE", 176 }, - { "EXECUTE", 177 }, - { "EXISTS", 178 }, - { "EXPLAIN", 179 }, - { "EXPRESSION", 180 }, - { "EXTENSION", 181 }, - { "EXTERNAL", 182 }, - { "EXTRACT", 183 }, - { "FALSE_P", 184 }, - { "FAMILY", 185 }, - { "FCONST", 23 }, - { "FETCH", 186 }, - { "FILTER", 187 }, - { "FINALIZE", 188 }, - { "FIRST_P", 189 }, - { "FLOAT_P", 190 }, - { "FOLLOWING", 191 }, - { "FOR", 192 }, - { "FORCE", 193 }, - { "FOREIGN", 194 }, - { "FORMAT", 195 }, - { "FORMAT_LA", 534 }, - { "FORWARD", 196 }, - { "FREEZE", 197 }, - { "FROM", 198 }, - { "FULL", 199 }, - { "FUNCTION", 200 }, - { "FUNCTIONS", 201 }, - { "GENERATED", 202 }, - { "GLOBAL", 203 }, - { "GRANT", 204 }, - { "GRANTED", 205 }, - { "GREATER_EQUALS", 36 }, - { "GREATEST", 206 }, - { "GROUPING", 208 }, - { "GROUPS", 209 }, - { "GROUP_P", 207 }, - { "HANDLER", 210 }, - { "HAVING", 211 }, - { "HEADER_P", 212 }, - { "HOLD", 213 }, - { "HOUR_P", 214 }, - { "ICONST", 29 }, - { "IDENT", 21 }, - { "IDENTITY_P", 215 }, - { "IF_P", 216 }, - { "ILIKE", 217 }, - { "IMMEDIATE", 218 }, - { "IMMUTABLE", 219 }, - { "IMPLICIT_P", 220 }, - { "IMPORT_P", 221 }, - { "INCLUDE", 223 }, - { "INCLUDING", 224 }, - { "INCREMENT", 225 }, - { "INDENT", 226 }, - { "INDEX", 227 }, - { "INDEXES", 228 }, - { "INHERIT", 229 }, - { "INHERITS", 230 }, - { "INITIALLY", 231 }, - { "INLINE_P", 232 }, - { "INNER_P", 233 }, - { "INOUT", 234 }, - { "INPUT_P", 235 }, - { "INSENSITIVE", 236 }, - { "INSERT", 237 }, - { "INSTEAD", 238 }, - { "INTEGER", 240 }, - { "INTERSECT", 241 }, - { "INTERVAL", 242 }, - { "INTO", 243 }, - { "INT_P", 239 }, - { "INVOKER", 244 }, - { "IN_P", 222 }, - { "IS", 245 }, - { "ISNULL", 246 }, - { "ISOLATION", 247 }, - { "JOIN", 248 }, - { "JSON", 249 }, - { "JSON_ARRAY", 250 }, - { "JSON_ARRAYAGG", 251 }, - { "JSON_EXISTS", 252 }, - { "JSON_OBJECT", 253 }, - { "JSON_OBJECTAGG", 254 }, - { "JSON_QUERY", 255 }, - { "JSON_SCALAR", 256 }, - { "JSON_SERIALIZE", 257 }, - { "JSON_TABLE", 258 }, - { "JSON_VALUE", 259 }, - { "KEEP", 260 }, - { "KEY", 261 }, - { "KEYS", 262 }, - { "LABEL", 263 }, - { "LANGUAGE", 264 }, - { "LARGE_P", 265 }, - { "LAST_P", 266 }, - { "LATERAL_P", 267 }, - { "LEADING", 268 }, - { "LEAKPROOF", 269 }, - { "LEAST", 270 }, - { "LEFT", 271 }, - { "LESS_EQUALS", 35 }, - { "LEVEL", 272 }, - { "LIKE", 273 }, - { "LIMIT", 274 }, - { "LISTEN", 275 }, - { "LOAD", 276 }, - { "LOCAL", 277 }, - { "LOCALTIME", 278 }, - { "LOCALTIMESTAMP", 279 }, - { "LOCATION", 280 }, - { "LOCKED", 282 }, - { "LOCK_P", 281 }, - { "LOGGED", 283 }, - { "MAPPING", 284 }, - { "MATCH", 285 }, - { "MATCHED", 286 }, - { "MATERIALIZED", 287 }, - { "MAXVALUE", 288 }, - { "MERGE", 289 }, - { "MERGE_ACTION", 290 }, - { "METHOD", 291 }, - { "MINUTE_P", 292 }, - { "MINVALUE", 293 }, - { "MODE", 294 }, - { "MODE_PLPGSQL_ASSIGN1", 541 }, - { "MODE_PLPGSQL_ASSIGN2", 542 }, - { "MODE_PLPGSQL_ASSIGN3", 543 }, - { "MODE_PLPGSQL_EXPR", 540 }, - { "MODE_TYPE_NAME", 539 }, - { "MONTH_P", 295 }, - { "MOVE", 296 }, - { "NAMES", 298 }, - { "NAME_P", 297 }, - { "NATIONAL", 299 }, - { "NATURAL", 300 }, - { "NCHAR", 301 }, - { "NESTED", 302 }, - { "NEW", 303 }, - { "NEXT", 304 }, - { "NFC", 305 }, - { "NFD", 306 }, - { "NFKC", 307 }, - { "NFKD", 308 }, - { "NO", 309 }, - { "NONE", 310 }, - { "NORMALIZE", 311 }, - { "NORMALIZED", 312 }, - { "NOT", 313 }, - { "NOTHING", 314 }, - { "NOTIFY", 315 }, - { "NOTNULL", 316 }, - { "NOT_EQUALS", 37 }, - { "NOT_LA", 535 }, - { "NOWAIT", 317 }, - { "NUL", 0 }, - { "NULLIF", 319 }, - { "NULLS_LA", 536 }, - { "NULLS_P", 320 }, - { "NULL_P", 318 }, - { "NUMERIC", 321 }, - { "OBJECTS_P", 323 }, - { "OBJECT_P", 322 }, - { "OF", 324 }, - { "OFF", 325 }, - { "OFFSET", 326 }, - { "OIDS", 327 }, - { "OLD", 328 }, - { "OMIT", 329 }, - { "ON", 330 }, - { "ONLY", 331 }, - { "OPERATOR", 332 }, - { "OPTION", 333 }, - { "OPTIONS", 334 }, - { "OR", 335 }, - { "ORDER", 336 }, - { "ORDINALITY", 337 }, - { "OTHERS", 338 }, - { "OUTER_P", 340 }, - { "OUT_P", 339 }, - { "OVER", 341 }, - { "OVERLAPS", 342 }, - { "OVERLAY", 343 }, - { "OVERRIDING", 344 }, - { "OWNED", 345 }, - { "OWNER", 346 }, - { "Op", 28 }, - { "PARALLEL", 347 }, - { "PARAM", 30 }, - { "PARAMETER", 348 }, - { "PARSER", 349 }, - { "PARTIAL", 350 }, - { "PARTITION", 351 }, - { "PASSING", 352 }, - { "PASSWORD", 353 }, - { "PATH", 354 }, - { "PERIOD", 355 }, - { "PLACING", 356 }, - { "PLAN", 357 }, - { "PLANS", 358 }, - { "POLICY", 359 }, - { "POSITION", 360 }, - { "PRECEDING", 361 }, - { "PRECISION", 362 }, - { "PREPARE", 364 }, - { "PREPARED", 365 }, - { "PRESERVE", 363 }, - { "PRIMARY", 366 }, - { "PRIOR", 367 }, - { "PRIVILEGES", 368 }, - { "PROCEDURAL", 369 }, - { "PROCEDURE", 370 }, - { "PROCEDURES", 371 }, - { "PROGRAM", 372 }, - { "PUBLICATION", 373 }, - { "QUOTE", 374 }, - { "QUOTES", 375 }, - { "RANGE", 376 }, - { "READ", 377 }, - { "REAL", 378 }, - { "REASSIGN", 379 }, - { "RECURSIVE", 380 }, - { "REFERENCES", 382 }, - { "REFERENCING", 383 }, - { "REFRESH", 384 }, - { "REF_P", 381 }, - { "REINDEX", 385 }, - { "RELATIVE_P", 386 }, - { "RELEASE", 387 }, - { "RENAME", 388 }, - { "REPEATABLE", 389 }, - { "REPLACE", 390 }, - { "REPLICA", 391 }, - { "RESET", 392 }, - { "RESTART", 393 }, - { "RESTRICT", 394 }, - { "RETURN", 395 }, - { "RETURNING", 396 }, - { "RETURNS", 397 }, - { "REVOKE", 398 }, - { "RIGHT", 399 }, - { "ROLE", 400 }, - { "ROLLBACK", 401 }, - { "ROLLUP", 402 }, - { "ROUTINE", 403 }, - { "ROUTINES", 404 }, - { "ROW", 405 }, - { "ROWS", 406 }, - { "RULE", 407 }, - { "SAVEPOINT", 408 }, - { "SCALAR", 409 }, - { "SCHEMA", 410 }, - { "SCHEMAS", 411 }, - { "SCONST", 24 }, - { "SCROLL", 412 }, - { "SEARCH", 413 }, - { "SECOND_P", 414 }, - { "SECURITY", 415 }, - { "SELECT", 416 }, - { "SEQUENCE", 417 }, - { "SEQUENCES", 418 }, - { "SERIALIZABLE", 419 }, - { "SERVER", 420 }, - { "SESSION", 421 }, - { "SESSION_USER", 422 }, - { "SET", 423 }, - { "SETOF", 425 }, - { "SETS", 424 }, - { "SHARE", 426 }, - { "SHOW", 427 }, - { "SIMILAR", 428 }, - { "SIMPLE", 429 }, - { "SKIP", 430 }, - { "SMALLINT", 431 }, - { "SNAPSHOT", 432 }, - { "SOME", 433 }, - { "SOURCE", 434 }, - { "SQL_COMMENT", 38 }, - { "SQL_P", 435 }, - { "STABLE", 436 }, - { "STANDALONE_P", 437 }, - { "START", 438 }, - { "STATEMENT", 439 }, - { "STATISTICS", 440 }, - { "STDIN", 441 }, - { "STDOUT", 442 }, - { "STORAGE", 443 }, - { "STORED", 444 }, - { "STRICT_P", 445 }, - { "STRING_P", 446 }, - { "STRIP_P", 447 }, - { "SUBSCRIPTION", 448 }, - { "SUBSTRING", 449 }, - { "SUPPORT", 450 }, - { "SYMMETRIC", 451 }, - { "SYSID", 452 }, - { "SYSTEM_P", 453 }, - { "SYSTEM_USER", 454 }, - { "TABLE", 455 }, - { "TABLES", 456 }, - { "TABLESAMPLE", 457 }, - { "TABLESPACE", 458 }, - { "TARGET", 459 }, - { "TEMP", 460 }, - { "TEMPLATE", 461 }, - { "TEMPORARY", 462 }, - { "TEXT_P", 463 }, - { "THEN", 464 }, - { "TIES", 465 }, - { "TIME", 466 }, - { "TIMESTAMP", 467 }, - { "TO", 468 }, - { "TRAILING", 469 }, - { "TRANSACTION", 470 }, - { "TRANSFORM", 471 }, - { "TREAT", 472 }, - { "TRIGGER", 473 }, - { "TRIM", 474 }, - { "TRUE_P", 475 }, - { "TRUNCATE", 476 }, - { "TRUSTED", 477 }, - { "TYPECAST", 31 }, - { "TYPES_P", 479 }, - { "TYPE_P", 478 }, - { "UESCAPE", 480 }, - { "UIDENT", 22 }, - { "UMINUS", 544 }, - { "UNBOUNDED", 481 }, - { "UNCOMMITTED", 483 }, - { "UNCONDITIONAL", 482 }, - { "UNENCRYPTED", 484 }, - { "UNION", 485 }, - { "UNIQUE", 486 }, - { "UNKNOWN", 487 }, - { "UNLISTEN", 488 }, - { "UNLOGGED", 489 }, - { "UNTIL", 490 }, - { "UPDATE", 491 }, - { "USCONST", 25 }, - { "USER", 492 }, - { "USING", 493 }, - { "VACUUM", 494 }, - { "VALID", 495 }, - { "VALIDATE", 496 }, - { "VALIDATOR", 497 }, - { "VALUES", 499 }, - { "VALUE_P", 498 }, - { "VARCHAR", 500 }, - { "VARIADIC", 501 }, - { "VARYING", 502 }, - { "VERBOSE", 503 }, - { "VERSION_P", 504 }, - { "VIEW", 505 }, - { "VIEWS", 506 }, - { "VIRTUAL", 507 }, - { "VOLATILE", 508 }, - { "WHEN", 509 }, - { "WHERE", 510 }, - { "WHITESPACE_P", 511 }, - { "WINDOW", 512 }, - { "WITH", 513 }, - { "WITHIN", 514 }, - { "WITHOUT", 515 }, - { "WITHOUT_LA", 538 }, - { "WITH_LA", 537 }, - { "WORK", 516 }, - { "WRAPPER", 517 }, - { "WRITE", 518 }, - { "XCONST", 27 }, - { "XMLATTRIBUTES", 520 }, - { "XMLCONCAT", 521 }, - { "XMLELEMENT", 522 }, - { "XMLEXISTS", 523 }, - { "XMLFOREST", 524 }, - { "XMLNAMESPACES", 525 }, - { "XMLPARSE", 526 }, - { "XMLPI", 527 }, - { "XMLROOT", 528 }, - { "XMLSERIALIZE", 529 }, - { "XMLTABLE", 530 }, - { "XML_P", 519 }, - { "YEAR_P", 531 }, - { "YES_P", 532 }, - { "ZONE", 533 }, -}; -const ProtobufCEnumDescriptor pg_query__token__descriptor = -{ - PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, - "pg_query.Token", - "Token", - "PgQuery__Token", - "pg_query", - 545, - pg_query__token__enum_values_by_number, - 545, - pg_query__token__enum_values_by_name, - 6, - pg_query__token__value_ranges, - NULL,NULL,NULL,NULL /* reserved[1234] */ -}; diff --git a/protobuf/pg_query.pb-c.h b/protobuf/pg_query.pb-c.h deleted file mode 100644 index 42e25c745..000000000 --- a/protobuf/pg_query.pb-c.h +++ /dev/null @@ -1,13036 +0,0 @@ -/* Generated by the protocol buffer compiler. DO NOT EDIT! */ -/* Generated from: protobuf/pg_query.proto */ - -#ifndef PROTOBUF_C_protobuf_2fpg_5fquery_2eproto__INCLUDED -#define PROTOBUF_C_protobuf_2fpg_5fquery_2eproto__INCLUDED - -#include - -PROTOBUF_C__BEGIN_DECLS - -#if PROTOBUF_C_VERSION_NUMBER < 1003000 -# error This file was generated by a newer version of protobuf-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1005002 < PROTOBUF_C_MIN_COMPILER_VERSION -# error This file was generated by an older version of protobuf-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protobuf-c. -#endif - - -typedef struct PgQuery__ParseResult PgQuery__ParseResult; -typedef struct PgQuery__ScanResult PgQuery__ScanResult; -typedef struct PgQuery__Node PgQuery__Node; -typedef struct PgQuery__Integer PgQuery__Integer; -typedef struct PgQuery__Float PgQuery__Float; -typedef struct PgQuery__Boolean PgQuery__Boolean; -typedef struct PgQuery__String PgQuery__String; -typedef struct PgQuery__BitString PgQuery__BitString; -typedef struct PgQuery__List PgQuery__List; -typedef struct PgQuery__OidList PgQuery__OidList; -typedef struct PgQuery__IntList PgQuery__IntList; -typedef struct PgQuery__AConst PgQuery__AConst; -typedef struct PgQuery__Alias PgQuery__Alias; -typedef struct PgQuery__RangeVar PgQuery__RangeVar; -typedef struct PgQuery__TableFunc PgQuery__TableFunc; -typedef struct PgQuery__IntoClause PgQuery__IntoClause; -typedef struct PgQuery__Var PgQuery__Var; -typedef struct PgQuery__Param PgQuery__Param; -typedef struct PgQuery__Aggref PgQuery__Aggref; -typedef struct PgQuery__GroupingFunc PgQuery__GroupingFunc; -typedef struct PgQuery__WindowFunc PgQuery__WindowFunc; -typedef struct PgQuery__WindowFuncRunCondition PgQuery__WindowFuncRunCondition; -typedef struct PgQuery__MergeSupportFunc PgQuery__MergeSupportFunc; -typedef struct PgQuery__SubscriptingRef PgQuery__SubscriptingRef; -typedef struct PgQuery__FuncExpr PgQuery__FuncExpr; -typedef struct PgQuery__NamedArgExpr PgQuery__NamedArgExpr; -typedef struct PgQuery__OpExpr PgQuery__OpExpr; -typedef struct PgQuery__DistinctExpr PgQuery__DistinctExpr; -typedef struct PgQuery__NullIfExpr PgQuery__NullIfExpr; -typedef struct PgQuery__ScalarArrayOpExpr PgQuery__ScalarArrayOpExpr; -typedef struct PgQuery__BoolExpr PgQuery__BoolExpr; -typedef struct PgQuery__SubLink PgQuery__SubLink; -typedef struct PgQuery__SubPlan PgQuery__SubPlan; -typedef struct PgQuery__AlternativeSubPlan PgQuery__AlternativeSubPlan; -typedef struct PgQuery__FieldSelect PgQuery__FieldSelect; -typedef struct PgQuery__FieldStore PgQuery__FieldStore; -typedef struct PgQuery__RelabelType PgQuery__RelabelType; -typedef struct PgQuery__CoerceViaIO PgQuery__CoerceViaIO; -typedef struct PgQuery__ArrayCoerceExpr PgQuery__ArrayCoerceExpr; -typedef struct PgQuery__ConvertRowtypeExpr PgQuery__ConvertRowtypeExpr; -typedef struct PgQuery__CollateExpr PgQuery__CollateExpr; -typedef struct PgQuery__CaseExpr PgQuery__CaseExpr; -typedef struct PgQuery__CaseWhen PgQuery__CaseWhen; -typedef struct PgQuery__CaseTestExpr PgQuery__CaseTestExpr; -typedef struct PgQuery__ArrayExpr PgQuery__ArrayExpr; -typedef struct PgQuery__RowExpr PgQuery__RowExpr; -typedef struct PgQuery__RowCompareExpr PgQuery__RowCompareExpr; -typedef struct PgQuery__CoalesceExpr PgQuery__CoalesceExpr; -typedef struct PgQuery__MinMaxExpr PgQuery__MinMaxExpr; -typedef struct PgQuery__SQLValueFunction PgQuery__SQLValueFunction; -typedef struct PgQuery__XmlExpr PgQuery__XmlExpr; -typedef struct PgQuery__JsonFormat PgQuery__JsonFormat; -typedef struct PgQuery__JsonReturning PgQuery__JsonReturning; -typedef struct PgQuery__JsonValueExpr PgQuery__JsonValueExpr; -typedef struct PgQuery__JsonConstructorExpr PgQuery__JsonConstructorExpr; -typedef struct PgQuery__JsonIsPredicate PgQuery__JsonIsPredicate; -typedef struct PgQuery__JsonBehavior PgQuery__JsonBehavior; -typedef struct PgQuery__JsonExpr PgQuery__JsonExpr; -typedef struct PgQuery__JsonTablePath PgQuery__JsonTablePath; -typedef struct PgQuery__JsonTablePathScan PgQuery__JsonTablePathScan; -typedef struct PgQuery__JsonTableSiblingJoin PgQuery__JsonTableSiblingJoin; -typedef struct PgQuery__NullTest PgQuery__NullTest; -typedef struct PgQuery__BooleanTest PgQuery__BooleanTest; -typedef struct PgQuery__MergeAction PgQuery__MergeAction; -typedef struct PgQuery__CoerceToDomain PgQuery__CoerceToDomain; -typedef struct PgQuery__CoerceToDomainValue PgQuery__CoerceToDomainValue; -typedef struct PgQuery__SetToDefault PgQuery__SetToDefault; -typedef struct PgQuery__CurrentOfExpr PgQuery__CurrentOfExpr; -typedef struct PgQuery__NextValueExpr PgQuery__NextValueExpr; -typedef struct PgQuery__InferenceElem PgQuery__InferenceElem; -typedef struct PgQuery__ReturningExpr PgQuery__ReturningExpr; -typedef struct PgQuery__TargetEntry PgQuery__TargetEntry; -typedef struct PgQuery__RangeTblRef PgQuery__RangeTblRef; -typedef struct PgQuery__JoinExpr PgQuery__JoinExpr; -typedef struct PgQuery__FromExpr PgQuery__FromExpr; -typedef struct PgQuery__OnConflictExpr PgQuery__OnConflictExpr; -typedef struct PgQuery__Query PgQuery__Query; -typedef struct PgQuery__TypeName PgQuery__TypeName; -typedef struct PgQuery__ColumnRef PgQuery__ColumnRef; -typedef struct PgQuery__ParamRef PgQuery__ParamRef; -typedef struct PgQuery__AExpr PgQuery__AExpr; -typedef struct PgQuery__TypeCast PgQuery__TypeCast; -typedef struct PgQuery__CollateClause PgQuery__CollateClause; -typedef struct PgQuery__RoleSpec PgQuery__RoleSpec; -typedef struct PgQuery__FuncCall PgQuery__FuncCall; -typedef struct PgQuery__AStar PgQuery__AStar; -typedef struct PgQuery__AIndices PgQuery__AIndices; -typedef struct PgQuery__AIndirection PgQuery__AIndirection; -typedef struct PgQuery__AArrayExpr PgQuery__AArrayExpr; -typedef struct PgQuery__ResTarget PgQuery__ResTarget; -typedef struct PgQuery__MultiAssignRef PgQuery__MultiAssignRef; -typedef struct PgQuery__SortBy PgQuery__SortBy; -typedef struct PgQuery__WindowDef PgQuery__WindowDef; -typedef struct PgQuery__RangeSubselect PgQuery__RangeSubselect; -typedef struct PgQuery__RangeFunction PgQuery__RangeFunction; -typedef struct PgQuery__RangeTableFunc PgQuery__RangeTableFunc; -typedef struct PgQuery__RangeTableFuncCol PgQuery__RangeTableFuncCol; -typedef struct PgQuery__RangeTableSample PgQuery__RangeTableSample; -typedef struct PgQuery__ColumnDef PgQuery__ColumnDef; -typedef struct PgQuery__TableLikeClause PgQuery__TableLikeClause; -typedef struct PgQuery__IndexElem PgQuery__IndexElem; -typedef struct PgQuery__DefElem PgQuery__DefElem; -typedef struct PgQuery__LockingClause PgQuery__LockingClause; -typedef struct PgQuery__XmlSerialize PgQuery__XmlSerialize; -typedef struct PgQuery__PartitionElem PgQuery__PartitionElem; -typedef struct PgQuery__PartitionSpec PgQuery__PartitionSpec; -typedef struct PgQuery__PartitionBoundSpec PgQuery__PartitionBoundSpec; -typedef struct PgQuery__PartitionRangeDatum PgQuery__PartitionRangeDatum; -typedef struct PgQuery__PartitionCmd PgQuery__PartitionCmd; -typedef struct PgQuery__RangeTblEntry PgQuery__RangeTblEntry; -typedef struct PgQuery__RTEPermissionInfo PgQuery__RTEPermissionInfo; -typedef struct PgQuery__RangeTblFunction PgQuery__RangeTblFunction; -typedef struct PgQuery__TableSampleClause PgQuery__TableSampleClause; -typedef struct PgQuery__WithCheckOption PgQuery__WithCheckOption; -typedef struct PgQuery__SortGroupClause PgQuery__SortGroupClause; -typedef struct PgQuery__GroupingSet PgQuery__GroupingSet; -typedef struct PgQuery__WindowClause PgQuery__WindowClause; -typedef struct PgQuery__RowMarkClause PgQuery__RowMarkClause; -typedef struct PgQuery__WithClause PgQuery__WithClause; -typedef struct PgQuery__InferClause PgQuery__InferClause; -typedef struct PgQuery__OnConflictClause PgQuery__OnConflictClause; -typedef struct PgQuery__CTESearchClause PgQuery__CTESearchClause; -typedef struct PgQuery__CTECycleClause PgQuery__CTECycleClause; -typedef struct PgQuery__CommonTableExpr PgQuery__CommonTableExpr; -typedef struct PgQuery__MergeWhenClause PgQuery__MergeWhenClause; -typedef struct PgQuery__ReturningOption PgQuery__ReturningOption; -typedef struct PgQuery__ReturningClause PgQuery__ReturningClause; -typedef struct PgQuery__TriggerTransition PgQuery__TriggerTransition; -typedef struct PgQuery__JsonOutput PgQuery__JsonOutput; -typedef struct PgQuery__JsonArgument PgQuery__JsonArgument; -typedef struct PgQuery__JsonFuncExpr PgQuery__JsonFuncExpr; -typedef struct PgQuery__JsonTablePathSpec PgQuery__JsonTablePathSpec; -typedef struct PgQuery__JsonTable PgQuery__JsonTable; -typedef struct PgQuery__JsonTableColumn PgQuery__JsonTableColumn; -typedef struct PgQuery__JsonKeyValue PgQuery__JsonKeyValue; -typedef struct PgQuery__JsonParseExpr PgQuery__JsonParseExpr; -typedef struct PgQuery__JsonScalarExpr PgQuery__JsonScalarExpr; -typedef struct PgQuery__JsonSerializeExpr PgQuery__JsonSerializeExpr; -typedef struct PgQuery__JsonObjectConstructor PgQuery__JsonObjectConstructor; -typedef struct PgQuery__JsonArrayConstructor PgQuery__JsonArrayConstructor; -typedef struct PgQuery__JsonArrayQueryConstructor PgQuery__JsonArrayQueryConstructor; -typedef struct PgQuery__JsonAggConstructor PgQuery__JsonAggConstructor; -typedef struct PgQuery__JsonObjectAgg PgQuery__JsonObjectAgg; -typedef struct PgQuery__JsonArrayAgg PgQuery__JsonArrayAgg; -typedef struct PgQuery__RawStmt PgQuery__RawStmt; -typedef struct PgQuery__InsertStmt PgQuery__InsertStmt; -typedef struct PgQuery__DeleteStmt PgQuery__DeleteStmt; -typedef struct PgQuery__UpdateStmt PgQuery__UpdateStmt; -typedef struct PgQuery__MergeStmt PgQuery__MergeStmt; -typedef struct PgQuery__SelectStmt PgQuery__SelectStmt; -typedef struct PgQuery__SetOperationStmt PgQuery__SetOperationStmt; -typedef struct PgQuery__ReturnStmt PgQuery__ReturnStmt; -typedef struct PgQuery__PLAssignStmt PgQuery__PLAssignStmt; -typedef struct PgQuery__CreateSchemaStmt PgQuery__CreateSchemaStmt; -typedef struct PgQuery__AlterTableStmt PgQuery__AlterTableStmt; -typedef struct PgQuery__AlterTableCmd PgQuery__AlterTableCmd; -typedef struct PgQuery__ATAlterConstraint PgQuery__ATAlterConstraint; -typedef struct PgQuery__ReplicaIdentityStmt PgQuery__ReplicaIdentityStmt; -typedef struct PgQuery__AlterCollationStmt PgQuery__AlterCollationStmt; -typedef struct PgQuery__AlterDomainStmt PgQuery__AlterDomainStmt; -typedef struct PgQuery__GrantStmt PgQuery__GrantStmt; -typedef struct PgQuery__ObjectWithArgs PgQuery__ObjectWithArgs; -typedef struct PgQuery__AccessPriv PgQuery__AccessPriv; -typedef struct PgQuery__GrantRoleStmt PgQuery__GrantRoleStmt; -typedef struct PgQuery__AlterDefaultPrivilegesStmt PgQuery__AlterDefaultPrivilegesStmt; -typedef struct PgQuery__CopyStmt PgQuery__CopyStmt; -typedef struct PgQuery__VariableSetStmt PgQuery__VariableSetStmt; -typedef struct PgQuery__VariableShowStmt PgQuery__VariableShowStmt; -typedef struct PgQuery__CreateStmt PgQuery__CreateStmt; -typedef struct PgQuery__Constraint PgQuery__Constraint; -typedef struct PgQuery__CreateTableSpaceStmt PgQuery__CreateTableSpaceStmt; -typedef struct PgQuery__DropTableSpaceStmt PgQuery__DropTableSpaceStmt; -typedef struct PgQuery__AlterTableSpaceOptionsStmt PgQuery__AlterTableSpaceOptionsStmt; -typedef struct PgQuery__AlterTableMoveAllStmt PgQuery__AlterTableMoveAllStmt; -typedef struct PgQuery__CreateExtensionStmt PgQuery__CreateExtensionStmt; -typedef struct PgQuery__AlterExtensionStmt PgQuery__AlterExtensionStmt; -typedef struct PgQuery__AlterExtensionContentsStmt PgQuery__AlterExtensionContentsStmt; -typedef struct PgQuery__CreateFdwStmt PgQuery__CreateFdwStmt; -typedef struct PgQuery__AlterFdwStmt PgQuery__AlterFdwStmt; -typedef struct PgQuery__CreateForeignServerStmt PgQuery__CreateForeignServerStmt; -typedef struct PgQuery__AlterForeignServerStmt PgQuery__AlterForeignServerStmt; -typedef struct PgQuery__CreateForeignTableStmt PgQuery__CreateForeignTableStmt; -typedef struct PgQuery__CreateUserMappingStmt PgQuery__CreateUserMappingStmt; -typedef struct PgQuery__AlterUserMappingStmt PgQuery__AlterUserMappingStmt; -typedef struct PgQuery__DropUserMappingStmt PgQuery__DropUserMappingStmt; -typedef struct PgQuery__ImportForeignSchemaStmt PgQuery__ImportForeignSchemaStmt; -typedef struct PgQuery__CreatePolicyStmt PgQuery__CreatePolicyStmt; -typedef struct PgQuery__AlterPolicyStmt PgQuery__AlterPolicyStmt; -typedef struct PgQuery__CreateAmStmt PgQuery__CreateAmStmt; -typedef struct PgQuery__CreateTrigStmt PgQuery__CreateTrigStmt; -typedef struct PgQuery__CreateEventTrigStmt PgQuery__CreateEventTrigStmt; -typedef struct PgQuery__AlterEventTrigStmt PgQuery__AlterEventTrigStmt; -typedef struct PgQuery__CreatePLangStmt PgQuery__CreatePLangStmt; -typedef struct PgQuery__CreateRoleStmt PgQuery__CreateRoleStmt; -typedef struct PgQuery__AlterRoleStmt PgQuery__AlterRoleStmt; -typedef struct PgQuery__AlterRoleSetStmt PgQuery__AlterRoleSetStmt; -typedef struct PgQuery__DropRoleStmt PgQuery__DropRoleStmt; -typedef struct PgQuery__CreateSeqStmt PgQuery__CreateSeqStmt; -typedef struct PgQuery__AlterSeqStmt PgQuery__AlterSeqStmt; -typedef struct PgQuery__DefineStmt PgQuery__DefineStmt; -typedef struct PgQuery__CreateDomainStmt PgQuery__CreateDomainStmt; -typedef struct PgQuery__CreateOpClassStmt PgQuery__CreateOpClassStmt; -typedef struct PgQuery__CreateOpClassItem PgQuery__CreateOpClassItem; -typedef struct PgQuery__CreateOpFamilyStmt PgQuery__CreateOpFamilyStmt; -typedef struct PgQuery__AlterOpFamilyStmt PgQuery__AlterOpFamilyStmt; -typedef struct PgQuery__DropStmt PgQuery__DropStmt; -typedef struct PgQuery__TruncateStmt PgQuery__TruncateStmt; -typedef struct PgQuery__CommentStmt PgQuery__CommentStmt; -typedef struct PgQuery__SecLabelStmt PgQuery__SecLabelStmt; -typedef struct PgQuery__DeclareCursorStmt PgQuery__DeclareCursorStmt; -typedef struct PgQuery__ClosePortalStmt PgQuery__ClosePortalStmt; -typedef struct PgQuery__FetchStmt PgQuery__FetchStmt; -typedef struct PgQuery__IndexStmt PgQuery__IndexStmt; -typedef struct PgQuery__CreateStatsStmt PgQuery__CreateStatsStmt; -typedef struct PgQuery__StatsElem PgQuery__StatsElem; -typedef struct PgQuery__AlterStatsStmt PgQuery__AlterStatsStmt; -typedef struct PgQuery__CreateFunctionStmt PgQuery__CreateFunctionStmt; -typedef struct PgQuery__FunctionParameter PgQuery__FunctionParameter; -typedef struct PgQuery__AlterFunctionStmt PgQuery__AlterFunctionStmt; -typedef struct PgQuery__DoStmt PgQuery__DoStmt; -typedef struct PgQuery__InlineCodeBlock PgQuery__InlineCodeBlock; -typedef struct PgQuery__CallStmt PgQuery__CallStmt; -typedef struct PgQuery__CallContext PgQuery__CallContext; -typedef struct PgQuery__RenameStmt PgQuery__RenameStmt; -typedef struct PgQuery__AlterObjectDependsStmt PgQuery__AlterObjectDependsStmt; -typedef struct PgQuery__AlterObjectSchemaStmt PgQuery__AlterObjectSchemaStmt; -typedef struct PgQuery__AlterOwnerStmt PgQuery__AlterOwnerStmt; -typedef struct PgQuery__AlterOperatorStmt PgQuery__AlterOperatorStmt; -typedef struct PgQuery__AlterTypeStmt PgQuery__AlterTypeStmt; -typedef struct PgQuery__RuleStmt PgQuery__RuleStmt; -typedef struct PgQuery__NotifyStmt PgQuery__NotifyStmt; -typedef struct PgQuery__ListenStmt PgQuery__ListenStmt; -typedef struct PgQuery__UnlistenStmt PgQuery__UnlistenStmt; -typedef struct PgQuery__TransactionStmt PgQuery__TransactionStmt; -typedef struct PgQuery__CompositeTypeStmt PgQuery__CompositeTypeStmt; -typedef struct PgQuery__CreateEnumStmt PgQuery__CreateEnumStmt; -typedef struct PgQuery__CreateRangeStmt PgQuery__CreateRangeStmt; -typedef struct PgQuery__AlterEnumStmt PgQuery__AlterEnumStmt; -typedef struct PgQuery__ViewStmt PgQuery__ViewStmt; -typedef struct PgQuery__LoadStmt PgQuery__LoadStmt; -typedef struct PgQuery__CreatedbStmt PgQuery__CreatedbStmt; -typedef struct PgQuery__AlterDatabaseStmt PgQuery__AlterDatabaseStmt; -typedef struct PgQuery__AlterDatabaseRefreshCollStmt PgQuery__AlterDatabaseRefreshCollStmt; -typedef struct PgQuery__AlterDatabaseSetStmt PgQuery__AlterDatabaseSetStmt; -typedef struct PgQuery__DropdbStmt PgQuery__DropdbStmt; -typedef struct PgQuery__AlterSystemStmt PgQuery__AlterSystemStmt; -typedef struct PgQuery__ClusterStmt PgQuery__ClusterStmt; -typedef struct PgQuery__VacuumStmt PgQuery__VacuumStmt; -typedef struct PgQuery__VacuumRelation PgQuery__VacuumRelation; -typedef struct PgQuery__ExplainStmt PgQuery__ExplainStmt; -typedef struct PgQuery__CreateTableAsStmt PgQuery__CreateTableAsStmt; -typedef struct PgQuery__RefreshMatViewStmt PgQuery__RefreshMatViewStmt; -typedef struct PgQuery__CheckPointStmt PgQuery__CheckPointStmt; -typedef struct PgQuery__DiscardStmt PgQuery__DiscardStmt; -typedef struct PgQuery__LockStmt PgQuery__LockStmt; -typedef struct PgQuery__ConstraintsSetStmt PgQuery__ConstraintsSetStmt; -typedef struct PgQuery__ReindexStmt PgQuery__ReindexStmt; -typedef struct PgQuery__CreateConversionStmt PgQuery__CreateConversionStmt; -typedef struct PgQuery__CreateCastStmt PgQuery__CreateCastStmt; -typedef struct PgQuery__CreateTransformStmt PgQuery__CreateTransformStmt; -typedef struct PgQuery__PrepareStmt PgQuery__PrepareStmt; -typedef struct PgQuery__ExecuteStmt PgQuery__ExecuteStmt; -typedef struct PgQuery__DeallocateStmt PgQuery__DeallocateStmt; -typedef struct PgQuery__DropOwnedStmt PgQuery__DropOwnedStmt; -typedef struct PgQuery__ReassignOwnedStmt PgQuery__ReassignOwnedStmt; -typedef struct PgQuery__AlterTSDictionaryStmt PgQuery__AlterTSDictionaryStmt; -typedef struct PgQuery__AlterTSConfigurationStmt PgQuery__AlterTSConfigurationStmt; -typedef struct PgQuery__PublicationTable PgQuery__PublicationTable; -typedef struct PgQuery__PublicationObjSpec PgQuery__PublicationObjSpec; -typedef struct PgQuery__CreatePublicationStmt PgQuery__CreatePublicationStmt; -typedef struct PgQuery__AlterPublicationStmt PgQuery__AlterPublicationStmt; -typedef struct PgQuery__CreateSubscriptionStmt PgQuery__CreateSubscriptionStmt; -typedef struct PgQuery__AlterSubscriptionStmt PgQuery__AlterSubscriptionStmt; -typedef struct PgQuery__DropSubscriptionStmt PgQuery__DropSubscriptionStmt; -typedef struct PgQuery__ScanToken PgQuery__ScanToken; -typedef struct PgQuery__SummaryResult PgQuery__SummaryResult; -typedef struct PgQuery__SummaryResult__Table PgQuery__SummaryResult__Table; -typedef struct PgQuery__SummaryResult__AliasesEntry PgQuery__SummaryResult__AliasesEntry; -typedef struct PgQuery__SummaryResult__Function PgQuery__SummaryResult__Function; -typedef struct PgQuery__SummaryResult__FilterColumn PgQuery__SummaryResult__FilterColumn; - - -/* --- enums --- */ - -typedef enum _PgQuery__SummaryResult__Context { - PG_QUERY__SUMMARY_RESULT__CONTEXT__None = 0, - PG_QUERY__SUMMARY_RESULT__CONTEXT__Select = 1, - PG_QUERY__SUMMARY_RESULT__CONTEXT__DML = 2, - PG_QUERY__SUMMARY_RESULT__CONTEXT__DDL = 3, - PG_QUERY__SUMMARY_RESULT__CONTEXT__Call = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SUMMARY_RESULT__CONTEXT) -} PgQuery__SummaryResult__Context; -typedef enum _PgQuery__QuerySource { - PG_QUERY__QUERY_SOURCE__QUERY_SOURCE_UNDEFINED = 0, - PG_QUERY__QUERY_SOURCE__QSRC_ORIGINAL = 1, - PG_QUERY__QUERY_SOURCE__QSRC_PARSER = 2, - PG_QUERY__QUERY_SOURCE__QSRC_INSTEAD_RULE = 3, - PG_QUERY__QUERY_SOURCE__QSRC_QUAL_INSTEAD_RULE = 4, - PG_QUERY__QUERY_SOURCE__QSRC_NON_INSTEAD_RULE = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__QUERY_SOURCE) -} PgQuery__QuerySource; -typedef enum _PgQuery__SortByDir { - PG_QUERY__SORT_BY_DIR__SORT_BY_DIR_UNDEFINED = 0, - PG_QUERY__SORT_BY_DIR__SORTBY_DEFAULT = 1, - PG_QUERY__SORT_BY_DIR__SORTBY_ASC = 2, - PG_QUERY__SORT_BY_DIR__SORTBY_DESC = 3, - PG_QUERY__SORT_BY_DIR__SORTBY_USING = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SORT_BY_DIR) -} PgQuery__SortByDir; -typedef enum _PgQuery__SortByNulls { - PG_QUERY__SORT_BY_NULLS__SORT_BY_NULLS_UNDEFINED = 0, - PG_QUERY__SORT_BY_NULLS__SORTBY_NULLS_DEFAULT = 1, - PG_QUERY__SORT_BY_NULLS__SORTBY_NULLS_FIRST = 2, - PG_QUERY__SORT_BY_NULLS__SORTBY_NULLS_LAST = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SORT_BY_NULLS) -} PgQuery__SortByNulls; -typedef enum _PgQuery__SetQuantifier { - PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_UNDEFINED = 0, - PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_DEFAULT = 1, - PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_ALL = 2, - PG_QUERY__SET_QUANTIFIER__SET_QUANTIFIER_DISTINCT = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SET_QUANTIFIER) -} PgQuery__SetQuantifier; -typedef enum _PgQuery__AExprKind { - PG_QUERY__A__EXPR__KIND__A_EXPR_KIND_UNDEFINED = 0, - PG_QUERY__A__EXPR__KIND__AEXPR_OP = 1, - PG_QUERY__A__EXPR__KIND__AEXPR_OP_ANY = 2, - PG_QUERY__A__EXPR__KIND__AEXPR_OP_ALL = 3, - PG_QUERY__A__EXPR__KIND__AEXPR_DISTINCT = 4, - PG_QUERY__A__EXPR__KIND__AEXPR_NOT_DISTINCT = 5, - PG_QUERY__A__EXPR__KIND__AEXPR_NULLIF = 6, - PG_QUERY__A__EXPR__KIND__AEXPR_IN = 7, - PG_QUERY__A__EXPR__KIND__AEXPR_LIKE = 8, - PG_QUERY__A__EXPR__KIND__AEXPR_ILIKE = 9, - PG_QUERY__A__EXPR__KIND__AEXPR_SIMILAR = 10, - PG_QUERY__A__EXPR__KIND__AEXPR_BETWEEN = 11, - PG_QUERY__A__EXPR__KIND__AEXPR_NOT_BETWEEN = 12, - PG_QUERY__A__EXPR__KIND__AEXPR_BETWEEN_SYM = 13, - PG_QUERY__A__EXPR__KIND__AEXPR_NOT_BETWEEN_SYM = 14 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__A__EXPR__KIND) -} PgQuery__AExprKind; -typedef enum _PgQuery__RoleSpecType { - PG_QUERY__ROLE_SPEC_TYPE__ROLE_SPEC_TYPE_UNDEFINED = 0, - PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_CSTRING = 1, - PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_CURRENT_ROLE = 2, - PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_CURRENT_USER = 3, - PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_SESSION_USER = 4, - PG_QUERY__ROLE_SPEC_TYPE__ROLESPEC_PUBLIC = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ROLE_SPEC_TYPE) -} PgQuery__RoleSpecType; -typedef enum _PgQuery__TableLikeOption { - PG_QUERY__TABLE_LIKE_OPTION__TABLE_LIKE_OPTION_UNDEFINED = 0, - PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_COMMENTS = 1, - PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_COMPRESSION = 2, - PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_CONSTRAINTS = 3, - PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_DEFAULTS = 4, - PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_GENERATED = 5, - PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_IDENTITY = 6, - PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_INDEXES = 7, - PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_STATISTICS = 8, - PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_STORAGE = 9, - PG_QUERY__TABLE_LIKE_OPTION__CREATE_TABLE_LIKE_ALL = 10 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__TABLE_LIKE_OPTION) -} PgQuery__TableLikeOption; -typedef enum _PgQuery__DefElemAction { - PG_QUERY__DEF_ELEM_ACTION__DEF_ELEM_ACTION_UNDEFINED = 0, - PG_QUERY__DEF_ELEM_ACTION__DEFELEM_UNSPEC = 1, - PG_QUERY__DEF_ELEM_ACTION__DEFELEM_SET = 2, - PG_QUERY__DEF_ELEM_ACTION__DEFELEM_ADD = 3, - PG_QUERY__DEF_ELEM_ACTION__DEFELEM_DROP = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__DEF_ELEM_ACTION) -} PgQuery__DefElemAction; -typedef enum _PgQuery__PartitionStrategy { - PG_QUERY__PARTITION_STRATEGY__PARTITION_STRATEGY_UNDEFINED = 0, - PG_QUERY__PARTITION_STRATEGY__PARTITION_STRATEGY_LIST = 1, - PG_QUERY__PARTITION_STRATEGY__PARTITION_STRATEGY_RANGE = 2, - PG_QUERY__PARTITION_STRATEGY__PARTITION_STRATEGY_HASH = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__PARTITION_STRATEGY) -} PgQuery__PartitionStrategy; -typedef enum _PgQuery__PartitionRangeDatumKind { - PG_QUERY__PARTITION_RANGE_DATUM_KIND__PARTITION_RANGE_DATUM_KIND_UNDEFINED = 0, - PG_QUERY__PARTITION_RANGE_DATUM_KIND__PARTITION_RANGE_DATUM_MINVALUE = 1, - PG_QUERY__PARTITION_RANGE_DATUM_KIND__PARTITION_RANGE_DATUM_VALUE = 2, - PG_QUERY__PARTITION_RANGE_DATUM_KIND__PARTITION_RANGE_DATUM_MAXVALUE = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__PARTITION_RANGE_DATUM_KIND) -} PgQuery__PartitionRangeDatumKind; -typedef enum _PgQuery__RTEKind { - PG_QUERY__RTEKIND__RTEKIND_UNDEFINED = 0, - PG_QUERY__RTEKIND__RTE_RELATION = 1, - PG_QUERY__RTEKIND__RTE_SUBQUERY = 2, - PG_QUERY__RTEKIND__RTE_JOIN = 3, - PG_QUERY__RTEKIND__RTE_FUNCTION = 4, - PG_QUERY__RTEKIND__RTE_TABLEFUNC = 5, - PG_QUERY__RTEKIND__RTE_VALUES = 6, - PG_QUERY__RTEKIND__RTE_CTE = 7, - PG_QUERY__RTEKIND__RTE_NAMEDTUPLESTORE = 8, - PG_QUERY__RTEKIND__RTE_RESULT = 9, - PG_QUERY__RTEKIND__RTE_GROUP = 10 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__RTEKIND) -} PgQuery__RTEKind; -typedef enum _PgQuery__WCOKind { - PG_QUERY__WCOKIND__WCOKIND_UNDEFINED = 0, - PG_QUERY__WCOKIND__WCO_VIEW_CHECK = 1, - PG_QUERY__WCOKIND__WCO_RLS_INSERT_CHECK = 2, - PG_QUERY__WCOKIND__WCO_RLS_UPDATE_CHECK = 3, - PG_QUERY__WCOKIND__WCO_RLS_CONFLICT_CHECK = 4, - PG_QUERY__WCOKIND__WCO_RLS_MERGE_UPDATE_CHECK = 5, - PG_QUERY__WCOKIND__WCO_RLS_MERGE_DELETE_CHECK = 6 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__WCOKIND) -} PgQuery__WCOKind; -typedef enum _PgQuery__GroupingSetKind { - PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_KIND_UNDEFINED = 0, - PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_EMPTY = 1, - PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_SIMPLE = 2, - PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_ROLLUP = 3, - PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_CUBE = 4, - PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_SETS = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__GROUPING_SET_KIND) -} PgQuery__GroupingSetKind; -typedef enum _PgQuery__CTEMaterialize { - PG_QUERY__CTEMATERIALIZE__CTEMATERIALIZE_UNDEFINED = 0, - PG_QUERY__CTEMATERIALIZE__CTEMaterializeDefault = 1, - PG_QUERY__CTEMATERIALIZE__CTEMaterializeAlways = 2, - PG_QUERY__CTEMATERIALIZE__CTEMaterializeNever = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__CTEMATERIALIZE) -} PgQuery__CTEMaterialize; -typedef enum _PgQuery__ReturningOptionKind { - PG_QUERY__RETURNING_OPTION_KIND__RETURNING_OPTION_KIND_UNDEFINED = 0, - PG_QUERY__RETURNING_OPTION_KIND__RETURNING_OPTION_OLD = 1, - PG_QUERY__RETURNING_OPTION_KIND__RETURNING_OPTION_NEW = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__RETURNING_OPTION_KIND) -} PgQuery__ReturningOptionKind; -typedef enum _PgQuery__JsonQuotes { - PG_QUERY__JSON_QUOTES__JSON_QUOTES_UNDEFINED = 0, - PG_QUERY__JSON_QUOTES__JS_QUOTES_UNSPEC = 1, - PG_QUERY__JSON_QUOTES__JS_QUOTES_KEEP = 2, - PG_QUERY__JSON_QUOTES__JS_QUOTES_OMIT = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__JSON_QUOTES) -} PgQuery__JsonQuotes; -typedef enum _PgQuery__JsonTableColumnType { - PG_QUERY__JSON_TABLE_COLUMN_TYPE__JSON_TABLE_COLUMN_TYPE_UNDEFINED = 0, - PG_QUERY__JSON_TABLE_COLUMN_TYPE__JTC_FOR_ORDINALITY = 1, - PG_QUERY__JSON_TABLE_COLUMN_TYPE__JTC_REGULAR = 2, - PG_QUERY__JSON_TABLE_COLUMN_TYPE__JTC_EXISTS = 3, - PG_QUERY__JSON_TABLE_COLUMN_TYPE__JTC_FORMATTED = 4, - PG_QUERY__JSON_TABLE_COLUMN_TYPE__JTC_NESTED = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__JSON_TABLE_COLUMN_TYPE) -} PgQuery__JsonTableColumnType; -typedef enum _PgQuery__SetOperation { - PG_QUERY__SET_OPERATION__SET_OPERATION_UNDEFINED = 0, - PG_QUERY__SET_OPERATION__SETOP_NONE = 1, - PG_QUERY__SET_OPERATION__SETOP_UNION = 2, - PG_QUERY__SET_OPERATION__SETOP_INTERSECT = 3, - PG_QUERY__SET_OPERATION__SETOP_EXCEPT = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SET_OPERATION) -} PgQuery__SetOperation; -typedef enum _PgQuery__ObjectType { - PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED = 0, - PG_QUERY__OBJECT_TYPE__OBJECT_ACCESS_METHOD = 1, - PG_QUERY__OBJECT_TYPE__OBJECT_AGGREGATE = 2, - PG_QUERY__OBJECT_TYPE__OBJECT_AMOP = 3, - PG_QUERY__OBJECT_TYPE__OBJECT_AMPROC = 4, - PG_QUERY__OBJECT_TYPE__OBJECT_ATTRIBUTE = 5, - PG_QUERY__OBJECT_TYPE__OBJECT_CAST = 6, - PG_QUERY__OBJECT_TYPE__OBJECT_COLUMN = 7, - PG_QUERY__OBJECT_TYPE__OBJECT_COLLATION = 8, - PG_QUERY__OBJECT_TYPE__OBJECT_CONVERSION = 9, - PG_QUERY__OBJECT_TYPE__OBJECT_DATABASE = 10, - PG_QUERY__OBJECT_TYPE__OBJECT_DEFAULT = 11, - PG_QUERY__OBJECT_TYPE__OBJECT_DEFACL = 12, - PG_QUERY__OBJECT_TYPE__OBJECT_DOMAIN = 13, - PG_QUERY__OBJECT_TYPE__OBJECT_DOMCONSTRAINT = 14, - PG_QUERY__OBJECT_TYPE__OBJECT_EVENT_TRIGGER = 15, - PG_QUERY__OBJECT_TYPE__OBJECT_EXTENSION = 16, - PG_QUERY__OBJECT_TYPE__OBJECT_FDW = 17, - PG_QUERY__OBJECT_TYPE__OBJECT_FOREIGN_SERVER = 18, - PG_QUERY__OBJECT_TYPE__OBJECT_FOREIGN_TABLE = 19, - PG_QUERY__OBJECT_TYPE__OBJECT_FUNCTION = 20, - PG_QUERY__OBJECT_TYPE__OBJECT_INDEX = 21, - PG_QUERY__OBJECT_TYPE__OBJECT_LANGUAGE = 22, - PG_QUERY__OBJECT_TYPE__OBJECT_LARGEOBJECT = 23, - PG_QUERY__OBJECT_TYPE__OBJECT_MATVIEW = 24, - PG_QUERY__OBJECT_TYPE__OBJECT_OPCLASS = 25, - PG_QUERY__OBJECT_TYPE__OBJECT_OPERATOR = 26, - PG_QUERY__OBJECT_TYPE__OBJECT_OPFAMILY = 27, - PG_QUERY__OBJECT_TYPE__OBJECT_PARAMETER_ACL = 28, - PG_QUERY__OBJECT_TYPE__OBJECT_POLICY = 29, - PG_QUERY__OBJECT_TYPE__OBJECT_PROCEDURE = 30, - PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION = 31, - PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION_NAMESPACE = 32, - PG_QUERY__OBJECT_TYPE__OBJECT_PUBLICATION_REL = 33, - PG_QUERY__OBJECT_TYPE__OBJECT_ROLE = 34, - PG_QUERY__OBJECT_TYPE__OBJECT_ROUTINE = 35, - PG_QUERY__OBJECT_TYPE__OBJECT_RULE = 36, - PG_QUERY__OBJECT_TYPE__OBJECT_SCHEMA = 37, - PG_QUERY__OBJECT_TYPE__OBJECT_SEQUENCE = 38, - PG_QUERY__OBJECT_TYPE__OBJECT_SUBSCRIPTION = 39, - PG_QUERY__OBJECT_TYPE__OBJECT_STATISTIC_EXT = 40, - PG_QUERY__OBJECT_TYPE__OBJECT_TABCONSTRAINT = 41, - PG_QUERY__OBJECT_TYPE__OBJECT_TABLE = 42, - PG_QUERY__OBJECT_TYPE__OBJECT_TABLESPACE = 43, - PG_QUERY__OBJECT_TYPE__OBJECT_TRANSFORM = 44, - PG_QUERY__OBJECT_TYPE__OBJECT_TRIGGER = 45, - PG_QUERY__OBJECT_TYPE__OBJECT_TSCONFIGURATION = 46, - PG_QUERY__OBJECT_TYPE__OBJECT_TSDICTIONARY = 47, - PG_QUERY__OBJECT_TYPE__OBJECT_TSPARSER = 48, - PG_QUERY__OBJECT_TYPE__OBJECT_TSTEMPLATE = 49, - PG_QUERY__OBJECT_TYPE__OBJECT_TYPE = 50, - PG_QUERY__OBJECT_TYPE__OBJECT_USER_MAPPING = 51, - PG_QUERY__OBJECT_TYPE__OBJECT_VIEW = 52 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__OBJECT_TYPE) -} PgQuery__ObjectType; -typedef enum _PgQuery__DropBehavior { - PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED = 0, - PG_QUERY__DROP_BEHAVIOR__DROP_RESTRICT = 1, - PG_QUERY__DROP_BEHAVIOR__DROP_CASCADE = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__DROP_BEHAVIOR) -} PgQuery__DropBehavior; -typedef enum _PgQuery__AlterTableType { - PG_QUERY__ALTER_TABLE_TYPE__ALTER_TABLE_TYPE_UNDEFINED = 0, - PG_QUERY__ALTER_TABLE_TYPE__AT_AddColumn = 1, - PG_QUERY__ALTER_TABLE_TYPE__AT_AddColumnToView = 2, - PG_QUERY__ALTER_TABLE_TYPE__AT_ColumnDefault = 3, - PG_QUERY__ALTER_TABLE_TYPE__AT_CookedColumnDefault = 4, - PG_QUERY__ALTER_TABLE_TYPE__AT_DropNotNull = 5, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetNotNull = 6, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetExpression = 7, - PG_QUERY__ALTER_TABLE_TYPE__AT_DropExpression = 8, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetStatistics = 9, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetOptions = 10, - PG_QUERY__ALTER_TABLE_TYPE__AT_ResetOptions = 11, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetStorage = 12, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetCompression = 13, - PG_QUERY__ALTER_TABLE_TYPE__AT_DropColumn = 14, - PG_QUERY__ALTER_TABLE_TYPE__AT_AddIndex = 15, - PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddIndex = 16, - PG_QUERY__ALTER_TABLE_TYPE__AT_AddConstraint = 17, - PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddConstraint = 18, - PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddDomainConstraint = 19, - PG_QUERY__ALTER_TABLE_TYPE__AT_AlterConstraint = 20, - PG_QUERY__ALTER_TABLE_TYPE__AT_ValidateConstraint = 21, - PG_QUERY__ALTER_TABLE_TYPE__AT_AddIndexConstraint = 22, - PG_QUERY__ALTER_TABLE_TYPE__AT_DropConstraint = 23, - PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddComment = 24, - PG_QUERY__ALTER_TABLE_TYPE__AT_AlterColumnType = 25, - PG_QUERY__ALTER_TABLE_TYPE__AT_AlterColumnGenericOptions = 26, - PG_QUERY__ALTER_TABLE_TYPE__AT_ChangeOwner = 27, - PG_QUERY__ALTER_TABLE_TYPE__AT_ClusterOn = 28, - PG_QUERY__ALTER_TABLE_TYPE__AT_DropCluster = 29, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetLogged = 30, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetUnLogged = 31, - PG_QUERY__ALTER_TABLE_TYPE__AT_DropOids = 32, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetAccessMethod = 33, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetTableSpace = 34, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetRelOptions = 35, - PG_QUERY__ALTER_TABLE_TYPE__AT_ResetRelOptions = 36, - PG_QUERY__ALTER_TABLE_TYPE__AT_ReplaceRelOptions = 37, - PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrig = 38, - PG_QUERY__ALTER_TABLE_TYPE__AT_EnableAlwaysTrig = 39, - PG_QUERY__ALTER_TABLE_TYPE__AT_EnableReplicaTrig = 40, - PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrig = 41, - PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrigAll = 42, - PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrigAll = 43, - PG_QUERY__ALTER_TABLE_TYPE__AT_EnableTrigUser = 44, - PG_QUERY__ALTER_TABLE_TYPE__AT_DisableTrigUser = 45, - PG_QUERY__ALTER_TABLE_TYPE__AT_EnableRule = 46, - PG_QUERY__ALTER_TABLE_TYPE__AT_EnableAlwaysRule = 47, - PG_QUERY__ALTER_TABLE_TYPE__AT_EnableReplicaRule = 48, - PG_QUERY__ALTER_TABLE_TYPE__AT_DisableRule = 49, - PG_QUERY__ALTER_TABLE_TYPE__AT_AddInherit = 50, - PG_QUERY__ALTER_TABLE_TYPE__AT_DropInherit = 51, - PG_QUERY__ALTER_TABLE_TYPE__AT_AddOf = 52, - PG_QUERY__ALTER_TABLE_TYPE__AT_DropOf = 53, - PG_QUERY__ALTER_TABLE_TYPE__AT_ReplicaIdentity = 54, - PG_QUERY__ALTER_TABLE_TYPE__AT_EnableRowSecurity = 55, - PG_QUERY__ALTER_TABLE_TYPE__AT_DisableRowSecurity = 56, - PG_QUERY__ALTER_TABLE_TYPE__AT_ForceRowSecurity = 57, - PG_QUERY__ALTER_TABLE_TYPE__AT_NoForceRowSecurity = 58, - PG_QUERY__ALTER_TABLE_TYPE__AT_GenericOptions = 59, - PG_QUERY__ALTER_TABLE_TYPE__AT_AttachPartition = 60, - PG_QUERY__ALTER_TABLE_TYPE__AT_DetachPartition = 61, - PG_QUERY__ALTER_TABLE_TYPE__AT_DetachPartitionFinalize = 62, - PG_QUERY__ALTER_TABLE_TYPE__AT_AddIdentity = 63, - PG_QUERY__ALTER_TABLE_TYPE__AT_SetIdentity = 64, - PG_QUERY__ALTER_TABLE_TYPE__AT_DropIdentity = 65, - PG_QUERY__ALTER_TABLE_TYPE__AT_ReAddStatistics = 66 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ALTER_TABLE_TYPE) -} PgQuery__AlterTableType; -typedef enum _PgQuery__GrantTargetType { - PG_QUERY__GRANT_TARGET_TYPE__GRANT_TARGET_TYPE_UNDEFINED = 0, - PG_QUERY__GRANT_TARGET_TYPE__ACL_TARGET_OBJECT = 1, - PG_QUERY__GRANT_TARGET_TYPE__ACL_TARGET_ALL_IN_SCHEMA = 2, - PG_QUERY__GRANT_TARGET_TYPE__ACL_TARGET_DEFAULTS = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__GRANT_TARGET_TYPE) -} PgQuery__GrantTargetType; -typedef enum _PgQuery__VariableSetKind { - PG_QUERY__VARIABLE_SET_KIND__VARIABLE_SET_KIND_UNDEFINED = 0, - PG_QUERY__VARIABLE_SET_KIND__VAR_SET_VALUE = 1, - PG_QUERY__VARIABLE_SET_KIND__VAR_SET_DEFAULT = 2, - PG_QUERY__VARIABLE_SET_KIND__VAR_SET_CURRENT = 3, - PG_QUERY__VARIABLE_SET_KIND__VAR_SET_MULTI = 4, - PG_QUERY__VARIABLE_SET_KIND__VAR_RESET = 5, - PG_QUERY__VARIABLE_SET_KIND__VAR_RESET_ALL = 6 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__VARIABLE_SET_KIND) -} PgQuery__VariableSetKind; -typedef enum _PgQuery__ConstrType { - PG_QUERY__CONSTR_TYPE__CONSTR_TYPE_UNDEFINED = 0, - PG_QUERY__CONSTR_TYPE__CONSTR_NULL = 1, - PG_QUERY__CONSTR_TYPE__CONSTR_NOTNULL = 2, - PG_QUERY__CONSTR_TYPE__CONSTR_DEFAULT = 3, - PG_QUERY__CONSTR_TYPE__CONSTR_IDENTITY = 4, - PG_QUERY__CONSTR_TYPE__CONSTR_GENERATED = 5, - PG_QUERY__CONSTR_TYPE__CONSTR_CHECK = 6, - PG_QUERY__CONSTR_TYPE__CONSTR_PRIMARY = 7, - PG_QUERY__CONSTR_TYPE__CONSTR_UNIQUE = 8, - PG_QUERY__CONSTR_TYPE__CONSTR_EXCLUSION = 9, - PG_QUERY__CONSTR_TYPE__CONSTR_FOREIGN = 10, - PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_DEFERRABLE = 11, - PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_NOT_DEFERRABLE = 12, - PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_DEFERRED = 13, - PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_IMMEDIATE = 14, - PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_ENFORCED = 15, - PG_QUERY__CONSTR_TYPE__CONSTR_ATTR_NOT_ENFORCED = 16 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__CONSTR_TYPE) -} PgQuery__ConstrType; -typedef enum _PgQuery__ImportForeignSchemaType { - PG_QUERY__IMPORT_FOREIGN_SCHEMA_TYPE__IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED = 0, - PG_QUERY__IMPORT_FOREIGN_SCHEMA_TYPE__FDW_IMPORT_SCHEMA_ALL = 1, - PG_QUERY__IMPORT_FOREIGN_SCHEMA_TYPE__FDW_IMPORT_SCHEMA_LIMIT_TO = 2, - PG_QUERY__IMPORT_FOREIGN_SCHEMA_TYPE__FDW_IMPORT_SCHEMA_EXCEPT = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__IMPORT_FOREIGN_SCHEMA_TYPE) -} PgQuery__ImportForeignSchemaType; -typedef enum _PgQuery__RoleStmtType { - PG_QUERY__ROLE_STMT_TYPE__ROLE_STMT_TYPE_UNDEFINED = 0, - PG_QUERY__ROLE_STMT_TYPE__ROLESTMT_ROLE = 1, - PG_QUERY__ROLE_STMT_TYPE__ROLESTMT_USER = 2, - PG_QUERY__ROLE_STMT_TYPE__ROLESTMT_GROUP = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ROLE_STMT_TYPE) -} PgQuery__RoleStmtType; -typedef enum _PgQuery__FetchDirection { - PG_QUERY__FETCH_DIRECTION__FETCH_DIRECTION_UNDEFINED = 0, - PG_QUERY__FETCH_DIRECTION__FETCH_FORWARD = 1, - PG_QUERY__FETCH_DIRECTION__FETCH_BACKWARD = 2, - PG_QUERY__FETCH_DIRECTION__FETCH_ABSOLUTE = 3, - PG_QUERY__FETCH_DIRECTION__FETCH_RELATIVE = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__FETCH_DIRECTION) -} PgQuery__FetchDirection; -typedef enum _PgQuery__FunctionParameterMode { - PG_QUERY__FUNCTION_PARAMETER_MODE__FUNCTION_PARAMETER_MODE_UNDEFINED = 0, - PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_IN = 1, - PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_OUT = 2, - PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_INOUT = 3, - PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_VARIADIC = 4, - PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_TABLE = 5, - PG_QUERY__FUNCTION_PARAMETER_MODE__FUNC_PARAM_DEFAULT = 6 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__FUNCTION_PARAMETER_MODE) -} PgQuery__FunctionParameterMode; -typedef enum _PgQuery__TransactionStmtKind { - PG_QUERY__TRANSACTION_STMT_KIND__TRANSACTION_STMT_KIND_UNDEFINED = 0, - PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_BEGIN = 1, - PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_START = 2, - PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_COMMIT = 3, - PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_ROLLBACK = 4, - PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_SAVEPOINT = 5, - PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_RELEASE = 6, - PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_ROLLBACK_TO = 7, - PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_PREPARE = 8, - PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_COMMIT_PREPARED = 9, - PG_QUERY__TRANSACTION_STMT_KIND__TRANS_STMT_ROLLBACK_PREPARED = 10 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__TRANSACTION_STMT_KIND) -} PgQuery__TransactionStmtKind; -typedef enum _PgQuery__ViewCheckOption { - PG_QUERY__VIEW_CHECK_OPTION__VIEW_CHECK_OPTION_UNDEFINED = 0, - PG_QUERY__VIEW_CHECK_OPTION__NO_CHECK_OPTION = 1, - PG_QUERY__VIEW_CHECK_OPTION__LOCAL_CHECK_OPTION = 2, - PG_QUERY__VIEW_CHECK_OPTION__CASCADED_CHECK_OPTION = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__VIEW_CHECK_OPTION) -} PgQuery__ViewCheckOption; -typedef enum _PgQuery__DiscardMode { - PG_QUERY__DISCARD_MODE__DISCARD_MODE_UNDEFINED = 0, - PG_QUERY__DISCARD_MODE__DISCARD_ALL = 1, - PG_QUERY__DISCARD_MODE__DISCARD_PLANS = 2, - PG_QUERY__DISCARD_MODE__DISCARD_SEQUENCES = 3, - PG_QUERY__DISCARD_MODE__DISCARD_TEMP = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__DISCARD_MODE) -} PgQuery__DiscardMode; -typedef enum _PgQuery__ReindexObjectType { - PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_TYPE_UNDEFINED = 0, - PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_INDEX = 1, - PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_TABLE = 2, - PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_SCHEMA = 3, - PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_SYSTEM = 4, - PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_DATABASE = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__REINDEX_OBJECT_TYPE) -} PgQuery__ReindexObjectType; -typedef enum _PgQuery__AlterTSConfigType { - PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_TYPE_UNDEFINED = 0, - PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_ADD_MAPPING = 1, - PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN = 2, - PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_REPLACE_DICT = 3, - PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN = 4, - PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_DROP_MAPPING = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ALTER_TSCONFIG_TYPE) -} PgQuery__AlterTSConfigType; -typedef enum _PgQuery__PublicationObjSpecType { - PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED = 0, - PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_TABLE = 1, - PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_TABLES_IN_SCHEMA = 2, - PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA = 3, - PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATIONOBJ_CONTINUATION = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE) -} PgQuery__PublicationObjSpecType; -typedef enum _PgQuery__AlterPublicationAction { - PG_QUERY__ALTER_PUBLICATION_ACTION__ALTER_PUBLICATION_ACTION_UNDEFINED = 0, - PG_QUERY__ALTER_PUBLICATION_ACTION__AP_AddObjects = 1, - PG_QUERY__ALTER_PUBLICATION_ACTION__AP_DropObjects = 2, - PG_QUERY__ALTER_PUBLICATION_ACTION__AP_SetObjects = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ALTER_PUBLICATION_ACTION) -} PgQuery__AlterPublicationAction; -typedef enum _PgQuery__AlterSubscriptionType { - PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_TYPE_UNDEFINED = 0, - PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_OPTIONS = 1, - PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_CONNECTION = 2, - PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_SET_PUBLICATION = 3, - PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_ADD_PUBLICATION = 4, - PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_DROP_PUBLICATION = 5, - PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_REFRESH = 6, - PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_ENABLED = 7, - PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_SKIP = 8 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ALTER_SUBSCRIPTION_TYPE) -} PgQuery__AlterSubscriptionType; -typedef enum _PgQuery__OverridingKind { - PG_QUERY__OVERRIDING_KIND__OVERRIDING_KIND_UNDEFINED = 0, - PG_QUERY__OVERRIDING_KIND__OVERRIDING_NOT_SET = 1, - PG_QUERY__OVERRIDING_KIND__OVERRIDING_USER_VALUE = 2, - PG_QUERY__OVERRIDING_KIND__OVERRIDING_SYSTEM_VALUE = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__OVERRIDING_KIND) -} PgQuery__OverridingKind; -typedef enum _PgQuery__OnCommitAction { - PG_QUERY__ON_COMMIT_ACTION__ON_COMMIT_ACTION_UNDEFINED = 0, - PG_QUERY__ON_COMMIT_ACTION__ONCOMMIT_NOOP = 1, - PG_QUERY__ON_COMMIT_ACTION__ONCOMMIT_PRESERVE_ROWS = 2, - PG_QUERY__ON_COMMIT_ACTION__ONCOMMIT_DELETE_ROWS = 3, - PG_QUERY__ON_COMMIT_ACTION__ONCOMMIT_DROP = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ON_COMMIT_ACTION) -} PgQuery__OnCommitAction; -typedef enum _PgQuery__TableFuncType { - PG_QUERY__TABLE_FUNC_TYPE__TABLE_FUNC_TYPE_UNDEFINED = 0, - PG_QUERY__TABLE_FUNC_TYPE__TFT_XMLTABLE = 1, - PG_QUERY__TABLE_FUNC_TYPE__TFT_JSON_TABLE = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__TABLE_FUNC_TYPE) -} PgQuery__TableFuncType; -typedef enum _PgQuery__VarReturningType { - PG_QUERY__VAR_RETURNING_TYPE__VAR_RETURNING_TYPE_UNDEFINED = 0, - PG_QUERY__VAR_RETURNING_TYPE__VAR_RETURNING_DEFAULT = 1, - PG_QUERY__VAR_RETURNING_TYPE__VAR_RETURNING_OLD = 2, - PG_QUERY__VAR_RETURNING_TYPE__VAR_RETURNING_NEW = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__VAR_RETURNING_TYPE) -} PgQuery__VarReturningType; -typedef enum _PgQuery__ParamKind { - PG_QUERY__PARAM_KIND__PARAM_KIND_UNDEFINED = 0, - PG_QUERY__PARAM_KIND__PARAM_EXTERN = 1, - PG_QUERY__PARAM_KIND__PARAM_EXEC = 2, - PG_QUERY__PARAM_KIND__PARAM_SUBLINK = 3, - PG_QUERY__PARAM_KIND__PARAM_MULTIEXPR = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__PARAM_KIND) -} PgQuery__ParamKind; -typedef enum _PgQuery__CoercionContext { - PG_QUERY__COERCION_CONTEXT__COERCION_CONTEXT_UNDEFINED = 0, - PG_QUERY__COERCION_CONTEXT__COERCION_IMPLICIT = 1, - PG_QUERY__COERCION_CONTEXT__COERCION_ASSIGNMENT = 2, - PG_QUERY__COERCION_CONTEXT__COERCION_PLPGSQL = 3, - PG_QUERY__COERCION_CONTEXT__COERCION_EXPLICIT = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__COERCION_CONTEXT) -} PgQuery__CoercionContext; -typedef enum _PgQuery__CoercionForm { - PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED = 0, - PG_QUERY__COERCION_FORM__COERCE_EXPLICIT_CALL = 1, - PG_QUERY__COERCION_FORM__COERCE_EXPLICIT_CAST = 2, - PG_QUERY__COERCION_FORM__COERCE_IMPLICIT_CAST = 3, - PG_QUERY__COERCION_FORM__COERCE_SQL_SYNTAX = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__COERCION_FORM) -} PgQuery__CoercionForm; -typedef enum _PgQuery__BoolExprType { - PG_QUERY__BOOL_EXPR_TYPE__BOOL_EXPR_TYPE_UNDEFINED = 0, - PG_QUERY__BOOL_EXPR_TYPE__AND_EXPR = 1, - PG_QUERY__BOOL_EXPR_TYPE__OR_EXPR = 2, - PG_QUERY__BOOL_EXPR_TYPE__NOT_EXPR = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__BOOL_EXPR_TYPE) -} PgQuery__BoolExprType; -typedef enum _PgQuery__SubLinkType { - PG_QUERY__SUB_LINK_TYPE__SUB_LINK_TYPE_UNDEFINED = 0, - PG_QUERY__SUB_LINK_TYPE__EXISTS_SUBLINK = 1, - PG_QUERY__SUB_LINK_TYPE__ALL_SUBLINK = 2, - PG_QUERY__SUB_LINK_TYPE__ANY_SUBLINK = 3, - PG_QUERY__SUB_LINK_TYPE__ROWCOMPARE_SUBLINK = 4, - PG_QUERY__SUB_LINK_TYPE__EXPR_SUBLINK = 5, - PG_QUERY__SUB_LINK_TYPE__MULTIEXPR_SUBLINK = 6, - PG_QUERY__SUB_LINK_TYPE__ARRAY_SUBLINK = 7, - PG_QUERY__SUB_LINK_TYPE__CTE_SUBLINK = 8 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SUB_LINK_TYPE) -} PgQuery__SubLinkType; -typedef enum _PgQuery__MinMaxOp { - PG_QUERY__MIN_MAX_OP__MIN_MAX_OP_UNDEFINED = 0, - PG_QUERY__MIN_MAX_OP__IS_GREATEST = 1, - PG_QUERY__MIN_MAX_OP__IS_LEAST = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__MIN_MAX_OP) -} PgQuery__MinMaxOp; -typedef enum _PgQuery__SQLValueFunctionOp { - PG_QUERY__SQLVALUE_FUNCTION_OP__SQLVALUE_FUNCTION_OP_UNDEFINED = 0, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_DATE = 1, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_TIME = 2, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_TIME_N = 3, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_TIMESTAMP = 4, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_TIMESTAMP_N = 5, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_LOCALTIME = 6, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_LOCALTIME_N = 7, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_LOCALTIMESTAMP = 8, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_LOCALTIMESTAMP_N = 9, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_ROLE = 10, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_USER = 11, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_USER = 12, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_SESSION_USER = 13, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_CATALOG = 14, - PG_QUERY__SQLVALUE_FUNCTION_OP__SVFOP_CURRENT_SCHEMA = 15 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SQLVALUE_FUNCTION_OP) -} PgQuery__SQLValueFunctionOp; -typedef enum _PgQuery__XmlExprOp { - PG_QUERY__XML_EXPR_OP__XML_EXPR_OP_UNDEFINED = 0, - PG_QUERY__XML_EXPR_OP__IS_XMLCONCAT = 1, - PG_QUERY__XML_EXPR_OP__IS_XMLELEMENT = 2, - PG_QUERY__XML_EXPR_OP__IS_XMLFOREST = 3, - PG_QUERY__XML_EXPR_OP__IS_XMLPARSE = 4, - PG_QUERY__XML_EXPR_OP__IS_XMLPI = 5, - PG_QUERY__XML_EXPR_OP__IS_XMLROOT = 6, - PG_QUERY__XML_EXPR_OP__IS_XMLSERIALIZE = 7, - PG_QUERY__XML_EXPR_OP__IS_DOCUMENT = 8 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__XML_EXPR_OP) -} PgQuery__XmlExprOp; -typedef enum _PgQuery__XmlOptionType { - PG_QUERY__XML_OPTION_TYPE__XML_OPTION_TYPE_UNDEFINED = 0, - PG_QUERY__XML_OPTION_TYPE__XMLOPTION_DOCUMENT = 1, - PG_QUERY__XML_OPTION_TYPE__XMLOPTION_CONTENT = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__XML_OPTION_TYPE) -} PgQuery__XmlOptionType; -typedef enum _PgQuery__JsonEncoding { - PG_QUERY__JSON_ENCODING__JSON_ENCODING_UNDEFINED = 0, - PG_QUERY__JSON_ENCODING__JS_ENC_DEFAULT = 1, - PG_QUERY__JSON_ENCODING__JS_ENC_UTF8 = 2, - PG_QUERY__JSON_ENCODING__JS_ENC_UTF16 = 3, - PG_QUERY__JSON_ENCODING__JS_ENC_UTF32 = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__JSON_ENCODING) -} PgQuery__JsonEncoding; -typedef enum _PgQuery__JsonFormatType { - PG_QUERY__JSON_FORMAT_TYPE__JSON_FORMAT_TYPE_UNDEFINED = 0, - PG_QUERY__JSON_FORMAT_TYPE__JS_FORMAT_DEFAULT = 1, - PG_QUERY__JSON_FORMAT_TYPE__JS_FORMAT_JSON = 2, - PG_QUERY__JSON_FORMAT_TYPE__JS_FORMAT_JSONB = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__JSON_FORMAT_TYPE) -} PgQuery__JsonFormatType; -typedef enum _PgQuery__JsonConstructorType { - PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSON_CONSTRUCTOR_TYPE_UNDEFINED = 0, - PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_OBJECT = 1, - PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_ARRAY = 2, - PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_OBJECTAGG = 3, - PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_ARRAYAGG = 4, - PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_PARSE = 5, - PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_SCALAR = 6, - PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSCTOR_JSON_SERIALIZE = 7 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__JSON_CONSTRUCTOR_TYPE) -} PgQuery__JsonConstructorType; -typedef enum _PgQuery__JsonValueType { - PG_QUERY__JSON_VALUE_TYPE__JSON_VALUE_TYPE_UNDEFINED = 0, - PG_QUERY__JSON_VALUE_TYPE__JS_TYPE_ANY = 1, - PG_QUERY__JSON_VALUE_TYPE__JS_TYPE_OBJECT = 2, - PG_QUERY__JSON_VALUE_TYPE__JS_TYPE_ARRAY = 3, - PG_QUERY__JSON_VALUE_TYPE__JS_TYPE_SCALAR = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__JSON_VALUE_TYPE) -} PgQuery__JsonValueType; -typedef enum _PgQuery__JsonWrapper { - PG_QUERY__JSON_WRAPPER__JSON_WRAPPER_UNDEFINED = 0, - PG_QUERY__JSON_WRAPPER__JSW_UNSPEC = 1, - PG_QUERY__JSON_WRAPPER__JSW_NONE = 2, - PG_QUERY__JSON_WRAPPER__JSW_CONDITIONAL = 3, - PG_QUERY__JSON_WRAPPER__JSW_UNCONDITIONAL = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__JSON_WRAPPER) -} PgQuery__JsonWrapper; -typedef enum _PgQuery__JsonBehaviorType { - PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_TYPE_UNDEFINED = 0, - PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_NULL = 1, - PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_ERROR = 2, - PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_EMPTY = 3, - PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_TRUE = 4, - PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_FALSE = 5, - PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_UNKNOWN = 6, - PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_EMPTY_ARRAY = 7, - PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_EMPTY_OBJECT = 8, - PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_DEFAULT = 9 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__JSON_BEHAVIOR_TYPE) -} PgQuery__JsonBehaviorType; -typedef enum _PgQuery__JsonExprOp { - PG_QUERY__JSON_EXPR_OP__JSON_EXPR_OP_UNDEFINED = 0, - PG_QUERY__JSON_EXPR_OP__JSON_EXISTS_OP = 1, - PG_QUERY__JSON_EXPR_OP__JSON_QUERY_OP = 2, - PG_QUERY__JSON_EXPR_OP__JSON_VALUE_OP = 3, - PG_QUERY__JSON_EXPR_OP__JSON_TABLE_OP = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__JSON_EXPR_OP) -} PgQuery__JsonExprOp; -typedef enum _PgQuery__NullTestType { - PG_QUERY__NULL_TEST_TYPE__NULL_TEST_TYPE_UNDEFINED = 0, - PG_QUERY__NULL_TEST_TYPE__IS_NULL = 1, - PG_QUERY__NULL_TEST_TYPE__IS_NOT_NULL = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__NULL_TEST_TYPE) -} PgQuery__NullTestType; -typedef enum _PgQuery__BoolTestType { - PG_QUERY__BOOL_TEST_TYPE__BOOL_TEST_TYPE_UNDEFINED = 0, - PG_QUERY__BOOL_TEST_TYPE__IS_TRUE = 1, - PG_QUERY__BOOL_TEST_TYPE__IS_NOT_TRUE = 2, - PG_QUERY__BOOL_TEST_TYPE__IS_FALSE = 3, - PG_QUERY__BOOL_TEST_TYPE__IS_NOT_FALSE = 4, - PG_QUERY__BOOL_TEST_TYPE__IS_UNKNOWN = 5, - PG_QUERY__BOOL_TEST_TYPE__IS_NOT_UNKNOWN = 6 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__BOOL_TEST_TYPE) -} PgQuery__BoolTestType; -typedef enum _PgQuery__MergeMatchKind { - PG_QUERY__MERGE_MATCH_KIND__MERGE_MATCH_KIND_UNDEFINED = 0, - PG_QUERY__MERGE_MATCH_KIND__MERGE_WHEN_MATCHED = 1, - PG_QUERY__MERGE_MATCH_KIND__MERGE_WHEN_NOT_MATCHED_BY_SOURCE = 2, - PG_QUERY__MERGE_MATCH_KIND__MERGE_WHEN_NOT_MATCHED_BY_TARGET = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__MERGE_MATCH_KIND) -} PgQuery__MergeMatchKind; -typedef enum _PgQuery__CmdType { - PG_QUERY__CMD_TYPE__CMD_TYPE_UNDEFINED = 0, - PG_QUERY__CMD_TYPE__CMD_UNKNOWN = 1, - PG_QUERY__CMD_TYPE__CMD_SELECT = 2, - PG_QUERY__CMD_TYPE__CMD_UPDATE = 3, - PG_QUERY__CMD_TYPE__CMD_INSERT = 4, - PG_QUERY__CMD_TYPE__CMD_DELETE = 5, - PG_QUERY__CMD_TYPE__CMD_MERGE = 6, - PG_QUERY__CMD_TYPE__CMD_UTILITY = 7, - PG_QUERY__CMD_TYPE__CMD_NOTHING = 8 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__CMD_TYPE) -} PgQuery__CmdType; -typedef enum _PgQuery__JoinType { - PG_QUERY__JOIN_TYPE__JOIN_TYPE_UNDEFINED = 0, - PG_QUERY__JOIN_TYPE__JOIN_INNER = 1, - PG_QUERY__JOIN_TYPE__JOIN_LEFT = 2, - PG_QUERY__JOIN_TYPE__JOIN_FULL = 3, - PG_QUERY__JOIN_TYPE__JOIN_RIGHT = 4, - PG_QUERY__JOIN_TYPE__JOIN_SEMI = 5, - PG_QUERY__JOIN_TYPE__JOIN_ANTI = 6, - PG_QUERY__JOIN_TYPE__JOIN_RIGHT_SEMI = 7, - PG_QUERY__JOIN_TYPE__JOIN_RIGHT_ANTI = 8, - PG_QUERY__JOIN_TYPE__JOIN_UNIQUE_OUTER = 9, - PG_QUERY__JOIN_TYPE__JOIN_UNIQUE_INNER = 10 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__JOIN_TYPE) -} PgQuery__JoinType; -typedef enum _PgQuery__AggStrategy { - PG_QUERY__AGG_STRATEGY__AGG_STRATEGY_UNDEFINED = 0, - PG_QUERY__AGG_STRATEGY__AGG_PLAIN = 1, - PG_QUERY__AGG_STRATEGY__AGG_SORTED = 2, - PG_QUERY__AGG_STRATEGY__AGG_HASHED = 3, - PG_QUERY__AGG_STRATEGY__AGG_MIXED = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__AGG_STRATEGY) -} PgQuery__AggStrategy; -typedef enum _PgQuery__AggSplit { - PG_QUERY__AGG_SPLIT__AGG_SPLIT_UNDEFINED = 0, - PG_QUERY__AGG_SPLIT__AGGSPLIT_SIMPLE = 1, - PG_QUERY__AGG_SPLIT__AGGSPLIT_INITIAL_SERIAL = 2, - PG_QUERY__AGG_SPLIT__AGGSPLIT_FINAL_DESERIAL = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__AGG_SPLIT) -} PgQuery__AggSplit; -typedef enum _PgQuery__SetOpCmd { - PG_QUERY__SET_OP_CMD__SET_OP_CMD_UNDEFINED = 0, - PG_QUERY__SET_OP_CMD__SETOPCMD_INTERSECT = 1, - PG_QUERY__SET_OP_CMD__SETOPCMD_INTERSECT_ALL = 2, - PG_QUERY__SET_OP_CMD__SETOPCMD_EXCEPT = 3, - PG_QUERY__SET_OP_CMD__SETOPCMD_EXCEPT_ALL = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SET_OP_CMD) -} PgQuery__SetOpCmd; -typedef enum _PgQuery__SetOpStrategy { - PG_QUERY__SET_OP_STRATEGY__SET_OP_STRATEGY_UNDEFINED = 0, - PG_QUERY__SET_OP_STRATEGY__SETOP_SORTED = 1, - PG_QUERY__SET_OP_STRATEGY__SETOP_HASHED = 2 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__SET_OP_STRATEGY) -} PgQuery__SetOpStrategy; -typedef enum _PgQuery__OnConflictAction { - PG_QUERY__ON_CONFLICT_ACTION__ON_CONFLICT_ACTION_UNDEFINED = 0, - PG_QUERY__ON_CONFLICT_ACTION__ONCONFLICT_NONE = 1, - PG_QUERY__ON_CONFLICT_ACTION__ONCONFLICT_NOTHING = 2, - PG_QUERY__ON_CONFLICT_ACTION__ONCONFLICT_UPDATE = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__ON_CONFLICT_ACTION) -} PgQuery__OnConflictAction; -typedef enum _PgQuery__LimitOption { - PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_UNDEFINED = 0, - PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_DEFAULT = 1, - PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_COUNT = 2, - PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_WITH_TIES = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__LIMIT_OPTION) -} PgQuery__LimitOption; -typedef enum _PgQuery__LockClauseStrength { - PG_QUERY__LOCK_CLAUSE_STRENGTH__LOCK_CLAUSE_STRENGTH_UNDEFINED = 0, - PG_QUERY__LOCK_CLAUSE_STRENGTH__LCS_NONE = 1, - PG_QUERY__LOCK_CLAUSE_STRENGTH__LCS_FORKEYSHARE = 2, - PG_QUERY__LOCK_CLAUSE_STRENGTH__LCS_FORSHARE = 3, - PG_QUERY__LOCK_CLAUSE_STRENGTH__LCS_FORNOKEYUPDATE = 4, - PG_QUERY__LOCK_CLAUSE_STRENGTH__LCS_FORUPDATE = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__LOCK_CLAUSE_STRENGTH) -} PgQuery__LockClauseStrength; -typedef enum _PgQuery__LockWaitPolicy { - PG_QUERY__LOCK_WAIT_POLICY__LOCK_WAIT_POLICY_UNDEFINED = 0, - PG_QUERY__LOCK_WAIT_POLICY__LockWaitBlock = 1, - PG_QUERY__LOCK_WAIT_POLICY__LockWaitSkip = 2, - PG_QUERY__LOCK_WAIT_POLICY__LockWaitError = 3 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__LOCK_WAIT_POLICY) -} PgQuery__LockWaitPolicy; -typedef enum _PgQuery__LockTupleMode { - PG_QUERY__LOCK_TUPLE_MODE__LOCK_TUPLE_MODE_UNDEFINED = 0, - PG_QUERY__LOCK_TUPLE_MODE__LockTupleKeyShare = 1, - PG_QUERY__LOCK_TUPLE_MODE__LockTupleShare = 2, - PG_QUERY__LOCK_TUPLE_MODE__LockTupleNoKeyExclusive = 3, - PG_QUERY__LOCK_TUPLE_MODE__LockTupleExclusive = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__LOCK_TUPLE_MODE) -} PgQuery__LockTupleMode; -typedef enum _PgQuery__CompareType { - PG_QUERY__COMPARE_TYPE__COMPARE_TYPE_UNDEFINED = 0, - PG_QUERY__COMPARE_TYPE__COMPARE_INVALID = 1, - PG_QUERY__COMPARE_TYPE__COMPARE_LT = 2, - PG_QUERY__COMPARE_TYPE__COMPARE_LE = 3, - PG_QUERY__COMPARE_TYPE__COMPARE_EQ = 4, - PG_QUERY__COMPARE_TYPE__COMPARE_GE = 5, - PG_QUERY__COMPARE_TYPE__COMPARE_GT = 6, - PG_QUERY__COMPARE_TYPE__COMPARE_NE = 7, - PG_QUERY__COMPARE_TYPE__COMPARE_OVERLAP = 8, - PG_QUERY__COMPARE_TYPE__COMPARE_CONTAINED_BY = 9 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__COMPARE_TYPE) -} PgQuery__CompareType; -typedef enum _PgQuery__KeywordKind { - PG_QUERY__KEYWORD_KIND__NO_KEYWORD = 0, - PG_QUERY__KEYWORD_KIND__UNRESERVED_KEYWORD = 1, - PG_QUERY__KEYWORD_KIND__COL_NAME_KEYWORD = 2, - PG_QUERY__KEYWORD_KIND__TYPE_FUNC_NAME_KEYWORD = 3, - PG_QUERY__KEYWORD_KIND__RESERVED_KEYWORD = 4 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__KEYWORD_KIND) -} PgQuery__KeywordKind; -typedef enum _PgQuery__Token { - PG_QUERY__TOKEN__NUL = 0, - /* - * Single-character tokens that are returned 1:1 (identical with "self" list in scan.l) - * Either supporting syntax, or single-character operators (some can be both) - * Also see https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-SPECIAL-CHARS - */ - /* - * "$" - */ - PG_QUERY__TOKEN__ASCII_36 = 36, - /* - * "%" - */ - PG_QUERY__TOKEN__ASCII_37 = 37, - /* - * "(" - */ - PG_QUERY__TOKEN__ASCII_40 = 40, - /* - * ")" - */ - PG_QUERY__TOKEN__ASCII_41 = 41, - /* - * "*" - */ - PG_QUERY__TOKEN__ASCII_42 = 42, - /* - * "+" - */ - PG_QUERY__TOKEN__ASCII_43 = 43, - /* - * "," - */ - PG_QUERY__TOKEN__ASCII_44 = 44, - /* - * "-" - */ - PG_QUERY__TOKEN__ASCII_45 = 45, - /* - * "." - */ - PG_QUERY__TOKEN__ASCII_46 = 46, - /* - * "/" - */ - PG_QUERY__TOKEN__ASCII_47 = 47, - /* - * ":" - */ - PG_QUERY__TOKEN__ASCII_58 = 58, - /* - * ";" - */ - PG_QUERY__TOKEN__ASCII_59 = 59, - /* - * "<" - */ - PG_QUERY__TOKEN__ASCII_60 = 60, - /* - * "=" - */ - PG_QUERY__TOKEN__ASCII_61 = 61, - /* - * ">" - */ - PG_QUERY__TOKEN__ASCII_62 = 62, - /* - * "?" - */ - PG_QUERY__TOKEN__ASCII_63 = 63, - /* - * "[" - */ - PG_QUERY__TOKEN__ASCII_91 = 91, - /* - * "\" - */ - PG_QUERY__TOKEN__ASCII_92 = 92, - /* - * "]" - */ - PG_QUERY__TOKEN__ASCII_93 = 93, - /* - * "^" - */ - PG_QUERY__TOKEN__ASCII_94 = 94, - /* - * Named tokens in scan.l - */ - PG_QUERY__TOKEN__IDENT = 258, - PG_QUERY__TOKEN__UIDENT = 259, - PG_QUERY__TOKEN__FCONST = 260, - PG_QUERY__TOKEN__SCONST = 261, - PG_QUERY__TOKEN__USCONST = 262, - PG_QUERY__TOKEN__BCONST = 263, - PG_QUERY__TOKEN__XCONST = 264, - PG_QUERY__TOKEN__Op = 265, - PG_QUERY__TOKEN__ICONST = 266, - PG_QUERY__TOKEN__PARAM = 267, - PG_QUERY__TOKEN__TYPECAST = 268, - PG_QUERY__TOKEN__DOT_DOT = 269, - PG_QUERY__TOKEN__COLON_EQUALS = 270, - PG_QUERY__TOKEN__EQUALS_GREATER = 271, - PG_QUERY__TOKEN__LESS_EQUALS = 272, - PG_QUERY__TOKEN__GREATER_EQUALS = 273, - PG_QUERY__TOKEN__NOT_EQUALS = 274, - PG_QUERY__TOKEN__SQL_COMMENT = 275, - PG_QUERY__TOKEN__C_COMMENT = 276, - PG_QUERY__TOKEN__ABORT_P = 277, - PG_QUERY__TOKEN__ABSENT = 278, - PG_QUERY__TOKEN__ABSOLUTE_P = 279, - PG_QUERY__TOKEN__ACCESS = 280, - PG_QUERY__TOKEN__ACTION = 281, - PG_QUERY__TOKEN__ADD_P = 282, - PG_QUERY__TOKEN__ADMIN = 283, - PG_QUERY__TOKEN__AFTER = 284, - PG_QUERY__TOKEN__AGGREGATE = 285, - PG_QUERY__TOKEN__ALL = 286, - PG_QUERY__TOKEN__ALSO = 287, - PG_QUERY__TOKEN__ALTER = 288, - PG_QUERY__TOKEN__ALWAYS = 289, - PG_QUERY__TOKEN__ANALYSE = 290, - PG_QUERY__TOKEN__ANALYZE = 291, - PG_QUERY__TOKEN__AND = 292, - PG_QUERY__TOKEN__ANY = 293, - PG_QUERY__TOKEN__ARRAY = 294, - PG_QUERY__TOKEN__AS = 295, - PG_QUERY__TOKEN__ASC = 296, - PG_QUERY__TOKEN__ASENSITIVE = 297, - PG_QUERY__TOKEN__ASSERTION = 298, - PG_QUERY__TOKEN__ASSIGNMENT = 299, - PG_QUERY__TOKEN__ASYMMETRIC = 300, - PG_QUERY__TOKEN__ATOMIC = 301, - PG_QUERY__TOKEN__AT = 302, - PG_QUERY__TOKEN__ATTACH = 303, - PG_QUERY__TOKEN__ATTRIBUTE = 304, - PG_QUERY__TOKEN__AUTHORIZATION = 305, - PG_QUERY__TOKEN__BACKWARD = 306, - PG_QUERY__TOKEN__BEFORE = 307, - PG_QUERY__TOKEN__BEGIN_P = 308, - PG_QUERY__TOKEN__BETWEEN = 309, - PG_QUERY__TOKEN__BIGINT = 310, - PG_QUERY__TOKEN__BINARY = 311, - PG_QUERY__TOKEN__BIT = 312, - PG_QUERY__TOKEN__BOOLEAN_P = 313, - PG_QUERY__TOKEN__BOTH = 314, - PG_QUERY__TOKEN__BREADTH = 315, - PG_QUERY__TOKEN__BY = 316, - PG_QUERY__TOKEN__CACHE = 317, - PG_QUERY__TOKEN__CALL = 318, - PG_QUERY__TOKEN__CALLED = 319, - PG_QUERY__TOKEN__CASCADE = 320, - PG_QUERY__TOKEN__CASCADED = 321, - PG_QUERY__TOKEN__CASE = 322, - PG_QUERY__TOKEN__CAST = 323, - PG_QUERY__TOKEN__CATALOG_P = 324, - PG_QUERY__TOKEN__CHAIN = 325, - PG_QUERY__TOKEN__CHAR_P = 326, - PG_QUERY__TOKEN__CHARACTER = 327, - PG_QUERY__TOKEN__CHARACTERISTICS = 328, - PG_QUERY__TOKEN__CHECK = 329, - PG_QUERY__TOKEN__CHECKPOINT = 330, - PG_QUERY__TOKEN__CLASS = 331, - PG_QUERY__TOKEN__CLOSE = 332, - PG_QUERY__TOKEN__CLUSTER = 333, - PG_QUERY__TOKEN__COALESCE = 334, - PG_QUERY__TOKEN__COLLATE = 335, - PG_QUERY__TOKEN__COLLATION = 336, - PG_QUERY__TOKEN__COLUMN = 337, - PG_QUERY__TOKEN__COLUMNS = 338, - PG_QUERY__TOKEN__COMMENT = 339, - PG_QUERY__TOKEN__COMMENTS = 340, - PG_QUERY__TOKEN__COMMIT = 341, - PG_QUERY__TOKEN__COMMITTED = 342, - PG_QUERY__TOKEN__COMPRESSION = 343, - PG_QUERY__TOKEN__CONCURRENTLY = 344, - PG_QUERY__TOKEN__CONDITIONAL = 345, - PG_QUERY__TOKEN__CONFIGURATION = 346, - PG_QUERY__TOKEN__CONFLICT = 347, - PG_QUERY__TOKEN__CONNECTION = 348, - PG_QUERY__TOKEN__CONSTRAINT = 349, - PG_QUERY__TOKEN__CONSTRAINTS = 350, - PG_QUERY__TOKEN__CONTENT_P = 351, - PG_QUERY__TOKEN__CONTINUE_P = 352, - PG_QUERY__TOKEN__CONVERSION_P = 353, - PG_QUERY__TOKEN__COPY = 354, - PG_QUERY__TOKEN__COST = 355, - PG_QUERY__TOKEN__CREATE = 356, - PG_QUERY__TOKEN__CROSS = 357, - PG_QUERY__TOKEN__CSV = 358, - PG_QUERY__TOKEN__CUBE = 359, - PG_QUERY__TOKEN__CURRENT_P = 360, - PG_QUERY__TOKEN__CURRENT_CATALOG = 361, - PG_QUERY__TOKEN__CURRENT_DATE = 362, - PG_QUERY__TOKEN__CURRENT_ROLE = 363, - PG_QUERY__TOKEN__CURRENT_SCHEMA = 364, - PG_QUERY__TOKEN__CURRENT_TIME = 365, - PG_QUERY__TOKEN__CURRENT_TIMESTAMP = 366, - PG_QUERY__TOKEN__CURRENT_USER = 367, - PG_QUERY__TOKEN__CURSOR = 368, - PG_QUERY__TOKEN__CYCLE = 369, - PG_QUERY__TOKEN__DATA_P = 370, - PG_QUERY__TOKEN__DATABASE = 371, - PG_QUERY__TOKEN__DAY_P = 372, - PG_QUERY__TOKEN__DEALLOCATE = 373, - PG_QUERY__TOKEN__DEC = 374, - PG_QUERY__TOKEN__DECIMAL_P = 375, - PG_QUERY__TOKEN__DECLARE = 376, - PG_QUERY__TOKEN__DEFAULT = 377, - PG_QUERY__TOKEN__DEFAULTS = 378, - PG_QUERY__TOKEN__DEFERRABLE = 379, - PG_QUERY__TOKEN__DEFERRED = 380, - PG_QUERY__TOKEN__DEFINER = 381, - PG_QUERY__TOKEN__DELETE_P = 382, - PG_QUERY__TOKEN__DELIMITER = 383, - PG_QUERY__TOKEN__DELIMITERS = 384, - PG_QUERY__TOKEN__DEPENDS = 385, - PG_QUERY__TOKEN__DEPTH = 386, - PG_QUERY__TOKEN__DESC = 387, - PG_QUERY__TOKEN__DETACH = 388, - PG_QUERY__TOKEN__DICTIONARY = 389, - PG_QUERY__TOKEN__DISABLE_P = 390, - PG_QUERY__TOKEN__DISCARD = 391, - PG_QUERY__TOKEN__DISTINCT = 392, - PG_QUERY__TOKEN__DO = 393, - PG_QUERY__TOKEN__DOCUMENT_P = 394, - PG_QUERY__TOKEN__DOMAIN_P = 395, - PG_QUERY__TOKEN__DOUBLE_P = 396, - PG_QUERY__TOKEN__DROP = 397, - PG_QUERY__TOKEN__EACH = 398, - PG_QUERY__TOKEN__ELSE = 399, - PG_QUERY__TOKEN__EMPTY_P = 400, - PG_QUERY__TOKEN__ENABLE_P = 401, - PG_QUERY__TOKEN__ENCODING = 402, - PG_QUERY__TOKEN__ENCRYPTED = 403, - PG_QUERY__TOKEN__END_P = 404, - PG_QUERY__TOKEN__ENFORCED = 405, - PG_QUERY__TOKEN__ENUM_P = 406, - PG_QUERY__TOKEN__ERROR_P = 407, - PG_QUERY__TOKEN__ESCAPE = 408, - PG_QUERY__TOKEN__EVENT = 409, - PG_QUERY__TOKEN__EXCEPT = 410, - PG_QUERY__TOKEN__EXCLUDE = 411, - PG_QUERY__TOKEN__EXCLUDING = 412, - PG_QUERY__TOKEN__EXCLUSIVE = 413, - PG_QUERY__TOKEN__EXECUTE = 414, - PG_QUERY__TOKEN__EXISTS = 415, - PG_QUERY__TOKEN__EXPLAIN = 416, - PG_QUERY__TOKEN__EXPRESSION = 417, - PG_QUERY__TOKEN__EXTENSION = 418, - PG_QUERY__TOKEN__EXTERNAL = 419, - PG_QUERY__TOKEN__EXTRACT = 420, - PG_QUERY__TOKEN__FALSE_P = 421, - PG_QUERY__TOKEN__FAMILY = 422, - PG_QUERY__TOKEN__FETCH = 423, - PG_QUERY__TOKEN__FILTER = 424, - PG_QUERY__TOKEN__FINALIZE = 425, - PG_QUERY__TOKEN__FIRST_P = 426, - PG_QUERY__TOKEN__FLOAT_P = 427, - PG_QUERY__TOKEN__FOLLOWING = 428, - PG_QUERY__TOKEN__FOR = 429, - PG_QUERY__TOKEN__FORCE = 430, - PG_QUERY__TOKEN__FOREIGN = 431, - PG_QUERY__TOKEN__FORMAT = 432, - PG_QUERY__TOKEN__FORWARD = 433, - PG_QUERY__TOKEN__FREEZE = 434, - PG_QUERY__TOKEN__FROM = 435, - PG_QUERY__TOKEN__FULL = 436, - PG_QUERY__TOKEN__FUNCTION = 437, - PG_QUERY__TOKEN__FUNCTIONS = 438, - PG_QUERY__TOKEN__GENERATED = 439, - PG_QUERY__TOKEN__GLOBAL = 440, - PG_QUERY__TOKEN__GRANT = 441, - PG_QUERY__TOKEN__GRANTED = 442, - PG_QUERY__TOKEN__GREATEST = 443, - PG_QUERY__TOKEN__GROUP_P = 444, - PG_QUERY__TOKEN__GROUPING = 445, - PG_QUERY__TOKEN__GROUPS = 446, - PG_QUERY__TOKEN__HANDLER = 447, - PG_QUERY__TOKEN__HAVING = 448, - PG_QUERY__TOKEN__HEADER_P = 449, - PG_QUERY__TOKEN__HOLD = 450, - PG_QUERY__TOKEN__HOUR_P = 451, - PG_QUERY__TOKEN__IDENTITY_P = 452, - PG_QUERY__TOKEN__IF_P = 453, - PG_QUERY__TOKEN__ILIKE = 454, - PG_QUERY__TOKEN__IMMEDIATE = 455, - PG_QUERY__TOKEN__IMMUTABLE = 456, - PG_QUERY__TOKEN__IMPLICIT_P = 457, - PG_QUERY__TOKEN__IMPORT_P = 458, - PG_QUERY__TOKEN__IN_P = 459, - PG_QUERY__TOKEN__INCLUDE = 460, - PG_QUERY__TOKEN__INCLUDING = 461, - PG_QUERY__TOKEN__INCREMENT = 462, - PG_QUERY__TOKEN__INDENT = 463, - PG_QUERY__TOKEN__INDEX = 464, - PG_QUERY__TOKEN__INDEXES = 465, - PG_QUERY__TOKEN__INHERIT = 466, - PG_QUERY__TOKEN__INHERITS = 467, - PG_QUERY__TOKEN__INITIALLY = 468, - PG_QUERY__TOKEN__INLINE_P = 469, - PG_QUERY__TOKEN__INNER_P = 470, - PG_QUERY__TOKEN__INOUT = 471, - PG_QUERY__TOKEN__INPUT_P = 472, - PG_QUERY__TOKEN__INSENSITIVE = 473, - PG_QUERY__TOKEN__INSERT = 474, - PG_QUERY__TOKEN__INSTEAD = 475, - PG_QUERY__TOKEN__INT_P = 476, - PG_QUERY__TOKEN__INTEGER = 477, - PG_QUERY__TOKEN__INTERSECT = 478, - PG_QUERY__TOKEN__INTERVAL = 479, - PG_QUERY__TOKEN__INTO = 480, - PG_QUERY__TOKEN__INVOKER = 481, - PG_QUERY__TOKEN__IS = 482, - PG_QUERY__TOKEN__ISNULL = 483, - PG_QUERY__TOKEN__ISOLATION = 484, - PG_QUERY__TOKEN__JOIN = 485, - PG_QUERY__TOKEN__JSON = 486, - PG_QUERY__TOKEN__JSON_ARRAY = 487, - PG_QUERY__TOKEN__JSON_ARRAYAGG = 488, - PG_QUERY__TOKEN__JSON_EXISTS = 489, - PG_QUERY__TOKEN__JSON_OBJECT = 490, - PG_QUERY__TOKEN__JSON_OBJECTAGG = 491, - PG_QUERY__TOKEN__JSON_QUERY = 492, - PG_QUERY__TOKEN__JSON_SCALAR = 493, - PG_QUERY__TOKEN__JSON_SERIALIZE = 494, - PG_QUERY__TOKEN__JSON_TABLE = 495, - PG_QUERY__TOKEN__JSON_VALUE = 496, - PG_QUERY__TOKEN__KEEP = 497, - PG_QUERY__TOKEN__KEY = 498, - PG_QUERY__TOKEN__KEYS = 499, - PG_QUERY__TOKEN__LABEL = 500, - PG_QUERY__TOKEN__LANGUAGE = 501, - PG_QUERY__TOKEN__LARGE_P = 502, - PG_QUERY__TOKEN__LAST_P = 503, - PG_QUERY__TOKEN__LATERAL_P = 504, - PG_QUERY__TOKEN__LEADING = 505, - PG_QUERY__TOKEN__LEAKPROOF = 506, - PG_QUERY__TOKEN__LEAST = 507, - PG_QUERY__TOKEN__LEFT = 508, - PG_QUERY__TOKEN__LEVEL = 509, - PG_QUERY__TOKEN__LIKE = 510, - PG_QUERY__TOKEN__LIMIT = 511, - PG_QUERY__TOKEN__LISTEN = 512, - PG_QUERY__TOKEN__LOAD = 513, - PG_QUERY__TOKEN__LOCAL = 514, - PG_QUERY__TOKEN__LOCALTIME = 515, - PG_QUERY__TOKEN__LOCALTIMESTAMP = 516, - PG_QUERY__TOKEN__LOCATION = 517, - PG_QUERY__TOKEN__LOCK_P = 518, - PG_QUERY__TOKEN__LOCKED = 519, - PG_QUERY__TOKEN__LOGGED = 520, - PG_QUERY__TOKEN__MAPPING = 521, - PG_QUERY__TOKEN__MATCH = 522, - PG_QUERY__TOKEN__MATCHED = 523, - PG_QUERY__TOKEN__MATERIALIZED = 524, - PG_QUERY__TOKEN__MAXVALUE = 525, - PG_QUERY__TOKEN__MERGE = 526, - PG_QUERY__TOKEN__MERGE_ACTION = 527, - PG_QUERY__TOKEN__METHOD = 528, - PG_QUERY__TOKEN__MINUTE_P = 529, - PG_QUERY__TOKEN__MINVALUE = 530, - PG_QUERY__TOKEN__MODE = 531, - PG_QUERY__TOKEN__MONTH_P = 532, - PG_QUERY__TOKEN__MOVE = 533, - PG_QUERY__TOKEN__NAME_P = 534, - PG_QUERY__TOKEN__NAMES = 535, - PG_QUERY__TOKEN__NATIONAL = 536, - PG_QUERY__TOKEN__NATURAL = 537, - PG_QUERY__TOKEN__NCHAR = 538, - PG_QUERY__TOKEN__NESTED = 539, - PG_QUERY__TOKEN__NEW = 540, - PG_QUERY__TOKEN__NEXT = 541, - PG_QUERY__TOKEN__NFC = 542, - PG_QUERY__TOKEN__NFD = 543, - PG_QUERY__TOKEN__NFKC = 544, - PG_QUERY__TOKEN__NFKD = 545, - PG_QUERY__TOKEN__NO = 546, - PG_QUERY__TOKEN__NONE = 547, - PG_QUERY__TOKEN__NORMALIZE = 548, - PG_QUERY__TOKEN__NORMALIZED = 549, - PG_QUERY__TOKEN__NOT = 550, - PG_QUERY__TOKEN__NOTHING = 551, - PG_QUERY__TOKEN__NOTIFY = 552, - PG_QUERY__TOKEN__NOTNULL = 553, - PG_QUERY__TOKEN__NOWAIT = 554, - PG_QUERY__TOKEN__NULL_P = 555, - PG_QUERY__TOKEN__NULLIF = 556, - PG_QUERY__TOKEN__NULLS_P = 557, - PG_QUERY__TOKEN__NUMERIC = 558, - PG_QUERY__TOKEN__OBJECT_P = 559, - PG_QUERY__TOKEN__OBJECTS_P = 560, - PG_QUERY__TOKEN__OF = 561, - PG_QUERY__TOKEN__OFF = 562, - PG_QUERY__TOKEN__OFFSET = 563, - PG_QUERY__TOKEN__OIDS = 564, - PG_QUERY__TOKEN__OLD = 565, - PG_QUERY__TOKEN__OMIT = 566, - PG_QUERY__TOKEN__ON = 567, - PG_QUERY__TOKEN__ONLY = 568, - PG_QUERY__TOKEN__OPERATOR = 569, - PG_QUERY__TOKEN__OPTION = 570, - PG_QUERY__TOKEN__OPTIONS = 571, - PG_QUERY__TOKEN__OR = 572, - PG_QUERY__TOKEN__ORDER = 573, - PG_QUERY__TOKEN__ORDINALITY = 574, - PG_QUERY__TOKEN__OTHERS = 575, - PG_QUERY__TOKEN__OUT_P = 576, - PG_QUERY__TOKEN__OUTER_P = 577, - PG_QUERY__TOKEN__OVER = 578, - PG_QUERY__TOKEN__OVERLAPS = 579, - PG_QUERY__TOKEN__OVERLAY = 580, - PG_QUERY__TOKEN__OVERRIDING = 581, - PG_QUERY__TOKEN__OWNED = 582, - PG_QUERY__TOKEN__OWNER = 583, - PG_QUERY__TOKEN__PARALLEL = 584, - PG_QUERY__TOKEN__PARAMETER = 585, - PG_QUERY__TOKEN__PARSER = 586, - PG_QUERY__TOKEN__PARTIAL = 587, - PG_QUERY__TOKEN__PARTITION = 588, - PG_QUERY__TOKEN__PASSING = 589, - PG_QUERY__TOKEN__PASSWORD = 590, - PG_QUERY__TOKEN__PATH = 591, - PG_QUERY__TOKEN__PERIOD = 592, - PG_QUERY__TOKEN__PLACING = 593, - PG_QUERY__TOKEN__PLAN = 594, - PG_QUERY__TOKEN__PLANS = 595, - PG_QUERY__TOKEN__POLICY = 596, - PG_QUERY__TOKEN__POSITION = 597, - PG_QUERY__TOKEN__PRECEDING = 598, - PG_QUERY__TOKEN__PRECISION = 599, - PG_QUERY__TOKEN__PRESERVE = 600, - PG_QUERY__TOKEN__PREPARE = 601, - PG_QUERY__TOKEN__PREPARED = 602, - PG_QUERY__TOKEN__PRIMARY = 603, - PG_QUERY__TOKEN__PRIOR = 604, - PG_QUERY__TOKEN__PRIVILEGES = 605, - PG_QUERY__TOKEN__PROCEDURAL = 606, - PG_QUERY__TOKEN__PROCEDURE = 607, - PG_QUERY__TOKEN__PROCEDURES = 608, - PG_QUERY__TOKEN__PROGRAM = 609, - PG_QUERY__TOKEN__PUBLICATION = 610, - PG_QUERY__TOKEN__QUOTE = 611, - PG_QUERY__TOKEN__QUOTES = 612, - PG_QUERY__TOKEN__RANGE = 613, - PG_QUERY__TOKEN__READ = 614, - PG_QUERY__TOKEN__REAL = 615, - PG_QUERY__TOKEN__REASSIGN = 616, - PG_QUERY__TOKEN__RECURSIVE = 617, - PG_QUERY__TOKEN__REF_P = 618, - PG_QUERY__TOKEN__REFERENCES = 619, - PG_QUERY__TOKEN__REFERENCING = 620, - PG_QUERY__TOKEN__REFRESH = 621, - PG_QUERY__TOKEN__REINDEX = 622, - PG_QUERY__TOKEN__RELATIVE_P = 623, - PG_QUERY__TOKEN__RELEASE = 624, - PG_QUERY__TOKEN__RENAME = 625, - PG_QUERY__TOKEN__REPEATABLE = 626, - PG_QUERY__TOKEN__REPLACE = 627, - PG_QUERY__TOKEN__REPLICA = 628, - PG_QUERY__TOKEN__RESET = 629, - PG_QUERY__TOKEN__RESTART = 630, - PG_QUERY__TOKEN__RESTRICT = 631, - PG_QUERY__TOKEN__RETURN = 632, - PG_QUERY__TOKEN__RETURNING = 633, - PG_QUERY__TOKEN__RETURNS = 634, - PG_QUERY__TOKEN__REVOKE = 635, - PG_QUERY__TOKEN__RIGHT = 636, - PG_QUERY__TOKEN__ROLE = 637, - PG_QUERY__TOKEN__ROLLBACK = 638, - PG_QUERY__TOKEN__ROLLUP = 639, - PG_QUERY__TOKEN__ROUTINE = 640, - PG_QUERY__TOKEN__ROUTINES = 641, - PG_QUERY__TOKEN__ROW = 642, - PG_QUERY__TOKEN__ROWS = 643, - PG_QUERY__TOKEN__RULE = 644, - PG_QUERY__TOKEN__SAVEPOINT = 645, - PG_QUERY__TOKEN__SCALAR = 646, - PG_QUERY__TOKEN__SCHEMA = 647, - PG_QUERY__TOKEN__SCHEMAS = 648, - PG_QUERY__TOKEN__SCROLL = 649, - PG_QUERY__TOKEN__SEARCH = 650, - PG_QUERY__TOKEN__SECOND_P = 651, - PG_QUERY__TOKEN__SECURITY = 652, - PG_QUERY__TOKEN__SELECT = 653, - PG_QUERY__TOKEN__SEQUENCE = 654, - PG_QUERY__TOKEN__SEQUENCES = 655, - PG_QUERY__TOKEN__SERIALIZABLE = 656, - PG_QUERY__TOKEN__SERVER = 657, - PG_QUERY__TOKEN__SESSION = 658, - PG_QUERY__TOKEN__SESSION_USER = 659, - PG_QUERY__TOKEN__SET = 660, - PG_QUERY__TOKEN__SETS = 661, - PG_QUERY__TOKEN__SETOF = 662, - PG_QUERY__TOKEN__SHARE = 663, - PG_QUERY__TOKEN__SHOW = 664, - PG_QUERY__TOKEN__SIMILAR = 665, - PG_QUERY__TOKEN__SIMPLE = 666, - PG_QUERY__TOKEN__SKIP = 667, - PG_QUERY__TOKEN__SMALLINT = 668, - PG_QUERY__TOKEN__SNAPSHOT = 669, - PG_QUERY__TOKEN__SOME = 670, - PG_QUERY__TOKEN__SOURCE = 671, - PG_QUERY__TOKEN__SQL_P = 672, - PG_QUERY__TOKEN__STABLE = 673, - PG_QUERY__TOKEN__STANDALONE_P = 674, - PG_QUERY__TOKEN__START = 675, - PG_QUERY__TOKEN__STATEMENT = 676, - PG_QUERY__TOKEN__STATISTICS = 677, - PG_QUERY__TOKEN__STDIN = 678, - PG_QUERY__TOKEN__STDOUT = 679, - PG_QUERY__TOKEN__STORAGE = 680, - PG_QUERY__TOKEN__STORED = 681, - PG_QUERY__TOKEN__STRICT_P = 682, - PG_QUERY__TOKEN__STRING_P = 683, - PG_QUERY__TOKEN__STRIP_P = 684, - PG_QUERY__TOKEN__SUBSCRIPTION = 685, - PG_QUERY__TOKEN__SUBSTRING = 686, - PG_QUERY__TOKEN__SUPPORT = 687, - PG_QUERY__TOKEN__SYMMETRIC = 688, - PG_QUERY__TOKEN__SYSID = 689, - PG_QUERY__TOKEN__SYSTEM_P = 690, - PG_QUERY__TOKEN__SYSTEM_USER = 691, - PG_QUERY__TOKEN__TABLE = 692, - PG_QUERY__TOKEN__TABLES = 693, - PG_QUERY__TOKEN__TABLESAMPLE = 694, - PG_QUERY__TOKEN__TABLESPACE = 695, - PG_QUERY__TOKEN__TARGET = 696, - PG_QUERY__TOKEN__TEMP = 697, - PG_QUERY__TOKEN__TEMPLATE = 698, - PG_QUERY__TOKEN__TEMPORARY = 699, - PG_QUERY__TOKEN__TEXT_P = 700, - PG_QUERY__TOKEN__THEN = 701, - PG_QUERY__TOKEN__TIES = 702, - PG_QUERY__TOKEN__TIME = 703, - PG_QUERY__TOKEN__TIMESTAMP = 704, - PG_QUERY__TOKEN__TO = 705, - PG_QUERY__TOKEN__TRAILING = 706, - PG_QUERY__TOKEN__TRANSACTION = 707, - PG_QUERY__TOKEN__TRANSFORM = 708, - PG_QUERY__TOKEN__TREAT = 709, - PG_QUERY__TOKEN__TRIGGER = 710, - PG_QUERY__TOKEN__TRIM = 711, - PG_QUERY__TOKEN__TRUE_P = 712, - PG_QUERY__TOKEN__TRUNCATE = 713, - PG_QUERY__TOKEN__TRUSTED = 714, - PG_QUERY__TOKEN__TYPE_P = 715, - PG_QUERY__TOKEN__TYPES_P = 716, - PG_QUERY__TOKEN__UESCAPE = 717, - PG_QUERY__TOKEN__UNBOUNDED = 718, - PG_QUERY__TOKEN__UNCONDITIONAL = 719, - PG_QUERY__TOKEN__UNCOMMITTED = 720, - PG_QUERY__TOKEN__UNENCRYPTED = 721, - PG_QUERY__TOKEN__UNION = 722, - PG_QUERY__TOKEN__UNIQUE = 723, - PG_QUERY__TOKEN__UNKNOWN = 724, - PG_QUERY__TOKEN__UNLISTEN = 725, - PG_QUERY__TOKEN__UNLOGGED = 726, - PG_QUERY__TOKEN__UNTIL = 727, - PG_QUERY__TOKEN__UPDATE = 728, - PG_QUERY__TOKEN__USER = 729, - PG_QUERY__TOKEN__USING = 730, - PG_QUERY__TOKEN__VACUUM = 731, - PG_QUERY__TOKEN__VALID = 732, - PG_QUERY__TOKEN__VALIDATE = 733, - PG_QUERY__TOKEN__VALIDATOR = 734, - PG_QUERY__TOKEN__VALUE_P = 735, - PG_QUERY__TOKEN__VALUES = 736, - PG_QUERY__TOKEN__VARCHAR = 737, - PG_QUERY__TOKEN__VARIADIC = 738, - PG_QUERY__TOKEN__VARYING = 739, - PG_QUERY__TOKEN__VERBOSE = 740, - PG_QUERY__TOKEN__VERSION_P = 741, - PG_QUERY__TOKEN__VIEW = 742, - PG_QUERY__TOKEN__VIEWS = 743, - PG_QUERY__TOKEN__VIRTUAL = 744, - PG_QUERY__TOKEN__VOLATILE = 745, - PG_QUERY__TOKEN__WHEN = 746, - PG_QUERY__TOKEN__WHERE = 747, - PG_QUERY__TOKEN__WHITESPACE_P = 748, - PG_QUERY__TOKEN__WINDOW = 749, - PG_QUERY__TOKEN__WITH = 750, - PG_QUERY__TOKEN__WITHIN = 751, - PG_QUERY__TOKEN__WITHOUT = 752, - PG_QUERY__TOKEN__WORK = 753, - PG_QUERY__TOKEN__WRAPPER = 754, - PG_QUERY__TOKEN__WRITE = 755, - PG_QUERY__TOKEN__XML_P = 756, - PG_QUERY__TOKEN__XMLATTRIBUTES = 757, - PG_QUERY__TOKEN__XMLCONCAT = 758, - PG_QUERY__TOKEN__XMLELEMENT = 759, - PG_QUERY__TOKEN__XMLEXISTS = 760, - PG_QUERY__TOKEN__XMLFOREST = 761, - PG_QUERY__TOKEN__XMLNAMESPACES = 762, - PG_QUERY__TOKEN__XMLPARSE = 763, - PG_QUERY__TOKEN__XMLPI = 764, - PG_QUERY__TOKEN__XMLROOT = 765, - PG_QUERY__TOKEN__XMLSERIALIZE = 766, - PG_QUERY__TOKEN__XMLTABLE = 767, - PG_QUERY__TOKEN__YEAR_P = 768, - PG_QUERY__TOKEN__YES_P = 769, - PG_QUERY__TOKEN__ZONE = 770, - PG_QUERY__TOKEN__FORMAT_LA = 771, - PG_QUERY__TOKEN__NOT_LA = 772, - PG_QUERY__TOKEN__NULLS_LA = 773, - PG_QUERY__TOKEN__WITH_LA = 774, - PG_QUERY__TOKEN__WITHOUT_LA = 775, - PG_QUERY__TOKEN__MODE_TYPE_NAME = 776, - PG_QUERY__TOKEN__MODE_PLPGSQL_EXPR = 777, - PG_QUERY__TOKEN__MODE_PLPGSQL_ASSIGN1 = 778, - PG_QUERY__TOKEN__MODE_PLPGSQL_ASSIGN2 = 779, - PG_QUERY__TOKEN__MODE_PLPGSQL_ASSIGN3 = 780, - PG_QUERY__TOKEN__UMINUS = 781 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__TOKEN) -} PgQuery__Token; - -/* --- messages --- */ - -struct PgQuery__ParseResult -{ - ProtobufCMessage base; - int32_t version; - size_t n_stmts; - PgQuery__RawStmt **stmts; -}; -#define PG_QUERY__PARSE_RESULT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__parse_result__descriptor) \ -, 0, 0,NULL } - - -struct PgQuery__ScanResult -{ - ProtobufCMessage base; - int32_t version; - size_t n_tokens; - PgQuery__ScanToken **tokens; -}; -#define PG_QUERY__SCAN_RESULT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__scan_result__descriptor) \ -, 0, 0,NULL } - - -typedef enum { - PG_QUERY__NODE__NODE__NOT_SET = 0, - PG_QUERY__NODE__NODE_ALIAS = 1, - PG_QUERY__NODE__NODE_RANGE_VAR = 2, - PG_QUERY__NODE__NODE_TABLE_FUNC = 3, - PG_QUERY__NODE__NODE_INTO_CLAUSE = 4, - PG_QUERY__NODE__NODE_VAR = 5, - PG_QUERY__NODE__NODE_PARAM = 6, - PG_QUERY__NODE__NODE_AGGREF = 7, - PG_QUERY__NODE__NODE_GROUPING_FUNC = 8, - PG_QUERY__NODE__NODE_WINDOW_FUNC = 9, - PG_QUERY__NODE__NODE_WINDOW_FUNC_RUN_CONDITION = 10, - PG_QUERY__NODE__NODE_MERGE_SUPPORT_FUNC = 11, - PG_QUERY__NODE__NODE_SUBSCRIPTING_REF = 12, - PG_QUERY__NODE__NODE_FUNC_EXPR = 13, - PG_QUERY__NODE__NODE_NAMED_ARG_EXPR = 14, - PG_QUERY__NODE__NODE_OP_EXPR = 15, - PG_QUERY__NODE__NODE_DISTINCT_EXPR = 16, - PG_QUERY__NODE__NODE_NULL_IF_EXPR = 17, - PG_QUERY__NODE__NODE_SCALAR_ARRAY_OP_EXPR = 18, - PG_QUERY__NODE__NODE_BOOL_EXPR = 19, - PG_QUERY__NODE__NODE_SUB_LINK = 20, - PG_QUERY__NODE__NODE_SUB_PLAN = 21, - PG_QUERY__NODE__NODE_ALTERNATIVE_SUB_PLAN = 22, - PG_QUERY__NODE__NODE_FIELD_SELECT = 23, - PG_QUERY__NODE__NODE_FIELD_STORE = 24, - PG_QUERY__NODE__NODE_RELABEL_TYPE = 25, - PG_QUERY__NODE__NODE_COERCE_VIA_IO = 26, - PG_QUERY__NODE__NODE_ARRAY_COERCE_EXPR = 27, - PG_QUERY__NODE__NODE_CONVERT_ROWTYPE_EXPR = 28, - PG_QUERY__NODE__NODE_COLLATE_EXPR = 29, - PG_QUERY__NODE__NODE_CASE_EXPR = 30, - PG_QUERY__NODE__NODE_CASE_WHEN = 31, - PG_QUERY__NODE__NODE_CASE_TEST_EXPR = 32, - PG_QUERY__NODE__NODE_ARRAY_EXPR = 33, - PG_QUERY__NODE__NODE_ROW_EXPR = 34, - PG_QUERY__NODE__NODE_ROW_COMPARE_EXPR = 35, - PG_QUERY__NODE__NODE_COALESCE_EXPR = 36, - PG_QUERY__NODE__NODE_MIN_MAX_EXPR = 37, - PG_QUERY__NODE__NODE_SQLVALUE_FUNCTION = 38, - PG_QUERY__NODE__NODE_XML_EXPR = 39, - PG_QUERY__NODE__NODE_JSON_FORMAT = 40, - PG_QUERY__NODE__NODE_JSON_RETURNING = 41, - PG_QUERY__NODE__NODE_JSON_VALUE_EXPR = 42, - PG_QUERY__NODE__NODE_JSON_CONSTRUCTOR_EXPR = 43, - PG_QUERY__NODE__NODE_JSON_IS_PREDICATE = 44, - PG_QUERY__NODE__NODE_JSON_BEHAVIOR = 45, - PG_QUERY__NODE__NODE_JSON_EXPR = 46, - PG_QUERY__NODE__NODE_JSON_TABLE_PATH = 47, - PG_QUERY__NODE__NODE_JSON_TABLE_PATH_SCAN = 48, - PG_QUERY__NODE__NODE_JSON_TABLE_SIBLING_JOIN = 49, - PG_QUERY__NODE__NODE_NULL_TEST = 50, - PG_QUERY__NODE__NODE_BOOLEAN_TEST = 51, - PG_QUERY__NODE__NODE_MERGE_ACTION = 52, - PG_QUERY__NODE__NODE_COERCE_TO_DOMAIN = 53, - PG_QUERY__NODE__NODE_COERCE_TO_DOMAIN_VALUE = 54, - PG_QUERY__NODE__NODE_SET_TO_DEFAULT = 55, - PG_QUERY__NODE__NODE_CURRENT_OF_EXPR = 56, - PG_QUERY__NODE__NODE_NEXT_VALUE_EXPR = 57, - PG_QUERY__NODE__NODE_INFERENCE_ELEM = 58, - PG_QUERY__NODE__NODE_RETURNING_EXPR = 59, - PG_QUERY__NODE__NODE_TARGET_ENTRY = 60, - PG_QUERY__NODE__NODE_RANGE_TBL_REF = 61, - PG_QUERY__NODE__NODE_JOIN_EXPR = 62, - PG_QUERY__NODE__NODE_FROM_EXPR = 63, - PG_QUERY__NODE__NODE_ON_CONFLICT_EXPR = 64, - PG_QUERY__NODE__NODE_QUERY = 65, - PG_QUERY__NODE__NODE_TYPE_NAME = 66, - PG_QUERY__NODE__NODE_COLUMN_REF = 67, - PG_QUERY__NODE__NODE_PARAM_REF = 68, - PG_QUERY__NODE__NODE_A_EXPR = 69, - PG_QUERY__NODE__NODE_TYPE_CAST = 70, - PG_QUERY__NODE__NODE_COLLATE_CLAUSE = 71, - PG_QUERY__NODE__NODE_ROLE_SPEC = 72, - PG_QUERY__NODE__NODE_FUNC_CALL = 73, - PG_QUERY__NODE__NODE_A_STAR = 74, - PG_QUERY__NODE__NODE_A_INDICES = 75, - PG_QUERY__NODE__NODE_A_INDIRECTION = 76, - PG_QUERY__NODE__NODE_A_ARRAY_EXPR = 77, - PG_QUERY__NODE__NODE_RES_TARGET = 78, - PG_QUERY__NODE__NODE_MULTI_ASSIGN_REF = 79, - PG_QUERY__NODE__NODE_SORT_BY = 80, - PG_QUERY__NODE__NODE_WINDOW_DEF = 81, - PG_QUERY__NODE__NODE_RANGE_SUBSELECT = 82, - PG_QUERY__NODE__NODE_RANGE_FUNCTION = 83, - PG_QUERY__NODE__NODE_RANGE_TABLE_FUNC = 84, - PG_QUERY__NODE__NODE_RANGE_TABLE_FUNC_COL = 85, - PG_QUERY__NODE__NODE_RANGE_TABLE_SAMPLE = 86, - PG_QUERY__NODE__NODE_COLUMN_DEF = 87, - PG_QUERY__NODE__NODE_TABLE_LIKE_CLAUSE = 88, - PG_QUERY__NODE__NODE_INDEX_ELEM = 89, - PG_QUERY__NODE__NODE_DEF_ELEM = 90, - PG_QUERY__NODE__NODE_LOCKING_CLAUSE = 91, - PG_QUERY__NODE__NODE_XML_SERIALIZE = 92, - PG_QUERY__NODE__NODE_PARTITION_ELEM = 93, - PG_QUERY__NODE__NODE_PARTITION_SPEC = 94, - PG_QUERY__NODE__NODE_PARTITION_BOUND_SPEC = 95, - PG_QUERY__NODE__NODE_PARTITION_RANGE_DATUM = 96, - PG_QUERY__NODE__NODE_PARTITION_CMD = 97, - PG_QUERY__NODE__NODE_RANGE_TBL_ENTRY = 98, - PG_QUERY__NODE__NODE_RTEPERMISSION_INFO = 99, - PG_QUERY__NODE__NODE_RANGE_TBL_FUNCTION = 100, - PG_QUERY__NODE__NODE_TABLE_SAMPLE_CLAUSE = 101, - PG_QUERY__NODE__NODE_WITH_CHECK_OPTION = 102, - PG_QUERY__NODE__NODE_SORT_GROUP_CLAUSE = 103, - PG_QUERY__NODE__NODE_GROUPING_SET = 104, - PG_QUERY__NODE__NODE_WINDOW_CLAUSE = 105, - PG_QUERY__NODE__NODE_ROW_MARK_CLAUSE = 106, - PG_QUERY__NODE__NODE_WITH_CLAUSE = 107, - PG_QUERY__NODE__NODE_INFER_CLAUSE = 108, - PG_QUERY__NODE__NODE_ON_CONFLICT_CLAUSE = 109, - PG_QUERY__NODE__NODE_CTESEARCH_CLAUSE = 110, - PG_QUERY__NODE__NODE_CTECYCLE_CLAUSE = 111, - PG_QUERY__NODE__NODE_COMMON_TABLE_EXPR = 112, - PG_QUERY__NODE__NODE_MERGE_WHEN_CLAUSE = 113, - PG_QUERY__NODE__NODE_RETURNING_OPTION = 114, - PG_QUERY__NODE__NODE_RETURNING_CLAUSE = 115, - PG_QUERY__NODE__NODE_TRIGGER_TRANSITION = 116, - PG_QUERY__NODE__NODE_JSON_OUTPUT = 117, - PG_QUERY__NODE__NODE_JSON_ARGUMENT = 118, - PG_QUERY__NODE__NODE_JSON_FUNC_EXPR = 119, - PG_QUERY__NODE__NODE_JSON_TABLE_PATH_SPEC = 120, - PG_QUERY__NODE__NODE_JSON_TABLE = 121, - PG_QUERY__NODE__NODE_JSON_TABLE_COLUMN = 122, - PG_QUERY__NODE__NODE_JSON_KEY_VALUE = 123, - PG_QUERY__NODE__NODE_JSON_PARSE_EXPR = 124, - PG_QUERY__NODE__NODE_JSON_SCALAR_EXPR = 125, - PG_QUERY__NODE__NODE_JSON_SERIALIZE_EXPR = 126, - PG_QUERY__NODE__NODE_JSON_OBJECT_CONSTRUCTOR = 127, - PG_QUERY__NODE__NODE_JSON_ARRAY_CONSTRUCTOR = 128, - PG_QUERY__NODE__NODE_JSON_ARRAY_QUERY_CONSTRUCTOR = 129, - PG_QUERY__NODE__NODE_JSON_AGG_CONSTRUCTOR = 130, - PG_QUERY__NODE__NODE_JSON_OBJECT_AGG = 131, - PG_QUERY__NODE__NODE_JSON_ARRAY_AGG = 132, - PG_QUERY__NODE__NODE_RAW_STMT = 133, - PG_QUERY__NODE__NODE_INSERT_STMT = 134, - PG_QUERY__NODE__NODE_DELETE_STMT = 135, - PG_QUERY__NODE__NODE_UPDATE_STMT = 136, - PG_QUERY__NODE__NODE_MERGE_STMT = 137, - PG_QUERY__NODE__NODE_SELECT_STMT = 138, - PG_QUERY__NODE__NODE_SET_OPERATION_STMT = 139, - PG_QUERY__NODE__NODE_RETURN_STMT = 140, - PG_QUERY__NODE__NODE_PLASSIGN_STMT = 141, - PG_QUERY__NODE__NODE_CREATE_SCHEMA_STMT = 142, - PG_QUERY__NODE__NODE_ALTER_TABLE_STMT = 143, - PG_QUERY__NODE__NODE_ALTER_TABLE_CMD = 144, - PG_QUERY__NODE__NODE_ATALTER_CONSTRAINT = 145, - PG_QUERY__NODE__NODE_REPLICA_IDENTITY_STMT = 146, - PG_QUERY__NODE__NODE_ALTER_COLLATION_STMT = 147, - PG_QUERY__NODE__NODE_ALTER_DOMAIN_STMT = 148, - PG_QUERY__NODE__NODE_GRANT_STMT = 149, - PG_QUERY__NODE__NODE_OBJECT_WITH_ARGS = 150, - PG_QUERY__NODE__NODE_ACCESS_PRIV = 151, - PG_QUERY__NODE__NODE_GRANT_ROLE_STMT = 152, - PG_QUERY__NODE__NODE_ALTER_DEFAULT_PRIVILEGES_STMT = 153, - PG_QUERY__NODE__NODE_COPY_STMT = 154, - PG_QUERY__NODE__NODE_VARIABLE_SET_STMT = 155, - PG_QUERY__NODE__NODE_VARIABLE_SHOW_STMT = 156, - PG_QUERY__NODE__NODE_CREATE_STMT = 157, - PG_QUERY__NODE__NODE_CONSTRAINT = 158, - PG_QUERY__NODE__NODE_CREATE_TABLE_SPACE_STMT = 159, - PG_QUERY__NODE__NODE_DROP_TABLE_SPACE_STMT = 160, - PG_QUERY__NODE__NODE_ALTER_TABLE_SPACE_OPTIONS_STMT = 161, - PG_QUERY__NODE__NODE_ALTER_TABLE_MOVE_ALL_STMT = 162, - PG_QUERY__NODE__NODE_CREATE_EXTENSION_STMT = 163, - PG_QUERY__NODE__NODE_ALTER_EXTENSION_STMT = 164, - PG_QUERY__NODE__NODE_ALTER_EXTENSION_CONTENTS_STMT = 165, - PG_QUERY__NODE__NODE_CREATE_FDW_STMT = 166, - PG_QUERY__NODE__NODE_ALTER_FDW_STMT = 167, - PG_QUERY__NODE__NODE_CREATE_FOREIGN_SERVER_STMT = 168, - PG_QUERY__NODE__NODE_ALTER_FOREIGN_SERVER_STMT = 169, - PG_QUERY__NODE__NODE_CREATE_FOREIGN_TABLE_STMT = 170, - PG_QUERY__NODE__NODE_CREATE_USER_MAPPING_STMT = 171, - PG_QUERY__NODE__NODE_ALTER_USER_MAPPING_STMT = 172, - PG_QUERY__NODE__NODE_DROP_USER_MAPPING_STMT = 173, - PG_QUERY__NODE__NODE_IMPORT_FOREIGN_SCHEMA_STMT = 174, - PG_QUERY__NODE__NODE_CREATE_POLICY_STMT = 175, - PG_QUERY__NODE__NODE_ALTER_POLICY_STMT = 176, - PG_QUERY__NODE__NODE_CREATE_AM_STMT = 177, - PG_QUERY__NODE__NODE_CREATE_TRIG_STMT = 178, - PG_QUERY__NODE__NODE_CREATE_EVENT_TRIG_STMT = 179, - PG_QUERY__NODE__NODE_ALTER_EVENT_TRIG_STMT = 180, - PG_QUERY__NODE__NODE_CREATE_PLANG_STMT = 181, - PG_QUERY__NODE__NODE_CREATE_ROLE_STMT = 182, - PG_QUERY__NODE__NODE_ALTER_ROLE_STMT = 183, - PG_QUERY__NODE__NODE_ALTER_ROLE_SET_STMT = 184, - PG_QUERY__NODE__NODE_DROP_ROLE_STMT = 185, - PG_QUERY__NODE__NODE_CREATE_SEQ_STMT = 186, - PG_QUERY__NODE__NODE_ALTER_SEQ_STMT = 187, - PG_QUERY__NODE__NODE_DEFINE_STMT = 188, - PG_QUERY__NODE__NODE_CREATE_DOMAIN_STMT = 189, - PG_QUERY__NODE__NODE_CREATE_OP_CLASS_STMT = 190, - PG_QUERY__NODE__NODE_CREATE_OP_CLASS_ITEM = 191, - PG_QUERY__NODE__NODE_CREATE_OP_FAMILY_STMT = 192, - PG_QUERY__NODE__NODE_ALTER_OP_FAMILY_STMT = 193, - PG_QUERY__NODE__NODE_DROP_STMT = 194, - PG_QUERY__NODE__NODE_TRUNCATE_STMT = 195, - PG_QUERY__NODE__NODE_COMMENT_STMT = 196, - PG_QUERY__NODE__NODE_SEC_LABEL_STMT = 197, - PG_QUERY__NODE__NODE_DECLARE_CURSOR_STMT = 198, - PG_QUERY__NODE__NODE_CLOSE_PORTAL_STMT = 199, - PG_QUERY__NODE__NODE_FETCH_STMT = 200, - PG_QUERY__NODE__NODE_INDEX_STMT = 201, - PG_QUERY__NODE__NODE_CREATE_STATS_STMT = 202, - PG_QUERY__NODE__NODE_STATS_ELEM = 203, - PG_QUERY__NODE__NODE_ALTER_STATS_STMT = 204, - PG_QUERY__NODE__NODE_CREATE_FUNCTION_STMT = 205, - PG_QUERY__NODE__NODE_FUNCTION_PARAMETER = 206, - PG_QUERY__NODE__NODE_ALTER_FUNCTION_STMT = 207, - PG_QUERY__NODE__NODE_DO_STMT = 208, - PG_QUERY__NODE__NODE_INLINE_CODE_BLOCK = 209, - PG_QUERY__NODE__NODE_CALL_STMT = 210, - PG_QUERY__NODE__NODE_CALL_CONTEXT = 211, - PG_QUERY__NODE__NODE_RENAME_STMT = 212, - PG_QUERY__NODE__NODE_ALTER_OBJECT_DEPENDS_STMT = 213, - PG_QUERY__NODE__NODE_ALTER_OBJECT_SCHEMA_STMT = 214, - PG_QUERY__NODE__NODE_ALTER_OWNER_STMT = 215, - PG_QUERY__NODE__NODE_ALTER_OPERATOR_STMT = 216, - PG_QUERY__NODE__NODE_ALTER_TYPE_STMT = 217, - PG_QUERY__NODE__NODE_RULE_STMT = 218, - PG_QUERY__NODE__NODE_NOTIFY_STMT = 219, - PG_QUERY__NODE__NODE_LISTEN_STMT = 220, - PG_QUERY__NODE__NODE_UNLISTEN_STMT = 221, - PG_QUERY__NODE__NODE_TRANSACTION_STMT = 222, - PG_QUERY__NODE__NODE_COMPOSITE_TYPE_STMT = 223, - PG_QUERY__NODE__NODE_CREATE_ENUM_STMT = 224, - PG_QUERY__NODE__NODE_CREATE_RANGE_STMT = 225, - PG_QUERY__NODE__NODE_ALTER_ENUM_STMT = 226, - PG_QUERY__NODE__NODE_VIEW_STMT = 227, - PG_QUERY__NODE__NODE_LOAD_STMT = 228, - PG_QUERY__NODE__NODE_CREATEDB_STMT = 229, - PG_QUERY__NODE__NODE_ALTER_DATABASE_STMT = 230, - PG_QUERY__NODE__NODE_ALTER_DATABASE_REFRESH_COLL_STMT = 231, - PG_QUERY__NODE__NODE_ALTER_DATABASE_SET_STMT = 232, - PG_QUERY__NODE__NODE_DROPDB_STMT = 233, - PG_QUERY__NODE__NODE_ALTER_SYSTEM_STMT = 234, - PG_QUERY__NODE__NODE_CLUSTER_STMT = 235, - PG_QUERY__NODE__NODE_VACUUM_STMT = 236, - PG_QUERY__NODE__NODE_VACUUM_RELATION = 237, - PG_QUERY__NODE__NODE_EXPLAIN_STMT = 238, - PG_QUERY__NODE__NODE_CREATE_TABLE_AS_STMT = 239, - PG_QUERY__NODE__NODE_REFRESH_MAT_VIEW_STMT = 240, - PG_QUERY__NODE__NODE_CHECK_POINT_STMT = 241, - PG_QUERY__NODE__NODE_DISCARD_STMT = 242, - PG_QUERY__NODE__NODE_LOCK_STMT = 243, - PG_QUERY__NODE__NODE_CONSTRAINTS_SET_STMT = 244, - PG_QUERY__NODE__NODE_REINDEX_STMT = 245, - PG_QUERY__NODE__NODE_CREATE_CONVERSION_STMT = 246, - PG_QUERY__NODE__NODE_CREATE_CAST_STMT = 247, - PG_QUERY__NODE__NODE_CREATE_TRANSFORM_STMT = 248, - PG_QUERY__NODE__NODE_PREPARE_STMT = 249, - PG_QUERY__NODE__NODE_EXECUTE_STMT = 250, - PG_QUERY__NODE__NODE_DEALLOCATE_STMT = 251, - PG_QUERY__NODE__NODE_DROP_OWNED_STMT = 252, - PG_QUERY__NODE__NODE_REASSIGN_OWNED_STMT = 253, - PG_QUERY__NODE__NODE_ALTER_TSDICTIONARY_STMT = 254, - PG_QUERY__NODE__NODE_ALTER_TSCONFIGURATION_STMT = 255, - PG_QUERY__NODE__NODE_PUBLICATION_TABLE = 256, - PG_QUERY__NODE__NODE_PUBLICATION_OBJ_SPEC = 257, - PG_QUERY__NODE__NODE_CREATE_PUBLICATION_STMT = 258, - PG_QUERY__NODE__NODE_ALTER_PUBLICATION_STMT = 259, - PG_QUERY__NODE__NODE_CREATE_SUBSCRIPTION_STMT = 260, - PG_QUERY__NODE__NODE_ALTER_SUBSCRIPTION_STMT = 261, - PG_QUERY__NODE__NODE_DROP_SUBSCRIPTION_STMT = 262, - PG_QUERY__NODE__NODE_INTEGER = 263, - PG_QUERY__NODE__NODE_FLOAT = 264, - PG_QUERY__NODE__NODE_BOOLEAN = 265, - PG_QUERY__NODE__NODE_STRING = 266, - PG_QUERY__NODE__NODE_BIT_STRING = 267, - PG_QUERY__NODE__NODE_LIST = 268, - PG_QUERY__NODE__NODE_INT_LIST = 269, - PG_QUERY__NODE__NODE_OID_LIST = 270, - PG_QUERY__NODE__NODE_A_CONST = 271 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__NODE__NODE__CASE) -} PgQuery__Node__NodeCase; - -struct PgQuery__Node -{ - ProtobufCMessage base; - PgQuery__Node__NodeCase node_case; - union { - PgQuery__AArrayExpr *a_array_expr; - PgQuery__AConst *a_const; - PgQuery__AExpr *a_expr; - PgQuery__AIndices *a_indices; - PgQuery__AIndirection *a_indirection; - PgQuery__AStar *a_star; - PgQuery__AccessPriv *access_priv; - PgQuery__Aggref *aggref; - PgQuery__Alias *alias; - PgQuery__AlterCollationStmt *alter_collation_stmt; - PgQuery__AlterDatabaseRefreshCollStmt *alter_database_refresh_coll_stmt; - PgQuery__AlterDatabaseSetStmt *alter_database_set_stmt; - PgQuery__AlterDatabaseStmt *alter_database_stmt; - PgQuery__AlterDefaultPrivilegesStmt *alter_default_privileges_stmt; - PgQuery__AlterDomainStmt *alter_domain_stmt; - PgQuery__AlterEnumStmt *alter_enum_stmt; - PgQuery__AlterEventTrigStmt *alter_event_trig_stmt; - PgQuery__AlterExtensionContentsStmt *alter_extension_contents_stmt; - PgQuery__AlterExtensionStmt *alter_extension_stmt; - PgQuery__AlterFdwStmt *alter_fdw_stmt; - PgQuery__AlterForeignServerStmt *alter_foreign_server_stmt; - PgQuery__AlterFunctionStmt *alter_function_stmt; - PgQuery__AlterObjectDependsStmt *alter_object_depends_stmt; - PgQuery__AlterObjectSchemaStmt *alter_object_schema_stmt; - PgQuery__AlterOpFamilyStmt *alter_op_family_stmt; - PgQuery__AlterOperatorStmt *alter_operator_stmt; - PgQuery__AlterOwnerStmt *alter_owner_stmt; - PgQuery__AlterPolicyStmt *alter_policy_stmt; - PgQuery__AlterPublicationStmt *alter_publication_stmt; - PgQuery__AlterRoleSetStmt *alter_role_set_stmt; - PgQuery__AlterRoleStmt *alter_role_stmt; - PgQuery__AlterSeqStmt *alter_seq_stmt; - PgQuery__AlterStatsStmt *alter_stats_stmt; - PgQuery__AlterSubscriptionStmt *alter_subscription_stmt; - PgQuery__AlterSystemStmt *alter_system_stmt; - PgQuery__AlterTableCmd *alter_table_cmd; - PgQuery__AlterTableMoveAllStmt *alter_table_move_all_stmt; - PgQuery__AlterTableSpaceOptionsStmt *alter_table_space_options_stmt; - PgQuery__AlterTableStmt *alter_table_stmt; - PgQuery__AlterTSConfigurationStmt *alter_tsconfiguration_stmt; - PgQuery__AlterTSDictionaryStmt *alter_tsdictionary_stmt; - PgQuery__AlterTypeStmt *alter_type_stmt; - PgQuery__AlterUserMappingStmt *alter_user_mapping_stmt; - PgQuery__AlternativeSubPlan *alternative_sub_plan; - PgQuery__ArrayCoerceExpr *array_coerce_expr; - PgQuery__ArrayExpr *array_expr; - PgQuery__ATAlterConstraint *atalter_constraint; - PgQuery__BitString *bit_string; - PgQuery__BoolExpr *bool_expr; - PgQuery__Boolean *boolean; - PgQuery__BooleanTest *boolean_test; - PgQuery__CallContext *call_context; - PgQuery__CallStmt *call_stmt; - PgQuery__CaseExpr *case_expr; - PgQuery__CaseTestExpr *case_test_expr; - PgQuery__CaseWhen *case_when; - PgQuery__CheckPointStmt *check_point_stmt; - PgQuery__ClosePortalStmt *close_portal_stmt; - PgQuery__ClusterStmt *cluster_stmt; - PgQuery__CoalesceExpr *coalesce_expr; - PgQuery__CoerceToDomain *coerce_to_domain; - PgQuery__CoerceToDomainValue *coerce_to_domain_value; - PgQuery__CoerceViaIO *coerce_via_io; - PgQuery__CollateClause *collate_clause; - PgQuery__CollateExpr *collate_expr; - PgQuery__ColumnDef *column_def; - PgQuery__ColumnRef *column_ref; - PgQuery__CommentStmt *comment_stmt; - PgQuery__CommonTableExpr *common_table_expr; - PgQuery__CompositeTypeStmt *composite_type_stmt; - PgQuery__Constraint *constraint; - PgQuery__ConstraintsSetStmt *constraints_set_stmt; - PgQuery__ConvertRowtypeExpr *convert_rowtype_expr; - PgQuery__CopyStmt *copy_stmt; - PgQuery__CreateAmStmt *create_am_stmt; - PgQuery__CreateCastStmt *create_cast_stmt; - PgQuery__CreateConversionStmt *create_conversion_stmt; - PgQuery__CreateDomainStmt *create_domain_stmt; - PgQuery__CreateEnumStmt *create_enum_stmt; - PgQuery__CreateEventTrigStmt *create_event_trig_stmt; - PgQuery__CreateExtensionStmt *create_extension_stmt; - PgQuery__CreateFdwStmt *create_fdw_stmt; - PgQuery__CreateForeignServerStmt *create_foreign_server_stmt; - PgQuery__CreateForeignTableStmt *create_foreign_table_stmt; - PgQuery__CreateFunctionStmt *create_function_stmt; - PgQuery__CreateOpClassItem *create_op_class_item; - PgQuery__CreateOpClassStmt *create_op_class_stmt; - PgQuery__CreateOpFamilyStmt *create_op_family_stmt; - PgQuery__CreatePLangStmt *create_plang_stmt; - PgQuery__CreatePolicyStmt *create_policy_stmt; - PgQuery__CreatePublicationStmt *create_publication_stmt; - PgQuery__CreateRangeStmt *create_range_stmt; - PgQuery__CreateRoleStmt *create_role_stmt; - PgQuery__CreateSchemaStmt *create_schema_stmt; - PgQuery__CreateSeqStmt *create_seq_stmt; - PgQuery__CreateStatsStmt *create_stats_stmt; - PgQuery__CreateStmt *create_stmt; - PgQuery__CreateSubscriptionStmt *create_subscription_stmt; - PgQuery__CreateTableAsStmt *create_table_as_stmt; - PgQuery__CreateTableSpaceStmt *create_table_space_stmt; - PgQuery__CreateTransformStmt *create_transform_stmt; - PgQuery__CreateTrigStmt *create_trig_stmt; - PgQuery__CreateUserMappingStmt *create_user_mapping_stmt; - PgQuery__CreatedbStmt *createdb_stmt; - PgQuery__CTECycleClause *ctecycle_clause; - PgQuery__CTESearchClause *ctesearch_clause; - PgQuery__CurrentOfExpr *current_of_expr; - PgQuery__DeallocateStmt *deallocate_stmt; - PgQuery__DeclareCursorStmt *declare_cursor_stmt; - PgQuery__DefElem *def_elem; - PgQuery__DefineStmt *define_stmt; - PgQuery__DeleteStmt *delete_stmt; - PgQuery__DiscardStmt *discard_stmt; - PgQuery__DistinctExpr *distinct_expr; - PgQuery__DoStmt *do_stmt; - PgQuery__DropOwnedStmt *drop_owned_stmt; - PgQuery__DropRoleStmt *drop_role_stmt; - PgQuery__DropStmt *drop_stmt; - PgQuery__DropSubscriptionStmt *drop_subscription_stmt; - PgQuery__DropTableSpaceStmt *drop_table_space_stmt; - PgQuery__DropUserMappingStmt *drop_user_mapping_stmt; - PgQuery__DropdbStmt *dropdb_stmt; - PgQuery__ExecuteStmt *execute_stmt; - PgQuery__ExplainStmt *explain_stmt; - PgQuery__FetchStmt *fetch_stmt; - PgQuery__FieldSelect *field_select; - PgQuery__FieldStore *field_store; - PgQuery__Float *float_; - PgQuery__FromExpr *from_expr; - PgQuery__FuncCall *func_call; - PgQuery__FuncExpr *func_expr; - PgQuery__FunctionParameter *function_parameter; - PgQuery__GrantRoleStmt *grant_role_stmt; - PgQuery__GrantStmt *grant_stmt; - PgQuery__GroupingFunc *grouping_func; - PgQuery__GroupingSet *grouping_set; - PgQuery__ImportForeignSchemaStmt *import_foreign_schema_stmt; - PgQuery__IndexElem *index_elem; - PgQuery__IndexStmt *index_stmt; - PgQuery__InferClause *infer_clause; - PgQuery__InferenceElem *inference_elem; - PgQuery__InlineCodeBlock *inline_code_block; - PgQuery__InsertStmt *insert_stmt; - PgQuery__IntList *int_list; - PgQuery__Integer *integer; - PgQuery__IntoClause *into_clause; - PgQuery__JoinExpr *join_expr; - PgQuery__JsonAggConstructor *json_agg_constructor; - PgQuery__JsonArgument *json_argument; - PgQuery__JsonArrayAgg *json_array_agg; - PgQuery__JsonArrayConstructor *json_array_constructor; - PgQuery__JsonArrayQueryConstructor *json_array_query_constructor; - PgQuery__JsonBehavior *json_behavior; - PgQuery__JsonConstructorExpr *json_constructor_expr; - PgQuery__JsonExpr *json_expr; - PgQuery__JsonFormat *json_format; - PgQuery__JsonFuncExpr *json_func_expr; - PgQuery__JsonIsPredicate *json_is_predicate; - PgQuery__JsonKeyValue *json_key_value; - PgQuery__JsonObjectAgg *json_object_agg; - PgQuery__JsonObjectConstructor *json_object_constructor; - PgQuery__JsonOutput *json_output; - PgQuery__JsonParseExpr *json_parse_expr; - PgQuery__JsonReturning *json_returning; - PgQuery__JsonScalarExpr *json_scalar_expr; - PgQuery__JsonSerializeExpr *json_serialize_expr; - PgQuery__JsonTable *json_table; - PgQuery__JsonTableColumn *json_table_column; - PgQuery__JsonTablePath *json_table_path; - PgQuery__JsonTablePathScan *json_table_path_scan; - PgQuery__JsonTablePathSpec *json_table_path_spec; - PgQuery__JsonTableSiblingJoin *json_table_sibling_join; - PgQuery__JsonValueExpr *json_value_expr; - PgQuery__List *list; - PgQuery__ListenStmt *listen_stmt; - PgQuery__LoadStmt *load_stmt; - PgQuery__LockStmt *lock_stmt; - PgQuery__LockingClause *locking_clause; - PgQuery__MergeAction *merge_action; - PgQuery__MergeStmt *merge_stmt; - PgQuery__MergeSupportFunc *merge_support_func; - PgQuery__MergeWhenClause *merge_when_clause; - PgQuery__MinMaxExpr *min_max_expr; - PgQuery__MultiAssignRef *multi_assign_ref; - PgQuery__NamedArgExpr *named_arg_expr; - PgQuery__NextValueExpr *next_value_expr; - PgQuery__NotifyStmt *notify_stmt; - PgQuery__NullIfExpr *null_if_expr; - PgQuery__NullTest *null_test; - PgQuery__ObjectWithArgs *object_with_args; - PgQuery__OidList *oid_list; - PgQuery__OnConflictClause *on_conflict_clause; - PgQuery__OnConflictExpr *on_conflict_expr; - PgQuery__OpExpr *op_expr; - PgQuery__Param *param; - PgQuery__ParamRef *param_ref; - PgQuery__PartitionBoundSpec *partition_bound_spec; - PgQuery__PartitionCmd *partition_cmd; - PgQuery__PartitionElem *partition_elem; - PgQuery__PartitionRangeDatum *partition_range_datum; - PgQuery__PartitionSpec *partition_spec; - PgQuery__PLAssignStmt *plassign_stmt; - PgQuery__PrepareStmt *prepare_stmt; - PgQuery__PublicationObjSpec *publication_obj_spec; - PgQuery__PublicationTable *publication_table; - PgQuery__Query *query; - PgQuery__RangeFunction *range_function; - PgQuery__RangeSubselect *range_subselect; - PgQuery__RangeTableFunc *range_table_func; - PgQuery__RangeTableFuncCol *range_table_func_col; - PgQuery__RangeTableSample *range_table_sample; - PgQuery__RangeTblEntry *range_tbl_entry; - PgQuery__RangeTblFunction *range_tbl_function; - PgQuery__RangeTblRef *range_tbl_ref; - PgQuery__RangeVar *range_var; - PgQuery__RawStmt *raw_stmt; - PgQuery__ReassignOwnedStmt *reassign_owned_stmt; - PgQuery__RefreshMatViewStmt *refresh_mat_view_stmt; - PgQuery__ReindexStmt *reindex_stmt; - PgQuery__RelabelType *relabel_type; - PgQuery__RenameStmt *rename_stmt; - PgQuery__ReplicaIdentityStmt *replica_identity_stmt; - PgQuery__ResTarget *res_target; - PgQuery__ReturnStmt *return_stmt; - PgQuery__ReturningClause *returning_clause; - PgQuery__ReturningExpr *returning_expr; - PgQuery__ReturningOption *returning_option; - PgQuery__RoleSpec *role_spec; - PgQuery__RowCompareExpr *row_compare_expr; - PgQuery__RowExpr *row_expr; - PgQuery__RowMarkClause *row_mark_clause; - PgQuery__RTEPermissionInfo *rtepermission_info; - PgQuery__RuleStmt *rule_stmt; - PgQuery__ScalarArrayOpExpr *scalar_array_op_expr; - PgQuery__SecLabelStmt *sec_label_stmt; - PgQuery__SelectStmt *select_stmt; - PgQuery__SetOperationStmt *set_operation_stmt; - PgQuery__SetToDefault *set_to_default; - PgQuery__SortBy *sort_by; - PgQuery__SortGroupClause *sort_group_clause; - PgQuery__SQLValueFunction *sqlvalue_function; - PgQuery__StatsElem *stats_elem; - PgQuery__String *string; - PgQuery__SubLink *sub_link; - PgQuery__SubPlan *sub_plan; - PgQuery__SubscriptingRef *subscripting_ref; - PgQuery__TableFunc *table_func; - PgQuery__TableLikeClause *table_like_clause; - PgQuery__TableSampleClause *table_sample_clause; - PgQuery__TargetEntry *target_entry; - PgQuery__TransactionStmt *transaction_stmt; - PgQuery__TriggerTransition *trigger_transition; - PgQuery__TruncateStmt *truncate_stmt; - PgQuery__TypeCast *type_cast; - PgQuery__TypeName *type_name; - PgQuery__UnlistenStmt *unlisten_stmt; - PgQuery__UpdateStmt *update_stmt; - PgQuery__VacuumRelation *vacuum_relation; - PgQuery__VacuumStmt *vacuum_stmt; - PgQuery__Var *var; - PgQuery__VariableSetStmt *variable_set_stmt; - PgQuery__VariableShowStmt *variable_show_stmt; - PgQuery__ViewStmt *view_stmt; - PgQuery__WindowClause *window_clause; - PgQuery__WindowDef *window_def; - PgQuery__WindowFunc *window_func; - PgQuery__WindowFuncRunCondition *window_func_run_condition; - PgQuery__WithCheckOption *with_check_option; - PgQuery__WithClause *with_clause; - PgQuery__XmlExpr *xml_expr; - PgQuery__XmlSerialize *xml_serialize; - }; -}; -#define PG_QUERY__NODE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__node__descriptor) \ -, PG_QUERY__NODE__NODE__NOT_SET, {0} } - - -struct PgQuery__Integer -{ - ProtobufCMessage base; - /* - * machine integer - */ - int32_t ival; -}; -#define PG_QUERY__INTEGER__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__integer__descriptor) \ -, 0 } - - -struct PgQuery__Float -{ - ProtobufCMessage base; - /* - * string - */ - char *fval; -}; -#define PG_QUERY__FLOAT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__float__descriptor) \ -, (char *)protobuf_c_empty_string } - - -struct PgQuery__Boolean -{ - ProtobufCMessage base; - protobuf_c_boolean boolval; -}; -#define PG_QUERY__BOOLEAN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__boolean__descriptor) \ -, 0 } - - -struct PgQuery__String -{ - ProtobufCMessage base; - /* - * string - */ - char *sval; -}; -#define PG_QUERY__STRING__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__string__descriptor) \ -, (char *)protobuf_c_empty_string } - - -struct PgQuery__BitString -{ - ProtobufCMessage base; - /* - * string - */ - char *bsval; -}; -#define PG_QUERY__BIT_STRING__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__bit_string__descriptor) \ -, (char *)protobuf_c_empty_string } - - -struct PgQuery__List -{ - ProtobufCMessage base; - size_t n_items; - PgQuery__Node **items; -}; -#define PG_QUERY__LIST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__list__descriptor) \ -, 0,NULL } - - -struct PgQuery__OidList -{ - ProtobufCMessage base; - size_t n_items; - PgQuery__Node **items; -}; -#define PG_QUERY__OID_LIST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__oid_list__descriptor) \ -, 0,NULL } - - -struct PgQuery__IntList -{ - ProtobufCMessage base; - size_t n_items; - PgQuery__Node **items; -}; -#define PG_QUERY__INT_LIST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__int_list__descriptor) \ -, 0,NULL } - - -typedef enum { - PG_QUERY__A__CONST__VAL__NOT_SET = 0, - PG_QUERY__A__CONST__VAL_IVAL = 1, - PG_QUERY__A__CONST__VAL_FVAL = 2, - PG_QUERY__A__CONST__VAL_BOOLVAL = 3, - PG_QUERY__A__CONST__VAL_SVAL = 4, - PG_QUERY__A__CONST__VAL_BSVAL = 5 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(PG_QUERY__A__CONST__VAL__CASE) -} PgQuery__AConst__ValCase; - -struct PgQuery__AConst -{ - ProtobufCMessage base; - protobuf_c_boolean isnull; - int32_t location; - PgQuery__AConst__ValCase val_case; - union { - PgQuery__Boolean *boolval; - PgQuery__BitString *bsval; - PgQuery__Float *fval; - PgQuery__Integer *ival; - PgQuery__String *sval; - }; -}; -#define PG_QUERY__A__CONST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__a__const__descriptor) \ -, 0, 0, PG_QUERY__A__CONST__VAL__NOT_SET, {0} } - - -struct PgQuery__Alias -{ - ProtobufCMessage base; - char *aliasname; - size_t n_colnames; - PgQuery__Node **colnames; -}; -#define PG_QUERY__ALIAS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alias__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__RangeVar -{ - ProtobufCMessage base; - char *catalogname; - char *schemaname; - char *relname; - protobuf_c_boolean inh; - char *relpersistence; - PgQuery__Alias *alias; - int32_t location; -}; -#define PG_QUERY__RANGE_VAR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__range_var__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, (char *)protobuf_c_empty_string, NULL, 0 } - - -struct PgQuery__TableFunc -{ - ProtobufCMessage base; - PgQuery__TableFuncType functype; - size_t n_ns_uris; - PgQuery__Node **ns_uris; - size_t n_ns_names; - PgQuery__Node **ns_names; - PgQuery__Node *docexpr; - PgQuery__Node *rowexpr; - size_t n_colnames; - PgQuery__Node **colnames; - size_t n_coltypes; - PgQuery__Node **coltypes; - size_t n_coltypmods; - PgQuery__Node **coltypmods; - size_t n_colcollations; - PgQuery__Node **colcollations; - size_t n_colexprs; - PgQuery__Node **colexprs; - size_t n_coldefexprs; - PgQuery__Node **coldefexprs; - size_t n_colvalexprs; - PgQuery__Node **colvalexprs; - size_t n_passingvalexprs; - PgQuery__Node **passingvalexprs; - size_t n_notnulls; - uint64_t *notnulls; - PgQuery__Node *plan; - int32_t ordinalitycol; - int32_t location; -}; -#define PG_QUERY__TABLE_FUNC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__table_func__descriptor) \ -, PG_QUERY__TABLE_FUNC_TYPE__TABLE_FUNC_TYPE_UNDEFINED, 0,NULL, 0,NULL, NULL, NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, NULL, 0, 0 } - - -struct PgQuery__IntoClause -{ - ProtobufCMessage base; - PgQuery__RangeVar *rel; - size_t n_col_names; - PgQuery__Node **col_names; - char *access_method; - size_t n_options; - PgQuery__Node **options; - PgQuery__OnCommitAction on_commit; - char *table_space_name; - PgQuery__Query *view_query; - protobuf_c_boolean skip_data; -}; -#define PG_QUERY__INTO_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__into_clause__descriptor) \ -, NULL, 0,NULL, (char *)protobuf_c_empty_string, 0,NULL, PG_QUERY__ON_COMMIT_ACTION__ON_COMMIT_ACTION_UNDEFINED, (char *)protobuf_c_empty_string, NULL, 0 } - - -struct PgQuery__Var -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - int32_t varno; - int32_t varattno; - uint32_t vartype; - int32_t vartypmod; - uint32_t varcollid; - size_t n_varnullingrels; - uint64_t *varnullingrels; - uint32_t varlevelsup; - PgQuery__VarReturningType varreturningtype; - int32_t location; -}; -#define PG_QUERY__VAR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__var__descriptor) \ -, NULL, 0, 0, 0, 0, 0, 0,NULL, 0, PG_QUERY__VAR_RETURNING_TYPE__VAR_RETURNING_TYPE_UNDEFINED, 0 } - - -struct PgQuery__Param -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__ParamKind paramkind; - int32_t paramid; - uint32_t paramtype; - int32_t paramtypmod; - uint32_t paramcollid; - int32_t location; -}; -#define PG_QUERY__PARAM__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__param__descriptor) \ -, NULL, PG_QUERY__PARAM_KIND__PARAM_KIND_UNDEFINED, 0, 0, 0, 0, 0 } - - -struct PgQuery__Aggref -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t aggfnoid; - uint32_t aggtype; - uint32_t aggcollid; - uint32_t inputcollid; - size_t n_aggargtypes; - PgQuery__Node **aggargtypes; - size_t n_aggdirectargs; - PgQuery__Node **aggdirectargs; - size_t n_args; - PgQuery__Node **args; - size_t n_aggorder; - PgQuery__Node **aggorder; - size_t n_aggdistinct; - PgQuery__Node **aggdistinct; - PgQuery__Node *aggfilter; - protobuf_c_boolean aggstar; - protobuf_c_boolean aggvariadic; - char *aggkind; - uint32_t agglevelsup; - PgQuery__AggSplit aggsplit; - int32_t aggno; - int32_t aggtransno; - int32_t location; -}; -#define PG_QUERY__AGGREF__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__aggref__descriptor) \ -, NULL, 0, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, NULL, 0, 0, (char *)protobuf_c_empty_string, 0, PG_QUERY__AGG_SPLIT__AGG_SPLIT_UNDEFINED, 0, 0, 0 } - - -struct PgQuery__GroupingFunc -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - size_t n_args; - PgQuery__Node **args; - size_t n_refs; - PgQuery__Node **refs; - uint32_t agglevelsup; - int32_t location; -}; -#define PG_QUERY__GROUPING_FUNC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__grouping_func__descriptor) \ -, NULL, 0,NULL, 0,NULL, 0, 0 } - - -struct PgQuery__WindowFunc -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t winfnoid; - uint32_t wintype; - uint32_t wincollid; - uint32_t inputcollid; - size_t n_args; - PgQuery__Node **args; - PgQuery__Node *aggfilter; - size_t n_run_condition; - PgQuery__Node **run_condition; - uint32_t winref; - protobuf_c_boolean winstar; - protobuf_c_boolean winagg; - int32_t location; -}; -#define PG_QUERY__WINDOW_FUNC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__window_func__descriptor) \ -, NULL, 0, 0, 0, 0, 0,NULL, NULL, 0,NULL, 0, 0, 0, 0 } - - -struct PgQuery__WindowFuncRunCondition -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t opno; - uint32_t inputcollid; - protobuf_c_boolean wfunc_left; - PgQuery__Node *arg; -}; -#define PG_QUERY__WINDOW_FUNC_RUN_CONDITION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__window_func_run_condition__descriptor) \ -, NULL, 0, 0, 0, NULL } - - -struct PgQuery__MergeSupportFunc -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t msftype; - uint32_t msfcollid; - int32_t location; -}; -#define PG_QUERY__MERGE_SUPPORT_FUNC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__merge_support_func__descriptor) \ -, NULL, 0, 0, 0 } - - -struct PgQuery__SubscriptingRef -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t refcontainertype; - uint32_t refelemtype; - uint32_t refrestype; - int32_t reftypmod; - uint32_t refcollid; - size_t n_refupperindexpr; - PgQuery__Node **refupperindexpr; - size_t n_reflowerindexpr; - PgQuery__Node **reflowerindexpr; - PgQuery__Node *refexpr; - PgQuery__Node *refassgnexpr; -}; -#define PG_QUERY__SUBSCRIPTING_REF__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__subscripting_ref__descriptor) \ -, NULL, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, NULL, NULL } - - -struct PgQuery__FuncExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t funcid; - uint32_t funcresulttype; - protobuf_c_boolean funcretset; - protobuf_c_boolean funcvariadic; - PgQuery__CoercionForm funcformat; - uint32_t funccollid; - uint32_t inputcollid; - size_t n_args; - PgQuery__Node **args; - int32_t location; -}; -#define PG_QUERY__FUNC_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__func_expr__descriptor) \ -, NULL, 0, 0, 0, 0, PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED, 0, 0, 0,NULL, 0 } - - -struct PgQuery__NamedArgExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - char *name; - int32_t argnumber; - int32_t location; -}; -#define PG_QUERY__NAMED_ARG_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__named_arg_expr__descriptor) \ -, NULL, NULL, (char *)protobuf_c_empty_string, 0, 0 } - - -struct PgQuery__OpExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t opno; - uint32_t opresulttype; - protobuf_c_boolean opretset; - uint32_t opcollid; - uint32_t inputcollid; - size_t n_args; - PgQuery__Node **args; - int32_t location; -}; -#define PG_QUERY__OP_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__op_expr__descriptor) \ -, NULL, 0, 0, 0, 0, 0, 0,NULL, 0 } - - -struct PgQuery__DistinctExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t opno; - uint32_t opresulttype; - protobuf_c_boolean opretset; - uint32_t opcollid; - uint32_t inputcollid; - size_t n_args; - PgQuery__Node **args; - int32_t location; -}; -#define PG_QUERY__DISTINCT_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__distinct_expr__descriptor) \ -, NULL, 0, 0, 0, 0, 0, 0,NULL, 0 } - - -struct PgQuery__NullIfExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t opno; - uint32_t opresulttype; - protobuf_c_boolean opretset; - uint32_t opcollid; - uint32_t inputcollid; - size_t n_args; - PgQuery__Node **args; - int32_t location; -}; -#define PG_QUERY__NULL_IF_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__null_if_expr__descriptor) \ -, NULL, 0, 0, 0, 0, 0, 0,NULL, 0 } - - -struct PgQuery__ScalarArrayOpExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t opno; - protobuf_c_boolean use_or; - uint32_t inputcollid; - size_t n_args; - PgQuery__Node **args; - int32_t location; -}; -#define PG_QUERY__SCALAR_ARRAY_OP_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__scalar_array_op_expr__descriptor) \ -, NULL, 0, 0, 0, 0,NULL, 0 } - - -struct PgQuery__BoolExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__BoolExprType boolop; - size_t n_args; - PgQuery__Node **args; - int32_t location; -}; -#define PG_QUERY__BOOL_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__bool_expr__descriptor) \ -, NULL, PG_QUERY__BOOL_EXPR_TYPE__BOOL_EXPR_TYPE_UNDEFINED, 0,NULL, 0 } - - -struct PgQuery__SubLink -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__SubLinkType sub_link_type; - int32_t sub_link_id; - PgQuery__Node *testexpr; - size_t n_oper_name; - PgQuery__Node **oper_name; - PgQuery__Node *subselect; - int32_t location; -}; -#define PG_QUERY__SUB_LINK__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__sub_link__descriptor) \ -, NULL, PG_QUERY__SUB_LINK_TYPE__SUB_LINK_TYPE_UNDEFINED, 0, NULL, 0,NULL, NULL, 0 } - - -struct PgQuery__SubPlan -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__SubLinkType sub_link_type; - PgQuery__Node *testexpr; - size_t n_param_ids; - PgQuery__Node **param_ids; - int32_t plan_id; - char *plan_name; - uint32_t first_col_type; - int32_t first_col_typmod; - uint32_t first_col_collation; - protobuf_c_boolean use_hash_table; - protobuf_c_boolean unknown_eq_false; - protobuf_c_boolean parallel_safe; - size_t n_set_param; - PgQuery__Node **set_param; - size_t n_par_param; - PgQuery__Node **par_param; - size_t n_args; - PgQuery__Node **args; - double startup_cost; - double per_call_cost; -}; -#define PG_QUERY__SUB_PLAN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__sub_plan__descriptor) \ -, NULL, PG_QUERY__SUB_LINK_TYPE__SUB_LINK_TYPE_UNDEFINED, NULL, 0,NULL, 0, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0, 0 } - - -struct PgQuery__AlternativeSubPlan -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - size_t n_subplans; - PgQuery__Node **subplans; -}; -#define PG_QUERY__ALTERNATIVE_SUB_PLAN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alternative_sub_plan__descriptor) \ -, NULL, 0,NULL } - - -struct PgQuery__FieldSelect -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - int32_t fieldnum; - uint32_t resulttype; - int32_t resulttypmod; - uint32_t resultcollid; -}; -#define PG_QUERY__FIELD_SELECT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__field_select__descriptor) \ -, NULL, NULL, 0, 0, 0, 0 } - - -struct PgQuery__FieldStore -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - size_t n_newvals; - PgQuery__Node **newvals; - size_t n_fieldnums; - PgQuery__Node **fieldnums; - uint32_t resulttype; -}; -#define PG_QUERY__FIELD_STORE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__field_store__descriptor) \ -, NULL, NULL, 0,NULL, 0,NULL, 0 } - - -struct PgQuery__RelabelType -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - uint32_t resulttype; - int32_t resulttypmod; - uint32_t resultcollid; - PgQuery__CoercionForm relabelformat; - int32_t location; -}; -#define PG_QUERY__RELABEL_TYPE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__relabel_type__descriptor) \ -, NULL, NULL, 0, 0, 0, PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED, 0 } - - -struct PgQuery__CoerceViaIO -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - uint32_t resulttype; - uint32_t resultcollid; - PgQuery__CoercionForm coerceformat; - int32_t location; -}; -#define PG_QUERY__COERCE_VIA_IO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__coerce_via_io__descriptor) \ -, NULL, NULL, 0, 0, PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED, 0 } - - -struct PgQuery__ArrayCoerceExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - PgQuery__Node *elemexpr; - uint32_t resulttype; - int32_t resulttypmod; - uint32_t resultcollid; - PgQuery__CoercionForm coerceformat; - int32_t location; -}; -#define PG_QUERY__ARRAY_COERCE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__array_coerce_expr__descriptor) \ -, NULL, NULL, NULL, 0, 0, 0, PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED, 0 } - - -struct PgQuery__ConvertRowtypeExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - uint32_t resulttype; - PgQuery__CoercionForm convertformat; - int32_t location; -}; -#define PG_QUERY__CONVERT_ROWTYPE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__convert_rowtype_expr__descriptor) \ -, NULL, NULL, 0, PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED, 0 } - - -struct PgQuery__CollateExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - uint32_t coll_oid; - int32_t location; -}; -#define PG_QUERY__COLLATE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__collate_expr__descriptor) \ -, NULL, NULL, 0, 0 } - - -struct PgQuery__CaseExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t casetype; - uint32_t casecollid; - PgQuery__Node *arg; - size_t n_args; - PgQuery__Node **args; - PgQuery__Node *defresult; - int32_t location; -}; -#define PG_QUERY__CASE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__case_expr__descriptor) \ -, NULL, 0, 0, NULL, 0,NULL, NULL, 0 } - - -struct PgQuery__CaseWhen -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *expr; - PgQuery__Node *result; - int32_t location; -}; -#define PG_QUERY__CASE_WHEN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__case_when__descriptor) \ -, NULL, NULL, NULL, 0 } - - -struct PgQuery__CaseTestExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t type_id; - int32_t type_mod; - uint32_t collation; -}; -#define PG_QUERY__CASE_TEST_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__case_test_expr__descriptor) \ -, NULL, 0, 0, 0 } - - -struct PgQuery__ArrayExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t array_typeid; - uint32_t array_collid; - uint32_t element_typeid; - size_t n_elements; - PgQuery__Node **elements; - protobuf_c_boolean multidims; - int32_t list_start; - int32_t list_end; - int32_t location; -}; -#define PG_QUERY__ARRAY_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__array_expr__descriptor) \ -, NULL, 0, 0, 0, 0,NULL, 0, 0, 0, 0 } - - -struct PgQuery__RowExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - size_t n_args; - PgQuery__Node **args; - uint32_t row_typeid; - PgQuery__CoercionForm row_format; - size_t n_colnames; - PgQuery__Node **colnames; - int32_t location; -}; -#define PG_QUERY__ROW_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__row_expr__descriptor) \ -, NULL, 0,NULL, 0, PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED, 0,NULL, 0 } - - -struct PgQuery__RowCompareExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__CompareType cmptype; - size_t n_opnos; - PgQuery__Node **opnos; - size_t n_opfamilies; - PgQuery__Node **opfamilies; - size_t n_inputcollids; - PgQuery__Node **inputcollids; - size_t n_largs; - PgQuery__Node **largs; - size_t n_rargs; - PgQuery__Node **rargs; -}; -#define PG_QUERY__ROW_COMPARE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__row_compare_expr__descriptor) \ -, NULL, PG_QUERY__COMPARE_TYPE__COMPARE_TYPE_UNDEFINED, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL } - - -struct PgQuery__CoalesceExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t coalescetype; - uint32_t coalescecollid; - size_t n_args; - PgQuery__Node **args; - int32_t location; -}; -#define PG_QUERY__COALESCE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__coalesce_expr__descriptor) \ -, NULL, 0, 0, 0,NULL, 0 } - - -struct PgQuery__MinMaxExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t minmaxtype; - uint32_t minmaxcollid; - uint32_t inputcollid; - PgQuery__MinMaxOp op; - size_t n_args; - PgQuery__Node **args; - int32_t location; -}; -#define PG_QUERY__MIN_MAX_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__min_max_expr__descriptor) \ -, NULL, 0, 0, 0, PG_QUERY__MIN_MAX_OP__MIN_MAX_OP_UNDEFINED, 0,NULL, 0 } - - -struct PgQuery__SQLValueFunction -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__SQLValueFunctionOp op; - uint32_t type; - int32_t typmod; - int32_t location; -}; -#define PG_QUERY__SQLVALUE_FUNCTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__sqlvalue_function__descriptor) \ -, NULL, PG_QUERY__SQLVALUE_FUNCTION_OP__SQLVALUE_FUNCTION_OP_UNDEFINED, 0, 0, 0 } - - -struct PgQuery__XmlExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__XmlExprOp op; - char *name; - size_t n_named_args; - PgQuery__Node **named_args; - size_t n_arg_names; - PgQuery__Node **arg_names; - size_t n_args; - PgQuery__Node **args; - PgQuery__XmlOptionType xmloption; - protobuf_c_boolean indent; - uint32_t type; - int32_t typmod; - int32_t location; -}; -#define PG_QUERY__XML_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__xml_expr__descriptor) \ -, NULL, PG_QUERY__XML_EXPR_OP__XML_EXPR_OP_UNDEFINED, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0,NULL, PG_QUERY__XML_OPTION_TYPE__XML_OPTION_TYPE_UNDEFINED, 0, 0, 0, 0 } - - -struct PgQuery__JsonFormat -{ - ProtobufCMessage base; - PgQuery__JsonFormatType format_type; - PgQuery__JsonEncoding encoding; - int32_t location; -}; -#define PG_QUERY__JSON_FORMAT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_format__descriptor) \ -, PG_QUERY__JSON_FORMAT_TYPE__JSON_FORMAT_TYPE_UNDEFINED, PG_QUERY__JSON_ENCODING__JSON_ENCODING_UNDEFINED, 0 } - - -struct PgQuery__JsonReturning -{ - ProtobufCMessage base; - PgQuery__JsonFormat *format; - uint32_t typid; - int32_t typmod; -}; -#define PG_QUERY__JSON_RETURNING__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_returning__descriptor) \ -, NULL, 0, 0 } - - -struct PgQuery__JsonValueExpr -{ - ProtobufCMessage base; - PgQuery__Node *raw_expr; - PgQuery__Node *formatted_expr; - PgQuery__JsonFormat *format; -}; -#define PG_QUERY__JSON_VALUE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_value_expr__descriptor) \ -, NULL, NULL, NULL } - - -struct PgQuery__JsonConstructorExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__JsonConstructorType type; - size_t n_args; - PgQuery__Node **args; - PgQuery__Node *func; - PgQuery__Node *coercion; - PgQuery__JsonReturning *returning; - protobuf_c_boolean absent_on_null; - protobuf_c_boolean unique; - int32_t location; -}; -#define PG_QUERY__JSON_CONSTRUCTOR_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_constructor_expr__descriptor) \ -, NULL, PG_QUERY__JSON_CONSTRUCTOR_TYPE__JSON_CONSTRUCTOR_TYPE_UNDEFINED, 0,NULL, NULL, NULL, NULL, 0, 0, 0 } - - -struct PgQuery__JsonIsPredicate -{ - ProtobufCMessage base; - PgQuery__Node *expr; - PgQuery__JsonFormat *format; - PgQuery__JsonValueType item_type; - protobuf_c_boolean unique_keys; - int32_t location; -}; -#define PG_QUERY__JSON_IS_PREDICATE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_is_predicate__descriptor) \ -, NULL, NULL, PG_QUERY__JSON_VALUE_TYPE__JSON_VALUE_TYPE_UNDEFINED, 0, 0 } - - -struct PgQuery__JsonBehavior -{ - ProtobufCMessage base; - PgQuery__JsonBehaviorType btype; - PgQuery__Node *expr; - protobuf_c_boolean coerce; - int32_t location; -}; -#define PG_QUERY__JSON_BEHAVIOR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_behavior__descriptor) \ -, PG_QUERY__JSON_BEHAVIOR_TYPE__JSON_BEHAVIOR_TYPE_UNDEFINED, NULL, 0, 0 } - - -struct PgQuery__JsonExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__JsonExprOp op; - char *column_name; - PgQuery__Node *formatted_expr; - PgQuery__JsonFormat *format; - PgQuery__Node *path_spec; - PgQuery__JsonReturning *returning; - size_t n_passing_names; - PgQuery__Node **passing_names; - size_t n_passing_values; - PgQuery__Node **passing_values; - PgQuery__JsonBehavior *on_empty; - PgQuery__JsonBehavior *on_error; - protobuf_c_boolean use_io_coercion; - protobuf_c_boolean use_json_coercion; - PgQuery__JsonWrapper wrapper; - protobuf_c_boolean omit_quotes; - uint32_t collation; - int32_t location; -}; -#define PG_QUERY__JSON_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_expr__descriptor) \ -, NULL, PG_QUERY__JSON_EXPR_OP__JSON_EXPR_OP_UNDEFINED, (char *)protobuf_c_empty_string, NULL, NULL, NULL, NULL, 0,NULL, 0,NULL, NULL, NULL, 0, 0, PG_QUERY__JSON_WRAPPER__JSON_WRAPPER_UNDEFINED, 0, 0, 0 } - - -struct PgQuery__JsonTablePath -{ - ProtobufCMessage base; - char *name; -}; -#define PG_QUERY__JSON_TABLE_PATH__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_table_path__descriptor) \ -, (char *)protobuf_c_empty_string } - - -struct PgQuery__JsonTablePathScan -{ - ProtobufCMessage base; - PgQuery__Node *plan; - PgQuery__JsonTablePath *path; - protobuf_c_boolean error_on_error; - PgQuery__Node *child; - int32_t col_min; - int32_t col_max; -}; -#define PG_QUERY__JSON_TABLE_PATH_SCAN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_table_path_scan__descriptor) \ -, NULL, NULL, 0, NULL, 0, 0 } - - -struct PgQuery__JsonTableSiblingJoin -{ - ProtobufCMessage base; - PgQuery__Node *plan; - PgQuery__Node *lplan; - PgQuery__Node *rplan; -}; -#define PG_QUERY__JSON_TABLE_SIBLING_JOIN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_table_sibling_join__descriptor) \ -, NULL, NULL, NULL } - - -struct PgQuery__NullTest -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - PgQuery__NullTestType nulltesttype; - protobuf_c_boolean argisrow; - int32_t location; -}; -#define PG_QUERY__NULL_TEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__null_test__descriptor) \ -, NULL, NULL, PG_QUERY__NULL_TEST_TYPE__NULL_TEST_TYPE_UNDEFINED, 0, 0 } - - -struct PgQuery__BooleanTest -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - PgQuery__BoolTestType booltesttype; - int32_t location; -}; -#define PG_QUERY__BOOLEAN_TEST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__boolean_test__descriptor) \ -, NULL, NULL, PG_QUERY__BOOL_TEST_TYPE__BOOL_TEST_TYPE_UNDEFINED, 0 } - - -struct PgQuery__MergeAction -{ - ProtobufCMessage base; - PgQuery__MergeMatchKind match_kind; - PgQuery__CmdType command_type; - PgQuery__OverridingKind override; - PgQuery__Node *qual; - size_t n_target_list; - PgQuery__Node **target_list; - size_t n_update_colnos; - PgQuery__Node **update_colnos; -}; -#define PG_QUERY__MERGE_ACTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__merge_action__descriptor) \ -, PG_QUERY__MERGE_MATCH_KIND__MERGE_MATCH_KIND_UNDEFINED, PG_QUERY__CMD_TYPE__CMD_TYPE_UNDEFINED, PG_QUERY__OVERRIDING_KIND__OVERRIDING_KIND_UNDEFINED, NULL, 0,NULL, 0,NULL } - - -struct PgQuery__CoerceToDomain -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *arg; - uint32_t resulttype; - int32_t resulttypmod; - uint32_t resultcollid; - PgQuery__CoercionForm coercionformat; - int32_t location; -}; -#define PG_QUERY__COERCE_TO_DOMAIN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__coerce_to_domain__descriptor) \ -, NULL, NULL, 0, 0, 0, PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED, 0 } - - -struct PgQuery__CoerceToDomainValue -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t type_id; - int32_t type_mod; - uint32_t collation; - int32_t location; -}; -#define PG_QUERY__COERCE_TO_DOMAIN_VALUE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__coerce_to_domain_value__descriptor) \ -, NULL, 0, 0, 0, 0 } - - -struct PgQuery__SetToDefault -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t type_id; - int32_t type_mod; - uint32_t collation; - int32_t location; -}; -#define PG_QUERY__SET_TO_DEFAULT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__set_to_default__descriptor) \ -, NULL, 0, 0, 0, 0 } - - -struct PgQuery__CurrentOfExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t cvarno; - char *cursor_name; - int32_t cursor_param; -}; -#define PG_QUERY__CURRENT_OF_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__current_of_expr__descriptor) \ -, NULL, 0, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__NextValueExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - uint32_t seqid; - uint32_t type_id; -}; -#define PG_QUERY__NEXT_VALUE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__next_value_expr__descriptor) \ -, NULL, 0, 0 } - - -struct PgQuery__InferenceElem -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *expr; - uint32_t infercollid; - uint32_t inferopclass; -}; -#define PG_QUERY__INFERENCE_ELEM__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__inference_elem__descriptor) \ -, NULL, NULL, 0, 0 } - - -struct PgQuery__ReturningExpr -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - int32_t retlevelsup; - protobuf_c_boolean retold; - PgQuery__Node *retexpr; -}; -#define PG_QUERY__RETURNING_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__returning_expr__descriptor) \ -, NULL, 0, 0, NULL } - - -struct PgQuery__TargetEntry -{ - ProtobufCMessage base; - PgQuery__Node *xpr; - PgQuery__Node *expr; - int32_t resno; - char *resname; - uint32_t ressortgroupref; - uint32_t resorigtbl; - int32_t resorigcol; - protobuf_c_boolean resjunk; -}; -#define PG_QUERY__TARGET_ENTRY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__target_entry__descriptor) \ -, NULL, NULL, 0, (char *)protobuf_c_empty_string, 0, 0, 0, 0 } - - -struct PgQuery__RangeTblRef -{ - ProtobufCMessage base; - int32_t rtindex; -}; -#define PG_QUERY__RANGE_TBL_REF__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__range_tbl_ref__descriptor) \ -, 0 } - - -struct PgQuery__JoinExpr -{ - ProtobufCMessage base; - PgQuery__JoinType jointype; - protobuf_c_boolean is_natural; - PgQuery__Node *larg; - PgQuery__Node *rarg; - size_t n_using_clause; - PgQuery__Node **using_clause; - PgQuery__Alias *join_using_alias; - PgQuery__Node *quals; - PgQuery__Alias *alias; - int32_t rtindex; -}; -#define PG_QUERY__JOIN_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__join_expr__descriptor) \ -, PG_QUERY__JOIN_TYPE__JOIN_TYPE_UNDEFINED, 0, NULL, NULL, 0,NULL, NULL, NULL, NULL, 0 } - - -struct PgQuery__FromExpr -{ - ProtobufCMessage base; - size_t n_fromlist; - PgQuery__Node **fromlist; - PgQuery__Node *quals; -}; -#define PG_QUERY__FROM_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__from_expr__descriptor) \ -, 0,NULL, NULL } - - -struct PgQuery__OnConflictExpr -{ - ProtobufCMessage base; - PgQuery__OnConflictAction action; - size_t n_arbiter_elems; - PgQuery__Node **arbiter_elems; - PgQuery__Node *arbiter_where; - uint32_t constraint; - size_t n_on_conflict_set; - PgQuery__Node **on_conflict_set; - PgQuery__Node *on_conflict_where; - int32_t excl_rel_index; - size_t n_excl_rel_tlist; - PgQuery__Node **excl_rel_tlist; -}; -#define PG_QUERY__ON_CONFLICT_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__on_conflict_expr__descriptor) \ -, PG_QUERY__ON_CONFLICT_ACTION__ON_CONFLICT_ACTION_UNDEFINED, 0,NULL, NULL, 0, 0,NULL, NULL, 0, 0,NULL } - - -struct PgQuery__Query -{ - ProtobufCMessage base; - PgQuery__CmdType command_type; - PgQuery__QuerySource query_source; - protobuf_c_boolean can_set_tag; - PgQuery__Node *utility_stmt; - int32_t result_relation; - protobuf_c_boolean has_aggs; - protobuf_c_boolean has_window_funcs; - protobuf_c_boolean has_target_srfs; - protobuf_c_boolean has_sub_links; - protobuf_c_boolean has_distinct_on; - protobuf_c_boolean has_recursive; - protobuf_c_boolean has_modifying_cte; - protobuf_c_boolean has_for_update; - protobuf_c_boolean has_row_security; - protobuf_c_boolean has_group_rte; - protobuf_c_boolean is_return; - size_t n_cte_list; - PgQuery__Node **cte_list; - size_t n_rtable; - PgQuery__Node **rtable; - size_t n_rteperminfos; - PgQuery__Node **rteperminfos; - PgQuery__FromExpr *jointree; - size_t n_merge_action_list; - PgQuery__Node **merge_action_list; - int32_t merge_target_relation; - PgQuery__Node *merge_join_condition; - size_t n_target_list; - PgQuery__Node **target_list; - PgQuery__OverridingKind override; - PgQuery__OnConflictExpr *on_conflict; - char *returning_old_alias; - char *returning_new_alias; - size_t n_returning_list; - PgQuery__Node **returning_list; - size_t n_group_clause; - PgQuery__Node **group_clause; - protobuf_c_boolean group_distinct; - size_t n_grouping_sets; - PgQuery__Node **grouping_sets; - PgQuery__Node *having_qual; - size_t n_window_clause; - PgQuery__Node **window_clause; - size_t n_distinct_clause; - PgQuery__Node **distinct_clause; - size_t n_sort_clause; - PgQuery__Node **sort_clause; - PgQuery__Node *limit_offset; - PgQuery__Node *limit_count; - PgQuery__LimitOption limit_option; - size_t n_row_marks; - PgQuery__Node **row_marks; - PgQuery__Node *set_operations; - size_t n_constraint_deps; - PgQuery__Node **constraint_deps; - size_t n_with_check_options; - PgQuery__Node **with_check_options; - int32_t stmt_location; - int32_t stmt_len; -}; -#define PG_QUERY__QUERY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__query__descriptor) \ -, PG_QUERY__CMD_TYPE__CMD_TYPE_UNDEFINED, PG_QUERY__QUERY_SOURCE__QUERY_SOURCE_UNDEFINED, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, NULL, 0,NULL, 0, NULL, 0,NULL, PG_QUERY__OVERRIDING_KIND__OVERRIDING_KIND_UNDEFINED, NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0, 0,NULL, NULL, 0,NULL, 0,NULL, 0,NULL, NULL, NULL, PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_UNDEFINED, 0,NULL, NULL, 0,NULL, 0,NULL, 0, 0 } - - -struct PgQuery__TypeName -{ - ProtobufCMessage base; - size_t n_names; - PgQuery__Node **names; - uint32_t type_oid; - protobuf_c_boolean setof; - protobuf_c_boolean pct_type; - size_t n_typmods; - PgQuery__Node **typmods; - int32_t typemod; - size_t n_array_bounds; - PgQuery__Node **array_bounds; - int32_t location; -}; -#define PG_QUERY__TYPE_NAME__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__type_name__descriptor) \ -, 0,NULL, 0, 0, 0, 0,NULL, 0, 0,NULL, 0 } - - -struct PgQuery__ColumnRef -{ - ProtobufCMessage base; - size_t n_fields; - PgQuery__Node **fields; - int32_t location; -}; -#define PG_QUERY__COLUMN_REF__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__column_ref__descriptor) \ -, 0,NULL, 0 } - - -struct PgQuery__ParamRef -{ - ProtobufCMessage base; - int32_t number; - int32_t location; -}; -#define PG_QUERY__PARAM_REF__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__param_ref__descriptor) \ -, 0, 0 } - - -struct PgQuery__AExpr -{ - ProtobufCMessage base; - PgQuery__AExprKind kind; - size_t n_name; - PgQuery__Node **name; - PgQuery__Node *lexpr; - PgQuery__Node *rexpr; - int32_t rexpr_list_start; - int32_t rexpr_list_end; - int32_t location; -}; -#define PG_QUERY__A__EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__a__expr__descriptor) \ -, PG_QUERY__A__EXPR__KIND__A_EXPR_KIND_UNDEFINED, 0,NULL, NULL, NULL, 0, 0, 0 } - - -struct PgQuery__TypeCast -{ - ProtobufCMessage base; - PgQuery__Node *arg; - PgQuery__TypeName *type_name; - int32_t location; -}; -#define PG_QUERY__TYPE_CAST__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__type_cast__descriptor) \ -, NULL, NULL, 0 } - - -struct PgQuery__CollateClause -{ - ProtobufCMessage base; - PgQuery__Node *arg; - size_t n_collname; - PgQuery__Node **collname; - int32_t location; -}; -#define PG_QUERY__COLLATE_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__collate_clause__descriptor) \ -, NULL, 0,NULL, 0 } - - -struct PgQuery__RoleSpec -{ - ProtobufCMessage base; - PgQuery__RoleSpecType roletype; - char *rolename; - int32_t location; -}; -#define PG_QUERY__ROLE_SPEC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__role_spec__descriptor) \ -, PG_QUERY__ROLE_SPEC_TYPE__ROLE_SPEC_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__FuncCall -{ - ProtobufCMessage base; - size_t n_funcname; - PgQuery__Node **funcname; - size_t n_args; - PgQuery__Node **args; - size_t n_agg_order; - PgQuery__Node **agg_order; - PgQuery__Node *agg_filter; - PgQuery__WindowDef *over; - protobuf_c_boolean agg_within_group; - protobuf_c_boolean agg_star; - protobuf_c_boolean agg_distinct; - protobuf_c_boolean func_variadic; - PgQuery__CoercionForm funcformat; - int32_t location; -}; -#define PG_QUERY__FUNC_CALL__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__func_call__descriptor) \ -, 0,NULL, 0,NULL, 0,NULL, NULL, NULL, 0, 0, 0, 0, PG_QUERY__COERCION_FORM__COERCION_FORM_UNDEFINED, 0 } - - -struct PgQuery__AStar -{ - ProtobufCMessage base; -}; -#define PG_QUERY__A__STAR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__a__star__descriptor) \ - } - - -struct PgQuery__AIndices -{ - ProtobufCMessage base; - protobuf_c_boolean is_slice; - PgQuery__Node *lidx; - PgQuery__Node *uidx; -}; -#define PG_QUERY__A__INDICES__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__a__indices__descriptor) \ -, 0, NULL, NULL } - - -struct PgQuery__AIndirection -{ - ProtobufCMessage base; - PgQuery__Node *arg; - size_t n_indirection; - PgQuery__Node **indirection; -}; -#define PG_QUERY__A__INDIRECTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__a__indirection__descriptor) \ -, NULL, 0,NULL } - - -struct PgQuery__AArrayExpr -{ - ProtobufCMessage base; - size_t n_elements; - PgQuery__Node **elements; - int32_t list_start; - int32_t list_end; - int32_t location; -}; -#define PG_QUERY__A__ARRAY_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__a__array_expr__descriptor) \ -, 0,NULL, 0, 0, 0 } - - -struct PgQuery__ResTarget -{ - ProtobufCMessage base; - char *name; - size_t n_indirection; - PgQuery__Node **indirection; - PgQuery__Node *val; - int32_t location; -}; -#define PG_QUERY__RES_TARGET__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__res_target__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, NULL, 0 } - - -struct PgQuery__MultiAssignRef -{ - ProtobufCMessage base; - PgQuery__Node *source; - int32_t colno; - int32_t ncolumns; -}; -#define PG_QUERY__MULTI_ASSIGN_REF__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__multi_assign_ref__descriptor) \ -, NULL, 0, 0 } - - -struct PgQuery__SortBy -{ - ProtobufCMessage base; - PgQuery__Node *node; - PgQuery__SortByDir sortby_dir; - PgQuery__SortByNulls sortby_nulls; - size_t n_use_op; - PgQuery__Node **use_op; - int32_t location; -}; -#define PG_QUERY__SORT_BY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__sort_by__descriptor) \ -, NULL, PG_QUERY__SORT_BY_DIR__SORT_BY_DIR_UNDEFINED, PG_QUERY__SORT_BY_NULLS__SORT_BY_NULLS_UNDEFINED, 0,NULL, 0 } - - -struct PgQuery__WindowDef -{ - ProtobufCMessage base; - char *name; - char *refname; - size_t n_partition_clause; - PgQuery__Node **partition_clause; - size_t n_order_clause; - PgQuery__Node **order_clause; - int32_t frame_options; - PgQuery__Node *start_offset; - PgQuery__Node *end_offset; - int32_t location; -}; -#define PG_QUERY__WINDOW_DEF__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__window_def__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0, NULL, NULL, 0 } - - -struct PgQuery__RangeSubselect -{ - ProtobufCMessage base; - protobuf_c_boolean lateral; - PgQuery__Node *subquery; - PgQuery__Alias *alias; -}; -#define PG_QUERY__RANGE_SUBSELECT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__range_subselect__descriptor) \ -, 0, NULL, NULL } - - -struct PgQuery__RangeFunction -{ - ProtobufCMessage base; - protobuf_c_boolean lateral; - protobuf_c_boolean ordinality; - protobuf_c_boolean is_rowsfrom; - size_t n_functions; - PgQuery__Node **functions; - PgQuery__Alias *alias; - size_t n_coldeflist; - PgQuery__Node **coldeflist; -}; -#define PG_QUERY__RANGE_FUNCTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__range_function__descriptor) \ -, 0, 0, 0, 0,NULL, NULL, 0,NULL } - - -struct PgQuery__RangeTableFunc -{ - ProtobufCMessage base; - protobuf_c_boolean lateral; - PgQuery__Node *docexpr; - PgQuery__Node *rowexpr; - size_t n_namespaces; - PgQuery__Node **namespaces; - size_t n_columns; - PgQuery__Node **columns; - PgQuery__Alias *alias; - int32_t location; -}; -#define PG_QUERY__RANGE_TABLE_FUNC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__range_table_func__descriptor) \ -, 0, NULL, NULL, 0,NULL, 0,NULL, NULL, 0 } - - -struct PgQuery__RangeTableFuncCol -{ - ProtobufCMessage base; - char *colname; - PgQuery__TypeName *type_name; - protobuf_c_boolean for_ordinality; - protobuf_c_boolean is_not_null; - PgQuery__Node *colexpr; - PgQuery__Node *coldefexpr; - int32_t location; -}; -#define PG_QUERY__RANGE_TABLE_FUNC_COL__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__range_table_func_col__descriptor) \ -, (char *)protobuf_c_empty_string, NULL, 0, 0, NULL, NULL, 0 } - - -struct PgQuery__RangeTableSample -{ - ProtobufCMessage base; - PgQuery__Node *relation; - size_t n_method; - PgQuery__Node **method; - size_t n_args; - PgQuery__Node **args; - PgQuery__Node *repeatable; - int32_t location; -}; -#define PG_QUERY__RANGE_TABLE_SAMPLE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__range_table_sample__descriptor) \ -, NULL, 0,NULL, 0,NULL, NULL, 0 } - - -struct PgQuery__ColumnDef -{ - ProtobufCMessage base; - char *colname; - PgQuery__TypeName *type_name; - char *compression; - int32_t inhcount; - protobuf_c_boolean is_local; - protobuf_c_boolean is_not_null; - protobuf_c_boolean is_from_type; - char *storage; - char *storage_name; - PgQuery__Node *raw_default; - PgQuery__Node *cooked_default; - char *identity; - PgQuery__RangeVar *identity_sequence; - char *generated; - PgQuery__CollateClause *coll_clause; - uint32_t coll_oid; - size_t n_constraints; - PgQuery__Node **constraints; - size_t n_fdwoptions; - PgQuery__Node **fdwoptions; - int32_t location; -}; -#define PG_QUERY__COLUMN_DEF__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__column_def__descriptor) \ -, (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, 0, 0, 0, 0, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, NULL, NULL, (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, NULL, 0, 0,NULL, 0,NULL, 0 } - - -struct PgQuery__TableLikeClause -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - uint32_t options; - uint32_t relation_oid; -}; -#define PG_QUERY__TABLE_LIKE_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__table_like_clause__descriptor) \ -, NULL, 0, 0 } - - -struct PgQuery__IndexElem -{ - ProtobufCMessage base; - char *name; - PgQuery__Node *expr; - char *indexcolname; - size_t n_collation; - PgQuery__Node **collation; - size_t n_opclass; - PgQuery__Node **opclass; - size_t n_opclassopts; - PgQuery__Node **opclassopts; - PgQuery__SortByDir ordering; - PgQuery__SortByNulls nulls_ordering; -}; -#define PG_QUERY__INDEX_ELEM__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__index_elem__descriptor) \ -, (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0,NULL, PG_QUERY__SORT_BY_DIR__SORT_BY_DIR_UNDEFINED, PG_QUERY__SORT_BY_NULLS__SORT_BY_NULLS_UNDEFINED } - - -struct PgQuery__DefElem -{ - ProtobufCMessage base; - char *defnamespace; - char *defname; - PgQuery__Node *arg; - PgQuery__DefElemAction defaction; - int32_t location; -}; -#define PG_QUERY__DEF_ELEM__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__def_elem__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, NULL, PG_QUERY__DEF_ELEM_ACTION__DEF_ELEM_ACTION_UNDEFINED, 0 } - - -struct PgQuery__LockingClause -{ - ProtobufCMessage base; - size_t n_locked_rels; - PgQuery__Node **locked_rels; - PgQuery__LockClauseStrength strength; - PgQuery__LockWaitPolicy wait_policy; -}; -#define PG_QUERY__LOCKING_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__locking_clause__descriptor) \ -, 0,NULL, PG_QUERY__LOCK_CLAUSE_STRENGTH__LOCK_CLAUSE_STRENGTH_UNDEFINED, PG_QUERY__LOCK_WAIT_POLICY__LOCK_WAIT_POLICY_UNDEFINED } - - -struct PgQuery__XmlSerialize -{ - ProtobufCMessage base; - PgQuery__XmlOptionType xmloption; - PgQuery__Node *expr; - PgQuery__TypeName *type_name; - protobuf_c_boolean indent; - int32_t location; -}; -#define PG_QUERY__XML_SERIALIZE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__xml_serialize__descriptor) \ -, PG_QUERY__XML_OPTION_TYPE__XML_OPTION_TYPE_UNDEFINED, NULL, NULL, 0, 0 } - - -struct PgQuery__PartitionElem -{ - ProtobufCMessage base; - char *name; - PgQuery__Node *expr; - size_t n_collation; - PgQuery__Node **collation; - size_t n_opclass; - PgQuery__Node **opclass; - int32_t location; -}; -#define PG_QUERY__PARTITION_ELEM__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__partition_elem__descriptor) \ -, (char *)protobuf_c_empty_string, NULL, 0,NULL, 0,NULL, 0 } - - -struct PgQuery__PartitionSpec -{ - ProtobufCMessage base; - PgQuery__PartitionStrategy strategy; - size_t n_part_params; - PgQuery__Node **part_params; - int32_t location; -}; -#define PG_QUERY__PARTITION_SPEC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__partition_spec__descriptor) \ -, PG_QUERY__PARTITION_STRATEGY__PARTITION_STRATEGY_UNDEFINED, 0,NULL, 0 } - - -struct PgQuery__PartitionBoundSpec -{ - ProtobufCMessage base; - char *strategy; - protobuf_c_boolean is_default; - int32_t modulus; - int32_t remainder; - size_t n_listdatums; - PgQuery__Node **listdatums; - size_t n_lowerdatums; - PgQuery__Node **lowerdatums; - size_t n_upperdatums; - PgQuery__Node **upperdatums; - int32_t location; -}; -#define PG_QUERY__PARTITION_BOUND_SPEC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__partition_bound_spec__descriptor) \ -, (char *)protobuf_c_empty_string, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0 } - - -struct PgQuery__PartitionRangeDatum -{ - ProtobufCMessage base; - PgQuery__PartitionRangeDatumKind kind; - PgQuery__Node *value; - int32_t location; -}; -#define PG_QUERY__PARTITION_RANGE_DATUM__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__partition_range_datum__descriptor) \ -, PG_QUERY__PARTITION_RANGE_DATUM_KIND__PARTITION_RANGE_DATUM_KIND_UNDEFINED, NULL, 0 } - - -struct PgQuery__PartitionCmd -{ - ProtobufCMessage base; - PgQuery__RangeVar *name; - PgQuery__PartitionBoundSpec *bound; - protobuf_c_boolean concurrent; -}; -#define PG_QUERY__PARTITION_CMD__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__partition_cmd__descriptor) \ -, NULL, NULL, 0 } - - -struct PgQuery__RangeTblEntry -{ - ProtobufCMessage base; - PgQuery__Alias *alias; - PgQuery__Alias *eref; - PgQuery__RTEKind rtekind; - uint32_t relid; - protobuf_c_boolean inh; - char *relkind; - int32_t rellockmode; - uint32_t perminfoindex; - PgQuery__TableSampleClause *tablesample; - PgQuery__Query *subquery; - protobuf_c_boolean security_barrier; - PgQuery__JoinType jointype; - int32_t joinmergedcols; - size_t n_joinaliasvars; - PgQuery__Node **joinaliasvars; - size_t n_joinleftcols; - PgQuery__Node **joinleftcols; - size_t n_joinrightcols; - PgQuery__Node **joinrightcols; - PgQuery__Alias *join_using_alias; - size_t n_functions; - PgQuery__Node **functions; - protobuf_c_boolean funcordinality; - PgQuery__TableFunc *tablefunc; - size_t n_values_lists; - PgQuery__Node **values_lists; - char *ctename; - uint32_t ctelevelsup; - protobuf_c_boolean self_reference; - size_t n_coltypes; - PgQuery__Node **coltypes; - size_t n_coltypmods; - PgQuery__Node **coltypmods; - size_t n_colcollations; - PgQuery__Node **colcollations; - char *enrname; - double enrtuples; - size_t n_groupexprs; - PgQuery__Node **groupexprs; - protobuf_c_boolean lateral; - protobuf_c_boolean in_from_cl; - size_t n_security_quals; - PgQuery__Node **security_quals; -}; -#define PG_QUERY__RANGE_TBL_ENTRY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__range_tbl_entry__descriptor) \ -, NULL, NULL, PG_QUERY__RTEKIND__RTEKIND_UNDEFINED, 0, 0, (char *)protobuf_c_empty_string, 0, 0, NULL, NULL, 0, PG_QUERY__JOIN_TYPE__JOIN_TYPE_UNDEFINED, 0, 0,NULL, 0,NULL, 0,NULL, NULL, 0,NULL, 0, NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, 0, 0,NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, 0,NULL, 0, 0, 0,NULL } - - -struct PgQuery__RTEPermissionInfo -{ - ProtobufCMessage base; - uint32_t relid; - protobuf_c_boolean inh; - uint64_t required_perms; - uint32_t check_as_user; - size_t n_selected_cols; - uint64_t *selected_cols; - size_t n_inserted_cols; - uint64_t *inserted_cols; - size_t n_updated_cols; - uint64_t *updated_cols; -}; -#define PG_QUERY__RTEPERMISSION_INFO__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__rtepermission_info__descriptor) \ -, 0, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL } - - -struct PgQuery__RangeTblFunction -{ - ProtobufCMessage base; - PgQuery__Node *funcexpr; - int32_t funccolcount; - size_t n_funccolnames; - PgQuery__Node **funccolnames; - size_t n_funccoltypes; - PgQuery__Node **funccoltypes; - size_t n_funccoltypmods; - PgQuery__Node **funccoltypmods; - size_t n_funccolcollations; - PgQuery__Node **funccolcollations; - size_t n_funcparams; - uint64_t *funcparams; -}; -#define PG_QUERY__RANGE_TBL_FUNCTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__range_tbl_function__descriptor) \ -, NULL, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL } - - -struct PgQuery__TableSampleClause -{ - ProtobufCMessage base; - uint32_t tsmhandler; - size_t n_args; - PgQuery__Node **args; - PgQuery__Node *repeatable; -}; -#define PG_QUERY__TABLE_SAMPLE_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__table_sample_clause__descriptor) \ -, 0, 0,NULL, NULL } - - -struct PgQuery__WithCheckOption -{ - ProtobufCMessage base; - PgQuery__WCOKind kind; - char *relname; - char *polname; - PgQuery__Node *qual; - protobuf_c_boolean cascaded; -}; -#define PG_QUERY__WITH_CHECK_OPTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__with_check_option__descriptor) \ -, PG_QUERY__WCOKIND__WCOKIND_UNDEFINED, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, NULL, 0 } - - -struct PgQuery__SortGroupClause -{ - ProtobufCMessage base; - uint32_t tle_sort_group_ref; - uint32_t eqop; - uint32_t sortop; - protobuf_c_boolean reverse_sort; - protobuf_c_boolean nulls_first; - protobuf_c_boolean hashable; -}; -#define PG_QUERY__SORT_GROUP_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__sort_group_clause__descriptor) \ -, 0, 0, 0, 0, 0, 0 } - - -struct PgQuery__GroupingSet -{ - ProtobufCMessage base; - PgQuery__GroupingSetKind kind; - size_t n_content; - PgQuery__Node **content; - int32_t location; -}; -#define PG_QUERY__GROUPING_SET__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__grouping_set__descriptor) \ -, PG_QUERY__GROUPING_SET_KIND__GROUPING_SET_KIND_UNDEFINED, 0,NULL, 0 } - - -struct PgQuery__WindowClause -{ - ProtobufCMessage base; - char *name; - char *refname; - size_t n_partition_clause; - PgQuery__Node **partition_clause; - size_t n_order_clause; - PgQuery__Node **order_clause; - int32_t frame_options; - PgQuery__Node *start_offset; - PgQuery__Node *end_offset; - uint32_t start_in_range_func; - uint32_t end_in_range_func; - uint32_t in_range_coll; - protobuf_c_boolean in_range_asc; - protobuf_c_boolean in_range_nulls_first; - uint32_t winref; - protobuf_c_boolean copied_order; -}; -#define PG_QUERY__WINDOW_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__window_clause__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, 0 } - - -struct PgQuery__RowMarkClause -{ - ProtobufCMessage base; - uint32_t rti; - PgQuery__LockClauseStrength strength; - PgQuery__LockWaitPolicy wait_policy; - protobuf_c_boolean pushed_down; -}; -#define PG_QUERY__ROW_MARK_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__row_mark_clause__descriptor) \ -, 0, PG_QUERY__LOCK_CLAUSE_STRENGTH__LOCK_CLAUSE_STRENGTH_UNDEFINED, PG_QUERY__LOCK_WAIT_POLICY__LOCK_WAIT_POLICY_UNDEFINED, 0 } - - -struct PgQuery__WithClause -{ - ProtobufCMessage base; - size_t n_ctes; - PgQuery__Node **ctes; - protobuf_c_boolean recursive; - int32_t location; -}; -#define PG_QUERY__WITH_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__with_clause__descriptor) \ -, 0,NULL, 0, 0 } - - -struct PgQuery__InferClause -{ - ProtobufCMessage base; - size_t n_index_elems; - PgQuery__Node **index_elems; - PgQuery__Node *where_clause; - char *conname; - int32_t location; -}; -#define PG_QUERY__INFER_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__infer_clause__descriptor) \ -, 0,NULL, NULL, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__OnConflictClause -{ - ProtobufCMessage base; - PgQuery__OnConflictAction action; - PgQuery__InferClause *infer; - size_t n_target_list; - PgQuery__Node **target_list; - PgQuery__Node *where_clause; - int32_t location; -}; -#define PG_QUERY__ON_CONFLICT_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__on_conflict_clause__descriptor) \ -, PG_QUERY__ON_CONFLICT_ACTION__ON_CONFLICT_ACTION_UNDEFINED, NULL, 0,NULL, NULL, 0 } - - -struct PgQuery__CTESearchClause -{ - ProtobufCMessage base; - size_t n_search_col_list; - PgQuery__Node **search_col_list; - protobuf_c_boolean search_breadth_first; - char *search_seq_column; - int32_t location; -}; -#define PG_QUERY__CTESEARCH_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__ctesearch_clause__descriptor) \ -, 0,NULL, 0, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__CTECycleClause -{ - ProtobufCMessage base; - size_t n_cycle_col_list; - PgQuery__Node **cycle_col_list; - char *cycle_mark_column; - PgQuery__Node *cycle_mark_value; - PgQuery__Node *cycle_mark_default; - char *cycle_path_column; - int32_t location; - uint32_t cycle_mark_type; - int32_t cycle_mark_typmod; - uint32_t cycle_mark_collation; - uint32_t cycle_mark_neop; -}; -#define PG_QUERY__CTECYCLE_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__ctecycle_clause__descriptor) \ -, 0,NULL, (char *)protobuf_c_empty_string, NULL, NULL, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0 } - - -struct PgQuery__CommonTableExpr -{ - ProtobufCMessage base; - char *ctename; - size_t n_aliascolnames; - PgQuery__Node **aliascolnames; - PgQuery__CTEMaterialize ctematerialized; - PgQuery__Node *ctequery; - PgQuery__CTESearchClause *search_clause; - PgQuery__CTECycleClause *cycle_clause; - int32_t location; - protobuf_c_boolean cterecursive; - int32_t cterefcount; - size_t n_ctecolnames; - PgQuery__Node **ctecolnames; - size_t n_ctecoltypes; - PgQuery__Node **ctecoltypes; - size_t n_ctecoltypmods; - PgQuery__Node **ctecoltypmods; - size_t n_ctecolcollations; - PgQuery__Node **ctecolcollations; -}; -#define PG_QUERY__COMMON_TABLE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__common_table_expr__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, PG_QUERY__CTEMATERIALIZE__CTEMATERIALIZE_UNDEFINED, NULL, NULL, NULL, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL } - - -struct PgQuery__MergeWhenClause -{ - ProtobufCMessage base; - PgQuery__MergeMatchKind match_kind; - PgQuery__CmdType command_type; - PgQuery__OverridingKind override; - PgQuery__Node *condition; - size_t n_target_list; - PgQuery__Node **target_list; - size_t n_values; - PgQuery__Node **values; -}; -#define PG_QUERY__MERGE_WHEN_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__merge_when_clause__descriptor) \ -, PG_QUERY__MERGE_MATCH_KIND__MERGE_MATCH_KIND_UNDEFINED, PG_QUERY__CMD_TYPE__CMD_TYPE_UNDEFINED, PG_QUERY__OVERRIDING_KIND__OVERRIDING_KIND_UNDEFINED, NULL, 0,NULL, 0,NULL } - - -struct PgQuery__ReturningOption -{ - ProtobufCMessage base; - PgQuery__ReturningOptionKind option; - char *value; - int32_t location; -}; -#define PG_QUERY__RETURNING_OPTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__returning_option__descriptor) \ -, PG_QUERY__RETURNING_OPTION_KIND__RETURNING_OPTION_KIND_UNDEFINED, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__ReturningClause -{ - ProtobufCMessage base; - size_t n_options; - PgQuery__Node **options; - size_t n_exprs; - PgQuery__Node **exprs; -}; -#define PG_QUERY__RETURNING_CLAUSE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__returning_clause__descriptor) \ -, 0,NULL, 0,NULL } - - -struct PgQuery__TriggerTransition -{ - ProtobufCMessage base; - char *name; - protobuf_c_boolean is_new; - protobuf_c_boolean is_table; -}; -#define PG_QUERY__TRIGGER_TRANSITION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__trigger_transition__descriptor) \ -, (char *)protobuf_c_empty_string, 0, 0 } - - -struct PgQuery__JsonOutput -{ - ProtobufCMessage base; - PgQuery__TypeName *type_name; - PgQuery__JsonReturning *returning; -}; -#define PG_QUERY__JSON_OUTPUT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_output__descriptor) \ -, NULL, NULL } - - -struct PgQuery__JsonArgument -{ - ProtobufCMessage base; - PgQuery__JsonValueExpr *val; - char *name; -}; -#define PG_QUERY__JSON_ARGUMENT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_argument__descriptor) \ -, NULL, (char *)protobuf_c_empty_string } - - -struct PgQuery__JsonFuncExpr -{ - ProtobufCMessage base; - PgQuery__JsonExprOp op; - char *column_name; - PgQuery__JsonValueExpr *context_item; - PgQuery__Node *pathspec; - size_t n_passing; - PgQuery__Node **passing; - PgQuery__JsonOutput *output; - PgQuery__JsonBehavior *on_empty; - PgQuery__JsonBehavior *on_error; - PgQuery__JsonWrapper wrapper; - PgQuery__JsonQuotes quotes; - int32_t location; -}; -#define PG_QUERY__JSON_FUNC_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_func_expr__descriptor) \ -, PG_QUERY__JSON_EXPR_OP__JSON_EXPR_OP_UNDEFINED, (char *)protobuf_c_empty_string, NULL, NULL, 0,NULL, NULL, NULL, NULL, PG_QUERY__JSON_WRAPPER__JSON_WRAPPER_UNDEFINED, PG_QUERY__JSON_QUOTES__JSON_QUOTES_UNDEFINED, 0 } - - -struct PgQuery__JsonTablePathSpec -{ - ProtobufCMessage base; - PgQuery__Node *string; - char *name; - int32_t name_location; - int32_t location; -}; -#define PG_QUERY__JSON_TABLE_PATH_SPEC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_table_path_spec__descriptor) \ -, NULL, (char *)protobuf_c_empty_string, 0, 0 } - - -struct PgQuery__JsonTable -{ - ProtobufCMessage base; - PgQuery__JsonValueExpr *context_item; - PgQuery__JsonTablePathSpec *pathspec; - size_t n_passing; - PgQuery__Node **passing; - size_t n_columns; - PgQuery__Node **columns; - PgQuery__JsonBehavior *on_error; - PgQuery__Alias *alias; - protobuf_c_boolean lateral; - int32_t location; -}; -#define PG_QUERY__JSON_TABLE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_table__descriptor) \ -, NULL, NULL, 0,NULL, 0,NULL, NULL, NULL, 0, 0 } - - -struct PgQuery__JsonTableColumn -{ - ProtobufCMessage base; - PgQuery__JsonTableColumnType coltype; - char *name; - PgQuery__TypeName *type_name; - PgQuery__JsonTablePathSpec *pathspec; - PgQuery__JsonFormat *format; - PgQuery__JsonWrapper wrapper; - PgQuery__JsonQuotes quotes; - size_t n_columns; - PgQuery__Node **columns; - PgQuery__JsonBehavior *on_empty; - PgQuery__JsonBehavior *on_error; - int32_t location; -}; -#define PG_QUERY__JSON_TABLE_COLUMN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_table_column__descriptor) \ -, PG_QUERY__JSON_TABLE_COLUMN_TYPE__JSON_TABLE_COLUMN_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, NULL, NULL, NULL, PG_QUERY__JSON_WRAPPER__JSON_WRAPPER_UNDEFINED, PG_QUERY__JSON_QUOTES__JSON_QUOTES_UNDEFINED, 0,NULL, NULL, NULL, 0 } - - -struct PgQuery__JsonKeyValue -{ - ProtobufCMessage base; - PgQuery__Node *key; - PgQuery__JsonValueExpr *value; -}; -#define PG_QUERY__JSON_KEY_VALUE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_key_value__descriptor) \ -, NULL, NULL } - - -struct PgQuery__JsonParseExpr -{ - ProtobufCMessage base; - PgQuery__JsonValueExpr *expr; - PgQuery__JsonOutput *output; - protobuf_c_boolean unique_keys; - int32_t location; -}; -#define PG_QUERY__JSON_PARSE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_parse_expr__descriptor) \ -, NULL, NULL, 0, 0 } - - -struct PgQuery__JsonScalarExpr -{ - ProtobufCMessage base; - PgQuery__Node *expr; - PgQuery__JsonOutput *output; - int32_t location; -}; -#define PG_QUERY__JSON_SCALAR_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_scalar_expr__descriptor) \ -, NULL, NULL, 0 } - - -struct PgQuery__JsonSerializeExpr -{ - ProtobufCMessage base; - PgQuery__JsonValueExpr *expr; - PgQuery__JsonOutput *output; - int32_t location; -}; -#define PG_QUERY__JSON_SERIALIZE_EXPR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_serialize_expr__descriptor) \ -, NULL, NULL, 0 } - - -struct PgQuery__JsonObjectConstructor -{ - ProtobufCMessage base; - size_t n_exprs; - PgQuery__Node **exprs; - PgQuery__JsonOutput *output; - protobuf_c_boolean absent_on_null; - protobuf_c_boolean unique; - int32_t location; -}; -#define PG_QUERY__JSON_OBJECT_CONSTRUCTOR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_object_constructor__descriptor) \ -, 0,NULL, NULL, 0, 0, 0 } - - -struct PgQuery__JsonArrayConstructor -{ - ProtobufCMessage base; - size_t n_exprs; - PgQuery__Node **exprs; - PgQuery__JsonOutput *output; - protobuf_c_boolean absent_on_null; - int32_t location; -}; -#define PG_QUERY__JSON_ARRAY_CONSTRUCTOR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_array_constructor__descriptor) \ -, 0,NULL, NULL, 0, 0 } - - -struct PgQuery__JsonArrayQueryConstructor -{ - ProtobufCMessage base; - PgQuery__Node *query; - PgQuery__JsonOutput *output; - PgQuery__JsonFormat *format; - protobuf_c_boolean absent_on_null; - int32_t location; -}; -#define PG_QUERY__JSON_ARRAY_QUERY_CONSTRUCTOR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_array_query_constructor__descriptor) \ -, NULL, NULL, NULL, 0, 0 } - - -struct PgQuery__JsonAggConstructor -{ - ProtobufCMessage base; - PgQuery__JsonOutput *output; - PgQuery__Node *agg_filter; - size_t n_agg_order; - PgQuery__Node **agg_order; - PgQuery__WindowDef *over; - int32_t location; -}; -#define PG_QUERY__JSON_AGG_CONSTRUCTOR__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_agg_constructor__descriptor) \ -, NULL, NULL, 0,NULL, NULL, 0 } - - -struct PgQuery__JsonObjectAgg -{ - ProtobufCMessage base; - PgQuery__JsonAggConstructor *constructor; - PgQuery__JsonKeyValue *arg; - protobuf_c_boolean absent_on_null; - protobuf_c_boolean unique; -}; -#define PG_QUERY__JSON_OBJECT_AGG__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_object_agg__descriptor) \ -, NULL, NULL, 0, 0 } - - -struct PgQuery__JsonArrayAgg -{ - ProtobufCMessage base; - PgQuery__JsonAggConstructor *constructor; - PgQuery__JsonValueExpr *arg; - protobuf_c_boolean absent_on_null; -}; -#define PG_QUERY__JSON_ARRAY_AGG__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__json_array_agg__descriptor) \ -, NULL, NULL, 0 } - - -struct PgQuery__RawStmt -{ - ProtobufCMessage base; - PgQuery__Node *stmt; - int32_t stmt_location; - int32_t stmt_len; -}; -#define PG_QUERY__RAW_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__raw_stmt__descriptor) \ -, NULL, 0, 0 } - - -struct PgQuery__InsertStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - size_t n_cols; - PgQuery__Node **cols; - PgQuery__Node *select_stmt; - PgQuery__OnConflictClause *on_conflict_clause; - PgQuery__ReturningClause *returning_clause; - PgQuery__WithClause *with_clause; - PgQuery__OverridingKind override; -}; -#define PG_QUERY__INSERT_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__insert_stmt__descriptor) \ -, NULL, 0,NULL, NULL, NULL, NULL, NULL, PG_QUERY__OVERRIDING_KIND__OVERRIDING_KIND_UNDEFINED } - - -struct PgQuery__DeleteStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - size_t n_using_clause; - PgQuery__Node **using_clause; - PgQuery__Node *where_clause; - PgQuery__ReturningClause *returning_clause; - PgQuery__WithClause *with_clause; -}; -#define PG_QUERY__DELETE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__delete_stmt__descriptor) \ -, NULL, 0,NULL, NULL, NULL, NULL } - - -struct PgQuery__UpdateStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - size_t n_target_list; - PgQuery__Node **target_list; - PgQuery__Node *where_clause; - size_t n_from_clause; - PgQuery__Node **from_clause; - PgQuery__ReturningClause *returning_clause; - PgQuery__WithClause *with_clause; -}; -#define PG_QUERY__UPDATE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__update_stmt__descriptor) \ -, NULL, 0,NULL, NULL, 0,NULL, NULL, NULL } - - -struct PgQuery__MergeStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - PgQuery__Node *source_relation; - PgQuery__Node *join_condition; - size_t n_merge_when_clauses; - PgQuery__Node **merge_when_clauses; - PgQuery__ReturningClause *returning_clause; - PgQuery__WithClause *with_clause; -}; -#define PG_QUERY__MERGE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__merge_stmt__descriptor) \ -, NULL, NULL, NULL, 0,NULL, NULL, NULL } - - -struct PgQuery__SelectStmt -{ - ProtobufCMessage base; - size_t n_distinct_clause; - PgQuery__Node **distinct_clause; - PgQuery__IntoClause *into_clause; - size_t n_target_list; - PgQuery__Node **target_list; - size_t n_from_clause; - PgQuery__Node **from_clause; - PgQuery__Node *where_clause; - size_t n_group_clause; - PgQuery__Node **group_clause; - protobuf_c_boolean group_distinct; - PgQuery__Node *having_clause; - size_t n_window_clause; - PgQuery__Node **window_clause; - size_t n_values_lists; - PgQuery__Node **values_lists; - size_t n_sort_clause; - PgQuery__Node **sort_clause; - PgQuery__Node *limit_offset; - PgQuery__Node *limit_count; - PgQuery__LimitOption limit_option; - size_t n_locking_clause; - PgQuery__Node **locking_clause; - PgQuery__WithClause *with_clause; - PgQuery__SetOperation op; - protobuf_c_boolean all; - PgQuery__SelectStmt *larg; - PgQuery__SelectStmt *rarg; -}; -#define PG_QUERY__SELECT_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__select_stmt__descriptor) \ -, 0,NULL, NULL, 0,NULL, 0,NULL, NULL, 0,NULL, 0, NULL, 0,NULL, 0,NULL, 0,NULL, NULL, NULL, PG_QUERY__LIMIT_OPTION__LIMIT_OPTION_UNDEFINED, 0,NULL, NULL, PG_QUERY__SET_OPERATION__SET_OPERATION_UNDEFINED, 0, NULL, NULL } - - -struct PgQuery__SetOperationStmt -{ - ProtobufCMessage base; - PgQuery__SetOperation op; - protobuf_c_boolean all; - PgQuery__Node *larg; - PgQuery__Node *rarg; - size_t n_col_types; - PgQuery__Node **col_types; - size_t n_col_typmods; - PgQuery__Node **col_typmods; - size_t n_col_collations; - PgQuery__Node **col_collations; - size_t n_group_clauses; - PgQuery__Node **group_clauses; -}; -#define PG_QUERY__SET_OPERATION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__set_operation_stmt__descriptor) \ -, PG_QUERY__SET_OPERATION__SET_OPERATION_UNDEFINED, 0, NULL, NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL } - - -struct PgQuery__ReturnStmt -{ - ProtobufCMessage base; - PgQuery__Node *returnval; -}; -#define PG_QUERY__RETURN_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__return_stmt__descriptor) \ -, NULL } - - -struct PgQuery__PLAssignStmt -{ - ProtobufCMessage base; - char *name; - size_t n_indirection; - PgQuery__Node **indirection; - int32_t nnames; - PgQuery__SelectStmt *val; - int32_t location; -}; -#define PG_QUERY__PLASSIGN_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__plassign_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, 0, NULL, 0 } - - -struct PgQuery__CreateSchemaStmt -{ - ProtobufCMessage base; - char *schemaname; - PgQuery__RoleSpec *authrole; - size_t n_schema_elts; - PgQuery__Node **schema_elts; - protobuf_c_boolean if_not_exists; -}; -#define PG_QUERY__CREATE_SCHEMA_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_schema_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, NULL, 0,NULL, 0 } - - -struct PgQuery__AlterTableStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - size_t n_cmds; - PgQuery__Node **cmds; - PgQuery__ObjectType objtype; - protobuf_c_boolean missing_ok; -}; -#define PG_QUERY__ALTER_TABLE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_table_stmt__descriptor) \ -, NULL, 0,NULL, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, 0 } - - -struct PgQuery__AlterTableCmd -{ - ProtobufCMessage base; - PgQuery__AlterTableType subtype; - char *name; - int32_t num; - PgQuery__RoleSpec *newowner; - PgQuery__Node *def; - PgQuery__DropBehavior behavior; - protobuf_c_boolean missing_ok; - protobuf_c_boolean recurse; -}; -#define PG_QUERY__ALTER_TABLE_CMD__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_table_cmd__descriptor) \ -, PG_QUERY__ALTER_TABLE_TYPE__ALTER_TABLE_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, 0, NULL, NULL, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED, 0, 0 } - - -struct PgQuery__ATAlterConstraint -{ - ProtobufCMessage base; - char *conname; - protobuf_c_boolean alter_enforceability; - protobuf_c_boolean is_enforced; - protobuf_c_boolean alter_deferrability; - protobuf_c_boolean deferrable; - protobuf_c_boolean initdeferred; - protobuf_c_boolean alter_inheritability; - protobuf_c_boolean noinherit; -}; -#define PG_QUERY__ATALTER_CONSTRAINT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__atalter_constraint__descriptor) \ -, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, 0 } - - -struct PgQuery__ReplicaIdentityStmt -{ - ProtobufCMessage base; - char *identity_type; - char *name; -}; -#define PG_QUERY__REPLICA_IDENTITY_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__replica_identity_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string } - - -struct PgQuery__AlterCollationStmt -{ - ProtobufCMessage base; - size_t n_collname; - PgQuery__Node **collname; -}; -#define PG_QUERY__ALTER_COLLATION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_collation_stmt__descriptor) \ -, 0,NULL } - - -struct PgQuery__AlterDomainStmt -{ - ProtobufCMessage base; - char *subtype; - size_t n_type_name; - PgQuery__Node **type_name; - char *name; - PgQuery__Node *def; - PgQuery__DropBehavior behavior; - protobuf_c_boolean missing_ok; -}; -#define PG_QUERY__ALTER_DOMAIN_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_domain_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, (char *)protobuf_c_empty_string, NULL, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED, 0 } - - -struct PgQuery__GrantStmt -{ - ProtobufCMessage base; - protobuf_c_boolean is_grant; - PgQuery__GrantTargetType targtype; - PgQuery__ObjectType objtype; - size_t n_objects; - PgQuery__Node **objects; - size_t n_privileges; - PgQuery__Node **privileges; - size_t n_grantees; - PgQuery__Node **grantees; - protobuf_c_boolean grant_option; - PgQuery__RoleSpec *grantor; - PgQuery__DropBehavior behavior; -}; -#define PG_QUERY__GRANT_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__grant_stmt__descriptor) \ -, 0, PG_QUERY__GRANT_TARGET_TYPE__GRANT_TARGET_TYPE_UNDEFINED, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, 0,NULL, 0,NULL, 0,NULL, 0, NULL, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED } - - -struct PgQuery__ObjectWithArgs -{ - ProtobufCMessage base; - size_t n_objname; - PgQuery__Node **objname; - size_t n_objargs; - PgQuery__Node **objargs; - size_t n_objfuncargs; - PgQuery__Node **objfuncargs; - protobuf_c_boolean args_unspecified; -}; -#define PG_QUERY__OBJECT_WITH_ARGS__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__object_with_args__descriptor) \ -, 0,NULL, 0,NULL, 0,NULL, 0 } - - -struct PgQuery__AccessPriv -{ - ProtobufCMessage base; - char *priv_name; - size_t n_cols; - PgQuery__Node **cols; -}; -#define PG_QUERY__ACCESS_PRIV__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__access_priv__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__GrantRoleStmt -{ - ProtobufCMessage base; - size_t n_granted_roles; - PgQuery__Node **granted_roles; - size_t n_grantee_roles; - PgQuery__Node **grantee_roles; - protobuf_c_boolean is_grant; - size_t n_opt; - PgQuery__Node **opt; - PgQuery__RoleSpec *grantor; - PgQuery__DropBehavior behavior; -}; -#define PG_QUERY__GRANT_ROLE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__grant_role_stmt__descriptor) \ -, 0,NULL, 0,NULL, 0, 0,NULL, NULL, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED } - - -struct PgQuery__AlterDefaultPrivilegesStmt -{ - ProtobufCMessage base; - size_t n_options; - PgQuery__Node **options; - PgQuery__GrantStmt *action; -}; -#define PG_QUERY__ALTER_DEFAULT_PRIVILEGES_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_default_privileges_stmt__descriptor) \ -, 0,NULL, NULL } - - -struct PgQuery__CopyStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - PgQuery__Node *query; - size_t n_attlist; - PgQuery__Node **attlist; - protobuf_c_boolean is_from; - protobuf_c_boolean is_program; - char *filename; - size_t n_options; - PgQuery__Node **options; - PgQuery__Node *where_clause; -}; -#define PG_QUERY__COPY_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__copy_stmt__descriptor) \ -, NULL, NULL, 0,NULL, 0, 0, (char *)protobuf_c_empty_string, 0,NULL, NULL } - - -struct PgQuery__VariableSetStmt -{ - ProtobufCMessage base; - PgQuery__VariableSetKind kind; - char *name; - size_t n_args; - PgQuery__Node **args; - protobuf_c_boolean jumble_args; - protobuf_c_boolean is_local; - int32_t location; -}; -#define PG_QUERY__VARIABLE_SET_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__variable_set_stmt__descriptor) \ -, PG_QUERY__VARIABLE_SET_KIND__VARIABLE_SET_KIND_UNDEFINED, (char *)protobuf_c_empty_string, 0,NULL, 0, 0, 0 } - - -struct PgQuery__VariableShowStmt -{ - ProtobufCMessage base; - char *name; -}; -#define PG_QUERY__VARIABLE_SHOW_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__variable_show_stmt__descriptor) \ -, (char *)protobuf_c_empty_string } - - -struct PgQuery__CreateStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - size_t n_table_elts; - PgQuery__Node **table_elts; - size_t n_inh_relations; - PgQuery__Node **inh_relations; - PgQuery__PartitionBoundSpec *partbound; - PgQuery__PartitionSpec *partspec; - PgQuery__TypeName *of_typename; - size_t n_constraints; - PgQuery__Node **constraints; - size_t n_nnconstraints; - PgQuery__Node **nnconstraints; - size_t n_options; - PgQuery__Node **options; - PgQuery__OnCommitAction oncommit; - char *tablespacename; - char *access_method; - protobuf_c_boolean if_not_exists; -}; -#define PG_QUERY__CREATE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_stmt__descriptor) \ -, NULL, 0,NULL, 0,NULL, NULL, NULL, NULL, 0,NULL, 0,NULL, 0,NULL, PG_QUERY__ON_COMMIT_ACTION__ON_COMMIT_ACTION_UNDEFINED, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__Constraint -{ - ProtobufCMessage base; - PgQuery__ConstrType contype; - char *conname; - protobuf_c_boolean deferrable; - protobuf_c_boolean initdeferred; - protobuf_c_boolean is_enforced; - protobuf_c_boolean skip_validation; - protobuf_c_boolean initially_valid; - protobuf_c_boolean is_no_inherit; - PgQuery__Node *raw_expr; - char *cooked_expr; - char *generated_when; - char *generated_kind; - protobuf_c_boolean nulls_not_distinct; - size_t n_keys; - PgQuery__Node **keys; - protobuf_c_boolean without_overlaps; - size_t n_including; - PgQuery__Node **including; - size_t n_exclusions; - PgQuery__Node **exclusions; - size_t n_options; - PgQuery__Node **options; - char *indexname; - char *indexspace; - protobuf_c_boolean reset_default_tblspc; - char *access_method; - PgQuery__Node *where_clause; - PgQuery__RangeVar *pktable; - size_t n_fk_attrs; - PgQuery__Node **fk_attrs; - size_t n_pk_attrs; - PgQuery__Node **pk_attrs; - protobuf_c_boolean fk_with_period; - protobuf_c_boolean pk_with_period; - char *fk_matchtype; - char *fk_upd_action; - char *fk_del_action; - size_t n_fk_del_set_cols; - PgQuery__Node **fk_del_set_cols; - size_t n_old_conpfeqop; - PgQuery__Node **old_conpfeqop; - uint32_t old_pktable_oid; - int32_t location; -}; -#define PG_QUERY__CONSTRAINT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__constraint__descriptor) \ -, PG_QUERY__CONSTR_TYPE__CONSTR_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0,NULL, 0, 0,NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, (char *)protobuf_c_empty_string, NULL, NULL, 0,NULL, 0,NULL, 0, 0, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0, 0 } - - -struct PgQuery__CreateTableSpaceStmt -{ - ProtobufCMessage base; - char *tablespacename; - PgQuery__RoleSpec *owner; - char *location; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__CREATE_TABLE_SPACE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_table_space_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__DropTableSpaceStmt -{ - ProtobufCMessage base; - char *tablespacename; - protobuf_c_boolean missing_ok; -}; -#define PG_QUERY__DROP_TABLE_SPACE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__drop_table_space_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__AlterTableSpaceOptionsStmt -{ - ProtobufCMessage base; - char *tablespacename; - size_t n_options; - PgQuery__Node **options; - protobuf_c_boolean is_reset; -}; -#define PG_QUERY__ALTER_TABLE_SPACE_OPTIONS_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_table_space_options_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, 0 } - - -struct PgQuery__AlterTableMoveAllStmt -{ - ProtobufCMessage base; - char *orig_tablespacename; - PgQuery__ObjectType objtype; - size_t n_roles; - PgQuery__Node **roles; - char *new_tablespacename; - protobuf_c_boolean nowait; -}; -#define PG_QUERY__ALTER_TABLE_MOVE_ALL_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_table_move_all_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, 0,NULL, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__CreateExtensionStmt -{ - ProtobufCMessage base; - char *extname; - protobuf_c_boolean if_not_exists; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__CREATE_EXTENSION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_extension_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0, 0,NULL } - - -struct PgQuery__AlterExtensionStmt -{ - ProtobufCMessage base; - char *extname; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__ALTER_EXTENSION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_extension_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__AlterExtensionContentsStmt -{ - ProtobufCMessage base; - char *extname; - int32_t action; - PgQuery__ObjectType objtype; - PgQuery__Node *object; -}; -#define PG_QUERY__ALTER_EXTENSION_CONTENTS_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_extension_contents_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, NULL } - - -struct PgQuery__CreateFdwStmt -{ - ProtobufCMessage base; - char *fdwname; - size_t n_func_options; - PgQuery__Node **func_options; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__CREATE_FDW_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_fdw_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL } - - -struct PgQuery__AlterFdwStmt -{ - ProtobufCMessage base; - char *fdwname; - size_t n_func_options; - PgQuery__Node **func_options; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__ALTER_FDW_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_fdw_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL } - - -struct PgQuery__CreateForeignServerStmt -{ - ProtobufCMessage base; - char *servername; - char *servertype; - char *version; - char *fdwname; - protobuf_c_boolean if_not_exists; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__CREATE_FOREIGN_SERVER_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_foreign_server_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0,NULL } - - -struct PgQuery__AlterForeignServerStmt -{ - ProtobufCMessage base; - char *servername; - char *version; - size_t n_options; - PgQuery__Node **options; - protobuf_c_boolean has_version; -}; -#define PG_QUERY__ALTER_FOREIGN_SERVER_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_foreign_server_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0 } - - -struct PgQuery__CreateForeignTableStmt -{ - ProtobufCMessage base; - PgQuery__CreateStmt *base_stmt; - char *servername; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__CREATE_FOREIGN_TABLE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_foreign_table_stmt__descriptor) \ -, NULL, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__CreateUserMappingStmt -{ - ProtobufCMessage base; - PgQuery__RoleSpec *user; - char *servername; - protobuf_c_boolean if_not_exists; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__CREATE_USER_MAPPING_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_user_mapping_stmt__descriptor) \ -, NULL, (char *)protobuf_c_empty_string, 0, 0,NULL } - - -struct PgQuery__AlterUserMappingStmt -{ - ProtobufCMessage base; - PgQuery__RoleSpec *user; - char *servername; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__ALTER_USER_MAPPING_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_user_mapping_stmt__descriptor) \ -, NULL, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__DropUserMappingStmt -{ - ProtobufCMessage base; - PgQuery__RoleSpec *user; - char *servername; - protobuf_c_boolean missing_ok; -}; -#define PG_QUERY__DROP_USER_MAPPING_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__drop_user_mapping_stmt__descriptor) \ -, NULL, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__ImportForeignSchemaStmt -{ - ProtobufCMessage base; - char *server_name; - char *remote_schema; - char *local_schema; - PgQuery__ImportForeignSchemaType list_type; - size_t n_table_list; - PgQuery__Node **table_list; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__IMPORT_FOREIGN_SCHEMA_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__import_foreign_schema_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, PG_QUERY__IMPORT_FOREIGN_SCHEMA_TYPE__IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED, 0,NULL, 0,NULL } - - -struct PgQuery__CreatePolicyStmt -{ - ProtobufCMessage base; - char *policy_name; - PgQuery__RangeVar *table; - char *cmd_name; - protobuf_c_boolean permissive; - size_t n_roles; - PgQuery__Node **roles; - PgQuery__Node *qual; - PgQuery__Node *with_check; -}; -#define PG_QUERY__CREATE_POLICY_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_policy_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, 0, 0,NULL, NULL, NULL } - - -struct PgQuery__AlterPolicyStmt -{ - ProtobufCMessage base; - char *policy_name; - PgQuery__RangeVar *table; - size_t n_roles; - PgQuery__Node **roles; - PgQuery__Node *qual; - PgQuery__Node *with_check; -}; -#define PG_QUERY__ALTER_POLICY_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_policy_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, NULL, 0,NULL, NULL, NULL } - - -struct PgQuery__CreateAmStmt -{ - ProtobufCMessage base; - char *amname; - size_t n_handler_name; - PgQuery__Node **handler_name; - char *amtype; -}; -#define PG_QUERY__CREATE_AM_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_am_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, (char *)protobuf_c_empty_string } - - -struct PgQuery__CreateTrigStmt -{ - ProtobufCMessage base; - protobuf_c_boolean replace; - protobuf_c_boolean isconstraint; - char *trigname; - PgQuery__RangeVar *relation; - size_t n_funcname; - PgQuery__Node **funcname; - size_t n_args; - PgQuery__Node **args; - protobuf_c_boolean row; - int32_t timing; - int32_t events; - size_t n_columns; - PgQuery__Node **columns; - PgQuery__Node *when_clause; - size_t n_transition_rels; - PgQuery__Node **transition_rels; - protobuf_c_boolean deferrable; - protobuf_c_boolean initdeferred; - PgQuery__RangeVar *constrrel; -}; -#define PG_QUERY__CREATE_TRIG_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_trig_stmt__descriptor) \ -, 0, 0, (char *)protobuf_c_empty_string, NULL, 0,NULL, 0,NULL, 0, 0, 0, 0,NULL, NULL, 0,NULL, 0, 0, NULL } - - -struct PgQuery__CreateEventTrigStmt -{ - ProtobufCMessage base; - char *trigname; - char *eventname; - size_t n_whenclause; - PgQuery__Node **whenclause; - size_t n_funcname; - PgQuery__Node **funcname; -}; -#define PG_QUERY__CREATE_EVENT_TRIG_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_event_trig_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL } - - -struct PgQuery__AlterEventTrigStmt -{ - ProtobufCMessage base; - char *trigname; - char *tgenabled; -}; -#define PG_QUERY__ALTER_EVENT_TRIG_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_event_trig_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string } - - -struct PgQuery__CreatePLangStmt -{ - ProtobufCMessage base; - protobuf_c_boolean replace; - char *plname; - size_t n_plhandler; - PgQuery__Node **plhandler; - size_t n_plinline; - PgQuery__Node **plinline; - size_t n_plvalidator; - PgQuery__Node **plvalidator; - protobuf_c_boolean pltrusted; -}; -#define PG_QUERY__CREATE_PLANG_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_plang_stmt__descriptor) \ -, 0, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0,NULL, 0 } - - -struct PgQuery__CreateRoleStmt -{ - ProtobufCMessage base; - PgQuery__RoleStmtType stmt_type; - char *role; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__CREATE_ROLE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_role_stmt__descriptor) \ -, PG_QUERY__ROLE_STMT_TYPE__ROLE_STMT_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__AlterRoleStmt -{ - ProtobufCMessage base; - PgQuery__RoleSpec *role; - size_t n_options; - PgQuery__Node **options; - int32_t action; -}; -#define PG_QUERY__ALTER_ROLE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_role_stmt__descriptor) \ -, NULL, 0,NULL, 0 } - - -struct PgQuery__AlterRoleSetStmt -{ - ProtobufCMessage base; - PgQuery__RoleSpec *role; - char *database; - PgQuery__VariableSetStmt *setstmt; -}; -#define PG_QUERY__ALTER_ROLE_SET_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_role_set_stmt__descriptor) \ -, NULL, (char *)protobuf_c_empty_string, NULL } - - -struct PgQuery__DropRoleStmt -{ - ProtobufCMessage base; - size_t n_roles; - PgQuery__Node **roles; - protobuf_c_boolean missing_ok; -}; -#define PG_QUERY__DROP_ROLE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__drop_role_stmt__descriptor) \ -, 0,NULL, 0 } - - -struct PgQuery__CreateSeqStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *sequence; - size_t n_options; - PgQuery__Node **options; - uint32_t owner_id; - protobuf_c_boolean for_identity; - protobuf_c_boolean if_not_exists; -}; -#define PG_QUERY__CREATE_SEQ_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_seq_stmt__descriptor) \ -, NULL, 0,NULL, 0, 0, 0 } - - -struct PgQuery__AlterSeqStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *sequence; - size_t n_options; - PgQuery__Node **options; - protobuf_c_boolean for_identity; - protobuf_c_boolean missing_ok; -}; -#define PG_QUERY__ALTER_SEQ_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_seq_stmt__descriptor) \ -, NULL, 0,NULL, 0, 0 } - - -struct PgQuery__DefineStmt -{ - ProtobufCMessage base; - PgQuery__ObjectType kind; - protobuf_c_boolean oldstyle; - size_t n_defnames; - PgQuery__Node **defnames; - size_t n_args; - PgQuery__Node **args; - size_t n_definition; - PgQuery__Node **definition; - protobuf_c_boolean if_not_exists; - protobuf_c_boolean replace; -}; -#define PG_QUERY__DEFINE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__define_stmt__descriptor) \ -, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, 0, 0,NULL, 0,NULL, 0,NULL, 0, 0 } - - -struct PgQuery__CreateDomainStmt -{ - ProtobufCMessage base; - size_t n_domainname; - PgQuery__Node **domainname; - PgQuery__TypeName *type_name; - PgQuery__CollateClause *coll_clause; - size_t n_constraints; - PgQuery__Node **constraints; -}; -#define PG_QUERY__CREATE_DOMAIN_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_domain_stmt__descriptor) \ -, 0,NULL, NULL, NULL, 0,NULL } - - -struct PgQuery__CreateOpClassStmt -{ - ProtobufCMessage base; - size_t n_opclassname; - PgQuery__Node **opclassname; - size_t n_opfamilyname; - PgQuery__Node **opfamilyname; - char *amname; - PgQuery__TypeName *datatype; - size_t n_items; - PgQuery__Node **items; - protobuf_c_boolean is_default; -}; -#define PG_QUERY__CREATE_OP_CLASS_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_op_class_stmt__descriptor) \ -, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, NULL, 0,NULL, 0 } - - -struct PgQuery__CreateOpClassItem -{ - ProtobufCMessage base; - int32_t itemtype; - PgQuery__ObjectWithArgs *name; - int32_t number; - size_t n_order_family; - PgQuery__Node **order_family; - size_t n_class_args; - PgQuery__Node **class_args; - PgQuery__TypeName *storedtype; -}; -#define PG_QUERY__CREATE_OP_CLASS_ITEM__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_op_class_item__descriptor) \ -, 0, NULL, 0, 0,NULL, 0,NULL, NULL } - - -struct PgQuery__CreateOpFamilyStmt -{ - ProtobufCMessage base; - size_t n_opfamilyname; - PgQuery__Node **opfamilyname; - char *amname; -}; -#define PG_QUERY__CREATE_OP_FAMILY_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_op_family_stmt__descriptor) \ -, 0,NULL, (char *)protobuf_c_empty_string } - - -struct PgQuery__AlterOpFamilyStmt -{ - ProtobufCMessage base; - size_t n_opfamilyname; - PgQuery__Node **opfamilyname; - char *amname; - protobuf_c_boolean is_drop; - size_t n_items; - PgQuery__Node **items; -}; -#define PG_QUERY__ALTER_OP_FAMILY_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_op_family_stmt__descriptor) \ -, 0,NULL, (char *)protobuf_c_empty_string, 0, 0,NULL } - - -struct PgQuery__DropStmt -{ - ProtobufCMessage base; - size_t n_objects; - PgQuery__Node **objects; - PgQuery__ObjectType remove_type; - PgQuery__DropBehavior behavior; - protobuf_c_boolean missing_ok; - protobuf_c_boolean concurrent; -}; -#define PG_QUERY__DROP_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__drop_stmt__descriptor) \ -, 0,NULL, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED, 0, 0 } - - -struct PgQuery__TruncateStmt -{ - ProtobufCMessage base; - size_t n_relations; - PgQuery__Node **relations; - protobuf_c_boolean restart_seqs; - PgQuery__DropBehavior behavior; -}; -#define PG_QUERY__TRUNCATE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__truncate_stmt__descriptor) \ -, 0,NULL, 0, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED } - - -struct PgQuery__CommentStmt -{ - ProtobufCMessage base; - PgQuery__ObjectType objtype; - PgQuery__Node *object; - char *comment; -}; -#define PG_QUERY__COMMENT_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__comment_stmt__descriptor) \ -, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, NULL, (char *)protobuf_c_empty_string } - - -struct PgQuery__SecLabelStmt -{ - ProtobufCMessage base; - PgQuery__ObjectType objtype; - PgQuery__Node *object; - char *provider; - char *label; -}; -#define PG_QUERY__SEC_LABEL_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__sec_label_stmt__descriptor) \ -, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string } - - -struct PgQuery__DeclareCursorStmt -{ - ProtobufCMessage base; - char *portalname; - int32_t options; - PgQuery__Node *query; -}; -#define PG_QUERY__DECLARE_CURSOR_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__declare_cursor_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0, NULL } - - -struct PgQuery__ClosePortalStmt -{ - ProtobufCMessage base; - char *portalname; -}; -#define PG_QUERY__CLOSE_PORTAL_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__close_portal_stmt__descriptor) \ -, (char *)protobuf_c_empty_string } - - -struct PgQuery__FetchStmt -{ - ProtobufCMessage base; - PgQuery__FetchDirection direction; - int64_t how_many; - char *portalname; - protobuf_c_boolean ismove; -}; -#define PG_QUERY__FETCH_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__fetch_stmt__descriptor) \ -, PG_QUERY__FETCH_DIRECTION__FETCH_DIRECTION_UNDEFINED, 0, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__IndexStmt -{ - ProtobufCMessage base; - char *idxname; - PgQuery__RangeVar *relation; - char *access_method; - char *table_space; - size_t n_index_params; - PgQuery__Node **index_params; - size_t n_index_including_params; - PgQuery__Node **index_including_params; - size_t n_options; - PgQuery__Node **options; - PgQuery__Node *where_clause; - size_t n_exclude_op_names; - PgQuery__Node **exclude_op_names; - char *idxcomment; - uint32_t index_oid; - uint32_t old_number; - uint32_t old_create_subid; - uint32_t old_first_relfilelocator_subid; - protobuf_c_boolean unique; - protobuf_c_boolean nulls_not_distinct; - protobuf_c_boolean primary; - protobuf_c_boolean isconstraint; - protobuf_c_boolean iswithoutoverlaps; - protobuf_c_boolean deferrable; - protobuf_c_boolean initdeferred; - protobuf_c_boolean transformed; - protobuf_c_boolean concurrent; - protobuf_c_boolean if_not_exists; - protobuf_c_boolean reset_default_tblspc; -}; -#define PG_QUERY__INDEX_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__index_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0,NULL, NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } - - -struct PgQuery__CreateStatsStmt -{ - ProtobufCMessage base; - size_t n_defnames; - PgQuery__Node **defnames; - size_t n_stat_types; - PgQuery__Node **stat_types; - size_t n_exprs; - PgQuery__Node **exprs; - size_t n_relations; - PgQuery__Node **relations; - char *stxcomment; - protobuf_c_boolean transformed; - protobuf_c_boolean if_not_exists; -}; -#define PG_QUERY__CREATE_STATS_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_stats_stmt__descriptor) \ -, 0,NULL, 0,NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string, 0, 0 } - - -struct PgQuery__StatsElem -{ - ProtobufCMessage base; - char *name; - PgQuery__Node *expr; -}; -#define PG_QUERY__STATS_ELEM__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__stats_elem__descriptor) \ -, (char *)protobuf_c_empty_string, NULL } - - -struct PgQuery__AlterStatsStmt -{ - ProtobufCMessage base; - size_t n_defnames; - PgQuery__Node **defnames; - PgQuery__Node *stxstattarget; - protobuf_c_boolean missing_ok; -}; -#define PG_QUERY__ALTER_STATS_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_stats_stmt__descriptor) \ -, 0,NULL, NULL, 0 } - - -struct PgQuery__CreateFunctionStmt -{ - ProtobufCMessage base; - protobuf_c_boolean is_procedure; - protobuf_c_boolean replace; - size_t n_funcname; - PgQuery__Node **funcname; - size_t n_parameters; - PgQuery__Node **parameters; - PgQuery__TypeName *return_type; - size_t n_options; - PgQuery__Node **options; - PgQuery__Node *sql_body; -}; -#define PG_QUERY__CREATE_FUNCTION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_function_stmt__descriptor) \ -, 0, 0, 0,NULL, 0,NULL, NULL, 0,NULL, NULL } - - -struct PgQuery__FunctionParameter -{ - ProtobufCMessage base; - char *name; - PgQuery__TypeName *arg_type; - PgQuery__FunctionParameterMode mode; - PgQuery__Node *defexpr; - int32_t location; -}; -#define PG_QUERY__FUNCTION_PARAMETER__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__function_parameter__descriptor) \ -, (char *)protobuf_c_empty_string, NULL, PG_QUERY__FUNCTION_PARAMETER_MODE__FUNCTION_PARAMETER_MODE_UNDEFINED, NULL, 0 } - - -struct PgQuery__AlterFunctionStmt -{ - ProtobufCMessage base; - PgQuery__ObjectType objtype; - PgQuery__ObjectWithArgs *func; - size_t n_actions; - PgQuery__Node **actions; -}; -#define PG_QUERY__ALTER_FUNCTION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_function_stmt__descriptor) \ -, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, NULL, 0,NULL } - - -struct PgQuery__DoStmt -{ - ProtobufCMessage base; - size_t n_args; - PgQuery__Node **args; -}; -#define PG_QUERY__DO_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__do_stmt__descriptor) \ -, 0,NULL } - - -struct PgQuery__InlineCodeBlock -{ - ProtobufCMessage base; - char *source_text; - uint32_t lang_oid; - protobuf_c_boolean lang_is_trusted; - protobuf_c_boolean atomic; -}; -#define PG_QUERY__INLINE_CODE_BLOCK__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__inline_code_block__descriptor) \ -, (char *)protobuf_c_empty_string, 0, 0, 0 } - - -struct PgQuery__CallStmt -{ - ProtobufCMessage base; - PgQuery__FuncCall *funccall; - PgQuery__FuncExpr *funcexpr; - size_t n_outargs; - PgQuery__Node **outargs; -}; -#define PG_QUERY__CALL_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__call_stmt__descriptor) \ -, NULL, NULL, 0,NULL } - - -struct PgQuery__CallContext -{ - ProtobufCMessage base; - protobuf_c_boolean atomic; -}; -#define PG_QUERY__CALL_CONTEXT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__call_context__descriptor) \ -, 0 } - - -struct PgQuery__RenameStmt -{ - ProtobufCMessage base; - PgQuery__ObjectType rename_type; - PgQuery__ObjectType relation_type; - PgQuery__RangeVar *relation; - PgQuery__Node *object; - char *subname; - char *newname; - PgQuery__DropBehavior behavior; - protobuf_c_boolean missing_ok; -}; -#define PG_QUERY__RENAME_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__rename_stmt__descriptor) \ -, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, NULL, NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED, 0 } - - -struct PgQuery__AlterObjectDependsStmt -{ - ProtobufCMessage base; - PgQuery__ObjectType object_type; - PgQuery__RangeVar *relation; - PgQuery__Node *object; - PgQuery__String *extname; - protobuf_c_boolean remove; -}; -#define PG_QUERY__ALTER_OBJECT_DEPENDS_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_object_depends_stmt__descriptor) \ -, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, NULL, NULL, NULL, 0 } - - -struct PgQuery__AlterObjectSchemaStmt -{ - ProtobufCMessage base; - PgQuery__ObjectType object_type; - PgQuery__RangeVar *relation; - PgQuery__Node *object; - char *newschema; - protobuf_c_boolean missing_ok; -}; -#define PG_QUERY__ALTER_OBJECT_SCHEMA_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_object_schema_stmt__descriptor) \ -, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, NULL, NULL, (char *)protobuf_c_empty_string, 0 } - - -struct PgQuery__AlterOwnerStmt -{ - ProtobufCMessage base; - PgQuery__ObjectType object_type; - PgQuery__RangeVar *relation; - PgQuery__Node *object; - PgQuery__RoleSpec *newowner; -}; -#define PG_QUERY__ALTER_OWNER_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_owner_stmt__descriptor) \ -, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, NULL, NULL, NULL } - - -struct PgQuery__AlterOperatorStmt -{ - ProtobufCMessage base; - PgQuery__ObjectWithArgs *opername; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__ALTER_OPERATOR_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_operator_stmt__descriptor) \ -, NULL, 0,NULL } - - -struct PgQuery__AlterTypeStmt -{ - ProtobufCMessage base; - size_t n_type_name; - PgQuery__Node **type_name; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__ALTER_TYPE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_type_stmt__descriptor) \ -, 0,NULL, 0,NULL } - - -struct PgQuery__RuleStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - char *rulename; - PgQuery__Node *where_clause; - PgQuery__CmdType event; - protobuf_c_boolean instead; - size_t n_actions; - PgQuery__Node **actions; - protobuf_c_boolean replace; -}; -#define PG_QUERY__RULE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__rule_stmt__descriptor) \ -, NULL, (char *)protobuf_c_empty_string, NULL, PG_QUERY__CMD_TYPE__CMD_TYPE_UNDEFINED, 0, 0,NULL, 0 } - - -struct PgQuery__NotifyStmt -{ - ProtobufCMessage base; - char *conditionname; - char *payload; -}; -#define PG_QUERY__NOTIFY_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__notify_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string } - - -struct PgQuery__ListenStmt -{ - ProtobufCMessage base; - char *conditionname; -}; -#define PG_QUERY__LISTEN_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__listen_stmt__descriptor) \ -, (char *)protobuf_c_empty_string } - - -struct PgQuery__UnlistenStmt -{ - ProtobufCMessage base; - char *conditionname; -}; -#define PG_QUERY__UNLISTEN_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__unlisten_stmt__descriptor) \ -, (char *)protobuf_c_empty_string } - - -struct PgQuery__TransactionStmt -{ - ProtobufCMessage base; - PgQuery__TransactionStmtKind kind; - size_t n_options; - PgQuery__Node **options; - char *savepoint_name; - char *gid; - protobuf_c_boolean chain; - int32_t location; -}; -#define PG_QUERY__TRANSACTION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__transaction_stmt__descriptor) \ -, PG_QUERY__TRANSACTION_STMT_KIND__TRANSACTION_STMT_KIND_UNDEFINED, 0,NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0 } - - -struct PgQuery__CompositeTypeStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *typevar; - size_t n_coldeflist; - PgQuery__Node **coldeflist; -}; -#define PG_QUERY__COMPOSITE_TYPE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__composite_type_stmt__descriptor) \ -, NULL, 0,NULL } - - -struct PgQuery__CreateEnumStmt -{ - ProtobufCMessage base; - size_t n_type_name; - PgQuery__Node **type_name; - size_t n_vals; - PgQuery__Node **vals; -}; -#define PG_QUERY__CREATE_ENUM_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_enum_stmt__descriptor) \ -, 0,NULL, 0,NULL } - - -struct PgQuery__CreateRangeStmt -{ - ProtobufCMessage base; - size_t n_type_name; - PgQuery__Node **type_name; - size_t n_params; - PgQuery__Node **params; -}; -#define PG_QUERY__CREATE_RANGE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_range_stmt__descriptor) \ -, 0,NULL, 0,NULL } - - -struct PgQuery__AlterEnumStmt -{ - ProtobufCMessage base; - size_t n_type_name; - PgQuery__Node **type_name; - char *old_val; - char *new_val; - char *new_val_neighbor; - protobuf_c_boolean new_val_is_after; - protobuf_c_boolean skip_if_new_val_exists; -}; -#define PG_QUERY__ALTER_ENUM_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_enum_stmt__descriptor) \ -, 0,NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0 } - - -struct PgQuery__ViewStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *view; - size_t n_aliases; - PgQuery__Node **aliases; - PgQuery__Node *query; - protobuf_c_boolean replace; - size_t n_options; - PgQuery__Node **options; - PgQuery__ViewCheckOption with_check_option; -}; -#define PG_QUERY__VIEW_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__view_stmt__descriptor) \ -, NULL, 0,NULL, NULL, 0, 0,NULL, PG_QUERY__VIEW_CHECK_OPTION__VIEW_CHECK_OPTION_UNDEFINED } - - -struct PgQuery__LoadStmt -{ - ProtobufCMessage base; - char *filename; -}; -#define PG_QUERY__LOAD_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__load_stmt__descriptor) \ -, (char *)protobuf_c_empty_string } - - -struct PgQuery__CreatedbStmt -{ - ProtobufCMessage base; - char *dbname; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__CREATEDB_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__createdb_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__AlterDatabaseStmt -{ - ProtobufCMessage base; - char *dbname; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__ALTER_DATABASE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_database_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__AlterDatabaseRefreshCollStmt -{ - ProtobufCMessage base; - char *dbname; -}; -#define PG_QUERY__ALTER_DATABASE_REFRESH_COLL_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_database_refresh_coll_stmt__descriptor) \ -, (char *)protobuf_c_empty_string } - - -struct PgQuery__AlterDatabaseSetStmt -{ - ProtobufCMessage base; - char *dbname; - PgQuery__VariableSetStmt *setstmt; -}; -#define PG_QUERY__ALTER_DATABASE_SET_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_database_set_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, NULL } - - -struct PgQuery__DropdbStmt -{ - ProtobufCMessage base; - char *dbname; - protobuf_c_boolean missing_ok; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__DROPDB_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__dropdb_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0, 0,NULL } - - -struct PgQuery__AlterSystemStmt -{ - ProtobufCMessage base; - PgQuery__VariableSetStmt *setstmt; -}; -#define PG_QUERY__ALTER_SYSTEM_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_system_stmt__descriptor) \ -, NULL } - - -struct PgQuery__ClusterStmt -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - char *indexname; - size_t n_params; - PgQuery__Node **params; -}; -#define PG_QUERY__CLUSTER_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__cluster_stmt__descriptor) \ -, NULL, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__VacuumStmt -{ - ProtobufCMessage base; - size_t n_options; - PgQuery__Node **options; - size_t n_rels; - PgQuery__Node **rels; - protobuf_c_boolean is_vacuumcmd; -}; -#define PG_QUERY__VACUUM_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__vacuum_stmt__descriptor) \ -, 0,NULL, 0,NULL, 0 } - - -struct PgQuery__VacuumRelation -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - uint32_t oid; - size_t n_va_cols; - PgQuery__Node **va_cols; -}; -#define PG_QUERY__VACUUM_RELATION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__vacuum_relation__descriptor) \ -, NULL, 0, 0,NULL } - - -struct PgQuery__ExplainStmt -{ - ProtobufCMessage base; - PgQuery__Node *query; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__EXPLAIN_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__explain_stmt__descriptor) \ -, NULL, 0,NULL } - - -struct PgQuery__CreateTableAsStmt -{ - ProtobufCMessage base; - PgQuery__Node *query; - PgQuery__IntoClause *into; - PgQuery__ObjectType objtype; - protobuf_c_boolean is_select_into; - protobuf_c_boolean if_not_exists; -}; -#define PG_QUERY__CREATE_TABLE_AS_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_table_as_stmt__descriptor) \ -, NULL, NULL, PG_QUERY__OBJECT_TYPE__OBJECT_TYPE_UNDEFINED, 0, 0 } - - -struct PgQuery__RefreshMatViewStmt -{ - ProtobufCMessage base; - protobuf_c_boolean concurrent; - protobuf_c_boolean skip_data; - PgQuery__RangeVar *relation; -}; -#define PG_QUERY__REFRESH_MAT_VIEW_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__refresh_mat_view_stmt__descriptor) \ -, 0, 0, NULL } - - -struct PgQuery__CheckPointStmt -{ - ProtobufCMessage base; -}; -#define PG_QUERY__CHECK_POINT_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__check_point_stmt__descriptor) \ - } - - -struct PgQuery__DiscardStmt -{ - ProtobufCMessage base; - PgQuery__DiscardMode target; -}; -#define PG_QUERY__DISCARD_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__discard_stmt__descriptor) \ -, PG_QUERY__DISCARD_MODE__DISCARD_MODE_UNDEFINED } - - -struct PgQuery__LockStmt -{ - ProtobufCMessage base; - size_t n_relations; - PgQuery__Node **relations; - int32_t mode; - protobuf_c_boolean nowait; -}; -#define PG_QUERY__LOCK_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__lock_stmt__descriptor) \ -, 0,NULL, 0, 0 } - - -struct PgQuery__ConstraintsSetStmt -{ - ProtobufCMessage base; - size_t n_constraints; - PgQuery__Node **constraints; - protobuf_c_boolean deferred; -}; -#define PG_QUERY__CONSTRAINTS_SET_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__constraints_set_stmt__descriptor) \ -, 0,NULL, 0 } - - -struct PgQuery__ReindexStmt -{ - ProtobufCMessage base; - PgQuery__ReindexObjectType kind; - PgQuery__RangeVar *relation; - char *name; - size_t n_params; - PgQuery__Node **params; -}; -#define PG_QUERY__REINDEX_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__reindex_stmt__descriptor) \ -, PG_QUERY__REINDEX_OBJECT_TYPE__REINDEX_OBJECT_TYPE_UNDEFINED, NULL, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__CreateConversionStmt -{ - ProtobufCMessage base; - size_t n_conversion_name; - PgQuery__Node **conversion_name; - char *for_encoding_name; - char *to_encoding_name; - size_t n_func_name; - PgQuery__Node **func_name; - protobuf_c_boolean def; -}; -#define PG_QUERY__CREATE_CONVERSION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_conversion_stmt__descriptor) \ -, 0,NULL, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0 } - - -struct PgQuery__CreateCastStmt -{ - ProtobufCMessage base; - PgQuery__TypeName *sourcetype; - PgQuery__TypeName *targettype; - PgQuery__ObjectWithArgs *func; - PgQuery__CoercionContext context; - protobuf_c_boolean inout; -}; -#define PG_QUERY__CREATE_CAST_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_cast_stmt__descriptor) \ -, NULL, NULL, NULL, PG_QUERY__COERCION_CONTEXT__COERCION_CONTEXT_UNDEFINED, 0 } - - -struct PgQuery__CreateTransformStmt -{ - ProtobufCMessage base; - protobuf_c_boolean replace; - PgQuery__TypeName *type_name; - char *lang; - PgQuery__ObjectWithArgs *fromsql; - PgQuery__ObjectWithArgs *tosql; -}; -#define PG_QUERY__CREATE_TRANSFORM_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_transform_stmt__descriptor) \ -, 0, NULL, (char *)protobuf_c_empty_string, NULL, NULL } - - -struct PgQuery__PrepareStmt -{ - ProtobufCMessage base; - char *name; - size_t n_argtypes; - PgQuery__Node **argtypes; - PgQuery__Node *query; -}; -#define PG_QUERY__PREPARE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__prepare_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, NULL } - - -struct PgQuery__ExecuteStmt -{ - ProtobufCMessage base; - char *name; - size_t n_params; - PgQuery__Node **params; -}; -#define PG_QUERY__EXECUTE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__execute_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL } - - -struct PgQuery__DeallocateStmt -{ - ProtobufCMessage base; - char *name; - protobuf_c_boolean isall; - int32_t location; -}; -#define PG_QUERY__DEALLOCATE_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__deallocate_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0, 0 } - - -struct PgQuery__DropOwnedStmt -{ - ProtobufCMessage base; - size_t n_roles; - PgQuery__Node **roles; - PgQuery__DropBehavior behavior; -}; -#define PG_QUERY__DROP_OWNED_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__drop_owned_stmt__descriptor) \ -, 0,NULL, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED } - - -struct PgQuery__ReassignOwnedStmt -{ - ProtobufCMessage base; - size_t n_roles; - PgQuery__Node **roles; - PgQuery__RoleSpec *newrole; -}; -#define PG_QUERY__REASSIGN_OWNED_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__reassign_owned_stmt__descriptor) \ -, 0,NULL, NULL } - - -struct PgQuery__AlterTSDictionaryStmt -{ - ProtobufCMessage base; - size_t n_dictname; - PgQuery__Node **dictname; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__ALTER_TSDICTIONARY_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_tsdictionary_stmt__descriptor) \ -, 0,NULL, 0,NULL } - - -struct PgQuery__AlterTSConfigurationStmt -{ - ProtobufCMessage base; - PgQuery__AlterTSConfigType kind; - size_t n_cfgname; - PgQuery__Node **cfgname; - size_t n_tokentype; - PgQuery__Node **tokentype; - size_t n_dicts; - PgQuery__Node **dicts; - protobuf_c_boolean override; - protobuf_c_boolean replace; - protobuf_c_boolean missing_ok; -}; -#define PG_QUERY__ALTER_TSCONFIGURATION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_tsconfiguration_stmt__descriptor) \ -, PG_QUERY__ALTER_TSCONFIG_TYPE__ALTER_TSCONFIG_TYPE_UNDEFINED, 0,NULL, 0,NULL, 0,NULL, 0, 0, 0 } - - -struct PgQuery__PublicationTable -{ - ProtobufCMessage base; - PgQuery__RangeVar *relation; - PgQuery__Node *where_clause; - size_t n_columns; - PgQuery__Node **columns; -}; -#define PG_QUERY__PUBLICATION_TABLE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__publication_table__descriptor) \ -, NULL, NULL, 0,NULL } - - -struct PgQuery__PublicationObjSpec -{ - ProtobufCMessage base; - PgQuery__PublicationObjSpecType pubobjtype; - char *name; - PgQuery__PublicationTable *pubtable; - int32_t location; -}; -#define PG_QUERY__PUBLICATION_OBJ_SPEC__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__publication_obj_spec__descriptor) \ -, PG_QUERY__PUBLICATION_OBJ_SPEC_TYPE__PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, NULL, 0 } - - -struct PgQuery__CreatePublicationStmt -{ - ProtobufCMessage base; - char *pubname; - size_t n_options; - PgQuery__Node **options; - size_t n_pubobjects; - PgQuery__Node **pubobjects; - protobuf_c_boolean for_all_tables; -}; -#define PG_QUERY__CREATE_PUBLICATION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_publication_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0 } - - -struct PgQuery__AlterPublicationStmt -{ - ProtobufCMessage base; - char *pubname; - size_t n_options; - PgQuery__Node **options; - size_t n_pubobjects; - PgQuery__Node **pubobjects; - protobuf_c_boolean for_all_tables; - PgQuery__AlterPublicationAction action; -}; -#define PG_QUERY__ALTER_PUBLICATION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_publication_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL, 0, PG_QUERY__ALTER_PUBLICATION_ACTION__ALTER_PUBLICATION_ACTION_UNDEFINED } - - -struct PgQuery__CreateSubscriptionStmt -{ - ProtobufCMessage base; - char *subname; - char *conninfo; - size_t n_publication; - PgQuery__Node **publication; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__CREATE_SUBSCRIPTION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__create_subscription_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL } - - -struct PgQuery__AlterSubscriptionStmt -{ - ProtobufCMessage base; - PgQuery__AlterSubscriptionType kind; - char *subname; - char *conninfo; - size_t n_publication; - PgQuery__Node **publication; - size_t n_options; - PgQuery__Node **options; -}; -#define PG_QUERY__ALTER_SUBSCRIPTION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__alter_subscription_stmt__descriptor) \ -, PG_QUERY__ALTER_SUBSCRIPTION_TYPE__ALTER_SUBSCRIPTION_TYPE_UNDEFINED, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, 0,NULL } - - -struct PgQuery__DropSubscriptionStmt -{ - ProtobufCMessage base; - char *subname; - protobuf_c_boolean missing_ok; - PgQuery__DropBehavior behavior; -}; -#define PG_QUERY__DROP_SUBSCRIPTION_STMT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__drop_subscription_stmt__descriptor) \ -, (char *)protobuf_c_empty_string, 0, PG_QUERY__DROP_BEHAVIOR__DROP_BEHAVIOR_UNDEFINED } - - -struct PgQuery__ScanToken -{ - ProtobufCMessage base; - int32_t start; - int32_t end; - PgQuery__Token token; - PgQuery__KeywordKind keyword_kind; -}; -#define PG_QUERY__SCAN_TOKEN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__scan_token__descriptor) \ -, 0, 0, PG_QUERY__TOKEN__NUL, PG_QUERY__KEYWORD_KIND__NO_KEYWORD } - - -struct PgQuery__SummaryResult__Table -{ - ProtobufCMessage base; - char *name; - char *schema_name; - char *table_name; - PgQuery__SummaryResult__Context context; -}; -#define PG_QUERY__SUMMARY_RESULT__TABLE__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__summary_result__table__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, PG_QUERY__SUMMARY_RESULT__CONTEXT__None } - - -struct PgQuery__SummaryResult__AliasesEntry -{ - ProtobufCMessage base; - char *key; - char *value; -}; -#define PG_QUERY__SUMMARY_RESULT__ALIASES_ENTRY__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__summary_result__aliases_entry__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string } - - -struct PgQuery__SummaryResult__Function -{ - ProtobufCMessage base; - char *name; - char *function_name; - /* - * optional - */ - char *schema_name; - PgQuery__SummaryResult__Context context; -}; -#define PG_QUERY__SUMMARY_RESULT__FUNCTION__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__summary_result__function__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, PG_QUERY__SUMMARY_RESULT__CONTEXT__None } - - -struct PgQuery__SummaryResult__FilterColumn -{ - ProtobufCMessage base; - /* - * optional - */ - char *schema_name; - /* - * optional - */ - char *table_name; - char *column; -}; -#define PG_QUERY__SUMMARY_RESULT__FILTER_COLUMN__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__summary_result__filter_column__descriptor) \ -, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string } - - -/* - * protobuf-c doesn't support optional fields, so any optional strings - * are just an empty string if it should be the equivalent of None/nil. - * These fields have `// optional` at the end of the line. - * Upstream issue: https://github.com/protobuf-c/protobuf-c/issues/476 - */ -struct PgQuery__SummaryResult -{ - ProtobufCMessage base; - size_t n_tables; - PgQuery__SummaryResult__Table **tables; - /* - * The value here is the table name (i.e. schema.table or just table). - */ - size_t n_aliases; - PgQuery__SummaryResult__AliasesEntry **aliases; - size_t n_cte_names; - char **cte_names; - size_t n_functions; - PgQuery__SummaryResult__Function **functions; - size_t n_filter_columns; - PgQuery__SummaryResult__FilterColumn **filter_columns; - size_t n_statement_types; - char **statement_types; - /* - * optional, empty if truncation limit is -1 - */ - char *truncated_query; -}; -#define PG_QUERY__SUMMARY_RESULT__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&pg_query__summary_result__descriptor) \ -, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, (char *)protobuf_c_empty_string } - - -/* PgQuery__ParseResult methods */ -void pg_query__parse_result__init - (PgQuery__ParseResult *message); -size_t pg_query__parse_result__get_packed_size - (const PgQuery__ParseResult *message); -size_t pg_query__parse_result__pack - (const PgQuery__ParseResult *message, - uint8_t *out); -size_t pg_query__parse_result__pack_to_buffer - (const PgQuery__ParseResult *message, - ProtobufCBuffer *buffer); -PgQuery__ParseResult * - pg_query__parse_result__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__parse_result__free_unpacked - (PgQuery__ParseResult *message, - ProtobufCAllocator *allocator); -/* PgQuery__ScanResult methods */ -void pg_query__scan_result__init - (PgQuery__ScanResult *message); -size_t pg_query__scan_result__get_packed_size - (const PgQuery__ScanResult *message); -size_t pg_query__scan_result__pack - (const PgQuery__ScanResult *message, - uint8_t *out); -size_t pg_query__scan_result__pack_to_buffer - (const PgQuery__ScanResult *message, - ProtobufCBuffer *buffer); -PgQuery__ScanResult * - pg_query__scan_result__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__scan_result__free_unpacked - (PgQuery__ScanResult *message, - ProtobufCAllocator *allocator); -/* PgQuery__Node methods */ -void pg_query__node__init - (PgQuery__Node *message); -size_t pg_query__node__get_packed_size - (const PgQuery__Node *message); -size_t pg_query__node__pack - (const PgQuery__Node *message, - uint8_t *out); -size_t pg_query__node__pack_to_buffer - (const PgQuery__Node *message, - ProtobufCBuffer *buffer); -PgQuery__Node * - pg_query__node__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__node__free_unpacked - (PgQuery__Node *message, - ProtobufCAllocator *allocator); -/* PgQuery__Integer methods */ -void pg_query__integer__init - (PgQuery__Integer *message); -size_t pg_query__integer__get_packed_size - (const PgQuery__Integer *message); -size_t pg_query__integer__pack - (const PgQuery__Integer *message, - uint8_t *out); -size_t pg_query__integer__pack_to_buffer - (const PgQuery__Integer *message, - ProtobufCBuffer *buffer); -PgQuery__Integer * - pg_query__integer__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__integer__free_unpacked - (PgQuery__Integer *message, - ProtobufCAllocator *allocator); -/* PgQuery__Float methods */ -void pg_query__float__init - (PgQuery__Float *message); -size_t pg_query__float__get_packed_size - (const PgQuery__Float *message); -size_t pg_query__float__pack - (const PgQuery__Float *message, - uint8_t *out); -size_t pg_query__float__pack_to_buffer - (const PgQuery__Float *message, - ProtobufCBuffer *buffer); -PgQuery__Float * - pg_query__float__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__float__free_unpacked - (PgQuery__Float *message, - ProtobufCAllocator *allocator); -/* PgQuery__Boolean methods */ -void pg_query__boolean__init - (PgQuery__Boolean *message); -size_t pg_query__boolean__get_packed_size - (const PgQuery__Boolean *message); -size_t pg_query__boolean__pack - (const PgQuery__Boolean *message, - uint8_t *out); -size_t pg_query__boolean__pack_to_buffer - (const PgQuery__Boolean *message, - ProtobufCBuffer *buffer); -PgQuery__Boolean * - pg_query__boolean__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__boolean__free_unpacked - (PgQuery__Boolean *message, - ProtobufCAllocator *allocator); -/* PgQuery__String methods */ -void pg_query__string__init - (PgQuery__String *message); -size_t pg_query__string__get_packed_size - (const PgQuery__String *message); -size_t pg_query__string__pack - (const PgQuery__String *message, - uint8_t *out); -size_t pg_query__string__pack_to_buffer - (const PgQuery__String *message, - ProtobufCBuffer *buffer); -PgQuery__String * - pg_query__string__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__string__free_unpacked - (PgQuery__String *message, - ProtobufCAllocator *allocator); -/* PgQuery__BitString methods */ -void pg_query__bit_string__init - (PgQuery__BitString *message); -size_t pg_query__bit_string__get_packed_size - (const PgQuery__BitString *message); -size_t pg_query__bit_string__pack - (const PgQuery__BitString *message, - uint8_t *out); -size_t pg_query__bit_string__pack_to_buffer - (const PgQuery__BitString *message, - ProtobufCBuffer *buffer); -PgQuery__BitString * - pg_query__bit_string__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__bit_string__free_unpacked - (PgQuery__BitString *message, - ProtobufCAllocator *allocator); -/* PgQuery__List methods */ -void pg_query__list__init - (PgQuery__List *message); -size_t pg_query__list__get_packed_size - (const PgQuery__List *message); -size_t pg_query__list__pack - (const PgQuery__List *message, - uint8_t *out); -size_t pg_query__list__pack_to_buffer - (const PgQuery__List *message, - ProtobufCBuffer *buffer); -PgQuery__List * - pg_query__list__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__list__free_unpacked - (PgQuery__List *message, - ProtobufCAllocator *allocator); -/* PgQuery__OidList methods */ -void pg_query__oid_list__init - (PgQuery__OidList *message); -size_t pg_query__oid_list__get_packed_size - (const PgQuery__OidList *message); -size_t pg_query__oid_list__pack - (const PgQuery__OidList *message, - uint8_t *out); -size_t pg_query__oid_list__pack_to_buffer - (const PgQuery__OidList *message, - ProtobufCBuffer *buffer); -PgQuery__OidList * - pg_query__oid_list__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__oid_list__free_unpacked - (PgQuery__OidList *message, - ProtobufCAllocator *allocator); -/* PgQuery__IntList methods */ -void pg_query__int_list__init - (PgQuery__IntList *message); -size_t pg_query__int_list__get_packed_size - (const PgQuery__IntList *message); -size_t pg_query__int_list__pack - (const PgQuery__IntList *message, - uint8_t *out); -size_t pg_query__int_list__pack_to_buffer - (const PgQuery__IntList *message, - ProtobufCBuffer *buffer); -PgQuery__IntList * - pg_query__int_list__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__int_list__free_unpacked - (PgQuery__IntList *message, - ProtobufCAllocator *allocator); -/* PgQuery__AConst methods */ -void pg_query__a__const__init - (PgQuery__AConst *message); -size_t pg_query__a__const__get_packed_size - (const PgQuery__AConst *message); -size_t pg_query__a__const__pack - (const PgQuery__AConst *message, - uint8_t *out); -size_t pg_query__a__const__pack_to_buffer - (const PgQuery__AConst *message, - ProtobufCBuffer *buffer); -PgQuery__AConst * - pg_query__a__const__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__a__const__free_unpacked - (PgQuery__AConst *message, - ProtobufCAllocator *allocator); -/* PgQuery__Alias methods */ -void pg_query__alias__init - (PgQuery__Alias *message); -size_t pg_query__alias__get_packed_size - (const PgQuery__Alias *message); -size_t pg_query__alias__pack - (const PgQuery__Alias *message, - uint8_t *out); -size_t pg_query__alias__pack_to_buffer - (const PgQuery__Alias *message, - ProtobufCBuffer *buffer); -PgQuery__Alias * - pg_query__alias__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alias__free_unpacked - (PgQuery__Alias *message, - ProtobufCAllocator *allocator); -/* PgQuery__RangeVar methods */ -void pg_query__range_var__init - (PgQuery__RangeVar *message); -size_t pg_query__range_var__get_packed_size - (const PgQuery__RangeVar *message); -size_t pg_query__range_var__pack - (const PgQuery__RangeVar *message, - uint8_t *out); -size_t pg_query__range_var__pack_to_buffer - (const PgQuery__RangeVar *message, - ProtobufCBuffer *buffer); -PgQuery__RangeVar * - pg_query__range_var__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__range_var__free_unpacked - (PgQuery__RangeVar *message, - ProtobufCAllocator *allocator); -/* PgQuery__TableFunc methods */ -void pg_query__table_func__init - (PgQuery__TableFunc *message); -size_t pg_query__table_func__get_packed_size - (const PgQuery__TableFunc *message); -size_t pg_query__table_func__pack - (const PgQuery__TableFunc *message, - uint8_t *out); -size_t pg_query__table_func__pack_to_buffer - (const PgQuery__TableFunc *message, - ProtobufCBuffer *buffer); -PgQuery__TableFunc * - pg_query__table_func__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__table_func__free_unpacked - (PgQuery__TableFunc *message, - ProtobufCAllocator *allocator); -/* PgQuery__IntoClause methods */ -void pg_query__into_clause__init - (PgQuery__IntoClause *message); -size_t pg_query__into_clause__get_packed_size - (const PgQuery__IntoClause *message); -size_t pg_query__into_clause__pack - (const PgQuery__IntoClause *message, - uint8_t *out); -size_t pg_query__into_clause__pack_to_buffer - (const PgQuery__IntoClause *message, - ProtobufCBuffer *buffer); -PgQuery__IntoClause * - pg_query__into_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__into_clause__free_unpacked - (PgQuery__IntoClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__Var methods */ -void pg_query__var__init - (PgQuery__Var *message); -size_t pg_query__var__get_packed_size - (const PgQuery__Var *message); -size_t pg_query__var__pack - (const PgQuery__Var *message, - uint8_t *out); -size_t pg_query__var__pack_to_buffer - (const PgQuery__Var *message, - ProtobufCBuffer *buffer); -PgQuery__Var * - pg_query__var__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__var__free_unpacked - (PgQuery__Var *message, - ProtobufCAllocator *allocator); -/* PgQuery__Param methods */ -void pg_query__param__init - (PgQuery__Param *message); -size_t pg_query__param__get_packed_size - (const PgQuery__Param *message); -size_t pg_query__param__pack - (const PgQuery__Param *message, - uint8_t *out); -size_t pg_query__param__pack_to_buffer - (const PgQuery__Param *message, - ProtobufCBuffer *buffer); -PgQuery__Param * - pg_query__param__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__param__free_unpacked - (PgQuery__Param *message, - ProtobufCAllocator *allocator); -/* PgQuery__Aggref methods */ -void pg_query__aggref__init - (PgQuery__Aggref *message); -size_t pg_query__aggref__get_packed_size - (const PgQuery__Aggref *message); -size_t pg_query__aggref__pack - (const PgQuery__Aggref *message, - uint8_t *out); -size_t pg_query__aggref__pack_to_buffer - (const PgQuery__Aggref *message, - ProtobufCBuffer *buffer); -PgQuery__Aggref * - pg_query__aggref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__aggref__free_unpacked - (PgQuery__Aggref *message, - ProtobufCAllocator *allocator); -/* PgQuery__GroupingFunc methods */ -void pg_query__grouping_func__init - (PgQuery__GroupingFunc *message); -size_t pg_query__grouping_func__get_packed_size - (const PgQuery__GroupingFunc *message); -size_t pg_query__grouping_func__pack - (const PgQuery__GroupingFunc *message, - uint8_t *out); -size_t pg_query__grouping_func__pack_to_buffer - (const PgQuery__GroupingFunc *message, - ProtobufCBuffer *buffer); -PgQuery__GroupingFunc * - pg_query__grouping_func__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__grouping_func__free_unpacked - (PgQuery__GroupingFunc *message, - ProtobufCAllocator *allocator); -/* PgQuery__WindowFunc methods */ -void pg_query__window_func__init - (PgQuery__WindowFunc *message); -size_t pg_query__window_func__get_packed_size - (const PgQuery__WindowFunc *message); -size_t pg_query__window_func__pack - (const PgQuery__WindowFunc *message, - uint8_t *out); -size_t pg_query__window_func__pack_to_buffer - (const PgQuery__WindowFunc *message, - ProtobufCBuffer *buffer); -PgQuery__WindowFunc * - pg_query__window_func__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__window_func__free_unpacked - (PgQuery__WindowFunc *message, - ProtobufCAllocator *allocator); -/* PgQuery__WindowFuncRunCondition methods */ -void pg_query__window_func_run_condition__init - (PgQuery__WindowFuncRunCondition *message); -size_t pg_query__window_func_run_condition__get_packed_size - (const PgQuery__WindowFuncRunCondition *message); -size_t pg_query__window_func_run_condition__pack - (const PgQuery__WindowFuncRunCondition *message, - uint8_t *out); -size_t pg_query__window_func_run_condition__pack_to_buffer - (const PgQuery__WindowFuncRunCondition *message, - ProtobufCBuffer *buffer); -PgQuery__WindowFuncRunCondition * - pg_query__window_func_run_condition__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__window_func_run_condition__free_unpacked - (PgQuery__WindowFuncRunCondition *message, - ProtobufCAllocator *allocator); -/* PgQuery__MergeSupportFunc methods */ -void pg_query__merge_support_func__init - (PgQuery__MergeSupportFunc *message); -size_t pg_query__merge_support_func__get_packed_size - (const PgQuery__MergeSupportFunc *message); -size_t pg_query__merge_support_func__pack - (const PgQuery__MergeSupportFunc *message, - uint8_t *out); -size_t pg_query__merge_support_func__pack_to_buffer - (const PgQuery__MergeSupportFunc *message, - ProtobufCBuffer *buffer); -PgQuery__MergeSupportFunc * - pg_query__merge_support_func__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__merge_support_func__free_unpacked - (PgQuery__MergeSupportFunc *message, - ProtobufCAllocator *allocator); -/* PgQuery__SubscriptingRef methods */ -void pg_query__subscripting_ref__init - (PgQuery__SubscriptingRef *message); -size_t pg_query__subscripting_ref__get_packed_size - (const PgQuery__SubscriptingRef *message); -size_t pg_query__subscripting_ref__pack - (const PgQuery__SubscriptingRef *message, - uint8_t *out); -size_t pg_query__subscripting_ref__pack_to_buffer - (const PgQuery__SubscriptingRef *message, - ProtobufCBuffer *buffer); -PgQuery__SubscriptingRef * - pg_query__subscripting_ref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__subscripting_ref__free_unpacked - (PgQuery__SubscriptingRef *message, - ProtobufCAllocator *allocator); -/* PgQuery__FuncExpr methods */ -void pg_query__func_expr__init - (PgQuery__FuncExpr *message); -size_t pg_query__func_expr__get_packed_size - (const PgQuery__FuncExpr *message); -size_t pg_query__func_expr__pack - (const PgQuery__FuncExpr *message, - uint8_t *out); -size_t pg_query__func_expr__pack_to_buffer - (const PgQuery__FuncExpr *message, - ProtobufCBuffer *buffer); -PgQuery__FuncExpr * - pg_query__func_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__func_expr__free_unpacked - (PgQuery__FuncExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__NamedArgExpr methods */ -void pg_query__named_arg_expr__init - (PgQuery__NamedArgExpr *message); -size_t pg_query__named_arg_expr__get_packed_size - (const PgQuery__NamedArgExpr *message); -size_t pg_query__named_arg_expr__pack - (const PgQuery__NamedArgExpr *message, - uint8_t *out); -size_t pg_query__named_arg_expr__pack_to_buffer - (const PgQuery__NamedArgExpr *message, - ProtobufCBuffer *buffer); -PgQuery__NamedArgExpr * - pg_query__named_arg_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__named_arg_expr__free_unpacked - (PgQuery__NamedArgExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__OpExpr methods */ -void pg_query__op_expr__init - (PgQuery__OpExpr *message); -size_t pg_query__op_expr__get_packed_size - (const PgQuery__OpExpr *message); -size_t pg_query__op_expr__pack - (const PgQuery__OpExpr *message, - uint8_t *out); -size_t pg_query__op_expr__pack_to_buffer - (const PgQuery__OpExpr *message, - ProtobufCBuffer *buffer); -PgQuery__OpExpr * - pg_query__op_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__op_expr__free_unpacked - (PgQuery__OpExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__DistinctExpr methods */ -void pg_query__distinct_expr__init - (PgQuery__DistinctExpr *message); -size_t pg_query__distinct_expr__get_packed_size - (const PgQuery__DistinctExpr *message); -size_t pg_query__distinct_expr__pack - (const PgQuery__DistinctExpr *message, - uint8_t *out); -size_t pg_query__distinct_expr__pack_to_buffer - (const PgQuery__DistinctExpr *message, - ProtobufCBuffer *buffer); -PgQuery__DistinctExpr * - pg_query__distinct_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__distinct_expr__free_unpacked - (PgQuery__DistinctExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__NullIfExpr methods */ -void pg_query__null_if_expr__init - (PgQuery__NullIfExpr *message); -size_t pg_query__null_if_expr__get_packed_size - (const PgQuery__NullIfExpr *message); -size_t pg_query__null_if_expr__pack - (const PgQuery__NullIfExpr *message, - uint8_t *out); -size_t pg_query__null_if_expr__pack_to_buffer - (const PgQuery__NullIfExpr *message, - ProtobufCBuffer *buffer); -PgQuery__NullIfExpr * - pg_query__null_if_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__null_if_expr__free_unpacked - (PgQuery__NullIfExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__ScalarArrayOpExpr methods */ -void pg_query__scalar_array_op_expr__init - (PgQuery__ScalarArrayOpExpr *message); -size_t pg_query__scalar_array_op_expr__get_packed_size - (const PgQuery__ScalarArrayOpExpr *message); -size_t pg_query__scalar_array_op_expr__pack - (const PgQuery__ScalarArrayOpExpr *message, - uint8_t *out); -size_t pg_query__scalar_array_op_expr__pack_to_buffer - (const PgQuery__ScalarArrayOpExpr *message, - ProtobufCBuffer *buffer); -PgQuery__ScalarArrayOpExpr * - pg_query__scalar_array_op_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__scalar_array_op_expr__free_unpacked - (PgQuery__ScalarArrayOpExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__BoolExpr methods */ -void pg_query__bool_expr__init - (PgQuery__BoolExpr *message); -size_t pg_query__bool_expr__get_packed_size - (const PgQuery__BoolExpr *message); -size_t pg_query__bool_expr__pack - (const PgQuery__BoolExpr *message, - uint8_t *out); -size_t pg_query__bool_expr__pack_to_buffer - (const PgQuery__BoolExpr *message, - ProtobufCBuffer *buffer); -PgQuery__BoolExpr * - pg_query__bool_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__bool_expr__free_unpacked - (PgQuery__BoolExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__SubLink methods */ -void pg_query__sub_link__init - (PgQuery__SubLink *message); -size_t pg_query__sub_link__get_packed_size - (const PgQuery__SubLink *message); -size_t pg_query__sub_link__pack - (const PgQuery__SubLink *message, - uint8_t *out); -size_t pg_query__sub_link__pack_to_buffer - (const PgQuery__SubLink *message, - ProtobufCBuffer *buffer); -PgQuery__SubLink * - pg_query__sub_link__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__sub_link__free_unpacked - (PgQuery__SubLink *message, - ProtobufCAllocator *allocator); -/* PgQuery__SubPlan methods */ -void pg_query__sub_plan__init - (PgQuery__SubPlan *message); -size_t pg_query__sub_plan__get_packed_size - (const PgQuery__SubPlan *message); -size_t pg_query__sub_plan__pack - (const PgQuery__SubPlan *message, - uint8_t *out); -size_t pg_query__sub_plan__pack_to_buffer - (const PgQuery__SubPlan *message, - ProtobufCBuffer *buffer); -PgQuery__SubPlan * - pg_query__sub_plan__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__sub_plan__free_unpacked - (PgQuery__SubPlan *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlternativeSubPlan methods */ -void pg_query__alternative_sub_plan__init - (PgQuery__AlternativeSubPlan *message); -size_t pg_query__alternative_sub_plan__get_packed_size - (const PgQuery__AlternativeSubPlan *message); -size_t pg_query__alternative_sub_plan__pack - (const PgQuery__AlternativeSubPlan *message, - uint8_t *out); -size_t pg_query__alternative_sub_plan__pack_to_buffer - (const PgQuery__AlternativeSubPlan *message, - ProtobufCBuffer *buffer); -PgQuery__AlternativeSubPlan * - pg_query__alternative_sub_plan__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alternative_sub_plan__free_unpacked - (PgQuery__AlternativeSubPlan *message, - ProtobufCAllocator *allocator); -/* PgQuery__FieldSelect methods */ -void pg_query__field_select__init - (PgQuery__FieldSelect *message); -size_t pg_query__field_select__get_packed_size - (const PgQuery__FieldSelect *message); -size_t pg_query__field_select__pack - (const PgQuery__FieldSelect *message, - uint8_t *out); -size_t pg_query__field_select__pack_to_buffer - (const PgQuery__FieldSelect *message, - ProtobufCBuffer *buffer); -PgQuery__FieldSelect * - pg_query__field_select__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__field_select__free_unpacked - (PgQuery__FieldSelect *message, - ProtobufCAllocator *allocator); -/* PgQuery__FieldStore methods */ -void pg_query__field_store__init - (PgQuery__FieldStore *message); -size_t pg_query__field_store__get_packed_size - (const PgQuery__FieldStore *message); -size_t pg_query__field_store__pack - (const PgQuery__FieldStore *message, - uint8_t *out); -size_t pg_query__field_store__pack_to_buffer - (const PgQuery__FieldStore *message, - ProtobufCBuffer *buffer); -PgQuery__FieldStore * - pg_query__field_store__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__field_store__free_unpacked - (PgQuery__FieldStore *message, - ProtobufCAllocator *allocator); -/* PgQuery__RelabelType methods */ -void pg_query__relabel_type__init - (PgQuery__RelabelType *message); -size_t pg_query__relabel_type__get_packed_size - (const PgQuery__RelabelType *message); -size_t pg_query__relabel_type__pack - (const PgQuery__RelabelType *message, - uint8_t *out); -size_t pg_query__relabel_type__pack_to_buffer - (const PgQuery__RelabelType *message, - ProtobufCBuffer *buffer); -PgQuery__RelabelType * - pg_query__relabel_type__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__relabel_type__free_unpacked - (PgQuery__RelabelType *message, - ProtobufCAllocator *allocator); -/* PgQuery__CoerceViaIO methods */ -void pg_query__coerce_via_io__init - (PgQuery__CoerceViaIO *message); -size_t pg_query__coerce_via_io__get_packed_size - (const PgQuery__CoerceViaIO *message); -size_t pg_query__coerce_via_io__pack - (const PgQuery__CoerceViaIO *message, - uint8_t *out); -size_t pg_query__coerce_via_io__pack_to_buffer - (const PgQuery__CoerceViaIO *message, - ProtobufCBuffer *buffer); -PgQuery__CoerceViaIO * - pg_query__coerce_via_io__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__coerce_via_io__free_unpacked - (PgQuery__CoerceViaIO *message, - ProtobufCAllocator *allocator); -/* PgQuery__ArrayCoerceExpr methods */ -void pg_query__array_coerce_expr__init - (PgQuery__ArrayCoerceExpr *message); -size_t pg_query__array_coerce_expr__get_packed_size - (const PgQuery__ArrayCoerceExpr *message); -size_t pg_query__array_coerce_expr__pack - (const PgQuery__ArrayCoerceExpr *message, - uint8_t *out); -size_t pg_query__array_coerce_expr__pack_to_buffer - (const PgQuery__ArrayCoerceExpr *message, - ProtobufCBuffer *buffer); -PgQuery__ArrayCoerceExpr * - pg_query__array_coerce_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__array_coerce_expr__free_unpacked - (PgQuery__ArrayCoerceExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__ConvertRowtypeExpr methods */ -void pg_query__convert_rowtype_expr__init - (PgQuery__ConvertRowtypeExpr *message); -size_t pg_query__convert_rowtype_expr__get_packed_size - (const PgQuery__ConvertRowtypeExpr *message); -size_t pg_query__convert_rowtype_expr__pack - (const PgQuery__ConvertRowtypeExpr *message, - uint8_t *out); -size_t pg_query__convert_rowtype_expr__pack_to_buffer - (const PgQuery__ConvertRowtypeExpr *message, - ProtobufCBuffer *buffer); -PgQuery__ConvertRowtypeExpr * - pg_query__convert_rowtype_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__convert_rowtype_expr__free_unpacked - (PgQuery__ConvertRowtypeExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__CollateExpr methods */ -void pg_query__collate_expr__init - (PgQuery__CollateExpr *message); -size_t pg_query__collate_expr__get_packed_size - (const PgQuery__CollateExpr *message); -size_t pg_query__collate_expr__pack - (const PgQuery__CollateExpr *message, - uint8_t *out); -size_t pg_query__collate_expr__pack_to_buffer - (const PgQuery__CollateExpr *message, - ProtobufCBuffer *buffer); -PgQuery__CollateExpr * - pg_query__collate_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__collate_expr__free_unpacked - (PgQuery__CollateExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__CaseExpr methods */ -void pg_query__case_expr__init - (PgQuery__CaseExpr *message); -size_t pg_query__case_expr__get_packed_size - (const PgQuery__CaseExpr *message); -size_t pg_query__case_expr__pack - (const PgQuery__CaseExpr *message, - uint8_t *out); -size_t pg_query__case_expr__pack_to_buffer - (const PgQuery__CaseExpr *message, - ProtobufCBuffer *buffer); -PgQuery__CaseExpr * - pg_query__case_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__case_expr__free_unpacked - (PgQuery__CaseExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__CaseWhen methods */ -void pg_query__case_when__init - (PgQuery__CaseWhen *message); -size_t pg_query__case_when__get_packed_size - (const PgQuery__CaseWhen *message); -size_t pg_query__case_when__pack - (const PgQuery__CaseWhen *message, - uint8_t *out); -size_t pg_query__case_when__pack_to_buffer - (const PgQuery__CaseWhen *message, - ProtobufCBuffer *buffer); -PgQuery__CaseWhen * - pg_query__case_when__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__case_when__free_unpacked - (PgQuery__CaseWhen *message, - ProtobufCAllocator *allocator); -/* PgQuery__CaseTestExpr methods */ -void pg_query__case_test_expr__init - (PgQuery__CaseTestExpr *message); -size_t pg_query__case_test_expr__get_packed_size - (const PgQuery__CaseTestExpr *message); -size_t pg_query__case_test_expr__pack - (const PgQuery__CaseTestExpr *message, - uint8_t *out); -size_t pg_query__case_test_expr__pack_to_buffer - (const PgQuery__CaseTestExpr *message, - ProtobufCBuffer *buffer); -PgQuery__CaseTestExpr * - pg_query__case_test_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__case_test_expr__free_unpacked - (PgQuery__CaseTestExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__ArrayExpr methods */ -void pg_query__array_expr__init - (PgQuery__ArrayExpr *message); -size_t pg_query__array_expr__get_packed_size - (const PgQuery__ArrayExpr *message); -size_t pg_query__array_expr__pack - (const PgQuery__ArrayExpr *message, - uint8_t *out); -size_t pg_query__array_expr__pack_to_buffer - (const PgQuery__ArrayExpr *message, - ProtobufCBuffer *buffer); -PgQuery__ArrayExpr * - pg_query__array_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__array_expr__free_unpacked - (PgQuery__ArrayExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__RowExpr methods */ -void pg_query__row_expr__init - (PgQuery__RowExpr *message); -size_t pg_query__row_expr__get_packed_size - (const PgQuery__RowExpr *message); -size_t pg_query__row_expr__pack - (const PgQuery__RowExpr *message, - uint8_t *out); -size_t pg_query__row_expr__pack_to_buffer - (const PgQuery__RowExpr *message, - ProtobufCBuffer *buffer); -PgQuery__RowExpr * - pg_query__row_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__row_expr__free_unpacked - (PgQuery__RowExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__RowCompareExpr methods */ -void pg_query__row_compare_expr__init - (PgQuery__RowCompareExpr *message); -size_t pg_query__row_compare_expr__get_packed_size - (const PgQuery__RowCompareExpr *message); -size_t pg_query__row_compare_expr__pack - (const PgQuery__RowCompareExpr *message, - uint8_t *out); -size_t pg_query__row_compare_expr__pack_to_buffer - (const PgQuery__RowCompareExpr *message, - ProtobufCBuffer *buffer); -PgQuery__RowCompareExpr * - pg_query__row_compare_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__row_compare_expr__free_unpacked - (PgQuery__RowCompareExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__CoalesceExpr methods */ -void pg_query__coalesce_expr__init - (PgQuery__CoalesceExpr *message); -size_t pg_query__coalesce_expr__get_packed_size - (const PgQuery__CoalesceExpr *message); -size_t pg_query__coalesce_expr__pack - (const PgQuery__CoalesceExpr *message, - uint8_t *out); -size_t pg_query__coalesce_expr__pack_to_buffer - (const PgQuery__CoalesceExpr *message, - ProtobufCBuffer *buffer); -PgQuery__CoalesceExpr * - pg_query__coalesce_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__coalesce_expr__free_unpacked - (PgQuery__CoalesceExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__MinMaxExpr methods */ -void pg_query__min_max_expr__init - (PgQuery__MinMaxExpr *message); -size_t pg_query__min_max_expr__get_packed_size - (const PgQuery__MinMaxExpr *message); -size_t pg_query__min_max_expr__pack - (const PgQuery__MinMaxExpr *message, - uint8_t *out); -size_t pg_query__min_max_expr__pack_to_buffer - (const PgQuery__MinMaxExpr *message, - ProtobufCBuffer *buffer); -PgQuery__MinMaxExpr * - pg_query__min_max_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__min_max_expr__free_unpacked - (PgQuery__MinMaxExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__SQLValueFunction methods */ -void pg_query__sqlvalue_function__init - (PgQuery__SQLValueFunction *message); -size_t pg_query__sqlvalue_function__get_packed_size - (const PgQuery__SQLValueFunction *message); -size_t pg_query__sqlvalue_function__pack - (const PgQuery__SQLValueFunction *message, - uint8_t *out); -size_t pg_query__sqlvalue_function__pack_to_buffer - (const PgQuery__SQLValueFunction *message, - ProtobufCBuffer *buffer); -PgQuery__SQLValueFunction * - pg_query__sqlvalue_function__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__sqlvalue_function__free_unpacked - (PgQuery__SQLValueFunction *message, - ProtobufCAllocator *allocator); -/* PgQuery__XmlExpr methods */ -void pg_query__xml_expr__init - (PgQuery__XmlExpr *message); -size_t pg_query__xml_expr__get_packed_size - (const PgQuery__XmlExpr *message); -size_t pg_query__xml_expr__pack - (const PgQuery__XmlExpr *message, - uint8_t *out); -size_t pg_query__xml_expr__pack_to_buffer - (const PgQuery__XmlExpr *message, - ProtobufCBuffer *buffer); -PgQuery__XmlExpr * - pg_query__xml_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__xml_expr__free_unpacked - (PgQuery__XmlExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonFormat methods */ -void pg_query__json_format__init - (PgQuery__JsonFormat *message); -size_t pg_query__json_format__get_packed_size - (const PgQuery__JsonFormat *message); -size_t pg_query__json_format__pack - (const PgQuery__JsonFormat *message, - uint8_t *out); -size_t pg_query__json_format__pack_to_buffer - (const PgQuery__JsonFormat *message, - ProtobufCBuffer *buffer); -PgQuery__JsonFormat * - pg_query__json_format__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_format__free_unpacked - (PgQuery__JsonFormat *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonReturning methods */ -void pg_query__json_returning__init - (PgQuery__JsonReturning *message); -size_t pg_query__json_returning__get_packed_size - (const PgQuery__JsonReturning *message); -size_t pg_query__json_returning__pack - (const PgQuery__JsonReturning *message, - uint8_t *out); -size_t pg_query__json_returning__pack_to_buffer - (const PgQuery__JsonReturning *message, - ProtobufCBuffer *buffer); -PgQuery__JsonReturning * - pg_query__json_returning__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_returning__free_unpacked - (PgQuery__JsonReturning *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonValueExpr methods */ -void pg_query__json_value_expr__init - (PgQuery__JsonValueExpr *message); -size_t pg_query__json_value_expr__get_packed_size - (const PgQuery__JsonValueExpr *message); -size_t pg_query__json_value_expr__pack - (const PgQuery__JsonValueExpr *message, - uint8_t *out); -size_t pg_query__json_value_expr__pack_to_buffer - (const PgQuery__JsonValueExpr *message, - ProtobufCBuffer *buffer); -PgQuery__JsonValueExpr * - pg_query__json_value_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_value_expr__free_unpacked - (PgQuery__JsonValueExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonConstructorExpr methods */ -void pg_query__json_constructor_expr__init - (PgQuery__JsonConstructorExpr *message); -size_t pg_query__json_constructor_expr__get_packed_size - (const PgQuery__JsonConstructorExpr *message); -size_t pg_query__json_constructor_expr__pack - (const PgQuery__JsonConstructorExpr *message, - uint8_t *out); -size_t pg_query__json_constructor_expr__pack_to_buffer - (const PgQuery__JsonConstructorExpr *message, - ProtobufCBuffer *buffer); -PgQuery__JsonConstructorExpr * - pg_query__json_constructor_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_constructor_expr__free_unpacked - (PgQuery__JsonConstructorExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonIsPredicate methods */ -void pg_query__json_is_predicate__init - (PgQuery__JsonIsPredicate *message); -size_t pg_query__json_is_predicate__get_packed_size - (const PgQuery__JsonIsPredicate *message); -size_t pg_query__json_is_predicate__pack - (const PgQuery__JsonIsPredicate *message, - uint8_t *out); -size_t pg_query__json_is_predicate__pack_to_buffer - (const PgQuery__JsonIsPredicate *message, - ProtobufCBuffer *buffer); -PgQuery__JsonIsPredicate * - pg_query__json_is_predicate__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_is_predicate__free_unpacked - (PgQuery__JsonIsPredicate *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonBehavior methods */ -void pg_query__json_behavior__init - (PgQuery__JsonBehavior *message); -size_t pg_query__json_behavior__get_packed_size - (const PgQuery__JsonBehavior *message); -size_t pg_query__json_behavior__pack - (const PgQuery__JsonBehavior *message, - uint8_t *out); -size_t pg_query__json_behavior__pack_to_buffer - (const PgQuery__JsonBehavior *message, - ProtobufCBuffer *buffer); -PgQuery__JsonBehavior * - pg_query__json_behavior__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_behavior__free_unpacked - (PgQuery__JsonBehavior *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonExpr methods */ -void pg_query__json_expr__init - (PgQuery__JsonExpr *message); -size_t pg_query__json_expr__get_packed_size - (const PgQuery__JsonExpr *message); -size_t pg_query__json_expr__pack - (const PgQuery__JsonExpr *message, - uint8_t *out); -size_t pg_query__json_expr__pack_to_buffer - (const PgQuery__JsonExpr *message, - ProtobufCBuffer *buffer); -PgQuery__JsonExpr * - pg_query__json_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_expr__free_unpacked - (PgQuery__JsonExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonTablePath methods */ -void pg_query__json_table_path__init - (PgQuery__JsonTablePath *message); -size_t pg_query__json_table_path__get_packed_size - (const PgQuery__JsonTablePath *message); -size_t pg_query__json_table_path__pack - (const PgQuery__JsonTablePath *message, - uint8_t *out); -size_t pg_query__json_table_path__pack_to_buffer - (const PgQuery__JsonTablePath *message, - ProtobufCBuffer *buffer); -PgQuery__JsonTablePath * - pg_query__json_table_path__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_table_path__free_unpacked - (PgQuery__JsonTablePath *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonTablePathScan methods */ -void pg_query__json_table_path_scan__init - (PgQuery__JsonTablePathScan *message); -size_t pg_query__json_table_path_scan__get_packed_size - (const PgQuery__JsonTablePathScan *message); -size_t pg_query__json_table_path_scan__pack - (const PgQuery__JsonTablePathScan *message, - uint8_t *out); -size_t pg_query__json_table_path_scan__pack_to_buffer - (const PgQuery__JsonTablePathScan *message, - ProtobufCBuffer *buffer); -PgQuery__JsonTablePathScan * - pg_query__json_table_path_scan__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_table_path_scan__free_unpacked - (PgQuery__JsonTablePathScan *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonTableSiblingJoin methods */ -void pg_query__json_table_sibling_join__init - (PgQuery__JsonTableSiblingJoin *message); -size_t pg_query__json_table_sibling_join__get_packed_size - (const PgQuery__JsonTableSiblingJoin *message); -size_t pg_query__json_table_sibling_join__pack - (const PgQuery__JsonTableSiblingJoin *message, - uint8_t *out); -size_t pg_query__json_table_sibling_join__pack_to_buffer - (const PgQuery__JsonTableSiblingJoin *message, - ProtobufCBuffer *buffer); -PgQuery__JsonTableSiblingJoin * - pg_query__json_table_sibling_join__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_table_sibling_join__free_unpacked - (PgQuery__JsonTableSiblingJoin *message, - ProtobufCAllocator *allocator); -/* PgQuery__NullTest methods */ -void pg_query__null_test__init - (PgQuery__NullTest *message); -size_t pg_query__null_test__get_packed_size - (const PgQuery__NullTest *message); -size_t pg_query__null_test__pack - (const PgQuery__NullTest *message, - uint8_t *out); -size_t pg_query__null_test__pack_to_buffer - (const PgQuery__NullTest *message, - ProtobufCBuffer *buffer); -PgQuery__NullTest * - pg_query__null_test__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__null_test__free_unpacked - (PgQuery__NullTest *message, - ProtobufCAllocator *allocator); -/* PgQuery__BooleanTest methods */ -void pg_query__boolean_test__init - (PgQuery__BooleanTest *message); -size_t pg_query__boolean_test__get_packed_size - (const PgQuery__BooleanTest *message); -size_t pg_query__boolean_test__pack - (const PgQuery__BooleanTest *message, - uint8_t *out); -size_t pg_query__boolean_test__pack_to_buffer - (const PgQuery__BooleanTest *message, - ProtobufCBuffer *buffer); -PgQuery__BooleanTest * - pg_query__boolean_test__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__boolean_test__free_unpacked - (PgQuery__BooleanTest *message, - ProtobufCAllocator *allocator); -/* PgQuery__MergeAction methods */ -void pg_query__merge_action__init - (PgQuery__MergeAction *message); -size_t pg_query__merge_action__get_packed_size - (const PgQuery__MergeAction *message); -size_t pg_query__merge_action__pack - (const PgQuery__MergeAction *message, - uint8_t *out); -size_t pg_query__merge_action__pack_to_buffer - (const PgQuery__MergeAction *message, - ProtobufCBuffer *buffer); -PgQuery__MergeAction * - pg_query__merge_action__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__merge_action__free_unpacked - (PgQuery__MergeAction *message, - ProtobufCAllocator *allocator); -/* PgQuery__CoerceToDomain methods */ -void pg_query__coerce_to_domain__init - (PgQuery__CoerceToDomain *message); -size_t pg_query__coerce_to_domain__get_packed_size - (const PgQuery__CoerceToDomain *message); -size_t pg_query__coerce_to_domain__pack - (const PgQuery__CoerceToDomain *message, - uint8_t *out); -size_t pg_query__coerce_to_domain__pack_to_buffer - (const PgQuery__CoerceToDomain *message, - ProtobufCBuffer *buffer); -PgQuery__CoerceToDomain * - pg_query__coerce_to_domain__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__coerce_to_domain__free_unpacked - (PgQuery__CoerceToDomain *message, - ProtobufCAllocator *allocator); -/* PgQuery__CoerceToDomainValue methods */ -void pg_query__coerce_to_domain_value__init - (PgQuery__CoerceToDomainValue *message); -size_t pg_query__coerce_to_domain_value__get_packed_size - (const PgQuery__CoerceToDomainValue *message); -size_t pg_query__coerce_to_domain_value__pack - (const PgQuery__CoerceToDomainValue *message, - uint8_t *out); -size_t pg_query__coerce_to_domain_value__pack_to_buffer - (const PgQuery__CoerceToDomainValue *message, - ProtobufCBuffer *buffer); -PgQuery__CoerceToDomainValue * - pg_query__coerce_to_domain_value__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__coerce_to_domain_value__free_unpacked - (PgQuery__CoerceToDomainValue *message, - ProtobufCAllocator *allocator); -/* PgQuery__SetToDefault methods */ -void pg_query__set_to_default__init - (PgQuery__SetToDefault *message); -size_t pg_query__set_to_default__get_packed_size - (const PgQuery__SetToDefault *message); -size_t pg_query__set_to_default__pack - (const PgQuery__SetToDefault *message, - uint8_t *out); -size_t pg_query__set_to_default__pack_to_buffer - (const PgQuery__SetToDefault *message, - ProtobufCBuffer *buffer); -PgQuery__SetToDefault * - pg_query__set_to_default__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__set_to_default__free_unpacked - (PgQuery__SetToDefault *message, - ProtobufCAllocator *allocator); -/* PgQuery__CurrentOfExpr methods */ -void pg_query__current_of_expr__init - (PgQuery__CurrentOfExpr *message); -size_t pg_query__current_of_expr__get_packed_size - (const PgQuery__CurrentOfExpr *message); -size_t pg_query__current_of_expr__pack - (const PgQuery__CurrentOfExpr *message, - uint8_t *out); -size_t pg_query__current_of_expr__pack_to_buffer - (const PgQuery__CurrentOfExpr *message, - ProtobufCBuffer *buffer); -PgQuery__CurrentOfExpr * - pg_query__current_of_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__current_of_expr__free_unpacked - (PgQuery__CurrentOfExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__NextValueExpr methods */ -void pg_query__next_value_expr__init - (PgQuery__NextValueExpr *message); -size_t pg_query__next_value_expr__get_packed_size - (const PgQuery__NextValueExpr *message); -size_t pg_query__next_value_expr__pack - (const PgQuery__NextValueExpr *message, - uint8_t *out); -size_t pg_query__next_value_expr__pack_to_buffer - (const PgQuery__NextValueExpr *message, - ProtobufCBuffer *buffer); -PgQuery__NextValueExpr * - pg_query__next_value_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__next_value_expr__free_unpacked - (PgQuery__NextValueExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__InferenceElem methods */ -void pg_query__inference_elem__init - (PgQuery__InferenceElem *message); -size_t pg_query__inference_elem__get_packed_size - (const PgQuery__InferenceElem *message); -size_t pg_query__inference_elem__pack - (const PgQuery__InferenceElem *message, - uint8_t *out); -size_t pg_query__inference_elem__pack_to_buffer - (const PgQuery__InferenceElem *message, - ProtobufCBuffer *buffer); -PgQuery__InferenceElem * - pg_query__inference_elem__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__inference_elem__free_unpacked - (PgQuery__InferenceElem *message, - ProtobufCAllocator *allocator); -/* PgQuery__ReturningExpr methods */ -void pg_query__returning_expr__init - (PgQuery__ReturningExpr *message); -size_t pg_query__returning_expr__get_packed_size - (const PgQuery__ReturningExpr *message); -size_t pg_query__returning_expr__pack - (const PgQuery__ReturningExpr *message, - uint8_t *out); -size_t pg_query__returning_expr__pack_to_buffer - (const PgQuery__ReturningExpr *message, - ProtobufCBuffer *buffer); -PgQuery__ReturningExpr * - pg_query__returning_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__returning_expr__free_unpacked - (PgQuery__ReturningExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__TargetEntry methods */ -void pg_query__target_entry__init - (PgQuery__TargetEntry *message); -size_t pg_query__target_entry__get_packed_size - (const PgQuery__TargetEntry *message); -size_t pg_query__target_entry__pack - (const PgQuery__TargetEntry *message, - uint8_t *out); -size_t pg_query__target_entry__pack_to_buffer - (const PgQuery__TargetEntry *message, - ProtobufCBuffer *buffer); -PgQuery__TargetEntry * - pg_query__target_entry__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__target_entry__free_unpacked - (PgQuery__TargetEntry *message, - ProtobufCAllocator *allocator); -/* PgQuery__RangeTblRef methods */ -void pg_query__range_tbl_ref__init - (PgQuery__RangeTblRef *message); -size_t pg_query__range_tbl_ref__get_packed_size - (const PgQuery__RangeTblRef *message); -size_t pg_query__range_tbl_ref__pack - (const PgQuery__RangeTblRef *message, - uint8_t *out); -size_t pg_query__range_tbl_ref__pack_to_buffer - (const PgQuery__RangeTblRef *message, - ProtobufCBuffer *buffer); -PgQuery__RangeTblRef * - pg_query__range_tbl_ref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__range_tbl_ref__free_unpacked - (PgQuery__RangeTblRef *message, - ProtobufCAllocator *allocator); -/* PgQuery__JoinExpr methods */ -void pg_query__join_expr__init - (PgQuery__JoinExpr *message); -size_t pg_query__join_expr__get_packed_size - (const PgQuery__JoinExpr *message); -size_t pg_query__join_expr__pack - (const PgQuery__JoinExpr *message, - uint8_t *out); -size_t pg_query__join_expr__pack_to_buffer - (const PgQuery__JoinExpr *message, - ProtobufCBuffer *buffer); -PgQuery__JoinExpr * - pg_query__join_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__join_expr__free_unpacked - (PgQuery__JoinExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__FromExpr methods */ -void pg_query__from_expr__init - (PgQuery__FromExpr *message); -size_t pg_query__from_expr__get_packed_size - (const PgQuery__FromExpr *message); -size_t pg_query__from_expr__pack - (const PgQuery__FromExpr *message, - uint8_t *out); -size_t pg_query__from_expr__pack_to_buffer - (const PgQuery__FromExpr *message, - ProtobufCBuffer *buffer); -PgQuery__FromExpr * - pg_query__from_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__from_expr__free_unpacked - (PgQuery__FromExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__OnConflictExpr methods */ -void pg_query__on_conflict_expr__init - (PgQuery__OnConflictExpr *message); -size_t pg_query__on_conflict_expr__get_packed_size - (const PgQuery__OnConflictExpr *message); -size_t pg_query__on_conflict_expr__pack - (const PgQuery__OnConflictExpr *message, - uint8_t *out); -size_t pg_query__on_conflict_expr__pack_to_buffer - (const PgQuery__OnConflictExpr *message, - ProtobufCBuffer *buffer); -PgQuery__OnConflictExpr * - pg_query__on_conflict_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__on_conflict_expr__free_unpacked - (PgQuery__OnConflictExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__Query methods */ -void pg_query__query__init - (PgQuery__Query *message); -size_t pg_query__query__get_packed_size - (const PgQuery__Query *message); -size_t pg_query__query__pack - (const PgQuery__Query *message, - uint8_t *out); -size_t pg_query__query__pack_to_buffer - (const PgQuery__Query *message, - ProtobufCBuffer *buffer); -PgQuery__Query * - pg_query__query__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__query__free_unpacked - (PgQuery__Query *message, - ProtobufCAllocator *allocator); -/* PgQuery__TypeName methods */ -void pg_query__type_name__init - (PgQuery__TypeName *message); -size_t pg_query__type_name__get_packed_size - (const PgQuery__TypeName *message); -size_t pg_query__type_name__pack - (const PgQuery__TypeName *message, - uint8_t *out); -size_t pg_query__type_name__pack_to_buffer - (const PgQuery__TypeName *message, - ProtobufCBuffer *buffer); -PgQuery__TypeName * - pg_query__type_name__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__type_name__free_unpacked - (PgQuery__TypeName *message, - ProtobufCAllocator *allocator); -/* PgQuery__ColumnRef methods */ -void pg_query__column_ref__init - (PgQuery__ColumnRef *message); -size_t pg_query__column_ref__get_packed_size - (const PgQuery__ColumnRef *message); -size_t pg_query__column_ref__pack - (const PgQuery__ColumnRef *message, - uint8_t *out); -size_t pg_query__column_ref__pack_to_buffer - (const PgQuery__ColumnRef *message, - ProtobufCBuffer *buffer); -PgQuery__ColumnRef * - pg_query__column_ref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__column_ref__free_unpacked - (PgQuery__ColumnRef *message, - ProtobufCAllocator *allocator); -/* PgQuery__ParamRef methods */ -void pg_query__param_ref__init - (PgQuery__ParamRef *message); -size_t pg_query__param_ref__get_packed_size - (const PgQuery__ParamRef *message); -size_t pg_query__param_ref__pack - (const PgQuery__ParamRef *message, - uint8_t *out); -size_t pg_query__param_ref__pack_to_buffer - (const PgQuery__ParamRef *message, - ProtobufCBuffer *buffer); -PgQuery__ParamRef * - pg_query__param_ref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__param_ref__free_unpacked - (PgQuery__ParamRef *message, - ProtobufCAllocator *allocator); -/* PgQuery__AExpr methods */ -void pg_query__a__expr__init - (PgQuery__AExpr *message); -size_t pg_query__a__expr__get_packed_size - (const PgQuery__AExpr *message); -size_t pg_query__a__expr__pack - (const PgQuery__AExpr *message, - uint8_t *out); -size_t pg_query__a__expr__pack_to_buffer - (const PgQuery__AExpr *message, - ProtobufCBuffer *buffer); -PgQuery__AExpr * - pg_query__a__expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__a__expr__free_unpacked - (PgQuery__AExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__TypeCast methods */ -void pg_query__type_cast__init - (PgQuery__TypeCast *message); -size_t pg_query__type_cast__get_packed_size - (const PgQuery__TypeCast *message); -size_t pg_query__type_cast__pack - (const PgQuery__TypeCast *message, - uint8_t *out); -size_t pg_query__type_cast__pack_to_buffer - (const PgQuery__TypeCast *message, - ProtobufCBuffer *buffer); -PgQuery__TypeCast * - pg_query__type_cast__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__type_cast__free_unpacked - (PgQuery__TypeCast *message, - ProtobufCAllocator *allocator); -/* PgQuery__CollateClause methods */ -void pg_query__collate_clause__init - (PgQuery__CollateClause *message); -size_t pg_query__collate_clause__get_packed_size - (const PgQuery__CollateClause *message); -size_t pg_query__collate_clause__pack - (const PgQuery__CollateClause *message, - uint8_t *out); -size_t pg_query__collate_clause__pack_to_buffer - (const PgQuery__CollateClause *message, - ProtobufCBuffer *buffer); -PgQuery__CollateClause * - pg_query__collate_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__collate_clause__free_unpacked - (PgQuery__CollateClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__RoleSpec methods */ -void pg_query__role_spec__init - (PgQuery__RoleSpec *message); -size_t pg_query__role_spec__get_packed_size - (const PgQuery__RoleSpec *message); -size_t pg_query__role_spec__pack - (const PgQuery__RoleSpec *message, - uint8_t *out); -size_t pg_query__role_spec__pack_to_buffer - (const PgQuery__RoleSpec *message, - ProtobufCBuffer *buffer); -PgQuery__RoleSpec * - pg_query__role_spec__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__role_spec__free_unpacked - (PgQuery__RoleSpec *message, - ProtobufCAllocator *allocator); -/* PgQuery__FuncCall methods */ -void pg_query__func_call__init - (PgQuery__FuncCall *message); -size_t pg_query__func_call__get_packed_size - (const PgQuery__FuncCall *message); -size_t pg_query__func_call__pack - (const PgQuery__FuncCall *message, - uint8_t *out); -size_t pg_query__func_call__pack_to_buffer - (const PgQuery__FuncCall *message, - ProtobufCBuffer *buffer); -PgQuery__FuncCall * - pg_query__func_call__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__func_call__free_unpacked - (PgQuery__FuncCall *message, - ProtobufCAllocator *allocator); -/* PgQuery__AStar methods */ -void pg_query__a__star__init - (PgQuery__AStar *message); -size_t pg_query__a__star__get_packed_size - (const PgQuery__AStar *message); -size_t pg_query__a__star__pack - (const PgQuery__AStar *message, - uint8_t *out); -size_t pg_query__a__star__pack_to_buffer - (const PgQuery__AStar *message, - ProtobufCBuffer *buffer); -PgQuery__AStar * - pg_query__a__star__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__a__star__free_unpacked - (PgQuery__AStar *message, - ProtobufCAllocator *allocator); -/* PgQuery__AIndices methods */ -void pg_query__a__indices__init - (PgQuery__AIndices *message); -size_t pg_query__a__indices__get_packed_size - (const PgQuery__AIndices *message); -size_t pg_query__a__indices__pack - (const PgQuery__AIndices *message, - uint8_t *out); -size_t pg_query__a__indices__pack_to_buffer - (const PgQuery__AIndices *message, - ProtobufCBuffer *buffer); -PgQuery__AIndices * - pg_query__a__indices__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__a__indices__free_unpacked - (PgQuery__AIndices *message, - ProtobufCAllocator *allocator); -/* PgQuery__AIndirection methods */ -void pg_query__a__indirection__init - (PgQuery__AIndirection *message); -size_t pg_query__a__indirection__get_packed_size - (const PgQuery__AIndirection *message); -size_t pg_query__a__indirection__pack - (const PgQuery__AIndirection *message, - uint8_t *out); -size_t pg_query__a__indirection__pack_to_buffer - (const PgQuery__AIndirection *message, - ProtobufCBuffer *buffer); -PgQuery__AIndirection * - pg_query__a__indirection__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__a__indirection__free_unpacked - (PgQuery__AIndirection *message, - ProtobufCAllocator *allocator); -/* PgQuery__AArrayExpr methods */ -void pg_query__a__array_expr__init - (PgQuery__AArrayExpr *message); -size_t pg_query__a__array_expr__get_packed_size - (const PgQuery__AArrayExpr *message); -size_t pg_query__a__array_expr__pack - (const PgQuery__AArrayExpr *message, - uint8_t *out); -size_t pg_query__a__array_expr__pack_to_buffer - (const PgQuery__AArrayExpr *message, - ProtobufCBuffer *buffer); -PgQuery__AArrayExpr * - pg_query__a__array_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__a__array_expr__free_unpacked - (PgQuery__AArrayExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__ResTarget methods */ -void pg_query__res_target__init - (PgQuery__ResTarget *message); -size_t pg_query__res_target__get_packed_size - (const PgQuery__ResTarget *message); -size_t pg_query__res_target__pack - (const PgQuery__ResTarget *message, - uint8_t *out); -size_t pg_query__res_target__pack_to_buffer - (const PgQuery__ResTarget *message, - ProtobufCBuffer *buffer); -PgQuery__ResTarget * - pg_query__res_target__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__res_target__free_unpacked - (PgQuery__ResTarget *message, - ProtobufCAllocator *allocator); -/* PgQuery__MultiAssignRef methods */ -void pg_query__multi_assign_ref__init - (PgQuery__MultiAssignRef *message); -size_t pg_query__multi_assign_ref__get_packed_size - (const PgQuery__MultiAssignRef *message); -size_t pg_query__multi_assign_ref__pack - (const PgQuery__MultiAssignRef *message, - uint8_t *out); -size_t pg_query__multi_assign_ref__pack_to_buffer - (const PgQuery__MultiAssignRef *message, - ProtobufCBuffer *buffer); -PgQuery__MultiAssignRef * - pg_query__multi_assign_ref__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__multi_assign_ref__free_unpacked - (PgQuery__MultiAssignRef *message, - ProtobufCAllocator *allocator); -/* PgQuery__SortBy methods */ -void pg_query__sort_by__init - (PgQuery__SortBy *message); -size_t pg_query__sort_by__get_packed_size - (const PgQuery__SortBy *message); -size_t pg_query__sort_by__pack - (const PgQuery__SortBy *message, - uint8_t *out); -size_t pg_query__sort_by__pack_to_buffer - (const PgQuery__SortBy *message, - ProtobufCBuffer *buffer); -PgQuery__SortBy * - pg_query__sort_by__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__sort_by__free_unpacked - (PgQuery__SortBy *message, - ProtobufCAllocator *allocator); -/* PgQuery__WindowDef methods */ -void pg_query__window_def__init - (PgQuery__WindowDef *message); -size_t pg_query__window_def__get_packed_size - (const PgQuery__WindowDef *message); -size_t pg_query__window_def__pack - (const PgQuery__WindowDef *message, - uint8_t *out); -size_t pg_query__window_def__pack_to_buffer - (const PgQuery__WindowDef *message, - ProtobufCBuffer *buffer); -PgQuery__WindowDef * - pg_query__window_def__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__window_def__free_unpacked - (PgQuery__WindowDef *message, - ProtobufCAllocator *allocator); -/* PgQuery__RangeSubselect methods */ -void pg_query__range_subselect__init - (PgQuery__RangeSubselect *message); -size_t pg_query__range_subselect__get_packed_size - (const PgQuery__RangeSubselect *message); -size_t pg_query__range_subselect__pack - (const PgQuery__RangeSubselect *message, - uint8_t *out); -size_t pg_query__range_subselect__pack_to_buffer - (const PgQuery__RangeSubselect *message, - ProtobufCBuffer *buffer); -PgQuery__RangeSubselect * - pg_query__range_subselect__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__range_subselect__free_unpacked - (PgQuery__RangeSubselect *message, - ProtobufCAllocator *allocator); -/* PgQuery__RangeFunction methods */ -void pg_query__range_function__init - (PgQuery__RangeFunction *message); -size_t pg_query__range_function__get_packed_size - (const PgQuery__RangeFunction *message); -size_t pg_query__range_function__pack - (const PgQuery__RangeFunction *message, - uint8_t *out); -size_t pg_query__range_function__pack_to_buffer - (const PgQuery__RangeFunction *message, - ProtobufCBuffer *buffer); -PgQuery__RangeFunction * - pg_query__range_function__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__range_function__free_unpacked - (PgQuery__RangeFunction *message, - ProtobufCAllocator *allocator); -/* PgQuery__RangeTableFunc methods */ -void pg_query__range_table_func__init - (PgQuery__RangeTableFunc *message); -size_t pg_query__range_table_func__get_packed_size - (const PgQuery__RangeTableFunc *message); -size_t pg_query__range_table_func__pack - (const PgQuery__RangeTableFunc *message, - uint8_t *out); -size_t pg_query__range_table_func__pack_to_buffer - (const PgQuery__RangeTableFunc *message, - ProtobufCBuffer *buffer); -PgQuery__RangeTableFunc * - pg_query__range_table_func__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__range_table_func__free_unpacked - (PgQuery__RangeTableFunc *message, - ProtobufCAllocator *allocator); -/* PgQuery__RangeTableFuncCol methods */ -void pg_query__range_table_func_col__init - (PgQuery__RangeTableFuncCol *message); -size_t pg_query__range_table_func_col__get_packed_size - (const PgQuery__RangeTableFuncCol *message); -size_t pg_query__range_table_func_col__pack - (const PgQuery__RangeTableFuncCol *message, - uint8_t *out); -size_t pg_query__range_table_func_col__pack_to_buffer - (const PgQuery__RangeTableFuncCol *message, - ProtobufCBuffer *buffer); -PgQuery__RangeTableFuncCol * - pg_query__range_table_func_col__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__range_table_func_col__free_unpacked - (PgQuery__RangeTableFuncCol *message, - ProtobufCAllocator *allocator); -/* PgQuery__RangeTableSample methods */ -void pg_query__range_table_sample__init - (PgQuery__RangeTableSample *message); -size_t pg_query__range_table_sample__get_packed_size - (const PgQuery__RangeTableSample *message); -size_t pg_query__range_table_sample__pack - (const PgQuery__RangeTableSample *message, - uint8_t *out); -size_t pg_query__range_table_sample__pack_to_buffer - (const PgQuery__RangeTableSample *message, - ProtobufCBuffer *buffer); -PgQuery__RangeTableSample * - pg_query__range_table_sample__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__range_table_sample__free_unpacked - (PgQuery__RangeTableSample *message, - ProtobufCAllocator *allocator); -/* PgQuery__ColumnDef methods */ -void pg_query__column_def__init - (PgQuery__ColumnDef *message); -size_t pg_query__column_def__get_packed_size - (const PgQuery__ColumnDef *message); -size_t pg_query__column_def__pack - (const PgQuery__ColumnDef *message, - uint8_t *out); -size_t pg_query__column_def__pack_to_buffer - (const PgQuery__ColumnDef *message, - ProtobufCBuffer *buffer); -PgQuery__ColumnDef * - pg_query__column_def__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__column_def__free_unpacked - (PgQuery__ColumnDef *message, - ProtobufCAllocator *allocator); -/* PgQuery__TableLikeClause methods */ -void pg_query__table_like_clause__init - (PgQuery__TableLikeClause *message); -size_t pg_query__table_like_clause__get_packed_size - (const PgQuery__TableLikeClause *message); -size_t pg_query__table_like_clause__pack - (const PgQuery__TableLikeClause *message, - uint8_t *out); -size_t pg_query__table_like_clause__pack_to_buffer - (const PgQuery__TableLikeClause *message, - ProtobufCBuffer *buffer); -PgQuery__TableLikeClause * - pg_query__table_like_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__table_like_clause__free_unpacked - (PgQuery__TableLikeClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__IndexElem methods */ -void pg_query__index_elem__init - (PgQuery__IndexElem *message); -size_t pg_query__index_elem__get_packed_size - (const PgQuery__IndexElem *message); -size_t pg_query__index_elem__pack - (const PgQuery__IndexElem *message, - uint8_t *out); -size_t pg_query__index_elem__pack_to_buffer - (const PgQuery__IndexElem *message, - ProtobufCBuffer *buffer); -PgQuery__IndexElem * - pg_query__index_elem__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__index_elem__free_unpacked - (PgQuery__IndexElem *message, - ProtobufCAllocator *allocator); -/* PgQuery__DefElem methods */ -void pg_query__def_elem__init - (PgQuery__DefElem *message); -size_t pg_query__def_elem__get_packed_size - (const PgQuery__DefElem *message); -size_t pg_query__def_elem__pack - (const PgQuery__DefElem *message, - uint8_t *out); -size_t pg_query__def_elem__pack_to_buffer - (const PgQuery__DefElem *message, - ProtobufCBuffer *buffer); -PgQuery__DefElem * - pg_query__def_elem__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__def_elem__free_unpacked - (PgQuery__DefElem *message, - ProtobufCAllocator *allocator); -/* PgQuery__LockingClause methods */ -void pg_query__locking_clause__init - (PgQuery__LockingClause *message); -size_t pg_query__locking_clause__get_packed_size - (const PgQuery__LockingClause *message); -size_t pg_query__locking_clause__pack - (const PgQuery__LockingClause *message, - uint8_t *out); -size_t pg_query__locking_clause__pack_to_buffer - (const PgQuery__LockingClause *message, - ProtobufCBuffer *buffer); -PgQuery__LockingClause * - pg_query__locking_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__locking_clause__free_unpacked - (PgQuery__LockingClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__XmlSerialize methods */ -void pg_query__xml_serialize__init - (PgQuery__XmlSerialize *message); -size_t pg_query__xml_serialize__get_packed_size - (const PgQuery__XmlSerialize *message); -size_t pg_query__xml_serialize__pack - (const PgQuery__XmlSerialize *message, - uint8_t *out); -size_t pg_query__xml_serialize__pack_to_buffer - (const PgQuery__XmlSerialize *message, - ProtobufCBuffer *buffer); -PgQuery__XmlSerialize * - pg_query__xml_serialize__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__xml_serialize__free_unpacked - (PgQuery__XmlSerialize *message, - ProtobufCAllocator *allocator); -/* PgQuery__PartitionElem methods */ -void pg_query__partition_elem__init - (PgQuery__PartitionElem *message); -size_t pg_query__partition_elem__get_packed_size - (const PgQuery__PartitionElem *message); -size_t pg_query__partition_elem__pack - (const PgQuery__PartitionElem *message, - uint8_t *out); -size_t pg_query__partition_elem__pack_to_buffer - (const PgQuery__PartitionElem *message, - ProtobufCBuffer *buffer); -PgQuery__PartitionElem * - pg_query__partition_elem__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__partition_elem__free_unpacked - (PgQuery__PartitionElem *message, - ProtobufCAllocator *allocator); -/* PgQuery__PartitionSpec methods */ -void pg_query__partition_spec__init - (PgQuery__PartitionSpec *message); -size_t pg_query__partition_spec__get_packed_size - (const PgQuery__PartitionSpec *message); -size_t pg_query__partition_spec__pack - (const PgQuery__PartitionSpec *message, - uint8_t *out); -size_t pg_query__partition_spec__pack_to_buffer - (const PgQuery__PartitionSpec *message, - ProtobufCBuffer *buffer); -PgQuery__PartitionSpec * - pg_query__partition_spec__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__partition_spec__free_unpacked - (PgQuery__PartitionSpec *message, - ProtobufCAllocator *allocator); -/* PgQuery__PartitionBoundSpec methods */ -void pg_query__partition_bound_spec__init - (PgQuery__PartitionBoundSpec *message); -size_t pg_query__partition_bound_spec__get_packed_size - (const PgQuery__PartitionBoundSpec *message); -size_t pg_query__partition_bound_spec__pack - (const PgQuery__PartitionBoundSpec *message, - uint8_t *out); -size_t pg_query__partition_bound_spec__pack_to_buffer - (const PgQuery__PartitionBoundSpec *message, - ProtobufCBuffer *buffer); -PgQuery__PartitionBoundSpec * - pg_query__partition_bound_spec__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__partition_bound_spec__free_unpacked - (PgQuery__PartitionBoundSpec *message, - ProtobufCAllocator *allocator); -/* PgQuery__PartitionRangeDatum methods */ -void pg_query__partition_range_datum__init - (PgQuery__PartitionRangeDatum *message); -size_t pg_query__partition_range_datum__get_packed_size - (const PgQuery__PartitionRangeDatum *message); -size_t pg_query__partition_range_datum__pack - (const PgQuery__PartitionRangeDatum *message, - uint8_t *out); -size_t pg_query__partition_range_datum__pack_to_buffer - (const PgQuery__PartitionRangeDatum *message, - ProtobufCBuffer *buffer); -PgQuery__PartitionRangeDatum * - pg_query__partition_range_datum__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__partition_range_datum__free_unpacked - (PgQuery__PartitionRangeDatum *message, - ProtobufCAllocator *allocator); -/* PgQuery__PartitionCmd methods */ -void pg_query__partition_cmd__init - (PgQuery__PartitionCmd *message); -size_t pg_query__partition_cmd__get_packed_size - (const PgQuery__PartitionCmd *message); -size_t pg_query__partition_cmd__pack - (const PgQuery__PartitionCmd *message, - uint8_t *out); -size_t pg_query__partition_cmd__pack_to_buffer - (const PgQuery__PartitionCmd *message, - ProtobufCBuffer *buffer); -PgQuery__PartitionCmd * - pg_query__partition_cmd__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__partition_cmd__free_unpacked - (PgQuery__PartitionCmd *message, - ProtobufCAllocator *allocator); -/* PgQuery__RangeTblEntry methods */ -void pg_query__range_tbl_entry__init - (PgQuery__RangeTblEntry *message); -size_t pg_query__range_tbl_entry__get_packed_size - (const PgQuery__RangeTblEntry *message); -size_t pg_query__range_tbl_entry__pack - (const PgQuery__RangeTblEntry *message, - uint8_t *out); -size_t pg_query__range_tbl_entry__pack_to_buffer - (const PgQuery__RangeTblEntry *message, - ProtobufCBuffer *buffer); -PgQuery__RangeTblEntry * - pg_query__range_tbl_entry__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__range_tbl_entry__free_unpacked - (PgQuery__RangeTblEntry *message, - ProtobufCAllocator *allocator); -/* PgQuery__RTEPermissionInfo methods */ -void pg_query__rtepermission_info__init - (PgQuery__RTEPermissionInfo *message); -size_t pg_query__rtepermission_info__get_packed_size - (const PgQuery__RTEPermissionInfo *message); -size_t pg_query__rtepermission_info__pack - (const PgQuery__RTEPermissionInfo *message, - uint8_t *out); -size_t pg_query__rtepermission_info__pack_to_buffer - (const PgQuery__RTEPermissionInfo *message, - ProtobufCBuffer *buffer); -PgQuery__RTEPermissionInfo * - pg_query__rtepermission_info__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__rtepermission_info__free_unpacked - (PgQuery__RTEPermissionInfo *message, - ProtobufCAllocator *allocator); -/* PgQuery__RangeTblFunction methods */ -void pg_query__range_tbl_function__init - (PgQuery__RangeTblFunction *message); -size_t pg_query__range_tbl_function__get_packed_size - (const PgQuery__RangeTblFunction *message); -size_t pg_query__range_tbl_function__pack - (const PgQuery__RangeTblFunction *message, - uint8_t *out); -size_t pg_query__range_tbl_function__pack_to_buffer - (const PgQuery__RangeTblFunction *message, - ProtobufCBuffer *buffer); -PgQuery__RangeTblFunction * - pg_query__range_tbl_function__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__range_tbl_function__free_unpacked - (PgQuery__RangeTblFunction *message, - ProtobufCAllocator *allocator); -/* PgQuery__TableSampleClause methods */ -void pg_query__table_sample_clause__init - (PgQuery__TableSampleClause *message); -size_t pg_query__table_sample_clause__get_packed_size - (const PgQuery__TableSampleClause *message); -size_t pg_query__table_sample_clause__pack - (const PgQuery__TableSampleClause *message, - uint8_t *out); -size_t pg_query__table_sample_clause__pack_to_buffer - (const PgQuery__TableSampleClause *message, - ProtobufCBuffer *buffer); -PgQuery__TableSampleClause * - pg_query__table_sample_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__table_sample_clause__free_unpacked - (PgQuery__TableSampleClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__WithCheckOption methods */ -void pg_query__with_check_option__init - (PgQuery__WithCheckOption *message); -size_t pg_query__with_check_option__get_packed_size - (const PgQuery__WithCheckOption *message); -size_t pg_query__with_check_option__pack - (const PgQuery__WithCheckOption *message, - uint8_t *out); -size_t pg_query__with_check_option__pack_to_buffer - (const PgQuery__WithCheckOption *message, - ProtobufCBuffer *buffer); -PgQuery__WithCheckOption * - pg_query__with_check_option__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__with_check_option__free_unpacked - (PgQuery__WithCheckOption *message, - ProtobufCAllocator *allocator); -/* PgQuery__SortGroupClause methods */ -void pg_query__sort_group_clause__init - (PgQuery__SortGroupClause *message); -size_t pg_query__sort_group_clause__get_packed_size - (const PgQuery__SortGroupClause *message); -size_t pg_query__sort_group_clause__pack - (const PgQuery__SortGroupClause *message, - uint8_t *out); -size_t pg_query__sort_group_clause__pack_to_buffer - (const PgQuery__SortGroupClause *message, - ProtobufCBuffer *buffer); -PgQuery__SortGroupClause * - pg_query__sort_group_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__sort_group_clause__free_unpacked - (PgQuery__SortGroupClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__GroupingSet methods */ -void pg_query__grouping_set__init - (PgQuery__GroupingSet *message); -size_t pg_query__grouping_set__get_packed_size - (const PgQuery__GroupingSet *message); -size_t pg_query__grouping_set__pack - (const PgQuery__GroupingSet *message, - uint8_t *out); -size_t pg_query__grouping_set__pack_to_buffer - (const PgQuery__GroupingSet *message, - ProtobufCBuffer *buffer); -PgQuery__GroupingSet * - pg_query__grouping_set__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__grouping_set__free_unpacked - (PgQuery__GroupingSet *message, - ProtobufCAllocator *allocator); -/* PgQuery__WindowClause methods */ -void pg_query__window_clause__init - (PgQuery__WindowClause *message); -size_t pg_query__window_clause__get_packed_size - (const PgQuery__WindowClause *message); -size_t pg_query__window_clause__pack - (const PgQuery__WindowClause *message, - uint8_t *out); -size_t pg_query__window_clause__pack_to_buffer - (const PgQuery__WindowClause *message, - ProtobufCBuffer *buffer); -PgQuery__WindowClause * - pg_query__window_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__window_clause__free_unpacked - (PgQuery__WindowClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__RowMarkClause methods */ -void pg_query__row_mark_clause__init - (PgQuery__RowMarkClause *message); -size_t pg_query__row_mark_clause__get_packed_size - (const PgQuery__RowMarkClause *message); -size_t pg_query__row_mark_clause__pack - (const PgQuery__RowMarkClause *message, - uint8_t *out); -size_t pg_query__row_mark_clause__pack_to_buffer - (const PgQuery__RowMarkClause *message, - ProtobufCBuffer *buffer); -PgQuery__RowMarkClause * - pg_query__row_mark_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__row_mark_clause__free_unpacked - (PgQuery__RowMarkClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__WithClause methods */ -void pg_query__with_clause__init - (PgQuery__WithClause *message); -size_t pg_query__with_clause__get_packed_size - (const PgQuery__WithClause *message); -size_t pg_query__with_clause__pack - (const PgQuery__WithClause *message, - uint8_t *out); -size_t pg_query__with_clause__pack_to_buffer - (const PgQuery__WithClause *message, - ProtobufCBuffer *buffer); -PgQuery__WithClause * - pg_query__with_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__with_clause__free_unpacked - (PgQuery__WithClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__InferClause methods */ -void pg_query__infer_clause__init - (PgQuery__InferClause *message); -size_t pg_query__infer_clause__get_packed_size - (const PgQuery__InferClause *message); -size_t pg_query__infer_clause__pack - (const PgQuery__InferClause *message, - uint8_t *out); -size_t pg_query__infer_clause__pack_to_buffer - (const PgQuery__InferClause *message, - ProtobufCBuffer *buffer); -PgQuery__InferClause * - pg_query__infer_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__infer_clause__free_unpacked - (PgQuery__InferClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__OnConflictClause methods */ -void pg_query__on_conflict_clause__init - (PgQuery__OnConflictClause *message); -size_t pg_query__on_conflict_clause__get_packed_size - (const PgQuery__OnConflictClause *message); -size_t pg_query__on_conflict_clause__pack - (const PgQuery__OnConflictClause *message, - uint8_t *out); -size_t pg_query__on_conflict_clause__pack_to_buffer - (const PgQuery__OnConflictClause *message, - ProtobufCBuffer *buffer); -PgQuery__OnConflictClause * - pg_query__on_conflict_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__on_conflict_clause__free_unpacked - (PgQuery__OnConflictClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__CTESearchClause methods */ -void pg_query__ctesearch_clause__init - (PgQuery__CTESearchClause *message); -size_t pg_query__ctesearch_clause__get_packed_size - (const PgQuery__CTESearchClause *message); -size_t pg_query__ctesearch_clause__pack - (const PgQuery__CTESearchClause *message, - uint8_t *out); -size_t pg_query__ctesearch_clause__pack_to_buffer - (const PgQuery__CTESearchClause *message, - ProtobufCBuffer *buffer); -PgQuery__CTESearchClause * - pg_query__ctesearch_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__ctesearch_clause__free_unpacked - (PgQuery__CTESearchClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__CTECycleClause methods */ -void pg_query__ctecycle_clause__init - (PgQuery__CTECycleClause *message); -size_t pg_query__ctecycle_clause__get_packed_size - (const PgQuery__CTECycleClause *message); -size_t pg_query__ctecycle_clause__pack - (const PgQuery__CTECycleClause *message, - uint8_t *out); -size_t pg_query__ctecycle_clause__pack_to_buffer - (const PgQuery__CTECycleClause *message, - ProtobufCBuffer *buffer); -PgQuery__CTECycleClause * - pg_query__ctecycle_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__ctecycle_clause__free_unpacked - (PgQuery__CTECycleClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__CommonTableExpr methods */ -void pg_query__common_table_expr__init - (PgQuery__CommonTableExpr *message); -size_t pg_query__common_table_expr__get_packed_size - (const PgQuery__CommonTableExpr *message); -size_t pg_query__common_table_expr__pack - (const PgQuery__CommonTableExpr *message, - uint8_t *out); -size_t pg_query__common_table_expr__pack_to_buffer - (const PgQuery__CommonTableExpr *message, - ProtobufCBuffer *buffer); -PgQuery__CommonTableExpr * - pg_query__common_table_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__common_table_expr__free_unpacked - (PgQuery__CommonTableExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__MergeWhenClause methods */ -void pg_query__merge_when_clause__init - (PgQuery__MergeWhenClause *message); -size_t pg_query__merge_when_clause__get_packed_size - (const PgQuery__MergeWhenClause *message); -size_t pg_query__merge_when_clause__pack - (const PgQuery__MergeWhenClause *message, - uint8_t *out); -size_t pg_query__merge_when_clause__pack_to_buffer - (const PgQuery__MergeWhenClause *message, - ProtobufCBuffer *buffer); -PgQuery__MergeWhenClause * - pg_query__merge_when_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__merge_when_clause__free_unpacked - (PgQuery__MergeWhenClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__ReturningOption methods */ -void pg_query__returning_option__init - (PgQuery__ReturningOption *message); -size_t pg_query__returning_option__get_packed_size - (const PgQuery__ReturningOption *message); -size_t pg_query__returning_option__pack - (const PgQuery__ReturningOption *message, - uint8_t *out); -size_t pg_query__returning_option__pack_to_buffer - (const PgQuery__ReturningOption *message, - ProtobufCBuffer *buffer); -PgQuery__ReturningOption * - pg_query__returning_option__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__returning_option__free_unpacked - (PgQuery__ReturningOption *message, - ProtobufCAllocator *allocator); -/* PgQuery__ReturningClause methods */ -void pg_query__returning_clause__init - (PgQuery__ReturningClause *message); -size_t pg_query__returning_clause__get_packed_size - (const PgQuery__ReturningClause *message); -size_t pg_query__returning_clause__pack - (const PgQuery__ReturningClause *message, - uint8_t *out); -size_t pg_query__returning_clause__pack_to_buffer - (const PgQuery__ReturningClause *message, - ProtobufCBuffer *buffer); -PgQuery__ReturningClause * - pg_query__returning_clause__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__returning_clause__free_unpacked - (PgQuery__ReturningClause *message, - ProtobufCAllocator *allocator); -/* PgQuery__TriggerTransition methods */ -void pg_query__trigger_transition__init - (PgQuery__TriggerTransition *message); -size_t pg_query__trigger_transition__get_packed_size - (const PgQuery__TriggerTransition *message); -size_t pg_query__trigger_transition__pack - (const PgQuery__TriggerTransition *message, - uint8_t *out); -size_t pg_query__trigger_transition__pack_to_buffer - (const PgQuery__TriggerTransition *message, - ProtobufCBuffer *buffer); -PgQuery__TriggerTransition * - pg_query__trigger_transition__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__trigger_transition__free_unpacked - (PgQuery__TriggerTransition *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonOutput methods */ -void pg_query__json_output__init - (PgQuery__JsonOutput *message); -size_t pg_query__json_output__get_packed_size - (const PgQuery__JsonOutput *message); -size_t pg_query__json_output__pack - (const PgQuery__JsonOutput *message, - uint8_t *out); -size_t pg_query__json_output__pack_to_buffer - (const PgQuery__JsonOutput *message, - ProtobufCBuffer *buffer); -PgQuery__JsonOutput * - pg_query__json_output__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_output__free_unpacked - (PgQuery__JsonOutput *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonArgument methods */ -void pg_query__json_argument__init - (PgQuery__JsonArgument *message); -size_t pg_query__json_argument__get_packed_size - (const PgQuery__JsonArgument *message); -size_t pg_query__json_argument__pack - (const PgQuery__JsonArgument *message, - uint8_t *out); -size_t pg_query__json_argument__pack_to_buffer - (const PgQuery__JsonArgument *message, - ProtobufCBuffer *buffer); -PgQuery__JsonArgument * - pg_query__json_argument__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_argument__free_unpacked - (PgQuery__JsonArgument *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonFuncExpr methods */ -void pg_query__json_func_expr__init - (PgQuery__JsonFuncExpr *message); -size_t pg_query__json_func_expr__get_packed_size - (const PgQuery__JsonFuncExpr *message); -size_t pg_query__json_func_expr__pack - (const PgQuery__JsonFuncExpr *message, - uint8_t *out); -size_t pg_query__json_func_expr__pack_to_buffer - (const PgQuery__JsonFuncExpr *message, - ProtobufCBuffer *buffer); -PgQuery__JsonFuncExpr * - pg_query__json_func_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_func_expr__free_unpacked - (PgQuery__JsonFuncExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonTablePathSpec methods */ -void pg_query__json_table_path_spec__init - (PgQuery__JsonTablePathSpec *message); -size_t pg_query__json_table_path_spec__get_packed_size - (const PgQuery__JsonTablePathSpec *message); -size_t pg_query__json_table_path_spec__pack - (const PgQuery__JsonTablePathSpec *message, - uint8_t *out); -size_t pg_query__json_table_path_spec__pack_to_buffer - (const PgQuery__JsonTablePathSpec *message, - ProtobufCBuffer *buffer); -PgQuery__JsonTablePathSpec * - pg_query__json_table_path_spec__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_table_path_spec__free_unpacked - (PgQuery__JsonTablePathSpec *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonTable methods */ -void pg_query__json_table__init - (PgQuery__JsonTable *message); -size_t pg_query__json_table__get_packed_size - (const PgQuery__JsonTable *message); -size_t pg_query__json_table__pack - (const PgQuery__JsonTable *message, - uint8_t *out); -size_t pg_query__json_table__pack_to_buffer - (const PgQuery__JsonTable *message, - ProtobufCBuffer *buffer); -PgQuery__JsonTable * - pg_query__json_table__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_table__free_unpacked - (PgQuery__JsonTable *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonTableColumn methods */ -void pg_query__json_table_column__init - (PgQuery__JsonTableColumn *message); -size_t pg_query__json_table_column__get_packed_size - (const PgQuery__JsonTableColumn *message); -size_t pg_query__json_table_column__pack - (const PgQuery__JsonTableColumn *message, - uint8_t *out); -size_t pg_query__json_table_column__pack_to_buffer - (const PgQuery__JsonTableColumn *message, - ProtobufCBuffer *buffer); -PgQuery__JsonTableColumn * - pg_query__json_table_column__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_table_column__free_unpacked - (PgQuery__JsonTableColumn *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonKeyValue methods */ -void pg_query__json_key_value__init - (PgQuery__JsonKeyValue *message); -size_t pg_query__json_key_value__get_packed_size - (const PgQuery__JsonKeyValue *message); -size_t pg_query__json_key_value__pack - (const PgQuery__JsonKeyValue *message, - uint8_t *out); -size_t pg_query__json_key_value__pack_to_buffer - (const PgQuery__JsonKeyValue *message, - ProtobufCBuffer *buffer); -PgQuery__JsonKeyValue * - pg_query__json_key_value__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_key_value__free_unpacked - (PgQuery__JsonKeyValue *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonParseExpr methods */ -void pg_query__json_parse_expr__init - (PgQuery__JsonParseExpr *message); -size_t pg_query__json_parse_expr__get_packed_size - (const PgQuery__JsonParseExpr *message); -size_t pg_query__json_parse_expr__pack - (const PgQuery__JsonParseExpr *message, - uint8_t *out); -size_t pg_query__json_parse_expr__pack_to_buffer - (const PgQuery__JsonParseExpr *message, - ProtobufCBuffer *buffer); -PgQuery__JsonParseExpr * - pg_query__json_parse_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_parse_expr__free_unpacked - (PgQuery__JsonParseExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonScalarExpr methods */ -void pg_query__json_scalar_expr__init - (PgQuery__JsonScalarExpr *message); -size_t pg_query__json_scalar_expr__get_packed_size - (const PgQuery__JsonScalarExpr *message); -size_t pg_query__json_scalar_expr__pack - (const PgQuery__JsonScalarExpr *message, - uint8_t *out); -size_t pg_query__json_scalar_expr__pack_to_buffer - (const PgQuery__JsonScalarExpr *message, - ProtobufCBuffer *buffer); -PgQuery__JsonScalarExpr * - pg_query__json_scalar_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_scalar_expr__free_unpacked - (PgQuery__JsonScalarExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonSerializeExpr methods */ -void pg_query__json_serialize_expr__init - (PgQuery__JsonSerializeExpr *message); -size_t pg_query__json_serialize_expr__get_packed_size - (const PgQuery__JsonSerializeExpr *message); -size_t pg_query__json_serialize_expr__pack - (const PgQuery__JsonSerializeExpr *message, - uint8_t *out); -size_t pg_query__json_serialize_expr__pack_to_buffer - (const PgQuery__JsonSerializeExpr *message, - ProtobufCBuffer *buffer); -PgQuery__JsonSerializeExpr * - pg_query__json_serialize_expr__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_serialize_expr__free_unpacked - (PgQuery__JsonSerializeExpr *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonObjectConstructor methods */ -void pg_query__json_object_constructor__init - (PgQuery__JsonObjectConstructor *message); -size_t pg_query__json_object_constructor__get_packed_size - (const PgQuery__JsonObjectConstructor *message); -size_t pg_query__json_object_constructor__pack - (const PgQuery__JsonObjectConstructor *message, - uint8_t *out); -size_t pg_query__json_object_constructor__pack_to_buffer - (const PgQuery__JsonObjectConstructor *message, - ProtobufCBuffer *buffer); -PgQuery__JsonObjectConstructor * - pg_query__json_object_constructor__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_object_constructor__free_unpacked - (PgQuery__JsonObjectConstructor *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonArrayConstructor methods */ -void pg_query__json_array_constructor__init - (PgQuery__JsonArrayConstructor *message); -size_t pg_query__json_array_constructor__get_packed_size - (const PgQuery__JsonArrayConstructor *message); -size_t pg_query__json_array_constructor__pack - (const PgQuery__JsonArrayConstructor *message, - uint8_t *out); -size_t pg_query__json_array_constructor__pack_to_buffer - (const PgQuery__JsonArrayConstructor *message, - ProtobufCBuffer *buffer); -PgQuery__JsonArrayConstructor * - pg_query__json_array_constructor__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_array_constructor__free_unpacked - (PgQuery__JsonArrayConstructor *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonArrayQueryConstructor methods */ -void pg_query__json_array_query_constructor__init - (PgQuery__JsonArrayQueryConstructor *message); -size_t pg_query__json_array_query_constructor__get_packed_size - (const PgQuery__JsonArrayQueryConstructor *message); -size_t pg_query__json_array_query_constructor__pack - (const PgQuery__JsonArrayQueryConstructor *message, - uint8_t *out); -size_t pg_query__json_array_query_constructor__pack_to_buffer - (const PgQuery__JsonArrayQueryConstructor *message, - ProtobufCBuffer *buffer); -PgQuery__JsonArrayQueryConstructor * - pg_query__json_array_query_constructor__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_array_query_constructor__free_unpacked - (PgQuery__JsonArrayQueryConstructor *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonAggConstructor methods */ -void pg_query__json_agg_constructor__init - (PgQuery__JsonAggConstructor *message); -size_t pg_query__json_agg_constructor__get_packed_size - (const PgQuery__JsonAggConstructor *message); -size_t pg_query__json_agg_constructor__pack - (const PgQuery__JsonAggConstructor *message, - uint8_t *out); -size_t pg_query__json_agg_constructor__pack_to_buffer - (const PgQuery__JsonAggConstructor *message, - ProtobufCBuffer *buffer); -PgQuery__JsonAggConstructor * - pg_query__json_agg_constructor__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_agg_constructor__free_unpacked - (PgQuery__JsonAggConstructor *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonObjectAgg methods */ -void pg_query__json_object_agg__init - (PgQuery__JsonObjectAgg *message); -size_t pg_query__json_object_agg__get_packed_size - (const PgQuery__JsonObjectAgg *message); -size_t pg_query__json_object_agg__pack - (const PgQuery__JsonObjectAgg *message, - uint8_t *out); -size_t pg_query__json_object_agg__pack_to_buffer - (const PgQuery__JsonObjectAgg *message, - ProtobufCBuffer *buffer); -PgQuery__JsonObjectAgg * - pg_query__json_object_agg__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_object_agg__free_unpacked - (PgQuery__JsonObjectAgg *message, - ProtobufCAllocator *allocator); -/* PgQuery__JsonArrayAgg methods */ -void pg_query__json_array_agg__init - (PgQuery__JsonArrayAgg *message); -size_t pg_query__json_array_agg__get_packed_size - (const PgQuery__JsonArrayAgg *message); -size_t pg_query__json_array_agg__pack - (const PgQuery__JsonArrayAgg *message, - uint8_t *out); -size_t pg_query__json_array_agg__pack_to_buffer - (const PgQuery__JsonArrayAgg *message, - ProtobufCBuffer *buffer); -PgQuery__JsonArrayAgg * - pg_query__json_array_agg__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__json_array_agg__free_unpacked - (PgQuery__JsonArrayAgg *message, - ProtobufCAllocator *allocator); -/* PgQuery__RawStmt methods */ -void pg_query__raw_stmt__init - (PgQuery__RawStmt *message); -size_t pg_query__raw_stmt__get_packed_size - (const PgQuery__RawStmt *message); -size_t pg_query__raw_stmt__pack - (const PgQuery__RawStmt *message, - uint8_t *out); -size_t pg_query__raw_stmt__pack_to_buffer - (const PgQuery__RawStmt *message, - ProtobufCBuffer *buffer); -PgQuery__RawStmt * - pg_query__raw_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__raw_stmt__free_unpacked - (PgQuery__RawStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__InsertStmt methods */ -void pg_query__insert_stmt__init - (PgQuery__InsertStmt *message); -size_t pg_query__insert_stmt__get_packed_size - (const PgQuery__InsertStmt *message); -size_t pg_query__insert_stmt__pack - (const PgQuery__InsertStmt *message, - uint8_t *out); -size_t pg_query__insert_stmt__pack_to_buffer - (const PgQuery__InsertStmt *message, - ProtobufCBuffer *buffer); -PgQuery__InsertStmt * - pg_query__insert_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__insert_stmt__free_unpacked - (PgQuery__InsertStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DeleteStmt methods */ -void pg_query__delete_stmt__init - (PgQuery__DeleteStmt *message); -size_t pg_query__delete_stmt__get_packed_size - (const PgQuery__DeleteStmt *message); -size_t pg_query__delete_stmt__pack - (const PgQuery__DeleteStmt *message, - uint8_t *out); -size_t pg_query__delete_stmt__pack_to_buffer - (const PgQuery__DeleteStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DeleteStmt * - pg_query__delete_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__delete_stmt__free_unpacked - (PgQuery__DeleteStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__UpdateStmt methods */ -void pg_query__update_stmt__init - (PgQuery__UpdateStmt *message); -size_t pg_query__update_stmt__get_packed_size - (const PgQuery__UpdateStmt *message); -size_t pg_query__update_stmt__pack - (const PgQuery__UpdateStmt *message, - uint8_t *out); -size_t pg_query__update_stmt__pack_to_buffer - (const PgQuery__UpdateStmt *message, - ProtobufCBuffer *buffer); -PgQuery__UpdateStmt * - pg_query__update_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__update_stmt__free_unpacked - (PgQuery__UpdateStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__MergeStmt methods */ -void pg_query__merge_stmt__init - (PgQuery__MergeStmt *message); -size_t pg_query__merge_stmt__get_packed_size - (const PgQuery__MergeStmt *message); -size_t pg_query__merge_stmt__pack - (const PgQuery__MergeStmt *message, - uint8_t *out); -size_t pg_query__merge_stmt__pack_to_buffer - (const PgQuery__MergeStmt *message, - ProtobufCBuffer *buffer); -PgQuery__MergeStmt * - pg_query__merge_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__merge_stmt__free_unpacked - (PgQuery__MergeStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__SelectStmt methods */ -void pg_query__select_stmt__init - (PgQuery__SelectStmt *message); -size_t pg_query__select_stmt__get_packed_size - (const PgQuery__SelectStmt *message); -size_t pg_query__select_stmt__pack - (const PgQuery__SelectStmt *message, - uint8_t *out); -size_t pg_query__select_stmt__pack_to_buffer - (const PgQuery__SelectStmt *message, - ProtobufCBuffer *buffer); -PgQuery__SelectStmt * - pg_query__select_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__select_stmt__free_unpacked - (PgQuery__SelectStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__SetOperationStmt methods */ -void pg_query__set_operation_stmt__init - (PgQuery__SetOperationStmt *message); -size_t pg_query__set_operation_stmt__get_packed_size - (const PgQuery__SetOperationStmt *message); -size_t pg_query__set_operation_stmt__pack - (const PgQuery__SetOperationStmt *message, - uint8_t *out); -size_t pg_query__set_operation_stmt__pack_to_buffer - (const PgQuery__SetOperationStmt *message, - ProtobufCBuffer *buffer); -PgQuery__SetOperationStmt * - pg_query__set_operation_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__set_operation_stmt__free_unpacked - (PgQuery__SetOperationStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ReturnStmt methods */ -void pg_query__return_stmt__init - (PgQuery__ReturnStmt *message); -size_t pg_query__return_stmt__get_packed_size - (const PgQuery__ReturnStmt *message); -size_t pg_query__return_stmt__pack - (const PgQuery__ReturnStmt *message, - uint8_t *out); -size_t pg_query__return_stmt__pack_to_buffer - (const PgQuery__ReturnStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ReturnStmt * - pg_query__return_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__return_stmt__free_unpacked - (PgQuery__ReturnStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__PLAssignStmt methods */ -void pg_query__plassign_stmt__init - (PgQuery__PLAssignStmt *message); -size_t pg_query__plassign_stmt__get_packed_size - (const PgQuery__PLAssignStmt *message); -size_t pg_query__plassign_stmt__pack - (const PgQuery__PLAssignStmt *message, - uint8_t *out); -size_t pg_query__plassign_stmt__pack_to_buffer - (const PgQuery__PLAssignStmt *message, - ProtobufCBuffer *buffer); -PgQuery__PLAssignStmt * - pg_query__plassign_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__plassign_stmt__free_unpacked - (PgQuery__PLAssignStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateSchemaStmt methods */ -void pg_query__create_schema_stmt__init - (PgQuery__CreateSchemaStmt *message); -size_t pg_query__create_schema_stmt__get_packed_size - (const PgQuery__CreateSchemaStmt *message); -size_t pg_query__create_schema_stmt__pack - (const PgQuery__CreateSchemaStmt *message, - uint8_t *out); -size_t pg_query__create_schema_stmt__pack_to_buffer - (const PgQuery__CreateSchemaStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateSchemaStmt * - pg_query__create_schema_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_schema_stmt__free_unpacked - (PgQuery__CreateSchemaStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterTableStmt methods */ -void pg_query__alter_table_stmt__init - (PgQuery__AlterTableStmt *message); -size_t pg_query__alter_table_stmt__get_packed_size - (const PgQuery__AlterTableStmt *message); -size_t pg_query__alter_table_stmt__pack - (const PgQuery__AlterTableStmt *message, - uint8_t *out); -size_t pg_query__alter_table_stmt__pack_to_buffer - (const PgQuery__AlterTableStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterTableStmt * - pg_query__alter_table_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_table_stmt__free_unpacked - (PgQuery__AlterTableStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterTableCmd methods */ -void pg_query__alter_table_cmd__init - (PgQuery__AlterTableCmd *message); -size_t pg_query__alter_table_cmd__get_packed_size - (const PgQuery__AlterTableCmd *message); -size_t pg_query__alter_table_cmd__pack - (const PgQuery__AlterTableCmd *message, - uint8_t *out); -size_t pg_query__alter_table_cmd__pack_to_buffer - (const PgQuery__AlterTableCmd *message, - ProtobufCBuffer *buffer); -PgQuery__AlterTableCmd * - pg_query__alter_table_cmd__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_table_cmd__free_unpacked - (PgQuery__AlterTableCmd *message, - ProtobufCAllocator *allocator); -/* PgQuery__ATAlterConstraint methods */ -void pg_query__atalter_constraint__init - (PgQuery__ATAlterConstraint *message); -size_t pg_query__atalter_constraint__get_packed_size - (const PgQuery__ATAlterConstraint *message); -size_t pg_query__atalter_constraint__pack - (const PgQuery__ATAlterConstraint *message, - uint8_t *out); -size_t pg_query__atalter_constraint__pack_to_buffer - (const PgQuery__ATAlterConstraint *message, - ProtobufCBuffer *buffer); -PgQuery__ATAlterConstraint * - pg_query__atalter_constraint__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__atalter_constraint__free_unpacked - (PgQuery__ATAlterConstraint *message, - ProtobufCAllocator *allocator); -/* PgQuery__ReplicaIdentityStmt methods */ -void pg_query__replica_identity_stmt__init - (PgQuery__ReplicaIdentityStmt *message); -size_t pg_query__replica_identity_stmt__get_packed_size - (const PgQuery__ReplicaIdentityStmt *message); -size_t pg_query__replica_identity_stmt__pack - (const PgQuery__ReplicaIdentityStmt *message, - uint8_t *out); -size_t pg_query__replica_identity_stmt__pack_to_buffer - (const PgQuery__ReplicaIdentityStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ReplicaIdentityStmt * - pg_query__replica_identity_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__replica_identity_stmt__free_unpacked - (PgQuery__ReplicaIdentityStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterCollationStmt methods */ -void pg_query__alter_collation_stmt__init - (PgQuery__AlterCollationStmt *message); -size_t pg_query__alter_collation_stmt__get_packed_size - (const PgQuery__AlterCollationStmt *message); -size_t pg_query__alter_collation_stmt__pack - (const PgQuery__AlterCollationStmt *message, - uint8_t *out); -size_t pg_query__alter_collation_stmt__pack_to_buffer - (const PgQuery__AlterCollationStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterCollationStmt * - pg_query__alter_collation_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_collation_stmt__free_unpacked - (PgQuery__AlterCollationStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterDomainStmt methods */ -void pg_query__alter_domain_stmt__init - (PgQuery__AlterDomainStmt *message); -size_t pg_query__alter_domain_stmt__get_packed_size - (const PgQuery__AlterDomainStmt *message); -size_t pg_query__alter_domain_stmt__pack - (const PgQuery__AlterDomainStmt *message, - uint8_t *out); -size_t pg_query__alter_domain_stmt__pack_to_buffer - (const PgQuery__AlterDomainStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterDomainStmt * - pg_query__alter_domain_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_domain_stmt__free_unpacked - (PgQuery__AlterDomainStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__GrantStmt methods */ -void pg_query__grant_stmt__init - (PgQuery__GrantStmt *message); -size_t pg_query__grant_stmt__get_packed_size - (const PgQuery__GrantStmt *message); -size_t pg_query__grant_stmt__pack - (const PgQuery__GrantStmt *message, - uint8_t *out); -size_t pg_query__grant_stmt__pack_to_buffer - (const PgQuery__GrantStmt *message, - ProtobufCBuffer *buffer); -PgQuery__GrantStmt * - pg_query__grant_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__grant_stmt__free_unpacked - (PgQuery__GrantStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ObjectWithArgs methods */ -void pg_query__object_with_args__init - (PgQuery__ObjectWithArgs *message); -size_t pg_query__object_with_args__get_packed_size - (const PgQuery__ObjectWithArgs *message); -size_t pg_query__object_with_args__pack - (const PgQuery__ObjectWithArgs *message, - uint8_t *out); -size_t pg_query__object_with_args__pack_to_buffer - (const PgQuery__ObjectWithArgs *message, - ProtobufCBuffer *buffer); -PgQuery__ObjectWithArgs * - pg_query__object_with_args__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__object_with_args__free_unpacked - (PgQuery__ObjectWithArgs *message, - ProtobufCAllocator *allocator); -/* PgQuery__AccessPriv methods */ -void pg_query__access_priv__init - (PgQuery__AccessPriv *message); -size_t pg_query__access_priv__get_packed_size - (const PgQuery__AccessPriv *message); -size_t pg_query__access_priv__pack - (const PgQuery__AccessPriv *message, - uint8_t *out); -size_t pg_query__access_priv__pack_to_buffer - (const PgQuery__AccessPriv *message, - ProtobufCBuffer *buffer); -PgQuery__AccessPriv * - pg_query__access_priv__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__access_priv__free_unpacked - (PgQuery__AccessPriv *message, - ProtobufCAllocator *allocator); -/* PgQuery__GrantRoleStmt methods */ -void pg_query__grant_role_stmt__init - (PgQuery__GrantRoleStmt *message); -size_t pg_query__grant_role_stmt__get_packed_size - (const PgQuery__GrantRoleStmt *message); -size_t pg_query__grant_role_stmt__pack - (const PgQuery__GrantRoleStmt *message, - uint8_t *out); -size_t pg_query__grant_role_stmt__pack_to_buffer - (const PgQuery__GrantRoleStmt *message, - ProtobufCBuffer *buffer); -PgQuery__GrantRoleStmt * - pg_query__grant_role_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__grant_role_stmt__free_unpacked - (PgQuery__GrantRoleStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterDefaultPrivilegesStmt methods */ -void pg_query__alter_default_privileges_stmt__init - (PgQuery__AlterDefaultPrivilegesStmt *message); -size_t pg_query__alter_default_privileges_stmt__get_packed_size - (const PgQuery__AlterDefaultPrivilegesStmt *message); -size_t pg_query__alter_default_privileges_stmt__pack - (const PgQuery__AlterDefaultPrivilegesStmt *message, - uint8_t *out); -size_t pg_query__alter_default_privileges_stmt__pack_to_buffer - (const PgQuery__AlterDefaultPrivilegesStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterDefaultPrivilegesStmt * - pg_query__alter_default_privileges_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_default_privileges_stmt__free_unpacked - (PgQuery__AlterDefaultPrivilegesStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CopyStmt methods */ -void pg_query__copy_stmt__init - (PgQuery__CopyStmt *message); -size_t pg_query__copy_stmt__get_packed_size - (const PgQuery__CopyStmt *message); -size_t pg_query__copy_stmt__pack - (const PgQuery__CopyStmt *message, - uint8_t *out); -size_t pg_query__copy_stmt__pack_to_buffer - (const PgQuery__CopyStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CopyStmt * - pg_query__copy_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__copy_stmt__free_unpacked - (PgQuery__CopyStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__VariableSetStmt methods */ -void pg_query__variable_set_stmt__init - (PgQuery__VariableSetStmt *message); -size_t pg_query__variable_set_stmt__get_packed_size - (const PgQuery__VariableSetStmt *message); -size_t pg_query__variable_set_stmt__pack - (const PgQuery__VariableSetStmt *message, - uint8_t *out); -size_t pg_query__variable_set_stmt__pack_to_buffer - (const PgQuery__VariableSetStmt *message, - ProtobufCBuffer *buffer); -PgQuery__VariableSetStmt * - pg_query__variable_set_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__variable_set_stmt__free_unpacked - (PgQuery__VariableSetStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__VariableShowStmt methods */ -void pg_query__variable_show_stmt__init - (PgQuery__VariableShowStmt *message); -size_t pg_query__variable_show_stmt__get_packed_size - (const PgQuery__VariableShowStmt *message); -size_t pg_query__variable_show_stmt__pack - (const PgQuery__VariableShowStmt *message, - uint8_t *out); -size_t pg_query__variable_show_stmt__pack_to_buffer - (const PgQuery__VariableShowStmt *message, - ProtobufCBuffer *buffer); -PgQuery__VariableShowStmt * - pg_query__variable_show_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__variable_show_stmt__free_unpacked - (PgQuery__VariableShowStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateStmt methods */ -void pg_query__create_stmt__init - (PgQuery__CreateStmt *message); -size_t pg_query__create_stmt__get_packed_size - (const PgQuery__CreateStmt *message); -size_t pg_query__create_stmt__pack - (const PgQuery__CreateStmt *message, - uint8_t *out); -size_t pg_query__create_stmt__pack_to_buffer - (const PgQuery__CreateStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateStmt * - pg_query__create_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_stmt__free_unpacked - (PgQuery__CreateStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__Constraint methods */ -void pg_query__constraint__init - (PgQuery__Constraint *message); -size_t pg_query__constraint__get_packed_size - (const PgQuery__Constraint *message); -size_t pg_query__constraint__pack - (const PgQuery__Constraint *message, - uint8_t *out); -size_t pg_query__constraint__pack_to_buffer - (const PgQuery__Constraint *message, - ProtobufCBuffer *buffer); -PgQuery__Constraint * - pg_query__constraint__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__constraint__free_unpacked - (PgQuery__Constraint *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateTableSpaceStmt methods */ -void pg_query__create_table_space_stmt__init - (PgQuery__CreateTableSpaceStmt *message); -size_t pg_query__create_table_space_stmt__get_packed_size - (const PgQuery__CreateTableSpaceStmt *message); -size_t pg_query__create_table_space_stmt__pack - (const PgQuery__CreateTableSpaceStmt *message, - uint8_t *out); -size_t pg_query__create_table_space_stmt__pack_to_buffer - (const PgQuery__CreateTableSpaceStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateTableSpaceStmt * - pg_query__create_table_space_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_table_space_stmt__free_unpacked - (PgQuery__CreateTableSpaceStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DropTableSpaceStmt methods */ -void pg_query__drop_table_space_stmt__init - (PgQuery__DropTableSpaceStmt *message); -size_t pg_query__drop_table_space_stmt__get_packed_size - (const PgQuery__DropTableSpaceStmt *message); -size_t pg_query__drop_table_space_stmt__pack - (const PgQuery__DropTableSpaceStmt *message, - uint8_t *out); -size_t pg_query__drop_table_space_stmt__pack_to_buffer - (const PgQuery__DropTableSpaceStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DropTableSpaceStmt * - pg_query__drop_table_space_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__drop_table_space_stmt__free_unpacked - (PgQuery__DropTableSpaceStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterTableSpaceOptionsStmt methods */ -void pg_query__alter_table_space_options_stmt__init - (PgQuery__AlterTableSpaceOptionsStmt *message); -size_t pg_query__alter_table_space_options_stmt__get_packed_size - (const PgQuery__AlterTableSpaceOptionsStmt *message); -size_t pg_query__alter_table_space_options_stmt__pack - (const PgQuery__AlterTableSpaceOptionsStmt *message, - uint8_t *out); -size_t pg_query__alter_table_space_options_stmt__pack_to_buffer - (const PgQuery__AlterTableSpaceOptionsStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterTableSpaceOptionsStmt * - pg_query__alter_table_space_options_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_table_space_options_stmt__free_unpacked - (PgQuery__AlterTableSpaceOptionsStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterTableMoveAllStmt methods */ -void pg_query__alter_table_move_all_stmt__init - (PgQuery__AlterTableMoveAllStmt *message); -size_t pg_query__alter_table_move_all_stmt__get_packed_size - (const PgQuery__AlterTableMoveAllStmt *message); -size_t pg_query__alter_table_move_all_stmt__pack - (const PgQuery__AlterTableMoveAllStmt *message, - uint8_t *out); -size_t pg_query__alter_table_move_all_stmt__pack_to_buffer - (const PgQuery__AlterTableMoveAllStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterTableMoveAllStmt * - pg_query__alter_table_move_all_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_table_move_all_stmt__free_unpacked - (PgQuery__AlterTableMoveAllStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateExtensionStmt methods */ -void pg_query__create_extension_stmt__init - (PgQuery__CreateExtensionStmt *message); -size_t pg_query__create_extension_stmt__get_packed_size - (const PgQuery__CreateExtensionStmt *message); -size_t pg_query__create_extension_stmt__pack - (const PgQuery__CreateExtensionStmt *message, - uint8_t *out); -size_t pg_query__create_extension_stmt__pack_to_buffer - (const PgQuery__CreateExtensionStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateExtensionStmt * - pg_query__create_extension_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_extension_stmt__free_unpacked - (PgQuery__CreateExtensionStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterExtensionStmt methods */ -void pg_query__alter_extension_stmt__init - (PgQuery__AlterExtensionStmt *message); -size_t pg_query__alter_extension_stmt__get_packed_size - (const PgQuery__AlterExtensionStmt *message); -size_t pg_query__alter_extension_stmt__pack - (const PgQuery__AlterExtensionStmt *message, - uint8_t *out); -size_t pg_query__alter_extension_stmt__pack_to_buffer - (const PgQuery__AlterExtensionStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterExtensionStmt * - pg_query__alter_extension_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_extension_stmt__free_unpacked - (PgQuery__AlterExtensionStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterExtensionContentsStmt methods */ -void pg_query__alter_extension_contents_stmt__init - (PgQuery__AlterExtensionContentsStmt *message); -size_t pg_query__alter_extension_contents_stmt__get_packed_size - (const PgQuery__AlterExtensionContentsStmt *message); -size_t pg_query__alter_extension_contents_stmt__pack - (const PgQuery__AlterExtensionContentsStmt *message, - uint8_t *out); -size_t pg_query__alter_extension_contents_stmt__pack_to_buffer - (const PgQuery__AlterExtensionContentsStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterExtensionContentsStmt * - pg_query__alter_extension_contents_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_extension_contents_stmt__free_unpacked - (PgQuery__AlterExtensionContentsStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateFdwStmt methods */ -void pg_query__create_fdw_stmt__init - (PgQuery__CreateFdwStmt *message); -size_t pg_query__create_fdw_stmt__get_packed_size - (const PgQuery__CreateFdwStmt *message); -size_t pg_query__create_fdw_stmt__pack - (const PgQuery__CreateFdwStmt *message, - uint8_t *out); -size_t pg_query__create_fdw_stmt__pack_to_buffer - (const PgQuery__CreateFdwStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateFdwStmt * - pg_query__create_fdw_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_fdw_stmt__free_unpacked - (PgQuery__CreateFdwStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterFdwStmt methods */ -void pg_query__alter_fdw_stmt__init - (PgQuery__AlterFdwStmt *message); -size_t pg_query__alter_fdw_stmt__get_packed_size - (const PgQuery__AlterFdwStmt *message); -size_t pg_query__alter_fdw_stmt__pack - (const PgQuery__AlterFdwStmt *message, - uint8_t *out); -size_t pg_query__alter_fdw_stmt__pack_to_buffer - (const PgQuery__AlterFdwStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterFdwStmt * - pg_query__alter_fdw_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_fdw_stmt__free_unpacked - (PgQuery__AlterFdwStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateForeignServerStmt methods */ -void pg_query__create_foreign_server_stmt__init - (PgQuery__CreateForeignServerStmt *message); -size_t pg_query__create_foreign_server_stmt__get_packed_size - (const PgQuery__CreateForeignServerStmt *message); -size_t pg_query__create_foreign_server_stmt__pack - (const PgQuery__CreateForeignServerStmt *message, - uint8_t *out); -size_t pg_query__create_foreign_server_stmt__pack_to_buffer - (const PgQuery__CreateForeignServerStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateForeignServerStmt * - pg_query__create_foreign_server_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_foreign_server_stmt__free_unpacked - (PgQuery__CreateForeignServerStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterForeignServerStmt methods */ -void pg_query__alter_foreign_server_stmt__init - (PgQuery__AlterForeignServerStmt *message); -size_t pg_query__alter_foreign_server_stmt__get_packed_size - (const PgQuery__AlterForeignServerStmt *message); -size_t pg_query__alter_foreign_server_stmt__pack - (const PgQuery__AlterForeignServerStmt *message, - uint8_t *out); -size_t pg_query__alter_foreign_server_stmt__pack_to_buffer - (const PgQuery__AlterForeignServerStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterForeignServerStmt * - pg_query__alter_foreign_server_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_foreign_server_stmt__free_unpacked - (PgQuery__AlterForeignServerStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateForeignTableStmt methods */ -void pg_query__create_foreign_table_stmt__init - (PgQuery__CreateForeignTableStmt *message); -size_t pg_query__create_foreign_table_stmt__get_packed_size - (const PgQuery__CreateForeignTableStmt *message); -size_t pg_query__create_foreign_table_stmt__pack - (const PgQuery__CreateForeignTableStmt *message, - uint8_t *out); -size_t pg_query__create_foreign_table_stmt__pack_to_buffer - (const PgQuery__CreateForeignTableStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateForeignTableStmt * - pg_query__create_foreign_table_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_foreign_table_stmt__free_unpacked - (PgQuery__CreateForeignTableStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateUserMappingStmt methods */ -void pg_query__create_user_mapping_stmt__init - (PgQuery__CreateUserMappingStmt *message); -size_t pg_query__create_user_mapping_stmt__get_packed_size - (const PgQuery__CreateUserMappingStmt *message); -size_t pg_query__create_user_mapping_stmt__pack - (const PgQuery__CreateUserMappingStmt *message, - uint8_t *out); -size_t pg_query__create_user_mapping_stmt__pack_to_buffer - (const PgQuery__CreateUserMappingStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateUserMappingStmt * - pg_query__create_user_mapping_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_user_mapping_stmt__free_unpacked - (PgQuery__CreateUserMappingStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterUserMappingStmt methods */ -void pg_query__alter_user_mapping_stmt__init - (PgQuery__AlterUserMappingStmt *message); -size_t pg_query__alter_user_mapping_stmt__get_packed_size - (const PgQuery__AlterUserMappingStmt *message); -size_t pg_query__alter_user_mapping_stmt__pack - (const PgQuery__AlterUserMappingStmt *message, - uint8_t *out); -size_t pg_query__alter_user_mapping_stmt__pack_to_buffer - (const PgQuery__AlterUserMappingStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterUserMappingStmt * - pg_query__alter_user_mapping_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_user_mapping_stmt__free_unpacked - (PgQuery__AlterUserMappingStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DropUserMappingStmt methods */ -void pg_query__drop_user_mapping_stmt__init - (PgQuery__DropUserMappingStmt *message); -size_t pg_query__drop_user_mapping_stmt__get_packed_size - (const PgQuery__DropUserMappingStmt *message); -size_t pg_query__drop_user_mapping_stmt__pack - (const PgQuery__DropUserMappingStmt *message, - uint8_t *out); -size_t pg_query__drop_user_mapping_stmt__pack_to_buffer - (const PgQuery__DropUserMappingStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DropUserMappingStmt * - pg_query__drop_user_mapping_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__drop_user_mapping_stmt__free_unpacked - (PgQuery__DropUserMappingStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ImportForeignSchemaStmt methods */ -void pg_query__import_foreign_schema_stmt__init - (PgQuery__ImportForeignSchemaStmt *message); -size_t pg_query__import_foreign_schema_stmt__get_packed_size - (const PgQuery__ImportForeignSchemaStmt *message); -size_t pg_query__import_foreign_schema_stmt__pack - (const PgQuery__ImportForeignSchemaStmt *message, - uint8_t *out); -size_t pg_query__import_foreign_schema_stmt__pack_to_buffer - (const PgQuery__ImportForeignSchemaStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ImportForeignSchemaStmt * - pg_query__import_foreign_schema_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__import_foreign_schema_stmt__free_unpacked - (PgQuery__ImportForeignSchemaStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreatePolicyStmt methods */ -void pg_query__create_policy_stmt__init - (PgQuery__CreatePolicyStmt *message); -size_t pg_query__create_policy_stmt__get_packed_size - (const PgQuery__CreatePolicyStmt *message); -size_t pg_query__create_policy_stmt__pack - (const PgQuery__CreatePolicyStmt *message, - uint8_t *out); -size_t pg_query__create_policy_stmt__pack_to_buffer - (const PgQuery__CreatePolicyStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreatePolicyStmt * - pg_query__create_policy_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_policy_stmt__free_unpacked - (PgQuery__CreatePolicyStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterPolicyStmt methods */ -void pg_query__alter_policy_stmt__init - (PgQuery__AlterPolicyStmt *message); -size_t pg_query__alter_policy_stmt__get_packed_size - (const PgQuery__AlterPolicyStmt *message); -size_t pg_query__alter_policy_stmt__pack - (const PgQuery__AlterPolicyStmt *message, - uint8_t *out); -size_t pg_query__alter_policy_stmt__pack_to_buffer - (const PgQuery__AlterPolicyStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterPolicyStmt * - pg_query__alter_policy_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_policy_stmt__free_unpacked - (PgQuery__AlterPolicyStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateAmStmt methods */ -void pg_query__create_am_stmt__init - (PgQuery__CreateAmStmt *message); -size_t pg_query__create_am_stmt__get_packed_size - (const PgQuery__CreateAmStmt *message); -size_t pg_query__create_am_stmt__pack - (const PgQuery__CreateAmStmt *message, - uint8_t *out); -size_t pg_query__create_am_stmt__pack_to_buffer - (const PgQuery__CreateAmStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateAmStmt * - pg_query__create_am_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_am_stmt__free_unpacked - (PgQuery__CreateAmStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateTrigStmt methods */ -void pg_query__create_trig_stmt__init - (PgQuery__CreateTrigStmt *message); -size_t pg_query__create_trig_stmt__get_packed_size - (const PgQuery__CreateTrigStmt *message); -size_t pg_query__create_trig_stmt__pack - (const PgQuery__CreateTrigStmt *message, - uint8_t *out); -size_t pg_query__create_trig_stmt__pack_to_buffer - (const PgQuery__CreateTrigStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateTrigStmt * - pg_query__create_trig_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_trig_stmt__free_unpacked - (PgQuery__CreateTrigStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateEventTrigStmt methods */ -void pg_query__create_event_trig_stmt__init - (PgQuery__CreateEventTrigStmt *message); -size_t pg_query__create_event_trig_stmt__get_packed_size - (const PgQuery__CreateEventTrigStmt *message); -size_t pg_query__create_event_trig_stmt__pack - (const PgQuery__CreateEventTrigStmt *message, - uint8_t *out); -size_t pg_query__create_event_trig_stmt__pack_to_buffer - (const PgQuery__CreateEventTrigStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateEventTrigStmt * - pg_query__create_event_trig_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_event_trig_stmt__free_unpacked - (PgQuery__CreateEventTrigStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterEventTrigStmt methods */ -void pg_query__alter_event_trig_stmt__init - (PgQuery__AlterEventTrigStmt *message); -size_t pg_query__alter_event_trig_stmt__get_packed_size - (const PgQuery__AlterEventTrigStmt *message); -size_t pg_query__alter_event_trig_stmt__pack - (const PgQuery__AlterEventTrigStmt *message, - uint8_t *out); -size_t pg_query__alter_event_trig_stmt__pack_to_buffer - (const PgQuery__AlterEventTrigStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterEventTrigStmt * - pg_query__alter_event_trig_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_event_trig_stmt__free_unpacked - (PgQuery__AlterEventTrigStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreatePLangStmt methods */ -void pg_query__create_plang_stmt__init - (PgQuery__CreatePLangStmt *message); -size_t pg_query__create_plang_stmt__get_packed_size - (const PgQuery__CreatePLangStmt *message); -size_t pg_query__create_plang_stmt__pack - (const PgQuery__CreatePLangStmt *message, - uint8_t *out); -size_t pg_query__create_plang_stmt__pack_to_buffer - (const PgQuery__CreatePLangStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreatePLangStmt * - pg_query__create_plang_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_plang_stmt__free_unpacked - (PgQuery__CreatePLangStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateRoleStmt methods */ -void pg_query__create_role_stmt__init - (PgQuery__CreateRoleStmt *message); -size_t pg_query__create_role_stmt__get_packed_size - (const PgQuery__CreateRoleStmt *message); -size_t pg_query__create_role_stmt__pack - (const PgQuery__CreateRoleStmt *message, - uint8_t *out); -size_t pg_query__create_role_stmt__pack_to_buffer - (const PgQuery__CreateRoleStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateRoleStmt * - pg_query__create_role_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_role_stmt__free_unpacked - (PgQuery__CreateRoleStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterRoleStmt methods */ -void pg_query__alter_role_stmt__init - (PgQuery__AlterRoleStmt *message); -size_t pg_query__alter_role_stmt__get_packed_size - (const PgQuery__AlterRoleStmt *message); -size_t pg_query__alter_role_stmt__pack - (const PgQuery__AlterRoleStmt *message, - uint8_t *out); -size_t pg_query__alter_role_stmt__pack_to_buffer - (const PgQuery__AlterRoleStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterRoleStmt * - pg_query__alter_role_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_role_stmt__free_unpacked - (PgQuery__AlterRoleStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterRoleSetStmt methods */ -void pg_query__alter_role_set_stmt__init - (PgQuery__AlterRoleSetStmt *message); -size_t pg_query__alter_role_set_stmt__get_packed_size - (const PgQuery__AlterRoleSetStmt *message); -size_t pg_query__alter_role_set_stmt__pack - (const PgQuery__AlterRoleSetStmt *message, - uint8_t *out); -size_t pg_query__alter_role_set_stmt__pack_to_buffer - (const PgQuery__AlterRoleSetStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterRoleSetStmt * - pg_query__alter_role_set_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_role_set_stmt__free_unpacked - (PgQuery__AlterRoleSetStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DropRoleStmt methods */ -void pg_query__drop_role_stmt__init - (PgQuery__DropRoleStmt *message); -size_t pg_query__drop_role_stmt__get_packed_size - (const PgQuery__DropRoleStmt *message); -size_t pg_query__drop_role_stmt__pack - (const PgQuery__DropRoleStmt *message, - uint8_t *out); -size_t pg_query__drop_role_stmt__pack_to_buffer - (const PgQuery__DropRoleStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DropRoleStmt * - pg_query__drop_role_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__drop_role_stmt__free_unpacked - (PgQuery__DropRoleStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateSeqStmt methods */ -void pg_query__create_seq_stmt__init - (PgQuery__CreateSeqStmt *message); -size_t pg_query__create_seq_stmt__get_packed_size - (const PgQuery__CreateSeqStmt *message); -size_t pg_query__create_seq_stmt__pack - (const PgQuery__CreateSeqStmt *message, - uint8_t *out); -size_t pg_query__create_seq_stmt__pack_to_buffer - (const PgQuery__CreateSeqStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateSeqStmt * - pg_query__create_seq_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_seq_stmt__free_unpacked - (PgQuery__CreateSeqStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterSeqStmt methods */ -void pg_query__alter_seq_stmt__init - (PgQuery__AlterSeqStmt *message); -size_t pg_query__alter_seq_stmt__get_packed_size - (const PgQuery__AlterSeqStmt *message); -size_t pg_query__alter_seq_stmt__pack - (const PgQuery__AlterSeqStmt *message, - uint8_t *out); -size_t pg_query__alter_seq_stmt__pack_to_buffer - (const PgQuery__AlterSeqStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterSeqStmt * - pg_query__alter_seq_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_seq_stmt__free_unpacked - (PgQuery__AlterSeqStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DefineStmt methods */ -void pg_query__define_stmt__init - (PgQuery__DefineStmt *message); -size_t pg_query__define_stmt__get_packed_size - (const PgQuery__DefineStmt *message); -size_t pg_query__define_stmt__pack - (const PgQuery__DefineStmt *message, - uint8_t *out); -size_t pg_query__define_stmt__pack_to_buffer - (const PgQuery__DefineStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DefineStmt * - pg_query__define_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__define_stmt__free_unpacked - (PgQuery__DefineStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateDomainStmt methods */ -void pg_query__create_domain_stmt__init - (PgQuery__CreateDomainStmt *message); -size_t pg_query__create_domain_stmt__get_packed_size - (const PgQuery__CreateDomainStmt *message); -size_t pg_query__create_domain_stmt__pack - (const PgQuery__CreateDomainStmt *message, - uint8_t *out); -size_t pg_query__create_domain_stmt__pack_to_buffer - (const PgQuery__CreateDomainStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateDomainStmt * - pg_query__create_domain_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_domain_stmt__free_unpacked - (PgQuery__CreateDomainStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateOpClassStmt methods */ -void pg_query__create_op_class_stmt__init - (PgQuery__CreateOpClassStmt *message); -size_t pg_query__create_op_class_stmt__get_packed_size - (const PgQuery__CreateOpClassStmt *message); -size_t pg_query__create_op_class_stmt__pack - (const PgQuery__CreateOpClassStmt *message, - uint8_t *out); -size_t pg_query__create_op_class_stmt__pack_to_buffer - (const PgQuery__CreateOpClassStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateOpClassStmt * - pg_query__create_op_class_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_op_class_stmt__free_unpacked - (PgQuery__CreateOpClassStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateOpClassItem methods */ -void pg_query__create_op_class_item__init - (PgQuery__CreateOpClassItem *message); -size_t pg_query__create_op_class_item__get_packed_size - (const PgQuery__CreateOpClassItem *message); -size_t pg_query__create_op_class_item__pack - (const PgQuery__CreateOpClassItem *message, - uint8_t *out); -size_t pg_query__create_op_class_item__pack_to_buffer - (const PgQuery__CreateOpClassItem *message, - ProtobufCBuffer *buffer); -PgQuery__CreateOpClassItem * - pg_query__create_op_class_item__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_op_class_item__free_unpacked - (PgQuery__CreateOpClassItem *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateOpFamilyStmt methods */ -void pg_query__create_op_family_stmt__init - (PgQuery__CreateOpFamilyStmt *message); -size_t pg_query__create_op_family_stmt__get_packed_size - (const PgQuery__CreateOpFamilyStmt *message); -size_t pg_query__create_op_family_stmt__pack - (const PgQuery__CreateOpFamilyStmt *message, - uint8_t *out); -size_t pg_query__create_op_family_stmt__pack_to_buffer - (const PgQuery__CreateOpFamilyStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateOpFamilyStmt * - pg_query__create_op_family_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_op_family_stmt__free_unpacked - (PgQuery__CreateOpFamilyStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterOpFamilyStmt methods */ -void pg_query__alter_op_family_stmt__init - (PgQuery__AlterOpFamilyStmt *message); -size_t pg_query__alter_op_family_stmt__get_packed_size - (const PgQuery__AlterOpFamilyStmt *message); -size_t pg_query__alter_op_family_stmt__pack - (const PgQuery__AlterOpFamilyStmt *message, - uint8_t *out); -size_t pg_query__alter_op_family_stmt__pack_to_buffer - (const PgQuery__AlterOpFamilyStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterOpFamilyStmt * - pg_query__alter_op_family_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_op_family_stmt__free_unpacked - (PgQuery__AlterOpFamilyStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DropStmt methods */ -void pg_query__drop_stmt__init - (PgQuery__DropStmt *message); -size_t pg_query__drop_stmt__get_packed_size - (const PgQuery__DropStmt *message); -size_t pg_query__drop_stmt__pack - (const PgQuery__DropStmt *message, - uint8_t *out); -size_t pg_query__drop_stmt__pack_to_buffer - (const PgQuery__DropStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DropStmt * - pg_query__drop_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__drop_stmt__free_unpacked - (PgQuery__DropStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__TruncateStmt methods */ -void pg_query__truncate_stmt__init - (PgQuery__TruncateStmt *message); -size_t pg_query__truncate_stmt__get_packed_size - (const PgQuery__TruncateStmt *message); -size_t pg_query__truncate_stmt__pack - (const PgQuery__TruncateStmt *message, - uint8_t *out); -size_t pg_query__truncate_stmt__pack_to_buffer - (const PgQuery__TruncateStmt *message, - ProtobufCBuffer *buffer); -PgQuery__TruncateStmt * - pg_query__truncate_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__truncate_stmt__free_unpacked - (PgQuery__TruncateStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CommentStmt methods */ -void pg_query__comment_stmt__init - (PgQuery__CommentStmt *message); -size_t pg_query__comment_stmt__get_packed_size - (const PgQuery__CommentStmt *message); -size_t pg_query__comment_stmt__pack - (const PgQuery__CommentStmt *message, - uint8_t *out); -size_t pg_query__comment_stmt__pack_to_buffer - (const PgQuery__CommentStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CommentStmt * - pg_query__comment_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__comment_stmt__free_unpacked - (PgQuery__CommentStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__SecLabelStmt methods */ -void pg_query__sec_label_stmt__init - (PgQuery__SecLabelStmt *message); -size_t pg_query__sec_label_stmt__get_packed_size - (const PgQuery__SecLabelStmt *message); -size_t pg_query__sec_label_stmt__pack - (const PgQuery__SecLabelStmt *message, - uint8_t *out); -size_t pg_query__sec_label_stmt__pack_to_buffer - (const PgQuery__SecLabelStmt *message, - ProtobufCBuffer *buffer); -PgQuery__SecLabelStmt * - pg_query__sec_label_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__sec_label_stmt__free_unpacked - (PgQuery__SecLabelStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DeclareCursorStmt methods */ -void pg_query__declare_cursor_stmt__init - (PgQuery__DeclareCursorStmt *message); -size_t pg_query__declare_cursor_stmt__get_packed_size - (const PgQuery__DeclareCursorStmt *message); -size_t pg_query__declare_cursor_stmt__pack - (const PgQuery__DeclareCursorStmt *message, - uint8_t *out); -size_t pg_query__declare_cursor_stmt__pack_to_buffer - (const PgQuery__DeclareCursorStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DeclareCursorStmt * - pg_query__declare_cursor_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__declare_cursor_stmt__free_unpacked - (PgQuery__DeclareCursorStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ClosePortalStmt methods */ -void pg_query__close_portal_stmt__init - (PgQuery__ClosePortalStmt *message); -size_t pg_query__close_portal_stmt__get_packed_size - (const PgQuery__ClosePortalStmt *message); -size_t pg_query__close_portal_stmt__pack - (const PgQuery__ClosePortalStmt *message, - uint8_t *out); -size_t pg_query__close_portal_stmt__pack_to_buffer - (const PgQuery__ClosePortalStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ClosePortalStmt * - pg_query__close_portal_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__close_portal_stmt__free_unpacked - (PgQuery__ClosePortalStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__FetchStmt methods */ -void pg_query__fetch_stmt__init - (PgQuery__FetchStmt *message); -size_t pg_query__fetch_stmt__get_packed_size - (const PgQuery__FetchStmt *message); -size_t pg_query__fetch_stmt__pack - (const PgQuery__FetchStmt *message, - uint8_t *out); -size_t pg_query__fetch_stmt__pack_to_buffer - (const PgQuery__FetchStmt *message, - ProtobufCBuffer *buffer); -PgQuery__FetchStmt * - pg_query__fetch_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__fetch_stmt__free_unpacked - (PgQuery__FetchStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__IndexStmt methods */ -void pg_query__index_stmt__init - (PgQuery__IndexStmt *message); -size_t pg_query__index_stmt__get_packed_size - (const PgQuery__IndexStmt *message); -size_t pg_query__index_stmt__pack - (const PgQuery__IndexStmt *message, - uint8_t *out); -size_t pg_query__index_stmt__pack_to_buffer - (const PgQuery__IndexStmt *message, - ProtobufCBuffer *buffer); -PgQuery__IndexStmt * - pg_query__index_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__index_stmt__free_unpacked - (PgQuery__IndexStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateStatsStmt methods */ -void pg_query__create_stats_stmt__init - (PgQuery__CreateStatsStmt *message); -size_t pg_query__create_stats_stmt__get_packed_size - (const PgQuery__CreateStatsStmt *message); -size_t pg_query__create_stats_stmt__pack - (const PgQuery__CreateStatsStmt *message, - uint8_t *out); -size_t pg_query__create_stats_stmt__pack_to_buffer - (const PgQuery__CreateStatsStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateStatsStmt * - pg_query__create_stats_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_stats_stmt__free_unpacked - (PgQuery__CreateStatsStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__StatsElem methods */ -void pg_query__stats_elem__init - (PgQuery__StatsElem *message); -size_t pg_query__stats_elem__get_packed_size - (const PgQuery__StatsElem *message); -size_t pg_query__stats_elem__pack - (const PgQuery__StatsElem *message, - uint8_t *out); -size_t pg_query__stats_elem__pack_to_buffer - (const PgQuery__StatsElem *message, - ProtobufCBuffer *buffer); -PgQuery__StatsElem * - pg_query__stats_elem__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__stats_elem__free_unpacked - (PgQuery__StatsElem *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterStatsStmt methods */ -void pg_query__alter_stats_stmt__init - (PgQuery__AlterStatsStmt *message); -size_t pg_query__alter_stats_stmt__get_packed_size - (const PgQuery__AlterStatsStmt *message); -size_t pg_query__alter_stats_stmt__pack - (const PgQuery__AlterStatsStmt *message, - uint8_t *out); -size_t pg_query__alter_stats_stmt__pack_to_buffer - (const PgQuery__AlterStatsStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterStatsStmt * - pg_query__alter_stats_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_stats_stmt__free_unpacked - (PgQuery__AlterStatsStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateFunctionStmt methods */ -void pg_query__create_function_stmt__init - (PgQuery__CreateFunctionStmt *message); -size_t pg_query__create_function_stmt__get_packed_size - (const PgQuery__CreateFunctionStmt *message); -size_t pg_query__create_function_stmt__pack - (const PgQuery__CreateFunctionStmt *message, - uint8_t *out); -size_t pg_query__create_function_stmt__pack_to_buffer - (const PgQuery__CreateFunctionStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateFunctionStmt * - pg_query__create_function_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_function_stmt__free_unpacked - (PgQuery__CreateFunctionStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__FunctionParameter methods */ -void pg_query__function_parameter__init - (PgQuery__FunctionParameter *message); -size_t pg_query__function_parameter__get_packed_size - (const PgQuery__FunctionParameter *message); -size_t pg_query__function_parameter__pack - (const PgQuery__FunctionParameter *message, - uint8_t *out); -size_t pg_query__function_parameter__pack_to_buffer - (const PgQuery__FunctionParameter *message, - ProtobufCBuffer *buffer); -PgQuery__FunctionParameter * - pg_query__function_parameter__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__function_parameter__free_unpacked - (PgQuery__FunctionParameter *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterFunctionStmt methods */ -void pg_query__alter_function_stmt__init - (PgQuery__AlterFunctionStmt *message); -size_t pg_query__alter_function_stmt__get_packed_size - (const PgQuery__AlterFunctionStmt *message); -size_t pg_query__alter_function_stmt__pack - (const PgQuery__AlterFunctionStmt *message, - uint8_t *out); -size_t pg_query__alter_function_stmt__pack_to_buffer - (const PgQuery__AlterFunctionStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterFunctionStmt * - pg_query__alter_function_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_function_stmt__free_unpacked - (PgQuery__AlterFunctionStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DoStmt methods */ -void pg_query__do_stmt__init - (PgQuery__DoStmt *message); -size_t pg_query__do_stmt__get_packed_size - (const PgQuery__DoStmt *message); -size_t pg_query__do_stmt__pack - (const PgQuery__DoStmt *message, - uint8_t *out); -size_t pg_query__do_stmt__pack_to_buffer - (const PgQuery__DoStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DoStmt * - pg_query__do_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__do_stmt__free_unpacked - (PgQuery__DoStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__InlineCodeBlock methods */ -void pg_query__inline_code_block__init - (PgQuery__InlineCodeBlock *message); -size_t pg_query__inline_code_block__get_packed_size - (const PgQuery__InlineCodeBlock *message); -size_t pg_query__inline_code_block__pack - (const PgQuery__InlineCodeBlock *message, - uint8_t *out); -size_t pg_query__inline_code_block__pack_to_buffer - (const PgQuery__InlineCodeBlock *message, - ProtobufCBuffer *buffer); -PgQuery__InlineCodeBlock * - pg_query__inline_code_block__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__inline_code_block__free_unpacked - (PgQuery__InlineCodeBlock *message, - ProtobufCAllocator *allocator); -/* PgQuery__CallStmt methods */ -void pg_query__call_stmt__init - (PgQuery__CallStmt *message); -size_t pg_query__call_stmt__get_packed_size - (const PgQuery__CallStmt *message); -size_t pg_query__call_stmt__pack - (const PgQuery__CallStmt *message, - uint8_t *out); -size_t pg_query__call_stmt__pack_to_buffer - (const PgQuery__CallStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CallStmt * - pg_query__call_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__call_stmt__free_unpacked - (PgQuery__CallStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CallContext methods */ -void pg_query__call_context__init - (PgQuery__CallContext *message); -size_t pg_query__call_context__get_packed_size - (const PgQuery__CallContext *message); -size_t pg_query__call_context__pack - (const PgQuery__CallContext *message, - uint8_t *out); -size_t pg_query__call_context__pack_to_buffer - (const PgQuery__CallContext *message, - ProtobufCBuffer *buffer); -PgQuery__CallContext * - pg_query__call_context__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__call_context__free_unpacked - (PgQuery__CallContext *message, - ProtobufCAllocator *allocator); -/* PgQuery__RenameStmt methods */ -void pg_query__rename_stmt__init - (PgQuery__RenameStmt *message); -size_t pg_query__rename_stmt__get_packed_size - (const PgQuery__RenameStmt *message); -size_t pg_query__rename_stmt__pack - (const PgQuery__RenameStmt *message, - uint8_t *out); -size_t pg_query__rename_stmt__pack_to_buffer - (const PgQuery__RenameStmt *message, - ProtobufCBuffer *buffer); -PgQuery__RenameStmt * - pg_query__rename_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__rename_stmt__free_unpacked - (PgQuery__RenameStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterObjectDependsStmt methods */ -void pg_query__alter_object_depends_stmt__init - (PgQuery__AlterObjectDependsStmt *message); -size_t pg_query__alter_object_depends_stmt__get_packed_size - (const PgQuery__AlterObjectDependsStmt *message); -size_t pg_query__alter_object_depends_stmt__pack - (const PgQuery__AlterObjectDependsStmt *message, - uint8_t *out); -size_t pg_query__alter_object_depends_stmt__pack_to_buffer - (const PgQuery__AlterObjectDependsStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterObjectDependsStmt * - pg_query__alter_object_depends_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_object_depends_stmt__free_unpacked - (PgQuery__AlterObjectDependsStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterObjectSchemaStmt methods */ -void pg_query__alter_object_schema_stmt__init - (PgQuery__AlterObjectSchemaStmt *message); -size_t pg_query__alter_object_schema_stmt__get_packed_size - (const PgQuery__AlterObjectSchemaStmt *message); -size_t pg_query__alter_object_schema_stmt__pack - (const PgQuery__AlterObjectSchemaStmt *message, - uint8_t *out); -size_t pg_query__alter_object_schema_stmt__pack_to_buffer - (const PgQuery__AlterObjectSchemaStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterObjectSchemaStmt * - pg_query__alter_object_schema_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_object_schema_stmt__free_unpacked - (PgQuery__AlterObjectSchemaStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterOwnerStmt methods */ -void pg_query__alter_owner_stmt__init - (PgQuery__AlterOwnerStmt *message); -size_t pg_query__alter_owner_stmt__get_packed_size - (const PgQuery__AlterOwnerStmt *message); -size_t pg_query__alter_owner_stmt__pack - (const PgQuery__AlterOwnerStmt *message, - uint8_t *out); -size_t pg_query__alter_owner_stmt__pack_to_buffer - (const PgQuery__AlterOwnerStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterOwnerStmt * - pg_query__alter_owner_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_owner_stmt__free_unpacked - (PgQuery__AlterOwnerStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterOperatorStmt methods */ -void pg_query__alter_operator_stmt__init - (PgQuery__AlterOperatorStmt *message); -size_t pg_query__alter_operator_stmt__get_packed_size - (const PgQuery__AlterOperatorStmt *message); -size_t pg_query__alter_operator_stmt__pack - (const PgQuery__AlterOperatorStmt *message, - uint8_t *out); -size_t pg_query__alter_operator_stmt__pack_to_buffer - (const PgQuery__AlterOperatorStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterOperatorStmt * - pg_query__alter_operator_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_operator_stmt__free_unpacked - (PgQuery__AlterOperatorStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterTypeStmt methods */ -void pg_query__alter_type_stmt__init - (PgQuery__AlterTypeStmt *message); -size_t pg_query__alter_type_stmt__get_packed_size - (const PgQuery__AlterTypeStmt *message); -size_t pg_query__alter_type_stmt__pack - (const PgQuery__AlterTypeStmt *message, - uint8_t *out); -size_t pg_query__alter_type_stmt__pack_to_buffer - (const PgQuery__AlterTypeStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterTypeStmt * - pg_query__alter_type_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_type_stmt__free_unpacked - (PgQuery__AlterTypeStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__RuleStmt methods */ -void pg_query__rule_stmt__init - (PgQuery__RuleStmt *message); -size_t pg_query__rule_stmt__get_packed_size - (const PgQuery__RuleStmt *message); -size_t pg_query__rule_stmt__pack - (const PgQuery__RuleStmt *message, - uint8_t *out); -size_t pg_query__rule_stmt__pack_to_buffer - (const PgQuery__RuleStmt *message, - ProtobufCBuffer *buffer); -PgQuery__RuleStmt * - pg_query__rule_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__rule_stmt__free_unpacked - (PgQuery__RuleStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__NotifyStmt methods */ -void pg_query__notify_stmt__init - (PgQuery__NotifyStmt *message); -size_t pg_query__notify_stmt__get_packed_size - (const PgQuery__NotifyStmt *message); -size_t pg_query__notify_stmt__pack - (const PgQuery__NotifyStmt *message, - uint8_t *out); -size_t pg_query__notify_stmt__pack_to_buffer - (const PgQuery__NotifyStmt *message, - ProtobufCBuffer *buffer); -PgQuery__NotifyStmt * - pg_query__notify_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__notify_stmt__free_unpacked - (PgQuery__NotifyStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ListenStmt methods */ -void pg_query__listen_stmt__init - (PgQuery__ListenStmt *message); -size_t pg_query__listen_stmt__get_packed_size - (const PgQuery__ListenStmt *message); -size_t pg_query__listen_stmt__pack - (const PgQuery__ListenStmt *message, - uint8_t *out); -size_t pg_query__listen_stmt__pack_to_buffer - (const PgQuery__ListenStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ListenStmt * - pg_query__listen_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__listen_stmt__free_unpacked - (PgQuery__ListenStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__UnlistenStmt methods */ -void pg_query__unlisten_stmt__init - (PgQuery__UnlistenStmt *message); -size_t pg_query__unlisten_stmt__get_packed_size - (const PgQuery__UnlistenStmt *message); -size_t pg_query__unlisten_stmt__pack - (const PgQuery__UnlistenStmt *message, - uint8_t *out); -size_t pg_query__unlisten_stmt__pack_to_buffer - (const PgQuery__UnlistenStmt *message, - ProtobufCBuffer *buffer); -PgQuery__UnlistenStmt * - pg_query__unlisten_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__unlisten_stmt__free_unpacked - (PgQuery__UnlistenStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__TransactionStmt methods */ -void pg_query__transaction_stmt__init - (PgQuery__TransactionStmt *message); -size_t pg_query__transaction_stmt__get_packed_size - (const PgQuery__TransactionStmt *message); -size_t pg_query__transaction_stmt__pack - (const PgQuery__TransactionStmt *message, - uint8_t *out); -size_t pg_query__transaction_stmt__pack_to_buffer - (const PgQuery__TransactionStmt *message, - ProtobufCBuffer *buffer); -PgQuery__TransactionStmt * - pg_query__transaction_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__transaction_stmt__free_unpacked - (PgQuery__TransactionStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CompositeTypeStmt methods */ -void pg_query__composite_type_stmt__init - (PgQuery__CompositeTypeStmt *message); -size_t pg_query__composite_type_stmt__get_packed_size - (const PgQuery__CompositeTypeStmt *message); -size_t pg_query__composite_type_stmt__pack - (const PgQuery__CompositeTypeStmt *message, - uint8_t *out); -size_t pg_query__composite_type_stmt__pack_to_buffer - (const PgQuery__CompositeTypeStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CompositeTypeStmt * - pg_query__composite_type_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__composite_type_stmt__free_unpacked - (PgQuery__CompositeTypeStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateEnumStmt methods */ -void pg_query__create_enum_stmt__init - (PgQuery__CreateEnumStmt *message); -size_t pg_query__create_enum_stmt__get_packed_size - (const PgQuery__CreateEnumStmt *message); -size_t pg_query__create_enum_stmt__pack - (const PgQuery__CreateEnumStmt *message, - uint8_t *out); -size_t pg_query__create_enum_stmt__pack_to_buffer - (const PgQuery__CreateEnumStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateEnumStmt * - pg_query__create_enum_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_enum_stmt__free_unpacked - (PgQuery__CreateEnumStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateRangeStmt methods */ -void pg_query__create_range_stmt__init - (PgQuery__CreateRangeStmt *message); -size_t pg_query__create_range_stmt__get_packed_size - (const PgQuery__CreateRangeStmt *message); -size_t pg_query__create_range_stmt__pack - (const PgQuery__CreateRangeStmt *message, - uint8_t *out); -size_t pg_query__create_range_stmt__pack_to_buffer - (const PgQuery__CreateRangeStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateRangeStmt * - pg_query__create_range_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_range_stmt__free_unpacked - (PgQuery__CreateRangeStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterEnumStmt methods */ -void pg_query__alter_enum_stmt__init - (PgQuery__AlterEnumStmt *message); -size_t pg_query__alter_enum_stmt__get_packed_size - (const PgQuery__AlterEnumStmt *message); -size_t pg_query__alter_enum_stmt__pack - (const PgQuery__AlterEnumStmt *message, - uint8_t *out); -size_t pg_query__alter_enum_stmt__pack_to_buffer - (const PgQuery__AlterEnumStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterEnumStmt * - pg_query__alter_enum_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_enum_stmt__free_unpacked - (PgQuery__AlterEnumStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ViewStmt methods */ -void pg_query__view_stmt__init - (PgQuery__ViewStmt *message); -size_t pg_query__view_stmt__get_packed_size - (const PgQuery__ViewStmt *message); -size_t pg_query__view_stmt__pack - (const PgQuery__ViewStmt *message, - uint8_t *out); -size_t pg_query__view_stmt__pack_to_buffer - (const PgQuery__ViewStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ViewStmt * - pg_query__view_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__view_stmt__free_unpacked - (PgQuery__ViewStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__LoadStmt methods */ -void pg_query__load_stmt__init - (PgQuery__LoadStmt *message); -size_t pg_query__load_stmt__get_packed_size - (const PgQuery__LoadStmt *message); -size_t pg_query__load_stmt__pack - (const PgQuery__LoadStmt *message, - uint8_t *out); -size_t pg_query__load_stmt__pack_to_buffer - (const PgQuery__LoadStmt *message, - ProtobufCBuffer *buffer); -PgQuery__LoadStmt * - pg_query__load_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__load_stmt__free_unpacked - (PgQuery__LoadStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreatedbStmt methods */ -void pg_query__createdb_stmt__init - (PgQuery__CreatedbStmt *message); -size_t pg_query__createdb_stmt__get_packed_size - (const PgQuery__CreatedbStmt *message); -size_t pg_query__createdb_stmt__pack - (const PgQuery__CreatedbStmt *message, - uint8_t *out); -size_t pg_query__createdb_stmt__pack_to_buffer - (const PgQuery__CreatedbStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreatedbStmt * - pg_query__createdb_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__createdb_stmt__free_unpacked - (PgQuery__CreatedbStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterDatabaseStmt methods */ -void pg_query__alter_database_stmt__init - (PgQuery__AlterDatabaseStmt *message); -size_t pg_query__alter_database_stmt__get_packed_size - (const PgQuery__AlterDatabaseStmt *message); -size_t pg_query__alter_database_stmt__pack - (const PgQuery__AlterDatabaseStmt *message, - uint8_t *out); -size_t pg_query__alter_database_stmt__pack_to_buffer - (const PgQuery__AlterDatabaseStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterDatabaseStmt * - pg_query__alter_database_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_database_stmt__free_unpacked - (PgQuery__AlterDatabaseStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterDatabaseRefreshCollStmt methods */ -void pg_query__alter_database_refresh_coll_stmt__init - (PgQuery__AlterDatabaseRefreshCollStmt *message); -size_t pg_query__alter_database_refresh_coll_stmt__get_packed_size - (const PgQuery__AlterDatabaseRefreshCollStmt *message); -size_t pg_query__alter_database_refresh_coll_stmt__pack - (const PgQuery__AlterDatabaseRefreshCollStmt *message, - uint8_t *out); -size_t pg_query__alter_database_refresh_coll_stmt__pack_to_buffer - (const PgQuery__AlterDatabaseRefreshCollStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterDatabaseRefreshCollStmt * - pg_query__alter_database_refresh_coll_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_database_refresh_coll_stmt__free_unpacked - (PgQuery__AlterDatabaseRefreshCollStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterDatabaseSetStmt methods */ -void pg_query__alter_database_set_stmt__init - (PgQuery__AlterDatabaseSetStmt *message); -size_t pg_query__alter_database_set_stmt__get_packed_size - (const PgQuery__AlterDatabaseSetStmt *message); -size_t pg_query__alter_database_set_stmt__pack - (const PgQuery__AlterDatabaseSetStmt *message, - uint8_t *out); -size_t pg_query__alter_database_set_stmt__pack_to_buffer - (const PgQuery__AlterDatabaseSetStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterDatabaseSetStmt * - pg_query__alter_database_set_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_database_set_stmt__free_unpacked - (PgQuery__AlterDatabaseSetStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DropdbStmt methods */ -void pg_query__dropdb_stmt__init - (PgQuery__DropdbStmt *message); -size_t pg_query__dropdb_stmt__get_packed_size - (const PgQuery__DropdbStmt *message); -size_t pg_query__dropdb_stmt__pack - (const PgQuery__DropdbStmt *message, - uint8_t *out); -size_t pg_query__dropdb_stmt__pack_to_buffer - (const PgQuery__DropdbStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DropdbStmt * - pg_query__dropdb_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__dropdb_stmt__free_unpacked - (PgQuery__DropdbStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterSystemStmt methods */ -void pg_query__alter_system_stmt__init - (PgQuery__AlterSystemStmt *message); -size_t pg_query__alter_system_stmt__get_packed_size - (const PgQuery__AlterSystemStmt *message); -size_t pg_query__alter_system_stmt__pack - (const PgQuery__AlterSystemStmt *message, - uint8_t *out); -size_t pg_query__alter_system_stmt__pack_to_buffer - (const PgQuery__AlterSystemStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterSystemStmt * - pg_query__alter_system_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_system_stmt__free_unpacked - (PgQuery__AlterSystemStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ClusterStmt methods */ -void pg_query__cluster_stmt__init - (PgQuery__ClusterStmt *message); -size_t pg_query__cluster_stmt__get_packed_size - (const PgQuery__ClusterStmt *message); -size_t pg_query__cluster_stmt__pack - (const PgQuery__ClusterStmt *message, - uint8_t *out); -size_t pg_query__cluster_stmt__pack_to_buffer - (const PgQuery__ClusterStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ClusterStmt * - pg_query__cluster_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__cluster_stmt__free_unpacked - (PgQuery__ClusterStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__VacuumStmt methods */ -void pg_query__vacuum_stmt__init - (PgQuery__VacuumStmt *message); -size_t pg_query__vacuum_stmt__get_packed_size - (const PgQuery__VacuumStmt *message); -size_t pg_query__vacuum_stmt__pack - (const PgQuery__VacuumStmt *message, - uint8_t *out); -size_t pg_query__vacuum_stmt__pack_to_buffer - (const PgQuery__VacuumStmt *message, - ProtobufCBuffer *buffer); -PgQuery__VacuumStmt * - pg_query__vacuum_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__vacuum_stmt__free_unpacked - (PgQuery__VacuumStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__VacuumRelation methods */ -void pg_query__vacuum_relation__init - (PgQuery__VacuumRelation *message); -size_t pg_query__vacuum_relation__get_packed_size - (const PgQuery__VacuumRelation *message); -size_t pg_query__vacuum_relation__pack - (const PgQuery__VacuumRelation *message, - uint8_t *out); -size_t pg_query__vacuum_relation__pack_to_buffer - (const PgQuery__VacuumRelation *message, - ProtobufCBuffer *buffer); -PgQuery__VacuumRelation * - pg_query__vacuum_relation__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__vacuum_relation__free_unpacked - (PgQuery__VacuumRelation *message, - ProtobufCAllocator *allocator); -/* PgQuery__ExplainStmt methods */ -void pg_query__explain_stmt__init - (PgQuery__ExplainStmt *message); -size_t pg_query__explain_stmt__get_packed_size - (const PgQuery__ExplainStmt *message); -size_t pg_query__explain_stmt__pack - (const PgQuery__ExplainStmt *message, - uint8_t *out); -size_t pg_query__explain_stmt__pack_to_buffer - (const PgQuery__ExplainStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ExplainStmt * - pg_query__explain_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__explain_stmt__free_unpacked - (PgQuery__ExplainStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateTableAsStmt methods */ -void pg_query__create_table_as_stmt__init - (PgQuery__CreateTableAsStmt *message); -size_t pg_query__create_table_as_stmt__get_packed_size - (const PgQuery__CreateTableAsStmt *message); -size_t pg_query__create_table_as_stmt__pack - (const PgQuery__CreateTableAsStmt *message, - uint8_t *out); -size_t pg_query__create_table_as_stmt__pack_to_buffer - (const PgQuery__CreateTableAsStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateTableAsStmt * - pg_query__create_table_as_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_table_as_stmt__free_unpacked - (PgQuery__CreateTableAsStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__RefreshMatViewStmt methods */ -void pg_query__refresh_mat_view_stmt__init - (PgQuery__RefreshMatViewStmt *message); -size_t pg_query__refresh_mat_view_stmt__get_packed_size - (const PgQuery__RefreshMatViewStmt *message); -size_t pg_query__refresh_mat_view_stmt__pack - (const PgQuery__RefreshMatViewStmt *message, - uint8_t *out); -size_t pg_query__refresh_mat_view_stmt__pack_to_buffer - (const PgQuery__RefreshMatViewStmt *message, - ProtobufCBuffer *buffer); -PgQuery__RefreshMatViewStmt * - pg_query__refresh_mat_view_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__refresh_mat_view_stmt__free_unpacked - (PgQuery__RefreshMatViewStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CheckPointStmt methods */ -void pg_query__check_point_stmt__init - (PgQuery__CheckPointStmt *message); -size_t pg_query__check_point_stmt__get_packed_size - (const PgQuery__CheckPointStmt *message); -size_t pg_query__check_point_stmt__pack - (const PgQuery__CheckPointStmt *message, - uint8_t *out); -size_t pg_query__check_point_stmt__pack_to_buffer - (const PgQuery__CheckPointStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CheckPointStmt * - pg_query__check_point_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__check_point_stmt__free_unpacked - (PgQuery__CheckPointStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DiscardStmt methods */ -void pg_query__discard_stmt__init - (PgQuery__DiscardStmt *message); -size_t pg_query__discard_stmt__get_packed_size - (const PgQuery__DiscardStmt *message); -size_t pg_query__discard_stmt__pack - (const PgQuery__DiscardStmt *message, - uint8_t *out); -size_t pg_query__discard_stmt__pack_to_buffer - (const PgQuery__DiscardStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DiscardStmt * - pg_query__discard_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__discard_stmt__free_unpacked - (PgQuery__DiscardStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__LockStmt methods */ -void pg_query__lock_stmt__init - (PgQuery__LockStmt *message); -size_t pg_query__lock_stmt__get_packed_size - (const PgQuery__LockStmt *message); -size_t pg_query__lock_stmt__pack - (const PgQuery__LockStmt *message, - uint8_t *out); -size_t pg_query__lock_stmt__pack_to_buffer - (const PgQuery__LockStmt *message, - ProtobufCBuffer *buffer); -PgQuery__LockStmt * - pg_query__lock_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__lock_stmt__free_unpacked - (PgQuery__LockStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ConstraintsSetStmt methods */ -void pg_query__constraints_set_stmt__init - (PgQuery__ConstraintsSetStmt *message); -size_t pg_query__constraints_set_stmt__get_packed_size - (const PgQuery__ConstraintsSetStmt *message); -size_t pg_query__constraints_set_stmt__pack - (const PgQuery__ConstraintsSetStmt *message, - uint8_t *out); -size_t pg_query__constraints_set_stmt__pack_to_buffer - (const PgQuery__ConstraintsSetStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ConstraintsSetStmt * - pg_query__constraints_set_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__constraints_set_stmt__free_unpacked - (PgQuery__ConstraintsSetStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ReindexStmt methods */ -void pg_query__reindex_stmt__init - (PgQuery__ReindexStmt *message); -size_t pg_query__reindex_stmt__get_packed_size - (const PgQuery__ReindexStmt *message); -size_t pg_query__reindex_stmt__pack - (const PgQuery__ReindexStmt *message, - uint8_t *out); -size_t pg_query__reindex_stmt__pack_to_buffer - (const PgQuery__ReindexStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ReindexStmt * - pg_query__reindex_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__reindex_stmt__free_unpacked - (PgQuery__ReindexStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateConversionStmt methods */ -void pg_query__create_conversion_stmt__init - (PgQuery__CreateConversionStmt *message); -size_t pg_query__create_conversion_stmt__get_packed_size - (const PgQuery__CreateConversionStmt *message); -size_t pg_query__create_conversion_stmt__pack - (const PgQuery__CreateConversionStmt *message, - uint8_t *out); -size_t pg_query__create_conversion_stmt__pack_to_buffer - (const PgQuery__CreateConversionStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateConversionStmt * - pg_query__create_conversion_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_conversion_stmt__free_unpacked - (PgQuery__CreateConversionStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateCastStmt methods */ -void pg_query__create_cast_stmt__init - (PgQuery__CreateCastStmt *message); -size_t pg_query__create_cast_stmt__get_packed_size - (const PgQuery__CreateCastStmt *message); -size_t pg_query__create_cast_stmt__pack - (const PgQuery__CreateCastStmt *message, - uint8_t *out); -size_t pg_query__create_cast_stmt__pack_to_buffer - (const PgQuery__CreateCastStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateCastStmt * - pg_query__create_cast_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_cast_stmt__free_unpacked - (PgQuery__CreateCastStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateTransformStmt methods */ -void pg_query__create_transform_stmt__init - (PgQuery__CreateTransformStmt *message); -size_t pg_query__create_transform_stmt__get_packed_size - (const PgQuery__CreateTransformStmt *message); -size_t pg_query__create_transform_stmt__pack - (const PgQuery__CreateTransformStmt *message, - uint8_t *out); -size_t pg_query__create_transform_stmt__pack_to_buffer - (const PgQuery__CreateTransformStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateTransformStmt * - pg_query__create_transform_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_transform_stmt__free_unpacked - (PgQuery__CreateTransformStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__PrepareStmt methods */ -void pg_query__prepare_stmt__init - (PgQuery__PrepareStmt *message); -size_t pg_query__prepare_stmt__get_packed_size - (const PgQuery__PrepareStmt *message); -size_t pg_query__prepare_stmt__pack - (const PgQuery__PrepareStmt *message, - uint8_t *out); -size_t pg_query__prepare_stmt__pack_to_buffer - (const PgQuery__PrepareStmt *message, - ProtobufCBuffer *buffer); -PgQuery__PrepareStmt * - pg_query__prepare_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__prepare_stmt__free_unpacked - (PgQuery__PrepareStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ExecuteStmt methods */ -void pg_query__execute_stmt__init - (PgQuery__ExecuteStmt *message); -size_t pg_query__execute_stmt__get_packed_size - (const PgQuery__ExecuteStmt *message); -size_t pg_query__execute_stmt__pack - (const PgQuery__ExecuteStmt *message, - uint8_t *out); -size_t pg_query__execute_stmt__pack_to_buffer - (const PgQuery__ExecuteStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ExecuteStmt * - pg_query__execute_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__execute_stmt__free_unpacked - (PgQuery__ExecuteStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DeallocateStmt methods */ -void pg_query__deallocate_stmt__init - (PgQuery__DeallocateStmt *message); -size_t pg_query__deallocate_stmt__get_packed_size - (const PgQuery__DeallocateStmt *message); -size_t pg_query__deallocate_stmt__pack - (const PgQuery__DeallocateStmt *message, - uint8_t *out); -size_t pg_query__deallocate_stmt__pack_to_buffer - (const PgQuery__DeallocateStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DeallocateStmt * - pg_query__deallocate_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__deallocate_stmt__free_unpacked - (PgQuery__DeallocateStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DropOwnedStmt methods */ -void pg_query__drop_owned_stmt__init - (PgQuery__DropOwnedStmt *message); -size_t pg_query__drop_owned_stmt__get_packed_size - (const PgQuery__DropOwnedStmt *message); -size_t pg_query__drop_owned_stmt__pack - (const PgQuery__DropOwnedStmt *message, - uint8_t *out); -size_t pg_query__drop_owned_stmt__pack_to_buffer - (const PgQuery__DropOwnedStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DropOwnedStmt * - pg_query__drop_owned_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__drop_owned_stmt__free_unpacked - (PgQuery__DropOwnedStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ReassignOwnedStmt methods */ -void pg_query__reassign_owned_stmt__init - (PgQuery__ReassignOwnedStmt *message); -size_t pg_query__reassign_owned_stmt__get_packed_size - (const PgQuery__ReassignOwnedStmt *message); -size_t pg_query__reassign_owned_stmt__pack - (const PgQuery__ReassignOwnedStmt *message, - uint8_t *out); -size_t pg_query__reassign_owned_stmt__pack_to_buffer - (const PgQuery__ReassignOwnedStmt *message, - ProtobufCBuffer *buffer); -PgQuery__ReassignOwnedStmt * - pg_query__reassign_owned_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__reassign_owned_stmt__free_unpacked - (PgQuery__ReassignOwnedStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterTSDictionaryStmt methods */ -void pg_query__alter_tsdictionary_stmt__init - (PgQuery__AlterTSDictionaryStmt *message); -size_t pg_query__alter_tsdictionary_stmt__get_packed_size - (const PgQuery__AlterTSDictionaryStmt *message); -size_t pg_query__alter_tsdictionary_stmt__pack - (const PgQuery__AlterTSDictionaryStmt *message, - uint8_t *out); -size_t pg_query__alter_tsdictionary_stmt__pack_to_buffer - (const PgQuery__AlterTSDictionaryStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterTSDictionaryStmt * - pg_query__alter_tsdictionary_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_tsdictionary_stmt__free_unpacked - (PgQuery__AlterTSDictionaryStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterTSConfigurationStmt methods */ -void pg_query__alter_tsconfiguration_stmt__init - (PgQuery__AlterTSConfigurationStmt *message); -size_t pg_query__alter_tsconfiguration_stmt__get_packed_size - (const PgQuery__AlterTSConfigurationStmt *message); -size_t pg_query__alter_tsconfiguration_stmt__pack - (const PgQuery__AlterTSConfigurationStmt *message, - uint8_t *out); -size_t pg_query__alter_tsconfiguration_stmt__pack_to_buffer - (const PgQuery__AlterTSConfigurationStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterTSConfigurationStmt * - pg_query__alter_tsconfiguration_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_tsconfiguration_stmt__free_unpacked - (PgQuery__AlterTSConfigurationStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__PublicationTable methods */ -void pg_query__publication_table__init - (PgQuery__PublicationTable *message); -size_t pg_query__publication_table__get_packed_size - (const PgQuery__PublicationTable *message); -size_t pg_query__publication_table__pack - (const PgQuery__PublicationTable *message, - uint8_t *out); -size_t pg_query__publication_table__pack_to_buffer - (const PgQuery__PublicationTable *message, - ProtobufCBuffer *buffer); -PgQuery__PublicationTable * - pg_query__publication_table__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__publication_table__free_unpacked - (PgQuery__PublicationTable *message, - ProtobufCAllocator *allocator); -/* PgQuery__PublicationObjSpec methods */ -void pg_query__publication_obj_spec__init - (PgQuery__PublicationObjSpec *message); -size_t pg_query__publication_obj_spec__get_packed_size - (const PgQuery__PublicationObjSpec *message); -size_t pg_query__publication_obj_spec__pack - (const PgQuery__PublicationObjSpec *message, - uint8_t *out); -size_t pg_query__publication_obj_spec__pack_to_buffer - (const PgQuery__PublicationObjSpec *message, - ProtobufCBuffer *buffer); -PgQuery__PublicationObjSpec * - pg_query__publication_obj_spec__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__publication_obj_spec__free_unpacked - (PgQuery__PublicationObjSpec *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreatePublicationStmt methods */ -void pg_query__create_publication_stmt__init - (PgQuery__CreatePublicationStmt *message); -size_t pg_query__create_publication_stmt__get_packed_size - (const PgQuery__CreatePublicationStmt *message); -size_t pg_query__create_publication_stmt__pack - (const PgQuery__CreatePublicationStmt *message, - uint8_t *out); -size_t pg_query__create_publication_stmt__pack_to_buffer - (const PgQuery__CreatePublicationStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreatePublicationStmt * - pg_query__create_publication_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_publication_stmt__free_unpacked - (PgQuery__CreatePublicationStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterPublicationStmt methods */ -void pg_query__alter_publication_stmt__init - (PgQuery__AlterPublicationStmt *message); -size_t pg_query__alter_publication_stmt__get_packed_size - (const PgQuery__AlterPublicationStmt *message); -size_t pg_query__alter_publication_stmt__pack - (const PgQuery__AlterPublicationStmt *message, - uint8_t *out); -size_t pg_query__alter_publication_stmt__pack_to_buffer - (const PgQuery__AlterPublicationStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterPublicationStmt * - pg_query__alter_publication_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_publication_stmt__free_unpacked - (PgQuery__AlterPublicationStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__CreateSubscriptionStmt methods */ -void pg_query__create_subscription_stmt__init - (PgQuery__CreateSubscriptionStmt *message); -size_t pg_query__create_subscription_stmt__get_packed_size - (const PgQuery__CreateSubscriptionStmt *message); -size_t pg_query__create_subscription_stmt__pack - (const PgQuery__CreateSubscriptionStmt *message, - uint8_t *out); -size_t pg_query__create_subscription_stmt__pack_to_buffer - (const PgQuery__CreateSubscriptionStmt *message, - ProtobufCBuffer *buffer); -PgQuery__CreateSubscriptionStmt * - pg_query__create_subscription_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__create_subscription_stmt__free_unpacked - (PgQuery__CreateSubscriptionStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__AlterSubscriptionStmt methods */ -void pg_query__alter_subscription_stmt__init - (PgQuery__AlterSubscriptionStmt *message); -size_t pg_query__alter_subscription_stmt__get_packed_size - (const PgQuery__AlterSubscriptionStmt *message); -size_t pg_query__alter_subscription_stmt__pack - (const PgQuery__AlterSubscriptionStmt *message, - uint8_t *out); -size_t pg_query__alter_subscription_stmt__pack_to_buffer - (const PgQuery__AlterSubscriptionStmt *message, - ProtobufCBuffer *buffer); -PgQuery__AlterSubscriptionStmt * - pg_query__alter_subscription_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__alter_subscription_stmt__free_unpacked - (PgQuery__AlterSubscriptionStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__DropSubscriptionStmt methods */ -void pg_query__drop_subscription_stmt__init - (PgQuery__DropSubscriptionStmt *message); -size_t pg_query__drop_subscription_stmt__get_packed_size - (const PgQuery__DropSubscriptionStmt *message); -size_t pg_query__drop_subscription_stmt__pack - (const PgQuery__DropSubscriptionStmt *message, - uint8_t *out); -size_t pg_query__drop_subscription_stmt__pack_to_buffer - (const PgQuery__DropSubscriptionStmt *message, - ProtobufCBuffer *buffer); -PgQuery__DropSubscriptionStmt * - pg_query__drop_subscription_stmt__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__drop_subscription_stmt__free_unpacked - (PgQuery__DropSubscriptionStmt *message, - ProtobufCAllocator *allocator); -/* PgQuery__ScanToken methods */ -void pg_query__scan_token__init - (PgQuery__ScanToken *message); -size_t pg_query__scan_token__get_packed_size - (const PgQuery__ScanToken *message); -size_t pg_query__scan_token__pack - (const PgQuery__ScanToken *message, - uint8_t *out); -size_t pg_query__scan_token__pack_to_buffer - (const PgQuery__ScanToken *message, - ProtobufCBuffer *buffer); -PgQuery__ScanToken * - pg_query__scan_token__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__scan_token__free_unpacked - (PgQuery__ScanToken *message, - ProtobufCAllocator *allocator); -/* PgQuery__SummaryResult__Table methods */ -void pg_query__summary_result__table__init - (PgQuery__SummaryResult__Table *message); -/* PgQuery__SummaryResult__AliasesEntry methods */ -void pg_query__summary_result__aliases_entry__init - (PgQuery__SummaryResult__AliasesEntry *message); -/* PgQuery__SummaryResult__Function methods */ -void pg_query__summary_result__function__init - (PgQuery__SummaryResult__Function *message); -/* PgQuery__SummaryResult__FilterColumn methods */ -void pg_query__summary_result__filter_column__init - (PgQuery__SummaryResult__FilterColumn *message); -/* PgQuery__SummaryResult methods */ -void pg_query__summary_result__init - (PgQuery__SummaryResult *message); -size_t pg_query__summary_result__get_packed_size - (const PgQuery__SummaryResult *message); -size_t pg_query__summary_result__pack - (const PgQuery__SummaryResult *message, - uint8_t *out); -size_t pg_query__summary_result__pack_to_buffer - (const PgQuery__SummaryResult *message, - ProtobufCBuffer *buffer); -PgQuery__SummaryResult * - pg_query__summary_result__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -void pg_query__summary_result__free_unpacked - (PgQuery__SummaryResult *message, - ProtobufCAllocator *allocator); -/* --- per-message closures --- */ - -typedef void (*PgQuery__ParseResult_Closure) - (const PgQuery__ParseResult *message, - void *closure_data); -typedef void (*PgQuery__ScanResult_Closure) - (const PgQuery__ScanResult *message, - void *closure_data); -typedef void (*PgQuery__Node_Closure) - (const PgQuery__Node *message, - void *closure_data); -typedef void (*PgQuery__Integer_Closure) - (const PgQuery__Integer *message, - void *closure_data); -typedef void (*PgQuery__Float_Closure) - (const PgQuery__Float *message, - void *closure_data); -typedef void (*PgQuery__Boolean_Closure) - (const PgQuery__Boolean *message, - void *closure_data); -typedef void (*PgQuery__String_Closure) - (const PgQuery__String *message, - void *closure_data); -typedef void (*PgQuery__BitString_Closure) - (const PgQuery__BitString *message, - void *closure_data); -typedef void (*PgQuery__List_Closure) - (const PgQuery__List *message, - void *closure_data); -typedef void (*PgQuery__OidList_Closure) - (const PgQuery__OidList *message, - void *closure_data); -typedef void (*PgQuery__IntList_Closure) - (const PgQuery__IntList *message, - void *closure_data); -typedef void (*PgQuery__AConst_Closure) - (const PgQuery__AConst *message, - void *closure_data); -typedef void (*PgQuery__Alias_Closure) - (const PgQuery__Alias *message, - void *closure_data); -typedef void (*PgQuery__RangeVar_Closure) - (const PgQuery__RangeVar *message, - void *closure_data); -typedef void (*PgQuery__TableFunc_Closure) - (const PgQuery__TableFunc *message, - void *closure_data); -typedef void (*PgQuery__IntoClause_Closure) - (const PgQuery__IntoClause *message, - void *closure_data); -typedef void (*PgQuery__Var_Closure) - (const PgQuery__Var *message, - void *closure_data); -typedef void (*PgQuery__Param_Closure) - (const PgQuery__Param *message, - void *closure_data); -typedef void (*PgQuery__Aggref_Closure) - (const PgQuery__Aggref *message, - void *closure_data); -typedef void (*PgQuery__GroupingFunc_Closure) - (const PgQuery__GroupingFunc *message, - void *closure_data); -typedef void (*PgQuery__WindowFunc_Closure) - (const PgQuery__WindowFunc *message, - void *closure_data); -typedef void (*PgQuery__WindowFuncRunCondition_Closure) - (const PgQuery__WindowFuncRunCondition *message, - void *closure_data); -typedef void (*PgQuery__MergeSupportFunc_Closure) - (const PgQuery__MergeSupportFunc *message, - void *closure_data); -typedef void (*PgQuery__SubscriptingRef_Closure) - (const PgQuery__SubscriptingRef *message, - void *closure_data); -typedef void (*PgQuery__FuncExpr_Closure) - (const PgQuery__FuncExpr *message, - void *closure_data); -typedef void (*PgQuery__NamedArgExpr_Closure) - (const PgQuery__NamedArgExpr *message, - void *closure_data); -typedef void (*PgQuery__OpExpr_Closure) - (const PgQuery__OpExpr *message, - void *closure_data); -typedef void (*PgQuery__DistinctExpr_Closure) - (const PgQuery__DistinctExpr *message, - void *closure_data); -typedef void (*PgQuery__NullIfExpr_Closure) - (const PgQuery__NullIfExpr *message, - void *closure_data); -typedef void (*PgQuery__ScalarArrayOpExpr_Closure) - (const PgQuery__ScalarArrayOpExpr *message, - void *closure_data); -typedef void (*PgQuery__BoolExpr_Closure) - (const PgQuery__BoolExpr *message, - void *closure_data); -typedef void (*PgQuery__SubLink_Closure) - (const PgQuery__SubLink *message, - void *closure_data); -typedef void (*PgQuery__SubPlan_Closure) - (const PgQuery__SubPlan *message, - void *closure_data); -typedef void (*PgQuery__AlternativeSubPlan_Closure) - (const PgQuery__AlternativeSubPlan *message, - void *closure_data); -typedef void (*PgQuery__FieldSelect_Closure) - (const PgQuery__FieldSelect *message, - void *closure_data); -typedef void (*PgQuery__FieldStore_Closure) - (const PgQuery__FieldStore *message, - void *closure_data); -typedef void (*PgQuery__RelabelType_Closure) - (const PgQuery__RelabelType *message, - void *closure_data); -typedef void (*PgQuery__CoerceViaIO_Closure) - (const PgQuery__CoerceViaIO *message, - void *closure_data); -typedef void (*PgQuery__ArrayCoerceExpr_Closure) - (const PgQuery__ArrayCoerceExpr *message, - void *closure_data); -typedef void (*PgQuery__ConvertRowtypeExpr_Closure) - (const PgQuery__ConvertRowtypeExpr *message, - void *closure_data); -typedef void (*PgQuery__CollateExpr_Closure) - (const PgQuery__CollateExpr *message, - void *closure_data); -typedef void (*PgQuery__CaseExpr_Closure) - (const PgQuery__CaseExpr *message, - void *closure_data); -typedef void (*PgQuery__CaseWhen_Closure) - (const PgQuery__CaseWhen *message, - void *closure_data); -typedef void (*PgQuery__CaseTestExpr_Closure) - (const PgQuery__CaseTestExpr *message, - void *closure_data); -typedef void (*PgQuery__ArrayExpr_Closure) - (const PgQuery__ArrayExpr *message, - void *closure_data); -typedef void (*PgQuery__RowExpr_Closure) - (const PgQuery__RowExpr *message, - void *closure_data); -typedef void (*PgQuery__RowCompareExpr_Closure) - (const PgQuery__RowCompareExpr *message, - void *closure_data); -typedef void (*PgQuery__CoalesceExpr_Closure) - (const PgQuery__CoalesceExpr *message, - void *closure_data); -typedef void (*PgQuery__MinMaxExpr_Closure) - (const PgQuery__MinMaxExpr *message, - void *closure_data); -typedef void (*PgQuery__SQLValueFunction_Closure) - (const PgQuery__SQLValueFunction *message, - void *closure_data); -typedef void (*PgQuery__XmlExpr_Closure) - (const PgQuery__XmlExpr *message, - void *closure_data); -typedef void (*PgQuery__JsonFormat_Closure) - (const PgQuery__JsonFormat *message, - void *closure_data); -typedef void (*PgQuery__JsonReturning_Closure) - (const PgQuery__JsonReturning *message, - void *closure_data); -typedef void (*PgQuery__JsonValueExpr_Closure) - (const PgQuery__JsonValueExpr *message, - void *closure_data); -typedef void (*PgQuery__JsonConstructorExpr_Closure) - (const PgQuery__JsonConstructorExpr *message, - void *closure_data); -typedef void (*PgQuery__JsonIsPredicate_Closure) - (const PgQuery__JsonIsPredicate *message, - void *closure_data); -typedef void (*PgQuery__JsonBehavior_Closure) - (const PgQuery__JsonBehavior *message, - void *closure_data); -typedef void (*PgQuery__JsonExpr_Closure) - (const PgQuery__JsonExpr *message, - void *closure_data); -typedef void (*PgQuery__JsonTablePath_Closure) - (const PgQuery__JsonTablePath *message, - void *closure_data); -typedef void (*PgQuery__JsonTablePathScan_Closure) - (const PgQuery__JsonTablePathScan *message, - void *closure_data); -typedef void (*PgQuery__JsonTableSiblingJoin_Closure) - (const PgQuery__JsonTableSiblingJoin *message, - void *closure_data); -typedef void (*PgQuery__NullTest_Closure) - (const PgQuery__NullTest *message, - void *closure_data); -typedef void (*PgQuery__BooleanTest_Closure) - (const PgQuery__BooleanTest *message, - void *closure_data); -typedef void (*PgQuery__MergeAction_Closure) - (const PgQuery__MergeAction *message, - void *closure_data); -typedef void (*PgQuery__CoerceToDomain_Closure) - (const PgQuery__CoerceToDomain *message, - void *closure_data); -typedef void (*PgQuery__CoerceToDomainValue_Closure) - (const PgQuery__CoerceToDomainValue *message, - void *closure_data); -typedef void (*PgQuery__SetToDefault_Closure) - (const PgQuery__SetToDefault *message, - void *closure_data); -typedef void (*PgQuery__CurrentOfExpr_Closure) - (const PgQuery__CurrentOfExpr *message, - void *closure_data); -typedef void (*PgQuery__NextValueExpr_Closure) - (const PgQuery__NextValueExpr *message, - void *closure_data); -typedef void (*PgQuery__InferenceElem_Closure) - (const PgQuery__InferenceElem *message, - void *closure_data); -typedef void (*PgQuery__ReturningExpr_Closure) - (const PgQuery__ReturningExpr *message, - void *closure_data); -typedef void (*PgQuery__TargetEntry_Closure) - (const PgQuery__TargetEntry *message, - void *closure_data); -typedef void (*PgQuery__RangeTblRef_Closure) - (const PgQuery__RangeTblRef *message, - void *closure_data); -typedef void (*PgQuery__JoinExpr_Closure) - (const PgQuery__JoinExpr *message, - void *closure_data); -typedef void (*PgQuery__FromExpr_Closure) - (const PgQuery__FromExpr *message, - void *closure_data); -typedef void (*PgQuery__OnConflictExpr_Closure) - (const PgQuery__OnConflictExpr *message, - void *closure_data); -typedef void (*PgQuery__Query_Closure) - (const PgQuery__Query *message, - void *closure_data); -typedef void (*PgQuery__TypeName_Closure) - (const PgQuery__TypeName *message, - void *closure_data); -typedef void (*PgQuery__ColumnRef_Closure) - (const PgQuery__ColumnRef *message, - void *closure_data); -typedef void (*PgQuery__ParamRef_Closure) - (const PgQuery__ParamRef *message, - void *closure_data); -typedef void (*PgQuery__AExpr_Closure) - (const PgQuery__AExpr *message, - void *closure_data); -typedef void (*PgQuery__TypeCast_Closure) - (const PgQuery__TypeCast *message, - void *closure_data); -typedef void (*PgQuery__CollateClause_Closure) - (const PgQuery__CollateClause *message, - void *closure_data); -typedef void (*PgQuery__RoleSpec_Closure) - (const PgQuery__RoleSpec *message, - void *closure_data); -typedef void (*PgQuery__FuncCall_Closure) - (const PgQuery__FuncCall *message, - void *closure_data); -typedef void (*PgQuery__AStar_Closure) - (const PgQuery__AStar *message, - void *closure_data); -typedef void (*PgQuery__AIndices_Closure) - (const PgQuery__AIndices *message, - void *closure_data); -typedef void (*PgQuery__AIndirection_Closure) - (const PgQuery__AIndirection *message, - void *closure_data); -typedef void (*PgQuery__AArrayExpr_Closure) - (const PgQuery__AArrayExpr *message, - void *closure_data); -typedef void (*PgQuery__ResTarget_Closure) - (const PgQuery__ResTarget *message, - void *closure_data); -typedef void (*PgQuery__MultiAssignRef_Closure) - (const PgQuery__MultiAssignRef *message, - void *closure_data); -typedef void (*PgQuery__SortBy_Closure) - (const PgQuery__SortBy *message, - void *closure_data); -typedef void (*PgQuery__WindowDef_Closure) - (const PgQuery__WindowDef *message, - void *closure_data); -typedef void (*PgQuery__RangeSubselect_Closure) - (const PgQuery__RangeSubselect *message, - void *closure_data); -typedef void (*PgQuery__RangeFunction_Closure) - (const PgQuery__RangeFunction *message, - void *closure_data); -typedef void (*PgQuery__RangeTableFunc_Closure) - (const PgQuery__RangeTableFunc *message, - void *closure_data); -typedef void (*PgQuery__RangeTableFuncCol_Closure) - (const PgQuery__RangeTableFuncCol *message, - void *closure_data); -typedef void (*PgQuery__RangeTableSample_Closure) - (const PgQuery__RangeTableSample *message, - void *closure_data); -typedef void (*PgQuery__ColumnDef_Closure) - (const PgQuery__ColumnDef *message, - void *closure_data); -typedef void (*PgQuery__TableLikeClause_Closure) - (const PgQuery__TableLikeClause *message, - void *closure_data); -typedef void (*PgQuery__IndexElem_Closure) - (const PgQuery__IndexElem *message, - void *closure_data); -typedef void (*PgQuery__DefElem_Closure) - (const PgQuery__DefElem *message, - void *closure_data); -typedef void (*PgQuery__LockingClause_Closure) - (const PgQuery__LockingClause *message, - void *closure_data); -typedef void (*PgQuery__XmlSerialize_Closure) - (const PgQuery__XmlSerialize *message, - void *closure_data); -typedef void (*PgQuery__PartitionElem_Closure) - (const PgQuery__PartitionElem *message, - void *closure_data); -typedef void (*PgQuery__PartitionSpec_Closure) - (const PgQuery__PartitionSpec *message, - void *closure_data); -typedef void (*PgQuery__PartitionBoundSpec_Closure) - (const PgQuery__PartitionBoundSpec *message, - void *closure_data); -typedef void (*PgQuery__PartitionRangeDatum_Closure) - (const PgQuery__PartitionRangeDatum *message, - void *closure_data); -typedef void (*PgQuery__PartitionCmd_Closure) - (const PgQuery__PartitionCmd *message, - void *closure_data); -typedef void (*PgQuery__RangeTblEntry_Closure) - (const PgQuery__RangeTblEntry *message, - void *closure_data); -typedef void (*PgQuery__RTEPermissionInfo_Closure) - (const PgQuery__RTEPermissionInfo *message, - void *closure_data); -typedef void (*PgQuery__RangeTblFunction_Closure) - (const PgQuery__RangeTblFunction *message, - void *closure_data); -typedef void (*PgQuery__TableSampleClause_Closure) - (const PgQuery__TableSampleClause *message, - void *closure_data); -typedef void (*PgQuery__WithCheckOption_Closure) - (const PgQuery__WithCheckOption *message, - void *closure_data); -typedef void (*PgQuery__SortGroupClause_Closure) - (const PgQuery__SortGroupClause *message, - void *closure_data); -typedef void (*PgQuery__GroupingSet_Closure) - (const PgQuery__GroupingSet *message, - void *closure_data); -typedef void (*PgQuery__WindowClause_Closure) - (const PgQuery__WindowClause *message, - void *closure_data); -typedef void (*PgQuery__RowMarkClause_Closure) - (const PgQuery__RowMarkClause *message, - void *closure_data); -typedef void (*PgQuery__WithClause_Closure) - (const PgQuery__WithClause *message, - void *closure_data); -typedef void (*PgQuery__InferClause_Closure) - (const PgQuery__InferClause *message, - void *closure_data); -typedef void (*PgQuery__OnConflictClause_Closure) - (const PgQuery__OnConflictClause *message, - void *closure_data); -typedef void (*PgQuery__CTESearchClause_Closure) - (const PgQuery__CTESearchClause *message, - void *closure_data); -typedef void (*PgQuery__CTECycleClause_Closure) - (const PgQuery__CTECycleClause *message, - void *closure_data); -typedef void (*PgQuery__CommonTableExpr_Closure) - (const PgQuery__CommonTableExpr *message, - void *closure_data); -typedef void (*PgQuery__MergeWhenClause_Closure) - (const PgQuery__MergeWhenClause *message, - void *closure_data); -typedef void (*PgQuery__ReturningOption_Closure) - (const PgQuery__ReturningOption *message, - void *closure_data); -typedef void (*PgQuery__ReturningClause_Closure) - (const PgQuery__ReturningClause *message, - void *closure_data); -typedef void (*PgQuery__TriggerTransition_Closure) - (const PgQuery__TriggerTransition *message, - void *closure_data); -typedef void (*PgQuery__JsonOutput_Closure) - (const PgQuery__JsonOutput *message, - void *closure_data); -typedef void (*PgQuery__JsonArgument_Closure) - (const PgQuery__JsonArgument *message, - void *closure_data); -typedef void (*PgQuery__JsonFuncExpr_Closure) - (const PgQuery__JsonFuncExpr *message, - void *closure_data); -typedef void (*PgQuery__JsonTablePathSpec_Closure) - (const PgQuery__JsonTablePathSpec *message, - void *closure_data); -typedef void (*PgQuery__JsonTable_Closure) - (const PgQuery__JsonTable *message, - void *closure_data); -typedef void (*PgQuery__JsonTableColumn_Closure) - (const PgQuery__JsonTableColumn *message, - void *closure_data); -typedef void (*PgQuery__JsonKeyValue_Closure) - (const PgQuery__JsonKeyValue *message, - void *closure_data); -typedef void (*PgQuery__JsonParseExpr_Closure) - (const PgQuery__JsonParseExpr *message, - void *closure_data); -typedef void (*PgQuery__JsonScalarExpr_Closure) - (const PgQuery__JsonScalarExpr *message, - void *closure_data); -typedef void (*PgQuery__JsonSerializeExpr_Closure) - (const PgQuery__JsonSerializeExpr *message, - void *closure_data); -typedef void (*PgQuery__JsonObjectConstructor_Closure) - (const PgQuery__JsonObjectConstructor *message, - void *closure_data); -typedef void (*PgQuery__JsonArrayConstructor_Closure) - (const PgQuery__JsonArrayConstructor *message, - void *closure_data); -typedef void (*PgQuery__JsonArrayQueryConstructor_Closure) - (const PgQuery__JsonArrayQueryConstructor *message, - void *closure_data); -typedef void (*PgQuery__JsonAggConstructor_Closure) - (const PgQuery__JsonAggConstructor *message, - void *closure_data); -typedef void (*PgQuery__JsonObjectAgg_Closure) - (const PgQuery__JsonObjectAgg *message, - void *closure_data); -typedef void (*PgQuery__JsonArrayAgg_Closure) - (const PgQuery__JsonArrayAgg *message, - void *closure_data); -typedef void (*PgQuery__RawStmt_Closure) - (const PgQuery__RawStmt *message, - void *closure_data); -typedef void (*PgQuery__InsertStmt_Closure) - (const PgQuery__InsertStmt *message, - void *closure_data); -typedef void (*PgQuery__DeleteStmt_Closure) - (const PgQuery__DeleteStmt *message, - void *closure_data); -typedef void (*PgQuery__UpdateStmt_Closure) - (const PgQuery__UpdateStmt *message, - void *closure_data); -typedef void (*PgQuery__MergeStmt_Closure) - (const PgQuery__MergeStmt *message, - void *closure_data); -typedef void (*PgQuery__SelectStmt_Closure) - (const PgQuery__SelectStmt *message, - void *closure_data); -typedef void (*PgQuery__SetOperationStmt_Closure) - (const PgQuery__SetOperationStmt *message, - void *closure_data); -typedef void (*PgQuery__ReturnStmt_Closure) - (const PgQuery__ReturnStmt *message, - void *closure_data); -typedef void (*PgQuery__PLAssignStmt_Closure) - (const PgQuery__PLAssignStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateSchemaStmt_Closure) - (const PgQuery__CreateSchemaStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterTableStmt_Closure) - (const PgQuery__AlterTableStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterTableCmd_Closure) - (const PgQuery__AlterTableCmd *message, - void *closure_data); -typedef void (*PgQuery__ATAlterConstraint_Closure) - (const PgQuery__ATAlterConstraint *message, - void *closure_data); -typedef void (*PgQuery__ReplicaIdentityStmt_Closure) - (const PgQuery__ReplicaIdentityStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterCollationStmt_Closure) - (const PgQuery__AlterCollationStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterDomainStmt_Closure) - (const PgQuery__AlterDomainStmt *message, - void *closure_data); -typedef void (*PgQuery__GrantStmt_Closure) - (const PgQuery__GrantStmt *message, - void *closure_data); -typedef void (*PgQuery__ObjectWithArgs_Closure) - (const PgQuery__ObjectWithArgs *message, - void *closure_data); -typedef void (*PgQuery__AccessPriv_Closure) - (const PgQuery__AccessPriv *message, - void *closure_data); -typedef void (*PgQuery__GrantRoleStmt_Closure) - (const PgQuery__GrantRoleStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterDefaultPrivilegesStmt_Closure) - (const PgQuery__AlterDefaultPrivilegesStmt *message, - void *closure_data); -typedef void (*PgQuery__CopyStmt_Closure) - (const PgQuery__CopyStmt *message, - void *closure_data); -typedef void (*PgQuery__VariableSetStmt_Closure) - (const PgQuery__VariableSetStmt *message, - void *closure_data); -typedef void (*PgQuery__VariableShowStmt_Closure) - (const PgQuery__VariableShowStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateStmt_Closure) - (const PgQuery__CreateStmt *message, - void *closure_data); -typedef void (*PgQuery__Constraint_Closure) - (const PgQuery__Constraint *message, - void *closure_data); -typedef void (*PgQuery__CreateTableSpaceStmt_Closure) - (const PgQuery__CreateTableSpaceStmt *message, - void *closure_data); -typedef void (*PgQuery__DropTableSpaceStmt_Closure) - (const PgQuery__DropTableSpaceStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterTableSpaceOptionsStmt_Closure) - (const PgQuery__AlterTableSpaceOptionsStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterTableMoveAllStmt_Closure) - (const PgQuery__AlterTableMoveAllStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateExtensionStmt_Closure) - (const PgQuery__CreateExtensionStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterExtensionStmt_Closure) - (const PgQuery__AlterExtensionStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterExtensionContentsStmt_Closure) - (const PgQuery__AlterExtensionContentsStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateFdwStmt_Closure) - (const PgQuery__CreateFdwStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterFdwStmt_Closure) - (const PgQuery__AlterFdwStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateForeignServerStmt_Closure) - (const PgQuery__CreateForeignServerStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterForeignServerStmt_Closure) - (const PgQuery__AlterForeignServerStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateForeignTableStmt_Closure) - (const PgQuery__CreateForeignTableStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateUserMappingStmt_Closure) - (const PgQuery__CreateUserMappingStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterUserMappingStmt_Closure) - (const PgQuery__AlterUserMappingStmt *message, - void *closure_data); -typedef void (*PgQuery__DropUserMappingStmt_Closure) - (const PgQuery__DropUserMappingStmt *message, - void *closure_data); -typedef void (*PgQuery__ImportForeignSchemaStmt_Closure) - (const PgQuery__ImportForeignSchemaStmt *message, - void *closure_data); -typedef void (*PgQuery__CreatePolicyStmt_Closure) - (const PgQuery__CreatePolicyStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterPolicyStmt_Closure) - (const PgQuery__AlterPolicyStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateAmStmt_Closure) - (const PgQuery__CreateAmStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateTrigStmt_Closure) - (const PgQuery__CreateTrigStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateEventTrigStmt_Closure) - (const PgQuery__CreateEventTrigStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterEventTrigStmt_Closure) - (const PgQuery__AlterEventTrigStmt *message, - void *closure_data); -typedef void (*PgQuery__CreatePLangStmt_Closure) - (const PgQuery__CreatePLangStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateRoleStmt_Closure) - (const PgQuery__CreateRoleStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterRoleStmt_Closure) - (const PgQuery__AlterRoleStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterRoleSetStmt_Closure) - (const PgQuery__AlterRoleSetStmt *message, - void *closure_data); -typedef void (*PgQuery__DropRoleStmt_Closure) - (const PgQuery__DropRoleStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateSeqStmt_Closure) - (const PgQuery__CreateSeqStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterSeqStmt_Closure) - (const PgQuery__AlterSeqStmt *message, - void *closure_data); -typedef void (*PgQuery__DefineStmt_Closure) - (const PgQuery__DefineStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateDomainStmt_Closure) - (const PgQuery__CreateDomainStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateOpClassStmt_Closure) - (const PgQuery__CreateOpClassStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateOpClassItem_Closure) - (const PgQuery__CreateOpClassItem *message, - void *closure_data); -typedef void (*PgQuery__CreateOpFamilyStmt_Closure) - (const PgQuery__CreateOpFamilyStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterOpFamilyStmt_Closure) - (const PgQuery__AlterOpFamilyStmt *message, - void *closure_data); -typedef void (*PgQuery__DropStmt_Closure) - (const PgQuery__DropStmt *message, - void *closure_data); -typedef void (*PgQuery__TruncateStmt_Closure) - (const PgQuery__TruncateStmt *message, - void *closure_data); -typedef void (*PgQuery__CommentStmt_Closure) - (const PgQuery__CommentStmt *message, - void *closure_data); -typedef void (*PgQuery__SecLabelStmt_Closure) - (const PgQuery__SecLabelStmt *message, - void *closure_data); -typedef void (*PgQuery__DeclareCursorStmt_Closure) - (const PgQuery__DeclareCursorStmt *message, - void *closure_data); -typedef void (*PgQuery__ClosePortalStmt_Closure) - (const PgQuery__ClosePortalStmt *message, - void *closure_data); -typedef void (*PgQuery__FetchStmt_Closure) - (const PgQuery__FetchStmt *message, - void *closure_data); -typedef void (*PgQuery__IndexStmt_Closure) - (const PgQuery__IndexStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateStatsStmt_Closure) - (const PgQuery__CreateStatsStmt *message, - void *closure_data); -typedef void (*PgQuery__StatsElem_Closure) - (const PgQuery__StatsElem *message, - void *closure_data); -typedef void (*PgQuery__AlterStatsStmt_Closure) - (const PgQuery__AlterStatsStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateFunctionStmt_Closure) - (const PgQuery__CreateFunctionStmt *message, - void *closure_data); -typedef void (*PgQuery__FunctionParameter_Closure) - (const PgQuery__FunctionParameter *message, - void *closure_data); -typedef void (*PgQuery__AlterFunctionStmt_Closure) - (const PgQuery__AlterFunctionStmt *message, - void *closure_data); -typedef void (*PgQuery__DoStmt_Closure) - (const PgQuery__DoStmt *message, - void *closure_data); -typedef void (*PgQuery__InlineCodeBlock_Closure) - (const PgQuery__InlineCodeBlock *message, - void *closure_data); -typedef void (*PgQuery__CallStmt_Closure) - (const PgQuery__CallStmt *message, - void *closure_data); -typedef void (*PgQuery__CallContext_Closure) - (const PgQuery__CallContext *message, - void *closure_data); -typedef void (*PgQuery__RenameStmt_Closure) - (const PgQuery__RenameStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterObjectDependsStmt_Closure) - (const PgQuery__AlterObjectDependsStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterObjectSchemaStmt_Closure) - (const PgQuery__AlterObjectSchemaStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterOwnerStmt_Closure) - (const PgQuery__AlterOwnerStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterOperatorStmt_Closure) - (const PgQuery__AlterOperatorStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterTypeStmt_Closure) - (const PgQuery__AlterTypeStmt *message, - void *closure_data); -typedef void (*PgQuery__RuleStmt_Closure) - (const PgQuery__RuleStmt *message, - void *closure_data); -typedef void (*PgQuery__NotifyStmt_Closure) - (const PgQuery__NotifyStmt *message, - void *closure_data); -typedef void (*PgQuery__ListenStmt_Closure) - (const PgQuery__ListenStmt *message, - void *closure_data); -typedef void (*PgQuery__UnlistenStmt_Closure) - (const PgQuery__UnlistenStmt *message, - void *closure_data); -typedef void (*PgQuery__TransactionStmt_Closure) - (const PgQuery__TransactionStmt *message, - void *closure_data); -typedef void (*PgQuery__CompositeTypeStmt_Closure) - (const PgQuery__CompositeTypeStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateEnumStmt_Closure) - (const PgQuery__CreateEnumStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateRangeStmt_Closure) - (const PgQuery__CreateRangeStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterEnumStmt_Closure) - (const PgQuery__AlterEnumStmt *message, - void *closure_data); -typedef void (*PgQuery__ViewStmt_Closure) - (const PgQuery__ViewStmt *message, - void *closure_data); -typedef void (*PgQuery__LoadStmt_Closure) - (const PgQuery__LoadStmt *message, - void *closure_data); -typedef void (*PgQuery__CreatedbStmt_Closure) - (const PgQuery__CreatedbStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterDatabaseStmt_Closure) - (const PgQuery__AlterDatabaseStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterDatabaseRefreshCollStmt_Closure) - (const PgQuery__AlterDatabaseRefreshCollStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterDatabaseSetStmt_Closure) - (const PgQuery__AlterDatabaseSetStmt *message, - void *closure_data); -typedef void (*PgQuery__DropdbStmt_Closure) - (const PgQuery__DropdbStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterSystemStmt_Closure) - (const PgQuery__AlterSystemStmt *message, - void *closure_data); -typedef void (*PgQuery__ClusterStmt_Closure) - (const PgQuery__ClusterStmt *message, - void *closure_data); -typedef void (*PgQuery__VacuumStmt_Closure) - (const PgQuery__VacuumStmt *message, - void *closure_data); -typedef void (*PgQuery__VacuumRelation_Closure) - (const PgQuery__VacuumRelation *message, - void *closure_data); -typedef void (*PgQuery__ExplainStmt_Closure) - (const PgQuery__ExplainStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateTableAsStmt_Closure) - (const PgQuery__CreateTableAsStmt *message, - void *closure_data); -typedef void (*PgQuery__RefreshMatViewStmt_Closure) - (const PgQuery__RefreshMatViewStmt *message, - void *closure_data); -typedef void (*PgQuery__CheckPointStmt_Closure) - (const PgQuery__CheckPointStmt *message, - void *closure_data); -typedef void (*PgQuery__DiscardStmt_Closure) - (const PgQuery__DiscardStmt *message, - void *closure_data); -typedef void (*PgQuery__LockStmt_Closure) - (const PgQuery__LockStmt *message, - void *closure_data); -typedef void (*PgQuery__ConstraintsSetStmt_Closure) - (const PgQuery__ConstraintsSetStmt *message, - void *closure_data); -typedef void (*PgQuery__ReindexStmt_Closure) - (const PgQuery__ReindexStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateConversionStmt_Closure) - (const PgQuery__CreateConversionStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateCastStmt_Closure) - (const PgQuery__CreateCastStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateTransformStmt_Closure) - (const PgQuery__CreateTransformStmt *message, - void *closure_data); -typedef void (*PgQuery__PrepareStmt_Closure) - (const PgQuery__PrepareStmt *message, - void *closure_data); -typedef void (*PgQuery__ExecuteStmt_Closure) - (const PgQuery__ExecuteStmt *message, - void *closure_data); -typedef void (*PgQuery__DeallocateStmt_Closure) - (const PgQuery__DeallocateStmt *message, - void *closure_data); -typedef void (*PgQuery__DropOwnedStmt_Closure) - (const PgQuery__DropOwnedStmt *message, - void *closure_data); -typedef void (*PgQuery__ReassignOwnedStmt_Closure) - (const PgQuery__ReassignOwnedStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterTSDictionaryStmt_Closure) - (const PgQuery__AlterTSDictionaryStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterTSConfigurationStmt_Closure) - (const PgQuery__AlterTSConfigurationStmt *message, - void *closure_data); -typedef void (*PgQuery__PublicationTable_Closure) - (const PgQuery__PublicationTable *message, - void *closure_data); -typedef void (*PgQuery__PublicationObjSpec_Closure) - (const PgQuery__PublicationObjSpec *message, - void *closure_data); -typedef void (*PgQuery__CreatePublicationStmt_Closure) - (const PgQuery__CreatePublicationStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterPublicationStmt_Closure) - (const PgQuery__AlterPublicationStmt *message, - void *closure_data); -typedef void (*PgQuery__CreateSubscriptionStmt_Closure) - (const PgQuery__CreateSubscriptionStmt *message, - void *closure_data); -typedef void (*PgQuery__AlterSubscriptionStmt_Closure) - (const PgQuery__AlterSubscriptionStmt *message, - void *closure_data); -typedef void (*PgQuery__DropSubscriptionStmt_Closure) - (const PgQuery__DropSubscriptionStmt *message, - void *closure_data); -typedef void (*PgQuery__ScanToken_Closure) - (const PgQuery__ScanToken *message, - void *closure_data); -typedef void (*PgQuery__SummaryResult__Table_Closure) - (const PgQuery__SummaryResult__Table *message, - void *closure_data); -typedef void (*PgQuery__SummaryResult__AliasesEntry_Closure) - (const PgQuery__SummaryResult__AliasesEntry *message, - void *closure_data); -typedef void (*PgQuery__SummaryResult__Function_Closure) - (const PgQuery__SummaryResult__Function *message, - void *closure_data); -typedef void (*PgQuery__SummaryResult__FilterColumn_Closure) - (const PgQuery__SummaryResult__FilterColumn *message, - void *closure_data); -typedef void (*PgQuery__SummaryResult_Closure) - (const PgQuery__SummaryResult *message, - void *closure_data); - -/* --- services --- */ - - -/* --- descriptors --- */ - -extern const ProtobufCEnumDescriptor pg_query__query_source__descriptor; -extern const ProtobufCEnumDescriptor pg_query__sort_by_dir__descriptor; -extern const ProtobufCEnumDescriptor pg_query__sort_by_nulls__descriptor; -extern const ProtobufCEnumDescriptor pg_query__set_quantifier__descriptor; -extern const ProtobufCEnumDescriptor pg_query__a__expr__kind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__role_spec_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__table_like_option__descriptor; -extern const ProtobufCEnumDescriptor pg_query__def_elem_action__descriptor; -extern const ProtobufCEnumDescriptor pg_query__partition_strategy__descriptor; -extern const ProtobufCEnumDescriptor pg_query__partition_range_datum_kind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__rtekind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__wcokind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__grouping_set_kind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__ctematerialize__descriptor; -extern const ProtobufCEnumDescriptor pg_query__returning_option_kind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__json_quotes__descriptor; -extern const ProtobufCEnumDescriptor pg_query__json_table_column_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__set_operation__descriptor; -extern const ProtobufCEnumDescriptor pg_query__object_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__drop_behavior__descriptor; -extern const ProtobufCEnumDescriptor pg_query__alter_table_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__grant_target_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__variable_set_kind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__constr_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__import_foreign_schema_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__role_stmt_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__fetch_direction__descriptor; -extern const ProtobufCEnumDescriptor pg_query__function_parameter_mode__descriptor; -extern const ProtobufCEnumDescriptor pg_query__transaction_stmt_kind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__view_check_option__descriptor; -extern const ProtobufCEnumDescriptor pg_query__discard_mode__descriptor; -extern const ProtobufCEnumDescriptor pg_query__reindex_object_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__alter_tsconfig_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__publication_obj_spec_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__alter_publication_action__descriptor; -extern const ProtobufCEnumDescriptor pg_query__alter_subscription_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__overriding_kind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__on_commit_action__descriptor; -extern const ProtobufCEnumDescriptor pg_query__table_func_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__var_returning_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__param_kind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__coercion_context__descriptor; -extern const ProtobufCEnumDescriptor pg_query__coercion_form__descriptor; -extern const ProtobufCEnumDescriptor pg_query__bool_expr_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__sub_link_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__min_max_op__descriptor; -extern const ProtobufCEnumDescriptor pg_query__sqlvalue_function_op__descriptor; -extern const ProtobufCEnumDescriptor pg_query__xml_expr_op__descriptor; -extern const ProtobufCEnumDescriptor pg_query__xml_option_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__json_encoding__descriptor; -extern const ProtobufCEnumDescriptor pg_query__json_format_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__json_constructor_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__json_value_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__json_wrapper__descriptor; -extern const ProtobufCEnumDescriptor pg_query__json_behavior_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__json_expr_op__descriptor; -extern const ProtobufCEnumDescriptor pg_query__null_test_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__bool_test_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__merge_match_kind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__cmd_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__join_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__agg_strategy__descriptor; -extern const ProtobufCEnumDescriptor pg_query__agg_split__descriptor; -extern const ProtobufCEnumDescriptor pg_query__set_op_cmd__descriptor; -extern const ProtobufCEnumDescriptor pg_query__set_op_strategy__descriptor; -extern const ProtobufCEnumDescriptor pg_query__on_conflict_action__descriptor; -extern const ProtobufCEnumDescriptor pg_query__limit_option__descriptor; -extern const ProtobufCEnumDescriptor pg_query__lock_clause_strength__descriptor; -extern const ProtobufCEnumDescriptor pg_query__lock_wait_policy__descriptor; -extern const ProtobufCEnumDescriptor pg_query__lock_tuple_mode__descriptor; -extern const ProtobufCEnumDescriptor pg_query__compare_type__descriptor; -extern const ProtobufCEnumDescriptor pg_query__keyword_kind__descriptor; -extern const ProtobufCEnumDescriptor pg_query__token__descriptor; -extern const ProtobufCMessageDescriptor pg_query__parse_result__descriptor; -extern const ProtobufCMessageDescriptor pg_query__scan_result__descriptor; -extern const ProtobufCMessageDescriptor pg_query__node__descriptor; -extern const ProtobufCMessageDescriptor pg_query__integer__descriptor; -extern const ProtobufCMessageDescriptor pg_query__float__descriptor; -extern const ProtobufCMessageDescriptor pg_query__boolean__descriptor; -extern const ProtobufCMessageDescriptor pg_query__string__descriptor; -extern const ProtobufCMessageDescriptor pg_query__bit_string__descriptor; -extern const ProtobufCMessageDescriptor pg_query__list__descriptor; -extern const ProtobufCMessageDescriptor pg_query__oid_list__descriptor; -extern const ProtobufCMessageDescriptor pg_query__int_list__descriptor; -extern const ProtobufCMessageDescriptor pg_query__a__const__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alias__descriptor; -extern const ProtobufCMessageDescriptor pg_query__range_var__descriptor; -extern const ProtobufCMessageDescriptor pg_query__table_func__descriptor; -extern const ProtobufCMessageDescriptor pg_query__into_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__var__descriptor; -extern const ProtobufCMessageDescriptor pg_query__param__descriptor; -extern const ProtobufCMessageDescriptor pg_query__aggref__descriptor; -extern const ProtobufCMessageDescriptor pg_query__grouping_func__descriptor; -extern const ProtobufCMessageDescriptor pg_query__window_func__descriptor; -extern const ProtobufCMessageDescriptor pg_query__window_func_run_condition__descriptor; -extern const ProtobufCMessageDescriptor pg_query__merge_support_func__descriptor; -extern const ProtobufCMessageDescriptor pg_query__subscripting_ref__descriptor; -extern const ProtobufCMessageDescriptor pg_query__func_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__named_arg_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__op_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__distinct_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__null_if_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__scalar_array_op_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__bool_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__sub_link__descriptor; -extern const ProtobufCMessageDescriptor pg_query__sub_plan__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alternative_sub_plan__descriptor; -extern const ProtobufCMessageDescriptor pg_query__field_select__descriptor; -extern const ProtobufCMessageDescriptor pg_query__field_store__descriptor; -extern const ProtobufCMessageDescriptor pg_query__relabel_type__descriptor; -extern const ProtobufCMessageDescriptor pg_query__coerce_via_io__descriptor; -extern const ProtobufCMessageDescriptor pg_query__array_coerce_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__convert_rowtype_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__collate_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__case_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__case_when__descriptor; -extern const ProtobufCMessageDescriptor pg_query__case_test_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__array_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__row_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__row_compare_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__coalesce_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__min_max_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__sqlvalue_function__descriptor; -extern const ProtobufCMessageDescriptor pg_query__xml_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_format__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_returning__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_value_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_constructor_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_is_predicate__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_behavior__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_table_path__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_table_path_scan__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_table_sibling_join__descriptor; -extern const ProtobufCMessageDescriptor pg_query__null_test__descriptor; -extern const ProtobufCMessageDescriptor pg_query__boolean_test__descriptor; -extern const ProtobufCMessageDescriptor pg_query__merge_action__descriptor; -extern const ProtobufCMessageDescriptor pg_query__coerce_to_domain__descriptor; -extern const ProtobufCMessageDescriptor pg_query__coerce_to_domain_value__descriptor; -extern const ProtobufCMessageDescriptor pg_query__set_to_default__descriptor; -extern const ProtobufCMessageDescriptor pg_query__current_of_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__next_value_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__inference_elem__descriptor; -extern const ProtobufCMessageDescriptor pg_query__returning_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__target_entry__descriptor; -extern const ProtobufCMessageDescriptor pg_query__range_tbl_ref__descriptor; -extern const ProtobufCMessageDescriptor pg_query__join_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__from_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__on_conflict_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__query__descriptor; -extern const ProtobufCMessageDescriptor pg_query__type_name__descriptor; -extern const ProtobufCMessageDescriptor pg_query__column_ref__descriptor; -extern const ProtobufCMessageDescriptor pg_query__param_ref__descriptor; -extern const ProtobufCMessageDescriptor pg_query__a__expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__type_cast__descriptor; -extern const ProtobufCMessageDescriptor pg_query__collate_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__role_spec__descriptor; -extern const ProtobufCMessageDescriptor pg_query__func_call__descriptor; -extern const ProtobufCMessageDescriptor pg_query__a__star__descriptor; -extern const ProtobufCMessageDescriptor pg_query__a__indices__descriptor; -extern const ProtobufCMessageDescriptor pg_query__a__indirection__descriptor; -extern const ProtobufCMessageDescriptor pg_query__a__array_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__res_target__descriptor; -extern const ProtobufCMessageDescriptor pg_query__multi_assign_ref__descriptor; -extern const ProtobufCMessageDescriptor pg_query__sort_by__descriptor; -extern const ProtobufCMessageDescriptor pg_query__window_def__descriptor; -extern const ProtobufCMessageDescriptor pg_query__range_subselect__descriptor; -extern const ProtobufCMessageDescriptor pg_query__range_function__descriptor; -extern const ProtobufCMessageDescriptor pg_query__range_table_func__descriptor; -extern const ProtobufCMessageDescriptor pg_query__range_table_func_col__descriptor; -extern const ProtobufCMessageDescriptor pg_query__range_table_sample__descriptor; -extern const ProtobufCMessageDescriptor pg_query__column_def__descriptor; -extern const ProtobufCMessageDescriptor pg_query__table_like_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__index_elem__descriptor; -extern const ProtobufCMessageDescriptor pg_query__def_elem__descriptor; -extern const ProtobufCMessageDescriptor pg_query__locking_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__xml_serialize__descriptor; -extern const ProtobufCMessageDescriptor pg_query__partition_elem__descriptor; -extern const ProtobufCMessageDescriptor pg_query__partition_spec__descriptor; -extern const ProtobufCMessageDescriptor pg_query__partition_bound_spec__descriptor; -extern const ProtobufCMessageDescriptor pg_query__partition_range_datum__descriptor; -extern const ProtobufCMessageDescriptor pg_query__partition_cmd__descriptor; -extern const ProtobufCMessageDescriptor pg_query__range_tbl_entry__descriptor; -extern const ProtobufCMessageDescriptor pg_query__rtepermission_info__descriptor; -extern const ProtobufCMessageDescriptor pg_query__range_tbl_function__descriptor; -extern const ProtobufCMessageDescriptor pg_query__table_sample_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__with_check_option__descriptor; -extern const ProtobufCMessageDescriptor pg_query__sort_group_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__grouping_set__descriptor; -extern const ProtobufCMessageDescriptor pg_query__window_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__row_mark_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__with_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__infer_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__on_conflict_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__ctesearch_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__ctecycle_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__common_table_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__merge_when_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__returning_option__descriptor; -extern const ProtobufCMessageDescriptor pg_query__returning_clause__descriptor; -extern const ProtobufCMessageDescriptor pg_query__trigger_transition__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_output__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_argument__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_func_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_table_path_spec__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_table__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_table_column__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_key_value__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_parse_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_scalar_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_serialize_expr__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_object_constructor__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_array_constructor__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_array_query_constructor__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_agg_constructor__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_object_agg__descriptor; -extern const ProtobufCMessageDescriptor pg_query__json_array_agg__descriptor; -extern const ProtobufCMessageDescriptor pg_query__raw_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__insert_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__delete_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__update_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__merge_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__select_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__set_operation_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__return_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__plassign_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_schema_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_table_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_table_cmd__descriptor; -extern const ProtobufCMessageDescriptor pg_query__atalter_constraint__descriptor; -extern const ProtobufCMessageDescriptor pg_query__replica_identity_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_collation_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_domain_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__grant_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__object_with_args__descriptor; -extern const ProtobufCMessageDescriptor pg_query__access_priv__descriptor; -extern const ProtobufCMessageDescriptor pg_query__grant_role_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_default_privileges_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__copy_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__variable_set_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__variable_show_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__constraint__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_table_space_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__drop_table_space_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_table_space_options_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_table_move_all_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_extension_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_extension_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_extension_contents_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_fdw_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_fdw_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_foreign_server_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_foreign_server_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_foreign_table_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_user_mapping_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_user_mapping_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__drop_user_mapping_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__import_foreign_schema_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_policy_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_policy_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_am_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_trig_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_event_trig_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_event_trig_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_plang_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_role_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_role_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_role_set_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__drop_role_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_seq_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_seq_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__define_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_domain_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_op_class_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_op_class_item__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_op_family_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_op_family_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__drop_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__truncate_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__comment_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__sec_label_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__declare_cursor_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__close_portal_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__fetch_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__index_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_stats_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__stats_elem__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_stats_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_function_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__function_parameter__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_function_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__do_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__inline_code_block__descriptor; -extern const ProtobufCMessageDescriptor pg_query__call_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__call_context__descriptor; -extern const ProtobufCMessageDescriptor pg_query__rename_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_object_depends_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_object_schema_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_owner_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_operator_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_type_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__rule_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__notify_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__listen_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__unlisten_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__transaction_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__composite_type_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_enum_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_range_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_enum_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__view_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__load_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__createdb_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_database_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_database_refresh_coll_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_database_set_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__dropdb_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_system_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__cluster_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__vacuum_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__vacuum_relation__descriptor; -extern const ProtobufCMessageDescriptor pg_query__explain_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_table_as_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__refresh_mat_view_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__check_point_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__discard_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__lock_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__constraints_set_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__reindex_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_conversion_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_cast_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_transform_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__prepare_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__execute_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__deallocate_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__drop_owned_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__reassign_owned_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_tsdictionary_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_tsconfiguration_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__publication_table__descriptor; -extern const ProtobufCMessageDescriptor pg_query__publication_obj_spec__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_publication_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_publication_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__create_subscription_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__alter_subscription_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__drop_subscription_stmt__descriptor; -extern const ProtobufCMessageDescriptor pg_query__scan_token__descriptor; -extern const ProtobufCMessageDescriptor pg_query__summary_result__descriptor; -extern const ProtobufCMessageDescriptor pg_query__summary_result__table__descriptor; -extern const ProtobufCMessageDescriptor pg_query__summary_result__aliases_entry__descriptor; -extern const ProtobufCMessageDescriptor pg_query__summary_result__function__descriptor; -extern const ProtobufCMessageDescriptor pg_query__summary_result__filter_column__descriptor; -extern const ProtobufCEnumDescriptor pg_query__summary_result__context__descriptor; - -PROTOBUF_C__END_DECLS - - -#endif /* PROTOBUF_C_protobuf_2fpg_5fquery_2eproto__INCLUDED */ diff --git a/protobuf/pg_query.proto b/protobuf/pg_query.proto index 3f8bf1a40..d5628404e 100644 --- a/protobuf/pg_query.proto +++ b/protobuf/pg_query.proto @@ -1293,6 +1293,7 @@ message DefElem Node arg = 3 [json_name="arg"]; DefElemAction defaction = 4 [json_name="defaction"]; int32 location = 5 [json_name="location"]; + int32 arg_location = 6 [json_name="arg_location"]; } message LockingClause @@ -2498,6 +2499,7 @@ message NotifyStmt { string conditionname = 1 [json_name="conditionname"]; string payload = 2 [json_name="payload"]; + int32 payload_location = 3 [json_name="payload_location"]; } message ListenStmt @@ -2785,6 +2787,7 @@ message CreateSubscriptionStmt string conninfo = 2 [json_name="conninfo"]; repeated Node publication = 3 [json_name="publication"]; repeated Node options = 4 [json_name="options"]; + int32 conninfo_location = 5 [json_name="conninfo_location"]; } message AlterSubscriptionStmt @@ -2794,6 +2797,7 @@ message AlterSubscriptionStmt string conninfo = 3 [json_name="conninfo"]; repeated Node publication = 4 [json_name="publication"]; repeated Node options = 5 [json_name="options"]; + int32 conninfo_location = 6 [json_name="conninfo_location"]; } message DropSubscriptionStmt diff --git a/protobuf/pg_query.upb.h b/protobuf/pg_query.upb.h new file mode 100644 index 000000000..ebd175518 --- /dev/null +++ b/protobuf/pg_query.upb.h @@ -0,0 +1,71290 @@ +/* This file was generated by upb_generator from the input file: + * + * protobuf/pg_query.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. + * NO CHECKED-IN PROTOBUF GENCODE */ + +#ifndef PROTOBUF_PG_QUERY_PROTO_UPB_H__UPB_H_ +#define PROTOBUF_PG_QUERY_PROTO_UPB_H__UPB_H_ + +#include "upb/generated_code_support.h" +#include "protobuf/pg_query.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif +typedef struct pg_query_ParseResult { + upb_Message UPB_PRIVATE(base); +} pg_query_ParseResult; + +typedef struct pg_query_ScanResult { + upb_Message UPB_PRIVATE(base); +} pg_query_ScanResult; + +typedef struct pg_query_Node { + upb_Message UPB_PRIVATE(base); +} pg_query_Node; + +typedef struct pg_query_Integer { + upb_Message UPB_PRIVATE(base); +} pg_query_Integer; + +typedef struct pg_query_Float { + upb_Message UPB_PRIVATE(base); +} pg_query_Float; + +typedef struct pg_query_Boolean { + upb_Message UPB_PRIVATE(base); +} pg_query_Boolean; + +typedef struct pg_query_String { + upb_Message UPB_PRIVATE(base); +} pg_query_String; + +typedef struct pg_query_BitString { + upb_Message UPB_PRIVATE(base); +} pg_query_BitString; + +typedef struct pg_query_List { + upb_Message UPB_PRIVATE(base); +} pg_query_List; + +typedef struct pg_query_OidList { + upb_Message UPB_PRIVATE(base); +} pg_query_OidList; + +typedef struct pg_query_IntList { + upb_Message UPB_PRIVATE(base); +} pg_query_IntList; + +typedef struct pg_query_A_Const { + upb_Message UPB_PRIVATE(base); +} pg_query_A_Const; + +typedef struct pg_query_Alias { + upb_Message UPB_PRIVATE(base); +} pg_query_Alias; + +typedef struct pg_query_RangeVar { + upb_Message UPB_PRIVATE(base); +} pg_query_RangeVar; + +typedef struct pg_query_TableFunc { + upb_Message UPB_PRIVATE(base); +} pg_query_TableFunc; + +typedef struct pg_query_IntoClause { + upb_Message UPB_PRIVATE(base); +} pg_query_IntoClause; + +typedef struct pg_query_Var { + upb_Message UPB_PRIVATE(base); +} pg_query_Var; + +typedef struct pg_query_Param { + upb_Message UPB_PRIVATE(base); +} pg_query_Param; + +typedef struct pg_query_Aggref { + upb_Message UPB_PRIVATE(base); +} pg_query_Aggref; + +typedef struct pg_query_GroupingFunc { + upb_Message UPB_PRIVATE(base); +} pg_query_GroupingFunc; + +typedef struct pg_query_WindowFunc { + upb_Message UPB_PRIVATE(base); +} pg_query_WindowFunc; + +typedef struct pg_query_WindowFuncRunCondition { + upb_Message UPB_PRIVATE(base); +} pg_query_WindowFuncRunCondition; + +typedef struct pg_query_MergeSupportFunc { + upb_Message UPB_PRIVATE(base); +} pg_query_MergeSupportFunc; + +typedef struct pg_query_SubscriptingRef { + upb_Message UPB_PRIVATE(base); +} pg_query_SubscriptingRef; + +typedef struct pg_query_FuncExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_FuncExpr; + +typedef struct pg_query_NamedArgExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_NamedArgExpr; + +typedef struct pg_query_OpExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_OpExpr; + +typedef struct pg_query_DistinctExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_DistinctExpr; + +typedef struct pg_query_NullIfExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_NullIfExpr; + +typedef struct pg_query_ScalarArrayOpExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_ScalarArrayOpExpr; + +typedef struct pg_query_BoolExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_BoolExpr; + +typedef struct pg_query_SubLink { + upb_Message UPB_PRIVATE(base); +} pg_query_SubLink; + +typedef struct pg_query_SubPlan { + upb_Message UPB_PRIVATE(base); +} pg_query_SubPlan; + +typedef struct pg_query_AlternativeSubPlan { + upb_Message UPB_PRIVATE(base); +} pg_query_AlternativeSubPlan; + +typedef struct pg_query_FieldSelect { + upb_Message UPB_PRIVATE(base); +} pg_query_FieldSelect; + +typedef struct pg_query_FieldStore { + upb_Message UPB_PRIVATE(base); +} pg_query_FieldStore; + +typedef struct pg_query_RelabelType { + upb_Message UPB_PRIVATE(base); +} pg_query_RelabelType; + +typedef struct pg_query_CoerceViaIO { + upb_Message UPB_PRIVATE(base); +} pg_query_CoerceViaIO; + +typedef struct pg_query_ArrayCoerceExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_ArrayCoerceExpr; + +typedef struct pg_query_ConvertRowtypeExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_ConvertRowtypeExpr; + +typedef struct pg_query_CollateExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_CollateExpr; + +typedef struct pg_query_CaseExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_CaseExpr; + +typedef struct pg_query_CaseWhen { + upb_Message UPB_PRIVATE(base); +} pg_query_CaseWhen; + +typedef struct pg_query_CaseTestExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_CaseTestExpr; + +typedef struct pg_query_ArrayExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_ArrayExpr; + +typedef struct pg_query_RowExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_RowExpr; + +typedef struct pg_query_RowCompareExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_RowCompareExpr; + +typedef struct pg_query_CoalesceExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_CoalesceExpr; + +typedef struct pg_query_MinMaxExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_MinMaxExpr; + +typedef struct pg_query_SQLValueFunction { + upb_Message UPB_PRIVATE(base); +} pg_query_SQLValueFunction; + +typedef struct pg_query_XmlExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_XmlExpr; + +typedef struct pg_query_JsonFormat { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonFormat; + +typedef struct pg_query_JsonReturning { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonReturning; + +typedef struct pg_query_JsonValueExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonValueExpr; + +typedef struct pg_query_JsonConstructorExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonConstructorExpr; + +typedef struct pg_query_JsonIsPredicate { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonIsPredicate; + +typedef struct pg_query_JsonBehavior { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonBehavior; + +typedef struct pg_query_JsonExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonExpr; + +typedef struct pg_query_JsonTablePath { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonTablePath; + +typedef struct pg_query_JsonTablePathScan { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonTablePathScan; + +typedef struct pg_query_JsonTableSiblingJoin { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonTableSiblingJoin; + +typedef struct pg_query_NullTest { + upb_Message UPB_PRIVATE(base); +} pg_query_NullTest; + +typedef struct pg_query_BooleanTest { + upb_Message UPB_PRIVATE(base); +} pg_query_BooleanTest; + +typedef struct pg_query_MergeAction { + upb_Message UPB_PRIVATE(base); +} pg_query_MergeAction; + +typedef struct pg_query_CoerceToDomain { + upb_Message UPB_PRIVATE(base); +} pg_query_CoerceToDomain; + +typedef struct pg_query_CoerceToDomainValue { + upb_Message UPB_PRIVATE(base); +} pg_query_CoerceToDomainValue; + +typedef struct pg_query_SetToDefault { + upb_Message UPB_PRIVATE(base); +} pg_query_SetToDefault; + +typedef struct pg_query_CurrentOfExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_CurrentOfExpr; + +typedef struct pg_query_NextValueExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_NextValueExpr; + +typedef struct pg_query_InferenceElem { + upb_Message UPB_PRIVATE(base); +} pg_query_InferenceElem; + +typedef struct pg_query_ReturningExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_ReturningExpr; + +typedef struct pg_query_TargetEntry { + upb_Message UPB_PRIVATE(base); +} pg_query_TargetEntry; + +typedef struct pg_query_RangeTblRef { + upb_Message UPB_PRIVATE(base); +} pg_query_RangeTblRef; + +typedef struct pg_query_JoinExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_JoinExpr; + +typedef struct pg_query_FromExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_FromExpr; + +typedef struct pg_query_OnConflictExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_OnConflictExpr; + +typedef struct pg_query_Query { + upb_Message UPB_PRIVATE(base); +} pg_query_Query; + +typedef struct pg_query_TypeName { + upb_Message UPB_PRIVATE(base); +} pg_query_TypeName; + +typedef struct pg_query_ColumnRef { + upb_Message UPB_PRIVATE(base); +} pg_query_ColumnRef; + +typedef struct pg_query_ParamRef { + upb_Message UPB_PRIVATE(base); +} pg_query_ParamRef; + +typedef struct pg_query_A_Expr { + upb_Message UPB_PRIVATE(base); +} pg_query_A_Expr; + +typedef struct pg_query_TypeCast { + upb_Message UPB_PRIVATE(base); +} pg_query_TypeCast; + +typedef struct pg_query_CollateClause { + upb_Message UPB_PRIVATE(base); +} pg_query_CollateClause; + +typedef struct pg_query_RoleSpec { + upb_Message UPB_PRIVATE(base); +} pg_query_RoleSpec; + +typedef struct pg_query_FuncCall { + upb_Message UPB_PRIVATE(base); +} pg_query_FuncCall; + +typedef struct pg_query_A_Star { + upb_Message UPB_PRIVATE(base); +} pg_query_A_Star; + +typedef struct pg_query_A_Indices { + upb_Message UPB_PRIVATE(base); +} pg_query_A_Indices; + +typedef struct pg_query_A_Indirection { + upb_Message UPB_PRIVATE(base); +} pg_query_A_Indirection; + +typedef struct pg_query_A_ArrayExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_A_ArrayExpr; + +typedef struct pg_query_ResTarget { + upb_Message UPB_PRIVATE(base); +} pg_query_ResTarget; + +typedef struct pg_query_MultiAssignRef { + upb_Message UPB_PRIVATE(base); +} pg_query_MultiAssignRef; + +typedef struct pg_query_SortBy { + upb_Message UPB_PRIVATE(base); +} pg_query_SortBy; + +typedef struct pg_query_WindowDef { + upb_Message UPB_PRIVATE(base); +} pg_query_WindowDef; + +typedef struct pg_query_RangeSubselect { + upb_Message UPB_PRIVATE(base); +} pg_query_RangeSubselect; + +typedef struct pg_query_RangeFunction { + upb_Message UPB_PRIVATE(base); +} pg_query_RangeFunction; + +typedef struct pg_query_RangeTableFunc { + upb_Message UPB_PRIVATE(base); +} pg_query_RangeTableFunc; + +typedef struct pg_query_RangeTableFuncCol { + upb_Message UPB_PRIVATE(base); +} pg_query_RangeTableFuncCol; + +typedef struct pg_query_RangeTableSample { + upb_Message UPB_PRIVATE(base); +} pg_query_RangeTableSample; + +typedef struct pg_query_ColumnDef { + upb_Message UPB_PRIVATE(base); +} pg_query_ColumnDef; + +typedef struct pg_query_TableLikeClause { + upb_Message UPB_PRIVATE(base); +} pg_query_TableLikeClause; + +typedef struct pg_query_IndexElem { + upb_Message UPB_PRIVATE(base); +} pg_query_IndexElem; + +typedef struct pg_query_DefElem { + upb_Message UPB_PRIVATE(base); +} pg_query_DefElem; + +typedef struct pg_query_LockingClause { + upb_Message UPB_PRIVATE(base); +} pg_query_LockingClause; + +typedef struct pg_query_XmlSerialize { + upb_Message UPB_PRIVATE(base); +} pg_query_XmlSerialize; + +typedef struct pg_query_PartitionElem { + upb_Message UPB_PRIVATE(base); +} pg_query_PartitionElem; + +typedef struct pg_query_PartitionSpec { + upb_Message UPB_PRIVATE(base); +} pg_query_PartitionSpec; + +typedef struct pg_query_PartitionBoundSpec { + upb_Message UPB_PRIVATE(base); +} pg_query_PartitionBoundSpec; + +typedef struct pg_query_PartitionRangeDatum { + upb_Message UPB_PRIVATE(base); +} pg_query_PartitionRangeDatum; + +typedef struct pg_query_PartitionCmd { + upb_Message UPB_PRIVATE(base); +} pg_query_PartitionCmd; + +typedef struct pg_query_RangeTblEntry { + upb_Message UPB_PRIVATE(base); +} pg_query_RangeTblEntry; + +typedef struct pg_query_RTEPermissionInfo { + upb_Message UPB_PRIVATE(base); +} pg_query_RTEPermissionInfo; + +typedef struct pg_query_RangeTblFunction { + upb_Message UPB_PRIVATE(base); +} pg_query_RangeTblFunction; + +typedef struct pg_query_TableSampleClause { + upb_Message UPB_PRIVATE(base); +} pg_query_TableSampleClause; + +typedef struct pg_query_WithCheckOption { + upb_Message UPB_PRIVATE(base); +} pg_query_WithCheckOption; + +typedef struct pg_query_SortGroupClause { + upb_Message UPB_PRIVATE(base); +} pg_query_SortGroupClause; + +typedef struct pg_query_GroupingSet { + upb_Message UPB_PRIVATE(base); +} pg_query_GroupingSet; + +typedef struct pg_query_WindowClause { + upb_Message UPB_PRIVATE(base); +} pg_query_WindowClause; + +typedef struct pg_query_RowMarkClause { + upb_Message UPB_PRIVATE(base); +} pg_query_RowMarkClause; + +typedef struct pg_query_WithClause { + upb_Message UPB_PRIVATE(base); +} pg_query_WithClause; + +typedef struct pg_query_InferClause { + upb_Message UPB_PRIVATE(base); +} pg_query_InferClause; + +typedef struct pg_query_OnConflictClause { + upb_Message UPB_PRIVATE(base); +} pg_query_OnConflictClause; + +typedef struct pg_query_CTESearchClause { + upb_Message UPB_PRIVATE(base); +} pg_query_CTESearchClause; + +typedef struct pg_query_CTECycleClause { + upb_Message UPB_PRIVATE(base); +} pg_query_CTECycleClause; + +typedef struct pg_query_CommonTableExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_CommonTableExpr; + +typedef struct pg_query_MergeWhenClause { + upb_Message UPB_PRIVATE(base); +} pg_query_MergeWhenClause; + +typedef struct pg_query_ReturningOption { + upb_Message UPB_PRIVATE(base); +} pg_query_ReturningOption; + +typedef struct pg_query_ReturningClause { + upb_Message UPB_PRIVATE(base); +} pg_query_ReturningClause; + +typedef struct pg_query_TriggerTransition { + upb_Message UPB_PRIVATE(base); +} pg_query_TriggerTransition; + +typedef struct pg_query_JsonOutput { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonOutput; + +typedef struct pg_query_JsonArgument { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonArgument; + +typedef struct pg_query_JsonFuncExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonFuncExpr; + +typedef struct pg_query_JsonTablePathSpec { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonTablePathSpec; + +typedef struct pg_query_JsonTable { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonTable; + +typedef struct pg_query_JsonTableColumn { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonTableColumn; + +typedef struct pg_query_JsonKeyValue { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonKeyValue; + +typedef struct pg_query_JsonParseExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonParseExpr; + +typedef struct pg_query_JsonScalarExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonScalarExpr; + +typedef struct pg_query_JsonSerializeExpr { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonSerializeExpr; + +typedef struct pg_query_JsonObjectConstructor { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonObjectConstructor; + +typedef struct pg_query_JsonArrayConstructor { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonArrayConstructor; + +typedef struct pg_query_JsonArrayQueryConstructor { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonArrayQueryConstructor; + +typedef struct pg_query_JsonAggConstructor { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonAggConstructor; + +typedef struct pg_query_JsonObjectAgg { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonObjectAgg; + +typedef struct pg_query_JsonArrayAgg { + upb_Message UPB_PRIVATE(base); +} pg_query_JsonArrayAgg; + +typedef struct pg_query_RawStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_RawStmt; + +typedef struct pg_query_InsertStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_InsertStmt; + +typedef struct pg_query_DeleteStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DeleteStmt; + +typedef struct pg_query_UpdateStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_UpdateStmt; + +typedef struct pg_query_MergeStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_MergeStmt; + +typedef struct pg_query_SelectStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_SelectStmt; + +typedef struct pg_query_SetOperationStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_SetOperationStmt; + +typedef struct pg_query_ReturnStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ReturnStmt; + +typedef struct pg_query_PLAssignStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_PLAssignStmt; + +typedef struct pg_query_CreateSchemaStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateSchemaStmt; + +typedef struct pg_query_AlterTableStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterTableStmt; + +typedef struct pg_query_AlterTableCmd { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterTableCmd; + +typedef struct pg_query_ATAlterConstraint { + upb_Message UPB_PRIVATE(base); +} pg_query_ATAlterConstraint; + +typedef struct pg_query_ReplicaIdentityStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ReplicaIdentityStmt; + +typedef struct pg_query_AlterCollationStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterCollationStmt; + +typedef struct pg_query_AlterDomainStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterDomainStmt; + +typedef struct pg_query_GrantStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_GrantStmt; + +typedef struct pg_query_ObjectWithArgs { + upb_Message UPB_PRIVATE(base); +} pg_query_ObjectWithArgs; + +typedef struct pg_query_AccessPriv { + upb_Message UPB_PRIVATE(base); +} pg_query_AccessPriv; + +typedef struct pg_query_GrantRoleStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_GrantRoleStmt; + +typedef struct pg_query_AlterDefaultPrivilegesStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterDefaultPrivilegesStmt; + +typedef struct pg_query_CopyStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CopyStmt; + +typedef struct pg_query_VariableSetStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_VariableSetStmt; + +typedef struct pg_query_VariableShowStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_VariableShowStmt; + +typedef struct pg_query_CreateStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateStmt; + +typedef struct pg_query_Constraint { + upb_Message UPB_PRIVATE(base); +} pg_query_Constraint; + +typedef struct pg_query_CreateTableSpaceStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateTableSpaceStmt; + +typedef struct pg_query_DropTableSpaceStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DropTableSpaceStmt; + +typedef struct pg_query_AlterTableSpaceOptionsStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterTableSpaceOptionsStmt; + +typedef struct pg_query_AlterTableMoveAllStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterTableMoveAllStmt; + +typedef struct pg_query_CreateExtensionStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateExtensionStmt; + +typedef struct pg_query_AlterExtensionStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterExtensionStmt; + +typedef struct pg_query_AlterExtensionContentsStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterExtensionContentsStmt; + +typedef struct pg_query_CreateFdwStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateFdwStmt; + +typedef struct pg_query_AlterFdwStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterFdwStmt; + +typedef struct pg_query_CreateForeignServerStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateForeignServerStmt; + +typedef struct pg_query_AlterForeignServerStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterForeignServerStmt; + +typedef struct pg_query_CreateForeignTableStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateForeignTableStmt; + +typedef struct pg_query_CreateUserMappingStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateUserMappingStmt; + +typedef struct pg_query_AlterUserMappingStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterUserMappingStmt; + +typedef struct pg_query_DropUserMappingStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DropUserMappingStmt; + +typedef struct pg_query_ImportForeignSchemaStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ImportForeignSchemaStmt; + +typedef struct pg_query_CreatePolicyStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreatePolicyStmt; + +typedef struct pg_query_AlterPolicyStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterPolicyStmt; + +typedef struct pg_query_CreateAmStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateAmStmt; + +typedef struct pg_query_CreateTrigStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateTrigStmt; + +typedef struct pg_query_CreateEventTrigStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateEventTrigStmt; + +typedef struct pg_query_AlterEventTrigStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterEventTrigStmt; + +typedef struct pg_query_CreatePLangStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreatePLangStmt; + +typedef struct pg_query_CreateRoleStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateRoleStmt; + +typedef struct pg_query_AlterRoleStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterRoleStmt; + +typedef struct pg_query_AlterRoleSetStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterRoleSetStmt; + +typedef struct pg_query_DropRoleStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DropRoleStmt; + +typedef struct pg_query_CreateSeqStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateSeqStmt; + +typedef struct pg_query_AlterSeqStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterSeqStmt; + +typedef struct pg_query_DefineStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DefineStmt; + +typedef struct pg_query_CreateDomainStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateDomainStmt; + +typedef struct pg_query_CreateOpClassStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateOpClassStmt; + +typedef struct pg_query_CreateOpClassItem { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateOpClassItem; + +typedef struct pg_query_CreateOpFamilyStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateOpFamilyStmt; + +typedef struct pg_query_AlterOpFamilyStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterOpFamilyStmt; + +typedef struct pg_query_DropStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DropStmt; + +typedef struct pg_query_TruncateStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_TruncateStmt; + +typedef struct pg_query_CommentStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CommentStmt; + +typedef struct pg_query_SecLabelStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_SecLabelStmt; + +typedef struct pg_query_DeclareCursorStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DeclareCursorStmt; + +typedef struct pg_query_ClosePortalStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ClosePortalStmt; + +typedef struct pg_query_FetchStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_FetchStmt; + +typedef struct pg_query_IndexStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_IndexStmt; + +typedef struct pg_query_CreateStatsStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateStatsStmt; + +typedef struct pg_query_StatsElem { + upb_Message UPB_PRIVATE(base); +} pg_query_StatsElem; + +typedef struct pg_query_AlterStatsStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterStatsStmt; + +typedef struct pg_query_CreateFunctionStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateFunctionStmt; + +typedef struct pg_query_FunctionParameter { + upb_Message UPB_PRIVATE(base); +} pg_query_FunctionParameter; + +typedef struct pg_query_AlterFunctionStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterFunctionStmt; + +typedef struct pg_query_DoStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DoStmt; + +typedef struct pg_query_InlineCodeBlock { + upb_Message UPB_PRIVATE(base); +} pg_query_InlineCodeBlock; + +typedef struct pg_query_CallStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CallStmt; + +typedef struct pg_query_CallContext { + upb_Message UPB_PRIVATE(base); +} pg_query_CallContext; + +typedef struct pg_query_RenameStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_RenameStmt; + +typedef struct pg_query_AlterObjectDependsStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterObjectDependsStmt; + +typedef struct pg_query_AlterObjectSchemaStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterObjectSchemaStmt; + +typedef struct pg_query_AlterOwnerStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterOwnerStmt; + +typedef struct pg_query_AlterOperatorStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterOperatorStmt; + +typedef struct pg_query_AlterTypeStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterTypeStmt; + +typedef struct pg_query_RuleStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_RuleStmt; + +typedef struct pg_query_NotifyStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_NotifyStmt; + +typedef struct pg_query_ListenStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ListenStmt; + +typedef struct pg_query_UnlistenStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_UnlistenStmt; + +typedef struct pg_query_TransactionStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_TransactionStmt; + +typedef struct pg_query_CompositeTypeStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CompositeTypeStmt; + +typedef struct pg_query_CreateEnumStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateEnumStmt; + +typedef struct pg_query_CreateRangeStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateRangeStmt; + +typedef struct pg_query_AlterEnumStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterEnumStmt; + +typedef struct pg_query_ViewStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ViewStmt; + +typedef struct pg_query_LoadStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_LoadStmt; + +typedef struct pg_query_CreatedbStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreatedbStmt; + +typedef struct pg_query_AlterDatabaseStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterDatabaseStmt; + +typedef struct pg_query_AlterDatabaseRefreshCollStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterDatabaseRefreshCollStmt; + +typedef struct pg_query_AlterDatabaseSetStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterDatabaseSetStmt; + +typedef struct pg_query_DropdbStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DropdbStmt; + +typedef struct pg_query_AlterSystemStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterSystemStmt; + +typedef struct pg_query_ClusterStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ClusterStmt; + +typedef struct pg_query_VacuumStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_VacuumStmt; + +typedef struct pg_query_VacuumRelation { + upb_Message UPB_PRIVATE(base); +} pg_query_VacuumRelation; + +typedef struct pg_query_ExplainStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ExplainStmt; + +typedef struct pg_query_CreateTableAsStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateTableAsStmt; + +typedef struct pg_query_RefreshMatViewStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_RefreshMatViewStmt; + +typedef struct pg_query_CheckPointStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CheckPointStmt; + +typedef struct pg_query_DiscardStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DiscardStmt; + +typedef struct pg_query_LockStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_LockStmt; + +typedef struct pg_query_ConstraintsSetStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ConstraintsSetStmt; + +typedef struct pg_query_ReindexStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ReindexStmt; + +typedef struct pg_query_CreateConversionStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateConversionStmt; + +typedef struct pg_query_CreateCastStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateCastStmt; + +typedef struct pg_query_CreateTransformStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateTransformStmt; + +typedef struct pg_query_PrepareStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_PrepareStmt; + +typedef struct pg_query_ExecuteStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ExecuteStmt; + +typedef struct pg_query_DeallocateStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DeallocateStmt; + +typedef struct pg_query_DropOwnedStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DropOwnedStmt; + +typedef struct pg_query_ReassignOwnedStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_ReassignOwnedStmt; + +typedef struct pg_query_AlterTSDictionaryStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterTSDictionaryStmt; + +typedef struct pg_query_AlterTSConfigurationStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterTSConfigurationStmt; + +typedef struct pg_query_PublicationTable { + upb_Message UPB_PRIVATE(base); +} pg_query_PublicationTable; + +typedef struct pg_query_PublicationObjSpec { + upb_Message UPB_PRIVATE(base); +} pg_query_PublicationObjSpec; + +typedef struct pg_query_CreatePublicationStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreatePublicationStmt; + +typedef struct pg_query_AlterPublicationStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterPublicationStmt; + +typedef struct pg_query_CreateSubscriptionStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_CreateSubscriptionStmt; + +typedef struct pg_query_AlterSubscriptionStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_AlterSubscriptionStmt; + +typedef struct pg_query_DropSubscriptionStmt { + upb_Message UPB_PRIVATE(base); +} pg_query_DropSubscriptionStmt; + +typedef struct pg_query_ScanToken { + upb_Message UPB_PRIVATE(base); +} pg_query_ScanToken; + +typedef struct pg_query_SummaryResult { + upb_Message UPB_PRIVATE(base); +} pg_query_SummaryResult; + +typedef struct pg_query_SummaryResult_Table { + upb_Message UPB_PRIVATE(base); +} pg_query_SummaryResult_Table; + +typedef struct pg_query_SummaryResult_Function { + upb_Message UPB_PRIVATE(base); +} pg_query_SummaryResult_Function; + +typedef struct pg_query_SummaryResult_FilterColumn { + upb_Message UPB_PRIVATE(base); +} pg_query_SummaryResult_FilterColumn; + + +typedef enum { + pg_query_A_EXPR_KIND_UNDEFINED = 0, + pg_query_AEXPR_OP = 1, + pg_query_AEXPR_OP_ANY = 2, + pg_query_AEXPR_OP_ALL = 3, + pg_query_AEXPR_DISTINCT = 4, + pg_query_AEXPR_NOT_DISTINCT = 5, + pg_query_AEXPR_NULLIF = 6, + pg_query_AEXPR_IN = 7, + pg_query_AEXPR_LIKE = 8, + pg_query_AEXPR_ILIKE = 9, + pg_query_AEXPR_SIMILAR = 10, + pg_query_AEXPR_BETWEEN = 11, + pg_query_AEXPR_NOT_BETWEEN = 12, + pg_query_AEXPR_BETWEEN_SYM = 13, + pg_query_AEXPR_NOT_BETWEEN_SYM = 14 +} pg_query_A_Expr_Kind; + +typedef enum { + pg_query_AGG_SPLIT_UNDEFINED = 0, + pg_query_AGGSPLIT_SIMPLE = 1, + pg_query_AGGSPLIT_INITIAL_SERIAL = 2, + pg_query_AGGSPLIT_FINAL_DESERIAL = 3 +} pg_query_AggSplit; + +typedef enum { + pg_query_AGG_STRATEGY_UNDEFINED = 0, + pg_query_AGG_PLAIN = 1, + pg_query_AGG_SORTED = 2, + pg_query_AGG_HASHED = 3, + pg_query_AGG_MIXED = 4 +} pg_query_AggStrategy; + +typedef enum { + pg_query_ALTER_PUBLICATION_ACTION_UNDEFINED = 0, + pg_query_AP_AddObjects = 1, + pg_query_AP_DropObjects = 2, + pg_query_AP_SetObjects = 3 +} pg_query_AlterPublicationAction; + +typedef enum { + pg_query_ALTER_SUBSCRIPTION_TYPE_UNDEFINED = 0, + pg_query_ALTER_SUBSCRIPTION_OPTIONS = 1, + pg_query_ALTER_SUBSCRIPTION_CONNECTION = 2, + pg_query_ALTER_SUBSCRIPTION_SET_PUBLICATION = 3, + pg_query_ALTER_SUBSCRIPTION_ADD_PUBLICATION = 4, + pg_query_ALTER_SUBSCRIPTION_DROP_PUBLICATION = 5, + pg_query_ALTER_SUBSCRIPTION_REFRESH = 6, + pg_query_ALTER_SUBSCRIPTION_ENABLED = 7, + pg_query_ALTER_SUBSCRIPTION_SKIP = 8 +} pg_query_AlterSubscriptionType; + +typedef enum { + pg_query_ALTER_TSCONFIG_TYPE_UNDEFINED = 0, + pg_query_ALTER_TSCONFIG_ADD_MAPPING = 1, + pg_query_ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN = 2, + pg_query_ALTER_TSCONFIG_REPLACE_DICT = 3, + pg_query_ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN = 4, + pg_query_ALTER_TSCONFIG_DROP_MAPPING = 5 +} pg_query_AlterTSConfigType; + +typedef enum { + pg_query_ALTER_TABLE_TYPE_UNDEFINED = 0, + pg_query_AT_AddColumn = 1, + pg_query_AT_AddColumnToView = 2, + pg_query_AT_ColumnDefault = 3, + pg_query_AT_CookedColumnDefault = 4, + pg_query_AT_DropNotNull = 5, + pg_query_AT_SetNotNull = 6, + pg_query_AT_SetExpression = 7, + pg_query_AT_DropExpression = 8, + pg_query_AT_SetStatistics = 9, + pg_query_AT_SetOptions = 10, + pg_query_AT_ResetOptions = 11, + pg_query_AT_SetStorage = 12, + pg_query_AT_SetCompression = 13, + pg_query_AT_DropColumn = 14, + pg_query_AT_AddIndex = 15, + pg_query_AT_ReAddIndex = 16, + pg_query_AT_AddConstraint = 17, + pg_query_AT_ReAddConstraint = 18, + pg_query_AT_ReAddDomainConstraint = 19, + pg_query_AT_AlterConstraint = 20, + pg_query_AT_ValidateConstraint = 21, + pg_query_AT_AddIndexConstraint = 22, + pg_query_AT_DropConstraint = 23, + pg_query_AT_ReAddComment = 24, + pg_query_AT_AlterColumnType = 25, + pg_query_AT_AlterColumnGenericOptions = 26, + pg_query_AT_ChangeOwner = 27, + pg_query_AT_ClusterOn = 28, + pg_query_AT_DropCluster = 29, + pg_query_AT_SetLogged = 30, + pg_query_AT_SetUnLogged = 31, + pg_query_AT_DropOids = 32, + pg_query_AT_SetAccessMethod = 33, + pg_query_AT_SetTableSpace = 34, + pg_query_AT_SetRelOptions = 35, + pg_query_AT_ResetRelOptions = 36, + pg_query_AT_ReplaceRelOptions = 37, + pg_query_AT_EnableTrig = 38, + pg_query_AT_EnableAlwaysTrig = 39, + pg_query_AT_EnableReplicaTrig = 40, + pg_query_AT_DisableTrig = 41, + pg_query_AT_EnableTrigAll = 42, + pg_query_AT_DisableTrigAll = 43, + pg_query_AT_EnableTrigUser = 44, + pg_query_AT_DisableTrigUser = 45, + pg_query_AT_EnableRule = 46, + pg_query_AT_EnableAlwaysRule = 47, + pg_query_AT_EnableReplicaRule = 48, + pg_query_AT_DisableRule = 49, + pg_query_AT_AddInherit = 50, + pg_query_AT_DropInherit = 51, + pg_query_AT_AddOf = 52, + pg_query_AT_DropOf = 53, + pg_query_AT_ReplicaIdentity = 54, + pg_query_AT_EnableRowSecurity = 55, + pg_query_AT_DisableRowSecurity = 56, + pg_query_AT_ForceRowSecurity = 57, + pg_query_AT_NoForceRowSecurity = 58, + pg_query_AT_GenericOptions = 59, + pg_query_AT_AttachPartition = 60, + pg_query_AT_DetachPartition = 61, + pg_query_AT_DetachPartitionFinalize = 62, + pg_query_AT_AddIdentity = 63, + pg_query_AT_SetIdentity = 64, + pg_query_AT_DropIdentity = 65, + pg_query_AT_ReAddStatistics = 66 +} pg_query_AlterTableType; + +typedef enum { + pg_query_BOOL_EXPR_TYPE_UNDEFINED = 0, + pg_query_AND_EXPR = 1, + pg_query_OR_EXPR = 2, + pg_query_NOT_EXPR = 3 +} pg_query_BoolExprType; + +typedef enum { + pg_query_BOOL_TEST_TYPE_UNDEFINED = 0, + pg_query_IS_TRUE = 1, + pg_query_IS_NOT_TRUE = 2, + pg_query_IS_FALSE = 3, + pg_query_IS_NOT_FALSE = 4, + pg_query_IS_UNKNOWN = 5, + pg_query_IS_NOT_UNKNOWN = 6 +} pg_query_BoolTestType; + +typedef enum { + pg_query_CTEMATERIALIZE_UNDEFINED = 0, + pg_query_CTEMaterializeDefault = 1, + pg_query_CTEMaterializeAlways = 2, + pg_query_CTEMaterializeNever = 3 +} pg_query_CTEMaterialize; + +typedef enum { + pg_query_CMD_TYPE_UNDEFINED = 0, + pg_query_CMD_UNKNOWN = 1, + pg_query_CMD_SELECT = 2, + pg_query_CMD_UPDATE = 3, + pg_query_CMD_INSERT = 4, + pg_query_CMD_DELETE = 5, + pg_query_CMD_MERGE = 6, + pg_query_CMD_UTILITY = 7, + pg_query_CMD_NOTHING = 8 +} pg_query_CmdType; + +typedef enum { + pg_query_COERCION_CONTEXT_UNDEFINED = 0, + pg_query_COERCION_IMPLICIT = 1, + pg_query_COERCION_ASSIGNMENT = 2, + pg_query_COERCION_PLPGSQL = 3, + pg_query_COERCION_EXPLICIT = 4 +} pg_query_CoercionContext; + +typedef enum { + pg_query_COERCION_FORM_UNDEFINED = 0, + pg_query_COERCE_EXPLICIT_CALL = 1, + pg_query_COERCE_EXPLICIT_CAST = 2, + pg_query_COERCE_IMPLICIT_CAST = 3, + pg_query_COERCE_SQL_SYNTAX = 4 +} pg_query_CoercionForm; + +typedef enum { + pg_query_COMPARE_TYPE_UNDEFINED = 0, + pg_query_COMPARE_INVALID = 1, + pg_query_COMPARE_LT = 2, + pg_query_COMPARE_LE = 3, + pg_query_COMPARE_EQ = 4, + pg_query_COMPARE_GE = 5, + pg_query_COMPARE_GT = 6, + pg_query_COMPARE_NE = 7, + pg_query_COMPARE_OVERLAP = 8, + pg_query_COMPARE_CONTAINED_BY = 9 +} pg_query_CompareType; + +typedef enum { + pg_query_CONSTR_TYPE_UNDEFINED = 0, + pg_query_CONSTR_NULL = 1, + pg_query_CONSTR_NOTNULL = 2, + pg_query_CONSTR_DEFAULT = 3, + pg_query_CONSTR_IDENTITY = 4, + pg_query_CONSTR_GENERATED = 5, + pg_query_CONSTR_CHECK = 6, + pg_query_CONSTR_PRIMARY = 7, + pg_query_CONSTR_UNIQUE = 8, + pg_query_CONSTR_EXCLUSION = 9, + pg_query_CONSTR_FOREIGN = 10, + pg_query_CONSTR_ATTR_DEFERRABLE = 11, + pg_query_CONSTR_ATTR_NOT_DEFERRABLE = 12, + pg_query_CONSTR_ATTR_DEFERRED = 13, + pg_query_CONSTR_ATTR_IMMEDIATE = 14, + pg_query_CONSTR_ATTR_ENFORCED = 15, + pg_query_CONSTR_ATTR_NOT_ENFORCED = 16 +} pg_query_ConstrType; + +typedef enum { + pg_query_DEF_ELEM_ACTION_UNDEFINED = 0, + pg_query_DEFELEM_UNSPEC = 1, + pg_query_DEFELEM_SET = 2, + pg_query_DEFELEM_ADD = 3, + pg_query_DEFELEM_DROP = 4 +} pg_query_DefElemAction; + +typedef enum { + pg_query_DISCARD_MODE_UNDEFINED = 0, + pg_query_DISCARD_ALL = 1, + pg_query_DISCARD_PLANS = 2, + pg_query_DISCARD_SEQUENCES = 3, + pg_query_DISCARD_TEMP = 4 +} pg_query_DiscardMode; + +typedef enum { + pg_query_DROP_BEHAVIOR_UNDEFINED = 0, + pg_query_DROP_RESTRICT = 1, + pg_query_DROP_CASCADE = 2 +} pg_query_DropBehavior; + +typedef enum { + pg_query_FETCH_DIRECTION_UNDEFINED = 0, + pg_query_FETCH_FORWARD = 1, + pg_query_FETCH_BACKWARD = 2, + pg_query_FETCH_ABSOLUTE = 3, + pg_query_FETCH_RELATIVE = 4 +} pg_query_FetchDirection; + +typedef enum { + pg_query_FUNCTION_PARAMETER_MODE_UNDEFINED = 0, + pg_query_FUNC_PARAM_IN = 1, + pg_query_FUNC_PARAM_OUT = 2, + pg_query_FUNC_PARAM_INOUT = 3, + pg_query_FUNC_PARAM_VARIADIC = 4, + pg_query_FUNC_PARAM_TABLE = 5, + pg_query_FUNC_PARAM_DEFAULT = 6 +} pg_query_FunctionParameterMode; + +typedef enum { + pg_query_GRANT_TARGET_TYPE_UNDEFINED = 0, + pg_query_ACL_TARGET_OBJECT = 1, + pg_query_ACL_TARGET_ALL_IN_SCHEMA = 2, + pg_query_ACL_TARGET_DEFAULTS = 3 +} pg_query_GrantTargetType; + +typedef enum { + pg_query_GROUPING_SET_KIND_UNDEFINED = 0, + pg_query_GROUPING_SET_EMPTY = 1, + pg_query_GROUPING_SET_SIMPLE = 2, + pg_query_GROUPING_SET_ROLLUP = 3, + pg_query_GROUPING_SET_CUBE = 4, + pg_query_GROUPING_SET_SETS = 5 +} pg_query_GroupingSetKind; + +typedef enum { + pg_query_IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED = 0, + pg_query_FDW_IMPORT_SCHEMA_ALL = 1, + pg_query_FDW_IMPORT_SCHEMA_LIMIT_TO = 2, + pg_query_FDW_IMPORT_SCHEMA_EXCEPT = 3 +} pg_query_ImportForeignSchemaType; + +typedef enum { + pg_query_JOIN_TYPE_UNDEFINED = 0, + pg_query_JOIN_INNER = 1, + pg_query_JOIN_LEFT = 2, + pg_query_JOIN_FULL = 3, + pg_query_JOIN_RIGHT = 4, + pg_query_JOIN_SEMI = 5, + pg_query_JOIN_ANTI = 6, + pg_query_JOIN_RIGHT_SEMI = 7, + pg_query_JOIN_RIGHT_ANTI = 8, + pg_query_JOIN_UNIQUE_OUTER = 9, + pg_query_JOIN_UNIQUE_INNER = 10 +} pg_query_JoinType; + +typedef enum { + pg_query_JSON_BEHAVIOR_TYPE_UNDEFINED = 0, + pg_query_JSON_BEHAVIOR_NULL = 1, + pg_query_JSON_BEHAVIOR_ERROR = 2, + pg_query_JSON_BEHAVIOR_EMPTY = 3, + pg_query_JSON_BEHAVIOR_TRUE = 4, + pg_query_JSON_BEHAVIOR_FALSE = 5, + pg_query_JSON_BEHAVIOR_UNKNOWN = 6, + pg_query_JSON_BEHAVIOR_EMPTY_ARRAY = 7, + pg_query_JSON_BEHAVIOR_EMPTY_OBJECT = 8, + pg_query_JSON_BEHAVIOR_DEFAULT = 9 +} pg_query_JsonBehaviorType; + +typedef enum { + pg_query_JSON_CONSTRUCTOR_TYPE_UNDEFINED = 0, + pg_query_JSCTOR_JSON_OBJECT = 1, + pg_query_JSCTOR_JSON_ARRAY = 2, + pg_query_JSCTOR_JSON_OBJECTAGG = 3, + pg_query_JSCTOR_JSON_ARRAYAGG = 4, + pg_query_JSCTOR_JSON_PARSE = 5, + pg_query_JSCTOR_JSON_SCALAR = 6, + pg_query_JSCTOR_JSON_SERIALIZE = 7 +} pg_query_JsonConstructorType; + +typedef enum { + pg_query_JSON_ENCODING_UNDEFINED = 0, + pg_query_JS_ENC_DEFAULT = 1, + pg_query_JS_ENC_UTF8 = 2, + pg_query_JS_ENC_UTF16 = 3, + pg_query_JS_ENC_UTF32 = 4 +} pg_query_JsonEncoding; + +typedef enum { + pg_query_JSON_EXPR_OP_UNDEFINED = 0, + pg_query_JSON_EXISTS_OP = 1, + pg_query_JSON_QUERY_OP = 2, + pg_query_JSON_VALUE_OP = 3, + pg_query_JSON_TABLE_OP = 4 +} pg_query_JsonExprOp; + +typedef enum { + pg_query_JSON_FORMAT_TYPE_UNDEFINED = 0, + pg_query_JS_FORMAT_DEFAULT = 1, + pg_query_JS_FORMAT_JSON = 2, + pg_query_JS_FORMAT_JSONB = 3 +} pg_query_JsonFormatType; + +typedef enum { + pg_query_JSON_QUOTES_UNDEFINED = 0, + pg_query_JS_QUOTES_UNSPEC = 1, + pg_query_JS_QUOTES_KEEP = 2, + pg_query_JS_QUOTES_OMIT = 3 +} pg_query_JsonQuotes; + +typedef enum { + pg_query_JSON_TABLE_COLUMN_TYPE_UNDEFINED = 0, + pg_query_JTC_FOR_ORDINALITY = 1, + pg_query_JTC_REGULAR = 2, + pg_query_JTC_EXISTS = 3, + pg_query_JTC_FORMATTED = 4, + pg_query_JTC_NESTED = 5 +} pg_query_JsonTableColumnType; + +typedef enum { + pg_query_JSON_VALUE_TYPE_UNDEFINED = 0, + pg_query_JS_TYPE_ANY = 1, + pg_query_JS_TYPE_OBJECT = 2, + pg_query_JS_TYPE_ARRAY = 3, + pg_query_JS_TYPE_SCALAR = 4 +} pg_query_JsonValueType; + +typedef enum { + pg_query_JSON_WRAPPER_UNDEFINED = 0, + pg_query_JSW_UNSPEC = 1, + pg_query_JSW_NONE = 2, + pg_query_JSW_CONDITIONAL = 3, + pg_query_JSW_UNCONDITIONAL = 4 +} pg_query_JsonWrapper; + +typedef enum { + pg_query_NO_KEYWORD = 0, + pg_query_UNRESERVED_KEYWORD = 1, + pg_query_COL_NAME_KEYWORD = 2, + pg_query_TYPE_FUNC_NAME_KEYWORD = 3, + pg_query_RESERVED_KEYWORD = 4 +} pg_query_KeywordKind; + +typedef enum { + pg_query_LIMIT_OPTION_UNDEFINED = 0, + pg_query_LIMIT_OPTION_DEFAULT = 1, + pg_query_LIMIT_OPTION_COUNT = 2, + pg_query_LIMIT_OPTION_WITH_TIES = 3 +} pg_query_LimitOption; + +typedef enum { + pg_query_LOCK_CLAUSE_STRENGTH_UNDEFINED = 0, + pg_query_LCS_NONE = 1, + pg_query_LCS_FORKEYSHARE = 2, + pg_query_LCS_FORSHARE = 3, + pg_query_LCS_FORNOKEYUPDATE = 4, + pg_query_LCS_FORUPDATE = 5 +} pg_query_LockClauseStrength; + +typedef enum { + pg_query_LOCK_TUPLE_MODE_UNDEFINED = 0, + pg_query_LockTupleKeyShare = 1, + pg_query_LockTupleShare = 2, + pg_query_LockTupleNoKeyExclusive = 3, + pg_query_LockTupleExclusive = 4 +} pg_query_LockTupleMode; + +typedef enum { + pg_query_LOCK_WAIT_POLICY_UNDEFINED = 0, + pg_query_LockWaitBlock = 1, + pg_query_LockWaitSkip = 2, + pg_query_LockWaitError = 3 +} pg_query_LockWaitPolicy; + +typedef enum { + pg_query_MERGE_MATCH_KIND_UNDEFINED = 0, + pg_query_MERGE_WHEN_MATCHED = 1, + pg_query_MERGE_WHEN_NOT_MATCHED_BY_SOURCE = 2, + pg_query_MERGE_WHEN_NOT_MATCHED_BY_TARGET = 3 +} pg_query_MergeMatchKind; + +typedef enum { + pg_query_MIN_MAX_OP_UNDEFINED = 0, + pg_query_IS_GREATEST = 1, + pg_query_IS_LEAST = 2 +} pg_query_MinMaxOp; + +typedef enum { + pg_query_NULL_TEST_TYPE_UNDEFINED = 0, + pg_query_IS_NULL = 1, + pg_query_IS_NOT_NULL = 2 +} pg_query_NullTestType; + +typedef enum { + pg_query_OBJECT_TYPE_UNDEFINED = 0, + pg_query_OBJECT_ACCESS_METHOD = 1, + pg_query_OBJECT_AGGREGATE = 2, + pg_query_OBJECT_AMOP = 3, + pg_query_OBJECT_AMPROC = 4, + pg_query_OBJECT_ATTRIBUTE = 5, + pg_query_OBJECT_CAST = 6, + pg_query_OBJECT_COLUMN = 7, + pg_query_OBJECT_COLLATION = 8, + pg_query_OBJECT_CONVERSION = 9, + pg_query_OBJECT_DATABASE = 10, + pg_query_OBJECT_DEFAULT = 11, + pg_query_OBJECT_DEFACL = 12, + pg_query_OBJECT_DOMAIN = 13, + pg_query_OBJECT_DOMCONSTRAINT = 14, + pg_query_OBJECT_EVENT_TRIGGER = 15, + pg_query_OBJECT_EXTENSION = 16, + pg_query_OBJECT_FDW = 17, + pg_query_OBJECT_FOREIGN_SERVER = 18, + pg_query_OBJECT_FOREIGN_TABLE = 19, + pg_query_OBJECT_FUNCTION = 20, + pg_query_OBJECT_INDEX = 21, + pg_query_OBJECT_LANGUAGE = 22, + pg_query_OBJECT_LARGEOBJECT = 23, + pg_query_OBJECT_MATVIEW = 24, + pg_query_OBJECT_OPCLASS = 25, + pg_query_OBJECT_OPERATOR = 26, + pg_query_OBJECT_OPFAMILY = 27, + pg_query_OBJECT_PARAMETER_ACL = 28, + pg_query_OBJECT_POLICY = 29, + pg_query_OBJECT_PROCEDURE = 30, + pg_query_OBJECT_PUBLICATION = 31, + pg_query_OBJECT_PUBLICATION_NAMESPACE = 32, + pg_query_OBJECT_PUBLICATION_REL = 33, + pg_query_OBJECT_ROLE = 34, + pg_query_OBJECT_ROUTINE = 35, + pg_query_OBJECT_RULE = 36, + pg_query_OBJECT_SCHEMA = 37, + pg_query_OBJECT_SEQUENCE = 38, + pg_query_OBJECT_SUBSCRIPTION = 39, + pg_query_OBJECT_STATISTIC_EXT = 40, + pg_query_OBJECT_TABCONSTRAINT = 41, + pg_query_OBJECT_TABLE = 42, + pg_query_OBJECT_TABLESPACE = 43, + pg_query_OBJECT_TRANSFORM = 44, + pg_query_OBJECT_TRIGGER = 45, + pg_query_OBJECT_TSCONFIGURATION = 46, + pg_query_OBJECT_TSDICTIONARY = 47, + pg_query_OBJECT_TSPARSER = 48, + pg_query_OBJECT_TSTEMPLATE = 49, + pg_query_OBJECT_TYPE = 50, + pg_query_OBJECT_USER_MAPPING = 51, + pg_query_OBJECT_VIEW = 52 +} pg_query_ObjectType; + +typedef enum { + pg_query_ON_COMMIT_ACTION_UNDEFINED = 0, + pg_query_ONCOMMIT_NOOP = 1, + pg_query_ONCOMMIT_PRESERVE_ROWS = 2, + pg_query_ONCOMMIT_DELETE_ROWS = 3, + pg_query_ONCOMMIT_DROP = 4 +} pg_query_OnCommitAction; + +typedef enum { + pg_query_ON_CONFLICT_ACTION_UNDEFINED = 0, + pg_query_ONCONFLICT_NONE = 1, + pg_query_ONCONFLICT_NOTHING = 2, + pg_query_ONCONFLICT_UPDATE = 3 +} pg_query_OnConflictAction; + +typedef enum { + pg_query_OVERRIDING_KIND_UNDEFINED = 0, + pg_query_OVERRIDING_NOT_SET = 1, + pg_query_OVERRIDING_USER_VALUE = 2, + pg_query_OVERRIDING_SYSTEM_VALUE = 3 +} pg_query_OverridingKind; + +typedef enum { + pg_query_PARAM_KIND_UNDEFINED = 0, + pg_query_PARAM_EXTERN = 1, + pg_query_PARAM_EXEC = 2, + pg_query_PARAM_SUBLINK = 3, + pg_query_PARAM_MULTIEXPR = 4 +} pg_query_ParamKind; + +typedef enum { + pg_query_PARTITION_RANGE_DATUM_KIND_UNDEFINED = 0, + pg_query_PARTITION_RANGE_DATUM_MINVALUE = 1, + pg_query_PARTITION_RANGE_DATUM_VALUE = 2, + pg_query_PARTITION_RANGE_DATUM_MAXVALUE = 3 +} pg_query_PartitionRangeDatumKind; + +typedef enum { + pg_query_PARTITION_STRATEGY_UNDEFINED = 0, + pg_query_PARTITION_STRATEGY_LIST = 1, + pg_query_PARTITION_STRATEGY_RANGE = 2, + pg_query_PARTITION_STRATEGY_HASH = 3 +} pg_query_PartitionStrategy; + +typedef enum { + pg_query_PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED = 0, + pg_query_PUBLICATIONOBJ_TABLE = 1, + pg_query_PUBLICATIONOBJ_TABLES_IN_SCHEMA = 2, + pg_query_PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA = 3, + pg_query_PUBLICATIONOBJ_CONTINUATION = 4 +} pg_query_PublicationObjSpecType; + +typedef enum { + pg_query_QUERY_SOURCE_UNDEFINED = 0, + pg_query_QSRC_ORIGINAL = 1, + pg_query_QSRC_PARSER = 2, + pg_query_QSRC_INSTEAD_RULE = 3, + pg_query_QSRC_QUAL_INSTEAD_RULE = 4, + pg_query_QSRC_NON_INSTEAD_RULE = 5 +} pg_query_QuerySource; + +typedef enum { + pg_query_RTEKIND_UNDEFINED = 0, + pg_query_RTE_RELATION = 1, + pg_query_RTE_SUBQUERY = 2, + pg_query_RTE_JOIN = 3, + pg_query_RTE_FUNCTION = 4, + pg_query_RTE_TABLEFUNC = 5, + pg_query_RTE_VALUES = 6, + pg_query_RTE_CTE = 7, + pg_query_RTE_NAMEDTUPLESTORE = 8, + pg_query_RTE_RESULT = 9, + pg_query_RTE_GROUP = 10 +} pg_query_RTEKind; + +typedef enum { + pg_query_REINDEX_OBJECT_TYPE_UNDEFINED = 0, + pg_query_REINDEX_OBJECT_INDEX = 1, + pg_query_REINDEX_OBJECT_TABLE = 2, + pg_query_REINDEX_OBJECT_SCHEMA = 3, + pg_query_REINDEX_OBJECT_SYSTEM = 4, + pg_query_REINDEX_OBJECT_DATABASE = 5 +} pg_query_ReindexObjectType; + +typedef enum { + pg_query_RETURNING_OPTION_KIND_UNDEFINED = 0, + pg_query_RETURNING_OPTION_OLD = 1, + pg_query_RETURNING_OPTION_NEW = 2 +} pg_query_ReturningOptionKind; + +typedef enum { + pg_query_ROLE_SPEC_TYPE_UNDEFINED = 0, + pg_query_ROLESPEC_CSTRING = 1, + pg_query_ROLESPEC_CURRENT_ROLE = 2, + pg_query_ROLESPEC_CURRENT_USER = 3, + pg_query_ROLESPEC_SESSION_USER = 4, + pg_query_ROLESPEC_PUBLIC = 5 +} pg_query_RoleSpecType; + +typedef enum { + pg_query_ROLE_STMT_TYPE_UNDEFINED = 0, + pg_query_ROLESTMT_ROLE = 1, + pg_query_ROLESTMT_USER = 2, + pg_query_ROLESTMT_GROUP = 3 +} pg_query_RoleStmtType; + +typedef enum { + pg_query_SQLVALUE_FUNCTION_OP_UNDEFINED = 0, + pg_query_SVFOP_CURRENT_DATE = 1, + pg_query_SVFOP_CURRENT_TIME = 2, + pg_query_SVFOP_CURRENT_TIME_N = 3, + pg_query_SVFOP_CURRENT_TIMESTAMP = 4, + pg_query_SVFOP_CURRENT_TIMESTAMP_N = 5, + pg_query_SVFOP_LOCALTIME = 6, + pg_query_SVFOP_LOCALTIME_N = 7, + pg_query_SVFOP_LOCALTIMESTAMP = 8, + pg_query_SVFOP_LOCALTIMESTAMP_N = 9, + pg_query_SVFOP_CURRENT_ROLE = 10, + pg_query_SVFOP_CURRENT_USER = 11, + pg_query_SVFOP_USER = 12, + pg_query_SVFOP_SESSION_USER = 13, + pg_query_SVFOP_CURRENT_CATALOG = 14, + pg_query_SVFOP_CURRENT_SCHEMA = 15 +} pg_query_SQLValueFunctionOp; + +typedef enum { + pg_query_SET_OP_CMD_UNDEFINED = 0, + pg_query_SETOPCMD_INTERSECT = 1, + pg_query_SETOPCMD_INTERSECT_ALL = 2, + pg_query_SETOPCMD_EXCEPT = 3, + pg_query_SETOPCMD_EXCEPT_ALL = 4 +} pg_query_SetOpCmd; + +typedef enum { + pg_query_SET_OP_STRATEGY_UNDEFINED = 0, + pg_query_SETOP_SORTED = 1, + pg_query_SETOP_HASHED = 2 +} pg_query_SetOpStrategy; + +typedef enum { + pg_query_SET_OPERATION_UNDEFINED = 0, + pg_query_SETOP_NONE = 1, + pg_query_SETOP_UNION = 2, + pg_query_SETOP_INTERSECT = 3, + pg_query_SETOP_EXCEPT = 4 +} pg_query_SetOperation; + +typedef enum { + pg_query_SET_QUANTIFIER_UNDEFINED = 0, + pg_query_SET_QUANTIFIER_DEFAULT = 1, + pg_query_SET_QUANTIFIER_ALL = 2, + pg_query_SET_QUANTIFIER_DISTINCT = 3 +} pg_query_SetQuantifier; + +typedef enum { + pg_query_SORT_BY_DIR_UNDEFINED = 0, + pg_query_SORTBY_DEFAULT = 1, + pg_query_SORTBY_ASC = 2, + pg_query_SORTBY_DESC = 3, + pg_query_SORTBY_USING = 4 +} pg_query_SortByDir; + +typedef enum { + pg_query_SORT_BY_NULLS_UNDEFINED = 0, + pg_query_SORTBY_NULLS_DEFAULT = 1, + pg_query_SORTBY_NULLS_FIRST = 2, + pg_query_SORTBY_NULLS_LAST = 3 +} pg_query_SortByNulls; + +typedef enum { + pg_query_SUB_LINK_TYPE_UNDEFINED = 0, + pg_query_EXISTS_SUBLINK = 1, + pg_query_ALL_SUBLINK = 2, + pg_query_ANY_SUBLINK = 3, + pg_query_ROWCOMPARE_SUBLINK = 4, + pg_query_EXPR_SUBLINK = 5, + pg_query_MULTIEXPR_SUBLINK = 6, + pg_query_ARRAY_SUBLINK = 7, + pg_query_CTE_SUBLINK = 8 +} pg_query_SubLinkType; + +typedef enum { + pg_query_SummaryResult_None = 0, + pg_query_SummaryResult_Select = 1, + pg_query_SummaryResult_DML = 2, + pg_query_SummaryResult_DDL = 3, + pg_query_SummaryResult_Call = 4 +} pg_query_SummaryResult_Context; + +typedef enum { + pg_query_TABLE_FUNC_TYPE_UNDEFINED = 0, + pg_query_TFT_XMLTABLE = 1, + pg_query_TFT_JSON_TABLE = 2 +} pg_query_TableFuncType; + +typedef enum { + pg_query_TABLE_LIKE_OPTION_UNDEFINED = 0, + pg_query_CREATE_TABLE_LIKE_COMMENTS = 1, + pg_query_CREATE_TABLE_LIKE_COMPRESSION = 2, + pg_query_CREATE_TABLE_LIKE_CONSTRAINTS = 3, + pg_query_CREATE_TABLE_LIKE_DEFAULTS = 4, + pg_query_CREATE_TABLE_LIKE_GENERATED = 5, + pg_query_CREATE_TABLE_LIKE_IDENTITY = 6, + pg_query_CREATE_TABLE_LIKE_INDEXES = 7, + pg_query_CREATE_TABLE_LIKE_STATISTICS = 8, + pg_query_CREATE_TABLE_LIKE_STORAGE = 9, + pg_query_CREATE_TABLE_LIKE_ALL = 10 +} pg_query_TableLikeOption; + +typedef enum { + pg_query_NUL = 0, + pg_query_ASCII_36 = 36, + pg_query_ASCII_37 = 37, + pg_query_ASCII_40 = 40, + pg_query_ASCII_41 = 41, + pg_query_ASCII_42 = 42, + pg_query_ASCII_43 = 43, + pg_query_ASCII_44 = 44, + pg_query_ASCII_45 = 45, + pg_query_ASCII_46 = 46, + pg_query_ASCII_47 = 47, + pg_query_ASCII_58 = 58, + pg_query_ASCII_59 = 59, + pg_query_ASCII_60 = 60, + pg_query_ASCII_61 = 61, + pg_query_ASCII_62 = 62, + pg_query_ASCII_63 = 63, + pg_query_ASCII_91 = 91, + pg_query_ASCII_92 = 92, + pg_query_ASCII_93 = 93, + pg_query_ASCII_94 = 94, + pg_query_IDENT = 258, + pg_query_UIDENT = 259, + pg_query_FCONST = 260, + pg_query_SCONST = 261, + pg_query_USCONST = 262, + pg_query_BCONST = 263, + pg_query_XCONST = 264, + pg_query_Op = 265, + pg_query_ICONST = 266, + pg_query_PARAM = 267, + pg_query_TYPECAST = 268, + pg_query_DOT_DOT = 269, + pg_query_COLON_EQUALS = 270, + pg_query_EQUALS_GREATER = 271, + pg_query_LESS_EQUALS = 272, + pg_query_GREATER_EQUALS = 273, + pg_query_NOT_EQUALS = 274, + pg_query_SQL_COMMENT = 275, + pg_query_C_COMMENT = 276, + pg_query_ABORT_P = 277, + pg_query_ABSENT = 278, + pg_query_ABSOLUTE_P = 279, + pg_query_ACCESS = 280, + pg_query_ACTION = 281, + pg_query_ADD_P = 282, + pg_query_ADMIN = 283, + pg_query_AFTER = 284, + pg_query_AGGREGATE = 285, + pg_query_ALL = 286, + pg_query_ALSO = 287, + pg_query_ALTER = 288, + pg_query_ALWAYS = 289, + pg_query_ANALYSE = 290, + pg_query_ANALYZE = 291, + pg_query_AND = 292, + pg_query_ANY = 293, + pg_query_ARRAY = 294, + pg_query_AS = 295, + pg_query_ASC = 296, + pg_query_ASENSITIVE = 297, + pg_query_ASSERTION = 298, + pg_query_ASSIGNMENT = 299, + pg_query_ASYMMETRIC = 300, + pg_query_ATOMIC = 301, + pg_query_AT = 302, + pg_query_ATTACH = 303, + pg_query_ATTRIBUTE = 304, + pg_query_AUTHORIZATION = 305, + pg_query_BACKWARD = 306, + pg_query_BEFORE = 307, + pg_query_BEGIN_P = 308, + pg_query_BETWEEN = 309, + pg_query_BIGINT = 310, + pg_query_BINARY = 311, + pg_query_BIT = 312, + pg_query_BOOLEAN_P = 313, + pg_query_BOTH = 314, + pg_query_BREADTH = 315, + pg_query_BY = 316, + pg_query_CACHE = 317, + pg_query_CALL = 318, + pg_query_CALLED = 319, + pg_query_CASCADE = 320, + pg_query_CASCADED = 321, + pg_query_CASE = 322, + pg_query_CAST = 323, + pg_query_CATALOG_P = 324, + pg_query_CHAIN = 325, + pg_query_CHAR_P = 326, + pg_query_CHARACTER = 327, + pg_query_CHARACTERISTICS = 328, + pg_query_CHECK = 329, + pg_query_CHECKPOINT = 330, + pg_query_CLASS = 331, + pg_query_CLOSE = 332, + pg_query_CLUSTER = 333, + pg_query_COALESCE = 334, + pg_query_COLLATE = 335, + pg_query_COLLATION = 336, + pg_query_COLUMN = 337, + pg_query_COLUMNS = 338, + pg_query_COMMENT = 339, + pg_query_COMMENTS = 340, + pg_query_COMMIT = 341, + pg_query_COMMITTED = 342, + pg_query_COMPRESSION = 343, + pg_query_CONCURRENTLY = 344, + pg_query_CONDITIONAL = 345, + pg_query_CONFIGURATION = 346, + pg_query_CONFLICT = 347, + pg_query_CONNECTION = 348, + pg_query_CONSTRAINT = 349, + pg_query_CONSTRAINTS = 350, + pg_query_CONTENT_P = 351, + pg_query_CONTINUE_P = 352, + pg_query_CONVERSION_P = 353, + pg_query_COPY = 354, + pg_query_COST = 355, + pg_query_CREATE = 356, + pg_query_CROSS = 357, + pg_query_CSV = 358, + pg_query_CUBE = 359, + pg_query_CURRENT_P = 360, + pg_query_CURRENT_CATALOG = 361, + pg_query_CURRENT_DATE = 362, + pg_query_CURRENT_ROLE = 363, + pg_query_CURRENT_SCHEMA = 364, + pg_query_CURRENT_TIME = 365, + pg_query_CURRENT_TIMESTAMP = 366, + pg_query_CURRENT_USER = 367, + pg_query_CURSOR = 368, + pg_query_CYCLE = 369, + pg_query_DATA_P = 370, + pg_query_DATABASE = 371, + pg_query_DAY_P = 372, + pg_query_DEALLOCATE = 373, + pg_query_DEC = 374, + pg_query_DECIMAL_P = 375, + pg_query_DECLARE = 376, + pg_query_DEFAULT = 377, + pg_query_DEFAULTS = 378, + pg_query_DEFERRABLE = 379, + pg_query_DEFERRED = 380, + pg_query_DEFINER = 381, + pg_query_DELETE_P = 382, + pg_query_DELIMITER = 383, + pg_query_DELIMITERS = 384, + pg_query_DEPENDS = 385, + pg_query_DEPTH = 386, + pg_query_DESC = 387, + pg_query_DETACH = 388, + pg_query_DICTIONARY = 389, + pg_query_DISABLE_P = 390, + pg_query_DISCARD = 391, + pg_query_DISTINCT = 392, + pg_query_DO = 393, + pg_query_DOCUMENT_P = 394, + pg_query_DOMAIN_P = 395, + pg_query_DOUBLE_P = 396, + pg_query_DROP = 397, + pg_query_EACH = 398, + pg_query_ELSE = 399, + pg_query_EMPTY_P = 400, + pg_query_ENABLE_P = 401, + pg_query_ENCODING = 402, + pg_query_ENCRYPTED = 403, + pg_query_END_P = 404, + pg_query_ENFORCED = 405, + pg_query_ENUM_P = 406, + pg_query_ERROR_P = 407, + pg_query_ESCAPE = 408, + pg_query_EVENT = 409, + pg_query_EXCEPT = 410, + pg_query_EXCLUDE = 411, + pg_query_EXCLUDING = 412, + pg_query_EXCLUSIVE = 413, + pg_query_EXECUTE = 414, + pg_query_EXISTS = 415, + pg_query_EXPLAIN = 416, + pg_query_EXPRESSION = 417, + pg_query_EXTENSION = 418, + pg_query_EXTERNAL = 419, + pg_query_EXTRACT = 420, + pg_query_FALSE_P = 421, + pg_query_FAMILY = 422, + pg_query_FETCH = 423, + pg_query_FILTER = 424, + pg_query_FINALIZE = 425, + pg_query_FIRST_P = 426, + pg_query_FLOAT_P = 427, + pg_query_FOLLOWING = 428, + pg_query_FOR = 429, + pg_query_FORCE = 430, + pg_query_FOREIGN = 431, + pg_query_FORMAT = 432, + pg_query_FORWARD = 433, + pg_query_FREEZE = 434, + pg_query_FROM = 435, + pg_query_FULL = 436, + pg_query_FUNCTION = 437, + pg_query_FUNCTIONS = 438, + pg_query_GENERATED = 439, + pg_query_GLOBAL = 440, + pg_query_GRANT = 441, + pg_query_GRANTED = 442, + pg_query_GREATEST = 443, + pg_query_GROUP_P = 444, + pg_query_GROUPING = 445, + pg_query_GROUPS = 446, + pg_query_HANDLER = 447, + pg_query_HAVING = 448, + pg_query_HEADER_P = 449, + pg_query_HOLD = 450, + pg_query_HOUR_P = 451, + pg_query_IDENTITY_P = 452, + pg_query_IF_P = 453, + pg_query_ILIKE = 454, + pg_query_IMMEDIATE = 455, + pg_query_IMMUTABLE = 456, + pg_query_IMPLICIT_P = 457, + pg_query_IMPORT_P = 458, + pg_query_IN_P = 459, + pg_query_INCLUDE = 460, + pg_query_INCLUDING = 461, + pg_query_INCREMENT = 462, + pg_query_INDENT = 463, + pg_query_INDEX = 464, + pg_query_INDEXES = 465, + pg_query_INHERIT = 466, + pg_query_INHERITS = 467, + pg_query_INITIALLY = 468, + pg_query_INLINE_P = 469, + pg_query_INNER_P = 470, + pg_query_INOUT = 471, + pg_query_INPUT_P = 472, + pg_query_INSENSITIVE = 473, + pg_query_INSERT = 474, + pg_query_INSTEAD = 475, + pg_query_INT_P = 476, + pg_query_INTEGER = 477, + pg_query_INTERSECT = 478, + pg_query_INTERVAL = 479, + pg_query_INTO = 480, + pg_query_INVOKER = 481, + pg_query_IS = 482, + pg_query_ISNULL = 483, + pg_query_ISOLATION = 484, + pg_query_JOIN = 485, + pg_query_JSON = 486, + pg_query_JSON_ARRAY = 487, + pg_query_JSON_ARRAYAGG = 488, + pg_query_JSON_EXISTS = 489, + pg_query_JSON_OBJECT = 490, + pg_query_JSON_OBJECTAGG = 491, + pg_query_JSON_QUERY = 492, + pg_query_JSON_SCALAR = 493, + pg_query_JSON_SERIALIZE = 494, + pg_query_JSON_TABLE = 495, + pg_query_JSON_VALUE = 496, + pg_query_KEEP = 497, + pg_query_KEY = 498, + pg_query_KEYS = 499, + pg_query_LABEL = 500, + pg_query_LANGUAGE = 501, + pg_query_LARGE_P = 502, + pg_query_LAST_P = 503, + pg_query_LATERAL_P = 504, + pg_query_LEADING = 505, + pg_query_LEAKPROOF = 506, + pg_query_LEAST = 507, + pg_query_LEFT = 508, + pg_query_LEVEL = 509, + pg_query_LIKE = 510, + pg_query_LIMIT = 511, + pg_query_LISTEN = 512, + pg_query_LOAD = 513, + pg_query_LOCAL = 514, + pg_query_LOCALTIME = 515, + pg_query_LOCALTIMESTAMP = 516, + pg_query_LOCATION = 517, + pg_query_LOCK_P = 518, + pg_query_LOCKED = 519, + pg_query_LOGGED = 520, + pg_query_MAPPING = 521, + pg_query_MATCH = 522, + pg_query_MATCHED = 523, + pg_query_MATERIALIZED = 524, + pg_query_MAXVALUE = 525, + pg_query_MERGE = 526, + pg_query_MERGE_ACTION = 527, + pg_query_METHOD = 528, + pg_query_MINUTE_P = 529, + pg_query_MINVALUE = 530, + pg_query_MODE = 531, + pg_query_MONTH_P = 532, + pg_query_MOVE = 533, + pg_query_NAME_P = 534, + pg_query_NAMES = 535, + pg_query_NATIONAL = 536, + pg_query_NATURAL = 537, + pg_query_NCHAR = 538, + pg_query_NESTED = 539, + pg_query_NEW = 540, + pg_query_NEXT = 541, + pg_query_NFC = 542, + pg_query_NFD = 543, + pg_query_NFKC = 544, + pg_query_NFKD = 545, + pg_query_NO = 546, + pg_query_NONE = 547, + pg_query_NORMALIZE = 548, + pg_query_NORMALIZED = 549, + pg_query_NOT = 550, + pg_query_NOTHING = 551, + pg_query_NOTIFY = 552, + pg_query_NOTNULL = 553, + pg_query_NOWAIT = 554, + pg_query_NULL_P = 555, + pg_query_NULLIF = 556, + pg_query_NULLS_P = 557, + pg_query_NUMERIC = 558, + pg_query_OBJECT_P = 559, + pg_query_OBJECTS_P = 560, + pg_query_OF = 561, + pg_query_OFF = 562, + pg_query_OFFSET = 563, + pg_query_OIDS = 564, + pg_query_OLD = 565, + pg_query_OMIT = 566, + pg_query_ON = 567, + pg_query_ONLY = 568, + pg_query_OPERATOR = 569, + pg_query_OPTION = 570, + pg_query_OPTIONS = 571, + pg_query_OR = 572, + pg_query_ORDER = 573, + pg_query_ORDINALITY = 574, + pg_query_OTHERS = 575, + pg_query_OUT_P = 576, + pg_query_OUTER_P = 577, + pg_query_OVER = 578, + pg_query_OVERLAPS = 579, + pg_query_OVERLAY = 580, + pg_query_OVERRIDING = 581, + pg_query_OWNED = 582, + pg_query_OWNER = 583, + pg_query_PARALLEL = 584, + pg_query_PARAMETER = 585, + pg_query_PARSER = 586, + pg_query_PARTIAL = 587, + pg_query_PARTITION = 588, + pg_query_PASSING = 589, + pg_query_PASSWORD = 590, + pg_query_PATH = 591, + pg_query_PERIOD = 592, + pg_query_PLACING = 593, + pg_query_PLAN = 594, + pg_query_PLANS = 595, + pg_query_POLICY = 596, + pg_query_POSITION = 597, + pg_query_PRECEDING = 598, + pg_query_PRECISION = 599, + pg_query_PRESERVE = 600, + pg_query_PREPARE = 601, + pg_query_PREPARED = 602, + pg_query_PRIMARY = 603, + pg_query_PRIOR = 604, + pg_query_PRIVILEGES = 605, + pg_query_PROCEDURAL = 606, + pg_query_PROCEDURE = 607, + pg_query_PROCEDURES = 608, + pg_query_PROGRAM = 609, + pg_query_PUBLICATION = 610, + pg_query_QUOTE = 611, + pg_query_QUOTES = 612, + pg_query_RANGE = 613, + pg_query_READ = 614, + pg_query_REAL = 615, + pg_query_REASSIGN = 616, + pg_query_RECURSIVE = 617, + pg_query_REF_P = 618, + pg_query_REFERENCES = 619, + pg_query_REFERENCING = 620, + pg_query_REFRESH = 621, + pg_query_REINDEX = 622, + pg_query_RELATIVE_P = 623, + pg_query_RELEASE = 624, + pg_query_RENAME = 625, + pg_query_REPEATABLE = 626, + pg_query_REPLACE = 627, + pg_query_REPLICA = 628, + pg_query_RESET = 629, + pg_query_RESTART = 630, + pg_query_RESTRICT = 631, + pg_query_RETURN = 632, + pg_query_RETURNING = 633, + pg_query_RETURNS = 634, + pg_query_REVOKE = 635, + pg_query_RIGHT = 636, + pg_query_ROLE = 637, + pg_query_ROLLBACK = 638, + pg_query_ROLLUP = 639, + pg_query_ROUTINE = 640, + pg_query_ROUTINES = 641, + pg_query_ROW = 642, + pg_query_ROWS = 643, + pg_query_RULE = 644, + pg_query_SAVEPOINT = 645, + pg_query_SCALAR = 646, + pg_query_SCHEMA = 647, + pg_query_SCHEMAS = 648, + pg_query_SCROLL = 649, + pg_query_SEARCH = 650, + pg_query_SECOND_P = 651, + pg_query_SECURITY = 652, + pg_query_SELECT = 653, + pg_query_SEQUENCE = 654, + pg_query_SEQUENCES = 655, + pg_query_SERIALIZABLE = 656, + pg_query_SERVER = 657, + pg_query_SESSION = 658, + pg_query_SESSION_USER = 659, + pg_query_SET = 660, + pg_query_SETS = 661, + pg_query_SETOF = 662, + pg_query_SHARE = 663, + pg_query_SHOW = 664, + pg_query_SIMILAR = 665, + pg_query_SIMPLE = 666, + pg_query_SKIP = 667, + pg_query_SMALLINT = 668, + pg_query_SNAPSHOT = 669, + pg_query_SOME = 670, + pg_query_SOURCE = 671, + pg_query_SQL_P = 672, + pg_query_STABLE = 673, + pg_query_STANDALONE_P = 674, + pg_query_START = 675, + pg_query_STATEMENT = 676, + pg_query_STATISTICS = 677, + pg_query_STDIN = 678, + pg_query_STDOUT = 679, + pg_query_STORAGE = 680, + pg_query_STORED = 681, + pg_query_STRICT_P = 682, + pg_query_STRING_P = 683, + pg_query_STRIP_P = 684, + pg_query_SUBSCRIPTION = 685, + pg_query_SUBSTRING = 686, + pg_query_SUPPORT = 687, + pg_query_SYMMETRIC = 688, + pg_query_SYSID = 689, + pg_query_SYSTEM_P = 690, + pg_query_SYSTEM_USER = 691, + pg_query_TABLE = 692, + pg_query_TABLES = 693, + pg_query_TABLESAMPLE = 694, + pg_query_TABLESPACE = 695, + pg_query_TARGET = 696, + pg_query_TEMP = 697, + pg_query_TEMPLATE = 698, + pg_query_TEMPORARY = 699, + pg_query_TEXT_P = 700, + pg_query_THEN = 701, + pg_query_TIES = 702, + pg_query_TIME = 703, + pg_query_TIMESTAMP = 704, + pg_query_TO = 705, + pg_query_TRAILING = 706, + pg_query_TRANSACTION = 707, + pg_query_TRANSFORM = 708, + pg_query_TREAT = 709, + pg_query_TRIGGER = 710, + pg_query_TRIM = 711, + pg_query_TRUE_P = 712, + pg_query_TRUNCATE = 713, + pg_query_TRUSTED = 714, + pg_query_TYPE_P = 715, + pg_query_TYPES_P = 716, + pg_query_UESCAPE = 717, + pg_query_UNBOUNDED = 718, + pg_query_UNCONDITIONAL = 719, + pg_query_UNCOMMITTED = 720, + pg_query_UNENCRYPTED = 721, + pg_query_UNION = 722, + pg_query_UNIQUE = 723, + pg_query_UNKNOWN = 724, + pg_query_UNLISTEN = 725, + pg_query_UNLOGGED = 726, + pg_query_UNTIL = 727, + pg_query_UPDATE = 728, + pg_query_USER = 729, + pg_query_USING = 730, + pg_query_VACUUM = 731, + pg_query_VALID = 732, + pg_query_VALIDATE = 733, + pg_query_VALIDATOR = 734, + pg_query_VALUE_P = 735, + pg_query_VALUES = 736, + pg_query_VARCHAR = 737, + pg_query_VARIADIC = 738, + pg_query_VARYING = 739, + pg_query_VERBOSE = 740, + pg_query_VERSION_P = 741, + pg_query_VIEW = 742, + pg_query_VIEWS = 743, + pg_query_VIRTUAL = 744, + pg_query_VOLATILE = 745, + pg_query_WHEN = 746, + pg_query_WHERE = 747, + pg_query_WHITESPACE_P = 748, + pg_query_WINDOW = 749, + pg_query_WITH = 750, + pg_query_WITHIN = 751, + pg_query_WITHOUT = 752, + pg_query_WORK = 753, + pg_query_WRAPPER = 754, + pg_query_WRITE = 755, + pg_query_XML_P = 756, + pg_query_XMLATTRIBUTES = 757, + pg_query_XMLCONCAT = 758, + pg_query_XMLELEMENT = 759, + pg_query_XMLEXISTS = 760, + pg_query_XMLFOREST = 761, + pg_query_XMLNAMESPACES = 762, + pg_query_XMLPARSE = 763, + pg_query_XMLPI = 764, + pg_query_XMLROOT = 765, + pg_query_XMLSERIALIZE = 766, + pg_query_XMLTABLE = 767, + pg_query_YEAR_P = 768, + pg_query_YES_P = 769, + pg_query_ZONE = 770, + pg_query_FORMAT_LA = 771, + pg_query_NOT_LA = 772, + pg_query_NULLS_LA = 773, + pg_query_WITH_LA = 774, + pg_query_WITHOUT_LA = 775, + pg_query_MODE_TYPE_NAME = 776, + pg_query_MODE_PLPGSQL_EXPR = 777, + pg_query_MODE_PLPGSQL_ASSIGN1 = 778, + pg_query_MODE_PLPGSQL_ASSIGN2 = 779, + pg_query_MODE_PLPGSQL_ASSIGN3 = 780, + pg_query_UMINUS = 781 +} pg_query_Token; + +typedef enum { + pg_query_TRANSACTION_STMT_KIND_UNDEFINED = 0, + pg_query_TRANS_STMT_BEGIN = 1, + pg_query_TRANS_STMT_START = 2, + pg_query_TRANS_STMT_COMMIT = 3, + pg_query_TRANS_STMT_ROLLBACK = 4, + pg_query_TRANS_STMT_SAVEPOINT = 5, + pg_query_TRANS_STMT_RELEASE = 6, + pg_query_TRANS_STMT_ROLLBACK_TO = 7, + pg_query_TRANS_STMT_PREPARE = 8, + pg_query_TRANS_STMT_COMMIT_PREPARED = 9, + pg_query_TRANS_STMT_ROLLBACK_PREPARED = 10 +} pg_query_TransactionStmtKind; + +typedef enum { + pg_query_VAR_RETURNING_TYPE_UNDEFINED = 0, + pg_query_VAR_RETURNING_DEFAULT = 1, + pg_query_VAR_RETURNING_OLD = 2, + pg_query_VAR_RETURNING_NEW = 3 +} pg_query_VarReturningType; + +typedef enum { + pg_query_VARIABLE_SET_KIND_UNDEFINED = 0, + pg_query_VAR_SET_VALUE = 1, + pg_query_VAR_SET_DEFAULT = 2, + pg_query_VAR_SET_CURRENT = 3, + pg_query_VAR_SET_MULTI = 4, + pg_query_VAR_RESET = 5, + pg_query_VAR_RESET_ALL = 6 +} pg_query_VariableSetKind; + +typedef enum { + pg_query_VIEW_CHECK_OPTION_UNDEFINED = 0, + pg_query_NO_CHECK_OPTION = 1, + pg_query_LOCAL_CHECK_OPTION = 2, + pg_query_CASCADED_CHECK_OPTION = 3 +} pg_query_ViewCheckOption; + +typedef enum { + pg_query_WCOKIND_UNDEFINED = 0, + pg_query_WCO_VIEW_CHECK = 1, + pg_query_WCO_RLS_INSERT_CHECK = 2, + pg_query_WCO_RLS_UPDATE_CHECK = 3, + pg_query_WCO_RLS_CONFLICT_CHECK = 4, + pg_query_WCO_RLS_MERGE_UPDATE_CHECK = 5, + pg_query_WCO_RLS_MERGE_DELETE_CHECK = 6 +} pg_query_WCOKind; + +typedef enum { + pg_query_XML_EXPR_OP_UNDEFINED = 0, + pg_query_IS_XMLCONCAT = 1, + pg_query_IS_XMLELEMENT = 2, + pg_query_IS_XMLFOREST = 3, + pg_query_IS_XMLPARSE = 4, + pg_query_IS_XMLPI = 5, + pg_query_IS_XMLROOT = 6, + pg_query_IS_XMLSERIALIZE = 7, + pg_query_IS_DOCUMENT = 8 +} pg_query_XmlExprOp; + +typedef enum { + pg_query_XML_OPTION_TYPE_UNDEFINED = 0, + pg_query_XMLOPTION_DOCUMENT = 1, + pg_query_XMLOPTION_CONTENT = 2 +} pg_query_XmlOptionType; + + + +/* pg_query.ParseResult */ +UPB_INLINE pg_query_ParseResult* pg_query_ParseResult_new(upb_Arena* arena) { + return (pg_query_ParseResult*)_upb_Message_New(&pg_0query__ParseResult_msg_init, arena); +} +UPB_INLINE pg_query_ParseResult* pg_query_ParseResult_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ParseResult* ret = pg_query_ParseResult_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ParseResult_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ParseResult* pg_query_ParseResult_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ParseResult* ret = pg_query_ParseResult_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ParseResult_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ParseResult_serialize(const pg_query_ParseResult* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ParseResult_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ParseResult_serialize_ex(const pg_query_ParseResult* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ParseResult_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ParseResult_clear_version(pg_query_ParseResult* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ParseResult_version(const pg_query_ParseResult* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ParseResult_clear_stmts(pg_query_ParseResult* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RawStmt* const* pg_query_ParseResult_stmts(const pg_query_ParseResult* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RawStmt_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_RawStmt* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ParseResult_stmts_upb_array( + const pg_query_ParseResult* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RawStmt_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ParseResult_stmts_mutable_upb_array( + pg_query_ParseResult* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RawStmt_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_ParseResult_set_version(pg_query_ParseResult* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_RawStmt** pg_query_ParseResult_mutable_stmts(pg_query_ParseResult* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RawStmt_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_RawStmt**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_RawStmt** pg_query_ParseResult_resize_stmts(pg_query_ParseResult* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RawStmt_msg_init); + return (pg_query_RawStmt**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_RawStmt* pg_query_ParseResult_add_stmts( + pg_query_ParseResult* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RawStmt_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_RawStmt* sub = + (struct pg_query_RawStmt*)_upb_Message_New(&pg_0query__RawStmt_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.ScanResult */ +UPB_INLINE pg_query_ScanResult* pg_query_ScanResult_new(upb_Arena* arena) { + return (pg_query_ScanResult*)_upb_Message_New(&pg_0query__ScanResult_msg_init, arena); +} +UPB_INLINE pg_query_ScanResult* pg_query_ScanResult_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ScanResult* ret = pg_query_ScanResult_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ScanResult_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ScanResult* pg_query_ScanResult_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ScanResult* ret = pg_query_ScanResult_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ScanResult_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ScanResult_serialize(const pg_query_ScanResult* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ScanResult_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ScanResult_serialize_ex(const pg_query_ScanResult* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ScanResult_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ScanResult_clear_version(pg_query_ScanResult* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ScanResult_version(const pg_query_ScanResult* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ScanResult_clear_tokens(pg_query_ScanResult* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ScanToken* const* pg_query_ScanResult_tokens(const pg_query_ScanResult* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ScanToken_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_ScanToken* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ScanResult_tokens_upb_array( + const pg_query_ScanResult* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ScanToken_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ScanResult_tokens_mutable_upb_array( + pg_query_ScanResult* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ScanToken_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_ScanResult_set_version(pg_query_ScanResult* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_ScanToken** pg_query_ScanResult_mutable_tokens(pg_query_ScanResult* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ScanToken_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_ScanToken**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_ScanToken** pg_query_ScanResult_resize_tokens(pg_query_ScanResult* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ScanToken_msg_init); + return (pg_query_ScanToken**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_ScanToken* pg_query_ScanResult_add_tokens( + pg_query_ScanResult* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ScanToken_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_ScanToken* sub = + (struct pg_query_ScanToken*)_upb_Message_New(&pg_0query__ScanToken_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.Node */ +UPB_INLINE pg_query_Node* pg_query_Node_new(upb_Arena* arena) { + return (pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); +} +UPB_INLINE pg_query_Node* pg_query_Node_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_Node* ret = pg_query_Node_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Node_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_Node* pg_query_Node_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_Node* ret = pg_query_Node_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Node_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_Node_serialize(const pg_query_Node* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Node_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_Node_serialize_ex(const pg_query_Node* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Node_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + pg_query_Node_node_alias = 1, + pg_query_Node_node_range_var = 2, + pg_query_Node_node_table_func = 3, + pg_query_Node_node_into_clause = 4, + pg_query_Node_node_var = 5, + pg_query_Node_node_param = 6, + pg_query_Node_node_aggref = 7, + pg_query_Node_node_grouping_func = 8, + pg_query_Node_node_window_func = 9, + pg_query_Node_node_window_func_run_condition = 10, + pg_query_Node_node_merge_support_func = 11, + pg_query_Node_node_subscripting_ref = 12, + pg_query_Node_node_func_expr = 13, + pg_query_Node_node_named_arg_expr = 14, + pg_query_Node_node_op_expr = 15, + pg_query_Node_node_distinct_expr = 16, + pg_query_Node_node_null_if_expr = 17, + pg_query_Node_node_scalar_array_op_expr = 18, + pg_query_Node_node_bool_expr = 19, + pg_query_Node_node_sub_link = 20, + pg_query_Node_node_sub_plan = 21, + pg_query_Node_node_alternative_sub_plan = 22, + pg_query_Node_node_field_select = 23, + pg_query_Node_node_field_store = 24, + pg_query_Node_node_relabel_type = 25, + pg_query_Node_node_coerce_via_io = 26, + pg_query_Node_node_array_coerce_expr = 27, + pg_query_Node_node_convert_rowtype_expr = 28, + pg_query_Node_node_collate_expr = 29, + pg_query_Node_node_case_expr = 30, + pg_query_Node_node_case_when = 31, + pg_query_Node_node_case_test_expr = 32, + pg_query_Node_node_array_expr = 33, + pg_query_Node_node_row_expr = 34, + pg_query_Node_node_row_compare_expr = 35, + pg_query_Node_node_coalesce_expr = 36, + pg_query_Node_node_min_max_expr = 37, + pg_query_Node_node_sqlvalue_function = 38, + pg_query_Node_node_xml_expr = 39, + pg_query_Node_node_json_format = 40, + pg_query_Node_node_json_returning = 41, + pg_query_Node_node_json_value_expr = 42, + pg_query_Node_node_json_constructor_expr = 43, + pg_query_Node_node_json_is_predicate = 44, + pg_query_Node_node_json_behavior = 45, + pg_query_Node_node_json_expr = 46, + pg_query_Node_node_json_table_path = 47, + pg_query_Node_node_json_table_path_scan = 48, + pg_query_Node_node_json_table_sibling_join = 49, + pg_query_Node_node_null_test = 50, + pg_query_Node_node_boolean_test = 51, + pg_query_Node_node_merge_action = 52, + pg_query_Node_node_coerce_to_domain = 53, + pg_query_Node_node_coerce_to_domain_value = 54, + pg_query_Node_node_set_to_default = 55, + pg_query_Node_node_current_of_expr = 56, + pg_query_Node_node_next_value_expr = 57, + pg_query_Node_node_inference_elem = 58, + pg_query_Node_node_returning_expr = 59, + pg_query_Node_node_target_entry = 60, + pg_query_Node_node_range_tbl_ref = 61, + pg_query_Node_node_join_expr = 62, + pg_query_Node_node_from_expr = 63, + pg_query_Node_node_on_conflict_expr = 64, + pg_query_Node_node_query = 65, + pg_query_Node_node_type_name = 66, + pg_query_Node_node_column_ref = 67, + pg_query_Node_node_param_ref = 68, + pg_query_Node_node_a_expr = 69, + pg_query_Node_node_type_cast = 70, + pg_query_Node_node_collate_clause = 71, + pg_query_Node_node_role_spec = 72, + pg_query_Node_node_func_call = 73, + pg_query_Node_node_a_star = 74, + pg_query_Node_node_a_indices = 75, + pg_query_Node_node_a_indirection = 76, + pg_query_Node_node_a_array_expr = 77, + pg_query_Node_node_res_target = 78, + pg_query_Node_node_multi_assign_ref = 79, + pg_query_Node_node_sort_by = 80, + pg_query_Node_node_window_def = 81, + pg_query_Node_node_range_subselect = 82, + pg_query_Node_node_range_function = 83, + pg_query_Node_node_range_table_func = 84, + pg_query_Node_node_range_table_func_col = 85, + pg_query_Node_node_range_table_sample = 86, + pg_query_Node_node_column_def = 87, + pg_query_Node_node_table_like_clause = 88, + pg_query_Node_node_index_elem = 89, + pg_query_Node_node_def_elem = 90, + pg_query_Node_node_locking_clause = 91, + pg_query_Node_node_xml_serialize = 92, + pg_query_Node_node_partition_elem = 93, + pg_query_Node_node_partition_spec = 94, + pg_query_Node_node_partition_bound_spec = 95, + pg_query_Node_node_partition_range_datum = 96, + pg_query_Node_node_partition_cmd = 97, + pg_query_Node_node_range_tbl_entry = 98, + pg_query_Node_node_rtepermission_info = 99, + pg_query_Node_node_range_tbl_function = 100, + pg_query_Node_node_table_sample_clause = 101, + pg_query_Node_node_with_check_option = 102, + pg_query_Node_node_sort_group_clause = 103, + pg_query_Node_node_grouping_set = 104, + pg_query_Node_node_window_clause = 105, + pg_query_Node_node_row_mark_clause = 106, + pg_query_Node_node_with_clause = 107, + pg_query_Node_node_infer_clause = 108, + pg_query_Node_node_on_conflict_clause = 109, + pg_query_Node_node_ctesearch_clause = 110, + pg_query_Node_node_ctecycle_clause = 111, + pg_query_Node_node_common_table_expr = 112, + pg_query_Node_node_merge_when_clause = 113, + pg_query_Node_node_returning_option = 114, + pg_query_Node_node_returning_clause = 115, + pg_query_Node_node_trigger_transition = 116, + pg_query_Node_node_json_output = 117, + pg_query_Node_node_json_argument = 118, + pg_query_Node_node_json_func_expr = 119, + pg_query_Node_node_json_table_path_spec = 120, + pg_query_Node_node_json_table = 121, + pg_query_Node_node_json_table_column = 122, + pg_query_Node_node_json_key_value = 123, + pg_query_Node_node_json_parse_expr = 124, + pg_query_Node_node_json_scalar_expr = 125, + pg_query_Node_node_json_serialize_expr = 126, + pg_query_Node_node_json_object_constructor = 127, + pg_query_Node_node_json_array_constructor = 128, + pg_query_Node_node_json_array_query_constructor = 129, + pg_query_Node_node_json_agg_constructor = 130, + pg_query_Node_node_json_object_agg = 131, + pg_query_Node_node_json_array_agg = 132, + pg_query_Node_node_raw_stmt = 133, + pg_query_Node_node_insert_stmt = 134, + pg_query_Node_node_delete_stmt = 135, + pg_query_Node_node_update_stmt = 136, + pg_query_Node_node_merge_stmt = 137, + pg_query_Node_node_select_stmt = 138, + pg_query_Node_node_set_operation_stmt = 139, + pg_query_Node_node_return_stmt = 140, + pg_query_Node_node_plassign_stmt = 141, + pg_query_Node_node_create_schema_stmt = 142, + pg_query_Node_node_alter_table_stmt = 143, + pg_query_Node_node_alter_table_cmd = 144, + pg_query_Node_node_atalter_constraint = 145, + pg_query_Node_node_replica_identity_stmt = 146, + pg_query_Node_node_alter_collation_stmt = 147, + pg_query_Node_node_alter_domain_stmt = 148, + pg_query_Node_node_grant_stmt = 149, + pg_query_Node_node_object_with_args = 150, + pg_query_Node_node_access_priv = 151, + pg_query_Node_node_grant_role_stmt = 152, + pg_query_Node_node_alter_default_privileges_stmt = 153, + pg_query_Node_node_copy_stmt = 154, + pg_query_Node_node_variable_set_stmt = 155, + pg_query_Node_node_variable_show_stmt = 156, + pg_query_Node_node_create_stmt = 157, + pg_query_Node_node_constraint = 158, + pg_query_Node_node_create_table_space_stmt = 159, + pg_query_Node_node_drop_table_space_stmt = 160, + pg_query_Node_node_alter_table_space_options_stmt = 161, + pg_query_Node_node_alter_table_move_all_stmt = 162, + pg_query_Node_node_create_extension_stmt = 163, + pg_query_Node_node_alter_extension_stmt = 164, + pg_query_Node_node_alter_extension_contents_stmt = 165, + pg_query_Node_node_create_fdw_stmt = 166, + pg_query_Node_node_alter_fdw_stmt = 167, + pg_query_Node_node_create_foreign_server_stmt = 168, + pg_query_Node_node_alter_foreign_server_stmt = 169, + pg_query_Node_node_create_foreign_table_stmt = 170, + pg_query_Node_node_create_user_mapping_stmt = 171, + pg_query_Node_node_alter_user_mapping_stmt = 172, + pg_query_Node_node_drop_user_mapping_stmt = 173, + pg_query_Node_node_import_foreign_schema_stmt = 174, + pg_query_Node_node_create_policy_stmt = 175, + pg_query_Node_node_alter_policy_stmt = 176, + pg_query_Node_node_create_am_stmt = 177, + pg_query_Node_node_create_trig_stmt = 178, + pg_query_Node_node_create_event_trig_stmt = 179, + pg_query_Node_node_alter_event_trig_stmt = 180, + pg_query_Node_node_create_plang_stmt = 181, + pg_query_Node_node_create_role_stmt = 182, + pg_query_Node_node_alter_role_stmt = 183, + pg_query_Node_node_alter_role_set_stmt = 184, + pg_query_Node_node_drop_role_stmt = 185, + pg_query_Node_node_create_seq_stmt = 186, + pg_query_Node_node_alter_seq_stmt = 187, + pg_query_Node_node_define_stmt = 188, + pg_query_Node_node_create_domain_stmt = 189, + pg_query_Node_node_create_op_class_stmt = 190, + pg_query_Node_node_create_op_class_item = 191, + pg_query_Node_node_create_op_family_stmt = 192, + pg_query_Node_node_alter_op_family_stmt = 193, + pg_query_Node_node_drop_stmt = 194, + pg_query_Node_node_truncate_stmt = 195, + pg_query_Node_node_comment_stmt = 196, + pg_query_Node_node_sec_label_stmt = 197, + pg_query_Node_node_declare_cursor_stmt = 198, + pg_query_Node_node_close_portal_stmt = 199, + pg_query_Node_node_fetch_stmt = 200, + pg_query_Node_node_index_stmt = 201, + pg_query_Node_node_create_stats_stmt = 202, + pg_query_Node_node_stats_elem = 203, + pg_query_Node_node_alter_stats_stmt = 204, + pg_query_Node_node_create_function_stmt = 205, + pg_query_Node_node_function_parameter = 206, + pg_query_Node_node_alter_function_stmt = 207, + pg_query_Node_node_do_stmt = 208, + pg_query_Node_node_inline_code_block = 209, + pg_query_Node_node_call_stmt = 210, + pg_query_Node_node_call_context = 211, + pg_query_Node_node_rename_stmt = 212, + pg_query_Node_node_alter_object_depends_stmt = 213, + pg_query_Node_node_alter_object_schema_stmt = 214, + pg_query_Node_node_alter_owner_stmt = 215, + pg_query_Node_node_alter_operator_stmt = 216, + pg_query_Node_node_alter_type_stmt = 217, + pg_query_Node_node_rule_stmt = 218, + pg_query_Node_node_notify_stmt = 219, + pg_query_Node_node_listen_stmt = 220, + pg_query_Node_node_unlisten_stmt = 221, + pg_query_Node_node_transaction_stmt = 222, + pg_query_Node_node_composite_type_stmt = 223, + pg_query_Node_node_create_enum_stmt = 224, + pg_query_Node_node_create_range_stmt = 225, + pg_query_Node_node_alter_enum_stmt = 226, + pg_query_Node_node_view_stmt = 227, + pg_query_Node_node_load_stmt = 228, + pg_query_Node_node_createdb_stmt = 229, + pg_query_Node_node_alter_database_stmt = 230, + pg_query_Node_node_alter_database_refresh_coll_stmt = 231, + pg_query_Node_node_alter_database_set_stmt = 232, + pg_query_Node_node_dropdb_stmt = 233, + pg_query_Node_node_alter_system_stmt = 234, + pg_query_Node_node_cluster_stmt = 235, + pg_query_Node_node_vacuum_stmt = 236, + pg_query_Node_node_vacuum_relation = 237, + pg_query_Node_node_explain_stmt = 238, + pg_query_Node_node_create_table_as_stmt = 239, + pg_query_Node_node_refresh_mat_view_stmt = 240, + pg_query_Node_node_check_point_stmt = 241, + pg_query_Node_node_discard_stmt = 242, + pg_query_Node_node_lock_stmt = 243, + pg_query_Node_node_constraints_set_stmt = 244, + pg_query_Node_node_reindex_stmt = 245, + pg_query_Node_node_create_conversion_stmt = 246, + pg_query_Node_node_create_cast_stmt = 247, + pg_query_Node_node_create_transform_stmt = 248, + pg_query_Node_node_prepare_stmt = 249, + pg_query_Node_node_execute_stmt = 250, + pg_query_Node_node_deallocate_stmt = 251, + pg_query_Node_node_drop_owned_stmt = 252, + pg_query_Node_node_reassign_owned_stmt = 253, + pg_query_Node_node_alter_tsdictionary_stmt = 254, + pg_query_Node_node_alter_tsconfiguration_stmt = 255, + pg_query_Node_node_publication_table = 256, + pg_query_Node_node_publication_obj_spec = 257, + pg_query_Node_node_create_publication_stmt = 258, + pg_query_Node_node_alter_publication_stmt = 259, + pg_query_Node_node_create_subscription_stmt = 260, + pg_query_Node_node_alter_subscription_stmt = 261, + pg_query_Node_node_drop_subscription_stmt = 262, + pg_query_Node_node_integer = 263, + pg_query_Node_node_float = 264, + pg_query_Node_node_boolean = 265, + pg_query_Node_node_string = 266, + pg_query_Node_node_bit_string = 267, + pg_query_Node_node_list = 268, + pg_query_Node_node_int_list = 269, + pg_query_Node_node_oid_list = 270, + pg_query_Node_node_a_const = 271, + pg_query_Node_node_NOT_SET = 0 +} pg_query_Node_node_oneofcases; + +UPB_INLINE pg_query_Node_node_oneofcases +pg_query_Node_node_case(const pg_query_Node* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(813, 814), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (pg_query_Node_node_oneofcases)upb_Message_WhichOneofFieldNumber( + UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_node(pg_query_Node* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(813, 814), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearOneof(UPB_UPCAST(msg), &pg_0query__Node_msg_init, &field); +} +UPB_INLINE void pg_query_Node_clear_alias(pg_query_Node* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(813, 814), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_Node_alias(const pg_query_Node* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(813, 814), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alias(const pg_query_Node* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(813, 814), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_range_var(pg_query_Node* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(811, 813), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_Node_range_var(const pg_query_Node* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(811, 813), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_range_var(const pg_query_Node* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(811, 813), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_table_func(pg_query_Node* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(809, 812), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TableFunc* pg_query_Node_table_func(const pg_query_Node* msg) { + const pg_query_TableFunc* default_val = NULL; + const pg_query_TableFunc* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(809, 812), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TableFunc_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_table_func(const pg_query_Node* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(809, 812), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_into_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, UPB_SIZE(807, 811), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_IntoClause* pg_query_Node_into_clause(const pg_query_Node* msg) { + const pg_query_IntoClause* default_val = NULL; + const pg_query_IntoClause* ret; + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, UPB_SIZE(807, 811), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IntoClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_into_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, UPB_SIZE(807, 811), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_var(pg_query_Node* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, UPB_SIZE(805, 810), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Var* pg_query_Node_var(const pg_query_Node* msg) { + const pg_query_Var* default_val = NULL; + const pg_query_Var* ret; + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, UPB_SIZE(805, 810), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Var_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_var(const pg_query_Node* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, UPB_SIZE(805, 810), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_param(pg_query_Node* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(803, 809), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Param* pg_query_Node_param(const pg_query_Node* msg) { + const pg_query_Param* default_val = NULL; + const pg_query_Param* ret; + const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(803, 809), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Param_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_param(const pg_query_Node* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(803, 809), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_aggref(pg_query_Node* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(801, 808), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Aggref* pg_query_Node_aggref(const pg_query_Node* msg) { + const pg_query_Aggref* default_val = NULL; + const pg_query_Aggref* ret; + const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(801, 808), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Aggref_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_aggref(const pg_query_Node* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(801, 808), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_grouping_func(pg_query_Node* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(799, 807), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_GroupingFunc* pg_query_Node_grouping_func(const pg_query_Node* msg) { + const pg_query_GroupingFunc* default_val = NULL; + const pg_query_GroupingFunc* ret; + const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(799, 807), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__GroupingFunc_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_grouping_func(const pg_query_Node* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(799, 807), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_window_func(pg_query_Node* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, UPB_SIZE(797, 806), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WindowFunc* pg_query_Node_window_func(const pg_query_Node* msg) { + const pg_query_WindowFunc* default_val = NULL; + const pg_query_WindowFunc* ret; + const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, UPB_SIZE(797, 806), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowFunc_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_window_func(const pg_query_Node* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, UPB_SIZE(797, 806), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_window_func_run_condition(pg_query_Node* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, UPB_SIZE(795, 805), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WindowFuncRunCondition* pg_query_Node_window_func_run_condition(const pg_query_Node* msg) { + const pg_query_WindowFuncRunCondition* default_val = NULL; + const pg_query_WindowFuncRunCondition* ret; + const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, UPB_SIZE(795, 805), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowFuncRunCondition_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_window_func_run_condition(const pg_query_Node* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, UPB_SIZE(795, 805), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_merge_support_func(pg_query_Node* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, UPB_SIZE(793, 804), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_MergeSupportFunc* pg_query_Node_merge_support_func(const pg_query_Node* msg) { + const pg_query_MergeSupportFunc* default_val = NULL; + const pg_query_MergeSupportFunc* ret; + const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, UPB_SIZE(793, 804), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MergeSupportFunc_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_merge_support_func(const pg_query_Node* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, UPB_SIZE(793, 804), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_subscripting_ref(pg_query_Node* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, UPB_SIZE(791, 803), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SubscriptingRef* pg_query_Node_subscripting_ref(const pg_query_Node* msg) { + const pg_query_SubscriptingRef* default_val = NULL; + const pg_query_SubscriptingRef* ret; + const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, UPB_SIZE(791, 803), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SubscriptingRef_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_subscripting_ref(const pg_query_Node* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, UPB_SIZE(791, 803), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_func_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 16), -9, UPB_SIZE(789, 802), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_FuncExpr* pg_query_Node_func_expr(const pg_query_Node* msg) { + const pg_query_FuncExpr* default_val = NULL; + const pg_query_FuncExpr* ret; + const upb_MiniTableField field = {13, UPB_SIZE(12, 16), -9, UPB_SIZE(789, 802), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FuncExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_func_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 16), -9, UPB_SIZE(789, 802), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_named_arg_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, UPB_SIZE(787, 801), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_NamedArgExpr* pg_query_Node_named_arg_expr(const pg_query_Node* msg) { + const pg_query_NamedArgExpr* default_val = NULL; + const pg_query_NamedArgExpr* ret; + const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, UPB_SIZE(787, 801), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__NamedArgExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_named_arg_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, UPB_SIZE(787, 801), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_op_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(12, 16), -9, UPB_SIZE(785, 800), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_OpExpr* pg_query_Node_op_expr(const pg_query_Node* msg) { + const pg_query_OpExpr* default_val = NULL; + const pg_query_OpExpr* ret; + const upb_MiniTableField field = {15, UPB_SIZE(12, 16), -9, UPB_SIZE(785, 800), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OpExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_op_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(12, 16), -9, UPB_SIZE(785, 800), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_distinct_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(12, 16), -9, UPB_SIZE(783, 799), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DistinctExpr* pg_query_Node_distinct_expr(const pg_query_Node* msg) { + const pg_query_DistinctExpr* default_val = NULL; + const pg_query_DistinctExpr* ret; + const upb_MiniTableField field = {16, UPB_SIZE(12, 16), -9, UPB_SIZE(783, 799), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DistinctExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_distinct_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(12, 16), -9, UPB_SIZE(783, 799), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_null_if_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(12, 16), -9, UPB_SIZE(781, 798), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_NullIfExpr* pg_query_Node_null_if_expr(const pg_query_Node* msg) { + const pg_query_NullIfExpr* default_val = NULL; + const pg_query_NullIfExpr* ret; + const upb_MiniTableField field = {17, UPB_SIZE(12, 16), -9, UPB_SIZE(781, 798), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__NullIfExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_null_if_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(12, 16), -9, UPB_SIZE(781, 798), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_scalar_array_op_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {18, UPB_SIZE(12, 16), -9, UPB_SIZE(779, 797), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ScalarArrayOpExpr* pg_query_Node_scalar_array_op_expr(const pg_query_Node* msg) { + const pg_query_ScalarArrayOpExpr* default_val = NULL; + const pg_query_ScalarArrayOpExpr* ret; + const upb_MiniTableField field = {18, UPB_SIZE(12, 16), -9, UPB_SIZE(779, 797), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ScalarArrayOpExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_scalar_array_op_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {18, UPB_SIZE(12, 16), -9, UPB_SIZE(779, 797), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_bool_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(12, 16), -9, UPB_SIZE(777, 796), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_BoolExpr* pg_query_Node_bool_expr(const pg_query_Node* msg) { + const pg_query_BoolExpr* default_val = NULL; + const pg_query_BoolExpr* ret; + const upb_MiniTableField field = {19, UPB_SIZE(12, 16), -9, UPB_SIZE(777, 796), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__BoolExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_bool_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(12, 16), -9, UPB_SIZE(777, 796), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_sub_link(pg_query_Node* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(12, 16), -9, UPB_SIZE(775, 795), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SubLink* pg_query_Node_sub_link(const pg_query_Node* msg) { + const pg_query_SubLink* default_val = NULL; + const pg_query_SubLink* ret; + const upb_MiniTableField field = {20, UPB_SIZE(12, 16), -9, UPB_SIZE(775, 795), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SubLink_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_sub_link(const pg_query_Node* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(12, 16), -9, UPB_SIZE(775, 795), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_sub_plan(pg_query_Node* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(12, 16), -9, UPB_SIZE(773, 794), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SubPlan* pg_query_Node_sub_plan(const pg_query_Node* msg) { + const pg_query_SubPlan* default_val = NULL; + const pg_query_SubPlan* ret; + const upb_MiniTableField field = {21, UPB_SIZE(12, 16), -9, UPB_SIZE(773, 794), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SubPlan_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_sub_plan(const pg_query_Node* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(12, 16), -9, UPB_SIZE(773, 794), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alternative_sub_plan(pg_query_Node* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(12, 16), -9, UPB_SIZE(771, 793), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlternativeSubPlan* pg_query_Node_alternative_sub_plan(const pg_query_Node* msg) { + const pg_query_AlternativeSubPlan* default_val = NULL; + const pg_query_AlternativeSubPlan* ret; + const upb_MiniTableField field = {22, UPB_SIZE(12, 16), -9, UPB_SIZE(771, 793), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlternativeSubPlan_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alternative_sub_plan(const pg_query_Node* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(12, 16), -9, UPB_SIZE(771, 793), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_field_select(pg_query_Node* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(12, 16), -9, UPB_SIZE(769, 792), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_FieldSelect* pg_query_Node_field_select(const pg_query_Node* msg) { + const pg_query_FieldSelect* default_val = NULL; + const pg_query_FieldSelect* ret; + const upb_MiniTableField field = {23, UPB_SIZE(12, 16), -9, UPB_SIZE(769, 792), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FieldSelect_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_field_select(const pg_query_Node* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(12, 16), -9, UPB_SIZE(769, 792), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_field_store(pg_query_Node* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(12, 16), -9, UPB_SIZE(767, 791), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_FieldStore* pg_query_Node_field_store(const pg_query_Node* msg) { + const pg_query_FieldStore* default_val = NULL; + const pg_query_FieldStore* ret; + const upb_MiniTableField field = {24, UPB_SIZE(12, 16), -9, UPB_SIZE(767, 791), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FieldStore_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_field_store(const pg_query_Node* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(12, 16), -9, UPB_SIZE(767, 791), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_relabel_type(pg_query_Node* msg) { + const upb_MiniTableField field = {25, UPB_SIZE(12, 16), -9, UPB_SIZE(765, 790), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RelabelType* pg_query_Node_relabel_type(const pg_query_Node* msg) { + const pg_query_RelabelType* default_val = NULL; + const pg_query_RelabelType* ret; + const upb_MiniTableField field = {25, UPB_SIZE(12, 16), -9, UPB_SIZE(765, 790), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RelabelType_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_relabel_type(const pg_query_Node* msg) { + const upb_MiniTableField field = {25, UPB_SIZE(12, 16), -9, UPB_SIZE(765, 790), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_coerce_via_io(pg_query_Node* msg) { + const upb_MiniTableField field = {26, UPB_SIZE(12, 16), -9, UPB_SIZE(763, 789), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CoerceViaIO* pg_query_Node_coerce_via_io(const pg_query_Node* msg) { + const pg_query_CoerceViaIO* default_val = NULL; + const pg_query_CoerceViaIO* ret; + const upb_MiniTableField field = {26, UPB_SIZE(12, 16), -9, UPB_SIZE(763, 789), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CoerceViaIO_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_coerce_via_io(const pg_query_Node* msg) { + const upb_MiniTableField field = {26, UPB_SIZE(12, 16), -9, UPB_SIZE(763, 789), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_array_coerce_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {27, UPB_SIZE(12, 16), -9, UPB_SIZE(761, 788), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ArrayCoerceExpr* pg_query_Node_array_coerce_expr(const pg_query_Node* msg) { + const pg_query_ArrayCoerceExpr* default_val = NULL; + const pg_query_ArrayCoerceExpr* ret; + const upb_MiniTableField field = {27, UPB_SIZE(12, 16), -9, UPB_SIZE(761, 788), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ArrayCoerceExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_array_coerce_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {27, UPB_SIZE(12, 16), -9, UPB_SIZE(761, 788), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_convert_rowtype_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {28, UPB_SIZE(12, 16), -9, UPB_SIZE(759, 787), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ConvertRowtypeExpr* pg_query_Node_convert_rowtype_expr(const pg_query_Node* msg) { + const pg_query_ConvertRowtypeExpr* default_val = NULL; + const pg_query_ConvertRowtypeExpr* ret; + const upb_MiniTableField field = {28, UPB_SIZE(12, 16), -9, UPB_SIZE(759, 787), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ConvertRowtypeExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_convert_rowtype_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {28, UPB_SIZE(12, 16), -9, UPB_SIZE(759, 787), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_collate_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {29, UPB_SIZE(12, 16), -9, UPB_SIZE(757, 786), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CollateExpr* pg_query_Node_collate_expr(const pg_query_Node* msg) { + const pg_query_CollateExpr* default_val = NULL; + const pg_query_CollateExpr* ret; + const upb_MiniTableField field = {29, UPB_SIZE(12, 16), -9, UPB_SIZE(757, 786), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CollateExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_collate_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {29, UPB_SIZE(12, 16), -9, UPB_SIZE(757, 786), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_case_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {30, UPB_SIZE(12, 16), -9, UPB_SIZE(755, 785), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CaseExpr* pg_query_Node_case_expr(const pg_query_Node* msg) { + const pg_query_CaseExpr* default_val = NULL; + const pg_query_CaseExpr* ret; + const upb_MiniTableField field = {30, UPB_SIZE(12, 16), -9, UPB_SIZE(755, 785), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CaseExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_case_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {30, UPB_SIZE(12, 16), -9, UPB_SIZE(755, 785), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_case_when(pg_query_Node* msg) { + const upb_MiniTableField field = {31, UPB_SIZE(12, 16), -9, UPB_SIZE(753, 784), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CaseWhen* pg_query_Node_case_when(const pg_query_Node* msg) { + const pg_query_CaseWhen* default_val = NULL; + const pg_query_CaseWhen* ret; + const upb_MiniTableField field = {31, UPB_SIZE(12, 16), -9, UPB_SIZE(753, 784), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CaseWhen_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_case_when(const pg_query_Node* msg) { + const upb_MiniTableField field = {31, UPB_SIZE(12, 16), -9, UPB_SIZE(753, 784), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_case_test_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {32, UPB_SIZE(12, 16), -9, UPB_SIZE(751, 783), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CaseTestExpr* pg_query_Node_case_test_expr(const pg_query_Node* msg) { + const pg_query_CaseTestExpr* default_val = NULL; + const pg_query_CaseTestExpr* ret; + const upb_MiniTableField field = {32, UPB_SIZE(12, 16), -9, UPB_SIZE(751, 783), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CaseTestExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_case_test_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {32, UPB_SIZE(12, 16), -9, UPB_SIZE(751, 783), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_array_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {33, UPB_SIZE(12, 16), -9, UPB_SIZE(749, 782), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ArrayExpr* pg_query_Node_array_expr(const pg_query_Node* msg) { + const pg_query_ArrayExpr* default_val = NULL; + const pg_query_ArrayExpr* ret; + const upb_MiniTableField field = {33, UPB_SIZE(12, 16), -9, UPB_SIZE(749, 782), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ArrayExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_array_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {33, UPB_SIZE(12, 16), -9, UPB_SIZE(749, 782), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_row_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {34, UPB_SIZE(12, 16), -9, UPB_SIZE(747, 781), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RowExpr* pg_query_Node_row_expr(const pg_query_Node* msg) { + const pg_query_RowExpr* default_val = NULL; + const pg_query_RowExpr* ret; + const upb_MiniTableField field = {34, UPB_SIZE(12, 16), -9, UPB_SIZE(747, 781), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RowExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_row_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {34, UPB_SIZE(12, 16), -9, UPB_SIZE(747, 781), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_row_compare_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {35, UPB_SIZE(12, 16), -9, UPB_SIZE(745, 780), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RowCompareExpr* pg_query_Node_row_compare_expr(const pg_query_Node* msg) { + const pg_query_RowCompareExpr* default_val = NULL; + const pg_query_RowCompareExpr* ret; + const upb_MiniTableField field = {35, UPB_SIZE(12, 16), -9, UPB_SIZE(745, 780), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RowCompareExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_row_compare_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {35, UPB_SIZE(12, 16), -9, UPB_SIZE(745, 780), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_coalesce_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {36, UPB_SIZE(12, 16), -9, UPB_SIZE(743, 779), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CoalesceExpr* pg_query_Node_coalesce_expr(const pg_query_Node* msg) { + const pg_query_CoalesceExpr* default_val = NULL; + const pg_query_CoalesceExpr* ret; + const upb_MiniTableField field = {36, UPB_SIZE(12, 16), -9, UPB_SIZE(743, 779), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CoalesceExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_coalesce_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {36, UPB_SIZE(12, 16), -9, UPB_SIZE(743, 779), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_min_max_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {37, UPB_SIZE(12, 16), -9, UPB_SIZE(741, 778), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_MinMaxExpr* pg_query_Node_min_max_expr(const pg_query_Node* msg) { + const pg_query_MinMaxExpr* default_val = NULL; + const pg_query_MinMaxExpr* ret; + const upb_MiniTableField field = {37, UPB_SIZE(12, 16), -9, UPB_SIZE(741, 778), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MinMaxExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_min_max_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {37, UPB_SIZE(12, 16), -9, UPB_SIZE(741, 778), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_sqlvalue_function(pg_query_Node* msg) { + const upb_MiniTableField field = {38, UPB_SIZE(12, 16), -9, UPB_SIZE(739, 777), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SQLValueFunction* pg_query_Node_sqlvalue_function(const pg_query_Node* msg) { + const pg_query_SQLValueFunction* default_val = NULL; + const pg_query_SQLValueFunction* ret; + const upb_MiniTableField field = {38, UPB_SIZE(12, 16), -9, UPB_SIZE(739, 777), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SQLValueFunction_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_sqlvalue_function(const pg_query_Node* msg) { + const upb_MiniTableField field = {38, UPB_SIZE(12, 16), -9, UPB_SIZE(739, 777), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_xml_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {39, UPB_SIZE(12, 16), -9, UPB_SIZE(737, 776), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_XmlExpr* pg_query_Node_xml_expr(const pg_query_Node* msg) { + const pg_query_XmlExpr* default_val = NULL; + const pg_query_XmlExpr* ret; + const upb_MiniTableField field = {39, UPB_SIZE(12, 16), -9, UPB_SIZE(737, 776), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__XmlExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_xml_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {39, UPB_SIZE(12, 16), -9, UPB_SIZE(737, 776), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_format(pg_query_Node* msg) { + const upb_MiniTableField field = {40, UPB_SIZE(12, 16), -9, UPB_SIZE(735, 775), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonFormat* pg_query_Node_json_format(const pg_query_Node* msg) { + const pg_query_JsonFormat* default_val = NULL; + const pg_query_JsonFormat* ret; + const upb_MiniTableField field = {40, UPB_SIZE(12, 16), -9, UPB_SIZE(735, 775), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_format(const pg_query_Node* msg) { + const upb_MiniTableField field = {40, UPB_SIZE(12, 16), -9, UPB_SIZE(735, 775), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_returning(pg_query_Node* msg) { + const upb_MiniTableField field = {41, UPB_SIZE(12, 16), -9, UPB_SIZE(733, 774), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonReturning* pg_query_Node_json_returning(const pg_query_Node* msg) { + const pg_query_JsonReturning* default_val = NULL; + const pg_query_JsonReturning* ret; + const upb_MiniTableField field = {41, UPB_SIZE(12, 16), -9, UPB_SIZE(733, 774), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonReturning_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_returning(const pg_query_Node* msg) { + const upb_MiniTableField field = {41, UPB_SIZE(12, 16), -9, UPB_SIZE(733, 774), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_value_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {42, UPB_SIZE(12, 16), -9, UPB_SIZE(731, 773), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonValueExpr* pg_query_Node_json_value_expr(const pg_query_Node* msg) { + const pg_query_JsonValueExpr* default_val = NULL; + const pg_query_JsonValueExpr* ret; + const upb_MiniTableField field = {42, UPB_SIZE(12, 16), -9, UPB_SIZE(731, 773), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_value_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {42, UPB_SIZE(12, 16), -9, UPB_SIZE(731, 773), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_constructor_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {43, UPB_SIZE(12, 16), -9, UPB_SIZE(729, 772), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonConstructorExpr* pg_query_Node_json_constructor_expr(const pg_query_Node* msg) { + const pg_query_JsonConstructorExpr* default_val = NULL; + const pg_query_JsonConstructorExpr* ret; + const upb_MiniTableField field = {43, UPB_SIZE(12, 16), -9, UPB_SIZE(729, 772), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonConstructorExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_constructor_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {43, UPB_SIZE(12, 16), -9, UPB_SIZE(729, 772), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_is_predicate(pg_query_Node* msg) { + const upb_MiniTableField field = {44, UPB_SIZE(12, 16), -9, UPB_SIZE(727, 771), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonIsPredicate* pg_query_Node_json_is_predicate(const pg_query_Node* msg) { + const pg_query_JsonIsPredicate* default_val = NULL; + const pg_query_JsonIsPredicate* ret; + const upb_MiniTableField field = {44, UPB_SIZE(12, 16), -9, UPB_SIZE(727, 771), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonIsPredicate_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_is_predicate(const pg_query_Node* msg) { + const upb_MiniTableField field = {44, UPB_SIZE(12, 16), -9, UPB_SIZE(727, 771), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_behavior(pg_query_Node* msg) { + const upb_MiniTableField field = {45, UPB_SIZE(12, 16), -9, UPB_SIZE(725, 770), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonBehavior* pg_query_Node_json_behavior(const pg_query_Node* msg) { + const pg_query_JsonBehavior* default_val = NULL; + const pg_query_JsonBehavior* ret; + const upb_MiniTableField field = {45, UPB_SIZE(12, 16), -9, UPB_SIZE(725, 770), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_behavior(const pg_query_Node* msg) { + const upb_MiniTableField field = {45, UPB_SIZE(12, 16), -9, UPB_SIZE(725, 770), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {46, UPB_SIZE(12, 16), -9, UPB_SIZE(723, 769), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonExpr* pg_query_Node_json_expr(const pg_query_Node* msg) { + const pg_query_JsonExpr* default_val = NULL; + const pg_query_JsonExpr* ret; + const upb_MiniTableField field = {46, UPB_SIZE(12, 16), -9, UPB_SIZE(723, 769), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {46, UPB_SIZE(12, 16), -9, UPB_SIZE(723, 769), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_table_path(pg_query_Node* msg) { + const upb_MiniTableField field = {47, UPB_SIZE(12, 16), -9, UPB_SIZE(721, 768), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonTablePath* pg_query_Node_json_table_path(const pg_query_Node* msg) { + const pg_query_JsonTablePath* default_val = NULL; + const pg_query_JsonTablePath* ret; + const upb_MiniTableField field = {47, UPB_SIZE(12, 16), -9, UPB_SIZE(721, 768), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePath_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_table_path(const pg_query_Node* msg) { + const upb_MiniTableField field = {47, UPB_SIZE(12, 16), -9, UPB_SIZE(721, 768), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_table_path_scan(pg_query_Node* msg) { + const upb_MiniTableField field = {48, UPB_SIZE(12, 16), -9, UPB_SIZE(719, 767), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonTablePathScan* pg_query_Node_json_table_path_scan(const pg_query_Node* msg) { + const pg_query_JsonTablePathScan* default_val = NULL; + const pg_query_JsonTablePathScan* ret; + const upb_MiniTableField field = {48, UPB_SIZE(12, 16), -9, UPB_SIZE(719, 767), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePathScan_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_table_path_scan(const pg_query_Node* msg) { + const upb_MiniTableField field = {48, UPB_SIZE(12, 16), -9, UPB_SIZE(719, 767), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_table_sibling_join(pg_query_Node* msg) { + const upb_MiniTableField field = {49, UPB_SIZE(12, 16), -9, UPB_SIZE(717, 766), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonTableSiblingJoin* pg_query_Node_json_table_sibling_join(const pg_query_Node* msg) { + const pg_query_JsonTableSiblingJoin* default_val = NULL; + const pg_query_JsonTableSiblingJoin* ret; + const upb_MiniTableField field = {49, UPB_SIZE(12, 16), -9, UPB_SIZE(717, 766), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTableSiblingJoin_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_table_sibling_join(const pg_query_Node* msg) { + const upb_MiniTableField field = {49, UPB_SIZE(12, 16), -9, UPB_SIZE(717, 766), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_null_test(pg_query_Node* msg) { + const upb_MiniTableField field = {50, UPB_SIZE(12, 16), -9, UPB_SIZE(715, 765), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_NullTest* pg_query_Node_null_test(const pg_query_Node* msg) { + const pg_query_NullTest* default_val = NULL; + const pg_query_NullTest* ret; + const upb_MiniTableField field = {50, UPB_SIZE(12, 16), -9, UPB_SIZE(715, 765), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__NullTest_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_null_test(const pg_query_Node* msg) { + const upb_MiniTableField field = {50, UPB_SIZE(12, 16), -9, UPB_SIZE(715, 765), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_boolean_test(pg_query_Node* msg) { + const upb_MiniTableField field = {51, UPB_SIZE(12, 16), -9, UPB_SIZE(713, 764), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_BooleanTest* pg_query_Node_boolean_test(const pg_query_Node* msg) { + const pg_query_BooleanTest* default_val = NULL; + const pg_query_BooleanTest* ret; + const upb_MiniTableField field = {51, UPB_SIZE(12, 16), -9, UPB_SIZE(713, 764), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__BooleanTest_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_boolean_test(const pg_query_Node* msg) { + const upb_MiniTableField field = {51, UPB_SIZE(12, 16), -9, UPB_SIZE(713, 764), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_merge_action(pg_query_Node* msg) { + const upb_MiniTableField field = {52, UPB_SIZE(12, 16), -9, UPB_SIZE(711, 763), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_MergeAction* pg_query_Node_merge_action(const pg_query_Node* msg) { + const pg_query_MergeAction* default_val = NULL; + const pg_query_MergeAction* ret; + const upb_MiniTableField field = {52, UPB_SIZE(12, 16), -9, UPB_SIZE(711, 763), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MergeAction_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_merge_action(const pg_query_Node* msg) { + const upb_MiniTableField field = {52, UPB_SIZE(12, 16), -9, UPB_SIZE(711, 763), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_coerce_to_domain(pg_query_Node* msg) { + const upb_MiniTableField field = {53, UPB_SIZE(12, 16), -9, UPB_SIZE(709, 762), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CoerceToDomain* pg_query_Node_coerce_to_domain(const pg_query_Node* msg) { + const pg_query_CoerceToDomain* default_val = NULL; + const pg_query_CoerceToDomain* ret; + const upb_MiniTableField field = {53, UPB_SIZE(12, 16), -9, UPB_SIZE(709, 762), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CoerceToDomain_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_coerce_to_domain(const pg_query_Node* msg) { + const upb_MiniTableField field = {53, UPB_SIZE(12, 16), -9, UPB_SIZE(709, 762), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_coerce_to_domain_value(pg_query_Node* msg) { + const upb_MiniTableField field = {54, UPB_SIZE(12, 16), -9, UPB_SIZE(707, 761), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CoerceToDomainValue* pg_query_Node_coerce_to_domain_value(const pg_query_Node* msg) { + const pg_query_CoerceToDomainValue* default_val = NULL; + const pg_query_CoerceToDomainValue* ret; + const upb_MiniTableField field = {54, UPB_SIZE(12, 16), -9, UPB_SIZE(707, 761), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CoerceToDomainValue_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_coerce_to_domain_value(const pg_query_Node* msg) { + const upb_MiniTableField field = {54, UPB_SIZE(12, 16), -9, UPB_SIZE(707, 761), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_set_to_default(pg_query_Node* msg) { + const upb_MiniTableField field = {55, UPB_SIZE(12, 16), -9, UPB_SIZE(705, 760), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SetToDefault* pg_query_Node_set_to_default(const pg_query_Node* msg) { + const pg_query_SetToDefault* default_val = NULL; + const pg_query_SetToDefault* ret; + const upb_MiniTableField field = {55, UPB_SIZE(12, 16), -9, UPB_SIZE(705, 760), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SetToDefault_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_set_to_default(const pg_query_Node* msg) { + const upb_MiniTableField field = {55, UPB_SIZE(12, 16), -9, UPB_SIZE(705, 760), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_current_of_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {56, UPB_SIZE(12, 16), -9, UPB_SIZE(703, 759), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CurrentOfExpr* pg_query_Node_current_of_expr(const pg_query_Node* msg) { + const pg_query_CurrentOfExpr* default_val = NULL; + const pg_query_CurrentOfExpr* ret; + const upb_MiniTableField field = {56, UPB_SIZE(12, 16), -9, UPB_SIZE(703, 759), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CurrentOfExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_current_of_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {56, UPB_SIZE(12, 16), -9, UPB_SIZE(703, 759), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_next_value_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {57, UPB_SIZE(12, 16), -9, UPB_SIZE(701, 758), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_NextValueExpr* pg_query_Node_next_value_expr(const pg_query_Node* msg) { + const pg_query_NextValueExpr* default_val = NULL; + const pg_query_NextValueExpr* ret; + const upb_MiniTableField field = {57, UPB_SIZE(12, 16), -9, UPB_SIZE(701, 758), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__NextValueExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_next_value_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {57, UPB_SIZE(12, 16), -9, UPB_SIZE(701, 758), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_inference_elem(pg_query_Node* msg) { + const upb_MiniTableField field = {58, UPB_SIZE(12, 16), -9, UPB_SIZE(699, 757), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_InferenceElem* pg_query_Node_inference_elem(const pg_query_Node* msg) { + const pg_query_InferenceElem* default_val = NULL; + const pg_query_InferenceElem* ret; + const upb_MiniTableField field = {58, UPB_SIZE(12, 16), -9, UPB_SIZE(699, 757), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__InferenceElem_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_inference_elem(const pg_query_Node* msg) { + const upb_MiniTableField field = {58, UPB_SIZE(12, 16), -9, UPB_SIZE(699, 757), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_returning_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {59, UPB_SIZE(12, 16), -9, UPB_SIZE(697, 756), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReturningExpr* pg_query_Node_returning_expr(const pg_query_Node* msg) { + const pg_query_ReturningExpr* default_val = NULL; + const pg_query_ReturningExpr* ret; + const upb_MiniTableField field = {59, UPB_SIZE(12, 16), -9, UPB_SIZE(697, 756), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_returning_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {59, UPB_SIZE(12, 16), -9, UPB_SIZE(697, 756), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_target_entry(pg_query_Node* msg) { + const upb_MiniTableField field = {60, UPB_SIZE(12, 16), -9, UPB_SIZE(695, 755), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TargetEntry* pg_query_Node_target_entry(const pg_query_Node* msg) { + const pg_query_TargetEntry* default_val = NULL; + const pg_query_TargetEntry* ret; + const upb_MiniTableField field = {60, UPB_SIZE(12, 16), -9, UPB_SIZE(695, 755), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TargetEntry_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_target_entry(const pg_query_Node* msg) { + const upb_MiniTableField field = {60, UPB_SIZE(12, 16), -9, UPB_SIZE(695, 755), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_range_tbl_ref(pg_query_Node* msg) { + const upb_MiniTableField field = {61, UPB_SIZE(12, 16), -9, UPB_SIZE(693, 754), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeTblRef* pg_query_Node_range_tbl_ref(const pg_query_Node* msg) { + const pg_query_RangeTblRef* default_val = NULL; + const pg_query_RangeTblRef* ret; + const upb_MiniTableField field = {61, UPB_SIZE(12, 16), -9, UPB_SIZE(693, 754), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTblRef_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_range_tbl_ref(const pg_query_Node* msg) { + const upb_MiniTableField field = {61, UPB_SIZE(12, 16), -9, UPB_SIZE(693, 754), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_join_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {62, UPB_SIZE(12, 16), -9, UPB_SIZE(691, 753), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JoinExpr* pg_query_Node_join_expr(const pg_query_Node* msg) { + const pg_query_JoinExpr* default_val = NULL; + const pg_query_JoinExpr* ret; + const upb_MiniTableField field = {62, UPB_SIZE(12, 16), -9, UPB_SIZE(691, 753), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JoinExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_join_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {62, UPB_SIZE(12, 16), -9, UPB_SIZE(691, 753), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_from_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {63, UPB_SIZE(12, 16), -9, UPB_SIZE(689, 752), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_FromExpr* pg_query_Node_from_expr(const pg_query_Node* msg) { + const pg_query_FromExpr* default_val = NULL; + const pg_query_FromExpr* ret; + const upb_MiniTableField field = {63, UPB_SIZE(12, 16), -9, UPB_SIZE(689, 752), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FromExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_from_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {63, UPB_SIZE(12, 16), -9, UPB_SIZE(689, 752), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_on_conflict_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {64, UPB_SIZE(12, 16), -9, UPB_SIZE(687, 751), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_OnConflictExpr* pg_query_Node_on_conflict_expr(const pg_query_Node* msg) { + const pg_query_OnConflictExpr* default_val = NULL; + const pg_query_OnConflictExpr* ret; + const upb_MiniTableField field = {64, UPB_SIZE(12, 16), -9, UPB_SIZE(687, 751), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OnConflictExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_on_conflict_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {64, UPB_SIZE(12, 16), -9, UPB_SIZE(687, 751), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_query(pg_query_Node* msg) { + const upb_MiniTableField field = {65, UPB_SIZE(12, 16), -9, UPB_SIZE(685, 750), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Query* pg_query_Node_query(const pg_query_Node* msg) { + const pg_query_Query* default_val = NULL; + const pg_query_Query* ret; + const upb_MiniTableField field = {65, UPB_SIZE(12, 16), -9, UPB_SIZE(685, 750), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Query_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_query(const pg_query_Node* msg) { + const upb_MiniTableField field = {65, UPB_SIZE(12, 16), -9, UPB_SIZE(685, 750), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_type_name(pg_query_Node* msg) { + const upb_MiniTableField field = {66, UPB_SIZE(12, 16), -9, UPB_SIZE(683, 749), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_Node_type_name(const pg_query_Node* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {66, UPB_SIZE(12, 16), -9, UPB_SIZE(683, 749), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_type_name(const pg_query_Node* msg) { + const upb_MiniTableField field = {66, UPB_SIZE(12, 16), -9, UPB_SIZE(683, 749), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_column_ref(pg_query_Node* msg) { + const upb_MiniTableField field = {67, UPB_SIZE(12, 16), -9, UPB_SIZE(681, 748), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ColumnRef* pg_query_Node_column_ref(const pg_query_Node* msg) { + const pg_query_ColumnRef* default_val = NULL; + const pg_query_ColumnRef* ret; + const upb_MiniTableField field = {67, UPB_SIZE(12, 16), -9, UPB_SIZE(681, 748), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ColumnRef_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_column_ref(const pg_query_Node* msg) { + const upb_MiniTableField field = {67, UPB_SIZE(12, 16), -9, UPB_SIZE(681, 748), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_param_ref(pg_query_Node* msg) { + const upb_MiniTableField field = {68, UPB_SIZE(12, 16), -9, UPB_SIZE(679, 747), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ParamRef* pg_query_Node_param_ref(const pg_query_Node* msg) { + const pg_query_ParamRef* default_val = NULL; + const pg_query_ParamRef* ret; + const upb_MiniTableField field = {68, UPB_SIZE(12, 16), -9, UPB_SIZE(679, 747), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ParamRef_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_param_ref(const pg_query_Node* msg) { + const upb_MiniTableField field = {68, UPB_SIZE(12, 16), -9, UPB_SIZE(679, 747), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_a_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {69, UPB_SIZE(12, 16), -9, UPB_SIZE(677, 746), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_A_Expr* pg_query_Node_a_expr(const pg_query_Node* msg) { + const pg_query_A_Expr* default_val = NULL; + const pg_query_A_Expr* ret; + const upb_MiniTableField field = {69, UPB_SIZE(12, 16), -9, UPB_SIZE(677, 746), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0Expr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_a_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {69, UPB_SIZE(12, 16), -9, UPB_SIZE(677, 746), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_type_cast(pg_query_Node* msg) { + const upb_MiniTableField field = {70, UPB_SIZE(12, 16), -9, UPB_SIZE(675, 745), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeCast* pg_query_Node_type_cast(const pg_query_Node* msg) { + const pg_query_TypeCast* default_val = NULL; + const pg_query_TypeCast* ret; + const upb_MiniTableField field = {70, UPB_SIZE(12, 16), -9, UPB_SIZE(675, 745), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeCast_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_type_cast(const pg_query_Node* msg) { + const upb_MiniTableField field = {70, UPB_SIZE(12, 16), -9, UPB_SIZE(675, 745), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_collate_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {71, UPB_SIZE(12, 16), -9, UPB_SIZE(673, 744), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CollateClause* pg_query_Node_collate_clause(const pg_query_Node* msg) { + const pg_query_CollateClause* default_val = NULL; + const pg_query_CollateClause* ret; + const upb_MiniTableField field = {71, UPB_SIZE(12, 16), -9, UPB_SIZE(673, 744), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CollateClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_collate_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {71, UPB_SIZE(12, 16), -9, UPB_SIZE(673, 744), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_role_spec(pg_query_Node* msg) { + const upb_MiniTableField field = {72, UPB_SIZE(12, 16), -9, UPB_SIZE(671, 743), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_Node_role_spec(const pg_query_Node* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {72, UPB_SIZE(12, 16), -9, UPB_SIZE(671, 743), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_role_spec(const pg_query_Node* msg) { + const upb_MiniTableField field = {72, UPB_SIZE(12, 16), -9, UPB_SIZE(671, 743), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_func_call(pg_query_Node* msg) { + const upb_MiniTableField field = {73, UPB_SIZE(12, 16), -9, UPB_SIZE(669, 742), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_FuncCall* pg_query_Node_func_call(const pg_query_Node* msg) { + const pg_query_FuncCall* default_val = NULL; + const pg_query_FuncCall* ret; + const upb_MiniTableField field = {73, UPB_SIZE(12, 16), -9, UPB_SIZE(669, 742), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FuncCall_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_func_call(const pg_query_Node* msg) { + const upb_MiniTableField field = {73, UPB_SIZE(12, 16), -9, UPB_SIZE(669, 742), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_a_star(pg_query_Node* msg) { + const upb_MiniTableField field = {74, UPB_SIZE(12, 16), -9, UPB_SIZE(667, 741), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_A_Star* pg_query_Node_a_star(const pg_query_Node* msg) { + const pg_query_A_Star* default_val = NULL; + const pg_query_A_Star* ret; + const upb_MiniTableField field = {74, UPB_SIZE(12, 16), -9, UPB_SIZE(667, 741), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0Star_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_a_star(const pg_query_Node* msg) { + const upb_MiniTableField field = {74, UPB_SIZE(12, 16), -9, UPB_SIZE(667, 741), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_a_indices(pg_query_Node* msg) { + const upb_MiniTableField field = {75, UPB_SIZE(12, 16), -9, UPB_SIZE(665, 740), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_A_Indices* pg_query_Node_a_indices(const pg_query_Node* msg) { + const pg_query_A_Indices* default_val = NULL; + const pg_query_A_Indices* ret; + const upb_MiniTableField field = {75, UPB_SIZE(12, 16), -9, UPB_SIZE(665, 740), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0Indices_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_a_indices(const pg_query_Node* msg) { + const upb_MiniTableField field = {75, UPB_SIZE(12, 16), -9, UPB_SIZE(665, 740), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_a_indirection(pg_query_Node* msg) { + const upb_MiniTableField field = {76, UPB_SIZE(12, 16), -9, UPB_SIZE(663, 739), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_A_Indirection* pg_query_Node_a_indirection(const pg_query_Node* msg) { + const pg_query_A_Indirection* default_val = NULL; + const pg_query_A_Indirection* ret; + const upb_MiniTableField field = {76, UPB_SIZE(12, 16), -9, UPB_SIZE(663, 739), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0Indirection_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_a_indirection(const pg_query_Node* msg) { + const upb_MiniTableField field = {76, UPB_SIZE(12, 16), -9, UPB_SIZE(663, 739), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_a_array_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {77, UPB_SIZE(12, 16), -9, UPB_SIZE(661, 738), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_A_ArrayExpr* pg_query_Node_a_array_expr(const pg_query_Node* msg) { + const pg_query_A_ArrayExpr* default_val = NULL; + const pg_query_A_ArrayExpr* ret; + const upb_MiniTableField field = {77, UPB_SIZE(12, 16), -9, UPB_SIZE(661, 738), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0ArrayExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_a_array_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {77, UPB_SIZE(12, 16), -9, UPB_SIZE(661, 738), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_res_target(pg_query_Node* msg) { + const upb_MiniTableField field = {78, UPB_SIZE(12, 16), -9, UPB_SIZE(659, 737), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ResTarget* pg_query_Node_res_target(const pg_query_Node* msg) { + const pg_query_ResTarget* default_val = NULL; + const pg_query_ResTarget* ret; + const upb_MiniTableField field = {78, UPB_SIZE(12, 16), -9, UPB_SIZE(659, 737), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ResTarget_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_res_target(const pg_query_Node* msg) { + const upb_MiniTableField field = {78, UPB_SIZE(12, 16), -9, UPB_SIZE(659, 737), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_multi_assign_ref(pg_query_Node* msg) { + const upb_MiniTableField field = {79, UPB_SIZE(12, 16), -9, UPB_SIZE(657, 736), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_MultiAssignRef* pg_query_Node_multi_assign_ref(const pg_query_Node* msg) { + const pg_query_MultiAssignRef* default_val = NULL; + const pg_query_MultiAssignRef* ret; + const upb_MiniTableField field = {79, UPB_SIZE(12, 16), -9, UPB_SIZE(657, 736), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MultiAssignRef_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_multi_assign_ref(const pg_query_Node* msg) { + const upb_MiniTableField field = {79, UPB_SIZE(12, 16), -9, UPB_SIZE(657, 736), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_sort_by(pg_query_Node* msg) { + const upb_MiniTableField field = {80, UPB_SIZE(12, 16), -9, UPB_SIZE(655, 735), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SortBy* pg_query_Node_sort_by(const pg_query_Node* msg) { + const pg_query_SortBy* default_val = NULL; + const pg_query_SortBy* ret; + const upb_MiniTableField field = {80, UPB_SIZE(12, 16), -9, UPB_SIZE(655, 735), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SortBy_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_sort_by(const pg_query_Node* msg) { + const upb_MiniTableField field = {80, UPB_SIZE(12, 16), -9, UPB_SIZE(655, 735), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_window_def(pg_query_Node* msg) { + const upb_MiniTableField field = {81, UPB_SIZE(12, 16), -9, UPB_SIZE(653, 734), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WindowDef* pg_query_Node_window_def(const pg_query_Node* msg) { + const pg_query_WindowDef* default_val = NULL; + const pg_query_WindowDef* ret; + const upb_MiniTableField field = {81, UPB_SIZE(12, 16), -9, UPB_SIZE(653, 734), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowDef_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_window_def(const pg_query_Node* msg) { + const upb_MiniTableField field = {81, UPB_SIZE(12, 16), -9, UPB_SIZE(653, 734), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_range_subselect(pg_query_Node* msg) { + const upb_MiniTableField field = {82, UPB_SIZE(12, 16), -9, UPB_SIZE(651, 733), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeSubselect* pg_query_Node_range_subselect(const pg_query_Node* msg) { + const pg_query_RangeSubselect* default_val = NULL; + const pg_query_RangeSubselect* ret; + const upb_MiniTableField field = {82, UPB_SIZE(12, 16), -9, UPB_SIZE(651, 733), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeSubselect_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_range_subselect(const pg_query_Node* msg) { + const upb_MiniTableField field = {82, UPB_SIZE(12, 16), -9, UPB_SIZE(651, 733), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_range_function(pg_query_Node* msg) { + const upb_MiniTableField field = {83, UPB_SIZE(12, 16), -9, UPB_SIZE(649, 732), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeFunction* pg_query_Node_range_function(const pg_query_Node* msg) { + const pg_query_RangeFunction* default_val = NULL; + const pg_query_RangeFunction* ret; + const upb_MiniTableField field = {83, UPB_SIZE(12, 16), -9, UPB_SIZE(649, 732), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeFunction_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_range_function(const pg_query_Node* msg) { + const upb_MiniTableField field = {83, UPB_SIZE(12, 16), -9, UPB_SIZE(649, 732), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_range_table_func(pg_query_Node* msg) { + const upb_MiniTableField field = {84, UPB_SIZE(12, 16), -9, UPB_SIZE(647, 731), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeTableFunc* pg_query_Node_range_table_func(const pg_query_Node* msg) { + const pg_query_RangeTableFunc* default_val = NULL; + const pg_query_RangeTableFunc* ret; + const upb_MiniTableField field = {84, UPB_SIZE(12, 16), -9, UPB_SIZE(647, 731), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTableFunc_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_range_table_func(const pg_query_Node* msg) { + const upb_MiniTableField field = {84, UPB_SIZE(12, 16), -9, UPB_SIZE(647, 731), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_range_table_func_col(pg_query_Node* msg) { + const upb_MiniTableField field = {85, UPB_SIZE(12, 16), -9, UPB_SIZE(645, 730), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeTableFuncCol* pg_query_Node_range_table_func_col(const pg_query_Node* msg) { + const pg_query_RangeTableFuncCol* default_val = NULL; + const pg_query_RangeTableFuncCol* ret; + const upb_MiniTableField field = {85, UPB_SIZE(12, 16), -9, UPB_SIZE(645, 730), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTableFuncCol_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_range_table_func_col(const pg_query_Node* msg) { + const upb_MiniTableField field = {85, UPB_SIZE(12, 16), -9, UPB_SIZE(645, 730), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_range_table_sample(pg_query_Node* msg) { + const upb_MiniTableField field = {86, UPB_SIZE(12, 16), -9, UPB_SIZE(643, 729), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeTableSample* pg_query_Node_range_table_sample(const pg_query_Node* msg) { + const pg_query_RangeTableSample* default_val = NULL; + const pg_query_RangeTableSample* ret; + const upb_MiniTableField field = {86, UPB_SIZE(12, 16), -9, UPB_SIZE(643, 729), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTableSample_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_range_table_sample(const pg_query_Node* msg) { + const upb_MiniTableField field = {86, UPB_SIZE(12, 16), -9, UPB_SIZE(643, 729), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_column_def(pg_query_Node* msg) { + const upb_MiniTableField field = {87, UPB_SIZE(12, 16), -9, UPB_SIZE(641, 728), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ColumnDef* pg_query_Node_column_def(const pg_query_Node* msg) { + const pg_query_ColumnDef* default_val = NULL; + const pg_query_ColumnDef* ret; + const upb_MiniTableField field = {87, UPB_SIZE(12, 16), -9, UPB_SIZE(641, 728), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ColumnDef_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_column_def(const pg_query_Node* msg) { + const upb_MiniTableField field = {87, UPB_SIZE(12, 16), -9, UPB_SIZE(641, 728), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_table_like_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {88, UPB_SIZE(12, 16), -9, UPB_SIZE(639, 727), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TableLikeClause* pg_query_Node_table_like_clause(const pg_query_Node* msg) { + const pg_query_TableLikeClause* default_val = NULL; + const pg_query_TableLikeClause* ret; + const upb_MiniTableField field = {88, UPB_SIZE(12, 16), -9, UPB_SIZE(639, 727), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TableLikeClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_table_like_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {88, UPB_SIZE(12, 16), -9, UPB_SIZE(639, 727), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_index_elem(pg_query_Node* msg) { + const upb_MiniTableField field = {89, UPB_SIZE(12, 16), -9, UPB_SIZE(637, 726), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_IndexElem* pg_query_Node_index_elem(const pg_query_Node* msg) { + const pg_query_IndexElem* default_val = NULL; + const pg_query_IndexElem* ret; + const upb_MiniTableField field = {89, UPB_SIZE(12, 16), -9, UPB_SIZE(637, 726), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IndexElem_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_index_elem(const pg_query_Node* msg) { + const upb_MiniTableField field = {89, UPB_SIZE(12, 16), -9, UPB_SIZE(637, 726), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_def_elem(pg_query_Node* msg) { + const upb_MiniTableField field = {90, UPB_SIZE(12, 16), -9, UPB_SIZE(635, 725), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DefElem* pg_query_Node_def_elem(const pg_query_Node* msg) { + const pg_query_DefElem* default_val = NULL; + const pg_query_DefElem* ret; + const upb_MiniTableField field = {90, UPB_SIZE(12, 16), -9, UPB_SIZE(635, 725), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DefElem_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_def_elem(const pg_query_Node* msg) { + const upb_MiniTableField field = {90, UPB_SIZE(12, 16), -9, UPB_SIZE(635, 725), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_locking_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {91, UPB_SIZE(12, 16), -9, UPB_SIZE(633, 724), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_LockingClause* pg_query_Node_locking_clause(const pg_query_Node* msg) { + const pg_query_LockingClause* default_val = NULL; + const pg_query_LockingClause* ret; + const upb_MiniTableField field = {91, UPB_SIZE(12, 16), -9, UPB_SIZE(633, 724), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__LockingClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_locking_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {91, UPB_SIZE(12, 16), -9, UPB_SIZE(633, 724), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_xml_serialize(pg_query_Node* msg) { + const upb_MiniTableField field = {92, UPB_SIZE(12, 16), -9, UPB_SIZE(631, 723), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_XmlSerialize* pg_query_Node_xml_serialize(const pg_query_Node* msg) { + const pg_query_XmlSerialize* default_val = NULL; + const pg_query_XmlSerialize* ret; + const upb_MiniTableField field = {92, UPB_SIZE(12, 16), -9, UPB_SIZE(631, 723), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__XmlSerialize_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_xml_serialize(const pg_query_Node* msg) { + const upb_MiniTableField field = {92, UPB_SIZE(12, 16), -9, UPB_SIZE(631, 723), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_partition_elem(pg_query_Node* msg) { + const upb_MiniTableField field = {93, UPB_SIZE(12, 16), -9, UPB_SIZE(629, 722), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PartitionElem* pg_query_Node_partition_elem(const pg_query_Node* msg) { + const pg_query_PartitionElem* default_val = NULL; + const pg_query_PartitionElem* ret; + const upb_MiniTableField field = {93, UPB_SIZE(12, 16), -9, UPB_SIZE(629, 722), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionElem_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_partition_elem(const pg_query_Node* msg) { + const upb_MiniTableField field = {93, UPB_SIZE(12, 16), -9, UPB_SIZE(629, 722), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_partition_spec(pg_query_Node* msg) { + const upb_MiniTableField field = {94, UPB_SIZE(12, 16), -9, UPB_SIZE(627, 721), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PartitionSpec* pg_query_Node_partition_spec(const pg_query_Node* msg) { + const pg_query_PartitionSpec* default_val = NULL; + const pg_query_PartitionSpec* ret; + const upb_MiniTableField field = {94, UPB_SIZE(12, 16), -9, UPB_SIZE(627, 721), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_partition_spec(const pg_query_Node* msg) { + const upb_MiniTableField field = {94, UPB_SIZE(12, 16), -9, UPB_SIZE(627, 721), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_partition_bound_spec(pg_query_Node* msg) { + const upb_MiniTableField field = {95, UPB_SIZE(12, 16), -9, UPB_SIZE(625, 720), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PartitionBoundSpec* pg_query_Node_partition_bound_spec(const pg_query_Node* msg) { + const pg_query_PartitionBoundSpec* default_val = NULL; + const pg_query_PartitionBoundSpec* ret; + const upb_MiniTableField field = {95, UPB_SIZE(12, 16), -9, UPB_SIZE(625, 720), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionBoundSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_partition_bound_spec(const pg_query_Node* msg) { + const upb_MiniTableField field = {95, UPB_SIZE(12, 16), -9, UPB_SIZE(625, 720), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_partition_range_datum(pg_query_Node* msg) { + const upb_MiniTableField field = {96, UPB_SIZE(12, 16), -9, UPB_SIZE(623, 719), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PartitionRangeDatum* pg_query_Node_partition_range_datum(const pg_query_Node* msg) { + const pg_query_PartitionRangeDatum* default_val = NULL; + const pg_query_PartitionRangeDatum* ret; + const upb_MiniTableField field = {96, UPB_SIZE(12, 16), -9, UPB_SIZE(623, 719), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionRangeDatum_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_partition_range_datum(const pg_query_Node* msg) { + const upb_MiniTableField field = {96, UPB_SIZE(12, 16), -9, UPB_SIZE(623, 719), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_partition_cmd(pg_query_Node* msg) { + const upb_MiniTableField field = {97, UPB_SIZE(12, 16), -9, UPB_SIZE(621, 718), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PartitionCmd* pg_query_Node_partition_cmd(const pg_query_Node* msg) { + const pg_query_PartitionCmd* default_val = NULL; + const pg_query_PartitionCmd* ret; + const upb_MiniTableField field = {97, UPB_SIZE(12, 16), -9, UPB_SIZE(621, 718), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionCmd_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_partition_cmd(const pg_query_Node* msg) { + const upb_MiniTableField field = {97, UPB_SIZE(12, 16), -9, UPB_SIZE(621, 718), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_range_tbl_entry(pg_query_Node* msg) { + const upb_MiniTableField field = {98, UPB_SIZE(12, 16), -9, UPB_SIZE(619, 717), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeTblEntry* pg_query_Node_range_tbl_entry(const pg_query_Node* msg) { + const pg_query_RangeTblEntry* default_val = NULL; + const pg_query_RangeTblEntry* ret; + const upb_MiniTableField field = {98, UPB_SIZE(12, 16), -9, UPB_SIZE(619, 717), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTblEntry_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_range_tbl_entry(const pg_query_Node* msg) { + const upb_MiniTableField field = {98, UPB_SIZE(12, 16), -9, UPB_SIZE(619, 717), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_rtepermission_info(pg_query_Node* msg) { + const upb_MiniTableField field = {99, UPB_SIZE(12, 16), -9, UPB_SIZE(617, 716), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RTEPermissionInfo* pg_query_Node_rtepermission_info(const pg_query_Node* msg) { + const pg_query_RTEPermissionInfo* default_val = NULL; + const pg_query_RTEPermissionInfo* ret; + const upb_MiniTableField field = {99, UPB_SIZE(12, 16), -9, UPB_SIZE(617, 716), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RTEPermissionInfo_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_rtepermission_info(const pg_query_Node* msg) { + const upb_MiniTableField field = {99, UPB_SIZE(12, 16), -9, UPB_SIZE(617, 716), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_range_tbl_function(pg_query_Node* msg) { + const upb_MiniTableField field = {100, UPB_SIZE(12, 16), -9, UPB_SIZE(615, 715), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeTblFunction* pg_query_Node_range_tbl_function(const pg_query_Node* msg) { + const pg_query_RangeTblFunction* default_val = NULL; + const pg_query_RangeTblFunction* ret; + const upb_MiniTableField field = {100, UPB_SIZE(12, 16), -9, UPB_SIZE(615, 715), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTblFunction_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_range_tbl_function(const pg_query_Node* msg) { + const upb_MiniTableField field = {100, UPB_SIZE(12, 16), -9, UPB_SIZE(615, 715), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_table_sample_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {101, UPB_SIZE(12, 16), -9, UPB_SIZE(613, 714), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TableSampleClause* pg_query_Node_table_sample_clause(const pg_query_Node* msg) { + const pg_query_TableSampleClause* default_val = NULL; + const pg_query_TableSampleClause* ret; + const upb_MiniTableField field = {101, UPB_SIZE(12, 16), -9, UPB_SIZE(613, 714), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TableSampleClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_table_sample_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {101, UPB_SIZE(12, 16), -9, UPB_SIZE(613, 714), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_with_check_option(pg_query_Node* msg) { + const upb_MiniTableField field = {102, UPB_SIZE(12, 16), -9, UPB_SIZE(611, 713), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WithCheckOption* pg_query_Node_with_check_option(const pg_query_Node* msg) { + const pg_query_WithCheckOption* default_val = NULL; + const pg_query_WithCheckOption* ret; + const upb_MiniTableField field = {102, UPB_SIZE(12, 16), -9, UPB_SIZE(611, 713), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithCheckOption_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_with_check_option(const pg_query_Node* msg) { + const upb_MiniTableField field = {102, UPB_SIZE(12, 16), -9, UPB_SIZE(611, 713), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_sort_group_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {103, UPB_SIZE(12, 16), -9, UPB_SIZE(609, 712), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SortGroupClause* pg_query_Node_sort_group_clause(const pg_query_Node* msg) { + const pg_query_SortGroupClause* default_val = NULL; + const pg_query_SortGroupClause* ret; + const upb_MiniTableField field = {103, UPB_SIZE(12, 16), -9, UPB_SIZE(609, 712), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SortGroupClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_sort_group_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {103, UPB_SIZE(12, 16), -9, UPB_SIZE(609, 712), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_grouping_set(pg_query_Node* msg) { + const upb_MiniTableField field = {104, UPB_SIZE(12, 16), -9, UPB_SIZE(607, 711), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_GroupingSet* pg_query_Node_grouping_set(const pg_query_Node* msg) { + const pg_query_GroupingSet* default_val = NULL; + const pg_query_GroupingSet* ret; + const upb_MiniTableField field = {104, UPB_SIZE(12, 16), -9, UPB_SIZE(607, 711), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__GroupingSet_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_grouping_set(const pg_query_Node* msg) { + const upb_MiniTableField field = {104, UPB_SIZE(12, 16), -9, UPB_SIZE(607, 711), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_window_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {105, UPB_SIZE(12, 16), -9, UPB_SIZE(605, 710), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WindowClause* pg_query_Node_window_clause(const pg_query_Node* msg) { + const pg_query_WindowClause* default_val = NULL; + const pg_query_WindowClause* ret; + const upb_MiniTableField field = {105, UPB_SIZE(12, 16), -9, UPB_SIZE(605, 710), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_window_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {105, UPB_SIZE(12, 16), -9, UPB_SIZE(605, 710), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_row_mark_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {106, UPB_SIZE(12, 16), -9, UPB_SIZE(603, 709), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RowMarkClause* pg_query_Node_row_mark_clause(const pg_query_Node* msg) { + const pg_query_RowMarkClause* default_val = NULL; + const pg_query_RowMarkClause* ret; + const upb_MiniTableField field = {106, UPB_SIZE(12, 16), -9, UPB_SIZE(603, 709), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RowMarkClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_row_mark_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {106, UPB_SIZE(12, 16), -9, UPB_SIZE(603, 709), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_with_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {107, UPB_SIZE(12, 16), -9, UPB_SIZE(601, 708), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WithClause* pg_query_Node_with_clause(const pg_query_Node* msg) { + const pg_query_WithClause* default_val = NULL; + const pg_query_WithClause* ret; + const upb_MiniTableField field = {107, UPB_SIZE(12, 16), -9, UPB_SIZE(601, 708), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_with_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {107, UPB_SIZE(12, 16), -9, UPB_SIZE(601, 708), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_infer_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {108, UPB_SIZE(12, 16), -9, UPB_SIZE(599, 707), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_InferClause* pg_query_Node_infer_clause(const pg_query_Node* msg) { + const pg_query_InferClause* default_val = NULL; + const pg_query_InferClause* ret; + const upb_MiniTableField field = {108, UPB_SIZE(12, 16), -9, UPB_SIZE(599, 707), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__InferClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_infer_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {108, UPB_SIZE(12, 16), -9, UPB_SIZE(599, 707), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_on_conflict_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {109, UPB_SIZE(12, 16), -9, UPB_SIZE(597, 706), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_OnConflictClause* pg_query_Node_on_conflict_clause(const pg_query_Node* msg) { + const pg_query_OnConflictClause* default_val = NULL; + const pg_query_OnConflictClause* ret; + const upb_MiniTableField field = {109, UPB_SIZE(12, 16), -9, UPB_SIZE(597, 706), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OnConflictClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_on_conflict_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {109, UPB_SIZE(12, 16), -9, UPB_SIZE(597, 706), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_ctesearch_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {110, UPB_SIZE(12, 16), -9, UPB_SIZE(595, 705), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CTESearchClause* pg_query_Node_ctesearch_clause(const pg_query_Node* msg) { + const pg_query_CTESearchClause* default_val = NULL; + const pg_query_CTESearchClause* ret; + const upb_MiniTableField field = {110, UPB_SIZE(12, 16), -9, UPB_SIZE(595, 705), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CTESearchClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_ctesearch_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {110, UPB_SIZE(12, 16), -9, UPB_SIZE(595, 705), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_ctecycle_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {111, UPB_SIZE(12, 16), -9, UPB_SIZE(593, 704), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CTECycleClause* pg_query_Node_ctecycle_clause(const pg_query_Node* msg) { + const pg_query_CTECycleClause* default_val = NULL; + const pg_query_CTECycleClause* ret; + const upb_MiniTableField field = {111, UPB_SIZE(12, 16), -9, UPB_SIZE(593, 704), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CTECycleClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_ctecycle_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {111, UPB_SIZE(12, 16), -9, UPB_SIZE(593, 704), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_common_table_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {112, UPB_SIZE(12, 16), -9, UPB_SIZE(591, 703), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CommonTableExpr* pg_query_Node_common_table_expr(const pg_query_Node* msg) { + const pg_query_CommonTableExpr* default_val = NULL; + const pg_query_CommonTableExpr* ret; + const upb_MiniTableField field = {112, UPB_SIZE(12, 16), -9, UPB_SIZE(591, 703), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CommonTableExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_common_table_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {112, UPB_SIZE(12, 16), -9, UPB_SIZE(591, 703), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_merge_when_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {113, UPB_SIZE(12, 16), -9, UPB_SIZE(589, 702), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_MergeWhenClause* pg_query_Node_merge_when_clause(const pg_query_Node* msg) { + const pg_query_MergeWhenClause* default_val = NULL; + const pg_query_MergeWhenClause* ret; + const upb_MiniTableField field = {113, UPB_SIZE(12, 16), -9, UPB_SIZE(589, 702), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MergeWhenClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_merge_when_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {113, UPB_SIZE(12, 16), -9, UPB_SIZE(589, 702), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_returning_option(pg_query_Node* msg) { + const upb_MiniTableField field = {114, UPB_SIZE(12, 16), -9, UPB_SIZE(587, 701), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReturningOption* pg_query_Node_returning_option(const pg_query_Node* msg) { + const pg_query_ReturningOption* default_val = NULL; + const pg_query_ReturningOption* ret; + const upb_MiniTableField field = {114, UPB_SIZE(12, 16), -9, UPB_SIZE(587, 701), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningOption_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_returning_option(const pg_query_Node* msg) { + const upb_MiniTableField field = {114, UPB_SIZE(12, 16), -9, UPB_SIZE(587, 701), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_returning_clause(pg_query_Node* msg) { + const upb_MiniTableField field = {115, UPB_SIZE(12, 16), -9, UPB_SIZE(585, 700), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReturningClause* pg_query_Node_returning_clause(const pg_query_Node* msg) { + const pg_query_ReturningClause* default_val = NULL; + const pg_query_ReturningClause* ret; + const upb_MiniTableField field = {115, UPB_SIZE(12, 16), -9, UPB_SIZE(585, 700), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_returning_clause(const pg_query_Node* msg) { + const upb_MiniTableField field = {115, UPB_SIZE(12, 16), -9, UPB_SIZE(585, 700), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_trigger_transition(pg_query_Node* msg) { + const upb_MiniTableField field = {116, UPB_SIZE(12, 16), -9, UPB_SIZE(583, 699), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TriggerTransition* pg_query_Node_trigger_transition(const pg_query_Node* msg) { + const pg_query_TriggerTransition* default_val = NULL; + const pg_query_TriggerTransition* ret; + const upb_MiniTableField field = {116, UPB_SIZE(12, 16), -9, UPB_SIZE(583, 699), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TriggerTransition_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_trigger_transition(const pg_query_Node* msg) { + const upb_MiniTableField field = {116, UPB_SIZE(12, 16), -9, UPB_SIZE(583, 699), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_output(pg_query_Node* msg) { + const upb_MiniTableField field = {117, UPB_SIZE(12, 16), -9, UPB_SIZE(581, 698), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonOutput* pg_query_Node_json_output(const pg_query_Node* msg) { + const pg_query_JsonOutput* default_val = NULL; + const pg_query_JsonOutput* ret; + const upb_MiniTableField field = {117, UPB_SIZE(12, 16), -9, UPB_SIZE(581, 698), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_output(const pg_query_Node* msg) { + const upb_MiniTableField field = {117, UPB_SIZE(12, 16), -9, UPB_SIZE(581, 698), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_argument(pg_query_Node* msg) { + const upb_MiniTableField field = {118, UPB_SIZE(12, 16), -9, UPB_SIZE(579, 697), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonArgument* pg_query_Node_json_argument(const pg_query_Node* msg) { + const pg_query_JsonArgument* default_val = NULL; + const pg_query_JsonArgument* ret; + const upb_MiniTableField field = {118, UPB_SIZE(12, 16), -9, UPB_SIZE(579, 697), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonArgument_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_argument(const pg_query_Node* msg) { + const upb_MiniTableField field = {118, UPB_SIZE(12, 16), -9, UPB_SIZE(579, 697), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_func_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {119, UPB_SIZE(12, 16), -9, UPB_SIZE(577, 696), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonFuncExpr* pg_query_Node_json_func_expr(const pg_query_Node* msg) { + const pg_query_JsonFuncExpr* default_val = NULL; + const pg_query_JsonFuncExpr* ret; + const upb_MiniTableField field = {119, UPB_SIZE(12, 16), -9, UPB_SIZE(577, 696), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFuncExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_func_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {119, UPB_SIZE(12, 16), -9, UPB_SIZE(577, 696), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_table_path_spec(pg_query_Node* msg) { + const upb_MiniTableField field = {120, UPB_SIZE(12, 16), -9, UPB_SIZE(575, 695), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonTablePathSpec* pg_query_Node_json_table_path_spec(const pg_query_Node* msg) { + const pg_query_JsonTablePathSpec* default_val = NULL; + const pg_query_JsonTablePathSpec* ret; + const upb_MiniTableField field = {120, UPB_SIZE(12, 16), -9, UPB_SIZE(575, 695), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePathSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_table_path_spec(const pg_query_Node* msg) { + const upb_MiniTableField field = {120, UPB_SIZE(12, 16), -9, UPB_SIZE(575, 695), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_table(pg_query_Node* msg) { + const upb_MiniTableField field = {121, UPB_SIZE(12, 16), -9, UPB_SIZE(573, 694), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonTable* pg_query_Node_json_table(const pg_query_Node* msg) { + const pg_query_JsonTable* default_val = NULL; + const pg_query_JsonTable* ret; + const upb_MiniTableField field = {121, UPB_SIZE(12, 16), -9, UPB_SIZE(573, 694), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTable_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_table(const pg_query_Node* msg) { + const upb_MiniTableField field = {121, UPB_SIZE(12, 16), -9, UPB_SIZE(573, 694), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_table_column(pg_query_Node* msg) { + const upb_MiniTableField field = {122, UPB_SIZE(12, 16), -9, UPB_SIZE(571, 693), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonTableColumn* pg_query_Node_json_table_column(const pg_query_Node* msg) { + const pg_query_JsonTableColumn* default_val = NULL; + const pg_query_JsonTableColumn* ret; + const upb_MiniTableField field = {122, UPB_SIZE(12, 16), -9, UPB_SIZE(571, 693), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTableColumn_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_table_column(const pg_query_Node* msg) { + const upb_MiniTableField field = {122, UPB_SIZE(12, 16), -9, UPB_SIZE(571, 693), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_key_value(pg_query_Node* msg) { + const upb_MiniTableField field = {123, UPB_SIZE(12, 16), -9, UPB_SIZE(569, 692), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonKeyValue* pg_query_Node_json_key_value(const pg_query_Node* msg) { + const pg_query_JsonKeyValue* default_val = NULL; + const pg_query_JsonKeyValue* ret; + const upb_MiniTableField field = {123, UPB_SIZE(12, 16), -9, UPB_SIZE(569, 692), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonKeyValue_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_key_value(const pg_query_Node* msg) { + const upb_MiniTableField field = {123, UPB_SIZE(12, 16), -9, UPB_SIZE(569, 692), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_parse_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {124, UPB_SIZE(12, 16), -9, UPB_SIZE(567, 691), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonParseExpr* pg_query_Node_json_parse_expr(const pg_query_Node* msg) { + const pg_query_JsonParseExpr* default_val = NULL; + const pg_query_JsonParseExpr* ret; + const upb_MiniTableField field = {124, UPB_SIZE(12, 16), -9, UPB_SIZE(567, 691), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonParseExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_parse_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {124, UPB_SIZE(12, 16), -9, UPB_SIZE(567, 691), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_scalar_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {125, UPB_SIZE(12, 16), -9, UPB_SIZE(565, 690), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonScalarExpr* pg_query_Node_json_scalar_expr(const pg_query_Node* msg) { + const pg_query_JsonScalarExpr* default_val = NULL; + const pg_query_JsonScalarExpr* ret; + const upb_MiniTableField field = {125, UPB_SIZE(12, 16), -9, UPB_SIZE(565, 690), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonScalarExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_scalar_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {125, UPB_SIZE(12, 16), -9, UPB_SIZE(565, 690), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_serialize_expr(pg_query_Node* msg) { + const upb_MiniTableField field = {126, UPB_SIZE(12, 16), -9, UPB_SIZE(563, 689), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonSerializeExpr* pg_query_Node_json_serialize_expr(const pg_query_Node* msg) { + const pg_query_JsonSerializeExpr* default_val = NULL; + const pg_query_JsonSerializeExpr* ret; + const upb_MiniTableField field = {126, UPB_SIZE(12, 16), -9, UPB_SIZE(563, 689), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonSerializeExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_serialize_expr(const pg_query_Node* msg) { + const upb_MiniTableField field = {126, UPB_SIZE(12, 16), -9, UPB_SIZE(563, 689), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_object_constructor(pg_query_Node* msg) { + const upb_MiniTableField field = {127, UPB_SIZE(12, 16), -9, UPB_SIZE(561, 688), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonObjectConstructor* pg_query_Node_json_object_constructor(const pg_query_Node* msg) { + const pg_query_JsonObjectConstructor* default_val = NULL; + const pg_query_JsonObjectConstructor* ret; + const upb_MiniTableField field = {127, UPB_SIZE(12, 16), -9, UPB_SIZE(561, 688), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonObjectConstructor_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_object_constructor(const pg_query_Node* msg) { + const upb_MiniTableField field = {127, UPB_SIZE(12, 16), -9, UPB_SIZE(561, 688), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_array_constructor(pg_query_Node* msg) { + const upb_MiniTableField field = {128, UPB_SIZE(12, 16), -9, UPB_SIZE(559, 687), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonArrayConstructor* pg_query_Node_json_array_constructor(const pg_query_Node* msg) { + const pg_query_JsonArrayConstructor* default_val = NULL; + const pg_query_JsonArrayConstructor* ret; + const upb_MiniTableField field = {128, UPB_SIZE(12, 16), -9, UPB_SIZE(559, 687), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonArrayConstructor_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_array_constructor(const pg_query_Node* msg) { + const upb_MiniTableField field = {128, UPB_SIZE(12, 16), -9, UPB_SIZE(559, 687), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_array_query_constructor(pg_query_Node* msg) { + const upb_MiniTableField field = {129, UPB_SIZE(12, 16), -9, UPB_SIZE(557, 686), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonArrayQueryConstructor* pg_query_Node_json_array_query_constructor(const pg_query_Node* msg) { + const pg_query_JsonArrayQueryConstructor* default_val = NULL; + const pg_query_JsonArrayQueryConstructor* ret; + const upb_MiniTableField field = {129, UPB_SIZE(12, 16), -9, UPB_SIZE(557, 686), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonArrayQueryConstructor_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_array_query_constructor(const pg_query_Node* msg) { + const upb_MiniTableField field = {129, UPB_SIZE(12, 16), -9, UPB_SIZE(557, 686), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_agg_constructor(pg_query_Node* msg) { + const upb_MiniTableField field = {130, UPB_SIZE(12, 16), -9, UPB_SIZE(555, 685), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonAggConstructor* pg_query_Node_json_agg_constructor(const pg_query_Node* msg) { + const pg_query_JsonAggConstructor* default_val = NULL; + const pg_query_JsonAggConstructor* ret; + const upb_MiniTableField field = {130, UPB_SIZE(12, 16), -9, UPB_SIZE(555, 685), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonAggConstructor_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_agg_constructor(const pg_query_Node* msg) { + const upb_MiniTableField field = {130, UPB_SIZE(12, 16), -9, UPB_SIZE(555, 685), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_object_agg(pg_query_Node* msg) { + const upb_MiniTableField field = {131, UPB_SIZE(12, 16), -9, UPB_SIZE(553, 684), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonObjectAgg* pg_query_Node_json_object_agg(const pg_query_Node* msg) { + const pg_query_JsonObjectAgg* default_val = NULL; + const pg_query_JsonObjectAgg* ret; + const upb_MiniTableField field = {131, UPB_SIZE(12, 16), -9, UPB_SIZE(553, 684), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonObjectAgg_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_object_agg(const pg_query_Node* msg) { + const upb_MiniTableField field = {131, UPB_SIZE(12, 16), -9, UPB_SIZE(553, 684), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_json_array_agg(pg_query_Node* msg) { + const upb_MiniTableField field = {132, UPB_SIZE(12, 16), -9, UPB_SIZE(551, 683), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonArrayAgg* pg_query_Node_json_array_agg(const pg_query_Node* msg) { + const pg_query_JsonArrayAgg* default_val = NULL; + const pg_query_JsonArrayAgg* ret; + const upb_MiniTableField field = {132, UPB_SIZE(12, 16), -9, UPB_SIZE(551, 683), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonArrayAgg_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_json_array_agg(const pg_query_Node* msg) { + const upb_MiniTableField field = {132, UPB_SIZE(12, 16), -9, UPB_SIZE(551, 683), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_raw_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {133, UPB_SIZE(12, 16), -9, UPB_SIZE(549, 682), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RawStmt* pg_query_Node_raw_stmt(const pg_query_Node* msg) { + const pg_query_RawStmt* default_val = NULL; + const pg_query_RawStmt* ret; + const upb_MiniTableField field = {133, UPB_SIZE(12, 16), -9, UPB_SIZE(549, 682), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RawStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_raw_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {133, UPB_SIZE(12, 16), -9, UPB_SIZE(549, 682), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_insert_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {134, UPB_SIZE(12, 16), -9, UPB_SIZE(547, 681), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_InsertStmt* pg_query_Node_insert_stmt(const pg_query_Node* msg) { + const pg_query_InsertStmt* default_val = NULL; + const pg_query_InsertStmt* ret; + const upb_MiniTableField field = {134, UPB_SIZE(12, 16), -9, UPB_SIZE(547, 681), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__InsertStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_insert_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {134, UPB_SIZE(12, 16), -9, UPB_SIZE(547, 681), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_delete_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {135, UPB_SIZE(12, 16), -9, UPB_SIZE(545, 680), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DeleteStmt* pg_query_Node_delete_stmt(const pg_query_Node* msg) { + const pg_query_DeleteStmt* default_val = NULL; + const pg_query_DeleteStmt* ret; + const upb_MiniTableField field = {135, UPB_SIZE(12, 16), -9, UPB_SIZE(545, 680), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DeleteStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_delete_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {135, UPB_SIZE(12, 16), -9, UPB_SIZE(545, 680), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_update_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {136, UPB_SIZE(12, 16), -9, UPB_SIZE(543, 679), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_UpdateStmt* pg_query_Node_update_stmt(const pg_query_Node* msg) { + const pg_query_UpdateStmt* default_val = NULL; + const pg_query_UpdateStmt* ret; + const upb_MiniTableField field = {136, UPB_SIZE(12, 16), -9, UPB_SIZE(543, 679), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__UpdateStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_update_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {136, UPB_SIZE(12, 16), -9, UPB_SIZE(543, 679), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_merge_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {137, UPB_SIZE(12, 16), -9, UPB_SIZE(541, 678), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_MergeStmt* pg_query_Node_merge_stmt(const pg_query_Node* msg) { + const pg_query_MergeStmt* default_val = NULL; + const pg_query_MergeStmt* ret; + const upb_MiniTableField field = {137, UPB_SIZE(12, 16), -9, UPB_SIZE(541, 678), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MergeStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_merge_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {137, UPB_SIZE(12, 16), -9, UPB_SIZE(541, 678), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_select_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {138, UPB_SIZE(12, 16), -9, UPB_SIZE(539, 677), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SelectStmt* pg_query_Node_select_stmt(const pg_query_Node* msg) { + const pg_query_SelectStmt* default_val = NULL; + const pg_query_SelectStmt* ret; + const upb_MiniTableField field = {138, UPB_SIZE(12, 16), -9, UPB_SIZE(539, 677), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SelectStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_select_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {138, UPB_SIZE(12, 16), -9, UPB_SIZE(539, 677), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_set_operation_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {139, UPB_SIZE(12, 16), -9, UPB_SIZE(537, 676), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SetOperationStmt* pg_query_Node_set_operation_stmt(const pg_query_Node* msg) { + const pg_query_SetOperationStmt* default_val = NULL; + const pg_query_SetOperationStmt* ret; + const upb_MiniTableField field = {139, UPB_SIZE(12, 16), -9, UPB_SIZE(537, 676), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SetOperationStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_set_operation_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {139, UPB_SIZE(12, 16), -9, UPB_SIZE(537, 676), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_return_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {140, UPB_SIZE(12, 16), -9, UPB_SIZE(535, 675), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReturnStmt* pg_query_Node_return_stmt(const pg_query_Node* msg) { + const pg_query_ReturnStmt* default_val = NULL; + const pg_query_ReturnStmt* ret; + const upb_MiniTableField field = {140, UPB_SIZE(12, 16), -9, UPB_SIZE(535, 675), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturnStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_return_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {140, UPB_SIZE(12, 16), -9, UPB_SIZE(535, 675), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_plassign_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {141, UPB_SIZE(12, 16), -9, UPB_SIZE(533, 674), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PLAssignStmt* pg_query_Node_plassign_stmt(const pg_query_Node* msg) { + const pg_query_PLAssignStmt* default_val = NULL; + const pg_query_PLAssignStmt* ret; + const upb_MiniTableField field = {141, UPB_SIZE(12, 16), -9, UPB_SIZE(533, 674), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PLAssignStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_plassign_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {141, UPB_SIZE(12, 16), -9, UPB_SIZE(533, 674), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_schema_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {142, UPB_SIZE(12, 16), -9, UPB_SIZE(531, 673), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateSchemaStmt* pg_query_Node_create_schema_stmt(const pg_query_Node* msg) { + const pg_query_CreateSchemaStmt* default_val = NULL; + const pg_query_CreateSchemaStmt* ret; + const upb_MiniTableField field = {142, UPB_SIZE(12, 16), -9, UPB_SIZE(531, 673), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateSchemaStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_schema_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {142, UPB_SIZE(12, 16), -9, UPB_SIZE(531, 673), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_table_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {143, UPB_SIZE(12, 16), -9, UPB_SIZE(529, 672), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterTableStmt* pg_query_Node_alter_table_stmt(const pg_query_Node* msg) { + const pg_query_AlterTableStmt* default_val = NULL; + const pg_query_AlterTableStmt* ret; + const upb_MiniTableField field = {143, UPB_SIZE(12, 16), -9, UPB_SIZE(529, 672), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTableStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_table_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {143, UPB_SIZE(12, 16), -9, UPB_SIZE(529, 672), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_table_cmd(pg_query_Node* msg) { + const upb_MiniTableField field = {144, UPB_SIZE(12, 16), -9, UPB_SIZE(527, 671), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterTableCmd* pg_query_Node_alter_table_cmd(const pg_query_Node* msg) { + const pg_query_AlterTableCmd* default_val = NULL; + const pg_query_AlterTableCmd* ret; + const upb_MiniTableField field = {144, UPB_SIZE(12, 16), -9, UPB_SIZE(527, 671), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTableCmd_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_table_cmd(const pg_query_Node* msg) { + const upb_MiniTableField field = {144, UPB_SIZE(12, 16), -9, UPB_SIZE(527, 671), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_atalter_constraint(pg_query_Node* msg) { + const upb_MiniTableField field = {145, UPB_SIZE(12, 16), -9, UPB_SIZE(525, 670), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ATAlterConstraint* pg_query_Node_atalter_constraint(const pg_query_Node* msg) { + const pg_query_ATAlterConstraint* default_val = NULL; + const pg_query_ATAlterConstraint* ret; + const upb_MiniTableField field = {145, UPB_SIZE(12, 16), -9, UPB_SIZE(525, 670), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ATAlterConstraint_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_atalter_constraint(const pg_query_Node* msg) { + const upb_MiniTableField field = {145, UPB_SIZE(12, 16), -9, UPB_SIZE(525, 670), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_replica_identity_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {146, UPB_SIZE(12, 16), -9, UPB_SIZE(523, 669), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReplicaIdentityStmt* pg_query_Node_replica_identity_stmt(const pg_query_Node* msg) { + const pg_query_ReplicaIdentityStmt* default_val = NULL; + const pg_query_ReplicaIdentityStmt* ret; + const upb_MiniTableField field = {146, UPB_SIZE(12, 16), -9, UPB_SIZE(523, 669), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReplicaIdentityStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_replica_identity_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {146, UPB_SIZE(12, 16), -9, UPB_SIZE(523, 669), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_collation_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {147, UPB_SIZE(12, 16), -9, UPB_SIZE(521, 668), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterCollationStmt* pg_query_Node_alter_collation_stmt(const pg_query_Node* msg) { + const pg_query_AlterCollationStmt* default_val = NULL; + const pg_query_AlterCollationStmt* ret; + const upb_MiniTableField field = {147, UPB_SIZE(12, 16), -9, UPB_SIZE(521, 668), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterCollationStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_collation_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {147, UPB_SIZE(12, 16), -9, UPB_SIZE(521, 668), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_domain_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {148, UPB_SIZE(12, 16), -9, UPB_SIZE(519, 667), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterDomainStmt* pg_query_Node_alter_domain_stmt(const pg_query_Node* msg) { + const pg_query_AlterDomainStmt* default_val = NULL; + const pg_query_AlterDomainStmt* ret; + const upb_MiniTableField field = {148, UPB_SIZE(12, 16), -9, UPB_SIZE(519, 667), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterDomainStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_domain_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {148, UPB_SIZE(12, 16), -9, UPB_SIZE(519, 667), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_grant_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {149, UPB_SIZE(12, 16), -9, UPB_SIZE(517, 666), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_GrantStmt* pg_query_Node_grant_stmt(const pg_query_Node* msg) { + const pg_query_GrantStmt* default_val = NULL; + const pg_query_GrantStmt* ret; + const upb_MiniTableField field = {149, UPB_SIZE(12, 16), -9, UPB_SIZE(517, 666), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__GrantStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_grant_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {149, UPB_SIZE(12, 16), -9, UPB_SIZE(517, 666), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_object_with_args(pg_query_Node* msg) { + const upb_MiniTableField field = {150, UPB_SIZE(12, 16), -9, UPB_SIZE(515, 665), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ObjectWithArgs* pg_query_Node_object_with_args(const pg_query_Node* msg) { + const pg_query_ObjectWithArgs* default_val = NULL; + const pg_query_ObjectWithArgs* ret; + const upb_MiniTableField field = {150, UPB_SIZE(12, 16), -9, UPB_SIZE(515, 665), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_object_with_args(const pg_query_Node* msg) { + const upb_MiniTableField field = {150, UPB_SIZE(12, 16), -9, UPB_SIZE(515, 665), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_access_priv(pg_query_Node* msg) { + const upb_MiniTableField field = {151, UPB_SIZE(12, 16), -9, UPB_SIZE(513, 664), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AccessPriv* pg_query_Node_access_priv(const pg_query_Node* msg) { + const pg_query_AccessPriv* default_val = NULL; + const pg_query_AccessPriv* ret; + const upb_MiniTableField field = {151, UPB_SIZE(12, 16), -9, UPB_SIZE(513, 664), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AccessPriv_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_access_priv(const pg_query_Node* msg) { + const upb_MiniTableField field = {151, UPB_SIZE(12, 16), -9, UPB_SIZE(513, 664), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_grant_role_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {152, UPB_SIZE(12, 16), -9, UPB_SIZE(511, 663), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_GrantRoleStmt* pg_query_Node_grant_role_stmt(const pg_query_Node* msg) { + const pg_query_GrantRoleStmt* default_val = NULL; + const pg_query_GrantRoleStmt* ret; + const upb_MiniTableField field = {152, UPB_SIZE(12, 16), -9, UPB_SIZE(511, 663), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__GrantRoleStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_grant_role_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {152, UPB_SIZE(12, 16), -9, UPB_SIZE(511, 663), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_default_privileges_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {153, UPB_SIZE(12, 16), -9, UPB_SIZE(509, 662), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterDefaultPrivilegesStmt* pg_query_Node_alter_default_privileges_stmt(const pg_query_Node* msg) { + const pg_query_AlterDefaultPrivilegesStmt* default_val = NULL; + const pg_query_AlterDefaultPrivilegesStmt* ret; + const upb_MiniTableField field = {153, UPB_SIZE(12, 16), -9, UPB_SIZE(509, 662), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterDefaultPrivilegesStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_default_privileges_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {153, UPB_SIZE(12, 16), -9, UPB_SIZE(509, 662), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_copy_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {154, UPB_SIZE(12, 16), -9, UPB_SIZE(507, 661), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CopyStmt* pg_query_Node_copy_stmt(const pg_query_Node* msg) { + const pg_query_CopyStmt* default_val = NULL; + const pg_query_CopyStmt* ret; + const upb_MiniTableField field = {154, UPB_SIZE(12, 16), -9, UPB_SIZE(507, 661), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CopyStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_copy_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {154, UPB_SIZE(12, 16), -9, UPB_SIZE(507, 661), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_variable_set_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {155, UPB_SIZE(12, 16), -9, UPB_SIZE(505, 660), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_VariableSetStmt* pg_query_Node_variable_set_stmt(const pg_query_Node* msg) { + const pg_query_VariableSetStmt* default_val = NULL; + const pg_query_VariableSetStmt* ret; + const upb_MiniTableField field = {155, UPB_SIZE(12, 16), -9, UPB_SIZE(505, 660), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VariableSetStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_variable_set_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {155, UPB_SIZE(12, 16), -9, UPB_SIZE(505, 660), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_variable_show_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {156, UPB_SIZE(12, 16), -9, UPB_SIZE(503, 659), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_VariableShowStmt* pg_query_Node_variable_show_stmt(const pg_query_Node* msg) { + const pg_query_VariableShowStmt* default_val = NULL; + const pg_query_VariableShowStmt* ret; + const upb_MiniTableField field = {156, UPB_SIZE(12, 16), -9, UPB_SIZE(503, 659), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VariableShowStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_variable_show_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {156, UPB_SIZE(12, 16), -9, UPB_SIZE(503, 659), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {157, UPB_SIZE(12, 16), -9, UPB_SIZE(501, 658), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateStmt* pg_query_Node_create_stmt(const pg_query_Node* msg) { + const pg_query_CreateStmt* default_val = NULL; + const pg_query_CreateStmt* ret; + const upb_MiniTableField field = {157, UPB_SIZE(12, 16), -9, UPB_SIZE(501, 658), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {157, UPB_SIZE(12, 16), -9, UPB_SIZE(501, 658), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_constraint(pg_query_Node* msg) { + const upb_MiniTableField field = {158, UPB_SIZE(12, 16), -9, UPB_SIZE(499, 657), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Constraint* pg_query_Node_constraint(const pg_query_Node* msg) { + const pg_query_Constraint* default_val = NULL; + const pg_query_Constraint* ret; + const upb_MiniTableField field = {158, UPB_SIZE(12, 16), -9, UPB_SIZE(499, 657), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Constraint_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_constraint(const pg_query_Node* msg) { + const upb_MiniTableField field = {158, UPB_SIZE(12, 16), -9, UPB_SIZE(499, 657), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_table_space_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {159, UPB_SIZE(12, 16), -9, UPB_SIZE(497, 656), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateTableSpaceStmt* pg_query_Node_create_table_space_stmt(const pg_query_Node* msg) { + const pg_query_CreateTableSpaceStmt* default_val = NULL; + const pg_query_CreateTableSpaceStmt* ret; + const upb_MiniTableField field = {159, UPB_SIZE(12, 16), -9, UPB_SIZE(497, 656), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateTableSpaceStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_table_space_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {159, UPB_SIZE(12, 16), -9, UPB_SIZE(497, 656), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_drop_table_space_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {160, UPB_SIZE(12, 16), -9, UPB_SIZE(495, 655), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DropTableSpaceStmt* pg_query_Node_drop_table_space_stmt(const pg_query_Node* msg) { + const pg_query_DropTableSpaceStmt* default_val = NULL; + const pg_query_DropTableSpaceStmt* ret; + const upb_MiniTableField field = {160, UPB_SIZE(12, 16), -9, UPB_SIZE(495, 655), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropTableSpaceStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_drop_table_space_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {160, UPB_SIZE(12, 16), -9, UPB_SIZE(495, 655), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_table_space_options_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {161, UPB_SIZE(12, 16), -9, UPB_SIZE(493, 654), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterTableSpaceOptionsStmt* pg_query_Node_alter_table_space_options_stmt(const pg_query_Node* msg) { + const pg_query_AlterTableSpaceOptionsStmt* default_val = NULL; + const pg_query_AlterTableSpaceOptionsStmt* ret; + const upb_MiniTableField field = {161, UPB_SIZE(12, 16), -9, UPB_SIZE(493, 654), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTableSpaceOptionsStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_table_space_options_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {161, UPB_SIZE(12, 16), -9, UPB_SIZE(493, 654), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_table_move_all_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {162, UPB_SIZE(12, 16), -9, UPB_SIZE(491, 653), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterTableMoveAllStmt* pg_query_Node_alter_table_move_all_stmt(const pg_query_Node* msg) { + const pg_query_AlterTableMoveAllStmt* default_val = NULL; + const pg_query_AlterTableMoveAllStmt* ret; + const upb_MiniTableField field = {162, UPB_SIZE(12, 16), -9, UPB_SIZE(491, 653), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTableMoveAllStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_table_move_all_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {162, UPB_SIZE(12, 16), -9, UPB_SIZE(491, 653), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_extension_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {163, UPB_SIZE(12, 16), -9, UPB_SIZE(489, 652), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateExtensionStmt* pg_query_Node_create_extension_stmt(const pg_query_Node* msg) { + const pg_query_CreateExtensionStmt* default_val = NULL; + const pg_query_CreateExtensionStmt* ret; + const upb_MiniTableField field = {163, UPB_SIZE(12, 16), -9, UPB_SIZE(489, 652), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateExtensionStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_extension_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {163, UPB_SIZE(12, 16), -9, UPB_SIZE(489, 652), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_extension_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {164, UPB_SIZE(12, 16), -9, UPB_SIZE(487, 651), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterExtensionStmt* pg_query_Node_alter_extension_stmt(const pg_query_Node* msg) { + const pg_query_AlterExtensionStmt* default_val = NULL; + const pg_query_AlterExtensionStmt* ret; + const upb_MiniTableField field = {164, UPB_SIZE(12, 16), -9, UPB_SIZE(487, 651), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterExtensionStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_extension_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {164, UPB_SIZE(12, 16), -9, UPB_SIZE(487, 651), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_extension_contents_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {165, UPB_SIZE(12, 16), -9, UPB_SIZE(485, 650), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterExtensionContentsStmt* pg_query_Node_alter_extension_contents_stmt(const pg_query_Node* msg) { + const pg_query_AlterExtensionContentsStmt* default_val = NULL; + const pg_query_AlterExtensionContentsStmt* ret; + const upb_MiniTableField field = {165, UPB_SIZE(12, 16), -9, UPB_SIZE(485, 650), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterExtensionContentsStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_extension_contents_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {165, UPB_SIZE(12, 16), -9, UPB_SIZE(485, 650), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_fdw_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {166, UPB_SIZE(12, 16), -9, UPB_SIZE(483, 649), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateFdwStmt* pg_query_Node_create_fdw_stmt(const pg_query_Node* msg) { + const pg_query_CreateFdwStmt* default_val = NULL; + const pg_query_CreateFdwStmt* ret; + const upb_MiniTableField field = {166, UPB_SIZE(12, 16), -9, UPB_SIZE(483, 649), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateFdwStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_fdw_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {166, UPB_SIZE(12, 16), -9, UPB_SIZE(483, 649), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_fdw_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {167, UPB_SIZE(12, 16), -9, UPB_SIZE(481, 648), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterFdwStmt* pg_query_Node_alter_fdw_stmt(const pg_query_Node* msg) { + const pg_query_AlterFdwStmt* default_val = NULL; + const pg_query_AlterFdwStmt* ret; + const upb_MiniTableField field = {167, UPB_SIZE(12, 16), -9, UPB_SIZE(481, 648), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterFdwStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_fdw_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {167, UPB_SIZE(12, 16), -9, UPB_SIZE(481, 648), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_foreign_server_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {168, UPB_SIZE(12, 16), -9, UPB_SIZE(479, 647), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateForeignServerStmt* pg_query_Node_create_foreign_server_stmt(const pg_query_Node* msg) { + const pg_query_CreateForeignServerStmt* default_val = NULL; + const pg_query_CreateForeignServerStmt* ret; + const upb_MiniTableField field = {168, UPB_SIZE(12, 16), -9, UPB_SIZE(479, 647), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateForeignServerStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_foreign_server_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {168, UPB_SIZE(12, 16), -9, UPB_SIZE(479, 647), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_foreign_server_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {169, UPB_SIZE(12, 16), -9, UPB_SIZE(477, 646), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterForeignServerStmt* pg_query_Node_alter_foreign_server_stmt(const pg_query_Node* msg) { + const pg_query_AlterForeignServerStmt* default_val = NULL; + const pg_query_AlterForeignServerStmt* ret; + const upb_MiniTableField field = {169, UPB_SIZE(12, 16), -9, UPB_SIZE(477, 646), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterForeignServerStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_foreign_server_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {169, UPB_SIZE(12, 16), -9, UPB_SIZE(477, 646), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_foreign_table_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {170, UPB_SIZE(12, 16), -9, UPB_SIZE(475, 645), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateForeignTableStmt* pg_query_Node_create_foreign_table_stmt(const pg_query_Node* msg) { + const pg_query_CreateForeignTableStmt* default_val = NULL; + const pg_query_CreateForeignTableStmt* ret; + const upb_MiniTableField field = {170, UPB_SIZE(12, 16), -9, UPB_SIZE(475, 645), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateForeignTableStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_foreign_table_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {170, UPB_SIZE(12, 16), -9, UPB_SIZE(475, 645), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_user_mapping_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {171, UPB_SIZE(12, 16), -9, UPB_SIZE(473, 644), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateUserMappingStmt* pg_query_Node_create_user_mapping_stmt(const pg_query_Node* msg) { + const pg_query_CreateUserMappingStmt* default_val = NULL; + const pg_query_CreateUserMappingStmt* ret; + const upb_MiniTableField field = {171, UPB_SIZE(12, 16), -9, UPB_SIZE(473, 644), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateUserMappingStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_user_mapping_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {171, UPB_SIZE(12, 16), -9, UPB_SIZE(473, 644), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_user_mapping_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {172, UPB_SIZE(12, 16), -9, UPB_SIZE(471, 643), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterUserMappingStmt* pg_query_Node_alter_user_mapping_stmt(const pg_query_Node* msg) { + const pg_query_AlterUserMappingStmt* default_val = NULL; + const pg_query_AlterUserMappingStmt* ret; + const upb_MiniTableField field = {172, UPB_SIZE(12, 16), -9, UPB_SIZE(471, 643), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterUserMappingStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_user_mapping_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {172, UPB_SIZE(12, 16), -9, UPB_SIZE(471, 643), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_drop_user_mapping_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {173, UPB_SIZE(12, 16), -9, UPB_SIZE(469, 642), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DropUserMappingStmt* pg_query_Node_drop_user_mapping_stmt(const pg_query_Node* msg) { + const pg_query_DropUserMappingStmt* default_val = NULL; + const pg_query_DropUserMappingStmt* ret; + const upb_MiniTableField field = {173, UPB_SIZE(12, 16), -9, UPB_SIZE(469, 642), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropUserMappingStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_drop_user_mapping_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {173, UPB_SIZE(12, 16), -9, UPB_SIZE(469, 642), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_import_foreign_schema_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {174, UPB_SIZE(12, 16), -9, UPB_SIZE(467, 641), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ImportForeignSchemaStmt* pg_query_Node_import_foreign_schema_stmt(const pg_query_Node* msg) { + const pg_query_ImportForeignSchemaStmt* default_val = NULL; + const pg_query_ImportForeignSchemaStmt* ret; + const upb_MiniTableField field = {174, UPB_SIZE(12, 16), -9, UPB_SIZE(467, 641), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ImportForeignSchemaStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_import_foreign_schema_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {174, UPB_SIZE(12, 16), -9, UPB_SIZE(467, 641), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_policy_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {175, UPB_SIZE(12, 16), -9, UPB_SIZE(465, 640), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreatePolicyStmt* pg_query_Node_create_policy_stmt(const pg_query_Node* msg) { + const pg_query_CreatePolicyStmt* default_val = NULL; + const pg_query_CreatePolicyStmt* ret; + const upb_MiniTableField field = {175, UPB_SIZE(12, 16), -9, UPB_SIZE(465, 640), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreatePolicyStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_policy_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {175, UPB_SIZE(12, 16), -9, UPB_SIZE(465, 640), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_policy_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {176, UPB_SIZE(12, 16), -9, UPB_SIZE(463, 639), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterPolicyStmt* pg_query_Node_alter_policy_stmt(const pg_query_Node* msg) { + const pg_query_AlterPolicyStmt* default_val = NULL; + const pg_query_AlterPolicyStmt* ret; + const upb_MiniTableField field = {176, UPB_SIZE(12, 16), -9, UPB_SIZE(463, 639), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterPolicyStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_policy_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {176, UPB_SIZE(12, 16), -9, UPB_SIZE(463, 639), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_am_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {177, UPB_SIZE(12, 16), -9, UPB_SIZE(461, 638), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateAmStmt* pg_query_Node_create_am_stmt(const pg_query_Node* msg) { + const pg_query_CreateAmStmt* default_val = NULL; + const pg_query_CreateAmStmt* ret; + const upb_MiniTableField field = {177, UPB_SIZE(12, 16), -9, UPB_SIZE(461, 638), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateAmStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_am_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {177, UPB_SIZE(12, 16), -9, UPB_SIZE(461, 638), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_trig_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {178, UPB_SIZE(12, 16), -9, UPB_SIZE(459, 637), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateTrigStmt* pg_query_Node_create_trig_stmt(const pg_query_Node* msg) { + const pg_query_CreateTrigStmt* default_val = NULL; + const pg_query_CreateTrigStmt* ret; + const upb_MiniTableField field = {178, UPB_SIZE(12, 16), -9, UPB_SIZE(459, 637), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateTrigStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_trig_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {178, UPB_SIZE(12, 16), -9, UPB_SIZE(459, 637), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_event_trig_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {179, UPB_SIZE(12, 16), -9, UPB_SIZE(457, 636), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateEventTrigStmt* pg_query_Node_create_event_trig_stmt(const pg_query_Node* msg) { + const pg_query_CreateEventTrigStmt* default_val = NULL; + const pg_query_CreateEventTrigStmt* ret; + const upb_MiniTableField field = {179, UPB_SIZE(12, 16), -9, UPB_SIZE(457, 636), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateEventTrigStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_event_trig_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {179, UPB_SIZE(12, 16), -9, UPB_SIZE(457, 636), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_event_trig_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {180, UPB_SIZE(12, 16), -9, UPB_SIZE(455, 635), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterEventTrigStmt* pg_query_Node_alter_event_trig_stmt(const pg_query_Node* msg) { + const pg_query_AlterEventTrigStmt* default_val = NULL; + const pg_query_AlterEventTrigStmt* ret; + const upb_MiniTableField field = {180, UPB_SIZE(12, 16), -9, UPB_SIZE(455, 635), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterEventTrigStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_event_trig_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {180, UPB_SIZE(12, 16), -9, UPB_SIZE(455, 635), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_plang_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {181, UPB_SIZE(12, 16), -9, UPB_SIZE(453, 634), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreatePLangStmt* pg_query_Node_create_plang_stmt(const pg_query_Node* msg) { + const pg_query_CreatePLangStmt* default_val = NULL; + const pg_query_CreatePLangStmt* ret; + const upb_MiniTableField field = {181, UPB_SIZE(12, 16), -9, UPB_SIZE(453, 634), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreatePLangStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_plang_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {181, UPB_SIZE(12, 16), -9, UPB_SIZE(453, 634), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_role_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {182, UPB_SIZE(12, 16), -9, UPB_SIZE(451, 633), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateRoleStmt* pg_query_Node_create_role_stmt(const pg_query_Node* msg) { + const pg_query_CreateRoleStmt* default_val = NULL; + const pg_query_CreateRoleStmt* ret; + const upb_MiniTableField field = {182, UPB_SIZE(12, 16), -9, UPB_SIZE(451, 633), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateRoleStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_role_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {182, UPB_SIZE(12, 16), -9, UPB_SIZE(451, 633), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_role_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {183, UPB_SIZE(12, 16), -9, UPB_SIZE(449, 632), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterRoleStmt* pg_query_Node_alter_role_stmt(const pg_query_Node* msg) { + const pg_query_AlterRoleStmt* default_val = NULL; + const pg_query_AlterRoleStmt* ret; + const upb_MiniTableField field = {183, UPB_SIZE(12, 16), -9, UPB_SIZE(449, 632), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterRoleStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_role_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {183, UPB_SIZE(12, 16), -9, UPB_SIZE(449, 632), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_role_set_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {184, UPB_SIZE(12, 16), -9, UPB_SIZE(447, 631), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterRoleSetStmt* pg_query_Node_alter_role_set_stmt(const pg_query_Node* msg) { + const pg_query_AlterRoleSetStmt* default_val = NULL; + const pg_query_AlterRoleSetStmt* ret; + const upb_MiniTableField field = {184, UPB_SIZE(12, 16), -9, UPB_SIZE(447, 631), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterRoleSetStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_role_set_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {184, UPB_SIZE(12, 16), -9, UPB_SIZE(447, 631), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_drop_role_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {185, UPB_SIZE(12, 16), -9, UPB_SIZE(445, 630), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DropRoleStmt* pg_query_Node_drop_role_stmt(const pg_query_Node* msg) { + const pg_query_DropRoleStmt* default_val = NULL; + const pg_query_DropRoleStmt* ret; + const upb_MiniTableField field = {185, UPB_SIZE(12, 16), -9, UPB_SIZE(445, 630), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropRoleStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_drop_role_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {185, UPB_SIZE(12, 16), -9, UPB_SIZE(445, 630), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_seq_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {186, UPB_SIZE(12, 16), -9, UPB_SIZE(443, 629), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateSeqStmt* pg_query_Node_create_seq_stmt(const pg_query_Node* msg) { + const pg_query_CreateSeqStmt* default_val = NULL; + const pg_query_CreateSeqStmt* ret; + const upb_MiniTableField field = {186, UPB_SIZE(12, 16), -9, UPB_SIZE(443, 629), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateSeqStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_seq_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {186, UPB_SIZE(12, 16), -9, UPB_SIZE(443, 629), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_seq_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {187, UPB_SIZE(12, 16), -9, UPB_SIZE(441, 628), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterSeqStmt* pg_query_Node_alter_seq_stmt(const pg_query_Node* msg) { + const pg_query_AlterSeqStmt* default_val = NULL; + const pg_query_AlterSeqStmt* ret; + const upb_MiniTableField field = {187, UPB_SIZE(12, 16), -9, UPB_SIZE(441, 628), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterSeqStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_seq_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {187, UPB_SIZE(12, 16), -9, UPB_SIZE(441, 628), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_define_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {188, UPB_SIZE(12, 16), -9, UPB_SIZE(439, 627), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DefineStmt* pg_query_Node_define_stmt(const pg_query_Node* msg) { + const pg_query_DefineStmt* default_val = NULL; + const pg_query_DefineStmt* ret; + const upb_MiniTableField field = {188, UPB_SIZE(12, 16), -9, UPB_SIZE(439, 627), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DefineStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_define_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {188, UPB_SIZE(12, 16), -9, UPB_SIZE(439, 627), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_domain_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {189, UPB_SIZE(12, 16), -9, UPB_SIZE(437, 626), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateDomainStmt* pg_query_Node_create_domain_stmt(const pg_query_Node* msg) { + const pg_query_CreateDomainStmt* default_val = NULL; + const pg_query_CreateDomainStmt* ret; + const upb_MiniTableField field = {189, UPB_SIZE(12, 16), -9, UPB_SIZE(437, 626), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateDomainStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_domain_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {189, UPB_SIZE(12, 16), -9, UPB_SIZE(437, 626), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_op_class_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {190, UPB_SIZE(12, 16), -9, UPB_SIZE(435, 625), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateOpClassStmt* pg_query_Node_create_op_class_stmt(const pg_query_Node* msg) { + const pg_query_CreateOpClassStmt* default_val = NULL; + const pg_query_CreateOpClassStmt* ret; + const upb_MiniTableField field = {190, UPB_SIZE(12, 16), -9, UPB_SIZE(435, 625), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateOpClassStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_op_class_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {190, UPB_SIZE(12, 16), -9, UPB_SIZE(435, 625), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_op_class_item(pg_query_Node* msg) { + const upb_MiniTableField field = {191, UPB_SIZE(12, 16), -9, UPB_SIZE(433, 624), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateOpClassItem* pg_query_Node_create_op_class_item(const pg_query_Node* msg) { + const pg_query_CreateOpClassItem* default_val = NULL; + const pg_query_CreateOpClassItem* ret; + const upb_MiniTableField field = {191, UPB_SIZE(12, 16), -9, UPB_SIZE(433, 624), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateOpClassItem_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_op_class_item(const pg_query_Node* msg) { + const upb_MiniTableField field = {191, UPB_SIZE(12, 16), -9, UPB_SIZE(433, 624), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_op_family_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {192, UPB_SIZE(12, 16), -9, UPB_SIZE(431, 623), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateOpFamilyStmt* pg_query_Node_create_op_family_stmt(const pg_query_Node* msg) { + const pg_query_CreateOpFamilyStmt* default_val = NULL; + const pg_query_CreateOpFamilyStmt* ret; + const upb_MiniTableField field = {192, UPB_SIZE(12, 16), -9, UPB_SIZE(431, 623), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateOpFamilyStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_op_family_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {192, UPB_SIZE(12, 16), -9, UPB_SIZE(431, 623), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_op_family_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {193, UPB_SIZE(12, 16), -9, UPB_SIZE(429, 622), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterOpFamilyStmt* pg_query_Node_alter_op_family_stmt(const pg_query_Node* msg) { + const pg_query_AlterOpFamilyStmt* default_val = NULL; + const pg_query_AlterOpFamilyStmt* ret; + const upb_MiniTableField field = {193, UPB_SIZE(12, 16), -9, UPB_SIZE(429, 622), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterOpFamilyStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_op_family_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {193, UPB_SIZE(12, 16), -9, UPB_SIZE(429, 622), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_drop_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {194, UPB_SIZE(12, 16), -9, UPB_SIZE(427, 621), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DropStmt* pg_query_Node_drop_stmt(const pg_query_Node* msg) { + const pg_query_DropStmt* default_val = NULL; + const pg_query_DropStmt* ret; + const upb_MiniTableField field = {194, UPB_SIZE(12, 16), -9, UPB_SIZE(427, 621), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_drop_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {194, UPB_SIZE(12, 16), -9, UPB_SIZE(427, 621), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_truncate_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {195, UPB_SIZE(12, 16), -9, UPB_SIZE(425, 620), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TruncateStmt* pg_query_Node_truncate_stmt(const pg_query_Node* msg) { + const pg_query_TruncateStmt* default_val = NULL; + const pg_query_TruncateStmt* ret; + const upb_MiniTableField field = {195, UPB_SIZE(12, 16), -9, UPB_SIZE(425, 620), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TruncateStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_truncate_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {195, UPB_SIZE(12, 16), -9, UPB_SIZE(425, 620), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_comment_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {196, UPB_SIZE(12, 16), -9, UPB_SIZE(423, 619), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CommentStmt* pg_query_Node_comment_stmt(const pg_query_Node* msg) { + const pg_query_CommentStmt* default_val = NULL; + const pg_query_CommentStmt* ret; + const upb_MiniTableField field = {196, UPB_SIZE(12, 16), -9, UPB_SIZE(423, 619), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CommentStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_comment_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {196, UPB_SIZE(12, 16), -9, UPB_SIZE(423, 619), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_sec_label_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {197, UPB_SIZE(12, 16), -9, UPB_SIZE(421, 618), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SecLabelStmt* pg_query_Node_sec_label_stmt(const pg_query_Node* msg) { + const pg_query_SecLabelStmt* default_val = NULL; + const pg_query_SecLabelStmt* ret; + const upb_MiniTableField field = {197, UPB_SIZE(12, 16), -9, UPB_SIZE(421, 618), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SecLabelStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_sec_label_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {197, UPB_SIZE(12, 16), -9, UPB_SIZE(421, 618), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_declare_cursor_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {198, UPB_SIZE(12, 16), -9, UPB_SIZE(419, 617), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DeclareCursorStmt* pg_query_Node_declare_cursor_stmt(const pg_query_Node* msg) { + const pg_query_DeclareCursorStmt* default_val = NULL; + const pg_query_DeclareCursorStmt* ret; + const upb_MiniTableField field = {198, UPB_SIZE(12, 16), -9, UPB_SIZE(419, 617), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DeclareCursorStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_declare_cursor_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {198, UPB_SIZE(12, 16), -9, UPB_SIZE(419, 617), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_close_portal_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {199, UPB_SIZE(12, 16), -9, UPB_SIZE(417, 616), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ClosePortalStmt* pg_query_Node_close_portal_stmt(const pg_query_Node* msg) { + const pg_query_ClosePortalStmt* default_val = NULL; + const pg_query_ClosePortalStmt* ret; + const upb_MiniTableField field = {199, UPB_SIZE(12, 16), -9, UPB_SIZE(417, 616), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ClosePortalStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_close_portal_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {199, UPB_SIZE(12, 16), -9, UPB_SIZE(417, 616), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_fetch_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {200, UPB_SIZE(12, 16), -9, UPB_SIZE(415, 615), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_FetchStmt* pg_query_Node_fetch_stmt(const pg_query_Node* msg) { + const pg_query_FetchStmt* default_val = NULL; + const pg_query_FetchStmt* ret; + const upb_MiniTableField field = {200, UPB_SIZE(12, 16), -9, UPB_SIZE(415, 615), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FetchStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_fetch_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {200, UPB_SIZE(12, 16), -9, UPB_SIZE(415, 615), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_index_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {201, UPB_SIZE(12, 16), -9, UPB_SIZE(413, 614), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_IndexStmt* pg_query_Node_index_stmt(const pg_query_Node* msg) { + const pg_query_IndexStmt* default_val = NULL; + const pg_query_IndexStmt* ret; + const upb_MiniTableField field = {201, UPB_SIZE(12, 16), -9, UPB_SIZE(413, 614), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IndexStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_index_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {201, UPB_SIZE(12, 16), -9, UPB_SIZE(413, 614), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_stats_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {202, UPB_SIZE(12, 16), -9, UPB_SIZE(411, 613), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateStatsStmt* pg_query_Node_create_stats_stmt(const pg_query_Node* msg) { + const pg_query_CreateStatsStmt* default_val = NULL; + const pg_query_CreateStatsStmt* ret; + const upb_MiniTableField field = {202, UPB_SIZE(12, 16), -9, UPB_SIZE(411, 613), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateStatsStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_stats_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {202, UPB_SIZE(12, 16), -9, UPB_SIZE(411, 613), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_stats_elem(pg_query_Node* msg) { + const upb_MiniTableField field = {203, UPB_SIZE(12, 16), -9, UPB_SIZE(409, 612), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_StatsElem* pg_query_Node_stats_elem(const pg_query_Node* msg) { + const pg_query_StatsElem* default_val = NULL; + const pg_query_StatsElem* ret; + const upb_MiniTableField field = {203, UPB_SIZE(12, 16), -9, UPB_SIZE(409, 612), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__StatsElem_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_stats_elem(const pg_query_Node* msg) { + const upb_MiniTableField field = {203, UPB_SIZE(12, 16), -9, UPB_SIZE(409, 612), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_stats_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {204, UPB_SIZE(12, 16), -9, UPB_SIZE(407, 611), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterStatsStmt* pg_query_Node_alter_stats_stmt(const pg_query_Node* msg) { + const pg_query_AlterStatsStmt* default_val = NULL; + const pg_query_AlterStatsStmt* ret; + const upb_MiniTableField field = {204, UPB_SIZE(12, 16), -9, UPB_SIZE(407, 611), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterStatsStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_stats_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {204, UPB_SIZE(12, 16), -9, UPB_SIZE(407, 611), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_function_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {205, UPB_SIZE(12, 16), -9, UPB_SIZE(405, 610), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateFunctionStmt* pg_query_Node_create_function_stmt(const pg_query_Node* msg) { + const pg_query_CreateFunctionStmt* default_val = NULL; + const pg_query_CreateFunctionStmt* ret; + const upb_MiniTableField field = {205, UPB_SIZE(12, 16), -9, UPB_SIZE(405, 610), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateFunctionStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_function_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {205, UPB_SIZE(12, 16), -9, UPB_SIZE(405, 610), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_function_parameter(pg_query_Node* msg) { + const upb_MiniTableField field = {206, UPB_SIZE(12, 16), -9, UPB_SIZE(403, 609), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_FunctionParameter* pg_query_Node_function_parameter(const pg_query_Node* msg) { + const pg_query_FunctionParameter* default_val = NULL; + const pg_query_FunctionParameter* ret; + const upb_MiniTableField field = {206, UPB_SIZE(12, 16), -9, UPB_SIZE(403, 609), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FunctionParameter_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_function_parameter(const pg_query_Node* msg) { + const upb_MiniTableField field = {206, UPB_SIZE(12, 16), -9, UPB_SIZE(403, 609), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_function_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {207, UPB_SIZE(12, 16), -9, UPB_SIZE(401, 608), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterFunctionStmt* pg_query_Node_alter_function_stmt(const pg_query_Node* msg) { + const pg_query_AlterFunctionStmt* default_val = NULL; + const pg_query_AlterFunctionStmt* ret; + const upb_MiniTableField field = {207, UPB_SIZE(12, 16), -9, UPB_SIZE(401, 608), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterFunctionStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_function_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {207, UPB_SIZE(12, 16), -9, UPB_SIZE(401, 608), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_do_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {208, UPB_SIZE(12, 16), -9, UPB_SIZE(399, 607), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DoStmt* pg_query_Node_do_stmt(const pg_query_Node* msg) { + const pg_query_DoStmt* default_val = NULL; + const pg_query_DoStmt* ret; + const upb_MiniTableField field = {208, UPB_SIZE(12, 16), -9, UPB_SIZE(399, 607), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DoStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_do_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {208, UPB_SIZE(12, 16), -9, UPB_SIZE(399, 607), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_inline_code_block(pg_query_Node* msg) { + const upb_MiniTableField field = {209, UPB_SIZE(12, 16), -9, UPB_SIZE(397, 606), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_InlineCodeBlock* pg_query_Node_inline_code_block(const pg_query_Node* msg) { + const pg_query_InlineCodeBlock* default_val = NULL; + const pg_query_InlineCodeBlock* ret; + const upb_MiniTableField field = {209, UPB_SIZE(12, 16), -9, UPB_SIZE(397, 606), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__InlineCodeBlock_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_inline_code_block(const pg_query_Node* msg) { + const upb_MiniTableField field = {209, UPB_SIZE(12, 16), -9, UPB_SIZE(397, 606), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_call_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {210, UPB_SIZE(12, 16), -9, UPB_SIZE(395, 605), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CallStmt* pg_query_Node_call_stmt(const pg_query_Node* msg) { + const pg_query_CallStmt* default_val = NULL; + const pg_query_CallStmt* ret; + const upb_MiniTableField field = {210, UPB_SIZE(12, 16), -9, UPB_SIZE(395, 605), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CallStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_call_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {210, UPB_SIZE(12, 16), -9, UPB_SIZE(395, 605), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_call_context(pg_query_Node* msg) { + const upb_MiniTableField field = {211, UPB_SIZE(12, 16), -9, UPB_SIZE(393, 604), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CallContext* pg_query_Node_call_context(const pg_query_Node* msg) { + const pg_query_CallContext* default_val = NULL; + const pg_query_CallContext* ret; + const upb_MiniTableField field = {211, UPB_SIZE(12, 16), -9, UPB_SIZE(393, 604), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CallContext_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_call_context(const pg_query_Node* msg) { + const upb_MiniTableField field = {211, UPB_SIZE(12, 16), -9, UPB_SIZE(393, 604), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_rename_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {212, UPB_SIZE(12, 16), -9, UPB_SIZE(391, 603), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RenameStmt* pg_query_Node_rename_stmt(const pg_query_Node* msg) { + const pg_query_RenameStmt* default_val = NULL; + const pg_query_RenameStmt* ret; + const upb_MiniTableField field = {212, UPB_SIZE(12, 16), -9, UPB_SIZE(391, 603), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RenameStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_rename_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {212, UPB_SIZE(12, 16), -9, UPB_SIZE(391, 603), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_object_depends_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {213, UPB_SIZE(12, 16), -9, UPB_SIZE(389, 602), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterObjectDependsStmt* pg_query_Node_alter_object_depends_stmt(const pg_query_Node* msg) { + const pg_query_AlterObjectDependsStmt* default_val = NULL; + const pg_query_AlterObjectDependsStmt* ret; + const upb_MiniTableField field = {213, UPB_SIZE(12, 16), -9, UPB_SIZE(389, 602), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterObjectDependsStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_object_depends_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {213, UPB_SIZE(12, 16), -9, UPB_SIZE(389, 602), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_object_schema_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {214, UPB_SIZE(12, 16), -9, UPB_SIZE(387, 601), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterObjectSchemaStmt* pg_query_Node_alter_object_schema_stmt(const pg_query_Node* msg) { + const pg_query_AlterObjectSchemaStmt* default_val = NULL; + const pg_query_AlterObjectSchemaStmt* ret; + const upb_MiniTableField field = {214, UPB_SIZE(12, 16), -9, UPB_SIZE(387, 601), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterObjectSchemaStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_object_schema_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {214, UPB_SIZE(12, 16), -9, UPB_SIZE(387, 601), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_owner_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {215, UPB_SIZE(12, 16), -9, UPB_SIZE(385, 600), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterOwnerStmt* pg_query_Node_alter_owner_stmt(const pg_query_Node* msg) { + const pg_query_AlterOwnerStmt* default_val = NULL; + const pg_query_AlterOwnerStmt* ret; + const upb_MiniTableField field = {215, UPB_SIZE(12, 16), -9, UPB_SIZE(385, 600), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterOwnerStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_owner_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {215, UPB_SIZE(12, 16), -9, UPB_SIZE(385, 600), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_operator_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {216, UPB_SIZE(12, 16), -9, UPB_SIZE(383, 599), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterOperatorStmt* pg_query_Node_alter_operator_stmt(const pg_query_Node* msg) { + const pg_query_AlterOperatorStmt* default_val = NULL; + const pg_query_AlterOperatorStmt* ret; + const upb_MiniTableField field = {216, UPB_SIZE(12, 16), -9, UPB_SIZE(383, 599), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterOperatorStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_operator_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {216, UPB_SIZE(12, 16), -9, UPB_SIZE(383, 599), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_type_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {217, UPB_SIZE(12, 16), -9, UPB_SIZE(381, 598), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterTypeStmt* pg_query_Node_alter_type_stmt(const pg_query_Node* msg) { + const pg_query_AlterTypeStmt* default_val = NULL; + const pg_query_AlterTypeStmt* ret; + const upb_MiniTableField field = {217, UPB_SIZE(12, 16), -9, UPB_SIZE(381, 598), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTypeStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_type_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {217, UPB_SIZE(12, 16), -9, UPB_SIZE(381, 598), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_rule_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {218, UPB_SIZE(12, 16), -9, UPB_SIZE(379, 597), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RuleStmt* pg_query_Node_rule_stmt(const pg_query_Node* msg) { + const pg_query_RuleStmt* default_val = NULL; + const pg_query_RuleStmt* ret; + const upb_MiniTableField field = {218, UPB_SIZE(12, 16), -9, UPB_SIZE(379, 597), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RuleStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_rule_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {218, UPB_SIZE(12, 16), -9, UPB_SIZE(379, 597), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_notify_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {219, UPB_SIZE(12, 16), -9, UPB_SIZE(377, 596), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_NotifyStmt* pg_query_Node_notify_stmt(const pg_query_Node* msg) { + const pg_query_NotifyStmt* default_val = NULL; + const pg_query_NotifyStmt* ret; + const upb_MiniTableField field = {219, UPB_SIZE(12, 16), -9, UPB_SIZE(377, 596), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__NotifyStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_notify_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {219, UPB_SIZE(12, 16), -9, UPB_SIZE(377, 596), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_listen_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {220, UPB_SIZE(12, 16), -9, UPB_SIZE(375, 595), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ListenStmt* pg_query_Node_listen_stmt(const pg_query_Node* msg) { + const pg_query_ListenStmt* default_val = NULL; + const pg_query_ListenStmt* ret; + const upb_MiniTableField field = {220, UPB_SIZE(12, 16), -9, UPB_SIZE(375, 595), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ListenStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_listen_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {220, UPB_SIZE(12, 16), -9, UPB_SIZE(375, 595), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_unlisten_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {221, UPB_SIZE(12, 16), -9, UPB_SIZE(373, 594), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_UnlistenStmt* pg_query_Node_unlisten_stmt(const pg_query_Node* msg) { + const pg_query_UnlistenStmt* default_val = NULL; + const pg_query_UnlistenStmt* ret; + const upb_MiniTableField field = {221, UPB_SIZE(12, 16), -9, UPB_SIZE(373, 594), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__UnlistenStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_unlisten_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {221, UPB_SIZE(12, 16), -9, UPB_SIZE(373, 594), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_transaction_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {222, UPB_SIZE(12, 16), -9, UPB_SIZE(371, 593), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TransactionStmt* pg_query_Node_transaction_stmt(const pg_query_Node* msg) { + const pg_query_TransactionStmt* default_val = NULL; + const pg_query_TransactionStmt* ret; + const upb_MiniTableField field = {222, UPB_SIZE(12, 16), -9, UPB_SIZE(371, 593), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TransactionStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_transaction_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {222, UPB_SIZE(12, 16), -9, UPB_SIZE(371, 593), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_composite_type_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {223, UPB_SIZE(12, 16), -9, UPB_SIZE(369, 592), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CompositeTypeStmt* pg_query_Node_composite_type_stmt(const pg_query_Node* msg) { + const pg_query_CompositeTypeStmt* default_val = NULL; + const pg_query_CompositeTypeStmt* ret; + const upb_MiniTableField field = {223, UPB_SIZE(12, 16), -9, UPB_SIZE(369, 592), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CompositeTypeStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_composite_type_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {223, UPB_SIZE(12, 16), -9, UPB_SIZE(369, 592), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_enum_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {224, UPB_SIZE(12, 16), -9, UPB_SIZE(367, 591), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateEnumStmt* pg_query_Node_create_enum_stmt(const pg_query_Node* msg) { + const pg_query_CreateEnumStmt* default_val = NULL; + const pg_query_CreateEnumStmt* ret; + const upb_MiniTableField field = {224, UPB_SIZE(12, 16), -9, UPB_SIZE(367, 591), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateEnumStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_enum_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {224, UPB_SIZE(12, 16), -9, UPB_SIZE(367, 591), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_range_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {225, UPB_SIZE(12, 16), -9, UPB_SIZE(365, 590), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateRangeStmt* pg_query_Node_create_range_stmt(const pg_query_Node* msg) { + const pg_query_CreateRangeStmt* default_val = NULL; + const pg_query_CreateRangeStmt* ret; + const upb_MiniTableField field = {225, UPB_SIZE(12, 16), -9, UPB_SIZE(365, 590), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateRangeStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_range_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {225, UPB_SIZE(12, 16), -9, UPB_SIZE(365, 590), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_enum_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {226, UPB_SIZE(12, 16), -9, UPB_SIZE(363, 589), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterEnumStmt* pg_query_Node_alter_enum_stmt(const pg_query_Node* msg) { + const pg_query_AlterEnumStmt* default_val = NULL; + const pg_query_AlterEnumStmt* ret; + const upb_MiniTableField field = {226, UPB_SIZE(12, 16), -9, UPB_SIZE(363, 589), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterEnumStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_enum_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {226, UPB_SIZE(12, 16), -9, UPB_SIZE(363, 589), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_view_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {227, UPB_SIZE(12, 16), -9, UPB_SIZE(361, 588), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ViewStmt* pg_query_Node_view_stmt(const pg_query_Node* msg) { + const pg_query_ViewStmt* default_val = NULL; + const pg_query_ViewStmt* ret; + const upb_MiniTableField field = {227, UPB_SIZE(12, 16), -9, UPB_SIZE(361, 588), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ViewStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_view_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {227, UPB_SIZE(12, 16), -9, UPB_SIZE(361, 588), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_load_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {228, UPB_SIZE(12, 16), -9, UPB_SIZE(359, 587), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_LoadStmt* pg_query_Node_load_stmt(const pg_query_Node* msg) { + const pg_query_LoadStmt* default_val = NULL; + const pg_query_LoadStmt* ret; + const upb_MiniTableField field = {228, UPB_SIZE(12, 16), -9, UPB_SIZE(359, 587), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__LoadStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_load_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {228, UPB_SIZE(12, 16), -9, UPB_SIZE(359, 587), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_createdb_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {229, UPB_SIZE(12, 16), -9, UPB_SIZE(357, 586), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreatedbStmt* pg_query_Node_createdb_stmt(const pg_query_Node* msg) { + const pg_query_CreatedbStmt* default_val = NULL; + const pg_query_CreatedbStmt* ret; + const upb_MiniTableField field = {229, UPB_SIZE(12, 16), -9, UPB_SIZE(357, 586), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreatedbStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_createdb_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {229, UPB_SIZE(12, 16), -9, UPB_SIZE(357, 586), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_database_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {230, UPB_SIZE(12, 16), -9, UPB_SIZE(355, 585), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterDatabaseStmt* pg_query_Node_alter_database_stmt(const pg_query_Node* msg) { + const pg_query_AlterDatabaseStmt* default_val = NULL; + const pg_query_AlterDatabaseStmt* ret; + const upb_MiniTableField field = {230, UPB_SIZE(12, 16), -9, UPB_SIZE(355, 585), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterDatabaseStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_database_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {230, UPB_SIZE(12, 16), -9, UPB_SIZE(355, 585), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_database_refresh_coll_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {231, UPB_SIZE(12, 16), -9, UPB_SIZE(353, 584), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterDatabaseRefreshCollStmt* pg_query_Node_alter_database_refresh_coll_stmt(const pg_query_Node* msg) { + const pg_query_AlterDatabaseRefreshCollStmt* default_val = NULL; + const pg_query_AlterDatabaseRefreshCollStmt* ret; + const upb_MiniTableField field = {231, UPB_SIZE(12, 16), -9, UPB_SIZE(353, 584), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterDatabaseRefreshCollStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_database_refresh_coll_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {231, UPB_SIZE(12, 16), -9, UPB_SIZE(353, 584), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_database_set_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {232, UPB_SIZE(12, 16), -9, UPB_SIZE(351, 583), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterDatabaseSetStmt* pg_query_Node_alter_database_set_stmt(const pg_query_Node* msg) { + const pg_query_AlterDatabaseSetStmt* default_val = NULL; + const pg_query_AlterDatabaseSetStmt* ret; + const upb_MiniTableField field = {232, UPB_SIZE(12, 16), -9, UPB_SIZE(351, 583), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterDatabaseSetStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_database_set_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {232, UPB_SIZE(12, 16), -9, UPB_SIZE(351, 583), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_dropdb_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {233, UPB_SIZE(12, 16), -9, UPB_SIZE(349, 582), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DropdbStmt* pg_query_Node_dropdb_stmt(const pg_query_Node* msg) { + const pg_query_DropdbStmt* default_val = NULL; + const pg_query_DropdbStmt* ret; + const upb_MiniTableField field = {233, UPB_SIZE(12, 16), -9, UPB_SIZE(349, 582), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropdbStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_dropdb_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {233, UPB_SIZE(12, 16), -9, UPB_SIZE(349, 582), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_system_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {234, UPB_SIZE(12, 16), -9, UPB_SIZE(347, 581), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterSystemStmt* pg_query_Node_alter_system_stmt(const pg_query_Node* msg) { + const pg_query_AlterSystemStmt* default_val = NULL; + const pg_query_AlterSystemStmt* ret; + const upb_MiniTableField field = {234, UPB_SIZE(12, 16), -9, UPB_SIZE(347, 581), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterSystemStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_system_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {234, UPB_SIZE(12, 16), -9, UPB_SIZE(347, 581), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_cluster_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {235, UPB_SIZE(12, 16), -9, UPB_SIZE(345, 580), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ClusterStmt* pg_query_Node_cluster_stmt(const pg_query_Node* msg) { + const pg_query_ClusterStmt* default_val = NULL; + const pg_query_ClusterStmt* ret; + const upb_MiniTableField field = {235, UPB_SIZE(12, 16), -9, UPB_SIZE(345, 580), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ClusterStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_cluster_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {235, UPB_SIZE(12, 16), -9, UPB_SIZE(345, 580), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_vacuum_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {236, UPB_SIZE(12, 16), -9, UPB_SIZE(343, 579), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_VacuumStmt* pg_query_Node_vacuum_stmt(const pg_query_Node* msg) { + const pg_query_VacuumStmt* default_val = NULL; + const pg_query_VacuumStmt* ret; + const upb_MiniTableField field = {236, UPB_SIZE(12, 16), -9, UPB_SIZE(343, 579), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VacuumStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_vacuum_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {236, UPB_SIZE(12, 16), -9, UPB_SIZE(343, 579), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_vacuum_relation(pg_query_Node* msg) { + const upb_MiniTableField field = {237, UPB_SIZE(12, 16), -9, UPB_SIZE(341, 578), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_VacuumRelation* pg_query_Node_vacuum_relation(const pg_query_Node* msg) { + const pg_query_VacuumRelation* default_val = NULL; + const pg_query_VacuumRelation* ret; + const upb_MiniTableField field = {237, UPB_SIZE(12, 16), -9, UPB_SIZE(341, 578), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VacuumRelation_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_vacuum_relation(const pg_query_Node* msg) { + const upb_MiniTableField field = {237, UPB_SIZE(12, 16), -9, UPB_SIZE(341, 578), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_explain_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {238, UPB_SIZE(12, 16), -9, UPB_SIZE(339, 577), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ExplainStmt* pg_query_Node_explain_stmt(const pg_query_Node* msg) { + const pg_query_ExplainStmt* default_val = NULL; + const pg_query_ExplainStmt* ret; + const upb_MiniTableField field = {238, UPB_SIZE(12, 16), -9, UPB_SIZE(339, 577), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ExplainStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_explain_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {238, UPB_SIZE(12, 16), -9, UPB_SIZE(339, 577), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_table_as_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {239, UPB_SIZE(12, 16), -9, UPB_SIZE(337, 576), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateTableAsStmt* pg_query_Node_create_table_as_stmt(const pg_query_Node* msg) { + const pg_query_CreateTableAsStmt* default_val = NULL; + const pg_query_CreateTableAsStmt* ret; + const upb_MiniTableField field = {239, UPB_SIZE(12, 16), -9, UPB_SIZE(337, 576), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateTableAsStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_table_as_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {239, UPB_SIZE(12, 16), -9, UPB_SIZE(337, 576), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_refresh_mat_view_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {240, UPB_SIZE(12, 16), -9, UPB_SIZE(335, 575), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RefreshMatViewStmt* pg_query_Node_refresh_mat_view_stmt(const pg_query_Node* msg) { + const pg_query_RefreshMatViewStmt* default_val = NULL; + const pg_query_RefreshMatViewStmt* ret; + const upb_MiniTableField field = {240, UPB_SIZE(12, 16), -9, UPB_SIZE(335, 575), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RefreshMatViewStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_refresh_mat_view_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {240, UPB_SIZE(12, 16), -9, UPB_SIZE(335, 575), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_check_point_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {241, UPB_SIZE(12, 16), -9, UPB_SIZE(333, 574), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CheckPointStmt* pg_query_Node_check_point_stmt(const pg_query_Node* msg) { + const pg_query_CheckPointStmt* default_val = NULL; + const pg_query_CheckPointStmt* ret; + const upb_MiniTableField field = {241, UPB_SIZE(12, 16), -9, UPB_SIZE(333, 574), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CheckPointStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_check_point_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {241, UPB_SIZE(12, 16), -9, UPB_SIZE(333, 574), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_discard_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {242, UPB_SIZE(12, 16), -9, UPB_SIZE(331, 573), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DiscardStmt* pg_query_Node_discard_stmt(const pg_query_Node* msg) { + const pg_query_DiscardStmt* default_val = NULL; + const pg_query_DiscardStmt* ret; + const upb_MiniTableField field = {242, UPB_SIZE(12, 16), -9, UPB_SIZE(331, 573), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DiscardStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_discard_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {242, UPB_SIZE(12, 16), -9, UPB_SIZE(331, 573), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_lock_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {243, UPB_SIZE(12, 16), -9, UPB_SIZE(329, 572), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_LockStmt* pg_query_Node_lock_stmt(const pg_query_Node* msg) { + const pg_query_LockStmt* default_val = NULL; + const pg_query_LockStmt* ret; + const upb_MiniTableField field = {243, UPB_SIZE(12, 16), -9, UPB_SIZE(329, 572), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__LockStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_lock_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {243, UPB_SIZE(12, 16), -9, UPB_SIZE(329, 572), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_constraints_set_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {244, UPB_SIZE(12, 16), -9, UPB_SIZE(327, 571), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ConstraintsSetStmt* pg_query_Node_constraints_set_stmt(const pg_query_Node* msg) { + const pg_query_ConstraintsSetStmt* default_val = NULL; + const pg_query_ConstraintsSetStmt* ret; + const upb_MiniTableField field = {244, UPB_SIZE(12, 16), -9, UPB_SIZE(327, 571), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ConstraintsSetStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_constraints_set_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {244, UPB_SIZE(12, 16), -9, UPB_SIZE(327, 571), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_reindex_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {245, UPB_SIZE(12, 16), -9, UPB_SIZE(325, 570), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReindexStmt* pg_query_Node_reindex_stmt(const pg_query_Node* msg) { + const pg_query_ReindexStmt* default_val = NULL; + const pg_query_ReindexStmt* ret; + const upb_MiniTableField field = {245, UPB_SIZE(12, 16), -9, UPB_SIZE(325, 570), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReindexStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_reindex_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {245, UPB_SIZE(12, 16), -9, UPB_SIZE(325, 570), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_conversion_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {246, UPB_SIZE(12, 16), -9, UPB_SIZE(323, 569), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateConversionStmt* pg_query_Node_create_conversion_stmt(const pg_query_Node* msg) { + const pg_query_CreateConversionStmt* default_val = NULL; + const pg_query_CreateConversionStmt* ret; + const upb_MiniTableField field = {246, UPB_SIZE(12, 16), -9, UPB_SIZE(323, 569), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateConversionStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_conversion_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {246, UPB_SIZE(12, 16), -9, UPB_SIZE(323, 569), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_cast_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {247, UPB_SIZE(12, 16), -9, UPB_SIZE(321, 568), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateCastStmt* pg_query_Node_create_cast_stmt(const pg_query_Node* msg) { + const pg_query_CreateCastStmt* default_val = NULL; + const pg_query_CreateCastStmt* ret; + const upb_MiniTableField field = {247, UPB_SIZE(12, 16), -9, UPB_SIZE(321, 568), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateCastStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_cast_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {247, UPB_SIZE(12, 16), -9, UPB_SIZE(321, 568), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_transform_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {248, UPB_SIZE(12, 16), -9, UPB_SIZE(319, 567), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateTransformStmt* pg_query_Node_create_transform_stmt(const pg_query_Node* msg) { + const pg_query_CreateTransformStmt* default_val = NULL; + const pg_query_CreateTransformStmt* ret; + const upb_MiniTableField field = {248, UPB_SIZE(12, 16), -9, UPB_SIZE(319, 567), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateTransformStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_transform_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {248, UPB_SIZE(12, 16), -9, UPB_SIZE(319, 567), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_prepare_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {249, UPB_SIZE(12, 16), -9, UPB_SIZE(317, 566), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PrepareStmt* pg_query_Node_prepare_stmt(const pg_query_Node* msg) { + const pg_query_PrepareStmt* default_val = NULL; + const pg_query_PrepareStmt* ret; + const upb_MiniTableField field = {249, UPB_SIZE(12, 16), -9, UPB_SIZE(317, 566), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PrepareStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_prepare_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {249, UPB_SIZE(12, 16), -9, UPB_SIZE(317, 566), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_execute_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {250, UPB_SIZE(12, 16), -9, UPB_SIZE(315, 565), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ExecuteStmt* pg_query_Node_execute_stmt(const pg_query_Node* msg) { + const pg_query_ExecuteStmt* default_val = NULL; + const pg_query_ExecuteStmt* ret; + const upb_MiniTableField field = {250, UPB_SIZE(12, 16), -9, UPB_SIZE(315, 565), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ExecuteStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_execute_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {250, UPB_SIZE(12, 16), -9, UPB_SIZE(315, 565), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_deallocate_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {251, UPB_SIZE(12, 16), -9, UPB_SIZE(313, 564), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DeallocateStmt* pg_query_Node_deallocate_stmt(const pg_query_Node* msg) { + const pg_query_DeallocateStmt* default_val = NULL; + const pg_query_DeallocateStmt* ret; + const upb_MiniTableField field = {251, UPB_SIZE(12, 16), -9, UPB_SIZE(313, 564), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DeallocateStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_deallocate_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {251, UPB_SIZE(12, 16), -9, UPB_SIZE(313, 564), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_drop_owned_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {252, UPB_SIZE(12, 16), -9, UPB_SIZE(311, 563), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DropOwnedStmt* pg_query_Node_drop_owned_stmt(const pg_query_Node* msg) { + const pg_query_DropOwnedStmt* default_val = NULL; + const pg_query_DropOwnedStmt* ret; + const upb_MiniTableField field = {252, UPB_SIZE(12, 16), -9, UPB_SIZE(311, 563), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropOwnedStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_drop_owned_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {252, UPB_SIZE(12, 16), -9, UPB_SIZE(311, 563), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_reassign_owned_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {253, UPB_SIZE(12, 16), -9, UPB_SIZE(309, 562), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReassignOwnedStmt* pg_query_Node_reassign_owned_stmt(const pg_query_Node* msg) { + const pg_query_ReassignOwnedStmt* default_val = NULL; + const pg_query_ReassignOwnedStmt* ret; + const upb_MiniTableField field = {253, UPB_SIZE(12, 16), -9, UPB_SIZE(309, 562), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReassignOwnedStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_reassign_owned_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {253, UPB_SIZE(12, 16), -9, UPB_SIZE(309, 562), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_tsdictionary_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {254, UPB_SIZE(12, 16), -9, UPB_SIZE(307, 561), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterTSDictionaryStmt* pg_query_Node_alter_tsdictionary_stmt(const pg_query_Node* msg) { + const pg_query_AlterTSDictionaryStmt* default_val = NULL; + const pg_query_AlterTSDictionaryStmt* ret; + const upb_MiniTableField field = {254, UPB_SIZE(12, 16), -9, UPB_SIZE(307, 561), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTSDictionaryStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_tsdictionary_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {254, UPB_SIZE(12, 16), -9, UPB_SIZE(307, 561), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_tsconfiguration_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {255, UPB_SIZE(12, 16), -9, UPB_SIZE(305, 560), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterTSConfigurationStmt* pg_query_Node_alter_tsconfiguration_stmt(const pg_query_Node* msg) { + const pg_query_AlterTSConfigurationStmt* default_val = NULL; + const pg_query_AlterTSConfigurationStmt* ret; + const upb_MiniTableField field = {255, UPB_SIZE(12, 16), -9, UPB_SIZE(305, 560), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTSConfigurationStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_tsconfiguration_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {255, UPB_SIZE(12, 16), -9, UPB_SIZE(305, 560), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_publication_table(pg_query_Node* msg) { + const upb_MiniTableField field = {256, UPB_SIZE(12, 16), -9, UPB_SIZE(303, 559), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PublicationTable* pg_query_Node_publication_table(const pg_query_Node* msg) { + const pg_query_PublicationTable* default_val = NULL; + const pg_query_PublicationTable* ret; + const upb_MiniTableField field = {256, UPB_SIZE(12, 16), -9, UPB_SIZE(303, 559), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PublicationTable_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_publication_table(const pg_query_Node* msg) { + const upb_MiniTableField field = {256, UPB_SIZE(12, 16), -9, UPB_SIZE(303, 559), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_publication_obj_spec(pg_query_Node* msg) { + const upb_MiniTableField field = {257, UPB_SIZE(12, 16), -9, UPB_SIZE(301, 558), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PublicationObjSpec* pg_query_Node_publication_obj_spec(const pg_query_Node* msg) { + const pg_query_PublicationObjSpec* default_val = NULL; + const pg_query_PublicationObjSpec* ret; + const upb_MiniTableField field = {257, UPB_SIZE(12, 16), -9, UPB_SIZE(301, 558), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PublicationObjSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_publication_obj_spec(const pg_query_Node* msg) { + const upb_MiniTableField field = {257, UPB_SIZE(12, 16), -9, UPB_SIZE(301, 558), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_publication_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {258, UPB_SIZE(12, 16), -9, UPB_SIZE(299, 557), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreatePublicationStmt* pg_query_Node_create_publication_stmt(const pg_query_Node* msg) { + const pg_query_CreatePublicationStmt* default_val = NULL; + const pg_query_CreatePublicationStmt* ret; + const upb_MiniTableField field = {258, UPB_SIZE(12, 16), -9, UPB_SIZE(299, 557), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreatePublicationStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_publication_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {258, UPB_SIZE(12, 16), -9, UPB_SIZE(299, 557), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_publication_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {259, UPB_SIZE(12, 16), -9, UPB_SIZE(297, 556), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterPublicationStmt* pg_query_Node_alter_publication_stmt(const pg_query_Node* msg) { + const pg_query_AlterPublicationStmt* default_val = NULL; + const pg_query_AlterPublicationStmt* ret; + const upb_MiniTableField field = {259, UPB_SIZE(12, 16), -9, UPB_SIZE(297, 556), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterPublicationStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_publication_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {259, UPB_SIZE(12, 16), -9, UPB_SIZE(297, 556), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_create_subscription_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {260, UPB_SIZE(12, 16), -9, UPB_SIZE(295, 555), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateSubscriptionStmt* pg_query_Node_create_subscription_stmt(const pg_query_Node* msg) { + const pg_query_CreateSubscriptionStmt* default_val = NULL; + const pg_query_CreateSubscriptionStmt* ret; + const upb_MiniTableField field = {260, UPB_SIZE(12, 16), -9, UPB_SIZE(295, 555), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateSubscriptionStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_create_subscription_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {260, UPB_SIZE(12, 16), -9, UPB_SIZE(295, 555), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_alter_subscription_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {261, UPB_SIZE(12, 16), -9, UPB_SIZE(293, 554), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_AlterSubscriptionStmt* pg_query_Node_alter_subscription_stmt(const pg_query_Node* msg) { + const pg_query_AlterSubscriptionStmt* default_val = NULL; + const pg_query_AlterSubscriptionStmt* ret; + const upb_MiniTableField field = {261, UPB_SIZE(12, 16), -9, UPB_SIZE(293, 554), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterSubscriptionStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_alter_subscription_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {261, UPB_SIZE(12, 16), -9, UPB_SIZE(293, 554), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_drop_subscription_stmt(pg_query_Node* msg) { + const upb_MiniTableField field = {262, UPB_SIZE(12, 16), -9, UPB_SIZE(291, 553), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_DropSubscriptionStmt* pg_query_Node_drop_subscription_stmt(const pg_query_Node* msg) { + const pg_query_DropSubscriptionStmt* default_val = NULL; + const pg_query_DropSubscriptionStmt* ret; + const upb_MiniTableField field = {262, UPB_SIZE(12, 16), -9, UPB_SIZE(291, 553), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropSubscriptionStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_drop_subscription_stmt(const pg_query_Node* msg) { + const upb_MiniTableField field = {262, UPB_SIZE(12, 16), -9, UPB_SIZE(291, 553), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_integer(pg_query_Node* msg) { + const upb_MiniTableField field = {263, UPB_SIZE(12, 16), -9, UPB_SIZE(289, 552), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Integer* pg_query_Node_integer(const pg_query_Node* msg) { + const pg_query_Integer* default_val = NULL; + const pg_query_Integer* ret; + const upb_MiniTableField field = {263, UPB_SIZE(12, 16), -9, UPB_SIZE(289, 552), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Integer_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_integer(const pg_query_Node* msg) { + const upb_MiniTableField field = {263, UPB_SIZE(12, 16), -9, UPB_SIZE(289, 552), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_float(pg_query_Node* msg) { + const upb_MiniTableField field = {264, UPB_SIZE(12, 16), -9, UPB_SIZE(287, 551), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Float* pg_query_Node_float(const pg_query_Node* msg) { + const pg_query_Float* default_val = NULL; + const pg_query_Float* ret; + const upb_MiniTableField field = {264, UPB_SIZE(12, 16), -9, UPB_SIZE(287, 551), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Float_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_float(const pg_query_Node* msg) { + const upb_MiniTableField field = {264, UPB_SIZE(12, 16), -9, UPB_SIZE(287, 551), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_boolean(pg_query_Node* msg) { + const upb_MiniTableField field = {265, UPB_SIZE(12, 16), -9, UPB_SIZE(285, 550), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Boolean* pg_query_Node_boolean(const pg_query_Node* msg) { + const pg_query_Boolean* default_val = NULL; + const pg_query_Boolean* ret; + const upb_MiniTableField field = {265, UPB_SIZE(12, 16), -9, UPB_SIZE(285, 550), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Boolean_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_boolean(const pg_query_Node* msg) { + const upb_MiniTableField field = {265, UPB_SIZE(12, 16), -9, UPB_SIZE(285, 550), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_string(pg_query_Node* msg) { + const upb_MiniTableField field = {266, UPB_SIZE(12, 16), -9, UPB_SIZE(283, 549), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_String* pg_query_Node_string(const pg_query_Node* msg) { + const pg_query_String* default_val = NULL; + const pg_query_String* ret; + const upb_MiniTableField field = {266, UPB_SIZE(12, 16), -9, UPB_SIZE(283, 549), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__String_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_string(const pg_query_Node* msg) { + const upb_MiniTableField field = {266, UPB_SIZE(12, 16), -9, UPB_SIZE(283, 549), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_bit_string(pg_query_Node* msg) { + const upb_MiniTableField field = {267, UPB_SIZE(12, 16), -9, UPB_SIZE(281, 548), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_BitString* pg_query_Node_bit_string(const pg_query_Node* msg) { + const pg_query_BitString* default_val = NULL; + const pg_query_BitString* ret; + const upb_MiniTableField field = {267, UPB_SIZE(12, 16), -9, UPB_SIZE(281, 548), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__BitString_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_bit_string(const pg_query_Node* msg) { + const upb_MiniTableField field = {267, UPB_SIZE(12, 16), -9, UPB_SIZE(281, 548), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_list(pg_query_Node* msg) { + const upb_MiniTableField field = {268, UPB_SIZE(12, 16), -9, UPB_SIZE(279, 547), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_List* pg_query_Node_list(const pg_query_Node* msg) { + const pg_query_List* default_val = NULL; + const pg_query_List* ret; + const upb_MiniTableField field = {268, UPB_SIZE(12, 16), -9, UPB_SIZE(279, 547), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__List_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_list(const pg_query_Node* msg) { + const upb_MiniTableField field = {268, UPB_SIZE(12, 16), -9, UPB_SIZE(279, 547), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_int_list(pg_query_Node* msg) { + const upb_MiniTableField field = {269, UPB_SIZE(12, 16), -9, UPB_SIZE(277, 546), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_IntList* pg_query_Node_int_list(const pg_query_Node* msg) { + const pg_query_IntList* default_val = NULL; + const pg_query_IntList* ret; + const upb_MiniTableField field = {269, UPB_SIZE(12, 16), -9, UPB_SIZE(277, 546), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IntList_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_int_list(const pg_query_Node* msg) { + const upb_MiniTableField field = {269, UPB_SIZE(12, 16), -9, UPB_SIZE(277, 546), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_oid_list(pg_query_Node* msg) { + const upb_MiniTableField field = {270, UPB_SIZE(12, 16), -9, UPB_SIZE(275, 545), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_OidList* pg_query_Node_oid_list(const pg_query_Node* msg) { + const pg_query_OidList* default_val = NULL; + const pg_query_OidList* ret; + const upb_MiniTableField field = {270, UPB_SIZE(12, 16), -9, UPB_SIZE(275, 545), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OidList_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_oid_list(const pg_query_Node* msg) { + const upb_MiniTableField field = {270, UPB_SIZE(12, 16), -9, UPB_SIZE(275, 545), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Node_clear_a_const(pg_query_Node* msg) { + const upb_MiniTableField field = {271, UPB_SIZE(12, 16), -9, UPB_SIZE(273, 544), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_A_Const* pg_query_Node_a_const(const pg_query_Node* msg) { + const pg_query_A_Const* default_val = NULL; + const pg_query_A_Const* ret; + const upb_MiniTableField field = {271, UPB_SIZE(12, 16), -9, UPB_SIZE(273, 544), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0Const_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Node_has_a_const(const pg_query_Node* msg) { + const upb_MiniTableField field = {271, UPB_SIZE(12, 16), -9, UPB_SIZE(273, 544), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_Node_set_alias(pg_query_Node* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(813, 814), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_Node_mutable_alias( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_Node_alias(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_Node_set_alias(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_range_var(pg_query_Node* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(811, 813), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_Node_mutable_range_var( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_Node_range_var(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_Node_set_range_var(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_table_func(pg_query_Node* msg, pg_query_TableFunc* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(809, 812), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TableFunc_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TableFunc* pg_query_Node_mutable_table_func( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_TableFunc* sub = (struct pg_query_TableFunc*)pg_query_Node_table_func(msg); + if (sub == NULL) { + sub = (struct pg_query_TableFunc*)_upb_Message_New(&pg_0query__TableFunc_msg_init, arena); + if (sub) pg_query_Node_set_table_func(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_into_clause(pg_query_Node* msg, pg_query_IntoClause* value) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), -9, UPB_SIZE(807, 811), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IntoClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_IntoClause* pg_query_Node_mutable_into_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_IntoClause* sub = (struct pg_query_IntoClause*)pg_query_Node_into_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_IntoClause*)_upb_Message_New(&pg_0query__IntoClause_msg_init, arena); + if (sub) pg_query_Node_set_into_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_var(pg_query_Node* msg, pg_query_Var* value) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 16), -9, UPB_SIZE(805, 810), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Var_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Var* pg_query_Node_mutable_var( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_Var* sub = (struct pg_query_Var*)pg_query_Node_var(msg); + if (sub == NULL) { + sub = (struct pg_query_Var*)_upb_Message_New(&pg_0query__Var_msg_init, arena); + if (sub) pg_query_Node_set_var(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_param(pg_query_Node* msg, pg_query_Param* value) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 16), -9, UPB_SIZE(803, 809), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Param_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Param* pg_query_Node_mutable_param( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_Param* sub = (struct pg_query_Param*)pg_query_Node_param(msg); + if (sub == NULL) { + sub = (struct pg_query_Param*)_upb_Message_New(&pg_0query__Param_msg_init, arena); + if (sub) pg_query_Node_set_param(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_aggref(pg_query_Node* msg, pg_query_Aggref* value) { + const upb_MiniTableField field = {7, UPB_SIZE(12, 16), -9, UPB_SIZE(801, 808), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Aggref_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Aggref* pg_query_Node_mutable_aggref( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_Aggref* sub = (struct pg_query_Aggref*)pg_query_Node_aggref(msg); + if (sub == NULL) { + sub = (struct pg_query_Aggref*)_upb_Message_New(&pg_0query__Aggref_msg_init, arena); + if (sub) pg_query_Node_set_aggref(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_grouping_func(pg_query_Node* msg, pg_query_GroupingFunc* value) { + const upb_MiniTableField field = {8, UPB_SIZE(12, 16), -9, UPB_SIZE(799, 807), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__GroupingFunc_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_GroupingFunc* pg_query_Node_mutable_grouping_func( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_GroupingFunc* sub = (struct pg_query_GroupingFunc*)pg_query_Node_grouping_func(msg); + if (sub == NULL) { + sub = (struct pg_query_GroupingFunc*)_upb_Message_New(&pg_0query__GroupingFunc_msg_init, arena); + if (sub) pg_query_Node_set_grouping_func(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_window_func(pg_query_Node* msg, pg_query_WindowFunc* value) { + const upb_MiniTableField field = {9, UPB_SIZE(12, 16), -9, UPB_SIZE(797, 806), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowFunc_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WindowFunc* pg_query_Node_mutable_window_func( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_WindowFunc* sub = (struct pg_query_WindowFunc*)pg_query_Node_window_func(msg); + if (sub == NULL) { + sub = (struct pg_query_WindowFunc*)_upb_Message_New(&pg_0query__WindowFunc_msg_init, arena); + if (sub) pg_query_Node_set_window_func(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_window_func_run_condition(pg_query_Node* msg, pg_query_WindowFuncRunCondition* value) { + const upb_MiniTableField field = {10, UPB_SIZE(12, 16), -9, UPB_SIZE(795, 805), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowFuncRunCondition_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WindowFuncRunCondition* pg_query_Node_mutable_window_func_run_condition( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_WindowFuncRunCondition* sub = (struct pg_query_WindowFuncRunCondition*)pg_query_Node_window_func_run_condition(msg); + if (sub == NULL) { + sub = (struct pg_query_WindowFuncRunCondition*)_upb_Message_New(&pg_0query__WindowFuncRunCondition_msg_init, arena); + if (sub) pg_query_Node_set_window_func_run_condition(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_merge_support_func(pg_query_Node* msg, pg_query_MergeSupportFunc* value) { + const upb_MiniTableField field = {11, UPB_SIZE(12, 16), -9, UPB_SIZE(793, 804), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MergeSupportFunc_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_MergeSupportFunc* pg_query_Node_mutable_merge_support_func( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_MergeSupportFunc* sub = (struct pg_query_MergeSupportFunc*)pg_query_Node_merge_support_func(msg); + if (sub == NULL) { + sub = (struct pg_query_MergeSupportFunc*)_upb_Message_New(&pg_0query__MergeSupportFunc_msg_init, arena); + if (sub) pg_query_Node_set_merge_support_func(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_subscripting_ref(pg_query_Node* msg, pg_query_SubscriptingRef* value) { + const upb_MiniTableField field = {12, UPB_SIZE(12, 16), -9, UPB_SIZE(791, 803), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SubscriptingRef_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SubscriptingRef* pg_query_Node_mutable_subscripting_ref( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_SubscriptingRef* sub = (struct pg_query_SubscriptingRef*)pg_query_Node_subscripting_ref(msg); + if (sub == NULL) { + sub = (struct pg_query_SubscriptingRef*)_upb_Message_New(&pg_0query__SubscriptingRef_msg_init, arena); + if (sub) pg_query_Node_set_subscripting_ref(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_func_expr(pg_query_Node* msg, pg_query_FuncExpr* value) { + const upb_MiniTableField field = {13, UPB_SIZE(12, 16), -9, UPB_SIZE(789, 802), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FuncExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_FuncExpr* pg_query_Node_mutable_func_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_FuncExpr* sub = (struct pg_query_FuncExpr*)pg_query_Node_func_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_FuncExpr*)_upb_Message_New(&pg_0query__FuncExpr_msg_init, arena); + if (sub) pg_query_Node_set_func_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_named_arg_expr(pg_query_Node* msg, pg_query_NamedArgExpr* value) { + const upb_MiniTableField field = {14, UPB_SIZE(12, 16), -9, UPB_SIZE(787, 801), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__NamedArgExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_NamedArgExpr* pg_query_Node_mutable_named_arg_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_NamedArgExpr* sub = (struct pg_query_NamedArgExpr*)pg_query_Node_named_arg_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_NamedArgExpr*)_upb_Message_New(&pg_0query__NamedArgExpr_msg_init, arena); + if (sub) pg_query_Node_set_named_arg_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_op_expr(pg_query_Node* msg, pg_query_OpExpr* value) { + const upb_MiniTableField field = {15, UPB_SIZE(12, 16), -9, UPB_SIZE(785, 800), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OpExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_OpExpr* pg_query_Node_mutable_op_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_OpExpr* sub = (struct pg_query_OpExpr*)pg_query_Node_op_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_OpExpr*)_upb_Message_New(&pg_0query__OpExpr_msg_init, arena); + if (sub) pg_query_Node_set_op_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_distinct_expr(pg_query_Node* msg, pg_query_DistinctExpr* value) { + const upb_MiniTableField field = {16, UPB_SIZE(12, 16), -9, UPB_SIZE(783, 799), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DistinctExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DistinctExpr* pg_query_Node_mutable_distinct_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DistinctExpr* sub = (struct pg_query_DistinctExpr*)pg_query_Node_distinct_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_DistinctExpr*)_upb_Message_New(&pg_0query__DistinctExpr_msg_init, arena); + if (sub) pg_query_Node_set_distinct_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_null_if_expr(pg_query_Node* msg, pg_query_NullIfExpr* value) { + const upb_MiniTableField field = {17, UPB_SIZE(12, 16), -9, UPB_SIZE(781, 798), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__NullIfExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_NullIfExpr* pg_query_Node_mutable_null_if_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_NullIfExpr* sub = (struct pg_query_NullIfExpr*)pg_query_Node_null_if_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_NullIfExpr*)_upb_Message_New(&pg_0query__NullIfExpr_msg_init, arena); + if (sub) pg_query_Node_set_null_if_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_scalar_array_op_expr(pg_query_Node* msg, pg_query_ScalarArrayOpExpr* value) { + const upb_MiniTableField field = {18, UPB_SIZE(12, 16), -9, UPB_SIZE(779, 797), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ScalarArrayOpExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ScalarArrayOpExpr* pg_query_Node_mutable_scalar_array_op_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ScalarArrayOpExpr* sub = (struct pg_query_ScalarArrayOpExpr*)pg_query_Node_scalar_array_op_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_ScalarArrayOpExpr*)_upb_Message_New(&pg_0query__ScalarArrayOpExpr_msg_init, arena); + if (sub) pg_query_Node_set_scalar_array_op_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_bool_expr(pg_query_Node* msg, pg_query_BoolExpr* value) { + const upb_MiniTableField field = {19, UPB_SIZE(12, 16), -9, UPB_SIZE(777, 796), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__BoolExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_BoolExpr* pg_query_Node_mutable_bool_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_BoolExpr* sub = (struct pg_query_BoolExpr*)pg_query_Node_bool_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_BoolExpr*)_upb_Message_New(&pg_0query__BoolExpr_msg_init, arena); + if (sub) pg_query_Node_set_bool_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_sub_link(pg_query_Node* msg, pg_query_SubLink* value) { + const upb_MiniTableField field = {20, UPB_SIZE(12, 16), -9, UPB_SIZE(775, 795), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SubLink_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SubLink* pg_query_Node_mutable_sub_link( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_SubLink* sub = (struct pg_query_SubLink*)pg_query_Node_sub_link(msg); + if (sub == NULL) { + sub = (struct pg_query_SubLink*)_upb_Message_New(&pg_0query__SubLink_msg_init, arena); + if (sub) pg_query_Node_set_sub_link(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_sub_plan(pg_query_Node* msg, pg_query_SubPlan* value) { + const upb_MiniTableField field = {21, UPB_SIZE(12, 16), -9, UPB_SIZE(773, 794), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SubPlan_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SubPlan* pg_query_Node_mutable_sub_plan( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_SubPlan* sub = (struct pg_query_SubPlan*)pg_query_Node_sub_plan(msg); + if (sub == NULL) { + sub = (struct pg_query_SubPlan*)_upb_Message_New(&pg_0query__SubPlan_msg_init, arena); + if (sub) pg_query_Node_set_sub_plan(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alternative_sub_plan(pg_query_Node* msg, pg_query_AlternativeSubPlan* value) { + const upb_MiniTableField field = {22, UPB_SIZE(12, 16), -9, UPB_SIZE(771, 793), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlternativeSubPlan_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlternativeSubPlan* pg_query_Node_mutable_alternative_sub_plan( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlternativeSubPlan* sub = (struct pg_query_AlternativeSubPlan*)pg_query_Node_alternative_sub_plan(msg); + if (sub == NULL) { + sub = (struct pg_query_AlternativeSubPlan*)_upb_Message_New(&pg_0query__AlternativeSubPlan_msg_init, arena); + if (sub) pg_query_Node_set_alternative_sub_plan(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_field_select(pg_query_Node* msg, pg_query_FieldSelect* value) { + const upb_MiniTableField field = {23, UPB_SIZE(12, 16), -9, UPB_SIZE(769, 792), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FieldSelect_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_FieldSelect* pg_query_Node_mutable_field_select( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_FieldSelect* sub = (struct pg_query_FieldSelect*)pg_query_Node_field_select(msg); + if (sub == NULL) { + sub = (struct pg_query_FieldSelect*)_upb_Message_New(&pg_0query__FieldSelect_msg_init, arena); + if (sub) pg_query_Node_set_field_select(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_field_store(pg_query_Node* msg, pg_query_FieldStore* value) { + const upb_MiniTableField field = {24, UPB_SIZE(12, 16), -9, UPB_SIZE(767, 791), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FieldStore_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_FieldStore* pg_query_Node_mutable_field_store( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_FieldStore* sub = (struct pg_query_FieldStore*)pg_query_Node_field_store(msg); + if (sub == NULL) { + sub = (struct pg_query_FieldStore*)_upb_Message_New(&pg_0query__FieldStore_msg_init, arena); + if (sub) pg_query_Node_set_field_store(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_relabel_type(pg_query_Node* msg, pg_query_RelabelType* value) { + const upb_MiniTableField field = {25, UPB_SIZE(12, 16), -9, UPB_SIZE(765, 790), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RelabelType_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RelabelType* pg_query_Node_mutable_relabel_type( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RelabelType* sub = (struct pg_query_RelabelType*)pg_query_Node_relabel_type(msg); + if (sub == NULL) { + sub = (struct pg_query_RelabelType*)_upb_Message_New(&pg_0query__RelabelType_msg_init, arena); + if (sub) pg_query_Node_set_relabel_type(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_coerce_via_io(pg_query_Node* msg, pg_query_CoerceViaIO* value) { + const upb_MiniTableField field = {26, UPB_SIZE(12, 16), -9, UPB_SIZE(763, 789), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CoerceViaIO_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CoerceViaIO* pg_query_Node_mutable_coerce_via_io( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CoerceViaIO* sub = (struct pg_query_CoerceViaIO*)pg_query_Node_coerce_via_io(msg); + if (sub == NULL) { + sub = (struct pg_query_CoerceViaIO*)_upb_Message_New(&pg_0query__CoerceViaIO_msg_init, arena); + if (sub) pg_query_Node_set_coerce_via_io(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_array_coerce_expr(pg_query_Node* msg, pg_query_ArrayCoerceExpr* value) { + const upb_MiniTableField field = {27, UPB_SIZE(12, 16), -9, UPB_SIZE(761, 788), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ArrayCoerceExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ArrayCoerceExpr* pg_query_Node_mutable_array_coerce_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ArrayCoerceExpr* sub = (struct pg_query_ArrayCoerceExpr*)pg_query_Node_array_coerce_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_ArrayCoerceExpr*)_upb_Message_New(&pg_0query__ArrayCoerceExpr_msg_init, arena); + if (sub) pg_query_Node_set_array_coerce_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_convert_rowtype_expr(pg_query_Node* msg, pg_query_ConvertRowtypeExpr* value) { + const upb_MiniTableField field = {28, UPB_SIZE(12, 16), -9, UPB_SIZE(759, 787), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ConvertRowtypeExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ConvertRowtypeExpr* pg_query_Node_mutable_convert_rowtype_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ConvertRowtypeExpr* sub = (struct pg_query_ConvertRowtypeExpr*)pg_query_Node_convert_rowtype_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_ConvertRowtypeExpr*)_upb_Message_New(&pg_0query__ConvertRowtypeExpr_msg_init, arena); + if (sub) pg_query_Node_set_convert_rowtype_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_collate_expr(pg_query_Node* msg, pg_query_CollateExpr* value) { + const upb_MiniTableField field = {29, UPB_SIZE(12, 16), -9, UPB_SIZE(757, 786), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CollateExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CollateExpr* pg_query_Node_mutable_collate_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CollateExpr* sub = (struct pg_query_CollateExpr*)pg_query_Node_collate_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_CollateExpr*)_upb_Message_New(&pg_0query__CollateExpr_msg_init, arena); + if (sub) pg_query_Node_set_collate_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_case_expr(pg_query_Node* msg, pg_query_CaseExpr* value) { + const upb_MiniTableField field = {30, UPB_SIZE(12, 16), -9, UPB_SIZE(755, 785), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CaseExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CaseExpr* pg_query_Node_mutable_case_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CaseExpr* sub = (struct pg_query_CaseExpr*)pg_query_Node_case_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_CaseExpr*)_upb_Message_New(&pg_0query__CaseExpr_msg_init, arena); + if (sub) pg_query_Node_set_case_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_case_when(pg_query_Node* msg, pg_query_CaseWhen* value) { + const upb_MiniTableField field = {31, UPB_SIZE(12, 16), -9, UPB_SIZE(753, 784), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CaseWhen_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CaseWhen* pg_query_Node_mutable_case_when( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CaseWhen* sub = (struct pg_query_CaseWhen*)pg_query_Node_case_when(msg); + if (sub == NULL) { + sub = (struct pg_query_CaseWhen*)_upb_Message_New(&pg_0query__CaseWhen_msg_init, arena); + if (sub) pg_query_Node_set_case_when(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_case_test_expr(pg_query_Node* msg, pg_query_CaseTestExpr* value) { + const upb_MiniTableField field = {32, UPB_SIZE(12, 16), -9, UPB_SIZE(751, 783), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CaseTestExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CaseTestExpr* pg_query_Node_mutable_case_test_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CaseTestExpr* sub = (struct pg_query_CaseTestExpr*)pg_query_Node_case_test_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_CaseTestExpr*)_upb_Message_New(&pg_0query__CaseTestExpr_msg_init, arena); + if (sub) pg_query_Node_set_case_test_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_array_expr(pg_query_Node* msg, pg_query_ArrayExpr* value) { + const upb_MiniTableField field = {33, UPB_SIZE(12, 16), -9, UPB_SIZE(749, 782), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ArrayExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ArrayExpr* pg_query_Node_mutable_array_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ArrayExpr* sub = (struct pg_query_ArrayExpr*)pg_query_Node_array_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_ArrayExpr*)_upb_Message_New(&pg_0query__ArrayExpr_msg_init, arena); + if (sub) pg_query_Node_set_array_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_row_expr(pg_query_Node* msg, pg_query_RowExpr* value) { + const upb_MiniTableField field = {34, UPB_SIZE(12, 16), -9, UPB_SIZE(747, 781), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RowExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RowExpr* pg_query_Node_mutable_row_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RowExpr* sub = (struct pg_query_RowExpr*)pg_query_Node_row_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_RowExpr*)_upb_Message_New(&pg_0query__RowExpr_msg_init, arena); + if (sub) pg_query_Node_set_row_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_row_compare_expr(pg_query_Node* msg, pg_query_RowCompareExpr* value) { + const upb_MiniTableField field = {35, UPB_SIZE(12, 16), -9, UPB_SIZE(745, 780), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RowCompareExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RowCompareExpr* pg_query_Node_mutable_row_compare_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RowCompareExpr* sub = (struct pg_query_RowCompareExpr*)pg_query_Node_row_compare_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_RowCompareExpr*)_upb_Message_New(&pg_0query__RowCompareExpr_msg_init, arena); + if (sub) pg_query_Node_set_row_compare_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_coalesce_expr(pg_query_Node* msg, pg_query_CoalesceExpr* value) { + const upb_MiniTableField field = {36, UPB_SIZE(12, 16), -9, UPB_SIZE(743, 779), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CoalesceExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CoalesceExpr* pg_query_Node_mutable_coalesce_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CoalesceExpr* sub = (struct pg_query_CoalesceExpr*)pg_query_Node_coalesce_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_CoalesceExpr*)_upb_Message_New(&pg_0query__CoalesceExpr_msg_init, arena); + if (sub) pg_query_Node_set_coalesce_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_min_max_expr(pg_query_Node* msg, pg_query_MinMaxExpr* value) { + const upb_MiniTableField field = {37, UPB_SIZE(12, 16), -9, UPB_SIZE(741, 778), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MinMaxExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_MinMaxExpr* pg_query_Node_mutable_min_max_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_MinMaxExpr* sub = (struct pg_query_MinMaxExpr*)pg_query_Node_min_max_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_MinMaxExpr*)_upb_Message_New(&pg_0query__MinMaxExpr_msg_init, arena); + if (sub) pg_query_Node_set_min_max_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_sqlvalue_function(pg_query_Node* msg, pg_query_SQLValueFunction* value) { + const upb_MiniTableField field = {38, UPB_SIZE(12, 16), -9, UPB_SIZE(739, 777), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SQLValueFunction_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SQLValueFunction* pg_query_Node_mutable_sqlvalue_function( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_SQLValueFunction* sub = (struct pg_query_SQLValueFunction*)pg_query_Node_sqlvalue_function(msg); + if (sub == NULL) { + sub = (struct pg_query_SQLValueFunction*)_upb_Message_New(&pg_0query__SQLValueFunction_msg_init, arena); + if (sub) pg_query_Node_set_sqlvalue_function(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_xml_expr(pg_query_Node* msg, pg_query_XmlExpr* value) { + const upb_MiniTableField field = {39, UPB_SIZE(12, 16), -9, UPB_SIZE(737, 776), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__XmlExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_XmlExpr* pg_query_Node_mutable_xml_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_XmlExpr* sub = (struct pg_query_XmlExpr*)pg_query_Node_xml_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_XmlExpr*)_upb_Message_New(&pg_0query__XmlExpr_msg_init, arena); + if (sub) pg_query_Node_set_xml_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_format(pg_query_Node* msg, pg_query_JsonFormat* value) { + const upb_MiniTableField field = {40, UPB_SIZE(12, 16), -9, UPB_SIZE(735, 775), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonFormat* pg_query_Node_mutable_json_format( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonFormat* sub = (struct pg_query_JsonFormat*)pg_query_Node_json_format(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonFormat*)_upb_Message_New(&pg_0query__JsonFormat_msg_init, arena); + if (sub) pg_query_Node_set_json_format(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_returning(pg_query_Node* msg, pg_query_JsonReturning* value) { + const upb_MiniTableField field = {41, UPB_SIZE(12, 16), -9, UPB_SIZE(733, 774), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonReturning_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonReturning* pg_query_Node_mutable_json_returning( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonReturning* sub = (struct pg_query_JsonReturning*)pg_query_Node_json_returning(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonReturning*)_upb_Message_New(&pg_0query__JsonReturning_msg_init, arena); + if (sub) pg_query_Node_set_json_returning(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_value_expr(pg_query_Node* msg, pg_query_JsonValueExpr* value) { + const upb_MiniTableField field = {42, UPB_SIZE(12, 16), -9, UPB_SIZE(731, 773), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonValueExpr* pg_query_Node_mutable_json_value_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonValueExpr* sub = (struct pg_query_JsonValueExpr*)pg_query_Node_json_value_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonValueExpr*)_upb_Message_New(&pg_0query__JsonValueExpr_msg_init, arena); + if (sub) pg_query_Node_set_json_value_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_constructor_expr(pg_query_Node* msg, pg_query_JsonConstructorExpr* value) { + const upb_MiniTableField field = {43, UPB_SIZE(12, 16), -9, UPB_SIZE(729, 772), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonConstructorExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonConstructorExpr* pg_query_Node_mutable_json_constructor_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonConstructorExpr* sub = (struct pg_query_JsonConstructorExpr*)pg_query_Node_json_constructor_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonConstructorExpr*)_upb_Message_New(&pg_0query__JsonConstructorExpr_msg_init, arena); + if (sub) pg_query_Node_set_json_constructor_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_is_predicate(pg_query_Node* msg, pg_query_JsonIsPredicate* value) { + const upb_MiniTableField field = {44, UPB_SIZE(12, 16), -9, UPB_SIZE(727, 771), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonIsPredicate_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonIsPredicate* pg_query_Node_mutable_json_is_predicate( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonIsPredicate* sub = (struct pg_query_JsonIsPredicate*)pg_query_Node_json_is_predicate(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonIsPredicate*)_upb_Message_New(&pg_0query__JsonIsPredicate_msg_init, arena); + if (sub) pg_query_Node_set_json_is_predicate(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_behavior(pg_query_Node* msg, pg_query_JsonBehavior* value) { + const upb_MiniTableField field = {45, UPB_SIZE(12, 16), -9, UPB_SIZE(725, 770), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonBehavior* pg_query_Node_mutable_json_behavior( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonBehavior* sub = (struct pg_query_JsonBehavior*)pg_query_Node_json_behavior(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonBehavior*)_upb_Message_New(&pg_0query__JsonBehavior_msg_init, arena); + if (sub) pg_query_Node_set_json_behavior(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_expr(pg_query_Node* msg, pg_query_JsonExpr* value) { + const upb_MiniTableField field = {46, UPB_SIZE(12, 16), -9, UPB_SIZE(723, 769), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonExpr* pg_query_Node_mutable_json_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonExpr* sub = (struct pg_query_JsonExpr*)pg_query_Node_json_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonExpr*)_upb_Message_New(&pg_0query__JsonExpr_msg_init, arena); + if (sub) pg_query_Node_set_json_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_table_path(pg_query_Node* msg, pg_query_JsonTablePath* value) { + const upb_MiniTableField field = {47, UPB_SIZE(12, 16), -9, UPB_SIZE(721, 768), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePath_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonTablePath* pg_query_Node_mutable_json_table_path( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonTablePath* sub = (struct pg_query_JsonTablePath*)pg_query_Node_json_table_path(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonTablePath*)_upb_Message_New(&pg_0query__JsonTablePath_msg_init, arena); + if (sub) pg_query_Node_set_json_table_path(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_table_path_scan(pg_query_Node* msg, pg_query_JsonTablePathScan* value) { + const upb_MiniTableField field = {48, UPB_SIZE(12, 16), -9, UPB_SIZE(719, 767), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePathScan_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonTablePathScan* pg_query_Node_mutable_json_table_path_scan( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonTablePathScan* sub = (struct pg_query_JsonTablePathScan*)pg_query_Node_json_table_path_scan(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonTablePathScan*)_upb_Message_New(&pg_0query__JsonTablePathScan_msg_init, arena); + if (sub) pg_query_Node_set_json_table_path_scan(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_table_sibling_join(pg_query_Node* msg, pg_query_JsonTableSiblingJoin* value) { + const upb_MiniTableField field = {49, UPB_SIZE(12, 16), -9, UPB_SIZE(717, 766), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTableSiblingJoin_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonTableSiblingJoin* pg_query_Node_mutable_json_table_sibling_join( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonTableSiblingJoin* sub = (struct pg_query_JsonTableSiblingJoin*)pg_query_Node_json_table_sibling_join(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonTableSiblingJoin*)_upb_Message_New(&pg_0query__JsonTableSiblingJoin_msg_init, arena); + if (sub) pg_query_Node_set_json_table_sibling_join(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_null_test(pg_query_Node* msg, pg_query_NullTest* value) { + const upb_MiniTableField field = {50, UPB_SIZE(12, 16), -9, UPB_SIZE(715, 765), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__NullTest_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_NullTest* pg_query_Node_mutable_null_test( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_NullTest* sub = (struct pg_query_NullTest*)pg_query_Node_null_test(msg); + if (sub == NULL) { + sub = (struct pg_query_NullTest*)_upb_Message_New(&pg_0query__NullTest_msg_init, arena); + if (sub) pg_query_Node_set_null_test(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_boolean_test(pg_query_Node* msg, pg_query_BooleanTest* value) { + const upb_MiniTableField field = {51, UPB_SIZE(12, 16), -9, UPB_SIZE(713, 764), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__BooleanTest_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_BooleanTest* pg_query_Node_mutable_boolean_test( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_BooleanTest* sub = (struct pg_query_BooleanTest*)pg_query_Node_boolean_test(msg); + if (sub == NULL) { + sub = (struct pg_query_BooleanTest*)_upb_Message_New(&pg_0query__BooleanTest_msg_init, arena); + if (sub) pg_query_Node_set_boolean_test(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_merge_action(pg_query_Node* msg, pg_query_MergeAction* value) { + const upb_MiniTableField field = {52, UPB_SIZE(12, 16), -9, UPB_SIZE(711, 763), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MergeAction_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_MergeAction* pg_query_Node_mutable_merge_action( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_MergeAction* sub = (struct pg_query_MergeAction*)pg_query_Node_merge_action(msg); + if (sub == NULL) { + sub = (struct pg_query_MergeAction*)_upb_Message_New(&pg_0query__MergeAction_msg_init, arena); + if (sub) pg_query_Node_set_merge_action(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_coerce_to_domain(pg_query_Node* msg, pg_query_CoerceToDomain* value) { + const upb_MiniTableField field = {53, UPB_SIZE(12, 16), -9, UPB_SIZE(709, 762), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CoerceToDomain_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CoerceToDomain* pg_query_Node_mutable_coerce_to_domain( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CoerceToDomain* sub = (struct pg_query_CoerceToDomain*)pg_query_Node_coerce_to_domain(msg); + if (sub == NULL) { + sub = (struct pg_query_CoerceToDomain*)_upb_Message_New(&pg_0query__CoerceToDomain_msg_init, arena); + if (sub) pg_query_Node_set_coerce_to_domain(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_coerce_to_domain_value(pg_query_Node* msg, pg_query_CoerceToDomainValue* value) { + const upb_MiniTableField field = {54, UPB_SIZE(12, 16), -9, UPB_SIZE(707, 761), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CoerceToDomainValue_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CoerceToDomainValue* pg_query_Node_mutable_coerce_to_domain_value( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CoerceToDomainValue* sub = (struct pg_query_CoerceToDomainValue*)pg_query_Node_coerce_to_domain_value(msg); + if (sub == NULL) { + sub = (struct pg_query_CoerceToDomainValue*)_upb_Message_New(&pg_0query__CoerceToDomainValue_msg_init, arena); + if (sub) pg_query_Node_set_coerce_to_domain_value(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_set_to_default(pg_query_Node* msg, pg_query_SetToDefault* value) { + const upb_MiniTableField field = {55, UPB_SIZE(12, 16), -9, UPB_SIZE(705, 760), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SetToDefault_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SetToDefault* pg_query_Node_mutable_set_to_default( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_SetToDefault* sub = (struct pg_query_SetToDefault*)pg_query_Node_set_to_default(msg); + if (sub == NULL) { + sub = (struct pg_query_SetToDefault*)_upb_Message_New(&pg_0query__SetToDefault_msg_init, arena); + if (sub) pg_query_Node_set_set_to_default(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_current_of_expr(pg_query_Node* msg, pg_query_CurrentOfExpr* value) { + const upb_MiniTableField field = {56, UPB_SIZE(12, 16), -9, UPB_SIZE(703, 759), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CurrentOfExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CurrentOfExpr* pg_query_Node_mutable_current_of_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CurrentOfExpr* sub = (struct pg_query_CurrentOfExpr*)pg_query_Node_current_of_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_CurrentOfExpr*)_upb_Message_New(&pg_0query__CurrentOfExpr_msg_init, arena); + if (sub) pg_query_Node_set_current_of_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_next_value_expr(pg_query_Node* msg, pg_query_NextValueExpr* value) { + const upb_MiniTableField field = {57, UPB_SIZE(12, 16), -9, UPB_SIZE(701, 758), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__NextValueExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_NextValueExpr* pg_query_Node_mutable_next_value_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_NextValueExpr* sub = (struct pg_query_NextValueExpr*)pg_query_Node_next_value_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_NextValueExpr*)_upb_Message_New(&pg_0query__NextValueExpr_msg_init, arena); + if (sub) pg_query_Node_set_next_value_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_inference_elem(pg_query_Node* msg, pg_query_InferenceElem* value) { + const upb_MiniTableField field = {58, UPB_SIZE(12, 16), -9, UPB_SIZE(699, 757), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__InferenceElem_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_InferenceElem* pg_query_Node_mutable_inference_elem( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_InferenceElem* sub = (struct pg_query_InferenceElem*)pg_query_Node_inference_elem(msg); + if (sub == NULL) { + sub = (struct pg_query_InferenceElem*)_upb_Message_New(&pg_0query__InferenceElem_msg_init, arena); + if (sub) pg_query_Node_set_inference_elem(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_returning_expr(pg_query_Node* msg, pg_query_ReturningExpr* value) { + const upb_MiniTableField field = {59, UPB_SIZE(12, 16), -9, UPB_SIZE(697, 756), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReturningExpr* pg_query_Node_mutable_returning_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ReturningExpr* sub = (struct pg_query_ReturningExpr*)pg_query_Node_returning_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_ReturningExpr*)_upb_Message_New(&pg_0query__ReturningExpr_msg_init, arena); + if (sub) pg_query_Node_set_returning_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_target_entry(pg_query_Node* msg, pg_query_TargetEntry* value) { + const upb_MiniTableField field = {60, UPB_SIZE(12, 16), -9, UPB_SIZE(695, 755), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TargetEntry_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TargetEntry* pg_query_Node_mutable_target_entry( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_TargetEntry* sub = (struct pg_query_TargetEntry*)pg_query_Node_target_entry(msg); + if (sub == NULL) { + sub = (struct pg_query_TargetEntry*)_upb_Message_New(&pg_0query__TargetEntry_msg_init, arena); + if (sub) pg_query_Node_set_target_entry(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_range_tbl_ref(pg_query_Node* msg, pg_query_RangeTblRef* value) { + const upb_MiniTableField field = {61, UPB_SIZE(12, 16), -9, UPB_SIZE(693, 754), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTblRef_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeTblRef* pg_query_Node_mutable_range_tbl_ref( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RangeTblRef* sub = (struct pg_query_RangeTblRef*)pg_query_Node_range_tbl_ref(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeTblRef*)_upb_Message_New(&pg_0query__RangeTblRef_msg_init, arena); + if (sub) pg_query_Node_set_range_tbl_ref(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_join_expr(pg_query_Node* msg, pg_query_JoinExpr* value) { + const upb_MiniTableField field = {62, UPB_SIZE(12, 16), -9, UPB_SIZE(691, 753), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JoinExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JoinExpr* pg_query_Node_mutable_join_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JoinExpr* sub = (struct pg_query_JoinExpr*)pg_query_Node_join_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_JoinExpr*)_upb_Message_New(&pg_0query__JoinExpr_msg_init, arena); + if (sub) pg_query_Node_set_join_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_from_expr(pg_query_Node* msg, pg_query_FromExpr* value) { + const upb_MiniTableField field = {63, UPB_SIZE(12, 16), -9, UPB_SIZE(689, 752), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FromExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_FromExpr* pg_query_Node_mutable_from_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_FromExpr* sub = (struct pg_query_FromExpr*)pg_query_Node_from_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_FromExpr*)_upb_Message_New(&pg_0query__FromExpr_msg_init, arena); + if (sub) pg_query_Node_set_from_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_on_conflict_expr(pg_query_Node* msg, pg_query_OnConflictExpr* value) { + const upb_MiniTableField field = {64, UPB_SIZE(12, 16), -9, UPB_SIZE(687, 751), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OnConflictExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_OnConflictExpr* pg_query_Node_mutable_on_conflict_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_OnConflictExpr* sub = (struct pg_query_OnConflictExpr*)pg_query_Node_on_conflict_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_OnConflictExpr*)_upb_Message_New(&pg_0query__OnConflictExpr_msg_init, arena); + if (sub) pg_query_Node_set_on_conflict_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_query(pg_query_Node* msg, pg_query_Query* value) { + const upb_MiniTableField field = {65, UPB_SIZE(12, 16), -9, UPB_SIZE(685, 750), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Query_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Query* pg_query_Node_mutable_query( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_Query* sub = (struct pg_query_Query*)pg_query_Node_query(msg); + if (sub == NULL) { + sub = (struct pg_query_Query*)_upb_Message_New(&pg_0query__Query_msg_init, arena); + if (sub) pg_query_Node_set_query(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_type_name(pg_query_Node* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {66, UPB_SIZE(12, 16), -9, UPB_SIZE(683, 749), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_Node_mutable_type_name( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_Node_type_name(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_Node_set_type_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_column_ref(pg_query_Node* msg, pg_query_ColumnRef* value) { + const upb_MiniTableField field = {67, UPB_SIZE(12, 16), -9, UPB_SIZE(681, 748), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ColumnRef_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ColumnRef* pg_query_Node_mutable_column_ref( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ColumnRef* sub = (struct pg_query_ColumnRef*)pg_query_Node_column_ref(msg); + if (sub == NULL) { + sub = (struct pg_query_ColumnRef*)_upb_Message_New(&pg_0query__ColumnRef_msg_init, arena); + if (sub) pg_query_Node_set_column_ref(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_param_ref(pg_query_Node* msg, pg_query_ParamRef* value) { + const upb_MiniTableField field = {68, UPB_SIZE(12, 16), -9, UPB_SIZE(679, 747), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ParamRef_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ParamRef* pg_query_Node_mutable_param_ref( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ParamRef* sub = (struct pg_query_ParamRef*)pg_query_Node_param_ref(msg); + if (sub == NULL) { + sub = (struct pg_query_ParamRef*)_upb_Message_New(&pg_0query__ParamRef_msg_init, arena); + if (sub) pg_query_Node_set_param_ref(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_a_expr(pg_query_Node* msg, pg_query_A_Expr* value) { + const upb_MiniTableField field = {69, UPB_SIZE(12, 16), -9, UPB_SIZE(677, 746), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0Expr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_A_Expr* pg_query_Node_mutable_a_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_A_Expr* sub = (struct pg_query_A_Expr*)pg_query_Node_a_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_A_Expr*)_upb_Message_New(&pg_0query__A_0Expr_msg_init, arena); + if (sub) pg_query_Node_set_a_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_type_cast(pg_query_Node* msg, pg_query_TypeCast* value) { + const upb_MiniTableField field = {70, UPB_SIZE(12, 16), -9, UPB_SIZE(675, 745), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeCast_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeCast* pg_query_Node_mutable_type_cast( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_TypeCast* sub = (struct pg_query_TypeCast*)pg_query_Node_type_cast(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeCast*)_upb_Message_New(&pg_0query__TypeCast_msg_init, arena); + if (sub) pg_query_Node_set_type_cast(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_collate_clause(pg_query_Node* msg, pg_query_CollateClause* value) { + const upb_MiniTableField field = {71, UPB_SIZE(12, 16), -9, UPB_SIZE(673, 744), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CollateClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CollateClause* pg_query_Node_mutable_collate_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CollateClause* sub = (struct pg_query_CollateClause*)pg_query_Node_collate_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_CollateClause*)_upb_Message_New(&pg_0query__CollateClause_msg_init, arena); + if (sub) pg_query_Node_set_collate_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_role_spec(pg_query_Node* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {72, UPB_SIZE(12, 16), -9, UPB_SIZE(671, 743), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_Node_mutable_role_spec( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_Node_role_spec(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_Node_set_role_spec(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_func_call(pg_query_Node* msg, pg_query_FuncCall* value) { + const upb_MiniTableField field = {73, UPB_SIZE(12, 16), -9, UPB_SIZE(669, 742), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FuncCall_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_FuncCall* pg_query_Node_mutable_func_call( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_FuncCall* sub = (struct pg_query_FuncCall*)pg_query_Node_func_call(msg); + if (sub == NULL) { + sub = (struct pg_query_FuncCall*)_upb_Message_New(&pg_0query__FuncCall_msg_init, arena); + if (sub) pg_query_Node_set_func_call(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_a_star(pg_query_Node* msg, pg_query_A_Star* value) { + const upb_MiniTableField field = {74, UPB_SIZE(12, 16), -9, UPB_SIZE(667, 741), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0Star_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_A_Star* pg_query_Node_mutable_a_star( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_A_Star* sub = (struct pg_query_A_Star*)pg_query_Node_a_star(msg); + if (sub == NULL) { + sub = (struct pg_query_A_Star*)_upb_Message_New(&pg_0query__A_0Star_msg_init, arena); + if (sub) pg_query_Node_set_a_star(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_a_indices(pg_query_Node* msg, pg_query_A_Indices* value) { + const upb_MiniTableField field = {75, UPB_SIZE(12, 16), -9, UPB_SIZE(665, 740), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0Indices_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_A_Indices* pg_query_Node_mutable_a_indices( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_A_Indices* sub = (struct pg_query_A_Indices*)pg_query_Node_a_indices(msg); + if (sub == NULL) { + sub = (struct pg_query_A_Indices*)_upb_Message_New(&pg_0query__A_0Indices_msg_init, arena); + if (sub) pg_query_Node_set_a_indices(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_a_indirection(pg_query_Node* msg, pg_query_A_Indirection* value) { + const upb_MiniTableField field = {76, UPB_SIZE(12, 16), -9, UPB_SIZE(663, 739), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0Indirection_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_A_Indirection* pg_query_Node_mutable_a_indirection( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_A_Indirection* sub = (struct pg_query_A_Indirection*)pg_query_Node_a_indirection(msg); + if (sub == NULL) { + sub = (struct pg_query_A_Indirection*)_upb_Message_New(&pg_0query__A_0Indirection_msg_init, arena); + if (sub) pg_query_Node_set_a_indirection(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_a_array_expr(pg_query_Node* msg, pg_query_A_ArrayExpr* value) { + const upb_MiniTableField field = {77, UPB_SIZE(12, 16), -9, UPB_SIZE(661, 738), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0ArrayExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_A_ArrayExpr* pg_query_Node_mutable_a_array_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_A_ArrayExpr* sub = (struct pg_query_A_ArrayExpr*)pg_query_Node_a_array_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_A_ArrayExpr*)_upb_Message_New(&pg_0query__A_0ArrayExpr_msg_init, arena); + if (sub) pg_query_Node_set_a_array_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_res_target(pg_query_Node* msg, pg_query_ResTarget* value) { + const upb_MiniTableField field = {78, UPB_SIZE(12, 16), -9, UPB_SIZE(659, 737), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ResTarget_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ResTarget* pg_query_Node_mutable_res_target( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ResTarget* sub = (struct pg_query_ResTarget*)pg_query_Node_res_target(msg); + if (sub == NULL) { + sub = (struct pg_query_ResTarget*)_upb_Message_New(&pg_0query__ResTarget_msg_init, arena); + if (sub) pg_query_Node_set_res_target(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_multi_assign_ref(pg_query_Node* msg, pg_query_MultiAssignRef* value) { + const upb_MiniTableField field = {79, UPB_SIZE(12, 16), -9, UPB_SIZE(657, 736), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MultiAssignRef_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_MultiAssignRef* pg_query_Node_mutable_multi_assign_ref( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_MultiAssignRef* sub = (struct pg_query_MultiAssignRef*)pg_query_Node_multi_assign_ref(msg); + if (sub == NULL) { + sub = (struct pg_query_MultiAssignRef*)_upb_Message_New(&pg_0query__MultiAssignRef_msg_init, arena); + if (sub) pg_query_Node_set_multi_assign_ref(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_sort_by(pg_query_Node* msg, pg_query_SortBy* value) { + const upb_MiniTableField field = {80, UPB_SIZE(12, 16), -9, UPB_SIZE(655, 735), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SortBy_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SortBy* pg_query_Node_mutable_sort_by( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_SortBy* sub = (struct pg_query_SortBy*)pg_query_Node_sort_by(msg); + if (sub == NULL) { + sub = (struct pg_query_SortBy*)_upb_Message_New(&pg_0query__SortBy_msg_init, arena); + if (sub) pg_query_Node_set_sort_by(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_window_def(pg_query_Node* msg, pg_query_WindowDef* value) { + const upb_MiniTableField field = {81, UPB_SIZE(12, 16), -9, UPB_SIZE(653, 734), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowDef_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WindowDef* pg_query_Node_mutable_window_def( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_WindowDef* sub = (struct pg_query_WindowDef*)pg_query_Node_window_def(msg); + if (sub == NULL) { + sub = (struct pg_query_WindowDef*)_upb_Message_New(&pg_0query__WindowDef_msg_init, arena); + if (sub) pg_query_Node_set_window_def(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_range_subselect(pg_query_Node* msg, pg_query_RangeSubselect* value) { + const upb_MiniTableField field = {82, UPB_SIZE(12, 16), -9, UPB_SIZE(651, 733), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeSubselect_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeSubselect* pg_query_Node_mutable_range_subselect( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RangeSubselect* sub = (struct pg_query_RangeSubselect*)pg_query_Node_range_subselect(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeSubselect*)_upb_Message_New(&pg_0query__RangeSubselect_msg_init, arena); + if (sub) pg_query_Node_set_range_subselect(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_range_function(pg_query_Node* msg, pg_query_RangeFunction* value) { + const upb_MiniTableField field = {83, UPB_SIZE(12, 16), -9, UPB_SIZE(649, 732), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeFunction_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeFunction* pg_query_Node_mutable_range_function( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RangeFunction* sub = (struct pg_query_RangeFunction*)pg_query_Node_range_function(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeFunction*)_upb_Message_New(&pg_0query__RangeFunction_msg_init, arena); + if (sub) pg_query_Node_set_range_function(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_range_table_func(pg_query_Node* msg, pg_query_RangeTableFunc* value) { + const upb_MiniTableField field = {84, UPB_SIZE(12, 16), -9, UPB_SIZE(647, 731), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTableFunc_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeTableFunc* pg_query_Node_mutable_range_table_func( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RangeTableFunc* sub = (struct pg_query_RangeTableFunc*)pg_query_Node_range_table_func(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeTableFunc*)_upb_Message_New(&pg_0query__RangeTableFunc_msg_init, arena); + if (sub) pg_query_Node_set_range_table_func(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_range_table_func_col(pg_query_Node* msg, pg_query_RangeTableFuncCol* value) { + const upb_MiniTableField field = {85, UPB_SIZE(12, 16), -9, UPB_SIZE(645, 730), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTableFuncCol_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeTableFuncCol* pg_query_Node_mutable_range_table_func_col( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RangeTableFuncCol* sub = (struct pg_query_RangeTableFuncCol*)pg_query_Node_range_table_func_col(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeTableFuncCol*)_upb_Message_New(&pg_0query__RangeTableFuncCol_msg_init, arena); + if (sub) pg_query_Node_set_range_table_func_col(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_range_table_sample(pg_query_Node* msg, pg_query_RangeTableSample* value) { + const upb_MiniTableField field = {86, UPB_SIZE(12, 16), -9, UPB_SIZE(643, 729), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTableSample_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeTableSample* pg_query_Node_mutable_range_table_sample( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RangeTableSample* sub = (struct pg_query_RangeTableSample*)pg_query_Node_range_table_sample(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeTableSample*)_upb_Message_New(&pg_0query__RangeTableSample_msg_init, arena); + if (sub) pg_query_Node_set_range_table_sample(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_column_def(pg_query_Node* msg, pg_query_ColumnDef* value) { + const upb_MiniTableField field = {87, UPB_SIZE(12, 16), -9, UPB_SIZE(641, 728), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ColumnDef_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ColumnDef* pg_query_Node_mutable_column_def( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ColumnDef* sub = (struct pg_query_ColumnDef*)pg_query_Node_column_def(msg); + if (sub == NULL) { + sub = (struct pg_query_ColumnDef*)_upb_Message_New(&pg_0query__ColumnDef_msg_init, arena); + if (sub) pg_query_Node_set_column_def(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_table_like_clause(pg_query_Node* msg, pg_query_TableLikeClause* value) { + const upb_MiniTableField field = {88, UPB_SIZE(12, 16), -9, UPB_SIZE(639, 727), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TableLikeClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TableLikeClause* pg_query_Node_mutable_table_like_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_TableLikeClause* sub = (struct pg_query_TableLikeClause*)pg_query_Node_table_like_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_TableLikeClause*)_upb_Message_New(&pg_0query__TableLikeClause_msg_init, arena); + if (sub) pg_query_Node_set_table_like_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_index_elem(pg_query_Node* msg, pg_query_IndexElem* value) { + const upb_MiniTableField field = {89, UPB_SIZE(12, 16), -9, UPB_SIZE(637, 726), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IndexElem_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_IndexElem* pg_query_Node_mutable_index_elem( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_IndexElem* sub = (struct pg_query_IndexElem*)pg_query_Node_index_elem(msg); + if (sub == NULL) { + sub = (struct pg_query_IndexElem*)_upb_Message_New(&pg_0query__IndexElem_msg_init, arena); + if (sub) pg_query_Node_set_index_elem(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_def_elem(pg_query_Node* msg, pg_query_DefElem* value) { + const upb_MiniTableField field = {90, UPB_SIZE(12, 16), -9, UPB_SIZE(635, 725), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DefElem_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DefElem* pg_query_Node_mutable_def_elem( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DefElem* sub = (struct pg_query_DefElem*)pg_query_Node_def_elem(msg); + if (sub == NULL) { + sub = (struct pg_query_DefElem*)_upb_Message_New(&pg_0query__DefElem_msg_init, arena); + if (sub) pg_query_Node_set_def_elem(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_locking_clause(pg_query_Node* msg, pg_query_LockingClause* value) { + const upb_MiniTableField field = {91, UPB_SIZE(12, 16), -9, UPB_SIZE(633, 724), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__LockingClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_LockingClause* pg_query_Node_mutable_locking_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_LockingClause* sub = (struct pg_query_LockingClause*)pg_query_Node_locking_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_LockingClause*)_upb_Message_New(&pg_0query__LockingClause_msg_init, arena); + if (sub) pg_query_Node_set_locking_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_xml_serialize(pg_query_Node* msg, pg_query_XmlSerialize* value) { + const upb_MiniTableField field = {92, UPB_SIZE(12, 16), -9, UPB_SIZE(631, 723), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__XmlSerialize_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_XmlSerialize* pg_query_Node_mutable_xml_serialize( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_XmlSerialize* sub = (struct pg_query_XmlSerialize*)pg_query_Node_xml_serialize(msg); + if (sub == NULL) { + sub = (struct pg_query_XmlSerialize*)_upb_Message_New(&pg_0query__XmlSerialize_msg_init, arena); + if (sub) pg_query_Node_set_xml_serialize(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_partition_elem(pg_query_Node* msg, pg_query_PartitionElem* value) { + const upb_MiniTableField field = {93, UPB_SIZE(12, 16), -9, UPB_SIZE(629, 722), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionElem_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PartitionElem* pg_query_Node_mutable_partition_elem( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_PartitionElem* sub = (struct pg_query_PartitionElem*)pg_query_Node_partition_elem(msg); + if (sub == NULL) { + sub = (struct pg_query_PartitionElem*)_upb_Message_New(&pg_0query__PartitionElem_msg_init, arena); + if (sub) pg_query_Node_set_partition_elem(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_partition_spec(pg_query_Node* msg, pg_query_PartitionSpec* value) { + const upb_MiniTableField field = {94, UPB_SIZE(12, 16), -9, UPB_SIZE(627, 721), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PartitionSpec* pg_query_Node_mutable_partition_spec( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_PartitionSpec* sub = (struct pg_query_PartitionSpec*)pg_query_Node_partition_spec(msg); + if (sub == NULL) { + sub = (struct pg_query_PartitionSpec*)_upb_Message_New(&pg_0query__PartitionSpec_msg_init, arena); + if (sub) pg_query_Node_set_partition_spec(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_partition_bound_spec(pg_query_Node* msg, pg_query_PartitionBoundSpec* value) { + const upb_MiniTableField field = {95, UPB_SIZE(12, 16), -9, UPB_SIZE(625, 720), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionBoundSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PartitionBoundSpec* pg_query_Node_mutable_partition_bound_spec( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_PartitionBoundSpec* sub = (struct pg_query_PartitionBoundSpec*)pg_query_Node_partition_bound_spec(msg); + if (sub == NULL) { + sub = (struct pg_query_PartitionBoundSpec*)_upb_Message_New(&pg_0query__PartitionBoundSpec_msg_init, arena); + if (sub) pg_query_Node_set_partition_bound_spec(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_partition_range_datum(pg_query_Node* msg, pg_query_PartitionRangeDatum* value) { + const upb_MiniTableField field = {96, UPB_SIZE(12, 16), -9, UPB_SIZE(623, 719), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionRangeDatum_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PartitionRangeDatum* pg_query_Node_mutable_partition_range_datum( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_PartitionRangeDatum* sub = (struct pg_query_PartitionRangeDatum*)pg_query_Node_partition_range_datum(msg); + if (sub == NULL) { + sub = (struct pg_query_PartitionRangeDatum*)_upb_Message_New(&pg_0query__PartitionRangeDatum_msg_init, arena); + if (sub) pg_query_Node_set_partition_range_datum(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_partition_cmd(pg_query_Node* msg, pg_query_PartitionCmd* value) { + const upb_MiniTableField field = {97, UPB_SIZE(12, 16), -9, UPB_SIZE(621, 718), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionCmd_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PartitionCmd* pg_query_Node_mutable_partition_cmd( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_PartitionCmd* sub = (struct pg_query_PartitionCmd*)pg_query_Node_partition_cmd(msg); + if (sub == NULL) { + sub = (struct pg_query_PartitionCmd*)_upb_Message_New(&pg_0query__PartitionCmd_msg_init, arena); + if (sub) pg_query_Node_set_partition_cmd(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_range_tbl_entry(pg_query_Node* msg, pg_query_RangeTblEntry* value) { + const upb_MiniTableField field = {98, UPB_SIZE(12, 16), -9, UPB_SIZE(619, 717), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTblEntry_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeTblEntry* pg_query_Node_mutable_range_tbl_entry( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RangeTblEntry* sub = (struct pg_query_RangeTblEntry*)pg_query_Node_range_tbl_entry(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeTblEntry*)_upb_Message_New(&pg_0query__RangeTblEntry_msg_init, arena); + if (sub) pg_query_Node_set_range_tbl_entry(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_rtepermission_info(pg_query_Node* msg, pg_query_RTEPermissionInfo* value) { + const upb_MiniTableField field = {99, UPB_SIZE(12, 16), -9, UPB_SIZE(617, 716), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RTEPermissionInfo_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RTEPermissionInfo* pg_query_Node_mutable_rtepermission_info( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RTEPermissionInfo* sub = (struct pg_query_RTEPermissionInfo*)pg_query_Node_rtepermission_info(msg); + if (sub == NULL) { + sub = (struct pg_query_RTEPermissionInfo*)_upb_Message_New(&pg_0query__RTEPermissionInfo_msg_init, arena); + if (sub) pg_query_Node_set_rtepermission_info(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_range_tbl_function(pg_query_Node* msg, pg_query_RangeTblFunction* value) { + const upb_MiniTableField field = {100, UPB_SIZE(12, 16), -9, UPB_SIZE(615, 715), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeTblFunction_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeTblFunction* pg_query_Node_mutable_range_tbl_function( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RangeTblFunction* sub = (struct pg_query_RangeTblFunction*)pg_query_Node_range_tbl_function(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeTblFunction*)_upb_Message_New(&pg_0query__RangeTblFunction_msg_init, arena); + if (sub) pg_query_Node_set_range_tbl_function(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_table_sample_clause(pg_query_Node* msg, pg_query_TableSampleClause* value) { + const upb_MiniTableField field = {101, UPB_SIZE(12, 16), -9, UPB_SIZE(613, 714), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TableSampleClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TableSampleClause* pg_query_Node_mutable_table_sample_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_TableSampleClause* sub = (struct pg_query_TableSampleClause*)pg_query_Node_table_sample_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_TableSampleClause*)_upb_Message_New(&pg_0query__TableSampleClause_msg_init, arena); + if (sub) pg_query_Node_set_table_sample_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_with_check_option(pg_query_Node* msg, pg_query_WithCheckOption* value) { + const upb_MiniTableField field = {102, UPB_SIZE(12, 16), -9, UPB_SIZE(611, 713), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithCheckOption_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WithCheckOption* pg_query_Node_mutable_with_check_option( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_WithCheckOption* sub = (struct pg_query_WithCheckOption*)pg_query_Node_with_check_option(msg); + if (sub == NULL) { + sub = (struct pg_query_WithCheckOption*)_upb_Message_New(&pg_0query__WithCheckOption_msg_init, arena); + if (sub) pg_query_Node_set_with_check_option(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_sort_group_clause(pg_query_Node* msg, pg_query_SortGroupClause* value) { + const upb_MiniTableField field = {103, UPB_SIZE(12, 16), -9, UPB_SIZE(609, 712), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SortGroupClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SortGroupClause* pg_query_Node_mutable_sort_group_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_SortGroupClause* sub = (struct pg_query_SortGroupClause*)pg_query_Node_sort_group_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_SortGroupClause*)_upb_Message_New(&pg_0query__SortGroupClause_msg_init, arena); + if (sub) pg_query_Node_set_sort_group_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_grouping_set(pg_query_Node* msg, pg_query_GroupingSet* value) { + const upb_MiniTableField field = {104, UPB_SIZE(12, 16), -9, UPB_SIZE(607, 711), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__GroupingSet_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_GroupingSet* pg_query_Node_mutable_grouping_set( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_GroupingSet* sub = (struct pg_query_GroupingSet*)pg_query_Node_grouping_set(msg); + if (sub == NULL) { + sub = (struct pg_query_GroupingSet*)_upb_Message_New(&pg_0query__GroupingSet_msg_init, arena); + if (sub) pg_query_Node_set_grouping_set(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_window_clause(pg_query_Node* msg, pg_query_WindowClause* value) { + const upb_MiniTableField field = {105, UPB_SIZE(12, 16), -9, UPB_SIZE(605, 710), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WindowClause* pg_query_Node_mutable_window_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_WindowClause* sub = (struct pg_query_WindowClause*)pg_query_Node_window_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_WindowClause*)_upb_Message_New(&pg_0query__WindowClause_msg_init, arena); + if (sub) pg_query_Node_set_window_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_row_mark_clause(pg_query_Node* msg, pg_query_RowMarkClause* value) { + const upb_MiniTableField field = {106, UPB_SIZE(12, 16), -9, UPB_SIZE(603, 709), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RowMarkClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RowMarkClause* pg_query_Node_mutable_row_mark_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RowMarkClause* sub = (struct pg_query_RowMarkClause*)pg_query_Node_row_mark_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_RowMarkClause*)_upb_Message_New(&pg_0query__RowMarkClause_msg_init, arena); + if (sub) pg_query_Node_set_row_mark_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_with_clause(pg_query_Node* msg, pg_query_WithClause* value) { + const upb_MiniTableField field = {107, UPB_SIZE(12, 16), -9, UPB_SIZE(601, 708), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WithClause* pg_query_Node_mutable_with_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_WithClause* sub = (struct pg_query_WithClause*)pg_query_Node_with_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_WithClause*)_upb_Message_New(&pg_0query__WithClause_msg_init, arena); + if (sub) pg_query_Node_set_with_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_infer_clause(pg_query_Node* msg, pg_query_InferClause* value) { + const upb_MiniTableField field = {108, UPB_SIZE(12, 16), -9, UPB_SIZE(599, 707), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__InferClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_InferClause* pg_query_Node_mutable_infer_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_InferClause* sub = (struct pg_query_InferClause*)pg_query_Node_infer_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_InferClause*)_upb_Message_New(&pg_0query__InferClause_msg_init, arena); + if (sub) pg_query_Node_set_infer_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_on_conflict_clause(pg_query_Node* msg, pg_query_OnConflictClause* value) { + const upb_MiniTableField field = {109, UPB_SIZE(12, 16), -9, UPB_SIZE(597, 706), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OnConflictClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_OnConflictClause* pg_query_Node_mutable_on_conflict_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_OnConflictClause* sub = (struct pg_query_OnConflictClause*)pg_query_Node_on_conflict_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_OnConflictClause*)_upb_Message_New(&pg_0query__OnConflictClause_msg_init, arena); + if (sub) pg_query_Node_set_on_conflict_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_ctesearch_clause(pg_query_Node* msg, pg_query_CTESearchClause* value) { + const upb_MiniTableField field = {110, UPB_SIZE(12, 16), -9, UPB_SIZE(595, 705), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CTESearchClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CTESearchClause* pg_query_Node_mutable_ctesearch_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CTESearchClause* sub = (struct pg_query_CTESearchClause*)pg_query_Node_ctesearch_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_CTESearchClause*)_upb_Message_New(&pg_0query__CTESearchClause_msg_init, arena); + if (sub) pg_query_Node_set_ctesearch_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_ctecycle_clause(pg_query_Node* msg, pg_query_CTECycleClause* value) { + const upb_MiniTableField field = {111, UPB_SIZE(12, 16), -9, UPB_SIZE(593, 704), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CTECycleClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CTECycleClause* pg_query_Node_mutable_ctecycle_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CTECycleClause* sub = (struct pg_query_CTECycleClause*)pg_query_Node_ctecycle_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_CTECycleClause*)_upb_Message_New(&pg_0query__CTECycleClause_msg_init, arena); + if (sub) pg_query_Node_set_ctecycle_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_common_table_expr(pg_query_Node* msg, pg_query_CommonTableExpr* value) { + const upb_MiniTableField field = {112, UPB_SIZE(12, 16), -9, UPB_SIZE(591, 703), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CommonTableExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CommonTableExpr* pg_query_Node_mutable_common_table_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CommonTableExpr* sub = (struct pg_query_CommonTableExpr*)pg_query_Node_common_table_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_CommonTableExpr*)_upb_Message_New(&pg_0query__CommonTableExpr_msg_init, arena); + if (sub) pg_query_Node_set_common_table_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_merge_when_clause(pg_query_Node* msg, pg_query_MergeWhenClause* value) { + const upb_MiniTableField field = {113, UPB_SIZE(12, 16), -9, UPB_SIZE(589, 702), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MergeWhenClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_MergeWhenClause* pg_query_Node_mutable_merge_when_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_MergeWhenClause* sub = (struct pg_query_MergeWhenClause*)pg_query_Node_merge_when_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_MergeWhenClause*)_upb_Message_New(&pg_0query__MergeWhenClause_msg_init, arena); + if (sub) pg_query_Node_set_merge_when_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_returning_option(pg_query_Node* msg, pg_query_ReturningOption* value) { + const upb_MiniTableField field = {114, UPB_SIZE(12, 16), -9, UPB_SIZE(587, 701), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningOption_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReturningOption* pg_query_Node_mutable_returning_option( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ReturningOption* sub = (struct pg_query_ReturningOption*)pg_query_Node_returning_option(msg); + if (sub == NULL) { + sub = (struct pg_query_ReturningOption*)_upb_Message_New(&pg_0query__ReturningOption_msg_init, arena); + if (sub) pg_query_Node_set_returning_option(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_returning_clause(pg_query_Node* msg, pg_query_ReturningClause* value) { + const upb_MiniTableField field = {115, UPB_SIZE(12, 16), -9, UPB_SIZE(585, 700), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReturningClause* pg_query_Node_mutable_returning_clause( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ReturningClause* sub = (struct pg_query_ReturningClause*)pg_query_Node_returning_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_ReturningClause*)_upb_Message_New(&pg_0query__ReturningClause_msg_init, arena); + if (sub) pg_query_Node_set_returning_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_trigger_transition(pg_query_Node* msg, pg_query_TriggerTransition* value) { + const upb_MiniTableField field = {116, UPB_SIZE(12, 16), -9, UPB_SIZE(583, 699), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TriggerTransition_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TriggerTransition* pg_query_Node_mutable_trigger_transition( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_TriggerTransition* sub = (struct pg_query_TriggerTransition*)pg_query_Node_trigger_transition(msg); + if (sub == NULL) { + sub = (struct pg_query_TriggerTransition*)_upb_Message_New(&pg_0query__TriggerTransition_msg_init, arena); + if (sub) pg_query_Node_set_trigger_transition(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_output(pg_query_Node* msg, pg_query_JsonOutput* value) { + const upb_MiniTableField field = {117, UPB_SIZE(12, 16), -9, UPB_SIZE(581, 698), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonOutput* pg_query_Node_mutable_json_output( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonOutput* sub = (struct pg_query_JsonOutput*)pg_query_Node_json_output(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonOutput*)_upb_Message_New(&pg_0query__JsonOutput_msg_init, arena); + if (sub) pg_query_Node_set_json_output(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_argument(pg_query_Node* msg, pg_query_JsonArgument* value) { + const upb_MiniTableField field = {118, UPB_SIZE(12, 16), -9, UPB_SIZE(579, 697), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonArgument_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonArgument* pg_query_Node_mutable_json_argument( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonArgument* sub = (struct pg_query_JsonArgument*)pg_query_Node_json_argument(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonArgument*)_upb_Message_New(&pg_0query__JsonArgument_msg_init, arena); + if (sub) pg_query_Node_set_json_argument(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_func_expr(pg_query_Node* msg, pg_query_JsonFuncExpr* value) { + const upb_MiniTableField field = {119, UPB_SIZE(12, 16), -9, UPB_SIZE(577, 696), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFuncExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonFuncExpr* pg_query_Node_mutable_json_func_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonFuncExpr* sub = (struct pg_query_JsonFuncExpr*)pg_query_Node_json_func_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonFuncExpr*)_upb_Message_New(&pg_0query__JsonFuncExpr_msg_init, arena); + if (sub) pg_query_Node_set_json_func_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_table_path_spec(pg_query_Node* msg, pg_query_JsonTablePathSpec* value) { + const upb_MiniTableField field = {120, UPB_SIZE(12, 16), -9, UPB_SIZE(575, 695), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePathSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonTablePathSpec* pg_query_Node_mutable_json_table_path_spec( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonTablePathSpec* sub = (struct pg_query_JsonTablePathSpec*)pg_query_Node_json_table_path_spec(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonTablePathSpec*)_upb_Message_New(&pg_0query__JsonTablePathSpec_msg_init, arena); + if (sub) pg_query_Node_set_json_table_path_spec(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_table(pg_query_Node* msg, pg_query_JsonTable* value) { + const upb_MiniTableField field = {121, UPB_SIZE(12, 16), -9, UPB_SIZE(573, 694), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTable_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonTable* pg_query_Node_mutable_json_table( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonTable* sub = (struct pg_query_JsonTable*)pg_query_Node_json_table(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonTable*)_upb_Message_New(&pg_0query__JsonTable_msg_init, arena); + if (sub) pg_query_Node_set_json_table(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_table_column(pg_query_Node* msg, pg_query_JsonTableColumn* value) { + const upb_MiniTableField field = {122, UPB_SIZE(12, 16), -9, UPB_SIZE(571, 693), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTableColumn_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonTableColumn* pg_query_Node_mutable_json_table_column( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonTableColumn* sub = (struct pg_query_JsonTableColumn*)pg_query_Node_json_table_column(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonTableColumn*)_upb_Message_New(&pg_0query__JsonTableColumn_msg_init, arena); + if (sub) pg_query_Node_set_json_table_column(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_key_value(pg_query_Node* msg, pg_query_JsonKeyValue* value) { + const upb_MiniTableField field = {123, UPB_SIZE(12, 16), -9, UPB_SIZE(569, 692), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonKeyValue_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonKeyValue* pg_query_Node_mutable_json_key_value( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonKeyValue* sub = (struct pg_query_JsonKeyValue*)pg_query_Node_json_key_value(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonKeyValue*)_upb_Message_New(&pg_0query__JsonKeyValue_msg_init, arena); + if (sub) pg_query_Node_set_json_key_value(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_parse_expr(pg_query_Node* msg, pg_query_JsonParseExpr* value) { + const upb_MiniTableField field = {124, UPB_SIZE(12, 16), -9, UPB_SIZE(567, 691), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonParseExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonParseExpr* pg_query_Node_mutable_json_parse_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonParseExpr* sub = (struct pg_query_JsonParseExpr*)pg_query_Node_json_parse_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonParseExpr*)_upb_Message_New(&pg_0query__JsonParseExpr_msg_init, arena); + if (sub) pg_query_Node_set_json_parse_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_scalar_expr(pg_query_Node* msg, pg_query_JsonScalarExpr* value) { + const upb_MiniTableField field = {125, UPB_SIZE(12, 16), -9, UPB_SIZE(565, 690), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonScalarExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonScalarExpr* pg_query_Node_mutable_json_scalar_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonScalarExpr* sub = (struct pg_query_JsonScalarExpr*)pg_query_Node_json_scalar_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonScalarExpr*)_upb_Message_New(&pg_0query__JsonScalarExpr_msg_init, arena); + if (sub) pg_query_Node_set_json_scalar_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_serialize_expr(pg_query_Node* msg, pg_query_JsonSerializeExpr* value) { + const upb_MiniTableField field = {126, UPB_SIZE(12, 16), -9, UPB_SIZE(563, 689), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonSerializeExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonSerializeExpr* pg_query_Node_mutable_json_serialize_expr( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonSerializeExpr* sub = (struct pg_query_JsonSerializeExpr*)pg_query_Node_json_serialize_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonSerializeExpr*)_upb_Message_New(&pg_0query__JsonSerializeExpr_msg_init, arena); + if (sub) pg_query_Node_set_json_serialize_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_object_constructor(pg_query_Node* msg, pg_query_JsonObjectConstructor* value) { + const upb_MiniTableField field = {127, UPB_SIZE(12, 16), -9, UPB_SIZE(561, 688), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonObjectConstructor_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonObjectConstructor* pg_query_Node_mutable_json_object_constructor( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonObjectConstructor* sub = (struct pg_query_JsonObjectConstructor*)pg_query_Node_json_object_constructor(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonObjectConstructor*)_upb_Message_New(&pg_0query__JsonObjectConstructor_msg_init, arena); + if (sub) pg_query_Node_set_json_object_constructor(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_array_constructor(pg_query_Node* msg, pg_query_JsonArrayConstructor* value) { + const upb_MiniTableField field = {128, UPB_SIZE(12, 16), -9, UPB_SIZE(559, 687), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonArrayConstructor_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonArrayConstructor* pg_query_Node_mutable_json_array_constructor( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonArrayConstructor* sub = (struct pg_query_JsonArrayConstructor*)pg_query_Node_json_array_constructor(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonArrayConstructor*)_upb_Message_New(&pg_0query__JsonArrayConstructor_msg_init, arena); + if (sub) pg_query_Node_set_json_array_constructor(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_array_query_constructor(pg_query_Node* msg, pg_query_JsonArrayQueryConstructor* value) { + const upb_MiniTableField field = {129, UPB_SIZE(12, 16), -9, UPB_SIZE(557, 686), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonArrayQueryConstructor_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonArrayQueryConstructor* pg_query_Node_mutable_json_array_query_constructor( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonArrayQueryConstructor* sub = (struct pg_query_JsonArrayQueryConstructor*)pg_query_Node_json_array_query_constructor(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonArrayQueryConstructor*)_upb_Message_New(&pg_0query__JsonArrayQueryConstructor_msg_init, arena); + if (sub) pg_query_Node_set_json_array_query_constructor(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_agg_constructor(pg_query_Node* msg, pg_query_JsonAggConstructor* value) { + const upb_MiniTableField field = {130, UPB_SIZE(12, 16), -9, UPB_SIZE(555, 685), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonAggConstructor_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonAggConstructor* pg_query_Node_mutable_json_agg_constructor( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonAggConstructor* sub = (struct pg_query_JsonAggConstructor*)pg_query_Node_json_agg_constructor(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonAggConstructor*)_upb_Message_New(&pg_0query__JsonAggConstructor_msg_init, arena); + if (sub) pg_query_Node_set_json_agg_constructor(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_object_agg(pg_query_Node* msg, pg_query_JsonObjectAgg* value) { + const upb_MiniTableField field = {131, UPB_SIZE(12, 16), -9, UPB_SIZE(553, 684), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonObjectAgg_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonObjectAgg* pg_query_Node_mutable_json_object_agg( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonObjectAgg* sub = (struct pg_query_JsonObjectAgg*)pg_query_Node_json_object_agg(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonObjectAgg*)_upb_Message_New(&pg_0query__JsonObjectAgg_msg_init, arena); + if (sub) pg_query_Node_set_json_object_agg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_json_array_agg(pg_query_Node* msg, pg_query_JsonArrayAgg* value) { + const upb_MiniTableField field = {132, UPB_SIZE(12, 16), -9, UPB_SIZE(551, 683), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonArrayAgg_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonArrayAgg* pg_query_Node_mutable_json_array_agg( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_JsonArrayAgg* sub = (struct pg_query_JsonArrayAgg*)pg_query_Node_json_array_agg(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonArrayAgg*)_upb_Message_New(&pg_0query__JsonArrayAgg_msg_init, arena); + if (sub) pg_query_Node_set_json_array_agg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_raw_stmt(pg_query_Node* msg, pg_query_RawStmt* value) { + const upb_MiniTableField field = {133, UPB_SIZE(12, 16), -9, UPB_SIZE(549, 682), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RawStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RawStmt* pg_query_Node_mutable_raw_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RawStmt* sub = (struct pg_query_RawStmt*)pg_query_Node_raw_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_RawStmt*)_upb_Message_New(&pg_0query__RawStmt_msg_init, arena); + if (sub) pg_query_Node_set_raw_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_insert_stmt(pg_query_Node* msg, pg_query_InsertStmt* value) { + const upb_MiniTableField field = {134, UPB_SIZE(12, 16), -9, UPB_SIZE(547, 681), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__InsertStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_InsertStmt* pg_query_Node_mutable_insert_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_InsertStmt* sub = (struct pg_query_InsertStmt*)pg_query_Node_insert_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_InsertStmt*)_upb_Message_New(&pg_0query__InsertStmt_msg_init, arena); + if (sub) pg_query_Node_set_insert_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_delete_stmt(pg_query_Node* msg, pg_query_DeleteStmt* value) { + const upb_MiniTableField field = {135, UPB_SIZE(12, 16), -9, UPB_SIZE(545, 680), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DeleteStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DeleteStmt* pg_query_Node_mutable_delete_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DeleteStmt* sub = (struct pg_query_DeleteStmt*)pg_query_Node_delete_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DeleteStmt*)_upb_Message_New(&pg_0query__DeleteStmt_msg_init, arena); + if (sub) pg_query_Node_set_delete_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_update_stmt(pg_query_Node* msg, pg_query_UpdateStmt* value) { + const upb_MiniTableField field = {136, UPB_SIZE(12, 16), -9, UPB_SIZE(543, 679), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__UpdateStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_UpdateStmt* pg_query_Node_mutable_update_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_UpdateStmt* sub = (struct pg_query_UpdateStmt*)pg_query_Node_update_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_UpdateStmt*)_upb_Message_New(&pg_0query__UpdateStmt_msg_init, arena); + if (sub) pg_query_Node_set_update_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_merge_stmt(pg_query_Node* msg, pg_query_MergeStmt* value) { + const upb_MiniTableField field = {137, UPB_SIZE(12, 16), -9, UPB_SIZE(541, 678), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__MergeStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_MergeStmt* pg_query_Node_mutable_merge_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_MergeStmt* sub = (struct pg_query_MergeStmt*)pg_query_Node_merge_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_MergeStmt*)_upb_Message_New(&pg_0query__MergeStmt_msg_init, arena); + if (sub) pg_query_Node_set_merge_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_select_stmt(pg_query_Node* msg, pg_query_SelectStmt* value) { + const upb_MiniTableField field = {138, UPB_SIZE(12, 16), -9, UPB_SIZE(539, 677), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SelectStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SelectStmt* pg_query_Node_mutable_select_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_SelectStmt* sub = (struct pg_query_SelectStmt*)pg_query_Node_select_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_SelectStmt*)_upb_Message_New(&pg_0query__SelectStmt_msg_init, arena); + if (sub) pg_query_Node_set_select_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_set_operation_stmt(pg_query_Node* msg, pg_query_SetOperationStmt* value) { + const upb_MiniTableField field = {139, UPB_SIZE(12, 16), -9, UPB_SIZE(537, 676), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SetOperationStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SetOperationStmt* pg_query_Node_mutable_set_operation_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_SetOperationStmt* sub = (struct pg_query_SetOperationStmt*)pg_query_Node_set_operation_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_SetOperationStmt*)_upb_Message_New(&pg_0query__SetOperationStmt_msg_init, arena); + if (sub) pg_query_Node_set_set_operation_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_return_stmt(pg_query_Node* msg, pg_query_ReturnStmt* value) { + const upb_MiniTableField field = {140, UPB_SIZE(12, 16), -9, UPB_SIZE(535, 675), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturnStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReturnStmt* pg_query_Node_mutable_return_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ReturnStmt* sub = (struct pg_query_ReturnStmt*)pg_query_Node_return_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ReturnStmt*)_upb_Message_New(&pg_0query__ReturnStmt_msg_init, arena); + if (sub) pg_query_Node_set_return_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_plassign_stmt(pg_query_Node* msg, pg_query_PLAssignStmt* value) { + const upb_MiniTableField field = {141, UPB_SIZE(12, 16), -9, UPB_SIZE(533, 674), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PLAssignStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PLAssignStmt* pg_query_Node_mutable_plassign_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_PLAssignStmt* sub = (struct pg_query_PLAssignStmt*)pg_query_Node_plassign_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_PLAssignStmt*)_upb_Message_New(&pg_0query__PLAssignStmt_msg_init, arena); + if (sub) pg_query_Node_set_plassign_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_schema_stmt(pg_query_Node* msg, pg_query_CreateSchemaStmt* value) { + const upb_MiniTableField field = {142, UPB_SIZE(12, 16), -9, UPB_SIZE(531, 673), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateSchemaStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateSchemaStmt* pg_query_Node_mutable_create_schema_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateSchemaStmt* sub = (struct pg_query_CreateSchemaStmt*)pg_query_Node_create_schema_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateSchemaStmt*)_upb_Message_New(&pg_0query__CreateSchemaStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_schema_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_table_stmt(pg_query_Node* msg, pg_query_AlterTableStmt* value) { + const upb_MiniTableField field = {143, UPB_SIZE(12, 16), -9, UPB_SIZE(529, 672), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTableStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterTableStmt* pg_query_Node_mutable_alter_table_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterTableStmt* sub = (struct pg_query_AlterTableStmt*)pg_query_Node_alter_table_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterTableStmt*)_upb_Message_New(&pg_0query__AlterTableStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_table_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_table_cmd(pg_query_Node* msg, pg_query_AlterTableCmd* value) { + const upb_MiniTableField field = {144, UPB_SIZE(12, 16), -9, UPB_SIZE(527, 671), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTableCmd_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterTableCmd* pg_query_Node_mutable_alter_table_cmd( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterTableCmd* sub = (struct pg_query_AlterTableCmd*)pg_query_Node_alter_table_cmd(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterTableCmd*)_upb_Message_New(&pg_0query__AlterTableCmd_msg_init, arena); + if (sub) pg_query_Node_set_alter_table_cmd(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_atalter_constraint(pg_query_Node* msg, pg_query_ATAlterConstraint* value) { + const upb_MiniTableField field = {145, UPB_SIZE(12, 16), -9, UPB_SIZE(525, 670), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ATAlterConstraint_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ATAlterConstraint* pg_query_Node_mutable_atalter_constraint( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ATAlterConstraint* sub = (struct pg_query_ATAlterConstraint*)pg_query_Node_atalter_constraint(msg); + if (sub == NULL) { + sub = (struct pg_query_ATAlterConstraint*)_upb_Message_New(&pg_0query__ATAlterConstraint_msg_init, arena); + if (sub) pg_query_Node_set_atalter_constraint(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_replica_identity_stmt(pg_query_Node* msg, pg_query_ReplicaIdentityStmt* value) { + const upb_MiniTableField field = {146, UPB_SIZE(12, 16), -9, UPB_SIZE(523, 669), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReplicaIdentityStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReplicaIdentityStmt* pg_query_Node_mutable_replica_identity_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ReplicaIdentityStmt* sub = (struct pg_query_ReplicaIdentityStmt*)pg_query_Node_replica_identity_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ReplicaIdentityStmt*)_upb_Message_New(&pg_0query__ReplicaIdentityStmt_msg_init, arena); + if (sub) pg_query_Node_set_replica_identity_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_collation_stmt(pg_query_Node* msg, pg_query_AlterCollationStmt* value) { + const upb_MiniTableField field = {147, UPB_SIZE(12, 16), -9, UPB_SIZE(521, 668), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterCollationStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterCollationStmt* pg_query_Node_mutable_alter_collation_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterCollationStmt* sub = (struct pg_query_AlterCollationStmt*)pg_query_Node_alter_collation_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterCollationStmt*)_upb_Message_New(&pg_0query__AlterCollationStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_collation_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_domain_stmt(pg_query_Node* msg, pg_query_AlterDomainStmt* value) { + const upb_MiniTableField field = {148, UPB_SIZE(12, 16), -9, UPB_SIZE(519, 667), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterDomainStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterDomainStmt* pg_query_Node_mutable_alter_domain_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterDomainStmt* sub = (struct pg_query_AlterDomainStmt*)pg_query_Node_alter_domain_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterDomainStmt*)_upb_Message_New(&pg_0query__AlterDomainStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_domain_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_grant_stmt(pg_query_Node* msg, pg_query_GrantStmt* value) { + const upb_MiniTableField field = {149, UPB_SIZE(12, 16), -9, UPB_SIZE(517, 666), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__GrantStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_GrantStmt* pg_query_Node_mutable_grant_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_GrantStmt* sub = (struct pg_query_GrantStmt*)pg_query_Node_grant_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_GrantStmt*)_upb_Message_New(&pg_0query__GrantStmt_msg_init, arena); + if (sub) pg_query_Node_set_grant_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_object_with_args(pg_query_Node* msg, pg_query_ObjectWithArgs* value) { + const upb_MiniTableField field = {150, UPB_SIZE(12, 16), -9, UPB_SIZE(515, 665), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ObjectWithArgs* pg_query_Node_mutable_object_with_args( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ObjectWithArgs* sub = (struct pg_query_ObjectWithArgs*)pg_query_Node_object_with_args(msg); + if (sub == NULL) { + sub = (struct pg_query_ObjectWithArgs*)_upb_Message_New(&pg_0query__ObjectWithArgs_msg_init, arena); + if (sub) pg_query_Node_set_object_with_args(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_access_priv(pg_query_Node* msg, pg_query_AccessPriv* value) { + const upb_MiniTableField field = {151, UPB_SIZE(12, 16), -9, UPB_SIZE(513, 664), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AccessPriv_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AccessPriv* pg_query_Node_mutable_access_priv( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AccessPriv* sub = (struct pg_query_AccessPriv*)pg_query_Node_access_priv(msg); + if (sub == NULL) { + sub = (struct pg_query_AccessPriv*)_upb_Message_New(&pg_0query__AccessPriv_msg_init, arena); + if (sub) pg_query_Node_set_access_priv(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_grant_role_stmt(pg_query_Node* msg, pg_query_GrantRoleStmt* value) { + const upb_MiniTableField field = {152, UPB_SIZE(12, 16), -9, UPB_SIZE(511, 663), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__GrantRoleStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_GrantRoleStmt* pg_query_Node_mutable_grant_role_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_GrantRoleStmt* sub = (struct pg_query_GrantRoleStmt*)pg_query_Node_grant_role_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_GrantRoleStmt*)_upb_Message_New(&pg_0query__GrantRoleStmt_msg_init, arena); + if (sub) pg_query_Node_set_grant_role_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_default_privileges_stmt(pg_query_Node* msg, pg_query_AlterDefaultPrivilegesStmt* value) { + const upb_MiniTableField field = {153, UPB_SIZE(12, 16), -9, UPB_SIZE(509, 662), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterDefaultPrivilegesStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterDefaultPrivilegesStmt* pg_query_Node_mutable_alter_default_privileges_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterDefaultPrivilegesStmt* sub = (struct pg_query_AlterDefaultPrivilegesStmt*)pg_query_Node_alter_default_privileges_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterDefaultPrivilegesStmt*)_upb_Message_New(&pg_0query__AlterDefaultPrivilegesStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_default_privileges_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_copy_stmt(pg_query_Node* msg, pg_query_CopyStmt* value) { + const upb_MiniTableField field = {154, UPB_SIZE(12, 16), -9, UPB_SIZE(507, 661), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CopyStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CopyStmt* pg_query_Node_mutable_copy_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CopyStmt* sub = (struct pg_query_CopyStmt*)pg_query_Node_copy_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CopyStmt*)_upb_Message_New(&pg_0query__CopyStmt_msg_init, arena); + if (sub) pg_query_Node_set_copy_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_variable_set_stmt(pg_query_Node* msg, pg_query_VariableSetStmt* value) { + const upb_MiniTableField field = {155, UPB_SIZE(12, 16), -9, UPB_SIZE(505, 660), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VariableSetStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_VariableSetStmt* pg_query_Node_mutable_variable_set_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_VariableSetStmt* sub = (struct pg_query_VariableSetStmt*)pg_query_Node_variable_set_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_VariableSetStmt*)_upb_Message_New(&pg_0query__VariableSetStmt_msg_init, arena); + if (sub) pg_query_Node_set_variable_set_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_variable_show_stmt(pg_query_Node* msg, pg_query_VariableShowStmt* value) { + const upb_MiniTableField field = {156, UPB_SIZE(12, 16), -9, UPB_SIZE(503, 659), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VariableShowStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_VariableShowStmt* pg_query_Node_mutable_variable_show_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_VariableShowStmt* sub = (struct pg_query_VariableShowStmt*)pg_query_Node_variable_show_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_VariableShowStmt*)_upb_Message_New(&pg_0query__VariableShowStmt_msg_init, arena); + if (sub) pg_query_Node_set_variable_show_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_stmt(pg_query_Node* msg, pg_query_CreateStmt* value) { + const upb_MiniTableField field = {157, UPB_SIZE(12, 16), -9, UPB_SIZE(501, 658), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateStmt* pg_query_Node_mutable_create_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateStmt* sub = (struct pg_query_CreateStmt*)pg_query_Node_create_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateStmt*)_upb_Message_New(&pg_0query__CreateStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_constraint(pg_query_Node* msg, pg_query_Constraint* value) { + const upb_MiniTableField field = {158, UPB_SIZE(12, 16), -9, UPB_SIZE(499, 657), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Constraint_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Constraint* pg_query_Node_mutable_constraint( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_Constraint* sub = (struct pg_query_Constraint*)pg_query_Node_constraint(msg); + if (sub == NULL) { + sub = (struct pg_query_Constraint*)_upb_Message_New(&pg_0query__Constraint_msg_init, arena); + if (sub) pg_query_Node_set_constraint(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_table_space_stmt(pg_query_Node* msg, pg_query_CreateTableSpaceStmt* value) { + const upb_MiniTableField field = {159, UPB_SIZE(12, 16), -9, UPB_SIZE(497, 656), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateTableSpaceStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateTableSpaceStmt* pg_query_Node_mutable_create_table_space_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateTableSpaceStmt* sub = (struct pg_query_CreateTableSpaceStmt*)pg_query_Node_create_table_space_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateTableSpaceStmt*)_upb_Message_New(&pg_0query__CreateTableSpaceStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_table_space_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_drop_table_space_stmt(pg_query_Node* msg, pg_query_DropTableSpaceStmt* value) { + const upb_MiniTableField field = {160, UPB_SIZE(12, 16), -9, UPB_SIZE(495, 655), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropTableSpaceStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DropTableSpaceStmt* pg_query_Node_mutable_drop_table_space_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DropTableSpaceStmt* sub = (struct pg_query_DropTableSpaceStmt*)pg_query_Node_drop_table_space_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DropTableSpaceStmt*)_upb_Message_New(&pg_0query__DropTableSpaceStmt_msg_init, arena); + if (sub) pg_query_Node_set_drop_table_space_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_table_space_options_stmt(pg_query_Node* msg, pg_query_AlterTableSpaceOptionsStmt* value) { + const upb_MiniTableField field = {161, UPB_SIZE(12, 16), -9, UPB_SIZE(493, 654), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTableSpaceOptionsStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterTableSpaceOptionsStmt* pg_query_Node_mutable_alter_table_space_options_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterTableSpaceOptionsStmt* sub = (struct pg_query_AlterTableSpaceOptionsStmt*)pg_query_Node_alter_table_space_options_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterTableSpaceOptionsStmt*)_upb_Message_New(&pg_0query__AlterTableSpaceOptionsStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_table_space_options_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_table_move_all_stmt(pg_query_Node* msg, pg_query_AlterTableMoveAllStmt* value) { + const upb_MiniTableField field = {162, UPB_SIZE(12, 16), -9, UPB_SIZE(491, 653), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTableMoveAllStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterTableMoveAllStmt* pg_query_Node_mutable_alter_table_move_all_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterTableMoveAllStmt* sub = (struct pg_query_AlterTableMoveAllStmt*)pg_query_Node_alter_table_move_all_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterTableMoveAllStmt*)_upb_Message_New(&pg_0query__AlterTableMoveAllStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_table_move_all_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_extension_stmt(pg_query_Node* msg, pg_query_CreateExtensionStmt* value) { + const upb_MiniTableField field = {163, UPB_SIZE(12, 16), -9, UPB_SIZE(489, 652), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateExtensionStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateExtensionStmt* pg_query_Node_mutable_create_extension_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateExtensionStmt* sub = (struct pg_query_CreateExtensionStmt*)pg_query_Node_create_extension_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateExtensionStmt*)_upb_Message_New(&pg_0query__CreateExtensionStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_extension_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_extension_stmt(pg_query_Node* msg, pg_query_AlterExtensionStmt* value) { + const upb_MiniTableField field = {164, UPB_SIZE(12, 16), -9, UPB_SIZE(487, 651), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterExtensionStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterExtensionStmt* pg_query_Node_mutable_alter_extension_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterExtensionStmt* sub = (struct pg_query_AlterExtensionStmt*)pg_query_Node_alter_extension_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterExtensionStmt*)_upb_Message_New(&pg_0query__AlterExtensionStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_extension_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_extension_contents_stmt(pg_query_Node* msg, pg_query_AlterExtensionContentsStmt* value) { + const upb_MiniTableField field = {165, UPB_SIZE(12, 16), -9, UPB_SIZE(485, 650), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterExtensionContentsStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterExtensionContentsStmt* pg_query_Node_mutable_alter_extension_contents_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterExtensionContentsStmt* sub = (struct pg_query_AlterExtensionContentsStmt*)pg_query_Node_alter_extension_contents_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterExtensionContentsStmt*)_upb_Message_New(&pg_0query__AlterExtensionContentsStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_extension_contents_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_fdw_stmt(pg_query_Node* msg, pg_query_CreateFdwStmt* value) { + const upb_MiniTableField field = {166, UPB_SIZE(12, 16), -9, UPB_SIZE(483, 649), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateFdwStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateFdwStmt* pg_query_Node_mutable_create_fdw_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateFdwStmt* sub = (struct pg_query_CreateFdwStmt*)pg_query_Node_create_fdw_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateFdwStmt*)_upb_Message_New(&pg_0query__CreateFdwStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_fdw_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_fdw_stmt(pg_query_Node* msg, pg_query_AlterFdwStmt* value) { + const upb_MiniTableField field = {167, UPB_SIZE(12, 16), -9, UPB_SIZE(481, 648), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterFdwStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterFdwStmt* pg_query_Node_mutable_alter_fdw_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterFdwStmt* sub = (struct pg_query_AlterFdwStmt*)pg_query_Node_alter_fdw_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterFdwStmt*)_upb_Message_New(&pg_0query__AlterFdwStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_fdw_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_foreign_server_stmt(pg_query_Node* msg, pg_query_CreateForeignServerStmt* value) { + const upb_MiniTableField field = {168, UPB_SIZE(12, 16), -9, UPB_SIZE(479, 647), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateForeignServerStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateForeignServerStmt* pg_query_Node_mutable_create_foreign_server_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateForeignServerStmt* sub = (struct pg_query_CreateForeignServerStmt*)pg_query_Node_create_foreign_server_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateForeignServerStmt*)_upb_Message_New(&pg_0query__CreateForeignServerStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_foreign_server_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_foreign_server_stmt(pg_query_Node* msg, pg_query_AlterForeignServerStmt* value) { + const upb_MiniTableField field = {169, UPB_SIZE(12, 16), -9, UPB_SIZE(477, 646), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterForeignServerStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterForeignServerStmt* pg_query_Node_mutable_alter_foreign_server_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterForeignServerStmt* sub = (struct pg_query_AlterForeignServerStmt*)pg_query_Node_alter_foreign_server_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterForeignServerStmt*)_upb_Message_New(&pg_0query__AlterForeignServerStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_foreign_server_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_foreign_table_stmt(pg_query_Node* msg, pg_query_CreateForeignTableStmt* value) { + const upb_MiniTableField field = {170, UPB_SIZE(12, 16), -9, UPB_SIZE(475, 645), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateForeignTableStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateForeignTableStmt* pg_query_Node_mutable_create_foreign_table_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateForeignTableStmt* sub = (struct pg_query_CreateForeignTableStmt*)pg_query_Node_create_foreign_table_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateForeignTableStmt*)_upb_Message_New(&pg_0query__CreateForeignTableStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_foreign_table_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_user_mapping_stmt(pg_query_Node* msg, pg_query_CreateUserMappingStmt* value) { + const upb_MiniTableField field = {171, UPB_SIZE(12, 16), -9, UPB_SIZE(473, 644), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateUserMappingStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateUserMappingStmt* pg_query_Node_mutable_create_user_mapping_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateUserMappingStmt* sub = (struct pg_query_CreateUserMappingStmt*)pg_query_Node_create_user_mapping_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateUserMappingStmt*)_upb_Message_New(&pg_0query__CreateUserMappingStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_user_mapping_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_user_mapping_stmt(pg_query_Node* msg, pg_query_AlterUserMappingStmt* value) { + const upb_MiniTableField field = {172, UPB_SIZE(12, 16), -9, UPB_SIZE(471, 643), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterUserMappingStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterUserMappingStmt* pg_query_Node_mutable_alter_user_mapping_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterUserMappingStmt* sub = (struct pg_query_AlterUserMappingStmt*)pg_query_Node_alter_user_mapping_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterUserMappingStmt*)_upb_Message_New(&pg_0query__AlterUserMappingStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_user_mapping_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_drop_user_mapping_stmt(pg_query_Node* msg, pg_query_DropUserMappingStmt* value) { + const upb_MiniTableField field = {173, UPB_SIZE(12, 16), -9, UPB_SIZE(469, 642), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropUserMappingStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DropUserMappingStmt* pg_query_Node_mutable_drop_user_mapping_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DropUserMappingStmt* sub = (struct pg_query_DropUserMappingStmt*)pg_query_Node_drop_user_mapping_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DropUserMappingStmt*)_upb_Message_New(&pg_0query__DropUserMappingStmt_msg_init, arena); + if (sub) pg_query_Node_set_drop_user_mapping_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_import_foreign_schema_stmt(pg_query_Node* msg, pg_query_ImportForeignSchemaStmt* value) { + const upb_MiniTableField field = {174, UPB_SIZE(12, 16), -9, UPB_SIZE(467, 641), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ImportForeignSchemaStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ImportForeignSchemaStmt* pg_query_Node_mutable_import_foreign_schema_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ImportForeignSchemaStmt* sub = (struct pg_query_ImportForeignSchemaStmt*)pg_query_Node_import_foreign_schema_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ImportForeignSchemaStmt*)_upb_Message_New(&pg_0query__ImportForeignSchemaStmt_msg_init, arena); + if (sub) pg_query_Node_set_import_foreign_schema_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_policy_stmt(pg_query_Node* msg, pg_query_CreatePolicyStmt* value) { + const upb_MiniTableField field = {175, UPB_SIZE(12, 16), -9, UPB_SIZE(465, 640), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreatePolicyStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreatePolicyStmt* pg_query_Node_mutable_create_policy_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreatePolicyStmt* sub = (struct pg_query_CreatePolicyStmt*)pg_query_Node_create_policy_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreatePolicyStmt*)_upb_Message_New(&pg_0query__CreatePolicyStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_policy_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_policy_stmt(pg_query_Node* msg, pg_query_AlterPolicyStmt* value) { + const upb_MiniTableField field = {176, UPB_SIZE(12, 16), -9, UPB_SIZE(463, 639), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterPolicyStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterPolicyStmt* pg_query_Node_mutable_alter_policy_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterPolicyStmt* sub = (struct pg_query_AlterPolicyStmt*)pg_query_Node_alter_policy_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterPolicyStmt*)_upb_Message_New(&pg_0query__AlterPolicyStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_policy_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_am_stmt(pg_query_Node* msg, pg_query_CreateAmStmt* value) { + const upb_MiniTableField field = {177, UPB_SIZE(12, 16), -9, UPB_SIZE(461, 638), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateAmStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateAmStmt* pg_query_Node_mutable_create_am_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateAmStmt* sub = (struct pg_query_CreateAmStmt*)pg_query_Node_create_am_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateAmStmt*)_upb_Message_New(&pg_0query__CreateAmStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_am_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_trig_stmt(pg_query_Node* msg, pg_query_CreateTrigStmt* value) { + const upb_MiniTableField field = {178, UPB_SIZE(12, 16), -9, UPB_SIZE(459, 637), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateTrigStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateTrigStmt* pg_query_Node_mutable_create_trig_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateTrigStmt* sub = (struct pg_query_CreateTrigStmt*)pg_query_Node_create_trig_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateTrigStmt*)_upb_Message_New(&pg_0query__CreateTrigStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_trig_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_event_trig_stmt(pg_query_Node* msg, pg_query_CreateEventTrigStmt* value) { + const upb_MiniTableField field = {179, UPB_SIZE(12, 16), -9, UPB_SIZE(457, 636), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateEventTrigStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateEventTrigStmt* pg_query_Node_mutable_create_event_trig_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateEventTrigStmt* sub = (struct pg_query_CreateEventTrigStmt*)pg_query_Node_create_event_trig_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateEventTrigStmt*)_upb_Message_New(&pg_0query__CreateEventTrigStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_event_trig_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_event_trig_stmt(pg_query_Node* msg, pg_query_AlterEventTrigStmt* value) { + const upb_MiniTableField field = {180, UPB_SIZE(12, 16), -9, UPB_SIZE(455, 635), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterEventTrigStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterEventTrigStmt* pg_query_Node_mutable_alter_event_trig_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterEventTrigStmt* sub = (struct pg_query_AlterEventTrigStmt*)pg_query_Node_alter_event_trig_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterEventTrigStmt*)_upb_Message_New(&pg_0query__AlterEventTrigStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_event_trig_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_plang_stmt(pg_query_Node* msg, pg_query_CreatePLangStmt* value) { + const upb_MiniTableField field = {181, UPB_SIZE(12, 16), -9, UPB_SIZE(453, 634), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreatePLangStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreatePLangStmt* pg_query_Node_mutable_create_plang_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreatePLangStmt* sub = (struct pg_query_CreatePLangStmt*)pg_query_Node_create_plang_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreatePLangStmt*)_upb_Message_New(&pg_0query__CreatePLangStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_plang_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_role_stmt(pg_query_Node* msg, pg_query_CreateRoleStmt* value) { + const upb_MiniTableField field = {182, UPB_SIZE(12, 16), -9, UPB_SIZE(451, 633), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateRoleStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateRoleStmt* pg_query_Node_mutable_create_role_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateRoleStmt* sub = (struct pg_query_CreateRoleStmt*)pg_query_Node_create_role_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateRoleStmt*)_upb_Message_New(&pg_0query__CreateRoleStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_role_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_role_stmt(pg_query_Node* msg, pg_query_AlterRoleStmt* value) { + const upb_MiniTableField field = {183, UPB_SIZE(12, 16), -9, UPB_SIZE(449, 632), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterRoleStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterRoleStmt* pg_query_Node_mutable_alter_role_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterRoleStmt* sub = (struct pg_query_AlterRoleStmt*)pg_query_Node_alter_role_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterRoleStmt*)_upb_Message_New(&pg_0query__AlterRoleStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_role_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_role_set_stmt(pg_query_Node* msg, pg_query_AlterRoleSetStmt* value) { + const upb_MiniTableField field = {184, UPB_SIZE(12, 16), -9, UPB_SIZE(447, 631), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterRoleSetStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterRoleSetStmt* pg_query_Node_mutable_alter_role_set_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterRoleSetStmt* sub = (struct pg_query_AlterRoleSetStmt*)pg_query_Node_alter_role_set_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterRoleSetStmt*)_upb_Message_New(&pg_0query__AlterRoleSetStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_role_set_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_drop_role_stmt(pg_query_Node* msg, pg_query_DropRoleStmt* value) { + const upb_MiniTableField field = {185, UPB_SIZE(12, 16), -9, UPB_SIZE(445, 630), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropRoleStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DropRoleStmt* pg_query_Node_mutable_drop_role_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DropRoleStmt* sub = (struct pg_query_DropRoleStmt*)pg_query_Node_drop_role_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DropRoleStmt*)_upb_Message_New(&pg_0query__DropRoleStmt_msg_init, arena); + if (sub) pg_query_Node_set_drop_role_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_seq_stmt(pg_query_Node* msg, pg_query_CreateSeqStmt* value) { + const upb_MiniTableField field = {186, UPB_SIZE(12, 16), -9, UPB_SIZE(443, 629), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateSeqStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateSeqStmt* pg_query_Node_mutable_create_seq_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateSeqStmt* sub = (struct pg_query_CreateSeqStmt*)pg_query_Node_create_seq_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateSeqStmt*)_upb_Message_New(&pg_0query__CreateSeqStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_seq_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_seq_stmt(pg_query_Node* msg, pg_query_AlterSeqStmt* value) { + const upb_MiniTableField field = {187, UPB_SIZE(12, 16), -9, UPB_SIZE(441, 628), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterSeqStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterSeqStmt* pg_query_Node_mutable_alter_seq_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterSeqStmt* sub = (struct pg_query_AlterSeqStmt*)pg_query_Node_alter_seq_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterSeqStmt*)_upb_Message_New(&pg_0query__AlterSeqStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_seq_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_define_stmt(pg_query_Node* msg, pg_query_DefineStmt* value) { + const upb_MiniTableField field = {188, UPB_SIZE(12, 16), -9, UPB_SIZE(439, 627), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DefineStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DefineStmt* pg_query_Node_mutable_define_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DefineStmt* sub = (struct pg_query_DefineStmt*)pg_query_Node_define_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DefineStmt*)_upb_Message_New(&pg_0query__DefineStmt_msg_init, arena); + if (sub) pg_query_Node_set_define_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_domain_stmt(pg_query_Node* msg, pg_query_CreateDomainStmt* value) { + const upb_MiniTableField field = {189, UPB_SIZE(12, 16), -9, UPB_SIZE(437, 626), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateDomainStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateDomainStmt* pg_query_Node_mutable_create_domain_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateDomainStmt* sub = (struct pg_query_CreateDomainStmt*)pg_query_Node_create_domain_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateDomainStmt*)_upb_Message_New(&pg_0query__CreateDomainStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_domain_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_op_class_stmt(pg_query_Node* msg, pg_query_CreateOpClassStmt* value) { + const upb_MiniTableField field = {190, UPB_SIZE(12, 16), -9, UPB_SIZE(435, 625), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateOpClassStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateOpClassStmt* pg_query_Node_mutable_create_op_class_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateOpClassStmt* sub = (struct pg_query_CreateOpClassStmt*)pg_query_Node_create_op_class_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateOpClassStmt*)_upb_Message_New(&pg_0query__CreateOpClassStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_op_class_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_op_class_item(pg_query_Node* msg, pg_query_CreateOpClassItem* value) { + const upb_MiniTableField field = {191, UPB_SIZE(12, 16), -9, UPB_SIZE(433, 624), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateOpClassItem_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateOpClassItem* pg_query_Node_mutable_create_op_class_item( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateOpClassItem* sub = (struct pg_query_CreateOpClassItem*)pg_query_Node_create_op_class_item(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateOpClassItem*)_upb_Message_New(&pg_0query__CreateOpClassItem_msg_init, arena); + if (sub) pg_query_Node_set_create_op_class_item(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_op_family_stmt(pg_query_Node* msg, pg_query_CreateOpFamilyStmt* value) { + const upb_MiniTableField field = {192, UPB_SIZE(12, 16), -9, UPB_SIZE(431, 623), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateOpFamilyStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateOpFamilyStmt* pg_query_Node_mutable_create_op_family_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateOpFamilyStmt* sub = (struct pg_query_CreateOpFamilyStmt*)pg_query_Node_create_op_family_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateOpFamilyStmt*)_upb_Message_New(&pg_0query__CreateOpFamilyStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_op_family_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_op_family_stmt(pg_query_Node* msg, pg_query_AlterOpFamilyStmt* value) { + const upb_MiniTableField field = {193, UPB_SIZE(12, 16), -9, UPB_SIZE(429, 622), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterOpFamilyStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterOpFamilyStmt* pg_query_Node_mutable_alter_op_family_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterOpFamilyStmt* sub = (struct pg_query_AlterOpFamilyStmt*)pg_query_Node_alter_op_family_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterOpFamilyStmt*)_upb_Message_New(&pg_0query__AlterOpFamilyStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_op_family_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_drop_stmt(pg_query_Node* msg, pg_query_DropStmt* value) { + const upb_MiniTableField field = {194, UPB_SIZE(12, 16), -9, UPB_SIZE(427, 621), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DropStmt* pg_query_Node_mutable_drop_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DropStmt* sub = (struct pg_query_DropStmt*)pg_query_Node_drop_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DropStmt*)_upb_Message_New(&pg_0query__DropStmt_msg_init, arena); + if (sub) pg_query_Node_set_drop_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_truncate_stmt(pg_query_Node* msg, pg_query_TruncateStmt* value) { + const upb_MiniTableField field = {195, UPB_SIZE(12, 16), -9, UPB_SIZE(425, 620), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TruncateStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TruncateStmt* pg_query_Node_mutable_truncate_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_TruncateStmt* sub = (struct pg_query_TruncateStmt*)pg_query_Node_truncate_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_TruncateStmt*)_upb_Message_New(&pg_0query__TruncateStmt_msg_init, arena); + if (sub) pg_query_Node_set_truncate_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_comment_stmt(pg_query_Node* msg, pg_query_CommentStmt* value) { + const upb_MiniTableField field = {196, UPB_SIZE(12, 16), -9, UPB_SIZE(423, 619), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CommentStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CommentStmt* pg_query_Node_mutable_comment_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CommentStmt* sub = (struct pg_query_CommentStmt*)pg_query_Node_comment_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CommentStmt*)_upb_Message_New(&pg_0query__CommentStmt_msg_init, arena); + if (sub) pg_query_Node_set_comment_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_sec_label_stmt(pg_query_Node* msg, pg_query_SecLabelStmt* value) { + const upb_MiniTableField field = {197, UPB_SIZE(12, 16), -9, UPB_SIZE(421, 618), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SecLabelStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SecLabelStmt* pg_query_Node_mutable_sec_label_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_SecLabelStmt* sub = (struct pg_query_SecLabelStmt*)pg_query_Node_sec_label_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_SecLabelStmt*)_upb_Message_New(&pg_0query__SecLabelStmt_msg_init, arena); + if (sub) pg_query_Node_set_sec_label_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_declare_cursor_stmt(pg_query_Node* msg, pg_query_DeclareCursorStmt* value) { + const upb_MiniTableField field = {198, UPB_SIZE(12, 16), -9, UPB_SIZE(419, 617), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DeclareCursorStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DeclareCursorStmt* pg_query_Node_mutable_declare_cursor_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DeclareCursorStmt* sub = (struct pg_query_DeclareCursorStmt*)pg_query_Node_declare_cursor_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DeclareCursorStmt*)_upb_Message_New(&pg_0query__DeclareCursorStmt_msg_init, arena); + if (sub) pg_query_Node_set_declare_cursor_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_close_portal_stmt(pg_query_Node* msg, pg_query_ClosePortalStmt* value) { + const upb_MiniTableField field = {199, UPB_SIZE(12, 16), -9, UPB_SIZE(417, 616), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ClosePortalStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ClosePortalStmt* pg_query_Node_mutable_close_portal_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ClosePortalStmt* sub = (struct pg_query_ClosePortalStmt*)pg_query_Node_close_portal_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ClosePortalStmt*)_upb_Message_New(&pg_0query__ClosePortalStmt_msg_init, arena); + if (sub) pg_query_Node_set_close_portal_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_fetch_stmt(pg_query_Node* msg, pg_query_FetchStmt* value) { + const upb_MiniTableField field = {200, UPB_SIZE(12, 16), -9, UPB_SIZE(415, 615), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FetchStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_FetchStmt* pg_query_Node_mutable_fetch_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_FetchStmt* sub = (struct pg_query_FetchStmt*)pg_query_Node_fetch_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_FetchStmt*)_upb_Message_New(&pg_0query__FetchStmt_msg_init, arena); + if (sub) pg_query_Node_set_fetch_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_index_stmt(pg_query_Node* msg, pg_query_IndexStmt* value) { + const upb_MiniTableField field = {201, UPB_SIZE(12, 16), -9, UPB_SIZE(413, 614), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IndexStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_IndexStmt* pg_query_Node_mutable_index_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_IndexStmt* sub = (struct pg_query_IndexStmt*)pg_query_Node_index_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_IndexStmt*)_upb_Message_New(&pg_0query__IndexStmt_msg_init, arena); + if (sub) pg_query_Node_set_index_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_stats_stmt(pg_query_Node* msg, pg_query_CreateStatsStmt* value) { + const upb_MiniTableField field = {202, UPB_SIZE(12, 16), -9, UPB_SIZE(411, 613), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateStatsStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateStatsStmt* pg_query_Node_mutable_create_stats_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateStatsStmt* sub = (struct pg_query_CreateStatsStmt*)pg_query_Node_create_stats_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateStatsStmt*)_upb_Message_New(&pg_0query__CreateStatsStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_stats_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_stats_elem(pg_query_Node* msg, pg_query_StatsElem* value) { + const upb_MiniTableField field = {203, UPB_SIZE(12, 16), -9, UPB_SIZE(409, 612), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__StatsElem_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_StatsElem* pg_query_Node_mutable_stats_elem( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_StatsElem* sub = (struct pg_query_StatsElem*)pg_query_Node_stats_elem(msg); + if (sub == NULL) { + sub = (struct pg_query_StatsElem*)_upb_Message_New(&pg_0query__StatsElem_msg_init, arena); + if (sub) pg_query_Node_set_stats_elem(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_stats_stmt(pg_query_Node* msg, pg_query_AlterStatsStmt* value) { + const upb_MiniTableField field = {204, UPB_SIZE(12, 16), -9, UPB_SIZE(407, 611), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterStatsStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterStatsStmt* pg_query_Node_mutable_alter_stats_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterStatsStmt* sub = (struct pg_query_AlterStatsStmt*)pg_query_Node_alter_stats_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterStatsStmt*)_upb_Message_New(&pg_0query__AlterStatsStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_stats_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_function_stmt(pg_query_Node* msg, pg_query_CreateFunctionStmt* value) { + const upb_MiniTableField field = {205, UPB_SIZE(12, 16), -9, UPB_SIZE(405, 610), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateFunctionStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateFunctionStmt* pg_query_Node_mutable_create_function_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateFunctionStmt* sub = (struct pg_query_CreateFunctionStmt*)pg_query_Node_create_function_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateFunctionStmt*)_upb_Message_New(&pg_0query__CreateFunctionStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_function_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_function_parameter(pg_query_Node* msg, pg_query_FunctionParameter* value) { + const upb_MiniTableField field = {206, UPB_SIZE(12, 16), -9, UPB_SIZE(403, 609), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FunctionParameter_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_FunctionParameter* pg_query_Node_mutable_function_parameter( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_FunctionParameter* sub = (struct pg_query_FunctionParameter*)pg_query_Node_function_parameter(msg); + if (sub == NULL) { + sub = (struct pg_query_FunctionParameter*)_upb_Message_New(&pg_0query__FunctionParameter_msg_init, arena); + if (sub) pg_query_Node_set_function_parameter(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_function_stmt(pg_query_Node* msg, pg_query_AlterFunctionStmt* value) { + const upb_MiniTableField field = {207, UPB_SIZE(12, 16), -9, UPB_SIZE(401, 608), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterFunctionStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterFunctionStmt* pg_query_Node_mutable_alter_function_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterFunctionStmt* sub = (struct pg_query_AlterFunctionStmt*)pg_query_Node_alter_function_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterFunctionStmt*)_upb_Message_New(&pg_0query__AlterFunctionStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_function_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_do_stmt(pg_query_Node* msg, pg_query_DoStmt* value) { + const upb_MiniTableField field = {208, UPB_SIZE(12, 16), -9, UPB_SIZE(399, 607), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DoStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DoStmt* pg_query_Node_mutable_do_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DoStmt* sub = (struct pg_query_DoStmt*)pg_query_Node_do_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DoStmt*)_upb_Message_New(&pg_0query__DoStmt_msg_init, arena); + if (sub) pg_query_Node_set_do_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_inline_code_block(pg_query_Node* msg, pg_query_InlineCodeBlock* value) { + const upb_MiniTableField field = {209, UPB_SIZE(12, 16), -9, UPB_SIZE(397, 606), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__InlineCodeBlock_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_InlineCodeBlock* pg_query_Node_mutable_inline_code_block( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_InlineCodeBlock* sub = (struct pg_query_InlineCodeBlock*)pg_query_Node_inline_code_block(msg); + if (sub == NULL) { + sub = (struct pg_query_InlineCodeBlock*)_upb_Message_New(&pg_0query__InlineCodeBlock_msg_init, arena); + if (sub) pg_query_Node_set_inline_code_block(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_call_stmt(pg_query_Node* msg, pg_query_CallStmt* value) { + const upb_MiniTableField field = {210, UPB_SIZE(12, 16), -9, UPB_SIZE(395, 605), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CallStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CallStmt* pg_query_Node_mutable_call_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CallStmt* sub = (struct pg_query_CallStmt*)pg_query_Node_call_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CallStmt*)_upb_Message_New(&pg_0query__CallStmt_msg_init, arena); + if (sub) pg_query_Node_set_call_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_call_context(pg_query_Node* msg, pg_query_CallContext* value) { + const upb_MiniTableField field = {211, UPB_SIZE(12, 16), -9, UPB_SIZE(393, 604), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CallContext_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CallContext* pg_query_Node_mutable_call_context( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CallContext* sub = (struct pg_query_CallContext*)pg_query_Node_call_context(msg); + if (sub == NULL) { + sub = (struct pg_query_CallContext*)_upb_Message_New(&pg_0query__CallContext_msg_init, arena); + if (sub) pg_query_Node_set_call_context(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_rename_stmt(pg_query_Node* msg, pg_query_RenameStmt* value) { + const upb_MiniTableField field = {212, UPB_SIZE(12, 16), -9, UPB_SIZE(391, 603), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RenameStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RenameStmt* pg_query_Node_mutable_rename_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RenameStmt* sub = (struct pg_query_RenameStmt*)pg_query_Node_rename_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_RenameStmt*)_upb_Message_New(&pg_0query__RenameStmt_msg_init, arena); + if (sub) pg_query_Node_set_rename_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_object_depends_stmt(pg_query_Node* msg, pg_query_AlterObjectDependsStmt* value) { + const upb_MiniTableField field = {213, UPB_SIZE(12, 16), -9, UPB_SIZE(389, 602), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterObjectDependsStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterObjectDependsStmt* pg_query_Node_mutable_alter_object_depends_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterObjectDependsStmt* sub = (struct pg_query_AlterObjectDependsStmt*)pg_query_Node_alter_object_depends_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterObjectDependsStmt*)_upb_Message_New(&pg_0query__AlterObjectDependsStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_object_depends_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_object_schema_stmt(pg_query_Node* msg, pg_query_AlterObjectSchemaStmt* value) { + const upb_MiniTableField field = {214, UPB_SIZE(12, 16), -9, UPB_SIZE(387, 601), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterObjectSchemaStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterObjectSchemaStmt* pg_query_Node_mutable_alter_object_schema_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterObjectSchemaStmt* sub = (struct pg_query_AlterObjectSchemaStmt*)pg_query_Node_alter_object_schema_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterObjectSchemaStmt*)_upb_Message_New(&pg_0query__AlterObjectSchemaStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_object_schema_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_owner_stmt(pg_query_Node* msg, pg_query_AlterOwnerStmt* value) { + const upb_MiniTableField field = {215, UPB_SIZE(12, 16), -9, UPB_SIZE(385, 600), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterOwnerStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterOwnerStmt* pg_query_Node_mutable_alter_owner_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterOwnerStmt* sub = (struct pg_query_AlterOwnerStmt*)pg_query_Node_alter_owner_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterOwnerStmt*)_upb_Message_New(&pg_0query__AlterOwnerStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_owner_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_operator_stmt(pg_query_Node* msg, pg_query_AlterOperatorStmt* value) { + const upb_MiniTableField field = {216, UPB_SIZE(12, 16), -9, UPB_SIZE(383, 599), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterOperatorStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterOperatorStmt* pg_query_Node_mutable_alter_operator_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterOperatorStmt* sub = (struct pg_query_AlterOperatorStmt*)pg_query_Node_alter_operator_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterOperatorStmt*)_upb_Message_New(&pg_0query__AlterOperatorStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_operator_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_type_stmt(pg_query_Node* msg, pg_query_AlterTypeStmt* value) { + const upb_MiniTableField field = {217, UPB_SIZE(12, 16), -9, UPB_SIZE(381, 598), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTypeStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterTypeStmt* pg_query_Node_mutable_alter_type_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterTypeStmt* sub = (struct pg_query_AlterTypeStmt*)pg_query_Node_alter_type_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterTypeStmt*)_upb_Message_New(&pg_0query__AlterTypeStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_type_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_rule_stmt(pg_query_Node* msg, pg_query_RuleStmt* value) { + const upb_MiniTableField field = {218, UPB_SIZE(12, 16), -9, UPB_SIZE(379, 597), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RuleStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RuleStmt* pg_query_Node_mutable_rule_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RuleStmt* sub = (struct pg_query_RuleStmt*)pg_query_Node_rule_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_RuleStmt*)_upb_Message_New(&pg_0query__RuleStmt_msg_init, arena); + if (sub) pg_query_Node_set_rule_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_notify_stmt(pg_query_Node* msg, pg_query_NotifyStmt* value) { + const upb_MiniTableField field = {219, UPB_SIZE(12, 16), -9, UPB_SIZE(377, 596), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__NotifyStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_NotifyStmt* pg_query_Node_mutable_notify_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_NotifyStmt* sub = (struct pg_query_NotifyStmt*)pg_query_Node_notify_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_NotifyStmt*)_upb_Message_New(&pg_0query__NotifyStmt_msg_init, arena); + if (sub) pg_query_Node_set_notify_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_listen_stmt(pg_query_Node* msg, pg_query_ListenStmt* value) { + const upb_MiniTableField field = {220, UPB_SIZE(12, 16), -9, UPB_SIZE(375, 595), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ListenStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ListenStmt* pg_query_Node_mutable_listen_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ListenStmt* sub = (struct pg_query_ListenStmt*)pg_query_Node_listen_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ListenStmt*)_upb_Message_New(&pg_0query__ListenStmt_msg_init, arena); + if (sub) pg_query_Node_set_listen_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_unlisten_stmt(pg_query_Node* msg, pg_query_UnlistenStmt* value) { + const upb_MiniTableField field = {221, UPB_SIZE(12, 16), -9, UPB_SIZE(373, 594), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__UnlistenStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_UnlistenStmt* pg_query_Node_mutable_unlisten_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_UnlistenStmt* sub = (struct pg_query_UnlistenStmt*)pg_query_Node_unlisten_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_UnlistenStmt*)_upb_Message_New(&pg_0query__UnlistenStmt_msg_init, arena); + if (sub) pg_query_Node_set_unlisten_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_transaction_stmt(pg_query_Node* msg, pg_query_TransactionStmt* value) { + const upb_MiniTableField field = {222, UPB_SIZE(12, 16), -9, UPB_SIZE(371, 593), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TransactionStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TransactionStmt* pg_query_Node_mutable_transaction_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_TransactionStmt* sub = (struct pg_query_TransactionStmt*)pg_query_Node_transaction_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_TransactionStmt*)_upb_Message_New(&pg_0query__TransactionStmt_msg_init, arena); + if (sub) pg_query_Node_set_transaction_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_composite_type_stmt(pg_query_Node* msg, pg_query_CompositeTypeStmt* value) { + const upb_MiniTableField field = {223, UPB_SIZE(12, 16), -9, UPB_SIZE(369, 592), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CompositeTypeStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CompositeTypeStmt* pg_query_Node_mutable_composite_type_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CompositeTypeStmt* sub = (struct pg_query_CompositeTypeStmt*)pg_query_Node_composite_type_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CompositeTypeStmt*)_upb_Message_New(&pg_0query__CompositeTypeStmt_msg_init, arena); + if (sub) pg_query_Node_set_composite_type_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_enum_stmt(pg_query_Node* msg, pg_query_CreateEnumStmt* value) { + const upb_MiniTableField field = {224, UPB_SIZE(12, 16), -9, UPB_SIZE(367, 591), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateEnumStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateEnumStmt* pg_query_Node_mutable_create_enum_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateEnumStmt* sub = (struct pg_query_CreateEnumStmt*)pg_query_Node_create_enum_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateEnumStmt*)_upb_Message_New(&pg_0query__CreateEnumStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_enum_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_range_stmt(pg_query_Node* msg, pg_query_CreateRangeStmt* value) { + const upb_MiniTableField field = {225, UPB_SIZE(12, 16), -9, UPB_SIZE(365, 590), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateRangeStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateRangeStmt* pg_query_Node_mutable_create_range_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateRangeStmt* sub = (struct pg_query_CreateRangeStmt*)pg_query_Node_create_range_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateRangeStmt*)_upb_Message_New(&pg_0query__CreateRangeStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_range_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_enum_stmt(pg_query_Node* msg, pg_query_AlterEnumStmt* value) { + const upb_MiniTableField field = {226, UPB_SIZE(12, 16), -9, UPB_SIZE(363, 589), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterEnumStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterEnumStmt* pg_query_Node_mutable_alter_enum_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterEnumStmt* sub = (struct pg_query_AlterEnumStmt*)pg_query_Node_alter_enum_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterEnumStmt*)_upb_Message_New(&pg_0query__AlterEnumStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_enum_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_view_stmt(pg_query_Node* msg, pg_query_ViewStmt* value) { + const upb_MiniTableField field = {227, UPB_SIZE(12, 16), -9, UPB_SIZE(361, 588), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ViewStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ViewStmt* pg_query_Node_mutable_view_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ViewStmt* sub = (struct pg_query_ViewStmt*)pg_query_Node_view_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ViewStmt*)_upb_Message_New(&pg_0query__ViewStmt_msg_init, arena); + if (sub) pg_query_Node_set_view_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_load_stmt(pg_query_Node* msg, pg_query_LoadStmt* value) { + const upb_MiniTableField field = {228, UPB_SIZE(12, 16), -9, UPB_SIZE(359, 587), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__LoadStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_LoadStmt* pg_query_Node_mutable_load_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_LoadStmt* sub = (struct pg_query_LoadStmt*)pg_query_Node_load_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_LoadStmt*)_upb_Message_New(&pg_0query__LoadStmt_msg_init, arena); + if (sub) pg_query_Node_set_load_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_createdb_stmt(pg_query_Node* msg, pg_query_CreatedbStmt* value) { + const upb_MiniTableField field = {229, UPB_SIZE(12, 16), -9, UPB_SIZE(357, 586), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreatedbStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreatedbStmt* pg_query_Node_mutable_createdb_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreatedbStmt* sub = (struct pg_query_CreatedbStmt*)pg_query_Node_createdb_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreatedbStmt*)_upb_Message_New(&pg_0query__CreatedbStmt_msg_init, arena); + if (sub) pg_query_Node_set_createdb_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_database_stmt(pg_query_Node* msg, pg_query_AlterDatabaseStmt* value) { + const upb_MiniTableField field = {230, UPB_SIZE(12, 16), -9, UPB_SIZE(355, 585), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterDatabaseStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterDatabaseStmt* pg_query_Node_mutable_alter_database_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterDatabaseStmt* sub = (struct pg_query_AlterDatabaseStmt*)pg_query_Node_alter_database_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterDatabaseStmt*)_upb_Message_New(&pg_0query__AlterDatabaseStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_database_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_database_refresh_coll_stmt(pg_query_Node* msg, pg_query_AlterDatabaseRefreshCollStmt* value) { + const upb_MiniTableField field = {231, UPB_SIZE(12, 16), -9, UPB_SIZE(353, 584), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterDatabaseRefreshCollStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterDatabaseRefreshCollStmt* pg_query_Node_mutable_alter_database_refresh_coll_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterDatabaseRefreshCollStmt* sub = (struct pg_query_AlterDatabaseRefreshCollStmt*)pg_query_Node_alter_database_refresh_coll_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterDatabaseRefreshCollStmt*)_upb_Message_New(&pg_0query__AlterDatabaseRefreshCollStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_database_refresh_coll_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_database_set_stmt(pg_query_Node* msg, pg_query_AlterDatabaseSetStmt* value) { + const upb_MiniTableField field = {232, UPB_SIZE(12, 16), -9, UPB_SIZE(351, 583), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterDatabaseSetStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterDatabaseSetStmt* pg_query_Node_mutable_alter_database_set_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterDatabaseSetStmt* sub = (struct pg_query_AlterDatabaseSetStmt*)pg_query_Node_alter_database_set_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterDatabaseSetStmt*)_upb_Message_New(&pg_0query__AlterDatabaseSetStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_database_set_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_dropdb_stmt(pg_query_Node* msg, pg_query_DropdbStmt* value) { + const upb_MiniTableField field = {233, UPB_SIZE(12, 16), -9, UPB_SIZE(349, 582), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropdbStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DropdbStmt* pg_query_Node_mutable_dropdb_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DropdbStmt* sub = (struct pg_query_DropdbStmt*)pg_query_Node_dropdb_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DropdbStmt*)_upb_Message_New(&pg_0query__DropdbStmt_msg_init, arena); + if (sub) pg_query_Node_set_dropdb_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_system_stmt(pg_query_Node* msg, pg_query_AlterSystemStmt* value) { + const upb_MiniTableField field = {234, UPB_SIZE(12, 16), -9, UPB_SIZE(347, 581), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterSystemStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterSystemStmt* pg_query_Node_mutable_alter_system_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterSystemStmt* sub = (struct pg_query_AlterSystemStmt*)pg_query_Node_alter_system_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterSystemStmt*)_upb_Message_New(&pg_0query__AlterSystemStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_system_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_cluster_stmt(pg_query_Node* msg, pg_query_ClusterStmt* value) { + const upb_MiniTableField field = {235, UPB_SIZE(12, 16), -9, UPB_SIZE(345, 580), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ClusterStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ClusterStmt* pg_query_Node_mutable_cluster_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ClusterStmt* sub = (struct pg_query_ClusterStmt*)pg_query_Node_cluster_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ClusterStmt*)_upb_Message_New(&pg_0query__ClusterStmt_msg_init, arena); + if (sub) pg_query_Node_set_cluster_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_vacuum_stmt(pg_query_Node* msg, pg_query_VacuumStmt* value) { + const upb_MiniTableField field = {236, UPB_SIZE(12, 16), -9, UPB_SIZE(343, 579), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VacuumStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_VacuumStmt* pg_query_Node_mutable_vacuum_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_VacuumStmt* sub = (struct pg_query_VacuumStmt*)pg_query_Node_vacuum_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_VacuumStmt*)_upb_Message_New(&pg_0query__VacuumStmt_msg_init, arena); + if (sub) pg_query_Node_set_vacuum_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_vacuum_relation(pg_query_Node* msg, pg_query_VacuumRelation* value) { + const upb_MiniTableField field = {237, UPB_SIZE(12, 16), -9, UPB_SIZE(341, 578), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VacuumRelation_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_VacuumRelation* pg_query_Node_mutable_vacuum_relation( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_VacuumRelation* sub = (struct pg_query_VacuumRelation*)pg_query_Node_vacuum_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_VacuumRelation*)_upb_Message_New(&pg_0query__VacuumRelation_msg_init, arena); + if (sub) pg_query_Node_set_vacuum_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_explain_stmt(pg_query_Node* msg, pg_query_ExplainStmt* value) { + const upb_MiniTableField field = {238, UPB_SIZE(12, 16), -9, UPB_SIZE(339, 577), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ExplainStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ExplainStmt* pg_query_Node_mutable_explain_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ExplainStmt* sub = (struct pg_query_ExplainStmt*)pg_query_Node_explain_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ExplainStmt*)_upb_Message_New(&pg_0query__ExplainStmt_msg_init, arena); + if (sub) pg_query_Node_set_explain_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_table_as_stmt(pg_query_Node* msg, pg_query_CreateTableAsStmt* value) { + const upb_MiniTableField field = {239, UPB_SIZE(12, 16), -9, UPB_SIZE(337, 576), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateTableAsStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateTableAsStmt* pg_query_Node_mutable_create_table_as_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateTableAsStmt* sub = (struct pg_query_CreateTableAsStmt*)pg_query_Node_create_table_as_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateTableAsStmt*)_upb_Message_New(&pg_0query__CreateTableAsStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_table_as_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_refresh_mat_view_stmt(pg_query_Node* msg, pg_query_RefreshMatViewStmt* value) { + const upb_MiniTableField field = {240, UPB_SIZE(12, 16), -9, UPB_SIZE(335, 575), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RefreshMatViewStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RefreshMatViewStmt* pg_query_Node_mutable_refresh_mat_view_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_RefreshMatViewStmt* sub = (struct pg_query_RefreshMatViewStmt*)pg_query_Node_refresh_mat_view_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_RefreshMatViewStmt*)_upb_Message_New(&pg_0query__RefreshMatViewStmt_msg_init, arena); + if (sub) pg_query_Node_set_refresh_mat_view_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_check_point_stmt(pg_query_Node* msg, pg_query_CheckPointStmt* value) { + const upb_MiniTableField field = {241, UPB_SIZE(12, 16), -9, UPB_SIZE(333, 574), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CheckPointStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CheckPointStmt* pg_query_Node_mutable_check_point_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CheckPointStmt* sub = (struct pg_query_CheckPointStmt*)pg_query_Node_check_point_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CheckPointStmt*)_upb_Message_New(&pg_0query__CheckPointStmt_msg_init, arena); + if (sub) pg_query_Node_set_check_point_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_discard_stmt(pg_query_Node* msg, pg_query_DiscardStmt* value) { + const upb_MiniTableField field = {242, UPB_SIZE(12, 16), -9, UPB_SIZE(331, 573), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DiscardStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DiscardStmt* pg_query_Node_mutable_discard_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DiscardStmt* sub = (struct pg_query_DiscardStmt*)pg_query_Node_discard_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DiscardStmt*)_upb_Message_New(&pg_0query__DiscardStmt_msg_init, arena); + if (sub) pg_query_Node_set_discard_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_lock_stmt(pg_query_Node* msg, pg_query_LockStmt* value) { + const upb_MiniTableField field = {243, UPB_SIZE(12, 16), -9, UPB_SIZE(329, 572), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__LockStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_LockStmt* pg_query_Node_mutable_lock_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_LockStmt* sub = (struct pg_query_LockStmt*)pg_query_Node_lock_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_LockStmt*)_upb_Message_New(&pg_0query__LockStmt_msg_init, arena); + if (sub) pg_query_Node_set_lock_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_constraints_set_stmt(pg_query_Node* msg, pg_query_ConstraintsSetStmt* value) { + const upb_MiniTableField field = {244, UPB_SIZE(12, 16), -9, UPB_SIZE(327, 571), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ConstraintsSetStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ConstraintsSetStmt* pg_query_Node_mutable_constraints_set_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ConstraintsSetStmt* sub = (struct pg_query_ConstraintsSetStmt*)pg_query_Node_constraints_set_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ConstraintsSetStmt*)_upb_Message_New(&pg_0query__ConstraintsSetStmt_msg_init, arena); + if (sub) pg_query_Node_set_constraints_set_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_reindex_stmt(pg_query_Node* msg, pg_query_ReindexStmt* value) { + const upb_MiniTableField field = {245, UPB_SIZE(12, 16), -9, UPB_SIZE(325, 570), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReindexStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReindexStmt* pg_query_Node_mutable_reindex_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ReindexStmt* sub = (struct pg_query_ReindexStmt*)pg_query_Node_reindex_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ReindexStmt*)_upb_Message_New(&pg_0query__ReindexStmt_msg_init, arena); + if (sub) pg_query_Node_set_reindex_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_conversion_stmt(pg_query_Node* msg, pg_query_CreateConversionStmt* value) { + const upb_MiniTableField field = {246, UPB_SIZE(12, 16), -9, UPB_SIZE(323, 569), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateConversionStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateConversionStmt* pg_query_Node_mutable_create_conversion_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateConversionStmt* sub = (struct pg_query_CreateConversionStmt*)pg_query_Node_create_conversion_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateConversionStmt*)_upb_Message_New(&pg_0query__CreateConversionStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_conversion_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_cast_stmt(pg_query_Node* msg, pg_query_CreateCastStmt* value) { + const upb_MiniTableField field = {247, UPB_SIZE(12, 16), -9, UPB_SIZE(321, 568), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateCastStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateCastStmt* pg_query_Node_mutable_create_cast_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateCastStmt* sub = (struct pg_query_CreateCastStmt*)pg_query_Node_create_cast_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateCastStmt*)_upb_Message_New(&pg_0query__CreateCastStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_cast_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_transform_stmt(pg_query_Node* msg, pg_query_CreateTransformStmt* value) { + const upb_MiniTableField field = {248, UPB_SIZE(12, 16), -9, UPB_SIZE(319, 567), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateTransformStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateTransformStmt* pg_query_Node_mutable_create_transform_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateTransformStmt* sub = (struct pg_query_CreateTransformStmt*)pg_query_Node_create_transform_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateTransformStmt*)_upb_Message_New(&pg_0query__CreateTransformStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_transform_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_prepare_stmt(pg_query_Node* msg, pg_query_PrepareStmt* value) { + const upb_MiniTableField field = {249, UPB_SIZE(12, 16), -9, UPB_SIZE(317, 566), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PrepareStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PrepareStmt* pg_query_Node_mutable_prepare_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_PrepareStmt* sub = (struct pg_query_PrepareStmt*)pg_query_Node_prepare_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_PrepareStmt*)_upb_Message_New(&pg_0query__PrepareStmt_msg_init, arena); + if (sub) pg_query_Node_set_prepare_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_execute_stmt(pg_query_Node* msg, pg_query_ExecuteStmt* value) { + const upb_MiniTableField field = {250, UPB_SIZE(12, 16), -9, UPB_SIZE(315, 565), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ExecuteStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ExecuteStmt* pg_query_Node_mutable_execute_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ExecuteStmt* sub = (struct pg_query_ExecuteStmt*)pg_query_Node_execute_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ExecuteStmt*)_upb_Message_New(&pg_0query__ExecuteStmt_msg_init, arena); + if (sub) pg_query_Node_set_execute_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_deallocate_stmt(pg_query_Node* msg, pg_query_DeallocateStmt* value) { + const upb_MiniTableField field = {251, UPB_SIZE(12, 16), -9, UPB_SIZE(313, 564), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DeallocateStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DeallocateStmt* pg_query_Node_mutable_deallocate_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DeallocateStmt* sub = (struct pg_query_DeallocateStmt*)pg_query_Node_deallocate_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DeallocateStmt*)_upb_Message_New(&pg_0query__DeallocateStmt_msg_init, arena); + if (sub) pg_query_Node_set_deallocate_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_drop_owned_stmt(pg_query_Node* msg, pg_query_DropOwnedStmt* value) { + const upb_MiniTableField field = {252, UPB_SIZE(12, 16), -9, UPB_SIZE(311, 563), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropOwnedStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DropOwnedStmt* pg_query_Node_mutable_drop_owned_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DropOwnedStmt* sub = (struct pg_query_DropOwnedStmt*)pg_query_Node_drop_owned_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DropOwnedStmt*)_upb_Message_New(&pg_0query__DropOwnedStmt_msg_init, arena); + if (sub) pg_query_Node_set_drop_owned_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_reassign_owned_stmt(pg_query_Node* msg, pg_query_ReassignOwnedStmt* value) { + const upb_MiniTableField field = {253, UPB_SIZE(12, 16), -9, UPB_SIZE(309, 562), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReassignOwnedStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReassignOwnedStmt* pg_query_Node_mutable_reassign_owned_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_ReassignOwnedStmt* sub = (struct pg_query_ReassignOwnedStmt*)pg_query_Node_reassign_owned_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_ReassignOwnedStmt*)_upb_Message_New(&pg_0query__ReassignOwnedStmt_msg_init, arena); + if (sub) pg_query_Node_set_reassign_owned_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_tsdictionary_stmt(pg_query_Node* msg, pg_query_AlterTSDictionaryStmt* value) { + const upb_MiniTableField field = {254, UPB_SIZE(12, 16), -9, UPB_SIZE(307, 561), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTSDictionaryStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterTSDictionaryStmt* pg_query_Node_mutable_alter_tsdictionary_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterTSDictionaryStmt* sub = (struct pg_query_AlterTSDictionaryStmt*)pg_query_Node_alter_tsdictionary_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterTSDictionaryStmt*)_upb_Message_New(&pg_0query__AlterTSDictionaryStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_tsdictionary_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_tsconfiguration_stmt(pg_query_Node* msg, pg_query_AlterTSConfigurationStmt* value) { + const upb_MiniTableField field = {255, UPB_SIZE(12, 16), -9, UPB_SIZE(305, 560), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterTSConfigurationStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterTSConfigurationStmt* pg_query_Node_mutable_alter_tsconfiguration_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterTSConfigurationStmt* sub = (struct pg_query_AlterTSConfigurationStmt*)pg_query_Node_alter_tsconfiguration_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterTSConfigurationStmt*)_upb_Message_New(&pg_0query__AlterTSConfigurationStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_tsconfiguration_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_publication_table(pg_query_Node* msg, pg_query_PublicationTable* value) { + const upb_MiniTableField field = {256, UPB_SIZE(12, 16), -9, UPB_SIZE(303, 559), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PublicationTable_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PublicationTable* pg_query_Node_mutable_publication_table( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_PublicationTable* sub = (struct pg_query_PublicationTable*)pg_query_Node_publication_table(msg); + if (sub == NULL) { + sub = (struct pg_query_PublicationTable*)_upb_Message_New(&pg_0query__PublicationTable_msg_init, arena); + if (sub) pg_query_Node_set_publication_table(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_publication_obj_spec(pg_query_Node* msg, pg_query_PublicationObjSpec* value) { + const upb_MiniTableField field = {257, UPB_SIZE(12, 16), -9, UPB_SIZE(301, 558), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PublicationObjSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PublicationObjSpec* pg_query_Node_mutable_publication_obj_spec( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_PublicationObjSpec* sub = (struct pg_query_PublicationObjSpec*)pg_query_Node_publication_obj_spec(msg); + if (sub == NULL) { + sub = (struct pg_query_PublicationObjSpec*)_upb_Message_New(&pg_0query__PublicationObjSpec_msg_init, arena); + if (sub) pg_query_Node_set_publication_obj_spec(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_publication_stmt(pg_query_Node* msg, pg_query_CreatePublicationStmt* value) { + const upb_MiniTableField field = {258, UPB_SIZE(12, 16), -9, UPB_SIZE(299, 557), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreatePublicationStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreatePublicationStmt* pg_query_Node_mutable_create_publication_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreatePublicationStmt* sub = (struct pg_query_CreatePublicationStmt*)pg_query_Node_create_publication_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreatePublicationStmt*)_upb_Message_New(&pg_0query__CreatePublicationStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_publication_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_publication_stmt(pg_query_Node* msg, pg_query_AlterPublicationStmt* value) { + const upb_MiniTableField field = {259, UPB_SIZE(12, 16), -9, UPB_SIZE(297, 556), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterPublicationStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterPublicationStmt* pg_query_Node_mutable_alter_publication_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterPublicationStmt* sub = (struct pg_query_AlterPublicationStmt*)pg_query_Node_alter_publication_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterPublicationStmt*)_upb_Message_New(&pg_0query__AlterPublicationStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_publication_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_create_subscription_stmt(pg_query_Node* msg, pg_query_CreateSubscriptionStmt* value) { + const upb_MiniTableField field = {260, UPB_SIZE(12, 16), -9, UPB_SIZE(295, 555), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateSubscriptionStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateSubscriptionStmt* pg_query_Node_mutable_create_subscription_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_CreateSubscriptionStmt* sub = (struct pg_query_CreateSubscriptionStmt*)pg_query_Node_create_subscription_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateSubscriptionStmt*)_upb_Message_New(&pg_0query__CreateSubscriptionStmt_msg_init, arena); + if (sub) pg_query_Node_set_create_subscription_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_alter_subscription_stmt(pg_query_Node* msg, pg_query_AlterSubscriptionStmt* value) { + const upb_MiniTableField field = {261, UPB_SIZE(12, 16), -9, UPB_SIZE(293, 554), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__AlterSubscriptionStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_AlterSubscriptionStmt* pg_query_Node_mutable_alter_subscription_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_AlterSubscriptionStmt* sub = (struct pg_query_AlterSubscriptionStmt*)pg_query_Node_alter_subscription_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_AlterSubscriptionStmt*)_upb_Message_New(&pg_0query__AlterSubscriptionStmt_msg_init, arena); + if (sub) pg_query_Node_set_alter_subscription_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_drop_subscription_stmt(pg_query_Node* msg, pg_query_DropSubscriptionStmt* value) { + const upb_MiniTableField field = {262, UPB_SIZE(12, 16), -9, UPB_SIZE(291, 553), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__DropSubscriptionStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_DropSubscriptionStmt* pg_query_Node_mutable_drop_subscription_stmt( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_DropSubscriptionStmt* sub = (struct pg_query_DropSubscriptionStmt*)pg_query_Node_drop_subscription_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_DropSubscriptionStmt*)_upb_Message_New(&pg_0query__DropSubscriptionStmt_msg_init, arena); + if (sub) pg_query_Node_set_drop_subscription_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_integer(pg_query_Node* msg, pg_query_Integer* value) { + const upb_MiniTableField field = {263, UPB_SIZE(12, 16), -9, UPB_SIZE(289, 552), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Integer_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Integer* pg_query_Node_mutable_integer( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_Integer* sub = (struct pg_query_Integer*)pg_query_Node_integer(msg); + if (sub == NULL) { + sub = (struct pg_query_Integer*)_upb_Message_New(&pg_0query__Integer_msg_init, arena); + if (sub) pg_query_Node_set_integer(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_float(pg_query_Node* msg, pg_query_Float* value) { + const upb_MiniTableField field = {264, UPB_SIZE(12, 16), -9, UPB_SIZE(287, 551), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Float_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Float* pg_query_Node_mutable_float( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_Float* sub = (struct pg_query_Float*)pg_query_Node_float(msg); + if (sub == NULL) { + sub = (struct pg_query_Float*)_upb_Message_New(&pg_0query__Float_msg_init, arena); + if (sub) pg_query_Node_set_float(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_boolean(pg_query_Node* msg, pg_query_Boolean* value) { + const upb_MiniTableField field = {265, UPB_SIZE(12, 16), -9, UPB_SIZE(285, 550), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Boolean_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Boolean* pg_query_Node_mutable_boolean( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_Boolean* sub = (struct pg_query_Boolean*)pg_query_Node_boolean(msg); + if (sub == NULL) { + sub = (struct pg_query_Boolean*)_upb_Message_New(&pg_0query__Boolean_msg_init, arena); + if (sub) pg_query_Node_set_boolean(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_string(pg_query_Node* msg, pg_query_String* value) { + const upb_MiniTableField field = {266, UPB_SIZE(12, 16), -9, UPB_SIZE(283, 549), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__String_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_String* pg_query_Node_mutable_string( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_String* sub = (struct pg_query_String*)pg_query_Node_string(msg); + if (sub == NULL) { + sub = (struct pg_query_String*)_upb_Message_New(&pg_0query__String_msg_init, arena); + if (sub) pg_query_Node_set_string(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_bit_string(pg_query_Node* msg, pg_query_BitString* value) { + const upb_MiniTableField field = {267, UPB_SIZE(12, 16), -9, UPB_SIZE(281, 548), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__BitString_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_BitString* pg_query_Node_mutable_bit_string( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_BitString* sub = (struct pg_query_BitString*)pg_query_Node_bit_string(msg); + if (sub == NULL) { + sub = (struct pg_query_BitString*)_upb_Message_New(&pg_0query__BitString_msg_init, arena); + if (sub) pg_query_Node_set_bit_string(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_list(pg_query_Node* msg, pg_query_List* value) { + const upb_MiniTableField field = {268, UPB_SIZE(12, 16), -9, UPB_SIZE(279, 547), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__List_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_List* pg_query_Node_mutable_list( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_List* sub = (struct pg_query_List*)pg_query_Node_list(msg); + if (sub == NULL) { + sub = (struct pg_query_List*)_upb_Message_New(&pg_0query__List_msg_init, arena); + if (sub) pg_query_Node_set_list(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_int_list(pg_query_Node* msg, pg_query_IntList* value) { + const upb_MiniTableField field = {269, UPB_SIZE(12, 16), -9, UPB_SIZE(277, 546), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IntList_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_IntList* pg_query_Node_mutable_int_list( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_IntList* sub = (struct pg_query_IntList*)pg_query_Node_int_list(msg); + if (sub == NULL) { + sub = (struct pg_query_IntList*)_upb_Message_New(&pg_0query__IntList_msg_init, arena); + if (sub) pg_query_Node_set_int_list(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_oid_list(pg_query_Node* msg, pg_query_OidList* value) { + const upb_MiniTableField field = {270, UPB_SIZE(12, 16), -9, UPB_SIZE(275, 545), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OidList_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_OidList* pg_query_Node_mutable_oid_list( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_OidList* sub = (struct pg_query_OidList*)pg_query_Node_oid_list(msg); + if (sub == NULL) { + sub = (struct pg_query_OidList*)_upb_Message_New(&pg_0query__OidList_msg_init, arena); + if (sub) pg_query_Node_set_oid_list(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Node_set_a_const(pg_query_Node* msg, pg_query_A_Const* value) { + const upb_MiniTableField field = {271, UPB_SIZE(12, 16), -9, UPB_SIZE(273, 544), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__A_0Const_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_A_Const* pg_query_Node_mutable_a_const( + pg_query_Node* msg, upb_Arena* arena) { + struct pg_query_A_Const* sub = (struct pg_query_A_Const*)pg_query_Node_a_const(msg); + if (sub == NULL) { + sub = (struct pg_query_A_Const*)_upb_Message_New(&pg_0query__A_0Const_msg_init, arena); + if (sub) pg_query_Node_set_a_const(msg, sub); + } + return sub; +} + +/* pg_query.Integer */ +UPB_INLINE pg_query_Integer* pg_query_Integer_new(upb_Arena* arena) { + return (pg_query_Integer*)_upb_Message_New(&pg_0query__Integer_msg_init, arena); +} +UPB_INLINE pg_query_Integer* pg_query_Integer_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_Integer* ret = pg_query_Integer_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Integer_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_Integer* pg_query_Integer_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_Integer* ret = pg_query_Integer_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Integer_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_Integer_serialize(const pg_query_Integer* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Integer_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_Integer_serialize_ex(const pg_query_Integer* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Integer_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_Integer_clear_ival(pg_query_Integer* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Integer_ival(const pg_query_Integer* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_Integer_set_ival(pg_query_Integer* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.Float */ +UPB_INLINE pg_query_Float* pg_query_Float_new(upb_Arena* arena) { + return (pg_query_Float*)_upb_Message_New(&pg_0query__Float_msg_init, arena); +} +UPB_INLINE pg_query_Float* pg_query_Float_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_Float* ret = pg_query_Float_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Float_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_Float* pg_query_Float_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_Float* ret = pg_query_Float_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Float_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_Float_serialize(const pg_query_Float* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Float_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_Float_serialize_ex(const pg_query_Float* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Float_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_Float_clear_fval(pg_query_Float* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Float_fval(const pg_query_Float* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_Float_set_fval(pg_query_Float* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.Boolean */ +UPB_INLINE pg_query_Boolean* pg_query_Boolean_new(upb_Arena* arena) { + return (pg_query_Boolean*)_upb_Message_New(&pg_0query__Boolean_msg_init, arena); +} +UPB_INLINE pg_query_Boolean* pg_query_Boolean_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_Boolean* ret = pg_query_Boolean_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Boolean_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_Boolean* pg_query_Boolean_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_Boolean* ret = pg_query_Boolean_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Boolean_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_Boolean_serialize(const pg_query_Boolean* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Boolean_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_Boolean_serialize_ex(const pg_query_Boolean* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Boolean_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_Boolean_clear_boolval(pg_query_Boolean* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Boolean_boolval(const pg_query_Boolean* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_Boolean_set_boolval(pg_query_Boolean* msg, bool value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.String */ +UPB_INLINE pg_query_String* pg_query_String_new(upb_Arena* arena) { + return (pg_query_String*)_upb_Message_New(&pg_0query__String_msg_init, arena); +} +UPB_INLINE pg_query_String* pg_query_String_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_String* ret = pg_query_String_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__String_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_String* pg_query_String_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_String* ret = pg_query_String_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__String_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_String_serialize(const pg_query_String* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__String_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_String_serialize_ex(const pg_query_String* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__String_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_String_clear_sval(pg_query_String* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_String_sval(const pg_query_String* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_String_set_sval(pg_query_String* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.BitString */ +UPB_INLINE pg_query_BitString* pg_query_BitString_new(upb_Arena* arena) { + return (pg_query_BitString*)_upb_Message_New(&pg_0query__BitString_msg_init, arena); +} +UPB_INLINE pg_query_BitString* pg_query_BitString_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_BitString* ret = pg_query_BitString_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__BitString_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_BitString* pg_query_BitString_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_BitString* ret = pg_query_BitString_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__BitString_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_BitString_serialize(const pg_query_BitString* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__BitString_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_BitString_serialize_ex(const pg_query_BitString* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__BitString_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_BitString_clear_bsval(pg_query_BitString* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_BitString_bsval(const pg_query_BitString* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_BitString_set_bsval(pg_query_BitString* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.List */ +UPB_INLINE pg_query_List* pg_query_List_new(upb_Arena* arena) { + return (pg_query_List*)_upb_Message_New(&pg_0query__List_msg_init, arena); +} +UPB_INLINE pg_query_List* pg_query_List_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_List* ret = pg_query_List_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__List_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_List* pg_query_List_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_List* ret = pg_query_List_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__List_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_List_serialize(const pg_query_List* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__List_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_List_serialize_ex(const pg_query_List* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__List_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_List_clear_items(pg_query_List* msg) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_List_items(const pg_query_List* msg, + size_t* size) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_List_items_upb_array( + const pg_query_List* msg, size_t* size) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_List_items_mutable_upb_array( + pg_query_List* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_List_mutable_items(pg_query_List* msg, + size_t* size) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_List_resize_items(pg_query_List* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_List_add_items( + pg_query_List* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.OidList */ +UPB_INLINE pg_query_OidList* pg_query_OidList_new(upb_Arena* arena) { + return (pg_query_OidList*)_upb_Message_New(&pg_0query__OidList_msg_init, arena); +} +UPB_INLINE pg_query_OidList* pg_query_OidList_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_OidList* ret = pg_query_OidList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__OidList_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_OidList* pg_query_OidList_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_OidList* ret = pg_query_OidList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__OidList_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_OidList_serialize(const pg_query_OidList* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__OidList_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_OidList_serialize_ex(const pg_query_OidList* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__OidList_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_OidList_clear_items(pg_query_OidList* msg) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_OidList_items(const pg_query_OidList* msg, + size_t* size) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_OidList_items_upb_array( + const pg_query_OidList* msg, size_t* size) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_OidList_items_mutable_upb_array( + pg_query_OidList* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_OidList_mutable_items(pg_query_OidList* msg, + size_t* size) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_OidList_resize_items(pg_query_OidList* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_OidList_add_items( + pg_query_OidList* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.IntList */ +UPB_INLINE pg_query_IntList* pg_query_IntList_new(upb_Arena* arena) { + return (pg_query_IntList*)_upb_Message_New(&pg_0query__IntList_msg_init, arena); +} +UPB_INLINE pg_query_IntList* pg_query_IntList_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_IntList* ret = pg_query_IntList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__IntList_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_IntList* pg_query_IntList_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_IntList* ret = pg_query_IntList_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__IntList_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_IntList_serialize(const pg_query_IntList* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__IntList_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_IntList_serialize_ex(const pg_query_IntList* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__IntList_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_IntList_clear_items(pg_query_IntList* msg) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_IntList_items(const pg_query_IntList* msg, + size_t* size) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_IntList_items_upb_array( + const pg_query_IntList* msg, size_t* size) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_IntList_items_mutable_upb_array( + pg_query_IntList* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_IntList_mutable_items(pg_query_IntList* msg, + size_t* size) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_IntList_resize_items(pg_query_IntList* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_IntList_add_items( + pg_query_IntList* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.A_Const */ +UPB_INLINE pg_query_A_Const* pg_query_A_Const_new(upb_Arena* arena) { + return (pg_query_A_Const*)_upb_Message_New(&pg_0query__A_0Const_msg_init, arena); +} +UPB_INLINE pg_query_A_Const* pg_query_A_Const_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_A_Const* ret = pg_query_A_Const_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0Const_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_A_Const* pg_query_A_Const_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_A_Const* ret = pg_query_A_Const_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0Const_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_A_Const_serialize(const pg_query_A_Const* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0Const_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_A_Const_serialize_ex(const pg_query_A_Const* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0Const_msg_init, options, arena, &ptr, len); + return ptr; +} +typedef enum { + pg_query_A_Const_val_ival = 1, + pg_query_A_Const_val_fval = 2, + pg_query_A_Const_val_boolval = 3, + pg_query_A_Const_val_sval = 4, + pg_query_A_Const_val_bsval = 5, + pg_query_A_Const_val_NOT_SET = 0 +} pg_query_A_Const_val_oneofcases; + +UPB_INLINE pg_query_A_Const_val_oneofcases +pg_query_A_Const_val_case(const pg_query_A_Const* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 24), -17, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (pg_query_A_Const_val_oneofcases)upb_Message_WhichOneofFieldNumber( + UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_A_Const_clear_val(pg_query_A_Const* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 24), -17, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearOneof(UPB_UPCAST(msg), &pg_0query__A_0Const_msg_init, &field); +} +UPB_INLINE void pg_query_A_Const_clear_ival(pg_query_A_Const* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 24), -17, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Integer* pg_query_A_Const_ival(const pg_query_A_Const* msg) { + const pg_query_Integer* default_val = NULL; + const pg_query_Integer* ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 24), -17, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Integer_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_A_Const_has_ival(const pg_query_A_Const* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 24), -17, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_A_Const_clear_fval(pg_query_A_Const* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), -17, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Float* pg_query_A_Const_fval(const pg_query_A_Const* msg) { + const pg_query_Float* default_val = NULL; + const pg_query_Float* ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), -17, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Float_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_A_Const_has_fval(const pg_query_A_Const* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), -17, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_A_Const_clear_boolval(pg_query_A_Const* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), -17, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Boolean* pg_query_A_Const_boolval(const pg_query_A_Const* msg) { + const pg_query_Boolean* default_val = NULL; + const pg_query_Boolean* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), -17, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Boolean_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_A_Const_has_boolval(const pg_query_A_Const* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), -17, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_A_Const_clear_sval(pg_query_A_Const* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), -17, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_String* pg_query_A_Const_sval(const pg_query_A_Const* msg) { + const pg_query_String* default_val = NULL; + const pg_query_String* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), -17, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__String_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_A_Const_has_sval(const pg_query_A_Const* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), -17, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_A_Const_clear_bsval(pg_query_A_Const* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 24), -17, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_BitString* pg_query_A_Const_bsval(const pg_query_A_Const* msg) { + const pg_query_BitString* default_val = NULL; + const pg_query_BitString* ret; + const upb_MiniTableField field = {5, UPB_SIZE(20, 24), -17, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__BitString_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_A_Const_has_bsval(const pg_query_A_Const* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 24), -17, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_A_Const_clear_isnull(pg_query_A_Const* msg) { + const upb_MiniTableField field = {10, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_A_Const_isnull(const pg_query_A_Const* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {10, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_A_Const_clear_location(pg_query_A_Const* msg) { + const upb_MiniTableField field = {11, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_A_Const_location(const pg_query_A_Const* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {11, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_A_Const_set_ival(pg_query_A_Const* msg, pg_query_Integer* value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 24), -17, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Integer_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Integer* pg_query_A_Const_mutable_ival( + pg_query_A_Const* msg, upb_Arena* arena) { + struct pg_query_Integer* sub = (struct pg_query_Integer*)pg_query_A_Const_ival(msg); + if (sub == NULL) { + sub = (struct pg_query_Integer*)_upb_Message_New(&pg_0query__Integer_msg_init, arena); + if (sub) pg_query_A_Const_set_ival(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_A_Const_set_fval(pg_query_A_Const* msg, pg_query_Float* value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 24), -17, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Float_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Float* pg_query_A_Const_mutable_fval( + pg_query_A_Const* msg, upb_Arena* arena) { + struct pg_query_Float* sub = (struct pg_query_Float*)pg_query_A_Const_fval(msg); + if (sub == NULL) { + sub = (struct pg_query_Float*)_upb_Message_New(&pg_0query__Float_msg_init, arena); + if (sub) pg_query_A_Const_set_fval(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_A_Const_set_boolval(pg_query_A_Const* msg, pg_query_Boolean* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), -17, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Boolean_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Boolean* pg_query_A_Const_mutable_boolval( + pg_query_A_Const* msg, upb_Arena* arena) { + struct pg_query_Boolean* sub = (struct pg_query_Boolean*)pg_query_A_Const_boolval(msg); + if (sub == NULL) { + sub = (struct pg_query_Boolean*)_upb_Message_New(&pg_0query__Boolean_msg_init, arena); + if (sub) pg_query_A_Const_set_boolval(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_A_Const_set_sval(pg_query_A_Const* msg, pg_query_String* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), -17, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__String_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_String* pg_query_A_Const_mutable_sval( + pg_query_A_Const* msg, upb_Arena* arena) { + struct pg_query_String* sub = (struct pg_query_String*)pg_query_A_Const_sval(msg); + if (sub == NULL) { + sub = (struct pg_query_String*)_upb_Message_New(&pg_0query__String_msg_init, arena); + if (sub) pg_query_A_Const_set_sval(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_A_Const_set_bsval(pg_query_A_Const* msg, pg_query_BitString* value) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 24), -17, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__BitString_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_BitString* pg_query_A_Const_mutable_bsval( + pg_query_A_Const* msg, upb_Arena* arena) { + struct pg_query_BitString* sub = (struct pg_query_BitString*)pg_query_A_Const_bsval(msg); + if (sub == NULL) { + sub = (struct pg_query_BitString*)_upb_Message_New(&pg_0query__BitString_msg_init, arena); + if (sub) pg_query_A_Const_set_bsval(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_A_Const_set_isnull(pg_query_A_Const* msg, bool value) { + const upb_MiniTableField field = {10, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_A_Const_set_location(pg_query_A_Const* msg, int32_t value) { + const upb_MiniTableField field = {11, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.Alias */ +UPB_INLINE pg_query_Alias* pg_query_Alias_new(upb_Arena* arena) { + return (pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); +} +UPB_INLINE pg_query_Alias* pg_query_Alias_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_Alias* ret = pg_query_Alias_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Alias_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_Alias* pg_query_Alias_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_Alias* ret = pg_query_Alias_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Alias_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_Alias_serialize(const pg_query_Alias* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Alias_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_Alias_serialize_ex(const pg_query_Alias* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Alias_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_Alias_clear_aliasname(pg_query_Alias* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Alias_aliasname(const pg_query_Alias* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Alias_clear_colnames(pg_query_Alias* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Alias_colnames(const pg_query_Alias* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Alias_colnames_upb_array( + const pg_query_Alias* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Alias_colnames_mutable_upb_array( + pg_query_Alias* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_Alias_set_aliasname(pg_query_Alias* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_Alias_mutable_colnames(pg_query_Alias* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Alias_resize_colnames(pg_query_Alias* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Alias_add_colnames( + pg_query_Alias* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.RangeVar */ +UPB_INLINE pg_query_RangeVar* pg_query_RangeVar_new(upb_Arena* arena) { + return (pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); +} +UPB_INLINE pg_query_RangeVar* pg_query_RangeVar_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RangeVar* ret = pg_query_RangeVar_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeVar_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RangeVar* pg_query_RangeVar_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RangeVar* ret = pg_query_RangeVar_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeVar_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RangeVar_serialize(const pg_query_RangeVar* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeVar_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RangeVar_serialize_ex(const pg_query_RangeVar* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeVar_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RangeVar_clear_catalogname(pg_query_RangeVar* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RangeVar_catalogname(const pg_query_RangeVar* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeVar_clear_schemaname(pg_query_RangeVar* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RangeVar_schemaname(const pg_query_RangeVar* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeVar_clear_relname(pg_query_RangeVar* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RangeVar_relname(const pg_query_RangeVar* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeVar_clear_inh(pg_query_RangeVar* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeVar_inh(const pg_query_RangeVar* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeVar_clear_relpersistence(pg_query_RangeVar* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(44, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RangeVar_relpersistence(const pg_query_RangeVar* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {5, UPB_SIZE(44, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeVar_clear_alias(pg_query_RangeVar* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 80), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_RangeVar_alias(const pg_query_RangeVar* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {6, UPB_SIZE(12, 80), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeVar_has_alias(const pg_query_RangeVar* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 80), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeVar_clear_location(pg_query_RangeVar* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RangeVar_location(const pg_query_RangeVar* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RangeVar_set_catalogname(pg_query_RangeVar* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeVar_set_schemaname(pg_query_RangeVar* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeVar_set_relname(pg_query_RangeVar* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeVar_set_inh(pg_query_RangeVar* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeVar_set_relpersistence(pg_query_RangeVar* msg, upb_StringView value) { + const upb_MiniTableField field = {5, UPB_SIZE(44, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeVar_set_alias(pg_query_RangeVar* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 80), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_RangeVar_mutable_alias( + pg_query_RangeVar* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_RangeVar_alias(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_RangeVar_set_alias(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeVar_set_location(pg_query_RangeVar* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.TableFunc */ +UPB_INLINE pg_query_TableFunc* pg_query_TableFunc_new(upb_Arena* arena) { + return (pg_query_TableFunc*)_upb_Message_New(&pg_0query__TableFunc_msg_init, arena); +} +UPB_INLINE pg_query_TableFunc* pg_query_TableFunc_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_TableFunc* ret = pg_query_TableFunc_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TableFunc_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_TableFunc* pg_query_TableFunc_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_TableFunc* ret = pg_query_TableFunc_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TableFunc_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_TableFunc_serialize(const pg_query_TableFunc* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TableFunc_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_TableFunc_serialize_ex(const pg_query_TableFunc* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TableFunc_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_TableFunc_clear_functype(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TableFunc_functype(const pg_query_TableFunc* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TableFunc_clear_ns_uris(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(48, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableFunc_ns_uris(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(48, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_ns_uris_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(48, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_ns_uris_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(48, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_ns_names(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableFunc_ns_names(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_ns_names_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_ns_names_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_docexpr(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 64, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_TableFunc_docexpr(const pg_query_TableFunc* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 64, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_TableFunc_has_docexpr(const pg_query_TableFunc* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 64, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_TableFunc_clear_rowexpr(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 65, UPB_SIZE(42, 46), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_TableFunc_rowexpr(const pg_query_TableFunc* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 65, UPB_SIZE(42, 46), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_TableFunc_has_rowexpr(const pg_query_TableFunc* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 65, UPB_SIZE(42, 46), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_TableFunc_clear_colnames(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, UPB_SIZE(40, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableFunc_colnames(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, UPB_SIZE(40, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_colnames_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, UPB_SIZE(40, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_colnames_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, UPB_SIZE(40, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_coltypes(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, UPB_SIZE(38, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableFunc_coltypes(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, UPB_SIZE(38, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_coltypes_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, UPB_SIZE(38, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_coltypes_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, UPB_SIZE(38, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_coltypmods(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 72), 0, UPB_SIZE(36, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableFunc_coltypmods(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 72), 0, UPB_SIZE(36, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_coltypmods_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 72), 0, UPB_SIZE(36, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_coltypmods_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 72), 0, UPB_SIZE(36, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_colcollations(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 80), 0, UPB_SIZE(34, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableFunc_colcollations(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 80), 0, UPB_SIZE(34, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_colcollations_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 80), 0, UPB_SIZE(34, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_colcollations_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 80), 0, UPB_SIZE(34, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_colexprs(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 88), 0, UPB_SIZE(32, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableFunc_colexprs(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 88), 0, UPB_SIZE(32, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_colexprs_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 88), 0, UPB_SIZE(32, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_colexprs_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 88), 0, UPB_SIZE(32, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_coldefexprs(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(52, 96), 0, UPB_SIZE(30, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableFunc_coldefexprs(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {11, UPB_SIZE(52, 96), 0, UPB_SIZE(30, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_coldefexprs_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {11, UPB_SIZE(52, 96), 0, UPB_SIZE(30, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_coldefexprs_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {11, UPB_SIZE(52, 96), 0, UPB_SIZE(30, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_colvalexprs(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(56, 104), 0, UPB_SIZE(28, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableFunc_colvalexprs(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {12, UPB_SIZE(56, 104), 0, UPB_SIZE(28, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_colvalexprs_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {12, UPB_SIZE(56, 104), 0, UPB_SIZE(28, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_colvalexprs_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {12, UPB_SIZE(56, 104), 0, UPB_SIZE(28, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_passingvalexprs(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(60, 112), 0, UPB_SIZE(26, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableFunc_passingvalexprs(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {13, UPB_SIZE(60, 112), 0, UPB_SIZE(26, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_passingvalexprs_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {13, UPB_SIZE(60, 112), 0, UPB_SIZE(26, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_passingvalexprs_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {13, UPB_SIZE(60, 112), 0, UPB_SIZE(26, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_notnulls(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(64, 120), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint64_t const* pg_query_TableFunc_notnulls(const pg_query_TableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {14, UPB_SIZE(64, 120), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableFunc_notnulls_upb_array( + const pg_query_TableFunc* msg, size_t* size) { + const upb_MiniTableField field = {14, UPB_SIZE(64, 120), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableFunc_notnulls_mutable_upb_array( + pg_query_TableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {14, UPB_SIZE(64, 120), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableFunc_clear_plan(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(68, 128), 66, UPB_SIZE(21, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_TableFunc_plan(const pg_query_TableFunc* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {15, UPB_SIZE(68, 128), 66, UPB_SIZE(21, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_TableFunc_has_plan(const pg_query_TableFunc* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(68, 128), 66, UPB_SIZE(21, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_TableFunc_clear_ordinalitycol(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(72, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TableFunc_ordinalitycol(const pg_query_TableFunc* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {16, UPB_SIZE(72, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TableFunc_clear_location(pg_query_TableFunc* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(76, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TableFunc_location(const pg_query_TableFunc* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {17, UPB_SIZE(76, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_TableFunc_set_functype(pg_query_TableFunc* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_TableFunc_mutable_ns_uris(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(48, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableFunc_resize_ns_uris(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(48, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_add_ns_uris( + pg_query_TableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(48, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_TableFunc_mutable_ns_names(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableFunc_resize_ns_names(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_add_ns_names( + pg_query_TableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_TableFunc_set_docexpr(pg_query_TableFunc* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 64, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_mutable_docexpr( + pg_query_TableFunc* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_TableFunc_docexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_TableFunc_set_docexpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_TableFunc_set_rowexpr(pg_query_TableFunc* msg, pg_query_Node* value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 65, UPB_SIZE(42, 46), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_mutable_rowexpr( + pg_query_TableFunc* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_TableFunc_rowexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_TableFunc_set_rowexpr(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_TableFunc_mutable_colnames(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, UPB_SIZE(40, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableFunc_resize_colnames(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, UPB_SIZE(40, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_add_colnames( + pg_query_TableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, UPB_SIZE(40, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_TableFunc_mutable_coltypes(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, UPB_SIZE(38, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableFunc_resize_coltypes(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, UPB_SIZE(38, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_add_coltypes( + pg_query_TableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, UPB_SIZE(38, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_TableFunc_mutable_coltypmods(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(40, 72), 0, UPB_SIZE(36, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableFunc_resize_coltypmods(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 72), 0, UPB_SIZE(36, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_add_coltypmods( + pg_query_TableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 72), 0, UPB_SIZE(36, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_TableFunc_mutable_colcollations(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {9, UPB_SIZE(44, 80), 0, UPB_SIZE(34, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableFunc_resize_colcollations(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(44, 80), 0, UPB_SIZE(34, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_add_colcollations( + pg_query_TableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(44, 80), 0, UPB_SIZE(34, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_TableFunc_mutable_colexprs(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {10, UPB_SIZE(48, 88), 0, UPB_SIZE(32, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableFunc_resize_colexprs(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(48, 88), 0, UPB_SIZE(32, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_add_colexprs( + pg_query_TableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(48, 88), 0, UPB_SIZE(32, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_TableFunc_mutable_coldefexprs(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {11, UPB_SIZE(52, 96), 0, UPB_SIZE(30, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableFunc_resize_coldefexprs(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {11, UPB_SIZE(52, 96), 0, UPB_SIZE(30, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_add_coldefexprs( + pg_query_TableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {11, UPB_SIZE(52, 96), 0, UPB_SIZE(30, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_TableFunc_mutable_colvalexprs(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {12, UPB_SIZE(56, 104), 0, UPB_SIZE(28, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableFunc_resize_colvalexprs(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {12, UPB_SIZE(56, 104), 0, UPB_SIZE(28, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_add_colvalexprs( + pg_query_TableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {12, UPB_SIZE(56, 104), 0, UPB_SIZE(28, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_TableFunc_mutable_passingvalexprs(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {13, UPB_SIZE(60, 112), 0, UPB_SIZE(26, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableFunc_resize_passingvalexprs(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {13, UPB_SIZE(60, 112), 0, UPB_SIZE(26, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_add_passingvalexprs( + pg_query_TableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {13, UPB_SIZE(60, 112), 0, UPB_SIZE(26, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE uint64_t* pg_query_TableFunc_mutable_notnulls(pg_query_TableFunc* msg, + size_t* size) { + upb_MiniTableField field = {14, UPB_SIZE(64, 120), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t*)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE uint64_t* pg_query_TableFunc_resize_notnulls(pg_query_TableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {14, UPB_SIZE(64, 120), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (uint64_t*)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE bool pg_query_TableFunc_add_notnulls(pg_query_TableFunc* msg, uint64_t val, + upb_Arena* arena) { + upb_MiniTableField field = {14, UPB_SIZE(64, 120), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return false; + } + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void pg_query_TableFunc_set_plan(pg_query_TableFunc* msg, pg_query_Node* value) { + const upb_MiniTableField field = {15, UPB_SIZE(68, 128), 66, UPB_SIZE(21, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_TableFunc_mutable_plan( + pg_query_TableFunc* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_TableFunc_plan(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_TableFunc_set_plan(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_TableFunc_set_ordinalitycol(pg_query_TableFunc* msg, int32_t value) { + const upb_MiniTableField field = {16, UPB_SIZE(72, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TableFunc_set_location(pg_query_TableFunc* msg, int32_t value) { + const upb_MiniTableField field = {17, UPB_SIZE(76, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.IntoClause */ +UPB_INLINE pg_query_IntoClause* pg_query_IntoClause_new(upb_Arena* arena) { + return (pg_query_IntoClause*)_upb_Message_New(&pg_0query__IntoClause_msg_init, arena); +} +UPB_INLINE pg_query_IntoClause* pg_query_IntoClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_IntoClause* ret = pg_query_IntoClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__IntoClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_IntoClause* pg_query_IntoClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_IntoClause* ret = pg_query_IntoClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__IntoClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_IntoClause_serialize(const pg_query_IntoClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__IntoClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_IntoClause_serialize_ex(const pg_query_IntoClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__IntoClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_IntoClause_clear_rel(pg_query_IntoClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_IntoClause_rel(const pg_query_IntoClause* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_IntoClause_has_rel(const pg_query_IntoClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_IntoClause_clear_col_names(pg_query_IntoClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_IntoClause_col_names(const pg_query_IntoClause* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_IntoClause_col_names_upb_array( + const pg_query_IntoClause* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_IntoClause_col_names_mutable_upb_array( + pg_query_IntoClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_IntoClause_clear_access_method(pg_query_IntoClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_IntoClause_access_method(const pg_query_IntoClause* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IntoClause_clear_options(pg_query_IntoClause* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 0, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_IntoClause_options(const pg_query_IntoClause* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 0, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_IntoClause_options_upb_array( + const pg_query_IntoClause* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 0, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_IntoClause_options_mutable_upb_array( + pg_query_IntoClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 64), 0, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_IntoClause_clear_on_commit(pg_query_IntoClause* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_IntoClause_on_commit(const pg_query_IntoClause* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IntoClause_clear_table_space_name(pg_query_IntoClause* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(40, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_IntoClause_table_space_name(const pg_query_IntoClause* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, UPB_SIZE(40, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IntoClause_clear_view_query(pg_query_IntoClause* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 72), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Query* pg_query_IntoClause_view_query(const pg_query_IntoClause* msg) { + const pg_query_Query* default_val = NULL; + const pg_query_Query* ret; + const upb_MiniTableField field = {7, UPB_SIZE(28, 72), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Query_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_IntoClause_has_view_query(const pg_query_IntoClause* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 72), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_IntoClause_clear_skip_data(pg_query_IntoClause* msg) { + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IntoClause_skip_data(const pg_query_IntoClause* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_IntoClause_set_rel(pg_query_IntoClause* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_IntoClause_mutable_rel( + pg_query_IntoClause* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_IntoClause_rel(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_IntoClause_set_rel(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_IntoClause_mutable_col_names(pg_query_IntoClause* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_IntoClause_resize_col_names(pg_query_IntoClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_IntoClause_add_col_names( + pg_query_IntoClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_IntoClause_set_access_method(pg_query_IntoClause* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_IntoClause_mutable_options(pg_query_IntoClause* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(20, 64), 0, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_IntoClause_resize_options(pg_query_IntoClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 64), 0, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_IntoClause_add_options( + pg_query_IntoClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 64), 0, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_IntoClause_set_on_commit(pg_query_IntoClause* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IntoClause_set_table_space_name(pg_query_IntoClause* msg, upb_StringView value) { + const upb_MiniTableField field = {6, UPB_SIZE(40, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IntoClause_set_view_query(pg_query_IntoClause* msg, pg_query_Query* value) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 72), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Query_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Query* pg_query_IntoClause_mutable_view_query( + pg_query_IntoClause* msg, upb_Arena* arena) { + struct pg_query_Query* sub = (struct pg_query_Query*)pg_query_IntoClause_view_query(msg); + if (sub == NULL) { + sub = (struct pg_query_Query*)_upb_Message_New(&pg_0query__Query_msg_init, arena); + if (sub) pg_query_IntoClause_set_view_query(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_IntoClause_set_skip_data(pg_query_IntoClause* msg, bool value) { + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.Var */ +UPB_INLINE pg_query_Var* pg_query_Var_new(upb_Arena* arena) { + return (pg_query_Var*)_upb_Message_New(&pg_0query__Var_msg_init, arena); +} +UPB_INLINE pg_query_Var* pg_query_Var_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_Var* ret = pg_query_Var_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Var_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_Var* pg_query_Var_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_Var* ret = pg_query_Var_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Var_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_Var_serialize(const pg_query_Var* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Var_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_Var_serialize_ex(const pg_query_Var* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Var_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_Var_clear_xpr(pg_query_Var* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Var_xpr(const pg_query_Var* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Var_has_xpr(const pg_query_Var* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Var_clear_varno(pg_query_Var* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Var_varno(const pg_query_Var* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Var_clear_varattno(pg_query_Var* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Var_varattno(const pg_query_Var* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Var_clear_vartype(pg_query_Var* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Var_vartype(const pg_query_Var* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Var_clear_vartypmod(pg_query_Var* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Var_vartypmod(const pg_query_Var* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Var_clear_varcollid(pg_query_Var* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Var_varcollid(const pg_query_Var* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Var_clear_varnullingrels(pg_query_Var* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint64_t const* pg_query_Var_varnullingrels(const pg_query_Var* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Var_varnullingrels_upb_array( + const pg_query_Var* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Var_varnullingrels_mutable_upb_array( + pg_query_Var* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Var_clear_varlevelsup(pg_query_Var* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 32), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Var_varlevelsup(const pg_query_Var* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(40, 32), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Var_clear_varreturningtype(pg_query_Var* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Var_varreturningtype(const pg_query_Var* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(44, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Var_clear_location(pg_query_Var* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Var_location(const pg_query_Var* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {10, UPB_SIZE(48, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_Var_set_xpr(pg_query_Var* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Var_mutable_xpr( + pg_query_Var* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Var_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Var_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Var_set_varno(pg_query_Var* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Var_set_varattno(pg_query_Var* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Var_set_vartype(pg_query_Var* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Var_set_vartypmod(pg_query_Var* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Var_set_varcollid(pg_query_Var* msg, uint32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE uint64_t* pg_query_Var_mutable_varnullingrels(pg_query_Var* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t*)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE uint64_t* pg_query_Var_resize_varnullingrels(pg_query_Var* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (uint64_t*)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE bool pg_query_Var_add_varnullingrels(pg_query_Var* msg, uint64_t val, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return false; + } + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void pg_query_Var_set_varlevelsup(pg_query_Var* msg, uint32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 32), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Var_set_varreturningtype(pg_query_Var* msg, int32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Var_set_location(pg_query_Var* msg, int32_t value) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.Param */ +UPB_INLINE pg_query_Param* pg_query_Param_new(upb_Arena* arena) { + return (pg_query_Param*)_upb_Message_New(&pg_0query__Param_msg_init, arena); +} +UPB_INLINE pg_query_Param* pg_query_Param_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_Param* ret = pg_query_Param_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Param_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_Param* pg_query_Param_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_Param* ret = pg_query_Param_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Param_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_Param_serialize(const pg_query_Param* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Param_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_Param_serialize_ex(const pg_query_Param* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Param_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_Param_clear_xpr(pg_query_Param* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Param_xpr(const pg_query_Param* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Param_has_xpr(const pg_query_Param* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Param_clear_paramkind(pg_query_Param* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Param_paramkind(const pg_query_Param* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Param_clear_paramid(pg_query_Param* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Param_paramid(const pg_query_Param* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Param_clear_paramtype(pg_query_Param* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Param_paramtype(const pg_query_Param* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Param_clear_paramtypmod(pg_query_Param* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Param_paramtypmod(const pg_query_Param* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Param_clear_paramcollid(pg_query_Param* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Param_paramcollid(const pg_query_Param* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Param_clear_location(pg_query_Param* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Param_location(const pg_query_Param* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_Param_set_xpr(pg_query_Param* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Param_mutable_xpr( + pg_query_Param* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Param_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Param_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Param_set_paramkind(pg_query_Param* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Param_set_paramid(pg_query_Param* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Param_set_paramtype(pg_query_Param* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Param_set_paramtypmod(pg_query_Param* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Param_set_paramcollid(pg_query_Param* msg, uint32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Param_set_location(pg_query_Param* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.Aggref */ +UPB_INLINE pg_query_Aggref* pg_query_Aggref_new(upb_Arena* arena) { + return (pg_query_Aggref*)_upb_Message_New(&pg_0query__Aggref_msg_init, arena); +} +UPB_INLINE pg_query_Aggref* pg_query_Aggref_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_Aggref* ret = pg_query_Aggref_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Aggref_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_Aggref* pg_query_Aggref_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_Aggref* ret = pg_query_Aggref_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Aggref_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_Aggref_serialize(const pg_query_Aggref* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Aggref_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_Aggref_serialize_ex(const pg_query_Aggref* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Aggref_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_Aggref_clear_xpr(pg_query_Aggref* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 64, UPB_SIZE(57, 58), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Aggref_xpr(const pg_query_Aggref* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 64, UPB_SIZE(57, 58), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Aggref_has_xpr(const pg_query_Aggref* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 64, UPB_SIZE(57, 58), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Aggref_clear_aggfnoid(pg_query_Aggref* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Aggref_aggfnoid(const pg_query_Aggref* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_aggtype(pg_query_Aggref* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Aggref_aggtype(const pg_query_Aggref* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_aggcollid(pg_query_Aggref* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Aggref_aggcollid(const pg_query_Aggref* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_inputcollid(pg_query_Aggref* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Aggref_inputcollid(const pg_query_Aggref* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_aggargtypes(pg_query_Aggref* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 72), 0, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Aggref_aggargtypes(const pg_query_Aggref* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 72), 0, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Aggref_aggargtypes_upb_array( + const pg_query_Aggref* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 72), 0, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Aggref_aggargtypes_mutable_upb_array( + pg_query_Aggref* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 72), 0, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Aggref_clear_aggdirectargs(pg_query_Aggref* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 80), 0, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Aggref_aggdirectargs(const pg_query_Aggref* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 80), 0, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Aggref_aggdirectargs_upb_array( + const pg_query_Aggref* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 80), 0, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Aggref_aggdirectargs_mutable_upb_array( + pg_query_Aggref* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 80), 0, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Aggref_clear_args(pg_query_Aggref* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 88), 0, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Aggref_args(const pg_query_Aggref* msg, + size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 88), 0, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Aggref_args_upb_array( + const pg_query_Aggref* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 88), 0, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Aggref_args_mutable_upb_array( + pg_query_Aggref* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 88), 0, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Aggref_clear_aggorder(pg_query_Aggref* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 96), 0, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Aggref_aggorder(const pg_query_Aggref* msg, + size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 96), 0, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Aggref_aggorder_upb_array( + const pg_query_Aggref* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 96), 0, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Aggref_aggorder_mutable_upb_array( + pg_query_Aggref* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 96), 0, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Aggref_clear_aggdistinct(pg_query_Aggref* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 104), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Aggref_aggdistinct(const pg_query_Aggref* msg, + size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 104), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Aggref_aggdistinct_upb_array( + const pg_query_Aggref* msg, size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 104), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Aggref_aggdistinct_mutable_upb_array( + pg_query_Aggref* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 104), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Aggref_clear_aggfilter(pg_query_Aggref* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(52, 112), 65, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Aggref_aggfilter(const pg_query_Aggref* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {11, UPB_SIZE(52, 112), 65, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Aggref_has_aggfilter(const pg_query_Aggref* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(52, 112), 65, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Aggref_clear_aggstar(pg_query_Aggref* msg) { + const upb_MiniTableField field = {12, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Aggref_aggstar(const pg_query_Aggref* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {12, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_aggvariadic(pg_query_Aggref* msg) { + const upb_MiniTableField field = {13, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Aggref_aggvariadic(const pg_query_Aggref* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {13, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_aggkind(pg_query_Aggref* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(76, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Aggref_aggkind(const pg_query_Aggref* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {14, UPB_SIZE(76, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_agglevelsup(pg_query_Aggref* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(56, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Aggref_agglevelsup(const pg_query_Aggref* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {15, UPB_SIZE(56, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_aggsplit(pg_query_Aggref* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(60, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Aggref_aggsplit(const pg_query_Aggref* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {16, UPB_SIZE(60, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_aggno(pg_query_Aggref* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(64, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Aggref_aggno(const pg_query_Aggref* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {17, UPB_SIZE(64, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_aggtransno(pg_query_Aggref* msg) { + const upb_MiniTableField field = {18, UPB_SIZE(68, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Aggref_aggtransno(const pg_query_Aggref* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {18, UPB_SIZE(68, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Aggref_clear_location(pg_query_Aggref* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(72, 44), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Aggref_location(const pg_query_Aggref* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {19, UPB_SIZE(72, 44), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_Aggref_set_xpr(pg_query_Aggref* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 64, UPB_SIZE(57, 58), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Aggref_mutable_xpr( + pg_query_Aggref* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Aggref_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Aggref_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Aggref_set_aggfnoid(pg_query_Aggref* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Aggref_set_aggtype(pg_query_Aggref* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Aggref_set_aggcollid(pg_query_Aggref* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Aggref_set_inputcollid(pg_query_Aggref* msg, uint32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_Aggref_mutable_aggargtypes(pg_query_Aggref* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(32, 72), 0, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Aggref_resize_aggargtypes(pg_query_Aggref* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 72), 0, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Aggref_add_aggargtypes( + pg_query_Aggref* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 72), 0, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Aggref_mutable_aggdirectargs(pg_query_Aggref* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(36, 80), 0, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Aggref_resize_aggdirectargs(pg_query_Aggref* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 80), 0, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Aggref_add_aggdirectargs( + pg_query_Aggref* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 80), 0, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Aggref_mutable_args(pg_query_Aggref* msg, + size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(40, 88), 0, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Aggref_resize_args(pg_query_Aggref* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 88), 0, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Aggref_add_args( + pg_query_Aggref* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 88), 0, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Aggref_mutable_aggorder(pg_query_Aggref* msg, + size_t* size) { + upb_MiniTableField field = {9, UPB_SIZE(44, 96), 0, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Aggref_resize_aggorder(pg_query_Aggref* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(44, 96), 0, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Aggref_add_aggorder( + pg_query_Aggref* msg, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(44, 96), 0, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Aggref_mutable_aggdistinct(pg_query_Aggref* msg, + size_t* size) { + upb_MiniTableField field = {10, UPB_SIZE(48, 104), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Aggref_resize_aggdistinct(pg_query_Aggref* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(48, 104), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Aggref_add_aggdistinct( + pg_query_Aggref* msg, upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(48, 104), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Aggref_set_aggfilter(pg_query_Aggref* msg, pg_query_Node* value) { + const upb_MiniTableField field = {11, UPB_SIZE(52, 112), 65, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Aggref_mutable_aggfilter( + pg_query_Aggref* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Aggref_aggfilter(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Aggref_set_aggfilter(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Aggref_set_aggstar(pg_query_Aggref* msg, bool value) { + const upb_MiniTableField field = {12, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Aggref_set_aggvariadic(pg_query_Aggref* msg, bool value) { + const upb_MiniTableField field = {13, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Aggref_set_aggkind(pg_query_Aggref* msg, upb_StringView value) { + const upb_MiniTableField field = {14, UPB_SIZE(76, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Aggref_set_agglevelsup(pg_query_Aggref* msg, uint32_t value) { + const upb_MiniTableField field = {15, UPB_SIZE(56, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Aggref_set_aggsplit(pg_query_Aggref* msg, int32_t value) { + const upb_MiniTableField field = {16, UPB_SIZE(60, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Aggref_set_aggno(pg_query_Aggref* msg, int32_t value) { + const upb_MiniTableField field = {17, UPB_SIZE(64, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Aggref_set_aggtransno(pg_query_Aggref* msg, int32_t value) { + const upb_MiniTableField field = {18, UPB_SIZE(68, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Aggref_set_location(pg_query_Aggref* msg, int32_t value) { + const upb_MiniTableField field = {19, UPB_SIZE(72, 44), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.GroupingFunc */ +UPB_INLINE pg_query_GroupingFunc* pg_query_GroupingFunc_new(upb_Arena* arena) { + return (pg_query_GroupingFunc*)_upb_Message_New(&pg_0query__GroupingFunc_msg_init, arena); +} +UPB_INLINE pg_query_GroupingFunc* pg_query_GroupingFunc_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_GroupingFunc* ret = pg_query_GroupingFunc_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__GroupingFunc_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_GroupingFunc* pg_query_GroupingFunc_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_GroupingFunc* ret = pg_query_GroupingFunc_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__GroupingFunc_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_GroupingFunc_serialize(const pg_query_GroupingFunc* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__GroupingFunc_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_GroupingFunc_serialize_ex(const pg_query_GroupingFunc* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__GroupingFunc_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_GroupingFunc_clear_xpr(pg_query_GroupingFunc* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_GroupingFunc_xpr(const pg_query_GroupingFunc* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_GroupingFunc_has_xpr(const pg_query_GroupingFunc* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_GroupingFunc_clear_args(pg_query_GroupingFunc* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_GroupingFunc_args(const pg_query_GroupingFunc* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_GroupingFunc_args_upb_array( + const pg_query_GroupingFunc* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_GroupingFunc_args_mutable_upb_array( + pg_query_GroupingFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_GroupingFunc_clear_refs(pg_query_GroupingFunc* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_GroupingFunc_refs(const pg_query_GroupingFunc* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_GroupingFunc_refs_upb_array( + const pg_query_GroupingFunc* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_GroupingFunc_refs_mutable_upb_array( + pg_query_GroupingFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_GroupingFunc_clear_agglevelsup(pg_query_GroupingFunc* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_GroupingFunc_agglevelsup(const pg_query_GroupingFunc* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_GroupingFunc_clear_location(pg_query_GroupingFunc* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_GroupingFunc_location(const pg_query_GroupingFunc* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_GroupingFunc_set_xpr(pg_query_GroupingFunc* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_GroupingFunc_mutable_xpr( + pg_query_GroupingFunc* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_GroupingFunc_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_GroupingFunc_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_GroupingFunc_mutable_args(pg_query_GroupingFunc* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_GroupingFunc_resize_args(pg_query_GroupingFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_GroupingFunc_add_args( + pg_query_GroupingFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_GroupingFunc_mutable_refs(pg_query_GroupingFunc* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_GroupingFunc_resize_refs(pg_query_GroupingFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_GroupingFunc_add_refs( + pg_query_GroupingFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_GroupingFunc_set_agglevelsup(pg_query_GroupingFunc* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_GroupingFunc_set_location(pg_query_GroupingFunc* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.WindowFunc */ +UPB_INLINE pg_query_WindowFunc* pg_query_WindowFunc_new(upb_Arena* arena) { + return (pg_query_WindowFunc*)_upb_Message_New(&pg_0query__WindowFunc_msg_init, arena); +} +UPB_INLINE pg_query_WindowFunc* pg_query_WindowFunc_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_WindowFunc* ret = pg_query_WindowFunc_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WindowFunc_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_WindowFunc* pg_query_WindowFunc_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_WindowFunc* ret = pg_query_WindowFunc_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WindowFunc_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_WindowFunc_serialize(const pg_query_WindowFunc* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WindowFunc_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_WindowFunc_serialize_ex(const pg_query_WindowFunc* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WindowFunc_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_WindowFunc_clear_xpr(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_WindowFunc_xpr(const pg_query_WindowFunc* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_WindowFunc_has_xpr(const pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_WindowFunc_clear_winfnoid(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowFunc_winfnoid(const pg_query_WindowFunc* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowFunc_clear_wintype(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowFunc_wintype(const pg_query_WindowFunc* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowFunc_clear_wincollid(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowFunc_wincollid(const pg_query_WindowFunc* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowFunc_clear_inputcollid(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowFunc_inputcollid(const pg_query_WindowFunc* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowFunc_clear_args(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_WindowFunc_args(const pg_query_WindowFunc* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_WindowFunc_args_upb_array( + const pg_query_WindowFunc* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_WindowFunc_args_mutable_upb_array( + pg_query_WindowFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_WindowFunc_clear_aggfilter(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 65, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_WindowFunc_aggfilter(const pg_query_WindowFunc* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 65, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_WindowFunc_has_aggfilter(const pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 65, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_WindowFunc_clear_run_condition(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 64), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_WindowFunc_run_condition(const pg_query_WindowFunc* msg, + size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 64), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_WindowFunc_run_condition_upb_array( + const pg_query_WindowFunc* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 64), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_WindowFunc_run_condition_mutable_upb_array( + pg_query_WindowFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 64), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_WindowFunc_clear_winref(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowFunc_winref(const pg_query_WindowFunc* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(44, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowFunc_clear_winstar(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {10, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_WindowFunc_winstar(const pg_query_WindowFunc* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {10, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowFunc_clear_winagg(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_WindowFunc_winagg(const pg_query_WindowFunc* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowFunc_clear_location(pg_query_WindowFunc* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(48, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_WindowFunc_location(const pg_query_WindowFunc* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {12, UPB_SIZE(48, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_WindowFunc_set_xpr(pg_query_WindowFunc* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowFunc_mutable_xpr( + pg_query_WindowFunc* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_WindowFunc_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_WindowFunc_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_WindowFunc_set_winfnoid(pg_query_WindowFunc* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowFunc_set_wintype(pg_query_WindowFunc* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowFunc_set_wincollid(pg_query_WindowFunc* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowFunc_set_inputcollid(pg_query_WindowFunc* msg, uint32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_WindowFunc_mutable_args(pg_query_WindowFunc* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_WindowFunc_resize_args(pg_query_WindowFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowFunc_add_args( + pg_query_WindowFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_WindowFunc_set_aggfilter(pg_query_WindowFunc* msg, pg_query_Node* value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 65, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowFunc_mutable_aggfilter( + pg_query_WindowFunc* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_WindowFunc_aggfilter(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_WindowFunc_set_aggfilter(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_WindowFunc_mutable_run_condition(pg_query_WindowFunc* msg, + size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(40, 64), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_WindowFunc_resize_run_condition(pg_query_WindowFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 64), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowFunc_add_run_condition( + pg_query_WindowFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 64), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_WindowFunc_set_winref(pg_query_WindowFunc* msg, uint32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowFunc_set_winstar(pg_query_WindowFunc* msg, bool value) { + const upb_MiniTableField field = {10, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowFunc_set_winagg(pg_query_WindowFunc* msg, bool value) { + const upb_MiniTableField field = {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowFunc_set_location(pg_query_WindowFunc* msg, int32_t value) { + const upb_MiniTableField field = {12, UPB_SIZE(48, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.WindowFuncRunCondition */ +UPB_INLINE pg_query_WindowFuncRunCondition* pg_query_WindowFuncRunCondition_new(upb_Arena* arena) { + return (pg_query_WindowFuncRunCondition*)_upb_Message_New(&pg_0query__WindowFuncRunCondition_msg_init, arena); +} +UPB_INLINE pg_query_WindowFuncRunCondition* pg_query_WindowFuncRunCondition_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_WindowFuncRunCondition* ret = pg_query_WindowFuncRunCondition_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WindowFuncRunCondition_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_WindowFuncRunCondition* pg_query_WindowFuncRunCondition_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_WindowFuncRunCondition* ret = pg_query_WindowFuncRunCondition_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WindowFuncRunCondition_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_WindowFuncRunCondition_serialize(const pg_query_WindowFuncRunCondition* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WindowFuncRunCondition_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_WindowFuncRunCondition_serialize_ex(const pg_query_WindowFuncRunCondition* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WindowFuncRunCondition_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_WindowFuncRunCondition_clear_xpr(pg_query_WindowFuncRunCondition* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_WindowFuncRunCondition_xpr(const pg_query_WindowFuncRunCondition* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_WindowFuncRunCondition_has_xpr(const pg_query_WindowFuncRunCondition* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_WindowFuncRunCondition_clear_opno(pg_query_WindowFuncRunCondition* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowFuncRunCondition_opno(const pg_query_WindowFuncRunCondition* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowFuncRunCondition_clear_inputcollid(pg_query_WindowFuncRunCondition* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowFuncRunCondition_inputcollid(const pg_query_WindowFuncRunCondition* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowFuncRunCondition_clear_wfunc_left(pg_query_WindowFuncRunCondition* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_WindowFuncRunCondition_wfunc_left(const pg_query_WindowFuncRunCondition* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowFuncRunCondition_clear_arg(pg_query_WindowFuncRunCondition* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_WindowFuncRunCondition_arg(const pg_query_WindowFuncRunCondition* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_WindowFuncRunCondition_has_arg(const pg_query_WindowFuncRunCondition* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_WindowFuncRunCondition_set_xpr(pg_query_WindowFuncRunCondition* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowFuncRunCondition_mutable_xpr( + pg_query_WindowFuncRunCondition* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_WindowFuncRunCondition_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_WindowFuncRunCondition_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_WindowFuncRunCondition_set_opno(pg_query_WindowFuncRunCondition* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowFuncRunCondition_set_inputcollid(pg_query_WindowFuncRunCondition* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowFuncRunCondition_set_wfunc_left(pg_query_WindowFuncRunCondition* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowFuncRunCondition_set_arg(pg_query_WindowFuncRunCondition* msg, pg_query_Node* value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowFuncRunCondition_mutable_arg( + pg_query_WindowFuncRunCondition* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_WindowFuncRunCondition_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_WindowFuncRunCondition_set_arg(msg, sub); + } + return sub; +} + +/* pg_query.MergeSupportFunc */ +UPB_INLINE pg_query_MergeSupportFunc* pg_query_MergeSupportFunc_new(upb_Arena* arena) { + return (pg_query_MergeSupportFunc*)_upb_Message_New(&pg_0query__MergeSupportFunc_msg_init, arena); +} +UPB_INLINE pg_query_MergeSupportFunc* pg_query_MergeSupportFunc_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_MergeSupportFunc* ret = pg_query_MergeSupportFunc_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MergeSupportFunc_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_MergeSupportFunc* pg_query_MergeSupportFunc_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_MergeSupportFunc* ret = pg_query_MergeSupportFunc_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MergeSupportFunc_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_MergeSupportFunc_serialize(const pg_query_MergeSupportFunc* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MergeSupportFunc_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_MergeSupportFunc_serialize_ex(const pg_query_MergeSupportFunc* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MergeSupportFunc_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_MergeSupportFunc_clear_xpr(pg_query_MergeSupportFunc* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_MergeSupportFunc_xpr(const pg_query_MergeSupportFunc* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_MergeSupportFunc_has_xpr(const pg_query_MergeSupportFunc* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_MergeSupportFunc_clear_msftype(pg_query_MergeSupportFunc* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_MergeSupportFunc_msftype(const pg_query_MergeSupportFunc* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MergeSupportFunc_clear_msfcollid(pg_query_MergeSupportFunc* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_MergeSupportFunc_msfcollid(const pg_query_MergeSupportFunc* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MergeSupportFunc_clear_location(pg_query_MergeSupportFunc* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MergeSupportFunc_location(const pg_query_MergeSupportFunc* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_MergeSupportFunc_set_xpr(pg_query_MergeSupportFunc* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_MergeSupportFunc_mutable_xpr( + pg_query_MergeSupportFunc* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_MergeSupportFunc_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_MergeSupportFunc_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_MergeSupportFunc_set_msftype(pg_query_MergeSupportFunc* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MergeSupportFunc_set_msfcollid(pg_query_MergeSupportFunc* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MergeSupportFunc_set_location(pg_query_MergeSupportFunc* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SubscriptingRef */ +UPB_INLINE pg_query_SubscriptingRef* pg_query_SubscriptingRef_new(upb_Arena* arena) { + return (pg_query_SubscriptingRef*)_upb_Message_New(&pg_0query__SubscriptingRef_msg_init, arena); +} +UPB_INLINE pg_query_SubscriptingRef* pg_query_SubscriptingRef_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SubscriptingRef* ret = pg_query_SubscriptingRef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SubscriptingRef_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SubscriptingRef* pg_query_SubscriptingRef_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SubscriptingRef* ret = pg_query_SubscriptingRef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SubscriptingRef_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SubscriptingRef_serialize(const pg_query_SubscriptingRef* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SubscriptingRef_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SubscriptingRef_serialize_ex(const pg_query_SubscriptingRef* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SubscriptingRef_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SubscriptingRef_clear_xpr(pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SubscriptingRef_xpr(const pg_query_SubscriptingRef* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SubscriptingRef_has_xpr(const pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SubscriptingRef_clear_refcontainertype(pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SubscriptingRef_refcontainertype(const pg_query_SubscriptingRef* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubscriptingRef_clear_refelemtype(pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SubscriptingRef_refelemtype(const pg_query_SubscriptingRef* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubscriptingRef_clear_refrestype(pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SubscriptingRef_refrestype(const pg_query_SubscriptingRef* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubscriptingRef_clear_reftypmod(pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SubscriptingRef_reftypmod(const pg_query_SubscriptingRef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubscriptingRef_clear_refcollid(pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SubscriptingRef_refcollid(const pg_query_SubscriptingRef* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubscriptingRef_clear_refupperindexpr(pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 40), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SubscriptingRef_refupperindexpr(const pg_query_SubscriptingRef* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 40), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SubscriptingRef_refupperindexpr_upb_array( + const pg_query_SubscriptingRef* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 40), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SubscriptingRef_refupperindexpr_mutable_upb_array( + pg_query_SubscriptingRef* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 40), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SubscriptingRef_clear_reflowerindexpr(pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 48), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SubscriptingRef_reflowerindexpr(const pg_query_SubscriptingRef* msg, + size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 48), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SubscriptingRef_reflowerindexpr_upb_array( + const pg_query_SubscriptingRef* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 48), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SubscriptingRef_reflowerindexpr_mutable_upb_array( + pg_query_SubscriptingRef* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 48), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SubscriptingRef_clear_refexpr(pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 56), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SubscriptingRef_refexpr(const pg_query_SubscriptingRef* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {9, UPB_SIZE(44, 56), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SubscriptingRef_has_refexpr(const pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 56), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SubscriptingRef_clear_refassgnexpr(pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 64), 66, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SubscriptingRef_refassgnexpr(const pg_query_SubscriptingRef* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {10, UPB_SIZE(48, 64), 66, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SubscriptingRef_has_refassgnexpr(const pg_query_SubscriptingRef* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 64), 66, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_SubscriptingRef_set_xpr(pg_query_SubscriptingRef* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SubscriptingRef_mutable_xpr( + pg_query_SubscriptingRef* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SubscriptingRef_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SubscriptingRef_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SubscriptingRef_set_refcontainertype(pg_query_SubscriptingRef* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubscriptingRef_set_refelemtype(pg_query_SubscriptingRef* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubscriptingRef_set_refrestype(pg_query_SubscriptingRef* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubscriptingRef_set_reftypmod(pg_query_SubscriptingRef* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubscriptingRef_set_refcollid(pg_query_SubscriptingRef* msg, uint32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_SubscriptingRef_mutable_refupperindexpr(pg_query_SubscriptingRef* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(36, 40), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SubscriptingRef_resize_refupperindexpr(pg_query_SubscriptingRef* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 40), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SubscriptingRef_add_refupperindexpr( + pg_query_SubscriptingRef* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 40), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SubscriptingRef_mutable_reflowerindexpr(pg_query_SubscriptingRef* msg, + size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(40, 48), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SubscriptingRef_resize_reflowerindexpr(pg_query_SubscriptingRef* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 48), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SubscriptingRef_add_reflowerindexpr( + pg_query_SubscriptingRef* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 48), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SubscriptingRef_set_refexpr(pg_query_SubscriptingRef* msg, pg_query_Node* value) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 56), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SubscriptingRef_mutable_refexpr( + pg_query_SubscriptingRef* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SubscriptingRef_refexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SubscriptingRef_set_refexpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SubscriptingRef_set_refassgnexpr(pg_query_SubscriptingRef* msg, pg_query_Node* value) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 64), 66, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SubscriptingRef_mutable_refassgnexpr( + pg_query_SubscriptingRef* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SubscriptingRef_refassgnexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SubscriptingRef_set_refassgnexpr(msg, sub); + } + return sub; +} + +/* pg_query.FuncExpr */ +UPB_INLINE pg_query_FuncExpr* pg_query_FuncExpr_new(upb_Arena* arena) { + return (pg_query_FuncExpr*)_upb_Message_New(&pg_0query__FuncExpr_msg_init, arena); +} +UPB_INLINE pg_query_FuncExpr* pg_query_FuncExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_FuncExpr* ret = pg_query_FuncExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FuncExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_FuncExpr* pg_query_FuncExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_FuncExpr* ret = pg_query_FuncExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FuncExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_FuncExpr_serialize(const pg_query_FuncExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FuncExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_FuncExpr_serialize_ex(const pg_query_FuncExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FuncExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_FuncExpr_clear_xpr(pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_FuncExpr_xpr(const pg_query_FuncExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_FuncExpr_has_xpr(const pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_FuncExpr_clear_funcid(pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_FuncExpr_funcid(const pg_query_FuncExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncExpr_clear_funcresulttype(pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_FuncExpr_funcresulttype(const pg_query_FuncExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncExpr_clear_funcretset(pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_FuncExpr_funcretset(const pg_query_FuncExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncExpr_clear_funcvariadic(pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_FuncExpr_funcvariadic(const pg_query_FuncExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncExpr_clear_funcformat(pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_FuncExpr_funcformat(const pg_query_FuncExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncExpr_clear_funccollid(pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_FuncExpr_funccollid(const pg_query_FuncExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncExpr_clear_inputcollid(pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_FuncExpr_inputcollid(const pg_query_FuncExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncExpr_clear_args(pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 48), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_FuncExpr_args(const pg_query_FuncExpr* msg, + size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 48), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_FuncExpr_args_upb_array( + const pg_query_FuncExpr* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 48), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_FuncExpr_args_mutable_upb_array( + pg_query_FuncExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 48), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_FuncExpr_clear_location(pg_query_FuncExpr* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_FuncExpr_location(const pg_query_FuncExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {10, UPB_SIZE(40, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_FuncExpr_set_xpr(pg_query_FuncExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_FuncExpr_mutable_xpr( + pg_query_FuncExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_FuncExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_FuncExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_FuncExpr_set_funcid(pg_query_FuncExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncExpr_set_funcresulttype(pg_query_FuncExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncExpr_set_funcretset(pg_query_FuncExpr* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncExpr_set_funcvariadic(pg_query_FuncExpr* msg, bool value) { + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncExpr_set_funcformat(pg_query_FuncExpr* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncExpr_set_funccollid(pg_query_FuncExpr* msg, uint32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncExpr_set_inputcollid(pg_query_FuncExpr* msg, uint32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_FuncExpr_mutable_args(pg_query_FuncExpr* msg, + size_t* size) { + upb_MiniTableField field = {9, UPB_SIZE(36, 48), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_FuncExpr_resize_args(pg_query_FuncExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(36, 48), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_FuncExpr_add_args( + pg_query_FuncExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(36, 48), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_FuncExpr_set_location(pg_query_FuncExpr* msg, int32_t value) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.NamedArgExpr */ +UPB_INLINE pg_query_NamedArgExpr* pg_query_NamedArgExpr_new(upb_Arena* arena) { + return (pg_query_NamedArgExpr*)_upb_Message_New(&pg_0query__NamedArgExpr_msg_init, arena); +} +UPB_INLINE pg_query_NamedArgExpr* pg_query_NamedArgExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_NamedArgExpr* ret = pg_query_NamedArgExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__NamedArgExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_NamedArgExpr* pg_query_NamedArgExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_NamedArgExpr* ret = pg_query_NamedArgExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__NamedArgExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_NamedArgExpr_serialize(const pg_query_NamedArgExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__NamedArgExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_NamedArgExpr_serialize_ex(const pg_query_NamedArgExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__NamedArgExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_NamedArgExpr_clear_xpr(pg_query_NamedArgExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_NamedArgExpr_xpr(const pg_query_NamedArgExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_NamedArgExpr_has_xpr(const pg_query_NamedArgExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_NamedArgExpr_clear_arg(pg_query_NamedArgExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 48), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_NamedArgExpr_arg(const pg_query_NamedArgExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 48), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_NamedArgExpr_has_arg(const pg_query_NamedArgExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 48), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_NamedArgExpr_clear_name(pg_query_NamedArgExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_NamedArgExpr_name(const pg_query_NamedArgExpr* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NamedArgExpr_clear_argnumber(pg_query_NamedArgExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_NamedArgExpr_argnumber(const pg_query_NamedArgExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NamedArgExpr_clear_location(pg_query_NamedArgExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_NamedArgExpr_location(const pg_query_NamedArgExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_NamedArgExpr_set_xpr(pg_query_NamedArgExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_NamedArgExpr_mutable_xpr( + pg_query_NamedArgExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_NamedArgExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_NamedArgExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_NamedArgExpr_set_arg(pg_query_NamedArgExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 48), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_NamedArgExpr_mutable_arg( + pg_query_NamedArgExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_NamedArgExpr_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_NamedArgExpr_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_NamedArgExpr_set_name(pg_query_NamedArgExpr* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NamedArgExpr_set_argnumber(pg_query_NamedArgExpr* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NamedArgExpr_set_location(pg_query_NamedArgExpr* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.OpExpr */ +UPB_INLINE pg_query_OpExpr* pg_query_OpExpr_new(upb_Arena* arena) { + return (pg_query_OpExpr*)_upb_Message_New(&pg_0query__OpExpr_msg_init, arena); +} +UPB_INLINE pg_query_OpExpr* pg_query_OpExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_OpExpr* ret = pg_query_OpExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__OpExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_OpExpr* pg_query_OpExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_OpExpr* ret = pg_query_OpExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__OpExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_OpExpr_serialize(const pg_query_OpExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__OpExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_OpExpr_serialize_ex(const pg_query_OpExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__OpExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_OpExpr_clear_xpr(pg_query_OpExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_OpExpr_xpr(const pg_query_OpExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_OpExpr_has_xpr(const pg_query_OpExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_OpExpr_clear_opno(pg_query_OpExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_OpExpr_opno(const pg_query_OpExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_OpExpr_clear_opresulttype(pg_query_OpExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_OpExpr_opresulttype(const pg_query_OpExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_OpExpr_clear_opretset(pg_query_OpExpr* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_OpExpr_opretset(const pg_query_OpExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_OpExpr_clear_opcollid(pg_query_OpExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_OpExpr_opcollid(const pg_query_OpExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_OpExpr_clear_inputcollid(pg_query_OpExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_OpExpr_inputcollid(const pg_query_OpExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_OpExpr_clear_args(pg_query_OpExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_OpExpr_args(const pg_query_OpExpr* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_OpExpr_args_upb_array( + const pg_query_OpExpr* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_OpExpr_args_mutable_upb_array( + pg_query_OpExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_OpExpr_clear_location(pg_query_OpExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_OpExpr_location(const pg_query_OpExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_OpExpr_set_xpr(pg_query_OpExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_OpExpr_mutable_xpr( + pg_query_OpExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_OpExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_OpExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_OpExpr_set_opno(pg_query_OpExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_OpExpr_set_opresulttype(pg_query_OpExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_OpExpr_set_opretset(pg_query_OpExpr* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_OpExpr_set_opcollid(pg_query_OpExpr* msg, uint32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_OpExpr_set_inputcollid(pg_query_OpExpr* msg, uint32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_OpExpr_mutable_args(pg_query_OpExpr* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_OpExpr_resize_args(pg_query_OpExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_OpExpr_add_args( + pg_query_OpExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_OpExpr_set_location(pg_query_OpExpr* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.DistinctExpr */ +UPB_INLINE pg_query_DistinctExpr* pg_query_DistinctExpr_new(upb_Arena* arena) { + return (pg_query_DistinctExpr*)_upb_Message_New(&pg_0query__DistinctExpr_msg_init, arena); +} +UPB_INLINE pg_query_DistinctExpr* pg_query_DistinctExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DistinctExpr* ret = pg_query_DistinctExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DistinctExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DistinctExpr* pg_query_DistinctExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DistinctExpr* ret = pg_query_DistinctExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DistinctExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DistinctExpr_serialize(const pg_query_DistinctExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DistinctExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DistinctExpr_serialize_ex(const pg_query_DistinctExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DistinctExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DistinctExpr_clear_xpr(pg_query_DistinctExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_DistinctExpr_xpr(const pg_query_DistinctExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_DistinctExpr_has_xpr(const pg_query_DistinctExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_DistinctExpr_clear_opno(pg_query_DistinctExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_DistinctExpr_opno(const pg_query_DistinctExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DistinctExpr_clear_opresulttype(pg_query_DistinctExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_DistinctExpr_opresulttype(const pg_query_DistinctExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DistinctExpr_clear_opretset(pg_query_DistinctExpr* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DistinctExpr_opretset(const pg_query_DistinctExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DistinctExpr_clear_opcollid(pg_query_DistinctExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_DistinctExpr_opcollid(const pg_query_DistinctExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DistinctExpr_clear_inputcollid(pg_query_DistinctExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_DistinctExpr_inputcollid(const pg_query_DistinctExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DistinctExpr_clear_args(pg_query_DistinctExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_DistinctExpr_args(const pg_query_DistinctExpr* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_DistinctExpr_args_upb_array( + const pg_query_DistinctExpr* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_DistinctExpr_args_mutable_upb_array( + pg_query_DistinctExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_DistinctExpr_clear_location(pg_query_DistinctExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DistinctExpr_location(const pg_query_DistinctExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_DistinctExpr_set_xpr(pg_query_DistinctExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_DistinctExpr_mutable_xpr( + pg_query_DistinctExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_DistinctExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_DistinctExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_DistinctExpr_set_opno(pg_query_DistinctExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DistinctExpr_set_opresulttype(pg_query_DistinctExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DistinctExpr_set_opretset(pg_query_DistinctExpr* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DistinctExpr_set_opcollid(pg_query_DistinctExpr* msg, uint32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DistinctExpr_set_inputcollid(pg_query_DistinctExpr* msg, uint32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_DistinctExpr_mutable_args(pg_query_DistinctExpr* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_DistinctExpr_resize_args(pg_query_DistinctExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_DistinctExpr_add_args( + pg_query_DistinctExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_DistinctExpr_set_location(pg_query_DistinctExpr* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.NullIfExpr */ +UPB_INLINE pg_query_NullIfExpr* pg_query_NullIfExpr_new(upb_Arena* arena) { + return (pg_query_NullIfExpr*)_upb_Message_New(&pg_0query__NullIfExpr_msg_init, arena); +} +UPB_INLINE pg_query_NullIfExpr* pg_query_NullIfExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_NullIfExpr* ret = pg_query_NullIfExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__NullIfExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_NullIfExpr* pg_query_NullIfExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_NullIfExpr* ret = pg_query_NullIfExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__NullIfExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_NullIfExpr_serialize(const pg_query_NullIfExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__NullIfExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_NullIfExpr_serialize_ex(const pg_query_NullIfExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__NullIfExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_NullIfExpr_clear_xpr(pg_query_NullIfExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_NullIfExpr_xpr(const pg_query_NullIfExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_NullIfExpr_has_xpr(const pg_query_NullIfExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_NullIfExpr_clear_opno(pg_query_NullIfExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_NullIfExpr_opno(const pg_query_NullIfExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NullIfExpr_clear_opresulttype(pg_query_NullIfExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_NullIfExpr_opresulttype(const pg_query_NullIfExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NullIfExpr_clear_opretset(pg_query_NullIfExpr* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_NullIfExpr_opretset(const pg_query_NullIfExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NullIfExpr_clear_opcollid(pg_query_NullIfExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_NullIfExpr_opcollid(const pg_query_NullIfExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NullIfExpr_clear_inputcollid(pg_query_NullIfExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_NullIfExpr_inputcollid(const pg_query_NullIfExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NullIfExpr_clear_args(pg_query_NullIfExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_NullIfExpr_args(const pg_query_NullIfExpr* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_NullIfExpr_args_upb_array( + const pg_query_NullIfExpr* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_NullIfExpr_args_mutable_upb_array( + pg_query_NullIfExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_NullIfExpr_clear_location(pg_query_NullIfExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_NullIfExpr_location(const pg_query_NullIfExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_NullIfExpr_set_xpr(pg_query_NullIfExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_NullIfExpr_mutable_xpr( + pg_query_NullIfExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_NullIfExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_NullIfExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_NullIfExpr_set_opno(pg_query_NullIfExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NullIfExpr_set_opresulttype(pg_query_NullIfExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NullIfExpr_set_opretset(pg_query_NullIfExpr* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NullIfExpr_set_opcollid(pg_query_NullIfExpr* msg, uint32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NullIfExpr_set_inputcollid(pg_query_NullIfExpr* msg, uint32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_NullIfExpr_mutable_args(pg_query_NullIfExpr* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_NullIfExpr_resize_args(pg_query_NullIfExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_NullIfExpr_add_args( + pg_query_NullIfExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_NullIfExpr_set_location(pg_query_NullIfExpr* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ScalarArrayOpExpr */ +UPB_INLINE pg_query_ScalarArrayOpExpr* pg_query_ScalarArrayOpExpr_new(upb_Arena* arena) { + return (pg_query_ScalarArrayOpExpr*)_upb_Message_New(&pg_0query__ScalarArrayOpExpr_msg_init, arena); +} +UPB_INLINE pg_query_ScalarArrayOpExpr* pg_query_ScalarArrayOpExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ScalarArrayOpExpr* ret = pg_query_ScalarArrayOpExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ScalarArrayOpExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ScalarArrayOpExpr* pg_query_ScalarArrayOpExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ScalarArrayOpExpr* ret = pg_query_ScalarArrayOpExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ScalarArrayOpExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ScalarArrayOpExpr_serialize(const pg_query_ScalarArrayOpExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ScalarArrayOpExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ScalarArrayOpExpr_serialize_ex(const pg_query_ScalarArrayOpExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ScalarArrayOpExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ScalarArrayOpExpr_clear_xpr(pg_query_ScalarArrayOpExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ScalarArrayOpExpr_xpr(const pg_query_ScalarArrayOpExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ScalarArrayOpExpr_has_xpr(const pg_query_ScalarArrayOpExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ScalarArrayOpExpr_clear_opno(pg_query_ScalarArrayOpExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_ScalarArrayOpExpr_opno(const pg_query_ScalarArrayOpExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ScalarArrayOpExpr_clear_use_or(pg_query_ScalarArrayOpExpr* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ScalarArrayOpExpr_use_or(const pg_query_ScalarArrayOpExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ScalarArrayOpExpr_clear_inputcollid(pg_query_ScalarArrayOpExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_ScalarArrayOpExpr_inputcollid(const pg_query_ScalarArrayOpExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ScalarArrayOpExpr_clear_args(pg_query_ScalarArrayOpExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ScalarArrayOpExpr_args(const pg_query_ScalarArrayOpExpr* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ScalarArrayOpExpr_args_upb_array( + const pg_query_ScalarArrayOpExpr* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ScalarArrayOpExpr_args_mutable_upb_array( + pg_query_ScalarArrayOpExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ScalarArrayOpExpr_clear_location(pg_query_ScalarArrayOpExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ScalarArrayOpExpr_location(const pg_query_ScalarArrayOpExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ScalarArrayOpExpr_set_xpr(pg_query_ScalarArrayOpExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ScalarArrayOpExpr_mutable_xpr( + pg_query_ScalarArrayOpExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ScalarArrayOpExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ScalarArrayOpExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ScalarArrayOpExpr_set_opno(pg_query_ScalarArrayOpExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ScalarArrayOpExpr_set_use_or(pg_query_ScalarArrayOpExpr* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ScalarArrayOpExpr_set_inputcollid(pg_query_ScalarArrayOpExpr* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_ScalarArrayOpExpr_mutable_args(pg_query_ScalarArrayOpExpr* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ScalarArrayOpExpr_resize_args(pg_query_ScalarArrayOpExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ScalarArrayOpExpr_add_args( + pg_query_ScalarArrayOpExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_ScalarArrayOpExpr_set_location(pg_query_ScalarArrayOpExpr* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.BoolExpr */ +UPB_INLINE pg_query_BoolExpr* pg_query_BoolExpr_new(upb_Arena* arena) { + return (pg_query_BoolExpr*)_upb_Message_New(&pg_0query__BoolExpr_msg_init, arena); +} +UPB_INLINE pg_query_BoolExpr* pg_query_BoolExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_BoolExpr* ret = pg_query_BoolExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__BoolExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_BoolExpr* pg_query_BoolExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_BoolExpr* ret = pg_query_BoolExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__BoolExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_BoolExpr_serialize(const pg_query_BoolExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__BoolExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_BoolExpr_serialize_ex(const pg_query_BoolExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__BoolExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_BoolExpr_clear_xpr(pg_query_BoolExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_BoolExpr_xpr(const pg_query_BoolExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_BoolExpr_has_xpr(const pg_query_BoolExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_BoolExpr_clear_boolop(pg_query_BoolExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_BoolExpr_boolop(const pg_query_BoolExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_BoolExpr_clear_args(pg_query_BoolExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_BoolExpr_args(const pg_query_BoolExpr* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_BoolExpr_args_upb_array( + const pg_query_BoolExpr* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_BoolExpr_args_mutable_upb_array( + pg_query_BoolExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_BoolExpr_clear_location(pg_query_BoolExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_BoolExpr_location(const pg_query_BoolExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_BoolExpr_set_xpr(pg_query_BoolExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_BoolExpr_mutable_xpr( + pg_query_BoolExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_BoolExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_BoolExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_BoolExpr_set_boolop(pg_query_BoolExpr* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_BoolExpr_mutable_args(pg_query_BoolExpr* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_BoolExpr_resize_args(pg_query_BoolExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_BoolExpr_add_args( + pg_query_BoolExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_BoolExpr_set_location(pg_query_BoolExpr* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SubLink */ +UPB_INLINE pg_query_SubLink* pg_query_SubLink_new(upb_Arena* arena) { + return (pg_query_SubLink*)_upb_Message_New(&pg_0query__SubLink_msg_init, arena); +} +UPB_INLINE pg_query_SubLink* pg_query_SubLink_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SubLink* ret = pg_query_SubLink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SubLink_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SubLink* pg_query_SubLink_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SubLink* ret = pg_query_SubLink_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SubLink_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SubLink_serialize(const pg_query_SubLink* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SubLink_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SubLink_serialize_ex(const pg_query_SubLink* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SubLink_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SubLink_clear_xpr(pg_query_SubLink* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SubLink_xpr(const pg_query_SubLink* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SubLink_has_xpr(const pg_query_SubLink* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SubLink_clear_sub_link_type(pg_query_SubLink* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SubLink_sub_link_type(const pg_query_SubLink* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubLink_clear_sub_link_id(pg_query_SubLink* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SubLink_sub_link_id(const pg_query_SubLink* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubLink_clear_testexpr(pg_query_SubLink* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SubLink_testexpr(const pg_query_SubLink* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SubLink_has_testexpr(const pg_query_SubLink* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SubLink_clear_oper_name(pg_query_SubLink* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SubLink_oper_name(const pg_query_SubLink* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SubLink_oper_name_upb_array( + const pg_query_SubLink* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SubLink_oper_name_mutable_upb_array( + pg_query_SubLink* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SubLink_clear_subselect(pg_query_SubLink* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SubLink_subselect(const pg_query_SubLink* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SubLink_has_subselect(const pg_query_SubLink* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SubLink_clear_location(pg_query_SubLink* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SubLink_location(const pg_query_SubLink* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_SubLink_set_xpr(pg_query_SubLink* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SubLink_mutable_xpr( + pg_query_SubLink* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SubLink_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SubLink_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SubLink_set_sub_link_type(pg_query_SubLink* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubLink_set_sub_link_id(pg_query_SubLink* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubLink_set_testexpr(pg_query_SubLink* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SubLink_mutable_testexpr( + pg_query_SubLink* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SubLink_testexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SubLink_set_testexpr(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SubLink_mutable_oper_name(pg_query_SubLink* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SubLink_resize_oper_name(pg_query_SubLink* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SubLink_add_oper_name( + pg_query_SubLink* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SubLink_set_subselect(pg_query_SubLink* msg, pg_query_Node* value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SubLink_mutable_subselect( + pg_query_SubLink* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SubLink_subselect(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SubLink_set_subselect(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SubLink_set_location(pg_query_SubLink* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SubPlan */ +UPB_INLINE pg_query_SubPlan* pg_query_SubPlan_new(upb_Arena* arena) { + return (pg_query_SubPlan*)_upb_Message_New(&pg_0query__SubPlan_msg_init, arena); +} +UPB_INLINE pg_query_SubPlan* pg_query_SubPlan_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SubPlan* ret = pg_query_SubPlan_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SubPlan_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SubPlan* pg_query_SubPlan_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SubPlan* ret = pg_query_SubPlan_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SubPlan_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SubPlan_serialize(const pg_query_SubPlan* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SubPlan_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SubPlan_serialize_ex(const pg_query_SubPlan* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SubPlan_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SubPlan_clear_xpr(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(51, 52), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SubPlan_xpr(const pg_query_SubPlan* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(51, 52), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SubPlan_has_xpr(const pg_query_SubPlan* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(51, 52), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SubPlan_clear_sub_link_type(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SubPlan_sub_link_type(const pg_query_SubPlan* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubPlan_clear_testexpr(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 56), 65, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SubPlan_testexpr(const pg_query_SubPlan* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 56), 65, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SubPlan_has_testexpr(const pg_query_SubPlan* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 56), 65, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SubPlan_clear_param_ids(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 64), 0, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SubPlan_param_ids(const pg_query_SubPlan* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 64), 0, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SubPlan_param_ids_upb_array( + const pg_query_SubPlan* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 64), 0, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SubPlan_param_ids_mutable_upb_array( + pg_query_SubPlan* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 64), 0, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SubPlan_clear_plan_id(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SubPlan_plan_id(const pg_query_SubPlan* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubPlan_clear_plan_name(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(56, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SubPlan_plan_name(const pg_query_SubPlan* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, UPB_SIZE(56, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubPlan_clear_first_col_type(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SubPlan_first_col_type(const pg_query_SubPlan* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubPlan_clear_first_col_typmod(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SubPlan_first_col_typmod(const pg_query_SubPlan* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubPlan_clear_first_col_collation(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SubPlan_first_col_collation(const pg_query_SubPlan* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(40, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubPlan_clear_use_hash_table(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {10, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_SubPlan_use_hash_table(const pg_query_SubPlan* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {10, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubPlan_clear_unknown_eq_false(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_SubPlan_unknown_eq_false(const pg_query_SubPlan* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubPlan_clear_parallel_safe(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {12, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_SubPlan_parallel_safe(const pg_query_SubPlan* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {12, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubPlan_clear_set_param(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(44, 72), 0, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SubPlan_set_param(const pg_query_SubPlan* msg, + size_t* size) { + const upb_MiniTableField field = {13, UPB_SIZE(44, 72), 0, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SubPlan_set_param_upb_array( + const pg_query_SubPlan* msg, size_t* size) { + const upb_MiniTableField field = {13, UPB_SIZE(44, 72), 0, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SubPlan_set_param_mutable_upb_array( + pg_query_SubPlan* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {13, UPB_SIZE(44, 72), 0, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SubPlan_clear_par_param(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(48, 80), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SubPlan_par_param(const pg_query_SubPlan* msg, + size_t* size) { + const upb_MiniTableField field = {14, UPB_SIZE(48, 80), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SubPlan_par_param_upb_array( + const pg_query_SubPlan* msg, size_t* size) { + const upb_MiniTableField field = {14, UPB_SIZE(48, 80), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SubPlan_par_param_mutable_upb_array( + pg_query_SubPlan* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {14, UPB_SIZE(48, 80), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SubPlan_clear_args(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SubPlan_args(const pg_query_SubPlan* msg, + size_t* size) { + const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SubPlan_args_upb_array( + const pg_query_SubPlan* msg, size_t* size) { + const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SubPlan_args_mutable_upb_array( + pg_query_SubPlan* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SubPlan_clear_startup_cost(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(64, 96), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE double pg_query_SubPlan_startup_cost(const pg_query_SubPlan* msg) { + double default_val = 0; + double ret; + const upb_MiniTableField field = {16, UPB_SIZE(64, 96), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SubPlan_clear_per_call_cost(pg_query_SubPlan* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(72, 104), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE double pg_query_SubPlan_per_call_cost(const pg_query_SubPlan* msg) { + double default_val = 0; + double ret; + const upb_MiniTableField field = {17, UPB_SIZE(72, 104), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_SubPlan_set_xpr(pg_query_SubPlan* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(51, 52), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SubPlan_mutable_xpr( + pg_query_SubPlan* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SubPlan_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SubPlan_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SubPlan_set_sub_link_type(pg_query_SubPlan* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubPlan_set_testexpr(pg_query_SubPlan* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 56), 65, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SubPlan_mutable_testexpr( + pg_query_SubPlan* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SubPlan_testexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SubPlan_set_testexpr(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SubPlan_mutable_param_ids(pg_query_SubPlan* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 64), 0, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SubPlan_resize_param_ids(pg_query_SubPlan* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 64), 0, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SubPlan_add_param_ids( + pg_query_SubPlan* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 64), 0, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SubPlan_set_plan_id(pg_query_SubPlan* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubPlan_set_plan_name(pg_query_SubPlan* msg, upb_StringView value) { + const upb_MiniTableField field = {6, UPB_SIZE(56, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubPlan_set_first_col_type(pg_query_SubPlan* msg, uint32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubPlan_set_first_col_typmod(pg_query_SubPlan* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubPlan_set_first_col_collation(pg_query_SubPlan* msg, uint32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubPlan_set_use_hash_table(pg_query_SubPlan* msg, bool value) { + const upb_MiniTableField field = {10, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubPlan_set_unknown_eq_false(pg_query_SubPlan* msg, bool value) { + const upb_MiniTableField field = {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubPlan_set_parallel_safe(pg_query_SubPlan* msg, bool value) { + const upb_MiniTableField field = {12, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_SubPlan_mutable_set_param(pg_query_SubPlan* msg, + size_t* size) { + upb_MiniTableField field = {13, UPB_SIZE(44, 72), 0, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SubPlan_resize_set_param(pg_query_SubPlan* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {13, UPB_SIZE(44, 72), 0, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SubPlan_add_set_param( + pg_query_SubPlan* msg, upb_Arena* arena) { + upb_MiniTableField field = {13, UPB_SIZE(44, 72), 0, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SubPlan_mutable_par_param(pg_query_SubPlan* msg, + size_t* size) { + upb_MiniTableField field = {14, UPB_SIZE(48, 80), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SubPlan_resize_par_param(pg_query_SubPlan* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {14, UPB_SIZE(48, 80), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SubPlan_add_par_param( + pg_query_SubPlan* msg, upb_Arena* arena) { + upb_MiniTableField field = {14, UPB_SIZE(48, 80), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SubPlan_mutable_args(pg_query_SubPlan* msg, + size_t* size) { + upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SubPlan_resize_args(pg_query_SubPlan* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SubPlan_add_args( + pg_query_SubPlan* msg, upb_Arena* arena) { + upb_MiniTableField field = {15, UPB_SIZE(52, 88), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SubPlan_set_startup_cost(pg_query_SubPlan* msg, double value) { + const upb_MiniTableField field = {16, UPB_SIZE(64, 96), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SubPlan_set_per_call_cost(pg_query_SubPlan* msg, double value) { + const upb_MiniTableField field = {17, UPB_SIZE(72, 104), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlternativeSubPlan */ +UPB_INLINE pg_query_AlternativeSubPlan* pg_query_AlternativeSubPlan_new(upb_Arena* arena) { + return (pg_query_AlternativeSubPlan*)_upb_Message_New(&pg_0query__AlternativeSubPlan_msg_init, arena); +} +UPB_INLINE pg_query_AlternativeSubPlan* pg_query_AlternativeSubPlan_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlternativeSubPlan* ret = pg_query_AlternativeSubPlan_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlternativeSubPlan_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlternativeSubPlan* pg_query_AlternativeSubPlan_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlternativeSubPlan* ret = pg_query_AlternativeSubPlan_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlternativeSubPlan_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlternativeSubPlan_serialize(const pg_query_AlternativeSubPlan* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlternativeSubPlan_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlternativeSubPlan_serialize_ex(const pg_query_AlternativeSubPlan* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlternativeSubPlan_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlternativeSubPlan_clear_xpr(pg_query_AlternativeSubPlan* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_AlternativeSubPlan_xpr(const pg_query_AlternativeSubPlan* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlternativeSubPlan_has_xpr(const pg_query_AlternativeSubPlan* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlternativeSubPlan_clear_subplans(pg_query_AlternativeSubPlan* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlternativeSubPlan_subplans(const pg_query_AlternativeSubPlan* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlternativeSubPlan_subplans_upb_array( + const pg_query_AlternativeSubPlan* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlternativeSubPlan_subplans_mutable_upb_array( + pg_query_AlternativeSubPlan* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_AlternativeSubPlan_set_xpr(pg_query_AlternativeSubPlan* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_AlternativeSubPlan_mutable_xpr( + pg_query_AlternativeSubPlan* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_AlternativeSubPlan_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_AlternativeSubPlan_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlternativeSubPlan_mutable_subplans(pg_query_AlternativeSubPlan* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlternativeSubPlan_resize_subplans(pg_query_AlternativeSubPlan* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlternativeSubPlan_add_subplans( + pg_query_AlternativeSubPlan* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.FieldSelect */ +UPB_INLINE pg_query_FieldSelect* pg_query_FieldSelect_new(upb_Arena* arena) { + return (pg_query_FieldSelect*)_upb_Message_New(&pg_0query__FieldSelect_msg_init, arena); +} +UPB_INLINE pg_query_FieldSelect* pg_query_FieldSelect_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_FieldSelect* ret = pg_query_FieldSelect_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FieldSelect_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_FieldSelect* pg_query_FieldSelect_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_FieldSelect* ret = pg_query_FieldSelect_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FieldSelect_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_FieldSelect_serialize(const pg_query_FieldSelect* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FieldSelect_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_FieldSelect_serialize_ex(const pg_query_FieldSelect* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FieldSelect_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_FieldSelect_clear_xpr(pg_query_FieldSelect* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_FieldSelect_xpr(const pg_query_FieldSelect* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_FieldSelect_has_xpr(const pg_query_FieldSelect* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_FieldSelect_clear_arg(pg_query_FieldSelect* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_FieldSelect_arg(const pg_query_FieldSelect* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_FieldSelect_has_arg(const pg_query_FieldSelect* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_FieldSelect_clear_fieldnum(pg_query_FieldSelect* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_FieldSelect_fieldnum(const pg_query_FieldSelect* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FieldSelect_clear_resulttype(pg_query_FieldSelect* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_FieldSelect_resulttype(const pg_query_FieldSelect* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FieldSelect_clear_resulttypmod(pg_query_FieldSelect* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_FieldSelect_resulttypmod(const pg_query_FieldSelect* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FieldSelect_clear_resultcollid(pg_query_FieldSelect* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_FieldSelect_resultcollid(const pg_query_FieldSelect* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_FieldSelect_set_xpr(pg_query_FieldSelect* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_FieldSelect_mutable_xpr( + pg_query_FieldSelect* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_FieldSelect_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_FieldSelect_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_FieldSelect_set_arg(pg_query_FieldSelect* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_FieldSelect_mutable_arg( + pg_query_FieldSelect* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_FieldSelect_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_FieldSelect_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_FieldSelect_set_fieldnum(pg_query_FieldSelect* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FieldSelect_set_resulttype(pg_query_FieldSelect* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FieldSelect_set_resulttypmod(pg_query_FieldSelect* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FieldSelect_set_resultcollid(pg_query_FieldSelect* msg, uint32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.FieldStore */ +UPB_INLINE pg_query_FieldStore* pg_query_FieldStore_new(upb_Arena* arena) { + return (pg_query_FieldStore*)_upb_Message_New(&pg_0query__FieldStore_msg_init, arena); +} +UPB_INLINE pg_query_FieldStore* pg_query_FieldStore_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_FieldStore* ret = pg_query_FieldStore_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FieldStore_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_FieldStore* pg_query_FieldStore_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_FieldStore* ret = pg_query_FieldStore_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FieldStore_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_FieldStore_serialize(const pg_query_FieldStore* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FieldStore_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_FieldStore_serialize_ex(const pg_query_FieldStore* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FieldStore_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_FieldStore_clear_xpr(pg_query_FieldStore* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_FieldStore_xpr(const pg_query_FieldStore* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_FieldStore_has_xpr(const pg_query_FieldStore* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_FieldStore_clear_arg(pg_query_FieldStore* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_FieldStore_arg(const pg_query_FieldStore* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_FieldStore_has_arg(const pg_query_FieldStore* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_FieldStore_clear_newvals(pg_query_FieldStore* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_FieldStore_newvals(const pg_query_FieldStore* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_FieldStore_newvals_upb_array( + const pg_query_FieldStore* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_FieldStore_newvals_mutable_upb_array( + pg_query_FieldStore* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_FieldStore_clear_fieldnums(pg_query_FieldStore* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_FieldStore_fieldnums(const pg_query_FieldStore* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_FieldStore_fieldnums_upb_array( + const pg_query_FieldStore* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_FieldStore_fieldnums_mutable_upb_array( + pg_query_FieldStore* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_FieldStore_clear_resulttype(pg_query_FieldStore* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_FieldStore_resulttype(const pg_query_FieldStore* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_FieldStore_set_xpr(pg_query_FieldStore* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_FieldStore_mutable_xpr( + pg_query_FieldStore* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_FieldStore_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_FieldStore_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_FieldStore_set_arg(pg_query_FieldStore* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_FieldStore_mutable_arg( + pg_query_FieldStore* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_FieldStore_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_FieldStore_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_FieldStore_mutable_newvals(pg_query_FieldStore* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_FieldStore_resize_newvals(pg_query_FieldStore* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_FieldStore_add_newvals( + pg_query_FieldStore* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_FieldStore_mutable_fieldnums(pg_query_FieldStore* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_FieldStore_resize_fieldnums(pg_query_FieldStore* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_FieldStore_add_fieldnums( + pg_query_FieldStore* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_FieldStore_set_resulttype(pg_query_FieldStore* msg, uint32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RelabelType */ +UPB_INLINE pg_query_RelabelType* pg_query_RelabelType_new(upb_Arena* arena) { + return (pg_query_RelabelType*)_upb_Message_New(&pg_0query__RelabelType_msg_init, arena); +} +UPB_INLINE pg_query_RelabelType* pg_query_RelabelType_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RelabelType* ret = pg_query_RelabelType_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RelabelType_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RelabelType* pg_query_RelabelType_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RelabelType* ret = pg_query_RelabelType_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RelabelType_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RelabelType_serialize(const pg_query_RelabelType* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RelabelType_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RelabelType_serialize_ex(const pg_query_RelabelType* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RelabelType_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RelabelType_clear_xpr(pg_query_RelabelType* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RelabelType_xpr(const pg_query_RelabelType* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RelabelType_has_xpr(const pg_query_RelabelType* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RelabelType_clear_arg(pg_query_RelabelType* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RelabelType_arg(const pg_query_RelabelType* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RelabelType_has_arg(const pg_query_RelabelType* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RelabelType_clear_resulttype(pg_query_RelabelType* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_RelabelType_resulttype(const pg_query_RelabelType* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RelabelType_clear_resulttypmod(pg_query_RelabelType* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RelabelType_resulttypmod(const pg_query_RelabelType* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RelabelType_clear_resultcollid(pg_query_RelabelType* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_RelabelType_resultcollid(const pg_query_RelabelType* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RelabelType_clear_relabelformat(pg_query_RelabelType* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RelabelType_relabelformat(const pg_query_RelabelType* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RelabelType_clear_location(pg_query_RelabelType* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RelabelType_location(const pg_query_RelabelType* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RelabelType_set_xpr(pg_query_RelabelType* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RelabelType_mutable_xpr( + pg_query_RelabelType* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RelabelType_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RelabelType_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RelabelType_set_arg(pg_query_RelabelType* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RelabelType_mutable_arg( + pg_query_RelabelType* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RelabelType_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RelabelType_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RelabelType_set_resulttype(pg_query_RelabelType* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RelabelType_set_resulttypmod(pg_query_RelabelType* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RelabelType_set_resultcollid(pg_query_RelabelType* msg, uint32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RelabelType_set_relabelformat(pg_query_RelabelType* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RelabelType_set_location(pg_query_RelabelType* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CoerceViaIO */ +UPB_INLINE pg_query_CoerceViaIO* pg_query_CoerceViaIO_new(upb_Arena* arena) { + return (pg_query_CoerceViaIO*)_upb_Message_New(&pg_0query__CoerceViaIO_msg_init, arena); +} +UPB_INLINE pg_query_CoerceViaIO* pg_query_CoerceViaIO_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CoerceViaIO* ret = pg_query_CoerceViaIO_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CoerceViaIO_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CoerceViaIO* pg_query_CoerceViaIO_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CoerceViaIO* ret = pg_query_CoerceViaIO_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CoerceViaIO_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CoerceViaIO_serialize(const pg_query_CoerceViaIO* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CoerceViaIO_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CoerceViaIO_serialize_ex(const pg_query_CoerceViaIO* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CoerceViaIO_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CoerceViaIO_clear_xpr(pg_query_CoerceViaIO* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CoerceViaIO_xpr(const pg_query_CoerceViaIO* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CoerceViaIO_has_xpr(const pg_query_CoerceViaIO* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CoerceViaIO_clear_arg(pg_query_CoerceViaIO* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CoerceViaIO_arg(const pg_query_CoerceViaIO* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CoerceViaIO_has_arg(const pg_query_CoerceViaIO* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CoerceViaIO_clear_resulttype(pg_query_CoerceViaIO* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CoerceViaIO_resulttype(const pg_query_CoerceViaIO* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoerceViaIO_clear_resultcollid(pg_query_CoerceViaIO* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CoerceViaIO_resultcollid(const pg_query_CoerceViaIO* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoerceViaIO_clear_coerceformat(pg_query_CoerceViaIO* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CoerceViaIO_coerceformat(const pg_query_CoerceViaIO* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoerceViaIO_clear_location(pg_query_CoerceViaIO* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CoerceViaIO_location(const pg_query_CoerceViaIO* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CoerceViaIO_set_xpr(pg_query_CoerceViaIO* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CoerceViaIO_mutable_xpr( + pg_query_CoerceViaIO* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CoerceViaIO_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CoerceViaIO_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CoerceViaIO_set_arg(pg_query_CoerceViaIO* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CoerceViaIO_mutable_arg( + pg_query_CoerceViaIO* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CoerceViaIO_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CoerceViaIO_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CoerceViaIO_set_resulttype(pg_query_CoerceViaIO* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoerceViaIO_set_resultcollid(pg_query_CoerceViaIO* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoerceViaIO_set_coerceformat(pg_query_CoerceViaIO* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoerceViaIO_set_location(pg_query_CoerceViaIO* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ArrayCoerceExpr */ +UPB_INLINE pg_query_ArrayCoerceExpr* pg_query_ArrayCoerceExpr_new(upb_Arena* arena) { + return (pg_query_ArrayCoerceExpr*)_upb_Message_New(&pg_0query__ArrayCoerceExpr_msg_init, arena); +} +UPB_INLINE pg_query_ArrayCoerceExpr* pg_query_ArrayCoerceExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ArrayCoerceExpr* ret = pg_query_ArrayCoerceExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ArrayCoerceExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ArrayCoerceExpr* pg_query_ArrayCoerceExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ArrayCoerceExpr* ret = pg_query_ArrayCoerceExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ArrayCoerceExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ArrayCoerceExpr_serialize(const pg_query_ArrayCoerceExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ArrayCoerceExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ArrayCoerceExpr_serialize_ex(const pg_query_ArrayCoerceExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ArrayCoerceExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ArrayCoerceExpr_clear_xpr(pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ArrayCoerceExpr_xpr(const pg_query_ArrayCoerceExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ArrayCoerceExpr_has_xpr(const pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ArrayCoerceExpr_clear_arg(pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ArrayCoerceExpr_arg(const pg_query_ArrayCoerceExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ArrayCoerceExpr_has_arg(const pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ArrayCoerceExpr_clear_elemexpr(pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 66, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ArrayCoerceExpr_elemexpr(const pg_query_ArrayCoerceExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 66, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ArrayCoerceExpr_has_elemexpr(const pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 66, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ArrayCoerceExpr_clear_resulttype(pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_ArrayCoerceExpr_resulttype(const pg_query_ArrayCoerceExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ArrayCoerceExpr_clear_resulttypmod(pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ArrayCoerceExpr_resulttypmod(const pg_query_ArrayCoerceExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ArrayCoerceExpr_clear_resultcollid(pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_ArrayCoerceExpr_resultcollid(const pg_query_ArrayCoerceExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ArrayCoerceExpr_clear_coerceformat(pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ArrayCoerceExpr_coerceformat(const pg_query_ArrayCoerceExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ArrayCoerceExpr_clear_location(pg_query_ArrayCoerceExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ArrayCoerceExpr_location(const pg_query_ArrayCoerceExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(40, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ArrayCoerceExpr_set_xpr(pg_query_ArrayCoerceExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ArrayCoerceExpr_mutable_xpr( + pg_query_ArrayCoerceExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ArrayCoerceExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ArrayCoerceExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ArrayCoerceExpr_set_arg(pg_query_ArrayCoerceExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ArrayCoerceExpr_mutable_arg( + pg_query_ArrayCoerceExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ArrayCoerceExpr_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ArrayCoerceExpr_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ArrayCoerceExpr_set_elemexpr(pg_query_ArrayCoerceExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 66, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ArrayCoerceExpr_mutable_elemexpr( + pg_query_ArrayCoerceExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ArrayCoerceExpr_elemexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ArrayCoerceExpr_set_elemexpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ArrayCoerceExpr_set_resulttype(pg_query_ArrayCoerceExpr* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ArrayCoerceExpr_set_resulttypmod(pg_query_ArrayCoerceExpr* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ArrayCoerceExpr_set_resultcollid(pg_query_ArrayCoerceExpr* msg, uint32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ArrayCoerceExpr_set_coerceformat(pg_query_ArrayCoerceExpr* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ArrayCoerceExpr_set_location(pg_query_ArrayCoerceExpr* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ConvertRowtypeExpr */ +UPB_INLINE pg_query_ConvertRowtypeExpr* pg_query_ConvertRowtypeExpr_new(upb_Arena* arena) { + return (pg_query_ConvertRowtypeExpr*)_upb_Message_New(&pg_0query__ConvertRowtypeExpr_msg_init, arena); +} +UPB_INLINE pg_query_ConvertRowtypeExpr* pg_query_ConvertRowtypeExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ConvertRowtypeExpr* ret = pg_query_ConvertRowtypeExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ConvertRowtypeExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ConvertRowtypeExpr* pg_query_ConvertRowtypeExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ConvertRowtypeExpr* ret = pg_query_ConvertRowtypeExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ConvertRowtypeExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ConvertRowtypeExpr_serialize(const pg_query_ConvertRowtypeExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ConvertRowtypeExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ConvertRowtypeExpr_serialize_ex(const pg_query_ConvertRowtypeExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ConvertRowtypeExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ConvertRowtypeExpr_clear_xpr(pg_query_ConvertRowtypeExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ConvertRowtypeExpr_xpr(const pg_query_ConvertRowtypeExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ConvertRowtypeExpr_has_xpr(const pg_query_ConvertRowtypeExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ConvertRowtypeExpr_clear_arg(pg_query_ConvertRowtypeExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ConvertRowtypeExpr_arg(const pg_query_ConvertRowtypeExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ConvertRowtypeExpr_has_arg(const pg_query_ConvertRowtypeExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ConvertRowtypeExpr_clear_resulttype(pg_query_ConvertRowtypeExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_ConvertRowtypeExpr_resulttype(const pg_query_ConvertRowtypeExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ConvertRowtypeExpr_clear_convertformat(pg_query_ConvertRowtypeExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ConvertRowtypeExpr_convertformat(const pg_query_ConvertRowtypeExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ConvertRowtypeExpr_clear_location(pg_query_ConvertRowtypeExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ConvertRowtypeExpr_location(const pg_query_ConvertRowtypeExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ConvertRowtypeExpr_set_xpr(pg_query_ConvertRowtypeExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ConvertRowtypeExpr_mutable_xpr( + pg_query_ConvertRowtypeExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ConvertRowtypeExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ConvertRowtypeExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ConvertRowtypeExpr_set_arg(pg_query_ConvertRowtypeExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ConvertRowtypeExpr_mutable_arg( + pg_query_ConvertRowtypeExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ConvertRowtypeExpr_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ConvertRowtypeExpr_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ConvertRowtypeExpr_set_resulttype(pg_query_ConvertRowtypeExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ConvertRowtypeExpr_set_convertformat(pg_query_ConvertRowtypeExpr* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ConvertRowtypeExpr_set_location(pg_query_ConvertRowtypeExpr* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CollateExpr */ +UPB_INLINE pg_query_CollateExpr* pg_query_CollateExpr_new(upb_Arena* arena) { + return (pg_query_CollateExpr*)_upb_Message_New(&pg_0query__CollateExpr_msg_init, arena); +} +UPB_INLINE pg_query_CollateExpr* pg_query_CollateExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CollateExpr* ret = pg_query_CollateExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CollateExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CollateExpr* pg_query_CollateExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CollateExpr* ret = pg_query_CollateExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CollateExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CollateExpr_serialize(const pg_query_CollateExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CollateExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CollateExpr_serialize_ex(const pg_query_CollateExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CollateExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CollateExpr_clear_xpr(pg_query_CollateExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CollateExpr_xpr(const pg_query_CollateExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CollateExpr_has_xpr(const pg_query_CollateExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CollateExpr_clear_arg(pg_query_CollateExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CollateExpr_arg(const pg_query_CollateExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CollateExpr_has_arg(const pg_query_CollateExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CollateExpr_clear_coll_oid(pg_query_CollateExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CollateExpr_coll_oid(const pg_query_CollateExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CollateExpr_clear_location(pg_query_CollateExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CollateExpr_location(const pg_query_CollateExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CollateExpr_set_xpr(pg_query_CollateExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CollateExpr_mutable_xpr( + pg_query_CollateExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CollateExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CollateExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CollateExpr_set_arg(pg_query_CollateExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CollateExpr_mutable_arg( + pg_query_CollateExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CollateExpr_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CollateExpr_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CollateExpr_set_coll_oid(pg_query_CollateExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CollateExpr_set_location(pg_query_CollateExpr* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CaseExpr */ +UPB_INLINE pg_query_CaseExpr* pg_query_CaseExpr_new(upb_Arena* arena) { + return (pg_query_CaseExpr*)_upb_Message_New(&pg_0query__CaseExpr_msg_init, arena); +} +UPB_INLINE pg_query_CaseExpr* pg_query_CaseExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CaseExpr* ret = pg_query_CaseExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CaseExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CaseExpr* pg_query_CaseExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CaseExpr* ret = pg_query_CaseExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CaseExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CaseExpr_serialize(const pg_query_CaseExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CaseExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CaseExpr_serialize_ex(const pg_query_CaseExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CaseExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CaseExpr_clear_xpr(pg_query_CaseExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CaseExpr_xpr(const pg_query_CaseExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CaseExpr_has_xpr(const pg_query_CaseExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CaseExpr_clear_casetype(pg_query_CaseExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CaseExpr_casetype(const pg_query_CaseExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CaseExpr_clear_casecollid(pg_query_CaseExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CaseExpr_casecollid(const pg_query_CaseExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CaseExpr_clear_arg(pg_query_CaseExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CaseExpr_arg(const pg_query_CaseExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CaseExpr_has_arg(const pg_query_CaseExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CaseExpr_clear_args(pg_query_CaseExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CaseExpr_args(const pg_query_CaseExpr* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CaseExpr_args_upb_array( + const pg_query_CaseExpr* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CaseExpr_args_mutable_upb_array( + pg_query_CaseExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CaseExpr_clear_defresult(pg_query_CaseExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CaseExpr_defresult(const pg_query_CaseExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CaseExpr_has_defresult(const pg_query_CaseExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CaseExpr_clear_location(pg_query_CaseExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CaseExpr_location(const pg_query_CaseExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CaseExpr_set_xpr(pg_query_CaseExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CaseExpr_mutable_xpr( + pg_query_CaseExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CaseExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CaseExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CaseExpr_set_casetype(pg_query_CaseExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CaseExpr_set_casecollid(pg_query_CaseExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CaseExpr_set_arg(pg_query_CaseExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CaseExpr_mutable_arg( + pg_query_CaseExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CaseExpr_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CaseExpr_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CaseExpr_mutable_args(pg_query_CaseExpr* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CaseExpr_resize_args(pg_query_CaseExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CaseExpr_add_args( + pg_query_CaseExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CaseExpr_set_defresult(pg_query_CaseExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CaseExpr_mutable_defresult( + pg_query_CaseExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CaseExpr_defresult(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CaseExpr_set_defresult(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CaseExpr_set_location(pg_query_CaseExpr* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CaseWhen */ +UPB_INLINE pg_query_CaseWhen* pg_query_CaseWhen_new(upb_Arena* arena) { + return (pg_query_CaseWhen*)_upb_Message_New(&pg_0query__CaseWhen_msg_init, arena); +} +UPB_INLINE pg_query_CaseWhen* pg_query_CaseWhen_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CaseWhen* ret = pg_query_CaseWhen_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CaseWhen_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CaseWhen* pg_query_CaseWhen_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CaseWhen* ret = pg_query_CaseWhen_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CaseWhen_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CaseWhen_serialize(const pg_query_CaseWhen* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CaseWhen_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CaseWhen_serialize_ex(const pg_query_CaseWhen* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CaseWhen_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CaseWhen_clear_xpr(pg_query_CaseWhen* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CaseWhen_xpr(const pg_query_CaseWhen* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CaseWhen_has_xpr(const pg_query_CaseWhen* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CaseWhen_clear_expr(pg_query_CaseWhen* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CaseWhen_expr(const pg_query_CaseWhen* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CaseWhen_has_expr(const pg_query_CaseWhen* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CaseWhen_clear_result(pg_query_CaseWhen* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CaseWhen_result(const pg_query_CaseWhen* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CaseWhen_has_result(const pg_query_CaseWhen* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CaseWhen_clear_location(pg_query_CaseWhen* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CaseWhen_location(const pg_query_CaseWhen* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CaseWhen_set_xpr(pg_query_CaseWhen* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CaseWhen_mutable_xpr( + pg_query_CaseWhen* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CaseWhen_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CaseWhen_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CaseWhen_set_expr(pg_query_CaseWhen* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CaseWhen_mutable_expr( + pg_query_CaseWhen* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CaseWhen_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CaseWhen_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CaseWhen_set_result(pg_query_CaseWhen* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CaseWhen_mutable_result( + pg_query_CaseWhen* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CaseWhen_result(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CaseWhen_set_result(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CaseWhen_set_location(pg_query_CaseWhen* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CaseTestExpr */ +UPB_INLINE pg_query_CaseTestExpr* pg_query_CaseTestExpr_new(upb_Arena* arena) { + return (pg_query_CaseTestExpr*)_upb_Message_New(&pg_0query__CaseTestExpr_msg_init, arena); +} +UPB_INLINE pg_query_CaseTestExpr* pg_query_CaseTestExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CaseTestExpr* ret = pg_query_CaseTestExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CaseTestExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CaseTestExpr* pg_query_CaseTestExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CaseTestExpr* ret = pg_query_CaseTestExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CaseTestExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CaseTestExpr_serialize(const pg_query_CaseTestExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CaseTestExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CaseTestExpr_serialize_ex(const pg_query_CaseTestExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CaseTestExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CaseTestExpr_clear_xpr(pg_query_CaseTestExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CaseTestExpr_xpr(const pg_query_CaseTestExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CaseTestExpr_has_xpr(const pg_query_CaseTestExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CaseTestExpr_clear_type_id(pg_query_CaseTestExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CaseTestExpr_type_id(const pg_query_CaseTestExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CaseTestExpr_clear_type_mod(pg_query_CaseTestExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CaseTestExpr_type_mod(const pg_query_CaseTestExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CaseTestExpr_clear_collation(pg_query_CaseTestExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CaseTestExpr_collation(const pg_query_CaseTestExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CaseTestExpr_set_xpr(pg_query_CaseTestExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CaseTestExpr_mutable_xpr( + pg_query_CaseTestExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CaseTestExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CaseTestExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CaseTestExpr_set_type_id(pg_query_CaseTestExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CaseTestExpr_set_type_mod(pg_query_CaseTestExpr* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CaseTestExpr_set_collation(pg_query_CaseTestExpr* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ArrayExpr */ +UPB_INLINE pg_query_ArrayExpr* pg_query_ArrayExpr_new(upb_Arena* arena) { + return (pg_query_ArrayExpr*)_upb_Message_New(&pg_0query__ArrayExpr_msg_init, arena); +} +UPB_INLINE pg_query_ArrayExpr* pg_query_ArrayExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ArrayExpr* ret = pg_query_ArrayExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ArrayExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ArrayExpr* pg_query_ArrayExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ArrayExpr* ret = pg_query_ArrayExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ArrayExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ArrayExpr_serialize(const pg_query_ArrayExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ArrayExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ArrayExpr_serialize_ex(const pg_query_ArrayExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ArrayExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ArrayExpr_clear_xpr(pg_query_ArrayExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ArrayExpr_xpr(const pg_query_ArrayExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ArrayExpr_has_xpr(const pg_query_ArrayExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ArrayExpr_clear_array_typeid(pg_query_ArrayExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_ArrayExpr_array_typeid(const pg_query_ArrayExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ArrayExpr_clear_array_collid(pg_query_ArrayExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_ArrayExpr_array_collid(const pg_query_ArrayExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ArrayExpr_clear_element_typeid(pg_query_ArrayExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_ArrayExpr_element_typeid(const pg_query_ArrayExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ArrayExpr_clear_elements(pg_query_ArrayExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ArrayExpr_elements(const pg_query_ArrayExpr* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ArrayExpr_elements_upb_array( + const pg_query_ArrayExpr* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ArrayExpr_elements_mutable_upb_array( + pg_query_ArrayExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ArrayExpr_clear_multidims(pg_query_ArrayExpr* msg) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ArrayExpr_multidims(const pg_query_ArrayExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ArrayExpr_clear_list_start(pg_query_ArrayExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ArrayExpr_list_start(const pg_query_ArrayExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ArrayExpr_clear_list_end(pg_query_ArrayExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ArrayExpr_list_end(const pg_query_ArrayExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ArrayExpr_clear_location(pg_query_ArrayExpr* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ArrayExpr_location(const pg_query_ArrayExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(40, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ArrayExpr_set_xpr(pg_query_ArrayExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ArrayExpr_mutable_xpr( + pg_query_ArrayExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ArrayExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ArrayExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ArrayExpr_set_array_typeid(pg_query_ArrayExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ArrayExpr_set_array_collid(pg_query_ArrayExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ArrayExpr_set_element_typeid(pg_query_ArrayExpr* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_ArrayExpr_mutable_elements(pg_query_ArrayExpr* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(28, 48), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ArrayExpr_resize_elements(pg_query_ArrayExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 48), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ArrayExpr_add_elements( + pg_query_ArrayExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 48), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_ArrayExpr_set_multidims(pg_query_ArrayExpr* msg, bool value) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ArrayExpr_set_list_start(pg_query_ArrayExpr* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ArrayExpr_set_list_end(pg_query_ArrayExpr* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ArrayExpr_set_location(pg_query_ArrayExpr* msg, int32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RowExpr */ +UPB_INLINE pg_query_RowExpr* pg_query_RowExpr_new(upb_Arena* arena) { + return (pg_query_RowExpr*)_upb_Message_New(&pg_0query__RowExpr_msg_init, arena); +} +UPB_INLINE pg_query_RowExpr* pg_query_RowExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RowExpr* ret = pg_query_RowExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RowExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RowExpr* pg_query_RowExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RowExpr* ret = pg_query_RowExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RowExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RowExpr_serialize(const pg_query_RowExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RowExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RowExpr_serialize_ex(const pg_query_RowExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RowExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RowExpr_clear_xpr(pg_query_RowExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RowExpr_xpr(const pg_query_RowExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RowExpr_has_xpr(const pg_query_RowExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RowExpr_clear_args(pg_query_RowExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RowExpr_args(const pg_query_RowExpr* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RowExpr_args_upb_array( + const pg_query_RowExpr* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RowExpr_args_mutable_upb_array( + pg_query_RowExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RowExpr_clear_row_typeid(pg_query_RowExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_RowExpr_row_typeid(const pg_query_RowExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RowExpr_clear_row_format(pg_query_RowExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RowExpr_row_format(const pg_query_RowExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RowExpr_clear_colnames(pg_query_RowExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RowExpr_colnames(const pg_query_RowExpr* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RowExpr_colnames_upb_array( + const pg_query_RowExpr* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RowExpr_colnames_mutable_upb_array( + pg_query_RowExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RowExpr_clear_location(pg_query_RowExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RowExpr_location(const pg_query_RowExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RowExpr_set_xpr(pg_query_RowExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RowExpr_mutable_xpr( + pg_query_RowExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RowExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RowExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RowExpr_mutable_args(pg_query_RowExpr* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RowExpr_resize_args(pg_query_RowExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RowExpr_add_args( + pg_query_RowExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RowExpr_set_row_typeid(pg_query_RowExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RowExpr_set_row_format(pg_query_RowExpr* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_RowExpr_mutable_colnames(pg_query_RowExpr* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RowExpr_resize_colnames(pg_query_RowExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RowExpr_add_colnames( + pg_query_RowExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RowExpr_set_location(pg_query_RowExpr* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RowCompareExpr */ +UPB_INLINE pg_query_RowCompareExpr* pg_query_RowCompareExpr_new(upb_Arena* arena) { + return (pg_query_RowCompareExpr*)_upb_Message_New(&pg_0query__RowCompareExpr_msg_init, arena); +} +UPB_INLINE pg_query_RowCompareExpr* pg_query_RowCompareExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RowCompareExpr* ret = pg_query_RowCompareExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RowCompareExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RowCompareExpr* pg_query_RowCompareExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RowCompareExpr* ret = pg_query_RowCompareExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RowCompareExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RowCompareExpr_serialize(const pg_query_RowCompareExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RowCompareExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RowCompareExpr_serialize_ex(const pg_query_RowCompareExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RowCompareExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RowCompareExpr_clear_xpr(pg_query_RowCompareExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RowCompareExpr_xpr(const pg_query_RowCompareExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RowCompareExpr_has_xpr(const pg_query_RowCompareExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RowCompareExpr_clear_cmptype(pg_query_RowCompareExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RowCompareExpr_cmptype(const pg_query_RowCompareExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RowCompareExpr_clear_opnos(pg_query_RowCompareExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RowCompareExpr_opnos(const pg_query_RowCompareExpr* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RowCompareExpr_opnos_upb_array( + const pg_query_RowCompareExpr* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RowCompareExpr_opnos_mutable_upb_array( + pg_query_RowCompareExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RowCompareExpr_clear_opfamilies(pg_query_RowCompareExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RowCompareExpr_opfamilies(const pg_query_RowCompareExpr* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RowCompareExpr_opfamilies_upb_array( + const pg_query_RowCompareExpr* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RowCompareExpr_opfamilies_mutable_upb_array( + pg_query_RowCompareExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RowCompareExpr_clear_inputcollids(pg_query_RowCompareExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RowCompareExpr_inputcollids(const pg_query_RowCompareExpr* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RowCompareExpr_inputcollids_upb_array( + const pg_query_RowCompareExpr* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RowCompareExpr_inputcollids_mutable_upb_array( + pg_query_RowCompareExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RowCompareExpr_clear_largs(pg_query_RowCompareExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RowCompareExpr_largs(const pg_query_RowCompareExpr* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RowCompareExpr_largs_upb_array( + const pg_query_RowCompareExpr* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RowCompareExpr_largs_mutable_upb_array( + pg_query_RowCompareExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RowCompareExpr_clear_rargs(pg_query_RowCompareExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RowCompareExpr_rargs(const pg_query_RowCompareExpr* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RowCompareExpr_rargs_upb_array( + const pg_query_RowCompareExpr* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RowCompareExpr_rargs_mutable_upb_array( + pg_query_RowCompareExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_RowCompareExpr_set_xpr(pg_query_RowCompareExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RowCompareExpr_mutable_xpr( + pg_query_RowCompareExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RowCompareExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RowCompareExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RowCompareExpr_set_cmptype(pg_query_RowCompareExpr* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_RowCompareExpr_mutable_opnos(pg_query_RowCompareExpr* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RowCompareExpr_resize_opnos(pg_query_RowCompareExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RowCompareExpr_add_opnos( + pg_query_RowCompareExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RowCompareExpr_mutable_opfamilies(pg_query_RowCompareExpr* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RowCompareExpr_resize_opfamilies(pg_query_RowCompareExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RowCompareExpr_add_opfamilies( + pg_query_RowCompareExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RowCompareExpr_mutable_inputcollids(pg_query_RowCompareExpr* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RowCompareExpr_resize_inputcollids(pg_query_RowCompareExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RowCompareExpr_add_inputcollids( + pg_query_RowCompareExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RowCompareExpr_mutable_largs(pg_query_RowCompareExpr* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RowCompareExpr_resize_largs(pg_query_RowCompareExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RowCompareExpr_add_largs( + pg_query_RowCompareExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RowCompareExpr_mutable_rargs(pg_query_RowCompareExpr* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RowCompareExpr_resize_rargs(pg_query_RowCompareExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RowCompareExpr_add_rargs( + pg_query_RowCompareExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CoalesceExpr */ +UPB_INLINE pg_query_CoalesceExpr* pg_query_CoalesceExpr_new(upb_Arena* arena) { + return (pg_query_CoalesceExpr*)_upb_Message_New(&pg_0query__CoalesceExpr_msg_init, arena); +} +UPB_INLINE pg_query_CoalesceExpr* pg_query_CoalesceExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CoalesceExpr* ret = pg_query_CoalesceExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CoalesceExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CoalesceExpr* pg_query_CoalesceExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CoalesceExpr* ret = pg_query_CoalesceExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CoalesceExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CoalesceExpr_serialize(const pg_query_CoalesceExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CoalesceExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CoalesceExpr_serialize_ex(const pg_query_CoalesceExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CoalesceExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CoalesceExpr_clear_xpr(pg_query_CoalesceExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CoalesceExpr_xpr(const pg_query_CoalesceExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CoalesceExpr_has_xpr(const pg_query_CoalesceExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CoalesceExpr_clear_coalescetype(pg_query_CoalesceExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CoalesceExpr_coalescetype(const pg_query_CoalesceExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoalesceExpr_clear_coalescecollid(pg_query_CoalesceExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CoalesceExpr_coalescecollid(const pg_query_CoalesceExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoalesceExpr_clear_args(pg_query_CoalesceExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CoalesceExpr_args(const pg_query_CoalesceExpr* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CoalesceExpr_args_upb_array( + const pg_query_CoalesceExpr* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CoalesceExpr_args_mutable_upb_array( + pg_query_CoalesceExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CoalesceExpr_clear_location(pg_query_CoalesceExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CoalesceExpr_location(const pg_query_CoalesceExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CoalesceExpr_set_xpr(pg_query_CoalesceExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CoalesceExpr_mutable_xpr( + pg_query_CoalesceExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CoalesceExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CoalesceExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CoalesceExpr_set_coalescetype(pg_query_CoalesceExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoalesceExpr_set_coalescecollid(pg_query_CoalesceExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CoalesceExpr_mutable_args(pg_query_CoalesceExpr* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CoalesceExpr_resize_args(pg_query_CoalesceExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CoalesceExpr_add_args( + pg_query_CoalesceExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CoalesceExpr_set_location(pg_query_CoalesceExpr* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.MinMaxExpr */ +UPB_INLINE pg_query_MinMaxExpr* pg_query_MinMaxExpr_new(upb_Arena* arena) { + return (pg_query_MinMaxExpr*)_upb_Message_New(&pg_0query__MinMaxExpr_msg_init, arena); +} +UPB_INLINE pg_query_MinMaxExpr* pg_query_MinMaxExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_MinMaxExpr* ret = pg_query_MinMaxExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MinMaxExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_MinMaxExpr* pg_query_MinMaxExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_MinMaxExpr* ret = pg_query_MinMaxExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MinMaxExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_MinMaxExpr_serialize(const pg_query_MinMaxExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MinMaxExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_MinMaxExpr_serialize_ex(const pg_query_MinMaxExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MinMaxExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_MinMaxExpr_clear_xpr(pg_query_MinMaxExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_MinMaxExpr_xpr(const pg_query_MinMaxExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_MinMaxExpr_has_xpr(const pg_query_MinMaxExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_MinMaxExpr_clear_minmaxtype(pg_query_MinMaxExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_MinMaxExpr_minmaxtype(const pg_query_MinMaxExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MinMaxExpr_clear_minmaxcollid(pg_query_MinMaxExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_MinMaxExpr_minmaxcollid(const pg_query_MinMaxExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MinMaxExpr_clear_inputcollid(pg_query_MinMaxExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_MinMaxExpr_inputcollid(const pg_query_MinMaxExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MinMaxExpr_clear_op(pg_query_MinMaxExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MinMaxExpr_op(const pg_query_MinMaxExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MinMaxExpr_clear_args(pg_query_MinMaxExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_MinMaxExpr_args(const pg_query_MinMaxExpr* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_MinMaxExpr_args_upb_array( + const pg_query_MinMaxExpr* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_MinMaxExpr_args_mutable_upb_array( + pg_query_MinMaxExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_MinMaxExpr_clear_location(pg_query_MinMaxExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MinMaxExpr_location(const pg_query_MinMaxExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_MinMaxExpr_set_xpr(pg_query_MinMaxExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_MinMaxExpr_mutable_xpr( + pg_query_MinMaxExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_MinMaxExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_MinMaxExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_MinMaxExpr_set_minmaxtype(pg_query_MinMaxExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MinMaxExpr_set_minmaxcollid(pg_query_MinMaxExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MinMaxExpr_set_inputcollid(pg_query_MinMaxExpr* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MinMaxExpr_set_op(pg_query_MinMaxExpr* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_MinMaxExpr_mutable_args(pg_query_MinMaxExpr* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_MinMaxExpr_resize_args(pg_query_MinMaxExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_MinMaxExpr_add_args( + pg_query_MinMaxExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_MinMaxExpr_set_location(pg_query_MinMaxExpr* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SQLValueFunction */ +UPB_INLINE pg_query_SQLValueFunction* pg_query_SQLValueFunction_new(upb_Arena* arena) { + return (pg_query_SQLValueFunction*)_upb_Message_New(&pg_0query__SQLValueFunction_msg_init, arena); +} +UPB_INLINE pg_query_SQLValueFunction* pg_query_SQLValueFunction_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SQLValueFunction* ret = pg_query_SQLValueFunction_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SQLValueFunction_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SQLValueFunction* pg_query_SQLValueFunction_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SQLValueFunction* ret = pg_query_SQLValueFunction_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SQLValueFunction_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SQLValueFunction_serialize(const pg_query_SQLValueFunction* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SQLValueFunction_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SQLValueFunction_serialize_ex(const pg_query_SQLValueFunction* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SQLValueFunction_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SQLValueFunction_clear_xpr(pg_query_SQLValueFunction* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SQLValueFunction_xpr(const pg_query_SQLValueFunction* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SQLValueFunction_has_xpr(const pg_query_SQLValueFunction* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SQLValueFunction_clear_op(pg_query_SQLValueFunction* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SQLValueFunction_op(const pg_query_SQLValueFunction* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SQLValueFunction_clear_type(pg_query_SQLValueFunction* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SQLValueFunction_type(const pg_query_SQLValueFunction* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SQLValueFunction_clear_typmod(pg_query_SQLValueFunction* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SQLValueFunction_typmod(const pg_query_SQLValueFunction* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SQLValueFunction_clear_location(pg_query_SQLValueFunction* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SQLValueFunction_location(const pg_query_SQLValueFunction* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_SQLValueFunction_set_xpr(pg_query_SQLValueFunction* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SQLValueFunction_mutable_xpr( + pg_query_SQLValueFunction* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SQLValueFunction_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SQLValueFunction_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SQLValueFunction_set_op(pg_query_SQLValueFunction* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SQLValueFunction_set_type(pg_query_SQLValueFunction* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SQLValueFunction_set_typmod(pg_query_SQLValueFunction* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SQLValueFunction_set_location(pg_query_SQLValueFunction* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.XmlExpr */ +UPB_INLINE pg_query_XmlExpr* pg_query_XmlExpr_new(upb_Arena* arena) { + return (pg_query_XmlExpr*)_upb_Message_New(&pg_0query__XmlExpr_msg_init, arena); +} +UPB_INLINE pg_query_XmlExpr* pg_query_XmlExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_XmlExpr* ret = pg_query_XmlExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__XmlExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_XmlExpr* pg_query_XmlExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_XmlExpr* ret = pg_query_XmlExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__XmlExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_XmlExpr_serialize(const pg_query_XmlExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__XmlExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_XmlExpr_serialize_ex(const pg_query_XmlExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__XmlExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_XmlExpr_clear_xpr(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_XmlExpr_xpr(const pg_query_XmlExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_XmlExpr_has_xpr(const pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_XmlExpr_clear_op(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_XmlExpr_op(const pg_query_XmlExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_XmlExpr_clear_name(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_XmlExpr_name(const pg_query_XmlExpr* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_XmlExpr_clear_named_args(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 0, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_XmlExpr_named_args(const pg_query_XmlExpr* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 0, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_XmlExpr_named_args_upb_array( + const pg_query_XmlExpr* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 0, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_XmlExpr_named_args_mutable_upb_array( + pg_query_XmlExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 0, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_XmlExpr_clear_arg_names(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_XmlExpr_arg_names(const pg_query_XmlExpr* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_XmlExpr_arg_names_upb_array( + const pg_query_XmlExpr* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_XmlExpr_arg_names_mutable_upb_array( + pg_query_XmlExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_XmlExpr_clear_args(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_XmlExpr_args(const pg_query_XmlExpr* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_XmlExpr_args_upb_array( + const pg_query_XmlExpr* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_XmlExpr_args_mutable_upb_array( + pg_query_XmlExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_XmlExpr_clear_xmloption(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_XmlExpr_xmloption(const pg_query_XmlExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_XmlExpr_clear_indent(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_XmlExpr_indent(const pg_query_XmlExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_XmlExpr_clear_type(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_XmlExpr_type(const pg_query_XmlExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_XmlExpr_clear_typmod(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_XmlExpr_typmod(const pg_query_XmlExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {10, UPB_SIZE(40, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_XmlExpr_clear_location(pg_query_XmlExpr* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_XmlExpr_location(const pg_query_XmlExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {11, UPB_SIZE(44, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_XmlExpr_set_xpr(pg_query_XmlExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_XmlExpr_mutable_xpr( + pg_query_XmlExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_XmlExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_XmlExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_XmlExpr_set_op(pg_query_XmlExpr* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_XmlExpr_set_name(pg_query_XmlExpr* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_XmlExpr_mutable_named_args(pg_query_XmlExpr* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(20, 56), 0, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_XmlExpr_resize_named_args(pg_query_XmlExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 56), 0, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_XmlExpr_add_named_args( + pg_query_XmlExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 56), 0, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_XmlExpr_mutable_arg_names(pg_query_XmlExpr* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_XmlExpr_resize_arg_names(pg_query_XmlExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_XmlExpr_add_arg_names( + pg_query_XmlExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_XmlExpr_mutable_args(pg_query_XmlExpr* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_XmlExpr_resize_args(pg_query_XmlExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_XmlExpr_add_args( + pg_query_XmlExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_XmlExpr_set_xmloption(pg_query_XmlExpr* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_XmlExpr_set_indent(pg_query_XmlExpr* msg, bool value) { + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_XmlExpr_set_type(pg_query_XmlExpr* msg, uint32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_XmlExpr_set_typmod(pg_query_XmlExpr* msg, int32_t value) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_XmlExpr_set_location(pg_query_XmlExpr* msg, int32_t value) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonFormat */ +UPB_INLINE pg_query_JsonFormat* pg_query_JsonFormat_new(upb_Arena* arena) { + return (pg_query_JsonFormat*)_upb_Message_New(&pg_0query__JsonFormat_msg_init, arena); +} +UPB_INLINE pg_query_JsonFormat* pg_query_JsonFormat_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonFormat* ret = pg_query_JsonFormat_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonFormat_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonFormat* pg_query_JsonFormat_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonFormat* ret = pg_query_JsonFormat_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonFormat_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonFormat_serialize(const pg_query_JsonFormat* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonFormat_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonFormat_serialize_ex(const pg_query_JsonFormat* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonFormat_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonFormat_clear_format_type(pg_query_JsonFormat* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonFormat_format_type(const pg_query_JsonFormat* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonFormat_clear_encoding(pg_query_JsonFormat* msg) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonFormat_encoding(const pg_query_JsonFormat* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonFormat_clear_location(pg_query_JsonFormat* msg) { + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonFormat_location(const pg_query_JsonFormat* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonFormat_set_format_type(pg_query_JsonFormat* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonFormat_set_encoding(pg_query_JsonFormat* msg, int32_t value) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonFormat_set_location(pg_query_JsonFormat* msg, int32_t value) { + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonReturning */ +UPB_INLINE pg_query_JsonReturning* pg_query_JsonReturning_new(upb_Arena* arena) { + return (pg_query_JsonReturning*)_upb_Message_New(&pg_0query__JsonReturning_msg_init, arena); +} +UPB_INLINE pg_query_JsonReturning* pg_query_JsonReturning_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonReturning* ret = pg_query_JsonReturning_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonReturning_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonReturning* pg_query_JsonReturning_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonReturning* ret = pg_query_JsonReturning_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonReturning_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonReturning_serialize(const pg_query_JsonReturning* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonReturning_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonReturning_serialize_ex(const pg_query_JsonReturning* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonReturning_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonReturning_clear_format(pg_query_JsonReturning* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonFormat* pg_query_JsonReturning_format(const pg_query_JsonReturning* msg) { + const pg_query_JsonFormat* default_val = NULL; + const pg_query_JsonFormat* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonReturning_has_format(const pg_query_JsonReturning* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonReturning_clear_typid(pg_query_JsonReturning* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_JsonReturning_typid(const pg_query_JsonReturning* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonReturning_clear_typmod(pg_query_JsonReturning* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonReturning_typmod(const pg_query_JsonReturning* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonReturning_set_format(pg_query_JsonReturning* msg, pg_query_JsonFormat* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonFormat* pg_query_JsonReturning_mutable_format( + pg_query_JsonReturning* msg, upb_Arena* arena) { + struct pg_query_JsonFormat* sub = (struct pg_query_JsonFormat*)pg_query_JsonReturning_format(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonFormat*)_upb_Message_New(&pg_0query__JsonFormat_msg_init, arena); + if (sub) pg_query_JsonReturning_set_format(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonReturning_set_typid(pg_query_JsonReturning* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonReturning_set_typmod(pg_query_JsonReturning* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonValueExpr */ +UPB_INLINE pg_query_JsonValueExpr* pg_query_JsonValueExpr_new(upb_Arena* arena) { + return (pg_query_JsonValueExpr*)_upb_Message_New(&pg_0query__JsonValueExpr_msg_init, arena); +} +UPB_INLINE pg_query_JsonValueExpr* pg_query_JsonValueExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonValueExpr* ret = pg_query_JsonValueExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonValueExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonValueExpr* pg_query_JsonValueExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonValueExpr* ret = pg_query_JsonValueExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonValueExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonValueExpr_serialize(const pg_query_JsonValueExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonValueExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonValueExpr_serialize_ex(const pg_query_JsonValueExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonValueExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonValueExpr_clear_raw_expr(pg_query_JsonValueExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonValueExpr_raw_expr(const pg_query_JsonValueExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonValueExpr_has_raw_expr(const pg_query_JsonValueExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonValueExpr_clear_formatted_expr(pg_query_JsonValueExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonValueExpr_formatted_expr(const pg_query_JsonValueExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonValueExpr_has_formatted_expr(const pg_query_JsonValueExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonValueExpr_clear_format(pg_query_JsonValueExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonFormat* pg_query_JsonValueExpr_format(const pg_query_JsonValueExpr* msg) { + const pg_query_JsonFormat* default_val = NULL; + const pg_query_JsonFormat* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonValueExpr_has_format(const pg_query_JsonValueExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_JsonValueExpr_set_raw_expr(pg_query_JsonValueExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonValueExpr_mutable_raw_expr( + pg_query_JsonValueExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonValueExpr_raw_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonValueExpr_set_raw_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonValueExpr_set_formatted_expr(pg_query_JsonValueExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonValueExpr_mutable_formatted_expr( + pg_query_JsonValueExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonValueExpr_formatted_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonValueExpr_set_formatted_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonValueExpr_set_format(pg_query_JsonValueExpr* msg, pg_query_JsonFormat* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonFormat* pg_query_JsonValueExpr_mutable_format( + pg_query_JsonValueExpr* msg, upb_Arena* arena) { + struct pg_query_JsonFormat* sub = (struct pg_query_JsonFormat*)pg_query_JsonValueExpr_format(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonFormat*)_upb_Message_New(&pg_0query__JsonFormat_msg_init, arena); + if (sub) pg_query_JsonValueExpr_set_format(msg, sub); + } + return sub; +} + +/* pg_query.JsonConstructorExpr */ +UPB_INLINE pg_query_JsonConstructorExpr* pg_query_JsonConstructorExpr_new(upb_Arena* arena) { + return (pg_query_JsonConstructorExpr*)_upb_Message_New(&pg_0query__JsonConstructorExpr_msg_init, arena); +} +UPB_INLINE pg_query_JsonConstructorExpr* pg_query_JsonConstructorExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonConstructorExpr* ret = pg_query_JsonConstructorExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonConstructorExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonConstructorExpr* pg_query_JsonConstructorExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonConstructorExpr* ret = pg_query_JsonConstructorExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonConstructorExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonConstructorExpr_serialize(const pg_query_JsonConstructorExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonConstructorExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonConstructorExpr_serialize_ex(const pg_query_JsonConstructorExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonConstructorExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonConstructorExpr_clear_xpr(pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonConstructorExpr_xpr(const pg_query_JsonConstructorExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonConstructorExpr_has_xpr(const pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonConstructorExpr_clear_type(pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonConstructorExpr_type(const pg_query_JsonConstructorExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonConstructorExpr_clear_args(pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(22, 24), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JsonConstructorExpr_args(const pg_query_JsonConstructorExpr* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(22, 24), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JsonConstructorExpr_args_upb_array( + const pg_query_JsonConstructorExpr* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(22, 24), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JsonConstructorExpr_args_mutable_upb_array( + pg_query_JsonConstructorExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(22, 24), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JsonConstructorExpr_clear_func(pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(20, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonConstructorExpr_func(const pg_query_JsonConstructorExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(20, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonConstructorExpr_has_func(const pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(20, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonConstructorExpr_clear_coercion(pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonConstructorExpr_coercion(const pg_query_JsonConstructorExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonConstructorExpr_has_coercion(const pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonConstructorExpr_clear_returning(pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonReturning* pg_query_JsonConstructorExpr_returning(const pg_query_JsonConstructorExpr* msg) { + const pg_query_JsonReturning* default_val = NULL; + const pg_query_JsonReturning* ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonReturning_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonConstructorExpr_has_returning(const pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonConstructorExpr_clear_absent_on_null(pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonConstructorExpr_absent_on_null(const pg_query_JsonConstructorExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonConstructorExpr_clear_unique(pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {8, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonConstructorExpr_unique(const pg_query_JsonConstructorExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonConstructorExpr_clear_location(pg_query_JsonConstructorExpr* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonConstructorExpr_location(const pg_query_JsonConstructorExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(36, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonConstructorExpr_set_xpr(pg_query_JsonConstructorExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonConstructorExpr_mutable_xpr( + pg_query_JsonConstructorExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonConstructorExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonConstructorExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonConstructorExpr_set_type(pg_query_JsonConstructorExpr* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_JsonConstructorExpr_mutable_args(pg_query_JsonConstructorExpr* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(22, 24), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JsonConstructorExpr_resize_args(pg_query_JsonConstructorExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(22, 24), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonConstructorExpr_add_args( + pg_query_JsonConstructorExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(22, 24), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_JsonConstructorExpr_set_func(pg_query_JsonConstructorExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(20, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonConstructorExpr_mutable_func( + pg_query_JsonConstructorExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonConstructorExpr_func(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonConstructorExpr_set_func(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonConstructorExpr_set_coercion(pg_query_JsonConstructorExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonConstructorExpr_mutable_coercion( + pg_query_JsonConstructorExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonConstructorExpr_coercion(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonConstructorExpr_set_coercion(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonConstructorExpr_set_returning(pg_query_JsonConstructorExpr* msg, pg_query_JsonReturning* value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonReturning_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonReturning* pg_query_JsonConstructorExpr_mutable_returning( + pg_query_JsonConstructorExpr* msg, upb_Arena* arena) { + struct pg_query_JsonReturning* sub = (struct pg_query_JsonReturning*)pg_query_JsonConstructorExpr_returning(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonReturning*)_upb_Message_New(&pg_0query__JsonReturning_msg_init, arena); + if (sub) pg_query_JsonConstructorExpr_set_returning(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonConstructorExpr_set_absent_on_null(pg_query_JsonConstructorExpr* msg, bool value) { + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonConstructorExpr_set_unique(pg_query_JsonConstructorExpr* msg, bool value) { + const upb_MiniTableField field = {8, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonConstructorExpr_set_location(pg_query_JsonConstructorExpr* msg, int32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonIsPredicate */ +UPB_INLINE pg_query_JsonIsPredicate* pg_query_JsonIsPredicate_new(upb_Arena* arena) { + return (pg_query_JsonIsPredicate*)_upb_Message_New(&pg_0query__JsonIsPredicate_msg_init, arena); +} +UPB_INLINE pg_query_JsonIsPredicate* pg_query_JsonIsPredicate_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonIsPredicate* ret = pg_query_JsonIsPredicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonIsPredicate_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonIsPredicate* pg_query_JsonIsPredicate_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonIsPredicate* ret = pg_query_JsonIsPredicate_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonIsPredicate_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonIsPredicate_serialize(const pg_query_JsonIsPredicate* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonIsPredicate_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonIsPredicate_serialize_ex(const pg_query_JsonIsPredicate* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonIsPredicate_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonIsPredicate_clear_expr(pg_query_JsonIsPredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonIsPredicate_expr(const pg_query_JsonIsPredicate* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonIsPredicate_has_expr(const pg_query_JsonIsPredicate* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonIsPredicate_clear_format(pg_query_JsonIsPredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonFormat* pg_query_JsonIsPredicate_format(const pg_query_JsonIsPredicate* msg) { + const pg_query_JsonFormat* default_val = NULL; + const pg_query_JsonFormat* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonIsPredicate_has_format(const pg_query_JsonIsPredicate* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonIsPredicate_clear_item_type(pg_query_JsonIsPredicate* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonIsPredicate_item_type(const pg_query_JsonIsPredicate* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonIsPredicate_clear_unique_keys(pg_query_JsonIsPredicate* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonIsPredicate_unique_keys(const pg_query_JsonIsPredicate* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonIsPredicate_clear_location(pg_query_JsonIsPredicate* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonIsPredicate_location(const pg_query_JsonIsPredicate* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonIsPredicate_set_expr(pg_query_JsonIsPredicate* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonIsPredicate_mutable_expr( + pg_query_JsonIsPredicate* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonIsPredicate_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonIsPredicate_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonIsPredicate_set_format(pg_query_JsonIsPredicate* msg, pg_query_JsonFormat* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonFormat* pg_query_JsonIsPredicate_mutable_format( + pg_query_JsonIsPredicate* msg, upb_Arena* arena) { + struct pg_query_JsonFormat* sub = (struct pg_query_JsonFormat*)pg_query_JsonIsPredicate_format(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonFormat*)_upb_Message_New(&pg_0query__JsonFormat_msg_init, arena); + if (sub) pg_query_JsonIsPredicate_set_format(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonIsPredicate_set_item_type(pg_query_JsonIsPredicate* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonIsPredicate_set_unique_keys(pg_query_JsonIsPredicate* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonIsPredicate_set_location(pg_query_JsonIsPredicate* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonBehavior */ +UPB_INLINE pg_query_JsonBehavior* pg_query_JsonBehavior_new(upb_Arena* arena) { + return (pg_query_JsonBehavior*)_upb_Message_New(&pg_0query__JsonBehavior_msg_init, arena); +} +UPB_INLINE pg_query_JsonBehavior* pg_query_JsonBehavior_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonBehavior* ret = pg_query_JsonBehavior_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonBehavior_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonBehavior* pg_query_JsonBehavior_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonBehavior* ret = pg_query_JsonBehavior_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonBehavior_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonBehavior_serialize(const pg_query_JsonBehavior* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonBehavior_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonBehavior_serialize_ex(const pg_query_JsonBehavior* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonBehavior_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonBehavior_clear_btype(pg_query_JsonBehavior* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonBehavior_btype(const pg_query_JsonBehavior* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonBehavior_clear_expr(pg_query_JsonBehavior* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonBehavior_expr(const pg_query_JsonBehavior* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonBehavior_has_expr(const pg_query_JsonBehavior* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonBehavior_clear_coerce(pg_query_JsonBehavior* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonBehavior_coerce(const pg_query_JsonBehavior* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonBehavior_clear_location(pg_query_JsonBehavior* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonBehavior_location(const pg_query_JsonBehavior* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonBehavior_set_btype(pg_query_JsonBehavior* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonBehavior_set_expr(pg_query_JsonBehavior* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonBehavior_mutable_expr( + pg_query_JsonBehavior* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonBehavior_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonBehavior_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonBehavior_set_coerce(pg_query_JsonBehavior* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonBehavior_set_location(pg_query_JsonBehavior* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonExpr */ +UPB_INLINE pg_query_JsonExpr* pg_query_JsonExpr_new(upb_Arena* arena) { + return (pg_query_JsonExpr*)_upb_Message_New(&pg_0query__JsonExpr_msg_init, arena); +} +UPB_INLINE pg_query_JsonExpr* pg_query_JsonExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonExpr* ret = pg_query_JsonExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonExpr* pg_query_JsonExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonExpr* ret = pg_query_JsonExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonExpr_serialize(const pg_query_JsonExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonExpr_serialize_ex(const pg_query_JsonExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonExpr_clear_xpr(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(51, 52), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonExpr_xpr(const pg_query_JsonExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(51, 52), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonExpr_has_xpr(const pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(51, 52), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonExpr_clear_op(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonExpr_op(const pg_query_JsonExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonExpr_clear_column_name(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(64, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_JsonExpr_column_name(const pg_query_JsonExpr* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(64, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonExpr_clear_formatted_expr(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonExpr_formatted_expr(const pg_query_JsonExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonExpr_has_formatted_expr(const pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonExpr_clear_format(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 66, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonFormat* pg_query_JsonExpr_format(const pg_query_JsonExpr* msg) { + const pg_query_JsonFormat* default_val = NULL; + const pg_query_JsonFormat* ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 66, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonExpr_has_format(const pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 66, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonExpr_clear_path_spec(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 67, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonExpr_path_spec(const pg_query_JsonExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 67, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonExpr_has_path_spec(const pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 67, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonExpr_clear_returning(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonReturning* pg_query_JsonExpr_returning(const pg_query_JsonExpr* msg) { + const pg_query_JsonReturning* default_val = NULL; + const pg_query_JsonReturning* ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonReturning_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonExpr_has_returning(const pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonExpr_clear_passing_names(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JsonExpr_passing_names(const pg_query_JsonExpr* msg, + size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JsonExpr_passing_names_upb_array( + const pg_query_JsonExpr* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JsonExpr_passing_names_mutable_upb_array( + pg_query_JsonExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JsonExpr_clear_passing_values(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 0, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JsonExpr_passing_values(const pg_query_JsonExpr* msg, + size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 0, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JsonExpr_passing_values_upb_array( + const pg_query_JsonExpr* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 0, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JsonExpr_passing_values_mutable_upb_array( + pg_query_JsonExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 0, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JsonExpr_clear_on_empty(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 104), 69, UPB_SIZE(31, 39), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonBehavior* pg_query_JsonExpr_on_empty(const pg_query_JsonExpr* msg) { + const pg_query_JsonBehavior* default_val = NULL; + const pg_query_JsonBehavior* ret; + const upb_MiniTableField field = {10, UPB_SIZE(44, 104), 69, UPB_SIZE(31, 39), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonExpr_has_on_empty(const pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 104), 69, UPB_SIZE(31, 39), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonExpr_clear_on_error(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 112), 70, UPB_SIZE(29, 38), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonBehavior* pg_query_JsonExpr_on_error(const pg_query_JsonExpr* msg) { + const pg_query_JsonBehavior* default_val = NULL; + const pg_query_JsonBehavior* ret; + const upb_MiniTableField field = {11, UPB_SIZE(48, 112), 70, UPB_SIZE(29, 38), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonExpr_has_on_error(const pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 112), 70, UPB_SIZE(29, 38), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonExpr_clear_use_io_coercion(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {12, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonExpr_use_io_coercion(const pg_query_JsonExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {12, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonExpr_clear_use_json_coercion(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {13, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonExpr_use_json_coercion(const pg_query_JsonExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {13, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonExpr_clear_wrapper(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(52, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonExpr_wrapper(const pg_query_JsonExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {14, UPB_SIZE(52, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonExpr_clear_omit_quotes(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {15, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonExpr_omit_quotes(const pg_query_JsonExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {15, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonExpr_clear_collation(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(56, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_JsonExpr_collation(const pg_query_JsonExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {16, UPB_SIZE(56, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonExpr_clear_location(pg_query_JsonExpr* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(60, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonExpr_location(const pg_query_JsonExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {17, UPB_SIZE(60, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonExpr_set_xpr(pg_query_JsonExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(51, 52), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonExpr_mutable_xpr( + pg_query_JsonExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonExpr_set_op(pg_query_JsonExpr* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonExpr_set_column_name(pg_query_JsonExpr* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(64, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonExpr_set_formatted_expr(pg_query_JsonExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonExpr_mutable_formatted_expr( + pg_query_JsonExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonExpr_formatted_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonExpr_set_formatted_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonExpr_set_format(pg_query_JsonExpr* msg, pg_query_JsonFormat* value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 66, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonFormat* pg_query_JsonExpr_mutable_format( + pg_query_JsonExpr* msg, upb_Arena* arena) { + struct pg_query_JsonFormat* sub = (struct pg_query_JsonFormat*)pg_query_JsonExpr_format(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonFormat*)_upb_Message_New(&pg_0query__JsonFormat_msg_init, arena); + if (sub) pg_query_JsonExpr_set_format(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonExpr_set_path_spec(pg_query_JsonExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 67, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonExpr_mutable_path_spec( + pg_query_JsonExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonExpr_path_spec(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonExpr_set_path_spec(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonExpr_set_returning(pg_query_JsonExpr* msg, pg_query_JsonReturning* value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonReturning_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonReturning* pg_query_JsonExpr_mutable_returning( + pg_query_JsonExpr* msg, upb_Arena* arena) { + struct pg_query_JsonReturning* sub = (struct pg_query_JsonReturning*)pg_query_JsonExpr_returning(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonReturning*)_upb_Message_New(&pg_0query__JsonReturning_msg_init, arena); + if (sub) pg_query_JsonExpr_set_returning(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_JsonExpr_mutable_passing_names(pg_query_JsonExpr* msg, + size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(36, 88), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JsonExpr_resize_passing_names(pg_query_JsonExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(36, 88), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonExpr_add_passing_names( + pg_query_JsonExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(36, 88), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_JsonExpr_mutable_passing_values(pg_query_JsonExpr* msg, + size_t* size) { + upb_MiniTableField field = {9, UPB_SIZE(40, 96), 0, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JsonExpr_resize_passing_values(pg_query_JsonExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(40, 96), 0, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonExpr_add_passing_values( + pg_query_JsonExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(40, 96), 0, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_JsonExpr_set_on_empty(pg_query_JsonExpr* msg, pg_query_JsonBehavior* value) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 104), 69, UPB_SIZE(31, 39), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonBehavior* pg_query_JsonExpr_mutable_on_empty( + pg_query_JsonExpr* msg, upb_Arena* arena) { + struct pg_query_JsonBehavior* sub = (struct pg_query_JsonBehavior*)pg_query_JsonExpr_on_empty(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonBehavior*)_upb_Message_New(&pg_0query__JsonBehavior_msg_init, arena); + if (sub) pg_query_JsonExpr_set_on_empty(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonExpr_set_on_error(pg_query_JsonExpr* msg, pg_query_JsonBehavior* value) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 112), 70, UPB_SIZE(29, 38), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonBehavior* pg_query_JsonExpr_mutable_on_error( + pg_query_JsonExpr* msg, upb_Arena* arena) { + struct pg_query_JsonBehavior* sub = (struct pg_query_JsonBehavior*)pg_query_JsonExpr_on_error(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonBehavior*)_upb_Message_New(&pg_0query__JsonBehavior_msg_init, arena); + if (sub) pg_query_JsonExpr_set_on_error(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonExpr_set_use_io_coercion(pg_query_JsonExpr* msg, bool value) { + const upb_MiniTableField field = {12, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonExpr_set_use_json_coercion(pg_query_JsonExpr* msg, bool value) { + const upb_MiniTableField field = {13, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonExpr_set_wrapper(pg_query_JsonExpr* msg, int32_t value) { + const upb_MiniTableField field = {14, UPB_SIZE(52, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonExpr_set_omit_quotes(pg_query_JsonExpr* msg, bool value) { + const upb_MiniTableField field = {15, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonExpr_set_collation(pg_query_JsonExpr* msg, uint32_t value) { + const upb_MiniTableField field = {16, UPB_SIZE(56, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonExpr_set_location(pg_query_JsonExpr* msg, int32_t value) { + const upb_MiniTableField field = {17, UPB_SIZE(60, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonTablePath */ +UPB_INLINE pg_query_JsonTablePath* pg_query_JsonTablePath_new(upb_Arena* arena) { + return (pg_query_JsonTablePath*)_upb_Message_New(&pg_0query__JsonTablePath_msg_init, arena); +} +UPB_INLINE pg_query_JsonTablePath* pg_query_JsonTablePath_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonTablePath* ret = pg_query_JsonTablePath_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTablePath_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonTablePath* pg_query_JsonTablePath_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonTablePath* ret = pg_query_JsonTablePath_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTablePath_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonTablePath_serialize(const pg_query_JsonTablePath* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTablePath_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonTablePath_serialize_ex(const pg_query_JsonTablePath* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTablePath_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonTablePath_clear_name(pg_query_JsonTablePath* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_JsonTablePath_name(const pg_query_JsonTablePath* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonTablePath_set_name(pg_query_JsonTablePath* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonTablePathScan */ +UPB_INLINE pg_query_JsonTablePathScan* pg_query_JsonTablePathScan_new(upb_Arena* arena) { + return (pg_query_JsonTablePathScan*)_upb_Message_New(&pg_0query__JsonTablePathScan_msg_init, arena); +} +UPB_INLINE pg_query_JsonTablePathScan* pg_query_JsonTablePathScan_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonTablePathScan* ret = pg_query_JsonTablePathScan_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTablePathScan_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonTablePathScan* pg_query_JsonTablePathScan_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonTablePathScan* ret = pg_query_JsonTablePathScan_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTablePathScan_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonTablePathScan_serialize(const pg_query_JsonTablePathScan* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTablePathScan_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonTablePathScan_serialize_ex(const pg_query_JsonTablePathScan* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTablePathScan_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonTablePathScan_clear_plan(pg_query_JsonTablePathScan* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonTablePathScan_plan(const pg_query_JsonTablePathScan* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTablePathScan_has_plan(const pg_query_JsonTablePathScan* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTablePathScan_clear_path(pg_query_JsonTablePathScan* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonTablePath* pg_query_JsonTablePathScan_path(const pg_query_JsonTablePathScan* msg) { + const pg_query_JsonTablePath* default_val = NULL; + const pg_query_JsonTablePath* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePath_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTablePathScan_has_path(const pg_query_JsonTablePathScan* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTablePathScan_clear_error_on_error(pg_query_JsonTablePathScan* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonTablePathScan_error_on_error(const pg_query_JsonTablePathScan* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonTablePathScan_clear_child(pg_query_JsonTablePathScan* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 66, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonTablePathScan_child(const pg_query_JsonTablePathScan* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 66, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTablePathScan_has_child(const pg_query_JsonTablePathScan* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 66, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTablePathScan_clear_col_min(pg_query_JsonTablePathScan* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonTablePathScan_col_min(const pg_query_JsonTablePathScan* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonTablePathScan_clear_col_max(pg_query_JsonTablePathScan* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonTablePathScan_col_max(const pg_query_JsonTablePathScan* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonTablePathScan_set_plan(pg_query_JsonTablePathScan* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonTablePathScan_mutable_plan( + pg_query_JsonTablePathScan* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonTablePathScan_plan(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonTablePathScan_set_plan(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTablePathScan_set_path(pg_query_JsonTablePathScan* msg, pg_query_JsonTablePath* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePath_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonTablePath* pg_query_JsonTablePathScan_mutable_path( + pg_query_JsonTablePathScan* msg, upb_Arena* arena) { + struct pg_query_JsonTablePath* sub = (struct pg_query_JsonTablePath*)pg_query_JsonTablePathScan_path(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonTablePath*)_upb_Message_New(&pg_0query__JsonTablePath_msg_init, arena); + if (sub) pg_query_JsonTablePathScan_set_path(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTablePathScan_set_error_on_error(pg_query_JsonTablePathScan* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonTablePathScan_set_child(pg_query_JsonTablePathScan* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 66, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonTablePathScan_mutable_child( + pg_query_JsonTablePathScan* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonTablePathScan_child(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonTablePathScan_set_child(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTablePathScan_set_col_min(pg_query_JsonTablePathScan* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonTablePathScan_set_col_max(pg_query_JsonTablePathScan* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonTableSiblingJoin */ +UPB_INLINE pg_query_JsonTableSiblingJoin* pg_query_JsonTableSiblingJoin_new(upb_Arena* arena) { + return (pg_query_JsonTableSiblingJoin*)_upb_Message_New(&pg_0query__JsonTableSiblingJoin_msg_init, arena); +} +UPB_INLINE pg_query_JsonTableSiblingJoin* pg_query_JsonTableSiblingJoin_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonTableSiblingJoin* ret = pg_query_JsonTableSiblingJoin_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTableSiblingJoin_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonTableSiblingJoin* pg_query_JsonTableSiblingJoin_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonTableSiblingJoin* ret = pg_query_JsonTableSiblingJoin_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTableSiblingJoin_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonTableSiblingJoin_serialize(const pg_query_JsonTableSiblingJoin* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTableSiblingJoin_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonTableSiblingJoin_serialize_ex(const pg_query_JsonTableSiblingJoin* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTableSiblingJoin_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonTableSiblingJoin_clear_plan(pg_query_JsonTableSiblingJoin* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonTableSiblingJoin_plan(const pg_query_JsonTableSiblingJoin* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTableSiblingJoin_has_plan(const pg_query_JsonTableSiblingJoin* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTableSiblingJoin_clear_lplan(pg_query_JsonTableSiblingJoin* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonTableSiblingJoin_lplan(const pg_query_JsonTableSiblingJoin* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTableSiblingJoin_has_lplan(const pg_query_JsonTableSiblingJoin* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTableSiblingJoin_clear_rplan(pg_query_JsonTableSiblingJoin* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonTableSiblingJoin_rplan(const pg_query_JsonTableSiblingJoin* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTableSiblingJoin_has_rplan(const pg_query_JsonTableSiblingJoin* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_JsonTableSiblingJoin_set_plan(pg_query_JsonTableSiblingJoin* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonTableSiblingJoin_mutable_plan( + pg_query_JsonTableSiblingJoin* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonTableSiblingJoin_plan(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonTableSiblingJoin_set_plan(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTableSiblingJoin_set_lplan(pg_query_JsonTableSiblingJoin* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonTableSiblingJoin_mutable_lplan( + pg_query_JsonTableSiblingJoin* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonTableSiblingJoin_lplan(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonTableSiblingJoin_set_lplan(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTableSiblingJoin_set_rplan(pg_query_JsonTableSiblingJoin* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonTableSiblingJoin_mutable_rplan( + pg_query_JsonTableSiblingJoin* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonTableSiblingJoin_rplan(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonTableSiblingJoin_set_rplan(msg, sub); + } + return sub; +} + +/* pg_query.NullTest */ +UPB_INLINE pg_query_NullTest* pg_query_NullTest_new(upb_Arena* arena) { + return (pg_query_NullTest*)_upb_Message_New(&pg_0query__NullTest_msg_init, arena); +} +UPB_INLINE pg_query_NullTest* pg_query_NullTest_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_NullTest* ret = pg_query_NullTest_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__NullTest_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_NullTest* pg_query_NullTest_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_NullTest* ret = pg_query_NullTest_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__NullTest_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_NullTest_serialize(const pg_query_NullTest* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__NullTest_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_NullTest_serialize_ex(const pg_query_NullTest* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__NullTest_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_NullTest_clear_xpr(pg_query_NullTest* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_NullTest_xpr(const pg_query_NullTest* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_NullTest_has_xpr(const pg_query_NullTest* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_NullTest_clear_arg(pg_query_NullTest* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_NullTest_arg(const pg_query_NullTest* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_NullTest_has_arg(const pg_query_NullTest* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_NullTest_clear_nulltesttype(pg_query_NullTest* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_NullTest_nulltesttype(const pg_query_NullTest* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NullTest_clear_argisrow(pg_query_NullTest* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_NullTest_argisrow(const pg_query_NullTest* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NullTest_clear_location(pg_query_NullTest* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_NullTest_location(const pg_query_NullTest* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_NullTest_set_xpr(pg_query_NullTest* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_NullTest_mutable_xpr( + pg_query_NullTest* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_NullTest_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_NullTest_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_NullTest_set_arg(pg_query_NullTest* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_NullTest_mutable_arg( + pg_query_NullTest* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_NullTest_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_NullTest_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_NullTest_set_nulltesttype(pg_query_NullTest* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NullTest_set_argisrow(pg_query_NullTest* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NullTest_set_location(pg_query_NullTest* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.BooleanTest */ +UPB_INLINE pg_query_BooleanTest* pg_query_BooleanTest_new(upb_Arena* arena) { + return (pg_query_BooleanTest*)_upb_Message_New(&pg_0query__BooleanTest_msg_init, arena); +} +UPB_INLINE pg_query_BooleanTest* pg_query_BooleanTest_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_BooleanTest* ret = pg_query_BooleanTest_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__BooleanTest_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_BooleanTest* pg_query_BooleanTest_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_BooleanTest* ret = pg_query_BooleanTest_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__BooleanTest_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_BooleanTest_serialize(const pg_query_BooleanTest* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__BooleanTest_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_BooleanTest_serialize_ex(const pg_query_BooleanTest* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__BooleanTest_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_BooleanTest_clear_xpr(pg_query_BooleanTest* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_BooleanTest_xpr(const pg_query_BooleanTest* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_BooleanTest_has_xpr(const pg_query_BooleanTest* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_BooleanTest_clear_arg(pg_query_BooleanTest* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_BooleanTest_arg(const pg_query_BooleanTest* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_BooleanTest_has_arg(const pg_query_BooleanTest* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_BooleanTest_clear_booltesttype(pg_query_BooleanTest* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_BooleanTest_booltesttype(const pg_query_BooleanTest* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_BooleanTest_clear_location(pg_query_BooleanTest* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_BooleanTest_location(const pg_query_BooleanTest* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_BooleanTest_set_xpr(pg_query_BooleanTest* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_BooleanTest_mutable_xpr( + pg_query_BooleanTest* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_BooleanTest_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_BooleanTest_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_BooleanTest_set_arg(pg_query_BooleanTest* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_BooleanTest_mutable_arg( + pg_query_BooleanTest* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_BooleanTest_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_BooleanTest_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_BooleanTest_set_booltesttype(pg_query_BooleanTest* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_BooleanTest_set_location(pg_query_BooleanTest* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.MergeAction */ +UPB_INLINE pg_query_MergeAction* pg_query_MergeAction_new(upb_Arena* arena) { + return (pg_query_MergeAction*)_upb_Message_New(&pg_0query__MergeAction_msg_init, arena); +} +UPB_INLINE pg_query_MergeAction* pg_query_MergeAction_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_MergeAction* ret = pg_query_MergeAction_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MergeAction_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_MergeAction* pg_query_MergeAction_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_MergeAction* ret = pg_query_MergeAction_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MergeAction_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_MergeAction_serialize(const pg_query_MergeAction* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MergeAction_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_MergeAction_serialize_ex(const pg_query_MergeAction* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MergeAction_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_MergeAction_clear_match_kind(pg_query_MergeAction* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MergeAction_match_kind(const pg_query_MergeAction* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MergeAction_clear_command_type(pg_query_MergeAction* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MergeAction_command_type(const pg_query_MergeAction* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MergeAction_clear_override(pg_query_MergeAction* msg) { + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MergeAction_override(const pg_query_MergeAction* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MergeAction_clear_qual(pg_query_MergeAction* msg) { + const upb_MiniTableField field = {4, 24, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_MergeAction_qual(const pg_query_MergeAction* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, 24, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_MergeAction_has_qual(const pg_query_MergeAction* msg) { + const upb_MiniTableField field = {4, 24, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_MergeAction_clear_target_list(pg_query_MergeAction* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_MergeAction_target_list(const pg_query_MergeAction* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_MergeAction_target_list_upb_array( + const pg_query_MergeAction* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_MergeAction_target_list_mutable_upb_array( + pg_query_MergeAction* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_MergeAction_clear_update_colnos(pg_query_MergeAction* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_MergeAction_update_colnos(const pg_query_MergeAction* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_MergeAction_update_colnos_upb_array( + const pg_query_MergeAction* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_MergeAction_update_colnos_mutable_upb_array( + pg_query_MergeAction* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_MergeAction_set_match_kind(pg_query_MergeAction* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MergeAction_set_command_type(pg_query_MergeAction* msg, int32_t value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MergeAction_set_override(pg_query_MergeAction* msg, int32_t value) { + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MergeAction_set_qual(pg_query_MergeAction* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, 24, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_MergeAction_mutable_qual( + pg_query_MergeAction* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_MergeAction_qual(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_MergeAction_set_qual(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_MergeAction_mutable_target_list(pg_query_MergeAction* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_MergeAction_resize_target_list(pg_query_MergeAction* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_MergeAction_add_target_list( + pg_query_MergeAction* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_MergeAction_mutable_update_colnos(pg_query_MergeAction* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_MergeAction_resize_update_colnos(pg_query_MergeAction* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_MergeAction_add_update_colnos( + pg_query_MergeAction* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CoerceToDomain */ +UPB_INLINE pg_query_CoerceToDomain* pg_query_CoerceToDomain_new(upb_Arena* arena) { + return (pg_query_CoerceToDomain*)_upb_Message_New(&pg_0query__CoerceToDomain_msg_init, arena); +} +UPB_INLINE pg_query_CoerceToDomain* pg_query_CoerceToDomain_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CoerceToDomain* ret = pg_query_CoerceToDomain_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CoerceToDomain_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CoerceToDomain* pg_query_CoerceToDomain_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CoerceToDomain* ret = pg_query_CoerceToDomain_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CoerceToDomain_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CoerceToDomain_serialize(const pg_query_CoerceToDomain* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CoerceToDomain_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CoerceToDomain_serialize_ex(const pg_query_CoerceToDomain* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CoerceToDomain_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CoerceToDomain_clear_xpr(pg_query_CoerceToDomain* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CoerceToDomain_xpr(const pg_query_CoerceToDomain* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CoerceToDomain_has_xpr(const pg_query_CoerceToDomain* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CoerceToDomain_clear_arg(pg_query_CoerceToDomain* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CoerceToDomain_arg(const pg_query_CoerceToDomain* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CoerceToDomain_has_arg(const pg_query_CoerceToDomain* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CoerceToDomain_clear_resulttype(pg_query_CoerceToDomain* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CoerceToDomain_resulttype(const pg_query_CoerceToDomain* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoerceToDomain_clear_resulttypmod(pg_query_CoerceToDomain* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CoerceToDomain_resulttypmod(const pg_query_CoerceToDomain* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoerceToDomain_clear_resultcollid(pg_query_CoerceToDomain* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CoerceToDomain_resultcollid(const pg_query_CoerceToDomain* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoerceToDomain_clear_coercionformat(pg_query_CoerceToDomain* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CoerceToDomain_coercionformat(const pg_query_CoerceToDomain* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoerceToDomain_clear_location(pg_query_CoerceToDomain* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CoerceToDomain_location(const pg_query_CoerceToDomain* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CoerceToDomain_set_xpr(pg_query_CoerceToDomain* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CoerceToDomain_mutable_xpr( + pg_query_CoerceToDomain* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CoerceToDomain_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CoerceToDomain_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CoerceToDomain_set_arg(pg_query_CoerceToDomain* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CoerceToDomain_mutable_arg( + pg_query_CoerceToDomain* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CoerceToDomain_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CoerceToDomain_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CoerceToDomain_set_resulttype(pg_query_CoerceToDomain* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoerceToDomain_set_resulttypmod(pg_query_CoerceToDomain* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoerceToDomain_set_resultcollid(pg_query_CoerceToDomain* msg, uint32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoerceToDomain_set_coercionformat(pg_query_CoerceToDomain* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoerceToDomain_set_location(pg_query_CoerceToDomain* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CoerceToDomainValue */ +UPB_INLINE pg_query_CoerceToDomainValue* pg_query_CoerceToDomainValue_new(upb_Arena* arena) { + return (pg_query_CoerceToDomainValue*)_upb_Message_New(&pg_0query__CoerceToDomainValue_msg_init, arena); +} +UPB_INLINE pg_query_CoerceToDomainValue* pg_query_CoerceToDomainValue_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CoerceToDomainValue* ret = pg_query_CoerceToDomainValue_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CoerceToDomainValue_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CoerceToDomainValue* pg_query_CoerceToDomainValue_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CoerceToDomainValue* ret = pg_query_CoerceToDomainValue_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CoerceToDomainValue_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CoerceToDomainValue_serialize(const pg_query_CoerceToDomainValue* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CoerceToDomainValue_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CoerceToDomainValue_serialize_ex(const pg_query_CoerceToDomainValue* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CoerceToDomainValue_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CoerceToDomainValue_clear_xpr(pg_query_CoerceToDomainValue* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CoerceToDomainValue_xpr(const pg_query_CoerceToDomainValue* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CoerceToDomainValue_has_xpr(const pg_query_CoerceToDomainValue* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CoerceToDomainValue_clear_type_id(pg_query_CoerceToDomainValue* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CoerceToDomainValue_type_id(const pg_query_CoerceToDomainValue* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoerceToDomainValue_clear_type_mod(pg_query_CoerceToDomainValue* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CoerceToDomainValue_type_mod(const pg_query_CoerceToDomainValue* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoerceToDomainValue_clear_collation(pg_query_CoerceToDomainValue* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CoerceToDomainValue_collation(const pg_query_CoerceToDomainValue* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CoerceToDomainValue_clear_location(pg_query_CoerceToDomainValue* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CoerceToDomainValue_location(const pg_query_CoerceToDomainValue* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CoerceToDomainValue_set_xpr(pg_query_CoerceToDomainValue* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CoerceToDomainValue_mutable_xpr( + pg_query_CoerceToDomainValue* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CoerceToDomainValue_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CoerceToDomainValue_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CoerceToDomainValue_set_type_id(pg_query_CoerceToDomainValue* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoerceToDomainValue_set_type_mod(pg_query_CoerceToDomainValue* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoerceToDomainValue_set_collation(pg_query_CoerceToDomainValue* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CoerceToDomainValue_set_location(pg_query_CoerceToDomainValue* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SetToDefault */ +UPB_INLINE pg_query_SetToDefault* pg_query_SetToDefault_new(upb_Arena* arena) { + return (pg_query_SetToDefault*)_upb_Message_New(&pg_0query__SetToDefault_msg_init, arena); +} +UPB_INLINE pg_query_SetToDefault* pg_query_SetToDefault_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SetToDefault* ret = pg_query_SetToDefault_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SetToDefault_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SetToDefault* pg_query_SetToDefault_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SetToDefault* ret = pg_query_SetToDefault_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SetToDefault_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SetToDefault_serialize(const pg_query_SetToDefault* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SetToDefault_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SetToDefault_serialize_ex(const pg_query_SetToDefault* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SetToDefault_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SetToDefault_clear_xpr(pg_query_SetToDefault* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SetToDefault_xpr(const pg_query_SetToDefault* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SetToDefault_has_xpr(const pg_query_SetToDefault* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SetToDefault_clear_type_id(pg_query_SetToDefault* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SetToDefault_type_id(const pg_query_SetToDefault* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SetToDefault_clear_type_mod(pg_query_SetToDefault* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SetToDefault_type_mod(const pg_query_SetToDefault* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SetToDefault_clear_collation(pg_query_SetToDefault* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SetToDefault_collation(const pg_query_SetToDefault* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SetToDefault_clear_location(pg_query_SetToDefault* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SetToDefault_location(const pg_query_SetToDefault* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_SetToDefault_set_xpr(pg_query_SetToDefault* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SetToDefault_mutable_xpr( + pg_query_SetToDefault* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SetToDefault_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SetToDefault_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SetToDefault_set_type_id(pg_query_SetToDefault* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SetToDefault_set_type_mod(pg_query_SetToDefault* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SetToDefault_set_collation(pg_query_SetToDefault* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SetToDefault_set_location(pg_query_SetToDefault* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CurrentOfExpr */ +UPB_INLINE pg_query_CurrentOfExpr* pg_query_CurrentOfExpr_new(upb_Arena* arena) { + return (pg_query_CurrentOfExpr*)_upb_Message_New(&pg_0query__CurrentOfExpr_msg_init, arena); +} +UPB_INLINE pg_query_CurrentOfExpr* pg_query_CurrentOfExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CurrentOfExpr* ret = pg_query_CurrentOfExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CurrentOfExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CurrentOfExpr* pg_query_CurrentOfExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CurrentOfExpr* ret = pg_query_CurrentOfExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CurrentOfExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CurrentOfExpr_serialize(const pg_query_CurrentOfExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CurrentOfExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CurrentOfExpr_serialize_ex(const pg_query_CurrentOfExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CurrentOfExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CurrentOfExpr_clear_xpr(pg_query_CurrentOfExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CurrentOfExpr_xpr(const pg_query_CurrentOfExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CurrentOfExpr_has_xpr(const pg_query_CurrentOfExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CurrentOfExpr_clear_cvarno(pg_query_CurrentOfExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CurrentOfExpr_cvarno(const pg_query_CurrentOfExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CurrentOfExpr_clear_cursor_name(pg_query_CurrentOfExpr* msg) { + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CurrentOfExpr_cursor_name(const pg_query_CurrentOfExpr* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CurrentOfExpr_clear_cursor_param(pg_query_CurrentOfExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CurrentOfExpr_cursor_param(const pg_query_CurrentOfExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CurrentOfExpr_set_xpr(pg_query_CurrentOfExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CurrentOfExpr_mutable_xpr( + pg_query_CurrentOfExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CurrentOfExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CurrentOfExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CurrentOfExpr_set_cvarno(pg_query_CurrentOfExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CurrentOfExpr_set_cursor_name(pg_query_CurrentOfExpr* msg, upb_StringView value) { + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CurrentOfExpr_set_cursor_param(pg_query_CurrentOfExpr* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.NextValueExpr */ +UPB_INLINE pg_query_NextValueExpr* pg_query_NextValueExpr_new(upb_Arena* arena) { + return (pg_query_NextValueExpr*)_upb_Message_New(&pg_0query__NextValueExpr_msg_init, arena); +} +UPB_INLINE pg_query_NextValueExpr* pg_query_NextValueExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_NextValueExpr* ret = pg_query_NextValueExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__NextValueExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_NextValueExpr* pg_query_NextValueExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_NextValueExpr* ret = pg_query_NextValueExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__NextValueExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_NextValueExpr_serialize(const pg_query_NextValueExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__NextValueExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_NextValueExpr_serialize_ex(const pg_query_NextValueExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__NextValueExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_NextValueExpr_clear_xpr(pg_query_NextValueExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_NextValueExpr_xpr(const pg_query_NextValueExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_NextValueExpr_has_xpr(const pg_query_NextValueExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_NextValueExpr_clear_seqid(pg_query_NextValueExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_NextValueExpr_seqid(const pg_query_NextValueExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NextValueExpr_clear_type_id(pg_query_NextValueExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_NextValueExpr_type_id(const pg_query_NextValueExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_NextValueExpr_set_xpr(pg_query_NextValueExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_NextValueExpr_mutable_xpr( + pg_query_NextValueExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_NextValueExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_NextValueExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_NextValueExpr_set_seqid(pg_query_NextValueExpr* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NextValueExpr_set_type_id(pg_query_NextValueExpr* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.InferenceElem */ +UPB_INLINE pg_query_InferenceElem* pg_query_InferenceElem_new(upb_Arena* arena) { + return (pg_query_InferenceElem*)_upb_Message_New(&pg_0query__InferenceElem_msg_init, arena); +} +UPB_INLINE pg_query_InferenceElem* pg_query_InferenceElem_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_InferenceElem* ret = pg_query_InferenceElem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__InferenceElem_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_InferenceElem* pg_query_InferenceElem_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_InferenceElem* ret = pg_query_InferenceElem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__InferenceElem_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_InferenceElem_serialize(const pg_query_InferenceElem* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__InferenceElem_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_InferenceElem_serialize_ex(const pg_query_InferenceElem* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__InferenceElem_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_InferenceElem_clear_xpr(pg_query_InferenceElem* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_InferenceElem_xpr(const pg_query_InferenceElem* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_InferenceElem_has_xpr(const pg_query_InferenceElem* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_InferenceElem_clear_expr(pg_query_InferenceElem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_InferenceElem_expr(const pg_query_InferenceElem* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_InferenceElem_has_expr(const pg_query_InferenceElem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_InferenceElem_clear_infercollid(pg_query_InferenceElem* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_InferenceElem_infercollid(const pg_query_InferenceElem* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_InferenceElem_clear_inferopclass(pg_query_InferenceElem* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_InferenceElem_inferopclass(const pg_query_InferenceElem* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_InferenceElem_set_xpr(pg_query_InferenceElem* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_InferenceElem_mutable_xpr( + pg_query_InferenceElem* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_InferenceElem_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_InferenceElem_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_InferenceElem_set_expr(pg_query_InferenceElem* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_InferenceElem_mutable_expr( + pg_query_InferenceElem* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_InferenceElem_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_InferenceElem_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_InferenceElem_set_infercollid(pg_query_InferenceElem* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_InferenceElem_set_inferopclass(pg_query_InferenceElem* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ReturningExpr */ +UPB_INLINE pg_query_ReturningExpr* pg_query_ReturningExpr_new(upb_Arena* arena) { + return (pg_query_ReturningExpr*)_upb_Message_New(&pg_0query__ReturningExpr_msg_init, arena); +} +UPB_INLINE pg_query_ReturningExpr* pg_query_ReturningExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ReturningExpr* ret = pg_query_ReturningExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReturningExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ReturningExpr* pg_query_ReturningExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ReturningExpr* ret = pg_query_ReturningExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReturningExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ReturningExpr_serialize(const pg_query_ReturningExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReturningExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ReturningExpr_serialize_ex(const pg_query_ReturningExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReturningExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ReturningExpr_clear_xpr(pg_query_ReturningExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ReturningExpr_xpr(const pg_query_ReturningExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ReturningExpr_has_xpr(const pg_query_ReturningExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ReturningExpr_clear_retlevelsup(pg_query_ReturningExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ReturningExpr_retlevelsup(const pg_query_ReturningExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ReturningExpr_clear_retold(pg_query_ReturningExpr* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ReturningExpr_retold(const pg_query_ReturningExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ReturningExpr_clear_retexpr(pg_query_ReturningExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ReturningExpr_retexpr(const pg_query_ReturningExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ReturningExpr_has_retexpr(const pg_query_ReturningExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_ReturningExpr_set_xpr(pg_query_ReturningExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ReturningExpr_mutable_xpr( + pg_query_ReturningExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ReturningExpr_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ReturningExpr_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ReturningExpr_set_retlevelsup(pg_query_ReturningExpr* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ReturningExpr_set_retold(pg_query_ReturningExpr* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ReturningExpr_set_retexpr(pg_query_ReturningExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ReturningExpr_mutable_retexpr( + pg_query_ReturningExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ReturningExpr_retexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ReturningExpr_set_retexpr(msg, sub); + } + return sub; +} + +/* pg_query.TargetEntry */ +UPB_INLINE pg_query_TargetEntry* pg_query_TargetEntry_new(upb_Arena* arena) { + return (pg_query_TargetEntry*)_upb_Message_New(&pg_0query__TargetEntry_msg_init, arena); +} +UPB_INLINE pg_query_TargetEntry* pg_query_TargetEntry_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_TargetEntry* ret = pg_query_TargetEntry_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TargetEntry_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_TargetEntry* pg_query_TargetEntry_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_TargetEntry* ret = pg_query_TargetEntry_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TargetEntry_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_TargetEntry_serialize(const pg_query_TargetEntry* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TargetEntry_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_TargetEntry_serialize_ex(const pg_query_TargetEntry* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TargetEntry_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_TargetEntry_clear_xpr(pg_query_TargetEntry* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_TargetEntry_xpr(const pg_query_TargetEntry* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_TargetEntry_has_xpr(const pg_query_TargetEntry* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_TargetEntry_clear_expr(pg_query_TargetEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_TargetEntry_expr(const pg_query_TargetEntry* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_TargetEntry_has_expr(const pg_query_TargetEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_TargetEntry_clear_resno(pg_query_TargetEntry* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TargetEntry_resno(const pg_query_TargetEntry* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TargetEntry_clear_resname(pg_query_TargetEntry* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_TargetEntry_resname(const pg_query_TargetEntry* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TargetEntry_clear_ressortgroupref(pg_query_TargetEntry* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_TargetEntry_ressortgroupref(const pg_query_TargetEntry* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TargetEntry_clear_resorigtbl(pg_query_TargetEntry* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_TargetEntry_resorigtbl(const pg_query_TargetEntry* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TargetEntry_clear_resorigcol(pg_query_TargetEntry* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TargetEntry_resorigcol(const pg_query_TargetEntry* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TargetEntry_clear_resjunk(pg_query_TargetEntry* msg) { + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_TargetEntry_resjunk(const pg_query_TargetEntry* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_TargetEntry_set_xpr(pg_query_TargetEntry* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_TargetEntry_mutable_xpr( + pg_query_TargetEntry* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_TargetEntry_xpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_TargetEntry_set_xpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_TargetEntry_set_expr(pg_query_TargetEntry* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_TargetEntry_mutable_expr( + pg_query_TargetEntry* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_TargetEntry_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_TargetEntry_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_TargetEntry_set_resno(pg_query_TargetEntry* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TargetEntry_set_resname(pg_query_TargetEntry* msg, upb_StringView value) { + const upb_MiniTableField field = {4, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TargetEntry_set_ressortgroupref(pg_query_TargetEntry* msg, uint32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TargetEntry_set_resorigtbl(pg_query_TargetEntry* msg, uint32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TargetEntry_set_resorigcol(pg_query_TargetEntry* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TargetEntry_set_resjunk(pg_query_TargetEntry* msg, bool value) { + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RangeTblRef */ +UPB_INLINE pg_query_RangeTblRef* pg_query_RangeTblRef_new(upb_Arena* arena) { + return (pg_query_RangeTblRef*)_upb_Message_New(&pg_0query__RangeTblRef_msg_init, arena); +} +UPB_INLINE pg_query_RangeTblRef* pg_query_RangeTblRef_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RangeTblRef* ret = pg_query_RangeTblRef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTblRef_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RangeTblRef* pg_query_RangeTblRef_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RangeTblRef* ret = pg_query_RangeTblRef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTblRef_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RangeTblRef_serialize(const pg_query_RangeTblRef* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTblRef_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RangeTblRef_serialize_ex(const pg_query_RangeTblRef* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTblRef_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RangeTblRef_clear_rtindex(pg_query_RangeTblRef* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RangeTblRef_rtindex(const pg_query_RangeTblRef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RangeTblRef_set_rtindex(pg_query_RangeTblRef* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JoinExpr */ +UPB_INLINE pg_query_JoinExpr* pg_query_JoinExpr_new(upb_Arena* arena) { + return (pg_query_JoinExpr*)_upb_Message_New(&pg_0query__JoinExpr_msg_init, arena); +} +UPB_INLINE pg_query_JoinExpr* pg_query_JoinExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JoinExpr* ret = pg_query_JoinExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JoinExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JoinExpr* pg_query_JoinExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JoinExpr* ret = pg_query_JoinExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JoinExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JoinExpr_serialize(const pg_query_JoinExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JoinExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JoinExpr_serialize_ex(const pg_query_JoinExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JoinExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JoinExpr_clear_jointype(pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JoinExpr_jointype(const pg_query_JoinExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JoinExpr_clear_is_natural(pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {2, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JoinExpr_is_natural(const pg_query_JoinExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JoinExpr_clear_larg(pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JoinExpr_larg(const pg_query_JoinExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JoinExpr_has_larg(const pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JoinExpr_clear_rarg(pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JoinExpr_rarg(const pg_query_JoinExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JoinExpr_has_rarg(const pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JoinExpr_clear_using_clause(pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JoinExpr_using_clause(const pg_query_JoinExpr* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JoinExpr_using_clause_upb_array( + const pg_query_JoinExpr* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JoinExpr_using_clause_mutable_upb_array( + pg_query_JoinExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JoinExpr_clear_join_using_alias(pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_JoinExpr_join_using_alias(const pg_query_JoinExpr* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JoinExpr_has_join_using_alias(const pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JoinExpr_clear_quals(pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 56), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JoinExpr_quals(const pg_query_JoinExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 56), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JoinExpr_has_quals(const pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 56), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JoinExpr_clear_alias(pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 64), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_JoinExpr_alias(const pg_query_JoinExpr* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 64), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JoinExpr_has_alias(const pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 64), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JoinExpr_clear_rtindex(pg_query_JoinExpr* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JoinExpr_rtindex(const pg_query_JoinExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(40, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JoinExpr_set_jointype(pg_query_JoinExpr* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JoinExpr_set_is_natural(pg_query_JoinExpr* msg, bool value) { + const upb_MiniTableField field = {2, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JoinExpr_set_larg(pg_query_JoinExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JoinExpr_mutable_larg( + pg_query_JoinExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JoinExpr_larg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JoinExpr_set_larg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JoinExpr_set_rarg(pg_query_JoinExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JoinExpr_mutable_rarg( + pg_query_JoinExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JoinExpr_rarg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JoinExpr_set_rarg(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_JoinExpr_mutable_using_clause(pg_query_JoinExpr* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JoinExpr_resize_using_clause(pg_query_JoinExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JoinExpr_add_using_clause( + pg_query_JoinExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_JoinExpr_set_join_using_alias(pg_query_JoinExpr* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_JoinExpr_mutable_join_using_alias( + pg_query_JoinExpr* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_JoinExpr_join_using_alias(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_JoinExpr_set_join_using_alias(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JoinExpr_set_quals(pg_query_JoinExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 56), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JoinExpr_mutable_quals( + pg_query_JoinExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JoinExpr_quals(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JoinExpr_set_quals(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JoinExpr_set_alias(pg_query_JoinExpr* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 64), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_JoinExpr_mutable_alias( + pg_query_JoinExpr* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_JoinExpr_alias(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_JoinExpr_set_alias(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JoinExpr_set_rtindex(pg_query_JoinExpr* msg, int32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.FromExpr */ +UPB_INLINE pg_query_FromExpr* pg_query_FromExpr_new(upb_Arena* arena) { + return (pg_query_FromExpr*)_upb_Message_New(&pg_0query__FromExpr_msg_init, arena); +} +UPB_INLINE pg_query_FromExpr* pg_query_FromExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_FromExpr* ret = pg_query_FromExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FromExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_FromExpr* pg_query_FromExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_FromExpr* ret = pg_query_FromExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FromExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_FromExpr_serialize(const pg_query_FromExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FromExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_FromExpr_serialize_ex(const pg_query_FromExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FromExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_FromExpr_clear_fromlist(pg_query_FromExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_FromExpr_fromlist(const pg_query_FromExpr* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_FromExpr_fromlist_upb_array( + const pg_query_FromExpr* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_FromExpr_fromlist_mutable_upb_array( + pg_query_FromExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_FromExpr_clear_quals(pg_query_FromExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_FromExpr_quals(const pg_query_FromExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_FromExpr_has_quals(const pg_query_FromExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE pg_query_Node** pg_query_FromExpr_mutable_fromlist(pg_query_FromExpr* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_FromExpr_resize_fromlist(pg_query_FromExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_FromExpr_add_fromlist( + pg_query_FromExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_FromExpr_set_quals(pg_query_FromExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_FromExpr_mutable_quals( + pg_query_FromExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_FromExpr_quals(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_FromExpr_set_quals(msg, sub); + } + return sub; +} + +/* pg_query.OnConflictExpr */ +UPB_INLINE pg_query_OnConflictExpr* pg_query_OnConflictExpr_new(upb_Arena* arena) { + return (pg_query_OnConflictExpr*)_upb_Message_New(&pg_0query__OnConflictExpr_msg_init, arena); +} +UPB_INLINE pg_query_OnConflictExpr* pg_query_OnConflictExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_OnConflictExpr* ret = pg_query_OnConflictExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__OnConflictExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_OnConflictExpr* pg_query_OnConflictExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_OnConflictExpr* ret = pg_query_OnConflictExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__OnConflictExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_OnConflictExpr_serialize(const pg_query_OnConflictExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__OnConflictExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_OnConflictExpr_serialize_ex(const pg_query_OnConflictExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__OnConflictExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_OnConflictExpr_clear_action(pg_query_OnConflictExpr* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_OnConflictExpr_action(const pg_query_OnConflictExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_OnConflictExpr_clear_arbiter_elems(pg_query_OnConflictExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 21, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_OnConflictExpr_arbiter_elems(const pg_query_OnConflictExpr* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 21, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_OnConflictExpr_arbiter_elems_upb_array( + const pg_query_OnConflictExpr* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 21, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_OnConflictExpr_arbiter_elems_mutable_upb_array( + pg_query_OnConflictExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 21, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_OnConflictExpr_clear_arbiter_where(pg_query_OnConflictExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 64, UPB_SIZE(19, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_OnConflictExpr_arbiter_where(const pg_query_OnConflictExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 64, UPB_SIZE(19, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_OnConflictExpr_has_arbiter_where(const pg_query_OnConflictExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 64, UPB_SIZE(19, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_OnConflictExpr_clear_constraint(pg_query_OnConflictExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_OnConflictExpr_constraint(const pg_query_OnConflictExpr* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_OnConflictExpr_clear_on_conflict_set(pg_query_OnConflictExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_OnConflictExpr_on_conflict_set(const pg_query_OnConflictExpr* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_OnConflictExpr_on_conflict_set_upb_array( + const pg_query_OnConflictExpr* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_OnConflictExpr_on_conflict_set_mutable_upb_array( + pg_query_OnConflictExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_OnConflictExpr_clear_on_conflict_where(pg_query_OnConflictExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 65, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_OnConflictExpr_on_conflict_where(const pg_query_OnConflictExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 65, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_OnConflictExpr_has_on_conflict_where(const pg_query_OnConflictExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 65, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_OnConflictExpr_clear_excl_rel_index(pg_query_OnConflictExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_OnConflictExpr_excl_rel_index(const pg_query_OnConflictExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_OnConflictExpr_clear_excl_rel_tlist(pg_query_OnConflictExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 56), 0, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_OnConflictExpr_excl_rel_tlist(const pg_query_OnConflictExpr* msg, + size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 56), 0, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_OnConflictExpr_excl_rel_tlist_upb_array( + const pg_query_OnConflictExpr* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 56), 0, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_OnConflictExpr_excl_rel_tlist_mutable_upb_array( + pg_query_OnConflictExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 56), 0, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_OnConflictExpr_set_action(pg_query_OnConflictExpr* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_OnConflictExpr_mutable_arbiter_elems(pg_query_OnConflictExpr* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 21, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_OnConflictExpr_resize_arbiter_elems(pg_query_OnConflictExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 21, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_OnConflictExpr_add_arbiter_elems( + pg_query_OnConflictExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, 21, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_OnConflictExpr_set_arbiter_where(pg_query_OnConflictExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 64, UPB_SIZE(19, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_OnConflictExpr_mutable_arbiter_where( + pg_query_OnConflictExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_OnConflictExpr_arbiter_where(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_OnConflictExpr_set_arbiter_where(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_OnConflictExpr_set_constraint(pg_query_OnConflictExpr* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_OnConflictExpr_mutable_on_conflict_set(pg_query_OnConflictExpr* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_OnConflictExpr_resize_on_conflict_set(pg_query_OnConflictExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_OnConflictExpr_add_on_conflict_set( + pg_query_OnConflictExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_OnConflictExpr_set_on_conflict_where(pg_query_OnConflictExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 65, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_OnConflictExpr_mutable_on_conflict_where( + pg_query_OnConflictExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_OnConflictExpr_on_conflict_where(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_OnConflictExpr_set_on_conflict_where(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_OnConflictExpr_set_excl_rel_index(pg_query_OnConflictExpr* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_OnConflictExpr_mutable_excl_rel_tlist(pg_query_OnConflictExpr* msg, + size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(40, 56), 0, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_OnConflictExpr_resize_excl_rel_tlist(pg_query_OnConflictExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 56), 0, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_OnConflictExpr_add_excl_rel_tlist( + pg_query_OnConflictExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 56), 0, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.Query */ +UPB_INLINE pg_query_Query* pg_query_Query_new(upb_Arena* arena) { + return (pg_query_Query*)_upb_Message_New(&pg_0query__Query_msg_init, arena); +} +UPB_INLINE pg_query_Query* pg_query_Query_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_Query* ret = pg_query_Query_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Query_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_Query* pg_query_Query_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_Query* ret = pg_query_Query_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Query_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_Query_serialize(const pg_query_Query* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Query_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_Query_serialize_ex(const pg_query_Query* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Query_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_Query_clear_command_type(pg_query_Query* msg) { + const upb_MiniTableField field = {1, 24, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Query_command_type(const pg_query_Query* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 24, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_query_source(pg_query_Query* msg) { + const upb_MiniTableField field = {2, 28, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Query_query_source(const pg_query_Query* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 28, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_can_set_tag(pg_query_Query* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_can_set_tag(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_utility_stmt(pg_query_Query* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(32, 88), 64, UPB_SIZE(126, 127), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Query_utility_stmt(const pg_query_Query* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(32, 88), 64, UPB_SIZE(126, 127), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Query_has_utility_stmt(const pg_query_Query* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(32, 88), 64, UPB_SIZE(126, 127), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Query_clear_result_relation(pg_query_Query* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(36, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Query_result_relation(const pg_query_Query* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(36, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_has_aggs(pg_query_Query* msg) { + const upb_MiniTableField field = {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_has_aggs(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_has_window_funcs(pg_query_Query* msg) { + const upb_MiniTableField field = {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_has_window_funcs(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_has_target_srfs(pg_query_Query* msg) { + const upb_MiniTableField field = {8, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_has_target_srfs(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_has_sub_links(pg_query_Query* msg) { + const upb_MiniTableField field = {9, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_has_sub_links(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {9, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_has_distinct_on(pg_query_Query* msg) { + const upb_MiniTableField field = {10, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_has_distinct_on(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {10, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_has_recursive(pg_query_Query* msg) { + const upb_MiniTableField field = {11, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_has_recursive(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {11, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_has_modifying_cte(pg_query_Query* msg) { + const upb_MiniTableField field = {12, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_has_modifying_cte(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {12, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_has_for_update(pg_query_Query* msg) { + const upb_MiniTableField field = {13, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_has_for_update(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {13, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_has_row_security(pg_query_Query* msg) { + const upb_MiniTableField field = {14, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_has_row_security(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {14, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_has_group_rte(pg_query_Query* msg) { + const upb_MiniTableField field = {15, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_has_group_rte(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {15, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_is_return(pg_query_Query* msg) { + const upb_MiniTableField field = {16, 20, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_is_return(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {16, 20, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_cte_list(pg_query_Query* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(40, 96), 0, UPB_SIZE(88, 90), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_cte_list(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {17, UPB_SIZE(40, 96), 0, UPB_SIZE(88, 90), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_cte_list_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {17, UPB_SIZE(40, 96), 0, UPB_SIZE(88, 90), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_cte_list_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {17, UPB_SIZE(40, 96), 0, UPB_SIZE(88, 90), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_rtable(pg_query_Query* msg) { + const upb_MiniTableField field = {18, UPB_SIZE(44, 104), 0, UPB_SIZE(86, 89), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_rtable(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {18, UPB_SIZE(44, 104), 0, UPB_SIZE(86, 89), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_rtable_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {18, UPB_SIZE(44, 104), 0, UPB_SIZE(86, 89), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_rtable_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {18, UPB_SIZE(44, 104), 0, UPB_SIZE(86, 89), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_rteperminfos(pg_query_Query* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(48, 112), 0, UPB_SIZE(84, 88), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_rteperminfos(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {19, UPB_SIZE(48, 112), 0, UPB_SIZE(84, 88), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_rteperminfos_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {19, UPB_SIZE(48, 112), 0, UPB_SIZE(84, 88), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_rteperminfos_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {19, UPB_SIZE(48, 112), 0, UPB_SIZE(84, 88), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_jointree(pg_query_Query* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(52, 120), 65, UPB_SIZE(82, 87), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_FromExpr* pg_query_Query_jointree(const pg_query_Query* msg) { + const pg_query_FromExpr* default_val = NULL; + const pg_query_FromExpr* ret; + const upb_MiniTableField field = {20, UPB_SIZE(52, 120), 65, UPB_SIZE(82, 87), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FromExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Query_has_jointree(const pg_query_Query* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(52, 120), 65, UPB_SIZE(82, 87), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Query_clear_merge_action_list(pg_query_Query* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(56, 128), 0, UPB_SIZE(80, 86), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_merge_action_list(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {21, UPB_SIZE(56, 128), 0, UPB_SIZE(80, 86), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_merge_action_list_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {21, UPB_SIZE(56, 128), 0, UPB_SIZE(80, 86), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_merge_action_list_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {21, UPB_SIZE(56, 128), 0, UPB_SIZE(80, 86), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_merge_target_relation(pg_query_Query* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(60, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Query_merge_target_relation(const pg_query_Query* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {22, UPB_SIZE(60, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_merge_join_condition(pg_query_Query* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(64, 136), 66, UPB_SIZE(75, 82), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Query_merge_join_condition(const pg_query_Query* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {23, UPB_SIZE(64, 136), 66, UPB_SIZE(75, 82), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Query_has_merge_join_condition(const pg_query_Query* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(64, 136), 66, UPB_SIZE(75, 82), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Query_clear_target_list(pg_query_Query* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(68, 144), 0, UPB_SIZE(73, 81), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_target_list(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {24, UPB_SIZE(68, 144), 0, UPB_SIZE(73, 81), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_target_list_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {24, UPB_SIZE(68, 144), 0, UPB_SIZE(73, 81), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_target_list_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {24, UPB_SIZE(68, 144), 0, UPB_SIZE(73, 81), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_override(pg_query_Query* msg) { + const upb_MiniTableField field = {25, UPB_SIZE(72, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Query_override(const pg_query_Query* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {25, UPB_SIZE(72, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_on_conflict(pg_query_Query* msg) { + const upb_MiniTableField field = {26, UPB_SIZE(76, 152), 67, UPB_SIZE(68, 77), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_OnConflictExpr* pg_query_Query_on_conflict(const pg_query_Query* msg) { + const pg_query_OnConflictExpr* default_val = NULL; + const pg_query_OnConflictExpr* ret; + const upb_MiniTableField field = {26, UPB_SIZE(76, 152), 67, UPB_SIZE(68, 77), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OnConflictExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Query_has_on_conflict(const pg_query_Query* msg) { + const upb_MiniTableField field = {26, UPB_SIZE(76, 152), 67, UPB_SIZE(68, 77), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Query_clear_returning_old_alias(pg_query_Query* msg) { + const upb_MiniTableField field = {27, UPB_SIZE(144, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Query_returning_old_alias(const pg_query_Query* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {27, UPB_SIZE(144, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_returning_new_alias(pg_query_Query* msg) { + const upb_MiniTableField field = {28, UPB_SIZE(152, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Query_returning_new_alias(const pg_query_Query* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {28, UPB_SIZE(152, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_returning_list(pg_query_Query* msg) { + const upb_MiniTableField field = {29, UPB_SIZE(80, 160), 0, UPB_SIZE(60, 70), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_returning_list(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {29, UPB_SIZE(80, 160), 0, UPB_SIZE(60, 70), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_returning_list_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {29, UPB_SIZE(80, 160), 0, UPB_SIZE(60, 70), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_returning_list_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {29, UPB_SIZE(80, 160), 0, UPB_SIZE(60, 70), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_group_clause(pg_query_Query* msg) { + const upb_MiniTableField field = {30, UPB_SIZE(84, 168), 0, UPB_SIZE(58, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_group_clause(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {30, UPB_SIZE(84, 168), 0, UPB_SIZE(58, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_group_clause_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {30, UPB_SIZE(84, 168), 0, UPB_SIZE(58, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_group_clause_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {30, UPB_SIZE(84, 168), 0, UPB_SIZE(58, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_group_distinct(pg_query_Query* msg) { + const upb_MiniTableField field = {31, 21, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Query_group_distinct(const pg_query_Query* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {31, 21, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_grouping_sets(pg_query_Query* msg) { + const upb_MiniTableField field = {32, UPB_SIZE(88, 176), 0, UPB_SIZE(53, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_grouping_sets(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {32, UPB_SIZE(88, 176), 0, UPB_SIZE(53, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_grouping_sets_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {32, UPB_SIZE(88, 176), 0, UPB_SIZE(53, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_grouping_sets_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {32, UPB_SIZE(88, 176), 0, UPB_SIZE(53, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_having_qual(pg_query_Query* msg) { + const upb_MiniTableField field = {33, UPB_SIZE(92, 184), 68, UPB_SIZE(51, 64), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Query_having_qual(const pg_query_Query* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {33, UPB_SIZE(92, 184), 68, UPB_SIZE(51, 64), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Query_has_having_qual(const pg_query_Query* msg) { + const upb_MiniTableField field = {33, UPB_SIZE(92, 184), 68, UPB_SIZE(51, 64), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Query_clear_window_clause(pg_query_Query* msg) { + const upb_MiniTableField field = {34, UPB_SIZE(96, 192), 0, UPB_SIZE(49, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_window_clause(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {34, UPB_SIZE(96, 192), 0, UPB_SIZE(49, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_window_clause_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {34, UPB_SIZE(96, 192), 0, UPB_SIZE(49, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_window_clause_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {34, UPB_SIZE(96, 192), 0, UPB_SIZE(49, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_distinct_clause(pg_query_Query* msg) { + const upb_MiniTableField field = {35, UPB_SIZE(100, 200), 0, UPB_SIZE(47, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_distinct_clause(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {35, UPB_SIZE(100, 200), 0, UPB_SIZE(47, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_distinct_clause_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {35, UPB_SIZE(100, 200), 0, UPB_SIZE(47, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_distinct_clause_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {35, UPB_SIZE(100, 200), 0, UPB_SIZE(47, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_sort_clause(pg_query_Query* msg) { + const upb_MiniTableField field = {36, UPB_SIZE(104, 208), 0, UPB_SIZE(45, 61), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_sort_clause(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {36, UPB_SIZE(104, 208), 0, UPB_SIZE(45, 61), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_sort_clause_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {36, UPB_SIZE(104, 208), 0, UPB_SIZE(45, 61), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_sort_clause_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {36, UPB_SIZE(104, 208), 0, UPB_SIZE(45, 61), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_limit_offset(pg_query_Query* msg) { + const upb_MiniTableField field = {37, UPB_SIZE(108, 216), 69, UPB_SIZE(43, 60), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Query_limit_offset(const pg_query_Query* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {37, UPB_SIZE(108, 216), 69, UPB_SIZE(43, 60), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Query_has_limit_offset(const pg_query_Query* msg) { + const upb_MiniTableField field = {37, UPB_SIZE(108, 216), 69, UPB_SIZE(43, 60), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Query_clear_limit_count(pg_query_Query* msg) { + const upb_MiniTableField field = {38, UPB_SIZE(112, 224), 70, UPB_SIZE(41, 59), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Query_limit_count(const pg_query_Query* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {38, UPB_SIZE(112, 224), 70, UPB_SIZE(41, 59), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Query_has_limit_count(const pg_query_Query* msg) { + const upb_MiniTableField field = {38, UPB_SIZE(112, 224), 70, UPB_SIZE(41, 59), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Query_clear_limit_option(pg_query_Query* msg) { + const upb_MiniTableField field = {39, UPB_SIZE(116, 44), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Query_limit_option(const pg_query_Query* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {39, UPB_SIZE(116, 44), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_row_marks(pg_query_Query* msg) { + const upb_MiniTableField field = {40, UPB_SIZE(120, 232), 0, UPB_SIZE(36, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_row_marks(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {40, UPB_SIZE(120, 232), 0, UPB_SIZE(36, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_row_marks_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {40, UPB_SIZE(120, 232), 0, UPB_SIZE(36, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_row_marks_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {40, UPB_SIZE(120, 232), 0, UPB_SIZE(36, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_set_operations(pg_query_Query* msg) { + const upb_MiniTableField field = {41, UPB_SIZE(124, 240), 71, UPB_SIZE(34, 54), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Query_set_operations(const pg_query_Query* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {41, UPB_SIZE(124, 240), 71, UPB_SIZE(34, 54), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Query_has_set_operations(const pg_query_Query* msg) { + const upb_MiniTableField field = {41, UPB_SIZE(124, 240), 71, UPB_SIZE(34, 54), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Query_clear_constraint_deps(pg_query_Query* msg) { + const upb_MiniTableField field = {42, UPB_SIZE(128, 248), 0, UPB_SIZE(32, 53), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_constraint_deps(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {42, UPB_SIZE(128, 248), 0, UPB_SIZE(32, 53), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_constraint_deps_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {42, UPB_SIZE(128, 248), 0, UPB_SIZE(32, 53), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_constraint_deps_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {42, UPB_SIZE(128, 248), 0, UPB_SIZE(32, 53), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_with_check_options(pg_query_Query* msg) { + const upb_MiniTableField field = {43, UPB_SIZE(132, 256), 0, UPB_SIZE(30, 52), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Query_with_check_options(const pg_query_Query* msg, + size_t* size) { + const upb_MiniTableField field = {43, UPB_SIZE(132, 256), 0, UPB_SIZE(30, 52), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Query_with_check_options_upb_array( + const pg_query_Query* msg, size_t* size) { + const upb_MiniTableField field = {43, UPB_SIZE(132, 256), 0, UPB_SIZE(30, 52), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Query_with_check_options_mutable_upb_array( + pg_query_Query* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {43, UPB_SIZE(132, 256), 0, UPB_SIZE(30, 52), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Query_clear_stmt_location(pg_query_Query* msg) { + const upb_MiniTableField field = {44, UPB_SIZE(136, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Query_stmt_location(const pg_query_Query* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {44, UPB_SIZE(136, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Query_clear_stmt_len(pg_query_Query* msg) { + const upb_MiniTableField field = {45, UPB_SIZE(140, 52), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Query_stmt_len(const pg_query_Query* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {45, UPB_SIZE(140, 52), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_Query_set_command_type(pg_query_Query* msg, int32_t value) { + const upb_MiniTableField field = {1, 24, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_query_source(pg_query_Query* msg, int32_t value) { + const upb_MiniTableField field = {2, 28, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_can_set_tag(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_utility_stmt(pg_query_Query* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(32, 88), 64, UPB_SIZE(126, 127), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_mutable_utility_stmt( + pg_query_Query* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Query_utility_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Query_set_utility_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Query_set_result_relation(pg_query_Query* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(36, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_has_aggs(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_has_window_funcs(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_has_target_srfs(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {8, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_has_sub_links(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {9, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_has_distinct_on(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {10, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_has_recursive(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {11, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_has_modifying_cte(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {12, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_has_for_update(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {13, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_has_row_security(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {14, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_has_group_rte(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {15, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_is_return(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {16, 20, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_cte_list(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {17, UPB_SIZE(40, 96), 0, UPB_SIZE(88, 90), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_cte_list(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {17, UPB_SIZE(40, 96), 0, UPB_SIZE(88, 90), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_cte_list( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {17, UPB_SIZE(40, 96), 0, UPB_SIZE(88, 90), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_rtable(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {18, UPB_SIZE(44, 104), 0, UPB_SIZE(86, 89), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_rtable(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {18, UPB_SIZE(44, 104), 0, UPB_SIZE(86, 89), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_rtable( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {18, UPB_SIZE(44, 104), 0, UPB_SIZE(86, 89), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_rteperminfos(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {19, UPB_SIZE(48, 112), 0, UPB_SIZE(84, 88), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_rteperminfos(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {19, UPB_SIZE(48, 112), 0, UPB_SIZE(84, 88), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_rteperminfos( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {19, UPB_SIZE(48, 112), 0, UPB_SIZE(84, 88), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Query_set_jointree(pg_query_Query* msg, pg_query_FromExpr* value) { + const upb_MiniTableField field = {20, UPB_SIZE(52, 120), 65, UPB_SIZE(82, 87), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FromExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_FromExpr* pg_query_Query_mutable_jointree( + pg_query_Query* msg, upb_Arena* arena) { + struct pg_query_FromExpr* sub = (struct pg_query_FromExpr*)pg_query_Query_jointree(msg); + if (sub == NULL) { + sub = (struct pg_query_FromExpr*)_upb_Message_New(&pg_0query__FromExpr_msg_init, arena); + if (sub) pg_query_Query_set_jointree(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_merge_action_list(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {21, UPB_SIZE(56, 128), 0, UPB_SIZE(80, 86), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_merge_action_list(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {21, UPB_SIZE(56, 128), 0, UPB_SIZE(80, 86), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_merge_action_list( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {21, UPB_SIZE(56, 128), 0, UPB_SIZE(80, 86), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Query_set_merge_target_relation(pg_query_Query* msg, int32_t value) { + const upb_MiniTableField field = {22, UPB_SIZE(60, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_merge_join_condition(pg_query_Query* msg, pg_query_Node* value) { + const upb_MiniTableField field = {23, UPB_SIZE(64, 136), 66, UPB_SIZE(75, 82), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_mutable_merge_join_condition( + pg_query_Query* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Query_merge_join_condition(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Query_set_merge_join_condition(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_target_list(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {24, UPB_SIZE(68, 144), 0, UPB_SIZE(73, 81), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_target_list(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {24, UPB_SIZE(68, 144), 0, UPB_SIZE(73, 81), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_target_list( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {24, UPB_SIZE(68, 144), 0, UPB_SIZE(73, 81), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Query_set_override(pg_query_Query* msg, int32_t value) { + const upb_MiniTableField field = {25, UPB_SIZE(72, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_on_conflict(pg_query_Query* msg, pg_query_OnConflictExpr* value) { + const upb_MiniTableField field = {26, UPB_SIZE(76, 152), 67, UPB_SIZE(68, 77), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OnConflictExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_OnConflictExpr* pg_query_Query_mutable_on_conflict( + pg_query_Query* msg, upb_Arena* arena) { + struct pg_query_OnConflictExpr* sub = (struct pg_query_OnConflictExpr*)pg_query_Query_on_conflict(msg); + if (sub == NULL) { + sub = (struct pg_query_OnConflictExpr*)_upb_Message_New(&pg_0query__OnConflictExpr_msg_init, arena); + if (sub) pg_query_Query_set_on_conflict(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Query_set_returning_old_alias(pg_query_Query* msg, upb_StringView value) { + const upb_MiniTableField field = {27, UPB_SIZE(144, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_returning_new_alias(pg_query_Query* msg, upb_StringView value) { + const upb_MiniTableField field = {28, UPB_SIZE(152, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_returning_list(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {29, UPB_SIZE(80, 160), 0, UPB_SIZE(60, 70), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_returning_list(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {29, UPB_SIZE(80, 160), 0, UPB_SIZE(60, 70), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_returning_list( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {29, UPB_SIZE(80, 160), 0, UPB_SIZE(60, 70), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_group_clause(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {30, UPB_SIZE(84, 168), 0, UPB_SIZE(58, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_group_clause(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {30, UPB_SIZE(84, 168), 0, UPB_SIZE(58, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_group_clause( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {30, UPB_SIZE(84, 168), 0, UPB_SIZE(58, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Query_set_group_distinct(pg_query_Query* msg, bool value) { + const upb_MiniTableField field = {31, 21, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_grouping_sets(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {32, UPB_SIZE(88, 176), 0, UPB_SIZE(53, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_grouping_sets(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {32, UPB_SIZE(88, 176), 0, UPB_SIZE(53, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_grouping_sets( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {32, UPB_SIZE(88, 176), 0, UPB_SIZE(53, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Query_set_having_qual(pg_query_Query* msg, pg_query_Node* value) { + const upb_MiniTableField field = {33, UPB_SIZE(92, 184), 68, UPB_SIZE(51, 64), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_mutable_having_qual( + pg_query_Query* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Query_having_qual(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Query_set_having_qual(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_window_clause(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {34, UPB_SIZE(96, 192), 0, UPB_SIZE(49, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_window_clause(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {34, UPB_SIZE(96, 192), 0, UPB_SIZE(49, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_window_clause( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {34, UPB_SIZE(96, 192), 0, UPB_SIZE(49, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_distinct_clause(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {35, UPB_SIZE(100, 200), 0, UPB_SIZE(47, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_distinct_clause(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {35, UPB_SIZE(100, 200), 0, UPB_SIZE(47, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_distinct_clause( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {35, UPB_SIZE(100, 200), 0, UPB_SIZE(47, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_sort_clause(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {36, UPB_SIZE(104, 208), 0, UPB_SIZE(45, 61), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_sort_clause(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {36, UPB_SIZE(104, 208), 0, UPB_SIZE(45, 61), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_sort_clause( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {36, UPB_SIZE(104, 208), 0, UPB_SIZE(45, 61), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Query_set_limit_offset(pg_query_Query* msg, pg_query_Node* value) { + const upb_MiniTableField field = {37, UPB_SIZE(108, 216), 69, UPB_SIZE(43, 60), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_mutable_limit_offset( + pg_query_Query* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Query_limit_offset(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Query_set_limit_offset(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Query_set_limit_count(pg_query_Query* msg, pg_query_Node* value) { + const upb_MiniTableField field = {38, UPB_SIZE(112, 224), 70, UPB_SIZE(41, 59), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_mutable_limit_count( + pg_query_Query* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Query_limit_count(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Query_set_limit_count(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Query_set_limit_option(pg_query_Query* msg, int32_t value) { + const upb_MiniTableField field = {39, UPB_SIZE(116, 44), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_row_marks(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {40, UPB_SIZE(120, 232), 0, UPB_SIZE(36, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_row_marks(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {40, UPB_SIZE(120, 232), 0, UPB_SIZE(36, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_row_marks( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {40, UPB_SIZE(120, 232), 0, UPB_SIZE(36, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Query_set_set_operations(pg_query_Query* msg, pg_query_Node* value) { + const upb_MiniTableField field = {41, UPB_SIZE(124, 240), 71, UPB_SIZE(34, 54), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_mutable_set_operations( + pg_query_Query* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Query_set_operations(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Query_set_set_operations(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_constraint_deps(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {42, UPB_SIZE(128, 248), 0, UPB_SIZE(32, 53), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_constraint_deps(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {42, UPB_SIZE(128, 248), 0, UPB_SIZE(32, 53), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_constraint_deps( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {42, UPB_SIZE(128, 248), 0, UPB_SIZE(32, 53), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Query_mutable_with_check_options(pg_query_Query* msg, + size_t* size) { + upb_MiniTableField field = {43, UPB_SIZE(132, 256), 0, UPB_SIZE(30, 52), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Query_resize_with_check_options(pg_query_Query* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {43, UPB_SIZE(132, 256), 0, UPB_SIZE(30, 52), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Query_add_with_check_options( + pg_query_Query* msg, upb_Arena* arena) { + upb_MiniTableField field = {43, UPB_SIZE(132, 256), 0, UPB_SIZE(30, 52), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Query_set_stmt_location(pg_query_Query* msg, int32_t value) { + const upb_MiniTableField field = {44, UPB_SIZE(136, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Query_set_stmt_len(pg_query_Query* msg, int32_t value) { + const upb_MiniTableField field = {45, UPB_SIZE(140, 52), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.TypeName */ +UPB_INLINE pg_query_TypeName* pg_query_TypeName_new(upb_Arena* arena) { + return (pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); +} +UPB_INLINE pg_query_TypeName* pg_query_TypeName_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_TypeName* ret = pg_query_TypeName_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TypeName_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_TypeName* pg_query_TypeName_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_TypeName* ret = pg_query_TypeName_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TypeName_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_TypeName_serialize(const pg_query_TypeName* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TypeName_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_TypeName_serialize_ex(const pg_query_TypeName* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TypeName_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_TypeName_clear_names(pg_query_TypeName* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 24, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TypeName_names(const pg_query_TypeName* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 24, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TypeName_names_upb_array( + const pg_query_TypeName* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 24, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TypeName_names_mutable_upb_array( + pg_query_TypeName* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 24, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TypeName_clear_type_oid(pg_query_TypeName* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_TypeName_type_oid(const pg_query_TypeName* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TypeName_clear_setof(pg_query_TypeName* msg) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_TypeName_setof(const pg_query_TypeName* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TypeName_clear_pct_type(pg_query_TypeName* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_TypeName_pct_type(const pg_query_TypeName* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TypeName_clear_typmods(pg_query_TypeName* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TypeName_typmods(const pg_query_TypeName* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TypeName_typmods_upb_array( + const pg_query_TypeName* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TypeName_typmods_mutable_upb_array( + pg_query_TypeName* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TypeName_clear_typemod(pg_query_TypeName* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TypeName_typemod(const pg_query_TypeName* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TypeName_clear_array_bounds(pg_query_TypeName* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TypeName_array_bounds(const pg_query_TypeName* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TypeName_array_bounds_upb_array( + const pg_query_TypeName* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TypeName_array_bounds_mutable_upb_array( + pg_query_TypeName* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TypeName_clear_location(pg_query_TypeName* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TypeName_location(const pg_query_TypeName* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_TypeName_mutable_names(pg_query_TypeName* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 24, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TypeName_resize_names(pg_query_TypeName* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 24, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TypeName_add_names( + pg_query_TypeName* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 24, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_TypeName_set_type_oid(pg_query_TypeName* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TypeName_set_setof(pg_query_TypeName* msg, bool value) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TypeName_set_pct_type(pg_query_TypeName* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_TypeName_mutable_typmods(pg_query_TypeName* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TypeName_resize_typmods(pg_query_TypeName* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TypeName_add_typmods( + pg_query_TypeName* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_TypeName_set_typemod(pg_query_TypeName* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_TypeName_mutable_array_bounds(pg_query_TypeName* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TypeName_resize_array_bounds(pg_query_TypeName* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TypeName_add_array_bounds( + pg_query_TypeName* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_TypeName_set_location(pg_query_TypeName* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ColumnRef */ +UPB_INLINE pg_query_ColumnRef* pg_query_ColumnRef_new(upb_Arena* arena) { + return (pg_query_ColumnRef*)_upb_Message_New(&pg_0query__ColumnRef_msg_init, arena); +} +UPB_INLINE pg_query_ColumnRef* pg_query_ColumnRef_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ColumnRef* ret = pg_query_ColumnRef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ColumnRef_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ColumnRef* pg_query_ColumnRef_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ColumnRef* ret = pg_query_ColumnRef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ColumnRef_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ColumnRef_serialize(const pg_query_ColumnRef* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ColumnRef_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ColumnRef_serialize_ex(const pg_query_ColumnRef* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ColumnRef_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ColumnRef_clear_fields(pg_query_ColumnRef* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ColumnRef_fields(const pg_query_ColumnRef* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ColumnRef_fields_upb_array( + const pg_query_ColumnRef* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ColumnRef_fields_mutable_upb_array( + pg_query_ColumnRef* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ColumnRef_clear_location(pg_query_ColumnRef* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ColumnRef_location(const pg_query_ColumnRef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_ColumnRef_mutable_fields(pg_query_ColumnRef* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ColumnRef_resize_fields(pg_query_ColumnRef* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ColumnRef_add_fields( + pg_query_ColumnRef* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_ColumnRef_set_location(pg_query_ColumnRef* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ParamRef */ +UPB_INLINE pg_query_ParamRef* pg_query_ParamRef_new(upb_Arena* arena) { + return (pg_query_ParamRef*)_upb_Message_New(&pg_0query__ParamRef_msg_init, arena); +} +UPB_INLINE pg_query_ParamRef* pg_query_ParamRef_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ParamRef* ret = pg_query_ParamRef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ParamRef_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ParamRef* pg_query_ParamRef_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ParamRef* ret = pg_query_ParamRef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ParamRef_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ParamRef_serialize(const pg_query_ParamRef* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ParamRef_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ParamRef_serialize_ex(const pg_query_ParamRef* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ParamRef_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ParamRef_clear_number(pg_query_ParamRef* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ParamRef_number(const pg_query_ParamRef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ParamRef_clear_location(pg_query_ParamRef* msg) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ParamRef_location(const pg_query_ParamRef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ParamRef_set_number(pg_query_ParamRef* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ParamRef_set_location(pg_query_ParamRef* msg, int32_t value) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.A_Expr */ +UPB_INLINE pg_query_A_Expr* pg_query_A_Expr_new(upb_Arena* arena) { + return (pg_query_A_Expr*)_upb_Message_New(&pg_0query__A_0Expr_msg_init, arena); +} +UPB_INLINE pg_query_A_Expr* pg_query_A_Expr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_A_Expr* ret = pg_query_A_Expr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0Expr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_A_Expr* pg_query_A_Expr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_A_Expr* ret = pg_query_A_Expr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0Expr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_A_Expr_serialize(const pg_query_A_Expr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0Expr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_A_Expr_serialize_ex(const pg_query_A_Expr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0Expr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_A_Expr_clear_kind(pg_query_A_Expr* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_A_Expr_kind(const pg_query_A_Expr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_A_Expr_clear_name(pg_query_A_Expr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_A_Expr_name(const pg_query_A_Expr* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_A_Expr_name_upb_array( + const pg_query_A_Expr* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_A_Expr_name_mutable_upb_array( + pg_query_A_Expr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_A_Expr_clear_lexpr(pg_query_A_Expr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 64, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_A_Expr_lexpr(const pg_query_A_Expr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 64, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_A_Expr_has_lexpr(const pg_query_A_Expr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 64, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_A_Expr_clear_rexpr(pg_query_A_Expr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 65, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_A_Expr_rexpr(const pg_query_A_Expr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 65, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_A_Expr_has_rexpr(const pg_query_A_Expr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 65, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_A_Expr_clear_rexpr_list_start(pg_query_A_Expr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_A_Expr_rexpr_list_start(const pg_query_A_Expr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_A_Expr_clear_rexpr_list_end(pg_query_A_Expr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_A_Expr_rexpr_list_end(const pg_query_A_Expr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_A_Expr_clear_location(pg_query_A_Expr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_A_Expr_location(const pg_query_A_Expr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_A_Expr_set_kind(pg_query_A_Expr* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_A_Expr_mutable_name(pg_query_A_Expr* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_A_Expr_resize_name(pg_query_A_Expr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_A_Expr_add_name( + pg_query_A_Expr* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 32), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_A_Expr_set_lexpr(pg_query_A_Expr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 64, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_A_Expr_mutable_lexpr( + pg_query_A_Expr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_A_Expr_lexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_A_Expr_set_lexpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_A_Expr_set_rexpr(pg_query_A_Expr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 65, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_A_Expr_mutable_rexpr( + pg_query_A_Expr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_A_Expr_rexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_A_Expr_set_rexpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_A_Expr_set_rexpr_list_start(pg_query_A_Expr* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_A_Expr_set_rexpr_list_end(pg_query_A_Expr* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_A_Expr_set_location(pg_query_A_Expr* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.TypeCast */ +UPB_INLINE pg_query_TypeCast* pg_query_TypeCast_new(upb_Arena* arena) { + return (pg_query_TypeCast*)_upb_Message_New(&pg_0query__TypeCast_msg_init, arena); +} +UPB_INLINE pg_query_TypeCast* pg_query_TypeCast_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_TypeCast* ret = pg_query_TypeCast_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TypeCast_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_TypeCast* pg_query_TypeCast_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_TypeCast* ret = pg_query_TypeCast_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TypeCast_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_TypeCast_serialize(const pg_query_TypeCast* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TypeCast_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_TypeCast_serialize_ex(const pg_query_TypeCast* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TypeCast_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_TypeCast_clear_arg(pg_query_TypeCast* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_TypeCast_arg(const pg_query_TypeCast* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_TypeCast_has_arg(const pg_query_TypeCast* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_TypeCast_clear_type_name(pg_query_TypeCast* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_TypeCast_type_name(const pg_query_TypeCast* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_TypeCast_has_type_name(const pg_query_TypeCast* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_TypeCast_clear_location(pg_query_TypeCast* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TypeCast_location(const pg_query_TypeCast* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_TypeCast_set_arg(pg_query_TypeCast* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_TypeCast_mutable_arg( + pg_query_TypeCast* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_TypeCast_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_TypeCast_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_TypeCast_set_type_name(pg_query_TypeCast* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_TypeCast_mutable_type_name( + pg_query_TypeCast* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_TypeCast_type_name(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_TypeCast_set_type_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_TypeCast_set_location(pg_query_TypeCast* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CollateClause */ +UPB_INLINE pg_query_CollateClause* pg_query_CollateClause_new(upb_Arena* arena) { + return (pg_query_CollateClause*)_upb_Message_New(&pg_0query__CollateClause_msg_init, arena); +} +UPB_INLINE pg_query_CollateClause* pg_query_CollateClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CollateClause* ret = pg_query_CollateClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CollateClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CollateClause* pg_query_CollateClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CollateClause* ret = pg_query_CollateClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CollateClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CollateClause_serialize(const pg_query_CollateClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CollateClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CollateClause_serialize_ex(const pg_query_CollateClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CollateClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CollateClause_clear_arg(pg_query_CollateClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CollateClause_arg(const pg_query_CollateClause* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CollateClause_has_arg(const pg_query_CollateClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CollateClause_clear_collname(pg_query_CollateClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CollateClause_collname(const pg_query_CollateClause* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CollateClause_collname_upb_array( + const pg_query_CollateClause* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CollateClause_collname_mutable_upb_array( + pg_query_CollateClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CollateClause_clear_location(pg_query_CollateClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CollateClause_location(const pg_query_CollateClause* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CollateClause_set_arg(pg_query_CollateClause* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CollateClause_mutable_arg( + pg_query_CollateClause* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CollateClause_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CollateClause_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CollateClause_mutable_collname(pg_query_CollateClause* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CollateClause_resize_collname(pg_query_CollateClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CollateClause_add_collname( + pg_query_CollateClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CollateClause_set_location(pg_query_CollateClause* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RoleSpec */ +UPB_INLINE pg_query_RoleSpec* pg_query_RoleSpec_new(upb_Arena* arena) { + return (pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); +} +UPB_INLINE pg_query_RoleSpec* pg_query_RoleSpec_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RoleSpec* ret = pg_query_RoleSpec_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RoleSpec_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RoleSpec* pg_query_RoleSpec_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RoleSpec* ret = pg_query_RoleSpec_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RoleSpec_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RoleSpec_serialize(const pg_query_RoleSpec* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RoleSpec_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RoleSpec_serialize_ex(const pg_query_RoleSpec* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RoleSpec_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RoleSpec_clear_roletype(pg_query_RoleSpec* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RoleSpec_roletype(const pg_query_RoleSpec* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RoleSpec_clear_rolename(pg_query_RoleSpec* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RoleSpec_rolename(const pg_query_RoleSpec* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RoleSpec_clear_location(pg_query_RoleSpec* msg) { + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RoleSpec_location(const pg_query_RoleSpec* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RoleSpec_set_roletype(pg_query_RoleSpec* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RoleSpec_set_rolename(pg_query_RoleSpec* msg, upb_StringView value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RoleSpec_set_location(pg_query_RoleSpec* msg, int32_t value) { + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.FuncCall */ +UPB_INLINE pg_query_FuncCall* pg_query_FuncCall_new(upb_Arena* arena) { + return (pg_query_FuncCall*)_upb_Message_New(&pg_0query__FuncCall_msg_init, arena); +} +UPB_INLINE pg_query_FuncCall* pg_query_FuncCall_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_FuncCall* ret = pg_query_FuncCall_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FuncCall_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_FuncCall* pg_query_FuncCall_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_FuncCall* ret = pg_query_FuncCall_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FuncCall_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_FuncCall_serialize(const pg_query_FuncCall* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FuncCall_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_FuncCall_serialize_ex(const pg_query_FuncCall* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FuncCall_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_FuncCall_clear_funcname(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_FuncCall_funcname(const pg_query_FuncCall* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_FuncCall_funcname_upb_array( + const pg_query_FuncCall* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_FuncCall_funcname_mutable_upb_array( + pg_query_FuncCall* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_FuncCall_clear_args(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_FuncCall_args(const pg_query_FuncCall* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_FuncCall_args_upb_array( + const pg_query_FuncCall* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_FuncCall_args_mutable_upb_array( + pg_query_FuncCall* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_FuncCall_clear_agg_order(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_FuncCall_agg_order(const pg_query_FuncCall* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_FuncCall_agg_order_upb_array( + const pg_query_FuncCall* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_FuncCall_agg_order_mutable_upb_array( + pg_query_FuncCall* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_FuncCall_clear_agg_filter(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(28, 48), 64, UPB_SIZE(27, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_FuncCall_agg_filter(const pg_query_FuncCall* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(28, 48), 64, UPB_SIZE(27, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_FuncCall_has_agg_filter(const pg_query_FuncCall* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(28, 48), 64, UPB_SIZE(27, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_FuncCall_clear_over(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(32, 56), 65, UPB_SIZE(25, 30), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WindowDef* pg_query_FuncCall_over(const pg_query_FuncCall* msg) { + const pg_query_WindowDef* default_val = NULL; + const pg_query_WindowDef* ret; + const upb_MiniTableField field = {5, UPB_SIZE(32, 56), 65, UPB_SIZE(25, 30), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowDef_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_FuncCall_has_over(const pg_query_FuncCall* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(32, 56), 65, UPB_SIZE(25, 30), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_FuncCall_clear_agg_within_group(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_FuncCall_agg_within_group(const pg_query_FuncCall* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncCall_clear_agg_star(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_FuncCall_agg_star(const pg_query_FuncCall* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncCall_clear_agg_distinct(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {8, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_FuncCall_agg_distinct(const pg_query_FuncCall* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncCall_clear_func_variadic(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {9, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_FuncCall_func_variadic(const pg_query_FuncCall* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {9, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncCall_clear_funcformat(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_FuncCall_funcformat(const pg_query_FuncCall* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {10, UPB_SIZE(36, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FuncCall_clear_location(pg_query_FuncCall* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(40, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_FuncCall_location(const pg_query_FuncCall* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {11, UPB_SIZE(40, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_FuncCall_mutable_funcname(pg_query_FuncCall* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_FuncCall_resize_funcname(pg_query_FuncCall* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_FuncCall_add_funcname( + pg_query_FuncCall* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(16, 24), 0, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_FuncCall_mutable_args(pg_query_FuncCall* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_FuncCall_resize_args(pg_query_FuncCall* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_FuncCall_add_args( + pg_query_FuncCall* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_FuncCall_mutable_agg_order(pg_query_FuncCall* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_FuncCall_resize_agg_order(pg_query_FuncCall* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_FuncCall_add_agg_order( + pg_query_FuncCall* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_FuncCall_set_agg_filter(pg_query_FuncCall* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(28, 48), 64, UPB_SIZE(27, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_FuncCall_mutable_agg_filter( + pg_query_FuncCall* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_FuncCall_agg_filter(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_FuncCall_set_agg_filter(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_FuncCall_set_over(pg_query_FuncCall* msg, pg_query_WindowDef* value) { + const upb_MiniTableField field = {5, UPB_SIZE(32, 56), 65, UPB_SIZE(25, 30), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowDef_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WindowDef* pg_query_FuncCall_mutable_over( + pg_query_FuncCall* msg, upb_Arena* arena) { + struct pg_query_WindowDef* sub = (struct pg_query_WindowDef*)pg_query_FuncCall_over(msg); + if (sub == NULL) { + sub = (struct pg_query_WindowDef*)_upb_Message_New(&pg_0query__WindowDef_msg_init, arena); + if (sub) pg_query_FuncCall_set_over(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_FuncCall_set_agg_within_group(pg_query_FuncCall* msg, bool value) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncCall_set_agg_star(pg_query_FuncCall* msg, bool value) { + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncCall_set_agg_distinct(pg_query_FuncCall* msg, bool value) { + const upb_MiniTableField field = {8, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncCall_set_func_variadic(pg_query_FuncCall* msg, bool value) { + const upb_MiniTableField field = {9, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncCall_set_funcformat(pg_query_FuncCall* msg, int32_t value) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FuncCall_set_location(pg_query_FuncCall* msg, int32_t value) { + const upb_MiniTableField field = {11, UPB_SIZE(40, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.A_Star */ +UPB_INLINE pg_query_A_Star* pg_query_A_Star_new(upb_Arena* arena) { + return (pg_query_A_Star*)_upb_Message_New(&pg_0query__A_0Star_msg_init, arena); +} +UPB_INLINE pg_query_A_Star* pg_query_A_Star_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_A_Star* ret = pg_query_A_Star_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0Star_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_A_Star* pg_query_A_Star_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_A_Star* ret = pg_query_A_Star_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0Star_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_A_Star_serialize(const pg_query_A_Star* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0Star_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_A_Star_serialize_ex(const pg_query_A_Star* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0Star_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* pg_query.A_Indices */ +UPB_INLINE pg_query_A_Indices* pg_query_A_Indices_new(upb_Arena* arena) { + return (pg_query_A_Indices*)_upb_Message_New(&pg_0query__A_0Indices_msg_init, arena); +} +UPB_INLINE pg_query_A_Indices* pg_query_A_Indices_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_A_Indices* ret = pg_query_A_Indices_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0Indices_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_A_Indices* pg_query_A_Indices_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_A_Indices* ret = pg_query_A_Indices_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0Indices_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_A_Indices_serialize(const pg_query_A_Indices* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0Indices_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_A_Indices_serialize_ex(const pg_query_A_Indices* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0Indices_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_A_Indices_clear_is_slice(pg_query_A_Indices* msg) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_A_Indices_is_slice(const pg_query_A_Indices* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_A_Indices_clear_lidx(pg_query_A_Indices* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_A_Indices_lidx(const pg_query_A_Indices* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_A_Indices_has_lidx(const pg_query_A_Indices* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_A_Indices_clear_uidx(pg_query_A_Indices* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_A_Indices_uidx(const pg_query_A_Indices* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_A_Indices_has_uidx(const pg_query_A_Indices* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_A_Indices_set_is_slice(pg_query_A_Indices* msg, bool value) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_A_Indices_set_lidx(pg_query_A_Indices* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_A_Indices_mutable_lidx( + pg_query_A_Indices* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_A_Indices_lidx(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_A_Indices_set_lidx(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_A_Indices_set_uidx(pg_query_A_Indices* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_A_Indices_mutable_uidx( + pg_query_A_Indices* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_A_Indices_uidx(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_A_Indices_set_uidx(msg, sub); + } + return sub; +} + +/* pg_query.A_Indirection */ +UPB_INLINE pg_query_A_Indirection* pg_query_A_Indirection_new(upb_Arena* arena) { + return (pg_query_A_Indirection*)_upb_Message_New(&pg_0query__A_0Indirection_msg_init, arena); +} +UPB_INLINE pg_query_A_Indirection* pg_query_A_Indirection_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_A_Indirection* ret = pg_query_A_Indirection_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0Indirection_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_A_Indirection* pg_query_A_Indirection_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_A_Indirection* ret = pg_query_A_Indirection_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0Indirection_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_A_Indirection_serialize(const pg_query_A_Indirection* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0Indirection_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_A_Indirection_serialize_ex(const pg_query_A_Indirection* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0Indirection_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_A_Indirection_clear_arg(pg_query_A_Indirection* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_A_Indirection_arg(const pg_query_A_Indirection* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_A_Indirection_has_arg(const pg_query_A_Indirection* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_A_Indirection_clear_indirection(pg_query_A_Indirection* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_A_Indirection_indirection(const pg_query_A_Indirection* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_A_Indirection_indirection_upb_array( + const pg_query_A_Indirection* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_A_Indirection_indirection_mutable_upb_array( + pg_query_A_Indirection* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_A_Indirection_set_arg(pg_query_A_Indirection* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_A_Indirection_mutable_arg( + pg_query_A_Indirection* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_A_Indirection_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_A_Indirection_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_A_Indirection_mutable_indirection(pg_query_A_Indirection* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_A_Indirection_resize_indirection(pg_query_A_Indirection* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_A_Indirection_add_indirection( + pg_query_A_Indirection* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.A_ArrayExpr */ +UPB_INLINE pg_query_A_ArrayExpr* pg_query_A_ArrayExpr_new(upb_Arena* arena) { + return (pg_query_A_ArrayExpr*)_upb_Message_New(&pg_0query__A_0ArrayExpr_msg_init, arena); +} +UPB_INLINE pg_query_A_ArrayExpr* pg_query_A_ArrayExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_A_ArrayExpr* ret = pg_query_A_ArrayExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0ArrayExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_A_ArrayExpr* pg_query_A_ArrayExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_A_ArrayExpr* ret = pg_query_A_ArrayExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__A_0ArrayExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_A_ArrayExpr_serialize(const pg_query_A_ArrayExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0ArrayExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_A_ArrayExpr_serialize_ex(const pg_query_A_ArrayExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__A_0ArrayExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_A_ArrayExpr_clear_elements(pg_query_A_ArrayExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_A_ArrayExpr_elements(const pg_query_A_ArrayExpr* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_A_ArrayExpr_elements_upb_array( + const pg_query_A_ArrayExpr* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_A_ArrayExpr_elements_mutable_upb_array( + pg_query_A_ArrayExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_A_ArrayExpr_clear_list_start(pg_query_A_ArrayExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_A_ArrayExpr_list_start(const pg_query_A_ArrayExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_A_ArrayExpr_clear_list_end(pg_query_A_ArrayExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_A_ArrayExpr_list_end(const pg_query_A_ArrayExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_A_ArrayExpr_clear_location(pg_query_A_ArrayExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_A_ArrayExpr_location(const pg_query_A_ArrayExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_A_ArrayExpr_mutable_elements(pg_query_A_ArrayExpr* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_A_ArrayExpr_resize_elements(pg_query_A_ArrayExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_A_ArrayExpr_add_elements( + pg_query_A_ArrayExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_A_ArrayExpr_set_list_start(pg_query_A_ArrayExpr* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_A_ArrayExpr_set_list_end(pg_query_A_ArrayExpr* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_A_ArrayExpr_set_location(pg_query_A_ArrayExpr* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ResTarget */ +UPB_INLINE pg_query_ResTarget* pg_query_ResTarget_new(upb_Arena* arena) { + return (pg_query_ResTarget*)_upb_Message_New(&pg_0query__ResTarget_msg_init, arena); +} +UPB_INLINE pg_query_ResTarget* pg_query_ResTarget_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ResTarget* ret = pg_query_ResTarget_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ResTarget_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ResTarget* pg_query_ResTarget_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ResTarget* ret = pg_query_ResTarget_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ResTarget_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ResTarget_serialize(const pg_query_ResTarget* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ResTarget_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ResTarget_serialize_ex(const pg_query_ResTarget* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ResTarget_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ResTarget_clear_name(pg_query_ResTarget* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ResTarget_name(const pg_query_ResTarget* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ResTarget_clear_indirection(pg_query_ResTarget* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ResTarget_indirection(const pg_query_ResTarget* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ResTarget_indirection_upb_array( + const pg_query_ResTarget* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ResTarget_indirection_mutable_upb_array( + pg_query_ResTarget* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ResTarget_clear_val(pg_query_ResTarget* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ResTarget_val(const pg_query_ResTarget* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ResTarget_has_val(const pg_query_ResTarget* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ResTarget_clear_location(pg_query_ResTarget* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ResTarget_location(const pg_query_ResTarget* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ResTarget_set_name(pg_query_ResTarget* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_ResTarget_mutable_indirection(pg_query_ResTarget* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ResTarget_resize_indirection(pg_query_ResTarget* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ResTarget_add_indirection( + pg_query_ResTarget* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_ResTarget_set_val(pg_query_ResTarget* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ResTarget_mutable_val( + pg_query_ResTarget* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ResTarget_val(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ResTarget_set_val(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ResTarget_set_location(pg_query_ResTarget* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.MultiAssignRef */ +UPB_INLINE pg_query_MultiAssignRef* pg_query_MultiAssignRef_new(upb_Arena* arena) { + return (pg_query_MultiAssignRef*)_upb_Message_New(&pg_0query__MultiAssignRef_msg_init, arena); +} +UPB_INLINE pg_query_MultiAssignRef* pg_query_MultiAssignRef_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_MultiAssignRef* ret = pg_query_MultiAssignRef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MultiAssignRef_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_MultiAssignRef* pg_query_MultiAssignRef_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_MultiAssignRef* ret = pg_query_MultiAssignRef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MultiAssignRef_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_MultiAssignRef_serialize(const pg_query_MultiAssignRef* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MultiAssignRef_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_MultiAssignRef_serialize_ex(const pg_query_MultiAssignRef* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MultiAssignRef_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_MultiAssignRef_clear_source(pg_query_MultiAssignRef* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_MultiAssignRef_source(const pg_query_MultiAssignRef* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_MultiAssignRef_has_source(const pg_query_MultiAssignRef* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_MultiAssignRef_clear_colno(pg_query_MultiAssignRef* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MultiAssignRef_colno(const pg_query_MultiAssignRef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MultiAssignRef_clear_ncolumns(pg_query_MultiAssignRef* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MultiAssignRef_ncolumns(const pg_query_MultiAssignRef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_MultiAssignRef_set_source(pg_query_MultiAssignRef* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_MultiAssignRef_mutable_source( + pg_query_MultiAssignRef* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_MultiAssignRef_source(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_MultiAssignRef_set_source(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_MultiAssignRef_set_colno(pg_query_MultiAssignRef* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MultiAssignRef_set_ncolumns(pg_query_MultiAssignRef* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SortBy */ +UPB_INLINE pg_query_SortBy* pg_query_SortBy_new(upb_Arena* arena) { + return (pg_query_SortBy*)_upb_Message_New(&pg_0query__SortBy_msg_init, arena); +} +UPB_INLINE pg_query_SortBy* pg_query_SortBy_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SortBy* ret = pg_query_SortBy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SortBy_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SortBy* pg_query_SortBy_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SortBy* ret = pg_query_SortBy_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SortBy_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SortBy_serialize(const pg_query_SortBy* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SortBy_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SortBy_serialize_ex(const pg_query_SortBy* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SortBy_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SortBy_clear_node(pg_query_SortBy* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SortBy_node(const pg_query_SortBy* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SortBy_has_node(const pg_query_SortBy* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SortBy_clear_sortby_dir(pg_query_SortBy* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SortBy_sortby_dir(const pg_query_SortBy* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SortBy_clear_sortby_nulls(pg_query_SortBy* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SortBy_sortby_nulls(const pg_query_SortBy* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SortBy_clear_use_op(pg_query_SortBy* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SortBy_use_op(const pg_query_SortBy* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SortBy_use_op_upb_array( + const pg_query_SortBy* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SortBy_use_op_mutable_upb_array( + pg_query_SortBy* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SortBy_clear_location(pg_query_SortBy* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SortBy_location(const pg_query_SortBy* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_SortBy_set_node(pg_query_SortBy* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SortBy_mutable_node( + pg_query_SortBy* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SortBy_node(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SortBy_set_node(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SortBy_set_sortby_dir(pg_query_SortBy* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SortBy_set_sortby_nulls(pg_query_SortBy* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_SortBy_mutable_use_op(pg_query_SortBy* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SortBy_resize_use_op(pg_query_SortBy* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SortBy_add_use_op( + pg_query_SortBy* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SortBy_set_location(pg_query_SortBy* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.WindowDef */ +UPB_INLINE pg_query_WindowDef* pg_query_WindowDef_new(upb_Arena* arena) { + return (pg_query_WindowDef*)_upb_Message_New(&pg_0query__WindowDef_msg_init, arena); +} +UPB_INLINE pg_query_WindowDef* pg_query_WindowDef_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_WindowDef* ret = pg_query_WindowDef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WindowDef_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_WindowDef* pg_query_WindowDef_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_WindowDef* ret = pg_query_WindowDef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WindowDef_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_WindowDef_serialize(const pg_query_WindowDef* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WindowDef_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_WindowDef_serialize_ex(const pg_query_WindowDef* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WindowDef_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_WindowDef_clear_name(pg_query_WindowDef* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_WindowDef_name(const pg_query_WindowDef* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowDef_clear_refname(pg_query_WindowDef* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_WindowDef_refname(const pg_query_WindowDef* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowDef_clear_partition_clause(pg_query_WindowDef* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 56), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_WindowDef_partition_clause(const pg_query_WindowDef* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 56), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_WindowDef_partition_clause_upb_array( + const pg_query_WindowDef* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 56), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_WindowDef_partition_clause_mutable_upb_array( + pg_query_WindowDef* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 56), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_WindowDef_clear_order_clause(pg_query_WindowDef* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_WindowDef_order_clause(const pg_query_WindowDef* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_WindowDef_order_clause_upb_array( + const pg_query_WindowDef* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_WindowDef_order_clause_mutable_upb_array( + pg_query_WindowDef* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_WindowDef_clear_frame_options(pg_query_WindowDef* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_WindowDef_frame_options(const pg_query_WindowDef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowDef_clear_start_offset(pg_query_WindowDef* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 72), 64, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_WindowDef_start_offset(const pg_query_WindowDef* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {6, UPB_SIZE(24, 72), 64, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_WindowDef_has_start_offset(const pg_query_WindowDef* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 72), 64, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_WindowDef_clear_end_offset(pg_query_WindowDef* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_WindowDef_end_offset(const pg_query_WindowDef* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_WindowDef_has_end_offset(const pg_query_WindowDef* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_WindowDef_clear_location(pg_query_WindowDef* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_WindowDef_location(const pg_query_WindowDef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_WindowDef_set_name(pg_query_WindowDef* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowDef_set_refname(pg_query_WindowDef* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_WindowDef_mutable_partition_clause(pg_query_WindowDef* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 56), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_WindowDef_resize_partition_clause(pg_query_WindowDef* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 56), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowDef_add_partition_clause( + pg_query_WindowDef* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 56), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_WindowDef_mutable_order_clause(pg_query_WindowDef* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_WindowDef_resize_order_clause(pg_query_WindowDef* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowDef_add_order_clause( + pg_query_WindowDef* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_WindowDef_set_frame_options(pg_query_WindowDef* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowDef_set_start_offset(pg_query_WindowDef* msg, pg_query_Node* value) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 72), 64, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowDef_mutable_start_offset( + pg_query_WindowDef* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_WindowDef_start_offset(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_WindowDef_set_start_offset(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_WindowDef_set_end_offset(pg_query_WindowDef* msg, pg_query_Node* value) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 80), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowDef_mutable_end_offset( + pg_query_WindowDef* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_WindowDef_end_offset(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_WindowDef_set_end_offset(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_WindowDef_set_location(pg_query_WindowDef* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RangeSubselect */ +UPB_INLINE pg_query_RangeSubselect* pg_query_RangeSubselect_new(upb_Arena* arena) { + return (pg_query_RangeSubselect*)_upb_Message_New(&pg_0query__RangeSubselect_msg_init, arena); +} +UPB_INLINE pg_query_RangeSubselect* pg_query_RangeSubselect_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RangeSubselect* ret = pg_query_RangeSubselect_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeSubselect_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RangeSubselect* pg_query_RangeSubselect_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RangeSubselect* ret = pg_query_RangeSubselect_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeSubselect_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RangeSubselect_serialize(const pg_query_RangeSubselect* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeSubselect_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RangeSubselect_serialize_ex(const pg_query_RangeSubselect* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeSubselect_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RangeSubselect_clear_lateral(pg_query_RangeSubselect* msg) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeSubselect_lateral(const pg_query_RangeSubselect* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeSubselect_clear_subquery(pg_query_RangeSubselect* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RangeSubselect_subquery(const pg_query_RangeSubselect* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeSubselect_has_subquery(const pg_query_RangeSubselect* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeSubselect_clear_alias(pg_query_RangeSubselect* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_RangeSubselect_alias(const pg_query_RangeSubselect* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeSubselect_has_alias(const pg_query_RangeSubselect* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_RangeSubselect_set_lateral(pg_query_RangeSubselect* msg, bool value) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeSubselect_set_subquery(pg_query_RangeSubselect* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeSubselect_mutable_subquery( + pg_query_RangeSubselect* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RangeSubselect_subquery(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RangeSubselect_set_subquery(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeSubselect_set_alias(pg_query_RangeSubselect* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_RangeSubselect_mutable_alias( + pg_query_RangeSubselect* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_RangeSubselect_alias(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_RangeSubselect_set_alias(msg, sub); + } + return sub; +} + +/* pg_query.RangeFunction */ +UPB_INLINE pg_query_RangeFunction* pg_query_RangeFunction_new(upb_Arena* arena) { + return (pg_query_RangeFunction*)_upb_Message_New(&pg_0query__RangeFunction_msg_init, arena); +} +UPB_INLINE pg_query_RangeFunction* pg_query_RangeFunction_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RangeFunction* ret = pg_query_RangeFunction_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeFunction_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RangeFunction* pg_query_RangeFunction_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RangeFunction* ret = pg_query_RangeFunction_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeFunction_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RangeFunction_serialize(const pg_query_RangeFunction* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeFunction_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RangeFunction_serialize_ex(const pg_query_RangeFunction* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeFunction_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RangeFunction_clear_lateral(pg_query_RangeFunction* msg) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeFunction_lateral(const pg_query_RangeFunction* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeFunction_clear_ordinality(pg_query_RangeFunction* msg) { + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeFunction_ordinality(const pg_query_RangeFunction* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeFunction_clear_is_rowsfrom(pg_query_RangeFunction* msg) { + const upb_MiniTableField field = {3, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeFunction_is_rowsfrom(const pg_query_RangeFunction* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeFunction_clear_functions(pg_query_RangeFunction* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeFunction_functions(const pg_query_RangeFunction* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeFunction_functions_upb_array( + const pg_query_RangeFunction* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeFunction_functions_mutable_upb_array( + pg_query_RangeFunction* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeFunction_clear_alias(pg_query_RangeFunction* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 64, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_RangeFunction_alias(const pg_query_RangeFunction* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 64, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeFunction_has_alias(const pg_query_RangeFunction* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 64, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeFunction_clear_coldeflist(pg_query_RangeFunction* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeFunction_coldeflist(const pg_query_RangeFunction* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeFunction_coldeflist_upb_array( + const pg_query_RangeFunction* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeFunction_coldeflist_mutable_upb_array( + pg_query_RangeFunction* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_RangeFunction_set_lateral(pg_query_RangeFunction* msg, bool value) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeFunction_set_ordinality(pg_query_RangeFunction* msg, bool value) { + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeFunction_set_is_rowsfrom(pg_query_RangeFunction* msg, bool value) { + const upb_MiniTableField field = {3, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_RangeFunction_mutable_functions(pg_query_RangeFunction* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeFunction_resize_functions(pg_query_RangeFunction* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeFunction_add_functions( + pg_query_RangeFunction* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 16), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RangeFunction_set_alias(pg_query_RangeFunction* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 24), 64, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_RangeFunction_mutable_alias( + pg_query_RangeFunction* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_RangeFunction_alias(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_RangeFunction_set_alias(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeFunction_mutable_coldeflist(pg_query_RangeFunction* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeFunction_resize_coldeflist(pg_query_RangeFunction* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeFunction_add_coldeflist( + pg_query_RangeFunction* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.RangeTableFunc */ +UPB_INLINE pg_query_RangeTableFunc* pg_query_RangeTableFunc_new(upb_Arena* arena) { + return (pg_query_RangeTableFunc*)_upb_Message_New(&pg_0query__RangeTableFunc_msg_init, arena); +} +UPB_INLINE pg_query_RangeTableFunc* pg_query_RangeTableFunc_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RangeTableFunc* ret = pg_query_RangeTableFunc_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTableFunc_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RangeTableFunc* pg_query_RangeTableFunc_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RangeTableFunc* ret = pg_query_RangeTableFunc_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTableFunc_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RangeTableFunc_serialize(const pg_query_RangeTableFunc* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTableFunc_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RangeTableFunc_serialize_ex(const pg_query_RangeTableFunc* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTableFunc_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RangeTableFunc_clear_lateral(pg_query_RangeTableFunc* msg) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeTableFunc_lateral(const pg_query_RangeTableFunc* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTableFunc_clear_docexpr(pg_query_RangeTableFunc* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RangeTableFunc_docexpr(const pg_query_RangeTableFunc* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTableFunc_has_docexpr(const pg_query_RangeTableFunc* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTableFunc_clear_rowexpr(pg_query_RangeTableFunc* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RangeTableFunc_rowexpr(const pg_query_RangeTableFunc* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTableFunc_has_rowexpr(const pg_query_RangeTableFunc* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTableFunc_clear_namespaces(pg_query_RangeTableFunc* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTableFunc_namespaces(const pg_query_RangeTableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTableFunc_namespaces_upb_array( + const pg_query_RangeTableFunc* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTableFunc_namespaces_mutable_upb_array( + pg_query_RangeTableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTableFunc_clear_columns(pg_query_RangeTableFunc* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTableFunc_columns(const pg_query_RangeTableFunc* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTableFunc_columns_upb_array( + const pg_query_RangeTableFunc* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTableFunc_columns_mutable_upb_array( + pg_query_RangeTableFunc* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTableFunc_clear_alias(pg_query_RangeTableFunc* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_RangeTableFunc_alias(const pg_query_RangeTableFunc* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTableFunc_has_alias(const pg_query_RangeTableFunc* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTableFunc_clear_location(pg_query_RangeTableFunc* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RangeTableFunc_location(const pg_query_RangeTableFunc* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RangeTableFunc_set_lateral(pg_query_RangeTableFunc* msg, bool value) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTableFunc_set_docexpr(pg_query_RangeTableFunc* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTableFunc_mutable_docexpr( + pg_query_RangeTableFunc* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RangeTableFunc_docexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RangeTableFunc_set_docexpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTableFunc_set_rowexpr(pg_query_RangeTableFunc* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTableFunc_mutable_rowexpr( + pg_query_RangeTableFunc* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RangeTableFunc_rowexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RangeTableFunc_set_rowexpr(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTableFunc_mutable_namespaces(pg_query_RangeTableFunc* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTableFunc_resize_namespaces(pg_query_RangeTableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTableFunc_add_namespaces( + pg_query_RangeTableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTableFunc_mutable_columns(pg_query_RangeTableFunc* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTableFunc_resize_columns(pg_query_RangeTableFunc* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTableFunc_add_columns( + pg_query_RangeTableFunc* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RangeTableFunc_set_alias(pg_query_RangeTableFunc* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 48), 66, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_RangeTableFunc_mutable_alias( + pg_query_RangeTableFunc* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_RangeTableFunc_alias(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_RangeTableFunc_set_alias(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTableFunc_set_location(pg_query_RangeTableFunc* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RangeTableFuncCol */ +UPB_INLINE pg_query_RangeTableFuncCol* pg_query_RangeTableFuncCol_new(upb_Arena* arena) { + return (pg_query_RangeTableFuncCol*)_upb_Message_New(&pg_0query__RangeTableFuncCol_msg_init, arena); +} +UPB_INLINE pg_query_RangeTableFuncCol* pg_query_RangeTableFuncCol_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RangeTableFuncCol* ret = pg_query_RangeTableFuncCol_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTableFuncCol_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RangeTableFuncCol* pg_query_RangeTableFuncCol_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RangeTableFuncCol* ret = pg_query_RangeTableFuncCol_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTableFuncCol_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RangeTableFuncCol_serialize(const pg_query_RangeTableFuncCol* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTableFuncCol_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RangeTableFuncCol_serialize_ex(const pg_query_RangeTableFuncCol* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTableFuncCol_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RangeTableFuncCol_clear_colname(pg_query_RangeTableFuncCol* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RangeTableFuncCol_colname(const pg_query_RangeTableFuncCol* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTableFuncCol_clear_type_name(pg_query_RangeTableFuncCol* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_RangeTableFuncCol_type_name(const pg_query_RangeTableFuncCol* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTableFuncCol_has_type_name(const pg_query_RangeTableFuncCol* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTableFuncCol_clear_for_ordinality(pg_query_RangeTableFuncCol* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeTableFuncCol_for_ordinality(const pg_query_RangeTableFuncCol* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTableFuncCol_clear_is_not_null(pg_query_RangeTableFuncCol* msg) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeTableFuncCol_is_not_null(const pg_query_RangeTableFuncCol* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTableFuncCol_clear_colexpr(pg_query_RangeTableFuncCol* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RangeTableFuncCol_colexpr(const pg_query_RangeTableFuncCol* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTableFuncCol_has_colexpr(const pg_query_RangeTableFuncCol* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTableFuncCol_clear_coldefexpr(pg_query_RangeTableFuncCol* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 48), 66, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RangeTableFuncCol_coldefexpr(const pg_query_RangeTableFuncCol* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {6, UPB_SIZE(20, 48), 66, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTableFuncCol_has_coldefexpr(const pg_query_RangeTableFuncCol* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 48), 66, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTableFuncCol_clear_location(pg_query_RangeTableFuncCol* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RangeTableFuncCol_location(const pg_query_RangeTableFuncCol* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RangeTableFuncCol_set_colname(pg_query_RangeTableFuncCol* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTableFuncCol_set_type_name(pg_query_RangeTableFuncCol* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_RangeTableFuncCol_mutable_type_name( + pg_query_RangeTableFuncCol* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_RangeTableFuncCol_type_name(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_RangeTableFuncCol_set_type_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTableFuncCol_set_for_ordinality(pg_query_RangeTableFuncCol* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTableFuncCol_set_is_not_null(pg_query_RangeTableFuncCol* msg, bool value) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTableFuncCol_set_colexpr(pg_query_RangeTableFuncCol* msg, pg_query_Node* value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 40), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTableFuncCol_mutable_colexpr( + pg_query_RangeTableFuncCol* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RangeTableFuncCol_colexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RangeTableFuncCol_set_colexpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTableFuncCol_set_coldefexpr(pg_query_RangeTableFuncCol* msg, pg_query_Node* value) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 48), 66, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTableFuncCol_mutable_coldefexpr( + pg_query_RangeTableFuncCol* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RangeTableFuncCol_coldefexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RangeTableFuncCol_set_coldefexpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTableFuncCol_set_location(pg_query_RangeTableFuncCol* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RangeTableSample */ +UPB_INLINE pg_query_RangeTableSample* pg_query_RangeTableSample_new(upb_Arena* arena) { + return (pg_query_RangeTableSample*)_upb_Message_New(&pg_0query__RangeTableSample_msg_init, arena); +} +UPB_INLINE pg_query_RangeTableSample* pg_query_RangeTableSample_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RangeTableSample* ret = pg_query_RangeTableSample_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTableSample_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RangeTableSample* pg_query_RangeTableSample_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RangeTableSample* ret = pg_query_RangeTableSample_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTableSample_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RangeTableSample_serialize(const pg_query_RangeTableSample* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTableSample_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RangeTableSample_serialize_ex(const pg_query_RangeTableSample* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTableSample_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RangeTableSample_clear_relation(pg_query_RangeTableSample* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RangeTableSample_relation(const pg_query_RangeTableSample* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTableSample_has_relation(const pg_query_RangeTableSample* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTableSample_clear_method(pg_query_RangeTableSample* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTableSample_method(const pg_query_RangeTableSample* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTableSample_method_upb_array( + const pg_query_RangeTableSample* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTableSample_method_mutable_upb_array( + pg_query_RangeTableSample* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTableSample_clear_args(pg_query_RangeTableSample* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTableSample_args(const pg_query_RangeTableSample* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTableSample_args_upb_array( + const pg_query_RangeTableSample* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTableSample_args_mutable_upb_array( + pg_query_RangeTableSample* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTableSample_clear_repeatable(pg_query_RangeTableSample* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RangeTableSample_repeatable(const pg_query_RangeTableSample* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTableSample_has_repeatable(const pg_query_RangeTableSample* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTableSample_clear_location(pg_query_RangeTableSample* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RangeTableSample_location(const pg_query_RangeTableSample* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RangeTableSample_set_relation(pg_query_RangeTableSample* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTableSample_mutable_relation( + pg_query_RangeTableSample* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RangeTableSample_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RangeTableSample_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTableSample_mutable_method(pg_query_RangeTableSample* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTableSample_resize_method(pg_query_RangeTableSample* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTableSample_add_method( + pg_query_RangeTableSample* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTableSample_mutable_args(pg_query_RangeTableSample* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTableSample_resize_args(pg_query_RangeTableSample* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTableSample_add_args( + pg_query_RangeTableSample* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RangeTableSample_set_repeatable(pg_query_RangeTableSample* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTableSample_mutable_repeatable( + pg_query_RangeTableSample* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RangeTableSample_repeatable(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RangeTableSample_set_repeatable(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTableSample_set_location(pg_query_RangeTableSample* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ColumnDef */ +UPB_INLINE pg_query_ColumnDef* pg_query_ColumnDef_new(upb_Arena* arena) { + return (pg_query_ColumnDef*)_upb_Message_New(&pg_0query__ColumnDef_msg_init, arena); +} +UPB_INLINE pg_query_ColumnDef* pg_query_ColumnDef_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ColumnDef* ret = pg_query_ColumnDef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ColumnDef_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ColumnDef* pg_query_ColumnDef_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ColumnDef* ret = pg_query_ColumnDef_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ColumnDef_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ColumnDef_serialize(const pg_query_ColumnDef* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ColumnDef_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ColumnDef_serialize_ex(const pg_query_ColumnDef* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ColumnDef_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ColumnDef_clear_colname(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(52, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ColumnDef_colname(const pg_query_ColumnDef* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(52, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_type_name(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 120), 64, UPB_SIZE(54, 55), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_ColumnDef_type_name(const pg_query_ColumnDef* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 120), 64, UPB_SIZE(54, 55), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ColumnDef_has_type_name(const pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 120), 64, UPB_SIZE(54, 55), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ColumnDef_clear_compression(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(60, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ColumnDef_compression(const pg_query_ColumnDef* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(60, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_inhcount(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ColumnDef_inhcount(const pg_query_ColumnDef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_is_local(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ColumnDef_is_local(const pg_query_ColumnDef* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_is_not_null(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ColumnDef_is_not_null(const pg_query_ColumnDef* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_is_from_type(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ColumnDef_is_from_type(const pg_query_ColumnDef* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_storage(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(68, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ColumnDef_storage(const pg_query_ColumnDef* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {8, UPB_SIZE(68, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_storage_name(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(76, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ColumnDef_storage_name(const pg_query_ColumnDef* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {9, UPB_SIZE(76, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_raw_default(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(20, 128), 65, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ColumnDef_raw_default(const pg_query_ColumnDef* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {10, UPB_SIZE(20, 128), 65, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ColumnDef_has_raw_default(const pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(20, 128), 65, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ColumnDef_clear_cooked_default(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(24, 136), 66, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ColumnDef_cooked_default(const pg_query_ColumnDef* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {11, UPB_SIZE(24, 136), 66, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ColumnDef_has_cooked_default(const pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(24, 136), 66, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ColumnDef_clear_identity(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(84, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ColumnDef_identity(const pg_query_ColumnDef* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {12, UPB_SIZE(84, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_identity_sequence(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(28, 144), 67, UPB_SIZE(24, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_ColumnDef_identity_sequence(const pg_query_ColumnDef* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {13, UPB_SIZE(28, 144), 67, UPB_SIZE(24, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ColumnDef_has_identity_sequence(const pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(28, 144), 67, UPB_SIZE(24, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ColumnDef_clear_generated(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(92, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ColumnDef_generated(const pg_query_ColumnDef* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {14, UPB_SIZE(92, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_coll_clause(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(32, 152), 68, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CollateClause* pg_query_ColumnDef_coll_clause(const pg_query_ColumnDef* msg) { + const pg_query_CollateClause* default_val = NULL; + const pg_query_CollateClause* ret; + const upb_MiniTableField field = {15, UPB_SIZE(32, 152), 68, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CollateClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ColumnDef_has_coll_clause(const pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(32, 152), 68, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ColumnDef_clear_coll_oid(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(36, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_ColumnDef_coll_oid(const pg_query_ColumnDef* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {16, UPB_SIZE(36, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ColumnDef_clear_constraints(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(40, 160), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ColumnDef_constraints(const pg_query_ColumnDef* msg, + size_t* size) { + const upb_MiniTableField field = {17, UPB_SIZE(40, 160), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ColumnDef_constraints_upb_array( + const pg_query_ColumnDef* msg, size_t* size) { + const upb_MiniTableField field = {17, UPB_SIZE(40, 160), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ColumnDef_constraints_mutable_upb_array( + pg_query_ColumnDef* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {17, UPB_SIZE(40, 160), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ColumnDef_clear_fdwoptions(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {18, UPB_SIZE(44, 168), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ColumnDef_fdwoptions(const pg_query_ColumnDef* msg, + size_t* size) { + const upb_MiniTableField field = {18, UPB_SIZE(44, 168), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ColumnDef_fdwoptions_upb_array( + const pg_query_ColumnDef* msg, size_t* size) { + const upb_MiniTableField field = {18, UPB_SIZE(44, 168), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ColumnDef_fdwoptions_mutable_upb_array( + pg_query_ColumnDef* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {18, UPB_SIZE(44, 168), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ColumnDef_clear_location(pg_query_ColumnDef* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(48, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ColumnDef_location(const pg_query_ColumnDef* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {19, UPB_SIZE(48, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ColumnDef_set_colname(pg_query_ColumnDef* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(52, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ColumnDef_set_type_name(pg_query_ColumnDef* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 120), 64, UPB_SIZE(54, 55), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_ColumnDef_mutable_type_name( + pg_query_ColumnDef* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_ColumnDef_type_name(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_ColumnDef_set_type_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ColumnDef_set_compression(pg_query_ColumnDef* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(60, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ColumnDef_set_inhcount(pg_query_ColumnDef* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ColumnDef_set_is_local(pg_query_ColumnDef* msg, bool value) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ColumnDef_set_is_not_null(pg_query_ColumnDef* msg, bool value) { + const upb_MiniTableField field = {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ColumnDef_set_is_from_type(pg_query_ColumnDef* msg, bool value) { + const upb_MiniTableField field = {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ColumnDef_set_storage(pg_query_ColumnDef* msg, upb_StringView value) { + const upb_MiniTableField field = {8, UPB_SIZE(68, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ColumnDef_set_storage_name(pg_query_ColumnDef* msg, upb_StringView value) { + const upb_MiniTableField field = {9, UPB_SIZE(76, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ColumnDef_set_raw_default(pg_query_ColumnDef* msg, pg_query_Node* value) { + const upb_MiniTableField field = {10, UPB_SIZE(20, 128), 65, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ColumnDef_mutable_raw_default( + pg_query_ColumnDef* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ColumnDef_raw_default(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ColumnDef_set_raw_default(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ColumnDef_set_cooked_default(pg_query_ColumnDef* msg, pg_query_Node* value) { + const upb_MiniTableField field = {11, UPB_SIZE(24, 136), 66, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ColumnDef_mutable_cooked_default( + pg_query_ColumnDef* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ColumnDef_cooked_default(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ColumnDef_set_cooked_default(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ColumnDef_set_identity(pg_query_ColumnDef* msg, upb_StringView value) { + const upb_MiniTableField field = {12, UPB_SIZE(84, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ColumnDef_set_identity_sequence(pg_query_ColumnDef* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {13, UPB_SIZE(28, 144), 67, UPB_SIZE(24, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_ColumnDef_mutable_identity_sequence( + pg_query_ColumnDef* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_ColumnDef_identity_sequence(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_ColumnDef_set_identity_sequence(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ColumnDef_set_generated(pg_query_ColumnDef* msg, upb_StringView value) { + const upb_MiniTableField field = {14, UPB_SIZE(92, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ColumnDef_set_coll_clause(pg_query_ColumnDef* msg, pg_query_CollateClause* value) { + const upb_MiniTableField field = {15, UPB_SIZE(32, 152), 68, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CollateClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CollateClause* pg_query_ColumnDef_mutable_coll_clause( + pg_query_ColumnDef* msg, upb_Arena* arena) { + struct pg_query_CollateClause* sub = (struct pg_query_CollateClause*)pg_query_ColumnDef_coll_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_CollateClause*)_upb_Message_New(&pg_0query__CollateClause_msg_init, arena); + if (sub) pg_query_ColumnDef_set_coll_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ColumnDef_set_coll_oid(pg_query_ColumnDef* msg, uint32_t value) { + const upb_MiniTableField field = {16, UPB_SIZE(36, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_ColumnDef_mutable_constraints(pg_query_ColumnDef* msg, + size_t* size) { + upb_MiniTableField field = {17, UPB_SIZE(40, 160), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ColumnDef_resize_constraints(pg_query_ColumnDef* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {17, UPB_SIZE(40, 160), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ColumnDef_add_constraints( + pg_query_ColumnDef* msg, upb_Arena* arena) { + upb_MiniTableField field = {17, UPB_SIZE(40, 160), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_ColumnDef_mutable_fdwoptions(pg_query_ColumnDef* msg, + size_t* size) { + upb_MiniTableField field = {18, UPB_SIZE(44, 168), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ColumnDef_resize_fdwoptions(pg_query_ColumnDef* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {18, UPB_SIZE(44, 168), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ColumnDef_add_fdwoptions( + pg_query_ColumnDef* msg, upb_Arena* arena) { + upb_MiniTableField field = {18, UPB_SIZE(44, 168), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_ColumnDef_set_location(pg_query_ColumnDef* msg, int32_t value) { + const upb_MiniTableField field = {19, UPB_SIZE(48, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.TableLikeClause */ +UPB_INLINE pg_query_TableLikeClause* pg_query_TableLikeClause_new(upb_Arena* arena) { + return (pg_query_TableLikeClause*)_upb_Message_New(&pg_0query__TableLikeClause_msg_init, arena); +} +UPB_INLINE pg_query_TableLikeClause* pg_query_TableLikeClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_TableLikeClause* ret = pg_query_TableLikeClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TableLikeClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_TableLikeClause* pg_query_TableLikeClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_TableLikeClause* ret = pg_query_TableLikeClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TableLikeClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_TableLikeClause_serialize(const pg_query_TableLikeClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TableLikeClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_TableLikeClause_serialize_ex(const pg_query_TableLikeClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TableLikeClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_TableLikeClause_clear_relation(pg_query_TableLikeClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_TableLikeClause_relation(const pg_query_TableLikeClause* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_TableLikeClause_has_relation(const pg_query_TableLikeClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_TableLikeClause_clear_options(pg_query_TableLikeClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_TableLikeClause_options(const pg_query_TableLikeClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TableLikeClause_clear_relation_oid(pg_query_TableLikeClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_TableLikeClause_relation_oid(const pg_query_TableLikeClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_TableLikeClause_set_relation(pg_query_TableLikeClause* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_TableLikeClause_mutable_relation( + pg_query_TableLikeClause* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_TableLikeClause_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_TableLikeClause_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_TableLikeClause_set_options(pg_query_TableLikeClause* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TableLikeClause_set_relation_oid(pg_query_TableLikeClause* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.IndexElem */ +UPB_INLINE pg_query_IndexElem* pg_query_IndexElem_new(upb_Arena* arena) { + return (pg_query_IndexElem*)_upb_Message_New(&pg_0query__IndexElem_msg_init, arena); +} +UPB_INLINE pg_query_IndexElem* pg_query_IndexElem_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_IndexElem* ret = pg_query_IndexElem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__IndexElem_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_IndexElem* pg_query_IndexElem_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_IndexElem* ret = pg_query_IndexElem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__IndexElem_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_IndexElem_serialize(const pg_query_IndexElem* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__IndexElem_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_IndexElem_serialize_ex(const pg_query_IndexElem* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__IndexElem_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_IndexElem_clear_name(pg_query_IndexElem* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_IndexElem_name(const pg_query_IndexElem* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexElem_clear_expr(pg_query_IndexElem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 56), 64, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_IndexElem_expr(const pg_query_IndexElem* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 56), 64, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_IndexElem_has_expr(const pg_query_IndexElem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 56), 64, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_IndexElem_clear_indexcolname(pg_query_IndexElem* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_IndexElem_indexcolname(const pg_query_IndexElem* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexElem_clear_collation(pg_query_IndexElem* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_IndexElem_collation(const pg_query_IndexElem* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_IndexElem_collation_upb_array( + const pg_query_IndexElem* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_IndexElem_collation_mutable_upb_array( + pg_query_IndexElem* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_IndexElem_clear_opclass(pg_query_IndexElem* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 72), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_IndexElem_opclass(const pg_query_IndexElem* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 72), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_IndexElem_opclass_upb_array( + const pg_query_IndexElem* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 72), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_IndexElem_opclass_mutable_upb_array( + pg_query_IndexElem* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 72), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_IndexElem_clear_opclassopts(pg_query_IndexElem* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 80), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_IndexElem_opclassopts(const pg_query_IndexElem* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 80), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_IndexElem_opclassopts_upb_array( + const pg_query_IndexElem* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 80), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_IndexElem_opclassopts_mutable_upb_array( + pg_query_IndexElem* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 80), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_IndexElem_clear_ordering(pg_query_IndexElem* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_IndexElem_ordering(const pg_query_IndexElem* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexElem_clear_nulls_ordering(pg_query_IndexElem* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_IndexElem_nulls_ordering(const pg_query_IndexElem* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_IndexElem_set_name(pg_query_IndexElem* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexElem_set_expr(pg_query_IndexElem* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 56), 64, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_IndexElem_mutable_expr( + pg_query_IndexElem* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_IndexElem_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_IndexElem_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_IndexElem_set_indexcolname(pg_query_IndexElem* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_IndexElem_mutable_collation(pg_query_IndexElem* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_IndexElem_resize_collation(pg_query_IndexElem* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_IndexElem_add_collation( + pg_query_IndexElem* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_IndexElem_mutable_opclass(pg_query_IndexElem* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(20, 72), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_IndexElem_resize_opclass(pg_query_IndexElem* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 72), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_IndexElem_add_opclass( + pg_query_IndexElem* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 72), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_IndexElem_mutable_opclassopts(pg_query_IndexElem* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(24, 80), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_IndexElem_resize_opclassopts(pg_query_IndexElem* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 80), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_IndexElem_add_opclassopts( + pg_query_IndexElem* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 80), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_IndexElem_set_ordering(pg_query_IndexElem* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexElem_set_nulls_ordering(pg_query_IndexElem* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.DefElem */ +UPB_INLINE pg_query_DefElem* pg_query_DefElem_new(upb_Arena* arena) { + return (pg_query_DefElem*)_upb_Message_New(&pg_0query__DefElem_msg_init, arena); +} +UPB_INLINE pg_query_DefElem* pg_query_DefElem_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DefElem* ret = pg_query_DefElem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DefElem_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DefElem* pg_query_DefElem_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DefElem* ret = pg_query_DefElem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DefElem_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DefElem_serialize(const pg_query_DefElem* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DefElem_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DefElem_serialize_ex(const pg_query_DefElem* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DefElem_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DefElem_clear_defnamespace(pg_query_DefElem* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_DefElem_defnamespace(const pg_query_DefElem* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DefElem_clear_defname(pg_query_DefElem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_DefElem_defname(const pg_query_DefElem* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DefElem_clear_arg(pg_query_DefElem* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 56), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_DefElem_arg(const pg_query_DefElem* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 56), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_DefElem_has_arg(const pg_query_DefElem* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 56), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_DefElem_clear_defaction(pg_query_DefElem* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DefElem_defaction(const pg_query_DefElem* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DefElem_clear_location(pg_query_DefElem* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DefElem_location(const pg_query_DefElem* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DefElem_clear_arg_location(pg_query_DefElem* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DefElem_arg_location(const pg_query_DefElem* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_DefElem_set_defnamespace(pg_query_DefElem* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DefElem_set_defname(pg_query_DefElem* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(36, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DefElem_set_arg(pg_query_DefElem* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 56), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_DefElem_mutable_arg( + pg_query_DefElem* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_DefElem_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_DefElem_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_DefElem_set_defaction(pg_query_DefElem* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DefElem_set_location(pg_query_DefElem* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DefElem_set_arg_location(pg_query_DefElem* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.LockingClause */ +UPB_INLINE pg_query_LockingClause* pg_query_LockingClause_new(upb_Arena* arena) { + return (pg_query_LockingClause*)_upb_Message_New(&pg_0query__LockingClause_msg_init, arena); +} +UPB_INLINE pg_query_LockingClause* pg_query_LockingClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_LockingClause* ret = pg_query_LockingClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__LockingClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_LockingClause* pg_query_LockingClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_LockingClause* ret = pg_query_LockingClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__LockingClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_LockingClause_serialize(const pg_query_LockingClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__LockingClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_LockingClause_serialize_ex(const pg_query_LockingClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__LockingClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_LockingClause_clear_locked_rels(pg_query_LockingClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_LockingClause_locked_rels(const pg_query_LockingClause* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_LockingClause_locked_rels_upb_array( + const pg_query_LockingClause* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_LockingClause_locked_rels_mutable_upb_array( + pg_query_LockingClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_LockingClause_clear_strength(pg_query_LockingClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_LockingClause_strength(const pg_query_LockingClause* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_LockingClause_clear_wait_policy(pg_query_LockingClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_LockingClause_wait_policy(const pg_query_LockingClause* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_LockingClause_mutable_locked_rels(pg_query_LockingClause* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_LockingClause_resize_locked_rels(pg_query_LockingClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_LockingClause_add_locked_rels( + pg_query_LockingClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_LockingClause_set_strength(pg_query_LockingClause* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_LockingClause_set_wait_policy(pg_query_LockingClause* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.XmlSerialize */ +UPB_INLINE pg_query_XmlSerialize* pg_query_XmlSerialize_new(upb_Arena* arena) { + return (pg_query_XmlSerialize*)_upb_Message_New(&pg_0query__XmlSerialize_msg_init, arena); +} +UPB_INLINE pg_query_XmlSerialize* pg_query_XmlSerialize_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_XmlSerialize* ret = pg_query_XmlSerialize_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__XmlSerialize_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_XmlSerialize* pg_query_XmlSerialize_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_XmlSerialize* ret = pg_query_XmlSerialize_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__XmlSerialize_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_XmlSerialize_serialize(const pg_query_XmlSerialize* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__XmlSerialize_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_XmlSerialize_serialize_ex(const pg_query_XmlSerialize* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__XmlSerialize_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_XmlSerialize_clear_xmloption(pg_query_XmlSerialize* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_XmlSerialize_xmloption(const pg_query_XmlSerialize* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_XmlSerialize_clear_expr(pg_query_XmlSerialize* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_XmlSerialize_expr(const pg_query_XmlSerialize* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_XmlSerialize_has_expr(const pg_query_XmlSerialize* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_XmlSerialize_clear_type_name(pg_query_XmlSerialize* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_XmlSerialize_type_name(const pg_query_XmlSerialize* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_XmlSerialize_has_type_name(const pg_query_XmlSerialize* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_XmlSerialize_clear_indent(pg_query_XmlSerialize* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_XmlSerialize_indent(const pg_query_XmlSerialize* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_XmlSerialize_clear_location(pg_query_XmlSerialize* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_XmlSerialize_location(const pg_query_XmlSerialize* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_XmlSerialize_set_xmloption(pg_query_XmlSerialize* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_XmlSerialize_set_expr(pg_query_XmlSerialize* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_XmlSerialize_mutable_expr( + pg_query_XmlSerialize* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_XmlSerialize_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_XmlSerialize_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_XmlSerialize_set_type_name(pg_query_XmlSerialize* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_XmlSerialize_mutable_type_name( + pg_query_XmlSerialize* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_XmlSerialize_type_name(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_XmlSerialize_set_type_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_XmlSerialize_set_indent(pg_query_XmlSerialize* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_XmlSerialize_set_location(pg_query_XmlSerialize* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.PartitionElem */ +UPB_INLINE pg_query_PartitionElem* pg_query_PartitionElem_new(upb_Arena* arena) { + return (pg_query_PartitionElem*)_upb_Message_New(&pg_0query__PartitionElem_msg_init, arena); +} +UPB_INLINE pg_query_PartitionElem* pg_query_PartitionElem_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_PartitionElem* ret = pg_query_PartitionElem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PartitionElem_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_PartitionElem* pg_query_PartitionElem_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_PartitionElem* ret = pg_query_PartitionElem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PartitionElem_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_PartitionElem_serialize(const pg_query_PartitionElem* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PartitionElem_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_PartitionElem_serialize_ex(const pg_query_PartitionElem* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PartitionElem_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_PartitionElem_clear_name(pg_query_PartitionElem* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_PartitionElem_name(const pg_query_PartitionElem* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PartitionElem_clear_expr(pg_query_PartitionElem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_PartitionElem_expr(const pg_query_PartitionElem* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_PartitionElem_has_expr(const pg_query_PartitionElem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_PartitionElem_clear_collation(pg_query_PartitionElem* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_PartitionElem_collation(const pg_query_PartitionElem* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_PartitionElem_collation_upb_array( + const pg_query_PartitionElem* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_PartitionElem_collation_mutable_upb_array( + pg_query_PartitionElem* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_PartitionElem_clear_opclass(pg_query_PartitionElem* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_PartitionElem_opclass(const pg_query_PartitionElem* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_PartitionElem_opclass_upb_array( + const pg_query_PartitionElem* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_PartitionElem_opclass_mutable_upb_array( + pg_query_PartitionElem* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_PartitionElem_clear_location(pg_query_PartitionElem* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PartitionElem_location(const pg_query_PartitionElem* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_PartitionElem_set_name(pg_query_PartitionElem* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_PartitionElem_set_expr(pg_query_PartitionElem* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_PartitionElem_mutable_expr( + pg_query_PartitionElem* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_PartitionElem_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_PartitionElem_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_PartitionElem_mutable_collation(pg_query_PartitionElem* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_PartitionElem_resize_collation(pg_query_PartitionElem* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_PartitionElem_add_collation( + pg_query_PartitionElem* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_PartitionElem_mutable_opclass(pg_query_PartitionElem* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_PartitionElem_resize_opclass(pg_query_PartitionElem* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_PartitionElem_add_opclass( + pg_query_PartitionElem* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_PartitionElem_set_location(pg_query_PartitionElem* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.PartitionSpec */ +UPB_INLINE pg_query_PartitionSpec* pg_query_PartitionSpec_new(upb_Arena* arena) { + return (pg_query_PartitionSpec*)_upb_Message_New(&pg_0query__PartitionSpec_msg_init, arena); +} +UPB_INLINE pg_query_PartitionSpec* pg_query_PartitionSpec_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_PartitionSpec* ret = pg_query_PartitionSpec_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PartitionSpec_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_PartitionSpec* pg_query_PartitionSpec_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_PartitionSpec* ret = pg_query_PartitionSpec_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PartitionSpec_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_PartitionSpec_serialize(const pg_query_PartitionSpec* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PartitionSpec_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_PartitionSpec_serialize_ex(const pg_query_PartitionSpec* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PartitionSpec_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_PartitionSpec_clear_strategy(pg_query_PartitionSpec* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PartitionSpec_strategy(const pg_query_PartitionSpec* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PartitionSpec_clear_part_params(pg_query_PartitionSpec* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_PartitionSpec_part_params(const pg_query_PartitionSpec* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_PartitionSpec_part_params_upb_array( + const pg_query_PartitionSpec* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_PartitionSpec_part_params_mutable_upb_array( + pg_query_PartitionSpec* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_PartitionSpec_clear_location(pg_query_PartitionSpec* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PartitionSpec_location(const pg_query_PartitionSpec* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_PartitionSpec_set_strategy(pg_query_PartitionSpec* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_PartitionSpec_mutable_part_params(pg_query_PartitionSpec* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_PartitionSpec_resize_part_params(pg_query_PartitionSpec* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_PartitionSpec_add_part_params( + pg_query_PartitionSpec* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_PartitionSpec_set_location(pg_query_PartitionSpec* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.PartitionBoundSpec */ +UPB_INLINE pg_query_PartitionBoundSpec* pg_query_PartitionBoundSpec_new(upb_Arena* arena) { + return (pg_query_PartitionBoundSpec*)_upb_Message_New(&pg_0query__PartitionBoundSpec_msg_init, arena); +} +UPB_INLINE pg_query_PartitionBoundSpec* pg_query_PartitionBoundSpec_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_PartitionBoundSpec* ret = pg_query_PartitionBoundSpec_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PartitionBoundSpec_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_PartitionBoundSpec* pg_query_PartitionBoundSpec_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_PartitionBoundSpec* ret = pg_query_PartitionBoundSpec_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PartitionBoundSpec_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_PartitionBoundSpec_serialize(const pg_query_PartitionBoundSpec* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PartitionBoundSpec_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_PartitionBoundSpec_serialize_ex(const pg_query_PartitionBoundSpec* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PartitionBoundSpec_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_PartitionBoundSpec_clear_strategy(pg_query_PartitionBoundSpec* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_PartitionBoundSpec_strategy(const pg_query_PartitionBoundSpec* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PartitionBoundSpec_clear_is_default(pg_query_PartitionBoundSpec* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_PartitionBoundSpec_is_default(const pg_query_PartitionBoundSpec* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PartitionBoundSpec_clear_modulus(pg_query_PartitionBoundSpec* msg) { + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PartitionBoundSpec_modulus(const pg_query_PartitionBoundSpec* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PartitionBoundSpec_clear_remainder(pg_query_PartitionBoundSpec* msg) { + const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PartitionBoundSpec_remainder(const pg_query_PartitionBoundSpec* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PartitionBoundSpec_clear_listdatums(pg_query_PartitionBoundSpec* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_PartitionBoundSpec_listdatums(const pg_query_PartitionBoundSpec* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_PartitionBoundSpec_listdatums_upb_array( + const pg_query_PartitionBoundSpec* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_PartitionBoundSpec_listdatums_mutable_upb_array( + pg_query_PartitionBoundSpec* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_PartitionBoundSpec_clear_lowerdatums(pg_query_PartitionBoundSpec* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_PartitionBoundSpec_lowerdatums(const pg_query_PartitionBoundSpec* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_PartitionBoundSpec_lowerdatums_upb_array( + const pg_query_PartitionBoundSpec* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_PartitionBoundSpec_lowerdatums_mutable_upb_array( + pg_query_PartitionBoundSpec* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_PartitionBoundSpec_clear_upperdatums(pg_query_PartitionBoundSpec* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_PartitionBoundSpec_upperdatums(const pg_query_PartitionBoundSpec* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_PartitionBoundSpec_upperdatums_upb_array( + const pg_query_PartitionBoundSpec* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_PartitionBoundSpec_upperdatums_mutable_upb_array( + pg_query_PartitionBoundSpec* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 56), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_PartitionBoundSpec_clear_location(pg_query_PartitionBoundSpec* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PartitionBoundSpec_location(const pg_query_PartitionBoundSpec* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_PartitionBoundSpec_set_strategy(pg_query_PartitionBoundSpec* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_PartitionBoundSpec_set_is_default(pg_query_PartitionBoundSpec* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_PartitionBoundSpec_set_modulus(pg_query_PartitionBoundSpec* msg, int32_t value) { + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_PartitionBoundSpec_set_remainder(pg_query_PartitionBoundSpec* msg, int32_t value) { + const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_PartitionBoundSpec_mutable_listdatums(pg_query_PartitionBoundSpec* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_PartitionBoundSpec_resize_listdatums(pg_query_PartitionBoundSpec* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_PartitionBoundSpec_add_listdatums( + pg_query_PartitionBoundSpec* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_PartitionBoundSpec_mutable_lowerdatums(pg_query_PartitionBoundSpec* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_PartitionBoundSpec_resize_lowerdatums(pg_query_PartitionBoundSpec* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_PartitionBoundSpec_add_lowerdatums( + pg_query_PartitionBoundSpec* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_PartitionBoundSpec_mutable_upperdatums(pg_query_PartitionBoundSpec* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(28, 56), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_PartitionBoundSpec_resize_upperdatums(pg_query_PartitionBoundSpec* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(28, 56), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_PartitionBoundSpec_add_upperdatums( + pg_query_PartitionBoundSpec* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(28, 56), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_PartitionBoundSpec_set_location(pg_query_PartitionBoundSpec* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.PartitionRangeDatum */ +UPB_INLINE pg_query_PartitionRangeDatum* pg_query_PartitionRangeDatum_new(upb_Arena* arena) { + return (pg_query_PartitionRangeDatum*)_upb_Message_New(&pg_0query__PartitionRangeDatum_msg_init, arena); +} +UPB_INLINE pg_query_PartitionRangeDatum* pg_query_PartitionRangeDatum_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_PartitionRangeDatum* ret = pg_query_PartitionRangeDatum_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PartitionRangeDatum_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_PartitionRangeDatum* pg_query_PartitionRangeDatum_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_PartitionRangeDatum* ret = pg_query_PartitionRangeDatum_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PartitionRangeDatum_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_PartitionRangeDatum_serialize(const pg_query_PartitionRangeDatum* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PartitionRangeDatum_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_PartitionRangeDatum_serialize_ex(const pg_query_PartitionRangeDatum* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PartitionRangeDatum_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_PartitionRangeDatum_clear_kind(pg_query_PartitionRangeDatum* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PartitionRangeDatum_kind(const pg_query_PartitionRangeDatum* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PartitionRangeDatum_clear_value(pg_query_PartitionRangeDatum* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_PartitionRangeDatum_value(const pg_query_PartitionRangeDatum* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_PartitionRangeDatum_has_value(const pg_query_PartitionRangeDatum* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_PartitionRangeDatum_clear_location(pg_query_PartitionRangeDatum* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PartitionRangeDatum_location(const pg_query_PartitionRangeDatum* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_PartitionRangeDatum_set_kind(pg_query_PartitionRangeDatum* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_PartitionRangeDatum_set_value(pg_query_PartitionRangeDatum* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_PartitionRangeDatum_mutable_value( + pg_query_PartitionRangeDatum* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_PartitionRangeDatum_value(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_PartitionRangeDatum_set_value(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_PartitionRangeDatum_set_location(pg_query_PartitionRangeDatum* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.PartitionCmd */ +UPB_INLINE pg_query_PartitionCmd* pg_query_PartitionCmd_new(upb_Arena* arena) { + return (pg_query_PartitionCmd*)_upb_Message_New(&pg_0query__PartitionCmd_msg_init, arena); +} +UPB_INLINE pg_query_PartitionCmd* pg_query_PartitionCmd_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_PartitionCmd* ret = pg_query_PartitionCmd_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PartitionCmd_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_PartitionCmd* pg_query_PartitionCmd_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_PartitionCmd* ret = pg_query_PartitionCmd_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PartitionCmd_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_PartitionCmd_serialize(const pg_query_PartitionCmd* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PartitionCmd_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_PartitionCmd_serialize_ex(const pg_query_PartitionCmd* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PartitionCmd_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_PartitionCmd_clear_name(pg_query_PartitionCmd* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_PartitionCmd_name(const pg_query_PartitionCmd* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_PartitionCmd_has_name(const pg_query_PartitionCmd* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_PartitionCmd_clear_bound(pg_query_PartitionCmd* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PartitionBoundSpec* pg_query_PartitionCmd_bound(const pg_query_PartitionCmd* msg) { + const pg_query_PartitionBoundSpec* default_val = NULL; + const pg_query_PartitionBoundSpec* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionBoundSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_PartitionCmd_has_bound(const pg_query_PartitionCmd* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_PartitionCmd_clear_concurrent(pg_query_PartitionCmd* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_PartitionCmd_concurrent(const pg_query_PartitionCmd* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_PartitionCmd_set_name(pg_query_PartitionCmd* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_PartitionCmd_mutable_name( + pg_query_PartitionCmd* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_PartitionCmd_name(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_PartitionCmd_set_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_PartitionCmd_set_bound(pg_query_PartitionCmd* msg, pg_query_PartitionBoundSpec* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionBoundSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PartitionBoundSpec* pg_query_PartitionCmd_mutable_bound( + pg_query_PartitionCmd* msg, upb_Arena* arena) { + struct pg_query_PartitionBoundSpec* sub = (struct pg_query_PartitionBoundSpec*)pg_query_PartitionCmd_bound(msg); + if (sub == NULL) { + sub = (struct pg_query_PartitionBoundSpec*)_upb_Message_New(&pg_0query__PartitionBoundSpec_msg_init, arena); + if (sub) pg_query_PartitionCmd_set_bound(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_PartitionCmd_set_concurrent(pg_query_PartitionCmd* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RangeTblEntry */ +UPB_INLINE pg_query_RangeTblEntry* pg_query_RangeTblEntry_new(upb_Arena* arena) { + return (pg_query_RangeTblEntry*)_upb_Message_New(&pg_0query__RangeTblEntry_msg_init, arena); +} +UPB_INLINE pg_query_RangeTblEntry* pg_query_RangeTblEntry_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RangeTblEntry* ret = pg_query_RangeTblEntry_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTblEntry_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RangeTblEntry* pg_query_RangeTblEntry_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RangeTblEntry* ret = pg_query_RangeTblEntry_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTblEntry_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RangeTblEntry_serialize(const pg_query_RangeTblEntry* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTblEntry_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RangeTblEntry_serialize_ex(const pg_query_RangeTblEntry* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTblEntry_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_alias(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 96), 64, UPB_SIZE(99, 100), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_RangeTblEntry_alias(const pg_query_RangeTblEntry* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {1, UPB_SIZE(16, 96), 64, UPB_SIZE(99, 100), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTblEntry_has_alias(const pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 96), 64, UPB_SIZE(99, 100), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTblEntry_clear_eref(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 104), 65, UPB_SIZE(97, 99), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_RangeTblEntry_eref(const pg_query_RangeTblEntry* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 104), 65, UPB_SIZE(97, 99), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTblEntry_has_eref(const pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 104), 65, UPB_SIZE(97, 99), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTblEntry_clear_rtekind(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RangeTblEntry_rtekind(const pg_query_RangeTblEntry* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_relid(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_RangeTblEntry_relid(const pg_query_RangeTblEntry* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_inh(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeTblEntry_inh(const pg_query_RangeTblEntry* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_relkind(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(108, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RangeTblEntry_relkind(const pg_query_RangeTblEntry* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, UPB_SIZE(108, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_rellockmode(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RangeTblEntry_rellockmode(const pg_query_RangeTblEntry* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_perminfoindex(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_RangeTblEntry_perminfoindex(const pg_query_RangeTblEntry* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_tablesample(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 112), 66, UPB_SIZE(77, 80), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TableSampleClause* pg_query_RangeTblEntry_tablesample(const pg_query_RangeTblEntry* msg) { + const pg_query_TableSampleClause* default_val = NULL; + const pg_query_TableSampleClause* ret; + const upb_MiniTableField field = {9, UPB_SIZE(40, 112), 66, UPB_SIZE(77, 80), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TableSampleClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTblEntry_has_tablesample(const pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 112), 66, UPB_SIZE(77, 80), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTblEntry_clear_subquery(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 120), 67, UPB_SIZE(75, 79), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Query* pg_query_RangeTblEntry_subquery(const pg_query_RangeTblEntry* msg) { + const pg_query_Query* default_val = NULL; + const pg_query_Query* ret; + const upb_MiniTableField field = {10, UPB_SIZE(44, 120), 67, UPB_SIZE(75, 79), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Query_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTblEntry_has_subquery(const pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 120), 67, UPB_SIZE(75, 79), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTblEntry_clear_security_barrier(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeTblEntry_security_barrier(const pg_query_RangeTblEntry* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_jointype(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(48, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RangeTblEntry_jointype(const pg_query_RangeTblEntry* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {12, UPB_SIZE(48, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_joinmergedcols(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(52, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RangeTblEntry_joinmergedcols(const pg_query_RangeTblEntry* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {13, UPB_SIZE(52, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_joinaliasvars(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(56, 128), 0, UPB_SIZE(64, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblEntry_joinaliasvars(const pg_query_RangeTblEntry* msg, + size_t* size) { + const upb_MiniTableField field = {14, UPB_SIZE(56, 128), 0, UPB_SIZE(64, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblEntry_joinaliasvars_upb_array( + const pg_query_RangeTblEntry* msg, size_t* size) { + const upb_MiniTableField field = {14, UPB_SIZE(56, 128), 0, UPB_SIZE(64, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblEntry_joinaliasvars_mutable_upb_array( + pg_query_RangeTblEntry* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {14, UPB_SIZE(56, 128), 0, UPB_SIZE(64, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_joinleftcols(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(60, 136), 0, UPB_SIZE(62, 68), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblEntry_joinleftcols(const pg_query_RangeTblEntry* msg, + size_t* size) { + const upb_MiniTableField field = {15, UPB_SIZE(60, 136), 0, UPB_SIZE(62, 68), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblEntry_joinleftcols_upb_array( + const pg_query_RangeTblEntry* msg, size_t* size) { + const upb_MiniTableField field = {15, UPB_SIZE(60, 136), 0, UPB_SIZE(62, 68), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblEntry_joinleftcols_mutable_upb_array( + pg_query_RangeTblEntry* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {15, UPB_SIZE(60, 136), 0, UPB_SIZE(62, 68), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_joinrightcols(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(64, 144), 0, UPB_SIZE(60, 67), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblEntry_joinrightcols(const pg_query_RangeTblEntry* msg, + size_t* size) { + const upb_MiniTableField field = {16, UPB_SIZE(64, 144), 0, UPB_SIZE(60, 67), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblEntry_joinrightcols_upb_array( + const pg_query_RangeTblEntry* msg, size_t* size) { + const upb_MiniTableField field = {16, UPB_SIZE(64, 144), 0, UPB_SIZE(60, 67), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblEntry_joinrightcols_mutable_upb_array( + pg_query_RangeTblEntry* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {16, UPB_SIZE(64, 144), 0, UPB_SIZE(60, 67), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_join_using_alias(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(68, 152), 68, UPB_SIZE(58, 66), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_RangeTblEntry_join_using_alias(const pg_query_RangeTblEntry* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {17, UPB_SIZE(68, 152), 68, UPB_SIZE(58, 66), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTblEntry_has_join_using_alias(const pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(68, 152), 68, UPB_SIZE(58, 66), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTblEntry_clear_functions(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {18, UPB_SIZE(72, 160), 0, UPB_SIZE(56, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblEntry_functions(const pg_query_RangeTblEntry* msg, + size_t* size) { + const upb_MiniTableField field = {18, UPB_SIZE(72, 160), 0, UPB_SIZE(56, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblEntry_functions_upb_array( + const pg_query_RangeTblEntry* msg, size_t* size) { + const upb_MiniTableField field = {18, UPB_SIZE(72, 160), 0, UPB_SIZE(56, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblEntry_functions_mutable_upb_array( + pg_query_RangeTblEntry* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {18, UPB_SIZE(72, 160), 0, UPB_SIZE(56, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_funcordinality(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {19, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeTblEntry_funcordinality(const pg_query_RangeTblEntry* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {19, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_tablefunc(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(76, 168), 69, UPB_SIZE(51, 61), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TableFunc* pg_query_RangeTblEntry_tablefunc(const pg_query_RangeTblEntry* msg) { + const pg_query_TableFunc* default_val = NULL; + const pg_query_TableFunc* ret; + const upb_MiniTableField field = {20, UPB_SIZE(76, 168), 69, UPB_SIZE(51, 61), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TableFunc_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTblEntry_has_tablefunc(const pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(76, 168), 69, UPB_SIZE(51, 61), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTblEntry_clear_values_lists(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {21, UPB_SIZE(80, 176), 0, UPB_SIZE(49, 60), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblEntry_values_lists(const pg_query_RangeTblEntry* msg, + size_t* size) { + const upb_MiniTableField field = {21, UPB_SIZE(80, 176), 0, UPB_SIZE(49, 60), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblEntry_values_lists_upb_array( + const pg_query_RangeTblEntry* msg, size_t* size) { + const upb_MiniTableField field = {21, UPB_SIZE(80, 176), 0, UPB_SIZE(49, 60), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblEntry_values_lists_mutable_upb_array( + pg_query_RangeTblEntry* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {21, UPB_SIZE(80, 176), 0, UPB_SIZE(49, 60), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_ctename(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(116, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RangeTblEntry_ctename(const pg_query_RangeTblEntry* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {22, UPB_SIZE(116, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_ctelevelsup(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(84, 40), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_RangeTblEntry_ctelevelsup(const pg_query_RangeTblEntry* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {23, UPB_SIZE(84, 40), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_self_reference(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {24, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeTblEntry_self_reference(const pg_query_RangeTblEntry* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {24, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_coltypes(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {25, UPB_SIZE(88, 184), 0, UPB_SIZE(38, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblEntry_coltypes(const pg_query_RangeTblEntry* msg, + size_t* size) { + const upb_MiniTableField field = {25, UPB_SIZE(88, 184), 0, UPB_SIZE(38, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblEntry_coltypes_upb_array( + const pg_query_RangeTblEntry* msg, size_t* size) { + const upb_MiniTableField field = {25, UPB_SIZE(88, 184), 0, UPB_SIZE(38, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblEntry_coltypes_mutable_upb_array( + pg_query_RangeTblEntry* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {25, UPB_SIZE(88, 184), 0, UPB_SIZE(38, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_coltypmods(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {26, UPB_SIZE(92, 192), 0, UPB_SIZE(36, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblEntry_coltypmods(const pg_query_RangeTblEntry* msg, + size_t* size) { + const upb_MiniTableField field = {26, UPB_SIZE(92, 192), 0, UPB_SIZE(36, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblEntry_coltypmods_upb_array( + const pg_query_RangeTblEntry* msg, size_t* size) { + const upb_MiniTableField field = {26, UPB_SIZE(92, 192), 0, UPB_SIZE(36, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblEntry_coltypmods_mutable_upb_array( + pg_query_RangeTblEntry* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {26, UPB_SIZE(92, 192), 0, UPB_SIZE(36, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_colcollations(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {27, UPB_SIZE(96, 200), 0, UPB_SIZE(34, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblEntry_colcollations(const pg_query_RangeTblEntry* msg, + size_t* size) { + const upb_MiniTableField field = {27, UPB_SIZE(96, 200), 0, UPB_SIZE(34, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblEntry_colcollations_upb_array( + const pg_query_RangeTblEntry* msg, size_t* size) { + const upb_MiniTableField field = {27, UPB_SIZE(96, 200), 0, UPB_SIZE(34, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblEntry_colcollations_mutable_upb_array( + pg_query_RangeTblEntry* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {27, UPB_SIZE(96, 200), 0, UPB_SIZE(34, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_enrname(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {28, UPB_SIZE(124, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RangeTblEntry_enrname(const pg_query_RangeTblEntry* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {28, UPB_SIZE(124, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_enrtuples(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {29, UPB_SIZE(136, 208), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE double pg_query_RangeTblEntry_enrtuples(const pg_query_RangeTblEntry* msg) { + double default_val = 0; + double ret; + const upb_MiniTableField field = {29, UPB_SIZE(136, 208), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_groupexprs(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {30, UPB_SIZE(100, 216), 0, UPB_SIZE(26, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblEntry_groupexprs(const pg_query_RangeTblEntry* msg, + size_t* size) { + const upb_MiniTableField field = {30, UPB_SIZE(100, 216), 0, UPB_SIZE(26, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblEntry_groupexprs_upb_array( + const pg_query_RangeTblEntry* msg, size_t* size) { + const upb_MiniTableField field = {30, UPB_SIZE(100, 216), 0, UPB_SIZE(26, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblEntry_groupexprs_mutable_upb_array( + pg_query_RangeTblEntry* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {30, UPB_SIZE(100, 216), 0, UPB_SIZE(26, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_lateral(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {31, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeTblEntry_lateral(const pg_query_RangeTblEntry* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {31, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_in_from_cl(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {32, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RangeTblEntry_in_from_cl(const pg_query_RangeTblEntry* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {32, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblEntry_clear_security_quals(pg_query_RangeTblEntry* msg) { + const upb_MiniTableField field = {33, UPB_SIZE(104, 224), 0, UPB_SIZE(18, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblEntry_security_quals(const pg_query_RangeTblEntry* msg, + size_t* size) { + const upb_MiniTableField field = {33, UPB_SIZE(104, 224), 0, UPB_SIZE(18, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblEntry_security_quals_upb_array( + const pg_query_RangeTblEntry* msg, size_t* size) { + const upb_MiniTableField field = {33, UPB_SIZE(104, 224), 0, UPB_SIZE(18, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblEntry_security_quals_mutable_upb_array( + pg_query_RangeTblEntry* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {33, UPB_SIZE(104, 224), 0, UPB_SIZE(18, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_RangeTblEntry_set_alias(pg_query_RangeTblEntry* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 96), 64, UPB_SIZE(99, 100), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_RangeTblEntry_mutable_alias( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_RangeTblEntry_alias(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_RangeTblEntry_set_alias(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTblEntry_set_eref(pg_query_RangeTblEntry* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 104), 65, UPB_SIZE(97, 99), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_RangeTblEntry_mutable_eref( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_RangeTblEntry_eref(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_RangeTblEntry_set_eref(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTblEntry_set_rtekind(pg_query_RangeTblEntry* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_relid(pg_query_RangeTblEntry* msg, uint32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_inh(pg_query_RangeTblEntry* msg, bool value) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_relkind(pg_query_RangeTblEntry* msg, upb_StringView value) { + const upb_MiniTableField field = {6, UPB_SIZE(108, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_rellockmode(pg_query_RangeTblEntry* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_perminfoindex(pg_query_RangeTblEntry* msg, uint32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_tablesample(pg_query_RangeTblEntry* msg, pg_query_TableSampleClause* value) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 112), 66, UPB_SIZE(77, 80), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TableSampleClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TableSampleClause* pg_query_RangeTblEntry_mutable_tablesample( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + struct pg_query_TableSampleClause* sub = (struct pg_query_TableSampleClause*)pg_query_RangeTblEntry_tablesample(msg); + if (sub == NULL) { + sub = (struct pg_query_TableSampleClause*)_upb_Message_New(&pg_0query__TableSampleClause_msg_init, arena); + if (sub) pg_query_RangeTblEntry_set_tablesample(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTblEntry_set_subquery(pg_query_RangeTblEntry* msg, pg_query_Query* value) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 120), 67, UPB_SIZE(75, 79), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Query_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Query* pg_query_RangeTblEntry_mutable_subquery( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + struct pg_query_Query* sub = (struct pg_query_Query*)pg_query_RangeTblEntry_subquery(msg); + if (sub == NULL) { + sub = (struct pg_query_Query*)_upb_Message_New(&pg_0query__Query_msg_init, arena); + if (sub) pg_query_RangeTblEntry_set_subquery(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTblEntry_set_security_barrier(pg_query_RangeTblEntry* msg, bool value) { + const upb_MiniTableField field = {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_jointype(pg_query_RangeTblEntry* msg, int32_t value) { + const upb_MiniTableField field = {12, UPB_SIZE(48, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_joinmergedcols(pg_query_RangeTblEntry* msg, int32_t value) { + const upb_MiniTableField field = {13, UPB_SIZE(52, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_mutable_joinaliasvars(pg_query_RangeTblEntry* msg, + size_t* size) { + upb_MiniTableField field = {14, UPB_SIZE(56, 128), 0, UPB_SIZE(64, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_resize_joinaliasvars(pg_query_RangeTblEntry* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {14, UPB_SIZE(56, 128), 0, UPB_SIZE(64, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblEntry_add_joinaliasvars( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + upb_MiniTableField field = {14, UPB_SIZE(56, 128), 0, UPB_SIZE(64, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_mutable_joinleftcols(pg_query_RangeTblEntry* msg, + size_t* size) { + upb_MiniTableField field = {15, UPB_SIZE(60, 136), 0, UPB_SIZE(62, 68), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_resize_joinleftcols(pg_query_RangeTblEntry* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {15, UPB_SIZE(60, 136), 0, UPB_SIZE(62, 68), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblEntry_add_joinleftcols( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + upb_MiniTableField field = {15, UPB_SIZE(60, 136), 0, UPB_SIZE(62, 68), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_mutable_joinrightcols(pg_query_RangeTblEntry* msg, + size_t* size) { + upb_MiniTableField field = {16, UPB_SIZE(64, 144), 0, UPB_SIZE(60, 67), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_resize_joinrightcols(pg_query_RangeTblEntry* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {16, UPB_SIZE(64, 144), 0, UPB_SIZE(60, 67), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblEntry_add_joinrightcols( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + upb_MiniTableField field = {16, UPB_SIZE(64, 144), 0, UPB_SIZE(60, 67), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RangeTblEntry_set_join_using_alias(pg_query_RangeTblEntry* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {17, UPB_SIZE(68, 152), 68, UPB_SIZE(58, 66), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_RangeTblEntry_mutable_join_using_alias( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_RangeTblEntry_join_using_alias(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_RangeTblEntry_set_join_using_alias(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_mutable_functions(pg_query_RangeTblEntry* msg, + size_t* size) { + upb_MiniTableField field = {18, UPB_SIZE(72, 160), 0, UPB_SIZE(56, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_resize_functions(pg_query_RangeTblEntry* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {18, UPB_SIZE(72, 160), 0, UPB_SIZE(56, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblEntry_add_functions( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + upb_MiniTableField field = {18, UPB_SIZE(72, 160), 0, UPB_SIZE(56, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RangeTblEntry_set_funcordinality(pg_query_RangeTblEntry* msg, bool value) { + const upb_MiniTableField field = {19, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_tablefunc(pg_query_RangeTblEntry* msg, pg_query_TableFunc* value) { + const upb_MiniTableField field = {20, UPB_SIZE(76, 168), 69, UPB_SIZE(51, 61), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TableFunc_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TableFunc* pg_query_RangeTblEntry_mutable_tablefunc( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + struct pg_query_TableFunc* sub = (struct pg_query_TableFunc*)pg_query_RangeTblEntry_tablefunc(msg); + if (sub == NULL) { + sub = (struct pg_query_TableFunc*)_upb_Message_New(&pg_0query__TableFunc_msg_init, arena); + if (sub) pg_query_RangeTblEntry_set_tablefunc(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_mutable_values_lists(pg_query_RangeTblEntry* msg, + size_t* size) { + upb_MiniTableField field = {21, UPB_SIZE(80, 176), 0, UPB_SIZE(49, 60), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_resize_values_lists(pg_query_RangeTblEntry* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {21, UPB_SIZE(80, 176), 0, UPB_SIZE(49, 60), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblEntry_add_values_lists( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + upb_MiniTableField field = {21, UPB_SIZE(80, 176), 0, UPB_SIZE(49, 60), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RangeTblEntry_set_ctename(pg_query_RangeTblEntry* msg, upb_StringView value) { + const upb_MiniTableField field = {22, UPB_SIZE(116, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_ctelevelsup(pg_query_RangeTblEntry* msg, uint32_t value) { + const upb_MiniTableField field = {23, UPB_SIZE(84, 40), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_self_reference(pg_query_RangeTblEntry* msg, bool value) { + const upb_MiniTableField field = {24, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_mutable_coltypes(pg_query_RangeTblEntry* msg, + size_t* size) { + upb_MiniTableField field = {25, UPB_SIZE(88, 184), 0, UPB_SIZE(38, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_resize_coltypes(pg_query_RangeTblEntry* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {25, UPB_SIZE(88, 184), 0, UPB_SIZE(38, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblEntry_add_coltypes( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + upb_MiniTableField field = {25, UPB_SIZE(88, 184), 0, UPB_SIZE(38, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_mutable_coltypmods(pg_query_RangeTblEntry* msg, + size_t* size) { + upb_MiniTableField field = {26, UPB_SIZE(92, 192), 0, UPB_SIZE(36, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_resize_coltypmods(pg_query_RangeTblEntry* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {26, UPB_SIZE(92, 192), 0, UPB_SIZE(36, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblEntry_add_coltypmods( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + upb_MiniTableField field = {26, UPB_SIZE(92, 192), 0, UPB_SIZE(36, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_mutable_colcollations(pg_query_RangeTblEntry* msg, + size_t* size) { + upb_MiniTableField field = {27, UPB_SIZE(96, 200), 0, UPB_SIZE(34, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_resize_colcollations(pg_query_RangeTblEntry* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {27, UPB_SIZE(96, 200), 0, UPB_SIZE(34, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblEntry_add_colcollations( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + upb_MiniTableField field = {27, UPB_SIZE(96, 200), 0, UPB_SIZE(34, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RangeTblEntry_set_enrname(pg_query_RangeTblEntry* msg, upb_StringView value) { + const upb_MiniTableField field = {28, UPB_SIZE(124, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_enrtuples(pg_query_RangeTblEntry* msg, double value) { + const upb_MiniTableField field = {29, UPB_SIZE(136, 208), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_mutable_groupexprs(pg_query_RangeTblEntry* msg, + size_t* size) { + upb_MiniTableField field = {30, UPB_SIZE(100, 216), 0, UPB_SIZE(26, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_resize_groupexprs(pg_query_RangeTblEntry* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {30, UPB_SIZE(100, 216), 0, UPB_SIZE(26, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblEntry_add_groupexprs( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + upb_MiniTableField field = {30, UPB_SIZE(100, 216), 0, UPB_SIZE(26, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RangeTblEntry_set_lateral(pg_query_RangeTblEntry* msg, bool value) { + const upb_MiniTableField field = {31, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RangeTblEntry_set_in_from_cl(pg_query_RangeTblEntry* msg, bool value) { + const upb_MiniTableField field = {32, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_mutable_security_quals(pg_query_RangeTblEntry* msg, + size_t* size) { + upb_MiniTableField field = {33, UPB_SIZE(104, 224), 0, UPB_SIZE(18, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblEntry_resize_security_quals(pg_query_RangeTblEntry* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {33, UPB_SIZE(104, 224), 0, UPB_SIZE(18, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblEntry_add_security_quals( + pg_query_RangeTblEntry* msg, upb_Arena* arena) { + upb_MiniTableField field = {33, UPB_SIZE(104, 224), 0, UPB_SIZE(18, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.RTEPermissionInfo */ +UPB_INLINE pg_query_RTEPermissionInfo* pg_query_RTEPermissionInfo_new(upb_Arena* arena) { + return (pg_query_RTEPermissionInfo*)_upb_Message_New(&pg_0query__RTEPermissionInfo_msg_init, arena); +} +UPB_INLINE pg_query_RTEPermissionInfo* pg_query_RTEPermissionInfo_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RTEPermissionInfo* ret = pg_query_RTEPermissionInfo_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RTEPermissionInfo_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RTEPermissionInfo* pg_query_RTEPermissionInfo_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RTEPermissionInfo* ret = pg_query_RTEPermissionInfo_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RTEPermissionInfo_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RTEPermissionInfo_serialize(const pg_query_RTEPermissionInfo* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RTEPermissionInfo_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RTEPermissionInfo_serialize_ex(const pg_query_RTEPermissionInfo* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RTEPermissionInfo_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RTEPermissionInfo_clear_relid(pg_query_RTEPermissionInfo* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_RTEPermissionInfo_relid(const pg_query_RTEPermissionInfo* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RTEPermissionInfo_clear_inh(pg_query_RTEPermissionInfo* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RTEPermissionInfo_inh(const pg_query_RTEPermissionInfo* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RTEPermissionInfo_clear_required_perms(pg_query_RTEPermissionInfo* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(32, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint64_t pg_query_RTEPermissionInfo_required_perms(const pg_query_RTEPermissionInfo* msg) { + uint64_t default_val = (uint64_t)0ull; + uint64_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(32, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RTEPermissionInfo_clear_check_as_user(pg_query_RTEPermissionInfo* msg) { + const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_RTEPermissionInfo_check_as_user(const pg_query_RTEPermissionInfo* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RTEPermissionInfo_clear_selected_cols(pg_query_RTEPermissionInfo* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint64_t const* pg_query_RTEPermissionInfo_selected_cols(const pg_query_RTEPermissionInfo* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RTEPermissionInfo_selected_cols_upb_array( + const pg_query_RTEPermissionInfo* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RTEPermissionInfo_selected_cols_mutable_upb_array( + pg_query_RTEPermissionInfo* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RTEPermissionInfo_clear_inserted_cols(pg_query_RTEPermissionInfo* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint64_t const* pg_query_RTEPermissionInfo_inserted_cols(const pg_query_RTEPermissionInfo* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RTEPermissionInfo_inserted_cols_upb_array( + const pg_query_RTEPermissionInfo* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RTEPermissionInfo_inserted_cols_mutable_upb_array( + pg_query_RTEPermissionInfo* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RTEPermissionInfo_clear_updated_cols(pg_query_RTEPermissionInfo* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint64_t const* pg_query_RTEPermissionInfo_updated_cols(const pg_query_RTEPermissionInfo* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RTEPermissionInfo_updated_cols_upb_array( + const pg_query_RTEPermissionInfo* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RTEPermissionInfo_updated_cols_mutable_upb_array( + pg_query_RTEPermissionInfo* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_RTEPermissionInfo_set_relid(pg_query_RTEPermissionInfo* msg, uint32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RTEPermissionInfo_set_inh(pg_query_RTEPermissionInfo* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RTEPermissionInfo_set_required_perms(pg_query_RTEPermissionInfo* msg, uint64_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(32, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RTEPermissionInfo_set_check_as_user(pg_query_RTEPermissionInfo* msg, uint32_t value) { + const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE uint64_t* pg_query_RTEPermissionInfo_mutable_selected_cols(pg_query_RTEPermissionInfo* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t*)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE uint64_t* pg_query_RTEPermissionInfo_resize_selected_cols(pg_query_RTEPermissionInfo* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (uint64_t*)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE bool pg_query_RTEPermissionInfo_add_selected_cols(pg_query_RTEPermissionInfo* msg, uint64_t val, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return false; + } + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE uint64_t* pg_query_RTEPermissionInfo_mutable_inserted_cols(pg_query_RTEPermissionInfo* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t*)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE uint64_t* pg_query_RTEPermissionInfo_resize_inserted_cols(pg_query_RTEPermissionInfo* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (uint64_t*)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE bool pg_query_RTEPermissionInfo_add_inserted_cols(pg_query_RTEPermissionInfo* msg, uint64_t val, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return false; + } + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE uint64_t* pg_query_RTEPermissionInfo_mutable_updated_cols(pg_query_RTEPermissionInfo* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(28, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t*)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE uint64_t* pg_query_RTEPermissionInfo_resize_updated_cols(pg_query_RTEPermissionInfo* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(28, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (uint64_t*)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE bool pg_query_RTEPermissionInfo_add_updated_cols(pg_query_RTEPermissionInfo* msg, uint64_t val, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(28, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return false; + } + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val)); + return true; +} + +/* pg_query.RangeTblFunction */ +UPB_INLINE pg_query_RangeTblFunction* pg_query_RangeTblFunction_new(upb_Arena* arena) { + return (pg_query_RangeTblFunction*)_upb_Message_New(&pg_0query__RangeTblFunction_msg_init, arena); +} +UPB_INLINE pg_query_RangeTblFunction* pg_query_RangeTblFunction_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RangeTblFunction* ret = pg_query_RangeTblFunction_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTblFunction_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RangeTblFunction* pg_query_RangeTblFunction_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RangeTblFunction* ret = pg_query_RangeTblFunction_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RangeTblFunction_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RangeTblFunction_serialize(const pg_query_RangeTblFunction* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTblFunction_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RangeTblFunction_serialize_ex(const pg_query_RangeTblFunction* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RangeTblFunction_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RangeTblFunction_clear_funcexpr(pg_query_RangeTblFunction* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RangeTblFunction_funcexpr(const pg_query_RangeTblFunction* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RangeTblFunction_has_funcexpr(const pg_query_RangeTblFunction* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RangeTblFunction_clear_funccolcount(pg_query_RangeTblFunction* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RangeTblFunction_funccolcount(const pg_query_RangeTblFunction* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RangeTblFunction_clear_funccolnames(pg_query_RangeTblFunction* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblFunction_funccolnames(const pg_query_RangeTblFunction* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblFunction_funccolnames_upb_array( + const pg_query_RangeTblFunction* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblFunction_funccolnames_mutable_upb_array( + pg_query_RangeTblFunction* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblFunction_clear_funccoltypes(pg_query_RangeTblFunction* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblFunction_funccoltypes(const pg_query_RangeTblFunction* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblFunction_funccoltypes_upb_array( + const pg_query_RangeTblFunction* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblFunction_funccoltypes_mutable_upb_array( + pg_query_RangeTblFunction* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblFunction_clear_funccoltypmods(pg_query_RangeTblFunction* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblFunction_funccoltypmods(const pg_query_RangeTblFunction* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblFunction_funccoltypmods_upb_array( + const pg_query_RangeTblFunction* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblFunction_funccoltypmods_mutable_upb_array( + pg_query_RangeTblFunction* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblFunction_clear_funccolcollations(pg_query_RangeTblFunction* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RangeTblFunction_funccolcollations(const pg_query_RangeTblFunction* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblFunction_funccolcollations_upb_array( + const pg_query_RangeTblFunction* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblFunction_funccolcollations_mutable_upb_array( + pg_query_RangeTblFunction* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RangeTblFunction_clear_funcparams(pg_query_RangeTblFunction* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint64_t const* pg_query_RangeTblFunction_funcparams(const pg_query_RangeTblFunction* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RangeTblFunction_funcparams_upb_array( + const pg_query_RangeTblFunction* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RangeTblFunction_funcparams_mutable_upb_array( + pg_query_RangeTblFunction* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_RangeTblFunction_set_funcexpr(pg_query_RangeTblFunction* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblFunction_mutable_funcexpr( + pg_query_RangeTblFunction* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RangeTblFunction_funcexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RangeTblFunction_set_funcexpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RangeTblFunction_set_funccolcount(pg_query_RangeTblFunction* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_RangeTblFunction_mutable_funccolnames(pg_query_RangeTblFunction* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblFunction_resize_funccolnames(pg_query_RangeTblFunction* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblFunction_add_funccolnames( + pg_query_RangeTblFunction* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTblFunction_mutable_funccoltypes(pg_query_RangeTblFunction* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblFunction_resize_funccoltypes(pg_query_RangeTblFunction* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblFunction_add_funccoltypes( + pg_query_RangeTblFunction* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTblFunction_mutable_funccoltypmods(pg_query_RangeTblFunction* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblFunction_resize_funccoltypmods(pg_query_RangeTblFunction* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblFunction_add_funccoltypmods( + pg_query_RangeTblFunction* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_RangeTblFunction_mutable_funccolcollations(pg_query_RangeTblFunction* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RangeTblFunction_resize_funccolcollations(pg_query_RangeTblFunction* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RangeTblFunction_add_funccolcollations( + pg_query_RangeTblFunction* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE uint64_t* pg_query_RangeTblFunction_mutable_funcparams(pg_query_RangeTblFunction* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (uint64_t*)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE uint64_t* pg_query_RangeTblFunction_resize_funcparams(pg_query_RangeTblFunction* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (uint64_t*)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE bool pg_query_RangeTblFunction_add_funcparams(pg_query_RangeTblFunction* msg, uint64_t val, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return false; + } + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val)); + return true; +} + +/* pg_query.TableSampleClause */ +UPB_INLINE pg_query_TableSampleClause* pg_query_TableSampleClause_new(upb_Arena* arena) { + return (pg_query_TableSampleClause*)_upb_Message_New(&pg_0query__TableSampleClause_msg_init, arena); +} +UPB_INLINE pg_query_TableSampleClause* pg_query_TableSampleClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_TableSampleClause* ret = pg_query_TableSampleClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TableSampleClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_TableSampleClause* pg_query_TableSampleClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_TableSampleClause* ret = pg_query_TableSampleClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TableSampleClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_TableSampleClause_serialize(const pg_query_TableSampleClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TableSampleClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_TableSampleClause_serialize_ex(const pg_query_TableSampleClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TableSampleClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_TableSampleClause_clear_tsmhandler(pg_query_TableSampleClause* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_TableSampleClause_tsmhandler(const pg_query_TableSampleClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TableSampleClause_clear_args(pg_query_TableSampleClause* msg) { + const upb_MiniTableField field = {2, 16, 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TableSampleClause_args(const pg_query_TableSampleClause* msg, + size_t* size) { + const upb_MiniTableField field = {2, 16, 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TableSampleClause_args_upb_array( + const pg_query_TableSampleClause* msg, size_t* size) { + const upb_MiniTableField field = {2, 16, 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TableSampleClause_args_mutable_upb_array( + pg_query_TableSampleClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, 16, 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TableSampleClause_clear_repeatable(pg_query_TableSampleClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 64, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_TableSampleClause_repeatable(const pg_query_TableSampleClause* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 64, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_TableSampleClause_has_repeatable(const pg_query_TableSampleClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 64, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_TableSampleClause_set_tsmhandler(pg_query_TableSampleClause* msg, uint32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_TableSampleClause_mutable_args(pg_query_TableSampleClause* msg, + size_t* size) { + upb_MiniTableField field = {2, 16, 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TableSampleClause_resize_args(pg_query_TableSampleClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, 16, 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TableSampleClause_add_args( + pg_query_TableSampleClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, 16, 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_TableSampleClause_set_repeatable(pg_query_TableSampleClause* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 64, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_TableSampleClause_mutable_repeatable( + pg_query_TableSampleClause* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_TableSampleClause_repeatable(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_TableSampleClause_set_repeatable(msg, sub); + } + return sub; +} + +/* pg_query.WithCheckOption */ +UPB_INLINE pg_query_WithCheckOption* pg_query_WithCheckOption_new(upb_Arena* arena) { + return (pg_query_WithCheckOption*)_upb_Message_New(&pg_0query__WithCheckOption_msg_init, arena); +} +UPB_INLINE pg_query_WithCheckOption* pg_query_WithCheckOption_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_WithCheckOption* ret = pg_query_WithCheckOption_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WithCheckOption_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_WithCheckOption* pg_query_WithCheckOption_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_WithCheckOption* ret = pg_query_WithCheckOption_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WithCheckOption_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_WithCheckOption_serialize(const pg_query_WithCheckOption* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WithCheckOption_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_WithCheckOption_serialize_ex(const pg_query_WithCheckOption* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WithCheckOption_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_WithCheckOption_clear_kind(pg_query_WithCheckOption* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_WithCheckOption_kind(const pg_query_WithCheckOption* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WithCheckOption_clear_relname(pg_query_WithCheckOption* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_WithCheckOption_relname(const pg_query_WithCheckOption* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WithCheckOption_clear_polname(pg_query_WithCheckOption* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_WithCheckOption_polname(const pg_query_WithCheckOption* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WithCheckOption_clear_qual(pg_query_WithCheckOption* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 48), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_WithCheckOption_qual(const pg_query_WithCheckOption* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 48), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_WithCheckOption_has_qual(const pg_query_WithCheckOption* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 48), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_WithCheckOption_clear_cascaded(pg_query_WithCheckOption* msg) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_WithCheckOption_cascaded(const pg_query_WithCheckOption* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_WithCheckOption_set_kind(pg_query_WithCheckOption* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WithCheckOption_set_relname(pg_query_WithCheckOption* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WithCheckOption_set_polname(pg_query_WithCheckOption* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WithCheckOption_set_qual(pg_query_WithCheckOption* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 48), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_WithCheckOption_mutable_qual( + pg_query_WithCheckOption* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_WithCheckOption_qual(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_WithCheckOption_set_qual(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_WithCheckOption_set_cascaded(pg_query_WithCheckOption* msg, bool value) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SortGroupClause */ +UPB_INLINE pg_query_SortGroupClause* pg_query_SortGroupClause_new(upb_Arena* arena) { + return (pg_query_SortGroupClause*)_upb_Message_New(&pg_0query__SortGroupClause_msg_init, arena); +} +UPB_INLINE pg_query_SortGroupClause* pg_query_SortGroupClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SortGroupClause* ret = pg_query_SortGroupClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SortGroupClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SortGroupClause* pg_query_SortGroupClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SortGroupClause* ret = pg_query_SortGroupClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SortGroupClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SortGroupClause_serialize(const pg_query_SortGroupClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SortGroupClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SortGroupClause_serialize_ex(const pg_query_SortGroupClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SortGroupClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SortGroupClause_clear_tle_sort_group_ref(pg_query_SortGroupClause* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SortGroupClause_tle_sort_group_ref(const pg_query_SortGroupClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SortGroupClause_clear_eqop(pg_query_SortGroupClause* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SortGroupClause_eqop(const pg_query_SortGroupClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SortGroupClause_clear_sortop(pg_query_SortGroupClause* msg) { + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_SortGroupClause_sortop(const pg_query_SortGroupClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SortGroupClause_clear_reverse_sort(pg_query_SortGroupClause* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_SortGroupClause_reverse_sort(const pg_query_SortGroupClause* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SortGroupClause_clear_nulls_first(pg_query_SortGroupClause* msg) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_SortGroupClause_nulls_first(const pg_query_SortGroupClause* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SortGroupClause_clear_hashable(pg_query_SortGroupClause* msg) { + const upb_MiniTableField field = {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_SortGroupClause_hashable(const pg_query_SortGroupClause* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_SortGroupClause_set_tle_sort_group_ref(pg_query_SortGroupClause* msg, uint32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SortGroupClause_set_eqop(pg_query_SortGroupClause* msg, uint32_t value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SortGroupClause_set_sortop(pg_query_SortGroupClause* msg, uint32_t value) { + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SortGroupClause_set_reverse_sort(pg_query_SortGroupClause* msg, bool value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SortGroupClause_set_nulls_first(pg_query_SortGroupClause* msg, bool value) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SortGroupClause_set_hashable(pg_query_SortGroupClause* msg, bool value) { + const upb_MiniTableField field = {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.GroupingSet */ +UPB_INLINE pg_query_GroupingSet* pg_query_GroupingSet_new(upb_Arena* arena) { + return (pg_query_GroupingSet*)_upb_Message_New(&pg_0query__GroupingSet_msg_init, arena); +} +UPB_INLINE pg_query_GroupingSet* pg_query_GroupingSet_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_GroupingSet* ret = pg_query_GroupingSet_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__GroupingSet_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_GroupingSet* pg_query_GroupingSet_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_GroupingSet* ret = pg_query_GroupingSet_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__GroupingSet_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_GroupingSet_serialize(const pg_query_GroupingSet* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__GroupingSet_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_GroupingSet_serialize_ex(const pg_query_GroupingSet* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__GroupingSet_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_GroupingSet_clear_kind(pg_query_GroupingSet* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_GroupingSet_kind(const pg_query_GroupingSet* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_GroupingSet_clear_content(pg_query_GroupingSet* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_GroupingSet_content(const pg_query_GroupingSet* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_GroupingSet_content_upb_array( + const pg_query_GroupingSet* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_GroupingSet_content_mutable_upb_array( + pg_query_GroupingSet* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_GroupingSet_clear_location(pg_query_GroupingSet* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_GroupingSet_location(const pg_query_GroupingSet* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_GroupingSet_set_kind(pg_query_GroupingSet* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_GroupingSet_mutable_content(pg_query_GroupingSet* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_GroupingSet_resize_content(pg_query_GroupingSet* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_GroupingSet_add_content( + pg_query_GroupingSet* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_GroupingSet_set_location(pg_query_GroupingSet* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.WindowClause */ +UPB_INLINE pg_query_WindowClause* pg_query_WindowClause_new(upb_Arena* arena) { + return (pg_query_WindowClause*)_upb_Message_New(&pg_0query__WindowClause_msg_init, arena); +} +UPB_INLINE pg_query_WindowClause* pg_query_WindowClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_WindowClause* ret = pg_query_WindowClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WindowClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_WindowClause* pg_query_WindowClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_WindowClause* ret = pg_query_WindowClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WindowClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_WindowClause_serialize(const pg_query_WindowClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WindowClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_WindowClause_serialize_ex(const pg_query_WindowClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WindowClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_WindowClause_clear_name(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_WindowClause_name(const pg_query_WindowClause* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowClause_clear_refname(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(56, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_WindowClause_refname(const pg_query_WindowClause* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(56, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowClause_clear_partition_clause(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, 36, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_WindowClause_partition_clause(const pg_query_WindowClause* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, 36, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_WindowClause_partition_clause_upb_array( + const pg_query_WindowClause* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, 36, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_WindowClause_partition_clause_mutable_upb_array( + pg_query_WindowClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, 36, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_WindowClause_clear_order_clause(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, UPB_SIZE(34, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_WindowClause_order_clause(const pg_query_WindowClause* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, UPB_SIZE(34, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_WindowClause_order_clause_upb_array( + const pg_query_WindowClause* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, UPB_SIZE(34, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_WindowClause_order_clause_mutable_upb_array( + pg_query_WindowClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, UPB_SIZE(34, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_WindowClause_clear_frame_options(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_WindowClause_frame_options(const pg_query_WindowClause* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowClause_clear_start_offset(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 80), 64, UPB_SIZE(29, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_WindowClause_start_offset(const pg_query_WindowClause* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {6, UPB_SIZE(24, 80), 64, UPB_SIZE(29, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_WindowClause_has_start_offset(const pg_query_WindowClause* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 80), 64, UPB_SIZE(29, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_WindowClause_clear_end_offset(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 88), 65, UPB_SIZE(27, 30), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_WindowClause_end_offset(const pg_query_WindowClause* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {7, UPB_SIZE(28, 88), 65, UPB_SIZE(27, 30), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_WindowClause_has_end_offset(const pg_query_WindowClause* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 88), 65, UPB_SIZE(27, 30), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_WindowClause_clear_start_in_range_func(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowClause_start_in_range_func(const pg_query_WindowClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowClause_clear_end_in_range_func(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowClause_end_in_range_func(const pg_query_WindowClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowClause_clear_in_range_coll(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowClause_in_range_coll(const pg_query_WindowClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {10, UPB_SIZE(40, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowClause_clear_in_range_asc(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {11, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_WindowClause_in_range_asc(const pg_query_WindowClause* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {11, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowClause_clear_in_range_nulls_first(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {12, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_WindowClause_in_range_nulls_first(const pg_query_WindowClause* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {12, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowClause_clear_winref(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(44, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_WindowClause_winref(const pg_query_WindowClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {13, UPB_SIZE(44, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WindowClause_clear_copied_order(pg_query_WindowClause* msg) { + const upb_MiniTableField field = {14, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_WindowClause_copied_order(const pg_query_WindowClause* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {14, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_WindowClause_set_name(pg_query_WindowClause* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowClause_set_refname(pg_query_WindowClause* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(56, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_WindowClause_mutable_partition_clause(pg_query_WindowClause* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, 36, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_WindowClause_resize_partition_clause(pg_query_WindowClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, 36, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowClause_add_partition_clause( + pg_query_WindowClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, 36, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_WindowClause_mutable_order_clause(pg_query_WindowClause* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, UPB_SIZE(34, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_WindowClause_resize_order_clause(pg_query_WindowClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, UPB_SIZE(34, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowClause_add_order_clause( + pg_query_WindowClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, UPB_SIZE(34, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_WindowClause_set_frame_options(pg_query_WindowClause* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowClause_set_start_offset(pg_query_WindowClause* msg, pg_query_Node* value) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 80), 64, UPB_SIZE(29, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowClause_mutable_start_offset( + pg_query_WindowClause* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_WindowClause_start_offset(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_WindowClause_set_start_offset(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_WindowClause_set_end_offset(pg_query_WindowClause* msg, pg_query_Node* value) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 88), 65, UPB_SIZE(27, 30), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_WindowClause_mutable_end_offset( + pg_query_WindowClause* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_WindowClause_end_offset(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_WindowClause_set_end_offset(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_WindowClause_set_start_in_range_func(pg_query_WindowClause* msg, uint32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowClause_set_end_in_range_func(pg_query_WindowClause* msg, uint32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowClause_set_in_range_coll(pg_query_WindowClause* msg, uint32_t value) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowClause_set_in_range_asc(pg_query_WindowClause* msg, bool value) { + const upb_MiniTableField field = {11, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowClause_set_in_range_nulls_first(pg_query_WindowClause* msg, bool value) { + const upb_MiniTableField field = {12, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowClause_set_winref(pg_query_WindowClause* msg, uint32_t value) { + const upb_MiniTableField field = {13, UPB_SIZE(44, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WindowClause_set_copied_order(pg_query_WindowClause* msg, bool value) { + const upb_MiniTableField field = {14, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RowMarkClause */ +UPB_INLINE pg_query_RowMarkClause* pg_query_RowMarkClause_new(upb_Arena* arena) { + return (pg_query_RowMarkClause*)_upb_Message_New(&pg_0query__RowMarkClause_msg_init, arena); +} +UPB_INLINE pg_query_RowMarkClause* pg_query_RowMarkClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RowMarkClause* ret = pg_query_RowMarkClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RowMarkClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RowMarkClause* pg_query_RowMarkClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RowMarkClause* ret = pg_query_RowMarkClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RowMarkClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RowMarkClause_serialize(const pg_query_RowMarkClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RowMarkClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RowMarkClause_serialize_ex(const pg_query_RowMarkClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RowMarkClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RowMarkClause_clear_rti(pg_query_RowMarkClause* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_RowMarkClause_rti(const pg_query_RowMarkClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RowMarkClause_clear_strength(pg_query_RowMarkClause* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RowMarkClause_strength(const pg_query_RowMarkClause* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RowMarkClause_clear_wait_policy(pg_query_RowMarkClause* msg) { + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RowMarkClause_wait_policy(const pg_query_RowMarkClause* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RowMarkClause_clear_pushed_down(pg_query_RowMarkClause* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RowMarkClause_pushed_down(const pg_query_RowMarkClause* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RowMarkClause_set_rti(pg_query_RowMarkClause* msg, uint32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RowMarkClause_set_strength(pg_query_RowMarkClause* msg, int32_t value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RowMarkClause_set_wait_policy(pg_query_RowMarkClause* msg, int32_t value) { + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RowMarkClause_set_pushed_down(pg_query_RowMarkClause* msg, bool value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.WithClause */ +UPB_INLINE pg_query_WithClause* pg_query_WithClause_new(upb_Arena* arena) { + return (pg_query_WithClause*)_upb_Message_New(&pg_0query__WithClause_msg_init, arena); +} +UPB_INLINE pg_query_WithClause* pg_query_WithClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_WithClause* ret = pg_query_WithClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WithClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_WithClause* pg_query_WithClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_WithClause* ret = pg_query_WithClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__WithClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_WithClause_serialize(const pg_query_WithClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WithClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_WithClause_serialize_ex(const pg_query_WithClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__WithClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_WithClause_clear_ctes(pg_query_WithClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_WithClause_ctes(const pg_query_WithClause* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_WithClause_ctes_upb_array( + const pg_query_WithClause* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_WithClause_ctes_mutable_upb_array( + pg_query_WithClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_WithClause_clear_recursive(pg_query_WithClause* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_WithClause_recursive(const pg_query_WithClause* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_WithClause_clear_location(pg_query_WithClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_WithClause_location(const pg_query_WithClause* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_WithClause_mutable_ctes(pg_query_WithClause* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_WithClause_resize_ctes(pg_query_WithClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_WithClause_add_ctes( + pg_query_WithClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_WithClause_set_recursive(pg_query_WithClause* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_WithClause_set_location(pg_query_WithClause* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.InferClause */ +UPB_INLINE pg_query_InferClause* pg_query_InferClause_new(upb_Arena* arena) { + return (pg_query_InferClause*)_upb_Message_New(&pg_0query__InferClause_msg_init, arena); +} +UPB_INLINE pg_query_InferClause* pg_query_InferClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_InferClause* ret = pg_query_InferClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__InferClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_InferClause* pg_query_InferClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_InferClause* ret = pg_query_InferClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__InferClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_InferClause_serialize(const pg_query_InferClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__InferClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_InferClause_serialize_ex(const pg_query_InferClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__InferClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_InferClause_clear_index_elems(pg_query_InferClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_InferClause_index_elems(const pg_query_InferClause* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_InferClause_index_elems_upb_array( + const pg_query_InferClause* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_InferClause_index_elems_mutable_upb_array( + pg_query_InferClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_InferClause_clear_where_clause(pg_query_InferClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_InferClause_where_clause(const pg_query_InferClause* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_InferClause_has_where_clause(const pg_query_InferClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_InferClause_clear_conname(pg_query_InferClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_InferClause_conname(const pg_query_InferClause* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_InferClause_clear_location(pg_query_InferClause* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_InferClause_location(const pg_query_InferClause* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_InferClause_mutable_index_elems(pg_query_InferClause* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_InferClause_resize_index_elems(pg_query_InferClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_InferClause_add_index_elems( + pg_query_InferClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_InferClause_set_where_clause(pg_query_InferClause* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_InferClause_mutable_where_clause( + pg_query_InferClause* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_InferClause_where_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_InferClause_set_where_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_InferClause_set_conname(pg_query_InferClause* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_InferClause_set_location(pg_query_InferClause* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.OnConflictClause */ +UPB_INLINE pg_query_OnConflictClause* pg_query_OnConflictClause_new(upb_Arena* arena) { + return (pg_query_OnConflictClause*)_upb_Message_New(&pg_0query__OnConflictClause_msg_init, arena); +} +UPB_INLINE pg_query_OnConflictClause* pg_query_OnConflictClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_OnConflictClause* ret = pg_query_OnConflictClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__OnConflictClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_OnConflictClause* pg_query_OnConflictClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_OnConflictClause* ret = pg_query_OnConflictClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__OnConflictClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_OnConflictClause_serialize(const pg_query_OnConflictClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__OnConflictClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_OnConflictClause_serialize_ex(const pg_query_OnConflictClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__OnConflictClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_OnConflictClause_clear_action(pg_query_OnConflictClause* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_OnConflictClause_action(const pg_query_OnConflictClause* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_OnConflictClause_clear_infer(pg_query_OnConflictClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_InferClause* pg_query_OnConflictClause_infer(const pg_query_OnConflictClause* msg) { + const pg_query_InferClause* default_val = NULL; + const pg_query_InferClause* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__InferClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_OnConflictClause_has_infer(const pg_query_OnConflictClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_OnConflictClause_clear_target_list(pg_query_OnConflictClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_OnConflictClause_target_list(const pg_query_OnConflictClause* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_OnConflictClause_target_list_upb_array( + const pg_query_OnConflictClause* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_OnConflictClause_target_list_mutable_upb_array( + pg_query_OnConflictClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_OnConflictClause_clear_where_clause(pg_query_OnConflictClause* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_OnConflictClause_where_clause(const pg_query_OnConflictClause* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_OnConflictClause_has_where_clause(const pg_query_OnConflictClause* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_OnConflictClause_clear_location(pg_query_OnConflictClause* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_OnConflictClause_location(const pg_query_OnConflictClause* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_OnConflictClause_set_action(pg_query_OnConflictClause* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_OnConflictClause_set_infer(pg_query_OnConflictClause* msg, pg_query_InferClause* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__InferClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_InferClause* pg_query_OnConflictClause_mutable_infer( + pg_query_OnConflictClause* msg, upb_Arena* arena) { + struct pg_query_InferClause* sub = (struct pg_query_InferClause*)pg_query_OnConflictClause_infer(msg); + if (sub == NULL) { + sub = (struct pg_query_InferClause*)_upb_Message_New(&pg_0query__InferClause_msg_init, arena); + if (sub) pg_query_OnConflictClause_set_infer(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_OnConflictClause_mutable_target_list(pg_query_OnConflictClause* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_OnConflictClause_resize_target_list(pg_query_OnConflictClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_OnConflictClause_add_target_list( + pg_query_OnConflictClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_OnConflictClause_set_where_clause(pg_query_OnConflictClause* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_OnConflictClause_mutable_where_clause( + pg_query_OnConflictClause* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_OnConflictClause_where_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_OnConflictClause_set_where_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_OnConflictClause_set_location(pg_query_OnConflictClause* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CTESearchClause */ +UPB_INLINE pg_query_CTESearchClause* pg_query_CTESearchClause_new(upb_Arena* arena) { + return (pg_query_CTESearchClause*)_upb_Message_New(&pg_0query__CTESearchClause_msg_init, arena); +} +UPB_INLINE pg_query_CTESearchClause* pg_query_CTESearchClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CTESearchClause* ret = pg_query_CTESearchClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CTESearchClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CTESearchClause* pg_query_CTESearchClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CTESearchClause* ret = pg_query_CTESearchClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CTESearchClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CTESearchClause_serialize(const pg_query_CTESearchClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CTESearchClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CTESearchClause_serialize_ex(const pg_query_CTESearchClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CTESearchClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CTESearchClause_clear_search_col_list(pg_query_CTESearchClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CTESearchClause_search_col_list(const pg_query_CTESearchClause* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CTESearchClause_search_col_list_upb_array( + const pg_query_CTESearchClause* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CTESearchClause_search_col_list_mutable_upb_array( + pg_query_CTESearchClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CTESearchClause_clear_search_breadth_first(pg_query_CTESearchClause* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CTESearchClause_search_breadth_first(const pg_query_CTESearchClause* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CTESearchClause_clear_search_seq_column(pg_query_CTESearchClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CTESearchClause_search_seq_column(const pg_query_CTESearchClause* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CTESearchClause_clear_location(pg_query_CTESearchClause* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CTESearchClause_location(const pg_query_CTESearchClause* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_CTESearchClause_mutable_search_col_list(pg_query_CTESearchClause* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CTESearchClause_resize_search_col_list(pg_query_CTESearchClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CTESearchClause_add_search_col_list( + pg_query_CTESearchClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CTESearchClause_set_search_breadth_first(pg_query_CTESearchClause* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CTESearchClause_set_search_seq_column(pg_query_CTESearchClause* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CTESearchClause_set_location(pg_query_CTESearchClause* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CTECycleClause */ +UPB_INLINE pg_query_CTECycleClause* pg_query_CTECycleClause_new(upb_Arena* arena) { + return (pg_query_CTECycleClause*)_upb_Message_New(&pg_0query__CTECycleClause_msg_init, arena); +} +UPB_INLINE pg_query_CTECycleClause* pg_query_CTECycleClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CTECycleClause* ret = pg_query_CTECycleClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CTECycleClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CTECycleClause* pg_query_CTECycleClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CTECycleClause* ret = pg_query_CTECycleClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CTECycleClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CTECycleClause_serialize(const pg_query_CTECycleClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CTECycleClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CTECycleClause_serialize_ex(const pg_query_CTECycleClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CTECycleClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CTECycleClause_clear_cycle_col_list(pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 30, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CTECycleClause_cycle_col_list(const pg_query_CTECycleClause* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 30, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CTECycleClause_cycle_col_list_upb_array( + const pg_query_CTECycleClause* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 30, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CTECycleClause_cycle_col_list_mutable_upb_array( + pg_query_CTECycleClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 30, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CTECycleClause_clear_cycle_mark_column(pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(44, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CTECycleClause_cycle_mark_column(const pg_query_CTECycleClause* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(44, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CTECycleClause_clear_cycle_mark_value(pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 72), 64, UPB_SIZE(25, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CTECycleClause_cycle_mark_value(const pg_query_CTECycleClause* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 72), 64, UPB_SIZE(25, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CTECycleClause_has_cycle_mark_value(const pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 72), 64, UPB_SIZE(25, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CTECycleClause_clear_cycle_mark_default(pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 80), 65, UPB_SIZE(23, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CTECycleClause_cycle_mark_default(const pg_query_CTECycleClause* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 80), 65, UPB_SIZE(23, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CTECycleClause_has_cycle_mark_default(const pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 80), 65, UPB_SIZE(23, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CTECycleClause_clear_cycle_path_column(pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(52, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CTECycleClause_cycle_path_column(const pg_query_CTECycleClause* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {5, UPB_SIZE(52, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CTECycleClause_clear_location(pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CTECycleClause_location(const pg_query_CTECycleClause* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CTECycleClause_clear_cycle_mark_type(pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CTECycleClause_cycle_mark_type(const pg_query_CTECycleClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(28, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CTECycleClause_clear_cycle_mark_typmod(pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CTECycleClause_cycle_mark_typmod(const pg_query_CTECycleClause* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CTECycleClause_clear_cycle_mark_collation(pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CTECycleClause_cycle_mark_collation(const pg_query_CTECycleClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(36, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CTECycleClause_clear_cycle_mark_neop(pg_query_CTECycleClause* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CTECycleClause_cycle_mark_neop(const pg_query_CTECycleClause* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {10, UPB_SIZE(40, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_CTECycleClause_mutable_cycle_col_list(pg_query_CTECycleClause* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 30, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CTECycleClause_resize_cycle_col_list(pg_query_CTECycleClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 30, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CTECycleClause_add_cycle_col_list( + pg_query_CTECycleClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 30, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CTECycleClause_set_cycle_mark_column(pg_query_CTECycleClause* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(44, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CTECycleClause_set_cycle_mark_value(pg_query_CTECycleClause* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 72), 64, UPB_SIZE(25, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CTECycleClause_mutable_cycle_mark_value( + pg_query_CTECycleClause* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CTECycleClause_cycle_mark_value(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CTECycleClause_set_cycle_mark_value(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CTECycleClause_set_cycle_mark_default(pg_query_CTECycleClause* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 80), 65, UPB_SIZE(23, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CTECycleClause_mutable_cycle_mark_default( + pg_query_CTECycleClause* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CTECycleClause_cycle_mark_default(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CTECycleClause_set_cycle_mark_default(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CTECycleClause_set_cycle_path_column(pg_query_CTECycleClause* msg, upb_StringView value) { + const upb_MiniTableField field = {5, UPB_SIZE(52, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CTECycleClause_set_location(pg_query_CTECycleClause* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CTECycleClause_set_cycle_mark_type(pg_query_CTECycleClause* msg, uint32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CTECycleClause_set_cycle_mark_typmod(pg_query_CTECycleClause* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CTECycleClause_set_cycle_mark_collation(pg_query_CTECycleClause* msg, uint32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CTECycleClause_set_cycle_mark_neop(pg_query_CTECycleClause* msg, uint32_t value) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CommonTableExpr */ +UPB_INLINE pg_query_CommonTableExpr* pg_query_CommonTableExpr_new(upb_Arena* arena) { + return (pg_query_CommonTableExpr*)_upb_Message_New(&pg_0query__CommonTableExpr_msg_init, arena); +} +UPB_INLINE pg_query_CommonTableExpr* pg_query_CommonTableExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CommonTableExpr* ret = pg_query_CommonTableExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CommonTableExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CommonTableExpr* pg_query_CommonTableExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CommonTableExpr* ret = pg_query_CommonTableExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CommonTableExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CommonTableExpr_serialize(const pg_query_CommonTableExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CommonTableExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CommonTableExpr_serialize_ex(const pg_query_CommonTableExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CommonTableExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CommonTableExpr_clear_ctename(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(56, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CommonTableExpr_ctename(const pg_query_CommonTableExpr* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(56, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CommonTableExpr_clear_aliascolnames(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CommonTableExpr_aliascolnames(const pg_query_CommonTableExpr* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CommonTableExpr_aliascolnames_upb_array( + const pg_query_CommonTableExpr* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CommonTableExpr_aliascolnames_mutable_upb_array( + pg_query_CommonTableExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CommonTableExpr_clear_ctematerialized(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CommonTableExpr_ctematerialized(const pg_query_CommonTableExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CommonTableExpr_clear_ctequery(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CommonTableExpr_ctequery(const pg_query_CommonTableExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CommonTableExpr_has_ctequery(const pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CommonTableExpr_clear_search_clause(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CTESearchClause* pg_query_CommonTableExpr_search_clause(const pg_query_CommonTableExpr* msg) { + const pg_query_CTESearchClause* default_val = NULL; + const pg_query_CTESearchClause* ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CTESearchClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CommonTableExpr_has_search_clause(const pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CommonTableExpr_clear_cycle_clause(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66, UPB_SIZE(27, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CTECycleClause* pg_query_CommonTableExpr_cycle_clause(const pg_query_CommonTableExpr* msg) { + const pg_query_CTECycleClause* default_val = NULL; + const pg_query_CTECycleClause* ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66, UPB_SIZE(27, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CTECycleClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CommonTableExpr_has_cycle_clause(const pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66, UPB_SIZE(27, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CommonTableExpr_clear_location(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CommonTableExpr_location(const pg_query_CommonTableExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CommonTableExpr_clear_cterecursive(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CommonTableExpr_cterecursive(const pg_query_CommonTableExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CommonTableExpr_clear_cterefcount(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CommonTableExpr_cterefcount(const pg_query_CommonTableExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CommonTableExpr_clear_ctecolnames(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 72), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CommonTableExpr_ctecolnames(const pg_query_CommonTableExpr* msg, + size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 72), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CommonTableExpr_ctecolnames_upb_array( + const pg_query_CommonTableExpr* msg, size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 72), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CommonTableExpr_ctecolnames_mutable_upb_array( + pg_query_CommonTableExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {10, UPB_SIZE(40, 72), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CommonTableExpr_clear_ctecoltypes(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 80), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CommonTableExpr_ctecoltypes(const pg_query_CommonTableExpr* msg, + size_t* size) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 80), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CommonTableExpr_ctecoltypes_upb_array( + const pg_query_CommonTableExpr* msg, size_t* size) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 80), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CommonTableExpr_ctecoltypes_mutable_upb_array( + pg_query_CommonTableExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 80), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CommonTableExpr_clear_ctecoltypmods(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(48, 88), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CommonTableExpr_ctecoltypmods(const pg_query_CommonTableExpr* msg, + size_t* size) { + const upb_MiniTableField field = {12, UPB_SIZE(48, 88), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CommonTableExpr_ctecoltypmods_upb_array( + const pg_query_CommonTableExpr* msg, size_t* size) { + const upb_MiniTableField field = {12, UPB_SIZE(48, 88), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CommonTableExpr_ctecoltypmods_mutable_upb_array( + pg_query_CommonTableExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {12, UPB_SIZE(48, 88), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CommonTableExpr_clear_ctecolcollations(pg_query_CommonTableExpr* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(52, 96), 0, UPB_SIZE(10, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CommonTableExpr_ctecolcollations(const pg_query_CommonTableExpr* msg, + size_t* size) { + const upb_MiniTableField field = {13, UPB_SIZE(52, 96), 0, UPB_SIZE(10, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CommonTableExpr_ctecolcollations_upb_array( + const pg_query_CommonTableExpr* msg, size_t* size) { + const upb_MiniTableField field = {13, UPB_SIZE(52, 96), 0, UPB_SIZE(10, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CommonTableExpr_ctecolcollations_mutable_upb_array( + pg_query_CommonTableExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {13, UPB_SIZE(52, 96), 0, UPB_SIZE(10, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CommonTableExpr_set_ctename(pg_query_CommonTableExpr* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(56, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CommonTableExpr_mutable_aliascolnames(pg_query_CommonTableExpr* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CommonTableExpr_resize_aliascolnames(pg_query_CommonTableExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CommonTableExpr_add_aliascolnames( + pg_query_CommonTableExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CommonTableExpr_set_ctematerialized(pg_query_CommonTableExpr* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CommonTableExpr_set_ctequery(pg_query_CommonTableExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CommonTableExpr_mutable_ctequery( + pg_query_CommonTableExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CommonTableExpr_ctequery(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CommonTableExpr_set_ctequery(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CommonTableExpr_set_search_clause(pg_query_CommonTableExpr* msg, pg_query_CTESearchClause* value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CTESearchClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CTESearchClause* pg_query_CommonTableExpr_mutable_search_clause( + pg_query_CommonTableExpr* msg, upb_Arena* arena) { + struct pg_query_CTESearchClause* sub = (struct pg_query_CTESearchClause*)pg_query_CommonTableExpr_search_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_CTESearchClause*)_upb_Message_New(&pg_0query__CTESearchClause_msg_init, arena); + if (sub) pg_query_CommonTableExpr_set_search_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CommonTableExpr_set_cycle_clause(pg_query_CommonTableExpr* msg, pg_query_CTECycleClause* value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66, UPB_SIZE(27, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CTECycleClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CTECycleClause* pg_query_CommonTableExpr_mutable_cycle_clause( + pg_query_CommonTableExpr* msg, upb_Arena* arena) { + struct pg_query_CTECycleClause* sub = (struct pg_query_CTECycleClause*)pg_query_CommonTableExpr_cycle_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_CTECycleClause*)_upb_Message_New(&pg_0query__CTECycleClause_msg_init, arena); + if (sub) pg_query_CommonTableExpr_set_cycle_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CommonTableExpr_set_location(pg_query_CommonTableExpr* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CommonTableExpr_set_cterecursive(pg_query_CommonTableExpr* msg, bool value) { + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CommonTableExpr_set_cterefcount(pg_query_CommonTableExpr* msg, int32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CommonTableExpr_mutable_ctecolnames(pg_query_CommonTableExpr* msg, + size_t* size) { + upb_MiniTableField field = {10, UPB_SIZE(40, 72), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CommonTableExpr_resize_ctecolnames(pg_query_CommonTableExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(40, 72), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CommonTableExpr_add_ctecolnames( + pg_query_CommonTableExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(40, 72), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CommonTableExpr_mutable_ctecoltypes(pg_query_CommonTableExpr* msg, + size_t* size) { + upb_MiniTableField field = {11, UPB_SIZE(44, 80), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CommonTableExpr_resize_ctecoltypes(pg_query_CommonTableExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {11, UPB_SIZE(44, 80), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CommonTableExpr_add_ctecoltypes( + pg_query_CommonTableExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {11, UPB_SIZE(44, 80), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CommonTableExpr_mutable_ctecoltypmods(pg_query_CommonTableExpr* msg, + size_t* size) { + upb_MiniTableField field = {12, UPB_SIZE(48, 88), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CommonTableExpr_resize_ctecoltypmods(pg_query_CommonTableExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {12, UPB_SIZE(48, 88), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CommonTableExpr_add_ctecoltypmods( + pg_query_CommonTableExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {12, UPB_SIZE(48, 88), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CommonTableExpr_mutable_ctecolcollations(pg_query_CommonTableExpr* msg, + size_t* size) { + upb_MiniTableField field = {13, UPB_SIZE(52, 96), 0, UPB_SIZE(10, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CommonTableExpr_resize_ctecolcollations(pg_query_CommonTableExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {13, UPB_SIZE(52, 96), 0, UPB_SIZE(10, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CommonTableExpr_add_ctecolcollations( + pg_query_CommonTableExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {13, UPB_SIZE(52, 96), 0, UPB_SIZE(10, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.MergeWhenClause */ +UPB_INLINE pg_query_MergeWhenClause* pg_query_MergeWhenClause_new(upb_Arena* arena) { + return (pg_query_MergeWhenClause*)_upb_Message_New(&pg_0query__MergeWhenClause_msg_init, arena); +} +UPB_INLINE pg_query_MergeWhenClause* pg_query_MergeWhenClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_MergeWhenClause* ret = pg_query_MergeWhenClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MergeWhenClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_MergeWhenClause* pg_query_MergeWhenClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_MergeWhenClause* ret = pg_query_MergeWhenClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MergeWhenClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_MergeWhenClause_serialize(const pg_query_MergeWhenClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MergeWhenClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_MergeWhenClause_serialize_ex(const pg_query_MergeWhenClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MergeWhenClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_MergeWhenClause_clear_match_kind(pg_query_MergeWhenClause* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MergeWhenClause_match_kind(const pg_query_MergeWhenClause* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MergeWhenClause_clear_command_type(pg_query_MergeWhenClause* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MergeWhenClause_command_type(const pg_query_MergeWhenClause* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MergeWhenClause_clear_override(pg_query_MergeWhenClause* msg) { + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_MergeWhenClause_override(const pg_query_MergeWhenClause* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_MergeWhenClause_clear_condition(pg_query_MergeWhenClause* msg) { + const upb_MiniTableField field = {4, 24, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_MergeWhenClause_condition(const pg_query_MergeWhenClause* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, 24, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_MergeWhenClause_has_condition(const pg_query_MergeWhenClause* msg) { + const upb_MiniTableField field = {4, 24, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_MergeWhenClause_clear_target_list(pg_query_MergeWhenClause* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_MergeWhenClause_target_list(const pg_query_MergeWhenClause* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_MergeWhenClause_target_list_upb_array( + const pg_query_MergeWhenClause* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_MergeWhenClause_target_list_mutable_upb_array( + pg_query_MergeWhenClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_MergeWhenClause_clear_values(pg_query_MergeWhenClause* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_MergeWhenClause_values(const pg_query_MergeWhenClause* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_MergeWhenClause_values_upb_array( + const pg_query_MergeWhenClause* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_MergeWhenClause_values_mutable_upb_array( + pg_query_MergeWhenClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_MergeWhenClause_set_match_kind(pg_query_MergeWhenClause* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MergeWhenClause_set_command_type(pg_query_MergeWhenClause* msg, int32_t value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MergeWhenClause_set_override(pg_query_MergeWhenClause* msg, int32_t value) { + const upb_MiniTableField field = {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_MergeWhenClause_set_condition(pg_query_MergeWhenClause* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, 24, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_MergeWhenClause_mutable_condition( + pg_query_MergeWhenClause* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_MergeWhenClause_condition(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_MergeWhenClause_set_condition(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_MergeWhenClause_mutable_target_list(pg_query_MergeWhenClause* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_MergeWhenClause_resize_target_list(pg_query_MergeWhenClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_MergeWhenClause_add_target_list( + pg_query_MergeWhenClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_MergeWhenClause_mutable_values(pg_query_MergeWhenClause* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_MergeWhenClause_resize_values(pg_query_MergeWhenClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_MergeWhenClause_add_values( + pg_query_MergeWhenClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.ReturningOption */ +UPB_INLINE pg_query_ReturningOption* pg_query_ReturningOption_new(upb_Arena* arena) { + return (pg_query_ReturningOption*)_upb_Message_New(&pg_0query__ReturningOption_msg_init, arena); +} +UPB_INLINE pg_query_ReturningOption* pg_query_ReturningOption_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ReturningOption* ret = pg_query_ReturningOption_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReturningOption_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ReturningOption* pg_query_ReturningOption_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ReturningOption* ret = pg_query_ReturningOption_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReturningOption_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ReturningOption_serialize(const pg_query_ReturningOption* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReturningOption_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ReturningOption_serialize_ex(const pg_query_ReturningOption* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReturningOption_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ReturningOption_clear_option(pg_query_ReturningOption* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ReturningOption_option(const pg_query_ReturningOption* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ReturningOption_clear_value(pg_query_ReturningOption* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ReturningOption_value(const pg_query_ReturningOption* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ReturningOption_clear_location(pg_query_ReturningOption* msg) { + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ReturningOption_location(const pg_query_ReturningOption* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ReturningOption_set_option(pg_query_ReturningOption* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ReturningOption_set_value(pg_query_ReturningOption* msg, upb_StringView value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ReturningOption_set_location(pg_query_ReturningOption* msg, int32_t value) { + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ReturningClause */ +UPB_INLINE pg_query_ReturningClause* pg_query_ReturningClause_new(upb_Arena* arena) { + return (pg_query_ReturningClause*)_upb_Message_New(&pg_0query__ReturningClause_msg_init, arena); +} +UPB_INLINE pg_query_ReturningClause* pg_query_ReturningClause_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ReturningClause* ret = pg_query_ReturningClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReturningClause_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ReturningClause* pg_query_ReturningClause_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ReturningClause* ret = pg_query_ReturningClause_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReturningClause_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ReturningClause_serialize(const pg_query_ReturningClause* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReturningClause_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ReturningClause_serialize_ex(const pg_query_ReturningClause* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReturningClause_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ReturningClause_clear_options(pg_query_ReturningClause* msg) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ReturningClause_options(const pg_query_ReturningClause* msg, + size_t* size) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ReturningClause_options_upb_array( + const pg_query_ReturningClause* msg, size_t* size) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ReturningClause_options_mutable_upb_array( + pg_query_ReturningClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ReturningClause_clear_exprs(pg_query_ReturningClause* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ReturningClause_exprs(const pg_query_ReturningClause* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ReturningClause_exprs_upb_array( + const pg_query_ReturningClause* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ReturningClause_exprs_mutable_upb_array( + pg_query_ReturningClause* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_ReturningClause_mutable_options(pg_query_ReturningClause* msg, + size_t* size) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ReturningClause_resize_options(pg_query_ReturningClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ReturningClause_add_options( + pg_query_ReturningClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_ReturningClause_mutable_exprs(pg_query_ReturningClause* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ReturningClause_resize_exprs(pg_query_ReturningClause* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ReturningClause_add_exprs( + pg_query_ReturningClause* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.TriggerTransition */ +UPB_INLINE pg_query_TriggerTransition* pg_query_TriggerTransition_new(upb_Arena* arena) { + return (pg_query_TriggerTransition*)_upb_Message_New(&pg_0query__TriggerTransition_msg_init, arena); +} +UPB_INLINE pg_query_TriggerTransition* pg_query_TriggerTransition_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_TriggerTransition* ret = pg_query_TriggerTransition_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TriggerTransition_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_TriggerTransition* pg_query_TriggerTransition_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_TriggerTransition* ret = pg_query_TriggerTransition_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TriggerTransition_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_TriggerTransition_serialize(const pg_query_TriggerTransition* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TriggerTransition_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_TriggerTransition_serialize_ex(const pg_query_TriggerTransition* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TriggerTransition_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_TriggerTransition_clear_name(pg_query_TriggerTransition* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_TriggerTransition_name(const pg_query_TriggerTransition* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TriggerTransition_clear_is_new(pg_query_TriggerTransition* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_TriggerTransition_is_new(const pg_query_TriggerTransition* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TriggerTransition_clear_is_table(pg_query_TriggerTransition* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_TriggerTransition_is_table(const pg_query_TriggerTransition* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_TriggerTransition_set_name(pg_query_TriggerTransition* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TriggerTransition_set_is_new(pg_query_TriggerTransition* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TriggerTransition_set_is_table(pg_query_TriggerTransition* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonOutput */ +UPB_INLINE pg_query_JsonOutput* pg_query_JsonOutput_new(upb_Arena* arena) { + return (pg_query_JsonOutput*)_upb_Message_New(&pg_0query__JsonOutput_msg_init, arena); +} +UPB_INLINE pg_query_JsonOutput* pg_query_JsonOutput_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonOutput* ret = pg_query_JsonOutput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonOutput_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonOutput* pg_query_JsonOutput_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonOutput* ret = pg_query_JsonOutput_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonOutput_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonOutput_serialize(const pg_query_JsonOutput* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonOutput_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonOutput_serialize_ex(const pg_query_JsonOutput* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonOutput_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonOutput_clear_type_name(pg_query_JsonOutput* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_JsonOutput_type_name(const pg_query_JsonOutput* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonOutput_has_type_name(const pg_query_JsonOutput* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonOutput_clear_returning(pg_query_JsonOutput* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonReturning* pg_query_JsonOutput_returning(const pg_query_JsonOutput* msg) { + const pg_query_JsonReturning* default_val = NULL; + const pg_query_JsonReturning* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonReturning_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonOutput_has_returning(const pg_query_JsonOutput* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_JsonOutput_set_type_name(pg_query_JsonOutput* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_JsonOutput_mutable_type_name( + pg_query_JsonOutput* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_JsonOutput_type_name(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_JsonOutput_set_type_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonOutput_set_returning(pg_query_JsonOutput* msg, pg_query_JsonReturning* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonReturning_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonReturning* pg_query_JsonOutput_mutable_returning( + pg_query_JsonOutput* msg, upb_Arena* arena) { + struct pg_query_JsonReturning* sub = (struct pg_query_JsonReturning*)pg_query_JsonOutput_returning(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonReturning*)_upb_Message_New(&pg_0query__JsonReturning_msg_init, arena); + if (sub) pg_query_JsonOutput_set_returning(msg, sub); + } + return sub; +} + +/* pg_query.JsonArgument */ +UPB_INLINE pg_query_JsonArgument* pg_query_JsonArgument_new(upb_Arena* arena) { + return (pg_query_JsonArgument*)_upb_Message_New(&pg_0query__JsonArgument_msg_init, arena); +} +UPB_INLINE pg_query_JsonArgument* pg_query_JsonArgument_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonArgument* ret = pg_query_JsonArgument_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonArgument_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonArgument* pg_query_JsonArgument_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonArgument* ret = pg_query_JsonArgument_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonArgument_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonArgument_serialize(const pg_query_JsonArgument* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonArgument_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonArgument_serialize_ex(const pg_query_JsonArgument* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonArgument_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonArgument_clear_val(pg_query_JsonArgument* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonValueExpr* pg_query_JsonArgument_val(const pg_query_JsonArgument* msg) { + const pg_query_JsonValueExpr* default_val = NULL; + const pg_query_JsonValueExpr* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonArgument_has_val(const pg_query_JsonArgument* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonArgument_clear_name(pg_query_JsonArgument* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_JsonArgument_name(const pg_query_JsonArgument* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonArgument_set_val(pg_query_JsonArgument* msg, pg_query_JsonValueExpr* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonValueExpr* pg_query_JsonArgument_mutable_val( + pg_query_JsonArgument* msg, upb_Arena* arena) { + struct pg_query_JsonValueExpr* sub = (struct pg_query_JsonValueExpr*)pg_query_JsonArgument_val(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonValueExpr*)_upb_Message_New(&pg_0query__JsonValueExpr_msg_init, arena); + if (sub) pg_query_JsonArgument_set_val(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonArgument_set_name(pg_query_JsonArgument* msg, upb_StringView value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonFuncExpr */ +UPB_INLINE pg_query_JsonFuncExpr* pg_query_JsonFuncExpr_new(upb_Arena* arena) { + return (pg_query_JsonFuncExpr*)_upb_Message_New(&pg_0query__JsonFuncExpr_msg_init, arena); +} +UPB_INLINE pg_query_JsonFuncExpr* pg_query_JsonFuncExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonFuncExpr* ret = pg_query_JsonFuncExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonFuncExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonFuncExpr* pg_query_JsonFuncExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonFuncExpr* ret = pg_query_JsonFuncExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonFuncExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonFuncExpr_serialize(const pg_query_JsonFuncExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonFuncExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonFuncExpr_serialize_ex(const pg_query_JsonFuncExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonFuncExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_op(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonFuncExpr_op(const pg_query_JsonFuncExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_column_name(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(52, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_JsonFuncExpr_column_name(const pg_query_JsonFuncExpr* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(52, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_context_item(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonValueExpr* pg_query_JsonFuncExpr_context_item(const pg_query_JsonFuncExpr* msg) { + const pg_query_JsonValueExpr* default_val = NULL; + const pg_query_JsonValueExpr* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonFuncExpr_has_context_item(const pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_pathspec(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonFuncExpr_pathspec(const pg_query_JsonFuncExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonFuncExpr_has_pathspec(const pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_passing(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JsonFuncExpr_passing(const pg_query_JsonFuncExpr* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JsonFuncExpr_passing_upb_array( + const pg_query_JsonFuncExpr* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JsonFuncExpr_passing_mutable_upb_array( + pg_query_JsonFuncExpr* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_output(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 66, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonOutput* pg_query_JsonFuncExpr_output(const pg_query_JsonFuncExpr* msg) { + const pg_query_JsonOutput* default_val = NULL; + const pg_query_JsonOutput* ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 66, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonFuncExpr_has_output(const pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 66, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_on_empty(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 67, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonBehavior* pg_query_JsonFuncExpr_on_empty(const pg_query_JsonFuncExpr* msg) { + const pg_query_JsonBehavior* default_val = NULL; + const pg_query_JsonBehavior* ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 67, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonFuncExpr_has_on_empty(const pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 67, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_on_error(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 68, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonBehavior* pg_query_JsonFuncExpr_on_error(const pg_query_JsonFuncExpr* msg) { + const pg_query_JsonBehavior* default_val = NULL; + const pg_query_JsonBehavior* ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 68, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonFuncExpr_has_on_error(const pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 68, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_wrapper(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonFuncExpr_wrapper(const pg_query_JsonFuncExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(40, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_quotes(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonFuncExpr_quotes(const pg_query_JsonFuncExpr* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {10, UPB_SIZE(44, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonFuncExpr_clear_location(pg_query_JsonFuncExpr* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonFuncExpr_location(const pg_query_JsonFuncExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {11, UPB_SIZE(48, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonFuncExpr_set_op(pg_query_JsonFuncExpr* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonFuncExpr_set_column_name(pg_query_JsonFuncExpr* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(52, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonFuncExpr_set_context_item(pg_query_JsonFuncExpr* msg, pg_query_JsonValueExpr* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonValueExpr* pg_query_JsonFuncExpr_mutable_context_item( + pg_query_JsonFuncExpr* msg, upb_Arena* arena) { + struct pg_query_JsonValueExpr* sub = (struct pg_query_JsonValueExpr*)pg_query_JsonFuncExpr_context_item(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonValueExpr*)_upb_Message_New(&pg_0query__JsonValueExpr_msg_init, arena); + if (sub) pg_query_JsonFuncExpr_set_context_item(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonFuncExpr_set_pathspec(pg_query_JsonFuncExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonFuncExpr_mutable_pathspec( + pg_query_JsonFuncExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonFuncExpr_pathspec(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonFuncExpr_set_pathspec(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_JsonFuncExpr_mutable_passing(pg_query_JsonFuncExpr* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JsonFuncExpr_resize_passing(pg_query_JsonFuncExpr* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonFuncExpr_add_passing( + pg_query_JsonFuncExpr* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_JsonFuncExpr_set_output(pg_query_JsonFuncExpr* msg, pg_query_JsonOutput* value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 66, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonOutput* pg_query_JsonFuncExpr_mutable_output( + pg_query_JsonFuncExpr* msg, upb_Arena* arena) { + struct pg_query_JsonOutput* sub = (struct pg_query_JsonOutput*)pg_query_JsonFuncExpr_output(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonOutput*)_upb_Message_New(&pg_0query__JsonOutput_msg_init, arena); + if (sub) pg_query_JsonFuncExpr_set_output(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonFuncExpr_set_on_empty(pg_query_JsonFuncExpr* msg, pg_query_JsonBehavior* value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 67, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonBehavior* pg_query_JsonFuncExpr_mutable_on_empty( + pg_query_JsonFuncExpr* msg, upb_Arena* arena) { + struct pg_query_JsonBehavior* sub = (struct pg_query_JsonBehavior*)pg_query_JsonFuncExpr_on_empty(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonBehavior*)_upb_Message_New(&pg_0query__JsonBehavior_msg_init, arena); + if (sub) pg_query_JsonFuncExpr_set_on_empty(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonFuncExpr_set_on_error(pg_query_JsonFuncExpr* msg, pg_query_JsonBehavior* value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 68, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonBehavior* pg_query_JsonFuncExpr_mutable_on_error( + pg_query_JsonFuncExpr* msg, upb_Arena* arena) { + struct pg_query_JsonBehavior* sub = (struct pg_query_JsonBehavior*)pg_query_JsonFuncExpr_on_error(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonBehavior*)_upb_Message_New(&pg_0query__JsonBehavior_msg_init, arena); + if (sub) pg_query_JsonFuncExpr_set_on_error(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonFuncExpr_set_wrapper(pg_query_JsonFuncExpr* msg, int32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonFuncExpr_set_quotes(pg_query_JsonFuncExpr* msg, int32_t value) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonFuncExpr_set_location(pg_query_JsonFuncExpr* msg, int32_t value) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonTablePathSpec */ +UPB_INLINE pg_query_JsonTablePathSpec* pg_query_JsonTablePathSpec_new(upb_Arena* arena) { + return (pg_query_JsonTablePathSpec*)_upb_Message_New(&pg_0query__JsonTablePathSpec_msg_init, arena); +} +UPB_INLINE pg_query_JsonTablePathSpec* pg_query_JsonTablePathSpec_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonTablePathSpec* ret = pg_query_JsonTablePathSpec_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTablePathSpec_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonTablePathSpec* pg_query_JsonTablePathSpec_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonTablePathSpec* ret = pg_query_JsonTablePathSpec_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTablePathSpec_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonTablePathSpec_serialize(const pg_query_JsonTablePathSpec* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTablePathSpec_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonTablePathSpec_serialize_ex(const pg_query_JsonTablePathSpec* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTablePathSpec_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonTablePathSpec_clear_string(pg_query_JsonTablePathSpec* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonTablePathSpec_string(const pg_query_JsonTablePathSpec* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTablePathSpec_has_string(const pg_query_JsonTablePathSpec* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTablePathSpec_clear_name(pg_query_JsonTablePathSpec* msg) { + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_JsonTablePathSpec_name(const pg_query_JsonTablePathSpec* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonTablePathSpec_clear_name_location(pg_query_JsonTablePathSpec* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonTablePathSpec_name_location(const pg_query_JsonTablePathSpec* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonTablePathSpec_clear_location(pg_query_JsonTablePathSpec* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonTablePathSpec_location(const pg_query_JsonTablePathSpec* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonTablePathSpec_set_string(pg_query_JsonTablePathSpec* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonTablePathSpec_mutable_string( + pg_query_JsonTablePathSpec* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonTablePathSpec_string(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonTablePathSpec_set_string(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTablePathSpec_set_name(pg_query_JsonTablePathSpec* msg, upb_StringView value) { + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonTablePathSpec_set_name_location(pg_query_JsonTablePathSpec* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonTablePathSpec_set_location(pg_query_JsonTablePathSpec* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonTable */ +UPB_INLINE pg_query_JsonTable* pg_query_JsonTable_new(upb_Arena* arena) { + return (pg_query_JsonTable*)_upb_Message_New(&pg_0query__JsonTable_msg_init, arena); +} +UPB_INLINE pg_query_JsonTable* pg_query_JsonTable_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonTable* ret = pg_query_JsonTable_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTable_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonTable* pg_query_JsonTable_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonTable* ret = pg_query_JsonTable_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTable_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonTable_serialize(const pg_query_JsonTable* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTable_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonTable_serialize_ex(const pg_query_JsonTable* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTable_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonTable_clear_context_item(pg_query_JsonTable* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonValueExpr* pg_query_JsonTable_context_item(const pg_query_JsonTable* msg) { + const pg_query_JsonValueExpr* default_val = NULL; + const pg_query_JsonValueExpr* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTable_has_context_item(const pg_query_JsonTable* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTable_clear_pathspec(pg_query_JsonTable* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonTablePathSpec* pg_query_JsonTable_pathspec(const pg_query_JsonTable* msg) { + const pg_query_JsonTablePathSpec* default_val = NULL; + const pg_query_JsonTablePathSpec* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePathSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTable_has_pathspec(const pg_query_JsonTable* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTable_clear_passing(pg_query_JsonTable* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JsonTable_passing(const pg_query_JsonTable* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JsonTable_passing_upb_array( + const pg_query_JsonTable* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JsonTable_passing_mutable_upb_array( + pg_query_JsonTable* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JsonTable_clear_columns(pg_query_JsonTable* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JsonTable_columns(const pg_query_JsonTable* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JsonTable_columns_upb_array( + const pg_query_JsonTable* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JsonTable_columns_mutable_upb_array( + pg_query_JsonTable* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JsonTable_clear_on_error(pg_query_JsonTable* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(16, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonBehavior* pg_query_JsonTable_on_error(const pg_query_JsonTable* msg) { + const pg_query_JsonBehavior* default_val = NULL; + const pg_query_JsonBehavior* ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(16, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTable_has_on_error(const pg_query_JsonTable* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(16, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTable_clear_alias(pg_query_JsonTable* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(14, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Alias* pg_query_JsonTable_alias(const pg_query_JsonTable* msg) { + const pg_query_Alias* default_val = NULL; + const pg_query_Alias* ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(14, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTable_has_alias(const pg_query_JsonTable* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(14, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTable_clear_lateral(pg_query_JsonTable* msg) { + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonTable_lateral(const pg_query_JsonTable* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonTable_clear_location(pg_query_JsonTable* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonTable_location(const pg_query_JsonTable* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonTable_set_context_item(pg_query_JsonTable* msg, pg_query_JsonValueExpr* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonValueExpr* pg_query_JsonTable_mutable_context_item( + pg_query_JsonTable* msg, upb_Arena* arena) { + struct pg_query_JsonValueExpr* sub = (struct pg_query_JsonValueExpr*)pg_query_JsonTable_context_item(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonValueExpr*)_upb_Message_New(&pg_0query__JsonValueExpr_msg_init, arena); + if (sub) pg_query_JsonTable_set_context_item(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTable_set_pathspec(pg_query_JsonTable* msg, pg_query_JsonTablePathSpec* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePathSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonTablePathSpec* pg_query_JsonTable_mutable_pathspec( + pg_query_JsonTable* msg, upb_Arena* arena) { + struct pg_query_JsonTablePathSpec* sub = (struct pg_query_JsonTablePathSpec*)pg_query_JsonTable_pathspec(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonTablePathSpec*)_upb_Message_New(&pg_0query__JsonTablePathSpec_msg_init, arena); + if (sub) pg_query_JsonTable_set_pathspec(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_JsonTable_mutable_passing(pg_query_JsonTable* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JsonTable_resize_passing(pg_query_JsonTable* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonTable_add_passing( + pg_query_JsonTable* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_JsonTable_mutable_columns(pg_query_JsonTable* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JsonTable_resize_columns(pg_query_JsonTable* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonTable_add_columns( + pg_query_JsonTable* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_JsonTable_set_on_error(pg_query_JsonTable* msg, pg_query_JsonBehavior* value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(16, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonBehavior* pg_query_JsonTable_mutable_on_error( + pg_query_JsonTable* msg, upb_Arena* arena) { + struct pg_query_JsonBehavior* sub = (struct pg_query_JsonBehavior*)pg_query_JsonTable_on_error(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonBehavior*)_upb_Message_New(&pg_0query__JsonBehavior_msg_init, arena); + if (sub) pg_query_JsonTable_set_on_error(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTable_set_alias(pg_query_JsonTable* msg, pg_query_Alias* value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(14, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Alias_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Alias* pg_query_JsonTable_mutable_alias( + pg_query_JsonTable* msg, upb_Arena* arena) { + struct pg_query_Alias* sub = (struct pg_query_Alias*)pg_query_JsonTable_alias(msg); + if (sub == NULL) { + sub = (struct pg_query_Alias*)_upb_Message_New(&pg_0query__Alias_msg_init, arena); + if (sub) pg_query_JsonTable_set_alias(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTable_set_lateral(pg_query_JsonTable* msg, bool value) { + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonTable_set_location(pg_query_JsonTable* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonTableColumn */ +UPB_INLINE pg_query_JsonTableColumn* pg_query_JsonTableColumn_new(upb_Arena* arena) { + return (pg_query_JsonTableColumn*)_upb_Message_New(&pg_0query__JsonTableColumn_msg_init, arena); +} +UPB_INLINE pg_query_JsonTableColumn* pg_query_JsonTableColumn_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonTableColumn* ret = pg_query_JsonTableColumn_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTableColumn_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonTableColumn* pg_query_JsonTableColumn_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonTableColumn* ret = pg_query_JsonTableColumn_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonTableColumn_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonTableColumn_serialize(const pg_query_JsonTableColumn* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTableColumn_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonTableColumn_serialize_ex(const pg_query_JsonTableColumn* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonTableColumn_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonTableColumn_clear_coltype(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonTableColumn_coltype(const pg_query_JsonTableColumn* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonTableColumn_clear_name(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(52, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_JsonTableColumn_name(const pg_query_JsonTableColumn* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(52, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonTableColumn_clear_type_name(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_JsonTableColumn_type_name(const pg_query_JsonTableColumn* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTableColumn_has_type_name(const pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTableColumn_clear_pathspec(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonTablePathSpec* pg_query_JsonTableColumn_pathspec(const pg_query_JsonTableColumn* msg) { + const pg_query_JsonTablePathSpec* default_val = NULL; + const pg_query_JsonTablePathSpec* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePathSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTableColumn_has_pathspec(const pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTableColumn_clear_format(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 66, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonFormat* pg_query_JsonTableColumn_format(const pg_query_JsonTableColumn* msg) { + const pg_query_JsonFormat* default_val = NULL; + const pg_query_JsonFormat* ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 66, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTableColumn_has_format(const pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 66, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTableColumn_clear_wrapper(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonTableColumn_wrapper(const pg_query_JsonTableColumn* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonTableColumn_clear_quotes(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonTableColumn_quotes(const pg_query_JsonTableColumn* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonTableColumn_clear_columns(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JsonTableColumn_columns(const pg_query_JsonTableColumn* msg, + size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JsonTableColumn_columns_upb_array( + const pg_query_JsonTableColumn* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JsonTableColumn_columns_mutable_upb_array( + pg_query_JsonTableColumn* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JsonTableColumn_clear_on_empty(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 80), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonBehavior* pg_query_JsonTableColumn_on_empty(const pg_query_JsonTableColumn* msg) { + const pg_query_JsonBehavior* default_val = NULL; + const pg_query_JsonBehavior* ret; + const upb_MiniTableField field = {9, UPB_SIZE(40, 80), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTableColumn_has_on_empty(const pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 80), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTableColumn_clear_on_error(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 88), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonBehavior* pg_query_JsonTableColumn_on_error(const pg_query_JsonTableColumn* msg) { + const pg_query_JsonBehavior* default_val = NULL; + const pg_query_JsonBehavior* ret; + const upb_MiniTableField field = {10, UPB_SIZE(44, 88), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonTableColumn_has_on_error(const pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 88), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonTableColumn_clear_location(pg_query_JsonTableColumn* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonTableColumn_location(const pg_query_JsonTableColumn* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {11, UPB_SIZE(48, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonTableColumn_set_coltype(pg_query_JsonTableColumn* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonTableColumn_set_name(pg_query_JsonTableColumn* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(52, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonTableColumn_set_type_name(pg_query_JsonTableColumn* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_JsonTableColumn_mutable_type_name( + pg_query_JsonTableColumn* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_JsonTableColumn_type_name(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_JsonTableColumn_set_type_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTableColumn_set_pathspec(pg_query_JsonTableColumn* msg, pg_query_JsonTablePathSpec* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 56), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonTablePathSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonTablePathSpec* pg_query_JsonTableColumn_mutable_pathspec( + pg_query_JsonTableColumn* msg, upb_Arena* arena) { + struct pg_query_JsonTablePathSpec* sub = (struct pg_query_JsonTablePathSpec*)pg_query_JsonTableColumn_pathspec(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonTablePathSpec*)_upb_Message_New(&pg_0query__JsonTablePathSpec_msg_init, arena); + if (sub) pg_query_JsonTableColumn_set_pathspec(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTableColumn_set_format(pg_query_JsonTableColumn* msg, pg_query_JsonFormat* value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 64), 66, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonFormat* pg_query_JsonTableColumn_mutable_format( + pg_query_JsonTableColumn* msg, upb_Arena* arena) { + struct pg_query_JsonFormat* sub = (struct pg_query_JsonFormat*)pg_query_JsonTableColumn_format(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonFormat*)_upb_Message_New(&pg_0query__JsonFormat_msg_init, arena); + if (sub) pg_query_JsonTableColumn_set_format(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTableColumn_set_wrapper(pg_query_JsonTableColumn* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonTableColumn_set_quotes(pg_query_JsonTableColumn* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_JsonTableColumn_mutable_columns(pg_query_JsonTableColumn* msg, + size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(36, 72), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JsonTableColumn_resize_columns(pg_query_JsonTableColumn* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(36, 72), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonTableColumn_add_columns( + pg_query_JsonTableColumn* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(36, 72), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_JsonTableColumn_set_on_empty(pg_query_JsonTableColumn* msg, pg_query_JsonBehavior* value) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 80), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonBehavior* pg_query_JsonTableColumn_mutable_on_empty( + pg_query_JsonTableColumn* msg, upb_Arena* arena) { + struct pg_query_JsonBehavior* sub = (struct pg_query_JsonBehavior*)pg_query_JsonTableColumn_on_empty(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonBehavior*)_upb_Message_New(&pg_0query__JsonBehavior_msg_init, arena); + if (sub) pg_query_JsonTableColumn_set_on_empty(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTableColumn_set_on_error(pg_query_JsonTableColumn* msg, pg_query_JsonBehavior* value) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 88), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonBehavior_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonBehavior* pg_query_JsonTableColumn_mutable_on_error( + pg_query_JsonTableColumn* msg, upb_Arena* arena) { + struct pg_query_JsonBehavior* sub = (struct pg_query_JsonBehavior*)pg_query_JsonTableColumn_on_error(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonBehavior*)_upb_Message_New(&pg_0query__JsonBehavior_msg_init, arena); + if (sub) pg_query_JsonTableColumn_set_on_error(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonTableColumn_set_location(pg_query_JsonTableColumn* msg, int32_t value) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonKeyValue */ +UPB_INLINE pg_query_JsonKeyValue* pg_query_JsonKeyValue_new(upb_Arena* arena) { + return (pg_query_JsonKeyValue*)_upb_Message_New(&pg_0query__JsonKeyValue_msg_init, arena); +} +UPB_INLINE pg_query_JsonKeyValue* pg_query_JsonKeyValue_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonKeyValue* ret = pg_query_JsonKeyValue_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonKeyValue_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonKeyValue* pg_query_JsonKeyValue_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonKeyValue* ret = pg_query_JsonKeyValue_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonKeyValue_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonKeyValue_serialize(const pg_query_JsonKeyValue* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonKeyValue_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonKeyValue_serialize_ex(const pg_query_JsonKeyValue* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonKeyValue_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonKeyValue_clear_key(pg_query_JsonKeyValue* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonKeyValue_key(const pg_query_JsonKeyValue* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonKeyValue_has_key(const pg_query_JsonKeyValue* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonKeyValue_clear_value(pg_query_JsonKeyValue* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonValueExpr* pg_query_JsonKeyValue_value(const pg_query_JsonKeyValue* msg) { + const pg_query_JsonValueExpr* default_val = NULL; + const pg_query_JsonValueExpr* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonKeyValue_has_value(const pg_query_JsonKeyValue* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_JsonKeyValue_set_key(pg_query_JsonKeyValue* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonKeyValue_mutable_key( + pg_query_JsonKeyValue* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonKeyValue_key(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonKeyValue_set_key(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonKeyValue_set_value(pg_query_JsonKeyValue* msg, pg_query_JsonValueExpr* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonValueExpr* pg_query_JsonKeyValue_mutable_value( + pg_query_JsonKeyValue* msg, upb_Arena* arena) { + struct pg_query_JsonValueExpr* sub = (struct pg_query_JsonValueExpr*)pg_query_JsonKeyValue_value(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonValueExpr*)_upb_Message_New(&pg_0query__JsonValueExpr_msg_init, arena); + if (sub) pg_query_JsonKeyValue_set_value(msg, sub); + } + return sub; +} + +/* pg_query.JsonParseExpr */ +UPB_INLINE pg_query_JsonParseExpr* pg_query_JsonParseExpr_new(upb_Arena* arena) { + return (pg_query_JsonParseExpr*)_upb_Message_New(&pg_0query__JsonParseExpr_msg_init, arena); +} +UPB_INLINE pg_query_JsonParseExpr* pg_query_JsonParseExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonParseExpr* ret = pg_query_JsonParseExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonParseExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonParseExpr* pg_query_JsonParseExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonParseExpr* ret = pg_query_JsonParseExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonParseExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonParseExpr_serialize(const pg_query_JsonParseExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonParseExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonParseExpr_serialize_ex(const pg_query_JsonParseExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonParseExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonParseExpr_clear_expr(pg_query_JsonParseExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonValueExpr* pg_query_JsonParseExpr_expr(const pg_query_JsonParseExpr* msg) { + const pg_query_JsonValueExpr* default_val = NULL; + const pg_query_JsonValueExpr* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonParseExpr_has_expr(const pg_query_JsonParseExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonParseExpr_clear_output(pg_query_JsonParseExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonOutput* pg_query_JsonParseExpr_output(const pg_query_JsonParseExpr* msg) { + const pg_query_JsonOutput* default_val = NULL; + const pg_query_JsonOutput* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonParseExpr_has_output(const pg_query_JsonParseExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonParseExpr_clear_unique_keys(pg_query_JsonParseExpr* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonParseExpr_unique_keys(const pg_query_JsonParseExpr* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonParseExpr_clear_location(pg_query_JsonParseExpr* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonParseExpr_location(const pg_query_JsonParseExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonParseExpr_set_expr(pg_query_JsonParseExpr* msg, pg_query_JsonValueExpr* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonValueExpr* pg_query_JsonParseExpr_mutable_expr( + pg_query_JsonParseExpr* msg, upb_Arena* arena) { + struct pg_query_JsonValueExpr* sub = (struct pg_query_JsonValueExpr*)pg_query_JsonParseExpr_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonValueExpr*)_upb_Message_New(&pg_0query__JsonValueExpr_msg_init, arena); + if (sub) pg_query_JsonParseExpr_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonParseExpr_set_output(pg_query_JsonParseExpr* msg, pg_query_JsonOutput* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonOutput* pg_query_JsonParseExpr_mutable_output( + pg_query_JsonParseExpr* msg, upb_Arena* arena) { + struct pg_query_JsonOutput* sub = (struct pg_query_JsonOutput*)pg_query_JsonParseExpr_output(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonOutput*)_upb_Message_New(&pg_0query__JsonOutput_msg_init, arena); + if (sub) pg_query_JsonParseExpr_set_output(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonParseExpr_set_unique_keys(pg_query_JsonParseExpr* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonParseExpr_set_location(pg_query_JsonParseExpr* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonScalarExpr */ +UPB_INLINE pg_query_JsonScalarExpr* pg_query_JsonScalarExpr_new(upb_Arena* arena) { + return (pg_query_JsonScalarExpr*)_upb_Message_New(&pg_0query__JsonScalarExpr_msg_init, arena); +} +UPB_INLINE pg_query_JsonScalarExpr* pg_query_JsonScalarExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonScalarExpr* ret = pg_query_JsonScalarExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonScalarExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonScalarExpr* pg_query_JsonScalarExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonScalarExpr* ret = pg_query_JsonScalarExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonScalarExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonScalarExpr_serialize(const pg_query_JsonScalarExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonScalarExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonScalarExpr_serialize_ex(const pg_query_JsonScalarExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonScalarExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonScalarExpr_clear_expr(pg_query_JsonScalarExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonScalarExpr_expr(const pg_query_JsonScalarExpr* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonScalarExpr_has_expr(const pg_query_JsonScalarExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonScalarExpr_clear_output(pg_query_JsonScalarExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonOutput* pg_query_JsonScalarExpr_output(const pg_query_JsonScalarExpr* msg) { + const pg_query_JsonOutput* default_val = NULL; + const pg_query_JsonOutput* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonScalarExpr_has_output(const pg_query_JsonScalarExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonScalarExpr_clear_location(pg_query_JsonScalarExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonScalarExpr_location(const pg_query_JsonScalarExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonScalarExpr_set_expr(pg_query_JsonScalarExpr* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonScalarExpr_mutable_expr( + pg_query_JsonScalarExpr* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonScalarExpr_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonScalarExpr_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonScalarExpr_set_output(pg_query_JsonScalarExpr* msg, pg_query_JsonOutput* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonOutput* pg_query_JsonScalarExpr_mutable_output( + pg_query_JsonScalarExpr* msg, upb_Arena* arena) { + struct pg_query_JsonOutput* sub = (struct pg_query_JsonOutput*)pg_query_JsonScalarExpr_output(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonOutput*)_upb_Message_New(&pg_0query__JsonOutput_msg_init, arena); + if (sub) pg_query_JsonScalarExpr_set_output(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonScalarExpr_set_location(pg_query_JsonScalarExpr* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonSerializeExpr */ +UPB_INLINE pg_query_JsonSerializeExpr* pg_query_JsonSerializeExpr_new(upb_Arena* arena) { + return (pg_query_JsonSerializeExpr*)_upb_Message_New(&pg_0query__JsonSerializeExpr_msg_init, arena); +} +UPB_INLINE pg_query_JsonSerializeExpr* pg_query_JsonSerializeExpr_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonSerializeExpr* ret = pg_query_JsonSerializeExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonSerializeExpr_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonSerializeExpr* pg_query_JsonSerializeExpr_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonSerializeExpr* ret = pg_query_JsonSerializeExpr_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonSerializeExpr_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonSerializeExpr_serialize(const pg_query_JsonSerializeExpr* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonSerializeExpr_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonSerializeExpr_serialize_ex(const pg_query_JsonSerializeExpr* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonSerializeExpr_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonSerializeExpr_clear_expr(pg_query_JsonSerializeExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonValueExpr* pg_query_JsonSerializeExpr_expr(const pg_query_JsonSerializeExpr* msg) { + const pg_query_JsonValueExpr* default_val = NULL; + const pg_query_JsonValueExpr* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonSerializeExpr_has_expr(const pg_query_JsonSerializeExpr* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonSerializeExpr_clear_output(pg_query_JsonSerializeExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonOutput* pg_query_JsonSerializeExpr_output(const pg_query_JsonSerializeExpr* msg) { + const pg_query_JsonOutput* default_val = NULL; + const pg_query_JsonOutput* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonSerializeExpr_has_output(const pg_query_JsonSerializeExpr* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonSerializeExpr_clear_location(pg_query_JsonSerializeExpr* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonSerializeExpr_location(const pg_query_JsonSerializeExpr* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonSerializeExpr_set_expr(pg_query_JsonSerializeExpr* msg, pg_query_JsonValueExpr* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonValueExpr* pg_query_JsonSerializeExpr_mutable_expr( + pg_query_JsonSerializeExpr* msg, upb_Arena* arena) { + struct pg_query_JsonValueExpr* sub = (struct pg_query_JsonValueExpr*)pg_query_JsonSerializeExpr_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonValueExpr*)_upb_Message_New(&pg_0query__JsonValueExpr_msg_init, arena); + if (sub) pg_query_JsonSerializeExpr_set_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonSerializeExpr_set_output(pg_query_JsonSerializeExpr* msg, pg_query_JsonOutput* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonOutput* pg_query_JsonSerializeExpr_mutable_output( + pg_query_JsonSerializeExpr* msg, upb_Arena* arena) { + struct pg_query_JsonOutput* sub = (struct pg_query_JsonOutput*)pg_query_JsonSerializeExpr_output(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonOutput*)_upb_Message_New(&pg_0query__JsonOutput_msg_init, arena); + if (sub) pg_query_JsonSerializeExpr_set_output(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonSerializeExpr_set_location(pg_query_JsonSerializeExpr* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonObjectConstructor */ +UPB_INLINE pg_query_JsonObjectConstructor* pg_query_JsonObjectConstructor_new(upb_Arena* arena) { + return (pg_query_JsonObjectConstructor*)_upb_Message_New(&pg_0query__JsonObjectConstructor_msg_init, arena); +} +UPB_INLINE pg_query_JsonObjectConstructor* pg_query_JsonObjectConstructor_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonObjectConstructor* ret = pg_query_JsonObjectConstructor_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonObjectConstructor_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonObjectConstructor* pg_query_JsonObjectConstructor_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonObjectConstructor* ret = pg_query_JsonObjectConstructor_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonObjectConstructor_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonObjectConstructor_serialize(const pg_query_JsonObjectConstructor* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonObjectConstructor_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonObjectConstructor_serialize_ex(const pg_query_JsonObjectConstructor* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonObjectConstructor_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonObjectConstructor_clear_exprs(pg_query_JsonObjectConstructor* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JsonObjectConstructor_exprs(const pg_query_JsonObjectConstructor* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JsonObjectConstructor_exprs_upb_array( + const pg_query_JsonObjectConstructor* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JsonObjectConstructor_exprs_mutable_upb_array( + pg_query_JsonObjectConstructor* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JsonObjectConstructor_clear_output(pg_query_JsonObjectConstructor* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonOutput* pg_query_JsonObjectConstructor_output(const pg_query_JsonObjectConstructor* msg) { + const pg_query_JsonOutput* default_val = NULL; + const pg_query_JsonOutput* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonObjectConstructor_has_output(const pg_query_JsonObjectConstructor* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonObjectConstructor_clear_absent_on_null(pg_query_JsonObjectConstructor* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonObjectConstructor_absent_on_null(const pg_query_JsonObjectConstructor* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonObjectConstructor_clear_unique(pg_query_JsonObjectConstructor* msg) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonObjectConstructor_unique(const pg_query_JsonObjectConstructor* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonObjectConstructor_clear_location(pg_query_JsonObjectConstructor* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonObjectConstructor_location(const pg_query_JsonObjectConstructor* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_JsonObjectConstructor_mutable_exprs(pg_query_JsonObjectConstructor* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JsonObjectConstructor_resize_exprs(pg_query_JsonObjectConstructor* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonObjectConstructor_add_exprs( + pg_query_JsonObjectConstructor* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_JsonObjectConstructor_set_output(pg_query_JsonObjectConstructor* msg, pg_query_JsonOutput* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonOutput* pg_query_JsonObjectConstructor_mutable_output( + pg_query_JsonObjectConstructor* msg, upb_Arena* arena) { + struct pg_query_JsonOutput* sub = (struct pg_query_JsonOutput*)pg_query_JsonObjectConstructor_output(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonOutput*)_upb_Message_New(&pg_0query__JsonOutput_msg_init, arena); + if (sub) pg_query_JsonObjectConstructor_set_output(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonObjectConstructor_set_absent_on_null(pg_query_JsonObjectConstructor* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonObjectConstructor_set_unique(pg_query_JsonObjectConstructor* msg, bool value) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonObjectConstructor_set_location(pg_query_JsonObjectConstructor* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonArrayConstructor */ +UPB_INLINE pg_query_JsonArrayConstructor* pg_query_JsonArrayConstructor_new(upb_Arena* arena) { + return (pg_query_JsonArrayConstructor*)_upb_Message_New(&pg_0query__JsonArrayConstructor_msg_init, arena); +} +UPB_INLINE pg_query_JsonArrayConstructor* pg_query_JsonArrayConstructor_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonArrayConstructor* ret = pg_query_JsonArrayConstructor_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonArrayConstructor_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonArrayConstructor* pg_query_JsonArrayConstructor_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonArrayConstructor* ret = pg_query_JsonArrayConstructor_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonArrayConstructor_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonArrayConstructor_serialize(const pg_query_JsonArrayConstructor* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonArrayConstructor_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonArrayConstructor_serialize_ex(const pg_query_JsonArrayConstructor* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonArrayConstructor_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonArrayConstructor_clear_exprs(pg_query_JsonArrayConstructor* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JsonArrayConstructor_exprs(const pg_query_JsonArrayConstructor* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JsonArrayConstructor_exprs_upb_array( + const pg_query_JsonArrayConstructor* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JsonArrayConstructor_exprs_mutable_upb_array( + pg_query_JsonArrayConstructor* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JsonArrayConstructor_clear_output(pg_query_JsonArrayConstructor* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonOutput* pg_query_JsonArrayConstructor_output(const pg_query_JsonArrayConstructor* msg) { + const pg_query_JsonOutput* default_val = NULL; + const pg_query_JsonOutput* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonArrayConstructor_has_output(const pg_query_JsonArrayConstructor* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonArrayConstructor_clear_absent_on_null(pg_query_JsonArrayConstructor* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonArrayConstructor_absent_on_null(const pg_query_JsonArrayConstructor* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonArrayConstructor_clear_location(pg_query_JsonArrayConstructor* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonArrayConstructor_location(const pg_query_JsonArrayConstructor* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_JsonArrayConstructor_mutable_exprs(pg_query_JsonArrayConstructor* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JsonArrayConstructor_resize_exprs(pg_query_JsonArrayConstructor* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonArrayConstructor_add_exprs( + pg_query_JsonArrayConstructor* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_JsonArrayConstructor_set_output(pg_query_JsonArrayConstructor* msg, pg_query_JsonOutput* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonOutput* pg_query_JsonArrayConstructor_mutable_output( + pg_query_JsonArrayConstructor* msg, upb_Arena* arena) { + struct pg_query_JsonOutput* sub = (struct pg_query_JsonOutput*)pg_query_JsonArrayConstructor_output(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonOutput*)_upb_Message_New(&pg_0query__JsonOutput_msg_init, arena); + if (sub) pg_query_JsonArrayConstructor_set_output(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonArrayConstructor_set_absent_on_null(pg_query_JsonArrayConstructor* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonArrayConstructor_set_location(pg_query_JsonArrayConstructor* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonArrayQueryConstructor */ +UPB_INLINE pg_query_JsonArrayQueryConstructor* pg_query_JsonArrayQueryConstructor_new(upb_Arena* arena) { + return (pg_query_JsonArrayQueryConstructor*)_upb_Message_New(&pg_0query__JsonArrayQueryConstructor_msg_init, arena); +} +UPB_INLINE pg_query_JsonArrayQueryConstructor* pg_query_JsonArrayQueryConstructor_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonArrayQueryConstructor* ret = pg_query_JsonArrayQueryConstructor_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonArrayQueryConstructor_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonArrayQueryConstructor* pg_query_JsonArrayQueryConstructor_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonArrayQueryConstructor* ret = pg_query_JsonArrayQueryConstructor_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonArrayQueryConstructor_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonArrayQueryConstructor_serialize(const pg_query_JsonArrayQueryConstructor* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonArrayQueryConstructor_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonArrayQueryConstructor_serialize_ex(const pg_query_JsonArrayQueryConstructor* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonArrayQueryConstructor_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonArrayQueryConstructor_clear_query(pg_query_JsonArrayQueryConstructor* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonArrayQueryConstructor_query(const pg_query_JsonArrayQueryConstructor* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonArrayQueryConstructor_has_query(const pg_query_JsonArrayQueryConstructor* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonArrayQueryConstructor_clear_output(pg_query_JsonArrayQueryConstructor* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonOutput* pg_query_JsonArrayQueryConstructor_output(const pg_query_JsonArrayQueryConstructor* msg) { + const pg_query_JsonOutput* default_val = NULL; + const pg_query_JsonOutput* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonArrayQueryConstructor_has_output(const pg_query_JsonArrayQueryConstructor* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonArrayQueryConstructor_clear_format(pg_query_JsonArrayQueryConstructor* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonFormat* pg_query_JsonArrayQueryConstructor_format(const pg_query_JsonArrayQueryConstructor* msg) { + const pg_query_JsonFormat* default_val = NULL; + const pg_query_JsonFormat* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonArrayQueryConstructor_has_format(const pg_query_JsonArrayQueryConstructor* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonArrayQueryConstructor_clear_absent_on_null(pg_query_JsonArrayQueryConstructor* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonArrayQueryConstructor_absent_on_null(const pg_query_JsonArrayQueryConstructor* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonArrayQueryConstructor_clear_location(pg_query_JsonArrayQueryConstructor* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonArrayQueryConstructor_location(const pg_query_JsonArrayQueryConstructor* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonArrayQueryConstructor_set_query(pg_query_JsonArrayQueryConstructor* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonArrayQueryConstructor_mutable_query( + pg_query_JsonArrayQueryConstructor* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonArrayQueryConstructor_query(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonArrayQueryConstructor_set_query(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonArrayQueryConstructor_set_output(pg_query_JsonArrayQueryConstructor* msg, pg_query_JsonOutput* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonOutput* pg_query_JsonArrayQueryConstructor_mutable_output( + pg_query_JsonArrayQueryConstructor* msg, upb_Arena* arena) { + struct pg_query_JsonOutput* sub = (struct pg_query_JsonOutput*)pg_query_JsonArrayQueryConstructor_output(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonOutput*)_upb_Message_New(&pg_0query__JsonOutput_msg_init, arena); + if (sub) pg_query_JsonArrayQueryConstructor_set_output(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonArrayQueryConstructor_set_format(pg_query_JsonArrayQueryConstructor* msg, pg_query_JsonFormat* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonFormat_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonFormat* pg_query_JsonArrayQueryConstructor_mutable_format( + pg_query_JsonArrayQueryConstructor* msg, upb_Arena* arena) { + struct pg_query_JsonFormat* sub = (struct pg_query_JsonFormat*)pg_query_JsonArrayQueryConstructor_format(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonFormat*)_upb_Message_New(&pg_0query__JsonFormat_msg_init, arena); + if (sub) pg_query_JsonArrayQueryConstructor_set_format(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonArrayQueryConstructor_set_absent_on_null(pg_query_JsonArrayQueryConstructor* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonArrayQueryConstructor_set_location(pg_query_JsonArrayQueryConstructor* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonAggConstructor */ +UPB_INLINE pg_query_JsonAggConstructor* pg_query_JsonAggConstructor_new(upb_Arena* arena) { + return (pg_query_JsonAggConstructor*)_upb_Message_New(&pg_0query__JsonAggConstructor_msg_init, arena); +} +UPB_INLINE pg_query_JsonAggConstructor* pg_query_JsonAggConstructor_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonAggConstructor* ret = pg_query_JsonAggConstructor_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonAggConstructor_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonAggConstructor* pg_query_JsonAggConstructor_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonAggConstructor* ret = pg_query_JsonAggConstructor_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonAggConstructor_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonAggConstructor_serialize(const pg_query_JsonAggConstructor* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonAggConstructor_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonAggConstructor_serialize_ex(const pg_query_JsonAggConstructor* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonAggConstructor_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonAggConstructor_clear_output(pg_query_JsonAggConstructor* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonOutput* pg_query_JsonAggConstructor_output(const pg_query_JsonAggConstructor* msg) { + const pg_query_JsonOutput* default_val = NULL; + const pg_query_JsonOutput* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonAggConstructor_has_output(const pg_query_JsonAggConstructor* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonAggConstructor_clear_agg_filter(pg_query_JsonAggConstructor* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_JsonAggConstructor_agg_filter(const pg_query_JsonAggConstructor* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonAggConstructor_has_agg_filter(const pg_query_JsonAggConstructor* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonAggConstructor_clear_agg_order(pg_query_JsonAggConstructor* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_JsonAggConstructor_agg_order(const pg_query_JsonAggConstructor* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_JsonAggConstructor_agg_order_upb_array( + const pg_query_JsonAggConstructor* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_JsonAggConstructor_agg_order_mutable_upb_array( + pg_query_JsonAggConstructor* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_JsonAggConstructor_clear_over(pg_query_JsonAggConstructor* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WindowDef* pg_query_JsonAggConstructor_over(const pg_query_JsonAggConstructor* msg) { + const pg_query_WindowDef* default_val = NULL; + const pg_query_WindowDef* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowDef_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonAggConstructor_has_over(const pg_query_JsonAggConstructor* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonAggConstructor_clear_location(pg_query_JsonAggConstructor* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_JsonAggConstructor_location(const pg_query_JsonAggConstructor* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonAggConstructor_set_output(pg_query_JsonAggConstructor* msg, pg_query_JsonOutput* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonOutput_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonOutput* pg_query_JsonAggConstructor_mutable_output( + pg_query_JsonAggConstructor* msg, upb_Arena* arena) { + struct pg_query_JsonOutput* sub = (struct pg_query_JsonOutput*)pg_query_JsonAggConstructor_output(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonOutput*)_upb_Message_New(&pg_0query__JsonOutput_msg_init, arena); + if (sub) pg_query_JsonAggConstructor_set_output(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonAggConstructor_set_agg_filter(pg_query_JsonAggConstructor* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonAggConstructor_mutable_agg_filter( + pg_query_JsonAggConstructor* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_JsonAggConstructor_agg_filter(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_JsonAggConstructor_set_agg_filter(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_JsonAggConstructor_mutable_agg_order(pg_query_JsonAggConstructor* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_JsonAggConstructor_resize_agg_order(pg_query_JsonAggConstructor* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_JsonAggConstructor_add_agg_order( + pg_query_JsonAggConstructor* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_JsonAggConstructor_set_over(pg_query_JsonAggConstructor* msg, pg_query_WindowDef* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WindowDef_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WindowDef* pg_query_JsonAggConstructor_mutable_over( + pg_query_JsonAggConstructor* msg, upb_Arena* arena) { + struct pg_query_WindowDef* sub = (struct pg_query_WindowDef*)pg_query_JsonAggConstructor_over(msg); + if (sub == NULL) { + sub = (struct pg_query_WindowDef*)_upb_Message_New(&pg_0query__WindowDef_msg_init, arena); + if (sub) pg_query_JsonAggConstructor_set_over(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonAggConstructor_set_location(pg_query_JsonAggConstructor* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonObjectAgg */ +UPB_INLINE pg_query_JsonObjectAgg* pg_query_JsonObjectAgg_new(upb_Arena* arena) { + return (pg_query_JsonObjectAgg*)_upb_Message_New(&pg_0query__JsonObjectAgg_msg_init, arena); +} +UPB_INLINE pg_query_JsonObjectAgg* pg_query_JsonObjectAgg_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonObjectAgg* ret = pg_query_JsonObjectAgg_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonObjectAgg_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonObjectAgg* pg_query_JsonObjectAgg_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonObjectAgg* ret = pg_query_JsonObjectAgg_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonObjectAgg_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonObjectAgg_serialize(const pg_query_JsonObjectAgg* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonObjectAgg_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonObjectAgg_serialize_ex(const pg_query_JsonObjectAgg* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonObjectAgg_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonObjectAgg_clear_constructor(pg_query_JsonObjectAgg* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonAggConstructor* pg_query_JsonObjectAgg_constructor(const pg_query_JsonObjectAgg* msg) { + const pg_query_JsonAggConstructor* default_val = NULL; + const pg_query_JsonAggConstructor* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonAggConstructor_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonObjectAgg_has_constructor(const pg_query_JsonObjectAgg* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonObjectAgg_clear_arg(pg_query_JsonObjectAgg* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonKeyValue* pg_query_JsonObjectAgg_arg(const pg_query_JsonObjectAgg* msg) { + const pg_query_JsonKeyValue* default_val = NULL; + const pg_query_JsonKeyValue* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonKeyValue_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonObjectAgg_has_arg(const pg_query_JsonObjectAgg* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonObjectAgg_clear_absent_on_null(pg_query_JsonObjectAgg* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonObjectAgg_absent_on_null(const pg_query_JsonObjectAgg* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_JsonObjectAgg_clear_unique(pg_query_JsonObjectAgg* msg) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonObjectAgg_unique(const pg_query_JsonObjectAgg* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonObjectAgg_set_constructor(pg_query_JsonObjectAgg* msg, pg_query_JsonAggConstructor* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonAggConstructor_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonAggConstructor* pg_query_JsonObjectAgg_mutable_constructor( + pg_query_JsonObjectAgg* msg, upb_Arena* arena) { + struct pg_query_JsonAggConstructor* sub = (struct pg_query_JsonAggConstructor*)pg_query_JsonObjectAgg_constructor(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonAggConstructor*)_upb_Message_New(&pg_0query__JsonAggConstructor_msg_init, arena); + if (sub) pg_query_JsonObjectAgg_set_constructor(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonObjectAgg_set_arg(pg_query_JsonObjectAgg* msg, pg_query_JsonKeyValue* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonKeyValue_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonKeyValue* pg_query_JsonObjectAgg_mutable_arg( + pg_query_JsonObjectAgg* msg, upb_Arena* arena) { + struct pg_query_JsonKeyValue* sub = (struct pg_query_JsonKeyValue*)pg_query_JsonObjectAgg_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonKeyValue*)_upb_Message_New(&pg_0query__JsonKeyValue_msg_init, arena); + if (sub) pg_query_JsonObjectAgg_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonObjectAgg_set_absent_on_null(pg_query_JsonObjectAgg* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_JsonObjectAgg_set_unique(pg_query_JsonObjectAgg* msg, bool value) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.JsonArrayAgg */ +UPB_INLINE pg_query_JsonArrayAgg* pg_query_JsonArrayAgg_new(upb_Arena* arena) { + return (pg_query_JsonArrayAgg*)_upb_Message_New(&pg_0query__JsonArrayAgg_msg_init, arena); +} +UPB_INLINE pg_query_JsonArrayAgg* pg_query_JsonArrayAgg_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_JsonArrayAgg* ret = pg_query_JsonArrayAgg_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonArrayAgg_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_JsonArrayAgg* pg_query_JsonArrayAgg_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_JsonArrayAgg* ret = pg_query_JsonArrayAgg_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__JsonArrayAgg_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_JsonArrayAgg_serialize(const pg_query_JsonArrayAgg* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonArrayAgg_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_JsonArrayAgg_serialize_ex(const pg_query_JsonArrayAgg* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__JsonArrayAgg_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_JsonArrayAgg_clear_constructor(pg_query_JsonArrayAgg* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonAggConstructor* pg_query_JsonArrayAgg_constructor(const pg_query_JsonArrayAgg* msg) { + const pg_query_JsonAggConstructor* default_val = NULL; + const pg_query_JsonAggConstructor* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonAggConstructor_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonArrayAgg_has_constructor(const pg_query_JsonArrayAgg* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonArrayAgg_clear_arg(pg_query_JsonArrayAgg* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_JsonValueExpr* pg_query_JsonArrayAgg_arg(const pg_query_JsonArrayAgg* msg) { + const pg_query_JsonValueExpr* default_val = NULL; + const pg_query_JsonValueExpr* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_JsonArrayAgg_has_arg(const pg_query_JsonArrayAgg* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_JsonArrayAgg_clear_absent_on_null(pg_query_JsonArrayAgg* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_JsonArrayAgg_absent_on_null(const pg_query_JsonArrayAgg* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_JsonArrayAgg_set_constructor(pg_query_JsonArrayAgg* msg, pg_query_JsonAggConstructor* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonAggConstructor_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonAggConstructor* pg_query_JsonArrayAgg_mutable_constructor( + pg_query_JsonArrayAgg* msg, upb_Arena* arena) { + struct pg_query_JsonAggConstructor* sub = (struct pg_query_JsonAggConstructor*)pg_query_JsonArrayAgg_constructor(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonAggConstructor*)_upb_Message_New(&pg_0query__JsonAggConstructor_msg_init, arena); + if (sub) pg_query_JsonArrayAgg_set_constructor(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonArrayAgg_set_arg(pg_query_JsonArrayAgg* msg, pg_query_JsonValueExpr* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__JsonValueExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_JsonValueExpr* pg_query_JsonArrayAgg_mutable_arg( + pg_query_JsonArrayAgg* msg, upb_Arena* arena) { + struct pg_query_JsonValueExpr* sub = (struct pg_query_JsonValueExpr*)pg_query_JsonArrayAgg_arg(msg); + if (sub == NULL) { + sub = (struct pg_query_JsonValueExpr*)_upb_Message_New(&pg_0query__JsonValueExpr_msg_init, arena); + if (sub) pg_query_JsonArrayAgg_set_arg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_JsonArrayAgg_set_absent_on_null(pg_query_JsonArrayAgg* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RawStmt */ +UPB_INLINE pg_query_RawStmt* pg_query_RawStmt_new(upb_Arena* arena) { + return (pg_query_RawStmt*)_upb_Message_New(&pg_0query__RawStmt_msg_init, arena); +} +UPB_INLINE pg_query_RawStmt* pg_query_RawStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RawStmt* ret = pg_query_RawStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RawStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RawStmt* pg_query_RawStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RawStmt* ret = pg_query_RawStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RawStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RawStmt_serialize(const pg_query_RawStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RawStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RawStmt_serialize_ex(const pg_query_RawStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RawStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RawStmt_clear_stmt(pg_query_RawStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RawStmt_stmt(const pg_query_RawStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RawStmt_has_stmt(const pg_query_RawStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RawStmt_clear_stmt_location(pg_query_RawStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RawStmt_stmt_location(const pg_query_RawStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RawStmt_clear_stmt_len(pg_query_RawStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RawStmt_stmt_len(const pg_query_RawStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RawStmt_set_stmt(pg_query_RawStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RawStmt_mutable_stmt( + pg_query_RawStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RawStmt_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RawStmt_set_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RawStmt_set_stmt_location(pg_query_RawStmt* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RawStmt_set_stmt_len(pg_query_RawStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.InsertStmt */ +UPB_INLINE pg_query_InsertStmt* pg_query_InsertStmt_new(upb_Arena* arena) { + return (pg_query_InsertStmt*)_upb_Message_New(&pg_0query__InsertStmt_msg_init, arena); +} +UPB_INLINE pg_query_InsertStmt* pg_query_InsertStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_InsertStmt* ret = pg_query_InsertStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__InsertStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_InsertStmt* pg_query_InsertStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_InsertStmt* ret = pg_query_InsertStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__InsertStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_InsertStmt_serialize(const pg_query_InsertStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__InsertStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_InsertStmt_serialize_ex(const pg_query_InsertStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__InsertStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_InsertStmt_clear_relation(pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_InsertStmt_relation(const pg_query_InsertStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_InsertStmt_has_relation(const pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_InsertStmt_clear_cols(pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_InsertStmt_cols(const pg_query_InsertStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_InsertStmt_cols_upb_array( + const pg_query_InsertStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_InsertStmt_cols_mutable_upb_array( + pg_query_InsertStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_InsertStmt_clear_select_stmt(pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_InsertStmt_select_stmt(const pg_query_InsertStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_InsertStmt_has_select_stmt(const pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_InsertStmt_clear_on_conflict_clause(pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_OnConflictClause* pg_query_InsertStmt_on_conflict_clause(const pg_query_InsertStmt* msg) { + const pg_query_OnConflictClause* default_val = NULL; + const pg_query_OnConflictClause* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OnConflictClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_InsertStmt_has_on_conflict_clause(const pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_InsertStmt_clear_returning_clause(pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReturningClause* pg_query_InsertStmt_returning_clause(const pg_query_InsertStmt* msg) { + const pg_query_ReturningClause* default_val = NULL; + const pg_query_ReturningClause* ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_InsertStmt_has_returning_clause(const pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_InsertStmt_clear_with_clause(pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WithClause* pg_query_InsertStmt_with_clause(const pg_query_InsertStmt* msg) { + const pg_query_WithClause* default_val = NULL; + const pg_query_WithClause* ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_InsertStmt_has_with_clause(const pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_InsertStmt_clear_override(pg_query_InsertStmt* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_InsertStmt_override(const pg_query_InsertStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(36, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_InsertStmt_set_relation(pg_query_InsertStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_InsertStmt_mutable_relation( + pg_query_InsertStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_InsertStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_InsertStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_InsertStmt_mutable_cols(pg_query_InsertStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_InsertStmt_resize_cols(pg_query_InsertStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_InsertStmt_add_cols( + pg_query_InsertStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_InsertStmt_set_select_stmt(pg_query_InsertStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_InsertStmt_mutable_select_stmt( + pg_query_InsertStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_InsertStmt_select_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_InsertStmt_set_select_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_InsertStmt_set_on_conflict_clause(pg_query_InsertStmt* msg, pg_query_OnConflictClause* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__OnConflictClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_OnConflictClause* pg_query_InsertStmt_mutable_on_conflict_clause( + pg_query_InsertStmt* msg, upb_Arena* arena) { + struct pg_query_OnConflictClause* sub = (struct pg_query_OnConflictClause*)pg_query_InsertStmt_on_conflict_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_OnConflictClause*)_upb_Message_New(&pg_0query__OnConflictClause_msg_init, arena); + if (sub) pg_query_InsertStmt_set_on_conflict_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_InsertStmt_set_returning_clause(pg_query_InsertStmt* msg, pg_query_ReturningClause* value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReturningClause* pg_query_InsertStmt_mutable_returning_clause( + pg_query_InsertStmt* msg, upb_Arena* arena) { + struct pg_query_ReturningClause* sub = (struct pg_query_ReturningClause*)pg_query_InsertStmt_returning_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_ReturningClause*)_upb_Message_New(&pg_0query__ReturningClause_msg_init, arena); + if (sub) pg_query_InsertStmt_set_returning_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_InsertStmt_set_with_clause(pg_query_InsertStmt* msg, pg_query_WithClause* value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WithClause* pg_query_InsertStmt_mutable_with_clause( + pg_query_InsertStmt* msg, upb_Arena* arena) { + struct pg_query_WithClause* sub = (struct pg_query_WithClause*)pg_query_InsertStmt_with_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_WithClause*)_upb_Message_New(&pg_0query__WithClause_msg_init, arena); + if (sub) pg_query_InsertStmt_set_with_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_InsertStmt_set_override(pg_query_InsertStmt* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.DeleteStmt */ +UPB_INLINE pg_query_DeleteStmt* pg_query_DeleteStmt_new(upb_Arena* arena) { + return (pg_query_DeleteStmt*)_upb_Message_New(&pg_0query__DeleteStmt_msg_init, arena); +} +UPB_INLINE pg_query_DeleteStmt* pg_query_DeleteStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DeleteStmt* ret = pg_query_DeleteStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DeleteStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DeleteStmt* pg_query_DeleteStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DeleteStmt* ret = pg_query_DeleteStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DeleteStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DeleteStmt_serialize(const pg_query_DeleteStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DeleteStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DeleteStmt_serialize_ex(const pg_query_DeleteStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DeleteStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DeleteStmt_clear_relation(pg_query_DeleteStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_DeleteStmt_relation(const pg_query_DeleteStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_DeleteStmt_has_relation(const pg_query_DeleteStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_DeleteStmt_clear_using_clause(pg_query_DeleteStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_DeleteStmt_using_clause(const pg_query_DeleteStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_DeleteStmt_using_clause_upb_array( + const pg_query_DeleteStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_DeleteStmt_using_clause_mutable_upb_array( + pg_query_DeleteStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_DeleteStmt_clear_where_clause(pg_query_DeleteStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_DeleteStmt_where_clause(const pg_query_DeleteStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_DeleteStmt_has_where_clause(const pg_query_DeleteStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_DeleteStmt_clear_returning_clause(pg_query_DeleteStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReturningClause* pg_query_DeleteStmt_returning_clause(const pg_query_DeleteStmt* msg) { + const pg_query_ReturningClause* default_val = NULL; + const pg_query_ReturningClause* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_DeleteStmt_has_returning_clause(const pg_query_DeleteStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_DeleteStmt_clear_with_clause(pg_query_DeleteStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(7, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WithClause* pg_query_DeleteStmt_with_clause(const pg_query_DeleteStmt* msg) { + const pg_query_WithClause* default_val = NULL; + const pg_query_WithClause* ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(7, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_DeleteStmt_has_with_clause(const pg_query_DeleteStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(7, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_DeleteStmt_set_relation(pg_query_DeleteStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_DeleteStmt_mutable_relation( + pg_query_DeleteStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_DeleteStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_DeleteStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_DeleteStmt_mutable_using_clause(pg_query_DeleteStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_DeleteStmt_resize_using_clause(pg_query_DeleteStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_DeleteStmt_add_using_clause( + pg_query_DeleteStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_DeleteStmt_set_where_clause(pg_query_DeleteStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_DeleteStmt_mutable_where_clause( + pg_query_DeleteStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_DeleteStmt_where_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_DeleteStmt_set_where_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_DeleteStmt_set_returning_clause(pg_query_DeleteStmt* msg, pg_query_ReturningClause* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReturningClause* pg_query_DeleteStmt_mutable_returning_clause( + pg_query_DeleteStmt* msg, upb_Arena* arena) { + struct pg_query_ReturningClause* sub = (struct pg_query_ReturningClause*)pg_query_DeleteStmt_returning_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_ReturningClause*)_upb_Message_New(&pg_0query__ReturningClause_msg_init, arena); + if (sub) pg_query_DeleteStmt_set_returning_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_DeleteStmt_set_with_clause(pg_query_DeleteStmt* msg, pg_query_WithClause* value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(7, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WithClause* pg_query_DeleteStmt_mutable_with_clause( + pg_query_DeleteStmt* msg, upb_Arena* arena) { + struct pg_query_WithClause* sub = (struct pg_query_WithClause*)pg_query_DeleteStmt_with_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_WithClause*)_upb_Message_New(&pg_0query__WithClause_msg_init, arena); + if (sub) pg_query_DeleteStmt_set_with_clause(msg, sub); + } + return sub; +} + +/* pg_query.UpdateStmt */ +UPB_INLINE pg_query_UpdateStmt* pg_query_UpdateStmt_new(upb_Arena* arena) { + return (pg_query_UpdateStmt*)_upb_Message_New(&pg_0query__UpdateStmt_msg_init, arena); +} +UPB_INLINE pg_query_UpdateStmt* pg_query_UpdateStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_UpdateStmt* ret = pg_query_UpdateStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__UpdateStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_UpdateStmt* pg_query_UpdateStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_UpdateStmt* ret = pg_query_UpdateStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__UpdateStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_UpdateStmt_serialize(const pg_query_UpdateStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__UpdateStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_UpdateStmt_serialize_ex(const pg_query_UpdateStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__UpdateStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_UpdateStmt_clear_relation(pg_query_UpdateStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_UpdateStmt_relation(const pg_query_UpdateStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_UpdateStmt_has_relation(const pg_query_UpdateStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_UpdateStmt_clear_target_list(pg_query_UpdateStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_UpdateStmt_target_list(const pg_query_UpdateStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_UpdateStmt_target_list_upb_array( + const pg_query_UpdateStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_UpdateStmt_target_list_mutable_upb_array( + pg_query_UpdateStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_UpdateStmt_clear_where_clause(pg_query_UpdateStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_UpdateStmt_where_clause(const pg_query_UpdateStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_UpdateStmt_has_where_clause(const pg_query_UpdateStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_UpdateStmt_clear_from_clause(pg_query_UpdateStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_UpdateStmt_from_clause(const pg_query_UpdateStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_UpdateStmt_from_clause_upb_array( + const pg_query_UpdateStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_UpdateStmt_from_clause_mutable_upb_array( + pg_query_UpdateStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_UpdateStmt_clear_returning_clause(pg_query_UpdateStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReturningClause* pg_query_UpdateStmt_returning_clause(const pg_query_UpdateStmt* msg) { + const pg_query_ReturningClause* default_val = NULL; + const pg_query_ReturningClause* ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_UpdateStmt_has_returning_clause(const pg_query_UpdateStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_UpdateStmt_clear_with_clause(pg_query_UpdateStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WithClause* pg_query_UpdateStmt_with_clause(const pg_query_UpdateStmt* msg) { + const pg_query_WithClause* default_val = NULL; + const pg_query_WithClause* ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_UpdateStmt_has_with_clause(const pg_query_UpdateStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_UpdateStmt_set_relation(pg_query_UpdateStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_UpdateStmt_mutable_relation( + pg_query_UpdateStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_UpdateStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_UpdateStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_UpdateStmt_mutable_target_list(pg_query_UpdateStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_UpdateStmt_resize_target_list(pg_query_UpdateStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_UpdateStmt_add_target_list( + pg_query_UpdateStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_UpdateStmt_set_where_clause(pg_query_UpdateStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_UpdateStmt_mutable_where_clause( + pg_query_UpdateStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_UpdateStmt_where_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_UpdateStmt_set_where_clause(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_UpdateStmt_mutable_from_clause(pg_query_UpdateStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_UpdateStmt_resize_from_clause(pg_query_UpdateStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_UpdateStmt_add_from_clause( + pg_query_UpdateStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_UpdateStmt_set_returning_clause(pg_query_UpdateStmt* msg, pg_query_ReturningClause* value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 66, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReturningClause* pg_query_UpdateStmt_mutable_returning_clause( + pg_query_UpdateStmt* msg, upb_Arena* arena) { + struct pg_query_ReturningClause* sub = (struct pg_query_ReturningClause*)pg_query_UpdateStmt_returning_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_ReturningClause*)_upb_Message_New(&pg_0query__ReturningClause_msg_init, arena); + if (sub) pg_query_UpdateStmt_set_returning_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_UpdateStmt_set_with_clause(pg_query_UpdateStmt* msg, pg_query_WithClause* value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 67, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WithClause* pg_query_UpdateStmt_mutable_with_clause( + pg_query_UpdateStmt* msg, upb_Arena* arena) { + struct pg_query_WithClause* sub = (struct pg_query_WithClause*)pg_query_UpdateStmt_with_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_WithClause*)_upb_Message_New(&pg_0query__WithClause_msg_init, arena); + if (sub) pg_query_UpdateStmt_set_with_clause(msg, sub); + } + return sub; +} + +/* pg_query.MergeStmt */ +UPB_INLINE pg_query_MergeStmt* pg_query_MergeStmt_new(upb_Arena* arena) { + return (pg_query_MergeStmt*)_upb_Message_New(&pg_0query__MergeStmt_msg_init, arena); +} +UPB_INLINE pg_query_MergeStmt* pg_query_MergeStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_MergeStmt* ret = pg_query_MergeStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MergeStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_MergeStmt* pg_query_MergeStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_MergeStmt* ret = pg_query_MergeStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__MergeStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_MergeStmt_serialize(const pg_query_MergeStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MergeStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_MergeStmt_serialize_ex(const pg_query_MergeStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__MergeStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_MergeStmt_clear_relation(pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_MergeStmt_relation(const pg_query_MergeStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_MergeStmt_has_relation(const pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_MergeStmt_clear_source_relation(pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_MergeStmt_source_relation(const pg_query_MergeStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_MergeStmt_has_source_relation(const pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_MergeStmt_clear_join_condition(pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_MergeStmt_join_condition(const pg_query_MergeStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_MergeStmt_has_join_condition(const pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_MergeStmt_clear_merge_when_clauses(pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_MergeStmt_merge_when_clauses(const pg_query_MergeStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_MergeStmt_merge_when_clauses_upb_array( + const pg_query_MergeStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_MergeStmt_merge_when_clauses_mutable_upb_array( + pg_query_MergeStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_MergeStmt_clear_returning_clause(pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ReturningClause* pg_query_MergeStmt_returning_clause(const pg_query_MergeStmt* msg) { + const pg_query_ReturningClause* default_val = NULL; + const pg_query_ReturningClause* ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_MergeStmt_has_returning_clause(const pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_MergeStmt_clear_with_clause(pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 68, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WithClause* pg_query_MergeStmt_with_clause(const pg_query_MergeStmt* msg) { + const pg_query_WithClause* default_val = NULL; + const pg_query_WithClause* ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 68, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_MergeStmt_has_with_clause(const pg_query_MergeStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 68, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_MergeStmt_set_relation(pg_query_MergeStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_MergeStmt_mutable_relation( + pg_query_MergeStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_MergeStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_MergeStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_MergeStmt_set_source_relation(pg_query_MergeStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_MergeStmt_mutable_source_relation( + pg_query_MergeStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_MergeStmt_source_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_MergeStmt_set_source_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_MergeStmt_set_join_condition(pg_query_MergeStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_MergeStmt_mutable_join_condition( + pg_query_MergeStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_MergeStmt_join_condition(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_MergeStmt_set_join_condition(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_MergeStmt_mutable_merge_when_clauses(pg_query_MergeStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_MergeStmt_resize_merge_when_clauses(pg_query_MergeStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_MergeStmt_add_merge_when_clauses( + pg_query_MergeStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_MergeStmt_set_returning_clause(pg_query_MergeStmt* msg, pg_query_ReturningClause* value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 67, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ReturningClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ReturningClause* pg_query_MergeStmt_mutable_returning_clause( + pg_query_MergeStmt* msg, upb_Arena* arena) { + struct pg_query_ReturningClause* sub = (struct pg_query_ReturningClause*)pg_query_MergeStmt_returning_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_ReturningClause*)_upb_Message_New(&pg_0query__ReturningClause_msg_init, arena); + if (sub) pg_query_MergeStmt_set_returning_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_MergeStmt_set_with_clause(pg_query_MergeStmt* msg, pg_query_WithClause* value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 68, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WithClause* pg_query_MergeStmt_mutable_with_clause( + pg_query_MergeStmt* msg, upb_Arena* arena) { + struct pg_query_WithClause* sub = (struct pg_query_WithClause*)pg_query_MergeStmt_with_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_WithClause*)_upb_Message_New(&pg_0query__WithClause_msg_init, arena); + if (sub) pg_query_MergeStmt_set_with_clause(msg, sub); + } + return sub; +} + +/* pg_query.SelectStmt */ +UPB_INLINE pg_query_SelectStmt* pg_query_SelectStmt_new(upb_Arena* arena) { + return (pg_query_SelectStmt*)_upb_Message_New(&pg_0query__SelectStmt_msg_init, arena); +} +UPB_INLINE pg_query_SelectStmt* pg_query_SelectStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SelectStmt* ret = pg_query_SelectStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SelectStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SelectStmt* pg_query_SelectStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SelectStmt* ret = pg_query_SelectStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SelectStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SelectStmt_serialize(const pg_query_SelectStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SelectStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SelectStmt_serialize_ex(const pg_query_SelectStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SelectStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SelectStmt_clear_distinct_clause(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 60, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SelectStmt_distinct_clause(const pg_query_SelectStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 60, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SelectStmt_distinct_clause_upb_array( + const pg_query_SelectStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 60, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SelectStmt_distinct_clause_mutable_upb_array( + pg_query_SelectStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 60, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SelectStmt_clear_into_clause(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(58, 59), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_IntoClause* pg_query_SelectStmt_into_clause(const pg_query_SelectStmt* msg) { + const pg_query_IntoClause* default_val = NULL; + const pg_query_IntoClause* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(58, 59), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IntoClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SelectStmt_has_into_clause(const pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(58, 59), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SelectStmt_clear_target_list(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(56, 58), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SelectStmt_target_list(const pg_query_SelectStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(56, 58), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SelectStmt_target_list_upb_array( + const pg_query_SelectStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(56, 58), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SelectStmt_target_list_mutable_upb_array( + pg_query_SelectStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(56, 58), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SelectStmt_clear_from_clause(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 0, UPB_SIZE(54, 57), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SelectStmt_from_clause(const pg_query_SelectStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 0, UPB_SIZE(54, 57), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SelectStmt_from_clause_upb_array( + const pg_query_SelectStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 0, UPB_SIZE(54, 57), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SelectStmt_from_clause_mutable_upb_array( + pg_query_SelectStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 0, UPB_SIZE(54, 57), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SelectStmt_clear_where_clause(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 56), 65, UPB_SIZE(52, 56), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SelectStmt_where_clause(const pg_query_SelectStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 56), 65, UPB_SIZE(52, 56), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SelectStmt_has_where_clause(const pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 56), 65, UPB_SIZE(52, 56), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SelectStmt_clear_group_clause(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 64), 0, UPB_SIZE(50, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SelectStmt_group_clause(const pg_query_SelectStmt* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 64), 0, UPB_SIZE(50, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SelectStmt_group_clause_upb_array( + const pg_query_SelectStmt* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 64), 0, UPB_SIZE(50, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SelectStmt_group_clause_mutable_upb_array( + pg_query_SelectStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 64), 0, UPB_SIZE(50, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SelectStmt_clear_group_distinct(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_SelectStmt_group_distinct(const pg_query_SelectStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SelectStmt_clear_having_clause(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 66, UPB_SIZE(45, 51), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SelectStmt_having_clause(const pg_query_SelectStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 66, UPB_SIZE(45, 51), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SelectStmt_has_having_clause(const pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 66, UPB_SIZE(45, 51), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SelectStmt_clear_window_clause(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 80), 0, UPB_SIZE(43, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SelectStmt_window_clause(const pg_query_SelectStmt* msg, + size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 80), 0, UPB_SIZE(43, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SelectStmt_window_clause_upb_array( + const pg_query_SelectStmt* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 80), 0, UPB_SIZE(43, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SelectStmt_window_clause_mutable_upb_array( + pg_query_SelectStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 80), 0, UPB_SIZE(43, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SelectStmt_clear_values_lists(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 88), 0, UPB_SIZE(41, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SelectStmt_values_lists(const pg_query_SelectStmt* msg, + size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 88), 0, UPB_SIZE(41, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SelectStmt_values_lists_upb_array( + const pg_query_SelectStmt* msg, size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 88), 0, UPB_SIZE(41, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SelectStmt_values_lists_mutable_upb_array( + pg_query_SelectStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {10, UPB_SIZE(44, 88), 0, UPB_SIZE(41, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SelectStmt_clear_sort_clause(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 96), 0, UPB_SIZE(39, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SelectStmt_sort_clause(const pg_query_SelectStmt* msg, + size_t* size) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 96), 0, UPB_SIZE(39, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SelectStmt_sort_clause_upb_array( + const pg_query_SelectStmt* msg, size_t* size) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 96), 0, UPB_SIZE(39, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SelectStmt_sort_clause_mutable_upb_array( + pg_query_SelectStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {11, UPB_SIZE(48, 96), 0, UPB_SIZE(39, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SelectStmt_clear_limit_offset(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(52, 104), 67, UPB_SIZE(37, 47), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SelectStmt_limit_offset(const pg_query_SelectStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {12, UPB_SIZE(52, 104), 67, UPB_SIZE(37, 47), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SelectStmt_has_limit_offset(const pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(52, 104), 67, UPB_SIZE(37, 47), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SelectStmt_clear_limit_count(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(56, 112), 68, UPB_SIZE(35, 46), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SelectStmt_limit_count(const pg_query_SelectStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {13, UPB_SIZE(56, 112), 68, UPB_SIZE(35, 46), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SelectStmt_has_limit_count(const pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(56, 112), 68, UPB_SIZE(35, 46), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SelectStmt_clear_limit_option(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(60, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SelectStmt_limit_option(const pg_query_SelectStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {14, UPB_SIZE(60, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SelectStmt_clear_locking_clause(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(64, 120), 0, UPB_SIZE(30, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SelectStmt_locking_clause(const pg_query_SelectStmt* msg, + size_t* size) { + const upb_MiniTableField field = {15, UPB_SIZE(64, 120), 0, UPB_SIZE(30, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SelectStmt_locking_clause_upb_array( + const pg_query_SelectStmt* msg, size_t* size) { + const upb_MiniTableField field = {15, UPB_SIZE(64, 120), 0, UPB_SIZE(30, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SelectStmt_locking_clause_mutable_upb_array( + pg_query_SelectStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {15, UPB_SIZE(64, 120), 0, UPB_SIZE(30, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SelectStmt_clear_with_clause(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(68, 128), 69, UPB_SIZE(28, 41), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_WithClause* pg_query_SelectStmt_with_clause(const pg_query_SelectStmt* msg) { + const pg_query_WithClause* default_val = NULL; + const pg_query_WithClause* ret; + const upb_MiniTableField field = {16, UPB_SIZE(68, 128), 69, UPB_SIZE(28, 41), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SelectStmt_has_with_clause(const pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(68, 128), 69, UPB_SIZE(28, 41), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SelectStmt_clear_op(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(72, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SelectStmt_op(const pg_query_SelectStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {17, UPB_SIZE(72, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SelectStmt_clear_all(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {18, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_SelectStmt_all(const pg_query_SelectStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {18, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SelectStmt_clear_larg(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(76, 136), 70, UPB_SIZE(20, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SelectStmt* pg_query_SelectStmt_larg(const pg_query_SelectStmt* msg) { + const pg_query_SelectStmt* default_val = NULL; + const pg_query_SelectStmt* ret; + const upb_MiniTableField field = {19, UPB_SIZE(76, 136), 70, UPB_SIZE(20, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SelectStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SelectStmt_has_larg(const pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(76, 136), 70, UPB_SIZE(20, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SelectStmt_clear_rarg(pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(80, 144), 71, UPB_SIZE(18, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SelectStmt* pg_query_SelectStmt_rarg(const pg_query_SelectStmt* msg) { + const pg_query_SelectStmt* default_val = NULL; + const pg_query_SelectStmt* ret; + const upb_MiniTableField field = {20, UPB_SIZE(80, 144), 71, UPB_SIZE(18, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SelectStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SelectStmt_has_rarg(const pg_query_SelectStmt* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(80, 144), 71, UPB_SIZE(18, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE pg_query_Node** pg_query_SelectStmt_mutable_distinct_clause(pg_query_SelectStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 60, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SelectStmt_resize_distinct_clause(pg_query_SelectStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 60, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_add_distinct_clause( + pg_query_SelectStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, 60, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SelectStmt_set_into_clause(pg_query_SelectStmt* msg, pg_query_IntoClause* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(58, 59), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IntoClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_IntoClause* pg_query_SelectStmt_mutable_into_clause( + pg_query_SelectStmt* msg, upb_Arena* arena) { + struct pg_query_IntoClause* sub = (struct pg_query_IntoClause*)pg_query_SelectStmt_into_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_IntoClause*)_upb_Message_New(&pg_0query__IntoClause_msg_init, arena); + if (sub) pg_query_SelectStmt_set_into_clause(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SelectStmt_mutable_target_list(pg_query_SelectStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(56, 58), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SelectStmt_resize_target_list(pg_query_SelectStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(56, 58), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_add_target_list( + pg_query_SelectStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 40), 0, UPB_SIZE(56, 58), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SelectStmt_mutable_from_clause(pg_query_SelectStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 48), 0, UPB_SIZE(54, 57), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SelectStmt_resize_from_clause(pg_query_SelectStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 48), 0, UPB_SIZE(54, 57), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_add_from_clause( + pg_query_SelectStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 48), 0, UPB_SIZE(54, 57), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SelectStmt_set_where_clause(pg_query_SelectStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 56), 65, UPB_SIZE(52, 56), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_mutable_where_clause( + pg_query_SelectStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SelectStmt_where_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SelectStmt_set_where_clause(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SelectStmt_mutable_group_clause(pg_query_SelectStmt* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(32, 64), 0, UPB_SIZE(50, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SelectStmt_resize_group_clause(pg_query_SelectStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 64), 0, UPB_SIZE(50, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_add_group_clause( + pg_query_SelectStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(32, 64), 0, UPB_SIZE(50, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SelectStmt_set_group_distinct(pg_query_SelectStmt* msg, bool value) { + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SelectStmt_set_having_clause(pg_query_SelectStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 66, UPB_SIZE(45, 51), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_mutable_having_clause( + pg_query_SelectStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SelectStmt_having_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SelectStmt_set_having_clause(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SelectStmt_mutable_window_clause(pg_query_SelectStmt* msg, + size_t* size) { + upb_MiniTableField field = {9, UPB_SIZE(40, 80), 0, UPB_SIZE(43, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SelectStmt_resize_window_clause(pg_query_SelectStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(40, 80), 0, UPB_SIZE(43, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_add_window_clause( + pg_query_SelectStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(40, 80), 0, UPB_SIZE(43, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SelectStmt_mutable_values_lists(pg_query_SelectStmt* msg, + size_t* size) { + upb_MiniTableField field = {10, UPB_SIZE(44, 88), 0, UPB_SIZE(41, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SelectStmt_resize_values_lists(pg_query_SelectStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(44, 88), 0, UPB_SIZE(41, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_add_values_lists( + pg_query_SelectStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(44, 88), 0, UPB_SIZE(41, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SelectStmt_mutable_sort_clause(pg_query_SelectStmt* msg, + size_t* size) { + upb_MiniTableField field = {11, UPB_SIZE(48, 96), 0, UPB_SIZE(39, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SelectStmt_resize_sort_clause(pg_query_SelectStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {11, UPB_SIZE(48, 96), 0, UPB_SIZE(39, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_add_sort_clause( + pg_query_SelectStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {11, UPB_SIZE(48, 96), 0, UPB_SIZE(39, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SelectStmt_set_limit_offset(pg_query_SelectStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {12, UPB_SIZE(52, 104), 67, UPB_SIZE(37, 47), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_mutable_limit_offset( + pg_query_SelectStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SelectStmt_limit_offset(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SelectStmt_set_limit_offset(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SelectStmt_set_limit_count(pg_query_SelectStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {13, UPB_SIZE(56, 112), 68, UPB_SIZE(35, 46), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_mutable_limit_count( + pg_query_SelectStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SelectStmt_limit_count(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SelectStmt_set_limit_count(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SelectStmt_set_limit_option(pg_query_SelectStmt* msg, int32_t value) { + const upb_MiniTableField field = {14, UPB_SIZE(60, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_SelectStmt_mutable_locking_clause(pg_query_SelectStmt* msg, + size_t* size) { + upb_MiniTableField field = {15, UPB_SIZE(64, 120), 0, UPB_SIZE(30, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SelectStmt_resize_locking_clause(pg_query_SelectStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {15, UPB_SIZE(64, 120), 0, UPB_SIZE(30, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SelectStmt_add_locking_clause( + pg_query_SelectStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {15, UPB_SIZE(64, 120), 0, UPB_SIZE(30, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SelectStmt_set_with_clause(pg_query_SelectStmt* msg, pg_query_WithClause* value) { + const upb_MiniTableField field = {16, UPB_SIZE(68, 128), 69, UPB_SIZE(28, 41), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__WithClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_WithClause* pg_query_SelectStmt_mutable_with_clause( + pg_query_SelectStmt* msg, upb_Arena* arena) { + struct pg_query_WithClause* sub = (struct pg_query_WithClause*)pg_query_SelectStmt_with_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_WithClause*)_upb_Message_New(&pg_0query__WithClause_msg_init, arena); + if (sub) pg_query_SelectStmt_set_with_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SelectStmt_set_op(pg_query_SelectStmt* msg, int32_t value) { + const upb_MiniTableField field = {17, UPB_SIZE(72, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SelectStmt_set_all(pg_query_SelectStmt* msg, bool value) { + const upb_MiniTableField field = {18, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SelectStmt_set_larg(pg_query_SelectStmt* msg, pg_query_SelectStmt* value) { + const upb_MiniTableField field = {19, UPB_SIZE(76, 136), 70, UPB_SIZE(20, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SelectStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SelectStmt* pg_query_SelectStmt_mutable_larg( + pg_query_SelectStmt* msg, upb_Arena* arena) { + struct pg_query_SelectStmt* sub = (struct pg_query_SelectStmt*)pg_query_SelectStmt_larg(msg); + if (sub == NULL) { + sub = (struct pg_query_SelectStmt*)_upb_Message_New(&pg_0query__SelectStmt_msg_init, arena); + if (sub) pg_query_SelectStmt_set_larg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SelectStmt_set_rarg(pg_query_SelectStmt* msg, pg_query_SelectStmt* value) { + const upb_MiniTableField field = {20, UPB_SIZE(80, 144), 71, UPB_SIZE(18, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SelectStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SelectStmt* pg_query_SelectStmt_mutable_rarg( + pg_query_SelectStmt* msg, upb_Arena* arena) { + struct pg_query_SelectStmt* sub = (struct pg_query_SelectStmt*)pg_query_SelectStmt_rarg(msg); + if (sub == NULL) { + sub = (struct pg_query_SelectStmt*)_upb_Message_New(&pg_0query__SelectStmt_msg_init, arena); + if (sub) pg_query_SelectStmt_set_rarg(msg, sub); + } + return sub; +} + +/* pg_query.SetOperationStmt */ +UPB_INLINE pg_query_SetOperationStmt* pg_query_SetOperationStmt_new(upb_Arena* arena) { + return (pg_query_SetOperationStmt*)_upb_Message_New(&pg_0query__SetOperationStmt_msg_init, arena); +} +UPB_INLINE pg_query_SetOperationStmt* pg_query_SetOperationStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SetOperationStmt* ret = pg_query_SetOperationStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SetOperationStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SetOperationStmt* pg_query_SetOperationStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SetOperationStmt* ret = pg_query_SetOperationStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SetOperationStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SetOperationStmt_serialize(const pg_query_SetOperationStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SetOperationStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SetOperationStmt_serialize_ex(const pg_query_SetOperationStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SetOperationStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SetOperationStmt_clear_op(pg_query_SetOperationStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SetOperationStmt_op(const pg_query_SetOperationStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SetOperationStmt_clear_all(pg_query_SetOperationStmt* msg) { + const upb_MiniTableField field = {2, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_SetOperationStmt_all(const pg_query_SetOperationStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SetOperationStmt_clear_larg(pg_query_SetOperationStmt* msg) { + const upb_MiniTableField field = {3, 16, 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SetOperationStmt_larg(const pg_query_SetOperationStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, 16, 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SetOperationStmt_has_larg(const pg_query_SetOperationStmt* msg) { + const upb_MiniTableField field = {3, 16, 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SetOperationStmt_clear_rarg(pg_query_SetOperationStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SetOperationStmt_rarg(const pg_query_SetOperationStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SetOperationStmt_has_rarg(const pg_query_SetOperationStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SetOperationStmt_clear_col_types(pg_query_SetOperationStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SetOperationStmt_col_types(const pg_query_SetOperationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SetOperationStmt_col_types_upb_array( + const pg_query_SetOperationStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SetOperationStmt_col_types_mutable_upb_array( + pg_query_SetOperationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SetOperationStmt_clear_col_typmods(pg_query_SetOperationStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SetOperationStmt_col_typmods(const pg_query_SetOperationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SetOperationStmt_col_typmods_upb_array( + const pg_query_SetOperationStmt* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SetOperationStmt_col_typmods_mutable_upb_array( + pg_query_SetOperationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SetOperationStmt_clear_col_collations(pg_query_SetOperationStmt* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SetOperationStmt_col_collations(const pg_query_SetOperationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SetOperationStmt_col_collations_upb_array( + const pg_query_SetOperationStmt* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SetOperationStmt_col_collations_mutable_upb_array( + pg_query_SetOperationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SetOperationStmt_clear_group_clauses(pg_query_SetOperationStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_SetOperationStmt_group_clauses(const pg_query_SetOperationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SetOperationStmt_group_clauses_upb_array( + const pg_query_SetOperationStmt* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SetOperationStmt_group_clauses_mutable_upb_array( + pg_query_SetOperationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_SetOperationStmt_set_op(pg_query_SetOperationStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SetOperationStmt_set_all(pg_query_SetOperationStmt* msg, bool value) { + const upb_MiniTableField field = {2, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SetOperationStmt_set_larg(pg_query_SetOperationStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, 16, 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SetOperationStmt_mutable_larg( + pg_query_SetOperationStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SetOperationStmt_larg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SetOperationStmt_set_larg(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SetOperationStmt_set_rarg(pg_query_SetOperationStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SetOperationStmt_mutable_rarg( + pg_query_SetOperationStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SetOperationStmt_rarg(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SetOperationStmt_set_rarg(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SetOperationStmt_mutable_col_types(pg_query_SetOperationStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SetOperationStmt_resize_col_types(pg_query_SetOperationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SetOperationStmt_add_col_types( + pg_query_SetOperationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SetOperationStmt_mutable_col_typmods(pg_query_SetOperationStmt* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SetOperationStmt_resize_col_typmods(pg_query_SetOperationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SetOperationStmt_add_col_typmods( + pg_query_SetOperationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SetOperationStmt_mutable_col_collations(pg_query_SetOperationStmt* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SetOperationStmt_resize_col_collations(pg_query_SetOperationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SetOperationStmt_add_col_collations( + pg_query_SetOperationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_SetOperationStmt_mutable_group_clauses(pg_query_SetOperationStmt* msg, + size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_SetOperationStmt_resize_group_clauses(pg_query_SetOperationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_SetOperationStmt_add_group_clauses( + pg_query_SetOperationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.ReturnStmt */ +UPB_INLINE pg_query_ReturnStmt* pg_query_ReturnStmt_new(upb_Arena* arena) { + return (pg_query_ReturnStmt*)_upb_Message_New(&pg_0query__ReturnStmt_msg_init, arena); +} +UPB_INLINE pg_query_ReturnStmt* pg_query_ReturnStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ReturnStmt* ret = pg_query_ReturnStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReturnStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ReturnStmt* pg_query_ReturnStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ReturnStmt* ret = pg_query_ReturnStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReturnStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ReturnStmt_serialize(const pg_query_ReturnStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReturnStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ReturnStmt_serialize_ex(const pg_query_ReturnStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReturnStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ReturnStmt_clear_returnval(pg_query_ReturnStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ReturnStmt_returnval(const pg_query_ReturnStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ReturnStmt_has_returnval(const pg_query_ReturnStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_ReturnStmt_set_returnval(pg_query_ReturnStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ReturnStmt_mutable_returnval( + pg_query_ReturnStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ReturnStmt_returnval(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ReturnStmt_set_returnval(msg, sub); + } + return sub; +} + +/* pg_query.PLAssignStmt */ +UPB_INLINE pg_query_PLAssignStmt* pg_query_PLAssignStmt_new(upb_Arena* arena) { + return (pg_query_PLAssignStmt*)_upb_Message_New(&pg_0query__PLAssignStmt_msg_init, arena); +} +UPB_INLINE pg_query_PLAssignStmt* pg_query_PLAssignStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_PLAssignStmt* ret = pg_query_PLAssignStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PLAssignStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_PLAssignStmt* pg_query_PLAssignStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_PLAssignStmt* ret = pg_query_PLAssignStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PLAssignStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_PLAssignStmt_serialize(const pg_query_PLAssignStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PLAssignStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_PLAssignStmt_serialize_ex(const pg_query_PLAssignStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PLAssignStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_PLAssignStmt_clear_name(pg_query_PLAssignStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_PLAssignStmt_name(const pg_query_PLAssignStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PLAssignStmt_clear_indirection(pg_query_PLAssignStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_PLAssignStmt_indirection(const pg_query_PLAssignStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_PLAssignStmt_indirection_upb_array( + const pg_query_PLAssignStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_PLAssignStmt_indirection_mutable_upb_array( + pg_query_PLAssignStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_PLAssignStmt_clear_nnames(pg_query_PLAssignStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PLAssignStmt_nnames(const pg_query_PLAssignStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PLAssignStmt_clear_val(pg_query_PLAssignStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SelectStmt* pg_query_PLAssignStmt_val(const pg_query_PLAssignStmt* msg) { + const pg_query_SelectStmt* default_val = NULL; + const pg_query_SelectStmt* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SelectStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_PLAssignStmt_has_val(const pg_query_PLAssignStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_PLAssignStmt_clear_location(pg_query_PLAssignStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PLAssignStmt_location(const pg_query_PLAssignStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_PLAssignStmt_set_name(pg_query_PLAssignStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_PLAssignStmt_mutable_indirection(pg_query_PLAssignStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_PLAssignStmt_resize_indirection(pg_query_PLAssignStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_PLAssignStmt_add_indirection( + pg_query_PLAssignStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 40), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_PLAssignStmt_set_nnames(pg_query_PLAssignStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_PLAssignStmt_set_val(pg_query_PLAssignStmt* msg, pg_query_SelectStmt* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SelectStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_SelectStmt* pg_query_PLAssignStmt_mutable_val( + pg_query_PLAssignStmt* msg, upb_Arena* arena) { + struct pg_query_SelectStmt* sub = (struct pg_query_SelectStmt*)pg_query_PLAssignStmt_val(msg); + if (sub == NULL) { + sub = (struct pg_query_SelectStmt*)_upb_Message_New(&pg_0query__SelectStmt_msg_init, arena); + if (sub) pg_query_PLAssignStmt_set_val(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_PLAssignStmt_set_location(pg_query_PLAssignStmt* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateSchemaStmt */ +UPB_INLINE pg_query_CreateSchemaStmt* pg_query_CreateSchemaStmt_new(upb_Arena* arena) { + return (pg_query_CreateSchemaStmt*)_upb_Message_New(&pg_0query__CreateSchemaStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateSchemaStmt* pg_query_CreateSchemaStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateSchemaStmt* ret = pg_query_CreateSchemaStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateSchemaStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateSchemaStmt* pg_query_CreateSchemaStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateSchemaStmt* ret = pg_query_CreateSchemaStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateSchemaStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateSchemaStmt_serialize(const pg_query_CreateSchemaStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateSchemaStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateSchemaStmt_serialize_ex(const pg_query_CreateSchemaStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateSchemaStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateSchemaStmt_clear_schemaname(pg_query_CreateSchemaStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateSchemaStmt_schemaname(const pg_query_CreateSchemaStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateSchemaStmt_clear_authrole(pg_query_CreateSchemaStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_CreateSchemaStmt_authrole(const pg_query_CreateSchemaStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateSchemaStmt_has_authrole(const pg_query_CreateSchemaStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateSchemaStmt_clear_schema_elts(pg_query_CreateSchemaStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateSchemaStmt_schema_elts(const pg_query_CreateSchemaStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateSchemaStmt_schema_elts_upb_array( + const pg_query_CreateSchemaStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateSchemaStmt_schema_elts_mutable_upb_array( + pg_query_CreateSchemaStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateSchemaStmt_clear_if_not_exists(pg_query_CreateSchemaStmt* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateSchemaStmt_if_not_exists(const pg_query_CreateSchemaStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CreateSchemaStmt_set_schemaname(pg_query_CreateSchemaStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateSchemaStmt_set_authrole(pg_query_CreateSchemaStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_CreateSchemaStmt_mutable_authrole( + pg_query_CreateSchemaStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_CreateSchemaStmt_authrole(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_CreateSchemaStmt_set_authrole(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateSchemaStmt_mutable_schema_elts(pg_query_CreateSchemaStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateSchemaStmt_resize_schema_elts(pg_query_CreateSchemaStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateSchemaStmt_add_schema_elts( + pg_query_CreateSchemaStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateSchemaStmt_set_if_not_exists(pg_query_CreateSchemaStmt* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterTableStmt */ +UPB_INLINE pg_query_AlterTableStmt* pg_query_AlterTableStmt_new(upb_Arena* arena) { + return (pg_query_AlterTableStmt*)_upb_Message_New(&pg_0query__AlterTableStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterTableStmt* pg_query_AlterTableStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterTableStmt* ret = pg_query_AlterTableStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTableStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterTableStmt* pg_query_AlterTableStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterTableStmt* ret = pg_query_AlterTableStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTableStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterTableStmt_serialize(const pg_query_AlterTableStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTableStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterTableStmt_serialize_ex(const pg_query_AlterTableStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTableStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterTableStmt_clear_relation(pg_query_AlterTableStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_AlterTableStmt_relation(const pg_query_AlterTableStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterTableStmt_has_relation(const pg_query_AlterTableStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterTableStmt_clear_cmds(pg_query_AlterTableStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterTableStmt_cmds(const pg_query_AlterTableStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterTableStmt_cmds_upb_array( + const pg_query_AlterTableStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterTableStmt_cmds_mutable_upb_array( + pg_query_AlterTableStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterTableStmt_clear_objtype(pg_query_AlterTableStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterTableStmt_objtype(const pg_query_AlterTableStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTableStmt_clear_missing_ok(pg_query_AlterTableStmt* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterTableStmt_missing_ok(const pg_query_AlterTableStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterTableStmt_set_relation(pg_query_AlterTableStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_AlterTableStmt_mutable_relation( + pg_query_AlterTableStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_AlterTableStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_AlterTableStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterTableStmt_mutable_cmds(pg_query_AlterTableStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterTableStmt_resize_cmds(pg_query_AlterTableStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTableStmt_add_cmds( + pg_query_AlterTableStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterTableStmt_set_objtype(pg_query_AlterTableStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterTableStmt_set_missing_ok(pg_query_AlterTableStmt* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterTableCmd */ +UPB_INLINE pg_query_AlterTableCmd* pg_query_AlterTableCmd_new(upb_Arena* arena) { + return (pg_query_AlterTableCmd*)_upb_Message_New(&pg_0query__AlterTableCmd_msg_init, arena); +} +UPB_INLINE pg_query_AlterTableCmd* pg_query_AlterTableCmd_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterTableCmd* ret = pg_query_AlterTableCmd_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTableCmd_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterTableCmd* pg_query_AlterTableCmd_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterTableCmd* ret = pg_query_AlterTableCmd_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTableCmd_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterTableCmd_serialize(const pg_query_AlterTableCmd* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTableCmd_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterTableCmd_serialize_ex(const pg_query_AlterTableCmd* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTableCmd_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterTableCmd_clear_subtype(pg_query_AlterTableCmd* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterTableCmd_subtype(const pg_query_AlterTableCmd* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTableCmd_clear_name(pg_query_AlterTableCmd* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterTableCmd_name(const pg_query_AlterTableCmd* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTableCmd_clear_num(pg_query_AlterTableCmd* msg) { + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterTableCmd_num(const pg_query_AlterTableCmd* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTableCmd_clear_newowner(pg_query_AlterTableCmd* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 64, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_AlterTableCmd_newowner(const pg_query_AlterTableCmd* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 64, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterTableCmd_has_newowner(const pg_query_AlterTableCmd* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 64, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterTableCmd_clear_def(pg_query_AlterTableCmd* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 48), 65, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_AlterTableCmd_def(const pg_query_AlterTableCmd* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 48), 65, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterTableCmd_has_def(const pg_query_AlterTableCmd* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 48), 65, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterTableCmd_clear_behavior(pg_query_AlterTableCmd* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterTableCmd_behavior(const pg_query_AlterTableCmd* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTableCmd_clear_missing_ok(pg_query_AlterTableCmd* msg) { + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterTableCmd_missing_ok(const pg_query_AlterTableCmd* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTableCmd_clear_recurse(pg_query_AlterTableCmd* msg) { + const upb_MiniTableField field = {8, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterTableCmd_recurse(const pg_query_AlterTableCmd* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterTableCmd_set_subtype(pg_query_AlterTableCmd* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterTableCmd_set_name(pg_query_AlterTableCmd* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterTableCmd_set_num(pg_query_AlterTableCmd* msg, int32_t value) { + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterTableCmd_set_newowner(pg_query_AlterTableCmd* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 64, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_AlterTableCmd_mutable_newowner( + pg_query_AlterTableCmd* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_AlterTableCmd_newowner(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_AlterTableCmd_set_newowner(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterTableCmd_set_def(pg_query_AlterTableCmd* msg, pg_query_Node* value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 48), 65, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTableCmd_mutable_def( + pg_query_AlterTableCmd* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_AlterTableCmd_def(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_AlterTableCmd_set_def(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterTableCmd_set_behavior(pg_query_AlterTableCmd* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterTableCmd_set_missing_ok(pg_query_AlterTableCmd* msg, bool value) { + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterTableCmd_set_recurse(pg_query_AlterTableCmd* msg, bool value) { + const upb_MiniTableField field = {8, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ATAlterConstraint */ +UPB_INLINE pg_query_ATAlterConstraint* pg_query_ATAlterConstraint_new(upb_Arena* arena) { + return (pg_query_ATAlterConstraint*)_upb_Message_New(&pg_0query__ATAlterConstraint_msg_init, arena); +} +UPB_INLINE pg_query_ATAlterConstraint* pg_query_ATAlterConstraint_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ATAlterConstraint* ret = pg_query_ATAlterConstraint_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ATAlterConstraint_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ATAlterConstraint* pg_query_ATAlterConstraint_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ATAlterConstraint* ret = pg_query_ATAlterConstraint_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ATAlterConstraint_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ATAlterConstraint_serialize(const pg_query_ATAlterConstraint* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ATAlterConstraint_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ATAlterConstraint_serialize_ex(const pg_query_ATAlterConstraint* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ATAlterConstraint_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ATAlterConstraint_clear_conname(pg_query_ATAlterConstraint* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ATAlterConstraint_conname(const pg_query_ATAlterConstraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ATAlterConstraint_clear_alter_enforceability(pg_query_ATAlterConstraint* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ATAlterConstraint_alter_enforceability(const pg_query_ATAlterConstraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ATAlterConstraint_clear_is_enforced(pg_query_ATAlterConstraint* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ATAlterConstraint_is_enforced(const pg_query_ATAlterConstraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ATAlterConstraint_clear_alter_deferrability(pg_query_ATAlterConstraint* msg) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ATAlterConstraint_alter_deferrability(const pg_query_ATAlterConstraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ATAlterConstraint_clear_deferrable(pg_query_ATAlterConstraint* msg) { + const upb_MiniTableField field = {5, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ATAlterConstraint_deferrable(const pg_query_ATAlterConstraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ATAlterConstraint_clear_initdeferred(pg_query_ATAlterConstraint* msg) { + const upb_MiniTableField field = {6, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ATAlterConstraint_initdeferred(const pg_query_ATAlterConstraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ATAlterConstraint_clear_alter_inheritability(pg_query_ATAlterConstraint* msg) { + const upb_MiniTableField field = {7, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ATAlterConstraint_alter_inheritability(const pg_query_ATAlterConstraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ATAlterConstraint_clear_noinherit(pg_query_ATAlterConstraint* msg) { + const upb_MiniTableField field = {8, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ATAlterConstraint_noinherit(const pg_query_ATAlterConstraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ATAlterConstraint_set_conname(pg_query_ATAlterConstraint* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ATAlterConstraint_set_alter_enforceability(pg_query_ATAlterConstraint* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ATAlterConstraint_set_is_enforced(pg_query_ATAlterConstraint* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ATAlterConstraint_set_alter_deferrability(pg_query_ATAlterConstraint* msg, bool value) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ATAlterConstraint_set_deferrable(pg_query_ATAlterConstraint* msg, bool value) { + const upb_MiniTableField field = {5, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ATAlterConstraint_set_initdeferred(pg_query_ATAlterConstraint* msg, bool value) { + const upb_MiniTableField field = {6, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ATAlterConstraint_set_alter_inheritability(pg_query_ATAlterConstraint* msg, bool value) { + const upb_MiniTableField field = {7, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ATAlterConstraint_set_noinherit(pg_query_ATAlterConstraint* msg, bool value) { + const upb_MiniTableField field = {8, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ReplicaIdentityStmt */ +UPB_INLINE pg_query_ReplicaIdentityStmt* pg_query_ReplicaIdentityStmt_new(upb_Arena* arena) { + return (pg_query_ReplicaIdentityStmt*)_upb_Message_New(&pg_0query__ReplicaIdentityStmt_msg_init, arena); +} +UPB_INLINE pg_query_ReplicaIdentityStmt* pg_query_ReplicaIdentityStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ReplicaIdentityStmt* ret = pg_query_ReplicaIdentityStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReplicaIdentityStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ReplicaIdentityStmt* pg_query_ReplicaIdentityStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ReplicaIdentityStmt* ret = pg_query_ReplicaIdentityStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReplicaIdentityStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ReplicaIdentityStmt_serialize(const pg_query_ReplicaIdentityStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReplicaIdentityStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ReplicaIdentityStmt_serialize_ex(const pg_query_ReplicaIdentityStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReplicaIdentityStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ReplicaIdentityStmt_clear_identity_type(pg_query_ReplicaIdentityStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ReplicaIdentityStmt_identity_type(const pg_query_ReplicaIdentityStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ReplicaIdentityStmt_clear_name(pg_query_ReplicaIdentityStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ReplicaIdentityStmt_name(const pg_query_ReplicaIdentityStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ReplicaIdentityStmt_set_identity_type(pg_query_ReplicaIdentityStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ReplicaIdentityStmt_set_name(pg_query_ReplicaIdentityStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterCollationStmt */ +UPB_INLINE pg_query_AlterCollationStmt* pg_query_AlterCollationStmt_new(upb_Arena* arena) { + return (pg_query_AlterCollationStmt*)_upb_Message_New(&pg_0query__AlterCollationStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterCollationStmt* pg_query_AlterCollationStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterCollationStmt* ret = pg_query_AlterCollationStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterCollationStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterCollationStmt* pg_query_AlterCollationStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterCollationStmt* ret = pg_query_AlterCollationStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterCollationStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterCollationStmt_serialize(const pg_query_AlterCollationStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterCollationStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterCollationStmt_serialize_ex(const pg_query_AlterCollationStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterCollationStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterCollationStmt_clear_collname(pg_query_AlterCollationStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterCollationStmt_collname(const pg_query_AlterCollationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterCollationStmt_collname_upb_array( + const pg_query_AlterCollationStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterCollationStmt_collname_mutable_upb_array( + pg_query_AlterCollationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_AlterCollationStmt_mutable_collname(pg_query_AlterCollationStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterCollationStmt_resize_collname(pg_query_AlterCollationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterCollationStmt_add_collname( + pg_query_AlterCollationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterDomainStmt */ +UPB_INLINE pg_query_AlterDomainStmt* pg_query_AlterDomainStmt_new(upb_Arena* arena) { + return (pg_query_AlterDomainStmt*)_upb_Message_New(&pg_0query__AlterDomainStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterDomainStmt* pg_query_AlterDomainStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterDomainStmt* ret = pg_query_AlterDomainStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterDomainStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterDomainStmt* pg_query_AlterDomainStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterDomainStmt* ret = pg_query_AlterDomainStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterDomainStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterDomainStmt_serialize(const pg_query_AlterDomainStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterDomainStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterDomainStmt_serialize_ex(const pg_query_AlterDomainStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterDomainStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterDomainStmt_clear_subtype(pg_query_AlterDomainStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterDomainStmt_subtype(const pg_query_AlterDomainStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterDomainStmt_clear_type_name(pg_query_AlterDomainStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterDomainStmt_type_name(const pg_query_AlterDomainStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterDomainStmt_type_name_upb_array( + const pg_query_AlterDomainStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterDomainStmt_type_name_mutable_upb_array( + pg_query_AlterDomainStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterDomainStmt_clear_name(pg_query_AlterDomainStmt* msg) { + const upb_MiniTableField field = {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterDomainStmt_name(const pg_query_AlterDomainStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterDomainStmt_clear_def(pg_query_AlterDomainStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_AlterDomainStmt_def(const pg_query_AlterDomainStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterDomainStmt_has_def(const pg_query_AlterDomainStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterDomainStmt_clear_behavior(pg_query_AlterDomainStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterDomainStmt_behavior(const pg_query_AlterDomainStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterDomainStmt_clear_missing_ok(pg_query_AlterDomainStmt* msg) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterDomainStmt_missing_ok(const pg_query_AlterDomainStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterDomainStmt_set_subtype(pg_query_AlterDomainStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterDomainStmt_mutable_type_name(pg_query_AlterDomainStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterDomainStmt_resize_type_name(pg_query_AlterDomainStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterDomainStmt_add_type_name( + pg_query_AlterDomainStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterDomainStmt_set_name(pg_query_AlterDomainStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterDomainStmt_set_def(pg_query_AlterDomainStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterDomainStmt_mutable_def( + pg_query_AlterDomainStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_AlterDomainStmt_def(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_AlterDomainStmt_set_def(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterDomainStmt_set_behavior(pg_query_AlterDomainStmt* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterDomainStmt_set_missing_ok(pg_query_AlterDomainStmt* msg, bool value) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.GrantStmt */ +UPB_INLINE pg_query_GrantStmt* pg_query_GrantStmt_new(upb_Arena* arena) { + return (pg_query_GrantStmt*)_upb_Message_New(&pg_0query__GrantStmt_msg_init, arena); +} +UPB_INLINE pg_query_GrantStmt* pg_query_GrantStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_GrantStmt* ret = pg_query_GrantStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__GrantStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_GrantStmt* pg_query_GrantStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_GrantStmt* ret = pg_query_GrantStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__GrantStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_GrantStmt_serialize(const pg_query_GrantStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__GrantStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_GrantStmt_serialize_ex(const pg_query_GrantStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__GrantStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_GrantStmt_clear_is_grant(pg_query_GrantStmt* msg) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_GrantStmt_is_grant(const pg_query_GrantStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_GrantStmt_clear_targtype(pg_query_GrantStmt* msg) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_GrantStmt_targtype(const pg_query_GrantStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_GrantStmt_clear_objtype(pg_query_GrantStmt* msg) { + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_GrantStmt_objtype(const pg_query_GrantStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_GrantStmt_clear_objects(pg_query_GrantStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_GrantStmt_objects(const pg_query_GrantStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_GrantStmt_objects_upb_array( + const pg_query_GrantStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_GrantStmt_objects_mutable_upb_array( + pg_query_GrantStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_GrantStmt_clear_privileges(pg_query_GrantStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_GrantStmt_privileges(const pg_query_GrantStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_GrantStmt_privileges_upb_array( + const pg_query_GrantStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_GrantStmt_privileges_mutable_upb_array( + pg_query_GrantStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_GrantStmt_clear_grantees(pg_query_GrantStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_GrantStmt_grantees(const pg_query_GrantStmt* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_GrantStmt_grantees_upb_array( + const pg_query_GrantStmt* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_GrantStmt_grantees_mutable_upb_array( + pg_query_GrantStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_GrantStmt_clear_grant_option(pg_query_GrantStmt* msg) { + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_GrantStmt_grant_option(const pg_query_GrantStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_GrantStmt_clear_grantor(pg_query_GrantStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 48), 64, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_GrantStmt_grantor(const pg_query_GrantStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {8, UPB_SIZE(32, 48), 64, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_GrantStmt_has_grantor(const pg_query_GrantStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 48), 64, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_GrantStmt_clear_behavior(pg_query_GrantStmt* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_GrantStmt_behavior(const pg_query_GrantStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_GrantStmt_set_is_grant(pg_query_GrantStmt* msg, bool value) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_GrantStmt_set_targtype(pg_query_GrantStmt* msg, int32_t value) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_GrantStmt_set_objtype(pg_query_GrantStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_GrantStmt_mutable_objects(pg_query_GrantStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_GrantStmt_resize_objects(pg_query_GrantStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_GrantStmt_add_objects( + pg_query_GrantStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_GrantStmt_mutable_privileges(pg_query_GrantStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_GrantStmt_resize_privileges(pg_query_GrantStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_GrantStmt_add_privileges( + pg_query_GrantStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_GrantStmt_mutable_grantees(pg_query_GrantStmt* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_GrantStmt_resize_grantees(pg_query_GrantStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_GrantStmt_add_grantees( + pg_query_GrantStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_GrantStmt_set_grant_option(pg_query_GrantStmt* msg, bool value) { + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_GrantStmt_set_grantor(pg_query_GrantStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {8, UPB_SIZE(32, 48), 64, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_GrantStmt_mutable_grantor( + pg_query_GrantStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_GrantStmt_grantor(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_GrantStmt_set_grantor(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_GrantStmt_set_behavior(pg_query_GrantStmt* msg, int32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ObjectWithArgs */ +UPB_INLINE pg_query_ObjectWithArgs* pg_query_ObjectWithArgs_new(upb_Arena* arena) { + return (pg_query_ObjectWithArgs*)_upb_Message_New(&pg_0query__ObjectWithArgs_msg_init, arena); +} +UPB_INLINE pg_query_ObjectWithArgs* pg_query_ObjectWithArgs_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ObjectWithArgs* ret = pg_query_ObjectWithArgs_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ObjectWithArgs_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ObjectWithArgs* pg_query_ObjectWithArgs_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ObjectWithArgs* ret = pg_query_ObjectWithArgs_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ObjectWithArgs_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ObjectWithArgs_serialize(const pg_query_ObjectWithArgs* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ObjectWithArgs_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ObjectWithArgs_serialize_ex(const pg_query_ObjectWithArgs* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ObjectWithArgs_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ObjectWithArgs_clear_objname(pg_query_ObjectWithArgs* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ObjectWithArgs_objname(const pg_query_ObjectWithArgs* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ObjectWithArgs_objname_upb_array( + const pg_query_ObjectWithArgs* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ObjectWithArgs_objname_mutable_upb_array( + pg_query_ObjectWithArgs* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ObjectWithArgs_clear_objargs(pg_query_ObjectWithArgs* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ObjectWithArgs_objargs(const pg_query_ObjectWithArgs* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ObjectWithArgs_objargs_upb_array( + const pg_query_ObjectWithArgs* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ObjectWithArgs_objargs_mutable_upb_array( + pg_query_ObjectWithArgs* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ObjectWithArgs_clear_objfuncargs(pg_query_ObjectWithArgs* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ObjectWithArgs_objfuncargs(const pg_query_ObjectWithArgs* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ObjectWithArgs_objfuncargs_upb_array( + const pg_query_ObjectWithArgs* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ObjectWithArgs_objfuncargs_mutable_upb_array( + pg_query_ObjectWithArgs* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ObjectWithArgs_clear_args_unspecified(pg_query_ObjectWithArgs* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ObjectWithArgs_args_unspecified(const pg_query_ObjectWithArgs* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_ObjectWithArgs_mutable_objname(pg_query_ObjectWithArgs* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ObjectWithArgs_resize_objname(pg_query_ObjectWithArgs* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ObjectWithArgs_add_objname( + pg_query_ObjectWithArgs* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_ObjectWithArgs_mutable_objargs(pg_query_ObjectWithArgs* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ObjectWithArgs_resize_objargs(pg_query_ObjectWithArgs* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ObjectWithArgs_add_objargs( + pg_query_ObjectWithArgs* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_ObjectWithArgs_mutable_objfuncargs(pg_query_ObjectWithArgs* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ObjectWithArgs_resize_objfuncargs(pg_query_ObjectWithArgs* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ObjectWithArgs_add_objfuncargs( + pg_query_ObjectWithArgs* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_ObjectWithArgs_set_args_unspecified(pg_query_ObjectWithArgs* msg, bool value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AccessPriv */ +UPB_INLINE pg_query_AccessPriv* pg_query_AccessPriv_new(upb_Arena* arena) { + return (pg_query_AccessPriv*)_upb_Message_New(&pg_0query__AccessPriv_msg_init, arena); +} +UPB_INLINE pg_query_AccessPriv* pg_query_AccessPriv_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AccessPriv* ret = pg_query_AccessPriv_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AccessPriv_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AccessPriv* pg_query_AccessPriv_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AccessPriv* ret = pg_query_AccessPriv_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AccessPriv_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AccessPriv_serialize(const pg_query_AccessPriv* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AccessPriv_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AccessPriv_serialize_ex(const pg_query_AccessPriv* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AccessPriv_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AccessPriv_clear_priv_name(pg_query_AccessPriv* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AccessPriv_priv_name(const pg_query_AccessPriv* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AccessPriv_clear_cols(pg_query_AccessPriv* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AccessPriv_cols(const pg_query_AccessPriv* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AccessPriv_cols_upb_array( + const pg_query_AccessPriv* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AccessPriv_cols_mutable_upb_array( + pg_query_AccessPriv* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_AccessPriv_set_priv_name(pg_query_AccessPriv* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AccessPriv_mutable_cols(pg_query_AccessPriv* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AccessPriv_resize_cols(pg_query_AccessPriv* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AccessPriv_add_cols( + pg_query_AccessPriv* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.GrantRoleStmt */ +UPB_INLINE pg_query_GrantRoleStmt* pg_query_GrantRoleStmt_new(upb_Arena* arena) { + return (pg_query_GrantRoleStmt*)_upb_Message_New(&pg_0query__GrantRoleStmt_msg_init, arena); +} +UPB_INLINE pg_query_GrantRoleStmt* pg_query_GrantRoleStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_GrantRoleStmt* ret = pg_query_GrantRoleStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__GrantRoleStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_GrantRoleStmt* pg_query_GrantRoleStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_GrantRoleStmt* ret = pg_query_GrantRoleStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__GrantRoleStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_GrantRoleStmt_serialize(const pg_query_GrantRoleStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__GrantRoleStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_GrantRoleStmt_serialize_ex(const pg_query_GrantRoleStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__GrantRoleStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_GrantRoleStmt_clear_granted_roles(pg_query_GrantRoleStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_GrantRoleStmt_granted_roles(const pg_query_GrantRoleStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_GrantRoleStmt_granted_roles_upb_array( + const pg_query_GrantRoleStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_GrantRoleStmt_granted_roles_mutable_upb_array( + pg_query_GrantRoleStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_GrantRoleStmt_clear_grantee_roles(pg_query_GrantRoleStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_GrantRoleStmt_grantee_roles(const pg_query_GrantRoleStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_GrantRoleStmt_grantee_roles_upb_array( + const pg_query_GrantRoleStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_GrantRoleStmt_grantee_roles_mutable_upb_array( + pg_query_GrantRoleStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_GrantRoleStmt_clear_is_grant(pg_query_GrantRoleStmt* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_GrantRoleStmt_is_grant(const pg_query_GrantRoleStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_GrantRoleStmt_clear_opt(pg_query_GrantRoleStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_GrantRoleStmt_opt(const pg_query_GrantRoleStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_GrantRoleStmt_opt_upb_array( + const pg_query_GrantRoleStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_GrantRoleStmt_opt_mutable_upb_array( + pg_query_GrantRoleStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_GrantRoleStmt_clear_grantor(pg_query_GrantRoleStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 64, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_GrantRoleStmt_grantor(const pg_query_GrantRoleStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 64, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_GrantRoleStmt_has_grantor(const pg_query_GrantRoleStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 64, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_GrantRoleStmt_clear_behavior(pg_query_GrantRoleStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_GrantRoleStmt_behavior(const pg_query_GrantRoleStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_GrantRoleStmt_mutable_granted_roles(pg_query_GrantRoleStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_GrantRoleStmt_resize_granted_roles(pg_query_GrantRoleStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_GrantRoleStmt_add_granted_roles( + pg_query_GrantRoleStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_GrantRoleStmt_mutable_grantee_roles(pg_query_GrantRoleStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_GrantRoleStmt_resize_grantee_roles(pg_query_GrantRoleStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_GrantRoleStmt_add_grantee_roles( + pg_query_GrantRoleStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_GrantRoleStmt_set_is_grant(pg_query_GrantRoleStmt* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_GrantRoleStmt_mutable_opt(pg_query_GrantRoleStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_GrantRoleStmt_resize_opt(pg_query_GrantRoleStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_GrantRoleStmt_add_opt( + pg_query_GrantRoleStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_GrantRoleStmt_set_grantor(pg_query_GrantRoleStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 64, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_GrantRoleStmt_mutable_grantor( + pg_query_GrantRoleStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_GrantRoleStmt_grantor(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_GrantRoleStmt_set_grantor(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_GrantRoleStmt_set_behavior(pg_query_GrantRoleStmt* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterDefaultPrivilegesStmt */ +UPB_INLINE pg_query_AlterDefaultPrivilegesStmt* pg_query_AlterDefaultPrivilegesStmt_new(upb_Arena* arena) { + return (pg_query_AlterDefaultPrivilegesStmt*)_upb_Message_New(&pg_0query__AlterDefaultPrivilegesStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterDefaultPrivilegesStmt* pg_query_AlterDefaultPrivilegesStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterDefaultPrivilegesStmt* ret = pg_query_AlterDefaultPrivilegesStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterDefaultPrivilegesStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterDefaultPrivilegesStmt* pg_query_AlterDefaultPrivilegesStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterDefaultPrivilegesStmt* ret = pg_query_AlterDefaultPrivilegesStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterDefaultPrivilegesStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterDefaultPrivilegesStmt_serialize(const pg_query_AlterDefaultPrivilegesStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterDefaultPrivilegesStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterDefaultPrivilegesStmt_serialize_ex(const pg_query_AlterDefaultPrivilegesStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterDefaultPrivilegesStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterDefaultPrivilegesStmt_clear_options(pg_query_AlterDefaultPrivilegesStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterDefaultPrivilegesStmt_options(const pg_query_AlterDefaultPrivilegesStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterDefaultPrivilegesStmt_options_upb_array( + const pg_query_AlterDefaultPrivilegesStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterDefaultPrivilegesStmt_options_mutable_upb_array( + pg_query_AlterDefaultPrivilegesStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterDefaultPrivilegesStmt_clear_action(pg_query_AlterDefaultPrivilegesStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_GrantStmt* pg_query_AlterDefaultPrivilegesStmt_action(const pg_query_AlterDefaultPrivilegesStmt* msg) { + const pg_query_GrantStmt* default_val = NULL; + const pg_query_GrantStmt* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__GrantStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterDefaultPrivilegesStmt_has_action(const pg_query_AlterDefaultPrivilegesStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE pg_query_Node** pg_query_AlterDefaultPrivilegesStmt_mutable_options(pg_query_AlterDefaultPrivilegesStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterDefaultPrivilegesStmt_resize_options(pg_query_AlterDefaultPrivilegesStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterDefaultPrivilegesStmt_add_options( + pg_query_AlterDefaultPrivilegesStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterDefaultPrivilegesStmt_set_action(pg_query_AlterDefaultPrivilegesStmt* msg, pg_query_GrantStmt* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__GrantStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_GrantStmt* pg_query_AlterDefaultPrivilegesStmt_mutable_action( + pg_query_AlterDefaultPrivilegesStmt* msg, upb_Arena* arena) { + struct pg_query_GrantStmt* sub = (struct pg_query_GrantStmt*)pg_query_AlterDefaultPrivilegesStmt_action(msg); + if (sub == NULL) { + sub = (struct pg_query_GrantStmt*)_upb_Message_New(&pg_0query__GrantStmt_msg_init, arena); + if (sub) pg_query_AlterDefaultPrivilegesStmt_set_action(msg, sub); + } + return sub; +} + +/* pg_query.CopyStmt */ +UPB_INLINE pg_query_CopyStmt* pg_query_CopyStmt_new(upb_Arena* arena) { + return (pg_query_CopyStmt*)_upb_Message_New(&pg_0query__CopyStmt_msg_init, arena); +} +UPB_INLINE pg_query_CopyStmt* pg_query_CopyStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CopyStmt* ret = pg_query_CopyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CopyStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CopyStmt* pg_query_CopyStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CopyStmt* ret = pg_query_CopyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CopyStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CopyStmt_serialize(const pg_query_CopyStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CopyStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CopyStmt_serialize_ex(const pg_query_CopyStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CopyStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CopyStmt_clear_relation(pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_CopyStmt_relation(const pg_query_CopyStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CopyStmt_has_relation(const pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CopyStmt_clear_query(pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CopyStmt_query(const pg_query_CopyStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CopyStmt_has_query(const pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CopyStmt_clear_attlist(pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CopyStmt_attlist(const pg_query_CopyStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CopyStmt_attlist_upb_array( + const pg_query_CopyStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CopyStmt_attlist_mutable_upb_array( + pg_query_CopyStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CopyStmt_clear_is_from(pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CopyStmt_is_from(const pg_query_CopyStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CopyStmt_clear_is_program(pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CopyStmt_is_program(const pg_query_CopyStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CopyStmt_clear_filename(pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CopyStmt_filename(const pg_query_CopyStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CopyStmt_clear_options(pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CopyStmt_options(const pg_query_CopyStmt* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CopyStmt_options_upb_array( + const pg_query_CopyStmt* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CopyStmt_options_mutable_upb_array( + pg_query_CopyStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CopyStmt_clear_where_clause(pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 64), 66, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CopyStmt_where_clause(const pg_query_CopyStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {8, UPB_SIZE(28, 64), 66, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CopyStmt_has_where_clause(const pg_query_CopyStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 64), 66, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_CopyStmt_set_relation(pg_query_CopyStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_CopyStmt_mutable_relation( + pg_query_CopyStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_CopyStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_CopyStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CopyStmt_set_query(pg_query_CopyStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CopyStmt_mutable_query( + pg_query_CopyStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CopyStmt_query(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CopyStmt_set_query(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CopyStmt_mutable_attlist(pg_query_CopyStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CopyStmt_resize_attlist(pg_query_CopyStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CopyStmt_add_attlist( + pg_query_CopyStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CopyStmt_set_is_from(pg_query_CopyStmt* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CopyStmt_set_is_program(pg_query_CopyStmt* msg, bool value) { + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CopyStmt_set_filename(pg_query_CopyStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CopyStmt_mutable_options(pg_query_CopyStmt* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CopyStmt_resize_options(pg_query_CopyStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CopyStmt_add_options( + pg_query_CopyStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CopyStmt_set_where_clause(pg_query_CopyStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 64), 66, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CopyStmt_mutable_where_clause( + pg_query_CopyStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CopyStmt_where_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CopyStmt_set_where_clause(msg, sub); + } + return sub; +} + +/* pg_query.VariableSetStmt */ +UPB_INLINE pg_query_VariableSetStmt* pg_query_VariableSetStmt_new(upb_Arena* arena) { + return (pg_query_VariableSetStmt*)_upb_Message_New(&pg_0query__VariableSetStmt_msg_init, arena); +} +UPB_INLINE pg_query_VariableSetStmt* pg_query_VariableSetStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_VariableSetStmt* ret = pg_query_VariableSetStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__VariableSetStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_VariableSetStmt* pg_query_VariableSetStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_VariableSetStmt* ret = pg_query_VariableSetStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__VariableSetStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_VariableSetStmt_serialize(const pg_query_VariableSetStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__VariableSetStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_VariableSetStmt_serialize_ex(const pg_query_VariableSetStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__VariableSetStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_VariableSetStmt_clear_kind(pg_query_VariableSetStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_VariableSetStmt_kind(const pg_query_VariableSetStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_VariableSetStmt_clear_name(pg_query_VariableSetStmt* msg) { + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_VariableSetStmt_name(const pg_query_VariableSetStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_VariableSetStmt_clear_args(pg_query_VariableSetStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_VariableSetStmt_args(const pg_query_VariableSetStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_VariableSetStmt_args_upb_array( + const pg_query_VariableSetStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_VariableSetStmt_args_mutable_upb_array( + pg_query_VariableSetStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_VariableSetStmt_clear_jumble_args(pg_query_VariableSetStmt* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_VariableSetStmt_jumble_args(const pg_query_VariableSetStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_VariableSetStmt_clear_is_local(pg_query_VariableSetStmt* msg) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_VariableSetStmt_is_local(const pg_query_VariableSetStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_VariableSetStmt_clear_location(pg_query_VariableSetStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_VariableSetStmt_location(const pg_query_VariableSetStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_VariableSetStmt_set_kind(pg_query_VariableSetStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_VariableSetStmt_set_name(pg_query_VariableSetStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_VariableSetStmt_mutable_args(pg_query_VariableSetStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_VariableSetStmt_resize_args(pg_query_VariableSetStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_VariableSetStmt_add_args( + pg_query_VariableSetStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_VariableSetStmt_set_jumble_args(pg_query_VariableSetStmt* msg, bool value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_VariableSetStmt_set_is_local(pg_query_VariableSetStmt* msg, bool value) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_VariableSetStmt_set_location(pg_query_VariableSetStmt* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.VariableShowStmt */ +UPB_INLINE pg_query_VariableShowStmt* pg_query_VariableShowStmt_new(upb_Arena* arena) { + return (pg_query_VariableShowStmt*)_upb_Message_New(&pg_0query__VariableShowStmt_msg_init, arena); +} +UPB_INLINE pg_query_VariableShowStmt* pg_query_VariableShowStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_VariableShowStmt* ret = pg_query_VariableShowStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__VariableShowStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_VariableShowStmt* pg_query_VariableShowStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_VariableShowStmt* ret = pg_query_VariableShowStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__VariableShowStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_VariableShowStmt_serialize(const pg_query_VariableShowStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__VariableShowStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_VariableShowStmt_serialize_ex(const pg_query_VariableShowStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__VariableShowStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_VariableShowStmt_clear_name(pg_query_VariableShowStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_VariableShowStmt_name(const pg_query_VariableShowStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_VariableShowStmt_set_name(pg_query_VariableShowStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateStmt */ +UPB_INLINE pg_query_CreateStmt* pg_query_CreateStmt_new(upb_Arena* arena) { + return (pg_query_CreateStmt*)_upb_Message_New(&pg_0query__CreateStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateStmt* pg_query_CreateStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateStmt* ret = pg_query_CreateStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateStmt* pg_query_CreateStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateStmt* ret = pg_query_CreateStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateStmt_serialize(const pg_query_CreateStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateStmt_serialize_ex(const pg_query_CreateStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateStmt_clear_relation(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_CreateStmt_relation(const pg_query_CreateStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateStmt_has_relation(const pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateStmt_clear_table_elts(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(37, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateStmt_table_elts(const pg_query_CreateStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(37, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateStmt_table_elts_upb_array( + const pg_query_CreateStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(37, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateStmt_table_elts_mutable_upb_array( + pg_query_CreateStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(37, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateStmt_clear_inh_relations(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, UPB_SIZE(35, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateStmt_inh_relations(const pg_query_CreateStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, UPB_SIZE(35, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateStmt_inh_relations_upb_array( + const pg_query_CreateStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, UPB_SIZE(35, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateStmt_inh_relations_mutable_upb_array( + pg_query_CreateStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, UPB_SIZE(35, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateStmt_clear_partbound(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 72), 65, UPB_SIZE(33, 37), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PartitionBoundSpec* pg_query_CreateStmt_partbound(const pg_query_CreateStmt* msg) { + const pg_query_PartitionBoundSpec* default_val = NULL; + const pg_query_PartitionBoundSpec* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 72), 65, UPB_SIZE(33, 37), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionBoundSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateStmt_has_partbound(const pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 72), 65, UPB_SIZE(33, 37), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateStmt_clear_partspec(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 66, UPB_SIZE(31, 36), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PartitionSpec* pg_query_CreateStmt_partspec(const pg_query_CreateStmt* msg) { + const pg_query_PartitionSpec* default_val = NULL; + const pg_query_PartitionSpec* ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 66, UPB_SIZE(31, 36), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateStmt_has_partspec(const pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 66, UPB_SIZE(31, 36), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateStmt_clear_of_typename(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 67, UPB_SIZE(29, 35), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_CreateStmt_of_typename(const pg_query_CreateStmt* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 67, UPB_SIZE(29, 35), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateStmt_has_of_typename(const pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 67, UPB_SIZE(29, 35), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateStmt_clear_constraints(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 0, UPB_SIZE(27, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateStmt_constraints(const pg_query_CreateStmt* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 0, UPB_SIZE(27, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateStmt_constraints_upb_array( + const pg_query_CreateStmt* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 0, UPB_SIZE(27, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateStmt_constraints_mutable_upb_array( + pg_query_CreateStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 0, UPB_SIZE(27, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateStmt_clear_nnconstraints(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 104), 0, UPB_SIZE(25, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateStmt_nnconstraints(const pg_query_CreateStmt* msg, + size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 104), 0, UPB_SIZE(25, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateStmt_nnconstraints_upb_array( + const pg_query_CreateStmt* msg, size_t* size) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 104), 0, UPB_SIZE(25, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateStmt_nnconstraints_mutable_upb_array( + pg_query_CreateStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {8, UPB_SIZE(40, 104), 0, UPB_SIZE(25, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateStmt_clear_options(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 112), 0, UPB_SIZE(23, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateStmt_options(const pg_query_CreateStmt* msg, + size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 112), 0, UPB_SIZE(23, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateStmt_options_upb_array( + const pg_query_CreateStmt* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 112), 0, UPB_SIZE(23, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateStmt_options_mutable_upb_array( + pg_query_CreateStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {9, UPB_SIZE(44, 112), 0, UPB_SIZE(23, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateStmt_clear_oncommit(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CreateStmt_oncommit(const pg_query_CreateStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {10, UPB_SIZE(48, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateStmt_clear_tablespacename(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(52, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateStmt_tablespacename(const pg_query_CreateStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {11, UPB_SIZE(52, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateStmt_clear_access_method(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(60, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateStmt_access_method(const pg_query_CreateStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {12, UPB_SIZE(60, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateStmt_clear_if_not_exists(pg_query_CreateStmt* msg) { + const upb_MiniTableField field = {13, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateStmt_if_not_exists(const pg_query_CreateStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {13, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CreateStmt_set_relation(pg_query_CreateStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 64, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_CreateStmt_mutable_relation( + pg_query_CreateStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_CreateStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_CreateStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateStmt_mutable_table_elts(pg_query_CreateStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(37, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateStmt_resize_table_elts(pg_query_CreateStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(37, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateStmt_add_table_elts( + pg_query_CreateStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, UPB_SIZE(37, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateStmt_mutable_inh_relations(pg_query_CreateStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, UPB_SIZE(35, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateStmt_resize_inh_relations(pg_query_CreateStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, UPB_SIZE(35, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateStmt_add_inh_relations( + pg_query_CreateStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, UPB_SIZE(35, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateStmt_set_partbound(pg_query_CreateStmt* msg, pg_query_PartitionBoundSpec* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 72), 65, UPB_SIZE(33, 37), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionBoundSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PartitionBoundSpec* pg_query_CreateStmt_mutable_partbound( + pg_query_CreateStmt* msg, upb_Arena* arena) { + struct pg_query_PartitionBoundSpec* sub = (struct pg_query_PartitionBoundSpec*)pg_query_CreateStmt_partbound(msg); + if (sub == NULL) { + sub = (struct pg_query_PartitionBoundSpec*)_upb_Message_New(&pg_0query__PartitionBoundSpec_msg_init, arena); + if (sub) pg_query_CreateStmt_set_partbound(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateStmt_set_partspec(pg_query_CreateStmt* msg, pg_query_PartitionSpec* value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 66, UPB_SIZE(31, 36), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PartitionSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PartitionSpec* pg_query_CreateStmt_mutable_partspec( + pg_query_CreateStmt* msg, upb_Arena* arena) { + struct pg_query_PartitionSpec* sub = (struct pg_query_PartitionSpec*)pg_query_CreateStmt_partspec(msg); + if (sub == NULL) { + sub = (struct pg_query_PartitionSpec*)_upb_Message_New(&pg_0query__PartitionSpec_msg_init, arena); + if (sub) pg_query_CreateStmt_set_partspec(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateStmt_set_of_typename(pg_query_CreateStmt* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 67, UPB_SIZE(29, 35), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_CreateStmt_mutable_of_typename( + pg_query_CreateStmt* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_CreateStmt_of_typename(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_CreateStmt_set_of_typename(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateStmt_mutable_constraints(pg_query_CreateStmt* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(36, 96), 0, UPB_SIZE(27, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateStmt_resize_constraints(pg_query_CreateStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 96), 0, UPB_SIZE(27, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateStmt_add_constraints( + pg_query_CreateStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(36, 96), 0, UPB_SIZE(27, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateStmt_mutable_nnconstraints(pg_query_CreateStmt* msg, + size_t* size) { + upb_MiniTableField field = {8, UPB_SIZE(40, 104), 0, UPB_SIZE(25, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateStmt_resize_nnconstraints(pg_query_CreateStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 104), 0, UPB_SIZE(25, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateStmt_add_nnconstraints( + pg_query_CreateStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {8, UPB_SIZE(40, 104), 0, UPB_SIZE(25, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateStmt_mutable_options(pg_query_CreateStmt* msg, + size_t* size) { + upb_MiniTableField field = {9, UPB_SIZE(44, 112), 0, UPB_SIZE(23, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateStmt_resize_options(pg_query_CreateStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(44, 112), 0, UPB_SIZE(23, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateStmt_add_options( + pg_query_CreateStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(44, 112), 0, UPB_SIZE(23, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateStmt_set_oncommit(pg_query_CreateStmt* msg, int32_t value) { + const upb_MiniTableField field = {10, UPB_SIZE(48, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateStmt_set_tablespacename(pg_query_CreateStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {11, UPB_SIZE(52, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateStmt_set_access_method(pg_query_CreateStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {12, UPB_SIZE(60, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateStmt_set_if_not_exists(pg_query_CreateStmt* msg, bool value) { + const upb_MiniTableField field = {13, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.Constraint */ +UPB_INLINE pg_query_Constraint* pg_query_Constraint_new(upb_Arena* arena) { + return (pg_query_Constraint*)_upb_Message_New(&pg_0query__Constraint_msg_init, arena); +} +UPB_INLINE pg_query_Constraint* pg_query_Constraint_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_Constraint* ret = pg_query_Constraint_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Constraint_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_Constraint* pg_query_Constraint_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_Constraint* ret = pg_query_Constraint_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__Constraint_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_Constraint_serialize(const pg_query_Constraint* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Constraint_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_Constraint_serialize_ex(const pg_query_Constraint* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__Constraint_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_Constraint_clear_contype(pg_query_Constraint* msg) { + const upb_MiniTableField field = {1, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Constraint_contype(const pg_query_Constraint* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_conname(pg_query_Constraint* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(76, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Constraint_conname(const pg_query_Constraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(76, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_deferrable(pg_query_Constraint* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_deferrable(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_initdeferred(pg_query_Constraint* msg) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_initdeferred(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_is_enforced(pg_query_Constraint* msg) { + const upb_MiniTableField field = {5, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_is_enforced(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_skip_validation(pg_query_Constraint* msg) { + const upb_MiniTableField field = {6, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_skip_validation(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_initially_valid(pg_query_Constraint* msg) { + const upb_MiniTableField field = {7, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_initially_valid(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_is_no_inherit(pg_query_Constraint* msg) { + const upb_MiniTableField field = {8, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_is_no_inherit(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_raw_expr(pg_query_Constraint* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(24, 192), 64, UPB_SIZE(81, 82), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Constraint_raw_expr(const pg_query_Constraint* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {9, UPB_SIZE(24, 192), 64, UPB_SIZE(81, 82), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Constraint_has_raw_expr(const pg_query_Constraint* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(24, 192), 64, UPB_SIZE(81, 82), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Constraint_clear_cooked_expr(pg_query_Constraint* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(84, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Constraint_cooked_expr(const pg_query_Constraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {10, UPB_SIZE(84, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_generated_when(pg_query_Constraint* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(92, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Constraint_generated_when(const pg_query_Constraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {11, UPB_SIZE(92, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_generated_kind(pg_query_Constraint* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(100, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Constraint_generated_kind(const pg_query_Constraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {12, UPB_SIZE(100, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_nulls_not_distinct(pg_query_Constraint* msg) { + const upb_MiniTableField field = {13, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_nulls_not_distinct(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {13, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_keys(pg_query_Constraint* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(28, 200), 0, UPB_SIZE(67, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Constraint_keys(const pg_query_Constraint* msg, + size_t* size) { + const upb_MiniTableField field = {14, UPB_SIZE(28, 200), 0, UPB_SIZE(67, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Constraint_keys_upb_array( + const pg_query_Constraint* msg, size_t* size) { + const upb_MiniTableField field = {14, UPB_SIZE(28, 200), 0, UPB_SIZE(67, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Constraint_keys_mutable_upb_array( + pg_query_Constraint* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {14, UPB_SIZE(28, 200), 0, UPB_SIZE(67, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Constraint_clear_without_overlaps(pg_query_Constraint* msg) { + const upb_MiniTableField field = {15, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_without_overlaps(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {15, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_including(pg_query_Constraint* msg) { + const upb_MiniTableField field = {16, UPB_SIZE(32, 208), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Constraint_including(const pg_query_Constraint* msg, + size_t* size) { + const upb_MiniTableField field = {16, UPB_SIZE(32, 208), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Constraint_including_upb_array( + const pg_query_Constraint* msg, size_t* size) { + const upb_MiniTableField field = {16, UPB_SIZE(32, 208), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Constraint_including_mutable_upb_array( + pg_query_Constraint* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {16, UPB_SIZE(32, 208), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Constraint_clear_exclusions(pg_query_Constraint* msg) { + const upb_MiniTableField field = {17, UPB_SIZE(36, 216), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Constraint_exclusions(const pg_query_Constraint* msg, + size_t* size) { + const upb_MiniTableField field = {17, UPB_SIZE(36, 216), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Constraint_exclusions_upb_array( + const pg_query_Constraint* msg, size_t* size) { + const upb_MiniTableField field = {17, UPB_SIZE(36, 216), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Constraint_exclusions_mutable_upb_array( + pg_query_Constraint* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {17, UPB_SIZE(36, 216), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Constraint_clear_options(pg_query_Constraint* msg) { + const upb_MiniTableField field = {18, UPB_SIZE(40, 224), 0, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Constraint_options(const pg_query_Constraint* msg, + size_t* size) { + const upb_MiniTableField field = {18, UPB_SIZE(40, 224), 0, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Constraint_options_upb_array( + const pg_query_Constraint* msg, size_t* size) { + const upb_MiniTableField field = {18, UPB_SIZE(40, 224), 0, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Constraint_options_mutable_upb_array( + pg_query_Constraint* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {18, UPB_SIZE(40, 224), 0, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Constraint_clear_indexname(pg_query_Constraint* msg) { + const upb_MiniTableField field = {19, UPB_SIZE(108, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Constraint_indexname(const pg_query_Constraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {19, UPB_SIZE(108, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_indexspace(pg_query_Constraint* msg) { + const upb_MiniTableField field = {20, UPB_SIZE(116, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Constraint_indexspace(const pg_query_Constraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {20, UPB_SIZE(116, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_reset_default_tblspc(pg_query_Constraint* msg) { + const upb_MiniTableField field = {21, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_reset_default_tblspc(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {21, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_access_method(pg_query_Constraint* msg) { + const upb_MiniTableField field = {22, UPB_SIZE(124, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Constraint_access_method(const pg_query_Constraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {22, UPB_SIZE(124, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_where_clause(pg_query_Constraint* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(44, 232), 65, UPB_SIZE(44, 50), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_Constraint_where_clause(const pg_query_Constraint* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {23, UPB_SIZE(44, 232), 65, UPB_SIZE(44, 50), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Constraint_has_where_clause(const pg_query_Constraint* msg) { + const upb_MiniTableField field = {23, UPB_SIZE(44, 232), 65, UPB_SIZE(44, 50), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Constraint_clear_pktable(pg_query_Constraint* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(48, 240), 66, UPB_SIZE(42, 49), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_Constraint_pktable(const pg_query_Constraint* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {24, UPB_SIZE(48, 240), 66, UPB_SIZE(42, 49), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_Constraint_has_pktable(const pg_query_Constraint* msg) { + const upb_MiniTableField field = {24, UPB_SIZE(48, 240), 66, UPB_SIZE(42, 49), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_Constraint_clear_fk_attrs(pg_query_Constraint* msg) { + const upb_MiniTableField field = {25, UPB_SIZE(52, 248), 0, UPB_SIZE(40, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Constraint_fk_attrs(const pg_query_Constraint* msg, + size_t* size) { + const upb_MiniTableField field = {25, UPB_SIZE(52, 248), 0, UPB_SIZE(40, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Constraint_fk_attrs_upb_array( + const pg_query_Constraint* msg, size_t* size) { + const upb_MiniTableField field = {25, UPB_SIZE(52, 248), 0, UPB_SIZE(40, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Constraint_fk_attrs_mutable_upb_array( + pg_query_Constraint* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {25, UPB_SIZE(52, 248), 0, UPB_SIZE(40, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Constraint_clear_pk_attrs(pg_query_Constraint* msg) { + const upb_MiniTableField field = {26, UPB_SIZE(56, 256), 0, UPB_SIZE(38, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Constraint_pk_attrs(const pg_query_Constraint* msg, + size_t* size) { + const upb_MiniTableField field = {26, UPB_SIZE(56, 256), 0, UPB_SIZE(38, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Constraint_pk_attrs_upb_array( + const pg_query_Constraint* msg, size_t* size) { + const upb_MiniTableField field = {26, UPB_SIZE(56, 256), 0, UPB_SIZE(38, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Constraint_pk_attrs_mutable_upb_array( + pg_query_Constraint* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {26, UPB_SIZE(56, 256), 0, UPB_SIZE(38, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Constraint_clear_fk_with_period(pg_query_Constraint* msg) { + const upb_MiniTableField field = {27, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_fk_with_period(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {27, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_pk_with_period(pg_query_Constraint* msg) { + const upb_MiniTableField field = {28, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_Constraint_pk_with_period(const pg_query_Constraint* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {28, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_fk_matchtype(pg_query_Constraint* msg) { + const upb_MiniTableField field = {29, UPB_SIZE(132, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Constraint_fk_matchtype(const pg_query_Constraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {29, UPB_SIZE(132, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_fk_upd_action(pg_query_Constraint* msg) { + const upb_MiniTableField field = {30, UPB_SIZE(140, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Constraint_fk_upd_action(const pg_query_Constraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {30, UPB_SIZE(140, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_fk_del_action(pg_query_Constraint* msg) { + const upb_MiniTableField field = {31, UPB_SIZE(148, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_Constraint_fk_del_action(const pg_query_Constraint* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {31, UPB_SIZE(148, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_fk_del_set_cols(pg_query_Constraint* msg) { + const upb_MiniTableField field = {32, UPB_SIZE(60, 264), 0, UPB_SIZE(21, 31), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Constraint_fk_del_set_cols(const pg_query_Constraint* msg, + size_t* size) { + const upb_MiniTableField field = {32, UPB_SIZE(60, 264), 0, UPB_SIZE(21, 31), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Constraint_fk_del_set_cols_upb_array( + const pg_query_Constraint* msg, size_t* size) { + const upb_MiniTableField field = {32, UPB_SIZE(60, 264), 0, UPB_SIZE(21, 31), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Constraint_fk_del_set_cols_mutable_upb_array( + pg_query_Constraint* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {32, UPB_SIZE(60, 264), 0, UPB_SIZE(21, 31), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Constraint_clear_old_conpfeqop(pg_query_Constraint* msg) { + const upb_MiniTableField field = {33, UPB_SIZE(64, 272), 0, UPB_SIZE(19, 30), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_Constraint_old_conpfeqop(const pg_query_Constraint* msg, + size_t* size) { + const upb_MiniTableField field = {33, UPB_SIZE(64, 272), 0, UPB_SIZE(19, 30), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_Constraint_old_conpfeqop_upb_array( + const pg_query_Constraint* msg, size_t* size) { + const upb_MiniTableField field = {33, UPB_SIZE(64, 272), 0, UPB_SIZE(19, 30), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_Constraint_old_conpfeqop_mutable_upb_array( + pg_query_Constraint* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {33, UPB_SIZE(64, 272), 0, UPB_SIZE(19, 30), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_Constraint_clear_old_pktable_oid(pg_query_Constraint* msg) { + const upb_MiniTableField field = {34, UPB_SIZE(68, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_Constraint_old_pktable_oid(const pg_query_Constraint* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {34, UPB_SIZE(68, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_Constraint_clear_location(pg_query_Constraint* msg) { + const upb_MiniTableField field = {35, UPB_SIZE(72, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_Constraint_location(const pg_query_Constraint* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {35, UPB_SIZE(72, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_Constraint_set_contype(pg_query_Constraint* msg, int32_t value) { + const upb_MiniTableField field = {1, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_conname(pg_query_Constraint* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(76, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_deferrable(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_initdeferred(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_is_enforced(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {5, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_skip_validation(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {6, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_initially_valid(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {7, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_is_no_inherit(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {8, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_raw_expr(pg_query_Constraint* msg, pg_query_Node* value) { + const upb_MiniTableField field = {9, UPB_SIZE(24, 192), 64, UPB_SIZE(81, 82), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Constraint_mutable_raw_expr( + pg_query_Constraint* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Constraint_raw_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Constraint_set_raw_expr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Constraint_set_cooked_expr(pg_query_Constraint* msg, upb_StringView value) { + const upb_MiniTableField field = {10, UPB_SIZE(84, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_generated_when(pg_query_Constraint* msg, upb_StringView value) { + const upb_MiniTableField field = {11, UPB_SIZE(92, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_generated_kind(pg_query_Constraint* msg, upb_StringView value) { + const upb_MiniTableField field = {12, UPB_SIZE(100, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_nulls_not_distinct(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {13, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_Constraint_mutable_keys(pg_query_Constraint* msg, + size_t* size) { + upb_MiniTableField field = {14, UPB_SIZE(28, 200), 0, UPB_SIZE(67, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Constraint_resize_keys(pg_query_Constraint* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {14, UPB_SIZE(28, 200), 0, UPB_SIZE(67, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Constraint_add_keys( + pg_query_Constraint* msg, upb_Arena* arena) { + upb_MiniTableField field = {14, UPB_SIZE(28, 200), 0, UPB_SIZE(67, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Constraint_set_without_overlaps(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {15, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_Constraint_mutable_including(pg_query_Constraint* msg, + size_t* size) { + upb_MiniTableField field = {16, UPB_SIZE(32, 208), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Constraint_resize_including(pg_query_Constraint* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {16, UPB_SIZE(32, 208), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Constraint_add_including( + pg_query_Constraint* msg, upb_Arena* arena) { + upb_MiniTableField field = {16, UPB_SIZE(32, 208), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Constraint_mutable_exclusions(pg_query_Constraint* msg, + size_t* size) { + upb_MiniTableField field = {17, UPB_SIZE(36, 216), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Constraint_resize_exclusions(pg_query_Constraint* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {17, UPB_SIZE(36, 216), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Constraint_add_exclusions( + pg_query_Constraint* msg, upb_Arena* arena) { + upb_MiniTableField field = {17, UPB_SIZE(36, 216), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Constraint_mutable_options(pg_query_Constraint* msg, + size_t* size) { + upb_MiniTableField field = {18, UPB_SIZE(40, 224), 0, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Constraint_resize_options(pg_query_Constraint* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {18, UPB_SIZE(40, 224), 0, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Constraint_add_options( + pg_query_Constraint* msg, upb_Arena* arena) { + upb_MiniTableField field = {18, UPB_SIZE(40, 224), 0, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Constraint_set_indexname(pg_query_Constraint* msg, upb_StringView value) { + const upb_MiniTableField field = {19, UPB_SIZE(108, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_indexspace(pg_query_Constraint* msg, upb_StringView value) { + const upb_MiniTableField field = {20, UPB_SIZE(116, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_reset_default_tblspc(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {21, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_access_method(pg_query_Constraint* msg, upb_StringView value) { + const upb_MiniTableField field = {22, UPB_SIZE(124, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_where_clause(pg_query_Constraint* msg, pg_query_Node* value) { + const upb_MiniTableField field = {23, UPB_SIZE(44, 232), 65, UPB_SIZE(44, 50), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_Constraint_mutable_where_clause( + pg_query_Constraint* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_Constraint_where_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_Constraint_set_where_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_Constraint_set_pktable(pg_query_Constraint* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {24, UPB_SIZE(48, 240), 66, UPB_SIZE(42, 49), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_Constraint_mutable_pktable( + pg_query_Constraint* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_Constraint_pktable(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_Constraint_set_pktable(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Constraint_mutable_fk_attrs(pg_query_Constraint* msg, + size_t* size) { + upb_MiniTableField field = {25, UPB_SIZE(52, 248), 0, UPB_SIZE(40, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Constraint_resize_fk_attrs(pg_query_Constraint* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {25, UPB_SIZE(52, 248), 0, UPB_SIZE(40, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Constraint_add_fk_attrs( + pg_query_Constraint* msg, upb_Arena* arena) { + upb_MiniTableField field = {25, UPB_SIZE(52, 248), 0, UPB_SIZE(40, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Constraint_mutable_pk_attrs(pg_query_Constraint* msg, + size_t* size) { + upb_MiniTableField field = {26, UPB_SIZE(56, 256), 0, UPB_SIZE(38, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Constraint_resize_pk_attrs(pg_query_Constraint* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {26, UPB_SIZE(56, 256), 0, UPB_SIZE(38, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Constraint_add_pk_attrs( + pg_query_Constraint* msg, upb_Arena* arena) { + upb_MiniTableField field = {26, UPB_SIZE(56, 256), 0, UPB_SIZE(38, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Constraint_set_fk_with_period(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {27, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_pk_with_period(pg_query_Constraint* msg, bool value) { + const upb_MiniTableField field = {28, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_fk_matchtype(pg_query_Constraint* msg, upb_StringView value) { + const upb_MiniTableField field = {29, UPB_SIZE(132, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_fk_upd_action(pg_query_Constraint* msg, upb_StringView value) { + const upb_MiniTableField field = {30, UPB_SIZE(140, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_fk_del_action(pg_query_Constraint* msg, upb_StringView value) { + const upb_MiniTableField field = {31, UPB_SIZE(148, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_Constraint_mutable_fk_del_set_cols(pg_query_Constraint* msg, + size_t* size) { + upb_MiniTableField field = {32, UPB_SIZE(60, 264), 0, UPB_SIZE(21, 31), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Constraint_resize_fk_del_set_cols(pg_query_Constraint* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {32, UPB_SIZE(60, 264), 0, UPB_SIZE(21, 31), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Constraint_add_fk_del_set_cols( + pg_query_Constraint* msg, upb_Arena* arena) { + upb_MiniTableField field = {32, UPB_SIZE(60, 264), 0, UPB_SIZE(21, 31), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_Constraint_mutable_old_conpfeqop(pg_query_Constraint* msg, + size_t* size) { + upb_MiniTableField field = {33, UPB_SIZE(64, 272), 0, UPB_SIZE(19, 30), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_Constraint_resize_old_conpfeqop(pg_query_Constraint* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {33, UPB_SIZE(64, 272), 0, UPB_SIZE(19, 30), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_Constraint_add_old_conpfeqop( + pg_query_Constraint* msg, upb_Arena* arena) { + upb_MiniTableField field = {33, UPB_SIZE(64, 272), 0, UPB_SIZE(19, 30), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_Constraint_set_old_pktable_oid(pg_query_Constraint* msg, uint32_t value) { + const upb_MiniTableField field = {34, UPB_SIZE(68, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_Constraint_set_location(pg_query_Constraint* msg, int32_t value) { + const upb_MiniTableField field = {35, UPB_SIZE(72, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateTableSpaceStmt */ +UPB_INLINE pg_query_CreateTableSpaceStmt* pg_query_CreateTableSpaceStmt_new(upb_Arena* arena) { + return (pg_query_CreateTableSpaceStmt*)_upb_Message_New(&pg_0query__CreateTableSpaceStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateTableSpaceStmt* pg_query_CreateTableSpaceStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateTableSpaceStmt* ret = pg_query_CreateTableSpaceStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateTableSpaceStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateTableSpaceStmt* pg_query_CreateTableSpaceStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateTableSpaceStmt* ret = pg_query_CreateTableSpaceStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateTableSpaceStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateTableSpaceStmt_serialize(const pg_query_CreateTableSpaceStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateTableSpaceStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateTableSpaceStmt_serialize_ex(const pg_query_CreateTableSpaceStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateTableSpaceStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateTableSpaceStmt_clear_tablespacename(pg_query_CreateTableSpaceStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateTableSpaceStmt_tablespacename(const pg_query_CreateTableSpaceStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTableSpaceStmt_clear_owner(pg_query_CreateTableSpaceStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_CreateTableSpaceStmt_owner(const pg_query_CreateTableSpaceStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateTableSpaceStmt_has_owner(const pg_query_CreateTableSpaceStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateTableSpaceStmt_clear_location(pg_query_CreateTableSpaceStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateTableSpaceStmt_location(const pg_query_CreateTableSpaceStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTableSpaceStmt_clear_options(pg_query_CreateTableSpaceStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateTableSpaceStmt_options(const pg_query_CreateTableSpaceStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateTableSpaceStmt_options_upb_array( + const pg_query_CreateTableSpaceStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateTableSpaceStmt_options_mutable_upb_array( + pg_query_CreateTableSpaceStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CreateTableSpaceStmt_set_tablespacename(pg_query_CreateTableSpaceStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTableSpaceStmt_set_owner(pg_query_CreateTableSpaceStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_CreateTableSpaceStmt_mutable_owner( + pg_query_CreateTableSpaceStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_CreateTableSpaceStmt_owner(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_CreateTableSpaceStmt_set_owner(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateTableSpaceStmt_set_location(pg_query_CreateTableSpaceStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateTableSpaceStmt_mutable_options(pg_query_CreateTableSpaceStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateTableSpaceStmt_resize_options(pg_query_CreateTableSpaceStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateTableSpaceStmt_add_options( + pg_query_CreateTableSpaceStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.DropTableSpaceStmt */ +UPB_INLINE pg_query_DropTableSpaceStmt* pg_query_DropTableSpaceStmt_new(upb_Arena* arena) { + return (pg_query_DropTableSpaceStmt*)_upb_Message_New(&pg_0query__DropTableSpaceStmt_msg_init, arena); +} +UPB_INLINE pg_query_DropTableSpaceStmt* pg_query_DropTableSpaceStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DropTableSpaceStmt* ret = pg_query_DropTableSpaceStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropTableSpaceStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DropTableSpaceStmt* pg_query_DropTableSpaceStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DropTableSpaceStmt* ret = pg_query_DropTableSpaceStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropTableSpaceStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DropTableSpaceStmt_serialize(const pg_query_DropTableSpaceStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropTableSpaceStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DropTableSpaceStmt_serialize_ex(const pg_query_DropTableSpaceStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropTableSpaceStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DropTableSpaceStmt_clear_tablespacename(pg_query_DropTableSpaceStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_DropTableSpaceStmt_tablespacename(const pg_query_DropTableSpaceStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DropTableSpaceStmt_clear_missing_ok(pg_query_DropTableSpaceStmt* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DropTableSpaceStmt_missing_ok(const pg_query_DropTableSpaceStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_DropTableSpaceStmt_set_tablespacename(pg_query_DropTableSpaceStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DropTableSpaceStmt_set_missing_ok(pg_query_DropTableSpaceStmt* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterTableSpaceOptionsStmt */ +UPB_INLINE pg_query_AlterTableSpaceOptionsStmt* pg_query_AlterTableSpaceOptionsStmt_new(upb_Arena* arena) { + return (pg_query_AlterTableSpaceOptionsStmt*)_upb_Message_New(&pg_0query__AlterTableSpaceOptionsStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterTableSpaceOptionsStmt* pg_query_AlterTableSpaceOptionsStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterTableSpaceOptionsStmt* ret = pg_query_AlterTableSpaceOptionsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTableSpaceOptionsStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterTableSpaceOptionsStmt* pg_query_AlterTableSpaceOptionsStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterTableSpaceOptionsStmt* ret = pg_query_AlterTableSpaceOptionsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTableSpaceOptionsStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterTableSpaceOptionsStmt_serialize(const pg_query_AlterTableSpaceOptionsStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTableSpaceOptionsStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterTableSpaceOptionsStmt_serialize_ex(const pg_query_AlterTableSpaceOptionsStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTableSpaceOptionsStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterTableSpaceOptionsStmt_clear_tablespacename(pg_query_AlterTableSpaceOptionsStmt* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterTableSpaceOptionsStmt_tablespacename(const pg_query_AlterTableSpaceOptionsStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTableSpaceOptionsStmt_clear_options(pg_query_AlterTableSpaceOptionsStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterTableSpaceOptionsStmt_options(const pg_query_AlterTableSpaceOptionsStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterTableSpaceOptionsStmt_options_upb_array( + const pg_query_AlterTableSpaceOptionsStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterTableSpaceOptionsStmt_options_mutable_upb_array( + pg_query_AlterTableSpaceOptionsStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterTableSpaceOptionsStmt_clear_is_reset(pg_query_AlterTableSpaceOptionsStmt* msg) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterTableSpaceOptionsStmt_is_reset(const pg_query_AlterTableSpaceOptionsStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterTableSpaceOptionsStmt_set_tablespacename(pg_query_AlterTableSpaceOptionsStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterTableSpaceOptionsStmt_mutable_options(pg_query_AlterTableSpaceOptionsStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterTableSpaceOptionsStmt_resize_options(pg_query_AlterTableSpaceOptionsStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTableSpaceOptionsStmt_add_options( + pg_query_AlterTableSpaceOptionsStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterTableSpaceOptionsStmt_set_is_reset(pg_query_AlterTableSpaceOptionsStmt* msg, bool value) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterTableMoveAllStmt */ +UPB_INLINE pg_query_AlterTableMoveAllStmt* pg_query_AlterTableMoveAllStmt_new(upb_Arena* arena) { + return (pg_query_AlterTableMoveAllStmt*)_upb_Message_New(&pg_0query__AlterTableMoveAllStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterTableMoveAllStmt* pg_query_AlterTableMoveAllStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterTableMoveAllStmt* ret = pg_query_AlterTableMoveAllStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTableMoveAllStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterTableMoveAllStmt* pg_query_AlterTableMoveAllStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterTableMoveAllStmt* ret = pg_query_AlterTableMoveAllStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTableMoveAllStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterTableMoveAllStmt_serialize(const pg_query_AlterTableMoveAllStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTableMoveAllStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterTableMoveAllStmt_serialize_ex(const pg_query_AlterTableMoveAllStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTableMoveAllStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterTableMoveAllStmt_clear_orig_tablespacename(pg_query_AlterTableMoveAllStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterTableMoveAllStmt_orig_tablespacename(const pg_query_AlterTableMoveAllStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTableMoveAllStmt_clear_objtype(pg_query_AlterTableMoveAllStmt* msg) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterTableMoveAllStmt_objtype(const pg_query_AlterTableMoveAllStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTableMoveAllStmt_clear_roles(pg_query_AlterTableMoveAllStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterTableMoveAllStmt_roles(const pg_query_AlterTableMoveAllStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterTableMoveAllStmt_roles_upb_array( + const pg_query_AlterTableMoveAllStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterTableMoveAllStmt_roles_mutable_upb_array( + pg_query_AlterTableMoveAllStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterTableMoveAllStmt_clear_new_tablespacename(pg_query_AlterTableMoveAllStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterTableMoveAllStmt_new_tablespacename(const pg_query_AlterTableMoveAllStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTableMoveAllStmt_clear_nowait(pg_query_AlterTableMoveAllStmt* msg) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterTableMoveAllStmt_nowait(const pg_query_AlterTableMoveAllStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterTableMoveAllStmt_set_orig_tablespacename(pg_query_AlterTableMoveAllStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterTableMoveAllStmt_set_objtype(pg_query_AlterTableMoveAllStmt* msg, int32_t value) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterTableMoveAllStmt_mutable_roles(pg_query_AlterTableMoveAllStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterTableMoveAllStmt_resize_roles(pg_query_AlterTableMoveAllStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTableMoveAllStmt_add_roles( + pg_query_AlterTableMoveAllStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterTableMoveAllStmt_set_new_tablespacename(pg_query_AlterTableMoveAllStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {4, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterTableMoveAllStmt_set_nowait(pg_query_AlterTableMoveAllStmt* msg, bool value) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateExtensionStmt */ +UPB_INLINE pg_query_CreateExtensionStmt* pg_query_CreateExtensionStmt_new(upb_Arena* arena) { + return (pg_query_CreateExtensionStmt*)_upb_Message_New(&pg_0query__CreateExtensionStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateExtensionStmt* pg_query_CreateExtensionStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateExtensionStmt* ret = pg_query_CreateExtensionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateExtensionStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateExtensionStmt* pg_query_CreateExtensionStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateExtensionStmt* ret = pg_query_CreateExtensionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateExtensionStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateExtensionStmt_serialize(const pg_query_CreateExtensionStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateExtensionStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateExtensionStmt_serialize_ex(const pg_query_CreateExtensionStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateExtensionStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateExtensionStmt_clear_extname(pg_query_CreateExtensionStmt* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateExtensionStmt_extname(const pg_query_CreateExtensionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateExtensionStmt_clear_if_not_exists(pg_query_CreateExtensionStmt* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateExtensionStmt_if_not_exists(const pg_query_CreateExtensionStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateExtensionStmt_clear_options(pg_query_CreateExtensionStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateExtensionStmt_options(const pg_query_CreateExtensionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateExtensionStmt_options_upb_array( + const pg_query_CreateExtensionStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateExtensionStmt_options_mutable_upb_array( + pg_query_CreateExtensionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CreateExtensionStmt_set_extname(pg_query_CreateExtensionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateExtensionStmt_set_if_not_exists(pg_query_CreateExtensionStmt* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateExtensionStmt_mutable_options(pg_query_CreateExtensionStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateExtensionStmt_resize_options(pg_query_CreateExtensionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateExtensionStmt_add_options( + pg_query_CreateExtensionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterExtensionStmt */ +UPB_INLINE pg_query_AlterExtensionStmt* pg_query_AlterExtensionStmt_new(upb_Arena* arena) { + return (pg_query_AlterExtensionStmt*)_upb_Message_New(&pg_0query__AlterExtensionStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterExtensionStmt* pg_query_AlterExtensionStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterExtensionStmt* ret = pg_query_AlterExtensionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterExtensionStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterExtensionStmt* pg_query_AlterExtensionStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterExtensionStmt* ret = pg_query_AlterExtensionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterExtensionStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterExtensionStmt_serialize(const pg_query_AlterExtensionStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterExtensionStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterExtensionStmt_serialize_ex(const pg_query_AlterExtensionStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterExtensionStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterExtensionStmt_clear_extname(pg_query_AlterExtensionStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterExtensionStmt_extname(const pg_query_AlterExtensionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterExtensionStmt_clear_options(pg_query_AlterExtensionStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterExtensionStmt_options(const pg_query_AlterExtensionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterExtensionStmt_options_upb_array( + const pg_query_AlterExtensionStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterExtensionStmt_options_mutable_upb_array( + pg_query_AlterExtensionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_AlterExtensionStmt_set_extname(pg_query_AlterExtensionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterExtensionStmt_mutable_options(pg_query_AlterExtensionStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterExtensionStmt_resize_options(pg_query_AlterExtensionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterExtensionStmt_add_options( + pg_query_AlterExtensionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterExtensionContentsStmt */ +UPB_INLINE pg_query_AlterExtensionContentsStmt* pg_query_AlterExtensionContentsStmt_new(upb_Arena* arena) { + return (pg_query_AlterExtensionContentsStmt*)_upb_Message_New(&pg_0query__AlterExtensionContentsStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterExtensionContentsStmt* pg_query_AlterExtensionContentsStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterExtensionContentsStmt* ret = pg_query_AlterExtensionContentsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterExtensionContentsStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterExtensionContentsStmt* pg_query_AlterExtensionContentsStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterExtensionContentsStmt* ret = pg_query_AlterExtensionContentsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterExtensionContentsStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterExtensionContentsStmt_serialize(const pg_query_AlterExtensionContentsStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterExtensionContentsStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterExtensionContentsStmt_serialize_ex(const pg_query_AlterExtensionContentsStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterExtensionContentsStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterExtensionContentsStmt_clear_extname(pg_query_AlterExtensionContentsStmt* msg) { + const upb_MiniTableField field = {1, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterExtensionContentsStmt_extname(const pg_query_AlterExtensionContentsStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterExtensionContentsStmt_clear_action(pg_query_AlterExtensionContentsStmt* msg) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterExtensionContentsStmt_action(const pg_query_AlterExtensionContentsStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterExtensionContentsStmt_clear_objtype(pg_query_AlterExtensionContentsStmt* msg) { + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterExtensionContentsStmt_objtype(const pg_query_AlterExtensionContentsStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterExtensionContentsStmt_clear_object(pg_query_AlterExtensionContentsStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_AlterExtensionContentsStmt_object(const pg_query_AlterExtensionContentsStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterExtensionContentsStmt_has_object(const pg_query_AlterExtensionContentsStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_AlterExtensionContentsStmt_set_extname(pg_query_AlterExtensionContentsStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterExtensionContentsStmt_set_action(pg_query_AlterExtensionContentsStmt* msg, int32_t value) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterExtensionContentsStmt_set_objtype(pg_query_AlterExtensionContentsStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterExtensionContentsStmt_set_object(pg_query_AlterExtensionContentsStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterExtensionContentsStmt_mutable_object( + pg_query_AlterExtensionContentsStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_AlterExtensionContentsStmt_object(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_AlterExtensionContentsStmt_set_object(msg, sub); + } + return sub; +} + +/* pg_query.CreateFdwStmt */ +UPB_INLINE pg_query_CreateFdwStmt* pg_query_CreateFdwStmt_new(upb_Arena* arena) { + return (pg_query_CreateFdwStmt*)_upb_Message_New(&pg_0query__CreateFdwStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateFdwStmt* pg_query_CreateFdwStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateFdwStmt* ret = pg_query_CreateFdwStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateFdwStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateFdwStmt* pg_query_CreateFdwStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateFdwStmt* ret = pg_query_CreateFdwStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateFdwStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateFdwStmt_serialize(const pg_query_CreateFdwStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateFdwStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateFdwStmt_serialize_ex(const pg_query_CreateFdwStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateFdwStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateFdwStmt_clear_fdwname(pg_query_CreateFdwStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateFdwStmt_fdwname(const pg_query_CreateFdwStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateFdwStmt_clear_func_options(pg_query_CreateFdwStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateFdwStmt_func_options(const pg_query_CreateFdwStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateFdwStmt_func_options_upb_array( + const pg_query_CreateFdwStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateFdwStmt_func_options_mutable_upb_array( + pg_query_CreateFdwStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateFdwStmt_clear_options(pg_query_CreateFdwStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateFdwStmt_options(const pg_query_CreateFdwStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateFdwStmt_options_upb_array( + const pg_query_CreateFdwStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateFdwStmt_options_mutable_upb_array( + pg_query_CreateFdwStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CreateFdwStmt_set_fdwname(pg_query_CreateFdwStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateFdwStmt_mutable_func_options(pg_query_CreateFdwStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateFdwStmt_resize_func_options(pg_query_CreateFdwStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateFdwStmt_add_func_options( + pg_query_CreateFdwStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateFdwStmt_mutable_options(pg_query_CreateFdwStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateFdwStmt_resize_options(pg_query_CreateFdwStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateFdwStmt_add_options( + pg_query_CreateFdwStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterFdwStmt */ +UPB_INLINE pg_query_AlterFdwStmt* pg_query_AlterFdwStmt_new(upb_Arena* arena) { + return (pg_query_AlterFdwStmt*)_upb_Message_New(&pg_0query__AlterFdwStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterFdwStmt* pg_query_AlterFdwStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterFdwStmt* ret = pg_query_AlterFdwStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterFdwStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterFdwStmt* pg_query_AlterFdwStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterFdwStmt* ret = pg_query_AlterFdwStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterFdwStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterFdwStmt_serialize(const pg_query_AlterFdwStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterFdwStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterFdwStmt_serialize_ex(const pg_query_AlterFdwStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterFdwStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterFdwStmt_clear_fdwname(pg_query_AlterFdwStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterFdwStmt_fdwname(const pg_query_AlterFdwStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterFdwStmt_clear_func_options(pg_query_AlterFdwStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterFdwStmt_func_options(const pg_query_AlterFdwStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterFdwStmt_func_options_upb_array( + const pg_query_AlterFdwStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterFdwStmt_func_options_mutable_upb_array( + pg_query_AlterFdwStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterFdwStmt_clear_options(pg_query_AlterFdwStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterFdwStmt_options(const pg_query_AlterFdwStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterFdwStmt_options_upb_array( + const pg_query_AlterFdwStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterFdwStmt_options_mutable_upb_array( + pg_query_AlterFdwStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_AlterFdwStmt_set_fdwname(pg_query_AlterFdwStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterFdwStmt_mutable_func_options(pg_query_AlterFdwStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterFdwStmt_resize_func_options(pg_query_AlterFdwStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterFdwStmt_add_func_options( + pg_query_AlterFdwStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterFdwStmt_mutable_options(pg_query_AlterFdwStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterFdwStmt_resize_options(pg_query_AlterFdwStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterFdwStmt_add_options( + pg_query_AlterFdwStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CreateForeignServerStmt */ +UPB_INLINE pg_query_CreateForeignServerStmt* pg_query_CreateForeignServerStmt_new(upb_Arena* arena) { + return (pg_query_CreateForeignServerStmt*)_upb_Message_New(&pg_0query__CreateForeignServerStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateForeignServerStmt* pg_query_CreateForeignServerStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateForeignServerStmt* ret = pg_query_CreateForeignServerStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateForeignServerStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateForeignServerStmt* pg_query_CreateForeignServerStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateForeignServerStmt* ret = pg_query_CreateForeignServerStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateForeignServerStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateForeignServerStmt_serialize(const pg_query_CreateForeignServerStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateForeignServerStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateForeignServerStmt_serialize_ex(const pg_query_CreateForeignServerStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateForeignServerStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateForeignServerStmt_clear_servername(pg_query_CreateForeignServerStmt* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateForeignServerStmt_servername(const pg_query_CreateForeignServerStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateForeignServerStmt_clear_servertype(pg_query_CreateForeignServerStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateForeignServerStmt_servertype(const pg_query_CreateForeignServerStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateForeignServerStmt_clear_version(pg_query_CreateForeignServerStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateForeignServerStmt_version(const pg_query_CreateForeignServerStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateForeignServerStmt_clear_fdwname(pg_query_CreateForeignServerStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateForeignServerStmt_fdwname(const pg_query_CreateForeignServerStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateForeignServerStmt_clear_if_not_exists(pg_query_CreateForeignServerStmt* msg) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateForeignServerStmt_if_not_exists(const pg_query_CreateForeignServerStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateForeignServerStmt_clear_options(pg_query_CreateForeignServerStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateForeignServerStmt_options(const pg_query_CreateForeignServerStmt* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateForeignServerStmt_options_upb_array( + const pg_query_CreateForeignServerStmt* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateForeignServerStmt_options_mutable_upb_array( + pg_query_CreateForeignServerStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(12, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CreateForeignServerStmt_set_servername(pg_query_CreateForeignServerStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateForeignServerStmt_set_servertype(pg_query_CreateForeignServerStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateForeignServerStmt_set_version(pg_query_CreateForeignServerStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateForeignServerStmt_set_fdwname(pg_query_CreateForeignServerStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {4, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateForeignServerStmt_set_if_not_exists(pg_query_CreateForeignServerStmt* msg, bool value) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateForeignServerStmt_mutable_options(pg_query_CreateForeignServerStmt* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(12, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateForeignServerStmt_resize_options(pg_query_CreateForeignServerStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(12, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateForeignServerStmt_add_options( + pg_query_CreateForeignServerStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(12, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterForeignServerStmt */ +UPB_INLINE pg_query_AlterForeignServerStmt* pg_query_AlterForeignServerStmt_new(upb_Arena* arena) { + return (pg_query_AlterForeignServerStmt*)_upb_Message_New(&pg_0query__AlterForeignServerStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterForeignServerStmt* pg_query_AlterForeignServerStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterForeignServerStmt* ret = pg_query_AlterForeignServerStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterForeignServerStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterForeignServerStmt* pg_query_AlterForeignServerStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterForeignServerStmt* ret = pg_query_AlterForeignServerStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterForeignServerStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterForeignServerStmt_serialize(const pg_query_AlterForeignServerStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterForeignServerStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterForeignServerStmt_serialize_ex(const pg_query_AlterForeignServerStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterForeignServerStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterForeignServerStmt_clear_servername(pg_query_AlterForeignServerStmt* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterForeignServerStmt_servername(const pg_query_AlterForeignServerStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterForeignServerStmt_clear_version(pg_query_AlterForeignServerStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterForeignServerStmt_version(const pg_query_AlterForeignServerStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterForeignServerStmt_clear_options(pg_query_AlterForeignServerStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterForeignServerStmt_options(const pg_query_AlterForeignServerStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterForeignServerStmt_options_upb_array( + const pg_query_AlterForeignServerStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterForeignServerStmt_options_mutable_upb_array( + pg_query_AlterForeignServerStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterForeignServerStmt_clear_has_version_(pg_query_AlterForeignServerStmt* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterForeignServerStmt_has_version_(const pg_query_AlterForeignServerStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterForeignServerStmt_set_servername(pg_query_AlterForeignServerStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterForeignServerStmt_set_version(pg_query_AlterForeignServerStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterForeignServerStmt_mutable_options(pg_query_AlterForeignServerStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterForeignServerStmt_resize_options(pg_query_AlterForeignServerStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterForeignServerStmt_add_options( + pg_query_AlterForeignServerStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterForeignServerStmt_set_has_version_(pg_query_AlterForeignServerStmt* msg, bool value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateForeignTableStmt */ +UPB_INLINE pg_query_CreateForeignTableStmt* pg_query_CreateForeignTableStmt_new(upb_Arena* arena) { + return (pg_query_CreateForeignTableStmt*)_upb_Message_New(&pg_0query__CreateForeignTableStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateForeignTableStmt* pg_query_CreateForeignTableStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateForeignTableStmt* ret = pg_query_CreateForeignTableStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateForeignTableStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateForeignTableStmt* pg_query_CreateForeignTableStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateForeignTableStmt* ret = pg_query_CreateForeignTableStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateForeignTableStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateForeignTableStmt_serialize(const pg_query_CreateForeignTableStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateForeignTableStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateForeignTableStmt_serialize_ex(const pg_query_CreateForeignTableStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateForeignTableStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateForeignTableStmt_clear_base_stmt(pg_query_CreateForeignTableStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CreateStmt* pg_query_CreateForeignTableStmt_base_stmt(const pg_query_CreateForeignTableStmt* msg) { + const pg_query_CreateStmt* default_val = NULL; + const pg_query_CreateStmt* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateForeignTableStmt_has_base_stmt(const pg_query_CreateForeignTableStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateForeignTableStmt_clear_servername(pg_query_CreateForeignTableStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateForeignTableStmt_servername(const pg_query_CreateForeignTableStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateForeignTableStmt_clear_options(pg_query_CreateForeignTableStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateForeignTableStmt_options(const pg_query_CreateForeignTableStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateForeignTableStmt_options_upb_array( + const pg_query_CreateForeignTableStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateForeignTableStmt_options_mutable_upb_array( + pg_query_CreateForeignTableStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CreateForeignTableStmt_set_base_stmt(pg_query_CreateForeignTableStmt* msg, pg_query_CreateStmt* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CreateStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CreateStmt* pg_query_CreateForeignTableStmt_mutable_base_stmt( + pg_query_CreateForeignTableStmt* msg, upb_Arena* arena) { + struct pg_query_CreateStmt* sub = (struct pg_query_CreateStmt*)pg_query_CreateForeignTableStmt_base_stmt(msg); + if (sub == NULL) { + sub = (struct pg_query_CreateStmt*)_upb_Message_New(&pg_0query__CreateStmt_msg_init, arena); + if (sub) pg_query_CreateForeignTableStmt_set_base_stmt(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateForeignTableStmt_set_servername(pg_query_CreateForeignTableStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateForeignTableStmt_mutable_options(pg_query_CreateForeignTableStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateForeignTableStmt_resize_options(pg_query_CreateForeignTableStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateForeignTableStmt_add_options( + pg_query_CreateForeignTableStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CreateUserMappingStmt */ +UPB_INLINE pg_query_CreateUserMappingStmt* pg_query_CreateUserMappingStmt_new(upb_Arena* arena) { + return (pg_query_CreateUserMappingStmt*)_upb_Message_New(&pg_0query__CreateUserMappingStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateUserMappingStmt* pg_query_CreateUserMappingStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateUserMappingStmt* ret = pg_query_CreateUserMappingStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateUserMappingStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateUserMappingStmt* pg_query_CreateUserMappingStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateUserMappingStmt* ret = pg_query_CreateUserMappingStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateUserMappingStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateUserMappingStmt_serialize(const pg_query_CreateUserMappingStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateUserMappingStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateUserMappingStmt_serialize_ex(const pg_query_CreateUserMappingStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateUserMappingStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateUserMappingStmt_clear_user(pg_query_CreateUserMappingStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_CreateUserMappingStmt_user(const pg_query_CreateUserMappingStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateUserMappingStmt_has_user(const pg_query_CreateUserMappingStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateUserMappingStmt_clear_servername(pg_query_CreateUserMappingStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateUserMappingStmt_servername(const pg_query_CreateUserMappingStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateUserMappingStmt_clear_if_not_exists(pg_query_CreateUserMappingStmt* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateUserMappingStmt_if_not_exists(const pg_query_CreateUserMappingStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateUserMappingStmt_clear_options(pg_query_CreateUserMappingStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateUserMappingStmt_options(const pg_query_CreateUserMappingStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateUserMappingStmt_options_upb_array( + const pg_query_CreateUserMappingStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateUserMappingStmt_options_mutable_upb_array( + pg_query_CreateUserMappingStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CreateUserMappingStmt_set_user(pg_query_CreateUserMappingStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_CreateUserMappingStmt_mutable_user( + pg_query_CreateUserMappingStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_CreateUserMappingStmt_user(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_CreateUserMappingStmt_set_user(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateUserMappingStmt_set_servername(pg_query_CreateUserMappingStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateUserMappingStmt_set_if_not_exists(pg_query_CreateUserMappingStmt* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateUserMappingStmt_mutable_options(pg_query_CreateUserMappingStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateUserMappingStmt_resize_options(pg_query_CreateUserMappingStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateUserMappingStmt_add_options( + pg_query_CreateUserMappingStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterUserMappingStmt */ +UPB_INLINE pg_query_AlterUserMappingStmt* pg_query_AlterUserMappingStmt_new(upb_Arena* arena) { + return (pg_query_AlterUserMappingStmt*)_upb_Message_New(&pg_0query__AlterUserMappingStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterUserMappingStmt* pg_query_AlterUserMappingStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterUserMappingStmt* ret = pg_query_AlterUserMappingStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterUserMappingStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterUserMappingStmt* pg_query_AlterUserMappingStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterUserMappingStmt* ret = pg_query_AlterUserMappingStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterUserMappingStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterUserMappingStmt_serialize(const pg_query_AlterUserMappingStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterUserMappingStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterUserMappingStmt_serialize_ex(const pg_query_AlterUserMappingStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterUserMappingStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterUserMappingStmt_clear_user(pg_query_AlterUserMappingStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_AlterUserMappingStmt_user(const pg_query_AlterUserMappingStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterUserMappingStmt_has_user(const pg_query_AlterUserMappingStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterUserMappingStmt_clear_servername(pg_query_AlterUserMappingStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterUserMappingStmt_servername(const pg_query_AlterUserMappingStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterUserMappingStmt_clear_options(pg_query_AlterUserMappingStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterUserMappingStmt_options(const pg_query_AlterUserMappingStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterUserMappingStmt_options_upb_array( + const pg_query_AlterUserMappingStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterUserMappingStmt_options_mutable_upb_array( + pg_query_AlterUserMappingStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_AlterUserMappingStmt_set_user(pg_query_AlterUserMappingStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_AlterUserMappingStmt_mutable_user( + pg_query_AlterUserMappingStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_AlterUserMappingStmt_user(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_AlterUserMappingStmt_set_user(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterUserMappingStmt_set_servername(pg_query_AlterUserMappingStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterUserMappingStmt_mutable_options(pg_query_AlterUserMappingStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterUserMappingStmt_resize_options(pg_query_AlterUserMappingStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterUserMappingStmt_add_options( + pg_query_AlterUserMappingStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.DropUserMappingStmt */ +UPB_INLINE pg_query_DropUserMappingStmt* pg_query_DropUserMappingStmt_new(upb_Arena* arena) { + return (pg_query_DropUserMappingStmt*)_upb_Message_New(&pg_0query__DropUserMappingStmt_msg_init, arena); +} +UPB_INLINE pg_query_DropUserMappingStmt* pg_query_DropUserMappingStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DropUserMappingStmt* ret = pg_query_DropUserMappingStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropUserMappingStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DropUserMappingStmt* pg_query_DropUserMappingStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DropUserMappingStmt* ret = pg_query_DropUserMappingStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropUserMappingStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DropUserMappingStmt_serialize(const pg_query_DropUserMappingStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropUserMappingStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DropUserMappingStmt_serialize_ex(const pg_query_DropUserMappingStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropUserMappingStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DropUserMappingStmt_clear_user(pg_query_DropUserMappingStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_DropUserMappingStmt_user(const pg_query_DropUserMappingStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_DropUserMappingStmt_has_user(const pg_query_DropUserMappingStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_DropUserMappingStmt_clear_servername(pg_query_DropUserMappingStmt* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_DropUserMappingStmt_servername(const pg_query_DropUserMappingStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DropUserMappingStmt_clear_missing_ok(pg_query_DropUserMappingStmt* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DropUserMappingStmt_missing_ok(const pg_query_DropUserMappingStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_DropUserMappingStmt_set_user(pg_query_DropUserMappingStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_DropUserMappingStmt_mutable_user( + pg_query_DropUserMappingStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_DropUserMappingStmt_user(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_DropUserMappingStmt_set_user(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_DropUserMappingStmt_set_servername(pg_query_DropUserMappingStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DropUserMappingStmt_set_missing_ok(pg_query_DropUserMappingStmt* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ImportForeignSchemaStmt */ +UPB_INLINE pg_query_ImportForeignSchemaStmt* pg_query_ImportForeignSchemaStmt_new(upb_Arena* arena) { + return (pg_query_ImportForeignSchemaStmt*)_upb_Message_New(&pg_0query__ImportForeignSchemaStmt_msg_init, arena); +} +UPB_INLINE pg_query_ImportForeignSchemaStmt* pg_query_ImportForeignSchemaStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ImportForeignSchemaStmt* ret = pg_query_ImportForeignSchemaStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ImportForeignSchemaStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ImportForeignSchemaStmt* pg_query_ImportForeignSchemaStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ImportForeignSchemaStmt* ret = pg_query_ImportForeignSchemaStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ImportForeignSchemaStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ImportForeignSchemaStmt_serialize(const pg_query_ImportForeignSchemaStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ImportForeignSchemaStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ImportForeignSchemaStmt_serialize_ex(const pg_query_ImportForeignSchemaStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ImportForeignSchemaStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ImportForeignSchemaStmt_clear_server_name(pg_query_ImportForeignSchemaStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ImportForeignSchemaStmt_server_name(const pg_query_ImportForeignSchemaStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ImportForeignSchemaStmt_clear_remote_schema(pg_query_ImportForeignSchemaStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ImportForeignSchemaStmt_remote_schema(const pg_query_ImportForeignSchemaStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ImportForeignSchemaStmt_clear_local_schema(pg_query_ImportForeignSchemaStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ImportForeignSchemaStmt_local_schema(const pg_query_ImportForeignSchemaStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ImportForeignSchemaStmt_clear_list_type(pg_query_ImportForeignSchemaStmt* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ImportForeignSchemaStmt_list_type(const pg_query_ImportForeignSchemaStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ImportForeignSchemaStmt_clear_table_list(pg_query_ImportForeignSchemaStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ImportForeignSchemaStmt_table_list(const pg_query_ImportForeignSchemaStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ImportForeignSchemaStmt_table_list_upb_array( + const pg_query_ImportForeignSchemaStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ImportForeignSchemaStmt_table_list_mutable_upb_array( + pg_query_ImportForeignSchemaStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(12, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ImportForeignSchemaStmt_clear_options(pg_query_ImportForeignSchemaStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ImportForeignSchemaStmt_options(const pg_query_ImportForeignSchemaStmt* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ImportForeignSchemaStmt_options_upb_array( + const pg_query_ImportForeignSchemaStmt* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ImportForeignSchemaStmt_options_mutable_upb_array( + pg_query_ImportForeignSchemaStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_ImportForeignSchemaStmt_set_server_name(pg_query_ImportForeignSchemaStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ImportForeignSchemaStmt_set_remote_schema(pg_query_ImportForeignSchemaStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ImportForeignSchemaStmt_set_local_schema(pg_query_ImportForeignSchemaStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ImportForeignSchemaStmt_set_list_type(pg_query_ImportForeignSchemaStmt* msg, int32_t value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_ImportForeignSchemaStmt_mutable_table_list(pg_query_ImportForeignSchemaStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(12, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ImportForeignSchemaStmt_resize_table_list(pg_query_ImportForeignSchemaStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(12, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ImportForeignSchemaStmt_add_table_list( + pg_query_ImportForeignSchemaStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(12, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_ImportForeignSchemaStmt_mutable_options(pg_query_ImportForeignSchemaStmt* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ImportForeignSchemaStmt_resize_options(pg_query_ImportForeignSchemaStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ImportForeignSchemaStmt_add_options( + pg_query_ImportForeignSchemaStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(16, 72), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CreatePolicyStmt */ +UPB_INLINE pg_query_CreatePolicyStmt* pg_query_CreatePolicyStmt_new(upb_Arena* arena) { + return (pg_query_CreatePolicyStmt*)_upb_Message_New(&pg_0query__CreatePolicyStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreatePolicyStmt* pg_query_CreatePolicyStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreatePolicyStmt* ret = pg_query_CreatePolicyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreatePolicyStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreatePolicyStmt* pg_query_CreatePolicyStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreatePolicyStmt* ret = pg_query_CreatePolicyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreatePolicyStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreatePolicyStmt_serialize(const pg_query_CreatePolicyStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreatePolicyStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreatePolicyStmt_serialize_ex(const pg_query_CreatePolicyStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreatePolicyStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreatePolicyStmt_clear_policy_name(pg_query_CreatePolicyStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreatePolicyStmt_policy_name(const pg_query_CreatePolicyStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreatePolicyStmt_clear_table(pg_query_CreatePolicyStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_CreatePolicyStmt_table(const pg_query_CreatePolicyStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreatePolicyStmt_has_table(const pg_query_CreatePolicyStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreatePolicyStmt_clear_cmd_name(pg_query_CreatePolicyStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreatePolicyStmt_cmd_name(const pg_query_CreatePolicyStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreatePolicyStmt_clear_permissive(pg_query_CreatePolicyStmt* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreatePolicyStmt_permissive(const pg_query_CreatePolicyStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreatePolicyStmt_clear_roles(pg_query_CreatePolicyStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreatePolicyStmt_roles(const pg_query_CreatePolicyStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreatePolicyStmt_roles_upb_array( + const pg_query_CreatePolicyStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreatePolicyStmt_roles_mutable_upb_array( + pg_query_CreatePolicyStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreatePolicyStmt_clear_qual(pg_query_CreatePolicyStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CreatePolicyStmt_qual(const pg_query_CreatePolicyStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreatePolicyStmt_has_qual(const pg_query_CreatePolicyStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreatePolicyStmt_clear_with_check(pg_query_CreatePolicyStmt* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 66, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CreatePolicyStmt_with_check(const pg_query_CreatePolicyStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 66, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreatePolicyStmt_has_with_check(const pg_query_CreatePolicyStmt* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 66, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_CreatePolicyStmt_set_policy_name(pg_query_CreatePolicyStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreatePolicyStmt_set_table(pg_query_CreatePolicyStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 48), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_CreatePolicyStmt_mutable_table( + pg_query_CreatePolicyStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_CreatePolicyStmt_table(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_CreatePolicyStmt_set_table(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreatePolicyStmt_set_cmd_name(pg_query_CreatePolicyStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreatePolicyStmt_set_permissive(pg_query_CreatePolicyStmt* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreatePolicyStmt_mutable_roles(pg_query_CreatePolicyStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreatePolicyStmt_resize_roles(pg_query_CreatePolicyStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreatePolicyStmt_add_roles( + pg_query_CreatePolicyStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreatePolicyStmt_set_qual(pg_query_CreatePolicyStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 64), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CreatePolicyStmt_mutable_qual( + pg_query_CreatePolicyStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CreatePolicyStmt_qual(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CreatePolicyStmt_set_qual(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreatePolicyStmt_set_with_check(pg_query_CreatePolicyStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {7, UPB_SIZE(24, 72), 66, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CreatePolicyStmt_mutable_with_check( + pg_query_CreatePolicyStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CreatePolicyStmt_with_check(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CreatePolicyStmt_set_with_check(msg, sub); + } + return sub; +} + +/* pg_query.AlterPolicyStmt */ +UPB_INLINE pg_query_AlterPolicyStmt* pg_query_AlterPolicyStmt_new(upb_Arena* arena) { + return (pg_query_AlterPolicyStmt*)_upb_Message_New(&pg_0query__AlterPolicyStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterPolicyStmt* pg_query_AlterPolicyStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterPolicyStmt* ret = pg_query_AlterPolicyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterPolicyStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterPolicyStmt* pg_query_AlterPolicyStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterPolicyStmt* ret = pg_query_AlterPolicyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterPolicyStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterPolicyStmt_serialize(const pg_query_AlterPolicyStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterPolicyStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterPolicyStmt_serialize_ex(const pg_query_AlterPolicyStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterPolicyStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterPolicyStmt_clear_policy_name(pg_query_AlterPolicyStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterPolicyStmt_policy_name(const pg_query_AlterPolicyStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterPolicyStmt_clear_table(pg_query_AlterPolicyStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_AlterPolicyStmt_table(const pg_query_AlterPolicyStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterPolicyStmt_has_table(const pg_query_AlterPolicyStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterPolicyStmt_clear_roles(pg_query_AlterPolicyStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterPolicyStmt_roles(const pg_query_AlterPolicyStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterPolicyStmt_roles_upb_array( + const pg_query_AlterPolicyStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterPolicyStmt_roles_mutable_upb_array( + pg_query_AlterPolicyStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterPolicyStmt_clear_qual(pg_query_AlterPolicyStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_AlterPolicyStmt_qual(const pg_query_AlterPolicyStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterPolicyStmt_has_qual(const pg_query_AlterPolicyStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterPolicyStmt_clear_with_check(pg_query_AlterPolicyStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 66, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_AlterPolicyStmt_with_check(const pg_query_AlterPolicyStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 66, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterPolicyStmt_has_with_check(const pg_query_AlterPolicyStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 66, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_AlterPolicyStmt_set_policy_name(pg_query_AlterPolicyStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterPolicyStmt_set_table(pg_query_AlterPolicyStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_AlterPolicyStmt_mutable_table( + pg_query_AlterPolicyStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_AlterPolicyStmt_table(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_AlterPolicyStmt_set_table(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterPolicyStmt_mutable_roles(pg_query_AlterPolicyStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterPolicyStmt_resize_roles(pg_query_AlterPolicyStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterPolicyStmt_add_roles( + pg_query_AlterPolicyStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterPolicyStmt_set_qual(pg_query_AlterPolicyStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterPolicyStmt_mutable_qual( + pg_query_AlterPolicyStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_AlterPolicyStmt_qual(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_AlterPolicyStmt_set_qual(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterPolicyStmt_set_with_check(pg_query_AlterPolicyStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 66, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterPolicyStmt_mutable_with_check( + pg_query_AlterPolicyStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_AlterPolicyStmt_with_check(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_AlterPolicyStmt_set_with_check(msg, sub); + } + return sub; +} + +/* pg_query.CreateAmStmt */ +UPB_INLINE pg_query_CreateAmStmt* pg_query_CreateAmStmt_new(upb_Arena* arena) { + return (pg_query_CreateAmStmt*)_upb_Message_New(&pg_0query__CreateAmStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateAmStmt* pg_query_CreateAmStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateAmStmt* ret = pg_query_CreateAmStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateAmStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateAmStmt* pg_query_CreateAmStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateAmStmt* ret = pg_query_CreateAmStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateAmStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateAmStmt_serialize(const pg_query_CreateAmStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateAmStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateAmStmt_serialize_ex(const pg_query_CreateAmStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateAmStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateAmStmt_clear_amname(pg_query_CreateAmStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateAmStmt_amname(const pg_query_CreateAmStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateAmStmt_clear_handler_name(pg_query_CreateAmStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 40), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateAmStmt_handler_name(const pg_query_CreateAmStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 40), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateAmStmt_handler_name_upb_array( + const pg_query_CreateAmStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 40), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateAmStmt_handler_name_mutable_upb_array( + pg_query_CreateAmStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 40), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateAmStmt_clear_amtype(pg_query_CreateAmStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateAmStmt_amtype(const pg_query_CreateAmStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CreateAmStmt_set_amname(pg_query_CreateAmStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateAmStmt_mutable_handler_name(pg_query_CreateAmStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 40), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateAmStmt_resize_handler_name(pg_query_CreateAmStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 40), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateAmStmt_add_handler_name( + pg_query_CreateAmStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 40), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateAmStmt_set_amtype(pg_query_CreateAmStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateTrigStmt */ +UPB_INLINE pg_query_CreateTrigStmt* pg_query_CreateTrigStmt_new(upb_Arena* arena) { + return (pg_query_CreateTrigStmt*)_upb_Message_New(&pg_0query__CreateTrigStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateTrigStmt* pg_query_CreateTrigStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateTrigStmt* ret = pg_query_CreateTrigStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateTrigStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateTrigStmt* pg_query_CreateTrigStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateTrigStmt* ret = pg_query_CreateTrigStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateTrigStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateTrigStmt_serialize(const pg_query_CreateTrigStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateTrigStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateTrigStmt_serialize_ex(const pg_query_CreateTrigStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateTrigStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_replace(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateTrigStmt_replace(const pg_query_CreateTrigStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_isconstraint(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateTrigStmt_isconstraint(const pg_query_CreateTrigStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_trigname(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(52, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateTrigStmt_trigname(const pg_query_CreateTrigStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(52, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_relation(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_CreateTrigStmt_relation(const pg_query_CreateTrigStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateTrigStmt_has_relation(const pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_funcname(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(34, 36), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateTrigStmt_funcname(const pg_query_CreateTrigStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(34, 36), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateTrigStmt_funcname_upb_array( + const pg_query_CreateTrigStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(34, 36), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateTrigStmt_funcname_mutable_upb_array( + pg_query_CreateTrigStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(34, 36), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_args(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 56), 0, UPB_SIZE(32, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateTrigStmt_args(const pg_query_CreateTrigStmt* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 56), 0, UPB_SIZE(32, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateTrigStmt_args_upb_array( + const pg_query_CreateTrigStmt* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 56), 0, UPB_SIZE(32, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateTrigStmt_args_mutable_upb_array( + pg_query_CreateTrigStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 56), 0, UPB_SIZE(32, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_row(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateTrigStmt_row(const pg_query_CreateTrigStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_timing(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CreateTrigStmt_timing(const pg_query_CreateTrigStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {8, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_events(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CreateTrigStmt_events(const pg_query_CreateTrigStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {9, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_columns(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 64), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateTrigStmt_columns(const pg_query_CreateTrigStmt* msg, + size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 64), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateTrigStmt_columns_upb_array( + const pg_query_CreateTrigStmt* msg, size_t* size) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 64), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateTrigStmt_columns_mutable_upb_array( + pg_query_CreateTrigStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {10, UPB_SIZE(36, 64), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_when_clause(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(40, 72), 65, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CreateTrigStmt_when_clause(const pg_query_CreateTrigStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {11, UPB_SIZE(40, 72), 65, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateTrigStmt_has_when_clause(const pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(40, 72), 65, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_transition_rels(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(44, 80), 0, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateTrigStmt_transition_rels(const pg_query_CreateTrigStmt* msg, + size_t* size) { + const upb_MiniTableField field = {12, UPB_SIZE(44, 80), 0, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateTrigStmt_transition_rels_upb_array( + const pg_query_CreateTrigStmt* msg, size_t* size) { + const upb_MiniTableField field = {12, UPB_SIZE(44, 80), 0, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateTrigStmt_transition_rels_mutable_upb_array( + pg_query_CreateTrigStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {12, UPB_SIZE(44, 80), 0, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_deferrable(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {13, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateTrigStmt_deferrable(const pg_query_CreateTrigStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {13, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_initdeferred(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {14, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateTrigStmt_initdeferred(const pg_query_CreateTrigStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {14, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTrigStmt_clear_constrrel(pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(48, 88), 66, UPB_SIZE(9, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_CreateTrigStmt_constrrel(const pg_query_CreateTrigStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {15, UPB_SIZE(48, 88), 66, UPB_SIZE(9, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateTrigStmt_has_constrrel(const pg_query_CreateTrigStmt* msg) { + const upb_MiniTableField field = {15, UPB_SIZE(48, 88), 66, UPB_SIZE(9, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_CreateTrigStmt_set_replace(pg_query_CreateTrigStmt* msg, bool value) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTrigStmt_set_isconstraint(pg_query_CreateTrigStmt* msg, bool value) { + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTrigStmt_set_trigname(pg_query_CreateTrigStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(52, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTrigStmt_set_relation(pg_query_CreateTrigStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 64, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_CreateTrigStmt_mutable_relation( + pg_query_CreateTrigStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_CreateTrigStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_CreateTrigStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateTrigStmt_mutable_funcname(pg_query_CreateTrigStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(34, 36), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateTrigStmt_resize_funcname(pg_query_CreateTrigStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(34, 36), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateTrigStmt_add_funcname( + pg_query_CreateTrigStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(34, 36), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateTrigStmt_mutable_args(pg_query_CreateTrigStmt* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(24, 56), 0, UPB_SIZE(32, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateTrigStmt_resize_args(pg_query_CreateTrigStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 56), 0, UPB_SIZE(32, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateTrigStmt_add_args( + pg_query_CreateTrigStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 56), 0, UPB_SIZE(32, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateTrigStmt_set_row(pg_query_CreateTrigStmt* msg, bool value) { + const upb_MiniTableField field = {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTrigStmt_set_timing(pg_query_CreateTrigStmt* msg, int32_t value) { + const upb_MiniTableField field = {8, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTrigStmt_set_events(pg_query_CreateTrigStmt* msg, int32_t value) { + const upb_MiniTableField field = {9, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateTrigStmt_mutable_columns(pg_query_CreateTrigStmt* msg, + size_t* size) { + upb_MiniTableField field = {10, UPB_SIZE(36, 64), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateTrigStmt_resize_columns(pg_query_CreateTrigStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(36, 64), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateTrigStmt_add_columns( + pg_query_CreateTrigStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {10, UPB_SIZE(36, 64), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateTrigStmt_set_when_clause(pg_query_CreateTrigStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {11, UPB_SIZE(40, 72), 65, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateTrigStmt_mutable_when_clause( + pg_query_CreateTrigStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CreateTrigStmt_when_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CreateTrigStmt_set_when_clause(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateTrigStmt_mutable_transition_rels(pg_query_CreateTrigStmt* msg, + size_t* size) { + upb_MiniTableField field = {12, UPB_SIZE(44, 80), 0, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateTrigStmt_resize_transition_rels(pg_query_CreateTrigStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {12, UPB_SIZE(44, 80), 0, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateTrigStmt_add_transition_rels( + pg_query_CreateTrigStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {12, UPB_SIZE(44, 80), 0, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateTrigStmt_set_deferrable(pg_query_CreateTrigStmt* msg, bool value) { + const upb_MiniTableField field = {13, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTrigStmt_set_initdeferred(pg_query_CreateTrigStmt* msg, bool value) { + const upb_MiniTableField field = {14, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTrigStmt_set_constrrel(pg_query_CreateTrigStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {15, UPB_SIZE(48, 88), 66, UPB_SIZE(9, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_CreateTrigStmt_mutable_constrrel( + pg_query_CreateTrigStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_CreateTrigStmt_constrrel(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_CreateTrigStmt_set_constrrel(msg, sub); + } + return sub; +} + +/* pg_query.CreateEventTrigStmt */ +UPB_INLINE pg_query_CreateEventTrigStmt* pg_query_CreateEventTrigStmt_new(upb_Arena* arena) { + return (pg_query_CreateEventTrigStmt*)_upb_Message_New(&pg_0query__CreateEventTrigStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateEventTrigStmt* pg_query_CreateEventTrigStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateEventTrigStmt* ret = pg_query_CreateEventTrigStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateEventTrigStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateEventTrigStmt* pg_query_CreateEventTrigStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateEventTrigStmt* ret = pg_query_CreateEventTrigStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateEventTrigStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateEventTrigStmt_serialize(const pg_query_CreateEventTrigStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateEventTrigStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateEventTrigStmt_serialize_ex(const pg_query_CreateEventTrigStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateEventTrigStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateEventTrigStmt_clear_trigname(pg_query_CreateEventTrigStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateEventTrigStmt_trigname(const pg_query_CreateEventTrigStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateEventTrigStmt_clear_eventname(pg_query_CreateEventTrigStmt* msg) { + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateEventTrigStmt_eventname(const pg_query_CreateEventTrigStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateEventTrigStmt_clear_whenclause(pg_query_CreateEventTrigStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateEventTrigStmt_whenclause(const pg_query_CreateEventTrigStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateEventTrigStmt_whenclause_upb_array( + const pg_query_CreateEventTrigStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateEventTrigStmt_whenclause_mutable_upb_array( + pg_query_CreateEventTrigStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateEventTrigStmt_clear_funcname(pg_query_CreateEventTrigStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateEventTrigStmt_funcname(const pg_query_CreateEventTrigStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateEventTrigStmt_funcname_upb_array( + const pg_query_CreateEventTrigStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateEventTrigStmt_funcname_mutable_upb_array( + pg_query_CreateEventTrigStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CreateEventTrigStmt_set_trigname(pg_query_CreateEventTrigStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateEventTrigStmt_set_eventname(pg_query_CreateEventTrigStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateEventTrigStmt_mutable_whenclause(pg_query_CreateEventTrigStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateEventTrigStmt_resize_whenclause(pg_query_CreateEventTrigStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateEventTrigStmt_add_whenclause( + pg_query_CreateEventTrigStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(8, 40), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateEventTrigStmt_mutable_funcname(pg_query_CreateEventTrigStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateEventTrigStmt_resize_funcname(pg_query_CreateEventTrigStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateEventTrigStmt_add_funcname( + pg_query_CreateEventTrigStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterEventTrigStmt */ +UPB_INLINE pg_query_AlterEventTrigStmt* pg_query_AlterEventTrigStmt_new(upb_Arena* arena) { + return (pg_query_AlterEventTrigStmt*)_upb_Message_New(&pg_0query__AlterEventTrigStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterEventTrigStmt* pg_query_AlterEventTrigStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterEventTrigStmt* ret = pg_query_AlterEventTrigStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterEventTrigStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterEventTrigStmt* pg_query_AlterEventTrigStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterEventTrigStmt* ret = pg_query_AlterEventTrigStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterEventTrigStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterEventTrigStmt_serialize(const pg_query_AlterEventTrigStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterEventTrigStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterEventTrigStmt_serialize_ex(const pg_query_AlterEventTrigStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterEventTrigStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterEventTrigStmt_clear_trigname(pg_query_AlterEventTrigStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterEventTrigStmt_trigname(const pg_query_AlterEventTrigStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterEventTrigStmt_clear_tgenabled(pg_query_AlterEventTrigStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterEventTrigStmt_tgenabled(const pg_query_AlterEventTrigStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterEventTrigStmt_set_trigname(pg_query_AlterEventTrigStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterEventTrigStmt_set_tgenabled(pg_query_AlterEventTrigStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreatePLangStmt */ +UPB_INLINE pg_query_CreatePLangStmt* pg_query_CreatePLangStmt_new(upb_Arena* arena) { + return (pg_query_CreatePLangStmt*)_upb_Message_New(&pg_0query__CreatePLangStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreatePLangStmt* pg_query_CreatePLangStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreatePLangStmt* ret = pg_query_CreatePLangStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreatePLangStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreatePLangStmt* pg_query_CreatePLangStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreatePLangStmt* ret = pg_query_CreatePLangStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreatePLangStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreatePLangStmt_serialize(const pg_query_CreatePLangStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreatePLangStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreatePLangStmt_serialize_ex(const pg_query_CreatePLangStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreatePLangStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreatePLangStmt_clear_replace(pg_query_CreatePLangStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreatePLangStmt_replace(const pg_query_CreatePLangStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreatePLangStmt_clear_plname(pg_query_CreatePLangStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreatePLangStmt_plname(const pg_query_CreatePLangStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreatePLangStmt_clear_plhandler(pg_query_CreatePLangStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreatePLangStmt_plhandler(const pg_query_CreatePLangStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreatePLangStmt_plhandler_upb_array( + const pg_query_CreatePLangStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreatePLangStmt_plhandler_mutable_upb_array( + pg_query_CreatePLangStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreatePLangStmt_clear_plinline(pg_query_CreatePLangStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreatePLangStmt_plinline(const pg_query_CreatePLangStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreatePLangStmt_plinline_upb_array( + const pg_query_CreatePLangStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreatePLangStmt_plinline_mutable_upb_array( + pg_query_CreatePLangStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreatePLangStmt_clear_plvalidator(pg_query_CreatePLangStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreatePLangStmt_plvalidator(const pg_query_CreatePLangStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreatePLangStmt_plvalidator_upb_array( + const pg_query_CreatePLangStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreatePLangStmt_plvalidator_mutable_upb_array( + pg_query_CreatePLangStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreatePLangStmt_clear_pltrusted(pg_query_CreatePLangStmt* msg) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreatePLangStmt_pltrusted(const pg_query_CreatePLangStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CreatePLangStmt_set_replace(pg_query_CreatePLangStmt* msg, bool value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreatePLangStmt_set_plname(pg_query_CreatePLangStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreatePLangStmt_mutable_plhandler(pg_query_CreatePLangStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreatePLangStmt_resize_plhandler(pg_query_CreatePLangStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreatePLangStmt_add_plhandler( + pg_query_CreatePLangStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreatePLangStmt_mutable_plinline(pg_query_CreatePLangStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreatePLangStmt_resize_plinline(pg_query_CreatePLangStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreatePLangStmt_add_plinline( + pg_query_CreatePLangStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreatePLangStmt_mutable_plvalidator(pg_query_CreatePLangStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreatePLangStmt_resize_plvalidator(pg_query_CreatePLangStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreatePLangStmt_add_plvalidator( + pg_query_CreatePLangStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreatePLangStmt_set_pltrusted(pg_query_CreatePLangStmt* msg, bool value) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateRoleStmt */ +UPB_INLINE pg_query_CreateRoleStmt* pg_query_CreateRoleStmt_new(upb_Arena* arena) { + return (pg_query_CreateRoleStmt*)_upb_Message_New(&pg_0query__CreateRoleStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateRoleStmt* pg_query_CreateRoleStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateRoleStmt* ret = pg_query_CreateRoleStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateRoleStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateRoleStmt* pg_query_CreateRoleStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateRoleStmt* ret = pg_query_CreateRoleStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateRoleStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateRoleStmt_serialize(const pg_query_CreateRoleStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateRoleStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateRoleStmt_serialize_ex(const pg_query_CreateRoleStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateRoleStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateRoleStmt_clear_stmt_type(pg_query_CreateRoleStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CreateRoleStmt_stmt_type(const pg_query_CreateRoleStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateRoleStmt_clear_role(pg_query_CreateRoleStmt* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateRoleStmt_role(const pg_query_CreateRoleStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateRoleStmt_clear_options(pg_query_CreateRoleStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateRoleStmt_options(const pg_query_CreateRoleStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateRoleStmt_options_upb_array( + const pg_query_CreateRoleStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateRoleStmt_options_mutable_upb_array( + pg_query_CreateRoleStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CreateRoleStmt_set_stmt_type(pg_query_CreateRoleStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateRoleStmt_set_role(pg_query_CreateRoleStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateRoleStmt_mutable_options(pg_query_CreateRoleStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateRoleStmt_resize_options(pg_query_CreateRoleStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateRoleStmt_add_options( + pg_query_CreateRoleStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterRoleStmt */ +UPB_INLINE pg_query_AlterRoleStmt* pg_query_AlterRoleStmt_new(upb_Arena* arena) { + return (pg_query_AlterRoleStmt*)_upb_Message_New(&pg_0query__AlterRoleStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterRoleStmt* pg_query_AlterRoleStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterRoleStmt* ret = pg_query_AlterRoleStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterRoleStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterRoleStmt* pg_query_AlterRoleStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterRoleStmt* ret = pg_query_AlterRoleStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterRoleStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterRoleStmt_serialize(const pg_query_AlterRoleStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterRoleStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterRoleStmt_serialize_ex(const pg_query_AlterRoleStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterRoleStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterRoleStmt_clear_role(pg_query_AlterRoleStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_AlterRoleStmt_role(const pg_query_AlterRoleStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterRoleStmt_has_role(const pg_query_AlterRoleStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterRoleStmt_clear_options(pg_query_AlterRoleStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterRoleStmt_options(const pg_query_AlterRoleStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterRoleStmt_options_upb_array( + const pg_query_AlterRoleStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterRoleStmt_options_mutable_upb_array( + pg_query_AlterRoleStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterRoleStmt_clear_action(pg_query_AlterRoleStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterRoleStmt_action(const pg_query_AlterRoleStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterRoleStmt_set_role(pg_query_AlterRoleStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_AlterRoleStmt_mutable_role( + pg_query_AlterRoleStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_AlterRoleStmt_role(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_AlterRoleStmt_set_role(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterRoleStmt_mutable_options(pg_query_AlterRoleStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterRoleStmt_resize_options(pg_query_AlterRoleStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterRoleStmt_add_options( + pg_query_AlterRoleStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterRoleStmt_set_action(pg_query_AlterRoleStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterRoleSetStmt */ +UPB_INLINE pg_query_AlterRoleSetStmt* pg_query_AlterRoleSetStmt_new(upb_Arena* arena) { + return (pg_query_AlterRoleSetStmt*)_upb_Message_New(&pg_0query__AlterRoleSetStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterRoleSetStmt* pg_query_AlterRoleSetStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterRoleSetStmt* ret = pg_query_AlterRoleSetStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterRoleSetStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterRoleSetStmt* pg_query_AlterRoleSetStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterRoleSetStmt* ret = pg_query_AlterRoleSetStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterRoleSetStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterRoleSetStmt_serialize(const pg_query_AlterRoleSetStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterRoleSetStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterRoleSetStmt_serialize_ex(const pg_query_AlterRoleSetStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterRoleSetStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterRoleSetStmt_clear_role(pg_query_AlterRoleSetStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_AlterRoleSetStmt_role(const pg_query_AlterRoleSetStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterRoleSetStmt_has_role(const pg_query_AlterRoleSetStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterRoleSetStmt_clear_database(pg_query_AlterRoleSetStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterRoleSetStmt_database(const pg_query_AlterRoleSetStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterRoleSetStmt_clear_setstmt(pg_query_AlterRoleSetStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_VariableSetStmt* pg_query_AlterRoleSetStmt_setstmt(const pg_query_AlterRoleSetStmt* msg) { + const pg_query_VariableSetStmt* default_val = NULL; + const pg_query_VariableSetStmt* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VariableSetStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterRoleSetStmt_has_setstmt(const pg_query_AlterRoleSetStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_AlterRoleSetStmt_set_role(pg_query_AlterRoleSetStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_AlterRoleSetStmt_mutable_role( + pg_query_AlterRoleSetStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_AlterRoleSetStmt_role(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_AlterRoleSetStmt_set_role(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterRoleSetStmt_set_database(pg_query_AlterRoleSetStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterRoleSetStmt_set_setstmt(pg_query_AlterRoleSetStmt* msg, pg_query_VariableSetStmt* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VariableSetStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_VariableSetStmt* pg_query_AlterRoleSetStmt_mutable_setstmt( + pg_query_AlterRoleSetStmt* msg, upb_Arena* arena) { + struct pg_query_VariableSetStmt* sub = (struct pg_query_VariableSetStmt*)pg_query_AlterRoleSetStmt_setstmt(msg); + if (sub == NULL) { + sub = (struct pg_query_VariableSetStmt*)_upb_Message_New(&pg_0query__VariableSetStmt_msg_init, arena); + if (sub) pg_query_AlterRoleSetStmt_set_setstmt(msg, sub); + } + return sub; +} + +/* pg_query.DropRoleStmt */ +UPB_INLINE pg_query_DropRoleStmt* pg_query_DropRoleStmt_new(upb_Arena* arena) { + return (pg_query_DropRoleStmt*)_upb_Message_New(&pg_0query__DropRoleStmt_msg_init, arena); +} +UPB_INLINE pg_query_DropRoleStmt* pg_query_DropRoleStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DropRoleStmt* ret = pg_query_DropRoleStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropRoleStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DropRoleStmt* pg_query_DropRoleStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DropRoleStmt* ret = pg_query_DropRoleStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropRoleStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DropRoleStmt_serialize(const pg_query_DropRoleStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropRoleStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DropRoleStmt_serialize_ex(const pg_query_DropRoleStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropRoleStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DropRoleStmt_clear_roles(pg_query_DropRoleStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_DropRoleStmt_roles(const pg_query_DropRoleStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_DropRoleStmt_roles_upb_array( + const pg_query_DropRoleStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_DropRoleStmt_roles_mutable_upb_array( + pg_query_DropRoleStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_DropRoleStmt_clear_missing_ok(pg_query_DropRoleStmt* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DropRoleStmt_missing_ok(const pg_query_DropRoleStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_DropRoleStmt_mutable_roles(pg_query_DropRoleStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_DropRoleStmt_resize_roles(pg_query_DropRoleStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_DropRoleStmt_add_roles( + pg_query_DropRoleStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_DropRoleStmt_set_missing_ok(pg_query_DropRoleStmt* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateSeqStmt */ +UPB_INLINE pg_query_CreateSeqStmt* pg_query_CreateSeqStmt_new(upb_Arena* arena) { + return (pg_query_CreateSeqStmt*)_upb_Message_New(&pg_0query__CreateSeqStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateSeqStmt* pg_query_CreateSeqStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateSeqStmt* ret = pg_query_CreateSeqStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateSeqStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateSeqStmt* pg_query_CreateSeqStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateSeqStmt* ret = pg_query_CreateSeqStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateSeqStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateSeqStmt_serialize(const pg_query_CreateSeqStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateSeqStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateSeqStmt_serialize_ex(const pg_query_CreateSeqStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateSeqStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateSeqStmt_clear_sequence(pg_query_CreateSeqStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_CreateSeqStmt_sequence(const pg_query_CreateSeqStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateSeqStmt_has_sequence(const pg_query_CreateSeqStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateSeqStmt_clear_options(pg_query_CreateSeqStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateSeqStmt_options(const pg_query_CreateSeqStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateSeqStmt_options_upb_array( + const pg_query_CreateSeqStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateSeqStmt_options_mutable_upb_array( + pg_query_CreateSeqStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateSeqStmt_clear_owner_id(pg_query_CreateSeqStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_CreateSeqStmt_owner_id(const pg_query_CreateSeqStmt* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateSeqStmt_clear_for_identity(pg_query_CreateSeqStmt* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateSeqStmt_for_identity(const pg_query_CreateSeqStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateSeqStmt_clear_if_not_exists(pg_query_CreateSeqStmt* msg) { + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateSeqStmt_if_not_exists(const pg_query_CreateSeqStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CreateSeqStmt_set_sequence(pg_query_CreateSeqStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_CreateSeqStmt_mutable_sequence( + pg_query_CreateSeqStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_CreateSeqStmt_sequence(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_CreateSeqStmt_set_sequence(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateSeqStmt_mutable_options(pg_query_CreateSeqStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateSeqStmt_resize_options(pg_query_CreateSeqStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateSeqStmt_add_options( + pg_query_CreateSeqStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateSeqStmt_set_owner_id(pg_query_CreateSeqStmt* msg, uint32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateSeqStmt_set_for_identity(pg_query_CreateSeqStmt* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateSeqStmt_set_if_not_exists(pg_query_CreateSeqStmt* msg, bool value) { + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterSeqStmt */ +UPB_INLINE pg_query_AlterSeqStmt* pg_query_AlterSeqStmt_new(upb_Arena* arena) { + return (pg_query_AlterSeqStmt*)_upb_Message_New(&pg_0query__AlterSeqStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterSeqStmt* pg_query_AlterSeqStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterSeqStmt* ret = pg_query_AlterSeqStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterSeqStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterSeqStmt* pg_query_AlterSeqStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterSeqStmt* ret = pg_query_AlterSeqStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterSeqStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterSeqStmt_serialize(const pg_query_AlterSeqStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterSeqStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterSeqStmt_serialize_ex(const pg_query_AlterSeqStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterSeqStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterSeqStmt_clear_sequence(pg_query_AlterSeqStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_AlterSeqStmt_sequence(const pg_query_AlterSeqStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterSeqStmt_has_sequence(const pg_query_AlterSeqStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterSeqStmt_clear_options(pg_query_AlterSeqStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterSeqStmt_options(const pg_query_AlterSeqStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterSeqStmt_options_upb_array( + const pg_query_AlterSeqStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterSeqStmt_options_mutable_upb_array( + pg_query_AlterSeqStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterSeqStmt_clear_for_identity(pg_query_AlterSeqStmt* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterSeqStmt_for_identity(const pg_query_AlterSeqStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterSeqStmt_clear_missing_ok(pg_query_AlterSeqStmt* msg) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterSeqStmt_missing_ok(const pg_query_AlterSeqStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterSeqStmt_set_sequence(pg_query_AlterSeqStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_AlterSeqStmt_mutable_sequence( + pg_query_AlterSeqStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_AlterSeqStmt_sequence(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_AlterSeqStmt_set_sequence(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterSeqStmt_mutable_options(pg_query_AlterSeqStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterSeqStmt_resize_options(pg_query_AlterSeqStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterSeqStmt_add_options( + pg_query_AlterSeqStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterSeqStmt_set_for_identity(pg_query_AlterSeqStmt* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterSeqStmt_set_missing_ok(pg_query_AlterSeqStmt* msg, bool value) { + const upb_MiniTableField field = {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.DefineStmt */ +UPB_INLINE pg_query_DefineStmt* pg_query_DefineStmt_new(upb_Arena* arena) { + return (pg_query_DefineStmt*)_upb_Message_New(&pg_0query__DefineStmt_msg_init, arena); +} +UPB_INLINE pg_query_DefineStmt* pg_query_DefineStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DefineStmt* ret = pg_query_DefineStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DefineStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DefineStmt* pg_query_DefineStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DefineStmt* ret = pg_query_DefineStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DefineStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DefineStmt_serialize(const pg_query_DefineStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DefineStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DefineStmt_serialize_ex(const pg_query_DefineStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DefineStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DefineStmt_clear_kind(pg_query_DefineStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DefineStmt_kind(const pg_query_DefineStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DefineStmt_clear_oldstyle(pg_query_DefineStmt* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DefineStmt_oldstyle(const pg_query_DefineStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DefineStmt_clear_defnames(pg_query_DefineStmt* msg) { + const upb_MiniTableField field = {3, 16, 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_DefineStmt_defnames(const pg_query_DefineStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, 16, 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_DefineStmt_defnames_upb_array( + const pg_query_DefineStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, 16, 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_DefineStmt_defnames_mutable_upb_array( + pg_query_DefineStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, 16, 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_DefineStmt_clear_args(pg_query_DefineStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_DefineStmt_args(const pg_query_DefineStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_DefineStmt_args_upb_array( + const pg_query_DefineStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_DefineStmt_args_mutable_upb_array( + pg_query_DefineStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_DefineStmt_clear_definition(pg_query_DefineStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_DefineStmt_definition(const pg_query_DefineStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_DefineStmt_definition_upb_array( + const pg_query_DefineStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_DefineStmt_definition_mutable_upb_array( + pg_query_DefineStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_DefineStmt_clear_if_not_exists(pg_query_DefineStmt* msg) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DefineStmt_if_not_exists(const pg_query_DefineStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DefineStmt_clear_replace(pg_query_DefineStmt* msg) { + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DefineStmt_replace(const pg_query_DefineStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_DefineStmt_set_kind(pg_query_DefineStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DefineStmt_set_oldstyle(pg_query_DefineStmt* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_DefineStmt_mutable_defnames(pg_query_DefineStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, 16, 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_DefineStmt_resize_defnames(pg_query_DefineStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, 16, 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_DefineStmt_add_defnames( + pg_query_DefineStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, 16, 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_DefineStmt_mutable_args(pg_query_DefineStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_DefineStmt_resize_args(pg_query_DefineStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_DefineStmt_add_args( + pg_query_DefineStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_DefineStmt_mutable_definition(pg_query_DefineStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_DefineStmt_resize_definition(pg_query_DefineStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_DefineStmt_add_definition( + pg_query_DefineStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_DefineStmt_set_if_not_exists(pg_query_DefineStmt* msg, bool value) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DefineStmt_set_replace(pg_query_DefineStmt* msg, bool value) { + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateDomainStmt */ +UPB_INLINE pg_query_CreateDomainStmt* pg_query_CreateDomainStmt_new(upb_Arena* arena) { + return (pg_query_CreateDomainStmt*)_upb_Message_New(&pg_0query__CreateDomainStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateDomainStmt* pg_query_CreateDomainStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateDomainStmt* ret = pg_query_CreateDomainStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateDomainStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateDomainStmt* pg_query_CreateDomainStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateDomainStmt* ret = pg_query_CreateDomainStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateDomainStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateDomainStmt_serialize(const pg_query_CreateDomainStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateDomainStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateDomainStmt_serialize_ex(const pg_query_CreateDomainStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateDomainStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateDomainStmt_clear_domainname(pg_query_CreateDomainStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateDomainStmt_domainname(const pg_query_CreateDomainStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateDomainStmt_domainname_upb_array( + const pg_query_CreateDomainStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateDomainStmt_domainname_mutable_upb_array( + pg_query_CreateDomainStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateDomainStmt_clear_type_name(pg_query_CreateDomainStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_CreateDomainStmt_type_name(const pg_query_CreateDomainStmt* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateDomainStmt_has_type_name(const pg_query_CreateDomainStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateDomainStmt_clear_coll_clause(pg_query_CreateDomainStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_CollateClause* pg_query_CreateDomainStmt_coll_clause(const pg_query_CreateDomainStmt* msg) { + const pg_query_CollateClause* default_val = NULL; + const pg_query_CollateClause* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CollateClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateDomainStmt_has_coll_clause(const pg_query_CreateDomainStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateDomainStmt_clear_constraints(pg_query_CreateDomainStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateDomainStmt_constraints(const pg_query_CreateDomainStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateDomainStmt_constraints_upb_array( + const pg_query_CreateDomainStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateDomainStmt_constraints_mutable_upb_array( + pg_query_CreateDomainStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_CreateDomainStmt_mutable_domainname(pg_query_CreateDomainStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateDomainStmt_resize_domainname(pg_query_CreateDomainStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateDomainStmt_add_domainname( + pg_query_CreateDomainStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateDomainStmt_set_type_name(pg_query_CreateDomainStmt* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_CreateDomainStmt_mutable_type_name( + pg_query_CreateDomainStmt* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_CreateDomainStmt_type_name(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_CreateDomainStmt_set_type_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateDomainStmt_set_coll_clause(pg_query_CreateDomainStmt* msg, pg_query_CollateClause* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__CollateClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_CollateClause* pg_query_CreateDomainStmt_mutable_coll_clause( + pg_query_CreateDomainStmt* msg, upb_Arena* arena) { + struct pg_query_CollateClause* sub = (struct pg_query_CollateClause*)pg_query_CreateDomainStmt_coll_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_CollateClause*)_upb_Message_New(&pg_0query__CollateClause_msg_init, arena); + if (sub) pg_query_CreateDomainStmt_set_coll_clause(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateDomainStmt_mutable_constraints(pg_query_CreateDomainStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateDomainStmt_resize_constraints(pg_query_CreateDomainStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateDomainStmt_add_constraints( + pg_query_CreateDomainStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 40), 0, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CreateOpClassStmt */ +UPB_INLINE pg_query_CreateOpClassStmt* pg_query_CreateOpClassStmt_new(upb_Arena* arena) { + return (pg_query_CreateOpClassStmt*)_upb_Message_New(&pg_0query__CreateOpClassStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateOpClassStmt* pg_query_CreateOpClassStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateOpClassStmt* ret = pg_query_CreateOpClassStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateOpClassStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateOpClassStmt* pg_query_CreateOpClassStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateOpClassStmt* ret = pg_query_CreateOpClassStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateOpClassStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateOpClassStmt_serialize(const pg_query_CreateOpClassStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateOpClassStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateOpClassStmt_serialize_ex(const pg_query_CreateOpClassStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateOpClassStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateOpClassStmt_clear_opclassname(pg_query_CreateOpClassStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateOpClassStmt_opclassname(const pg_query_CreateOpClassStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateOpClassStmt_opclassname_upb_array( + const pg_query_CreateOpClassStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateOpClassStmt_opclassname_mutable_upb_array( + pg_query_CreateOpClassStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateOpClassStmt_clear_opfamilyname(pg_query_CreateOpClassStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateOpClassStmt_opfamilyname(const pg_query_CreateOpClassStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateOpClassStmt_opfamilyname_upb_array( + const pg_query_CreateOpClassStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateOpClassStmt_opfamilyname_mutable_upb_array( + pg_query_CreateOpClassStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateOpClassStmt_clear_amname(pg_query_CreateOpClassStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateOpClassStmt_amname(const pg_query_CreateOpClassStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateOpClassStmt_clear_datatype(pg_query_CreateOpClassStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_CreateOpClassStmt_datatype(const pg_query_CreateOpClassStmt* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateOpClassStmt_has_datatype(const pg_query_CreateOpClassStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateOpClassStmt_clear_items(pg_query_CreateOpClassStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateOpClassStmt_items(const pg_query_CreateOpClassStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateOpClassStmt_items_upb_array( + const pg_query_CreateOpClassStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateOpClassStmt_items_mutable_upb_array( + pg_query_CreateOpClassStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateOpClassStmt_clear_is_default(pg_query_CreateOpClassStmt* msg) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateOpClassStmt_is_default(const pg_query_CreateOpClassStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_CreateOpClassStmt_mutable_opclassname(pg_query_CreateOpClassStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateOpClassStmt_resize_opclassname(pg_query_CreateOpClassStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateOpClassStmt_add_opclassname( + pg_query_CreateOpClassStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateOpClassStmt_mutable_opfamilyname(pg_query_CreateOpClassStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateOpClassStmt_resize_opfamilyname(pg_query_CreateOpClassStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateOpClassStmt_add_opfamilyname( + pg_query_CreateOpClassStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateOpClassStmt_set_amname(pg_query_CreateOpClassStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateOpClassStmt_set_datatype(pg_query_CreateOpClassStmt* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_CreateOpClassStmt_mutable_datatype( + pg_query_CreateOpClassStmt* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_CreateOpClassStmt_datatype(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_CreateOpClassStmt_set_datatype(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateOpClassStmt_mutable_items(pg_query_CreateOpClassStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateOpClassStmt_resize_items(pg_query_CreateOpClassStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateOpClassStmt_add_items( + pg_query_CreateOpClassStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateOpClassStmt_set_is_default(pg_query_CreateOpClassStmt* msg, bool value) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateOpClassItem */ +UPB_INLINE pg_query_CreateOpClassItem* pg_query_CreateOpClassItem_new(upb_Arena* arena) { + return (pg_query_CreateOpClassItem*)_upb_Message_New(&pg_0query__CreateOpClassItem_msg_init, arena); +} +UPB_INLINE pg_query_CreateOpClassItem* pg_query_CreateOpClassItem_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateOpClassItem* ret = pg_query_CreateOpClassItem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateOpClassItem_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateOpClassItem* pg_query_CreateOpClassItem_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateOpClassItem* ret = pg_query_CreateOpClassItem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateOpClassItem_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateOpClassItem_serialize(const pg_query_CreateOpClassItem* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateOpClassItem_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateOpClassItem_serialize_ex(const pg_query_CreateOpClassItem* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateOpClassItem_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateOpClassItem_clear_itemtype(pg_query_CreateOpClassItem* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CreateOpClassItem_itemtype(const pg_query_CreateOpClassItem* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateOpClassItem_clear_name(pg_query_CreateOpClassItem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ObjectWithArgs* pg_query_CreateOpClassItem_name(const pg_query_CreateOpClassItem* msg) { + const pg_query_ObjectWithArgs* default_val = NULL; + const pg_query_ObjectWithArgs* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateOpClassItem_has_name(const pg_query_CreateOpClassItem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateOpClassItem_clear_number(pg_query_CreateOpClassItem* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CreateOpClassItem_number(const pg_query_CreateOpClassItem* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateOpClassItem_clear_order_family(pg_query_CreateOpClassItem* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateOpClassItem_order_family(const pg_query_CreateOpClassItem* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateOpClassItem_order_family_upb_array( + const pg_query_CreateOpClassItem* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateOpClassItem_order_family_mutable_upb_array( + pg_query_CreateOpClassItem* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateOpClassItem_clear_class_args(pg_query_CreateOpClassItem* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateOpClassItem_class_args(const pg_query_CreateOpClassItem* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateOpClassItem_class_args_upb_array( + const pg_query_CreateOpClassItem* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateOpClassItem_class_args_mutable_upb_array( + pg_query_CreateOpClassItem* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateOpClassItem_clear_storedtype(pg_query_CreateOpClassItem* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 65, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_CreateOpClassItem_storedtype(const pg_query_CreateOpClassItem* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 65, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateOpClassItem_has_storedtype(const pg_query_CreateOpClassItem* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 65, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_CreateOpClassItem_set_itemtype(pg_query_CreateOpClassItem* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateOpClassItem_set_name(pg_query_CreateOpClassItem* msg, pg_query_ObjectWithArgs* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ObjectWithArgs* pg_query_CreateOpClassItem_mutable_name( + pg_query_CreateOpClassItem* msg, upb_Arena* arena) { + struct pg_query_ObjectWithArgs* sub = (struct pg_query_ObjectWithArgs*)pg_query_CreateOpClassItem_name(msg); + if (sub == NULL) { + sub = (struct pg_query_ObjectWithArgs*)_upb_Message_New(&pg_0query__ObjectWithArgs_msg_init, arena); + if (sub) pg_query_CreateOpClassItem_set_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateOpClassItem_set_number(pg_query_CreateOpClassItem* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateOpClassItem_mutable_order_family(pg_query_CreateOpClassItem* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateOpClassItem_resize_order_family(pg_query_CreateOpClassItem* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateOpClassItem_add_order_family( + pg_query_CreateOpClassItem* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateOpClassItem_mutable_class_args(pg_query_CreateOpClassItem* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateOpClassItem_resize_class_args(pg_query_CreateOpClassItem* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateOpClassItem_add_class_args( + pg_query_CreateOpClassItem* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateOpClassItem_set_storedtype(pg_query_CreateOpClassItem* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {6, UPB_SIZE(32, 48), 65, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_CreateOpClassItem_mutable_storedtype( + pg_query_CreateOpClassItem* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_CreateOpClassItem_storedtype(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_CreateOpClassItem_set_storedtype(msg, sub); + } + return sub; +} + +/* pg_query.CreateOpFamilyStmt */ +UPB_INLINE pg_query_CreateOpFamilyStmt* pg_query_CreateOpFamilyStmt_new(upb_Arena* arena) { + return (pg_query_CreateOpFamilyStmt*)_upb_Message_New(&pg_0query__CreateOpFamilyStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateOpFamilyStmt* pg_query_CreateOpFamilyStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateOpFamilyStmt* ret = pg_query_CreateOpFamilyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateOpFamilyStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateOpFamilyStmt* pg_query_CreateOpFamilyStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateOpFamilyStmt* ret = pg_query_CreateOpFamilyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateOpFamilyStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateOpFamilyStmt_serialize(const pg_query_CreateOpFamilyStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateOpFamilyStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateOpFamilyStmt_serialize_ex(const pg_query_CreateOpFamilyStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateOpFamilyStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateOpFamilyStmt_clear_opfamilyname(pg_query_CreateOpFamilyStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateOpFamilyStmt_opfamilyname(const pg_query_CreateOpFamilyStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateOpFamilyStmt_opfamilyname_upb_array( + const pg_query_CreateOpFamilyStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateOpFamilyStmt_opfamilyname_mutable_upb_array( + pg_query_CreateOpFamilyStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateOpFamilyStmt_clear_amname(pg_query_CreateOpFamilyStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateOpFamilyStmt_amname(const pg_query_CreateOpFamilyStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_CreateOpFamilyStmt_mutable_opfamilyname(pg_query_CreateOpFamilyStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateOpFamilyStmt_resize_opfamilyname(pg_query_CreateOpFamilyStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateOpFamilyStmt_add_opfamilyname( + pg_query_CreateOpFamilyStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateOpFamilyStmt_set_amname(pg_query_CreateOpFamilyStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterOpFamilyStmt */ +UPB_INLINE pg_query_AlterOpFamilyStmt* pg_query_AlterOpFamilyStmt_new(upb_Arena* arena) { + return (pg_query_AlterOpFamilyStmt*)_upb_Message_New(&pg_0query__AlterOpFamilyStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterOpFamilyStmt* pg_query_AlterOpFamilyStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterOpFamilyStmt* ret = pg_query_AlterOpFamilyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterOpFamilyStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterOpFamilyStmt* pg_query_AlterOpFamilyStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterOpFamilyStmt* ret = pg_query_AlterOpFamilyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterOpFamilyStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterOpFamilyStmt_serialize(const pg_query_AlterOpFamilyStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterOpFamilyStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterOpFamilyStmt_serialize_ex(const pg_query_AlterOpFamilyStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterOpFamilyStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterOpFamilyStmt_clear_opfamilyname(pg_query_AlterOpFamilyStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterOpFamilyStmt_opfamilyname(const pg_query_AlterOpFamilyStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterOpFamilyStmt_opfamilyname_upb_array( + const pg_query_AlterOpFamilyStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterOpFamilyStmt_opfamilyname_mutable_upb_array( + pg_query_AlterOpFamilyStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterOpFamilyStmt_clear_amname(pg_query_AlterOpFamilyStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterOpFamilyStmt_amname(const pg_query_AlterOpFamilyStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterOpFamilyStmt_clear_is_drop(pg_query_AlterOpFamilyStmt* msg) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterOpFamilyStmt_is_drop(const pg_query_AlterOpFamilyStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterOpFamilyStmt_clear_items(pg_query_AlterOpFamilyStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterOpFamilyStmt_items(const pg_query_AlterOpFamilyStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterOpFamilyStmt_items_upb_array( + const pg_query_AlterOpFamilyStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterOpFamilyStmt_items_mutable_upb_array( + pg_query_AlterOpFamilyStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_AlterOpFamilyStmt_mutable_opfamilyname(pg_query_AlterOpFamilyStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterOpFamilyStmt_resize_opfamilyname(pg_query_AlterOpFamilyStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterOpFamilyStmt_add_opfamilyname( + pg_query_AlterOpFamilyStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterOpFamilyStmt_set_amname(pg_query_AlterOpFamilyStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterOpFamilyStmt_set_is_drop(pg_query_AlterOpFamilyStmt* msg, bool value) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterOpFamilyStmt_mutable_items(pg_query_AlterOpFamilyStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterOpFamilyStmt_resize_items(pg_query_AlterOpFamilyStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterOpFamilyStmt_add_items( + pg_query_AlterOpFamilyStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.DropStmt */ +UPB_INLINE pg_query_DropStmt* pg_query_DropStmt_new(upb_Arena* arena) { + return (pg_query_DropStmt*)_upb_Message_New(&pg_0query__DropStmt_msg_init, arena); +} +UPB_INLINE pg_query_DropStmt* pg_query_DropStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DropStmt* ret = pg_query_DropStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DropStmt* pg_query_DropStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DropStmt* ret = pg_query_DropStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DropStmt_serialize(const pg_query_DropStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DropStmt_serialize_ex(const pg_query_DropStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DropStmt_clear_objects(pg_query_DropStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_DropStmt_objects(const pg_query_DropStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_DropStmt_objects_upb_array( + const pg_query_DropStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_DropStmt_objects_mutable_upb_array( + pg_query_DropStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_DropStmt_clear_remove_type(pg_query_DropStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DropStmt_remove_type(const pg_query_DropStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DropStmt_clear_behavior(pg_query_DropStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DropStmt_behavior(const pg_query_DropStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DropStmt_clear_missing_ok(pg_query_DropStmt* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DropStmt_missing_ok(const pg_query_DropStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DropStmt_clear_concurrent(pg_query_DropStmt* msg) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DropStmt_concurrent(const pg_query_DropStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_DropStmt_mutable_objects(pg_query_DropStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_DropStmt_resize_objects(pg_query_DropStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_DropStmt_add_objects( + pg_query_DropStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 24), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_DropStmt_set_remove_type(pg_query_DropStmt* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DropStmt_set_behavior(pg_query_DropStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DropStmt_set_missing_ok(pg_query_DropStmt* msg, bool value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DropStmt_set_concurrent(pg_query_DropStmt* msg, bool value) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.TruncateStmt */ +UPB_INLINE pg_query_TruncateStmt* pg_query_TruncateStmt_new(upb_Arena* arena) { + return (pg_query_TruncateStmt*)_upb_Message_New(&pg_0query__TruncateStmt_msg_init, arena); +} +UPB_INLINE pg_query_TruncateStmt* pg_query_TruncateStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_TruncateStmt* ret = pg_query_TruncateStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TruncateStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_TruncateStmt* pg_query_TruncateStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_TruncateStmt* ret = pg_query_TruncateStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TruncateStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_TruncateStmt_serialize(const pg_query_TruncateStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TruncateStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_TruncateStmt_serialize_ex(const pg_query_TruncateStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TruncateStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_TruncateStmt_clear_relations(pg_query_TruncateStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TruncateStmt_relations(const pg_query_TruncateStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TruncateStmt_relations_upb_array( + const pg_query_TruncateStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TruncateStmt_relations_mutable_upb_array( + pg_query_TruncateStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TruncateStmt_clear_restart_seqs(pg_query_TruncateStmt* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_TruncateStmt_restart_seqs(const pg_query_TruncateStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TruncateStmt_clear_behavior(pg_query_TruncateStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TruncateStmt_behavior(const pg_query_TruncateStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_TruncateStmt_mutable_relations(pg_query_TruncateStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TruncateStmt_resize_relations(pg_query_TruncateStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TruncateStmt_add_relations( + pg_query_TruncateStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_TruncateStmt_set_restart_seqs(pg_query_TruncateStmt* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TruncateStmt_set_behavior(pg_query_TruncateStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CommentStmt */ +UPB_INLINE pg_query_CommentStmt* pg_query_CommentStmt_new(upb_Arena* arena) { + return (pg_query_CommentStmt*)_upb_Message_New(&pg_0query__CommentStmt_msg_init, arena); +} +UPB_INLINE pg_query_CommentStmt* pg_query_CommentStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CommentStmt* ret = pg_query_CommentStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CommentStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CommentStmt* pg_query_CommentStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CommentStmt* ret = pg_query_CommentStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CommentStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CommentStmt_serialize(const pg_query_CommentStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CommentStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CommentStmt_serialize_ex(const pg_query_CommentStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CommentStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CommentStmt_clear_objtype(pg_query_CommentStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CommentStmt_objtype(const pg_query_CommentStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CommentStmt_clear_object(pg_query_CommentStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CommentStmt_object(const pg_query_CommentStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CommentStmt_has_object(const pg_query_CommentStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CommentStmt_clear_comment(pg_query_CommentStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CommentStmt_comment(const pg_query_CommentStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CommentStmt_set_objtype(pg_query_CommentStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CommentStmt_set_object(pg_query_CommentStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CommentStmt_mutable_object( + pg_query_CommentStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CommentStmt_object(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CommentStmt_set_object(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CommentStmt_set_comment(pg_query_CommentStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SecLabelStmt */ +UPB_INLINE pg_query_SecLabelStmt* pg_query_SecLabelStmt_new(upb_Arena* arena) { + return (pg_query_SecLabelStmt*)_upb_Message_New(&pg_0query__SecLabelStmt_msg_init, arena); +} +UPB_INLINE pg_query_SecLabelStmt* pg_query_SecLabelStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SecLabelStmt* ret = pg_query_SecLabelStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SecLabelStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SecLabelStmt* pg_query_SecLabelStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SecLabelStmt* ret = pg_query_SecLabelStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SecLabelStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SecLabelStmt_serialize(const pg_query_SecLabelStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SecLabelStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SecLabelStmt_serialize_ex(const pg_query_SecLabelStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SecLabelStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SecLabelStmt_clear_objtype(pg_query_SecLabelStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SecLabelStmt_objtype(const pg_query_SecLabelStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SecLabelStmt_clear_object(pg_query_SecLabelStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 48), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_SecLabelStmt_object(const pg_query_SecLabelStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 48), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_SecLabelStmt_has_object(const pg_query_SecLabelStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 48), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_SecLabelStmt_clear_provider(pg_query_SecLabelStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SecLabelStmt_provider(const pg_query_SecLabelStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SecLabelStmt_clear_label(pg_query_SecLabelStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SecLabelStmt_label(const pg_query_SecLabelStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_SecLabelStmt_set_objtype(pg_query_SecLabelStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SecLabelStmt_set_object(pg_query_SecLabelStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 48), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_SecLabelStmt_mutable_object( + pg_query_SecLabelStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_SecLabelStmt_object(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_SecLabelStmt_set_object(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_SecLabelStmt_set_provider(pg_query_SecLabelStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SecLabelStmt_set_label(pg_query_SecLabelStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {4, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.DeclareCursorStmt */ +UPB_INLINE pg_query_DeclareCursorStmt* pg_query_DeclareCursorStmt_new(upb_Arena* arena) { + return (pg_query_DeclareCursorStmt*)_upb_Message_New(&pg_0query__DeclareCursorStmt_msg_init, arena); +} +UPB_INLINE pg_query_DeclareCursorStmt* pg_query_DeclareCursorStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DeclareCursorStmt* ret = pg_query_DeclareCursorStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DeclareCursorStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DeclareCursorStmt* pg_query_DeclareCursorStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DeclareCursorStmt* ret = pg_query_DeclareCursorStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DeclareCursorStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DeclareCursorStmt_serialize(const pg_query_DeclareCursorStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DeclareCursorStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DeclareCursorStmt_serialize_ex(const pg_query_DeclareCursorStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DeclareCursorStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DeclareCursorStmt_clear_portalname(pg_query_DeclareCursorStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_DeclareCursorStmt_portalname(const pg_query_DeclareCursorStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DeclareCursorStmt_clear_options(pg_query_DeclareCursorStmt* msg) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DeclareCursorStmt_options(const pg_query_DeclareCursorStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DeclareCursorStmt_clear_query(pg_query_DeclareCursorStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_DeclareCursorStmt_query(const pg_query_DeclareCursorStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_DeclareCursorStmt_has_query(const pg_query_DeclareCursorStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_DeclareCursorStmt_set_portalname(pg_query_DeclareCursorStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DeclareCursorStmt_set_options(pg_query_DeclareCursorStmt* msg, int32_t value) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DeclareCursorStmt_set_query(pg_query_DeclareCursorStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_DeclareCursorStmt_mutable_query( + pg_query_DeclareCursorStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_DeclareCursorStmt_query(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_DeclareCursorStmt_set_query(msg, sub); + } + return sub; +} + +/* pg_query.ClosePortalStmt */ +UPB_INLINE pg_query_ClosePortalStmt* pg_query_ClosePortalStmt_new(upb_Arena* arena) { + return (pg_query_ClosePortalStmt*)_upb_Message_New(&pg_0query__ClosePortalStmt_msg_init, arena); +} +UPB_INLINE pg_query_ClosePortalStmt* pg_query_ClosePortalStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ClosePortalStmt* ret = pg_query_ClosePortalStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ClosePortalStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ClosePortalStmt* pg_query_ClosePortalStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ClosePortalStmt* ret = pg_query_ClosePortalStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ClosePortalStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ClosePortalStmt_serialize(const pg_query_ClosePortalStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ClosePortalStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ClosePortalStmt_serialize_ex(const pg_query_ClosePortalStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ClosePortalStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ClosePortalStmt_clear_portalname(pg_query_ClosePortalStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ClosePortalStmt_portalname(const pg_query_ClosePortalStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ClosePortalStmt_set_portalname(pg_query_ClosePortalStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.FetchStmt */ +UPB_INLINE pg_query_FetchStmt* pg_query_FetchStmt_new(upb_Arena* arena) { + return (pg_query_FetchStmt*)_upb_Message_New(&pg_0query__FetchStmt_msg_init, arena); +} +UPB_INLINE pg_query_FetchStmt* pg_query_FetchStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_FetchStmt* ret = pg_query_FetchStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FetchStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_FetchStmt* pg_query_FetchStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_FetchStmt* ret = pg_query_FetchStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FetchStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_FetchStmt_serialize(const pg_query_FetchStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FetchStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_FetchStmt_serialize_ex(const pg_query_FetchStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FetchStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_FetchStmt_clear_direction(pg_query_FetchStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_FetchStmt_direction(const pg_query_FetchStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FetchStmt_clear_how_many(pg_query_FetchStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int64_t pg_query_FetchStmt_how_many(const pg_query_FetchStmt* msg) { + int64_t default_val = (int64_t)0ll; + int64_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FetchStmt_clear_portalname(pg_query_FetchStmt* msg) { + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_FetchStmt_portalname(const pg_query_FetchStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FetchStmt_clear_ismove(pg_query_FetchStmt* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_FetchStmt_ismove(const pg_query_FetchStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_FetchStmt_set_direction(pg_query_FetchStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FetchStmt_set_how_many(pg_query_FetchStmt* msg, int64_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FetchStmt_set_portalname(pg_query_FetchStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FetchStmt_set_ismove(pg_query_FetchStmt* msg, bool value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.IndexStmt */ +UPB_INLINE pg_query_IndexStmt* pg_query_IndexStmt_new(upb_Arena* arena) { + return (pg_query_IndexStmt*)_upb_Message_New(&pg_0query__IndexStmt_msg_init, arena); +} +UPB_INLINE pg_query_IndexStmt* pg_query_IndexStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_IndexStmt* ret = pg_query_IndexStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__IndexStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_IndexStmt* pg_query_IndexStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_IndexStmt* ret = pg_query_IndexStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__IndexStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_IndexStmt_serialize(const pg_query_IndexStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__IndexStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_IndexStmt_serialize_ex(const pg_query_IndexStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__IndexStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_IndexStmt_clear_idxname(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(60, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_IndexStmt_idxname(const pg_query_IndexStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(60, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_relation(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 104), 64, UPB_SIZE(72, 73), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_IndexStmt_relation(const pg_query_IndexStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 104), 64, UPB_SIZE(72, 73), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_IndexStmt_has_relation(const pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 104), 64, UPB_SIZE(72, 73), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_IndexStmt_clear_access_method(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(68, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_IndexStmt_access_method(const pg_query_IndexStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(68, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_table_space(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(76, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_IndexStmt_table_space(const pg_query_IndexStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, UPB_SIZE(76, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_index_params(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 112), 0, UPB_SIZE(64, 66), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_IndexStmt_index_params(const pg_query_IndexStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 112), 0, UPB_SIZE(64, 66), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_IndexStmt_index_params_upb_array( + const pg_query_IndexStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 112), 0, UPB_SIZE(64, 66), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_IndexStmt_index_params_mutable_upb_array( + pg_query_IndexStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 112), 0, UPB_SIZE(64, 66), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_IndexStmt_clear_index_including_params(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 120), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_IndexStmt_index_including_params(const pg_query_IndexStmt* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 120), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_IndexStmt_index_including_params_upb_array( + const pg_query_IndexStmt* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 120), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_IndexStmt_index_including_params_mutable_upb_array( + pg_query_IndexStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 120), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_IndexStmt_clear_options(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 128), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_IndexStmt_options(const pg_query_IndexStmt* msg, + size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 128), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_IndexStmt_options_upb_array( + const pg_query_IndexStmt* msg, size_t* size) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 128), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_IndexStmt_options_mutable_upb_array( + pg_query_IndexStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 128), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_IndexStmt_clear_where_clause(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 136), 65, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_IndexStmt_where_clause(const pg_query_IndexStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {8, UPB_SIZE(36, 136), 65, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_IndexStmt_has_where_clause(const pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 136), 65, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_IndexStmt_clear_exclude_op_names(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 144), 0, UPB_SIZE(56, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_IndexStmt_exclude_op_names(const pg_query_IndexStmt* msg, + size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 144), 0, UPB_SIZE(56, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_IndexStmt_exclude_op_names_upb_array( + const pg_query_IndexStmt* msg, size_t* size) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 144), 0, UPB_SIZE(56, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_IndexStmt_exclude_op_names_mutable_upb_array( + pg_query_IndexStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {9, UPB_SIZE(40, 144), 0, UPB_SIZE(56, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_IndexStmt_clear_idxcomment(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {10, UPB_SIZE(84, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_IndexStmt_idxcomment(const pg_query_IndexStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {10, UPB_SIZE(84, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_index_oid(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_IndexStmt_index_oid(const pg_query_IndexStmt* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {11, UPB_SIZE(44, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_old_number(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {12, UPB_SIZE(48, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_IndexStmt_old_number(const pg_query_IndexStmt* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {12, UPB_SIZE(48, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_old_create_subid(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {13, UPB_SIZE(52, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_IndexStmt_old_create_subid(const pg_query_IndexStmt* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {13, UPB_SIZE(52, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_old_first_relfilelocator_subid(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {14, UPB_SIZE(56, 32), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_IndexStmt_old_first_relfilelocator_subid(const pg_query_IndexStmt* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {14, UPB_SIZE(56, 32), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_unique(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {15, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_unique(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {15, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_nulls_not_distinct(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {16, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_nulls_not_distinct(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {16, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_primary(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {17, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_primary(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {17, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_isconstraint(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {18, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_isconstraint(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {18, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_iswithoutoverlaps(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {19, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_iswithoutoverlaps(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {19, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_deferrable(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {20, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_deferrable(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {20, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_initdeferred(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {21, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_initdeferred(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {21, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_transformed(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {22, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_transformed(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {22, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_concurrent(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {23, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_concurrent(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {23, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_if_not_exists(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {24, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_if_not_exists(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {24, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_IndexStmt_clear_reset_default_tblspc(pg_query_IndexStmt* msg) { + const upb_MiniTableField field = {25, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_IndexStmt_reset_default_tblspc(const pg_query_IndexStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {25, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_IndexStmt_set_idxname(pg_query_IndexStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(60, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_relation(pg_query_IndexStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 104), 64, UPB_SIZE(72, 73), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_IndexStmt_mutable_relation( + pg_query_IndexStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_IndexStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_IndexStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_IndexStmt_set_access_method(pg_query_IndexStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(68, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_table_space(pg_query_IndexStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {4, UPB_SIZE(76, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_IndexStmt_mutable_index_params(pg_query_IndexStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 112), 0, UPB_SIZE(64, 66), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_IndexStmt_resize_index_params(pg_query_IndexStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 112), 0, UPB_SIZE(64, 66), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_IndexStmt_add_index_params( + pg_query_IndexStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 112), 0, UPB_SIZE(64, 66), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_IndexStmt_mutable_index_including_params(pg_query_IndexStmt* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(28, 120), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_IndexStmt_resize_index_including_params(pg_query_IndexStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(28, 120), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_IndexStmt_add_index_including_params( + pg_query_IndexStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(28, 120), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_IndexStmt_mutable_options(pg_query_IndexStmt* msg, + size_t* size) { + upb_MiniTableField field = {7, UPB_SIZE(32, 128), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_IndexStmt_resize_options(pg_query_IndexStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(32, 128), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_IndexStmt_add_options( + pg_query_IndexStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {7, UPB_SIZE(32, 128), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_IndexStmt_set_where_clause(pg_query_IndexStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {8, UPB_SIZE(36, 136), 65, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_IndexStmt_mutable_where_clause( + pg_query_IndexStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_IndexStmt_where_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_IndexStmt_set_where_clause(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_IndexStmt_mutable_exclude_op_names(pg_query_IndexStmt* msg, + size_t* size) { + upb_MiniTableField field = {9, UPB_SIZE(40, 144), 0, UPB_SIZE(56, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_IndexStmt_resize_exclude_op_names(pg_query_IndexStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(40, 144), 0, UPB_SIZE(56, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_IndexStmt_add_exclude_op_names( + pg_query_IndexStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {9, UPB_SIZE(40, 144), 0, UPB_SIZE(56, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_IndexStmt_set_idxcomment(pg_query_IndexStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {10, UPB_SIZE(84, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_index_oid(pg_query_IndexStmt* msg, uint32_t value) { + const upb_MiniTableField field = {11, UPB_SIZE(44, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_old_number(pg_query_IndexStmt* msg, uint32_t value) { + const upb_MiniTableField field = {12, UPB_SIZE(48, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_old_create_subid(pg_query_IndexStmt* msg, uint32_t value) { + const upb_MiniTableField field = {13, UPB_SIZE(52, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_old_first_relfilelocator_subid(pg_query_IndexStmt* msg, uint32_t value) { + const upb_MiniTableField field = {14, UPB_SIZE(56, 32), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_unique(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {15, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_nulls_not_distinct(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {16, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_primary(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {17, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_isconstraint(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {18, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_iswithoutoverlaps(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {19, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_deferrable(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {20, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_initdeferred(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {21, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_transformed(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {22, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_concurrent(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {23, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_if_not_exists(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {24, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_IndexStmt_set_reset_default_tblspc(pg_query_IndexStmt* msg, bool value) { + const upb_MiniTableField field = {25, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateStatsStmt */ +UPB_INLINE pg_query_CreateStatsStmt* pg_query_CreateStatsStmt_new(upb_Arena* arena) { + return (pg_query_CreateStatsStmt*)_upb_Message_New(&pg_0query__CreateStatsStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateStatsStmt* pg_query_CreateStatsStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateStatsStmt* ret = pg_query_CreateStatsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateStatsStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateStatsStmt* pg_query_CreateStatsStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateStatsStmt* ret = pg_query_CreateStatsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateStatsStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateStatsStmt_serialize(const pg_query_CreateStatsStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateStatsStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateStatsStmt_serialize_ex(const pg_query_CreateStatsStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateStatsStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateStatsStmt_clear_defnames(pg_query_CreateStatsStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateStatsStmt_defnames(const pg_query_CreateStatsStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateStatsStmt_defnames_upb_array( + const pg_query_CreateStatsStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateStatsStmt_defnames_mutable_upb_array( + pg_query_CreateStatsStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateStatsStmt_clear_stat_types(pg_query_CreateStatsStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateStatsStmt_stat_types(const pg_query_CreateStatsStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateStatsStmt_stat_types_upb_array( + const pg_query_CreateStatsStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateStatsStmt_stat_types_mutable_upb_array( + pg_query_CreateStatsStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateStatsStmt_clear_exprs(pg_query_CreateStatsStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateStatsStmt_exprs(const pg_query_CreateStatsStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateStatsStmt_exprs_upb_array( + const pg_query_CreateStatsStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateStatsStmt_exprs_mutable_upb_array( + pg_query_CreateStatsStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateStatsStmt_clear_relations(pg_query_CreateStatsStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 56), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateStatsStmt_relations(const pg_query_CreateStatsStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 56), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateStatsStmt_relations_upb_array( + const pg_query_CreateStatsStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 56), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateStatsStmt_relations_mutable_upb_array( + pg_query_CreateStatsStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 56), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateStatsStmt_clear_stxcomment(pg_query_CreateStatsStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateStatsStmt_stxcomment(const pg_query_CreateStatsStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateStatsStmt_clear_transformed(pg_query_CreateStatsStmt* msg) { + const upb_MiniTableField field = {6, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateStatsStmt_transformed(const pg_query_CreateStatsStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateStatsStmt_clear_if_not_exists(pg_query_CreateStatsStmt* msg) { + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateStatsStmt_if_not_exists(const pg_query_CreateStatsStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_CreateStatsStmt_mutable_defnames(pg_query_CreateStatsStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateStatsStmt_resize_defnames(pg_query_CreateStatsStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateStatsStmt_add_defnames( + pg_query_CreateStatsStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateStatsStmt_mutable_stat_types(pg_query_CreateStatsStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateStatsStmt_resize_stat_types(pg_query_CreateStatsStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateStatsStmt_add_stat_types( + pg_query_CreateStatsStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateStatsStmt_mutable_exprs(pg_query_CreateStatsStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateStatsStmt_resize_exprs(pg_query_CreateStatsStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateStatsStmt_add_exprs( + pg_query_CreateStatsStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 48), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateStatsStmt_mutable_relations(pg_query_CreateStatsStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 56), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateStatsStmt_resize_relations(pg_query_CreateStatsStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 56), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateStatsStmt_add_relations( + pg_query_CreateStatsStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 56), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateStatsStmt_set_stxcomment(pg_query_CreateStatsStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateStatsStmt_set_transformed(pg_query_CreateStatsStmt* msg, bool value) { + const upb_MiniTableField field = {6, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateStatsStmt_set_if_not_exists(pg_query_CreateStatsStmt* msg, bool value) { + const upb_MiniTableField field = {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.StatsElem */ +UPB_INLINE pg_query_StatsElem* pg_query_StatsElem_new(upb_Arena* arena) { + return (pg_query_StatsElem*)_upb_Message_New(&pg_0query__StatsElem_msg_init, arena); +} +UPB_INLINE pg_query_StatsElem* pg_query_StatsElem_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_StatsElem* ret = pg_query_StatsElem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__StatsElem_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_StatsElem* pg_query_StatsElem_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_StatsElem* ret = pg_query_StatsElem_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__StatsElem_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_StatsElem_serialize(const pg_query_StatsElem* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__StatsElem_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_StatsElem_serialize_ex(const pg_query_StatsElem* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__StatsElem_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_StatsElem_clear_name(pg_query_StatsElem* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_StatsElem_name(const pg_query_StatsElem* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_StatsElem_clear_expr(pg_query_StatsElem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_StatsElem_expr(const pg_query_StatsElem* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_StatsElem_has_expr(const pg_query_StatsElem* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_StatsElem_set_name(pg_query_StatsElem* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_StatsElem_set_expr(pg_query_StatsElem* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_StatsElem_mutable_expr( + pg_query_StatsElem* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_StatsElem_expr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_StatsElem_set_expr(msg, sub); + } + return sub; +} + +/* pg_query.AlterStatsStmt */ +UPB_INLINE pg_query_AlterStatsStmt* pg_query_AlterStatsStmt_new(upb_Arena* arena) { + return (pg_query_AlterStatsStmt*)_upb_Message_New(&pg_0query__AlterStatsStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterStatsStmt* pg_query_AlterStatsStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterStatsStmt* ret = pg_query_AlterStatsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterStatsStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterStatsStmt* pg_query_AlterStatsStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterStatsStmt* ret = pg_query_AlterStatsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterStatsStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterStatsStmt_serialize(const pg_query_AlterStatsStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterStatsStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterStatsStmt_serialize_ex(const pg_query_AlterStatsStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterStatsStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterStatsStmt_clear_defnames(pg_query_AlterStatsStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterStatsStmt_defnames(const pg_query_AlterStatsStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterStatsStmt_defnames_upb_array( + const pg_query_AlterStatsStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterStatsStmt_defnames_mutable_upb_array( + pg_query_AlterStatsStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterStatsStmt_clear_stxstattarget(pg_query_AlterStatsStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_AlterStatsStmt_stxstattarget(const pg_query_AlterStatsStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterStatsStmt_has_stxstattarget(const pg_query_AlterStatsStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterStatsStmt_clear_missing_ok(pg_query_AlterStatsStmt* msg) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterStatsStmt_missing_ok(const pg_query_AlterStatsStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_AlterStatsStmt_mutable_defnames(pg_query_AlterStatsStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterStatsStmt_resize_defnames(pg_query_AlterStatsStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterStatsStmt_add_defnames( + pg_query_AlterStatsStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterStatsStmt_set_stxstattarget(pg_query_AlterStatsStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterStatsStmt_mutable_stxstattarget( + pg_query_AlterStatsStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_AlterStatsStmt_stxstattarget(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_AlterStatsStmt_set_stxstattarget(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterStatsStmt_set_missing_ok(pg_query_AlterStatsStmt* msg, bool value) { + const upb_MiniTableField field = {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateFunctionStmt */ +UPB_INLINE pg_query_CreateFunctionStmt* pg_query_CreateFunctionStmt_new(upb_Arena* arena) { + return (pg_query_CreateFunctionStmt*)_upb_Message_New(&pg_0query__CreateFunctionStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateFunctionStmt* pg_query_CreateFunctionStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateFunctionStmt* ret = pg_query_CreateFunctionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateFunctionStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateFunctionStmt* pg_query_CreateFunctionStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateFunctionStmt* ret = pg_query_CreateFunctionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateFunctionStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateFunctionStmt_serialize(const pg_query_CreateFunctionStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateFunctionStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateFunctionStmt_serialize_ex(const pg_query_CreateFunctionStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateFunctionStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateFunctionStmt_clear_is_procedure(pg_query_CreateFunctionStmt* msg) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateFunctionStmt_is_procedure(const pg_query_CreateFunctionStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateFunctionStmt_clear_replace(pg_query_CreateFunctionStmt* msg) { + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateFunctionStmt_replace(const pg_query_CreateFunctionStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateFunctionStmt_clear_funcname(pg_query_CreateFunctionStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateFunctionStmt_funcname(const pg_query_CreateFunctionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateFunctionStmt_funcname_upb_array( + const pg_query_CreateFunctionStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateFunctionStmt_funcname_mutable_upb_array( + pg_query_CreateFunctionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateFunctionStmt_clear_parameters(pg_query_CreateFunctionStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateFunctionStmt_parameters(const pg_query_CreateFunctionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateFunctionStmt_parameters_upb_array( + const pg_query_CreateFunctionStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateFunctionStmt_parameters_mutable_upb_array( + pg_query_CreateFunctionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateFunctionStmt_clear_return_type(pg_query_CreateFunctionStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 64, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_CreateFunctionStmt_return_type(const pg_query_CreateFunctionStmt* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 64, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateFunctionStmt_has_return_type(const pg_query_CreateFunctionStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 64, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateFunctionStmt_clear_options(pg_query_CreateFunctionStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateFunctionStmt_options(const pg_query_CreateFunctionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateFunctionStmt_options_upb_array( + const pg_query_CreateFunctionStmt* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateFunctionStmt_options_mutable_upb_array( + pg_query_CreateFunctionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateFunctionStmt_clear_sql_body(pg_query_CreateFunctionStmt* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 48), 65, UPB_SIZE(7, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CreateFunctionStmt_sql_body(const pg_query_CreateFunctionStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {7, UPB_SIZE(28, 48), 65, UPB_SIZE(7, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateFunctionStmt_has_sql_body(const pg_query_CreateFunctionStmt* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 48), 65, UPB_SIZE(7, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_CreateFunctionStmt_set_is_procedure(pg_query_CreateFunctionStmt* msg, bool value) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateFunctionStmt_set_replace(pg_query_CreateFunctionStmt* msg, bool value) { + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateFunctionStmt_mutable_funcname(pg_query_CreateFunctionStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateFunctionStmt_resize_funcname(pg_query_CreateFunctionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateFunctionStmt_add_funcname( + pg_query_CreateFunctionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateFunctionStmt_mutable_parameters(pg_query_CreateFunctionStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateFunctionStmt_resize_parameters(pg_query_CreateFunctionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateFunctionStmt_add_parameters( + pg_query_CreateFunctionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateFunctionStmt_set_return_type(pg_query_CreateFunctionStmt* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 32), 64, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_CreateFunctionStmt_mutable_return_type( + pg_query_CreateFunctionStmt* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_CreateFunctionStmt_return_type(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_CreateFunctionStmt_set_return_type(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateFunctionStmt_mutable_options(pg_query_CreateFunctionStmt* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateFunctionStmt_resize_options(pg_query_CreateFunctionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateFunctionStmt_add_options( + pg_query_CreateFunctionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateFunctionStmt_set_sql_body(pg_query_CreateFunctionStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 48), 65, UPB_SIZE(7, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateFunctionStmt_mutable_sql_body( + pg_query_CreateFunctionStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CreateFunctionStmt_sql_body(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CreateFunctionStmt_set_sql_body(msg, sub); + } + return sub; +} + +/* pg_query.FunctionParameter */ +UPB_INLINE pg_query_FunctionParameter* pg_query_FunctionParameter_new(upb_Arena* arena) { + return (pg_query_FunctionParameter*)_upb_Message_New(&pg_0query__FunctionParameter_msg_init, arena); +} +UPB_INLINE pg_query_FunctionParameter* pg_query_FunctionParameter_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_FunctionParameter* ret = pg_query_FunctionParameter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FunctionParameter_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_FunctionParameter* pg_query_FunctionParameter_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_FunctionParameter* ret = pg_query_FunctionParameter_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__FunctionParameter_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_FunctionParameter_serialize(const pg_query_FunctionParameter* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FunctionParameter_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_FunctionParameter_serialize_ex(const pg_query_FunctionParameter* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__FunctionParameter_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_FunctionParameter_clear_name(pg_query_FunctionParameter* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_FunctionParameter_name(const pg_query_FunctionParameter* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FunctionParameter_clear_arg_type(pg_query_FunctionParameter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_FunctionParameter_arg_type(const pg_query_FunctionParameter* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_FunctionParameter_has_arg_type(const pg_query_FunctionParameter* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_FunctionParameter_clear_mode(pg_query_FunctionParameter* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_FunctionParameter_mode(const pg_query_FunctionParameter* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_FunctionParameter_clear_defexpr(pg_query_FunctionParameter* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_FunctionParameter_defexpr(const pg_query_FunctionParameter* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_FunctionParameter_has_defexpr(const pg_query_FunctionParameter* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_FunctionParameter_clear_location(pg_query_FunctionParameter* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_FunctionParameter_location(const pg_query_FunctionParameter* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_FunctionParameter_set_name(pg_query_FunctionParameter* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FunctionParameter_set_arg_type(pg_query_FunctionParameter* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 40), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_FunctionParameter_mutable_arg_type( + pg_query_FunctionParameter* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_FunctionParameter_arg_type(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_FunctionParameter_set_arg_type(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_FunctionParameter_set_mode(pg_query_FunctionParameter* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_FunctionParameter_set_defexpr(pg_query_FunctionParameter* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_FunctionParameter_mutable_defexpr( + pg_query_FunctionParameter* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_FunctionParameter_defexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_FunctionParameter_set_defexpr(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_FunctionParameter_set_location(pg_query_FunctionParameter* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterFunctionStmt */ +UPB_INLINE pg_query_AlterFunctionStmt* pg_query_AlterFunctionStmt_new(upb_Arena* arena) { + return (pg_query_AlterFunctionStmt*)_upb_Message_New(&pg_0query__AlterFunctionStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterFunctionStmt* pg_query_AlterFunctionStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterFunctionStmt* ret = pg_query_AlterFunctionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterFunctionStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterFunctionStmt* pg_query_AlterFunctionStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterFunctionStmt* ret = pg_query_AlterFunctionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterFunctionStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterFunctionStmt_serialize(const pg_query_AlterFunctionStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterFunctionStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterFunctionStmt_serialize_ex(const pg_query_AlterFunctionStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterFunctionStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterFunctionStmt_clear_objtype(pg_query_AlterFunctionStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterFunctionStmt_objtype(const pg_query_AlterFunctionStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterFunctionStmt_clear_func(pg_query_AlterFunctionStmt* msg) { + const upb_MiniTableField field = {2, 16, 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ObjectWithArgs* pg_query_AlterFunctionStmt_func(const pg_query_AlterFunctionStmt* msg) { + const pg_query_ObjectWithArgs* default_val = NULL; + const pg_query_ObjectWithArgs* ret; + const upb_MiniTableField field = {2, 16, 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterFunctionStmt_has_func(const pg_query_AlterFunctionStmt* msg) { + const upb_MiniTableField field = {2, 16, 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterFunctionStmt_clear_actions(pg_query_AlterFunctionStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterFunctionStmt_actions(const pg_query_AlterFunctionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterFunctionStmt_actions_upb_array( + const pg_query_AlterFunctionStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterFunctionStmt_actions_mutable_upb_array( + pg_query_AlterFunctionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_AlterFunctionStmt_set_objtype(pg_query_AlterFunctionStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterFunctionStmt_set_func(pg_query_AlterFunctionStmt* msg, pg_query_ObjectWithArgs* value) { + const upb_MiniTableField field = {2, 16, 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ObjectWithArgs* pg_query_AlterFunctionStmt_mutable_func( + pg_query_AlterFunctionStmt* msg, upb_Arena* arena) { + struct pg_query_ObjectWithArgs* sub = (struct pg_query_ObjectWithArgs*)pg_query_AlterFunctionStmt_func(msg); + if (sub == NULL) { + sub = (struct pg_query_ObjectWithArgs*)_upb_Message_New(&pg_0query__ObjectWithArgs_msg_init, arena); + if (sub) pg_query_AlterFunctionStmt_set_func(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterFunctionStmt_mutable_actions(pg_query_AlterFunctionStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterFunctionStmt_resize_actions(pg_query_AlterFunctionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterFunctionStmt_add_actions( + pg_query_AlterFunctionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.DoStmt */ +UPB_INLINE pg_query_DoStmt* pg_query_DoStmt_new(upb_Arena* arena) { + return (pg_query_DoStmt*)_upb_Message_New(&pg_0query__DoStmt_msg_init, arena); +} +UPB_INLINE pg_query_DoStmt* pg_query_DoStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DoStmt* ret = pg_query_DoStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DoStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DoStmt* pg_query_DoStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DoStmt* ret = pg_query_DoStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DoStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DoStmt_serialize(const pg_query_DoStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DoStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DoStmt_serialize_ex(const pg_query_DoStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DoStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DoStmt_clear_args(pg_query_DoStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_DoStmt_args(const pg_query_DoStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_DoStmt_args_upb_array( + const pg_query_DoStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_DoStmt_args_mutable_upb_array( + pg_query_DoStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_DoStmt_mutable_args(pg_query_DoStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_DoStmt_resize_args(pg_query_DoStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_DoStmt_add_args( + pg_query_DoStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.InlineCodeBlock */ +UPB_INLINE pg_query_InlineCodeBlock* pg_query_InlineCodeBlock_new(upb_Arena* arena) { + return (pg_query_InlineCodeBlock*)_upb_Message_New(&pg_0query__InlineCodeBlock_msg_init, arena); +} +UPB_INLINE pg_query_InlineCodeBlock* pg_query_InlineCodeBlock_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_InlineCodeBlock* ret = pg_query_InlineCodeBlock_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__InlineCodeBlock_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_InlineCodeBlock* pg_query_InlineCodeBlock_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_InlineCodeBlock* ret = pg_query_InlineCodeBlock_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__InlineCodeBlock_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_InlineCodeBlock_serialize(const pg_query_InlineCodeBlock* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__InlineCodeBlock_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_InlineCodeBlock_serialize_ex(const pg_query_InlineCodeBlock* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__InlineCodeBlock_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_InlineCodeBlock_clear_source_text(pg_query_InlineCodeBlock* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_InlineCodeBlock_source_text(const pg_query_InlineCodeBlock* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_InlineCodeBlock_clear_lang_oid(pg_query_InlineCodeBlock* msg) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_InlineCodeBlock_lang_oid(const pg_query_InlineCodeBlock* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_InlineCodeBlock_clear_lang_is_trusted(pg_query_InlineCodeBlock* msg) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_InlineCodeBlock_lang_is_trusted(const pg_query_InlineCodeBlock* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_InlineCodeBlock_clear_atomic(pg_query_InlineCodeBlock* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_InlineCodeBlock_atomic(const pg_query_InlineCodeBlock* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_InlineCodeBlock_set_source_text(pg_query_InlineCodeBlock* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_InlineCodeBlock_set_lang_oid(pg_query_InlineCodeBlock* msg, uint32_t value) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_InlineCodeBlock_set_lang_is_trusted(pg_query_InlineCodeBlock* msg, bool value) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_InlineCodeBlock_set_atomic(pg_query_InlineCodeBlock* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CallStmt */ +UPB_INLINE pg_query_CallStmt* pg_query_CallStmt_new(upb_Arena* arena) { + return (pg_query_CallStmt*)_upb_Message_New(&pg_0query__CallStmt_msg_init, arena); +} +UPB_INLINE pg_query_CallStmt* pg_query_CallStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CallStmt* ret = pg_query_CallStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CallStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CallStmt* pg_query_CallStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CallStmt* ret = pg_query_CallStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CallStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CallStmt_serialize(const pg_query_CallStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CallStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CallStmt_serialize_ex(const pg_query_CallStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CallStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CallStmt_clear_funccall(pg_query_CallStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_FuncCall* pg_query_CallStmt_funccall(const pg_query_CallStmt* msg) { + const pg_query_FuncCall* default_val = NULL; + const pg_query_FuncCall* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FuncCall_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CallStmt_has_funccall(const pg_query_CallStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CallStmt_clear_funcexpr(pg_query_CallStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_FuncExpr* pg_query_CallStmt_funcexpr(const pg_query_CallStmt* msg) { + const pg_query_FuncExpr* default_val = NULL; + const pg_query_FuncExpr* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FuncExpr_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CallStmt_has_funcexpr(const pg_query_CallStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CallStmt_clear_outargs(pg_query_CallStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CallStmt_outargs(const pg_query_CallStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CallStmt_outargs_upb_array( + const pg_query_CallStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CallStmt_outargs_mutable_upb_array( + pg_query_CallStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CallStmt_set_funccall(pg_query_CallStmt* msg, pg_query_FuncCall* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FuncCall_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_FuncCall* pg_query_CallStmt_mutable_funccall( + pg_query_CallStmt* msg, upb_Arena* arena) { + struct pg_query_FuncCall* sub = (struct pg_query_FuncCall*)pg_query_CallStmt_funccall(msg); + if (sub == NULL) { + sub = (struct pg_query_FuncCall*)_upb_Message_New(&pg_0query__FuncCall_msg_init, arena); + if (sub) pg_query_CallStmt_set_funccall(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CallStmt_set_funcexpr(pg_query_CallStmt* msg, pg_query_FuncExpr* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__FuncExpr_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_FuncExpr* pg_query_CallStmt_mutable_funcexpr( + pg_query_CallStmt* msg, upb_Arena* arena) { + struct pg_query_FuncExpr* sub = (struct pg_query_FuncExpr*)pg_query_CallStmt_funcexpr(msg); + if (sub == NULL) { + sub = (struct pg_query_FuncExpr*)_upb_Message_New(&pg_0query__FuncExpr_msg_init, arena); + if (sub) pg_query_CallStmt_set_funcexpr(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CallStmt_mutable_outargs(pg_query_CallStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CallStmt_resize_outargs(pg_query_CallStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CallStmt_add_outargs( + pg_query_CallStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CallContext */ +UPB_INLINE pg_query_CallContext* pg_query_CallContext_new(upb_Arena* arena) { + return (pg_query_CallContext*)_upb_Message_New(&pg_0query__CallContext_msg_init, arena); +} +UPB_INLINE pg_query_CallContext* pg_query_CallContext_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CallContext* ret = pg_query_CallContext_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CallContext_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CallContext* pg_query_CallContext_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CallContext* ret = pg_query_CallContext_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CallContext_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CallContext_serialize(const pg_query_CallContext* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CallContext_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CallContext_serialize_ex(const pg_query_CallContext* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CallContext_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CallContext_clear_atomic(pg_query_CallContext* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CallContext_atomic(const pg_query_CallContext* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CallContext_set_atomic(pg_query_CallContext* msg, bool value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RenameStmt */ +UPB_INLINE pg_query_RenameStmt* pg_query_RenameStmt_new(upb_Arena* arena) { + return (pg_query_RenameStmt*)_upb_Message_New(&pg_0query__RenameStmt_msg_init, arena); +} +UPB_INLINE pg_query_RenameStmt* pg_query_RenameStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RenameStmt* ret = pg_query_RenameStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RenameStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RenameStmt* pg_query_RenameStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RenameStmt* ret = pg_query_RenameStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RenameStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RenameStmt_serialize(const pg_query_RenameStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RenameStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RenameStmt_serialize_ex(const pg_query_RenameStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RenameStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RenameStmt_clear_rename_type(pg_query_RenameStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RenameStmt_rename_type(const pg_query_RenameStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RenameStmt_clear_relation_type(pg_query_RenameStmt* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RenameStmt_relation_type(const pg_query_RenameStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RenameStmt_clear_relation(pg_query_RenameStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 56), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_RenameStmt_relation(const pg_query_RenameStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 56), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RenameStmt_has_relation(const pg_query_RenameStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 56), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RenameStmt_clear_object(pg_query_RenameStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 64), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RenameStmt_object(const pg_query_RenameStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 64), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RenameStmt_has_object(const pg_query_RenameStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 64), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RenameStmt_clear_subname(pg_query_RenameStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RenameStmt_subname(const pg_query_RenameStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {5, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RenameStmt_clear_newname(pg_query_RenameStmt* msg) { + const upb_MiniTableField field = {6, 40, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RenameStmt_newname(const pg_query_RenameStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {6, 40, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RenameStmt_clear_behavior(pg_query_RenameStmt* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RenameStmt_behavior(const pg_query_RenameStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {7, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RenameStmt_clear_missing_ok(pg_query_RenameStmt* msg) { + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RenameStmt_missing_ok(const pg_query_RenameStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RenameStmt_set_rename_type(pg_query_RenameStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RenameStmt_set_relation_type(pg_query_RenameStmt* msg, int32_t value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RenameStmt_set_relation(pg_query_RenameStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 56), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_RenameStmt_mutable_relation( + pg_query_RenameStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_RenameStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_RenameStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RenameStmt_set_object(pg_query_RenameStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 64), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RenameStmt_mutable_object( + pg_query_RenameStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RenameStmt_object(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RenameStmt_set_object(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RenameStmt_set_subname(pg_query_RenameStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {5, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RenameStmt_set_newname(pg_query_RenameStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {6, 40, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RenameStmt_set_behavior(pg_query_RenameStmt* msg, int32_t value) { + const upb_MiniTableField field = {7, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RenameStmt_set_missing_ok(pg_query_RenameStmt* msg, bool value) { + const upb_MiniTableField field = {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterObjectDependsStmt */ +UPB_INLINE pg_query_AlterObjectDependsStmt* pg_query_AlterObjectDependsStmt_new(upb_Arena* arena) { + return (pg_query_AlterObjectDependsStmt*)_upb_Message_New(&pg_0query__AlterObjectDependsStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterObjectDependsStmt* pg_query_AlterObjectDependsStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterObjectDependsStmt* ret = pg_query_AlterObjectDependsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterObjectDependsStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterObjectDependsStmt* pg_query_AlterObjectDependsStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterObjectDependsStmt* ret = pg_query_AlterObjectDependsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterObjectDependsStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterObjectDependsStmt_serialize(const pg_query_AlterObjectDependsStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterObjectDependsStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterObjectDependsStmt_serialize_ex(const pg_query_AlterObjectDependsStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterObjectDependsStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterObjectDependsStmt_clear_object_type(pg_query_AlterObjectDependsStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterObjectDependsStmt_object_type(const pg_query_AlterObjectDependsStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterObjectDependsStmt_clear_relation(pg_query_AlterObjectDependsStmt* msg) { + const upb_MiniTableField field = {2, 16, 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_AlterObjectDependsStmt_relation(const pg_query_AlterObjectDependsStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {2, 16, 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterObjectDependsStmt_has_relation(const pg_query_AlterObjectDependsStmt* msg) { + const upb_MiniTableField field = {2, 16, 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterObjectDependsStmt_clear_object(pg_query_AlterObjectDependsStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_AlterObjectDependsStmt_object(const pg_query_AlterObjectDependsStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterObjectDependsStmt_has_object(const pg_query_AlterObjectDependsStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterObjectDependsStmt_clear_extname(pg_query_AlterObjectDependsStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 66, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_String* pg_query_AlterObjectDependsStmt_extname(const pg_query_AlterObjectDependsStmt* msg) { + const pg_query_String* default_val = NULL; + const pg_query_String* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 66, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__String_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterObjectDependsStmt_has_extname(const pg_query_AlterObjectDependsStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 66, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterObjectDependsStmt_clear_remove(pg_query_AlterObjectDependsStmt* msg) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterObjectDependsStmt_remove(const pg_query_AlterObjectDependsStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterObjectDependsStmt_set_object_type(pg_query_AlterObjectDependsStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterObjectDependsStmt_set_relation(pg_query_AlterObjectDependsStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {2, 16, 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_AlterObjectDependsStmt_mutable_relation( + pg_query_AlterObjectDependsStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_AlterObjectDependsStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_AlterObjectDependsStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterObjectDependsStmt_set_object(pg_query_AlterObjectDependsStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterObjectDependsStmt_mutable_object( + pg_query_AlterObjectDependsStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_AlterObjectDependsStmt_object(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_AlterObjectDependsStmt_set_object(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterObjectDependsStmt_set_extname(pg_query_AlterObjectDependsStmt* msg, pg_query_String* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 66, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__String_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_String* pg_query_AlterObjectDependsStmt_mutable_extname( + pg_query_AlterObjectDependsStmt* msg, upb_Arena* arena) { + struct pg_query_String* sub = (struct pg_query_String*)pg_query_AlterObjectDependsStmt_extname(msg); + if (sub == NULL) { + sub = (struct pg_query_String*)_upb_Message_New(&pg_0query__String_msg_init, arena); + if (sub) pg_query_AlterObjectDependsStmt_set_extname(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterObjectDependsStmt_set_remove(pg_query_AlterObjectDependsStmt* msg, bool value) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterObjectSchemaStmt */ +UPB_INLINE pg_query_AlterObjectSchemaStmt* pg_query_AlterObjectSchemaStmt_new(upb_Arena* arena) { + return (pg_query_AlterObjectSchemaStmt*)_upb_Message_New(&pg_0query__AlterObjectSchemaStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterObjectSchemaStmt* pg_query_AlterObjectSchemaStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterObjectSchemaStmt* ret = pg_query_AlterObjectSchemaStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterObjectSchemaStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterObjectSchemaStmt* pg_query_AlterObjectSchemaStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterObjectSchemaStmt* ret = pg_query_AlterObjectSchemaStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterObjectSchemaStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterObjectSchemaStmt_serialize(const pg_query_AlterObjectSchemaStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterObjectSchemaStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterObjectSchemaStmt_serialize_ex(const pg_query_AlterObjectSchemaStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterObjectSchemaStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterObjectSchemaStmt_clear_object_type(pg_query_AlterObjectSchemaStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterObjectSchemaStmt_object_type(const pg_query_AlterObjectSchemaStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterObjectSchemaStmt_clear_relation(pg_query_AlterObjectSchemaStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_AlterObjectSchemaStmt_relation(const pg_query_AlterObjectSchemaStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterObjectSchemaStmt_has_relation(const pg_query_AlterObjectSchemaStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterObjectSchemaStmt_clear_object(pg_query_AlterObjectSchemaStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_AlterObjectSchemaStmt_object(const pg_query_AlterObjectSchemaStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterObjectSchemaStmt_has_object(const pg_query_AlterObjectSchemaStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterObjectSchemaStmt_clear_newschema(pg_query_AlterObjectSchemaStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterObjectSchemaStmt_newschema(const pg_query_AlterObjectSchemaStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterObjectSchemaStmt_clear_missing_ok(pg_query_AlterObjectSchemaStmt* msg) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterObjectSchemaStmt_missing_ok(const pg_query_AlterObjectSchemaStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterObjectSchemaStmt_set_object_type(pg_query_AlterObjectSchemaStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterObjectSchemaStmt_set_relation(pg_query_AlterObjectSchemaStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_AlterObjectSchemaStmt_mutable_relation( + pg_query_AlterObjectSchemaStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_AlterObjectSchemaStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_AlterObjectSchemaStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterObjectSchemaStmt_set_object(pg_query_AlterObjectSchemaStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterObjectSchemaStmt_mutable_object( + pg_query_AlterObjectSchemaStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_AlterObjectSchemaStmt_object(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_AlterObjectSchemaStmt_set_object(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterObjectSchemaStmt_set_newschema(pg_query_AlterObjectSchemaStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterObjectSchemaStmt_set_missing_ok(pg_query_AlterObjectSchemaStmt* msg, bool value) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterOwnerStmt */ +UPB_INLINE pg_query_AlterOwnerStmt* pg_query_AlterOwnerStmt_new(upb_Arena* arena) { + return (pg_query_AlterOwnerStmt*)_upb_Message_New(&pg_0query__AlterOwnerStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterOwnerStmt* pg_query_AlterOwnerStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterOwnerStmt* ret = pg_query_AlterOwnerStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterOwnerStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterOwnerStmt* pg_query_AlterOwnerStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterOwnerStmt* ret = pg_query_AlterOwnerStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterOwnerStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterOwnerStmt_serialize(const pg_query_AlterOwnerStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterOwnerStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterOwnerStmt_serialize_ex(const pg_query_AlterOwnerStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterOwnerStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterOwnerStmt_clear_object_type(pg_query_AlterOwnerStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterOwnerStmt_object_type(const pg_query_AlterOwnerStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterOwnerStmt_clear_relation(pg_query_AlterOwnerStmt* msg) { + const upb_MiniTableField field = {2, 16, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_AlterOwnerStmt_relation(const pg_query_AlterOwnerStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {2, 16, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterOwnerStmt_has_relation(const pg_query_AlterOwnerStmt* msg) { + const upb_MiniTableField field = {2, 16, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterOwnerStmt_clear_object(pg_query_AlterOwnerStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_AlterOwnerStmt_object(const pg_query_AlterOwnerStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterOwnerStmt_has_object(const pg_query_AlterOwnerStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterOwnerStmt_clear_newowner(pg_query_AlterOwnerStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 66, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_AlterOwnerStmt_newowner(const pg_query_AlterOwnerStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 66, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterOwnerStmt_has_newowner(const pg_query_AlterOwnerStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 66, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_AlterOwnerStmt_set_object_type(pg_query_AlterOwnerStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterOwnerStmt_set_relation(pg_query_AlterOwnerStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {2, 16, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_AlterOwnerStmt_mutable_relation( + pg_query_AlterOwnerStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_AlterOwnerStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_AlterOwnerStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterOwnerStmt_set_object(pg_query_AlterOwnerStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 65, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterOwnerStmt_mutable_object( + pg_query_AlterOwnerStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_AlterOwnerStmt_object(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_AlterOwnerStmt_set_object(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_AlterOwnerStmt_set_newowner(pg_query_AlterOwnerStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 66, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_AlterOwnerStmt_mutable_newowner( + pg_query_AlterOwnerStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_AlterOwnerStmt_newowner(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_AlterOwnerStmt_set_newowner(msg, sub); + } + return sub; +} + +/* pg_query.AlterOperatorStmt */ +UPB_INLINE pg_query_AlterOperatorStmt* pg_query_AlterOperatorStmt_new(upb_Arena* arena) { + return (pg_query_AlterOperatorStmt*)_upb_Message_New(&pg_0query__AlterOperatorStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterOperatorStmt* pg_query_AlterOperatorStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterOperatorStmt* ret = pg_query_AlterOperatorStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterOperatorStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterOperatorStmt* pg_query_AlterOperatorStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterOperatorStmt* ret = pg_query_AlterOperatorStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterOperatorStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterOperatorStmt_serialize(const pg_query_AlterOperatorStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterOperatorStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterOperatorStmt_serialize_ex(const pg_query_AlterOperatorStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterOperatorStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterOperatorStmt_clear_opername(pg_query_AlterOperatorStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ObjectWithArgs* pg_query_AlterOperatorStmt_opername(const pg_query_AlterOperatorStmt* msg) { + const pg_query_ObjectWithArgs* default_val = NULL; + const pg_query_ObjectWithArgs* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterOperatorStmt_has_opername(const pg_query_AlterOperatorStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_AlterOperatorStmt_clear_options(pg_query_AlterOperatorStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterOperatorStmt_options(const pg_query_AlterOperatorStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterOperatorStmt_options_upb_array( + const pg_query_AlterOperatorStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterOperatorStmt_options_mutable_upb_array( + pg_query_AlterOperatorStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_AlterOperatorStmt_set_opername(pg_query_AlterOperatorStmt* msg, pg_query_ObjectWithArgs* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ObjectWithArgs* pg_query_AlterOperatorStmt_mutable_opername( + pg_query_AlterOperatorStmt* msg, upb_Arena* arena) { + struct pg_query_ObjectWithArgs* sub = (struct pg_query_ObjectWithArgs*)pg_query_AlterOperatorStmt_opername(msg); + if (sub == NULL) { + sub = (struct pg_query_ObjectWithArgs*)_upb_Message_New(&pg_0query__ObjectWithArgs_msg_init, arena); + if (sub) pg_query_AlterOperatorStmt_set_opername(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterOperatorStmt_mutable_options(pg_query_AlterOperatorStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterOperatorStmt_resize_options(pg_query_AlterOperatorStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterOperatorStmt_add_options( + pg_query_AlterOperatorStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterTypeStmt */ +UPB_INLINE pg_query_AlterTypeStmt* pg_query_AlterTypeStmt_new(upb_Arena* arena) { + return (pg_query_AlterTypeStmt*)_upb_Message_New(&pg_0query__AlterTypeStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterTypeStmt* pg_query_AlterTypeStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterTypeStmt* ret = pg_query_AlterTypeStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTypeStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterTypeStmt* pg_query_AlterTypeStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterTypeStmt* ret = pg_query_AlterTypeStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTypeStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterTypeStmt_serialize(const pg_query_AlterTypeStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTypeStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterTypeStmt_serialize_ex(const pg_query_AlterTypeStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTypeStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterTypeStmt_clear_type_name(pg_query_AlterTypeStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterTypeStmt_type_name(const pg_query_AlterTypeStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterTypeStmt_type_name_upb_array( + const pg_query_AlterTypeStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterTypeStmt_type_name_mutable_upb_array( + pg_query_AlterTypeStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterTypeStmt_clear_options(pg_query_AlterTypeStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterTypeStmt_options(const pg_query_AlterTypeStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterTypeStmt_options_upb_array( + const pg_query_AlterTypeStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterTypeStmt_options_mutable_upb_array( + pg_query_AlterTypeStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_AlterTypeStmt_mutable_type_name(pg_query_AlterTypeStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterTypeStmt_resize_type_name(pg_query_AlterTypeStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTypeStmt_add_type_name( + pg_query_AlterTypeStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterTypeStmt_mutable_options(pg_query_AlterTypeStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterTypeStmt_resize_options(pg_query_AlterTypeStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTypeStmt_add_options( + pg_query_AlterTypeStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.RuleStmt */ +UPB_INLINE pg_query_RuleStmt* pg_query_RuleStmt_new(upb_Arena* arena) { + return (pg_query_RuleStmt*)_upb_Message_New(&pg_0query__RuleStmt_msg_init, arena); +} +UPB_INLINE pg_query_RuleStmt* pg_query_RuleStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RuleStmt* ret = pg_query_RuleStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RuleStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RuleStmt* pg_query_RuleStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RuleStmt* ret = pg_query_RuleStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RuleStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RuleStmt_serialize(const pg_query_RuleStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RuleStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RuleStmt_serialize_ex(const pg_query_RuleStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RuleStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RuleStmt_clear_relation(pg_query_RuleStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_RuleStmt_relation(const pg_query_RuleStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RuleStmt_has_relation(const pg_query_RuleStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RuleStmt_clear_rulename(pg_query_RuleStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_RuleStmt_rulename(const pg_query_RuleStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RuleStmt_clear_where_clause(pg_query_RuleStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_RuleStmt_where_clause(const pg_query_RuleStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RuleStmt_has_where_clause(const pg_query_RuleStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_RuleStmt_clear_event(pg_query_RuleStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_RuleStmt_event(const pg_query_RuleStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RuleStmt_clear_instead(pg_query_RuleStmt* msg) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RuleStmt_instead(const pg_query_RuleStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RuleStmt_clear_actions(pg_query_RuleStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_RuleStmt_actions(const pg_query_RuleStmt* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_RuleStmt_actions_upb_array( + const pg_query_RuleStmt* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_RuleStmt_actions_mutable_upb_array( + pg_query_RuleStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_RuleStmt_clear_replace(pg_query_RuleStmt* msg) { + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RuleStmt_replace(const pg_query_RuleStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_RuleStmt_set_relation(pg_query_RuleStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_RuleStmt_mutable_relation( + pg_query_RuleStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_RuleStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_RuleStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RuleStmt_set_rulename(pg_query_RuleStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RuleStmt_set_where_clause(pg_query_RuleStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_RuleStmt_mutable_where_clause( + pg_query_RuleStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_RuleStmt_where_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_RuleStmt_set_where_clause(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_RuleStmt_set_event(pg_query_RuleStmt* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RuleStmt_set_instead(pg_query_RuleStmt* msg, bool value) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_RuleStmt_mutable_actions(pg_query_RuleStmt* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_RuleStmt_resize_actions(pg_query_RuleStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_RuleStmt_add_actions( + pg_query_RuleStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(24, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_RuleStmt_set_replace(pg_query_RuleStmt* msg, bool value) { + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.NotifyStmt */ +UPB_INLINE pg_query_NotifyStmt* pg_query_NotifyStmt_new(upb_Arena* arena) { + return (pg_query_NotifyStmt*)_upb_Message_New(&pg_0query__NotifyStmt_msg_init, arena); +} +UPB_INLINE pg_query_NotifyStmt* pg_query_NotifyStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_NotifyStmt* ret = pg_query_NotifyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__NotifyStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_NotifyStmt* pg_query_NotifyStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_NotifyStmt* ret = pg_query_NotifyStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__NotifyStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_NotifyStmt_serialize(const pg_query_NotifyStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__NotifyStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_NotifyStmt_serialize_ex(const pg_query_NotifyStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__NotifyStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_NotifyStmt_clear_conditionname(pg_query_NotifyStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_NotifyStmt_conditionname(const pg_query_NotifyStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NotifyStmt_clear_payload(pg_query_NotifyStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_NotifyStmt_payload(const pg_query_NotifyStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_NotifyStmt_clear_payload_location(pg_query_NotifyStmt* msg) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_NotifyStmt_payload_location(const pg_query_NotifyStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_NotifyStmt_set_conditionname(pg_query_NotifyStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NotifyStmt_set_payload(pg_query_NotifyStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_NotifyStmt_set_payload_location(pg_query_NotifyStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ListenStmt */ +UPB_INLINE pg_query_ListenStmt* pg_query_ListenStmt_new(upb_Arena* arena) { + return (pg_query_ListenStmt*)_upb_Message_New(&pg_0query__ListenStmt_msg_init, arena); +} +UPB_INLINE pg_query_ListenStmt* pg_query_ListenStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ListenStmt* ret = pg_query_ListenStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ListenStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ListenStmt* pg_query_ListenStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ListenStmt* ret = pg_query_ListenStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ListenStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ListenStmt_serialize(const pg_query_ListenStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ListenStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ListenStmt_serialize_ex(const pg_query_ListenStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ListenStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ListenStmt_clear_conditionname(pg_query_ListenStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ListenStmt_conditionname(const pg_query_ListenStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ListenStmt_set_conditionname(pg_query_ListenStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.UnlistenStmt */ +UPB_INLINE pg_query_UnlistenStmt* pg_query_UnlistenStmt_new(upb_Arena* arena) { + return (pg_query_UnlistenStmt*)_upb_Message_New(&pg_0query__UnlistenStmt_msg_init, arena); +} +UPB_INLINE pg_query_UnlistenStmt* pg_query_UnlistenStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_UnlistenStmt* ret = pg_query_UnlistenStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__UnlistenStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_UnlistenStmt* pg_query_UnlistenStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_UnlistenStmt* ret = pg_query_UnlistenStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__UnlistenStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_UnlistenStmt_serialize(const pg_query_UnlistenStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__UnlistenStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_UnlistenStmt_serialize_ex(const pg_query_UnlistenStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__UnlistenStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_UnlistenStmt_clear_conditionname(pg_query_UnlistenStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_UnlistenStmt_conditionname(const pg_query_UnlistenStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_UnlistenStmt_set_conditionname(pg_query_UnlistenStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.TransactionStmt */ +UPB_INLINE pg_query_TransactionStmt* pg_query_TransactionStmt_new(upb_Arena* arena) { + return (pg_query_TransactionStmt*)_upb_Message_New(&pg_0query__TransactionStmt_msg_init, arena); +} +UPB_INLINE pg_query_TransactionStmt* pg_query_TransactionStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_TransactionStmt* ret = pg_query_TransactionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TransactionStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_TransactionStmt* pg_query_TransactionStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_TransactionStmt* ret = pg_query_TransactionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__TransactionStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_TransactionStmt_serialize(const pg_query_TransactionStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TransactionStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_TransactionStmt_serialize_ex(const pg_query_TransactionStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__TransactionStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_TransactionStmt_clear_kind(pg_query_TransactionStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TransactionStmt_kind(const pg_query_TransactionStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TransactionStmt_clear_options(pg_query_TransactionStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_TransactionStmt_options(const pg_query_TransactionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_TransactionStmt_options_upb_array( + const pg_query_TransactionStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_TransactionStmt_options_mutable_upb_array( + pg_query_TransactionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_TransactionStmt_clear_savepoint_name(pg_query_TransactionStmt* msg) { + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_TransactionStmt_savepoint_name(const pg_query_TransactionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TransactionStmt_clear_gid(pg_query_TransactionStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_TransactionStmt_gid(const pg_query_TransactionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TransactionStmt_clear_chain(pg_query_TransactionStmt* msg) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_TransactionStmt_chain(const pg_query_TransactionStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_TransactionStmt_clear_location(pg_query_TransactionStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_TransactionStmt_location(const pg_query_TransactionStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_TransactionStmt_set_kind(pg_query_TransactionStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_TransactionStmt_mutable_options(pg_query_TransactionStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_TransactionStmt_resize_options(pg_query_TransactionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_TransactionStmt_add_options( + pg_query_TransactionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_TransactionStmt_set_savepoint_name(pg_query_TransactionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TransactionStmt_set_gid(pg_query_TransactionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TransactionStmt_set_chain(pg_query_TransactionStmt* msg, bool value) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_TransactionStmt_set_location(pg_query_TransactionStmt* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CompositeTypeStmt */ +UPB_INLINE pg_query_CompositeTypeStmt* pg_query_CompositeTypeStmt_new(upb_Arena* arena) { + return (pg_query_CompositeTypeStmt*)_upb_Message_New(&pg_0query__CompositeTypeStmt_msg_init, arena); +} +UPB_INLINE pg_query_CompositeTypeStmt* pg_query_CompositeTypeStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CompositeTypeStmt* ret = pg_query_CompositeTypeStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CompositeTypeStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CompositeTypeStmt* pg_query_CompositeTypeStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CompositeTypeStmt* ret = pg_query_CompositeTypeStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CompositeTypeStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CompositeTypeStmt_serialize(const pg_query_CompositeTypeStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CompositeTypeStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CompositeTypeStmt_serialize_ex(const pg_query_CompositeTypeStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CompositeTypeStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CompositeTypeStmt_clear_typevar(pg_query_CompositeTypeStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_CompositeTypeStmt_typevar(const pg_query_CompositeTypeStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CompositeTypeStmt_has_typevar(const pg_query_CompositeTypeStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CompositeTypeStmt_clear_coldeflist(pg_query_CompositeTypeStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CompositeTypeStmt_coldeflist(const pg_query_CompositeTypeStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CompositeTypeStmt_coldeflist_upb_array( + const pg_query_CompositeTypeStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CompositeTypeStmt_coldeflist_mutable_upb_array( + pg_query_CompositeTypeStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CompositeTypeStmt_set_typevar(pg_query_CompositeTypeStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_CompositeTypeStmt_mutable_typevar( + pg_query_CompositeTypeStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_CompositeTypeStmt_typevar(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_CompositeTypeStmt_set_typevar(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CompositeTypeStmt_mutable_coldeflist(pg_query_CompositeTypeStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CompositeTypeStmt_resize_coldeflist(pg_query_CompositeTypeStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CompositeTypeStmt_add_coldeflist( + pg_query_CompositeTypeStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CreateEnumStmt */ +UPB_INLINE pg_query_CreateEnumStmt* pg_query_CreateEnumStmt_new(upb_Arena* arena) { + return (pg_query_CreateEnumStmt*)_upb_Message_New(&pg_0query__CreateEnumStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateEnumStmt* pg_query_CreateEnumStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateEnumStmt* ret = pg_query_CreateEnumStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateEnumStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateEnumStmt* pg_query_CreateEnumStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateEnumStmt* ret = pg_query_CreateEnumStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateEnumStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateEnumStmt_serialize(const pg_query_CreateEnumStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateEnumStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateEnumStmt_serialize_ex(const pg_query_CreateEnumStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateEnumStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateEnumStmt_clear_type_name(pg_query_CreateEnumStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateEnumStmt_type_name(const pg_query_CreateEnumStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateEnumStmt_type_name_upb_array( + const pg_query_CreateEnumStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateEnumStmt_type_name_mutable_upb_array( + pg_query_CreateEnumStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateEnumStmt_clear_vals(pg_query_CreateEnumStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateEnumStmt_vals(const pg_query_CreateEnumStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateEnumStmt_vals_upb_array( + const pg_query_CreateEnumStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateEnumStmt_vals_mutable_upb_array( + pg_query_CreateEnumStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_CreateEnumStmt_mutable_type_name(pg_query_CreateEnumStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateEnumStmt_resize_type_name(pg_query_CreateEnumStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateEnumStmt_add_type_name( + pg_query_CreateEnumStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateEnumStmt_mutable_vals(pg_query_CreateEnumStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateEnumStmt_resize_vals(pg_query_CreateEnumStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateEnumStmt_add_vals( + pg_query_CreateEnumStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CreateRangeStmt */ +UPB_INLINE pg_query_CreateRangeStmt* pg_query_CreateRangeStmt_new(upb_Arena* arena) { + return (pg_query_CreateRangeStmt*)_upb_Message_New(&pg_0query__CreateRangeStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateRangeStmt* pg_query_CreateRangeStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateRangeStmt* ret = pg_query_CreateRangeStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateRangeStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateRangeStmt* pg_query_CreateRangeStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateRangeStmt* ret = pg_query_CreateRangeStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateRangeStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateRangeStmt_serialize(const pg_query_CreateRangeStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateRangeStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateRangeStmt_serialize_ex(const pg_query_CreateRangeStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateRangeStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateRangeStmt_clear_type_name(pg_query_CreateRangeStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateRangeStmt_type_name(const pg_query_CreateRangeStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateRangeStmt_type_name_upb_array( + const pg_query_CreateRangeStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateRangeStmt_type_name_mutable_upb_array( + pg_query_CreateRangeStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateRangeStmt_clear_params(pg_query_CreateRangeStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateRangeStmt_params(const pg_query_CreateRangeStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateRangeStmt_params_upb_array( + const pg_query_CreateRangeStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateRangeStmt_params_mutable_upb_array( + pg_query_CreateRangeStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_CreateRangeStmt_mutable_type_name(pg_query_CreateRangeStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateRangeStmt_resize_type_name(pg_query_CreateRangeStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateRangeStmt_add_type_name( + pg_query_CreateRangeStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateRangeStmt_mutable_params(pg_query_CreateRangeStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateRangeStmt_resize_params(pg_query_CreateRangeStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateRangeStmt_add_params( + pg_query_CreateRangeStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterEnumStmt */ +UPB_INLINE pg_query_AlterEnumStmt* pg_query_AlterEnumStmt_new(upb_Arena* arena) { + return (pg_query_AlterEnumStmt*)_upb_Message_New(&pg_0query__AlterEnumStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterEnumStmt* pg_query_AlterEnumStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterEnumStmt* ret = pg_query_AlterEnumStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterEnumStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterEnumStmt* pg_query_AlterEnumStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterEnumStmt* ret = pg_query_AlterEnumStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterEnumStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterEnumStmt_serialize(const pg_query_AlterEnumStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterEnumStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterEnumStmt_serialize_ex(const pg_query_AlterEnumStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterEnumStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterEnumStmt_clear_type_name(pg_query_AlterEnumStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterEnumStmt_type_name(const pg_query_AlterEnumStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterEnumStmt_type_name_upb_array( + const pg_query_AlterEnumStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterEnumStmt_type_name_mutable_upb_array( + pg_query_AlterEnumStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterEnumStmt_clear_old_val(pg_query_AlterEnumStmt* msg) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterEnumStmt_old_val(const pg_query_AlterEnumStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterEnumStmt_clear_new_val(pg_query_AlterEnumStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterEnumStmt_new_val(const pg_query_AlterEnumStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterEnumStmt_clear_new_val_neighbor(pg_query_AlterEnumStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterEnumStmt_new_val_neighbor(const pg_query_AlterEnumStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {4, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterEnumStmt_clear_new_val_is_after(pg_query_AlterEnumStmt* msg) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterEnumStmt_new_val_is_after(const pg_query_AlterEnumStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterEnumStmt_clear_skip_if_new_val_exists(pg_query_AlterEnumStmt* msg) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterEnumStmt_skip_if_new_val_exists(const pg_query_AlterEnumStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_AlterEnumStmt_mutable_type_name(pg_query_AlterEnumStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterEnumStmt_resize_type_name(pg_query_AlterEnumStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterEnumStmt_add_type_name( + pg_query_AlterEnumStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 64), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterEnumStmt_set_old_val(pg_query_AlterEnumStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterEnumStmt_set_new_val(pg_query_AlterEnumStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterEnumStmt_set_new_val_neighbor(pg_query_AlterEnumStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {4, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterEnumStmt_set_new_val_is_after(pg_query_AlterEnumStmt* msg, bool value) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterEnumStmt_set_skip_if_new_val_exists(pg_query_AlterEnumStmt* msg, bool value) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ViewStmt */ +UPB_INLINE pg_query_ViewStmt* pg_query_ViewStmt_new(upb_Arena* arena) { + return (pg_query_ViewStmt*)_upb_Message_New(&pg_0query__ViewStmt_msg_init, arena); +} +UPB_INLINE pg_query_ViewStmt* pg_query_ViewStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ViewStmt* ret = pg_query_ViewStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ViewStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ViewStmt* pg_query_ViewStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ViewStmt* ret = pg_query_ViewStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ViewStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ViewStmt_serialize(const pg_query_ViewStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ViewStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ViewStmt_serialize_ex(const pg_query_ViewStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ViewStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ViewStmt_clear_view(pg_query_ViewStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_ViewStmt_view(const pg_query_ViewStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ViewStmt_has_view(const pg_query_ViewStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ViewStmt_clear_aliases(pg_query_ViewStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ViewStmt_aliases(const pg_query_ViewStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ViewStmt_aliases_upb_array( + const pg_query_ViewStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ViewStmt_aliases_mutable_upb_array( + pg_query_ViewStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ViewStmt_clear_query(pg_query_ViewStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ViewStmt_query(const pg_query_ViewStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ViewStmt_has_query(const pg_query_ViewStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ViewStmt_clear_replace(pg_query_ViewStmt* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ViewStmt_replace(const pg_query_ViewStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ViewStmt_clear_options(pg_query_ViewStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ViewStmt_options(const pg_query_ViewStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ViewStmt_options_upb_array( + const pg_query_ViewStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ViewStmt_options_mutable_upb_array( + pg_query_ViewStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ViewStmt_clear_with_check_option(pg_query_ViewStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ViewStmt_with_check_option(const pg_query_ViewStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ViewStmt_set_view(pg_query_ViewStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_ViewStmt_mutable_view( + pg_query_ViewStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_ViewStmt_view(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_ViewStmt_set_view(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_ViewStmt_mutable_aliases(pg_query_ViewStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ViewStmt_resize_aliases(pg_query_ViewStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ViewStmt_add_aliases( + pg_query_ViewStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_ViewStmt_set_query(pg_query_ViewStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ViewStmt_mutable_query( + pg_query_ViewStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ViewStmt_query(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ViewStmt_set_query(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ViewStmt_set_replace(pg_query_ViewStmt* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_ViewStmt_mutable_options(pg_query_ViewStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ViewStmt_resize_options(pg_query_ViewStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ViewStmt_add_options( + pg_query_ViewStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_ViewStmt_set_with_check_option(pg_query_ViewStmt* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.LoadStmt */ +UPB_INLINE pg_query_LoadStmt* pg_query_LoadStmt_new(upb_Arena* arena) { + return (pg_query_LoadStmt*)_upb_Message_New(&pg_0query__LoadStmt_msg_init, arena); +} +UPB_INLINE pg_query_LoadStmt* pg_query_LoadStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_LoadStmt* ret = pg_query_LoadStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__LoadStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_LoadStmt* pg_query_LoadStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_LoadStmt* ret = pg_query_LoadStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__LoadStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_LoadStmt_serialize(const pg_query_LoadStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__LoadStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_LoadStmt_serialize_ex(const pg_query_LoadStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__LoadStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_LoadStmt_clear_filename(pg_query_LoadStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_LoadStmt_filename(const pg_query_LoadStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_LoadStmt_set_filename(pg_query_LoadStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreatedbStmt */ +UPB_INLINE pg_query_CreatedbStmt* pg_query_CreatedbStmt_new(upb_Arena* arena) { + return (pg_query_CreatedbStmt*)_upb_Message_New(&pg_0query__CreatedbStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreatedbStmt* pg_query_CreatedbStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreatedbStmt* ret = pg_query_CreatedbStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreatedbStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreatedbStmt* pg_query_CreatedbStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreatedbStmt* ret = pg_query_CreatedbStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreatedbStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreatedbStmt_serialize(const pg_query_CreatedbStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreatedbStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreatedbStmt_serialize_ex(const pg_query_CreatedbStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreatedbStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreatedbStmt_clear_dbname(pg_query_CreatedbStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreatedbStmt_dbname(const pg_query_CreatedbStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreatedbStmt_clear_options(pg_query_CreatedbStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreatedbStmt_options(const pg_query_CreatedbStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreatedbStmt_options_upb_array( + const pg_query_CreatedbStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreatedbStmt_options_mutable_upb_array( + pg_query_CreatedbStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_CreatedbStmt_set_dbname(pg_query_CreatedbStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreatedbStmt_mutable_options(pg_query_CreatedbStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreatedbStmt_resize_options(pg_query_CreatedbStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreatedbStmt_add_options( + pg_query_CreatedbStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterDatabaseStmt */ +UPB_INLINE pg_query_AlterDatabaseStmt* pg_query_AlterDatabaseStmt_new(upb_Arena* arena) { + return (pg_query_AlterDatabaseStmt*)_upb_Message_New(&pg_0query__AlterDatabaseStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterDatabaseStmt* pg_query_AlterDatabaseStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterDatabaseStmt* ret = pg_query_AlterDatabaseStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterDatabaseStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterDatabaseStmt* pg_query_AlterDatabaseStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterDatabaseStmt* ret = pg_query_AlterDatabaseStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterDatabaseStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterDatabaseStmt_serialize(const pg_query_AlterDatabaseStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterDatabaseStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterDatabaseStmt_serialize_ex(const pg_query_AlterDatabaseStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterDatabaseStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterDatabaseStmt_clear_dbname(pg_query_AlterDatabaseStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterDatabaseStmt_dbname(const pg_query_AlterDatabaseStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterDatabaseStmt_clear_options(pg_query_AlterDatabaseStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterDatabaseStmt_options(const pg_query_AlterDatabaseStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterDatabaseStmt_options_upb_array( + const pg_query_AlterDatabaseStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterDatabaseStmt_options_mutable_upb_array( + pg_query_AlterDatabaseStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_AlterDatabaseStmt_set_dbname(pg_query_AlterDatabaseStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterDatabaseStmt_mutable_options(pg_query_AlterDatabaseStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterDatabaseStmt_resize_options(pg_query_AlterDatabaseStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterDatabaseStmt_add_options( + pg_query_AlterDatabaseStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterDatabaseRefreshCollStmt */ +UPB_INLINE pg_query_AlterDatabaseRefreshCollStmt* pg_query_AlterDatabaseRefreshCollStmt_new(upb_Arena* arena) { + return (pg_query_AlterDatabaseRefreshCollStmt*)_upb_Message_New(&pg_0query__AlterDatabaseRefreshCollStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterDatabaseRefreshCollStmt* pg_query_AlterDatabaseRefreshCollStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterDatabaseRefreshCollStmt* ret = pg_query_AlterDatabaseRefreshCollStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterDatabaseRefreshCollStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterDatabaseRefreshCollStmt* pg_query_AlterDatabaseRefreshCollStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterDatabaseRefreshCollStmt* ret = pg_query_AlterDatabaseRefreshCollStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterDatabaseRefreshCollStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterDatabaseRefreshCollStmt_serialize(const pg_query_AlterDatabaseRefreshCollStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterDatabaseRefreshCollStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterDatabaseRefreshCollStmt_serialize_ex(const pg_query_AlterDatabaseRefreshCollStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterDatabaseRefreshCollStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterDatabaseRefreshCollStmt_clear_dbname(pg_query_AlterDatabaseRefreshCollStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterDatabaseRefreshCollStmt_dbname(const pg_query_AlterDatabaseRefreshCollStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterDatabaseRefreshCollStmt_set_dbname(pg_query_AlterDatabaseRefreshCollStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterDatabaseSetStmt */ +UPB_INLINE pg_query_AlterDatabaseSetStmt* pg_query_AlterDatabaseSetStmt_new(upb_Arena* arena) { + return (pg_query_AlterDatabaseSetStmt*)_upb_Message_New(&pg_0query__AlterDatabaseSetStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterDatabaseSetStmt* pg_query_AlterDatabaseSetStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterDatabaseSetStmt* ret = pg_query_AlterDatabaseSetStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterDatabaseSetStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterDatabaseSetStmt* pg_query_AlterDatabaseSetStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterDatabaseSetStmt* ret = pg_query_AlterDatabaseSetStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterDatabaseSetStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterDatabaseSetStmt_serialize(const pg_query_AlterDatabaseSetStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterDatabaseSetStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterDatabaseSetStmt_serialize_ex(const pg_query_AlterDatabaseSetStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterDatabaseSetStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterDatabaseSetStmt_clear_dbname(pg_query_AlterDatabaseSetStmt* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterDatabaseSetStmt_dbname(const pg_query_AlterDatabaseSetStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterDatabaseSetStmt_clear_setstmt(pg_query_AlterDatabaseSetStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_VariableSetStmt* pg_query_AlterDatabaseSetStmt_setstmt(const pg_query_AlterDatabaseSetStmt* msg) { + const pg_query_VariableSetStmt* default_val = NULL; + const pg_query_VariableSetStmt* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VariableSetStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterDatabaseSetStmt_has_setstmt(const pg_query_AlterDatabaseSetStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_AlterDatabaseSetStmt_set_dbname(pg_query_AlterDatabaseSetStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterDatabaseSetStmt_set_setstmt(pg_query_AlterDatabaseSetStmt* msg, pg_query_VariableSetStmt* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VariableSetStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_VariableSetStmt* pg_query_AlterDatabaseSetStmt_mutable_setstmt( + pg_query_AlterDatabaseSetStmt* msg, upb_Arena* arena) { + struct pg_query_VariableSetStmt* sub = (struct pg_query_VariableSetStmt*)pg_query_AlterDatabaseSetStmt_setstmt(msg); + if (sub == NULL) { + sub = (struct pg_query_VariableSetStmt*)_upb_Message_New(&pg_0query__VariableSetStmt_msg_init, arena); + if (sub) pg_query_AlterDatabaseSetStmt_set_setstmt(msg, sub); + } + return sub; +} + +/* pg_query.DropdbStmt */ +UPB_INLINE pg_query_DropdbStmt* pg_query_DropdbStmt_new(upb_Arena* arena) { + return (pg_query_DropdbStmt*)_upb_Message_New(&pg_0query__DropdbStmt_msg_init, arena); +} +UPB_INLINE pg_query_DropdbStmt* pg_query_DropdbStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DropdbStmt* ret = pg_query_DropdbStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropdbStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DropdbStmt* pg_query_DropdbStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DropdbStmt* ret = pg_query_DropdbStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropdbStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DropdbStmt_serialize(const pg_query_DropdbStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropdbStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DropdbStmt_serialize_ex(const pg_query_DropdbStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropdbStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DropdbStmt_clear_dbname(pg_query_DropdbStmt* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_DropdbStmt_dbname(const pg_query_DropdbStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DropdbStmt_clear_missing_ok(pg_query_DropdbStmt* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DropdbStmt_missing_ok(const pg_query_DropdbStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DropdbStmt_clear_options(pg_query_DropdbStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_DropdbStmt_options(const pg_query_DropdbStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_DropdbStmt_options_upb_array( + const pg_query_DropdbStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_DropdbStmt_options_mutable_upb_array( + pg_query_DropdbStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_DropdbStmt_set_dbname(pg_query_DropdbStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DropdbStmt_set_missing_ok(pg_query_DropdbStmt* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_DropdbStmt_mutable_options(pg_query_DropdbStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_DropdbStmt_resize_options(pg_query_DropdbStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_DropdbStmt_add_options( + pg_query_DropdbStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterSystemStmt */ +UPB_INLINE pg_query_AlterSystemStmt* pg_query_AlterSystemStmt_new(upb_Arena* arena) { + return (pg_query_AlterSystemStmt*)_upb_Message_New(&pg_0query__AlterSystemStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterSystemStmt* pg_query_AlterSystemStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterSystemStmt* ret = pg_query_AlterSystemStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterSystemStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterSystemStmt* pg_query_AlterSystemStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterSystemStmt* ret = pg_query_AlterSystemStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterSystemStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterSystemStmt_serialize(const pg_query_AlterSystemStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterSystemStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterSystemStmt_serialize_ex(const pg_query_AlterSystemStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterSystemStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterSystemStmt_clear_setstmt(pg_query_AlterSystemStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_VariableSetStmt* pg_query_AlterSystemStmt_setstmt(const pg_query_AlterSystemStmt* msg) { + const pg_query_VariableSetStmt* default_val = NULL; + const pg_query_VariableSetStmt* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VariableSetStmt_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_AlterSystemStmt_has_setstmt(const pg_query_AlterSystemStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_AlterSystemStmt_set_setstmt(pg_query_AlterSystemStmt* msg, pg_query_VariableSetStmt* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__VariableSetStmt_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_VariableSetStmt* pg_query_AlterSystemStmt_mutable_setstmt( + pg_query_AlterSystemStmt* msg, upb_Arena* arena) { + struct pg_query_VariableSetStmt* sub = (struct pg_query_VariableSetStmt*)pg_query_AlterSystemStmt_setstmt(msg); + if (sub == NULL) { + sub = (struct pg_query_VariableSetStmt*)_upb_Message_New(&pg_0query__VariableSetStmt_msg_init, arena); + if (sub) pg_query_AlterSystemStmt_set_setstmt(msg, sub); + } + return sub; +} + +/* pg_query.ClusterStmt */ +UPB_INLINE pg_query_ClusterStmt* pg_query_ClusterStmt_new(upb_Arena* arena) { + return (pg_query_ClusterStmt*)_upb_Message_New(&pg_0query__ClusterStmt_msg_init, arena); +} +UPB_INLINE pg_query_ClusterStmt* pg_query_ClusterStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ClusterStmt* ret = pg_query_ClusterStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ClusterStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ClusterStmt* pg_query_ClusterStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ClusterStmt* ret = pg_query_ClusterStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ClusterStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ClusterStmt_serialize(const pg_query_ClusterStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ClusterStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ClusterStmt_serialize_ex(const pg_query_ClusterStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ClusterStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ClusterStmt_clear_relation(pg_query_ClusterStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_ClusterStmt_relation(const pg_query_ClusterStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ClusterStmt_has_relation(const pg_query_ClusterStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ClusterStmt_clear_indexname(pg_query_ClusterStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ClusterStmt_indexname(const pg_query_ClusterStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ClusterStmt_clear_params(pg_query_ClusterStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ClusterStmt_params(const pg_query_ClusterStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ClusterStmt_params_upb_array( + const pg_query_ClusterStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ClusterStmt_params_mutable_upb_array( + pg_query_ClusterStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_ClusterStmt_set_relation(pg_query_ClusterStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_ClusterStmt_mutable_relation( + pg_query_ClusterStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_ClusterStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_ClusterStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ClusterStmt_set_indexname(pg_query_ClusterStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_ClusterStmt_mutable_params(pg_query_ClusterStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ClusterStmt_resize_params(pg_query_ClusterStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ClusterStmt_add_params( + pg_query_ClusterStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.VacuumStmt */ +UPB_INLINE pg_query_VacuumStmt* pg_query_VacuumStmt_new(upb_Arena* arena) { + return (pg_query_VacuumStmt*)_upb_Message_New(&pg_0query__VacuumStmt_msg_init, arena); +} +UPB_INLINE pg_query_VacuumStmt* pg_query_VacuumStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_VacuumStmt* ret = pg_query_VacuumStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__VacuumStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_VacuumStmt* pg_query_VacuumStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_VacuumStmt* ret = pg_query_VacuumStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__VacuumStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_VacuumStmt_serialize(const pg_query_VacuumStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__VacuumStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_VacuumStmt_serialize_ex(const pg_query_VacuumStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__VacuumStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_VacuumStmt_clear_options(pg_query_VacuumStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_VacuumStmt_options(const pg_query_VacuumStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_VacuumStmt_options_upb_array( + const pg_query_VacuumStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_VacuumStmt_options_mutable_upb_array( + pg_query_VacuumStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_VacuumStmt_clear_rels(pg_query_VacuumStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_VacuumStmt_rels(const pg_query_VacuumStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_VacuumStmt_rels_upb_array( + const pg_query_VacuumStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_VacuumStmt_rels_mutable_upb_array( + pg_query_VacuumStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_VacuumStmt_clear_is_vacuumcmd(pg_query_VacuumStmt* msg) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_VacuumStmt_is_vacuumcmd(const pg_query_VacuumStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_VacuumStmt_mutable_options(pg_query_VacuumStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_VacuumStmt_resize_options(pg_query_VacuumStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_VacuumStmt_add_options( + pg_query_VacuumStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_VacuumStmt_mutable_rels(pg_query_VacuumStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_VacuumStmt_resize_rels(pg_query_VacuumStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_VacuumStmt_add_rels( + pg_query_VacuumStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_VacuumStmt_set_is_vacuumcmd(pg_query_VacuumStmt* msg, bool value) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.VacuumRelation */ +UPB_INLINE pg_query_VacuumRelation* pg_query_VacuumRelation_new(upb_Arena* arena) { + return (pg_query_VacuumRelation*)_upb_Message_New(&pg_0query__VacuumRelation_msg_init, arena); +} +UPB_INLINE pg_query_VacuumRelation* pg_query_VacuumRelation_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_VacuumRelation* ret = pg_query_VacuumRelation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__VacuumRelation_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_VacuumRelation* pg_query_VacuumRelation_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_VacuumRelation* ret = pg_query_VacuumRelation_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__VacuumRelation_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_VacuumRelation_serialize(const pg_query_VacuumRelation* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__VacuumRelation_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_VacuumRelation_serialize_ex(const pg_query_VacuumRelation* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__VacuumRelation_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_VacuumRelation_clear_relation(pg_query_VacuumRelation* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_VacuumRelation_relation(const pg_query_VacuumRelation* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_VacuumRelation_has_relation(const pg_query_VacuumRelation* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_VacuumRelation_clear_oid(pg_query_VacuumRelation* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE uint32_t pg_query_VacuumRelation_oid(const pg_query_VacuumRelation* msg) { + uint32_t default_val = (uint32_t)0u; + uint32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_VacuumRelation_clear_va_cols(pg_query_VacuumRelation* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_VacuumRelation_va_cols(const pg_query_VacuumRelation* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_VacuumRelation_va_cols_upb_array( + const pg_query_VacuumRelation* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_VacuumRelation_va_cols_mutable_upb_array( + pg_query_VacuumRelation* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_VacuumRelation_set_relation(pg_query_VacuumRelation* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_VacuumRelation_mutable_relation( + pg_query_VacuumRelation* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_VacuumRelation_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_VacuumRelation_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_VacuumRelation_set_oid(pg_query_VacuumRelation* msg, uint32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_VacuumRelation_mutable_va_cols(pg_query_VacuumRelation* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_VacuumRelation_resize_va_cols(pg_query_VacuumRelation* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_VacuumRelation_add_va_cols( + pg_query_VacuumRelation* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.ExplainStmt */ +UPB_INLINE pg_query_ExplainStmt* pg_query_ExplainStmt_new(upb_Arena* arena) { + return (pg_query_ExplainStmt*)_upb_Message_New(&pg_0query__ExplainStmt_msg_init, arena); +} +UPB_INLINE pg_query_ExplainStmt* pg_query_ExplainStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ExplainStmt* ret = pg_query_ExplainStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ExplainStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ExplainStmt* pg_query_ExplainStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ExplainStmt* ret = pg_query_ExplainStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ExplainStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ExplainStmt_serialize(const pg_query_ExplainStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ExplainStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ExplainStmt_serialize_ex(const pg_query_ExplainStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ExplainStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ExplainStmt_clear_query(pg_query_ExplainStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_ExplainStmt_query(const pg_query_ExplainStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ExplainStmt_has_query(const pg_query_ExplainStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ExplainStmt_clear_options(pg_query_ExplainStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ExplainStmt_options(const pg_query_ExplainStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ExplainStmt_options_upb_array( + const pg_query_ExplainStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ExplainStmt_options_mutable_upb_array( + pg_query_ExplainStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_ExplainStmt_set_query(pg_query_ExplainStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_ExplainStmt_mutable_query( + pg_query_ExplainStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_ExplainStmt_query(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_ExplainStmt_set_query(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_ExplainStmt_mutable_options(pg_query_ExplainStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ExplainStmt_resize_options(pg_query_ExplainStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ExplainStmt_add_options( + pg_query_ExplainStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CreateTableAsStmt */ +UPB_INLINE pg_query_CreateTableAsStmt* pg_query_CreateTableAsStmt_new(upb_Arena* arena) { + return (pg_query_CreateTableAsStmt*)_upb_Message_New(&pg_0query__CreateTableAsStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateTableAsStmt* pg_query_CreateTableAsStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateTableAsStmt* ret = pg_query_CreateTableAsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateTableAsStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateTableAsStmt* pg_query_CreateTableAsStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateTableAsStmt* ret = pg_query_CreateTableAsStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateTableAsStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateTableAsStmt_serialize(const pg_query_CreateTableAsStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateTableAsStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateTableAsStmt_serialize_ex(const pg_query_CreateTableAsStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateTableAsStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateTableAsStmt_clear_query(pg_query_CreateTableAsStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_CreateTableAsStmt_query(const pg_query_CreateTableAsStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateTableAsStmt_has_query(const pg_query_CreateTableAsStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateTableAsStmt_clear_into(pg_query_CreateTableAsStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_IntoClause* pg_query_CreateTableAsStmt_into(const pg_query_CreateTableAsStmt* msg) { + const pg_query_IntoClause* default_val = NULL; + const pg_query_IntoClause* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IntoClause_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateTableAsStmt_has_into(const pg_query_CreateTableAsStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateTableAsStmt_clear_objtype(pg_query_CreateTableAsStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CreateTableAsStmt_objtype(const pg_query_CreateTableAsStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTableAsStmt_clear_is_select_into(pg_query_CreateTableAsStmt* msg) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateTableAsStmt_is_select_into(const pg_query_CreateTableAsStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTableAsStmt_clear_if_not_exists(pg_query_CreateTableAsStmt* msg) { + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateTableAsStmt_if_not_exists(const pg_query_CreateTableAsStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CreateTableAsStmt_set_query(pg_query_CreateTableAsStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateTableAsStmt_mutable_query( + pg_query_CreateTableAsStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_CreateTableAsStmt_query(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_CreateTableAsStmt_set_query(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateTableAsStmt_set_into(pg_query_CreateTableAsStmt* msg, pg_query_IntoClause* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__IntoClause_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_IntoClause* pg_query_CreateTableAsStmt_mutable_into( + pg_query_CreateTableAsStmt* msg, upb_Arena* arena) { + struct pg_query_IntoClause* sub = (struct pg_query_IntoClause*)pg_query_CreateTableAsStmt_into(msg); + if (sub == NULL) { + sub = (struct pg_query_IntoClause*)_upb_Message_New(&pg_0query__IntoClause_msg_init, arena); + if (sub) pg_query_CreateTableAsStmt_set_into(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateTableAsStmt_set_objtype(pg_query_CreateTableAsStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTableAsStmt_set_is_select_into(pg_query_CreateTableAsStmt* msg, bool value) { + const upb_MiniTableField field = {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTableAsStmt_set_if_not_exists(pg_query_CreateTableAsStmt* msg, bool value) { + const upb_MiniTableField field = {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.RefreshMatViewStmt */ +UPB_INLINE pg_query_RefreshMatViewStmt* pg_query_RefreshMatViewStmt_new(upb_Arena* arena) { + return (pg_query_RefreshMatViewStmt*)_upb_Message_New(&pg_0query__RefreshMatViewStmt_msg_init, arena); +} +UPB_INLINE pg_query_RefreshMatViewStmt* pg_query_RefreshMatViewStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_RefreshMatViewStmt* ret = pg_query_RefreshMatViewStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RefreshMatViewStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_RefreshMatViewStmt* pg_query_RefreshMatViewStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_RefreshMatViewStmt* ret = pg_query_RefreshMatViewStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__RefreshMatViewStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_RefreshMatViewStmt_serialize(const pg_query_RefreshMatViewStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RefreshMatViewStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_RefreshMatViewStmt_serialize_ex(const pg_query_RefreshMatViewStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__RefreshMatViewStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_RefreshMatViewStmt_clear_concurrent(pg_query_RefreshMatViewStmt* msg) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RefreshMatViewStmt_concurrent(const pg_query_RefreshMatViewStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RefreshMatViewStmt_clear_skip_data(pg_query_RefreshMatViewStmt* msg) { + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_RefreshMatViewStmt_skip_data(const pg_query_RefreshMatViewStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_RefreshMatViewStmt_clear_relation(pg_query_RefreshMatViewStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_RefreshMatViewStmt_relation(const pg_query_RefreshMatViewStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_RefreshMatViewStmt_has_relation(const pg_query_RefreshMatViewStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_RefreshMatViewStmt_set_concurrent(pg_query_RefreshMatViewStmt* msg, bool value) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RefreshMatViewStmt_set_skip_data(pg_query_RefreshMatViewStmt* msg, bool value) { + const upb_MiniTableField field = {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_RefreshMatViewStmt_set_relation(pg_query_RefreshMatViewStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {3, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_RefreshMatViewStmt_mutable_relation( + pg_query_RefreshMatViewStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_RefreshMatViewStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_RefreshMatViewStmt_set_relation(msg, sub); + } + return sub; +} + +/* pg_query.CheckPointStmt */ +UPB_INLINE pg_query_CheckPointStmt* pg_query_CheckPointStmt_new(upb_Arena* arena) { + return (pg_query_CheckPointStmt*)_upb_Message_New(&pg_0query__CheckPointStmt_msg_init, arena); +} +UPB_INLINE pg_query_CheckPointStmt* pg_query_CheckPointStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CheckPointStmt* ret = pg_query_CheckPointStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CheckPointStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CheckPointStmt* pg_query_CheckPointStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CheckPointStmt* ret = pg_query_CheckPointStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CheckPointStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CheckPointStmt_serialize(const pg_query_CheckPointStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CheckPointStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CheckPointStmt_serialize_ex(const pg_query_CheckPointStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CheckPointStmt_msg_init, options, arena, &ptr, len); + return ptr; +} + + +/* pg_query.DiscardStmt */ +UPB_INLINE pg_query_DiscardStmt* pg_query_DiscardStmt_new(upb_Arena* arena) { + return (pg_query_DiscardStmt*)_upb_Message_New(&pg_0query__DiscardStmt_msg_init, arena); +} +UPB_INLINE pg_query_DiscardStmt* pg_query_DiscardStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DiscardStmt* ret = pg_query_DiscardStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DiscardStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DiscardStmt* pg_query_DiscardStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DiscardStmt* ret = pg_query_DiscardStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DiscardStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DiscardStmt_serialize(const pg_query_DiscardStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DiscardStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DiscardStmt_serialize_ex(const pg_query_DiscardStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DiscardStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DiscardStmt_clear_target(pg_query_DiscardStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DiscardStmt_target(const pg_query_DiscardStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_DiscardStmt_set_target(pg_query_DiscardStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.LockStmt */ +UPB_INLINE pg_query_LockStmt* pg_query_LockStmt_new(upb_Arena* arena) { + return (pg_query_LockStmt*)_upb_Message_New(&pg_0query__LockStmt_msg_init, arena); +} +UPB_INLINE pg_query_LockStmt* pg_query_LockStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_LockStmt* ret = pg_query_LockStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__LockStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_LockStmt* pg_query_LockStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_LockStmt* ret = pg_query_LockStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__LockStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_LockStmt_serialize(const pg_query_LockStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__LockStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_LockStmt_serialize_ex(const pg_query_LockStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__LockStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_LockStmt_clear_relations(pg_query_LockStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_LockStmt_relations(const pg_query_LockStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_LockStmt_relations_upb_array( + const pg_query_LockStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_LockStmt_relations_mutable_upb_array( + pg_query_LockStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_LockStmt_clear_mode(pg_query_LockStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_LockStmt_mode(const pg_query_LockStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_LockStmt_clear_nowait(pg_query_LockStmt* msg) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_LockStmt_nowait(const pg_query_LockStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_LockStmt_mutable_relations(pg_query_LockStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_LockStmt_resize_relations(pg_query_LockStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_LockStmt_add_relations( + pg_query_LockStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_LockStmt_set_mode(pg_query_LockStmt* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_LockStmt_set_nowait(pg_query_LockStmt* msg, bool value) { + const upb_MiniTableField field = {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ConstraintsSetStmt */ +UPB_INLINE pg_query_ConstraintsSetStmt* pg_query_ConstraintsSetStmt_new(upb_Arena* arena) { + return (pg_query_ConstraintsSetStmt*)_upb_Message_New(&pg_0query__ConstraintsSetStmt_msg_init, arena); +} +UPB_INLINE pg_query_ConstraintsSetStmt* pg_query_ConstraintsSetStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ConstraintsSetStmt* ret = pg_query_ConstraintsSetStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ConstraintsSetStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ConstraintsSetStmt* pg_query_ConstraintsSetStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ConstraintsSetStmt* ret = pg_query_ConstraintsSetStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ConstraintsSetStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ConstraintsSetStmt_serialize(const pg_query_ConstraintsSetStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ConstraintsSetStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ConstraintsSetStmt_serialize_ex(const pg_query_ConstraintsSetStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ConstraintsSetStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ConstraintsSetStmt_clear_constraints(pg_query_ConstraintsSetStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ConstraintsSetStmt_constraints(const pg_query_ConstraintsSetStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ConstraintsSetStmt_constraints_upb_array( + const pg_query_ConstraintsSetStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ConstraintsSetStmt_constraints_mutable_upb_array( + pg_query_ConstraintsSetStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ConstraintsSetStmt_clear_deferred(pg_query_ConstraintsSetStmt* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_ConstraintsSetStmt_deferred(const pg_query_ConstraintsSetStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_ConstraintsSetStmt_mutable_constraints(pg_query_ConstraintsSetStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ConstraintsSetStmt_resize_constraints(pg_query_ConstraintsSetStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ConstraintsSetStmt_add_constraints( + pg_query_ConstraintsSetStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_ConstraintsSetStmt_set_deferred(pg_query_ConstraintsSetStmt* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ReindexStmt */ +UPB_INLINE pg_query_ReindexStmt* pg_query_ReindexStmt_new(upb_Arena* arena) { + return (pg_query_ReindexStmt*)_upb_Message_New(&pg_0query__ReindexStmt_msg_init, arena); +} +UPB_INLINE pg_query_ReindexStmt* pg_query_ReindexStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ReindexStmt* ret = pg_query_ReindexStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReindexStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ReindexStmt* pg_query_ReindexStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ReindexStmt* ret = pg_query_ReindexStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReindexStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ReindexStmt_serialize(const pg_query_ReindexStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReindexStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ReindexStmt_serialize_ex(const pg_query_ReindexStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReindexStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ReindexStmt_clear_kind(pg_query_ReindexStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ReindexStmt_kind(const pg_query_ReindexStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ReindexStmt_clear_relation(pg_query_ReindexStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_ReindexStmt_relation(const pg_query_ReindexStmt* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ReindexStmt_has_relation(const pg_query_ReindexStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_ReindexStmt_clear_name(pg_query_ReindexStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ReindexStmt_name(const pg_query_ReindexStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ReindexStmt_clear_params(pg_query_ReindexStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ReindexStmt_params(const pg_query_ReindexStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ReindexStmt_params_upb_array( + const pg_query_ReindexStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ReindexStmt_params_mutable_upb_array( + pg_query_ReindexStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_ReindexStmt_set_kind(pg_query_ReindexStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ReindexStmt_set_relation(pg_query_ReindexStmt* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_ReindexStmt_mutable_relation( + pg_query_ReindexStmt* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_ReindexStmt_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_ReindexStmt_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_ReindexStmt_set_name(pg_query_ReindexStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_ReindexStmt_mutable_params(pg_query_ReindexStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(20, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ReindexStmt_resize_params(pg_query_ReindexStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ReindexStmt_add_params( + pg_query_ReindexStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.CreateConversionStmt */ +UPB_INLINE pg_query_CreateConversionStmt* pg_query_CreateConversionStmt_new(upb_Arena* arena) { + return (pg_query_CreateConversionStmt*)_upb_Message_New(&pg_0query__CreateConversionStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateConversionStmt* pg_query_CreateConversionStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateConversionStmt* ret = pg_query_CreateConversionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateConversionStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateConversionStmt* pg_query_CreateConversionStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateConversionStmt* ret = pg_query_CreateConversionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateConversionStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateConversionStmt_serialize(const pg_query_CreateConversionStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateConversionStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateConversionStmt_serialize_ex(const pg_query_CreateConversionStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateConversionStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateConversionStmt_clear_conversion_name(pg_query_CreateConversionStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateConversionStmt_conversion_name(const pg_query_CreateConversionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateConversionStmt_conversion_name_upb_array( + const pg_query_CreateConversionStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateConversionStmt_conversion_name_mutable_upb_array( + pg_query_CreateConversionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateConversionStmt_clear_for_encoding_name(pg_query_CreateConversionStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateConversionStmt_for_encoding_name(const pg_query_CreateConversionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateConversionStmt_clear_to_encoding_name(pg_query_CreateConversionStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateConversionStmt_to_encoding_name(const pg_query_CreateConversionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateConversionStmt_clear_func_name(pg_query_CreateConversionStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateConversionStmt_func_name(const pg_query_CreateConversionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateConversionStmt_func_name_upb_array( + const pg_query_CreateConversionStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateConversionStmt_func_name_mutable_upb_array( + pg_query_CreateConversionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateConversionStmt_clear_def(pg_query_CreateConversionStmt* msg) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateConversionStmt_def(const pg_query_CreateConversionStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_CreateConversionStmt_mutable_conversion_name(pg_query_CreateConversionStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateConversionStmt_resize_conversion_name(pg_query_CreateConversionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateConversionStmt_add_conversion_name( + pg_query_CreateConversionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateConversionStmt_set_for_encoding_name(pg_query_CreateConversionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateConversionStmt_set_to_encoding_name(pg_query_CreateConversionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateConversionStmt_mutable_func_name(pg_query_CreateConversionStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateConversionStmt_resize_func_name(pg_query_CreateConversionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateConversionStmt_add_func_name( + pg_query_CreateConversionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateConversionStmt_set_def(pg_query_CreateConversionStmt* msg, bool value) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateCastStmt */ +UPB_INLINE pg_query_CreateCastStmt* pg_query_CreateCastStmt_new(upb_Arena* arena) { + return (pg_query_CreateCastStmt*)_upb_Message_New(&pg_0query__CreateCastStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateCastStmt* pg_query_CreateCastStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateCastStmt* ret = pg_query_CreateCastStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateCastStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateCastStmt* pg_query_CreateCastStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateCastStmt* ret = pg_query_CreateCastStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateCastStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateCastStmt_serialize(const pg_query_CreateCastStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateCastStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateCastStmt_serialize_ex(const pg_query_CreateCastStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateCastStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateCastStmt_clear_sourcetype(pg_query_CreateCastStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_CreateCastStmt_sourcetype(const pg_query_CreateCastStmt* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateCastStmt_has_sourcetype(const pg_query_CreateCastStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateCastStmt_clear_targettype(pg_query_CreateCastStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_CreateCastStmt_targettype(const pg_query_CreateCastStmt* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateCastStmt_has_targettype(const pg_query_CreateCastStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateCastStmt_clear_func(pg_query_CreateCastStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ObjectWithArgs* pg_query_CreateCastStmt_func(const pg_query_CreateCastStmt* msg) { + const pg_query_ObjectWithArgs* default_val = NULL; + const pg_query_ObjectWithArgs* ret; + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateCastStmt_has_func(const pg_query_CreateCastStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateCastStmt_clear_context(pg_query_CreateCastStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CreateCastStmt_context(const pg_query_CreateCastStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateCastStmt_clear_inout(pg_query_CreateCastStmt* msg) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateCastStmt_inout(const pg_query_CreateCastStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CreateCastStmt_set_sourcetype(pg_query_CreateCastStmt* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_CreateCastStmt_mutable_sourcetype( + pg_query_CreateCastStmt* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_CreateCastStmt_sourcetype(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_CreateCastStmt_set_sourcetype(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateCastStmt_set_targettype(pg_query_CreateCastStmt* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_CreateCastStmt_mutable_targettype( + pg_query_CreateCastStmt* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_CreateCastStmt_targettype(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_CreateCastStmt_set_targettype(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateCastStmt_set_func(pg_query_CreateCastStmt* msg, pg_query_ObjectWithArgs* value) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ObjectWithArgs* pg_query_CreateCastStmt_mutable_func( + pg_query_CreateCastStmt* msg, upb_Arena* arena) { + struct pg_query_ObjectWithArgs* sub = (struct pg_query_ObjectWithArgs*)pg_query_CreateCastStmt_func(msg); + if (sub == NULL) { + sub = (struct pg_query_ObjectWithArgs*)_upb_Message_New(&pg_0query__ObjectWithArgs_msg_init, arena); + if (sub) pg_query_CreateCastStmt_set_func(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateCastStmt_set_context(pg_query_CreateCastStmt* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateCastStmt_set_inout(pg_query_CreateCastStmt* msg, bool value) { + const upb_MiniTableField field = {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateTransformStmt */ +UPB_INLINE pg_query_CreateTransformStmt* pg_query_CreateTransformStmt_new(upb_Arena* arena) { + return (pg_query_CreateTransformStmt*)_upb_Message_New(&pg_0query__CreateTransformStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateTransformStmt* pg_query_CreateTransformStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateTransformStmt* ret = pg_query_CreateTransformStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateTransformStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateTransformStmt* pg_query_CreateTransformStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateTransformStmt* ret = pg_query_CreateTransformStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateTransformStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateTransformStmt_serialize(const pg_query_CreateTransformStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateTransformStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateTransformStmt_serialize_ex(const pg_query_CreateTransformStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateTransformStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateTransformStmt_clear_replace(pg_query_CreateTransformStmt* msg) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreateTransformStmt_replace(const pg_query_CreateTransformStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTransformStmt_clear_type_name(pg_query_CreateTransformStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_TypeName* pg_query_CreateTransformStmt_type_name(const pg_query_CreateTransformStmt* msg) { + const pg_query_TypeName* default_val = NULL; + const pg_query_TypeName* ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateTransformStmt_has_type_name(const pg_query_CreateTransformStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateTransformStmt_clear_lang(pg_query_CreateTransformStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateTransformStmt_lang(const pg_query_CreateTransformStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateTransformStmt_clear_fromsql(pg_query_CreateTransformStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ObjectWithArgs* pg_query_CreateTransformStmt_fromsql(const pg_query_CreateTransformStmt* msg) { + const pg_query_ObjectWithArgs* default_val = NULL; + const pg_query_ObjectWithArgs* ret; + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateTransformStmt_has_fromsql(const pg_query_CreateTransformStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_CreateTransformStmt_clear_tosql(pg_query_CreateTransformStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_ObjectWithArgs* pg_query_CreateTransformStmt_tosql(const pg_query_CreateTransformStmt* msg) { + const pg_query_ObjectWithArgs* default_val = NULL; + const pg_query_ObjectWithArgs* ret; + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_CreateTransformStmt_has_tosql(const pg_query_CreateTransformStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_CreateTransformStmt_set_replace(pg_query_CreateTransformStmt* msg, bool value) { + const upb_MiniTableField field = {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTransformStmt_set_type_name(pg_query_CreateTransformStmt* msg, pg_query_TypeName* value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__TypeName_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_TypeName* pg_query_CreateTransformStmt_mutable_type_name( + pg_query_CreateTransformStmt* msg, upb_Arena* arena) { + struct pg_query_TypeName* sub = (struct pg_query_TypeName*)pg_query_CreateTransformStmt_type_name(msg); + if (sub == NULL) { + sub = (struct pg_query_TypeName*)_upb_Message_New(&pg_0query__TypeName_msg_init, arena); + if (sub) pg_query_CreateTransformStmt_set_type_name(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateTransformStmt_set_lang(pg_query_CreateTransformStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateTransformStmt_set_fromsql(pg_query_CreateTransformStmt* msg, pg_query_ObjectWithArgs* value) { + const upb_MiniTableField field = {4, UPB_SIZE(16, 40), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ObjectWithArgs* pg_query_CreateTransformStmt_mutable_fromsql( + pg_query_CreateTransformStmt* msg, upb_Arena* arena) { + struct pg_query_ObjectWithArgs* sub = (struct pg_query_ObjectWithArgs*)pg_query_CreateTransformStmt_fromsql(msg); + if (sub == NULL) { + sub = (struct pg_query_ObjectWithArgs*)_upb_Message_New(&pg_0query__ObjectWithArgs_msg_init, arena); + if (sub) pg_query_CreateTransformStmt_set_fromsql(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_CreateTransformStmt_set_tosql(pg_query_CreateTransformStmt* msg, pg_query_ObjectWithArgs* value) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 48), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__ObjectWithArgs_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_ObjectWithArgs* pg_query_CreateTransformStmt_mutable_tosql( + pg_query_CreateTransformStmt* msg, upb_Arena* arena) { + struct pg_query_ObjectWithArgs* sub = (struct pg_query_ObjectWithArgs*)pg_query_CreateTransformStmt_tosql(msg); + if (sub == NULL) { + sub = (struct pg_query_ObjectWithArgs*)_upb_Message_New(&pg_0query__ObjectWithArgs_msg_init, arena); + if (sub) pg_query_CreateTransformStmt_set_tosql(msg, sub); + } + return sub; +} + +/* pg_query.PrepareStmt */ +UPB_INLINE pg_query_PrepareStmt* pg_query_PrepareStmt_new(upb_Arena* arena) { + return (pg_query_PrepareStmt*)_upb_Message_New(&pg_0query__PrepareStmt_msg_init, arena); +} +UPB_INLINE pg_query_PrepareStmt* pg_query_PrepareStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_PrepareStmt* ret = pg_query_PrepareStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PrepareStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_PrepareStmt* pg_query_PrepareStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_PrepareStmt* ret = pg_query_PrepareStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PrepareStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_PrepareStmt_serialize(const pg_query_PrepareStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PrepareStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_PrepareStmt_serialize_ex(const pg_query_PrepareStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PrepareStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_PrepareStmt_clear_name(pg_query_PrepareStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_PrepareStmt_name(const pg_query_PrepareStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PrepareStmt_clear_argtypes(pg_query_PrepareStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_PrepareStmt_argtypes(const pg_query_PrepareStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_PrepareStmt_argtypes_upb_array( + const pg_query_PrepareStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_PrepareStmt_argtypes_mutable_upb_array( + pg_query_PrepareStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_PrepareStmt_clear_query(pg_query_PrepareStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_PrepareStmt_query(const pg_query_PrepareStmt* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_PrepareStmt_has_query(const pg_query_PrepareStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE void pg_query_PrepareStmt_set_name(pg_query_PrepareStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_PrepareStmt_mutable_argtypes(pg_query_PrepareStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_PrepareStmt_resize_argtypes(pg_query_PrepareStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_PrepareStmt_add_argtypes( + pg_query_PrepareStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_PrepareStmt_set_query(pg_query_PrepareStmt* msg, pg_query_Node* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_PrepareStmt_mutable_query( + pg_query_PrepareStmt* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_PrepareStmt_query(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_PrepareStmt_set_query(msg, sub); + } + return sub; +} + +/* pg_query.ExecuteStmt */ +UPB_INLINE pg_query_ExecuteStmt* pg_query_ExecuteStmt_new(upb_Arena* arena) { + return (pg_query_ExecuteStmt*)_upb_Message_New(&pg_0query__ExecuteStmt_msg_init, arena); +} +UPB_INLINE pg_query_ExecuteStmt* pg_query_ExecuteStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ExecuteStmt* ret = pg_query_ExecuteStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ExecuteStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ExecuteStmt* pg_query_ExecuteStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ExecuteStmt* ret = pg_query_ExecuteStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ExecuteStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ExecuteStmt_serialize(const pg_query_ExecuteStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ExecuteStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ExecuteStmt_serialize_ex(const pg_query_ExecuteStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ExecuteStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ExecuteStmt_clear_name(pg_query_ExecuteStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_ExecuteStmt_name(const pg_query_ExecuteStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ExecuteStmt_clear_params(pg_query_ExecuteStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ExecuteStmt_params(const pg_query_ExecuteStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ExecuteStmt_params_upb_array( + const pg_query_ExecuteStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ExecuteStmt_params_mutable_upb_array( + pg_query_ExecuteStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_ExecuteStmt_set_name(pg_query_ExecuteStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_ExecuteStmt_mutable_params(pg_query_ExecuteStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ExecuteStmt_resize_params(pg_query_ExecuteStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ExecuteStmt_add_params( + pg_query_ExecuteStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.DeallocateStmt */ +UPB_INLINE pg_query_DeallocateStmt* pg_query_DeallocateStmt_new(upb_Arena* arena) { + return (pg_query_DeallocateStmt*)_upb_Message_New(&pg_0query__DeallocateStmt_msg_init, arena); +} +UPB_INLINE pg_query_DeallocateStmt* pg_query_DeallocateStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DeallocateStmt* ret = pg_query_DeallocateStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DeallocateStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DeallocateStmt* pg_query_DeallocateStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DeallocateStmt* ret = pg_query_DeallocateStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DeallocateStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DeallocateStmt_serialize(const pg_query_DeallocateStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DeallocateStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DeallocateStmt_serialize_ex(const pg_query_DeallocateStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DeallocateStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DeallocateStmt_clear_name(pg_query_DeallocateStmt* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_DeallocateStmt_name(const pg_query_DeallocateStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DeallocateStmt_clear_isall(pg_query_DeallocateStmt* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DeallocateStmt_isall(const pg_query_DeallocateStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DeallocateStmt_clear_location(pg_query_DeallocateStmt* msg) { + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DeallocateStmt_location(const pg_query_DeallocateStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_DeallocateStmt_set_name(pg_query_DeallocateStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DeallocateStmt_set_isall(pg_query_DeallocateStmt* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DeallocateStmt_set_location(pg_query_DeallocateStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.DropOwnedStmt */ +UPB_INLINE pg_query_DropOwnedStmt* pg_query_DropOwnedStmt_new(upb_Arena* arena) { + return (pg_query_DropOwnedStmt*)_upb_Message_New(&pg_0query__DropOwnedStmt_msg_init, arena); +} +UPB_INLINE pg_query_DropOwnedStmt* pg_query_DropOwnedStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DropOwnedStmt* ret = pg_query_DropOwnedStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropOwnedStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DropOwnedStmt* pg_query_DropOwnedStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DropOwnedStmt* ret = pg_query_DropOwnedStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropOwnedStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DropOwnedStmt_serialize(const pg_query_DropOwnedStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropOwnedStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DropOwnedStmt_serialize_ex(const pg_query_DropOwnedStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropOwnedStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DropOwnedStmt_clear_roles(pg_query_DropOwnedStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_DropOwnedStmt_roles(const pg_query_DropOwnedStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_DropOwnedStmt_roles_upb_array( + const pg_query_DropOwnedStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_DropOwnedStmt_roles_mutable_upb_array( + pg_query_DropOwnedStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_DropOwnedStmt_clear_behavior(pg_query_DropOwnedStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DropOwnedStmt_behavior(const pg_query_DropOwnedStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_Node** pg_query_DropOwnedStmt_mutable_roles(pg_query_DropOwnedStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_DropOwnedStmt_resize_roles(pg_query_DropOwnedStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_DropOwnedStmt_add_roles( + pg_query_DropOwnedStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_DropOwnedStmt_set_behavior(pg_query_DropOwnedStmt* msg, int32_t value) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ReassignOwnedStmt */ +UPB_INLINE pg_query_ReassignOwnedStmt* pg_query_ReassignOwnedStmt_new(upb_Arena* arena) { + return (pg_query_ReassignOwnedStmt*)_upb_Message_New(&pg_0query__ReassignOwnedStmt_msg_init, arena); +} +UPB_INLINE pg_query_ReassignOwnedStmt* pg_query_ReassignOwnedStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ReassignOwnedStmt* ret = pg_query_ReassignOwnedStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReassignOwnedStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ReassignOwnedStmt* pg_query_ReassignOwnedStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ReassignOwnedStmt* ret = pg_query_ReassignOwnedStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ReassignOwnedStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ReassignOwnedStmt_serialize(const pg_query_ReassignOwnedStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReassignOwnedStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ReassignOwnedStmt_serialize_ex(const pg_query_ReassignOwnedStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ReassignOwnedStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ReassignOwnedStmt_clear_roles(pg_query_ReassignOwnedStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_ReassignOwnedStmt_roles(const pg_query_ReassignOwnedStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_ReassignOwnedStmt_roles_upb_array( + const pg_query_ReassignOwnedStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_ReassignOwnedStmt_roles_mutable_upb_array( + pg_query_ReassignOwnedStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_ReassignOwnedStmt_clear_newrole(pg_query_ReassignOwnedStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RoleSpec* pg_query_ReassignOwnedStmt_newrole(const pg_query_ReassignOwnedStmt* msg) { + const pg_query_RoleSpec* default_val = NULL; + const pg_query_RoleSpec* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_ReassignOwnedStmt_has_newrole(const pg_query_ReassignOwnedStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} + +UPB_INLINE pg_query_Node** pg_query_ReassignOwnedStmt_mutable_roles(pg_query_ReassignOwnedStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_ReassignOwnedStmt_resize_roles(pg_query_ReassignOwnedStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_ReassignOwnedStmt_add_roles( + pg_query_ReassignOwnedStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_ReassignOwnedStmt_set_newrole(pg_query_ReassignOwnedStmt* msg, pg_query_RoleSpec* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RoleSpec_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RoleSpec* pg_query_ReassignOwnedStmt_mutable_newrole( + pg_query_ReassignOwnedStmt* msg, upb_Arena* arena) { + struct pg_query_RoleSpec* sub = (struct pg_query_RoleSpec*)pg_query_ReassignOwnedStmt_newrole(msg); + if (sub == NULL) { + sub = (struct pg_query_RoleSpec*)_upb_Message_New(&pg_0query__RoleSpec_msg_init, arena); + if (sub) pg_query_ReassignOwnedStmt_set_newrole(msg, sub); + } + return sub; +} + +/* pg_query.AlterTSDictionaryStmt */ +UPB_INLINE pg_query_AlterTSDictionaryStmt* pg_query_AlterTSDictionaryStmt_new(upb_Arena* arena) { + return (pg_query_AlterTSDictionaryStmt*)_upb_Message_New(&pg_0query__AlterTSDictionaryStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterTSDictionaryStmt* pg_query_AlterTSDictionaryStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterTSDictionaryStmt* ret = pg_query_AlterTSDictionaryStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTSDictionaryStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterTSDictionaryStmt* pg_query_AlterTSDictionaryStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterTSDictionaryStmt* ret = pg_query_AlterTSDictionaryStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTSDictionaryStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterTSDictionaryStmt_serialize(const pg_query_AlterTSDictionaryStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTSDictionaryStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterTSDictionaryStmt_serialize_ex(const pg_query_AlterTSDictionaryStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTSDictionaryStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterTSDictionaryStmt_clear_dictname(pg_query_AlterTSDictionaryStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterTSDictionaryStmt_dictname(const pg_query_AlterTSDictionaryStmt* msg, + size_t* size) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterTSDictionaryStmt_dictname_upb_array( + const pg_query_AlterTSDictionaryStmt* msg, size_t* size) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterTSDictionaryStmt_dictname_mutable_upb_array( + pg_query_AlterTSDictionaryStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterTSDictionaryStmt_clear_options(pg_query_AlterTSDictionaryStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterTSDictionaryStmt_options(const pg_query_AlterTSDictionaryStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterTSDictionaryStmt_options_upb_array( + const pg_query_AlterTSDictionaryStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterTSDictionaryStmt_options_mutable_upb_array( + pg_query_AlterTSDictionaryStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE pg_query_Node** pg_query_AlterTSDictionaryStmt_mutable_dictname(pg_query_AlterTSDictionaryStmt* msg, + size_t* size) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterTSDictionaryStmt_resize_dictname(pg_query_AlterTSDictionaryStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTSDictionaryStmt_add_dictname( + pg_query_AlterTSDictionaryStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterTSDictionaryStmt_mutable_options(pg_query_AlterTSDictionaryStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterTSDictionaryStmt_resize_options(pg_query_AlterTSDictionaryStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTSDictionaryStmt_add_options( + pg_query_AlterTSDictionaryStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.AlterTSConfigurationStmt */ +UPB_INLINE pg_query_AlterTSConfigurationStmt* pg_query_AlterTSConfigurationStmt_new(upb_Arena* arena) { + return (pg_query_AlterTSConfigurationStmt*)_upb_Message_New(&pg_0query__AlterTSConfigurationStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterTSConfigurationStmt* pg_query_AlterTSConfigurationStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterTSConfigurationStmt* ret = pg_query_AlterTSConfigurationStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTSConfigurationStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterTSConfigurationStmt* pg_query_AlterTSConfigurationStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterTSConfigurationStmt* ret = pg_query_AlterTSConfigurationStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterTSConfigurationStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterTSConfigurationStmt_serialize(const pg_query_AlterTSConfigurationStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTSConfigurationStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterTSConfigurationStmt_serialize_ex(const pg_query_AlterTSConfigurationStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterTSConfigurationStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterTSConfigurationStmt_clear_kind(pg_query_AlterTSConfigurationStmt* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterTSConfigurationStmt_kind(const pg_query_AlterTSConfigurationStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTSConfigurationStmt_clear_cfgname(pg_query_AlterTSConfigurationStmt* msg) { + const upb_MiniTableField field = {2, 16, 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterTSConfigurationStmt_cfgname(const pg_query_AlterTSConfigurationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, 16, 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterTSConfigurationStmt_cfgname_upb_array( + const pg_query_AlterTSConfigurationStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, 16, 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterTSConfigurationStmt_cfgname_mutable_upb_array( + pg_query_AlterTSConfigurationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, 16, 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterTSConfigurationStmt_clear_tokentype(pg_query_AlterTSConfigurationStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterTSConfigurationStmt_tokentype(const pg_query_AlterTSConfigurationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterTSConfigurationStmt_tokentype_upb_array( + const pg_query_AlterTSConfigurationStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterTSConfigurationStmt_tokentype_mutable_upb_array( + pg_query_AlterTSConfigurationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterTSConfigurationStmt_clear_dicts(pg_query_AlterTSConfigurationStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterTSConfigurationStmt_dicts(const pg_query_AlterTSConfigurationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterTSConfigurationStmt_dicts_upb_array( + const pg_query_AlterTSConfigurationStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterTSConfigurationStmt_dicts_mutable_upb_array( + pg_query_AlterTSConfigurationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterTSConfigurationStmt_clear_override(pg_query_AlterTSConfigurationStmt* msg) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterTSConfigurationStmt_override(const pg_query_AlterTSConfigurationStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTSConfigurationStmt_clear_replace(pg_query_AlterTSConfigurationStmt* msg) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterTSConfigurationStmt_replace(const pg_query_AlterTSConfigurationStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterTSConfigurationStmt_clear_missing_ok(pg_query_AlterTSConfigurationStmt* msg) { + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterTSConfigurationStmt_missing_ok(const pg_query_AlterTSConfigurationStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterTSConfigurationStmt_set_kind(pg_query_AlterTSConfigurationStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterTSConfigurationStmt_mutable_cfgname(pg_query_AlterTSConfigurationStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, 16, 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterTSConfigurationStmt_resize_cfgname(pg_query_AlterTSConfigurationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, 16, 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTSConfigurationStmt_add_cfgname( + pg_query_AlterTSConfigurationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, 16, 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterTSConfigurationStmt_mutable_tokentype(pg_query_AlterTSConfigurationStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterTSConfigurationStmt_resize_tokentype(pg_query_AlterTSConfigurationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTSConfigurationStmt_add_tokentype( + pg_query_AlterTSConfigurationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterTSConfigurationStmt_mutable_dicts(pg_query_AlterTSConfigurationStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterTSConfigurationStmt_resize_dicts(pg_query_AlterTSConfigurationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterTSConfigurationStmt_add_dicts( + pg_query_AlterTSConfigurationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterTSConfigurationStmt_set_override(pg_query_AlterTSConfigurationStmt* msg, bool value) { + const upb_MiniTableField field = {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterTSConfigurationStmt_set_replace(pg_query_AlterTSConfigurationStmt* msg, bool value) { + const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterTSConfigurationStmt_set_missing_ok(pg_query_AlterTSConfigurationStmt* msg, bool value) { + const upb_MiniTableField field = {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.PublicationTable */ +UPB_INLINE pg_query_PublicationTable* pg_query_PublicationTable_new(upb_Arena* arena) { + return (pg_query_PublicationTable*)_upb_Message_New(&pg_0query__PublicationTable_msg_init, arena); +} +UPB_INLINE pg_query_PublicationTable* pg_query_PublicationTable_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_PublicationTable* ret = pg_query_PublicationTable_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PublicationTable_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_PublicationTable* pg_query_PublicationTable_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_PublicationTable* ret = pg_query_PublicationTable_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PublicationTable_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_PublicationTable_serialize(const pg_query_PublicationTable* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PublicationTable_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_PublicationTable_serialize_ex(const pg_query_PublicationTable* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PublicationTable_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_PublicationTable_clear_relation(pg_query_PublicationTable* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_RangeVar* pg_query_PublicationTable_relation(const pg_query_PublicationTable* msg) { + const pg_query_RangeVar* default_val = NULL; + const pg_query_RangeVar* ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_PublicationTable_has_relation(const pg_query_PublicationTable* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_PublicationTable_clear_where_clause(pg_query_PublicationTable* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* pg_query_PublicationTable_where_clause(const pg_query_PublicationTable* msg) { + const pg_query_Node* default_val = NULL; + const pg_query_Node* ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_PublicationTable_has_where_clause(const pg_query_PublicationTable* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_PublicationTable_clear_columns(pg_query_PublicationTable* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_PublicationTable_columns(const pg_query_PublicationTable* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_PublicationTable_columns_upb_array( + const pg_query_PublicationTable* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_PublicationTable_columns_mutable_upb_array( + pg_query_PublicationTable* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE void pg_query_PublicationTable_set_relation(pg_query_PublicationTable* msg, pg_query_RangeVar* value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__RangeVar_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_RangeVar* pg_query_PublicationTable_mutable_relation( + pg_query_PublicationTable* msg, upb_Arena* arena) { + struct pg_query_RangeVar* sub = (struct pg_query_RangeVar*)pg_query_PublicationTable_relation(msg); + if (sub == NULL) { + sub = (struct pg_query_RangeVar*)_upb_Message_New(&pg_0query__RangeVar_msg_init, arena); + if (sub) pg_query_PublicationTable_set_relation(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_PublicationTable_set_where_clause(pg_query_PublicationTable* msg, pg_query_Node* value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_Node* pg_query_PublicationTable_mutable_where_clause( + pg_query_PublicationTable* msg, upb_Arena* arena) { + struct pg_query_Node* sub = (struct pg_query_Node*)pg_query_PublicationTable_where_clause(msg); + if (sub == NULL) { + sub = (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (sub) pg_query_PublicationTable_set_where_clause(msg, sub); + } + return sub; +} +UPB_INLINE pg_query_Node** pg_query_PublicationTable_mutable_columns(pg_query_PublicationTable* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_PublicationTable_resize_columns(pg_query_PublicationTable* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_PublicationTable_add_columns( + pg_query_PublicationTable* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} + +/* pg_query.PublicationObjSpec */ +UPB_INLINE pg_query_PublicationObjSpec* pg_query_PublicationObjSpec_new(upb_Arena* arena) { + return (pg_query_PublicationObjSpec*)_upb_Message_New(&pg_0query__PublicationObjSpec_msg_init, arena); +} +UPB_INLINE pg_query_PublicationObjSpec* pg_query_PublicationObjSpec_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_PublicationObjSpec* ret = pg_query_PublicationObjSpec_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PublicationObjSpec_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_PublicationObjSpec* pg_query_PublicationObjSpec_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_PublicationObjSpec* ret = pg_query_PublicationObjSpec_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__PublicationObjSpec_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_PublicationObjSpec_serialize(const pg_query_PublicationObjSpec* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PublicationObjSpec_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_PublicationObjSpec_serialize_ex(const pg_query_PublicationObjSpec* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__PublicationObjSpec_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_PublicationObjSpec_clear_pubobjtype(pg_query_PublicationObjSpec* msg) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PublicationObjSpec_pubobjtype(const pg_query_PublicationObjSpec* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PublicationObjSpec_clear_name(pg_query_PublicationObjSpec* msg) { + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_PublicationObjSpec_name(const pg_query_PublicationObjSpec* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_PublicationObjSpec_clear_pubtable(pg_query_PublicationObjSpec* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_PublicationTable* pg_query_PublicationObjSpec_pubtable(const pg_query_PublicationObjSpec* msg) { + const pg_query_PublicationTable* default_val = NULL; + const pg_query_PublicationTable* ret; + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PublicationTable_msg_init); + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE bool pg_query_PublicationObjSpec_has_pubtable(const pg_query_PublicationObjSpec* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return upb_Message_HasBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE void pg_query_PublicationObjSpec_clear_location(pg_query_PublicationObjSpec* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_PublicationObjSpec_location(const pg_query_PublicationObjSpec* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_PublicationObjSpec_set_pubobjtype(pg_query_PublicationObjSpec* msg, int32_t value) { + const upb_MiniTableField field = {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_PublicationObjSpec_set_name(pg_query_PublicationObjSpec* msg, upb_StringView value) { + const upb_MiniTableField field = {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_PublicationObjSpec_set_pubtable(pg_query_PublicationObjSpec* msg, pg_query_PublicationTable* value) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__PublicationTable_msg_init); + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE struct pg_query_PublicationTable* pg_query_PublicationObjSpec_mutable_pubtable( + pg_query_PublicationObjSpec* msg, upb_Arena* arena) { + struct pg_query_PublicationTable* sub = (struct pg_query_PublicationTable*)pg_query_PublicationObjSpec_pubtable(msg); + if (sub == NULL) { + sub = (struct pg_query_PublicationTable*)_upb_Message_New(&pg_0query__PublicationTable_msg_init, arena); + if (sub) pg_query_PublicationObjSpec_set_pubtable(msg, sub); + } + return sub; +} +UPB_INLINE void pg_query_PublicationObjSpec_set_location(pg_query_PublicationObjSpec* msg, int32_t value) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreatePublicationStmt */ +UPB_INLINE pg_query_CreatePublicationStmt* pg_query_CreatePublicationStmt_new(upb_Arena* arena) { + return (pg_query_CreatePublicationStmt*)_upb_Message_New(&pg_0query__CreatePublicationStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreatePublicationStmt* pg_query_CreatePublicationStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreatePublicationStmt* ret = pg_query_CreatePublicationStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreatePublicationStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreatePublicationStmt* pg_query_CreatePublicationStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreatePublicationStmt* ret = pg_query_CreatePublicationStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreatePublicationStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreatePublicationStmt_serialize(const pg_query_CreatePublicationStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreatePublicationStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreatePublicationStmt_serialize_ex(const pg_query_CreatePublicationStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreatePublicationStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreatePublicationStmt_clear_pubname(pg_query_CreatePublicationStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreatePublicationStmt_pubname(const pg_query_CreatePublicationStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreatePublicationStmt_clear_options(pg_query_CreatePublicationStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreatePublicationStmt_options(const pg_query_CreatePublicationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreatePublicationStmt_options_upb_array( + const pg_query_CreatePublicationStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreatePublicationStmt_options_mutable_upb_array( + pg_query_CreatePublicationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreatePublicationStmt_clear_pubobjects(pg_query_CreatePublicationStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreatePublicationStmt_pubobjects(const pg_query_CreatePublicationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreatePublicationStmt_pubobjects_upb_array( + const pg_query_CreatePublicationStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreatePublicationStmt_pubobjects_mutable_upb_array( + pg_query_CreatePublicationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreatePublicationStmt_clear_for_all_tables(pg_query_CreatePublicationStmt* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_CreatePublicationStmt_for_all_tables(const pg_query_CreatePublicationStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CreatePublicationStmt_set_pubname(pg_query_CreatePublicationStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreatePublicationStmt_mutable_options(pg_query_CreatePublicationStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreatePublicationStmt_resize_options(pg_query_CreatePublicationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreatePublicationStmt_add_options( + pg_query_CreatePublicationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreatePublicationStmt_mutable_pubobjects(pg_query_CreatePublicationStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreatePublicationStmt_resize_pubobjects(pg_query_CreatePublicationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreatePublicationStmt_add_pubobjects( + pg_query_CreatePublicationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreatePublicationStmt_set_for_all_tables(pg_query_CreatePublicationStmt* msg, bool value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterPublicationStmt */ +UPB_INLINE pg_query_AlterPublicationStmt* pg_query_AlterPublicationStmt_new(upb_Arena* arena) { + return (pg_query_AlterPublicationStmt*)_upb_Message_New(&pg_0query__AlterPublicationStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterPublicationStmt* pg_query_AlterPublicationStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterPublicationStmt* ret = pg_query_AlterPublicationStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterPublicationStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterPublicationStmt* pg_query_AlterPublicationStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterPublicationStmt* ret = pg_query_AlterPublicationStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterPublicationStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterPublicationStmt_serialize(const pg_query_AlterPublicationStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterPublicationStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterPublicationStmt_serialize_ex(const pg_query_AlterPublicationStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterPublicationStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterPublicationStmt_clear_pubname(pg_query_AlterPublicationStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterPublicationStmt_pubname(const pg_query_AlterPublicationStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterPublicationStmt_clear_options(pg_query_AlterPublicationStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterPublicationStmt_options(const pg_query_AlterPublicationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterPublicationStmt_options_upb_array( + const pg_query_AlterPublicationStmt* msg, size_t* size) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterPublicationStmt_options_mutable_upb_array( + pg_query_AlterPublicationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterPublicationStmt_clear_pubobjects(pg_query_AlterPublicationStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterPublicationStmt_pubobjects(const pg_query_AlterPublicationStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterPublicationStmt_pubobjects_upb_array( + const pg_query_AlterPublicationStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterPublicationStmt_pubobjects_mutable_upb_array( + pg_query_AlterPublicationStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterPublicationStmt_clear_for_all_tables(pg_query_AlterPublicationStmt* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_AlterPublicationStmt_for_all_tables(const pg_query_AlterPublicationStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterPublicationStmt_clear_action(pg_query_AlterPublicationStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterPublicationStmt_action(const pg_query_AlterPublicationStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterPublicationStmt_set_pubname(pg_query_AlterPublicationStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterPublicationStmt_mutable_options(pg_query_AlterPublicationStmt* msg, + size_t* size) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterPublicationStmt_resize_options(pg_query_AlterPublicationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterPublicationStmt_add_options( + pg_query_AlterPublicationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterPublicationStmt_mutable_pubobjects(pg_query_AlterPublicationStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterPublicationStmt_resize_pubobjects(pg_query_AlterPublicationStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterPublicationStmt_add_pubobjects( + pg_query_AlterPublicationStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterPublicationStmt_set_for_all_tables(pg_query_AlterPublicationStmt* msg, bool value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterPublicationStmt_set_action(pg_query_AlterPublicationStmt* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.CreateSubscriptionStmt */ +UPB_INLINE pg_query_CreateSubscriptionStmt* pg_query_CreateSubscriptionStmt_new(upb_Arena* arena) { + return (pg_query_CreateSubscriptionStmt*)_upb_Message_New(&pg_0query__CreateSubscriptionStmt_msg_init, arena); +} +UPB_INLINE pg_query_CreateSubscriptionStmt* pg_query_CreateSubscriptionStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_CreateSubscriptionStmt* ret = pg_query_CreateSubscriptionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateSubscriptionStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_CreateSubscriptionStmt* pg_query_CreateSubscriptionStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_CreateSubscriptionStmt* ret = pg_query_CreateSubscriptionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__CreateSubscriptionStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_CreateSubscriptionStmt_serialize(const pg_query_CreateSubscriptionStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateSubscriptionStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_CreateSubscriptionStmt_serialize_ex(const pg_query_CreateSubscriptionStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__CreateSubscriptionStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_CreateSubscriptionStmt_clear_subname(pg_query_CreateSubscriptionStmt* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateSubscriptionStmt_subname(const pg_query_CreateSubscriptionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateSubscriptionStmt_clear_conninfo(pg_query_CreateSubscriptionStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_CreateSubscriptionStmt_conninfo(const pg_query_CreateSubscriptionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_CreateSubscriptionStmt_clear_publication(pg_query_CreateSubscriptionStmt* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateSubscriptionStmt_publication(const pg_query_CreateSubscriptionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateSubscriptionStmt_publication_upb_array( + const pg_query_CreateSubscriptionStmt* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateSubscriptionStmt_publication_mutable_upb_array( + pg_query_CreateSubscriptionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(8, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateSubscriptionStmt_clear_options(pg_query_CreateSubscriptionStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_CreateSubscriptionStmt_options(const pg_query_CreateSubscriptionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_CreateSubscriptionStmt_options_upb_array( + const pg_query_CreateSubscriptionStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_CreateSubscriptionStmt_options_mutable_upb_array( + pg_query_CreateSubscriptionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_CreateSubscriptionStmt_clear_conninfo_location(pg_query_CreateSubscriptionStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_CreateSubscriptionStmt_conninfo_location(const pg_query_CreateSubscriptionStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_CreateSubscriptionStmt_set_subname(pg_query_CreateSubscriptionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_CreateSubscriptionStmt_set_conninfo(pg_query_CreateSubscriptionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_CreateSubscriptionStmt_mutable_publication(pg_query_CreateSubscriptionStmt* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(8, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateSubscriptionStmt_resize_publication(pg_query_CreateSubscriptionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(8, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateSubscriptionStmt_add_publication( + pg_query_CreateSubscriptionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(8, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_CreateSubscriptionStmt_mutable_options(pg_query_CreateSubscriptionStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(12, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_CreateSubscriptionStmt_resize_options(pg_query_CreateSubscriptionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_CreateSubscriptionStmt_add_options( + pg_query_CreateSubscriptionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_CreateSubscriptionStmt_set_conninfo_location(pg_query_CreateSubscriptionStmt* msg, int32_t value) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.AlterSubscriptionStmt */ +UPB_INLINE pg_query_AlterSubscriptionStmt* pg_query_AlterSubscriptionStmt_new(upb_Arena* arena) { + return (pg_query_AlterSubscriptionStmt*)_upb_Message_New(&pg_0query__AlterSubscriptionStmt_msg_init, arena); +} +UPB_INLINE pg_query_AlterSubscriptionStmt* pg_query_AlterSubscriptionStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_AlterSubscriptionStmt* ret = pg_query_AlterSubscriptionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterSubscriptionStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_AlterSubscriptionStmt* pg_query_AlterSubscriptionStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_AlterSubscriptionStmt* ret = pg_query_AlterSubscriptionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__AlterSubscriptionStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_AlterSubscriptionStmt_serialize(const pg_query_AlterSubscriptionStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterSubscriptionStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_AlterSubscriptionStmt_serialize_ex(const pg_query_AlterSubscriptionStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__AlterSubscriptionStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_AlterSubscriptionStmt_clear_kind(pg_query_AlterSubscriptionStmt* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterSubscriptionStmt_kind(const pg_query_AlterSubscriptionStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterSubscriptionStmt_clear_subname(pg_query_AlterSubscriptionStmt* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterSubscriptionStmt_subname(const pg_query_AlterSubscriptionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterSubscriptionStmt_clear_conninfo(pg_query_AlterSubscriptionStmt* msg) { + const upb_MiniTableField field = {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_AlterSubscriptionStmt_conninfo(const pg_query_AlterSubscriptionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_AlterSubscriptionStmt_clear_publication(pg_query_AlterSubscriptionStmt* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterSubscriptionStmt_publication(const pg_query_AlterSubscriptionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterSubscriptionStmt_publication_upb_array( + const pg_query_AlterSubscriptionStmt* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterSubscriptionStmt_publication_mutable_upb_array( + pg_query_AlterSubscriptionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterSubscriptionStmt_clear_options(pg_query_AlterSubscriptionStmt* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_Node* const* pg_query_AlterSubscriptionStmt_options(const pg_query_AlterSubscriptionStmt* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_Node* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_AlterSubscriptionStmt_options_upb_array( + const pg_query_AlterSubscriptionStmt* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_AlterSubscriptionStmt_options_mutable_upb_array( + pg_query_AlterSubscriptionStmt* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_AlterSubscriptionStmt_clear_conninfo_location(pg_query_AlterSubscriptionStmt* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_AlterSubscriptionStmt_conninfo_location(const pg_query_AlterSubscriptionStmt* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {6, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_AlterSubscriptionStmt_set_kind(pg_query_AlterSubscriptionStmt* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterSubscriptionStmt_set_subname(pg_query_AlterSubscriptionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_AlterSubscriptionStmt_set_conninfo(pg_query_AlterSubscriptionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE pg_query_Node** pg_query_AlterSubscriptionStmt_mutable_publication(pg_query_AlterSubscriptionStmt* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterSubscriptionStmt_resize_publication(pg_query_AlterSubscriptionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterSubscriptionStmt_add_publication( + pg_query_AlterSubscriptionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_Node** pg_query_AlterSubscriptionStmt_mutable_options(pg_query_AlterSubscriptionStmt* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_Node**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_Node** pg_query_AlterSubscriptionStmt_resize_options(pg_query_AlterSubscriptionStmt* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + return (pg_query_Node**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_Node* pg_query_AlterSubscriptionStmt_add_options( + pg_query_AlterSubscriptionStmt* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__Node_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_Node* sub = + (struct pg_query_Node*)_upb_Message_New(&pg_0query__Node_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_AlterSubscriptionStmt_set_conninfo_location(pg_query_AlterSubscriptionStmt* msg, int32_t value) { + const upb_MiniTableField field = {6, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.DropSubscriptionStmt */ +UPB_INLINE pg_query_DropSubscriptionStmt* pg_query_DropSubscriptionStmt_new(upb_Arena* arena) { + return (pg_query_DropSubscriptionStmt*)_upb_Message_New(&pg_0query__DropSubscriptionStmt_msg_init, arena); +} +UPB_INLINE pg_query_DropSubscriptionStmt* pg_query_DropSubscriptionStmt_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_DropSubscriptionStmt* ret = pg_query_DropSubscriptionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropSubscriptionStmt_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_DropSubscriptionStmt* pg_query_DropSubscriptionStmt_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_DropSubscriptionStmt* ret = pg_query_DropSubscriptionStmt_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__DropSubscriptionStmt_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_DropSubscriptionStmt_serialize(const pg_query_DropSubscriptionStmt* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropSubscriptionStmt_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_DropSubscriptionStmt_serialize_ex(const pg_query_DropSubscriptionStmt* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__DropSubscriptionStmt_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_DropSubscriptionStmt_clear_subname(pg_query_DropSubscriptionStmt* msg) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_DropSubscriptionStmt_subname(const pg_query_DropSubscriptionStmt* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DropSubscriptionStmt_clear_missing_ok(pg_query_DropSubscriptionStmt* msg) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE bool pg_query_DropSubscriptionStmt_missing_ok(const pg_query_DropSubscriptionStmt* msg) { + bool default_val = false; + bool ret; + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_DropSubscriptionStmt_clear_behavior(pg_query_DropSubscriptionStmt* msg) { + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_DropSubscriptionStmt_behavior(const pg_query_DropSubscriptionStmt* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_DropSubscriptionStmt_set_subname(pg_query_DropSubscriptionStmt* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DropSubscriptionStmt_set_missing_ok(pg_query_DropSubscriptionStmt* msg, bool value) { + const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_DropSubscriptionStmt_set_behavior(pg_query_DropSubscriptionStmt* msg, int32_t value) { + const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.ScanToken */ +UPB_INLINE pg_query_ScanToken* pg_query_ScanToken_new(upb_Arena* arena) { + return (pg_query_ScanToken*)_upb_Message_New(&pg_0query__ScanToken_msg_init, arena); +} +UPB_INLINE pg_query_ScanToken* pg_query_ScanToken_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_ScanToken* ret = pg_query_ScanToken_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ScanToken_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_ScanToken* pg_query_ScanToken_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_ScanToken* ret = pg_query_ScanToken_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__ScanToken_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_ScanToken_serialize(const pg_query_ScanToken* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ScanToken_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_ScanToken_serialize_ex(const pg_query_ScanToken* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__ScanToken_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_ScanToken_clear_start(pg_query_ScanToken* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ScanToken_start(const pg_query_ScanToken* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ScanToken_clear_end(pg_query_ScanToken* msg) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ScanToken_end(const pg_query_ScanToken* msg) { + int32_t default_val = (int32_t)0; + int32_t ret; + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ScanToken_clear_token(pg_query_ScanToken* msg) { + const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ScanToken_token(const pg_query_ScanToken* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_ScanToken_clear_keyword_kind(pg_query_ScanToken* msg) { + const upb_MiniTableField field = {5, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_ScanToken_keyword_kind(const pg_query_ScanToken* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {5, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_ScanToken_set_start(pg_query_ScanToken* msg, int32_t value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ScanToken_set_end(pg_query_ScanToken* msg, int32_t value) { + const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ScanToken_set_token(pg_query_ScanToken* msg, int32_t value) { + const upb_MiniTableField field = {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_ScanToken_set_keyword_kind(pg_query_ScanToken* msg, int32_t value) { + const upb_MiniTableField field = {5, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SummaryResult */ +UPB_INLINE pg_query_SummaryResult* pg_query_SummaryResult_new(upb_Arena* arena) { + return (pg_query_SummaryResult*)_upb_Message_New(&pg_0query__SummaryResult_msg_init, arena); +} +UPB_INLINE pg_query_SummaryResult* pg_query_SummaryResult_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SummaryResult* ret = pg_query_SummaryResult_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SummaryResult_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SummaryResult* pg_query_SummaryResult_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SummaryResult* ret = pg_query_SummaryResult_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SummaryResult_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SummaryResult_serialize(const pg_query_SummaryResult* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SummaryResult_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SummaryResult_serialize_ex(const pg_query_SummaryResult* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SummaryResult_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SummaryResult_clear_tables(pg_query_SummaryResult* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SummaryResult_Table* const* pg_query_SummaryResult_tables(const pg_query_SummaryResult* msg, + size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Table_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_SummaryResult_Table* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SummaryResult_tables_upb_array( + const pg_query_SummaryResult* msg, size_t* size) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Table_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SummaryResult_tables_mutable_upb_array( + pg_query_SummaryResult* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Table_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SummaryResult_clear_aliases(pg_query_SummaryResult* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE size_t pg_query_SummaryResult_aliases_size(const pg_query_SummaryResult* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__AliasesEntry_msg_init); + const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field); + return map ? _upb_Map_Size(map) : 0; +} + +UPB_INLINE bool pg_query_SummaryResult_aliases_get(const pg_query_SummaryResult* msg, + upb_StringView key, upb_StringView* val) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__AliasesEntry_msg_init); + const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field); + if (!map) return false; + return _upb_Map_Get(map, &key, 0, val, 0); +} + +UPB_INLINE bool pg_query_SummaryResult_aliases_next(const pg_query_SummaryResult* msg, + upb_StringView* key, + upb_StringView* val, + size_t* iter) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__AliasesEntry_msg_init); + const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field); + if (!map) return false; + upb_MessageValue k; + upb_MessageValue v; + if (!upb_Map_Next(map, &k, &v, iter)) return false; + memcpy(key, &k, sizeof(*key)); + memcpy(val, &v, sizeof(*val)); + return true; +} + +// and ~ a upb_Map for mutable. +// +UPB_INLINE const upb_Map* _pg_query_SummaryResult_aliases_upb_map(pg_query_SummaryResult* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__AliasesEntry_msg_init); + return upb_Message_GetMap(UPB_UPCAST(msg), &field); +} + +UPB_INLINE upb_Map* _pg_query_SummaryResult_aliases_mutable_upb_map( + pg_query_SummaryResult* msg, upb_Arena* a) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__AliasesEntry_msg_init); + return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, + 0, 0, a); +} +UPB_INLINE void pg_query_SummaryResult_clear_cte_names(pg_query_SummaryResult* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView const* pg_query_SummaryResult_cte_names(const pg_query_SummaryResult* msg, + size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (upb_StringView const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SummaryResult_cte_names_upb_array( + const pg_query_SummaryResult* msg, size_t* size) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SummaryResult_cte_names_mutable_upb_array( + pg_query_SummaryResult* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SummaryResult_clear_functions(pg_query_SummaryResult* msg) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SummaryResult_Function* const* pg_query_SummaryResult_functions(const pg_query_SummaryResult* msg, + size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Function_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_SummaryResult_Function* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SummaryResult_functions_upb_array( + const pg_query_SummaryResult* msg, size_t* size) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Function_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SummaryResult_functions_mutable_upb_array( + pg_query_SummaryResult* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Function_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SummaryResult_clear_filter_columns(pg_query_SummaryResult* msg) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE const pg_query_SummaryResult_FilterColumn* const* pg_query_SummaryResult_filter_columns(const pg_query_SummaryResult* msg, + size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__FilterColumn_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (const pg_query_SummaryResult_FilterColumn* const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SummaryResult_filter_columns_upb_array( + const pg_query_SummaryResult* msg, size_t* size) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__FilterColumn_msg_init); + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SummaryResult_filter_columns_mutable_upb_array( + pg_query_SummaryResult* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__FilterColumn_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SummaryResult_clear_statement_types(pg_query_SummaryResult* msg) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView const* pg_query_SummaryResult_statement_types(const pg_query_SummaryResult* msg, + size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (upb_StringView const*)upb_Array_DataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +// +UPB_INLINE const upb_Array* _pg_query_SummaryResult_statement_types_upb_array( + const pg_query_SummaryResult* msg, size_t* size) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} + +UPB_INLINE upb_Array* _pg_query_SummaryResult_statement_types_mutable_upb_array( + pg_query_SummaryResult* msg, size_t* size, upb_Arena* arena) { + const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), + &field, arena); + if (size) { + *size = arr ? arr->UPB_PRIVATE(size) : 0; + } + return arr; +} +UPB_INLINE void pg_query_SummaryResult_clear_truncated_query(pg_query_SummaryResult* msg) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SummaryResult_truncated_query(const pg_query_SummaryResult* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {7, UPB_SIZE(32, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE pg_query_SummaryResult_Table** pg_query_SummaryResult_mutable_tables(pg_query_SummaryResult* msg, + size_t* size) { + upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Table_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_SummaryResult_Table**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_SummaryResult_Table** pg_query_SummaryResult_resize_tables(pg_query_SummaryResult* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Table_msg_init); + return (pg_query_SummaryResult_Table**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_SummaryResult_Table* pg_query_SummaryResult_add_tables( + pg_query_SummaryResult* msg, upb_Arena* arena) { + upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Table_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_SummaryResult_Table* sub = + (struct pg_query_SummaryResult_Table*)_upb_Message_New(&pg_0query__SummaryResult__Table_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE void pg_query_SummaryResult_aliases_clear(pg_query_SummaryResult* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__AliasesEntry_msg_init); + upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field); + if (!map) return; + _upb_Map_Clear(map); +} + +UPB_INLINE bool pg_query_SummaryResult_aliases_set(pg_query_SummaryResult* msg, upb_StringView key, + upb_StringView val, upb_Arena* a) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__AliasesEntry_msg_init); + upb_Map* map = _upb_Message_GetOrCreateMutableMap( + UPB_UPCAST(msg), &field, 0, 0, a); + return _upb_Map_Insert(map, &key, 0, &val, 0, a) != + kUpb_MapInsertStatus_OutOfMemory; +} + +UPB_INLINE bool pg_query_SummaryResult_aliases_delete(pg_query_SummaryResult* msg, upb_StringView key) { + const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__AliasesEntry_msg_init); + upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field); + if (!map) return false; + return _upb_Map_Delete(map, &key, 0, NULL); +} +UPB_INLINE upb_StringView* pg_query_SummaryResult_mutable_cte_names(pg_query_SummaryResult* msg, + size_t* size) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (upb_StringView*)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE upb_StringView* pg_query_SummaryResult_resize_cte_names(pg_query_SummaryResult* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE bool pg_query_SummaryResult_add_cte_names(pg_query_SummaryResult* msg, upb_StringView val, + upb_Arena* arena) { + upb_MiniTableField field = {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return false; + } + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE pg_query_SummaryResult_Function** pg_query_SummaryResult_mutable_functions(pg_query_SummaryResult* msg, + size_t* size) { + upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Function_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_SummaryResult_Function**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_SummaryResult_Function** pg_query_SummaryResult_resize_functions(pg_query_SummaryResult* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Function_msg_init); + return (pg_query_SummaryResult_Function**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_SummaryResult_Function* pg_query_SummaryResult_add_functions( + pg_query_SummaryResult* msg, upb_Arena* arena) { + upb_MiniTableField field = {4, UPB_SIZE(20, 48), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__Function_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_SummaryResult_Function* sub = + (struct pg_query_SummaryResult_Function*)_upb_Message_New(&pg_0query__SummaryResult__Function_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE pg_query_SummaryResult_FilterColumn** pg_query_SummaryResult_mutable_filter_columns(pg_query_SummaryResult* msg, + size_t* size) { + upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__FilterColumn_msg_init); + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (pg_query_SummaryResult_FilterColumn**)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE pg_query_SummaryResult_FilterColumn** pg_query_SummaryResult_resize_filter_columns(pg_query_SummaryResult* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__FilterColumn_msg_init); + return (pg_query_SummaryResult_FilterColumn**)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE struct pg_query_SummaryResult_FilterColumn* pg_query_SummaryResult_add_filter_columns( + pg_query_SummaryResult* msg, upb_Arena* arena) { + upb_MiniTableField field = {5, UPB_SIZE(24, 56), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + UPB_PRIVATE(_upb_MiniTable_StrongReference)(&pg_0query__SummaryResult__FilterColumn_msg_init); + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return NULL; + } + struct pg_query_SummaryResult_FilterColumn* sub = + (struct pg_query_SummaryResult_FilterColumn*)_upb_Message_New(&pg_0query__SummaryResult__FilterColumn_msg_init, arena); + if (!arr || !sub) return NULL; + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub)); + return sub; +} +UPB_INLINE upb_StringView* pg_query_SummaryResult_mutable_statement_types(pg_query_SummaryResult* msg, + size_t* size) { + upb_MiniTableField field = {6, UPB_SIZE(28, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); + if (arr) { + if (size) *size = arr->UPB_PRIVATE(size); + return (upb_StringView*)upb_Array_MutableDataPtr(arr); + } else { + if (size) *size = 0; + return NULL; + } +} + +UPB_INLINE upb_StringView* pg_query_SummaryResult_resize_statement_types(pg_query_SummaryResult* msg, + size_t size, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(28, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + return (upb_StringView*)upb_Message_ResizeArrayUninitialized( + UPB_UPCAST(msg), &field, size, arena); +} +UPB_INLINE bool pg_query_SummaryResult_add_statement_types(pg_query_SummaryResult* msg, upb_StringView val, + upb_Arena* arena) { + upb_MiniTableField field = {6, UPB_SIZE(28, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; + upb_Array* arr = upb_Message_GetOrCreateMutableArray( + UPB_UPCAST(msg), &field, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return false; + } + UPB_PRIVATE(_upb_Array_Set) + (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val)); + return true; +} +UPB_INLINE void pg_query_SummaryResult_set_truncated_query(pg_query_SummaryResult* msg, upb_StringView value) { + const upb_MiniTableField field = {7, UPB_SIZE(32, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SummaryResult.Table */ +UPB_INLINE pg_query_SummaryResult_Table* pg_query_SummaryResult_Table_new(upb_Arena* arena) { + return (pg_query_SummaryResult_Table*)_upb_Message_New(&pg_0query__SummaryResult__Table_msg_init, arena); +} +UPB_INLINE pg_query_SummaryResult_Table* pg_query_SummaryResult_Table_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SummaryResult_Table* ret = pg_query_SummaryResult_Table_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SummaryResult__Table_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SummaryResult_Table* pg_query_SummaryResult_Table_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SummaryResult_Table* ret = pg_query_SummaryResult_Table_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SummaryResult__Table_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SummaryResult_Table_serialize(const pg_query_SummaryResult_Table* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SummaryResult__Table_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SummaryResult_Table_serialize_ex(const pg_query_SummaryResult_Table* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SummaryResult__Table_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SummaryResult_Table_clear_name(pg_query_SummaryResult_Table* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SummaryResult_Table_name(const pg_query_SummaryResult_Table* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SummaryResult_Table_clear_schema_name(pg_query_SummaryResult_Table* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SummaryResult_Table_schema_name(const pg_query_SummaryResult_Table* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SummaryResult_Table_clear_table_name(pg_query_SummaryResult_Table* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SummaryResult_Table_table_name(const pg_query_SummaryResult_Table* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SummaryResult_Table_clear_context(pg_query_SummaryResult_Table* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SummaryResult_Table_context(const pg_query_SummaryResult_Table* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_SummaryResult_Table_set_name(pg_query_SummaryResult_Table* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SummaryResult_Table_set_schema_name(pg_query_SummaryResult_Table* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SummaryResult_Table_set_table_name(pg_query_SummaryResult_Table* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SummaryResult_Table_set_context(pg_query_SummaryResult_Table* msg, int32_t value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SummaryResult.Function */ +UPB_INLINE pg_query_SummaryResult_Function* pg_query_SummaryResult_Function_new(upb_Arena* arena) { + return (pg_query_SummaryResult_Function*)_upb_Message_New(&pg_0query__SummaryResult__Function_msg_init, arena); +} +UPB_INLINE pg_query_SummaryResult_Function* pg_query_SummaryResult_Function_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SummaryResult_Function* ret = pg_query_SummaryResult_Function_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SummaryResult__Function_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SummaryResult_Function* pg_query_SummaryResult_Function_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SummaryResult_Function* ret = pg_query_SummaryResult_Function_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SummaryResult__Function_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SummaryResult_Function_serialize(const pg_query_SummaryResult_Function* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SummaryResult__Function_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SummaryResult_Function_serialize_ex(const pg_query_SummaryResult_Function* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SummaryResult__Function_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SummaryResult_Function_clear_name(pg_query_SummaryResult_Function* msg) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SummaryResult_Function_name(const pg_query_SummaryResult_Function* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SummaryResult_Function_clear_function_name(pg_query_SummaryResult_Function* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SummaryResult_Function_function_name(const pg_query_SummaryResult_Function* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SummaryResult_Function_clear_schema_name(pg_query_SummaryResult_Function* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SummaryResult_Function_schema_name(const pg_query_SummaryResult_Function* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SummaryResult_Function_clear_context(pg_query_SummaryResult_Function* msg) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE int32_t pg_query_SummaryResult_Function_context(const pg_query_SummaryResult_Function* msg) { + int32_t default_val = 0; + int32_t ret; + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_SummaryResult_Function_set_name(pg_query_SummaryResult_Function* msg, upb_StringView value) { + const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SummaryResult_Function_set_function_name(pg_query_SummaryResult_Function* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SummaryResult_Function_set_schema_name(pg_query_SummaryResult_Function* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SummaryResult_Function_set_context(pg_query_SummaryResult_Function* msg, int32_t value) { + const upb_MiniTableField field = {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +/* pg_query.SummaryResult.FilterColumn */ +UPB_INLINE pg_query_SummaryResult_FilterColumn* pg_query_SummaryResult_FilterColumn_new(upb_Arena* arena) { + return (pg_query_SummaryResult_FilterColumn*)_upb_Message_New(&pg_0query__SummaryResult__FilterColumn_msg_init, arena); +} +UPB_INLINE pg_query_SummaryResult_FilterColumn* pg_query_SummaryResult_FilterColumn_parse(const char* buf, size_t size, + upb_Arena* arena) { + pg_query_SummaryResult_FilterColumn* ret = pg_query_SummaryResult_FilterColumn_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SummaryResult__FilterColumn_msg_init, NULL, 0, + arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE pg_query_SummaryResult_FilterColumn* pg_query_SummaryResult_FilterColumn_parse_ex( + const char* buf, size_t size, const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + pg_query_SummaryResult_FilterColumn* ret = pg_query_SummaryResult_FilterColumn_new(arena); + if (!ret) return NULL; + if (upb_Decode(buf, size, UPB_UPCAST(ret), &pg_0query__SummaryResult__FilterColumn_msg_init, extreg, + options, arena) != kUpb_DecodeStatus_Ok) { + return NULL; + } + return ret; +} +UPB_INLINE char* pg_query_SummaryResult_FilterColumn_serialize(const pg_query_SummaryResult_FilterColumn* msg, + upb_Arena* arena, size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SummaryResult__FilterColumn_msg_init, 0, arena, &ptr, len); + return ptr; +} +UPB_INLINE char* pg_query_SummaryResult_FilterColumn_serialize_ex(const pg_query_SummaryResult_FilterColumn* msg, + int options, upb_Arena* arena, + size_t* len) { + char* ptr; + (void)upb_Encode(UPB_UPCAST(msg), &pg_0query__SummaryResult__FilterColumn_msg_init, options, arena, &ptr, len); + return ptr; +} +UPB_INLINE void pg_query_SummaryResult_FilterColumn_clear_schema_name(pg_query_SummaryResult_FilterColumn* msg) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SummaryResult_FilterColumn_schema_name(const pg_query_SummaryResult_FilterColumn* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SummaryResult_FilterColumn_clear_table_name(pg_query_SummaryResult_FilterColumn* msg) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SummaryResult_FilterColumn_table_name(const pg_query_SummaryResult_FilterColumn* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} +UPB_INLINE void pg_query_SummaryResult_FilterColumn_clear_column(pg_query_SummaryResult_FilterColumn* msg) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_ClearBaseField(UPB_UPCAST(msg), &field); +} +UPB_INLINE upb_StringView pg_query_SummaryResult_FilterColumn_column(const pg_query_SummaryResult_FilterColumn* msg) { + upb_StringView default_val = upb_StringView_FromString(""); + upb_StringView ret; + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, + &default_val, &ret); + return ret; +} + +UPB_INLINE void pg_query_SummaryResult_FilterColumn_set_schema_name(pg_query_SummaryResult_FilterColumn* msg, upb_StringView value) { + const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SummaryResult_FilterColumn_set_table_name(pg_query_SummaryResult_FilterColumn* msg, upb_StringView value) { + const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} +UPB_INLINE void pg_query_SummaryResult_FilterColumn_set_column(pg_query_SummaryResult_FilterColumn* msg, upb_StringView value) { + const upb_MiniTableField field = {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}; + upb_Message_SetBaseField((upb_Message*)msg, &field, &value); +} + +#ifdef __cplusplus + } /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* PROTOBUF_PG_QUERY_PROTO_UPB_H__UPB_H_ */ diff --git a/protobuf/pg_query.upb_minitable.c b/protobuf/pg_query.upb_minitable.c new file mode 100644 index 000000000..7d4327a1b --- /dev/null +++ b/protobuf/pg_query.upb_minitable.c @@ -0,0 +1,10671 @@ +/* This file was generated by upb_generator from the input file: + * + * protobuf/pg_query.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. + * NO CHECKED-IN PROTOBUF GENCODE */ + +#include +#include "upb/generated_code_support.h" +#include "protobuf/pg_query.upb_minitable.h" + +// Must be last. +#include "upb/port/def.inc" + +extern const UPB_PRIVATE(upb_GeneratedExtensionListEntry)* UPB_PRIVATE(upb_generated_extension_list); +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__ParseResult_msg_init_Fields; + +static const pg_0query__ParseResult_msg_init_Fields pg_query_ParseResult__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RawStmt_msg_init}, +}}; + +const upb_MiniTable pg_0query__ParseResult_msg_init = { + &pg_query_ParseResult__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ParseResult", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f030012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__ScanResult_msg_init_Fields; + +static const pg_0query__ScanResult_msg_init_Fields pg_query_ScanResult__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__ScanToken_msg_init}, +}}; + +const upb_MiniTable pg_0query__ScanResult_msg_init = { + &pg_query_ScanResult__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ScanResult", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f030012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[271]; + upb_MiniTableSubInternal subs[271]; +} pg_0query__Node_msg_init_Fields; + +static const pg_0query__Node_msg_init_Fields pg_query_Node__fields = {{ + {1, UPB_SIZE(12, 16), -9, UPB_SIZE(813, 814), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), -9, UPB_SIZE(811, 813), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), -9, UPB_SIZE(809, 812), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), -9, UPB_SIZE(807, 811), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 16), -9, UPB_SIZE(805, 810), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 16), -9, UPB_SIZE(803, 809), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(12, 16), -9, UPB_SIZE(801, 808), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(12, 16), -9, UPB_SIZE(799, 807), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(12, 16), -9, UPB_SIZE(797, 806), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(12, 16), -9, UPB_SIZE(795, 805), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(12, 16), -9, UPB_SIZE(793, 804), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(12, 16), -9, UPB_SIZE(791, 803), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(12, 16), -9, UPB_SIZE(789, 802), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(12, 16), -9, UPB_SIZE(787, 801), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(12, 16), -9, UPB_SIZE(785, 800), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(12, 16), -9, UPB_SIZE(783, 799), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(12, 16), -9, UPB_SIZE(781, 798), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(12, 16), -9, UPB_SIZE(779, 797), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(12, 16), -9, UPB_SIZE(777, 796), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(12, 16), -9, UPB_SIZE(775, 795), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(12, 16), -9, UPB_SIZE(773, 794), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(12, 16), -9, UPB_SIZE(771, 793), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(12, 16), -9, UPB_SIZE(769, 792), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(12, 16), -9, UPB_SIZE(767, 791), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(12, 16), -9, UPB_SIZE(765, 790), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(12, 16), -9, UPB_SIZE(763, 789), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {27, UPB_SIZE(12, 16), -9, UPB_SIZE(761, 788), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {28, UPB_SIZE(12, 16), -9, UPB_SIZE(759, 787), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {29, UPB_SIZE(12, 16), -9, UPB_SIZE(757, 786), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(12, 16), -9, UPB_SIZE(755, 785), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {31, UPB_SIZE(12, 16), -9, UPB_SIZE(753, 784), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {32, UPB_SIZE(12, 16), -9, UPB_SIZE(751, 783), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(12, 16), -9, UPB_SIZE(749, 782), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {34, UPB_SIZE(12, 16), -9, UPB_SIZE(747, 781), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {35, UPB_SIZE(12, 16), -9, UPB_SIZE(745, 780), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {36, UPB_SIZE(12, 16), -9, UPB_SIZE(743, 779), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {37, UPB_SIZE(12, 16), -9, UPB_SIZE(741, 778), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {38, UPB_SIZE(12, 16), -9, UPB_SIZE(739, 777), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {39, UPB_SIZE(12, 16), -9, UPB_SIZE(737, 776), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {40, UPB_SIZE(12, 16), -9, UPB_SIZE(735, 775), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {41, UPB_SIZE(12, 16), -9, UPB_SIZE(733, 774), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {42, UPB_SIZE(12, 16), -9, UPB_SIZE(731, 773), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {43, UPB_SIZE(12, 16), -9, UPB_SIZE(729, 772), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {44, UPB_SIZE(12, 16), -9, UPB_SIZE(727, 771), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {45, UPB_SIZE(12, 16), -9, UPB_SIZE(725, 770), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {46, UPB_SIZE(12, 16), -9, UPB_SIZE(723, 769), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {47, UPB_SIZE(12, 16), -9, UPB_SIZE(721, 768), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {48, UPB_SIZE(12, 16), -9, UPB_SIZE(719, 767), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {49, UPB_SIZE(12, 16), -9, UPB_SIZE(717, 766), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {50, UPB_SIZE(12, 16), -9, UPB_SIZE(715, 765), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {51, UPB_SIZE(12, 16), -9, UPB_SIZE(713, 764), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {52, UPB_SIZE(12, 16), -9, UPB_SIZE(711, 763), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {53, UPB_SIZE(12, 16), -9, UPB_SIZE(709, 762), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {54, UPB_SIZE(12, 16), -9, UPB_SIZE(707, 761), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {55, UPB_SIZE(12, 16), -9, UPB_SIZE(705, 760), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {56, UPB_SIZE(12, 16), -9, UPB_SIZE(703, 759), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {57, UPB_SIZE(12, 16), -9, UPB_SIZE(701, 758), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {58, UPB_SIZE(12, 16), -9, UPB_SIZE(699, 757), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {59, UPB_SIZE(12, 16), -9, UPB_SIZE(697, 756), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {60, UPB_SIZE(12, 16), -9, UPB_SIZE(695, 755), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {61, UPB_SIZE(12, 16), -9, UPB_SIZE(693, 754), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {62, UPB_SIZE(12, 16), -9, UPB_SIZE(691, 753), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {63, UPB_SIZE(12, 16), -9, UPB_SIZE(689, 752), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {64, UPB_SIZE(12, 16), -9, UPB_SIZE(687, 751), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {65, UPB_SIZE(12, 16), -9, UPB_SIZE(685, 750), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {66, UPB_SIZE(12, 16), -9, UPB_SIZE(683, 749), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {67, UPB_SIZE(12, 16), -9, UPB_SIZE(681, 748), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {68, UPB_SIZE(12, 16), -9, UPB_SIZE(679, 747), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {69, UPB_SIZE(12, 16), -9, UPB_SIZE(677, 746), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {70, UPB_SIZE(12, 16), -9, UPB_SIZE(675, 745), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {71, UPB_SIZE(12, 16), -9, UPB_SIZE(673, 744), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {72, UPB_SIZE(12, 16), -9, UPB_SIZE(671, 743), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {73, UPB_SIZE(12, 16), -9, UPB_SIZE(669, 742), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {74, UPB_SIZE(12, 16), -9, UPB_SIZE(667, 741), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {75, UPB_SIZE(12, 16), -9, UPB_SIZE(665, 740), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {76, UPB_SIZE(12, 16), -9, UPB_SIZE(663, 739), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {77, UPB_SIZE(12, 16), -9, UPB_SIZE(661, 738), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {78, UPB_SIZE(12, 16), -9, UPB_SIZE(659, 737), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {79, UPB_SIZE(12, 16), -9, UPB_SIZE(657, 736), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {80, UPB_SIZE(12, 16), -9, UPB_SIZE(655, 735), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {81, UPB_SIZE(12, 16), -9, UPB_SIZE(653, 734), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {82, UPB_SIZE(12, 16), -9, UPB_SIZE(651, 733), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {83, UPB_SIZE(12, 16), -9, UPB_SIZE(649, 732), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {84, UPB_SIZE(12, 16), -9, UPB_SIZE(647, 731), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {85, UPB_SIZE(12, 16), -9, UPB_SIZE(645, 730), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {86, UPB_SIZE(12, 16), -9, UPB_SIZE(643, 729), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {87, UPB_SIZE(12, 16), -9, UPB_SIZE(641, 728), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {88, UPB_SIZE(12, 16), -9, UPB_SIZE(639, 727), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {89, UPB_SIZE(12, 16), -9, UPB_SIZE(637, 726), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {90, UPB_SIZE(12, 16), -9, UPB_SIZE(635, 725), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {91, UPB_SIZE(12, 16), -9, UPB_SIZE(633, 724), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {92, UPB_SIZE(12, 16), -9, UPB_SIZE(631, 723), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {93, UPB_SIZE(12, 16), -9, UPB_SIZE(629, 722), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {94, UPB_SIZE(12, 16), -9, UPB_SIZE(627, 721), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {95, UPB_SIZE(12, 16), -9, UPB_SIZE(625, 720), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {96, UPB_SIZE(12, 16), -9, UPB_SIZE(623, 719), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {97, UPB_SIZE(12, 16), -9, UPB_SIZE(621, 718), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {98, UPB_SIZE(12, 16), -9, UPB_SIZE(619, 717), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {99, UPB_SIZE(12, 16), -9, UPB_SIZE(617, 716), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {100, UPB_SIZE(12, 16), -9, UPB_SIZE(615, 715), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {101, UPB_SIZE(12, 16), -9, UPB_SIZE(613, 714), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {102, UPB_SIZE(12, 16), -9, UPB_SIZE(611, 713), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {103, UPB_SIZE(12, 16), -9, UPB_SIZE(609, 712), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {104, UPB_SIZE(12, 16), -9, UPB_SIZE(607, 711), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {105, UPB_SIZE(12, 16), -9, UPB_SIZE(605, 710), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {106, UPB_SIZE(12, 16), -9, UPB_SIZE(603, 709), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {107, UPB_SIZE(12, 16), -9, UPB_SIZE(601, 708), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {108, UPB_SIZE(12, 16), -9, UPB_SIZE(599, 707), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {109, UPB_SIZE(12, 16), -9, UPB_SIZE(597, 706), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {110, UPB_SIZE(12, 16), -9, UPB_SIZE(595, 705), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {111, UPB_SIZE(12, 16), -9, UPB_SIZE(593, 704), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {112, UPB_SIZE(12, 16), -9, UPB_SIZE(591, 703), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {113, UPB_SIZE(12, 16), -9, UPB_SIZE(589, 702), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {114, UPB_SIZE(12, 16), -9, UPB_SIZE(587, 701), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {115, UPB_SIZE(12, 16), -9, UPB_SIZE(585, 700), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {116, UPB_SIZE(12, 16), -9, UPB_SIZE(583, 699), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {117, UPB_SIZE(12, 16), -9, UPB_SIZE(581, 698), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {118, UPB_SIZE(12, 16), -9, UPB_SIZE(579, 697), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {119, UPB_SIZE(12, 16), -9, UPB_SIZE(577, 696), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {120, UPB_SIZE(12, 16), -9, UPB_SIZE(575, 695), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {121, UPB_SIZE(12, 16), -9, UPB_SIZE(573, 694), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {122, UPB_SIZE(12, 16), -9, UPB_SIZE(571, 693), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {123, UPB_SIZE(12, 16), -9, UPB_SIZE(569, 692), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {124, UPB_SIZE(12, 16), -9, UPB_SIZE(567, 691), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {125, UPB_SIZE(12, 16), -9, UPB_SIZE(565, 690), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {126, UPB_SIZE(12, 16), -9, UPB_SIZE(563, 689), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {127, UPB_SIZE(12, 16), -9, UPB_SIZE(561, 688), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {128, UPB_SIZE(12, 16), -9, UPB_SIZE(559, 687), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {129, UPB_SIZE(12, 16), -9, UPB_SIZE(557, 686), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {130, UPB_SIZE(12, 16), -9, UPB_SIZE(555, 685), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {131, UPB_SIZE(12, 16), -9, UPB_SIZE(553, 684), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {132, UPB_SIZE(12, 16), -9, UPB_SIZE(551, 683), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {133, UPB_SIZE(12, 16), -9, UPB_SIZE(549, 682), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {134, UPB_SIZE(12, 16), -9, UPB_SIZE(547, 681), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {135, UPB_SIZE(12, 16), -9, UPB_SIZE(545, 680), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {136, UPB_SIZE(12, 16), -9, UPB_SIZE(543, 679), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {137, UPB_SIZE(12, 16), -9, UPB_SIZE(541, 678), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {138, UPB_SIZE(12, 16), -9, UPB_SIZE(539, 677), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {139, UPB_SIZE(12, 16), -9, UPB_SIZE(537, 676), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {140, UPB_SIZE(12, 16), -9, UPB_SIZE(535, 675), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {141, UPB_SIZE(12, 16), -9, UPB_SIZE(533, 674), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {142, UPB_SIZE(12, 16), -9, UPB_SIZE(531, 673), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {143, UPB_SIZE(12, 16), -9, UPB_SIZE(529, 672), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {144, UPB_SIZE(12, 16), -9, UPB_SIZE(527, 671), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {145, UPB_SIZE(12, 16), -9, UPB_SIZE(525, 670), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {146, UPB_SIZE(12, 16), -9, UPB_SIZE(523, 669), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {147, UPB_SIZE(12, 16), -9, UPB_SIZE(521, 668), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {148, UPB_SIZE(12, 16), -9, UPB_SIZE(519, 667), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {149, UPB_SIZE(12, 16), -9, UPB_SIZE(517, 666), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {150, UPB_SIZE(12, 16), -9, UPB_SIZE(515, 665), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {151, UPB_SIZE(12, 16), -9, UPB_SIZE(513, 664), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {152, UPB_SIZE(12, 16), -9, UPB_SIZE(511, 663), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {153, UPB_SIZE(12, 16), -9, UPB_SIZE(509, 662), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {154, UPB_SIZE(12, 16), -9, UPB_SIZE(507, 661), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {155, UPB_SIZE(12, 16), -9, UPB_SIZE(505, 660), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {156, UPB_SIZE(12, 16), -9, UPB_SIZE(503, 659), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {157, UPB_SIZE(12, 16), -9, UPB_SIZE(501, 658), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {158, UPB_SIZE(12, 16), -9, UPB_SIZE(499, 657), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {159, UPB_SIZE(12, 16), -9, UPB_SIZE(497, 656), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {160, UPB_SIZE(12, 16), -9, UPB_SIZE(495, 655), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {161, UPB_SIZE(12, 16), -9, UPB_SIZE(493, 654), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {162, UPB_SIZE(12, 16), -9, UPB_SIZE(491, 653), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {163, UPB_SIZE(12, 16), -9, UPB_SIZE(489, 652), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {164, UPB_SIZE(12, 16), -9, UPB_SIZE(487, 651), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {165, UPB_SIZE(12, 16), -9, UPB_SIZE(485, 650), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {166, UPB_SIZE(12, 16), -9, UPB_SIZE(483, 649), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {167, UPB_SIZE(12, 16), -9, UPB_SIZE(481, 648), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {168, UPB_SIZE(12, 16), -9, UPB_SIZE(479, 647), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {169, UPB_SIZE(12, 16), -9, UPB_SIZE(477, 646), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {170, UPB_SIZE(12, 16), -9, UPB_SIZE(475, 645), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {171, UPB_SIZE(12, 16), -9, UPB_SIZE(473, 644), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {172, UPB_SIZE(12, 16), -9, UPB_SIZE(471, 643), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {173, UPB_SIZE(12, 16), -9, UPB_SIZE(469, 642), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {174, UPB_SIZE(12, 16), -9, UPB_SIZE(467, 641), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {175, UPB_SIZE(12, 16), -9, UPB_SIZE(465, 640), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {176, UPB_SIZE(12, 16), -9, UPB_SIZE(463, 639), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {177, UPB_SIZE(12, 16), -9, UPB_SIZE(461, 638), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {178, UPB_SIZE(12, 16), -9, UPB_SIZE(459, 637), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {179, UPB_SIZE(12, 16), -9, UPB_SIZE(457, 636), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {180, UPB_SIZE(12, 16), -9, UPB_SIZE(455, 635), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {181, UPB_SIZE(12, 16), -9, UPB_SIZE(453, 634), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {182, UPB_SIZE(12, 16), -9, UPB_SIZE(451, 633), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {183, UPB_SIZE(12, 16), -9, UPB_SIZE(449, 632), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {184, UPB_SIZE(12, 16), -9, UPB_SIZE(447, 631), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {185, UPB_SIZE(12, 16), -9, UPB_SIZE(445, 630), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {186, UPB_SIZE(12, 16), -9, UPB_SIZE(443, 629), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {187, UPB_SIZE(12, 16), -9, UPB_SIZE(441, 628), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {188, UPB_SIZE(12, 16), -9, UPB_SIZE(439, 627), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {189, UPB_SIZE(12, 16), -9, UPB_SIZE(437, 626), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {190, UPB_SIZE(12, 16), -9, UPB_SIZE(435, 625), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {191, UPB_SIZE(12, 16), -9, UPB_SIZE(433, 624), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {192, UPB_SIZE(12, 16), -9, UPB_SIZE(431, 623), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {193, UPB_SIZE(12, 16), -9, UPB_SIZE(429, 622), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {194, UPB_SIZE(12, 16), -9, UPB_SIZE(427, 621), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {195, UPB_SIZE(12, 16), -9, UPB_SIZE(425, 620), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {196, UPB_SIZE(12, 16), -9, UPB_SIZE(423, 619), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {197, UPB_SIZE(12, 16), -9, UPB_SIZE(421, 618), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {198, UPB_SIZE(12, 16), -9, UPB_SIZE(419, 617), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {199, UPB_SIZE(12, 16), -9, UPB_SIZE(417, 616), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {200, UPB_SIZE(12, 16), -9, UPB_SIZE(415, 615), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {201, UPB_SIZE(12, 16), -9, UPB_SIZE(413, 614), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {202, UPB_SIZE(12, 16), -9, UPB_SIZE(411, 613), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {203, UPB_SIZE(12, 16), -9, UPB_SIZE(409, 612), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {204, UPB_SIZE(12, 16), -9, UPB_SIZE(407, 611), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {205, UPB_SIZE(12, 16), -9, UPB_SIZE(405, 610), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {206, UPB_SIZE(12, 16), -9, UPB_SIZE(403, 609), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {207, UPB_SIZE(12, 16), -9, UPB_SIZE(401, 608), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {208, UPB_SIZE(12, 16), -9, UPB_SIZE(399, 607), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {209, UPB_SIZE(12, 16), -9, UPB_SIZE(397, 606), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {210, UPB_SIZE(12, 16), -9, UPB_SIZE(395, 605), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {211, UPB_SIZE(12, 16), -9, UPB_SIZE(393, 604), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {212, UPB_SIZE(12, 16), -9, UPB_SIZE(391, 603), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {213, UPB_SIZE(12, 16), -9, UPB_SIZE(389, 602), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {214, UPB_SIZE(12, 16), -9, UPB_SIZE(387, 601), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {215, UPB_SIZE(12, 16), -9, UPB_SIZE(385, 600), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {216, UPB_SIZE(12, 16), -9, UPB_SIZE(383, 599), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {217, UPB_SIZE(12, 16), -9, UPB_SIZE(381, 598), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {218, UPB_SIZE(12, 16), -9, UPB_SIZE(379, 597), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {219, UPB_SIZE(12, 16), -9, UPB_SIZE(377, 596), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {220, UPB_SIZE(12, 16), -9, UPB_SIZE(375, 595), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {221, UPB_SIZE(12, 16), -9, UPB_SIZE(373, 594), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {222, UPB_SIZE(12, 16), -9, UPB_SIZE(371, 593), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {223, UPB_SIZE(12, 16), -9, UPB_SIZE(369, 592), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {224, UPB_SIZE(12, 16), -9, UPB_SIZE(367, 591), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {225, UPB_SIZE(12, 16), -9, UPB_SIZE(365, 590), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {226, UPB_SIZE(12, 16), -9, UPB_SIZE(363, 589), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {227, UPB_SIZE(12, 16), -9, UPB_SIZE(361, 588), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {228, UPB_SIZE(12, 16), -9, UPB_SIZE(359, 587), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {229, UPB_SIZE(12, 16), -9, UPB_SIZE(357, 586), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {230, UPB_SIZE(12, 16), -9, UPB_SIZE(355, 585), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {231, UPB_SIZE(12, 16), -9, UPB_SIZE(353, 584), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {232, UPB_SIZE(12, 16), -9, UPB_SIZE(351, 583), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {233, UPB_SIZE(12, 16), -9, UPB_SIZE(349, 582), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {234, UPB_SIZE(12, 16), -9, UPB_SIZE(347, 581), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {235, UPB_SIZE(12, 16), -9, UPB_SIZE(345, 580), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {236, UPB_SIZE(12, 16), -9, UPB_SIZE(343, 579), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {237, UPB_SIZE(12, 16), -9, UPB_SIZE(341, 578), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {238, UPB_SIZE(12, 16), -9, UPB_SIZE(339, 577), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {239, UPB_SIZE(12, 16), -9, UPB_SIZE(337, 576), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {240, UPB_SIZE(12, 16), -9, UPB_SIZE(335, 575), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {241, UPB_SIZE(12, 16), -9, UPB_SIZE(333, 574), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {242, UPB_SIZE(12, 16), -9, UPB_SIZE(331, 573), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {243, UPB_SIZE(12, 16), -9, UPB_SIZE(329, 572), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {244, UPB_SIZE(12, 16), -9, UPB_SIZE(327, 571), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {245, UPB_SIZE(12, 16), -9, UPB_SIZE(325, 570), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {246, UPB_SIZE(12, 16), -9, UPB_SIZE(323, 569), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {247, UPB_SIZE(12, 16), -9, UPB_SIZE(321, 568), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {248, UPB_SIZE(12, 16), -9, UPB_SIZE(319, 567), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {249, UPB_SIZE(12, 16), -9, UPB_SIZE(317, 566), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {250, UPB_SIZE(12, 16), -9, UPB_SIZE(315, 565), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {251, UPB_SIZE(12, 16), -9, UPB_SIZE(313, 564), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {252, UPB_SIZE(12, 16), -9, UPB_SIZE(311, 563), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {253, UPB_SIZE(12, 16), -9, UPB_SIZE(309, 562), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {254, UPB_SIZE(12, 16), -9, UPB_SIZE(307, 561), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {255, UPB_SIZE(12, 16), -9, UPB_SIZE(305, 560), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {256, UPB_SIZE(12, 16), -9, UPB_SIZE(303, 559), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {257, UPB_SIZE(12, 16), -9, UPB_SIZE(301, 558), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {258, UPB_SIZE(12, 16), -9, UPB_SIZE(299, 557), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {259, UPB_SIZE(12, 16), -9, UPB_SIZE(297, 556), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {260, UPB_SIZE(12, 16), -9, UPB_SIZE(295, 555), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {261, UPB_SIZE(12, 16), -9, UPB_SIZE(293, 554), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {262, UPB_SIZE(12, 16), -9, UPB_SIZE(291, 553), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {263, UPB_SIZE(12, 16), -9, UPB_SIZE(289, 552), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {264, UPB_SIZE(12, 16), -9, UPB_SIZE(287, 551), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {265, UPB_SIZE(12, 16), -9, UPB_SIZE(285, 550), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {266, UPB_SIZE(12, 16), -9, UPB_SIZE(283, 549), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {267, UPB_SIZE(12, 16), -9, UPB_SIZE(281, 548), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {268, UPB_SIZE(12, 16), -9, UPB_SIZE(279, 547), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {269, UPB_SIZE(12, 16), -9, UPB_SIZE(277, 546), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {270, UPB_SIZE(12, 16), -9, UPB_SIZE(275, 545), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {271, UPB_SIZE(12, 16), -9, UPB_SIZE(273, 544), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TableFunc_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__IntoClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Var_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Param_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Aggref_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__GroupingFunc_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WindowFunc_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WindowFuncRunCondition_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__MergeSupportFunc_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SubscriptingRef_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__FuncExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__NamedArgExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__OpExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DistinctExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__NullIfExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ScalarArrayOpExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__BoolExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SubLink_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SubPlan_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlternativeSubPlan_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__FieldSelect_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__FieldStore_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RelabelType_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CoerceViaIO_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ArrayCoerceExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ConvertRowtypeExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CollateExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CaseExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CaseWhen_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CaseTestExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ArrayExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RowExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RowCompareExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CoalesceExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__MinMaxExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SQLValueFunction_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__XmlExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonFormat_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonReturning_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonValueExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonConstructorExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonIsPredicate_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonBehavior_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonTablePath_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonTablePathScan_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonTableSiblingJoin_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__NullTest_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__BooleanTest_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__MergeAction_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CoerceToDomain_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CoerceToDomainValue_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SetToDefault_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CurrentOfExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__NextValueExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__InferenceElem_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReturningExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TargetEntry_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeTblRef_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JoinExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__FromExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__OnConflictExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Query_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ColumnRef_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ParamRef_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__A_0Expr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TypeCast_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CollateClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__FuncCall_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__A_0Star_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__A_0Indices_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__A_0Indirection_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__A_0ArrayExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ResTarget_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__MultiAssignRef_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SortBy_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WindowDef_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeSubselect_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeFunction_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeTableFunc_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeTableFuncCol_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeTableSample_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ColumnDef_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TableLikeClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__IndexElem_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DefElem_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__LockingClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__XmlSerialize_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PartitionElem_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PartitionSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PartitionBoundSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PartitionRangeDatum_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PartitionCmd_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeTblEntry_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RTEPermissionInfo_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeTblFunction_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TableSampleClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WithCheckOption_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SortGroupClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__GroupingSet_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WindowClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RowMarkClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WithClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__InferClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__OnConflictClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CTESearchClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CTECycleClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CommonTableExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__MergeWhenClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReturningOption_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReturningClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TriggerTransition_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonOutput_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonArgument_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonFuncExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonTablePathSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonTable_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonTableColumn_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonKeyValue_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonParseExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonScalarExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonSerializeExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonObjectConstructor_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonArrayConstructor_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonArrayQueryConstructor_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonAggConstructor_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonObjectAgg_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonArrayAgg_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RawStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__InsertStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DeleteStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__UpdateStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__MergeStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SelectStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SetOperationStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReturnStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PLAssignStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateSchemaStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterTableStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterTableCmd_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ATAlterConstraint_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReplicaIdentityStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterCollationStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterDomainStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__GrantStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ObjectWithArgs_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AccessPriv_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__GrantRoleStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterDefaultPrivilegesStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CopyStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__VariableSetStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__VariableShowStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Constraint_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateTableSpaceStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DropTableSpaceStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterTableSpaceOptionsStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterTableMoveAllStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateExtensionStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterExtensionStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterExtensionContentsStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateFdwStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterFdwStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateForeignServerStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterForeignServerStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateForeignTableStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateUserMappingStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterUserMappingStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DropUserMappingStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ImportForeignSchemaStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreatePolicyStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterPolicyStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateAmStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateTrigStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateEventTrigStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterEventTrigStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreatePLangStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateRoleStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterRoleStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterRoleSetStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DropRoleStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateSeqStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterSeqStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DefineStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateDomainStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateOpClassStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateOpClassItem_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateOpFamilyStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterOpFamilyStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DropStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TruncateStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CommentStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SecLabelStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DeclareCursorStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ClosePortalStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__FetchStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__IndexStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateStatsStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__StatsElem_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterStatsStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateFunctionStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__FunctionParameter_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterFunctionStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DoStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__InlineCodeBlock_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CallStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CallContext_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RenameStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterObjectDependsStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterObjectSchemaStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterOwnerStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterOperatorStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterTypeStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RuleStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__NotifyStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ListenStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__UnlistenStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TransactionStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CompositeTypeStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateEnumStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateRangeStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterEnumStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ViewStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__LoadStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreatedbStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterDatabaseStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterDatabaseRefreshCollStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterDatabaseSetStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DropdbStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterSystemStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ClusterStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__VacuumStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__VacuumRelation_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ExplainStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateTableAsStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RefreshMatViewStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CheckPointStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DiscardStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__LockStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ConstraintsSetStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReindexStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateConversionStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateCastStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateTransformStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PrepareStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ExecuteStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DeallocateStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DropOwnedStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReassignOwnedStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterTSDictionaryStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterTSConfigurationStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PublicationTable_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PublicationObjSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreatePublicationStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterPublicationStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CreateSubscriptionStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__AlterSubscriptionStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__DropSubscriptionStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Integer_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Float_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Boolean_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__String_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__BitString_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__List_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__IntList_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__OidList_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__A_0Const_msg_init}, +}}; + +const upb_MiniTable pg_0query__Node_msg_init = { + &pg_query_Node__fields.fields[0], + UPB_SIZE(16, 24), 271, kUpb_ExtMode_NonExtendable, 15, UPB_FASTTABLE_MASK(255), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.Node", +#endif +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__Integer_msg_init_Fields; + +static const pg_0query__Integer_msg_init_Fields pg_query_Integer__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__Integer_msg_init = { + &pg_query_Integer__fields.fields[0], + 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.Integer", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__Float_msg_init_Fields; + +static const pg_0query__Float_msg_init_Fields pg_query_Float__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__Float_msg_init = { + &pg_query_Float__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.Float", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__Boolean_msg_init_Fields; + +static const pg_0query__Boolean_msg_init_Fields pg_query_Boolean__fields = {{ + {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__Boolean_msg_init = { + &pg_query_Boolean__fields.fields[0], + 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.Boolean", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__String_msg_init_Fields; + +static const pg_0query__String_msg_init_Fields pg_query_String__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__String_msg_init = { + &pg_query_String__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.String", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__BitString_msg_init_Fields; + +static const pg_0query__BitString_msg_init_Fields pg_query_BitString__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__BitString_msg_init = { + &pg_query_BitString__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.BitString", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__List_msg_init_Fields; + +static const pg_0query__List_msg_init_Fields pg_query_List__fields = {{ + {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__List_msg_init = { + &pg_query_List__fields.fields[0], + 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.List", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f02000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__OidList_msg_init_Fields; + +static const pg_0query__OidList_msg_init_Fields pg_query_OidList__fields = {{ + {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__OidList_msg_init = { + &pg_query_OidList__fields.fields[0], + 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.OidList", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f02000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__IntList_msg_init_Fields; + +static const pg_0query__IntList_msg_init_Fields pg_query_IntList__fields = {{ + {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__IntList_msg_init = { + &pg_query_IntList__fields.fields[0], + 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.IntList", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f02000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[5]; +} pg_0query__A_0Const_msg_init_Fields; + +static const pg_0query__A_0Const_msg_init_Fields pg_query_A_Const__fields = {{ + {1, UPB_SIZE(20, 24), -17, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 24), -17, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), -17, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 24), -17, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 24), -17, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {11, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Integer_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Float_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Boolean_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__String_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__BitString_msg_init}, +}}; + +const upb_MiniTable pg_0query__A_0Const_msg_init = { + &pg_query_A_Const__fields.fields[0], + UPB_SIZE(24, 32), 7, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.A_Const", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00180010010b000a, &upb_DecodeFast_Message_Oneof_Tag1Byte}, + {0x00180010020c0012, &upb_DecodeFast_Message_Oneof_Tag1Byte}, + {0x00180010030d001a, &upb_DecodeFast_Message_Oneof_Tag1Byte}, + {0x00180010040e0022, &upb_DecodeFast_Message_Oneof_Tag1Byte}, + {0x00180010050f002a, &upb_DecodeFast_Message_Oneof_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000050, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000058, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__Alias_msg_init_Fields; + +static const pg_0query__Alias_msg_init_Fields pg_query_Alias__fields = {{ + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__Alias_msg_init = { + &pg_query_Alias__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.Alias", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f030012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__RangeVar_msg_init_Fields; + +static const pg_0query__RangeVar_msg_init_Fields pg_query_RangeVar__fields = {{ + {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(44, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 80), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, +}}; + +const upb_MiniTable pg_0query__RangeVar_msg_init = { + &pg_query_RangeVar__fields.fields[0], + UPB_SIZE(56, 88), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RangeVar", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x004000003f00002a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00500000000b0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[17]; + upb_MiniTableSubInternal subs[13]; +} pg_0query__TableFunc_msg_init_Fields; + +static const pg_0query__TableFunc_msg_init_Fields pg_query_TableFunc__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(48, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 64, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 48), 65, UPB_SIZE(42, 46), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 56), 0, UPB_SIZE(40, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 64), 0, UPB_SIZE(38, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(40, 72), 0, UPB_SIZE(36, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(44, 80), 0, UPB_SIZE(34, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(48, 88), 0, UPB_SIZE(32, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(52, 96), 0, UPB_SIZE(30, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(56, 104), 0, UPB_SIZE(28, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(60, 112), 0, UPB_SIZE(26, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(64, 120), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(68, 128), 66, UPB_SIZE(21, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(72, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(76, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__TableFunc_msg_init = { + &pg_query_TableFunc__fields.fields[0], + UPB_SIZE(80, 136), 17, kUpb_ExtMode_NonExtendable, 17, UPB_FASTTABLE_MASK(248), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.TableFunc", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f1a0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f1b001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00280000001c0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00300000011d002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003800003f1e0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x004000003f1f003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x004800003f200042, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005000003f21004a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005800003f220052, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x006000003f23005a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x006800003f240062, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x007000003f25006a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x007800003f000072, &upb_DecodeFast_Varint64_Packed_Tag1Byte}, + {0x008000000226007a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000180, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x001400003f000188, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__IntoClause_msg_init_Fields; + +static const pg_0query__IntoClause_msg_init_Fields pg_query_IntoClause__fields = {{ + {1, UPB_SIZE(12, 48), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 56), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 64), 0, UPB_SIZE(17, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(40, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 72), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Query_msg_init}, +}}; + +const upb_MiniTable pg_0query__IntoClause_msg_init = { + &pg_query_IntoClause__fields.fields[0], + UPB_SIZE(48, 80), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.IntoClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00300000000c000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003800003f0d0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x004000003f0e0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000032, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00480000010f003a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[10]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__Var_msg_init_Fields; + +static const pg_0query__Var_msg_init_Fields pg_query_Var__fields = {{ + {1, UPB_SIZE(12, 48), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(40, 32), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(44, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(48, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__Var_msg_init = { + &pg_query_Var__fields.fields[0], + UPB_SIZE(56, 64), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.Var", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00300000000f000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x003800003f00003a, &upb_DecodeFast_Varint64_Packed_Tag1Byte}, + {0x002000003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002400003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002800003f000050, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__Param_msg_init_Fields; + +static const pg_0query__Param_msg_init_Fields pg_query_Param__fields = {{ + {1, UPB_SIZE(12, 40), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__Param_msg_init = { + &pg_query_Param__fields.fields[0], + UPB_SIZE(40, 48), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.Param", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00280000000b000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[19]; + upb_MiniTableSubInternal subs[7]; +} pg_0query__Aggref_msg_init_Fields; + +static const pg_0query__Aggref_msg_init_Fields pg_query_Aggref__fields = {{ + {1, UPB_SIZE(12, 64), 64, UPB_SIZE(57, 58), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 72), 0, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 80), 0, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(40, 88), 0, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(44, 96), 0, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(48, 104), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(52, 112), 65, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {13, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(76, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(56, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(60, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(64, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(68, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(72, 44), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__Aggref_msg_init = { + &pg_query_Aggref__fields.fields[0], + UPB_SIZE(88, 120), 19, kUpb_ExtMode_NonExtendable, 19, UPB_FASTTABLE_MASK(248), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.Aggref", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00400000001d000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x004800003f1e0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005000003f1f003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005800003f200042, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x006000003f21004a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x006800003f220052, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x007000000123005a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000060, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000068, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x003000003f000072, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001c00003f000078, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000180, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x002400003f000188, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x002800003f000190, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x002c00003f000198, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__GroupingFunc_msg_init_Fields; + +static const pg_0query__GroupingFunc_msg_init_Fields pg_query_GroupingFunc__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__GroupingFunc_msg_init = { + &pg_query_GroupingFunc__fields.fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.GroupingFunc", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f090012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0a001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[12]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__WindowFunc_msg_init_Fields; + +static const pg_0query__WindowFunc_msg_init_Fields pg_query_WindowFunc__fields = {{ + {1, UPB_SIZE(12, 40), 64, 36, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 48), 0, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 56), 65, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(40, 64), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(44, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(48, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__WindowFunc_msg_init = { + &pg_query_WindowFunc__fields.fields[0], + UPB_SIZE(56, 72), 12, kUpb_ExtMode_NonExtendable, 12, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.WindowFunc", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002800000012000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x003000003f130032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800000114003a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x004000003f150042, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001c00003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000050, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000058, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x002000003f000060, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__WindowFuncRunCondition_msg_init_Fields; + +static const pg_0query__WindowFuncRunCondition_msg_init_Fields pg_query_WindowFuncRunCondition__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 32), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__WindowFuncRunCondition_msg_init = { + &pg_query_WindowFuncRunCondition__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.WindowFuncRunCondition", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x002000000109002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__MergeSupportFunc_msg_init_Fields; + +static const pg_0query__MergeSupportFunc_msg_init_Fields pg_query_MergeSupportFunc__fields = {{ + {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__MergeSupportFunc_msg_init = { + &pg_query_MergeSupportFunc__fields.fields[0], + 32, 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.MergeSupportFunc", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[10]; + upb_MiniTableSubInternal subs[5]; +} pg_0query__SubscriptingRef_msg_init_Fields; + +static const pg_0query__SubscriptingRef_msg_init_Fields pg_query_SubscriptingRef__fields = {{ + {1, UPB_SIZE(12, 32), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 40), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(40, 48), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(44, 56), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(48, 64), 66, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__SubscriptingRef_msg_init = { + &pg_query_SubscriptingRef__fields.fields[0], + UPB_SIZE(56, 72), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SubscriptingRef", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00200000000f000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002800003f10003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000003f110042, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800000112004a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0040000002130052, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[10]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__FuncExpr_msg_init_Fields; + +static const pg_0query__FuncExpr_msg_init_Fields pg_query_FuncExpr__fields = {{ + {1, UPB_SIZE(12, 40), 64, 30, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 48), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(40, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__FuncExpr_msg_init = { + &pg_query_FuncExpr__fields.fields[0], + UPB_SIZE(48, 56), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.FuncExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00280000000f000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001400003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x003000003f10004a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f000050, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__NamedArgExpr_msg_init_Fields; + +static const pg_0query__NamedArgExpr_msg_init_Fields pg_query_NamedArgExpr__fields = {{ + {1, UPB_SIZE(12, 40), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 48), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__NamedArgExpr_msg_init = { + &pg_query_NamedArgExpr__fields.fields[0], + UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.NamedArgExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002800000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0030000001090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__OpExpr_msg_init_Fields; + +static const pg_0query__OpExpr_msg_init_Fields pg_query_OpExpr__fields = {{ + {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__OpExpr_msg_init = { + &pg_query_OpExpr__fields.fields[0], + UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.OpExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00200000000c000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002800003f0d003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001c00003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__DistinctExpr_msg_init_Fields; + +static const pg_0query__DistinctExpr_msg_init_Fields pg_query_DistinctExpr__fields = {{ + {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__DistinctExpr_msg_init = { + &pg_query_DistinctExpr__fields.fields[0], + UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DistinctExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00200000000c000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002800003f0d003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001c00003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__NullIfExpr_msg_init_Fields; + +static const pg_0query__NullIfExpr_msg_init_Fields pg_query_NullIfExpr__fields = {{ + {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__NullIfExpr_msg_init = { + &pg_query_NullIfExpr__fields.fields[0], + UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.NullIfExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00200000000c000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002800003f0d003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001c00003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ScalarArrayOpExpr_msg_init_Fields; + +static const pg_0query__ScalarArrayOpExpr_msg_init_Fields pg_query_ScalarArrayOpExpr__fields = {{ + {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ScalarArrayOpExpr_msg_init = { + &pg_query_ScalarArrayOpExpr__fields.fields[0], + UPB_SIZE(32, 40), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ScalarArrayOpExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000009000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f0a002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001400003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__BoolExpr_msg_init_Fields; + +static const pg_0query__BoolExpr_msg_init_Fields pg_query_BoolExpr__fields = {{ + {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__BoolExpr_msg_init = { + &pg_query_BoolExpr__fields.fields[0], + UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.BoolExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f07001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__SubLink_msg_init_Fields; + +static const pg_0query__SubLink_msg_init_Fields pg_query_SubLink__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 48), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__SubLink_msg_init = { + &pg_query_SubLink__fields.fields[0], + UPB_SIZE(40, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SubLink", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00180000000b000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x00200000010c0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f0d002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00300000020e0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001400003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[17]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__SubPlan_msg_init_Fields; + +static const pg_0query__SubPlan_msg_init_Fields pg_query_SubPlan__fields = {{ + {1, UPB_SIZE(12, 48), 64, UPB_SIZE(51, 52), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 56), 65, UPB_SIZE(46, 48), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 64), 0, UPB_SIZE(44, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(56, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(40, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {12, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(44, 72), 0, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(48, 80), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(52, 88), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(64, 96), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(72, 104), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__SubPlan_msg_init = { + &pg_query_SubPlan__fields.fields[0], + UPB_SIZE(80, 112), 17, kUpb_ExtMode_NonExtendable, 17, UPB_FASTTABLE_MASK(248), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SubPlan", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00300000001a000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x00380000011b001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x004000003f1c0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000032, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001400003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000050, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000058, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000b00003f000060, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x004800003f1d006a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005000003f1e0072, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005800003f1f007a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x006000003f000181, &upb_DecodeFast_Fixed64_Scalar_Tag2Byte}, + {0x006800003f000189, &upb_DecodeFast_Fixed64_Scalar_Tag2Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlternativeSubPlan_msg_init_Fields; + +static const pg_0query__AlternativeSubPlan_msg_init_Fields pg_query_AlternativeSubPlan__fields = {{ + {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlternativeSubPlan_msg_init = { + &pg_query_AlternativeSubPlan__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlternativeSubPlan", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000003000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f040012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__FieldSelect_msg_init_Fields; + +static const pg_0query__FieldSelect_msg_init_Fields pg_query_FieldSelect__fields = {{ + {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__FieldSelect_msg_init = { + &pg_query_FieldSelect__fields.fields[0], + UPB_SIZE(40, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.FieldSelect", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000009000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00280000010a0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__FieldStore_msg_init_Fields; + +static const pg_0query__FieldStore_msg_init_Fields pg_query_FieldStore__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__FieldStore_msg_init = { + &pg_query_FieldStore__fields.fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.FieldStore", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f0a001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0b0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__RelabelType_msg_init_Fields; + +static const pg_0query__RelabelType_msg_init_Fields pg_query_RelabelType__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 40), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RelabelType_msg_init = { + &pg_query_RelabelType__fields.fields[0], + UPB_SIZE(40, 48), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RelabelType", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00200000000b000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00280000010c0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CoerceViaIO_msg_init_Fields; + +static const pg_0query__CoerceViaIO_msg_init_Fields pg_query_CoerceViaIO__fields = {{ + {1, UPB_SIZE(12, 32), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CoerceViaIO_msg_init = { + &pg_query_CoerceViaIO__fields.fields[0], + UPB_SIZE(40, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CoerceViaIO", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000009000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00280000010a0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__ArrayCoerceExpr_msg_init_Fields; + +static const pg_0query__ArrayCoerceExpr_msg_init_Fields pg_query_ArrayCoerceExpr__fields = {{ + {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 40), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 48), 66, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(40, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ArrayCoerceExpr_msg_init = { + &pg_query_ArrayCoerceExpr__fields.fields[0], + UPB_SIZE(48, 56), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ArrayCoerceExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00200000000c000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00280000010d0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00300000020e001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ConvertRowtypeExpr_msg_init_Fields; + +static const pg_0query__ConvertRowtypeExpr_msg_init_Fields pg_query_ConvertRowtypeExpr__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ConvertRowtypeExpr_msg_init = { + &pg_query_ConvertRowtypeExpr__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ConvertRowtypeExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0020000001090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CollateExpr_msg_init_Fields; + +static const pg_0query__CollateExpr_msg_init_Fields pg_query_CollateExpr__fields = {{ + {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CollateExpr_msg_init = { + &pg_query_CollateExpr__fields.fields[0], + UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CollateExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0020000001070012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__CaseExpr_msg_init_Fields; + +static const pg_0query__CaseExpr_msg_init_Fields pg_query_CaseExpr__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 40), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 48), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CaseExpr_msg_init = { + &pg_query_CaseExpr__fields.fields[0], + UPB_SIZE(40, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CaseExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00180000000b000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x00200000010c0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f0d002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00300000020e0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001400003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__CaseWhen_msg_init_Fields; + +static const pg_0query__CaseWhen_msg_init_Fields pg_query_CaseWhen__fields = {{ + {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 66, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CaseWhen_msg_init = { + &pg_query_CaseWhen__fields.fields[0], + UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CaseWhen", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001070012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000000208001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CaseTestExpr_msg_init_Fields; + +static const pg_0query__CaseTestExpr_msg_init_Fields pg_query_CaseTestExpr__fields = {{ + {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CaseTestExpr_msg_init = { + &pg_query_CaseTestExpr__fields.fields[0], + 32, 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CaseTestExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[9]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ArrayExpr_msg_init_Fields; + +static const pg_0query__ArrayExpr_msg_init_Fields pg_query_ArrayExpr__fields = {{ + {1, UPB_SIZE(12, 40), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 48), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(40, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ArrayExpr_msg_init = { + &pg_query_ArrayExpr__fields.fields[0], + UPB_SIZE(48, 56), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ArrayExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00280000000e000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x003000003f0f002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000900003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001800003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__RowExpr_msg_init_Fields; + +static const pg_0query__RowExpr_msg_init_Fields pg_query_RowExpr__fields = {{ + {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RowExpr_msg_init = { + &pg_query_RowExpr__fields.fields[0], + UPB_SIZE(40, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RowExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000009000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f0a0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002800003f0b002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001400003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__RowCompareExpr_msg_init_Fields; + +static const pg_0query__RowCompareExpr_msg_init_Fields pg_query_RowCompareExpr__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RowCompareExpr_msg_init = { + &pg_query_RowCompareExpr__fields.fields[0], + UPB_SIZE(40, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RowCompareExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00100000000b000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f0c001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f0d0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0e002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000003f0f0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800003f10003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CoalesceExpr_msg_init_Fields; + +static const pg_0query__CoalesceExpr_msg_init_Fields pg_query_CoalesceExpr__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CoalesceExpr_msg_init = { + &pg_query_CoalesceExpr__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CoalesceExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f090022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__MinMaxExpr_msg_init_Fields; + +static const pg_0query__MinMaxExpr_msg_init_Fields pg_query_MinMaxExpr__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 40), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__MinMaxExpr_msg_init = { + &pg_query_MinMaxExpr__fields.fields[0], + UPB_SIZE(40, 48), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.MinMaxExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00200000000b000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002800003f0c0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001c00003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__SQLValueFunction_msg_init_Fields; + +static const pg_0query__SQLValueFunction_msg_init_Fields pg_query_SQLValueFunction__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__SQLValueFunction_msg_init = { + &pg_query_SQLValueFunction__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SQLValueFunction", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[11]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__XmlExpr_msg_init_Fields; + +static const pg_0query__XmlExpr_msg_init_Fields pg_query_XmlExpr__fields = {{ + {1, UPB_SIZE(12, 48), 64, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 56), 0, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 72), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(40, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(44, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__XmlExpr_msg_init = { + &pg_query_XmlExpr__fields.fields[0], + UPB_SIZE(56, 80), 11, kUpb_ExtMode_NonExtendable, 11, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.XmlExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x003000000011000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003800003f120022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x004000003f13002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x004800003f140032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001400003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000050, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000058, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; +} pg_0query__JsonFormat_msg_init_Fields; + +static const pg_0query__JsonFormat_msg_init_Fields pg_query_JsonFormat__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__JsonFormat_msg_init = { + &pg_query_JsonFormat__fields.fields[0], + 24, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonFormat", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__JsonReturning_msg_init_Fields; + +static const pg_0query__JsonReturning_msg_init_Fields pg_query_JsonReturning__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__JsonFormat_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonReturning_msg_init = { + &pg_query_JsonReturning__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonReturning", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__JsonValueExpr_msg_init_Fields; + +static const pg_0query__JsonValueExpr_msg_init_Fields pg_query_JsonValueExpr__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonFormat_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonValueExpr_msg_init = { + &pg_query_JsonValueExpr__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonValueExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000000207001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[9]; + upb_MiniTableSubInternal subs[5]; +} pg_0query__JsonConstructorExpr_msg_init_Fields; + +static const pg_0query__JsonConstructorExpr_msg_init_Fields pg_query_JsonConstructorExpr__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(22, 24), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 65, UPB_SIZE(20, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 48), 66, UPB_SIZE(18, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 56), 67, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonReturning_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonConstructorExpr_msg_init = { + &pg_query_JsonConstructorExpr__fields.fields[0], + UPB_SIZE(40, 64), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonConstructorExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00180000000e000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f0f001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0028000001100022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003000000211002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0038000003120032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__JsonIsPredicate_msg_init_Fields; + +static const pg_0query__JsonIsPredicate_msg_init_Fields pg_query_JsonIsPredicate__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonFormat_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonIsPredicate_msg_init = { + &pg_query_JsonIsPredicate__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonIsPredicate", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0020000001090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__JsonBehavior_msg_init_Fields; + +static const pg_0query__JsonBehavior_msg_init_Fields pg_query_JsonBehavior__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonBehavior_msg_init = { + &pg_query_JsonBehavior__fields.fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonBehavior", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0018000000060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[17]; + upb_MiniTableSubInternal subs[9]; +} pg_0query__JsonExpr_msg_init_Fields; + +static const pg_0query__JsonExpr_msg_init_Fields pg_query_JsonExpr__fields = {{ + {1, UPB_SIZE(12, 48), 64, UPB_SIZE(51, 52), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(64, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 56), 65, UPB_SIZE(43, 45), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 64), 66, UPB_SIZE(41, 44), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 72), 67, UPB_SIZE(39, 43), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 80), 68, UPB_SIZE(37, 42), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 88), 0, UPB_SIZE(35, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(40, 96), 0, UPB_SIZE(33, 40), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(44, 104), 69, UPB_SIZE(31, 39), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(48, 112), 70, UPB_SIZE(29, 38), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {13, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(52, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {15, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(56, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(60, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonFormat_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonReturning_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonBehavior_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonBehavior_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonExpr_msg_init = { + &pg_query_JsonExpr__fields.fields[0], + UPB_SIZE(72, 120), 17, kUpb_ExtMode_NonExtendable, 17, UPB_FASTTABLE_MASK(248), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00300000001a000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00380000011b0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00400000021c002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00480000031d0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00500000041e003a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x005800003f1f0042, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x006000003f20004a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0068000005210052, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x007000000622005a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000060, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000068, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000070, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000b00003f000078, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001400003f000180, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x001800003f000188, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__JsonTablePath_msg_init_Fields; + +static const pg_0query__JsonTablePath_msg_init_Fields pg_query_JsonTablePath__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__JsonTablePath_msg_init = { + &pg_query_JsonTablePath__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonTablePath", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__JsonTablePathScan_msg_init_Fields; + +static const pg_0query__JsonTablePathScan_msg_init_Fields pg_query_JsonTablePathScan__fields = {{ + {1, UPB_SIZE(12, 24), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 40), 66, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonTablePath_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonTablePathScan_msg_init = { + &pg_query_JsonTablePathScan__fields.fields[0], + UPB_SIZE(32, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonTablePathScan", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000009000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00200000010a0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x00280000020b0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__JsonTableSiblingJoin_msg_init_Fields; + +static const pg_0query__JsonTableSiblingJoin_msg_init_Fields pg_query_JsonTableSiblingJoin__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonTableSiblingJoin_msg_init = { + &pg_query_JsonTableSiblingJoin__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonTableSiblingJoin", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000000207001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__NullTest_msg_init_Fields; + +static const pg_0query__NullTest_msg_init_Fields pg_query_NullTest__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__NullTest_msg_init = { + &pg_query_NullTest__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.NullTest", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0020000001090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__BooleanTest_msg_init_Fields; + +static const pg_0query__BooleanTest_msg_init_Fields pg_query_BooleanTest__fields = {{ + {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__BooleanTest_msg_init = { + &pg_query_BooleanTest__fields.fields[0], + UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.BooleanTest", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0020000001070012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__MergeAction_msg_init_Fields; + +static const pg_0query__MergeAction_msg_init_Fields pg_query_MergeAction__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 24, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__MergeAction_msg_init = { + &pg_query_MergeAction__fields.fields[0], + UPB_SIZE(40, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.MergeAction", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0018000000090022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f0a002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0b0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CoerceToDomain_msg_init_Fields; + +static const pg_0query__CoerceToDomain_msg_init_Fields pg_query_CoerceToDomain__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 40), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CoerceToDomain_msg_init = { + &pg_query_CoerceToDomain__fields.fields[0], + UPB_SIZE(40, 48), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CoerceToDomain", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00200000000b000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00280000010c0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CoerceToDomainValue_msg_init_Fields; + +static const pg_0query__CoerceToDomainValue_msg_init_Fields pg_query_CoerceToDomainValue__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CoerceToDomainValue_msg_init = { + &pg_query_CoerceToDomainValue__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CoerceToDomainValue", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__SetToDefault_msg_init_Fields; + +static const pg_0query__SetToDefault_msg_init_Fields pg_query_SetToDefault__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__SetToDefault_msg_init = { + &pg_query_SetToDefault__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SetToDefault", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CurrentOfExpr_msg_init_Fields; + +static const pg_0query__CurrentOfExpr_msg_init_Fields pg_query_CurrentOfExpr__fields = {{ + {1, UPB_SIZE(12, 40), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CurrentOfExpr_msg_init = { + &pg_query_CurrentOfExpr__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CurrentOfExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002800000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__NextValueExpr_msg_init_Fields; + +static const pg_0query__NextValueExpr_msg_init_Fields pg_query_NextValueExpr__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__NextValueExpr_msg_init = { + &pg_query_NextValueExpr__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.NextValueExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__InferenceElem_msg_init_Fields; + +static const pg_0query__InferenceElem_msg_init_Fields pg_query_InferenceElem__fields = {{ + {1, UPB_SIZE(12, 24), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__InferenceElem_msg_init = { + &pg_query_InferenceElem__fields.fields[0], + UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.InferenceElem", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0020000001070012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ReturningExpr_msg_init_Fields; + +static const pg_0query__ReturningExpr_msg_init_Fields pg_query_ReturningExpr__fields = {{ + {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ReturningExpr_msg_init = { + &pg_query_ReturningExpr__fields.fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ReturningExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0018000001070022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__TargetEntry_msg_init_Fields; + +static const pg_0query__TargetEntry_msg_init_Fields pg_query_TargetEntry__fields = {{ + {1, UPB_SIZE(12, 48), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 56), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__TargetEntry_msg_init = { + &pg_query_TargetEntry__fields.fields[0], + UPB_SIZE(48, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.TargetEntry", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00300000000c000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00380000010d0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000022, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__RangeTblRef_msg_init_Fields; + +static const pg_0query__RangeTblRef_msg_init_Fields pg_query_RangeTblRef__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__RangeTblRef_msg_init = { + &pg_query_RangeTblRef__fields.fields[0], + 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RangeTblRef", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[9]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__JoinExpr_msg_init_Fields; + +static const pg_0query__JoinExpr_msg_init_Fields pg_query_JoinExpr__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 24), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 32), 65, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 40), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 48), 66, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 56), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 64), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(40, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, +}}; + +const upb_MiniTable pg_0query__JoinExpr_msg_init = { + &pg_query_JoinExpr__fields.fields[0], + UPB_SIZE(48, 72), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JoinExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x00180000000e001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00200000010f0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f10002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0030000002110032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003800000312003a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0040000004130042, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__FromExpr_msg_init_Fields; + +static const pg_0query__FromExpr_msg_init_Fields pg_query_FromExpr__fields = {{ + {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__FromExpr_msg_init = { + &pg_query_FromExpr__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.FromExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0018000000040012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[5]; +} pg_0query__OnConflictExpr_msg_init_Fields; + +static const pg_0query__OnConflictExpr_msg_init_Fields pg_query_OnConflictExpr__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, 21, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 64, UPB_SIZE(19, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 48), 65, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(40, 56), 0, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__OnConflictExpr_msg_init = { + &pg_query_OnConflictExpr__fields.fields[0], + UPB_SIZE(48, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.OnConflictExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f0c0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00200000000d001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002800003f0e002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00300000010f0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001400003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x003800003f100042, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[45]; + upb_MiniTableSubInternal subs[22]; +} pg_0query__Query_msg_init_Fields; + +static const pg_0query__Query_msg_init_Fields pg_query_Query__fields = {{ + {1, 24, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 28, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(32, 88), 64, UPB_SIZE(126, 127), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(36, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {10, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {11, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {12, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {13, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {14, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {15, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {16, 20, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(40, 96), 0, UPB_SIZE(88, 90), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(44, 104), 0, UPB_SIZE(86, 89), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(48, 112), 0, UPB_SIZE(84, 88), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(52, 120), 65, UPB_SIZE(82, 87), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(56, 128), 0, UPB_SIZE(80, 86), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(60, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(64, 136), 66, UPB_SIZE(75, 82), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(68, 144), 0, UPB_SIZE(73, 81), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(72, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(76, 152), 67, UPB_SIZE(68, 77), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {27, UPB_SIZE(144, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {28, UPB_SIZE(152, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {29, UPB_SIZE(80, 160), 0, UPB_SIZE(60, 70), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(84, 168), 0, UPB_SIZE(58, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {31, 21, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {32, UPB_SIZE(88, 176), 0, UPB_SIZE(53, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(92, 184), 68, UPB_SIZE(51, 64), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {34, UPB_SIZE(96, 192), 0, UPB_SIZE(49, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {35, UPB_SIZE(100, 200), 0, UPB_SIZE(47, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {36, UPB_SIZE(104, 208), 0, UPB_SIZE(45, 61), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {37, UPB_SIZE(108, 216), 69, UPB_SIZE(43, 60), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {38, UPB_SIZE(112, 224), 70, UPB_SIZE(41, 59), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {39, UPB_SIZE(116, 44), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {40, UPB_SIZE(120, 232), 0, UPB_SIZE(36, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {41, UPB_SIZE(124, 240), 71, UPB_SIZE(34, 54), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {42, UPB_SIZE(128, 248), 0, UPB_SIZE(32, 53), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {43, UPB_SIZE(132, 256), 0, UPB_SIZE(30, 52), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {44, UPB_SIZE(136, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {45, UPB_SIZE(140, 52), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__FromExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__OnConflictExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__Query_msg_init = { + &pg_query_Query__fields.fields[0], + UPB_SIZE(160, 264), 45, kUpb_ExtMode_NonExtendable, 45, UPB_FASTTABLE_MASK(248), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.Query", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0058000000440022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000a00003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000b00003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000d00003f000048, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000e00003f000050, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000f00003f000058, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000060, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001100003f000068, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001200003f000070, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001300003f000078, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001400003f000180, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x006000003f45018a, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x006800003f460192, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x007000003f47019a, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x00780000014801a2, &upb_DecodeFast_Message_Scalar_Tag2Byte}, + {0x008000003f4901aa, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x002400003f0001b0, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x00880000024a01ba, &upb_DecodeFast_Message_Scalar_Tag2Byte}, + {0x009000003f4b01c2, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x002800003f0001c8, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x00980000034c01d2, &upb_DecodeFast_Message_Scalar_Tag2Byte}, + {0x003800003f0001da, &upb_DecodeFast_String_Scalar_Tag2Byte}, + {0x004800003f0001e2, &upb_DecodeFast_String_Scalar_Tag2Byte}, + {0x00a000003f4d01ea, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x00a800003f4e01f2, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x001500003f0001f8, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__TypeName_msg_init_Fields; + +static const pg_0query__TypeName_msg_init_Fields pg_query_TypeName__fields = {{ + {1, UPB_SIZE(12, 24), 0, 24, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 32), 0, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__TypeName_msg_init = { + &pg_query_TypeName__fields.fields[0], + UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.TypeName", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f0c000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000800003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x002000003f0d002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002800003f0e003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001400003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__ColumnRef_msg_init_Fields; + +static const pg_0query__ColumnRef_msg_init_Fields pg_query_ColumnRef__fields = {{ + {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ColumnRef_msg_init = { + &pg_query_ColumnRef__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ColumnRef", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; +} pg_0query__ParamRef_msg_init_Fields; + +static const pg_0query__ParamRef_msg_init_Fields pg_query_ParamRef__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__ParamRef_msg_init = { + &pg_query_ParamRef__fields.fields[0], + 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ParamRef", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__A_0Expr_msg_init_Fields; + +static const pg_0query__A_0Expr_msg_init_Fields pg_query_A_Expr__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 40), 64, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 48), 65, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__A_0Expr_msg_init = { + &pg_query_A_Expr__fields.fields[0], + UPB_SIZE(40, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.A_Expr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f0b0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00280000000c001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00300000010d0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__TypeCast_msg_init_Fields; + +static const pg_0query__TypeCast_msg_init_Fields pg_query_TypeCast__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, +}}; + +const upb_MiniTable pg_0query__TypeCast_msg_init = { + &pg_query_TypeCast__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.TypeCast", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CollateClause_msg_init_Fields; + +static const pg_0query__CollateClause_msg_init_Fields pg_query_CollateClause__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CollateClause_msg_init = { + &pg_query_CollateClause__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CollateClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f060012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; +} pg_0query__RoleSpec_msg_init_Fields; + +static const pg_0query__RoleSpec_msg_init_Fields pg_query_RoleSpec__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__RoleSpec_msg_init = { + &pg_query_RoleSpec__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RoleSpec", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[11]; + upb_MiniTableSubInternal subs[5]; +} pg_0query__FuncCall_msg_init_Fields; + +static const pg_0query__FuncCall_msg_init_Fields pg_query_FuncCall__fields = {{ + {1, UPB_SIZE(16, 24), 0, UPB_SIZE(33, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 32), 0, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 40), 0, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(28, 48), 64, UPB_SIZE(27, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(32, 56), 65, UPB_SIZE(25, 30), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(36, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(40, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WindowDef_msg_init}, +}}; + +const upb_MiniTable pg_0query__FuncCall_msg_init = { + &pg_query_FuncCall__fields.fields[0], + UPB_SIZE(48, 64), 11, kUpb_ExtMode_NonExtendable, 11, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.FuncCall", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f11000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f120012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f13001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0030000000140022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003800000115002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000b00003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000048, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000050, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000058, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +const upb_MiniTable pg_0query__A_0Star_msg_init = { + NULL, + 8, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.A_Star", +#endif +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__A_0Indices_msg_init_Fields; + +static const pg_0query__A_0Indices_msg_init_Fields pg_query_A_Indices__fields = {{ + {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__A_0Indices_msg_init = { + &pg_query_A_Indices__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.A_Indices", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000900003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0010000000050012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800000106001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__A_0Indirection_msg_init_Fields; + +static const pg_0query__A_0Indirection_msg_init_Fields pg_query_A_Indirection__fields = {{ + {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__A_0Indirection_msg_init = { + &pg_query_A_Indirection__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.A_Indirection", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000003000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f040012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__A_0ArrayExpr_msg_init_Fields; + +static const pg_0query__A_0ArrayExpr_msg_init_Fields pg_query_A_ArrayExpr__fields = {{ + {1, UPB_SIZE(8, 24), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__A_0ArrayExpr_msg_init = { + &pg_query_A_ArrayExpr__fields.fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.A_ArrayExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f06000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ResTarget_msg_init_Fields; + +static const pg_0query__ResTarget_msg_init_Fields pg_query_ResTarget__fields = {{ + {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 64, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ResTarget_msg_init = { + &pg_query_ResTarget__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ResTarget", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f060012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800000007001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__MultiAssignRef_msg_init_Fields; + +static const pg_0query__MultiAssignRef_msg_init_Fields pg_query_MultiAssignRef__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__MultiAssignRef_msg_init = { + &pg_query_MultiAssignRef__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.MultiAssignRef", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__SortBy_msg_init_Fields; + +static const pg_0query__SortBy_msg_init_Fields pg_query_SortBy__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__SortBy_msg_init = { + &pg_query_SortBy__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SortBy", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f090022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__WindowDef_msg_init_Fields; + +static const pg_0query__WindowDef_msg_init_Fields pg_query_WindowDef__fields = {{ + {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 56), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 72), 64, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 80), 65, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__WindowDef_msg_init = { + &pg_query_WindowDef__fields.fields[0], + UPB_SIZE(56, 88), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.WindowDef", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003800003f0c001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x004000003f0d0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x00480000000e0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00500000010f003a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__RangeSubselect_msg_init_Fields; + +static const pg_0query__RangeSubselect_msg_init_Fields pg_query_RangeSubselect__fields = {{ + {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, +}}; + +const upb_MiniTable pg_0query__RangeSubselect_msg_init = { + &pg_query_RangeSubselect__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RangeSubselect", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000900003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0010000000050012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800000106001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__RangeFunction_msg_init_Fields; + +static const pg_0query__RangeFunction_msg_init_Fields pg_query_RangeFunction__fields = {{ + {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 16), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 24), 64, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RangeFunction_msg_init = { + &pg_query_RangeFunction__fields.fields[0], + UPB_SIZE(24, 40), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RangeFunction", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000900003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000b00003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f090022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00180000000a002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f0b0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[5]; +} pg_0query__RangeTableFunc_msg_init_Fields; + +static const pg_0query__RangeTableFunc_msg_init_Fields pg_query_RangeTableFunc__fields = {{ + {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 24), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 48), 66, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, +}}; + +const upb_MiniTable pg_0query__RangeTableFunc_msg_init = { + &pg_query_RangeTableFunc__fields.fields[0], + UPB_SIZE(40, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RangeTableFunc", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000900003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x00100000000b0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00180000010c001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f0d0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0e002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00300000020f0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__RangeTableFuncCol_msg_init_Fields; + +static const pg_0query__RangeTableFuncCol_msg_init_Fields pg_query_RangeTableFuncCol__fields = {{ + {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 40), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 48), 66, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RangeTableFuncCol_msg_init = { + &pg_query_RangeTableFuncCol__fields.fields[0], + UPB_SIZE(40, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RangeTableFuncCol", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00200000000b0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x00280000010c002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00300000020d0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__RangeTableSample_msg_init_Fields; + +static const pg_0query__RangeTableSample_msg_init_Fields pg_query_RangeTableSample__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 65, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RangeTableSample_msg_init = { + &pg_query_RangeTableSample__fields.fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RangeTableSample", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f090012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f0a001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00280000010b0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[19]; + upb_MiniTableSubInternal subs[7]; +} pg_0query__ColumnDef_msg_init_Fields; + +static const pg_0query__ColumnDef_msg_init_Fields pg_query_ColumnDef__fields = {{ + {1, UPB_SIZE(52, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 120), 64, UPB_SIZE(54, 55), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(60, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(68, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(76, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(20, 128), 65, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(24, 136), 66, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(84, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(28, 144), 67, UPB_SIZE(24, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(92, 104), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(32, 152), 68, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(36, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(40, 160), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(44, 168), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(48, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CollateClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ColumnDef_msg_init = { + &pg_query_ColumnDef__fields.fields[0], + UPB_SIZE(104, 176), 19, kUpb_ExtMode_NonExtendable, 19, UPB_FASTTABLE_MASK(248), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ColumnDef", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00780000001d0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000b00003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x003800003f000042, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x004800003f00004a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00800000011e0052, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00880000021f005a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x005800003f000062, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x009000000320006a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x006800003f000072, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x009800000421007a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000180, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x00a000003f22018a, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x00a800003f230192, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x001400003f000198, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__TableLikeClause_msg_init_Fields; + +static const pg_0query__TableLikeClause_msg_init_Fields pg_query_TableLikeClause__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, +}}; + +const upb_MiniTable pg_0query__TableLikeClause_msg_init = { + &pg_query_TableLikeClause__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.TableLikeClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__IndexElem_msg_init_Fields; + +static const pg_0query__IndexElem_msg_init_Fields pg_query_IndexElem__fields = {{ + {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 56), 64, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(44, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 64), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 72), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 80), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__IndexElem_msg_init = { + &pg_query_IndexElem__fields.fields[0], + UPB_SIZE(56, 88), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.IndexElem", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00380000000c0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x004000003f0d0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x004800003f0e002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005000003f0f0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__DefElem_msg_init_Fields; + +static const pg_0query__DefElem_msg_init_Fields pg_query_DefElem__fields = {{ + {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(36, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 56), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__DefElem_msg_init = { + &pg_query_DefElem__fields.fields[0], + UPB_SIZE(48, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DefElem", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003800000009001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__LockingClause_msg_init_Fields; + +static const pg_0query__LockingClause_msg_init_Fields pg_query_LockingClause__fields = {{ + {1, UPB_SIZE(8, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__LockingClause_msg_init = { + &pg_query_LockingClause__fields.fields[0], + 24, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.LockingClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f05000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__XmlSerialize_msg_init_Fields; + +static const pg_0query__XmlSerialize_msg_init_Fields pg_query_XmlSerialize__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, +}}; + +const upb_MiniTable pg_0query__XmlSerialize_msg_init = { + &pg_query_XmlSerialize__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.XmlSerialize", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0018000000080012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000000109001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__PartitionElem_msg_init_Fields; + +static const pg_0query__PartitionElem_msg_init_Fields pg_query_PartitionElem__fields = {{ + {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__PartitionElem_msg_init = { + &pg_query_PartitionElem__fields.fields[0], + UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.PartitionElem", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0020000000080012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f09001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000003f0a0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__PartitionSpec_msg_init_Fields; + +static const pg_0query__PartitionSpec_msg_init_Fields pg_query_PartitionSpec__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__PartitionSpec_msg_init = { + &pg_query_PartitionSpec__fields.fields[0], + 24, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.PartitionSpec", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f050012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__PartitionBoundSpec_msg_init_Fields; + +static const pg_0query__PartitionBoundSpec_msg_init_Fields pg_query_PartitionBoundSpec__fields = {{ + {1, UPB_SIZE(36, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 56), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__PartitionBoundSpec_msg_init = { + &pg_query_PartitionBoundSpec__fields.fields[0], + UPB_SIZE(48, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.PartitionBoundSpec", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002800003f0c002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000003f0d0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800003f0e003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001400003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__PartitionRangeDatum_msg_init_Fields; + +static const pg_0query__PartitionRangeDatum_msg_init_Fields pg_query_PartitionRangeDatum__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__PartitionRangeDatum_msg_init = { + &pg_query_PartitionRangeDatum__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.PartitionRangeDatum", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0018000000050012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__PartitionCmd_msg_init_Fields; + +static const pg_0query__PartitionCmd_msg_init_Fields pg_query_PartitionCmd__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PartitionBoundSpec_msg_init}, +}}; + +const upb_MiniTable pg_0query__PartitionCmd_msg_init = { + &pg_query_PartitionCmd__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.PartitionCmd", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[33]; + upb_MiniTableSubInternal subs[16]; +} pg_0query__RangeTblEntry_msg_init_Fields; + +static const pg_0query__RangeTblEntry_msg_init_Fields pg_query_RangeTblEntry__fields = {{ + {1, UPB_SIZE(16, 96), 64, UPB_SIZE(99, 100), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 104), 65, UPB_SIZE(97, 99), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(28, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(108, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(40, 112), 66, UPB_SIZE(77, 80), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(44, 120), 67, UPB_SIZE(75, 79), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(48, 32), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(52, 36), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(56, 128), 0, UPB_SIZE(64, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(60, 136), 0, UPB_SIZE(62, 68), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(64, 144), 0, UPB_SIZE(60, 67), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(68, 152), 68, UPB_SIZE(58, 66), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(72, 160), 0, UPB_SIZE(56, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(76, 168), 69, UPB_SIZE(51, 61), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {21, UPB_SIZE(80, 176), 0, UPB_SIZE(49, 60), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(116, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(84, 40), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {24, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(88, 184), 0, UPB_SIZE(38, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(92, 192), 0, UPB_SIZE(36, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {27, UPB_SIZE(96, 200), 0, UPB_SIZE(34, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {28, UPB_SIZE(124, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {29, UPB_SIZE(136, 208), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(100, 216), 0, UPB_SIZE(26, 41), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {31, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {32, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(104, 224), 0, UPB_SIZE(18, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TableSampleClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Query_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TableFunc_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RangeTblEntry_msg_init = { + &pg_query_RangeTblEntry__fields.fields[0], + UPB_SIZE(144, 232), 33, kUpb_ExtMode_NonExtendable, 33, UPB_FASTTABLE_MASK(248), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RangeTblEntry", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x006000000032000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0068000001330012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x003000003f000032, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x007000000234004a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0078000003350052, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000a00003f000058, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x002000003f000060, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002400003f000068, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x008000003f360072, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x008800003f37007a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x009000003f380182, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x009800000439018a, &upb_DecodeFast_Message_Scalar_Tag2Byte}, + {0x00a000003f3a0192, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x000b00003f000198, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x00a80000053b01a2, &upb_DecodeFast_Message_Scalar_Tag2Byte}, + {0x00b000003f3c01aa, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x004000003f0001b2, &upb_DecodeFast_String_Scalar_Tag2Byte}, + {0x002800003f0001b8, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x000c00003f0001c0, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x00b800003f3d01ca, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x00c000003f3e01d2, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x00c800003f3f01da, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x005000003f0001e2, &upb_DecodeFast_String_Scalar_Tag2Byte}, + {0x00d000003f0001e9, &upb_DecodeFast_Fixed64_Scalar_Tag2Byte}, + {0x00d800003f4001f2, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x000d00003f0001f8, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; +} pg_0query__RTEPermissionInfo_msg_init_Fields; + +static const pg_0query__RTEPermissionInfo_msg_init_Fields pg_query_RTEPermissionInfo__fields = {{ + {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {4, 16, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 32), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 40), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 48), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__RTEPermissionInfo_msg_init = { + &pg_query_RTEPermissionInfo__fields.fields[0], + UPB_SIZE(40, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RTEPermissionInfo", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001800003f000018, &upb_DecodeFast_Varint64_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f00002a, &upb_DecodeFast_Varint64_Packed_Tag1Byte}, + {0x002800003f000032, &upb_DecodeFast_Varint64_Packed_Tag1Byte}, + {0x003000003f00003a, &upb_DecodeFast_Varint64_Packed_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[5]; +} pg_0query__RangeTblFunction_msg_init_Fields; + +static const pg_0query__RangeTblFunction_msg_init_Fields pg_query_RangeTblFunction__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 56), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RangeTblFunction_msg_init = { + &pg_query_RangeTblFunction__fields.fields[0], + UPB_SIZE(40, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RangeTblFunction", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00100000000b000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f0c001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f0d0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0e002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000003f0f0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800003f00003a, &upb_DecodeFast_Varint64_Packed_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__TableSampleClause_msg_init_Fields; + +static const pg_0query__TableSampleClause_msg_init_Fields pg_query_TableSampleClause__fields = {{ + {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), 64, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__TableSampleClause_msg_init = { + &pg_query_TableSampleClause__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.TableSampleClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f050012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001800000006001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__WithCheckOption_msg_init_Fields; + +static const pg_0query__WithCheckOption_msg_init_Fields pg_query_WithCheckOption__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 48), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__WithCheckOption_msg_init = { + &pg_query_WithCheckOption__fields.fields[0], + UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.WithCheckOption", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0030000000080022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; +} pg_0query__SortGroupClause_msg_init_Fields; + +static const pg_0query__SortGroupClause_msg_init_Fields pg_query_SortGroupClause__fields = {{ + {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 20, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__SortGroupClause_msg_init = { + &pg_query_SortGroupClause__fields.fields[0], + 24, 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SortGroupClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000900003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__GroupingSet_msg_init_Fields; + +static const pg_0query__GroupingSet_msg_init_Fields pg_query_GroupingSet__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__GroupingSet_msg_init = { + &pg_query_GroupingSet__fields.fields[0], + 24, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.GroupingSet", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f050012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[14]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__WindowClause_msg_init_Fields; + +static const pg_0query__WindowClause_msg_init_Fields pg_query_WindowClause__fields = {{ + {1, UPB_SIZE(48, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(56, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 64), 0, 36, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 72), 0, UPB_SIZE(34, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 80), 64, UPB_SIZE(29, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 88), 65, UPB_SIZE(27, 30), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(40, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {11, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {12, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(44, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {14, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__WindowClause_msg_init = { + &pg_query_WindowClause__fields.fields[0], + UPB_SIZE(64, 96), 14, kUpb_ExtMode_NonExtendable, 14, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.WindowClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x004000003f15001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x004800003f160022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0050000000170032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x005800000118003a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000050, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000058, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000060, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001c00003f000068, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000b00003f000070, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; +} pg_0query__RowMarkClause_msg_init_Fields; + +static const pg_0query__RowMarkClause_msg_init_Fields pg_query_RowMarkClause__fields = {{ + {1, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__RowMarkClause_msg_init = { + &pg_query_RowMarkClause__fields.fields[0], + 24, 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RowMarkClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__WithClause_msg_init_Fields; + +static const pg_0query__WithClause_msg_init_Fields pg_query_WithClause__fields = {{ + {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__WithClause_msg_init = { + &pg_query_WithClause__fields.fields[0], + 24, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.WithClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f05000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__InferClause_msg_init_Fields; + +static const pg_0query__InferClause_msg_init_Fields pg_query_InferClause__fields = {{ + {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 40), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__InferClause_msg_init = { + &pg_query_InferClause__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.InferClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000003f06000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0028000000070012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__OnConflictClause_msg_init_Fields; + +static const pg_0query__OnConflictClause_msg_init_Fields pg_query_OnConflictClause__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__InferClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__OnConflictClause_msg_init = { + &pg_query_OnConflictClause__fields.fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.OnConflictClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0018000000080012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f09001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00280000010a0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CTESearchClause_msg_init_Fields; + +static const pg_0query__CTESearchClause_msg_init_Fields pg_query_CTESearchClause__fields = {{ + {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CTESearchClause_msg_init = { + &pg_query_CTESearchClause__fields.fields[0], + UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CTESearchClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000003f06000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[10]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__CTECycleClause_msg_init_Fields; + +static const pg_0query__CTECycleClause_msg_init_Fields pg_query_CTECycleClause__fields = {{ + {1, UPB_SIZE(12, 64), 0, 30, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(44, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 72), 64, UPB_SIZE(25, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 80), 65, UPB_SIZE(23, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(52, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(40, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CTECycleClause_msg_init = { + &pg_query_CTECycleClause__fields.fields[0], + UPB_SIZE(64, 88), 10, kUpb_ExtMode_NonExtendable, 10, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CTECycleClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x004000003f0f000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x004800000010001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0050000001110022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003000003f00002a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000050, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[13]; + upb_MiniTableSubInternal subs[8]; +} pg_0query__CommonTableExpr_msg_init_Fields; + +static const pg_0query__CommonTableExpr_msg_init_Fields pg_query_CommonTableExpr__fields = {{ + {1, UPB_SIZE(56, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 40), 0, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 48), 64, UPB_SIZE(31, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 56), 65, UPB_SIZE(29, 32), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 64), 66, UPB_SIZE(27, 31), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(40, 72), 0, UPB_SIZE(16, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(44, 80), 0, UPB_SIZE(14, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(48, 88), 0, UPB_SIZE(12, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(52, 96), 0, UPB_SIZE(10, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CTESearchClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CTECycleClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CommonTableExpr_msg_init = { + &pg_query_CommonTableExpr__fields.fields[0], + UPB_SIZE(64, 104), 13, kUpb_ExtMode_NonExtendable, 13, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CommonTableExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f140012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0030000000150022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003800000116002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0040000002170032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001400003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x004800003f180052, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005000003f19005a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005800003f1a0062, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x006000003f1b006a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__MergeWhenClause_msg_init_Fields; + +static const pg_0query__MergeWhenClause_msg_init_Fields pg_query_MergeWhenClause__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 24, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 32), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 40), 0, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__MergeWhenClause_msg_init = { + &pg_query_MergeWhenClause__fields.fields[0], + UPB_SIZE(40, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.MergeWhenClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0018000000090022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f0a002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0b0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; +} pg_0query__ReturningOption_msg_init_Fields; + +static const pg_0query__ReturningOption_msg_init_Fields pg_query_ReturningOption__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__ReturningOption_msg_init = { + &pg_query_ReturningOption__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ReturningOption", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ReturningClause_msg_init_Fields; + +static const pg_0query__ReturningClause_msg_init_Fields pg_query_ReturningClause__fields = {{ + {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ReturningClause_msg_init = { + &pg_query_ReturningClause__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ReturningClause", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f040012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; +} pg_0query__TriggerTransition_msg_init_Fields; + +static const pg_0query__TriggerTransition_msg_init_Fields pg_query_TriggerTransition__fields = {{ + {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__TriggerTransition_msg_init = { + &pg_query_TriggerTransition__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.TriggerTransition", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__JsonOutput_msg_init_Fields; + +static const pg_0query__JsonOutput_msg_init_Fields pg_query_JsonOutput__fields = {{ + {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonReturning_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonOutput_msg_init = { + &pg_query_JsonOutput__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonOutput", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000003000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001040012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__JsonArgument_msg_init_Fields; + +static const pg_0query__JsonArgument_msg_init_Fields pg_query_JsonArgument__fields = {{ + {1, UPB_SIZE(12, 32), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__JsonValueExpr_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonArgument_msg_init = { + &pg_query_JsonArgument__fields.fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonArgument", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000003000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[11]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__JsonFuncExpr_msg_init_Fields; + +static const pg_0query__JsonFuncExpr_msg_init_Fields pg_query_JsonFuncExpr__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(52, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 48), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 56), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 64), 0, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 72), 66, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 80), 67, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 88), 68, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(40, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(44, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(48, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__JsonValueExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonOutput_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonBehavior_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonBehavior_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonFuncExpr_msg_init = { + &pg_query_JsonFuncExpr__fields.fields[0], + UPB_SIZE(64, 96), 11, kUpb_ExtMode_NonExtendable, 11, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonFuncExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000000011001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0038000001120022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x004000003f13002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0048000002140032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x005000000315003a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0058000004160042, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000050, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000058, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__JsonTablePathSpec_msg_init_Fields; + +static const pg_0query__JsonTablePathSpec_msg_init_Fields pg_query_JsonTablePathSpec__fields = {{ + {1, UPB_SIZE(12, 40), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonTablePathSpec_msg_init = { + &pg_query_JsonTablePathSpec__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonTablePathSpec", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002800000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__JsonTable_msg_init_Fields; + +static const pg_0query__JsonTable_msg_init_Fields pg_query_JsonTable__fields = {{ + {1, UPB_SIZE(12, 16), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 0, UPB_SIZE(18, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 48), 66, UPB_SIZE(16, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 56), 67, UPB_SIZE(14, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__JsonValueExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonTablePathSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonBehavior_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Alias_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonTable_msg_init = { + &pg_query_JsonTable__fields.fields[0], + UPB_SIZE(40, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonTable", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00100000000c000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00180000010d0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f0e001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0f0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000000210002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0038000003110032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[11]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__JsonTableColumn_msg_init_Fields; + +static const pg_0query__JsonTableColumn_msg_init_Fields pg_query_JsonTableColumn__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(52, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 48), 64, UPB_SIZE(27, 28), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 56), 65, UPB_SIZE(25, 27), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 64), 66, UPB_SIZE(23, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 72), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(40, 80), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(44, 88), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(48, 24), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonTablePathSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonFormat_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonBehavior_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonBehavior_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonTableColumn_msg_init = { + &pg_query_JsonTableColumn__fields.fields[0], + UPB_SIZE(64, 96), 11, kUpb_ExtMode_NonExtendable, 11, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonTableColumn", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000000011001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0038000001120022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x004000000213002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x004800003f140042, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005000000315004a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0058000004160052, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f000058, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__JsonKeyValue_msg_init_Fields; + +static const pg_0query__JsonKeyValue_msg_init_Fields pg_query_JsonKeyValue__fields = {{ + {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonValueExpr_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonKeyValue_msg_init = { + &pg_query_JsonKeyValue__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonKeyValue", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000003000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001040012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__JsonParseExpr_msg_init_Fields; + +static const pg_0query__JsonParseExpr_msg_init_Fields pg_query_JsonParseExpr__fields = {{ + {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__JsonValueExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonOutput_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonParseExpr_msg_init = { + &pg_query_JsonParseExpr__fields.fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonParseExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001070012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__JsonScalarExpr_msg_init_Fields; + +static const pg_0query__JsonScalarExpr_msg_init_Fields pg_query_JsonScalarExpr__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonOutput_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonScalarExpr_msg_init = { + &pg_query_JsonScalarExpr__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonScalarExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__JsonSerializeExpr_msg_init_Fields; + +static const pg_0query__JsonSerializeExpr_msg_init_Fields pg_query_JsonSerializeExpr__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__JsonValueExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonOutput_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonSerializeExpr_msg_init = { + &pg_query_JsonSerializeExpr__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonSerializeExpr", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__JsonObjectConstructor_msg_init_Fields; + +static const pg_0query__JsonObjectConstructor_msg_init_Fields pg_query_JsonObjectConstructor__fields = {{ + {1, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonOutput_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonObjectConstructor_msg_init = { + &pg_query_JsonObjectConstructor__fields.fields[0], + UPB_SIZE(24, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonObjectConstructor", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f08000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0018000000090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__JsonArrayConstructor_msg_init_Fields; + +static const pg_0query__JsonArrayConstructor_msg_init_Fields pg_query_JsonArrayConstructor__fields = {{ + {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonOutput_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonArrayConstructor_msg_init = { + &pg_query_JsonArrayConstructor__fields.fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonArrayConstructor", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f06000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0018000000070012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__JsonArrayQueryConstructor_msg_init_Fields; + +static const pg_0query__JsonArrayQueryConstructor_msg_init_Fields pg_query_JsonArrayQueryConstructor__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonOutput_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonFormat_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonArrayQueryConstructor_msg_init = { + &pg_query_JsonArrayQueryConstructor__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonArrayQueryConstructor", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00200000020a001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__JsonAggConstructor_msg_init_Fields; + +static const pg_0query__JsonAggConstructor_msg_init_Fields pg_query_JsonAggConstructor__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__JsonOutput_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WindowDef_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonAggConstructor_msg_init = { + &pg_query_JsonAggConstructor__fields.fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonAggConstructor", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f0a001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00280000020b0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__JsonObjectAgg_msg_init_Fields; + +static const pg_0query__JsonObjectAgg_msg_init_Fields pg_query_JsonObjectAgg__fields = {{ + {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__JsonAggConstructor_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonKeyValue_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonObjectAgg_msg_init = { + &pg_query_JsonObjectAgg__fields.fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonObjectAgg", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001070012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__JsonArrayAgg_msg_init_Fields; + +static const pg_0query__JsonArrayAgg_msg_init_Fields pg_query_JsonArrayAgg__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__JsonAggConstructor_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__JsonValueExpr_msg_init}, +}}; + +const upb_MiniTable pg_0query__JsonArrayAgg_msg_init = { + &pg_query_JsonArrayAgg__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.JsonArrayAgg", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__RawStmt_msg_init_Fields; + +static const pg_0query__RawStmt_msg_init_Fields pg_query_RawStmt__fields = {{ + {1, UPB_SIZE(12, 24), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RawStmt_msg_init = { + &pg_query_RawStmt__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RawStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__InsertStmt_msg_init_Fields; + +static const pg_0query__InsertStmt_msg_init_Fields pg_query_InsertStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 65, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 66, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 48), 67, UPB_SIZE(13, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 56), 68, UPB_SIZE(11, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__OnConflictClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReturningClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WithClause_msg_init}, +}}; + +const upb_MiniTable pg_0query__InsertStmt_msg_init = { + &pg_query_InsertStmt__fields.fields[0], + UPB_SIZE(40, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.InsertStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00100000000b000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f0c0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00200000010d001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00280000020e0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00300000030f002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0038000004100032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[5]; +} pg_0query__DeleteStmt_msg_init_Fields; + +static const pg_0query__DeleteStmt_msg_init_Fields pg_query_DeleteStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 65, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 66, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 48), 67, UPB_SIZE(7, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReturningClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WithClause_msg_init}, +}}; + +const upb_MiniTable pg_0query__DeleteStmt_msg_init = { + &pg_query_DeleteStmt__fields.fields[0], + UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DeleteStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f090012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00200000010a001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00280000020b0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00300000030c002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__UpdateStmt_msg_init_Fields; + +static const pg_0query__UpdateStmt_msg_init_Fields pg_query_UpdateStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 48), 66, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 56), 67, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReturningClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WithClause_msg_init}, +}}; + +const upb_MiniTable pg_0query__UpdateStmt_msg_init = { + &pg_query_UpdateStmt__fields.fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.UpdateStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000009000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f0a0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00200000010b001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f0c0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00300000020d002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00380000030e0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__MergeStmt_msg_init_Fields; + +static const pg_0query__MergeStmt_msg_init_Fields pg_query_MergeStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 66, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 48), 67, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 56), 68, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ReturningClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WithClause_msg_init}, +}}; + +const upb_MiniTable pg_0query__MergeStmt_msg_init = { + &pg_query_MergeStmt__fields.fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.MergeStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000009000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00180000010a0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00200000020b001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f0c0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00300000030d002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00380000040e0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[20]; + upb_MiniTableSubInternal subs[16]; +} pg_0query__SelectStmt_msg_init_Fields; + +static const pg_0query__SelectStmt_msg_init_Fields pg_query_SelectStmt__fields = {{ + {1, UPB_SIZE(12, 24), 0, 60, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 64, UPB_SIZE(58, 59), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 40), 0, UPB_SIZE(56, 58), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 48), 0, UPB_SIZE(54, 57), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 56), 65, UPB_SIZE(52, 56), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 64), 0, UPB_SIZE(50, 55), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 72), 66, UPB_SIZE(45, 51), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(40, 80), 0, UPB_SIZE(43, 50), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(44, 88), 0, UPB_SIZE(41, 49), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(48, 96), 0, UPB_SIZE(39, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(52, 104), 67, UPB_SIZE(37, 47), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(56, 112), 68, UPB_SIZE(35, 46), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(60, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(64, 120), 0, UPB_SIZE(30, 42), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(68, 128), 69, UPB_SIZE(28, 41), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(72, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {18, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(76, 136), 70, UPB_SIZE(20, 34), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(80, 144), 71, UPB_SIZE(18, 33), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__IntoClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__WithClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SelectStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SelectStmt_msg_init}, +}}; + +const upb_MiniTable pg_0query__SelectStmt_msg_init = { + &pg_query_SelectStmt__fields.fields[0], + UPB_SIZE(88, 152), 20, kUpb_ExtMode_NonExtendable, 20, UPB_FASTTABLE_MASK(248), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SelectStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f1e000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00200000001f0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f20001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000003f210022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800000122002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x004000003f230032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000900003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0048000002240042, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x005000003f25004a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005800003f260052, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x006000003f27005a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0068000003280062, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x007000000429006a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000070, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x007800003f2a007a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00800000052b0182, &upb_DecodeFast_Message_Scalar_Tag2Byte}, + {0x001000003f000188, &upb_DecodeFast_Varint32_Scalar_Tag2Byte}, + {0x000a00003f000190, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x00880000062c019a, &upb_DecodeFast_Message_Scalar_Tag2Byte}, + {0x00900000072d01a2, &upb_DecodeFast_Message_Scalar_Tag2Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__SetOperationStmt_msg_init_Fields; + +static const pg_0query__SetOperationStmt_msg_init_Fields pg_query_SetOperationStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 16, 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 24), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 40), 0, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 48), 0, UPB_SIZE(10, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 56), 0, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__SetOperationStmt_msg_init = { + &pg_query_SetOperationStmt__fields.fields[0], + UPB_SIZE(40, 64), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SetOperationStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x00100000000c001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00180000010d0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f0e002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0f0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000003f10003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800003f110042, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__ReturnStmt_msg_init_Fields; + +static const pg_0query__ReturnStmt_msg_init_Fields pg_query_ReturnStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ReturnStmt_msg_init = { + &pg_query_ReturnStmt__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ReturnStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000002000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__PLAssignStmt_msg_init_Fields; + +static const pg_0query__PLAssignStmt_msg_init_Fields pg_query_PLAssignStmt__fields = {{ + {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 40), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 48), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SelectStmt_msg_init}, +}}; + +const upb_MiniTable pg_0query__PLAssignStmt_msg_init = { + &pg_query_PLAssignStmt__fields.fields[0], + UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.PLAssignStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f080012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0030000000090022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateSchemaStmt_msg_init_Fields; + +static const pg_0query__CreateSchemaStmt_msg_init_Fields pg_query_CreateSchemaStmt__fields = {{ + {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateSchemaStmt_msg_init = { + &pg_query_CreateSchemaStmt__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateSchemaStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0020000000060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f07001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterTableStmt_msg_init_Fields; + +static const pg_0query__AlterTableStmt_msg_init_Fields pg_query_AlterTableStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterTableStmt_msg_init = { + &pg_query_AlterTableStmt__fields.fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterTableStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f070012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterTableCmd_msg_init_Fields; + +static const pg_0query__AlterTableCmd_msg_init_Fields pg_query_AlterTableCmd__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 40), 64, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 48), 65, UPB_SIZE(13, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterTableCmd_msg_init = { + &pg_query_AlterTableCmd__fields.fields[0], + UPB_SIZE(40, 56), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterTableCmd", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x00280000000c0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00300000010d002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001400003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; +} pg_0query__ATAlterConstraint_msg_init_Fields; + +static const pg_0query__ATAlterConstraint_msg_init_Fields pg_query_ATAlterConstraint__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__ATAlterConstraint_msg_init = { + &pg_query_ATAlterConstraint__fields.fields[0], + UPB_SIZE(24, 32), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ATAlterConstraint", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000b00003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000d00003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000e00003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; +} pg_0query__ReplicaIdentityStmt_msg_init_Fields; + +static const pg_0query__ReplicaIdentityStmt_msg_init_Fields pg_query_ReplicaIdentityStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__ReplicaIdentityStmt_msg_init = { + &pg_query_ReplicaIdentityStmt__fields.fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ReplicaIdentityStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AlterCollationStmt_msg_init_Fields; + +static const pg_0query__AlterCollationStmt_msg_init_Fields pg_query_AlterCollationStmt__fields = {{ + {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterCollationStmt_msg_init = { + &pg_query_AlterCollationStmt__fields.fields[0], + 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterCollationStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f02000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterDomainStmt_msg_init_Fields; + +static const pg_0query__AlterDomainStmt_msg_init_Fields pg_query_AlterDomainStmt__fields = {{ + {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 48), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 56), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterDomainStmt_msg_init = { + &pg_query_AlterDomainStmt__fields.fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterDomainStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f090012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00380000000a0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[9]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__GrantStmt_msg_init_Fields; + +static const pg_0query__GrantStmt_msg_init_Fields pg_query_GrantStmt__fields = {{ + {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 24), 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 32), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 40), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(32, 48), 64, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(36, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, +}}; + +const upb_MiniTable pg_0query__GrantStmt_msg_init = { + &pg_query_GrantStmt__fields.fields[0], + UPB_SIZE(40, 56), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.GrantStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000900003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f0e0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f0f002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f100032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000a00003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0030000000110042, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001400003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__ObjectWithArgs_msg_init_Fields; + +static const pg_0query__ObjectWithArgs_msg_init_Fields pg_query_ObjectWithArgs__fields = {{ + {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ObjectWithArgs_msg_init = { + &pg_query_ObjectWithArgs__fields.fields[0], + UPB_SIZE(24, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ObjectWithArgs", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f06000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001800003f070012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f08001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AccessPriv_msg_init_Fields; + +static const pg_0query__AccessPriv_msg_init_Fields pg_query_AccessPriv__fields = {{ + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AccessPriv_msg_init = { + &pg_query_AccessPriv__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AccessPriv", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f030012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__GrantRoleStmt_msg_init_Fields; + +static const pg_0query__GrantRoleStmt_msg_init_Fields pg_query_GrantRoleStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 32), 0, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 40), 64, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, +}}; + +const upb_MiniTable pg_0query__GrantRoleStmt_msg_init = { + &pg_query_GrantRoleStmt__fields.fields[0], + UPB_SIZE(32, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.GrantRoleStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f09000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001800003f0a0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x002000003f0b0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00280000000c002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterDefaultPrivilegesStmt_msg_init_Fields; + +static const pg_0query__AlterDefaultPrivilegesStmt_msg_init_Fields pg_query_AlterDefaultPrivilegesStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__GrantStmt_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterDefaultPrivilegesStmt_msg_init = { + &pg_query_AlterDefaultPrivilegesStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterDefaultPrivilegesStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0018000000040012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[5]; +} pg_0query__CopyStmt_msg_init_Fields; + +static const pg_0query__CopyStmt_msg_init_Fields pg_query_CopyStmt__fields = {{ + {1, UPB_SIZE(12, 32), 64, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 40), 65, UPB_SIZE(22, 23), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 48), 0, UPB_SIZE(20, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 64), 66, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CopyStmt_msg_init = { + &pg_query_CopyStmt__fields.fields[0], + UPB_SIZE(40, 72), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CopyStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00200000000c000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00280000010d0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003000003f0e001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000032, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003800003f0f003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0040000002100042, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__VariableSetStmt_msg_init_Fields; + +static const pg_0query__VariableSetStmt_msg_init_Fields pg_query_VariableSetStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__VariableSetStmt_msg_init = { + &pg_query_VariableSetStmt__fields.fields[0], + UPB_SIZE(32, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.VariableSetStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f09001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000900003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__VariableShowStmt_msg_init_Fields; + +static const pg_0query__VariableShowStmt_msg_init_Fields pg_query_VariableShowStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__VariableShowStmt_msg_init = { + &pg_query_VariableShowStmt__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.VariableShowStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[13]; + upb_MiniTableSubInternal subs[9]; +} pg_0query__CreateStmt_msg_init_Fields; + +static const pg_0query__CreateStmt_msg_init_Fields pg_query_CreateStmt__fields = {{ + {1, UPB_SIZE(12, 48), 64, UPB_SIZE(39, 40), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 56), 0, UPB_SIZE(37, 39), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 64), 0, UPB_SIZE(35, 38), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 72), 65, UPB_SIZE(33, 37), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 80), 66, UPB_SIZE(31, 36), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 88), 67, UPB_SIZE(29, 35), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(36, 96), 0, UPB_SIZE(27, 34), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(40, 104), 0, UPB_SIZE(25, 33), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(44, 112), 0, UPB_SIZE(23, 32), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(48, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(52, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(60, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {13, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PartitionBoundSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__PartitionSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateStmt_msg_init = { + &pg_query_CreateStmt__fields.fields[0], + UPB_SIZE(72, 120), 13, kUpb_ExtMode_NonExtendable, 13, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x003000000014000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003800003f150012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x004000003f16001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0048000001170022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x005000000218002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0058000003190032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x006000003f1a003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x006800003f1b0042, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x007000003f1c004a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000050, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f00005a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f000062, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000900003f000068, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[35]; + upb_MiniTableSubInternal subs[11]; +} pg_0query__Constraint_msg_init_Fields; + +static const pg_0query__Constraint_msg_init_Fields pg_query_Constraint__fields = {{ + {1, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(76, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(24, 192), 64, UPB_SIZE(81, 82), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(84, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(92, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(100, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {13, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(28, 200), 0, UPB_SIZE(67, 69), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {15, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {16, UPB_SIZE(32, 208), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {17, UPB_SIZE(36, 216), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {18, UPB_SIZE(40, 224), 0, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {19, UPB_SIZE(108, 96), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {20, UPB_SIZE(116, 112), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {21, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {22, UPB_SIZE(124, 128), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {23, UPB_SIZE(44, 232), 65, UPB_SIZE(44, 50), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {24, UPB_SIZE(48, 240), 66, UPB_SIZE(42, 49), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {25, UPB_SIZE(52, 248), 0, UPB_SIZE(40, 48), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {26, UPB_SIZE(56, 256), 0, UPB_SIZE(38, 47), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {27, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {28, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {29, UPB_SIZE(132, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {30, UPB_SIZE(140, 160), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {31, UPB_SIZE(148, 176), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {32, UPB_SIZE(60, 264), 0, UPB_SIZE(21, 31), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {33, UPB_SIZE(64, 272), 0, UPB_SIZE(19, 30), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {34, UPB_SIZE(68, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {35, UPB_SIZE(72, 28), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__Constraint_msg_init = { + &pg_query_Constraint__fields.fields[0], + UPB_SIZE(160, 280), 35, kUpb_ExtMode_NonExtendable, 35, UPB_FASTTABLE_MASK(248), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.Constraint", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001400003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000b00003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000d00003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000e00003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x00c000000035004a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003000003f000052, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x004000003f00005a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x005000003f000062, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000f00003f000068, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x00c800003f360072, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f000078, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x00d000003f370182, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x00d800003f38018a, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x00e000003f390192, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x006000003f00019a, &upb_DecodeFast_String_Scalar_Tag2Byte}, + {0x007000003f0001a2, &upb_DecodeFast_String_Scalar_Tag2Byte}, + {0x001100003f0001a8, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x008000003f0001b2, &upb_DecodeFast_String_Scalar_Tag2Byte}, + {0x00e80000013a01ba, &upb_DecodeFast_Message_Scalar_Tag2Byte}, + {0x00f00000023b01c2, &upb_DecodeFast_Message_Scalar_Tag2Byte}, + {0x00f800003f3c01ca, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x010000003f3d01d2, &upb_DecodeFast_Message_Repeated_Tag2Byte}, + {0x001200003f0001d8, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x001300003f0001e0, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x009000003f0001ea, &upb_DecodeFast_String_Scalar_Tag2Byte}, + {0x00a000003f0001f2, &upb_DecodeFast_String_Scalar_Tag2Byte}, + {0x00b000003f0001fa, &upb_DecodeFast_String_Scalar_Tag2Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateTableSpaceStmt_msg_init_Fields; + +static const pg_0query__CreateTableSpaceStmt_msg_init_Fields pg_query_CreateTableSpaceStmt__fields = {{ + {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 48), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 56), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateTableSpaceStmt_msg_init = { + &pg_query_CreateTableSpaceStmt__fields.fields[0], + UPB_SIZE(40, 64), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateTableSpaceStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0030000000060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003800003f070022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; +} pg_0query__DropTableSpaceStmt_msg_init_Fields; + +static const pg_0query__DropTableSpaceStmt_msg_init_Fields pg_query_DropTableSpaceStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__DropTableSpaceStmt_msg_init = { + &pg_query_DropTableSpaceStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DropTableSpaceStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AlterTableSpaceOptionsStmt_msg_init_Fields; + +static const pg_0query__AlterTableSpaceOptionsStmt_msg_init_Fields pg_query_AlterTableSpaceOptionsStmt__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterTableSpaceOptionsStmt_msg_init = { + &pg_query_AlterTableSpaceOptionsStmt__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterTableSpaceOptionsStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f050012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AlterTableMoveAllStmt_msg_init_Fields; + +static const pg_0query__AlterTableMoveAllStmt_msg_init_Fields pg_query_AlterTableMoveAllStmt__fields = {{ + {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterTableMoveAllStmt_msg_init = { + &pg_query_AlterTableMoveAllStmt__fields.fields[0], + UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterTableMoveAllStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x003000003f08001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f000022, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CreateExtensionStmt_msg_init_Fields; + +static const pg_0query__CreateExtensionStmt_msg_init_Fields pg_query_CreateExtensionStmt__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateExtensionStmt_msg_init = { + &pg_query_CreateExtensionStmt__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateExtensionStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x002000003f05001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AlterExtensionStmt_msg_init_Fields; + +static const pg_0query__AlterExtensionStmt_msg_init_Fields pg_query_AlterExtensionStmt__fields = {{ + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterExtensionStmt_msg_init = { + &pg_query_AlterExtensionStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterExtensionStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f030012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AlterExtensionContentsStmt_msg_init_Fields; + +static const pg_0query__AlterExtensionContentsStmt_msg_init_Fields pg_query_AlterExtensionContentsStmt__fields = {{ + {1, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 40), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterExtensionContentsStmt_msg_init = { + &pg_query_AlterExtensionContentsStmt__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterExtensionContentsStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0028000000060022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateFdwStmt_msg_init_Fields; + +static const pg_0query__CreateFdwStmt_msg_init_Fields pg_query_CreateFdwStmt__fields = {{ + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateFdwStmt_msg_init = { + &pg_query_CreateFdwStmt__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateFdwStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f050012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f06001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterFdwStmt_msg_init_Fields; + +static const pg_0query__AlterFdwStmt_msg_init_Fields pg_query_AlterFdwStmt__fields = {{ + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterFdwStmt_msg_init = { + &pg_query_AlterFdwStmt__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterFdwStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f050012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f06001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CreateForeignServerStmt_msg_init_Fields; + +static const pg_0query__CreateForeignServerStmt_msg_init_Fields pg_query_CreateForeignServerStmt__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(40, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(12, 80), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateForeignServerStmt_msg_init = { + &pg_query_CreateForeignServerStmt__fields.fields[0], + UPB_SIZE(48, 88), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateForeignServerStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x004000003f000022, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x005000003f090032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AlterForeignServerStmt_msg_init_Fields; + +static const pg_0query__AlterForeignServerStmt_msg_init_Fields pg_query_AlterForeignServerStmt__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 48), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterForeignServerStmt_msg_init = { + &pg_query_AlterForeignServerStmt__fields.fields[0], + UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterForeignServerStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f06001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateForeignTableStmt_msg_init_Fields; + +static const pg_0query__CreateForeignTableStmt_msg_init_Fields pg_query_CreateForeignTableStmt__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__CreateStmt_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateForeignTableStmt_msg_init = { + &pg_query_CreateForeignTableStmt__fields.fields[0], + UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateForeignTableStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f06001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateUserMappingStmt_msg_init_Fields; + +static const pg_0query__CreateUserMappingStmt_msg_init_Fields pg_query_CreateUserMappingStmt__fields = {{ + {1, UPB_SIZE(12, 32), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateUserMappingStmt_msg_init = { + &pg_query_CreateUserMappingStmt__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateUserMappingStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x002800003f070022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterUserMappingStmt_msg_init_Fields; + +static const pg_0query__AlterUserMappingStmt_msg_init_Fields pg_query_AlterUserMappingStmt__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterUserMappingStmt_msg_init = { + &pg_query_AlterUserMappingStmt__fields.fields[0], + UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterUserMappingStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f06001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__DropUserMappingStmt_msg_init_Fields; + +static const pg_0query__DropUserMappingStmt_msg_init_Fields pg_query_DropUserMappingStmt__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, +}}; + +const upb_MiniTable pg_0query__DropUserMappingStmt_msg_init = { + &pg_query_DropUserMappingStmt__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DropUserMappingStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ImportForeignSchemaStmt_msg_init_Fields; + +static const pg_0query__ImportForeignSchemaStmt_msg_init_Fields pg_query_ImportForeignSchemaStmt__fields = {{ + {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(36, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(12, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(16, 72), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ImportForeignSchemaStmt_msg_init = { + &pg_query_ImportForeignSchemaStmt__fields.fields[0], + UPB_SIZE(48, 80), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ImportForeignSchemaStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x004000003f09002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x004800003f0a0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__CreatePolicyStmt_msg_init_Fields; + +static const pg_0query__CreatePolicyStmt_msg_init_Fields pg_query_CreatePolicyStmt__fields = {{ + {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 48), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 56), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 64), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(24, 72), 66, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreatePolicyStmt_msg_init = { + &pg_query_CreatePolicyStmt__fields.fields[0], + UPB_SIZE(48, 80), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreatePolicyStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00300000000b0012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x003800003f0c002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00400000010d0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00480000020e003a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__AlterPolicyStmt_msg_init_Fields; + +static const pg_0query__AlterPolicyStmt_msg_init_Fields pg_query_AlterPolicyStmt__fields = {{ + {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 48), 65, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 56), 66, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterPolicyStmt_msg_init = { + &pg_query_AlterPolicyStmt__fields.fields[0], + UPB_SIZE(40, 64), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterPolicyStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0020000000080012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f09001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00300000010a0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00380000020b002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CreateAmStmt_msg_init_Fields; + +static const pg_0query__CreateAmStmt_msg_init_Fields pg_query_CreateAmStmt__fields = {{ + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 40), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateAmStmt_msg_init = { + &pg_query_CreateAmStmt__fields.fields[0], + UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateAmStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f050012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001800003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[15]; + upb_MiniTableSubInternal subs[7]; +} pg_0query__CreateTrigStmt_msg_init_Fields; + +static const pg_0query__CreateTrigStmt_msg_init_Fields pg_query_CreateTrigStmt__fields = {{ + {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(52, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 40), 64, UPB_SIZE(36, 37), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 48), 0, UPB_SIZE(34, 36), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 56), 0, UPB_SIZE(32, 35), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(28, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(32, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(36, 64), 0, UPB_SIZE(21, 25), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(40, 72), 65, UPB_SIZE(19, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(44, 80), 0, UPB_SIZE(17, 23), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {13, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {14, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {15, UPB_SIZE(48, 88), 66, UPB_SIZE(9, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateTrigStmt_msg_init = { + &pg_query_CreateTrigStmt__fields.fields[0], + UPB_SIZE(64, 96), 15, kUpb_ExtMode_NonExtendable, 15, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateTrigStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000900003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001800003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0028000000170022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003000003f18002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800003f190032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000b00003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000040, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x004000003f1a0052, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00480000011b005a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x005000003f1c0062, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000068, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000d00003f000070, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x00580000021d007a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateEventTrigStmt_msg_init_Fields; + +static const pg_0query__CreateEventTrigStmt_msg_init_Fields pg_query_CreateEventTrigStmt__fields = {{ + {1, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 40), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 48), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateEventTrigStmt_msg_init = { + &pg_query_CreateEventTrigStmt__fields.fields[0], + UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateEventTrigStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f06001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000003f070022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; +} pg_0query__AlterEventTrigStmt_msg_init_Fields; + +static const pg_0query__AlterEventTrigStmt_msg_init_Fields pg_query_AlterEventTrigStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__AlterEventTrigStmt_msg_init = { + &pg_query_AlterEventTrigStmt__fields.fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterEventTrigStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__CreatePLangStmt_msg_init_Fields; + +static const pg_0query__CreatePLangStmt_msg_init_Fields pg_query_CreatePLangStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 48), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreatePLangStmt_msg_init = { + &pg_query_CreatePLangStmt__fields.fields[0], + UPB_SIZE(32, 56), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreatePLangStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f09001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0a0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000003f0b002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000900003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CreateRoleStmt_msg_init_Fields; + +static const pg_0query__CreateRoleStmt_msg_init_Fields pg_query_CreateRoleStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateRoleStmt_msg_init = { + &pg_query_CreateRoleStmt__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateRoleStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f05001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterRoleStmt_msg_init_Fields; + +static const pg_0query__AlterRoleStmt_msg_init_Fields pg_query_AlterRoleStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterRoleStmt_msg_init = { + &pg_query_AlterRoleStmt__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterRoleStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f060012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterRoleSetStmt_msg_init_Fields; + +static const pg_0query__AlterRoleSetStmt_msg_init_Fields pg_query_AlterRoleSetStmt__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__VariableSetStmt_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterRoleSetStmt_msg_init = { + &pg_query_AlterRoleSetStmt__fields.fields[0], + UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterRoleSetStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800000106001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__DropRoleStmt_msg_init_Fields; + +static const pg_0query__DropRoleStmt_msg_init_Fields pg_query_DropRoleStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__DropRoleStmt_msg_init = { + &pg_query_DropRoleStmt__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DropRoleStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateSeqStmt_msg_init_Fields; + +static const pg_0query__CreateSeqStmt_msg_init_Fields pg_query_CreateSeqStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateSeqStmt_msg_init = { + &pg_query_CreateSeqStmt__fields.fields[0], + UPB_SIZE(24, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateSeqStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f090012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterSeqStmt_msg_init_Fields; + +static const pg_0query__AlterSeqStmt_msg_init_Fields pg_query_AlterSeqStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterSeqStmt_msg_init = { + &pg_query_AlterSeqStmt__fields.fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterSeqStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000006000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f070012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__DefineStmt_msg_init_Fields; + +static const pg_0query__DefineStmt_msg_init_Fields pg_query_DefineStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 16, 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 32), 0, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__DefineStmt_msg_init = { + &pg_query_DefineStmt__fields.fields[0], + UPB_SIZE(32, 40), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DefineStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f0b001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001800003f0c0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f0d002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000900003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__CreateDomainStmt_msg_init_Fields; + +static const pg_0query__CreateDomainStmt_msg_init_Fields pg_query_CreateDomainStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 65, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 40), 0, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__CollateClause_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateDomainStmt_msg_init = { + &pg_query_CreateDomainStmt__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateDomainStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f06000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0018000000070012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000000108001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f090022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__CreateOpClassStmt_msg_init_Fields; + +static const pg_0query__CreateOpClassStmt_msg_init_Fields pg_query_CreateOpClassStmt__fields = {{ + {1, UPB_SIZE(12, 32), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 40), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 48), 64, UPB_SIZE(11, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 56), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateOpClassStmt_msg_init = { + &pg_query_CreateOpClassStmt__fields.fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateOpClassStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000003f09000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0a0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00300000000b0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003800003f0c002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000900003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__CreateOpClassItem_msg_init_Fields; + +static const pg_0query__CreateOpClassItem_msg_init_Fields pg_query_CreateOpClassItem__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, 15, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 0, UPB_SIZE(10, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 40), 0, UPB_SIZE(8, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(32, 48), 65, UPB_SIZE(6, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__ObjectWithArgs_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateOpClassItem_msg_init = { + &pg_query_CreateOpClassItem__fields.fields[0], + UPB_SIZE(40, 56), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateOpClassItem", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0018000000090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f0a0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0b002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00300000010c0032, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CreateOpFamilyStmt_msg_init_Fields; + +static const pg_0query__CreateOpFamilyStmt_msg_init_Fields pg_query_CreateOpFamilyStmt__fields = {{ + {1, UPB_SIZE(8, 24), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateOpFamilyStmt_msg_init = { + &pg_query_CreateOpFamilyStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateOpFamilyStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterOpFamilyStmt_msg_init_Fields; + +static const pg_0query__AlterOpFamilyStmt_msg_init_Fields pg_query_AlterOpFamilyStmt__fields = {{ + {1, UPB_SIZE(12, 32), 0, 12, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterOpFamilyStmt_msg_init = { + &pg_query_AlterOpFamilyStmt__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterOpFamilyStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000003f06000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x002800003f070022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__DropStmt_msg_init_Fields; + +static const pg_0query__DropStmt_msg_init_Fields pg_query_DropStmt__fields = {{ + {1, UPB_SIZE(12, 24), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__DropStmt_msg_init = { + &pg_query_DropStmt__fields.fields[0], + UPB_SIZE(24, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DropStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f08000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000900003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__TruncateStmt_msg_init_Fields; + +static const pg_0query__TruncateStmt_msg_init_Fields pg_query_TruncateStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__TruncateStmt_msg_init = { + &pg_query_TruncateStmt__fields.fields[0], + 24, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.TruncateStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f05000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CommentStmt_msg_init_Fields; + +static const pg_0query__CommentStmt_msg_init_Fields pg_query_CommentStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CommentStmt_msg_init = { + &pg_query_CommentStmt__fields.fields[0], + UPB_SIZE(32, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CommentStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0020000000050012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__SecLabelStmt_msg_init_Fields; + +static const pg_0query__SecLabelStmt_msg_init_Fields pg_query_SecLabelStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 48), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__SecLabelStmt_msg_init = { + &pg_query_SecLabelStmt__fields.fields[0], + UPB_SIZE(40, 56), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SecLabelStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0030000000060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f000022, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__DeclareCursorStmt_msg_init_Fields; + +static const pg_0query__DeclareCursorStmt_msg_init_Fields pg_query_DeclareCursorStmt__fields = {{ + {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 32), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__DeclareCursorStmt_msg_init = { + &pg_query_DeclareCursorStmt__fields.fields[0], + UPB_SIZE(32, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DeclareCursorStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000000005001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__ClosePortalStmt_msg_init_Fields; + +static const pg_0query__ClosePortalStmt_msg_init_Fields pg_query_ClosePortalStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__ClosePortalStmt_msg_init = { + &pg_query_ClosePortalStmt__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ClosePortalStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; +} pg_0query__FetchStmt_msg_init_Fields; + +static const pg_0query__FetchStmt_msg_init_Fields pg_query_FetchStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, + {3, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__FetchStmt_msg_init = { + &pg_query_FetchStmt__fields.fields[0], + UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.FetchStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000010, &upb_DecodeFast_Varint64_Scalar_Tag1Byte}, + {0x001000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[25]; + upb_MiniTableSubInternal subs[6]; +} pg_0query__IndexStmt_msg_init_Fields; + +static const pg_0query__IndexStmt_msg_init_Fields pg_query_IndexStmt__fields = {{ + {1, UPB_SIZE(60, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 104), 64, UPB_SIZE(72, 73), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(68, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(76, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 112), 0, UPB_SIZE(64, 66), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 120), 0, UPB_SIZE(62, 65), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 128), 0, UPB_SIZE(60, 64), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {8, UPB_SIZE(36, 136), 65, UPB_SIZE(58, 63), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {9, UPB_SIZE(40, 144), 0, UPB_SIZE(56, 62), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {10, UPB_SIZE(84, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {11, UPB_SIZE(44, 20), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {12, UPB_SIZE(48, 24), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {13, UPB_SIZE(52, 28), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {14, UPB_SIZE(56, 32), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {15, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {16, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {17, 11, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {18, 12, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {19, 13, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {20, 14, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {21, 15, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {22, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {23, 17, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {24, 18, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {25, 19, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__IndexStmt_msg_init = { + &pg_query_IndexStmt__fields.fields[0], + UPB_SIZE(96, 152), 25, kUpb_ExtMode_NonExtendable, 25, UPB_FASTTABLE_MASK(248), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.IndexStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0068000000260012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x003800003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x004800003f000022, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x007000003f27002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x007800003f280032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x008000003f29003a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00880000012a0042, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x009000003f2b004a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x005800003f000052, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001400003f000058, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000060, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001c00003f000068, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x002000003f000070, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000078, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000180, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x000b00003f000188, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x000c00003f000190, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x000d00003f000198, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x000e00003f0001a0, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x000f00003f0001a8, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x001000003f0001b0, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x001100003f0001b8, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x001200003f0001c0, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x001300003f0001c8, &upb_DecodeFast_Bool_Scalar_Tag2Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__CreateStatsStmt_msg_init_Fields; + +static const pg_0query__CreateStatsStmt_msg_init_Fields pg_query_CreateStatsStmt__fields = {{ + {1, UPB_SIZE(12, 32), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 40), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 48), 0, UPB_SIZE(17, 20), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 56), 0, UPB_SIZE(15, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateStatsStmt_msg_init = { + &pg_query_CreateStatsStmt__fields.fields[0], + UPB_SIZE(40, 64), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateStatsStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000003f0b000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f0c0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003000003f0d001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800003f0e0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f00002a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000900003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__StatsElem_msg_init_Fields; + +static const pg_0query__StatsElem_msg_init_Fields pg_query_StatsElem__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__StatsElem_msg_init = { + &pg_query_StatsElem__fields.fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.StatsElem", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0020000000030012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterStatsStmt_msg_init_Fields; + +static const pg_0query__AlterStatsStmt_msg_init_Fields pg_query_AlterStatsStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterStatsStmt_msg_init = { + &pg_query_AlterStatsStmt__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterStatsStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f05000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0018000000060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[5]; +} pg_0query__CreateFunctionStmt_msg_init_Fields; + +static const pg_0query__CreateFunctionStmt_msg_init_Fields pg_query_CreateFunctionStmt__fields = {{ + {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 24), 0, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 32), 64, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 48), 65, UPB_SIZE(7, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateFunctionStmt_msg_init = { + &pg_query_CreateFunctionStmt__fields.fields[0], + UPB_SIZE(32, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateFunctionStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000900003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f0b001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001800003f0c0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00200000000d002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800003f0e0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00300000010f003a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__FunctionParameter_msg_init_Fields; + +static const pg_0query__FunctionParameter_msg_init_Fields pg_query_FunctionParameter__fields = {{ + {1, UPB_SIZE(28, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 40), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 48), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__FunctionParameter_msg_init = { + &pg_query_FunctionParameter__fields.fields[0], + UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.FunctionParameter", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0028000000080012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0030000001090022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterFunctionStmt_msg_init_Fields; + +static const pg_0query__AlterFunctionStmt_msg_init_Fields pg_query_AlterFunctionStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 64, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__ObjectWithArgs_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterFunctionStmt_msg_init = { + &pg_query_AlterFunctionStmt__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterFunctionStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0010000000050012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f06001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__DoStmt_msg_init_Fields; + +static const pg_0query__DoStmt_msg_init_Fields pg_query_DoStmt__fields = {{ + {1, 8, 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__DoStmt_msg_init = { + &pg_query_DoStmt__fields.fields[0], + 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DoStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f02000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; +} pg_0query__InlineCodeBlock_msg_init_Fields; + +static const pg_0query__InlineCodeBlock_msg_init_Fields pg_query_InlineCodeBlock__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__InlineCodeBlock_msg_init = { + &pg_query_InlineCodeBlock__fields.fields[0], + UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.InlineCodeBlock", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000800003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__CallStmt_msg_init_Fields; + +static const pg_0query__CallStmt_msg_init_Fields pg_query_CallStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__FuncCall_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__FuncExpr_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CallStmt_msg_init = { + &pg_query_CallStmt__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CallStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f07001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__CallContext_msg_init_Fields; + +static const pg_0query__CallContext_msg_init_Fields pg_query_CallContext__fields = {{ + {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__CallContext_msg_init = { + &pg_query_CallContext__fields.fields[0], + 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CallContext", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[8]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__RenameStmt_msg_init_Fields; + +static const pg_0query__RenameStmt_msg_init_Fields pg_query_RenameStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 56), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 64), 65, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(32, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {6, 40, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(28, 20), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {8, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RenameStmt_msg_init = { + &pg_query_RenameStmt__fields.fields[0], + UPB_SIZE(48, 72), 8, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RenameStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x00380000000c001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00400000010d0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f00002a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f000032, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001400003f000038, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000040, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__AlterObjectDependsStmt_msg_init_Fields; + +static const pg_0query__AlterObjectDependsStmt_msg_init_Fields pg_query_AlterObjectDependsStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 66, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__String_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterObjectDependsStmt_msg_init = { + &pg_query_AlterObjectDependsStmt__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterObjectDependsStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0010000000080012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800000109001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00200000020a0022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterObjectSchemaStmt_msg_init_Fields; + +static const pg_0query__AlterObjectSchemaStmt_msg_init_Fields pg_query_AlterObjectSchemaStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 40), 65, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterObjectSchemaStmt_msg_init = { + &pg_query_AlterObjectSchemaStmt__fields.fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterObjectSchemaStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0020000000080012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002800000109001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000022, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000900003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__AlterOwnerStmt_msg_init_Fields; + +static const pg_0query__AlterOwnerStmt_msg_init_Fields pg_query_AlterOwnerStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), 65, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 66, UPB_SIZE(5, 7), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterOwnerStmt_msg_init = { + &pg_query_AlterOwnerStmt__fields.fields[0], + UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterOwnerStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0010000000060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800000107001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0020000002080022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterOperatorStmt_msg_init_Fields; + +static const pg_0query__AlterOperatorStmt_msg_init_Fields pg_query_AlterOperatorStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__ObjectWithArgs_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterOperatorStmt_msg_init = { + &pg_query_AlterOperatorStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterOperatorStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000003000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f040012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterTypeStmt_msg_init_Fields; + +static const pg_0query__AlterTypeStmt_msg_init_Fields pg_query_AlterTypeStmt__fields = {{ + {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterTypeStmt_msg_init = { + &pg_query_AlterTypeStmt__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterTypeStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f040012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__RuleStmt_msg_init_Fields; + +static const pg_0query__RuleStmt_msg_init_Fields pg_query_RuleStmt__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(24, 48), 0, UPB_SIZE(8, 11), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__RuleStmt_msg_init = { + &pg_query_RuleStmt__fields.fields[0], + UPB_SIZE(40, 56), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RuleStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x00200000000b000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x00280000010c001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x003000003f0d0032, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000a00003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; +} pg_0query__NotifyStmt_msg_init_Fields; + +static const pg_0query__NotifyStmt_msg_init_Fields pg_query_NotifyStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__NotifyStmt_msg_init = { + &pg_query_NotifyStmt__fields.fields[0], + UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.NotifyStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__ListenStmt_msg_init_Fields; + +static const pg_0query__ListenStmt_msg_init_Fields pg_query_ListenStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__ListenStmt_msg_init = { + &pg_query_ListenStmt__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ListenStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__UnlistenStmt_msg_init_Fields; + +static const pg_0query__UnlistenStmt_msg_init_Fields pg_query_UnlistenStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__UnlistenStmt_msg_init = { + &pg_query_UnlistenStmt__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.UnlistenStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__TransactionStmt_msg_init_Fields; + +static const pg_0query__TransactionStmt_msg_init_Fields pg_query_TransactionStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 56), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__TransactionStmt_msg_init = { + &pg_query_TransactionStmt__fields.fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.TransactionStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x003800003f090012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001800003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f000022, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CompositeTypeStmt_msg_init_Fields; + +static const pg_0query__CompositeTypeStmt_msg_init_Fields pg_query_CompositeTypeStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CompositeTypeStmt_msg_init = { + &pg_query_CompositeTypeStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CompositeTypeStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000003000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f040012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateEnumStmt_msg_init_Fields; + +static const pg_0query__CreateEnumStmt_msg_init_Fields pg_query_CreateEnumStmt__fields = {{ + {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateEnumStmt_msg_init = { + &pg_query_CreateEnumStmt__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateEnumStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f040012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateRangeStmt_msg_init_Fields; + +static const pg_0query__CreateRangeStmt_msg_init_Fields pg_query_CreateRangeStmt__fields = {{ + {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateRangeStmt_msg_init = { + &pg_query_CreateRangeStmt__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateRangeStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f040012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AlterEnumStmt_msg_init_Fields; + +static const pg_0query__AlterEnumStmt_msg_init_Fields pg_query_AlterEnumStmt__fields = {{ + {1, UPB_SIZE(12, 64), 0, 18, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterEnumStmt_msg_init = { + &pg_query_AlterEnumStmt__fields.fields[0], + UPB_SIZE(40, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterEnumStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x004000003f09000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f000022, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000900003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__ViewStmt_msg_init_Fields; + +static const pg_0query__ViewStmt_msg_init_Fields pg_query_ViewStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 40), 0, UPB_SIZE(9, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ViewStmt_msg_init = { + &pg_query_ViewStmt__fields.fields[0], + UPB_SIZE(32, 48), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ViewStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000009000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f0a0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x00200000010b001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x002800003f0c002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__LoadStmt_msg_init_Fields; + +static const pg_0query__LoadStmt_msg_init_Fields pg_query_LoadStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__LoadStmt_msg_init = { + &pg_query_LoadStmt__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.LoadStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__CreatedbStmt_msg_init_Fields; + +static const pg_0query__CreatedbStmt_msg_init_Fields pg_query_CreatedbStmt__fields = {{ + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreatedbStmt_msg_init = { + &pg_query_CreatedbStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreatedbStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f030012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AlterDatabaseStmt_msg_init_Fields; + +static const pg_0query__AlterDatabaseStmt_msg_init_Fields pg_query_AlterDatabaseStmt__fields = {{ + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterDatabaseStmt_msg_init = { + &pg_query_AlterDatabaseStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterDatabaseStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f030012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__AlterDatabaseRefreshCollStmt_msg_init_Fields; + +static const pg_0query__AlterDatabaseRefreshCollStmt_msg_init_Fields pg_query_AlterDatabaseRefreshCollStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__AlterDatabaseRefreshCollStmt_msg_init = { + &pg_query_AlterDatabaseRefreshCollStmt__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterDatabaseRefreshCollStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AlterDatabaseSetStmt_msg_init_Fields; + +static const pg_0query__AlterDatabaseSetStmt_msg_init_Fields pg_query_AlterDatabaseSetStmt__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 64, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__VariableSetStmt_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterDatabaseSetStmt_msg_init = { + &pg_query_AlterDatabaseSetStmt__fields.fields[0], + UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterDatabaseSetStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0020000000030012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__DropdbStmt_msg_init_Fields; + +static const pg_0query__DropdbStmt_msg_init_Fields pg_query_DropdbStmt__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__DropdbStmt_msg_init = { + &pg_query_DropdbStmt__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DropdbStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x002000003f05001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[1]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__AlterSystemStmt_msg_init_Fields; + +static const pg_0query__AlterSystemStmt_msg_init_Fields pg_query_AlterSystemStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__VariableSetStmt_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterSystemStmt_msg_init = { + &pg_query_AlterSystemStmt__fields.fields[0], + UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterSystemStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000002000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ClusterStmt_msg_init_Fields; + +static const pg_0query__ClusterStmt_msg_init_Fields pg_query_ClusterStmt__fields = {{ + {1, UPB_SIZE(12, 32), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ClusterStmt_msg_init = { + &pg_query_ClusterStmt__fields.fields[0], + UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ClusterStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x002000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f06001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__VacuumStmt_msg_init_Fields; + +static const pg_0query__VacuumStmt_msg_init_Fields pg_query_VacuumStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__VacuumStmt_msg_init = { + &pg_query_VacuumStmt__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.VacuumStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f05000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001800003f060012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__VacuumRelation_msg_init_Fields; + +static const pg_0query__VacuumRelation_msg_init_Fields pg_query_VacuumRelation__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), 0, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__VacuumRelation_msg_init = { + &pg_query_VacuumRelation__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.VacuumRelation", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f06001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ExplainStmt_msg_init_Fields; + +static const pg_0query__ExplainStmt_msg_init_Fields pg_query_ExplainStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ExplainStmt_msg_init = { + &pg_query_ExplainStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ExplainStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000003000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001800003f040012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateTableAsStmt_msg_init_Fields; + +static const pg_0query__CreateTableAsStmt_msg_init_Fields pg_query_CreateTableAsStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__IntoClause_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateTableAsStmt_msg_init = { + &pg_query_CreateTableAsStmt__fields.fields[0], + UPB_SIZE(24, 32), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateTableAsStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__RefreshMatViewStmt_msg_init_Fields; + +static const pg_0query__RefreshMatViewStmt_msg_init_Fields pg_query_RefreshMatViewStmt__fields = {{ + {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(12, 16), 64, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, +}}; + +const upb_MiniTable pg_0query__RefreshMatViewStmt_msg_init = { + &pg_query_RefreshMatViewStmt__fields.fields[0], + UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.RefreshMatViewStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000900003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x001000000005001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +const upb_MiniTable pg_0query__CheckPointStmt_msg_init = { + NULL, + 8, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CheckPointStmt", +#endif +}; + +typedef struct { + upb_MiniTableField fields[1]; +} pg_0query__DiscardStmt_msg_init_Fields; + +static const pg_0query__DiscardStmt_msg_init_Fields pg_query_DiscardStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__DiscardStmt_msg_init = { + &pg_query_DiscardStmt__fields.fields[0], + 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DiscardStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__LockStmt_msg_init_Fields; + +static const pg_0query__LockStmt_msg_init_Fields pg_query_LockStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {3, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__LockStmt_msg_init = { + &pg_query_LockStmt__fields.fields[0], + 24, 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.LockStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f05000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000800003f000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__ConstraintsSetStmt_msg_init_Fields; + +static const pg_0query__ConstraintsSetStmt_msg_init_Fields pg_query_ConstraintsSetStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ConstraintsSetStmt_msg_init = { + &pg_query_ConstraintsSetStmt__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ConstraintsSetStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ReindexStmt_msg_init_Fields; + +static const pg_0query__ReindexStmt_msg_init_Fields pg_query_ReindexStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 32), 64, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 40), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ReindexStmt_msg_init = { + &pg_query_ReindexStmt__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ReindexStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0020000000060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f070022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateConversionStmt_msg_init_Fields; + +static const pg_0query__CreateConversionStmt_msg_init_Fields pg_query_CreateConversionStmt__fields = {{ + {1, UPB_SIZE(12, 48), 0, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateConversionStmt_msg_init = { + &pg_query_CreateConversionStmt__fields.fields[0], + UPB_SIZE(40, 64), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateConversionStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x003000003f08000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003800003f090022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__CreateCastStmt_msg_init_Fields; + +static const pg_0query__CreateCastStmt_msg_init_Fields pg_query_CreateCastStmt__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(15, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(13, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ObjectWithArgs_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateCastStmt_msg_init = { + &pg_query_CreateCastStmt__fields.fields[0], + UPB_SIZE(32, 40), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateCastStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000008000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001090012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00200000020a001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x000c00003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000900003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__CreateTransformStmt_msg_init_Fields; + +static const pg_0query__CreateTransformStmt_msg_init_Fields pg_query_CreateTransformStmt__fields = {{ + {1, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 64, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(16, 40), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 48), 66, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__TypeName_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ObjectWithArgs_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__ObjectWithArgs_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateTransformStmt_msg_init = { + &pg_query_CreateTransformStmt__fields.fields[0], + UPB_SIZE(32, 56), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateTransformStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000900003f000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0020000000080012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x0028000001090022, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x00300000020a002a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__PrepareStmt_msg_init_Fields; + +static const pg_0query__PrepareStmt_msg_init_Fields pg_query_PrepareStmt__fields = {{ + {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 64, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__PrepareStmt_msg_init = { + &pg_query_PrepareStmt__fields.fields[0], + UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.PrepareStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f050012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800000006001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__ExecuteStmt_msg_init_Fields; + +static const pg_0query__ExecuteStmt_msg_init_Fields pg_query_ExecuteStmt__fields = {{ + {1, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(8, 24), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__ExecuteStmt_msg_init = { + &pg_query_ExecuteStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ExecuteStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f030012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; +} pg_0query__DeallocateStmt_msg_init_Fields; + +static const pg_0query__DeallocateStmt_msg_init_Fields pg_query_DeallocateStmt__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__DeallocateStmt_msg_init = { + &pg_query_DeallocateStmt__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DeallocateStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__DropOwnedStmt_msg_init_Fields; + +static const pg_0query__DropOwnedStmt_msg_init_Fields pg_query_DropOwnedStmt__fields = {{ + {1, UPB_SIZE(8, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__DropOwnedStmt_msg_init = { + &pg_query_DropOwnedStmt__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DropOwnedStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__ReassignOwnedStmt_msg_init_Fields; + +static const pg_0query__ReassignOwnedStmt_msg_init_Fields pg_query_ReassignOwnedStmt__fields = {{ + {1, UPB_SIZE(12, 16), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 64, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__RoleSpec_msg_init}, +}}; + +const upb_MiniTable pg_0query__ReassignOwnedStmt_msg_init = { + &pg_query_ReassignOwnedStmt__fields.fields[0], + UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ReassignOwnedStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0018000000040012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterTSDictionaryStmt_msg_init_Fields; + +static const pg_0query__AlterTSDictionaryStmt_msg_init_Fields pg_query_AlterTSDictionaryStmt__fields = {{ + {1, 8, 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 16), 0, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterTSDictionaryStmt_msg_init = { + &pg_query_AlterTSDictionaryStmt__fields.fields[0], + UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterTSDictionaryStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f03000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001000003f040012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__AlterTSConfigurationStmt_msg_init_Fields; + +static const pg_0query__AlterTSConfigurationStmt_msg_init_Fields pg_query_AlterTSConfigurationStmt__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 16, 0, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 24), 0, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(24, 32), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {7, 10, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterTSConfigurationStmt_msg_init = { + &pg_query_AlterTSConfigurationStmt__fields.fields[0], + UPB_SIZE(32, 40), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterTSConfigurationStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f0b0012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x001800003f0c001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002000003f0d0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000900003f000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000a00003f000038, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; + upb_MiniTableSubInternal subs[3]; +} pg_0query__PublicationTable_msg_init_Fields; + +static const pg_0query__PublicationTable_msg_init_Fields pg_query_PublicationTable__fields = {{ + {1, UPB_SIZE(12, 16), 64, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 65, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(20, 32), 0, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__RangeVar_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__PublicationTable_msg_init = { + &pg_query_PublicationTable__fields.fields[0], + UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.PublicationTable", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000000005000a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x0018000001060012, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x002000003f07001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[1]; +} pg_0query__PublicationObjSpec_msg_init_Fields; + +static const pg_0query__PublicationObjSpec_msg_init_Fields pg_query_PublicationObjSpec__fields = {{ + {1, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 24, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 64, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 16), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__PublicationTable_msg_init}, +}}; + +const upb_MiniTable pg_0query__PublicationObjSpec_msg_init = { + &pg_query_PublicationObjSpec__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.PublicationObjSpec", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000c00003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800000006001a, &upb_DecodeFast_Message_Scalar_Tag1Byte}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreatePublicationStmt_msg_init_Fields; + +static const pg_0query__CreatePublicationStmt_msg_init_Fields pg_query_CreatePublicationStmt__fields = {{ + {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreatePublicationStmt_msg_init = { + &pg_query_CreatePublicationStmt__fields.fields[0], + UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreatePublicationStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f060012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f07001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterPublicationStmt_msg_init_Fields; + +static const pg_0query__AlterPublicationStmt_msg_init_Fields pg_query_AlterPublicationStmt__fields = {{ + {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 0, UPB_SIZE(12, 13), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 0, UPB_SIZE(10, 12), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterPublicationStmt_msg_init = { + &pg_query_AlterPublicationStmt__fields.fields[0], + UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterPublicationStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f080012, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x002800003f09001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[5]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__CreateSubscriptionStmt_msg_init_Fields; + +static const pg_0query__CreateSubscriptionStmt_msg_init_Fields pg_query_CreateSubscriptionStmt__fields = {{ + {1, UPB_SIZE(20, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(28, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(8, 48), 0, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 56), 0, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__CreateSubscriptionStmt_msg_init = { + &pg_query_CreateSubscriptionStmt__fields.fields[0], + UPB_SIZE(40, 64), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.CreateSubscriptionStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f08001a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800003f090022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000800003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[6]; + upb_MiniTableSubInternal subs[2]; +} pg_0query__AlterSubscriptionStmt_msg_init_Fields; + +static const pg_0query__AlterSubscriptionStmt_msg_init_Fields pg_query_AlterSubscriptionStmt__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(12, 48), 0, 9, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(16, 56), 0, UPB_SIZE(7, 8), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(20, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__Node_msg_init}, +}}; + +const upb_MiniTable pg_0query__AlterSubscriptionStmt_msg_init = { + &pg_query_AlterSubscriptionStmt__fields.fields[0], + UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.AlterSubscriptionStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f090022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800003f0a002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x000c00003f000030, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; +} pg_0query__DropSubscriptionStmt_msg_init_Fields; + +static const pg_0query__DropSubscriptionStmt_msg_init_Fields pg_query_DropSubscriptionStmt__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, + {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__DropSubscriptionStmt_msg_init = { + &pg_query_DropSubscriptionStmt__fields.fields[0], + UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.DropSubscriptionStmt", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000010, &upb_DecodeFast_Bool_Scalar_Tag1Byte}, + {0x000c00003f000018, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; +} pg_0query__ScanToken_msg_init_Fields; + +static const pg_0query__ScanToken_msg_init_Fields pg_query_ScanToken__fields = {{ + {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {2, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {4, 16, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, + {5, 20, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__ScanToken_msg_init = { + &pg_query_ScanToken__fields.fields[0], + 24, 4, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.ScanToken", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x000c00003f000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x001400003f000028, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[7]; + upb_MiniTableSubInternal subs[4]; +} pg_0query__SummaryResult_msg_init_Fields; + +static const pg_0query__SummaryResult_msg_init_Fields pg_query_SummaryResult__fields = {{ + {1, UPB_SIZE(8, 24), 0, UPB_SIZE(21, 22), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(12, 32), 0, UPB_SIZE(19, 21), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(16, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {4, UPB_SIZE(20, 48), 0, UPB_SIZE(14, 17), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {5, UPB_SIZE(24, 56), 0, UPB_SIZE(12, 16), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {6, UPB_SIZE(28, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, + {7, UPB_SIZE(32, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + }, + { + {.UPB_PRIVATE(submsg) = &pg_0query__SummaryResult__Table_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SummaryResult__AliasesEntry_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SummaryResult__Function_msg_init}, + {.UPB_PRIVATE(submsg) = &pg_0query__SummaryResult__FilterColumn_msg_init}, +}}; + +const upb_MiniTable pg_0query__SummaryResult_msg_init = { + &pg_query_SummaryResult__fields.fields[0], + UPB_SIZE(40, 72), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SummaryResult", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x001800003f0b000a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, + {0x002800003f00001a, &upb_DecodeFast_String_Repeated_Tag1Byte}, + {0x003000003f0d0022, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x003800003f0e002a, &upb_DecodeFast_Message_Repeated_Tag1Byte}, + {0x004000003f000032, &upb_DecodeFast_String_Repeated_Tag1Byte}, + {0x000800003f00003a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +typedef struct { + upb_MiniTableField fields[4]; +} pg_0query__SummaryResult__Table_msg_init_Fields; + +static const pg_0query__SummaryResult__Table_msg_init_Fields pg_query_SummaryResult_Table__fields = {{ + {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__SummaryResult__Table_msg_init = { + &pg_query_SummaryResult_Table__fields.fields[0], + UPB_SIZE(40, 64), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SummaryResult.Table", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[2]; +} pg_0query__SummaryResult__AliasesEntry_msg_init_Fields; + +static const pg_0query__SummaryResult__AliasesEntry_msg_init_Fields pg_query_SummaryResult_AliasesEntry__fields = {{ + {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__SummaryResult__AliasesEntry_msg_init = { + &pg_query_SummaryResult_AliasesEntry__fields.fields[0], + 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(255), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SummaryResult.AliasesEntry", +#endif +}; + +typedef struct { + upb_MiniTableField fields[4]; +} pg_0query__SummaryResult__Function_msg_init_Fields; + +static const pg_0query__SummaryResult__Function_msg_init_Fields pg_query_SummaryResult_Function__fields = {{ + {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(28, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {4, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__SummaryResult__Function_msg_init = { + &pg_query_SummaryResult_Function__fields.fields[0], + UPB_SIZE(40, 64), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SummaryResult.Function", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x001000003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002000003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x003000003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x000800003f000020, &upb_DecodeFast_Varint32_Scalar_Tag1Byte}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + }) +}; + +typedef struct { + upb_MiniTableField fields[3]; +} pg_0query__SummaryResult__FilterColumn_msg_init_Fields; + +static const pg_0query__SummaryResult__FilterColumn_msg_init_Fields pg_query_SummaryResult_FilterColumn__fields = {{ + {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, + {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, +}}; + +const upb_MiniTable pg_0query__SummaryResult__FilterColumn_msg_init = { + &pg_query_SummaryResult_FilterColumn__fields.fields[0], + UPB_SIZE(32, 56), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, +#ifdef UPB_TRACING_ENABLED + "pg_query.SummaryResult.FilterColumn", +#endif + UPB_FASTTABLE_INIT({ + {0x0000000000000000, &_upb_FastDecoder_DecodeUnknown}, + {0x000800003f00000a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x001800003f000012, &upb_DecodeFast_String_Scalar_Tag1Byte}, + {0x002800003f00001a, &upb_DecodeFast_String_Scalar_Tag1Byte}, + }) +}; + +static const upb_MiniTable *messages_layout_protobuf_pg_query_proto_upb_file_layout[280] = { + &pg_0query__ParseResult_msg_init, + &pg_0query__ScanResult_msg_init, + &pg_0query__Node_msg_init, + &pg_0query__Integer_msg_init, + &pg_0query__Float_msg_init, + &pg_0query__Boolean_msg_init, + &pg_0query__String_msg_init, + &pg_0query__BitString_msg_init, + &pg_0query__List_msg_init, + &pg_0query__OidList_msg_init, + &pg_0query__IntList_msg_init, + &pg_0query__A_0Const_msg_init, + &pg_0query__Alias_msg_init, + &pg_0query__RangeVar_msg_init, + &pg_0query__TableFunc_msg_init, + &pg_0query__IntoClause_msg_init, + &pg_0query__Var_msg_init, + &pg_0query__Param_msg_init, + &pg_0query__Aggref_msg_init, + &pg_0query__GroupingFunc_msg_init, + &pg_0query__WindowFunc_msg_init, + &pg_0query__WindowFuncRunCondition_msg_init, + &pg_0query__MergeSupportFunc_msg_init, + &pg_0query__SubscriptingRef_msg_init, + &pg_0query__FuncExpr_msg_init, + &pg_0query__NamedArgExpr_msg_init, + &pg_0query__OpExpr_msg_init, + &pg_0query__DistinctExpr_msg_init, + &pg_0query__NullIfExpr_msg_init, + &pg_0query__ScalarArrayOpExpr_msg_init, + &pg_0query__BoolExpr_msg_init, + &pg_0query__SubLink_msg_init, + &pg_0query__SubPlan_msg_init, + &pg_0query__AlternativeSubPlan_msg_init, + &pg_0query__FieldSelect_msg_init, + &pg_0query__FieldStore_msg_init, + &pg_0query__RelabelType_msg_init, + &pg_0query__CoerceViaIO_msg_init, + &pg_0query__ArrayCoerceExpr_msg_init, + &pg_0query__ConvertRowtypeExpr_msg_init, + &pg_0query__CollateExpr_msg_init, + &pg_0query__CaseExpr_msg_init, + &pg_0query__CaseWhen_msg_init, + &pg_0query__CaseTestExpr_msg_init, + &pg_0query__ArrayExpr_msg_init, + &pg_0query__RowExpr_msg_init, + &pg_0query__RowCompareExpr_msg_init, + &pg_0query__CoalesceExpr_msg_init, + &pg_0query__MinMaxExpr_msg_init, + &pg_0query__SQLValueFunction_msg_init, + &pg_0query__XmlExpr_msg_init, + &pg_0query__JsonFormat_msg_init, + &pg_0query__JsonReturning_msg_init, + &pg_0query__JsonValueExpr_msg_init, + &pg_0query__JsonConstructorExpr_msg_init, + &pg_0query__JsonIsPredicate_msg_init, + &pg_0query__JsonBehavior_msg_init, + &pg_0query__JsonExpr_msg_init, + &pg_0query__JsonTablePath_msg_init, + &pg_0query__JsonTablePathScan_msg_init, + &pg_0query__JsonTableSiblingJoin_msg_init, + &pg_0query__NullTest_msg_init, + &pg_0query__BooleanTest_msg_init, + &pg_0query__MergeAction_msg_init, + &pg_0query__CoerceToDomain_msg_init, + &pg_0query__CoerceToDomainValue_msg_init, + &pg_0query__SetToDefault_msg_init, + &pg_0query__CurrentOfExpr_msg_init, + &pg_0query__NextValueExpr_msg_init, + &pg_0query__InferenceElem_msg_init, + &pg_0query__ReturningExpr_msg_init, + &pg_0query__TargetEntry_msg_init, + &pg_0query__RangeTblRef_msg_init, + &pg_0query__JoinExpr_msg_init, + &pg_0query__FromExpr_msg_init, + &pg_0query__OnConflictExpr_msg_init, + &pg_0query__Query_msg_init, + &pg_0query__TypeName_msg_init, + &pg_0query__ColumnRef_msg_init, + &pg_0query__ParamRef_msg_init, + &pg_0query__A_0Expr_msg_init, + &pg_0query__TypeCast_msg_init, + &pg_0query__CollateClause_msg_init, + &pg_0query__RoleSpec_msg_init, + &pg_0query__FuncCall_msg_init, + &pg_0query__A_0Star_msg_init, + &pg_0query__A_0Indices_msg_init, + &pg_0query__A_0Indirection_msg_init, + &pg_0query__A_0ArrayExpr_msg_init, + &pg_0query__ResTarget_msg_init, + &pg_0query__MultiAssignRef_msg_init, + &pg_0query__SortBy_msg_init, + &pg_0query__WindowDef_msg_init, + &pg_0query__RangeSubselect_msg_init, + &pg_0query__RangeFunction_msg_init, + &pg_0query__RangeTableFunc_msg_init, + &pg_0query__RangeTableFuncCol_msg_init, + &pg_0query__RangeTableSample_msg_init, + &pg_0query__ColumnDef_msg_init, + &pg_0query__TableLikeClause_msg_init, + &pg_0query__IndexElem_msg_init, + &pg_0query__DefElem_msg_init, + &pg_0query__LockingClause_msg_init, + &pg_0query__XmlSerialize_msg_init, + &pg_0query__PartitionElem_msg_init, + &pg_0query__PartitionSpec_msg_init, + &pg_0query__PartitionBoundSpec_msg_init, + &pg_0query__PartitionRangeDatum_msg_init, + &pg_0query__PartitionCmd_msg_init, + &pg_0query__RangeTblEntry_msg_init, + &pg_0query__RTEPermissionInfo_msg_init, + &pg_0query__RangeTblFunction_msg_init, + &pg_0query__TableSampleClause_msg_init, + &pg_0query__WithCheckOption_msg_init, + &pg_0query__SortGroupClause_msg_init, + &pg_0query__GroupingSet_msg_init, + &pg_0query__WindowClause_msg_init, + &pg_0query__RowMarkClause_msg_init, + &pg_0query__WithClause_msg_init, + &pg_0query__InferClause_msg_init, + &pg_0query__OnConflictClause_msg_init, + &pg_0query__CTESearchClause_msg_init, + &pg_0query__CTECycleClause_msg_init, + &pg_0query__CommonTableExpr_msg_init, + &pg_0query__MergeWhenClause_msg_init, + &pg_0query__ReturningOption_msg_init, + &pg_0query__ReturningClause_msg_init, + &pg_0query__TriggerTransition_msg_init, + &pg_0query__JsonOutput_msg_init, + &pg_0query__JsonArgument_msg_init, + &pg_0query__JsonFuncExpr_msg_init, + &pg_0query__JsonTablePathSpec_msg_init, + &pg_0query__JsonTable_msg_init, + &pg_0query__JsonTableColumn_msg_init, + &pg_0query__JsonKeyValue_msg_init, + &pg_0query__JsonParseExpr_msg_init, + &pg_0query__JsonScalarExpr_msg_init, + &pg_0query__JsonSerializeExpr_msg_init, + &pg_0query__JsonObjectConstructor_msg_init, + &pg_0query__JsonArrayConstructor_msg_init, + &pg_0query__JsonArrayQueryConstructor_msg_init, + &pg_0query__JsonAggConstructor_msg_init, + &pg_0query__JsonObjectAgg_msg_init, + &pg_0query__JsonArrayAgg_msg_init, + &pg_0query__RawStmt_msg_init, + &pg_0query__InsertStmt_msg_init, + &pg_0query__DeleteStmt_msg_init, + &pg_0query__UpdateStmt_msg_init, + &pg_0query__MergeStmt_msg_init, + &pg_0query__SelectStmt_msg_init, + &pg_0query__SetOperationStmt_msg_init, + &pg_0query__ReturnStmt_msg_init, + &pg_0query__PLAssignStmt_msg_init, + &pg_0query__CreateSchemaStmt_msg_init, + &pg_0query__AlterTableStmt_msg_init, + &pg_0query__AlterTableCmd_msg_init, + &pg_0query__ATAlterConstraint_msg_init, + &pg_0query__ReplicaIdentityStmt_msg_init, + &pg_0query__AlterCollationStmt_msg_init, + &pg_0query__AlterDomainStmt_msg_init, + &pg_0query__GrantStmt_msg_init, + &pg_0query__ObjectWithArgs_msg_init, + &pg_0query__AccessPriv_msg_init, + &pg_0query__GrantRoleStmt_msg_init, + &pg_0query__AlterDefaultPrivilegesStmt_msg_init, + &pg_0query__CopyStmt_msg_init, + &pg_0query__VariableSetStmt_msg_init, + &pg_0query__VariableShowStmt_msg_init, + &pg_0query__CreateStmt_msg_init, + &pg_0query__Constraint_msg_init, + &pg_0query__CreateTableSpaceStmt_msg_init, + &pg_0query__DropTableSpaceStmt_msg_init, + &pg_0query__AlterTableSpaceOptionsStmt_msg_init, + &pg_0query__AlterTableMoveAllStmt_msg_init, + &pg_0query__CreateExtensionStmt_msg_init, + &pg_0query__AlterExtensionStmt_msg_init, + &pg_0query__AlterExtensionContentsStmt_msg_init, + &pg_0query__CreateFdwStmt_msg_init, + &pg_0query__AlterFdwStmt_msg_init, + &pg_0query__CreateForeignServerStmt_msg_init, + &pg_0query__AlterForeignServerStmt_msg_init, + &pg_0query__CreateForeignTableStmt_msg_init, + &pg_0query__CreateUserMappingStmt_msg_init, + &pg_0query__AlterUserMappingStmt_msg_init, + &pg_0query__DropUserMappingStmt_msg_init, + &pg_0query__ImportForeignSchemaStmt_msg_init, + &pg_0query__CreatePolicyStmt_msg_init, + &pg_0query__AlterPolicyStmt_msg_init, + &pg_0query__CreateAmStmt_msg_init, + &pg_0query__CreateTrigStmt_msg_init, + &pg_0query__CreateEventTrigStmt_msg_init, + &pg_0query__AlterEventTrigStmt_msg_init, + &pg_0query__CreatePLangStmt_msg_init, + &pg_0query__CreateRoleStmt_msg_init, + &pg_0query__AlterRoleStmt_msg_init, + &pg_0query__AlterRoleSetStmt_msg_init, + &pg_0query__DropRoleStmt_msg_init, + &pg_0query__CreateSeqStmt_msg_init, + &pg_0query__AlterSeqStmt_msg_init, + &pg_0query__DefineStmt_msg_init, + &pg_0query__CreateDomainStmt_msg_init, + &pg_0query__CreateOpClassStmt_msg_init, + &pg_0query__CreateOpClassItem_msg_init, + &pg_0query__CreateOpFamilyStmt_msg_init, + &pg_0query__AlterOpFamilyStmt_msg_init, + &pg_0query__DropStmt_msg_init, + &pg_0query__TruncateStmt_msg_init, + &pg_0query__CommentStmt_msg_init, + &pg_0query__SecLabelStmt_msg_init, + &pg_0query__DeclareCursorStmt_msg_init, + &pg_0query__ClosePortalStmt_msg_init, + &pg_0query__FetchStmt_msg_init, + &pg_0query__IndexStmt_msg_init, + &pg_0query__CreateStatsStmt_msg_init, + &pg_0query__StatsElem_msg_init, + &pg_0query__AlterStatsStmt_msg_init, + &pg_0query__CreateFunctionStmt_msg_init, + &pg_0query__FunctionParameter_msg_init, + &pg_0query__AlterFunctionStmt_msg_init, + &pg_0query__DoStmt_msg_init, + &pg_0query__InlineCodeBlock_msg_init, + &pg_0query__CallStmt_msg_init, + &pg_0query__CallContext_msg_init, + &pg_0query__RenameStmt_msg_init, + &pg_0query__AlterObjectDependsStmt_msg_init, + &pg_0query__AlterObjectSchemaStmt_msg_init, + &pg_0query__AlterOwnerStmt_msg_init, + &pg_0query__AlterOperatorStmt_msg_init, + &pg_0query__AlterTypeStmt_msg_init, + &pg_0query__RuleStmt_msg_init, + &pg_0query__NotifyStmt_msg_init, + &pg_0query__ListenStmt_msg_init, + &pg_0query__UnlistenStmt_msg_init, + &pg_0query__TransactionStmt_msg_init, + &pg_0query__CompositeTypeStmt_msg_init, + &pg_0query__CreateEnumStmt_msg_init, + &pg_0query__CreateRangeStmt_msg_init, + &pg_0query__AlterEnumStmt_msg_init, + &pg_0query__ViewStmt_msg_init, + &pg_0query__LoadStmt_msg_init, + &pg_0query__CreatedbStmt_msg_init, + &pg_0query__AlterDatabaseStmt_msg_init, + &pg_0query__AlterDatabaseRefreshCollStmt_msg_init, + &pg_0query__AlterDatabaseSetStmt_msg_init, + &pg_0query__DropdbStmt_msg_init, + &pg_0query__AlterSystemStmt_msg_init, + &pg_0query__ClusterStmt_msg_init, + &pg_0query__VacuumStmt_msg_init, + &pg_0query__VacuumRelation_msg_init, + &pg_0query__ExplainStmt_msg_init, + &pg_0query__CreateTableAsStmt_msg_init, + &pg_0query__RefreshMatViewStmt_msg_init, + &pg_0query__CheckPointStmt_msg_init, + &pg_0query__DiscardStmt_msg_init, + &pg_0query__LockStmt_msg_init, + &pg_0query__ConstraintsSetStmt_msg_init, + &pg_0query__ReindexStmt_msg_init, + &pg_0query__CreateConversionStmt_msg_init, + &pg_0query__CreateCastStmt_msg_init, + &pg_0query__CreateTransformStmt_msg_init, + &pg_0query__PrepareStmt_msg_init, + &pg_0query__ExecuteStmt_msg_init, + &pg_0query__DeallocateStmt_msg_init, + &pg_0query__DropOwnedStmt_msg_init, + &pg_0query__ReassignOwnedStmt_msg_init, + &pg_0query__AlterTSDictionaryStmt_msg_init, + &pg_0query__AlterTSConfigurationStmt_msg_init, + &pg_0query__PublicationTable_msg_init, + &pg_0query__PublicationObjSpec_msg_init, + &pg_0query__CreatePublicationStmt_msg_init, + &pg_0query__AlterPublicationStmt_msg_init, + &pg_0query__CreateSubscriptionStmt_msg_init, + &pg_0query__AlterSubscriptionStmt_msg_init, + &pg_0query__DropSubscriptionStmt_msg_init, + &pg_0query__ScanToken_msg_init, + &pg_0query__SummaryResult_msg_init, + &pg_0query__SummaryResult__Table_msg_init, + &pg_0query__SummaryResult__AliasesEntry_msg_init, + &pg_0query__SummaryResult__Function_msg_init, + &pg_0query__SummaryResult__FilterColumn_msg_init, +}; + +const upb_MiniTableFile protobuf_pg_query_proto_upb_file_layout = { + messages_layout_protobuf_pg_query_proto_upb_file_layout, + NULL, + NULL, + 280, + 0, + 0, +}; + +#include "upb/port/undef.inc" + diff --git a/protobuf/pg_query.upb_minitable.h b/protobuf/pg_query.upb_minitable.h new file mode 100644 index 000000000..b8e222d48 --- /dev/null +++ b/protobuf/pg_query.upb_minitable.h @@ -0,0 +1,310 @@ +/* This file was generated by upb_generator from the input file: + * + * protobuf/pg_query.proto + * + * Do not edit -- your changes will be discarded when the file is + * regenerated. + * NO CHECKED-IN PROTOBUF GENCODE */ + +#ifndef PROTOBUF_PG_QUERY_PROTO_UPB_H__UPB_MINITABLE_H_ +#define PROTOBUF_PG_QUERY_PROTO_UPB_H__UPB_MINITABLE_H_ + +#include "upb/generated_code_support.h" + +// Must be last. +#include "upb/port/def.inc" + +#ifdef __cplusplus +extern "C" { +#endif + +extern const upb_MiniTable pg_0query__ParseResult_msg_init; +extern const upb_MiniTable pg_0query__ScanResult_msg_init; +extern const upb_MiniTable pg_0query__Node_msg_init; +extern const upb_MiniTable pg_0query__Integer_msg_init; +extern const upb_MiniTable pg_0query__Float_msg_init; +extern const upb_MiniTable pg_0query__Boolean_msg_init; +extern const upb_MiniTable pg_0query__String_msg_init; +extern const upb_MiniTable pg_0query__BitString_msg_init; +extern const upb_MiniTable pg_0query__List_msg_init; +extern const upb_MiniTable pg_0query__OidList_msg_init; +extern const upb_MiniTable pg_0query__IntList_msg_init; +extern const upb_MiniTable pg_0query__A_0Const_msg_init; +extern const upb_MiniTable pg_0query__Alias_msg_init; +extern const upb_MiniTable pg_0query__RangeVar_msg_init; +extern const upb_MiniTable pg_0query__TableFunc_msg_init; +extern const upb_MiniTable pg_0query__IntoClause_msg_init; +extern const upb_MiniTable pg_0query__Var_msg_init; +extern const upb_MiniTable pg_0query__Param_msg_init; +extern const upb_MiniTable pg_0query__Aggref_msg_init; +extern const upb_MiniTable pg_0query__GroupingFunc_msg_init; +extern const upb_MiniTable pg_0query__WindowFunc_msg_init; +extern const upb_MiniTable pg_0query__WindowFuncRunCondition_msg_init; +extern const upb_MiniTable pg_0query__MergeSupportFunc_msg_init; +extern const upb_MiniTable pg_0query__SubscriptingRef_msg_init; +extern const upb_MiniTable pg_0query__FuncExpr_msg_init; +extern const upb_MiniTable pg_0query__NamedArgExpr_msg_init; +extern const upb_MiniTable pg_0query__OpExpr_msg_init; +extern const upb_MiniTable pg_0query__DistinctExpr_msg_init; +extern const upb_MiniTable pg_0query__NullIfExpr_msg_init; +extern const upb_MiniTable pg_0query__ScalarArrayOpExpr_msg_init; +extern const upb_MiniTable pg_0query__BoolExpr_msg_init; +extern const upb_MiniTable pg_0query__SubLink_msg_init; +extern const upb_MiniTable pg_0query__SubPlan_msg_init; +extern const upb_MiniTable pg_0query__AlternativeSubPlan_msg_init; +extern const upb_MiniTable pg_0query__FieldSelect_msg_init; +extern const upb_MiniTable pg_0query__FieldStore_msg_init; +extern const upb_MiniTable pg_0query__RelabelType_msg_init; +extern const upb_MiniTable pg_0query__CoerceViaIO_msg_init; +extern const upb_MiniTable pg_0query__ArrayCoerceExpr_msg_init; +extern const upb_MiniTable pg_0query__ConvertRowtypeExpr_msg_init; +extern const upb_MiniTable pg_0query__CollateExpr_msg_init; +extern const upb_MiniTable pg_0query__CaseExpr_msg_init; +extern const upb_MiniTable pg_0query__CaseWhen_msg_init; +extern const upb_MiniTable pg_0query__CaseTestExpr_msg_init; +extern const upb_MiniTable pg_0query__ArrayExpr_msg_init; +extern const upb_MiniTable pg_0query__RowExpr_msg_init; +extern const upb_MiniTable pg_0query__RowCompareExpr_msg_init; +extern const upb_MiniTable pg_0query__CoalesceExpr_msg_init; +extern const upb_MiniTable pg_0query__MinMaxExpr_msg_init; +extern const upb_MiniTable pg_0query__SQLValueFunction_msg_init; +extern const upb_MiniTable pg_0query__XmlExpr_msg_init; +extern const upb_MiniTable pg_0query__JsonFormat_msg_init; +extern const upb_MiniTable pg_0query__JsonReturning_msg_init; +extern const upb_MiniTable pg_0query__JsonValueExpr_msg_init; +extern const upb_MiniTable pg_0query__JsonConstructorExpr_msg_init; +extern const upb_MiniTable pg_0query__JsonIsPredicate_msg_init; +extern const upb_MiniTable pg_0query__JsonBehavior_msg_init; +extern const upb_MiniTable pg_0query__JsonExpr_msg_init; +extern const upb_MiniTable pg_0query__JsonTablePath_msg_init; +extern const upb_MiniTable pg_0query__JsonTablePathScan_msg_init; +extern const upb_MiniTable pg_0query__JsonTableSiblingJoin_msg_init; +extern const upb_MiniTable pg_0query__NullTest_msg_init; +extern const upb_MiniTable pg_0query__BooleanTest_msg_init; +extern const upb_MiniTable pg_0query__MergeAction_msg_init; +extern const upb_MiniTable pg_0query__CoerceToDomain_msg_init; +extern const upb_MiniTable pg_0query__CoerceToDomainValue_msg_init; +extern const upb_MiniTable pg_0query__SetToDefault_msg_init; +extern const upb_MiniTable pg_0query__CurrentOfExpr_msg_init; +extern const upb_MiniTable pg_0query__NextValueExpr_msg_init; +extern const upb_MiniTable pg_0query__InferenceElem_msg_init; +extern const upb_MiniTable pg_0query__ReturningExpr_msg_init; +extern const upb_MiniTable pg_0query__TargetEntry_msg_init; +extern const upb_MiniTable pg_0query__RangeTblRef_msg_init; +extern const upb_MiniTable pg_0query__JoinExpr_msg_init; +extern const upb_MiniTable pg_0query__FromExpr_msg_init; +extern const upb_MiniTable pg_0query__OnConflictExpr_msg_init; +extern const upb_MiniTable pg_0query__Query_msg_init; +extern const upb_MiniTable pg_0query__TypeName_msg_init; +extern const upb_MiniTable pg_0query__ColumnRef_msg_init; +extern const upb_MiniTable pg_0query__ParamRef_msg_init; +extern const upb_MiniTable pg_0query__A_0Expr_msg_init; +extern const upb_MiniTable pg_0query__TypeCast_msg_init; +extern const upb_MiniTable pg_0query__CollateClause_msg_init; +extern const upb_MiniTable pg_0query__RoleSpec_msg_init; +extern const upb_MiniTable pg_0query__FuncCall_msg_init; +extern const upb_MiniTable pg_0query__A_0Star_msg_init; +extern const upb_MiniTable pg_0query__A_0Indices_msg_init; +extern const upb_MiniTable pg_0query__A_0Indirection_msg_init; +extern const upb_MiniTable pg_0query__A_0ArrayExpr_msg_init; +extern const upb_MiniTable pg_0query__ResTarget_msg_init; +extern const upb_MiniTable pg_0query__MultiAssignRef_msg_init; +extern const upb_MiniTable pg_0query__SortBy_msg_init; +extern const upb_MiniTable pg_0query__WindowDef_msg_init; +extern const upb_MiniTable pg_0query__RangeSubselect_msg_init; +extern const upb_MiniTable pg_0query__RangeFunction_msg_init; +extern const upb_MiniTable pg_0query__RangeTableFunc_msg_init; +extern const upb_MiniTable pg_0query__RangeTableFuncCol_msg_init; +extern const upb_MiniTable pg_0query__RangeTableSample_msg_init; +extern const upb_MiniTable pg_0query__ColumnDef_msg_init; +extern const upb_MiniTable pg_0query__TableLikeClause_msg_init; +extern const upb_MiniTable pg_0query__IndexElem_msg_init; +extern const upb_MiniTable pg_0query__DefElem_msg_init; +extern const upb_MiniTable pg_0query__LockingClause_msg_init; +extern const upb_MiniTable pg_0query__XmlSerialize_msg_init; +extern const upb_MiniTable pg_0query__PartitionElem_msg_init; +extern const upb_MiniTable pg_0query__PartitionSpec_msg_init; +extern const upb_MiniTable pg_0query__PartitionBoundSpec_msg_init; +extern const upb_MiniTable pg_0query__PartitionRangeDatum_msg_init; +extern const upb_MiniTable pg_0query__PartitionCmd_msg_init; +extern const upb_MiniTable pg_0query__RangeTblEntry_msg_init; +extern const upb_MiniTable pg_0query__RTEPermissionInfo_msg_init; +extern const upb_MiniTable pg_0query__RangeTblFunction_msg_init; +extern const upb_MiniTable pg_0query__TableSampleClause_msg_init; +extern const upb_MiniTable pg_0query__WithCheckOption_msg_init; +extern const upb_MiniTable pg_0query__SortGroupClause_msg_init; +extern const upb_MiniTable pg_0query__GroupingSet_msg_init; +extern const upb_MiniTable pg_0query__WindowClause_msg_init; +extern const upb_MiniTable pg_0query__RowMarkClause_msg_init; +extern const upb_MiniTable pg_0query__WithClause_msg_init; +extern const upb_MiniTable pg_0query__InferClause_msg_init; +extern const upb_MiniTable pg_0query__OnConflictClause_msg_init; +extern const upb_MiniTable pg_0query__CTESearchClause_msg_init; +extern const upb_MiniTable pg_0query__CTECycleClause_msg_init; +extern const upb_MiniTable pg_0query__CommonTableExpr_msg_init; +extern const upb_MiniTable pg_0query__MergeWhenClause_msg_init; +extern const upb_MiniTable pg_0query__ReturningOption_msg_init; +extern const upb_MiniTable pg_0query__ReturningClause_msg_init; +extern const upb_MiniTable pg_0query__TriggerTransition_msg_init; +extern const upb_MiniTable pg_0query__JsonOutput_msg_init; +extern const upb_MiniTable pg_0query__JsonArgument_msg_init; +extern const upb_MiniTable pg_0query__JsonFuncExpr_msg_init; +extern const upb_MiniTable pg_0query__JsonTablePathSpec_msg_init; +extern const upb_MiniTable pg_0query__JsonTable_msg_init; +extern const upb_MiniTable pg_0query__JsonTableColumn_msg_init; +extern const upb_MiniTable pg_0query__JsonKeyValue_msg_init; +extern const upb_MiniTable pg_0query__JsonParseExpr_msg_init; +extern const upb_MiniTable pg_0query__JsonScalarExpr_msg_init; +extern const upb_MiniTable pg_0query__JsonSerializeExpr_msg_init; +extern const upb_MiniTable pg_0query__JsonObjectConstructor_msg_init; +extern const upb_MiniTable pg_0query__JsonArrayConstructor_msg_init; +extern const upb_MiniTable pg_0query__JsonArrayQueryConstructor_msg_init; +extern const upb_MiniTable pg_0query__JsonAggConstructor_msg_init; +extern const upb_MiniTable pg_0query__JsonObjectAgg_msg_init; +extern const upb_MiniTable pg_0query__JsonArrayAgg_msg_init; +extern const upb_MiniTable pg_0query__RawStmt_msg_init; +extern const upb_MiniTable pg_0query__InsertStmt_msg_init; +extern const upb_MiniTable pg_0query__DeleteStmt_msg_init; +extern const upb_MiniTable pg_0query__UpdateStmt_msg_init; +extern const upb_MiniTable pg_0query__MergeStmt_msg_init; +extern const upb_MiniTable pg_0query__SelectStmt_msg_init; +extern const upb_MiniTable pg_0query__SetOperationStmt_msg_init; +extern const upb_MiniTable pg_0query__ReturnStmt_msg_init; +extern const upb_MiniTable pg_0query__PLAssignStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateSchemaStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterTableStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterTableCmd_msg_init; +extern const upb_MiniTable pg_0query__ATAlterConstraint_msg_init; +extern const upb_MiniTable pg_0query__ReplicaIdentityStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterCollationStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterDomainStmt_msg_init; +extern const upb_MiniTable pg_0query__GrantStmt_msg_init; +extern const upb_MiniTable pg_0query__ObjectWithArgs_msg_init; +extern const upb_MiniTable pg_0query__AccessPriv_msg_init; +extern const upb_MiniTable pg_0query__GrantRoleStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterDefaultPrivilegesStmt_msg_init; +extern const upb_MiniTable pg_0query__CopyStmt_msg_init; +extern const upb_MiniTable pg_0query__VariableSetStmt_msg_init; +extern const upb_MiniTable pg_0query__VariableShowStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateStmt_msg_init; +extern const upb_MiniTable pg_0query__Constraint_msg_init; +extern const upb_MiniTable pg_0query__CreateTableSpaceStmt_msg_init; +extern const upb_MiniTable pg_0query__DropTableSpaceStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterTableSpaceOptionsStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterTableMoveAllStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateExtensionStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterExtensionStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterExtensionContentsStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateFdwStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterFdwStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateForeignServerStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterForeignServerStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateForeignTableStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateUserMappingStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterUserMappingStmt_msg_init; +extern const upb_MiniTable pg_0query__DropUserMappingStmt_msg_init; +extern const upb_MiniTable pg_0query__ImportForeignSchemaStmt_msg_init; +extern const upb_MiniTable pg_0query__CreatePolicyStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterPolicyStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateAmStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateTrigStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateEventTrigStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterEventTrigStmt_msg_init; +extern const upb_MiniTable pg_0query__CreatePLangStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateRoleStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterRoleStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterRoleSetStmt_msg_init; +extern const upb_MiniTable pg_0query__DropRoleStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateSeqStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterSeqStmt_msg_init; +extern const upb_MiniTable pg_0query__DefineStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateDomainStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateOpClassStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateOpClassItem_msg_init; +extern const upb_MiniTable pg_0query__CreateOpFamilyStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterOpFamilyStmt_msg_init; +extern const upb_MiniTable pg_0query__DropStmt_msg_init; +extern const upb_MiniTable pg_0query__TruncateStmt_msg_init; +extern const upb_MiniTable pg_0query__CommentStmt_msg_init; +extern const upb_MiniTable pg_0query__SecLabelStmt_msg_init; +extern const upb_MiniTable pg_0query__DeclareCursorStmt_msg_init; +extern const upb_MiniTable pg_0query__ClosePortalStmt_msg_init; +extern const upb_MiniTable pg_0query__FetchStmt_msg_init; +extern const upb_MiniTable pg_0query__IndexStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateStatsStmt_msg_init; +extern const upb_MiniTable pg_0query__StatsElem_msg_init; +extern const upb_MiniTable pg_0query__AlterStatsStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateFunctionStmt_msg_init; +extern const upb_MiniTable pg_0query__FunctionParameter_msg_init; +extern const upb_MiniTable pg_0query__AlterFunctionStmt_msg_init; +extern const upb_MiniTable pg_0query__DoStmt_msg_init; +extern const upb_MiniTable pg_0query__InlineCodeBlock_msg_init; +extern const upb_MiniTable pg_0query__CallStmt_msg_init; +extern const upb_MiniTable pg_0query__CallContext_msg_init; +extern const upb_MiniTable pg_0query__RenameStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterObjectDependsStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterObjectSchemaStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterOwnerStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterOperatorStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterTypeStmt_msg_init; +extern const upb_MiniTable pg_0query__RuleStmt_msg_init; +extern const upb_MiniTable pg_0query__NotifyStmt_msg_init; +extern const upb_MiniTable pg_0query__ListenStmt_msg_init; +extern const upb_MiniTable pg_0query__UnlistenStmt_msg_init; +extern const upb_MiniTable pg_0query__TransactionStmt_msg_init; +extern const upb_MiniTable pg_0query__CompositeTypeStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateEnumStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateRangeStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterEnumStmt_msg_init; +extern const upb_MiniTable pg_0query__ViewStmt_msg_init; +extern const upb_MiniTable pg_0query__LoadStmt_msg_init; +extern const upb_MiniTable pg_0query__CreatedbStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterDatabaseStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterDatabaseRefreshCollStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterDatabaseSetStmt_msg_init; +extern const upb_MiniTable pg_0query__DropdbStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterSystemStmt_msg_init; +extern const upb_MiniTable pg_0query__ClusterStmt_msg_init; +extern const upb_MiniTable pg_0query__VacuumStmt_msg_init; +extern const upb_MiniTable pg_0query__VacuumRelation_msg_init; +extern const upb_MiniTable pg_0query__ExplainStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateTableAsStmt_msg_init; +extern const upb_MiniTable pg_0query__RefreshMatViewStmt_msg_init; +extern const upb_MiniTable pg_0query__CheckPointStmt_msg_init; +extern const upb_MiniTable pg_0query__DiscardStmt_msg_init; +extern const upb_MiniTable pg_0query__LockStmt_msg_init; +extern const upb_MiniTable pg_0query__ConstraintsSetStmt_msg_init; +extern const upb_MiniTable pg_0query__ReindexStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateConversionStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateCastStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateTransformStmt_msg_init; +extern const upb_MiniTable pg_0query__PrepareStmt_msg_init; +extern const upb_MiniTable pg_0query__ExecuteStmt_msg_init; +extern const upb_MiniTable pg_0query__DeallocateStmt_msg_init; +extern const upb_MiniTable pg_0query__DropOwnedStmt_msg_init; +extern const upb_MiniTable pg_0query__ReassignOwnedStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterTSDictionaryStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterTSConfigurationStmt_msg_init; +extern const upb_MiniTable pg_0query__PublicationTable_msg_init; +extern const upb_MiniTable pg_0query__PublicationObjSpec_msg_init; +extern const upb_MiniTable pg_0query__CreatePublicationStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterPublicationStmt_msg_init; +extern const upb_MiniTable pg_0query__CreateSubscriptionStmt_msg_init; +extern const upb_MiniTable pg_0query__AlterSubscriptionStmt_msg_init; +extern const upb_MiniTable pg_0query__DropSubscriptionStmt_msg_init; +extern const upb_MiniTable pg_0query__ScanToken_msg_init; +extern const upb_MiniTable pg_0query__SummaryResult_msg_init; +extern const upb_MiniTable pg_0query__SummaryResult__Table_msg_init; +extern const upb_MiniTable pg_0query__SummaryResult__AliasesEntry_msg_init; +extern const upb_MiniTable pg_0query__SummaryResult__Function_msg_init; +extern const upb_MiniTable pg_0query__SummaryResult__FilterColumn_msg_init; + +extern const upb_MiniTableFile protobuf_pg_query_proto_upb_file_layout; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#include "upb/port/undef.inc" + +#endif /* PROTOBUF_PG_QUERY_PROTO_UPB_H__UPB_MINITABLE_H_ */ diff --git a/scripts/extract_source.rb b/scripts/extract_source.rb index 6d66a83cd..6435ddbff 100644 --- a/scripts/extract_source.rb +++ b/scripts/extract_source.rb @@ -674,6 +674,9 @@ def write_out # Other required functions runner.deep_resolve('pg_printf') runner.deep_resolve('pg_strncasecmp') +runner.deep_resolve('set_stack_base') +runner.deep_resolve('restore_stack_base') +runner.deep_resolve('assign_max_stack_depth') # Retain these functions for optional 32-bit support # (see BITS_PER_BITMAPWORD checks in bitmapset.c) diff --git a/scripts/generate_fingerprint_outfuncs.rb b/scripts/generate_fingerprint_outfuncs.rb index 65daf619a..a84affc39 100755 --- a/scripts/generate_fingerprint_outfuncs.rb +++ b/scripts/generate_fingerprint_outfuncs.rb @@ -22,92 +22,6 @@ def initialize EOL - # Custom body for _fingerprintRangeVar. - # - # Mirrors Postgres' query jumble for relation references after parse analysis - # (RangeTblEntry.eref custom_query_jumble, RangeTblEntry.relid query_jumble_ignore, - # see Postgres commit 787514b30bb), narrowly: in SELECT/DML contexts we add the - # user alias name when present, skip the relation name when an alias is present - # (matches eref.aliasname), and drop the schema name (Postgres jumbles only the - # eref string; schema-qualified and unqualified references that resolve to the - # same table now share a query ID). catalogname/inh/relpersistence are kept in - # all contexts to minimize diff against pre-existing fingerprints; their values - # rarely diverge from defaults in DML parse trees. - FINGERPRINT_RANGE_VAR_BODY = <<-EOL - bool is_dml_context = false; - if (parent != NULL && field_name != NULL) { - if (IsA(parent, SelectStmt) && strcmp(field_name, "fromClause") == 0) { - is_dml_context = true; - } else if (IsA(parent, InsertStmt) && strcmp(field_name, "relation") == 0) { - is_dml_context = true; - } else if (IsA(parent, UpdateStmt) && (strcmp(field_name, "relation") == 0 || strcmp(field_name, "fromClause") == 0)) { - is_dml_context = true; - } else if (IsA(parent, DeleteStmt) && (strcmp(field_name, "relation") == 0 || strcmp(field_name, "usingClause") == 0)) { - is_dml_context = true; - } else if (IsA(parent, MergeStmt) && (strcmp(field_name, "relation") == 0 || strcmp(field_name, "sourceRelation") == 0)) { - is_dml_context = true; - } else if (IsA(parent, JoinExpr)) { - is_dml_context = true; - } else if (IsA(parent, RangeTableSample)) { - is_dml_context = true; - } else if (IsA(parent, LockingClause)) { - is_dml_context = true; - } - } - - if (node->alias != NULL && node->alias->aliasname != NULL) { - _fingerprintString(ctx, "aliasname"); - _fingerprintString(ctx, node->alias->aliasname); - } - - if (node->catalogname != NULL) { - _fingerprintString(ctx, "catalogname"); - _fingerprintString(ctx, node->catalogname); - } - - if (node->inh) { - _fingerprintString(ctx, "inh"); - _fingerprintString(ctx, "true"); - } - - // Intentionally ignoring node->location for fingerprinting - - // In DML/SELECT context, the relation name only contributes to the jumble - // when there is no user alias (matches eref.aliasname). In utility context, - // the relation name is always part of the jumble. - if (node->relname != NULL && node->relpersistence != 't' && !(is_dml_context && node->alias != NULL)) { - int len = strlen(node->relname); - char *r = palloc0((len + 1) * sizeof(char)); - char *p = r; - for (int i = 0; i < len; i++) { - if (node->relname[i] >= '0' && node->relname[i] <= '9' && - ((i + 1 < len && node->relname[i + 1] >= '0' && node->relname[i + 1] <= '9') || - (i > 0 && node->relname[i - 1] >= '0' && node->relname[i - 1] <= '9'))) { - // Skip - } else { - *p = node->relname[i]; - p++; - } - } - *p = 0; - _fingerprintString(ctx, "relname"); - _fingerprintString(ctx, r); - pfree(r); - } - - if (node->relpersistence != 0) { - char buffer[2] = {node->relpersistence, '\\0'}; - _fingerprintString(ctx, "relpersistence"); - _fingerprintString(ctx, buffer); - } - - if (node->schemaname != NULL && !is_dml_context) { - _fingerprintString(ctx, "schemaname"); - _fingerprintString(ctx, node->schemaname); - } - - EOL - FINGERPRINT_A_EXPR_KIND = <<-EOL if (true) { _fingerprintString(ctx, "kind"); @@ -159,8 +73,11 @@ def initialize EOL + # This recurses into the node type's function directly, bypassing the depth + # cutoff in _fingerprintNode, so apply the same cutoff here (e.g. a long UNION + # chain nests SelectStmt in SelectStmt without going through _fingerprintNode) FINGERPRINT_SPECIFIC_NODE_PTR = <<-EOL - if (node->%s != NULL) { + if (node->%s != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -307,13 +224,17 @@ def initialize 'OidList', 'Null', ] - # Node types that have a complete, hand-written fingerprint body. Bypasses - # per-field generation entirely. - FINGERPRINT_FULL_BODY_NODES = { - 'RangeVar' => FINGERPRINT_RANGE_VAR_BODY, - } + # Node types with a custom fingerprint implementation in + # src/pg_query_fingerprint.c. The generator only emits the declaration + # and the dispatch case for these, not the function definition. + FINGERPRINT_CUSTOM_NODES = [ + 'RangeVar', + ] FINGERPRINT_OVERRIDE_FIELDS = { [nil, 'location'] => :skip, + [nil, 'arg_location'] => :skip, + [nil, 'conninfo_location'] => :skip, + [nil, 'payload_location'] => :skip, [nil, 'list_start'] => :skip, [nil, 'list_end'] => :skip, ['ResTarget', 'name'] => FINGERPRINT_RES_TARGET_NAME, @@ -323,7 +244,6 @@ def initialize ['PrepareStmt', 'name'] => :skip, ['ExecuteStmt', 'name'] => :skip, ['DeallocateStmt', 'name'] => :skip, - ['TransactionStmt', 'options'] => :skip, ['TransactionStmt', 'gid'] => :skip, ['TransactionStmt', 'savepoint_name'] => :skip, ['CreateFunctionStmt', 'options'] => :skip, @@ -332,6 +252,7 @@ def initialize ['ListenStmt', 'conditionname'] => :skip, ['UnlistenStmt', 'conditionname'] => :skip, ['NotifyStmt', 'conditionname'] => :skip, + ['NotifyStmt', 'payload'] => :skip, ['DeclareCursorStmt', 'portalname'] => :skip, ['FetchStmt', 'portalname'] => :skip, ['ClosePortalStmt', 'portalname'] => :skip, @@ -341,6 +262,10 @@ def initialize ['JsonTablePathSpec', 'name_location'] => :skip, ['JsonTablePathSpec', 'location'] => :skip, ['VariableSetStmt', 'jumble_args'] => :skip, # TODO: Should we be smarter about using this flag ourselves? + ['CreateRoleStmt', 'role'] => :skip, + ['RenameStmt', 'newname'] => :skip, + ['RenameStmt', 'subname'] => :skip, + ['RoleSpec', 'rolename'] => :skip, } INT_TYPES = ['bits32', 'uint32', 'int', 'int32', 'uint16', 'int16', 'Oid', 'Index', 'AttrNumber', 'SubTransactionId', 'RelFileNumber', 'ParseLoc'] LONG_INT_TYPES = ['long'] @@ -360,8 +285,8 @@ def generate_fingerprint_defs! if FINGERPRINT_SKIP_NODES.include?(type) fingerprint_def = " // Intentionally ignoring all fields for fingerprinting\n" - elsif FINGERPRINT_FULL_BODY_NODES.key?(type) - fingerprint_def = FINGERPRINT_FULL_BODY_NODES[type] + elsif FINGERPRINT_CUSTOM_NODES.include?(type) + fingerprint_def = :custom else fingerprint_def = '' struct_def['fields'].reject { |f| f['name'].nil? }.sort_by { |f| f['name'] }.each do |field| @@ -455,12 +380,16 @@ def generate! fingerprint_def = @fingerprint_defs[type] next unless fingerprint_def - defs += "static void\n" - defs += format("_fingerprint%s(FingerprintContext *ctx, const %s *node, const void *parent, const char *field_name, unsigned int depth)\n", type, type) - defs += "{\n" - defs += fingerprint_def - defs += "}\n" - defs += "\n" + if fingerprint_def == :custom + defs += format("// _fingerprint%s has a custom implementation, see pg_query_fingerprint.c\n\n", type) + else + defs += "static void\n" + defs += format("_fingerprint%s(FingerprintContext *ctx, const %s *node, const void *parent, const char *field_name, unsigned int depth)\n", type, type) + defs += "{\n" + defs += fingerprint_def + defs += "}\n" + defs += "\n" + end conds += format("case T_%s:\n", type) if FINGERPRINT_SKIP_NODES.include?(type) diff --git a/scripts/generate_protobuf_and_funcs.rb b/scripts/generate_protobuf_and_funcs.rb index 2b43863ad..89d57f0bc 100755 --- a/scripts/generate_protobuf_and_funcs.rb +++ b/scripts/generate_protobuf_and_funcs.rb @@ -31,6 +31,8 @@ def underscore(camel_cased_word) OUTNAME_OVERRIDES = { ['CreateForeignTableStmt', 'base'] => 'base_stmt', } + SCAN_ASCII_TOKENS = [36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 58, 59, 60, 61, 62, 63, 91, 92, 93, 94] + SCAN_KEYWORD_KINDS = ['NO_KEYWORD', 'UNRESERVED_KEYWORD', 'COL_NAME_KEYWORD', 'TYPE_FUNC_NAME_KEYWORD', 'RESERVED_KEYWORD'] def generate_outmethods! @outmethods = {} @@ -61,84 +63,89 @@ def generate_outmethods! outname = OUTNAME_OVERRIDES[[node_type, name]] || underscore(name) outname_json = name + # NOTE: For the upb backend every WRITE_*/READ_* macro takes the + # enclosing message type (node_type) as its FIRST argument, so the + # macro can build the upb accessor name pg_query__set_. + # Keeping it first also lets the typedef-alias handling below rewrite + # it with a simple gsub on "(, ". if type == :skip # Ignore elsif type == 'NodeTag' # Nothing elsif ['char'].include?(type) - @outmethods[node_type] += format(" WRITE_CHAR_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_CHAR_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_CHAR_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_CHAR_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" string %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['bool'].include?(type) - @outmethods[node_type] += format(" WRITE_BOOL_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_BOOL_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_BOOL_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_BOOL_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" bool %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['long'].include?(type) - @outmethods[node_type] += format(" WRITE_LONG_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_LONG_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_LONG_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_LONG_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" int64 %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['int', 'int16', 'int32', 'AttrNumber', 'ParseLoc'].include?(type) - @outmethods[node_type] += format(" WRITE_INT_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_INT_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_INT_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_INT_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" int32 %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['uint', 'uint16', 'uint32', 'Index', 'bits32', 'Oid', 'SubTransactionId', 'RelFileNumber'].include?(type) - @outmethods[node_type] += format(" WRITE_UINT_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_UINT_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_UINT_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_UINT_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" uint32 %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['uint64', 'AclMode'].include?(type) - @outmethods[node_type] += format(" WRITE_UINT64_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_UINT64_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_UINT64_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_UINT64_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" uint64 %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif type == 'char*' - @outmethods[node_type] += format(" WRITE_STRING_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_STRING_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_STRING_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_STRING_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" string %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['float', 'double', 'Cost', 'Cardinality', 'Selectivity'].include?(type) - @outmethods[node_type] += format(" WRITE_FLOAT_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_FLOAT_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_FLOAT_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_FLOAT_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" double %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['Bitmapset*', 'Relids'].include?(type) - @outmethods[node_type] += format(" WRITE_BITMAPSET_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_BITMAPSET_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_BITMAPSET_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_BITMAPSET_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" repeated uint64 %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['Value'].include?(type) - @outmethods[node_type] += format(" WRITE_NODE_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_VALUE_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_NODE_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_VALUE_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" Node %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['Value*'].include?(type) - @outmethods[node_type] += format(" WRITE_NODE_PTR_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_VALUE_PTR_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_NODE_PTR_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_VALUE_PTR_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" Node %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['List*'].include?(type) - @outmethods[node_type] += format(" WRITE_LIST_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_LIST_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_LIST_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_LIST_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" repeated Node %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['Node*'].include?(type) - @outmethods[node_type] += format(" WRITE_NODE_PTR_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_NODE_PTR_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_NODE_PTR_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_NODE_PTR_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" Node %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['Node'].include?(type) - @outmethods[node_type] += format(" WRITE_NODE_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_NODE_FIELD(%s, %s, %s);\n", outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_NODE_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_NODE_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) @protobuf_messages[node_type] += format(" Node %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 # Abstract node types that require casting. elsif ['Expr*', 'JsonTablePlan*'].include?(type) - @outmethods[node_type] += format(" WRITE_NODE_PTR_FIELD(%s, %s, %s);\n", outname, outname_json, name) - @readmethods[node_type] += format(" READ_ABSTRACT_PTR_FIELD(%s, %s, %s, %s);\n", outname, outname_json, name, type) + @outmethods[node_type] += format(" WRITE_NODE_PTR_FIELD(%s, %s, %s, %s);\n", node_type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_ABSTRACT_PTR_FIELD(%s, %s, %s, %s, %s);\n", node_type, outname, outname_json, name, type) @protobuf_messages[node_type] += format(" Node %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 # Abstract types that have no read or out methods. @@ -147,20 +154,20 @@ def generate_outmethods! @protobuf_messages[node_type] += format(" Node %s = %d [json_name=\"%s\"];\n", outname, protobuf_field_count, name) protobuf_field_count += 1 elsif ['CreateStmt'].include?(type) - @outmethods[node_type] += format(" WRITE_SPECIFIC_NODE_FIELD(%s, %s, %s, %s, %s);\n", type.gsub('*', ''), underscore(type.gsub('*', '')).downcase, outname, outname_json, name) - @readmethods[node_type] += format(" READ_SPECIFIC_NODE_FIELD(%s, %s, %s, %s, %s);\n", type.gsub('*', ''), underscore(type.gsub('*', '')).downcase, outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_SPECIFIC_NODE_FIELD(%s, %s, %s, %s, %s, %s);\n", node_type, type.gsub('*', ''), underscore(type.gsub('*', '')).downcase, outname, outname_json, name) + @readmethods[node_type] += format(" READ_SPECIFIC_NODE_FIELD(%s, %s, %s, %s, %s, %s);\n", node_type, type.gsub('*', ''), underscore(type.gsub('*', '')).downcase, outname, outname_json, name) @protobuf_messages[node_type] += format(" %s %s = %d [json_name=\"%s\"];\n", type.gsub('*', ''), outname, protobuf_field_count, name) protobuf_field_count += 1 elsif @nodetypes.include?(type[0..-2]) - @outmethods[node_type] += format(" WRITE_SPECIFIC_NODE_PTR_FIELD(%s, %s, %s, %s, %s);\n", type.gsub('*', ''), underscore(type.gsub('*', '')).downcase, outname, outname_json, name) - @readmethods[node_type] += format(" READ_SPECIFIC_NODE_PTR_FIELD(%s, %s, %s, %s, %s);\n", type.gsub('*', ''), underscore(type.gsub('*', '')).downcase, outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_SPECIFIC_NODE_PTR_FIELD(%s, %s, %s, %s, %s, %s);\n", node_type, type.gsub('*', ''), underscore(type.gsub('*', '')).downcase, outname, outname_json, name) + @readmethods[node_type] += format(" READ_SPECIFIC_NODE_PTR_FIELD(%s, %s, %s, %s, %s, %s);\n", node_type, type.gsub('*', ''), underscore(type.gsub('*', '')).downcase, outname, outname_json, name) @protobuf_messages[node_type] += format(" %s %s = %d [json_name=\"%s\"];\n", type.gsub('*', ''), outname, protobuf_field_count, name) protobuf_field_count += 1 elsif type.end_with?('*') puts format('ERR: %s %s', name, type) else # Enum - @outmethods[node_type] += format(" WRITE_ENUM_FIELD(%s, %s, %s, %s);\n", type, outname, outname_json, name) - @readmethods[node_type] += format(" READ_ENUM_FIELD(%s, %s, %s, %s);\n", type, outname, outname_json, name) + @outmethods[node_type] += format(" WRITE_ENUM_FIELD(%s, %s, %s, %s, %s);\n", node_type, type, outname, outname_json, name) + @readmethods[node_type] += format(" READ_ENUM_FIELD(%s, %s, %s, %s, %s);\n", node_type, type, outname, outname_json, name) @protobuf_messages[node_type] += format(" %s %s = %d [json_name=\"%s\"];\n", type, outname, protobuf_field_count, name) protobuf_field_count += 1 end @@ -199,18 +206,33 @@ def generate_outmethods! end end + # Single-character tokens that are returned 1:1 (identical with "self" list in scan.l) + # Either supporting syntax, or single-character operators (some can be both) + # Also see https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-SPECIAL-CHARS + @scan_token_names = [['NUL', 0]] + SCAN_ASCII_TOKENS.each do |c| + @scan_token_names << [format('ASCII_%d', c), c] + end + scan_values = @enum_defs['../backend/parser/gram']['yytokentype']['values'] scan_values.each do |value| next unless value['name'] @scan_protobuf_tokens << format('%s = %d;', value['name'], value['value']) + @scan_token_names << [value['name'], value['value']] end @typedefs.each do |typedef| next unless @outmethods[typedef['source_type']] - @outmethods[typedef['new_type_name']] = @outmethods[typedef['source_type']] - @readmethods[typedef['new_type_name']] = @readmethods[typedef['source_type']] - @protobuf_messages[typedef['new_type_name']] = @protobuf_messages[typedef['source_type']] + src = typedef['source_type'] + dst = typedef['new_type_name'] + # The new (aliased) type gets its own upb message, so the enclosing-type + # token baked into each WRITE_*/READ_* macro must point at the alias, not + # the source. Every macro takes that token as its first argument, so a + # gsub on the "(, " prefix retargets them all. + @outmethods[dst] = @outmethods[src].gsub("(#{src}, ", "(#{dst}, ") + @readmethods[dst] = @readmethods[src].gsub("(#{src}, ", "(#{dst}, ") + @protobuf_messages[dst] = @protobuf_messages[src] end end @@ -281,10 +303,10 @@ def generate! out_conds += format(" OUT_NODE(%s, %s, %s, %s, %s, %s);\n", type, c_type, underscore(c_type), underscore(c_type).upcase.gsub('__', '_'), type, underscore(type)) out_conds += " break;\n" - read_defs += format("static %s * _read%s(OUT_TYPE(%s, %s) msg);\n", type, c_type, type, c_type) + read_defs += format("static %s * _read%s(const OUT_TYPE(%s, %s) msg);\n", type, c_type, type, c_type) read_impls += format("static %s *\n", type) - read_impls += format("_read%s(OUT_TYPE(%s, %s) msg)\n", c_type, type, c_type) + read_impls += format("_read%s(const OUT_TYPE(%s, %s) msg)\n", c_type, type, c_type) read_impls += "{\n" read_impls += format(" %s *node = makeNode(%s);\n", type, type) read_impls += readmethod @@ -406,11 +428,7 @@ def generate! } enum KeywordKind { - NO_KEYWORD = 0; - UNRESERVED_KEYWORD = 1; - COL_NAME_KEYWORD = 2; - TYPE_FUNC_NAME_KEYWORD = 3; - RESERVED_KEYWORD = 4; + #{SCAN_KEYWORD_KINDS.each_with_index.map { |name, i| format('%s = %d;', name, i) }.join("\n ")} } enum Token { @@ -418,26 +436,7 @@ def generate! // Single-character tokens that are returned 1:1 (identical with \"self\" list in scan.l) // Either supporting syntax, or single-character operators (some can be both) // Also see https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-SPECIAL-CHARS - ASCII_36 = 36; // \"$\" - ASCII_37 = 37; // \"%\" - ASCII_40 = 40; // \"\(\" - ASCII_41 = 41; // \")\" - ASCII_42 = 42; // \"*\" - ASCII_43 = 43; // \"+\" - ASCII_44 = 44; // \",\" - ASCII_45 = 45; // \"-\" - ASCII_46 = 46; // \".\" - ASCII_47 = 47; // \"/\" - ASCII_58 = 58; // \":\" - ASCII_59 = 59; // \";\" - ASCII_60 = 60; // \"<\" - ASCII_61 = 61; // \"=\" - ASCII_62 = 62; // \">\" - ASCII_63 = 63; // \"?\" - ASCII_91 = 91; // \"[\" - ASCII_92 = 92; // \"\\\" - ASCII_93 = 93; // \"]\" - ASCII_94 = 94; // \"^\" + #{SCAN_ASCII_TOKENS.map { |c| format('ASCII_%d = %d; // "%s"', c, c, c.chr) }.join("\n ")} // Named tokens in scan.l #{@scan_protobuf_tokens.join("\n ")} } @@ -491,6 +490,64 @@ def generate! " File.write('./protobuf/pg_query.proto', protobuf) + + # Public C enums for the scan token API, mirroring the Token and KeywordKind + # enums above (included from pg_query.h) + ascii_tokens = SCAN_ASCII_TOKENS.map { |c| format('PG_QUERY_TOKEN_ASCII_%d = %d, // "%s"', c, c, c.chr) } + named_tokens = @scan_token_names.drop(1 + SCAN_ASCII_TOKENS.size).map { |name, v| format('PG_QUERY_TOKEN_%s = %d,', name, v) } + File.write('./pg_query_scan_tokens.h', "// This file is autogenerated by ./scripts/generate_protobuf_and_funcs.rb + +#ifndef PG_QUERY_SCAN_TOKENS_H +#define PG_QUERY_SCAN_TOKENS_H + +// Tokens returned by the Postgres scanner, as used by pg_query_scan_tokens. +// +// The values are the token numbers of the Postgres grammar (identical to the +// Token enum in protobuf/pg_query.proto). They change between Postgres +// versions, since Bison numbers tokens in declaration order, so compare by +// name rather than by value. +typedef enum { + PG_QUERY_TOKEN_NUL = 0, + // Single-character tokens that are returned 1:1 (identical with \"self\" list in scan.l) + // Either supporting syntax, or single-character operators (some can be both) + // Also see https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-SPECIAL-CHARS + #{ascii_tokens.join("\n ")} + // Named tokens in scan.l + #{named_tokens.join("\n ")} +} PgQueryToken; + +// Keyword category of a token, as used by pg_query_scan_tokens (identical to +// the KeywordKind enum in protobuf/pg_query.proto). This is the Postgres +// keyword category shifted by one, so that non-keywords are zero. +typedef enum { + #{SCAN_KEYWORD_KINDS.each_with_index.map { |name, i| format('PG_QUERY_%s = %d,', name, i) }.join("\n ")} +} PgQueryKeywordKind; + +#endif +") + + # Name lookups for the enums above (declared in pg_query.h, included from + # pg_query_scan.c) + File.write('./src/include/pg_query_scan_defs.c', "// This file is autogenerated by ./scripts/generate_protobuf_and_funcs.rb + +const char * +pg_query_keyword_kind_name(PgQueryKeywordKind keyword_kind) +{ + switch (keyword_kind) { + #{SCAN_KEYWORD_KINDS.map { |name| format('case PG_QUERY_%s: return "%s";', name, name) }.join("\n ")} + } + return NULL; +} + +const char * +pg_query_token_name(PgQueryToken token) +{ + switch (token) { + #{@scan_token_names.map { |name, _| format('case PG_QUERY_TOKEN_%s: return "%s";', name, name) }.join("\n ")} + } + return NULL; +} +") end end diff --git a/src/include/pg_query_fingerprint_defs.c b/src/include/pg_query_fingerprint_defs.c index 8e9d9ecb1..40b162ce9 100644 --- a/src/include/pg_query_fingerprint_defs.c +++ b/src/include/pg_query_fingerprint_defs.c @@ -267,82 +267,7 @@ _fingerprintAlias(FingerprintContext *ctx, const Alias *node, const void *parent // Intentionally ignoring all fields for fingerprinting } -static void -_fingerprintRangeVar(FingerprintContext *ctx, const RangeVar *node, const void *parent, const char *field_name, unsigned int depth) -{ - bool is_dml_context = false; - if (parent != NULL && field_name != NULL) { - if (IsA(parent, SelectStmt) && strcmp(field_name, "fromClause") == 0) { - is_dml_context = true; - } else if (IsA(parent, InsertStmt) && strcmp(field_name, "relation") == 0) { - is_dml_context = true; - } else if (IsA(parent, UpdateStmt) && (strcmp(field_name, "relation") == 0 || strcmp(field_name, "fromClause") == 0)) { - is_dml_context = true; - } else if (IsA(parent, DeleteStmt) && (strcmp(field_name, "relation") == 0 || strcmp(field_name, "usingClause") == 0)) { - is_dml_context = true; - } else if (IsA(parent, MergeStmt) && (strcmp(field_name, "relation") == 0 || strcmp(field_name, "sourceRelation") == 0)) { - is_dml_context = true; - } else if (IsA(parent, JoinExpr)) { - is_dml_context = true; - } else if (IsA(parent, RangeTableSample)) { - is_dml_context = true; - } else if (IsA(parent, LockingClause)) { - is_dml_context = true; - } - } - - if (node->alias != NULL && node->alias->aliasname != NULL) { - _fingerprintString(ctx, "aliasname"); - _fingerprintString(ctx, node->alias->aliasname); - } - - if (node->catalogname != NULL) { - _fingerprintString(ctx, "catalogname"); - _fingerprintString(ctx, node->catalogname); - } - - if (node->inh) { - _fingerprintString(ctx, "inh"); - _fingerprintString(ctx, "true"); - } - - // Intentionally ignoring node->location for fingerprinting - - // In DML/SELECT context, the relation name only contributes to the jumble - // when there is no user alias (matches eref.aliasname). In utility context, - // the relation name is always part of the jumble. - if (node->relname != NULL && node->relpersistence != 't' && !(is_dml_context && node->alias != NULL)) { - int len = strlen(node->relname); - char *r = palloc0((len + 1) * sizeof(char)); - char *p = r; - for (int i = 0; i < len; i++) { - if (node->relname[i] >= '0' && node->relname[i] <= '9' && - ((i + 1 < len && node->relname[i + 1] >= '0' && node->relname[i + 1] <= '9') || - (i > 0 && node->relname[i - 1] >= '0' && node->relname[i - 1] <= '9'))) { - // Skip - } else { - *p = node->relname[i]; - p++; - } - } - *p = 0; - _fingerprintString(ctx, "relname"); - _fingerprintString(ctx, r); - pfree(r); - } - - if (node->relpersistence != 0) { - char buffer[2] = {node->relpersistence, '\0'}; - _fingerprintString(ctx, "relpersistence"); - _fingerprintString(ctx, buffer); - } - - if (node->schemaname != NULL && !is_dml_context) { - _fingerprintString(ctx, "schemaname"); - _fingerprintString(ctx, node->schemaname); - } - -} +// _fingerprintRangeVar has a custom implementation, see pg_query_fingerprint.c static void _fingerprintTableFunc(FingerprintContext *ctx, const TableFunc *node, const void *parent, const char *field_name, unsigned int depth) @@ -634,7 +559,7 @@ _fingerprintIntoClause(FingerprintContext *ctx, const IntoClause *node, const vo } XXH3_freeState(prev); } - if (node->rel != NULL) { + if (node->rel != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -661,7 +586,7 @@ _fingerprintIntoClause(FingerprintContext *ctx, const IntoClause *node, const vo _fingerprintString(ctx, node->tableSpaceName); } - if (node->viewQuery != NULL) { + if (node->viewQuery != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -2685,7 +2610,7 @@ _fingerprintJsonFormat(FingerprintContext *ctx, const JsonFormat *node, const vo static void _fingerprintJsonReturning(FingerprintContext *ctx, const JsonReturning *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->format != NULL) { + if (node->format != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -2721,7 +2646,7 @@ _fingerprintJsonReturning(FingerprintContext *ctx, const JsonReturning *node, co static void _fingerprintJsonValueExpr(FingerprintContext *ctx, const JsonValueExpr *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->format != NULL) { + if (node->format != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -2834,7 +2759,7 @@ _fingerprintJsonConstructorExpr(FingerprintContext *ctx, const JsonConstructorEx // Intentionally ignoring node->location for fingerprinting - if (node->returning != NULL) { + if (node->returning != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -2883,7 +2808,7 @@ _fingerprintJsonIsPredicate(FingerprintContext *ctx, const JsonIsPredicate *node XXH3_freeState(prev); } - if (node->format != NULL) { + if (node->format != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -2963,7 +2888,7 @@ _fingerprintJsonExpr(FingerprintContext *ctx, const JsonExpr *node, const void * _fingerprintString(ctx, node->column_name); } - if (node->format != NULL) { + if (node->format != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -3004,7 +2929,7 @@ _fingerprintJsonExpr(FingerprintContext *ctx, const JsonExpr *node, const void * _fingerprintString(ctx, "true"); } - if (node->on_empty != NULL) { + if (node->on_empty != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -3021,7 +2946,7 @@ _fingerprintJsonExpr(FingerprintContext *ctx, const JsonExpr *node, const void * XXH3_freeState(prev); } - if (node->on_error != NULL) { + if (node->on_error != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -3092,7 +3017,7 @@ _fingerprintJsonExpr(FingerprintContext *ctx, const JsonExpr *node, const void * XXH3_freeState(prev); } - if (node->returning != NULL) { + if (node->returning != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -3177,7 +3102,7 @@ _fingerprintJsonTablePathScan(FingerprintContext *ctx, const JsonTablePathScan * _fingerprintString(ctx, "true"); } - if (node->path != NULL) { + if (node->path != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -3673,7 +3598,7 @@ _fingerprintRangeTblRef(FingerprintContext *ctx, const RangeTblRef *node, const static void _fingerprintJoinExpr(FingerprintContext *ctx, const JoinExpr *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->alias != NULL) { + if (node->alias != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -3695,7 +3620,7 @@ _fingerprintJoinExpr(FingerprintContext *ctx, const JoinExpr *node, const void * _fingerprintString(ctx, "true"); } - if (node->join_using_alias != NULL) { + if (node->join_using_alias != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -4107,7 +4032,7 @@ _fingerprintQuery(FingerprintContext *ctx, const Query *node, const void *parent _fingerprintString(ctx, "true"); } - if (node->jointree != NULL) { + if (node->jointree != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -4203,7 +4128,7 @@ _fingerprintQuery(FingerprintContext *ctx, const Query *node, const void *parent _fingerprintString(ctx, buffer); } - if (node->onConflict != NULL) { + if (node->onConflict != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -4624,7 +4549,7 @@ _fingerprintTypeCast(FingerprintContext *ctx, const TypeCast *node, const void * // Intentionally ignoring node->location for fingerprinting - if (node->typeName != NULL) { + if (node->typeName != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -4688,10 +4613,7 @@ _fingerprintRoleSpec(FingerprintContext *ctx, const RoleSpec *node, const void * { // Intentionally ignoring node->location for fingerprinting - if (node->rolename != NULL) { - _fingerprintString(ctx, "rolename"); - _fingerprintString(ctx, node->rolename); - } + // Intentionally ignoring node->rolename for fingerprinting if (true) { _fingerprintString(ctx, "roletype"); @@ -4795,7 +4717,7 @@ _fingerprintFuncCall(FingerprintContext *ctx, const FuncCall *node, const void * } // Intentionally ignoring node->location for fingerprinting - if (node->over != NULL) { + if (node->over != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -5152,7 +5074,7 @@ _fingerprintWindowDef(FingerprintContext *ctx, const WindowDef *node, const void static void _fingerprintRangeSubselect(FingerprintContext *ctx, const RangeSubselect *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->alias != NULL) { + if (node->alias != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -5196,7 +5118,7 @@ _fingerprintRangeSubselect(FingerprintContext *ctx, const RangeSubselect *node, static void _fingerprintRangeFunction(FingerprintContext *ctx, const RangeFunction *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->alias != NULL) { + if (node->alias != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -5265,7 +5187,7 @@ _fingerprintRangeFunction(FingerprintContext *ctx, const RangeFunction *node, co static void _fingerprintRangeTableFunc(FingerprintContext *ctx, const RangeTableFunc *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->alias != NULL) { + if (node->alias != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -5411,7 +5333,7 @@ _fingerprintRangeTableFuncCol(FingerprintContext *ctx, const RangeTableFuncCol * // Intentionally ignoring node->location for fingerprinting - if (node->typeName != NULL) { + if (node->typeName != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -5506,7 +5428,7 @@ _fingerprintRangeTableSample(FingerprintContext *ctx, const RangeTableSample *no static void _fingerprintColumnDef(FingerprintContext *ctx, const ColumnDef *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->collClause != NULL) { + if (node->collClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -5601,7 +5523,7 @@ _fingerprintColumnDef(FingerprintContext *ctx, const ColumnDef *node, const void _fingerprintString(ctx, buffer); } - if (node->identitySequence != NULL) { + if (node->identitySequence != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -5670,7 +5592,7 @@ _fingerprintColumnDef(FingerprintContext *ctx, const ColumnDef *node, const void _fingerprintString(ctx, node->storage_name); } - if (node->typeName != NULL) { + if (node->typeName != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -5699,7 +5621,7 @@ _fingerprintTableLikeClause(FingerprintContext *ctx, const TableLikeClause *node _fingerprintString(ctx, buffer); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -5835,6 +5757,8 @@ _fingerprintDefElem(FingerprintContext *ctx, const DefElem *node, const void *pa XXH3_freeState(prev); } + // Intentionally ignoring node->arg_location for fingerprinting + if (true) { _fingerprintString(ctx, "defaction"); _fingerprintString(ctx, _enumToStringDefElemAction(node->defaction)); @@ -5912,7 +5836,7 @@ _fingerprintXmlSerialize(FingerprintContext *ctx, const XmlSerialize *node, cons // Intentionally ignoring node->location for fingerprinting - if (node->typeName != NULL) { + if (node->typeName != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -6137,7 +6061,7 @@ _fingerprintPartitionRangeDatum(FingerprintContext *ctx, const PartitionRangeDat static void _fingerprintPartitionCmd(FingerprintContext *ctx, const PartitionCmd *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->bound != NULL) { + if (node->bound != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -6159,7 +6083,7 @@ _fingerprintPartitionCmd(FingerprintContext *ctx, const PartitionCmd *node, cons _fingerprintString(ctx, "true"); } - if (node->name != NULL) { + if (node->name != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -6181,7 +6105,7 @@ _fingerprintPartitionCmd(FingerprintContext *ctx, const PartitionCmd *node, cons static void _fingerprintRangeTblEntry(FingerprintContext *ctx, const RangeTblEntry *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->alias != NULL) { + if (node->alias != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -6270,7 +6194,7 @@ _fingerprintRangeTblEntry(FingerprintContext *ctx, const RangeTblEntry *node, co _fingerprintString(ctx, buffer); } - if (node->eref != NULL) { + if (node->eref != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -6334,7 +6258,7 @@ _fingerprintRangeTblEntry(FingerprintContext *ctx, const RangeTblEntry *node, co _fingerprintString(ctx, "true"); } - if (node->join_using_alias != NULL) { + if (node->join_using_alias != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -6474,7 +6398,7 @@ _fingerprintRangeTblEntry(FingerprintContext *ctx, const RangeTblEntry *node, co _fingerprintString(ctx, "true"); } - if (node->subquery != NULL) { + if (node->subquery != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -6491,7 +6415,7 @@ _fingerprintRangeTblEntry(FingerprintContext *ctx, const RangeTblEntry *node, co XXH3_freeState(prev); } - if (node->tablefunc != NULL) { + if (node->tablefunc != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -6508,7 +6432,7 @@ _fingerprintRangeTblEntry(FingerprintContext *ctx, const RangeTblEntry *node, co XXH3_freeState(prev); } - if (node->tablesample != NULL) { + if (node->tablesample != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7122,7 +7046,7 @@ _fingerprintOnConflictClause(FingerprintContext *ctx, const OnConflictClause *no _fingerprintString(ctx, _enumToStringOnConflictAction(node->action)); } - if (node->infer != NULL) { + if (node->infer != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7426,7 +7350,7 @@ _fingerprintCommonTableExpr(FingerprintContext *ctx, const CommonTableExpr *node _fingerprintString(ctx, buffer); } - if (node->cycle_clause != NULL) { + if (node->cycle_clause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7445,7 +7369,7 @@ _fingerprintCommonTableExpr(FingerprintContext *ctx, const CommonTableExpr *node // Intentionally ignoring node->location for fingerprinting - if (node->search_clause != NULL) { + if (node->search_clause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7610,7 +7534,7 @@ _fingerprintTriggerTransition(FingerprintContext *ctx, const TriggerTransition * static void _fingerprintJsonOutput(FingerprintContext *ctx, const JsonOutput *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->returning != NULL) { + if (node->returning != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7627,7 +7551,7 @@ _fingerprintJsonOutput(FingerprintContext *ctx, const JsonOutput *node, const vo XXH3_freeState(prev); } - if (node->typeName != NULL) { + if (node->typeName != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7654,7 +7578,7 @@ _fingerprintJsonArgument(FingerprintContext *ctx, const JsonArgument *node, cons _fingerprintString(ctx, node->name); } - if (node->val != NULL) { + if (node->val != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7681,7 +7605,7 @@ _fingerprintJsonFuncExpr(FingerprintContext *ctx, const JsonFuncExpr *node, cons _fingerprintString(ctx, node->column_name); } - if (node->context_item != NULL) { + if (node->context_item != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7700,7 +7624,7 @@ _fingerprintJsonFuncExpr(FingerprintContext *ctx, const JsonFuncExpr *node, cons // Intentionally ignoring node->location for fingerprinting - if (node->on_empty != NULL) { + if (node->on_empty != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7717,7 +7641,7 @@ _fingerprintJsonFuncExpr(FingerprintContext *ctx, const JsonFuncExpr *node, cons XXH3_freeState(prev); } - if (node->on_error != NULL) { + if (node->on_error != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7739,7 +7663,7 @@ _fingerprintJsonFuncExpr(FingerprintContext *ctx, const JsonFuncExpr *node, cons _fingerprintString(ctx, _enumToStringJsonExprOp(node->op)); } - if (node->output != NULL) { + if (node->output != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7835,7 +7759,7 @@ _fingerprintJsonTablePathSpec(FingerprintContext *ctx, const JsonTablePathSpec * static void _fingerprintJsonTable(FingerprintContext *ctx, const JsonTable *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->alias != NULL) { + if (node->alias != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7868,7 +7792,7 @@ _fingerprintJsonTable(FingerprintContext *ctx, const JsonTable *node, const void } XXH3_freeState(prev); } - if (node->context_item != NULL) { + if (node->context_item != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7892,7 +7816,7 @@ _fingerprintJsonTable(FingerprintContext *ctx, const JsonTable *node, const void // Intentionally ignoring node->location for fingerprinting - if (node->on_error != NULL) { + if (node->on_error != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7925,7 +7849,7 @@ _fingerprintJsonTable(FingerprintContext *ctx, const JsonTable *node, const void } XXH3_freeState(prev); } - if (node->pathspec != NULL) { + if (node->pathspec != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7968,7 +7892,7 @@ _fingerprintJsonTableColumn(FingerprintContext *ctx, const JsonTableColumn *node } XXH3_freeState(prev); } - if (node->format != NULL) { + if (node->format != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -7992,7 +7916,7 @@ _fingerprintJsonTableColumn(FingerprintContext *ctx, const JsonTableColumn *node _fingerprintString(ctx, node->name); } - if (node->on_empty != NULL) { + if (node->on_empty != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8009,7 +7933,7 @@ _fingerprintJsonTableColumn(FingerprintContext *ctx, const JsonTableColumn *node XXH3_freeState(prev); } - if (node->on_error != NULL) { + if (node->on_error != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8026,7 +7950,7 @@ _fingerprintJsonTableColumn(FingerprintContext *ctx, const JsonTableColumn *node XXH3_freeState(prev); } - if (node->pathspec != NULL) { + if (node->pathspec != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8048,7 +7972,7 @@ _fingerprintJsonTableColumn(FingerprintContext *ctx, const JsonTableColumn *node _fingerprintString(ctx, _enumToStringJsonQuotes(node->quotes)); } - if (node->typeName != NULL) { + if (node->typeName != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8092,7 +8016,7 @@ _fingerprintJsonKeyValue(FingerprintContext *ctx, const JsonKeyValue *node, cons XXH3_freeState(prev); } - if (node->value != NULL) { + if (node->value != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8114,7 +8038,7 @@ _fingerprintJsonKeyValue(FingerprintContext *ctx, const JsonKeyValue *node, cons static void _fingerprintJsonParseExpr(FingerprintContext *ctx, const JsonParseExpr *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->expr != NULL) { + if (node->expr != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8133,7 +8057,7 @@ _fingerprintJsonParseExpr(FingerprintContext *ctx, const JsonParseExpr *node, co // Intentionally ignoring node->location for fingerprinting - if (node->output != NULL) { + if (node->output != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8179,7 +8103,7 @@ _fingerprintJsonScalarExpr(FingerprintContext *ctx, const JsonScalarExpr *node, // Intentionally ignoring node->location for fingerprinting - if (node->output != NULL) { + if (node->output != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8201,7 +8125,7 @@ _fingerprintJsonScalarExpr(FingerprintContext *ctx, const JsonScalarExpr *node, static void _fingerprintJsonSerializeExpr(FingerprintContext *ctx, const JsonSerializeExpr *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->expr != NULL) { + if (node->expr != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8220,7 +8144,7 @@ _fingerprintJsonSerializeExpr(FingerprintContext *ctx, const JsonSerializeExpr * // Intentionally ignoring node->location for fingerprinting - if (node->output != NULL) { + if (node->output != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8265,7 +8189,7 @@ _fingerprintJsonObjectConstructor(FingerprintContext *ctx, const JsonObjectConst } // Intentionally ignoring node->location for fingerprinting - if (node->output != NULL) { + if (node->output != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8315,7 +8239,7 @@ _fingerprintJsonArrayConstructor(FingerprintContext *ctx, const JsonArrayConstru } // Intentionally ignoring node->location for fingerprinting - if (node->output != NULL) { + if (node->output != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8342,7 +8266,7 @@ _fingerprintJsonArrayQueryConstructor(FingerprintContext *ctx, const JsonArrayQu _fingerprintString(ctx, "true"); } - if (node->format != NULL) { + if (node->format != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8361,7 +8285,7 @@ _fingerprintJsonArrayQueryConstructor(FingerprintContext *ctx, const JsonArrayQu // Intentionally ignoring node->location for fingerprinting - if (node->output != NULL) { + if (node->output != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8435,7 +8359,7 @@ _fingerprintJsonAggConstructor(FingerprintContext *ctx, const JsonAggConstructor } // Intentionally ignoring node->location for fingerprinting - if (node->output != NULL) { + if (node->output != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8452,7 +8376,7 @@ _fingerprintJsonAggConstructor(FingerprintContext *ctx, const JsonAggConstructor XXH3_freeState(prev); } - if (node->over != NULL) { + if (node->over != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8479,7 +8403,7 @@ _fingerprintJsonObjectAgg(FingerprintContext *ctx, const JsonObjectAgg *node, co _fingerprintString(ctx, "true"); } - if (node->arg != NULL) { + if (node->arg != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8496,7 +8420,7 @@ _fingerprintJsonObjectAgg(FingerprintContext *ctx, const JsonObjectAgg *node, co XXH3_freeState(prev); } - if (node->constructor != NULL) { + if (node->constructor != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8528,7 +8452,7 @@ _fingerprintJsonArrayAgg(FingerprintContext *ctx, const JsonArrayAgg *node, cons _fingerprintString(ctx, "true"); } - if (node->arg != NULL) { + if (node->arg != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8545,7 +8469,7 @@ _fingerprintJsonArrayAgg(FingerprintContext *ctx, const JsonArrayAgg *node, cons XXH3_freeState(prev); } - if (node->constructor != NULL) { + if (node->constructor != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8609,7 +8533,7 @@ _fingerprintInsertStmt(FingerprintContext *ctx, const InsertStmt *node, const vo } XXH3_freeState(prev); } - if (node->onConflictClause != NULL) { + if (node->onConflictClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8631,7 +8555,7 @@ _fingerprintInsertStmt(FingerprintContext *ctx, const InsertStmt *node, const vo _fingerprintString(ctx, _enumToStringOverridingKind(node->override)); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8648,7 +8572,7 @@ _fingerprintInsertStmt(FingerprintContext *ctx, const InsertStmt *node, const vo XXH3_freeState(prev); } - if (node->returningClause != NULL) { + if (node->returningClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8682,7 +8606,7 @@ _fingerprintInsertStmt(FingerprintContext *ctx, const InsertStmt *node, const vo XXH3_freeState(prev); } - if (node->withClause != NULL) { + if (node->withClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8704,7 +8628,7 @@ _fingerprintInsertStmt(FingerprintContext *ctx, const InsertStmt *node, const vo static void _fingerprintDeleteStmt(FingerprintContext *ctx, const DeleteStmt *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8721,7 +8645,7 @@ _fingerprintDeleteStmt(FingerprintContext *ctx, const DeleteStmt *node, const vo XXH3_freeState(prev); } - if (node->returningClause != NULL) { + if (node->returningClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8771,7 +8695,7 @@ _fingerprintDeleteStmt(FingerprintContext *ctx, const DeleteStmt *node, const vo XXH3_freeState(prev); } - if (node->withClause != NULL) { + if (node->withClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8809,7 +8733,7 @@ _fingerprintUpdateStmt(FingerprintContext *ctx, const UpdateStmt *node, const vo } XXH3_freeState(prev); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8826,7 +8750,7 @@ _fingerprintUpdateStmt(FingerprintContext *ctx, const UpdateStmt *node, const vo XXH3_freeState(prev); } - if (node->returningClause != NULL) { + if (node->returningClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8876,7 +8800,7 @@ _fingerprintUpdateStmt(FingerprintContext *ctx, const UpdateStmt *node, const vo XXH3_freeState(prev); } - if (node->withClause != NULL) { + if (node->withClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8931,7 +8855,7 @@ _fingerprintMergeStmt(FingerprintContext *ctx, const MergeStmt *node, const void } XXH3_freeState(prev); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8948,7 +8872,7 @@ _fingerprintMergeStmt(FingerprintContext *ctx, const MergeStmt *node, const void XXH3_freeState(prev); } - if (node->returningClause != NULL) { + if (node->returningClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -8982,7 +8906,7 @@ _fingerprintMergeStmt(FingerprintContext *ctx, const MergeStmt *node, const void XXH3_freeState(prev); } - if (node->withClause != NULL) { + if (node->withClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -9079,7 +9003,7 @@ _fingerprintSelectStmt(FingerprintContext *ctx, const SelectStmt *node, const vo XXH3_freeState(prev); } - if (node->intoClause != NULL) { + if (node->intoClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -9096,7 +9020,7 @@ _fingerprintSelectStmt(FingerprintContext *ctx, const SelectStmt *node, const vo XXH3_freeState(prev); } - if (node->larg != NULL) { + if (node->larg != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -9173,7 +9097,7 @@ _fingerprintSelectStmt(FingerprintContext *ctx, const SelectStmt *node, const vo _fingerprintString(ctx, _enumToStringSetOperation(node->op)); } - if (node->rarg != NULL) { + if (node->rarg != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -9271,7 +9195,7 @@ _fingerprintSelectStmt(FingerprintContext *ctx, const SelectStmt *node, const vo } XXH3_freeState(prev); } - if (node->withClause != NULL) { + if (node->withClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -9458,7 +9382,7 @@ _fingerprintPLAssignStmt(FingerprintContext *ctx, const PLAssignStmt *node, cons _fingerprintString(ctx, buffer); } - if (node->val != NULL) { + if (node->val != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -9480,7 +9404,7 @@ _fingerprintPLAssignStmt(FingerprintContext *ctx, const PLAssignStmt *node, cons static void _fingerprintCreateSchemaStmt(FingerprintContext *ctx, const CreateSchemaStmt *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->authrole != NULL) { + if (node->authrole != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -9554,7 +9478,7 @@ _fingerprintAlterTableStmt(FingerprintContext *ctx, const AlterTableStmt *node, _fingerprintString(ctx, _enumToStringObjectType(node->objtype)); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -9608,7 +9532,7 @@ _fingerprintAlterTableCmd(FingerprintContext *ctx, const AlterTableCmd *node, co _fingerprintString(ctx, node->name); } - if (node->newowner != NULL) { + if (node->newowner != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -9814,7 +9738,7 @@ _fingerprintGrantStmt(FingerprintContext *ctx, const GrantStmt *node, const void } XXH3_freeState(prev); } - if (node->grantor != NULL) { + if (node->grantor != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -10004,7 +9928,7 @@ _fingerprintGrantRoleStmt(FingerprintContext *ctx, const GrantRoleStmt *node, co } XXH3_freeState(prev); } - if (node->grantor != NULL) { + if (node->grantor != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -10047,7 +9971,7 @@ _fingerprintGrantRoleStmt(FingerprintContext *ctx, const GrantRoleStmt *node, co static void _fingerprintAlterDefaultPrivilegesStmt(FingerprintContext *ctx, const AlterDefaultPrivilegesStmt *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->action != NULL) { + if (node->action != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -10149,7 +10073,7 @@ _fingerprintCopyStmt(FingerprintContext *ctx, const CopyStmt *node, const void * XXH3_freeState(prev); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -10296,7 +10220,7 @@ _fingerprintCreateStmt(FingerprintContext *ctx, const CreateStmt *node, const vo } XXH3_freeState(prev); } - if (node->ofTypename != NULL) { + if (node->ofTypename != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -10334,7 +10258,7 @@ _fingerprintCreateStmt(FingerprintContext *ctx, const CreateStmt *node, const vo } XXH3_freeState(prev); } - if (node->partbound != NULL) { + if (node->partbound != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -10351,7 +10275,7 @@ _fingerprintCreateStmt(FingerprintContext *ctx, const CreateStmt *node, const vo XXH3_freeState(prev); } - if (node->partspec != NULL) { + if (node->partspec != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -10368,7 +10292,7 @@ _fingerprintCreateStmt(FingerprintContext *ctx, const CreateStmt *node, const vo XXH3_freeState(prev); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -10648,7 +10572,7 @@ _fingerprintConstraint(FingerprintContext *ctx, const Constraint *node, const vo _fingerprintString(ctx, "true"); } - if (node->pktable != NULL) { + if (node->pktable != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -10737,7 +10661,7 @@ _fingerprintCreateTableSpaceStmt(FingerprintContext *ctx, const CreateTableSpace } XXH3_freeState(prev); } - if (node->owner != NULL) { + if (node->owner != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11167,7 +11091,7 @@ _fingerprintCreateUserMappingStmt(FingerprintContext *ctx, const CreateUserMappi _fingerprintString(ctx, node->servername); } - if (node->user != NULL) { + if (node->user != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11210,7 +11134,7 @@ _fingerprintAlterUserMappingStmt(FingerprintContext *ctx, const AlterUserMapping _fingerprintString(ctx, node->servername); } - if (node->user != NULL) { + if (node->user != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11242,7 +11166,7 @@ _fingerprintDropUserMappingStmt(FingerprintContext *ctx, const DropUserMappingSt _fingerprintString(ctx, node->servername); } - if (node->user != NULL) { + if (node->user != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11369,7 +11293,7 @@ _fingerprintCreatePolicyStmt(FingerprintContext *ctx, const CreatePolicyStmt *no } XXH3_freeState(prev); } - if (node->table != NULL) { + if (node->table != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11446,7 +11370,7 @@ _fingerprintAlterPolicyStmt(FingerprintContext *ctx, const AlterPolicyStmt *node } XXH3_freeState(prev); } - if (node->table != NULL) { + if (node->table != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11549,7 +11473,7 @@ _fingerprintCreateTrigStmt(FingerprintContext *ctx, const CreateTrigStmt *node, } XXH3_freeState(prev); } - if (node->constrrel != NULL) { + if (node->constrrel != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11604,7 +11528,7 @@ _fingerprintCreateTrigStmt(FingerprintContext *ctx, const CreateTrigStmt *node, _fingerprintString(ctx, "true"); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11828,10 +11752,7 @@ _fingerprintCreateRoleStmt(FingerprintContext *ctx, const CreateRoleStmt *node, } XXH3_freeState(prev); } - if (node->role != NULL) { - _fingerprintString(ctx, "role"); - _fingerprintString(ctx, node->role); - } + // Intentionally ignoring node->role for fingerprinting if (true) { _fingerprintString(ctx, "stmt_type"); @@ -11866,7 +11787,7 @@ _fingerprintAlterRoleStmt(FingerprintContext *ctx, const AlterRoleStmt *node, co } XXH3_freeState(prev); } - if (node->role != NULL) { + if (node->role != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11893,7 +11814,7 @@ _fingerprintAlterRoleSetStmt(FingerprintContext *ctx, const AlterRoleSetStmt *no _fingerprintString(ctx, node->database); } - if (node->role != NULL) { + if (node->role != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11910,7 +11831,7 @@ _fingerprintAlterRoleSetStmt(FingerprintContext *ctx, const AlterRoleSetStmt *no XXH3_freeState(prev); } - if (node->setstmt != NULL) { + if (node->setstmt != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -11991,7 +11912,7 @@ _fingerprintCreateSeqStmt(FingerprintContext *ctx, const CreateSeqStmt *node, co _fingerprintString(ctx, buffer); } - if (node->sequence != NULL) { + if (node->sequence != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -12039,7 +11960,7 @@ _fingerprintAlterSeqStmt(FingerprintContext *ctx, const AlterSeqStmt *node, cons } XXH3_freeState(prev); } - if (node->sequence != NULL) { + if (node->sequence != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -12134,7 +12055,7 @@ _fingerprintDefineStmt(FingerprintContext *ctx, const DefineStmt *node, const vo static void _fingerprintCreateDomainStmt(FingerprintContext *ctx, const CreateDomainStmt *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->collClause != NULL) { + if (node->collClause != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -12183,7 +12104,7 @@ _fingerprintCreateDomainStmt(FingerprintContext *ctx, const CreateDomainStmt *no } XXH3_freeState(prev); } - if (node->typeName != NULL) { + if (node->typeName != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -12210,7 +12131,7 @@ _fingerprintCreateOpClassStmt(FingerprintContext *ctx, const CreateOpClassStmt * _fingerprintString(ctx, node->amname); } - if (node->datatype != NULL) { + if (node->datatype != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -12308,7 +12229,7 @@ _fingerprintCreateOpClassItem(FingerprintContext *ctx, const CreateOpClassItem * _fingerprintString(ctx, buffer); } - if (node->name != NULL) { + if (node->name != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -12348,7 +12269,7 @@ _fingerprintCreateOpClassItem(FingerprintContext *ctx, const CreateOpClassItem * } XXH3_freeState(prev); } - if (node->storedtype != NULL) { + if (node->storedtype != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -12793,7 +12714,7 @@ _fingerprintIndexStmt(FingerprintContext *ctx, const IndexStmt *node, const void _fingerprintString(ctx, "true"); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13050,7 +12971,7 @@ _fingerprintCreateFunctionStmt(FingerprintContext *ctx, const CreateFunctionStmt _fingerprintString(ctx, "true"); } - if (node->returnType != NULL) { + if (node->returnType != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13089,7 +13010,7 @@ _fingerprintCreateFunctionStmt(FingerprintContext *ctx, const CreateFunctionStmt static void _fingerprintFunctionParameter(FingerprintContext *ctx, const FunctionParameter *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->argType != NULL) { + if (node->argType != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13153,7 +13074,7 @@ _fingerprintAlterFunctionStmt(FingerprintContext *ctx, const AlterFunctionStmt * } XXH3_freeState(prev); } - if (node->func != NULL) { + if (node->func != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13214,7 +13135,7 @@ _fingerprintInlineCodeBlock(FingerprintContext *ctx, const InlineCodeBlock *node static void _fingerprintCallStmt(FingerprintContext *ctx, const CallStmt *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->funccall != NULL) { + if (node->funccall != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13231,7 +13152,7 @@ _fingerprintCallStmt(FingerprintContext *ctx, const CallStmt *node, const void * XXH3_freeState(prev); } - if (node->funcexpr != NULL) { + if (node->funcexpr != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13289,10 +13210,7 @@ _fingerprintRenameStmt(FingerprintContext *ctx, const RenameStmt *node, const vo _fingerprintString(ctx, "true"); } - if (node->newname != NULL) { - _fingerprintString(ctx, "newname"); - _fingerprintString(ctx, node->newname); - } + // Intentionally ignoring node->newname for fingerprinting if (node->object != NULL) { XXH3_state_t* prev = XXH3_createState(); @@ -13311,7 +13229,7 @@ _fingerprintRenameStmt(FingerprintContext *ctx, const RenameStmt *node, const vo XXH3_freeState(prev); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13338,10 +13256,7 @@ _fingerprintRenameStmt(FingerprintContext *ctx, const RenameStmt *node, const vo _fingerprintString(ctx, _enumToStringObjectType(node->renameType)); } - if (node->subname != NULL) { - _fingerprintString(ctx, "subname"); - _fingerprintString(ctx, node->subname); - } + // Intentionally ignoring node->subname for fingerprinting } @@ -13375,7 +13290,7 @@ _fingerprintAlterObjectDependsStmt(FingerprintContext *ctx, const AlterObjectDep _fingerprintString(ctx, _enumToStringObjectType(node->objectType)); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13434,7 +13349,7 @@ _fingerprintAlterObjectSchemaStmt(FingerprintContext *ctx, const AlterObjectSche _fingerprintString(ctx, _enumToStringObjectType(node->objectType)); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13456,7 +13371,7 @@ _fingerprintAlterObjectSchemaStmt(FingerprintContext *ctx, const AlterObjectSche static void _fingerprintAlterOwnerStmt(FingerprintContext *ctx, const AlterOwnerStmt *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->newowner != NULL) { + if (node->newowner != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13495,7 +13410,7 @@ _fingerprintAlterOwnerStmt(FingerprintContext *ctx, const AlterOwnerStmt *node, _fingerprintString(ctx, _enumToStringObjectType(node->objectType)); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13517,7 +13432,7 @@ _fingerprintAlterOwnerStmt(FingerprintContext *ctx, const AlterOwnerStmt *node, static void _fingerprintAlterOperatorStmt(FingerprintContext *ctx, const AlterOperatorStmt *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->opername != NULL) { + if (node->opername != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13618,7 +13533,7 @@ _fingerprintRuleStmt(FingerprintContext *ctx, const RuleStmt *node, const void * _fingerprintString(ctx, "true"); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13669,10 +13584,9 @@ _fingerprintNotifyStmt(FingerprintContext *ctx, const NotifyStmt *node, const vo { // Intentionally ignoring node->conditionname for fingerprinting - if (node->payload != NULL) { - _fingerprintString(ctx, "payload"); - _fingerprintString(ctx, node->payload); - } + // Intentionally ignoring node->payload for fingerprinting + + // Intentionally ignoring node->payload_location for fingerprinting } @@ -13707,8 +13621,22 @@ _fingerprintTransactionStmt(FingerprintContext *ctx, const TransactionStmt *node // Intentionally ignoring node->location for fingerprinting - // Intentionally ignoring node->options for fingerprinting + if (node->options != NULL && node->options->length > 0) { + XXH3_state_t* prev = XXH3_createState(); + XXH64_hash_t hash; + + XXH3_copyState(prev, ctx->xxh_state); + _fingerprintString(ctx, "options"); + hash = XXH3_64bits_digest(ctx->xxh_state); + _fingerprintNode(ctx, node->options, node, "options", depth + 1); + if (hash == XXH3_64bits_digest(ctx->xxh_state) && !(list_length(node->options) == 1 && linitial(node->options) == NIL)) { + XXH3_copyState(ctx->xxh_state, prev); + if (ctx->write_tokens) + dlist_delete(dlist_tail_node(&ctx->tokens)); + } + XXH3_freeState(prev); + } // Intentionally ignoring node->savepoint_name for fingerprinting } @@ -13732,7 +13660,7 @@ _fingerprintCompositeTypeStmt(FingerprintContext *ctx, const CompositeTypeStmt * } XXH3_freeState(prev); } - if (node->typevar != NULL) { + if (node->typevar != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -13928,7 +13856,7 @@ _fingerprintViewStmt(FingerprintContext *ctx, const ViewStmt *node, const void * _fingerprintString(ctx, "true"); } - if (node->view != NULL) { + if (node->view != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14032,7 +13960,7 @@ _fingerprintAlterDatabaseSetStmt(FingerprintContext *ctx, const AlterDatabaseSet _fingerprintString(ctx, node->dbname); } - if (node->setstmt != NULL) { + if (node->setstmt != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14085,7 +14013,7 @@ _fingerprintDropdbStmt(FingerprintContext *ctx, const DropdbStmt *node, const vo static void _fingerprintAlterSystemStmt(FingerprintContext *ctx, const AlterSystemStmt *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->setstmt != NULL) { + if (node->setstmt != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14128,7 +14056,7 @@ _fingerprintClusterStmt(FingerprintContext *ctx, const ClusterStmt *node, const } XXH3_freeState(prev); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14199,7 +14127,7 @@ _fingerprintVacuumRelation(FingerprintContext *ctx, const VacuumRelation *node, _fingerprintString(ctx, buffer); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14280,7 +14208,7 @@ _fingerprintCreateTableAsStmt(FingerprintContext *ctx, const CreateTableAsStmt * _fingerprintString(ctx, "true"); } - if (node->into != NULL) { + if (node->into != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14334,7 +14262,7 @@ _fingerprintRefreshMatViewStmt(FingerprintContext *ctx, const RefreshMatViewStmt _fingerprintString(ctx, "true"); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14461,7 +14389,7 @@ _fingerprintReindexStmt(FingerprintContext *ctx, const ReindexStmt *node, const } XXH3_freeState(prev); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14540,7 +14468,7 @@ _fingerprintCreateCastStmt(FingerprintContext *ctx, const CreateCastStmt *node, _fingerprintString(ctx, _enumToStringCoercionContext(node->context)); } - if (node->func != NULL) { + if (node->func != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14562,7 +14490,7 @@ _fingerprintCreateCastStmt(FingerprintContext *ctx, const CreateCastStmt *node, _fingerprintString(ctx, "true"); } - if (node->sourcetype != NULL) { + if (node->sourcetype != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14579,7 +14507,7 @@ _fingerprintCreateCastStmt(FingerprintContext *ctx, const CreateCastStmt *node, XXH3_freeState(prev); } - if (node->targettype != NULL) { + if (node->targettype != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14601,7 +14529,7 @@ _fingerprintCreateCastStmt(FingerprintContext *ctx, const CreateCastStmt *node, static void _fingerprintCreateTransformStmt(FingerprintContext *ctx, const CreateTransformStmt *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->fromsql != NULL) { + if (node->fromsql != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14628,7 +14556,7 @@ _fingerprintCreateTransformStmt(FingerprintContext *ctx, const CreateTransformSt _fingerprintString(ctx, "true"); } - if (node->tosql != NULL) { + if (node->tosql != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14645,7 +14573,7 @@ _fingerprintCreateTransformStmt(FingerprintContext *ctx, const CreateTransformSt XXH3_freeState(prev); } - if (node->type_name != NULL) { + if (node->type_name != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14770,7 +14698,7 @@ _fingerprintDropOwnedStmt(FingerprintContext *ctx, const DropOwnedStmt *node, co static void _fingerprintReassignOwnedStmt(FingerprintContext *ctx, const ReassignOwnedStmt *node, const void *parent, const char *field_name, unsigned int depth) { - if (node->newrole != NULL) { + if (node->newrole != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14934,7 +14862,7 @@ _fingerprintPublicationTable(FingerprintContext *ctx, const PublicationTable *no } XXH3_freeState(prev); } - if (node->relation != NULL) { + if (node->relation != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -14985,7 +14913,7 @@ _fingerprintPublicationObjSpec(FingerprintContext *ctx, const PublicationObjSpec _fingerprintString(ctx, _enumToStringPublicationObjSpecType(node->pubobjtype)); } - if (node->pubtable != NULL) { + if (node->pubtable != NULL && depth + 1 < 100) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -15111,6 +15039,8 @@ _fingerprintCreateSubscriptionStmt(FingerprintContext *ctx, const CreateSubscrip _fingerprintString(ctx, node->conninfo); } + // Intentionally ignoring node->conninfo_location for fingerprinting + if (node->options != NULL && node->options->length > 0) { XXH3_state_t* prev = XXH3_createState(); XXH64_hash_t hash; @@ -15158,6 +15088,8 @@ _fingerprintAlterSubscriptionStmt(FingerprintContext *ctx, const AlterSubscripti _fingerprintString(ctx, node->conninfo); } + // Intentionally ignoring node->conninfo_location for fingerprinting + if (true) { _fingerprintString(ctx, "kind"); _fingerprintString(ctx, _enumToStringAlterSubscriptionType(node->kind)); diff --git a/src/include/pg_query_outfuncs_defs.c b/src/include/pg_query_outfuncs_defs.c index b7b6bf852..17ced0dd7 100644 --- a/src/include/pg_query_outfuncs_defs.c +++ b/src/include/pg_query_outfuncs_defs.c @@ -267,817 +267,817 @@ static void _outDropSubscriptionStmt(OUT_TYPE(DropSubscriptionStmt, DropSubscrip static void _outAlias(OUT_TYPE(Alias, Alias) out, const Alias *node) { - WRITE_STRING_FIELD(aliasname, aliasname, aliasname); - WRITE_LIST_FIELD(colnames, colnames, colnames); + WRITE_STRING_FIELD(Alias, aliasname, aliasname, aliasname); + WRITE_LIST_FIELD(Alias, colnames, colnames, colnames); } static void _outRangeVar(OUT_TYPE(RangeVar, RangeVar) out, const RangeVar *node) { - WRITE_STRING_FIELD(catalogname, catalogname, catalogname); - WRITE_STRING_FIELD(schemaname, schemaname, schemaname); - WRITE_STRING_FIELD(relname, relname, relname); - WRITE_BOOL_FIELD(inh, inh, inh); - WRITE_CHAR_FIELD(relpersistence, relpersistence, relpersistence); - WRITE_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - WRITE_INT_FIELD(location, location, location); + WRITE_STRING_FIELD(RangeVar, catalogname, catalogname, catalogname); + WRITE_STRING_FIELD(RangeVar, schemaname, schemaname, schemaname); + WRITE_STRING_FIELD(RangeVar, relname, relname, relname); + WRITE_BOOL_FIELD(RangeVar, inh, inh, inh); + WRITE_CHAR_FIELD(RangeVar, relpersistence, relpersistence, relpersistence); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, Alias, alias, alias, alias, alias); + WRITE_INT_FIELD(RangeVar, location, location, location); } static void _outTableFunc(OUT_TYPE(TableFunc, TableFunc) out, const TableFunc *node) { - WRITE_ENUM_FIELD(TableFuncType, functype, functype, functype); - WRITE_LIST_FIELD(ns_uris, ns_uris, ns_uris); - WRITE_LIST_FIELD(ns_names, ns_names, ns_names); - WRITE_NODE_PTR_FIELD(docexpr, docexpr, docexpr); - WRITE_NODE_PTR_FIELD(rowexpr, rowexpr, rowexpr); - WRITE_LIST_FIELD(colnames, colnames, colnames); - WRITE_LIST_FIELD(coltypes, coltypes, coltypes); - WRITE_LIST_FIELD(coltypmods, coltypmods, coltypmods); - WRITE_LIST_FIELD(colcollations, colcollations, colcollations); - WRITE_LIST_FIELD(colexprs, colexprs, colexprs); - WRITE_LIST_FIELD(coldefexprs, coldefexprs, coldefexprs); - WRITE_LIST_FIELD(colvalexprs, colvalexprs, colvalexprs); - WRITE_LIST_FIELD(passingvalexprs, passingvalexprs, passingvalexprs); - WRITE_BITMAPSET_FIELD(notnulls, notnulls, notnulls); - WRITE_NODE_PTR_FIELD(plan, plan, plan); - WRITE_INT_FIELD(ordinalitycol, ordinalitycol, ordinalitycol); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(TableFunc, TableFuncType, functype, functype, functype); + WRITE_LIST_FIELD(TableFunc, ns_uris, ns_uris, ns_uris); + WRITE_LIST_FIELD(TableFunc, ns_names, ns_names, ns_names); + WRITE_NODE_PTR_FIELD(TableFunc, docexpr, docexpr, docexpr); + WRITE_NODE_PTR_FIELD(TableFunc, rowexpr, rowexpr, rowexpr); + WRITE_LIST_FIELD(TableFunc, colnames, colnames, colnames); + WRITE_LIST_FIELD(TableFunc, coltypes, coltypes, coltypes); + WRITE_LIST_FIELD(TableFunc, coltypmods, coltypmods, coltypmods); + WRITE_LIST_FIELD(TableFunc, colcollations, colcollations, colcollations); + WRITE_LIST_FIELD(TableFunc, colexprs, colexprs, colexprs); + WRITE_LIST_FIELD(TableFunc, coldefexprs, coldefexprs, coldefexprs); + WRITE_LIST_FIELD(TableFunc, colvalexprs, colvalexprs, colvalexprs); + WRITE_LIST_FIELD(TableFunc, passingvalexprs, passingvalexprs, passingvalexprs); + WRITE_BITMAPSET_FIELD(TableFunc, notnulls, notnulls, notnulls); + WRITE_NODE_PTR_FIELD(TableFunc, plan, plan, plan); + WRITE_INT_FIELD(TableFunc, ordinalitycol, ordinalitycol, ordinalitycol); + WRITE_INT_FIELD(TableFunc, location, location, location); } static void _outIntoClause(OUT_TYPE(IntoClause, IntoClause) out, const IntoClause *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, rel, rel, rel); - WRITE_LIST_FIELD(col_names, colNames, colNames); - WRITE_STRING_FIELD(access_method, accessMethod, accessMethod); - WRITE_LIST_FIELD(options, options, options); - WRITE_ENUM_FIELD(OnCommitAction, on_commit, onCommit, onCommit); - WRITE_STRING_FIELD(table_space_name, tableSpaceName, tableSpaceName); - WRITE_SPECIFIC_NODE_PTR_FIELD(Query, query, view_query, viewQuery, viewQuery); - WRITE_BOOL_FIELD(skip_data, skipData, skipData); + WRITE_SPECIFIC_NODE_PTR_FIELD(IntoClause, RangeVar, range_var, rel, rel, rel); + WRITE_LIST_FIELD(IntoClause, col_names, colNames, colNames); + WRITE_STRING_FIELD(IntoClause, access_method, accessMethod, accessMethod); + WRITE_LIST_FIELD(IntoClause, options, options, options); + WRITE_ENUM_FIELD(IntoClause, OnCommitAction, on_commit, onCommit, onCommit); + WRITE_STRING_FIELD(IntoClause, table_space_name, tableSpaceName, tableSpaceName); + WRITE_SPECIFIC_NODE_PTR_FIELD(IntoClause, Query, query, view_query, viewQuery, viewQuery); + WRITE_BOOL_FIELD(IntoClause, skip_data, skipData, skipData); } static void _outVar(OUT_TYPE(Var, Var) out, const Var *node) { - WRITE_INT_FIELD(varno, varno, varno); - WRITE_INT_FIELD(varattno, varattno, varattno); - WRITE_UINT_FIELD(vartype, vartype, vartype); - WRITE_INT_FIELD(vartypmod, vartypmod, vartypmod); - WRITE_UINT_FIELD(varcollid, varcollid, varcollid); - WRITE_BITMAPSET_FIELD(varnullingrels, varnullingrels, varnullingrels); - WRITE_UINT_FIELD(varlevelsup, varlevelsup, varlevelsup); - WRITE_ENUM_FIELD(VarReturningType, varreturningtype, varreturningtype, varreturningtype); - WRITE_INT_FIELD(location, location, location); + WRITE_INT_FIELD(Var, varno, varno, varno); + WRITE_INT_FIELD(Var, varattno, varattno, varattno); + WRITE_UINT_FIELD(Var, vartype, vartype, vartype); + WRITE_INT_FIELD(Var, vartypmod, vartypmod, vartypmod); + WRITE_UINT_FIELD(Var, varcollid, varcollid, varcollid); + WRITE_BITMAPSET_FIELD(Var, varnullingrels, varnullingrels, varnullingrels); + WRITE_UINT_FIELD(Var, varlevelsup, varlevelsup, varlevelsup); + WRITE_ENUM_FIELD(Var, VarReturningType, varreturningtype, varreturningtype, varreturningtype); + WRITE_INT_FIELD(Var, location, location, location); } static void _outParam(OUT_TYPE(Param, Param) out, const Param *node) { - WRITE_ENUM_FIELD(ParamKind, paramkind, paramkind, paramkind); - WRITE_INT_FIELD(paramid, paramid, paramid); - WRITE_UINT_FIELD(paramtype, paramtype, paramtype); - WRITE_INT_FIELD(paramtypmod, paramtypmod, paramtypmod); - WRITE_UINT_FIELD(paramcollid, paramcollid, paramcollid); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(Param, ParamKind, paramkind, paramkind, paramkind); + WRITE_INT_FIELD(Param, paramid, paramid, paramid); + WRITE_UINT_FIELD(Param, paramtype, paramtype, paramtype); + WRITE_INT_FIELD(Param, paramtypmod, paramtypmod, paramtypmod); + WRITE_UINT_FIELD(Param, paramcollid, paramcollid, paramcollid); + WRITE_INT_FIELD(Param, location, location, location); } static void _outAggref(OUT_TYPE(Aggref, Aggref) out, const Aggref *node) { - WRITE_UINT_FIELD(aggfnoid, aggfnoid, aggfnoid); - WRITE_UINT_FIELD(aggtype, aggtype, aggtype); - WRITE_UINT_FIELD(aggcollid, aggcollid, aggcollid); - WRITE_UINT_FIELD(inputcollid, inputcollid, inputcollid); - WRITE_LIST_FIELD(aggargtypes, aggargtypes, aggargtypes); - WRITE_LIST_FIELD(aggdirectargs, aggdirectargs, aggdirectargs); - WRITE_LIST_FIELD(args, args, args); - WRITE_LIST_FIELD(aggorder, aggorder, aggorder); - WRITE_LIST_FIELD(aggdistinct, aggdistinct, aggdistinct); - WRITE_NODE_PTR_FIELD(aggfilter, aggfilter, aggfilter); - WRITE_BOOL_FIELD(aggstar, aggstar, aggstar); - WRITE_BOOL_FIELD(aggvariadic, aggvariadic, aggvariadic); - WRITE_CHAR_FIELD(aggkind, aggkind, aggkind); - WRITE_UINT_FIELD(agglevelsup, agglevelsup, agglevelsup); - WRITE_ENUM_FIELD(AggSplit, aggsplit, aggsplit, aggsplit); - WRITE_INT_FIELD(aggno, aggno, aggno); - WRITE_INT_FIELD(aggtransno, aggtransno, aggtransno); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(Aggref, aggfnoid, aggfnoid, aggfnoid); + WRITE_UINT_FIELD(Aggref, aggtype, aggtype, aggtype); + WRITE_UINT_FIELD(Aggref, aggcollid, aggcollid, aggcollid); + WRITE_UINT_FIELD(Aggref, inputcollid, inputcollid, inputcollid); + WRITE_LIST_FIELD(Aggref, aggargtypes, aggargtypes, aggargtypes); + WRITE_LIST_FIELD(Aggref, aggdirectargs, aggdirectargs, aggdirectargs); + WRITE_LIST_FIELD(Aggref, args, args, args); + WRITE_LIST_FIELD(Aggref, aggorder, aggorder, aggorder); + WRITE_LIST_FIELD(Aggref, aggdistinct, aggdistinct, aggdistinct); + WRITE_NODE_PTR_FIELD(Aggref, aggfilter, aggfilter, aggfilter); + WRITE_BOOL_FIELD(Aggref, aggstar, aggstar, aggstar); + WRITE_BOOL_FIELD(Aggref, aggvariadic, aggvariadic, aggvariadic); + WRITE_CHAR_FIELD(Aggref, aggkind, aggkind, aggkind); + WRITE_UINT_FIELD(Aggref, agglevelsup, agglevelsup, agglevelsup); + WRITE_ENUM_FIELD(Aggref, AggSplit, aggsplit, aggsplit, aggsplit); + WRITE_INT_FIELD(Aggref, aggno, aggno, aggno); + WRITE_INT_FIELD(Aggref, aggtransno, aggtransno, aggtransno); + WRITE_INT_FIELD(Aggref, location, location, location); } static void _outGroupingFunc(OUT_TYPE(GroupingFunc, GroupingFunc) out, const GroupingFunc *node) { - WRITE_LIST_FIELD(args, args, args); - WRITE_LIST_FIELD(refs, refs, refs); - WRITE_UINT_FIELD(agglevelsup, agglevelsup, agglevelsup); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(GroupingFunc, args, args, args); + WRITE_LIST_FIELD(GroupingFunc, refs, refs, refs); + WRITE_UINT_FIELD(GroupingFunc, agglevelsup, agglevelsup, agglevelsup); + WRITE_INT_FIELD(GroupingFunc, location, location, location); } static void _outWindowFunc(OUT_TYPE(WindowFunc, WindowFunc) out, const WindowFunc *node) { - WRITE_UINT_FIELD(winfnoid, winfnoid, winfnoid); - WRITE_UINT_FIELD(wintype, wintype, wintype); - WRITE_UINT_FIELD(wincollid, wincollid, wincollid); - WRITE_UINT_FIELD(inputcollid, inputcollid, inputcollid); - WRITE_LIST_FIELD(args, args, args); - WRITE_NODE_PTR_FIELD(aggfilter, aggfilter, aggfilter); - WRITE_LIST_FIELD(run_condition, runCondition, runCondition); - WRITE_UINT_FIELD(winref, winref, winref); - WRITE_BOOL_FIELD(winstar, winstar, winstar); - WRITE_BOOL_FIELD(winagg, winagg, winagg); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(WindowFunc, winfnoid, winfnoid, winfnoid); + WRITE_UINT_FIELD(WindowFunc, wintype, wintype, wintype); + WRITE_UINT_FIELD(WindowFunc, wincollid, wincollid, wincollid); + WRITE_UINT_FIELD(WindowFunc, inputcollid, inputcollid, inputcollid); + WRITE_LIST_FIELD(WindowFunc, args, args, args); + WRITE_NODE_PTR_FIELD(WindowFunc, aggfilter, aggfilter, aggfilter); + WRITE_LIST_FIELD(WindowFunc, run_condition, runCondition, runCondition); + WRITE_UINT_FIELD(WindowFunc, winref, winref, winref); + WRITE_BOOL_FIELD(WindowFunc, winstar, winstar, winstar); + WRITE_BOOL_FIELD(WindowFunc, winagg, winagg, winagg); + WRITE_INT_FIELD(WindowFunc, location, location, location); } static void _outWindowFuncRunCondition(OUT_TYPE(WindowFuncRunCondition, WindowFuncRunCondition) out, const WindowFuncRunCondition *node) { - WRITE_UINT_FIELD(opno, opno, opno); - WRITE_UINT_FIELD(inputcollid, inputcollid, inputcollid); - WRITE_BOOL_FIELD(wfunc_left, wfunc_left, wfunc_left); - WRITE_NODE_PTR_FIELD(arg, arg, arg); + WRITE_UINT_FIELD(WindowFuncRunCondition, opno, opno, opno); + WRITE_UINT_FIELD(WindowFuncRunCondition, inputcollid, inputcollid, inputcollid); + WRITE_BOOL_FIELD(WindowFuncRunCondition, wfunc_left, wfunc_left, wfunc_left); + WRITE_NODE_PTR_FIELD(WindowFuncRunCondition, arg, arg, arg); } static void _outMergeSupportFunc(OUT_TYPE(MergeSupportFunc, MergeSupportFunc) out, const MergeSupportFunc *node) { - WRITE_UINT_FIELD(msftype, msftype, msftype); - WRITE_UINT_FIELD(msfcollid, msfcollid, msfcollid); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(MergeSupportFunc, msftype, msftype, msftype); + WRITE_UINT_FIELD(MergeSupportFunc, msfcollid, msfcollid, msfcollid); + WRITE_INT_FIELD(MergeSupportFunc, location, location, location); } static void _outSubscriptingRef(OUT_TYPE(SubscriptingRef, SubscriptingRef) out, const SubscriptingRef *node) { - WRITE_UINT_FIELD(refcontainertype, refcontainertype, refcontainertype); - WRITE_UINT_FIELD(refelemtype, refelemtype, refelemtype); - WRITE_UINT_FIELD(refrestype, refrestype, refrestype); - WRITE_INT_FIELD(reftypmod, reftypmod, reftypmod); - WRITE_UINT_FIELD(refcollid, refcollid, refcollid); - WRITE_LIST_FIELD(refupperindexpr, refupperindexpr, refupperindexpr); - WRITE_LIST_FIELD(reflowerindexpr, reflowerindexpr, reflowerindexpr); - WRITE_NODE_PTR_FIELD(refexpr, refexpr, refexpr); - WRITE_NODE_PTR_FIELD(refassgnexpr, refassgnexpr, refassgnexpr); + WRITE_UINT_FIELD(SubscriptingRef, refcontainertype, refcontainertype, refcontainertype); + WRITE_UINT_FIELD(SubscriptingRef, refelemtype, refelemtype, refelemtype); + WRITE_UINT_FIELD(SubscriptingRef, refrestype, refrestype, refrestype); + WRITE_INT_FIELD(SubscriptingRef, reftypmod, reftypmod, reftypmod); + WRITE_UINT_FIELD(SubscriptingRef, refcollid, refcollid, refcollid); + WRITE_LIST_FIELD(SubscriptingRef, refupperindexpr, refupperindexpr, refupperindexpr); + WRITE_LIST_FIELD(SubscriptingRef, reflowerindexpr, reflowerindexpr, reflowerindexpr); + WRITE_NODE_PTR_FIELD(SubscriptingRef, refexpr, refexpr, refexpr); + WRITE_NODE_PTR_FIELD(SubscriptingRef, refassgnexpr, refassgnexpr, refassgnexpr); } static void _outFuncExpr(OUT_TYPE(FuncExpr, FuncExpr) out, const FuncExpr *node) { - WRITE_UINT_FIELD(funcid, funcid, funcid); - WRITE_UINT_FIELD(funcresulttype, funcresulttype, funcresulttype); - WRITE_BOOL_FIELD(funcretset, funcretset, funcretset); - WRITE_BOOL_FIELD(funcvariadic, funcvariadic, funcvariadic); - WRITE_ENUM_FIELD(CoercionForm, funcformat, funcformat, funcformat); - WRITE_UINT_FIELD(funccollid, funccollid, funccollid); - WRITE_UINT_FIELD(inputcollid, inputcollid, inputcollid); - WRITE_LIST_FIELD(args, args, args); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(FuncExpr, funcid, funcid, funcid); + WRITE_UINT_FIELD(FuncExpr, funcresulttype, funcresulttype, funcresulttype); + WRITE_BOOL_FIELD(FuncExpr, funcretset, funcretset, funcretset); + WRITE_BOOL_FIELD(FuncExpr, funcvariadic, funcvariadic, funcvariadic); + WRITE_ENUM_FIELD(FuncExpr, CoercionForm, funcformat, funcformat, funcformat); + WRITE_UINT_FIELD(FuncExpr, funccollid, funccollid, funccollid); + WRITE_UINT_FIELD(FuncExpr, inputcollid, inputcollid, inputcollid); + WRITE_LIST_FIELD(FuncExpr, args, args, args); + WRITE_INT_FIELD(FuncExpr, location, location, location); } static void _outNamedArgExpr(OUT_TYPE(NamedArgExpr, NamedArgExpr) out, const NamedArgExpr *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_STRING_FIELD(name, name, name); - WRITE_INT_FIELD(argnumber, argnumber, argnumber); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(NamedArgExpr, arg, arg, arg); + WRITE_STRING_FIELD(NamedArgExpr, name, name, name); + WRITE_INT_FIELD(NamedArgExpr, argnumber, argnumber, argnumber); + WRITE_INT_FIELD(NamedArgExpr, location, location, location); } static void _outOpExpr(OUT_TYPE(OpExpr, OpExpr) out, const OpExpr *node) { - WRITE_UINT_FIELD(opno, opno, opno); - WRITE_UINT_FIELD(opresulttype, opresulttype, opresulttype); - WRITE_BOOL_FIELD(opretset, opretset, opretset); - WRITE_UINT_FIELD(opcollid, opcollid, opcollid); - WRITE_UINT_FIELD(inputcollid, inputcollid, inputcollid); - WRITE_LIST_FIELD(args, args, args); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(OpExpr, opno, opno, opno); + WRITE_UINT_FIELD(OpExpr, opresulttype, opresulttype, opresulttype); + WRITE_BOOL_FIELD(OpExpr, opretset, opretset, opretset); + WRITE_UINT_FIELD(OpExpr, opcollid, opcollid, opcollid); + WRITE_UINT_FIELD(OpExpr, inputcollid, inputcollid, inputcollid); + WRITE_LIST_FIELD(OpExpr, args, args, args); + WRITE_INT_FIELD(OpExpr, location, location, location); } static void _outDistinctExpr(OUT_TYPE(DistinctExpr, DistinctExpr) out, const DistinctExpr *node) { - WRITE_UINT_FIELD(opno, opno, opno); - WRITE_UINT_FIELD(opresulttype, opresulttype, opresulttype); - WRITE_BOOL_FIELD(opretset, opretset, opretset); - WRITE_UINT_FIELD(opcollid, opcollid, opcollid); - WRITE_UINT_FIELD(inputcollid, inputcollid, inputcollid); - WRITE_LIST_FIELD(args, args, args); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(DistinctExpr, opno, opno, opno); + WRITE_UINT_FIELD(DistinctExpr, opresulttype, opresulttype, opresulttype); + WRITE_BOOL_FIELD(DistinctExpr, opretset, opretset, opretset); + WRITE_UINT_FIELD(DistinctExpr, opcollid, opcollid, opcollid); + WRITE_UINT_FIELD(DistinctExpr, inputcollid, inputcollid, inputcollid); + WRITE_LIST_FIELD(DistinctExpr, args, args, args); + WRITE_INT_FIELD(DistinctExpr, location, location, location); } static void _outNullIfExpr(OUT_TYPE(NullIfExpr, NullIfExpr) out, const NullIfExpr *node) { - WRITE_UINT_FIELD(opno, opno, opno); - WRITE_UINT_FIELD(opresulttype, opresulttype, opresulttype); - WRITE_BOOL_FIELD(opretset, opretset, opretset); - WRITE_UINT_FIELD(opcollid, opcollid, opcollid); - WRITE_UINT_FIELD(inputcollid, inputcollid, inputcollid); - WRITE_LIST_FIELD(args, args, args); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(NullIfExpr, opno, opno, opno); + WRITE_UINT_FIELD(NullIfExpr, opresulttype, opresulttype, opresulttype); + WRITE_BOOL_FIELD(NullIfExpr, opretset, opretset, opretset); + WRITE_UINT_FIELD(NullIfExpr, opcollid, opcollid, opcollid); + WRITE_UINT_FIELD(NullIfExpr, inputcollid, inputcollid, inputcollid); + WRITE_LIST_FIELD(NullIfExpr, args, args, args); + WRITE_INT_FIELD(NullIfExpr, location, location, location); } static void _outScalarArrayOpExpr(OUT_TYPE(ScalarArrayOpExpr, ScalarArrayOpExpr) out, const ScalarArrayOpExpr *node) { - WRITE_UINT_FIELD(opno, opno, opno); - WRITE_BOOL_FIELD(use_or, useOr, useOr); - WRITE_UINT_FIELD(inputcollid, inputcollid, inputcollid); - WRITE_LIST_FIELD(args, args, args); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(ScalarArrayOpExpr, opno, opno, opno); + WRITE_BOOL_FIELD(ScalarArrayOpExpr, use_or, useOr, useOr); + WRITE_UINT_FIELD(ScalarArrayOpExpr, inputcollid, inputcollid, inputcollid); + WRITE_LIST_FIELD(ScalarArrayOpExpr, args, args, args); + WRITE_INT_FIELD(ScalarArrayOpExpr, location, location, location); } static void _outBoolExpr(OUT_TYPE(BoolExpr, BoolExpr) out, const BoolExpr *node) { - WRITE_ENUM_FIELD(BoolExprType, boolop, boolop, boolop); - WRITE_LIST_FIELD(args, args, args); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(BoolExpr, BoolExprType, boolop, boolop, boolop); + WRITE_LIST_FIELD(BoolExpr, args, args, args); + WRITE_INT_FIELD(BoolExpr, location, location, location); } static void _outSubLink(OUT_TYPE(SubLink, SubLink) out, const SubLink *node) { - WRITE_ENUM_FIELD(SubLinkType, sub_link_type, subLinkType, subLinkType); - WRITE_INT_FIELD(sub_link_id, subLinkId, subLinkId); - WRITE_NODE_PTR_FIELD(testexpr, testexpr, testexpr); - WRITE_LIST_FIELD(oper_name, operName, operName); - WRITE_NODE_PTR_FIELD(subselect, subselect, subselect); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(SubLink, SubLinkType, sub_link_type, subLinkType, subLinkType); + WRITE_INT_FIELD(SubLink, sub_link_id, subLinkId, subLinkId); + WRITE_NODE_PTR_FIELD(SubLink, testexpr, testexpr, testexpr); + WRITE_LIST_FIELD(SubLink, oper_name, operName, operName); + WRITE_NODE_PTR_FIELD(SubLink, subselect, subselect, subselect); + WRITE_INT_FIELD(SubLink, location, location, location); } static void _outSubPlan(OUT_TYPE(SubPlan, SubPlan) out, const SubPlan *node) { - WRITE_ENUM_FIELD(SubLinkType, sub_link_type, subLinkType, subLinkType); - WRITE_NODE_PTR_FIELD(testexpr, testexpr, testexpr); - WRITE_LIST_FIELD(param_ids, paramIds, paramIds); - WRITE_INT_FIELD(plan_id, plan_id, plan_id); - WRITE_STRING_FIELD(plan_name, plan_name, plan_name); - WRITE_UINT_FIELD(first_col_type, firstColType, firstColType); - WRITE_INT_FIELD(first_col_typmod, firstColTypmod, firstColTypmod); - WRITE_UINT_FIELD(first_col_collation, firstColCollation, firstColCollation); - WRITE_BOOL_FIELD(use_hash_table, useHashTable, useHashTable); - WRITE_BOOL_FIELD(unknown_eq_false, unknownEqFalse, unknownEqFalse); - WRITE_BOOL_FIELD(parallel_safe, parallel_safe, parallel_safe); - WRITE_LIST_FIELD(set_param, setParam, setParam); - WRITE_LIST_FIELD(par_param, parParam, parParam); - WRITE_LIST_FIELD(args, args, args); - WRITE_FLOAT_FIELD(startup_cost, startup_cost, startup_cost); - WRITE_FLOAT_FIELD(per_call_cost, per_call_cost, per_call_cost); + WRITE_ENUM_FIELD(SubPlan, SubLinkType, sub_link_type, subLinkType, subLinkType); + WRITE_NODE_PTR_FIELD(SubPlan, testexpr, testexpr, testexpr); + WRITE_LIST_FIELD(SubPlan, param_ids, paramIds, paramIds); + WRITE_INT_FIELD(SubPlan, plan_id, plan_id, plan_id); + WRITE_STRING_FIELD(SubPlan, plan_name, plan_name, plan_name); + WRITE_UINT_FIELD(SubPlan, first_col_type, firstColType, firstColType); + WRITE_INT_FIELD(SubPlan, first_col_typmod, firstColTypmod, firstColTypmod); + WRITE_UINT_FIELD(SubPlan, first_col_collation, firstColCollation, firstColCollation); + WRITE_BOOL_FIELD(SubPlan, use_hash_table, useHashTable, useHashTable); + WRITE_BOOL_FIELD(SubPlan, unknown_eq_false, unknownEqFalse, unknownEqFalse); + WRITE_BOOL_FIELD(SubPlan, parallel_safe, parallel_safe, parallel_safe); + WRITE_LIST_FIELD(SubPlan, set_param, setParam, setParam); + WRITE_LIST_FIELD(SubPlan, par_param, parParam, parParam); + WRITE_LIST_FIELD(SubPlan, args, args, args); + WRITE_FLOAT_FIELD(SubPlan, startup_cost, startup_cost, startup_cost); + WRITE_FLOAT_FIELD(SubPlan, per_call_cost, per_call_cost, per_call_cost); } static void _outAlternativeSubPlan(OUT_TYPE(AlternativeSubPlan, AlternativeSubPlan) out, const AlternativeSubPlan *node) { - WRITE_LIST_FIELD(subplans, subplans, subplans); + WRITE_LIST_FIELD(AlternativeSubPlan, subplans, subplans, subplans); } static void _outFieldSelect(OUT_TYPE(FieldSelect, FieldSelect) out, const FieldSelect *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_INT_FIELD(fieldnum, fieldnum, fieldnum); - WRITE_UINT_FIELD(resulttype, resulttype, resulttype); - WRITE_INT_FIELD(resulttypmod, resulttypmod, resulttypmod); - WRITE_UINT_FIELD(resultcollid, resultcollid, resultcollid); + WRITE_NODE_PTR_FIELD(FieldSelect, arg, arg, arg); + WRITE_INT_FIELD(FieldSelect, fieldnum, fieldnum, fieldnum); + WRITE_UINT_FIELD(FieldSelect, resulttype, resulttype, resulttype); + WRITE_INT_FIELD(FieldSelect, resulttypmod, resulttypmod, resulttypmod); + WRITE_UINT_FIELD(FieldSelect, resultcollid, resultcollid, resultcollid); } static void _outFieldStore(OUT_TYPE(FieldStore, FieldStore) out, const FieldStore *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_LIST_FIELD(newvals, newvals, newvals); - WRITE_LIST_FIELD(fieldnums, fieldnums, fieldnums); - WRITE_UINT_FIELD(resulttype, resulttype, resulttype); + WRITE_NODE_PTR_FIELD(FieldStore, arg, arg, arg); + WRITE_LIST_FIELD(FieldStore, newvals, newvals, newvals); + WRITE_LIST_FIELD(FieldStore, fieldnums, fieldnums, fieldnums); + WRITE_UINT_FIELD(FieldStore, resulttype, resulttype, resulttype); } static void _outRelabelType(OUT_TYPE(RelabelType, RelabelType) out, const RelabelType *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_UINT_FIELD(resulttype, resulttype, resulttype); - WRITE_INT_FIELD(resulttypmod, resulttypmod, resulttypmod); - WRITE_UINT_FIELD(resultcollid, resultcollid, resultcollid); - WRITE_ENUM_FIELD(CoercionForm, relabelformat, relabelformat, relabelformat); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(RelabelType, arg, arg, arg); + WRITE_UINT_FIELD(RelabelType, resulttype, resulttype, resulttype); + WRITE_INT_FIELD(RelabelType, resulttypmod, resulttypmod, resulttypmod); + WRITE_UINT_FIELD(RelabelType, resultcollid, resultcollid, resultcollid); + WRITE_ENUM_FIELD(RelabelType, CoercionForm, relabelformat, relabelformat, relabelformat); + WRITE_INT_FIELD(RelabelType, location, location, location); } static void _outCoerceViaIO(OUT_TYPE(CoerceViaIO, CoerceViaIO) out, const CoerceViaIO *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_UINT_FIELD(resulttype, resulttype, resulttype); - WRITE_UINT_FIELD(resultcollid, resultcollid, resultcollid); - WRITE_ENUM_FIELD(CoercionForm, coerceformat, coerceformat, coerceformat); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(CoerceViaIO, arg, arg, arg); + WRITE_UINT_FIELD(CoerceViaIO, resulttype, resulttype, resulttype); + WRITE_UINT_FIELD(CoerceViaIO, resultcollid, resultcollid, resultcollid); + WRITE_ENUM_FIELD(CoerceViaIO, CoercionForm, coerceformat, coerceformat, coerceformat); + WRITE_INT_FIELD(CoerceViaIO, location, location, location); } static void _outArrayCoerceExpr(OUT_TYPE(ArrayCoerceExpr, ArrayCoerceExpr) out, const ArrayCoerceExpr *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_NODE_PTR_FIELD(elemexpr, elemexpr, elemexpr); - WRITE_UINT_FIELD(resulttype, resulttype, resulttype); - WRITE_INT_FIELD(resulttypmod, resulttypmod, resulttypmod); - WRITE_UINT_FIELD(resultcollid, resultcollid, resultcollid); - WRITE_ENUM_FIELD(CoercionForm, coerceformat, coerceformat, coerceformat); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(ArrayCoerceExpr, arg, arg, arg); + WRITE_NODE_PTR_FIELD(ArrayCoerceExpr, elemexpr, elemexpr, elemexpr); + WRITE_UINT_FIELD(ArrayCoerceExpr, resulttype, resulttype, resulttype); + WRITE_INT_FIELD(ArrayCoerceExpr, resulttypmod, resulttypmod, resulttypmod); + WRITE_UINT_FIELD(ArrayCoerceExpr, resultcollid, resultcollid, resultcollid); + WRITE_ENUM_FIELD(ArrayCoerceExpr, CoercionForm, coerceformat, coerceformat, coerceformat); + WRITE_INT_FIELD(ArrayCoerceExpr, location, location, location); } static void _outConvertRowtypeExpr(OUT_TYPE(ConvertRowtypeExpr, ConvertRowtypeExpr) out, const ConvertRowtypeExpr *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_UINT_FIELD(resulttype, resulttype, resulttype); - WRITE_ENUM_FIELD(CoercionForm, convertformat, convertformat, convertformat); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(ConvertRowtypeExpr, arg, arg, arg); + WRITE_UINT_FIELD(ConvertRowtypeExpr, resulttype, resulttype, resulttype); + WRITE_ENUM_FIELD(ConvertRowtypeExpr, CoercionForm, convertformat, convertformat, convertformat); + WRITE_INT_FIELD(ConvertRowtypeExpr, location, location, location); } static void _outCollateExpr(OUT_TYPE(CollateExpr, CollateExpr) out, const CollateExpr *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_UINT_FIELD(coll_oid, collOid, collOid); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(CollateExpr, arg, arg, arg); + WRITE_UINT_FIELD(CollateExpr, coll_oid, collOid, collOid); + WRITE_INT_FIELD(CollateExpr, location, location, location); } static void _outCaseExpr(OUT_TYPE(CaseExpr, CaseExpr) out, const CaseExpr *node) { - WRITE_UINT_FIELD(casetype, casetype, casetype); - WRITE_UINT_FIELD(casecollid, casecollid, casecollid); - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_LIST_FIELD(args, args, args); - WRITE_NODE_PTR_FIELD(defresult, defresult, defresult); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(CaseExpr, casetype, casetype, casetype); + WRITE_UINT_FIELD(CaseExpr, casecollid, casecollid, casecollid); + WRITE_NODE_PTR_FIELD(CaseExpr, arg, arg, arg); + WRITE_LIST_FIELD(CaseExpr, args, args, args); + WRITE_NODE_PTR_FIELD(CaseExpr, defresult, defresult, defresult); + WRITE_INT_FIELD(CaseExpr, location, location, location); } static void _outCaseWhen(OUT_TYPE(CaseWhen, CaseWhen) out, const CaseWhen *node) { - WRITE_NODE_PTR_FIELD(expr, expr, expr); - WRITE_NODE_PTR_FIELD(result, result, result); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(CaseWhen, expr, expr, expr); + WRITE_NODE_PTR_FIELD(CaseWhen, result, result, result); + WRITE_INT_FIELD(CaseWhen, location, location, location); } static void _outCaseTestExpr(OUT_TYPE(CaseTestExpr, CaseTestExpr) out, const CaseTestExpr *node) { - WRITE_UINT_FIELD(type_id, typeId, typeId); - WRITE_INT_FIELD(type_mod, typeMod, typeMod); - WRITE_UINT_FIELD(collation, collation, collation); + WRITE_UINT_FIELD(CaseTestExpr, type_id, typeId, typeId); + WRITE_INT_FIELD(CaseTestExpr, type_mod, typeMod, typeMod); + WRITE_UINT_FIELD(CaseTestExpr, collation, collation, collation); } static void _outArrayExpr(OUT_TYPE(ArrayExpr, ArrayExpr) out, const ArrayExpr *node) { - WRITE_UINT_FIELD(array_typeid, array_typeid, array_typeid); - WRITE_UINT_FIELD(array_collid, array_collid, array_collid); - WRITE_UINT_FIELD(element_typeid, element_typeid, element_typeid); - WRITE_LIST_FIELD(elements, elements, elements); - WRITE_BOOL_FIELD(multidims, multidims, multidims); - WRITE_INT_FIELD(list_start, list_start, list_start); - WRITE_INT_FIELD(list_end, list_end, list_end); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(ArrayExpr, array_typeid, array_typeid, array_typeid); + WRITE_UINT_FIELD(ArrayExpr, array_collid, array_collid, array_collid); + WRITE_UINT_FIELD(ArrayExpr, element_typeid, element_typeid, element_typeid); + WRITE_LIST_FIELD(ArrayExpr, elements, elements, elements); + WRITE_BOOL_FIELD(ArrayExpr, multidims, multidims, multidims); + WRITE_INT_FIELD(ArrayExpr, list_start, list_start, list_start); + WRITE_INT_FIELD(ArrayExpr, list_end, list_end, list_end); + WRITE_INT_FIELD(ArrayExpr, location, location, location); } static void _outRowExpr(OUT_TYPE(RowExpr, RowExpr) out, const RowExpr *node) { - WRITE_LIST_FIELD(args, args, args); - WRITE_UINT_FIELD(row_typeid, row_typeid, row_typeid); - WRITE_ENUM_FIELD(CoercionForm, row_format, row_format, row_format); - WRITE_LIST_FIELD(colnames, colnames, colnames); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(RowExpr, args, args, args); + WRITE_UINT_FIELD(RowExpr, row_typeid, row_typeid, row_typeid); + WRITE_ENUM_FIELD(RowExpr, CoercionForm, row_format, row_format, row_format); + WRITE_LIST_FIELD(RowExpr, colnames, colnames, colnames); + WRITE_INT_FIELD(RowExpr, location, location, location); } static void _outRowCompareExpr(OUT_TYPE(RowCompareExpr, RowCompareExpr) out, const RowCompareExpr *node) { - WRITE_ENUM_FIELD(CompareType, cmptype, cmptype, cmptype); - WRITE_LIST_FIELD(opnos, opnos, opnos); - WRITE_LIST_FIELD(opfamilies, opfamilies, opfamilies); - WRITE_LIST_FIELD(inputcollids, inputcollids, inputcollids); - WRITE_LIST_FIELD(largs, largs, largs); - WRITE_LIST_FIELD(rargs, rargs, rargs); + WRITE_ENUM_FIELD(RowCompareExpr, CompareType, cmptype, cmptype, cmptype); + WRITE_LIST_FIELD(RowCompareExpr, opnos, opnos, opnos); + WRITE_LIST_FIELD(RowCompareExpr, opfamilies, opfamilies, opfamilies); + WRITE_LIST_FIELD(RowCompareExpr, inputcollids, inputcollids, inputcollids); + WRITE_LIST_FIELD(RowCompareExpr, largs, largs, largs); + WRITE_LIST_FIELD(RowCompareExpr, rargs, rargs, rargs); } static void _outCoalesceExpr(OUT_TYPE(CoalesceExpr, CoalesceExpr) out, const CoalesceExpr *node) { - WRITE_UINT_FIELD(coalescetype, coalescetype, coalescetype); - WRITE_UINT_FIELD(coalescecollid, coalescecollid, coalescecollid); - WRITE_LIST_FIELD(args, args, args); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(CoalesceExpr, coalescetype, coalescetype, coalescetype); + WRITE_UINT_FIELD(CoalesceExpr, coalescecollid, coalescecollid, coalescecollid); + WRITE_LIST_FIELD(CoalesceExpr, args, args, args); + WRITE_INT_FIELD(CoalesceExpr, location, location, location); } static void _outMinMaxExpr(OUT_TYPE(MinMaxExpr, MinMaxExpr) out, const MinMaxExpr *node) { - WRITE_UINT_FIELD(minmaxtype, minmaxtype, minmaxtype); - WRITE_UINT_FIELD(minmaxcollid, minmaxcollid, minmaxcollid); - WRITE_UINT_FIELD(inputcollid, inputcollid, inputcollid); - WRITE_ENUM_FIELD(MinMaxOp, op, op, op); - WRITE_LIST_FIELD(args, args, args); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(MinMaxExpr, minmaxtype, minmaxtype, minmaxtype); + WRITE_UINT_FIELD(MinMaxExpr, minmaxcollid, minmaxcollid, minmaxcollid); + WRITE_UINT_FIELD(MinMaxExpr, inputcollid, inputcollid, inputcollid); + WRITE_ENUM_FIELD(MinMaxExpr, MinMaxOp, op, op, op); + WRITE_LIST_FIELD(MinMaxExpr, args, args, args); + WRITE_INT_FIELD(MinMaxExpr, location, location, location); } static void _outSQLValueFunction(OUT_TYPE(SQLValueFunction, SQLValueFunction) out, const SQLValueFunction *node) { - WRITE_ENUM_FIELD(SQLValueFunctionOp, op, op, op); - WRITE_UINT_FIELD(type, type, type); - WRITE_INT_FIELD(typmod, typmod, typmod); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(SQLValueFunction, SQLValueFunctionOp, op, op, op); + WRITE_UINT_FIELD(SQLValueFunction, type, type, type); + WRITE_INT_FIELD(SQLValueFunction, typmod, typmod, typmod); + WRITE_INT_FIELD(SQLValueFunction, location, location, location); } static void _outXmlExpr(OUT_TYPE(XmlExpr, XmlExpr) out, const XmlExpr *node) { - WRITE_ENUM_FIELD(XmlExprOp, op, op, op); - WRITE_STRING_FIELD(name, name, name); - WRITE_LIST_FIELD(named_args, named_args, named_args); - WRITE_LIST_FIELD(arg_names, arg_names, arg_names); - WRITE_LIST_FIELD(args, args, args); - WRITE_ENUM_FIELD(XmlOptionType, xmloption, xmloption, xmloption); - WRITE_BOOL_FIELD(indent, indent, indent); - WRITE_UINT_FIELD(type, type, type); - WRITE_INT_FIELD(typmod, typmod, typmod); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(XmlExpr, XmlExprOp, op, op, op); + WRITE_STRING_FIELD(XmlExpr, name, name, name); + WRITE_LIST_FIELD(XmlExpr, named_args, named_args, named_args); + WRITE_LIST_FIELD(XmlExpr, arg_names, arg_names, arg_names); + WRITE_LIST_FIELD(XmlExpr, args, args, args); + WRITE_ENUM_FIELD(XmlExpr, XmlOptionType, xmloption, xmloption, xmloption); + WRITE_BOOL_FIELD(XmlExpr, indent, indent, indent); + WRITE_UINT_FIELD(XmlExpr, type, type, type); + WRITE_INT_FIELD(XmlExpr, typmod, typmod, typmod); + WRITE_INT_FIELD(XmlExpr, location, location, location); } static void _outJsonFormat(OUT_TYPE(JsonFormat, JsonFormat) out, const JsonFormat *node) { - WRITE_ENUM_FIELD(JsonFormatType, format_type, format_type, format_type); - WRITE_ENUM_FIELD(JsonEncoding, encoding, encoding, encoding); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(JsonFormat, JsonFormatType, format_type, format_type, format_type); + WRITE_ENUM_FIELD(JsonFormat, JsonEncoding, encoding, encoding, encoding); + WRITE_INT_FIELD(JsonFormat, location, location, location); } static void _outJsonReturning(OUT_TYPE(JsonReturning, JsonReturning) out, const JsonReturning *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); - WRITE_UINT_FIELD(typid, typid, typid); - WRITE_INT_FIELD(typmod, typmod, typmod); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonReturning, JsonFormat, json_format, format, format, format); + WRITE_UINT_FIELD(JsonReturning, typid, typid, typid); + WRITE_INT_FIELD(JsonReturning, typmod, typmod, typmod); } static void _outJsonValueExpr(OUT_TYPE(JsonValueExpr, JsonValueExpr) out, const JsonValueExpr *node) { - WRITE_NODE_PTR_FIELD(raw_expr, raw_expr, raw_expr); - WRITE_NODE_PTR_FIELD(formatted_expr, formatted_expr, formatted_expr); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); + WRITE_NODE_PTR_FIELD(JsonValueExpr, raw_expr, raw_expr, raw_expr); + WRITE_NODE_PTR_FIELD(JsonValueExpr, formatted_expr, formatted_expr, formatted_expr); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, JsonFormat, json_format, format, format, format); } static void _outJsonConstructorExpr(OUT_TYPE(JsonConstructorExpr, JsonConstructorExpr) out, const JsonConstructorExpr *node) { - WRITE_ENUM_FIELD(JsonConstructorType, type, type, type); - WRITE_LIST_FIELD(args, args, args); - WRITE_NODE_PTR_FIELD(func, func, func); - WRITE_NODE_PTR_FIELD(coercion, coercion, coercion); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonReturning, json_returning, returning, returning, returning); - WRITE_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); - WRITE_BOOL_FIELD(unique, unique, unique); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(JsonConstructorExpr, JsonConstructorType, type, type, type); + WRITE_LIST_FIELD(JsonConstructorExpr, args, args, args); + WRITE_NODE_PTR_FIELD(JsonConstructorExpr, func, func, func); + WRITE_NODE_PTR_FIELD(JsonConstructorExpr, coercion, coercion, coercion); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonConstructorExpr, JsonReturning, json_returning, returning, returning, returning); + WRITE_BOOL_FIELD(JsonConstructorExpr, absent_on_null, absent_on_null, absent_on_null); + WRITE_BOOL_FIELD(JsonConstructorExpr, unique, unique, unique); + WRITE_INT_FIELD(JsonConstructorExpr, location, location, location); } static void _outJsonIsPredicate(OUT_TYPE(JsonIsPredicate, JsonIsPredicate) out, const JsonIsPredicate *node) { - WRITE_NODE_PTR_FIELD(expr, expr, expr); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); - WRITE_ENUM_FIELD(JsonValueType, item_type, item_type, item_type); - WRITE_BOOL_FIELD(unique_keys, unique_keys, unique_keys); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(JsonIsPredicate, expr, expr, expr); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonIsPredicate, JsonFormat, json_format, format, format, format); + WRITE_ENUM_FIELD(JsonIsPredicate, JsonValueType, item_type, item_type, item_type); + WRITE_BOOL_FIELD(JsonIsPredicate, unique_keys, unique_keys, unique_keys); + WRITE_INT_FIELD(JsonIsPredicate, location, location, location); } static void _outJsonBehavior(OUT_TYPE(JsonBehavior, JsonBehavior) out, const JsonBehavior *node) { - WRITE_ENUM_FIELD(JsonBehaviorType, btype, btype, btype); - WRITE_NODE_PTR_FIELD(expr, expr, expr); - WRITE_BOOL_FIELD(coerce, coerce, coerce); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(JsonBehavior, JsonBehaviorType, btype, btype, btype); + WRITE_NODE_PTR_FIELD(JsonBehavior, expr, expr, expr); + WRITE_BOOL_FIELD(JsonBehavior, coerce, coerce, coerce); + WRITE_INT_FIELD(JsonBehavior, location, location, location); } static void _outJsonExpr(OUT_TYPE(JsonExpr, JsonExpr) out, const JsonExpr *node) { - WRITE_ENUM_FIELD(JsonExprOp, op, op, op); - WRITE_STRING_FIELD(column_name, column_name, column_name); - WRITE_NODE_PTR_FIELD(formatted_expr, formatted_expr, formatted_expr); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); - WRITE_NODE_PTR_FIELD(path_spec, path_spec, path_spec); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonReturning, json_returning, returning, returning, returning); - WRITE_LIST_FIELD(passing_names, passing_names, passing_names); - WRITE_LIST_FIELD(passing_values, passing_values, passing_values); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_empty, on_empty, on_empty); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_error, on_error, on_error); - WRITE_BOOL_FIELD(use_io_coercion, use_io_coercion, use_io_coercion); - WRITE_BOOL_FIELD(use_json_coercion, use_json_coercion, use_json_coercion); - WRITE_ENUM_FIELD(JsonWrapper, wrapper, wrapper, wrapper); - WRITE_BOOL_FIELD(omit_quotes, omit_quotes, omit_quotes); - WRITE_UINT_FIELD(collation, collation, collation); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(JsonExpr, JsonExprOp, op, op, op); + WRITE_STRING_FIELD(JsonExpr, column_name, column_name, column_name); + WRITE_NODE_PTR_FIELD(JsonExpr, formatted_expr, formatted_expr, formatted_expr); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonExpr, JsonFormat, json_format, format, format, format); + WRITE_NODE_PTR_FIELD(JsonExpr, path_spec, path_spec, path_spec); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonExpr, JsonReturning, json_returning, returning, returning, returning); + WRITE_LIST_FIELD(JsonExpr, passing_names, passing_names, passing_names); + WRITE_LIST_FIELD(JsonExpr, passing_values, passing_values, passing_values); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonExpr, JsonBehavior, json_behavior, on_empty, on_empty, on_empty); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonExpr, JsonBehavior, json_behavior, on_error, on_error, on_error); + WRITE_BOOL_FIELD(JsonExpr, use_io_coercion, use_io_coercion, use_io_coercion); + WRITE_BOOL_FIELD(JsonExpr, use_json_coercion, use_json_coercion, use_json_coercion); + WRITE_ENUM_FIELD(JsonExpr, JsonWrapper, wrapper, wrapper, wrapper); + WRITE_BOOL_FIELD(JsonExpr, omit_quotes, omit_quotes, omit_quotes); + WRITE_UINT_FIELD(JsonExpr, collation, collation, collation); + WRITE_INT_FIELD(JsonExpr, location, location, location); } static void _outJsonTablePath(OUT_TYPE(JsonTablePath, JsonTablePath) out, const JsonTablePath *node) { - WRITE_STRING_FIELD(name, name, name); + WRITE_STRING_FIELD(JsonTablePath, name, name, name); } static void _outJsonTablePathScan(OUT_TYPE(JsonTablePathScan, JsonTablePathScan) out, const JsonTablePathScan *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTablePath, json_table_path, path, path, path); - WRITE_BOOL_FIELD(error_on_error, errorOnError, errorOnError); - WRITE_NODE_PTR_FIELD(child, child, child); - WRITE_INT_FIELD(col_min, colMin, colMin); - WRITE_INT_FIELD(col_max, colMax, colMax); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTablePathScan, JsonTablePath, json_table_path, path, path, path); + WRITE_BOOL_FIELD(JsonTablePathScan, error_on_error, errorOnError, errorOnError); + WRITE_NODE_PTR_FIELD(JsonTablePathScan, child, child, child); + WRITE_INT_FIELD(JsonTablePathScan, col_min, colMin, colMin); + WRITE_INT_FIELD(JsonTablePathScan, col_max, colMax, colMax); } static void _outJsonTableSiblingJoin(OUT_TYPE(JsonTableSiblingJoin, JsonTableSiblingJoin) out, const JsonTableSiblingJoin *node) { - WRITE_NODE_PTR_FIELD(lplan, lplan, lplan); - WRITE_NODE_PTR_FIELD(rplan, rplan, rplan); + WRITE_NODE_PTR_FIELD(JsonTableSiblingJoin, lplan, lplan, lplan); + WRITE_NODE_PTR_FIELD(JsonTableSiblingJoin, rplan, rplan, rplan); } static void _outNullTest(OUT_TYPE(NullTest, NullTest) out, const NullTest *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_ENUM_FIELD(NullTestType, nulltesttype, nulltesttype, nulltesttype); - WRITE_BOOL_FIELD(argisrow, argisrow, argisrow); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(NullTest, arg, arg, arg); + WRITE_ENUM_FIELD(NullTest, NullTestType, nulltesttype, nulltesttype, nulltesttype); + WRITE_BOOL_FIELD(NullTest, argisrow, argisrow, argisrow); + WRITE_INT_FIELD(NullTest, location, location, location); } static void _outBooleanTest(OUT_TYPE(BooleanTest, BooleanTest) out, const BooleanTest *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_ENUM_FIELD(BoolTestType, booltesttype, booltesttype, booltesttype); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(BooleanTest, arg, arg, arg); + WRITE_ENUM_FIELD(BooleanTest, BoolTestType, booltesttype, booltesttype, booltesttype); + WRITE_INT_FIELD(BooleanTest, location, location, location); } static void _outMergeAction(OUT_TYPE(MergeAction, MergeAction) out, const MergeAction *node) { - WRITE_ENUM_FIELD(MergeMatchKind, match_kind, matchKind, matchKind); - WRITE_ENUM_FIELD(CmdType, command_type, commandType, commandType); - WRITE_ENUM_FIELD(OverridingKind, override, override, override); - WRITE_NODE_PTR_FIELD(qual, qual, qual); - WRITE_LIST_FIELD(target_list, targetList, targetList); - WRITE_LIST_FIELD(update_colnos, updateColnos, updateColnos); + WRITE_ENUM_FIELD(MergeAction, MergeMatchKind, match_kind, matchKind, matchKind); + WRITE_ENUM_FIELD(MergeAction, CmdType, command_type, commandType, commandType); + WRITE_ENUM_FIELD(MergeAction, OverridingKind, override, override, override); + WRITE_NODE_PTR_FIELD(MergeAction, qual, qual, qual); + WRITE_LIST_FIELD(MergeAction, target_list, targetList, targetList); + WRITE_LIST_FIELD(MergeAction, update_colnos, updateColnos, updateColnos); } static void _outCoerceToDomain(OUT_TYPE(CoerceToDomain, CoerceToDomain) out, const CoerceToDomain *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_UINT_FIELD(resulttype, resulttype, resulttype); - WRITE_INT_FIELD(resulttypmod, resulttypmod, resulttypmod); - WRITE_UINT_FIELD(resultcollid, resultcollid, resultcollid); - WRITE_ENUM_FIELD(CoercionForm, coercionformat, coercionformat, coercionformat); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(CoerceToDomain, arg, arg, arg); + WRITE_UINT_FIELD(CoerceToDomain, resulttype, resulttype, resulttype); + WRITE_INT_FIELD(CoerceToDomain, resulttypmod, resulttypmod, resulttypmod); + WRITE_UINT_FIELD(CoerceToDomain, resultcollid, resultcollid, resultcollid); + WRITE_ENUM_FIELD(CoerceToDomain, CoercionForm, coercionformat, coercionformat, coercionformat); + WRITE_INT_FIELD(CoerceToDomain, location, location, location); } static void _outCoerceToDomainValue(OUT_TYPE(CoerceToDomainValue, CoerceToDomainValue) out, const CoerceToDomainValue *node) { - WRITE_UINT_FIELD(type_id, typeId, typeId); - WRITE_INT_FIELD(type_mod, typeMod, typeMod); - WRITE_UINT_FIELD(collation, collation, collation); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(CoerceToDomainValue, type_id, typeId, typeId); + WRITE_INT_FIELD(CoerceToDomainValue, type_mod, typeMod, typeMod); + WRITE_UINT_FIELD(CoerceToDomainValue, collation, collation, collation); + WRITE_INT_FIELD(CoerceToDomainValue, location, location, location); } static void _outSetToDefault(OUT_TYPE(SetToDefault, SetToDefault) out, const SetToDefault *node) { - WRITE_UINT_FIELD(type_id, typeId, typeId); - WRITE_INT_FIELD(type_mod, typeMod, typeMod); - WRITE_UINT_FIELD(collation, collation, collation); - WRITE_INT_FIELD(location, location, location); + WRITE_UINT_FIELD(SetToDefault, type_id, typeId, typeId); + WRITE_INT_FIELD(SetToDefault, type_mod, typeMod, typeMod); + WRITE_UINT_FIELD(SetToDefault, collation, collation, collation); + WRITE_INT_FIELD(SetToDefault, location, location, location); } static void _outCurrentOfExpr(OUT_TYPE(CurrentOfExpr, CurrentOfExpr) out, const CurrentOfExpr *node) { - WRITE_UINT_FIELD(cvarno, cvarno, cvarno); - WRITE_STRING_FIELD(cursor_name, cursor_name, cursor_name); - WRITE_INT_FIELD(cursor_param, cursor_param, cursor_param); + WRITE_UINT_FIELD(CurrentOfExpr, cvarno, cvarno, cvarno); + WRITE_STRING_FIELD(CurrentOfExpr, cursor_name, cursor_name, cursor_name); + WRITE_INT_FIELD(CurrentOfExpr, cursor_param, cursor_param, cursor_param); } static void _outNextValueExpr(OUT_TYPE(NextValueExpr, NextValueExpr) out, const NextValueExpr *node) { - WRITE_UINT_FIELD(seqid, seqid, seqid); - WRITE_UINT_FIELD(type_id, typeId, typeId); + WRITE_UINT_FIELD(NextValueExpr, seqid, seqid, seqid); + WRITE_UINT_FIELD(NextValueExpr, type_id, typeId, typeId); } static void _outInferenceElem(OUT_TYPE(InferenceElem, InferenceElem) out, const InferenceElem *node) { - WRITE_NODE_PTR_FIELD(expr, expr, expr); - WRITE_UINT_FIELD(infercollid, infercollid, infercollid); - WRITE_UINT_FIELD(inferopclass, inferopclass, inferopclass); + WRITE_NODE_PTR_FIELD(InferenceElem, expr, expr, expr); + WRITE_UINT_FIELD(InferenceElem, infercollid, infercollid, infercollid); + WRITE_UINT_FIELD(InferenceElem, inferopclass, inferopclass, inferopclass); } static void _outReturningExpr(OUT_TYPE(ReturningExpr, ReturningExpr) out, const ReturningExpr *node) { - WRITE_INT_FIELD(retlevelsup, retlevelsup, retlevelsup); - WRITE_BOOL_FIELD(retold, retold, retold); - WRITE_NODE_PTR_FIELD(retexpr, retexpr, retexpr); + WRITE_INT_FIELD(ReturningExpr, retlevelsup, retlevelsup, retlevelsup); + WRITE_BOOL_FIELD(ReturningExpr, retold, retold, retold); + WRITE_NODE_PTR_FIELD(ReturningExpr, retexpr, retexpr, retexpr); } static void _outTargetEntry(OUT_TYPE(TargetEntry, TargetEntry) out, const TargetEntry *node) { - WRITE_NODE_PTR_FIELD(expr, expr, expr); - WRITE_INT_FIELD(resno, resno, resno); - WRITE_STRING_FIELD(resname, resname, resname); - WRITE_UINT_FIELD(ressortgroupref, ressortgroupref, ressortgroupref); - WRITE_UINT_FIELD(resorigtbl, resorigtbl, resorigtbl); - WRITE_INT_FIELD(resorigcol, resorigcol, resorigcol); - WRITE_BOOL_FIELD(resjunk, resjunk, resjunk); + WRITE_NODE_PTR_FIELD(TargetEntry, expr, expr, expr); + WRITE_INT_FIELD(TargetEntry, resno, resno, resno); + WRITE_STRING_FIELD(TargetEntry, resname, resname, resname); + WRITE_UINT_FIELD(TargetEntry, ressortgroupref, ressortgroupref, ressortgroupref); + WRITE_UINT_FIELD(TargetEntry, resorigtbl, resorigtbl, resorigtbl); + WRITE_INT_FIELD(TargetEntry, resorigcol, resorigcol, resorigcol); + WRITE_BOOL_FIELD(TargetEntry, resjunk, resjunk, resjunk); } static void _outRangeTblRef(OUT_TYPE(RangeTblRef, RangeTblRef) out, const RangeTblRef *node) { - WRITE_INT_FIELD(rtindex, rtindex, rtindex); + WRITE_INT_FIELD(RangeTblRef, rtindex, rtindex, rtindex); } static void _outJoinExpr(OUT_TYPE(JoinExpr, JoinExpr) out, const JoinExpr *node) { - WRITE_ENUM_FIELD(JoinType, jointype, jointype, jointype); - WRITE_BOOL_FIELD(is_natural, isNatural, isNatural); - WRITE_NODE_PTR_FIELD(larg, larg, larg); - WRITE_NODE_PTR_FIELD(rarg, rarg, rarg); - WRITE_LIST_FIELD(using_clause, usingClause, usingClause); - WRITE_SPECIFIC_NODE_PTR_FIELD(Alias, alias, join_using_alias, join_using_alias, join_using_alias); - WRITE_NODE_PTR_FIELD(quals, quals, quals); - WRITE_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - WRITE_INT_FIELD(rtindex, rtindex, rtindex); + WRITE_ENUM_FIELD(JoinExpr, JoinType, jointype, jointype, jointype); + WRITE_BOOL_FIELD(JoinExpr, is_natural, isNatural, isNatural); + WRITE_NODE_PTR_FIELD(JoinExpr, larg, larg, larg); + WRITE_NODE_PTR_FIELD(JoinExpr, rarg, rarg, rarg); + WRITE_LIST_FIELD(JoinExpr, using_clause, usingClause, usingClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(JoinExpr, Alias, alias, join_using_alias, join_using_alias, join_using_alias); + WRITE_NODE_PTR_FIELD(JoinExpr, quals, quals, quals); + WRITE_SPECIFIC_NODE_PTR_FIELD(JoinExpr, Alias, alias, alias, alias, alias); + WRITE_INT_FIELD(JoinExpr, rtindex, rtindex, rtindex); } static void _outFromExpr(OUT_TYPE(FromExpr, FromExpr) out, const FromExpr *node) { - WRITE_LIST_FIELD(fromlist, fromlist, fromlist); - WRITE_NODE_PTR_FIELD(quals, quals, quals); + WRITE_LIST_FIELD(FromExpr, fromlist, fromlist, fromlist); + WRITE_NODE_PTR_FIELD(FromExpr, quals, quals, quals); } static void _outOnConflictExpr(OUT_TYPE(OnConflictExpr, OnConflictExpr) out, const OnConflictExpr *node) { - WRITE_ENUM_FIELD(OnConflictAction, action, action, action); - WRITE_LIST_FIELD(arbiter_elems, arbiterElems, arbiterElems); - WRITE_NODE_PTR_FIELD(arbiter_where, arbiterWhere, arbiterWhere); - WRITE_UINT_FIELD(constraint, constraint, constraint); - WRITE_LIST_FIELD(on_conflict_set, onConflictSet, onConflictSet); - WRITE_NODE_PTR_FIELD(on_conflict_where, onConflictWhere, onConflictWhere); - WRITE_INT_FIELD(excl_rel_index, exclRelIndex, exclRelIndex); - WRITE_LIST_FIELD(excl_rel_tlist, exclRelTlist, exclRelTlist); + WRITE_ENUM_FIELD(OnConflictExpr, OnConflictAction, action, action, action); + WRITE_LIST_FIELD(OnConflictExpr, arbiter_elems, arbiterElems, arbiterElems); + WRITE_NODE_PTR_FIELD(OnConflictExpr, arbiter_where, arbiterWhere, arbiterWhere); + WRITE_UINT_FIELD(OnConflictExpr, constraint, constraint, constraint); + WRITE_LIST_FIELD(OnConflictExpr, on_conflict_set, onConflictSet, onConflictSet); + WRITE_NODE_PTR_FIELD(OnConflictExpr, on_conflict_where, onConflictWhere, onConflictWhere); + WRITE_INT_FIELD(OnConflictExpr, excl_rel_index, exclRelIndex, exclRelIndex); + WRITE_LIST_FIELD(OnConflictExpr, excl_rel_tlist, exclRelTlist, exclRelTlist); } static void _outQuery(OUT_TYPE(Query, Query) out, const Query *node) { - WRITE_ENUM_FIELD(CmdType, command_type, commandType, commandType); - WRITE_ENUM_FIELD(QuerySource, query_source, querySource, querySource); - WRITE_BOOL_FIELD(can_set_tag, canSetTag, canSetTag); - WRITE_NODE_PTR_FIELD(utility_stmt, utilityStmt, utilityStmt); - WRITE_INT_FIELD(result_relation, resultRelation, resultRelation); - WRITE_BOOL_FIELD(has_aggs, hasAggs, hasAggs); - WRITE_BOOL_FIELD(has_window_funcs, hasWindowFuncs, hasWindowFuncs); - WRITE_BOOL_FIELD(has_target_srfs, hasTargetSRFs, hasTargetSRFs); - WRITE_BOOL_FIELD(has_sub_links, hasSubLinks, hasSubLinks); - WRITE_BOOL_FIELD(has_distinct_on, hasDistinctOn, hasDistinctOn); - WRITE_BOOL_FIELD(has_recursive, hasRecursive, hasRecursive); - WRITE_BOOL_FIELD(has_modifying_cte, hasModifyingCTE, hasModifyingCTE); - WRITE_BOOL_FIELD(has_for_update, hasForUpdate, hasForUpdate); - WRITE_BOOL_FIELD(has_row_security, hasRowSecurity, hasRowSecurity); - WRITE_BOOL_FIELD(has_group_rte, hasGroupRTE, hasGroupRTE); - WRITE_BOOL_FIELD(is_return, isReturn, isReturn); - WRITE_LIST_FIELD(cte_list, cteList, cteList); - WRITE_LIST_FIELD(rtable, rtable, rtable); - WRITE_LIST_FIELD(rteperminfos, rteperminfos, rteperminfos); - WRITE_SPECIFIC_NODE_PTR_FIELD(FromExpr, from_expr, jointree, jointree, jointree); - WRITE_LIST_FIELD(merge_action_list, mergeActionList, mergeActionList); - WRITE_INT_FIELD(merge_target_relation, mergeTargetRelation, mergeTargetRelation); - WRITE_NODE_PTR_FIELD(merge_join_condition, mergeJoinCondition, mergeJoinCondition); - WRITE_LIST_FIELD(target_list, targetList, targetList); - WRITE_ENUM_FIELD(OverridingKind, override, override, override); - WRITE_SPECIFIC_NODE_PTR_FIELD(OnConflictExpr, on_conflict_expr, on_conflict, onConflict, onConflict); - WRITE_STRING_FIELD(returning_old_alias, returningOldAlias, returningOldAlias); - WRITE_STRING_FIELD(returning_new_alias, returningNewAlias, returningNewAlias); - WRITE_LIST_FIELD(returning_list, returningList, returningList); - WRITE_LIST_FIELD(group_clause, groupClause, groupClause); - WRITE_BOOL_FIELD(group_distinct, groupDistinct, groupDistinct); - WRITE_LIST_FIELD(grouping_sets, groupingSets, groupingSets); - WRITE_NODE_PTR_FIELD(having_qual, havingQual, havingQual); - WRITE_LIST_FIELD(window_clause, windowClause, windowClause); - WRITE_LIST_FIELD(distinct_clause, distinctClause, distinctClause); - WRITE_LIST_FIELD(sort_clause, sortClause, sortClause); - WRITE_NODE_PTR_FIELD(limit_offset, limitOffset, limitOffset); - WRITE_NODE_PTR_FIELD(limit_count, limitCount, limitCount); - WRITE_ENUM_FIELD(LimitOption, limit_option, limitOption, limitOption); - WRITE_LIST_FIELD(row_marks, rowMarks, rowMarks); - WRITE_NODE_PTR_FIELD(set_operations, setOperations, setOperations); - WRITE_LIST_FIELD(constraint_deps, constraintDeps, constraintDeps); - WRITE_LIST_FIELD(with_check_options, withCheckOptions, withCheckOptions); - WRITE_INT_FIELD(stmt_location, stmt_location, stmt_location); - WRITE_INT_FIELD(stmt_len, stmt_len, stmt_len); + WRITE_ENUM_FIELD(Query, CmdType, command_type, commandType, commandType); + WRITE_ENUM_FIELD(Query, QuerySource, query_source, querySource, querySource); + WRITE_BOOL_FIELD(Query, can_set_tag, canSetTag, canSetTag); + WRITE_NODE_PTR_FIELD(Query, utility_stmt, utilityStmt, utilityStmt); + WRITE_INT_FIELD(Query, result_relation, resultRelation, resultRelation); + WRITE_BOOL_FIELD(Query, has_aggs, hasAggs, hasAggs); + WRITE_BOOL_FIELD(Query, has_window_funcs, hasWindowFuncs, hasWindowFuncs); + WRITE_BOOL_FIELD(Query, has_target_srfs, hasTargetSRFs, hasTargetSRFs); + WRITE_BOOL_FIELD(Query, has_sub_links, hasSubLinks, hasSubLinks); + WRITE_BOOL_FIELD(Query, has_distinct_on, hasDistinctOn, hasDistinctOn); + WRITE_BOOL_FIELD(Query, has_recursive, hasRecursive, hasRecursive); + WRITE_BOOL_FIELD(Query, has_modifying_cte, hasModifyingCTE, hasModifyingCTE); + WRITE_BOOL_FIELD(Query, has_for_update, hasForUpdate, hasForUpdate); + WRITE_BOOL_FIELD(Query, has_row_security, hasRowSecurity, hasRowSecurity); + WRITE_BOOL_FIELD(Query, has_group_rte, hasGroupRTE, hasGroupRTE); + WRITE_BOOL_FIELD(Query, is_return, isReturn, isReturn); + WRITE_LIST_FIELD(Query, cte_list, cteList, cteList); + WRITE_LIST_FIELD(Query, rtable, rtable, rtable); + WRITE_LIST_FIELD(Query, rteperminfos, rteperminfos, rteperminfos); + WRITE_SPECIFIC_NODE_PTR_FIELD(Query, FromExpr, from_expr, jointree, jointree, jointree); + WRITE_LIST_FIELD(Query, merge_action_list, mergeActionList, mergeActionList); + WRITE_INT_FIELD(Query, merge_target_relation, mergeTargetRelation, mergeTargetRelation); + WRITE_NODE_PTR_FIELD(Query, merge_join_condition, mergeJoinCondition, mergeJoinCondition); + WRITE_LIST_FIELD(Query, target_list, targetList, targetList); + WRITE_ENUM_FIELD(Query, OverridingKind, override, override, override); + WRITE_SPECIFIC_NODE_PTR_FIELD(Query, OnConflictExpr, on_conflict_expr, on_conflict, onConflict, onConflict); + WRITE_STRING_FIELD(Query, returning_old_alias, returningOldAlias, returningOldAlias); + WRITE_STRING_FIELD(Query, returning_new_alias, returningNewAlias, returningNewAlias); + WRITE_LIST_FIELD(Query, returning_list, returningList, returningList); + WRITE_LIST_FIELD(Query, group_clause, groupClause, groupClause); + WRITE_BOOL_FIELD(Query, group_distinct, groupDistinct, groupDistinct); + WRITE_LIST_FIELD(Query, grouping_sets, groupingSets, groupingSets); + WRITE_NODE_PTR_FIELD(Query, having_qual, havingQual, havingQual); + WRITE_LIST_FIELD(Query, window_clause, windowClause, windowClause); + WRITE_LIST_FIELD(Query, distinct_clause, distinctClause, distinctClause); + WRITE_LIST_FIELD(Query, sort_clause, sortClause, sortClause); + WRITE_NODE_PTR_FIELD(Query, limit_offset, limitOffset, limitOffset); + WRITE_NODE_PTR_FIELD(Query, limit_count, limitCount, limitCount); + WRITE_ENUM_FIELD(Query, LimitOption, limit_option, limitOption, limitOption); + WRITE_LIST_FIELD(Query, row_marks, rowMarks, rowMarks); + WRITE_NODE_PTR_FIELD(Query, set_operations, setOperations, setOperations); + WRITE_LIST_FIELD(Query, constraint_deps, constraintDeps, constraintDeps); + WRITE_LIST_FIELD(Query, with_check_options, withCheckOptions, withCheckOptions); + WRITE_INT_FIELD(Query, stmt_location, stmt_location, stmt_location); + WRITE_INT_FIELD(Query, stmt_len, stmt_len, stmt_len); } static void _outTypeName(OUT_TYPE(TypeName, TypeName) out, const TypeName *node) { - WRITE_LIST_FIELD(names, names, names); - WRITE_UINT_FIELD(type_oid, typeOid, typeOid); - WRITE_BOOL_FIELD(setof, setof, setof); - WRITE_BOOL_FIELD(pct_type, pct_type, pct_type); - WRITE_LIST_FIELD(typmods, typmods, typmods); - WRITE_INT_FIELD(typemod, typemod, typemod); - WRITE_LIST_FIELD(array_bounds, arrayBounds, arrayBounds); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(TypeName, names, names, names); + WRITE_UINT_FIELD(TypeName, type_oid, typeOid, typeOid); + WRITE_BOOL_FIELD(TypeName, setof, setof, setof); + WRITE_BOOL_FIELD(TypeName, pct_type, pct_type, pct_type); + WRITE_LIST_FIELD(TypeName, typmods, typmods, typmods); + WRITE_INT_FIELD(TypeName, typemod, typemod, typemod); + WRITE_LIST_FIELD(TypeName, array_bounds, arrayBounds, arrayBounds); + WRITE_INT_FIELD(TypeName, location, location, location); } static void _outColumnRef(OUT_TYPE(ColumnRef, ColumnRef) out, const ColumnRef *node) { - WRITE_LIST_FIELD(fields, fields, fields); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(ColumnRef, fields, fields, fields); + WRITE_INT_FIELD(ColumnRef, location, location, location); } static void _outParamRef(OUT_TYPE(ParamRef, ParamRef) out, const ParamRef *node) { - WRITE_INT_FIELD(number, number, number); - WRITE_INT_FIELD(location, location, location); + WRITE_INT_FIELD(ParamRef, number, number, number); + WRITE_INT_FIELD(ParamRef, location, location, location); } static void _outAExpr(OUT_TYPE(A_Expr, AExpr) out, const A_Expr *node) { - WRITE_ENUM_FIELD(A_Expr_Kind, kind, kind, kind); - WRITE_LIST_FIELD(name, name, name); - WRITE_NODE_PTR_FIELD(lexpr, lexpr, lexpr); - WRITE_NODE_PTR_FIELD(rexpr, rexpr, rexpr); - WRITE_INT_FIELD(rexpr_list_start, rexpr_list_start, rexpr_list_start); - WRITE_INT_FIELD(rexpr_list_end, rexpr_list_end, rexpr_list_end); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(A_Expr, A_Expr_Kind, kind, kind, kind); + WRITE_LIST_FIELD(A_Expr, name, name, name); + WRITE_NODE_PTR_FIELD(A_Expr, lexpr, lexpr, lexpr); + WRITE_NODE_PTR_FIELD(A_Expr, rexpr, rexpr, rexpr); + WRITE_INT_FIELD(A_Expr, rexpr_list_start, rexpr_list_start, rexpr_list_start); + WRITE_INT_FIELD(A_Expr, rexpr_list_end, rexpr_list_end, rexpr_list_end); + WRITE_INT_FIELD(A_Expr, location, location, location); } static void _outTypeCast(OUT_TYPE(TypeCast, TypeCast) out, const TypeCast *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(TypeCast, arg, arg, arg); + WRITE_SPECIFIC_NODE_PTR_FIELD(TypeCast, TypeName, type_name, type_name, typeName, typeName); + WRITE_INT_FIELD(TypeCast, location, location, location); } static void _outCollateClause(OUT_TYPE(CollateClause, CollateClause) out, const CollateClause *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_LIST_FIELD(collname, collname, collname); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(CollateClause, arg, arg, arg); + WRITE_LIST_FIELD(CollateClause, collname, collname, collname); + WRITE_INT_FIELD(CollateClause, location, location, location); } static void _outRoleSpec(OUT_TYPE(RoleSpec, RoleSpec) out, const RoleSpec *node) { - WRITE_ENUM_FIELD(RoleSpecType, roletype, roletype, roletype); - WRITE_STRING_FIELD(rolename, rolename, rolename); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(RoleSpec, RoleSpecType, roletype, roletype, roletype); + WRITE_STRING_FIELD(RoleSpec, rolename, rolename, rolename); + WRITE_INT_FIELD(RoleSpec, location, location, location); } static void _outFuncCall(OUT_TYPE(FuncCall, FuncCall) out, const FuncCall *node) { - WRITE_LIST_FIELD(funcname, funcname, funcname); - WRITE_LIST_FIELD(args, args, args); - WRITE_LIST_FIELD(agg_order, agg_order, agg_order); - WRITE_NODE_PTR_FIELD(agg_filter, agg_filter, agg_filter); - WRITE_SPECIFIC_NODE_PTR_FIELD(WindowDef, window_def, over, over, over); - WRITE_BOOL_FIELD(agg_within_group, agg_within_group, agg_within_group); - WRITE_BOOL_FIELD(agg_star, agg_star, agg_star); - WRITE_BOOL_FIELD(agg_distinct, agg_distinct, agg_distinct); - WRITE_BOOL_FIELD(func_variadic, func_variadic, func_variadic); - WRITE_ENUM_FIELD(CoercionForm, funcformat, funcformat, funcformat); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(FuncCall, funcname, funcname, funcname); + WRITE_LIST_FIELD(FuncCall, args, args, args); + WRITE_LIST_FIELD(FuncCall, agg_order, agg_order, agg_order); + WRITE_NODE_PTR_FIELD(FuncCall, agg_filter, agg_filter, agg_filter); + WRITE_SPECIFIC_NODE_PTR_FIELD(FuncCall, WindowDef, window_def, over, over, over); + WRITE_BOOL_FIELD(FuncCall, agg_within_group, agg_within_group, agg_within_group); + WRITE_BOOL_FIELD(FuncCall, agg_star, agg_star, agg_star); + WRITE_BOOL_FIELD(FuncCall, agg_distinct, agg_distinct, agg_distinct); + WRITE_BOOL_FIELD(FuncCall, func_variadic, func_variadic, func_variadic); + WRITE_ENUM_FIELD(FuncCall, CoercionForm, funcformat, funcformat, funcformat); + WRITE_INT_FIELD(FuncCall, location, location, location); } static void @@ -1088,1669 +1088,1671 @@ _outAStar(OUT_TYPE(A_Star, AStar) out, const A_Star *node) static void _outAIndices(OUT_TYPE(A_Indices, AIndices) out, const A_Indices *node) { - WRITE_BOOL_FIELD(is_slice, is_slice, is_slice); - WRITE_NODE_PTR_FIELD(lidx, lidx, lidx); - WRITE_NODE_PTR_FIELD(uidx, uidx, uidx); + WRITE_BOOL_FIELD(A_Indices, is_slice, is_slice, is_slice); + WRITE_NODE_PTR_FIELD(A_Indices, lidx, lidx, lidx); + WRITE_NODE_PTR_FIELD(A_Indices, uidx, uidx, uidx); } static void _outAIndirection(OUT_TYPE(A_Indirection, AIndirection) out, const A_Indirection *node) { - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_LIST_FIELD(indirection, indirection, indirection); + WRITE_NODE_PTR_FIELD(A_Indirection, arg, arg, arg); + WRITE_LIST_FIELD(A_Indirection, indirection, indirection, indirection); } static void _outAArrayExpr(OUT_TYPE(A_ArrayExpr, AArrayExpr) out, const A_ArrayExpr *node) { - WRITE_LIST_FIELD(elements, elements, elements); - WRITE_INT_FIELD(list_start, list_start, list_start); - WRITE_INT_FIELD(list_end, list_end, list_end); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(A_ArrayExpr, elements, elements, elements); + WRITE_INT_FIELD(A_ArrayExpr, list_start, list_start, list_start); + WRITE_INT_FIELD(A_ArrayExpr, list_end, list_end, list_end); + WRITE_INT_FIELD(A_ArrayExpr, location, location, location); } static void _outResTarget(OUT_TYPE(ResTarget, ResTarget) out, const ResTarget *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_LIST_FIELD(indirection, indirection, indirection); - WRITE_NODE_PTR_FIELD(val, val, val); - WRITE_INT_FIELD(location, location, location); + WRITE_STRING_FIELD(ResTarget, name, name, name); + WRITE_LIST_FIELD(ResTarget, indirection, indirection, indirection); + WRITE_NODE_PTR_FIELD(ResTarget, val, val, val); + WRITE_INT_FIELD(ResTarget, location, location, location); } static void _outMultiAssignRef(OUT_TYPE(MultiAssignRef, MultiAssignRef) out, const MultiAssignRef *node) { - WRITE_NODE_PTR_FIELD(source, source, source); - WRITE_INT_FIELD(colno, colno, colno); - WRITE_INT_FIELD(ncolumns, ncolumns, ncolumns); + WRITE_NODE_PTR_FIELD(MultiAssignRef, source, source, source); + WRITE_INT_FIELD(MultiAssignRef, colno, colno, colno); + WRITE_INT_FIELD(MultiAssignRef, ncolumns, ncolumns, ncolumns); } static void _outSortBy(OUT_TYPE(SortBy, SortBy) out, const SortBy *node) { - WRITE_NODE_PTR_FIELD(node, node, node); - WRITE_ENUM_FIELD(SortByDir, sortby_dir, sortby_dir, sortby_dir); - WRITE_ENUM_FIELD(SortByNulls, sortby_nulls, sortby_nulls, sortby_nulls); - WRITE_LIST_FIELD(use_op, useOp, useOp); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(SortBy, node, node, node); + WRITE_ENUM_FIELD(SortBy, SortByDir, sortby_dir, sortby_dir, sortby_dir); + WRITE_ENUM_FIELD(SortBy, SortByNulls, sortby_nulls, sortby_nulls, sortby_nulls); + WRITE_LIST_FIELD(SortBy, use_op, useOp, useOp); + WRITE_INT_FIELD(SortBy, location, location, location); } static void _outWindowDef(OUT_TYPE(WindowDef, WindowDef) out, const WindowDef *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_STRING_FIELD(refname, refname, refname); - WRITE_LIST_FIELD(partition_clause, partitionClause, partitionClause); - WRITE_LIST_FIELD(order_clause, orderClause, orderClause); - WRITE_INT_FIELD(frame_options, frameOptions, frameOptions); - WRITE_NODE_PTR_FIELD(start_offset, startOffset, startOffset); - WRITE_NODE_PTR_FIELD(end_offset, endOffset, endOffset); - WRITE_INT_FIELD(location, location, location); + WRITE_STRING_FIELD(WindowDef, name, name, name); + WRITE_STRING_FIELD(WindowDef, refname, refname, refname); + WRITE_LIST_FIELD(WindowDef, partition_clause, partitionClause, partitionClause); + WRITE_LIST_FIELD(WindowDef, order_clause, orderClause, orderClause); + WRITE_INT_FIELD(WindowDef, frame_options, frameOptions, frameOptions); + WRITE_NODE_PTR_FIELD(WindowDef, start_offset, startOffset, startOffset); + WRITE_NODE_PTR_FIELD(WindowDef, end_offset, endOffset, endOffset); + WRITE_INT_FIELD(WindowDef, location, location, location); } static void _outRangeSubselect(OUT_TYPE(RangeSubselect, RangeSubselect) out, const RangeSubselect *node) { - WRITE_BOOL_FIELD(lateral, lateral, lateral); - WRITE_NODE_PTR_FIELD(subquery, subquery, subquery); - WRITE_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); + WRITE_BOOL_FIELD(RangeSubselect, lateral, lateral, lateral); + WRITE_NODE_PTR_FIELD(RangeSubselect, subquery, subquery, subquery); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeSubselect, Alias, alias, alias, alias, alias); } static void _outRangeFunction(OUT_TYPE(RangeFunction, RangeFunction) out, const RangeFunction *node) { - WRITE_BOOL_FIELD(lateral, lateral, lateral); - WRITE_BOOL_FIELD(ordinality, ordinality, ordinality); - WRITE_BOOL_FIELD(is_rowsfrom, is_rowsfrom, is_rowsfrom); - WRITE_LIST_FIELD(functions, functions, functions); - WRITE_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - WRITE_LIST_FIELD(coldeflist, coldeflist, coldeflist); + WRITE_BOOL_FIELD(RangeFunction, lateral, lateral, lateral); + WRITE_BOOL_FIELD(RangeFunction, ordinality, ordinality, ordinality); + WRITE_BOOL_FIELD(RangeFunction, is_rowsfrom, is_rowsfrom, is_rowsfrom); + WRITE_LIST_FIELD(RangeFunction, functions, functions, functions); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeFunction, Alias, alias, alias, alias, alias); + WRITE_LIST_FIELD(RangeFunction, coldeflist, coldeflist, coldeflist); } static void _outRangeTableFunc(OUT_TYPE(RangeTableFunc, RangeTableFunc) out, const RangeTableFunc *node) { - WRITE_BOOL_FIELD(lateral, lateral, lateral); - WRITE_NODE_PTR_FIELD(docexpr, docexpr, docexpr); - WRITE_NODE_PTR_FIELD(rowexpr, rowexpr, rowexpr); - WRITE_LIST_FIELD(namespaces, namespaces, namespaces); - WRITE_LIST_FIELD(columns, columns, columns); - WRITE_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - WRITE_INT_FIELD(location, location, location); + WRITE_BOOL_FIELD(RangeTableFunc, lateral, lateral, lateral); + WRITE_NODE_PTR_FIELD(RangeTableFunc, docexpr, docexpr, docexpr); + WRITE_NODE_PTR_FIELD(RangeTableFunc, rowexpr, rowexpr, rowexpr); + WRITE_LIST_FIELD(RangeTableFunc, namespaces, namespaces, namespaces); + WRITE_LIST_FIELD(RangeTableFunc, columns, columns, columns); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeTableFunc, Alias, alias, alias, alias, alias); + WRITE_INT_FIELD(RangeTableFunc, location, location, location); } static void _outRangeTableFuncCol(OUT_TYPE(RangeTableFuncCol, RangeTableFuncCol) out, const RangeTableFuncCol *node) { - WRITE_STRING_FIELD(colname, colname, colname); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - WRITE_BOOL_FIELD(for_ordinality, for_ordinality, for_ordinality); - WRITE_BOOL_FIELD(is_not_null, is_not_null, is_not_null); - WRITE_NODE_PTR_FIELD(colexpr, colexpr, colexpr); - WRITE_NODE_PTR_FIELD(coldefexpr, coldefexpr, coldefexpr); - WRITE_INT_FIELD(location, location, location); + WRITE_STRING_FIELD(RangeTableFuncCol, colname, colname, colname); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeTableFuncCol, TypeName, type_name, type_name, typeName, typeName); + WRITE_BOOL_FIELD(RangeTableFuncCol, for_ordinality, for_ordinality, for_ordinality); + WRITE_BOOL_FIELD(RangeTableFuncCol, is_not_null, is_not_null, is_not_null); + WRITE_NODE_PTR_FIELD(RangeTableFuncCol, colexpr, colexpr, colexpr); + WRITE_NODE_PTR_FIELD(RangeTableFuncCol, coldefexpr, coldefexpr, coldefexpr); + WRITE_INT_FIELD(RangeTableFuncCol, location, location, location); } static void _outRangeTableSample(OUT_TYPE(RangeTableSample, RangeTableSample) out, const RangeTableSample *node) { - WRITE_NODE_PTR_FIELD(relation, relation, relation); - WRITE_LIST_FIELD(method, method, method); - WRITE_LIST_FIELD(args, args, args); - WRITE_NODE_PTR_FIELD(repeatable, repeatable, repeatable); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(RangeTableSample, relation, relation, relation); + WRITE_LIST_FIELD(RangeTableSample, method, method, method); + WRITE_LIST_FIELD(RangeTableSample, args, args, args); + WRITE_NODE_PTR_FIELD(RangeTableSample, repeatable, repeatable, repeatable); + WRITE_INT_FIELD(RangeTableSample, location, location, location); } static void _outColumnDef(OUT_TYPE(ColumnDef, ColumnDef) out, const ColumnDef *node) { - WRITE_STRING_FIELD(colname, colname, colname); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - WRITE_STRING_FIELD(compression, compression, compression); - WRITE_INT_FIELD(inhcount, inhcount, inhcount); - WRITE_BOOL_FIELD(is_local, is_local, is_local); - WRITE_BOOL_FIELD(is_not_null, is_not_null, is_not_null); - WRITE_BOOL_FIELD(is_from_type, is_from_type, is_from_type); - WRITE_CHAR_FIELD(storage, storage, storage); - WRITE_STRING_FIELD(storage_name, storage_name, storage_name); - WRITE_NODE_PTR_FIELD(raw_default, raw_default, raw_default); - WRITE_NODE_PTR_FIELD(cooked_default, cooked_default, cooked_default); - WRITE_CHAR_FIELD(identity, identity, identity); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, identity_sequence, identitySequence, identitySequence); - WRITE_CHAR_FIELD(generated, generated, generated); - WRITE_SPECIFIC_NODE_PTR_FIELD(CollateClause, collate_clause, coll_clause, collClause, collClause); - WRITE_UINT_FIELD(coll_oid, collOid, collOid); - WRITE_LIST_FIELD(constraints, constraints, constraints); - WRITE_LIST_FIELD(fdwoptions, fdwoptions, fdwoptions); - WRITE_INT_FIELD(location, location, location); + WRITE_STRING_FIELD(ColumnDef, colname, colname, colname); + WRITE_SPECIFIC_NODE_PTR_FIELD(ColumnDef, TypeName, type_name, type_name, typeName, typeName); + WRITE_STRING_FIELD(ColumnDef, compression, compression, compression); + WRITE_INT_FIELD(ColumnDef, inhcount, inhcount, inhcount); + WRITE_BOOL_FIELD(ColumnDef, is_local, is_local, is_local); + WRITE_BOOL_FIELD(ColumnDef, is_not_null, is_not_null, is_not_null); + WRITE_BOOL_FIELD(ColumnDef, is_from_type, is_from_type, is_from_type); + WRITE_CHAR_FIELD(ColumnDef, storage, storage, storage); + WRITE_STRING_FIELD(ColumnDef, storage_name, storage_name, storage_name); + WRITE_NODE_PTR_FIELD(ColumnDef, raw_default, raw_default, raw_default); + WRITE_NODE_PTR_FIELD(ColumnDef, cooked_default, cooked_default, cooked_default); + WRITE_CHAR_FIELD(ColumnDef, identity, identity, identity); + WRITE_SPECIFIC_NODE_PTR_FIELD(ColumnDef, RangeVar, range_var, identity_sequence, identitySequence, identitySequence); + WRITE_CHAR_FIELD(ColumnDef, generated, generated, generated); + WRITE_SPECIFIC_NODE_PTR_FIELD(ColumnDef, CollateClause, collate_clause, coll_clause, collClause, collClause); + WRITE_UINT_FIELD(ColumnDef, coll_oid, collOid, collOid); + WRITE_LIST_FIELD(ColumnDef, constraints, constraints, constraints); + WRITE_LIST_FIELD(ColumnDef, fdwoptions, fdwoptions, fdwoptions); + WRITE_INT_FIELD(ColumnDef, location, location, location); } static void _outTableLikeClause(OUT_TYPE(TableLikeClause, TableLikeClause) out, const TableLikeClause *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_UINT_FIELD(options, options, options); - WRITE_UINT_FIELD(relation_oid, relationOid, relationOid); + WRITE_SPECIFIC_NODE_PTR_FIELD(TableLikeClause, RangeVar, range_var, relation, relation, relation); + WRITE_UINT_FIELD(TableLikeClause, options, options, options); + WRITE_UINT_FIELD(TableLikeClause, relation_oid, relationOid, relationOid); } static void _outIndexElem(OUT_TYPE(IndexElem, IndexElem) out, const IndexElem *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_NODE_PTR_FIELD(expr, expr, expr); - WRITE_STRING_FIELD(indexcolname, indexcolname, indexcolname); - WRITE_LIST_FIELD(collation, collation, collation); - WRITE_LIST_FIELD(opclass, opclass, opclass); - WRITE_LIST_FIELD(opclassopts, opclassopts, opclassopts); - WRITE_ENUM_FIELD(SortByDir, ordering, ordering, ordering); - WRITE_ENUM_FIELD(SortByNulls, nulls_ordering, nulls_ordering, nulls_ordering); + WRITE_STRING_FIELD(IndexElem, name, name, name); + WRITE_NODE_PTR_FIELD(IndexElem, expr, expr, expr); + WRITE_STRING_FIELD(IndexElem, indexcolname, indexcolname, indexcolname); + WRITE_LIST_FIELD(IndexElem, collation, collation, collation); + WRITE_LIST_FIELD(IndexElem, opclass, opclass, opclass); + WRITE_LIST_FIELD(IndexElem, opclassopts, opclassopts, opclassopts); + WRITE_ENUM_FIELD(IndexElem, SortByDir, ordering, ordering, ordering); + WRITE_ENUM_FIELD(IndexElem, SortByNulls, nulls_ordering, nulls_ordering, nulls_ordering); } static void _outDefElem(OUT_TYPE(DefElem, DefElem) out, const DefElem *node) { - WRITE_STRING_FIELD(defnamespace, defnamespace, defnamespace); - WRITE_STRING_FIELD(defname, defname, defname); - WRITE_NODE_PTR_FIELD(arg, arg, arg); - WRITE_ENUM_FIELD(DefElemAction, defaction, defaction, defaction); - WRITE_INT_FIELD(location, location, location); + WRITE_STRING_FIELD(DefElem, defnamespace, defnamespace, defnamespace); + WRITE_STRING_FIELD(DefElem, defname, defname, defname); + WRITE_NODE_PTR_FIELD(DefElem, arg, arg, arg); + WRITE_ENUM_FIELD(DefElem, DefElemAction, defaction, defaction, defaction); + WRITE_INT_FIELD(DefElem, location, location, location); + WRITE_INT_FIELD(DefElem, arg_location, arg_location, arg_location); } static void _outLockingClause(OUT_TYPE(LockingClause, LockingClause) out, const LockingClause *node) { - WRITE_LIST_FIELD(locked_rels, lockedRels, lockedRels); - WRITE_ENUM_FIELD(LockClauseStrength, strength, strength, strength); - WRITE_ENUM_FIELD(LockWaitPolicy, wait_policy, waitPolicy, waitPolicy); + WRITE_LIST_FIELD(LockingClause, locked_rels, lockedRels, lockedRels); + WRITE_ENUM_FIELD(LockingClause, LockClauseStrength, strength, strength, strength); + WRITE_ENUM_FIELD(LockingClause, LockWaitPolicy, wait_policy, waitPolicy, waitPolicy); } static void _outXmlSerialize(OUT_TYPE(XmlSerialize, XmlSerialize) out, const XmlSerialize *node) { - WRITE_ENUM_FIELD(XmlOptionType, xmloption, xmloption, xmloption); - WRITE_NODE_PTR_FIELD(expr, expr, expr); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - WRITE_BOOL_FIELD(indent, indent, indent); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(XmlSerialize, XmlOptionType, xmloption, xmloption, xmloption); + WRITE_NODE_PTR_FIELD(XmlSerialize, expr, expr, expr); + WRITE_SPECIFIC_NODE_PTR_FIELD(XmlSerialize, TypeName, type_name, type_name, typeName, typeName); + WRITE_BOOL_FIELD(XmlSerialize, indent, indent, indent); + WRITE_INT_FIELD(XmlSerialize, location, location, location); } static void _outPartitionElem(OUT_TYPE(PartitionElem, PartitionElem) out, const PartitionElem *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_NODE_PTR_FIELD(expr, expr, expr); - WRITE_LIST_FIELD(collation, collation, collation); - WRITE_LIST_FIELD(opclass, opclass, opclass); - WRITE_INT_FIELD(location, location, location); + WRITE_STRING_FIELD(PartitionElem, name, name, name); + WRITE_NODE_PTR_FIELD(PartitionElem, expr, expr, expr); + WRITE_LIST_FIELD(PartitionElem, collation, collation, collation); + WRITE_LIST_FIELD(PartitionElem, opclass, opclass, opclass); + WRITE_INT_FIELD(PartitionElem, location, location, location); } static void _outPartitionSpec(OUT_TYPE(PartitionSpec, PartitionSpec) out, const PartitionSpec *node) { - WRITE_ENUM_FIELD(PartitionStrategy, strategy, strategy, strategy); - WRITE_LIST_FIELD(part_params, partParams, partParams); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(PartitionSpec, PartitionStrategy, strategy, strategy, strategy); + WRITE_LIST_FIELD(PartitionSpec, part_params, partParams, partParams); + WRITE_INT_FIELD(PartitionSpec, location, location, location); } static void _outPartitionBoundSpec(OUT_TYPE(PartitionBoundSpec, PartitionBoundSpec) out, const PartitionBoundSpec *node) { - WRITE_CHAR_FIELD(strategy, strategy, strategy); - WRITE_BOOL_FIELD(is_default, is_default, is_default); - WRITE_INT_FIELD(modulus, modulus, modulus); - WRITE_INT_FIELD(remainder, remainder, remainder); - WRITE_LIST_FIELD(listdatums, listdatums, listdatums); - WRITE_LIST_FIELD(lowerdatums, lowerdatums, lowerdatums); - WRITE_LIST_FIELD(upperdatums, upperdatums, upperdatums); - WRITE_INT_FIELD(location, location, location); + WRITE_CHAR_FIELD(PartitionBoundSpec, strategy, strategy, strategy); + WRITE_BOOL_FIELD(PartitionBoundSpec, is_default, is_default, is_default); + WRITE_INT_FIELD(PartitionBoundSpec, modulus, modulus, modulus); + WRITE_INT_FIELD(PartitionBoundSpec, remainder, remainder, remainder); + WRITE_LIST_FIELD(PartitionBoundSpec, listdatums, listdatums, listdatums); + WRITE_LIST_FIELD(PartitionBoundSpec, lowerdatums, lowerdatums, lowerdatums); + WRITE_LIST_FIELD(PartitionBoundSpec, upperdatums, upperdatums, upperdatums); + WRITE_INT_FIELD(PartitionBoundSpec, location, location, location); } static void _outPartitionRangeDatum(OUT_TYPE(PartitionRangeDatum, PartitionRangeDatum) out, const PartitionRangeDatum *node) { - WRITE_ENUM_FIELD(PartitionRangeDatumKind, kind, kind, kind); - WRITE_NODE_PTR_FIELD(value, value, value); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(PartitionRangeDatum, PartitionRangeDatumKind, kind, kind, kind); + WRITE_NODE_PTR_FIELD(PartitionRangeDatum, value, value, value); + WRITE_INT_FIELD(PartitionRangeDatum, location, location, location); } static void _outPartitionCmd(OUT_TYPE(PartitionCmd, PartitionCmd) out, const PartitionCmd *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, name, name, name); - WRITE_SPECIFIC_NODE_PTR_FIELD(PartitionBoundSpec, partition_bound_spec, bound, bound, bound); - WRITE_BOOL_FIELD(concurrent, concurrent, concurrent); + WRITE_SPECIFIC_NODE_PTR_FIELD(PartitionCmd, RangeVar, range_var, name, name, name); + WRITE_SPECIFIC_NODE_PTR_FIELD(PartitionCmd, PartitionBoundSpec, partition_bound_spec, bound, bound, bound); + WRITE_BOOL_FIELD(PartitionCmd, concurrent, concurrent, concurrent); } static void _outRangeTblEntry(OUT_TYPE(RangeTblEntry, RangeTblEntry) out, const RangeTblEntry *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - WRITE_SPECIFIC_NODE_PTR_FIELD(Alias, alias, eref, eref, eref); - WRITE_ENUM_FIELD(RTEKind, rtekind, rtekind, rtekind); - WRITE_UINT_FIELD(relid, relid, relid); - WRITE_BOOL_FIELD(inh, inh, inh); - WRITE_CHAR_FIELD(relkind, relkind, relkind); - WRITE_INT_FIELD(rellockmode, rellockmode, rellockmode); - WRITE_UINT_FIELD(perminfoindex, perminfoindex, perminfoindex); - WRITE_SPECIFIC_NODE_PTR_FIELD(TableSampleClause, table_sample_clause, tablesample, tablesample, tablesample); - WRITE_SPECIFIC_NODE_PTR_FIELD(Query, query, subquery, subquery, subquery); - WRITE_BOOL_FIELD(security_barrier, security_barrier, security_barrier); - WRITE_ENUM_FIELD(JoinType, jointype, jointype, jointype); - WRITE_INT_FIELD(joinmergedcols, joinmergedcols, joinmergedcols); - WRITE_LIST_FIELD(joinaliasvars, joinaliasvars, joinaliasvars); - WRITE_LIST_FIELD(joinleftcols, joinleftcols, joinleftcols); - WRITE_LIST_FIELD(joinrightcols, joinrightcols, joinrightcols); - WRITE_SPECIFIC_NODE_PTR_FIELD(Alias, alias, join_using_alias, join_using_alias, join_using_alias); - WRITE_LIST_FIELD(functions, functions, functions); - WRITE_BOOL_FIELD(funcordinality, funcordinality, funcordinality); - WRITE_SPECIFIC_NODE_PTR_FIELD(TableFunc, table_func, tablefunc, tablefunc, tablefunc); - WRITE_LIST_FIELD(values_lists, values_lists, values_lists); - WRITE_STRING_FIELD(ctename, ctename, ctename); - WRITE_UINT_FIELD(ctelevelsup, ctelevelsup, ctelevelsup); - WRITE_BOOL_FIELD(self_reference, self_reference, self_reference); - WRITE_LIST_FIELD(coltypes, coltypes, coltypes); - WRITE_LIST_FIELD(coltypmods, coltypmods, coltypmods); - WRITE_LIST_FIELD(colcollations, colcollations, colcollations); - WRITE_STRING_FIELD(enrname, enrname, enrname); - WRITE_FLOAT_FIELD(enrtuples, enrtuples, enrtuples); - WRITE_LIST_FIELD(groupexprs, groupexprs, groupexprs); - WRITE_BOOL_FIELD(lateral, lateral, lateral); - WRITE_BOOL_FIELD(in_from_cl, inFromCl, inFromCl); - WRITE_LIST_FIELD(security_quals, securityQuals, securityQuals); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, Alias, alias, alias, alias, alias); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, Alias, alias, eref, eref, eref); + WRITE_ENUM_FIELD(RangeTblEntry, RTEKind, rtekind, rtekind, rtekind); + WRITE_UINT_FIELD(RangeTblEntry, relid, relid, relid); + WRITE_BOOL_FIELD(RangeTblEntry, inh, inh, inh); + WRITE_CHAR_FIELD(RangeTblEntry, relkind, relkind, relkind); + WRITE_INT_FIELD(RangeTblEntry, rellockmode, rellockmode, rellockmode); + WRITE_UINT_FIELD(RangeTblEntry, perminfoindex, perminfoindex, perminfoindex); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, TableSampleClause, table_sample_clause, tablesample, tablesample, tablesample); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, Query, query, subquery, subquery, subquery); + WRITE_BOOL_FIELD(RangeTblEntry, security_barrier, security_barrier, security_barrier); + WRITE_ENUM_FIELD(RangeTblEntry, JoinType, jointype, jointype, jointype); + WRITE_INT_FIELD(RangeTblEntry, joinmergedcols, joinmergedcols, joinmergedcols); + WRITE_LIST_FIELD(RangeTblEntry, joinaliasvars, joinaliasvars, joinaliasvars); + WRITE_LIST_FIELD(RangeTblEntry, joinleftcols, joinleftcols, joinleftcols); + WRITE_LIST_FIELD(RangeTblEntry, joinrightcols, joinrightcols, joinrightcols); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, Alias, alias, join_using_alias, join_using_alias, join_using_alias); + WRITE_LIST_FIELD(RangeTblEntry, functions, functions, functions); + WRITE_BOOL_FIELD(RangeTblEntry, funcordinality, funcordinality, funcordinality); + WRITE_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, TableFunc, table_func, tablefunc, tablefunc, tablefunc); + WRITE_LIST_FIELD(RangeTblEntry, values_lists, values_lists, values_lists); + WRITE_STRING_FIELD(RangeTblEntry, ctename, ctename, ctename); + WRITE_UINT_FIELD(RangeTblEntry, ctelevelsup, ctelevelsup, ctelevelsup); + WRITE_BOOL_FIELD(RangeTblEntry, self_reference, self_reference, self_reference); + WRITE_LIST_FIELD(RangeTblEntry, coltypes, coltypes, coltypes); + WRITE_LIST_FIELD(RangeTblEntry, coltypmods, coltypmods, coltypmods); + WRITE_LIST_FIELD(RangeTblEntry, colcollations, colcollations, colcollations); + WRITE_STRING_FIELD(RangeTblEntry, enrname, enrname, enrname); + WRITE_FLOAT_FIELD(RangeTblEntry, enrtuples, enrtuples, enrtuples); + WRITE_LIST_FIELD(RangeTblEntry, groupexprs, groupexprs, groupexprs); + WRITE_BOOL_FIELD(RangeTblEntry, lateral, lateral, lateral); + WRITE_BOOL_FIELD(RangeTblEntry, in_from_cl, inFromCl, inFromCl); + WRITE_LIST_FIELD(RangeTblEntry, security_quals, securityQuals, securityQuals); } static void _outRTEPermissionInfo(OUT_TYPE(RTEPermissionInfo, RTEPermissionInfo) out, const RTEPermissionInfo *node) { - WRITE_UINT_FIELD(relid, relid, relid); - WRITE_BOOL_FIELD(inh, inh, inh); - WRITE_UINT64_FIELD(required_perms, requiredPerms, requiredPerms); - WRITE_UINT_FIELD(check_as_user, checkAsUser, checkAsUser); - WRITE_BITMAPSET_FIELD(selected_cols, selectedCols, selectedCols); - WRITE_BITMAPSET_FIELD(inserted_cols, insertedCols, insertedCols); - WRITE_BITMAPSET_FIELD(updated_cols, updatedCols, updatedCols); + WRITE_UINT_FIELD(RTEPermissionInfo, relid, relid, relid); + WRITE_BOOL_FIELD(RTEPermissionInfo, inh, inh, inh); + WRITE_UINT64_FIELD(RTEPermissionInfo, required_perms, requiredPerms, requiredPerms); + WRITE_UINT_FIELD(RTEPermissionInfo, check_as_user, checkAsUser, checkAsUser); + WRITE_BITMAPSET_FIELD(RTEPermissionInfo, selected_cols, selectedCols, selectedCols); + WRITE_BITMAPSET_FIELD(RTEPermissionInfo, inserted_cols, insertedCols, insertedCols); + WRITE_BITMAPSET_FIELD(RTEPermissionInfo, updated_cols, updatedCols, updatedCols); } static void _outRangeTblFunction(OUT_TYPE(RangeTblFunction, RangeTblFunction) out, const RangeTblFunction *node) { - WRITE_NODE_PTR_FIELD(funcexpr, funcexpr, funcexpr); - WRITE_INT_FIELD(funccolcount, funccolcount, funccolcount); - WRITE_LIST_FIELD(funccolnames, funccolnames, funccolnames); - WRITE_LIST_FIELD(funccoltypes, funccoltypes, funccoltypes); - WRITE_LIST_FIELD(funccoltypmods, funccoltypmods, funccoltypmods); - WRITE_LIST_FIELD(funccolcollations, funccolcollations, funccolcollations); - WRITE_BITMAPSET_FIELD(funcparams, funcparams, funcparams); + WRITE_NODE_PTR_FIELD(RangeTblFunction, funcexpr, funcexpr, funcexpr); + WRITE_INT_FIELD(RangeTblFunction, funccolcount, funccolcount, funccolcount); + WRITE_LIST_FIELD(RangeTblFunction, funccolnames, funccolnames, funccolnames); + WRITE_LIST_FIELD(RangeTblFunction, funccoltypes, funccoltypes, funccoltypes); + WRITE_LIST_FIELD(RangeTblFunction, funccoltypmods, funccoltypmods, funccoltypmods); + WRITE_LIST_FIELD(RangeTblFunction, funccolcollations, funccolcollations, funccolcollations); + WRITE_BITMAPSET_FIELD(RangeTblFunction, funcparams, funcparams, funcparams); } static void _outTableSampleClause(OUT_TYPE(TableSampleClause, TableSampleClause) out, const TableSampleClause *node) { - WRITE_UINT_FIELD(tsmhandler, tsmhandler, tsmhandler); - WRITE_LIST_FIELD(args, args, args); - WRITE_NODE_PTR_FIELD(repeatable, repeatable, repeatable); + WRITE_UINT_FIELD(TableSampleClause, tsmhandler, tsmhandler, tsmhandler); + WRITE_LIST_FIELD(TableSampleClause, args, args, args); + WRITE_NODE_PTR_FIELD(TableSampleClause, repeatable, repeatable, repeatable); } static void _outWithCheckOption(OUT_TYPE(WithCheckOption, WithCheckOption) out, const WithCheckOption *node) { - WRITE_ENUM_FIELD(WCOKind, kind, kind, kind); - WRITE_STRING_FIELD(relname, relname, relname); - WRITE_STRING_FIELD(polname, polname, polname); - WRITE_NODE_PTR_FIELD(qual, qual, qual); - WRITE_BOOL_FIELD(cascaded, cascaded, cascaded); + WRITE_ENUM_FIELD(WithCheckOption, WCOKind, kind, kind, kind); + WRITE_STRING_FIELD(WithCheckOption, relname, relname, relname); + WRITE_STRING_FIELD(WithCheckOption, polname, polname, polname); + WRITE_NODE_PTR_FIELD(WithCheckOption, qual, qual, qual); + WRITE_BOOL_FIELD(WithCheckOption, cascaded, cascaded, cascaded); } static void _outSortGroupClause(OUT_TYPE(SortGroupClause, SortGroupClause) out, const SortGroupClause *node) { - WRITE_UINT_FIELD(tle_sort_group_ref, tleSortGroupRef, tleSortGroupRef); - WRITE_UINT_FIELD(eqop, eqop, eqop); - WRITE_UINT_FIELD(sortop, sortop, sortop); - WRITE_BOOL_FIELD(reverse_sort, reverse_sort, reverse_sort); - WRITE_BOOL_FIELD(nulls_first, nulls_first, nulls_first); - WRITE_BOOL_FIELD(hashable, hashable, hashable); + WRITE_UINT_FIELD(SortGroupClause, tle_sort_group_ref, tleSortGroupRef, tleSortGroupRef); + WRITE_UINT_FIELD(SortGroupClause, eqop, eqop, eqop); + WRITE_UINT_FIELD(SortGroupClause, sortop, sortop, sortop); + WRITE_BOOL_FIELD(SortGroupClause, reverse_sort, reverse_sort, reverse_sort); + WRITE_BOOL_FIELD(SortGroupClause, nulls_first, nulls_first, nulls_first); + WRITE_BOOL_FIELD(SortGroupClause, hashable, hashable, hashable); } static void _outGroupingSet(OUT_TYPE(GroupingSet, GroupingSet) out, const GroupingSet *node) { - WRITE_ENUM_FIELD(GroupingSetKind, kind, kind, kind); - WRITE_LIST_FIELD(content, content, content); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(GroupingSet, GroupingSetKind, kind, kind, kind); + WRITE_LIST_FIELD(GroupingSet, content, content, content); + WRITE_INT_FIELD(GroupingSet, location, location, location); } static void _outWindowClause(OUT_TYPE(WindowClause, WindowClause) out, const WindowClause *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_STRING_FIELD(refname, refname, refname); - WRITE_LIST_FIELD(partition_clause, partitionClause, partitionClause); - WRITE_LIST_FIELD(order_clause, orderClause, orderClause); - WRITE_INT_FIELD(frame_options, frameOptions, frameOptions); - WRITE_NODE_PTR_FIELD(start_offset, startOffset, startOffset); - WRITE_NODE_PTR_FIELD(end_offset, endOffset, endOffset); - WRITE_UINT_FIELD(start_in_range_func, startInRangeFunc, startInRangeFunc); - WRITE_UINT_FIELD(end_in_range_func, endInRangeFunc, endInRangeFunc); - WRITE_UINT_FIELD(in_range_coll, inRangeColl, inRangeColl); - WRITE_BOOL_FIELD(in_range_asc, inRangeAsc, inRangeAsc); - WRITE_BOOL_FIELD(in_range_nulls_first, inRangeNullsFirst, inRangeNullsFirst); - WRITE_UINT_FIELD(winref, winref, winref); - WRITE_BOOL_FIELD(copied_order, copiedOrder, copiedOrder); + WRITE_STRING_FIELD(WindowClause, name, name, name); + WRITE_STRING_FIELD(WindowClause, refname, refname, refname); + WRITE_LIST_FIELD(WindowClause, partition_clause, partitionClause, partitionClause); + WRITE_LIST_FIELD(WindowClause, order_clause, orderClause, orderClause); + WRITE_INT_FIELD(WindowClause, frame_options, frameOptions, frameOptions); + WRITE_NODE_PTR_FIELD(WindowClause, start_offset, startOffset, startOffset); + WRITE_NODE_PTR_FIELD(WindowClause, end_offset, endOffset, endOffset); + WRITE_UINT_FIELD(WindowClause, start_in_range_func, startInRangeFunc, startInRangeFunc); + WRITE_UINT_FIELD(WindowClause, end_in_range_func, endInRangeFunc, endInRangeFunc); + WRITE_UINT_FIELD(WindowClause, in_range_coll, inRangeColl, inRangeColl); + WRITE_BOOL_FIELD(WindowClause, in_range_asc, inRangeAsc, inRangeAsc); + WRITE_BOOL_FIELD(WindowClause, in_range_nulls_first, inRangeNullsFirst, inRangeNullsFirst); + WRITE_UINT_FIELD(WindowClause, winref, winref, winref); + WRITE_BOOL_FIELD(WindowClause, copied_order, copiedOrder, copiedOrder); } static void _outRowMarkClause(OUT_TYPE(RowMarkClause, RowMarkClause) out, const RowMarkClause *node) { - WRITE_UINT_FIELD(rti, rti, rti); - WRITE_ENUM_FIELD(LockClauseStrength, strength, strength, strength); - WRITE_ENUM_FIELD(LockWaitPolicy, wait_policy, waitPolicy, waitPolicy); - WRITE_BOOL_FIELD(pushed_down, pushedDown, pushedDown); + WRITE_UINT_FIELD(RowMarkClause, rti, rti, rti); + WRITE_ENUM_FIELD(RowMarkClause, LockClauseStrength, strength, strength, strength); + WRITE_ENUM_FIELD(RowMarkClause, LockWaitPolicy, wait_policy, waitPolicy, waitPolicy); + WRITE_BOOL_FIELD(RowMarkClause, pushed_down, pushedDown, pushedDown); } static void _outWithClause(OUT_TYPE(WithClause, WithClause) out, const WithClause *node) { - WRITE_LIST_FIELD(ctes, ctes, ctes); - WRITE_BOOL_FIELD(recursive, recursive, recursive); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(WithClause, ctes, ctes, ctes); + WRITE_BOOL_FIELD(WithClause, recursive, recursive, recursive); + WRITE_INT_FIELD(WithClause, location, location, location); } static void _outInferClause(OUT_TYPE(InferClause, InferClause) out, const InferClause *node) { - WRITE_LIST_FIELD(index_elems, indexElems, indexElems); - WRITE_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - WRITE_STRING_FIELD(conname, conname, conname); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(InferClause, index_elems, indexElems, indexElems); + WRITE_NODE_PTR_FIELD(InferClause, where_clause, whereClause, whereClause); + WRITE_STRING_FIELD(InferClause, conname, conname, conname); + WRITE_INT_FIELD(InferClause, location, location, location); } static void _outOnConflictClause(OUT_TYPE(OnConflictClause, OnConflictClause) out, const OnConflictClause *node) { - WRITE_ENUM_FIELD(OnConflictAction, action, action, action); - WRITE_SPECIFIC_NODE_PTR_FIELD(InferClause, infer_clause, infer, infer, infer); - WRITE_LIST_FIELD(target_list, targetList, targetList); - WRITE_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(OnConflictClause, OnConflictAction, action, action, action); + WRITE_SPECIFIC_NODE_PTR_FIELD(OnConflictClause, InferClause, infer_clause, infer, infer, infer); + WRITE_LIST_FIELD(OnConflictClause, target_list, targetList, targetList); + WRITE_NODE_PTR_FIELD(OnConflictClause, where_clause, whereClause, whereClause); + WRITE_INT_FIELD(OnConflictClause, location, location, location); } static void _outCTESearchClause(OUT_TYPE(CTESearchClause, CTESearchClause) out, const CTESearchClause *node) { - WRITE_LIST_FIELD(search_col_list, search_col_list, search_col_list); - WRITE_BOOL_FIELD(search_breadth_first, search_breadth_first, search_breadth_first); - WRITE_STRING_FIELD(search_seq_column, search_seq_column, search_seq_column); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(CTESearchClause, search_col_list, search_col_list, search_col_list); + WRITE_BOOL_FIELD(CTESearchClause, search_breadth_first, search_breadth_first, search_breadth_first); + WRITE_STRING_FIELD(CTESearchClause, search_seq_column, search_seq_column, search_seq_column); + WRITE_INT_FIELD(CTESearchClause, location, location, location); } static void _outCTECycleClause(OUT_TYPE(CTECycleClause, CTECycleClause) out, const CTECycleClause *node) { - WRITE_LIST_FIELD(cycle_col_list, cycle_col_list, cycle_col_list); - WRITE_STRING_FIELD(cycle_mark_column, cycle_mark_column, cycle_mark_column); - WRITE_NODE_PTR_FIELD(cycle_mark_value, cycle_mark_value, cycle_mark_value); - WRITE_NODE_PTR_FIELD(cycle_mark_default, cycle_mark_default, cycle_mark_default); - WRITE_STRING_FIELD(cycle_path_column, cycle_path_column, cycle_path_column); - WRITE_INT_FIELD(location, location, location); - WRITE_UINT_FIELD(cycle_mark_type, cycle_mark_type, cycle_mark_type); - WRITE_INT_FIELD(cycle_mark_typmod, cycle_mark_typmod, cycle_mark_typmod); - WRITE_UINT_FIELD(cycle_mark_collation, cycle_mark_collation, cycle_mark_collation); - WRITE_UINT_FIELD(cycle_mark_neop, cycle_mark_neop, cycle_mark_neop); + WRITE_LIST_FIELD(CTECycleClause, cycle_col_list, cycle_col_list, cycle_col_list); + WRITE_STRING_FIELD(CTECycleClause, cycle_mark_column, cycle_mark_column, cycle_mark_column); + WRITE_NODE_PTR_FIELD(CTECycleClause, cycle_mark_value, cycle_mark_value, cycle_mark_value); + WRITE_NODE_PTR_FIELD(CTECycleClause, cycle_mark_default, cycle_mark_default, cycle_mark_default); + WRITE_STRING_FIELD(CTECycleClause, cycle_path_column, cycle_path_column, cycle_path_column); + WRITE_INT_FIELD(CTECycleClause, location, location, location); + WRITE_UINT_FIELD(CTECycleClause, cycle_mark_type, cycle_mark_type, cycle_mark_type); + WRITE_INT_FIELD(CTECycleClause, cycle_mark_typmod, cycle_mark_typmod, cycle_mark_typmod); + WRITE_UINT_FIELD(CTECycleClause, cycle_mark_collation, cycle_mark_collation, cycle_mark_collation); + WRITE_UINT_FIELD(CTECycleClause, cycle_mark_neop, cycle_mark_neop, cycle_mark_neop); } static void _outCommonTableExpr(OUT_TYPE(CommonTableExpr, CommonTableExpr) out, const CommonTableExpr *node) { - WRITE_STRING_FIELD(ctename, ctename, ctename); - WRITE_LIST_FIELD(aliascolnames, aliascolnames, aliascolnames); - WRITE_ENUM_FIELD(CTEMaterialize, ctematerialized, ctematerialized, ctematerialized); - WRITE_NODE_PTR_FIELD(ctequery, ctequery, ctequery); - WRITE_SPECIFIC_NODE_PTR_FIELD(CTESearchClause, ctesearch_clause, search_clause, search_clause, search_clause); - WRITE_SPECIFIC_NODE_PTR_FIELD(CTECycleClause, ctecycle_clause, cycle_clause, cycle_clause, cycle_clause); - WRITE_INT_FIELD(location, location, location); - WRITE_BOOL_FIELD(cterecursive, cterecursive, cterecursive); - WRITE_INT_FIELD(cterefcount, cterefcount, cterefcount); - WRITE_LIST_FIELD(ctecolnames, ctecolnames, ctecolnames); - WRITE_LIST_FIELD(ctecoltypes, ctecoltypes, ctecoltypes); - WRITE_LIST_FIELD(ctecoltypmods, ctecoltypmods, ctecoltypmods); - WRITE_LIST_FIELD(ctecolcollations, ctecolcollations, ctecolcollations); + WRITE_STRING_FIELD(CommonTableExpr, ctename, ctename, ctename); + WRITE_LIST_FIELD(CommonTableExpr, aliascolnames, aliascolnames, aliascolnames); + WRITE_ENUM_FIELD(CommonTableExpr, CTEMaterialize, ctematerialized, ctematerialized, ctematerialized); + WRITE_NODE_PTR_FIELD(CommonTableExpr, ctequery, ctequery, ctequery); + WRITE_SPECIFIC_NODE_PTR_FIELD(CommonTableExpr, CTESearchClause, ctesearch_clause, search_clause, search_clause, search_clause); + WRITE_SPECIFIC_NODE_PTR_FIELD(CommonTableExpr, CTECycleClause, ctecycle_clause, cycle_clause, cycle_clause, cycle_clause); + WRITE_INT_FIELD(CommonTableExpr, location, location, location); + WRITE_BOOL_FIELD(CommonTableExpr, cterecursive, cterecursive, cterecursive); + WRITE_INT_FIELD(CommonTableExpr, cterefcount, cterefcount, cterefcount); + WRITE_LIST_FIELD(CommonTableExpr, ctecolnames, ctecolnames, ctecolnames); + WRITE_LIST_FIELD(CommonTableExpr, ctecoltypes, ctecoltypes, ctecoltypes); + WRITE_LIST_FIELD(CommonTableExpr, ctecoltypmods, ctecoltypmods, ctecoltypmods); + WRITE_LIST_FIELD(CommonTableExpr, ctecolcollations, ctecolcollations, ctecolcollations); } static void _outMergeWhenClause(OUT_TYPE(MergeWhenClause, MergeWhenClause) out, const MergeWhenClause *node) { - WRITE_ENUM_FIELD(MergeMatchKind, match_kind, matchKind, matchKind); - WRITE_ENUM_FIELD(CmdType, command_type, commandType, commandType); - WRITE_ENUM_FIELD(OverridingKind, override, override, override); - WRITE_NODE_PTR_FIELD(condition, condition, condition); - WRITE_LIST_FIELD(target_list, targetList, targetList); - WRITE_LIST_FIELD(values, values, values); + WRITE_ENUM_FIELD(MergeWhenClause, MergeMatchKind, match_kind, matchKind, matchKind); + WRITE_ENUM_FIELD(MergeWhenClause, CmdType, command_type, commandType, commandType); + WRITE_ENUM_FIELD(MergeWhenClause, OverridingKind, override, override, override); + WRITE_NODE_PTR_FIELD(MergeWhenClause, condition, condition, condition); + WRITE_LIST_FIELD(MergeWhenClause, target_list, targetList, targetList); + WRITE_LIST_FIELD(MergeWhenClause, values, values, values); } static void _outReturningOption(OUT_TYPE(ReturningOption, ReturningOption) out, const ReturningOption *node) { - WRITE_ENUM_FIELD(ReturningOptionKind, option, option, option); - WRITE_STRING_FIELD(value, value, value); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(ReturningOption, ReturningOptionKind, option, option, option); + WRITE_STRING_FIELD(ReturningOption, value, value, value); + WRITE_INT_FIELD(ReturningOption, location, location, location); } static void _outReturningClause(OUT_TYPE(ReturningClause, ReturningClause) out, const ReturningClause *node) { - WRITE_LIST_FIELD(options, options, options); - WRITE_LIST_FIELD(exprs, exprs, exprs); + WRITE_LIST_FIELD(ReturningClause, options, options, options); + WRITE_LIST_FIELD(ReturningClause, exprs, exprs, exprs); } static void _outTriggerTransition(OUT_TYPE(TriggerTransition, TriggerTransition) out, const TriggerTransition *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_BOOL_FIELD(is_new, isNew, isNew); - WRITE_BOOL_FIELD(is_table, isTable, isTable); + WRITE_STRING_FIELD(TriggerTransition, name, name, name); + WRITE_BOOL_FIELD(TriggerTransition, is_new, isNew, isNew); + WRITE_BOOL_FIELD(TriggerTransition, is_table, isTable, isTable); } static void _outJsonOutput(OUT_TYPE(JsonOutput, JsonOutput) out, const JsonOutput *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonReturning, json_returning, returning, returning, returning); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonOutput, TypeName, type_name, type_name, typeName, typeName); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonOutput, JsonReturning, json_returning, returning, returning, returning); } static void _outJsonArgument(OUT_TYPE(JsonArgument, JsonArgument) out, const JsonArgument *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, val, val, val); - WRITE_STRING_FIELD(name, name, name); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonArgument, JsonValueExpr, json_value_expr, val, val, val); + WRITE_STRING_FIELD(JsonArgument, name, name, name); } static void _outJsonFuncExpr(OUT_TYPE(JsonFuncExpr, JsonFuncExpr) out, const JsonFuncExpr *node) { - WRITE_ENUM_FIELD(JsonExprOp, op, op, op); - WRITE_STRING_FIELD(column_name, column_name, column_name); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, context_item, context_item, context_item); - WRITE_NODE_PTR_FIELD(pathspec, pathspec, pathspec); - WRITE_LIST_FIELD(passing, passing, passing); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_empty, on_empty, on_empty); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_error, on_error, on_error); - WRITE_ENUM_FIELD(JsonWrapper, wrapper, wrapper, wrapper); - WRITE_ENUM_FIELD(JsonQuotes, quotes, quotes, quotes); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(JsonFuncExpr, JsonExprOp, op, op, op); + WRITE_STRING_FIELD(JsonFuncExpr, column_name, column_name, column_name); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonFuncExpr, JsonValueExpr, json_value_expr, context_item, context_item, context_item); + WRITE_NODE_PTR_FIELD(JsonFuncExpr, pathspec, pathspec, pathspec); + WRITE_LIST_FIELD(JsonFuncExpr, passing, passing, passing); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonFuncExpr, JsonOutput, json_output, output, output, output); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonFuncExpr, JsonBehavior, json_behavior, on_empty, on_empty, on_empty); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonFuncExpr, JsonBehavior, json_behavior, on_error, on_error, on_error); + WRITE_ENUM_FIELD(JsonFuncExpr, JsonWrapper, wrapper, wrapper, wrapper); + WRITE_ENUM_FIELD(JsonFuncExpr, JsonQuotes, quotes, quotes, quotes); + WRITE_INT_FIELD(JsonFuncExpr, location, location, location); } static void _outJsonTablePathSpec(OUT_TYPE(JsonTablePathSpec, JsonTablePathSpec) out, const JsonTablePathSpec *node) { - WRITE_NODE_PTR_FIELD(string, string, string); - WRITE_STRING_FIELD(name, name, name); - WRITE_INT_FIELD(name_location, name_location, name_location); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(JsonTablePathSpec, string, string, string); + WRITE_STRING_FIELD(JsonTablePathSpec, name, name, name); + WRITE_INT_FIELD(JsonTablePathSpec, name_location, name_location, name_location); + WRITE_INT_FIELD(JsonTablePathSpec, location, location, location); } static void _outJsonTable(OUT_TYPE(JsonTable, JsonTable) out, const JsonTable *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, context_item, context_item, context_item); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTablePathSpec, json_table_path_spec, pathspec, pathspec, pathspec); - WRITE_LIST_FIELD(passing, passing, passing); - WRITE_LIST_FIELD(columns, columns, columns); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_error, on_error, on_error); - WRITE_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - WRITE_BOOL_FIELD(lateral, lateral, lateral); - WRITE_INT_FIELD(location, location, location); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTable, JsonValueExpr, json_value_expr, context_item, context_item, context_item); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTable, JsonTablePathSpec, json_table_path_spec, pathspec, pathspec, pathspec); + WRITE_LIST_FIELD(JsonTable, passing, passing, passing); + WRITE_LIST_FIELD(JsonTable, columns, columns, columns); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTable, JsonBehavior, json_behavior, on_error, on_error, on_error); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTable, Alias, alias, alias, alias, alias); + WRITE_BOOL_FIELD(JsonTable, lateral, lateral, lateral); + WRITE_INT_FIELD(JsonTable, location, location, location); } static void _outJsonTableColumn(OUT_TYPE(JsonTableColumn, JsonTableColumn) out, const JsonTableColumn *node) { - WRITE_ENUM_FIELD(JsonTableColumnType, coltype, coltype, coltype); - WRITE_STRING_FIELD(name, name, name); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTablePathSpec, json_table_path_spec, pathspec, pathspec, pathspec); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); - WRITE_ENUM_FIELD(JsonWrapper, wrapper, wrapper, wrapper); - WRITE_ENUM_FIELD(JsonQuotes, quotes, quotes, quotes); - WRITE_LIST_FIELD(columns, columns, columns); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_empty, on_empty, on_empty); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_error, on_error, on_error); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(JsonTableColumn, JsonTableColumnType, coltype, coltype, coltype); + WRITE_STRING_FIELD(JsonTableColumn, name, name, name); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTableColumn, TypeName, type_name, type_name, typeName, typeName); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTableColumn, JsonTablePathSpec, json_table_path_spec, pathspec, pathspec, pathspec); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTableColumn, JsonFormat, json_format, format, format, format); + WRITE_ENUM_FIELD(JsonTableColumn, JsonWrapper, wrapper, wrapper, wrapper); + WRITE_ENUM_FIELD(JsonTableColumn, JsonQuotes, quotes, quotes, quotes); + WRITE_LIST_FIELD(JsonTableColumn, columns, columns, columns); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTableColumn, JsonBehavior, json_behavior, on_empty, on_empty, on_empty); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonTableColumn, JsonBehavior, json_behavior, on_error, on_error, on_error); + WRITE_INT_FIELD(JsonTableColumn, location, location, location); } static void _outJsonKeyValue(OUT_TYPE(JsonKeyValue, JsonKeyValue) out, const JsonKeyValue *node) { - WRITE_NODE_PTR_FIELD(key, key, key); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, value, value, value); + WRITE_NODE_PTR_FIELD(JsonKeyValue, key, key, key); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonKeyValue, JsonValueExpr, json_value_expr, value, value, value); } static void _outJsonParseExpr(OUT_TYPE(JsonParseExpr, JsonParseExpr) out, const JsonParseExpr *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, expr, expr, expr); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - WRITE_BOOL_FIELD(unique_keys, unique_keys, unique_keys); - WRITE_INT_FIELD(location, location, location); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonParseExpr, JsonValueExpr, json_value_expr, expr, expr, expr); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonParseExpr, JsonOutput, json_output, output, output, output); + WRITE_BOOL_FIELD(JsonParseExpr, unique_keys, unique_keys, unique_keys); + WRITE_INT_FIELD(JsonParseExpr, location, location, location); } static void _outJsonScalarExpr(OUT_TYPE(JsonScalarExpr, JsonScalarExpr) out, const JsonScalarExpr *node) { - WRITE_NODE_PTR_FIELD(expr, expr, expr); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(JsonScalarExpr, expr, expr, expr); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonScalarExpr, JsonOutput, json_output, output, output, output); + WRITE_INT_FIELD(JsonScalarExpr, location, location, location); } static void _outJsonSerializeExpr(OUT_TYPE(JsonSerializeExpr, JsonSerializeExpr) out, const JsonSerializeExpr *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, expr, expr, expr); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - WRITE_INT_FIELD(location, location, location); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonSerializeExpr, JsonValueExpr, json_value_expr, expr, expr, expr); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonSerializeExpr, JsonOutput, json_output, output, output, output); + WRITE_INT_FIELD(JsonSerializeExpr, location, location, location); } static void _outJsonObjectConstructor(OUT_TYPE(JsonObjectConstructor, JsonObjectConstructor) out, const JsonObjectConstructor *node) { - WRITE_LIST_FIELD(exprs, exprs, exprs); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - WRITE_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); - WRITE_BOOL_FIELD(unique, unique, unique); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(JsonObjectConstructor, exprs, exprs, exprs); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonObjectConstructor, JsonOutput, json_output, output, output, output); + WRITE_BOOL_FIELD(JsonObjectConstructor, absent_on_null, absent_on_null, absent_on_null); + WRITE_BOOL_FIELD(JsonObjectConstructor, unique, unique, unique); + WRITE_INT_FIELD(JsonObjectConstructor, location, location, location); } static void _outJsonArrayConstructor(OUT_TYPE(JsonArrayConstructor, JsonArrayConstructor) out, const JsonArrayConstructor *node) { - WRITE_LIST_FIELD(exprs, exprs, exprs); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - WRITE_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); - WRITE_INT_FIELD(location, location, location); + WRITE_LIST_FIELD(JsonArrayConstructor, exprs, exprs, exprs); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonArrayConstructor, JsonOutput, json_output, output, output, output); + WRITE_BOOL_FIELD(JsonArrayConstructor, absent_on_null, absent_on_null, absent_on_null); + WRITE_INT_FIELD(JsonArrayConstructor, location, location, location); } static void _outJsonArrayQueryConstructor(OUT_TYPE(JsonArrayQueryConstructor, JsonArrayQueryConstructor) out, const JsonArrayQueryConstructor *node) { - WRITE_NODE_PTR_FIELD(query, query, query); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); - WRITE_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); - WRITE_INT_FIELD(location, location, location); + WRITE_NODE_PTR_FIELD(JsonArrayQueryConstructor, query, query, query); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonArrayQueryConstructor, JsonOutput, json_output, output, output, output); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonArrayQueryConstructor, JsonFormat, json_format, format, format, format); + WRITE_BOOL_FIELD(JsonArrayQueryConstructor, absent_on_null, absent_on_null, absent_on_null); + WRITE_INT_FIELD(JsonArrayQueryConstructor, location, location, location); } static void _outJsonAggConstructor(OUT_TYPE(JsonAggConstructor, JsonAggConstructor) out, const JsonAggConstructor *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - WRITE_NODE_PTR_FIELD(agg_filter, agg_filter, agg_filter); - WRITE_LIST_FIELD(agg_order, agg_order, agg_order); - WRITE_SPECIFIC_NODE_PTR_FIELD(WindowDef, window_def, over, over, over); - WRITE_INT_FIELD(location, location, location); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonAggConstructor, JsonOutput, json_output, output, output, output); + WRITE_NODE_PTR_FIELD(JsonAggConstructor, agg_filter, agg_filter, agg_filter); + WRITE_LIST_FIELD(JsonAggConstructor, agg_order, agg_order, agg_order); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonAggConstructor, WindowDef, window_def, over, over, over); + WRITE_INT_FIELD(JsonAggConstructor, location, location, location); } static void _outJsonObjectAgg(OUT_TYPE(JsonObjectAgg, JsonObjectAgg) out, const JsonObjectAgg *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonAggConstructor, json_agg_constructor, constructor, constructor, constructor); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonKeyValue, json_key_value, arg, arg, arg); - WRITE_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); - WRITE_BOOL_FIELD(unique, unique, unique); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonObjectAgg, JsonAggConstructor, json_agg_constructor, constructor, constructor, constructor); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonObjectAgg, JsonKeyValue, json_key_value, arg, arg, arg); + WRITE_BOOL_FIELD(JsonObjectAgg, absent_on_null, absent_on_null, absent_on_null); + WRITE_BOOL_FIELD(JsonObjectAgg, unique, unique, unique); } static void _outJsonArrayAgg(OUT_TYPE(JsonArrayAgg, JsonArrayAgg) out, const JsonArrayAgg *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonAggConstructor, json_agg_constructor, constructor, constructor, constructor); - WRITE_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, arg, arg, arg); - WRITE_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonArrayAgg, JsonAggConstructor, json_agg_constructor, constructor, constructor, constructor); + WRITE_SPECIFIC_NODE_PTR_FIELD(JsonArrayAgg, JsonValueExpr, json_value_expr, arg, arg, arg); + WRITE_BOOL_FIELD(JsonArrayAgg, absent_on_null, absent_on_null, absent_on_null); } static void _outRawStmt(OUT_TYPE(RawStmt, RawStmt) out, const RawStmt *node) { - WRITE_NODE_PTR_FIELD(stmt, stmt, stmt); - WRITE_INT_FIELD(stmt_location, stmt_location, stmt_location); - WRITE_INT_FIELD(stmt_len, stmt_len, stmt_len); + WRITE_NODE_PTR_FIELD(RawStmt, stmt, stmt, stmt); + WRITE_INT_FIELD(RawStmt, stmt_location, stmt_location, stmt_location); + WRITE_INT_FIELD(RawStmt, stmt_len, stmt_len, stmt_len); } static void _outInsertStmt(OUT_TYPE(InsertStmt, InsertStmt) out, const InsertStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_LIST_FIELD(cols, cols, cols); - WRITE_NODE_PTR_FIELD(select_stmt, selectStmt, selectStmt); - WRITE_SPECIFIC_NODE_PTR_FIELD(OnConflictClause, on_conflict_clause, on_conflict_clause, onConflictClause, onConflictClause); - WRITE_SPECIFIC_NODE_PTR_FIELD(ReturningClause, returning_clause, returning_clause, returningClause, returningClause); - WRITE_SPECIFIC_NODE_PTR_FIELD(WithClause, with_clause, with_clause, withClause, withClause); - WRITE_ENUM_FIELD(OverridingKind, override, override, override); + WRITE_SPECIFIC_NODE_PTR_FIELD(InsertStmt, RangeVar, range_var, relation, relation, relation); + WRITE_LIST_FIELD(InsertStmt, cols, cols, cols); + WRITE_NODE_PTR_FIELD(InsertStmt, select_stmt, selectStmt, selectStmt); + WRITE_SPECIFIC_NODE_PTR_FIELD(InsertStmt, OnConflictClause, on_conflict_clause, on_conflict_clause, onConflictClause, onConflictClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(InsertStmt, ReturningClause, returning_clause, returning_clause, returningClause, returningClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(InsertStmt, WithClause, with_clause, with_clause, withClause, withClause); + WRITE_ENUM_FIELD(InsertStmt, OverridingKind, override, override, override); } static void _outDeleteStmt(OUT_TYPE(DeleteStmt, DeleteStmt) out, const DeleteStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_LIST_FIELD(using_clause, usingClause, usingClause); - WRITE_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - WRITE_SPECIFIC_NODE_PTR_FIELD(ReturningClause, returning_clause, returning_clause, returningClause, returningClause); - WRITE_SPECIFIC_NODE_PTR_FIELD(WithClause, with_clause, with_clause, withClause, withClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(DeleteStmt, RangeVar, range_var, relation, relation, relation); + WRITE_LIST_FIELD(DeleteStmt, using_clause, usingClause, usingClause); + WRITE_NODE_PTR_FIELD(DeleteStmt, where_clause, whereClause, whereClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(DeleteStmt, ReturningClause, returning_clause, returning_clause, returningClause, returningClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(DeleteStmt, WithClause, with_clause, with_clause, withClause, withClause); } static void _outUpdateStmt(OUT_TYPE(UpdateStmt, UpdateStmt) out, const UpdateStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_LIST_FIELD(target_list, targetList, targetList); - WRITE_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - WRITE_LIST_FIELD(from_clause, fromClause, fromClause); - WRITE_SPECIFIC_NODE_PTR_FIELD(ReturningClause, returning_clause, returning_clause, returningClause, returningClause); - WRITE_SPECIFIC_NODE_PTR_FIELD(WithClause, with_clause, with_clause, withClause, withClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(UpdateStmt, RangeVar, range_var, relation, relation, relation); + WRITE_LIST_FIELD(UpdateStmt, target_list, targetList, targetList); + WRITE_NODE_PTR_FIELD(UpdateStmt, where_clause, whereClause, whereClause); + WRITE_LIST_FIELD(UpdateStmt, from_clause, fromClause, fromClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(UpdateStmt, ReturningClause, returning_clause, returning_clause, returningClause, returningClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(UpdateStmt, WithClause, with_clause, with_clause, withClause, withClause); } static void _outMergeStmt(OUT_TYPE(MergeStmt, MergeStmt) out, const MergeStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_NODE_PTR_FIELD(source_relation, sourceRelation, sourceRelation); - WRITE_NODE_PTR_FIELD(join_condition, joinCondition, joinCondition); - WRITE_LIST_FIELD(merge_when_clauses, mergeWhenClauses, mergeWhenClauses); - WRITE_SPECIFIC_NODE_PTR_FIELD(ReturningClause, returning_clause, returning_clause, returningClause, returningClause); - WRITE_SPECIFIC_NODE_PTR_FIELD(WithClause, with_clause, with_clause, withClause, withClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(MergeStmt, RangeVar, range_var, relation, relation, relation); + WRITE_NODE_PTR_FIELD(MergeStmt, source_relation, sourceRelation, sourceRelation); + WRITE_NODE_PTR_FIELD(MergeStmt, join_condition, joinCondition, joinCondition); + WRITE_LIST_FIELD(MergeStmt, merge_when_clauses, mergeWhenClauses, mergeWhenClauses); + WRITE_SPECIFIC_NODE_PTR_FIELD(MergeStmt, ReturningClause, returning_clause, returning_clause, returningClause, returningClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(MergeStmt, WithClause, with_clause, with_clause, withClause, withClause); } static void _outSelectStmt(OUT_TYPE(SelectStmt, SelectStmt) out, const SelectStmt *node) { - WRITE_LIST_FIELD(distinct_clause, distinctClause, distinctClause); - WRITE_SPECIFIC_NODE_PTR_FIELD(IntoClause, into_clause, into_clause, intoClause, intoClause); - WRITE_LIST_FIELD(target_list, targetList, targetList); - WRITE_LIST_FIELD(from_clause, fromClause, fromClause); - WRITE_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - WRITE_LIST_FIELD(group_clause, groupClause, groupClause); - WRITE_BOOL_FIELD(group_distinct, groupDistinct, groupDistinct); - WRITE_NODE_PTR_FIELD(having_clause, havingClause, havingClause); - WRITE_LIST_FIELD(window_clause, windowClause, windowClause); - WRITE_LIST_FIELD(values_lists, valuesLists, valuesLists); - WRITE_LIST_FIELD(sort_clause, sortClause, sortClause); - WRITE_NODE_PTR_FIELD(limit_offset, limitOffset, limitOffset); - WRITE_NODE_PTR_FIELD(limit_count, limitCount, limitCount); - WRITE_ENUM_FIELD(LimitOption, limit_option, limitOption, limitOption); - WRITE_LIST_FIELD(locking_clause, lockingClause, lockingClause); - WRITE_SPECIFIC_NODE_PTR_FIELD(WithClause, with_clause, with_clause, withClause, withClause); - WRITE_ENUM_FIELD(SetOperation, op, op, op); - WRITE_BOOL_FIELD(all, all, all); - WRITE_SPECIFIC_NODE_PTR_FIELD(SelectStmt, select_stmt, larg, larg, larg); - WRITE_SPECIFIC_NODE_PTR_FIELD(SelectStmt, select_stmt, rarg, rarg, rarg); + WRITE_LIST_FIELD(SelectStmt, distinct_clause, distinctClause, distinctClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(SelectStmt, IntoClause, into_clause, into_clause, intoClause, intoClause); + WRITE_LIST_FIELD(SelectStmt, target_list, targetList, targetList); + WRITE_LIST_FIELD(SelectStmt, from_clause, fromClause, fromClause); + WRITE_NODE_PTR_FIELD(SelectStmt, where_clause, whereClause, whereClause); + WRITE_LIST_FIELD(SelectStmt, group_clause, groupClause, groupClause); + WRITE_BOOL_FIELD(SelectStmt, group_distinct, groupDistinct, groupDistinct); + WRITE_NODE_PTR_FIELD(SelectStmt, having_clause, havingClause, havingClause); + WRITE_LIST_FIELD(SelectStmt, window_clause, windowClause, windowClause); + WRITE_LIST_FIELD(SelectStmt, values_lists, valuesLists, valuesLists); + WRITE_LIST_FIELD(SelectStmt, sort_clause, sortClause, sortClause); + WRITE_NODE_PTR_FIELD(SelectStmt, limit_offset, limitOffset, limitOffset); + WRITE_NODE_PTR_FIELD(SelectStmt, limit_count, limitCount, limitCount); + WRITE_ENUM_FIELD(SelectStmt, LimitOption, limit_option, limitOption, limitOption); + WRITE_LIST_FIELD(SelectStmt, locking_clause, lockingClause, lockingClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(SelectStmt, WithClause, with_clause, with_clause, withClause, withClause); + WRITE_ENUM_FIELD(SelectStmt, SetOperation, op, op, op); + WRITE_BOOL_FIELD(SelectStmt, all, all, all); + WRITE_SPECIFIC_NODE_PTR_FIELD(SelectStmt, SelectStmt, select_stmt, larg, larg, larg); + WRITE_SPECIFIC_NODE_PTR_FIELD(SelectStmt, SelectStmt, select_stmt, rarg, rarg, rarg); } static void _outSetOperationStmt(OUT_TYPE(SetOperationStmt, SetOperationStmt) out, const SetOperationStmt *node) { - WRITE_ENUM_FIELD(SetOperation, op, op, op); - WRITE_BOOL_FIELD(all, all, all); - WRITE_NODE_PTR_FIELD(larg, larg, larg); - WRITE_NODE_PTR_FIELD(rarg, rarg, rarg); - WRITE_LIST_FIELD(col_types, colTypes, colTypes); - WRITE_LIST_FIELD(col_typmods, colTypmods, colTypmods); - WRITE_LIST_FIELD(col_collations, colCollations, colCollations); - WRITE_LIST_FIELD(group_clauses, groupClauses, groupClauses); + WRITE_ENUM_FIELD(SetOperationStmt, SetOperation, op, op, op); + WRITE_BOOL_FIELD(SetOperationStmt, all, all, all); + WRITE_NODE_PTR_FIELD(SetOperationStmt, larg, larg, larg); + WRITE_NODE_PTR_FIELD(SetOperationStmt, rarg, rarg, rarg); + WRITE_LIST_FIELD(SetOperationStmt, col_types, colTypes, colTypes); + WRITE_LIST_FIELD(SetOperationStmt, col_typmods, colTypmods, colTypmods); + WRITE_LIST_FIELD(SetOperationStmt, col_collations, colCollations, colCollations); + WRITE_LIST_FIELD(SetOperationStmt, group_clauses, groupClauses, groupClauses); } static void _outReturnStmt(OUT_TYPE(ReturnStmt, ReturnStmt) out, const ReturnStmt *node) { - WRITE_NODE_PTR_FIELD(returnval, returnval, returnval); + WRITE_NODE_PTR_FIELD(ReturnStmt, returnval, returnval, returnval); } static void _outPLAssignStmt(OUT_TYPE(PLAssignStmt, PLAssignStmt) out, const PLAssignStmt *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_LIST_FIELD(indirection, indirection, indirection); - WRITE_INT_FIELD(nnames, nnames, nnames); - WRITE_SPECIFIC_NODE_PTR_FIELD(SelectStmt, select_stmt, val, val, val); - WRITE_INT_FIELD(location, location, location); + WRITE_STRING_FIELD(PLAssignStmt, name, name, name); + WRITE_LIST_FIELD(PLAssignStmt, indirection, indirection, indirection); + WRITE_INT_FIELD(PLAssignStmt, nnames, nnames, nnames); + WRITE_SPECIFIC_NODE_PTR_FIELD(PLAssignStmt, SelectStmt, select_stmt, val, val, val); + WRITE_INT_FIELD(PLAssignStmt, location, location, location); } static void _outCreateSchemaStmt(OUT_TYPE(CreateSchemaStmt, CreateSchemaStmt) out, const CreateSchemaStmt *node) { - WRITE_STRING_FIELD(schemaname, schemaname, schemaname); - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, authrole, authrole, authrole); - WRITE_LIST_FIELD(schema_elts, schemaElts, schemaElts); - WRITE_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); + WRITE_STRING_FIELD(CreateSchemaStmt, schemaname, schemaname, schemaname); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateSchemaStmt, RoleSpec, role_spec, authrole, authrole, authrole); + WRITE_LIST_FIELD(CreateSchemaStmt, schema_elts, schemaElts, schemaElts); + WRITE_BOOL_FIELD(CreateSchemaStmt, if_not_exists, if_not_exists, if_not_exists); } static void _outAlterTableStmt(OUT_TYPE(AlterTableStmt, AlterTableStmt) out, const AlterTableStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_LIST_FIELD(cmds, cmds, cmds); - WRITE_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterTableStmt, RangeVar, range_var, relation, relation, relation); + WRITE_LIST_FIELD(AlterTableStmt, cmds, cmds, cmds); + WRITE_ENUM_FIELD(AlterTableStmt, ObjectType, objtype, objtype, objtype); + WRITE_BOOL_FIELD(AlterTableStmt, missing_ok, missing_ok, missing_ok); } static void _outAlterTableCmd(OUT_TYPE(AlterTableCmd, AlterTableCmd) out, const AlterTableCmd *node) { - WRITE_ENUM_FIELD(AlterTableType, subtype, subtype, subtype); - WRITE_STRING_FIELD(name, name, name); - WRITE_INT_FIELD(num, num, num); - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, newowner, newowner, newowner); - WRITE_NODE_PTR_FIELD(def, def, def); - WRITE_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); - WRITE_BOOL_FIELD(recurse, recurse, recurse); + WRITE_ENUM_FIELD(AlterTableCmd, AlterTableType, subtype, subtype, subtype); + WRITE_STRING_FIELD(AlterTableCmd, name, name, name); + WRITE_INT_FIELD(AlterTableCmd, num, num, num); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterTableCmd, RoleSpec, role_spec, newowner, newowner, newowner); + WRITE_NODE_PTR_FIELD(AlterTableCmd, def, def, def); + WRITE_ENUM_FIELD(AlterTableCmd, DropBehavior, behavior, behavior, behavior); + WRITE_BOOL_FIELD(AlterTableCmd, missing_ok, missing_ok, missing_ok); + WRITE_BOOL_FIELD(AlterTableCmd, recurse, recurse, recurse); } static void _outATAlterConstraint(OUT_TYPE(ATAlterConstraint, ATAlterConstraint) out, const ATAlterConstraint *node) { - WRITE_STRING_FIELD(conname, conname, conname); - WRITE_BOOL_FIELD(alter_enforceability, alterEnforceability, alterEnforceability); - WRITE_BOOL_FIELD(is_enforced, is_enforced, is_enforced); - WRITE_BOOL_FIELD(alter_deferrability, alterDeferrability, alterDeferrability); - WRITE_BOOL_FIELD(deferrable, deferrable, deferrable); - WRITE_BOOL_FIELD(initdeferred, initdeferred, initdeferred); - WRITE_BOOL_FIELD(alter_inheritability, alterInheritability, alterInheritability); - WRITE_BOOL_FIELD(noinherit, noinherit, noinherit); + WRITE_STRING_FIELD(ATAlterConstraint, conname, conname, conname); + WRITE_BOOL_FIELD(ATAlterConstraint, alter_enforceability, alterEnforceability, alterEnforceability); + WRITE_BOOL_FIELD(ATAlterConstraint, is_enforced, is_enforced, is_enforced); + WRITE_BOOL_FIELD(ATAlterConstraint, alter_deferrability, alterDeferrability, alterDeferrability); + WRITE_BOOL_FIELD(ATAlterConstraint, deferrable, deferrable, deferrable); + WRITE_BOOL_FIELD(ATAlterConstraint, initdeferred, initdeferred, initdeferred); + WRITE_BOOL_FIELD(ATAlterConstraint, alter_inheritability, alterInheritability, alterInheritability); + WRITE_BOOL_FIELD(ATAlterConstraint, noinherit, noinherit, noinherit); } static void _outReplicaIdentityStmt(OUT_TYPE(ReplicaIdentityStmt, ReplicaIdentityStmt) out, const ReplicaIdentityStmt *node) { - WRITE_CHAR_FIELD(identity_type, identity_type, identity_type); - WRITE_STRING_FIELD(name, name, name); + WRITE_CHAR_FIELD(ReplicaIdentityStmt, identity_type, identity_type, identity_type); + WRITE_STRING_FIELD(ReplicaIdentityStmt, name, name, name); } static void _outAlterCollationStmt(OUT_TYPE(AlterCollationStmt, AlterCollationStmt) out, const AlterCollationStmt *node) { - WRITE_LIST_FIELD(collname, collname, collname); + WRITE_LIST_FIELD(AlterCollationStmt, collname, collname, collname); } static void _outAlterDomainStmt(OUT_TYPE(AlterDomainStmt, AlterDomainStmt) out, const AlterDomainStmt *node) { - WRITE_CHAR_FIELD(subtype, subtype, subtype); - WRITE_LIST_FIELD(type_name, typeName, typeName); - WRITE_STRING_FIELD(name, name, name); - WRITE_NODE_PTR_FIELD(def, def, def); - WRITE_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + WRITE_CHAR_FIELD(AlterDomainStmt, subtype, subtype, subtype); + WRITE_LIST_FIELD(AlterDomainStmt, type_name, typeName, typeName); + WRITE_STRING_FIELD(AlterDomainStmt, name, name, name); + WRITE_NODE_PTR_FIELD(AlterDomainStmt, def, def, def); + WRITE_ENUM_FIELD(AlterDomainStmt, DropBehavior, behavior, behavior, behavior); + WRITE_BOOL_FIELD(AlterDomainStmt, missing_ok, missing_ok, missing_ok); } static void _outGrantStmt(OUT_TYPE(GrantStmt, GrantStmt) out, const GrantStmt *node) { - WRITE_BOOL_FIELD(is_grant, is_grant, is_grant); - WRITE_ENUM_FIELD(GrantTargetType, targtype, targtype, targtype); - WRITE_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - WRITE_LIST_FIELD(objects, objects, objects); - WRITE_LIST_FIELD(privileges, privileges, privileges); - WRITE_LIST_FIELD(grantees, grantees, grantees); - WRITE_BOOL_FIELD(grant_option, grant_option, grant_option); - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, grantor, grantor, grantor); - WRITE_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); + WRITE_BOOL_FIELD(GrantStmt, is_grant, is_grant, is_grant); + WRITE_ENUM_FIELD(GrantStmt, GrantTargetType, targtype, targtype, targtype); + WRITE_ENUM_FIELD(GrantStmt, ObjectType, objtype, objtype, objtype); + WRITE_LIST_FIELD(GrantStmt, objects, objects, objects); + WRITE_LIST_FIELD(GrantStmt, privileges, privileges, privileges); + WRITE_LIST_FIELD(GrantStmt, grantees, grantees, grantees); + WRITE_BOOL_FIELD(GrantStmt, grant_option, grant_option, grant_option); + WRITE_SPECIFIC_NODE_PTR_FIELD(GrantStmt, RoleSpec, role_spec, grantor, grantor, grantor); + WRITE_ENUM_FIELD(GrantStmt, DropBehavior, behavior, behavior, behavior); } static void _outObjectWithArgs(OUT_TYPE(ObjectWithArgs, ObjectWithArgs) out, const ObjectWithArgs *node) { - WRITE_LIST_FIELD(objname, objname, objname); - WRITE_LIST_FIELD(objargs, objargs, objargs); - WRITE_LIST_FIELD(objfuncargs, objfuncargs, objfuncargs); - WRITE_BOOL_FIELD(args_unspecified, args_unspecified, args_unspecified); + WRITE_LIST_FIELD(ObjectWithArgs, objname, objname, objname); + WRITE_LIST_FIELD(ObjectWithArgs, objargs, objargs, objargs); + WRITE_LIST_FIELD(ObjectWithArgs, objfuncargs, objfuncargs, objfuncargs); + WRITE_BOOL_FIELD(ObjectWithArgs, args_unspecified, args_unspecified, args_unspecified); } static void _outAccessPriv(OUT_TYPE(AccessPriv, AccessPriv) out, const AccessPriv *node) { - WRITE_STRING_FIELD(priv_name, priv_name, priv_name); - WRITE_LIST_FIELD(cols, cols, cols); + WRITE_STRING_FIELD(AccessPriv, priv_name, priv_name, priv_name); + WRITE_LIST_FIELD(AccessPriv, cols, cols, cols); } static void _outGrantRoleStmt(OUT_TYPE(GrantRoleStmt, GrantRoleStmt) out, const GrantRoleStmt *node) { - WRITE_LIST_FIELD(granted_roles, granted_roles, granted_roles); - WRITE_LIST_FIELD(grantee_roles, grantee_roles, grantee_roles); - WRITE_BOOL_FIELD(is_grant, is_grant, is_grant); - WRITE_LIST_FIELD(opt, opt, opt); - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, grantor, grantor, grantor); - WRITE_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); + WRITE_LIST_FIELD(GrantRoleStmt, granted_roles, granted_roles, granted_roles); + WRITE_LIST_FIELD(GrantRoleStmt, grantee_roles, grantee_roles, grantee_roles); + WRITE_BOOL_FIELD(GrantRoleStmt, is_grant, is_grant, is_grant); + WRITE_LIST_FIELD(GrantRoleStmt, opt, opt, opt); + WRITE_SPECIFIC_NODE_PTR_FIELD(GrantRoleStmt, RoleSpec, role_spec, grantor, grantor, grantor); + WRITE_ENUM_FIELD(GrantRoleStmt, DropBehavior, behavior, behavior, behavior); } static void _outAlterDefaultPrivilegesStmt(OUT_TYPE(AlterDefaultPrivilegesStmt, AlterDefaultPrivilegesStmt) out, const AlterDefaultPrivilegesStmt *node) { - WRITE_LIST_FIELD(options, options, options); - WRITE_SPECIFIC_NODE_PTR_FIELD(GrantStmt, grant_stmt, action, action, action); + WRITE_LIST_FIELD(AlterDefaultPrivilegesStmt, options, options, options); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterDefaultPrivilegesStmt, GrantStmt, grant_stmt, action, action, action); } static void _outCopyStmt(OUT_TYPE(CopyStmt, CopyStmt) out, const CopyStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_NODE_PTR_FIELD(query, query, query); - WRITE_LIST_FIELD(attlist, attlist, attlist); - WRITE_BOOL_FIELD(is_from, is_from, is_from); - WRITE_BOOL_FIELD(is_program, is_program, is_program); - WRITE_STRING_FIELD(filename, filename, filename); - WRITE_LIST_FIELD(options, options, options); - WRITE_NODE_PTR_FIELD(where_clause, whereClause, whereClause); + WRITE_SPECIFIC_NODE_PTR_FIELD(CopyStmt, RangeVar, range_var, relation, relation, relation); + WRITE_NODE_PTR_FIELD(CopyStmt, query, query, query); + WRITE_LIST_FIELD(CopyStmt, attlist, attlist, attlist); + WRITE_BOOL_FIELD(CopyStmt, is_from, is_from, is_from); + WRITE_BOOL_FIELD(CopyStmt, is_program, is_program, is_program); + WRITE_STRING_FIELD(CopyStmt, filename, filename, filename); + WRITE_LIST_FIELD(CopyStmt, options, options, options); + WRITE_NODE_PTR_FIELD(CopyStmt, where_clause, whereClause, whereClause); } static void _outVariableSetStmt(OUT_TYPE(VariableSetStmt, VariableSetStmt) out, const VariableSetStmt *node) { - WRITE_ENUM_FIELD(VariableSetKind, kind, kind, kind); - WRITE_STRING_FIELD(name, name, name); - WRITE_LIST_FIELD(args, args, args); - WRITE_BOOL_FIELD(jumble_args, jumble_args, jumble_args); - WRITE_BOOL_FIELD(is_local, is_local, is_local); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(VariableSetStmt, VariableSetKind, kind, kind, kind); + WRITE_STRING_FIELD(VariableSetStmt, name, name, name); + WRITE_LIST_FIELD(VariableSetStmt, args, args, args); + WRITE_BOOL_FIELD(VariableSetStmt, jumble_args, jumble_args, jumble_args); + WRITE_BOOL_FIELD(VariableSetStmt, is_local, is_local, is_local); + WRITE_INT_FIELD(VariableSetStmt, location, location, location); } static void _outVariableShowStmt(OUT_TYPE(VariableShowStmt, VariableShowStmt) out, const VariableShowStmt *node) { - WRITE_STRING_FIELD(name, name, name); + WRITE_STRING_FIELD(VariableShowStmt, name, name, name); } static void _outCreateStmt(OUT_TYPE(CreateStmt, CreateStmt) out, const CreateStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_LIST_FIELD(table_elts, tableElts, tableElts); - WRITE_LIST_FIELD(inh_relations, inhRelations, inhRelations); - WRITE_SPECIFIC_NODE_PTR_FIELD(PartitionBoundSpec, partition_bound_spec, partbound, partbound, partbound); - WRITE_SPECIFIC_NODE_PTR_FIELD(PartitionSpec, partition_spec, partspec, partspec, partspec); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, of_typename, ofTypename, ofTypename); - WRITE_LIST_FIELD(constraints, constraints, constraints); - WRITE_LIST_FIELD(nnconstraints, nnconstraints, nnconstraints); - WRITE_LIST_FIELD(options, options, options); - WRITE_ENUM_FIELD(OnCommitAction, oncommit, oncommit, oncommit); - WRITE_STRING_FIELD(tablespacename, tablespacename, tablespacename); - WRITE_STRING_FIELD(access_method, accessMethod, accessMethod); - WRITE_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateStmt, RangeVar, range_var, relation, relation, relation); + WRITE_LIST_FIELD(CreateStmt, table_elts, tableElts, tableElts); + WRITE_LIST_FIELD(CreateStmt, inh_relations, inhRelations, inhRelations); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateStmt, PartitionBoundSpec, partition_bound_spec, partbound, partbound, partbound); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateStmt, PartitionSpec, partition_spec, partspec, partspec, partspec); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateStmt, TypeName, type_name, of_typename, ofTypename, ofTypename); + WRITE_LIST_FIELD(CreateStmt, constraints, constraints, constraints); + WRITE_LIST_FIELD(CreateStmt, nnconstraints, nnconstraints, nnconstraints); + WRITE_LIST_FIELD(CreateStmt, options, options, options); + WRITE_ENUM_FIELD(CreateStmt, OnCommitAction, oncommit, oncommit, oncommit); + WRITE_STRING_FIELD(CreateStmt, tablespacename, tablespacename, tablespacename); + WRITE_STRING_FIELD(CreateStmt, access_method, accessMethod, accessMethod); + WRITE_BOOL_FIELD(CreateStmt, if_not_exists, if_not_exists, if_not_exists); } static void _outConstraint(OUT_TYPE(Constraint, Constraint) out, const Constraint *node) { - WRITE_ENUM_FIELD(ConstrType, contype, contype, contype); - WRITE_STRING_FIELD(conname, conname, conname); - WRITE_BOOL_FIELD(deferrable, deferrable, deferrable); - WRITE_BOOL_FIELD(initdeferred, initdeferred, initdeferred); - WRITE_BOOL_FIELD(is_enforced, is_enforced, is_enforced); - WRITE_BOOL_FIELD(skip_validation, skip_validation, skip_validation); - WRITE_BOOL_FIELD(initially_valid, initially_valid, initially_valid); - WRITE_BOOL_FIELD(is_no_inherit, is_no_inherit, is_no_inherit); - WRITE_NODE_PTR_FIELD(raw_expr, raw_expr, raw_expr); - WRITE_STRING_FIELD(cooked_expr, cooked_expr, cooked_expr); - WRITE_CHAR_FIELD(generated_when, generated_when, generated_when); - WRITE_CHAR_FIELD(generated_kind, generated_kind, generated_kind); - WRITE_BOOL_FIELD(nulls_not_distinct, nulls_not_distinct, nulls_not_distinct); - WRITE_LIST_FIELD(keys, keys, keys); - WRITE_BOOL_FIELD(without_overlaps, without_overlaps, without_overlaps); - WRITE_LIST_FIELD(including, including, including); - WRITE_LIST_FIELD(exclusions, exclusions, exclusions); - WRITE_LIST_FIELD(options, options, options); - WRITE_STRING_FIELD(indexname, indexname, indexname); - WRITE_STRING_FIELD(indexspace, indexspace, indexspace); - WRITE_BOOL_FIELD(reset_default_tblspc, reset_default_tblspc, reset_default_tblspc); - WRITE_STRING_FIELD(access_method, access_method, access_method); - WRITE_NODE_PTR_FIELD(where_clause, where_clause, where_clause); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, pktable, pktable, pktable); - WRITE_LIST_FIELD(fk_attrs, fk_attrs, fk_attrs); - WRITE_LIST_FIELD(pk_attrs, pk_attrs, pk_attrs); - WRITE_BOOL_FIELD(fk_with_period, fk_with_period, fk_with_period); - WRITE_BOOL_FIELD(pk_with_period, pk_with_period, pk_with_period); - WRITE_CHAR_FIELD(fk_matchtype, fk_matchtype, fk_matchtype); - WRITE_CHAR_FIELD(fk_upd_action, fk_upd_action, fk_upd_action); - WRITE_CHAR_FIELD(fk_del_action, fk_del_action, fk_del_action); - WRITE_LIST_FIELD(fk_del_set_cols, fk_del_set_cols, fk_del_set_cols); - WRITE_LIST_FIELD(old_conpfeqop, old_conpfeqop, old_conpfeqop); - WRITE_UINT_FIELD(old_pktable_oid, old_pktable_oid, old_pktable_oid); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(Constraint, ConstrType, contype, contype, contype); + WRITE_STRING_FIELD(Constraint, conname, conname, conname); + WRITE_BOOL_FIELD(Constraint, deferrable, deferrable, deferrable); + WRITE_BOOL_FIELD(Constraint, initdeferred, initdeferred, initdeferred); + WRITE_BOOL_FIELD(Constraint, is_enforced, is_enforced, is_enforced); + WRITE_BOOL_FIELD(Constraint, skip_validation, skip_validation, skip_validation); + WRITE_BOOL_FIELD(Constraint, initially_valid, initially_valid, initially_valid); + WRITE_BOOL_FIELD(Constraint, is_no_inherit, is_no_inherit, is_no_inherit); + WRITE_NODE_PTR_FIELD(Constraint, raw_expr, raw_expr, raw_expr); + WRITE_STRING_FIELD(Constraint, cooked_expr, cooked_expr, cooked_expr); + WRITE_CHAR_FIELD(Constraint, generated_when, generated_when, generated_when); + WRITE_CHAR_FIELD(Constraint, generated_kind, generated_kind, generated_kind); + WRITE_BOOL_FIELD(Constraint, nulls_not_distinct, nulls_not_distinct, nulls_not_distinct); + WRITE_LIST_FIELD(Constraint, keys, keys, keys); + WRITE_BOOL_FIELD(Constraint, without_overlaps, without_overlaps, without_overlaps); + WRITE_LIST_FIELD(Constraint, including, including, including); + WRITE_LIST_FIELD(Constraint, exclusions, exclusions, exclusions); + WRITE_LIST_FIELD(Constraint, options, options, options); + WRITE_STRING_FIELD(Constraint, indexname, indexname, indexname); + WRITE_STRING_FIELD(Constraint, indexspace, indexspace, indexspace); + WRITE_BOOL_FIELD(Constraint, reset_default_tblspc, reset_default_tblspc, reset_default_tblspc); + WRITE_STRING_FIELD(Constraint, access_method, access_method, access_method); + WRITE_NODE_PTR_FIELD(Constraint, where_clause, where_clause, where_clause); + WRITE_SPECIFIC_NODE_PTR_FIELD(Constraint, RangeVar, range_var, pktable, pktable, pktable); + WRITE_LIST_FIELD(Constraint, fk_attrs, fk_attrs, fk_attrs); + WRITE_LIST_FIELD(Constraint, pk_attrs, pk_attrs, pk_attrs); + WRITE_BOOL_FIELD(Constraint, fk_with_period, fk_with_period, fk_with_period); + WRITE_BOOL_FIELD(Constraint, pk_with_period, pk_with_period, pk_with_period); + WRITE_CHAR_FIELD(Constraint, fk_matchtype, fk_matchtype, fk_matchtype); + WRITE_CHAR_FIELD(Constraint, fk_upd_action, fk_upd_action, fk_upd_action); + WRITE_CHAR_FIELD(Constraint, fk_del_action, fk_del_action, fk_del_action); + WRITE_LIST_FIELD(Constraint, fk_del_set_cols, fk_del_set_cols, fk_del_set_cols); + WRITE_LIST_FIELD(Constraint, old_conpfeqop, old_conpfeqop, old_conpfeqop); + WRITE_UINT_FIELD(Constraint, old_pktable_oid, old_pktable_oid, old_pktable_oid); + WRITE_INT_FIELD(Constraint, location, location, location); } static void _outCreateTableSpaceStmt(OUT_TYPE(CreateTableSpaceStmt, CreateTableSpaceStmt) out, const CreateTableSpaceStmt *node) { - WRITE_STRING_FIELD(tablespacename, tablespacename, tablespacename); - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, owner, owner, owner); - WRITE_STRING_FIELD(location, location, location); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(CreateTableSpaceStmt, tablespacename, tablespacename, tablespacename); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateTableSpaceStmt, RoleSpec, role_spec, owner, owner, owner); + WRITE_STRING_FIELD(CreateTableSpaceStmt, location, location, location); + WRITE_LIST_FIELD(CreateTableSpaceStmt, options, options, options); } static void _outDropTableSpaceStmt(OUT_TYPE(DropTableSpaceStmt, DropTableSpaceStmt) out, const DropTableSpaceStmt *node) { - WRITE_STRING_FIELD(tablespacename, tablespacename, tablespacename); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + WRITE_STRING_FIELD(DropTableSpaceStmt, tablespacename, tablespacename, tablespacename); + WRITE_BOOL_FIELD(DropTableSpaceStmt, missing_ok, missing_ok, missing_ok); } static void _outAlterTableSpaceOptionsStmt(OUT_TYPE(AlterTableSpaceOptionsStmt, AlterTableSpaceOptionsStmt) out, const AlterTableSpaceOptionsStmt *node) { - WRITE_STRING_FIELD(tablespacename, tablespacename, tablespacename); - WRITE_LIST_FIELD(options, options, options); - WRITE_BOOL_FIELD(is_reset, isReset, isReset); + WRITE_STRING_FIELD(AlterTableSpaceOptionsStmt, tablespacename, tablespacename, tablespacename); + WRITE_LIST_FIELD(AlterTableSpaceOptionsStmt, options, options, options); + WRITE_BOOL_FIELD(AlterTableSpaceOptionsStmt, is_reset, isReset, isReset); } static void _outAlterTableMoveAllStmt(OUT_TYPE(AlterTableMoveAllStmt, AlterTableMoveAllStmt) out, const AlterTableMoveAllStmt *node) { - WRITE_STRING_FIELD(orig_tablespacename, orig_tablespacename, orig_tablespacename); - WRITE_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - WRITE_LIST_FIELD(roles, roles, roles); - WRITE_STRING_FIELD(new_tablespacename, new_tablespacename, new_tablespacename); - WRITE_BOOL_FIELD(nowait, nowait, nowait); + WRITE_STRING_FIELD(AlterTableMoveAllStmt, orig_tablespacename, orig_tablespacename, orig_tablespacename); + WRITE_ENUM_FIELD(AlterTableMoveAllStmt, ObjectType, objtype, objtype, objtype); + WRITE_LIST_FIELD(AlterTableMoveAllStmt, roles, roles, roles); + WRITE_STRING_FIELD(AlterTableMoveAllStmt, new_tablespacename, new_tablespacename, new_tablespacename); + WRITE_BOOL_FIELD(AlterTableMoveAllStmt, nowait, nowait, nowait); } static void _outCreateExtensionStmt(OUT_TYPE(CreateExtensionStmt, CreateExtensionStmt) out, const CreateExtensionStmt *node) { - WRITE_STRING_FIELD(extname, extname, extname); - WRITE_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(CreateExtensionStmt, extname, extname, extname); + WRITE_BOOL_FIELD(CreateExtensionStmt, if_not_exists, if_not_exists, if_not_exists); + WRITE_LIST_FIELD(CreateExtensionStmt, options, options, options); } static void _outAlterExtensionStmt(OUT_TYPE(AlterExtensionStmt, AlterExtensionStmt) out, const AlterExtensionStmt *node) { - WRITE_STRING_FIELD(extname, extname, extname); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(AlterExtensionStmt, extname, extname, extname); + WRITE_LIST_FIELD(AlterExtensionStmt, options, options, options); } static void _outAlterExtensionContentsStmt(OUT_TYPE(AlterExtensionContentsStmt, AlterExtensionContentsStmt) out, const AlterExtensionContentsStmt *node) { - WRITE_STRING_FIELD(extname, extname, extname); - WRITE_INT_FIELD(action, action, action); - WRITE_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - WRITE_NODE_PTR_FIELD(object, object, object); + WRITE_STRING_FIELD(AlterExtensionContentsStmt, extname, extname, extname); + WRITE_INT_FIELD(AlterExtensionContentsStmt, action, action, action); + WRITE_ENUM_FIELD(AlterExtensionContentsStmt, ObjectType, objtype, objtype, objtype); + WRITE_NODE_PTR_FIELD(AlterExtensionContentsStmt, object, object, object); } static void _outCreateFdwStmt(OUT_TYPE(CreateFdwStmt, CreateFdwStmt) out, const CreateFdwStmt *node) { - WRITE_STRING_FIELD(fdwname, fdwname, fdwname); - WRITE_LIST_FIELD(func_options, func_options, func_options); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(CreateFdwStmt, fdwname, fdwname, fdwname); + WRITE_LIST_FIELD(CreateFdwStmt, func_options, func_options, func_options); + WRITE_LIST_FIELD(CreateFdwStmt, options, options, options); } static void _outAlterFdwStmt(OUT_TYPE(AlterFdwStmt, AlterFdwStmt) out, const AlterFdwStmt *node) { - WRITE_STRING_FIELD(fdwname, fdwname, fdwname); - WRITE_LIST_FIELD(func_options, func_options, func_options); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(AlterFdwStmt, fdwname, fdwname, fdwname); + WRITE_LIST_FIELD(AlterFdwStmt, func_options, func_options, func_options); + WRITE_LIST_FIELD(AlterFdwStmt, options, options, options); } static void _outCreateForeignServerStmt(OUT_TYPE(CreateForeignServerStmt, CreateForeignServerStmt) out, const CreateForeignServerStmt *node) { - WRITE_STRING_FIELD(servername, servername, servername); - WRITE_STRING_FIELD(servertype, servertype, servertype); - WRITE_STRING_FIELD(version, version, version); - WRITE_STRING_FIELD(fdwname, fdwname, fdwname); - WRITE_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(CreateForeignServerStmt, servername, servername, servername); + WRITE_STRING_FIELD(CreateForeignServerStmt, servertype, servertype, servertype); + WRITE_STRING_FIELD(CreateForeignServerStmt, version, version, version); + WRITE_STRING_FIELD(CreateForeignServerStmt, fdwname, fdwname, fdwname); + WRITE_BOOL_FIELD(CreateForeignServerStmt, if_not_exists, if_not_exists, if_not_exists); + WRITE_LIST_FIELD(CreateForeignServerStmt, options, options, options); } static void _outAlterForeignServerStmt(OUT_TYPE(AlterForeignServerStmt, AlterForeignServerStmt) out, const AlterForeignServerStmt *node) { - WRITE_STRING_FIELD(servername, servername, servername); - WRITE_STRING_FIELD(version, version, version); - WRITE_LIST_FIELD(options, options, options); - WRITE_BOOL_FIELD(has_version, has_version, has_version); + WRITE_STRING_FIELD(AlterForeignServerStmt, servername, servername, servername); + WRITE_STRING_FIELD(AlterForeignServerStmt, version, version, version); + WRITE_LIST_FIELD(AlterForeignServerStmt, options, options, options); + WRITE_BOOL_FIELD(AlterForeignServerStmt, has_version, has_version, has_version); } static void _outCreateForeignTableStmt(OUT_TYPE(CreateForeignTableStmt, CreateForeignTableStmt) out, const CreateForeignTableStmt *node) { - WRITE_SPECIFIC_NODE_FIELD(CreateStmt, create_stmt, base_stmt, base, base); - WRITE_STRING_FIELD(servername, servername, servername); - WRITE_LIST_FIELD(options, options, options); + WRITE_SPECIFIC_NODE_FIELD(CreateForeignTableStmt, CreateStmt, create_stmt, base_stmt, base, base); + WRITE_STRING_FIELD(CreateForeignTableStmt, servername, servername, servername); + WRITE_LIST_FIELD(CreateForeignTableStmt, options, options, options); } static void _outCreateUserMappingStmt(OUT_TYPE(CreateUserMappingStmt, CreateUserMappingStmt) out, const CreateUserMappingStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, user, user, user); - WRITE_STRING_FIELD(servername, servername, servername); - WRITE_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); - WRITE_LIST_FIELD(options, options, options); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateUserMappingStmt, RoleSpec, role_spec, user, user, user); + WRITE_STRING_FIELD(CreateUserMappingStmt, servername, servername, servername); + WRITE_BOOL_FIELD(CreateUserMappingStmt, if_not_exists, if_not_exists, if_not_exists); + WRITE_LIST_FIELD(CreateUserMappingStmt, options, options, options); } static void _outAlterUserMappingStmt(OUT_TYPE(AlterUserMappingStmt, AlterUserMappingStmt) out, const AlterUserMappingStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, user, user, user); - WRITE_STRING_FIELD(servername, servername, servername); - WRITE_LIST_FIELD(options, options, options); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterUserMappingStmt, RoleSpec, role_spec, user, user, user); + WRITE_STRING_FIELD(AlterUserMappingStmt, servername, servername, servername); + WRITE_LIST_FIELD(AlterUserMappingStmt, options, options, options); } static void _outDropUserMappingStmt(OUT_TYPE(DropUserMappingStmt, DropUserMappingStmt) out, const DropUserMappingStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, user, user, user); - WRITE_STRING_FIELD(servername, servername, servername); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + WRITE_SPECIFIC_NODE_PTR_FIELD(DropUserMappingStmt, RoleSpec, role_spec, user, user, user); + WRITE_STRING_FIELD(DropUserMappingStmt, servername, servername, servername); + WRITE_BOOL_FIELD(DropUserMappingStmt, missing_ok, missing_ok, missing_ok); } static void _outImportForeignSchemaStmt(OUT_TYPE(ImportForeignSchemaStmt, ImportForeignSchemaStmt) out, const ImportForeignSchemaStmt *node) { - WRITE_STRING_FIELD(server_name, server_name, server_name); - WRITE_STRING_FIELD(remote_schema, remote_schema, remote_schema); - WRITE_STRING_FIELD(local_schema, local_schema, local_schema); - WRITE_ENUM_FIELD(ImportForeignSchemaType, list_type, list_type, list_type); - WRITE_LIST_FIELD(table_list, table_list, table_list); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(ImportForeignSchemaStmt, server_name, server_name, server_name); + WRITE_STRING_FIELD(ImportForeignSchemaStmt, remote_schema, remote_schema, remote_schema); + WRITE_STRING_FIELD(ImportForeignSchemaStmt, local_schema, local_schema, local_schema); + WRITE_ENUM_FIELD(ImportForeignSchemaStmt, ImportForeignSchemaType, list_type, list_type, list_type); + WRITE_LIST_FIELD(ImportForeignSchemaStmt, table_list, table_list, table_list); + WRITE_LIST_FIELD(ImportForeignSchemaStmt, options, options, options); } static void _outCreatePolicyStmt(OUT_TYPE(CreatePolicyStmt, CreatePolicyStmt) out, const CreatePolicyStmt *node) { - WRITE_STRING_FIELD(policy_name, policy_name, policy_name); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, table, table, table); - WRITE_STRING_FIELD(cmd_name, cmd_name, cmd_name); - WRITE_BOOL_FIELD(permissive, permissive, permissive); - WRITE_LIST_FIELD(roles, roles, roles); - WRITE_NODE_PTR_FIELD(qual, qual, qual); - WRITE_NODE_PTR_FIELD(with_check, with_check, with_check); + WRITE_STRING_FIELD(CreatePolicyStmt, policy_name, policy_name, policy_name); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreatePolicyStmt, RangeVar, range_var, table, table, table); + WRITE_STRING_FIELD(CreatePolicyStmt, cmd_name, cmd_name, cmd_name); + WRITE_BOOL_FIELD(CreatePolicyStmt, permissive, permissive, permissive); + WRITE_LIST_FIELD(CreatePolicyStmt, roles, roles, roles); + WRITE_NODE_PTR_FIELD(CreatePolicyStmt, qual, qual, qual); + WRITE_NODE_PTR_FIELD(CreatePolicyStmt, with_check, with_check, with_check); } static void _outAlterPolicyStmt(OUT_TYPE(AlterPolicyStmt, AlterPolicyStmt) out, const AlterPolicyStmt *node) { - WRITE_STRING_FIELD(policy_name, policy_name, policy_name); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, table, table, table); - WRITE_LIST_FIELD(roles, roles, roles); - WRITE_NODE_PTR_FIELD(qual, qual, qual); - WRITE_NODE_PTR_FIELD(with_check, with_check, with_check); + WRITE_STRING_FIELD(AlterPolicyStmt, policy_name, policy_name, policy_name); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterPolicyStmt, RangeVar, range_var, table, table, table); + WRITE_LIST_FIELD(AlterPolicyStmt, roles, roles, roles); + WRITE_NODE_PTR_FIELD(AlterPolicyStmt, qual, qual, qual); + WRITE_NODE_PTR_FIELD(AlterPolicyStmt, with_check, with_check, with_check); } static void _outCreateAmStmt(OUT_TYPE(CreateAmStmt, CreateAmStmt) out, const CreateAmStmt *node) { - WRITE_STRING_FIELD(amname, amname, amname); - WRITE_LIST_FIELD(handler_name, handler_name, handler_name); - WRITE_CHAR_FIELD(amtype, amtype, amtype); + WRITE_STRING_FIELD(CreateAmStmt, amname, amname, amname); + WRITE_LIST_FIELD(CreateAmStmt, handler_name, handler_name, handler_name); + WRITE_CHAR_FIELD(CreateAmStmt, amtype, amtype, amtype); } static void _outCreateTrigStmt(OUT_TYPE(CreateTrigStmt, CreateTrigStmt) out, const CreateTrigStmt *node) { - WRITE_BOOL_FIELD(replace, replace, replace); - WRITE_BOOL_FIELD(isconstraint, isconstraint, isconstraint); - WRITE_STRING_FIELD(trigname, trigname, trigname); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_LIST_FIELD(funcname, funcname, funcname); - WRITE_LIST_FIELD(args, args, args); - WRITE_BOOL_FIELD(row, row, row); - WRITE_INT_FIELD(timing, timing, timing); - WRITE_INT_FIELD(events, events, events); - WRITE_LIST_FIELD(columns, columns, columns); - WRITE_NODE_PTR_FIELD(when_clause, whenClause, whenClause); - WRITE_LIST_FIELD(transition_rels, transitionRels, transitionRels); - WRITE_BOOL_FIELD(deferrable, deferrable, deferrable); - WRITE_BOOL_FIELD(initdeferred, initdeferred, initdeferred); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, constrrel, constrrel, constrrel); + WRITE_BOOL_FIELD(CreateTrigStmt, replace, replace, replace); + WRITE_BOOL_FIELD(CreateTrigStmt, isconstraint, isconstraint, isconstraint); + WRITE_STRING_FIELD(CreateTrigStmt, trigname, trigname, trigname); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateTrigStmt, RangeVar, range_var, relation, relation, relation); + WRITE_LIST_FIELD(CreateTrigStmt, funcname, funcname, funcname); + WRITE_LIST_FIELD(CreateTrigStmt, args, args, args); + WRITE_BOOL_FIELD(CreateTrigStmt, row, row, row); + WRITE_INT_FIELD(CreateTrigStmt, timing, timing, timing); + WRITE_INT_FIELD(CreateTrigStmt, events, events, events); + WRITE_LIST_FIELD(CreateTrigStmt, columns, columns, columns); + WRITE_NODE_PTR_FIELD(CreateTrigStmt, when_clause, whenClause, whenClause); + WRITE_LIST_FIELD(CreateTrigStmt, transition_rels, transitionRels, transitionRels); + WRITE_BOOL_FIELD(CreateTrigStmt, deferrable, deferrable, deferrable); + WRITE_BOOL_FIELD(CreateTrigStmt, initdeferred, initdeferred, initdeferred); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateTrigStmt, RangeVar, range_var, constrrel, constrrel, constrrel); } static void _outCreateEventTrigStmt(OUT_TYPE(CreateEventTrigStmt, CreateEventTrigStmt) out, const CreateEventTrigStmt *node) { - WRITE_STRING_FIELD(trigname, trigname, trigname); - WRITE_STRING_FIELD(eventname, eventname, eventname); - WRITE_LIST_FIELD(whenclause, whenclause, whenclause); - WRITE_LIST_FIELD(funcname, funcname, funcname); + WRITE_STRING_FIELD(CreateEventTrigStmt, trigname, trigname, trigname); + WRITE_STRING_FIELD(CreateEventTrigStmt, eventname, eventname, eventname); + WRITE_LIST_FIELD(CreateEventTrigStmt, whenclause, whenclause, whenclause); + WRITE_LIST_FIELD(CreateEventTrigStmt, funcname, funcname, funcname); } static void _outAlterEventTrigStmt(OUT_TYPE(AlterEventTrigStmt, AlterEventTrigStmt) out, const AlterEventTrigStmt *node) { - WRITE_STRING_FIELD(trigname, trigname, trigname); - WRITE_CHAR_FIELD(tgenabled, tgenabled, tgenabled); + WRITE_STRING_FIELD(AlterEventTrigStmt, trigname, trigname, trigname); + WRITE_CHAR_FIELD(AlterEventTrigStmt, tgenabled, tgenabled, tgenabled); } static void _outCreatePLangStmt(OUT_TYPE(CreatePLangStmt, CreatePLangStmt) out, const CreatePLangStmt *node) { - WRITE_BOOL_FIELD(replace, replace, replace); - WRITE_STRING_FIELD(plname, plname, plname); - WRITE_LIST_FIELD(plhandler, plhandler, plhandler); - WRITE_LIST_FIELD(plinline, plinline, plinline); - WRITE_LIST_FIELD(plvalidator, plvalidator, plvalidator); - WRITE_BOOL_FIELD(pltrusted, pltrusted, pltrusted); + WRITE_BOOL_FIELD(CreatePLangStmt, replace, replace, replace); + WRITE_STRING_FIELD(CreatePLangStmt, plname, plname, plname); + WRITE_LIST_FIELD(CreatePLangStmt, plhandler, plhandler, plhandler); + WRITE_LIST_FIELD(CreatePLangStmt, plinline, plinline, plinline); + WRITE_LIST_FIELD(CreatePLangStmt, plvalidator, plvalidator, plvalidator); + WRITE_BOOL_FIELD(CreatePLangStmt, pltrusted, pltrusted, pltrusted); } static void _outCreateRoleStmt(OUT_TYPE(CreateRoleStmt, CreateRoleStmt) out, const CreateRoleStmt *node) { - WRITE_ENUM_FIELD(RoleStmtType, stmt_type, stmt_type, stmt_type); - WRITE_STRING_FIELD(role, role, role); - WRITE_LIST_FIELD(options, options, options); + WRITE_ENUM_FIELD(CreateRoleStmt, RoleStmtType, stmt_type, stmt_type, stmt_type); + WRITE_STRING_FIELD(CreateRoleStmt, role, role, role); + WRITE_LIST_FIELD(CreateRoleStmt, options, options, options); } static void _outAlterRoleStmt(OUT_TYPE(AlterRoleStmt, AlterRoleStmt) out, const AlterRoleStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, role, role, role); - WRITE_LIST_FIELD(options, options, options); - WRITE_INT_FIELD(action, action, action); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterRoleStmt, RoleSpec, role_spec, role, role, role); + WRITE_LIST_FIELD(AlterRoleStmt, options, options, options); + WRITE_INT_FIELD(AlterRoleStmt, action, action, action); } static void _outAlterRoleSetStmt(OUT_TYPE(AlterRoleSetStmt, AlterRoleSetStmt) out, const AlterRoleSetStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, role, role, role); - WRITE_STRING_FIELD(database, database, database); - WRITE_SPECIFIC_NODE_PTR_FIELD(VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterRoleSetStmt, RoleSpec, role_spec, role, role, role); + WRITE_STRING_FIELD(AlterRoleSetStmt, database, database, database); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterRoleSetStmt, VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); } static void _outDropRoleStmt(OUT_TYPE(DropRoleStmt, DropRoleStmt) out, const DropRoleStmt *node) { - WRITE_LIST_FIELD(roles, roles, roles); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + WRITE_LIST_FIELD(DropRoleStmt, roles, roles, roles); + WRITE_BOOL_FIELD(DropRoleStmt, missing_ok, missing_ok, missing_ok); } static void _outCreateSeqStmt(OUT_TYPE(CreateSeqStmt, CreateSeqStmt) out, const CreateSeqStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, sequence, sequence, sequence); - WRITE_LIST_FIELD(options, options, options); - WRITE_UINT_FIELD(owner_id, ownerId, ownerId); - WRITE_BOOL_FIELD(for_identity, for_identity, for_identity); - WRITE_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateSeqStmt, RangeVar, range_var, sequence, sequence, sequence); + WRITE_LIST_FIELD(CreateSeqStmt, options, options, options); + WRITE_UINT_FIELD(CreateSeqStmt, owner_id, ownerId, ownerId); + WRITE_BOOL_FIELD(CreateSeqStmt, for_identity, for_identity, for_identity); + WRITE_BOOL_FIELD(CreateSeqStmt, if_not_exists, if_not_exists, if_not_exists); } static void _outAlterSeqStmt(OUT_TYPE(AlterSeqStmt, AlterSeqStmt) out, const AlterSeqStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, sequence, sequence, sequence); - WRITE_LIST_FIELD(options, options, options); - WRITE_BOOL_FIELD(for_identity, for_identity, for_identity); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterSeqStmt, RangeVar, range_var, sequence, sequence, sequence); + WRITE_LIST_FIELD(AlterSeqStmt, options, options, options); + WRITE_BOOL_FIELD(AlterSeqStmt, for_identity, for_identity, for_identity); + WRITE_BOOL_FIELD(AlterSeqStmt, missing_ok, missing_ok, missing_ok); } static void _outDefineStmt(OUT_TYPE(DefineStmt, DefineStmt) out, const DefineStmt *node) { - WRITE_ENUM_FIELD(ObjectType, kind, kind, kind); - WRITE_BOOL_FIELD(oldstyle, oldstyle, oldstyle); - WRITE_LIST_FIELD(defnames, defnames, defnames); - WRITE_LIST_FIELD(args, args, args); - WRITE_LIST_FIELD(definition, definition, definition); - WRITE_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); - WRITE_BOOL_FIELD(replace, replace, replace); + WRITE_ENUM_FIELD(DefineStmt, ObjectType, kind, kind, kind); + WRITE_BOOL_FIELD(DefineStmt, oldstyle, oldstyle, oldstyle); + WRITE_LIST_FIELD(DefineStmt, defnames, defnames, defnames); + WRITE_LIST_FIELD(DefineStmt, args, args, args); + WRITE_LIST_FIELD(DefineStmt, definition, definition, definition); + WRITE_BOOL_FIELD(DefineStmt, if_not_exists, if_not_exists, if_not_exists); + WRITE_BOOL_FIELD(DefineStmt, replace, replace, replace); } static void _outCreateDomainStmt(OUT_TYPE(CreateDomainStmt, CreateDomainStmt) out, const CreateDomainStmt *node) { - WRITE_LIST_FIELD(domainname, domainname, domainname); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - WRITE_SPECIFIC_NODE_PTR_FIELD(CollateClause, collate_clause, coll_clause, collClause, collClause); - WRITE_LIST_FIELD(constraints, constraints, constraints); + WRITE_LIST_FIELD(CreateDomainStmt, domainname, domainname, domainname); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateDomainStmt, TypeName, type_name, type_name, typeName, typeName); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateDomainStmt, CollateClause, collate_clause, coll_clause, collClause, collClause); + WRITE_LIST_FIELD(CreateDomainStmt, constraints, constraints, constraints); } static void _outCreateOpClassStmt(OUT_TYPE(CreateOpClassStmt, CreateOpClassStmt) out, const CreateOpClassStmt *node) { - WRITE_LIST_FIELD(opclassname, opclassname, opclassname); - WRITE_LIST_FIELD(opfamilyname, opfamilyname, opfamilyname); - WRITE_STRING_FIELD(amname, amname, amname); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, datatype, datatype, datatype); - WRITE_LIST_FIELD(items, items, items); - WRITE_BOOL_FIELD(is_default, isDefault, isDefault); + WRITE_LIST_FIELD(CreateOpClassStmt, opclassname, opclassname, opclassname); + WRITE_LIST_FIELD(CreateOpClassStmt, opfamilyname, opfamilyname, opfamilyname); + WRITE_STRING_FIELD(CreateOpClassStmt, amname, amname, amname); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateOpClassStmt, TypeName, type_name, datatype, datatype, datatype); + WRITE_LIST_FIELD(CreateOpClassStmt, items, items, items); + WRITE_BOOL_FIELD(CreateOpClassStmt, is_default, isDefault, isDefault); } static void _outCreateOpClassItem(OUT_TYPE(CreateOpClassItem, CreateOpClassItem) out, const CreateOpClassItem *node) { - WRITE_INT_FIELD(itemtype, itemtype, itemtype); - WRITE_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, name, name, name); - WRITE_INT_FIELD(number, number, number); - WRITE_LIST_FIELD(order_family, order_family, order_family); - WRITE_LIST_FIELD(class_args, class_args, class_args); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, storedtype, storedtype, storedtype); + WRITE_INT_FIELD(CreateOpClassItem, itemtype, itemtype, itemtype); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateOpClassItem, ObjectWithArgs, object_with_args, name, name, name); + WRITE_INT_FIELD(CreateOpClassItem, number, number, number); + WRITE_LIST_FIELD(CreateOpClassItem, order_family, order_family, order_family); + WRITE_LIST_FIELD(CreateOpClassItem, class_args, class_args, class_args); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateOpClassItem, TypeName, type_name, storedtype, storedtype, storedtype); } static void _outCreateOpFamilyStmt(OUT_TYPE(CreateOpFamilyStmt, CreateOpFamilyStmt) out, const CreateOpFamilyStmt *node) { - WRITE_LIST_FIELD(opfamilyname, opfamilyname, opfamilyname); - WRITE_STRING_FIELD(amname, amname, amname); + WRITE_LIST_FIELD(CreateOpFamilyStmt, opfamilyname, opfamilyname, opfamilyname); + WRITE_STRING_FIELD(CreateOpFamilyStmt, amname, amname, amname); } static void _outAlterOpFamilyStmt(OUT_TYPE(AlterOpFamilyStmt, AlterOpFamilyStmt) out, const AlterOpFamilyStmt *node) { - WRITE_LIST_FIELD(opfamilyname, opfamilyname, opfamilyname); - WRITE_STRING_FIELD(amname, amname, amname); - WRITE_BOOL_FIELD(is_drop, isDrop, isDrop); - WRITE_LIST_FIELD(items, items, items); + WRITE_LIST_FIELD(AlterOpFamilyStmt, opfamilyname, opfamilyname, opfamilyname); + WRITE_STRING_FIELD(AlterOpFamilyStmt, amname, amname, amname); + WRITE_BOOL_FIELD(AlterOpFamilyStmt, is_drop, isDrop, isDrop); + WRITE_LIST_FIELD(AlterOpFamilyStmt, items, items, items); } static void _outDropStmt(OUT_TYPE(DropStmt, DropStmt) out, const DropStmt *node) { - WRITE_LIST_FIELD(objects, objects, objects); - WRITE_ENUM_FIELD(ObjectType, remove_type, removeType, removeType); - WRITE_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); - WRITE_BOOL_FIELD(concurrent, concurrent, concurrent); + WRITE_LIST_FIELD(DropStmt, objects, objects, objects); + WRITE_ENUM_FIELD(DropStmt, ObjectType, remove_type, removeType, removeType); + WRITE_ENUM_FIELD(DropStmt, DropBehavior, behavior, behavior, behavior); + WRITE_BOOL_FIELD(DropStmt, missing_ok, missing_ok, missing_ok); + WRITE_BOOL_FIELD(DropStmt, concurrent, concurrent, concurrent); } static void _outTruncateStmt(OUT_TYPE(TruncateStmt, TruncateStmt) out, const TruncateStmt *node) { - WRITE_LIST_FIELD(relations, relations, relations); - WRITE_BOOL_FIELD(restart_seqs, restart_seqs, restart_seqs); - WRITE_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); + WRITE_LIST_FIELD(TruncateStmt, relations, relations, relations); + WRITE_BOOL_FIELD(TruncateStmt, restart_seqs, restart_seqs, restart_seqs); + WRITE_ENUM_FIELD(TruncateStmt, DropBehavior, behavior, behavior, behavior); } static void _outCommentStmt(OUT_TYPE(CommentStmt, CommentStmt) out, const CommentStmt *node) { - WRITE_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - WRITE_NODE_PTR_FIELD(object, object, object); - WRITE_STRING_FIELD(comment, comment, comment); + WRITE_ENUM_FIELD(CommentStmt, ObjectType, objtype, objtype, objtype); + WRITE_NODE_PTR_FIELD(CommentStmt, object, object, object); + WRITE_STRING_FIELD(CommentStmt, comment, comment, comment); } static void _outSecLabelStmt(OUT_TYPE(SecLabelStmt, SecLabelStmt) out, const SecLabelStmt *node) { - WRITE_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - WRITE_NODE_PTR_FIELD(object, object, object); - WRITE_STRING_FIELD(provider, provider, provider); - WRITE_STRING_FIELD(label, label, label); + WRITE_ENUM_FIELD(SecLabelStmt, ObjectType, objtype, objtype, objtype); + WRITE_NODE_PTR_FIELD(SecLabelStmt, object, object, object); + WRITE_STRING_FIELD(SecLabelStmt, provider, provider, provider); + WRITE_STRING_FIELD(SecLabelStmt, label, label, label); } static void _outDeclareCursorStmt(OUT_TYPE(DeclareCursorStmt, DeclareCursorStmt) out, const DeclareCursorStmt *node) { - WRITE_STRING_FIELD(portalname, portalname, portalname); - WRITE_INT_FIELD(options, options, options); - WRITE_NODE_PTR_FIELD(query, query, query); + WRITE_STRING_FIELD(DeclareCursorStmt, portalname, portalname, portalname); + WRITE_INT_FIELD(DeclareCursorStmt, options, options, options); + WRITE_NODE_PTR_FIELD(DeclareCursorStmt, query, query, query); } static void _outClosePortalStmt(OUT_TYPE(ClosePortalStmt, ClosePortalStmt) out, const ClosePortalStmt *node) { - WRITE_STRING_FIELD(portalname, portalname, portalname); + WRITE_STRING_FIELD(ClosePortalStmt, portalname, portalname, portalname); } static void _outFetchStmt(OUT_TYPE(FetchStmt, FetchStmt) out, const FetchStmt *node) { - WRITE_ENUM_FIELD(FetchDirection, direction, direction, direction); - WRITE_LONG_FIELD(how_many, howMany, howMany); - WRITE_STRING_FIELD(portalname, portalname, portalname); - WRITE_BOOL_FIELD(ismove, ismove, ismove); + WRITE_ENUM_FIELD(FetchStmt, FetchDirection, direction, direction, direction); + WRITE_LONG_FIELD(FetchStmt, how_many, howMany, howMany); + WRITE_STRING_FIELD(FetchStmt, portalname, portalname, portalname); + WRITE_BOOL_FIELD(FetchStmt, ismove, ismove, ismove); } static void _outIndexStmt(OUT_TYPE(IndexStmt, IndexStmt) out, const IndexStmt *node) { - WRITE_STRING_FIELD(idxname, idxname, idxname); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_STRING_FIELD(access_method, accessMethod, accessMethod); - WRITE_STRING_FIELD(table_space, tableSpace, tableSpace); - WRITE_LIST_FIELD(index_params, indexParams, indexParams); - WRITE_LIST_FIELD(index_including_params, indexIncludingParams, indexIncludingParams); - WRITE_LIST_FIELD(options, options, options); - WRITE_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - WRITE_LIST_FIELD(exclude_op_names, excludeOpNames, excludeOpNames); - WRITE_STRING_FIELD(idxcomment, idxcomment, idxcomment); - WRITE_UINT_FIELD(index_oid, indexOid, indexOid); - WRITE_UINT_FIELD(old_number, oldNumber, oldNumber); - WRITE_UINT_FIELD(old_create_subid, oldCreateSubid, oldCreateSubid); - WRITE_UINT_FIELD(old_first_relfilelocator_subid, oldFirstRelfilelocatorSubid, oldFirstRelfilelocatorSubid); - WRITE_BOOL_FIELD(unique, unique, unique); - WRITE_BOOL_FIELD(nulls_not_distinct, nulls_not_distinct, nulls_not_distinct); - WRITE_BOOL_FIELD(primary, primary, primary); - WRITE_BOOL_FIELD(isconstraint, isconstraint, isconstraint); - WRITE_BOOL_FIELD(iswithoutoverlaps, iswithoutoverlaps, iswithoutoverlaps); - WRITE_BOOL_FIELD(deferrable, deferrable, deferrable); - WRITE_BOOL_FIELD(initdeferred, initdeferred, initdeferred); - WRITE_BOOL_FIELD(transformed, transformed, transformed); - WRITE_BOOL_FIELD(concurrent, concurrent, concurrent); - WRITE_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); - WRITE_BOOL_FIELD(reset_default_tblspc, reset_default_tblspc, reset_default_tblspc); + WRITE_STRING_FIELD(IndexStmt, idxname, idxname, idxname); + WRITE_SPECIFIC_NODE_PTR_FIELD(IndexStmt, RangeVar, range_var, relation, relation, relation); + WRITE_STRING_FIELD(IndexStmt, access_method, accessMethod, accessMethod); + WRITE_STRING_FIELD(IndexStmt, table_space, tableSpace, tableSpace); + WRITE_LIST_FIELD(IndexStmt, index_params, indexParams, indexParams); + WRITE_LIST_FIELD(IndexStmt, index_including_params, indexIncludingParams, indexIncludingParams); + WRITE_LIST_FIELD(IndexStmt, options, options, options); + WRITE_NODE_PTR_FIELD(IndexStmt, where_clause, whereClause, whereClause); + WRITE_LIST_FIELD(IndexStmt, exclude_op_names, excludeOpNames, excludeOpNames); + WRITE_STRING_FIELD(IndexStmt, idxcomment, idxcomment, idxcomment); + WRITE_UINT_FIELD(IndexStmt, index_oid, indexOid, indexOid); + WRITE_UINT_FIELD(IndexStmt, old_number, oldNumber, oldNumber); + WRITE_UINT_FIELD(IndexStmt, old_create_subid, oldCreateSubid, oldCreateSubid); + WRITE_UINT_FIELD(IndexStmt, old_first_relfilelocator_subid, oldFirstRelfilelocatorSubid, oldFirstRelfilelocatorSubid); + WRITE_BOOL_FIELD(IndexStmt, unique, unique, unique); + WRITE_BOOL_FIELD(IndexStmt, nulls_not_distinct, nulls_not_distinct, nulls_not_distinct); + WRITE_BOOL_FIELD(IndexStmt, primary, primary, primary); + WRITE_BOOL_FIELD(IndexStmt, isconstraint, isconstraint, isconstraint); + WRITE_BOOL_FIELD(IndexStmt, iswithoutoverlaps, iswithoutoverlaps, iswithoutoverlaps); + WRITE_BOOL_FIELD(IndexStmt, deferrable, deferrable, deferrable); + WRITE_BOOL_FIELD(IndexStmt, initdeferred, initdeferred, initdeferred); + WRITE_BOOL_FIELD(IndexStmt, transformed, transformed, transformed); + WRITE_BOOL_FIELD(IndexStmt, concurrent, concurrent, concurrent); + WRITE_BOOL_FIELD(IndexStmt, if_not_exists, if_not_exists, if_not_exists); + WRITE_BOOL_FIELD(IndexStmt, reset_default_tblspc, reset_default_tblspc, reset_default_tblspc); } static void _outCreateStatsStmt(OUT_TYPE(CreateStatsStmt, CreateStatsStmt) out, const CreateStatsStmt *node) { - WRITE_LIST_FIELD(defnames, defnames, defnames); - WRITE_LIST_FIELD(stat_types, stat_types, stat_types); - WRITE_LIST_FIELD(exprs, exprs, exprs); - WRITE_LIST_FIELD(relations, relations, relations); - WRITE_STRING_FIELD(stxcomment, stxcomment, stxcomment); - WRITE_BOOL_FIELD(transformed, transformed, transformed); - WRITE_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); + WRITE_LIST_FIELD(CreateStatsStmt, defnames, defnames, defnames); + WRITE_LIST_FIELD(CreateStatsStmt, stat_types, stat_types, stat_types); + WRITE_LIST_FIELD(CreateStatsStmt, exprs, exprs, exprs); + WRITE_LIST_FIELD(CreateStatsStmt, relations, relations, relations); + WRITE_STRING_FIELD(CreateStatsStmt, stxcomment, stxcomment, stxcomment); + WRITE_BOOL_FIELD(CreateStatsStmt, transformed, transformed, transformed); + WRITE_BOOL_FIELD(CreateStatsStmt, if_not_exists, if_not_exists, if_not_exists); } static void _outStatsElem(OUT_TYPE(StatsElem, StatsElem) out, const StatsElem *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_NODE_PTR_FIELD(expr, expr, expr); + WRITE_STRING_FIELD(StatsElem, name, name, name); + WRITE_NODE_PTR_FIELD(StatsElem, expr, expr, expr); } static void _outAlterStatsStmt(OUT_TYPE(AlterStatsStmt, AlterStatsStmt) out, const AlterStatsStmt *node) { - WRITE_LIST_FIELD(defnames, defnames, defnames); - WRITE_NODE_PTR_FIELD(stxstattarget, stxstattarget, stxstattarget); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + WRITE_LIST_FIELD(AlterStatsStmt, defnames, defnames, defnames); + WRITE_NODE_PTR_FIELD(AlterStatsStmt, stxstattarget, stxstattarget, stxstattarget); + WRITE_BOOL_FIELD(AlterStatsStmt, missing_ok, missing_ok, missing_ok); } static void _outCreateFunctionStmt(OUT_TYPE(CreateFunctionStmt, CreateFunctionStmt) out, const CreateFunctionStmt *node) { - WRITE_BOOL_FIELD(is_procedure, is_procedure, is_procedure); - WRITE_BOOL_FIELD(replace, replace, replace); - WRITE_LIST_FIELD(funcname, funcname, funcname); - WRITE_LIST_FIELD(parameters, parameters, parameters); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, return_type, returnType, returnType); - WRITE_LIST_FIELD(options, options, options); - WRITE_NODE_PTR_FIELD(sql_body, sql_body, sql_body); + WRITE_BOOL_FIELD(CreateFunctionStmt, is_procedure, is_procedure, is_procedure); + WRITE_BOOL_FIELD(CreateFunctionStmt, replace, replace, replace); + WRITE_LIST_FIELD(CreateFunctionStmt, funcname, funcname, funcname); + WRITE_LIST_FIELD(CreateFunctionStmt, parameters, parameters, parameters); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateFunctionStmt, TypeName, type_name, return_type, returnType, returnType); + WRITE_LIST_FIELD(CreateFunctionStmt, options, options, options); + WRITE_NODE_PTR_FIELD(CreateFunctionStmt, sql_body, sql_body, sql_body); } static void _outFunctionParameter(OUT_TYPE(FunctionParameter, FunctionParameter) out, const FunctionParameter *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, arg_type, argType, argType); - WRITE_ENUM_FIELD(FunctionParameterMode, mode, mode, mode); - WRITE_NODE_PTR_FIELD(defexpr, defexpr, defexpr); - WRITE_INT_FIELD(location, location, location); + WRITE_STRING_FIELD(FunctionParameter, name, name, name); + WRITE_SPECIFIC_NODE_PTR_FIELD(FunctionParameter, TypeName, type_name, arg_type, argType, argType); + WRITE_ENUM_FIELD(FunctionParameter, FunctionParameterMode, mode, mode, mode); + WRITE_NODE_PTR_FIELD(FunctionParameter, defexpr, defexpr, defexpr); + WRITE_INT_FIELD(FunctionParameter, location, location, location); } static void _outAlterFunctionStmt(OUT_TYPE(AlterFunctionStmt, AlterFunctionStmt) out, const AlterFunctionStmt *node) { - WRITE_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - WRITE_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, func, func, func); - WRITE_LIST_FIELD(actions, actions, actions); + WRITE_ENUM_FIELD(AlterFunctionStmt, ObjectType, objtype, objtype, objtype); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterFunctionStmt, ObjectWithArgs, object_with_args, func, func, func); + WRITE_LIST_FIELD(AlterFunctionStmt, actions, actions, actions); } static void _outDoStmt(OUT_TYPE(DoStmt, DoStmt) out, const DoStmt *node) { - WRITE_LIST_FIELD(args, args, args); + WRITE_LIST_FIELD(DoStmt, args, args, args); } static void _outInlineCodeBlock(OUT_TYPE(InlineCodeBlock, InlineCodeBlock) out, const InlineCodeBlock *node) { - WRITE_STRING_FIELD(source_text, source_text, source_text); - WRITE_UINT_FIELD(lang_oid, langOid, langOid); - WRITE_BOOL_FIELD(lang_is_trusted, langIsTrusted, langIsTrusted); - WRITE_BOOL_FIELD(atomic, atomic, atomic); + WRITE_STRING_FIELD(InlineCodeBlock, source_text, source_text, source_text); + WRITE_UINT_FIELD(InlineCodeBlock, lang_oid, langOid, langOid); + WRITE_BOOL_FIELD(InlineCodeBlock, lang_is_trusted, langIsTrusted, langIsTrusted); + WRITE_BOOL_FIELD(InlineCodeBlock, atomic, atomic, atomic); } static void _outCallStmt(OUT_TYPE(CallStmt, CallStmt) out, const CallStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(FuncCall, func_call, funccall, funccall, funccall); - WRITE_SPECIFIC_NODE_PTR_FIELD(FuncExpr, func_expr, funcexpr, funcexpr, funcexpr); - WRITE_LIST_FIELD(outargs, outargs, outargs); + WRITE_SPECIFIC_NODE_PTR_FIELD(CallStmt, FuncCall, func_call, funccall, funccall, funccall); + WRITE_SPECIFIC_NODE_PTR_FIELD(CallStmt, FuncExpr, func_expr, funcexpr, funcexpr, funcexpr); + WRITE_LIST_FIELD(CallStmt, outargs, outargs, outargs); } static void _outCallContext(OUT_TYPE(CallContext, CallContext) out, const CallContext *node) { - WRITE_BOOL_FIELD(atomic, atomic, atomic); + WRITE_BOOL_FIELD(CallContext, atomic, atomic, atomic); } static void _outRenameStmt(OUT_TYPE(RenameStmt, RenameStmt) out, const RenameStmt *node) { - WRITE_ENUM_FIELD(ObjectType, rename_type, renameType, renameType); - WRITE_ENUM_FIELD(ObjectType, relation_type, relationType, relationType); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_NODE_PTR_FIELD(object, object, object); - WRITE_STRING_FIELD(subname, subname, subname); - WRITE_STRING_FIELD(newname, newname, newname); - WRITE_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + WRITE_ENUM_FIELD(RenameStmt, ObjectType, rename_type, renameType, renameType); + WRITE_ENUM_FIELD(RenameStmt, ObjectType, relation_type, relationType, relationType); + WRITE_SPECIFIC_NODE_PTR_FIELD(RenameStmt, RangeVar, range_var, relation, relation, relation); + WRITE_NODE_PTR_FIELD(RenameStmt, object, object, object); + WRITE_STRING_FIELD(RenameStmt, subname, subname, subname); + WRITE_STRING_FIELD(RenameStmt, newname, newname, newname); + WRITE_ENUM_FIELD(RenameStmt, DropBehavior, behavior, behavior, behavior); + WRITE_BOOL_FIELD(RenameStmt, missing_ok, missing_ok, missing_ok); } static void _outAlterObjectDependsStmt(OUT_TYPE(AlterObjectDependsStmt, AlterObjectDependsStmt) out, const AlterObjectDependsStmt *node) { - WRITE_ENUM_FIELD(ObjectType, object_type, objectType, objectType); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_NODE_PTR_FIELD(object, object, object); - WRITE_SPECIFIC_NODE_PTR_FIELD(String, string, extname, extname, extname); - WRITE_BOOL_FIELD(remove, remove, remove); + WRITE_ENUM_FIELD(AlterObjectDependsStmt, ObjectType, object_type, objectType, objectType); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterObjectDependsStmt, RangeVar, range_var, relation, relation, relation); + WRITE_NODE_PTR_FIELD(AlterObjectDependsStmt, object, object, object); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterObjectDependsStmt, String, string, extname, extname, extname); + WRITE_BOOL_FIELD(AlterObjectDependsStmt, remove, remove, remove); } static void _outAlterObjectSchemaStmt(OUT_TYPE(AlterObjectSchemaStmt, AlterObjectSchemaStmt) out, const AlterObjectSchemaStmt *node) { - WRITE_ENUM_FIELD(ObjectType, object_type, objectType, objectType); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_NODE_PTR_FIELD(object, object, object); - WRITE_STRING_FIELD(newschema, newschema, newschema); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + WRITE_ENUM_FIELD(AlterObjectSchemaStmt, ObjectType, object_type, objectType, objectType); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterObjectSchemaStmt, RangeVar, range_var, relation, relation, relation); + WRITE_NODE_PTR_FIELD(AlterObjectSchemaStmt, object, object, object); + WRITE_STRING_FIELD(AlterObjectSchemaStmt, newschema, newschema, newschema); + WRITE_BOOL_FIELD(AlterObjectSchemaStmt, missing_ok, missing_ok, missing_ok); } static void _outAlterOwnerStmt(OUT_TYPE(AlterOwnerStmt, AlterOwnerStmt) out, const AlterOwnerStmt *node) { - WRITE_ENUM_FIELD(ObjectType, object_type, objectType, objectType); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_NODE_PTR_FIELD(object, object, object); - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, newowner, newowner, newowner); + WRITE_ENUM_FIELD(AlterOwnerStmt, ObjectType, object_type, objectType, objectType); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterOwnerStmt, RangeVar, range_var, relation, relation, relation); + WRITE_NODE_PTR_FIELD(AlterOwnerStmt, object, object, object); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterOwnerStmt, RoleSpec, role_spec, newowner, newowner, newowner); } static void _outAlterOperatorStmt(OUT_TYPE(AlterOperatorStmt, AlterOperatorStmt) out, const AlterOperatorStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, opername, opername, opername); - WRITE_LIST_FIELD(options, options, options); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterOperatorStmt, ObjectWithArgs, object_with_args, opername, opername, opername); + WRITE_LIST_FIELD(AlterOperatorStmt, options, options, options); } static void _outAlterTypeStmt(OUT_TYPE(AlterTypeStmt, AlterTypeStmt) out, const AlterTypeStmt *node) { - WRITE_LIST_FIELD(type_name, typeName, typeName); - WRITE_LIST_FIELD(options, options, options); + WRITE_LIST_FIELD(AlterTypeStmt, type_name, typeName, typeName); + WRITE_LIST_FIELD(AlterTypeStmt, options, options, options); } static void _outRuleStmt(OUT_TYPE(RuleStmt, RuleStmt) out, const RuleStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_STRING_FIELD(rulename, rulename, rulename); - WRITE_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - WRITE_ENUM_FIELD(CmdType, event, event, event); - WRITE_BOOL_FIELD(instead, instead, instead); - WRITE_LIST_FIELD(actions, actions, actions); - WRITE_BOOL_FIELD(replace, replace, replace); + WRITE_SPECIFIC_NODE_PTR_FIELD(RuleStmt, RangeVar, range_var, relation, relation, relation); + WRITE_STRING_FIELD(RuleStmt, rulename, rulename, rulename); + WRITE_NODE_PTR_FIELD(RuleStmt, where_clause, whereClause, whereClause); + WRITE_ENUM_FIELD(RuleStmt, CmdType, event, event, event); + WRITE_BOOL_FIELD(RuleStmt, instead, instead, instead); + WRITE_LIST_FIELD(RuleStmt, actions, actions, actions); + WRITE_BOOL_FIELD(RuleStmt, replace, replace, replace); } static void _outNotifyStmt(OUT_TYPE(NotifyStmt, NotifyStmt) out, const NotifyStmt *node) { - WRITE_STRING_FIELD(conditionname, conditionname, conditionname); - WRITE_STRING_FIELD(payload, payload, payload); + WRITE_STRING_FIELD(NotifyStmt, conditionname, conditionname, conditionname); + WRITE_STRING_FIELD(NotifyStmt, payload, payload, payload); + WRITE_INT_FIELD(NotifyStmt, payload_location, payload_location, payload_location); } static void _outListenStmt(OUT_TYPE(ListenStmt, ListenStmt) out, const ListenStmt *node) { - WRITE_STRING_FIELD(conditionname, conditionname, conditionname); + WRITE_STRING_FIELD(ListenStmt, conditionname, conditionname, conditionname); } static void _outUnlistenStmt(OUT_TYPE(UnlistenStmt, UnlistenStmt) out, const UnlistenStmt *node) { - WRITE_STRING_FIELD(conditionname, conditionname, conditionname); + WRITE_STRING_FIELD(UnlistenStmt, conditionname, conditionname, conditionname); } static void _outTransactionStmt(OUT_TYPE(TransactionStmt, TransactionStmt) out, const TransactionStmt *node) { - WRITE_ENUM_FIELD(TransactionStmtKind, kind, kind, kind); - WRITE_LIST_FIELD(options, options, options); - WRITE_STRING_FIELD(savepoint_name, savepoint_name, savepoint_name); - WRITE_STRING_FIELD(gid, gid, gid); - WRITE_BOOL_FIELD(chain, chain, chain); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(TransactionStmt, TransactionStmtKind, kind, kind, kind); + WRITE_LIST_FIELD(TransactionStmt, options, options, options); + WRITE_STRING_FIELD(TransactionStmt, savepoint_name, savepoint_name, savepoint_name); + WRITE_STRING_FIELD(TransactionStmt, gid, gid, gid); + WRITE_BOOL_FIELD(TransactionStmt, chain, chain, chain); + WRITE_INT_FIELD(TransactionStmt, location, location, location); } static void _outCompositeTypeStmt(OUT_TYPE(CompositeTypeStmt, CompositeTypeStmt) out, const CompositeTypeStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, typevar, typevar, typevar); - WRITE_LIST_FIELD(coldeflist, coldeflist, coldeflist); + WRITE_SPECIFIC_NODE_PTR_FIELD(CompositeTypeStmt, RangeVar, range_var, typevar, typevar, typevar); + WRITE_LIST_FIELD(CompositeTypeStmt, coldeflist, coldeflist, coldeflist); } static void _outCreateEnumStmt(OUT_TYPE(CreateEnumStmt, CreateEnumStmt) out, const CreateEnumStmt *node) { - WRITE_LIST_FIELD(type_name, typeName, typeName); - WRITE_LIST_FIELD(vals, vals, vals); + WRITE_LIST_FIELD(CreateEnumStmt, type_name, typeName, typeName); + WRITE_LIST_FIELD(CreateEnumStmt, vals, vals, vals); } static void _outCreateRangeStmt(OUT_TYPE(CreateRangeStmt, CreateRangeStmt) out, const CreateRangeStmt *node) { - WRITE_LIST_FIELD(type_name, typeName, typeName); - WRITE_LIST_FIELD(params, params, params); + WRITE_LIST_FIELD(CreateRangeStmt, type_name, typeName, typeName); + WRITE_LIST_FIELD(CreateRangeStmt, params, params, params); } static void _outAlterEnumStmt(OUT_TYPE(AlterEnumStmt, AlterEnumStmt) out, const AlterEnumStmt *node) { - WRITE_LIST_FIELD(type_name, typeName, typeName); - WRITE_STRING_FIELD(old_val, oldVal, oldVal); - WRITE_STRING_FIELD(new_val, newVal, newVal); - WRITE_STRING_FIELD(new_val_neighbor, newValNeighbor, newValNeighbor); - WRITE_BOOL_FIELD(new_val_is_after, newValIsAfter, newValIsAfter); - WRITE_BOOL_FIELD(skip_if_new_val_exists, skipIfNewValExists, skipIfNewValExists); + WRITE_LIST_FIELD(AlterEnumStmt, type_name, typeName, typeName); + WRITE_STRING_FIELD(AlterEnumStmt, old_val, oldVal, oldVal); + WRITE_STRING_FIELD(AlterEnumStmt, new_val, newVal, newVal); + WRITE_STRING_FIELD(AlterEnumStmt, new_val_neighbor, newValNeighbor, newValNeighbor); + WRITE_BOOL_FIELD(AlterEnumStmt, new_val_is_after, newValIsAfter, newValIsAfter); + WRITE_BOOL_FIELD(AlterEnumStmt, skip_if_new_val_exists, skipIfNewValExists, skipIfNewValExists); } static void _outViewStmt(OUT_TYPE(ViewStmt, ViewStmt) out, const ViewStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, view, view, view); - WRITE_LIST_FIELD(aliases, aliases, aliases); - WRITE_NODE_PTR_FIELD(query, query, query); - WRITE_BOOL_FIELD(replace, replace, replace); - WRITE_LIST_FIELD(options, options, options); - WRITE_ENUM_FIELD(ViewCheckOption, with_check_option, withCheckOption, withCheckOption); + WRITE_SPECIFIC_NODE_PTR_FIELD(ViewStmt, RangeVar, range_var, view, view, view); + WRITE_LIST_FIELD(ViewStmt, aliases, aliases, aliases); + WRITE_NODE_PTR_FIELD(ViewStmt, query, query, query); + WRITE_BOOL_FIELD(ViewStmt, replace, replace, replace); + WRITE_LIST_FIELD(ViewStmt, options, options, options); + WRITE_ENUM_FIELD(ViewStmt, ViewCheckOption, with_check_option, withCheckOption, withCheckOption); } static void _outLoadStmt(OUT_TYPE(LoadStmt, LoadStmt) out, const LoadStmt *node) { - WRITE_STRING_FIELD(filename, filename, filename); + WRITE_STRING_FIELD(LoadStmt, filename, filename, filename); } static void _outCreatedbStmt(OUT_TYPE(CreatedbStmt, CreatedbStmt) out, const CreatedbStmt *node) { - WRITE_STRING_FIELD(dbname, dbname, dbname); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(CreatedbStmt, dbname, dbname, dbname); + WRITE_LIST_FIELD(CreatedbStmt, options, options, options); } static void _outAlterDatabaseStmt(OUT_TYPE(AlterDatabaseStmt, AlterDatabaseStmt) out, const AlterDatabaseStmt *node) { - WRITE_STRING_FIELD(dbname, dbname, dbname); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(AlterDatabaseStmt, dbname, dbname, dbname); + WRITE_LIST_FIELD(AlterDatabaseStmt, options, options, options); } static void _outAlterDatabaseRefreshCollStmt(OUT_TYPE(AlterDatabaseRefreshCollStmt, AlterDatabaseRefreshCollStmt) out, const AlterDatabaseRefreshCollStmt *node) { - WRITE_STRING_FIELD(dbname, dbname, dbname); + WRITE_STRING_FIELD(AlterDatabaseRefreshCollStmt, dbname, dbname, dbname); } static void _outAlterDatabaseSetStmt(OUT_TYPE(AlterDatabaseSetStmt, AlterDatabaseSetStmt) out, const AlterDatabaseSetStmt *node) { - WRITE_STRING_FIELD(dbname, dbname, dbname); - WRITE_SPECIFIC_NODE_PTR_FIELD(VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); + WRITE_STRING_FIELD(AlterDatabaseSetStmt, dbname, dbname, dbname); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterDatabaseSetStmt, VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); } static void _outDropdbStmt(OUT_TYPE(DropdbStmt, DropdbStmt) out, const DropdbStmt *node) { - WRITE_STRING_FIELD(dbname, dbname, dbname); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(DropdbStmt, dbname, dbname, dbname); + WRITE_BOOL_FIELD(DropdbStmt, missing_ok, missing_ok, missing_ok); + WRITE_LIST_FIELD(DropdbStmt, options, options, options); } static void _outAlterSystemStmt(OUT_TYPE(AlterSystemStmt, AlterSystemStmt) out, const AlterSystemStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); + WRITE_SPECIFIC_NODE_PTR_FIELD(AlterSystemStmt, VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); } static void _outClusterStmt(OUT_TYPE(ClusterStmt, ClusterStmt) out, const ClusterStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_STRING_FIELD(indexname, indexname, indexname); - WRITE_LIST_FIELD(params, params, params); + WRITE_SPECIFIC_NODE_PTR_FIELD(ClusterStmt, RangeVar, range_var, relation, relation, relation); + WRITE_STRING_FIELD(ClusterStmt, indexname, indexname, indexname); + WRITE_LIST_FIELD(ClusterStmt, params, params, params); } static void _outVacuumStmt(OUT_TYPE(VacuumStmt, VacuumStmt) out, const VacuumStmt *node) { - WRITE_LIST_FIELD(options, options, options); - WRITE_LIST_FIELD(rels, rels, rels); - WRITE_BOOL_FIELD(is_vacuumcmd, is_vacuumcmd, is_vacuumcmd); + WRITE_LIST_FIELD(VacuumStmt, options, options, options); + WRITE_LIST_FIELD(VacuumStmt, rels, rels, rels); + WRITE_BOOL_FIELD(VacuumStmt, is_vacuumcmd, is_vacuumcmd, is_vacuumcmd); } static void _outVacuumRelation(OUT_TYPE(VacuumRelation, VacuumRelation) out, const VacuumRelation *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_UINT_FIELD(oid, oid, oid); - WRITE_LIST_FIELD(va_cols, va_cols, va_cols); + WRITE_SPECIFIC_NODE_PTR_FIELD(VacuumRelation, RangeVar, range_var, relation, relation, relation); + WRITE_UINT_FIELD(VacuumRelation, oid, oid, oid); + WRITE_LIST_FIELD(VacuumRelation, va_cols, va_cols, va_cols); } static void _outExplainStmt(OUT_TYPE(ExplainStmt, ExplainStmt) out, const ExplainStmt *node) { - WRITE_NODE_PTR_FIELD(query, query, query); - WRITE_LIST_FIELD(options, options, options); + WRITE_NODE_PTR_FIELD(ExplainStmt, query, query, query); + WRITE_LIST_FIELD(ExplainStmt, options, options, options); } static void _outCreateTableAsStmt(OUT_TYPE(CreateTableAsStmt, CreateTableAsStmt) out, const CreateTableAsStmt *node) { - WRITE_NODE_PTR_FIELD(query, query, query); - WRITE_SPECIFIC_NODE_PTR_FIELD(IntoClause, into_clause, into, into, into); - WRITE_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - WRITE_BOOL_FIELD(is_select_into, is_select_into, is_select_into); - WRITE_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); + WRITE_NODE_PTR_FIELD(CreateTableAsStmt, query, query, query); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateTableAsStmt, IntoClause, into_clause, into, into, into); + WRITE_ENUM_FIELD(CreateTableAsStmt, ObjectType, objtype, objtype, objtype); + WRITE_BOOL_FIELD(CreateTableAsStmt, is_select_into, is_select_into, is_select_into); + WRITE_BOOL_FIELD(CreateTableAsStmt, if_not_exists, if_not_exists, if_not_exists); } static void _outRefreshMatViewStmt(OUT_TYPE(RefreshMatViewStmt, RefreshMatViewStmt) out, const RefreshMatViewStmt *node) { - WRITE_BOOL_FIELD(concurrent, concurrent, concurrent); - WRITE_BOOL_FIELD(skip_data, skipData, skipData); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); + WRITE_BOOL_FIELD(RefreshMatViewStmt, concurrent, concurrent, concurrent); + WRITE_BOOL_FIELD(RefreshMatViewStmt, skip_data, skipData, skipData); + WRITE_SPECIFIC_NODE_PTR_FIELD(RefreshMatViewStmt, RangeVar, range_var, relation, relation, relation); } static void @@ -2761,179 +2763,181 @@ _outCheckPointStmt(OUT_TYPE(CheckPointStmt, CheckPointStmt) out, const CheckPoin static void _outDiscardStmt(OUT_TYPE(DiscardStmt, DiscardStmt) out, const DiscardStmt *node) { - WRITE_ENUM_FIELD(DiscardMode, target, target, target); + WRITE_ENUM_FIELD(DiscardStmt, DiscardMode, target, target, target); } static void _outLockStmt(OUT_TYPE(LockStmt, LockStmt) out, const LockStmt *node) { - WRITE_LIST_FIELD(relations, relations, relations); - WRITE_INT_FIELD(mode, mode, mode); - WRITE_BOOL_FIELD(nowait, nowait, nowait); + WRITE_LIST_FIELD(LockStmt, relations, relations, relations); + WRITE_INT_FIELD(LockStmt, mode, mode, mode); + WRITE_BOOL_FIELD(LockStmt, nowait, nowait, nowait); } static void _outConstraintsSetStmt(OUT_TYPE(ConstraintsSetStmt, ConstraintsSetStmt) out, const ConstraintsSetStmt *node) { - WRITE_LIST_FIELD(constraints, constraints, constraints); - WRITE_BOOL_FIELD(deferred, deferred, deferred); + WRITE_LIST_FIELD(ConstraintsSetStmt, constraints, constraints, constraints); + WRITE_BOOL_FIELD(ConstraintsSetStmt, deferred, deferred, deferred); } static void _outReindexStmt(OUT_TYPE(ReindexStmt, ReindexStmt) out, const ReindexStmt *node) { - WRITE_ENUM_FIELD(ReindexObjectType, kind, kind, kind); - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_STRING_FIELD(name, name, name); - WRITE_LIST_FIELD(params, params, params); + WRITE_ENUM_FIELD(ReindexStmt, ReindexObjectType, kind, kind, kind); + WRITE_SPECIFIC_NODE_PTR_FIELD(ReindexStmt, RangeVar, range_var, relation, relation, relation); + WRITE_STRING_FIELD(ReindexStmt, name, name, name); + WRITE_LIST_FIELD(ReindexStmt, params, params, params); } static void _outCreateConversionStmt(OUT_TYPE(CreateConversionStmt, CreateConversionStmt) out, const CreateConversionStmt *node) { - WRITE_LIST_FIELD(conversion_name, conversion_name, conversion_name); - WRITE_STRING_FIELD(for_encoding_name, for_encoding_name, for_encoding_name); - WRITE_STRING_FIELD(to_encoding_name, to_encoding_name, to_encoding_name); - WRITE_LIST_FIELD(func_name, func_name, func_name); - WRITE_BOOL_FIELD(def, def, def); + WRITE_LIST_FIELD(CreateConversionStmt, conversion_name, conversion_name, conversion_name); + WRITE_STRING_FIELD(CreateConversionStmt, for_encoding_name, for_encoding_name, for_encoding_name); + WRITE_STRING_FIELD(CreateConversionStmt, to_encoding_name, to_encoding_name, to_encoding_name); + WRITE_LIST_FIELD(CreateConversionStmt, func_name, func_name, func_name); + WRITE_BOOL_FIELD(CreateConversionStmt, def, def, def); } static void _outCreateCastStmt(OUT_TYPE(CreateCastStmt, CreateCastStmt) out, const CreateCastStmt *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, sourcetype, sourcetype, sourcetype); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, targettype, targettype, targettype); - WRITE_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, func, func, func); - WRITE_ENUM_FIELD(CoercionContext, context, context, context); - WRITE_BOOL_FIELD(inout, inout, inout); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateCastStmt, TypeName, type_name, sourcetype, sourcetype, sourcetype); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateCastStmt, TypeName, type_name, targettype, targettype, targettype); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateCastStmt, ObjectWithArgs, object_with_args, func, func, func); + WRITE_ENUM_FIELD(CreateCastStmt, CoercionContext, context, context, context); + WRITE_BOOL_FIELD(CreateCastStmt, inout, inout, inout); } static void _outCreateTransformStmt(OUT_TYPE(CreateTransformStmt, CreateTransformStmt) out, const CreateTransformStmt *node) { - WRITE_BOOL_FIELD(replace, replace, replace); - WRITE_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, type_name, type_name); - WRITE_STRING_FIELD(lang, lang, lang); - WRITE_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, fromsql, fromsql, fromsql); - WRITE_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, tosql, tosql, tosql); + WRITE_BOOL_FIELD(CreateTransformStmt, replace, replace, replace); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateTransformStmt, TypeName, type_name, type_name, type_name, type_name); + WRITE_STRING_FIELD(CreateTransformStmt, lang, lang, lang); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateTransformStmt, ObjectWithArgs, object_with_args, fromsql, fromsql, fromsql); + WRITE_SPECIFIC_NODE_PTR_FIELD(CreateTransformStmt, ObjectWithArgs, object_with_args, tosql, tosql, tosql); } static void _outPrepareStmt(OUT_TYPE(PrepareStmt, PrepareStmt) out, const PrepareStmt *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_LIST_FIELD(argtypes, argtypes, argtypes); - WRITE_NODE_PTR_FIELD(query, query, query); + WRITE_STRING_FIELD(PrepareStmt, name, name, name); + WRITE_LIST_FIELD(PrepareStmt, argtypes, argtypes, argtypes); + WRITE_NODE_PTR_FIELD(PrepareStmt, query, query, query); } static void _outExecuteStmt(OUT_TYPE(ExecuteStmt, ExecuteStmt) out, const ExecuteStmt *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_LIST_FIELD(params, params, params); + WRITE_STRING_FIELD(ExecuteStmt, name, name, name); + WRITE_LIST_FIELD(ExecuteStmt, params, params, params); } static void _outDeallocateStmt(OUT_TYPE(DeallocateStmt, DeallocateStmt) out, const DeallocateStmt *node) { - WRITE_STRING_FIELD(name, name, name); - WRITE_BOOL_FIELD(isall, isall, isall); - WRITE_INT_FIELD(location, location, location); + WRITE_STRING_FIELD(DeallocateStmt, name, name, name); + WRITE_BOOL_FIELD(DeallocateStmt, isall, isall, isall); + WRITE_INT_FIELD(DeallocateStmt, location, location, location); } static void _outDropOwnedStmt(OUT_TYPE(DropOwnedStmt, DropOwnedStmt) out, const DropOwnedStmt *node) { - WRITE_LIST_FIELD(roles, roles, roles); - WRITE_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); + WRITE_LIST_FIELD(DropOwnedStmt, roles, roles, roles); + WRITE_ENUM_FIELD(DropOwnedStmt, DropBehavior, behavior, behavior, behavior); } static void _outReassignOwnedStmt(OUT_TYPE(ReassignOwnedStmt, ReassignOwnedStmt) out, const ReassignOwnedStmt *node) { - WRITE_LIST_FIELD(roles, roles, roles); - WRITE_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, newrole, newrole, newrole); + WRITE_LIST_FIELD(ReassignOwnedStmt, roles, roles, roles); + WRITE_SPECIFIC_NODE_PTR_FIELD(ReassignOwnedStmt, RoleSpec, role_spec, newrole, newrole, newrole); } static void _outAlterTSDictionaryStmt(OUT_TYPE(AlterTSDictionaryStmt, AlterTSDictionaryStmt) out, const AlterTSDictionaryStmt *node) { - WRITE_LIST_FIELD(dictname, dictname, dictname); - WRITE_LIST_FIELD(options, options, options); + WRITE_LIST_FIELD(AlterTSDictionaryStmt, dictname, dictname, dictname); + WRITE_LIST_FIELD(AlterTSDictionaryStmt, options, options, options); } static void _outAlterTSConfigurationStmt(OUT_TYPE(AlterTSConfigurationStmt, AlterTSConfigurationStmt) out, const AlterTSConfigurationStmt *node) { - WRITE_ENUM_FIELD(AlterTSConfigType, kind, kind, kind); - WRITE_LIST_FIELD(cfgname, cfgname, cfgname); - WRITE_LIST_FIELD(tokentype, tokentype, tokentype); - WRITE_LIST_FIELD(dicts, dicts, dicts); - WRITE_BOOL_FIELD(override, override, override); - WRITE_BOOL_FIELD(replace, replace, replace); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + WRITE_ENUM_FIELD(AlterTSConfigurationStmt, AlterTSConfigType, kind, kind, kind); + WRITE_LIST_FIELD(AlterTSConfigurationStmt, cfgname, cfgname, cfgname); + WRITE_LIST_FIELD(AlterTSConfigurationStmt, tokentype, tokentype, tokentype); + WRITE_LIST_FIELD(AlterTSConfigurationStmt, dicts, dicts, dicts); + WRITE_BOOL_FIELD(AlterTSConfigurationStmt, override, override, override); + WRITE_BOOL_FIELD(AlterTSConfigurationStmt, replace, replace, replace); + WRITE_BOOL_FIELD(AlterTSConfigurationStmt, missing_ok, missing_ok, missing_ok); } static void _outPublicationTable(OUT_TYPE(PublicationTable, PublicationTable) out, const PublicationTable *node) { - WRITE_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - WRITE_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - WRITE_LIST_FIELD(columns, columns, columns); + WRITE_SPECIFIC_NODE_PTR_FIELD(PublicationTable, RangeVar, range_var, relation, relation, relation); + WRITE_NODE_PTR_FIELD(PublicationTable, where_clause, whereClause, whereClause); + WRITE_LIST_FIELD(PublicationTable, columns, columns, columns); } static void _outPublicationObjSpec(OUT_TYPE(PublicationObjSpec, PublicationObjSpec) out, const PublicationObjSpec *node) { - WRITE_ENUM_FIELD(PublicationObjSpecType, pubobjtype, pubobjtype, pubobjtype); - WRITE_STRING_FIELD(name, name, name); - WRITE_SPECIFIC_NODE_PTR_FIELD(PublicationTable, publication_table, pubtable, pubtable, pubtable); - WRITE_INT_FIELD(location, location, location); + WRITE_ENUM_FIELD(PublicationObjSpec, PublicationObjSpecType, pubobjtype, pubobjtype, pubobjtype); + WRITE_STRING_FIELD(PublicationObjSpec, name, name, name); + WRITE_SPECIFIC_NODE_PTR_FIELD(PublicationObjSpec, PublicationTable, publication_table, pubtable, pubtable, pubtable); + WRITE_INT_FIELD(PublicationObjSpec, location, location, location); } static void _outCreatePublicationStmt(OUT_TYPE(CreatePublicationStmt, CreatePublicationStmt) out, const CreatePublicationStmt *node) { - WRITE_STRING_FIELD(pubname, pubname, pubname); - WRITE_LIST_FIELD(options, options, options); - WRITE_LIST_FIELD(pubobjects, pubobjects, pubobjects); - WRITE_BOOL_FIELD(for_all_tables, for_all_tables, for_all_tables); + WRITE_STRING_FIELD(CreatePublicationStmt, pubname, pubname, pubname); + WRITE_LIST_FIELD(CreatePublicationStmt, options, options, options); + WRITE_LIST_FIELD(CreatePublicationStmt, pubobjects, pubobjects, pubobjects); + WRITE_BOOL_FIELD(CreatePublicationStmt, for_all_tables, for_all_tables, for_all_tables); } static void _outAlterPublicationStmt(OUT_TYPE(AlterPublicationStmt, AlterPublicationStmt) out, const AlterPublicationStmt *node) { - WRITE_STRING_FIELD(pubname, pubname, pubname); - WRITE_LIST_FIELD(options, options, options); - WRITE_LIST_FIELD(pubobjects, pubobjects, pubobjects); - WRITE_BOOL_FIELD(for_all_tables, for_all_tables, for_all_tables); - WRITE_ENUM_FIELD(AlterPublicationAction, action, action, action); + WRITE_STRING_FIELD(AlterPublicationStmt, pubname, pubname, pubname); + WRITE_LIST_FIELD(AlterPublicationStmt, options, options, options); + WRITE_LIST_FIELD(AlterPublicationStmt, pubobjects, pubobjects, pubobjects); + WRITE_BOOL_FIELD(AlterPublicationStmt, for_all_tables, for_all_tables, for_all_tables); + WRITE_ENUM_FIELD(AlterPublicationStmt, AlterPublicationAction, action, action, action); } static void _outCreateSubscriptionStmt(OUT_TYPE(CreateSubscriptionStmt, CreateSubscriptionStmt) out, const CreateSubscriptionStmt *node) { - WRITE_STRING_FIELD(subname, subname, subname); - WRITE_STRING_FIELD(conninfo, conninfo, conninfo); - WRITE_LIST_FIELD(publication, publication, publication); - WRITE_LIST_FIELD(options, options, options); + WRITE_STRING_FIELD(CreateSubscriptionStmt, subname, subname, subname); + WRITE_STRING_FIELD(CreateSubscriptionStmt, conninfo, conninfo, conninfo); + WRITE_LIST_FIELD(CreateSubscriptionStmt, publication, publication, publication); + WRITE_LIST_FIELD(CreateSubscriptionStmt, options, options, options); + WRITE_INT_FIELD(CreateSubscriptionStmt, conninfo_location, conninfo_location, conninfo_location); } static void _outAlterSubscriptionStmt(OUT_TYPE(AlterSubscriptionStmt, AlterSubscriptionStmt) out, const AlterSubscriptionStmt *node) { - WRITE_ENUM_FIELD(AlterSubscriptionType, kind, kind, kind); - WRITE_STRING_FIELD(subname, subname, subname); - WRITE_STRING_FIELD(conninfo, conninfo, conninfo); - WRITE_LIST_FIELD(publication, publication, publication); - WRITE_LIST_FIELD(options, options, options); + WRITE_ENUM_FIELD(AlterSubscriptionStmt, AlterSubscriptionType, kind, kind, kind); + WRITE_STRING_FIELD(AlterSubscriptionStmt, subname, subname, subname); + WRITE_STRING_FIELD(AlterSubscriptionStmt, conninfo, conninfo, conninfo); + WRITE_LIST_FIELD(AlterSubscriptionStmt, publication, publication, publication); + WRITE_LIST_FIELD(AlterSubscriptionStmt, options, options, options); + WRITE_INT_FIELD(AlterSubscriptionStmt, conninfo_location, conninfo_location, conninfo_location); } static void _outDropSubscriptionStmt(OUT_TYPE(DropSubscriptionStmt, DropSubscriptionStmt) out, const DropSubscriptionStmt *node) { - WRITE_STRING_FIELD(subname, subname, subname); - WRITE_BOOL_FIELD(missing_ok, missing_ok, missing_ok); - WRITE_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); + WRITE_STRING_FIELD(DropSubscriptionStmt, subname, subname, subname); + WRITE_BOOL_FIELD(DropSubscriptionStmt, missing_ok, missing_ok, missing_ok); + WRITE_ENUM_FIELD(DropSubscriptionStmt, DropBehavior, behavior, behavior, behavior); } diff --git a/src/include/pg_query_readfuncs_defs.c b/src/include/pg_query_readfuncs_defs.c index 2f075e275..b9d8d5c70 100644 --- a/src/include/pg_query_readfuncs_defs.c +++ b/src/include/pg_query_readfuncs_defs.c @@ -1,3464 +1,3468 @@ // This file is autogenerated by ./scripts/generate_protobuf_and_funcs.rb -static Alias * _readAlias(OUT_TYPE(Alias, Alias) msg); -static RangeVar * _readRangeVar(OUT_TYPE(RangeVar, RangeVar) msg); -static TableFunc * _readTableFunc(OUT_TYPE(TableFunc, TableFunc) msg); -static IntoClause * _readIntoClause(OUT_TYPE(IntoClause, IntoClause) msg); -static Var * _readVar(OUT_TYPE(Var, Var) msg); -static Param * _readParam(OUT_TYPE(Param, Param) msg); -static Aggref * _readAggref(OUT_TYPE(Aggref, Aggref) msg); -static GroupingFunc * _readGroupingFunc(OUT_TYPE(GroupingFunc, GroupingFunc) msg); -static WindowFunc * _readWindowFunc(OUT_TYPE(WindowFunc, WindowFunc) msg); -static WindowFuncRunCondition * _readWindowFuncRunCondition(OUT_TYPE(WindowFuncRunCondition, WindowFuncRunCondition) msg); -static MergeSupportFunc * _readMergeSupportFunc(OUT_TYPE(MergeSupportFunc, MergeSupportFunc) msg); -static SubscriptingRef * _readSubscriptingRef(OUT_TYPE(SubscriptingRef, SubscriptingRef) msg); -static FuncExpr * _readFuncExpr(OUT_TYPE(FuncExpr, FuncExpr) msg); -static NamedArgExpr * _readNamedArgExpr(OUT_TYPE(NamedArgExpr, NamedArgExpr) msg); -static OpExpr * _readOpExpr(OUT_TYPE(OpExpr, OpExpr) msg); -static DistinctExpr * _readDistinctExpr(OUT_TYPE(DistinctExpr, DistinctExpr) msg); -static NullIfExpr * _readNullIfExpr(OUT_TYPE(NullIfExpr, NullIfExpr) msg); -static ScalarArrayOpExpr * _readScalarArrayOpExpr(OUT_TYPE(ScalarArrayOpExpr, ScalarArrayOpExpr) msg); -static BoolExpr * _readBoolExpr(OUT_TYPE(BoolExpr, BoolExpr) msg); -static SubLink * _readSubLink(OUT_TYPE(SubLink, SubLink) msg); -static SubPlan * _readSubPlan(OUT_TYPE(SubPlan, SubPlan) msg); -static AlternativeSubPlan * _readAlternativeSubPlan(OUT_TYPE(AlternativeSubPlan, AlternativeSubPlan) msg); -static FieldSelect * _readFieldSelect(OUT_TYPE(FieldSelect, FieldSelect) msg); -static FieldStore * _readFieldStore(OUT_TYPE(FieldStore, FieldStore) msg); -static RelabelType * _readRelabelType(OUT_TYPE(RelabelType, RelabelType) msg); -static CoerceViaIO * _readCoerceViaIO(OUT_TYPE(CoerceViaIO, CoerceViaIO) msg); -static ArrayCoerceExpr * _readArrayCoerceExpr(OUT_TYPE(ArrayCoerceExpr, ArrayCoerceExpr) msg); -static ConvertRowtypeExpr * _readConvertRowtypeExpr(OUT_TYPE(ConvertRowtypeExpr, ConvertRowtypeExpr) msg); -static CollateExpr * _readCollateExpr(OUT_TYPE(CollateExpr, CollateExpr) msg); -static CaseExpr * _readCaseExpr(OUT_TYPE(CaseExpr, CaseExpr) msg); -static CaseWhen * _readCaseWhen(OUT_TYPE(CaseWhen, CaseWhen) msg); -static CaseTestExpr * _readCaseTestExpr(OUT_TYPE(CaseTestExpr, CaseTestExpr) msg); -static ArrayExpr * _readArrayExpr(OUT_TYPE(ArrayExpr, ArrayExpr) msg); -static RowExpr * _readRowExpr(OUT_TYPE(RowExpr, RowExpr) msg); -static RowCompareExpr * _readRowCompareExpr(OUT_TYPE(RowCompareExpr, RowCompareExpr) msg); -static CoalesceExpr * _readCoalesceExpr(OUT_TYPE(CoalesceExpr, CoalesceExpr) msg); -static MinMaxExpr * _readMinMaxExpr(OUT_TYPE(MinMaxExpr, MinMaxExpr) msg); -static SQLValueFunction * _readSQLValueFunction(OUT_TYPE(SQLValueFunction, SQLValueFunction) msg); -static XmlExpr * _readXmlExpr(OUT_TYPE(XmlExpr, XmlExpr) msg); -static JsonFormat * _readJsonFormat(OUT_TYPE(JsonFormat, JsonFormat) msg); -static JsonReturning * _readJsonReturning(OUT_TYPE(JsonReturning, JsonReturning) msg); -static JsonValueExpr * _readJsonValueExpr(OUT_TYPE(JsonValueExpr, JsonValueExpr) msg); -static JsonConstructorExpr * _readJsonConstructorExpr(OUT_TYPE(JsonConstructorExpr, JsonConstructorExpr) msg); -static JsonIsPredicate * _readJsonIsPredicate(OUT_TYPE(JsonIsPredicate, JsonIsPredicate) msg); -static JsonBehavior * _readJsonBehavior(OUT_TYPE(JsonBehavior, JsonBehavior) msg); -static JsonExpr * _readJsonExpr(OUT_TYPE(JsonExpr, JsonExpr) msg); -static JsonTablePath * _readJsonTablePath(OUT_TYPE(JsonTablePath, JsonTablePath) msg); -static JsonTablePathScan * _readJsonTablePathScan(OUT_TYPE(JsonTablePathScan, JsonTablePathScan) msg); -static JsonTableSiblingJoin * _readJsonTableSiblingJoin(OUT_TYPE(JsonTableSiblingJoin, JsonTableSiblingJoin) msg); -static NullTest * _readNullTest(OUT_TYPE(NullTest, NullTest) msg); -static BooleanTest * _readBooleanTest(OUT_TYPE(BooleanTest, BooleanTest) msg); -static MergeAction * _readMergeAction(OUT_TYPE(MergeAction, MergeAction) msg); -static CoerceToDomain * _readCoerceToDomain(OUT_TYPE(CoerceToDomain, CoerceToDomain) msg); -static CoerceToDomainValue * _readCoerceToDomainValue(OUT_TYPE(CoerceToDomainValue, CoerceToDomainValue) msg); -static SetToDefault * _readSetToDefault(OUT_TYPE(SetToDefault, SetToDefault) msg); -static CurrentOfExpr * _readCurrentOfExpr(OUT_TYPE(CurrentOfExpr, CurrentOfExpr) msg); -static NextValueExpr * _readNextValueExpr(OUT_TYPE(NextValueExpr, NextValueExpr) msg); -static InferenceElem * _readInferenceElem(OUT_TYPE(InferenceElem, InferenceElem) msg); -static ReturningExpr * _readReturningExpr(OUT_TYPE(ReturningExpr, ReturningExpr) msg); -static TargetEntry * _readTargetEntry(OUT_TYPE(TargetEntry, TargetEntry) msg); -static RangeTblRef * _readRangeTblRef(OUT_TYPE(RangeTblRef, RangeTblRef) msg); -static JoinExpr * _readJoinExpr(OUT_TYPE(JoinExpr, JoinExpr) msg); -static FromExpr * _readFromExpr(OUT_TYPE(FromExpr, FromExpr) msg); -static OnConflictExpr * _readOnConflictExpr(OUT_TYPE(OnConflictExpr, OnConflictExpr) msg); -static Query * _readQuery(OUT_TYPE(Query, Query) msg); -static TypeName * _readTypeName(OUT_TYPE(TypeName, TypeName) msg); -static ColumnRef * _readColumnRef(OUT_TYPE(ColumnRef, ColumnRef) msg); -static ParamRef * _readParamRef(OUT_TYPE(ParamRef, ParamRef) msg); -static A_Expr * _readAExpr(OUT_TYPE(A_Expr, AExpr) msg); -static TypeCast * _readTypeCast(OUT_TYPE(TypeCast, TypeCast) msg); -static CollateClause * _readCollateClause(OUT_TYPE(CollateClause, CollateClause) msg); -static RoleSpec * _readRoleSpec(OUT_TYPE(RoleSpec, RoleSpec) msg); -static FuncCall * _readFuncCall(OUT_TYPE(FuncCall, FuncCall) msg); -static A_Star * _readAStar(OUT_TYPE(A_Star, AStar) msg); -static A_Indices * _readAIndices(OUT_TYPE(A_Indices, AIndices) msg); -static A_Indirection * _readAIndirection(OUT_TYPE(A_Indirection, AIndirection) msg); -static A_ArrayExpr * _readAArrayExpr(OUT_TYPE(A_ArrayExpr, AArrayExpr) msg); -static ResTarget * _readResTarget(OUT_TYPE(ResTarget, ResTarget) msg); -static MultiAssignRef * _readMultiAssignRef(OUT_TYPE(MultiAssignRef, MultiAssignRef) msg); -static SortBy * _readSortBy(OUT_TYPE(SortBy, SortBy) msg); -static WindowDef * _readWindowDef(OUT_TYPE(WindowDef, WindowDef) msg); -static RangeSubselect * _readRangeSubselect(OUT_TYPE(RangeSubselect, RangeSubselect) msg); -static RangeFunction * _readRangeFunction(OUT_TYPE(RangeFunction, RangeFunction) msg); -static RangeTableFunc * _readRangeTableFunc(OUT_TYPE(RangeTableFunc, RangeTableFunc) msg); -static RangeTableFuncCol * _readRangeTableFuncCol(OUT_TYPE(RangeTableFuncCol, RangeTableFuncCol) msg); -static RangeTableSample * _readRangeTableSample(OUT_TYPE(RangeTableSample, RangeTableSample) msg); -static ColumnDef * _readColumnDef(OUT_TYPE(ColumnDef, ColumnDef) msg); -static TableLikeClause * _readTableLikeClause(OUT_TYPE(TableLikeClause, TableLikeClause) msg); -static IndexElem * _readIndexElem(OUT_TYPE(IndexElem, IndexElem) msg); -static DefElem * _readDefElem(OUT_TYPE(DefElem, DefElem) msg); -static LockingClause * _readLockingClause(OUT_TYPE(LockingClause, LockingClause) msg); -static XmlSerialize * _readXmlSerialize(OUT_TYPE(XmlSerialize, XmlSerialize) msg); -static PartitionElem * _readPartitionElem(OUT_TYPE(PartitionElem, PartitionElem) msg); -static PartitionSpec * _readPartitionSpec(OUT_TYPE(PartitionSpec, PartitionSpec) msg); -static PartitionBoundSpec * _readPartitionBoundSpec(OUT_TYPE(PartitionBoundSpec, PartitionBoundSpec) msg); -static PartitionRangeDatum * _readPartitionRangeDatum(OUT_TYPE(PartitionRangeDatum, PartitionRangeDatum) msg); -static PartitionCmd * _readPartitionCmd(OUT_TYPE(PartitionCmd, PartitionCmd) msg); -static RangeTblEntry * _readRangeTblEntry(OUT_TYPE(RangeTblEntry, RangeTblEntry) msg); -static RTEPermissionInfo * _readRTEPermissionInfo(OUT_TYPE(RTEPermissionInfo, RTEPermissionInfo) msg); -static RangeTblFunction * _readRangeTblFunction(OUT_TYPE(RangeTblFunction, RangeTblFunction) msg); -static TableSampleClause * _readTableSampleClause(OUT_TYPE(TableSampleClause, TableSampleClause) msg); -static WithCheckOption * _readWithCheckOption(OUT_TYPE(WithCheckOption, WithCheckOption) msg); -static SortGroupClause * _readSortGroupClause(OUT_TYPE(SortGroupClause, SortGroupClause) msg); -static GroupingSet * _readGroupingSet(OUT_TYPE(GroupingSet, GroupingSet) msg); -static WindowClause * _readWindowClause(OUT_TYPE(WindowClause, WindowClause) msg); -static RowMarkClause * _readRowMarkClause(OUT_TYPE(RowMarkClause, RowMarkClause) msg); -static WithClause * _readWithClause(OUT_TYPE(WithClause, WithClause) msg); -static InferClause * _readInferClause(OUT_TYPE(InferClause, InferClause) msg); -static OnConflictClause * _readOnConflictClause(OUT_TYPE(OnConflictClause, OnConflictClause) msg); -static CTESearchClause * _readCTESearchClause(OUT_TYPE(CTESearchClause, CTESearchClause) msg); -static CTECycleClause * _readCTECycleClause(OUT_TYPE(CTECycleClause, CTECycleClause) msg); -static CommonTableExpr * _readCommonTableExpr(OUT_TYPE(CommonTableExpr, CommonTableExpr) msg); -static MergeWhenClause * _readMergeWhenClause(OUT_TYPE(MergeWhenClause, MergeWhenClause) msg); -static ReturningOption * _readReturningOption(OUT_TYPE(ReturningOption, ReturningOption) msg); -static ReturningClause * _readReturningClause(OUT_TYPE(ReturningClause, ReturningClause) msg); -static TriggerTransition * _readTriggerTransition(OUT_TYPE(TriggerTransition, TriggerTransition) msg); -static JsonOutput * _readJsonOutput(OUT_TYPE(JsonOutput, JsonOutput) msg); -static JsonArgument * _readJsonArgument(OUT_TYPE(JsonArgument, JsonArgument) msg); -static JsonFuncExpr * _readJsonFuncExpr(OUT_TYPE(JsonFuncExpr, JsonFuncExpr) msg); -static JsonTablePathSpec * _readJsonTablePathSpec(OUT_TYPE(JsonTablePathSpec, JsonTablePathSpec) msg); -static JsonTable * _readJsonTable(OUT_TYPE(JsonTable, JsonTable) msg); -static JsonTableColumn * _readJsonTableColumn(OUT_TYPE(JsonTableColumn, JsonTableColumn) msg); -static JsonKeyValue * _readJsonKeyValue(OUT_TYPE(JsonKeyValue, JsonKeyValue) msg); -static JsonParseExpr * _readJsonParseExpr(OUT_TYPE(JsonParseExpr, JsonParseExpr) msg); -static JsonScalarExpr * _readJsonScalarExpr(OUT_TYPE(JsonScalarExpr, JsonScalarExpr) msg); -static JsonSerializeExpr * _readJsonSerializeExpr(OUT_TYPE(JsonSerializeExpr, JsonSerializeExpr) msg); -static JsonObjectConstructor * _readJsonObjectConstructor(OUT_TYPE(JsonObjectConstructor, JsonObjectConstructor) msg); -static JsonArrayConstructor * _readJsonArrayConstructor(OUT_TYPE(JsonArrayConstructor, JsonArrayConstructor) msg); -static JsonArrayQueryConstructor * _readJsonArrayQueryConstructor(OUT_TYPE(JsonArrayQueryConstructor, JsonArrayQueryConstructor) msg); -static JsonAggConstructor * _readJsonAggConstructor(OUT_TYPE(JsonAggConstructor, JsonAggConstructor) msg); -static JsonObjectAgg * _readJsonObjectAgg(OUT_TYPE(JsonObjectAgg, JsonObjectAgg) msg); -static JsonArrayAgg * _readJsonArrayAgg(OUT_TYPE(JsonArrayAgg, JsonArrayAgg) msg); -static RawStmt * _readRawStmt(OUT_TYPE(RawStmt, RawStmt) msg); -static InsertStmt * _readInsertStmt(OUT_TYPE(InsertStmt, InsertStmt) msg); -static DeleteStmt * _readDeleteStmt(OUT_TYPE(DeleteStmt, DeleteStmt) msg); -static UpdateStmt * _readUpdateStmt(OUT_TYPE(UpdateStmt, UpdateStmt) msg); -static MergeStmt * _readMergeStmt(OUT_TYPE(MergeStmt, MergeStmt) msg); -static SelectStmt * _readSelectStmt(OUT_TYPE(SelectStmt, SelectStmt) msg); -static SetOperationStmt * _readSetOperationStmt(OUT_TYPE(SetOperationStmt, SetOperationStmt) msg); -static ReturnStmt * _readReturnStmt(OUT_TYPE(ReturnStmt, ReturnStmt) msg); -static PLAssignStmt * _readPLAssignStmt(OUT_TYPE(PLAssignStmt, PLAssignStmt) msg); -static CreateSchemaStmt * _readCreateSchemaStmt(OUT_TYPE(CreateSchemaStmt, CreateSchemaStmt) msg); -static AlterTableStmt * _readAlterTableStmt(OUT_TYPE(AlterTableStmt, AlterTableStmt) msg); -static AlterTableCmd * _readAlterTableCmd(OUT_TYPE(AlterTableCmd, AlterTableCmd) msg); -static ATAlterConstraint * _readATAlterConstraint(OUT_TYPE(ATAlterConstraint, ATAlterConstraint) msg); -static ReplicaIdentityStmt * _readReplicaIdentityStmt(OUT_TYPE(ReplicaIdentityStmt, ReplicaIdentityStmt) msg); -static AlterCollationStmt * _readAlterCollationStmt(OUT_TYPE(AlterCollationStmt, AlterCollationStmt) msg); -static AlterDomainStmt * _readAlterDomainStmt(OUT_TYPE(AlterDomainStmt, AlterDomainStmt) msg); -static GrantStmt * _readGrantStmt(OUT_TYPE(GrantStmt, GrantStmt) msg); -static ObjectWithArgs * _readObjectWithArgs(OUT_TYPE(ObjectWithArgs, ObjectWithArgs) msg); -static AccessPriv * _readAccessPriv(OUT_TYPE(AccessPriv, AccessPriv) msg); -static GrantRoleStmt * _readGrantRoleStmt(OUT_TYPE(GrantRoleStmt, GrantRoleStmt) msg); -static AlterDefaultPrivilegesStmt * _readAlterDefaultPrivilegesStmt(OUT_TYPE(AlterDefaultPrivilegesStmt, AlterDefaultPrivilegesStmt) msg); -static CopyStmt * _readCopyStmt(OUT_TYPE(CopyStmt, CopyStmt) msg); -static VariableSetStmt * _readVariableSetStmt(OUT_TYPE(VariableSetStmt, VariableSetStmt) msg); -static VariableShowStmt * _readVariableShowStmt(OUT_TYPE(VariableShowStmt, VariableShowStmt) msg); -static CreateStmt * _readCreateStmt(OUT_TYPE(CreateStmt, CreateStmt) msg); -static Constraint * _readConstraint(OUT_TYPE(Constraint, Constraint) msg); -static CreateTableSpaceStmt * _readCreateTableSpaceStmt(OUT_TYPE(CreateTableSpaceStmt, CreateTableSpaceStmt) msg); -static DropTableSpaceStmt * _readDropTableSpaceStmt(OUT_TYPE(DropTableSpaceStmt, DropTableSpaceStmt) msg); -static AlterTableSpaceOptionsStmt * _readAlterTableSpaceOptionsStmt(OUT_TYPE(AlterTableSpaceOptionsStmt, AlterTableSpaceOptionsStmt) msg); -static AlterTableMoveAllStmt * _readAlterTableMoveAllStmt(OUT_TYPE(AlterTableMoveAllStmt, AlterTableMoveAllStmt) msg); -static CreateExtensionStmt * _readCreateExtensionStmt(OUT_TYPE(CreateExtensionStmt, CreateExtensionStmt) msg); -static AlterExtensionStmt * _readAlterExtensionStmt(OUT_TYPE(AlterExtensionStmt, AlterExtensionStmt) msg); -static AlterExtensionContentsStmt * _readAlterExtensionContentsStmt(OUT_TYPE(AlterExtensionContentsStmt, AlterExtensionContentsStmt) msg); -static CreateFdwStmt * _readCreateFdwStmt(OUT_TYPE(CreateFdwStmt, CreateFdwStmt) msg); -static AlterFdwStmt * _readAlterFdwStmt(OUT_TYPE(AlterFdwStmt, AlterFdwStmt) msg); -static CreateForeignServerStmt * _readCreateForeignServerStmt(OUT_TYPE(CreateForeignServerStmt, CreateForeignServerStmt) msg); -static AlterForeignServerStmt * _readAlterForeignServerStmt(OUT_TYPE(AlterForeignServerStmt, AlterForeignServerStmt) msg); -static CreateForeignTableStmt * _readCreateForeignTableStmt(OUT_TYPE(CreateForeignTableStmt, CreateForeignTableStmt) msg); -static CreateUserMappingStmt * _readCreateUserMappingStmt(OUT_TYPE(CreateUserMappingStmt, CreateUserMappingStmt) msg); -static AlterUserMappingStmt * _readAlterUserMappingStmt(OUT_TYPE(AlterUserMappingStmt, AlterUserMappingStmt) msg); -static DropUserMappingStmt * _readDropUserMappingStmt(OUT_TYPE(DropUserMappingStmt, DropUserMappingStmt) msg); -static ImportForeignSchemaStmt * _readImportForeignSchemaStmt(OUT_TYPE(ImportForeignSchemaStmt, ImportForeignSchemaStmt) msg); -static CreatePolicyStmt * _readCreatePolicyStmt(OUT_TYPE(CreatePolicyStmt, CreatePolicyStmt) msg); -static AlterPolicyStmt * _readAlterPolicyStmt(OUT_TYPE(AlterPolicyStmt, AlterPolicyStmt) msg); -static CreateAmStmt * _readCreateAmStmt(OUT_TYPE(CreateAmStmt, CreateAmStmt) msg); -static CreateTrigStmt * _readCreateTrigStmt(OUT_TYPE(CreateTrigStmt, CreateTrigStmt) msg); -static CreateEventTrigStmt * _readCreateEventTrigStmt(OUT_TYPE(CreateEventTrigStmt, CreateEventTrigStmt) msg); -static AlterEventTrigStmt * _readAlterEventTrigStmt(OUT_TYPE(AlterEventTrigStmt, AlterEventTrigStmt) msg); -static CreatePLangStmt * _readCreatePLangStmt(OUT_TYPE(CreatePLangStmt, CreatePLangStmt) msg); -static CreateRoleStmt * _readCreateRoleStmt(OUT_TYPE(CreateRoleStmt, CreateRoleStmt) msg); -static AlterRoleStmt * _readAlterRoleStmt(OUT_TYPE(AlterRoleStmt, AlterRoleStmt) msg); -static AlterRoleSetStmt * _readAlterRoleSetStmt(OUT_TYPE(AlterRoleSetStmt, AlterRoleSetStmt) msg); -static DropRoleStmt * _readDropRoleStmt(OUT_TYPE(DropRoleStmt, DropRoleStmt) msg); -static CreateSeqStmt * _readCreateSeqStmt(OUT_TYPE(CreateSeqStmt, CreateSeqStmt) msg); -static AlterSeqStmt * _readAlterSeqStmt(OUT_TYPE(AlterSeqStmt, AlterSeqStmt) msg); -static DefineStmt * _readDefineStmt(OUT_TYPE(DefineStmt, DefineStmt) msg); -static CreateDomainStmt * _readCreateDomainStmt(OUT_TYPE(CreateDomainStmt, CreateDomainStmt) msg); -static CreateOpClassStmt * _readCreateOpClassStmt(OUT_TYPE(CreateOpClassStmt, CreateOpClassStmt) msg); -static CreateOpClassItem * _readCreateOpClassItem(OUT_TYPE(CreateOpClassItem, CreateOpClassItem) msg); -static CreateOpFamilyStmt * _readCreateOpFamilyStmt(OUT_TYPE(CreateOpFamilyStmt, CreateOpFamilyStmt) msg); -static AlterOpFamilyStmt * _readAlterOpFamilyStmt(OUT_TYPE(AlterOpFamilyStmt, AlterOpFamilyStmt) msg); -static DropStmt * _readDropStmt(OUT_TYPE(DropStmt, DropStmt) msg); -static TruncateStmt * _readTruncateStmt(OUT_TYPE(TruncateStmt, TruncateStmt) msg); -static CommentStmt * _readCommentStmt(OUT_TYPE(CommentStmt, CommentStmt) msg); -static SecLabelStmt * _readSecLabelStmt(OUT_TYPE(SecLabelStmt, SecLabelStmt) msg); -static DeclareCursorStmt * _readDeclareCursorStmt(OUT_TYPE(DeclareCursorStmt, DeclareCursorStmt) msg); -static ClosePortalStmt * _readClosePortalStmt(OUT_TYPE(ClosePortalStmt, ClosePortalStmt) msg); -static FetchStmt * _readFetchStmt(OUT_TYPE(FetchStmt, FetchStmt) msg); -static IndexStmt * _readIndexStmt(OUT_TYPE(IndexStmt, IndexStmt) msg); -static CreateStatsStmt * _readCreateStatsStmt(OUT_TYPE(CreateStatsStmt, CreateStatsStmt) msg); -static StatsElem * _readStatsElem(OUT_TYPE(StatsElem, StatsElem) msg); -static AlterStatsStmt * _readAlterStatsStmt(OUT_TYPE(AlterStatsStmt, AlterStatsStmt) msg); -static CreateFunctionStmt * _readCreateFunctionStmt(OUT_TYPE(CreateFunctionStmt, CreateFunctionStmt) msg); -static FunctionParameter * _readFunctionParameter(OUT_TYPE(FunctionParameter, FunctionParameter) msg); -static AlterFunctionStmt * _readAlterFunctionStmt(OUT_TYPE(AlterFunctionStmt, AlterFunctionStmt) msg); -static DoStmt * _readDoStmt(OUT_TYPE(DoStmt, DoStmt) msg); -static InlineCodeBlock * _readInlineCodeBlock(OUT_TYPE(InlineCodeBlock, InlineCodeBlock) msg); -static CallStmt * _readCallStmt(OUT_TYPE(CallStmt, CallStmt) msg); -static CallContext * _readCallContext(OUT_TYPE(CallContext, CallContext) msg); -static RenameStmt * _readRenameStmt(OUT_TYPE(RenameStmt, RenameStmt) msg); -static AlterObjectDependsStmt * _readAlterObjectDependsStmt(OUT_TYPE(AlterObjectDependsStmt, AlterObjectDependsStmt) msg); -static AlterObjectSchemaStmt * _readAlterObjectSchemaStmt(OUT_TYPE(AlterObjectSchemaStmt, AlterObjectSchemaStmt) msg); -static AlterOwnerStmt * _readAlterOwnerStmt(OUT_TYPE(AlterOwnerStmt, AlterOwnerStmt) msg); -static AlterOperatorStmt * _readAlterOperatorStmt(OUT_TYPE(AlterOperatorStmt, AlterOperatorStmt) msg); -static AlterTypeStmt * _readAlterTypeStmt(OUT_TYPE(AlterTypeStmt, AlterTypeStmt) msg); -static RuleStmt * _readRuleStmt(OUT_TYPE(RuleStmt, RuleStmt) msg); -static NotifyStmt * _readNotifyStmt(OUT_TYPE(NotifyStmt, NotifyStmt) msg); -static ListenStmt * _readListenStmt(OUT_TYPE(ListenStmt, ListenStmt) msg); -static UnlistenStmt * _readUnlistenStmt(OUT_TYPE(UnlistenStmt, UnlistenStmt) msg); -static TransactionStmt * _readTransactionStmt(OUT_TYPE(TransactionStmt, TransactionStmt) msg); -static CompositeTypeStmt * _readCompositeTypeStmt(OUT_TYPE(CompositeTypeStmt, CompositeTypeStmt) msg); -static CreateEnumStmt * _readCreateEnumStmt(OUT_TYPE(CreateEnumStmt, CreateEnumStmt) msg); -static CreateRangeStmt * _readCreateRangeStmt(OUT_TYPE(CreateRangeStmt, CreateRangeStmt) msg); -static AlterEnumStmt * _readAlterEnumStmt(OUT_TYPE(AlterEnumStmt, AlterEnumStmt) msg); -static ViewStmt * _readViewStmt(OUT_TYPE(ViewStmt, ViewStmt) msg); -static LoadStmt * _readLoadStmt(OUT_TYPE(LoadStmt, LoadStmt) msg); -static CreatedbStmt * _readCreatedbStmt(OUT_TYPE(CreatedbStmt, CreatedbStmt) msg); -static AlterDatabaseStmt * _readAlterDatabaseStmt(OUT_TYPE(AlterDatabaseStmt, AlterDatabaseStmt) msg); -static AlterDatabaseRefreshCollStmt * _readAlterDatabaseRefreshCollStmt(OUT_TYPE(AlterDatabaseRefreshCollStmt, AlterDatabaseRefreshCollStmt) msg); -static AlterDatabaseSetStmt * _readAlterDatabaseSetStmt(OUT_TYPE(AlterDatabaseSetStmt, AlterDatabaseSetStmt) msg); -static DropdbStmt * _readDropdbStmt(OUT_TYPE(DropdbStmt, DropdbStmt) msg); -static AlterSystemStmt * _readAlterSystemStmt(OUT_TYPE(AlterSystemStmt, AlterSystemStmt) msg); -static ClusterStmt * _readClusterStmt(OUT_TYPE(ClusterStmt, ClusterStmt) msg); -static VacuumStmt * _readVacuumStmt(OUT_TYPE(VacuumStmt, VacuumStmt) msg); -static VacuumRelation * _readVacuumRelation(OUT_TYPE(VacuumRelation, VacuumRelation) msg); -static ExplainStmt * _readExplainStmt(OUT_TYPE(ExplainStmt, ExplainStmt) msg); -static CreateTableAsStmt * _readCreateTableAsStmt(OUT_TYPE(CreateTableAsStmt, CreateTableAsStmt) msg); -static RefreshMatViewStmt * _readRefreshMatViewStmt(OUT_TYPE(RefreshMatViewStmt, RefreshMatViewStmt) msg); -static CheckPointStmt * _readCheckPointStmt(OUT_TYPE(CheckPointStmt, CheckPointStmt) msg); -static DiscardStmt * _readDiscardStmt(OUT_TYPE(DiscardStmt, DiscardStmt) msg); -static LockStmt * _readLockStmt(OUT_TYPE(LockStmt, LockStmt) msg); -static ConstraintsSetStmt * _readConstraintsSetStmt(OUT_TYPE(ConstraintsSetStmt, ConstraintsSetStmt) msg); -static ReindexStmt * _readReindexStmt(OUT_TYPE(ReindexStmt, ReindexStmt) msg); -static CreateConversionStmt * _readCreateConversionStmt(OUT_TYPE(CreateConversionStmt, CreateConversionStmt) msg); -static CreateCastStmt * _readCreateCastStmt(OUT_TYPE(CreateCastStmt, CreateCastStmt) msg); -static CreateTransformStmt * _readCreateTransformStmt(OUT_TYPE(CreateTransformStmt, CreateTransformStmt) msg); -static PrepareStmt * _readPrepareStmt(OUT_TYPE(PrepareStmt, PrepareStmt) msg); -static ExecuteStmt * _readExecuteStmt(OUT_TYPE(ExecuteStmt, ExecuteStmt) msg); -static DeallocateStmt * _readDeallocateStmt(OUT_TYPE(DeallocateStmt, DeallocateStmt) msg); -static DropOwnedStmt * _readDropOwnedStmt(OUT_TYPE(DropOwnedStmt, DropOwnedStmt) msg); -static ReassignOwnedStmt * _readReassignOwnedStmt(OUT_TYPE(ReassignOwnedStmt, ReassignOwnedStmt) msg); -static AlterTSDictionaryStmt * _readAlterTSDictionaryStmt(OUT_TYPE(AlterTSDictionaryStmt, AlterTSDictionaryStmt) msg); -static AlterTSConfigurationStmt * _readAlterTSConfigurationStmt(OUT_TYPE(AlterTSConfigurationStmt, AlterTSConfigurationStmt) msg); -static PublicationTable * _readPublicationTable(OUT_TYPE(PublicationTable, PublicationTable) msg); -static PublicationObjSpec * _readPublicationObjSpec(OUT_TYPE(PublicationObjSpec, PublicationObjSpec) msg); -static CreatePublicationStmt * _readCreatePublicationStmt(OUT_TYPE(CreatePublicationStmt, CreatePublicationStmt) msg); -static AlterPublicationStmt * _readAlterPublicationStmt(OUT_TYPE(AlterPublicationStmt, AlterPublicationStmt) msg); -static CreateSubscriptionStmt * _readCreateSubscriptionStmt(OUT_TYPE(CreateSubscriptionStmt, CreateSubscriptionStmt) msg); -static AlterSubscriptionStmt * _readAlterSubscriptionStmt(OUT_TYPE(AlterSubscriptionStmt, AlterSubscriptionStmt) msg); -static DropSubscriptionStmt * _readDropSubscriptionStmt(OUT_TYPE(DropSubscriptionStmt, DropSubscriptionStmt) msg); +static Alias * _readAlias(const OUT_TYPE(Alias, Alias) msg); +static RangeVar * _readRangeVar(const OUT_TYPE(RangeVar, RangeVar) msg); +static TableFunc * _readTableFunc(const OUT_TYPE(TableFunc, TableFunc) msg); +static IntoClause * _readIntoClause(const OUT_TYPE(IntoClause, IntoClause) msg); +static Var * _readVar(const OUT_TYPE(Var, Var) msg); +static Param * _readParam(const OUT_TYPE(Param, Param) msg); +static Aggref * _readAggref(const OUT_TYPE(Aggref, Aggref) msg); +static GroupingFunc * _readGroupingFunc(const OUT_TYPE(GroupingFunc, GroupingFunc) msg); +static WindowFunc * _readWindowFunc(const OUT_TYPE(WindowFunc, WindowFunc) msg); +static WindowFuncRunCondition * _readWindowFuncRunCondition(const OUT_TYPE(WindowFuncRunCondition, WindowFuncRunCondition) msg); +static MergeSupportFunc * _readMergeSupportFunc(const OUT_TYPE(MergeSupportFunc, MergeSupportFunc) msg); +static SubscriptingRef * _readSubscriptingRef(const OUT_TYPE(SubscriptingRef, SubscriptingRef) msg); +static FuncExpr * _readFuncExpr(const OUT_TYPE(FuncExpr, FuncExpr) msg); +static NamedArgExpr * _readNamedArgExpr(const OUT_TYPE(NamedArgExpr, NamedArgExpr) msg); +static OpExpr * _readOpExpr(const OUT_TYPE(OpExpr, OpExpr) msg); +static DistinctExpr * _readDistinctExpr(const OUT_TYPE(DistinctExpr, DistinctExpr) msg); +static NullIfExpr * _readNullIfExpr(const OUT_TYPE(NullIfExpr, NullIfExpr) msg); +static ScalarArrayOpExpr * _readScalarArrayOpExpr(const OUT_TYPE(ScalarArrayOpExpr, ScalarArrayOpExpr) msg); +static BoolExpr * _readBoolExpr(const OUT_TYPE(BoolExpr, BoolExpr) msg); +static SubLink * _readSubLink(const OUT_TYPE(SubLink, SubLink) msg); +static SubPlan * _readSubPlan(const OUT_TYPE(SubPlan, SubPlan) msg); +static AlternativeSubPlan * _readAlternativeSubPlan(const OUT_TYPE(AlternativeSubPlan, AlternativeSubPlan) msg); +static FieldSelect * _readFieldSelect(const OUT_TYPE(FieldSelect, FieldSelect) msg); +static FieldStore * _readFieldStore(const OUT_TYPE(FieldStore, FieldStore) msg); +static RelabelType * _readRelabelType(const OUT_TYPE(RelabelType, RelabelType) msg); +static CoerceViaIO * _readCoerceViaIO(const OUT_TYPE(CoerceViaIO, CoerceViaIO) msg); +static ArrayCoerceExpr * _readArrayCoerceExpr(const OUT_TYPE(ArrayCoerceExpr, ArrayCoerceExpr) msg); +static ConvertRowtypeExpr * _readConvertRowtypeExpr(const OUT_TYPE(ConvertRowtypeExpr, ConvertRowtypeExpr) msg); +static CollateExpr * _readCollateExpr(const OUT_TYPE(CollateExpr, CollateExpr) msg); +static CaseExpr * _readCaseExpr(const OUT_TYPE(CaseExpr, CaseExpr) msg); +static CaseWhen * _readCaseWhen(const OUT_TYPE(CaseWhen, CaseWhen) msg); +static CaseTestExpr * _readCaseTestExpr(const OUT_TYPE(CaseTestExpr, CaseTestExpr) msg); +static ArrayExpr * _readArrayExpr(const OUT_TYPE(ArrayExpr, ArrayExpr) msg); +static RowExpr * _readRowExpr(const OUT_TYPE(RowExpr, RowExpr) msg); +static RowCompareExpr * _readRowCompareExpr(const OUT_TYPE(RowCompareExpr, RowCompareExpr) msg); +static CoalesceExpr * _readCoalesceExpr(const OUT_TYPE(CoalesceExpr, CoalesceExpr) msg); +static MinMaxExpr * _readMinMaxExpr(const OUT_TYPE(MinMaxExpr, MinMaxExpr) msg); +static SQLValueFunction * _readSQLValueFunction(const OUT_TYPE(SQLValueFunction, SQLValueFunction) msg); +static XmlExpr * _readXmlExpr(const OUT_TYPE(XmlExpr, XmlExpr) msg); +static JsonFormat * _readJsonFormat(const OUT_TYPE(JsonFormat, JsonFormat) msg); +static JsonReturning * _readJsonReturning(const OUT_TYPE(JsonReturning, JsonReturning) msg); +static JsonValueExpr * _readJsonValueExpr(const OUT_TYPE(JsonValueExpr, JsonValueExpr) msg); +static JsonConstructorExpr * _readJsonConstructorExpr(const OUT_TYPE(JsonConstructorExpr, JsonConstructorExpr) msg); +static JsonIsPredicate * _readJsonIsPredicate(const OUT_TYPE(JsonIsPredicate, JsonIsPredicate) msg); +static JsonBehavior * _readJsonBehavior(const OUT_TYPE(JsonBehavior, JsonBehavior) msg); +static JsonExpr * _readJsonExpr(const OUT_TYPE(JsonExpr, JsonExpr) msg); +static JsonTablePath * _readJsonTablePath(const OUT_TYPE(JsonTablePath, JsonTablePath) msg); +static JsonTablePathScan * _readJsonTablePathScan(const OUT_TYPE(JsonTablePathScan, JsonTablePathScan) msg); +static JsonTableSiblingJoin * _readJsonTableSiblingJoin(const OUT_TYPE(JsonTableSiblingJoin, JsonTableSiblingJoin) msg); +static NullTest * _readNullTest(const OUT_TYPE(NullTest, NullTest) msg); +static BooleanTest * _readBooleanTest(const OUT_TYPE(BooleanTest, BooleanTest) msg); +static MergeAction * _readMergeAction(const OUT_TYPE(MergeAction, MergeAction) msg); +static CoerceToDomain * _readCoerceToDomain(const OUT_TYPE(CoerceToDomain, CoerceToDomain) msg); +static CoerceToDomainValue * _readCoerceToDomainValue(const OUT_TYPE(CoerceToDomainValue, CoerceToDomainValue) msg); +static SetToDefault * _readSetToDefault(const OUT_TYPE(SetToDefault, SetToDefault) msg); +static CurrentOfExpr * _readCurrentOfExpr(const OUT_TYPE(CurrentOfExpr, CurrentOfExpr) msg); +static NextValueExpr * _readNextValueExpr(const OUT_TYPE(NextValueExpr, NextValueExpr) msg); +static InferenceElem * _readInferenceElem(const OUT_TYPE(InferenceElem, InferenceElem) msg); +static ReturningExpr * _readReturningExpr(const OUT_TYPE(ReturningExpr, ReturningExpr) msg); +static TargetEntry * _readTargetEntry(const OUT_TYPE(TargetEntry, TargetEntry) msg); +static RangeTblRef * _readRangeTblRef(const OUT_TYPE(RangeTblRef, RangeTblRef) msg); +static JoinExpr * _readJoinExpr(const OUT_TYPE(JoinExpr, JoinExpr) msg); +static FromExpr * _readFromExpr(const OUT_TYPE(FromExpr, FromExpr) msg); +static OnConflictExpr * _readOnConflictExpr(const OUT_TYPE(OnConflictExpr, OnConflictExpr) msg); +static Query * _readQuery(const OUT_TYPE(Query, Query) msg); +static TypeName * _readTypeName(const OUT_TYPE(TypeName, TypeName) msg); +static ColumnRef * _readColumnRef(const OUT_TYPE(ColumnRef, ColumnRef) msg); +static ParamRef * _readParamRef(const OUT_TYPE(ParamRef, ParamRef) msg); +static A_Expr * _readAExpr(const OUT_TYPE(A_Expr, AExpr) msg); +static TypeCast * _readTypeCast(const OUT_TYPE(TypeCast, TypeCast) msg); +static CollateClause * _readCollateClause(const OUT_TYPE(CollateClause, CollateClause) msg); +static RoleSpec * _readRoleSpec(const OUT_TYPE(RoleSpec, RoleSpec) msg); +static FuncCall * _readFuncCall(const OUT_TYPE(FuncCall, FuncCall) msg); +static A_Star * _readAStar(const OUT_TYPE(A_Star, AStar) msg); +static A_Indices * _readAIndices(const OUT_TYPE(A_Indices, AIndices) msg); +static A_Indirection * _readAIndirection(const OUT_TYPE(A_Indirection, AIndirection) msg); +static A_ArrayExpr * _readAArrayExpr(const OUT_TYPE(A_ArrayExpr, AArrayExpr) msg); +static ResTarget * _readResTarget(const OUT_TYPE(ResTarget, ResTarget) msg); +static MultiAssignRef * _readMultiAssignRef(const OUT_TYPE(MultiAssignRef, MultiAssignRef) msg); +static SortBy * _readSortBy(const OUT_TYPE(SortBy, SortBy) msg); +static WindowDef * _readWindowDef(const OUT_TYPE(WindowDef, WindowDef) msg); +static RangeSubselect * _readRangeSubselect(const OUT_TYPE(RangeSubselect, RangeSubselect) msg); +static RangeFunction * _readRangeFunction(const OUT_TYPE(RangeFunction, RangeFunction) msg); +static RangeTableFunc * _readRangeTableFunc(const OUT_TYPE(RangeTableFunc, RangeTableFunc) msg); +static RangeTableFuncCol * _readRangeTableFuncCol(const OUT_TYPE(RangeTableFuncCol, RangeTableFuncCol) msg); +static RangeTableSample * _readRangeTableSample(const OUT_TYPE(RangeTableSample, RangeTableSample) msg); +static ColumnDef * _readColumnDef(const OUT_TYPE(ColumnDef, ColumnDef) msg); +static TableLikeClause * _readTableLikeClause(const OUT_TYPE(TableLikeClause, TableLikeClause) msg); +static IndexElem * _readIndexElem(const OUT_TYPE(IndexElem, IndexElem) msg); +static DefElem * _readDefElem(const OUT_TYPE(DefElem, DefElem) msg); +static LockingClause * _readLockingClause(const OUT_TYPE(LockingClause, LockingClause) msg); +static XmlSerialize * _readXmlSerialize(const OUT_TYPE(XmlSerialize, XmlSerialize) msg); +static PartitionElem * _readPartitionElem(const OUT_TYPE(PartitionElem, PartitionElem) msg); +static PartitionSpec * _readPartitionSpec(const OUT_TYPE(PartitionSpec, PartitionSpec) msg); +static PartitionBoundSpec * _readPartitionBoundSpec(const OUT_TYPE(PartitionBoundSpec, PartitionBoundSpec) msg); +static PartitionRangeDatum * _readPartitionRangeDatum(const OUT_TYPE(PartitionRangeDatum, PartitionRangeDatum) msg); +static PartitionCmd * _readPartitionCmd(const OUT_TYPE(PartitionCmd, PartitionCmd) msg); +static RangeTblEntry * _readRangeTblEntry(const OUT_TYPE(RangeTblEntry, RangeTblEntry) msg); +static RTEPermissionInfo * _readRTEPermissionInfo(const OUT_TYPE(RTEPermissionInfo, RTEPermissionInfo) msg); +static RangeTblFunction * _readRangeTblFunction(const OUT_TYPE(RangeTblFunction, RangeTblFunction) msg); +static TableSampleClause * _readTableSampleClause(const OUT_TYPE(TableSampleClause, TableSampleClause) msg); +static WithCheckOption * _readWithCheckOption(const OUT_TYPE(WithCheckOption, WithCheckOption) msg); +static SortGroupClause * _readSortGroupClause(const OUT_TYPE(SortGroupClause, SortGroupClause) msg); +static GroupingSet * _readGroupingSet(const OUT_TYPE(GroupingSet, GroupingSet) msg); +static WindowClause * _readWindowClause(const OUT_TYPE(WindowClause, WindowClause) msg); +static RowMarkClause * _readRowMarkClause(const OUT_TYPE(RowMarkClause, RowMarkClause) msg); +static WithClause * _readWithClause(const OUT_TYPE(WithClause, WithClause) msg); +static InferClause * _readInferClause(const OUT_TYPE(InferClause, InferClause) msg); +static OnConflictClause * _readOnConflictClause(const OUT_TYPE(OnConflictClause, OnConflictClause) msg); +static CTESearchClause * _readCTESearchClause(const OUT_TYPE(CTESearchClause, CTESearchClause) msg); +static CTECycleClause * _readCTECycleClause(const OUT_TYPE(CTECycleClause, CTECycleClause) msg); +static CommonTableExpr * _readCommonTableExpr(const OUT_TYPE(CommonTableExpr, CommonTableExpr) msg); +static MergeWhenClause * _readMergeWhenClause(const OUT_TYPE(MergeWhenClause, MergeWhenClause) msg); +static ReturningOption * _readReturningOption(const OUT_TYPE(ReturningOption, ReturningOption) msg); +static ReturningClause * _readReturningClause(const OUT_TYPE(ReturningClause, ReturningClause) msg); +static TriggerTransition * _readTriggerTransition(const OUT_TYPE(TriggerTransition, TriggerTransition) msg); +static JsonOutput * _readJsonOutput(const OUT_TYPE(JsonOutput, JsonOutput) msg); +static JsonArgument * _readJsonArgument(const OUT_TYPE(JsonArgument, JsonArgument) msg); +static JsonFuncExpr * _readJsonFuncExpr(const OUT_TYPE(JsonFuncExpr, JsonFuncExpr) msg); +static JsonTablePathSpec * _readJsonTablePathSpec(const OUT_TYPE(JsonTablePathSpec, JsonTablePathSpec) msg); +static JsonTable * _readJsonTable(const OUT_TYPE(JsonTable, JsonTable) msg); +static JsonTableColumn * _readJsonTableColumn(const OUT_TYPE(JsonTableColumn, JsonTableColumn) msg); +static JsonKeyValue * _readJsonKeyValue(const OUT_TYPE(JsonKeyValue, JsonKeyValue) msg); +static JsonParseExpr * _readJsonParseExpr(const OUT_TYPE(JsonParseExpr, JsonParseExpr) msg); +static JsonScalarExpr * _readJsonScalarExpr(const OUT_TYPE(JsonScalarExpr, JsonScalarExpr) msg); +static JsonSerializeExpr * _readJsonSerializeExpr(const OUT_TYPE(JsonSerializeExpr, JsonSerializeExpr) msg); +static JsonObjectConstructor * _readJsonObjectConstructor(const OUT_TYPE(JsonObjectConstructor, JsonObjectConstructor) msg); +static JsonArrayConstructor * _readJsonArrayConstructor(const OUT_TYPE(JsonArrayConstructor, JsonArrayConstructor) msg); +static JsonArrayQueryConstructor * _readJsonArrayQueryConstructor(const OUT_TYPE(JsonArrayQueryConstructor, JsonArrayQueryConstructor) msg); +static JsonAggConstructor * _readJsonAggConstructor(const OUT_TYPE(JsonAggConstructor, JsonAggConstructor) msg); +static JsonObjectAgg * _readJsonObjectAgg(const OUT_TYPE(JsonObjectAgg, JsonObjectAgg) msg); +static JsonArrayAgg * _readJsonArrayAgg(const OUT_TYPE(JsonArrayAgg, JsonArrayAgg) msg); +static RawStmt * _readRawStmt(const OUT_TYPE(RawStmt, RawStmt) msg); +static InsertStmt * _readInsertStmt(const OUT_TYPE(InsertStmt, InsertStmt) msg); +static DeleteStmt * _readDeleteStmt(const OUT_TYPE(DeleteStmt, DeleteStmt) msg); +static UpdateStmt * _readUpdateStmt(const OUT_TYPE(UpdateStmt, UpdateStmt) msg); +static MergeStmt * _readMergeStmt(const OUT_TYPE(MergeStmt, MergeStmt) msg); +static SelectStmt * _readSelectStmt(const OUT_TYPE(SelectStmt, SelectStmt) msg); +static SetOperationStmt * _readSetOperationStmt(const OUT_TYPE(SetOperationStmt, SetOperationStmt) msg); +static ReturnStmt * _readReturnStmt(const OUT_TYPE(ReturnStmt, ReturnStmt) msg); +static PLAssignStmt * _readPLAssignStmt(const OUT_TYPE(PLAssignStmt, PLAssignStmt) msg); +static CreateSchemaStmt * _readCreateSchemaStmt(const OUT_TYPE(CreateSchemaStmt, CreateSchemaStmt) msg); +static AlterTableStmt * _readAlterTableStmt(const OUT_TYPE(AlterTableStmt, AlterTableStmt) msg); +static AlterTableCmd * _readAlterTableCmd(const OUT_TYPE(AlterTableCmd, AlterTableCmd) msg); +static ATAlterConstraint * _readATAlterConstraint(const OUT_TYPE(ATAlterConstraint, ATAlterConstraint) msg); +static ReplicaIdentityStmt * _readReplicaIdentityStmt(const OUT_TYPE(ReplicaIdentityStmt, ReplicaIdentityStmt) msg); +static AlterCollationStmt * _readAlterCollationStmt(const OUT_TYPE(AlterCollationStmt, AlterCollationStmt) msg); +static AlterDomainStmt * _readAlterDomainStmt(const OUT_TYPE(AlterDomainStmt, AlterDomainStmt) msg); +static GrantStmt * _readGrantStmt(const OUT_TYPE(GrantStmt, GrantStmt) msg); +static ObjectWithArgs * _readObjectWithArgs(const OUT_TYPE(ObjectWithArgs, ObjectWithArgs) msg); +static AccessPriv * _readAccessPriv(const OUT_TYPE(AccessPriv, AccessPriv) msg); +static GrantRoleStmt * _readGrantRoleStmt(const OUT_TYPE(GrantRoleStmt, GrantRoleStmt) msg); +static AlterDefaultPrivilegesStmt * _readAlterDefaultPrivilegesStmt(const OUT_TYPE(AlterDefaultPrivilegesStmt, AlterDefaultPrivilegesStmt) msg); +static CopyStmt * _readCopyStmt(const OUT_TYPE(CopyStmt, CopyStmt) msg); +static VariableSetStmt * _readVariableSetStmt(const OUT_TYPE(VariableSetStmt, VariableSetStmt) msg); +static VariableShowStmt * _readVariableShowStmt(const OUT_TYPE(VariableShowStmt, VariableShowStmt) msg); +static CreateStmt * _readCreateStmt(const OUT_TYPE(CreateStmt, CreateStmt) msg); +static Constraint * _readConstraint(const OUT_TYPE(Constraint, Constraint) msg); +static CreateTableSpaceStmt * _readCreateTableSpaceStmt(const OUT_TYPE(CreateTableSpaceStmt, CreateTableSpaceStmt) msg); +static DropTableSpaceStmt * _readDropTableSpaceStmt(const OUT_TYPE(DropTableSpaceStmt, DropTableSpaceStmt) msg); +static AlterTableSpaceOptionsStmt * _readAlterTableSpaceOptionsStmt(const OUT_TYPE(AlterTableSpaceOptionsStmt, AlterTableSpaceOptionsStmt) msg); +static AlterTableMoveAllStmt * _readAlterTableMoveAllStmt(const OUT_TYPE(AlterTableMoveAllStmt, AlterTableMoveAllStmt) msg); +static CreateExtensionStmt * _readCreateExtensionStmt(const OUT_TYPE(CreateExtensionStmt, CreateExtensionStmt) msg); +static AlterExtensionStmt * _readAlterExtensionStmt(const OUT_TYPE(AlterExtensionStmt, AlterExtensionStmt) msg); +static AlterExtensionContentsStmt * _readAlterExtensionContentsStmt(const OUT_TYPE(AlterExtensionContentsStmt, AlterExtensionContentsStmt) msg); +static CreateFdwStmt * _readCreateFdwStmt(const OUT_TYPE(CreateFdwStmt, CreateFdwStmt) msg); +static AlterFdwStmt * _readAlterFdwStmt(const OUT_TYPE(AlterFdwStmt, AlterFdwStmt) msg); +static CreateForeignServerStmt * _readCreateForeignServerStmt(const OUT_TYPE(CreateForeignServerStmt, CreateForeignServerStmt) msg); +static AlterForeignServerStmt * _readAlterForeignServerStmt(const OUT_TYPE(AlterForeignServerStmt, AlterForeignServerStmt) msg); +static CreateForeignTableStmt * _readCreateForeignTableStmt(const OUT_TYPE(CreateForeignTableStmt, CreateForeignTableStmt) msg); +static CreateUserMappingStmt * _readCreateUserMappingStmt(const OUT_TYPE(CreateUserMappingStmt, CreateUserMappingStmt) msg); +static AlterUserMappingStmt * _readAlterUserMappingStmt(const OUT_TYPE(AlterUserMappingStmt, AlterUserMappingStmt) msg); +static DropUserMappingStmt * _readDropUserMappingStmt(const OUT_TYPE(DropUserMappingStmt, DropUserMappingStmt) msg); +static ImportForeignSchemaStmt * _readImportForeignSchemaStmt(const OUT_TYPE(ImportForeignSchemaStmt, ImportForeignSchemaStmt) msg); +static CreatePolicyStmt * _readCreatePolicyStmt(const OUT_TYPE(CreatePolicyStmt, CreatePolicyStmt) msg); +static AlterPolicyStmt * _readAlterPolicyStmt(const OUT_TYPE(AlterPolicyStmt, AlterPolicyStmt) msg); +static CreateAmStmt * _readCreateAmStmt(const OUT_TYPE(CreateAmStmt, CreateAmStmt) msg); +static CreateTrigStmt * _readCreateTrigStmt(const OUT_TYPE(CreateTrigStmt, CreateTrigStmt) msg); +static CreateEventTrigStmt * _readCreateEventTrigStmt(const OUT_TYPE(CreateEventTrigStmt, CreateEventTrigStmt) msg); +static AlterEventTrigStmt * _readAlterEventTrigStmt(const OUT_TYPE(AlterEventTrigStmt, AlterEventTrigStmt) msg); +static CreatePLangStmt * _readCreatePLangStmt(const OUT_TYPE(CreatePLangStmt, CreatePLangStmt) msg); +static CreateRoleStmt * _readCreateRoleStmt(const OUT_TYPE(CreateRoleStmt, CreateRoleStmt) msg); +static AlterRoleStmt * _readAlterRoleStmt(const OUT_TYPE(AlterRoleStmt, AlterRoleStmt) msg); +static AlterRoleSetStmt * _readAlterRoleSetStmt(const OUT_TYPE(AlterRoleSetStmt, AlterRoleSetStmt) msg); +static DropRoleStmt * _readDropRoleStmt(const OUT_TYPE(DropRoleStmt, DropRoleStmt) msg); +static CreateSeqStmt * _readCreateSeqStmt(const OUT_TYPE(CreateSeqStmt, CreateSeqStmt) msg); +static AlterSeqStmt * _readAlterSeqStmt(const OUT_TYPE(AlterSeqStmt, AlterSeqStmt) msg); +static DefineStmt * _readDefineStmt(const OUT_TYPE(DefineStmt, DefineStmt) msg); +static CreateDomainStmt * _readCreateDomainStmt(const OUT_TYPE(CreateDomainStmt, CreateDomainStmt) msg); +static CreateOpClassStmt * _readCreateOpClassStmt(const OUT_TYPE(CreateOpClassStmt, CreateOpClassStmt) msg); +static CreateOpClassItem * _readCreateOpClassItem(const OUT_TYPE(CreateOpClassItem, CreateOpClassItem) msg); +static CreateOpFamilyStmt * _readCreateOpFamilyStmt(const OUT_TYPE(CreateOpFamilyStmt, CreateOpFamilyStmt) msg); +static AlterOpFamilyStmt * _readAlterOpFamilyStmt(const OUT_TYPE(AlterOpFamilyStmt, AlterOpFamilyStmt) msg); +static DropStmt * _readDropStmt(const OUT_TYPE(DropStmt, DropStmt) msg); +static TruncateStmt * _readTruncateStmt(const OUT_TYPE(TruncateStmt, TruncateStmt) msg); +static CommentStmt * _readCommentStmt(const OUT_TYPE(CommentStmt, CommentStmt) msg); +static SecLabelStmt * _readSecLabelStmt(const OUT_TYPE(SecLabelStmt, SecLabelStmt) msg); +static DeclareCursorStmt * _readDeclareCursorStmt(const OUT_TYPE(DeclareCursorStmt, DeclareCursorStmt) msg); +static ClosePortalStmt * _readClosePortalStmt(const OUT_TYPE(ClosePortalStmt, ClosePortalStmt) msg); +static FetchStmt * _readFetchStmt(const OUT_TYPE(FetchStmt, FetchStmt) msg); +static IndexStmt * _readIndexStmt(const OUT_TYPE(IndexStmt, IndexStmt) msg); +static CreateStatsStmt * _readCreateStatsStmt(const OUT_TYPE(CreateStatsStmt, CreateStatsStmt) msg); +static StatsElem * _readStatsElem(const OUT_TYPE(StatsElem, StatsElem) msg); +static AlterStatsStmt * _readAlterStatsStmt(const OUT_TYPE(AlterStatsStmt, AlterStatsStmt) msg); +static CreateFunctionStmt * _readCreateFunctionStmt(const OUT_TYPE(CreateFunctionStmt, CreateFunctionStmt) msg); +static FunctionParameter * _readFunctionParameter(const OUT_TYPE(FunctionParameter, FunctionParameter) msg); +static AlterFunctionStmt * _readAlterFunctionStmt(const OUT_TYPE(AlterFunctionStmt, AlterFunctionStmt) msg); +static DoStmt * _readDoStmt(const OUT_TYPE(DoStmt, DoStmt) msg); +static InlineCodeBlock * _readInlineCodeBlock(const OUT_TYPE(InlineCodeBlock, InlineCodeBlock) msg); +static CallStmt * _readCallStmt(const OUT_TYPE(CallStmt, CallStmt) msg); +static CallContext * _readCallContext(const OUT_TYPE(CallContext, CallContext) msg); +static RenameStmt * _readRenameStmt(const OUT_TYPE(RenameStmt, RenameStmt) msg); +static AlterObjectDependsStmt * _readAlterObjectDependsStmt(const OUT_TYPE(AlterObjectDependsStmt, AlterObjectDependsStmt) msg); +static AlterObjectSchemaStmt * _readAlterObjectSchemaStmt(const OUT_TYPE(AlterObjectSchemaStmt, AlterObjectSchemaStmt) msg); +static AlterOwnerStmt * _readAlterOwnerStmt(const OUT_TYPE(AlterOwnerStmt, AlterOwnerStmt) msg); +static AlterOperatorStmt * _readAlterOperatorStmt(const OUT_TYPE(AlterOperatorStmt, AlterOperatorStmt) msg); +static AlterTypeStmt * _readAlterTypeStmt(const OUT_TYPE(AlterTypeStmt, AlterTypeStmt) msg); +static RuleStmt * _readRuleStmt(const OUT_TYPE(RuleStmt, RuleStmt) msg); +static NotifyStmt * _readNotifyStmt(const OUT_TYPE(NotifyStmt, NotifyStmt) msg); +static ListenStmt * _readListenStmt(const OUT_TYPE(ListenStmt, ListenStmt) msg); +static UnlistenStmt * _readUnlistenStmt(const OUT_TYPE(UnlistenStmt, UnlistenStmt) msg); +static TransactionStmt * _readTransactionStmt(const OUT_TYPE(TransactionStmt, TransactionStmt) msg); +static CompositeTypeStmt * _readCompositeTypeStmt(const OUT_TYPE(CompositeTypeStmt, CompositeTypeStmt) msg); +static CreateEnumStmt * _readCreateEnumStmt(const OUT_TYPE(CreateEnumStmt, CreateEnumStmt) msg); +static CreateRangeStmt * _readCreateRangeStmt(const OUT_TYPE(CreateRangeStmt, CreateRangeStmt) msg); +static AlterEnumStmt * _readAlterEnumStmt(const OUT_TYPE(AlterEnumStmt, AlterEnumStmt) msg); +static ViewStmt * _readViewStmt(const OUT_TYPE(ViewStmt, ViewStmt) msg); +static LoadStmt * _readLoadStmt(const OUT_TYPE(LoadStmt, LoadStmt) msg); +static CreatedbStmt * _readCreatedbStmt(const OUT_TYPE(CreatedbStmt, CreatedbStmt) msg); +static AlterDatabaseStmt * _readAlterDatabaseStmt(const OUT_TYPE(AlterDatabaseStmt, AlterDatabaseStmt) msg); +static AlterDatabaseRefreshCollStmt * _readAlterDatabaseRefreshCollStmt(const OUT_TYPE(AlterDatabaseRefreshCollStmt, AlterDatabaseRefreshCollStmt) msg); +static AlterDatabaseSetStmt * _readAlterDatabaseSetStmt(const OUT_TYPE(AlterDatabaseSetStmt, AlterDatabaseSetStmt) msg); +static DropdbStmt * _readDropdbStmt(const OUT_TYPE(DropdbStmt, DropdbStmt) msg); +static AlterSystemStmt * _readAlterSystemStmt(const OUT_TYPE(AlterSystemStmt, AlterSystemStmt) msg); +static ClusterStmt * _readClusterStmt(const OUT_TYPE(ClusterStmt, ClusterStmt) msg); +static VacuumStmt * _readVacuumStmt(const OUT_TYPE(VacuumStmt, VacuumStmt) msg); +static VacuumRelation * _readVacuumRelation(const OUT_TYPE(VacuumRelation, VacuumRelation) msg); +static ExplainStmt * _readExplainStmt(const OUT_TYPE(ExplainStmt, ExplainStmt) msg); +static CreateTableAsStmt * _readCreateTableAsStmt(const OUT_TYPE(CreateTableAsStmt, CreateTableAsStmt) msg); +static RefreshMatViewStmt * _readRefreshMatViewStmt(const OUT_TYPE(RefreshMatViewStmt, RefreshMatViewStmt) msg); +static CheckPointStmt * _readCheckPointStmt(const OUT_TYPE(CheckPointStmt, CheckPointStmt) msg); +static DiscardStmt * _readDiscardStmt(const OUT_TYPE(DiscardStmt, DiscardStmt) msg); +static LockStmt * _readLockStmt(const OUT_TYPE(LockStmt, LockStmt) msg); +static ConstraintsSetStmt * _readConstraintsSetStmt(const OUT_TYPE(ConstraintsSetStmt, ConstraintsSetStmt) msg); +static ReindexStmt * _readReindexStmt(const OUT_TYPE(ReindexStmt, ReindexStmt) msg); +static CreateConversionStmt * _readCreateConversionStmt(const OUT_TYPE(CreateConversionStmt, CreateConversionStmt) msg); +static CreateCastStmt * _readCreateCastStmt(const OUT_TYPE(CreateCastStmt, CreateCastStmt) msg); +static CreateTransformStmt * _readCreateTransformStmt(const OUT_TYPE(CreateTransformStmt, CreateTransformStmt) msg); +static PrepareStmt * _readPrepareStmt(const OUT_TYPE(PrepareStmt, PrepareStmt) msg); +static ExecuteStmt * _readExecuteStmt(const OUT_TYPE(ExecuteStmt, ExecuteStmt) msg); +static DeallocateStmt * _readDeallocateStmt(const OUT_TYPE(DeallocateStmt, DeallocateStmt) msg); +static DropOwnedStmt * _readDropOwnedStmt(const OUT_TYPE(DropOwnedStmt, DropOwnedStmt) msg); +static ReassignOwnedStmt * _readReassignOwnedStmt(const OUT_TYPE(ReassignOwnedStmt, ReassignOwnedStmt) msg); +static AlterTSDictionaryStmt * _readAlterTSDictionaryStmt(const OUT_TYPE(AlterTSDictionaryStmt, AlterTSDictionaryStmt) msg); +static AlterTSConfigurationStmt * _readAlterTSConfigurationStmt(const OUT_TYPE(AlterTSConfigurationStmt, AlterTSConfigurationStmt) msg); +static PublicationTable * _readPublicationTable(const OUT_TYPE(PublicationTable, PublicationTable) msg); +static PublicationObjSpec * _readPublicationObjSpec(const OUT_TYPE(PublicationObjSpec, PublicationObjSpec) msg); +static CreatePublicationStmt * _readCreatePublicationStmt(const OUT_TYPE(CreatePublicationStmt, CreatePublicationStmt) msg); +static AlterPublicationStmt * _readAlterPublicationStmt(const OUT_TYPE(AlterPublicationStmt, AlterPublicationStmt) msg); +static CreateSubscriptionStmt * _readCreateSubscriptionStmt(const OUT_TYPE(CreateSubscriptionStmt, CreateSubscriptionStmt) msg); +static AlterSubscriptionStmt * _readAlterSubscriptionStmt(const OUT_TYPE(AlterSubscriptionStmt, AlterSubscriptionStmt) msg); +static DropSubscriptionStmt * _readDropSubscriptionStmt(const OUT_TYPE(DropSubscriptionStmt, DropSubscriptionStmt) msg); static Alias * -_readAlias(OUT_TYPE(Alias, Alias) msg) +_readAlias(const OUT_TYPE(Alias, Alias) msg) { Alias *node = makeNode(Alias); - READ_STRING_FIELD(aliasname, aliasname, aliasname); - READ_LIST_FIELD(colnames, colnames, colnames); + READ_STRING_FIELD(Alias, aliasname, aliasname, aliasname); + READ_LIST_FIELD(Alias, colnames, colnames, colnames); return node; } static RangeVar * -_readRangeVar(OUT_TYPE(RangeVar, RangeVar) msg) +_readRangeVar(const OUT_TYPE(RangeVar, RangeVar) msg) { RangeVar *node = makeNode(RangeVar); - READ_STRING_FIELD(catalogname, catalogname, catalogname); - READ_STRING_FIELD(schemaname, schemaname, schemaname); - READ_STRING_FIELD(relname, relname, relname); - READ_BOOL_FIELD(inh, inh, inh); - READ_CHAR_FIELD(relpersistence, relpersistence, relpersistence); - READ_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - READ_INT_FIELD(location, location, location); + READ_STRING_FIELD(RangeVar, catalogname, catalogname, catalogname); + READ_STRING_FIELD(RangeVar, schemaname, schemaname, schemaname); + READ_STRING_FIELD(RangeVar, relname, relname, relname); + READ_BOOL_FIELD(RangeVar, inh, inh, inh); + READ_CHAR_FIELD(RangeVar, relpersistence, relpersistence, relpersistence); + READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, Alias, alias, alias, alias, alias); + READ_INT_FIELD(RangeVar, location, location, location); return node; } static TableFunc * -_readTableFunc(OUT_TYPE(TableFunc, TableFunc) msg) +_readTableFunc(const OUT_TYPE(TableFunc, TableFunc) msg) { TableFunc *node = makeNode(TableFunc); - READ_ENUM_FIELD(TableFuncType, functype, functype, functype); - READ_LIST_FIELD(ns_uris, ns_uris, ns_uris); - READ_LIST_FIELD(ns_names, ns_names, ns_names); - READ_NODE_PTR_FIELD(docexpr, docexpr, docexpr); - READ_NODE_PTR_FIELD(rowexpr, rowexpr, rowexpr); - READ_LIST_FIELD(colnames, colnames, colnames); - READ_LIST_FIELD(coltypes, coltypes, coltypes); - READ_LIST_FIELD(coltypmods, coltypmods, coltypmods); - READ_LIST_FIELD(colcollations, colcollations, colcollations); - READ_LIST_FIELD(colexprs, colexprs, colexprs); - READ_LIST_FIELD(coldefexprs, coldefexprs, coldefexprs); - READ_LIST_FIELD(colvalexprs, colvalexprs, colvalexprs); - READ_LIST_FIELD(passingvalexprs, passingvalexprs, passingvalexprs); - READ_BITMAPSET_FIELD(notnulls, notnulls, notnulls); - READ_NODE_PTR_FIELD(plan, plan, plan); - READ_INT_FIELD(ordinalitycol, ordinalitycol, ordinalitycol); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(TableFunc, TableFuncType, functype, functype, functype); + READ_LIST_FIELD(TableFunc, ns_uris, ns_uris, ns_uris); + READ_LIST_FIELD(TableFunc, ns_names, ns_names, ns_names); + READ_NODE_PTR_FIELD(TableFunc, docexpr, docexpr, docexpr); + READ_NODE_PTR_FIELD(TableFunc, rowexpr, rowexpr, rowexpr); + READ_LIST_FIELD(TableFunc, colnames, colnames, colnames); + READ_LIST_FIELD(TableFunc, coltypes, coltypes, coltypes); + READ_LIST_FIELD(TableFunc, coltypmods, coltypmods, coltypmods); + READ_LIST_FIELD(TableFunc, colcollations, colcollations, colcollations); + READ_LIST_FIELD(TableFunc, colexprs, colexprs, colexprs); + READ_LIST_FIELD(TableFunc, coldefexprs, coldefexprs, coldefexprs); + READ_LIST_FIELD(TableFunc, colvalexprs, colvalexprs, colvalexprs); + READ_LIST_FIELD(TableFunc, passingvalexprs, passingvalexprs, passingvalexprs); + READ_BITMAPSET_FIELD(TableFunc, notnulls, notnulls, notnulls); + READ_NODE_PTR_FIELD(TableFunc, plan, plan, plan); + READ_INT_FIELD(TableFunc, ordinalitycol, ordinalitycol, ordinalitycol); + READ_INT_FIELD(TableFunc, location, location, location); return node; } static IntoClause * -_readIntoClause(OUT_TYPE(IntoClause, IntoClause) msg) +_readIntoClause(const OUT_TYPE(IntoClause, IntoClause) msg) { IntoClause *node = makeNode(IntoClause); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, rel, rel, rel); - READ_LIST_FIELD(col_names, colNames, colNames); - READ_STRING_FIELD(access_method, accessMethod, accessMethod); - READ_LIST_FIELD(options, options, options); - READ_ENUM_FIELD(OnCommitAction, on_commit, onCommit, onCommit); - READ_STRING_FIELD(table_space_name, tableSpaceName, tableSpaceName); - READ_SPECIFIC_NODE_PTR_FIELD(Query, query, view_query, viewQuery, viewQuery); - READ_BOOL_FIELD(skip_data, skipData, skipData); + READ_SPECIFIC_NODE_PTR_FIELD(IntoClause, RangeVar, range_var, rel, rel, rel); + READ_LIST_FIELD(IntoClause, col_names, colNames, colNames); + READ_STRING_FIELD(IntoClause, access_method, accessMethod, accessMethod); + READ_LIST_FIELD(IntoClause, options, options, options); + READ_ENUM_FIELD(IntoClause, OnCommitAction, on_commit, onCommit, onCommit); + READ_STRING_FIELD(IntoClause, table_space_name, tableSpaceName, tableSpaceName); + READ_SPECIFIC_NODE_PTR_FIELD(IntoClause, Query, query, view_query, viewQuery, viewQuery); + READ_BOOL_FIELD(IntoClause, skip_data, skipData, skipData); return node; } static Var * -_readVar(OUT_TYPE(Var, Var) msg) +_readVar(const OUT_TYPE(Var, Var) msg) { Var *node = makeNode(Var); - READ_INT_FIELD(varno, varno, varno); - READ_INT_FIELD(varattno, varattno, varattno); - READ_UINT_FIELD(vartype, vartype, vartype); - READ_INT_FIELD(vartypmod, vartypmod, vartypmod); - READ_UINT_FIELD(varcollid, varcollid, varcollid); - READ_BITMAPSET_FIELD(varnullingrels, varnullingrels, varnullingrels); - READ_UINT_FIELD(varlevelsup, varlevelsup, varlevelsup); - READ_ENUM_FIELD(VarReturningType, varreturningtype, varreturningtype, varreturningtype); - READ_INT_FIELD(location, location, location); + READ_INT_FIELD(Var, varno, varno, varno); + READ_INT_FIELD(Var, varattno, varattno, varattno); + READ_UINT_FIELD(Var, vartype, vartype, vartype); + READ_INT_FIELD(Var, vartypmod, vartypmod, vartypmod); + READ_UINT_FIELD(Var, varcollid, varcollid, varcollid); + READ_BITMAPSET_FIELD(Var, varnullingrels, varnullingrels, varnullingrels); + READ_UINT_FIELD(Var, varlevelsup, varlevelsup, varlevelsup); + READ_ENUM_FIELD(Var, VarReturningType, varreturningtype, varreturningtype, varreturningtype); + READ_INT_FIELD(Var, location, location, location); return node; } static Param * -_readParam(OUT_TYPE(Param, Param) msg) +_readParam(const OUT_TYPE(Param, Param) msg) { Param *node = makeNode(Param); - READ_ENUM_FIELD(ParamKind, paramkind, paramkind, paramkind); - READ_INT_FIELD(paramid, paramid, paramid); - READ_UINT_FIELD(paramtype, paramtype, paramtype); - READ_INT_FIELD(paramtypmod, paramtypmod, paramtypmod); - READ_UINT_FIELD(paramcollid, paramcollid, paramcollid); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(Param, ParamKind, paramkind, paramkind, paramkind); + READ_INT_FIELD(Param, paramid, paramid, paramid); + READ_UINT_FIELD(Param, paramtype, paramtype, paramtype); + READ_INT_FIELD(Param, paramtypmod, paramtypmod, paramtypmod); + READ_UINT_FIELD(Param, paramcollid, paramcollid, paramcollid); + READ_INT_FIELD(Param, location, location, location); return node; } static Aggref * -_readAggref(OUT_TYPE(Aggref, Aggref) msg) +_readAggref(const OUT_TYPE(Aggref, Aggref) msg) { Aggref *node = makeNode(Aggref); - READ_UINT_FIELD(aggfnoid, aggfnoid, aggfnoid); - READ_UINT_FIELD(aggtype, aggtype, aggtype); - READ_UINT_FIELD(aggcollid, aggcollid, aggcollid); - READ_UINT_FIELD(inputcollid, inputcollid, inputcollid); - READ_LIST_FIELD(aggargtypes, aggargtypes, aggargtypes); - READ_LIST_FIELD(aggdirectargs, aggdirectargs, aggdirectargs); - READ_LIST_FIELD(args, args, args); - READ_LIST_FIELD(aggorder, aggorder, aggorder); - READ_LIST_FIELD(aggdistinct, aggdistinct, aggdistinct); - READ_ABSTRACT_PTR_FIELD(aggfilter, aggfilter, aggfilter, Expr*); - READ_BOOL_FIELD(aggstar, aggstar, aggstar); - READ_BOOL_FIELD(aggvariadic, aggvariadic, aggvariadic); - READ_CHAR_FIELD(aggkind, aggkind, aggkind); - READ_UINT_FIELD(agglevelsup, agglevelsup, agglevelsup); - READ_ENUM_FIELD(AggSplit, aggsplit, aggsplit, aggsplit); - READ_INT_FIELD(aggno, aggno, aggno); - READ_INT_FIELD(aggtransno, aggtransno, aggtransno); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(Aggref, aggfnoid, aggfnoid, aggfnoid); + READ_UINT_FIELD(Aggref, aggtype, aggtype, aggtype); + READ_UINT_FIELD(Aggref, aggcollid, aggcollid, aggcollid); + READ_UINT_FIELD(Aggref, inputcollid, inputcollid, inputcollid); + READ_LIST_FIELD(Aggref, aggargtypes, aggargtypes, aggargtypes); + READ_LIST_FIELD(Aggref, aggdirectargs, aggdirectargs, aggdirectargs); + READ_LIST_FIELD(Aggref, args, args, args); + READ_LIST_FIELD(Aggref, aggorder, aggorder, aggorder); + READ_LIST_FIELD(Aggref, aggdistinct, aggdistinct, aggdistinct); + READ_ABSTRACT_PTR_FIELD(Aggref, aggfilter, aggfilter, aggfilter, Expr*); + READ_BOOL_FIELD(Aggref, aggstar, aggstar, aggstar); + READ_BOOL_FIELD(Aggref, aggvariadic, aggvariadic, aggvariadic); + READ_CHAR_FIELD(Aggref, aggkind, aggkind, aggkind); + READ_UINT_FIELD(Aggref, agglevelsup, agglevelsup, agglevelsup); + READ_ENUM_FIELD(Aggref, AggSplit, aggsplit, aggsplit, aggsplit); + READ_INT_FIELD(Aggref, aggno, aggno, aggno); + READ_INT_FIELD(Aggref, aggtransno, aggtransno, aggtransno); + READ_INT_FIELD(Aggref, location, location, location); return node; } static GroupingFunc * -_readGroupingFunc(OUT_TYPE(GroupingFunc, GroupingFunc) msg) +_readGroupingFunc(const OUT_TYPE(GroupingFunc, GroupingFunc) msg) { GroupingFunc *node = makeNode(GroupingFunc); - READ_LIST_FIELD(args, args, args); - READ_LIST_FIELD(refs, refs, refs); - READ_UINT_FIELD(agglevelsup, agglevelsup, agglevelsup); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(GroupingFunc, args, args, args); + READ_LIST_FIELD(GroupingFunc, refs, refs, refs); + READ_UINT_FIELD(GroupingFunc, agglevelsup, agglevelsup, agglevelsup); + READ_INT_FIELD(GroupingFunc, location, location, location); return node; } static WindowFunc * -_readWindowFunc(OUT_TYPE(WindowFunc, WindowFunc) msg) +_readWindowFunc(const OUT_TYPE(WindowFunc, WindowFunc) msg) { WindowFunc *node = makeNode(WindowFunc); - READ_UINT_FIELD(winfnoid, winfnoid, winfnoid); - READ_UINT_FIELD(wintype, wintype, wintype); - READ_UINT_FIELD(wincollid, wincollid, wincollid); - READ_UINT_FIELD(inputcollid, inputcollid, inputcollid); - READ_LIST_FIELD(args, args, args); - READ_ABSTRACT_PTR_FIELD(aggfilter, aggfilter, aggfilter, Expr*); - READ_LIST_FIELD(run_condition, runCondition, runCondition); - READ_UINT_FIELD(winref, winref, winref); - READ_BOOL_FIELD(winstar, winstar, winstar); - READ_BOOL_FIELD(winagg, winagg, winagg); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(WindowFunc, winfnoid, winfnoid, winfnoid); + READ_UINT_FIELD(WindowFunc, wintype, wintype, wintype); + READ_UINT_FIELD(WindowFunc, wincollid, wincollid, wincollid); + READ_UINT_FIELD(WindowFunc, inputcollid, inputcollid, inputcollid); + READ_LIST_FIELD(WindowFunc, args, args, args); + READ_ABSTRACT_PTR_FIELD(WindowFunc, aggfilter, aggfilter, aggfilter, Expr*); + READ_LIST_FIELD(WindowFunc, run_condition, runCondition, runCondition); + READ_UINT_FIELD(WindowFunc, winref, winref, winref); + READ_BOOL_FIELD(WindowFunc, winstar, winstar, winstar); + READ_BOOL_FIELD(WindowFunc, winagg, winagg, winagg); + READ_INT_FIELD(WindowFunc, location, location, location); return node; } static WindowFuncRunCondition * -_readWindowFuncRunCondition(OUT_TYPE(WindowFuncRunCondition, WindowFuncRunCondition) msg) +_readWindowFuncRunCondition(const OUT_TYPE(WindowFuncRunCondition, WindowFuncRunCondition) msg) { WindowFuncRunCondition *node = makeNode(WindowFuncRunCondition); - READ_UINT_FIELD(opno, opno, opno); - READ_UINT_FIELD(inputcollid, inputcollid, inputcollid); - READ_BOOL_FIELD(wfunc_left, wfunc_left, wfunc_left); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); + READ_UINT_FIELD(WindowFuncRunCondition, opno, opno, opno); + READ_UINT_FIELD(WindowFuncRunCondition, inputcollid, inputcollid, inputcollid); + READ_BOOL_FIELD(WindowFuncRunCondition, wfunc_left, wfunc_left, wfunc_left); + READ_ABSTRACT_PTR_FIELD(WindowFuncRunCondition, arg, arg, arg, Expr*); return node; } static MergeSupportFunc * -_readMergeSupportFunc(OUT_TYPE(MergeSupportFunc, MergeSupportFunc) msg) +_readMergeSupportFunc(const OUT_TYPE(MergeSupportFunc, MergeSupportFunc) msg) { MergeSupportFunc *node = makeNode(MergeSupportFunc); - READ_UINT_FIELD(msftype, msftype, msftype); - READ_UINT_FIELD(msfcollid, msfcollid, msfcollid); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(MergeSupportFunc, msftype, msftype, msftype); + READ_UINT_FIELD(MergeSupportFunc, msfcollid, msfcollid, msfcollid); + READ_INT_FIELD(MergeSupportFunc, location, location, location); return node; } static SubscriptingRef * -_readSubscriptingRef(OUT_TYPE(SubscriptingRef, SubscriptingRef) msg) +_readSubscriptingRef(const OUT_TYPE(SubscriptingRef, SubscriptingRef) msg) { SubscriptingRef *node = makeNode(SubscriptingRef); - READ_UINT_FIELD(refcontainertype, refcontainertype, refcontainertype); - READ_UINT_FIELD(refelemtype, refelemtype, refelemtype); - READ_UINT_FIELD(refrestype, refrestype, refrestype); - READ_INT_FIELD(reftypmod, reftypmod, reftypmod); - READ_UINT_FIELD(refcollid, refcollid, refcollid); - READ_LIST_FIELD(refupperindexpr, refupperindexpr, refupperindexpr); - READ_LIST_FIELD(reflowerindexpr, reflowerindexpr, reflowerindexpr); - READ_ABSTRACT_PTR_FIELD(refexpr, refexpr, refexpr, Expr*); - READ_ABSTRACT_PTR_FIELD(refassgnexpr, refassgnexpr, refassgnexpr, Expr*); + READ_UINT_FIELD(SubscriptingRef, refcontainertype, refcontainertype, refcontainertype); + READ_UINT_FIELD(SubscriptingRef, refelemtype, refelemtype, refelemtype); + READ_UINT_FIELD(SubscriptingRef, refrestype, refrestype, refrestype); + READ_INT_FIELD(SubscriptingRef, reftypmod, reftypmod, reftypmod); + READ_UINT_FIELD(SubscriptingRef, refcollid, refcollid, refcollid); + READ_LIST_FIELD(SubscriptingRef, refupperindexpr, refupperindexpr, refupperindexpr); + READ_LIST_FIELD(SubscriptingRef, reflowerindexpr, reflowerindexpr, reflowerindexpr); + READ_ABSTRACT_PTR_FIELD(SubscriptingRef, refexpr, refexpr, refexpr, Expr*); + READ_ABSTRACT_PTR_FIELD(SubscriptingRef, refassgnexpr, refassgnexpr, refassgnexpr, Expr*); return node; } static FuncExpr * -_readFuncExpr(OUT_TYPE(FuncExpr, FuncExpr) msg) +_readFuncExpr(const OUT_TYPE(FuncExpr, FuncExpr) msg) { FuncExpr *node = makeNode(FuncExpr); - READ_UINT_FIELD(funcid, funcid, funcid); - READ_UINT_FIELD(funcresulttype, funcresulttype, funcresulttype); - READ_BOOL_FIELD(funcretset, funcretset, funcretset); - READ_BOOL_FIELD(funcvariadic, funcvariadic, funcvariadic); - READ_ENUM_FIELD(CoercionForm, funcformat, funcformat, funcformat); - READ_UINT_FIELD(funccollid, funccollid, funccollid); - READ_UINT_FIELD(inputcollid, inputcollid, inputcollid); - READ_LIST_FIELD(args, args, args); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(FuncExpr, funcid, funcid, funcid); + READ_UINT_FIELD(FuncExpr, funcresulttype, funcresulttype, funcresulttype); + READ_BOOL_FIELD(FuncExpr, funcretset, funcretset, funcretset); + READ_BOOL_FIELD(FuncExpr, funcvariadic, funcvariadic, funcvariadic); + READ_ENUM_FIELD(FuncExpr, CoercionForm, funcformat, funcformat, funcformat); + READ_UINT_FIELD(FuncExpr, funccollid, funccollid, funccollid); + READ_UINT_FIELD(FuncExpr, inputcollid, inputcollid, inputcollid); + READ_LIST_FIELD(FuncExpr, args, args, args); + READ_INT_FIELD(FuncExpr, location, location, location); return node; } static NamedArgExpr * -_readNamedArgExpr(OUT_TYPE(NamedArgExpr, NamedArgExpr) msg) +_readNamedArgExpr(const OUT_TYPE(NamedArgExpr, NamedArgExpr) msg) { NamedArgExpr *node = makeNode(NamedArgExpr); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_STRING_FIELD(name, name, name); - READ_INT_FIELD(argnumber, argnumber, argnumber); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(NamedArgExpr, arg, arg, arg, Expr*); + READ_STRING_FIELD(NamedArgExpr, name, name, name); + READ_INT_FIELD(NamedArgExpr, argnumber, argnumber, argnumber); + READ_INT_FIELD(NamedArgExpr, location, location, location); return node; } static OpExpr * -_readOpExpr(OUT_TYPE(OpExpr, OpExpr) msg) +_readOpExpr(const OUT_TYPE(OpExpr, OpExpr) msg) { OpExpr *node = makeNode(OpExpr); - READ_UINT_FIELD(opno, opno, opno); - READ_UINT_FIELD(opresulttype, opresulttype, opresulttype); - READ_BOOL_FIELD(opretset, opretset, opretset); - READ_UINT_FIELD(opcollid, opcollid, opcollid); - READ_UINT_FIELD(inputcollid, inputcollid, inputcollid); - READ_LIST_FIELD(args, args, args); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(OpExpr, opno, opno, opno); + READ_UINT_FIELD(OpExpr, opresulttype, opresulttype, opresulttype); + READ_BOOL_FIELD(OpExpr, opretset, opretset, opretset); + READ_UINT_FIELD(OpExpr, opcollid, opcollid, opcollid); + READ_UINT_FIELD(OpExpr, inputcollid, inputcollid, inputcollid); + READ_LIST_FIELD(OpExpr, args, args, args); + READ_INT_FIELD(OpExpr, location, location, location); return node; } static DistinctExpr * -_readDistinctExpr(OUT_TYPE(DistinctExpr, DistinctExpr) msg) +_readDistinctExpr(const OUT_TYPE(DistinctExpr, DistinctExpr) msg) { DistinctExpr *node = makeNode(DistinctExpr); - READ_UINT_FIELD(opno, opno, opno); - READ_UINT_FIELD(opresulttype, opresulttype, opresulttype); - READ_BOOL_FIELD(opretset, opretset, opretset); - READ_UINT_FIELD(opcollid, opcollid, opcollid); - READ_UINT_FIELD(inputcollid, inputcollid, inputcollid); - READ_LIST_FIELD(args, args, args); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(DistinctExpr, opno, opno, opno); + READ_UINT_FIELD(DistinctExpr, opresulttype, opresulttype, opresulttype); + READ_BOOL_FIELD(DistinctExpr, opretset, opretset, opretset); + READ_UINT_FIELD(DistinctExpr, opcollid, opcollid, opcollid); + READ_UINT_FIELD(DistinctExpr, inputcollid, inputcollid, inputcollid); + READ_LIST_FIELD(DistinctExpr, args, args, args); + READ_INT_FIELD(DistinctExpr, location, location, location); return node; } static NullIfExpr * -_readNullIfExpr(OUT_TYPE(NullIfExpr, NullIfExpr) msg) +_readNullIfExpr(const OUT_TYPE(NullIfExpr, NullIfExpr) msg) { NullIfExpr *node = makeNode(NullIfExpr); - READ_UINT_FIELD(opno, opno, opno); - READ_UINT_FIELD(opresulttype, opresulttype, opresulttype); - READ_BOOL_FIELD(opretset, opretset, opretset); - READ_UINT_FIELD(opcollid, opcollid, opcollid); - READ_UINT_FIELD(inputcollid, inputcollid, inputcollid); - READ_LIST_FIELD(args, args, args); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(NullIfExpr, opno, opno, opno); + READ_UINT_FIELD(NullIfExpr, opresulttype, opresulttype, opresulttype); + READ_BOOL_FIELD(NullIfExpr, opretset, opretset, opretset); + READ_UINT_FIELD(NullIfExpr, opcollid, opcollid, opcollid); + READ_UINT_FIELD(NullIfExpr, inputcollid, inputcollid, inputcollid); + READ_LIST_FIELD(NullIfExpr, args, args, args); + READ_INT_FIELD(NullIfExpr, location, location, location); return node; } static ScalarArrayOpExpr * -_readScalarArrayOpExpr(OUT_TYPE(ScalarArrayOpExpr, ScalarArrayOpExpr) msg) +_readScalarArrayOpExpr(const OUT_TYPE(ScalarArrayOpExpr, ScalarArrayOpExpr) msg) { ScalarArrayOpExpr *node = makeNode(ScalarArrayOpExpr); - READ_UINT_FIELD(opno, opno, opno); - READ_BOOL_FIELD(use_or, useOr, useOr); - READ_UINT_FIELD(inputcollid, inputcollid, inputcollid); - READ_LIST_FIELD(args, args, args); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(ScalarArrayOpExpr, opno, opno, opno); + READ_BOOL_FIELD(ScalarArrayOpExpr, use_or, useOr, useOr); + READ_UINT_FIELD(ScalarArrayOpExpr, inputcollid, inputcollid, inputcollid); + READ_LIST_FIELD(ScalarArrayOpExpr, args, args, args); + READ_INT_FIELD(ScalarArrayOpExpr, location, location, location); return node; } static BoolExpr * -_readBoolExpr(OUT_TYPE(BoolExpr, BoolExpr) msg) +_readBoolExpr(const OUT_TYPE(BoolExpr, BoolExpr) msg) { BoolExpr *node = makeNode(BoolExpr); - READ_ENUM_FIELD(BoolExprType, boolop, boolop, boolop); - READ_LIST_FIELD(args, args, args); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(BoolExpr, BoolExprType, boolop, boolop, boolop); + READ_LIST_FIELD(BoolExpr, args, args, args); + READ_INT_FIELD(BoolExpr, location, location, location); return node; } static SubLink * -_readSubLink(OUT_TYPE(SubLink, SubLink) msg) +_readSubLink(const OUT_TYPE(SubLink, SubLink) msg) { SubLink *node = makeNode(SubLink); - READ_ENUM_FIELD(SubLinkType, sub_link_type, subLinkType, subLinkType); - READ_INT_FIELD(sub_link_id, subLinkId, subLinkId); - READ_NODE_PTR_FIELD(testexpr, testexpr, testexpr); - READ_LIST_FIELD(oper_name, operName, operName); - READ_NODE_PTR_FIELD(subselect, subselect, subselect); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(SubLink, SubLinkType, sub_link_type, subLinkType, subLinkType); + READ_INT_FIELD(SubLink, sub_link_id, subLinkId, subLinkId); + READ_NODE_PTR_FIELD(SubLink, testexpr, testexpr, testexpr); + READ_LIST_FIELD(SubLink, oper_name, operName, operName); + READ_NODE_PTR_FIELD(SubLink, subselect, subselect, subselect); + READ_INT_FIELD(SubLink, location, location, location); return node; } static SubPlan * -_readSubPlan(OUT_TYPE(SubPlan, SubPlan) msg) +_readSubPlan(const OUT_TYPE(SubPlan, SubPlan) msg) { SubPlan *node = makeNode(SubPlan); - READ_ENUM_FIELD(SubLinkType, sub_link_type, subLinkType, subLinkType); - READ_NODE_PTR_FIELD(testexpr, testexpr, testexpr); - READ_LIST_FIELD(param_ids, paramIds, paramIds); - READ_INT_FIELD(plan_id, plan_id, plan_id); - READ_STRING_FIELD(plan_name, plan_name, plan_name); - READ_UINT_FIELD(first_col_type, firstColType, firstColType); - READ_INT_FIELD(first_col_typmod, firstColTypmod, firstColTypmod); - READ_UINT_FIELD(first_col_collation, firstColCollation, firstColCollation); - READ_BOOL_FIELD(use_hash_table, useHashTable, useHashTable); - READ_BOOL_FIELD(unknown_eq_false, unknownEqFalse, unknownEqFalse); - READ_BOOL_FIELD(parallel_safe, parallel_safe, parallel_safe); - READ_LIST_FIELD(set_param, setParam, setParam); - READ_LIST_FIELD(par_param, parParam, parParam); - READ_LIST_FIELD(args, args, args); - READ_FLOAT_FIELD(startup_cost, startup_cost, startup_cost); - READ_FLOAT_FIELD(per_call_cost, per_call_cost, per_call_cost); + READ_ENUM_FIELD(SubPlan, SubLinkType, sub_link_type, subLinkType, subLinkType); + READ_NODE_PTR_FIELD(SubPlan, testexpr, testexpr, testexpr); + READ_LIST_FIELD(SubPlan, param_ids, paramIds, paramIds); + READ_INT_FIELD(SubPlan, plan_id, plan_id, plan_id); + READ_STRING_FIELD(SubPlan, plan_name, plan_name, plan_name); + READ_UINT_FIELD(SubPlan, first_col_type, firstColType, firstColType); + READ_INT_FIELD(SubPlan, first_col_typmod, firstColTypmod, firstColTypmod); + READ_UINT_FIELD(SubPlan, first_col_collation, firstColCollation, firstColCollation); + READ_BOOL_FIELD(SubPlan, use_hash_table, useHashTable, useHashTable); + READ_BOOL_FIELD(SubPlan, unknown_eq_false, unknownEqFalse, unknownEqFalse); + READ_BOOL_FIELD(SubPlan, parallel_safe, parallel_safe, parallel_safe); + READ_LIST_FIELD(SubPlan, set_param, setParam, setParam); + READ_LIST_FIELD(SubPlan, par_param, parParam, parParam); + READ_LIST_FIELD(SubPlan, args, args, args); + READ_FLOAT_FIELD(SubPlan, startup_cost, startup_cost, startup_cost); + READ_FLOAT_FIELD(SubPlan, per_call_cost, per_call_cost, per_call_cost); return node; } static AlternativeSubPlan * -_readAlternativeSubPlan(OUT_TYPE(AlternativeSubPlan, AlternativeSubPlan) msg) +_readAlternativeSubPlan(const OUT_TYPE(AlternativeSubPlan, AlternativeSubPlan) msg) { AlternativeSubPlan *node = makeNode(AlternativeSubPlan); - READ_LIST_FIELD(subplans, subplans, subplans); + READ_LIST_FIELD(AlternativeSubPlan, subplans, subplans, subplans); return node; } static FieldSelect * -_readFieldSelect(OUT_TYPE(FieldSelect, FieldSelect) msg) +_readFieldSelect(const OUT_TYPE(FieldSelect, FieldSelect) msg) { FieldSelect *node = makeNode(FieldSelect); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_INT_FIELD(fieldnum, fieldnum, fieldnum); - READ_UINT_FIELD(resulttype, resulttype, resulttype); - READ_INT_FIELD(resulttypmod, resulttypmod, resulttypmod); - READ_UINT_FIELD(resultcollid, resultcollid, resultcollid); + READ_ABSTRACT_PTR_FIELD(FieldSelect, arg, arg, arg, Expr*); + READ_INT_FIELD(FieldSelect, fieldnum, fieldnum, fieldnum); + READ_UINT_FIELD(FieldSelect, resulttype, resulttype, resulttype); + READ_INT_FIELD(FieldSelect, resulttypmod, resulttypmod, resulttypmod); + READ_UINT_FIELD(FieldSelect, resultcollid, resultcollid, resultcollid); return node; } static FieldStore * -_readFieldStore(OUT_TYPE(FieldStore, FieldStore) msg) +_readFieldStore(const OUT_TYPE(FieldStore, FieldStore) msg) { FieldStore *node = makeNode(FieldStore); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_LIST_FIELD(newvals, newvals, newvals); - READ_LIST_FIELD(fieldnums, fieldnums, fieldnums); - READ_UINT_FIELD(resulttype, resulttype, resulttype); + READ_ABSTRACT_PTR_FIELD(FieldStore, arg, arg, arg, Expr*); + READ_LIST_FIELD(FieldStore, newvals, newvals, newvals); + READ_LIST_FIELD(FieldStore, fieldnums, fieldnums, fieldnums); + READ_UINT_FIELD(FieldStore, resulttype, resulttype, resulttype); return node; } static RelabelType * -_readRelabelType(OUT_TYPE(RelabelType, RelabelType) msg) +_readRelabelType(const OUT_TYPE(RelabelType, RelabelType) msg) { RelabelType *node = makeNode(RelabelType); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_UINT_FIELD(resulttype, resulttype, resulttype); - READ_INT_FIELD(resulttypmod, resulttypmod, resulttypmod); - READ_UINT_FIELD(resultcollid, resultcollid, resultcollid); - READ_ENUM_FIELD(CoercionForm, relabelformat, relabelformat, relabelformat); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(RelabelType, arg, arg, arg, Expr*); + READ_UINT_FIELD(RelabelType, resulttype, resulttype, resulttype); + READ_INT_FIELD(RelabelType, resulttypmod, resulttypmod, resulttypmod); + READ_UINT_FIELD(RelabelType, resultcollid, resultcollid, resultcollid); + READ_ENUM_FIELD(RelabelType, CoercionForm, relabelformat, relabelformat, relabelformat); + READ_INT_FIELD(RelabelType, location, location, location); return node; } static CoerceViaIO * -_readCoerceViaIO(OUT_TYPE(CoerceViaIO, CoerceViaIO) msg) +_readCoerceViaIO(const OUT_TYPE(CoerceViaIO, CoerceViaIO) msg) { CoerceViaIO *node = makeNode(CoerceViaIO); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_UINT_FIELD(resulttype, resulttype, resulttype); - READ_UINT_FIELD(resultcollid, resultcollid, resultcollid); - READ_ENUM_FIELD(CoercionForm, coerceformat, coerceformat, coerceformat); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(CoerceViaIO, arg, arg, arg, Expr*); + READ_UINT_FIELD(CoerceViaIO, resulttype, resulttype, resulttype); + READ_UINT_FIELD(CoerceViaIO, resultcollid, resultcollid, resultcollid); + READ_ENUM_FIELD(CoerceViaIO, CoercionForm, coerceformat, coerceformat, coerceformat); + READ_INT_FIELD(CoerceViaIO, location, location, location); return node; } static ArrayCoerceExpr * -_readArrayCoerceExpr(OUT_TYPE(ArrayCoerceExpr, ArrayCoerceExpr) msg) +_readArrayCoerceExpr(const OUT_TYPE(ArrayCoerceExpr, ArrayCoerceExpr) msg) { ArrayCoerceExpr *node = makeNode(ArrayCoerceExpr); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_ABSTRACT_PTR_FIELD(elemexpr, elemexpr, elemexpr, Expr*); - READ_UINT_FIELD(resulttype, resulttype, resulttype); - READ_INT_FIELD(resulttypmod, resulttypmod, resulttypmod); - READ_UINT_FIELD(resultcollid, resultcollid, resultcollid); - READ_ENUM_FIELD(CoercionForm, coerceformat, coerceformat, coerceformat); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(ArrayCoerceExpr, arg, arg, arg, Expr*); + READ_ABSTRACT_PTR_FIELD(ArrayCoerceExpr, elemexpr, elemexpr, elemexpr, Expr*); + READ_UINT_FIELD(ArrayCoerceExpr, resulttype, resulttype, resulttype); + READ_INT_FIELD(ArrayCoerceExpr, resulttypmod, resulttypmod, resulttypmod); + READ_UINT_FIELD(ArrayCoerceExpr, resultcollid, resultcollid, resultcollid); + READ_ENUM_FIELD(ArrayCoerceExpr, CoercionForm, coerceformat, coerceformat, coerceformat); + READ_INT_FIELD(ArrayCoerceExpr, location, location, location); return node; } static ConvertRowtypeExpr * -_readConvertRowtypeExpr(OUT_TYPE(ConvertRowtypeExpr, ConvertRowtypeExpr) msg) +_readConvertRowtypeExpr(const OUT_TYPE(ConvertRowtypeExpr, ConvertRowtypeExpr) msg) { ConvertRowtypeExpr *node = makeNode(ConvertRowtypeExpr); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_UINT_FIELD(resulttype, resulttype, resulttype); - READ_ENUM_FIELD(CoercionForm, convertformat, convertformat, convertformat); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(ConvertRowtypeExpr, arg, arg, arg, Expr*); + READ_UINT_FIELD(ConvertRowtypeExpr, resulttype, resulttype, resulttype); + READ_ENUM_FIELD(ConvertRowtypeExpr, CoercionForm, convertformat, convertformat, convertformat); + READ_INT_FIELD(ConvertRowtypeExpr, location, location, location); return node; } static CollateExpr * -_readCollateExpr(OUT_TYPE(CollateExpr, CollateExpr) msg) +_readCollateExpr(const OUT_TYPE(CollateExpr, CollateExpr) msg) { CollateExpr *node = makeNode(CollateExpr); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_UINT_FIELD(coll_oid, collOid, collOid); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(CollateExpr, arg, arg, arg, Expr*); + READ_UINT_FIELD(CollateExpr, coll_oid, collOid, collOid); + READ_INT_FIELD(CollateExpr, location, location, location); return node; } static CaseExpr * -_readCaseExpr(OUT_TYPE(CaseExpr, CaseExpr) msg) +_readCaseExpr(const OUT_TYPE(CaseExpr, CaseExpr) msg) { CaseExpr *node = makeNode(CaseExpr); - READ_UINT_FIELD(casetype, casetype, casetype); - READ_UINT_FIELD(casecollid, casecollid, casecollid); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_LIST_FIELD(args, args, args); - READ_ABSTRACT_PTR_FIELD(defresult, defresult, defresult, Expr*); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(CaseExpr, casetype, casetype, casetype); + READ_UINT_FIELD(CaseExpr, casecollid, casecollid, casecollid); + READ_ABSTRACT_PTR_FIELD(CaseExpr, arg, arg, arg, Expr*); + READ_LIST_FIELD(CaseExpr, args, args, args); + READ_ABSTRACT_PTR_FIELD(CaseExpr, defresult, defresult, defresult, Expr*); + READ_INT_FIELD(CaseExpr, location, location, location); return node; } static CaseWhen * -_readCaseWhen(OUT_TYPE(CaseWhen, CaseWhen) msg) +_readCaseWhen(const OUT_TYPE(CaseWhen, CaseWhen) msg) { CaseWhen *node = makeNode(CaseWhen); - READ_ABSTRACT_PTR_FIELD(expr, expr, expr, Expr*); - READ_ABSTRACT_PTR_FIELD(result, result, result, Expr*); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(CaseWhen, expr, expr, expr, Expr*); + READ_ABSTRACT_PTR_FIELD(CaseWhen, result, result, result, Expr*); + READ_INT_FIELD(CaseWhen, location, location, location); return node; } static CaseTestExpr * -_readCaseTestExpr(OUT_TYPE(CaseTestExpr, CaseTestExpr) msg) +_readCaseTestExpr(const OUT_TYPE(CaseTestExpr, CaseTestExpr) msg) { CaseTestExpr *node = makeNode(CaseTestExpr); - READ_UINT_FIELD(type_id, typeId, typeId); - READ_INT_FIELD(type_mod, typeMod, typeMod); - READ_UINT_FIELD(collation, collation, collation); + READ_UINT_FIELD(CaseTestExpr, type_id, typeId, typeId); + READ_INT_FIELD(CaseTestExpr, type_mod, typeMod, typeMod); + READ_UINT_FIELD(CaseTestExpr, collation, collation, collation); return node; } static ArrayExpr * -_readArrayExpr(OUT_TYPE(ArrayExpr, ArrayExpr) msg) +_readArrayExpr(const OUT_TYPE(ArrayExpr, ArrayExpr) msg) { ArrayExpr *node = makeNode(ArrayExpr); - READ_UINT_FIELD(array_typeid, array_typeid, array_typeid); - READ_UINT_FIELD(array_collid, array_collid, array_collid); - READ_UINT_FIELD(element_typeid, element_typeid, element_typeid); - READ_LIST_FIELD(elements, elements, elements); - READ_BOOL_FIELD(multidims, multidims, multidims); - READ_INT_FIELD(list_start, list_start, list_start); - READ_INT_FIELD(list_end, list_end, list_end); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(ArrayExpr, array_typeid, array_typeid, array_typeid); + READ_UINT_FIELD(ArrayExpr, array_collid, array_collid, array_collid); + READ_UINT_FIELD(ArrayExpr, element_typeid, element_typeid, element_typeid); + READ_LIST_FIELD(ArrayExpr, elements, elements, elements); + READ_BOOL_FIELD(ArrayExpr, multidims, multidims, multidims); + READ_INT_FIELD(ArrayExpr, list_start, list_start, list_start); + READ_INT_FIELD(ArrayExpr, list_end, list_end, list_end); + READ_INT_FIELD(ArrayExpr, location, location, location); return node; } static RowExpr * -_readRowExpr(OUT_TYPE(RowExpr, RowExpr) msg) +_readRowExpr(const OUT_TYPE(RowExpr, RowExpr) msg) { RowExpr *node = makeNode(RowExpr); - READ_LIST_FIELD(args, args, args); - READ_UINT_FIELD(row_typeid, row_typeid, row_typeid); - READ_ENUM_FIELD(CoercionForm, row_format, row_format, row_format); - READ_LIST_FIELD(colnames, colnames, colnames); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(RowExpr, args, args, args); + READ_UINT_FIELD(RowExpr, row_typeid, row_typeid, row_typeid); + READ_ENUM_FIELD(RowExpr, CoercionForm, row_format, row_format, row_format); + READ_LIST_FIELD(RowExpr, colnames, colnames, colnames); + READ_INT_FIELD(RowExpr, location, location, location); return node; } static RowCompareExpr * -_readRowCompareExpr(OUT_TYPE(RowCompareExpr, RowCompareExpr) msg) +_readRowCompareExpr(const OUT_TYPE(RowCompareExpr, RowCompareExpr) msg) { RowCompareExpr *node = makeNode(RowCompareExpr); - READ_ENUM_FIELD(CompareType, cmptype, cmptype, cmptype); - READ_LIST_FIELD(opnos, opnos, opnos); - READ_LIST_FIELD(opfamilies, opfamilies, opfamilies); - READ_LIST_FIELD(inputcollids, inputcollids, inputcollids); - READ_LIST_FIELD(largs, largs, largs); - READ_LIST_FIELD(rargs, rargs, rargs); + READ_ENUM_FIELD(RowCompareExpr, CompareType, cmptype, cmptype, cmptype); + READ_LIST_FIELD(RowCompareExpr, opnos, opnos, opnos); + READ_LIST_FIELD(RowCompareExpr, opfamilies, opfamilies, opfamilies); + READ_LIST_FIELD(RowCompareExpr, inputcollids, inputcollids, inputcollids); + READ_LIST_FIELD(RowCompareExpr, largs, largs, largs); + READ_LIST_FIELD(RowCompareExpr, rargs, rargs, rargs); return node; } static CoalesceExpr * -_readCoalesceExpr(OUT_TYPE(CoalesceExpr, CoalesceExpr) msg) +_readCoalesceExpr(const OUT_TYPE(CoalesceExpr, CoalesceExpr) msg) { CoalesceExpr *node = makeNode(CoalesceExpr); - READ_UINT_FIELD(coalescetype, coalescetype, coalescetype); - READ_UINT_FIELD(coalescecollid, coalescecollid, coalescecollid); - READ_LIST_FIELD(args, args, args); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(CoalesceExpr, coalescetype, coalescetype, coalescetype); + READ_UINT_FIELD(CoalesceExpr, coalescecollid, coalescecollid, coalescecollid); + READ_LIST_FIELD(CoalesceExpr, args, args, args); + READ_INT_FIELD(CoalesceExpr, location, location, location); return node; } static MinMaxExpr * -_readMinMaxExpr(OUT_TYPE(MinMaxExpr, MinMaxExpr) msg) +_readMinMaxExpr(const OUT_TYPE(MinMaxExpr, MinMaxExpr) msg) { MinMaxExpr *node = makeNode(MinMaxExpr); - READ_UINT_FIELD(minmaxtype, minmaxtype, minmaxtype); - READ_UINT_FIELD(minmaxcollid, minmaxcollid, minmaxcollid); - READ_UINT_FIELD(inputcollid, inputcollid, inputcollid); - READ_ENUM_FIELD(MinMaxOp, op, op, op); - READ_LIST_FIELD(args, args, args); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(MinMaxExpr, minmaxtype, minmaxtype, minmaxtype); + READ_UINT_FIELD(MinMaxExpr, minmaxcollid, minmaxcollid, minmaxcollid); + READ_UINT_FIELD(MinMaxExpr, inputcollid, inputcollid, inputcollid); + READ_ENUM_FIELD(MinMaxExpr, MinMaxOp, op, op, op); + READ_LIST_FIELD(MinMaxExpr, args, args, args); + READ_INT_FIELD(MinMaxExpr, location, location, location); return node; } static SQLValueFunction * -_readSQLValueFunction(OUT_TYPE(SQLValueFunction, SQLValueFunction) msg) +_readSQLValueFunction(const OUT_TYPE(SQLValueFunction, SQLValueFunction) msg) { SQLValueFunction *node = makeNode(SQLValueFunction); - READ_ENUM_FIELD(SQLValueFunctionOp, op, op, op); - READ_UINT_FIELD(type, type, type); - READ_INT_FIELD(typmod, typmod, typmod); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(SQLValueFunction, SQLValueFunctionOp, op, op, op); + READ_UINT_FIELD(SQLValueFunction, type, type, type); + READ_INT_FIELD(SQLValueFunction, typmod, typmod, typmod); + READ_INT_FIELD(SQLValueFunction, location, location, location); return node; } static XmlExpr * -_readXmlExpr(OUT_TYPE(XmlExpr, XmlExpr) msg) +_readXmlExpr(const OUT_TYPE(XmlExpr, XmlExpr) msg) { XmlExpr *node = makeNode(XmlExpr); - READ_ENUM_FIELD(XmlExprOp, op, op, op); - READ_STRING_FIELD(name, name, name); - READ_LIST_FIELD(named_args, named_args, named_args); - READ_LIST_FIELD(arg_names, arg_names, arg_names); - READ_LIST_FIELD(args, args, args); - READ_ENUM_FIELD(XmlOptionType, xmloption, xmloption, xmloption); - READ_BOOL_FIELD(indent, indent, indent); - READ_UINT_FIELD(type, type, type); - READ_INT_FIELD(typmod, typmod, typmod); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(XmlExpr, XmlExprOp, op, op, op); + READ_STRING_FIELD(XmlExpr, name, name, name); + READ_LIST_FIELD(XmlExpr, named_args, named_args, named_args); + READ_LIST_FIELD(XmlExpr, arg_names, arg_names, arg_names); + READ_LIST_FIELD(XmlExpr, args, args, args); + READ_ENUM_FIELD(XmlExpr, XmlOptionType, xmloption, xmloption, xmloption); + READ_BOOL_FIELD(XmlExpr, indent, indent, indent); + READ_UINT_FIELD(XmlExpr, type, type, type); + READ_INT_FIELD(XmlExpr, typmod, typmod, typmod); + READ_INT_FIELD(XmlExpr, location, location, location); return node; } static JsonFormat * -_readJsonFormat(OUT_TYPE(JsonFormat, JsonFormat) msg) +_readJsonFormat(const OUT_TYPE(JsonFormat, JsonFormat) msg) { JsonFormat *node = makeNode(JsonFormat); - READ_ENUM_FIELD(JsonFormatType, format_type, format_type, format_type); - READ_ENUM_FIELD(JsonEncoding, encoding, encoding, encoding); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(JsonFormat, JsonFormatType, format_type, format_type, format_type); + READ_ENUM_FIELD(JsonFormat, JsonEncoding, encoding, encoding, encoding); + READ_INT_FIELD(JsonFormat, location, location, location); return node; } static JsonReturning * -_readJsonReturning(OUT_TYPE(JsonReturning, JsonReturning) msg) +_readJsonReturning(const OUT_TYPE(JsonReturning, JsonReturning) msg) { JsonReturning *node = makeNode(JsonReturning); - READ_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); - READ_UINT_FIELD(typid, typid, typid); - READ_INT_FIELD(typmod, typmod, typmod); + READ_SPECIFIC_NODE_PTR_FIELD(JsonReturning, JsonFormat, json_format, format, format, format); + READ_UINT_FIELD(JsonReturning, typid, typid, typid); + READ_INT_FIELD(JsonReturning, typmod, typmod, typmod); return node; } static JsonValueExpr * -_readJsonValueExpr(OUT_TYPE(JsonValueExpr, JsonValueExpr) msg) +_readJsonValueExpr(const OUT_TYPE(JsonValueExpr, JsonValueExpr) msg) { JsonValueExpr *node = makeNode(JsonValueExpr); - READ_ABSTRACT_PTR_FIELD(raw_expr, raw_expr, raw_expr, Expr*); - READ_ABSTRACT_PTR_FIELD(formatted_expr, formatted_expr, formatted_expr, Expr*); - READ_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); + READ_ABSTRACT_PTR_FIELD(JsonValueExpr, raw_expr, raw_expr, raw_expr, Expr*); + READ_ABSTRACT_PTR_FIELD(JsonValueExpr, formatted_expr, formatted_expr, formatted_expr, Expr*); + READ_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, JsonFormat, json_format, format, format, format); return node; } static JsonConstructorExpr * -_readJsonConstructorExpr(OUT_TYPE(JsonConstructorExpr, JsonConstructorExpr) msg) +_readJsonConstructorExpr(const OUT_TYPE(JsonConstructorExpr, JsonConstructorExpr) msg) { JsonConstructorExpr *node = makeNode(JsonConstructorExpr); - READ_ENUM_FIELD(JsonConstructorType, type, type, type); - READ_LIST_FIELD(args, args, args); - READ_ABSTRACT_PTR_FIELD(func, func, func, Expr*); - READ_ABSTRACT_PTR_FIELD(coercion, coercion, coercion, Expr*); - READ_SPECIFIC_NODE_PTR_FIELD(JsonReturning, json_returning, returning, returning, returning); - READ_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); - READ_BOOL_FIELD(unique, unique, unique); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(JsonConstructorExpr, JsonConstructorType, type, type, type); + READ_LIST_FIELD(JsonConstructorExpr, args, args, args); + READ_ABSTRACT_PTR_FIELD(JsonConstructorExpr, func, func, func, Expr*); + READ_ABSTRACT_PTR_FIELD(JsonConstructorExpr, coercion, coercion, coercion, Expr*); + READ_SPECIFIC_NODE_PTR_FIELD(JsonConstructorExpr, JsonReturning, json_returning, returning, returning, returning); + READ_BOOL_FIELD(JsonConstructorExpr, absent_on_null, absent_on_null, absent_on_null); + READ_BOOL_FIELD(JsonConstructorExpr, unique, unique, unique); + READ_INT_FIELD(JsonConstructorExpr, location, location, location); return node; } static JsonIsPredicate * -_readJsonIsPredicate(OUT_TYPE(JsonIsPredicate, JsonIsPredicate) msg) +_readJsonIsPredicate(const OUT_TYPE(JsonIsPredicate, JsonIsPredicate) msg) { JsonIsPredicate *node = makeNode(JsonIsPredicate); - READ_NODE_PTR_FIELD(expr, expr, expr); - READ_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); - READ_ENUM_FIELD(JsonValueType, item_type, item_type, item_type); - READ_BOOL_FIELD(unique_keys, unique_keys, unique_keys); - READ_INT_FIELD(location, location, location); + READ_NODE_PTR_FIELD(JsonIsPredicate, expr, expr, expr); + READ_SPECIFIC_NODE_PTR_FIELD(JsonIsPredicate, JsonFormat, json_format, format, format, format); + READ_ENUM_FIELD(JsonIsPredicate, JsonValueType, item_type, item_type, item_type); + READ_BOOL_FIELD(JsonIsPredicate, unique_keys, unique_keys, unique_keys); + READ_INT_FIELD(JsonIsPredicate, location, location, location); return node; } static JsonBehavior * -_readJsonBehavior(OUT_TYPE(JsonBehavior, JsonBehavior) msg) +_readJsonBehavior(const OUT_TYPE(JsonBehavior, JsonBehavior) msg) { JsonBehavior *node = makeNode(JsonBehavior); - READ_ENUM_FIELD(JsonBehaviorType, btype, btype, btype); - READ_NODE_PTR_FIELD(expr, expr, expr); - READ_BOOL_FIELD(coerce, coerce, coerce); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(JsonBehavior, JsonBehaviorType, btype, btype, btype); + READ_NODE_PTR_FIELD(JsonBehavior, expr, expr, expr); + READ_BOOL_FIELD(JsonBehavior, coerce, coerce, coerce); + READ_INT_FIELD(JsonBehavior, location, location, location); return node; } static JsonExpr * -_readJsonExpr(OUT_TYPE(JsonExpr, JsonExpr) msg) +_readJsonExpr(const OUT_TYPE(JsonExpr, JsonExpr) msg) { JsonExpr *node = makeNode(JsonExpr); - READ_ENUM_FIELD(JsonExprOp, op, op, op); - READ_STRING_FIELD(column_name, column_name, column_name); - READ_NODE_PTR_FIELD(formatted_expr, formatted_expr, formatted_expr); - READ_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); - READ_NODE_PTR_FIELD(path_spec, path_spec, path_spec); - READ_SPECIFIC_NODE_PTR_FIELD(JsonReturning, json_returning, returning, returning, returning); - READ_LIST_FIELD(passing_names, passing_names, passing_names); - READ_LIST_FIELD(passing_values, passing_values, passing_values); - READ_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_empty, on_empty, on_empty); - READ_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_error, on_error, on_error); - READ_BOOL_FIELD(use_io_coercion, use_io_coercion, use_io_coercion); - READ_BOOL_FIELD(use_json_coercion, use_json_coercion, use_json_coercion); - READ_ENUM_FIELD(JsonWrapper, wrapper, wrapper, wrapper); - READ_BOOL_FIELD(omit_quotes, omit_quotes, omit_quotes); - READ_UINT_FIELD(collation, collation, collation); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(JsonExpr, JsonExprOp, op, op, op); + READ_STRING_FIELD(JsonExpr, column_name, column_name, column_name); + READ_NODE_PTR_FIELD(JsonExpr, formatted_expr, formatted_expr, formatted_expr); + READ_SPECIFIC_NODE_PTR_FIELD(JsonExpr, JsonFormat, json_format, format, format, format); + READ_NODE_PTR_FIELD(JsonExpr, path_spec, path_spec, path_spec); + READ_SPECIFIC_NODE_PTR_FIELD(JsonExpr, JsonReturning, json_returning, returning, returning, returning); + READ_LIST_FIELD(JsonExpr, passing_names, passing_names, passing_names); + READ_LIST_FIELD(JsonExpr, passing_values, passing_values, passing_values); + READ_SPECIFIC_NODE_PTR_FIELD(JsonExpr, JsonBehavior, json_behavior, on_empty, on_empty, on_empty); + READ_SPECIFIC_NODE_PTR_FIELD(JsonExpr, JsonBehavior, json_behavior, on_error, on_error, on_error); + READ_BOOL_FIELD(JsonExpr, use_io_coercion, use_io_coercion, use_io_coercion); + READ_BOOL_FIELD(JsonExpr, use_json_coercion, use_json_coercion, use_json_coercion); + READ_ENUM_FIELD(JsonExpr, JsonWrapper, wrapper, wrapper, wrapper); + READ_BOOL_FIELD(JsonExpr, omit_quotes, omit_quotes, omit_quotes); + READ_UINT_FIELD(JsonExpr, collation, collation, collation); + READ_INT_FIELD(JsonExpr, location, location, location); return node; } static JsonTablePath * -_readJsonTablePath(OUT_TYPE(JsonTablePath, JsonTablePath) msg) +_readJsonTablePath(const OUT_TYPE(JsonTablePath, JsonTablePath) msg) { JsonTablePath *node = makeNode(JsonTablePath); - READ_STRING_FIELD(name, name, name); + READ_STRING_FIELD(JsonTablePath, name, name, name); return node; } static JsonTablePathScan * -_readJsonTablePathScan(OUT_TYPE(JsonTablePathScan, JsonTablePathScan) msg) +_readJsonTablePathScan(const OUT_TYPE(JsonTablePathScan, JsonTablePathScan) msg) { JsonTablePathScan *node = makeNode(JsonTablePathScan); - READ_SPECIFIC_NODE_PTR_FIELD(JsonTablePath, json_table_path, path, path, path); - READ_BOOL_FIELD(error_on_error, errorOnError, errorOnError); - READ_ABSTRACT_PTR_FIELD(child, child, child, JsonTablePlan*); - READ_INT_FIELD(col_min, colMin, colMin); - READ_INT_FIELD(col_max, colMax, colMax); + READ_SPECIFIC_NODE_PTR_FIELD(JsonTablePathScan, JsonTablePath, json_table_path, path, path, path); + READ_BOOL_FIELD(JsonTablePathScan, error_on_error, errorOnError, errorOnError); + READ_ABSTRACT_PTR_FIELD(JsonTablePathScan, child, child, child, JsonTablePlan*); + READ_INT_FIELD(JsonTablePathScan, col_min, colMin, colMin); + READ_INT_FIELD(JsonTablePathScan, col_max, colMax, colMax); return node; } static JsonTableSiblingJoin * -_readJsonTableSiblingJoin(OUT_TYPE(JsonTableSiblingJoin, JsonTableSiblingJoin) msg) +_readJsonTableSiblingJoin(const OUT_TYPE(JsonTableSiblingJoin, JsonTableSiblingJoin) msg) { JsonTableSiblingJoin *node = makeNode(JsonTableSiblingJoin); - READ_ABSTRACT_PTR_FIELD(lplan, lplan, lplan, JsonTablePlan*); - READ_ABSTRACT_PTR_FIELD(rplan, rplan, rplan, JsonTablePlan*); + READ_ABSTRACT_PTR_FIELD(JsonTableSiblingJoin, lplan, lplan, lplan, JsonTablePlan*); + READ_ABSTRACT_PTR_FIELD(JsonTableSiblingJoin, rplan, rplan, rplan, JsonTablePlan*); return node; } static NullTest * -_readNullTest(OUT_TYPE(NullTest, NullTest) msg) +_readNullTest(const OUT_TYPE(NullTest, NullTest) msg) { NullTest *node = makeNode(NullTest); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_ENUM_FIELD(NullTestType, nulltesttype, nulltesttype, nulltesttype); - READ_BOOL_FIELD(argisrow, argisrow, argisrow); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(NullTest, arg, arg, arg, Expr*); + READ_ENUM_FIELD(NullTest, NullTestType, nulltesttype, nulltesttype, nulltesttype); + READ_BOOL_FIELD(NullTest, argisrow, argisrow, argisrow); + READ_INT_FIELD(NullTest, location, location, location); return node; } static BooleanTest * -_readBooleanTest(OUT_TYPE(BooleanTest, BooleanTest) msg) +_readBooleanTest(const OUT_TYPE(BooleanTest, BooleanTest) msg) { BooleanTest *node = makeNode(BooleanTest); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_ENUM_FIELD(BoolTestType, booltesttype, booltesttype, booltesttype); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(BooleanTest, arg, arg, arg, Expr*); + READ_ENUM_FIELD(BooleanTest, BoolTestType, booltesttype, booltesttype, booltesttype); + READ_INT_FIELD(BooleanTest, location, location, location); return node; } static MergeAction * -_readMergeAction(OUT_TYPE(MergeAction, MergeAction) msg) +_readMergeAction(const OUT_TYPE(MergeAction, MergeAction) msg) { MergeAction *node = makeNode(MergeAction); - READ_ENUM_FIELD(MergeMatchKind, match_kind, matchKind, matchKind); - READ_ENUM_FIELD(CmdType, command_type, commandType, commandType); - READ_ENUM_FIELD(OverridingKind, override, override, override); - READ_NODE_PTR_FIELD(qual, qual, qual); - READ_LIST_FIELD(target_list, targetList, targetList); - READ_LIST_FIELD(update_colnos, updateColnos, updateColnos); + READ_ENUM_FIELD(MergeAction, MergeMatchKind, match_kind, matchKind, matchKind); + READ_ENUM_FIELD(MergeAction, CmdType, command_type, commandType, commandType); + READ_ENUM_FIELD(MergeAction, OverridingKind, override, override, override); + READ_NODE_PTR_FIELD(MergeAction, qual, qual, qual); + READ_LIST_FIELD(MergeAction, target_list, targetList, targetList); + READ_LIST_FIELD(MergeAction, update_colnos, updateColnos, updateColnos); return node; } static CoerceToDomain * -_readCoerceToDomain(OUT_TYPE(CoerceToDomain, CoerceToDomain) msg) +_readCoerceToDomain(const OUT_TYPE(CoerceToDomain, CoerceToDomain) msg) { CoerceToDomain *node = makeNode(CoerceToDomain); - READ_ABSTRACT_PTR_FIELD(arg, arg, arg, Expr*); - READ_UINT_FIELD(resulttype, resulttype, resulttype); - READ_INT_FIELD(resulttypmod, resulttypmod, resulttypmod); - READ_UINT_FIELD(resultcollid, resultcollid, resultcollid); - READ_ENUM_FIELD(CoercionForm, coercionformat, coercionformat, coercionformat); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(CoerceToDomain, arg, arg, arg, Expr*); + READ_UINT_FIELD(CoerceToDomain, resulttype, resulttype, resulttype); + READ_INT_FIELD(CoerceToDomain, resulttypmod, resulttypmod, resulttypmod); + READ_UINT_FIELD(CoerceToDomain, resultcollid, resultcollid, resultcollid); + READ_ENUM_FIELD(CoerceToDomain, CoercionForm, coercionformat, coercionformat, coercionformat); + READ_INT_FIELD(CoerceToDomain, location, location, location); return node; } static CoerceToDomainValue * -_readCoerceToDomainValue(OUT_TYPE(CoerceToDomainValue, CoerceToDomainValue) msg) +_readCoerceToDomainValue(const OUT_TYPE(CoerceToDomainValue, CoerceToDomainValue) msg) { CoerceToDomainValue *node = makeNode(CoerceToDomainValue); - READ_UINT_FIELD(type_id, typeId, typeId); - READ_INT_FIELD(type_mod, typeMod, typeMod); - READ_UINT_FIELD(collation, collation, collation); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(CoerceToDomainValue, type_id, typeId, typeId); + READ_INT_FIELD(CoerceToDomainValue, type_mod, typeMod, typeMod); + READ_UINT_FIELD(CoerceToDomainValue, collation, collation, collation); + READ_INT_FIELD(CoerceToDomainValue, location, location, location); return node; } static SetToDefault * -_readSetToDefault(OUT_TYPE(SetToDefault, SetToDefault) msg) +_readSetToDefault(const OUT_TYPE(SetToDefault, SetToDefault) msg) { SetToDefault *node = makeNode(SetToDefault); - READ_UINT_FIELD(type_id, typeId, typeId); - READ_INT_FIELD(type_mod, typeMod, typeMod); - READ_UINT_FIELD(collation, collation, collation); - READ_INT_FIELD(location, location, location); + READ_UINT_FIELD(SetToDefault, type_id, typeId, typeId); + READ_INT_FIELD(SetToDefault, type_mod, typeMod, typeMod); + READ_UINT_FIELD(SetToDefault, collation, collation, collation); + READ_INT_FIELD(SetToDefault, location, location, location); return node; } static CurrentOfExpr * -_readCurrentOfExpr(OUT_TYPE(CurrentOfExpr, CurrentOfExpr) msg) +_readCurrentOfExpr(const OUT_TYPE(CurrentOfExpr, CurrentOfExpr) msg) { CurrentOfExpr *node = makeNode(CurrentOfExpr); - READ_UINT_FIELD(cvarno, cvarno, cvarno); - READ_STRING_FIELD(cursor_name, cursor_name, cursor_name); - READ_INT_FIELD(cursor_param, cursor_param, cursor_param); + READ_UINT_FIELD(CurrentOfExpr, cvarno, cvarno, cvarno); + READ_STRING_FIELD(CurrentOfExpr, cursor_name, cursor_name, cursor_name); + READ_INT_FIELD(CurrentOfExpr, cursor_param, cursor_param, cursor_param); return node; } static NextValueExpr * -_readNextValueExpr(OUT_TYPE(NextValueExpr, NextValueExpr) msg) +_readNextValueExpr(const OUT_TYPE(NextValueExpr, NextValueExpr) msg) { NextValueExpr *node = makeNode(NextValueExpr); - READ_UINT_FIELD(seqid, seqid, seqid); - READ_UINT_FIELD(type_id, typeId, typeId); + READ_UINT_FIELD(NextValueExpr, seqid, seqid, seqid); + READ_UINT_FIELD(NextValueExpr, type_id, typeId, typeId); return node; } static InferenceElem * -_readInferenceElem(OUT_TYPE(InferenceElem, InferenceElem) msg) +_readInferenceElem(const OUT_TYPE(InferenceElem, InferenceElem) msg) { InferenceElem *node = makeNode(InferenceElem); - READ_NODE_PTR_FIELD(expr, expr, expr); - READ_UINT_FIELD(infercollid, infercollid, infercollid); - READ_UINT_FIELD(inferopclass, inferopclass, inferopclass); + READ_NODE_PTR_FIELD(InferenceElem, expr, expr, expr); + READ_UINT_FIELD(InferenceElem, infercollid, infercollid, infercollid); + READ_UINT_FIELD(InferenceElem, inferopclass, inferopclass, inferopclass); return node; } static ReturningExpr * -_readReturningExpr(OUT_TYPE(ReturningExpr, ReturningExpr) msg) +_readReturningExpr(const OUT_TYPE(ReturningExpr, ReturningExpr) msg) { ReturningExpr *node = makeNode(ReturningExpr); - READ_INT_FIELD(retlevelsup, retlevelsup, retlevelsup); - READ_BOOL_FIELD(retold, retold, retold); - READ_ABSTRACT_PTR_FIELD(retexpr, retexpr, retexpr, Expr*); + READ_INT_FIELD(ReturningExpr, retlevelsup, retlevelsup, retlevelsup); + READ_BOOL_FIELD(ReturningExpr, retold, retold, retold); + READ_ABSTRACT_PTR_FIELD(ReturningExpr, retexpr, retexpr, retexpr, Expr*); return node; } static TargetEntry * -_readTargetEntry(OUT_TYPE(TargetEntry, TargetEntry) msg) +_readTargetEntry(const OUT_TYPE(TargetEntry, TargetEntry) msg) { TargetEntry *node = makeNode(TargetEntry); - READ_ABSTRACT_PTR_FIELD(expr, expr, expr, Expr*); - READ_INT_FIELD(resno, resno, resno); - READ_STRING_FIELD(resname, resname, resname); - READ_UINT_FIELD(ressortgroupref, ressortgroupref, ressortgroupref); - READ_UINT_FIELD(resorigtbl, resorigtbl, resorigtbl); - READ_INT_FIELD(resorigcol, resorigcol, resorigcol); - READ_BOOL_FIELD(resjunk, resjunk, resjunk); + READ_ABSTRACT_PTR_FIELD(TargetEntry, expr, expr, expr, Expr*); + READ_INT_FIELD(TargetEntry, resno, resno, resno); + READ_STRING_FIELD(TargetEntry, resname, resname, resname); + READ_UINT_FIELD(TargetEntry, ressortgroupref, ressortgroupref, ressortgroupref); + READ_UINT_FIELD(TargetEntry, resorigtbl, resorigtbl, resorigtbl); + READ_INT_FIELD(TargetEntry, resorigcol, resorigcol, resorigcol); + READ_BOOL_FIELD(TargetEntry, resjunk, resjunk, resjunk); return node; } static RangeTblRef * -_readRangeTblRef(OUT_TYPE(RangeTblRef, RangeTblRef) msg) +_readRangeTblRef(const OUT_TYPE(RangeTblRef, RangeTblRef) msg) { RangeTblRef *node = makeNode(RangeTblRef); - READ_INT_FIELD(rtindex, rtindex, rtindex); + READ_INT_FIELD(RangeTblRef, rtindex, rtindex, rtindex); return node; } static JoinExpr * -_readJoinExpr(OUT_TYPE(JoinExpr, JoinExpr) msg) +_readJoinExpr(const OUT_TYPE(JoinExpr, JoinExpr) msg) { JoinExpr *node = makeNode(JoinExpr); - READ_ENUM_FIELD(JoinType, jointype, jointype, jointype); - READ_BOOL_FIELD(is_natural, isNatural, isNatural); - READ_NODE_PTR_FIELD(larg, larg, larg); - READ_NODE_PTR_FIELD(rarg, rarg, rarg); - READ_LIST_FIELD(using_clause, usingClause, usingClause); - READ_SPECIFIC_NODE_PTR_FIELD(Alias, alias, join_using_alias, join_using_alias, join_using_alias); - READ_NODE_PTR_FIELD(quals, quals, quals); - READ_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - READ_INT_FIELD(rtindex, rtindex, rtindex); + READ_ENUM_FIELD(JoinExpr, JoinType, jointype, jointype, jointype); + READ_BOOL_FIELD(JoinExpr, is_natural, isNatural, isNatural); + READ_NODE_PTR_FIELD(JoinExpr, larg, larg, larg); + READ_NODE_PTR_FIELD(JoinExpr, rarg, rarg, rarg); + READ_LIST_FIELD(JoinExpr, using_clause, usingClause, usingClause); + READ_SPECIFIC_NODE_PTR_FIELD(JoinExpr, Alias, alias, join_using_alias, join_using_alias, join_using_alias); + READ_NODE_PTR_FIELD(JoinExpr, quals, quals, quals); + READ_SPECIFIC_NODE_PTR_FIELD(JoinExpr, Alias, alias, alias, alias, alias); + READ_INT_FIELD(JoinExpr, rtindex, rtindex, rtindex); return node; } static FromExpr * -_readFromExpr(OUT_TYPE(FromExpr, FromExpr) msg) +_readFromExpr(const OUT_TYPE(FromExpr, FromExpr) msg) { FromExpr *node = makeNode(FromExpr); - READ_LIST_FIELD(fromlist, fromlist, fromlist); - READ_NODE_PTR_FIELD(quals, quals, quals); + READ_LIST_FIELD(FromExpr, fromlist, fromlist, fromlist); + READ_NODE_PTR_FIELD(FromExpr, quals, quals, quals); return node; } static OnConflictExpr * -_readOnConflictExpr(OUT_TYPE(OnConflictExpr, OnConflictExpr) msg) +_readOnConflictExpr(const OUT_TYPE(OnConflictExpr, OnConflictExpr) msg) { OnConflictExpr *node = makeNode(OnConflictExpr); - READ_ENUM_FIELD(OnConflictAction, action, action, action); - READ_LIST_FIELD(arbiter_elems, arbiterElems, arbiterElems); - READ_NODE_PTR_FIELD(arbiter_where, arbiterWhere, arbiterWhere); - READ_UINT_FIELD(constraint, constraint, constraint); - READ_LIST_FIELD(on_conflict_set, onConflictSet, onConflictSet); - READ_NODE_PTR_FIELD(on_conflict_where, onConflictWhere, onConflictWhere); - READ_INT_FIELD(excl_rel_index, exclRelIndex, exclRelIndex); - READ_LIST_FIELD(excl_rel_tlist, exclRelTlist, exclRelTlist); + READ_ENUM_FIELD(OnConflictExpr, OnConflictAction, action, action, action); + READ_LIST_FIELD(OnConflictExpr, arbiter_elems, arbiterElems, arbiterElems); + READ_NODE_PTR_FIELD(OnConflictExpr, arbiter_where, arbiterWhere, arbiterWhere); + READ_UINT_FIELD(OnConflictExpr, constraint, constraint, constraint); + READ_LIST_FIELD(OnConflictExpr, on_conflict_set, onConflictSet, onConflictSet); + READ_NODE_PTR_FIELD(OnConflictExpr, on_conflict_where, onConflictWhere, onConflictWhere); + READ_INT_FIELD(OnConflictExpr, excl_rel_index, exclRelIndex, exclRelIndex); + READ_LIST_FIELD(OnConflictExpr, excl_rel_tlist, exclRelTlist, exclRelTlist); return node; } static Query * -_readQuery(OUT_TYPE(Query, Query) msg) +_readQuery(const OUT_TYPE(Query, Query) msg) { Query *node = makeNode(Query); - READ_ENUM_FIELD(CmdType, command_type, commandType, commandType); - READ_ENUM_FIELD(QuerySource, query_source, querySource, querySource); - READ_BOOL_FIELD(can_set_tag, canSetTag, canSetTag); - READ_NODE_PTR_FIELD(utility_stmt, utilityStmt, utilityStmt); - READ_INT_FIELD(result_relation, resultRelation, resultRelation); - READ_BOOL_FIELD(has_aggs, hasAggs, hasAggs); - READ_BOOL_FIELD(has_window_funcs, hasWindowFuncs, hasWindowFuncs); - READ_BOOL_FIELD(has_target_srfs, hasTargetSRFs, hasTargetSRFs); - READ_BOOL_FIELD(has_sub_links, hasSubLinks, hasSubLinks); - READ_BOOL_FIELD(has_distinct_on, hasDistinctOn, hasDistinctOn); - READ_BOOL_FIELD(has_recursive, hasRecursive, hasRecursive); - READ_BOOL_FIELD(has_modifying_cte, hasModifyingCTE, hasModifyingCTE); - READ_BOOL_FIELD(has_for_update, hasForUpdate, hasForUpdate); - READ_BOOL_FIELD(has_row_security, hasRowSecurity, hasRowSecurity); - READ_BOOL_FIELD(has_group_rte, hasGroupRTE, hasGroupRTE); - READ_BOOL_FIELD(is_return, isReturn, isReturn); - READ_LIST_FIELD(cte_list, cteList, cteList); - READ_LIST_FIELD(rtable, rtable, rtable); - READ_LIST_FIELD(rteperminfos, rteperminfos, rteperminfos); - READ_SPECIFIC_NODE_PTR_FIELD(FromExpr, from_expr, jointree, jointree, jointree); - READ_LIST_FIELD(merge_action_list, mergeActionList, mergeActionList); - READ_INT_FIELD(merge_target_relation, mergeTargetRelation, mergeTargetRelation); - READ_NODE_PTR_FIELD(merge_join_condition, mergeJoinCondition, mergeJoinCondition); - READ_LIST_FIELD(target_list, targetList, targetList); - READ_ENUM_FIELD(OverridingKind, override, override, override); - READ_SPECIFIC_NODE_PTR_FIELD(OnConflictExpr, on_conflict_expr, on_conflict, onConflict, onConflict); - READ_STRING_FIELD(returning_old_alias, returningOldAlias, returningOldAlias); - READ_STRING_FIELD(returning_new_alias, returningNewAlias, returningNewAlias); - READ_LIST_FIELD(returning_list, returningList, returningList); - READ_LIST_FIELD(group_clause, groupClause, groupClause); - READ_BOOL_FIELD(group_distinct, groupDistinct, groupDistinct); - READ_LIST_FIELD(grouping_sets, groupingSets, groupingSets); - READ_NODE_PTR_FIELD(having_qual, havingQual, havingQual); - READ_LIST_FIELD(window_clause, windowClause, windowClause); - READ_LIST_FIELD(distinct_clause, distinctClause, distinctClause); - READ_LIST_FIELD(sort_clause, sortClause, sortClause); - READ_NODE_PTR_FIELD(limit_offset, limitOffset, limitOffset); - READ_NODE_PTR_FIELD(limit_count, limitCount, limitCount); - READ_ENUM_FIELD(LimitOption, limit_option, limitOption, limitOption); - READ_LIST_FIELD(row_marks, rowMarks, rowMarks); - READ_NODE_PTR_FIELD(set_operations, setOperations, setOperations); - READ_LIST_FIELD(constraint_deps, constraintDeps, constraintDeps); - READ_LIST_FIELD(with_check_options, withCheckOptions, withCheckOptions); - READ_INT_FIELD(stmt_location, stmt_location, stmt_location); - READ_INT_FIELD(stmt_len, stmt_len, stmt_len); + READ_ENUM_FIELD(Query, CmdType, command_type, commandType, commandType); + READ_ENUM_FIELD(Query, QuerySource, query_source, querySource, querySource); + READ_BOOL_FIELD(Query, can_set_tag, canSetTag, canSetTag); + READ_NODE_PTR_FIELD(Query, utility_stmt, utilityStmt, utilityStmt); + READ_INT_FIELD(Query, result_relation, resultRelation, resultRelation); + READ_BOOL_FIELD(Query, has_aggs, hasAggs, hasAggs); + READ_BOOL_FIELD(Query, has_window_funcs, hasWindowFuncs, hasWindowFuncs); + READ_BOOL_FIELD(Query, has_target_srfs, hasTargetSRFs, hasTargetSRFs); + READ_BOOL_FIELD(Query, has_sub_links, hasSubLinks, hasSubLinks); + READ_BOOL_FIELD(Query, has_distinct_on, hasDistinctOn, hasDistinctOn); + READ_BOOL_FIELD(Query, has_recursive, hasRecursive, hasRecursive); + READ_BOOL_FIELD(Query, has_modifying_cte, hasModifyingCTE, hasModifyingCTE); + READ_BOOL_FIELD(Query, has_for_update, hasForUpdate, hasForUpdate); + READ_BOOL_FIELD(Query, has_row_security, hasRowSecurity, hasRowSecurity); + READ_BOOL_FIELD(Query, has_group_rte, hasGroupRTE, hasGroupRTE); + READ_BOOL_FIELD(Query, is_return, isReturn, isReturn); + READ_LIST_FIELD(Query, cte_list, cteList, cteList); + READ_LIST_FIELD(Query, rtable, rtable, rtable); + READ_LIST_FIELD(Query, rteperminfos, rteperminfos, rteperminfos); + READ_SPECIFIC_NODE_PTR_FIELD(Query, FromExpr, from_expr, jointree, jointree, jointree); + READ_LIST_FIELD(Query, merge_action_list, mergeActionList, mergeActionList); + READ_INT_FIELD(Query, merge_target_relation, mergeTargetRelation, mergeTargetRelation); + READ_NODE_PTR_FIELD(Query, merge_join_condition, mergeJoinCondition, mergeJoinCondition); + READ_LIST_FIELD(Query, target_list, targetList, targetList); + READ_ENUM_FIELD(Query, OverridingKind, override, override, override); + READ_SPECIFIC_NODE_PTR_FIELD(Query, OnConflictExpr, on_conflict_expr, on_conflict, onConflict, onConflict); + READ_STRING_FIELD(Query, returning_old_alias, returningOldAlias, returningOldAlias); + READ_STRING_FIELD(Query, returning_new_alias, returningNewAlias, returningNewAlias); + READ_LIST_FIELD(Query, returning_list, returningList, returningList); + READ_LIST_FIELD(Query, group_clause, groupClause, groupClause); + READ_BOOL_FIELD(Query, group_distinct, groupDistinct, groupDistinct); + READ_LIST_FIELD(Query, grouping_sets, groupingSets, groupingSets); + READ_NODE_PTR_FIELD(Query, having_qual, havingQual, havingQual); + READ_LIST_FIELD(Query, window_clause, windowClause, windowClause); + READ_LIST_FIELD(Query, distinct_clause, distinctClause, distinctClause); + READ_LIST_FIELD(Query, sort_clause, sortClause, sortClause); + READ_NODE_PTR_FIELD(Query, limit_offset, limitOffset, limitOffset); + READ_NODE_PTR_FIELD(Query, limit_count, limitCount, limitCount); + READ_ENUM_FIELD(Query, LimitOption, limit_option, limitOption, limitOption); + READ_LIST_FIELD(Query, row_marks, rowMarks, rowMarks); + READ_NODE_PTR_FIELD(Query, set_operations, setOperations, setOperations); + READ_LIST_FIELD(Query, constraint_deps, constraintDeps, constraintDeps); + READ_LIST_FIELD(Query, with_check_options, withCheckOptions, withCheckOptions); + READ_INT_FIELD(Query, stmt_location, stmt_location, stmt_location); + READ_INT_FIELD(Query, stmt_len, stmt_len, stmt_len); return node; } static TypeName * -_readTypeName(OUT_TYPE(TypeName, TypeName) msg) +_readTypeName(const OUT_TYPE(TypeName, TypeName) msg) { TypeName *node = makeNode(TypeName); - READ_LIST_FIELD(names, names, names); - READ_UINT_FIELD(type_oid, typeOid, typeOid); - READ_BOOL_FIELD(setof, setof, setof); - READ_BOOL_FIELD(pct_type, pct_type, pct_type); - READ_LIST_FIELD(typmods, typmods, typmods); - READ_INT_FIELD(typemod, typemod, typemod); - READ_LIST_FIELD(array_bounds, arrayBounds, arrayBounds); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(TypeName, names, names, names); + READ_UINT_FIELD(TypeName, type_oid, typeOid, typeOid); + READ_BOOL_FIELD(TypeName, setof, setof, setof); + READ_BOOL_FIELD(TypeName, pct_type, pct_type, pct_type); + READ_LIST_FIELD(TypeName, typmods, typmods, typmods); + READ_INT_FIELD(TypeName, typemod, typemod, typemod); + READ_LIST_FIELD(TypeName, array_bounds, arrayBounds, arrayBounds); + READ_INT_FIELD(TypeName, location, location, location); return node; } static ColumnRef * -_readColumnRef(OUT_TYPE(ColumnRef, ColumnRef) msg) +_readColumnRef(const OUT_TYPE(ColumnRef, ColumnRef) msg) { ColumnRef *node = makeNode(ColumnRef); - READ_LIST_FIELD(fields, fields, fields); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(ColumnRef, fields, fields, fields); + READ_INT_FIELD(ColumnRef, location, location, location); return node; } static ParamRef * -_readParamRef(OUT_TYPE(ParamRef, ParamRef) msg) +_readParamRef(const OUT_TYPE(ParamRef, ParamRef) msg) { ParamRef *node = makeNode(ParamRef); - READ_INT_FIELD(number, number, number); - READ_INT_FIELD(location, location, location); + READ_INT_FIELD(ParamRef, number, number, number); + READ_INT_FIELD(ParamRef, location, location, location); return node; } static A_Expr * -_readAExpr(OUT_TYPE(A_Expr, AExpr) msg) +_readAExpr(const OUT_TYPE(A_Expr, AExpr) msg) { A_Expr *node = makeNode(A_Expr); - READ_ENUM_FIELD(A_Expr_Kind, kind, kind, kind); - READ_LIST_FIELD(name, name, name); - READ_NODE_PTR_FIELD(lexpr, lexpr, lexpr); - READ_NODE_PTR_FIELD(rexpr, rexpr, rexpr); - READ_INT_FIELD(rexpr_list_start, rexpr_list_start, rexpr_list_start); - READ_INT_FIELD(rexpr_list_end, rexpr_list_end, rexpr_list_end); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(A_Expr, A_Expr_Kind, kind, kind, kind); + READ_LIST_FIELD(A_Expr, name, name, name); + READ_NODE_PTR_FIELD(A_Expr, lexpr, lexpr, lexpr); + READ_NODE_PTR_FIELD(A_Expr, rexpr, rexpr, rexpr); + READ_INT_FIELD(A_Expr, rexpr_list_start, rexpr_list_start, rexpr_list_start); + READ_INT_FIELD(A_Expr, rexpr_list_end, rexpr_list_end, rexpr_list_end); + READ_INT_FIELD(A_Expr, location, location, location); return node; } static TypeCast * -_readTypeCast(OUT_TYPE(TypeCast, TypeCast) msg) +_readTypeCast(const OUT_TYPE(TypeCast, TypeCast) msg) { TypeCast *node = makeNode(TypeCast); - READ_NODE_PTR_FIELD(arg, arg, arg); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - READ_INT_FIELD(location, location, location); + READ_NODE_PTR_FIELD(TypeCast, arg, arg, arg); + READ_SPECIFIC_NODE_PTR_FIELD(TypeCast, TypeName, type_name, type_name, typeName, typeName); + READ_INT_FIELD(TypeCast, location, location, location); return node; } static CollateClause * -_readCollateClause(OUT_TYPE(CollateClause, CollateClause) msg) +_readCollateClause(const OUT_TYPE(CollateClause, CollateClause) msg) { CollateClause *node = makeNode(CollateClause); - READ_NODE_PTR_FIELD(arg, arg, arg); - READ_LIST_FIELD(collname, collname, collname); - READ_INT_FIELD(location, location, location); + READ_NODE_PTR_FIELD(CollateClause, arg, arg, arg); + READ_LIST_FIELD(CollateClause, collname, collname, collname); + READ_INT_FIELD(CollateClause, location, location, location); return node; } static RoleSpec * -_readRoleSpec(OUT_TYPE(RoleSpec, RoleSpec) msg) +_readRoleSpec(const OUT_TYPE(RoleSpec, RoleSpec) msg) { RoleSpec *node = makeNode(RoleSpec); - READ_ENUM_FIELD(RoleSpecType, roletype, roletype, roletype); - READ_STRING_FIELD(rolename, rolename, rolename); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(RoleSpec, RoleSpecType, roletype, roletype, roletype); + READ_STRING_FIELD(RoleSpec, rolename, rolename, rolename); + READ_INT_FIELD(RoleSpec, location, location, location); return node; } static FuncCall * -_readFuncCall(OUT_TYPE(FuncCall, FuncCall) msg) +_readFuncCall(const OUT_TYPE(FuncCall, FuncCall) msg) { FuncCall *node = makeNode(FuncCall); - READ_LIST_FIELD(funcname, funcname, funcname); - READ_LIST_FIELD(args, args, args); - READ_LIST_FIELD(agg_order, agg_order, agg_order); - READ_NODE_PTR_FIELD(agg_filter, agg_filter, agg_filter); - READ_SPECIFIC_NODE_PTR_FIELD(WindowDef, window_def, over, over, over); - READ_BOOL_FIELD(agg_within_group, agg_within_group, agg_within_group); - READ_BOOL_FIELD(agg_star, agg_star, agg_star); - READ_BOOL_FIELD(agg_distinct, agg_distinct, agg_distinct); - READ_BOOL_FIELD(func_variadic, func_variadic, func_variadic); - READ_ENUM_FIELD(CoercionForm, funcformat, funcformat, funcformat); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(FuncCall, funcname, funcname, funcname); + READ_LIST_FIELD(FuncCall, args, args, args); + READ_LIST_FIELD(FuncCall, agg_order, agg_order, agg_order); + READ_NODE_PTR_FIELD(FuncCall, agg_filter, agg_filter, agg_filter); + READ_SPECIFIC_NODE_PTR_FIELD(FuncCall, WindowDef, window_def, over, over, over); + READ_BOOL_FIELD(FuncCall, agg_within_group, agg_within_group, agg_within_group); + READ_BOOL_FIELD(FuncCall, agg_star, agg_star, agg_star); + READ_BOOL_FIELD(FuncCall, agg_distinct, agg_distinct, agg_distinct); + READ_BOOL_FIELD(FuncCall, func_variadic, func_variadic, func_variadic); + READ_ENUM_FIELD(FuncCall, CoercionForm, funcformat, funcformat, funcformat); + READ_INT_FIELD(FuncCall, location, location, location); return node; } static A_Star * -_readAStar(OUT_TYPE(A_Star, AStar) msg) +_readAStar(const OUT_TYPE(A_Star, AStar) msg) { A_Star *node = makeNode(A_Star); return node; } static A_Indices * -_readAIndices(OUT_TYPE(A_Indices, AIndices) msg) +_readAIndices(const OUT_TYPE(A_Indices, AIndices) msg) { A_Indices *node = makeNode(A_Indices); - READ_BOOL_FIELD(is_slice, is_slice, is_slice); - READ_NODE_PTR_FIELD(lidx, lidx, lidx); - READ_NODE_PTR_FIELD(uidx, uidx, uidx); + READ_BOOL_FIELD(A_Indices, is_slice, is_slice, is_slice); + READ_NODE_PTR_FIELD(A_Indices, lidx, lidx, lidx); + READ_NODE_PTR_FIELD(A_Indices, uidx, uidx, uidx); return node; } static A_Indirection * -_readAIndirection(OUT_TYPE(A_Indirection, AIndirection) msg) +_readAIndirection(const OUT_TYPE(A_Indirection, AIndirection) msg) { A_Indirection *node = makeNode(A_Indirection); - READ_NODE_PTR_FIELD(arg, arg, arg); - READ_LIST_FIELD(indirection, indirection, indirection); + READ_NODE_PTR_FIELD(A_Indirection, arg, arg, arg); + READ_LIST_FIELD(A_Indirection, indirection, indirection, indirection); return node; } static A_ArrayExpr * -_readAArrayExpr(OUT_TYPE(A_ArrayExpr, AArrayExpr) msg) +_readAArrayExpr(const OUT_TYPE(A_ArrayExpr, AArrayExpr) msg) { A_ArrayExpr *node = makeNode(A_ArrayExpr); - READ_LIST_FIELD(elements, elements, elements); - READ_INT_FIELD(list_start, list_start, list_start); - READ_INT_FIELD(list_end, list_end, list_end); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(A_ArrayExpr, elements, elements, elements); + READ_INT_FIELD(A_ArrayExpr, list_start, list_start, list_start); + READ_INT_FIELD(A_ArrayExpr, list_end, list_end, list_end); + READ_INT_FIELD(A_ArrayExpr, location, location, location); return node; } static ResTarget * -_readResTarget(OUT_TYPE(ResTarget, ResTarget) msg) +_readResTarget(const OUT_TYPE(ResTarget, ResTarget) msg) { ResTarget *node = makeNode(ResTarget); - READ_STRING_FIELD(name, name, name); - READ_LIST_FIELD(indirection, indirection, indirection); - READ_NODE_PTR_FIELD(val, val, val); - READ_INT_FIELD(location, location, location); + READ_STRING_FIELD(ResTarget, name, name, name); + READ_LIST_FIELD(ResTarget, indirection, indirection, indirection); + READ_NODE_PTR_FIELD(ResTarget, val, val, val); + READ_INT_FIELD(ResTarget, location, location, location); return node; } static MultiAssignRef * -_readMultiAssignRef(OUT_TYPE(MultiAssignRef, MultiAssignRef) msg) +_readMultiAssignRef(const OUT_TYPE(MultiAssignRef, MultiAssignRef) msg) { MultiAssignRef *node = makeNode(MultiAssignRef); - READ_NODE_PTR_FIELD(source, source, source); - READ_INT_FIELD(colno, colno, colno); - READ_INT_FIELD(ncolumns, ncolumns, ncolumns); + READ_NODE_PTR_FIELD(MultiAssignRef, source, source, source); + READ_INT_FIELD(MultiAssignRef, colno, colno, colno); + READ_INT_FIELD(MultiAssignRef, ncolumns, ncolumns, ncolumns); return node; } static SortBy * -_readSortBy(OUT_TYPE(SortBy, SortBy) msg) +_readSortBy(const OUT_TYPE(SortBy, SortBy) msg) { SortBy *node = makeNode(SortBy); - READ_NODE_PTR_FIELD(node, node, node); - READ_ENUM_FIELD(SortByDir, sortby_dir, sortby_dir, sortby_dir); - READ_ENUM_FIELD(SortByNulls, sortby_nulls, sortby_nulls, sortby_nulls); - READ_LIST_FIELD(use_op, useOp, useOp); - READ_INT_FIELD(location, location, location); + READ_NODE_PTR_FIELD(SortBy, node, node, node); + READ_ENUM_FIELD(SortBy, SortByDir, sortby_dir, sortby_dir, sortby_dir); + READ_ENUM_FIELD(SortBy, SortByNulls, sortby_nulls, sortby_nulls, sortby_nulls); + READ_LIST_FIELD(SortBy, use_op, useOp, useOp); + READ_INT_FIELD(SortBy, location, location, location); return node; } static WindowDef * -_readWindowDef(OUT_TYPE(WindowDef, WindowDef) msg) +_readWindowDef(const OUT_TYPE(WindowDef, WindowDef) msg) { WindowDef *node = makeNode(WindowDef); - READ_STRING_FIELD(name, name, name); - READ_STRING_FIELD(refname, refname, refname); - READ_LIST_FIELD(partition_clause, partitionClause, partitionClause); - READ_LIST_FIELD(order_clause, orderClause, orderClause); - READ_INT_FIELD(frame_options, frameOptions, frameOptions); - READ_NODE_PTR_FIELD(start_offset, startOffset, startOffset); - READ_NODE_PTR_FIELD(end_offset, endOffset, endOffset); - READ_INT_FIELD(location, location, location); + READ_STRING_FIELD(WindowDef, name, name, name); + READ_STRING_FIELD(WindowDef, refname, refname, refname); + READ_LIST_FIELD(WindowDef, partition_clause, partitionClause, partitionClause); + READ_LIST_FIELD(WindowDef, order_clause, orderClause, orderClause); + READ_INT_FIELD(WindowDef, frame_options, frameOptions, frameOptions); + READ_NODE_PTR_FIELD(WindowDef, start_offset, startOffset, startOffset); + READ_NODE_PTR_FIELD(WindowDef, end_offset, endOffset, endOffset); + READ_INT_FIELD(WindowDef, location, location, location); return node; } static RangeSubselect * -_readRangeSubselect(OUT_TYPE(RangeSubselect, RangeSubselect) msg) +_readRangeSubselect(const OUT_TYPE(RangeSubselect, RangeSubselect) msg) { RangeSubselect *node = makeNode(RangeSubselect); - READ_BOOL_FIELD(lateral, lateral, lateral); - READ_NODE_PTR_FIELD(subquery, subquery, subquery); - READ_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); + READ_BOOL_FIELD(RangeSubselect, lateral, lateral, lateral); + READ_NODE_PTR_FIELD(RangeSubselect, subquery, subquery, subquery); + READ_SPECIFIC_NODE_PTR_FIELD(RangeSubselect, Alias, alias, alias, alias, alias); return node; } static RangeFunction * -_readRangeFunction(OUT_TYPE(RangeFunction, RangeFunction) msg) +_readRangeFunction(const OUT_TYPE(RangeFunction, RangeFunction) msg) { RangeFunction *node = makeNode(RangeFunction); - READ_BOOL_FIELD(lateral, lateral, lateral); - READ_BOOL_FIELD(ordinality, ordinality, ordinality); - READ_BOOL_FIELD(is_rowsfrom, is_rowsfrom, is_rowsfrom); - READ_LIST_FIELD(functions, functions, functions); - READ_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - READ_LIST_FIELD(coldeflist, coldeflist, coldeflist); + READ_BOOL_FIELD(RangeFunction, lateral, lateral, lateral); + READ_BOOL_FIELD(RangeFunction, ordinality, ordinality, ordinality); + READ_BOOL_FIELD(RangeFunction, is_rowsfrom, is_rowsfrom, is_rowsfrom); + READ_LIST_FIELD(RangeFunction, functions, functions, functions); + READ_SPECIFIC_NODE_PTR_FIELD(RangeFunction, Alias, alias, alias, alias, alias); + READ_LIST_FIELD(RangeFunction, coldeflist, coldeflist, coldeflist); return node; } static RangeTableFunc * -_readRangeTableFunc(OUT_TYPE(RangeTableFunc, RangeTableFunc) msg) +_readRangeTableFunc(const OUT_TYPE(RangeTableFunc, RangeTableFunc) msg) { RangeTableFunc *node = makeNode(RangeTableFunc); - READ_BOOL_FIELD(lateral, lateral, lateral); - READ_NODE_PTR_FIELD(docexpr, docexpr, docexpr); - READ_NODE_PTR_FIELD(rowexpr, rowexpr, rowexpr); - READ_LIST_FIELD(namespaces, namespaces, namespaces); - READ_LIST_FIELD(columns, columns, columns); - READ_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - READ_INT_FIELD(location, location, location); + READ_BOOL_FIELD(RangeTableFunc, lateral, lateral, lateral); + READ_NODE_PTR_FIELD(RangeTableFunc, docexpr, docexpr, docexpr); + READ_NODE_PTR_FIELD(RangeTableFunc, rowexpr, rowexpr, rowexpr); + READ_LIST_FIELD(RangeTableFunc, namespaces, namespaces, namespaces); + READ_LIST_FIELD(RangeTableFunc, columns, columns, columns); + READ_SPECIFIC_NODE_PTR_FIELD(RangeTableFunc, Alias, alias, alias, alias, alias); + READ_INT_FIELD(RangeTableFunc, location, location, location); return node; } static RangeTableFuncCol * -_readRangeTableFuncCol(OUT_TYPE(RangeTableFuncCol, RangeTableFuncCol) msg) +_readRangeTableFuncCol(const OUT_TYPE(RangeTableFuncCol, RangeTableFuncCol) msg) { RangeTableFuncCol *node = makeNode(RangeTableFuncCol); - READ_STRING_FIELD(colname, colname, colname); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - READ_BOOL_FIELD(for_ordinality, for_ordinality, for_ordinality); - READ_BOOL_FIELD(is_not_null, is_not_null, is_not_null); - READ_NODE_PTR_FIELD(colexpr, colexpr, colexpr); - READ_NODE_PTR_FIELD(coldefexpr, coldefexpr, coldefexpr); - READ_INT_FIELD(location, location, location); + READ_STRING_FIELD(RangeTableFuncCol, colname, colname, colname); + READ_SPECIFIC_NODE_PTR_FIELD(RangeTableFuncCol, TypeName, type_name, type_name, typeName, typeName); + READ_BOOL_FIELD(RangeTableFuncCol, for_ordinality, for_ordinality, for_ordinality); + READ_BOOL_FIELD(RangeTableFuncCol, is_not_null, is_not_null, is_not_null); + READ_NODE_PTR_FIELD(RangeTableFuncCol, colexpr, colexpr, colexpr); + READ_NODE_PTR_FIELD(RangeTableFuncCol, coldefexpr, coldefexpr, coldefexpr); + READ_INT_FIELD(RangeTableFuncCol, location, location, location); return node; } static RangeTableSample * -_readRangeTableSample(OUT_TYPE(RangeTableSample, RangeTableSample) msg) +_readRangeTableSample(const OUT_TYPE(RangeTableSample, RangeTableSample) msg) { RangeTableSample *node = makeNode(RangeTableSample); - READ_NODE_PTR_FIELD(relation, relation, relation); - READ_LIST_FIELD(method, method, method); - READ_LIST_FIELD(args, args, args); - READ_NODE_PTR_FIELD(repeatable, repeatable, repeatable); - READ_INT_FIELD(location, location, location); + READ_NODE_PTR_FIELD(RangeTableSample, relation, relation, relation); + READ_LIST_FIELD(RangeTableSample, method, method, method); + READ_LIST_FIELD(RangeTableSample, args, args, args); + READ_NODE_PTR_FIELD(RangeTableSample, repeatable, repeatable, repeatable); + READ_INT_FIELD(RangeTableSample, location, location, location); return node; } static ColumnDef * -_readColumnDef(OUT_TYPE(ColumnDef, ColumnDef) msg) +_readColumnDef(const OUT_TYPE(ColumnDef, ColumnDef) msg) { ColumnDef *node = makeNode(ColumnDef); - READ_STRING_FIELD(colname, colname, colname); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - READ_STRING_FIELD(compression, compression, compression); - READ_INT_FIELD(inhcount, inhcount, inhcount); - READ_BOOL_FIELD(is_local, is_local, is_local); - READ_BOOL_FIELD(is_not_null, is_not_null, is_not_null); - READ_BOOL_FIELD(is_from_type, is_from_type, is_from_type); - READ_CHAR_FIELD(storage, storage, storage); - READ_STRING_FIELD(storage_name, storage_name, storage_name); - READ_NODE_PTR_FIELD(raw_default, raw_default, raw_default); - READ_NODE_PTR_FIELD(cooked_default, cooked_default, cooked_default); - READ_CHAR_FIELD(identity, identity, identity); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, identity_sequence, identitySequence, identitySequence); - READ_CHAR_FIELD(generated, generated, generated); - READ_SPECIFIC_NODE_PTR_FIELD(CollateClause, collate_clause, coll_clause, collClause, collClause); - READ_UINT_FIELD(coll_oid, collOid, collOid); - READ_LIST_FIELD(constraints, constraints, constraints); - READ_LIST_FIELD(fdwoptions, fdwoptions, fdwoptions); - READ_INT_FIELD(location, location, location); + READ_STRING_FIELD(ColumnDef, colname, colname, colname); + READ_SPECIFIC_NODE_PTR_FIELD(ColumnDef, TypeName, type_name, type_name, typeName, typeName); + READ_STRING_FIELD(ColumnDef, compression, compression, compression); + READ_INT_FIELD(ColumnDef, inhcount, inhcount, inhcount); + READ_BOOL_FIELD(ColumnDef, is_local, is_local, is_local); + READ_BOOL_FIELD(ColumnDef, is_not_null, is_not_null, is_not_null); + READ_BOOL_FIELD(ColumnDef, is_from_type, is_from_type, is_from_type); + READ_CHAR_FIELD(ColumnDef, storage, storage, storage); + READ_STRING_FIELD(ColumnDef, storage_name, storage_name, storage_name); + READ_NODE_PTR_FIELD(ColumnDef, raw_default, raw_default, raw_default); + READ_NODE_PTR_FIELD(ColumnDef, cooked_default, cooked_default, cooked_default); + READ_CHAR_FIELD(ColumnDef, identity, identity, identity); + READ_SPECIFIC_NODE_PTR_FIELD(ColumnDef, RangeVar, range_var, identity_sequence, identitySequence, identitySequence); + READ_CHAR_FIELD(ColumnDef, generated, generated, generated); + READ_SPECIFIC_NODE_PTR_FIELD(ColumnDef, CollateClause, collate_clause, coll_clause, collClause, collClause); + READ_UINT_FIELD(ColumnDef, coll_oid, collOid, collOid); + READ_LIST_FIELD(ColumnDef, constraints, constraints, constraints); + READ_LIST_FIELD(ColumnDef, fdwoptions, fdwoptions, fdwoptions); + READ_INT_FIELD(ColumnDef, location, location, location); return node; } static TableLikeClause * -_readTableLikeClause(OUT_TYPE(TableLikeClause, TableLikeClause) msg) +_readTableLikeClause(const OUT_TYPE(TableLikeClause, TableLikeClause) msg) { TableLikeClause *node = makeNode(TableLikeClause); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_UINT_FIELD(options, options, options); - READ_UINT_FIELD(relation_oid, relationOid, relationOid); + READ_SPECIFIC_NODE_PTR_FIELD(TableLikeClause, RangeVar, range_var, relation, relation, relation); + READ_UINT_FIELD(TableLikeClause, options, options, options); + READ_UINT_FIELD(TableLikeClause, relation_oid, relationOid, relationOid); return node; } static IndexElem * -_readIndexElem(OUT_TYPE(IndexElem, IndexElem) msg) +_readIndexElem(const OUT_TYPE(IndexElem, IndexElem) msg) { IndexElem *node = makeNode(IndexElem); - READ_STRING_FIELD(name, name, name); - READ_NODE_PTR_FIELD(expr, expr, expr); - READ_STRING_FIELD(indexcolname, indexcolname, indexcolname); - READ_LIST_FIELD(collation, collation, collation); - READ_LIST_FIELD(opclass, opclass, opclass); - READ_LIST_FIELD(opclassopts, opclassopts, opclassopts); - READ_ENUM_FIELD(SortByDir, ordering, ordering, ordering); - READ_ENUM_FIELD(SortByNulls, nulls_ordering, nulls_ordering, nulls_ordering); + READ_STRING_FIELD(IndexElem, name, name, name); + READ_NODE_PTR_FIELD(IndexElem, expr, expr, expr); + READ_STRING_FIELD(IndexElem, indexcolname, indexcolname, indexcolname); + READ_LIST_FIELD(IndexElem, collation, collation, collation); + READ_LIST_FIELD(IndexElem, opclass, opclass, opclass); + READ_LIST_FIELD(IndexElem, opclassopts, opclassopts, opclassopts); + READ_ENUM_FIELD(IndexElem, SortByDir, ordering, ordering, ordering); + READ_ENUM_FIELD(IndexElem, SortByNulls, nulls_ordering, nulls_ordering, nulls_ordering); return node; } static DefElem * -_readDefElem(OUT_TYPE(DefElem, DefElem) msg) +_readDefElem(const OUT_TYPE(DefElem, DefElem) msg) { DefElem *node = makeNode(DefElem); - READ_STRING_FIELD(defnamespace, defnamespace, defnamespace); - READ_STRING_FIELD(defname, defname, defname); - READ_NODE_PTR_FIELD(arg, arg, arg); - READ_ENUM_FIELD(DefElemAction, defaction, defaction, defaction); - READ_INT_FIELD(location, location, location); + READ_STRING_FIELD(DefElem, defnamespace, defnamespace, defnamespace); + READ_STRING_FIELD(DefElem, defname, defname, defname); + READ_NODE_PTR_FIELD(DefElem, arg, arg, arg); + READ_ENUM_FIELD(DefElem, DefElemAction, defaction, defaction, defaction); + READ_INT_FIELD(DefElem, location, location, location); + READ_INT_FIELD(DefElem, arg_location, arg_location, arg_location); return node; } static LockingClause * -_readLockingClause(OUT_TYPE(LockingClause, LockingClause) msg) +_readLockingClause(const OUT_TYPE(LockingClause, LockingClause) msg) { LockingClause *node = makeNode(LockingClause); - READ_LIST_FIELD(locked_rels, lockedRels, lockedRels); - READ_ENUM_FIELD(LockClauseStrength, strength, strength, strength); - READ_ENUM_FIELD(LockWaitPolicy, wait_policy, waitPolicy, waitPolicy); + READ_LIST_FIELD(LockingClause, locked_rels, lockedRels, lockedRels); + READ_ENUM_FIELD(LockingClause, LockClauseStrength, strength, strength, strength); + READ_ENUM_FIELD(LockingClause, LockWaitPolicy, wait_policy, waitPolicy, waitPolicy); return node; } static XmlSerialize * -_readXmlSerialize(OUT_TYPE(XmlSerialize, XmlSerialize) msg) +_readXmlSerialize(const OUT_TYPE(XmlSerialize, XmlSerialize) msg) { XmlSerialize *node = makeNode(XmlSerialize); - READ_ENUM_FIELD(XmlOptionType, xmloption, xmloption, xmloption); - READ_NODE_PTR_FIELD(expr, expr, expr); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - READ_BOOL_FIELD(indent, indent, indent); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(XmlSerialize, XmlOptionType, xmloption, xmloption, xmloption); + READ_NODE_PTR_FIELD(XmlSerialize, expr, expr, expr); + READ_SPECIFIC_NODE_PTR_FIELD(XmlSerialize, TypeName, type_name, type_name, typeName, typeName); + READ_BOOL_FIELD(XmlSerialize, indent, indent, indent); + READ_INT_FIELD(XmlSerialize, location, location, location); return node; } static PartitionElem * -_readPartitionElem(OUT_TYPE(PartitionElem, PartitionElem) msg) +_readPartitionElem(const OUT_TYPE(PartitionElem, PartitionElem) msg) { PartitionElem *node = makeNode(PartitionElem); - READ_STRING_FIELD(name, name, name); - READ_NODE_PTR_FIELD(expr, expr, expr); - READ_LIST_FIELD(collation, collation, collation); - READ_LIST_FIELD(opclass, opclass, opclass); - READ_INT_FIELD(location, location, location); + READ_STRING_FIELD(PartitionElem, name, name, name); + READ_NODE_PTR_FIELD(PartitionElem, expr, expr, expr); + READ_LIST_FIELD(PartitionElem, collation, collation, collation); + READ_LIST_FIELD(PartitionElem, opclass, opclass, opclass); + READ_INT_FIELD(PartitionElem, location, location, location); return node; } static PartitionSpec * -_readPartitionSpec(OUT_TYPE(PartitionSpec, PartitionSpec) msg) +_readPartitionSpec(const OUT_TYPE(PartitionSpec, PartitionSpec) msg) { PartitionSpec *node = makeNode(PartitionSpec); - READ_ENUM_FIELD(PartitionStrategy, strategy, strategy, strategy); - READ_LIST_FIELD(part_params, partParams, partParams); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(PartitionSpec, PartitionStrategy, strategy, strategy, strategy); + READ_LIST_FIELD(PartitionSpec, part_params, partParams, partParams); + READ_INT_FIELD(PartitionSpec, location, location, location); return node; } static PartitionBoundSpec * -_readPartitionBoundSpec(OUT_TYPE(PartitionBoundSpec, PartitionBoundSpec) msg) +_readPartitionBoundSpec(const OUT_TYPE(PartitionBoundSpec, PartitionBoundSpec) msg) { PartitionBoundSpec *node = makeNode(PartitionBoundSpec); - READ_CHAR_FIELD(strategy, strategy, strategy); - READ_BOOL_FIELD(is_default, is_default, is_default); - READ_INT_FIELD(modulus, modulus, modulus); - READ_INT_FIELD(remainder, remainder, remainder); - READ_LIST_FIELD(listdatums, listdatums, listdatums); - READ_LIST_FIELD(lowerdatums, lowerdatums, lowerdatums); - READ_LIST_FIELD(upperdatums, upperdatums, upperdatums); - READ_INT_FIELD(location, location, location); + READ_CHAR_FIELD(PartitionBoundSpec, strategy, strategy, strategy); + READ_BOOL_FIELD(PartitionBoundSpec, is_default, is_default, is_default); + READ_INT_FIELD(PartitionBoundSpec, modulus, modulus, modulus); + READ_INT_FIELD(PartitionBoundSpec, remainder, remainder, remainder); + READ_LIST_FIELD(PartitionBoundSpec, listdatums, listdatums, listdatums); + READ_LIST_FIELD(PartitionBoundSpec, lowerdatums, lowerdatums, lowerdatums); + READ_LIST_FIELD(PartitionBoundSpec, upperdatums, upperdatums, upperdatums); + READ_INT_FIELD(PartitionBoundSpec, location, location, location); return node; } static PartitionRangeDatum * -_readPartitionRangeDatum(OUT_TYPE(PartitionRangeDatum, PartitionRangeDatum) msg) +_readPartitionRangeDatum(const OUT_TYPE(PartitionRangeDatum, PartitionRangeDatum) msg) { PartitionRangeDatum *node = makeNode(PartitionRangeDatum); - READ_ENUM_FIELD(PartitionRangeDatumKind, kind, kind, kind); - READ_NODE_PTR_FIELD(value, value, value); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(PartitionRangeDatum, PartitionRangeDatumKind, kind, kind, kind); + READ_NODE_PTR_FIELD(PartitionRangeDatum, value, value, value); + READ_INT_FIELD(PartitionRangeDatum, location, location, location); return node; } static PartitionCmd * -_readPartitionCmd(OUT_TYPE(PartitionCmd, PartitionCmd) msg) +_readPartitionCmd(const OUT_TYPE(PartitionCmd, PartitionCmd) msg) { PartitionCmd *node = makeNode(PartitionCmd); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, name, name, name); - READ_SPECIFIC_NODE_PTR_FIELD(PartitionBoundSpec, partition_bound_spec, bound, bound, bound); - READ_BOOL_FIELD(concurrent, concurrent, concurrent); + READ_SPECIFIC_NODE_PTR_FIELD(PartitionCmd, RangeVar, range_var, name, name, name); + READ_SPECIFIC_NODE_PTR_FIELD(PartitionCmd, PartitionBoundSpec, partition_bound_spec, bound, bound, bound); + READ_BOOL_FIELD(PartitionCmd, concurrent, concurrent, concurrent); return node; } static RangeTblEntry * -_readRangeTblEntry(OUT_TYPE(RangeTblEntry, RangeTblEntry) msg) +_readRangeTblEntry(const OUT_TYPE(RangeTblEntry, RangeTblEntry) msg) { RangeTblEntry *node = makeNode(RangeTblEntry); - READ_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - READ_SPECIFIC_NODE_PTR_FIELD(Alias, alias, eref, eref, eref); - READ_ENUM_FIELD(RTEKind, rtekind, rtekind, rtekind); - READ_UINT_FIELD(relid, relid, relid); - READ_BOOL_FIELD(inh, inh, inh); - READ_CHAR_FIELD(relkind, relkind, relkind); - READ_INT_FIELD(rellockmode, rellockmode, rellockmode); - READ_UINT_FIELD(perminfoindex, perminfoindex, perminfoindex); - READ_SPECIFIC_NODE_PTR_FIELD(TableSampleClause, table_sample_clause, tablesample, tablesample, tablesample); - READ_SPECIFIC_NODE_PTR_FIELD(Query, query, subquery, subquery, subquery); - READ_BOOL_FIELD(security_barrier, security_barrier, security_barrier); - READ_ENUM_FIELD(JoinType, jointype, jointype, jointype); - READ_INT_FIELD(joinmergedcols, joinmergedcols, joinmergedcols); - READ_LIST_FIELD(joinaliasvars, joinaliasvars, joinaliasvars); - READ_LIST_FIELD(joinleftcols, joinleftcols, joinleftcols); - READ_LIST_FIELD(joinrightcols, joinrightcols, joinrightcols); - READ_SPECIFIC_NODE_PTR_FIELD(Alias, alias, join_using_alias, join_using_alias, join_using_alias); - READ_LIST_FIELD(functions, functions, functions); - READ_BOOL_FIELD(funcordinality, funcordinality, funcordinality); - READ_SPECIFIC_NODE_PTR_FIELD(TableFunc, table_func, tablefunc, tablefunc, tablefunc); - READ_LIST_FIELD(values_lists, values_lists, values_lists); - READ_STRING_FIELD(ctename, ctename, ctename); - READ_UINT_FIELD(ctelevelsup, ctelevelsup, ctelevelsup); - READ_BOOL_FIELD(self_reference, self_reference, self_reference); - READ_LIST_FIELD(coltypes, coltypes, coltypes); - READ_LIST_FIELD(coltypmods, coltypmods, coltypmods); - READ_LIST_FIELD(colcollations, colcollations, colcollations); - READ_STRING_FIELD(enrname, enrname, enrname); - READ_FLOAT_FIELD(enrtuples, enrtuples, enrtuples); - READ_LIST_FIELD(groupexprs, groupexprs, groupexprs); - READ_BOOL_FIELD(lateral, lateral, lateral); - READ_BOOL_FIELD(in_from_cl, inFromCl, inFromCl); - READ_LIST_FIELD(security_quals, securityQuals, securityQuals); + READ_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, Alias, alias, alias, alias, alias); + READ_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, Alias, alias, eref, eref, eref); + READ_ENUM_FIELD(RangeTblEntry, RTEKind, rtekind, rtekind, rtekind); + READ_UINT_FIELD(RangeTblEntry, relid, relid, relid); + READ_BOOL_FIELD(RangeTblEntry, inh, inh, inh); + READ_CHAR_FIELD(RangeTblEntry, relkind, relkind, relkind); + READ_INT_FIELD(RangeTblEntry, rellockmode, rellockmode, rellockmode); + READ_UINT_FIELD(RangeTblEntry, perminfoindex, perminfoindex, perminfoindex); + READ_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, TableSampleClause, table_sample_clause, tablesample, tablesample, tablesample); + READ_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, Query, query, subquery, subquery, subquery); + READ_BOOL_FIELD(RangeTblEntry, security_barrier, security_barrier, security_barrier); + READ_ENUM_FIELD(RangeTblEntry, JoinType, jointype, jointype, jointype); + READ_INT_FIELD(RangeTblEntry, joinmergedcols, joinmergedcols, joinmergedcols); + READ_LIST_FIELD(RangeTblEntry, joinaliasvars, joinaliasvars, joinaliasvars); + READ_LIST_FIELD(RangeTblEntry, joinleftcols, joinleftcols, joinleftcols); + READ_LIST_FIELD(RangeTblEntry, joinrightcols, joinrightcols, joinrightcols); + READ_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, Alias, alias, join_using_alias, join_using_alias, join_using_alias); + READ_LIST_FIELD(RangeTblEntry, functions, functions, functions); + READ_BOOL_FIELD(RangeTblEntry, funcordinality, funcordinality, funcordinality); + READ_SPECIFIC_NODE_PTR_FIELD(RangeTblEntry, TableFunc, table_func, tablefunc, tablefunc, tablefunc); + READ_LIST_FIELD(RangeTblEntry, values_lists, values_lists, values_lists); + READ_STRING_FIELD(RangeTblEntry, ctename, ctename, ctename); + READ_UINT_FIELD(RangeTblEntry, ctelevelsup, ctelevelsup, ctelevelsup); + READ_BOOL_FIELD(RangeTblEntry, self_reference, self_reference, self_reference); + READ_LIST_FIELD(RangeTblEntry, coltypes, coltypes, coltypes); + READ_LIST_FIELD(RangeTblEntry, coltypmods, coltypmods, coltypmods); + READ_LIST_FIELD(RangeTblEntry, colcollations, colcollations, colcollations); + READ_STRING_FIELD(RangeTblEntry, enrname, enrname, enrname); + READ_FLOAT_FIELD(RangeTblEntry, enrtuples, enrtuples, enrtuples); + READ_LIST_FIELD(RangeTblEntry, groupexprs, groupexprs, groupexprs); + READ_BOOL_FIELD(RangeTblEntry, lateral, lateral, lateral); + READ_BOOL_FIELD(RangeTblEntry, in_from_cl, inFromCl, inFromCl); + READ_LIST_FIELD(RangeTblEntry, security_quals, securityQuals, securityQuals); return node; } static RTEPermissionInfo * -_readRTEPermissionInfo(OUT_TYPE(RTEPermissionInfo, RTEPermissionInfo) msg) +_readRTEPermissionInfo(const OUT_TYPE(RTEPermissionInfo, RTEPermissionInfo) msg) { RTEPermissionInfo *node = makeNode(RTEPermissionInfo); - READ_UINT_FIELD(relid, relid, relid); - READ_BOOL_FIELD(inh, inh, inh); - READ_UINT64_FIELD(required_perms, requiredPerms, requiredPerms); - READ_UINT_FIELD(check_as_user, checkAsUser, checkAsUser); - READ_BITMAPSET_FIELD(selected_cols, selectedCols, selectedCols); - READ_BITMAPSET_FIELD(inserted_cols, insertedCols, insertedCols); - READ_BITMAPSET_FIELD(updated_cols, updatedCols, updatedCols); + READ_UINT_FIELD(RTEPermissionInfo, relid, relid, relid); + READ_BOOL_FIELD(RTEPermissionInfo, inh, inh, inh); + READ_UINT64_FIELD(RTEPermissionInfo, required_perms, requiredPerms, requiredPerms); + READ_UINT_FIELD(RTEPermissionInfo, check_as_user, checkAsUser, checkAsUser); + READ_BITMAPSET_FIELD(RTEPermissionInfo, selected_cols, selectedCols, selectedCols); + READ_BITMAPSET_FIELD(RTEPermissionInfo, inserted_cols, insertedCols, insertedCols); + READ_BITMAPSET_FIELD(RTEPermissionInfo, updated_cols, updatedCols, updatedCols); return node; } static RangeTblFunction * -_readRangeTblFunction(OUT_TYPE(RangeTblFunction, RangeTblFunction) msg) +_readRangeTblFunction(const OUT_TYPE(RangeTblFunction, RangeTblFunction) msg) { RangeTblFunction *node = makeNode(RangeTblFunction); - READ_NODE_PTR_FIELD(funcexpr, funcexpr, funcexpr); - READ_INT_FIELD(funccolcount, funccolcount, funccolcount); - READ_LIST_FIELD(funccolnames, funccolnames, funccolnames); - READ_LIST_FIELD(funccoltypes, funccoltypes, funccoltypes); - READ_LIST_FIELD(funccoltypmods, funccoltypmods, funccoltypmods); - READ_LIST_FIELD(funccolcollations, funccolcollations, funccolcollations); - READ_BITMAPSET_FIELD(funcparams, funcparams, funcparams); + READ_NODE_PTR_FIELD(RangeTblFunction, funcexpr, funcexpr, funcexpr); + READ_INT_FIELD(RangeTblFunction, funccolcount, funccolcount, funccolcount); + READ_LIST_FIELD(RangeTblFunction, funccolnames, funccolnames, funccolnames); + READ_LIST_FIELD(RangeTblFunction, funccoltypes, funccoltypes, funccoltypes); + READ_LIST_FIELD(RangeTblFunction, funccoltypmods, funccoltypmods, funccoltypmods); + READ_LIST_FIELD(RangeTblFunction, funccolcollations, funccolcollations, funccolcollations); + READ_BITMAPSET_FIELD(RangeTblFunction, funcparams, funcparams, funcparams); return node; } static TableSampleClause * -_readTableSampleClause(OUT_TYPE(TableSampleClause, TableSampleClause) msg) +_readTableSampleClause(const OUT_TYPE(TableSampleClause, TableSampleClause) msg) { TableSampleClause *node = makeNode(TableSampleClause); - READ_UINT_FIELD(tsmhandler, tsmhandler, tsmhandler); - READ_LIST_FIELD(args, args, args); - READ_ABSTRACT_PTR_FIELD(repeatable, repeatable, repeatable, Expr*); + READ_UINT_FIELD(TableSampleClause, tsmhandler, tsmhandler, tsmhandler); + READ_LIST_FIELD(TableSampleClause, args, args, args); + READ_ABSTRACT_PTR_FIELD(TableSampleClause, repeatable, repeatable, repeatable, Expr*); return node; } static WithCheckOption * -_readWithCheckOption(OUT_TYPE(WithCheckOption, WithCheckOption) msg) +_readWithCheckOption(const OUT_TYPE(WithCheckOption, WithCheckOption) msg) { WithCheckOption *node = makeNode(WithCheckOption); - READ_ENUM_FIELD(WCOKind, kind, kind, kind); - READ_STRING_FIELD(relname, relname, relname); - READ_STRING_FIELD(polname, polname, polname); - READ_NODE_PTR_FIELD(qual, qual, qual); - READ_BOOL_FIELD(cascaded, cascaded, cascaded); + READ_ENUM_FIELD(WithCheckOption, WCOKind, kind, kind, kind); + READ_STRING_FIELD(WithCheckOption, relname, relname, relname); + READ_STRING_FIELD(WithCheckOption, polname, polname, polname); + READ_NODE_PTR_FIELD(WithCheckOption, qual, qual, qual); + READ_BOOL_FIELD(WithCheckOption, cascaded, cascaded, cascaded); return node; } static SortGroupClause * -_readSortGroupClause(OUT_TYPE(SortGroupClause, SortGroupClause) msg) +_readSortGroupClause(const OUT_TYPE(SortGroupClause, SortGroupClause) msg) { SortGroupClause *node = makeNode(SortGroupClause); - READ_UINT_FIELD(tle_sort_group_ref, tleSortGroupRef, tleSortGroupRef); - READ_UINT_FIELD(eqop, eqop, eqop); - READ_UINT_FIELD(sortop, sortop, sortop); - READ_BOOL_FIELD(reverse_sort, reverse_sort, reverse_sort); - READ_BOOL_FIELD(nulls_first, nulls_first, nulls_first); - READ_BOOL_FIELD(hashable, hashable, hashable); + READ_UINT_FIELD(SortGroupClause, tle_sort_group_ref, tleSortGroupRef, tleSortGroupRef); + READ_UINT_FIELD(SortGroupClause, eqop, eqop, eqop); + READ_UINT_FIELD(SortGroupClause, sortop, sortop, sortop); + READ_BOOL_FIELD(SortGroupClause, reverse_sort, reverse_sort, reverse_sort); + READ_BOOL_FIELD(SortGroupClause, nulls_first, nulls_first, nulls_first); + READ_BOOL_FIELD(SortGroupClause, hashable, hashable, hashable); return node; } static GroupingSet * -_readGroupingSet(OUT_TYPE(GroupingSet, GroupingSet) msg) +_readGroupingSet(const OUT_TYPE(GroupingSet, GroupingSet) msg) { GroupingSet *node = makeNode(GroupingSet); - READ_ENUM_FIELD(GroupingSetKind, kind, kind, kind); - READ_LIST_FIELD(content, content, content); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(GroupingSet, GroupingSetKind, kind, kind, kind); + READ_LIST_FIELD(GroupingSet, content, content, content); + READ_INT_FIELD(GroupingSet, location, location, location); return node; } static WindowClause * -_readWindowClause(OUT_TYPE(WindowClause, WindowClause) msg) +_readWindowClause(const OUT_TYPE(WindowClause, WindowClause) msg) { WindowClause *node = makeNode(WindowClause); - READ_STRING_FIELD(name, name, name); - READ_STRING_FIELD(refname, refname, refname); - READ_LIST_FIELD(partition_clause, partitionClause, partitionClause); - READ_LIST_FIELD(order_clause, orderClause, orderClause); - READ_INT_FIELD(frame_options, frameOptions, frameOptions); - READ_NODE_PTR_FIELD(start_offset, startOffset, startOffset); - READ_NODE_PTR_FIELD(end_offset, endOffset, endOffset); - READ_UINT_FIELD(start_in_range_func, startInRangeFunc, startInRangeFunc); - READ_UINT_FIELD(end_in_range_func, endInRangeFunc, endInRangeFunc); - READ_UINT_FIELD(in_range_coll, inRangeColl, inRangeColl); - READ_BOOL_FIELD(in_range_asc, inRangeAsc, inRangeAsc); - READ_BOOL_FIELD(in_range_nulls_first, inRangeNullsFirst, inRangeNullsFirst); - READ_UINT_FIELD(winref, winref, winref); - READ_BOOL_FIELD(copied_order, copiedOrder, copiedOrder); + READ_STRING_FIELD(WindowClause, name, name, name); + READ_STRING_FIELD(WindowClause, refname, refname, refname); + READ_LIST_FIELD(WindowClause, partition_clause, partitionClause, partitionClause); + READ_LIST_FIELD(WindowClause, order_clause, orderClause, orderClause); + READ_INT_FIELD(WindowClause, frame_options, frameOptions, frameOptions); + READ_NODE_PTR_FIELD(WindowClause, start_offset, startOffset, startOffset); + READ_NODE_PTR_FIELD(WindowClause, end_offset, endOffset, endOffset); + READ_UINT_FIELD(WindowClause, start_in_range_func, startInRangeFunc, startInRangeFunc); + READ_UINT_FIELD(WindowClause, end_in_range_func, endInRangeFunc, endInRangeFunc); + READ_UINT_FIELD(WindowClause, in_range_coll, inRangeColl, inRangeColl); + READ_BOOL_FIELD(WindowClause, in_range_asc, inRangeAsc, inRangeAsc); + READ_BOOL_FIELD(WindowClause, in_range_nulls_first, inRangeNullsFirst, inRangeNullsFirst); + READ_UINT_FIELD(WindowClause, winref, winref, winref); + READ_BOOL_FIELD(WindowClause, copied_order, copiedOrder, copiedOrder); return node; } static RowMarkClause * -_readRowMarkClause(OUT_TYPE(RowMarkClause, RowMarkClause) msg) +_readRowMarkClause(const OUT_TYPE(RowMarkClause, RowMarkClause) msg) { RowMarkClause *node = makeNode(RowMarkClause); - READ_UINT_FIELD(rti, rti, rti); - READ_ENUM_FIELD(LockClauseStrength, strength, strength, strength); - READ_ENUM_FIELD(LockWaitPolicy, wait_policy, waitPolicy, waitPolicy); - READ_BOOL_FIELD(pushed_down, pushedDown, pushedDown); + READ_UINT_FIELD(RowMarkClause, rti, rti, rti); + READ_ENUM_FIELD(RowMarkClause, LockClauseStrength, strength, strength, strength); + READ_ENUM_FIELD(RowMarkClause, LockWaitPolicy, wait_policy, waitPolicy, waitPolicy); + READ_BOOL_FIELD(RowMarkClause, pushed_down, pushedDown, pushedDown); return node; } static WithClause * -_readWithClause(OUT_TYPE(WithClause, WithClause) msg) +_readWithClause(const OUT_TYPE(WithClause, WithClause) msg) { WithClause *node = makeNode(WithClause); - READ_LIST_FIELD(ctes, ctes, ctes); - READ_BOOL_FIELD(recursive, recursive, recursive); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(WithClause, ctes, ctes, ctes); + READ_BOOL_FIELD(WithClause, recursive, recursive, recursive); + READ_INT_FIELD(WithClause, location, location, location); return node; } static InferClause * -_readInferClause(OUT_TYPE(InferClause, InferClause) msg) +_readInferClause(const OUT_TYPE(InferClause, InferClause) msg) { InferClause *node = makeNode(InferClause); - READ_LIST_FIELD(index_elems, indexElems, indexElems); - READ_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - READ_STRING_FIELD(conname, conname, conname); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(InferClause, index_elems, indexElems, indexElems); + READ_NODE_PTR_FIELD(InferClause, where_clause, whereClause, whereClause); + READ_STRING_FIELD(InferClause, conname, conname, conname); + READ_INT_FIELD(InferClause, location, location, location); return node; } static OnConflictClause * -_readOnConflictClause(OUT_TYPE(OnConflictClause, OnConflictClause) msg) +_readOnConflictClause(const OUT_TYPE(OnConflictClause, OnConflictClause) msg) { OnConflictClause *node = makeNode(OnConflictClause); - READ_ENUM_FIELD(OnConflictAction, action, action, action); - READ_SPECIFIC_NODE_PTR_FIELD(InferClause, infer_clause, infer, infer, infer); - READ_LIST_FIELD(target_list, targetList, targetList); - READ_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(OnConflictClause, OnConflictAction, action, action, action); + READ_SPECIFIC_NODE_PTR_FIELD(OnConflictClause, InferClause, infer_clause, infer, infer, infer); + READ_LIST_FIELD(OnConflictClause, target_list, targetList, targetList); + READ_NODE_PTR_FIELD(OnConflictClause, where_clause, whereClause, whereClause); + READ_INT_FIELD(OnConflictClause, location, location, location); return node; } static CTESearchClause * -_readCTESearchClause(OUT_TYPE(CTESearchClause, CTESearchClause) msg) +_readCTESearchClause(const OUT_TYPE(CTESearchClause, CTESearchClause) msg) { CTESearchClause *node = makeNode(CTESearchClause); - READ_LIST_FIELD(search_col_list, search_col_list, search_col_list); - READ_BOOL_FIELD(search_breadth_first, search_breadth_first, search_breadth_first); - READ_STRING_FIELD(search_seq_column, search_seq_column, search_seq_column); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(CTESearchClause, search_col_list, search_col_list, search_col_list); + READ_BOOL_FIELD(CTESearchClause, search_breadth_first, search_breadth_first, search_breadth_first); + READ_STRING_FIELD(CTESearchClause, search_seq_column, search_seq_column, search_seq_column); + READ_INT_FIELD(CTESearchClause, location, location, location); return node; } static CTECycleClause * -_readCTECycleClause(OUT_TYPE(CTECycleClause, CTECycleClause) msg) +_readCTECycleClause(const OUT_TYPE(CTECycleClause, CTECycleClause) msg) { CTECycleClause *node = makeNode(CTECycleClause); - READ_LIST_FIELD(cycle_col_list, cycle_col_list, cycle_col_list); - READ_STRING_FIELD(cycle_mark_column, cycle_mark_column, cycle_mark_column); - READ_NODE_PTR_FIELD(cycle_mark_value, cycle_mark_value, cycle_mark_value); - READ_NODE_PTR_FIELD(cycle_mark_default, cycle_mark_default, cycle_mark_default); - READ_STRING_FIELD(cycle_path_column, cycle_path_column, cycle_path_column); - READ_INT_FIELD(location, location, location); - READ_UINT_FIELD(cycle_mark_type, cycle_mark_type, cycle_mark_type); - READ_INT_FIELD(cycle_mark_typmod, cycle_mark_typmod, cycle_mark_typmod); - READ_UINT_FIELD(cycle_mark_collation, cycle_mark_collation, cycle_mark_collation); - READ_UINT_FIELD(cycle_mark_neop, cycle_mark_neop, cycle_mark_neop); + READ_LIST_FIELD(CTECycleClause, cycle_col_list, cycle_col_list, cycle_col_list); + READ_STRING_FIELD(CTECycleClause, cycle_mark_column, cycle_mark_column, cycle_mark_column); + READ_NODE_PTR_FIELD(CTECycleClause, cycle_mark_value, cycle_mark_value, cycle_mark_value); + READ_NODE_PTR_FIELD(CTECycleClause, cycle_mark_default, cycle_mark_default, cycle_mark_default); + READ_STRING_FIELD(CTECycleClause, cycle_path_column, cycle_path_column, cycle_path_column); + READ_INT_FIELD(CTECycleClause, location, location, location); + READ_UINT_FIELD(CTECycleClause, cycle_mark_type, cycle_mark_type, cycle_mark_type); + READ_INT_FIELD(CTECycleClause, cycle_mark_typmod, cycle_mark_typmod, cycle_mark_typmod); + READ_UINT_FIELD(CTECycleClause, cycle_mark_collation, cycle_mark_collation, cycle_mark_collation); + READ_UINT_FIELD(CTECycleClause, cycle_mark_neop, cycle_mark_neop, cycle_mark_neop); return node; } static CommonTableExpr * -_readCommonTableExpr(OUT_TYPE(CommonTableExpr, CommonTableExpr) msg) +_readCommonTableExpr(const OUT_TYPE(CommonTableExpr, CommonTableExpr) msg) { CommonTableExpr *node = makeNode(CommonTableExpr); - READ_STRING_FIELD(ctename, ctename, ctename); - READ_LIST_FIELD(aliascolnames, aliascolnames, aliascolnames); - READ_ENUM_FIELD(CTEMaterialize, ctematerialized, ctematerialized, ctematerialized); - READ_NODE_PTR_FIELD(ctequery, ctequery, ctequery); - READ_SPECIFIC_NODE_PTR_FIELD(CTESearchClause, ctesearch_clause, search_clause, search_clause, search_clause); - READ_SPECIFIC_NODE_PTR_FIELD(CTECycleClause, ctecycle_clause, cycle_clause, cycle_clause, cycle_clause); - READ_INT_FIELD(location, location, location); - READ_BOOL_FIELD(cterecursive, cterecursive, cterecursive); - READ_INT_FIELD(cterefcount, cterefcount, cterefcount); - READ_LIST_FIELD(ctecolnames, ctecolnames, ctecolnames); - READ_LIST_FIELD(ctecoltypes, ctecoltypes, ctecoltypes); - READ_LIST_FIELD(ctecoltypmods, ctecoltypmods, ctecoltypmods); - READ_LIST_FIELD(ctecolcollations, ctecolcollations, ctecolcollations); + READ_STRING_FIELD(CommonTableExpr, ctename, ctename, ctename); + READ_LIST_FIELD(CommonTableExpr, aliascolnames, aliascolnames, aliascolnames); + READ_ENUM_FIELD(CommonTableExpr, CTEMaterialize, ctematerialized, ctematerialized, ctematerialized); + READ_NODE_PTR_FIELD(CommonTableExpr, ctequery, ctequery, ctequery); + READ_SPECIFIC_NODE_PTR_FIELD(CommonTableExpr, CTESearchClause, ctesearch_clause, search_clause, search_clause, search_clause); + READ_SPECIFIC_NODE_PTR_FIELD(CommonTableExpr, CTECycleClause, ctecycle_clause, cycle_clause, cycle_clause, cycle_clause); + READ_INT_FIELD(CommonTableExpr, location, location, location); + READ_BOOL_FIELD(CommonTableExpr, cterecursive, cterecursive, cterecursive); + READ_INT_FIELD(CommonTableExpr, cterefcount, cterefcount, cterefcount); + READ_LIST_FIELD(CommonTableExpr, ctecolnames, ctecolnames, ctecolnames); + READ_LIST_FIELD(CommonTableExpr, ctecoltypes, ctecoltypes, ctecoltypes); + READ_LIST_FIELD(CommonTableExpr, ctecoltypmods, ctecoltypmods, ctecoltypmods); + READ_LIST_FIELD(CommonTableExpr, ctecolcollations, ctecolcollations, ctecolcollations); return node; } static MergeWhenClause * -_readMergeWhenClause(OUT_TYPE(MergeWhenClause, MergeWhenClause) msg) +_readMergeWhenClause(const OUT_TYPE(MergeWhenClause, MergeWhenClause) msg) { MergeWhenClause *node = makeNode(MergeWhenClause); - READ_ENUM_FIELD(MergeMatchKind, match_kind, matchKind, matchKind); - READ_ENUM_FIELD(CmdType, command_type, commandType, commandType); - READ_ENUM_FIELD(OverridingKind, override, override, override); - READ_NODE_PTR_FIELD(condition, condition, condition); - READ_LIST_FIELD(target_list, targetList, targetList); - READ_LIST_FIELD(values, values, values); + READ_ENUM_FIELD(MergeWhenClause, MergeMatchKind, match_kind, matchKind, matchKind); + READ_ENUM_FIELD(MergeWhenClause, CmdType, command_type, commandType, commandType); + READ_ENUM_FIELD(MergeWhenClause, OverridingKind, override, override, override); + READ_NODE_PTR_FIELD(MergeWhenClause, condition, condition, condition); + READ_LIST_FIELD(MergeWhenClause, target_list, targetList, targetList); + READ_LIST_FIELD(MergeWhenClause, values, values, values); return node; } static ReturningOption * -_readReturningOption(OUT_TYPE(ReturningOption, ReturningOption) msg) +_readReturningOption(const OUT_TYPE(ReturningOption, ReturningOption) msg) { ReturningOption *node = makeNode(ReturningOption); - READ_ENUM_FIELD(ReturningOptionKind, option, option, option); - READ_STRING_FIELD(value, value, value); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(ReturningOption, ReturningOptionKind, option, option, option); + READ_STRING_FIELD(ReturningOption, value, value, value); + READ_INT_FIELD(ReturningOption, location, location, location); return node; } static ReturningClause * -_readReturningClause(OUT_TYPE(ReturningClause, ReturningClause) msg) +_readReturningClause(const OUT_TYPE(ReturningClause, ReturningClause) msg) { ReturningClause *node = makeNode(ReturningClause); - READ_LIST_FIELD(options, options, options); - READ_LIST_FIELD(exprs, exprs, exprs); + READ_LIST_FIELD(ReturningClause, options, options, options); + READ_LIST_FIELD(ReturningClause, exprs, exprs, exprs); return node; } static TriggerTransition * -_readTriggerTransition(OUT_TYPE(TriggerTransition, TriggerTransition) msg) +_readTriggerTransition(const OUT_TYPE(TriggerTransition, TriggerTransition) msg) { TriggerTransition *node = makeNode(TriggerTransition); - READ_STRING_FIELD(name, name, name); - READ_BOOL_FIELD(is_new, isNew, isNew); - READ_BOOL_FIELD(is_table, isTable, isTable); + READ_STRING_FIELD(TriggerTransition, name, name, name); + READ_BOOL_FIELD(TriggerTransition, is_new, isNew, isNew); + READ_BOOL_FIELD(TriggerTransition, is_table, isTable, isTable); return node; } static JsonOutput * -_readJsonOutput(OUT_TYPE(JsonOutput, JsonOutput) msg) +_readJsonOutput(const OUT_TYPE(JsonOutput, JsonOutput) msg) { JsonOutput *node = makeNode(JsonOutput); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - READ_SPECIFIC_NODE_PTR_FIELD(JsonReturning, json_returning, returning, returning, returning); + READ_SPECIFIC_NODE_PTR_FIELD(JsonOutput, TypeName, type_name, type_name, typeName, typeName); + READ_SPECIFIC_NODE_PTR_FIELD(JsonOutput, JsonReturning, json_returning, returning, returning, returning); return node; } static JsonArgument * -_readJsonArgument(OUT_TYPE(JsonArgument, JsonArgument) msg) +_readJsonArgument(const OUT_TYPE(JsonArgument, JsonArgument) msg) { JsonArgument *node = makeNode(JsonArgument); - READ_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, val, val, val); - READ_STRING_FIELD(name, name, name); + READ_SPECIFIC_NODE_PTR_FIELD(JsonArgument, JsonValueExpr, json_value_expr, val, val, val); + READ_STRING_FIELD(JsonArgument, name, name, name); return node; } static JsonFuncExpr * -_readJsonFuncExpr(OUT_TYPE(JsonFuncExpr, JsonFuncExpr) msg) +_readJsonFuncExpr(const OUT_TYPE(JsonFuncExpr, JsonFuncExpr) msg) { JsonFuncExpr *node = makeNode(JsonFuncExpr); - READ_ENUM_FIELD(JsonExprOp, op, op, op); - READ_STRING_FIELD(column_name, column_name, column_name); - READ_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, context_item, context_item, context_item); - READ_NODE_PTR_FIELD(pathspec, pathspec, pathspec); - READ_LIST_FIELD(passing, passing, passing); - READ_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - READ_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_empty, on_empty, on_empty); - READ_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_error, on_error, on_error); - READ_ENUM_FIELD(JsonWrapper, wrapper, wrapper, wrapper); - READ_ENUM_FIELD(JsonQuotes, quotes, quotes, quotes); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(JsonFuncExpr, JsonExprOp, op, op, op); + READ_STRING_FIELD(JsonFuncExpr, column_name, column_name, column_name); + READ_SPECIFIC_NODE_PTR_FIELD(JsonFuncExpr, JsonValueExpr, json_value_expr, context_item, context_item, context_item); + READ_NODE_PTR_FIELD(JsonFuncExpr, pathspec, pathspec, pathspec); + READ_LIST_FIELD(JsonFuncExpr, passing, passing, passing); + READ_SPECIFIC_NODE_PTR_FIELD(JsonFuncExpr, JsonOutput, json_output, output, output, output); + READ_SPECIFIC_NODE_PTR_FIELD(JsonFuncExpr, JsonBehavior, json_behavior, on_empty, on_empty, on_empty); + READ_SPECIFIC_NODE_PTR_FIELD(JsonFuncExpr, JsonBehavior, json_behavior, on_error, on_error, on_error); + READ_ENUM_FIELD(JsonFuncExpr, JsonWrapper, wrapper, wrapper, wrapper); + READ_ENUM_FIELD(JsonFuncExpr, JsonQuotes, quotes, quotes, quotes); + READ_INT_FIELD(JsonFuncExpr, location, location, location); return node; } static JsonTablePathSpec * -_readJsonTablePathSpec(OUT_TYPE(JsonTablePathSpec, JsonTablePathSpec) msg) +_readJsonTablePathSpec(const OUT_TYPE(JsonTablePathSpec, JsonTablePathSpec) msg) { JsonTablePathSpec *node = makeNode(JsonTablePathSpec); - READ_NODE_PTR_FIELD(string, string, string); - READ_STRING_FIELD(name, name, name); - READ_INT_FIELD(name_location, name_location, name_location); - READ_INT_FIELD(location, location, location); + READ_NODE_PTR_FIELD(JsonTablePathSpec, string, string, string); + READ_STRING_FIELD(JsonTablePathSpec, name, name, name); + READ_INT_FIELD(JsonTablePathSpec, name_location, name_location, name_location); + READ_INT_FIELD(JsonTablePathSpec, location, location, location); return node; } static JsonTable * -_readJsonTable(OUT_TYPE(JsonTable, JsonTable) msg) +_readJsonTable(const OUT_TYPE(JsonTable, JsonTable) msg) { JsonTable *node = makeNode(JsonTable); - READ_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, context_item, context_item, context_item); - READ_SPECIFIC_NODE_PTR_FIELD(JsonTablePathSpec, json_table_path_spec, pathspec, pathspec, pathspec); - READ_LIST_FIELD(passing, passing, passing); - READ_LIST_FIELD(columns, columns, columns); - READ_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_error, on_error, on_error); - READ_SPECIFIC_NODE_PTR_FIELD(Alias, alias, alias, alias, alias); - READ_BOOL_FIELD(lateral, lateral, lateral); - READ_INT_FIELD(location, location, location); + READ_SPECIFIC_NODE_PTR_FIELD(JsonTable, JsonValueExpr, json_value_expr, context_item, context_item, context_item); + READ_SPECIFIC_NODE_PTR_FIELD(JsonTable, JsonTablePathSpec, json_table_path_spec, pathspec, pathspec, pathspec); + READ_LIST_FIELD(JsonTable, passing, passing, passing); + READ_LIST_FIELD(JsonTable, columns, columns, columns); + READ_SPECIFIC_NODE_PTR_FIELD(JsonTable, JsonBehavior, json_behavior, on_error, on_error, on_error); + READ_SPECIFIC_NODE_PTR_FIELD(JsonTable, Alias, alias, alias, alias, alias); + READ_BOOL_FIELD(JsonTable, lateral, lateral, lateral); + READ_INT_FIELD(JsonTable, location, location, location); return node; } static JsonTableColumn * -_readJsonTableColumn(OUT_TYPE(JsonTableColumn, JsonTableColumn) msg) +_readJsonTableColumn(const OUT_TYPE(JsonTableColumn, JsonTableColumn) msg) { JsonTableColumn *node = makeNode(JsonTableColumn); - READ_ENUM_FIELD(JsonTableColumnType, coltype, coltype, coltype); - READ_STRING_FIELD(name, name, name); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - READ_SPECIFIC_NODE_PTR_FIELD(JsonTablePathSpec, json_table_path_spec, pathspec, pathspec, pathspec); - READ_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); - READ_ENUM_FIELD(JsonWrapper, wrapper, wrapper, wrapper); - READ_ENUM_FIELD(JsonQuotes, quotes, quotes, quotes); - READ_LIST_FIELD(columns, columns, columns); - READ_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_empty, on_empty, on_empty); - READ_SPECIFIC_NODE_PTR_FIELD(JsonBehavior, json_behavior, on_error, on_error, on_error); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(JsonTableColumn, JsonTableColumnType, coltype, coltype, coltype); + READ_STRING_FIELD(JsonTableColumn, name, name, name); + READ_SPECIFIC_NODE_PTR_FIELD(JsonTableColumn, TypeName, type_name, type_name, typeName, typeName); + READ_SPECIFIC_NODE_PTR_FIELD(JsonTableColumn, JsonTablePathSpec, json_table_path_spec, pathspec, pathspec, pathspec); + READ_SPECIFIC_NODE_PTR_FIELD(JsonTableColumn, JsonFormat, json_format, format, format, format); + READ_ENUM_FIELD(JsonTableColumn, JsonWrapper, wrapper, wrapper, wrapper); + READ_ENUM_FIELD(JsonTableColumn, JsonQuotes, quotes, quotes, quotes); + READ_LIST_FIELD(JsonTableColumn, columns, columns, columns); + READ_SPECIFIC_NODE_PTR_FIELD(JsonTableColumn, JsonBehavior, json_behavior, on_empty, on_empty, on_empty); + READ_SPECIFIC_NODE_PTR_FIELD(JsonTableColumn, JsonBehavior, json_behavior, on_error, on_error, on_error); + READ_INT_FIELD(JsonTableColumn, location, location, location); return node; } static JsonKeyValue * -_readJsonKeyValue(OUT_TYPE(JsonKeyValue, JsonKeyValue) msg) +_readJsonKeyValue(const OUT_TYPE(JsonKeyValue, JsonKeyValue) msg) { JsonKeyValue *node = makeNode(JsonKeyValue); - READ_ABSTRACT_PTR_FIELD(key, key, key, Expr*); - READ_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, value, value, value); + READ_ABSTRACT_PTR_FIELD(JsonKeyValue, key, key, key, Expr*); + READ_SPECIFIC_NODE_PTR_FIELD(JsonKeyValue, JsonValueExpr, json_value_expr, value, value, value); return node; } static JsonParseExpr * -_readJsonParseExpr(OUT_TYPE(JsonParseExpr, JsonParseExpr) msg) +_readJsonParseExpr(const OUT_TYPE(JsonParseExpr, JsonParseExpr) msg) { JsonParseExpr *node = makeNode(JsonParseExpr); - READ_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, expr, expr, expr); - READ_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - READ_BOOL_FIELD(unique_keys, unique_keys, unique_keys); - READ_INT_FIELD(location, location, location); + READ_SPECIFIC_NODE_PTR_FIELD(JsonParseExpr, JsonValueExpr, json_value_expr, expr, expr, expr); + READ_SPECIFIC_NODE_PTR_FIELD(JsonParseExpr, JsonOutput, json_output, output, output, output); + READ_BOOL_FIELD(JsonParseExpr, unique_keys, unique_keys, unique_keys); + READ_INT_FIELD(JsonParseExpr, location, location, location); return node; } static JsonScalarExpr * -_readJsonScalarExpr(OUT_TYPE(JsonScalarExpr, JsonScalarExpr) msg) +_readJsonScalarExpr(const OUT_TYPE(JsonScalarExpr, JsonScalarExpr) msg) { JsonScalarExpr *node = makeNode(JsonScalarExpr); - READ_ABSTRACT_PTR_FIELD(expr, expr, expr, Expr*); - READ_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - READ_INT_FIELD(location, location, location); + READ_ABSTRACT_PTR_FIELD(JsonScalarExpr, expr, expr, expr, Expr*); + READ_SPECIFIC_NODE_PTR_FIELD(JsonScalarExpr, JsonOutput, json_output, output, output, output); + READ_INT_FIELD(JsonScalarExpr, location, location, location); return node; } static JsonSerializeExpr * -_readJsonSerializeExpr(OUT_TYPE(JsonSerializeExpr, JsonSerializeExpr) msg) +_readJsonSerializeExpr(const OUT_TYPE(JsonSerializeExpr, JsonSerializeExpr) msg) { JsonSerializeExpr *node = makeNode(JsonSerializeExpr); - READ_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, expr, expr, expr); - READ_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - READ_INT_FIELD(location, location, location); + READ_SPECIFIC_NODE_PTR_FIELD(JsonSerializeExpr, JsonValueExpr, json_value_expr, expr, expr, expr); + READ_SPECIFIC_NODE_PTR_FIELD(JsonSerializeExpr, JsonOutput, json_output, output, output, output); + READ_INT_FIELD(JsonSerializeExpr, location, location, location); return node; } static JsonObjectConstructor * -_readJsonObjectConstructor(OUT_TYPE(JsonObjectConstructor, JsonObjectConstructor) msg) +_readJsonObjectConstructor(const OUT_TYPE(JsonObjectConstructor, JsonObjectConstructor) msg) { JsonObjectConstructor *node = makeNode(JsonObjectConstructor); - READ_LIST_FIELD(exprs, exprs, exprs); - READ_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - READ_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); - READ_BOOL_FIELD(unique, unique, unique); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(JsonObjectConstructor, exprs, exprs, exprs); + READ_SPECIFIC_NODE_PTR_FIELD(JsonObjectConstructor, JsonOutput, json_output, output, output, output); + READ_BOOL_FIELD(JsonObjectConstructor, absent_on_null, absent_on_null, absent_on_null); + READ_BOOL_FIELD(JsonObjectConstructor, unique, unique, unique); + READ_INT_FIELD(JsonObjectConstructor, location, location, location); return node; } static JsonArrayConstructor * -_readJsonArrayConstructor(OUT_TYPE(JsonArrayConstructor, JsonArrayConstructor) msg) +_readJsonArrayConstructor(const OUT_TYPE(JsonArrayConstructor, JsonArrayConstructor) msg) { JsonArrayConstructor *node = makeNode(JsonArrayConstructor); - READ_LIST_FIELD(exprs, exprs, exprs); - READ_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - READ_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); - READ_INT_FIELD(location, location, location); + READ_LIST_FIELD(JsonArrayConstructor, exprs, exprs, exprs); + READ_SPECIFIC_NODE_PTR_FIELD(JsonArrayConstructor, JsonOutput, json_output, output, output, output); + READ_BOOL_FIELD(JsonArrayConstructor, absent_on_null, absent_on_null, absent_on_null); + READ_INT_FIELD(JsonArrayConstructor, location, location, location); return node; } static JsonArrayQueryConstructor * -_readJsonArrayQueryConstructor(OUT_TYPE(JsonArrayQueryConstructor, JsonArrayQueryConstructor) msg) +_readJsonArrayQueryConstructor(const OUT_TYPE(JsonArrayQueryConstructor, JsonArrayQueryConstructor) msg) { JsonArrayQueryConstructor *node = makeNode(JsonArrayQueryConstructor); - READ_NODE_PTR_FIELD(query, query, query); - READ_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - READ_SPECIFIC_NODE_PTR_FIELD(JsonFormat, json_format, format, format, format); - READ_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); - READ_INT_FIELD(location, location, location); + READ_NODE_PTR_FIELD(JsonArrayQueryConstructor, query, query, query); + READ_SPECIFIC_NODE_PTR_FIELD(JsonArrayQueryConstructor, JsonOutput, json_output, output, output, output); + READ_SPECIFIC_NODE_PTR_FIELD(JsonArrayQueryConstructor, JsonFormat, json_format, format, format, format); + READ_BOOL_FIELD(JsonArrayQueryConstructor, absent_on_null, absent_on_null, absent_on_null); + READ_INT_FIELD(JsonArrayQueryConstructor, location, location, location); return node; } static JsonAggConstructor * -_readJsonAggConstructor(OUT_TYPE(JsonAggConstructor, JsonAggConstructor) msg) +_readJsonAggConstructor(const OUT_TYPE(JsonAggConstructor, JsonAggConstructor) msg) { JsonAggConstructor *node = makeNode(JsonAggConstructor); - READ_SPECIFIC_NODE_PTR_FIELD(JsonOutput, json_output, output, output, output); - READ_NODE_PTR_FIELD(agg_filter, agg_filter, agg_filter); - READ_LIST_FIELD(agg_order, agg_order, agg_order); - READ_SPECIFIC_NODE_PTR_FIELD(WindowDef, window_def, over, over, over); - READ_INT_FIELD(location, location, location); + READ_SPECIFIC_NODE_PTR_FIELD(JsonAggConstructor, JsonOutput, json_output, output, output, output); + READ_NODE_PTR_FIELD(JsonAggConstructor, agg_filter, agg_filter, agg_filter); + READ_LIST_FIELD(JsonAggConstructor, agg_order, agg_order, agg_order); + READ_SPECIFIC_NODE_PTR_FIELD(JsonAggConstructor, WindowDef, window_def, over, over, over); + READ_INT_FIELD(JsonAggConstructor, location, location, location); return node; } static JsonObjectAgg * -_readJsonObjectAgg(OUT_TYPE(JsonObjectAgg, JsonObjectAgg) msg) +_readJsonObjectAgg(const OUT_TYPE(JsonObjectAgg, JsonObjectAgg) msg) { JsonObjectAgg *node = makeNode(JsonObjectAgg); - READ_SPECIFIC_NODE_PTR_FIELD(JsonAggConstructor, json_agg_constructor, constructor, constructor, constructor); - READ_SPECIFIC_NODE_PTR_FIELD(JsonKeyValue, json_key_value, arg, arg, arg); - READ_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); - READ_BOOL_FIELD(unique, unique, unique); + READ_SPECIFIC_NODE_PTR_FIELD(JsonObjectAgg, JsonAggConstructor, json_agg_constructor, constructor, constructor, constructor); + READ_SPECIFIC_NODE_PTR_FIELD(JsonObjectAgg, JsonKeyValue, json_key_value, arg, arg, arg); + READ_BOOL_FIELD(JsonObjectAgg, absent_on_null, absent_on_null, absent_on_null); + READ_BOOL_FIELD(JsonObjectAgg, unique, unique, unique); return node; } static JsonArrayAgg * -_readJsonArrayAgg(OUT_TYPE(JsonArrayAgg, JsonArrayAgg) msg) +_readJsonArrayAgg(const OUT_TYPE(JsonArrayAgg, JsonArrayAgg) msg) { JsonArrayAgg *node = makeNode(JsonArrayAgg); - READ_SPECIFIC_NODE_PTR_FIELD(JsonAggConstructor, json_agg_constructor, constructor, constructor, constructor); - READ_SPECIFIC_NODE_PTR_FIELD(JsonValueExpr, json_value_expr, arg, arg, arg); - READ_BOOL_FIELD(absent_on_null, absent_on_null, absent_on_null); + READ_SPECIFIC_NODE_PTR_FIELD(JsonArrayAgg, JsonAggConstructor, json_agg_constructor, constructor, constructor, constructor); + READ_SPECIFIC_NODE_PTR_FIELD(JsonArrayAgg, JsonValueExpr, json_value_expr, arg, arg, arg); + READ_BOOL_FIELD(JsonArrayAgg, absent_on_null, absent_on_null, absent_on_null); return node; } static RawStmt * -_readRawStmt(OUT_TYPE(RawStmt, RawStmt) msg) +_readRawStmt(const OUT_TYPE(RawStmt, RawStmt) msg) { RawStmt *node = makeNode(RawStmt); - READ_NODE_PTR_FIELD(stmt, stmt, stmt); - READ_INT_FIELD(stmt_location, stmt_location, stmt_location); - READ_INT_FIELD(stmt_len, stmt_len, stmt_len); + READ_NODE_PTR_FIELD(RawStmt, stmt, stmt, stmt); + READ_INT_FIELD(RawStmt, stmt_location, stmt_location, stmt_location); + READ_INT_FIELD(RawStmt, stmt_len, stmt_len, stmt_len); return node; } static InsertStmt * -_readInsertStmt(OUT_TYPE(InsertStmt, InsertStmt) msg) +_readInsertStmt(const OUT_TYPE(InsertStmt, InsertStmt) msg) { InsertStmt *node = makeNode(InsertStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_LIST_FIELD(cols, cols, cols); - READ_NODE_PTR_FIELD(select_stmt, selectStmt, selectStmt); - READ_SPECIFIC_NODE_PTR_FIELD(OnConflictClause, on_conflict_clause, on_conflict_clause, onConflictClause, onConflictClause); - READ_SPECIFIC_NODE_PTR_FIELD(ReturningClause, returning_clause, returning_clause, returningClause, returningClause); - READ_SPECIFIC_NODE_PTR_FIELD(WithClause, with_clause, with_clause, withClause, withClause); - READ_ENUM_FIELD(OverridingKind, override, override, override); + READ_SPECIFIC_NODE_PTR_FIELD(InsertStmt, RangeVar, range_var, relation, relation, relation); + READ_LIST_FIELD(InsertStmt, cols, cols, cols); + READ_NODE_PTR_FIELD(InsertStmt, select_stmt, selectStmt, selectStmt); + READ_SPECIFIC_NODE_PTR_FIELD(InsertStmt, OnConflictClause, on_conflict_clause, on_conflict_clause, onConflictClause, onConflictClause); + READ_SPECIFIC_NODE_PTR_FIELD(InsertStmt, ReturningClause, returning_clause, returning_clause, returningClause, returningClause); + READ_SPECIFIC_NODE_PTR_FIELD(InsertStmt, WithClause, with_clause, with_clause, withClause, withClause); + READ_ENUM_FIELD(InsertStmt, OverridingKind, override, override, override); return node; } static DeleteStmt * -_readDeleteStmt(OUT_TYPE(DeleteStmt, DeleteStmt) msg) +_readDeleteStmt(const OUT_TYPE(DeleteStmt, DeleteStmt) msg) { DeleteStmt *node = makeNode(DeleteStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_LIST_FIELD(using_clause, usingClause, usingClause); - READ_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - READ_SPECIFIC_NODE_PTR_FIELD(ReturningClause, returning_clause, returning_clause, returningClause, returningClause); - READ_SPECIFIC_NODE_PTR_FIELD(WithClause, with_clause, with_clause, withClause, withClause); + READ_SPECIFIC_NODE_PTR_FIELD(DeleteStmt, RangeVar, range_var, relation, relation, relation); + READ_LIST_FIELD(DeleteStmt, using_clause, usingClause, usingClause); + READ_NODE_PTR_FIELD(DeleteStmt, where_clause, whereClause, whereClause); + READ_SPECIFIC_NODE_PTR_FIELD(DeleteStmt, ReturningClause, returning_clause, returning_clause, returningClause, returningClause); + READ_SPECIFIC_NODE_PTR_FIELD(DeleteStmt, WithClause, with_clause, with_clause, withClause, withClause); return node; } static UpdateStmt * -_readUpdateStmt(OUT_TYPE(UpdateStmt, UpdateStmt) msg) +_readUpdateStmt(const OUT_TYPE(UpdateStmt, UpdateStmt) msg) { UpdateStmt *node = makeNode(UpdateStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_LIST_FIELD(target_list, targetList, targetList); - READ_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - READ_LIST_FIELD(from_clause, fromClause, fromClause); - READ_SPECIFIC_NODE_PTR_FIELD(ReturningClause, returning_clause, returning_clause, returningClause, returningClause); - READ_SPECIFIC_NODE_PTR_FIELD(WithClause, with_clause, with_clause, withClause, withClause); + READ_SPECIFIC_NODE_PTR_FIELD(UpdateStmt, RangeVar, range_var, relation, relation, relation); + READ_LIST_FIELD(UpdateStmt, target_list, targetList, targetList); + READ_NODE_PTR_FIELD(UpdateStmt, where_clause, whereClause, whereClause); + READ_LIST_FIELD(UpdateStmt, from_clause, fromClause, fromClause); + READ_SPECIFIC_NODE_PTR_FIELD(UpdateStmt, ReturningClause, returning_clause, returning_clause, returningClause, returningClause); + READ_SPECIFIC_NODE_PTR_FIELD(UpdateStmt, WithClause, with_clause, with_clause, withClause, withClause); return node; } static MergeStmt * -_readMergeStmt(OUT_TYPE(MergeStmt, MergeStmt) msg) +_readMergeStmt(const OUT_TYPE(MergeStmt, MergeStmt) msg) { MergeStmt *node = makeNode(MergeStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_NODE_PTR_FIELD(source_relation, sourceRelation, sourceRelation); - READ_NODE_PTR_FIELD(join_condition, joinCondition, joinCondition); - READ_LIST_FIELD(merge_when_clauses, mergeWhenClauses, mergeWhenClauses); - READ_SPECIFIC_NODE_PTR_FIELD(ReturningClause, returning_clause, returning_clause, returningClause, returningClause); - READ_SPECIFIC_NODE_PTR_FIELD(WithClause, with_clause, with_clause, withClause, withClause); + READ_SPECIFIC_NODE_PTR_FIELD(MergeStmt, RangeVar, range_var, relation, relation, relation); + READ_NODE_PTR_FIELD(MergeStmt, source_relation, sourceRelation, sourceRelation); + READ_NODE_PTR_FIELD(MergeStmt, join_condition, joinCondition, joinCondition); + READ_LIST_FIELD(MergeStmt, merge_when_clauses, mergeWhenClauses, mergeWhenClauses); + READ_SPECIFIC_NODE_PTR_FIELD(MergeStmt, ReturningClause, returning_clause, returning_clause, returningClause, returningClause); + READ_SPECIFIC_NODE_PTR_FIELD(MergeStmt, WithClause, with_clause, with_clause, withClause, withClause); return node; } static SelectStmt * -_readSelectStmt(OUT_TYPE(SelectStmt, SelectStmt) msg) +_readSelectStmt(const OUT_TYPE(SelectStmt, SelectStmt) msg) { SelectStmt *node = makeNode(SelectStmt); - READ_LIST_FIELD(distinct_clause, distinctClause, distinctClause); - READ_SPECIFIC_NODE_PTR_FIELD(IntoClause, into_clause, into_clause, intoClause, intoClause); - READ_LIST_FIELD(target_list, targetList, targetList); - READ_LIST_FIELD(from_clause, fromClause, fromClause); - READ_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - READ_LIST_FIELD(group_clause, groupClause, groupClause); - READ_BOOL_FIELD(group_distinct, groupDistinct, groupDistinct); - READ_NODE_PTR_FIELD(having_clause, havingClause, havingClause); - READ_LIST_FIELD(window_clause, windowClause, windowClause); - READ_LIST_FIELD(values_lists, valuesLists, valuesLists); - READ_LIST_FIELD(sort_clause, sortClause, sortClause); - READ_NODE_PTR_FIELD(limit_offset, limitOffset, limitOffset); - READ_NODE_PTR_FIELD(limit_count, limitCount, limitCount); - READ_ENUM_FIELD(LimitOption, limit_option, limitOption, limitOption); - READ_LIST_FIELD(locking_clause, lockingClause, lockingClause); - READ_SPECIFIC_NODE_PTR_FIELD(WithClause, with_clause, with_clause, withClause, withClause); - READ_ENUM_FIELD(SetOperation, op, op, op); - READ_BOOL_FIELD(all, all, all); - READ_SPECIFIC_NODE_PTR_FIELD(SelectStmt, select_stmt, larg, larg, larg); - READ_SPECIFIC_NODE_PTR_FIELD(SelectStmt, select_stmt, rarg, rarg, rarg); + READ_LIST_FIELD(SelectStmt, distinct_clause, distinctClause, distinctClause); + READ_SPECIFIC_NODE_PTR_FIELD(SelectStmt, IntoClause, into_clause, into_clause, intoClause, intoClause); + READ_LIST_FIELD(SelectStmt, target_list, targetList, targetList); + READ_LIST_FIELD(SelectStmt, from_clause, fromClause, fromClause); + READ_NODE_PTR_FIELD(SelectStmt, where_clause, whereClause, whereClause); + READ_LIST_FIELD(SelectStmt, group_clause, groupClause, groupClause); + READ_BOOL_FIELD(SelectStmt, group_distinct, groupDistinct, groupDistinct); + READ_NODE_PTR_FIELD(SelectStmt, having_clause, havingClause, havingClause); + READ_LIST_FIELD(SelectStmt, window_clause, windowClause, windowClause); + READ_LIST_FIELD(SelectStmt, values_lists, valuesLists, valuesLists); + READ_LIST_FIELD(SelectStmt, sort_clause, sortClause, sortClause); + READ_NODE_PTR_FIELD(SelectStmt, limit_offset, limitOffset, limitOffset); + READ_NODE_PTR_FIELD(SelectStmt, limit_count, limitCount, limitCount); + READ_ENUM_FIELD(SelectStmt, LimitOption, limit_option, limitOption, limitOption); + READ_LIST_FIELD(SelectStmt, locking_clause, lockingClause, lockingClause); + READ_SPECIFIC_NODE_PTR_FIELD(SelectStmt, WithClause, with_clause, with_clause, withClause, withClause); + READ_ENUM_FIELD(SelectStmt, SetOperation, op, op, op); + READ_BOOL_FIELD(SelectStmt, all, all, all); + READ_SPECIFIC_NODE_PTR_FIELD(SelectStmt, SelectStmt, select_stmt, larg, larg, larg); + READ_SPECIFIC_NODE_PTR_FIELD(SelectStmt, SelectStmt, select_stmt, rarg, rarg, rarg); return node; } static SetOperationStmt * -_readSetOperationStmt(OUT_TYPE(SetOperationStmt, SetOperationStmt) msg) +_readSetOperationStmt(const OUT_TYPE(SetOperationStmt, SetOperationStmt) msg) { SetOperationStmt *node = makeNode(SetOperationStmt); - READ_ENUM_FIELD(SetOperation, op, op, op); - READ_BOOL_FIELD(all, all, all); - READ_NODE_PTR_FIELD(larg, larg, larg); - READ_NODE_PTR_FIELD(rarg, rarg, rarg); - READ_LIST_FIELD(col_types, colTypes, colTypes); - READ_LIST_FIELD(col_typmods, colTypmods, colTypmods); - READ_LIST_FIELD(col_collations, colCollations, colCollations); - READ_LIST_FIELD(group_clauses, groupClauses, groupClauses); + READ_ENUM_FIELD(SetOperationStmt, SetOperation, op, op, op); + READ_BOOL_FIELD(SetOperationStmt, all, all, all); + READ_NODE_PTR_FIELD(SetOperationStmt, larg, larg, larg); + READ_NODE_PTR_FIELD(SetOperationStmt, rarg, rarg, rarg); + READ_LIST_FIELD(SetOperationStmt, col_types, colTypes, colTypes); + READ_LIST_FIELD(SetOperationStmt, col_typmods, colTypmods, colTypmods); + READ_LIST_FIELD(SetOperationStmt, col_collations, colCollations, colCollations); + READ_LIST_FIELD(SetOperationStmt, group_clauses, groupClauses, groupClauses); return node; } static ReturnStmt * -_readReturnStmt(OUT_TYPE(ReturnStmt, ReturnStmt) msg) +_readReturnStmt(const OUT_TYPE(ReturnStmt, ReturnStmt) msg) { ReturnStmt *node = makeNode(ReturnStmt); - READ_NODE_PTR_FIELD(returnval, returnval, returnval); + READ_NODE_PTR_FIELD(ReturnStmt, returnval, returnval, returnval); return node; } static PLAssignStmt * -_readPLAssignStmt(OUT_TYPE(PLAssignStmt, PLAssignStmt) msg) +_readPLAssignStmt(const OUT_TYPE(PLAssignStmt, PLAssignStmt) msg) { PLAssignStmt *node = makeNode(PLAssignStmt); - READ_STRING_FIELD(name, name, name); - READ_LIST_FIELD(indirection, indirection, indirection); - READ_INT_FIELD(nnames, nnames, nnames); - READ_SPECIFIC_NODE_PTR_FIELD(SelectStmt, select_stmt, val, val, val); - READ_INT_FIELD(location, location, location); + READ_STRING_FIELD(PLAssignStmt, name, name, name); + READ_LIST_FIELD(PLAssignStmt, indirection, indirection, indirection); + READ_INT_FIELD(PLAssignStmt, nnames, nnames, nnames); + READ_SPECIFIC_NODE_PTR_FIELD(PLAssignStmt, SelectStmt, select_stmt, val, val, val); + READ_INT_FIELD(PLAssignStmt, location, location, location); return node; } static CreateSchemaStmt * -_readCreateSchemaStmt(OUT_TYPE(CreateSchemaStmt, CreateSchemaStmt) msg) +_readCreateSchemaStmt(const OUT_TYPE(CreateSchemaStmt, CreateSchemaStmt) msg) { CreateSchemaStmt *node = makeNode(CreateSchemaStmt); - READ_STRING_FIELD(schemaname, schemaname, schemaname); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, authrole, authrole, authrole); - READ_LIST_FIELD(schema_elts, schemaElts, schemaElts); - READ_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); + READ_STRING_FIELD(CreateSchemaStmt, schemaname, schemaname, schemaname); + READ_SPECIFIC_NODE_PTR_FIELD(CreateSchemaStmt, RoleSpec, role_spec, authrole, authrole, authrole); + READ_LIST_FIELD(CreateSchemaStmt, schema_elts, schemaElts, schemaElts); + READ_BOOL_FIELD(CreateSchemaStmt, if_not_exists, if_not_exists, if_not_exists); return node; } static AlterTableStmt * -_readAlterTableStmt(OUT_TYPE(AlterTableStmt, AlterTableStmt) msg) +_readAlterTableStmt(const OUT_TYPE(AlterTableStmt, AlterTableStmt) msg) { AlterTableStmt *node = makeNode(AlterTableStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_LIST_FIELD(cmds, cmds, cmds); - READ_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + READ_SPECIFIC_NODE_PTR_FIELD(AlterTableStmt, RangeVar, range_var, relation, relation, relation); + READ_LIST_FIELD(AlterTableStmt, cmds, cmds, cmds); + READ_ENUM_FIELD(AlterTableStmt, ObjectType, objtype, objtype, objtype); + READ_BOOL_FIELD(AlterTableStmt, missing_ok, missing_ok, missing_ok); return node; } static AlterTableCmd * -_readAlterTableCmd(OUT_TYPE(AlterTableCmd, AlterTableCmd) msg) +_readAlterTableCmd(const OUT_TYPE(AlterTableCmd, AlterTableCmd) msg) { AlterTableCmd *node = makeNode(AlterTableCmd); - READ_ENUM_FIELD(AlterTableType, subtype, subtype, subtype); - READ_STRING_FIELD(name, name, name); - READ_INT_FIELD(num, num, num); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, newowner, newowner, newowner); - READ_NODE_PTR_FIELD(def, def, def); - READ_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); - READ_BOOL_FIELD(recurse, recurse, recurse); + READ_ENUM_FIELD(AlterTableCmd, AlterTableType, subtype, subtype, subtype); + READ_STRING_FIELD(AlterTableCmd, name, name, name); + READ_INT_FIELD(AlterTableCmd, num, num, num); + READ_SPECIFIC_NODE_PTR_FIELD(AlterTableCmd, RoleSpec, role_spec, newowner, newowner, newowner); + READ_NODE_PTR_FIELD(AlterTableCmd, def, def, def); + READ_ENUM_FIELD(AlterTableCmd, DropBehavior, behavior, behavior, behavior); + READ_BOOL_FIELD(AlterTableCmd, missing_ok, missing_ok, missing_ok); + READ_BOOL_FIELD(AlterTableCmd, recurse, recurse, recurse); return node; } static ATAlterConstraint * -_readATAlterConstraint(OUT_TYPE(ATAlterConstraint, ATAlterConstraint) msg) +_readATAlterConstraint(const OUT_TYPE(ATAlterConstraint, ATAlterConstraint) msg) { ATAlterConstraint *node = makeNode(ATAlterConstraint); - READ_STRING_FIELD(conname, conname, conname); - READ_BOOL_FIELD(alter_enforceability, alterEnforceability, alterEnforceability); - READ_BOOL_FIELD(is_enforced, is_enforced, is_enforced); - READ_BOOL_FIELD(alter_deferrability, alterDeferrability, alterDeferrability); - READ_BOOL_FIELD(deferrable, deferrable, deferrable); - READ_BOOL_FIELD(initdeferred, initdeferred, initdeferred); - READ_BOOL_FIELD(alter_inheritability, alterInheritability, alterInheritability); - READ_BOOL_FIELD(noinherit, noinherit, noinherit); + READ_STRING_FIELD(ATAlterConstraint, conname, conname, conname); + READ_BOOL_FIELD(ATAlterConstraint, alter_enforceability, alterEnforceability, alterEnforceability); + READ_BOOL_FIELD(ATAlterConstraint, is_enforced, is_enforced, is_enforced); + READ_BOOL_FIELD(ATAlterConstraint, alter_deferrability, alterDeferrability, alterDeferrability); + READ_BOOL_FIELD(ATAlterConstraint, deferrable, deferrable, deferrable); + READ_BOOL_FIELD(ATAlterConstraint, initdeferred, initdeferred, initdeferred); + READ_BOOL_FIELD(ATAlterConstraint, alter_inheritability, alterInheritability, alterInheritability); + READ_BOOL_FIELD(ATAlterConstraint, noinherit, noinherit, noinherit); return node; } static ReplicaIdentityStmt * -_readReplicaIdentityStmt(OUT_TYPE(ReplicaIdentityStmt, ReplicaIdentityStmt) msg) +_readReplicaIdentityStmt(const OUT_TYPE(ReplicaIdentityStmt, ReplicaIdentityStmt) msg) { ReplicaIdentityStmt *node = makeNode(ReplicaIdentityStmt); - READ_CHAR_FIELD(identity_type, identity_type, identity_type); - READ_STRING_FIELD(name, name, name); + READ_CHAR_FIELD(ReplicaIdentityStmt, identity_type, identity_type, identity_type); + READ_STRING_FIELD(ReplicaIdentityStmt, name, name, name); return node; } static AlterCollationStmt * -_readAlterCollationStmt(OUT_TYPE(AlterCollationStmt, AlterCollationStmt) msg) +_readAlterCollationStmt(const OUT_TYPE(AlterCollationStmt, AlterCollationStmt) msg) { AlterCollationStmt *node = makeNode(AlterCollationStmt); - READ_LIST_FIELD(collname, collname, collname); + READ_LIST_FIELD(AlterCollationStmt, collname, collname, collname); return node; } static AlterDomainStmt * -_readAlterDomainStmt(OUT_TYPE(AlterDomainStmt, AlterDomainStmt) msg) +_readAlterDomainStmt(const OUT_TYPE(AlterDomainStmt, AlterDomainStmt) msg) { AlterDomainStmt *node = makeNode(AlterDomainStmt); - READ_CHAR_FIELD(subtype, subtype, subtype); - READ_LIST_FIELD(type_name, typeName, typeName); - READ_STRING_FIELD(name, name, name); - READ_NODE_PTR_FIELD(def, def, def); - READ_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + READ_CHAR_FIELD(AlterDomainStmt, subtype, subtype, subtype); + READ_LIST_FIELD(AlterDomainStmt, type_name, typeName, typeName); + READ_STRING_FIELD(AlterDomainStmt, name, name, name); + READ_NODE_PTR_FIELD(AlterDomainStmt, def, def, def); + READ_ENUM_FIELD(AlterDomainStmt, DropBehavior, behavior, behavior, behavior); + READ_BOOL_FIELD(AlterDomainStmt, missing_ok, missing_ok, missing_ok); return node; } static GrantStmt * -_readGrantStmt(OUT_TYPE(GrantStmt, GrantStmt) msg) +_readGrantStmt(const OUT_TYPE(GrantStmt, GrantStmt) msg) { GrantStmt *node = makeNode(GrantStmt); - READ_BOOL_FIELD(is_grant, is_grant, is_grant); - READ_ENUM_FIELD(GrantTargetType, targtype, targtype, targtype); - READ_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - READ_LIST_FIELD(objects, objects, objects); - READ_LIST_FIELD(privileges, privileges, privileges); - READ_LIST_FIELD(grantees, grantees, grantees); - READ_BOOL_FIELD(grant_option, grant_option, grant_option); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, grantor, grantor, grantor); - READ_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); + READ_BOOL_FIELD(GrantStmt, is_grant, is_grant, is_grant); + READ_ENUM_FIELD(GrantStmt, GrantTargetType, targtype, targtype, targtype); + READ_ENUM_FIELD(GrantStmt, ObjectType, objtype, objtype, objtype); + READ_LIST_FIELD(GrantStmt, objects, objects, objects); + READ_LIST_FIELD(GrantStmt, privileges, privileges, privileges); + READ_LIST_FIELD(GrantStmt, grantees, grantees, grantees); + READ_BOOL_FIELD(GrantStmt, grant_option, grant_option, grant_option); + READ_SPECIFIC_NODE_PTR_FIELD(GrantStmt, RoleSpec, role_spec, grantor, grantor, grantor); + READ_ENUM_FIELD(GrantStmt, DropBehavior, behavior, behavior, behavior); return node; } static ObjectWithArgs * -_readObjectWithArgs(OUT_TYPE(ObjectWithArgs, ObjectWithArgs) msg) +_readObjectWithArgs(const OUT_TYPE(ObjectWithArgs, ObjectWithArgs) msg) { ObjectWithArgs *node = makeNode(ObjectWithArgs); - READ_LIST_FIELD(objname, objname, objname); - READ_LIST_FIELD(objargs, objargs, objargs); - READ_LIST_FIELD(objfuncargs, objfuncargs, objfuncargs); - READ_BOOL_FIELD(args_unspecified, args_unspecified, args_unspecified); + READ_LIST_FIELD(ObjectWithArgs, objname, objname, objname); + READ_LIST_FIELD(ObjectWithArgs, objargs, objargs, objargs); + READ_LIST_FIELD(ObjectWithArgs, objfuncargs, objfuncargs, objfuncargs); + READ_BOOL_FIELD(ObjectWithArgs, args_unspecified, args_unspecified, args_unspecified); return node; } static AccessPriv * -_readAccessPriv(OUT_TYPE(AccessPriv, AccessPriv) msg) +_readAccessPriv(const OUT_TYPE(AccessPriv, AccessPriv) msg) { AccessPriv *node = makeNode(AccessPriv); - READ_STRING_FIELD(priv_name, priv_name, priv_name); - READ_LIST_FIELD(cols, cols, cols); + READ_STRING_FIELD(AccessPriv, priv_name, priv_name, priv_name); + READ_LIST_FIELD(AccessPriv, cols, cols, cols); return node; } static GrantRoleStmt * -_readGrantRoleStmt(OUT_TYPE(GrantRoleStmt, GrantRoleStmt) msg) +_readGrantRoleStmt(const OUT_TYPE(GrantRoleStmt, GrantRoleStmt) msg) { GrantRoleStmt *node = makeNode(GrantRoleStmt); - READ_LIST_FIELD(granted_roles, granted_roles, granted_roles); - READ_LIST_FIELD(grantee_roles, grantee_roles, grantee_roles); - READ_BOOL_FIELD(is_grant, is_grant, is_grant); - READ_LIST_FIELD(opt, opt, opt); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, grantor, grantor, grantor); - READ_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); + READ_LIST_FIELD(GrantRoleStmt, granted_roles, granted_roles, granted_roles); + READ_LIST_FIELD(GrantRoleStmt, grantee_roles, grantee_roles, grantee_roles); + READ_BOOL_FIELD(GrantRoleStmt, is_grant, is_grant, is_grant); + READ_LIST_FIELD(GrantRoleStmt, opt, opt, opt); + READ_SPECIFIC_NODE_PTR_FIELD(GrantRoleStmt, RoleSpec, role_spec, grantor, grantor, grantor); + READ_ENUM_FIELD(GrantRoleStmt, DropBehavior, behavior, behavior, behavior); return node; } static AlterDefaultPrivilegesStmt * -_readAlterDefaultPrivilegesStmt(OUT_TYPE(AlterDefaultPrivilegesStmt, AlterDefaultPrivilegesStmt) msg) +_readAlterDefaultPrivilegesStmt(const OUT_TYPE(AlterDefaultPrivilegesStmt, AlterDefaultPrivilegesStmt) msg) { AlterDefaultPrivilegesStmt *node = makeNode(AlterDefaultPrivilegesStmt); - READ_LIST_FIELD(options, options, options); - READ_SPECIFIC_NODE_PTR_FIELD(GrantStmt, grant_stmt, action, action, action); + READ_LIST_FIELD(AlterDefaultPrivilegesStmt, options, options, options); + READ_SPECIFIC_NODE_PTR_FIELD(AlterDefaultPrivilegesStmt, GrantStmt, grant_stmt, action, action, action); return node; } static CopyStmt * -_readCopyStmt(OUT_TYPE(CopyStmt, CopyStmt) msg) +_readCopyStmt(const OUT_TYPE(CopyStmt, CopyStmt) msg) { CopyStmt *node = makeNode(CopyStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_NODE_PTR_FIELD(query, query, query); - READ_LIST_FIELD(attlist, attlist, attlist); - READ_BOOL_FIELD(is_from, is_from, is_from); - READ_BOOL_FIELD(is_program, is_program, is_program); - READ_STRING_FIELD(filename, filename, filename); - READ_LIST_FIELD(options, options, options); - READ_NODE_PTR_FIELD(where_clause, whereClause, whereClause); + READ_SPECIFIC_NODE_PTR_FIELD(CopyStmt, RangeVar, range_var, relation, relation, relation); + READ_NODE_PTR_FIELD(CopyStmt, query, query, query); + READ_LIST_FIELD(CopyStmt, attlist, attlist, attlist); + READ_BOOL_FIELD(CopyStmt, is_from, is_from, is_from); + READ_BOOL_FIELD(CopyStmt, is_program, is_program, is_program); + READ_STRING_FIELD(CopyStmt, filename, filename, filename); + READ_LIST_FIELD(CopyStmt, options, options, options); + READ_NODE_PTR_FIELD(CopyStmt, where_clause, whereClause, whereClause); return node; } static VariableSetStmt * -_readVariableSetStmt(OUT_TYPE(VariableSetStmt, VariableSetStmt) msg) +_readVariableSetStmt(const OUT_TYPE(VariableSetStmt, VariableSetStmt) msg) { VariableSetStmt *node = makeNode(VariableSetStmt); - READ_ENUM_FIELD(VariableSetKind, kind, kind, kind); - READ_STRING_FIELD(name, name, name); - READ_LIST_FIELD(args, args, args); - READ_BOOL_FIELD(jumble_args, jumble_args, jumble_args); - READ_BOOL_FIELD(is_local, is_local, is_local); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(VariableSetStmt, VariableSetKind, kind, kind, kind); + READ_STRING_FIELD(VariableSetStmt, name, name, name); + READ_LIST_FIELD(VariableSetStmt, args, args, args); + READ_BOOL_FIELD(VariableSetStmt, jumble_args, jumble_args, jumble_args); + READ_BOOL_FIELD(VariableSetStmt, is_local, is_local, is_local); + READ_INT_FIELD(VariableSetStmt, location, location, location); return node; } static VariableShowStmt * -_readVariableShowStmt(OUT_TYPE(VariableShowStmt, VariableShowStmt) msg) +_readVariableShowStmt(const OUT_TYPE(VariableShowStmt, VariableShowStmt) msg) { VariableShowStmt *node = makeNode(VariableShowStmt); - READ_STRING_FIELD(name, name, name); + READ_STRING_FIELD(VariableShowStmt, name, name, name); return node; } static CreateStmt * -_readCreateStmt(OUT_TYPE(CreateStmt, CreateStmt) msg) +_readCreateStmt(const OUT_TYPE(CreateStmt, CreateStmt) msg) { CreateStmt *node = makeNode(CreateStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_LIST_FIELD(table_elts, tableElts, tableElts); - READ_LIST_FIELD(inh_relations, inhRelations, inhRelations); - READ_SPECIFIC_NODE_PTR_FIELD(PartitionBoundSpec, partition_bound_spec, partbound, partbound, partbound); - READ_SPECIFIC_NODE_PTR_FIELD(PartitionSpec, partition_spec, partspec, partspec, partspec); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, of_typename, ofTypename, ofTypename); - READ_LIST_FIELD(constraints, constraints, constraints); - READ_LIST_FIELD(nnconstraints, nnconstraints, nnconstraints); - READ_LIST_FIELD(options, options, options); - READ_ENUM_FIELD(OnCommitAction, oncommit, oncommit, oncommit); - READ_STRING_FIELD(tablespacename, tablespacename, tablespacename); - READ_STRING_FIELD(access_method, accessMethod, accessMethod); - READ_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); + READ_SPECIFIC_NODE_PTR_FIELD(CreateStmt, RangeVar, range_var, relation, relation, relation); + READ_LIST_FIELD(CreateStmt, table_elts, tableElts, tableElts); + READ_LIST_FIELD(CreateStmt, inh_relations, inhRelations, inhRelations); + READ_SPECIFIC_NODE_PTR_FIELD(CreateStmt, PartitionBoundSpec, partition_bound_spec, partbound, partbound, partbound); + READ_SPECIFIC_NODE_PTR_FIELD(CreateStmt, PartitionSpec, partition_spec, partspec, partspec, partspec); + READ_SPECIFIC_NODE_PTR_FIELD(CreateStmt, TypeName, type_name, of_typename, ofTypename, ofTypename); + READ_LIST_FIELD(CreateStmt, constraints, constraints, constraints); + READ_LIST_FIELD(CreateStmt, nnconstraints, nnconstraints, nnconstraints); + READ_LIST_FIELD(CreateStmt, options, options, options); + READ_ENUM_FIELD(CreateStmt, OnCommitAction, oncommit, oncommit, oncommit); + READ_STRING_FIELD(CreateStmt, tablespacename, tablespacename, tablespacename); + READ_STRING_FIELD(CreateStmt, access_method, accessMethod, accessMethod); + READ_BOOL_FIELD(CreateStmt, if_not_exists, if_not_exists, if_not_exists); return node; } static Constraint * -_readConstraint(OUT_TYPE(Constraint, Constraint) msg) +_readConstraint(const OUT_TYPE(Constraint, Constraint) msg) { Constraint *node = makeNode(Constraint); - READ_ENUM_FIELD(ConstrType, contype, contype, contype); - READ_STRING_FIELD(conname, conname, conname); - READ_BOOL_FIELD(deferrable, deferrable, deferrable); - READ_BOOL_FIELD(initdeferred, initdeferred, initdeferred); - READ_BOOL_FIELD(is_enforced, is_enforced, is_enforced); - READ_BOOL_FIELD(skip_validation, skip_validation, skip_validation); - READ_BOOL_FIELD(initially_valid, initially_valid, initially_valid); - READ_BOOL_FIELD(is_no_inherit, is_no_inherit, is_no_inherit); - READ_NODE_PTR_FIELD(raw_expr, raw_expr, raw_expr); - READ_STRING_FIELD(cooked_expr, cooked_expr, cooked_expr); - READ_CHAR_FIELD(generated_when, generated_when, generated_when); - READ_CHAR_FIELD(generated_kind, generated_kind, generated_kind); - READ_BOOL_FIELD(nulls_not_distinct, nulls_not_distinct, nulls_not_distinct); - READ_LIST_FIELD(keys, keys, keys); - READ_BOOL_FIELD(without_overlaps, without_overlaps, without_overlaps); - READ_LIST_FIELD(including, including, including); - READ_LIST_FIELD(exclusions, exclusions, exclusions); - READ_LIST_FIELD(options, options, options); - READ_STRING_FIELD(indexname, indexname, indexname); - READ_STRING_FIELD(indexspace, indexspace, indexspace); - READ_BOOL_FIELD(reset_default_tblspc, reset_default_tblspc, reset_default_tblspc); - READ_STRING_FIELD(access_method, access_method, access_method); - READ_NODE_PTR_FIELD(where_clause, where_clause, where_clause); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, pktable, pktable, pktable); - READ_LIST_FIELD(fk_attrs, fk_attrs, fk_attrs); - READ_LIST_FIELD(pk_attrs, pk_attrs, pk_attrs); - READ_BOOL_FIELD(fk_with_period, fk_with_period, fk_with_period); - READ_BOOL_FIELD(pk_with_period, pk_with_period, pk_with_period); - READ_CHAR_FIELD(fk_matchtype, fk_matchtype, fk_matchtype); - READ_CHAR_FIELD(fk_upd_action, fk_upd_action, fk_upd_action); - READ_CHAR_FIELD(fk_del_action, fk_del_action, fk_del_action); - READ_LIST_FIELD(fk_del_set_cols, fk_del_set_cols, fk_del_set_cols); - READ_LIST_FIELD(old_conpfeqop, old_conpfeqop, old_conpfeqop); - READ_UINT_FIELD(old_pktable_oid, old_pktable_oid, old_pktable_oid); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(Constraint, ConstrType, contype, contype, contype); + READ_STRING_FIELD(Constraint, conname, conname, conname); + READ_BOOL_FIELD(Constraint, deferrable, deferrable, deferrable); + READ_BOOL_FIELD(Constraint, initdeferred, initdeferred, initdeferred); + READ_BOOL_FIELD(Constraint, is_enforced, is_enforced, is_enforced); + READ_BOOL_FIELD(Constraint, skip_validation, skip_validation, skip_validation); + READ_BOOL_FIELD(Constraint, initially_valid, initially_valid, initially_valid); + READ_BOOL_FIELD(Constraint, is_no_inherit, is_no_inherit, is_no_inherit); + READ_NODE_PTR_FIELD(Constraint, raw_expr, raw_expr, raw_expr); + READ_STRING_FIELD(Constraint, cooked_expr, cooked_expr, cooked_expr); + READ_CHAR_FIELD(Constraint, generated_when, generated_when, generated_when); + READ_CHAR_FIELD(Constraint, generated_kind, generated_kind, generated_kind); + READ_BOOL_FIELD(Constraint, nulls_not_distinct, nulls_not_distinct, nulls_not_distinct); + READ_LIST_FIELD(Constraint, keys, keys, keys); + READ_BOOL_FIELD(Constraint, without_overlaps, without_overlaps, without_overlaps); + READ_LIST_FIELD(Constraint, including, including, including); + READ_LIST_FIELD(Constraint, exclusions, exclusions, exclusions); + READ_LIST_FIELD(Constraint, options, options, options); + READ_STRING_FIELD(Constraint, indexname, indexname, indexname); + READ_STRING_FIELD(Constraint, indexspace, indexspace, indexspace); + READ_BOOL_FIELD(Constraint, reset_default_tblspc, reset_default_tblspc, reset_default_tblspc); + READ_STRING_FIELD(Constraint, access_method, access_method, access_method); + READ_NODE_PTR_FIELD(Constraint, where_clause, where_clause, where_clause); + READ_SPECIFIC_NODE_PTR_FIELD(Constraint, RangeVar, range_var, pktable, pktable, pktable); + READ_LIST_FIELD(Constraint, fk_attrs, fk_attrs, fk_attrs); + READ_LIST_FIELD(Constraint, pk_attrs, pk_attrs, pk_attrs); + READ_BOOL_FIELD(Constraint, fk_with_period, fk_with_period, fk_with_period); + READ_BOOL_FIELD(Constraint, pk_with_period, pk_with_period, pk_with_period); + READ_CHAR_FIELD(Constraint, fk_matchtype, fk_matchtype, fk_matchtype); + READ_CHAR_FIELD(Constraint, fk_upd_action, fk_upd_action, fk_upd_action); + READ_CHAR_FIELD(Constraint, fk_del_action, fk_del_action, fk_del_action); + READ_LIST_FIELD(Constraint, fk_del_set_cols, fk_del_set_cols, fk_del_set_cols); + READ_LIST_FIELD(Constraint, old_conpfeqop, old_conpfeqop, old_conpfeqop); + READ_UINT_FIELD(Constraint, old_pktable_oid, old_pktable_oid, old_pktable_oid); + READ_INT_FIELD(Constraint, location, location, location); return node; } static CreateTableSpaceStmt * -_readCreateTableSpaceStmt(OUT_TYPE(CreateTableSpaceStmt, CreateTableSpaceStmt) msg) +_readCreateTableSpaceStmt(const OUT_TYPE(CreateTableSpaceStmt, CreateTableSpaceStmt) msg) { CreateTableSpaceStmt *node = makeNode(CreateTableSpaceStmt); - READ_STRING_FIELD(tablespacename, tablespacename, tablespacename); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, owner, owner, owner); - READ_STRING_FIELD(location, location, location); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(CreateTableSpaceStmt, tablespacename, tablespacename, tablespacename); + READ_SPECIFIC_NODE_PTR_FIELD(CreateTableSpaceStmt, RoleSpec, role_spec, owner, owner, owner); + READ_STRING_FIELD(CreateTableSpaceStmt, location, location, location); + READ_LIST_FIELD(CreateTableSpaceStmt, options, options, options); return node; } static DropTableSpaceStmt * -_readDropTableSpaceStmt(OUT_TYPE(DropTableSpaceStmt, DropTableSpaceStmt) msg) +_readDropTableSpaceStmt(const OUT_TYPE(DropTableSpaceStmt, DropTableSpaceStmt) msg) { DropTableSpaceStmt *node = makeNode(DropTableSpaceStmt); - READ_STRING_FIELD(tablespacename, tablespacename, tablespacename); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + READ_STRING_FIELD(DropTableSpaceStmt, tablespacename, tablespacename, tablespacename); + READ_BOOL_FIELD(DropTableSpaceStmt, missing_ok, missing_ok, missing_ok); return node; } static AlterTableSpaceOptionsStmt * -_readAlterTableSpaceOptionsStmt(OUT_TYPE(AlterTableSpaceOptionsStmt, AlterTableSpaceOptionsStmt) msg) +_readAlterTableSpaceOptionsStmt(const OUT_TYPE(AlterTableSpaceOptionsStmt, AlterTableSpaceOptionsStmt) msg) { AlterTableSpaceOptionsStmt *node = makeNode(AlterTableSpaceOptionsStmt); - READ_STRING_FIELD(tablespacename, tablespacename, tablespacename); - READ_LIST_FIELD(options, options, options); - READ_BOOL_FIELD(is_reset, isReset, isReset); + READ_STRING_FIELD(AlterTableSpaceOptionsStmt, tablespacename, tablespacename, tablespacename); + READ_LIST_FIELD(AlterTableSpaceOptionsStmt, options, options, options); + READ_BOOL_FIELD(AlterTableSpaceOptionsStmt, is_reset, isReset, isReset); return node; } static AlterTableMoveAllStmt * -_readAlterTableMoveAllStmt(OUT_TYPE(AlterTableMoveAllStmt, AlterTableMoveAllStmt) msg) +_readAlterTableMoveAllStmt(const OUT_TYPE(AlterTableMoveAllStmt, AlterTableMoveAllStmt) msg) { AlterTableMoveAllStmt *node = makeNode(AlterTableMoveAllStmt); - READ_STRING_FIELD(orig_tablespacename, orig_tablespacename, orig_tablespacename); - READ_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - READ_LIST_FIELD(roles, roles, roles); - READ_STRING_FIELD(new_tablespacename, new_tablespacename, new_tablespacename); - READ_BOOL_FIELD(nowait, nowait, nowait); + READ_STRING_FIELD(AlterTableMoveAllStmt, orig_tablespacename, orig_tablespacename, orig_tablespacename); + READ_ENUM_FIELD(AlterTableMoveAllStmt, ObjectType, objtype, objtype, objtype); + READ_LIST_FIELD(AlterTableMoveAllStmt, roles, roles, roles); + READ_STRING_FIELD(AlterTableMoveAllStmt, new_tablespacename, new_tablespacename, new_tablespacename); + READ_BOOL_FIELD(AlterTableMoveAllStmt, nowait, nowait, nowait); return node; } static CreateExtensionStmt * -_readCreateExtensionStmt(OUT_TYPE(CreateExtensionStmt, CreateExtensionStmt) msg) +_readCreateExtensionStmt(const OUT_TYPE(CreateExtensionStmt, CreateExtensionStmt) msg) { CreateExtensionStmt *node = makeNode(CreateExtensionStmt); - READ_STRING_FIELD(extname, extname, extname); - READ_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(CreateExtensionStmt, extname, extname, extname); + READ_BOOL_FIELD(CreateExtensionStmt, if_not_exists, if_not_exists, if_not_exists); + READ_LIST_FIELD(CreateExtensionStmt, options, options, options); return node; } static AlterExtensionStmt * -_readAlterExtensionStmt(OUT_TYPE(AlterExtensionStmt, AlterExtensionStmt) msg) +_readAlterExtensionStmt(const OUT_TYPE(AlterExtensionStmt, AlterExtensionStmt) msg) { AlterExtensionStmt *node = makeNode(AlterExtensionStmt); - READ_STRING_FIELD(extname, extname, extname); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(AlterExtensionStmt, extname, extname, extname); + READ_LIST_FIELD(AlterExtensionStmt, options, options, options); return node; } static AlterExtensionContentsStmt * -_readAlterExtensionContentsStmt(OUT_TYPE(AlterExtensionContentsStmt, AlterExtensionContentsStmt) msg) +_readAlterExtensionContentsStmt(const OUT_TYPE(AlterExtensionContentsStmt, AlterExtensionContentsStmt) msg) { AlterExtensionContentsStmt *node = makeNode(AlterExtensionContentsStmt); - READ_STRING_FIELD(extname, extname, extname); - READ_INT_FIELD(action, action, action); - READ_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - READ_NODE_PTR_FIELD(object, object, object); + READ_STRING_FIELD(AlterExtensionContentsStmt, extname, extname, extname); + READ_INT_FIELD(AlterExtensionContentsStmt, action, action, action); + READ_ENUM_FIELD(AlterExtensionContentsStmt, ObjectType, objtype, objtype, objtype); + READ_NODE_PTR_FIELD(AlterExtensionContentsStmt, object, object, object); return node; } static CreateFdwStmt * -_readCreateFdwStmt(OUT_TYPE(CreateFdwStmt, CreateFdwStmt) msg) +_readCreateFdwStmt(const OUT_TYPE(CreateFdwStmt, CreateFdwStmt) msg) { CreateFdwStmt *node = makeNode(CreateFdwStmt); - READ_STRING_FIELD(fdwname, fdwname, fdwname); - READ_LIST_FIELD(func_options, func_options, func_options); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(CreateFdwStmt, fdwname, fdwname, fdwname); + READ_LIST_FIELD(CreateFdwStmt, func_options, func_options, func_options); + READ_LIST_FIELD(CreateFdwStmt, options, options, options); return node; } static AlterFdwStmt * -_readAlterFdwStmt(OUT_TYPE(AlterFdwStmt, AlterFdwStmt) msg) +_readAlterFdwStmt(const OUT_TYPE(AlterFdwStmt, AlterFdwStmt) msg) { AlterFdwStmt *node = makeNode(AlterFdwStmt); - READ_STRING_FIELD(fdwname, fdwname, fdwname); - READ_LIST_FIELD(func_options, func_options, func_options); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(AlterFdwStmt, fdwname, fdwname, fdwname); + READ_LIST_FIELD(AlterFdwStmt, func_options, func_options, func_options); + READ_LIST_FIELD(AlterFdwStmt, options, options, options); return node; } static CreateForeignServerStmt * -_readCreateForeignServerStmt(OUT_TYPE(CreateForeignServerStmt, CreateForeignServerStmt) msg) +_readCreateForeignServerStmt(const OUT_TYPE(CreateForeignServerStmt, CreateForeignServerStmt) msg) { CreateForeignServerStmt *node = makeNode(CreateForeignServerStmt); - READ_STRING_FIELD(servername, servername, servername); - READ_STRING_FIELD(servertype, servertype, servertype); - READ_STRING_FIELD(version, version, version); - READ_STRING_FIELD(fdwname, fdwname, fdwname); - READ_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(CreateForeignServerStmt, servername, servername, servername); + READ_STRING_FIELD(CreateForeignServerStmt, servertype, servertype, servertype); + READ_STRING_FIELD(CreateForeignServerStmt, version, version, version); + READ_STRING_FIELD(CreateForeignServerStmt, fdwname, fdwname, fdwname); + READ_BOOL_FIELD(CreateForeignServerStmt, if_not_exists, if_not_exists, if_not_exists); + READ_LIST_FIELD(CreateForeignServerStmt, options, options, options); return node; } static AlterForeignServerStmt * -_readAlterForeignServerStmt(OUT_TYPE(AlterForeignServerStmt, AlterForeignServerStmt) msg) +_readAlterForeignServerStmt(const OUT_TYPE(AlterForeignServerStmt, AlterForeignServerStmt) msg) { AlterForeignServerStmt *node = makeNode(AlterForeignServerStmt); - READ_STRING_FIELD(servername, servername, servername); - READ_STRING_FIELD(version, version, version); - READ_LIST_FIELD(options, options, options); - READ_BOOL_FIELD(has_version, has_version, has_version); + READ_STRING_FIELD(AlterForeignServerStmt, servername, servername, servername); + READ_STRING_FIELD(AlterForeignServerStmt, version, version, version); + READ_LIST_FIELD(AlterForeignServerStmt, options, options, options); + READ_BOOL_FIELD(AlterForeignServerStmt, has_version, has_version, has_version); return node; } static CreateForeignTableStmt * -_readCreateForeignTableStmt(OUT_TYPE(CreateForeignTableStmt, CreateForeignTableStmt) msg) +_readCreateForeignTableStmt(const OUT_TYPE(CreateForeignTableStmt, CreateForeignTableStmt) msg) { CreateForeignTableStmt *node = makeNode(CreateForeignTableStmt); - READ_SPECIFIC_NODE_FIELD(CreateStmt, create_stmt, base_stmt, base, base); - READ_STRING_FIELD(servername, servername, servername); - READ_LIST_FIELD(options, options, options); + READ_SPECIFIC_NODE_FIELD(CreateForeignTableStmt, CreateStmt, create_stmt, base_stmt, base, base); + READ_STRING_FIELD(CreateForeignTableStmt, servername, servername, servername); + READ_LIST_FIELD(CreateForeignTableStmt, options, options, options); NodeSetTag(node, T_CreateForeignTableStmt); return node; } static CreateUserMappingStmt * -_readCreateUserMappingStmt(OUT_TYPE(CreateUserMappingStmt, CreateUserMappingStmt) msg) +_readCreateUserMappingStmt(const OUT_TYPE(CreateUserMappingStmt, CreateUserMappingStmt) msg) { CreateUserMappingStmt *node = makeNode(CreateUserMappingStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, user, user, user); - READ_STRING_FIELD(servername, servername, servername); - READ_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); - READ_LIST_FIELD(options, options, options); + READ_SPECIFIC_NODE_PTR_FIELD(CreateUserMappingStmt, RoleSpec, role_spec, user, user, user); + READ_STRING_FIELD(CreateUserMappingStmt, servername, servername, servername); + READ_BOOL_FIELD(CreateUserMappingStmt, if_not_exists, if_not_exists, if_not_exists); + READ_LIST_FIELD(CreateUserMappingStmt, options, options, options); return node; } static AlterUserMappingStmt * -_readAlterUserMappingStmt(OUT_TYPE(AlterUserMappingStmt, AlterUserMappingStmt) msg) +_readAlterUserMappingStmt(const OUT_TYPE(AlterUserMappingStmt, AlterUserMappingStmt) msg) { AlterUserMappingStmt *node = makeNode(AlterUserMappingStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, user, user, user); - READ_STRING_FIELD(servername, servername, servername); - READ_LIST_FIELD(options, options, options); + READ_SPECIFIC_NODE_PTR_FIELD(AlterUserMappingStmt, RoleSpec, role_spec, user, user, user); + READ_STRING_FIELD(AlterUserMappingStmt, servername, servername, servername); + READ_LIST_FIELD(AlterUserMappingStmt, options, options, options); return node; } static DropUserMappingStmt * -_readDropUserMappingStmt(OUT_TYPE(DropUserMappingStmt, DropUserMappingStmt) msg) +_readDropUserMappingStmt(const OUT_TYPE(DropUserMappingStmt, DropUserMappingStmt) msg) { DropUserMappingStmt *node = makeNode(DropUserMappingStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, user, user, user); - READ_STRING_FIELD(servername, servername, servername); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + READ_SPECIFIC_NODE_PTR_FIELD(DropUserMappingStmt, RoleSpec, role_spec, user, user, user); + READ_STRING_FIELD(DropUserMappingStmt, servername, servername, servername); + READ_BOOL_FIELD(DropUserMappingStmt, missing_ok, missing_ok, missing_ok); return node; } static ImportForeignSchemaStmt * -_readImportForeignSchemaStmt(OUT_TYPE(ImportForeignSchemaStmt, ImportForeignSchemaStmt) msg) +_readImportForeignSchemaStmt(const OUT_TYPE(ImportForeignSchemaStmt, ImportForeignSchemaStmt) msg) { ImportForeignSchemaStmt *node = makeNode(ImportForeignSchemaStmt); - READ_STRING_FIELD(server_name, server_name, server_name); - READ_STRING_FIELD(remote_schema, remote_schema, remote_schema); - READ_STRING_FIELD(local_schema, local_schema, local_schema); - READ_ENUM_FIELD(ImportForeignSchemaType, list_type, list_type, list_type); - READ_LIST_FIELD(table_list, table_list, table_list); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(ImportForeignSchemaStmt, server_name, server_name, server_name); + READ_STRING_FIELD(ImportForeignSchemaStmt, remote_schema, remote_schema, remote_schema); + READ_STRING_FIELD(ImportForeignSchemaStmt, local_schema, local_schema, local_schema); + READ_ENUM_FIELD(ImportForeignSchemaStmt, ImportForeignSchemaType, list_type, list_type, list_type); + READ_LIST_FIELD(ImportForeignSchemaStmt, table_list, table_list, table_list); + READ_LIST_FIELD(ImportForeignSchemaStmt, options, options, options); return node; } static CreatePolicyStmt * -_readCreatePolicyStmt(OUT_TYPE(CreatePolicyStmt, CreatePolicyStmt) msg) +_readCreatePolicyStmt(const OUT_TYPE(CreatePolicyStmt, CreatePolicyStmt) msg) { CreatePolicyStmt *node = makeNode(CreatePolicyStmt); - READ_STRING_FIELD(policy_name, policy_name, policy_name); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, table, table, table); - READ_STRING_FIELD(cmd_name, cmd_name, cmd_name); - READ_BOOL_FIELD(permissive, permissive, permissive); - READ_LIST_FIELD(roles, roles, roles); - READ_NODE_PTR_FIELD(qual, qual, qual); - READ_NODE_PTR_FIELD(with_check, with_check, with_check); + READ_STRING_FIELD(CreatePolicyStmt, policy_name, policy_name, policy_name); + READ_SPECIFIC_NODE_PTR_FIELD(CreatePolicyStmt, RangeVar, range_var, table, table, table); + READ_STRING_FIELD(CreatePolicyStmt, cmd_name, cmd_name, cmd_name); + READ_BOOL_FIELD(CreatePolicyStmt, permissive, permissive, permissive); + READ_LIST_FIELD(CreatePolicyStmt, roles, roles, roles); + READ_NODE_PTR_FIELD(CreatePolicyStmt, qual, qual, qual); + READ_NODE_PTR_FIELD(CreatePolicyStmt, with_check, with_check, with_check); return node; } static AlterPolicyStmt * -_readAlterPolicyStmt(OUT_TYPE(AlterPolicyStmt, AlterPolicyStmt) msg) +_readAlterPolicyStmt(const OUT_TYPE(AlterPolicyStmt, AlterPolicyStmt) msg) { AlterPolicyStmt *node = makeNode(AlterPolicyStmt); - READ_STRING_FIELD(policy_name, policy_name, policy_name); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, table, table, table); - READ_LIST_FIELD(roles, roles, roles); - READ_NODE_PTR_FIELD(qual, qual, qual); - READ_NODE_PTR_FIELD(with_check, with_check, with_check); + READ_STRING_FIELD(AlterPolicyStmt, policy_name, policy_name, policy_name); + READ_SPECIFIC_NODE_PTR_FIELD(AlterPolicyStmt, RangeVar, range_var, table, table, table); + READ_LIST_FIELD(AlterPolicyStmt, roles, roles, roles); + READ_NODE_PTR_FIELD(AlterPolicyStmt, qual, qual, qual); + READ_NODE_PTR_FIELD(AlterPolicyStmt, with_check, with_check, with_check); return node; } static CreateAmStmt * -_readCreateAmStmt(OUT_TYPE(CreateAmStmt, CreateAmStmt) msg) +_readCreateAmStmt(const OUT_TYPE(CreateAmStmt, CreateAmStmt) msg) { CreateAmStmt *node = makeNode(CreateAmStmt); - READ_STRING_FIELD(amname, amname, amname); - READ_LIST_FIELD(handler_name, handler_name, handler_name); - READ_CHAR_FIELD(amtype, amtype, amtype); + READ_STRING_FIELD(CreateAmStmt, amname, amname, amname); + READ_LIST_FIELD(CreateAmStmt, handler_name, handler_name, handler_name); + READ_CHAR_FIELD(CreateAmStmt, amtype, amtype, amtype); return node; } static CreateTrigStmt * -_readCreateTrigStmt(OUT_TYPE(CreateTrigStmt, CreateTrigStmt) msg) +_readCreateTrigStmt(const OUT_TYPE(CreateTrigStmt, CreateTrigStmt) msg) { CreateTrigStmt *node = makeNode(CreateTrigStmt); - READ_BOOL_FIELD(replace, replace, replace); - READ_BOOL_FIELD(isconstraint, isconstraint, isconstraint); - READ_STRING_FIELD(trigname, trigname, trigname); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_LIST_FIELD(funcname, funcname, funcname); - READ_LIST_FIELD(args, args, args); - READ_BOOL_FIELD(row, row, row); - READ_INT_FIELD(timing, timing, timing); - READ_INT_FIELD(events, events, events); - READ_LIST_FIELD(columns, columns, columns); - READ_NODE_PTR_FIELD(when_clause, whenClause, whenClause); - READ_LIST_FIELD(transition_rels, transitionRels, transitionRels); - READ_BOOL_FIELD(deferrable, deferrable, deferrable); - READ_BOOL_FIELD(initdeferred, initdeferred, initdeferred); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, constrrel, constrrel, constrrel); + READ_BOOL_FIELD(CreateTrigStmt, replace, replace, replace); + READ_BOOL_FIELD(CreateTrigStmt, isconstraint, isconstraint, isconstraint); + READ_STRING_FIELD(CreateTrigStmt, trigname, trigname, trigname); + READ_SPECIFIC_NODE_PTR_FIELD(CreateTrigStmt, RangeVar, range_var, relation, relation, relation); + READ_LIST_FIELD(CreateTrigStmt, funcname, funcname, funcname); + READ_LIST_FIELD(CreateTrigStmt, args, args, args); + READ_BOOL_FIELD(CreateTrigStmt, row, row, row); + READ_INT_FIELD(CreateTrigStmt, timing, timing, timing); + READ_INT_FIELD(CreateTrigStmt, events, events, events); + READ_LIST_FIELD(CreateTrigStmt, columns, columns, columns); + READ_NODE_PTR_FIELD(CreateTrigStmt, when_clause, whenClause, whenClause); + READ_LIST_FIELD(CreateTrigStmt, transition_rels, transitionRels, transitionRels); + READ_BOOL_FIELD(CreateTrigStmt, deferrable, deferrable, deferrable); + READ_BOOL_FIELD(CreateTrigStmt, initdeferred, initdeferred, initdeferred); + READ_SPECIFIC_NODE_PTR_FIELD(CreateTrigStmt, RangeVar, range_var, constrrel, constrrel, constrrel); return node; } static CreateEventTrigStmt * -_readCreateEventTrigStmt(OUT_TYPE(CreateEventTrigStmt, CreateEventTrigStmt) msg) +_readCreateEventTrigStmt(const OUT_TYPE(CreateEventTrigStmt, CreateEventTrigStmt) msg) { CreateEventTrigStmt *node = makeNode(CreateEventTrigStmt); - READ_STRING_FIELD(trigname, trigname, trigname); - READ_STRING_FIELD(eventname, eventname, eventname); - READ_LIST_FIELD(whenclause, whenclause, whenclause); - READ_LIST_FIELD(funcname, funcname, funcname); + READ_STRING_FIELD(CreateEventTrigStmt, trigname, trigname, trigname); + READ_STRING_FIELD(CreateEventTrigStmt, eventname, eventname, eventname); + READ_LIST_FIELD(CreateEventTrigStmt, whenclause, whenclause, whenclause); + READ_LIST_FIELD(CreateEventTrigStmt, funcname, funcname, funcname); return node; } static AlterEventTrigStmt * -_readAlterEventTrigStmt(OUT_TYPE(AlterEventTrigStmt, AlterEventTrigStmt) msg) +_readAlterEventTrigStmt(const OUT_TYPE(AlterEventTrigStmt, AlterEventTrigStmt) msg) { AlterEventTrigStmt *node = makeNode(AlterEventTrigStmt); - READ_STRING_FIELD(trigname, trigname, trigname); - READ_CHAR_FIELD(tgenabled, tgenabled, tgenabled); + READ_STRING_FIELD(AlterEventTrigStmt, trigname, trigname, trigname); + READ_CHAR_FIELD(AlterEventTrigStmt, tgenabled, tgenabled, tgenabled); return node; } static CreatePLangStmt * -_readCreatePLangStmt(OUT_TYPE(CreatePLangStmt, CreatePLangStmt) msg) +_readCreatePLangStmt(const OUT_TYPE(CreatePLangStmt, CreatePLangStmt) msg) { CreatePLangStmt *node = makeNode(CreatePLangStmt); - READ_BOOL_FIELD(replace, replace, replace); - READ_STRING_FIELD(plname, plname, plname); - READ_LIST_FIELD(plhandler, plhandler, plhandler); - READ_LIST_FIELD(plinline, plinline, plinline); - READ_LIST_FIELD(plvalidator, plvalidator, plvalidator); - READ_BOOL_FIELD(pltrusted, pltrusted, pltrusted); + READ_BOOL_FIELD(CreatePLangStmt, replace, replace, replace); + READ_STRING_FIELD(CreatePLangStmt, plname, plname, plname); + READ_LIST_FIELD(CreatePLangStmt, plhandler, plhandler, plhandler); + READ_LIST_FIELD(CreatePLangStmt, plinline, plinline, plinline); + READ_LIST_FIELD(CreatePLangStmt, plvalidator, plvalidator, plvalidator); + READ_BOOL_FIELD(CreatePLangStmt, pltrusted, pltrusted, pltrusted); return node; } static CreateRoleStmt * -_readCreateRoleStmt(OUT_TYPE(CreateRoleStmt, CreateRoleStmt) msg) +_readCreateRoleStmt(const OUT_TYPE(CreateRoleStmt, CreateRoleStmt) msg) { CreateRoleStmt *node = makeNode(CreateRoleStmt); - READ_ENUM_FIELD(RoleStmtType, stmt_type, stmt_type, stmt_type); - READ_STRING_FIELD(role, role, role); - READ_LIST_FIELD(options, options, options); + READ_ENUM_FIELD(CreateRoleStmt, RoleStmtType, stmt_type, stmt_type, stmt_type); + READ_STRING_FIELD(CreateRoleStmt, role, role, role); + READ_LIST_FIELD(CreateRoleStmt, options, options, options); return node; } static AlterRoleStmt * -_readAlterRoleStmt(OUT_TYPE(AlterRoleStmt, AlterRoleStmt) msg) +_readAlterRoleStmt(const OUT_TYPE(AlterRoleStmt, AlterRoleStmt) msg) { AlterRoleStmt *node = makeNode(AlterRoleStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, role, role, role); - READ_LIST_FIELD(options, options, options); - READ_INT_FIELD(action, action, action); + READ_SPECIFIC_NODE_PTR_FIELD(AlterRoleStmt, RoleSpec, role_spec, role, role, role); + READ_LIST_FIELD(AlterRoleStmt, options, options, options); + READ_INT_FIELD(AlterRoleStmt, action, action, action); return node; } static AlterRoleSetStmt * -_readAlterRoleSetStmt(OUT_TYPE(AlterRoleSetStmt, AlterRoleSetStmt) msg) +_readAlterRoleSetStmt(const OUT_TYPE(AlterRoleSetStmt, AlterRoleSetStmt) msg) { AlterRoleSetStmt *node = makeNode(AlterRoleSetStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, role, role, role); - READ_STRING_FIELD(database, database, database); - READ_SPECIFIC_NODE_PTR_FIELD(VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); + READ_SPECIFIC_NODE_PTR_FIELD(AlterRoleSetStmt, RoleSpec, role_spec, role, role, role); + READ_STRING_FIELD(AlterRoleSetStmt, database, database, database); + READ_SPECIFIC_NODE_PTR_FIELD(AlterRoleSetStmt, VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); return node; } static DropRoleStmt * -_readDropRoleStmt(OUT_TYPE(DropRoleStmt, DropRoleStmt) msg) +_readDropRoleStmt(const OUT_TYPE(DropRoleStmt, DropRoleStmt) msg) { DropRoleStmt *node = makeNode(DropRoleStmt); - READ_LIST_FIELD(roles, roles, roles); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + READ_LIST_FIELD(DropRoleStmt, roles, roles, roles); + READ_BOOL_FIELD(DropRoleStmt, missing_ok, missing_ok, missing_ok); return node; } static CreateSeqStmt * -_readCreateSeqStmt(OUT_TYPE(CreateSeqStmt, CreateSeqStmt) msg) +_readCreateSeqStmt(const OUT_TYPE(CreateSeqStmt, CreateSeqStmt) msg) { CreateSeqStmt *node = makeNode(CreateSeqStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, sequence, sequence, sequence); - READ_LIST_FIELD(options, options, options); - READ_UINT_FIELD(owner_id, ownerId, ownerId); - READ_BOOL_FIELD(for_identity, for_identity, for_identity); - READ_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); + READ_SPECIFIC_NODE_PTR_FIELD(CreateSeqStmt, RangeVar, range_var, sequence, sequence, sequence); + READ_LIST_FIELD(CreateSeqStmt, options, options, options); + READ_UINT_FIELD(CreateSeqStmt, owner_id, ownerId, ownerId); + READ_BOOL_FIELD(CreateSeqStmt, for_identity, for_identity, for_identity); + READ_BOOL_FIELD(CreateSeqStmt, if_not_exists, if_not_exists, if_not_exists); return node; } static AlterSeqStmt * -_readAlterSeqStmt(OUT_TYPE(AlterSeqStmt, AlterSeqStmt) msg) +_readAlterSeqStmt(const OUT_TYPE(AlterSeqStmt, AlterSeqStmt) msg) { AlterSeqStmt *node = makeNode(AlterSeqStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, sequence, sequence, sequence); - READ_LIST_FIELD(options, options, options); - READ_BOOL_FIELD(for_identity, for_identity, for_identity); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + READ_SPECIFIC_NODE_PTR_FIELD(AlterSeqStmt, RangeVar, range_var, sequence, sequence, sequence); + READ_LIST_FIELD(AlterSeqStmt, options, options, options); + READ_BOOL_FIELD(AlterSeqStmt, for_identity, for_identity, for_identity); + READ_BOOL_FIELD(AlterSeqStmt, missing_ok, missing_ok, missing_ok); return node; } static DefineStmt * -_readDefineStmt(OUT_TYPE(DefineStmt, DefineStmt) msg) +_readDefineStmt(const OUT_TYPE(DefineStmt, DefineStmt) msg) { DefineStmt *node = makeNode(DefineStmt); - READ_ENUM_FIELD(ObjectType, kind, kind, kind); - READ_BOOL_FIELD(oldstyle, oldstyle, oldstyle); - READ_LIST_FIELD(defnames, defnames, defnames); - READ_LIST_FIELD(args, args, args); - READ_LIST_FIELD(definition, definition, definition); - READ_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); - READ_BOOL_FIELD(replace, replace, replace); + READ_ENUM_FIELD(DefineStmt, ObjectType, kind, kind, kind); + READ_BOOL_FIELD(DefineStmt, oldstyle, oldstyle, oldstyle); + READ_LIST_FIELD(DefineStmt, defnames, defnames, defnames); + READ_LIST_FIELD(DefineStmt, args, args, args); + READ_LIST_FIELD(DefineStmt, definition, definition, definition); + READ_BOOL_FIELD(DefineStmt, if_not_exists, if_not_exists, if_not_exists); + READ_BOOL_FIELD(DefineStmt, replace, replace, replace); return node; } static CreateDomainStmt * -_readCreateDomainStmt(OUT_TYPE(CreateDomainStmt, CreateDomainStmt) msg) +_readCreateDomainStmt(const OUT_TYPE(CreateDomainStmt, CreateDomainStmt) msg) { CreateDomainStmt *node = makeNode(CreateDomainStmt); - READ_LIST_FIELD(domainname, domainname, domainname); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, typeName, typeName); - READ_SPECIFIC_NODE_PTR_FIELD(CollateClause, collate_clause, coll_clause, collClause, collClause); - READ_LIST_FIELD(constraints, constraints, constraints); + READ_LIST_FIELD(CreateDomainStmt, domainname, domainname, domainname); + READ_SPECIFIC_NODE_PTR_FIELD(CreateDomainStmt, TypeName, type_name, type_name, typeName, typeName); + READ_SPECIFIC_NODE_PTR_FIELD(CreateDomainStmt, CollateClause, collate_clause, coll_clause, collClause, collClause); + READ_LIST_FIELD(CreateDomainStmt, constraints, constraints, constraints); return node; } static CreateOpClassStmt * -_readCreateOpClassStmt(OUT_TYPE(CreateOpClassStmt, CreateOpClassStmt) msg) +_readCreateOpClassStmt(const OUT_TYPE(CreateOpClassStmt, CreateOpClassStmt) msg) { CreateOpClassStmt *node = makeNode(CreateOpClassStmt); - READ_LIST_FIELD(opclassname, opclassname, opclassname); - READ_LIST_FIELD(opfamilyname, opfamilyname, opfamilyname); - READ_STRING_FIELD(amname, amname, amname); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, datatype, datatype, datatype); - READ_LIST_FIELD(items, items, items); - READ_BOOL_FIELD(is_default, isDefault, isDefault); + READ_LIST_FIELD(CreateOpClassStmt, opclassname, opclassname, opclassname); + READ_LIST_FIELD(CreateOpClassStmt, opfamilyname, opfamilyname, opfamilyname); + READ_STRING_FIELD(CreateOpClassStmt, amname, amname, amname); + READ_SPECIFIC_NODE_PTR_FIELD(CreateOpClassStmt, TypeName, type_name, datatype, datatype, datatype); + READ_LIST_FIELD(CreateOpClassStmt, items, items, items); + READ_BOOL_FIELD(CreateOpClassStmt, is_default, isDefault, isDefault); return node; } static CreateOpClassItem * -_readCreateOpClassItem(OUT_TYPE(CreateOpClassItem, CreateOpClassItem) msg) +_readCreateOpClassItem(const OUT_TYPE(CreateOpClassItem, CreateOpClassItem) msg) { CreateOpClassItem *node = makeNode(CreateOpClassItem); - READ_INT_FIELD(itemtype, itemtype, itemtype); - READ_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, name, name, name); - READ_INT_FIELD(number, number, number); - READ_LIST_FIELD(order_family, order_family, order_family); - READ_LIST_FIELD(class_args, class_args, class_args); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, storedtype, storedtype, storedtype); + READ_INT_FIELD(CreateOpClassItem, itemtype, itemtype, itemtype); + READ_SPECIFIC_NODE_PTR_FIELD(CreateOpClassItem, ObjectWithArgs, object_with_args, name, name, name); + READ_INT_FIELD(CreateOpClassItem, number, number, number); + READ_LIST_FIELD(CreateOpClassItem, order_family, order_family, order_family); + READ_LIST_FIELD(CreateOpClassItem, class_args, class_args, class_args); + READ_SPECIFIC_NODE_PTR_FIELD(CreateOpClassItem, TypeName, type_name, storedtype, storedtype, storedtype); return node; } static CreateOpFamilyStmt * -_readCreateOpFamilyStmt(OUT_TYPE(CreateOpFamilyStmt, CreateOpFamilyStmt) msg) +_readCreateOpFamilyStmt(const OUT_TYPE(CreateOpFamilyStmt, CreateOpFamilyStmt) msg) { CreateOpFamilyStmt *node = makeNode(CreateOpFamilyStmt); - READ_LIST_FIELD(opfamilyname, opfamilyname, opfamilyname); - READ_STRING_FIELD(amname, amname, amname); + READ_LIST_FIELD(CreateOpFamilyStmt, opfamilyname, opfamilyname, opfamilyname); + READ_STRING_FIELD(CreateOpFamilyStmt, amname, amname, amname); return node; } static AlterOpFamilyStmt * -_readAlterOpFamilyStmt(OUT_TYPE(AlterOpFamilyStmt, AlterOpFamilyStmt) msg) +_readAlterOpFamilyStmt(const OUT_TYPE(AlterOpFamilyStmt, AlterOpFamilyStmt) msg) { AlterOpFamilyStmt *node = makeNode(AlterOpFamilyStmt); - READ_LIST_FIELD(opfamilyname, opfamilyname, opfamilyname); - READ_STRING_FIELD(amname, amname, amname); - READ_BOOL_FIELD(is_drop, isDrop, isDrop); - READ_LIST_FIELD(items, items, items); + READ_LIST_FIELD(AlterOpFamilyStmt, opfamilyname, opfamilyname, opfamilyname); + READ_STRING_FIELD(AlterOpFamilyStmt, amname, amname, amname); + READ_BOOL_FIELD(AlterOpFamilyStmt, is_drop, isDrop, isDrop); + READ_LIST_FIELD(AlterOpFamilyStmt, items, items, items); return node; } static DropStmt * -_readDropStmt(OUT_TYPE(DropStmt, DropStmt) msg) +_readDropStmt(const OUT_TYPE(DropStmt, DropStmt) msg) { DropStmt *node = makeNode(DropStmt); - READ_LIST_FIELD(objects, objects, objects); - READ_ENUM_FIELD(ObjectType, remove_type, removeType, removeType); - READ_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); - READ_BOOL_FIELD(concurrent, concurrent, concurrent); + READ_LIST_FIELD(DropStmt, objects, objects, objects); + READ_ENUM_FIELD(DropStmt, ObjectType, remove_type, removeType, removeType); + READ_ENUM_FIELD(DropStmt, DropBehavior, behavior, behavior, behavior); + READ_BOOL_FIELD(DropStmt, missing_ok, missing_ok, missing_ok); + READ_BOOL_FIELD(DropStmt, concurrent, concurrent, concurrent); return node; } static TruncateStmt * -_readTruncateStmt(OUT_TYPE(TruncateStmt, TruncateStmt) msg) +_readTruncateStmt(const OUT_TYPE(TruncateStmt, TruncateStmt) msg) { TruncateStmt *node = makeNode(TruncateStmt); - READ_LIST_FIELD(relations, relations, relations); - READ_BOOL_FIELD(restart_seqs, restart_seqs, restart_seqs); - READ_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); + READ_LIST_FIELD(TruncateStmt, relations, relations, relations); + READ_BOOL_FIELD(TruncateStmt, restart_seqs, restart_seqs, restart_seqs); + READ_ENUM_FIELD(TruncateStmt, DropBehavior, behavior, behavior, behavior); return node; } static CommentStmt * -_readCommentStmt(OUT_TYPE(CommentStmt, CommentStmt) msg) +_readCommentStmt(const OUT_TYPE(CommentStmt, CommentStmt) msg) { CommentStmt *node = makeNode(CommentStmt); - READ_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - READ_NODE_PTR_FIELD(object, object, object); - READ_STRING_FIELD(comment, comment, comment); + READ_ENUM_FIELD(CommentStmt, ObjectType, objtype, objtype, objtype); + READ_NODE_PTR_FIELD(CommentStmt, object, object, object); + READ_STRING_FIELD(CommentStmt, comment, comment, comment); return node; } static SecLabelStmt * -_readSecLabelStmt(OUT_TYPE(SecLabelStmt, SecLabelStmt) msg) +_readSecLabelStmt(const OUT_TYPE(SecLabelStmt, SecLabelStmt) msg) { SecLabelStmt *node = makeNode(SecLabelStmt); - READ_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - READ_NODE_PTR_FIELD(object, object, object); - READ_STRING_FIELD(provider, provider, provider); - READ_STRING_FIELD(label, label, label); + READ_ENUM_FIELD(SecLabelStmt, ObjectType, objtype, objtype, objtype); + READ_NODE_PTR_FIELD(SecLabelStmt, object, object, object); + READ_STRING_FIELD(SecLabelStmt, provider, provider, provider); + READ_STRING_FIELD(SecLabelStmt, label, label, label); return node; } static DeclareCursorStmt * -_readDeclareCursorStmt(OUT_TYPE(DeclareCursorStmt, DeclareCursorStmt) msg) +_readDeclareCursorStmt(const OUT_TYPE(DeclareCursorStmt, DeclareCursorStmt) msg) { DeclareCursorStmt *node = makeNode(DeclareCursorStmt); - READ_STRING_FIELD(portalname, portalname, portalname); - READ_INT_FIELD(options, options, options); - READ_NODE_PTR_FIELD(query, query, query); + READ_STRING_FIELD(DeclareCursorStmt, portalname, portalname, portalname); + READ_INT_FIELD(DeclareCursorStmt, options, options, options); + READ_NODE_PTR_FIELD(DeclareCursorStmt, query, query, query); return node; } static ClosePortalStmt * -_readClosePortalStmt(OUT_TYPE(ClosePortalStmt, ClosePortalStmt) msg) +_readClosePortalStmt(const OUT_TYPE(ClosePortalStmt, ClosePortalStmt) msg) { ClosePortalStmt *node = makeNode(ClosePortalStmt); - READ_STRING_FIELD(portalname, portalname, portalname); + READ_STRING_FIELD(ClosePortalStmt, portalname, portalname, portalname); return node; } static FetchStmt * -_readFetchStmt(OUT_TYPE(FetchStmt, FetchStmt) msg) +_readFetchStmt(const OUT_TYPE(FetchStmt, FetchStmt) msg) { FetchStmt *node = makeNode(FetchStmt); - READ_ENUM_FIELD(FetchDirection, direction, direction, direction); - READ_LONG_FIELD(how_many, howMany, howMany); - READ_STRING_FIELD(portalname, portalname, portalname); - READ_BOOL_FIELD(ismove, ismove, ismove); + READ_ENUM_FIELD(FetchStmt, FetchDirection, direction, direction, direction); + READ_LONG_FIELD(FetchStmt, how_many, howMany, howMany); + READ_STRING_FIELD(FetchStmt, portalname, portalname, portalname); + READ_BOOL_FIELD(FetchStmt, ismove, ismove, ismove); return node; } static IndexStmt * -_readIndexStmt(OUT_TYPE(IndexStmt, IndexStmt) msg) +_readIndexStmt(const OUT_TYPE(IndexStmt, IndexStmt) msg) { IndexStmt *node = makeNode(IndexStmt); - READ_STRING_FIELD(idxname, idxname, idxname); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_STRING_FIELD(access_method, accessMethod, accessMethod); - READ_STRING_FIELD(table_space, tableSpace, tableSpace); - READ_LIST_FIELD(index_params, indexParams, indexParams); - READ_LIST_FIELD(index_including_params, indexIncludingParams, indexIncludingParams); - READ_LIST_FIELD(options, options, options); - READ_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - READ_LIST_FIELD(exclude_op_names, excludeOpNames, excludeOpNames); - READ_STRING_FIELD(idxcomment, idxcomment, idxcomment); - READ_UINT_FIELD(index_oid, indexOid, indexOid); - READ_UINT_FIELD(old_number, oldNumber, oldNumber); - READ_UINT_FIELD(old_create_subid, oldCreateSubid, oldCreateSubid); - READ_UINT_FIELD(old_first_relfilelocator_subid, oldFirstRelfilelocatorSubid, oldFirstRelfilelocatorSubid); - READ_BOOL_FIELD(unique, unique, unique); - READ_BOOL_FIELD(nulls_not_distinct, nulls_not_distinct, nulls_not_distinct); - READ_BOOL_FIELD(primary, primary, primary); - READ_BOOL_FIELD(isconstraint, isconstraint, isconstraint); - READ_BOOL_FIELD(iswithoutoverlaps, iswithoutoverlaps, iswithoutoverlaps); - READ_BOOL_FIELD(deferrable, deferrable, deferrable); - READ_BOOL_FIELD(initdeferred, initdeferred, initdeferred); - READ_BOOL_FIELD(transformed, transformed, transformed); - READ_BOOL_FIELD(concurrent, concurrent, concurrent); - READ_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); - READ_BOOL_FIELD(reset_default_tblspc, reset_default_tblspc, reset_default_tblspc); + READ_STRING_FIELD(IndexStmt, idxname, idxname, idxname); + READ_SPECIFIC_NODE_PTR_FIELD(IndexStmt, RangeVar, range_var, relation, relation, relation); + READ_STRING_FIELD(IndexStmt, access_method, accessMethod, accessMethod); + READ_STRING_FIELD(IndexStmt, table_space, tableSpace, tableSpace); + READ_LIST_FIELD(IndexStmt, index_params, indexParams, indexParams); + READ_LIST_FIELD(IndexStmt, index_including_params, indexIncludingParams, indexIncludingParams); + READ_LIST_FIELD(IndexStmt, options, options, options); + READ_NODE_PTR_FIELD(IndexStmt, where_clause, whereClause, whereClause); + READ_LIST_FIELD(IndexStmt, exclude_op_names, excludeOpNames, excludeOpNames); + READ_STRING_FIELD(IndexStmt, idxcomment, idxcomment, idxcomment); + READ_UINT_FIELD(IndexStmt, index_oid, indexOid, indexOid); + READ_UINT_FIELD(IndexStmt, old_number, oldNumber, oldNumber); + READ_UINT_FIELD(IndexStmt, old_create_subid, oldCreateSubid, oldCreateSubid); + READ_UINT_FIELD(IndexStmt, old_first_relfilelocator_subid, oldFirstRelfilelocatorSubid, oldFirstRelfilelocatorSubid); + READ_BOOL_FIELD(IndexStmt, unique, unique, unique); + READ_BOOL_FIELD(IndexStmt, nulls_not_distinct, nulls_not_distinct, nulls_not_distinct); + READ_BOOL_FIELD(IndexStmt, primary, primary, primary); + READ_BOOL_FIELD(IndexStmt, isconstraint, isconstraint, isconstraint); + READ_BOOL_FIELD(IndexStmt, iswithoutoverlaps, iswithoutoverlaps, iswithoutoverlaps); + READ_BOOL_FIELD(IndexStmt, deferrable, deferrable, deferrable); + READ_BOOL_FIELD(IndexStmt, initdeferred, initdeferred, initdeferred); + READ_BOOL_FIELD(IndexStmt, transformed, transformed, transformed); + READ_BOOL_FIELD(IndexStmt, concurrent, concurrent, concurrent); + READ_BOOL_FIELD(IndexStmt, if_not_exists, if_not_exists, if_not_exists); + READ_BOOL_FIELD(IndexStmt, reset_default_tblspc, reset_default_tblspc, reset_default_tblspc); return node; } static CreateStatsStmt * -_readCreateStatsStmt(OUT_TYPE(CreateStatsStmt, CreateStatsStmt) msg) +_readCreateStatsStmt(const OUT_TYPE(CreateStatsStmt, CreateStatsStmt) msg) { CreateStatsStmt *node = makeNode(CreateStatsStmt); - READ_LIST_FIELD(defnames, defnames, defnames); - READ_LIST_FIELD(stat_types, stat_types, stat_types); - READ_LIST_FIELD(exprs, exprs, exprs); - READ_LIST_FIELD(relations, relations, relations); - READ_STRING_FIELD(stxcomment, stxcomment, stxcomment); - READ_BOOL_FIELD(transformed, transformed, transformed); - READ_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); + READ_LIST_FIELD(CreateStatsStmt, defnames, defnames, defnames); + READ_LIST_FIELD(CreateStatsStmt, stat_types, stat_types, stat_types); + READ_LIST_FIELD(CreateStatsStmt, exprs, exprs, exprs); + READ_LIST_FIELD(CreateStatsStmt, relations, relations, relations); + READ_STRING_FIELD(CreateStatsStmt, stxcomment, stxcomment, stxcomment); + READ_BOOL_FIELD(CreateStatsStmt, transformed, transformed, transformed); + READ_BOOL_FIELD(CreateStatsStmt, if_not_exists, if_not_exists, if_not_exists); return node; } static StatsElem * -_readStatsElem(OUT_TYPE(StatsElem, StatsElem) msg) +_readStatsElem(const OUT_TYPE(StatsElem, StatsElem) msg) { StatsElem *node = makeNode(StatsElem); - READ_STRING_FIELD(name, name, name); - READ_NODE_PTR_FIELD(expr, expr, expr); + READ_STRING_FIELD(StatsElem, name, name, name); + READ_NODE_PTR_FIELD(StatsElem, expr, expr, expr); return node; } static AlterStatsStmt * -_readAlterStatsStmt(OUT_TYPE(AlterStatsStmt, AlterStatsStmt) msg) +_readAlterStatsStmt(const OUT_TYPE(AlterStatsStmt, AlterStatsStmt) msg) { AlterStatsStmt *node = makeNode(AlterStatsStmt); - READ_LIST_FIELD(defnames, defnames, defnames); - READ_NODE_PTR_FIELD(stxstattarget, stxstattarget, stxstattarget); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + READ_LIST_FIELD(AlterStatsStmt, defnames, defnames, defnames); + READ_NODE_PTR_FIELD(AlterStatsStmt, stxstattarget, stxstattarget, stxstattarget); + READ_BOOL_FIELD(AlterStatsStmt, missing_ok, missing_ok, missing_ok); return node; } static CreateFunctionStmt * -_readCreateFunctionStmt(OUT_TYPE(CreateFunctionStmt, CreateFunctionStmt) msg) +_readCreateFunctionStmt(const OUT_TYPE(CreateFunctionStmt, CreateFunctionStmt) msg) { CreateFunctionStmt *node = makeNode(CreateFunctionStmt); - READ_BOOL_FIELD(is_procedure, is_procedure, is_procedure); - READ_BOOL_FIELD(replace, replace, replace); - READ_LIST_FIELD(funcname, funcname, funcname); - READ_LIST_FIELD(parameters, parameters, parameters); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, return_type, returnType, returnType); - READ_LIST_FIELD(options, options, options); - READ_NODE_PTR_FIELD(sql_body, sql_body, sql_body); + READ_BOOL_FIELD(CreateFunctionStmt, is_procedure, is_procedure, is_procedure); + READ_BOOL_FIELD(CreateFunctionStmt, replace, replace, replace); + READ_LIST_FIELD(CreateFunctionStmt, funcname, funcname, funcname); + READ_LIST_FIELD(CreateFunctionStmt, parameters, parameters, parameters); + READ_SPECIFIC_NODE_PTR_FIELD(CreateFunctionStmt, TypeName, type_name, return_type, returnType, returnType); + READ_LIST_FIELD(CreateFunctionStmt, options, options, options); + READ_NODE_PTR_FIELD(CreateFunctionStmt, sql_body, sql_body, sql_body); return node; } static FunctionParameter * -_readFunctionParameter(OUT_TYPE(FunctionParameter, FunctionParameter) msg) +_readFunctionParameter(const OUT_TYPE(FunctionParameter, FunctionParameter) msg) { FunctionParameter *node = makeNode(FunctionParameter); - READ_STRING_FIELD(name, name, name); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, arg_type, argType, argType); - READ_ENUM_FIELD(FunctionParameterMode, mode, mode, mode); - READ_NODE_PTR_FIELD(defexpr, defexpr, defexpr); - READ_INT_FIELD(location, location, location); + READ_STRING_FIELD(FunctionParameter, name, name, name); + READ_SPECIFIC_NODE_PTR_FIELD(FunctionParameter, TypeName, type_name, arg_type, argType, argType); + READ_ENUM_FIELD(FunctionParameter, FunctionParameterMode, mode, mode, mode); + READ_NODE_PTR_FIELD(FunctionParameter, defexpr, defexpr, defexpr); + READ_INT_FIELD(FunctionParameter, location, location, location); return node; } static AlterFunctionStmt * -_readAlterFunctionStmt(OUT_TYPE(AlterFunctionStmt, AlterFunctionStmt) msg) +_readAlterFunctionStmt(const OUT_TYPE(AlterFunctionStmt, AlterFunctionStmt) msg) { AlterFunctionStmt *node = makeNode(AlterFunctionStmt); - READ_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - READ_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, func, func, func); - READ_LIST_FIELD(actions, actions, actions); + READ_ENUM_FIELD(AlterFunctionStmt, ObjectType, objtype, objtype, objtype); + READ_SPECIFIC_NODE_PTR_FIELD(AlterFunctionStmt, ObjectWithArgs, object_with_args, func, func, func); + READ_LIST_FIELD(AlterFunctionStmt, actions, actions, actions); return node; } static DoStmt * -_readDoStmt(OUT_TYPE(DoStmt, DoStmt) msg) +_readDoStmt(const OUT_TYPE(DoStmt, DoStmt) msg) { DoStmt *node = makeNode(DoStmt); - READ_LIST_FIELD(args, args, args); + READ_LIST_FIELD(DoStmt, args, args, args); return node; } static InlineCodeBlock * -_readInlineCodeBlock(OUT_TYPE(InlineCodeBlock, InlineCodeBlock) msg) +_readInlineCodeBlock(const OUT_TYPE(InlineCodeBlock, InlineCodeBlock) msg) { InlineCodeBlock *node = makeNode(InlineCodeBlock); - READ_STRING_FIELD(source_text, source_text, source_text); - READ_UINT_FIELD(lang_oid, langOid, langOid); - READ_BOOL_FIELD(lang_is_trusted, langIsTrusted, langIsTrusted); - READ_BOOL_FIELD(atomic, atomic, atomic); + READ_STRING_FIELD(InlineCodeBlock, source_text, source_text, source_text); + READ_UINT_FIELD(InlineCodeBlock, lang_oid, langOid, langOid); + READ_BOOL_FIELD(InlineCodeBlock, lang_is_trusted, langIsTrusted, langIsTrusted); + READ_BOOL_FIELD(InlineCodeBlock, atomic, atomic, atomic); return node; } static CallStmt * -_readCallStmt(OUT_TYPE(CallStmt, CallStmt) msg) +_readCallStmt(const OUT_TYPE(CallStmt, CallStmt) msg) { CallStmt *node = makeNode(CallStmt); - READ_SPECIFIC_NODE_PTR_FIELD(FuncCall, func_call, funccall, funccall, funccall); - READ_SPECIFIC_NODE_PTR_FIELD(FuncExpr, func_expr, funcexpr, funcexpr, funcexpr); - READ_LIST_FIELD(outargs, outargs, outargs); + READ_SPECIFIC_NODE_PTR_FIELD(CallStmt, FuncCall, func_call, funccall, funccall, funccall); + READ_SPECIFIC_NODE_PTR_FIELD(CallStmt, FuncExpr, func_expr, funcexpr, funcexpr, funcexpr); + READ_LIST_FIELD(CallStmt, outargs, outargs, outargs); return node; } static CallContext * -_readCallContext(OUT_TYPE(CallContext, CallContext) msg) +_readCallContext(const OUT_TYPE(CallContext, CallContext) msg) { CallContext *node = makeNode(CallContext); - READ_BOOL_FIELD(atomic, atomic, atomic); + READ_BOOL_FIELD(CallContext, atomic, atomic, atomic); return node; } static RenameStmt * -_readRenameStmt(OUT_TYPE(RenameStmt, RenameStmt) msg) +_readRenameStmt(const OUT_TYPE(RenameStmt, RenameStmt) msg) { RenameStmt *node = makeNode(RenameStmt); - READ_ENUM_FIELD(ObjectType, rename_type, renameType, renameType); - READ_ENUM_FIELD(ObjectType, relation_type, relationType, relationType); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_NODE_PTR_FIELD(object, object, object); - READ_STRING_FIELD(subname, subname, subname); - READ_STRING_FIELD(newname, newname, newname); - READ_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + READ_ENUM_FIELD(RenameStmt, ObjectType, rename_type, renameType, renameType); + READ_ENUM_FIELD(RenameStmt, ObjectType, relation_type, relationType, relationType); + READ_SPECIFIC_NODE_PTR_FIELD(RenameStmt, RangeVar, range_var, relation, relation, relation); + READ_NODE_PTR_FIELD(RenameStmt, object, object, object); + READ_STRING_FIELD(RenameStmt, subname, subname, subname); + READ_STRING_FIELD(RenameStmt, newname, newname, newname); + READ_ENUM_FIELD(RenameStmt, DropBehavior, behavior, behavior, behavior); + READ_BOOL_FIELD(RenameStmt, missing_ok, missing_ok, missing_ok); return node; } static AlterObjectDependsStmt * -_readAlterObjectDependsStmt(OUT_TYPE(AlterObjectDependsStmt, AlterObjectDependsStmt) msg) +_readAlterObjectDependsStmt(const OUT_TYPE(AlterObjectDependsStmt, AlterObjectDependsStmt) msg) { AlterObjectDependsStmt *node = makeNode(AlterObjectDependsStmt); - READ_ENUM_FIELD(ObjectType, object_type, objectType, objectType); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_NODE_PTR_FIELD(object, object, object); - READ_SPECIFIC_NODE_PTR_FIELD(String, string, extname, extname, extname); - READ_BOOL_FIELD(remove, remove, remove); + READ_ENUM_FIELD(AlterObjectDependsStmt, ObjectType, object_type, objectType, objectType); + READ_SPECIFIC_NODE_PTR_FIELD(AlterObjectDependsStmt, RangeVar, range_var, relation, relation, relation); + READ_NODE_PTR_FIELD(AlterObjectDependsStmt, object, object, object); + READ_SPECIFIC_NODE_PTR_FIELD(AlterObjectDependsStmt, String, string, extname, extname, extname); + READ_BOOL_FIELD(AlterObjectDependsStmt, remove, remove, remove); return node; } static AlterObjectSchemaStmt * -_readAlterObjectSchemaStmt(OUT_TYPE(AlterObjectSchemaStmt, AlterObjectSchemaStmt) msg) +_readAlterObjectSchemaStmt(const OUT_TYPE(AlterObjectSchemaStmt, AlterObjectSchemaStmt) msg) { AlterObjectSchemaStmt *node = makeNode(AlterObjectSchemaStmt); - READ_ENUM_FIELD(ObjectType, object_type, objectType, objectType); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_NODE_PTR_FIELD(object, object, object); - READ_STRING_FIELD(newschema, newschema, newschema); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + READ_ENUM_FIELD(AlterObjectSchemaStmt, ObjectType, object_type, objectType, objectType); + READ_SPECIFIC_NODE_PTR_FIELD(AlterObjectSchemaStmt, RangeVar, range_var, relation, relation, relation); + READ_NODE_PTR_FIELD(AlterObjectSchemaStmt, object, object, object); + READ_STRING_FIELD(AlterObjectSchemaStmt, newschema, newschema, newschema); + READ_BOOL_FIELD(AlterObjectSchemaStmt, missing_ok, missing_ok, missing_ok); return node; } static AlterOwnerStmt * -_readAlterOwnerStmt(OUT_TYPE(AlterOwnerStmt, AlterOwnerStmt) msg) +_readAlterOwnerStmt(const OUT_TYPE(AlterOwnerStmt, AlterOwnerStmt) msg) { AlterOwnerStmt *node = makeNode(AlterOwnerStmt); - READ_ENUM_FIELD(ObjectType, object_type, objectType, objectType); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_NODE_PTR_FIELD(object, object, object); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, newowner, newowner, newowner); + READ_ENUM_FIELD(AlterOwnerStmt, ObjectType, object_type, objectType, objectType); + READ_SPECIFIC_NODE_PTR_FIELD(AlterOwnerStmt, RangeVar, range_var, relation, relation, relation); + READ_NODE_PTR_FIELD(AlterOwnerStmt, object, object, object); + READ_SPECIFIC_NODE_PTR_FIELD(AlterOwnerStmt, RoleSpec, role_spec, newowner, newowner, newowner); return node; } static AlterOperatorStmt * -_readAlterOperatorStmt(OUT_TYPE(AlterOperatorStmt, AlterOperatorStmt) msg) +_readAlterOperatorStmt(const OUT_TYPE(AlterOperatorStmt, AlterOperatorStmt) msg) { AlterOperatorStmt *node = makeNode(AlterOperatorStmt); - READ_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, opername, opername, opername); - READ_LIST_FIELD(options, options, options); + READ_SPECIFIC_NODE_PTR_FIELD(AlterOperatorStmt, ObjectWithArgs, object_with_args, opername, opername, opername); + READ_LIST_FIELD(AlterOperatorStmt, options, options, options); return node; } static AlterTypeStmt * -_readAlterTypeStmt(OUT_TYPE(AlterTypeStmt, AlterTypeStmt) msg) +_readAlterTypeStmt(const OUT_TYPE(AlterTypeStmt, AlterTypeStmt) msg) { AlterTypeStmt *node = makeNode(AlterTypeStmt); - READ_LIST_FIELD(type_name, typeName, typeName); - READ_LIST_FIELD(options, options, options); + READ_LIST_FIELD(AlterTypeStmt, type_name, typeName, typeName); + READ_LIST_FIELD(AlterTypeStmt, options, options, options); return node; } static RuleStmt * -_readRuleStmt(OUT_TYPE(RuleStmt, RuleStmt) msg) +_readRuleStmt(const OUT_TYPE(RuleStmt, RuleStmt) msg) { RuleStmt *node = makeNode(RuleStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_STRING_FIELD(rulename, rulename, rulename); - READ_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - READ_ENUM_FIELD(CmdType, event, event, event); - READ_BOOL_FIELD(instead, instead, instead); - READ_LIST_FIELD(actions, actions, actions); - READ_BOOL_FIELD(replace, replace, replace); + READ_SPECIFIC_NODE_PTR_FIELD(RuleStmt, RangeVar, range_var, relation, relation, relation); + READ_STRING_FIELD(RuleStmt, rulename, rulename, rulename); + READ_NODE_PTR_FIELD(RuleStmt, where_clause, whereClause, whereClause); + READ_ENUM_FIELD(RuleStmt, CmdType, event, event, event); + READ_BOOL_FIELD(RuleStmt, instead, instead, instead); + READ_LIST_FIELD(RuleStmt, actions, actions, actions); + READ_BOOL_FIELD(RuleStmt, replace, replace, replace); return node; } static NotifyStmt * -_readNotifyStmt(OUT_TYPE(NotifyStmt, NotifyStmt) msg) +_readNotifyStmt(const OUT_TYPE(NotifyStmt, NotifyStmt) msg) { NotifyStmt *node = makeNode(NotifyStmt); - READ_STRING_FIELD(conditionname, conditionname, conditionname); - READ_STRING_FIELD(payload, payload, payload); + READ_STRING_FIELD(NotifyStmt, conditionname, conditionname, conditionname); + READ_STRING_FIELD(NotifyStmt, payload, payload, payload); + READ_INT_FIELD(NotifyStmt, payload_location, payload_location, payload_location); return node; } static ListenStmt * -_readListenStmt(OUT_TYPE(ListenStmt, ListenStmt) msg) +_readListenStmt(const OUT_TYPE(ListenStmt, ListenStmt) msg) { ListenStmt *node = makeNode(ListenStmt); - READ_STRING_FIELD(conditionname, conditionname, conditionname); + READ_STRING_FIELD(ListenStmt, conditionname, conditionname, conditionname); return node; } static UnlistenStmt * -_readUnlistenStmt(OUT_TYPE(UnlistenStmt, UnlistenStmt) msg) +_readUnlistenStmt(const OUT_TYPE(UnlistenStmt, UnlistenStmt) msg) { UnlistenStmt *node = makeNode(UnlistenStmt); - READ_STRING_FIELD(conditionname, conditionname, conditionname); + READ_STRING_FIELD(UnlistenStmt, conditionname, conditionname, conditionname); return node; } static TransactionStmt * -_readTransactionStmt(OUT_TYPE(TransactionStmt, TransactionStmt) msg) +_readTransactionStmt(const OUT_TYPE(TransactionStmt, TransactionStmt) msg) { TransactionStmt *node = makeNode(TransactionStmt); - READ_ENUM_FIELD(TransactionStmtKind, kind, kind, kind); - READ_LIST_FIELD(options, options, options); - READ_STRING_FIELD(savepoint_name, savepoint_name, savepoint_name); - READ_STRING_FIELD(gid, gid, gid); - READ_BOOL_FIELD(chain, chain, chain); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(TransactionStmt, TransactionStmtKind, kind, kind, kind); + READ_LIST_FIELD(TransactionStmt, options, options, options); + READ_STRING_FIELD(TransactionStmt, savepoint_name, savepoint_name, savepoint_name); + READ_STRING_FIELD(TransactionStmt, gid, gid, gid); + READ_BOOL_FIELD(TransactionStmt, chain, chain, chain); + READ_INT_FIELD(TransactionStmt, location, location, location); return node; } static CompositeTypeStmt * -_readCompositeTypeStmt(OUT_TYPE(CompositeTypeStmt, CompositeTypeStmt) msg) +_readCompositeTypeStmt(const OUT_TYPE(CompositeTypeStmt, CompositeTypeStmt) msg) { CompositeTypeStmt *node = makeNode(CompositeTypeStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, typevar, typevar, typevar); - READ_LIST_FIELD(coldeflist, coldeflist, coldeflist); + READ_SPECIFIC_NODE_PTR_FIELD(CompositeTypeStmt, RangeVar, range_var, typevar, typevar, typevar); + READ_LIST_FIELD(CompositeTypeStmt, coldeflist, coldeflist, coldeflist); return node; } static CreateEnumStmt * -_readCreateEnumStmt(OUT_TYPE(CreateEnumStmt, CreateEnumStmt) msg) +_readCreateEnumStmt(const OUT_TYPE(CreateEnumStmt, CreateEnumStmt) msg) { CreateEnumStmt *node = makeNode(CreateEnumStmt); - READ_LIST_FIELD(type_name, typeName, typeName); - READ_LIST_FIELD(vals, vals, vals); + READ_LIST_FIELD(CreateEnumStmt, type_name, typeName, typeName); + READ_LIST_FIELD(CreateEnumStmt, vals, vals, vals); return node; } static CreateRangeStmt * -_readCreateRangeStmt(OUT_TYPE(CreateRangeStmt, CreateRangeStmt) msg) +_readCreateRangeStmt(const OUT_TYPE(CreateRangeStmt, CreateRangeStmt) msg) { CreateRangeStmt *node = makeNode(CreateRangeStmt); - READ_LIST_FIELD(type_name, typeName, typeName); - READ_LIST_FIELD(params, params, params); + READ_LIST_FIELD(CreateRangeStmt, type_name, typeName, typeName); + READ_LIST_FIELD(CreateRangeStmt, params, params, params); return node; } static AlterEnumStmt * -_readAlterEnumStmt(OUT_TYPE(AlterEnumStmt, AlterEnumStmt) msg) +_readAlterEnumStmt(const OUT_TYPE(AlterEnumStmt, AlterEnumStmt) msg) { AlterEnumStmt *node = makeNode(AlterEnumStmt); - READ_LIST_FIELD(type_name, typeName, typeName); - READ_STRING_FIELD(old_val, oldVal, oldVal); - READ_STRING_FIELD(new_val, newVal, newVal); - READ_STRING_FIELD(new_val_neighbor, newValNeighbor, newValNeighbor); - READ_BOOL_FIELD(new_val_is_after, newValIsAfter, newValIsAfter); - READ_BOOL_FIELD(skip_if_new_val_exists, skipIfNewValExists, skipIfNewValExists); + READ_LIST_FIELD(AlterEnumStmt, type_name, typeName, typeName); + READ_STRING_FIELD(AlterEnumStmt, old_val, oldVal, oldVal); + READ_STRING_FIELD(AlterEnumStmt, new_val, newVal, newVal); + READ_STRING_FIELD(AlterEnumStmt, new_val_neighbor, newValNeighbor, newValNeighbor); + READ_BOOL_FIELD(AlterEnumStmt, new_val_is_after, newValIsAfter, newValIsAfter); + READ_BOOL_FIELD(AlterEnumStmt, skip_if_new_val_exists, skipIfNewValExists, skipIfNewValExists); return node; } static ViewStmt * -_readViewStmt(OUT_TYPE(ViewStmt, ViewStmt) msg) +_readViewStmt(const OUT_TYPE(ViewStmt, ViewStmt) msg) { ViewStmt *node = makeNode(ViewStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, view, view, view); - READ_LIST_FIELD(aliases, aliases, aliases); - READ_NODE_PTR_FIELD(query, query, query); - READ_BOOL_FIELD(replace, replace, replace); - READ_LIST_FIELD(options, options, options); - READ_ENUM_FIELD(ViewCheckOption, with_check_option, withCheckOption, withCheckOption); + READ_SPECIFIC_NODE_PTR_FIELD(ViewStmt, RangeVar, range_var, view, view, view); + READ_LIST_FIELD(ViewStmt, aliases, aliases, aliases); + READ_NODE_PTR_FIELD(ViewStmt, query, query, query); + READ_BOOL_FIELD(ViewStmt, replace, replace, replace); + READ_LIST_FIELD(ViewStmt, options, options, options); + READ_ENUM_FIELD(ViewStmt, ViewCheckOption, with_check_option, withCheckOption, withCheckOption); return node; } static LoadStmt * -_readLoadStmt(OUT_TYPE(LoadStmt, LoadStmt) msg) +_readLoadStmt(const OUT_TYPE(LoadStmt, LoadStmt) msg) { LoadStmt *node = makeNode(LoadStmt); - READ_STRING_FIELD(filename, filename, filename); + READ_STRING_FIELD(LoadStmt, filename, filename, filename); return node; } static CreatedbStmt * -_readCreatedbStmt(OUT_TYPE(CreatedbStmt, CreatedbStmt) msg) +_readCreatedbStmt(const OUT_TYPE(CreatedbStmt, CreatedbStmt) msg) { CreatedbStmt *node = makeNode(CreatedbStmt); - READ_STRING_FIELD(dbname, dbname, dbname); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(CreatedbStmt, dbname, dbname, dbname); + READ_LIST_FIELD(CreatedbStmt, options, options, options); return node; } static AlterDatabaseStmt * -_readAlterDatabaseStmt(OUT_TYPE(AlterDatabaseStmt, AlterDatabaseStmt) msg) +_readAlterDatabaseStmt(const OUT_TYPE(AlterDatabaseStmt, AlterDatabaseStmt) msg) { AlterDatabaseStmt *node = makeNode(AlterDatabaseStmt); - READ_STRING_FIELD(dbname, dbname, dbname); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(AlterDatabaseStmt, dbname, dbname, dbname); + READ_LIST_FIELD(AlterDatabaseStmt, options, options, options); return node; } static AlterDatabaseRefreshCollStmt * -_readAlterDatabaseRefreshCollStmt(OUT_TYPE(AlterDatabaseRefreshCollStmt, AlterDatabaseRefreshCollStmt) msg) +_readAlterDatabaseRefreshCollStmt(const OUT_TYPE(AlterDatabaseRefreshCollStmt, AlterDatabaseRefreshCollStmt) msg) { AlterDatabaseRefreshCollStmt *node = makeNode(AlterDatabaseRefreshCollStmt); - READ_STRING_FIELD(dbname, dbname, dbname); + READ_STRING_FIELD(AlterDatabaseRefreshCollStmt, dbname, dbname, dbname); return node; } static AlterDatabaseSetStmt * -_readAlterDatabaseSetStmt(OUT_TYPE(AlterDatabaseSetStmt, AlterDatabaseSetStmt) msg) +_readAlterDatabaseSetStmt(const OUT_TYPE(AlterDatabaseSetStmt, AlterDatabaseSetStmt) msg) { AlterDatabaseSetStmt *node = makeNode(AlterDatabaseSetStmt); - READ_STRING_FIELD(dbname, dbname, dbname); - READ_SPECIFIC_NODE_PTR_FIELD(VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); + READ_STRING_FIELD(AlterDatabaseSetStmt, dbname, dbname, dbname); + READ_SPECIFIC_NODE_PTR_FIELD(AlterDatabaseSetStmt, VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); return node; } static DropdbStmt * -_readDropdbStmt(OUT_TYPE(DropdbStmt, DropdbStmt) msg) +_readDropdbStmt(const OUT_TYPE(DropdbStmt, DropdbStmt) msg) { DropdbStmt *node = makeNode(DropdbStmt); - READ_STRING_FIELD(dbname, dbname, dbname); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(DropdbStmt, dbname, dbname, dbname); + READ_BOOL_FIELD(DropdbStmt, missing_ok, missing_ok, missing_ok); + READ_LIST_FIELD(DropdbStmt, options, options, options); return node; } static AlterSystemStmt * -_readAlterSystemStmt(OUT_TYPE(AlterSystemStmt, AlterSystemStmt) msg) +_readAlterSystemStmt(const OUT_TYPE(AlterSystemStmt, AlterSystemStmt) msg) { AlterSystemStmt *node = makeNode(AlterSystemStmt); - READ_SPECIFIC_NODE_PTR_FIELD(VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); + READ_SPECIFIC_NODE_PTR_FIELD(AlterSystemStmt, VariableSetStmt, variable_set_stmt, setstmt, setstmt, setstmt); return node; } static ClusterStmt * -_readClusterStmt(OUT_TYPE(ClusterStmt, ClusterStmt) msg) +_readClusterStmt(const OUT_TYPE(ClusterStmt, ClusterStmt) msg) { ClusterStmt *node = makeNode(ClusterStmt); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_STRING_FIELD(indexname, indexname, indexname); - READ_LIST_FIELD(params, params, params); + READ_SPECIFIC_NODE_PTR_FIELD(ClusterStmt, RangeVar, range_var, relation, relation, relation); + READ_STRING_FIELD(ClusterStmt, indexname, indexname, indexname); + READ_LIST_FIELD(ClusterStmt, params, params, params); return node; } static VacuumStmt * -_readVacuumStmt(OUT_TYPE(VacuumStmt, VacuumStmt) msg) +_readVacuumStmt(const OUT_TYPE(VacuumStmt, VacuumStmt) msg) { VacuumStmt *node = makeNode(VacuumStmt); - READ_LIST_FIELD(options, options, options); - READ_LIST_FIELD(rels, rels, rels); - READ_BOOL_FIELD(is_vacuumcmd, is_vacuumcmd, is_vacuumcmd); + READ_LIST_FIELD(VacuumStmt, options, options, options); + READ_LIST_FIELD(VacuumStmt, rels, rels, rels); + READ_BOOL_FIELD(VacuumStmt, is_vacuumcmd, is_vacuumcmd, is_vacuumcmd); return node; } static VacuumRelation * -_readVacuumRelation(OUT_TYPE(VacuumRelation, VacuumRelation) msg) +_readVacuumRelation(const OUT_TYPE(VacuumRelation, VacuumRelation) msg) { VacuumRelation *node = makeNode(VacuumRelation); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_UINT_FIELD(oid, oid, oid); - READ_LIST_FIELD(va_cols, va_cols, va_cols); + READ_SPECIFIC_NODE_PTR_FIELD(VacuumRelation, RangeVar, range_var, relation, relation, relation); + READ_UINT_FIELD(VacuumRelation, oid, oid, oid); + READ_LIST_FIELD(VacuumRelation, va_cols, va_cols, va_cols); return node; } static ExplainStmt * -_readExplainStmt(OUT_TYPE(ExplainStmt, ExplainStmt) msg) +_readExplainStmt(const OUT_TYPE(ExplainStmt, ExplainStmt) msg) { ExplainStmt *node = makeNode(ExplainStmt); - READ_NODE_PTR_FIELD(query, query, query); - READ_LIST_FIELD(options, options, options); + READ_NODE_PTR_FIELD(ExplainStmt, query, query, query); + READ_LIST_FIELD(ExplainStmt, options, options, options); return node; } static CreateTableAsStmt * -_readCreateTableAsStmt(OUT_TYPE(CreateTableAsStmt, CreateTableAsStmt) msg) +_readCreateTableAsStmt(const OUT_TYPE(CreateTableAsStmt, CreateTableAsStmt) msg) { CreateTableAsStmt *node = makeNode(CreateTableAsStmt); - READ_NODE_PTR_FIELD(query, query, query); - READ_SPECIFIC_NODE_PTR_FIELD(IntoClause, into_clause, into, into, into); - READ_ENUM_FIELD(ObjectType, objtype, objtype, objtype); - READ_BOOL_FIELD(is_select_into, is_select_into, is_select_into); - READ_BOOL_FIELD(if_not_exists, if_not_exists, if_not_exists); + READ_NODE_PTR_FIELD(CreateTableAsStmt, query, query, query); + READ_SPECIFIC_NODE_PTR_FIELD(CreateTableAsStmt, IntoClause, into_clause, into, into, into); + READ_ENUM_FIELD(CreateTableAsStmt, ObjectType, objtype, objtype, objtype); + READ_BOOL_FIELD(CreateTableAsStmt, is_select_into, is_select_into, is_select_into); + READ_BOOL_FIELD(CreateTableAsStmt, if_not_exists, if_not_exists, if_not_exists); return node; } static RefreshMatViewStmt * -_readRefreshMatViewStmt(OUT_TYPE(RefreshMatViewStmt, RefreshMatViewStmt) msg) +_readRefreshMatViewStmt(const OUT_TYPE(RefreshMatViewStmt, RefreshMatViewStmt) msg) { RefreshMatViewStmt *node = makeNode(RefreshMatViewStmt); - READ_BOOL_FIELD(concurrent, concurrent, concurrent); - READ_BOOL_FIELD(skip_data, skipData, skipData); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); + READ_BOOL_FIELD(RefreshMatViewStmt, concurrent, concurrent, concurrent); + READ_BOOL_FIELD(RefreshMatViewStmt, skip_data, skipData, skipData); + READ_SPECIFIC_NODE_PTR_FIELD(RefreshMatViewStmt, RangeVar, range_var, relation, relation, relation); return node; } static CheckPointStmt * -_readCheckPointStmt(OUT_TYPE(CheckPointStmt, CheckPointStmt) msg) +_readCheckPointStmt(const OUT_TYPE(CheckPointStmt, CheckPointStmt) msg) { CheckPointStmt *node = makeNode(CheckPointStmt); return node; } static DiscardStmt * -_readDiscardStmt(OUT_TYPE(DiscardStmt, DiscardStmt) msg) +_readDiscardStmt(const OUT_TYPE(DiscardStmt, DiscardStmt) msg) { DiscardStmt *node = makeNode(DiscardStmt); - READ_ENUM_FIELD(DiscardMode, target, target, target); + READ_ENUM_FIELD(DiscardStmt, DiscardMode, target, target, target); return node; } static LockStmt * -_readLockStmt(OUT_TYPE(LockStmt, LockStmt) msg) +_readLockStmt(const OUT_TYPE(LockStmt, LockStmt) msg) { LockStmt *node = makeNode(LockStmt); - READ_LIST_FIELD(relations, relations, relations); - READ_INT_FIELD(mode, mode, mode); - READ_BOOL_FIELD(nowait, nowait, nowait); + READ_LIST_FIELD(LockStmt, relations, relations, relations); + READ_INT_FIELD(LockStmt, mode, mode, mode); + READ_BOOL_FIELD(LockStmt, nowait, nowait, nowait); return node; } static ConstraintsSetStmt * -_readConstraintsSetStmt(OUT_TYPE(ConstraintsSetStmt, ConstraintsSetStmt) msg) +_readConstraintsSetStmt(const OUT_TYPE(ConstraintsSetStmt, ConstraintsSetStmt) msg) { ConstraintsSetStmt *node = makeNode(ConstraintsSetStmt); - READ_LIST_FIELD(constraints, constraints, constraints); - READ_BOOL_FIELD(deferred, deferred, deferred); + READ_LIST_FIELD(ConstraintsSetStmt, constraints, constraints, constraints); + READ_BOOL_FIELD(ConstraintsSetStmt, deferred, deferred, deferred); return node; } static ReindexStmt * -_readReindexStmt(OUT_TYPE(ReindexStmt, ReindexStmt) msg) +_readReindexStmt(const OUT_TYPE(ReindexStmt, ReindexStmt) msg) { ReindexStmt *node = makeNode(ReindexStmt); - READ_ENUM_FIELD(ReindexObjectType, kind, kind, kind); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_STRING_FIELD(name, name, name); - READ_LIST_FIELD(params, params, params); + READ_ENUM_FIELD(ReindexStmt, ReindexObjectType, kind, kind, kind); + READ_SPECIFIC_NODE_PTR_FIELD(ReindexStmt, RangeVar, range_var, relation, relation, relation); + READ_STRING_FIELD(ReindexStmt, name, name, name); + READ_LIST_FIELD(ReindexStmt, params, params, params); return node; } static CreateConversionStmt * -_readCreateConversionStmt(OUT_TYPE(CreateConversionStmt, CreateConversionStmt) msg) +_readCreateConversionStmt(const OUT_TYPE(CreateConversionStmt, CreateConversionStmt) msg) { CreateConversionStmt *node = makeNode(CreateConversionStmt); - READ_LIST_FIELD(conversion_name, conversion_name, conversion_name); - READ_STRING_FIELD(for_encoding_name, for_encoding_name, for_encoding_name); - READ_STRING_FIELD(to_encoding_name, to_encoding_name, to_encoding_name); - READ_LIST_FIELD(func_name, func_name, func_name); - READ_BOOL_FIELD(def, def, def); + READ_LIST_FIELD(CreateConversionStmt, conversion_name, conversion_name, conversion_name); + READ_STRING_FIELD(CreateConversionStmt, for_encoding_name, for_encoding_name, for_encoding_name); + READ_STRING_FIELD(CreateConversionStmt, to_encoding_name, to_encoding_name, to_encoding_name); + READ_LIST_FIELD(CreateConversionStmt, func_name, func_name, func_name); + READ_BOOL_FIELD(CreateConversionStmt, def, def, def); return node; } static CreateCastStmt * -_readCreateCastStmt(OUT_TYPE(CreateCastStmt, CreateCastStmt) msg) +_readCreateCastStmt(const OUT_TYPE(CreateCastStmt, CreateCastStmt) msg) { CreateCastStmt *node = makeNode(CreateCastStmt); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, sourcetype, sourcetype, sourcetype); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, targettype, targettype, targettype); - READ_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, func, func, func); - READ_ENUM_FIELD(CoercionContext, context, context, context); - READ_BOOL_FIELD(inout, inout, inout); + READ_SPECIFIC_NODE_PTR_FIELD(CreateCastStmt, TypeName, type_name, sourcetype, sourcetype, sourcetype); + READ_SPECIFIC_NODE_PTR_FIELD(CreateCastStmt, TypeName, type_name, targettype, targettype, targettype); + READ_SPECIFIC_NODE_PTR_FIELD(CreateCastStmt, ObjectWithArgs, object_with_args, func, func, func); + READ_ENUM_FIELD(CreateCastStmt, CoercionContext, context, context, context); + READ_BOOL_FIELD(CreateCastStmt, inout, inout, inout); return node; } static CreateTransformStmt * -_readCreateTransformStmt(OUT_TYPE(CreateTransformStmt, CreateTransformStmt) msg) +_readCreateTransformStmt(const OUT_TYPE(CreateTransformStmt, CreateTransformStmt) msg) { CreateTransformStmt *node = makeNode(CreateTransformStmt); - READ_BOOL_FIELD(replace, replace, replace); - READ_SPECIFIC_NODE_PTR_FIELD(TypeName, type_name, type_name, type_name, type_name); - READ_STRING_FIELD(lang, lang, lang); - READ_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, fromsql, fromsql, fromsql); - READ_SPECIFIC_NODE_PTR_FIELD(ObjectWithArgs, object_with_args, tosql, tosql, tosql); + READ_BOOL_FIELD(CreateTransformStmt, replace, replace, replace); + READ_SPECIFIC_NODE_PTR_FIELD(CreateTransformStmt, TypeName, type_name, type_name, type_name, type_name); + READ_STRING_FIELD(CreateTransformStmt, lang, lang, lang); + READ_SPECIFIC_NODE_PTR_FIELD(CreateTransformStmt, ObjectWithArgs, object_with_args, fromsql, fromsql, fromsql); + READ_SPECIFIC_NODE_PTR_FIELD(CreateTransformStmt, ObjectWithArgs, object_with_args, tosql, tosql, tosql); return node; } static PrepareStmt * -_readPrepareStmt(OUT_TYPE(PrepareStmt, PrepareStmt) msg) +_readPrepareStmt(const OUT_TYPE(PrepareStmt, PrepareStmt) msg) { PrepareStmt *node = makeNode(PrepareStmt); - READ_STRING_FIELD(name, name, name); - READ_LIST_FIELD(argtypes, argtypes, argtypes); - READ_NODE_PTR_FIELD(query, query, query); + READ_STRING_FIELD(PrepareStmt, name, name, name); + READ_LIST_FIELD(PrepareStmt, argtypes, argtypes, argtypes); + READ_NODE_PTR_FIELD(PrepareStmt, query, query, query); return node; } static ExecuteStmt * -_readExecuteStmt(OUT_TYPE(ExecuteStmt, ExecuteStmt) msg) +_readExecuteStmt(const OUT_TYPE(ExecuteStmt, ExecuteStmt) msg) { ExecuteStmt *node = makeNode(ExecuteStmt); - READ_STRING_FIELD(name, name, name); - READ_LIST_FIELD(params, params, params); + READ_STRING_FIELD(ExecuteStmt, name, name, name); + READ_LIST_FIELD(ExecuteStmt, params, params, params); return node; } static DeallocateStmt * -_readDeallocateStmt(OUT_TYPE(DeallocateStmt, DeallocateStmt) msg) +_readDeallocateStmt(const OUT_TYPE(DeallocateStmt, DeallocateStmt) msg) { DeallocateStmt *node = makeNode(DeallocateStmt); - READ_STRING_FIELD(name, name, name); - READ_BOOL_FIELD(isall, isall, isall); - READ_INT_FIELD(location, location, location); + READ_STRING_FIELD(DeallocateStmt, name, name, name); + READ_BOOL_FIELD(DeallocateStmt, isall, isall, isall); + READ_INT_FIELD(DeallocateStmt, location, location, location); return node; } static DropOwnedStmt * -_readDropOwnedStmt(OUT_TYPE(DropOwnedStmt, DropOwnedStmt) msg) +_readDropOwnedStmt(const OUT_TYPE(DropOwnedStmt, DropOwnedStmt) msg) { DropOwnedStmt *node = makeNode(DropOwnedStmt); - READ_LIST_FIELD(roles, roles, roles); - READ_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); + READ_LIST_FIELD(DropOwnedStmt, roles, roles, roles); + READ_ENUM_FIELD(DropOwnedStmt, DropBehavior, behavior, behavior, behavior); return node; } static ReassignOwnedStmt * -_readReassignOwnedStmt(OUT_TYPE(ReassignOwnedStmt, ReassignOwnedStmt) msg) +_readReassignOwnedStmt(const OUT_TYPE(ReassignOwnedStmt, ReassignOwnedStmt) msg) { ReassignOwnedStmt *node = makeNode(ReassignOwnedStmt); - READ_LIST_FIELD(roles, roles, roles); - READ_SPECIFIC_NODE_PTR_FIELD(RoleSpec, role_spec, newrole, newrole, newrole); + READ_LIST_FIELD(ReassignOwnedStmt, roles, roles, roles); + READ_SPECIFIC_NODE_PTR_FIELD(ReassignOwnedStmt, RoleSpec, role_spec, newrole, newrole, newrole); return node; } static AlterTSDictionaryStmt * -_readAlterTSDictionaryStmt(OUT_TYPE(AlterTSDictionaryStmt, AlterTSDictionaryStmt) msg) +_readAlterTSDictionaryStmt(const OUT_TYPE(AlterTSDictionaryStmt, AlterTSDictionaryStmt) msg) { AlterTSDictionaryStmt *node = makeNode(AlterTSDictionaryStmt); - READ_LIST_FIELD(dictname, dictname, dictname); - READ_LIST_FIELD(options, options, options); + READ_LIST_FIELD(AlterTSDictionaryStmt, dictname, dictname, dictname); + READ_LIST_FIELD(AlterTSDictionaryStmt, options, options, options); return node; } static AlterTSConfigurationStmt * -_readAlterTSConfigurationStmt(OUT_TYPE(AlterTSConfigurationStmt, AlterTSConfigurationStmt) msg) +_readAlterTSConfigurationStmt(const OUT_TYPE(AlterTSConfigurationStmt, AlterTSConfigurationStmt) msg) { AlterTSConfigurationStmt *node = makeNode(AlterTSConfigurationStmt); - READ_ENUM_FIELD(AlterTSConfigType, kind, kind, kind); - READ_LIST_FIELD(cfgname, cfgname, cfgname); - READ_LIST_FIELD(tokentype, tokentype, tokentype); - READ_LIST_FIELD(dicts, dicts, dicts); - READ_BOOL_FIELD(override, override, override); - READ_BOOL_FIELD(replace, replace, replace); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); + READ_ENUM_FIELD(AlterTSConfigurationStmt, AlterTSConfigType, kind, kind, kind); + READ_LIST_FIELD(AlterTSConfigurationStmt, cfgname, cfgname, cfgname); + READ_LIST_FIELD(AlterTSConfigurationStmt, tokentype, tokentype, tokentype); + READ_LIST_FIELD(AlterTSConfigurationStmt, dicts, dicts, dicts); + READ_BOOL_FIELD(AlterTSConfigurationStmt, override, override, override); + READ_BOOL_FIELD(AlterTSConfigurationStmt, replace, replace, replace); + READ_BOOL_FIELD(AlterTSConfigurationStmt, missing_ok, missing_ok, missing_ok); return node; } static PublicationTable * -_readPublicationTable(OUT_TYPE(PublicationTable, PublicationTable) msg) +_readPublicationTable(const OUT_TYPE(PublicationTable, PublicationTable) msg) { PublicationTable *node = makeNode(PublicationTable); - READ_SPECIFIC_NODE_PTR_FIELD(RangeVar, range_var, relation, relation, relation); - READ_NODE_PTR_FIELD(where_clause, whereClause, whereClause); - READ_LIST_FIELD(columns, columns, columns); + READ_SPECIFIC_NODE_PTR_FIELD(PublicationTable, RangeVar, range_var, relation, relation, relation); + READ_NODE_PTR_FIELD(PublicationTable, where_clause, whereClause, whereClause); + READ_LIST_FIELD(PublicationTable, columns, columns, columns); return node; } static PublicationObjSpec * -_readPublicationObjSpec(OUT_TYPE(PublicationObjSpec, PublicationObjSpec) msg) +_readPublicationObjSpec(const OUT_TYPE(PublicationObjSpec, PublicationObjSpec) msg) { PublicationObjSpec *node = makeNode(PublicationObjSpec); - READ_ENUM_FIELD(PublicationObjSpecType, pubobjtype, pubobjtype, pubobjtype); - READ_STRING_FIELD(name, name, name); - READ_SPECIFIC_NODE_PTR_FIELD(PublicationTable, publication_table, pubtable, pubtable, pubtable); - READ_INT_FIELD(location, location, location); + READ_ENUM_FIELD(PublicationObjSpec, PublicationObjSpecType, pubobjtype, pubobjtype, pubobjtype); + READ_STRING_FIELD(PublicationObjSpec, name, name, name); + READ_SPECIFIC_NODE_PTR_FIELD(PublicationObjSpec, PublicationTable, publication_table, pubtable, pubtable, pubtable); + READ_INT_FIELD(PublicationObjSpec, location, location, location); return node; } static CreatePublicationStmt * -_readCreatePublicationStmt(OUT_TYPE(CreatePublicationStmt, CreatePublicationStmt) msg) +_readCreatePublicationStmt(const OUT_TYPE(CreatePublicationStmt, CreatePublicationStmt) msg) { CreatePublicationStmt *node = makeNode(CreatePublicationStmt); - READ_STRING_FIELD(pubname, pubname, pubname); - READ_LIST_FIELD(options, options, options); - READ_LIST_FIELD(pubobjects, pubobjects, pubobjects); - READ_BOOL_FIELD(for_all_tables, for_all_tables, for_all_tables); + READ_STRING_FIELD(CreatePublicationStmt, pubname, pubname, pubname); + READ_LIST_FIELD(CreatePublicationStmt, options, options, options); + READ_LIST_FIELD(CreatePublicationStmt, pubobjects, pubobjects, pubobjects); + READ_BOOL_FIELD(CreatePublicationStmt, for_all_tables, for_all_tables, for_all_tables); return node; } static AlterPublicationStmt * -_readAlterPublicationStmt(OUT_TYPE(AlterPublicationStmt, AlterPublicationStmt) msg) +_readAlterPublicationStmt(const OUT_TYPE(AlterPublicationStmt, AlterPublicationStmt) msg) { AlterPublicationStmt *node = makeNode(AlterPublicationStmt); - READ_STRING_FIELD(pubname, pubname, pubname); - READ_LIST_FIELD(options, options, options); - READ_LIST_FIELD(pubobjects, pubobjects, pubobjects); - READ_BOOL_FIELD(for_all_tables, for_all_tables, for_all_tables); - READ_ENUM_FIELD(AlterPublicationAction, action, action, action); + READ_STRING_FIELD(AlterPublicationStmt, pubname, pubname, pubname); + READ_LIST_FIELD(AlterPublicationStmt, options, options, options); + READ_LIST_FIELD(AlterPublicationStmt, pubobjects, pubobjects, pubobjects); + READ_BOOL_FIELD(AlterPublicationStmt, for_all_tables, for_all_tables, for_all_tables); + READ_ENUM_FIELD(AlterPublicationStmt, AlterPublicationAction, action, action, action); return node; } static CreateSubscriptionStmt * -_readCreateSubscriptionStmt(OUT_TYPE(CreateSubscriptionStmt, CreateSubscriptionStmt) msg) +_readCreateSubscriptionStmt(const OUT_TYPE(CreateSubscriptionStmt, CreateSubscriptionStmt) msg) { CreateSubscriptionStmt *node = makeNode(CreateSubscriptionStmt); - READ_STRING_FIELD(subname, subname, subname); - READ_STRING_FIELD(conninfo, conninfo, conninfo); - READ_LIST_FIELD(publication, publication, publication); - READ_LIST_FIELD(options, options, options); + READ_STRING_FIELD(CreateSubscriptionStmt, subname, subname, subname); + READ_STRING_FIELD(CreateSubscriptionStmt, conninfo, conninfo, conninfo); + READ_LIST_FIELD(CreateSubscriptionStmt, publication, publication, publication); + READ_LIST_FIELD(CreateSubscriptionStmt, options, options, options); + READ_INT_FIELD(CreateSubscriptionStmt, conninfo_location, conninfo_location, conninfo_location); return node; } static AlterSubscriptionStmt * -_readAlterSubscriptionStmt(OUT_TYPE(AlterSubscriptionStmt, AlterSubscriptionStmt) msg) +_readAlterSubscriptionStmt(const OUT_TYPE(AlterSubscriptionStmt, AlterSubscriptionStmt) msg) { AlterSubscriptionStmt *node = makeNode(AlterSubscriptionStmt); - READ_ENUM_FIELD(AlterSubscriptionType, kind, kind, kind); - READ_STRING_FIELD(subname, subname, subname); - READ_STRING_FIELD(conninfo, conninfo, conninfo); - READ_LIST_FIELD(publication, publication, publication); - READ_LIST_FIELD(options, options, options); + READ_ENUM_FIELD(AlterSubscriptionStmt, AlterSubscriptionType, kind, kind, kind); + READ_STRING_FIELD(AlterSubscriptionStmt, subname, subname, subname); + READ_STRING_FIELD(AlterSubscriptionStmt, conninfo, conninfo, conninfo); + READ_LIST_FIELD(AlterSubscriptionStmt, publication, publication, publication); + READ_LIST_FIELD(AlterSubscriptionStmt, options, options, options); + READ_INT_FIELD(AlterSubscriptionStmt, conninfo_location, conninfo_location, conninfo_location); return node; } static DropSubscriptionStmt * -_readDropSubscriptionStmt(OUT_TYPE(DropSubscriptionStmt, DropSubscriptionStmt) msg) +_readDropSubscriptionStmt(const OUT_TYPE(DropSubscriptionStmt, DropSubscriptionStmt) msg) { DropSubscriptionStmt *node = makeNode(DropSubscriptionStmt); - READ_STRING_FIELD(subname, subname, subname); - READ_BOOL_FIELD(missing_ok, missing_ok, missing_ok); - READ_ENUM_FIELD(DropBehavior, behavior, behavior, behavior); + READ_STRING_FIELD(DropSubscriptionStmt, subname, subname, subname); + READ_BOOL_FIELD(DropSubscriptionStmt, missing_ok, missing_ok, missing_ok); + READ_ENUM_FIELD(DropSubscriptionStmt, DropBehavior, behavior, behavior, behavior); return node; } diff --git a/src/include/pg_query_scan_defs.c b/src/include/pg_query_scan_defs.c new file mode 100644 index 000000000..016383260 --- /dev/null +++ b/src/include/pg_query_scan_defs.c @@ -0,0 +1,567 @@ +// This file is autogenerated by ./scripts/generate_protobuf_and_funcs.rb + +const char * +pg_query_keyword_kind_name(PgQueryKeywordKind keyword_kind) +{ + switch (keyword_kind) { + case PG_QUERY_NO_KEYWORD: return "NO_KEYWORD"; + case PG_QUERY_UNRESERVED_KEYWORD: return "UNRESERVED_KEYWORD"; + case PG_QUERY_COL_NAME_KEYWORD: return "COL_NAME_KEYWORD"; + case PG_QUERY_TYPE_FUNC_NAME_KEYWORD: return "TYPE_FUNC_NAME_KEYWORD"; + case PG_QUERY_RESERVED_KEYWORD: return "RESERVED_KEYWORD"; + } + return NULL; +} + +const char * +pg_query_token_name(PgQueryToken token) +{ + switch (token) { + case PG_QUERY_TOKEN_NUL: return "NUL"; + case PG_QUERY_TOKEN_ASCII_36: return "ASCII_36"; + case PG_QUERY_TOKEN_ASCII_37: return "ASCII_37"; + case PG_QUERY_TOKEN_ASCII_40: return "ASCII_40"; + case PG_QUERY_TOKEN_ASCII_41: return "ASCII_41"; + case PG_QUERY_TOKEN_ASCII_42: return "ASCII_42"; + case PG_QUERY_TOKEN_ASCII_43: return "ASCII_43"; + case PG_QUERY_TOKEN_ASCII_44: return "ASCII_44"; + case PG_QUERY_TOKEN_ASCII_45: return "ASCII_45"; + case PG_QUERY_TOKEN_ASCII_46: return "ASCII_46"; + case PG_QUERY_TOKEN_ASCII_47: return "ASCII_47"; + case PG_QUERY_TOKEN_ASCII_58: return "ASCII_58"; + case PG_QUERY_TOKEN_ASCII_59: return "ASCII_59"; + case PG_QUERY_TOKEN_ASCII_60: return "ASCII_60"; + case PG_QUERY_TOKEN_ASCII_61: return "ASCII_61"; + case PG_QUERY_TOKEN_ASCII_62: return "ASCII_62"; + case PG_QUERY_TOKEN_ASCII_63: return "ASCII_63"; + case PG_QUERY_TOKEN_ASCII_91: return "ASCII_91"; + case PG_QUERY_TOKEN_ASCII_92: return "ASCII_92"; + case PG_QUERY_TOKEN_ASCII_93: return "ASCII_93"; + case PG_QUERY_TOKEN_ASCII_94: return "ASCII_94"; + case PG_QUERY_TOKEN_IDENT: return "IDENT"; + case PG_QUERY_TOKEN_UIDENT: return "UIDENT"; + case PG_QUERY_TOKEN_FCONST: return "FCONST"; + case PG_QUERY_TOKEN_SCONST: return "SCONST"; + case PG_QUERY_TOKEN_USCONST: return "USCONST"; + case PG_QUERY_TOKEN_BCONST: return "BCONST"; + case PG_QUERY_TOKEN_XCONST: return "XCONST"; + case PG_QUERY_TOKEN_Op: return "Op"; + case PG_QUERY_TOKEN_ICONST: return "ICONST"; + case PG_QUERY_TOKEN_PARAM: return "PARAM"; + case PG_QUERY_TOKEN_TYPECAST: return "TYPECAST"; + case PG_QUERY_TOKEN_DOT_DOT: return "DOT_DOT"; + case PG_QUERY_TOKEN_COLON_EQUALS: return "COLON_EQUALS"; + case PG_QUERY_TOKEN_EQUALS_GREATER: return "EQUALS_GREATER"; + case PG_QUERY_TOKEN_LESS_EQUALS: return "LESS_EQUALS"; + case PG_QUERY_TOKEN_GREATER_EQUALS: return "GREATER_EQUALS"; + case PG_QUERY_TOKEN_NOT_EQUALS: return "NOT_EQUALS"; + case PG_QUERY_TOKEN_SQL_COMMENT: return "SQL_COMMENT"; + case PG_QUERY_TOKEN_C_COMMENT: return "C_COMMENT"; + case PG_QUERY_TOKEN_ABORT_P: return "ABORT_P"; + case PG_QUERY_TOKEN_ABSENT: return "ABSENT"; + case PG_QUERY_TOKEN_ABSOLUTE_P: return "ABSOLUTE_P"; + case PG_QUERY_TOKEN_ACCESS: return "ACCESS"; + case PG_QUERY_TOKEN_ACTION: return "ACTION"; + case PG_QUERY_TOKEN_ADD_P: return "ADD_P"; + case PG_QUERY_TOKEN_ADMIN: return "ADMIN"; + case PG_QUERY_TOKEN_AFTER: return "AFTER"; + case PG_QUERY_TOKEN_AGGREGATE: return "AGGREGATE"; + case PG_QUERY_TOKEN_ALL: return "ALL"; + case PG_QUERY_TOKEN_ALSO: return "ALSO"; + case PG_QUERY_TOKEN_ALTER: return "ALTER"; + case PG_QUERY_TOKEN_ALWAYS: return "ALWAYS"; + case PG_QUERY_TOKEN_ANALYSE: return "ANALYSE"; + case PG_QUERY_TOKEN_ANALYZE: return "ANALYZE"; + case PG_QUERY_TOKEN_AND: return "AND"; + case PG_QUERY_TOKEN_ANY: return "ANY"; + case PG_QUERY_TOKEN_ARRAY: return "ARRAY"; + case PG_QUERY_TOKEN_AS: return "AS"; + case PG_QUERY_TOKEN_ASC: return "ASC"; + case PG_QUERY_TOKEN_ASENSITIVE: return "ASENSITIVE"; + case PG_QUERY_TOKEN_ASSERTION: return "ASSERTION"; + case PG_QUERY_TOKEN_ASSIGNMENT: return "ASSIGNMENT"; + case PG_QUERY_TOKEN_ASYMMETRIC: return "ASYMMETRIC"; + case PG_QUERY_TOKEN_ATOMIC: return "ATOMIC"; + case PG_QUERY_TOKEN_AT: return "AT"; + case PG_QUERY_TOKEN_ATTACH: return "ATTACH"; + case PG_QUERY_TOKEN_ATTRIBUTE: return "ATTRIBUTE"; + case PG_QUERY_TOKEN_AUTHORIZATION: return "AUTHORIZATION"; + case PG_QUERY_TOKEN_BACKWARD: return "BACKWARD"; + case PG_QUERY_TOKEN_BEFORE: return "BEFORE"; + case PG_QUERY_TOKEN_BEGIN_P: return "BEGIN_P"; + case PG_QUERY_TOKEN_BETWEEN: return "BETWEEN"; + case PG_QUERY_TOKEN_BIGINT: return "BIGINT"; + case PG_QUERY_TOKEN_BINARY: return "BINARY"; + case PG_QUERY_TOKEN_BIT: return "BIT"; + case PG_QUERY_TOKEN_BOOLEAN_P: return "BOOLEAN_P"; + case PG_QUERY_TOKEN_BOTH: return "BOTH"; + case PG_QUERY_TOKEN_BREADTH: return "BREADTH"; + case PG_QUERY_TOKEN_BY: return "BY"; + case PG_QUERY_TOKEN_CACHE: return "CACHE"; + case PG_QUERY_TOKEN_CALL: return "CALL"; + case PG_QUERY_TOKEN_CALLED: return "CALLED"; + case PG_QUERY_TOKEN_CASCADE: return "CASCADE"; + case PG_QUERY_TOKEN_CASCADED: return "CASCADED"; + case PG_QUERY_TOKEN_CASE: return "CASE"; + case PG_QUERY_TOKEN_CAST: return "CAST"; + case PG_QUERY_TOKEN_CATALOG_P: return "CATALOG_P"; + case PG_QUERY_TOKEN_CHAIN: return "CHAIN"; + case PG_QUERY_TOKEN_CHAR_P: return "CHAR_P"; + case PG_QUERY_TOKEN_CHARACTER: return "CHARACTER"; + case PG_QUERY_TOKEN_CHARACTERISTICS: return "CHARACTERISTICS"; + case PG_QUERY_TOKEN_CHECK: return "CHECK"; + case PG_QUERY_TOKEN_CHECKPOINT: return "CHECKPOINT"; + case PG_QUERY_TOKEN_CLASS: return "CLASS"; + case PG_QUERY_TOKEN_CLOSE: return "CLOSE"; + case PG_QUERY_TOKEN_CLUSTER: return "CLUSTER"; + case PG_QUERY_TOKEN_COALESCE: return "COALESCE"; + case PG_QUERY_TOKEN_COLLATE: return "COLLATE"; + case PG_QUERY_TOKEN_COLLATION: return "COLLATION"; + case PG_QUERY_TOKEN_COLUMN: return "COLUMN"; + case PG_QUERY_TOKEN_COLUMNS: return "COLUMNS"; + case PG_QUERY_TOKEN_COMMENT: return "COMMENT"; + case PG_QUERY_TOKEN_COMMENTS: return "COMMENTS"; + case PG_QUERY_TOKEN_COMMIT: return "COMMIT"; + case PG_QUERY_TOKEN_COMMITTED: return "COMMITTED"; + case PG_QUERY_TOKEN_COMPRESSION: return "COMPRESSION"; + case PG_QUERY_TOKEN_CONCURRENTLY: return "CONCURRENTLY"; + case PG_QUERY_TOKEN_CONDITIONAL: return "CONDITIONAL"; + case PG_QUERY_TOKEN_CONFIGURATION: return "CONFIGURATION"; + case PG_QUERY_TOKEN_CONFLICT: return "CONFLICT"; + case PG_QUERY_TOKEN_CONNECTION: return "CONNECTION"; + case PG_QUERY_TOKEN_CONSTRAINT: return "CONSTRAINT"; + case PG_QUERY_TOKEN_CONSTRAINTS: return "CONSTRAINTS"; + case PG_QUERY_TOKEN_CONTENT_P: return "CONTENT_P"; + case PG_QUERY_TOKEN_CONTINUE_P: return "CONTINUE_P"; + case PG_QUERY_TOKEN_CONVERSION_P: return "CONVERSION_P"; + case PG_QUERY_TOKEN_COPY: return "COPY"; + case PG_QUERY_TOKEN_COST: return "COST"; + case PG_QUERY_TOKEN_CREATE: return "CREATE"; + case PG_QUERY_TOKEN_CROSS: return "CROSS"; + case PG_QUERY_TOKEN_CSV: return "CSV"; + case PG_QUERY_TOKEN_CUBE: return "CUBE"; + case PG_QUERY_TOKEN_CURRENT_P: return "CURRENT_P"; + case PG_QUERY_TOKEN_CURRENT_CATALOG: return "CURRENT_CATALOG"; + case PG_QUERY_TOKEN_CURRENT_DATE: return "CURRENT_DATE"; + case PG_QUERY_TOKEN_CURRENT_ROLE: return "CURRENT_ROLE"; + case PG_QUERY_TOKEN_CURRENT_SCHEMA: return "CURRENT_SCHEMA"; + case PG_QUERY_TOKEN_CURRENT_TIME: return "CURRENT_TIME"; + case PG_QUERY_TOKEN_CURRENT_TIMESTAMP: return "CURRENT_TIMESTAMP"; + case PG_QUERY_TOKEN_CURRENT_USER: return "CURRENT_USER"; + case PG_QUERY_TOKEN_CURSOR: return "CURSOR"; + case PG_QUERY_TOKEN_CYCLE: return "CYCLE"; + case PG_QUERY_TOKEN_DATA_P: return "DATA_P"; + case PG_QUERY_TOKEN_DATABASE: return "DATABASE"; + case PG_QUERY_TOKEN_DAY_P: return "DAY_P"; + case PG_QUERY_TOKEN_DEALLOCATE: return "DEALLOCATE"; + case PG_QUERY_TOKEN_DEC: return "DEC"; + case PG_QUERY_TOKEN_DECIMAL_P: return "DECIMAL_P"; + case PG_QUERY_TOKEN_DECLARE: return "DECLARE"; + case PG_QUERY_TOKEN_DEFAULT: return "DEFAULT"; + case PG_QUERY_TOKEN_DEFAULTS: return "DEFAULTS"; + case PG_QUERY_TOKEN_DEFERRABLE: return "DEFERRABLE"; + case PG_QUERY_TOKEN_DEFERRED: return "DEFERRED"; + case PG_QUERY_TOKEN_DEFINER: return "DEFINER"; + case PG_QUERY_TOKEN_DELETE_P: return "DELETE_P"; + case PG_QUERY_TOKEN_DELIMITER: return "DELIMITER"; + case PG_QUERY_TOKEN_DELIMITERS: return "DELIMITERS"; + case PG_QUERY_TOKEN_DEPENDS: return "DEPENDS"; + case PG_QUERY_TOKEN_DEPTH: return "DEPTH"; + case PG_QUERY_TOKEN_DESC: return "DESC"; + case PG_QUERY_TOKEN_DETACH: return "DETACH"; + case PG_QUERY_TOKEN_DICTIONARY: return "DICTIONARY"; + case PG_QUERY_TOKEN_DISABLE_P: return "DISABLE_P"; + case PG_QUERY_TOKEN_DISCARD: return "DISCARD"; + case PG_QUERY_TOKEN_DISTINCT: return "DISTINCT"; + case PG_QUERY_TOKEN_DO: return "DO"; + case PG_QUERY_TOKEN_DOCUMENT_P: return "DOCUMENT_P"; + case PG_QUERY_TOKEN_DOMAIN_P: return "DOMAIN_P"; + case PG_QUERY_TOKEN_DOUBLE_P: return "DOUBLE_P"; + case PG_QUERY_TOKEN_DROP: return "DROP"; + case PG_QUERY_TOKEN_EACH: return "EACH"; + case PG_QUERY_TOKEN_ELSE: return "ELSE"; + case PG_QUERY_TOKEN_EMPTY_P: return "EMPTY_P"; + case PG_QUERY_TOKEN_ENABLE_P: return "ENABLE_P"; + case PG_QUERY_TOKEN_ENCODING: return "ENCODING"; + case PG_QUERY_TOKEN_ENCRYPTED: return "ENCRYPTED"; + case PG_QUERY_TOKEN_END_P: return "END_P"; + case PG_QUERY_TOKEN_ENFORCED: return "ENFORCED"; + case PG_QUERY_TOKEN_ENUM_P: return "ENUM_P"; + case PG_QUERY_TOKEN_ERROR_P: return "ERROR_P"; + case PG_QUERY_TOKEN_ESCAPE: return "ESCAPE"; + case PG_QUERY_TOKEN_EVENT: return "EVENT"; + case PG_QUERY_TOKEN_EXCEPT: return "EXCEPT"; + case PG_QUERY_TOKEN_EXCLUDE: return "EXCLUDE"; + case PG_QUERY_TOKEN_EXCLUDING: return "EXCLUDING"; + case PG_QUERY_TOKEN_EXCLUSIVE: return "EXCLUSIVE"; + case PG_QUERY_TOKEN_EXECUTE: return "EXECUTE"; + case PG_QUERY_TOKEN_EXISTS: return "EXISTS"; + case PG_QUERY_TOKEN_EXPLAIN: return "EXPLAIN"; + case PG_QUERY_TOKEN_EXPRESSION: return "EXPRESSION"; + case PG_QUERY_TOKEN_EXTENSION: return "EXTENSION"; + case PG_QUERY_TOKEN_EXTERNAL: return "EXTERNAL"; + case PG_QUERY_TOKEN_EXTRACT: return "EXTRACT"; + case PG_QUERY_TOKEN_FALSE_P: return "FALSE_P"; + case PG_QUERY_TOKEN_FAMILY: return "FAMILY"; + case PG_QUERY_TOKEN_FETCH: return "FETCH"; + case PG_QUERY_TOKEN_FILTER: return "FILTER"; + case PG_QUERY_TOKEN_FINALIZE: return "FINALIZE"; + case PG_QUERY_TOKEN_FIRST_P: return "FIRST_P"; + case PG_QUERY_TOKEN_FLOAT_P: return "FLOAT_P"; + case PG_QUERY_TOKEN_FOLLOWING: return "FOLLOWING"; + case PG_QUERY_TOKEN_FOR: return "FOR"; + case PG_QUERY_TOKEN_FORCE: return "FORCE"; + case PG_QUERY_TOKEN_FOREIGN: return "FOREIGN"; + case PG_QUERY_TOKEN_FORMAT: return "FORMAT"; + case PG_QUERY_TOKEN_FORWARD: return "FORWARD"; + case PG_QUERY_TOKEN_FREEZE: return "FREEZE"; + case PG_QUERY_TOKEN_FROM: return "FROM"; + case PG_QUERY_TOKEN_FULL: return "FULL"; + case PG_QUERY_TOKEN_FUNCTION: return "FUNCTION"; + case PG_QUERY_TOKEN_FUNCTIONS: return "FUNCTIONS"; + case PG_QUERY_TOKEN_GENERATED: return "GENERATED"; + case PG_QUERY_TOKEN_GLOBAL: return "GLOBAL"; + case PG_QUERY_TOKEN_GRANT: return "GRANT"; + case PG_QUERY_TOKEN_GRANTED: return "GRANTED"; + case PG_QUERY_TOKEN_GREATEST: return "GREATEST"; + case PG_QUERY_TOKEN_GROUP_P: return "GROUP_P"; + case PG_QUERY_TOKEN_GROUPING: return "GROUPING"; + case PG_QUERY_TOKEN_GROUPS: return "GROUPS"; + case PG_QUERY_TOKEN_HANDLER: return "HANDLER"; + case PG_QUERY_TOKEN_HAVING: return "HAVING"; + case PG_QUERY_TOKEN_HEADER_P: return "HEADER_P"; + case PG_QUERY_TOKEN_HOLD: return "HOLD"; + case PG_QUERY_TOKEN_HOUR_P: return "HOUR_P"; + case PG_QUERY_TOKEN_IDENTITY_P: return "IDENTITY_P"; + case PG_QUERY_TOKEN_IF_P: return "IF_P"; + case PG_QUERY_TOKEN_ILIKE: return "ILIKE"; + case PG_QUERY_TOKEN_IMMEDIATE: return "IMMEDIATE"; + case PG_QUERY_TOKEN_IMMUTABLE: return "IMMUTABLE"; + case PG_QUERY_TOKEN_IMPLICIT_P: return "IMPLICIT_P"; + case PG_QUERY_TOKEN_IMPORT_P: return "IMPORT_P"; + case PG_QUERY_TOKEN_IN_P: return "IN_P"; + case PG_QUERY_TOKEN_INCLUDE: return "INCLUDE"; + case PG_QUERY_TOKEN_INCLUDING: return "INCLUDING"; + case PG_QUERY_TOKEN_INCREMENT: return "INCREMENT"; + case PG_QUERY_TOKEN_INDENT: return "INDENT"; + case PG_QUERY_TOKEN_INDEX: return "INDEX"; + case PG_QUERY_TOKEN_INDEXES: return "INDEXES"; + case PG_QUERY_TOKEN_INHERIT: return "INHERIT"; + case PG_QUERY_TOKEN_INHERITS: return "INHERITS"; + case PG_QUERY_TOKEN_INITIALLY: return "INITIALLY"; + case PG_QUERY_TOKEN_INLINE_P: return "INLINE_P"; + case PG_QUERY_TOKEN_INNER_P: return "INNER_P"; + case PG_QUERY_TOKEN_INOUT: return "INOUT"; + case PG_QUERY_TOKEN_INPUT_P: return "INPUT_P"; + case PG_QUERY_TOKEN_INSENSITIVE: return "INSENSITIVE"; + case PG_QUERY_TOKEN_INSERT: return "INSERT"; + case PG_QUERY_TOKEN_INSTEAD: return "INSTEAD"; + case PG_QUERY_TOKEN_INT_P: return "INT_P"; + case PG_QUERY_TOKEN_INTEGER: return "INTEGER"; + case PG_QUERY_TOKEN_INTERSECT: return "INTERSECT"; + case PG_QUERY_TOKEN_INTERVAL: return "INTERVAL"; + case PG_QUERY_TOKEN_INTO: return "INTO"; + case PG_QUERY_TOKEN_INVOKER: return "INVOKER"; + case PG_QUERY_TOKEN_IS: return "IS"; + case PG_QUERY_TOKEN_ISNULL: return "ISNULL"; + case PG_QUERY_TOKEN_ISOLATION: return "ISOLATION"; + case PG_QUERY_TOKEN_JOIN: return "JOIN"; + case PG_QUERY_TOKEN_JSON: return "JSON"; + case PG_QUERY_TOKEN_JSON_ARRAY: return "JSON_ARRAY"; + case PG_QUERY_TOKEN_JSON_ARRAYAGG: return "JSON_ARRAYAGG"; + case PG_QUERY_TOKEN_JSON_EXISTS: return "JSON_EXISTS"; + case PG_QUERY_TOKEN_JSON_OBJECT: return "JSON_OBJECT"; + case PG_QUERY_TOKEN_JSON_OBJECTAGG: return "JSON_OBJECTAGG"; + case PG_QUERY_TOKEN_JSON_QUERY: return "JSON_QUERY"; + case PG_QUERY_TOKEN_JSON_SCALAR: return "JSON_SCALAR"; + case PG_QUERY_TOKEN_JSON_SERIALIZE: return "JSON_SERIALIZE"; + case PG_QUERY_TOKEN_JSON_TABLE: return "JSON_TABLE"; + case PG_QUERY_TOKEN_JSON_VALUE: return "JSON_VALUE"; + case PG_QUERY_TOKEN_KEEP: return "KEEP"; + case PG_QUERY_TOKEN_KEY: return "KEY"; + case PG_QUERY_TOKEN_KEYS: return "KEYS"; + case PG_QUERY_TOKEN_LABEL: return "LABEL"; + case PG_QUERY_TOKEN_LANGUAGE: return "LANGUAGE"; + case PG_QUERY_TOKEN_LARGE_P: return "LARGE_P"; + case PG_QUERY_TOKEN_LAST_P: return "LAST_P"; + case PG_QUERY_TOKEN_LATERAL_P: return "LATERAL_P"; + case PG_QUERY_TOKEN_LEADING: return "LEADING"; + case PG_QUERY_TOKEN_LEAKPROOF: return "LEAKPROOF"; + case PG_QUERY_TOKEN_LEAST: return "LEAST"; + case PG_QUERY_TOKEN_LEFT: return "LEFT"; + case PG_QUERY_TOKEN_LEVEL: return "LEVEL"; + case PG_QUERY_TOKEN_LIKE: return "LIKE"; + case PG_QUERY_TOKEN_LIMIT: return "LIMIT"; + case PG_QUERY_TOKEN_LISTEN: return "LISTEN"; + case PG_QUERY_TOKEN_LOAD: return "LOAD"; + case PG_QUERY_TOKEN_LOCAL: return "LOCAL"; + case PG_QUERY_TOKEN_LOCALTIME: return "LOCALTIME"; + case PG_QUERY_TOKEN_LOCALTIMESTAMP: return "LOCALTIMESTAMP"; + case PG_QUERY_TOKEN_LOCATION: return "LOCATION"; + case PG_QUERY_TOKEN_LOCK_P: return "LOCK_P"; + case PG_QUERY_TOKEN_LOCKED: return "LOCKED"; + case PG_QUERY_TOKEN_LOGGED: return "LOGGED"; + case PG_QUERY_TOKEN_MAPPING: return "MAPPING"; + case PG_QUERY_TOKEN_MATCH: return "MATCH"; + case PG_QUERY_TOKEN_MATCHED: return "MATCHED"; + case PG_QUERY_TOKEN_MATERIALIZED: return "MATERIALIZED"; + case PG_QUERY_TOKEN_MAXVALUE: return "MAXVALUE"; + case PG_QUERY_TOKEN_MERGE: return "MERGE"; + case PG_QUERY_TOKEN_MERGE_ACTION: return "MERGE_ACTION"; + case PG_QUERY_TOKEN_METHOD: return "METHOD"; + case PG_QUERY_TOKEN_MINUTE_P: return "MINUTE_P"; + case PG_QUERY_TOKEN_MINVALUE: return "MINVALUE"; + case PG_QUERY_TOKEN_MODE: return "MODE"; + case PG_QUERY_TOKEN_MONTH_P: return "MONTH_P"; + case PG_QUERY_TOKEN_MOVE: return "MOVE"; + case PG_QUERY_TOKEN_NAME_P: return "NAME_P"; + case PG_QUERY_TOKEN_NAMES: return "NAMES"; + case PG_QUERY_TOKEN_NATIONAL: return "NATIONAL"; + case PG_QUERY_TOKEN_NATURAL: return "NATURAL"; + case PG_QUERY_TOKEN_NCHAR: return "NCHAR"; + case PG_QUERY_TOKEN_NESTED: return "NESTED"; + case PG_QUERY_TOKEN_NEW: return "NEW"; + case PG_QUERY_TOKEN_NEXT: return "NEXT"; + case PG_QUERY_TOKEN_NFC: return "NFC"; + case PG_QUERY_TOKEN_NFD: return "NFD"; + case PG_QUERY_TOKEN_NFKC: return "NFKC"; + case PG_QUERY_TOKEN_NFKD: return "NFKD"; + case PG_QUERY_TOKEN_NO: return "NO"; + case PG_QUERY_TOKEN_NONE: return "NONE"; + case PG_QUERY_TOKEN_NORMALIZE: return "NORMALIZE"; + case PG_QUERY_TOKEN_NORMALIZED: return "NORMALIZED"; + case PG_QUERY_TOKEN_NOT: return "NOT"; + case PG_QUERY_TOKEN_NOTHING: return "NOTHING"; + case PG_QUERY_TOKEN_NOTIFY: return "NOTIFY"; + case PG_QUERY_TOKEN_NOTNULL: return "NOTNULL"; + case PG_QUERY_TOKEN_NOWAIT: return "NOWAIT"; + case PG_QUERY_TOKEN_NULL_P: return "NULL_P"; + case PG_QUERY_TOKEN_NULLIF: return "NULLIF"; + case PG_QUERY_TOKEN_NULLS_P: return "NULLS_P"; + case PG_QUERY_TOKEN_NUMERIC: return "NUMERIC"; + case PG_QUERY_TOKEN_OBJECT_P: return "OBJECT_P"; + case PG_QUERY_TOKEN_OBJECTS_P: return "OBJECTS_P"; + case PG_QUERY_TOKEN_OF: return "OF"; + case PG_QUERY_TOKEN_OFF: return "OFF"; + case PG_QUERY_TOKEN_OFFSET: return "OFFSET"; + case PG_QUERY_TOKEN_OIDS: return "OIDS"; + case PG_QUERY_TOKEN_OLD: return "OLD"; + case PG_QUERY_TOKEN_OMIT: return "OMIT"; + case PG_QUERY_TOKEN_ON: return "ON"; + case PG_QUERY_TOKEN_ONLY: return "ONLY"; + case PG_QUERY_TOKEN_OPERATOR: return "OPERATOR"; + case PG_QUERY_TOKEN_OPTION: return "OPTION"; + case PG_QUERY_TOKEN_OPTIONS: return "OPTIONS"; + case PG_QUERY_TOKEN_OR: return "OR"; + case PG_QUERY_TOKEN_ORDER: return "ORDER"; + case PG_QUERY_TOKEN_ORDINALITY: return "ORDINALITY"; + case PG_QUERY_TOKEN_OTHERS: return "OTHERS"; + case PG_QUERY_TOKEN_OUT_P: return "OUT_P"; + case PG_QUERY_TOKEN_OUTER_P: return "OUTER_P"; + case PG_QUERY_TOKEN_OVER: return "OVER"; + case PG_QUERY_TOKEN_OVERLAPS: return "OVERLAPS"; + case PG_QUERY_TOKEN_OVERLAY: return "OVERLAY"; + case PG_QUERY_TOKEN_OVERRIDING: return "OVERRIDING"; + case PG_QUERY_TOKEN_OWNED: return "OWNED"; + case PG_QUERY_TOKEN_OWNER: return "OWNER"; + case PG_QUERY_TOKEN_PARALLEL: return "PARALLEL"; + case PG_QUERY_TOKEN_PARAMETER: return "PARAMETER"; + case PG_QUERY_TOKEN_PARSER: return "PARSER"; + case PG_QUERY_TOKEN_PARTIAL: return "PARTIAL"; + case PG_QUERY_TOKEN_PARTITION: return "PARTITION"; + case PG_QUERY_TOKEN_PASSING: return "PASSING"; + case PG_QUERY_TOKEN_PASSWORD: return "PASSWORD"; + case PG_QUERY_TOKEN_PATH: return "PATH"; + case PG_QUERY_TOKEN_PERIOD: return "PERIOD"; + case PG_QUERY_TOKEN_PLACING: return "PLACING"; + case PG_QUERY_TOKEN_PLAN: return "PLAN"; + case PG_QUERY_TOKEN_PLANS: return "PLANS"; + case PG_QUERY_TOKEN_POLICY: return "POLICY"; + case PG_QUERY_TOKEN_POSITION: return "POSITION"; + case PG_QUERY_TOKEN_PRECEDING: return "PRECEDING"; + case PG_QUERY_TOKEN_PRECISION: return "PRECISION"; + case PG_QUERY_TOKEN_PRESERVE: return "PRESERVE"; + case PG_QUERY_TOKEN_PREPARE: return "PREPARE"; + case PG_QUERY_TOKEN_PREPARED: return "PREPARED"; + case PG_QUERY_TOKEN_PRIMARY: return "PRIMARY"; + case PG_QUERY_TOKEN_PRIOR: return "PRIOR"; + case PG_QUERY_TOKEN_PRIVILEGES: return "PRIVILEGES"; + case PG_QUERY_TOKEN_PROCEDURAL: return "PROCEDURAL"; + case PG_QUERY_TOKEN_PROCEDURE: return "PROCEDURE"; + case PG_QUERY_TOKEN_PROCEDURES: return "PROCEDURES"; + case PG_QUERY_TOKEN_PROGRAM: return "PROGRAM"; + case PG_QUERY_TOKEN_PUBLICATION: return "PUBLICATION"; + case PG_QUERY_TOKEN_QUOTE: return "QUOTE"; + case PG_QUERY_TOKEN_QUOTES: return "QUOTES"; + case PG_QUERY_TOKEN_RANGE: return "RANGE"; + case PG_QUERY_TOKEN_READ: return "READ"; + case PG_QUERY_TOKEN_REAL: return "REAL"; + case PG_QUERY_TOKEN_REASSIGN: return "REASSIGN"; + case PG_QUERY_TOKEN_RECURSIVE: return "RECURSIVE"; + case PG_QUERY_TOKEN_REF_P: return "REF_P"; + case PG_QUERY_TOKEN_REFERENCES: return "REFERENCES"; + case PG_QUERY_TOKEN_REFERENCING: return "REFERENCING"; + case PG_QUERY_TOKEN_REFRESH: return "REFRESH"; + case PG_QUERY_TOKEN_REINDEX: return "REINDEX"; + case PG_QUERY_TOKEN_RELATIVE_P: return "RELATIVE_P"; + case PG_QUERY_TOKEN_RELEASE: return "RELEASE"; + case PG_QUERY_TOKEN_RENAME: return "RENAME"; + case PG_QUERY_TOKEN_REPEATABLE: return "REPEATABLE"; + case PG_QUERY_TOKEN_REPLACE: return "REPLACE"; + case PG_QUERY_TOKEN_REPLICA: return "REPLICA"; + case PG_QUERY_TOKEN_RESET: return "RESET"; + case PG_QUERY_TOKEN_RESTART: return "RESTART"; + case PG_QUERY_TOKEN_RESTRICT: return "RESTRICT"; + case PG_QUERY_TOKEN_RETURN: return "RETURN"; + case PG_QUERY_TOKEN_RETURNING: return "RETURNING"; + case PG_QUERY_TOKEN_RETURNS: return "RETURNS"; + case PG_QUERY_TOKEN_REVOKE: return "REVOKE"; + case PG_QUERY_TOKEN_RIGHT: return "RIGHT"; + case PG_QUERY_TOKEN_ROLE: return "ROLE"; + case PG_QUERY_TOKEN_ROLLBACK: return "ROLLBACK"; + case PG_QUERY_TOKEN_ROLLUP: return "ROLLUP"; + case PG_QUERY_TOKEN_ROUTINE: return "ROUTINE"; + case PG_QUERY_TOKEN_ROUTINES: return "ROUTINES"; + case PG_QUERY_TOKEN_ROW: return "ROW"; + case PG_QUERY_TOKEN_ROWS: return "ROWS"; + case PG_QUERY_TOKEN_RULE: return "RULE"; + case PG_QUERY_TOKEN_SAVEPOINT: return "SAVEPOINT"; + case PG_QUERY_TOKEN_SCALAR: return "SCALAR"; + case PG_QUERY_TOKEN_SCHEMA: return "SCHEMA"; + case PG_QUERY_TOKEN_SCHEMAS: return "SCHEMAS"; + case PG_QUERY_TOKEN_SCROLL: return "SCROLL"; + case PG_QUERY_TOKEN_SEARCH: return "SEARCH"; + case PG_QUERY_TOKEN_SECOND_P: return "SECOND_P"; + case PG_QUERY_TOKEN_SECURITY: return "SECURITY"; + case PG_QUERY_TOKEN_SELECT: return "SELECT"; + case PG_QUERY_TOKEN_SEQUENCE: return "SEQUENCE"; + case PG_QUERY_TOKEN_SEQUENCES: return "SEQUENCES"; + case PG_QUERY_TOKEN_SERIALIZABLE: return "SERIALIZABLE"; + case PG_QUERY_TOKEN_SERVER: return "SERVER"; + case PG_QUERY_TOKEN_SESSION: return "SESSION"; + case PG_QUERY_TOKEN_SESSION_USER: return "SESSION_USER"; + case PG_QUERY_TOKEN_SET: return "SET"; + case PG_QUERY_TOKEN_SETS: return "SETS"; + case PG_QUERY_TOKEN_SETOF: return "SETOF"; + case PG_QUERY_TOKEN_SHARE: return "SHARE"; + case PG_QUERY_TOKEN_SHOW: return "SHOW"; + case PG_QUERY_TOKEN_SIMILAR: return "SIMILAR"; + case PG_QUERY_TOKEN_SIMPLE: return "SIMPLE"; + case PG_QUERY_TOKEN_SKIP: return "SKIP"; + case PG_QUERY_TOKEN_SMALLINT: return "SMALLINT"; + case PG_QUERY_TOKEN_SNAPSHOT: return "SNAPSHOT"; + case PG_QUERY_TOKEN_SOME: return "SOME"; + case PG_QUERY_TOKEN_SOURCE: return "SOURCE"; + case PG_QUERY_TOKEN_SQL_P: return "SQL_P"; + case PG_QUERY_TOKEN_STABLE: return "STABLE"; + case PG_QUERY_TOKEN_STANDALONE_P: return "STANDALONE_P"; + case PG_QUERY_TOKEN_START: return "START"; + case PG_QUERY_TOKEN_STATEMENT: return "STATEMENT"; + case PG_QUERY_TOKEN_STATISTICS: return "STATISTICS"; + case PG_QUERY_TOKEN_STDIN: return "STDIN"; + case PG_QUERY_TOKEN_STDOUT: return "STDOUT"; + case PG_QUERY_TOKEN_STORAGE: return "STORAGE"; + case PG_QUERY_TOKEN_STORED: return "STORED"; + case PG_QUERY_TOKEN_STRICT_P: return "STRICT_P"; + case PG_QUERY_TOKEN_STRING_P: return "STRING_P"; + case PG_QUERY_TOKEN_STRIP_P: return "STRIP_P"; + case PG_QUERY_TOKEN_SUBSCRIPTION: return "SUBSCRIPTION"; + case PG_QUERY_TOKEN_SUBSTRING: return "SUBSTRING"; + case PG_QUERY_TOKEN_SUPPORT: return "SUPPORT"; + case PG_QUERY_TOKEN_SYMMETRIC: return "SYMMETRIC"; + case PG_QUERY_TOKEN_SYSID: return "SYSID"; + case PG_QUERY_TOKEN_SYSTEM_P: return "SYSTEM_P"; + case PG_QUERY_TOKEN_SYSTEM_USER: return "SYSTEM_USER"; + case PG_QUERY_TOKEN_TABLE: return "TABLE"; + case PG_QUERY_TOKEN_TABLES: return "TABLES"; + case PG_QUERY_TOKEN_TABLESAMPLE: return "TABLESAMPLE"; + case PG_QUERY_TOKEN_TABLESPACE: return "TABLESPACE"; + case PG_QUERY_TOKEN_TARGET: return "TARGET"; + case PG_QUERY_TOKEN_TEMP: return "TEMP"; + case PG_QUERY_TOKEN_TEMPLATE: return "TEMPLATE"; + case PG_QUERY_TOKEN_TEMPORARY: return "TEMPORARY"; + case PG_QUERY_TOKEN_TEXT_P: return "TEXT_P"; + case PG_QUERY_TOKEN_THEN: return "THEN"; + case PG_QUERY_TOKEN_TIES: return "TIES"; + case PG_QUERY_TOKEN_TIME: return "TIME"; + case PG_QUERY_TOKEN_TIMESTAMP: return "TIMESTAMP"; + case PG_QUERY_TOKEN_TO: return "TO"; + case PG_QUERY_TOKEN_TRAILING: return "TRAILING"; + case PG_QUERY_TOKEN_TRANSACTION: return "TRANSACTION"; + case PG_QUERY_TOKEN_TRANSFORM: return "TRANSFORM"; + case PG_QUERY_TOKEN_TREAT: return "TREAT"; + case PG_QUERY_TOKEN_TRIGGER: return "TRIGGER"; + case PG_QUERY_TOKEN_TRIM: return "TRIM"; + case PG_QUERY_TOKEN_TRUE_P: return "TRUE_P"; + case PG_QUERY_TOKEN_TRUNCATE: return "TRUNCATE"; + case PG_QUERY_TOKEN_TRUSTED: return "TRUSTED"; + case PG_QUERY_TOKEN_TYPE_P: return "TYPE_P"; + case PG_QUERY_TOKEN_TYPES_P: return "TYPES_P"; + case PG_QUERY_TOKEN_UESCAPE: return "UESCAPE"; + case PG_QUERY_TOKEN_UNBOUNDED: return "UNBOUNDED"; + case PG_QUERY_TOKEN_UNCONDITIONAL: return "UNCONDITIONAL"; + case PG_QUERY_TOKEN_UNCOMMITTED: return "UNCOMMITTED"; + case PG_QUERY_TOKEN_UNENCRYPTED: return "UNENCRYPTED"; + case PG_QUERY_TOKEN_UNION: return "UNION"; + case PG_QUERY_TOKEN_UNIQUE: return "UNIQUE"; + case PG_QUERY_TOKEN_UNKNOWN: return "UNKNOWN"; + case PG_QUERY_TOKEN_UNLISTEN: return "UNLISTEN"; + case PG_QUERY_TOKEN_UNLOGGED: return "UNLOGGED"; + case PG_QUERY_TOKEN_UNTIL: return "UNTIL"; + case PG_QUERY_TOKEN_UPDATE: return "UPDATE"; + case PG_QUERY_TOKEN_USER: return "USER"; + case PG_QUERY_TOKEN_USING: return "USING"; + case PG_QUERY_TOKEN_VACUUM: return "VACUUM"; + case PG_QUERY_TOKEN_VALID: return "VALID"; + case PG_QUERY_TOKEN_VALIDATE: return "VALIDATE"; + case PG_QUERY_TOKEN_VALIDATOR: return "VALIDATOR"; + case PG_QUERY_TOKEN_VALUE_P: return "VALUE_P"; + case PG_QUERY_TOKEN_VALUES: return "VALUES"; + case PG_QUERY_TOKEN_VARCHAR: return "VARCHAR"; + case PG_QUERY_TOKEN_VARIADIC: return "VARIADIC"; + case PG_QUERY_TOKEN_VARYING: return "VARYING"; + case PG_QUERY_TOKEN_VERBOSE: return "VERBOSE"; + case PG_QUERY_TOKEN_VERSION_P: return "VERSION_P"; + case PG_QUERY_TOKEN_VIEW: return "VIEW"; + case PG_QUERY_TOKEN_VIEWS: return "VIEWS"; + case PG_QUERY_TOKEN_VIRTUAL: return "VIRTUAL"; + case PG_QUERY_TOKEN_VOLATILE: return "VOLATILE"; + case PG_QUERY_TOKEN_WHEN: return "WHEN"; + case PG_QUERY_TOKEN_WHERE: return "WHERE"; + case PG_QUERY_TOKEN_WHITESPACE_P: return "WHITESPACE_P"; + case PG_QUERY_TOKEN_WINDOW: return "WINDOW"; + case PG_QUERY_TOKEN_WITH: return "WITH"; + case PG_QUERY_TOKEN_WITHIN: return "WITHIN"; + case PG_QUERY_TOKEN_WITHOUT: return "WITHOUT"; + case PG_QUERY_TOKEN_WORK: return "WORK"; + case PG_QUERY_TOKEN_WRAPPER: return "WRAPPER"; + case PG_QUERY_TOKEN_WRITE: return "WRITE"; + case PG_QUERY_TOKEN_XML_P: return "XML_P"; + case PG_QUERY_TOKEN_XMLATTRIBUTES: return "XMLATTRIBUTES"; + case PG_QUERY_TOKEN_XMLCONCAT: return "XMLCONCAT"; + case PG_QUERY_TOKEN_XMLELEMENT: return "XMLELEMENT"; + case PG_QUERY_TOKEN_XMLEXISTS: return "XMLEXISTS"; + case PG_QUERY_TOKEN_XMLFOREST: return "XMLFOREST"; + case PG_QUERY_TOKEN_XMLNAMESPACES: return "XMLNAMESPACES"; + case PG_QUERY_TOKEN_XMLPARSE: return "XMLPARSE"; + case PG_QUERY_TOKEN_XMLPI: return "XMLPI"; + case PG_QUERY_TOKEN_XMLROOT: return "XMLROOT"; + case PG_QUERY_TOKEN_XMLSERIALIZE: return "XMLSERIALIZE"; + case PG_QUERY_TOKEN_XMLTABLE: return "XMLTABLE"; + case PG_QUERY_TOKEN_YEAR_P: return "YEAR_P"; + case PG_QUERY_TOKEN_YES_P: return "YES_P"; + case PG_QUERY_TOKEN_ZONE: return "ZONE"; + case PG_QUERY_TOKEN_FORMAT_LA: return "FORMAT_LA"; + case PG_QUERY_TOKEN_NOT_LA: return "NOT_LA"; + case PG_QUERY_TOKEN_NULLS_LA: return "NULLS_LA"; + case PG_QUERY_TOKEN_WITH_LA: return "WITH_LA"; + case PG_QUERY_TOKEN_WITHOUT_LA: return "WITHOUT_LA"; + case PG_QUERY_TOKEN_MODE_TYPE_NAME: return "MODE_TYPE_NAME"; + case PG_QUERY_TOKEN_MODE_PLPGSQL_EXPR: return "MODE_PLPGSQL_EXPR"; + case PG_QUERY_TOKEN_MODE_PLPGSQL_ASSIGN1: return "MODE_PLPGSQL_ASSIGN1"; + case PG_QUERY_TOKEN_MODE_PLPGSQL_ASSIGN2: return "MODE_PLPGSQL_ASSIGN2"; + case PG_QUERY_TOKEN_MODE_PLPGSQL_ASSIGN3: return "MODE_PLPGSQL_ASSIGN3"; + case PG_QUERY_TOKEN_UMINUS: return "UMINUS"; + } + return NULL; +} diff --git a/src/pg_query.c b/src/pg_query.c index 141c4e021..f7d306719 100644 --- a/src/pg_query.c +++ b/src/pg_query.c @@ -1,14 +1,31 @@ +#if defined(__linux__) && !defined(_GNU_SOURCE) +/* Allow using pthread_getattr_np on glibc/musl. Must precede any includes. */ +#define _GNU_SOURCE +#endif + #include "pg_query.h" #include "pg_query_internal.h" +#include #include #include #include +#include #ifdef HAVE_PTHREAD #include #endif +#if defined(HAVE_PTHREAD) && (defined(__FreeBSD__) || defined(__NetBSD__)) +/* For pthread_attr_get_np() */ +#include +#endif + +#if defined(_WIN32) +/* For GetCurrentThreadStackLimits(); port/win32.h already sets _WIN32_WINNT. */ +#include +#endif + #include const char* progname = "pg_query"; @@ -20,6 +37,12 @@ static pthread_key_t pg_query_thread_exit_key; static void pg_query_thread_exit(void *key); #endif +static __thread char *pg_query_lowest_stackaddr = NULL; +static char *get_lowest_stackaddr(void); +static void set_max_stack_depth(void); +static void pg_query_enter_stack_depth_check(void); +static void pg_query_exit_stack_depth_check(void); + void pg_query_init(void) { if (pg_query_initialized != 0) return; @@ -80,6 +103,7 @@ MemoryContext pg_query_enter_memory_context() MemoryContext ctx = NULL; pg_query_init(); + pg_query_enter_stack_depth_check(); Assert(CurrentMemoryContext == TopMemoryContext); ctx = AllocSetContextCreate(TopMemoryContext, @@ -97,6 +121,8 @@ void pg_query_exit_memory_context(MemoryContext ctx) MemoryContextDelete(ctx); ctx = NULL; + + pg_query_exit_stack_depth_check(); } void pg_query_free_error(PgQueryError *error) @@ -111,3 +137,143 @@ void pg_query_free_error(PgQueryError *error) free(error); } + +/* + * Get this thread's lowest addressable stack address and cache it for + * subsequent calls. Returns NULL if address can't be determined. + */ +static char *get_lowest_stackaddr(void) +{ + if (pg_query_lowest_stackaddr) + return pg_query_lowest_stackaddr; + +#if defined(_WIN32) + { + ULONG_PTR low, high; + + GetCurrentThreadStackLimits(&low, &high); + + if (low == 0) + return NULL; + + pg_query_lowest_stackaddr = (char *) low; + } +#elif defined(HAVE_PTHREAD) && defined(__linux__) + { + pthread_attr_t attr; + void *stack_addr = NULL; + size_t stack_size = 0; + + if (pthread_getattr_np(pthread_self(), &attr) != 0) + return NULL; + + if (pthread_attr_getstack(&attr, &stack_addr, &stack_size) == 0 && stack_addr != NULL) + pg_query_lowest_stackaddr = (char *) stack_addr; + + pthread_attr_destroy(&attr); + } +#elif defined(HAVE_PTHREAD) && defined(__APPLE__) + { + char *stack_high = (char *) pthread_get_stackaddr_np(pthread_self()); + size_t stack_size = pthread_get_stacksize_np(pthread_self()); + + if (stack_size == 0) + return NULL; + + pg_query_lowest_stackaddr = stack_high - stack_size; + } +#elif defined(HAVE_PTHREAD) && (defined(__FreeBSD__) || defined(__NetBSD__)) + { + pthread_attr_t attr; + void *stack_addr = NULL; + size_t stack_size = 0; + + if (pthread_attr_init(&attr) != 0) + return NULL; + + if (pthread_attr_get_np(pthread_self(), &attr) == 0 && + pthread_attr_getstack(&attr, &stack_addr, &stack_size) == 0 && + stack_addr != NULL) + { + pg_query_lowest_stackaddr = (char *) stack_addr; + } + + pthread_attr_destroy(&attr); + } +#endif + + return pg_query_lowest_stackaddr; +} + +/* + * Raise max_stack_depth to fit the headroom on the calling thread's stack, + * capped at 2MB, similar to how InitializeGUCOptionsFromEnvironment sets + * max_stack_depth. + * + * Re-evaluated for each call, since libpg_query gets embedded into other + * programs, so we have to be conscious of our place in the stack, and measure + * the remaining stack space we can use below the current address. + */ +static void set_max_stack_depth(void) +{ + char stack_here; + char* lowest_stackaddr = get_lowest_stackaddr(); + ssize_t usable_stack_depth; + ssize_t new_limit; + + if (lowest_stackaddr == NULL) + return; + + usable_stack_depth = (ssize_t) (&stack_here - lowest_stackaddr); + if (usable_stack_depth < 0) + return; + + /* + * Determine new limit keeping a similar padding to Postgres via + * STACK_DEPTH_SLOP (512 kB) to account for error handling and places + * where we don't check stack depth frequently. + */ + new_limit = (usable_stack_depth - STACK_DEPTH_SLOP) / 1024; + + /* + * In case the new limit would put us below 100 kB, ignore it, since that + * is our required minimum and the default of the setting. + */ + if (new_limit <= 100) + return; + + /* Clamp at 2MB, like Postgres auto-detection logic. */ + if (new_limit > 2048) + new_limit = 2048; + + max_stack_depth = (int) new_limit; + assign_max_stack_depth((int) new_limit, NULL); +} + +/* + * Stack depth checking is set up per libpg_query call, since we get called + * from varying stack depths in the host program: the reference point is where + * the call starts, and the budget is sized to the stack left below it. + * + * Recursive code (e.g. the tree walkers) measures the current stack depth + * against this and raises a "stack depth limit exceeded" error before we + * overflow and crash, like Postgres does. + */ +static void pg_query_enter_stack_depth_check(void) +{ + /* Set the reference point, similar to how Postgres does in its main() */ + set_stack_base(); + + /* Must follow set_stack_base() so both measure from the same point */ + set_max_stack_depth(); +} + +/* + * The reference point is only valid for the call it was measured in. Clear it + * on exit, so a stack depth check that runs outside of a libpg_query call is a + * no-op, instead of comparing against a stale base from a different frame. + */ +static void pg_query_exit_stack_depth_check(void) +{ + restore_stack_base(NULL); +} diff --git a/src/pg_query_deparse.c b/src/pg_query_deparse.c index 7a6c5f3c5..94574faa7 100644 --- a/src/pg_query_deparse.c +++ b/src/pg_query_deparse.c @@ -7,8 +7,9 @@ #include "postgres.h" #include "lib/stringinfo.h" #include "nodes/parsenodes.h" +#include "gramparse.h" -#include "protobuf/pg_query.pb-c.h" +#include static PostgresDeparseOpts * copy_deparse_opts_for_stmt(RawStmt *raw_stmt, PostgresDeparseOpts * opts, size_t start, size_t end); @@ -125,36 +126,34 @@ PgQueryDeparseCommentsResult pg_query_deparse_comments_for_query(const char *query) { PgQueryDeparseCommentsResult result = {0}; - PgQueryScanResult scan_result_raw = pg_query_scan(query); + PgQueryScanTokensResult scan_result = pg_query_scan_tokens(query); + const PgQueryScanToken *tokens = scan_result.tokens; + int n_tokens = scan_result.n_tokens; + bool prior_token_was_comment = false; + int32_t prior_non_comment_end = 0; + int32_t prior_token_end = 0; - if (scan_result_raw.error) + if (scan_result.error) { - result.error = scan_result_raw.error; + result.error = scan_result.error; return result; } - PgQuery__ScanResult *scan_result = pg_query__scan_result__unpack(NULL, scan_result_raw.pbuf.len, (void *) scan_result_raw.pbuf.data); - bool prior_token_was_comment = false; - int32_t prior_non_comment_end = 0; - int32_t prior_token_end = 0; - result.comment_count = 0; - for (int i = 0; i < scan_result->n_tokens; i++) + for (int i = 0; i < n_tokens; i++) { - PgQuery__ScanToken *token = scan_result->tokens[i]; - - if (token->token == PG_QUERY__TOKEN__SQL_COMMENT || token->token == PG_QUERY__TOKEN__C_COMMENT) + if (tokens[i].token == SQL_COMMENT || tokens[i].token == C_COMMENT) result.comment_count++; } result.comments = malloc(result.comment_count * sizeof(PostgresDeparseComment *)); size_t comment_idx = 0; - for (int i = 0; i < scan_result->n_tokens; i++) + for (int i = 0; i < n_tokens; i++) { - PgQuery__ScanToken *token = scan_result->tokens[i]; + const PgQueryScanToken *token = &tokens[i]; - if (token->token == PG_QUERY__TOKEN__SQL_COMMENT || token->token == PG_QUERY__TOKEN__C_COMMENT) + if (token->token == SQL_COMMENT || token->token == C_COMMENT) { size_t token_len = token->end - token->start; PostgresDeparseComment *comment = malloc(sizeof(PostgresDeparseComment)); @@ -189,9 +188,9 @@ pg_query_deparse_comments_for_query(const char *query) } } - if (i < scan_result->n_tokens - 1) + if (i < n_tokens - 1) { - for (int j = token->end; j < scan_result->tokens[i + 1]->start; j++) + for (int j = token->end; j < tokens[i + 1].start; j++) { if (query[j] == '\n') comment->newlines_after_comment++; @@ -214,8 +213,7 @@ pg_query_deparse_comments_for_query(const char *query) prior_token_end = token->end; } - pg_query__scan_result__free_unpacked(scan_result, NULL); - pg_query_free_scan_result(scan_result_raw); + pg_query_free_scan_tokens_result(scan_result); return result; } diff --git a/src/pg_query_fingerprint.c b/src/pg_query_fingerprint.c index 8e15b8218..d13651d2b 100644 --- a/src/pg_query_fingerprint.c +++ b/src/pg_query_fingerprint.c @@ -28,6 +28,8 @@ typedef struct FingerprintContext struct listsort_cache_hash *listsort_cache; + int fingerprint_options; + bool write_tokens; dlist_head tokens; } FingerprintContext; @@ -69,7 +71,7 @@ typedef struct FingerprintToken } FingerprintToken; static void _fingerprintNode(FingerprintContext *ctx, const void *obj, const void *parent, char *parent_field_name, unsigned int depth); -static void _fingerprintInitContext(FingerprintContext *ctx, FingerprintContext *parent, bool write_tokens); +static void _fingerprintInitContext(FingerprintContext *ctx, FingerprintContext *parent, int fingerprint_options, bool write_tokens); static void _fingerprintFreeContext(FingerprintContext *ctx); #define PG_QUERY_FINGERPRINT_VERSION 3 @@ -185,7 +187,7 @@ _fingerprintList(FingerprintContext *ctx, const List *node, const void *parent, FingerprintContext fctx; FingerprintListsortItem* lctx = palloc0(sizeof(FingerprintListsortItem)); - _fingerprintInitContext(&fctx, ctx, false); + _fingerprintInitContext(&fctx, ctx, ctx->fingerprint_options, false); _fingerprintNode(&fctx, lfirst(lc), parent, field_name, depth + 1); lctx->hash = XXH3_64bits_digest(fctx.xxh_state); lctx->list_pos = listsort_items_size; @@ -225,8 +227,10 @@ _fingerprintList(FingerprintContext *ctx, const List *node, const void *parent, } } +// Note: fingerprint_options only takes effect for root contexts (parent is +// NULL), child contexts always inherit the options of their parent static void -_fingerprintInitContext(FingerprintContext *ctx, FingerprintContext *parent, bool write_tokens) +_fingerprintInitContext(FingerprintContext *ctx, FingerprintContext *parent, int fingerprint_options, bool write_tokens) { ctx->xxh_state = XXH3_createState(); if (ctx->xxh_state == NULL) abort(); @@ -235,10 +239,12 @@ _fingerprintInitContext(FingerprintContext *ctx, FingerprintContext *parent, boo if (parent != NULL) { ctx->listsort_cache = parent->listsort_cache; + ctx->fingerprint_options = parent->fingerprint_options; } else { ctx->listsort_cache = listsort_cache_create(CurrentMemoryContext, 128, NULL); + ctx->fingerprint_options = fingerprint_options; } if (write_tokens) @@ -260,6 +266,137 @@ _fingerprintFreeContext(FingerprintContext *ctx) { #include "pg_query_enum_defs.c" #include "pg_query_fingerprint_defs.c" +/* + * Fingerprint the relation name. + * + * By default, sequences of 2 or more digits are ignored, so that queries + * on date/number-suffixed tables (e.g. partitions like "orders_2024_01") + * get the same fingerprint. With PG_QUERY_FINGERPRINT_FULL_RELNAME set, + * the relation name is fingerprinted as-is. + */ +static void +_fingerprintRelname(FingerprintContext *ctx, const char *relname) +{ + if (ctx->fingerprint_options & PG_QUERY_FINGERPRINT_FULL_RELNAME) + { + _fingerprintString(ctx, "relname"); + _fingerprintString(ctx, relname); + } + else + { + int len = strlen(relname); + char *r = palloc0((len + 1) * sizeof(char)); + char *p = r; + for (int i = 0; i < len; i++) + { + if (relname[i] >= '0' && relname[i] <= '9' && + ((i + 1 < len && relname[i + 1] >= '0' && relname[i + 1] <= '9') || + (i > 0 && relname[i - 1] >= '0' && relname[i - 1] <= '9'))) + { + // Skip + } + else + { + *p = relname[i]; + p++; + } + } + *p = 0; + _fingerprintString(ctx, "relname"); + _fingerprintString(ctx, r); + pfree(r); + } +} + +/* + * Fingerprint a RangeVar (relation reference). + * + * This is a custom implementation (the generator only emits the declaration + * and the dispatch case) since the behavior depends on the parent node + * context and is controlled by fingerprint options. + * + * By default, this mirrors Postgres 18+ query jumbling for relation + * references after parse analysis (RangeTblEntry.eref custom_query_jumble, + * RangeTblEntry.relid query_jumble_ignore, see Postgres commit 787514b30bb), + * narrowly: in SELECT/DML contexts we add the user alias name when present, + * skip the relation name when an alias is present (matches eref.aliasname), + * and drop the schema name (Postgres jumbles only the eref string; + * schema-qualified and unqualified references that resolve to the same table + * share a query ID). catalogname/inh/relpersistence are kept in all contexts + * to minimize diff against pre-existing fingerprints; their values rarely + * diverge from defaults in DML parse trees. + * + * Two fingerprint options adjust this behavior: + * PG_QUERY_FINGERPRINT_RANGEVAR_IGNORE_ALIASES always fingerprints the + * relation name and ignores aliases, and + * PG_QUERY_FINGERPRINT_RANGEVAR_INCLUDE_SCHEMA also fingerprints schema + * names in SELECT/DML contexts. Setting both mirrors the Postgres 17 and + * earlier query jumble, and the fingerprints of earlier libpg_query + * releases (see PG_QUERY_FINGERPRINT_RANGEVAR_PG17_COMPAT). + */ +static void +_fingerprintRangeVar(FingerprintContext *ctx, const RangeVar *node, const void *parent, const char *field_name, unsigned int depth) +{ + bool ignore_aliases = (ctx->fingerprint_options & PG_QUERY_FINGERPRINT_RANGEVAR_IGNORE_ALIASES) != 0; + bool include_schema = (ctx->fingerprint_options & PG_QUERY_FINGERPRINT_RANGEVAR_INCLUDE_SCHEMA) != 0; + + bool is_dml_context = false; + if (parent != NULL && field_name != NULL) + { + if (IsA(parent, SelectStmt) && strcmp(field_name, "fromClause") == 0) + is_dml_context = true; + else if (IsA(parent, InsertStmt) && strcmp(field_name, "relation") == 0) + is_dml_context = true; + else if (IsA(parent, UpdateStmt) && (strcmp(field_name, "relation") == 0 || strcmp(field_name, "fromClause") == 0)) + is_dml_context = true; + else if (IsA(parent, DeleteStmt) && (strcmp(field_name, "relation") == 0 || strcmp(field_name, "usingClause") == 0)) + is_dml_context = true; + else if (IsA(parent, MergeStmt) && (strcmp(field_name, "relation") == 0 || strcmp(field_name, "sourceRelation") == 0)) + is_dml_context = true; + else if (IsA(parent, JoinExpr) || IsA(parent, RangeTableSample) || IsA(parent, LockingClause)) + is_dml_context = true; + } + + if (!ignore_aliases && node->alias != NULL && node->alias->aliasname != NULL) + { + _fingerprintString(ctx, "aliasname"); + _fingerprintString(ctx, node->alias->aliasname); + } + + if (node->catalogname != NULL) + { + _fingerprintString(ctx, "catalogname"); + _fingerprintString(ctx, node->catalogname); + } + + if (node->inh) + { + _fingerprintString(ctx, "inh"); + _fingerprintString(ctx, "true"); + } + + // Intentionally ignoring node->location for fingerprinting + + // In DML/SELECT context, the relation name only contributes to the jumble + // when there is no user alias (matches eref.aliasname). In utility context, + // the relation name is always part of the jumble. + if (node->relname != NULL && node->relpersistence != 't' && !(is_dml_context && !ignore_aliases && node->alias != NULL)) + _fingerprintRelname(ctx, node->relname); + + if (node->relpersistence != 0) + { + char buffer[2] = {node->relpersistence, '\0'}; + _fingerprintString(ctx, "relpersistence"); + _fingerprintString(ctx, buffer); + } + + if (node->schemaname != NULL && (!is_dml_context || include_schema)) + { + _fingerprintString(ctx, "schemaname"); + _fingerprintString(ctx, node->schemaname); + } +} + void _fingerprintNode(FingerprintContext *ctx, const void *obj, const void *parent, char *field_name, unsigned int depth) { @@ -314,7 +451,7 @@ uint64_t pg_query_fingerprint_node(const void *node) FingerprintContext ctx; uint64 result; - _fingerprintInitContext(&ctx, NULL, false); + _fingerprintInitContext(&ctx, NULL, PG_QUERY_FINGERPRINT_DEFAULT, false); _fingerprintNode(&ctx, node, NULL, NULL, 0); result = XXH3_64bits_digest(ctx.xxh_state); @@ -324,7 +461,7 @@ uint64_t pg_query_fingerprint_node(const void *node) return result; } -PgQueryFingerprintResult pg_query_fingerprint_with_opts(const char* input, int parser_options, bool printTokens) +PgQueryFingerprintResult pg_query_fingerprint_with_opts(const char* input, int parser_options, int fingerprint_options, bool printTokens) { MemoryContext ctx = NULL; PgQueryInternalParsetreeAndError parsetree_and_error; @@ -342,7 +479,7 @@ PgQueryFingerprintResult pg_query_fingerprint_with_opts(const char* input, int p FingerprintContext ctx; XXH64_canonical_t chash; - _fingerprintInitContext(&ctx, NULL, printTokens); + _fingerprintInitContext(&ctx, NULL, fingerprint_options, printTokens); if (parsetree_and_error.tree != NULL) { _fingerprintNode(&ctx, parsetree_and_error.tree, NULL, NULL, 0); @@ -385,12 +522,12 @@ PgQueryFingerprintResult pg_query_fingerprint_with_opts(const char* input, int p PgQueryFingerprintResult pg_query_fingerprint(const char* input) { - return pg_query_fingerprint_with_opts(input, PG_QUERY_PARSE_DEFAULT, false); + return pg_query_fingerprint_with_opts(input, PG_QUERY_PARSE_DEFAULT, PG_QUERY_FINGERPRINT_DEFAULT, false); } -PgQueryFingerprintResult pg_query_fingerprint_opts(const char* input, int parser_options) +PgQueryFingerprintResult pg_query_fingerprint_opts(const char* input, int parser_options, int fingerprint_options) { - return pg_query_fingerprint_with_opts(input, parser_options, false); + return pg_query_fingerprint_with_opts(input, parser_options, fingerprint_options, false); } void pg_query_free_fingerprint_result(PgQueryFingerprintResult result) diff --git a/src/pg_query_fingerprint.h b/src/pg_query_fingerprint.h index 10c3a13c2..6dcb4dc0c 100644 --- a/src/pg_query_fingerprint.h +++ b/src/pg_query_fingerprint.h @@ -3,7 +3,7 @@ #include -extern PgQueryFingerprintResult pg_query_fingerprint_with_opts(const char* input, int parser_options, bool printTokens); +extern PgQueryFingerprintResult pg_query_fingerprint_with_opts(const char* input, int parser_options, int fingerprint_options, bool printTokens); extern uint64_t pg_query_fingerprint_node(const void * node); diff --git a/src/pg_query_internal.h b/src/pg_query_internal.h index 3f7973051..92015eb47 100644 --- a/src/pg_query_internal.h +++ b/src/pg_query_internal.h @@ -8,6 +8,23 @@ #define STDERR_BUFFER_LEN 4096 #define DEBUG +/* + * Maximum protobuf message nesting depth, used for both encoding + * (pg_query_nodes_to_protobuf) and decoding (pg_query_protobuf_to_nodes). + * + * Every expression level costs two message levels (the Node wrapper plus the + * node message itself), so this allows roughly 5,000 levels of nested + * expressions (e.g. "a || b || c ..."), far more than upb's default of 100. + * + * This is only a sanity cap: what actually prevents stack overflows is the + * stack depth limit (max_stack_depth, sized per call to the available stack), + * which upb's encoder and decoder also check (see + * vendor/upb/patches/0003-stack-depth-check.patch), just like our recursive + * tree walkers do via check_stack_depth(). Depending on the available stack + * and the stack used per level, that limit may be reached first. + */ +#define PG_QUERY_PROTOBUF_MAX_DEPTH 10000 + typedef struct { List *tree; diff --git a/src/pg_query_json_plpgsql.c b/src/pg_query_json_plpgsql.c index ec5134bdf..6222ac4ec 100644 --- a/src/pg_query_json_plpgsql.c +++ b/src/pg_query_json_plpgsql.c @@ -94,6 +94,7 @@ static void dump_record(StringInfo out, PLpgSQL_rec *stmt); static void dump_row(StringInfo out, PLpgSQL_row *stmt); static void dump_var(StringInfo out, PLpgSQL_var *stmt); +static void dump_promise(StringInfo out, PLpgSQL_var *stmt); static void dump_variable(StringInfo out, PLpgSQL_variable *stmt); static void dump_record_field(StringInfo out, PLpgSQL_recfield *node); static void dump_stmt(StringInfo out, PLpgSQL_stmt *stmt); @@ -672,7 +673,6 @@ dump_function(StringInfo out, PLpgSQL_function *node) switch (d->dtype) { case PLPGSQL_DTYPE_VAR: - case PLPGSQL_DTYPE_PROMISE: dump_var(out, (PLpgSQL_var *) d); break; case PLPGSQL_DTYPE_ROW: @@ -684,6 +684,9 @@ dump_function(StringInfo out, PLpgSQL_function *node) case PLPGSQL_DTYPE_RECFIELD: dump_record_field(out, (PLpgSQL_recfield *) d); break; + case PLPGSQL_DTYPE_PROMISE: + dump_promise(out, (PLpgSQL_var *) d); + break; default: elog(WARNING, "could not dump unrecognized dtype: %d", (int) d->dtype); @@ -713,6 +716,18 @@ dump_var(StringInfo out, PLpgSQL_var *node) WRITE_INT_FIELD(cursor_options, cursor_options, cursor_options); } +/* + * Promise datums (e.g. the TG_* variables of trigger functions) are regular + * PLpgSQL_var structs with a different dtype, so output them as such, with + * the promise type added. + */ +static void +dump_promise(StringInfo out, PLpgSQL_var *node) +{ + dump_var(out, node); + WRITE_ENUM_FIELD(promise, promise, promise); +} + static void dump_variable(StringInfo out, PLpgSQL_variable *node) { @@ -724,6 +739,9 @@ dump_variable(StringInfo out, PLpgSQL_variable *node) case PLPGSQL_DTYPE_VAR: dump_var(out, (PLpgSQL_var *) node); break; + case PLPGSQL_DTYPE_PROMISE: + dump_promise(out, (PLpgSQL_var *) node); + break; case PLPGSQL_DTYPE_ROW: dump_row(out, (PLpgSQL_row *) node); break; @@ -812,7 +830,10 @@ pg_query_plpgsql_reset_aliases(void) int i; for (i = 0; i < plpgsql_naliases; i++) free(plpgsql_aliases[i].name); + free(plpgsql_aliases); + plpgsql_aliases = NULL; plpgsql_naliases = 0; + plpgsql_aliases_size = 0; } void diff --git a/src/pg_query_normalize.c b/src/pg_query_normalize.c index bdd4af5b3..3b2472e4d 100644 --- a/src/pg_query_normalize.c +++ b/src/pg_query_normalize.c @@ -6,6 +6,7 @@ #include "parser/scanner.h" #include "parser/scansup.h" #include "mb/pg_wchar.h" +#include "miscadmin.h" #include "nodes/nodeFuncs.h" #include "pg_query_outfuncs.h" @@ -267,6 +268,16 @@ generate_normalized_query(pgssConstLocations *jstate, int query_loc, int* query_ if (tok_len < 0) continue; /* ignore any duplicates */ + /* + * Defend against constant locations that overlap the previous + * constant or run past the end of the query. Locations come from the + * parser and so should never do either, but getting this wrong means + * a negative length below and a write outside of norm_query, so check + * it at runtime rather than only asserting it. + */ + if (off < last_off + last_tok_len || off > query_len || tok_len > query_len - off) + continue; + /* Copy next chunk (what precedes the next constant) */ len_to_wrt = off - last_off; len_to_wrt -= last_tok_len; @@ -336,52 +347,6 @@ static void RecordConstLocation(pgssConstLocations *jstate, int location) } } -static bool is_string_delimiter(char c) -{ - return c == '\'' || c == '$'; -} - -static bool is_special_string_start(char c) -{ - return c == 'b' || c == 'B' || c == 'x' || c == 'X' || c == 'n' || c == 'N' || c == 'e' || c == 'E'; -} - -static void record_defelem_arg_location(pgssConstLocations *jstate, int location) -{ - for (int i = location; i < jstate->query_len; i++) - { - if (!is_string_delimiter(jstate->query[i])) - continue; - - /* - * Step back over tokens that affect the string constant, placed right - * before the opening quote, so the recorded location includes those - * tokens. "U&" for a Unicode escaped strings, or a single character - * special start token matched by is_special_string_start. - */ - if (i - 2 >= location && jstate->query[i - 1] == '&' && - (jstate->query[i - 2] == 'u' || jstate->query[i - 2] == 'U')) - i -= 2; - else if (i - 1 >= location && is_special_string_start(jstate->query[i - 1])) - i -= 1; - - RecordConstLocation(jstate, i); - - break; - } -} - -static void record_matching_string(pgssConstLocations *jstate, const char *str) -{ - char *loc = NULL; - if (str == NULL) - return; - - loc = strstr(jstate->query, str); - if (loc != NULL) - RecordConstLocation(jstate, loc - jstate->query - 1); -} - static bool const_record_walker(Node *node, pgssConstLocations *jstate) { bool result; @@ -389,6 +354,13 @@ static bool const_record_walker(Node *node, pgssConstLocations *jstate) if (node == NULL) return false; + /* + * Most node types recurse via raw_expression_tree_walker(), which checks + * the stack depth itself, but e.g. SelectStmt recurses into this function + * directly for each clause, so a long UNION chain never hits that check. + */ + check_stack_depth(); + switch (nodeTag(node)) { case T_A_Const: @@ -413,14 +385,15 @@ static bool const_record_walker(Node *node, pgssConstLocations *jstate) case T_DefElem: { DefElem * defElem = (DefElem *) node; - if (defElem->arg == NULL) { - // No argument - } else if (IsA(defElem->arg, String)) { - record_defelem_arg_location(jstate, defElem->location); - } else if (IsA(defElem->arg, List) && list_length((List *) defElem->arg) == 1 && IsA(linitial((List *) defElem->arg), String)) { - record_defelem_arg_location(jstate, defElem->location); - } - return const_record_walker((Node *) ((DefElem *) node)->arg, jstate); + + /* + * The grammar records where the option's string constant + * starts, and leaves this as -1 when the argument wasn't + * written as a string constant. + */ + RecordConstLocation(jstate, defElem->arg_location); + + return const_record_walker((Node *) defElem->arg, jstate); } break; case T_RawStmt: @@ -450,11 +423,21 @@ static bool const_record_walker(Node *node, pgssConstLocations *jstate) if (jstate->normalize_utility_only) return false; return const_record_walker((Node *) ((DoStmt *) node)->args, jstate); case T_CreateSubscriptionStmt: - record_matching_string(jstate, ((CreateSubscriptionStmt *) node)->conninfo); - break; + { + CreateSubscriptionStmt *stmt = (CreateSubscriptionStmt *) node; + + if (stmt->conninfo != NULL) + RecordConstLocation(jstate, stmt->conninfo_location); + break; + } case T_AlterSubscriptionStmt: - record_matching_string(jstate, ((AlterSubscriptionStmt *) node)->conninfo); - break; + { + AlterSubscriptionStmt *stmt = (AlterSubscriptionStmt *) node; + + if (stmt->conninfo != NULL) + RecordConstLocation(jstate, stmt->conninfo_location); + break; + } case T_CreateUserMappingStmt: return const_record_walker((Node *) ((CreateUserMappingStmt *) node)->options, jstate); case T_AlterUserMappingStmt: @@ -586,17 +569,8 @@ static bool const_record_walker(Node *node, pgssConstLocations *jstate) { NotifyStmt *stmt = castNode(NotifyStmt, node); - if (stmt->payload == NULL) - break; // No payload to normalize. - - char *loc = strstr(jstate->query, ","); - - if (loc == NULL) - // Somehow there's a payload but no comma? - // This should be impossible. - break; - - record_defelem_arg_location(jstate, loc - jstate->query + 1); + if (stmt->payload != NULL) + RecordConstLocation(jstate, stmt->payload_location); break; } case T_InsertStmt: @@ -616,16 +590,37 @@ static bool const_record_walker(Node *node, pgssConstLocations *jstate) } default: { + /* + * Note we must not return from inside PG_TRY, since that skips + * PG_END_TRY and leaves PG_exception_stack pointing at this + * frame after it is gone. + */ + result = false; PG_TRY(); { - return raw_expression_tree_walker(node, const_record_walker, (void*) jstate); + result = raw_expression_tree_walker(node, const_record_walker, (void*) jstate); } PG_CATCH(); { + ErrorData *edata; + MemoryContextSwitchTo(normalize_context); + edata = CopyErrorData(); + + /* + * The walker raises for node types it doesn't know, which we + * ignore. But if we ran out of stack, the rest of the tree + * was not walked, and swallowing that would return a partially + * normalized query as if it was complete - pass it on instead. + */ + if (edata->sqlerrcode == ERRCODE_STATEMENT_TOO_COMPLEX) + PG_RE_THROW(); + + /* edata is released together with the per-call memory context */ FlushErrorState(); } PG_END_TRY(); + return result; } } diff --git a/src/pg_query_outfuncs.h b/src/pg_query_outfuncs.h index bbd75b98e..29b8f1fbf 100644 --- a/src/pg_query_outfuncs.h +++ b/src/pg_query_outfuncs.h @@ -3,6 +3,11 @@ #include "pg_query.h" +/* + * Throws (via elog) if the tree could not be serialized, either because it + * exceeds PG_QUERY_PROTOBUF_MAX_DEPTH or the stack depth limit was reached + * while building or encoding the message. Must be called inside PG_TRY. + */ PgQueryProtobuf pg_query_nodes_to_protobuf(const void *obj); char *pg_query_node_to_json(const void *obj); diff --git a/src/pg_query_outfuncs_json.c b/src/pg_query_outfuncs_json.c index e5025ed6a..d327348c1 100644 --- a/src/pg_query_outfuncs_json.c +++ b/src/pg_query_outfuncs_json.c @@ -9,6 +9,7 @@ #include "nodes/plannodes.h" #include "nodes/value.h" #include "utils/datum.h" +#include "miscadmin.h" #include "pg_query_json_helper.c" @@ -24,47 +25,55 @@ #define WRITE_NODE_TYPE(nodelabel) \ appendStringInfoString(out, "\"" nodelabel "\":{") +/* + * NOTE: These macros are invoked from the generated pg_query_outfuncs_defs.c / + * _conds.c, which are shared with the protobuf (upb) backend. That backend needs + * the enclosing message type to build its accessor names, so every WRITE_ macro + * receives it as a leading `msgtype` argument. The JSON backend writes by field + * name and simply ignores `msgtype`. + */ + /* Write an integer field */ -#define WRITE_INT_FIELD(outname, outname_json, fldname) \ +#define WRITE_INT_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != 0) { \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":%d,", node->fldname); \ } /* Write an unsigned integer field */ -#define WRITE_UINT_FIELD(outname, outname_json, fldname) \ +#define WRITE_UINT_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != 0) { \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":%u,", node->fldname); \ } /* Write an unsigned integer field */ -#define WRITE_UINT64_FIELD(outname, outname_json, fldname) \ +#define WRITE_UINT64_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != 0) { \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":" UINT64_FORMAT ",", node->fldname); \ } /* Write a long-integer field */ -#define WRITE_LONG_FIELD(outname, outname_json, fldname) \ +#define WRITE_LONG_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != 0) { \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":%ld,", node->fldname); \ } /* Write a char field (ie, one ascii character) */ -#define WRITE_CHAR_FIELD(outname, outname_json, fldname) \ +#define WRITE_CHAR_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != 0) { \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":\"%c\",", node->fldname); \ } /* Write an enumerated-type field */ -#define WRITE_ENUM_FIELD(typename, outname, outname_json, fldname) \ +#define WRITE_ENUM_FIELD(msgtype, enumtype, outname, outname_json, fldname) \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":\"%s\",", \ - _enumToString##typename(node->fldname)); + _enumToString##enumtype(node->fldname)); /* Write a float field */ -#define WRITE_FLOAT_FIELD(outname, outname_json, fldname) \ +#define WRITE_FLOAT_FIELD(msgtype, outname, outname_json, fldname) \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":%f,", node->fldname) /* Write a boolean field */ -#define WRITE_BOOL_FIELD(outname, outname_json, fldname) \ +#define WRITE_BOOL_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname) { \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":%s,", \ booltostr(node->fldname)); \ @@ -78,14 +87,14 @@ * empty strings here keeps the JSON output consistent with that behavior * (e.g. "COMMENT ON ... IS ''" matches "IS NULL" semantically and in PG). */ -#define WRITE_STRING_FIELD(outname, outname_json, fldname) \ +#define WRITE_STRING_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != NULL && node->fldname[0] != '\0') { \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":"); \ _outToken(out, node->fldname); \ appendStringInfo(out, ","); \ } -#define WRITE_LIST_FIELD(outname, outname_json, fldname) \ +#define WRITE_LIST_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ const ListCell *lc; \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":"); \ @@ -101,21 +110,21 @@ appendStringInfo(out, "],"); \ } -#define WRITE_NODE_FIELD(outname, outname_json, fldname) \ +#define WRITE_NODE_FIELD(msgtype, outname, outname_json, fldname) \ if (true) { \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":"); \ _outNode(out, &node->fldname); \ appendStringInfo(out, ","); \ } -#define WRITE_NODE_PTR_FIELD(outname, outname_json, fldname) \ +#define WRITE_NODE_PTR_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":"); \ _outNode(out, node->fldname); \ appendStringInfo(out, ","); \ } -#define WRITE_SPECIFIC_NODE_FIELD(typename, typename_underscore, outname, outname_json, fldname) \ +#define WRITE_SPECIFIC_NODE_FIELD(msgtype, typename, typename_underscore, outname, outname_json, fldname) \ { \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":{"); \ _out##typename(out, &node->fldname); \ @@ -123,15 +132,21 @@ appendStringInfo(out, "},"); \ } -#define WRITE_SPECIFIC_NODE_PTR_FIELD(typename, typename_underscore, outname, outname_json, fldname) \ +/* + * This recurses into _out##typename directly, bypassing the stack depth check + * in _outNode, so check here (e.g. a long UNION chain nests SelectStmt in + * SelectStmt without ever going through _outNode). + */ +#define WRITE_SPECIFIC_NODE_PTR_FIELD(msgtype, typename, typename_underscore, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ + check_stack_depth(); \ appendStringInfo(out, "\"" CppAsString(outname_json) "\":{"); \ _out##typename(out, node->fldname); \ removeTrailingDelimiter(out); \ appendStringInfo(out, "},"); \ } -#define WRITE_BITMAPSET_FIELD(outname, outname_json, fldname) \ +#define WRITE_BITMAPSET_FIELD(msgtype, outname, outname_json, fldname) \ if (!bms_is_empty(node->fldname)) \ { \ int x = 0; \ @@ -289,6 +304,8 @@ _outAConst(StringInfo out, const A_Const *node) static void _outNode(StringInfo out, const void *obj) { + check_stack_depth(); + if (obj == NULL) { appendStringInfoString(out, "null"); diff --git a/src/pg_query_outfuncs_protobuf.c b/src/pg_query_outfuncs_protobuf.c index 64ccdf1b0..f3a56894a 100644 --- a/src/pg_query_outfuncs_protobuf.c +++ b/src/pg_query_outfuncs_protobuf.c @@ -1,4 +1,5 @@ #include "pg_query_outfuncs.h" +#include "pg_query_internal.h" #include "postgres.h" #include @@ -7,245 +8,249 @@ #include "nodes/plannodes.h" #include "nodes/value.h" #include "utils/datum.h" +#include "miscadmin.h" + +#include "protobuf/pg_query.upb.h" + +/* + * The arena that all messages for the current pg_query_nodes_to_protobuf() call + * are built in. It is thread-local (libpg_query runs per-thread) and set once at + * the top of that function; the WRITE_* macros and _out* helpers below read it + * instead of threading an arena parameter through every function. Keeping it out + * of the function signatures matters because the generated _out* declarations in + * pg_query_outfuncs_defs.c are shared with the JSON backend, which has no arena. + */ +static __thread upb_Arena *out_arena; + +/* + * upb stores string fields as a (pointer, length) view without copying, so the + * bytes must outlive the message. The parse tree is palloc'd in the memory + * context of the current libpg_query call, which is only exited after the + * message has been serialized and copied out, so its strings can be referenced + * directly instead of being duplicated into the arena. + */ +static inline upb_StringView +_strview(const char *s) +{ + return upb_StringView_FromString(s); +} -#include "protobuf/pg_query.pb-c.h" +static upb_StringView +_strview_char(char c) +{ + char *buf = upb_Arena_Malloc(out_arena, 1); + + buf[0] = c; + return upb_StringView_FromDataAndSize(buf, 1); +} -#define OUT_TYPE(typename, typename_c) PgQuery__##typename_c* +/* + * The upb message type is named pg_query_ (the proto message name, + * underscores preserved). Every WRITE_ and READ_ macro therefore takes the + * enclosing message type as its first argument so it can name the accessor + * pg_query__set_(). The enclosing message pointer is always + * `out`; the arena is the file-scope out_arena. + */ +#define OUT_TYPE(typename, typename_c) pg_query_##typename* + +/* + * The Node oneof field for Float is named "float" in the proto. The C++ and + * protobuf-c backends mangle that C/C++ keyword to "float_" (and the shared + * OUT_NODE call site passes "float_"), but upb leaves it unmangled as part of + * the longer accessor token. Alias the mangled name to upb's real accessor so + * the shared OUT_NODE works for all backends. (Float is the only such case; + * every other oneof field name matches across backends.) + */ +#define pg_query_Node_mutable_float_ pg_query_Node_mutable_float + +/* + * Similarly, upb appends "_" to a field whose name collides with another + * field's generated accessor: AlterForeignServerStmt.has_version collides with + * the presence accessor of its `version` field, so upb names the setter + * set_has_version_ (C++/JSON keep the plain name). Alias the plain accessor the + * shared WRITE_BOOL_FIELD emits to upb's real one. + */ +#define pg_query_AlterForeignServerStmt_set_has_version pg_query_AlterForeignServerStmt_set_has_version_ #define OUT_NODE(typename, typename_c, typename_underscore, typename_underscore_upcase, typename_cast, fldname) \ { \ - PgQuery__##typename_c *__node = palloc(sizeof(PgQuery__##typename_c)); \ - pg_query__##typename_underscore##__init(__node); \ + pg_query_##typename *__node = pg_query_Node_mutable_##fldname(out, out_arena); \ _out##typename_c(__node, (const typename_cast *) obj); \ - out->fldname = __node; \ - out->node_case = PG_QUERY__NODE__NODE_##typename_underscore_upcase; \ } -#define WRITE_INT_FIELD(outname, outname_json, fldname) out->outname = node->fldname; -#define WRITE_UINT_FIELD(outname, outname_json, fldname) out->outname = node->fldname; -#define WRITE_UINT64_FIELD(outname, outname_json, fldname) out->outname = node->fldname; -#define WRITE_LONG_FIELD(outname, outname_json, fldname) out->outname = node->fldname; -#define WRITE_FLOAT_FIELD(outname, outname_json, fldname) out->outname = node->fldname; -#define WRITE_BOOL_FIELD(outname, outname_json, fldname) out->outname = node->fldname; +#define WRITE_INT_FIELD(msgtype, outname, outname_json, fldname) pg_query_##msgtype##_set_##outname(out, node->fldname); +#define WRITE_UINT_FIELD(msgtype, outname, outname_json, fldname) pg_query_##msgtype##_set_##outname(out, node->fldname); +#define WRITE_UINT64_FIELD(msgtype, outname, outname_json, fldname) pg_query_##msgtype##_set_##outname(out, node->fldname); +#define WRITE_LONG_FIELD(msgtype, outname, outname_json, fldname) pg_query_##msgtype##_set_##outname(out, node->fldname); +#define WRITE_FLOAT_FIELD(msgtype, outname, outname_json, fldname) pg_query_##msgtype##_set_##outname(out, node->fldname); +#define WRITE_BOOL_FIELD(msgtype, outname, outname_json, fldname) pg_query_##msgtype##_set_##outname(out, node->fldname); -#define WRITE_CHAR_FIELD(outname, outname_json, fldname) \ +#define WRITE_CHAR_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != 0) { \ - out->outname = palloc(sizeof(char) * 2); \ - out->outname[0] = node->fldname; \ - out->outname[1] = '\0'; \ + pg_query_##msgtype##_set_##outname(out, _strview_char(node->fldname)); \ } -#define WRITE_STRING_FIELD(outname, outname_json, fldname) \ + +#define WRITE_STRING_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ - out->outname = pstrdup(node->fldname); \ + pg_query_##msgtype##_set_##outname(out, _strview(node->fldname)); \ } -#define WRITE_ENUM_FIELD(typename, outname, outname_json, fldname) \ - out->outname = _enumToInt##typename(node->fldname); +#define WRITE_ENUM_FIELD(msgtype, enumtype, outname, outname_json, fldname) \ + pg_query_##msgtype##_set_##outname(out, _enumToInt##enumtype(node->fldname)); -#define WRITE_LIST_FIELD(outname, outname_json, fldname) \ +#define WRITE_LIST_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ - out->n_##outname = list_length(node->fldname); \ - out->outname = palloc(sizeof(PgQuery__Node*) * out->n_##outname); \ - for (int i = 0; i < out->n_##outname; i++) \ - { \ - PgQuery__Node *__node = palloc(sizeof(PgQuery__Node)); \ - pg_query__node__init(__node); \ - out->outname[i] = __node; \ - _outNode(out->outname[i], list_nth(node->fldname, i)); \ - } \ - } - -#define WRITE_BITMAPSET_FIELD(outname, outname_json, fldname) \ - if (!bms_is_empty(node->fldname)) \ - { \ - int x = -1; \ - int i = 0; \ - out->n_##outname = bms_num_members(node->fldname); \ - out->outname = palloc(sizeof(PgQuery__Node*) * out->n_##outname); \ - while ((x = bms_next_member(node->fldname, x)) >= 0) \ - out->outname[i++] = x; \ - } - -#define WRITE_NODE_FIELD(outname, outname_json, fldname) \ + const ListCell *__lc; \ + foreach(__lc, node->fldname) { \ + pg_query_Node *__n = pg_query_##msgtype##_add_##outname(out, out_arena); \ + _outNode(__n, lfirst(__lc)); \ + } \ + } + +#define WRITE_BITMAPSET_FIELD(msgtype, outname, outname_json, fldname) \ + if (!bms_is_empty(node->fldname)) { \ + int __x = -1; \ + while ((__x = bms_next_member(node->fldname, __x)) >= 0) \ + pg_query_##msgtype##_add_##outname(out, (uint64_t) __x, out_arena); \ + } + +#define WRITE_NODE_FIELD(msgtype, outname, outname_json, fldname) \ { \ - PgQuery__Node *__node = palloc(sizeof(PgQuery__Node)); \ - pg_query__node__init(__node); \ - out->outname = __node; \ - _outNode(out->outname, &node->fldname); \ + pg_query_Node *__n = pg_query_##msgtype##_mutable_##outname(out, out_arena); \ + _outNode(__n, &node->fldname); \ } -#define WRITE_NODE_PTR_FIELD(outname, outname_json, fldname) \ +#define WRITE_NODE_PTR_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ - PgQuery__Node *__node = palloc(sizeof(PgQuery__Node)); \ - pg_query__node__init(__node); \ - out->outname = __node; \ - _outNode(out->outname, node->fldname); \ + pg_query_Node *__n = pg_query_##msgtype##_mutable_##outname(out, out_arena); \ + _outNode(__n, node->fldname); \ } -#define WRITE_SPECIFIC_NODE_FIELD(typename, typename_underscore, outname, outname_json, fldname) \ +#define WRITE_SPECIFIC_NODE_FIELD(msgtype, typename, typename_underscore, outname, outname_json, fldname) \ { \ - PgQuery__##typename *__node = palloc(sizeof(PgQuery__##typename)); \ - pg_query__##typename_underscore##__init(__node); \ - _out##typename(__node, &node->fldname); \ - out->outname = __node; \ + pg_query_##typename *__n = pg_query_##msgtype##_mutable_##outname(out, out_arena); \ + _out##typename(__n, &node->fldname); \ } -#define WRITE_SPECIFIC_NODE_PTR_FIELD(typename, typename_underscore, outname, outname_json, fldname) \ +/* + * This recurses into _out##typename directly, bypassing the stack depth check + * in _outNode, so check here (e.g. a long UNION chain nests SelectStmt in + * SelectStmt without ever going through _outNode). + */ +#define WRITE_SPECIFIC_NODE_PTR_FIELD(msgtype, typename, typename_underscore, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ - PgQuery__##typename *__node = palloc(sizeof(PgQuery__##typename)); \ - pg_query__##typename_underscore##__init(__node); \ - _out##typename(__node, node->fldname); \ - out->outname = __node; \ + pg_query_##typename *__n; \ + check_stack_depth(); \ + __n = pg_query_##msgtype##_mutable_##outname(out, out_arena); \ + _out##typename(__n, node->fldname); \ } -static void _outNode(PgQuery__Node* out, const void *obj); +static void _outNode(pg_query_Node* out, const void *obj); static void -_outList(PgQuery__List* out, const List *node) +_outList(pg_query_List* out, const List *node) { const ListCell *lc; - int i = 0; - out->n_items = list_length(node); - out->items = palloc(sizeof(PgQuery__Node*) * out->n_items); - foreach(lc, node) - { - out->items[i] = palloc(sizeof(PgQuery__Node)); - pg_query__node__init(out->items[i]); - _outNode(out->items[i], lfirst(lc)); - i++; - } + + foreach(lc, node) + { + pg_query_Node *__n = pg_query_List_add_items(out, out_arena); + _outNode(__n, lfirst(lc)); + } } static void -_outIntList(PgQuery__IntList* out, const List *node) +_outIntList(pg_query_IntList* out, const List *node) { const ListCell *lc; - int i = 0; - out->n_items = list_length(node); - out->items = palloc(sizeof(PgQuery__Node*) * out->n_items); - foreach(lc, node) - { - out->items[i] = palloc(sizeof(PgQuery__Node)); - pg_query__node__init(out->items[i]); - _outNode(out->items[i], lfirst(lc)); - i++; - } + + foreach(lc, node) + { + pg_query_Node *__n = pg_query_IntList_add_items(out, out_arena); + _outNode(__n, lfirst(lc)); + } } static void -_outOidList(PgQuery__OidList* out, const List *node) +_outOidList(pg_query_OidList* out, const List *node) { const ListCell *lc; - int i = 0; - out->n_items = list_length(node); - out->items = palloc(sizeof(PgQuery__Node*) * out->n_items); - foreach(lc, node) - { - out->items[i] = palloc(sizeof(PgQuery__Node)); - pg_query__node__init(out->items[i]); - _outNode(out->items[i], lfirst(lc)); - i++; - } -} -// TODO: Add Bitmapset + foreach(lc, node) + { + pg_query_Node *__n = pg_query_OidList_add_items(out, out_arena); + _outNode(__n, lfirst(lc)); + } +} static void -_outInteger(PgQuery__Integer* out, const Integer *node) +_outInteger(pg_query_Integer* out, const Integer *node) { - out->ival = node->ival; + pg_query_Integer_set_ival(out, node->ival); } static void -_outFloat(PgQuery__Float* out, const Float *node) +_outFloat(pg_query_Float* out, const Float *node) { - out->fval = node->fval; + pg_query_Float_set_fval(out, _strview(node->fval)); } static void -_outBoolean(PgQuery__Boolean* out, const Boolean *node) +_outBoolean(pg_query_Boolean* out, const Boolean *node) { - out->boolval = node->boolval; + pg_query_Boolean_set_boolval(out, node->boolval); } static void -_outString(PgQuery__String* out, const String *node) +_outString(pg_query_String* out, const String *node) { - out->sval = node->sval; + pg_query_String_set_sval(out, _strview(node->sval)); } static void -_outBitString(PgQuery__BitString* out, const BitString *node) +_outBitString(pg_query_BitString* out, const BitString *node) { - out->bsval = node->bsval; + pg_query_BitString_set_bsval(out, _strview(node->bsval)); } static void -_outAConst(PgQuery__AConst* out, const A_Const *node) +_outAConst(pg_query_A_Const* out, const A_Const *node) { - out->isnull = node->isnull; - out->location = node->location; - - if (!node->isnull) { - switch (nodeTag(&node->val.node)) { - case T_Integer: { - PgQuery__Integer *value = palloc(sizeof(PgQuery__Integer)); - pg_query__integer__init(value); - value->ival = node->val.ival.ival; - - out->val_case = PG_QUERY__A__CONST__VAL_IVAL; - out->ival = value; - break; - } - case T_Float: { - PgQuery__Float *value = palloc(sizeof(PgQuery__Float)); - pg_query__float__init(value); - value->fval = pstrdup(node->val.fval.fval); - - out->val_case = PG_QUERY__A__CONST__VAL_FVAL; - out->fval = value; - break; - } - case T_Boolean: { - PgQuery__Boolean *value = palloc(sizeof(PgQuery__Boolean)); - pg_query__boolean__init(value); - value->boolval = node->val.boolval.boolval; - - out->val_case = PG_QUERY__A__CONST__VAL_BOOLVAL; - out->boolval = value; - break; - } - case T_String: { - PgQuery__String *value = palloc(sizeof(PgQuery__String)); - pg_query__string__init(value); - value->sval = pstrdup(node->val.sval.sval); - - out->val_case = PG_QUERY__A__CONST__VAL_SVAL; - out->sval = value; - break; - } - case T_BitString: { - PgQuery__BitString *value = palloc(sizeof(PgQuery__BitString)); - pg_query__bit_string__init(value); - value->bsval = pstrdup(node->val.bsval.bsval); - - out->val_case = PG_QUERY__A__CONST__VAL_BSVAL; - out->bsval = value; - break; - } - default: - // Unreachable - Assert(false); - } - } + pg_query_A_Const_set_isnull(out, node->isnull); + pg_query_A_Const_set_location(out, node->location); + + if (!node->isnull) { + switch (nodeTag(&node->val.node)) { + case T_Integer: + pg_query_Integer_set_ival(pg_query_A_Const_mutable_ival(out, out_arena), node->val.ival.ival); + break; + case T_Float: + pg_query_Float_set_fval(pg_query_A_Const_mutable_fval(out, out_arena), _strview(node->val.fval.fval)); + break; + case T_Boolean: + pg_query_Boolean_set_boolval(pg_query_A_Const_mutable_boolval(out, out_arena), node->val.boolval.boolval); + break; + case T_String: + pg_query_String_set_sval(pg_query_A_Const_mutable_sval(out, out_arena), _strview(node->val.sval.sval)); + break; + case T_BitString: + pg_query_BitString_set_bsval(pg_query_A_Const_mutable_bsval(out, out_arena), _strview(node->val.bsval.bsval)); + break; + default: + // Unreachable + Assert(false); + } + } } #include "pg_query_enum_defs.c" #include "pg_query_outfuncs_defs.c" static void -_outNode(PgQuery__Node* out, const void *obj) +_outNode(pg_query_Node* out, const void *obj) { + check_stack_depth(); + if (obj == NULL) return; // Keep out as NULL @@ -254,7 +259,6 @@ _outNode(PgQuery__Node* out, const void *obj) #include "pg_query_outfuncs_conds.c" default: - printf("could not dump unrecognized node type: %d", (int) nodeTag(obj)); elog(WARNING, "could not dump unrecognized node type: %d", (int) nodeTag(obj)); @@ -266,33 +270,67 @@ PgQueryProtobuf pg_query_nodes_to_protobuf(const void *obj) { PgQueryProtobuf protobuf; - const ListCell *lc; - int i = 0; - PgQuery__ParseResult parse_result = PG_QUERY__PARSE_RESULT__INIT; + pg_query_ParseResult *parse_result; + char *data; + size_t len; - parse_result.version = PG_VERSION_NUM; + out_arena = upb_Arena_New(); + parse_result = pg_query_ParseResult_new(out_arena); - if (obj == NULL) { - parse_result.n_stmts = 0; - parse_result.stmts = NULL; - } - else + pg_query_ParseResult_set_version(parse_result, PG_VERSION_NUM); + + /* + * Building the message may throw (e.g. "stack depth limit exceeded" from + * _outNode), and the arena is malloc-backed, so it needs to be freed here + * before passing on the error. + */ + PG_TRY(); { - parse_result.n_stmts = list_length(obj); - parse_result.stmts = palloc(sizeof(PgQuery__RawStmt*) * parse_result.n_stmts); - foreach(lc, obj) + if (obj != NULL) { - parse_result.stmts[i] = palloc(sizeof(PgQuery__RawStmt)); - pg_query__raw_stmt__init(parse_result.stmts[i]); - _outRawStmt(parse_result.stmts[i], lfirst(lc)); - i++; + const ListCell *lc; + + foreach(lc, (const List *) obj) + { + pg_query_RawStmt *stmt = pg_query_ParseResult_add_stmts(parse_result, out_arena); + _outRawStmt(stmt, lfirst(lc)); + } } } + PG_CATCH(); + { + upb_Arena_Free(out_arena); + out_arena = NULL; + PG_RE_THROW(); + } + PG_END_TRY(); + + /* + * Encode with the same depth limit the decoder uses, so anything we emit + * can be read back. Serialization fails (returns NULL) for deeper trees, or + * when the stack depth limit is reached while encoding. + * + * Note: upb also returns NULL when the arena runs out of memory + * (kUpb_EncodeStatus_OutOfMemory), which we report with the same message + * since the generated serialize_ex wrapper discards the encode status. That + * is unlikely enough in practice that we don't call upb_Encode directly to + * tell the two apart. + */ + data = pg_query_ParseResult_serialize_ex(parse_result, upb_EncodeOptions_MaxDepth(PG_QUERY_PROTOBUF_MAX_DEPTH), out_arena, &len); + if (data == NULL) + { + upb_Arena_Free(out_arena); + out_arena = NULL; + elog(ERROR, "parse tree is nested too deeply to serialize to protobuf"); + } - protobuf.len = pg_query__parse_result__get_packed_size(&parse_result); + protobuf.len = len; // Note: This is intentionally malloc so exiting the memory context doesn't free this - protobuf.data = malloc(sizeof(char) * protobuf.len); - pg_query__parse_result__pack(&parse_result, (void*) protobuf.data); + protobuf.data = malloc(len); + memcpy(protobuf.data, data, len); + + upb_Arena_Free(out_arena); + out_arena = NULL; return protobuf; } diff --git a/src/pg_query_outfuncs_protobuf_cpp.cc b/src/pg_query_outfuncs_protobuf_cpp.cc index 14bc0e738..aa6addfdb 100644 --- a/src/pg_query_outfuncs_protobuf_cpp.cc +++ b/src/pg_query_outfuncs_protobuf_cpp.cc @@ -19,6 +19,7 @@ extern "C" #include "nodes/plannodes.h" #include "nodes/value.h" #include "utils/datum.h" +#include "miscadmin.h" } #define OUT_TYPE(typename, typename_c) pg_query::typename* @@ -30,27 +31,33 @@ extern "C" _out##typename_c(fldname, (const typename_cast *) obj); \ } -#define WRITE_INT_FIELD(outname, outname_json, fldname) out->set_##outname(node->fldname); -#define WRITE_UINT_FIELD(outname, outname_json, fldname) out->set_##outname(node->fldname); -#define WRITE_UINT64_FIELD(outname, outname_json, fldname) out->set_##outname(node->fldname); -#define WRITE_LONG_FIELD(outname, outname_json, fldname) out->set_##outname(node->fldname); -#define WRITE_FLOAT_FIELD(outname, outname_json, fldname) out->set_##outname(node->fldname); -#define WRITE_BOOL_FIELD(outname, outname_json, fldname) out->set_##outname(node->fldname); - -#define WRITE_CHAR_FIELD(outname, outname_json, fldname) \ +/* + * These macros are invoked from the generated pg_query_outfuncs_defs.c / + * _conds.c, shared with the upb and JSON backends. The leading `msgtype` + * argument names the enclosing message for the upb backend; the C++ backend + * sets fields on the typed `out` message and ignores it. + */ +#define WRITE_INT_FIELD(msgtype, outname, outname_json, fldname) out->set_##outname(node->fldname); +#define WRITE_UINT_FIELD(msgtype, outname, outname_json, fldname) out->set_##outname(node->fldname); +#define WRITE_UINT64_FIELD(msgtype, outname, outname_json, fldname) out->set_##outname(node->fldname); +#define WRITE_LONG_FIELD(msgtype, outname, outname_json, fldname) out->set_##outname(node->fldname); +#define WRITE_FLOAT_FIELD(msgtype, outname, outname_json, fldname) out->set_##outname(node->fldname); +#define WRITE_BOOL_FIELD(msgtype, outname, outname_json, fldname) out->set_##outname(node->fldname); + +#define WRITE_CHAR_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != 0) { \ out->set_##outname({node->fldname}); \ } -#define WRITE_STRING_FIELD(outname, outname_json, fldname) \ +#define WRITE_STRING_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ out->set_##outname(node->fldname); \ } -#define WRITE_ENUM_FIELD(typename, outname, outname_json, fldname) \ - out->set_##outname((pg_query::typename) _enumToInt##typename(node->fldname)); +#define WRITE_ENUM_FIELD(msgtype, enumtype, outname, outname_json, fldname) \ + out->set_##outname((pg_query::enumtype) _enumToInt##enumtype(node->fldname)); -#define WRITE_LIST_FIELD(outname, outname_json, fldname) \ +#define WRITE_LIST_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ const ListCell *lc; \ foreach(lc, node->fldname) \ @@ -59,28 +66,32 @@ extern "C" } \ } -#define WRITE_BITMAPSET_FIELD(outname, outname_json, fldname) // FIXME +#define WRITE_BITMAPSET_FIELD(msgtype, outname, outname_json, fldname) // FIXME -#define WRITE_NODE_FIELD(outname, outname_json, fldname) \ +#define WRITE_NODE_FIELD(msgtype, outname, outname_json, fldname) \ { \ out->set_allocated_##fldname(new pg_query::Node()); \ _outNode(out->mutable_##outname(), &node->fldname); \ } -#define WRITE_NODE_PTR_FIELD(outname, outname_json, fldname) \ +#define WRITE_NODE_PTR_FIELD(msgtype, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ out->set_allocated_##outname(new pg_query::Node()); \ _outNode(out->mutable_##outname(), node->fldname); \ } -#define WRITE_SPECIFIC_NODE_FIELD(typename, typename_underscore, outname, outname_json, fldname) \ +#define WRITE_SPECIFIC_NODE_FIELD(msgtype, typename, typename_underscore, outname, outname_json, fldname) \ { \ out->set_allocated_##outname(new pg_query::typename()); \ _out##typename(out->mutable_##outname(), &node->fldname); \ } -#define WRITE_SPECIFIC_NODE_PTR_FIELD(typename, typename_underscore, outname, outname_json, fldname) \ +// This recurses into _out##typename directly, bypassing the stack depth check +// in _outNode, so check here (e.g. a long UNION chain nests SelectStmt in +// SelectStmt without ever going through _outNode). +#define WRITE_SPECIFIC_NODE_PTR_FIELD(msgtype, typename, typename_underscore, outname, outname_json, fldname) \ if (node->fldname != NULL) { \ + check_stack_depth(); \ out->set_allocated_##outname(new pg_query::typename()); \ _out##typename(out->mutable_##outname(), node->fldname); \ } @@ -203,6 +214,8 @@ _outAConst(pg_query::A_Const* out_node, const A_Const *node) static void _outNode(pg_query::Node* out, const void *obj) { + check_stack_depth(); + if (obj == NULL) return; // Keep out as NULL @@ -224,26 +237,38 @@ pg_query_nodes_to_protobuf(const void *obj) { PgQueryProtobuf protobuf; const ListCell *lc; - pg_query::ParseResult parse_result; + if (obj == NULL) { protobuf.data = strdup(""); protobuf.len = 0; return protobuf; } - parse_result.set_version(PG_VERSION_NUM); - foreach(lc, (List*) obj) + pg_query::ParseResult *parse_result = new pg_query::ParseResult(); + + PG_TRY(); { - _outRawStmt(parse_result.add_stmts(), (const RawStmt*) lfirst(lc)); - } + parse_result->set_version(PG_VERSION_NUM); + foreach(lc, (List*) obj) + { + _outRawStmt(parse_result->add_stmts(), (const RawStmt*) lfirst(lc)); + } - std::string output; - parse_result.SerializeToString(&output); + std::string output; + parse_result->SerializeToString(&output); - protobuf.data = (char*) calloc(output.size(), sizeof(char)); - memcpy(protobuf.data, output.data(), output.size()); - protobuf.len = output.size(); + protobuf.data = (char*) calloc(output.size(), sizeof(char)); + memcpy(protobuf.data, output.data(), output.size()); + protobuf.len = output.size(); + } + PG_CATCH(); + { + delete parse_result; + PG_RE_THROW(); + } + PG_END_TRY(); + delete parse_result; return protobuf; } @@ -251,19 +276,32 @@ extern "C" char * pg_query_nodes_to_json(const void *obj) { const ListCell *lc; - pg_query::ParseResult parse_result; + char *result = NULL; if (obj == NULL) return pstrdup("{}"); - parse_result.set_version(PG_VERSION_NUM); - foreach(lc, (List*) obj) + pg_query::ParseResult *parse_result = new pg_query::ParseResult(); + + PG_TRY(); { - _outRawStmt(parse_result.add_stmts(), (const RawStmt*) lfirst(lc)); - } + parse_result->set_version(PG_VERSION_NUM); + foreach(lc, (List*) obj) + { + _outRawStmt(parse_result->add_stmts(), (const RawStmt*) lfirst(lc)); + } - std::string output; - google::protobuf::util::MessageToJsonString(parse_result, &output); + std::string output; + google::protobuf::util::MessageToJsonString(*parse_result, &output); + result = pstrdup(output.c_str()); + } + PG_CATCH(); + { + delete parse_result; + PG_RE_THROW(); + } + PG_END_TRY(); - return pstrdup(output.c_str()); + delete parse_result; + return result; } diff --git a/src/pg_query_parse.c b/src/pg_query_parse.c index 3f2c111ab..e66159ad4 100644 --- a/src/pg_query_parse.c +++ b/src/pg_query_parse.c @@ -135,9 +135,44 @@ PgQueryParseResult pg_query_parse_opts(const char* input, int parser_options) result.stderr_buffer = parsetree_and_error.stderr_buffer; result.error = parsetree_and_error.error; - tree_json = pg_query_nodes_to_json(parsetree_and_error.tree); - result.parse_tree = strdup(tree_json); - pfree(tree_json); + if (result.error != NULL) + { + pg_query_exit_memory_context(ctx); + return result; + } + + /* + * Serialize the tree to JSON. This walks the parse tree recursively and + * may throw (e.g. "stack depth limit exceeded" for deeply nested + * expressions), so it needs its own error handling. + */ + PG_TRY(); + { + tree_json = pg_query_nodes_to_json(parsetree_and_error.tree); + result.parse_tree = strdup(tree_json); + pfree(tree_json); + } + PG_CATCH(); + { + ErrorData* error_data; + PgQueryError* error; + + MemoryContextSwitchTo(ctx); + error_data = CopyErrorData(); + + // Note: This is intentionally malloc so exiting the memory context doesn't free this + error = malloc(sizeof(PgQueryError)); + error->message = strdup(error_data->message); + error->filename = strdup(error_data->filename); + error->funcname = strdup(error_data->funcname); + error->context = NULL; + error->lineno = error_data->lineno; + error->cursorpos = error_data->cursorpos; + + result.error = error; + FlushErrorState(); + } + PG_END_TRY(); pg_query_exit_memory_context(ctx); @@ -162,7 +197,44 @@ PgQueryProtobufParseResult pg_query_parse_protobuf_opts(const char* input, int p // These are all malloc-ed and will survive exiting the memory context, the caller is responsible to free them now result.stderr_buffer = parsetree_and_error.stderr_buffer; result.error = parsetree_and_error.error; - result.parse_tree = pg_query_nodes_to_protobuf(parsetree_and_error.tree); + + if (result.error != NULL) + { + pg_query_exit_memory_context(ctx); + return result; + } + + /* + * Serialize the tree to protobuf. This walks the parse tree recursively + * and may throw (e.g. "stack depth limit exceeded" for deeply nested + * expressions, or when the tree is too deep to encode), so it needs its + * own error handling. + */ + PG_TRY(); + { + result.parse_tree = pg_query_nodes_to_protobuf(parsetree_and_error.tree); + } + PG_CATCH(); + { + ErrorData* error_data; + PgQueryError* error; + + MemoryContextSwitchTo(ctx); + error_data = CopyErrorData(); + + // Note: This is intentionally malloc so exiting the memory context doesn't free this + error = malloc(sizeof(PgQueryError)); + error->message = strdup(error_data->message); + error->filename = strdup(error_data->filename); + error->funcname = strdup(error_data->funcname); + error->context = NULL; + error->lineno = error_data->lineno; + error->cursorpos = error_data->cursorpos; + + result.error = error; + FlushErrorState(); + } + PG_END_TRY(); pg_query_exit_memory_context(ctx); diff --git a/src/pg_query_parse_plpgsql.c b/src/pg_query_parse_plpgsql.c index 79402515d..dd792d361 100644 --- a/src/pg_query_parse_plpgsql.c +++ b/src/pg_query_parse_plpgsql.c @@ -140,7 +140,10 @@ static PLpgSQL_function *compile_do_stmt(DoStmt* stmt) } } - assert(proc_source != NULL); + if (proc_source == NULL) + ereport(ERROR, + (errcode(ERRCODE_SYNTAX_ERROR), + errmsg("no inline code specified"))); if(strcmp(language, "plpgsql") != 0) { return (PLpgSQL_function *) palloc0(sizeof(PLpgSQL_function)); @@ -431,11 +434,25 @@ compile_create_function_stmt_via_callback(CreateFunctionStmt *stmt) } } - assert(proc_source != NULL); - if (strcmp(language, "plpgsql") != 0) return (PLpgSQL_function *) palloc0(sizeof(PLpgSQL_function)); + /* Mirrors the checks in upstream interpret_AS_clause */ + if (stmt->sql_body == NULL && proc_source == NULL) + ereport(ERROR, + (errcode(ERRCODE_INVALID_FUNCTION_DEFINITION), + errmsg("no function body specified"))); + + if (stmt->sql_body != NULL && proc_source != NULL) + ereport(ERROR, + (errcode(ERRCODE_INVALID_FUNCTION_DEFINITION), + errmsg("duplicate function body specified"))); + + if (stmt->sql_body != NULL) + ereport(ERROR, + (errcode(ERRCODE_INVALID_FUNCTION_DEFINITION), + errmsg("inline SQL function body only valid for language SQL"))); + wrapper = pg_query_create_function(stmt, language, proc_source, &is_dml_trigger, &is_event_trigger); @@ -624,6 +641,7 @@ PgQueryPlpgsqlParseResult pg_query_parse_plpgsql(const char* input) if (statements.stmts_count == 0) { result.plpgsql_funcs = strdup("[]"); + free(parse_result.stderr_buffer); pg_query_exit_memory_context(ctx); return result; } @@ -639,6 +657,8 @@ PgQueryPlpgsqlParseResult pg_query_parse_plpgsql(const char* input) result.error = func_and_error.error; if (result.error != NULL) { + pg_query_plpgsql_reset_aliases(); + free(parse_result.stderr_buffer); pg_query_exit_memory_context(ctx); return result; } @@ -649,6 +669,7 @@ PgQueryPlpgsqlParseResult pg_query_parse_plpgsql(const char* input) size_t new_out_len; func_json = plpgsqlToJSON(func_and_error.func); + pg_query_plpgsql_reset_aliases(); plpgsql_free_function_memory(func_and_error.func); new_out_len = strlen(result.plpgsql_funcs) + strlen(func_json) + 3; diff --git a/src/pg_query_readfuncs_protobuf.c b/src/pg_query_readfuncs_protobuf.c index d0a7e21ac..ed3f54e51 100644 --- a/src/pg_query_readfuncs_protobuf.c +++ b/src/pg_query_readfuncs_protobuf.c @@ -1,140 +1,183 @@ #include "pg_query_readfuncs.h" +#include "pg_query_internal.h" +#include "postgres.h" +#include "miscadmin.h" #include "nodes/nodes.h" #include "nodes/parsenodes.h" #include "nodes/pg_list.h" +#include "nodes/value.h" -#include "protobuf/pg_query.pb-c.h" +#include "protobuf/pg_query.upb.h" -#define OUT_TYPE(typename, typename_c) PgQuery__##typename_c* +#define OUT_TYPE(typename, typename_c) pg_query_##typename* -#define READ_COND(typename, typename_c, typename_underscore, typename_underscore_upcase, typename_cast, outname) \ - case PG_QUERY__NODE__NODE_##typename_underscore_upcase: \ - return (Node *) _read##typename_c(msg->outname); - -#define READ_INT_FIELD(outname, outname_json, fldname) node->fldname = msg->outname; -#define READ_UINT_FIELD(outname, outname_json, fldname) node->fldname = msg->outname; -#define READ_UINT64_FIELD(outname, outname_json, fldname) node->fldname = msg->outname; -#define READ_LONG_FIELD(outname, outname_json, fldname) node->fldname = msg->outname; -#define READ_FLOAT_FIELD(outname, outname_json, fldname) node->fldname = msg->outname; -#define READ_BOOL_FIELD(outname, outname_json, fldname) node->fldname = msg->outname; - -#define READ_CHAR_FIELD(outname, outname_json, fldname) \ - if (msg->outname != NULL && strlen(msg->outname) > 0) { \ - node->fldname = msg->outname[0]; \ - } - -#define READ_STRING_FIELD(outname, outname_json, fldname) \ - if (msg->outname != NULL && strlen(msg->outname) > 0) { \ - node->fldname = pstrdup(msg->outname); \ - } +/* + * upb appends "_" to a field whose name collides with another field's accessor: + * AlterForeignServerStmt.has_version collides with the presence accessor of its + * `version` field, so upb names the getter has_version_. Alias the plain + * accessor the shared READ_BOOL_FIELD emits to upb's real one. (See the + * matching setter alias in pg_query_outfuncs_protobuf.c.) + */ +#define pg_query_AlterForeignServerStmt_has_version pg_query_AlterForeignServerStmt_has_version_ -#define READ_ENUM_FIELD(typename, outname, outname_json, fldname) \ - node->fldname = _intToEnum##typename(msg->outname); +/* upb returns string fields as a (pointer, length) view into the parse arena; + * copy them into palloc'd, NUL-terminated C strings for the Postgres nodes. */ +static char * +_strview_to_cstring(upb_StringView sv) +{ + char *s = palloc(sv.size + 1); -#define READ_LIST_FIELD(outname, outname_json, fldname) \ - { \ - if (msg->n_##outname > 0) \ - node->fldname = list_make1(_readNode(msg->outname[0])); \ - for (int i = 1; i < msg->n_##outname; i++) \ - node->fldname = lappend(node->fldname, _readNode(msg->outname[i])); \ - } + memcpy(s, sv.data, sv.size); + s[sv.size] = '\0'; + return s; +} -#define READ_BITMAPSET_FIELD(outname, outname_json, fldname) // FIXME +/* + * As in the outfuncs, every READ_ and READ_COND macro takes the enclosing upb + * message type first so it can name the accessor pg_query__(). + * The message pointer is always `msg`. + */ +#define READ_COND(typename, typename_c, typename_underscore, typename_underscore_upcase, typename_cast, outname) \ + case pg_query_Node_node_##outname: \ + return (Node *) _read##typename_c(pg_query_Node_##outname(msg)); -#define READ_NODE_FIELD(outname, outname_json, fldname) \ - node->fldname = *_readNode(msg->outname); +#define READ_INT_FIELD(msgtype, outname, outname_json, fldname) node->fldname = pg_query_##msgtype##_##outname(msg); +#define READ_UINT_FIELD(msgtype, outname, outname_json, fldname) node->fldname = pg_query_##msgtype##_##outname(msg); +#define READ_UINT64_FIELD(msgtype, outname, outname_json, fldname) node->fldname = pg_query_##msgtype##_##outname(msg); +#define READ_LONG_FIELD(msgtype, outname, outname_json, fldname) node->fldname = pg_query_##msgtype##_##outname(msg); +#define READ_FLOAT_FIELD(msgtype, outname, outname_json, fldname) node->fldname = pg_query_##msgtype##_##outname(msg); +#define READ_BOOL_FIELD(msgtype, outname, outname_json, fldname) node->fldname = pg_query_##msgtype##_##outname(msg); -#define READ_NODE_PTR_FIELD(outname, outname_json, fldname) \ - if (msg->outname != NULL) { \ - node->fldname = _readNode(msg->outname); \ +#define READ_CHAR_FIELD(msgtype, outname, outname_json, fldname) \ + { \ + upb_StringView __sv = pg_query_##msgtype##_##outname(msg); \ + if (__sv.size > 0) \ + node->fldname = __sv.data[0]; \ } -#define READ_ABSTRACT_PTR_FIELD(outname, outname_json, fldname, fldtype) \ - if (msg->outname != NULL) { \ - node->fldname = (fldtype) _readNode(msg->outname); \ +#define READ_STRING_FIELD(msgtype, outname, outname_json, fldname) \ + { \ + upb_StringView __sv = pg_query_##msgtype##_##outname(msg); \ + if (__sv.size > 0) \ + node->fldname = _strview_to_cstring(__sv); \ } -#define READ_VALUE_FIELD(outname, outname_json, fldname) \ - if (msg->outname != NULL) { \ - node->fldname = *((Value *) _readNode(msg->outname)); \ - } +#define READ_ENUM_FIELD(msgtype, enumtype, outname, outname_json, fldname) \ + node->fldname = _intToEnum##enumtype(pg_query_##msgtype##_##outname(msg)); -#define READ_VALUE_PTR_FIELD(outname, outname_json, fldname) \ - if (msg->outname != NULL) { \ - node->fldname = (Value *) _readNode(msg->outname); \ +#define READ_LIST_FIELD(msgtype, outname, outname_json, fldname) \ + { \ + size_t __n; \ + const pg_query_Node *const *__items = pg_query_##msgtype##_##outname(msg, &__n); \ + for (size_t __i = 0; __i < __n; __i++) \ + node->fldname = lappend(node->fldname, _readNode(__items[__i])); \ } -#define READ_SPECIFIC_NODE_FIELD(typename, typename_underscore, outname, outname_json, fldname) \ - node->fldname = *_read##typename(msg->outname); - -#define READ_SPECIFIC_NODE_PTR_FIELD(typename, typename_underscore, outname, outname_json, fldname) \ - if (msg->outname != NULL) { \ - node->fldname = _read##typename(msg->outname); \ +#define READ_BITMAPSET_FIELD(msgtype, outname, outname_json, fldname) // FIXME + +#define READ_NODE_FIELD(msgtype, outname, outname_json, fldname) \ + if (pg_query_##msgtype##_has_##outname(msg)) \ + node->fldname = *_readNode(pg_query_##msgtype##_##outname(msg)); + +#define READ_NODE_PTR_FIELD(msgtype, outname, outname_json, fldname) \ + if (pg_query_##msgtype##_has_##outname(msg)) \ + node->fldname = _readNode(pg_query_##msgtype##_##outname(msg)); + +#define READ_ABSTRACT_PTR_FIELD(msgtype, outname, outname_json, fldname, fldtype) \ + if (pg_query_##msgtype##_has_##outname(msg)) \ + node->fldname = (fldtype) _readNode(pg_query_##msgtype##_##outname(msg)); + +#define READ_VALUE_FIELD(msgtype, outname, outname_json, fldname) \ + if (pg_query_##msgtype##_has_##outname(msg)) \ + node->fldname = *((Value *) _readNode(pg_query_##msgtype##_##outname(msg))); + +#define READ_VALUE_PTR_FIELD(msgtype, outname, outname_json, fldname) \ + if (pg_query_##msgtype##_has_##outname(msg)) \ + node->fldname = (Value *) _readNode(pg_query_##msgtype##_##outname(msg)); + +#define READ_SPECIFIC_NODE_FIELD(msgtype, typename, typename_underscore, outname, outname_json, fldname) \ + if (pg_query_##msgtype##_has_##outname(msg)) \ + node->fldname = *_read##typename(pg_query_##msgtype##_##outname(msg)); + +/* + * This recurses into _read##typename directly, bypassing the stack depth check + * in _readNode, so check here (e.g. a long UNION chain nests SelectStmt in + * SelectStmt without ever going through _readNode). + */ +#define READ_SPECIFIC_NODE_PTR_FIELD(msgtype, typename, typename_underscore, outname, outname_json, fldname) \ + if (pg_query_##msgtype##_has_##outname(msg)) { \ + check_stack_depth(); \ + node->fldname = _read##typename(pg_query_##msgtype##_##outname(msg)); \ } -static Node * _readNode(PgQuery__Node *msg); +static Node * _readNode(const pg_query_Node *msg); static String * -_readString(PgQuery__String* msg) +_readString(const pg_query_String* msg) { - return makeString(pstrdup(msg->sval)); + return makeString(_strview_to_cstring(pg_query_String_sval(msg))); } #include "pg_query_enum_defs.c" #include "pg_query_readfuncs_defs.c" -static List * _readList(PgQuery__List *msg) +static List * +_readList(const pg_query_List *msg) { - List *node = NULL; - if (msg->n_items > 0) - node = list_make1(_readNode(msg->items[0])); - for (int i = 1; i < msg->n_items; i++) - node = lappend(node, _readNode(msg->items[i])); + List *node = NULL; + size_t n; + const pg_query_Node *const *items = pg_query_List_items(msg, &n); + + for (size_t i = 0; i < n; i++) + node = lappend(node, _readNode(items[i])); return node; } -static Node * _readNode(PgQuery__Node *msg) +static Node * +_readNode(const pg_query_Node *msg) { - switch (msg->node_case) + check_stack_depth(); + + switch (pg_query_Node_node_case(msg)) { #include "pg_query_readfuncs_conds.c" - case PG_QUERY__NODE__NODE_INTEGER: - return (Node *) makeInteger(msg->integer->ival); - case PG_QUERY__NODE__NODE_FLOAT: - return (Node *) makeFloat(pstrdup(msg->float_->fval)); - case PG_QUERY__NODE__NODE_BOOLEAN: - return (Node *) makeBoolean(msg->boolean->boolval); - case PG_QUERY__NODE__NODE_STRING: - return (Node *) makeString(pstrdup(msg->string->sval)); - case PG_QUERY__NODE__NODE_BIT_STRING: - return (Node *) makeBitString(pstrdup(msg->bit_string->bsval)); - case PG_QUERY__NODE__NODE_A_CONST: { + case pg_query_Node_node_integer: + return (Node *) makeInteger(pg_query_Integer_ival(pg_query_Node_integer(msg))); + case pg_query_Node_node_float: + return (Node *) makeFloat(_strview_to_cstring(pg_query_Float_fval(pg_query_Node_float(msg)))); + case pg_query_Node_node_boolean: + return (Node *) makeBoolean(pg_query_Boolean_boolval(pg_query_Node_boolean(msg))); + case pg_query_Node_node_string: + return (Node *) makeString(_strview_to_cstring(pg_query_String_sval(pg_query_Node_string(msg)))); + case pg_query_Node_node_bit_string: + return (Node *) makeBitString(_strview_to_cstring(pg_query_BitString_bsval(pg_query_Node_bit_string(msg)))); + case pg_query_Node_node_a_const: { + const pg_query_A_Const *ac_msg = pg_query_Node_a_const(msg); A_Const *ac = makeNode(A_Const); - ac->location = msg->a_const->location; + ac->location = pg_query_A_Const_location(ac_msg); - if (msg->a_const->isnull) { + if (pg_query_A_Const_isnull(ac_msg)) { ac->isnull = true; } else { - switch (msg->a_const->val_case) { - case PG_QUERY__A__CONST__VAL_IVAL: - ac->val.ival = *makeInteger(msg->a_const->ival->ival); + switch (pg_query_A_Const_val_case(ac_msg)) { + case pg_query_A_Const_val_ival: + ac->val.ival = *makeInteger(pg_query_Integer_ival(pg_query_A_Const_ival(ac_msg))); break; - case PG_QUERY__A__CONST__VAL_FVAL: - ac->val.fval = *makeFloat(pstrdup(msg->a_const->fval->fval)); + case pg_query_A_Const_val_fval: + ac->val.fval = *makeFloat(_strview_to_cstring(pg_query_Float_fval(pg_query_A_Const_fval(ac_msg)))); break; - case PG_QUERY__A__CONST__VAL_BOOLVAL: - ac->val.boolval = *makeBoolean(msg->a_const->boolval->boolval); + case pg_query_A_Const_val_boolval: + ac->val.boolval = *makeBoolean(pg_query_Boolean_boolval(pg_query_A_Const_boolval(ac_msg))); break; - case PG_QUERY__A__CONST__VAL_SVAL: - ac->val.sval = *makeString(pstrdup(msg->a_const->sval->sval)); + case pg_query_A_Const_val_sval: + ac->val.sval = *makeString(_strview_to_cstring(pg_query_String_sval(pg_query_A_Const_sval(ac_msg)))); break; - case PG_QUERY__A__CONST__VAL_BSVAL: - ac->val.bsval = *makeBitString(pstrdup(msg->a_const->bsval->bsval)); + case pg_query_A_Const_val_bsval: + ac->val.bsval = *makeBitString(_strview_to_cstring(pg_query_BitString_bsval(pg_query_A_Const_bsval(ac_msg)))); break; - case PG_QUERY__A__CONST__VAL__NOT_SET: - case _PG_QUERY__A__CONST__VAL__CASE_IS_INT_SIZE: + case pg_query_A_Const_val_NOT_SET: Assert(false); break; } @@ -142,36 +185,66 @@ static Node * _readNode(PgQuery__Node *msg) return (Node *) ac; } - case PG_QUERY__NODE__NODE_LIST: - return (Node *) _readList(msg->list); - case PG_QUERY__NODE__NODE__NOT_SET: + case pg_query_Node_node_list: + return (Node *) _readList(pg_query_Node_list(msg)); + case pg_query_Node_node_NOT_SET: return NULL; default: elog(ERROR, "unsupported protobuf node type: %d", - (int) msg->node_case); + (int) pg_query_Node_node_case(msg)); } } List * pg_query_protobuf_to_nodes(PgQueryProtobuf protobuf) { - PgQuery__ParseResult *result = NULL; - List * list = NULL; - size_t i = 0; - - result = pg_query__parse_result__unpack(NULL, protobuf.len, (const uint8_t *) protobuf.data); - - // TODO: Handle this by returning an error instead - Assert(result != NULL); - - // TODO: Handle this by returning an error instead - Assert(result->version == PG_VERSION_NUM); + upb_Arena *arena = upb_Arena_New(); + pg_query_ParseResult *result; + List *list = NULL; + size_t n_stmts = 0; + const pg_query_RawStmt *const *stmts; + size_t i; + + /* + * upb's default depth limit (100) is far too low for real queries, use the + * same limit as the encoder so we accept any tree we produce ourselves. + * Decoding also fails once the stack depth limit is reached (see + * vendor/upb/patches/0003-stack-depth-check.patch). + */ + result = pg_query_ParseResult_parse_ex(protobuf.data, protobuf.len, NULL, + upb_DecodeOptions_MaxDepth(PG_QUERY_PROTOBUF_MAX_DEPTH), + arena); + + if (result == NULL) + { + upb_Arena_Free(arena); + elog(ERROR, "could not parse protobuf"); + } - if (result->n_stmts > 0) - list = list_make1(_readRawStmt(result->stmts[0])); - for (i = 1; i < result->n_stmts; i++) - list = lappend(list, _readRawStmt(result->stmts[i])); + /* + * Note: The version field is not checked. The protobuf format is only + * expected to be read by the same libpg_query version, and mismatches show + * up as unknown fields (ignored) or missing ones (zero values). + */ + + /* + * Reading the nodes may throw (e.g. "stack depth limit exceeded" from + * _readNode), and the arena is malloc-backed, so it needs to be freed here + * before passing on the error. + */ + PG_TRY(); + { + stmts = pg_query_ParseResult_stmts(result, &n_stmts); + for (i = 0; i < n_stmts; i++) + list = lappend(list, _readRawStmt(stmts[i])); + } + PG_CATCH(); + { + upb_Arena_Free(arena); + PG_RE_THROW(); + } + PG_END_TRY(); - pg_query__parse_result__free_unpacked(result, NULL); + upb_Arena_Free(arena); return list; } diff --git a/src/pg_query_scan.c b/src/pg_query_scan.c index 1d0e052e7..08833596f 100644 --- a/src/pg_query_scan.c +++ b/src/pg_query_scan.c @@ -4,7 +4,7 @@ #include "gramparse.h" #include "lib/stringinfo.h" -#include "protobuf/pg_query.pb-c.h" +#include "protobuf/pg_query.upb.h" #include #include @@ -23,18 +23,73 @@ struct yyguts_t size_t yyleng_r; }; -PgQueryScanResult pg_query_scan(const char* input) +/* + * Runs the scanner over the input and returns the tokens as a palloc'd array + * in the current memory context. Scanner errors are thrown (via elog), so this + * must be called inside PG_TRY. + */ +static PgQueryScanToken * +scan_tokens(const char *input, int *n_tokens_out) { - MemoryContext ctx = NULL; - PgQueryScanResult result = {0}; core_yyscan_t yyscanner; core_yy_extra_type yyextra; core_YYSTYPE yylval; YYLTYPE yylloc; - PgQuery__ScanResult scan_result = PG_QUERY__SCAN_RESULT__INIT; - PgQuery__ScanToken **output_tokens; - size_t token_count = 0; - size_t i; + int capacity = 64; + int n_tokens = 0; + PgQueryScanToken *tokens = palloc(sizeof(PgQueryScanToken) * capacity); + + /* initialize the flex scanner --- should match raw_parser() */ + yyscanner = scanner_init(input, &yyextra, &ScanKeywords, ScanKeywordTokens); + + /* return comments as tokens, unlike raw_parser() */ + yyextra.return_comments = true; + + /* Lex tokens */ + for (;;) + { + int tok; + PgQueryScanToken *token; + + tok = core_yylex(&yylval, &yylloc, yyscanner); + if (tok == 0) break; + + if (n_tokens == capacity) + { + capacity *= 2; + tokens = repalloc(tokens, sizeof(PgQueryScanToken) * capacity); + } + token = &tokens[n_tokens++]; + + token->start = yylloc; + if (tok == SCONST || tok == USCONST || tok == BCONST || tok == XCONST || tok == IDENT || tok == UIDENT || tok == C_COMMENT) { + token->end = yyextra.yyllocend; + } else { + token->end = yylloc + ((struct yyguts_t*) yyscanner)->yyleng_r; + } + token->token = tok; + + switch (tok) { + #define PG_KEYWORD(a,b,c,d) case b: token->keyword_kind = c + 1; break; + #include "parser/kwlist.h" + #undef PG_KEYWORD + default: token->keyword_kind = 0; + } + } + + scanner_finish(yyscanner); + + *n_tokens_out = n_tokens; + return tokens; +} + +PgQueryScanResult pg_query_scan(const char* input) +{ + MemoryContext ctx = NULL; + PgQueryScanResult result = {0}; + /* volatile: assigned inside PG_TRY and read in PG_CATCH (after longjmp) */ + upb_Arena *volatile arena = NULL; + pg_query_ScanResult *scan_result; ctx = pg_query_enter_memory_context(); @@ -68,59 +123,39 @@ PgQueryScanResult pg_query_scan(const char* input) PG_TRY(); { - // Really this is stupid, we only run twice so we can pre-allocate the output array correctly - yyscanner = scanner_init(input, &yyextra, &ScanKeywords, ScanKeywordTokens); - for (;; token_count++) - { - if (core_yylex(&yylval, &yylloc, yyscanner) == 0) break; - } - scanner_finish(yyscanner); - - output_tokens = malloc(sizeof(PgQuery__ScanToken *) * token_count); + size_t packed_len; + char *packed_data; + int n_tokens; + PgQueryScanToken *tokens = scan_tokens(input, &n_tokens); - /* initialize the flex scanner --- should match raw_parser() */ - yyscanner = scanner_init(input, &yyextra, &ScanKeywords, ScanKeywordTokens); + arena = upb_Arena_New(); + scan_result = pg_query_ScanResult_new(arena); + pg_query_ScanResult_set_version(scan_result, PG_VERSION_NUM); - /* Lex tokens */ - for (i = 0; ; i++) + for (int i = 0; i < n_tokens; i++) { - int tok; - int keyword; - - tok = core_yylex(&yylval, &yylloc, yyscanner); - if (tok == 0) break; - - output_tokens[i] = malloc(sizeof(PgQuery__ScanToken)); - pg_query__scan_token__init(output_tokens[i]); - output_tokens[i]->start = yylloc; - if (tok == SCONST || tok == USCONST || tok == BCONST || tok == XCONST || tok == IDENT || tok == UIDENT || tok == C_COMMENT) { - output_tokens[i]->end = yyextra.yyllocend; - } else { - output_tokens[i]->end = yylloc + ((struct yyguts_t*) yyscanner)->yyleng_r; - } - output_tokens[i]->token = tok; - - switch (tok) { - #define PG_KEYWORD(a,b,c,d) case b: output_tokens[i]->keyword_kind = c + 1; break; - #include "parser/kwlist.h" - #undef PG_KEYWORD - default: output_tokens[i]->keyword_kind = 0; - } + pg_query_ScanToken *scan_token = pg_query_ScanResult_add_tokens(scan_result, arena); + + pg_query_ScanToken_set_start(scan_token, tokens[i].start); + pg_query_ScanToken_set_end(scan_token, tokens[i].end); + pg_query_ScanToken_set_token(scan_token, tokens[i].token); + pg_query_ScanToken_set_keyword_kind(scan_token, tokens[i].keyword_kind); } - scanner_finish(yyscanner); + /* Serialize into the arena, then copy out into a malloc'd buffer that + * survives exiting the memory context (freed in pg_query_free_scan_result). + * Serialization fails (returns NULL) e.g. when the arena runs out of memory; + * PG_CATCH below frees the arena. */ + packed_data = pg_query_ScanResult_serialize(scan_result, arena, &packed_len); + if (packed_data == NULL) + elog(ERROR, "could not serialize scan result to protobuf"); - scan_result.version = PG_VERSION_NUM; - scan_result.n_tokens = token_count; - scan_result.tokens = output_tokens; - result.pbuf.len = pg_query__scan_result__get_packed_size(&scan_result); - result.pbuf.data = malloc(result.pbuf.len); - pg_query__scan_result__pack(&scan_result, (void*) result.pbuf.data); + result.pbuf.len = packed_len; + result.pbuf.data = malloc(packed_len); + memcpy(result.pbuf.data, packed_data, packed_len); - for (i = 0; i < token_count; i++) { - free(output_tokens[i]); - } - free(output_tokens); + upb_Arena_Free(arena); + arena = NULL; #ifndef DEBUG // Save stderr for result @@ -137,6 +172,12 @@ PgQueryScanResult pg_query_scan(const char* input) MemoryContextSwitchTo(parse_context); error_data = CopyErrorData(); + // The arena is malloc-backed, so it is not freed with the memory context + if (arena != NULL) { + upb_Arena_Free(arena); + arena = NULL; + } + // Note: This is intentionally malloc so exiting the memory context doesn't free this error = malloc(sizeof(PgQueryError)); error->message = strdup(error_data->message); @@ -172,3 +213,65 @@ void pg_query_free_scan_result(PgQueryScanResult result) free(result.pbuf.data); free(result.stderr_buffer); } + +/* + * Like pg_query_scan, but returns the tokens as a plain C array instead of a + * serialized protobuf, so C callers don't need to decode the result themselves. + */ +PgQueryScanTokensResult pg_query_scan_tokens(const char* input) +{ + MemoryContext ctx = NULL; + PgQueryScanTokensResult result = {0}; + + ctx = pg_query_enter_memory_context(); + + PG_TRY(); + { + int n_tokens; + PgQueryScanToken *tokens = scan_tokens(input, &n_tokens); + + result.n_tokens = n_tokens; + if (n_tokens > 0) + { + // Note: This is intentionally malloc so exiting the memory context doesn't free this + result.tokens = malloc(sizeof(PgQueryScanToken) * n_tokens); + memcpy(result.tokens, tokens, sizeof(PgQueryScanToken) * n_tokens); + } + } + PG_CATCH(); + { + ErrorData* error_data; + PgQueryError* error; + + MemoryContextSwitchTo(ctx); + error_data = CopyErrorData(); + + // Note: This is intentionally malloc so exiting the memory context doesn't free this + error = malloc(sizeof(PgQueryError)); + error->message = strdup(error_data->message); + error->filename = strdup(error_data->filename); + error->funcname = strdup(error_data->funcname); + error->context = NULL; + error->lineno = error_data->lineno; + error->cursorpos = error_data->cursorpos; + + result.error = error; + FlushErrorState(); + } + PG_END_TRY(); + + pg_query_exit_memory_context(ctx); + + return result; +} + +void pg_query_free_scan_tokens_result(PgQueryScanTokensResult result) +{ + if (result.error) { + pg_query_free_error(result.error); + } + + free(result.tokens); +} + +#include "pg_query_scan_defs.c" diff --git a/src/pg_query_summary.c b/src/pg_query_summary.c index b713bd5c0..39fb6c3d0 100644 --- a/src/pg_query_summary.c +++ b/src/pg_query_summary.c @@ -12,7 +12,7 @@ #include "nodes/nodeFuncs.h" #include "utils/builtins.h" -#include "protobuf/pg_query.pb-c.h" +#include "protobuf/pg_query.upb.h" #include #include @@ -22,6 +22,7 @@ static char *range_var_to_name(RangeVar *rv); static bool cte_names_include(WalkState * state, char *relname); +static void handle_with_clause(WithClause *with_clause, WalkState * state); static PgQueryError * make_pg_query_error(const char *message) @@ -103,6 +104,87 @@ add_range_var_list(List *clause, ContextType context, WalkState * state) } } +typedef struct +{ + char *ctename; + WalkState *state; +} CteSelfReferenceContext; + +/* + * Records the range vars inside a CTE's own definition that carry the CTE's own + * name. + */ +static bool +cte_self_reference_walker(Node *node, CteSelfReferenceContext * context) +{ + if (node == NULL) + return false; + + if (IsA(node, RangeVar)) + { + RangeVar *rv = castNode(RangeVar, node); + + /* Schema-qualified names never refer to a CTE. */ + if (rv->schemaname == NULL && rv->relname != NULL && + strcmp(rv->relname, context->ctename) == 0) + context->state->cte_self_reference_range_vars = + lappend(context->state->cte_self_reference_range_vars, rv); + } + + if (!pg_query_raw_tree_walker_supports(node)) + return false; + + return raw_expression_tree_walker(node, cte_self_reference_walker, (void *) context); +} + +/* + * Records the CTE names a WITH clause defines, plus the range vars inside a + * CTE's own definition that carry the CTE's own name: a non-recursive CTE is not + * visible inside its own definition, so those name a real relation, like the + * first "users" in + * + * WITH users AS (SELECT * FROM users) SELECT * FROM users + * + * Runs before descending into the statement, so that the CTE names of enclosing + * scopes are known when a nested WITH clause is reached. + */ +static void +handle_with_clause(WithClause *with_clause, WalkState * state) +{ + if (with_clause == NULL) + return; + + ListCell *lc = NULL; + + foreach(lc, with_clause->ctes) + { + if (!IsA(lfirst(lc), CommonTableExpr)) + continue; + + CommonTableExpr *cte = castNode(CommonTableExpr, lfirst(lc)); + + if (cte->ctename == NULL) + continue; + + /* + * WITH RECURSIVE does make a CTE visible to itself, and a name that + * already is a visible CTE from an enclosing scope keeps resolving to + * that CTE inside this definition, like the inner "a" in + * + * WITH a AS (...) SELECT * FROM (WITH a AS (SELECT * FROM a) ...) s + */ + if (!with_clause->recursive && cte->ctequery != NULL && + !cte_names_include(state, cte->ctename)) + { + CteSelfReferenceContext context = {cte->ctename, state}; + + cte_self_reference_walker(cte->ctequery, &context); + } + + state->cte_names = lappend(state->cte_names, pstrdup(cte->ctename)); + } +} + static void add_function(List *funcname, ContextType context, WalkState * state) { @@ -132,14 +214,6 @@ pg_query_summary_walk_impl(Node *node, WalkState * state) switch (nodeTag(node)) { - case T_CommonTableExpr: - { - CommonTableExpr *cte = castNode(CommonTableExpr, node); - - state->cte_names = lappend(state->cte_names, pstrdup(cte->ctename)); - break; - } - case T_CallStmt: { CallStmt *stmt = castNode(CallStmt, node); @@ -159,6 +233,8 @@ pg_query_summary_walk_impl(Node *node, WalkState * state) SelectStmt *stmt = castNode(SelectStmt, node); + handle_with_clause(stmt->withClause, state); + if (stmt->op == SETOP_NONE) add_range_var_list(stmt->fromClause, CONTEXT_SELECT, state); @@ -191,7 +267,10 @@ pg_query_summary_walk_impl(Node *node, WalkState * state) case T_InsertStmt: { - add_range_var((Node *) castNode(InsertStmt, node)->relation, CONTEXT_DML, state); + InsertStmt *stmt = castNode(InsertStmt, node); + + handle_with_clause(stmt->withClause, state); + add_range_var((Node *) stmt->relation, CONTEXT_DML, state); break; } @@ -199,6 +278,7 @@ pg_query_summary_walk_impl(Node *node, WalkState * state) { UpdateStmt *stmt = castNode(UpdateStmt, node); + handle_with_clause(stmt->withClause, state); add_range_var((Node *) stmt->relation, CONTEXT_DML, state); add_range_var_list(stmt->fromClause, CONTEXT_SELECT, state); break; @@ -208,6 +288,7 @@ pg_query_summary_walk_impl(Node *node, WalkState * state) { MergeStmt *stmt = castNode(MergeStmt, node); + handle_with_clause(stmt->withClause, state); add_range_var((Node *) stmt->relation, CONTEXT_DML, state); break; } @@ -216,6 +297,7 @@ pg_query_summary_walk_impl(Node *node, WalkState * state) { DeleteStmt *stmt = castNode(DeleteStmt, node); + handle_with_clause(stmt->withClause, state); add_range_var((Node *) stmt->relation, CONTEXT_DML, state); add_range_var_list(stmt->usingClause, CONTEXT_SELECT, state); break; @@ -599,6 +681,46 @@ cte_names_include(WalkState * state, char *relname) return false; } +/* + * Returns true if the given range var was recorded as a reference to the CTE it + * is defined in - see handle_with_clause(). + */ +static bool +cte_self_reference_range_vars_include(WalkState * state, RangeVar *rv) +{ + ListCell *lc = NULL; + + foreach(lc, state->cte_self_reference_range_vars) + { + if (lfirst(lc) == rv) + return true; + } + return false; +} + +/* + * Determines whether a range var refers to a CTE rather than to a relation. + * + * Only plain (SELECT-style) references can resolve to a CTE: a CTE is not a + * valid target for DML (INSERT/UPDATE/DELETE/MERGE) or DDL, so those always name + * a real relation, even when a CTE in the same statement shares the name. + */ +static bool +is_cte_reference(WalkState * state, RangeVar *rv, ContextType context) +{ + if (context != CONTEXT_SELECT) + return false; + + /* Schema-qualified names always refer to a relation. */ + if (rv->schemaname != NULL) + return false; + + if (!cte_names_include(state, rv->relname)) + return false; + + return !cte_self_reference_range_vars_include(state, rv); +} + static void handle_range_var(RangeVar *node, ContextType context, WalkState * state) { @@ -607,7 +729,7 @@ handle_range_var(RangeVar *node, ContextType context, WalkState * state) RangeVar *rv = node; - if (!cte_names_include(state, rv->relname)) + if (!is_cte_reference(state, rv, context)) { SummaryTable *table = palloc(sizeof(SummaryTable)); @@ -637,9 +759,11 @@ pg_query_summary_walk(Summary * summary, Node *tree) /* * NOTE regarding cte_names and range_vars: - * - We process cte_names as we iterate through the tree. - * - We only add items to tables if they are *not* in cte_names. - * - CTEs can be defined *after* they're referenced as names. + * - We process cte_names as we iterate through the tree, from the WITH + * clause of a statement, before descending into that statement. + * - We only add items to tables if they are *not* a CTE reference. + * - CTEs can be defined *after* they're referenced as names, since + * raw_expression_tree_walker() walks the WITH clause of a statement last. * - Due to this, we store range_vars and process it after the tree walk. * * If we try to do it entirely on the initial pass, we wind up with CTEs @@ -675,11 +799,11 @@ pg_query_summary_walk(Summary * summary, Node *tree) summary->filter_columns = state.filter_columns; } -static PgQuery__SummaryResult__Context ctx_to_protobuf_ctx(ContextType ctx) +static int32_t ctx_to_protobuf_ctx(ContextType ctx) { /* - * We're converting from an enum we control (ContextType) to an enum which - * is auto-generated by protobuf (PgQuery__SummaryResult__Context). + * We're converting from an enum we control (ContextType) to the enum + * generated for the protobuf SummaryResult.Context. * * While these should always be equivalent, we can't guarantee correctness * with a simple cast. (It is theoretically possible for the internal @@ -690,149 +814,105 @@ static PgQuery__SummaryResult__Context ctx_to_protobuf_ctx(ContextType ctx) switch (ctx) { case CONTEXT_NONE: - return PG_QUERY__SUMMARY_RESULT__CONTEXT__None; + return pg_query_SummaryResult_None; case CONTEXT_SELECT: - return PG_QUERY__SUMMARY_RESULT__CONTEXT__Select; + return pg_query_SummaryResult_Select; case CONTEXT_DML: - return PG_QUERY__SUMMARY_RESULT__CONTEXT__DML; + return pg_query_SummaryResult_DML; case CONTEXT_DDL: - return PG_QUERY__SUMMARY_RESULT__CONTEXT__DDL; + return pg_query_SummaryResult_DDL; case CONTEXT_CALL: - return PG_QUERY__SUMMARY_RESULT__CONTEXT__Call; + return pg_query_SummaryResult_Call; default: - return PG_QUERY__SUMMARY_RESULT__CONTEXT__None; + return pg_query_SummaryResult_None; } } +/* upb string fields hold a (pointer, length) view; the source strings here are + * palloc'd and live until after we serialize, so we can reference them directly + * (NULL becomes the empty string, matching the previous protobuf-c behavior). */ +static inline upb_StringView sv(const char *s) +{ + return upb_StringView_FromString(s != NULL ? s : ""); +} + /* Given the summarized query, convert it to protobuf, and store it in `result`. */ static void summary_to_protobuf(PgQuerySummaryParseResult * result, Summary * summary) { - PgQueryProtobuf protobuf; - PgQuery__SummaryResult sr = PG_QUERY__SUMMARY_RESULT__INIT; - - sr.n_tables = list_length(summary->tables); - sr.tables = palloc(sizeof(PgQuery__SummaryResult__Table *) * sr.n_tables); - + upb_Arena *a = upb_Arena_New(); + pg_query_SummaryResult *sr = pg_query_SummaryResult_new(a); ListCell *lc = NULL; + char *data; + size_t len; foreach(lc, summary->tables) { - size_t i = foreach_current_index(lc); SummaryTable *table = lfirst(lc); + pg_query_SummaryResult_Table *t = pg_query_SummaryResult_add_tables(sr, a); - sr.tables[i] = palloc(sizeof(PgQuery__SummaryResult__Table)); - pg_query__summary_result__table__init(sr.tables[i]); - sr.tables[i]->name = table->name; - sr.tables[i]->schema_name = table->schema_name; - sr.tables[i]->table_name = table->table_name; - sr.tables[i]->context = ctx_to_protobuf_ctx(table->context); + pg_query_SummaryResult_Table_set_name(t, sv(table->name)); + pg_query_SummaryResult_Table_set_schema_name(t, sv(table->schema_name)); + pg_query_SummaryResult_Table_set_table_name(t, sv(table->table_name)); + pg_query_SummaryResult_Table_set_context(t, ctx_to_protobuf_ctx(table->context)); } - sr.n_aliases = list_length(summary->aliases); - sr.aliases = palloc(sizeof(PgQuery__SummaryResult__AliasesEntry *) * sr.n_aliases); foreach(lc, summary->aliases) { - size_t i = foreach_current_index(lc); SummaryAlias *alias = lfirst(lc); - sr.aliases[i] = palloc(sizeof(PgQuery__SummaryResult__AliasesEntry)); - pg_query__summary_result__aliases_entry__init(sr.aliases[i]); - sr.aliases[i]->key = alias->key; - sr.aliases[i]->value = alias->value; + pg_query_SummaryResult_aliases_set(sr, sv(alias->key), sv(alias->value), a); } - sr.n_cte_names = list_length(summary->cte_names); - sr.cte_names = palloc(sizeof(char *) * sr.n_cte_names); foreach(lc, summary->cte_names) - { - size_t i = foreach_current_index(lc); - char *ctename = lfirst(lc); - - sr.cte_names[i] = ctename; - } + pg_query_SummaryResult_add_cte_names(sr, sv(lfirst(lc)), a); - sr.n_functions = list_length(summary->functions); - sr.functions = palloc(sizeof(PgQuery__SummaryResult__Function *) * sr.n_functions); foreach(lc, summary->functions) { - size_t i = foreach_current_index(lc); SummaryFunction *fn = lfirst(lc); + pg_query_SummaryResult_Function *f = pg_query_SummaryResult_add_functions(sr, a); - sr.functions[i] = palloc(sizeof(PgQuery__SummaryResult__Function)); - pg_query__summary_result__function__init(sr.functions[i]); - sr.functions[i]->name = fn->name; - sr.functions[i]->function_name = fn->function_name; - sr.functions[i]->schema_name = fn->schema_name; - sr.functions[i]->context = ctx_to_protobuf_ctx(fn->context); + pg_query_SummaryResult_Function_set_name(f, sv(fn->name)); + pg_query_SummaryResult_Function_set_function_name(f, sv(fn->function_name)); + pg_query_SummaryResult_Function_set_schema_name(f, sv(fn->schema_name)); + pg_query_SummaryResult_Function_set_context(f, ctx_to_protobuf_ctx(fn->context)); } - sr.n_filter_columns = list_length(summary->filter_columns); - sr.filter_columns = palloc(sizeof(PgQuery__SummaryResult__FilterColumn *) * sr.n_filter_columns); foreach(lc, summary->filter_columns) { - size_t i = foreach_current_index(lc); FilterColumn *fc = lfirst(lc); + pg_query_SummaryResult_FilterColumn *c = pg_query_SummaryResult_add_filter_columns(sr, a); - sr.filter_columns[i] = palloc(sizeof(PgQuery__SummaryResult__FilterColumn)); - pg_query__summary_result__filter_column__init(sr.filter_columns[i]); - sr.filter_columns[i]->schema_name = fc->schema_name; - sr.filter_columns[i]->table_name = fc->table_name; - sr.filter_columns[i]->column = fc->column; + pg_query_SummaryResult_FilterColumn_set_schema_name(c, sv(fc->schema_name)); + pg_query_SummaryResult_FilterColumn_set_table_name(c, sv(fc->table_name)); + pg_query_SummaryResult_FilterColumn_set_column(c, sv(fc->column)); } - sr.n_statement_types = list_length(summary->statement_types); - sr.statement_types = palloc(sizeof(char *) * sr.n_statement_types); foreach(lc, summary->statement_types) - { - size_t i = foreach_current_index(lc); - char *st = lfirst(lc); + pg_query_SummaryResult_add_statement_types(sr, sv(lfirst(lc)), a); - sr.statement_types[i] = pstrdup(st); - } - - if (summary->truncated_query == NULL) - sr.truncated_query = pstrdup(""); - else - sr.truncated_query = summary->truncated_query; - - size_t len = pg_query__summary_result__get_packed_size(&sr); + pg_query_SummaryResult_set_truncated_query(sr, sv(summary->truncated_query)); /* - * Note: This is intentionally malloc so exiting the memory context - * doesn't free this + * Serialization fails (returns NULL) e.g. when the arena runs out of + * memory. The arena is malloc-backed, so free it before throwing. */ - char *data = malloc(sizeof(char) * len); - - size_t written = pg_query__summary_result__pack(&sr, (void *) data); - - if (written == len) + data = pg_query_SummaryResult_serialize(sr, a, &len); + if (data == NULL) { - result->summary.len = len; - result->summary.data = data; + upb_Arena_Free(a); + elog(ERROR, "could not serialize summary to protobuf"); } - else - { - result->error = make_pg_query_error("summary_to_protobuf() wrote wrong amount of data?"); - } - - for (size_t i = 0; i < sr.n_tables; i++) - pfree(sr.tables[i]); - pfree(sr.tables); - for (size_t i = 0; i < sr.n_aliases; i++) - pfree(sr.aliases[i]); - pfree(sr.aliases); - - for (size_t i = 0; i < sr.n_functions; i++) - pfree(sr.functions[i]); - pfree(sr.functions); - - for (size_t i = 0; i < sr.n_filter_columns; i++) - pfree(sr.filter_columns[i]); - pfree(sr.filter_columns); + /* + * Note: This is intentionally malloc so exiting the memory context + * doesn't free this + */ + result->summary.len = len; + result->summary.data = malloc(len); + memcpy(result->summary.data, data, len); - pfree(sr.truncated_query); + upb_Arena_Free(a); } /* @@ -855,13 +935,28 @@ pg_query_summary_internal(const char *input, int parser_options, int truncate_li if (result.error == NULL) { - pg_query_summary_walk(&summary, (Node *) parsetree_and_error.tree); - pg_query_summary_statement_walk(&summary, (Node *) parsetree_and_error.tree); + /* + * The walks may throw (e.g. "stack depth limit exceeded"), and the + * malloc-ed stderr buffer is only known to this frame at that point, so + * free it before passing on the error. + */ + PG_TRY(); + { + pg_query_summary_walk(&summary, (Node *) parsetree_and_error.tree); + pg_query_summary_statement_walk(&summary, (Node *) parsetree_and_error.tree); + + if (should_truncate) + pg_query_summary_truncate(&summary, (Node *) parsetree_and_error.tree, truncate_limit); + } + PG_CATCH(); + { + if (result.stderr_buffer) + free(result.stderr_buffer); + PG_RE_THROW(); + } + PG_END_TRY(); } - if (result.error == NULL && should_truncate) - pg_query_summary_truncate(&summary, (Node *) parsetree_and_error.tree, truncate_limit); - result.summary = summary; return result; diff --git a/src/pg_query_summary.h b/src/pg_query_summary.h index 01fb54ed0..735f5b12a 100644 --- a/src/pg_query_summary.h +++ b/src/pg_query_summary.h @@ -68,6 +68,7 @@ typedef struct List *functions; /* List of Function * */ List *range_vars; /* List of RangeVarWithContext * */ List *cte_names; /* list of CommonTableExpr */ + List *cte_self_reference_range_vars; /* List of RangeVar * */ List *filter_columns; /* List of FilterColumn * */ bool save_filter_columns; /* If true, we should be adding to * filter columns. */ diff --git a/src/postgres/include/access/xlogutils.h b/src/postgres/include/access/xlogutils.h index a1870d8e5..7639bd523 100644 --- a/src/postgres/include/access/xlogutils.h +++ b/src/postgres/include/access/xlogutils.h @@ -87,6 +87,8 @@ typedef struct ReadLocalXLogPageNoWaitPrivate extern XLogRedoAction XLogReadBufferForRedo(XLogReaderState *record, uint8 block_id, Buffer *buf); extern Buffer XLogInitBufferForRedo(XLogReaderState *record, uint8 block_id); +extern void XLogFlushBufferForRedoIfInit(XLogReaderState *record, + uint8 block_id, Buffer buffer); extern XLogRedoAction XLogReadBufferForRedoExtended(XLogReaderState *record, uint8 block_id, ReadBufferMode mode, bool get_cleanup_lock, diff --git a/src/postgres/include/c.h b/src/postgres/include/c.h index aa617ea60..5c9f07e57 100644 --- a/src/postgres/include/c.h +++ b/src/postgres/include/c.h @@ -264,19 +264,26 @@ #endif /* - * Use "pg_attribute_always_inline" in place of "inline" for functions that + * Use "pg_always_inline" in place of "inline" for functions that * we wish to force inlining of, even when the compiler's heuristics would * choose not to. But, if possible, don't force inlining in unoptimized * debug builds. + * + * XXX The "pg_attribute_always_inline" variant is kept for backwards + * compatibility with existing code. All new code should use the shorter + * variant "pg_always_inline." */ #if (defined(__GNUC__) && __GNUC__ > 3 && defined(__OPTIMIZE__)) || defined(__SUNPRO_C) /* GCC > 3 and Sunpro support always_inline via __attribute__ */ +#define pg_always_inline __attribute__((always_inline)) inline #define pg_attribute_always_inline __attribute__((always_inline)) inline #elif defined(_MSC_VER) /* MSVC has a special keyword for this */ +#define pg_always_inline __forceinline #define pg_attribute_always_inline __forceinline #else /* Otherwise, the best we can do is to say "inline" */ +#define pg_always_inline inline #define pg_attribute_always_inline inline #endif diff --git a/src/postgres/include/catalog/dependency.h b/src/postgres/include/catalog/dependency.h index 4b9fcec0e..ddcd977f3 100644 --- a/src/postgres/include/catalog/dependency.h +++ b/src/postgres/include/catalog/dependency.h @@ -120,6 +120,10 @@ extern void recordDependencyOnSingleRelExpr(const ObjectAddress *depender, DependencyType self_behavior, bool reverse_self); +extern void CheckUsageOnTypesInExpr(Node *expr, List *rtable, Oid roleid); + +extern void CheckUsageOnTypesInSingleRelExpr(Node *expr, Oid relId, Oid roleid); + extern ObjectAddresses *new_object_addresses(void); extern void add_exact_object_address(const ObjectAddress *object, diff --git a/src/postgres/include/catalog/index.h b/src/postgres/include/catalog/index.h index 4daa8bef5..60430aee0 100644 --- a/src/postgres/include/catalog/index.h +++ b/src/postgres/include/catalog/index.h @@ -65,6 +65,7 @@ extern void index_check_primary_key(Relation heapRel, #define INDEX_CREATE_IF_NOT_EXISTS (1 << 4) #define INDEX_CREATE_PARTITIONED (1 << 5) #define INDEX_CREATE_INVALID (1 << 6) +#define INDEX_CREATE_DEFERRABLE (1 << 7) extern Oid index_create(Relation heapRelation, const char *indexRelationName, diff --git a/src/postgres/include/catalog/pg_operator_d.h b/src/postgres/include/catalog/pg_operator_d.h index f0074be10..5af97973e 100644 --- a/src/postgres/include/catalog/pg_operator_d.h +++ b/src/postgres/include/catalog/pg_operator_d.h @@ -102,6 +102,7 @@ #define RECORD_EQ_OP 2988 #define RECORD_LT_OP 2990 #define RECORD_GT_OP 2991 +#define RANGE_EQ_OP 3882 #define OID_RANGE_LESS_OP 3884 #define OID_RANGE_LESS_EQUAL_OP 3885 #define OID_RANGE_GREATER_EQUAL_OP 3886 @@ -116,6 +117,7 @@ #define OID_RANGE_OVERLAPS_LEFT_OP 3895 #define OID_RANGE_OVERLAPS_RIGHT_OP 3896 #define OID_RANGE_INTERSECT_RANGE_OP 3900 +#define MULTIRANGE_EQ_OP 2860 #define OID_MULTIRANGE_LESS_OP 2862 #define OID_MULTIRANGE_LESS_EQUAL_OP 2863 #define OID_MULTIRANGE_GREATER_EQUAL_OP 2864 diff --git a/src/postgres/include/commands/defrem.h b/src/postgres/include/commands/defrem.h index f3432b4b6..fff772a72 100644 --- a/src/postgres/include/commands/defrem.h +++ b/src/postgres/include/commands/defrem.h @@ -85,7 +85,7 @@ extern void RemoveOperatorById(Oid operOid); extern ObjectAddress AlterOperator(AlterOperatorStmt *stmt); /* commands/statscmds.c */ -extern ObjectAddress CreateStatistics(CreateStatsStmt *stmt, bool check_rights); +extern ObjectAddress CreateStatistics(List *relids, CreateStatsStmt *stmt, bool check_rights); extern ObjectAddress AlterStatistics(AlterStatsStmt *stmt); extern void RemoveStatisticsById(Oid statsOid); extern void RemoveStatisticsDataById(Oid statsOid, bool inh); diff --git a/src/postgres/include/copyfuncs.funcs.c b/src/postgres/include/copyfuncs.funcs.c index 9c0ca51a1..c0bae5456 100644 --- a/src/postgres/include/copyfuncs.funcs.c +++ b/src/postgres/include/copyfuncs.funcs.c @@ -1401,6 +1401,7 @@ _copyDefElem(const DefElem *from) COPY_NODE_FIELD(arg); COPY_SCALAR_FIELD(defaction); COPY_LOCATION_FIELD(location); + COPY_LOCATION_FIELD(arg_location); return newnode; } @@ -3046,6 +3047,7 @@ _copyCreateStatsStmt(const CreateStatsStmt *from) COPY_STRING_FIELD(stxcomment); COPY_SCALAR_FIELD(transformed); COPY_SCALAR_FIELD(if_not_exists); + COPY_SCALAR_FIELD(owner); return newnode; } @@ -3240,6 +3242,7 @@ _copyNotifyStmt(const NotifyStmt *from) COPY_STRING_FIELD(conditionname); COPY_STRING_FIELD(payload); + COPY_LOCATION_FIELD(payload_location); return newnode; } @@ -3732,6 +3735,7 @@ _copyCreateSubscriptionStmt(const CreateSubscriptionStmt *from) COPY_STRING_FIELD(conninfo); COPY_NODE_FIELD(publication); COPY_NODE_FIELD(options); + COPY_LOCATION_FIELD(conninfo_location); return newnode; } @@ -3746,6 +3750,7 @@ _copyAlterSubscriptionStmt(const AlterSubscriptionStmt *from) COPY_STRING_FIELD(conninfo); COPY_NODE_FIELD(publication); COPY_NODE_FIELD(options); + COPY_LOCATION_FIELD(conninfo_location); return newnode; } diff --git a/src/postgres/include/equalfuncs.funcs.c b/src/postgres/include/equalfuncs.funcs.c index 5e75ed9c5..4305a6ed1 100644 --- a/src/postgres/include/equalfuncs.funcs.c +++ b/src/postgres/include/equalfuncs.funcs.c @@ -1212,6 +1212,7 @@ _equalDefElem(const DefElem *a, const DefElem *b) COMPARE_NODE_FIELD(arg); COMPARE_SCALAR_FIELD(defaction); COMPARE_LOCATION_FIELD(location); + COMPARE_LOCATION_FIELD(arg_location); return true; } @@ -2633,6 +2634,7 @@ _equalCreateStatsStmt(const CreateStatsStmt *a, const CreateStatsStmt *b) COMPARE_STRING_FIELD(stxcomment); COMPARE_SCALAR_FIELD(transformed); COMPARE_SCALAR_FIELD(if_not_exists); + COMPARE_SCALAR_FIELD(owner); return true; } @@ -2797,6 +2799,7 @@ _equalNotifyStmt(const NotifyStmt *a, const NotifyStmt *b) { COMPARE_STRING_FIELD(conditionname); COMPARE_STRING_FIELD(payload); + COMPARE_LOCATION_FIELD(payload_location); return true; } @@ -3207,6 +3210,7 @@ _equalCreateSubscriptionStmt(const CreateSubscriptionStmt *a, const CreateSubscr COMPARE_STRING_FIELD(conninfo); COMPARE_NODE_FIELD(publication); COMPARE_NODE_FIELD(options); + COMPARE_LOCATION_FIELD(conninfo_location); return true; } @@ -3219,6 +3223,7 @@ _equalAlterSubscriptionStmt(const AlterSubscriptionStmt *a, const AlterSubscript COMPARE_STRING_FIELD(conninfo); COMPARE_NODE_FIELD(publication); COMPARE_NODE_FIELD(options); + COMPARE_LOCATION_FIELD(conninfo_location); return true; } diff --git a/src/postgres/include/levenshtein.c b/src/postgres/include/levenshtein.c index 2cc6a13b2..894195543 100644 --- a/src/postgres/include/levenshtein.c +++ b/src/postgres/include/levenshtein.c @@ -9,7 +9,7 @@ * Levenshtein distance with custom costings, and (2) Levenshtein distance with * custom costings and a "max" value above which exact distances are not * interesting. Before the inclusion, we rely on the presence of the inline - * function rest_of_char_same(). + * functions rest_of_char_same() and levenshtein_result(). * * Written based on a description of the algorithm by Michael Gilleland found * at http://www.merriampark.com/ld.htm. Also looked at levenshtein.c in the @@ -78,13 +78,16 @@ varstr_levenshtein(const char *source, int slen, { int m, n; - int *prev; - int *curr; + int64 *prev; + int64 *curr; int *s_char_len = NULL; int j; const char *y; const char *send = source + slen; const char *tend = target + tlen; + int64 ins_c_64 = ins_c; + int64 del_c_64 = del_c; + int64 sub_c_64 = sub_c; /* * For varstr_levenshtein_less_equal, we have real variables called @@ -115,9 +118,9 @@ varstr_levenshtein(const char *source, int slen, * into an empty s with m deletions. */ if (!m) - return n * ins_c; + return levenshtein_result(n * ins_c_64); if (!n) - return m * del_c; + return levenshtein_result(m * del_c_64); /* * For security concerns, restrict excessive CPU+RAM usage. (This @@ -147,20 +150,20 @@ varstr_levenshtein(const char *source, int slen, */ if (max_d >= 0) { - int min_theo_d; /* Theoretical minimum distance. */ - int max_theo_d; /* Theoretical maximum distance. */ + int64 min_theo_d; /* Theoretical minimum distance. */ + int64 max_theo_d; /* Theoretical maximum distance. */ int net_inserts = n - m; min_theo_d = net_inserts < 0 ? - -net_inserts * del_c : net_inserts * ins_c; + -net_inserts * del_c_64 : net_inserts * ins_c_64; if (min_theo_d > max_d) - return max_d + 1; - if (ins_c + del_c < sub_c) - sub_c = ins_c + del_c; - max_theo_d = min_theo_d + sub_c * Min(m, n); + return levenshtein_result((int64) max_d + 1); + if (ins_c_64 + del_c_64 < sub_c_64) + sub_c_64 = ins_c_64 + del_c_64; + max_theo_d = min_theo_d + sub_c_64 * Min(m, n); if (max_d >= max_theo_d) max_d = -1; - else if (ins_c + del_c > 0) + else if (ins_c_64 + del_c_64 > 0) { /* * Figure out how much of the first row of the notional matrix we @@ -174,12 +177,12 @@ varstr_levenshtein(const char *source, int slen, * column n - m. If we do start further right, the best-case * total cost increases by ins_c + del_c for each move right. */ - int slack_d = max_d - min_theo_d; + int64 slack_d = max_d - min_theo_d; int best_column = net_inserts < 0 ? -net_inserts : 0; + int64 tmp; - stop_column = best_column + (slack_d / (ins_c + del_c)) + 1; - if (stop_column > m) - stop_column = m + 1; + tmp = best_column + (slack_d / (ins_c_64 + del_c_64)) + 1; + stop_column = Min(tmp, m + 1); } } #endif @@ -211,7 +214,7 @@ varstr_levenshtein(const char *source, int slen, ++n; /* Previous and current rows of notional array. */ - prev = (int *) palloc(2 * m * sizeof(int)); + prev = (int64 *) palloc(2 * m * sizeof(int64)); curr = prev + m; /* @@ -219,12 +222,12 @@ varstr_levenshtein(const char *source, int slen, * t, we must perform i deletions. */ for (int i = START_COLUMN; i < STOP_COLUMN; i++) - prev[i] = i * del_c; + prev[i] = i * del_c_64; /* Loop through rows of the notional array */ for (y = target, j = 1; j < n; j++) { - int *temp; + int64 *temp; const char *x = source; int y_char_len = n != tlen + 1 ? pg_mblen_range(y, tend) : 1; int i; @@ -239,7 +242,7 @@ varstr_levenshtein(const char *source, int slen, */ if (stop_column < m) { - prev[stop_column] = max_d + 1; + prev[stop_column] = (int64) max_d + 1; ++stop_column; } @@ -251,13 +254,13 @@ varstr_levenshtein(const char *source, int slen, */ if (start_column == 0) { - curr[0] = j * ins_c; + curr[0] = j * ins_c_64; i = 1; } else i = start_column; #else - curr[0] = j * ins_c; + curr[0] = j * ins_c_64; i = 1; #endif @@ -272,9 +275,9 @@ varstr_levenshtein(const char *source, int slen, { for (; i < STOP_COLUMN; i++) { - int ins; - int del; - int sub; + int64 ins; + int64 del; + int64 sub; int x_char_len = s_char_len[i - 1]; /* @@ -286,14 +289,14 @@ varstr_levenshtein(const char *source, int slen, * get past that test, then we compare the lengths and the * remaining bytes. */ - ins = prev[i] + ins_c; - del = curr[i - 1] + del_c; + ins = prev[i] + ins_c_64; + del = curr[i - 1] + del_c_64; if (x[x_char_len - 1] == y[y_char_len - 1] && x_char_len == y_char_len && (x_char_len == 1 || rest_of_char_same(x, y, x_char_len))) sub = prev[i - 1]; else - sub = prev[i - 1] + sub_c; + sub = prev[i - 1] + sub_c_64; /* Take the one with minimum cost. */ curr[i] = Min(ins, del); @@ -307,14 +310,14 @@ varstr_levenshtein(const char *source, int slen, { for (; i < STOP_COLUMN; i++) { - int ins; - int del; - int sub; + int64 ins; + int64 del; + int64 sub; /* Calculate costs for insertion, deletion, and substitution. */ - ins = prev[i] + ins_c; - del = curr[i - 1] + del_c; - sub = prev[i - 1] + ((*x == *y) ? 0 : sub_c); + ins = prev[i] + ins_c_64; + del = curr[i - 1] + del_c_64; + sub = prev[i - 1] + ((*x == *y) ? 0 : sub_c_64); /* Take the one with minimum cost. */ curr[i] = Min(ins, del); @@ -360,8 +363,8 @@ varstr_levenshtein(const char *source, int slen, int ii = stop_column - 1; int net_inserts = ii - zp; - if (prev[ii] + (net_inserts > 0 ? net_inserts * ins_c : - -net_inserts * del_c) <= max_d) + if (prev[ii] + (net_inserts > 0 ? net_inserts * ins_c_64 : + -net_inserts * del_c_64) <= max_d) break; stop_column--; } @@ -372,8 +375,8 @@ varstr_levenshtein(const char *source, int slen, int net_inserts = start_column - zp; if (prev[start_column] + - (net_inserts > 0 ? net_inserts * ins_c : - -net_inserts * del_c) <= max_d) + (net_inserts > 0 ? net_inserts * ins_c_64 : + -net_inserts * del_c_64) <= max_d) break; /* @@ -381,8 +384,8 @@ varstr_levenshtein(const char *source, int slen, * there's nothing here that could confuse any future * iteration of the outer loop. */ - prev[start_column] = max_d + 1; - curr[start_column] = max_d + 1; + prev[start_column] = (int64) max_d + 1; + curr[start_column] = (int64) max_d + 1; if (start_column != 0) source += (s_char_len != NULL) ? s_char_len[start_column - 1] : 1; start_column++; @@ -390,7 +393,7 @@ varstr_levenshtein(const char *source, int slen, /* If they cross, we're going to exceed the bound. */ if (start_column >= stop_column) - return max_d + 1; + return levenshtein_result((int64) max_d + 1); } #endif } @@ -399,5 +402,5 @@ varstr_levenshtein(const char *source, int slen, * Because the final value was swapped from the previous row to the * current row, that's where we'll find it. */ - return prev[m - 1]; + return levenshtein_result(prev[m - 1]); } diff --git a/src/postgres/include/nodes/parsenodes.h b/src/postgres/include/nodes/parsenodes.h index 161b09fd0..1f159bc6a 100644 --- a/src/postgres/include/nodes/parsenodes.h +++ b/src/postgres/include/nodes/parsenodes.h @@ -843,6 +843,8 @@ typedef struct DefElem * TypeName */ DefElemAction defaction; /* unspecified action, or SET/ADD/DROP */ ParseLoc location; /* token location, or -1 if unknown */ + /* location of arg's string constant, or -1 if not a string constant */ + ParseLoc arg_location pg_node_attr(query_jumble_ignore); } DefElem; /* @@ -3491,6 +3493,7 @@ typedef struct CreateStatsStmt char *stxcomment; /* comment to apply to stats, or NULL */ bool transformed; /* true when transformStatsStmt is finished */ bool if_not_exists; /* do nothing if stats name already exists */ + Oid owner; /* OID of owner, or InvalidOid for default */ } CreateStatsStmt; /* @@ -3725,6 +3728,8 @@ typedef struct NotifyStmt NodeTag type; char *conditionname; /* condition name to notify */ char *payload; /* the payload string, or NULL if none */ + /* location of payload's string constant; only set when payload is */ + ParseLoc payload_location pg_node_attr(query_jumble_ignore); } NotifyStmt; /* ---------------------- @@ -4299,6 +4304,8 @@ typedef struct CreateSubscriptionStmt char *conninfo; /* Connection string to publisher */ List *publication; /* One or more publication to subscribe to */ List *options; /* List of DefElem nodes */ + /* location of conninfo's string constant; only set when conninfo is */ + ParseLoc conninfo_location pg_node_attr(query_jumble_ignore); } CreateSubscriptionStmt; typedef enum AlterSubscriptionType @@ -4321,6 +4328,8 @@ typedef struct AlterSubscriptionStmt char *conninfo; /* Connection string to publisher */ List *publication; /* One or more publication to subscribe to */ List *options; /* List of DefElem nodes */ + /* location of conninfo's string constant; only set when conninfo is */ + ParseLoc conninfo_location pg_node_attr(query_jumble_ignore); } AlterSubscriptionStmt; typedef struct DropSubscriptionStmt diff --git a/src/postgres/include/optimizer/clauses.h b/src/postgres/include/optimizer/clauses.h index 0dffec00e..5935c50ff 100644 --- a/src/postgres/include/optimizer/clauses.h +++ b/src/postgres/include/optimizer/clauses.h @@ -23,6 +23,16 @@ typedef struct List **windowFuncs; /* lists of WindowFuncs for each winref */ } WindowFuncLists; +/* + * Callback used by expression_has_grouping_conflict below. Given a Var, the + * callback returns the equality operator that the relevant grouping mechanism + * (GROUP BY, DISTINCT, DISTINCT ON, window PARTITION BY, or set operation) + * uses for the column the Var references, or InvalidOid if the Var does not + * participate in that grouping. Returning InvalidOid signals "not a grouping + * column" to both the opfamily and collation checks. + */ +typedef Oid (*grouping_eqop_callback) (Var *var, void *context); + extern bool contain_agg_clause(Node *clause); extern bool contain_window_function(Node *clause); @@ -55,4 +65,8 @@ extern Query *inline_set_returning_function(PlannerInfo *root, extern Bitmapset *pull_paramids(Expr *expr); +extern bool expression_has_grouping_conflict(Node *expr, + grouping_eqop_callback get_eqop, + void *context); + #endif /* CLAUSES_H */ diff --git a/src/postgres/include/parser/parse_relation.h b/src/postgres/include/parser/parse_relation.h index d59599cf2..a05f48317 100644 --- a/src/postgres/include/parser/parse_relation.h +++ b/src/postgres/include/parser/parse_relation.h @@ -31,6 +31,7 @@ extern void checkNameSpaceConflicts(ParseState *pstate, List *namespace1, extern ParseNamespaceItem *GetNSItemByRangeTablePosn(ParseState *pstate, int varno, int sublevels_up); +extern ParseNamespaceItem *GetNSItemByVar(ParseState *pstate, Var *var); extern RangeTblEntry *GetRTEByRangeTablePosn(ParseState *pstate, int varno, int sublevels_up); diff --git a/src/postgres/include/parser/scanner.h b/src/postgres/include/parser/scanner.h index 6411ea011..0c6509a2f 100644 --- a/src/postgres/include/parser/scanner.h +++ b/src/postgres/include/parser/scanner.h @@ -115,6 +115,9 @@ typedef struct core_yy_extra_type bool saw_non_ascii; int yyllocend; + + /* return comments as SQL_COMMENT/C_COMMENT tokens, instead of ignoring */ + bool return_comments; } core_yy_extra_type; /* diff --git a/src/postgres/include/pg_config.h b/src/postgres/include/pg_config.h index 710d3d2c0..e0b2f3063 100644 --- a/src/postgres/include/pg_config.h +++ b/src/postgres/include/pg_config.h @@ -583,7 +583,7 @@ #define PACKAGE_NAME "PostgreSQL" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "PostgreSQL 18.4" +#define PACKAGE_STRING "PostgreSQL 18.6" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "postgresql" @@ -592,7 +592,7 @@ #define PACKAGE_URL "https://www.postgresql.org/" /* Define to the version of this package. */ -#define PACKAGE_VERSION "18.4" +#define PACKAGE_VERSION "18.6" /* Define to best C++ printf format archetype, usually gnu_printf if available. */ @@ -616,16 +616,16 @@ #define PG_MAJORVERSION_NUM 18 /* PostgreSQL minor version number */ -#define PG_MINORVERSION_NUM 4 +#define PG_MINORVERSION_NUM 6 /* PostgreSQL version as a string */ -#define PG_VERSION "18.4" +#define PG_VERSION "18.6" /* PostgreSQL version as a number */ -#define PG_VERSION_NUM 180004 +#define PG_VERSION_NUM 180006 /* A string containing the version number, platform, and C compiler */ -#define PG_VERSION_STR "PostgreSQL 18.4 (libpg_query)" +#define PG_VERSION_STR "PostgreSQL 18.6 (libpg_query)" /* Define to 1 to allow profiling output to be saved separately for each process. */ diff --git a/src/postgres/include/replication/logical.h b/src/postgres/include/replication/logical.h new file mode 100644 index 000000000..556a0ef2c --- /dev/null +++ b/src/postgres/include/replication/logical.h @@ -0,0 +1,158 @@ +/*------------------------------------------------------------------------- + * logical.h + * PostgreSQL logical decoding coordination + * + * Copyright (c) 2012-2025, PostgreSQL Global Development Group + * + *------------------------------------------------------------------------- + */ +#ifndef LOGICAL_H +#define LOGICAL_H + +#include "access/xlog.h" +#include "access/xlogreader.h" +#include "replication/output_plugin.h" +#include "replication/slot.h" + +struct LogicalDecodingContext; + +typedef void (*LogicalOutputPluginWriterWrite) (struct LogicalDecodingContext *lr, + XLogRecPtr Ptr, + TransactionId xid, + bool last_write +); + +typedef LogicalOutputPluginWriterWrite LogicalOutputPluginWriterPrepareWrite; + +typedef void (*LogicalOutputPluginWriterUpdateProgress) (struct LogicalDecodingContext *lr, + XLogRecPtr Ptr, + TransactionId xid, + bool skipped_xact +); + +typedef struct LogicalDecodingContext +{ + /* memory context this is all allocated in */ + MemoryContext context; + + /* The associated replication slot */ + ReplicationSlot *slot; + + /* infrastructure pieces for decoding */ + XLogReaderState *reader; + struct ReorderBuffer *reorder; + struct SnapBuild *snapshot_builder; + + /* + * Marks the logical decoding context as fast forward decoding one. Such a + * context does not have plugin loaded so most of the following properties + * are unused. + */ + bool fast_forward; + + OutputPluginCallbacks callbacks; + OutputPluginOptions options; + + /* + * User specified options + */ + List *output_plugin_options; + + /* + * User-Provided callback for writing/streaming out data. + */ + LogicalOutputPluginWriterPrepareWrite prepare_write; + LogicalOutputPluginWriterWrite write; + LogicalOutputPluginWriterUpdateProgress update_progress; + + /* + * Output buffer. + */ + StringInfo out; + + /* + * Private data pointer of the output plugin. + */ + void *output_plugin_private; + + /* + * Private data pointer for the data writer. + */ + void *output_writer_private; + + /* + * Does the output plugin support streaming, and is it enabled? + */ + bool streaming; + + /* + * Does the output plugin support two-phase decoding, and is it enabled? + */ + bool twophase; + + /* + * Is two-phase option given by output plugin? + * + * This flag indicates that the plugin passed in the two-phase option as + * part of the START_STREAMING command. We can't rely solely on the + * twophase flag which only tells whether the plugin provided all the + * necessary two-phase callbacks. + */ + bool twophase_opt_given; + + /* + * State for writing output. + */ + bool accept_writes; + bool prepared_write; + XLogRecPtr write_location; + TransactionId write_xid; + /* Are we processing the end LSN of a transaction? */ + bool end_xact; + + /* Do we need to process any change in fast_forward mode? */ + bool processing_required; +} LogicalDecodingContext; + + +extern void CheckLogicalDecodingRequirements(void); + +extern LogicalDecodingContext *CreateInitDecodingContext(const char *plugin, + List *output_plugin_options, + bool need_full_snapshot, + XLogRecPtr restart_lsn, + XLogReaderRoutine *xl_routine, + LogicalOutputPluginWriterPrepareWrite prepare_write, + LogicalOutputPluginWriterWrite do_write, + LogicalOutputPluginWriterUpdateProgress update_progress); +extern LogicalDecodingContext *CreateDecodingContext(XLogRecPtr start_lsn, + List *output_plugin_options, + bool fast_forward, + XLogReaderRoutine *xl_routine, + LogicalOutputPluginWriterPrepareWrite prepare_write, + LogicalOutputPluginWriterWrite do_write, + LogicalOutputPluginWriterUpdateProgress update_progress); +extern void DecodingContextFindStartpoint(LogicalDecodingContext *ctx); +extern bool DecodingContextReady(LogicalDecodingContext *ctx); +extern void FreeDecodingContext(LogicalDecodingContext *ctx); + +extern void LogicalIncreaseXminForSlot(XLogRecPtr current_lsn, + TransactionId xmin); +extern void LogicalIncreaseRestartDecodingForSlot(XLogRecPtr current_lsn, + XLogRecPtr restart_lsn); +extern void LogicalConfirmReceivedLocation(XLogRecPtr lsn); + +extern bool filter_prepare_cb_wrapper(LogicalDecodingContext *ctx, + TransactionId xid, const char *gid); +extern bool filter_by_origin_cb_wrapper(LogicalDecodingContext *ctx, RepOriginId origin_id); +extern void ResetLogicalStreamingState(void); +extern void UpdateDecodingStats(LogicalDecodingContext *ctx); + +extern bool LogicalReplicationSlotHasPendingWal(XLogRecPtr end_of_wal); +extern XLogRecPtr LogicalSlotAdvanceAndCheckSnapState(XLogRecPtr moveto, + bool *found_consistent_snapshot); + +/* GUCs */ +extern PGDLLIMPORT char *output_plugin_libraries_string; + +#endif diff --git a/src/postgres/include/replication/output_plugin.h b/src/postgres/include/replication/output_plugin.h new file mode 100644 index 000000000..8d4d5b718 --- /dev/null +++ b/src/postgres/include/replication/output_plugin.h @@ -0,0 +1,250 @@ +/*------------------------------------------------------------------------- + * output_plugin.h + * PostgreSQL Logical Decode Plugin Interface + * + * Copyright (c) 2012-2025, PostgreSQL Global Development Group + * + *------------------------------------------------------------------------- + */ +#ifndef OUTPUT_PLUGIN_H +#define OUTPUT_PLUGIN_H + +#include "replication/reorderbuffer.h" + +struct LogicalDecodingContext; +struct OutputPluginCallbacks; + +typedef enum OutputPluginOutputType +{ + OUTPUT_PLUGIN_BINARY_OUTPUT, + OUTPUT_PLUGIN_TEXTUAL_OUTPUT, +} OutputPluginOutputType; + +/* + * Options set by the output plugin, in the startup callback. + */ +typedef struct OutputPluginOptions +{ + OutputPluginOutputType output_type; + bool receive_rewrites; +} OutputPluginOptions; + +/* + * Type of the shared library symbol _PG_output_plugin_init that is looked up + * when loading an output plugin shared library. + */ +typedef void (*LogicalOutputPluginInit) (struct OutputPluginCallbacks *cb); + +extern PGDLLEXPORT void _PG_output_plugin_init(struct OutputPluginCallbacks *cb); + +/* + * Callback that gets called in a user-defined plugin. ctx->private_data can + * be set to some private data. + * + * "is_init" will be set to "true" if the decoding slot just got defined. When + * the same slot is used from there one, it will be "false". + */ +typedef void (*LogicalDecodeStartupCB) (struct LogicalDecodingContext *ctx, + OutputPluginOptions *options, + bool is_init); + +/* + * Callback called for every (explicit or implicit) BEGIN of a successful + * transaction. + */ +typedef void (*LogicalDecodeBeginCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn); + +/* + * Callback for every individual change in a successful transaction. + */ +typedef void (*LogicalDecodeChangeCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + Relation relation, + ReorderBufferChange *change); + +/* + * Callback for every TRUNCATE in a successful transaction. + */ +typedef void (*LogicalDecodeTruncateCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + int nrelations, + Relation relations[], + ReorderBufferChange *change); + +/* + * Called for every (explicit or implicit) COMMIT of a successful transaction. + */ +typedef void (*LogicalDecodeCommitCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + XLogRecPtr commit_lsn); + +/* + * Called for the generic logical decoding messages. + */ +typedef void (*LogicalDecodeMessageCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + XLogRecPtr message_lsn, + bool transactional, + const char *prefix, + Size message_size, + const char *message); + +/* + * Filter changes by origin. + */ +typedef bool (*LogicalDecodeFilterByOriginCB) (struct LogicalDecodingContext *ctx, + RepOriginId origin_id); + +/* + * Called to shutdown an output plugin. + */ +typedef void (*LogicalDecodeShutdownCB) (struct LogicalDecodingContext *ctx); + +/* + * Called before decoding of PREPARE record to decide whether this + * transaction should be decoded with separate calls to prepare and + * commit_prepared/rollback_prepared callbacks or wait till COMMIT PREPARED + * and sent as usual transaction. + */ +typedef bool (*LogicalDecodeFilterPrepareCB) (struct LogicalDecodingContext *ctx, + TransactionId xid, + const char *gid); + +/* + * Callback called for every BEGIN of a prepared transaction. + */ +typedef void (*LogicalDecodeBeginPrepareCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn); + +/* + * Called for PREPARE record unless it was filtered by filter_prepare() + * callback. + */ +typedef void (*LogicalDecodePrepareCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + XLogRecPtr prepare_lsn); + +/* + * Called for COMMIT PREPARED. + */ +typedef void (*LogicalDecodeCommitPreparedCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + XLogRecPtr commit_lsn); + +/* + * Called for ROLLBACK PREPARED. + */ +typedef void (*LogicalDecodeRollbackPreparedCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + XLogRecPtr prepare_end_lsn, + TimestampTz prepare_time); + + +/* + * Called when starting to stream a block of changes from in-progress + * transaction (may be called repeatedly, if it's streamed in multiple + * chunks). + */ +typedef void (*LogicalDecodeStreamStartCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn); + +/* + * Called when stopping to stream a block of changes from in-progress + * transaction to a remote node (may be called repeatedly, if it's streamed + * in multiple chunks). + */ +typedef void (*LogicalDecodeStreamStopCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn); + +/* + * Called to discard changes streamed to remote node from in-progress + * transaction. + */ +typedef void (*LogicalDecodeStreamAbortCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + XLogRecPtr abort_lsn); + +/* + * Called to prepare changes streamed to remote node from in-progress + * transaction. This is called as part of a two-phase commit. + */ +typedef void (*LogicalDecodeStreamPrepareCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + XLogRecPtr prepare_lsn); + +/* + * Called to apply changes streamed to remote node from in-progress + * transaction. + */ +typedef void (*LogicalDecodeStreamCommitCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + XLogRecPtr commit_lsn); + +/* + * Callback for streaming individual changes from in-progress transactions. + */ +typedef void (*LogicalDecodeStreamChangeCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + Relation relation, + ReorderBufferChange *change); + +/* + * Callback for streaming generic logical decoding messages from in-progress + * transactions. + */ +typedef void (*LogicalDecodeStreamMessageCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + XLogRecPtr message_lsn, + bool transactional, + const char *prefix, + Size message_size, + const char *message); + +/* + * Callback for streaming truncates from in-progress transactions. + */ +typedef void (*LogicalDecodeStreamTruncateCB) (struct LogicalDecodingContext *ctx, + ReorderBufferTXN *txn, + int nrelations, + Relation relations[], + ReorderBufferChange *change); + +/* + * Output plugin callbacks + */ +typedef struct OutputPluginCallbacks +{ + LogicalDecodeStartupCB startup_cb; + LogicalDecodeBeginCB begin_cb; + LogicalDecodeChangeCB change_cb; + LogicalDecodeTruncateCB truncate_cb; + LogicalDecodeCommitCB commit_cb; + LogicalDecodeMessageCB message_cb; + LogicalDecodeFilterByOriginCB filter_by_origin_cb; + LogicalDecodeShutdownCB shutdown_cb; + + /* streaming of changes at prepare time */ + LogicalDecodeFilterPrepareCB filter_prepare_cb; + LogicalDecodeBeginPrepareCB begin_prepare_cb; + LogicalDecodePrepareCB prepare_cb; + LogicalDecodeCommitPreparedCB commit_prepared_cb; + LogicalDecodeRollbackPreparedCB rollback_prepared_cb; + + /* streaming of changes */ + LogicalDecodeStreamStartCB stream_start_cb; + LogicalDecodeStreamStopCB stream_stop_cb; + LogicalDecodeStreamAbortCB stream_abort_cb; + LogicalDecodeStreamPrepareCB stream_prepare_cb; + LogicalDecodeStreamCommitCB stream_commit_cb; + LogicalDecodeStreamChangeCB stream_change_cb; + LogicalDecodeStreamMessageCB stream_message_cb; + LogicalDecodeStreamTruncateCB stream_truncate_cb; +} OutputPluginCallbacks; + +/* Functions in replication/logical/logical.c */ +extern void OutputPluginPrepareWrite(struct LogicalDecodingContext *ctx, bool last_write); +extern void OutputPluginWrite(struct LogicalDecodingContext *ctx, bool last_write); +extern void OutputPluginUpdateProgress(struct LogicalDecodingContext *ctx, bool skipped_xact); + +#endif /* OUTPUT_PLUGIN_H */ diff --git a/src/postgres/include/replication/walreceiver.h b/src/postgres/include/replication/walreceiver.h index 89f63f908..8d0354e10 100644 --- a/src/postgres/include/replication/walreceiver.h +++ b/src/postgres/include/replication/walreceiver.h @@ -164,6 +164,13 @@ typedef struct extern PGDLLIMPORT WalRcvData *WalRcv; +/* + * Server's WAL flush position as reported by the last IDENTIFY_SYSTEM call. + * Set by walrcv_identify_system(), used by the walreceiver to avoid + * requesting streaming from a point ahead of the upstream's flush position. + */ +extern PGDLLIMPORT XLogRecPtr WalRcvIdentifySystemLsn; + typedef struct { bool logical; /* True if this is logical replication stream, diff --git a/src/postgres/include/storage/read_stream.h b/src/postgres/include/storage/read_stream.h index 9b0d65161..f27254a3e 100644 --- a/src/postgres/include/storage/read_stream.h +++ b/src/postgres/include/storage/read_stream.h @@ -99,6 +99,7 @@ extern ReadStream *read_stream_begin_smgr_relation(int flags, ReadStreamBlockNumberCB callback, void *callback_private_data, size_t per_buffer_data_size); +extern void read_stream_clear_strategy(ReadStream *stream); extern void read_stream_reset(ReadStream *stream); extern void read_stream_end(ReadStream *stream); diff --git a/src/postgres/include/utils/acl.h b/src/postgres/include/utils/acl.h index 01ae5b719..13bb81287 100644 --- a/src/postgres/include/utils/acl.h +++ b/src/postgres/include/utils/acl.h @@ -227,6 +227,9 @@ extern void select_best_grantor(Oid roleId, AclMode privileges, const Acl *acl, Oid ownerId, Oid *grantorId, AclMode *grantOptions); +/* DATABASEOID syscache hash value for our own database, set by initialize_acl */ +extern uint32 cached_db_hash; + extern void initialize_acl(void); /* diff --git a/src/postgres/include/utils/lsyscache.h b/src/postgres/include/utils/lsyscache.h index ac57bc8a1..e0c2fc7f7 100644 --- a/src/postgres/include/utils/lsyscache.h +++ b/src/postgres/include/utils/lsyscache.h @@ -86,10 +86,13 @@ extern bool get_compatible_hash_operators(Oid opno, Oid *lhs_opno, Oid *rhs_opno); extern bool get_op_hash_functions(Oid opno, RegProcedure *lhs_procno, RegProcedure *rhs_procno); +extern bool get_op_hash_functions_ext(Oid opno, Oid inputtype, + RegProcedure *lhs_procno, RegProcedure *rhs_procno); extern List *get_op_index_interpretation(Oid opno); extern bool equality_ops_are_compatible(Oid opno1, Oid opno2); extern bool comparison_ops_are_compatible(Oid opno1, Oid opno2); extern bool collations_agree_on_equality(Oid coll1, Oid coll2); +extern bool op_is_safe_index_member(Oid opno); extern Oid get_opfamily_proc(Oid opfamily, Oid lefttype, Oid righttype, int16 procnum); extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok); diff --git a/src/postgres/include/utils/numeric.h b/src/postgres/include/utils/numeric.h index 9e79fc376..d38c9d58a 100644 --- a/src/postgres/include/utils/numeric.h +++ b/src/postgres/include/utils/numeric.h @@ -17,6 +17,9 @@ #include "common/pg_prng.h" #include "fmgr.h" +/* forward declaration to avoid node.h include */ +struct Node; + /* * Limits on the precision and scale specifiable in a NUMERIC typmod. The * precision is strictly positive, but the scale may be positive or negative. @@ -103,6 +106,8 @@ extern Numeric numeric_mod_opt_error(Numeric num1, Numeric num2, bool *have_error); extern int32 numeric_int4_opt_error(Numeric num, bool *have_error); extern int64 numeric_int8_opt_error(Numeric num, bool *have_error); +extern int32 make_numeric_typmod_safe(int32 precision, int32 scale, + struct Node *escontext); extern Numeric random_numeric(pg_prng_state *state, Numeric rmin, Numeric rmax); diff --git a/src/postgres/include/utils/pgstat_internal.h b/src/postgres/include/utils/pgstat_internal.h index 6cf00008f..c09eda3a8 100644 --- a/src/postgres/include/utils/pgstat_internal.h +++ b/src/postgres/include/utils/pgstat_internal.h @@ -709,6 +709,8 @@ extern bool pgstat_lock_entry(PgStat_EntryRef *entry_ref, bool nowait); extern bool pgstat_lock_entry_shared(PgStat_EntryRef *entry_ref, bool nowait); extern void pgstat_unlock_entry(PgStat_EntryRef *entry_ref); extern bool pgstat_drop_entry(PgStat_Kind kind, Oid dboid, uint64 objid); +extern bool pgstat_drop_entry_ext(PgStat_Kind kind, Oid dboid, uint64 objid, + bool missing_ok); extern void pgstat_drop_all_entries(void); extern void pgstat_drop_matching_entries(bool (*do_drop) (PgStatShared_HashEntry *, Datum), Datum match_data); diff --git a/src/postgres/include/utils/rel.h b/src/postgres/include/utils/rel.h index b55235991..09c794239 100644 --- a/src/postgres/include/utils/rel.h +++ b/src/postgres/include/utils/rel.h @@ -664,6 +664,15 @@ RelationCloseSmgr(Relation relation) * RELATION_IS_OTHER_TEMP * Test for a temporary relation that belongs to some other session. * + * Reading another session's temp-table data through never works right: + * the owning session keeps the data in its private local buffer pool, + * which we cannot access. Existing buffer-manager entry points + * (ReadBuffer_common(), StartReadBuffersImpl(), read_stream_begin_impl(), + * PrefetchBuffer() and ExtendBufferedRelCommon()) already enforce this; any + * new buffer-access entry points must do the same. Command-level code + * (TRUNCATE, ALTER TABLE, VACUUM, CLUSTER, REINDEX, ...) additionally uses + * this macro for command-specific error messages. + * * Beware of multiple eval of argument */ #define RELATION_IS_OTHER_TEMP(relation) \ diff --git a/src/postgres/include/utils/wait_event_types.h b/src/postgres/include/utils/wait_event_types.h index d0ed7ff85..ee8944844 100644 --- a/src/postgres/include/utils/wait_event_types.h +++ b/src/postgres/include/utils/wait_event_types.h @@ -204,7 +204,8 @@ typedef enum WAIT_EVENT_WAL_RECEIVER_EXIT, WAIT_EVENT_WAL_RECEIVER_WAIT_START, WAIT_EVENT_WAL_SUMMARY_READY, - WAIT_EVENT_XACT_GROUP_UPDATE + WAIT_EVENT_XACT_GROUP_UPDATE, + WAIT_EVENT_WAL_RECEIVER_UPSTREAM_CATCHUP } WaitEventIPC; typedef enum diff --git a/src/postgres/src_backend_nodes_makefuncs.c b/src/postgres/src_backend_nodes_makefuncs.c index 6b0a27b9a..2a80c4c78 100644 --- a/src/postgres/src_backend_nodes_makefuncs.c +++ b/src/postgres/src_backend_nodes_makefuncs.c @@ -308,6 +308,7 @@ makeDefElem(char *name, Node *arg, int location) res->arg = arg; res->defaction = DEFELEM_UNSPEC; res->location = location; + res->arg_location = -1; return res; } @@ -327,6 +328,7 @@ makeDefElemExtended(char *nameSpace, char *name, Node *arg, res->arg = arg; res->defaction = defaction; res->location = location; + res->arg_location = -1; return res; } @@ -520,6 +522,8 @@ makeJsonIsPredicate(Node *expr, JsonFormat *format, JsonValueType item_type, { JsonIsPredicate *n = makeNode(JsonIsPredicate); + Assert(expr != NULL); + n->expr = expr; n->format = format; n->item_type = item_type; diff --git a/src/postgres/src_backend_nodes_nodeFuncs.c b/src/postgres/src_backend_nodes_nodeFuncs.c index 8362e6013..c0670c852 100644 --- a/src/postgres/src_backend_nodes_nodeFuncs.c +++ b/src/postgres/src_backend_nodes_nodeFuncs.c @@ -192,6 +192,10 @@ exprLocation(const Node *expr) if (expr == NULL) return -1; + + /* Guard against stack overflow due to overly complex expressions */ + check_stack_depth(); + switch (nodeTag(expr)) { case T_RangeVar: diff --git a/src/postgres/src_backend_parser_gram.c b/src/postgres/src_backend_parser_gram.c index 210a0561d..bed381df5 100644 --- a/src/postgres/src_backend_parser_gram.c +++ b/src/postgres/src_backend_parser_gram.c @@ -1717,16 +1717,16 @@ union yyalloc #endif /* YYFINAL -- State number of the termination state. */ -#define YYFINAL 931 +#define YYFINAL 932 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 124602 +#define YYLAST 124337 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 544 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 734 /* YYNRULES -- Number of rules. */ -#define YYNRULES 3448 +#define YYNRULES 3449 /* YYNRULES -- Number of states. */ #define YYNSTATES 6518 @@ -1848,329 +1848,329 @@ static const yytype_uint16 yyprhs[] = 462, 464, 471, 476, 486, 494, 497, 498, 500, 502, 504, 506, 508, 510, 513, 517, 521, 524, 530, 532, 536, 540, 544, 548, 550, 554, 558, 561, 564, 567, - 570, 573, 576, 580, 584, 588, 592, 596, 598, 602, - 604, 608, 610, 612, 614, 617, 620, 623, 625, 627, - 629, 631, 633, 635, 637, 639, 643, 649, 651, 653, - 655, 657, 659, 660, 662, 664, 667, 669, 672, 676, - 679, 681, 683, 686, 688, 691, 693, 696, 700, 705, - 709, 712, 717, 719, 721, 723, 725, 727, 730, 733, - 736, 739, 742, 747, 754, 759, 766, 777, 791, 796, - 803, 808, 819, 833, 838, 845, 850, 857, 863, 871, - 883, 898, 904, 912, 914, 918, 923, 928, 933, 937, - 940, 946, 950, 957, 962, 969, 976, 986, 992, 1000, - 1007, 1014, 1020, 1026, 1032, 1038, 1048, 1053, 1059, 1067, - 1074, 1079, 1088, 1093, 1096, 1101, 1106, 1110, 1117, 1122, - 1126, 1130, 1134, 1137, 1140, 1144, 1149, 1154, 1158, 1162, - 1166, 1170, 1174, 1178, 1183, 1188, 1192, 1195, 1199, 1202, - 1205, 1209, 1214, 1218, 1221, 1224, 1228, 1233, 1238, 1243, - 1249, 1251, 1255, 1258, 1261, 1262, 1265, 1266, 1268, 1270, - 1272, 1276, 1280, 1283, 1284, 1286, 1290, 1294, 1296, 1302, - 1306, 1308, 1311, 1313, 1317, 1320, 1324, 1326, 1328, 1330, - 1332, 1339, 1346, 1357, 1359, 1362, 1364, 1368, 1373, 1375, - 1379, 1384, 1391, 1396, 1405, 1408, 1411, 1423, 1433, 1435, - 1437, 1439, 1440, 1442, 1444, 1446, 1448, 1452, 1455, 1456, - 1458, 1460, 1464, 1468, 1470, 1472, 1476, 1480, 1484, 1488, - 1493, 1498, 1502, 1506, 1509, 1511, 1512, 1516, 1517, 1519, - 1520, 1522, 1526, 1529, 1531, 1533, 1535, 1537, 1541, 1542, - 1544, 1548, 1550, 1564, 1581, 1594, 1610, 1625, 1643, 1645, - 1647, 1650, 1653, 1656, 1659, 1661, 1662, 1664, 1665, 1669, - 1670, 1672, 1676, 1678, 1682, 1684, 1686, 1688, 1690, 1692, - 1699, 1702, 1707, 1710, 1713, 1715, 1716, 1719, 1722, 1724, - 1725, 1728, 1729, 1733, 1735, 1737, 1740, 1744, 1746, 1751, - 1756, 1762, 1765, 1771, 1779, 1785, 1788, 1792, 1793, 1795, - 1798, 1800, 1802, 1803, 1805, 1808, 1811, 1814, 1816, 1819, - 1823, 1827, 1831, 1832, 1834, 1836, 1838, 1840, 1842, 1844, - 1846, 1848, 1850, 1852, 1856, 1858, 1864, 1869, 1880, 1884, - 1895, 1900, 1911, 1924, 1928, 1930, 1936, 1940, 1943, 1944, - 1947, 1948, 1952, 1953, 1955, 1959, 1963, 1964, 1969, 1970, - 1972, 1977, 1978, 1981, 1984, 1987, 1988, 1990, 1994, 1998, - 2005, 2010, 2011, 2013, 2015, 2018, 2021, 2022, 2026, 2030, - 2033, 2035, 2037, 2041, 2045, 2050, 2051, 2053, 2054, 2061, - 2063, 2067, 2071, 2075, 2081, 2084, 2085, 2088, 2091, 2092, - 2096, 2101, 2106, 2107, 2110, 2111, 2116, 2117, 2121, 2130, - 2142, 2144, 2148, 2150, 2152, 2156, 2163, 2172, 2180, 2191, - 2198, 2201, 2205, 2206, 2215, 2227, 2233, 2235, 2236, 2243, - 2249, 2258, 2263, 2270, 2272, 2273, 2277, 2278, 2280, 2283, - 2286, 2289, 2291, 2294, 2298, 2300, 2303, 2306, 2309, 2312, - 2316, 2320, 2324, 2326, 2330, 2332, 2334, 2335, 2337, 2340, - 2343, 2345, 2347, 2351, 2358, 2369, 2371, 2372, 2374, 2377, - 2380, 2381, 2384, 2387, 2389, 2390, 2392, 2393, 2401, 2404, - 2405, 2409, 2415, 2421, 2430, 2433, 2434, 2437, 2440, 2443, - 2445, 2451, 2454, 2455, 2458, 2465, 2472, 2479, 2490, 2497, - 2504, 2511, 2521, 2531, 2538, 2545, 2555, 2562, 2570, 2573, - 2576, 2579, 2582, 2584, 2587, 2589, 2590, 2598, 2605, 2610, - 2611, 2613, 2617, 2622, 2624, 2628, 2630, 2633, 2636, 2639, - 2642, 2644, 2646, 2657, 2671, 2674, 2675, 2678, 2681, 2683, - 2684, 2690, 2695, 2700, 2712, 2727, 2740, 2756, 2768, 2771, - 2773, 2778, 2779, 2788, 2800, 2802, 2804, 2812, 2822, 2831, - 2842, 2851, 2856, 2857, 2863, 2864, 2867, 2868, 2871, 2872, - 2875, 2876, 2879, 2880, 2882, 2884, 2886, 2888, 2890, 2899, - 2901, 2903, 2921, 2943, 2945, 2947, 2950, 2952, 2956, 2958, - 2960, 2962, 2966, 2968, 2971, 2972, 2974, 2977, 2982, 2984, - 2986, 2988, 2990, 2992, 2996, 2997, 2999, 3000, 3002, 3004, - 3009, 3010, 3012, 3014, 3016, 3020, 3021, 3023, 3025, 3027, - 3029, 3032, 3033, 3034, 3037, 3040, 3042, 3045, 3048, 3051, - 3054, 3057, 3059, 3071, 3085, 3087, 3091, 3097, 3099, 3103, - 3109, 3111, 3114, 3117, 3119, 3128, 3135, 3141, 3146, 3151, - 3155, 3163, 3172, 3179, 3186, 3193, 3200, 3207, 3212, 3220, - 3226, 3235, 3239, 3241, 3245, 3249, 3251, 3253, 3255, 3257, - 3259, 3261, 3263, 3267, 3269, 3273, 3277, 3279, 3280, 3282, - 3286, 3294, 3304, 3314, 3323, 3330, 3334, 3335, 3349, 3351, - 3355, 3360, 3365, 3369, 3376, 3379, 3381, 3382, 3385, 3386, - 3389, 3394, 3395, 3402, 3411, 3420, 3422, 3426, 3432, 3438, - 3446, 3456, 3464, 3474, 3480, 3487, 3494, 3499, 3506, 3511, - 3518, 3527, 3532, 3539, 3544, 3551, 3557, 3565, 3567, 3569, - 3571, 3574, 3576, 3579, 3581, 3583, 3585, 3589, 3593, 3597, - 3601, 3603, 3605, 3607, 3609, 3611, 3614, 3617, 3619, 3623, - 3626, 3628, 3630, 3632, 3634, 3636, 3638, 3640, 3644, 3646, - 3649, 3652, 3656, 3658, 3662, 3668, 3671, 3674, 3675, 3682, - 3689, 3696, 3703, 3710, 3717, 3724, 3731, 3740, 3750, 3759, - 3766, 3773, 3783, 3793, 3803, 3811, 3822, 3824, 3826, 3835, - 3844, 3853, 3862, 3871, 3880, 3889, 3899, 3908, 3917, 3920, - 3921, 3923, 3925, 3928, 3931, 3933, 3936, 3940, 3944, 3948, - 3952, 3957, 3962, 3966, 3970, 3974, 3979, 3984, 3988, 3993, - 3998, 4000, 4002, 4004, 4005, 4014, 4023, 4035, 4037, 4039, - 4042, 4047, 4053, 4055, 4059, 4062, 4065, 4068, 4071, 4074, - 4076, 4080, 4082, 4086, 4088, 4091, 4094, 4099, 4103, 4106, - 4109, 4112, 4115, 4118, 4121, 4125, 4128, 4131, 4134, 4137, - 4143, 4149, 4155, 4161, 4167, 4169, 4173, 4175, 4178, 4182, - 4183, 4189, 4197, 4204, 4214, 4218, 4220, 4223, 4225, 4227, - 4229, 4233, 4234, 4240, 4243, 4244, 4248, 4252, 4256, 4264, - 4272, 4283, 4285, 4287, 4289, 4291, 4293, 4295, 4298, 4315, - 4335, 4337, 4338, 4341, 4342, 4344, 4348, 4353, 4359, 4362, - 4365, 4370, 4375, 4376, 4378, 4382, 4385, 4386, 4388, 4390, - 4391, 4394, 4397, 4398, 4408, 4421, 4429, 4437, 4440, 4441, - 4445, 4448, 4450, 4454, 4456, 4460, 4463, 4465, 4467, 4470, - 4474, 4477, 4479, 4483, 4487, 4491, 4494, 4497, 4499, 4501, - 4503, 4505, 4508, 4510, 4512, 4514, 4516, 4521, 4527, 4529, - 4533, 4537, 4539, 4543, 4547, 4553, 4560, 4562, 4566, 4569, - 4571, 4575, 4577, 4578, 4580, 4583, 4588, 4594, 4596, 4598, - 4600, 4602, 4606, 4610, 4613, 4616, 4618, 4621, 4624, 4627, - 4630, 4632, 4635, 4638, 4641, 4644, 4646, 4648, 4650, 4654, - 4657, 4659, 4664, 4665, 4669, 4670, 4672, 4674, 4678, 4684, - 4687, 4688, 4691, 4693, 4697, 4703, 4709, 4715, 4717, 4720, - 4722, 4723, 4728, 4735, 4740, 4747, 4752, 4759, 4764, 4771, - 4776, 4783, 4787, 4793, 4799, 4805, 4807, 4811, 4813, 4817, - 4820, 4823, 4825, 4828, 4830, 4833, 4845, 4856, 4867, 4870, - 4873, 4874, 4884, 4887, 4888, 4899, 4911, 4923, 4929, 4935, - 4944, 4950, 4956, 4962, 4964, 4966, 4968, 4970, 4974, 4975, - 4981, 4987, 4994, 5001, 5008, 5015, 5022, 5031, 5040, 5047, - 5054, 5062, 5072, 5082, 5091, 5102, 5109, 5116, 5123, 5130, - 5137, 5144, 5151, 5160, 5167, 5176, 5183, 5192, 5200, 5210, - 5217, 5226, 5234, 5244, 5253, 5264, 5273, 5284, 5294, 5306, - 5315, 5326, 5336, 5348, 5357, 5366, 5374, 5381, 5388, 5395, - 5402, 5411, 5420, 5429, 5438, 5445, 5455, 5457, 5458, 5461, - 5462, 5471, 5480, 5489, 5500, 5510, 5519, 5521, 5522, 5529, - 5536, 5543, 5550, 5557, 5564, 5571, 5581, 5591, 5598, 5605, - 5612, 5621, 5628, 5637, 5646, 5655, 5664, 5671, 5680, 5687, - 5696, 5704, 5714, 5722, 5732, 5739, 5747, 5749, 5753, 5757, - 5761, 5763, 5765, 5767, 5769, 5771, 5773, 5781, 5788, 5795, - 5802, 5809, 5816, 5823, 5831, 5839, 5846, 5856, 5866, 5873, - 5880, 5887, 5894, 5901, 5908, 5917, 5926, 5935, 5942, 5950, - 5957, 5964, 5969, 5977, 5984, 5989, 5994, 5999, 6003, 6008, - 6012, 6014, 6016, 6020, 6026, 6032, 6038, 6044, 6053, 6059, - 6065, 6072, 6080, 6088, 6096, 6101, 6106, 6112, 6117, 6124, - 6138, 6140, 6142, 6146, 6150, 6152, 6154, 6156, 6158, 6160, - 6162, 6164, 6165, 6167, 6169, 6171, 6173, 6175, 6177, 6178, - 6182, 6185, 6186, 6189, 6192, 6195, 6199, 6203, 6207, 6211, - 6214, 6218, 6221, 6227, 6232, 6236, 6240, 6244, 6248, 6252, - 6254, 6256, 6257, 6261, 6264, 6267, 6269, 6272, 6274, 6278, - 6281, 6283, 6284, 6287, 6291, 6292, 6302, 6314, 6327, 6342, - 6346, 6351, 6356, 6357, 6360, 6366, 6368, 6369, 6371, 6374, - 6378, 6382, 6386, 6388, 6391, 6393, 6395, 6397, 6399, 6401, - 6403, 6404, 6410, 6415, 6422, 6429, 6434, 6438, 6444, 6452, - 6462, 6464, 6468, 6470, 6476, 6481, 6486, 6493, 6498, 6505, - 6512, 6518, 6526, 6536, 6543, 6545, 6546, 6553, 6565, 6577, - 6589, 6603, 6613, 6625, 6627, 6629, 6640, 6647, 6652, 6657, - 6660, 6666, 6669, 6670, 6677, 6683, 6687, 6693, 6695, 6699, - 6701, 6703, 6706, 6708, 6710, 6712, 6714, 6716, 6717, 6719, - 6720, 6722, 6723, 6725, 6726, 6728, 6729, 6733, 6734, 6737, - 6739, 6743, 6745, 6746, 6749, 6754, 6758, 6764, 6766, 6768, - 6770, 6772, 6774, 6776, 6778, 6780, 6782, 6784, 6790, 6794, - 6795, 6797, 6799, 6801, 6803, 6805, 6809, 6819, 6832, 6836, - 6837, 6840, 6844, 6847, 6851, 6859, 6861, 6865, 6867, 6872, - 6877, 6885, 6888, 6890, 6892, 6894, 6898, 6901, 6910, 6916, - 6917, 6922, 6926, 6927, 6931, 6932, 6937, 6938, 6940, 6944, - 6948, 6950, 6952, 6960, 6963, 6964, 6970, 6974, 6975, 6978, - 6981, 6984, 6988, 6990, 6994, 6996, 6999, 7001, 7002, 7004, - 7007, 7008, 7017, 7019, 7023, 7027, 7033, 7036, 7038, 7042, - 7053, 7055, 7058, 7063, 7068, 7073, 7079, 7085, 7088, 7094, - 7098, 7104, 7107, 7108, 7112, 7114, 7117, 7123, 7129, 7138, - 7142, 7147, 7155, 7157, 7158, 7162, 7165, 7168, 7171, 7174, - 7175, 7178, 7181, 7183, 7185, 7189, 7193, 7195, 7198, 7203, - 7208, 7211, 7215, 7221, 7227, 7229, 7231, 7241, 7251, 7253, - 7256, 7261, 7266, 7271, 7274, 7277, 7281, 7283, 7287, 7297, - 7299, 7302, 7303, 7311, 7319, 7320, 7331, 7338, 7339, 7341, - 7342, 7345, 7346, 7350, 7354, 7359, 7364, 7369, 7374, 7378, - 7381, 7383, 7385, 7386, 7388, 7390, 7391, 7393, 7399, 7401, - 7402, 7404, 7406, 7408, 7409, 7413, 7415, 7419, 7424, 7428, - 7431, 7434, 7436, 7438, 7440, 7441, 7444, 7449, 7455, 7462, - 7467, 7473, 7476, 7480, 7482, 7484, 7486, 7488, 7491, 7494, - 7496, 7498, 7500, 7502, 7504, 7506, 7511, 7512, 7514, 7518, - 7520, 7522, 7524, 7526, 7528, 7531, 7536, 7541, 7547, 7550, - 7551, 7553, 7557, 7559, 7560, 7562, 7565, 7569, 7572, 7577, - 7580, 7584, 7587, 7588, 7593, 7599, 7602, 7603, 7605, 7609, - 7612, 7616, 7619, 7623, 7626, 7630, 7633, 7637, 7639, 7644, - 7647, 7651, 7655, 7660, 7666, 7671, 7677, 7682, 7688, 7691, - 7696, 7698, 7700, 7701, 7704, 7705, 7707, 7712, 7718, 7723, - 7724, 7727, 7730, 7733, 7735, 7737, 7738, 7744, 7747, 7749, - 7751, 7754, 7757, 7762, 7764, 7768, 7770, 7773, 7777, 7784, - 7789, 7790, 7793, 7800, 7803, 7805, 7809, 7814, 7815, 7818, - 7819, 7822, 7823, 7826, 7831, 7832, 7834, 7835, 7837, 7841, - 7845, 7853, 7866, 7868, 7872, 7875, 7879, 7883, 7885, 7888, - 7891, 7894, 7897, 7899, 7902, 7904, 7908, 7912, 7915, 7929, - 7932, 7933, 7935, 7939, 7943, 7950, 7958, 7964, 7972, 7982, - 7984, 7985, 7988, 7989, 7992, 7996, 8002, 8009, 8012, 8016, - 8020, 8025, 8026, 8028, 8030, 8032, 8034, 8036, 8039, 8044, - 8046, 8048, 8050, 8052, 8054, 8056, 8059, 8063, 8067, 8068, - 8070, 8072, 8074, 8076, 8078, 8081, 8084, 8087, 8090, 8093, - 8095, 8099, 8100, 8102, 8104, 8106, 8108, 8114, 8117, 8119, - 8121, 8123, 8125, 8130, 8132, 8135, 8138, 8140, 8144, 8148, - 8151, 8153, 8154, 8160, 8163, 8169, 8172, 8174, 8178, 8182, - 8183, 8185, 8187, 8189, 8191, 8193, 8195, 8199, 8203, 8207, - 8211, 8215, 8219, 8223, 8224, 8226, 8231, 8233, 8235, 8239, - 8243, 8249, 8253, 8256, 8259, 8263, 8267, 8271, 8275, 8279, - 8283, 8287, 8291, 8295, 8299, 8303, 8307, 8311, 8314, 8318, - 8322, 8325, 8328, 8332, 8338, 8343, 8350, 8354, 8360, 8365, - 8372, 8377, 8384, 8390, 8398, 8402, 8405, 8410, 8413, 8417, - 8421, 8426, 8430, 8435, 8439, 8444, 8450, 8457, 8464, 8472, - 8479, 8487, 8491, 8497, 8502, 8509, 8514, 8521, 8525, 8529, - 8534, 8538, 8543, 8548, 8554, 8559, 8565, 8567, 8569, 8573, - 8576, 8579, 8583, 8587, 8591, 8595, 8599, 8603, 8607, 8611, - 8615, 8619, 8623, 8627, 8631, 8634, 8640, 8647, 8651, 8656, - 8658, 8660, 8663, 8668, 8670, 8672, 8674, 8677, 8680, 8683, - 8686, 8688, 8690, 8695, 8699, 8705, 8712, 8721, 8728, 8735, - 8740, 8745, 8749, 8751, 8753, 8755, 8757, 8763, 8765, 8767, - 8772, 8774, 8779, 8781, 8786, 8788, 8793, 8795, 8797, 8799, - 8801, 8803, 8805, 8807, 8814, 8819, 8824, 8831, 8836, 8841, - 8846, 8851, 8856, 8863, 8869, 8875, 8881, 8886, 8893, 8898, - 8903, 8908, 8913, 8919, 8927, 8935, 8945, 8951, 8956, 8963, - 8969, 8977, 8985, 8994, 8999, 9007, 9012, 9019, 9026, 9031, - 9037, 9042, 9048, 9052, 9064, 9073, 9083, 9086, 9090, 9094, - 9098, 9103, 9104, 9109, 9111, 9115, 9119, 9121, 9123, 9125, - 9127, 9130, 9131, 9134, 9137, 9138, 9141, 9145, 9149, 9154, - 9157, 9160, 9166, 9167, 9173, 9174, 9177, 9178, 9180, 9184, - 9188, 9191, 9194, 9195, 9202, 9204, 9205, 9209, 9210, 9214, - 9218, 9222, 9223, 9225, 9230, 9233, 9236, 9239, 9242, 9245, - 9249, 9252, 9255, 9259, 9260, 9265, 9269, 9275, 9280, 9284, - 9290, 9292, 9294, 9296, 9298, 9300, 9302, 9304, 9306, 9308, - 9310, 9312, 9314, 9316, 9318, 9320, 9322, 9324, 9326, 9331, - 9333, 9338, 9340, 9345, 9347, 9350, 9352, 9355, 9357, 9361, - 9363, 9367, 9369, 9373, 9377, 9379, 9380, 9382, 9386, 9390, - 9394, 9397, 9399, 9403, 9407, 9411, 9413, 9415, 9417, 9419, - 9421, 9423, 9425, 9427, 9429, 9431, 9433, 9435, 9443, 9449, - 9453, 9459, 9465, 9469, 9473, 9479, 9483, 9486, 9488, 9494, - 9496, 9499, 9504, 9507, 9508, 9510, 9511, 9513, 9516, 9519, - 9522, 9526, 9532, 9534, 9535, 9537, 9540, 9541, 9544, 9546, - 9547, 9550, 9551, 9553, 9557, 9561, 9564, 9568, 9571, 9575, - 9580, 9585, 9589, 9593, 9594, 9597, 9599, 9601, 9603, 9605, - 9607, 9609, 9612, 9615, 9617, 9621, 9625, 9632, 9633, 9637, - 9638, 9641, 9646, 9649, 9651, 9652, 9658, 9661, 9667, 9670, - 9671, 9675, 9676, 9678, 9681, 9684, 9687, 9690, 9694, 9697, - 9701, 9704, 9705, 9707, 9711, 9715, 9719, 9723, 9727, 9728, - 9732, 9736, 9737, 9739, 9743, 9751, 9759, 9763, 9764, 9766, - 9767, 9769, 9773, 9777, 9780, 9782, 9784, 9786, 9790, 9792, - 9795, 9797, 9801, 9803, 9805, 9807, 9809, 9812, 9814, 9816, - 9818, 9820, 9822, 9825, 9832, 9835, 9842, 9845, 9849, 9855, - 9858, 9862, 9868, 9870, 9872, 9874, 9876, 9878, 9880, 9883, - 9886, 9888, 9890, 9892, 9894, 9896, 9898, 9902, 9913, 9918, - 9920, 9922, 9924, 9926, 9928, 9930, 9932, 9934, 9936, 9938, - 9940, 9942, 9944, 9946, 9948, 9950, 9952, 9954, 9956, 9958, - 9960, 9962, 9964, 9966, 9968, 9970, 9972, 9974, 9976, 9978, - 9980, 9982, 9984, 9986, 9988, 9990, 9992, 9994, 9996, 9998, - 10000, 10002, 10004, 10006, 10008, 10010, 10012, 10014, 10016, 10018, - 10020, 10022, 10024, 10026, 10028, 10030, 10032, 10034, 10036, 10038, - 10040, 10042, 10044, 10046, 10048, 10050, 10052, 10054, 10056, 10058, - 10060, 10062, 10064, 10066, 10068, 10070, 10072, 10074, 10076, 10078, - 10080, 10082, 10084, 10086, 10088, 10090, 10092, 10094, 10096, 10098, - 10100, 10102, 10104, 10106, 10108, 10110, 10112, 10114, 10116, 10118, - 10120, 10122, 10124, 10126, 10128, 10130, 10132, 10134, 10136, 10138, - 10140, 10142, 10144, 10146, 10148, 10150, 10152, 10154, 10156, 10158, - 10160, 10162, 10164, 10166, 10168, 10170, 10172, 10174, 10176, 10178, - 10180, 10182, 10184, 10186, 10188, 10190, 10192, 10194, 10196, 10198, - 10200, 10202, 10204, 10206, 10208, 10210, 10212, 10214, 10216, 10218, - 10220, 10222, 10224, 10226, 10228, 10230, 10232, 10234, 10236, 10238, - 10240, 10242, 10244, 10246, 10248, 10250, 10252, 10254, 10256, 10258, - 10260, 10262, 10264, 10266, 10268, 10270, 10272, 10274, 10276, 10278, - 10280, 10282, 10284, 10286, 10288, 10290, 10292, 10294, 10296, 10298, - 10300, 10302, 10304, 10306, 10308, 10310, 10312, 10314, 10316, 10318, - 10320, 10322, 10324, 10326, 10328, 10330, 10332, 10334, 10336, 10338, - 10340, 10342, 10344, 10346, 10348, 10350, 10352, 10354, 10356, 10358, - 10360, 10362, 10364, 10366, 10368, 10370, 10372, 10374, 10376, 10378, - 10380, 10382, 10384, 10386, 10388, 10390, 10392, 10394, 10396, 10398, - 10400, 10402, 10404, 10406, 10408, 10410, 10412, 10414, 10416, 10418, - 10420, 10422, 10424, 10426, 10428, 10430, 10432, 10434, 10436, 10438, - 10440, 10442, 10444, 10446, 10448, 10450, 10452, 10454, 10456, 10458, - 10460, 10462, 10464, 10466, 10468, 10470, 10472, 10474, 10476, 10478, - 10480, 10482, 10484, 10486, 10488, 10490, 10492, 10494, 10496, 10498, - 10500, 10502, 10504, 10506, 10508, 10510, 10512, 10514, 10516, 10518, - 10520, 10522, 10524, 10526, 10528, 10530, 10532, 10534, 10536, 10538, - 10540, 10542, 10544, 10546, 10548, 10550, 10552, 10554, 10556, 10558, - 10560, 10562, 10564, 10566, 10568, 10570, 10572, 10574, 10576, 10578, - 10580, 10582, 10584, 10586, 10588, 10590, 10592, 10594, 10596, 10598, - 10600, 10602, 10604, 10606, 10608, 10610, 10612, 10614, 10616, 10618, - 10620, 10622, 10624, 10626, 10628, 10630, 10632, 10634, 10636, 10638, - 10640, 10642, 10644, 10646, 10648, 10650, 10652, 10654, 10656, 10658, - 10660, 10662, 10664, 10666, 10668, 10670, 10672, 10674, 10676, 10678, - 10680, 10682, 10684, 10686, 10688, 10690, 10692, 10694, 10696, 10698, - 10700, 10702, 10704, 10706, 10708, 10710, 10712, 10714, 10716, 10718, - 10720, 10722, 10724, 10726, 10728, 10730, 10732, 10734, 10736, 10738, - 10740, 10742, 10744, 10746, 10748, 10750, 10752, 10754, 10756, 10758, - 10760, 10762, 10764, 10766, 10768, 10770, 10772, 10774, 10776, 10778, - 10780, 10782, 10784, 10786, 10788, 10790, 10792, 10794, 10796, 10798, - 10800, 10802, 10804, 10806, 10808, 10810, 10812, 10814, 10816, 10818, - 10820, 10822, 10824, 10826, 10828, 10830, 10832, 10834, 10836, 10838, - 10840, 10842, 10844, 10846, 10848, 10850, 10852, 10854, 10856, 10858, - 10860, 10862, 10864, 10866, 10868, 10870, 10872, 10874, 10876, 10878, - 10880, 10882, 10884, 10886, 10888, 10890, 10892, 10894, 10896, 10898, - 10900, 10902, 10904, 10906, 10908, 10910, 10912, 10914, 10916, 10918, - 10920, 10922, 10924, 10926, 10928, 10930, 10932, 10934, 10936, 10938, - 10940, 10942, 10944, 10946, 10948, 10950, 10952, 10954, 10956, 10958, - 10960, 10962, 10964, 10966, 10968, 10970, 10972, 10974, 10976, 10978, - 10980, 10982, 10984, 10986, 10988, 10990, 10992, 10994, 10996, 10998, - 11000, 11002, 11004, 11006, 11008, 11010, 11012, 11014, 11016, 11018, - 11020, 11022, 11024, 11026, 11028, 11030, 11032, 11034, 11036, 11038, - 11040, 11042, 11044, 11046, 11048, 11050, 11052, 11054, 11056, 11058, - 11060, 11062, 11064, 11066, 11068, 11070, 11072, 11074, 11076, 11078, - 11080, 11082, 11084, 11086, 11088, 11090, 11092, 11094, 11096, 11098, - 11100, 11102, 11104, 11106, 11108, 11110, 11112, 11114, 11116, 11118, - 11120, 11122, 11124, 11126, 11128, 11130, 11132, 11134, 11136, 11138, - 11140, 11142, 11144, 11146, 11148, 11150, 11152, 11154, 11156, 11158, - 11160, 11162, 11164, 11166, 11168, 11170, 11172, 11174, 11176, 11178, - 11180, 11182, 11184, 11186, 11188, 11190, 11192, 11194, 11196, 11198, - 11200, 11202, 11204, 11206, 11208, 11210, 11212, 11214, 11216, 11218, - 11220, 11222, 11224, 11226, 11228, 11230, 11232, 11234, 11236, 11238, - 11240, 11242, 11244, 11246, 11248, 11250, 11252, 11254, 11256, 11258, - 11260, 11262, 11264, 11266, 11268, 11270, 11272, 11274, 11276, 11278, - 11280, 11282, 11284, 11286, 11288, 11290, 11292, 11294, 11296, 11298, - 11300, 11302, 11304, 11306, 11308, 11310, 11312, 11314, 11316, 11318, - 11320, 11322, 11324, 11326, 11328, 11330, 11332, 11334, 11336, 11338, - 11340, 11342, 11344, 11346, 11348, 11350, 11352, 11354, 11356, 11358, - 11360, 11362, 11364, 11366, 11368, 11370, 11372, 11374, 11376, 11378, - 11380, 11382, 11384, 11386, 11388, 11390, 11392, 11394, 11396, 11398, - 11400, 11402, 11404, 11406, 11408, 11410, 11412, 11414, 11416, 11418, - 11420, 11422, 11424, 11426, 11428, 11430, 11432, 11434, 11436, 11438, - 11440, 11442, 11444, 11446, 11448, 11450, 11452, 11454, 11456, 11458, - 11460, 11462, 11464, 11466, 11468, 11470, 11472, 11474, 11476, 11478, - 11480, 11482, 11484, 11486, 11488, 11490, 11492, 11494, 11496, 11498, - 11500, 11502, 11504, 11506, 11508, 11510, 11512, 11514, 11516, 11518, - 11520, 11522, 11524, 11526, 11528, 11530, 11532, 11534, 11536, 11538, - 11540, 11542, 11544, 11546, 11548, 11550, 11552, 11554, 11556, 11558, - 11560, 11562, 11564, 11566, 11568, 11570, 11572, 11574, 11576, 11578, - 11580, 11582, 11584, 11586, 11588, 11590, 11592, 11594, 11596, 11598, - 11600, 11602, 11604, 11606, 11608, 11610, 11612, 11614, 11616, 11618, - 11620, 11622, 11624, 11626, 11628, 11630, 11632, 11634, 11636, 11638, - 11640, 11642, 11644, 11646, 11648, 11650, 11652, 11654, 11656, 11658, - 11660, 11662, 11664, 11666, 11668, 11670, 11672, 11674, 11676, 11678, - 11680, 11682, 11684, 11686, 11688, 11690, 11692, 11694, 11696, 11698, - 11700, 11702, 11704, 11706, 11708, 11710, 11712, 11714, 11716, 11718, - 11720, 11722, 11724, 11726, 11728, 11730, 11732, 11734, 11736, 11738, - 11740, 11742, 11744, 11746, 11748, 11750, 11752, 11754, 11756, 11758, - 11760, 11762, 11764, 11766, 11768, 11770, 11772, 11774, 11776, 11778, - 11780, 11782, 11784, 11786, 11788, 11790, 11792, 11794, 11796, 11798, - 11800, 11802, 11804, 11806, 11808, 11810, 11812, 11814, 11816, 11818, - 11820, 11822, 11824, 11826, 11828, 11830, 11832, 11834, 11836, 11838, - 11840, 11842, 11844, 11846, 11848, 11850, 11852, 11854, 11856 + 570, 573, 576, 580, 584, 588, 592, 596, 598, 600, + 604, 606, 610, 612, 614, 616, 619, 622, 625, 627, + 629, 631, 633, 635, 637, 639, 641, 645, 651, 653, + 655, 657, 659, 661, 662, 664, 666, 669, 671, 674, + 678, 681, 683, 685, 688, 690, 693, 695, 698, 702, + 707, 711, 714, 719, 721, 723, 725, 727, 729, 732, + 735, 738, 741, 744, 749, 756, 761, 768, 779, 793, + 798, 805, 810, 821, 835, 840, 847, 852, 859, 865, + 873, 885, 900, 906, 914, 916, 920, 925, 930, 935, + 939, 942, 948, 952, 959, 964, 971, 978, 988, 994, + 1002, 1009, 1016, 1022, 1028, 1034, 1040, 1050, 1055, 1061, + 1069, 1076, 1081, 1090, 1095, 1098, 1103, 1108, 1112, 1119, + 1124, 1128, 1132, 1136, 1139, 1142, 1146, 1151, 1156, 1160, + 1164, 1168, 1172, 1176, 1180, 1185, 1190, 1194, 1197, 1201, + 1204, 1207, 1211, 1216, 1220, 1223, 1226, 1230, 1235, 1240, + 1245, 1251, 1253, 1257, 1260, 1263, 1264, 1267, 1268, 1270, + 1272, 1274, 1278, 1282, 1285, 1286, 1288, 1292, 1296, 1298, + 1304, 1308, 1310, 1313, 1315, 1319, 1322, 1326, 1328, 1330, + 1332, 1334, 1341, 1348, 1359, 1361, 1364, 1366, 1370, 1375, + 1377, 1381, 1386, 1393, 1398, 1407, 1410, 1413, 1425, 1435, + 1437, 1439, 1441, 1442, 1444, 1446, 1448, 1450, 1454, 1457, + 1458, 1460, 1462, 1466, 1470, 1472, 1474, 1478, 1482, 1486, + 1490, 1495, 1500, 1504, 1508, 1511, 1513, 1514, 1518, 1519, + 1521, 1522, 1524, 1528, 1531, 1533, 1535, 1537, 1539, 1543, + 1544, 1546, 1550, 1552, 1566, 1583, 1596, 1612, 1627, 1645, + 1647, 1649, 1652, 1655, 1658, 1661, 1663, 1664, 1666, 1667, + 1671, 1672, 1674, 1678, 1680, 1684, 1686, 1688, 1690, 1692, + 1694, 1701, 1704, 1709, 1712, 1715, 1717, 1718, 1721, 1724, + 1726, 1727, 1730, 1731, 1735, 1737, 1739, 1742, 1746, 1748, + 1753, 1758, 1764, 1767, 1773, 1781, 1787, 1790, 1794, 1795, + 1797, 1800, 1802, 1804, 1805, 1807, 1810, 1813, 1816, 1818, + 1821, 1825, 1829, 1833, 1834, 1836, 1838, 1840, 1842, 1844, + 1846, 1848, 1850, 1852, 1854, 1858, 1860, 1866, 1871, 1882, + 1886, 1897, 1902, 1913, 1926, 1930, 1932, 1938, 1942, 1945, + 1946, 1949, 1950, 1954, 1955, 1957, 1961, 1965, 1966, 1971, + 1972, 1974, 1979, 1980, 1983, 1986, 1989, 1990, 1992, 1996, + 2000, 2007, 2012, 2013, 2015, 2017, 2020, 2023, 2024, 2028, + 2032, 2035, 2037, 2039, 2043, 2047, 2052, 2053, 2055, 2056, + 2063, 2065, 2069, 2073, 2077, 2083, 2086, 2087, 2090, 2093, + 2094, 2098, 2103, 2108, 2109, 2112, 2113, 2118, 2119, 2123, + 2132, 2144, 2146, 2150, 2152, 2154, 2158, 2165, 2174, 2182, + 2193, 2200, 2203, 2207, 2208, 2217, 2229, 2235, 2237, 2238, + 2245, 2251, 2260, 2265, 2272, 2274, 2275, 2279, 2280, 2282, + 2285, 2288, 2291, 2293, 2296, 2300, 2302, 2305, 2308, 2311, + 2314, 2318, 2322, 2326, 2328, 2332, 2334, 2336, 2337, 2339, + 2342, 2345, 2347, 2349, 2353, 2360, 2371, 2373, 2374, 2376, + 2379, 2382, 2383, 2386, 2389, 2391, 2392, 2394, 2395, 2403, + 2406, 2407, 2411, 2417, 2423, 2432, 2435, 2436, 2439, 2442, + 2445, 2447, 2453, 2456, 2457, 2460, 2467, 2474, 2481, 2492, + 2499, 2506, 2513, 2523, 2533, 2540, 2547, 2557, 2564, 2572, + 2575, 2578, 2581, 2584, 2586, 2589, 2591, 2592, 2600, 2607, + 2612, 2613, 2615, 2619, 2624, 2626, 2630, 2632, 2635, 2638, + 2641, 2644, 2646, 2648, 2659, 2673, 2676, 2677, 2680, 2683, + 2685, 2686, 2692, 2697, 2702, 2714, 2729, 2742, 2758, 2770, + 2773, 2775, 2780, 2781, 2790, 2802, 2804, 2806, 2814, 2824, + 2833, 2844, 2853, 2858, 2859, 2865, 2866, 2869, 2870, 2873, + 2874, 2877, 2878, 2881, 2882, 2884, 2886, 2888, 2890, 2892, + 2901, 2903, 2905, 2923, 2945, 2947, 2949, 2952, 2954, 2958, + 2960, 2962, 2964, 2968, 2970, 2973, 2974, 2976, 2979, 2984, + 2986, 2988, 2990, 2992, 2994, 2998, 2999, 3001, 3002, 3004, + 3006, 3011, 3012, 3014, 3016, 3018, 3022, 3023, 3025, 3027, + 3029, 3031, 3034, 3035, 3036, 3039, 3042, 3044, 3047, 3050, + 3053, 3056, 3059, 3061, 3073, 3087, 3089, 3093, 3099, 3101, + 3105, 3111, 3113, 3116, 3119, 3121, 3130, 3137, 3143, 3148, + 3153, 3157, 3165, 3174, 3181, 3188, 3195, 3202, 3209, 3214, + 3222, 3228, 3237, 3241, 3243, 3247, 3251, 3253, 3255, 3257, + 3259, 3261, 3263, 3265, 3269, 3271, 3275, 3279, 3281, 3282, + 3284, 3288, 3296, 3306, 3316, 3325, 3332, 3336, 3337, 3351, + 3353, 3357, 3362, 3367, 3371, 3378, 3381, 3383, 3384, 3387, + 3388, 3391, 3396, 3397, 3404, 3413, 3422, 3424, 3428, 3434, + 3440, 3448, 3458, 3466, 3476, 3482, 3489, 3496, 3501, 3508, + 3513, 3520, 3529, 3534, 3541, 3546, 3553, 3559, 3567, 3569, + 3571, 3573, 3576, 3578, 3581, 3583, 3585, 3587, 3591, 3595, + 3599, 3603, 3605, 3607, 3609, 3611, 3613, 3616, 3619, 3621, + 3625, 3628, 3630, 3632, 3634, 3636, 3638, 3640, 3642, 3646, + 3648, 3651, 3654, 3658, 3660, 3664, 3670, 3673, 3676, 3677, + 3684, 3691, 3698, 3705, 3712, 3719, 3726, 3733, 3742, 3752, + 3761, 3768, 3775, 3785, 3795, 3805, 3813, 3824, 3826, 3828, + 3837, 3846, 3855, 3864, 3873, 3882, 3891, 3901, 3910, 3919, + 3922, 3923, 3925, 3927, 3930, 3933, 3935, 3938, 3942, 3946, + 3950, 3954, 3959, 3964, 3968, 3972, 3976, 3981, 3986, 3990, + 3995, 4000, 4002, 4004, 4006, 4007, 4016, 4025, 4037, 4039, + 4041, 4044, 4049, 4055, 4057, 4061, 4064, 4067, 4070, 4073, + 4076, 4078, 4082, 4084, 4086, 4089, 4092, 4097, 4101, 4104, + 4107, 4110, 4113, 4116, 4119, 4123, 4126, 4129, 4132, 4135, + 4141, 4147, 4153, 4159, 4165, 4167, 4171, 4173, 4176, 4180, + 4181, 4187, 4195, 4202, 4212, 4216, 4218, 4221, 4223, 4225, + 4227, 4231, 4232, 4238, 4241, 4242, 4246, 4250, 4254, 4262, + 4270, 4281, 4283, 4285, 4287, 4289, 4291, 4293, 4296, 4313, + 4333, 4335, 4336, 4339, 4340, 4342, 4346, 4351, 4357, 4360, + 4363, 4368, 4373, 4374, 4376, 4380, 4383, 4384, 4386, 4388, + 4389, 4392, 4395, 4396, 4406, 4419, 4427, 4435, 4438, 4439, + 4443, 4446, 4448, 4452, 4454, 4458, 4461, 4463, 4465, 4468, + 4472, 4475, 4477, 4481, 4485, 4489, 4492, 4495, 4497, 4499, + 4501, 4503, 4506, 4508, 4510, 4512, 4514, 4519, 4525, 4527, + 4531, 4535, 4537, 4541, 4545, 4551, 4558, 4560, 4564, 4567, + 4569, 4573, 4575, 4576, 4578, 4581, 4586, 4592, 4594, 4596, + 4598, 4600, 4604, 4608, 4611, 4614, 4616, 4619, 4622, 4625, + 4628, 4630, 4633, 4636, 4639, 4642, 4645, 4647, 4649, 4651, + 4655, 4658, 4660, 4665, 4666, 4670, 4671, 4673, 4675, 4679, + 4685, 4688, 4689, 4692, 4694, 4698, 4704, 4710, 4716, 4718, + 4721, 4723, 4724, 4729, 4736, 4741, 4748, 4753, 4760, 4765, + 4772, 4777, 4784, 4788, 4794, 4800, 4806, 4808, 4812, 4814, + 4818, 4821, 4824, 4826, 4829, 4831, 4834, 4837, 4849, 4860, + 4871, 4874, 4877, 4878, 4888, 4891, 4892, 4903, 4915, 4927, + 4933, 4939, 4948, 4954, 4960, 4966, 4968, 4970, 4972, 4974, + 4978, 4979, 4985, 4991, 4998, 5005, 5012, 5019, 5026, 5035, + 5044, 5051, 5058, 5066, 5076, 5086, 5095, 5106, 5113, 5120, + 5127, 5134, 5141, 5148, 5155, 5164, 5171, 5180, 5187, 5196, + 5204, 5214, 5221, 5230, 5238, 5248, 5257, 5268, 5277, 5288, + 5298, 5310, 5319, 5330, 5340, 5352, 5361, 5370, 5378, 5385, + 5392, 5399, 5406, 5415, 5424, 5433, 5442, 5449, 5459, 5461, + 5462, 5465, 5466, 5475, 5484, 5493, 5504, 5514, 5523, 5525, + 5526, 5533, 5540, 5547, 5554, 5561, 5568, 5575, 5585, 5595, + 5602, 5609, 5616, 5625, 5632, 5641, 5650, 5659, 5668, 5675, + 5684, 5691, 5700, 5708, 5718, 5726, 5736, 5743, 5751, 5753, + 5757, 5761, 5765, 5767, 5769, 5771, 5773, 5775, 5777, 5785, + 5792, 5799, 5806, 5813, 5820, 5827, 5835, 5843, 5850, 5860, + 5870, 5877, 5884, 5891, 5898, 5905, 5912, 5921, 5930, 5939, + 5946, 5954, 5961, 5968, 5973, 5981, 5988, 5993, 5998, 6003, + 6007, 6012, 6016, 6018, 6020, 6024, 6030, 6036, 6042, 6048, + 6057, 6063, 6069, 6076, 6084, 6092, 6100, 6105, 6110, 6116, + 6121, 6128, 6142, 6144, 6146, 6150, 6154, 6156, 6158, 6160, + 6162, 6164, 6166, 6168, 6169, 6171, 6173, 6175, 6177, 6179, + 6181, 6182, 6187, 6190, 6193, 6196, 6199, 6203, 6207, 6211, + 6215, 6218, 6222, 6225, 6231, 6236, 6240, 6244, 6248, 6252, + 6256, 6258, 6260, 6261, 6265, 6268, 6271, 6273, 6276, 6278, + 6282, 6285, 6287, 6288, 6291, 6295, 6296, 6306, 6318, 6331, + 6346, 6350, 6355, 6360, 6361, 6364, 6370, 6372, 6373, 6375, + 6378, 6382, 6386, 6390, 6392, 6395, 6397, 6399, 6401, 6403, + 6405, 6407, 6408, 6414, 6419, 6426, 6433, 6438, 6442, 6448, + 6456, 6466, 6468, 6472, 6474, 6480, 6485, 6490, 6497, 6502, + 6509, 6516, 6522, 6530, 6540, 6547, 6549, 6550, 6557, 6569, + 6581, 6593, 6607, 6617, 6629, 6631, 6633, 6644, 6651, 6656, + 6661, 6664, 6670, 6673, 6674, 6681, 6687, 6691, 6697, 6699, + 6703, 6705, 6707, 6710, 6712, 6714, 6716, 6718, 6720, 6721, + 6723, 6724, 6726, 6727, 6729, 6730, 6732, 6733, 6737, 6738, + 6741, 6743, 6747, 6749, 6750, 6753, 6758, 6762, 6768, 6770, + 6772, 6774, 6776, 6778, 6780, 6782, 6784, 6786, 6788, 6794, + 6798, 6799, 6801, 6803, 6805, 6807, 6809, 6813, 6823, 6836, + 6840, 6841, 6844, 6848, 6851, 6855, 6863, 6865, 6869, 6871, + 6876, 6881, 6889, 6892, 6894, 6896, 6898, 6902, 6905, 6914, + 6920, 6921, 6926, 6930, 6931, 6935, 6936, 6941, 6942, 6944, + 6948, 6952, 6954, 6956, 6964, 6967, 6968, 6974, 6978, 6979, + 6982, 6985, 6988, 6992, 6994, 6998, 7000, 7003, 7005, 7006, + 7008, 7011, 7012, 7021, 7023, 7027, 7031, 7037, 7040, 7042, + 7046, 7057, 7059, 7062, 7067, 7072, 7077, 7083, 7089, 7092, + 7098, 7102, 7108, 7111, 7112, 7116, 7118, 7121, 7127, 7133, + 7142, 7146, 7151, 7159, 7161, 7162, 7166, 7169, 7172, 7175, + 7178, 7179, 7182, 7185, 7187, 7189, 7193, 7197, 7199, 7202, + 7207, 7212, 7215, 7219, 7225, 7231, 7233, 7235, 7245, 7255, + 7257, 7260, 7265, 7270, 7275, 7278, 7281, 7285, 7287, 7291, + 7301, 7303, 7306, 7307, 7315, 7323, 7324, 7335, 7342, 7343, + 7345, 7346, 7349, 7350, 7354, 7358, 7363, 7368, 7373, 7378, + 7382, 7385, 7387, 7389, 7390, 7392, 7394, 7395, 7397, 7403, + 7405, 7406, 7408, 7410, 7412, 7413, 7417, 7419, 7423, 7428, + 7432, 7435, 7438, 7440, 7442, 7444, 7445, 7448, 7453, 7459, + 7466, 7471, 7477, 7480, 7484, 7486, 7488, 7490, 7492, 7495, + 7498, 7500, 7502, 7504, 7506, 7508, 7510, 7515, 7516, 7518, + 7522, 7524, 7526, 7528, 7530, 7532, 7535, 7540, 7545, 7551, + 7554, 7555, 7557, 7561, 7563, 7564, 7566, 7569, 7573, 7576, + 7581, 7584, 7588, 7591, 7592, 7597, 7603, 7606, 7607, 7609, + 7613, 7616, 7620, 7623, 7627, 7630, 7634, 7637, 7641, 7643, + 7648, 7651, 7655, 7659, 7664, 7670, 7675, 7681, 7686, 7692, + 7695, 7700, 7702, 7704, 7705, 7708, 7709, 7711, 7716, 7722, + 7727, 7728, 7731, 7734, 7737, 7739, 7741, 7742, 7748, 7751, + 7753, 7755, 7758, 7761, 7766, 7768, 7772, 7774, 7777, 7781, + 7788, 7793, 7794, 7797, 7804, 7807, 7809, 7813, 7818, 7819, + 7822, 7823, 7826, 7827, 7830, 7835, 7836, 7838, 7839, 7841, + 7845, 7849, 7857, 7870, 7872, 7876, 7879, 7883, 7887, 7889, + 7892, 7895, 7898, 7901, 7903, 7906, 7908, 7912, 7916, 7919, + 7933, 7936, 7937, 7939, 7943, 7947, 7954, 7962, 7968, 7976, + 7986, 7988, 7989, 7992, 7993, 7996, 8000, 8006, 8013, 8016, + 8020, 8024, 8029, 8030, 8032, 8034, 8036, 8038, 8040, 8043, + 8048, 8050, 8052, 8054, 8056, 8058, 8060, 8063, 8067, 8071, + 8072, 8074, 8076, 8078, 8080, 8082, 8085, 8088, 8091, 8094, + 8097, 8099, 8103, 8104, 8106, 8108, 8110, 8112, 8118, 8121, + 8123, 8125, 8127, 8129, 8134, 8136, 8139, 8142, 8144, 8148, + 8152, 8155, 8157, 8158, 8164, 8167, 8173, 8176, 8178, 8182, + 8186, 8187, 8189, 8191, 8193, 8195, 8197, 8199, 8203, 8207, + 8211, 8215, 8219, 8223, 8227, 8228, 8230, 8235, 8237, 8239, + 8243, 8247, 8253, 8257, 8260, 8263, 8267, 8271, 8275, 8279, + 8283, 8287, 8291, 8295, 8299, 8303, 8307, 8311, 8315, 8318, + 8322, 8326, 8329, 8332, 8336, 8342, 8347, 8354, 8358, 8364, + 8369, 8376, 8381, 8388, 8394, 8402, 8406, 8409, 8414, 8417, + 8421, 8425, 8430, 8434, 8439, 8443, 8448, 8454, 8461, 8468, + 8476, 8483, 8491, 8495, 8501, 8506, 8513, 8518, 8525, 8529, + 8533, 8538, 8542, 8547, 8552, 8558, 8563, 8569, 8571, 8573, + 8577, 8580, 8583, 8587, 8591, 8595, 8599, 8603, 8607, 8611, + 8615, 8619, 8623, 8627, 8631, 8635, 8638, 8644, 8651, 8655, + 8660, 8662, 8664, 8667, 8672, 8674, 8676, 8678, 8681, 8684, + 8687, 8690, 8692, 8694, 8699, 8703, 8709, 8716, 8725, 8732, + 8739, 8744, 8749, 8753, 8755, 8757, 8759, 8761, 8767, 8769, + 8771, 8776, 8778, 8783, 8785, 8790, 8792, 8797, 8799, 8801, + 8803, 8805, 8807, 8809, 8811, 8818, 8823, 8828, 8835, 8840, + 8845, 8850, 8855, 8860, 8867, 8873, 8879, 8885, 8890, 8897, + 8902, 8907, 8912, 8917, 8923, 8931, 8939, 8949, 8955, 8960, + 8967, 8973, 8981, 8989, 8998, 9003, 9011, 9016, 9023, 9030, + 9035, 9041, 9046, 9052, 9056, 9068, 9077, 9087, 9090, 9094, + 9098, 9102, 9107, 9108, 9113, 9115, 9119, 9123, 9125, 9127, + 9129, 9131, 9134, 9135, 9138, 9141, 9142, 9145, 9149, 9153, + 9158, 9161, 9164, 9170, 9171, 9177, 9178, 9181, 9182, 9184, + 9188, 9192, 9195, 9198, 9199, 9206, 9208, 9209, 9213, 9214, + 9218, 9222, 9226, 9227, 9229, 9234, 9237, 9240, 9243, 9246, + 9249, 9253, 9256, 9259, 9263, 9264, 9269, 9273, 9279, 9284, + 9288, 9294, 9296, 9298, 9300, 9302, 9304, 9306, 9308, 9310, + 9312, 9314, 9316, 9318, 9320, 9322, 9324, 9326, 9328, 9330, + 9335, 9337, 9342, 9344, 9349, 9351, 9354, 9356, 9359, 9361, + 9365, 9367, 9371, 9373, 9377, 9381, 9383, 9384, 9386, 9390, + 9394, 9398, 9401, 9403, 9407, 9411, 9415, 9417, 9419, 9421, + 9423, 9425, 9427, 9429, 9431, 9433, 9435, 9437, 9439, 9447, + 9453, 9457, 9463, 9469, 9473, 9477, 9483, 9487, 9490, 9492, + 9498, 9500, 9503, 9508, 9511, 9512, 9514, 9515, 9517, 9520, + 9523, 9526, 9530, 9536, 9538, 9539, 9541, 9544, 9545, 9548, + 9550, 9551, 9554, 9555, 9557, 9561, 9565, 9568, 9572, 9575, + 9579, 9584, 9589, 9593, 9597, 9598, 9601, 9603, 9605, 9607, + 9609, 9611, 9613, 9616, 9619, 9621, 9625, 9629, 9636, 9637, + 9641, 9642, 9645, 9650, 9653, 9655, 9656, 9662, 9665, 9671, + 9674, 9675, 9679, 9680, 9682, 9685, 9688, 9691, 9694, 9698, + 9701, 9705, 9708, 9709, 9711, 9715, 9719, 9723, 9727, 9731, + 9732, 9736, 9740, 9741, 9743, 9747, 9755, 9763, 9767, 9768, + 9770, 9771, 9773, 9777, 9781, 9784, 9786, 9788, 9790, 9794, + 9796, 9799, 9801, 9805, 9807, 9809, 9811, 9813, 9816, 9818, + 9820, 9822, 9824, 9826, 9829, 9836, 9839, 9846, 9849, 9853, + 9859, 9862, 9866, 9872, 9874, 9876, 9878, 9880, 9882, 9884, + 9887, 9890, 9892, 9894, 9896, 9898, 9900, 9902, 9906, 9917, + 9922, 9924, 9926, 9928, 9930, 9932, 9934, 9936, 9938, 9940, + 9942, 9944, 9946, 9948, 9950, 9952, 9954, 9956, 9958, 9960, + 9962, 9964, 9966, 9968, 9970, 9972, 9974, 9976, 9978, 9980, + 9982, 9984, 9986, 9988, 9990, 9992, 9994, 9996, 9998, 10000, + 10002, 10004, 10006, 10008, 10010, 10012, 10014, 10016, 10018, 10020, + 10022, 10024, 10026, 10028, 10030, 10032, 10034, 10036, 10038, 10040, + 10042, 10044, 10046, 10048, 10050, 10052, 10054, 10056, 10058, 10060, + 10062, 10064, 10066, 10068, 10070, 10072, 10074, 10076, 10078, 10080, + 10082, 10084, 10086, 10088, 10090, 10092, 10094, 10096, 10098, 10100, + 10102, 10104, 10106, 10108, 10110, 10112, 10114, 10116, 10118, 10120, + 10122, 10124, 10126, 10128, 10130, 10132, 10134, 10136, 10138, 10140, + 10142, 10144, 10146, 10148, 10150, 10152, 10154, 10156, 10158, 10160, + 10162, 10164, 10166, 10168, 10170, 10172, 10174, 10176, 10178, 10180, + 10182, 10184, 10186, 10188, 10190, 10192, 10194, 10196, 10198, 10200, + 10202, 10204, 10206, 10208, 10210, 10212, 10214, 10216, 10218, 10220, + 10222, 10224, 10226, 10228, 10230, 10232, 10234, 10236, 10238, 10240, + 10242, 10244, 10246, 10248, 10250, 10252, 10254, 10256, 10258, 10260, + 10262, 10264, 10266, 10268, 10270, 10272, 10274, 10276, 10278, 10280, + 10282, 10284, 10286, 10288, 10290, 10292, 10294, 10296, 10298, 10300, + 10302, 10304, 10306, 10308, 10310, 10312, 10314, 10316, 10318, 10320, + 10322, 10324, 10326, 10328, 10330, 10332, 10334, 10336, 10338, 10340, + 10342, 10344, 10346, 10348, 10350, 10352, 10354, 10356, 10358, 10360, + 10362, 10364, 10366, 10368, 10370, 10372, 10374, 10376, 10378, 10380, + 10382, 10384, 10386, 10388, 10390, 10392, 10394, 10396, 10398, 10400, + 10402, 10404, 10406, 10408, 10410, 10412, 10414, 10416, 10418, 10420, + 10422, 10424, 10426, 10428, 10430, 10432, 10434, 10436, 10438, 10440, + 10442, 10444, 10446, 10448, 10450, 10452, 10454, 10456, 10458, 10460, + 10462, 10464, 10466, 10468, 10470, 10472, 10474, 10476, 10478, 10480, + 10482, 10484, 10486, 10488, 10490, 10492, 10494, 10496, 10498, 10500, + 10502, 10504, 10506, 10508, 10510, 10512, 10514, 10516, 10518, 10520, + 10522, 10524, 10526, 10528, 10530, 10532, 10534, 10536, 10538, 10540, + 10542, 10544, 10546, 10548, 10550, 10552, 10554, 10556, 10558, 10560, + 10562, 10564, 10566, 10568, 10570, 10572, 10574, 10576, 10578, 10580, + 10582, 10584, 10586, 10588, 10590, 10592, 10594, 10596, 10598, 10600, + 10602, 10604, 10606, 10608, 10610, 10612, 10614, 10616, 10618, 10620, + 10622, 10624, 10626, 10628, 10630, 10632, 10634, 10636, 10638, 10640, + 10642, 10644, 10646, 10648, 10650, 10652, 10654, 10656, 10658, 10660, + 10662, 10664, 10666, 10668, 10670, 10672, 10674, 10676, 10678, 10680, + 10682, 10684, 10686, 10688, 10690, 10692, 10694, 10696, 10698, 10700, + 10702, 10704, 10706, 10708, 10710, 10712, 10714, 10716, 10718, 10720, + 10722, 10724, 10726, 10728, 10730, 10732, 10734, 10736, 10738, 10740, + 10742, 10744, 10746, 10748, 10750, 10752, 10754, 10756, 10758, 10760, + 10762, 10764, 10766, 10768, 10770, 10772, 10774, 10776, 10778, 10780, + 10782, 10784, 10786, 10788, 10790, 10792, 10794, 10796, 10798, 10800, + 10802, 10804, 10806, 10808, 10810, 10812, 10814, 10816, 10818, 10820, + 10822, 10824, 10826, 10828, 10830, 10832, 10834, 10836, 10838, 10840, + 10842, 10844, 10846, 10848, 10850, 10852, 10854, 10856, 10858, 10860, + 10862, 10864, 10866, 10868, 10870, 10872, 10874, 10876, 10878, 10880, + 10882, 10884, 10886, 10888, 10890, 10892, 10894, 10896, 10898, 10900, + 10902, 10904, 10906, 10908, 10910, 10912, 10914, 10916, 10918, 10920, + 10922, 10924, 10926, 10928, 10930, 10932, 10934, 10936, 10938, 10940, + 10942, 10944, 10946, 10948, 10950, 10952, 10954, 10956, 10958, 10960, + 10962, 10964, 10966, 10968, 10970, 10972, 10974, 10976, 10978, 10980, + 10982, 10984, 10986, 10988, 10990, 10992, 10994, 10996, 10998, 11000, + 11002, 11004, 11006, 11008, 11010, 11012, 11014, 11016, 11018, 11020, + 11022, 11024, 11026, 11028, 11030, 11032, 11034, 11036, 11038, 11040, + 11042, 11044, 11046, 11048, 11050, 11052, 11054, 11056, 11058, 11060, + 11062, 11064, 11066, 11068, 11070, 11072, 11074, 11076, 11078, 11080, + 11082, 11084, 11086, 11088, 11090, 11092, 11094, 11096, 11098, 11100, + 11102, 11104, 11106, 11108, 11110, 11112, 11114, 11116, 11118, 11120, + 11122, 11124, 11126, 11128, 11130, 11132, 11134, 11136, 11138, 11140, + 11142, 11144, 11146, 11148, 11150, 11152, 11154, 11156, 11158, 11160, + 11162, 11164, 11166, 11168, 11170, 11172, 11174, 11176, 11178, 11180, + 11182, 11184, 11186, 11188, 11190, 11192, 11194, 11196, 11198, 11200, + 11202, 11204, 11206, 11208, 11210, 11212, 11214, 11216, 11218, 11220, + 11222, 11224, 11226, 11228, 11230, 11232, 11234, 11236, 11238, 11240, + 11242, 11244, 11246, 11248, 11250, 11252, 11254, 11256, 11258, 11260, + 11262, 11264, 11266, 11268, 11270, 11272, 11274, 11276, 11278, 11280, + 11282, 11284, 11286, 11288, 11290, 11292, 11294, 11296, 11298, 11300, + 11302, 11304, 11306, 11308, 11310, 11312, 11314, 11316, 11318, 11320, + 11322, 11324, 11326, 11328, 11330, 11332, 11334, 11336, 11338, 11340, + 11342, 11344, 11346, 11348, 11350, 11352, 11354, 11356, 11358, 11360, + 11362, 11364, 11366, 11368, 11370, 11372, 11374, 11376, 11378, 11380, + 11382, 11384, 11386, 11388, 11390, 11392, 11394, 11396, 11398, 11400, + 11402, 11404, 11406, 11408, 11410, 11412, 11414, 11416, 11418, 11420, + 11422, 11424, 11426, 11428, 11430, 11432, 11434, 11436, 11438, 11440, + 11442, 11444, 11446, 11448, 11450, 11452, 11454, 11456, 11458, 11460, + 11462, 11464, 11466, 11468, 11470, 11472, 11474, 11476, 11478, 11480, + 11482, 11484, 11486, 11488, 11490, 11492, 11494, 11496, 11498, 11500, + 11502, 11504, 11506, 11508, 11510, 11512, 11514, 11516, 11518, 11520, + 11522, 11524, 11526, 11528, 11530, 11532, 11534, 11536, 11538, 11540, + 11542, 11544, 11546, 11548, 11550, 11552, 11554, 11556, 11558, 11560, + 11562, 11564, 11566, 11568, 11570, 11572, 11574, 11576, 11578, 11580, + 11582, 11584, 11586, 11588, 11590, 11592, 11594, 11596, 11598, 11600, + 11602, 11604, 11606, 11608, 11610, 11612, 11614, 11616, 11618, 11620, + 11622, 11624, 11626, 11628, 11630, 11632, 11634, 11636, 11638, 11640, + 11642, 11644, 11646, 11648, 11650, 11652, 11654, 11656, 11658, 11660, + 11662, 11664, 11666, 11668, 11670, 11672, 11674, 11676, 11678, 11680, + 11682, 11684, 11686, 11688, 11690, 11692, 11694, 11696, 11698, 11700, + 11702, 11704, 11706, 11708, 11710, 11712, 11714, 11716, 11718, 11720, + 11722, 11724, 11726, 11728, 11730, 11732, 11734, 11736, 11738, 11740, + 11742, 11744, 11746, 11748, 11750, 11752, 11754, 11756, 11758, 11760, + 11762, 11764, 11766, 11768, 11770, 11772, 11774, 11776, 11778, 11780, + 11782, 11784, 11786, 11788, 11790, 11792, 11794, 11796, 11798, 11800, + 11802, 11804, 11806, 11808, 11810, 11812, 11814, 11816, 11818, 11820, + 11822, 11824, 11826, 11828, 11830, 11832, 11834, 11836, 11838, 11840, + 11842, 11844, 11846, 11848, 11850, 11852, 11854, 11856, 11858, 11860 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ @@ -2179,32 +2179,32 @@ static const yytype_int16 yyrhs[] = 545, 0, -1, 546, -1, 521, 1137, -1, 522, 1264, -1, 523, 1265, -1, 524, 1265, -1, 525, 1265, -1, 546, 541, 547, -1, 547, -1, 548, -1, 956, -1, - 786, -1, 976, -1, 971, -1, 972, -1, 852, -1, - 979, -1, 799, -1, 721, -1, 724, -1, 729, -1, - 742, -1, 900, -1, 566, -1, 928, -1, 930, -1, - 936, -1, 931, -1, 935, -1, 752, -1, 700, -1, - 977, -1, 594, -1, 924, -1, 614, -1, 940, -1, - 563, -1, 561, -1, 942, -1, 691, -1, 982, -1, - 981, -1, 750, -1, 988, -1, 553, -1, 592, -1, - 617, -1, 985, -1, 826, -1, 589, -1, 618, -1, - 760, -1, 692, -1, 788, -1, 913, -1, 984, -1, - 978, -1, 718, -1, 725, -1, 738, -1, 743, -1, - 868, -1, 565, -1, 695, -1, 801, -1, 807, -1, - 937, -1, 808, -1, 751, -1, 708, -1, 568, -1, - 699, -1, 633, -1, 941, -1, 688, -1, 715, -1, - 917, -1, 762, -1, 782, -1, 554, -1, 560, -1, - 747, -1, 965, -1, 1009, -1, 1045, -1, 789, -1, - 1023, -1, 593, -1, 910, -1, 915, -1, 811, -1, - 812, -1, 813, -1, 815, -1, 943, -1, 717, -1, - 919, -1, 564, -1, 749, -1, 973, -1, 1007, -1, - 1002, -1, 831, -1, 835, -1, 846, -1, 744, -1, - 857, -1, 1010, -1, 953, -1, 698, -1, 964, -1, - 1025, -1, 1035, -1, 951, -1, 1004, -1, 814, -1, - 920, -1, 904, -1, 903, -1, 905, -1, 925, -1, - 836, -1, 847, -1, 944, -1, 828, -1, 1049, -1, - 955, -1, 824, -1, 954, -1, 1030, -1, 987, -1, - 583, -1, 571, -1, 588, -1, 962, -1, -1, 1268, - -1, -1, 821, -1, -1, 89, -1, -1, 65, -1, + 787, -1, 976, -1, 971, -1, 972, -1, 853, -1, + 979, -1, 800, -1, 722, -1, 725, -1, 730, -1, + 743, -1, 901, -1, 566, -1, 929, -1, 931, -1, + 937, -1, 932, -1, 936, -1, 753, -1, 701, -1, + 977, -1, 595, -1, 925, -1, 615, -1, 941, -1, + 563, -1, 561, -1, 943, -1, 692, -1, 982, -1, + 981, -1, 751, -1, 988, -1, 553, -1, 593, -1, + 618, -1, 985, -1, 827, -1, 590, -1, 619, -1, + 761, -1, 693, -1, 789, -1, 914, -1, 984, -1, + 978, -1, 719, -1, 726, -1, 739, -1, 744, -1, + 869, -1, 565, -1, 696, -1, 802, -1, 808, -1, + 938, -1, 809, -1, 752, -1, 709, -1, 568, -1, + 700, -1, 634, -1, 942, -1, 689, -1, 716, -1, + 918, -1, 763, -1, 783, -1, 554, -1, 560, -1, + 748, -1, 965, -1, 1009, -1, 1045, -1, 790, -1, + 1023, -1, 594, -1, 911, -1, 916, -1, 812, -1, + 813, -1, 814, -1, 816, -1, 944, -1, 718, -1, + 920, -1, 564, -1, 750, -1, 973, -1, 1007, -1, + 1002, -1, 832, -1, 836, -1, 847, -1, 745, -1, + 858, -1, 1010, -1, 953, -1, 699, -1, 964, -1, + 1025, -1, 1035, -1, 952, -1, 1004, -1, 815, -1, + 921, -1, 905, -1, 904, -1, 906, -1, 926, -1, + 837, -1, 848, -1, 945, -1, 829, -1, 1049, -1, + 955, -1, 825, -1, 954, -1, 1030, -1, 987, -1, + 584, -1, 571, -1, 589, -1, 962, -1, -1, 1268, + -1, -1, 822, -1, -1, 89, -1, -1, 65, -1, 376, -1, -1, 63, 1164, -1, 101, 382, 1261, 555, 556, -1, 495, -1, 519, -1, -1, 556, 559, -1, -1, 557, 558, -1, -1, 335, 1259, -1, 335, 12, @@ -2215,9 +2215,9 @@ static const yytype_int16 yyrhs[] = 1263, -1, 204, 382, 1263, -1, 204, 189, 1263, -1, 101, 474, 1261, 555, 556, -1, 33, 382, 1262, 555, 557, -1, 33, 474, 1262, 555, 557, -1, -1, 204, - 116, 1253, -1, 33, 382, 1262, 562, 586, -1, 33, - 382, 31, 562, 586, -1, 33, 474, 1262, 562, 586, - -1, 33, 474, 31, 562, 586, -1, 142, 382, 1263, + 116, 1253, -1, 33, 382, 1262, 562, 587, -1, 33, + 382, 31, 562, 587, -1, 33, 474, 1262, 562, 587, + -1, 33, 474, 31, 562, 587, -1, 142, 382, 1263, -1, 142, 382, 198, 160, 1263, -1, 142, 474, 1263, -1, 142, 474, 198, 160, 1263, -1, 142, 189, 1263, -1, 142, 189, 198, 160, 1263, -1, 101, 189, 1261, @@ -2225,1143 +2225,1144 @@ static const yytype_int16 yyrhs[] = 27, -1, 142, -1, 101, 392, 549, 50, 1262, 569, -1, 101, 392, 1268, 569, -1, 101, 392, 198, 295, 160, 549, 50, 1262, 569, -1, 101, 392, 198, 295, - 160, 1268, 569, -1, 569, 570, -1, -1, 633, -1, - 857, -1, 699, -1, 762, -1, 835, -1, 962, -1, + 160, 1268, 569, -1, 569, 570, -1, -1, 634, -1, + 858, -1, 700, -1, 763, -1, 836, -1, 962, -1, 405, 572, -1, 405, 259, 572, -1, 405, 403, 572, -1, 452, 959, -1, 403, 73, 40, 452, 959, -1, - 574, -1, 575, 450, 576, -1, 575, 528, 576, -1, + 574, -1, 575, 450, 577, -1, 575, 528, 577, -1, 575, 450, 122, -1, 575, 528, 122, -1, 573, -1, - 575, 180, 105, -1, 448, 515, 580, -1, 69, 1259, - -1, 392, 1259, -1, 392, 12, -1, 280, 581, -1, - 382, 582, -1, 382, 12, -1, 403, 50, 582, -1, + 575, 180, 105, -1, 448, 515, 581, -1, 69, 1259, + -1, 392, 1259, -1, 392, 12, -1, 280, 582, -1, + 382, 583, -1, 382, 12, -1, 403, 50, 583, -1, 403, 50, 12, -1, 403, 50, 122, -1, 501, 315, - 1173, -1, 452, 414, 1259, -1, 1268, -1, 575, 540, - 1268, -1, 577, -1, 576, 542, 577, -1, 579, -1, - 706, -1, 12, -1, 359, 465, -1, 359, 87, -1, - 371, 359, -1, 401, -1, 457, -1, 166, -1, 312, - -1, 582, -1, 1259, -1, 12, -1, 3, -1, 1156, - 1259, 1158, -1, 1156, 538, 1258, 539, 1259, -1, 706, - -1, 122, -1, 259, -1, 1259, -1, 122, -1, -1, - 1270, -1, 1259, -1, 374, 584, -1, 585, -1, 448, - 515, -1, 452, 229, 254, -1, 403, 50, -1, 575, - -1, 31, -1, 405, 572, -1, 583, -1, 405, 574, - -1, 583, -1, 409, 575, -1, 409, 448, 515, -1, - 409, 452, 229, 254, -1, 409, 403, 50, -1, 409, - 31, -1, 405, 95, 590, 591, -1, 31, -1, 1250, - -1, 125, -1, 200, -1, 75, -1, 136, 31, -1, - 136, 442, -1, 136, 444, -1, 136, 340, -1, 136, - 400, -1, 33, 437, 1108, 595, -1, 33, 437, 198, - 160, 1108, 595, -1, 33, 437, 1108, 596, -1, 33, - 437, 198, 160, 1108, 596, -1, 33, 437, 31, 204, - 440, 1253, 405, 440, 1253, 1028, -1, 33, 437, 31, - 204, 440, 1253, 327, 61, 1263, 405, 440, 1253, 1028, - -1, 33, 209, 1251, 595, -1, 33, 209, 198, 160, - 1251, 595, -1, 33, 209, 1251, 597, -1, 33, 209, + 1173, -1, 452, 414, 1259, -1, 576, -1, 1268, -1, + 576, 540, 1268, -1, 578, -1, 577, 542, 578, -1, + 580, -1, 707, -1, 12, -1, 359, 465, -1, 359, + 87, -1, 371, 359, -1, 401, -1, 457, -1, 166, + -1, 312, -1, 583, -1, 1259, -1, 12, -1, 3, + -1, 1156, 1259, 1158, -1, 1156, 538, 1258, 539, 1259, + -1, 707, -1, 122, -1, 259, -1, 1259, -1, 122, + -1, -1, 1270, -1, 1259, -1, 374, 585, -1, 586, + -1, 448, 515, -1, 452, 229, 254, -1, 403, 50, + -1, 575, -1, 31, -1, 405, 572, -1, 584, -1, + 405, 574, -1, 584, -1, 409, 575, -1, 409, 448, + 515, -1, 409, 452, 229, 254, -1, 409, 403, 50, + -1, 409, 31, -1, 405, 95, 591, 592, -1, 31, + -1, 1250, -1, 125, -1, 200, -1, 75, -1, 136, + 31, -1, 136, 442, -1, 136, 444, -1, 136, 340, + -1, 136, 400, -1, 33, 437, 1108, 596, -1, 33, + 437, 198, 160, 1108, 596, -1, 33, 437, 1108, 597, + -1, 33, 437, 198, 160, 1108, 597, -1, 33, 437, 31, 204, 440, 1253, 405, 440, 1253, 1028, -1, 33, - 209, 31, 204, 440, 1253, 327, 61, 1263, 405, 440, - 1253, 1028, -1, 33, 399, 1251, 595, -1, 33, 399, - 198, 160, 1251, 595, -1, 33, 487, 1251, 595, -1, - 33, 487, 198, 160, 1251, 595, -1, 33, 269, 487, - 1251, 595, -1, 33, 269, 487, 198, 160, 1251, 595, - -1, 33, 269, 487, 31, 204, 440, 1253, 405, 440, - 1253, 1028, -1, 33, 269, 487, 31, 204, 440, 1253, - 327, 61, 1263, 405, 440, 1253, 1028, -1, 33, 176, - 437, 1108, 595, -1, 33, 176, 437, 198, 160, 1108, - 595, -1, 598, -1, 595, 542, 598, -1, 48, 333, - 1251, 611, -1, 133, 333, 1251, 551, -1, 133, 333, - 1251, 170, -1, 48, 333, 1251, -1, 27, 641, -1, - 27, 198, 295, 160, 641, -1, 27, 82, 641, -1, - 27, 82, 198, 295, 160, 641, -1, 33, 926, 1268, - 599, -1, 33, 926, 1268, 142, 295, 300, -1, 33, - 926, 1268, 405, 295, 300, -1, 33, 926, 1268, 405, - 162, 40, 538, 1161, 539, -1, 33, 926, 1268, 142, - 162, -1, 33, 926, 1268, 142, 162, 198, 160, -1, - 33, 926, 1268, 405, 422, 609, -1, 33, 926, 1258, - 405, 422, 609, -1, 33, 926, 1268, 405, 603, -1, - 33, 926, 1268, 374, 603, -1, 33, 926, 1268, 405, - 645, -1, 33, 926, 1268, 405, 643, -1, 33, 926, - 1268, 27, 184, 651, 40, 197, 702, -1, 33, 926, - 1268, 607, -1, 33, 926, 1268, 142, 197, -1, 33, - 926, 1268, 142, 197, 198, 160, -1, 142, 926, 198, - 160, 1268, 552, -1, 142, 926, 1268, 552, -1, 33, - 926, 1268, 927, 460, 1137, 600, 601, -1, 33, 926, - 1268, 732, -1, 27, 657, -1, 33, 94, 1253, 780, - -1, 33, 94, 1253, 211, -1, 478, 94, 1253, -1, - 142, 94, 198, 160, 1253, 552, -1, 142, 94, 1253, - 552, -1, 405, 497, 309, -1, 78, 312, 1253, -1, - 405, 497, 78, -1, 405, 265, -1, 405, 471, -1, - 146, 455, 1253, -1, 146, 34, 455, 1253, -1, 146, - 373, 455, 1253, -1, 146, 455, 31, -1, 146, 455, - 474, -1, 135, 455, 1253, -1, 135, 455, 31, -1, - 135, 455, 474, -1, 146, 389, 1253, -1, 146, 34, - 389, 1253, -1, 146, 373, 389, 1253, -1, 135, 389, - 1253, -1, 211, 1251, -1, 291, 211, 1251, -1, 306, - 821, -1, 295, 306, -1, 328, 450, 1262, -1, 405, - 25, 273, 610, -1, 405, 440, 1253, -1, 405, 603, - -1, 374, 603, -1, 373, 197, 602, -1, 146, 387, - 254, 397, -1, 135, 387, 254, 397, -1, 175, 387, - 254, 397, -1, 291, 175, 387, 254, 397, -1, 732, - -1, 405, 122, 1161, -1, 142, 122, -1, 80, 821, - -1, -1, 475, 1161, -1, -1, 296, -1, 181, -1, - 122, -1, 475, 209, 1253, -1, 538, 605, 539, -1, - 495, 603, -1, -1, 606, -1, 605, 542, 606, -1, - 1271, 528, 793, -1, 1271, -1, 1271, 540, 1271, 528, - 793, -1, 1271, 540, 1271, -1, 608, -1, 607, 608, - -1, 375, -1, 375, 555, 706, -1, 405, 704, -1, - 405, 184, 651, -1, 1260, -1, 122, -1, 1268, -1, - 122, -1, 174, 481, 495, 538, 613, 539, -1, 174, - 481, 204, 538, 1200, 539, -1, 174, 481, 180, 538, - 1200, 539, 450, 538, 1200, 539, -1, 122, -1, 1270, - 1258, -1, 612, -1, 613, 542, 612, -1, 33, 460, - 821, 615, -1, 616, -1, 615, 542, 616, -1, 27, - 49, 1123, 552, -1, 142, 49, 198, 160, 1268, 552, - -1, 142, 49, 1268, 552, -1, 33, 49, 1268, 927, - 460, 1137, 600, 552, -1, 77, 1046, -1, 77, 31, - -1, 99, 625, 1251, 663, 619, 620, 621, 626, 555, - 622, 1119, -1, 99, 538, 1006, 539, 450, 620, 621, - 555, 622, -1, 180, -1, 450, -1, 354, -1, -1, - 1259, -1, 423, -1, 424, -1, 623, -1, 538, 628, - 539, -1, 623, 624, -1, -1, 56, -1, 179, -1, - 128, 980, 1259, -1, 300, 980, 1259, -1, 103, -1, - 194, -1, 356, 980, 1259, -1, 153, 980, 1259, -1, - 175, 356, 664, -1, 175, 356, 531, -1, 175, 295, - 300, 664, -1, 175, 295, 300, 531, -1, 175, 300, - 664, -1, 175, 300, 531, -1, 147, 1259, -1, 56, - -1, -1, 627, 129, 1259, -1, -1, 475, -1, -1, - 629, -1, 628, 542, 629, -1, 1271, 630, -1, 579, - -1, 706, -1, 531, -1, 122, -1, 538, 631, 539, - -1, -1, 632, -1, 631, 542, 632, -1, 579, -1, - 101, 634, 437, 1251, 538, 635, 539, 677, 678, 682, - 683, 684, 685, -1, 101, 634, 437, 198, 295, 160, - 1251, 538, 635, 539, 677, 678, 682, 683, 684, 685, - -1, 101, 634, 437, 1251, 306, 821, 636, 678, 682, - 683, 684, 685, -1, 101, 634, 437, 198, 295, 160, - 1251, 306, 821, 636, 678, 682, 683, 684, 685, -1, - 101, 634, 437, 1251, 333, 306, 1251, 636, 611, 678, - 682, 683, 684, 685, -1, 101, 634, 437, 198, 295, - 160, 1251, 333, 306, 1251, 636, 611, 678, 682, 683, - 684, 685, -1, 444, -1, 442, -1, 259, 444, -1, - 259, 442, -1, 185, 444, -1, 185, 442, -1, 471, - -1, -1, 637, -1, -1, 538, 638, 539, -1, -1, - 639, -1, 637, 542, 639, -1, 640, -1, 638, 542, - 640, -1, 641, -1, 654, -1, 657, -1, 642, -1, - 657, -1, 1268, 1137, 646, 644, 730, 647, -1, 1268, - 647, -1, 1268, 495, 316, 647, -1, 88, 1268, -1, - 88, 122, -1, 643, -1, -1, 425, 1268, -1, 425, - 122, -1, 645, -1, -1, 647, 648, -1, -1, 94, - 1253, 649, -1, 649, -1, 653, -1, 80, 821, -1, - 295, 300, 661, -1, 300, -1, 468, 650, 897, 686, - -1, 348, 243, 897, 686, -1, 74, 538, 1161, 539, - 661, -1, 122, 1162, -1, 184, 651, 40, 197, 702, - -1, 184, 651, 40, 538, 1161, 539, 652, -1, 364, - 1251, 663, 669, 673, -1, 302, 137, -1, 302, 295, - 137, -1, -1, 34, -1, 61, 122, -1, 426, -1, - 489, -1, -1, 124, -1, 295, 124, -1, 213, 125, - -1, 213, 200, -1, 150, -1, 295, 150, -1, 255, - 1251, 655, -1, 655, 206, 656, -1, 655, 157, 656, - -1, -1, 85, -1, 88, -1, 95, -1, 123, -1, - 197, -1, 184, -1, 210, -1, 422, -1, 425, -1, - 31, -1, 94, 1253, 658, -1, 658, -1, 74, 538, - 1161, 539, 780, -1, 295, 300, 1268, 780, -1, 468, - 650, 538, 664, 662, 539, 668, 897, 686, 780, -1, - 468, 687, 780, -1, 348, 243, 538, 664, 662, 539, - 668, 897, 686, 780, -1, 348, 243, 687, 780, -1, - 156, 859, 538, 670, 539, 668, 897, 686, 672, 780, - -1, 176, 243, 538, 664, 665, 539, 364, 1251, 666, - 669, 673, 780, -1, 94, 1253, 660, -1, 660, -1, - 74, 538, 1161, 539, 780, -1, 295, 300, 780, -1, - 291, 211, -1, -1, 497, 324, -1, -1, 538, 664, - 539, -1, -1, 667, -1, 664, 542, 667, -1, 542, - 337, 667, -1, -1, 538, 664, 665, 539, -1, -1, - 1268, -1, 205, 538, 664, 539, -1, -1, 267, 181, - -1, 267, 332, -1, 267, 411, -1, -1, 671, -1, - 670, 542, 671, -1, 862, 495, 907, -1, 862, 495, - 314, 538, 907, 539, -1, 492, 538, 1161, 539, -1, - -1, 674, -1, 675, -1, 674, 675, -1, 675, 674, - -1, -1, 312, 473, 676, -1, 312, 127, 676, -1, - 291, 26, -1, 376, -1, 65, -1, 405, 300, 663, - -1, 405, 122, 663, -1, 212, 538, 1250, 539, -1, - -1, 679, -1, -1, 333, 61, 1268, 538, 680, 539, - -1, 681, -1, 680, 542, 681, -1, 1268, 865, 550, - -1, 1166, 865, 550, -1, 538, 1161, 539, 865, 550, - -1, 475, 1253, -1, -1, 495, 603, -1, 497, 309, - -1, -1, 312, 86, 142, -1, 312, 86, 127, 388, - -1, 312, 86, 345, 388, -1, -1, 440, 1253, -1, - -1, 475, 209, 440, 1253, -1, -1, 475, 209, 1253, - -1, 101, 422, 550, 998, 312, 689, 180, 1098, -1, - 101, 422, 198, 295, 160, 821, 998, 312, 689, 180, - 1098, -1, 690, -1, 689, 542, 690, -1, 1268, -1, - 1166, -1, 538, 1161, 539, -1, 33, 422, 821, 405, - 422, 609, -1, 33, 422, 198, 160, 821, 405, 422, - 609, -1, 101, 634, 437, 693, 40, 1049, 694, -1, - 101, 634, 437, 198, 295, 160, 693, 40, 1049, 694, - -1, 1251, 663, 682, 683, 684, 685, -1, 495, 115, - -1, 495, 291, 115, -1, -1, 101, 697, 269, 487, - 696, 40, 1049, 694, -1, 101, 697, 269, 487, 198, - 295, 160, 696, 40, 1049, 694, -1, 1251, 663, 682, - 604, 685, -1, 471, -1, -1, 366, 269, 487, 551, - 1251, 694, -1, 101, 634, 399, 1251, 701, -1, 101, - 634, 399, 198, 295, 160, 1251, 701, -1, 33, 399, - 1251, 703, -1, 33, 399, 198, 160, 1251, 703, -1, - 703, -1, -1, 538, 703, 539, -1, -1, 704, -1, - 703, 704, -1, 40, 1139, -1, 62, 706, -1, 114, - -1, 291, 114, -1, 207, 705, 706, -1, 265, -1, - 270, 706, -1, 275, 706, -1, 291, 270, -1, 291, - 275, -1, 327, 61, 821, -1, 399, 279, 821, -1, - 420, 555, 706, -1, 375, -1, 375, 555, 706, -1, - 471, -1, 61, -1, -1, 5, -1, 529, 5, -1, - 530, 5, -1, 1260, -1, 706, -1, 707, 542, 706, - -1, 101, 869, 709, 714, 246, 1253, -1, 101, 869, - 709, 714, 246, 1253, 192, 710, 711, 713, -1, 459, - -1, -1, 1253, -1, 1253, 822, -1, 214, 710, -1, - -1, 479, 710, -1, 291, 479, -1, 712, -1, -1, - 351, -1, -1, 101, 440, 1253, 716, 262, 1259, 604, - -1, 328, 1262, -1, -1, 142, 440, 1253, -1, 142, - 440, 198, 160, 1253, -1, 101, 163, 1253, 555, 719, - -1, 101, 163, 198, 295, 160, 1253, 555, 719, -1, - 719, 720, -1, -1, 392, 1253, -1, 486, 582, -1, - 180, 582, -1, 65, -1, 33, 163, 1253, 473, 722, - -1, 722, 723, -1, -1, 450, 582, -1, 33, 163, - 1253, 567, 817, 1253, -1, 33, 163, 1253, 567, 816, - 821, -1, 33, 163, 1253, 567, 30, 885, -1, 33, - 163, 1253, 567, 68, 538, 1137, 40, 1137, 539, -1, - 33, 163, 1253, 567, 140, 1137, -1, 33, 163, 1253, - 567, 182, 873, -1, 33, 163, 1253, 567, 314, 909, - -1, 33, 163, 1253, 567, 314, 76, 821, 475, 1253, - -1, 33, 163, 1253, 567, 314, 167, 821, 475, 1253, - -1, 33, 163, 1253, 567, 352, 873, -1, 33, 163, - 1253, 567, 385, 873, -1, 33, 163, 1253, 567, 453, - 174, 1137, 246, 1253, -1, 33, 163, 1253, 567, 460, - 1137, -1, 101, 176, 115, 499, 1253, 728, 730, -1, - 192, 710, -1, 291, 192, -1, 479, 710, -1, 291, - 479, -1, 726, -1, 727, 726, -1, 727, -1, -1, - 33, 176, 115, 499, 1253, 728, 732, -1, 33, 176, - 115, 499, 1253, 727, -1, 316, 538, 731, 539, -1, - -1, 735, -1, 731, 542, 735, -1, 316, 538, 733, - 539, -1, 734, -1, 733, 542, 734, -1, 735, -1, - 405, 735, -1, 27, 735, -1, 142, 736, -1, 736, - 737, -1, 1271, -1, 1259, -1, 101, 402, 1253, 739, - 741, 176, 115, 499, 1253, 730, -1, 101, 402, 198, - 295, 160, 1253, 739, 741, 176, 115, 499, 1253, 730, - -1, 460, 1259, -1, -1, 486, 1259, -1, 486, 300, - -1, 740, -1, -1, 33, 402, 1253, 740, 732, -1, - 33, 402, 1253, 740, -1, 33, 402, 1253, 732, -1, - 101, 176, 437, 1251, 538, 635, 539, 677, 402, 1253, - 730, -1, 101, 176, 437, 198, 295, 160, 1251, 538, - 635, 539, 677, 402, 1253, 730, -1, 101, 176, 437, - 1251, 333, 306, 1251, 636, 611, 402, 1253, 730, -1, - 101, 176, 437, 198, 295, 160, 1251, 333, 306, 1251, - 636, 611, 402, 1253, 730, -1, 203, 176, 392, 1253, - 746, 180, 402, 1253, 225, 1253, 730, -1, 256, 450, - -1, 155, -1, 745, 538, 1110, 539, -1, -1, 101, - 474, 266, 174, 748, 402, 1253, 730, -1, 101, 474, - 266, 198, 295, 160, 174, 748, 402, 1253, 730, -1, - 1262, -1, 474, -1, 142, 474, 266, 174, 748, 402, - 1253, -1, 142, 474, 266, 198, 160, 174, 748, 402, - 1253, -1, 33, 474, 266, 174, 748, 402, 1253, 732, - -1, 101, 341, 1253, 312, 1251, 757, 758, 755, 753, - 754, -1, 33, 341, 1253, 312, 1251, 756, 753, 754, - -1, 475, 538, 1161, 539, -1, -1, 495, 74, 538, - 1161, 539, -1, -1, 450, 1263, -1, -1, 450, 1263, - -1, -1, 40, 3, -1, -1, 174, 759, -1, -1, - 31, -1, 398, -1, 219, -1, 473, -1, 127, -1, - 101, 25, 273, 1253, 460, 761, 192, 710, -1, 209, - -1, 437, -1, 101, 869, 455, 1253, 763, 764, 312, - 1251, 766, 772, 775, 159, 776, 1256, 538, 777, 539, - -1, 101, 869, 94, 455, 1253, 29, 764, 312, 1251, - 779, 780, 174, 143, 387, 775, 159, 776, 1256, 538, - 777, 539, -1, 52, -1, 29, -1, 220, 306, -1, - 765, -1, 764, 317, 765, -1, 219, -1, 127, -1, - 473, -1, 473, 306, 664, -1, 458, -1, 365, 767, - -1, -1, 768, -1, 767, 768, -1, 769, 770, 980, - 771, -1, 285, -1, 310, -1, 437, -1, 387, -1, - 1268, -1, 174, 773, 774, -1, -1, 143, -1, -1, - 387, -1, 421, -1, 491, 538, 1161, 539, -1, -1, - 182, -1, 352, -1, 778, -1, 777, 542, 778, -1, - -1, 1258, -1, 5, -1, 1259, -1, 1271, -1, 180, - 1251, -1, -1, -1, 780, 781, -1, 295, 124, -1, - 124, -1, 213, 200, -1, 213, 125, -1, 295, 477, - -1, 291, 211, -1, 295, 150, -1, 150, -1, 101, - 154, 455, 1253, 312, 1271, 159, 776, 1256, 538, 539, - -1, 101, 154, 455, 1253, 312, 1271, 491, 783, 159, - 776, 1256, 538, 539, -1, 784, -1, 783, 37, 784, - -1, 1268, 204, 538, 785, 539, -1, 6, -1, 785, - 542, 6, -1, 33, 154, 455, 1253, 787, -1, 146, - -1, 146, 373, -1, 146, 34, -1, 135, -1, 101, - 43, 821, 74, 538, 1161, 539, 780, -1, 101, 869, - 30, 1256, 883, 790, -1, 101, 869, 30, 1256, 794, - -1, 101, 314, 907, 790, -1, 101, 460, 821, 790, - -1, 101, 460, 821, -1, 101, 460, 821, 40, 538, - 1121, 539, -1, 101, 460, 821, 40, 151, 538, 797, - 539, -1, 101, 460, 821, 40, 358, 790, -1, 101, - 445, 395, 331, 821, 790, -1, 101, 445, 395, 134, - 821, 790, -1, 101, 445, 395, 443, 821, 790, -1, - 101, 445, 395, 91, 821, 790, -1, 101, 81, 821, - 790, -1, 101, 81, 198, 295, 160, 821, 790, -1, - 101, 81, 821, 180, 821, -1, 101, 81, 198, 295, - 160, 821, 180, 821, -1, 538, 791, 539, -1, 792, - -1, 791, 542, 792, -1, 1271, 528, 793, -1, 1271, - -1, 880, -1, 1276, -1, 1198, -1, 706, -1, 1259, - -1, 292, -1, 538, 795, 539, -1, 796, -1, 795, - 542, 796, -1, 3, 528, 793, -1, 798, -1, -1, - 1259, -1, 798, 542, 1259, -1, 33, 460, 821, 27, - 480, 800, 1259, -1, 33, 460, 821, 27, 480, 800, - 1259, 52, 1259, -1, 33, 460, 821, 27, 480, 800, - 1259, 29, 1259, -1, 33, 460, 821, 370, 480, 1259, - 450, 1259, -1, 33, 460, 821, 142, 480, 1259, -1, - 198, 295, 160, -1, -1, 101, 314, 76, 821, 804, - 174, 460, 1137, 475, 1253, 805, 40, 802, -1, 803, - -1, 802, 542, 803, -1, 314, 1258, 907, 806, -1, - 314, 1258, 909, 806, -1, 182, 1258, 873, -1, 182, - 1258, 538, 1204, 539, 873, -1, 425, 1137, -1, 122, - -1, -1, 167, 821, -1, -1, 174, 395, -1, 174, - 318, 61, 821, -1, -1, 101, 314, 167, 821, 475, - 1253, -1, 33, 314, 167, 821, 475, 1253, 27, 802, - -1, 33, 314, 167, 821, 475, 1253, 142, 809, -1, - 810, -1, 809, 542, 810, -1, 314, 1258, 538, 1204, - 539, -1, 182, 1258, 538, 1204, 539, -1, 142, 314, - 76, 821, 475, 1253, 552, -1, 142, 314, 76, 198, - 160, 821, 475, 1253, 552, -1, 142, 314, 167, 821, - 475, 1253, 552, -1, 142, 314, 167, 198, 160, 821, - 475, 1253, 552, -1, 142, 327, 61, 1263, 552, -1, - 361, 327, 61, 1263, 450, 1262, -1, 142, 816, 198, - 160, 820, 552, -1, 142, 816, 820, 552, -1, 142, - 818, 198, 160, 1252, 552, -1, 142, 818, 1252, 552, - -1, 142, 819, 1253, 312, 821, 552, -1, 142, 819, - 198, 160, 1253, 312, 821, 552, -1, 142, 460, 823, - 552, -1, 142, 460, 198, 160, 823, 552, -1, 142, - 140, 823, 552, -1, 142, 140, 198, 160, 823, 552, - -1, 142, 209, 89, 820, 552, -1, 142, 209, 89, - 198, 160, 820, 552, -1, 437, -1, 399, -1, 487, - -1, 269, 487, -1, 209, -1, 176, 437, -1, 81, - -1, 98, -1, 422, -1, 445, 395, 331, -1, 445, - 395, 134, -1, 445, 395, 443, -1, 445, 395, 91, - -1, 818, -1, 116, -1, 382, -1, 430, -1, 440, - -1, 25, 273, -1, 154, 455, -1, 163, -1, 176, - 115, 499, -1, 714, 246, -1, 355, -1, 392, -1, - 402, -1, 341, -1, 389, -1, 455, -1, 821, -1, - 820, 542, 821, -1, 1268, -1, 1268, 822, -1, 540, - 1254, -1, 822, 540, 1254, -1, 1137, -1, 823, 542, - 1137, -1, 458, 1063, 1110, 825, 552, -1, 97, 197, - -1, 375, 197, -1, -1, 84, 312, 816, 821, 227, - 827, -1, 84, 312, 82, 821, 227, 827, -1, 84, - 312, 817, 1253, 227, 827, -1, 84, 312, 460, 1137, - 227, 827, -1, 84, 312, 140, 1137, 227, 827, -1, - 84, 312, 30, 885, 227, 827, -1, 84, 312, 182, - 873, 227, 827, -1, 84, 312, 314, 909, 227, 827, - -1, 84, 312, 94, 1253, 312, 821, 227, 827, -1, - 84, 312, 94, 1253, 312, 140, 821, 227, 827, -1, - 84, 312, 819, 1253, 312, 821, 227, 827, -1, 84, - 312, 352, 873, 227, 827, -1, 84, 312, 385, 873, - 227, 827, -1, 84, 312, 453, 174, 1137, 246, 1253, - 227, 827, -1, 84, 312, 314, 76, 821, 475, 1253, - 227, 827, -1, 84, 312, 314, 167, 821, 475, 1253, - 227, 827, -1, 84, 312, 247, 304, 706, 227, 827, - -1, 84, 312, 68, 538, 1137, 40, 1137, 539, 227, - 827, -1, 1259, -1, 300, -1, 397, 245, 829, 312, - 816, 821, 227, 830, -1, 397, 245, 829, 312, 82, - 821, 227, 830, -1, 397, 245, 829, 312, 817, 1253, - 227, 830, -1, 397, 245, 829, 312, 460, 1137, 227, - 830, -1, 397, 245, 829, 312, 140, 1137, 227, 830, - -1, 397, 245, 829, 312, 30, 885, 227, 830, -1, - 397, 245, 829, 312, 182, 873, 227, 830, -1, 397, - 245, 829, 312, 247, 304, 706, 227, 830, -1, 397, - 245, 829, 312, 352, 873, 227, 830, -1, 397, 245, - 829, 312, 385, 873, 227, 830, -1, 174, 582, -1, - -1, 1259, -1, 300, -1, 168, 832, -1, 278, 832, - -1, 1046, -1, 833, 1046, -1, 286, 834, 1046, -1, - 349, 834, 1046, -1, 171, 834, 1046, -1, 248, 834, - 1046, -1, 24, 1260, 834, 1046, -1, 368, 1260, 834, - 1046, -1, 1260, 834, 1046, -1, 31, 834, 1046, -1, - 178, 834, 1046, -1, 178, 1260, 834, 1046, -1, 178, - 31, 834, 1046, -1, 51, 834, 1046, -1, 51, 1260, - 834, 1046, -1, 51, 31, 834, 1046, -1, 180, -1, - 204, -1, 833, -1, -1, 186, 837, 312, 842, 450, - 843, 845, 851, -1, 380, 837, 312, 842, 180, 843, - 851, 552, -1, 380, 186, 315, 174, 837, 312, 842, - 180, 843, 851, 552, -1, 838, -1, 31, -1, 31, - 350, -1, 31, 538, 664, 539, -1, 31, 350, 538, - 664, 539, -1, 839, -1, 838, 542, 839, -1, 398, - 663, -1, 364, 663, -1, 101, 663, -1, 33, 435, - -1, 1268, 663, -1, 841, -1, 840, 542, 841, -1, - 1268, -1, 841, 540, 1268, -1, 1250, -1, 437, 1250, - -1, 399, 1250, -1, 176, 115, 499, 1252, -1, 176, - 402, 1252, -1, 182, 872, -1, 352, 872, -1, 385, - 872, -1, 116, 1252, -1, 140, 820, -1, 246, 1252, - -1, 247, 304, 707, -1, 330, 840, -1, 392, 1252, - -1, 440, 1252, -1, 460, 820, -1, 31, 438, 204, - 392, 1252, -1, 31, 400, 204, 392, 1252, -1, 31, - 183, 204, 392, 1252, -1, 31, 353, 204, 392, 1252, - -1, 31, 386, 204, 392, 1252, -1, 844, -1, 843, - 542, 844, -1, 1262, -1, 189, 1262, -1, 495, 186, - 315, -1, -1, 186, 838, 450, 1263, 851, -1, 186, - 838, 450, 1263, 495, 848, 851, -1, 380, 838, 180, - 1263, 851, 552, -1, 380, 1268, 315, 174, 838, 180, - 1263, 851, 552, -1, 848, 542, 849, -1, 849, -1, - 1271, 850, -1, 315, -1, 457, -1, 166, -1, 187, - 61, 1262, -1, -1, 33, 122, 350, 853, 855, -1, - 853, 854, -1, -1, 204, 392, 1252, -1, 174, 382, - 1263, -1, 174, 474, 1263, -1, 186, 837, 312, 856, - 450, 843, 845, -1, 380, 837, 312, 856, 180, 843, - 552, -1, 380, 186, 315, 174, 837, 312, 856, 180, - 843, 552, -1, 438, -1, 183, -1, 386, -1, 400, - -1, 461, -1, 393, -1, 247, 305, -1, 101, 858, - 209, 551, 549, 312, 1108, 859, 538, 860, 539, 863, - 650, 604, 685, 1119, -1, 101, 858, 209, 551, 198, - 295, 160, 1253, 312, 1108, 859, 538, 860, 539, 863, - 650, 604, 685, 1119, -1, 468, -1, -1, 475, 1253, - -1, -1, 862, -1, 860, 542, 862, -1, 865, 550, - 866, 867, -1, 865, 821, 603, 866, 867, -1, 1268, - 861, -1, 1166, 861, -1, 538, 1161, 539, 861, -1, - 205, 538, 864, 539, -1, -1, 862, -1, 864, 542, - 862, -1, 80, 821, -1, -1, 41, -1, 132, -1, - -1, 518, 171, -1, 518, 248, -1, -1, 101, 869, - 182, 1256, 874, 379, 879, 887, 893, -1, 101, 869, - 182, 1256, 874, 379, 437, 538, 899, 539, 887, 893, - -1, 101, 869, 182, 1256, 874, 887, 893, -1, 101, - 869, 352, 1256, 874, 887, 893, -1, 317, 372, -1, - -1, 538, 871, 539, -1, 538, 539, -1, 876, -1, - 871, 542, 876, -1, 873, -1, 872, 542, 873, -1, - 1256, 870, -1, 1275, -1, 1268, -1, 1268, 1222, -1, - 538, 875, 539, -1, 538, 539, -1, 881, -1, 875, - 542, 881, -1, 877, 878, 880, -1, 878, 877, 880, - -1, 878, 880, -1, 877, 880, -1, 880, -1, 204, - -1, 321, -1, 216, -1, 204, 321, -1, 483, -1, - 1269, -1, 880, -1, 1137, -1, 1269, 822, 533, 460, - -1, 407, 1269, 822, 533, 460, -1, 876, -1, 876, - 122, 1161, -1, 876, 528, 1161, -1, 876, -1, 538, - 531, 539, -1, 538, 884, 539, -1, 538, 318, 61, - 884, 539, -1, 538, 884, 318, 61, 884, 539, -1, - 882, -1, 884, 542, 882, -1, 1256, 883, -1, 885, - -1, 886, 542, 885, -1, 888, -1, -1, 890, -1, - 888, 890, -1, 64, 312, 300, 217, -1, 379, 300, - 312, 300, 217, -1, 427, -1, 201, -1, 418, -1, - 490, -1, 164, 397, 126, -1, 164, 397, 226, -1, - 397, 126, -1, 397, 226, -1, 251, -1, 295, 251, - -1, 100, 706, -1, 388, 706, -1, 432, 821, -1, - 587, -1, 329, 1268, -1, 40, 891, -1, 246, 582, - -1, 453, 896, -1, 494, -1, 889, -1, 1259, -1, - 1259, 542, 1259, -1, 377, 1161, -1, 892, -1, 53, - 46, 894, 149, -1, -1, 894, 895, 541, -1, -1, - 548, -1, 892, -1, 174, 460, 1137, -1, 896, 542, - 174, 460, 1137, -1, 495, 790, -1, -1, 878, 880, - -1, 898, -1, 899, 542, 898, -1, 33, 182, 873, - 901, 902, -1, 33, 352, 873, 901, 902, -1, 33, - 385, 873, 901, 902, -1, 889, -1, 901, 889, -1, - 376, -1, -1, 142, 182, 872, 552, -1, 142, 182, - 198, 160, 872, 552, -1, 142, 352, 872, 552, -1, - 142, 352, 198, 160, 872, 552, -1, 142, 385, 872, - 552, -1, 142, 385, 198, 160, 872, 552, -1, 142, - 30, 886, 552, -1, 142, 30, 198, 160, 886, 552, - -1, 142, 314, 908, 552, -1, 142, 314, 198, 160, - 908, 552, -1, 538, 1137, 539, -1, 538, 1137, 542, - 1137, 539, -1, 538, 292, 542, 1137, 539, -1, 538, - 1137, 542, 292, 539, -1, 1195, -1, 1268, 540, 907, - -1, 909, -1, 908, 542, 909, -1, 907, 906, -1, - 138, 911, -1, 912, -1, 911, 912, -1, 1259, -1, - 246, 582, -1, 101, 68, 538, 1137, 40, 1137, 539, - 495, 182, 873, 914, -1, 101, 68, 538, 1137, 40, - 1137, 539, 497, 182, 914, -1, 101, 68, 538, 1137, - 40, 1137, 539, 495, 216, 914, -1, 40, 202, -1, - 40, 44, -1, -1, 142, 68, 916, 538, 1137, 40, - 1137, 539, 552, -1, 198, 160, -1, -1, 101, 869, - 453, 174, 1137, 246, 1253, 538, 918, 539, -1, 180, - 417, 495, 182, 873, 542, 450, 417, 495, 182, 873, - -1, 450, 417, 495, 182, 873, 542, 180, 417, 495, - 182, 873, -1, 180, 417, 495, 182, 873, -1, 450, - 417, 495, 182, 873, -1, 142, 453, 916, 174, 1137, - 246, 1253, 552, -1, 367, 923, 921, 551, 1251, -1, - 367, 923, 392, 551, 1253, -1, 367, 923, 922, 551, - 549, -1, 209, -1, 437, -1, 435, -1, 116, -1, - 538, 989, 539, -1, -1, 33, 440, 1253, 405, 603, - -1, 33, 440, 1253, 374, 603, -1, 33, 30, 885, - 370, 450, 1253, -1, 33, 81, 821, 370, 450, 1253, - -1, 33, 98, 821, 370, 450, 1253, -1, 33, 116, - 1253, 370, 450, 1253, -1, 33, 140, 821, 370, 450, - 1253, -1, 33, 140, 821, 370, 94, 1253, 450, 1253, - -1, 33, 176, 115, 499, 1253, 370, 450, 1253, -1, - 33, 182, 873, 370, 450, 1253, -1, 33, 189, 1261, - 370, 450, 1261, -1, 33, 714, 246, 1253, 370, 450, - 1253, -1, 33, 314, 76, 821, 475, 1253, 370, 450, - 1253, -1, 33, 314, 167, 821, 475, 1253, 370, 450, - 1253, -1, 33, 341, 1253, 312, 1251, 370, 450, 1253, - -1, 33, 341, 198, 160, 1253, 312, 1251, 370, 450, - 1253, -1, 33, 352, 873, 370, 450, 1253, -1, 33, - 355, 1253, 370, 450, 1253, -1, 33, 385, 873, 370, - 450, 1253, -1, 33, 392, 1253, 370, 450, 1253, -1, - 33, 402, 1253, 370, 450, 1253, -1, 33, 430, 1253, - 370, 450, 1253, -1, 33, 437, 1108, 370, 450, 1253, - -1, 33, 437, 198, 160, 1108, 370, 450, 1253, -1, - 33, 399, 1251, 370, 450, 1253, -1, 33, 399, 198, - 160, 1251, 370, 450, 1253, -1, 33, 487, 1251, 370, - 450, 1253, -1, 33, 487, 198, 160, 1251, 370, 450, - 1253, -1, 33, 269, 487, 1251, 370, 450, 1253, -1, - 33, 269, 487, 198, 160, 1251, 370, 450, 1253, -1, - 33, 209, 1251, 370, 450, 1253, -1, 33, 209, 198, - 160, 1251, 370, 450, 1253, -1, 33, 176, 437, 1108, - 370, 450, 1253, -1, 33, 176, 437, 198, 160, 1108, - 370, 450, 1253, -1, 33, 437, 1108, 370, 926, 1253, - 450, 1253, -1, 33, 437, 198, 160, 1108, 370, 926, - 1253, 450, 1253, -1, 33, 487, 1251, 370, 926, 1253, - 450, 1253, -1, 33, 487, 198, 160, 1251, 370, 926, - 1253, 450, 1253, -1, 33, 269, 487, 1251, 370, 926, - 1253, 450, 1253, -1, 33, 269, 487, 198, 160, 1251, - 370, 926, 1253, 450, 1253, -1, 33, 437, 1108, 370, - 94, 1253, 450, 1253, -1, 33, 437, 198, 160, 1108, - 370, 94, 1253, 450, 1253, -1, 33, 176, 437, 1108, - 370, 926, 1253, 450, 1253, -1, 33, 176, 437, 198, - 160, 1108, 370, 926, 1253, 450, 1253, -1, 33, 389, - 1253, 312, 1251, 370, 450, 1253, -1, 33, 455, 1253, - 312, 1251, 370, 450, 1253, -1, 33, 154, 455, 1253, - 370, 450, 1253, -1, 33, 382, 1261, 370, 450, 1261, - -1, 33, 474, 1261, 370, 450, 1261, -1, 33, 440, - 1253, 370, 450, 1253, -1, 33, 422, 821, 370, 450, - 1253, -1, 33, 445, 395, 331, 821, 370, 450, 1253, - -1, 33, 445, 395, 134, 821, 370, 450, 1253, -1, - 33, 445, 395, 443, 821, 370, 450, 1253, -1, 33, - 445, 395, 91, 821, 370, 450, 1253, -1, 33, 460, - 821, 370, 450, 1253, -1, 33, 460, 821, 370, 49, - 1253, 450, 1253, 552, -1, 82, -1, -1, 405, 115, - -1, -1, 33, 182, 873, 929, 130, 312, 163, 1253, - -1, 33, 352, 873, 929, 130, 312, 163, 1253, -1, - 33, 385, 873, 929, 130, 312, 163, 1253, -1, 33, - 455, 1253, 312, 1251, 929, 130, 312, 163, 1253, -1, - 33, 269, 487, 1251, 929, 130, 312, 163, 1253, -1, - 33, 209, 1251, 929, 130, 312, 163, 1253, -1, 291, - -1, -1, 33, 30, 885, 405, 392, 1253, -1, 33, - 81, 821, 405, 392, 1253, -1, 33, 98, 821, 405, - 392, 1253, -1, 33, 140, 821, 405, 392, 1253, -1, - 33, 163, 1253, 405, 392, 1253, -1, 33, 182, 873, - 405, 392, 1253, -1, 33, 314, 909, 405, 392, 1253, - -1, 33, 314, 76, 821, 475, 1253, 405, 392, 1253, - -1, 33, 314, 167, 821, 475, 1253, 405, 392, 1253, - -1, 33, 352, 873, 405, 392, 1253, -1, 33, 385, - 873, 405, 392, 1253, -1, 33, 437, 1108, 405, 392, - 1253, -1, 33, 437, 198, 160, 1108, 405, 392, 1253, - -1, 33, 422, 821, 405, 392, 1253, -1, 33, 445, - 395, 331, 821, 405, 392, 1253, -1, 33, 445, 395, - 134, 821, 405, 392, 1253, -1, 33, 445, 395, 443, - 821, 405, 392, 1253, -1, 33, 445, 395, 91, 821, - 405, 392, 1253, -1, 33, 399, 1251, 405, 392, 1253, - -1, 33, 399, 198, 160, 1251, 405, 392, 1253, -1, - 33, 487, 1251, 405, 392, 1253, -1, 33, 487, 198, - 160, 1251, 405, 392, 1253, -1, 33, 269, 487, 1251, - 405, 392, 1253, -1, 33, 269, 487, 198, 160, 1251, - 405, 392, 1253, -1, 33, 176, 437, 1108, 405, 392, - 1253, -1, 33, 176, 437, 198, 160, 1108, 405, 392, - 1253, -1, 33, 460, 821, 405, 392, 1253, -1, 33, - 314, 909, 405, 538, 932, 539, -1, 933, -1, 932, - 542, 933, -1, 1271, 528, 292, -1, 1271, 528, 934, - -1, 1271, -1, 880, -1, 1276, -1, 1198, -1, 706, - -1, 1259, -1, 33, 460, 821, 405, 538, 932, 539, - -1, 33, 30, 885, 328, 450, 1262, -1, 33, 81, - 821, 328, 450, 1262, -1, 33, 98, 821, 328, 450, - 1262, -1, 33, 116, 1253, 328, 450, 1262, -1, 33, - 140, 821, 328, 450, 1262, -1, 33, 182, 873, 328, - 450, 1262, -1, 33, 714, 246, 1253, 328, 450, 1262, - -1, 33, 247, 304, 706, 328, 450, 1262, -1, 33, - 314, 909, 328, 450, 1262, -1, 33, 314, 76, 821, - 475, 1253, 328, 450, 1262, -1, 33, 314, 167, 821, - 475, 1253, 328, 450, 1262, -1, 33, 352, 873, 328, - 450, 1262, -1, 33, 385, 873, 328, 450, 1262, -1, - 33, 392, 1253, 328, 450, 1262, -1, 33, 460, 821, - 328, 450, 1262, -1, 33, 440, 1253, 328, 450, 1262, - -1, 33, 422, 821, 328, 450, 1262, -1, 33, 445, - 395, 134, 821, 328, 450, 1262, -1, 33, 445, 395, - 91, 821, 328, 450, 1262, -1, 33, 176, 115, 499, - 1253, 328, 450, 1262, -1, 33, 402, 1253, 328, 450, - 1262, -1, 33, 154, 455, 1253, 328, 450, 1262, -1, - 33, 355, 1253, 328, 450, 1262, -1, 33, 430, 1253, - 328, 450, 1262, -1, 101, 355, 1253, 897, -1, 101, - 355, 1253, 174, 31, 438, 897, -1, 101, 355, 1253, - 174, 939, 897, -1, 437, 1108, 663, 672, -1, 438, - 204, 392, 1268, -1, 438, 204, 392, 109, -1, 1268, - 663, 672, -1, 1268, 1222, 663, 672, -1, 1109, 663, - 672, -1, 109, -1, 938, -1, 939, 542, 938, -1, - 33, 355, 1253, 405, 790, -1, 33, 355, 1253, 27, - 939, -1, 33, 355, 1253, 405, 939, -1, 33, 355, - 1253, 142, 939, -1, 101, 430, 1253, 93, 1259, 355, - 1252, 897, -1, 33, 430, 1253, 405, 790, -1, 33, - 430, 1253, 93, 1259, -1, 33, 430, 1253, 366, 355, - 897, -1, 33, 430, 1253, 27, 355, 1252, 897, -1, - 33, 430, 1253, 142, 355, 1252, 897, -1, 33, 430, - 1253, 405, 355, 1252, 897, -1, 33, 430, 1253, 146, - -1, 33, 430, 1253, 135, -1, 33, 430, 1253, 412, - 790, -1, 142, 430, 1253, 552, -1, 142, 430, 198, - 160, 1253, 552, -1, 101, 869, 389, 1253, 40, 312, - 949, 450, 1251, 1119, 138, 950, 945, -1, 296, -1, - 947, -1, 538, 946, 539, -1, 946, 541, 948, -1, - 948, -1, 1049, -1, 1010, -1, 1030, -1, 1023, -1, - 951, -1, 947, -1, -1, 398, -1, 473, -1, 127, - -1, 219, -1, 220, -1, 32, -1, -1, 297, 1268, - 952, -1, 542, 1259, -1, -1, 257, 1268, -1, 470, - 1268, -1, 470, 531, -1, 22, 957, 961, -1, 420, - 452, 960, -1, 86, 957, 961, -1, 383, 957, 961, - -1, 390, 1268, -1, 369, 390, 1268, -1, 369, 1268, - -1, 383, 957, 450, 390, 1268, -1, 383, 957, 450, - 1268, -1, 346, 452, 1259, -1, 86, 347, 1259, -1, - 383, 347, 1259, -1, 53, 957, 960, -1, 149, 957, - 961, -1, 498, -1, 452, -1, -1, 229, 254, 578, - -1, 359, 313, -1, 359, 500, -1, 124, -1, 295, - 124, -1, 958, -1, 959, 542, 958, -1, 959, 958, - -1, 959, -1, -1, 37, 70, -1, 37, 291, 70, - -1, -1, 101, 634, 487, 1251, 663, 604, 40, 1049, - 963, -1, 101, 317, 372, 634, 487, 1251, 663, 604, - 40, 1049, 963, -1, 101, 634, 362, 487, 1251, 538, - 664, 539, 604, 40, 1049, 963, -1, 101, 317, 372, - 634, 362, 487, 1251, 538, 664, 539, 604, 40, 1049, - 963, -1, 495, 74, 315, -1, 495, 66, 74, 315, - -1, 495, 259, 74, 315, -1, -1, 258, 1255, -1, - 101, 116, 1253, 555, 966, -1, 967, -1, -1, 968, - -1, 967, 968, -1, 969, 970, 706, -1, 969, 970, - 579, -1, 969, 970, 122, -1, 3, -1, 93, 256, - -1, 147, -1, 262, -1, 328, -1, 440, -1, 443, - -1, 528, -1, -1, 33, 116, 1253, 495, 966, -1, - 33, 116, 1253, 966, -1, 33, 116, 1253, 405, 440, - 1253, -1, 33, 116, 1253, 366, 81, 486, -1, 33, - 116, 1253, 586, -1, 142, 116, 1253, -1, 142, 116, - 198, 160, 1253, -1, 142, 116, 1253, 555, 538, 974, - 539, -1, 142, 116, 198, 160, 1253, 555, 538, 974, - 539, -1, 975, -1, 974, 542, 975, -1, 175, -1, - 33, 81, 821, 366, 486, -1, 33, 435, 405, 573, - -1, 33, 435, 374, 585, -1, 101, 140, 821, 980, - 1137, 647, -1, 33, 140, 821, 599, -1, 33, 140, - 821, 142, 295, 300, -1, 33, 140, 821, 405, 295, - 300, -1, 33, 140, 821, 27, 659, -1, 33, 140, - 821, 142, 94, 1253, 552, -1, 33, 140, 821, 142, - 94, 198, 160, 1253, 552, -1, 33, 140, 821, 478, - 94, 1253, -1, 40, -1, -1, 33, 445, 395, 134, - 821, 790, -1, 33, 445, 395, 91, 821, 27, 266, - 174, 1252, 983, 820, -1, 33, 445, 395, 91, 821, - 33, 266, 174, 1252, 983, 820, -1, 33, 445, 395, - 91, 821, 33, 266, 372, 821, 983, 821, -1, 33, - 445, 395, 91, 821, 33, 266, 174, 1252, 372, 821, - 983, 821, -1, 33, 445, 395, 91, 821, 142, 266, - 174, 1252, -1, 33, 445, 395, 91, 821, 142, 266, - 198, 160, 174, 1252, -1, 495, -1, 519, -1, 101, - 804, 98, 821, 174, 1259, 450, 1259, 180, 821, -1, - 78, 538, 989, 539, 1251, 986, -1, 78, 538, 989, - 539, -1, 78, 995, 1251, 986, -1, 78, 995, -1, - 78, 995, 1253, 312, 1251, -1, 475, 1253, -1, -1, - 476, 996, 997, 995, 994, 1001, -1, 476, 538, 989, - 539, 1001, -1, 990, 995, 1001, -1, 990, 538, 989, - 539, 1001, -1, 991, -1, 989, 542, 991, -1, 36, - -1, 35, -1, 992, 993, -1, 1270, -1, 990, -1, - 516, -1, 579, -1, 706, -1, -1, 990, -1, -1, - 485, -1, -1, 181, -1, -1, 179, -1, -1, 538, - 1252, 539, -1, -1, 1108, 998, -1, 999, -1, 1000, - 542, 999, -1, 1000, -1, -1, 161, 1003, -1, 161, - 990, 995, 1003, -1, 161, 485, 1003, -1, 161, 538, - 989, 539, 1003, -1, 1049, -1, 1010, -1, 1030, -1, - 1023, -1, 1035, -1, 1045, -1, 692, -1, 695, -1, - 698, -1, 1007, -1, 346, 1253, 1005, 40, 1006, -1, - 538, 1204, 539, -1, -1, 1049, -1, 1010, -1, 1030, - -1, 1023, -1, 1035, -1, 159, 1253, 1008, -1, 101, - 634, 437, 693, 40, 159, 1253, 1008, 694, -1, 101, - 634, 437, 198, 295, 160, 693, 40, 159, 1253, 1008, - 694, -1, 538, 1200, 539, -1, -1, 118, 1253, -1, - 118, 346, 1253, -1, 118, 31, -1, 118, 346, 31, - -1, 1060, 219, 225, 1011, 1012, 1016, 1018, -1, 1251, - -1, 1251, 40, 1268, -1, 1049, -1, 326, 1013, 480, - 1049, -1, 538, 1014, 539, 1049, -1, 538, 1014, 539, - 326, 1013, 480, 1049, -1, 122, 481, -1, 474, -1, - 435, -1, 1015, -1, 1014, 542, 1015, -1, 1268, 1223, - -1, 312, 92, 1017, 138, 473, 405, 1031, 1119, -1, - 312, 92, 1017, 138, 296, -1, -1, 538, 860, 539, - 1119, -1, 312, 94, 1253, -1, -1, 378, 1019, 1248, - -1, -1, 495, 538, 1020, 539, -1, -1, 1021, -1, - 1020, 542, 1021, -1, 1022, 40, 1268, -1, 310, -1, - 285, -1, 1060, 127, 180, 1111, 1024, 1120, 1018, -1, - 475, 1098, -1, -1, 263, 1063, 1110, 1026, 1028, -1, - 204, 1027, 276, -1, -1, 25, 408, -1, 387, 408, - -1, 387, 158, -1, 408, 473, 158, -1, 408, -1, - 408, 387, 158, -1, 158, -1, 25, 158, -1, 299, - -1, -1, 299, -1, 412, 264, -1, -1, 1060, 473, - 1111, 405, 1031, 1097, 1120, 1018, -1, 1032, -1, 1031, - 542, 1032, -1, 1033, 528, 1161, -1, 538, 1034, 539, - 528, 1161, -1, 1268, 1223, -1, 1033, -1, 1034, 542, - 1033, -1, 1060, 271, 225, 1111, 475, 1099, 312, 1161, - 1036, 1018, -1, 1037, -1, 1036, 1037, -1, 1038, 1040, - 446, 1041, -1, 1038, 1040, 446, 1042, -1, 1039, 1040, - 446, 1043, -1, 1038, 1040, 446, 138, 296, -1, 1039, - 1040, 446, 138, 296, -1, 491, 268, -1, 491, 295, - 268, 61, 416, -1, 491, 295, 268, -1, 491, 295, - 268, 61, 441, -1, 37, 1161, -1, -1, 473, 405, - 1031, -1, 127, -1, 219, 1044, -1, 219, 326, 1013, - 480, 1044, -1, 219, 538, 1014, 539, 1044, -1, 219, - 538, 1014, 539, 326, 1013, 480, 1044, -1, 219, 122, - 481, -1, 481, 538, 1200, 539, -1, 121, 1046, 1047, - 113, 1048, 174, 1049, -1, 1253, -1, -1, 1047, 291, - 394, -1, 1047, 394, -1, 1047, 56, -1, 1047, 42, - -1, 1047, 218, -1, -1, 495, 195, -1, 497, 195, - -1, 1051, -1, 1050, -1, 538, 1051, 539, -1, 538, - 1050, 539, -1, 1053, -1, 1052, 1069, -1, 1052, 1068, - 1090, 1073, -1, 1052, 1068, 1072, 1091, -1, 1054, 1052, - -1, 1054, 1052, 1069, -1, 1054, 1052, 1068, 1090, 1073, - -1, 1054, 1052, 1068, 1072, 1091, -1, 1053, -1, 1050, - -1, 398, 1066, 1247, 1061, 1097, 1119, 1082, 1089, 1180, - -1, 398, 1065, 1248, 1061, 1097, 1119, 1082, 1089, 1180, - -1, 1096, -1, 437, 1108, -1, 1052, 467, 1064, 1052, - -1, 1052, 223, 1064, 1052, -1, 1052, 155, 1064, 1052, - -1, 495, 1055, -1, 519, 1055, -1, 495, 362, 1055, - -1, 1056, -1, 1055, 542, 1056, -1, 1253, 998, 40, - 1057, 538, 1006, 539, 1058, 1059, -1, 269, -1, 295, - 269, -1, -1, 395, 131, 171, 61, 664, 405, 1268, - -1, 395, 60, 171, 61, 664, 405, 1268, -1, -1, - 114, 664, 405, 1268, 450, 1257, 122, 1257, 475, 1268, - -1, 114, 664, 405, 1268, 475, 1268, -1, -1, 1054, - -1, -1, 225, 1062, -1, -1, 444, 1063, 1251, -1, - 442, 1063, 1251, -1, 259, 444, 1063, 1251, -1, 259, - 442, 1063, 1251, -1, 185, 444, 1063, 1251, -1, 185, - 442, 1063, 1251, -1, 471, 1063, 1251, -1, 437, 1251, - -1, 1251, -1, 437, -1, -1, 31, -1, 137, -1, - -1, 137, -1, 137, 312, 538, 1200, 539, -1, 31, - -1, -1, 1065, -1, 1066, -1, 1069, -1, -1, 318, - 61, 1070, -1, 1071, -1, 1070, 542, 1071, -1, 1161, - 475, 1198, 867, -1, 1161, 866, 867, -1, 1074, 1075, - -1, 1075, 1074, -1, 1074, -1, 1075, -1, 1072, -1, - -1, 256, 1076, -1, 256, 1076, 542, 1077, -1, 168, - 1081, 1078, 1080, 313, -1, 168, 1081, 1078, 1080, 495, - 447, -1, 168, 1081, 1080, 313, -1, 168, 1081, 1080, - 495, 447, -1, 308, 1077, -1, 308, 1078, 1080, -1, - 1161, -1, 31, -1, 1161, -1, 1163, -1, 529, 1079, - -1, 530, 1079, -1, 1258, -1, 5, -1, 387, -1, - 388, -1, 171, -1, 286, -1, 189, 61, 1064, 1083, - -1, -1, 1084, -1, 1083, 542, 1084, -1, 1161, -1, - 1085, -1, 1087, -1, 1086, -1, 1088, -1, 538, 539, - -1, 384, 538, 1200, 539, -1, 104, 538, 1200, 539, - -1, 190, 406, 538, 1083, 539, -1, 193, 1161, -1, - -1, 1092, -1, 174, 359, 313, -1, 1090, -1, -1, - 1093, -1, 1092, 1093, -1, 1094, 1095, 1029, -1, 174, - 473, -1, 174, 291, 243, 473, -1, 174, 408, -1, - 174, 243, 408, -1, 306, 1250, -1, -1, 481, 538, - 1200, 539, -1, 1096, 542, 538, 1200, 539, -1, 180, - 1098, -1, -1, 1099, -1, 1098, 542, 1099, -1, 1108, - 1102, -1, 1108, 1102, 1112, -1, 1114, 1104, -1, 249, - 1114, 1104, -1, 1124, 1102, -1, 249, 1124, 1102, -1, - 1050, 1102, -1, 249, 1050, 1102, -1, 1100, -1, 538, - 1100, 539, 1101, -1, 1131, 1102, -1, 249, 1131, 1102, - -1, 538, 1100, 539, -1, 1099, 102, 230, 1099, -1, - 1099, 1105, 230, 1099, 1107, -1, 1099, 230, 1099, 1107, - -1, 1099, 282, 1105, 230, 1099, -1, 1099, 282, 230, - 1099, -1, 40, 1268, 538, 1252, 539, -1, 40, 1268, - -1, 1268, 538, 1252, 539, -1, 1268, -1, 1101, -1, - -1, 40, 1268, -1, -1, 1101, -1, 40, 538, 1122, - 539, -1, 40, 1268, 538, 1122, 539, -1, 1268, 538, - 1122, 539, -1, -1, 181, 1106, -1, 253, 1106, -1, - 381, 1106, -1, 215, -1, 322, -1, -1, 475, 538, - 1252, 539, 1103, -1, 312, 1161, -1, 1251, -1, 1109, - -1, 1251, 531, -1, 313, 1251, -1, 313, 538, 1251, - 539, -1, 1108, -1, 1110, 542, 1108, -1, 1108, -1, - 1108, 1268, -1, 1108, 40, 1268, -1, 439, 1256, 538, - 1200, 539, 1113, -1, 371, 538, 1161, 539, -1, -1, - 1166, 1118, -1, 388, 180, 538, 1116, 539, 1118, -1, - 1166, 1117, -1, 1115, -1, 1116, 542, 1115, -1, 40, - 538, 1122, 539, -1, -1, 519, 319, -1, -1, 492, - 1161, -1, -1, 492, 1161, -1, 492, 105, 306, 1046, - -1, -1, 1122, -1, -1, 1123, -1, 1122, 542, 1123, - -1, 1268, 1137, 600, -1, 512, 538, 1163, 1176, 83, - 1125, 539, -1, 512, 538, 507, 538, 1129, 539, 542, - 1163, 1176, 83, 1125, 539, -1, 1126, -1, 1125, 542, - 1126, -1, 1268, 1137, -1, 1268, 1137, 1127, -1, 1268, - 174, 319, -1, 1128, -1, 1127, 1128, -1, 3, 1162, - -1, 122, 1162, -1, 295, 300, -1, 300, -1, 336, - 1162, -1, 1130, -1, 1129, 542, 1130, -1, 1162, 40, - 1271, -1, 122, 1162, -1, 240, 538, 1233, 542, 1161, - 1132, 1225, 83, 538, 1133, 539, 1232, 539, -1, 40, - 1253, -1, -1, 1134, -1, 1133, 542, 1134, -1, 1268, - 174, 319, -1, 1268, 1137, 1136, 1228, 1236, 1231, -1, - 1268, 1137, 1234, 1136, 1228, 1236, 1231, -1, 1268, 1137, - 160, 1136, 1232, -1, 284, 1135, 1259, 83, 538, 1133, - 539, -1, 284, 1135, 1259, 40, 1253, 83, 538, 1133, - 539, -1, 336, -1, -1, 336, 1259, -1, -1, 1139, - 1138, -1, 407, 1139, 1138, -1, 1139, 39, 536, 1258, - 537, -1, 407, 1139, 39, 536, 1258, 537, -1, 1139, - 39, -1, 407, 1139, 39, -1, 1138, 536, 537, -1, - 1138, 536, 1258, 537, -1, -1, 1141, -1, 1143, -1, - 1145, -1, 1149, -1, 1155, -1, 1156, 1158, -1, 1156, - 538, 1258, 539, -1, 1160, -1, 1143, -1, 1146, -1, - 1150, -1, 1155, -1, 1160, -1, 1269, 1142, -1, 1269, - 822, 1142, -1, 538, 1200, 539, -1, -1, 221, -1, - 222, -1, 413, -1, 55, -1, 360, -1, 172, 1144, - -1, 141, 344, -1, 120, 1142, -1, 119, 1142, -1, - 303, 1142, -1, 58, -1, 538, 1258, 539, -1, -1, - 1147, -1, 1148, -1, 1147, -1, 1148, -1, 57, 1154, - 538, 1200, 539, -1, 57, 1154, -1, 1151, -1, 1152, - -1, 1151, -1, 1152, -1, 1153, 538, 1258, 539, -1, - 1153, -1, 72, 1154, -1, 71, 1154, -1, 482, -1, - 281, 72, 1154, -1, 281, 71, 1154, -1, 283, 1154, - -1, 484, -1, -1, 449, 538, 1258, 539, 1157, -1, - 449, 1157, -1, 448, 538, 1258, 539, 1157, -1, 448, - 1157, -1, 224, -1, 519, 448, 515, -1, 520, 448, - 515, -1, -1, 513, -1, 277, -1, 117, -1, 196, - -1, 274, -1, 1159, -1, 513, 450, 277, -1, 117, - 450, 196, -1, 117, 450, 274, -1, 117, 450, 1159, - -1, 196, 450, 274, -1, 196, 450, 1159, -1, 274, - 450, 1159, -1, -1, 396, -1, 396, 538, 1258, 539, - -1, 231, -1, 1163, -1, 1161, 13, 1137, -1, 1161, - 80, 821, -1, 1161, 47, 448, 515, 1161, -1, 1161, - 47, 259, -1, 529, 1161, -1, 530, 1161, -1, 1161, - 529, 1161, -1, 1161, 530, 1161, -1, 1161, 531, 1161, - -1, 1161, 532, 1161, -1, 1161, 533, 1161, -1, 1161, - 534, 1161, -1, 1161, 526, 1161, -1, 1161, 527, 1161, - -1, 1161, 528, 1161, -1, 1161, 17, 1161, -1, 1161, - 18, 1161, -1, 1161, 19, 1161, -1, 1161, 1197, 1161, - -1, 1197, 1161, -1, 1161, 37, 1161, -1, 1161, 317, - 1161, -1, 295, 1161, -1, 517, 1161, -1, 1161, 255, - 1161, -1, 1161, 255, 1161, 153, 1161, -1, 1161, 517, - 255, 1161, -1, 1161, 517, 255, 1161, 153, 1161, -1, - 1161, 199, 1161, -1, 1161, 199, 1161, 153, 1161, -1, - 1161, 517, 199, 1161, -1, 1161, 517, 199, 1161, 153, - 1161, -1, 1161, 410, 450, 1161, -1, 1161, 410, 450, - 1161, 153, 1161, -1, 1161, 517, 410, 450, 1161, -1, - 1161, 517, 410, 450, 1161, 153, 1161, -1, 1161, 227, - 300, -1, 1161, 228, -1, 1161, 227, 295, 300, -1, - 1161, 298, -1, 1191, 324, 1191, -1, 1161, 227, 457, - -1, 1161, 227, 295, 457, -1, 1161, 227, 166, -1, - 1161, 227, 295, 166, -1, 1161, 227, 469, -1, 1161, - 227, 295, 469, -1, 1161, 227, 137, 180, 1161, -1, - 1161, 227, 295, 137, 180, 1161, -1, 1161, 54, 1224, - 1162, 37, 1161, -1, 1161, 517, 54, 1224, 1162, 37, - 1161, -1, 1161, 54, 433, 1162, 37, 1161, -1, 1161, - 517, 54, 433, 1162, 37, 1161, -1, 1161, 204, 1050, - -1, 1161, 204, 538, 1200, 539, -1, 1161, 517, 204, - 1050, -1, 1161, 517, 204, 538, 1200, 539, -1, 1161, - 1199, 1194, 1050, -1, 1161, 1199, 1194, 538, 1161, 539, - -1, 468, 650, 1050, -1, 1161, 227, 139, -1, 1161, - 227, 295, 139, -1, 1161, 227, 294, -1, 1161, 227, - 1209, 294, -1, 1161, 227, 295, 294, -1, 1161, 227, - 295, 1209, 294, -1, 1161, 227, 1238, 1239, -1, 1161, - 227, 295, 1238, 1239, -1, 122, -1, 1163, -1, 1162, - 13, 1137, -1, 529, 1162, -1, 530, 1162, -1, 1162, - 529, 1162, -1, 1162, 530, 1162, -1, 1162, 531, 1162, - -1, 1162, 532, 1162, -1, 1162, 533, 1162, -1, 1162, - 534, 1162, -1, 1162, 526, 1162, -1, 1162, 527, 1162, - -1, 1162, 528, 1162, -1, 1162, 17, 1162, -1, 1162, - 18, 1162, -1, 1162, 19, 1162, -1, 1162, 1197, 1162, - -1, 1197, 1162, -1, 1162, 227, 137, 180, 1162, -1, - 1162, 227, 295, 137, 180, 1162, -1, 1162, 227, 139, - -1, 1162, 227, 295, 139, -1, 1219, -1, 1257, -1, - 12, 1223, -1, 538, 1161, 539, 1223, -1, 1214, -1, - 1165, -1, 1050, -1, 1050, 1222, -1, 160, 1050, -1, - 39, 1050, -1, 39, 1205, -1, 1192, -1, 1193, -1, - 190, 538, 1200, 539, -1, 1256, 538, 539, -1, 1256, - 538, 1201, 1068, 539, -1, 1256, 538, 483, 1202, 1068, - 539, -1, 1256, 538, 1201, 542, 483, 1202, 1068, 539, - -1, 1256, 538, 31, 1201, 1068, 539, -1, 1256, 538, - 137, 1201, 1068, 539, -1, 1256, 538, 531, 539, -1, - 1164, 1178, 1179, 1183, -1, 1245, 1179, 1183, -1, 1167, - -1, 1164, -1, 1167, -1, 1245, -1, 81, 174, 538, - 1161, 539, -1, 107, -1, 110, -1, 110, 538, 1258, - 539, -1, 111, -1, 111, 538, 1258, 539, -1, 260, - -1, 260, 538, 1258, 539, -1, 261, -1, 261, 538, - 1258, 539, -1, 108, -1, 112, -1, 404, -1, 436, - -1, 474, -1, 106, -1, 109, -1, 68, 538, 1161, - 40, 1137, 539, -1, 165, 538, 1207, 539, -1, 293, - 538, 1161, 539, -1, 293, 538, 1161, 542, 1209, 539, - -1, 325, 538, 1210, 539, -1, 325, 538, 1203, 539, - -1, 342, 538, 1211, 539, -1, 431, 538, 1212, 539, - -1, 431, 538, 1203, 539, -1, 454, 538, 1161, 40, - 1137, 539, -1, 456, 538, 59, 1213, 539, -1, 456, - 538, 250, 1213, 539, -1, 456, 538, 451, 1213, 539, - -1, 456, 538, 1213, 539, -1, 301, 538, 1161, 542, - 1161, 539, -1, 79, 538, 1200, 539, -1, 188, 538, - 1200, 539, -1, 252, 538, 1200, 539, -1, 503, 538, - 1200, 539, -1, 504, 538, 279, 1271, 539, -1, 504, - 538, 279, 1271, 542, 1170, 539, -1, 504, 538, 279, - 1271, 542, 1200, 539, -1, 504, 538, 279, 1271, 542, - 1170, 542, 1200, 539, -1, 505, 538, 1163, 1176, 539, - -1, 506, 538, 1171, 539, -1, 508, 538, 1173, 1161, - 1175, 539, -1, 509, 538, 279, 1271, 539, -1, 509, - 538, 279, 1271, 542, 1161, 539, -1, 510, 538, 1161, - 542, 1168, 1169, 539, -1, 511, 538, 1173, 1161, 40, - 1139, 1174, 539, -1, 235, 538, 1201, 539, -1, 235, - 538, 1240, 1242, 1239, 1237, 539, -1, 235, 538, 1237, - 539, -1, 232, 538, 1244, 1243, 1237, 539, -1, 232, - 538, 1051, 1235, 1237, 539, -1, 232, 538, 1237, 539, - -1, 231, 538, 1233, 1239, 539, -1, 238, 538, 1161, - 539, -1, 239, 538, 1233, 1237, 539, -1, 272, 538, - 539, -1, 237, 538, 1233, 542, 1161, 1225, 1237, 1228, - 1236, 1231, 539, -1, 234, 538, 1233, 542, 1161, 1225, - 1232, 539, -1, 241, 538, 1233, 542, 1161, 1225, 1237, - 1231, 539, -1, 486, 1161, -1, 486, 291, 480, -1, - 542, 419, 514, -1, 542, 419, 291, -1, 542, 419, - 291, 480, -1, -1, 502, 538, 1171, 539, -1, 1172, - -1, 1171, 542, 1172, -1, 1161, 40, 1271, -1, 1161, - -1, 139, -1, 96, -1, 208, -1, 291, 208, -1, - -1, 345, 493, -1, 429, 493, -1, -1, 334, 1163, - -1, 334, 1163, 1177, -1, 334, 1177, 1163, -1, 334, - 1177, 1163, 1177, -1, 61, 363, -1, 61, 480, -1, - 496, 189, 538, 1069, 539, -1, -1, 169, 538, 492, - 1161, 539, -1, -1, 494, 1181, -1, -1, 1182, -1, - 1181, 542, 1182, -1, 1268, 40, 1184, -1, 323, 1184, - -1, 323, 1268, -1, -1, 538, 1185, 1186, 1068, 1187, - 539, -1, 1268, -1, -1, 333, 61, 1200, -1, -1, - 358, 1188, 1190, -1, 388, 1188, 1190, -1, 191, 1188, - 1190, -1, -1, 1189, -1, 54, 1189, 37, 1189, -1, - 463, 343, -1, 463, 173, -1, 105, 387, -1, 1161, - 343, -1, 1161, 173, -1, 156, 105, 387, -1, 156, - 189, -1, 156, 447, -1, 156, 291, 320, -1, -1, - 387, 538, 1200, 539, -1, 387, 538, 539, -1, 538, - 1200, 542, 1161, 539, -1, 387, 538, 1200, 539, -1, - 387, 538, 539, -1, 538, 1200, 542, 1161, 539, -1, - 38, -1, 415, -1, 31, -1, 10, -1, 1196, -1, - 529, -1, 530, -1, 531, -1, 532, -1, 533, -1, - 534, -1, 526, -1, 527, -1, 528, -1, 17, -1, - 18, -1, 19, -1, 10, -1, 314, 538, 907, 539, - -1, 1195, -1, 314, 538, 907, 539, -1, 1195, -1, - 314, 538, 907, 539, -1, 255, -1, 517, 255, -1, - 199, -1, 517, 199, -1, 1161, -1, 1200, 542, 1161, - -1, 1202, -1, 1201, 542, 1202, -1, 1161, -1, 878, - 15, 1161, -1, 878, 16, 1161, -1, 1201, -1, -1, - 1137, -1, 1204, 542, 1137, -1, 536, 1200, 537, -1, - 536, 1206, 537, -1, 536, 537, -1, 1205, -1, 1206, - 542, 1205, -1, 1208, 180, 1161, -1, 12, 180, 1161, - -1, 3, -1, 513, -1, 277, -1, 117, -1, 196, - -1, 274, -1, 396, -1, 1259, -1, 287, -1, 288, - -1, 289, -1, 290, -1, 1161, 338, 1161, 180, 1161, - 174, 1161, -1, 1161, 338, 1161, 180, 1161, -1, 1162, - 204, 1162, -1, 1161, 180, 1161, 174, 1161, -1, 1161, - 174, 1161, 180, 1161, -1, 1161, 180, 1161, -1, 1161, - 174, 1161, -1, 1161, 410, 1161, 153, 1161, -1, 1161, - 180, 1200, -1, 180, 1200, -1, 1200, -1, 67, 1218, - 1215, 1217, 149, -1, 1216, -1, 1215, 1216, -1, 491, - 1161, 446, 1161, -1, 144, 1161, -1, -1, 1161, -1, - -1, 1268, -1, 1268, 1222, -1, 540, 1254, -1, 540, - 531, -1, 536, 1161, 537, -1, 536, 1221, 543, 1221, - 537, -1, 1161, -1, -1, 1220, -1, 1222, 1220, -1, - -1, 1223, 1220, -1, 45, -1, -1, 334, 1226, -1, - -1, 1227, -1, 1226, 542, 1227, -1, 1233, 40, 1271, - -1, 497, 499, -1, 497, 39, 499, -1, 495, 499, - -1, 495, 39, 499, -1, 495, 90, 39, 499, -1, - 495, 464, 39, 499, -1, 495, 90, 499, -1, 495, - 464, 499, -1, -1, 122, 1161, -1, 1230, -1, 152, - -1, 300, -1, 457, -1, 166, -1, 469, -1, 145, - 39, -1, 145, 304, -1, 145, -1, 1229, 312, 145, - -1, 1229, 312, 152, -1, 1229, 312, 145, 1229, 312, - 152, -1, -1, 1229, 312, 152, -1, -1, 1161, 1235, - -1, 516, 231, 147, 1253, -1, 516, 231, -1, 1234, - -1, -1, 242, 357, 312, 391, 428, -1, 242, 357, - -1, 311, 357, 312, 391, 428, -1, 311, 357, -1, - -1, 378, 1137, 1235, -1, -1, 231, -1, 231, 480, - -1, 231, 39, -1, 231, 304, -1, 231, 391, -1, - 495, 468, 244, -1, 495, 468, -1, 497, 468, 244, - -1, 497, 468, -1, -1, 1241, -1, 1240, 542, 1241, - -1, 1163, 480, 1233, -1, 1161, 543, 1233, -1, 300, - 312, 300, -1, 23, 312, 300, -1, -1, 300, 312, - 300, -1, 23, 312, 300, -1, -1, 1233, -1, 1244, - 542, 1233, -1, 236, 538, 1241, 1242, 1239, 1237, 539, - -1, 233, 538, 1233, 1246, 1243, 1237, 539, -1, 318, - 61, 1070, -1, -1, 1248, -1, -1, 1249, -1, 1248, - 542, 1249, -1, 1161, 40, 1271, -1, 1161, 1272, -1, - 1161, -1, 531, -1, 1251, -1, 1250, 542, 1251, -1, - 1268, -1, 1268, 1222, -1, 1253, -1, 1252, 542, 1253, - -1, 1268, -1, 1271, -1, 1259, -1, 1269, -1, 1268, - 1222, -1, 1258, -1, 5, -1, 1259, -1, 8, -1, - 9, -1, 1256, 1259, -1, 1256, 538, 1201, 1068, 539, - 1259, -1, 1256, 12, -1, 1256, 538, 1201, 1068, 539, - 12, -1, 1140, 1259, -1, 1156, 1259, 1158, -1, 1156, - 538, 1258, 539, 1259, -1, 1140, 12, -1, 1156, 12, - 1158, -1, 1156, 538, 1258, 539, 12, -1, 457, -1, - 166, -1, 300, -1, 11, -1, 6, -1, 1258, -1, - 529, 1258, -1, 530, 1258, -1, 1262, -1, 1270, -1, - 108, -1, 112, -1, 404, -1, 1262, -1, 1263, 542, - 1262, -1, 1067, 1247, 1097, 1119, 1082, 1089, 1180, 1068, - 1073, 1091, -1, 1266, 1223, 1267, 1264, -1, 1268, -1, - 12, -1, 15, -1, 528, -1, 3, -1, 1273, -1, - 1274, -1, 3, -1, 1273, -1, 1275, -1, 3, -1, - 1273, -1, 1274, -1, 1275, -1, 3, -1, 1273, -1, - 1274, -1, 1275, -1, 1276, -1, 3, -1, 1277, -1, - 22, -1, 23, -1, 24, -1, 25, -1, 26, -1, - 27, -1, 28, -1, 29, -1, 30, -1, 32, -1, - 33, -1, 34, -1, 42, -1, 43, -1, 44, -1, - 47, -1, 46, -1, 48, -1, 49, -1, 51, -1, - 52, -1, 53, -1, 60, -1, 61, -1, 62, -1, - 63, -1, 64, -1, 65, -1, 66, -1, 69, -1, - 70, -1, 73, -1, 75, -1, 76, -1, 77, -1, - 78, -1, 83, -1, 84, -1, 85, -1, 86, -1, - 87, -1, 88, -1, 90, -1, 91, -1, 92, -1, - 93, -1, 95, -1, 96, -1, 97, -1, 98, -1, - 99, -1, 100, -1, 103, -1, 104, -1, 105, -1, - 113, -1, 114, -1, 115, -1, 116, -1, 117, -1, - 118, -1, 121, -1, 123, -1, 125, -1, 126, -1, + 437, 31, 204, 440, 1253, 327, 61, 1263, 405, 440, + 1253, 1028, -1, 33, 209, 1251, 596, -1, 33, 209, + 198, 160, 1251, 596, -1, 33, 209, 1251, 598, -1, + 33, 209, 31, 204, 440, 1253, 405, 440, 1253, 1028, + -1, 33, 209, 31, 204, 440, 1253, 327, 61, 1263, + 405, 440, 1253, 1028, -1, 33, 399, 1251, 596, -1, + 33, 399, 198, 160, 1251, 596, -1, 33, 487, 1251, + 596, -1, 33, 487, 198, 160, 1251, 596, -1, 33, + 269, 487, 1251, 596, -1, 33, 269, 487, 198, 160, + 1251, 596, -1, 33, 269, 487, 31, 204, 440, 1253, + 405, 440, 1253, 1028, -1, 33, 269, 487, 31, 204, + 440, 1253, 327, 61, 1263, 405, 440, 1253, 1028, -1, + 33, 176, 437, 1108, 596, -1, 33, 176, 437, 198, + 160, 1108, 596, -1, 599, -1, 596, 542, 599, -1, + 48, 333, 1251, 612, -1, 133, 333, 1251, 551, -1, + 133, 333, 1251, 170, -1, 48, 333, 1251, -1, 27, + 642, -1, 27, 198, 295, 160, 642, -1, 27, 82, + 642, -1, 27, 82, 198, 295, 160, 642, -1, 33, + 927, 1268, 600, -1, 33, 927, 1268, 142, 295, 300, + -1, 33, 927, 1268, 405, 295, 300, -1, 33, 927, + 1268, 405, 162, 40, 538, 1161, 539, -1, 33, 927, + 1268, 142, 162, -1, 33, 927, 1268, 142, 162, 198, + 160, -1, 33, 927, 1268, 405, 422, 610, -1, 33, + 927, 1258, 405, 422, 610, -1, 33, 927, 1268, 405, + 604, -1, 33, 927, 1268, 374, 604, -1, 33, 927, + 1268, 405, 646, -1, 33, 927, 1268, 405, 644, -1, + 33, 927, 1268, 27, 184, 652, 40, 197, 703, -1, + 33, 927, 1268, 608, -1, 33, 927, 1268, 142, 197, + -1, 33, 927, 1268, 142, 197, 198, 160, -1, 142, + 927, 198, 160, 1268, 552, -1, 142, 927, 1268, 552, + -1, 33, 927, 1268, 928, 460, 1137, 601, 602, -1, + 33, 927, 1268, 733, -1, 27, 658, -1, 33, 94, + 1253, 781, -1, 33, 94, 1253, 211, -1, 478, 94, + 1253, -1, 142, 94, 198, 160, 1253, 552, -1, 142, + 94, 1253, 552, -1, 405, 497, 309, -1, 78, 312, + 1253, -1, 405, 497, 78, -1, 405, 265, -1, 405, + 471, -1, 146, 455, 1253, -1, 146, 34, 455, 1253, + -1, 146, 373, 455, 1253, -1, 146, 455, 31, -1, + 146, 455, 474, -1, 135, 455, 1253, -1, 135, 455, + 31, -1, 135, 455, 474, -1, 146, 389, 1253, -1, + 146, 34, 389, 1253, -1, 146, 373, 389, 1253, -1, + 135, 389, 1253, -1, 211, 1251, -1, 291, 211, 1251, + -1, 306, 822, -1, 295, 306, -1, 328, 450, 1262, + -1, 405, 25, 273, 611, -1, 405, 440, 1253, -1, + 405, 604, -1, 374, 604, -1, 373, 197, 603, -1, + 146, 387, 254, 397, -1, 135, 387, 254, 397, -1, + 175, 387, 254, 397, -1, 291, 175, 387, 254, 397, + -1, 733, -1, 405, 122, 1161, -1, 142, 122, -1, + 80, 822, -1, -1, 475, 1161, -1, -1, 296, -1, + 181, -1, 122, -1, 475, 209, 1253, -1, 538, 606, + 539, -1, 495, 604, -1, -1, 607, -1, 606, 542, + 607, -1, 1271, 528, 794, -1, 1271, -1, 1271, 540, + 1271, 528, 794, -1, 1271, 540, 1271, -1, 609, -1, + 608, 609, -1, 375, -1, 375, 555, 707, -1, 405, + 705, -1, 405, 184, 652, -1, 1260, -1, 122, -1, + 1268, -1, 122, -1, 174, 481, 495, 538, 614, 539, + -1, 174, 481, 204, 538, 1200, 539, -1, 174, 481, + 180, 538, 1200, 539, 450, 538, 1200, 539, -1, 122, + -1, 1270, 1258, -1, 613, -1, 614, 542, 613, -1, + 33, 460, 822, 616, -1, 617, -1, 616, 542, 617, + -1, 27, 49, 1123, 552, -1, 142, 49, 198, 160, + 1268, 552, -1, 142, 49, 1268, 552, -1, 33, 49, + 1268, 928, 460, 1137, 601, 552, -1, 77, 1046, -1, + 77, 31, -1, 99, 626, 1251, 664, 620, 621, 622, + 627, 555, 623, 1119, -1, 99, 538, 1006, 539, 450, + 621, 622, 555, 623, -1, 180, -1, 450, -1, 354, + -1, -1, 1259, -1, 423, -1, 424, -1, 624, -1, + 538, 629, 539, -1, 624, 625, -1, -1, 56, -1, + 179, -1, 128, 980, 1259, -1, 300, 980, 1259, -1, + 103, -1, 194, -1, 356, 980, 1259, -1, 153, 980, + 1259, -1, 175, 356, 665, -1, 175, 356, 531, -1, + 175, 295, 300, 665, -1, 175, 295, 300, 531, -1, + 175, 300, 665, -1, 175, 300, 531, -1, 147, 1259, + -1, 56, -1, -1, 628, 129, 1259, -1, -1, 475, + -1, -1, 630, -1, 629, 542, 630, -1, 1271, 631, + -1, 580, -1, 707, -1, 531, -1, 122, -1, 538, + 632, 539, -1, -1, 633, -1, 632, 542, 633, -1, + 580, -1, 101, 635, 437, 1251, 538, 636, 539, 678, + 679, 683, 684, 685, 686, -1, 101, 635, 437, 198, + 295, 160, 1251, 538, 636, 539, 678, 679, 683, 684, + 685, 686, -1, 101, 635, 437, 1251, 306, 822, 637, + 679, 683, 684, 685, 686, -1, 101, 635, 437, 198, + 295, 160, 1251, 306, 822, 637, 679, 683, 684, 685, + 686, -1, 101, 635, 437, 1251, 333, 306, 1251, 637, + 612, 679, 683, 684, 685, 686, -1, 101, 635, 437, + 198, 295, 160, 1251, 333, 306, 1251, 637, 612, 679, + 683, 684, 685, 686, -1, 444, -1, 442, -1, 259, + 444, -1, 259, 442, -1, 185, 444, -1, 185, 442, + -1, 471, -1, -1, 638, -1, -1, 538, 639, 539, + -1, -1, 640, -1, 638, 542, 640, -1, 641, -1, + 639, 542, 641, -1, 642, -1, 655, -1, 658, -1, + 643, -1, 658, -1, 1268, 1137, 647, 645, 731, 648, + -1, 1268, 648, -1, 1268, 495, 316, 648, -1, 88, + 1268, -1, 88, 122, -1, 644, -1, -1, 425, 1268, + -1, 425, 122, -1, 646, -1, -1, 648, 649, -1, + -1, 94, 1253, 650, -1, 650, -1, 654, -1, 80, + 822, -1, 295, 300, 662, -1, 300, -1, 468, 651, + 898, 687, -1, 348, 243, 898, 687, -1, 74, 538, + 1161, 539, 662, -1, 122, 1162, -1, 184, 652, 40, + 197, 703, -1, 184, 652, 40, 538, 1161, 539, 653, + -1, 364, 1251, 664, 670, 674, -1, 302, 137, -1, + 302, 295, 137, -1, -1, 34, -1, 61, 122, -1, + 426, -1, 489, -1, -1, 124, -1, 295, 124, -1, + 213, 125, -1, 213, 200, -1, 150, -1, 295, 150, + -1, 255, 1251, 656, -1, 656, 206, 657, -1, 656, + 157, 657, -1, -1, 85, -1, 88, -1, 95, -1, + 123, -1, 197, -1, 184, -1, 210, -1, 422, -1, + 425, -1, 31, -1, 94, 1253, 659, -1, 659, -1, + 74, 538, 1161, 539, 781, -1, 295, 300, 1268, 781, + -1, 468, 651, 538, 665, 663, 539, 669, 898, 687, + 781, -1, 468, 688, 781, -1, 348, 243, 538, 665, + 663, 539, 669, 898, 687, 781, -1, 348, 243, 688, + 781, -1, 156, 860, 538, 671, 539, 669, 898, 687, + 673, 781, -1, 176, 243, 538, 665, 666, 539, 364, + 1251, 667, 670, 674, 781, -1, 94, 1253, 661, -1, + 661, -1, 74, 538, 1161, 539, 781, -1, 295, 300, + 781, -1, 291, 211, -1, -1, 497, 324, -1, -1, + 538, 665, 539, -1, -1, 668, -1, 665, 542, 668, + -1, 542, 337, 668, -1, -1, 538, 665, 666, 539, + -1, -1, 1268, -1, 205, 538, 665, 539, -1, -1, + 267, 181, -1, 267, 332, -1, 267, 411, -1, -1, + 672, -1, 671, 542, 672, -1, 863, 495, 908, -1, + 863, 495, 314, 538, 908, 539, -1, 492, 538, 1161, + 539, -1, -1, 675, -1, 676, -1, 675, 676, -1, + 676, 675, -1, -1, 312, 473, 677, -1, 312, 127, + 677, -1, 291, 26, -1, 376, -1, 65, -1, 405, + 300, 664, -1, 405, 122, 664, -1, 212, 538, 1250, + 539, -1, -1, 680, -1, -1, 333, 61, 1268, 538, + 681, 539, -1, 682, -1, 681, 542, 682, -1, 1268, + 866, 550, -1, 1166, 866, 550, -1, 538, 1161, 539, + 866, 550, -1, 475, 1253, -1, -1, 495, 604, -1, + 497, 309, -1, -1, 312, 86, 142, -1, 312, 86, + 127, 388, -1, 312, 86, 345, 388, -1, -1, 440, + 1253, -1, -1, 475, 209, 440, 1253, -1, -1, 475, + 209, 1253, -1, 101, 422, 550, 998, 312, 690, 180, + 1098, -1, 101, 422, 198, 295, 160, 822, 998, 312, + 690, 180, 1098, -1, 691, -1, 690, 542, 691, -1, + 1268, -1, 1166, -1, 538, 1161, 539, -1, 33, 422, + 822, 405, 422, 610, -1, 33, 422, 198, 160, 822, + 405, 422, 610, -1, 101, 635, 437, 694, 40, 1049, + 695, -1, 101, 635, 437, 198, 295, 160, 694, 40, + 1049, 695, -1, 1251, 664, 683, 684, 685, 686, -1, + 495, 115, -1, 495, 291, 115, -1, -1, 101, 698, + 269, 487, 697, 40, 1049, 695, -1, 101, 698, 269, + 487, 198, 295, 160, 697, 40, 1049, 695, -1, 1251, + 664, 683, 605, 686, -1, 471, -1, -1, 366, 269, + 487, 551, 1251, 695, -1, 101, 635, 399, 1251, 702, + -1, 101, 635, 399, 198, 295, 160, 1251, 702, -1, + 33, 399, 1251, 704, -1, 33, 399, 198, 160, 1251, + 704, -1, 704, -1, -1, 538, 704, 539, -1, -1, + 705, -1, 704, 705, -1, 40, 1139, -1, 62, 707, + -1, 114, -1, 291, 114, -1, 207, 706, 707, -1, + 265, -1, 270, 707, -1, 275, 707, -1, 291, 270, + -1, 291, 275, -1, 327, 61, 822, -1, 399, 279, + 822, -1, 420, 555, 707, -1, 375, -1, 375, 555, + 707, -1, 471, -1, 61, -1, -1, 5, -1, 529, + 5, -1, 530, 5, -1, 1260, -1, 707, -1, 708, + 542, 707, -1, 101, 870, 710, 715, 246, 1253, -1, + 101, 870, 710, 715, 246, 1253, 192, 711, 712, 714, + -1, 459, -1, -1, 1253, -1, 1253, 823, -1, 214, + 711, -1, -1, 479, 711, -1, 291, 479, -1, 713, + -1, -1, 351, -1, -1, 101, 440, 1253, 717, 262, + 1259, 605, -1, 328, 1262, -1, -1, 142, 440, 1253, + -1, 142, 440, 198, 160, 1253, -1, 101, 163, 1253, + 555, 720, -1, 101, 163, 198, 295, 160, 1253, 555, + 720, -1, 720, 721, -1, -1, 392, 1253, -1, 486, + 583, -1, 180, 583, -1, 65, -1, 33, 163, 1253, + 473, 723, -1, 723, 724, -1, -1, 450, 583, -1, + 33, 163, 1253, 567, 818, 1253, -1, 33, 163, 1253, + 567, 817, 822, -1, 33, 163, 1253, 567, 30, 886, + -1, 33, 163, 1253, 567, 68, 538, 1137, 40, 1137, + 539, -1, 33, 163, 1253, 567, 140, 1137, -1, 33, + 163, 1253, 567, 182, 874, -1, 33, 163, 1253, 567, + 314, 910, -1, 33, 163, 1253, 567, 314, 76, 822, + 475, 1253, -1, 33, 163, 1253, 567, 314, 167, 822, + 475, 1253, -1, 33, 163, 1253, 567, 352, 874, -1, + 33, 163, 1253, 567, 385, 874, -1, 33, 163, 1253, + 567, 453, 174, 1137, 246, 1253, -1, 33, 163, 1253, + 567, 460, 1137, -1, 101, 176, 115, 499, 1253, 729, + 731, -1, 192, 711, -1, 291, 192, -1, 479, 711, + -1, 291, 479, -1, 727, -1, 728, 727, -1, 728, + -1, -1, 33, 176, 115, 499, 1253, 729, 733, -1, + 33, 176, 115, 499, 1253, 728, -1, 316, 538, 732, + 539, -1, -1, 736, -1, 732, 542, 736, -1, 316, + 538, 734, 539, -1, 735, -1, 734, 542, 735, -1, + 736, -1, 405, 736, -1, 27, 736, -1, 142, 737, + -1, 737, 738, -1, 1271, -1, 1259, -1, 101, 402, + 1253, 740, 742, 176, 115, 499, 1253, 731, -1, 101, + 402, 198, 295, 160, 1253, 740, 742, 176, 115, 499, + 1253, 731, -1, 460, 1259, -1, -1, 486, 1259, -1, + 486, 300, -1, 741, -1, -1, 33, 402, 1253, 741, + 733, -1, 33, 402, 1253, 741, -1, 33, 402, 1253, + 733, -1, 101, 176, 437, 1251, 538, 636, 539, 678, + 402, 1253, 731, -1, 101, 176, 437, 198, 295, 160, + 1251, 538, 636, 539, 678, 402, 1253, 731, -1, 101, + 176, 437, 1251, 333, 306, 1251, 637, 612, 402, 1253, + 731, -1, 101, 176, 437, 198, 295, 160, 1251, 333, + 306, 1251, 637, 612, 402, 1253, 731, -1, 203, 176, + 392, 1253, 747, 180, 402, 1253, 225, 1253, 731, -1, + 256, 450, -1, 155, -1, 746, 538, 1110, 539, -1, + -1, 101, 474, 266, 174, 749, 402, 1253, 731, -1, + 101, 474, 266, 198, 295, 160, 174, 749, 402, 1253, + 731, -1, 1262, -1, 474, -1, 142, 474, 266, 174, + 749, 402, 1253, -1, 142, 474, 266, 198, 160, 174, + 749, 402, 1253, -1, 33, 474, 266, 174, 749, 402, + 1253, 733, -1, 101, 341, 1253, 312, 1251, 758, 759, + 756, 754, 755, -1, 33, 341, 1253, 312, 1251, 757, + 754, 755, -1, 475, 538, 1161, 539, -1, -1, 495, + 74, 538, 1161, 539, -1, -1, 450, 1263, -1, -1, + 450, 1263, -1, -1, 40, 3, -1, -1, 174, 760, + -1, -1, 31, -1, 398, -1, 219, -1, 473, -1, + 127, -1, 101, 25, 273, 1253, 460, 762, 192, 711, + -1, 209, -1, 437, -1, 101, 870, 455, 1253, 764, + 765, 312, 1251, 767, 773, 776, 159, 777, 1256, 538, + 778, 539, -1, 101, 870, 94, 455, 1253, 29, 765, + 312, 1251, 780, 781, 174, 143, 387, 776, 159, 777, + 1256, 538, 778, 539, -1, 52, -1, 29, -1, 220, + 306, -1, 766, -1, 765, 317, 766, -1, 219, -1, + 127, -1, 473, -1, 473, 306, 665, -1, 458, -1, + 365, 768, -1, -1, 769, -1, 768, 769, -1, 770, + 771, 980, 772, -1, 285, -1, 310, -1, 437, -1, + 387, -1, 1268, -1, 174, 774, 775, -1, -1, 143, + -1, -1, 387, -1, 421, -1, 491, 538, 1161, 539, + -1, -1, 182, -1, 352, -1, 779, -1, 778, 542, + 779, -1, -1, 1258, -1, 5, -1, 1259, -1, 1271, + -1, 180, 1251, -1, -1, -1, 781, 782, -1, 295, + 124, -1, 124, -1, 213, 200, -1, 213, 125, -1, + 295, 477, -1, 291, 211, -1, 295, 150, -1, 150, + -1, 101, 154, 455, 1253, 312, 1271, 159, 777, 1256, + 538, 539, -1, 101, 154, 455, 1253, 312, 1271, 491, + 784, 159, 777, 1256, 538, 539, -1, 785, -1, 784, + 37, 785, -1, 1268, 204, 538, 786, 539, -1, 6, + -1, 786, 542, 6, -1, 33, 154, 455, 1253, 788, + -1, 146, -1, 146, 373, -1, 146, 34, -1, 135, + -1, 101, 43, 822, 74, 538, 1161, 539, 781, -1, + 101, 870, 30, 1256, 884, 791, -1, 101, 870, 30, + 1256, 795, -1, 101, 314, 908, 791, -1, 101, 460, + 822, 791, -1, 101, 460, 822, -1, 101, 460, 822, + 40, 538, 1121, 539, -1, 101, 460, 822, 40, 151, + 538, 798, 539, -1, 101, 460, 822, 40, 358, 791, + -1, 101, 445, 395, 331, 822, 791, -1, 101, 445, + 395, 134, 822, 791, -1, 101, 445, 395, 443, 822, + 791, -1, 101, 445, 395, 91, 822, 791, -1, 101, + 81, 822, 791, -1, 101, 81, 198, 295, 160, 822, + 791, -1, 101, 81, 822, 180, 822, -1, 101, 81, + 198, 295, 160, 822, 180, 822, -1, 538, 792, 539, + -1, 793, -1, 792, 542, 793, -1, 1271, 528, 794, + -1, 1271, -1, 881, -1, 1276, -1, 1198, -1, 707, + -1, 1259, -1, 292, -1, 538, 796, 539, -1, 797, + -1, 796, 542, 797, -1, 3, 528, 794, -1, 799, + -1, -1, 1259, -1, 799, 542, 1259, -1, 33, 460, + 822, 27, 480, 801, 1259, -1, 33, 460, 822, 27, + 480, 801, 1259, 52, 1259, -1, 33, 460, 822, 27, + 480, 801, 1259, 29, 1259, -1, 33, 460, 822, 370, + 480, 1259, 450, 1259, -1, 33, 460, 822, 142, 480, + 1259, -1, 198, 295, 160, -1, -1, 101, 314, 76, + 822, 805, 174, 460, 1137, 475, 1253, 806, 40, 803, + -1, 804, -1, 803, 542, 804, -1, 314, 1258, 908, + 807, -1, 314, 1258, 910, 807, -1, 182, 1258, 874, + -1, 182, 1258, 538, 1204, 539, 874, -1, 425, 1137, + -1, 122, -1, -1, 167, 822, -1, -1, 174, 395, + -1, 174, 318, 61, 822, -1, -1, 101, 314, 167, + 822, 475, 1253, -1, 33, 314, 167, 822, 475, 1253, + 27, 803, -1, 33, 314, 167, 822, 475, 1253, 142, + 810, -1, 811, -1, 810, 542, 811, -1, 314, 1258, + 538, 1204, 539, -1, 182, 1258, 538, 1204, 539, -1, + 142, 314, 76, 822, 475, 1253, 552, -1, 142, 314, + 76, 198, 160, 822, 475, 1253, 552, -1, 142, 314, + 167, 822, 475, 1253, 552, -1, 142, 314, 167, 198, + 160, 822, 475, 1253, 552, -1, 142, 327, 61, 1263, + 552, -1, 361, 327, 61, 1263, 450, 1262, -1, 142, + 817, 198, 160, 821, 552, -1, 142, 817, 821, 552, + -1, 142, 819, 198, 160, 1252, 552, -1, 142, 819, + 1252, 552, -1, 142, 820, 1253, 312, 822, 552, -1, + 142, 820, 198, 160, 1253, 312, 822, 552, -1, 142, + 460, 824, 552, -1, 142, 460, 198, 160, 824, 552, + -1, 142, 140, 824, 552, -1, 142, 140, 198, 160, + 824, 552, -1, 142, 209, 89, 821, 552, -1, 142, + 209, 89, 198, 160, 821, 552, -1, 437, -1, 399, + -1, 487, -1, 269, 487, -1, 209, -1, 176, 437, + -1, 81, -1, 98, -1, 422, -1, 445, 395, 331, + -1, 445, 395, 134, -1, 445, 395, 443, -1, 445, + 395, 91, -1, 819, -1, 116, -1, 382, -1, 430, + -1, 440, -1, 25, 273, -1, 154, 455, -1, 163, + -1, 176, 115, 499, -1, 715, 246, -1, 355, -1, + 392, -1, 402, -1, 341, -1, 389, -1, 455, -1, + 822, -1, 821, 542, 822, -1, 1268, -1, 1268, 823, + -1, 540, 1254, -1, 823, 540, 1254, -1, 1137, -1, + 824, 542, 1137, -1, 458, 1063, 1110, 826, 552, -1, + 97, 197, -1, 375, 197, -1, -1, 84, 312, 817, + 822, 227, 828, -1, 84, 312, 82, 822, 227, 828, + -1, 84, 312, 818, 1253, 227, 828, -1, 84, 312, + 460, 1137, 227, 828, -1, 84, 312, 140, 1137, 227, + 828, -1, 84, 312, 30, 886, 227, 828, -1, 84, + 312, 182, 874, 227, 828, -1, 84, 312, 314, 910, + 227, 828, -1, 84, 312, 94, 1253, 312, 822, 227, + 828, -1, 84, 312, 94, 1253, 312, 140, 822, 227, + 828, -1, 84, 312, 820, 1253, 312, 822, 227, 828, + -1, 84, 312, 352, 874, 227, 828, -1, 84, 312, + 385, 874, 227, 828, -1, 84, 312, 453, 174, 1137, + 246, 1253, 227, 828, -1, 84, 312, 314, 76, 822, + 475, 1253, 227, 828, -1, 84, 312, 314, 167, 822, + 475, 1253, 227, 828, -1, 84, 312, 247, 304, 707, + 227, 828, -1, 84, 312, 68, 538, 1137, 40, 1137, + 539, 227, 828, -1, 1259, -1, 300, -1, 397, 245, + 830, 312, 817, 822, 227, 831, -1, 397, 245, 830, + 312, 82, 822, 227, 831, -1, 397, 245, 830, 312, + 818, 1253, 227, 831, -1, 397, 245, 830, 312, 460, + 1137, 227, 831, -1, 397, 245, 830, 312, 140, 1137, + 227, 831, -1, 397, 245, 830, 312, 30, 886, 227, + 831, -1, 397, 245, 830, 312, 182, 874, 227, 831, + -1, 397, 245, 830, 312, 247, 304, 707, 227, 831, + -1, 397, 245, 830, 312, 352, 874, 227, 831, -1, + 397, 245, 830, 312, 385, 874, 227, 831, -1, 174, + 583, -1, -1, 1259, -1, 300, -1, 168, 833, -1, + 278, 833, -1, 1046, -1, 834, 1046, -1, 286, 835, + 1046, -1, 349, 835, 1046, -1, 171, 835, 1046, -1, + 248, 835, 1046, -1, 24, 1260, 835, 1046, -1, 368, + 1260, 835, 1046, -1, 1260, 835, 1046, -1, 31, 835, + 1046, -1, 178, 835, 1046, -1, 178, 1260, 835, 1046, + -1, 178, 31, 835, 1046, -1, 51, 835, 1046, -1, + 51, 1260, 835, 1046, -1, 51, 31, 835, 1046, -1, + 180, -1, 204, -1, 834, -1, -1, 186, 838, 312, + 843, 450, 844, 846, 852, -1, 380, 838, 312, 843, + 180, 844, 852, 552, -1, 380, 186, 315, 174, 838, + 312, 843, 180, 844, 852, 552, -1, 839, -1, 31, + -1, 31, 350, -1, 31, 538, 665, 539, -1, 31, + 350, 538, 665, 539, -1, 840, -1, 839, 542, 840, + -1, 398, 664, -1, 364, 664, -1, 101, 664, -1, + 33, 435, -1, 1268, 664, -1, 842, -1, 841, 542, + 842, -1, 576, -1, 1250, -1, 437, 1250, -1, 399, + 1250, -1, 176, 115, 499, 1252, -1, 176, 402, 1252, + -1, 182, 873, -1, 352, 873, -1, 385, 873, -1, + 116, 1252, -1, 140, 821, -1, 246, 1252, -1, 247, + 304, 708, -1, 330, 841, -1, 392, 1252, -1, 440, + 1252, -1, 460, 821, -1, 31, 438, 204, 392, 1252, + -1, 31, 400, 204, 392, 1252, -1, 31, 183, 204, + 392, 1252, -1, 31, 353, 204, 392, 1252, -1, 31, + 386, 204, 392, 1252, -1, 845, -1, 844, 542, 845, + -1, 1262, -1, 189, 1262, -1, 495, 186, 315, -1, + -1, 186, 839, 450, 1263, 852, -1, 186, 839, 450, + 1263, 495, 849, 852, -1, 380, 839, 180, 1263, 852, + 552, -1, 380, 1268, 315, 174, 839, 180, 1263, 852, + 552, -1, 849, 542, 850, -1, 850, -1, 1271, 851, + -1, 315, -1, 457, -1, 166, -1, 187, 61, 1262, + -1, -1, 33, 122, 350, 854, 856, -1, 854, 855, + -1, -1, 204, 392, 1252, -1, 174, 382, 1263, -1, + 174, 474, 1263, -1, 186, 838, 312, 857, 450, 844, + 846, -1, 380, 838, 312, 857, 180, 844, 552, -1, + 380, 186, 315, 174, 838, 312, 857, 180, 844, 552, + -1, 438, -1, 183, -1, 386, -1, 400, -1, 461, + -1, 393, -1, 247, 305, -1, 101, 859, 209, 551, + 549, 312, 1108, 860, 538, 861, 539, 864, 651, 605, + 686, 1119, -1, 101, 859, 209, 551, 198, 295, 160, + 1253, 312, 1108, 860, 538, 861, 539, 864, 651, 605, + 686, 1119, -1, 468, -1, -1, 475, 1253, -1, -1, + 863, -1, 861, 542, 863, -1, 866, 550, 867, 868, + -1, 866, 822, 604, 867, 868, -1, 1268, 862, -1, + 1166, 862, -1, 538, 1161, 539, 862, -1, 205, 538, + 865, 539, -1, -1, 863, -1, 865, 542, 863, -1, + 80, 822, -1, -1, 41, -1, 132, -1, -1, 518, + 171, -1, 518, 248, -1, -1, 101, 870, 182, 1256, + 875, 379, 880, 888, 894, -1, 101, 870, 182, 1256, + 875, 379, 437, 538, 900, 539, 888, 894, -1, 101, + 870, 182, 1256, 875, 888, 894, -1, 101, 870, 352, + 1256, 875, 888, 894, -1, 317, 372, -1, -1, 538, + 872, 539, -1, 538, 539, -1, 877, -1, 872, 542, + 877, -1, 874, -1, 873, 542, 874, -1, 1256, 871, + -1, 1275, -1, 1268, -1, 1268, 1222, -1, 538, 876, + 539, -1, 538, 539, -1, 882, -1, 876, 542, 882, + -1, 878, 879, 881, -1, 879, 878, 881, -1, 879, + 881, -1, 878, 881, -1, 881, -1, 204, -1, 321, + -1, 216, -1, 204, 321, -1, 483, -1, 1269, -1, + 881, -1, 1137, -1, 1269, 823, 533, 460, -1, 407, + 1269, 823, 533, 460, -1, 877, -1, 877, 122, 1161, + -1, 877, 528, 1161, -1, 877, -1, 538, 531, 539, + -1, 538, 885, 539, -1, 538, 318, 61, 885, 539, + -1, 538, 885, 318, 61, 885, 539, -1, 883, -1, + 885, 542, 883, -1, 1256, 884, -1, 886, -1, 887, + 542, 886, -1, 889, -1, -1, 891, -1, 889, 891, + -1, 64, 312, 300, 217, -1, 379, 300, 312, 300, + 217, -1, 427, -1, 201, -1, 418, -1, 490, -1, + 164, 397, 126, -1, 164, 397, 226, -1, 397, 126, + -1, 397, 226, -1, 251, -1, 295, 251, -1, 100, + 707, -1, 388, 707, -1, 432, 822, -1, 588, -1, + 329, 1268, -1, 40, 892, -1, 246, 1270, -1, 246, + 1259, -1, 453, 897, -1, 494, -1, 890, -1, 1259, + -1, 1259, 542, 1259, -1, 377, 1161, -1, 893, -1, + 53, 46, 895, 149, -1, -1, 895, 896, 541, -1, + -1, 548, -1, 893, -1, 174, 460, 1137, -1, 897, + 542, 174, 460, 1137, -1, 495, 791, -1, -1, 879, + 881, -1, 899, -1, 900, 542, 899, -1, 33, 182, + 874, 902, 903, -1, 33, 352, 874, 902, 903, -1, + 33, 385, 874, 902, 903, -1, 890, -1, 902, 890, + -1, 376, -1, -1, 142, 182, 873, 552, -1, 142, + 182, 198, 160, 873, 552, -1, 142, 352, 873, 552, + -1, 142, 352, 198, 160, 873, 552, -1, 142, 385, + 873, 552, -1, 142, 385, 198, 160, 873, 552, -1, + 142, 30, 887, 552, -1, 142, 30, 198, 160, 887, + 552, -1, 142, 314, 909, 552, -1, 142, 314, 198, + 160, 909, 552, -1, 538, 1137, 539, -1, 538, 1137, + 542, 1137, 539, -1, 538, 292, 542, 1137, 539, -1, + 538, 1137, 542, 292, 539, -1, 1195, -1, 1268, 540, + 908, -1, 910, -1, 909, 542, 910, -1, 908, 907, + -1, 138, 912, -1, 913, -1, 912, 913, -1, 1259, + -1, 246, 1270, -1, 246, 1259, -1, 101, 68, 538, + 1137, 40, 1137, 539, 495, 182, 874, 915, -1, 101, + 68, 538, 1137, 40, 1137, 539, 497, 182, 915, -1, + 101, 68, 538, 1137, 40, 1137, 539, 495, 216, 915, + -1, 40, 202, -1, 40, 44, -1, -1, 142, 68, + 917, 538, 1137, 40, 1137, 539, 552, -1, 198, 160, + -1, -1, 101, 870, 453, 174, 1137, 246, 1253, 538, + 919, 539, -1, 180, 417, 495, 182, 874, 542, 450, + 417, 495, 182, 874, -1, 450, 417, 495, 182, 874, + 542, 180, 417, 495, 182, 874, -1, 180, 417, 495, + 182, 874, -1, 450, 417, 495, 182, 874, -1, 142, + 453, 917, 174, 1137, 246, 1253, 552, -1, 367, 924, + 922, 551, 1251, -1, 367, 924, 392, 551, 1253, -1, + 367, 924, 923, 551, 549, -1, 209, -1, 437, -1, + 435, -1, 116, -1, 538, 989, 539, -1, -1, 33, + 440, 1253, 405, 604, -1, 33, 440, 1253, 374, 604, + -1, 33, 30, 886, 370, 450, 1253, -1, 33, 81, + 822, 370, 450, 1253, -1, 33, 98, 822, 370, 450, + 1253, -1, 33, 116, 1253, 370, 450, 1253, -1, 33, + 140, 822, 370, 450, 1253, -1, 33, 140, 822, 370, + 94, 1253, 450, 1253, -1, 33, 176, 115, 499, 1253, + 370, 450, 1253, -1, 33, 182, 874, 370, 450, 1253, + -1, 33, 189, 1261, 370, 450, 1261, -1, 33, 715, + 246, 1253, 370, 450, 1253, -1, 33, 314, 76, 822, + 475, 1253, 370, 450, 1253, -1, 33, 314, 167, 822, + 475, 1253, 370, 450, 1253, -1, 33, 341, 1253, 312, + 1251, 370, 450, 1253, -1, 33, 341, 198, 160, 1253, + 312, 1251, 370, 450, 1253, -1, 33, 352, 874, 370, + 450, 1253, -1, 33, 355, 1253, 370, 450, 1253, -1, + 33, 385, 874, 370, 450, 1253, -1, 33, 392, 1253, + 370, 450, 1253, -1, 33, 402, 1253, 370, 450, 1253, + -1, 33, 430, 1253, 370, 450, 1253, -1, 33, 437, + 1108, 370, 450, 1253, -1, 33, 437, 198, 160, 1108, + 370, 450, 1253, -1, 33, 399, 1251, 370, 450, 1253, + -1, 33, 399, 198, 160, 1251, 370, 450, 1253, -1, + 33, 487, 1251, 370, 450, 1253, -1, 33, 487, 198, + 160, 1251, 370, 450, 1253, -1, 33, 269, 487, 1251, + 370, 450, 1253, -1, 33, 269, 487, 198, 160, 1251, + 370, 450, 1253, -1, 33, 209, 1251, 370, 450, 1253, + -1, 33, 209, 198, 160, 1251, 370, 450, 1253, -1, + 33, 176, 437, 1108, 370, 450, 1253, -1, 33, 176, + 437, 198, 160, 1108, 370, 450, 1253, -1, 33, 437, + 1108, 370, 927, 1253, 450, 1253, -1, 33, 437, 198, + 160, 1108, 370, 927, 1253, 450, 1253, -1, 33, 487, + 1251, 370, 927, 1253, 450, 1253, -1, 33, 487, 198, + 160, 1251, 370, 927, 1253, 450, 1253, -1, 33, 269, + 487, 1251, 370, 927, 1253, 450, 1253, -1, 33, 269, + 487, 198, 160, 1251, 370, 927, 1253, 450, 1253, -1, + 33, 437, 1108, 370, 94, 1253, 450, 1253, -1, 33, + 437, 198, 160, 1108, 370, 94, 1253, 450, 1253, -1, + 33, 176, 437, 1108, 370, 927, 1253, 450, 1253, -1, + 33, 176, 437, 198, 160, 1108, 370, 927, 1253, 450, + 1253, -1, 33, 389, 1253, 312, 1251, 370, 450, 1253, + -1, 33, 455, 1253, 312, 1251, 370, 450, 1253, -1, + 33, 154, 455, 1253, 370, 450, 1253, -1, 33, 382, + 1261, 370, 450, 1261, -1, 33, 474, 1261, 370, 450, + 1261, -1, 33, 440, 1253, 370, 450, 1253, -1, 33, + 422, 822, 370, 450, 1253, -1, 33, 445, 395, 331, + 822, 370, 450, 1253, -1, 33, 445, 395, 134, 822, + 370, 450, 1253, -1, 33, 445, 395, 443, 822, 370, + 450, 1253, -1, 33, 445, 395, 91, 822, 370, 450, + 1253, -1, 33, 460, 822, 370, 450, 1253, -1, 33, + 460, 822, 370, 49, 1253, 450, 1253, 552, -1, 82, + -1, -1, 405, 115, -1, -1, 33, 182, 874, 930, + 130, 312, 163, 1253, -1, 33, 352, 874, 930, 130, + 312, 163, 1253, -1, 33, 385, 874, 930, 130, 312, + 163, 1253, -1, 33, 455, 1253, 312, 1251, 930, 130, + 312, 163, 1253, -1, 33, 269, 487, 1251, 930, 130, + 312, 163, 1253, -1, 33, 209, 1251, 930, 130, 312, + 163, 1253, -1, 291, -1, -1, 33, 30, 886, 405, + 392, 1253, -1, 33, 81, 822, 405, 392, 1253, -1, + 33, 98, 822, 405, 392, 1253, -1, 33, 140, 822, + 405, 392, 1253, -1, 33, 163, 1253, 405, 392, 1253, + -1, 33, 182, 874, 405, 392, 1253, -1, 33, 314, + 910, 405, 392, 1253, -1, 33, 314, 76, 822, 475, + 1253, 405, 392, 1253, -1, 33, 314, 167, 822, 475, + 1253, 405, 392, 1253, -1, 33, 352, 874, 405, 392, + 1253, -1, 33, 385, 874, 405, 392, 1253, -1, 33, + 437, 1108, 405, 392, 1253, -1, 33, 437, 198, 160, + 1108, 405, 392, 1253, -1, 33, 422, 822, 405, 392, + 1253, -1, 33, 445, 395, 331, 822, 405, 392, 1253, + -1, 33, 445, 395, 134, 822, 405, 392, 1253, -1, + 33, 445, 395, 443, 822, 405, 392, 1253, -1, 33, + 445, 395, 91, 822, 405, 392, 1253, -1, 33, 399, + 1251, 405, 392, 1253, -1, 33, 399, 198, 160, 1251, + 405, 392, 1253, -1, 33, 487, 1251, 405, 392, 1253, + -1, 33, 487, 198, 160, 1251, 405, 392, 1253, -1, + 33, 269, 487, 1251, 405, 392, 1253, -1, 33, 269, + 487, 198, 160, 1251, 405, 392, 1253, -1, 33, 176, + 437, 1108, 405, 392, 1253, -1, 33, 176, 437, 198, + 160, 1108, 405, 392, 1253, -1, 33, 460, 822, 405, + 392, 1253, -1, 33, 314, 910, 405, 538, 933, 539, + -1, 934, -1, 933, 542, 934, -1, 1271, 528, 292, + -1, 1271, 528, 935, -1, 1271, -1, 881, -1, 1276, + -1, 1198, -1, 707, -1, 1259, -1, 33, 460, 822, + 405, 538, 933, 539, -1, 33, 30, 886, 328, 450, + 1262, -1, 33, 81, 822, 328, 450, 1262, -1, 33, + 98, 822, 328, 450, 1262, -1, 33, 116, 1253, 328, + 450, 1262, -1, 33, 140, 822, 328, 450, 1262, -1, + 33, 182, 874, 328, 450, 1262, -1, 33, 715, 246, + 1253, 328, 450, 1262, -1, 33, 247, 304, 707, 328, + 450, 1262, -1, 33, 314, 910, 328, 450, 1262, -1, + 33, 314, 76, 822, 475, 1253, 328, 450, 1262, -1, + 33, 314, 167, 822, 475, 1253, 328, 450, 1262, -1, + 33, 352, 874, 328, 450, 1262, -1, 33, 385, 874, + 328, 450, 1262, -1, 33, 392, 1253, 328, 450, 1262, + -1, 33, 460, 822, 328, 450, 1262, -1, 33, 440, + 1253, 328, 450, 1262, -1, 33, 422, 822, 328, 450, + 1262, -1, 33, 445, 395, 134, 822, 328, 450, 1262, + -1, 33, 445, 395, 91, 822, 328, 450, 1262, -1, + 33, 176, 115, 499, 1253, 328, 450, 1262, -1, 33, + 402, 1253, 328, 450, 1262, -1, 33, 154, 455, 1253, + 328, 450, 1262, -1, 33, 355, 1253, 328, 450, 1262, + -1, 33, 430, 1253, 328, 450, 1262, -1, 101, 355, + 1253, 898, -1, 101, 355, 1253, 174, 31, 438, 898, + -1, 101, 355, 1253, 174, 940, 898, -1, 437, 1108, + 664, 673, -1, 438, 204, 392, 1268, -1, 438, 204, + 392, 109, -1, 1268, 664, 673, -1, 1268, 1222, 664, + 673, -1, 1109, 664, 673, -1, 109, -1, 939, -1, + 940, 542, 939, -1, 33, 355, 1253, 405, 791, -1, + 33, 355, 1253, 27, 940, -1, 33, 355, 1253, 405, + 940, -1, 33, 355, 1253, 142, 940, -1, 101, 430, + 1253, 93, 1259, 355, 1252, 898, -1, 33, 430, 1253, + 405, 791, -1, 33, 430, 1253, 93, 1259, -1, 33, + 430, 1253, 366, 355, 898, -1, 33, 430, 1253, 27, + 355, 1252, 898, -1, 33, 430, 1253, 142, 355, 1252, + 898, -1, 33, 430, 1253, 405, 355, 1252, 898, -1, + 33, 430, 1253, 146, -1, 33, 430, 1253, 135, -1, + 33, 430, 1253, 412, 791, -1, 142, 430, 1253, 552, + -1, 142, 430, 198, 160, 1253, 552, -1, 101, 870, + 389, 1253, 40, 312, 950, 450, 1251, 1119, 138, 951, + 946, -1, 296, -1, 948, -1, 538, 947, 539, -1, + 947, 541, 949, -1, 949, -1, 1049, -1, 1010, -1, + 1030, -1, 1023, -1, 952, -1, 948, -1, -1, 398, + -1, 473, -1, 127, -1, 219, -1, 220, -1, 32, + -1, -1, 297, 1268, 542, 1259, -1, 297, 1268, -1, + 257, 1268, -1, 470, 1268, -1, 470, 531, -1, 22, + 957, 961, -1, 420, 452, 960, -1, 86, 957, 961, + -1, 383, 957, 961, -1, 390, 1268, -1, 369, 390, + 1268, -1, 369, 1268, -1, 383, 957, 450, 390, 1268, + -1, 383, 957, 450, 1268, -1, 346, 452, 1259, -1, + 86, 347, 1259, -1, 383, 347, 1259, -1, 53, 957, + 960, -1, 149, 957, 961, -1, 498, -1, 452, -1, + -1, 229, 254, 579, -1, 359, 313, -1, 359, 500, + -1, 124, -1, 295, 124, -1, 958, -1, 959, 542, + 958, -1, 959, 958, -1, 959, -1, -1, 37, 70, + -1, 37, 291, 70, -1, -1, 101, 635, 487, 1251, + 664, 605, 40, 1049, 963, -1, 101, 317, 372, 635, + 487, 1251, 664, 605, 40, 1049, 963, -1, 101, 635, + 362, 487, 1251, 538, 665, 539, 605, 40, 1049, 963, + -1, 101, 317, 372, 635, 362, 487, 1251, 538, 665, + 539, 605, 40, 1049, 963, -1, 495, 74, 315, -1, + 495, 66, 74, 315, -1, 495, 259, 74, 315, -1, + -1, 258, 1255, -1, 101, 116, 1253, 555, 966, -1, + 967, -1, -1, 968, -1, 967, 968, -1, 969, 970, + 707, -1, 969, 970, 580, -1, 969, 970, 122, -1, + 3, -1, 93, 256, -1, 147, -1, 262, -1, 328, + -1, 440, -1, 443, -1, 528, -1, -1, 33, 116, + 1253, 495, 966, -1, 33, 116, 1253, 966, -1, 33, + 116, 1253, 405, 440, 1253, -1, 33, 116, 1253, 366, + 81, 486, -1, 33, 116, 1253, 587, -1, 142, 116, + 1253, -1, 142, 116, 198, 160, 1253, -1, 142, 116, + 1253, 555, 538, 974, 539, -1, 142, 116, 198, 160, + 1253, 555, 538, 974, 539, -1, 975, -1, 974, 542, + 975, -1, 175, -1, 33, 81, 822, 366, 486, -1, + 33, 435, 405, 573, -1, 33, 435, 374, 586, -1, + 101, 140, 822, 980, 1137, 648, -1, 33, 140, 822, + 600, -1, 33, 140, 822, 142, 295, 300, -1, 33, + 140, 822, 405, 295, 300, -1, 33, 140, 822, 27, + 660, -1, 33, 140, 822, 142, 94, 1253, 552, -1, + 33, 140, 822, 142, 94, 198, 160, 1253, 552, -1, + 33, 140, 822, 478, 94, 1253, -1, 40, -1, -1, + 33, 445, 395, 134, 822, 791, -1, 33, 445, 395, + 91, 822, 27, 266, 174, 1252, 983, 821, -1, 33, + 445, 395, 91, 822, 33, 266, 174, 1252, 983, 821, + -1, 33, 445, 395, 91, 822, 33, 266, 372, 822, + 983, 822, -1, 33, 445, 395, 91, 822, 33, 266, + 174, 1252, 372, 822, 983, 822, -1, 33, 445, 395, + 91, 822, 142, 266, 174, 1252, -1, 33, 445, 395, + 91, 822, 142, 266, 198, 160, 174, 1252, -1, 495, + -1, 519, -1, 101, 805, 98, 822, 174, 1259, 450, + 1259, 180, 822, -1, 78, 538, 989, 539, 1251, 986, + -1, 78, 538, 989, 539, -1, 78, 995, 1251, 986, + -1, 78, 995, -1, 78, 995, 1253, 312, 1251, -1, + 475, 1253, -1, -1, 476, 996, 997, 995, 994, 1001, + -1, 476, 538, 989, 539, 1001, -1, 990, 995, 1001, + -1, 990, 538, 989, 539, 1001, -1, 991, -1, 989, + 542, 991, -1, 36, -1, 35, -1, 992, 993, -1, + 1270, -1, 990, -1, 516, -1, 580, -1, 707, -1, + -1, 990, -1, -1, 485, -1, -1, 181, -1, -1, + 179, -1, -1, 538, 1252, 539, -1, -1, 1108, 998, + -1, 999, -1, 1000, 542, 999, -1, 1000, -1, -1, + 161, 1003, -1, 161, 990, 995, 1003, -1, 161, 485, + 1003, -1, 161, 538, 989, 539, 1003, -1, 1049, -1, + 1010, -1, 1030, -1, 1023, -1, 1035, -1, 1045, -1, + 693, -1, 696, -1, 699, -1, 1007, -1, 346, 1253, + 1005, 40, 1006, -1, 538, 1204, 539, -1, -1, 1049, + -1, 1010, -1, 1030, -1, 1023, -1, 1035, -1, 159, + 1253, 1008, -1, 101, 635, 437, 694, 40, 159, 1253, + 1008, 695, -1, 101, 635, 437, 198, 295, 160, 694, + 40, 159, 1253, 1008, 695, -1, 538, 1200, 539, -1, + -1, 118, 1253, -1, 118, 346, 1253, -1, 118, 31, + -1, 118, 346, 31, -1, 1060, 219, 225, 1011, 1012, + 1016, 1018, -1, 1251, -1, 1251, 40, 1268, -1, 1049, + -1, 326, 1013, 480, 1049, -1, 538, 1014, 539, 1049, + -1, 538, 1014, 539, 326, 1013, 480, 1049, -1, 122, + 481, -1, 474, -1, 435, -1, 1015, -1, 1014, 542, + 1015, -1, 1268, 1223, -1, 312, 92, 1017, 138, 473, + 405, 1031, 1119, -1, 312, 92, 1017, 138, 296, -1, + -1, 538, 861, 539, 1119, -1, 312, 94, 1253, -1, + -1, 378, 1019, 1248, -1, -1, 495, 538, 1020, 539, + -1, -1, 1021, -1, 1020, 542, 1021, -1, 1022, 40, + 1268, -1, 310, -1, 285, -1, 1060, 127, 180, 1111, + 1024, 1120, 1018, -1, 475, 1098, -1, -1, 263, 1063, + 1110, 1026, 1028, -1, 204, 1027, 276, -1, -1, 25, + 408, -1, 387, 408, -1, 387, 158, -1, 408, 473, + 158, -1, 408, -1, 408, 387, 158, -1, 158, -1, + 25, 158, -1, 299, -1, -1, 299, -1, 412, 264, + -1, -1, 1060, 473, 1111, 405, 1031, 1097, 1120, 1018, + -1, 1032, -1, 1031, 542, 1032, -1, 1033, 528, 1161, + -1, 538, 1034, 539, 528, 1161, -1, 1268, 1223, -1, + 1033, -1, 1034, 542, 1033, -1, 1060, 271, 225, 1111, + 475, 1099, 312, 1161, 1036, 1018, -1, 1037, -1, 1036, + 1037, -1, 1038, 1040, 446, 1041, -1, 1038, 1040, 446, + 1042, -1, 1039, 1040, 446, 1043, -1, 1038, 1040, 446, + 138, 296, -1, 1039, 1040, 446, 138, 296, -1, 491, + 268, -1, 491, 295, 268, 61, 416, -1, 491, 295, + 268, -1, 491, 295, 268, 61, 441, -1, 37, 1161, + -1, -1, 473, 405, 1031, -1, 127, -1, 219, 1044, + -1, 219, 326, 1013, 480, 1044, -1, 219, 538, 1014, + 539, 1044, -1, 219, 538, 1014, 539, 326, 1013, 480, + 1044, -1, 219, 122, 481, -1, 481, 538, 1200, 539, + -1, 121, 1046, 1047, 113, 1048, 174, 1049, -1, 1253, + -1, -1, 1047, 291, 394, -1, 1047, 394, -1, 1047, + 56, -1, 1047, 42, -1, 1047, 218, -1, -1, 495, + 195, -1, 497, 195, -1, 1051, -1, 1050, -1, 538, + 1051, 539, -1, 538, 1050, 539, -1, 1053, -1, 1052, + 1069, -1, 1052, 1068, 1090, 1073, -1, 1052, 1068, 1072, + 1091, -1, 1054, 1052, -1, 1054, 1052, 1069, -1, 1054, + 1052, 1068, 1090, 1073, -1, 1054, 1052, 1068, 1072, 1091, + -1, 1053, -1, 1050, -1, 398, 1066, 1247, 1061, 1097, + 1119, 1082, 1089, 1180, -1, 398, 1065, 1248, 1061, 1097, + 1119, 1082, 1089, 1180, -1, 1096, -1, 437, 1108, -1, + 1052, 467, 1064, 1052, -1, 1052, 223, 1064, 1052, -1, + 1052, 155, 1064, 1052, -1, 495, 1055, -1, 519, 1055, + -1, 495, 362, 1055, -1, 1056, -1, 1055, 542, 1056, + -1, 1253, 998, 40, 1057, 538, 1006, 539, 1058, 1059, + -1, 269, -1, 295, 269, -1, -1, 395, 131, 171, + 61, 665, 405, 1268, -1, 395, 60, 171, 61, 665, + 405, 1268, -1, -1, 114, 665, 405, 1268, 450, 1257, + 122, 1257, 475, 1268, -1, 114, 665, 405, 1268, 475, + 1268, -1, -1, 1054, -1, -1, 225, 1062, -1, -1, + 444, 1063, 1251, -1, 442, 1063, 1251, -1, 259, 444, + 1063, 1251, -1, 259, 442, 1063, 1251, -1, 185, 444, + 1063, 1251, -1, 185, 442, 1063, 1251, -1, 471, 1063, + 1251, -1, 437, 1251, -1, 1251, -1, 437, -1, -1, + 31, -1, 137, -1, -1, 137, -1, 137, 312, 538, + 1200, 539, -1, 31, -1, -1, 1065, -1, 1066, -1, + 1069, -1, -1, 318, 61, 1070, -1, 1071, -1, 1070, + 542, 1071, -1, 1161, 475, 1198, 868, -1, 1161, 867, + 868, -1, 1074, 1075, -1, 1075, 1074, -1, 1074, -1, + 1075, -1, 1072, -1, -1, 256, 1076, -1, 256, 1076, + 542, 1077, -1, 168, 1081, 1078, 1080, 313, -1, 168, + 1081, 1078, 1080, 495, 447, -1, 168, 1081, 1080, 313, + -1, 168, 1081, 1080, 495, 447, -1, 308, 1077, -1, + 308, 1078, 1080, -1, 1161, -1, 31, -1, 1161, -1, + 1163, -1, 529, 1079, -1, 530, 1079, -1, 1258, -1, + 5, -1, 387, -1, 388, -1, 171, -1, 286, -1, + 189, 61, 1064, 1083, -1, -1, 1084, -1, 1083, 542, + 1084, -1, 1161, -1, 1085, -1, 1087, -1, 1086, -1, + 1088, -1, 538, 539, -1, 384, 538, 1200, 539, -1, + 104, 538, 1200, 539, -1, 190, 406, 538, 1083, 539, + -1, 193, 1161, -1, -1, 1092, -1, 174, 359, 313, + -1, 1090, -1, -1, 1093, -1, 1092, 1093, -1, 1094, + 1095, 1029, -1, 174, 473, -1, 174, 291, 243, 473, + -1, 174, 408, -1, 174, 243, 408, -1, 306, 1250, + -1, -1, 481, 538, 1200, 539, -1, 1096, 542, 538, + 1200, 539, -1, 180, 1098, -1, -1, 1099, -1, 1098, + 542, 1099, -1, 1108, 1102, -1, 1108, 1102, 1112, -1, + 1114, 1104, -1, 249, 1114, 1104, -1, 1124, 1102, -1, + 249, 1124, 1102, -1, 1050, 1102, -1, 249, 1050, 1102, + -1, 1100, -1, 538, 1100, 539, 1101, -1, 1131, 1102, + -1, 249, 1131, 1102, -1, 538, 1100, 539, -1, 1099, + 102, 230, 1099, -1, 1099, 1105, 230, 1099, 1107, -1, + 1099, 230, 1099, 1107, -1, 1099, 282, 1105, 230, 1099, + -1, 1099, 282, 230, 1099, -1, 40, 1268, 538, 1252, + 539, -1, 40, 1268, -1, 1268, 538, 1252, 539, -1, + 1268, -1, 1101, -1, -1, 40, 1268, -1, -1, 1101, + -1, 40, 538, 1122, 539, -1, 40, 1268, 538, 1122, + 539, -1, 1268, 538, 1122, 539, -1, -1, 181, 1106, + -1, 253, 1106, -1, 381, 1106, -1, 215, -1, 322, + -1, -1, 475, 538, 1252, 539, 1103, -1, 312, 1161, + -1, 1251, -1, 1109, -1, 1251, 531, -1, 313, 1251, + -1, 313, 538, 1251, 539, -1, 1108, -1, 1110, 542, + 1108, -1, 1108, -1, 1108, 1268, -1, 1108, 40, 1268, + -1, 439, 1256, 538, 1200, 539, 1113, -1, 371, 538, + 1161, 539, -1, -1, 1166, 1118, -1, 388, 180, 538, + 1116, 539, 1118, -1, 1166, 1117, -1, 1115, -1, 1116, + 542, 1115, -1, 40, 538, 1122, 539, -1, -1, 519, + 319, -1, -1, 492, 1161, -1, -1, 492, 1161, -1, + 492, 105, 306, 1046, -1, -1, 1122, -1, -1, 1123, + -1, 1122, 542, 1123, -1, 1268, 1137, 601, -1, 512, + 538, 1163, 1176, 83, 1125, 539, -1, 512, 538, 507, + 538, 1129, 539, 542, 1163, 1176, 83, 1125, 539, -1, + 1126, -1, 1125, 542, 1126, -1, 1268, 1137, -1, 1268, + 1137, 1127, -1, 1268, 174, 319, -1, 1128, -1, 1127, + 1128, -1, 3, 1162, -1, 122, 1162, -1, 295, 300, + -1, 300, -1, 336, 1162, -1, 1130, -1, 1129, 542, + 1130, -1, 1162, 40, 1271, -1, 122, 1162, -1, 240, + 538, 1233, 542, 1161, 1132, 1225, 83, 538, 1133, 539, + 1232, 539, -1, 40, 1253, -1, -1, 1134, -1, 1133, + 542, 1134, -1, 1268, 174, 319, -1, 1268, 1137, 1136, + 1228, 1236, 1231, -1, 1268, 1137, 1234, 1136, 1228, 1236, + 1231, -1, 1268, 1137, 160, 1136, 1232, -1, 284, 1135, + 1259, 83, 538, 1133, 539, -1, 284, 1135, 1259, 40, + 1253, 83, 538, 1133, 539, -1, 336, -1, -1, 336, + 1259, -1, -1, 1139, 1138, -1, 407, 1139, 1138, -1, + 1139, 39, 536, 1258, 537, -1, 407, 1139, 39, 536, + 1258, 537, -1, 1139, 39, -1, 407, 1139, 39, -1, + 1138, 536, 537, -1, 1138, 536, 1258, 537, -1, -1, + 1141, -1, 1143, -1, 1145, -1, 1149, -1, 1155, -1, + 1156, 1158, -1, 1156, 538, 1258, 539, -1, 1160, -1, + 1143, -1, 1146, -1, 1150, -1, 1155, -1, 1160, -1, + 1269, 1142, -1, 1269, 823, 1142, -1, 538, 1200, 539, + -1, -1, 221, -1, 222, -1, 413, -1, 55, -1, + 360, -1, 172, 1144, -1, 141, 344, -1, 120, 1142, + -1, 119, 1142, -1, 303, 1142, -1, 58, -1, 538, + 1258, 539, -1, -1, 1147, -1, 1148, -1, 1147, -1, + 1148, -1, 57, 1154, 538, 1200, 539, -1, 57, 1154, + -1, 1151, -1, 1152, -1, 1151, -1, 1152, -1, 1153, + 538, 1258, 539, -1, 1153, -1, 72, 1154, -1, 71, + 1154, -1, 482, -1, 281, 72, 1154, -1, 281, 71, + 1154, -1, 283, 1154, -1, 484, -1, -1, 449, 538, + 1258, 539, 1157, -1, 449, 1157, -1, 448, 538, 1258, + 539, 1157, -1, 448, 1157, -1, 224, -1, 519, 448, + 515, -1, 520, 448, 515, -1, -1, 513, -1, 277, + -1, 117, -1, 196, -1, 274, -1, 1159, -1, 513, + 450, 277, -1, 117, 450, 196, -1, 117, 450, 274, + -1, 117, 450, 1159, -1, 196, 450, 274, -1, 196, + 450, 1159, -1, 274, 450, 1159, -1, -1, 396, -1, + 396, 538, 1258, 539, -1, 231, -1, 1163, -1, 1161, + 13, 1137, -1, 1161, 80, 822, -1, 1161, 47, 448, + 515, 1161, -1, 1161, 47, 259, -1, 529, 1161, -1, + 530, 1161, -1, 1161, 529, 1161, -1, 1161, 530, 1161, + -1, 1161, 531, 1161, -1, 1161, 532, 1161, -1, 1161, + 533, 1161, -1, 1161, 534, 1161, -1, 1161, 526, 1161, + -1, 1161, 527, 1161, -1, 1161, 528, 1161, -1, 1161, + 17, 1161, -1, 1161, 18, 1161, -1, 1161, 19, 1161, + -1, 1161, 1197, 1161, -1, 1197, 1161, -1, 1161, 37, + 1161, -1, 1161, 317, 1161, -1, 295, 1161, -1, 517, + 1161, -1, 1161, 255, 1161, -1, 1161, 255, 1161, 153, + 1161, -1, 1161, 517, 255, 1161, -1, 1161, 517, 255, + 1161, 153, 1161, -1, 1161, 199, 1161, -1, 1161, 199, + 1161, 153, 1161, -1, 1161, 517, 199, 1161, -1, 1161, + 517, 199, 1161, 153, 1161, -1, 1161, 410, 450, 1161, + -1, 1161, 410, 450, 1161, 153, 1161, -1, 1161, 517, + 410, 450, 1161, -1, 1161, 517, 410, 450, 1161, 153, + 1161, -1, 1161, 227, 300, -1, 1161, 228, -1, 1161, + 227, 295, 300, -1, 1161, 298, -1, 1191, 324, 1191, + -1, 1161, 227, 457, -1, 1161, 227, 295, 457, -1, + 1161, 227, 166, -1, 1161, 227, 295, 166, -1, 1161, + 227, 469, -1, 1161, 227, 295, 469, -1, 1161, 227, + 137, 180, 1161, -1, 1161, 227, 295, 137, 180, 1161, + -1, 1161, 54, 1224, 1162, 37, 1161, -1, 1161, 517, + 54, 1224, 1162, 37, 1161, -1, 1161, 54, 433, 1162, + 37, 1161, -1, 1161, 517, 54, 433, 1162, 37, 1161, + -1, 1161, 204, 1050, -1, 1161, 204, 538, 1200, 539, + -1, 1161, 517, 204, 1050, -1, 1161, 517, 204, 538, + 1200, 539, -1, 1161, 1199, 1194, 1050, -1, 1161, 1199, + 1194, 538, 1161, 539, -1, 468, 651, 1050, -1, 1161, + 227, 139, -1, 1161, 227, 295, 139, -1, 1161, 227, + 294, -1, 1161, 227, 1209, 294, -1, 1161, 227, 295, + 294, -1, 1161, 227, 295, 1209, 294, -1, 1161, 227, + 1238, 1239, -1, 1161, 227, 295, 1238, 1239, -1, 122, + -1, 1163, -1, 1162, 13, 1137, -1, 529, 1162, -1, + 530, 1162, -1, 1162, 529, 1162, -1, 1162, 530, 1162, + -1, 1162, 531, 1162, -1, 1162, 532, 1162, -1, 1162, + 533, 1162, -1, 1162, 534, 1162, -1, 1162, 526, 1162, + -1, 1162, 527, 1162, -1, 1162, 528, 1162, -1, 1162, + 17, 1162, -1, 1162, 18, 1162, -1, 1162, 19, 1162, + -1, 1162, 1197, 1162, -1, 1197, 1162, -1, 1162, 227, + 137, 180, 1162, -1, 1162, 227, 295, 137, 180, 1162, + -1, 1162, 227, 139, -1, 1162, 227, 295, 139, -1, + 1219, -1, 1257, -1, 12, 1223, -1, 538, 1161, 539, + 1223, -1, 1214, -1, 1165, -1, 1050, -1, 1050, 1222, + -1, 160, 1050, -1, 39, 1050, -1, 39, 1205, -1, + 1192, -1, 1193, -1, 190, 538, 1200, 539, -1, 1256, + 538, 539, -1, 1256, 538, 1201, 1068, 539, -1, 1256, + 538, 483, 1202, 1068, 539, -1, 1256, 538, 1201, 542, + 483, 1202, 1068, 539, -1, 1256, 538, 31, 1201, 1068, + 539, -1, 1256, 538, 137, 1201, 1068, 539, -1, 1256, + 538, 531, 539, -1, 1164, 1178, 1179, 1183, -1, 1245, + 1179, 1183, -1, 1167, -1, 1164, -1, 1167, -1, 1245, + -1, 81, 174, 538, 1161, 539, -1, 107, -1, 110, + -1, 110, 538, 1258, 539, -1, 111, -1, 111, 538, + 1258, 539, -1, 260, -1, 260, 538, 1258, 539, -1, + 261, -1, 261, 538, 1258, 539, -1, 108, -1, 112, + -1, 404, -1, 436, -1, 474, -1, 106, -1, 109, + -1, 68, 538, 1161, 40, 1137, 539, -1, 165, 538, + 1207, 539, -1, 293, 538, 1161, 539, -1, 293, 538, + 1161, 542, 1209, 539, -1, 325, 538, 1210, 539, -1, + 325, 538, 1203, 539, -1, 342, 538, 1211, 539, -1, + 431, 538, 1212, 539, -1, 431, 538, 1203, 539, -1, + 454, 538, 1161, 40, 1137, 539, -1, 456, 538, 59, + 1213, 539, -1, 456, 538, 250, 1213, 539, -1, 456, + 538, 451, 1213, 539, -1, 456, 538, 1213, 539, -1, + 301, 538, 1161, 542, 1161, 539, -1, 79, 538, 1200, + 539, -1, 188, 538, 1200, 539, -1, 252, 538, 1200, + 539, -1, 503, 538, 1200, 539, -1, 504, 538, 279, + 1271, 539, -1, 504, 538, 279, 1271, 542, 1170, 539, + -1, 504, 538, 279, 1271, 542, 1200, 539, -1, 504, + 538, 279, 1271, 542, 1170, 542, 1200, 539, -1, 505, + 538, 1163, 1176, 539, -1, 506, 538, 1171, 539, -1, + 508, 538, 1173, 1161, 1175, 539, -1, 509, 538, 279, + 1271, 539, -1, 509, 538, 279, 1271, 542, 1161, 539, + -1, 510, 538, 1161, 542, 1168, 1169, 539, -1, 511, + 538, 1173, 1161, 40, 1139, 1174, 539, -1, 235, 538, + 1201, 539, -1, 235, 538, 1240, 1242, 1239, 1237, 539, + -1, 235, 538, 1237, 539, -1, 232, 538, 1244, 1243, + 1237, 539, -1, 232, 538, 1051, 1235, 1237, 539, -1, + 232, 538, 1237, 539, -1, 231, 538, 1233, 1239, 539, + -1, 238, 538, 1161, 539, -1, 239, 538, 1233, 1237, + 539, -1, 272, 538, 539, -1, 237, 538, 1233, 542, + 1161, 1225, 1237, 1228, 1236, 1231, 539, -1, 234, 538, + 1233, 542, 1161, 1225, 1232, 539, -1, 241, 538, 1233, + 542, 1161, 1225, 1237, 1231, 539, -1, 486, 1161, -1, + 486, 291, 480, -1, 542, 419, 514, -1, 542, 419, + 291, -1, 542, 419, 291, 480, -1, -1, 502, 538, + 1171, 539, -1, 1172, -1, 1171, 542, 1172, -1, 1161, + 40, 1271, -1, 1161, -1, 139, -1, 96, -1, 208, + -1, 291, 208, -1, -1, 345, 493, -1, 429, 493, + -1, -1, 334, 1163, -1, 334, 1163, 1177, -1, 334, + 1177, 1163, -1, 334, 1177, 1163, 1177, -1, 61, 363, + -1, 61, 480, -1, 496, 189, 538, 1069, 539, -1, + -1, 169, 538, 492, 1161, 539, -1, -1, 494, 1181, + -1, -1, 1182, -1, 1181, 542, 1182, -1, 1268, 40, + 1184, -1, 323, 1184, -1, 323, 1268, -1, -1, 538, + 1185, 1186, 1068, 1187, 539, -1, 1268, -1, -1, 333, + 61, 1200, -1, -1, 358, 1188, 1190, -1, 388, 1188, + 1190, -1, 191, 1188, 1190, -1, -1, 1189, -1, 54, + 1189, 37, 1189, -1, 463, 343, -1, 463, 173, -1, + 105, 387, -1, 1161, 343, -1, 1161, 173, -1, 156, + 105, 387, -1, 156, 189, -1, 156, 447, -1, 156, + 291, 320, -1, -1, 387, 538, 1200, 539, -1, 387, + 538, 539, -1, 538, 1200, 542, 1161, 539, -1, 387, + 538, 1200, 539, -1, 387, 538, 539, -1, 538, 1200, + 542, 1161, 539, -1, 38, -1, 415, -1, 31, -1, + 10, -1, 1196, -1, 529, -1, 530, -1, 531, -1, + 532, -1, 533, -1, 534, -1, 526, -1, 527, -1, + 528, -1, 17, -1, 18, -1, 19, -1, 10, -1, + 314, 538, 908, 539, -1, 1195, -1, 314, 538, 908, + 539, -1, 1195, -1, 314, 538, 908, 539, -1, 255, + -1, 517, 255, -1, 199, -1, 517, 199, -1, 1161, + -1, 1200, 542, 1161, -1, 1202, -1, 1201, 542, 1202, + -1, 1161, -1, 879, 15, 1161, -1, 879, 16, 1161, + -1, 1201, -1, -1, 1137, -1, 1204, 542, 1137, -1, + 536, 1200, 537, -1, 536, 1206, 537, -1, 536, 537, + -1, 1205, -1, 1206, 542, 1205, -1, 1208, 180, 1161, + -1, 12, 180, 1161, -1, 3, -1, 513, -1, 277, + -1, 117, -1, 196, -1, 274, -1, 396, -1, 1259, + -1, 287, -1, 288, -1, 289, -1, 290, -1, 1161, + 338, 1161, 180, 1161, 174, 1161, -1, 1161, 338, 1161, + 180, 1161, -1, 1162, 204, 1162, -1, 1161, 180, 1161, + 174, 1161, -1, 1161, 174, 1161, 180, 1161, -1, 1161, + 180, 1161, -1, 1161, 174, 1161, -1, 1161, 410, 1161, + 153, 1161, -1, 1161, 180, 1200, -1, 180, 1200, -1, + 1200, -1, 67, 1218, 1215, 1217, 149, -1, 1216, -1, + 1215, 1216, -1, 491, 1161, 446, 1161, -1, 144, 1161, + -1, -1, 1161, -1, -1, 1268, -1, 1268, 1222, -1, + 540, 1254, -1, 540, 531, -1, 536, 1161, 537, -1, + 536, 1221, 543, 1221, 537, -1, 1161, -1, -1, 1220, + -1, 1222, 1220, -1, -1, 1223, 1220, -1, 45, -1, + -1, 334, 1226, -1, -1, 1227, -1, 1226, 542, 1227, + -1, 1233, 40, 1271, -1, 497, 499, -1, 497, 39, + 499, -1, 495, 499, -1, 495, 39, 499, -1, 495, + 90, 39, 499, -1, 495, 464, 39, 499, -1, 495, + 90, 499, -1, 495, 464, 499, -1, -1, 122, 1161, + -1, 1230, -1, 152, -1, 300, -1, 457, -1, 166, + -1, 469, -1, 145, 39, -1, 145, 304, -1, 145, + -1, 1229, 312, 145, -1, 1229, 312, 152, -1, 1229, + 312, 145, 1229, 312, 152, -1, -1, 1229, 312, 152, + -1, -1, 1161, 1235, -1, 516, 231, 147, 1253, -1, + 516, 231, -1, 1234, -1, -1, 242, 357, 312, 391, + 428, -1, 242, 357, -1, 311, 357, 312, 391, 428, + -1, 311, 357, -1, -1, 378, 1137, 1235, -1, -1, + 231, -1, 231, 480, -1, 231, 39, -1, 231, 304, + -1, 231, 391, -1, 495, 468, 244, -1, 495, 468, + -1, 497, 468, 244, -1, 497, 468, -1, -1, 1241, + -1, 1240, 542, 1241, -1, 1163, 480, 1233, -1, 1161, + 543, 1233, -1, 300, 312, 300, -1, 23, 312, 300, + -1, -1, 300, 312, 300, -1, 23, 312, 300, -1, + -1, 1233, -1, 1244, 542, 1233, -1, 236, 538, 1241, + 1242, 1239, 1237, 539, -1, 233, 538, 1233, 1246, 1243, + 1237, 539, -1, 318, 61, 1070, -1, -1, 1248, -1, + -1, 1249, -1, 1248, 542, 1249, -1, 1161, 40, 1271, + -1, 1161, 1272, -1, 1161, -1, 531, -1, 1251, -1, + 1250, 542, 1251, -1, 1268, -1, 1268, 1222, -1, 1253, + -1, 1252, 542, 1253, -1, 1268, -1, 1271, -1, 1259, + -1, 1269, -1, 1268, 1222, -1, 1258, -1, 5, -1, + 1259, -1, 8, -1, 9, -1, 1256, 1259, -1, 1256, + 538, 1201, 1068, 539, 1259, -1, 1256, 12, -1, 1256, + 538, 1201, 1068, 539, 12, -1, 1140, 1259, -1, 1156, + 1259, 1158, -1, 1156, 538, 1258, 539, 1259, -1, 1140, + 12, -1, 1156, 12, 1158, -1, 1156, 538, 1258, 539, + 12, -1, 457, -1, 166, -1, 300, -1, 11, -1, + 6, -1, 1258, -1, 529, 1258, -1, 530, 1258, -1, + 1262, -1, 1270, -1, 108, -1, 112, -1, 404, -1, + 1262, -1, 1263, 542, 1262, -1, 1067, 1247, 1097, 1119, + 1082, 1089, 1180, 1068, 1073, 1091, -1, 1266, 1223, 1267, + 1264, -1, 1268, -1, 12, -1, 15, -1, 528, -1, + 3, -1, 1273, -1, 1274, -1, 3, -1, 1273, -1, + 1275, -1, 3, -1, 1273, -1, 1274, -1, 1275, -1, + 3, -1, 1273, -1, 1274, -1, 1275, -1, 1276, -1, + 3, -1, 1277, -1, 22, -1, 23, -1, 24, -1, + 25, -1, 26, -1, 27, -1, 28, -1, 29, -1, + 30, -1, 32, -1, 33, -1, 34, -1, 42, -1, + 43, -1, 44, -1, 47, -1, 46, -1, 48, -1, + 49, -1, 51, -1, 52, -1, 53, -1, 60, -1, + 61, -1, 62, -1, 63, -1, 64, -1, 65, -1, + 66, -1, 69, -1, 70, -1, 73, -1, 75, -1, + 76, -1, 77, -1, 78, -1, 83, -1, 84, -1, + 85, -1, 86, -1, 87, -1, 88, -1, 90, -1, + 91, -1, 92, -1, 93, -1, 95, -1, 96, -1, + 97, -1, 98, -1, 99, -1, 100, -1, 103, -1, + 104, -1, 105, -1, 113, -1, 114, -1, 115, -1, + 116, -1, 117, -1, 118, -1, 121, -1, 123, -1, + 125, -1, 126, -1, 127, -1, 128, -1, 129, -1, + 130, -1, 131, -1, 133, -1, 134, -1, 135, -1, + 136, -1, 139, -1, 140, -1, 141, -1, 142, -1, + 143, -1, 145, -1, 146, -1, 147, -1, 148, -1, + 150, -1, 151, -1, 152, -1, 153, -1, 154, -1, + 156, -1, 157, -1, 158, -1, 159, -1, 161, -1, + 162, -1, 163, -1, 164, -1, 167, -1, 169, -1, + 170, -1, 171, -1, 173, -1, 175, -1, 177, -1, + 178, -1, 182, -1, 183, -1, 184, -1, 185, -1, + 187, -1, 191, -1, 192, -1, 194, -1, 195, -1, + 196, -1, 197, -1, 198, -1, 200, -1, 201, -1, + 202, -1, 203, -1, 205, -1, 206, -1, 207, -1, + 208, -1, 209, -1, 210, -1, 211, -1, 212, -1, + 214, -1, 217, -1, 218, -1, 219, -1, 220, -1, + 226, -1, 229, -1, 242, -1, 243, -1, 244, -1, + 245, -1, 246, -1, 247, -1, 248, -1, 251, -1, + 254, -1, 257, -1, 258, -1, 259, -1, 262, -1, + 263, -1, 264, -1, 265, -1, 266, -1, 267, -1, + 268, -1, 269, -1, 270, -1, 271, -1, 273, -1, + 274, -1, 275, -1, 276, -1, 277, -1, 278, -1, + 279, -1, 280, -1, 284, -1, 285, -1, 286, -1, + 287, -1, 288, -1, 289, -1, 290, -1, 291, -1, + 294, -1, 296, -1, 297, -1, 299, -1, 302, -1, + 304, -1, 305, -1, 306, -1, 307, -1, 309, -1, + 310, -1, 311, -1, 314, -1, 315, -1, 316, -1, + 319, -1, 320, -1, 323, -1, 326, -1, 327, -1, + 328, -1, 329, -1, 330, -1, 331, -1, 332, -1, + 333, -1, 334, -1, 335, -1, 336, -1, 337, -1, + 339, -1, 340, -1, 341, -1, 343, -1, 346, -1, + 347, -1, 345, -1, 349, -1, 350, -1, 351, -1, + 352, -1, 353, -1, 354, -1, 355, -1, 356, -1, + 357, -1, 358, -1, 359, -1, 361, -1, 362, -1, + 363, -1, 365, -1, 366, -1, 367, -1, 368, -1, + 369, -1, 370, -1, 371, -1, 372, -1, 373, -1, + 374, -1, 375, -1, 376, -1, 377, -1, 379, -1, + 380, -1, 382, -1, 383, -1, 384, -1, 385, -1, + 386, -1, 388, -1, 389, -1, 390, -1, 391, -1, + 392, -1, 393, -1, 394, -1, 395, -1, 396, -1, + 397, -1, 399, -1, 400, -1, 401, -1, 402, -1, + 403, -1, 405, -1, 406, -1, 408, -1, 409, -1, + 411, -1, 412, -1, 414, -1, 416, -1, 417, -1, + 418, -1, 419, -1, 420, -1, 421, -1, 422, -1, + 423, -1, 424, -1, 425, -1, 426, -1, 427, -1, + 428, -1, 429, -1, 430, -1, 432, -1, 434, -1, + 435, -1, 438, -1, 440, -1, 441, -1, 442, -1, + 443, -1, 444, -1, 445, -1, 447, -1, 452, -1, + 453, -1, 455, -1, 458, -1, 459, -1, 460, -1, + 461, -1, 462, -1, 463, -1, 465, -1, 464, -1, + 466, -1, 469, -1, 470, -1, 471, -1, 472, -1, + 473, -1, 476, -1, 477, -1, 478, -1, 479, -1, + 480, -1, 484, -1, 486, -1, 487, -1, 488, -1, + 489, -1, 490, -1, 493, -1, 496, -1, 497, -1, + 498, -1, 499, -1, 500, -1, 501, -1, 513, -1, + 514, -1, 515, -1, 54, -1, 55, -1, 57, -1, + 58, -1, 71, -1, 72, -1, 79, -1, 119, -1, + 120, -1, 160, -1, 165, -1, 172, -1, 188, -1, + 190, -1, 216, -1, 221, -1, 222, -1, 224, -1, + 231, -1, 232, -1, 233, -1, 234, -1, 235, -1, + 236, -1, 237, -1, 238, -1, 239, -1, 240, -1, + 241, -1, 252, -1, 272, -1, 281, -1, 283, -1, + 292, -1, 293, -1, 301, -1, 303, -1, 321, -1, + 325, -1, 342, -1, 344, -1, 360, -1, 387, -1, + 407, -1, 413, -1, 431, -1, 448, -1, 449, -1, + 454, -1, 456, -1, 481, -1, 482, -1, 502, -1, + 503, -1, 504, -1, 505, -1, 506, -1, 507, -1, + 508, -1, 509, -1, 510, -1, 511, -1, 512, -1, + 50, -1, 56, -1, 81, -1, 89, -1, 102, -1, + 109, -1, 179, -1, 181, -1, 199, -1, 215, -1, + 227, -1, 228, -1, 230, -1, 253, -1, 255, -1, + 282, -1, 298, -1, 322, -1, 324, -1, 381, -1, + 410, -1, 439, -1, 485, -1, 31, -1, 35, -1, + 36, -1, 37, -1, 38, -1, 39, -1, 40, -1, + 41, -1, 45, -1, 59, -1, 67, -1, 68, -1, + 74, -1, 80, -1, 82, -1, 94, -1, 101, -1, + 106, -1, 107, -1, 108, -1, 110, -1, 111, -1, + 112, -1, 122, -1, 124, -1, 132, -1, 137, -1, + 138, -1, 144, -1, 149, -1, 155, -1, 166, -1, + 168, -1, 174, -1, 176, -1, 180, -1, 186, -1, + 189, -1, 193, -1, 204, -1, 213, -1, 223, -1, + 225, -1, 249, -1, 250, -1, 256, -1, 260, -1, + 261, -1, 295, -1, 300, -1, 308, -1, 312, -1, + 313, -1, 317, -1, 318, -1, 338, -1, 348, -1, + 364, -1, 378, -1, 398, -1, 404, -1, 415, -1, + 433, -1, 436, -1, 437, -1, 446, -1, 450, -1, + 451, -1, 457, -1, 467, -1, 468, -1, 474, -1, + 475, -1, 483, -1, 491, -1, 492, -1, 494, -1, + 495, -1, 22, -1, 23, -1, 24, -1, 25, -1, + 26, -1, 27, -1, 28, -1, 29, -1, 30, -1, + 31, -1, 32, -1, 33, -1, 34, -1, 35, -1, + 36, -1, 37, -1, 38, -1, 41, -1, 42, -1, + 43, -1, 44, -1, 45, -1, 47, -1, 46, -1, + 48, -1, 49, -1, 50, -1, 51, -1, 52, -1, + 53, -1, 54, -1, 55, -1, 56, -1, 57, -1, + 58, -1, 59, -1, 60, -1, 61, -1, 62, -1, + 63, -1, 64, -1, 65, -1, 66, -1, 67, -1, + 68, -1, 69, -1, 70, -1, 73, -1, 74, -1, + 75, -1, 76, -1, 77, -1, 78, -1, 79, -1, + 80, -1, 81, -1, 82, -1, 83, -1, 84, -1, + 85, -1, 86, -1, 87, -1, 88, -1, 89, -1, + 90, -1, 91, -1, 92, -1, 93, -1, 94, -1, + 95, -1, 96, -1, 97, -1, 98, -1, 99, -1, + 100, -1, 102, -1, 103, -1, 104, -1, 105, -1, + 106, -1, 107, -1, 108, -1, 109, -1, 110, -1, + 111, -1, 112, -1, 113, -1, 114, -1, 115, -1, + 116, -1, 118, -1, 119, -1, 120, -1, 121, -1, + 122, -1, 123, -1, 124, -1, 125, -1, 126, -1, 127, -1, 128, -1, 129, -1, 130, -1, 131, -1, - 133, -1, 134, -1, 135, -1, 136, -1, 139, -1, - 140, -1, 141, -1, 142, -1, 143, -1, 145, -1, - 146, -1, 147, -1, 148, -1, 150, -1, 151, -1, + 132, -1, 133, -1, 134, -1, 135, -1, 136, -1, + 137, -1, 138, -1, 139, -1, 140, -1, 141, -1, + 142, -1, 143, -1, 144, -1, 145, -1, 146, -1, + 147, -1, 148, -1, 149, -1, 150, -1, 151, -1, 152, -1, 153, -1, 154, -1, 156, -1, 157, -1, - 158, -1, 159, -1, 161, -1, 162, -1, 163, -1, - 164, -1, 167, -1, 169, -1, 170, -1, 171, -1, - 173, -1, 175, -1, 177, -1, 178, -1, 182, -1, - 183, -1, 184, -1, 185, -1, 187, -1, 191, -1, - 192, -1, 194, -1, 195, -1, 196, -1, 197, -1, - 198, -1, 200, -1, 201, -1, 202, -1, 203, -1, - 205, -1, 206, -1, 207, -1, 208, -1, 209, -1, - 210, -1, 211, -1, 212, -1, 214, -1, 217, -1, - 218, -1, 219, -1, 220, -1, 226, -1, 229, -1, - 242, -1, 243, -1, 244, -1, 245, -1, 246, -1, - 247, -1, 248, -1, 251, -1, 254, -1, 257, -1, - 258, -1, 259, -1, 262, -1, 263, -1, 264, -1, + 158, -1, 159, -1, 160, -1, 161, -1, 162, -1, + 163, -1, 164, -1, 165, -1, 166, -1, 167, -1, + 170, -1, 171, -1, 172, -1, 173, -1, 175, -1, + 176, -1, 177, -1, 178, -1, 179, -1, 181, -1, + 182, -1, 183, -1, 184, -1, 185, -1, 187, -1, + 188, -1, 190, -1, 191, -1, 192, -1, 194, -1, + 195, -1, 197, -1, 198, -1, 199, -1, 200, -1, + 201, -1, 202, -1, 203, -1, 204, -1, 205, -1, + 206, -1, 207, -1, 208, -1, 209, -1, 210, -1, + 211, -1, 212, -1, 213, -1, 214, -1, 215, -1, + 216, -1, 217, -1, 218, -1, 219, -1, 220, -1, + 221, -1, 222, -1, 224, -1, 226, -1, 227, -1, + 229, -1, 230, -1, 231, -1, 232, -1, 233, -1, + 234, -1, 235, -1, 236, -1, 237, -1, 238, -1, + 239, -1, 240, -1, 241, -1, 242, -1, 243, -1, + 244, -1, 245, -1, 246, -1, 247, -1, 248, -1, + 249, -1, 250, -1, 251, -1, 252, -1, 253, -1, + 254, -1, 255, -1, 257, -1, 258, -1, 259, -1, + 260, -1, 261, -1, 262, -1, 263, -1, 264, -1, 265, -1, 266, -1, 267, -1, 268, -1, 269, -1, - 270, -1, 271, -1, 273, -1, 274, -1, 275, -1, - 276, -1, 277, -1, 278, -1, 279, -1, 280, -1, - 284, -1, 285, -1, 286, -1, 287, -1, 288, -1, - 289, -1, 290, -1, 291, -1, 294, -1, 296, -1, - 297, -1, 299, -1, 302, -1, 304, -1, 305, -1, - 306, -1, 307, -1, 309, -1, 310, -1, 311, -1, - 314, -1, 315, -1, 316, -1, 319, -1, 320, -1, - 323, -1, 326, -1, 327, -1, 328, -1, 329, -1, - 330, -1, 331, -1, 332, -1, 333, -1, 334, -1, - 335, -1, 336, -1, 337, -1, 339, -1, 340, -1, - 341, -1, 343, -1, 346, -1, 347, -1, 345, -1, + 270, -1, 271, -1, 272, -1, 273, -1, 275, -1, + 276, -1, 278, -1, 279, -1, 280, -1, 281, -1, + 282, -1, 283, -1, 284, -1, 285, -1, 286, -1, + 287, -1, 288, -1, 289, -1, 290, -1, 291, -1, + 292, -1, 293, -1, 294, -1, 295, -1, 296, -1, + 297, -1, 299, -1, 300, -1, 301, -1, 302, -1, + 303, -1, 304, -1, 305, -1, 306, -1, 307, -1, + 309, -1, 310, -1, 311, -1, 313, -1, 314, -1, + 315, -1, 316, -1, 317, -1, 319, -1, 320, -1, + 321, -1, 322, -1, 325, -1, 326, -1, 327, -1, + 328, -1, 329, -1, 330, -1, 331, -1, 332, -1, + 333, -1, 334, -1, 335, -1, 336, -1, 337, -1, + 338, -1, 339, -1, 340, -1, 341, -1, 342, -1, + 343, -1, 346, -1, 347, -1, 345, -1, 348, -1, 349, -1, 350, -1, 351, -1, 352, -1, 353, -1, 354, -1, 355, -1, 356, -1, 357, -1, 358, -1, - 359, -1, 361, -1, 362, -1, 363, -1, 365, -1, - 366, -1, 367, -1, 368, -1, 369, -1, 370, -1, - 371, -1, 372, -1, 373, -1, 374, -1, 375, -1, - 376, -1, 377, -1, 379, -1, 380, -1, 382, -1, - 383, -1, 384, -1, 385, -1, 386, -1, 388, -1, - 389, -1, 390, -1, 391, -1, 392, -1, 393, -1, - 394, -1, 395, -1, 396, -1, 397, -1, 399, -1, - 400, -1, 401, -1, 402, -1, 403, -1, 405, -1, - 406, -1, 408, -1, 409, -1, 411, -1, 412, -1, - 414, -1, 416, -1, 417, -1, 418, -1, 419, -1, - 420, -1, 421, -1, 422, -1, 423, -1, 424, -1, - 425, -1, 426, -1, 427, -1, 428, -1, 429, -1, - 430, -1, 432, -1, 434, -1, 435, -1, 438, -1, - 440, -1, 441, -1, 442, -1, 443, -1, 444, -1, - 445, -1, 447, -1, 452, -1, 453, -1, 455, -1, - 458, -1, 459, -1, 460, -1, 461, -1, 462, -1, - 463, -1, 465, -1, 464, -1, 466, -1, 469, -1, - 470, -1, 471, -1, 472, -1, 473, -1, 476, -1, - 477, -1, 478, -1, 479, -1, 480, -1, 484, -1, - 486, -1, 487, -1, 488, -1, 489, -1, 490, -1, - 493, -1, 496, -1, 497, -1, 498, -1, 499, -1, - 500, -1, 501, -1, 513, -1, 514, -1, 515, -1, - 54, -1, 55, -1, 57, -1, 58, -1, 71, -1, - 72, -1, 79, -1, 119, -1, 120, -1, 160, -1, - 165, -1, 172, -1, 188, -1, 190, -1, 216, -1, - 221, -1, 222, -1, 224, -1, 231, -1, 232, -1, - 233, -1, 234, -1, 235, -1, 236, -1, 237, -1, - 238, -1, 239, -1, 240, -1, 241, -1, 252, -1, - 272, -1, 281, -1, 283, -1, 292, -1, 293, -1, - 301, -1, 303, -1, 321, -1, 325, -1, 342, -1, - 344, -1, 360, -1, 387, -1, 407, -1, 413, -1, - 431, -1, 448, -1, 449, -1, 454, -1, 456, -1, - 481, -1, 482, -1, 502, -1, 503, -1, 504, -1, - 505, -1, 506, -1, 507, -1, 508, -1, 509, -1, - 510, -1, 511, -1, 512, -1, 50, -1, 56, -1, - 81, -1, 89, -1, 102, -1, 109, -1, 179, -1, - 181, -1, 199, -1, 215, -1, 227, -1, 228, -1, - 230, -1, 253, -1, 255, -1, 282, -1, 298, -1, - 322, -1, 324, -1, 381, -1, 410, -1, 439, -1, - 485, -1, 31, -1, 35, -1, 36, -1, 37, -1, - 38, -1, 39, -1, 40, -1, 41, -1, 45, -1, - 59, -1, 67, -1, 68, -1, 74, -1, 80, -1, - 82, -1, 94, -1, 101, -1, 106, -1, 107, -1, - 108, -1, 110, -1, 111, -1, 112, -1, 122, -1, - 124, -1, 132, -1, 137, -1, 138, -1, 144, -1, - 149, -1, 155, -1, 166, -1, 168, -1, 174, -1, - 176, -1, 180, -1, 186, -1, 189, -1, 193, -1, - 204, -1, 213, -1, 223, -1, 225, -1, 249, -1, - 250, -1, 256, -1, 260, -1, 261, -1, 295, -1, - 300, -1, 308, -1, 312, -1, 313, -1, 317, -1, - 318, -1, 338, -1, 348, -1, 364, -1, 378, -1, - 398, -1, 404, -1, 415, -1, 433, -1, 436, -1, - 437, -1, 446, -1, 450, -1, 451, -1, 457, -1, - 467, -1, 468, -1, 474, -1, 475, -1, 483, -1, - 491, -1, 492, -1, 494, -1, 495, -1, 22, -1, - 23, -1, 24, -1, 25, -1, 26, -1, 27, -1, - 28, -1, 29, -1, 30, -1, 31, -1, 32, -1, - 33, -1, 34, -1, 35, -1, 36, -1, 37, -1, - 38, -1, 41, -1, 42, -1, 43, -1, 44, -1, - 45, -1, 47, -1, 46, -1, 48, -1, 49, -1, - 50, -1, 51, -1, 52, -1, 53, -1, 54, -1, - 55, -1, 56, -1, 57, -1, 58, -1, 59, -1, - 60, -1, 61, -1, 62, -1, 63, -1, 64, -1, - 65, -1, 66, -1, 67, -1, 68, -1, 69, -1, - 70, -1, 73, -1, 74, -1, 75, -1, 76, -1, - 77, -1, 78, -1, 79, -1, 80, -1, 81, -1, - 82, -1, 83, -1, 84, -1, 85, -1, 86, -1, - 87, -1, 88, -1, 89, -1, 90, -1, 91, -1, - 92, -1, 93, -1, 94, -1, 95, -1, 96, -1, - 97, -1, 98, -1, 99, -1, 100, -1, 102, -1, - 103, -1, 104, -1, 105, -1, 106, -1, 107, -1, - 108, -1, 109, -1, 110, -1, 111, -1, 112, -1, - 113, -1, 114, -1, 115, -1, 116, -1, 118, -1, - 119, -1, 120, -1, 121, -1, 122, -1, 123, -1, - 124, -1, 125, -1, 126, -1, 127, -1, 128, -1, - 129, -1, 130, -1, 131, -1, 132, -1, 133, -1, - 134, -1, 135, -1, 136, -1, 137, -1, 138, -1, - 139, -1, 140, -1, 141, -1, 142, -1, 143, -1, - 144, -1, 145, -1, 146, -1, 147, -1, 148, -1, - 149, -1, 150, -1, 151, -1, 152, -1, 153, -1, - 154, -1, 156, -1, 157, -1, 158, -1, 159, -1, - 160, -1, 161, -1, 162, -1, 163, -1, 164, -1, - 165, -1, 166, -1, 167, -1, 170, -1, 171, -1, - 172, -1, 173, -1, 175, -1, 176, -1, 177, -1, - 178, -1, 179, -1, 181, -1, 182, -1, 183, -1, - 184, -1, 185, -1, 187, -1, 188, -1, 190, -1, - 191, -1, 192, -1, 194, -1, 195, -1, 197, -1, - 198, -1, 199, -1, 200, -1, 201, -1, 202, -1, - 203, -1, 204, -1, 205, -1, 206, -1, 207, -1, - 208, -1, 209, -1, 210, -1, 211, -1, 212, -1, - 213, -1, 214, -1, 215, -1, 216, -1, 217, -1, - 218, -1, 219, -1, 220, -1, 221, -1, 222, -1, - 224, -1, 226, -1, 227, -1, 229, -1, 230, -1, - 231, -1, 232, -1, 233, -1, 234, -1, 235, -1, - 236, -1, 237, -1, 238, -1, 239, -1, 240, -1, - 241, -1, 242, -1, 243, -1, 244, -1, 245, -1, - 246, -1, 247, -1, 248, -1, 249, -1, 250, -1, - 251, -1, 252, -1, 253, -1, 254, -1, 255, -1, - 257, -1, 258, -1, 259, -1, 260, -1, 261, -1, - 262, -1, 263, -1, 264, -1, 265, -1, 266, -1, - 267, -1, 268, -1, 269, -1, 270, -1, 271, -1, - 272, -1, 273, -1, 275, -1, 276, -1, 278, -1, - 279, -1, 280, -1, 281, -1, 282, -1, 283, -1, - 284, -1, 285, -1, 286, -1, 287, -1, 288, -1, - 289, -1, 290, -1, 291, -1, 292, -1, 293, -1, - 294, -1, 295, -1, 296, -1, 297, -1, 299, -1, - 300, -1, 301, -1, 302, -1, 303, -1, 304, -1, - 305, -1, 306, -1, 307, -1, 309, -1, 310, -1, - 311, -1, 313, -1, 314, -1, 315, -1, 316, -1, - 317, -1, 319, -1, 320, -1, 321, -1, 322, -1, - 325, -1, 326, -1, 327, -1, 328, -1, 329, -1, - 330, -1, 331, -1, 332, -1, 333, -1, 334, -1, - 335, -1, 336, -1, 337, -1, 338, -1, 339, -1, - 340, -1, 341, -1, 342, -1, 343, -1, 346, -1, - 347, -1, 345, -1, 348, -1, 349, -1, 350, -1, - 351, -1, 352, -1, 353, -1, 354, -1, 355, -1, - 356, -1, 357, -1, 358, -1, 359, -1, 360, -1, - 361, -1, 362, -1, 363, -1, 364, -1, 365, -1, - 366, -1, 367, -1, 368, -1, 369, -1, 370, -1, - 371, -1, 372, -1, 373, -1, 374, -1, 375, -1, - 376, -1, 377, -1, 379, -1, 380, -1, 381, -1, - 382, -1, 383, -1, 384, -1, 385, -1, 386, -1, - 387, -1, 388, -1, 389, -1, 390, -1, 391, -1, - 392, -1, 393, -1, 394, -1, 395, -1, 397, -1, - 398, -1, 399, -1, 400, -1, 401, -1, 402, -1, - 403, -1, 404, -1, 405, -1, 407, -1, 406, -1, - 408, -1, 409, -1, 410, -1, 411, -1, 412, -1, - 413, -1, 414, -1, 415, -1, 416, -1, 417, -1, - 418, -1, 419, -1, 420, -1, 421, -1, 422, -1, - 423, -1, 424, -1, 425, -1, 426, -1, 427, -1, - 428, -1, 429, -1, 430, -1, 431, -1, 432, -1, - 433, -1, 434, -1, 435, -1, 436, -1, 437, -1, - 438, -1, 439, -1, 440, -1, 441, -1, 442, -1, - 443, -1, 444, -1, 445, -1, 446, -1, 447, -1, - 448, -1, 449, -1, 451, -1, 452, -1, 453, -1, - 454, -1, 455, -1, 456, -1, 457, -1, 458, -1, - 459, -1, 460, -1, 461, -1, 462, -1, 463, -1, - 465, -1, 464, -1, 466, -1, 468, -1, 469, -1, - 470, -1, 471, -1, 472, -1, 473, -1, 474, -1, - 475, -1, 476, -1, 477, -1, 478, -1, 479, -1, - 480, -1, 481, -1, 482, -1, 483, -1, 485, -1, - 486, -1, 487, -1, 488, -1, 489, -1, 490, -1, - 491, -1, 493, -1, 498, -1, 499, -1, 500, -1, - 501, -1, 502, -1, 503, -1, 504, -1, 505, -1, - 506, -1, 507, -1, 508, -1, 509, -1, 510, -1, - 511, -1, 512, -1, 514, -1, 515, -1 + 359, -1, 360, -1, 361, -1, 362, -1, 363, -1, + 364, -1, 365, -1, 366, -1, 367, -1, 368, -1, + 369, -1, 370, -1, 371, -1, 372, -1, 373, -1, + 374, -1, 375, -1, 376, -1, 377, -1, 379, -1, + 380, -1, 381, -1, 382, -1, 383, -1, 384, -1, + 385, -1, 386, -1, 387, -1, 388, -1, 389, -1, + 390, -1, 391, -1, 392, -1, 393, -1, 394, -1, + 395, -1, 397, -1, 398, -1, 399, -1, 400, -1, + 401, -1, 402, -1, 403, -1, 404, -1, 405, -1, + 407, -1, 406, -1, 408, -1, 409, -1, 410, -1, + 411, -1, 412, -1, 413, -1, 414, -1, 415, -1, + 416, -1, 417, -1, 418, -1, 419, -1, 420, -1, + 421, -1, 422, -1, 423, -1, 424, -1, 425, -1, + 426, -1, 427, -1, 428, -1, 429, -1, 430, -1, + 431, -1, 432, -1, 433, -1, 434, -1, 435, -1, + 436, -1, 437, -1, 438, -1, 439, -1, 440, -1, + 441, -1, 442, -1, 443, -1, 444, -1, 445, -1, + 446, -1, 447, -1, 448, -1, 449, -1, 451, -1, + 452, -1, 453, -1, 454, -1, 455, -1, 456, -1, + 457, -1, 458, -1, 459, -1, 460, -1, 461, -1, + 462, -1, 463, -1, 465, -1, 464, -1, 466, -1, + 468, -1, 469, -1, 470, -1, 471, -1, 472, -1, + 473, -1, 474, -1, 475, -1, 476, -1, 477, -1, + 478, -1, 479, -1, 480, -1, 481, -1, 482, -1, + 483, -1, 485, -1, 486, -1, 487, -1, 488, -1, + 489, -1, 490, -1, 491, -1, 493, -1, 498, -1, + 499, -1, 500, -1, 501, -1, 502, -1, 503, -1, + 504, -1, 505, -1, 506, -1, 507, -1, 508, -1, + 509, -1, 510, -1, 511, -1, 512, -1, 514, -1, + 515, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ @@ -3382,244 +3383,242 @@ static const yytype_uint16 yyrline[] = 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1120, 1127, 1128, 1132, 1133, 1137, 1138, 1142, 1143, 1144, 1153, 1169, 1181, 1182, - 1183, 1192, 1193, 1197, 1198, 1202, 1207, 1212, 1216, 1226, - 1236, 1244, 1248, 1252, 1257, 1261, 1309, 1311, 1315, 1319, - 1323, 1327, 1341, 1360, 1369, 1381, 1382, 1386, 1395, 1404, - 1413, 1435, 1443, 1451, 1459, 1467, 1475, 1493, 1512, 1524, - 1525, 1536, 1547, 1558, 1574, 1593, 1598, 1606, 1607, 1608, - 1609, 1610, 1611, 1625, 1632, 1639, 1649, 1660, 1671, 1675, - 1685, 1695, 1704, 1716, 1717, 1727, 1741, 1749, 1759, 1767, - 1780, 1790, 1798, 1808, 1816, 1825, 1837, 1849, 1850, 1854, - 1855, 1858, 1860, 1862, 1866, 1867, 1868, 1869, 1873, 1874, - 1875, 1881, 1893, 1897, 1901, 1905, 1922, 1930, 1931, 1932, - 1936, 1937, 1938, 1942, 1943, 1947, 1951, 1952, 1961, 1970, - 1982, 1991, 2003, 2004, 2009, 2010, 2015, 2022, 2029, 2036, - 2043, 2054, 2065, 2066, 2070, 2071, 2079, 2095, 2102, 2109, - 2116, 2123, 2143, 2153, 2163, 2173, 2183, 2195, 2207, 2217, - 2227, 2237, 2249, 2261, 2271, 2281, 2291, 2301, 2311, 2321, - 2333, 2345, 2355, 2368, 2369, 2374, 2388, 2401, 2417, 2434, - 2444, 2454, 2464, 2474, 2484, 2493, 2502, 2512, 2521, 2531, - 2541, 2557, 2567, 2577, 2587, 2597, 2614, 2624, 2634, 2644, - 2655, 2669, 2685, 2695, 2704, 2735, 2749, 2758, 2769, 2780, - 2788, 2797, 2806, 2814, 2822, 2831, 2840, 2849, 2857, 2865, - 2874, 2882, 2890, 2899, 2908, 2917, 2926, 2935, 2944, 2955, - 2963, 2972, 2981, 2990, 2999, 3008, 3017, 3025, 3033, 3041, - 3048, 3059, 3060, 3064, 3073, 3077, 3078, 3082, 3090, 3098, - 3106, 3117, 3120, 3121, 3125, 3126, 3131, 3135, 3139, 3144, - 3151, 3153, 3158, 3162, 3166, 3177, 3184, 3185, 3189, 3190, - 3195, 3250, 3263, 3277, 3289, 3296, 3300, 3314, 3327, 3328, - 3333, 3343, 3354, 3365, 3392, 3399, 3433, 3469, 3492, 3493, - 3497, 3498, 3507, 3508, 3509, 3512, 3513, 3518, 3519, 3523, - 3527, 3531, 3535, 3539, 3543, 3547, 3551, 3555, 3559, 3563, - 3567, 3571, 3575, 3579, 3588, 3592, 3596, 3600, 3604, 3605, - 3610, 3614, 3621, 3628, 3629, 3630, 3631, 3632, 3633, 3637, - 3641, 3649, 3660, 3680, 3700, 3721, 3742, 3763, 3797, 3798, - 3799, 3800, 3801, 3808, 3815, 3816, 3820, 3821, 3825, 3826, - 3830, 3834, 3841, 3845, 3852, 3853, 3854, 3858, 3859, 3862, - 3886, 3905, 3927, 3928, 3932, 3933, 3937, 3938, 3942, 3943, - 3947, 3948, 3952, 3960, 3961, 3962, 3994, 4006, 4014, 4027, - 4039, 4053, 4063, 4073, 4098, 4119, 4120, 4121, 4125, 4126, - 4130, 4131, 4132, 4151, 4159, 4167, 4175, 4183, 4191, 4203, - 4215, 4216, 4217, 4221, 4222, 4223, 4224, 4225, 4226, 4227, - 4228, 4229, 4230, 4239, 4247, 4251, 4265, 4278, 4297, 4313, - 4331, 4347, 4367, 4412, 4420, 4424, 4439, 4455, 4456, 4460, - 4461, 4465, 4466, 4470, 4471, 4475, 4476, 4480, 4481, 4484, - 4490, 4491, 4494, 4498, 4506, 4511, 4517, 4518, 4522, 4527, - 4534, 4535, 4539, 4549, 4559, 4567, 4576, 4589, 4601, 4608, - 4616, 4624, 4632, 4640, 4650, 4651, 4655, 4656, 4659, 4671, - 4672, 4675, 4686, 4697, 4711, 4712, 4717, 4718, 4719, 4722, - 4723, 4724, 4725, 4728, 4729, 4732, 4733, 4736, 4756, 4769, - 4791, 4792, 4795, 4801, 4807, 4824, 4833, 4855, 4869, 4886, - 4902, 4903, 4904, 4916, 4930, 4947, 4961, 4962, 4974, 4995, - 5006, 5020, 5029, 5041, 5042, 5045, 5046, 5049, 5050, 5053, - 5057, 5061, 5065, 5069, 5073, 5077, 5081, 5085, 5089, 5093, - 5097, 5101, 5105, 5109, 5113, 5119, 5120, 5124, 5125, 5126, - 5133, 5136, 5137, 5149, 5165, 5181, 5182, 5190, 5191, 5195, - 5196, 5200, 5201, 5205, 5206, 5210, 5211, 5221, 5233, 5234, - 5247, 5255, 5273, 5282, 5294, 5297, 5301, 5305, 5309, 5316, - 5328, 5339, 5342, 5346, 5359, 5369, 5379, 5389, 5399, 5409, - 5419, 5429, 5439, 5449, 5459, 5469, 5479, 5498, 5510, 5511, - 5512, 5513, 5517, 5518, 5522, 5523, 5533, 5542, 5555, 5556, - 5560, 5564, 5572, 5576, 5580, 5587, 5591, 5596, 5601, 5608, - 5615, 5620, 5630, 5643, 5659, 5660, 5665, 5666, 5670, 5671, - 5681, 5691, 5700, 5718, 5739, 5760, 5782, 5816, 5832, 5833, - 5837, 5846, 5861, 5871, 5884, 5885, 5897, 5906, 5924, 5949, - 5967, 5982, 5983, 5987, 5988, 5992, 5993, 5997, 5998, 6002, - 6016, 6020, 6021, 6025, 6026, 6027, 6028, 6029, 6039, 6051, - 6052, 6063, 6086, 6119, 6120, 6121, 6125, 6127, 6149, 6151, - 6153, 6155, 6157, 6162, 6163, 6167, 6168, 6172, 6184, 6185, - 6189, 6198, 6202, 6206, 6211, 6221, 6222, 6226, 6227, 6231, - 6232, 6236, 6237, 6241, 6242, 6243, 6247, 6251, 6252, 6253, - 6257, 6258, 6263, 6264, 6292, 6293, 6294, 6295, 6296, 6297, - 6298, 6299, 6312, 6323, 6338, 6340, 6345, 6350, 6352, 6357, - 6368, 6369, 6370, 6371, 6382, 6402, 6414, 6427, 6438, 6449, - 6461, 6470, 6478, 6486, 6496, 6506, 6516, 6526, 6536, 6547, - 6557, 6570, 6573, 6574, 6577, 6581, 6588, 6589, 6590, 6591, - 6592, 6593, 6596, 6599, 6600, 6608, 6615, 6616, 6619, 6621, - 6632, 6644, 6656, 6668, 6680, 6709, 6710, 6726, 6742, 6743, - 6747, 6760, 6770, 6779, 6789, 6799, 6800, 6803, 6804, 6807, - 6808, 6809, 6814, 6825, 6835, 6848, 6849, 6853, 6862, 6875, - 6886, 6900, 6911, 6934, 6945, 6964, 6975, 6986, 6997, 7008, - 7019, 7030, 7041, 7052, 7063, 7074, 7085, 7100, 7101, 7102, - 7103, 7104, 7105, 7106, 7107, 7108, 7109, 7110, 7111, 7112, - 7122, 7123, 7124, 7125, 7126, 7130, 7131, 7132, 7133, 7134, - 7135, 7136, 7137, 7142, 7143, 7144, 7148, 7149, 7152, 7153, - 7156, 7158, 7163, 7164, 7175, 7187, 7188, 7189, 7199, 7208, - 7217, 7226, 7235, 7244, 7253, 7262, 7271, 7280, 7294, 7303, - 7312, 7321, 7330, 7339, 7348, 7357, 7369, 7370, 7384, 7395, - 7406, 7417, 7428, 7439, 7450, 7461, 7472, 7483, 7496, 7497, - 7500, 7501, 7511, 7518, 7527, 7536, 7545, 7554, 7563, 7572, - 7581, 7590, 7599, 7608, 7617, 7626, 7635, 7644, 7653, 7662, - 7673, 7674, 7677, 7678, 7688, 7706, 7722, 7750, 7752, 7754, - 7756, 7764, 7774, 7775, 7778, 7786, 7794, 7802, 7809, 7820, - 7824, 7831, 7835, 7846, 7855, 7864, 7873, 7882, 7891, 7900, - 7909, 7918, 7927, 7936, 7945, 7954, 7962, 7971, 7980, 7989, - 7998, 8007, 8016, 8025, 8038, 8039, 8043, 8044, 8049, 8050, - 8060, 8071, 8085, 8097, 8115, 8116, 8120, 8127, 8128, 8129, - 8132, 8133, 8143, 8154, 8155, 8159, 8163, 8167, 8178, 8192, - 8207, 8225, 8226, 8227, 8228, 8229, 8230, 8231, 8243, 8275, - 8310, 8311, 8315, 8316, 8319, 8320, 8325, 8337, 8356, 8361, - 8366, 8373, 8374, 8377, 8378, 8381, 8382, 8386, 8387, 8388, - 8391, 8392, 8393, 8409, 8423, 8438, 8452, 8469, 8470, 8473, - 8474, 8478, 8479, 8483, 8484, 8489, 8503, 8511, 8519, 8535, - 8536, 8540, 8541, 8556, 8567, 8578, 8589, 8600, 8614, 8615, - 8616, 8617, 8618, 8624, 8628, 8643, 8644, 8650, 8660, 8664, - 8669, 8677, 8719, 8723, 8727, 8731, 8739, 8740, 8744, 8756, - 8757, 8762, 8763, 8768, 8769, 8776, 8780, 8784, 8788, 8792, - 8796, 8800, 8804, 8808, 8812, 8816, 8820, 8824, 8828, 8832, - 8836, 8841, 8848, 8852, 8856, 8860, 8864, 8870, 8871, 8877, - 8887, 8891, 8902, 8908, 8917, 8923, 8924, 8928, 8929, 8933, - 8934, 8937, 8951, 8955, 8970, 8979, 8988, 9001, 9002, 9007, - 9008, 9025, 9036, 9047, 9058, 9069, 9080, 9094, 9105, 9119, - 9130, 9144, 9152, 9154, 9156, 9161, 9163, 9168, 9169, 9174, - 9193, 9203, 9204, 9208, 9212, 9224, 9236, 9248, 9262, 9263, - 9264, 9268, 9281, 9282, 9292, 9305, 9309, 9313, 9317, 9324, - 9346, 9359, 9372, 9387, 9388, 9391, 9392, 9395, 9396, 9406, - 9416, 9434, 9444, 9454, 9464, 9474, 9484, 9494, 9504, 9514, - 9524, 9534, 9544, 9554, 9565, 9576, 9586, 9596, 9606, 9616, - 9626, 9636, 9647, 9658, 9669, 9680, 9691, 9702, 9713, 9724, - 9735, 9746, 9757, 9768, 9780, 9792, 9804, 9816, 9828, 9840, - 9851, 9862, 9874, 9886, 9897, 9908, 9917, 9927, 9937, 9947, - 9957, 9967, 9977, 9987, 9997, 10007, 10022, 10023, 10026, 10027, - 10037, 10047, 10057, 10067, 10078, 10088, 10100, 10101, 10111, 10121, - 10131, 10141, 10151, 10161, 10171, 10181, 10191, 10201, 10211, 10221, - 10231, 10241, 10251, 10261, 10271, 10281, 10291, 10301, 10311, 10321, - 10331, 10341, 10351, 10361, 10371, 10390, 10400, 10401, 10404, 10406, - 10408, 10414, 10415, 10416, 10417, 10418, 10430, 10446, 10455, 10464, - 10473, 10482, 10491, 10500, 10509, 10518, 10527, 10536, 10545, 10554, - 10563, 10572, 10581, 10590, 10599, 10608, 10617, 10626, 10635, 10644, - 10653, 10681, 10689, 10698, 10724, 10733, 10740, 10746, 10773, 10784, - 10793, 10801, 10803, 10825, 10833, 10843, 10853, 10872, 10891, 10901, - 10911, 10921, 10932, 10943, 10954, 10965, 10976, 10994, 11003, 11020, - 11038, 11039, 11040, 11045, 11051, 11060, 11061, 11062, 11063, 11064, - 11068, 11069, 11072, 11073, 11074, 11075, 11079, 11080, 11081, 11093, - 11104, 11105, 11108, 11118, 11125, 11145, 11155, 11164, 11174, 11184, - 11193, 11202, 11211, 11220, 11229, 11238, 11247, 11259, 11268, 11280, - 11281, 11282, 11286, 11289, 11292, 11295, 11298, 11305, 11307, 11309, - 11314, 11316, 11320, 11321, 11322, 11334, 11348, 11362, 11381, 11403, - 11404, 11405, 11406, 11416, 11433, 11444, 11445, 11449, 11450, 11454, - 11458, 11462, 11480, 11481, 11482, 11483, 11484, 11485, 11486, 11493, - 11494, 11505, 11513, 11521, 11530, 11540, 11558, 11567, 11576, 11585, - 11597, 11601, 11612, 11624, 11642, 11649, 11666, 11680, 11690, 11699, - 11708, 11718, 11730, 11742, 11753, 11754, 11765, 11776, 11788, 11800, - 11812, 11824, 11834, 11847, 11848, 11862, 11886, 11895, 11905, 11917, - 11929, 11943, 11944, 11956, 11977, 11988, 12000, 12012, 12016, 12023, - 12024, 12028, 12035, 12036, 12037, 12041, 12042, 12043, 12047, 12048, - 12052, 12053, 12056, 12057, 12060, 12061, 12065, 12066, 12070, 12077, - 12079, 12084, 12085, 12098, 12106, 12117, 12125, 12136, 12137, 12138, - 12139, 12140, 12141, 12142, 12143, 12144, 12145, 12155, 12166, 12167, - 12171, 12172, 12173, 12174, 12175, 12185, 12193, 12211, 12231, 12232, - 12242, 12251, 12260, 12269, 12288, 12306, 12310, 12318, 12324, 12331, - 12337, 12344, 12353, 12354, 12358, 12360, 12365, 12376, 12386, 12396, - 12402, 12411, 12420, 12426, 12435, 12441, 12442, 12446, 12447, 12451, - 12463, 12464, 12475, 12490, 12491, 12502, 12513, 12514, 12517, 12518, - 12519, 12520, 12521, 12522, 12523, 12524, 12527, 12528, 12532, 12533, - 12534, 12545, 12564, 12565, 12569, 12574, 12598, 12609, 12610, 12622, - 12642, 12643, 12653, 12660, 12667, 12674, 12684, 12697, 12698, 12702, - 12703, 12707, 12708, 12712, 12725, 12738, 12747, 12756, 12765, 12774, - 12786, 12798, 12810, 12813, 12814, 12815, 12816, 12817, 12818, 12821, - 12822, 12823, 12871, 12872, 12876, 12877, 12892, 12893, 12900, 12908, - 12916, 12924, 12932, 12940, 12951, 12952, 12984, 13000, 13017, 13018, - 13037, 13041, 13045, 13060, 13067, 13074, 13084, 13085, 13088, 13104, - 13105, 13106, 13110, 13120, 13131, 13137, 13149, 13162, 13168, 13169, - 13173, 13185, 13193, 13198, 13203, 13208, 13213, 13221, 13229, 13234, - 13239, 13246, 13247, 13251, 13252, 13253, 13260, 13261, 13265, 13266, - 13270, 13271, 13275, 13276, 13280, 13284, 13285, 13288, 13297, 13310, - 13316, 13322, 13326, 13341, 13342, 13346, 13358, 13374, 13386, 13398, - 13410, 13425, 13428, 13433, 13434, 13442, 13462, 13463, 13465, 13470, - 13471, 13475, 13476, 13479, 13480, 13505, 13514, 13524, 13525, 13529, - 13530, 13531, 13532, 13533, 13537, 13550, 13557, 13564, 13571, 13572, - 13576, 13577, 13581, 13582, 13586, 13587, 13591, 13603, 13604, 13605, - 13606, 13610, 13611, 13621, 13628, 13647, 13648, 13652, 13653, 13659, - 13664, 13673, 13681, 13690, 13697, 13705, 13714, 13723, 13727, 13732, - 13739, 13768, 13772, 13786, 13807, 13829, 13842, 13859, 13865, 13870, - 13876, 13883, 13884, 13894, 13900, 13908, 13912, 13916, 13923, 13931, - 13936, 13937, 13938, 13939, 13943, 13944, 13959, 13963, 13971, 13978, - 13985, 13992, 13999, 14010, 14011, 14024, 14028, 14036, 14050, 14064, - 14065, 14080, 14091, 14104, 14109, 14110, 14113, 14114, 14117, 14118, - 14123, 14124, 14129, 14130, 14139, 14144, 14145, 14149, 14153, 14159, - 14184, 14195, 14209, 14210, 14214, 14228, 14285, 14299, 14301, 14306, - 14315, 14317, 14319, 14321, 14326, 14328, 14333, 14341, 14352, 14380, - 14381, 14385, 14387, 14392, 14401, 14421, 14441, 14459, 14471, 14486, - 14487, 14491, 14494, 14507, 14512, 14519, 14524, 14530, 14535, 14544, - 14546, 14549, 14553, 14554, 14555, 14556, 14557, 14558, 14563, 14569, - 14584, 14585, 14586, 14587, 14588, 14599, 14605, 14613, 14614, 14620, - 14625, 14630, 14635, 14640, 14645, 14650, 14655, 14661, 14667, 14673, - 14680, 14702, 14711, 14715, 14723, 14727, 14735, 14747, 14768, 14772, - 14778, 14782, 14795, 14803, 14813, 14815, 14817, 14819, 14821, 14823, - 14828, 14829, 14836, 14845, 14853, 14862, 14873, 14881, 14882, 14883, - 14887, 14889, 14891, 14893, 14895, 14897, 14899, 14904, 14909, 14915, - 14923, 14928, 14935, 14942, 14946, 14950, 14958, 14993, 14994, 14996, - 15005, 15012, 15028, 15030, 15032, 15034, 15036, 15038, 15040, 15042, - 15044, 15046, 15048, 15050, 15052, 15054, 15057, 15059, 15062, 15064, - 15066, 15068, 15071, 15076, 15085, 15090, 15099, 15104, 15113, 15118, - 15128, 15137, 15146, 15155, 15174, 15183, 15192, 15201, 15210, 15227, - 15236, 15245, 15254, 15263, 15272, 15281, 15285, 15289, 15297, 15305, - 15313, 15321, 15334, 15343, 15357, 15366, 15378, 15385, 15401, 15406, - 15412, 15419, 15426, 15434, 15442, 15459, 15478, 15504, 15506, 15508, - 15510, 15512, 15514, 15516, 15518, 15520, 15522, 15524, 15526, 15528, - 15530, 15532, 15534, 15536, 15538, 15540, 15544, 15548, 15553, 15569, - 15570, 15571, 15588, 15601, 15603, 15605, 15617, 15642, 15654, 15666, - 15674, 15685, 15696, 15706, 15712, 15721, 15731, 15741, 15754, 15764, - 15795, 15831, 15841, 15852, 15853, 15854, 15861, 15868, 15872, 15876, - 15880, 15884, 15888, 15892, 15896, 15900, 15904, 15908, 15912, 15916, - 15923, 15927, 15931, 15935, 15937, 15944, 15951, 15958, 15965, 15976, - 15990, 16000, 16011, 16027, 16037, 16044, 16051, 16058, 16062, 16070, - 16079, 16088, 16092, 16096, 16100, 16104, 16108, 16117, 16121, 16131, - 16135, 16139, 16144, 16155, 16161, 16175, 16186, 16200, 16216, 16228, - 16238, 16247, 16256, 16264, 16286, 16302, 16326, 16328, 16332, 16334, - 16336, 16339, 16342, 16345, 16346, 16349, 16357, 16367, 16368, 16371, - 16372, 16373, 16376, 16377, 16378, 16383, 16387, 16391, 16395, 16402, - 16403, 16411, 16412, 16416, 16417, 16425, 16426, 16430, 16431, 16436, - 16445, 16447, 16462, 16465, 16493, 16494, 16497, 16498, 16506, 16514, - 16522, 16531, 16541, 16559, 16605, 16614, 16623, 16632, 16641, 16653, - 16654, 16655, 16656, 16657, 16671, 16672, 16673, 16676, 16677, 16680, - 16683, 16684, 16685, 16688, 16689, 16692, 16693, 16694, 16695, 16696, - 16697, 16698, 16699, 16700, 16701, 16702, 16703, 16706, 16708, 16713, - 16715, 16720, 16722, 16724, 16726, 16728, 16730, 16742, 16746, 16753, - 16757, 16763, 16767, 16777, 16789, 16790, 16793, 16794, 16797, 16801, - 16805, 16811, 16812, 16817, 16821, 16831, 16832, 16833, 16834, 16835, - 16836, 16837, 16838, 16842, 16843, 16844, 16845, 16850, 16855, 16864, - 16885, 16889, 16894, 16905, 16922, 16928, 16929, 16930, 16940, 16955, - 16956, 16960, 16972, 16973, 16976, 16977, 16980, 16984, 16991, 16995, - 16999, 17008, 17020, 17021, 17025, 17026, 17030, 17031, 17034, 17035, - 17040, 17041, 17045, 17046, 17050, 17062, 17063, 17064, 17065, 17066, - 17067, 17068, 17069, 17070, 17074, 17076, 17081, 17082, 17083, 17084, - 17085, 17086, 17087, 17089, 17093, 17095, 17097, 17100, 17104, 17107, - 17111, 17120, 17138, 17145, 17150, 17156, 17157, 17158, 17159, 17160, - 17164, 17173, 17187, 17188, 17189, 17190, 17191, 17200, 17201, 17202, - 17203, 17204, 17208, 17210, 17220, 17223, 17229, 17230, 17231, 17235, - 17236, 17237, 17241, 17242, 17246, 17264, 17284, 17285, 17294, 17295, - 17299, 17300, 17303, 17311, 17319, 17327, 17350, 17351, 17362, 17366, - 17372, 17374, 17379, 17381, 17383, 17393, 17395, 17406, 17410, 17414, - 17418, 17422, 17431, 17439, 17471, 17478, 17510, 17514, 17521, 17529, - 17533, 17539, 17546, 17550, 17554, 17560, 17561, 17563, 17564, 17565, - 17569, 17610, 17638, 17642, 17646, 17652, 17654, 17668, 17705, 17718, - 17719, 17722, 17723, 17740, 17741, 17742, 17747, 17748, 17749, 17754, - 17755, 17756, 17757, 17763, 17764, 17765, 17766, 17767, 17773, 17774, - 17794, 17795, 17796, 17797, 17798, 17799, 17800, 17801, 17802, 17803, - 17804, 17805, 17806, 17807, 17808, 17809, 17810, 17811, 17812, 17813, - 17814, 17815, 17816, 17817, 17818, 17819, 17820, 17821, 17822, 17823, + 1183, 1192, 1193, 1197, 1198, 1202, 1208, 1213, 1217, 1228, + 1238, 1246, 1250, 1254, 1260, 1264, 1312, 1314, 1318, 1322, + 1326, 1330, 1344, 1363, 1372, 1384, 1385, 1389, 1398, 1407, + 1416, 1438, 1446, 1454, 1462, 1470, 1478, 1496, 1515, 1527, + 1528, 1539, 1550, 1561, 1577, 1596, 1601, 1609, 1610, 1611, + 1612, 1613, 1614, 1628, 1635, 1642, 1652, 1663, 1674, 1678, + 1688, 1698, 1707, 1719, 1720, 1730, 1744, 1752, 1762, 1770, + 1783, 1793, 1801, 1811, 1819, 1828, 1840, 1852, 1856, 1857, + 1860, 1861, 1864, 1866, 1868, 1872, 1873, 1874, 1875, 1879, + 1880, 1881, 1887, 1899, 1903, 1907, 1911, 1928, 1936, 1937, + 1938, 1942, 1943, 1944, 1948, 1949, 1953, 1957, 1958, 1967, + 1976, 1988, 1997, 2009, 2010, 2015, 2016, 2021, 2028, 2035, + 2042, 2049, 2060, 2071, 2072, 2076, 2077, 2085, 2101, 2108, + 2115, 2122, 2129, 2149, 2159, 2169, 2179, 2189, 2201, 2213, + 2223, 2233, 2243, 2255, 2267, 2277, 2287, 2297, 2307, 2317, + 2327, 2339, 2351, 2361, 2374, 2375, 2380, 2394, 2407, 2423, + 2440, 2450, 2460, 2470, 2480, 2490, 2499, 2508, 2518, 2527, + 2537, 2547, 2563, 2573, 2583, 2593, 2603, 2620, 2630, 2640, + 2650, 2661, 2675, 2691, 2701, 2710, 2741, 2755, 2764, 2775, + 2786, 2794, 2803, 2812, 2820, 2828, 2837, 2846, 2855, 2863, + 2871, 2880, 2888, 2896, 2905, 2914, 2923, 2932, 2941, 2950, + 2961, 2969, 2978, 2987, 2996, 3005, 3014, 3023, 3031, 3039, + 3047, 3054, 3065, 3066, 3070, 3079, 3083, 3084, 3088, 3096, + 3104, 3112, 3123, 3126, 3127, 3131, 3132, 3137, 3141, 3145, + 3150, 3157, 3159, 3164, 3168, 3172, 3183, 3190, 3191, 3195, + 3196, 3201, 3256, 3269, 3283, 3295, 3302, 3306, 3320, 3333, + 3334, 3339, 3349, 3360, 3371, 3398, 3405, 3439, 3475, 3498, + 3499, 3503, 3504, 3513, 3514, 3515, 3518, 3519, 3524, 3525, + 3529, 3533, 3537, 3541, 3545, 3549, 3553, 3557, 3561, 3565, + 3569, 3573, 3577, 3581, 3585, 3594, 3598, 3602, 3606, 3610, + 3611, 3616, 3620, 3627, 3634, 3635, 3636, 3637, 3638, 3639, + 3643, 3647, 3655, 3666, 3686, 3706, 3727, 3748, 3769, 3803, + 3804, 3805, 3806, 3807, 3814, 3821, 3822, 3826, 3827, 3831, + 3832, 3836, 3840, 3847, 3851, 3858, 3859, 3860, 3864, 3865, + 3868, 3892, 3911, 3933, 3934, 3938, 3939, 3943, 3944, 3948, + 3949, 3953, 3954, 3958, 3966, 3967, 3968, 4000, 4012, 4020, + 4033, 4045, 4059, 4069, 4079, 4104, 4125, 4126, 4127, 4131, + 4132, 4136, 4137, 4138, 4157, 4165, 4173, 4181, 4189, 4197, + 4209, 4221, 4222, 4223, 4227, 4228, 4229, 4230, 4231, 4232, + 4233, 4234, 4235, 4236, 4245, 4253, 4257, 4271, 4284, 4303, + 4319, 4337, 4353, 4373, 4418, 4426, 4430, 4445, 4461, 4462, + 4466, 4467, 4471, 4472, 4476, 4477, 4481, 4482, 4486, 4487, + 4490, 4496, 4497, 4500, 4504, 4512, 4517, 4523, 4524, 4528, + 4533, 4540, 4541, 4545, 4555, 4565, 4573, 4582, 4595, 4607, + 4614, 4622, 4630, 4638, 4646, 4656, 4657, 4661, 4662, 4665, + 4677, 4678, 4681, 4692, 4703, 4717, 4718, 4723, 4724, 4725, + 4728, 4729, 4730, 4731, 4734, 4735, 4738, 4739, 4742, 4762, + 4775, 4797, 4798, 4801, 4807, 4813, 4830, 4839, 4861, 4875, + 4892, 4908, 4909, 4910, 4922, 4936, 4953, 4967, 4968, 4980, + 5001, 5012, 5026, 5035, 5047, 5048, 5051, 5052, 5055, 5056, + 5059, 5063, 5067, 5071, 5075, 5079, 5083, 5087, 5091, 5095, + 5099, 5103, 5107, 5111, 5115, 5119, 5125, 5126, 5130, 5131, + 5132, 5139, 5142, 5143, 5155, 5171, 5187, 5188, 5196, 5197, + 5201, 5202, 5206, 5207, 5211, 5212, 5216, 5217, 5227, 5239, + 5240, 5253, 5261, 5279, 5288, 5300, 5303, 5307, 5311, 5315, + 5322, 5334, 5345, 5348, 5352, 5365, 5375, 5385, 5395, 5405, + 5415, 5425, 5435, 5445, 5455, 5465, 5475, 5485, 5504, 5516, + 5517, 5518, 5519, 5523, 5524, 5528, 5529, 5539, 5548, 5561, + 5562, 5566, 5570, 5578, 5582, 5586, 5593, 5597, 5602, 5607, + 5614, 5622, 5627, 5637, 5650, 5666, 5667, 5672, 5673, 5677, + 5678, 5688, 5698, 5707, 5725, 5746, 5767, 5789, 5823, 5839, + 5840, 5844, 5853, 5868, 5878, 5891, 5892, 5904, 5913, 5931, + 5956, 5974, 5989, 5990, 5994, 5995, 5999, 6000, 6004, 6005, + 6009, 6023, 6027, 6028, 6032, 6033, 6034, 6035, 6036, 6046, + 6058, 6059, 6070, 6093, 6126, 6127, 6128, 6132, 6134, 6156, + 6158, 6160, 6162, 6164, 6169, 6170, 6174, 6175, 6179, 6191, + 6192, 6196, 6205, 6209, 6213, 6218, 6228, 6229, 6233, 6234, + 6238, 6239, 6243, 6244, 6248, 6249, 6250, 6254, 6258, 6259, + 6260, 6264, 6265, 6270, 6271, 6299, 6300, 6301, 6302, 6303, + 6304, 6305, 6306, 6319, 6330, 6345, 6347, 6352, 6357, 6359, + 6364, 6375, 6376, 6377, 6378, 6389, 6409, 6421, 6434, 6445, + 6456, 6468, 6477, 6485, 6493, 6503, 6513, 6523, 6533, 6543, + 6554, 6564, 6577, 6580, 6581, 6584, 6588, 6595, 6596, 6597, + 6598, 6599, 6600, 6603, 6606, 6607, 6615, 6622, 6623, 6626, + 6628, 6639, 6651, 6663, 6675, 6687, 6716, 6717, 6733, 6749, + 6750, 6754, 6767, 6777, 6786, 6796, 6806, 6807, 6810, 6811, + 6814, 6815, 6816, 6821, 6832, 6842, 6855, 6856, 6860, 6869, + 6882, 6893, 6907, 6918, 6941, 6952, 6971, 6982, 6993, 7004, + 7015, 7026, 7037, 7048, 7059, 7070, 7081, 7092, 7107, 7108, + 7109, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7117, 7118, + 7119, 7129, 7130, 7131, 7132, 7133, 7137, 7138, 7139, 7140, + 7141, 7142, 7143, 7144, 7149, 7150, 7151, 7155, 7156, 7159, + 7160, 7163, 7165, 7170, 7171, 7182, 7194, 7195, 7196, 7206, + 7215, 7224, 7233, 7242, 7251, 7260, 7269, 7278, 7287, 7301, + 7310, 7319, 7328, 7337, 7346, 7355, 7364, 7376, 7377, 7391, + 7402, 7413, 7424, 7435, 7446, 7457, 7468, 7479, 7490, 7503, + 7504, 7507, 7508, 7518, 7525, 7534, 7543, 7552, 7561, 7570, + 7579, 7588, 7597, 7606, 7615, 7624, 7633, 7642, 7651, 7660, + 7669, 7680, 7681, 7684, 7685, 7695, 7713, 7729, 7757, 7759, + 7761, 7763, 7771, 7781, 7782, 7785, 7793, 7801, 7809, 7816, + 7827, 7831, 7838, 7849, 7858, 7867, 7876, 7885, 7894, 7903, + 7912, 7921, 7930, 7939, 7948, 7957, 7965, 7974, 7983, 7992, + 8001, 8010, 8019, 8028, 8041, 8042, 8046, 8047, 8052, 8053, + 8063, 8074, 8088, 8100, 8118, 8119, 8123, 8130, 8131, 8132, + 8135, 8136, 8146, 8157, 8158, 8162, 8166, 8170, 8181, 8195, + 8210, 8228, 8229, 8230, 8231, 8232, 8233, 8234, 8246, 8278, + 8313, 8314, 8318, 8319, 8322, 8323, 8328, 8340, 8359, 8364, + 8369, 8376, 8377, 8380, 8381, 8384, 8385, 8389, 8390, 8391, + 8394, 8395, 8396, 8412, 8426, 8441, 8455, 8472, 8473, 8476, + 8477, 8481, 8482, 8486, 8487, 8492, 8506, 8514, 8522, 8538, + 8539, 8543, 8544, 8559, 8570, 8581, 8592, 8603, 8617, 8618, + 8619, 8620, 8621, 8627, 8631, 8646, 8647, 8653, 8663, 8667, + 8672, 8680, 8722, 8726, 8730, 8734, 8742, 8743, 8747, 8759, + 8760, 8765, 8766, 8771, 8772, 8779, 8783, 8787, 8791, 8795, + 8799, 8803, 8807, 8811, 8815, 8819, 8823, 8827, 8831, 8835, + 8839, 8844, 8851, 8856, 8860, 8865, 8869, 8873, 8879, 8880, + 8886, 8896, 8900, 8911, 8917, 8926, 8932, 8933, 8937, 8938, + 8942, 8943, 8946, 8960, 8964, 8979, 8988, 8997, 9010, 9011, + 9016, 9017, 9034, 9045, 9056, 9067, 9078, 9089, 9103, 9114, + 9128, 9139, 9153, 9161, 9163, 9165, 9170, 9172, 9177, 9178, + 9183, 9202, 9212, 9213, 9217, 9222, 9226, 9239, 9251, 9263, + 9277, 9278, 9279, 9283, 9296, 9297, 9307, 9320, 9324, 9328, + 9332, 9339, 9361, 9374, 9387, 9402, 9403, 9406, 9407, 9410, + 9411, 9421, 9431, 9449, 9459, 9469, 9479, 9489, 9499, 9509, + 9519, 9529, 9539, 9549, 9559, 9569, 9580, 9591, 9601, 9611, + 9621, 9631, 9641, 9651, 9662, 9673, 9684, 9695, 9706, 9717, + 9728, 9739, 9750, 9761, 9772, 9783, 9795, 9807, 9819, 9831, + 9843, 9855, 9866, 9877, 9889, 9901, 9912, 9923, 9932, 9942, + 9952, 9962, 9972, 9982, 9992, 10002, 10012, 10022, 10037, 10038, + 10041, 10042, 10052, 10062, 10072, 10082, 10093, 10103, 10115, 10116, + 10126, 10136, 10146, 10156, 10166, 10176, 10186, 10196, 10206, 10216, + 10226, 10236, 10246, 10256, 10266, 10276, 10286, 10296, 10306, 10316, + 10326, 10336, 10346, 10356, 10366, 10376, 10386, 10405, 10415, 10416, + 10419, 10421, 10423, 10429, 10430, 10431, 10432, 10433, 10445, 10461, + 10470, 10479, 10488, 10497, 10506, 10515, 10524, 10533, 10542, 10551, + 10560, 10569, 10578, 10587, 10596, 10605, 10614, 10623, 10632, 10641, + 10650, 10659, 10668, 10696, 10704, 10713, 10739, 10748, 10755, 10761, + 10788, 10799, 10808, 10816, 10818, 10840, 10848, 10858, 10868, 10887, + 10907, 10917, 10928, 10938, 10949, 10960, 10971, 10982, 10993, 11011, + 11020, 11037, 11055, 11056, 11057, 11062, 11068, 11077, 11078, 11079, + 11080, 11081, 11085, 11086, 11089, 11090, 11091, 11092, 11096, 11097, + 11098, 11110, 11119, 11129, 11139, 11146, 11166, 11176, 11185, 11195, + 11205, 11214, 11223, 11232, 11241, 11250, 11259, 11268, 11280, 11289, + 11301, 11302, 11303, 11307, 11310, 11313, 11316, 11319, 11326, 11328, + 11330, 11335, 11337, 11341, 11342, 11343, 11355, 11369, 11383, 11402, + 11424, 11425, 11426, 11427, 11437, 11454, 11465, 11466, 11470, 11471, + 11475, 11479, 11483, 11501, 11502, 11503, 11504, 11505, 11506, 11507, + 11514, 11515, 11526, 11534, 11542, 11551, 11561, 11579, 11588, 11597, + 11606, 11618, 11622, 11633, 11645, 11663, 11670, 11687, 11701, 11711, + 11720, 11729, 11739, 11751, 11763, 11774, 11775, 11786, 11797, 11809, + 11821, 11833, 11845, 11855, 11868, 11869, 11883, 11907, 11916, 11926, + 11938, 11950, 11964, 11965, 11977, 11998, 12009, 12021, 12033, 12037, + 12044, 12045, 12049, 12056, 12057, 12058, 12062, 12063, 12064, 12068, + 12069, 12073, 12074, 12077, 12078, 12081, 12082, 12086, 12087, 12091, + 12098, 12100, 12105, 12106, 12119, 12127, 12138, 12146, 12157, 12158, + 12159, 12160, 12161, 12162, 12163, 12164, 12165, 12166, 12176, 12187, + 12188, 12192, 12193, 12194, 12195, 12196, 12206, 12214, 12232, 12252, + 12253, 12263, 12272, 12281, 12290, 12309, 12327, 12331, 12339, 12345, + 12352, 12358, 12365, 12374, 12375, 12379, 12381, 12386, 12397, 12407, + 12417, 12423, 12432, 12441, 12447, 12456, 12462, 12463, 12467, 12468, + 12472, 12484, 12485, 12496, 12511, 12512, 12523, 12534, 12535, 12538, + 12539, 12540, 12541, 12542, 12543, 12544, 12545, 12548, 12549, 12553, + 12554, 12555, 12566, 12585, 12586, 12590, 12595, 12619, 12630, 12631, + 12643, 12663, 12664, 12674, 12681, 12688, 12695, 12705, 12718, 12719, + 12723, 12724, 12728, 12729, 12733, 12746, 12759, 12768, 12777, 12786, + 12795, 12807, 12819, 12831, 12834, 12835, 12836, 12837, 12838, 12839, + 12842, 12843, 12844, 12892, 12893, 12897, 12898, 12913, 12914, 12921, + 12929, 12937, 12945, 12953, 12961, 12972, 12973, 13005, 13021, 13038, + 13039, 13058, 13062, 13066, 13081, 13088, 13095, 13105, 13106, 13109, + 13125, 13126, 13127, 13131, 13141, 13152, 13158, 13170, 13183, 13189, + 13190, 13194, 13206, 13214, 13219, 13224, 13229, 13234, 13242, 13250, + 13255, 13260, 13267, 13268, 13272, 13273, 13274, 13281, 13282, 13286, + 13287, 13291, 13292, 13296, 13297, 13301, 13305, 13306, 13309, 13318, + 13331, 13337, 13343, 13347, 13362, 13363, 13367, 13379, 13395, 13407, + 13419, 13431, 13446, 13449, 13454, 13455, 13463, 13483, 13484, 13486, + 13491, 13492, 13496, 13497, 13500, 13501, 13526, 13535, 13545, 13546, + 13550, 13551, 13552, 13553, 13554, 13558, 13571, 13578, 13585, 13592, + 13593, 13597, 13598, 13602, 13603, 13607, 13608, 13612, 13624, 13625, + 13626, 13627, 13631, 13632, 13642, 13649, 13668, 13669, 13673, 13674, + 13680, 13685, 13694, 13702, 13711, 13718, 13726, 13735, 13744, 13748, + 13753, 13760, 13789, 13793, 13807, 13828, 13850, 13863, 13880, 13886, + 13891, 13897, 13904, 13905, 13915, 13921, 13929, 13933, 13937, 13944, + 13952, 13957, 13958, 13959, 13960, 13964, 13965, 13980, 13984, 13992, + 13999, 14006, 14013, 14020, 14031, 14032, 14045, 14049, 14057, 14071, + 14085, 14086, 14101, 14112, 14125, 14130, 14131, 14134, 14135, 14138, + 14139, 14144, 14145, 14150, 14151, 14160, 14165, 14166, 14170, 14174, + 14180, 14205, 14216, 14230, 14231, 14235, 14249, 14306, 14320, 14322, + 14327, 14336, 14338, 14340, 14342, 14347, 14349, 14354, 14362, 14373, + 14401, 14402, 14406, 14408, 14413, 14422, 14442, 14462, 14480, 14492, + 14507, 14508, 14512, 14515, 14528, 14533, 14540, 14545, 14551, 14556, + 14565, 14567, 14570, 14574, 14575, 14576, 14577, 14578, 14579, 14584, + 14590, 14605, 14606, 14607, 14608, 14609, 14620, 14626, 14634, 14635, + 14641, 14646, 14651, 14656, 14661, 14666, 14671, 14676, 14682, 14688, + 14694, 14701, 14723, 14732, 14736, 14744, 14748, 14756, 14768, 14789, + 14793, 14799, 14803, 14816, 14824, 14834, 14836, 14838, 14840, 14842, + 14844, 14849, 14850, 14857, 14866, 14874, 14883, 14894, 14902, 14903, + 14904, 14908, 14910, 14912, 14914, 14916, 14918, 14920, 14925, 14930, + 14936, 14944, 14949, 14956, 14963, 14967, 14971, 14979, 15014, 15015, + 15017, 15026, 15033, 15049, 15051, 15053, 15055, 15057, 15059, 15061, + 15063, 15065, 15067, 15069, 15071, 15073, 15075, 15078, 15080, 15083, + 15085, 15087, 15089, 15092, 15097, 15106, 15111, 15120, 15125, 15134, + 15139, 15149, 15158, 15167, 15176, 15195, 15204, 15213, 15222, 15231, + 15248, 15257, 15266, 15275, 15284, 15293, 15302, 15306, 15310, 15318, + 15326, 15334, 15342, 15355, 15364, 15378, 15387, 15399, 15406, 15422, + 15427, 15433, 15440, 15447, 15455, 15463, 15480, 15499, 15525, 15527, + 15529, 15531, 15533, 15535, 15537, 15539, 15541, 15543, 15545, 15547, + 15549, 15551, 15553, 15555, 15557, 15559, 15561, 15565, 15569, 15574, + 15590, 15591, 15592, 15609, 15622, 15624, 15626, 15638, 15663, 15675, + 15687, 15695, 15706, 15717, 15727, 15733, 15742, 15752, 15762, 15775, + 15785, 15816, 15852, 15862, 15873, 15874, 15875, 15882, 15889, 15893, + 15897, 15901, 15905, 15909, 15913, 15917, 15921, 15925, 15929, 15933, + 15937, 15944, 15948, 15952, 15956, 15958, 15965, 15972, 15979, 15986, + 15997, 16011, 16021, 16032, 16048, 16058, 16065, 16072, 16079, 16083, + 16091, 16100, 16109, 16113, 16117, 16121, 16125, 16129, 16138, 16142, + 16152, 16156, 16160, 16165, 16176, 16182, 16196, 16207, 16221, 16237, + 16249, 16259, 16268, 16277, 16285, 16307, 16323, 16347, 16349, 16353, + 16355, 16357, 16360, 16363, 16366, 16367, 16370, 16378, 16388, 16389, + 16392, 16393, 16394, 16397, 16398, 16399, 16404, 16408, 16412, 16416, + 16423, 16424, 16432, 16433, 16437, 16438, 16446, 16447, 16451, 16452, + 16457, 16466, 16468, 16483, 16486, 16514, 16515, 16518, 16519, 16527, + 16535, 16543, 16552, 16562, 16580, 16626, 16635, 16644, 16653, 16662, + 16674, 16675, 16676, 16677, 16678, 16692, 16693, 16694, 16697, 16698, + 16701, 16704, 16705, 16706, 16709, 16710, 16713, 16714, 16715, 16716, + 16717, 16718, 16719, 16720, 16721, 16722, 16723, 16724, 16727, 16729, + 16734, 16736, 16741, 16743, 16745, 16747, 16749, 16751, 16763, 16767, + 16774, 16778, 16784, 16788, 16798, 16810, 16811, 16814, 16815, 16818, + 16822, 16826, 16832, 16833, 16838, 16842, 16852, 16853, 16854, 16855, + 16856, 16857, 16858, 16859, 16863, 16864, 16865, 16866, 16871, 16876, + 16885, 16906, 16910, 16915, 16926, 16943, 16949, 16950, 16951, 16961, + 16976, 16977, 16981, 16993, 16994, 16997, 16998, 17001, 17005, 17012, + 17016, 17020, 17029, 17041, 17042, 17046, 17047, 17051, 17052, 17055, + 17056, 17061, 17062, 17066, 17067, 17071, 17083, 17084, 17085, 17086, + 17087, 17088, 17089, 17090, 17091, 17095, 17097, 17102, 17103, 17104, + 17105, 17106, 17107, 17108, 17110, 17114, 17116, 17118, 17121, 17125, + 17128, 17132, 17141, 17159, 17166, 17171, 17177, 17178, 17179, 17180, + 17181, 17185, 17194, 17208, 17209, 17210, 17211, 17212, 17221, 17222, + 17223, 17224, 17225, 17229, 17231, 17241, 17244, 17250, 17251, 17252, + 17256, 17257, 17258, 17262, 17263, 17267, 17285, 17305, 17306, 17315, + 17316, 17320, 17321, 17324, 17332, 17340, 17348, 17371, 17372, 17383, + 17387, 17393, 17395, 17400, 17402, 17404, 17414, 17416, 17427, 17431, + 17435, 17439, 17443, 17452, 17460, 17492, 17499, 17531, 17535, 17542, + 17550, 17554, 17560, 17567, 17571, 17575, 17581, 17582, 17584, 17585, + 17586, 17590, 17631, 17659, 17663, 17667, 17673, 17675, 17689, 17726, + 17739, 17740, 17743, 17744, 17761, 17762, 17763, 17768, 17769, 17770, + 17775, 17776, 17777, 17778, 17784, 17785, 17786, 17787, 17788, 17794, + 17795, 17815, 17816, 17817, 17818, 17819, 17820, 17821, 17822, 17823, 17824, 17825, 17826, 17827, 17828, 17829, 17830, 17831, 17832, 17833, 17834, 17835, 17836, 17837, 17838, 17839, 17840, 17841, 17842, 17843, 17844, 17845, 17846, 17847, 17848, 17849, 17850, 17851, 17852, 17853, @@ -3650,25 +3649,25 @@ static const yytype_uint16 yyrline[] = 18094, 18095, 18096, 18097, 18098, 18099, 18100, 18101, 18102, 18103, 18104, 18105, 18106, 18107, 18108, 18109, 18110, 18111, 18112, 18113, 18114, 18115, 18116, 18117, 18118, 18119, 18120, 18121, 18122, 18123, - 18137, 18138, 18139, 18140, 18141, 18142, 18143, 18144, 18145, 18146, - 18147, 18148, 18149, 18150, 18151, 18152, 18153, 18154, 18155, 18156, - 18157, 18158, 18159, 18160, 18161, 18162, 18163, 18164, 18165, 18166, + 18124, 18125, 18126, 18127, 18128, 18129, 18130, 18131, 18132, 18133, + 18134, 18135, 18136, 18137, 18138, 18139, 18140, 18141, 18142, 18143, + 18144, 18158, 18159, 18160, 18161, 18162, 18163, 18164, 18165, 18166, 18167, 18168, 18169, 18170, 18171, 18172, 18173, 18174, 18175, 18176, 18177, 18178, 18179, 18180, 18181, 18182, 18183, 18184, 18185, 18186, 18187, 18188, 18189, 18190, 18191, 18192, 18193, 18194, 18195, 18196, - 18197, 18198, 18199, 18213, 18214, 18215, 18216, 18217, 18218, 18219, - 18220, 18221, 18222, 18223, 18224, 18225, 18226, 18227, 18228, 18229, - 18230, 18231, 18232, 18233, 18234, 18235, 18245, 18246, 18247, 18248, - 18249, 18250, 18251, 18252, 18253, 18254, 18255, 18256, 18257, 18258, - 18259, 18260, 18261, 18262, 18263, 18264, 18265, 18266, 18267, 18268, + 18197, 18198, 18199, 18200, 18201, 18202, 18203, 18204, 18205, 18206, + 18207, 18208, 18209, 18210, 18211, 18212, 18213, 18214, 18215, 18216, + 18217, 18218, 18219, 18220, 18234, 18235, 18236, 18237, 18238, 18239, + 18240, 18241, 18242, 18243, 18244, 18245, 18246, 18247, 18248, 18249, + 18250, 18251, 18252, 18253, 18254, 18255, 18256, 18266, 18267, 18268, 18269, 18270, 18271, 18272, 18273, 18274, 18275, 18276, 18277, 18278, 18279, 18280, 18281, 18282, 18283, 18284, 18285, 18286, 18287, 18288, 18289, 18290, 18291, 18292, 18293, 18294, 18295, 18296, 18297, 18298, 18299, 18300, 18301, 18302, 18303, 18304, 18305, 18306, 18307, 18308, 18309, 18310, 18311, 18312, 18313, 18314, 18315, 18316, 18317, 18318, - 18319, 18320, 18321, 18322, 18335, 18336, 18337, 18338, 18339, 18340, - 18341, 18342, 18343, 18344, 18345, 18346, 18347, 18348, 18349, 18350, - 18351, 18352, 18353, 18354, 18355, 18356, 18357, 18358, 18359, 18360, + 18319, 18320, 18321, 18322, 18323, 18324, 18325, 18326, 18327, 18328, + 18329, 18330, 18331, 18332, 18333, 18334, 18335, 18336, 18337, 18338, + 18339, 18340, 18341, 18342, 18343, 18356, 18357, 18358, 18359, 18360, 18361, 18362, 18363, 18364, 18365, 18366, 18367, 18368, 18369, 18370, 18371, 18372, 18373, 18374, 18375, 18376, 18377, 18378, 18379, 18380, 18381, 18382, 18383, 18384, 18385, 18386, 18387, 18388, 18389, 18390, @@ -3711,7 +3710,9 @@ static const yytype_uint16 yyrline[] = 18751, 18752, 18753, 18754, 18755, 18756, 18757, 18758, 18759, 18760, 18761, 18762, 18763, 18764, 18765, 18766, 18767, 18768, 18769, 18770, 18771, 18772, 18773, 18774, 18775, 18776, 18777, 18778, 18779, 18780, - 18781, 18782, 18783, 18784, 18785, 18786, 18787, 18788, 18789 + 18781, 18782, 18783, 18784, 18785, 18786, 18787, 18788, 18789, 18790, + 18791, 18792, 18793, 18794, 18795, 18796, 18797, 18798, 18799, 18800, + 18801, 18802, 18803, 18804, 18805, 18806, 18807, 18808, 18809, 18810 }; #endif @@ -3815,13 +3816,13 @@ static const char *const yytname[] = "opt_in_database", "AlterRoleSetStmt", "DropRoleStmt", "CreateGroupStmt", "AlterGroupStmt", "add_drop", "CreateSchemaStmt", "OptSchemaEltList", "schema_stmt", "VariableSetStmt", "set_rest", "generic_set", - "set_rest_more", "var_name", "var_list", "var_value", "iso_level", - "opt_boolean_or_string", "zone_value", "opt_encoding", - "NonReservedWord_or_Sconst", "VariableResetStmt", "reset_rest", - "generic_reset", "SetResetClause", "FunctionSetResetClause", - "VariableShowStmt", "ConstraintsSetStmt", "constraints_set_list", - "constraints_set_mode", "CheckPointStmt", "DiscardStmt", - "AlterTableStmt", "alter_table_cmds", "partition_cmd", + "set_rest_more", "var_name", "dotted_colid_list", "var_list", + "var_value", "iso_level", "opt_boolean_or_string", "zone_value", + "opt_encoding", "NonReservedWord_or_Sconst", "VariableResetStmt", + "reset_rest", "generic_reset", "SetResetClause", + "FunctionSetResetClause", "VariableShowStmt", "ConstraintsSetStmt", + "constraints_set_list", "constraints_set_mode", "CheckPointStmt", + "DiscardStmt", "AlterTableStmt", "alter_table_cmds", "partition_cmd", "index_partition_cmd", "alter_table_cmd", "alter_column_default", "opt_collate_clause", "alter_using", "replica_identity", "reloptions", "opt_reloptions", "reloption_list", "reloption_elem", @@ -3934,13 +3935,12 @@ static const char *const yytname[] = "AlterSubscriptionStmt", "DropSubscriptionStmt", "RuleStmt", "RuleActionList", "RuleActionMulti", "RuleActionStmt", "RuleActionStmtOrEmpty", "event", "opt_instead", "NotifyStmt", - "notify_payload", "ListenStmt", "UnlistenStmt", "TransactionStmt", - "TransactionStmtLegacy", "opt_transaction", "transaction_mode_item", - "transaction_mode_list", "transaction_mode_list_or_empty", - "opt_transaction_chain", "ViewStmt", "opt_check_option", "LoadStmt", - "CreatedbStmt", "createdb_opt_list", "createdb_opt_items", - "createdb_opt_item", "createdb_opt_name", "opt_equal", - "AlterDatabaseStmt", "AlterDatabaseSetStmt", "DropdbStmt", + "ListenStmt", "UnlistenStmt", "TransactionStmt", "TransactionStmtLegacy", + "opt_transaction", "transaction_mode_item", "transaction_mode_list", + "transaction_mode_list_or_empty", "opt_transaction_chain", "ViewStmt", + "opt_check_option", "LoadStmt", "CreatedbStmt", "createdb_opt_list", + "createdb_opt_items", "createdb_opt_item", "createdb_opt_name", + "opt_equal", "AlterDatabaseStmt", "AlterDatabaseSetStmt", "DropdbStmt", "drop_option_list", "drop_option", "AlterCollationStmt", "AlterSystemStmt", "CreateDomainStmt", "AlterDomainStmt", "opt_as", "AlterTSDictionaryStmt", "AlterTSConfigurationStmt", "any_with", @@ -4122,235 +4122,235 @@ static const yytype_uint16 yyr1[] = 567, 568, 568, 568, 568, 569, 569, 570, 570, 570, 570, 570, 570, 571, 571, 571, 572, 572, 572, 573, 573, 573, 573, 574, 574, 574, 574, 574, 574, 574, - 574, 574, 574, 574, 574, 574, 574, 575, 575, 576, - 576, 577, 577, 577, 578, 578, 578, 578, 579, 579, - 579, 579, 580, 580, 580, 580, 580, 580, 580, 580, - 581, 581, 581, 582, 582, 583, 584, 584, 584, 584, - 585, 585, 586, 586, 587, 587, 588, 588, 588, 588, - 588, 589, 590, 590, 591, 591, 592, 593, 593, 593, - 593, 593, 594, 594, 594, 594, 594, 594, 594, 594, - 594, 594, 594, 594, 594, 594, 594, 594, 594, 594, - 594, 594, 594, 595, 595, 596, 596, 596, 597, 598, - 598, 598, 598, 598, 598, 598, 598, 598, 598, 598, - 598, 598, 598, 598, 598, 598, 598, 598, 598, 598, - 598, 598, 598, 598, 598, 598, 598, 598, 598, 598, - 598, 598, 598, 598, 598, 598, 598, 598, 598, 598, - 598, 598, 598, 598, 598, 598, 598, 598, 598, 598, - 598, 598, 598, 598, 598, 598, 598, 598, 598, 598, - 598, 599, 599, 600, 600, 601, 601, 602, 602, 602, - 602, 603, 604, 604, 605, 605, 606, 606, 606, 606, - 607, 607, 608, 608, 608, 608, 609, 609, 610, 610, - 611, 611, 611, 611, 612, 613, 613, 614, 615, 615, - 616, 616, 616, 616, 617, 617, 618, 618, 619, 619, - 620, 620, 621, 621, 621, 622, 622, 623, 623, 624, - 624, 624, 624, 624, 624, 624, 624, 624, 624, 624, - 624, 624, 624, 624, 625, 625, 626, 626, 627, 627, - 628, 628, 629, 630, 630, 630, 630, 630, 630, 631, - 631, 632, 633, 633, 633, 633, 633, 633, 634, 634, - 634, 634, 634, 634, 634, 634, 635, 635, 636, 636, - 637, 637, 638, 638, 639, 639, 639, 640, 640, 641, - 642, 642, 643, 643, 644, 644, 645, 645, 646, 646, - 647, 647, 648, 648, 648, 648, 649, 649, 649, 649, - 649, 649, 649, 649, 649, 650, 650, 650, 651, 651, - 652, 652, 652, 653, 653, 653, 653, 653, 653, 654, - 655, 655, 655, 656, 656, 656, 656, 656, 656, 656, - 656, 656, 656, 657, 657, 658, 658, 658, 658, 658, - 658, 658, 658, 659, 659, 660, 660, 661, 661, 662, - 662, 663, 663, 664, 664, 665, 665, 666, 666, 667, - 668, 668, 669, 669, 669, 669, 670, 670, 671, 671, - 672, 672, 673, 673, 673, 673, 673, 674, 675, 676, - 676, 676, 676, 676, 677, 677, 678, 678, 679, 680, - 680, 681, 681, 681, 682, 682, 683, 683, 683, 684, - 684, 684, 684, 685, 685, 686, 686, 687, 688, 688, - 689, 689, 690, 690, 690, 691, 691, 692, 692, 693, - 694, 694, 694, 695, 695, 696, 697, 697, 698, 699, - 699, 700, 700, 701, 701, 702, 702, 703, 703, 704, - 704, 704, 704, 704, 704, 704, 704, 704, 704, 704, - 704, 704, 704, 704, 704, 705, 705, 706, 706, 706, - 706, 707, 707, 708, 708, 709, 709, 710, 710, 711, - 711, 712, 712, 713, 713, 714, 714, 715, 716, 716, - 717, 717, 718, 718, 719, 719, 720, 720, 720, 720, - 721, 722, 722, 723, 724, 724, 724, 724, 724, 724, - 724, 724, 724, 724, 724, 724, 724, 725, 726, 726, - 726, 726, 727, 727, 728, 728, 729, 729, 730, 730, - 731, 731, 732, 733, 733, 734, 734, 734, 734, 735, - 736, 737, 738, 738, 739, 739, 740, 740, 741, 741, - 742, 742, 742, 743, 743, 743, 743, 744, 745, 745, - 746, 746, 747, 747, 748, 748, 749, 749, 750, 751, - 752, 753, 753, 754, 754, 755, 755, 756, 756, 757, - 757, 758, 758, 759, 759, 759, 759, 759, 760, 761, - 761, 762, 762, 763, 763, 763, 764, 764, 765, 765, - 765, 765, 765, 766, 766, 767, 767, 768, 769, 769, - 770, 770, 771, 772, 772, 773, 773, 774, 774, 775, - 775, 776, 776, 777, 777, 777, 778, 778, 778, 778, - 779, 779, 780, 780, 781, 781, 781, 781, 781, 781, - 781, 781, 782, 782, 783, 783, 784, 785, 785, 786, - 787, 787, 787, 787, 788, 789, 789, 789, 789, 789, - 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, - 789, 790, 791, 791, 792, 792, 793, 793, 793, 793, - 793, 793, 794, 795, 795, 796, 797, 797, 798, 798, - 799, 799, 799, 799, 799, 800, 800, 801, 802, 802, - 803, 803, 803, 803, 803, 804, 804, 805, 805, 806, - 806, 806, 807, 808, 808, 809, 809, 810, 810, 811, - 811, 812, 812, 813, 814, 815, 815, 815, 815, 815, - 815, 815, 815, 815, 815, 815, 815, 816, 816, 816, - 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, - 817, 817, 817, 817, 817, 818, 818, 818, 818, 818, - 818, 818, 818, 819, 819, 819, 820, 820, 821, 821, - 822, 822, 823, 823, 824, 825, 825, 825, 826, 826, - 826, 826, 826, 826, 826, 826, 826, 826, 826, 826, - 826, 826, 826, 826, 826, 826, 827, 827, 828, 828, - 828, 828, 828, 828, 828, 828, 828, 828, 829, 829, - 830, 830, 831, 831, 832, 832, 832, 832, 832, 832, - 832, 832, 832, 832, 832, 832, 832, 832, 832, 832, - 833, 833, 834, 834, 835, 836, 836, 837, 837, 837, - 837, 837, 838, 838, 839, 839, 839, 839, 839, 840, - 840, 841, 841, 842, 842, 842, 842, 842, 842, 842, - 842, 842, 842, 842, 842, 842, 842, 842, 842, 842, - 842, 842, 842, 842, 843, 843, 844, 844, 845, 845, - 846, 846, 847, 847, 848, 848, 849, 850, 850, 850, - 851, 851, 852, 853, 853, 854, 854, 854, 855, 855, - 855, 856, 856, 856, 856, 856, 856, 856, 857, 857, - 858, 858, 859, 859, 860, 860, 861, 861, 862, 862, - 862, 863, 863, 864, 864, 865, 865, 866, 866, 866, - 867, 867, 867, 868, 868, 868, 868, 869, 869, 870, - 870, 871, 871, 872, 872, 873, 873, 873, 873, 874, - 874, 875, 875, 876, 876, 876, 876, 876, 877, 877, - 877, 877, 877, 878, 879, 880, 880, 880, 881, 881, - 881, 882, 883, 883, 883, 883, 884, 884, 885, 886, - 886, 887, 887, 888, 888, 889, 889, 889, 889, 889, - 889, 889, 889, 889, 889, 889, 889, 889, 889, 889, - 889, 889, 890, 890, 890, 890, 890, 891, 891, 892, - 893, 893, 893, 894, 894, 895, 895, 896, 896, 897, - 897, 898, 899, 899, 900, 900, 900, 901, 901, 902, - 902, 903, 903, 903, 903, 903, 903, 904, 904, 905, - 905, 906, 906, 906, 906, 907, 907, 908, 908, 909, - 910, 911, 911, 912, 912, 913, 913, 913, 914, 914, - 914, 915, 916, 916, 917, 918, 918, 918, 918, 919, - 920, 920, 920, 921, 921, 922, 922, 923, 923, 924, - 924, 925, 925, 925, 925, 925, 925, 925, 925, 925, - 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, - 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, - 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, - 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, - 925, 925, 925, 925, 925, 925, 926, 926, 927, 927, - 928, 928, 928, 928, 928, 928, 929, 929, 930, 930, - 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, - 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, - 930, 930, 930, 930, 930, 931, 932, 932, 933, 933, - 933, 934, 934, 934, 934, 934, 935, 936, 936, 936, - 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, - 936, 936, 936, 936, 936, 936, 936, 936, 936, 936, - 936, 937, 937, 937, 938, 938, 938, 938, 938, 938, - 938, 939, 939, 940, 940, 940, 940, 941, 942, 942, - 942, 942, 942, 942, 942, 942, 942, 943, 943, 944, - 945, 945, 945, 946, 946, 947, 947, 947, 947, 947, - 948, 948, 949, 949, 949, 949, 950, 950, 950, 951, - 952, 952, 953, 954, 954, 955, 955, 955, 955, 955, - 955, 955, 955, 955, 955, 955, 955, 956, 956, 957, - 957, 957, 958, 958, 958, 958, 958, 959, 959, 959, - 960, 960, 961, 961, 961, 962, 962, 962, 962, 963, - 963, 963, 963, 964, 965, 966, 966, 967, 967, 968, - 968, 968, 969, 969, 969, 969, 969, 969, 969, 970, - 970, 971, 971, 971, 971, 972, 973, 973, 973, 973, - 974, 974, 975, 976, 977, 977, 978, 979, 979, 979, - 979, 979, 979, 979, 980, 980, 981, 982, 982, 982, - 982, 982, 982, 983, 983, 984, 985, 985, 985, 985, - 985, 986, 986, 987, 987, 988, 988, 989, 989, 990, - 990, 991, 992, 992, 992, 993, 993, 993, 994, 994, - 995, 995, 996, 996, 997, 997, 998, 998, 999, 1000, - 1000, 1001, 1001, 1002, 1002, 1002, 1002, 1003, 1003, 1003, - 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1004, 1005, 1005, - 1006, 1006, 1006, 1006, 1006, 1007, 1007, 1007, 1008, 1008, - 1009, 1009, 1009, 1009, 1010, 1011, 1011, 1012, 1012, 1012, - 1012, 1012, 1013, 1013, 1014, 1014, 1015, 1016, 1016, 1016, - 1017, 1017, 1017, 1018, 1018, 1019, 1019, 1020, 1020, 1021, - 1022, 1022, 1023, 1024, 1024, 1025, 1026, 1026, 1027, 1027, - 1027, 1027, 1027, 1027, 1027, 1027, 1028, 1028, 1029, 1029, - 1029, 1030, 1031, 1031, 1032, 1032, 1033, 1034, 1034, 1035, - 1036, 1036, 1037, 1037, 1037, 1037, 1037, 1038, 1038, 1039, - 1039, 1040, 1040, 1041, 1042, 1043, 1043, 1043, 1043, 1043, - 1044, 1045, 1046, 1047, 1047, 1047, 1047, 1047, 1047, 1048, - 1048, 1048, 1049, 1049, 1050, 1050, 1051, 1051, 1051, 1051, - 1051, 1051, 1051, 1051, 1052, 1052, 1053, 1053, 1053, 1053, - 1053, 1053, 1053, 1054, 1054, 1054, 1055, 1055, 1056, 1057, - 1057, 1057, 1058, 1058, 1058, 1059, 1059, 1059, 1060, 1060, - 1061, 1061, 1062, 1062, 1062, 1062, 1062, 1062, 1062, 1062, - 1062, 1063, 1063, 1064, 1064, 1064, 1065, 1065, 1066, 1066, - 1067, 1067, 1068, 1068, 1069, 1070, 1070, 1071, 1071, 1072, - 1072, 1072, 1072, 1073, 1073, 1074, 1074, 1074, 1074, 1074, - 1074, 1075, 1075, 1076, 1076, 1077, 1078, 1078, 1078, 1079, - 1079, 1080, 1080, 1081, 1081, 1082, 1082, 1083, 1083, 1084, - 1084, 1084, 1084, 1084, 1085, 1086, 1087, 1088, 1089, 1089, - 1090, 1090, 1091, 1091, 1092, 1092, 1093, 1094, 1094, 1094, - 1094, 1095, 1095, 1096, 1096, 1097, 1097, 1098, 1098, 1099, + 574, 574, 574, 574, 574, 574, 574, 575, 576, 576, + 577, 577, 578, 578, 578, 579, 579, 579, 579, 580, + 580, 580, 580, 581, 581, 581, 581, 581, 581, 581, + 581, 582, 582, 582, 583, 583, 584, 585, 585, 585, + 585, 586, 586, 587, 587, 588, 588, 589, 589, 589, + 589, 589, 590, 591, 591, 592, 592, 593, 594, 594, + 594, 594, 594, 595, 595, 595, 595, 595, 595, 595, + 595, 595, 595, 595, 595, 595, 595, 595, 595, 595, + 595, 595, 595, 595, 596, 596, 597, 597, 597, 598, + 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, + 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, + 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, + 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, + 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, + 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, + 599, 599, 600, 600, 601, 601, 602, 602, 603, 603, + 603, 603, 604, 605, 605, 606, 606, 607, 607, 607, + 607, 608, 608, 609, 609, 609, 609, 610, 610, 611, + 611, 612, 612, 612, 612, 613, 614, 614, 615, 616, + 616, 617, 617, 617, 617, 618, 618, 619, 619, 620, + 620, 621, 621, 622, 622, 622, 623, 623, 624, 624, + 625, 625, 625, 625, 625, 625, 625, 625, 625, 625, + 625, 625, 625, 625, 625, 626, 626, 627, 627, 628, + 628, 629, 629, 630, 631, 631, 631, 631, 631, 631, + 632, 632, 633, 634, 634, 634, 634, 634, 634, 635, + 635, 635, 635, 635, 635, 635, 635, 636, 636, 637, + 637, 638, 638, 639, 639, 640, 640, 640, 641, 641, + 642, 643, 643, 644, 644, 645, 645, 646, 646, 647, + 647, 648, 648, 649, 649, 649, 649, 650, 650, 650, + 650, 650, 650, 650, 650, 650, 651, 651, 651, 652, + 652, 653, 653, 653, 654, 654, 654, 654, 654, 654, + 655, 656, 656, 656, 657, 657, 657, 657, 657, 657, + 657, 657, 657, 657, 658, 658, 659, 659, 659, 659, + 659, 659, 659, 659, 660, 660, 661, 661, 662, 662, + 663, 663, 664, 664, 665, 665, 666, 666, 667, 667, + 668, 669, 669, 670, 670, 670, 670, 671, 671, 672, + 672, 673, 673, 674, 674, 674, 674, 674, 675, 676, + 677, 677, 677, 677, 677, 678, 678, 679, 679, 680, + 681, 681, 682, 682, 682, 683, 683, 684, 684, 684, + 685, 685, 685, 685, 686, 686, 687, 687, 688, 689, + 689, 690, 690, 691, 691, 691, 692, 692, 693, 693, + 694, 695, 695, 695, 696, 696, 697, 698, 698, 699, + 700, 700, 701, 701, 702, 702, 703, 703, 704, 704, + 705, 705, 705, 705, 705, 705, 705, 705, 705, 705, + 705, 705, 705, 705, 705, 705, 706, 706, 707, 707, + 707, 707, 708, 708, 709, 709, 710, 710, 711, 711, + 712, 712, 713, 713, 714, 714, 715, 715, 716, 717, + 717, 718, 718, 719, 719, 720, 720, 721, 721, 721, + 721, 722, 723, 723, 724, 725, 725, 725, 725, 725, + 725, 725, 725, 725, 725, 725, 725, 725, 726, 727, + 727, 727, 727, 728, 728, 729, 729, 730, 730, 731, + 731, 732, 732, 733, 734, 734, 735, 735, 735, 735, + 736, 737, 738, 739, 739, 740, 740, 741, 741, 742, + 742, 743, 743, 743, 744, 744, 744, 744, 745, 746, + 746, 747, 747, 748, 748, 749, 749, 750, 750, 751, + 752, 753, 754, 754, 755, 755, 756, 756, 757, 757, + 758, 758, 759, 759, 760, 760, 760, 760, 760, 761, + 762, 762, 763, 763, 764, 764, 764, 765, 765, 766, + 766, 766, 766, 766, 767, 767, 768, 768, 769, 770, + 770, 771, 771, 772, 773, 773, 774, 774, 775, 775, + 776, 776, 777, 777, 778, 778, 778, 779, 779, 779, + 779, 780, 780, 781, 781, 782, 782, 782, 782, 782, + 782, 782, 782, 783, 783, 784, 784, 785, 786, 786, + 787, 788, 788, 788, 788, 789, 790, 790, 790, 790, + 790, 790, 790, 790, 790, 790, 790, 790, 790, 790, + 790, 790, 791, 792, 792, 793, 793, 794, 794, 794, + 794, 794, 794, 795, 796, 796, 797, 798, 798, 799, + 799, 800, 800, 800, 800, 800, 801, 801, 802, 803, + 803, 804, 804, 804, 804, 804, 805, 805, 806, 806, + 807, 807, 807, 808, 809, 809, 810, 810, 811, 811, + 812, 812, 813, 813, 814, 815, 816, 816, 816, 816, + 816, 816, 816, 816, 816, 816, 816, 816, 817, 817, + 817, 817, 817, 817, 817, 817, 817, 817, 817, 817, + 817, 818, 818, 818, 818, 818, 819, 819, 819, 819, + 819, 819, 819, 819, 820, 820, 820, 821, 821, 822, + 822, 823, 823, 824, 824, 825, 826, 826, 826, 827, + 827, 827, 827, 827, 827, 827, 827, 827, 827, 827, + 827, 827, 827, 827, 827, 827, 827, 828, 828, 829, + 829, 829, 829, 829, 829, 829, 829, 829, 829, 830, + 830, 831, 831, 832, 832, 833, 833, 833, 833, 833, + 833, 833, 833, 833, 833, 833, 833, 833, 833, 833, + 833, 834, 834, 835, 835, 836, 837, 837, 838, 838, + 838, 838, 838, 839, 839, 840, 840, 840, 840, 840, + 841, 841, 842, 843, 843, 843, 843, 843, 843, 843, + 843, 843, 843, 843, 843, 843, 843, 843, 843, 843, + 843, 843, 843, 843, 844, 844, 845, 845, 846, 846, + 847, 847, 848, 848, 849, 849, 850, 851, 851, 851, + 852, 852, 853, 854, 854, 855, 855, 855, 856, 856, + 856, 857, 857, 857, 857, 857, 857, 857, 858, 858, + 859, 859, 860, 860, 861, 861, 862, 862, 863, 863, + 863, 864, 864, 865, 865, 866, 866, 867, 867, 867, + 868, 868, 868, 869, 869, 869, 869, 870, 870, 871, + 871, 872, 872, 873, 873, 874, 874, 874, 874, 875, + 875, 876, 876, 877, 877, 877, 877, 877, 878, 878, + 878, 878, 878, 879, 880, 881, 881, 881, 882, 882, + 882, 883, 884, 884, 884, 884, 885, 885, 886, 887, + 887, 888, 888, 889, 889, 890, 890, 890, 890, 890, + 890, 890, 890, 890, 890, 890, 890, 890, 890, 890, + 890, 890, 891, 891, 891, 891, 891, 891, 892, 892, + 893, 894, 894, 894, 895, 895, 896, 896, 897, 897, + 898, 898, 899, 900, 900, 901, 901, 901, 902, 902, + 903, 903, 904, 904, 904, 904, 904, 904, 905, 905, + 906, 906, 907, 907, 907, 907, 908, 908, 909, 909, + 910, 911, 912, 912, 913, 913, 913, 914, 914, 914, + 915, 915, 915, 916, 917, 917, 918, 919, 919, 919, + 919, 920, 921, 921, 921, 922, 922, 923, 923, 924, + 924, 925, 925, 926, 926, 926, 926, 926, 926, 926, + 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, + 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, + 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, + 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, + 926, 926, 926, 926, 926, 926, 926, 926, 927, 927, + 928, 928, 929, 929, 929, 929, 929, 929, 930, 930, + 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, + 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, + 931, 931, 931, 931, 931, 931, 931, 932, 933, 933, + 934, 934, 934, 935, 935, 935, 935, 935, 936, 937, + 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, + 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, + 937, 937, 937, 938, 938, 938, 939, 939, 939, 939, + 939, 939, 939, 940, 940, 941, 941, 941, 941, 942, + 943, 943, 943, 943, 943, 943, 943, 943, 943, 944, + 944, 945, 946, 946, 946, 947, 947, 948, 948, 948, + 948, 948, 949, 949, 950, 950, 950, 950, 951, 951, + 951, 952, 952, 953, 954, 954, 955, 955, 955, 955, + 955, 955, 955, 955, 955, 955, 955, 955, 956, 956, + 957, 957, 957, 958, 958, 958, 958, 958, 959, 959, + 959, 960, 960, 961, 961, 961, 962, 962, 962, 962, + 963, 963, 963, 963, 964, 965, 966, 966, 967, 967, + 968, 968, 968, 969, 969, 969, 969, 969, 969, 969, + 970, 970, 971, 971, 971, 971, 972, 973, 973, 973, + 973, 974, 974, 975, 976, 977, 977, 978, 979, 979, + 979, 979, 979, 979, 979, 980, 980, 981, 982, 982, + 982, 982, 982, 982, 983, 983, 984, 985, 985, 985, + 985, 985, 986, 986, 987, 987, 988, 988, 989, 989, + 990, 990, 991, 992, 992, 992, 993, 993, 993, 994, + 994, 995, 995, 996, 996, 997, 997, 998, 998, 999, + 1000, 1000, 1001, 1001, 1002, 1002, 1002, 1002, 1003, 1003, + 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1003, 1004, 1005, + 1005, 1006, 1006, 1006, 1006, 1006, 1007, 1007, 1007, 1008, + 1008, 1009, 1009, 1009, 1009, 1010, 1011, 1011, 1012, 1012, + 1012, 1012, 1012, 1013, 1013, 1014, 1014, 1015, 1016, 1016, + 1016, 1017, 1017, 1017, 1018, 1018, 1019, 1019, 1020, 1020, + 1021, 1022, 1022, 1023, 1024, 1024, 1025, 1026, 1026, 1027, + 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1028, 1028, 1029, + 1029, 1029, 1030, 1031, 1031, 1032, 1032, 1033, 1034, 1034, + 1035, 1036, 1036, 1037, 1037, 1037, 1037, 1037, 1038, 1038, + 1039, 1039, 1040, 1040, 1041, 1042, 1043, 1043, 1043, 1043, + 1043, 1044, 1045, 1046, 1047, 1047, 1047, 1047, 1047, 1047, + 1048, 1048, 1048, 1049, 1049, 1050, 1050, 1051, 1051, 1051, + 1051, 1051, 1051, 1051, 1051, 1052, 1052, 1053, 1053, 1053, + 1053, 1053, 1053, 1053, 1054, 1054, 1054, 1055, 1055, 1056, + 1057, 1057, 1057, 1058, 1058, 1058, 1059, 1059, 1059, 1060, + 1060, 1061, 1061, 1062, 1062, 1062, 1062, 1062, 1062, 1062, + 1062, 1062, 1063, 1063, 1064, 1064, 1064, 1065, 1065, 1066, + 1066, 1067, 1067, 1068, 1068, 1069, 1070, 1070, 1071, 1071, + 1072, 1072, 1072, 1072, 1073, 1073, 1074, 1074, 1074, 1074, + 1074, 1074, 1075, 1075, 1076, 1076, 1077, 1078, 1078, 1078, + 1079, 1079, 1080, 1080, 1081, 1081, 1082, 1082, 1083, 1083, + 1084, 1084, 1084, 1084, 1084, 1085, 1086, 1087, 1088, 1089, + 1089, 1090, 1090, 1091, 1091, 1092, 1092, 1093, 1094, 1094, + 1094, 1094, 1095, 1095, 1096, 1096, 1097, 1097, 1098, 1098, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, - 1099, 1100, 1100, 1100, 1100, 1100, 1100, 1101, 1101, 1101, - 1101, 1102, 1102, 1103, 1103, 1104, 1104, 1104, 1104, 1104, - 1105, 1105, 1105, 1105, 1106, 1106, 1107, 1107, 1108, 1108, - 1109, 1109, 1109, 1110, 1110, 1111, 1111, 1111, 1112, 1113, - 1113, 1114, 1114, 1115, 1116, 1116, 1117, 1117, 1118, 1118, - 1119, 1119, 1120, 1120, 1120, 1121, 1121, 1122, 1122, 1123, - 1124, 1124, 1125, 1125, 1126, 1126, 1126, 1127, 1127, 1128, - 1128, 1128, 1128, 1128, 1129, 1129, 1130, 1130, 1131, 1132, - 1132, 1133, 1133, 1134, 1134, 1134, 1134, 1134, 1134, 1135, - 1135, 1136, 1136, 1137, 1137, 1137, 1137, 1137, 1137, 1138, - 1138, 1138, 1139, 1139, 1139, 1139, 1139, 1139, 1139, 1139, - 1140, 1140, 1140, 1140, 1140, 1141, 1141, 1142, 1142, 1143, + 1099, 1099, 1100, 1100, 1100, 1100, 1100, 1100, 1101, 1101, + 1101, 1101, 1102, 1102, 1103, 1103, 1104, 1104, 1104, 1104, + 1104, 1105, 1105, 1105, 1105, 1106, 1106, 1107, 1107, 1108, + 1108, 1109, 1109, 1109, 1110, 1110, 1111, 1111, 1111, 1112, + 1113, 1113, 1114, 1114, 1115, 1116, 1116, 1117, 1117, 1118, + 1118, 1119, 1119, 1120, 1120, 1120, 1121, 1121, 1122, 1122, + 1123, 1124, 1124, 1125, 1125, 1126, 1126, 1126, 1127, 1127, + 1128, 1128, 1128, 1128, 1128, 1129, 1129, 1130, 1130, 1131, + 1132, 1132, 1133, 1133, 1134, 1134, 1134, 1134, 1134, 1134, + 1135, 1135, 1136, 1136, 1137, 1137, 1137, 1137, 1137, 1137, + 1138, 1138, 1138, 1139, 1139, 1139, 1139, 1139, 1139, 1139, + 1139, 1140, 1140, 1140, 1140, 1140, 1141, 1141, 1142, 1142, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1143, 1143, - 1144, 1144, 1145, 1145, 1146, 1146, 1147, 1148, 1149, 1149, - 1150, 1150, 1151, 1152, 1153, 1153, 1153, 1153, 1153, 1153, - 1154, 1154, 1155, 1155, 1155, 1155, 1156, 1157, 1157, 1157, - 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, - 1158, 1158, 1158, 1158, 1159, 1159, 1160, 1161, 1161, 1161, + 1143, 1144, 1144, 1145, 1145, 1146, 1146, 1147, 1148, 1149, + 1149, 1150, 1150, 1151, 1152, 1153, 1153, 1153, 1153, 1153, + 1153, 1154, 1154, 1155, 1155, 1155, 1155, 1156, 1157, 1157, + 1157, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, 1158, + 1158, 1158, 1158, 1158, 1158, 1159, 1159, 1160, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, - 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1162, 1162, 1162, + 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1162, 1162, + 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, - 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, 1163, - 1163, 1163, 1163, 1164, 1164, 1164, 1164, 1164, 1164, 1164, - 1165, 1165, 1165, 1166, 1166, 1166, 1167, 1167, 1167, 1167, + 1163, 1163, 1163, 1163, 1164, 1164, 1164, 1164, 1164, 1164, + 1164, 1165, 1165, 1165, 1166, 1166, 1166, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1167, - 1167, 1167, 1167, 1167, 1167, 1167, 1168, 1168, 1169, 1169, - 1169, 1169, 1170, 1171, 1171, 1172, 1172, 1173, 1173, 1174, - 1174, 1174, 1175, 1175, 1175, 1176, 1176, 1176, 1176, 1177, - 1177, 1178, 1178, 1179, 1179, 1180, 1180, 1181, 1181, 1182, - 1183, 1183, 1183, 1184, 1185, 1185, 1186, 1186, 1187, 1187, - 1187, 1187, 1188, 1188, 1189, 1189, 1189, 1189, 1189, 1190, - 1190, 1190, 1190, 1190, 1191, 1191, 1191, 1192, 1192, 1193, - 1194, 1194, 1194, 1195, 1195, 1196, 1196, 1196, 1196, 1196, - 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1197, 1197, 1198, - 1198, 1199, 1199, 1199, 1199, 1199, 1199, 1200, 1200, 1201, - 1201, 1202, 1202, 1202, 1203, 1203, 1204, 1204, 1205, 1205, - 1205, 1206, 1206, 1207, 1207, 1208, 1208, 1208, 1208, 1208, - 1208, 1208, 1208, 1209, 1209, 1209, 1209, 1210, 1210, 1211, - 1212, 1212, 1212, 1212, 1212, 1213, 1213, 1213, 1214, 1215, - 1215, 1216, 1217, 1217, 1218, 1218, 1219, 1219, 1220, 1220, - 1220, 1220, 1221, 1221, 1222, 1222, 1223, 1223, 1224, 1224, - 1225, 1225, 1226, 1226, 1227, 1228, 1228, 1228, 1228, 1228, - 1228, 1228, 1228, 1228, 1229, 1229, 1230, 1230, 1230, 1230, - 1230, 1230, 1230, 1230, 1231, 1231, 1231, 1231, 1232, 1232, - 1233, 1234, 1234, 1235, 1235, 1236, 1236, 1236, 1236, 1236, - 1237, 1237, 1238, 1238, 1238, 1238, 1238, 1239, 1239, 1239, - 1239, 1239, 1240, 1240, 1241, 1241, 1242, 1242, 1242, 1243, - 1243, 1243, 1244, 1244, 1245, 1245, 1246, 1246, 1247, 1247, - 1248, 1248, 1249, 1249, 1249, 1249, 1250, 1250, 1251, 1251, - 1252, 1252, 1253, 1254, 1255, 1256, 1256, 1257, 1257, 1257, + 1167, 1167, 1167, 1167, 1167, 1167, 1167, 1168, 1168, 1169, + 1169, 1169, 1169, 1170, 1171, 1171, 1172, 1172, 1173, 1173, + 1174, 1174, 1174, 1175, 1175, 1175, 1176, 1176, 1176, 1176, + 1177, 1177, 1178, 1178, 1179, 1179, 1180, 1180, 1181, 1181, + 1182, 1183, 1183, 1183, 1184, 1185, 1185, 1186, 1186, 1187, + 1187, 1187, 1187, 1188, 1188, 1189, 1189, 1189, 1189, 1189, + 1190, 1190, 1190, 1190, 1190, 1191, 1191, 1191, 1192, 1192, + 1193, 1194, 1194, 1194, 1195, 1195, 1196, 1196, 1196, 1196, + 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1196, 1197, 1197, + 1198, 1198, 1199, 1199, 1199, 1199, 1199, 1199, 1200, 1200, + 1201, 1201, 1202, 1202, 1202, 1203, 1203, 1204, 1204, 1205, + 1205, 1205, 1206, 1206, 1207, 1207, 1208, 1208, 1208, 1208, + 1208, 1208, 1208, 1208, 1209, 1209, 1209, 1209, 1210, 1210, + 1211, 1212, 1212, 1212, 1212, 1212, 1213, 1213, 1213, 1214, + 1215, 1215, 1216, 1217, 1217, 1218, 1218, 1219, 1219, 1220, + 1220, 1220, 1220, 1221, 1221, 1222, 1222, 1223, 1223, 1224, + 1224, 1225, 1225, 1226, 1226, 1227, 1228, 1228, 1228, 1228, + 1228, 1228, 1228, 1228, 1228, 1229, 1229, 1230, 1230, 1230, + 1230, 1230, 1230, 1230, 1230, 1231, 1231, 1231, 1231, 1232, + 1232, 1233, 1234, 1234, 1235, 1235, 1236, 1236, 1236, 1236, + 1236, 1237, 1237, 1238, 1238, 1238, 1238, 1238, 1239, 1239, + 1239, 1239, 1239, 1240, 1240, 1241, 1241, 1242, 1242, 1242, + 1243, 1243, 1243, 1244, 1244, 1245, 1245, 1246, 1246, 1247, + 1247, 1248, 1248, 1249, 1249, 1249, 1249, 1250, 1250, 1251, + 1251, 1252, 1252, 1253, 1254, 1255, 1256, 1256, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, 1257, - 1257, 1257, 1257, 1257, 1257, 1258, 1259, 1260, 1260, 1260, - 1261, 1262, 1262, 1262, 1262, 1263, 1263, 1264, 1265, 1266, - 1266, 1267, 1267, 1268, 1268, 1268, 1269, 1269, 1269, 1270, - 1270, 1270, 1270, 1271, 1271, 1271, 1271, 1271, 1272, 1272, - 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, + 1257, 1257, 1257, 1257, 1257, 1257, 1258, 1259, 1260, 1260, + 1260, 1261, 1262, 1262, 1262, 1262, 1263, 1263, 1264, 1265, + 1266, 1266, 1267, 1267, 1268, 1268, 1268, 1269, 1269, 1269, + 1270, 1270, 1270, 1270, 1271, 1271, 1271, 1271, 1271, 1272, + 1272, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, @@ -4383,15 +4383,15 @@ static const yytype_uint16 yyr1[] = 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, 1273, + 1273, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, - 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, 1274, - 1274, 1274, 1274, 1275, 1275, 1275, 1275, 1275, 1275, 1275, + 1274, 1274, 1274, 1274, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1275, - 1275, 1275, 1275, 1275, 1275, 1275, 1276, 1276, 1276, 1276, + 1275, 1275, 1275, 1275, 1275, 1275, 1275, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, @@ -4399,7 +4399,7 @@ static const yytype_uint16 yyr1[] = 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, 1276, - 1276, 1276, 1276, 1276, 1277, 1277, 1277, 1277, 1277, 1277, + 1276, 1276, 1276, 1276, 1276, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, @@ -4444,7 +4444,7 @@ static const yytype_uint16 yyr1[] = 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, - 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277 + 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277, 1277 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ @@ -4472,90 +4472,90 @@ static const yytype_uint8 yyr2[] = 1, 6, 4, 9, 7, 2, 0, 1, 1, 1, 1, 1, 1, 2, 3, 3, 2, 5, 1, 3, 3, 3, 3, 1, 3, 3, 2, 2, 2, 2, - 2, 2, 3, 3, 3, 3, 3, 1, 3, 1, - 3, 1, 1, 1, 2, 2, 2, 1, 1, 1, - 1, 1, 1, 1, 1, 3, 5, 1, 1, 1, - 1, 1, 0, 1, 1, 2, 1, 2, 3, 2, - 1, 1, 2, 1, 2, 1, 2, 3, 4, 3, - 2, 4, 1, 1, 1, 1, 1, 2, 2, 2, - 2, 2, 4, 6, 4, 6, 10, 13, 4, 6, - 4, 10, 13, 4, 6, 4, 6, 5, 7, 11, - 14, 5, 7, 1, 3, 4, 4, 4, 3, 2, - 5, 3, 6, 4, 6, 6, 9, 5, 7, 6, - 6, 5, 5, 5, 5, 9, 4, 5, 7, 6, - 4, 8, 4, 2, 4, 4, 3, 6, 4, 3, - 3, 3, 2, 2, 3, 4, 4, 3, 3, 3, - 3, 3, 3, 4, 4, 3, 2, 3, 2, 2, - 3, 4, 3, 2, 2, 3, 4, 4, 4, 5, - 1, 3, 2, 2, 0, 2, 0, 1, 1, 1, - 3, 3, 2, 0, 1, 3, 3, 1, 5, 3, - 1, 2, 1, 3, 2, 3, 1, 1, 1, 1, - 6, 6, 10, 1, 2, 1, 3, 4, 1, 3, - 4, 6, 4, 8, 2, 2, 11, 9, 1, 1, - 1, 0, 1, 1, 1, 1, 3, 2, 0, 1, - 1, 3, 3, 1, 1, 3, 3, 3, 3, 4, - 4, 3, 3, 2, 1, 0, 3, 0, 1, 0, - 1, 3, 2, 1, 1, 1, 1, 3, 0, 1, - 3, 1, 13, 16, 12, 15, 14, 17, 1, 1, - 2, 2, 2, 2, 1, 0, 1, 0, 3, 0, - 1, 3, 1, 3, 1, 1, 1, 1, 1, 6, - 2, 4, 2, 2, 1, 0, 2, 2, 1, 0, - 2, 0, 3, 1, 1, 2, 3, 1, 4, 4, - 5, 2, 5, 7, 5, 2, 3, 0, 1, 2, - 1, 1, 0, 1, 2, 2, 2, 1, 2, 3, - 3, 3, 0, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 3, 1, 5, 4, 10, 3, 10, - 4, 10, 12, 3, 1, 5, 3, 2, 0, 2, - 0, 3, 0, 1, 3, 3, 0, 4, 0, 1, - 4, 0, 2, 2, 2, 0, 1, 3, 3, 6, - 4, 0, 1, 1, 2, 2, 0, 3, 3, 2, - 1, 1, 3, 3, 4, 0, 1, 0, 6, 1, - 3, 3, 3, 5, 2, 0, 2, 2, 0, 3, - 4, 4, 0, 2, 0, 4, 0, 3, 8, 11, - 1, 3, 1, 1, 3, 6, 8, 7, 10, 6, - 2, 3, 0, 8, 11, 5, 1, 0, 6, 5, - 8, 4, 6, 1, 0, 3, 0, 1, 2, 2, - 2, 1, 2, 3, 1, 2, 2, 2, 2, 3, - 3, 3, 1, 3, 1, 1, 0, 1, 2, 2, - 1, 1, 3, 6, 10, 1, 0, 1, 2, 2, - 0, 2, 2, 1, 0, 1, 0, 7, 2, 0, - 3, 5, 5, 8, 2, 0, 2, 2, 2, 1, - 5, 2, 0, 2, 6, 6, 6, 10, 6, 6, - 6, 9, 9, 6, 6, 9, 6, 7, 2, 2, - 2, 2, 1, 2, 1, 0, 7, 6, 4, 0, - 1, 3, 4, 1, 3, 1, 2, 2, 2, 2, - 1, 1, 10, 13, 2, 0, 2, 2, 1, 0, - 5, 4, 4, 11, 14, 12, 15, 11, 2, 1, - 4, 0, 8, 11, 1, 1, 7, 9, 8, 10, - 8, 4, 0, 5, 0, 2, 0, 2, 0, 2, - 0, 2, 0, 1, 1, 1, 1, 1, 8, 1, - 1, 17, 21, 1, 1, 2, 1, 3, 1, 1, - 1, 3, 1, 2, 0, 1, 2, 4, 1, 1, - 1, 1, 1, 3, 0, 1, 0, 1, 1, 4, - 0, 1, 1, 1, 3, 0, 1, 1, 1, 1, - 2, 0, 0, 2, 2, 1, 2, 2, 2, 2, - 2, 1, 11, 13, 1, 3, 5, 1, 3, 5, - 1, 2, 2, 1, 8, 6, 5, 4, 4, 3, - 7, 8, 6, 6, 6, 6, 6, 4, 7, 5, - 8, 3, 1, 3, 3, 1, 1, 1, 1, 1, - 1, 1, 3, 1, 3, 3, 1, 0, 1, 3, - 7, 9, 9, 8, 6, 3, 0, 13, 1, 3, - 4, 4, 3, 6, 2, 1, 0, 2, 0, 2, - 4, 0, 6, 8, 8, 1, 3, 5, 5, 7, - 9, 7, 9, 5, 6, 6, 4, 6, 4, 6, - 8, 4, 6, 4, 6, 5, 7, 1, 1, 1, - 2, 1, 2, 1, 1, 1, 3, 3, 3, 3, - 1, 1, 1, 1, 1, 2, 2, 1, 3, 2, - 1, 1, 1, 1, 1, 1, 1, 3, 1, 2, - 2, 3, 1, 3, 5, 2, 2, 0, 6, 6, - 6, 6, 6, 6, 6, 6, 8, 9, 8, 6, - 6, 9, 9, 9, 7, 10, 1, 1, 8, 8, - 8, 8, 8, 8, 8, 9, 8, 8, 2, 0, - 1, 1, 2, 2, 1, 2, 3, 3, 3, 3, - 4, 4, 3, 3, 3, 4, 4, 3, 4, 4, - 1, 1, 1, 0, 8, 8, 11, 1, 1, 2, - 4, 5, 1, 3, 2, 2, 2, 2, 2, 1, - 3, 1, 3, 1, 2, 2, 4, 3, 2, 2, + 2, 2, 3, 3, 3, 3, 3, 1, 1, 3, + 1, 3, 1, 1, 1, 2, 2, 2, 1, 1, + 1, 1, 1, 1, 1, 1, 3, 5, 1, 1, + 1, 1, 1, 0, 1, 1, 2, 1, 2, 3, + 2, 1, 1, 2, 1, 2, 1, 2, 3, 4, + 3, 2, 4, 1, 1, 1, 1, 1, 2, 2, + 2, 2, 2, 4, 6, 4, 6, 10, 13, 4, + 6, 4, 10, 13, 4, 6, 4, 6, 5, 7, + 11, 14, 5, 7, 1, 3, 4, 4, 4, 3, + 2, 5, 3, 6, 4, 6, 6, 9, 5, 7, + 6, 6, 5, 5, 5, 5, 9, 4, 5, 7, + 6, 4, 8, 4, 2, 4, 4, 3, 6, 4, + 3, 3, 3, 2, 2, 3, 4, 4, 3, 3, + 3, 3, 3, 3, 4, 4, 3, 2, 3, 2, + 2, 3, 4, 3, 2, 2, 3, 4, 4, 4, + 5, 1, 3, 2, 2, 0, 2, 0, 1, 1, + 1, 3, 3, 2, 0, 1, 3, 3, 1, 5, + 3, 1, 2, 1, 3, 2, 3, 1, 1, 1, + 1, 6, 6, 10, 1, 2, 1, 3, 4, 1, + 3, 4, 6, 4, 8, 2, 2, 11, 9, 1, + 1, 1, 0, 1, 1, 1, 1, 3, 2, 0, + 1, 1, 3, 3, 1, 1, 3, 3, 3, 3, + 4, 4, 3, 3, 2, 1, 0, 3, 0, 1, + 0, 1, 3, 2, 1, 1, 1, 1, 3, 0, + 1, 3, 1, 13, 16, 12, 15, 14, 17, 1, + 1, 2, 2, 2, 2, 1, 0, 1, 0, 3, + 0, 1, 3, 1, 3, 1, 1, 1, 1, 1, + 6, 2, 4, 2, 2, 1, 0, 2, 2, 1, + 0, 2, 0, 3, 1, 1, 2, 3, 1, 4, + 4, 5, 2, 5, 7, 5, 2, 3, 0, 1, + 2, 1, 1, 0, 1, 2, 2, 2, 1, 2, + 3, 3, 3, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 3, 1, 5, 4, 10, 3, + 10, 4, 10, 12, 3, 1, 5, 3, 2, 0, + 2, 0, 3, 0, 1, 3, 3, 0, 4, 0, + 1, 4, 0, 2, 2, 2, 0, 1, 3, 3, + 6, 4, 0, 1, 1, 2, 2, 0, 3, 3, + 2, 1, 1, 3, 3, 4, 0, 1, 0, 6, + 1, 3, 3, 3, 5, 2, 0, 2, 2, 0, + 3, 4, 4, 0, 2, 0, 4, 0, 3, 8, + 11, 1, 3, 1, 1, 3, 6, 8, 7, 10, + 6, 2, 3, 0, 8, 11, 5, 1, 0, 6, + 5, 8, 4, 6, 1, 0, 3, 0, 1, 2, + 2, 2, 1, 2, 3, 1, 2, 2, 2, 2, + 3, 3, 3, 1, 3, 1, 1, 0, 1, 2, + 2, 1, 1, 3, 6, 10, 1, 0, 1, 2, + 2, 0, 2, 2, 1, 0, 1, 0, 7, 2, + 0, 3, 5, 5, 8, 2, 0, 2, 2, 2, + 1, 5, 2, 0, 2, 6, 6, 6, 10, 6, + 6, 6, 9, 9, 6, 6, 9, 6, 7, 2, + 2, 2, 2, 1, 2, 1, 0, 7, 6, 4, + 0, 1, 3, 4, 1, 3, 1, 2, 2, 2, + 2, 1, 1, 10, 13, 2, 0, 2, 2, 1, + 0, 5, 4, 4, 11, 14, 12, 15, 11, 2, + 1, 4, 0, 8, 11, 1, 1, 7, 9, 8, + 10, 8, 4, 0, 5, 0, 2, 0, 2, 0, + 2, 0, 2, 0, 1, 1, 1, 1, 1, 8, + 1, 1, 17, 21, 1, 1, 2, 1, 3, 1, + 1, 1, 3, 1, 2, 0, 1, 2, 4, 1, + 1, 1, 1, 1, 3, 0, 1, 0, 1, 1, + 4, 0, 1, 1, 1, 3, 0, 1, 1, 1, + 1, 2, 0, 0, 2, 2, 1, 2, 2, 2, + 2, 2, 1, 11, 13, 1, 3, 5, 1, 3, + 5, 1, 2, 2, 1, 8, 6, 5, 4, 4, + 3, 7, 8, 6, 6, 6, 6, 6, 4, 7, + 5, 8, 3, 1, 3, 3, 1, 1, 1, 1, + 1, 1, 1, 3, 1, 3, 3, 1, 0, 1, + 3, 7, 9, 9, 8, 6, 3, 0, 13, 1, + 3, 4, 4, 3, 6, 2, 1, 0, 2, 0, + 2, 4, 0, 6, 8, 8, 1, 3, 5, 5, + 7, 9, 7, 9, 5, 6, 6, 4, 6, 4, + 6, 8, 4, 6, 4, 6, 5, 7, 1, 1, + 1, 2, 1, 2, 1, 1, 1, 3, 3, 3, + 3, 1, 1, 1, 1, 1, 2, 2, 1, 3, + 2, 1, 1, 1, 1, 1, 1, 1, 3, 1, + 2, 2, 3, 1, 3, 5, 2, 2, 0, 6, + 6, 6, 6, 6, 6, 6, 6, 8, 9, 8, + 6, 6, 9, 9, 9, 7, 10, 1, 1, 8, + 8, 8, 8, 8, 8, 8, 9, 8, 8, 2, + 0, 1, 1, 2, 2, 1, 2, 3, 3, 3, + 3, 4, 4, 3, 3, 3, 4, 4, 3, 4, + 4, 1, 1, 1, 0, 8, 8, 11, 1, 1, + 2, 4, 5, 1, 3, 2, 2, 2, 2, 2, + 1, 3, 1, 1, 2, 2, 4, 3, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 5, 5, 5, 5, 5, 1, 3, 1, 2, 3, 0, 5, 7, 6, 9, 3, 1, 2, 1, 1, 1, @@ -4570,134 +4570,134 @@ static const yytype_uint8 yyr2[] = 3, 1, 3, 3, 5, 6, 1, 3, 2, 1, 3, 1, 0, 1, 2, 4, 5, 1, 1, 1, 1, 3, 3, 2, 2, 1, 2, 2, 2, 2, - 1, 2, 2, 2, 2, 1, 1, 1, 3, 2, - 1, 4, 0, 3, 0, 1, 1, 3, 5, 2, - 0, 2, 1, 3, 5, 5, 5, 1, 2, 1, - 0, 4, 6, 4, 6, 4, 6, 4, 6, 4, - 6, 3, 5, 5, 5, 1, 3, 1, 3, 2, - 2, 1, 2, 1, 2, 11, 10, 10, 2, 2, - 0, 9, 2, 0, 10, 11, 11, 5, 5, 8, - 5, 5, 5, 1, 1, 1, 1, 3, 0, 5, - 5, 6, 6, 6, 6, 6, 8, 8, 6, 6, - 7, 9, 9, 8, 10, 6, 6, 6, 6, 6, - 6, 6, 8, 6, 8, 6, 8, 7, 9, 6, - 8, 7, 9, 8, 10, 8, 10, 9, 11, 8, - 10, 9, 11, 8, 8, 7, 6, 6, 6, 6, - 8, 8, 8, 8, 6, 9, 1, 0, 2, 0, - 8, 8, 8, 10, 9, 8, 1, 0, 6, 6, - 6, 6, 6, 6, 6, 9, 9, 6, 6, 6, - 8, 6, 8, 8, 8, 8, 6, 8, 6, 8, - 7, 9, 7, 9, 6, 7, 1, 3, 3, 3, - 1, 1, 1, 1, 1, 1, 7, 6, 6, 6, - 6, 6, 6, 7, 7, 6, 9, 9, 6, 6, - 6, 6, 6, 6, 8, 8, 8, 6, 7, 6, - 6, 4, 7, 6, 4, 4, 4, 3, 4, 3, - 1, 1, 3, 5, 5, 5, 5, 8, 5, 5, - 6, 7, 7, 7, 4, 4, 5, 4, 6, 13, - 1, 1, 3, 3, 1, 1, 1, 1, 1, 1, - 1, 0, 1, 1, 1, 1, 1, 1, 0, 3, - 2, 0, 2, 2, 2, 3, 3, 3, 3, 2, - 3, 2, 5, 4, 3, 3, 3, 3, 3, 1, - 1, 0, 3, 2, 2, 1, 2, 1, 3, 2, - 1, 0, 2, 3, 0, 9, 11, 12, 14, 3, - 4, 4, 0, 2, 5, 1, 0, 1, 2, 3, - 3, 3, 1, 2, 1, 1, 1, 1, 1, 1, - 0, 5, 4, 6, 6, 4, 3, 5, 7, 9, - 1, 3, 1, 5, 4, 4, 6, 4, 6, 6, - 5, 7, 9, 6, 1, 0, 6, 11, 11, 11, - 13, 9, 11, 1, 1, 10, 6, 4, 4, 2, - 5, 2, 0, 6, 5, 3, 5, 1, 3, 1, - 1, 2, 1, 1, 1, 1, 1, 0, 1, 0, - 1, 0, 1, 0, 1, 0, 3, 0, 2, 1, - 3, 1, 0, 2, 4, 3, 5, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 5, 3, 0, - 1, 1, 1, 1, 1, 3, 9, 12, 3, 0, - 2, 3, 2, 3, 7, 1, 3, 1, 4, 4, - 7, 2, 1, 1, 1, 3, 2, 8, 5, 0, - 4, 3, 0, 3, 0, 4, 0, 1, 3, 3, - 1, 1, 7, 2, 0, 5, 3, 0, 2, 2, - 2, 3, 1, 3, 1, 2, 1, 0, 1, 2, - 0, 8, 1, 3, 3, 5, 2, 1, 3, 10, - 1, 2, 4, 4, 4, 5, 5, 2, 5, 3, - 5, 2, 0, 3, 1, 2, 5, 5, 8, 3, - 4, 7, 1, 0, 3, 2, 2, 2, 2, 0, - 2, 2, 1, 1, 3, 3, 1, 2, 4, 4, - 2, 3, 5, 5, 1, 1, 9, 9, 1, 2, - 4, 4, 4, 2, 2, 3, 1, 3, 9, 1, - 2, 0, 7, 7, 0, 10, 6, 0, 1, 0, - 2, 0, 3, 3, 4, 4, 4, 4, 3, 2, - 1, 1, 0, 1, 1, 0, 1, 5, 1, 0, - 1, 1, 1, 0, 3, 1, 3, 4, 3, 2, - 2, 1, 1, 1, 0, 2, 4, 5, 6, 4, - 5, 2, 3, 1, 1, 1, 1, 2, 2, 1, - 1, 1, 1, 1, 1, 4, 0, 1, 3, 1, - 1, 1, 1, 1, 2, 4, 4, 5, 2, 0, - 1, 3, 1, 0, 1, 2, 3, 2, 4, 2, - 3, 2, 0, 4, 5, 2, 0, 1, 3, 2, - 3, 2, 3, 2, 3, 2, 3, 1, 4, 2, - 3, 3, 4, 5, 4, 5, 4, 5, 2, 4, - 1, 1, 0, 2, 0, 1, 4, 5, 4, 0, - 2, 2, 2, 1, 1, 0, 5, 2, 1, 1, - 2, 2, 4, 1, 3, 1, 2, 3, 6, 4, - 0, 2, 6, 2, 1, 3, 4, 0, 2, 0, - 2, 0, 2, 4, 0, 1, 0, 1, 3, 3, - 7, 12, 1, 3, 2, 3, 3, 1, 2, 2, - 2, 2, 1, 2, 1, 3, 3, 2, 13, 2, - 0, 1, 3, 3, 6, 7, 5, 7, 9, 1, - 0, 2, 0, 2, 3, 5, 6, 2, 3, 3, - 4, 0, 1, 1, 1, 1, 1, 2, 4, 1, - 1, 1, 1, 1, 1, 2, 3, 3, 0, 1, - 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, - 3, 0, 1, 1, 1, 1, 5, 2, 1, 1, - 1, 1, 4, 1, 2, 2, 1, 3, 3, 2, - 1, 0, 5, 2, 5, 2, 1, 3, 3, 0, - 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, - 3, 3, 3, 0, 1, 4, 1, 1, 3, 3, - 5, 3, 2, 2, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 2, 3, 3, - 2, 2, 3, 5, 4, 6, 3, 5, 4, 6, - 4, 6, 5, 7, 3, 2, 4, 2, 3, 3, - 4, 3, 4, 3, 4, 5, 6, 6, 7, 6, - 7, 3, 5, 4, 6, 4, 6, 3, 3, 4, - 3, 4, 4, 5, 4, 5, 1, 1, 3, 2, - 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 2, 5, 6, 3, 4, 1, - 1, 2, 4, 1, 1, 1, 2, 2, 2, 2, - 1, 1, 4, 3, 5, 6, 8, 6, 6, 4, - 4, 3, 1, 1, 1, 1, 5, 1, 1, 4, - 1, 4, 1, 4, 1, 4, 1, 1, 1, 1, - 1, 1, 1, 6, 4, 4, 6, 4, 4, 4, - 4, 4, 6, 5, 5, 5, 4, 6, 4, 4, - 4, 4, 5, 7, 7, 9, 5, 4, 6, 5, - 7, 7, 8, 4, 7, 4, 6, 6, 4, 5, - 4, 5, 3, 11, 8, 9, 2, 3, 3, 3, - 4, 0, 4, 1, 3, 3, 1, 1, 1, 1, - 2, 0, 2, 2, 0, 2, 3, 3, 4, 2, - 2, 5, 0, 5, 0, 2, 0, 1, 3, 3, - 2, 2, 0, 6, 1, 0, 3, 0, 3, 3, - 3, 0, 1, 4, 2, 2, 2, 2, 2, 3, - 2, 2, 3, 0, 4, 3, 5, 4, 3, 5, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, - 4, 1, 4, 1, 2, 1, 2, 1, 3, 1, - 3, 1, 3, 3, 1, 0, 1, 3, 3, 3, - 2, 1, 3, 3, 3, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 7, 5, 3, - 5, 5, 3, 3, 5, 3, 2, 1, 5, 1, - 2, 4, 2, 0, 1, 0, 1, 2, 2, 2, - 3, 5, 1, 0, 1, 2, 0, 2, 1, 0, - 2, 0, 1, 3, 3, 2, 3, 2, 3, 4, - 4, 3, 3, 0, 2, 1, 1, 1, 1, 1, - 1, 2, 2, 1, 3, 3, 6, 0, 3, 0, - 2, 4, 2, 1, 0, 5, 2, 5, 2, 0, - 3, 0, 1, 2, 2, 2, 2, 3, 2, 3, - 2, 0, 1, 3, 3, 3, 3, 3, 0, 3, - 3, 0, 1, 3, 7, 7, 3, 0, 1, 0, - 1, 3, 3, 2, 1, 1, 1, 3, 1, 2, - 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, - 1, 1, 2, 6, 2, 6, 2, 3, 5, 2, - 3, 5, 1, 1, 1, 1, 1, 1, 2, 2, - 1, 1, 1, 1, 1, 1, 3, 10, 4, 1, + 1, 2, 2, 2, 2, 2, 1, 1, 1, 3, + 2, 1, 4, 0, 3, 0, 1, 1, 3, 5, + 2, 0, 2, 1, 3, 5, 5, 5, 1, 2, + 1, 0, 4, 6, 4, 6, 4, 6, 4, 6, + 4, 6, 3, 5, 5, 5, 1, 3, 1, 3, + 2, 2, 1, 2, 1, 2, 2, 11, 10, 10, + 2, 2, 0, 9, 2, 0, 10, 11, 11, 5, + 5, 8, 5, 5, 5, 1, 1, 1, 1, 3, + 0, 5, 5, 6, 6, 6, 6, 6, 8, 8, + 6, 6, 7, 9, 9, 8, 10, 6, 6, 6, + 6, 6, 6, 6, 8, 6, 8, 6, 8, 7, + 9, 6, 8, 7, 9, 8, 10, 8, 10, 9, + 11, 8, 10, 9, 11, 8, 8, 7, 6, 6, + 6, 6, 8, 8, 8, 8, 6, 9, 1, 0, + 2, 0, 8, 8, 8, 10, 9, 8, 1, 0, + 6, 6, 6, 6, 6, 6, 6, 9, 9, 6, + 6, 6, 8, 6, 8, 8, 8, 8, 6, 8, + 6, 8, 7, 9, 7, 9, 6, 7, 1, 3, + 3, 3, 1, 1, 1, 1, 1, 1, 7, 6, + 6, 6, 6, 6, 6, 7, 7, 6, 9, 9, + 6, 6, 6, 6, 6, 6, 8, 8, 8, 6, + 7, 6, 6, 4, 7, 6, 4, 4, 4, 3, + 4, 3, 1, 1, 3, 5, 5, 5, 5, 8, + 5, 5, 6, 7, 7, 7, 4, 4, 5, 4, + 6, 13, 1, 1, 3, 3, 1, 1, 1, 1, + 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, + 0, 4, 2, 2, 2, 2, 3, 3, 3, 3, + 2, 3, 2, 5, 4, 3, 3, 3, 3, 3, + 1, 1, 0, 3, 2, 2, 1, 2, 1, 3, + 2, 1, 0, 2, 3, 0, 9, 11, 12, 14, + 3, 4, 4, 0, 2, 5, 1, 0, 1, 2, + 3, 3, 3, 1, 2, 1, 1, 1, 1, 1, + 1, 0, 5, 4, 6, 6, 4, 3, 5, 7, + 9, 1, 3, 1, 5, 4, 4, 6, 4, 6, + 6, 5, 7, 9, 6, 1, 0, 6, 11, 11, + 11, 13, 9, 11, 1, 1, 10, 6, 4, 4, + 2, 5, 2, 0, 6, 5, 3, 5, 1, 3, + 1, 1, 2, 1, 1, 1, 1, 1, 0, 1, + 0, 1, 0, 1, 0, 1, 0, 3, 0, 2, + 1, 3, 1, 0, 2, 4, 3, 5, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 5, 3, + 0, 1, 1, 1, 1, 1, 3, 9, 12, 3, + 0, 2, 3, 2, 3, 7, 1, 3, 1, 4, + 4, 7, 2, 1, 1, 1, 3, 2, 8, 5, + 0, 4, 3, 0, 3, 0, 4, 0, 1, 3, + 3, 1, 1, 7, 2, 0, 5, 3, 0, 2, + 2, 2, 3, 1, 3, 1, 2, 1, 0, 1, + 2, 0, 8, 1, 3, 3, 5, 2, 1, 3, + 10, 1, 2, 4, 4, 4, 5, 5, 2, 5, + 3, 5, 2, 0, 3, 1, 2, 5, 5, 8, + 3, 4, 7, 1, 0, 3, 2, 2, 2, 2, + 0, 2, 2, 1, 1, 3, 3, 1, 2, 4, + 4, 2, 3, 5, 5, 1, 1, 9, 9, 1, + 2, 4, 4, 4, 2, 2, 3, 1, 3, 9, + 1, 2, 0, 7, 7, 0, 10, 6, 0, 1, + 0, 2, 0, 3, 3, 4, 4, 4, 4, 3, + 2, 1, 1, 0, 1, 1, 0, 1, 5, 1, + 0, 1, 1, 1, 0, 3, 1, 3, 4, 3, + 2, 2, 1, 1, 1, 0, 2, 4, 5, 6, + 4, 5, 2, 3, 1, 1, 1, 1, 2, 2, + 1, 1, 1, 1, 1, 1, 4, 0, 1, 3, + 1, 1, 1, 1, 1, 2, 4, 4, 5, 2, + 0, 1, 3, 1, 0, 1, 2, 3, 2, 4, + 2, 3, 2, 0, 4, 5, 2, 0, 1, 3, + 2, 3, 2, 3, 2, 3, 2, 3, 1, 4, + 2, 3, 3, 4, 5, 4, 5, 4, 5, 2, + 4, 1, 1, 0, 2, 0, 1, 4, 5, 4, + 0, 2, 2, 2, 1, 1, 0, 5, 2, 1, + 1, 2, 2, 4, 1, 3, 1, 2, 3, 6, + 4, 0, 2, 6, 2, 1, 3, 4, 0, 2, + 0, 2, 0, 2, 4, 0, 1, 0, 1, 3, + 3, 7, 12, 1, 3, 2, 3, 3, 1, 2, + 2, 2, 2, 1, 2, 1, 3, 3, 2, 13, + 2, 0, 1, 3, 3, 6, 7, 5, 7, 9, + 1, 0, 2, 0, 2, 3, 5, 6, 2, 3, + 3, 4, 0, 1, 1, 1, 1, 1, 2, 4, + 1, 1, 1, 1, 1, 1, 2, 3, 3, 0, + 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, + 1, 3, 0, 1, 1, 1, 1, 5, 2, 1, + 1, 1, 1, 4, 1, 2, 2, 1, 3, 3, + 2, 1, 0, 5, 2, 5, 2, 1, 3, 3, + 0, 1, 1, 1, 1, 1, 1, 3, 3, 3, + 3, 3, 3, 3, 0, 1, 4, 1, 1, 3, + 3, 5, 3, 2, 2, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 2, 3, + 3, 2, 2, 3, 5, 4, 6, 3, 5, 4, + 6, 4, 6, 5, 7, 3, 2, 4, 2, 3, + 3, 4, 3, 4, 3, 4, 5, 6, 6, 7, + 6, 7, 3, 5, 4, 6, 4, 6, 3, 3, + 4, 3, 4, 4, 5, 4, 5, 1, 1, 3, + 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 2, 5, 6, 3, 4, + 1, 1, 2, 4, 1, 1, 1, 2, 2, 2, + 2, 1, 1, 4, 3, 5, 6, 8, 6, 6, + 4, 4, 3, 1, 1, 1, 1, 5, 1, 1, + 4, 1, 4, 1, 4, 1, 4, 1, 1, 1, + 1, 1, 1, 1, 6, 4, 4, 6, 4, 4, + 4, 4, 4, 6, 5, 5, 5, 4, 6, 4, + 4, 4, 4, 5, 7, 7, 9, 5, 4, 6, + 5, 7, 7, 8, 4, 7, 4, 6, 6, 4, + 5, 4, 5, 3, 11, 8, 9, 2, 3, 3, + 3, 4, 0, 4, 1, 3, 3, 1, 1, 1, + 1, 2, 0, 2, 2, 0, 2, 3, 3, 4, + 2, 2, 5, 0, 5, 0, 2, 0, 1, 3, + 3, 2, 2, 0, 6, 1, 0, 3, 0, 3, + 3, 3, 0, 1, 4, 2, 2, 2, 2, 2, + 3, 2, 2, 3, 0, 4, 3, 5, 4, 3, + 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, + 1, 4, 1, 4, 1, 2, 1, 2, 1, 3, + 1, 3, 1, 3, 3, 1, 0, 1, 3, 3, + 3, 2, 1, 3, 3, 3, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 7, 5, + 3, 5, 5, 3, 3, 5, 3, 2, 1, 5, + 1, 2, 4, 2, 0, 1, 0, 1, 2, 2, + 2, 3, 5, 1, 0, 1, 2, 0, 2, 1, + 0, 2, 0, 1, 3, 3, 2, 3, 2, 3, + 4, 4, 3, 3, 0, 2, 1, 1, 1, 1, + 1, 1, 2, 2, 1, 3, 3, 6, 0, 3, + 0, 2, 4, 2, 1, 0, 5, 2, 5, 2, + 0, 3, 0, 1, 2, 2, 2, 2, 3, 2, + 3, 2, 0, 1, 3, 3, 3, 3, 3, 0, + 3, 3, 0, 1, 3, 7, 7, 3, 0, 1, + 0, 1, 3, 3, 2, 1, 1, 1, 3, 1, + 2, 1, 3, 1, 1, 1, 1, 2, 1, 1, + 1, 1, 1, 2, 6, 2, 6, 2, 3, 5, + 2, 3, 5, 1, 1, 1, 1, 1, 1, 2, + 2, 1, 1, 1, 1, 1, 1, 3, 10, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -4794,7 +4794,7 @@ static const yytype_uint8 yyr2[] = 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state @@ -4802,12 +4802,12 @@ static const yytype_uint8 yyr2[] = means the default is an error. */ static const yytype_uint16 yydefact[] = { - 1749, 1481, 686, 1570, 1569, 1481, 0, 276, 0, 1581, - 0, 1481, 445, 1138, 0, 0, 0, 0, 686, 1481, - 0, 1749, 0, 0, 0, 0, 0, 1762, 0, 0, - 0, 0, 0, 1278, 0, 0, 0, 1481, 0, 0, - 1769, 0, 0, 0, 0, 1762, 0, 1583, 0, 0, - 0, 0, 1769, 0, 0, 0, 0, 0, 2, 9, + 1750, 1482, 687, 1571, 1570, 1482, 0, 277, 0, 1582, + 0, 1482, 446, 1138, 0, 0, 0, 0, 687, 1482, + 0, 1750, 0, 0, 0, 0, 0, 1763, 0, 0, + 0, 0, 0, 1280, 0, 0, 0, 1482, 0, 0, + 1770, 0, 0, 0, 0, 1763, 0, 1584, 0, 0, + 0, 0, 1770, 0, 0, 0, 0, 0, 2, 9, 10, 45, 80, 81, 38, 37, 98, 63, 24, 71, 133, 132, 134, 50, 46, 88, 33, 35, 47, 51, 73, 75, 40, 53, 64, 110, 72, 31, 70, 76, @@ -4819,164 +4819,164 @@ static const yytype_uint16 yydefact[] = 117, 34, 121, 25, 26, 28, 29, 27, 67, 36, 74, 39, 95, 124, 114, 109, 129, 127, 11, 135, 111, 83, 14, 15, 100, 13, 32, 57, 17, 42, - 41, 56, 48, 131, 44, 1581, 102, 115, 101, 84, - 108, 87, 112, 130, 113, 85, 126, 1713, 1712, 1773, - 1716, 1748, 0, 1728, 1480, 1479, 1494, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 685, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1491, 2483, 2500, 2501, 2502, 2503, 2504, - 2505, 2506, 2507, 2508, 2509, 2510, 2511, 2512, 2513, 2514, - 2516, 2515, 2517, 2518, 2893, 2519, 2520, 2521, 2830, 2831, - 2894, 2832, 2833, 2522, 2523, 2524, 2525, 2526, 2527, 2528, - 2529, 2530, 2834, 2835, 2531, 2532, 2533, 2534, 2535, 2836, - 2895, 2536, 2537, 2538, 2539, 2540, 2541, 2896, 2542, 2543, - 2544, 2545, 2546, 2547, 2548, 2549, 2550, 2551, 2897, 2552, - 2553, 2554, 2898, 2555, 2556, 2557, 2558, 2559, 2560, 2837, - 2838, 2561, 2562, 2563, 2564, 2565, 2566, 2567, 2568, 2569, - 2570, 2571, 2572, 2573, 2574, 2575, 2576, 2577, 2578, 2579, - 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 2589, - 2590, 2591, 2839, 2592, 2593, 2594, 2595, 2840, 2596, 2597, - 2598, 2599, 2841, 2600, 2601, 2602, 2603, 2899, 2900, 2604, - 2605, 2606, 2607, 2608, 2842, 2843, 2609, 2610, 2611, 2612, - 2613, 2614, 2615, 2901, 2616, 2617, 2618, 2619, 2620, 2621, - 2622, 2623, 2624, 2625, 2626, 2627, 2628, 2902, 2844, 2629, - 2630, 2631, 2632, 2845, 2846, 2847, 2633, 2903, 2904, 2634, - 2905, 2848, 2849, 2850, 2851, 2852, 2853, 2854, 2855, 2856, - 2857, 2858, 2635, 2636, 2637, 2638, 2639, 2640, 2641, 2642, - 2859, 2906, 2643, 2907, 2644, 2645, 2646, 2647, 2648, 2649, - 2650, 2651, 2652, 2653, 2654, 2655, 2656, 2860, 2657, 2658, - 2659, 2660, 2661, 2662, 2663, 2664, 2861, 2908, 2862, 2665, - 2666, 2667, 2668, 2669, 2670, 2671, 2672, 2863, 2864, 2673, - 2674, 2675, 2909, 2676, 2865, 2677, 2866, 2678, 2679, 2680, - 2681, 2682, 2683, 2684, 2685, 2686, 2687, 2688, 2689, 2867, - 2910, 2690, 2911, 2868, 2691, 2692, 2693, 2694, 2695, 2696, - 2697, 2698, 2699, 2700, 2701, 2702, 2703, 2704, 2705, 2869, - 2706, 2870, 2709, 2707, 2708, 2710, 2711, 2712, 2713, 2714, - 2715, 2716, 2717, 2718, 2719, 2720, 2871, 2721, 2722, 2723, - 2724, 2725, 2726, 2727, 2728, 2729, 2730, 2731, 2732, 2733, - 2734, 2735, 2736, 2737, 2738, 2912, 2739, 2740, 2741, 2742, - 2743, 2872, 2744, 2745, 2746, 2747, 2748, 2749, 2750, 2751, - 2752, 2753, 2754, 2755, 2756, 2757, 2758, 2759, 2760, 2873, - 2761, 2762, 2913, 2763, 2764, 2874, 2765, 2766, 2767, 2768, - 2769, 2770, 2771, 2772, 2773, 2774, 2775, 2776, 2777, 2778, - 2779, 2780, 2875, 2781, 2782, 2783, 2784, 2914, 2785, 2786, - 2787, 2788, 2789, 2790, 2791, 2876, 2877, 2792, 2793, 2878, - 2794, 2879, 2795, 2796, 2797, 2798, 2799, 2800, 2802, 2801, - 2803, 2804, 2805, 2806, 2807, 2808, 2809, 2810, 2811, 2812, - 2813, 2880, 2881, 2814, 2915, 2815, 2816, 2817, 2818, 2819, - 2820, 2821, 2822, 2823, 2824, 2825, 2826, 2882, 2883, 2884, - 2885, 2886, 2887, 2888, 2889, 2890, 2891, 2892, 2827, 2828, - 2829, 146, 0, 0, 2445, 2484, 2485, 2488, 2483, 415, - 414, 1702, 2442, 2484, 1580, 0, 1559, 686, 0, 1494, - 444, 1749, 0, 0, 0, 0, 0, 0, 905, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 138, 0, 140, 0, 0, 469, 468, 0, 0, - 1110, 474, 0, 0, 0, 0, 0, 676, 1622, 2707, - 1620, 1703, 277, 280, 281, 278, 279, 2466, 0, 1250, - 1251, 1253, 0, 0, 1263, 943, 944, 0, 0, 0, - 957, 0, 0, 0, 941, 0, 0, 0, 963, 0, - 960, 0, 0, 964, 961, 938, 962, 945, 0, 937, - 0, 0, 1263, 965, 0, 0, 939, 0, 0, 0, - 0, 1494, 1619, 475, 1749, 0, 1603, 1604, 1605, 1581, - 1593, 1606, 1598, 1600, 1599, 1601, 1602, 1597, 2465, 2502, - 1033, 1033, 1033, 1033, 1030, 1031, 1033, 1033, 1033, 2727, - 0, 0, 1012, 0, 1014, 2467, 1033, 1038, 2510, 562, - 562, 562, 0, 1037, 1042, 562, 0, 1462, 1503, 2444, - 1761, 0, 1013, 1461, 2792, 1609, 0, 0, 0, 0, - 2746, 1471, 261, 2758, 2876, 2792, 260, 255, 256, 227, - 0, 0, 1037, 562, 0, 1494, 1469, 1009, 1768, 1766, - 0, 2429, 2529, 2546, 2646, 252, 2739, 2748, 2758, 2876, - 2792, 2826, 203, 213, 208, 0, 270, 2758, 2876, 2792, - 266, 1491, 0, 1729, 1879, 1878, 2438, 0, 1464, 1463, - 1582, 0, 1585, 0, 2722, 1733, 1736, 1587, 1734, 2486, - 1972, 2001, 1979, 2001, 2001, 1968, 1968, 2576, 1981, 1969, - 1970, 2006, 2026, 0, 2001, 1968, 1973, 0, 1971, 2009, - 2009, 1996, 3, 1951, 1952, 1953, 1954, 1982, 1983, 1955, - 1988, 1989, 1993, 1956, 2023, 1959, 1968, 2487, 1770, 1771, - 2429, 4, 2480, 5, 2356, 2479, 6, 7, 1725, 0, - 0, 1, 1749, 0, 1592, 1765, 1765, 0, 1765, 0, - 1717, 1725, 1720, 1724, 0, 0, 0, 0, 0, 0, - 1465, 0, 0, 0, 968, 0, 1506, 1094, 0, 0, - 0, 0, 0, 1347, 0, 1147, 1146, 2489, 2472, 2473, - 2474, 0, 2470, 2471, 2490, 2491, 2492, 0, 2615, 1347, - 0, 0, 2273, 2284, 2285, 2286, 2533, 2596, 2281, 2282, - 2283, 2275, 2276, 2277, 2278, 2279, 2280, 0, 0, 1245, - 2274, 0, 2615, 0, 1347, 0, 175, 0, 150, 1347, - 0, 0, 2615, 0, 0, 2615, 0, 0, 0, 0, - 0, 2615, 0, 0, 0, 0, 0, 175, 2651, 0, - 150, 2615, 0, 0, 1485, 0, 0, 0, 1487, 1490, - 1477, 0, 2353, 0, 2354, 2446, 1574, 0, 1573, 1567, - 1577, 1572, 1562, 0, 2438, 0, 0, 0, 0, 951, - 0, 0, 941, 0, 0, 0, 952, 0, 953, 954, - 0, 0, 0, 0, 950, 0, 1475, 1467, 0, 1611, - 1613, 1612, 1614, 1610, 562, 0, 0, 0, 2615, 0, - 150, 1545, 0, 2615, 150, 0, 0, 473, 472, 150, - 2470, 471, 470, 2533, 2596, 0, 1137, 0, 1220, 150, - 2615, 0, 196, 2615, 745, 2615, 1587, 139, 0, 689, - 0, 859, 2651, 150, 0, 0, 0, 0, 0, 0, - 142, 0, 0, 0, 0, 0, 0, 0, 675, 686, - 1623, 1621, 0, 1254, 254, 253, 1252, 955, 2615, 1179, - 145, 0, 0, 2615, 1526, 2615, 145, 972, 956, 0, - 942, 2615, 145, 1143, 2615, 2475, 185, 0, 940, 2533, - 2596, 2615, 145, 1247, 0, 2615, 145, 2615, 181, 2615, - 145, 2615, 145, 2615, 690, 0, 0, 2615, 145, 2615, - 2651, 183, 959, 2615, 145, 966, 2615, 145, 2440, 2615, - 0, 1478, 0, 1615, 0, 1595, 2880, 0, 1749, 1033, - 1032, 0, 1033, 0, 1033, 0, 1033, 0, 1033, 0, - 0, 0, 1033, 2468, 2469, 1015, 0, 1039, 0, 1047, - 0, 1046, 1045, 1044, 0, 0, 0, 1048, 0, 1883, - 1657, 0, 1459, 1474, 0, 0, 0, 142, 0, 1276, - 1273, 142, 1275, 1274, 142, 142, 1470, 259, 257, 0, - 0, 0, 0, 0, 0, 1476, 0, 1468, 0, 0, - 0, 2448, 2450, 2451, 2287, 2356, 0, 2831, 2832, 2833, - 2345, 0, 2834, 2835, 2836, 2895, 2161, 2147, 2156, 2162, - 2148, 2150, 2157, 2837, 2838, 2096, 2839, 2840, 2463, 2841, - 2842, 2843, 2845, 2846, 2847, 2848, 2849, 2850, 2851, 2852, - 2853, 2854, 2855, 2856, 2858, 2859, 2152, 2154, 2860, 2861, - 2862, 2864, 0, 2464, 2865, 2866, 2685, 2868, 2869, 2871, - 2872, 2158, 2874, 2875, 2159, 2876, 2877, 2878, 2879, 2462, - 517, 2160, 2881, 2883, 2884, 2885, 2886, 2888, 2889, 2890, - 2891, 0, 0, 0, 2435, 0, 2125, 0, 1960, 1961, - 1984, 1985, 1962, 1990, 1991, 1963, 0, 1964, 2434, 2027, - 2232, 2124, 2142, 0, 2130, 2131, 0, 2123, 2119, 2234, - 1751, 2430, 0, 2120, 2447, 2449, 2346, 1751, 2428, 216, - 272, 0, 273, 2436, 2758, 204, 251, 219, 250, 221, - 220, 218, 217, 0, 2531, 205, 0, 0, 206, 0, - 0, 0, 0, 269, 267, 0, 1466, 0, 1881, 1880, - 2439, 977, 0, 1584, 1581, 2297, 0, 1735, 0, 0, - 0, 2000, 1987, 1995, 1994, 0, 1977, 1976, 1975, 0, - 1974, 2001, 2001, 1999, 1978, 1951, 0, 0, 0, 2005, - 0, 2003, 1947, 1943, 0, 2012, 2013, 2014, 2011, 2024, - 2010, 0, 1957, 2015, 0, 1968, 1965, 1836, 0, 1715, - 1714, 8, 0, 1589, 1591, 1565, 1587, 1763, 1764, 0, - 0, 0, 0, 0, 0, 0, 0, 1823, 1781, 1782, - 1784, 1820, 1824, 1832, 0, 1721, 0, 0, 0, 1885, - 0, 0, 1492, 0, 0, 0, 0, 0, 1178, 0, - 0, 0, 0, 969, 0, 0, 0, 1512, 0, 1514, - 1515, 1516, 0, 0, 0, 1517, 1518, 1506, 263, 1525, - 1522, 1505, 1507, 1520, 0, 0, 0, 0, 0, 0, - 0, 1537, 0, 189, 190, 0, 702, 686, 0, 2615, - 0, 0, 0, 0, 1188, 1195, 1346, 0, 0, 0, - 0, 0, 0, 0, 0, 1189, 1187, 0, 1190, 265, - 1200, 1227, 1230, 0, 0, 1145, 1148, 0, 0, 0, - 0, 0, 1337, 0, 0, 0, 1337, 0, 0, 0, - 1346, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 288, 290, 303, 370, 0, 667, 0, 0, 0, 670, - 0, 2615, 1347, 0, 0, 0, 1249, 0, 0, 0, - 0, 0, 0, 0, 0, 1230, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 148, 149, 154, 0, 0, - 0, 0, 1230, 0, 0, 0, 0, 0, 0, 0, - 651, 666, 654, 0, 0, 0, 0, 0, 662, 0, - 0, 150, 664, 293, 641, 647, 0, 0, 0, 752, - 751, 0, 0, 0, 0, 0, 0, 1435, 0, 1434, - 0, 0, 0, 0, 0, 1535, 1534, 0, 0, 0, - 0, 0, 0, 1337, 0, 282, 284, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 407, 408, 0, 0, 0, 154, 0, 0, - 1337, 0, 295, 0, 0, 1486, 1483, 1484, 0, 1489, - 0, 0, 0, 0, 2133, 0, 2301, 1773, 2299, 2445, - 2352, 0, 2493, 2916, 2917, 2918, 2919, 2920, 2921, 2922, + 41, 56, 48, 131, 44, 1582, 102, 115, 101, 84, + 108, 87, 112, 130, 113, 85, 126, 1714, 1713, 1774, + 1717, 1749, 0, 1729, 1481, 1480, 1495, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 686, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1492, 2484, 2501, 2502, 2503, 2504, 2505, + 2506, 2507, 2508, 2509, 2510, 2511, 2512, 2513, 2514, 2515, + 2517, 2516, 2518, 2519, 2894, 2520, 2521, 2522, 2831, 2832, + 2895, 2833, 2834, 2523, 2524, 2525, 2526, 2527, 2528, 2529, + 2530, 2531, 2835, 2836, 2532, 2533, 2534, 2535, 2536, 2837, + 2896, 2537, 2538, 2539, 2540, 2541, 2542, 2897, 2543, 2544, + 2545, 2546, 2547, 2548, 2549, 2550, 2551, 2552, 2898, 2553, + 2554, 2555, 2899, 2556, 2557, 2558, 2559, 2560, 2561, 2838, + 2839, 2562, 2563, 2564, 2565, 2566, 2567, 2568, 2569, 2570, + 2571, 2572, 2573, 2574, 2575, 2576, 2577, 2578, 2579, 2580, + 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 2589, 2590, + 2591, 2592, 2840, 2593, 2594, 2595, 2596, 2841, 2597, 2598, + 2599, 2600, 2842, 2601, 2602, 2603, 2604, 2900, 2901, 2605, + 2606, 2607, 2608, 2609, 2843, 2844, 2610, 2611, 2612, 2613, + 2614, 2615, 2616, 2902, 2617, 2618, 2619, 2620, 2621, 2622, + 2623, 2624, 2625, 2626, 2627, 2628, 2629, 2903, 2845, 2630, + 2631, 2632, 2633, 2846, 2847, 2848, 2634, 2904, 2905, 2635, + 2906, 2849, 2850, 2851, 2852, 2853, 2854, 2855, 2856, 2857, + 2858, 2859, 2636, 2637, 2638, 2639, 2640, 2641, 2642, 2643, + 2860, 2907, 2644, 2908, 2645, 2646, 2647, 2648, 2649, 2650, + 2651, 2652, 2653, 2654, 2655, 2656, 2657, 2861, 2658, 2659, + 2660, 2661, 2662, 2663, 2664, 2665, 2862, 2909, 2863, 2666, + 2667, 2668, 2669, 2670, 2671, 2672, 2673, 2864, 2865, 2674, + 2675, 2676, 2910, 2677, 2866, 2678, 2867, 2679, 2680, 2681, + 2682, 2683, 2684, 2685, 2686, 2687, 2688, 2689, 2690, 2868, + 2911, 2691, 2912, 2869, 2692, 2693, 2694, 2695, 2696, 2697, + 2698, 2699, 2700, 2701, 2702, 2703, 2704, 2705, 2706, 2870, + 2707, 2871, 2710, 2708, 2709, 2711, 2712, 2713, 2714, 2715, + 2716, 2717, 2718, 2719, 2720, 2721, 2872, 2722, 2723, 2724, + 2725, 2726, 2727, 2728, 2729, 2730, 2731, 2732, 2733, 2734, + 2735, 2736, 2737, 2738, 2739, 2913, 2740, 2741, 2742, 2743, + 2744, 2873, 2745, 2746, 2747, 2748, 2749, 2750, 2751, 2752, + 2753, 2754, 2755, 2756, 2757, 2758, 2759, 2760, 2761, 2874, + 2762, 2763, 2914, 2764, 2765, 2875, 2766, 2767, 2768, 2769, + 2770, 2771, 2772, 2773, 2774, 2775, 2776, 2777, 2778, 2779, + 2780, 2781, 2876, 2782, 2783, 2784, 2785, 2915, 2786, 2787, + 2788, 2789, 2790, 2791, 2792, 2877, 2878, 2793, 2794, 2879, + 2795, 2880, 2796, 2797, 2798, 2799, 2800, 2801, 2803, 2802, + 2804, 2805, 2806, 2807, 2808, 2809, 2810, 2811, 2812, 2813, + 2814, 2881, 2882, 2815, 2916, 2816, 2817, 2818, 2819, 2820, + 2821, 2822, 2823, 2824, 2825, 2826, 2827, 2883, 2884, 2885, + 2886, 2887, 2888, 2889, 2890, 2891, 2892, 2893, 2828, 2829, + 2830, 146, 0, 0, 2446, 2485, 2486, 2489, 2484, 416, + 415, 1703, 2443, 2485, 1581, 0, 1560, 687, 0, 1495, + 445, 1750, 0, 0, 0, 0, 0, 0, 906, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 138, 0, 140, 0, 0, 470, 469, 0, 0, + 1110, 475, 0, 0, 0, 0, 0, 677, 1623, 2708, + 1621, 1704, 278, 281, 282, 279, 280, 2467, 0, 1251, + 1252, 1254, 0, 0, 1265, 944, 945, 0, 0, 0, + 958, 0, 0, 0, 942, 0, 0, 0, 964, 0, + 961, 0, 0, 965, 962, 939, 963, 946, 0, 938, + 0, 0, 1265, 966, 0, 0, 940, 0, 0, 0, + 0, 1495, 1620, 476, 1750, 0, 1604, 1605, 1606, 1582, + 1594, 1607, 1599, 1601, 1600, 1602, 1603, 1598, 2466, 2503, + 1034, 1034, 1034, 1034, 1031, 1032, 1034, 1034, 1034, 2728, + 0, 0, 1013, 0, 1015, 2468, 1034, 1039, 2511, 563, + 563, 563, 0, 1038, 1043, 563, 0, 1463, 1504, 2445, + 1762, 0, 1014, 1462, 2793, 1610, 0, 0, 0, 0, + 2747, 1472, 262, 2759, 2877, 2793, 261, 227, 256, 257, + 228, 0, 0, 1038, 563, 0, 1495, 1470, 1010, 1769, + 1767, 0, 2430, 2530, 2547, 2647, 253, 2740, 2749, 2759, + 2877, 2793, 2827, 203, 213, 208, 0, 271, 2759, 2877, + 2793, 267, 1492, 0, 1730, 1880, 1879, 2439, 0, 1465, + 1464, 1583, 0, 1586, 0, 2723, 1734, 1737, 1588, 1735, + 2487, 1973, 2002, 1980, 2002, 2002, 1969, 1969, 2577, 1982, + 1970, 1971, 2007, 2027, 0, 2002, 1969, 1974, 0, 1972, + 2010, 2010, 1997, 3, 1952, 1953, 1954, 1955, 1983, 1984, + 1956, 1989, 1990, 1994, 1957, 2024, 1960, 1969, 2488, 1771, + 1772, 2430, 4, 2481, 5, 2357, 2480, 6, 7, 1726, + 0, 0, 1, 1750, 0, 1593, 1766, 1766, 0, 1766, + 0, 1718, 1726, 1721, 1725, 0, 0, 0, 0, 0, + 0, 1466, 0, 0, 0, 969, 0, 1507, 1094, 0, + 0, 0, 0, 0, 1349, 0, 1147, 1146, 2490, 2473, + 2474, 2475, 0, 2471, 2472, 2491, 2492, 2493, 0, 2616, + 1349, 0, 0, 2274, 2285, 2286, 2287, 2534, 2597, 2282, + 2283, 2284, 2276, 2277, 2278, 2279, 2280, 2281, 0, 0, + 1246, 2275, 0, 2616, 0, 1349, 0, 175, 0, 150, + 1349, 0, 0, 2616, 0, 0, 2616, 0, 0, 0, + 0, 0, 2616, 0, 0, 0, 0, 0, 175, 2652, + 0, 150, 2616, 0, 0, 1486, 0, 0, 0, 1488, + 1491, 1478, 0, 2354, 0, 2355, 2447, 1575, 0, 1574, + 1568, 1578, 1573, 1563, 0, 2439, 0, 0, 0, 0, + 952, 0, 0, 942, 0, 0, 0, 953, 0, 954, + 955, 0, 0, 0, 0, 951, 0, 1476, 1468, 0, + 1612, 1614, 1613, 1615, 1611, 563, 0, 0, 0, 2616, + 0, 150, 1546, 0, 2616, 150, 0, 0, 474, 473, + 150, 2471, 472, 471, 2534, 2597, 0, 1137, 0, 1221, + 150, 2616, 0, 196, 2616, 746, 2616, 1588, 139, 0, + 690, 0, 860, 2652, 150, 0, 0, 0, 0, 0, + 0, 142, 0, 0, 0, 0, 0, 0, 0, 676, + 687, 1624, 1622, 0, 1256, 1255, 1253, 956, 2616, 1179, + 145, 0, 0, 2616, 1527, 2616, 145, 973, 957, 0, + 943, 2616, 145, 1143, 2616, 2476, 185, 0, 941, 2534, + 2597, 2616, 145, 1248, 0, 2616, 145, 2616, 181, 2616, + 145, 2616, 145, 2616, 691, 0, 0, 2616, 145, 2616, + 2652, 183, 960, 2616, 145, 967, 2616, 145, 2441, 2616, + 0, 1479, 0, 1616, 0, 1596, 2881, 0, 1750, 1034, + 1033, 0, 1034, 0, 1034, 0, 1034, 0, 1034, 0, + 0, 0, 1034, 2469, 2470, 1016, 0, 1040, 0, 1048, + 0, 1047, 1046, 1045, 0, 0, 0, 1049, 0, 1884, + 1658, 0, 1475, 0, 0, 0, 142, 0, 1278, 1275, + 142, 1277, 1276, 142, 142, 1471, 260, 258, 0, 0, + 0, 0, 0, 0, 1477, 0, 1469, 0, 0, 0, + 2449, 2451, 2452, 2288, 2357, 0, 2832, 2833, 2834, 2346, + 0, 2835, 2836, 2837, 2896, 2162, 2148, 2157, 2163, 2149, + 2151, 2158, 2838, 2839, 2097, 2840, 2841, 2464, 2842, 2843, + 2844, 2846, 2847, 2848, 2849, 2850, 2851, 2852, 2853, 2854, + 2855, 2856, 2857, 2859, 2860, 2153, 2155, 2861, 2862, 2863, + 2865, 0, 2465, 2866, 2867, 2686, 2869, 2870, 2872, 2873, + 2159, 2875, 2876, 2160, 2877, 2878, 2879, 2880, 2463, 518, + 2161, 2882, 2884, 2885, 2886, 2887, 2889, 2890, 2891, 2892, + 0, 0, 0, 2436, 0, 2126, 0, 1961, 1962, 1985, + 1986, 1963, 1991, 1992, 1964, 0, 1965, 2435, 2028, 2233, + 2125, 2143, 0, 2131, 2132, 0, 2124, 2120, 2235, 1752, + 2431, 0, 2121, 2448, 2450, 2347, 1752, 2429, 216, 273, + 0, 274, 2437, 2759, 204, 252, 219, 251, 221, 220, + 255, 254, 218, 217, 0, 2532, 205, 0, 0, 206, + 0, 0, 0, 0, 270, 268, 0, 1467, 0, 1882, + 1881, 2440, 978, 0, 1585, 1582, 2298, 0, 1736, 0, + 0, 0, 2001, 1988, 1996, 1995, 0, 1978, 1977, 1976, + 0, 1975, 2002, 2002, 2000, 1979, 1952, 0, 0, 0, + 2006, 0, 2004, 1948, 1944, 0, 2013, 2014, 2015, 2012, + 2025, 2011, 0, 1958, 2016, 0, 1969, 1966, 1837, 0, + 1716, 1715, 8, 0, 1590, 1592, 1566, 1588, 1764, 1765, + 0, 0, 0, 0, 0, 0, 0, 0, 1824, 1782, + 1783, 1785, 1821, 1825, 1833, 0, 1722, 0, 0, 0, + 1886, 0, 0, 1493, 0, 0, 0, 0, 0, 1178, + 0, 0, 0, 0, 970, 0, 0, 0, 1513, 0, + 1515, 1516, 1517, 0, 0, 0, 1518, 1519, 1507, 264, + 1526, 1523, 1506, 1508, 1521, 0, 0, 0, 0, 0, + 0, 0, 1538, 0, 189, 190, 0, 703, 687, 0, + 2616, 0, 0, 0, 0, 1188, 1195, 1348, 0, 0, + 0, 0, 0, 0, 0, 0, 1189, 1187, 0, 1190, + 266, 1200, 1228, 1231, 0, 0, 1145, 1148, 0, 0, + 0, 0, 0, 1339, 0, 0, 0, 1339, 0, 0, + 0, 1348, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 289, 291, 304, 371, 0, 668, 0, 0, 0, + 671, 0, 2616, 1349, 0, 0, 0, 1250, 0, 0, + 0, 0, 0, 0, 0, 0, 1231, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 148, 149, 154, 0, + 0, 0, 0, 1231, 0, 0, 0, 0, 0, 0, + 0, 652, 667, 655, 0, 0, 0, 0, 0, 663, + 0, 0, 150, 665, 294, 642, 648, 0, 0, 0, + 753, 752, 0, 0, 0, 0, 0, 0, 1437, 0, + 1436, 0, 0, 0, 0, 0, 1536, 1535, 0, 0, + 0, 0, 0, 0, 1339, 0, 283, 285, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 408, 409, 0, 0, 0, 154, 0, + 0, 1339, 0, 296, 0, 0, 1487, 1484, 1485, 0, + 1490, 0, 0, 0, 0, 2134, 0, 2302, 1774, 2300, + 2446, 2353, 0, 2494, 2917, 2918, 2919, 2920, 2921, 2922, 2923, 2924, 2925, 2926, 2927, 2928, 2929, 2930, 2931, 2932, 2933, 2934, 2935, 2936, 2937, 2938, 2939, 2940, 2941, 2942, 2943, 2944, 2945, 2946, 2947, 2948, 2949, 2950, 2951, 2952, @@ -4984,40 +4984,40 @@ static const yytype_uint16 yydefact[] = 2963, 2964, 2965, 2966, 2967, 2968, 2969, 2970, 2971, 2972, 2973, 2974, 2975, 2976, 2977, 2978, 2979, 2980, 2981, 2982, 2983, 2984, 2985, 2986, 2987, 2988, 2989, 2990, 2991, 2992, - 2993, 2349, 2348, 2443, 2494, 2495, 2496, 2497, 2355, 1557, - 0, 239, 240, 238, 1575, 241, 1576, 1571, 0, 1558, - 0, 0, 0, 0, 0, 0, 0, 0, 2533, 2596, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 867, 1506, 1544, 0, - 0, 0, 695, 0, 2615, 0, 152, 906, 0, 857, - 474, 0, 0, 0, 0, 1411, 152, 0, 0, 192, - 0, 0, 749, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 858, 0, 0, 152, 0, 2615, 644, - 2615, 0, 562, 562, 0, 0, 141, 138, 0, 0, - 0, 0, 0, 0, 0, 0, 1707, 1706, 1709, 1708, - 0, 1705, 0, 143, 144, 0, 1237, 1262, 0, 0, - 0, 0, 0, 933, 958, 0, 0, 1231, 0, 0, - 2615, 145, 2615, 0, 2615, 0, 0, 0, 1239, 145, - 0, 1233, 0, 0, 1235, 0, 1437, 0, 949, 947, - 946, 948, 0, 0, 931, 0, 0, 0, 0, 0, - 926, 0, 0, 928, 0, 0, 0, 0, 1749, 1594, - 0, 1023, 0, 1027, 0, 1018, 0, 1024, 0, 1019, - 1016, 1017, 0, 1022, 0, 0, 563, 569, 0, 0, - 2558, 2575, 0, 2604, 2639, 2640, 2695, 2713, 2742, 2748, - 2754, 0, 2785, 2797, 0, 1053, 1091, 1043, 761, 0, - 0, 1667, 1460, 2306, 0, 1749, 0, 0, 1277, 0, - 0, 138, 258, 228, 0, 0, 1091, 0, 2746, 1473, - 1008, 686, 0, 2121, 0, 2128, 2129, 2344, 0, 0, - 0, 0, 0, 0, 2127, 0, 0, 0, 0, 2401, - 0, 0, 2401, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2050, 0, 0, 2305, 0, 0, 2305, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2051, 2032, 2033, 2125, 2297, 0, 2126, 2459, - 2456, 2023, 0, 2023, 2498, 2287, 0, 2284, 2285, 2286, - 2994, 2995, 2996, 2997, 2998, 2999, 3000, 3001, 3002, 3003, - 3004, 3005, 3006, 3007, 3008, 3009, 3010, 0, 3011, 3012, - 3013, 3014, 3015, 3017, 3016, 3018, 3019, 3020, 3021, 3022, - 3023, 2359, 3025, 3026, 3027, 3028, 3029, 3030, 3031, 3032, + 2993, 2994, 2350, 2349, 2444, 2495, 2496, 2497, 2498, 2356, + 1558, 0, 240, 241, 239, 1576, 242, 1577, 1572, 0, + 1559, 0, 0, 0, 0, 0, 0, 0, 0, 2534, + 2597, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 868, 1507, 1545, + 0, 0, 0, 696, 0, 2616, 0, 152, 907, 0, + 858, 475, 0, 0, 0, 0, 1413, 152, 0, 0, + 192, 0, 0, 750, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 859, 0, 0, 152, 0, 2616, + 645, 2616, 0, 563, 563, 0, 0, 141, 138, 0, + 0, 0, 0, 0, 0, 0, 0, 1708, 1707, 1710, + 1709, 0, 1706, 0, 143, 144, 0, 1238, 1264, 0, + 0, 0, 0, 0, 934, 959, 0, 0, 1232, 0, + 0, 2616, 145, 2616, 0, 2616, 0, 0, 0, 1240, + 145, 0, 1234, 0, 0, 1236, 0, 1439, 0, 950, + 948, 947, 949, 0, 0, 932, 0, 0, 0, 0, + 0, 927, 0, 0, 929, 0, 0, 0, 0, 1750, + 1595, 0, 1024, 0, 1028, 0, 1019, 0, 1025, 0, + 1020, 1017, 1018, 0, 1023, 0, 0, 564, 570, 0, + 0, 2559, 2576, 0, 2605, 2640, 2641, 2696, 2714, 2743, + 2749, 2755, 0, 2786, 2798, 0, 1053, 1091, 1044, 762, + 0, 0, 1668, 1461, 2307, 0, 1750, 0, 0, 1279, + 0, 0, 138, 259, 229, 0, 0, 1091, 0, 2747, + 1474, 1009, 687, 0, 2122, 0, 2129, 2130, 2345, 0, + 0, 0, 0, 0, 0, 2128, 0, 0, 0, 0, + 2402, 0, 0, 2402, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2051, 0, 0, 2306, 0, 0, + 2306, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2052, 2033, 2034, 2126, 2298, 0, 2127, + 2460, 2457, 2024, 0, 2024, 2499, 2288, 0, 2285, 2286, + 2287, 2995, 2996, 2997, 2998, 2999, 3000, 3001, 3002, 3003, + 3004, 3005, 3006, 3007, 3008, 3009, 3010, 3011, 0, 3012, + 3013, 3014, 3015, 3016, 3018, 3017, 3019, 3020, 3021, 3022, + 3023, 3024, 2360, 3026, 3027, 3028, 3029, 3030, 3031, 3032, 3033, 3034, 3035, 3036, 3037, 3038, 3039, 3040, 3041, 3042, 3043, 3044, 3045, 3046, 3047, 3048, 3049, 3050, 3051, 3052, 3053, 3054, 3055, 3056, 3057, 3058, 3059, 3060, 3061, 3062, @@ -5033,6380 +5033,6095 @@ static const yytype_uint16 yydefact[] = 3153, 3154, 3155, 3156, 3157, 3158, 3159, 3160, 3161, 3162, 3163, 3164, 3165, 3166, 3167, 3168, 3169, 3170, 3171, 3172, 3173, 3174, 3175, 3176, 3177, 3178, 3179, 3180, 3181, 3182, - 2065, 3183, 3184, 3185, 3186, 3187, 3188, 3189, 3190, 3191, + 3183, 2066, 3184, 3185, 3186, 3187, 3188, 3189, 3190, 3191, 3192, 3193, 3194, 3195, 3196, 3197, 3198, 3199, 3200, 3201, 3202, 3203, 3204, 3205, 3206, 3207, 3208, 3209, 3210, 3211, 3212, 3213, 3214, 3215, 3216, 3217, 3218, 3219, 3220, 3221, 3222, 3223, 3224, 3225, 3226, 3227, 3228, 3229, 3230, 3231, 3232, 3233, 3234, 3235, 3236, 3237, 3238, 3239, 3240, 3241, - 3242, 3243, 3244, 3245, 3246, 3247, 3248, 2067, 3249, 3250, + 3242, 3243, 3244, 3245, 3246, 3247, 3248, 3249, 2068, 3250, 3251, 3252, 3253, 3254, 3255, 3256, 3257, 3258, 3259, 3260, 3261, 3262, 3263, 3264, 3265, 3266, 3267, 3268, 3269, 3270, 3271, 3272, 3273, 3274, 3275, 3276, 3277, 3278, 3279, 3280, - 3281, 3282, 3283, 3284, 3285, 3286, 3287, 3288, 3291, 3289, - 3290, 3292, 3293, 3294, 3295, 3296, 3297, 3298, 3299, 3300, + 3281, 3282, 3283, 3284, 3285, 3286, 3287, 3288, 3289, 3292, + 3290, 3291, 3293, 3294, 3295, 3296, 3297, 3298, 3299, 3300, 3301, 3302, 3303, 3304, 3305, 3306, 3307, 3308, 3309, 3310, 3311, 3312, 3313, 3314, 3315, 3316, 3317, 3318, 3319, 3320, 3321, 3322, 3323, 3324, 3325, 3326, 3327, 3328, 3329, 3330, 3331, 3332, 3333, 3334, 3335, 3336, 3337, 3338, 3339, 3340, - 3341, 3342, 3343, 3344, 3345, 3346, 3347, 3349, 3348, 3350, + 3341, 3342, 3343, 3344, 3345, 3346, 3347, 3348, 3350, 3349, 3351, 3352, 3353, 3354, 3355, 3356, 3357, 3358, 3359, 3360, 3361, 3362, 3363, 3364, 3365, 3366, 3367, 3368, 3369, 3370, 3371, 3372, 3373, 3374, 3375, 3376, 3377, 3378, 3379, 3380, 3381, 3382, 3383, 3384, 3385, 3386, 3387, 3388, 3389, 3390, 3391, 3392, 3393, 3394, 3395, 3396, 3397, 3398, 3399, 3400, - 3401, 3402, 3403, 3404, 3406, 3405, 3407, 3408, 3409, 3410, + 3401, 3402, 3403, 3404, 3405, 3407, 3406, 3408, 3409, 3410, 3411, 3412, 3413, 3414, 3415, 3416, 3417, 3418, 3419, 3420, 3421, 3422, 3423, 3424, 3425, 3426, 3427, 3428, 3429, 3430, 3431, 3432, 3433, 3434, 3435, 3436, 3437, 3438, 3439, 3440, - 3441, 3442, 3443, 3444, 3445, 3446, 3447, 3448, 0, 2281, - 2282, 2283, 2275, 2276, 2277, 2278, 2279, 2280, 2291, 0, - 0, 2433, 2499, 0, 2234, 0, 2047, 0, 2242, 0, - 0, 1836, 2454, 0, 2452, 2347, 1836, 274, 275, 271, - 0, 0, 223, 224, 222, 0, 244, 243, 248, 249, - 215, 247, 0, 242, 226, 2218, 2217, 225, 214, 233, - 211, 209, 229, 231, 232, 212, 210, 268, 0, 0, - 0, 145, 1592, 1579, 0, 0, 2359, 0, 2295, 0, - 0, 2293, 0, 0, 0, 1833, 0, 1737, 0, 1741, - 0, 0, 0, 1998, 1997, 1948, 1944, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 970, 0, 1966, 0, 1901, 2481, 2482, 2357, 1769, 1592, - 0, 1588, 1732, 1731, 1774, 1775, 1129, 1730, 1803, 1804, - 0, 0, 0, 0, 1829, 1827, 1794, 1785, 1793, 0, - 0, 1791, 0, 1795, 2027, 1822, 1719, 1779, 1780, 1783, - 1718, 0, 1825, 0, 1670, 1823, 1784, 1654, 0, 1625, - 0, 0, 1886, 0, 0, 1493, 0, 0, 0, 1158, - 1160, 0, 1159, 0, 1162, 0, 1171, 0, 0, 1157, - 1176, 0, 1165, 1163, 0, 1533, 0, 0, 0, 0, - 0, 1513, 0, 0, 0, 2785, 262, 1516, 1521, 1508, - 1519, 0, 0, 0, 0, 0, 1093, 1092, 0, 0, - 0, 1540, 554, 0, 372, 0, 0, 0, 0, 0, - 0, 0, 0, 853, 850, 0, 0, 849, 0, 700, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 725, 0, 1337, 0, 301, 0, 1197, 0, 1196, - 0, 1201, 0, 0, 1198, 1193, 1194, 2748, 2758, 2792, - 264, 1199, 1229, 0, 1228, 1224, 0, 1140, 0, 1141, - 0, 0, 0, 0, 0, 0, 0, 2588, 0, 2615, - 0, 0, 517, 309, 333, 544, 0, 1336, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 356, 0, 0, 359, 358, 0, 0, - 0, 0, 0, 364, 0, 342, 0, 343, 0, 363, - 0, 0, 0, 668, 669, 0, 0, 0, 1337, 0, - 297, 0, 0, 0, 0, 0, 0, 0, 0, 1246, - 0, 778, 0, 0, 2748, 1225, 0, 1420, 0, 2784, - 1421, 1424, 562, 0, 562, 1426, 0, 0, 1423, 1425, - 0, 0, 178, 0, 173, 177, 0, 0, 2748, 1226, - 0, 0, 0, 0, 0, 649, 650, 665, 0, 655, - 656, 652, 657, 658, 0, 0, 0, 0, 0, 0, - 0, 648, 0, 0, 747, 746, 750, 0, 0, 0, - 0, 0, 0, 1429, 0, 0, 1220, 0, 0, 1428, - 1436, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1280, 1279, 0, 0, 0, 0, 1347, 0, 896, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 180, 765, 0, 764, 0, 174, 179, 0, 0, 0, - 0, 0, 0, 0, 0, 237, 1482, 1488, 1773, 1773, - 1773, 2139, 0, 0, 0, 0, 1772, 2350, 2353, 1562, - 1568, 1561, 1560, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 421, 418, 419, 421, 0, 0, 0, 0, 869, 0, - 872, 875, 1504, 501, 0, 0, 692, 725, 0, 0, - 477, 187, 0, 0, 0, 0, 780, 0, 1220, 1219, - 147, 138, 196, 475, 0, 195, 197, 199, 200, 201, - 198, 202, 0, 744, 748, 0, 0, 0, 0, 688, - 0, 0, 0, 0, 0, 0, 0, 1906, 0, 0, - 172, 0, 0, 639, 643, 0, 0, 0, 0, 477, - 605, 383, 2615, 0, 562, 0, 2615, 0, 137, 0, - 856, 0, 0, 0, 1182, 1182, 0, 0, 794, 793, - 0, 0, 0, 0, 0, 0, 1704, 145, 1180, 0, - 1527, 0, 145, 973, 145, 1144, 186, 2476, 0, 935, - 0, 0, 0, 0, 145, 1248, 923, 145, 182, 145, - 145, 691, 0, 145, 184, 0, 0, 145, 967, 145, - 2441, 0, 145, 1618, 2615, 562, 1596, 1020, 1029, 1028, - 1026, 1025, 1021, 0, 1040, 0, 561, 0, 0, 0, - 0, 0, 1061, 1062, 0, 0, 1058, 1063, 0, 1065, - 1049, 1051, 1059, 1060, 1066, 1055, 1054, 1067, 1068, 0, - 0, 0, 1080, 759, 0, 0, 0, 0, 1664, 0, - 1662, 0, 1884, 1666, 1655, 1608, 0, 1607, 0, 632, - 1271, 1270, 1272, 0, 1037, 0, 145, 0, 1472, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2310, 0, 2311, 0, 0, 2343, 2339, 0, 0, 0, - 0, 0, 2315, 0, 2318, 2319, 2320, 2317, 2321, 2316, - 0, 0, 2322, 0, 0, 2394, 2411, 0, 2125, 2394, - 2422, 0, 2421, 2427, 0, 2301, 2027, 0, 0, 2418, - 2412, 0, 2418, 0, 0, 2401, 0, 0, 0, 0, - 2202, 0, 0, 0, 2301, 2304, 0, 0, 2872, 0, - 0, 0, 0, 2097, 0, 0, 2268, 0, 2301, 0, - 0, 0, 0, 0, 0, 0, 2297, 2337, 0, 515, - 0, 2087, 0, 0, 0, 2216, 0, 2213, 0, 0, - 0, 0, 2356, 0, 2460, 0, 2457, 2028, 2043, 2044, - 2045, 2048, 2432, 2031, 0, 2358, 0, 0, 2029, 2056, - 0, 2081, 0, 2088, 2071, 2402, 2323, 2324, 2325, 2326, - 2090, 0, 2064, 2069, 2073, 0, 2411, 2052, 0, 2049, - 0, 2359, 2296, 0, 2294, 0, 2040, 2041, 2042, 2034, - 2035, 2036, 2037, 2038, 2039, 2046, 2272, 2270, 2271, 0, - 0, 2242, 0, 0, 2068, 0, 0, 2141, 2607, 2646, - 0, 1762, 1762, 1762, 1750, 1760, 2431, 1901, 1773, 1901, - 2437, 0, 0, 2023, 0, 1882, 975, 976, 974, 1564, - 1578, 1592, 2298, 1586, 1739, 0, 0, 0, 1967, 1980, - 0, 2007, 2008, 2009, 2009, 0, 1949, 0, 1992, 2017, - 2018, 2019, 2020, 2021, 2022, 0, 2016, 1958, 971, 2848, - 2857, 0, 2744, 2892, 0, 1862, 1835, 1837, 1847, 1862, - 1869, 1862, 1862, 2143, 1899, 2144, 2145, 2438, 0, 1806, - 2478, 1566, 1590, 0, 1127, 1128, 0, 1132, 2872, 2744, - 0, 0, 0, 0, 1796, 1830, 0, 1821, 0, 2448, - 1797, 2447, 1798, 1801, 1802, 1792, 1831, 1668, 0, 1826, - 1723, 1722, 0, 1904, 0, 0, 0, 1639, 1627, 0, - 0, 1887, 0, 1836, 1672, 0, 2356, 1834, 1387, 1281, - 1348, 1161, 0, 1968, 1172, 0, 1156, 0, 1155, 1968, - 0, 1173, 0, 1968, 1388, 1282, 1349, 1389, 1283, 1350, - 1390, 1524, 1284, 1523, 1511, 1510, 1509, 0, 0, 0, - 0, 0, 0, 0, 0, 832, 2615, 145, 1538, 1391, - 0, 1285, 371, 1539, 1351, 1543, 852, 851, 0, 0, - 1352, 0, 701, 706, 0, 708, 709, 2533, 2596, 710, - 713, 714, 0, 716, 705, 704, 0, 0, 0, 0, - 0, 722, 727, 0, 0, 0, 0, 0, 0, 1191, - 1192, 1392, 1288, 0, 1353, 0, 1139, 0, 1289, 188, - 0, 0, 289, 0, 2615, 311, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 832, 499, 832, 0, 1339, - 308, 340, 0, 355, 350, 351, 349, 2615, 145, 2615, - 145, 0, 0, 0, 0, 0, 352, 347, 348, 344, - 0, 0, 357, 2505, 2577, 2759, 0, 733, 735, 0, - 740, 360, 1309, 379, 378, 377, 0, 365, 0, 384, - 387, 0, 362, 341, 339, 336, 304, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1241, 0, - 1395, 1354, 0, 1376, 1380, 0, 0, 0, 772, 1398, - 1295, 1357, 0, 562, 0, 0, 581, 581, 562, 1409, - 1296, 176, 1326, 165, 0, 0, 161, 0, 0, 0, - 0, 153, 1399, 1297, 1358, 0, 0, 1400, 1298, 0, - 0, 294, 642, 653, 659, 1303, 663, 660, 1366, 661, - 1407, 1299, 0, 1403, 1329, 1361, 397, 625, 396, 1220, - 1220, 1410, 1430, 1300, 1220, 0, 1337, 0, 283, 285, - 0, 142, 0, 1301, 0, 1359, 1402, 1328, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1546, 0, 0, - 0, 0, 0, 0, 145, 0, 0, 0, 1339, 2615, - 145, 894, 1401, 0, 1334, 0, 1374, 0, 0, 0, - 409, 0, 1327, 1337, 0, 296, 1305, 0, 1368, 0, - 0, 235, 234, 236, 0, 0, 0, 0, 2302, 2303, - 0, 2300, 2134, 2352, 0, 1556, 997, 983, 996, 0, - 979, 2575, 0, 982, 984, 0, 0, 0, 985, 989, - 990, 0, 981, 978, 980, 0, 420, 0, 0, 789, - 790, 0, 0, 0, 0, 871, 0, 0, 1536, 0, - 150, 699, 0, 0, 0, 694, 724, 729, 0, 0, - 0, 0, 476, 480, 484, 485, 486, 0, 0, 0, - 0, 166, 151, 0, 912, 0, 562, 0, 782, 1220, - 1413, 0, 196, 191, 0, 0, 745, 0, 1587, 0, - 0, 620, 623, 622, 0, 383, 866, 864, 863, 865, - 887, 862, 0, 1905, 1907, 0, 0, 0, 0, 0, - 0, 632, 479, 0, 0, 569, 0, 608, 0, 0, - 0, 0, 605, 0, 0, 0, 2486, 0, 883, 855, - 0, 1150, 0, 1168, 1151, 0, 0, 0, 0, 1205, - 1212, 1181, 1206, 1183, 1212, 0, 0, 795, 799, 798, - 802, 800, 0, 796, 673, 1710, 1711, 0, 1238, 0, - 0, 1532, 0, 1530, 934, 1232, 145, 0, 145, 0, - 145, 1240, 1234, 1236, 1438, 0, 932, 0, 0, 925, - 927, 0, 929, 0, 1041, 564, 0, 0, 0, 0, - 0, 0, 1057, 671, 1064, 0, 0, 0, 1079, 1074, - 1076, 0, 1091, 1085, 0, 758, 0, 0, 1665, 1658, - 1660, 1659, 0, 0, 1656, 2307, 924, 0, 638, 0, + 3441, 3442, 3443, 3444, 3445, 3446, 3447, 3448, 3449, 0, + 2282, 2283, 2284, 2276, 2277, 2278, 2279, 2280, 2281, 2292, + 0, 0, 2434, 2500, 0, 2235, 0, 2048, 0, 2243, + 0, 0, 1837, 2455, 0, 2453, 2348, 1837, 275, 276, + 272, 0, 0, 223, 224, 222, 0, 245, 244, 249, + 250, 215, 248, 0, 243, 226, 2219, 2218, 225, 214, + 234, 211, 209, 230, 232, 233, 212, 210, 269, 0, + 0, 0, 145, 1593, 1580, 0, 0, 2360, 0, 2296, + 0, 0, 2294, 0, 0, 0, 1834, 0, 1738, 0, + 1742, 0, 0, 0, 1999, 1998, 1949, 1945, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 971, 0, 1967, 0, 1902, 2482, 2483, 2358, 1770, + 1593, 0, 1589, 1733, 1732, 1775, 1776, 1129, 1731, 1804, + 1805, 0, 0, 0, 0, 1830, 1828, 1795, 1786, 1794, + 0, 0, 1792, 0, 1796, 2028, 1823, 1720, 1780, 1781, + 1784, 1719, 0, 1826, 0, 1671, 1824, 1785, 1655, 0, + 1626, 0, 0, 1887, 0, 0, 1494, 0, 0, 0, + 1158, 1160, 0, 1159, 0, 1162, 0, 1171, 0, 0, + 1157, 1176, 0, 1165, 1163, 0, 1534, 0, 0, 0, + 0, 0, 1514, 0, 0, 0, 2786, 263, 1517, 1522, + 1509, 1520, 0, 0, 0, 0, 0, 1093, 1092, 0, + 0, 0, 1541, 555, 0, 373, 0, 0, 0, 0, + 0, 0, 0, 0, 854, 851, 0, 0, 850, 0, + 701, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 726, 0, 1339, 0, 302, 0, 1197, 0, + 1196, 0, 1201, 0, 0, 1198, 1193, 1194, 2749, 2759, + 2793, 265, 1199, 1230, 0, 1229, 1225, 0, 1140, 0, + 1141, 0, 0, 0, 0, 0, 0, 0, 2589, 0, + 2616, 0, 0, 518, 310, 334, 545, 0, 1338, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 357, 0, 0, 360, 359, 0, + 0, 0, 0, 0, 365, 0, 343, 0, 344, 0, + 364, 0, 0, 0, 669, 670, 0, 0, 0, 1339, + 0, 298, 0, 0, 0, 0, 0, 0, 0, 0, + 1247, 0, 779, 0, 0, 2749, 1226, 0, 1422, 0, + 2785, 1423, 1426, 563, 0, 563, 1428, 0, 0, 1425, + 1427, 0, 0, 178, 0, 173, 177, 0, 0, 2749, + 1227, 0, 0, 0, 0, 0, 650, 651, 666, 0, + 656, 657, 653, 658, 659, 0, 0, 0, 0, 0, + 0, 0, 649, 0, 0, 748, 747, 751, 0, 0, + 0, 0, 0, 0, 1431, 0, 0, 1221, 0, 0, + 1430, 1438, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1282, 1281, 0, 0, 0, 0, 1349, 0, + 897, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 180, 766, 0, 765, 0, 174, 179, 0, 0, + 0, 0, 0, 0, 0, 0, 238, 1483, 1489, 1774, + 1774, 1774, 2140, 0, 0, 0, 0, 1773, 2351, 2354, + 1563, 1569, 1562, 1561, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 422, 419, 420, 422, 0, 0, 0, 0, 870, + 0, 873, 876, 1505, 502, 0, 0, 693, 726, 0, + 0, 478, 187, 0, 0, 0, 0, 781, 0, 1221, + 1220, 147, 138, 196, 476, 0, 195, 197, 199, 200, + 201, 198, 202, 0, 745, 749, 0, 0, 0, 0, + 689, 0, 0, 0, 0, 0, 0, 0, 1907, 0, + 0, 172, 0, 0, 640, 644, 0, 0, 0, 0, + 478, 606, 384, 2616, 0, 563, 0, 2616, 0, 137, + 0, 857, 0, 0, 0, 1182, 1182, 0, 0, 795, + 794, 0, 0, 0, 0, 0, 0, 1705, 145, 1180, + 0, 1528, 0, 145, 974, 145, 1144, 186, 2477, 0, + 936, 0, 0, 0, 0, 145, 1249, 924, 145, 182, + 145, 145, 692, 0, 145, 184, 0, 0, 145, 968, + 145, 2442, 0, 145, 1619, 2616, 563, 1597, 1021, 1030, + 1029, 1027, 1026, 1022, 0, 1041, 0, 562, 0, 0, + 0, 0, 0, 1061, 1062, 0, 0, 1058, 1063, 0, + 1052, 1065, 1050, 1059, 1060, 1066, 1055, 1054, 1067, 1068, + 0, 0, 0, 1080, 760, 0, 0, 0, 0, 1665, + 0, 1663, 0, 1885, 1667, 1656, 1609, 0, 1608, 0, + 633, 1273, 1272, 1274, 0, 1038, 0, 145, 0, 1473, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2311, 0, 2312, 0, 0, 2344, 2340, 0, 0, + 0, 0, 0, 2316, 0, 2319, 2320, 2321, 2318, 2322, + 2317, 0, 0, 2323, 0, 0, 2395, 2412, 0, 2126, + 2395, 2423, 0, 2422, 2428, 0, 2302, 2028, 0, 0, + 2419, 2413, 0, 2419, 0, 0, 2402, 0, 0, 0, + 0, 2203, 0, 0, 0, 2302, 2305, 0, 0, 2873, + 0, 0, 0, 0, 2098, 0, 0, 2269, 0, 2302, + 0, 0, 0, 0, 0, 0, 0, 2298, 2338, 0, + 516, 0, 2088, 0, 0, 0, 2217, 0, 2214, 0, + 0, 0, 0, 2357, 0, 2461, 0, 2458, 2029, 2044, + 2045, 2046, 2049, 2433, 2032, 0, 2359, 0, 0, 2030, + 2057, 0, 2082, 0, 2089, 2072, 2403, 2324, 2325, 2326, + 2327, 2091, 0, 2065, 2070, 2074, 0, 2412, 2053, 0, + 2050, 0, 2360, 2297, 0, 2295, 0, 2041, 2042, 2043, + 2035, 2036, 2037, 2038, 2039, 2040, 2047, 2273, 2271, 2272, + 0, 0, 2243, 0, 0, 2069, 0, 0, 2142, 2608, + 2647, 0, 1763, 1763, 1763, 1751, 1761, 2432, 1902, 1774, + 1902, 2438, 0, 0, 2024, 0, 1883, 976, 977, 975, + 1565, 1579, 1593, 2299, 1587, 1740, 0, 0, 0, 1968, + 1981, 0, 2008, 2009, 2010, 2010, 0, 1950, 0, 1993, + 2018, 2019, 2020, 2021, 2022, 2023, 0, 2017, 1959, 972, + 2849, 2858, 0, 2745, 2893, 0, 1863, 1836, 1838, 1848, + 1863, 1870, 1863, 1863, 2144, 1900, 2145, 2146, 2439, 0, + 1807, 2479, 1567, 1591, 0, 1127, 1128, 0, 1132, 2873, + 2745, 0, 0, 0, 0, 1797, 1831, 0, 1822, 0, + 2449, 1798, 2448, 1799, 1802, 1803, 1793, 1832, 1669, 0, + 1827, 1724, 1723, 0, 1905, 0, 0, 0, 1640, 1628, + 0, 0, 1888, 0, 1837, 1673, 0, 2357, 1835, 1389, + 1283, 1350, 1161, 0, 1969, 1172, 0, 1156, 0, 1155, + 1969, 0, 1173, 0, 1969, 1390, 1284, 1351, 1391, 1285, + 1352, 1392, 1525, 1286, 1524, 1512, 1511, 1510, 0, 0, + 0, 0, 0, 0, 0, 0, 833, 2616, 145, 1539, + 1393, 0, 1287, 372, 1540, 1353, 1544, 853, 852, 0, + 0, 1354, 0, 702, 707, 0, 709, 710, 2534, 2597, + 711, 714, 715, 0, 717, 706, 705, 0, 0, 0, + 0, 0, 723, 728, 0, 0, 0, 0, 0, 0, + 1191, 1192, 1394, 1290, 0, 1355, 0, 1139, 0, 1291, + 188, 0, 0, 290, 0, 2616, 312, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 833, 500, 833, 0, + 1341, 309, 341, 0, 356, 351, 352, 350, 2616, 145, + 2616, 145, 0, 0, 0, 0, 0, 353, 348, 349, + 345, 0, 0, 358, 2506, 2578, 2760, 0, 734, 736, + 0, 741, 361, 1311, 380, 379, 378, 0, 366, 0, + 385, 388, 0, 363, 342, 340, 337, 305, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1242, + 0, 1397, 1356, 0, 1378, 1382, 0, 0, 0, 773, + 1400, 1297, 1359, 0, 563, 0, 0, 582, 582, 563, + 1411, 1298, 176, 1328, 165, 0, 0, 161, 0, 0, + 0, 0, 153, 1401, 1299, 1360, 0, 0, 1402, 1300, + 0, 0, 295, 643, 654, 660, 1305, 664, 661, 1368, + 662, 1409, 1301, 0, 1405, 1331, 1363, 398, 626, 397, + 1221, 1221, 1412, 1432, 1302, 1221, 0, 1339, 0, 284, + 286, 0, 142, 0, 1303, 0, 1361, 1404, 1330, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1547, 0, + 0, 0, 0, 0, 0, 145, 0, 0, 0, 1341, + 2616, 145, 895, 1403, 0, 1336, 0, 1376, 0, 0, + 0, 410, 0, 1329, 1339, 0, 297, 1307, 0, 1370, + 0, 0, 236, 235, 237, 0, 0, 0, 0, 2303, + 2304, 0, 2301, 2135, 2353, 0, 1557, 998, 984, 997, + 0, 980, 2576, 0, 983, 985, 0, 0, 0, 986, + 990, 991, 0, 982, 979, 981, 0, 421, 0, 0, + 790, 791, 0, 0, 0, 0, 872, 0, 0, 1537, + 0, 150, 700, 0, 0, 0, 695, 725, 730, 0, + 0, 0, 0, 477, 481, 485, 486, 487, 0, 0, + 0, 0, 166, 151, 0, 913, 0, 563, 0, 783, + 1221, 1415, 0, 196, 191, 0, 0, 746, 0, 1588, + 0, 0, 621, 624, 623, 0, 384, 867, 865, 864, + 866, 888, 863, 0, 1906, 1908, 0, 0, 0, 0, + 0, 0, 633, 480, 0, 0, 570, 0, 609, 0, + 0, 0, 0, 606, 0, 0, 0, 2487, 0, 884, + 856, 0, 1150, 0, 1168, 1151, 0, 0, 0, 0, + 1206, 1213, 1181, 1207, 1183, 1213, 0, 0, 796, 800, + 799, 803, 801, 0, 797, 674, 1711, 1712, 0, 1239, + 0, 0, 1533, 0, 1531, 935, 1233, 145, 0, 145, + 0, 145, 1241, 1235, 1237, 1440, 0, 933, 0, 0, + 926, 928, 0, 930, 0, 1042, 565, 0, 0, 0, + 0, 0, 0, 1057, 672, 1064, 0, 0, 1079, 1074, + 1076, 0, 1091, 1085, 0, 759, 0, 0, 1666, 1659, + 1661, 1660, 0, 0, 1657, 2308, 925, 0, 639, 0, 1091, 1082, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1767, 2308, 2309, 0, 0, 0, 2340, - 0, 0, 2178, 0, 2149, 2151, 0, 2164, 0, 2179, - 2132, 0, 2393, 2390, 0, 0, 0, 2394, 2401, 2198, - 0, 0, 0, 2401, 0, 2421, 0, 0, 0, 2193, - 2195, 0, 0, 0, 2411, 2411, 0, 2200, 0, 0, - 2180, 2153, 2155, 2165, 0, 0, 2288, 0, 2168, 2167, - 0, 2099, 2100, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2114, 2169, 2267, 0, 0, 0, 2171, 2170, 0, - 0, 2336, 0, 0, 0, 2176, 516, 2181, 0, 0, - 0, 0, 2187, 0, 2224, 0, 0, 0, 2122, 2298, - 0, 0, 0, 0, 0, 0, 0, 2404, 2405, 2406, - 2403, 0, 2089, 2072, 2092, 2066, 2070, 2074, 0, 2411, - 2091, 2094, 0, 0, 2060, 0, 0, 2058, 0, 2083, - 2054, 0, 0, 2085, 0, 2140, 0, 0, 0, 2245, - 2240, 2241, 1762, 1762, 1762, 1762, 1759, 0, 0, 0, - 1806, 0, 1806, 207, 0, 245, 230, 1563, 1740, 1749, - 1986, 0, 2004, 2002, 1945, 1950, 2025, 0, 1862, 1869, - 1862, 1862, 0, 0, 1725, 0, 1847, 0, 1861, 1845, - 1860, 0, 0, 1875, 1873, 0, 1875, 0, 1875, 0, - 1839, 0, 1865, 1841, 1860, 1843, 1849, 0, 1891, 2439, - 1900, 0, 1819, 1776, 0, 2289, 1132, 0, 1778, 1800, - 1799, 0, 1789, 0, 1828, 1786, 1669, 1653, 0, 1644, - 1631, 1633, 1632, 0, 0, 1634, 2356, 0, 1644, 1626, - 0, 1677, 0, 0, 1904, 0, 1676, 0, 1968, 1153, + 0, 0, 0, 1768, 2309, 2310, 0, 0, 0, 2341, + 0, 0, 2179, 0, 2150, 2152, 0, 2165, 0, 2180, + 2133, 0, 2394, 2391, 0, 0, 0, 2395, 2402, 2199, + 0, 0, 0, 2402, 0, 2422, 0, 0, 0, 2194, + 2196, 0, 0, 0, 2412, 2412, 0, 2201, 0, 0, + 2181, 2154, 2156, 2166, 0, 0, 2289, 0, 2169, 2168, + 0, 2100, 2101, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2115, 2170, 2268, 0, 0, 0, 2172, 2171, 0, + 0, 2337, 0, 0, 0, 2177, 517, 2182, 0, 0, + 0, 0, 2188, 0, 2225, 0, 0, 0, 2123, 2299, + 0, 0, 0, 0, 0, 0, 0, 2405, 2406, 2407, + 2404, 0, 2090, 2073, 2093, 2067, 2071, 2075, 0, 2412, + 2092, 2095, 0, 0, 2061, 0, 0, 2059, 0, 2084, + 2055, 0, 0, 2086, 0, 2141, 0, 0, 0, 2246, + 2241, 2242, 1763, 1763, 1763, 1763, 1760, 0, 0, 0, + 1807, 0, 1807, 207, 0, 246, 231, 1564, 1741, 1750, + 1987, 0, 2005, 2003, 1946, 1951, 2026, 0, 1863, 1870, + 1863, 1863, 0, 0, 1726, 0, 1848, 0, 1862, 1846, + 1861, 0, 0, 1876, 1874, 0, 1876, 0, 1876, 0, + 1840, 0, 1866, 1842, 1861, 1844, 1850, 0, 1892, 2440, + 1901, 0, 1820, 1777, 0, 2290, 1132, 0, 1779, 1801, + 1800, 0, 1790, 0, 1829, 1787, 1670, 1654, 0, 1645, + 1632, 1634, 1633, 0, 0, 1635, 2357, 0, 1645, 1627, + 0, 1678, 0, 0, 1905, 0, 1677, 0, 1969, 1153, 1154, 0, 1177, 0, 1096, 1097, 0, 1095, 0, 0, - 0, 553, 556, 0, 1541, 0, 1408, 1325, 703, 0, - 0, 0, 0, 718, 677, 719, 721, 0, 0, 720, - 723, 726, 1337, 0, 302, 1311, 0, 1372, 1185, 0, - 0, 1142, 0, 0, 0, 0, 0, 1113, 543, 1112, - 0, 0, 0, 832, 0, 832, 0, 0, 548, 0, - 498, 495, 335, 334, 0, 0, 0, 0, 392, 0, - 313, 326, 390, 332, 0, 367, 0, 338, 0, 330, - 353, 345, 354, 346, 366, 368, 0, 737, 738, 736, - 732, 0, 739, 741, 0, 381, 0, 0, 0, 399, - 361, 398, 0, 1394, 0, 1337, 0, 298, 1307, 0, - 1370, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1375, 0, 0, 0, 0, 777, 0, - 774, 0, 581, 0, 1422, 0, 1419, 1417, 581, 0, + 0, 554, 557, 0, 1542, 0, 1410, 1327, 704, 0, + 0, 0, 0, 719, 678, 720, 722, 0, 0, 721, + 724, 727, 1339, 0, 303, 1313, 0, 1374, 1185, 0, + 0, 1142, 0, 0, 0, 0, 0, 1113, 544, 1112, + 0, 0, 0, 833, 0, 833, 0, 0, 549, 0, + 499, 496, 336, 335, 0, 0, 0, 0, 393, 0, + 314, 327, 391, 333, 0, 368, 0, 339, 0, 331, + 354, 346, 355, 347, 367, 369, 0, 738, 739, 737, + 733, 0, 740, 742, 0, 382, 0, 0, 0, 400, + 362, 399, 0, 1396, 0, 1339, 0, 299, 1309, 0, + 1372, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1377, 0, 0, 0, 0, 778, 0, + 775, 0, 582, 0, 1424, 0, 1421, 1419, 582, 0, 0, 156, 157, 155, 0, 164, 0, 0, 0, 0, - 0, 0, 1431, 1432, 1433, 0, 0, 0, 0, 0, - 0, 403, 0, 305, 307, 306, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 410, 374, 0, 890, 0, 0, 0, - 412, 0, 0, 1386, 0, 0, 0, 0, 0, 1393, - 1290, 2137, 2138, 2135, 1773, 2351, 0, 0, 0, 994, - 0, 0, 0, 0, 423, 424, 150, 422, 447, 0, - 832, 0, 0, 868, 873, 881, 2685, 2275, 2276, 879, - 874, 876, 878, 880, 877, 0, 0, 0, 0, 523, - 527, 0, 0, 0, 507, 0, 0, 517, 500, 503, - 504, 0, 0, 695, 698, 696, 697, 0, 717, 0, - 479, 532, 595, 0, 168, 0, 0, 169, 167, 0, - 0, 383, 779, 0, 776, 1412, 0, 194, 0, 749, - 0, 0, 0, 0, 0, 1220, 687, 0, 886, 888, - 860, 0, 729, 0, 0, 644, 0, 562, 1619, 627, - 0, 597, 479, 595, 604, 0, 0, 612, 382, 0, - 0, 632, 383, 0, 0, 1113, 0, 882, 0, 0, - 1149, 0, 0, 0, 1202, 1207, 1203, 0, 1182, 1164, - 0, 1204, 0, 0, 1210, 1135, 1184, 1136, 1454, 1455, - 1452, 1453, 0, 0, 0, 0, 0, 0, 1701, 0, - 0, 1528, 0, 936, 0, 919, 0, 921, 145, 766, - 0, 145, 0, 0, 0, 0, 0, 0, 1056, 0, - 1050, 1052, 1077, 0, 0, 1091, 1090, 0, 1081, 1089, - 1087, 1088, 1086, 0, 0, 1663, 1661, 630, 0, 0, + 0, 0, 1433, 1434, 1435, 0, 0, 0, 0, 0, + 0, 404, 0, 306, 308, 307, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 411, 375, 0, 891, 0, 0, 0, + 413, 0, 0, 1388, 0, 0, 0, 0, 0, 1395, + 1292, 2138, 2139, 2136, 1774, 2352, 0, 0, 0, 995, + 0, 0, 0, 0, 424, 425, 150, 423, 448, 0, + 833, 0, 0, 869, 874, 882, 2686, 2276, 2277, 880, + 875, 877, 879, 881, 878, 0, 0, 0, 0, 524, + 528, 0, 0, 0, 508, 0, 0, 518, 501, 504, + 505, 0, 0, 696, 699, 697, 698, 0, 718, 0, + 480, 533, 596, 0, 168, 0, 0, 169, 167, 0, + 0, 384, 780, 0, 777, 1414, 0, 194, 0, 750, + 0, 0, 0, 0, 0, 1221, 688, 0, 887, 889, + 861, 0, 730, 0, 0, 645, 0, 563, 1620, 628, + 0, 598, 480, 596, 605, 0, 0, 613, 383, 0, + 0, 633, 384, 0, 0, 1113, 0, 883, 0, 0, + 1149, 0, 0, 0, 1202, 1208, 1204, 1203, 0, 1182, + 1164, 0, 1205, 0, 0, 1211, 1135, 1184, 1136, 1456, + 1457, 1454, 1455, 0, 0, 0, 0, 0, 0, 1702, + 0, 0, 1529, 0, 937, 0, 920, 0, 922, 145, + 767, 0, 145, 0, 0, 0, 0, 0, 0, 1056, + 0, 1051, 1077, 0, 0, 1091, 1090, 0, 1081, 1089, + 1087, 1088, 1086, 0, 0, 1664, 1662, 631, 0, 0, 145, 1091, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2312, 0, 2342, 2338, 0, 2146, 2314, 2313, - 2392, 2408, 2410, 2199, 2400, 0, 0, 0, 2423, 0, - 0, 2401, 2361, 2415, 2414, 0, 0, 2413, 2401, 2401, - 2361, 2201, 2361, 0, 0, 0, 2268, 0, 0, 2098, - 2110, 2111, 2112, 2329, 0, 2117, 0, 2107, 2108, 2109, - 2101, 2102, 2103, 2104, 2105, 2106, 2113, 2333, 2332, 0, - 0, 2173, 2174, 2175, 2335, 2182, 0, 2523, 2225, 0, - 2186, 2215, 2214, 0, 0, 0, 2189, 0, 0, 2211, - 0, 2269, 2461, 2458, 2030, 0, 0, 2057, 2082, 2075, - 0, 2093, 2095, 2053, 2288, 0, 0, 0, 0, 0, - 0, 2062, 0, 0, 2265, 0, 0, 0, 2247, 2244, - 0, 0, 0, 0, 1753, 1752, 1758, 1819, 2134, 1819, - 0, 0, 1946, 0, 1846, 1842, 1844, 1850, 0, 2887, - 0, 1851, 1858, 0, 1838, 0, 1874, 1870, 0, 1871, - 0, 0, 1872, 0, 0, 1840, 0, 1858, 0, 1898, - 1765, 0, 2236, 0, 1777, 1130, 1131, 1787, 0, 1790, - 2554, 1902, 1646, 1652, 0, 0, 0, 1636, 1642, 1624, - 0, 0, 0, 1673, 1644, 1674, 1174, 0, 0, 1166, + 0, 0, 2313, 0, 2343, 2339, 0, 2147, 2315, 2314, + 2393, 2409, 2411, 2200, 2401, 0, 0, 0, 2424, 0, + 0, 2402, 2362, 2416, 2415, 0, 0, 2414, 2402, 2402, + 2362, 2202, 2362, 0, 0, 0, 2269, 0, 0, 2099, + 2111, 2112, 2113, 2330, 0, 2118, 0, 2108, 2109, 2110, + 2102, 2103, 2104, 2105, 2106, 2107, 2114, 2334, 2333, 0, + 0, 2174, 2175, 2176, 2336, 2183, 0, 2524, 2226, 0, + 2187, 2216, 2215, 0, 0, 0, 2190, 0, 0, 2212, + 0, 2270, 2462, 2459, 2031, 0, 0, 2058, 2083, 2076, + 0, 2094, 2096, 2054, 2289, 0, 0, 0, 0, 0, + 0, 2063, 0, 0, 2266, 0, 0, 0, 2248, 2245, + 0, 0, 0, 0, 1754, 1753, 1759, 1820, 2135, 1820, + 0, 0, 1947, 0, 1847, 1843, 1845, 1851, 0, 2888, + 0, 1852, 1859, 0, 1839, 0, 1875, 1871, 0, 1872, + 0, 0, 1873, 0, 0, 1841, 0, 1859, 0, 1899, + 1766, 0, 2237, 0, 1778, 1130, 1131, 1788, 0, 1791, + 2555, 1903, 1647, 1653, 0, 0, 0, 1637, 1643, 1625, + 0, 0, 0, 1674, 1645, 1675, 1174, 0, 0, 1166, 1102, 0, 1103, 1106, 1104, 1101, 1105, 0, 0, 0, - 832, 835, 841, 0, 0, 0, 833, 145, 1286, 0, - 0, 0, 0, 678, 1406, 1287, 0, 0, 0, 0, - 1186, 1340, 0, 0, 1310, 832, 0, 0, 0, 576, - 0, 1126, 1126, 566, 310, 546, 560, 550, 617, 560, - 497, 496, 0, 494, 729, 0, 0, 317, 327, 0, - 322, 0, 1338, 0, 0, 0, 0, 321, 324, 323, - 394, 0, 391, 0, 145, 145, 369, 734, 380, 385, - 386, 389, 1345, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 913, 898, 0, 0, - 914, 915, 0, 0, 0, 1243, 1244, 1242, 1377, 1378, - 1384, 1381, 1379, 1383, 1385, 1382, 0, 1293, 0, 0, - 770, 1341, 1414, 1416, 1415, 0, 1418, 162, 159, 158, - 160, 163, 1342, 1323, 1304, 1367, 626, 0, 0, 0, - 1302, 0, 1360, 0, 1319, 1313, 0, 0, 0, 0, - 0, 1405, 1333, 1365, 1404, 1331, 1363, 1330, 1362, 1332, - 1364, 1324, 0, 0, 1909, 895, 0, 0, 0, 145, - 145, 893, 768, 1306, 0, 1369, 1315, 0, 0, 0, - 986, 0, 0, 0, 988, 428, 448, 150, 0, 788, - 854, 0, 0, 870, 0, 505, 0, 511, 518, 0, - 0, 525, 526, 524, 528, 558, 1220, 562, 1220, 821, - 822, 0, 0, 844, 0, 693, 0, 0, 477, 0, - 529, 0, 0, 481, 171, 170, 0, 0, 0, 783, - 787, 785, 784, 786, 781, 0, 772, 196, 2615, 0, - 0, 0, 0, 624, 618, 621, 1427, 861, 0, 1908, - 762, 0, 383, 640, 0, 0, 0, 477, 632, 0, - 482, 487, 488, 501, 0, 605, 596, 0, 597, 606, - 607, 0, 614, 1502, 0, 633, 614, 0, 0, 0, - 885, 0, 884, 0, 1152, 1169, 1170, 0, 0, 1212, - 0, 0, 1214, 1209, 0, 0, 801, 804, 797, 680, - 145, 0, 1531, 145, 145, 1269, 0, 930, 1071, 1072, - 1073, 1070, 1069, 672, 0, 1075, 1034, 1084, 760, 0, - 631, 0, 1035, 145, 1011, 1003, 1010, 999, 1002, 1004, - 0, 1006, 1007, 1001, 998, 1000, 2341, 2163, 0, 2407, - 2409, 2197, 2420, 2419, 2196, 2426, 0, 0, 2389, 2417, - 2416, 0, 0, 2401, 2401, 2166, 2177, 0, 2267, 2298, - 0, 0, 2118, 0, 0, 0, 2172, 2882, 0, 0, - 2229, 2230, 0, 2226, 2227, 2222, 2223, 2188, 0, 2672, - 2206, 0, 0, 2221, 2079, 2077, 2076, 2061, 0, 0, - 2059, 2084, 2055, 0, 2086, 2231, 2264, 2298, 2233, 0, - 1773, 1757, 1756, 1755, 1754, 2236, 2455, 2453, 2236, 246, - 1744, 0, 1894, 0, 1897, 0, 0, 1848, 0, 0, - 1852, 0, 0, 1854, 1856, 0, 0, 0, 0, 0, - 0, 2442, 0, 1818, 0, 1773, 0, 1788, 0, 0, - 0, 1628, 0, 1629, 1635, 0, 0, 0, 0, 0, - 1678, 1671, 1167, 1175, 1107, 0, 0, 0, 555, 837, - 836, 839, 834, 840, 838, 1542, 0, 711, 712, 715, - 1312, 0, 1373, 1321, 0, 1667, 545, 312, 0, 571, + 833, 836, 842, 0, 0, 0, 834, 145, 1288, 0, + 0, 0, 0, 679, 1408, 1289, 0, 0, 0, 0, + 1186, 1342, 0, 0, 1312, 833, 0, 0, 0, 577, + 0, 1126, 1126, 567, 311, 547, 561, 551, 618, 561, + 498, 497, 0, 495, 730, 0, 0, 318, 328, 0, + 323, 0, 1340, 0, 0, 0, 0, 322, 325, 324, + 395, 0, 392, 0, 145, 145, 370, 735, 381, 386, + 387, 390, 1347, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 914, 899, 0, 0, + 915, 916, 0, 0, 0, 1244, 1245, 1243, 1379, 1380, + 1386, 1383, 1381, 1385, 1387, 1384, 0, 1295, 0, 0, + 771, 1343, 1416, 1418, 1417, 0, 1420, 162, 159, 158, + 160, 163, 1344, 1325, 1306, 1369, 627, 0, 0, 0, + 1304, 0, 1362, 0, 1321, 1315, 0, 0, 0, 0, + 0, 1407, 1335, 1367, 1406, 1333, 1365, 1332, 1364, 1334, + 1366, 1326, 0, 0, 1910, 896, 0, 0, 0, 145, + 145, 894, 769, 1308, 0, 1371, 1317, 0, 0, 0, + 987, 0, 0, 0, 989, 429, 449, 150, 0, 789, + 855, 0, 0, 871, 0, 506, 0, 512, 519, 0, + 0, 526, 527, 525, 529, 559, 1221, 563, 1221, 822, + 823, 0, 0, 845, 0, 694, 0, 0, 478, 0, + 530, 0, 0, 482, 171, 170, 0, 0, 0, 784, + 788, 786, 785, 787, 782, 0, 773, 196, 2616, 0, + 0, 0, 0, 625, 619, 622, 1429, 862, 0, 1909, + 763, 0, 384, 641, 0, 0, 0, 478, 633, 0, + 483, 488, 489, 502, 0, 606, 597, 0, 598, 607, + 608, 0, 615, 1503, 0, 634, 615, 0, 0, 0, + 886, 0, 885, 0, 1152, 1169, 1170, 0, 0, 1213, + 0, 0, 1215, 1210, 0, 0, 802, 805, 798, 681, + 145, 0, 1532, 145, 145, 1271, 0, 931, 1071, 1072, + 1073, 1070, 1069, 673, 0, 1075, 1035, 1084, 761, 0, + 632, 0, 1036, 145, 1012, 1004, 1011, 1000, 1003, 1005, + 0, 1007, 1008, 1002, 999, 1001, 2342, 2164, 0, 2408, + 2410, 2198, 2421, 2420, 2197, 2427, 0, 0, 2390, 2418, + 2417, 0, 0, 2402, 2402, 2167, 2178, 0, 2268, 2299, + 0, 0, 2119, 0, 0, 0, 2173, 2883, 0, 0, + 2230, 2231, 0, 2227, 2228, 2223, 2224, 2189, 0, 2673, + 2207, 0, 0, 2222, 2080, 2078, 2077, 2062, 0, 0, + 2060, 2085, 2056, 0, 2087, 2232, 2265, 2299, 2234, 0, + 1774, 1758, 1757, 1756, 1755, 2237, 2456, 2454, 2237, 247, + 1745, 0, 1895, 0, 1898, 0, 0, 1849, 0, 0, + 1853, 0, 0, 1855, 1857, 0, 0, 0, 0, 0, + 0, 2443, 0, 1819, 0, 1774, 0, 1789, 0, 0, + 0, 1629, 0, 1630, 1636, 0, 0, 0, 0, 0, + 1679, 1672, 1167, 1175, 1107, 0, 0, 0, 556, 838, + 837, 840, 835, 841, 839, 1543, 0, 712, 713, 716, + 1314, 0, 1375, 1323, 0, 1668, 546, 313, 0, 572, 0, 0, 0, 1119, 140, 1118, 0, 0, 0, 0, - 0, 493, 492, 501, 320, 0, 0, 0, 314, 393, - 0, 395, 315, 319, 374, 337, 329, 0, 0, 0, - 1308, 0, 1371, 1317, 1344, 1396, 1291, 1355, 0, 0, - 904, 0, 0, 0, 0, 1397, 1292, 1356, 0, 0, - 0, 0, 0, 1667, 0, 0, 0, 0, 0, 0, - 0, 0, 1551, 0, 0, 373, 892, 891, 374, 411, - 1335, 0, 2136, 0, 987, 992, 993, 991, 0, 417, - 425, 428, 0, 0, 1260, 1260, 0, 0, 502, 519, - 0, 0, 506, 616, 575, 616, 0, 0, 0, 0, - 0, 730, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 775, 774, 193, 0, 477, 0, 729, 0, - 889, 0, 0, 0, 632, 479, 0, 0, 1616, 478, - 0, 0, 490, 0, 608, 597, 605, 0, 0, 629, - 0, 1495, 0, 635, 0, 0, 0, 831, 1208, 0, - 1222, 0, 1163, 1133, 1217, 0, 1749, 1901, 0, 0, - 0, 0, 814, 0, 684, 1261, 1529, 920, 922, 767, - 1078, 0, 1091, 1083, 1005, 2391, 2425, 2360, 2362, 0, - 0, 2383, 2376, 2379, 2377, 2378, 2380, 0, 2375, 0, - 2194, 2424, 2373, 2387, 2328, 2269, 2115, 0, 2331, 2330, - 2334, 0, 2183, 0, 2184, 2228, 2190, 2207, 0, 2191, - 2219, 0, 0, 2080, 2078, 2063, 2266, 0, 2251, 1727, - 1726, 0, 1747, 1930, 1899, 0, 0, 1893, 0, 0, - 1924, 0, 0, 0, 1859, 1877, 0, 1855, 1853, 0, - 1866, 0, 1868, 2553, 2843, 2741, 0, 1805, 1807, 1810, - 1812, 1811, 1813, 1809, 2235, 2237, 0, 1784, 2290, 1903, - 0, 1643, 0, 0, 0, 1114, 0, 0, 1644, 1680, - 1692, 1692, 1675, 1079, 0, 145, 707, 0, 0, 291, - 1126, 0, 1220, 577, 2685, 578, 1125, 1129, 139, 2702, - 0, 559, 571, 571, 489, 0, 318, 328, 0, 376, - 388, 0, 1667, 0, 0, 902, 911, 911, 899, 0, - 0, 916, 1294, 771, 0, 580, 0, 286, 1320, 1314, - 0, 0, 0, 1553, 1554, 0, 0, 0, 0, 0, - 1343, 145, 1316, 995, 0, 450, 458, 429, 433, 1545, - 0, 1545, 0, 430, 434, 1545, 1545, 427, 1901, 446, - 1260, 0, 1257, 1256, 558, 646, 0, 557, 0, 509, - 0, 586, 508, 0, 845, 0, 0, 728, 0, 479, - 595, 0, 542, 533, 534, 535, 536, 538, 537, 539, - 540, 541, 531, 530, 0, 729, 908, 383, 1502, 769, - 0, 0, 742, 0, 729, 0, 1619, 628, 597, 479, - 595, 483, 501, 0, 612, 605, 608, 0, 609, 0, - 613, 0, 0, 0, 632, 1555, 1113, 0, 0, 832, - 1221, 1182, 0, 0, 1211, 1215, 1216, 0, 0, 0, - 0, 1264, 808, 809, 803, 805, 0, 816, 820, 679, - 0, 0, 683, 674, 729, 145, 0, 0, 2374, 2381, - 2382, 0, 2204, 0, 0, 2399, 0, 0, 0, 2116, - 0, 0, 2209, 2208, 2220, 2192, 2246, 0, 0, 0, - 0, 0, 0, 0, 1738, 0, 2361, 1892, 1895, 0, - 1927, 0, 0, 0, 0, 1912, 0, 1857, 0, 0, - 1867, 0, 0, 0, 1814, 0, 0, 0, 1823, 1651, - 1650, 0, 1647, 0, 0, 1641, 1901, 0, 1638, 0, - 1687, 0, 1679, 1681, 0, 0, 0, 1098, 0, 1099, - 1322, 0, 1120, 0, 616, 0, 1132, 1129, 565, 0, - 1220, 1220, 646, 0, 0, 331, 0, 299, 1318, 0, - 0, 900, 901, 0, 0, 0, 0, 0, 0, 405, - 0, 0, 1547, 0, 1548, 1549, 1552, 413, 426, 0, - 456, 455, 0, 453, 452, 454, 0, 443, 0, 0, - 0, 0, 0, 0, 416, 1255, 1259, 1258, 510, 0, - 512, 0, 0, 572, 573, 574, 0, 514, 582, 583, - 842, 0, 847, 0, 731, 0, 0, 729, 594, 753, - 0, 0, 0, 1496, 0, 0, 619, 763, 1502, 632, - 605, 0, 597, 491, 0, 614, 608, 612, 610, 611, - 0, 1499, 0, 634, 0, 1122, 830, 0, 1212, 1223, - 1218, 1213, 1458, 0, 0, 806, 811, 810, 1545, 815, - 0, 0, 0, 682, 681, 757, 1036, 2363, 2364, 2388, - 0, 0, 0, 2367, 0, 2365, 0, 0, 2387, 0, - 2205, 2327, 2212, 2185, 2210, 2830, 2554, 2800, 0, 2263, - 2252, 2263, 2263, 2243, 0, 0, 0, 1929, 0, 0, - 0, 1925, 1926, 1910, 0, 0, 1914, 1864, 1890, 0, - 0, 0, 1808, 2238, 2239, 2477, 1645, 0, 0, 1630, - 1640, 1115, 0, 1689, 1691, 0, 0, 0, 1667, 0, - 581, 0, 1116, 1132, 568, 616, 616, 325, 316, 375, - 0, 0, 0, 909, 918, 917, 773, 1667, 0, 401, - 400, 0, 404, 0, 451, 461, 0, 459, 431, 436, - 0, 442, 441, 438, 437, 432, 435, 0, 522, 0, - 0, 0, 0, 584, 0, 585, 0, 846, 0, 0, - 0, 755, 907, 0, 0, 477, 729, 1497, 1617, 608, - 597, 605, 0, 0, 599, 1126, 1126, 464, 612, 614, - 1500, 1501, 0, 0, 517, 0, 1134, 1457, 1456, 1749, - 0, 0, 0, 817, 818, 813, 0, 0, 2368, 0, - 2371, 0, 2372, 2366, 2396, 2398, 0, 2384, 2385, 0, - 2256, 2255, 2254, 2258, 2257, 0, 2250, 2248, 2249, 0, - 0, 0, 0, 1896, 0, 1913, 1916, 0, 0, 0, - 1922, 0, 1915, 1917, 0, 1876, 0, 1888, 1816, 0, - 1815, 1648, 1649, 1901, 0, 1694, 0, 0, 1682, 1683, - 0, 0, 1684, 145, 292, 570, 832, 579, 1117, 0, - 575, 832, 832, 1667, 903, 0, 287, 0, 406, 1550, - 457, 0, 440, 439, 645, 520, 521, 513, 615, 591, - 0, 590, 0, 588, 587, 843, 848, 0, 729, 897, - 1502, 743, 612, 605, 608, 0, 598, 0, 140, 140, - 614, 462, 0, 0, 383, 0, 1440, 1749, 1439, 1441, - 1449, 1446, 1448, 1447, 1445, 0, 1267, 1268, 807, 812, - 0, 0, 2369, 2370, 0, 0, 2203, 0, 0, 0, - 2260, 0, 2261, 0, 0, 0, 0, 0, 1919, 1920, - 1921, 1923, 1918, 1863, 0, 1817, 1637, 1688, 1690, 1685, - 0, 1686, 0, 0, 0, 0, 1695, 1100, 551, 566, - 586, 549, 547, 300, 910, 0, 460, 589, 562, 562, - 729, 754, 1498, 614, 608, 612, 1126, 600, 602, 601, - 466, 1122, 1123, 0, 614, 820, 0, 1450, 1444, 1725, - 1712, 0, 0, 819, 0, 0, 0, 0, 2253, 2259, - 2262, 0, 0, 0, 0, 2665, 0, 1931, 0, 0, - 0, 1693, 1699, 0, 0, 0, 0, 832, 0, 593, - 592, 756, 465, 612, 614, 140, 517, 1121, 0, 1901, - 0, 1442, 1749, 0, 0, 825, 2395, 2397, 2386, 1743, - 1742, 2026, 0, 0, 1746, 1939, 0, 2389, 0, 0, - 1942, 0, 1889, 0, 0, 0, 567, 552, 402, 614, - 463, 603, 383, 1124, 1108, 0, 1443, 0, 0, 827, - 0, 823, 826, 828, 829, 0, 0, 0, 0, 1932, - 1933, 1942, 0, 2373, 1942, 1911, 1696, 1700, 0, 1697, - 467, 614, 0, 0, 0, 791, 0, 1773, 0, 0, - 0, 1928, 2389, 1941, 2399, 2373, 0, 1901, 0, 0, - 0, 824, 0, 0, 0, 0, 1936, 2387, 2399, 0, - 1109, 825, 1265, 1266, 0, 1745, 0, 0, 1934, 2387, - 1698, 0, 0, 1937, 1935, 792, 0, 1938 + 0, 494, 493, 502, 321, 0, 0, 0, 315, 394, + 0, 396, 316, 320, 375, 338, 330, 0, 0, 0, + 1310, 0, 1373, 1319, 1346, 1398, 1293, 1357, 0, 0, + 905, 0, 0, 0, 0, 1399, 1294, 1358, 0, 0, + 0, 0, 0, 1668, 0, 0, 0, 0, 0, 0, + 0, 0, 1552, 0, 0, 374, 893, 892, 375, 412, + 1337, 0, 2137, 0, 988, 993, 994, 992, 0, 418, + 426, 429, 0, 0, 1262, 1262, 0, 0, 503, 520, + 0, 0, 507, 617, 576, 617, 0, 0, 0, 0, + 0, 731, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 776, 775, 193, 0, 478, 0, 730, 0, + 890, 0, 0, 0, 633, 480, 0, 0, 1617, 479, + 0, 0, 491, 0, 609, 598, 606, 0, 0, 630, + 0, 1496, 0, 636, 0, 0, 0, 832, 1209, 0, + 1223, 0, 1163, 1133, 1218, 0, 1750, 1902, 0, 0, + 0, 0, 815, 0, 685, 1263, 1530, 921, 923, 768, + 1078, 0, 1091, 1083, 1006, 2392, 2426, 2361, 2363, 0, + 0, 2384, 2377, 2380, 2378, 2379, 2381, 0, 2376, 0, + 2195, 2425, 2374, 2388, 2329, 2270, 2116, 0, 2332, 2331, + 2335, 0, 2184, 0, 2185, 2229, 2191, 2208, 0, 2192, + 2220, 0, 0, 2081, 2079, 2064, 2267, 0, 2252, 1728, + 1727, 0, 1748, 1931, 1900, 0, 0, 1894, 0, 0, + 1925, 0, 0, 0, 1860, 1878, 0, 1856, 1854, 0, + 1867, 0, 1869, 2554, 2844, 2742, 0, 1806, 1808, 1811, + 1813, 1812, 1814, 1810, 2236, 2238, 0, 1785, 2291, 1904, + 0, 1644, 0, 0, 0, 1114, 0, 0, 1645, 1681, + 1693, 1693, 1676, 1079, 0, 145, 708, 0, 0, 292, + 1126, 0, 1221, 578, 2686, 579, 1125, 1129, 139, 2703, + 0, 560, 572, 572, 490, 0, 319, 329, 0, 377, + 389, 0, 1668, 0, 0, 903, 912, 912, 900, 0, + 0, 917, 1296, 772, 0, 581, 0, 287, 1322, 1316, + 0, 0, 0, 1554, 1555, 0, 0, 0, 0, 0, + 1345, 145, 1318, 996, 0, 451, 459, 430, 434, 1546, + 0, 1546, 0, 431, 435, 1546, 1546, 428, 1902, 447, + 1262, 0, 1259, 1258, 559, 647, 0, 558, 0, 510, + 0, 587, 509, 0, 846, 0, 0, 729, 0, 480, + 596, 0, 543, 534, 535, 536, 537, 539, 538, 540, + 541, 542, 532, 531, 0, 730, 909, 384, 1503, 770, + 0, 0, 743, 0, 730, 0, 1620, 629, 598, 480, + 596, 484, 502, 0, 613, 606, 609, 0, 610, 0, + 614, 0, 0, 0, 633, 1556, 1113, 0, 0, 833, + 1222, 1182, 0, 0, 1212, 1216, 1217, 0, 0, 0, + 0, 1266, 809, 810, 804, 806, 0, 817, 821, 680, + 0, 0, 684, 675, 730, 145, 0, 0, 2375, 2382, + 2383, 0, 2205, 0, 0, 2400, 0, 0, 0, 2117, + 0, 0, 2210, 2209, 2221, 2193, 2247, 0, 0, 0, + 0, 0, 0, 0, 1739, 0, 2362, 1893, 1896, 0, + 1928, 0, 0, 0, 0, 1913, 0, 1858, 0, 0, + 1868, 0, 0, 0, 1815, 0, 0, 0, 1824, 1652, + 1651, 0, 1648, 0, 0, 1642, 1902, 0, 1639, 0, + 1688, 0, 1680, 1682, 0, 0, 0, 1098, 0, 1099, + 1324, 0, 1120, 0, 617, 0, 1132, 1129, 566, 0, + 1221, 1221, 647, 0, 0, 332, 0, 300, 1320, 0, + 0, 901, 902, 0, 0, 0, 0, 0, 0, 406, + 0, 0, 1548, 0, 1549, 1550, 1553, 414, 427, 0, + 457, 456, 0, 454, 453, 455, 0, 444, 0, 0, + 0, 0, 0, 0, 417, 1257, 1261, 1260, 511, 0, + 513, 0, 0, 573, 574, 575, 0, 515, 583, 584, + 843, 0, 848, 0, 732, 0, 0, 730, 595, 754, + 0, 0, 0, 1497, 0, 0, 620, 764, 1503, 633, + 606, 0, 598, 492, 0, 615, 609, 613, 611, 612, + 0, 1500, 0, 635, 0, 1122, 831, 0, 1213, 1224, + 1219, 1214, 1460, 0, 0, 807, 812, 811, 1546, 816, + 0, 0, 0, 683, 682, 758, 1037, 2364, 2365, 2389, + 0, 0, 0, 2368, 0, 2366, 0, 0, 2388, 0, + 2206, 2328, 2213, 2186, 2211, 2831, 2555, 2801, 0, 2264, + 2253, 2264, 2264, 2244, 0, 0, 0, 1930, 0, 0, + 0, 1926, 1927, 1911, 0, 0, 1915, 1865, 1891, 0, + 0, 0, 1809, 2239, 2240, 2478, 1646, 0, 0, 1631, + 1641, 1115, 0, 1690, 1692, 0, 0, 0, 1668, 0, + 582, 0, 1116, 1132, 569, 617, 617, 326, 317, 376, + 0, 0, 0, 910, 919, 918, 774, 1668, 0, 402, + 401, 0, 405, 0, 452, 462, 0, 460, 432, 437, + 0, 443, 442, 439, 438, 433, 436, 0, 523, 0, + 0, 0, 0, 585, 0, 586, 0, 847, 0, 0, + 0, 756, 908, 0, 0, 478, 730, 1498, 1618, 609, + 598, 606, 0, 0, 600, 1126, 1126, 465, 613, 615, + 1501, 1502, 0, 0, 518, 0, 1134, 1459, 1458, 1750, + 0, 0, 0, 818, 819, 814, 0, 0, 2369, 0, + 2372, 0, 2373, 2367, 2397, 2399, 0, 2385, 2386, 0, + 2257, 2256, 2255, 2259, 2258, 0, 2251, 2249, 2250, 0, + 0, 0, 0, 1897, 0, 1914, 1917, 0, 0, 0, + 1923, 0, 1916, 1918, 0, 1877, 0, 1889, 1817, 0, + 1816, 1649, 1650, 1902, 0, 1695, 0, 0, 1683, 1684, + 0, 0, 1685, 145, 293, 571, 833, 580, 1117, 0, + 576, 833, 833, 1668, 904, 0, 288, 0, 407, 1551, + 458, 0, 441, 440, 646, 521, 522, 514, 616, 592, + 0, 591, 0, 589, 588, 844, 849, 0, 730, 898, + 1503, 744, 613, 606, 609, 0, 599, 0, 140, 140, + 615, 463, 0, 0, 384, 0, 1442, 1750, 1441, 1443, + 1451, 1448, 1450, 1449, 1447, 0, 1269, 1270, 808, 813, + 0, 0, 2370, 2371, 0, 0, 2204, 0, 0, 0, + 2261, 0, 2262, 0, 0, 0, 0, 0, 1920, 1921, + 1922, 1924, 1919, 1864, 0, 1818, 1638, 1689, 1691, 1686, + 0, 1687, 0, 0, 0, 0, 1696, 1100, 552, 567, + 587, 550, 548, 301, 911, 0, 461, 590, 563, 563, + 730, 755, 1499, 615, 609, 613, 1126, 601, 603, 602, + 467, 1122, 1123, 0, 615, 821, 0, 1452, 1446, 1726, + 1713, 0, 0, 820, 0, 0, 0, 0, 2254, 2260, + 2263, 0, 0, 0, 0, 2666, 0, 1932, 0, 0, + 0, 1694, 1700, 0, 0, 0, 0, 833, 0, 594, + 593, 757, 466, 613, 615, 140, 518, 1121, 0, 1902, + 0, 1444, 1750, 0, 0, 826, 2396, 2398, 2387, 1744, + 1743, 2027, 0, 0, 1747, 1940, 0, 2390, 0, 0, + 1943, 0, 1890, 0, 0, 0, 568, 553, 403, 615, + 464, 604, 384, 1124, 1108, 0, 1445, 0, 0, 828, + 0, 824, 827, 829, 830, 0, 0, 0, 0, 1933, + 1934, 1943, 0, 2374, 1943, 1912, 1697, 1701, 0, 1698, + 468, 615, 0, 0, 0, 792, 0, 1774, 0, 0, + 0, 1929, 2390, 1942, 2400, 2374, 0, 1902, 0, 0, + 0, 825, 0, 0, 0, 0, 1937, 2388, 2400, 0, + 1109, 826, 1267, 1268, 0, 1746, 0, 0, 1935, 2388, + 1699, 0, 0, 1938, 1936, 793, 0, 1939 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { - -1, 57, 58, 59, 60, 1111, 1116, 1917, 1936, 61, - 62, 1637, 3081, 2934, 3911, 3912, 63, 64, 1633, 65, - 66, 67, 68, 1547, 69, 1889, 3095, 70, 2766, 853, - 854, 855, 2631, 2632, 3026, 2633, 2620, 1397, 1835, 1569, - 827, 828, 1529, 1570, 72, 73, 1391, 2609, 74, 75, - 76, 1600, 1696, 1601, 1602, 1541, 5064, 5915, 3697, 2889, - 3959, 3698, 3699, 4391, 4392, 3777, 4420, 4483, 5929, 5930, - 77, 1712, 1713, 78, 79, 3063, 3877, 4536, 5459, 5460, - 5727, 672, 5087, 5088, 5714, 5715, 5944, 6116, 6117, 3096, - 703, 3954, 4621, 3902, 5159, 3903, 5160, 3904, 5161, 4953, - 4954, 4380, 4381, 3888, 4568, 4569, 2093, 5100, 6257, 4570, - 3905, 5120, 5762, 3906, 2855, 2781, 2782, 5472, 5389, 3130, - 2008, 5387, 6240, 2006, 5662, 5741, 4938, 4939, 4456, 5967, - 5968, 5969, 6263, 5122, 5165, 5166, 6153, 6154, 3957, 4627, - 5172, 5519, 5739, 3655, 81, 3930, 3931, 82, 766, 1911, - 4058, 767, 3133, 704, 768, 3097, 87, 3123, 5960, 3124, - 1665, 2948, 4549, 4034, 88, 1139, 4343, 5544, 5822, 5823, - 757, 89, 1897, 90, 91, 3076, 3895, 92, 2799, 3602, - 93, 94, 3621, 3622, 3623, 95, 4578, 5480, 1603, 3686, - 3687, 3688, 3689, 4412, 96, 1892, 3104, 3105, 97, 98, - 99, 3235, 3236, 100, 3012, 101, 102, 103, 104, 4450, - 5020, 5136, 3728, 3918, 4594, 5134, 105, 3881, 3098, 3151, - 3992, 3993, 5542, 5814, 5815, 5816, 6018, 6298, 5818, 6020, - 6175, 6022, 5111, 6450, 6451, 5799, 4332, 4916, 107, 5112, - 5113, 5973, 108, 2797, 109, 110, 1866, 3069, 3070, 4550, - 3140, 3967, 3968, 4607, 4608, 111, 3817, 112, 4996, 4997, - 705, 5981, 5921, 113, 114, 5000, 5001, 115, 116, 117, - 118, 119, 758, 1073, 1074, 760, 1194, 1195, 3563, 1156, - 120, 2641, 121, 3857, 122, 1269, 5225, 123, 792, 1210, - 1211, 3099, 125, 802, 3254, 804, 3219, 3220, 2024, 4038, - 4039, 4695, 126, 127, 4042, 4043, 4702, 3232, 128, 1534, - 2776, 2777, 4907, 3100, 706, 3648, 5644, 5383, 5645, 6164, - 6363, 5384, 3507, 4288, 130, 707, 1575, 2838, 1162, 1163, - 3144, 3972, 2746, 2747, 1735, 4648, 2749, 3974, 2750, 1508, - 2751, 1149, 1150, 3980, 3981, 3982, 3983, 4644, 4654, 4655, - 5536, 5807, 4651, 1885, 5530, 5531, 131, 1572, 2835, 132, - 133, 134, 1616, 997, 1172, 1173, 135, 719, 720, 136, - 5732, 137, 1152, 138, 5540, 139, 140, 1254, 1255, 819, - 141, 142, 2859, 4394, 143, 1573, 144, 145, 3722, 3723, - 5012, 146, 147, 148, 2920, 2921, 149, 150, 151, 152, - 153, 6288, 6366, 6367, 6368, 4662, 6169, 154, 1242, 155, - 156, 157, 158, 196, 1038, 1039, 1040, 950, 3101, 5521, - 160, 161, 1530, 1531, 1532, 1533, 2771, 162, 163, 164, - 4002, 4003, 165, 166, 167, 168, 1869, 169, 170, 5705, - 171, 172, 1839, 173, 174, 1047, 1048, 1049, 1050, 1837, - 3451, 666, 872, 1424, 1430, 1473, 1474, 1475, 176, 770, - 177, 1245, 1078, 771, 1203, 179, 772, 2728, 3537, 4303, + -1, 57, 58, 59, 60, 1112, 1117, 1918, 1937, 61, + 62, 1638, 3082, 2935, 3912, 3913, 63, 64, 1634, 65, + 66, 67, 68, 1548, 69, 1890, 3096, 70, 2767, 854, + 855, 856, 827, 2632, 2633, 3027, 2634, 2621, 1396, 1836, + 1570, 828, 829, 1530, 1571, 72, 73, 1390, 2610, 74, + 75, 76, 1601, 1697, 1602, 1603, 1542, 5064, 5915, 3698, + 2890, 3960, 3699, 3700, 4391, 4392, 3778, 4420, 4483, 5929, + 5930, 77, 1713, 1714, 78, 79, 3064, 3878, 4536, 5459, + 5460, 5727, 672, 5087, 5088, 5714, 5715, 5944, 6116, 6117, + 3097, 703, 3955, 4621, 3903, 5159, 3904, 5160, 3905, 5161, + 4953, 4954, 4380, 4381, 3889, 4568, 4569, 2094, 5100, 6257, + 4570, 3906, 5120, 5762, 3907, 2856, 2782, 2783, 5472, 5389, + 3131, 2009, 5387, 6240, 2007, 5662, 5741, 4938, 4939, 4456, + 5967, 5968, 5969, 6263, 5122, 5165, 5166, 6153, 6154, 3958, + 4627, 5172, 5519, 5739, 3656, 81, 3931, 3932, 82, 766, + 1912, 4058, 767, 3134, 704, 768, 3098, 87, 3124, 5960, + 3125, 1666, 2949, 4549, 4035, 88, 1140, 4343, 5544, 5822, + 5823, 757, 89, 1898, 90, 91, 3077, 3896, 92, 2800, + 3603, 93, 94, 3622, 3623, 3624, 95, 4578, 5480, 1604, + 3687, 3688, 3689, 3690, 4412, 96, 1893, 3105, 3106, 97, + 98, 99, 3236, 3237, 100, 3013, 101, 102, 103, 104, + 4450, 5020, 5136, 3729, 3919, 4594, 5134, 105, 3882, 3099, + 3152, 3993, 3994, 5542, 5814, 5815, 5816, 6018, 6298, 5818, + 6020, 6175, 6022, 5111, 6450, 6451, 5799, 4332, 4916, 107, + 5112, 5113, 5973, 108, 2798, 109, 110, 1867, 3070, 3071, + 4550, 3141, 3968, 3969, 4607, 4608, 111, 3818, 112, 4996, + 4997, 705, 5981, 5921, 113, 114, 5000, 5001, 115, 116, + 117, 118, 119, 758, 1074, 1075, 760, 1194, 1195, 3564, + 1156, 120, 2642, 121, 3858, 122, 1268, 5225, 123, 792, + 1210, 1211, 3100, 125, 802, 3255, 804, 3221, 3222, 2025, + 4038, 4039, 4695, 126, 127, 4042, 4043, 4702, 3233, 128, + 1535, 2777, 2778, 4907, 3101, 706, 3649, 5644, 5383, 5645, + 6164, 6363, 5384, 3508, 4288, 130, 707, 1576, 2839, 1162, + 1163, 3145, 3973, 2747, 2748, 1736, 4649, 2750, 3975, 2751, + 1509, 2752, 1149, 1150, 3981, 3982, 3983, 3984, 4644, 4655, + 4656, 5536, 5807, 4652, 1886, 5530, 5531, 131, 1573, 2836, + 132, 133, 134, 1617, 998, 1172, 1173, 135, 719, 720, + 136, 5732, 137, 1152, 138, 5540, 139, 140, 1253, 1254, + 819, 141, 142, 2860, 4394, 143, 1574, 144, 145, 3723, + 3724, 5012, 146, 147, 148, 2921, 2922, 149, 150, 151, + 152, 153, 6288, 6366, 6367, 6368, 4663, 6169, 154, 155, + 156, 157, 158, 196, 1039, 1040, 1041, 951, 3102, 5521, + 160, 161, 1531, 1532, 1533, 1534, 2772, 162, 163, 164, + 4003, 4004, 165, 166, 167, 168, 1870, 169, 170, 5705, + 171, 172, 1840, 173, 174, 1048, 1049, 1050, 1051, 1838, + 3452, 666, 873, 1425, 1431, 1474, 1475, 1476, 176, 770, + 177, 1244, 1079, 771, 1203, 179, 772, 2729, 3538, 4303, 4304, 4305, 4308, 5347, 4883, 5340, 5881, 5882, 5883, 773, - 3533, 182, 2031, 3241, 3244, 3529, 774, 3543, 3544, 3545, + 3534, 182, 2032, 3242, 3245, 3530, 774, 3544, 3545, 3546, 4312, 775, 5648, 5649, 5650, 5651, 5895, 6228, 6229, 6232, - 6336, 776, 794, 1142, 3155, 777, 1356, 188, 189, 190, - 930, 875, 876, 3456, 5602, 5854, 192, 2601, 3434, 811, - 1479, 918, 919, 920, 939, 3036, 2694, 2695, 2719, 2720, - 1488, 1489, 2707, 2711, 2712, 3520, 3513, 2700, 4282, 5627, - 5628, 5629, 5630, 5631, 5632, 4872, 2715, 2716, 1491, 1492, - 1493, 2724, 193, 2684, 3486, 3487, 3488, 4258, 4259, 6215, - 4273, 4269, 4857, 5323, 3489, 864, 1240, 1500, 4865, 6217, - 3490, 5312, 5313, 5607, 4278, 3499, 4299, 3942, 3943, 3944, - 3491, 5864, 5865, 6212, 6213, 5609, 5610, 3492, 5856, 6386, - 6387, 6426, 6463, 2752, 1453, 903, 1357, 904, 1466, 1358, - 1440, 906, 1359, 1360, 1361, 909, 1362, 1363, 1364, 912, - 1432, 1365, 1366, 1449, 1462, 1463, 1367, 1425, 5611, 1369, - 1370, 1371, 3494, 1372, 4799, 5282, 5268, 3356, 3357, 2627, - 5592, 4795, 4170, 4789, 2594, 2598, 5335, 5634, 5635, 3427, - 4220, 4828, 5300, 5850, 6049, 6050, 6196, 1373, 1374, 1375, - 3419, 2588, 1000, 1376, 4552, 2590, 3347, 3325, 1738, 3326, - 2034, 2056, 3273, 3290, 3291, 3395, 3327, 3335, 3340, 3348, - 1377, 3275, 3276, 4080, 2058, 1378, 1044, 1741, 1045, 1468, - 3377, 5248, 5557, 5558, 5835, 5836, 5568, 5837, 5569, 5559, - 4092, 4093, 6038, 3301, 3396, 4096, 3309, 3310, 4114, 4103, - 3302, 1379, 4105, 1387, 1388, 1381, 2025, 865, 5319, 1198, - 1822, 808, 1382, 1383, 1384, 1385, 1609, 971, 1165, 1166, - 921, 923, 924, 2688, 662, 654, 973, 3690, 2591, 663, - 656, 657, 1827, 2592 + 6336, 776, 794, 1143, 3156, 777, 1355, 188, 189, 190, + 931, 876, 877, 3457, 5602, 5854, 192, 2602, 3435, 811, + 1480, 919, 920, 921, 940, 3037, 2695, 2696, 2720, 2721, + 1489, 1490, 2708, 2712, 2713, 3521, 3514, 2701, 4282, 5627, + 5628, 5629, 5630, 5631, 5632, 4872, 2716, 2717, 1492, 1493, + 1494, 2725, 193, 2685, 3487, 3488, 3489, 4258, 4259, 6215, + 4273, 4269, 4857, 5323, 3490, 865, 1240, 1501, 4865, 6217, + 3491, 5312, 5313, 5607, 4278, 3500, 4299, 3943, 3944, 3945, + 3492, 5864, 5865, 6212, 6213, 5609, 5610, 3493, 5856, 6386, + 6387, 6426, 6463, 2753, 1454, 904, 1356, 905, 1467, 1357, + 1441, 907, 1358, 1359, 1360, 910, 1361, 1362, 1363, 913, + 1433, 1364, 1365, 1450, 1463, 1464, 1366, 1426, 5611, 1368, + 1369, 1370, 3495, 1371, 4799, 5282, 5268, 3357, 3358, 2628, + 5592, 4795, 4170, 4789, 2595, 2599, 5335, 5634, 5635, 3428, + 4220, 4828, 5300, 5850, 6049, 6050, 6196, 1372, 1373, 1374, + 3420, 2589, 1001, 1375, 4552, 2591, 3348, 3326, 1739, 3327, + 2035, 2057, 3274, 3291, 3292, 3396, 3328, 3336, 3341, 3349, + 1376, 3276, 3277, 4080, 2059, 1377, 1045, 1742, 1046, 1469, + 3378, 5248, 5557, 5558, 5835, 5836, 5568, 5837, 5569, 5559, + 4092, 4093, 6038, 3302, 3397, 4096, 3310, 3311, 4114, 4103, + 3303, 1378, 4105, 1386, 1387, 1380, 2026, 866, 5319, 1198, + 1823, 808, 1381, 1382, 1383, 1384, 1610, 972, 1165, 1166, + 922, 924, 925, 2689, 662, 654, 974, 3691, 2592, 663, + 656, 657, 1828, 2593 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ -#define YYPACT_NINF -5915 +#define YYPACT_NINF -5909 static const int yypact[] = { - 6919, 1539, 22594, -5915, -5915, 1539, 73454, -5915, 83714, 37, - 925, 1322, 342, 12612, 84227, 94487, 746, 421, 10519, 1539, - 94487, 1874, 63193, 79097, 1431, 94487, 1806, 1224, 63193, 94487, - 95000, 1534, 1643, 1741, 95513, 84740, 78071, 1420, 94487, 2047, - 1800, 96026, 85253, 1902, 85766, 1224, 57576, 177, 1977, 96539, - 94487,121592, 1800, 86279, 86279, 86279, 2412, 2403, 1911, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, 40, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, 1875, -5915, 933, - 2079, 75, 941, 1944, -5915, -5915, 2525, 73454, 94487, 94487, - 94487, 2192, 94487, 2129, 94487, 994, 73454, 69350, 86792, 2284, - 2109, 53358, 97052, -5915, 73454, 94487, 66785, 73454, 94487, 94487, - 97565, 94487, 98078, 94487, 162, 81662, 94487, 2249, 94487, 94487, - 67298, 98591, 2422, 323, 314, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, 2152, 1689, -5915, 322, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, 63706, 94487, 22073, 1806, 2525, - -5915, 2412, 94487, 2453, 94487, 2160, 99104, 94487, -5915, 94487, - 2287, 99617, 1047, 806, 69350, 1701, 53890, 2408, 94487, 94487, - 69350,100130,100643,101156, 94487, 94487, -5915, -5915, 2351, 94487, - -5915, 2532, 69863, 1979, 2540, 2698, 2633, 1369, -5915, 87305, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, 72941, 421, - -5915, -5915, 2579, 73967, 2703, -5915, -5915,101669,122091, 2406, - -5915, 1077, 74480, 70376, 2777, 2386, 54422, 2856, -5915, 74993, - -5915, 70889, 75506, -5915, -5915, -5915, -5915, -5915,102182, -5915, - 102695, 2533, 2703, -5915,122590, 71402, -5915, 2690,103208,103721, - 104234, 2525, 2402, 2053, 1365, 47626, -5915, -5915, -5915, 2462, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, 316, - 1950, 283, 261, 302, -5915, -5915, 284, 289, 295, 316, - 2944, 2944, -5915, 94487, -5915, -5915, 1950, 1184, 2530, 2436, - 2436, 2436, 2713, 46, -5915, 2436, 2610, -5915, -5915, -5915, - -5915, 85766, -5915, 2491, 1806, 2519, 2976, 2558, 63706, 1010, - 94487, -5915, -5915, 3015, 2609, 2875, 2578, -5915, -5915, -5915, - 2822, 2836, 192, 892, 1806, 397, -5915, 2980, -5915, 2849, - 32373, 32373, 1806, 87818,104747, 259, 72428, 2212, 88331, 2656, - 1564, 2843, -5915, -5915, -5915, 812, -5915, 3117, 2660, 2952, - 2578, 323, 49694, -5915, -5915, 2655, 1689, 85766, -5915, -5915, - -5915, 63706, 3014, 35559, 94487, 2664, -5915, 2684, 2664, -5915, - -5915, 2753, -5915, 2753, 2753, 2714, 2714, 2921, 2745, -5915, - -5915, -5915, -5915, 474, 2753, 2714, -5915,123588, -5915, 2072, - 2097, -5915, -5915, 3238, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, 2763, -5915, 1393, -5915, 2138, -5915, -5915, -5915, - 32373, -5915, -5915, -5915, -5915, -5915, -5915, -5915, 2752, 2771, - 75, -5915, 8660, 63706, 85766, 1852, 1852, 3254, 1852, 2054, - 2058, -5915, 2251, -5915, 3140, 3108, 3131, 85766, 2826, 1067, - -5915, 1831, 2830, 1929, 2837, 1948, 1853, -5915, 1159, 94487, - 542, 2900, 88844, 5023, 2863, 1689, 2865, -5915, -5915, -5915, - -5915, 3037, 1520, -5915, -5915, -5915, -5915, 3209, 3256, 7201, - 392, 89357, -5915, -5915, -5915, -5915, 94487, 94487, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, 2876, 188, -5915, - -5915, 2878, 3259, 3109, 7574, 1037, 3219, 3055, 1338, 7669, - 3114, 1244, 3267, 8977, 1655, 3268, 2052, 2194, 89870, 94487, - 3225, 3270, 6464, 2071, 1082, 3119, 1266, 3219, 3261, 3063, - 1338, 3277, 7841, 94487, -5915, 3185, 3316, 934, -5915, 220, - -5915, 25000, 35559, 57063, -5915, 1689, -5915, 2082, -5915, -5915, - 62680, -5915, 2967, 3132, 1170, 73454, 2905, 94487, 94487, -5915, - 121592, 73454, -5915, 3142, 54954, 73454, -5915, 73454, -5915, -5915, - 3273,121592, 94487, 94487, -5915, 94487, -5915, -5915, 2909, -5915, - -5915, -5915, -5915, -5915, 2436, 94487, 3376,121592, 3156, 444, - 2021, 3414, 94487, 3163, 2021, 2960,105260, -5915, -5915, 2021, - -5915, -5915, -5915, 94487, 94487, 2922, 1923, 3150, 233, 2021, - 3168, 3415, 3416, 3172, 3009, 3181, 2684, -5915, 3384, 3153, - 1109, 246, 2369, 2021, 2995,105773,106286, 94487, 3000, 94487, - 3402, 73454, 3040, 73454, 73454, 94487, 3322, 94487, -5915, 3147, - -5915, -5915, 1783, -5915, -5915, -5915, -5915, -5915, 3339, -5915, - 234, 3344, 2969, 3345, 1854, 3349, 277, -5915, -5915, 3012, - -5915, 3355, 315, -5915, 3356, -5915, 2975,106799, -5915,107312, - 107825, 3363, 324, -5915, 69350, 3364, 315, 3365, 2975, 3369, - 315, 3371, 959, 3372, -5915, 1362, 3346, 3377, 277, 3378, - 2373, 2975, -5915, 3379, 340, -5915, 3380, 370, -5915, 3382, - 3215, -5915, 35559, -5915, 3106, -5915, 1977, 2158, 1365, 1950, - -5915, 94487, 1950, 94487, 1950, 94487, 1950, 94487, 1950, 94487, - 94487, 94487, 1950, -5915, -5915, -5915, 94487, 3007, 94487, -5915, - 94487, -5915, -5915, -5915, 80123, 69350, 80636, -5915, 94487, -5915, - 479, 1806, -5915, -5915,121592, 3506, 69350, 3402, 2280, -5915, - -5915, 3402, -5915, -5915, 3402, 3402, -5915, -5915, -5915, 3295, - 94487, 3374, 80123, 69350, 3381, -5915,108338, -5915, 72941, 3239, - 3021, -5915, -5915, -5915, -5915, -5915, 2254, 2589, 306, 2606, - 35559, 3023, 306, 306, 3025, 3391, -5915, -5915, -5915, 333, - 3030, 3032, -5915, 310, 310, -5915, 3034, 3035, -5915, 334, - 3036, 3042, 2616, 2619, 341, 349, 3043, 3044, 3047, 3049, - 3050, 3051, 3056, 3057, 3058, 3059, 3061, 3062, 3065, 474, - 306, 3066, 35559, -5915, 3067, 310, 3068, 3069, 3071, 2627, - 3072, -5915, 2649, 3073, -5915, 303, 373, 3074, 3078, -5915, - 3276, -5915, 351, 3079, 3080, 3081, 3082, 3083, 3084, 3088, - 3089, 35559, 35559, 35559, -5915, 29713, 1689, 2650, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, 353, -5915, 51762, -5915, - 3135, -5915, -5915, 3251, -5915, -5915, 35559, -5915, -5915, 3463, - 485, -5915, 356, -5915, -5915, -5915, 1689, 3408, 3094, -5915, - -5915, 1799, 3097, -5915, 488, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, 71915, 3600, -5915, 372, 1806, 220, 434, - 3536, 60628, 61141, -5915, -5915, 3389, -5915, 94487, -5915, -5915, - 1689, 195, 2304, -5915, 2462, 21062, 2329, 2664, 94487, 94487, - 3604, -5915, 3110, -5915, -5915, 35559, -5915, -5915, -5915, 2944, - -5915, 2753, 2753, -5915, -5915, 3607, 3199, 3201, 2944, -5915, - 2944, -5915, 3116, 3120, 2944, 3200, 3203, 3205, -5915, 3121, - 3207, 2944, -5915, -5915, 64733, 2310, -5915, 3478, 387, -5915, - -5915, -5915, 2333, -5915, 3118, -5915, 2684, -5915, -5915, 75, - 75, 35559, 75, 1577, 1971, 32904, 36090, 3487, 3354, 330, - 1711, 3489, -5915, 3358, 2054, 2058, 85766, 94487, 85766,108851, - 3262, 35559, -5915, 3601, 3220, 3227, 3286, 59628, -5915, 3230, - 3195, 3232, 3291, 3144, 3236, 3240, 3297, -5915, 3432, -5915, - -5915, 3241, 3611, 3243,109364, -5915, -5915, 1445, -5915, -5915, - -5915, 1445, -5915, 3166, 1542, 1526, 1825, 3246, 541, 903, - 3605, -5915, 1657, -5915, -5915, 3306, -5915, 12563, 94487, 3541, - 8176, 3390, 392, 3307, -5915, -5915, -5915, 3452, 3264, 94487, - 3266, 3417, 392, 1430,109877, -5915, -5915, 94487, -5915, -5915, - -5915, -5915, 4804, 3588, 28184, -5915, 2173, 3272, 3249, 3280, - 94487, 76532, 2281, 3392, 3412, 2059, 2290, 274, 3340, 94487, - 2075, 3422, 94487, 3192, 3282, 3283, 3537, 3198, 742, 3643, - 3197, -5915, -5915, -5915, 3612, -5915, 2675, 2694, 3413, -5915, - 3540, 3586, 8352, 3275, 3278,119596, -5915, 3302, 78, 55486, - 94487, 94487, 3305, 3310,110390, 4804, 3617, 81149, 81149, 3311, - 3312, 49177, 3635, 1512, 3313, -5915, -5915, -5915, 1512, 3314, - 3315,110903, 4804, 3626, 94487, 3317, 3318, 94487,123588, 392, - -5915, 3696, -5915, 392, 392, 2086, 3709, 3321, 431, 3494, - 677, 2021, -5915, 3197, 3301, -5915, 3324, 3326, 394, -5915, - 3461, 94487, 3328, 3329, 1731, 3427, 1806, -5915, 3429, -5915, - 3335, 3431, 3337, 1151, 2922, -5915, -5915, 1415, 3348, 85766, - 3456, 3457, 2075, 409, 743, 3197, -5915, 3341, 3342, 3198, - 3198, 94487, 94487, 94487, 94487, 94487, 359, 3744, 478, 3347, - 262, 91, 3252, -5915, 1512, 67811, 3350, -5915, 1512, 94487, - 270, 749, 3197, 1606, 2088, -5915, -5915, -5915, 323, -5915, - 35559, 35559, 35559, 3257, -5915, 2537, 21062, 114, -5915, 2643, - 16621, 3255, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, 94487, - 63706, -5915, -5915, -5915, -5915, -5915, -5915, -5915, 94487, -5915, - 94487, 3568,121592, 3574, 3490, 3576, 3587, 392, 94487, 94487, - 3590, 3591, 3602,121592, 3603, 3606, 3608, 3503, 3386, 861, - 3383, 3303, 3792, 3680, 94487, 64733, -5915, 1445, -5915,121592, - 3530, 3685, -5915, 94487, 3551, 780, -5915, 3725, 3373, -5915, - -5915, 122, 94487, 79610, 2922, -5915, -5915, 3689, 69350, 1096, - 3690, 1806, 3366, 3691, 3542, 1806, 69350, 3594, 94487, 94487, - 94487, 94487, 222, -5915, 67811, 3558, -5915, 94487, 3562, 3301, - 3565, 3823, 1273, 2436,111416, 3694, -5915,111929, 3327, 94487, - 3331, 3331, 3824,121592, 1650, 3624, -5915, -5915, 2112, -5915, - 3479, -5915, 73454, -5915, -5915, 73454, -5915, -5915,121592, 94487, - 3334,121592,121592, -5915, -5915, 73454, 73454, -5915, 69350, 69350, - 3714, 340, 3716, 3403, 3717, 3404, 55486, 55486, -5915, 383, - 73454, -5915, 69350, 73454, -5915, 94487, -5915, 94487, -5915, -5915, - -5915, -5915,121592,121592, -5915, 69350, 67811, 3720, 94487, 94487, - -5915, 94487, 94487, -5915, 94487, 94487, 2335,112442, 1365, -5915, - 94487, -5915, 94487, -5915, 94487, -5915, 94487, -5915, 94487, -5915, - -5915, -5915, 94487, -5915, 94487, 2339, -5915, -5915, 2353, 1521, - 94487, 94487, 911, 73454, 94487, 3577, 94487, 73454, 73454, 94487, - 94487, 94487, 94487, 94487, 3434, 3097, 508, -5915, 1773, 1017, - 85766, 3589, -5915, -5915, 2361, 2412, 50, 94487, -5915, 94487, - 94487, 94487, -5915, -5915, 79097, 3705, 457, 80636, 94487, -5915, - -5915, 21230, 35559, 1689, 31837, -5915, -5915, 21062, 3395, 35559, - 35559, 3351, 2944, 2944, -5915, 1495, 35559, 35559, 35559, 29182, - 35559, 35559, 33435, 35559, 35559, 35559, 35559, 35559, 35559, 2944, - 2944, 3352, 35559, 16187, 35559, 55486, 35559, 41400, 26074, 35559, - 35559, 30244, 1496, 3034, 35559, 3616, 42456, 35559, 434, 3618, - 35559, 434, 16187, 3877, 3877, 2184, 7668, 3357, 1689, -5915, - -5915, 1106, 2944, 1106, -5915, 386,121592, 35559, 35559, 35559, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, 35559, -5915, 64733, -5915, -5915, - -5915, -5915, -5915, -5915, 191, -5915, -5915, -5915, -5915, -5915, - -5915, 5608, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, 94487, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, 30775, -5915, -5915, -5915, -5915, 3362, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, 3700, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, 31306, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, 3375, -5915, -5915, 35559, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, 3446, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, 1277, 35559, - 35559, 35559, 35559, 35559, 35559, 35559, 35559, 35559, -5915, 35559, - 470, -5915, -5915, 3712, 3463, 85, 550, 3387, 3579, 90383, - 32373, 3478, -5915, 25000, -5915, 313, 3478, -5915, -5915, -5915, - 94487, 3600, -5915, -5915, -5915, 3453, -5915, -5915, -5915, -5915, - -5915, -5915, 242, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, 3368, -5915, -5915, -5915, -5915, 3368, -5915, 3388, 3707, - 3719, 959, 85766, 2737, 35559, 191, 278, 94487, 35559, 3362, - 3700, 35559, 3375, 35559, 3446, -5915, 35559, -5915, 2372, 2069, - 35559, 2380, 3393, -5915, -5915, 3385, 3120, 3396, 3399, 3394, - 3397, 2944, 245, 3398, 880, 186, 3521, 2944, 3641, 3400, - -5915, 64733, -5915, 44524, 3428, -5915, -5915, -5915, 1800, 85766, - 85766, -5915, 3703, -5915, 3406, -5915, 17305, 3703, -5915, -5915, - 41928, 3511, 3686, 3621, -5915, -5915, -5915, 3407, 21062, 36621, - 36621, -5915, 2450, 21062, 2521, -5915, -5915, -5915, -5915, -5915, - -5915, 1545, -5915, 94487, 193, 3487, 1711, 3460, 1349, 3898, - 3465, 94487, -5915, 50211, 2385, -5915, 69350, 94487, 94487, 3625, - -5915, 3884, -5915,123588, -5915, 3411, -5915,123089,118598, -5915, - -5915, 1218, -5915, 1259, 69350, -5915, 94487, 94487, 69350, 94487, - 94487, -5915, 69350, 3466, 94487, 94487, -5915, -5915, -5915, -5915, - -5915, 61654, 127, 79097, 3559, 78584, -5915, -5915, 3418, 94487, - 3653, -5915, -5915,112955, -5915, 3657, 69350, 94487, 94487, 35559, - 3658, 94487, 94487, -5915, 614, 3510, 3512, -5915, 94487, 3513, - 73454, 3423,121592, 73454, 56018, 73454, 73454, 3793,121592, 94487, - 94487, 1624, 85766, 285, 1006, 3197, 3666, -5915, 1437, -5915, - 69350, -5915, 94487, 3656, -5915, -5915, -5915, 82175, 3921, 3560, - -5915, -5915, -5915,113468, -5915, -5915, 3660, -5915, 2387, -5915, - 69350, 69350, 94487, 9138, 3435,113981, 94487, 49, 3732, 3681, - 3677, 3735, 1202, -5915, -5915, -5915,121592, -5915, 94487, 90896, - 94487, 94487, 3726, 94487, 82688,114494,115007, 1865, 1882, 3727, - 94487, 83201, 3728, -5915, 3592, 94487, -5915, -5915, 65246, 69350, - 94487, 949, 64733, -5915, 3710, -5915, 94487, -5915, 348, -5915, - 94487, 9887, 3672, -5915, -5915, 3535, 3546, 94487, 449, 1049, - 3197, 3862, 94487, 94487, 3451, 2391, 69350, 94487, 64733, -5915, - 3684, 141, 69350, 94487, 82175, -5915, 3687, -5915, 85766, 3797, - -5915, 3455, 2436, 2655, 2134, 3455, 69350, 94487, -5915, 3455, - 94487,104747, -5915, 69350, 1516, -5915, 69350, 94487, 82175, -5915, - 3692, 3633, 69350, 94487, 14814, -5915, -5915, -5915, 392, -5915, - -5915, -5915, -5915, -5915, 94487, 94487, 392, 94487, 94487, 392, - 1727, -5915, 69350, 94487, -5915, -5915, -5915, 3609, 69350, 94487, - 94487, 299, 94487, -5915, 94487, 69350, 3514, 94487, 94487, -5915, - -5915, 94487, 6715, 94487, 94487, 94487, 94487, 94487, 94487, 69350, - 94487, -5915, -5915, 1543, 1275, 1751, 1893, 918, 94487, 3807, - 94487,115520, 1806, 69350, 94487, 94487, 1806, 94487, 64733, 462, - -5915, -5915, 3610, -5915, 69350, 1516, -5915, 10088, 94487, 94487, - 94487, 3556, 3557, 307, 3651, -5915, -5915, -5915, 832, 832, - 3693, -5915, 35559, 35559, 33966, 3480, -5915, -5915, 35559, 2967, - -5915, -5915, -5915, 1112, 3977, 1112,116033, 1112, 1112, 3791, - 3547, 3548, 1112, 1112, 1112, 3775, 1112, 1112, 1112, 94487, - 3670, -5915, -5915, 3670, 836, 35559,121592, 94487, -5915, 2393, - -5915, 3497, -5915, -5915, 64733, 94487, 571, 1131, 3866, 3721, - 77045, 2357, 3854, 94487, 3545, 94487, 3991, 3596, 24, -5915, - 2357, 94487, -5915, 1364, 79097, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, 94487, -5915, -5915, 3860, 94487, 45041, 3683, -5915, - 1806, 2922, 2922, 2922, 2922, 3501, 2922, 94487, 3639, 3882, - 2357, 3505, 3885, -5915, 3301, 3886, 1934, 94487, 3738, 77045, - 3572, 3553, 3754, 4010, 2436, 1806, 3756, 3740, -5915, 60128, - -5915, 2922, 4025, 28683, 5042, 6712, 3743, 3810, -5915, -5915, - 3751, 1075, 94487, 3864, 3865, 3889, -5915, 234, -5915, 4024, - 1854, 3890, 277, -5915, 315, -5915, 2975, -5915, 94487, -5915, - 94487, 94487, 94487, 94487, 324, -5915, -5915, 315, 2975, 315, - 959, -5915, 3820, 277, 2975, 3665, 3895, 340, -5915, 370, - -5915, 3758, 959, -5915, 3776, 2436, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, 2395, -5915, 94487, -5915, 3875, 3880, 3881, - 3883, 3887, 3539, 3550, 3595, 94487, 3555, 3539, 392, 3563, - 3566, -5915, 3555, 3555, 3539, 3097, 3097, 3539, 3550, 68324, - 4027, 64733, -5915, -5915, 3636, 3561, 3910, 909, -5915, 1007, - 1463, 3817, -5915, -5915, -5915, -5915,121592, -5915, 69350, 3613, - -5915, -5915, -5915, 3783, 3567, 68324, 959, 206, -5915, 73454, - 94487,121592, 73454, 3794, 73454, 73454,121592, 94487, 94487, 2420, - -5915, 1918, -5915, 2237, 35559, 230, -5915, 18003, 2421, 35559, - 3573, 3575, -5915, 3931, -5915, -5915, -5915, -5915, -5915, -5915, - 3578, 3935, -5915, 2425, 2427, 18168, 2323,121592, 2913, 3629, - -5915, 3581, 241, 3798, 3580, 5492, 3638, 2429, 3584, 258, - -5915, 5492, 389, 3585, 9289, 3748, 3614, 2433, 3615, 3620, - -5915, 6619, 7250, 3622, 18200, 3623, 3632, 3634, 3630, 41400, - 41400, 29713, 1251, -5915, 41400, 3637, 3804, 2434, 17350, 3640, - 3652, 18580, 34497, 35559, 34497, 34497, 18750, 3648, 3654, -5915, - 3997, -5915, 2441, 64733, 3813, 18888, 2448, -5915, 35559, 64733, - 7502, 35559, -5915, 35559, -5915, 3659, -5915, -5915, 5912, 5912, - 5912, 16187, -5915, -5915, 3645, -5915, 41400, 41400, -5915, 2683, - 29713, -5915, 3972, -5915, -5915, 593, -5915, -5915, -5915, -5915, - -5915, 4176, -5915, -5915, -5915, 3859, 2323, 3544, 55486, 7863, - 35559, 305, 35559, 3663, 35559, 3724, 5912, 5912, 5912, 561, - 561, 382, 382, 382, 2426, 550, -5915, -5915, -5915, 3669, - 3673, 3579, 3676, 35559, -5915, 3702, 50728, -5915, 2446, 2452, - 94487, 2916, 3367, 4217, -5915, -5915, -5915, 3428, 114, 3428, - -5915, 323, 2944, 1106, 62167, -5915, -5915, -5915, -5915, -5915, - -5915, 85766, 21062, -5915, -5915, 3923, 3678, 2457, -5915, -5915, - 2944, -5915, -5915, 2309, 2309, 3627, -5915, 3667, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, 3664, -5915, -5915, -5915, 3688, - 3695, 45558, 3975, 3697, 44007, 91409, 3682, 290, -5915, 91409, - 91922, 91409, 91409, -5915, 3699, -5915, -5915, 1689, 35559, 4006, - -5915, -5915, -5915, 35559, -5915, -5915, 1208, 3679, 105, 801, - 2711, 2711, 2450, 809, -5915, -5915, 3742, -5915, 35559, 2594, - -5915, 2601, -5915, -5915, -5915, -5915, 3097, -5915, 3955, -5915, - -5915, -5915, 44524, 3733, 3746, 97, 48660, 3916, -5915, 94487, - 44524, -5915, 94487, 422, -5915, 3701, -5915, -5915, -5915, -5915, - -5915, -5915,118598, 2138, -5915,123089, -5915,123089, -5915, 2138, - 4169, -5915,118598, 2094, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, 69350, 69350, 3919, - 94487, 3917, 3922, 35559, 1449, -5915, 4076, 959, -5915, -5915, - 3787, -5915, 21062, -5915, -5915, -5915, -5915, -5915, 69350, 94487, - -5915, 72941, -5915, -5915,121592, -5915, -5915, 94487, 94487, -5915, - -5915, -5915,121592, -5915, -5915, -5915, 94487, 855, 3788, 3789, - 94487, -5915, 1009, 3461, 10372, 94487, 94487, 94487, 4023, -5915, - -5915, -5915, -5915, 3946, -5915, 4086, -5915,118598, -5915, 2975, - 1705, 3800, 3197, 35559, 3957, -5915, 996, 94487, 3715, 3718, - 4094, 94487, 1070, 4048, 3736, -5915, 3833, 4060, 3871, 339, - -5915, -5915, 3888, -5915, -5915, -5915, -5915, 4117, 959, 4118, - 959, 94487, 94487, 94487, 94487, 3891, -5915, -5915, -5915, -5915, - 3892, 4026, -5915, 64733, 64733, 64733, 2459, -5915, -5915, 1806, - -5915, -5915, -5915, -5915, -5915, -5915, 4070, -5915, 2464, -5915, - 1914, 92435, -5915, -5915, -5915, -5915, -5915, 4119, 69350, 94487, - 10756, 94487, 94487, 94487, 3969, 2105, 1424,121592, -5915,120095, - -5915, -5915, 2480, -5915, 3755, 94487, 3836, 69350, 3812, -5915, - -5915, -5915, 4132, 2436, 3905, 81149, 3809, 3809, 2216, -5915, - -5915, -5915, -5915, -5915, 4043, 3967, -5915, 1230, 3970, 69350, - 3834, -5915, -5915, -5915, -5915, 4147, 3869, -5915, -5915, 3870, - 1119, 3197, 3301, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, 3894, -5915, -5915, -5915, -5915, -5915, -5915, 1653, - 1653, -5915, -5915, -5915, 1653, 1779, 420, 1120, 3197, -5915, - 407, 428, 3872, -5915, 3873, -5915, -5915, -5915, 4046, 4055, - 4058, 3876, 3878, 3933, 3879, 3893, 3938, -5915, 3897, 3939, - 3899, 3941, 3900, 4184, 959,121592, 4032, 1806, 3929, 4175, - 959, -5915, -5915, 3901, -5915, 3902, -5915, 2492, 4287, 4288, - -5915, 94487, -5915, 512, 1232, 3197, -5915, 3903, -5915, 69350, - 94487, -5915, -5915, -5915, 35559, 3799, 3801, 3802, 21062, 21062, - 35559, -5915, -5915, 21062, 3811, -5915, -5915, -5915, -5915,121592, - -5915, 94487, 4112, -5915, -5915, 1112, 94487, 94487, -5915, -5915, - -5915, 94487, -5915, -5915, -5915, 4127, -5915, 549, 549, -5915, - -5915, 4152, 9452, 3816, 458, -5915, 64733, 52294, 2476, 217, - 2021, -5915, 72941, 94487, 72941, -5915, 1131, 4040, 94487, 94487, - 94487, 3818, 3819, -5915, -5915, -5915, -5915, 69350, 1046, 69350, - 2944, -5915, -5915, 3909, -5915, 94487, 2436, 4357, 4188, 3514, - -5915, 4320, 3416, 1096, 2033, 534, 3009, 4260, 2684, 35559, - 446, -5915, -5915, 1689, 94487, 3553, -5915, -5915, -5915, -5915, - 1806, -5915, 3837, 3835, -5915, 94487, 4209, 94487, 94487, 94487, - 94487, 3613, 3846, 94487, 3847,121592, 94487, 2418, 3198, 4347, - 4228, 2412, 3572, 3940, 4233, 85766, 3867, 2499, -5915, -5915, - 1075, -5915, 2500, 219, -5915, 1806, 72941,119097, 4220, -5915, - 346, 6712, -5915, -5915, 346, 1156, 94487, -5915, -5915, -5915, - -5915, 4090, 2200, -5915, 4206, -5915, -5915, 2412, -5915,121592, - 3863, -5915, 2505, -5915, -5915, -5915, 340, 3925, 959, 3927, - 959, -5915, -5915, -5915, -5915, 94487, -5915, 94487, 67811, -5915, - -5915, 94487, -5915, 4244, -5915, -5915, 4013, 4016, 4017, 4019, - 4020, 94487, 3539, -5915, 3904, 94487, 94487, 69350, 1747, -5915, - -5915, 69350, 475, -5915, 970, -5915, 85766, 4011, -5915, -5915, - -5915, -5915, 4256, 4257, -5915, -5915, -5915, 328, -5915, 80123, - 477, -5915, 69350, 4190, 4191, 4192, 4193, 392, 4194, 4195, - 4196, 4198, 4199, -5915, -5915, -5915, 3896, 18928, 35559, -5915, - 4278,121592, -5915, 9543, -5915, -5915, 35559, -5915, 35559, -5915, - -5915, 4197, -5915, -5915, 3961, 3962, 3906, 3629, 3748, -5915, - 4121, 4123, 35559, 3748, 4370, 396, 35559, 35559, 35559, -5915, - -5915, 4124, 4129, 35559, 2323, 2323, 35559, -5915, 3911, 35559, - -5915, -5915, -5915, -5915, 2527, 35559, -5915, 35559, -5915, -5915, - 26611, 4426, 4426, 3907,121592, 41400, 41400, 41400, 41400, 1458, - 3068, 41400, 41400, 41400, 41400, 41400, 41400, 41400, 41400, 41400, - 41400, 572, -5915, 4120, 35559, 35559, 35028, -5915, -5915,121592, - 3912, 3648, 3914, 3915, 35559, -5915, -5915, -5915, 2507, 42973, - 3920, 64733, -5915, 35559, 17597, 2513, 3956, 19283, 1689, 9957, - 2728, 35559, 1951, 2003, 35559, 2536, 35559, -5915, -5915, -5915, - -5915, 4263, -5915, -5915, -5915, -5915, -5915, -5915, 4154, 2323, - -5915, -5915, 35559, 3928, 4499, 41400, 41400, 4640, 29713, -5915, - 5874, 35559, 29713, -5915, 3693, -5915, 27148, 3913, 35559,118085, - -5915, -5915, 1224, 1224, 1224, 1224, -5915, 94487, 94487, 94487, - 4006, 3930, 4006, 220, 3932, -5915, -5915, -5915, -5915, 2412, - -5915, 3924, -5915, -5915, -5915, -5915, -5915, 35559, 91409, 91922, - 91409, 91409, 3918, 43490, 27666, 290, 3936, 94487, -5915, -5915, - 3942, 44524, 4230, 4136, -5915, 44524, 4136, 2205, 4136, 4232, - 4029, 51245, -5915, -5915, 3943, -5915, -5915, 4159, -5915, 2173, - 21062, 4418, 4289, -5915, 3945, -5915, 3679, 1696, -5915, -5915, - -5915, 1269, -5915, 4037, -5915, -5915, -5915, 3682, 37152, 4107, - -5915, -5915, -5915, 4007, 2550, -5915, -5915, 4396, 4107, -5915, - 2449, -5915, 2552, 50211, 3733, 35559, 1689, 2556, 2181, -5915, - -5915,118598, -5915, 4030, 2975, 2975, 2343, 3539, 4317, 2343, - 10239, -5915, 2250, 94487, -5915, 94487, -5915, -5915, -5915, 4452, - 4018, 4021, 4248, -5915, 2837, -5915, -5915, 69350, 94487, -5915, - -5915, -5915, 521, 1252, 3197, -5915, 4045, -5915, -5915, 4280, - 94487, -5915, 4437, 4059, 94487, 11132, 4340, 4031, -5915, -5915, - 46075, 94487, 94487, -5915, 94487, -5915, 94487, 94487, 2250, 92948, - -5915, 4413, -5915, 2250, 4080, 4321, 345, 3198, 431, 6440, - -5915, 1919, -5915, -5915, 4044, -5915, 94487, -5915, 94487, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, 4110, -5915, -5915, -5915, - -5915, 65246, -5915, -5915, 94487, -5915, 64733, 52294, 64733, -5915, - -5915, -5915, 94487, -5915, 1780, 529, 1367, 3197, -5915, 4063, - -5915, 4345, 4065, 4067, 4128, 1346, 298, 4069, 4071, 4130, - 3971, 3985, 3988, -5915, 64733, 52826, 4158, 94487, 2975, 3992, - 4036, 94487, 3809, 93461, -5915, 3994, -5915, -5915, 3809, 316, - 2729, -5915, -5915, -5915, 1806, 2975, 1806, 94487, 94487, 94487, - 94487, 299, -5915, -5915, -5915, 4472, 4097, 94487, 94487, 94487, - 94487, -5915, 4053, -5915, -5915, -5915, 94487, 94487, 4364, 287, - 2374, 69350, 94487, 94487, 69350, 94487, 94487, 94487, 94487, 94487, - 94487, 94487, 4229, -5915, 4460, 4384, 2098, 4430, 4088, 94487, - -5915, 94487, 1806, -5915, 3461, 94487, 94487, 94487, 94487, -5915, - -5915, -5915, -5915, -5915, 3693, -5915, 4012, 4322, 1112, -5915, - 4327, 4328, 4329, 1112, -5915, -5915, 2021, -5915, 264, 94487, - -5915, 2561, 94487, -5915, -5915, -5915, 3945, 2675, 2694, -5915, - -5915, -5915, -5915, -5915, -5915, 4033, 94487, 94487, 41400, -5915, - -5915, 501, 1925, 1775, -5915, 4314, 94487, 3276, -5915, -5915, - -5915, 1368, 94487, -5915, -5915, -5915, -5915, 4034, -5915, 988, - 3846, -5915, 4346, 77045, 2975, 69350, 69350, 2975, -5915,121592, - 4035, 3553, -5915, 989, 4109, -5915, 69350, 1096,116546, 3366, - 4062, 4250, 11264, 44524, 45041, 1653, -5915, 4028, 4022, -5915, - -5915, 94487, 4040, 67811, 2573, 3301, 4523, 1378, 2402, -5915, - 77558, 4235, 3846, 4346, -5915, 3198, 4261, 4253, -5915, 2412, - 94487, 3613, 3553, 1806, 94487, 4031, 52294, -5915, 4566, 2472, - -5915,118598, 35559, 35559, -5915, 4038, -5915, 4047, 6712, -5915, - 4115, 4039, 4530, 35559, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, 4133, 4049, 94487, 94487, 1075, 94487, -5915, 4050, - 3890, -5915, 3890, -5915, 94487, -5915, 94487, -5915, 959, -5915, - 4186, 959, 94487, 94487, 94487, 94487, 94487, 94487, 3539, 392, - 3566, -5915, -5915, 4392, 68324, 4399, -5915, 64733, -5915, -5915, - -5915, -5915, -5915, 2575, 94487, -5915, -5915, -5915, 4475, 4411, - 959, 457, 1126, 1126, 1126, 1126, 4366, 1126, 1126, 1126, - 1126, 1126, -5915, 35559, 21062, -5915, 4072, -5915, 21062, 21062, - 4447, 4355, 4358, -5915, -5915, 4073, 4301, 4304, -5915, 4077, - 35559, 3748, 19510, -5915, -5915, 4306, 4308, -5915, 3748, 3748, - 19510, -5915, 19510, 4081, 11546, 19638, -5915, 2577, 35559, -5915, - 1121, 1121, 1121, 3279, 4429, -5915, 2927, 1121, 1121, 1121, - 398, 398, 272, 272, 272, 4426, 572, 19715, 20059, 20307, - 4082, -5915, -5915, -5915, 3648, -5915, 37683, 792, 4561, 42456, - -5915, -5915, -5915, 4134, 4135, 4084, -5915, 35559, 38214, 4083, - 123588, 4302, -5915, -5915, 1178, 35559, 35559, 6376, -5915, 16714, - 35559, -5915, -5915, 6376, 552, 35559, 2481, 3294, 35559, 2583, - 35559, 6162, 11882, 4091, -5915, 2590, 35559, 11930, 4296, -5915, - 94487, 94487, 94487, 94487, -5915, -5915, -5915, 4289, 2747, 4289, - 1806, 4092, -5915, 4093, -5915, -5915, -5915, -5915, 65759, 4096, - 3813, 91409, 4100, 94487, 290, 44524, -5915, -5915, 1674, -5915, - 44524, 4402, -5915, 44524, 73454, -5915, 94487, 4101, 94487, -5915, - 1852, 35559, 4146, 55486, -5915, -5915, -5915, -5915, 4204, -5915, - 4335, 21062, 4148, -5915, 2412, 2632, 94487, 1689, 725, -5915, - 35559, 4114, 94487, -5915, 4107, 21062, -5915, 4200, 2591, -5915, - -5915, 4339, -5915, -5915, -5915, -5915, -5915, 4205, 79097, 4466, - -5915, -5915, -5915, 1975, 4445, 280, -5915, 959, -5915,121592, - 94487, 94487, 94487, 3144, -5915, -5915, 94487, 94487, 94487, 94487, - -5915, -5915, 69350, 94487, -5915, -5915, 94487, 35559, 2592, -5915, - 4162, 4581, 218, 4122, -5915, 2250, 1695, 2250, -5915, 1695, - -5915, -5915, 93974, -5915, 4040, 299, 501, 4464, 4467, 4367, - -5915, 392, -5915, 4626, 501, 4368, 299, -5915, -5915, -5915, - -5915, 3360, -5915,121592, 959, 959, -5915, -5915, -5915, -5915, - -5915, 4141, -5915, 4609, 4231, 94487, 94487, 94487, 94487, 94487, - 69350, 94487, 94487, 2944, 2944,121592, 4131, -5915, 2944, 2944, - 4137, -5915, 69350, 94487, 94487, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, 4224, -5915, 35559, 4601, - -5915, -5915, -5915, -5915, -5915, 35559, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, -5915, 69350, 94487, 4227, - -5915, 4238, -5915, 229, -5915, -5915, 94487, 94487, 94487, 94487, - 4518, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, 4517, 94487, -5915, -5915, 1806, 1806,121592, 959, - 959, -5915, -5915, -5915, 4239, -5915, -5915, 4142, 4455, 1112, - -5915, 1112, 1112, 1112, -5915, 4153, -5915, 2021, 4563, -5915, - 2250, 2035, 4511, -5915, 35559, -5915, 2161, 3279, -5915, 4573, - 4656, -5915, -5915, -5915, -5915, 4406, 3514, 2436, 3514, -5915, - -5915, 73454, 1500, -5915, 4496, 571, 64733, 4395, 77045, 407, - 1053, 4164, 4305, -5915, 2975, 2975, 4240, 94487, 4664, -5915, - -5915, -5915, -5915, -5915, -5915, 69350, 3812, -5915, 4415, 1781, - 4532, 94487, 45041, -5915, 3682, -5915, -5915, -5915, 1806, -5915, - -5915, 4311, 3553, -5915, 2168, 94487, 4408, 77045, 3613, 2596, - -5915, -5915, -5915, 4221, 4657, 3572, -5915, 407, 4235, -5915, - -5915, 4633, 4281, 4236, 4682, -5915, 4281, 4543, 4412, 4187, - -5915, 3867, -5915, 94487, -5915, 21062, 21062, 1806,124087, 346, - 121592, 4553, -5915, 21062, 94487, 967, 4201, 4365, -5915, 4521, - 959, 2603, -5915, 959, 959, -5915, 94487, -5915, 3539, 3539, - 3539, 3539, 3539, -5915, 4417, -5915, -5915, -5915, -5915, 4512, - -5915, 68324, -5915, 959, -5915, -5915, -5915, -5915, -5915, -5915, - 1126, -5915, -5915, -5915, -5915, -5915, 21062, -5915, 94487, -5915, - -5915, -5915, -5915, -5915, -5915, 3406, 4207, 35559, 1433, -5915, - -5915, 4208, 4210, 3748, 3748, -5915, -5915, 35559, -5915, 12277, - 41400, 4558, -5915, 35559, 35559, 35559, -5915, 4202, 2607, 2613, - -5915, -5915, 792, -5915, 4561, -5915, -5915, -5915, 12586, 4265, - 21062, 4331, 4212, 962, 6376, 6376, 16714, 6376, 35559, 35559, - 6376, -5915, 6376, 35559, -5915, -5915, -5915, 12903, -5915, 4687, - 3693, -5915, -5915, -5915, -5915, 4146, -5915, -5915, 4146, -5915, - 4360, 35559, -5915, 2614, 4719, 40338, 4677, -5915, 94487, 2621, - -5915, 35559, 4223, -5915, -5915, 44524, 1674, 4225, 2626, 94487, - 2634,121592, 38745, 21062, 94487, 3693, 4226, -5915, 94487, 4234, - 32373, -5915, 97, -5915, -5915, 4668, 46075, 4629, 20080, 35559, - -5915, -5915, -5915, -5915, -5915, 68324, 4456, 68324, 2250, -5915, - -5915, -5915, -5915, -5915, -5915, -5915, 4237, -5915, -5915, -5915, - -5915, 4319, -5915, -5915, 1399, 3589, 2250, -5915, 13306, 4559, - 46075, 56550, 94487, -5915, 94487, -5915,117059, 4242, 4446, 4243, - 4245, -5915, -5915, -5915, -5915, 4731, 4613, 4614, -5915, -5915, - 4241, -5915, -5915, -5915, 4460, -5915, -5915, 52294, 69350, 94487, - -5915, 4325, -5915, -5915, -5915, -5915, -5915, -5915, 48143, 55486, - -5915, 1346, 4247, 4252, 298, -5915, -5915, -5915, 94487, 13465, - 4258, 13510, 1432, 3589, 94487, 94487, 4259, 4264, 4268, 1969, - 1509, 2070, 3539, 4603, 94487, -5915, -5915, -5915, 4460, -5915, - -5915, 94487, -5915, 1112, -5915, -5915, -5915, -5915, 64733, -5915, - 2704, 4153, 1806, 73454, 4738, 4738, 14101, 4486, -5915, -5915, - 472, 4577, -5915, 4323, 4527, 4323, 4269, 94487, 1368, 4270, - 2638, -5915, 94487, 4262, 4393, 2221, 2221, 94487, 94487, 94487, - 2640, 2412, 2975, 4036, 1096, 4643, 77045, 4695, 4040, 453, - -5915, 94487, 4771, 94487, 3613, 3846, 94487, 4276, -5915, -5915, - 77558, 4500, 2476, 94487, 2418, 4235, 3572, 1107, 94487, -5915, - 1129, -5915, 2412, -5915, 94487, 85766, 46075, 4637, -5915,123089, - -5915, 2646, -5915, -5915, -5915, 4359, 21941, 3428, 4401, 4404, - 4283, 2066, 4649, 94487, 1339, -5915, -5915, -5915, -5915, -5915, - -5915, 94487, 477, -5915, -5915, -5915, -5915, 4286, -5915, 4789, - 35559, 999, -5915, -5915, -5915, -5915, -5915, 4519, -5915, 4291, - -5915, -5915, 2602, 1433, 20624, -5915, 3655, 41400, 21062, 21062, - 21062, 35559, -5915, 35559, -5915, -5915, -5915, -5915, 1132, -5915, - -5915, 4624, 4294, 6376, 6376, 6376, -5915, 35559, 249, -5915, - -5915, 1497, 4720, 20933, 3699, 65759, 4297, -5915, 41400, 2648, - -5915, 3179, 94487, 2652, -5915, 21062, 94487, -5915, -5915, 35559, - -5915, 2662, -5915, 4300, 84, 4303, 25537, 4298, -5915, -5915, - -5915, -5915, -5915, 21062, 4309, -5915, 4803, 1711, -5915, -5915, - 2211, 3094, 4372, 94487, 2663, -5915, 819, 269, 798, -5915, - 4809, 4809, 21062, 1747, 2343, 412, -5915, 94487, 4407, -5915, - 4581, 4310, 3514, -5915, 4312, -5915, -5915, 463, 3198, 94487, - 4489, -5915, 4559, 4559, 2476, 4659, -5915, -5915, 35559, 4386, - -5915, 1461, 3589, 94487,121592, -5915, 150, 4685, -5915,121592, - 121592, -5915, -5915, -5915, 35559, -5915, 4423, -5915, -5915, -5915, - 35559, 35559, 76019, -5915, -5915, 94487, 94487, 94487, 94487, 94487, - -5915, 959, -5915, -5915, 2668, -5915, 47109, -5915, -5915, 3414, - 1806, 3414, 228, -5915, -5915, 3414, 3414, -5915, 3428, -5915, - 4738, 432, -5915, -5915, 4406, 4326, 35559, -5915, 4661, -5915, - 1050, 4554, -5915, 4332, -5915, 73454, 4866, -5915, 64733, 3846, - 4346, 94487, -5915, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -5915, 2669, 4040, 4706, 3553, 4236, -5915, - 94487, 4375, -5915, 44524, 4040, 2412, 2402, -5915, 4235, 3846, - 4346, -5915, -5915, 4337, 4253, 3572, 2418, 4488, -5915, 4491, - -5915, 4807, 4562, 4808, 3613, -5915, 4031, 2681, 94487, -5915, - -5915, 6712,124087,121592, -5915, -5915, -5915, 4342, 4747, 4397, - 4398, -5915, -5915, -5915, 2066, -5915, 1493, 4744, 4403, -5915, - 4409, 94487, -5915, -5915, 4040, 959, 35559, 64733, 21062, -5915, - -5915, 4748, -5915, 292, 254, 975, 4584, 4362, 35559, 3655, - 2687, 2696, 4419, -5915, -5915, -5915, 3648, 39276, 39276, 39276, - 4369, 4732, 4734, 94487, -5915, 94487, 4572, -5915, -5915, 94487, - 3279, 4371, 40338, 64733, 2706, -5915,120594, -5915, 2707, 2708, - -5915, 35559, 4374, 35559, -5915, 38745, 94487, 4376, 3487, -5915, - -5915, 2725, -5915, 4870, 2412, -5915, 3428, 46075, -5915, 4510, - -5915, 4650, -5915, -5915, 35559, 4471, 4473, -5915, 4740, -5915, - -5915, 94487, -5915, 94487, 4323, 55486, 3679, 463, -5915, 94487, - 3514, 3514, 4326, 14633, 35559, -5915, 4481, -5915, -5915, 2727, - 1582, -5915, -5915, 2739, 2751, 14730, 94487, 2760, 2761, -5915, - 2766, 2944, 3550, 2070, 3550, -5915, 3539, -5915, -5915, 64733, - -5915, -5915, 68837, -5915, -5915, -5915, 1806, -5915, 1806, 4622, - 58089, 58602, 1806, 1806, -5915, -5915, -5915, -5915, -5915, 3301, - -5915, 15412, 4483, -5915, -5915, -5915, 524, -5915, 4612, 4615, - -5915, 4388, -5915, 2767, -5915, 407, 4526, 4040, -5915, -5915, - 94487, 4889, 4892, -5915, 1795, 94487, 3682, -5915, 4236, 3613, - 3572, 407, 4235, 2476, 46592, 4281, 2418, 4253, -5915, -5915, - 4618, -5915, 4620, -5915, 4405, 4735, -5915, 2176, 346, -5915, - -5915, -5915, 1536, 4754, 4755, -5915, -5915, -5915, 3414, -5915, - 1981, 4410, 4780, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - 4442, 293, 321, -5915, 4443, -5915, 4587, 4592, 1433, 399, - -5915, 21062, -5915, -5915, -5915, 40869, 4564, 1358, 17433, 4796, - -5915, 4796, 4796, -5915, 4894, 4895, 1464, -5915, 4875, 2780, - 42456, -5915, -5915, -5915, 94487, 4634, 1578, 4919, 4589, 2787, - 38745, 2788, -5915, -5915, -5915, -5915, -5915, 2211, 94487, -5915, - -5915, -5915, 50211, 4900, 21062, 527, 1820, 68324, 3589, 2793, - 3809, 4424, -5915, 3679, 4428, 4323, 4323, -5915, -5915, 21062, - 94487, 73454, 4906, -5915, -5915, -5915, -5915, 3589, 4524, -5915, - -5915, 76019, -5915, 94487, -5915, -5915, 2801, -5915, -5915, -5915, - 59115, -5915, 4201, -5915, 4201, -5915, -5915, 1045, 1471, 94487, - 1078, 1078, 4842, -5915, 4498, -5915, 4436, -5915, 4970, 4575, - 94487, -5915, -5915, 1346, 2412, 77045, 4040, -5915, -5915, 2418, - 4235, 3572, 35559, 2803, -5915, 4581, 218, -5915, 4253, 4281, - -5915, -5915, 46075, 4440, 3276, 4836, -5915, -5915, -5915, 2548, - 73454, 73454, 94487, -5915, -5915, -5915, 35559, 1368, -5915, 4484, - -5915, 4485, -5915, -5915, 4670, 4673, 4448, 1433, -5915, 4949, - -5915, -5915, -5915, -5915, -5915, 361, -5915, -5915, -5915, 94487, - 94487, 94487, 4451, -5915, 3813, -5915, -5915, 41400, 41400, 4690, - -5915, 41400, 1578, -5915, 94487, -5915, 4457, -5915, -5915, 2805, - -5915, -5915, -5915, 1630, 2087, -5915, 4697, 4591, -5915, -5915, - 4698, 438, -5915, 412, -5915, -5915, -5915, -5915, -5915, 94487, - 4527, -5915, -5915, 3589, -5915, 94487, -5915, 4459, -5915, -5915, - -5915, 68837, -5915, 4201, -5915, -5915, -5915, -5915, -5915, -5915, - 4972, -5915, 1418, -5915, -5915, -5915, -5915, 94487, 4040, 4131, - 4236, -5915, 4253, 3572, 2418, 15546, -5915, 46592, 94487, 94487, - 4281, -5915, 2807, 46075, 3553, 4616, -5915, 2404, -5915, -5915, - -5915, -5915, -5915, -5915, -5915, 948, 4458, 4462, -5915, -5915, - 15940, 73454, -5915, -5915, 4608, 4610, -5915, 4696, 39807, 4623, - -5915, 4691, -5915, 1515, 1557, 2063,117572, 4924, 3279, 3279, - -5915, 3279, -5915, -5915, 35559, -5915, -5915, -5915, -5915, -5915, - 50211, -5915, 4533, 97, 4477, 94487, -5915, -5915, 2250, 4122, - 4554, 2250, 2250, -5915, -5915, 35559, -5915, -5915, 2436, 2436, - 4040, -5915, -5915, 4281, 2418, 4253, 4581, -5915, -5915, -5915, - -5915, 4735, -5915, 2819, 4281, 4403, 2569, -5915, -5915, 2686, - 2771, 4552, 4837, -5915, 4480, 4594, 4597, 4868, -5915, -5915, - -5915, 94487, 94487, 66272, 94487, 666, 2823, -5915,121093, 94487, - 16572, 4492, -5915, 4546, 35559, 2827, 4497, -5915, 2834, -5915, - -5915, -5915, -5915, 4253, 4281, 94487, 3276, -5915, 46075, 3428, - 4876, -5915, 2404, 4621, 4627, 64220, -5915, -5915, -5915, -5915, - -5915, 1968, 358, 4905, -5915, -5915, 1806, 1433,117572, 4718, - 211, 2839, -5915, 4560, 2840, 118, -5915, 2250, -5915, 4281, - -5915, -5915, 3553, -5915, -5915, 1368, -5915, 4544, 4551, -5915, - 2846, -5915, -5915, -5915, -5915, 35559, 66272, 1201, 4508, -5915, - -5915, 4712, 1806, 2602, 4712, -5915, -5915, -5915, 97, -5915, - -5915, 4281, 73454, 4867, 4869, -5915, 64220, 832, 4578, 94487, - 4514, -5915, 1433, -5915, 975, 2602, 4576, 3428, 4520, 73454, - 73454, -5915, 4522, 94487, 4977,117572, -5915, 1433, 975, 4560, - -5915, 64220, -5915, -5915, 2747, -5915, 4525, 2847, -5915, 1433, - -5915, 2848,117572, -5915, -5915, -5915, 2870, -5915 + 11942, 1673, 17148, -5909, -5909, 1673, 73189, -5909, 83449, 32, + 1337, 1410, 228, 21922, 83962, 94222, 669, 437, 8827, 1673, + 94222, 1855, 62928, 78832, 962, 94222, 1583, 1171, 62928, 94222, + 94735, 1528, 1762, 1675, 95248, 84475, 77806, 1434, 94222, 2041, + 453, 95761, 84988, 1772, 85501, 1171, 57311, 432, 1752, 96274, + 94222,121327, 453, 86014, 86014, 86014, 2339, 2412, 1889, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, 35, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, 2160, -5909, 1004, + 2668, 88, 847, 1984, -5909, -5909, 2584, 73189, 94222, 94222, + 94222, 2295, 94222, 2205, 94222, 259, 73189, 69085, 86527, 2376, + 2201, 53093, 96787, -5909, 73189, 94222, 66520, 73189, 94222, 94222, + 97300, 94222, 97813, 94222, 1186, 81397, 94222, 2281, 94222, 94222, + 67033, 98326, 2511, 1382, 299, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, 2254, 2066, -5909, 335, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, 63441, 94222, 10220, 1583, 2584, + -5909, 2339, 94222, 2557, 94222, 2299, 98839, 94222, -5909, 94222, + 2358, 99352, 575, 2046, 69085, 2336, 53625, 2447, 94222, 94222, + 69085, 99865,100378,100891, 94222, 94222, -5909, -5909, 2455, 94222, + -5909, 2588, 69598, 1507, 2603, 2784, 2699, 1954, -5909, 87040, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, 72676, 437, + -5909, -5909, 2617, 73702, 2714, -5909, -5909,101404,121826, 2440, + -5909, 596, 74215, 70111, 2834, 2463, 54157, 2878, -5909, 74728, + -5909, 70624, 75241, -5909, -5909, -5909, -5909, -5909,101917, -5909, + 102430, 2563, 2714, -5909,122325, 71137, -5909, 2728,102943,103456, + 103969, 2584, 2449, 1616, 1786, 47361, -5909, -5909, -5909, 2545, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, 401, + 2184, 312, 256, 322, -5909, -5909, 258, 320, 328, 401, + 3002, 3002, -5909, 94222, -5909, -5909, 2184, 742, 2590, 2501, + 2501, 2501, 2730, 1395, -5909, 2501, 2656, -5909, -5909, -5909, + -5909, 85501, -5909, 2530, 1583, 2533, 3017, 2605, 63441, 980, + 94222, -5909, -5909, 3038, 2583, 2880, -5909, 2574, -5909, -5909, + -5909, 2805, 2814, 159, 739, 1583, 273, -5909, 2953, -5909, + 2828, 32108, 32108, 1583, 87553,104482, 241, 72163, 529, 88066, + 2631, 1089, 2832, -5909, -5909, -5909, 950, -5909, 3103, 2644, + 2929, -5909, 1382, 49429, -5909, -5909, 2654, 2066, 85501, -5909, + -5909, -5909, 63441, 2994, 35294, 94222, 2637, -5909, 2669, 2637, + -5909, -5909, 2743, -5909, 2743, 2743, 2703, 2703, 2873, 2704, + -5909, -5909, -5909, -5909, 2067, 2743, 2703, -5909,123323, -5909, + 2051, 2053, -5909, -5909, 3217, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, 2746, -5909, 1066, -5909, 2391, -5909, -5909, + -5909, 32108, -5909, -5909, -5909, -5909, -5909, -5909, -5909, 2758, + 2770, 88, -5909, 18065, 63441, 85501, 1526, 1526, 3211, 1526, + 2092, 2198, -5909, 2974, -5909, 3136, 3098, 3117, 85501, 2817, + 981, -5909, 1913, 2829, 1806, 2826, 1917, 1393, -5909, 1348, + 94222, 266, 2874, 88579, 6811, 2853, 2066, 2858, -5909, -5909, + -5909, -5909, 3032, 1573, -5909, -5909, -5909, -5909, 3204, 3250, + 11610, 390, 89092, -5909, -5909, -5909, -5909, 94222, 94222, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, 2877, 186, + -5909, -5909, 2871, 3256, 3108, 7048, 1216, 3218, 3053, 1420, + 7130, 3112, 1561, 3266, 10718, 1909, 3268, 1976, 2134, 89605, + 94222, 3225, 3270, 9378, 1776, 998, 3120, 311, 3218, 3259, + 3064, 1420, 3275, 3444, 94222, -5909, 3182, 3313, 148, -5909, + 218, -5909, 24735, 35294, 56798, -5909, 2066, -5909, 3, -5909, + -5909, 62415, -5909, 2965, 3130, 82, 73189, 2906, 94222, 94222, + -5909,121327, 73189, -5909, 3144, 54689, 73189, -5909, 73189, -5909, + -5909, 3285,121327, 94222, 94222, -5909, 94222, -5909, -5909, 2910, + -5909, -5909, -5909, -5909, -5909, 2501, 94222, 3386,121327, 3166, + 174, 1988, 3422, 94222, 3168, 1988, 2966,104995, -5909, -5909, + 1988, -5909, -5909, -5909, 94222, 94222, 2926, 2030, 3154, 865, + 1988, 3172, 3418, 3419, 3175, 3014, 3180, 2669, -5909, 3385, + 3153, 1082, 269, 2325, 1988, 2996,105508,106021, 94222, 3007, + 94222, 3399, 73189, 3046, 73189, 73189, 94222, 3321, 94222, -5909, + 3151, -5909, -5909, 1505, -5909, -5909, -5909, -5909, 3345, -5909, + 251, 3347, 2973, 3352, 1958, 3356, 254, -5909, -5909, 3019, + -5909, 3360, 264, -5909, 3361, -5909, 2982,106534, -5909,107047, + 107560, 3368, 291, -5909, 69085, 3369, 264, 3370, 2982, 3372, + 264, 3373, 645, 3376, -5909, 1095, 3365, 3380, 254, 3381, + 2369, 2982, -5909, 3382, 337, -5909, 3383, 348, -5909, 3387, + 3233, -5909, 35294, -5909, 3109, -5909, 1752, 1332, 1786, 2184, + -5909, 94222, 2184, 94222, 2184, 94222, 2184, 94222, 2184, 94222, + 94222, 94222, 2184, -5909, -5909, -5909, 94222, 3010, 94222, -5909, + 94222, -5909, -5909, -5909, 79858, 69085, 80371, -5909, 94222, -5909, + 163, 1583, -5909,121327, 3509, 69085, 3399, 2105, -5909, -5909, + 3399, -5909, -5909, 3399, 3399, -5909, -5909, -5909, 3297, 94222, + 3378, 79858, 69085, 3388, -5909,108073, -5909, 72676, 3242, 3022, + -5909, -5909, -5909, -5909, -5909, 2307, 2546, 289, 2601, 35294, + 3023, 289, 289, 3025, 3390, -5909, -5909, -5909, 343, 3037, + 3039, -5909, 296, 296, -5909, 3042, 3043, -5909, 358, 3044, + 3047, 2613, 2681, 359, 360, 3051, 3054, 3055, 3056, 3058, + 3059, 3060, 3061, 3062, 3063, 3066, 3067, 3070, 2067, 289, + 3071, 35294, -5909, 3072, 296, 3073, 3075, 3077, 2694, 3078, + -5909, 2702, 3079, -5909, 271, 356, 3080, 3082, -5909, 3255, + -5909, 367, 3083, 3084, 3085, 3086, 3087, 3089, 3090, 3091, + 35294, 35294, 35294, -5909, 29448, 2066, 2709, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, 371, -5909, 51497, -5909, 3099, + -5909, -5909, 3252, -5909, -5909, 35294, -5909, -5909, 3461, 783, + -5909, 374, -5909, -5909, -5909, 2066, 3406, 3092, -5909, -5909, + 393, 3097, -5909, 2306, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, 71650, 3592, -5909, 1065, 1583, 218, + 2015, 3528, 60363, 60876, -5909, -5909, 3391, -5909, 94222, -5909, + -5909, 2066, 221, 2178, -5909, 2545, 20892, 2235, 2637, 94222, + 94222, 3600, -5909, 3104, -5909, -5909, 35294, -5909, -5909, -5909, + 3002, -5909, 2743, 2743, -5909, -5909, 3602, 3200, 3201, 3002, + -5909, 3002, -5909, 3115, 3116, 3002, 3203, 3207, 3208, -5909, + 3121, 3210, 3002, -5909, -5909, 64468, 2443, -5909, 3474, 234, + -5909, -5909, -5909, 2243, -5909, 3119, -5909, 2669, -5909, -5909, + 88, 88, 35294, 88, 1476, 1716, 32639, 35825, 3490, 3358, + 1761, 1713, 3495, -5909, 3364, 2092, 2198, 85501, 94222, 85501, + 108586, 3267, 35294, -5909, 3603, 3224, 3226, 3286, 59363, -5909, + 3227, 3193, 3230, 3290, 3143, 3234, 3235, 3294, -5909, 3431, + -5909, -5909, 3238, 3609, 3241,109099, -5909, -5909, 1375, -5909, + -5909, -5909, 1375, -5909, 3164, 1483, 1164, 1427, 3243, 326, + 284, 3601, -5909, 1815, -5909, -5909, 3302, -5909, 12181, 94222, + 3537, 8152, 3389, 390, 3305, -5909, -5909, -5909, 3448, 3254, + 94222, 3257, 3408, 390, 369,109612, -5909, -5909, 94222, -5909, + -5909, -5909, -5909, 4982, 3576, 27919, -5909, 2231, 3260, 3237, + 3272, 94222, 76267, 2397, 3384, 3401, 1598, 2514, 565, 3327, + 94222, 2057, 3410, 94222, 3181, 3271, 3274, 3521, 3184, 728, + 3631, 3185, -5909, -5909, -5909, 3596, -5909, 2482, 2711, 3400, + -5909, 3527, 3572, 12354, 3258, 3261,119331, -5909, 3287, 56, + 55221, 94222, 94222, 3291, 3292,110125, 4982, 3610, 80884, 80884, + 3293, 3295, 48912, 3628, 2012, 3296, -5909, -5909, -5909, 2012, + 3298, 3299,110638, 4982, 3617, 94222, 3301, 3303, 94222,123323, + 390, -5909, 3691, -5909, 390, 390, 2240, 3693, 3308, 394, + 3476, 763, 1988, -5909, 3185, 2624, -5909, 3312, 3314, 1041, + -5909, 3447, 94222, 3315, 3316, 141, 3412, 1583, -5909, 3413, + -5909, 3319, 3415, 3323, 738, 2926, -5909, -5909, 55, 3334, + 85501, 3446, 3450, 2057, 333, 778, 3185, -5909, 3330, 3331, + 3184, 3184, 94222, 94222, 94222, 94222, 94222, 281, 3728, 287, + 3336, 277, 731, 3245, -5909, 2012, 67546, 3338, -5909, 2012, + 94222, 315, 911, 3185, 1891, 2163, -5909, -5909, -5909, 1382, + -5909, 35294, 35294, 35294, 3253, -5909, 2133, 20892, 838, -5909, + 2354, 7751, 3246, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + 94222, 63441, -5909, -5909, -5909, -5909, -5909, -5909, -5909, 94222, + -5909, 94222, 3557,121327, 3564, 3481, 3568, 3569, 390, 94222, + 94222, 3570, 3574, 3575,121327, 3585, 3586, 3588, 3487, 3366, + 245, 3362, 3282, 3781, 3663, 94222, 64468, -5909, 1375, -5909, + 121327, 3512, 3665, -5909, 94222, 3533, 107, -5909, 3707, 3355, + -5909, -5909, 117, 94222, 79345, 2926, -5909, -5909, 3671, 69085, + 1750, 3672, 1583, 3350, 3673, 3525, 1583, 69085, 3578, 94222, + 94222, 94222, 94222, 194, -5909, 67546, 3543, -5909, 94222, 3546, + 2624, 3547, 3803, 861, 2501,111151, 3670, -5909,111664, 3309, + 94222, 3317, 3317, 3806,121327, 1545, 3604, -5909, -5909, 2529, + -5909, 3457, -5909, 73189, -5909, -5909, 73189, -5909, -5909,121327, + 94222, 3324,121327,121327, -5909, -5909, 73189, 73189, -5909, 69085, + 69085, 3694, 337, 3697, 3394, 3699, 3397, 55221, 55221, -5909, + 349, 73189, -5909, 69085, 73189, -5909, 94222, -5909, 94222, -5909, + -5909, -5909, -5909,121327,121327, -5909, 69085, 67546, 3701, 94222, + 94222, -5909, 94222, 94222, -5909, 94222, 94222, 2267,112177, 1786, + -5909, 94222, -5909, 94222, -5909, 94222, -5909, 94222, -5909, 94222, + -5909, -5909, -5909, 94222, -5909, 94222, 2269, -5909, -5909, 2273, + 1581, 94222, 94222, 275, 73189, 94222, 3549, 94222, 73189, 73189, + 94222, 94222, 94222, 94222, 94222, 3414, 3097, 492, -5909, 1433, + 327, 85501, 3566, -5909, -5909, 2275, 2339, 1404, 94222, -5909, + 94222, 94222, 94222, -5909, -5909, 78832, 3683, 442, 80371, 94222, + -5909, -5909, 15403, 35294, 2066, 31572, -5909, -5909, 20892, 3375, + 35294, 35294, 3335, 3002, 3002, -5909, 372, 35294, 35294, 35294, + 28917, 35294, 35294, 33170, 35294, 35294, 35294, 35294, 35294, 35294, + 3002, 3002, 3337, 35294, 4821, 35294, 55221, 35294, 41135, 25809, + 35294, 35294, 29979, 317, 3042, 35294, 3595, 42191, 35294, 2015, + 3607, 35294, 2015, 4821, 3862, 3862, 2960, 6750, 3346, 2066, + -5909, -5909, 1189, 3002, 1189, -5909, 385,121327, 35294, 35294, + 35294, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, 35294, -5909, 64468, -5909, + -5909, -5909, -5909, -5909, -5909, 190, -5909, -5909, -5909, -5909, + -5909, -5909, 3858, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, 94222, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, 30510, -5909, -5909, -5909, -5909, 3349, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + 2843, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, 31041, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, 3353, -5909, -5909, 35294, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, 3439, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, 1693, + 35294, 35294, 35294, 35294, 35294, 35294, 35294, 35294, 35294, -5909, + 35294, 496, -5909, -5909, 3703, 3461, 748, 572, 3359, 3567, + 90118, 32108, 3474, -5909, 24735, -5909, 334, 3474, -5909, -5909, + -5909, 94222, 3592, -5909, -5909, -5909, 3452, -5909, -5909, -5909, + -5909, -5909, -5909, 247, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, 3354, -5909, -5909, -5909, -5909, 3354, -5909, 3374, + 3702, 3708, 645, 85501, 2324, 35294, 190, 282, 94222, 35294, + 3349, 2843, 35294, 3353, 35294, 3439, -5909, 35294, -5909, 2279, + 1852, 35294, 2285, 3377, -5909, -5909, 3371, 3116, 3393, 3396, + 3379, 3392, 3002, 250, 3395, 904, 1277, 3502, 3002, 3623, + 3398, -5909, 64468, -5909, 44259, 3417, -5909, -5909, -5909, 453, + 85501, 85501, -5909, 3692, -5909, 3403, -5909, 17152, 3692, -5909, + -5909, 41663, 3506, 3674, 3608, -5909, -5909, -5909, 3404, 20892, + 36356, 36356, -5909, 2353, 20892, 2409, -5909, -5909, -5909, -5909, + -5909, -5909, 1629, -5909, 94222, 189, 3490, 1713, 3445, 1342, + 3883, 3453, 94222, -5909, 49946, 2296, -5909, 69085, 94222, 94222, + 3611, -5909, 3864, -5909,123323, -5909, 3402, -5909,122824,118333, + -5909, -5909, 1275, -5909, 1328, 69085, -5909, 94222, 94222, 69085, + 94222, 94222, -5909, 69085, 3443, 94222, 94222, -5909, -5909, -5909, + -5909, -5909, 61389, 1475, 78832, 3541, 78319, -5909, -5909, 3409, + 94222, 3636, -5909, -5909,112690, -5909, 3638, 69085, 94222, 94222, + 35294, 3639, 94222, 94222, -5909, 622, 3500, 3501, -5909, 94222, + 3503, 73189, 3420,121327, 73189, 55753, 73189, 73189, 3766,121327, + 94222, 94222, 1282, 85501, 329, 982, 3185, 3652, -5909, 1058, + -5909, 69085, -5909, 94222, 3643, -5909, -5909, -5909, 81910, 3906, + 3551, -5909, -5909, -5909,113203, -5909, -5909, 3645, -5909, 2305, + -5909, 69085, 69085, 94222, 13169, 3425,113716, 94222, 1676, 3723, + 3675, 3668, 3726, 762, -5909, -5909, -5909,121327, -5909, 94222, + 90631, 94222, 94222, 3717, 94222, 82423,114229,114742, 771, 777, + 3718, 94222, 82936, 3719, -5909, 3591, 94222, -5909, -5909, 64981, + 69085, 94222, 935, 64468, -5909, 3706, -5909, 94222, -5909, 1096, + -5909, 94222, 5350, 3669, -5909, -5909, 3532, 3535, 94222, 351, + 1106, 3185, 3855, 94222, 94222, 3449, 2309, 69085, 94222, 64468, + -5909, 3676, 1183, 69085, 94222, 81910, -5909, 3677, -5909, 85501, + 3782, -5909, 3451, 2501, 2654, 2078, 3451, 69085, 94222, -5909, + 3451, 94222,104482, -5909, 69085, 1353, -5909, 69085, 94222, 81910, + -5909, 3678, 3622, 69085, 94222, 12710, -5909, -5909, -5909, 390, + -5909, -5909, -5909, -5909, -5909, 94222, 94222, 390, 94222, 94222, + 390, 1518, -5909, 69085, 94222, -5909, -5909, -5909, 3582, 69085, + 94222, 94222, 434, 94222, -5909, 94222, 69085, 3499, 94222, 94222, + -5909, -5909, 94222, 11413, 94222, 94222, 94222, 94222, 94222, 94222, + 69085, 94222, -5909, -5909, 1512, 1301, 1960, 1979, 212, 94222, + 3797, 94222,115255, 1583, 69085, 94222, 94222, 1583, 94222, 64468, + 2104, -5909, -5909, 3594, -5909, 69085, 1353, -5909, 13409, 94222, + 94222, 94222, 3550, 3552, 417, 3642, -5909, -5909, -5909, 905, + 905, 3679, -5909, 35294, 35294, 33701, 3464, -5909, -5909, 35294, + 2965, -5909, -5909, -5909, 1042, 3964, 1042,115768, 1042, 1042, + 3779, 3534, 3536, 1042, 1042, 1042, 3761, 1042, 1042, 1042, + 94222, 3654, -5909, -5909, 3654, 970, 35294,121327, 94222, -5909, + 2323, -5909, 3484, -5909, -5909, 64468, 94222, 270, 230, 3850, + 3709, 76780, 2215, 3840, 94222, 3530, 94222, 3979, 3587, 33, + -5909, 2215, 94222, -5909, 2050, 78832, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, 94222, -5909, -5909, 3844, 94222, 44776, 3680, + -5909, 1583, 2926, 2926, 2926, 2926, 3486, 2926, 94222, 3625, + 3868, 2215, 3491, 3871, -5909, 2624, 3873, 1384, 94222, 3730, + 76780, 3559, 3542, 3744, 4001, 2501, 1583, 3747, 3731, -5909, + 59863, -5909, 2926, 4019, 28418, 4384, 9514, 3738, 3808, -5909, + -5909, 3746, 1014, 94222, 3866, 3867, 3889, -5909, 251, -5909, + 4024, 1958, 3890, 254, -5909, 264, -5909, 2982, -5909, 94222, + -5909, 94222, 94222, 94222, 94222, 291, -5909, -5909, 264, 2982, + 264, 645, -5909, 3820, 254, 2982, 3666, 3893, 337, -5909, + 348, -5909, 3758, 645, -5909, 3776, 2501, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, 2329, -5909, 94222, -5909, 3869, 3872, + 3874, 3875, 3880, 3544, 3545, 3589, 94222, 3548, 3544, 390, + 2574, 3555, -5909, 3548, 3548, 3544, 3097, 3097, 3544, 3545, + 68059, 4014, 64468, -5909, -5909, 3644, 3554, 3905, 242, -5909, + 886, 119, 3813, -5909, -5909, -5909, -5909,121327, -5909, 69085, + 3598, -5909, -5909, -5909, 3786, 3562, 68059, 645, 201, -5909, + 73189, 94222,121327, 73189, 3795, 73189, 73189,121327, 94222, 94222, + 2337, -5909, 1908, -5909, 2093, 35294, 481, -5909, 18202, 2344, + 35294, 3573, 3577, -5909, 3925, -5909, -5909, -5909, -5909, -5909, + -5909, 3579, 3926, -5909, 2367, 2368, 18039, 2552,121327, 2293, + 3593, -5909, 3583, 240, 3790, 3581, 6294, 3637, 2372, 3606, + 298, -5909, 6294, 1119, 3584, 8338, 3733, 3605, 2386, 3612, + 3613, -5909, 6861, 7215, 3614, 18576, 3615, 3616, 3620, 3618, + 41135, 41135, 29448, 1278, -5909, 41135, 3621, 3791, 2388, 17438, + 3629, 3630, 18622, 34232, 35294, 34232, 34232, 18998, 3632, 3633, + -5909, 3988, -5909, 2394, 64468, 3793, 19167, 2396, -5909, 35294, + 64468, 7554, 35294, -5909, 35294, -5909, 3634, -5909, -5909, 3351, + 3351, 3351, 4821, -5909, -5909, 3619, -5909, 41135, 41135, -5909, + 4442, 29448, -5909, 3953, -5909, -5909, 274, -5909, -5909, -5909, + -5909, -5909, 3057, -5909, -5909, -5909, 3852, 2552, 4890, 55221, + 7907, 35294, 286, 35294, 3624, 35294, 3704, 3351, 3351, 3351, + 541, 541, 383, 383, 383, 2428, 572, -5909, -5909, -5909, + 3626, 3641, 3567, 3646, 35294, -5909, 3685, 50463, -5909, 2643, + 2749, 94222, 3482, 4561, 6322, -5909, -5909, -5909, 3417, 838, + 3417, -5909, 1382, 3002, 1189, 61902, -5909, -5909, -5909, -5909, + -5909, -5909, 85501, 20892, -5909, -5909, 3902, 3647, 2405, -5909, + -5909, 3002, -5909, -5909, 2253, 2253, 3649, -5909, 3650, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, 3651, -5909, -5909, -5909, + 3653, 3655, 45293, 4002, 3656, 43742, 91144, 3659, 1745, -5909, + 91144, 91657, 91144, 91144, -5909, 3662, -5909, -5909, 2066, 35294, + 3994, -5909, -5909, -5909, 35294, -5909, -5909, 1000, 3686, 1210, + 129, 2724, 2724, 2353, 1175, -5909, -5909, 3716, -5909, 35294, + 2438, -5909, 2513, -5909, -5909, -5909, -5909, 3097, -5909, 3928, + -5909, -5909, -5909, 44259, 3705, 3714, 782, 48395, 3886, -5909, + 94222, 44259, -5909, 94222, 213, -5909, 3681, -5909, -5909, -5909, + -5909, -5909, -5909,118333, 2391, -5909,122824, -5909,122824, -5909, + 2391, 4142, -5909,118333, 2096, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, 69085, 69085, + 3895, 94222, 3896, 3903, 35294, 1180, -5909, 4056, 645, -5909, + -5909, 3767, -5909, 20892, -5909, -5909, -5909, -5909, -5909, 69085, + 94222, -5909, 72676, -5909, -5909,121327, -5909, -5909, 94222, 94222, + -5909, -5909, -5909,121327, -5909, -5909, -5909, 94222, 199, 3768, + 3769, 94222, -5909, 1374, 3447, 13838, 94222, 94222, 94222, 4007, + -5909, -5909, -5909, -5909, 3927, -5909, 4062, -5909,118333, -5909, + 2982, 1245, 3778, 3185, 35294, 3931, -5909, 263, 94222, 3695, + 3696, 4069, 94222, 1700, 4021, 3700, -5909, 3810, 4020, 3832, + 1208, -5909, -5909, 3842, -5909, -5909, -5909, -5909, 4080, 645, + 4086, 645, 94222, 94222, 94222, 94222, 3853, -5909, -5909, -5909, + -5909, 3856, 3995, -5909, 64468, 64468, 64468, 2406, -5909, -5909, + 1583, -5909, -5909, -5909, -5909, -5909, -5909, 4043, -5909, 2417, + -5909, 2072, 92170, -5909, -5909, -5909, -5909, -5909, 4093, 69085, + 94222, 14209, 94222, 94222, 94222, 3945, 2001, 1281,121327, -5909, + 119830, -5909, -5909, 2446, -5909, 3734, 94222, 3811, 69085, 3783, + -5909, -5909, -5909, 4100, 2501, 3876, 80884, 3772, 3772, 2121, + -5909, -5909, -5909, -5909, -5909, 4013, 3936, -5909, 392, 3937, + 69085, 3802, -5909, -5909, -5909, -5909, 4112, 3826, -5909, -5909, + 3827, 1156, 3185, 2624, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, 3857, -5909, -5909, -5909, -5909, -5909, -5909, + 1775, 1775, -5909, -5909, -5909, 1775, 1763, 373, 1220, 3185, + -5909, 1791, 1023, 3828, -5909, 3830, -5909, -5909, -5909, 4015, + 4016, 4017, 3835, 3836, 3897, 3837, 3838, 3898, -5909, 3843, + 3910, 3854, 3911, 3860, 4164, 645,121327, 4010, 1583, 3901, + 4151, 645, -5909, -5909, 3863, -5909, 3865, -5909, 2452, 4265, + 4267, -5909, 94222, -5909, 466, 1242, 3185, -5909, 3870, -5909, + 69085, 94222, -5909, -5909, -5909, 35294, 3780, 3784, 3785, 20892, + 20892, 35294, -5909, -5909, 20892, 3789, -5909, -5909, -5909, -5909, + 121327, -5909, 94222, 4090, -5909, -5909, 1042, 94222, 94222, -5909, + -5909, -5909, 94222, -5909, -5909, -5909, 4091, -5909, 556, 556, + -5909, -5909, 4129, 8444, 3788, 196, -5909, 64468, 52029, 3635, + 513, 1988, -5909, 72676, 94222, 72676, -5909, 230, 4006, 94222, + 94222, 94222, 3794, 3787, -5909, -5909, -5909, -5909, 69085, 889, + 69085, 3002, -5909, -5909, 3878, -5909, 94222, 2501, 4325, 4156, + 3499, -5909, 4284, 3419, 1750, 2098, 495, 3014, 4220, 2669, + 35294, 313, -5909, -5909, 2066, 94222, 3542, -5909, -5909, -5909, + -5909, 1583, -5909, 3800, 3798, -5909, 94222, 4162, 94222, 94222, + 94222, 94222, 3598, 3805, 94222, 3807,121327, 94222, 2716, 3184, + 4304, 4185, 2339, 3559, 3899, 4187, 85501, 3823, 2459, -5909, + -5909, 1014, -5909, 2466, 210, -5909, 1583, 72676,118832, 4174, + -5909, 606, 9514, -5909, -5909, 606, 1264, 94222, -5909, -5909, + -5909, -5909, 4048, 2346, -5909, 4163, -5909, -5909, 2339, -5909, + 121327, 3818, -5909, 2468, -5909, -5909, -5909, 337, 3882, 645, + 3884, 645, -5909, -5909, -5909, -5909, 94222, -5909, 94222, 67546, + -5909, -5909, 94222, -5909, 4198, -5909, -5909, 3968, 3969, 3970, + 3977, 3980, 94222, 3544, -5909, 3833, 94222, 69085, 1838, -5909, + -5909, 69085, 454, -5909, 987, -5909, 85501, 3974, -5909, -5909, + -5909, -5909, 4219, 4221, -5909, -5909, -5909, 1148, -5909, 79858, + 457, -5909, 69085, 4153, 4154, 4155, 4157, 390, 4158, 4159, + 4160, 4166, 4167, -5909, -5909, -5909, 3847, 18943, 35294, -5909, + 4240,121327, -5909, 8496, -5909, -5909, 35294, -5909, 35294, -5909, + -5909, 4165, -5909, -5909, 3922, 3923, 3859, 3593, 3733, -5909, + 4083, 4089, 35294, 3733, 4341, 1120, 35294, 35294, 35294, -5909, + -5909, 4092, 4094, 35294, 2552, 2552, 35294, -5909, 3877, 35294, + -5909, -5909, -5909, -5909, 2500, 35294, -5909, 35294, -5909, -5909, + 26346, 4390, 4390, 3885,121327, 41135, 41135, 41135, 41135, 1827, + 3073, 41135, 41135, 41135, 41135, 41135, 41135, 41135, 41135, 41135, + 41135, 675, -5909, 4081, 35294, 35294, 34763, -5909, -5909,121327, + 3881, 3632, 3887, 3891, 35294, -5909, -5909, -5909, 2473, 42708, + 3892, 64468, -5909, 35294, 12803, 2475, 3921, 19264, 2066, 8764, + 2733, 35294, 1202, 1906, 35294, 2480, 35294, -5909, -5909, -5909, + -5909, 4228, -5909, -5909, -5909, -5909, -5909, -5909, 4115, 2552, + -5909, -5909, 35294, 3894, 5383, 41135, 41135, 5451, 29448, -5909, + 6499, 35294, 29448, -5909, 3679, -5909, 26883, 3900, 35294,117820, + -5909, -5909, 1171, 1171, 1171, 1171, -5909, 94222, 94222, 94222, + 3994, 3904, 3994, 218, 3907, -5909, -5909, -5909, -5909, 2339, + -5909, 3888, -5909, -5909, -5909, -5909, -5909, 35294, 91144, 91657, + 91144, 91144, 3879, 43225, 27401, 1745, 3914, 94222, -5909, -5909, + 3912, 44259, 4180, 4106, -5909, 44259, 4106, 2138, 4106, 4181, + 3973, 50980, -5909, -5909, 3916, -5909, -5909, 4095, -5909, 2231, + 20892, 4352, 4222, -5909, 3918, -5909, 3686, 1687, -5909, -5909, + -5909, 1224, -5909, 3975, -5909, -5909, -5909, 3659, 36887, 4051, + -5909, -5909, -5909, 3952, 2492, -5909, -5909, 4342, 4051, -5909, + 2229, -5909, 2493, 49946, 3705, 35294, 2066, 2498, 2161, -5909, + -5909,118333, -5909, 3978, 2982, 2982, 2008, 3544, 4261, 2008, + 9133, -5909, 2189, 94222, -5909, 94222, -5909, -5909, -5909, 4399, + 3965, 3966, 4199, -5909, 2826, -5909, -5909, 69085, 94222, -5909, + -5909, -5909, 477, 1253, 3185, -5909, 3999, -5909, -5909, 4227, + 94222, -5909, 4396, 4018, 94222, 9486, 4300, 3986, -5909, -5909, + 45810, 94222, 94222, -5909, 94222, -5909, 94222, 94222, 2189, 92683, + -5909, 4374, -5909, 2189, 4042, 4281, 1623, 3184, 394, 7377, + -5909, 2000, -5909, -5909, 4008, -5909, 94222, -5909, 94222, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, 4070, -5909, -5909, -5909, + -5909, 64981, -5909, -5909, 94222, -5909, 64468, 52029, 64468, -5909, + -5909, -5909, 94222, -5909, 1773, 478, 1303, 3185, -5909, 4023, + -5909, 4303, 4025, 4027, 4077, 1329, 309, 4028, 4029, 4079, + 3935, 3941, 3942, -5909, 64468, 52561, 4113, 94222, 2982, 3944, + 3990, 94222, 3772, 93196, -5909, 3948, -5909, -5909, 3772, 401, + 2737, -5909, -5909, -5909, 1583, 2982, 1583, 94222, 94222, 94222, + 94222, 434, -5909, -5909, -5909, 4426, 4050, 94222, 94222, 94222, + 94222, -5909, 4011, -5909, -5909, -5909, 94222, 94222, 4314, 1269, + 2389, 69085, 94222, 94222, 69085, 94222, 94222, 94222, 94222, 94222, + 94222, 94222, 4179, -5909, 4413, 4334, 2457, 4380, 4037, 94222, + -5909, 94222, 1583, -5909, 3447, 94222, 94222, 94222, 94222, -5909, + -5909, -5909, -5909, -5909, 3679, -5909, 3961, 4274, 1042, -5909, + 4275, 4277, 4278, 1042, -5909, -5909, 1988, -5909, 514, 94222, + -5909, 2755, 94222, -5909, -5909, -5909, 3918, 2482, 2711, -5909, + -5909, -5909, -5909, -5909, -5909, 3971, 94222, 94222, 41135, -5909, + -5909, 2451, 1070, 1663, -5909, 4263, 94222, 3255, -5909, -5909, + -5909, 1425, 94222, -5909, -5909, -5909, -5909, 3976, -5909, 131, + 3805, -5909, 4295, 76780, 2982, 69085, 69085, 2982, -5909,121327, + 3981, 3542, -5909, 1063, 4058, -5909, 69085, 1750,116281, 3350, + 4012, 4200, 9751, 44259, 44776, 1775, -5909, 3982, 3983, -5909, + -5909, 94222, 4006, 67546, 2504, 2624, 4473, 979, 2449, -5909, + 77293, 4182, 3805, 4295, -5909, 3184, 4207, 4206, -5909, 2339, + 94222, 3598, 3542, 1583, 94222, 3986, 52029, -5909, 4517, 2415, + -5909,118333, 35294, 35294, -5909, 3984, -5909, -5909, 3985, 9514, + -5909, 4064, 3987, 4481, 35294, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, 4078, 3992, 94222, 94222, 1014, 94222, -5909, + 3993, 3890, -5909, 3890, -5909, 94222, -5909, 94222, -5909, 645, + -5909, 4132, 645, 94222, 94222, 94222, 94222, 94222, 94222, 3544, + 390, -5909, -5909, 4345, 68059, 4348, -5909, 64468, -5909, -5909, + -5909, -5909, -5909, 2522, 94222, -5909, -5909, -5909, 4422, 4358, + 645, 442, 1134, 1134, 1134, 1134, 4312, 1134, 1134, 1134, + 1134, 1134, -5909, 35294, 20892, -5909, 4003, -5909, 20892, 20892, + 4393, 4297, 4299, -5909, -5909, 4005, 4245, 4246, -5909, 4026, + 35294, 3733, 19729, -5909, -5909, 4247, 4249, -5909, 3733, 3733, + 19729, -5909, 19729, 4030, 10276, 19486, -5909, 2524, 35294, -5909, + 618, 618, 618, 3040, 4373, -5909, 3126, 618, 618, 618, + 554, 554, 285, 285, 285, 4390, 675, 19855, 20013, 20167, + 4033, -5909, -5909, -5909, 3632, -5909, 37418, 120, 4494, 42191, + -5909, -5909, -5909, 4063, 4066, 4034, -5909, 35294, 37949, 4022, + 123323, 4233, -5909, -5909, 2028, 35294, 35294, 5266, -5909, 6134, + 35294, -5909, -5909, 5266, 577, 35294, 2439, 2924, 35294, 2526, + 35294, 6591, 10937, 4035, -5909, 2528, 35294, 11841, 4229, -5909, + 94222, 94222, 94222, 94222, -5909, -5909, -5909, 4222, 2738, 4222, + 1583, 4040, -5909, 4039, -5909, -5909, -5909, -5909, 65494, 4038, + 3793, 91144, 4045, 94222, 1745, 44259, -5909, -5909, 1747, -5909, + 44259, 4333, -5909, 44259, 73189, -5909, 94222, 4049, 94222, -5909, + 1526, 35294, 4074, 55221, -5909, -5909, -5909, -5909, 4139, -5909, + 4282, 20892, 4096, -5909, 2339, 2365, 94222, 2066, 123, -5909, + 35294, 4061, 94222, -5909, 4051, 20892, -5909, 4133, 2534, -5909, + -5909, 4289, -5909, -5909, -5909, -5909, -5909, 4146, 78832, 4419, + -5909, -5909, -5909, 1789, 4389, 456, -5909, 645, -5909,121327, + 94222, 94222, 94222, 3143, -5909, -5909, 94222, 94222, 94222, 94222, + -5909, -5909, 69085, 94222, -5909, -5909, 94222, 35294, 2540, -5909, + 4107, 4521, 364, 4065, -5909, 2189, 1341, 2189, -5909, 1341, + -5909, -5909, 93709, -5909, 4006, 434, 2451, 4405, 4406, 4306, + -5909, 390, -5909, 4568, 2451, 4309, 434, -5909, -5909, -5909, + -5909, 2263, -5909,121327, 645, 645, -5909, -5909, -5909, -5909, + -5909, 4082, -5909, 4550, 4172, 94222, 94222, 94222, 94222, 94222, + 69085, 94222, 94222, 3002, 3002,121327, 4071, -5909, 3002, 3002, + 4073, -5909, 69085, 94222, 94222, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, 4168, -5909, 35294, 4542, + -5909, -5909, -5909, -5909, -5909, 35294, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, -5909, 69085, 94222, 4169, + -5909, 4170, -5909, 929, -5909, -5909, 94222, 94222, 94222, 94222, + 4457, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, 4458, 94222, -5909, -5909, 1583, 1583,121327, 645, + 645, -5909, -5909, -5909, 4173, -5909, -5909, 4087, 4395, 1042, + -5909, 1042, 1042, 1042, -5909, 4101, -5909, 1988, 4496, -5909, + 2189, 355, 4445, -5909, 35294, -5909, 1638, 3040, -5909, 4506, + 4589, -5909, -5909, -5909, -5909, 4340, 3499, 2501, 3499, -5909, + -5909, 73189, 1630, -5909, 4428, 270, 64468, 4327, 76780, 1791, + 1846, 4102, 4232, -5909, 2982, 2982, 4175, 94222, 4598, -5909, + -5909, -5909, -5909, -5909, -5909, 69085, 3783, -5909, 4347, 1265, + 4467, 94222, 44776, -5909, 3659, -5909, -5909, -5909, 1583, -5909, + -5909, 4242, 3542, -5909, 1819, 94222, 4339, 76780, 3598, 2554, + -5909, -5909, -5909, 4152, 4588, 3559, -5909, 1791, 4182, -5909, + -5909, 4565, 4212, 4161, 4613, -5909, 4212, 4474, 4343, 4119, + -5909, 3823, -5909, 94222, -5909, 20892, 20892, 1583,123822, 606, + 121327, 4484, -5909, 20892, 94222, 849, 4122, 4296, -5909, 4451, + 645, 2564, -5909, 645, 645, -5909, 94222, -5909, 3544, 3544, + 3544, 3544, 3544, -5909, 4351, -5909, -5909, -5909, -5909, 4443, + -5909, 68059, -5909, 645, -5909, -5909, -5909, -5909, -5909, -5909, + 1134, -5909, -5909, -5909, -5909, -5909, 20892, -5909, 94222, -5909, + -5909, -5909, -5909, -5909, -5909, 3403, 4130, 35294, 2171, -5909, + -5909, 4131, 4134, 3733, 3733, -5909, -5909, 35294, -5909, 11975, + 41135, 4491, -5909, 35294, 35294, 35294, -5909, 4136, 2565, 2566, + -5909, -5909, 120, -5909, 4494, -5909, -5909, -5909, 12017, 4192, + 20892, 4256, 4137, 1825, 5266, 5266, 6134, 5266, 35294, 35294, + 5266, -5909, 5266, 35294, -5909, -5909, -5909, 13568, -5909, 4617, + 3679, -5909, -5909, -5909, -5909, 4074, -5909, -5909, 4074, -5909, + 4286, 35294, -5909, 2571, 4642, 40073, 4600, -5909, 94222, 2577, + -5909, 35294, 4147, -5909, -5909, 44259, 1747, 4149, 2579, 94222, + 2597,121327, 38480, 20892, 94222, 3679, 4145, -5909, 94222, 4176, + 32108, -5909, 782, -5909, -5909, 4595, 45810, 4553, 20432, 35294, + -5909, -5909, -5909, -5909, -5909, 68059, 4381, 68059, 2189, -5909, + -5909, -5909, -5909, -5909, -5909, -5909, 4171, -5909, -5909, -5909, + -5909, 4244, -5909, -5909, 831, 3566, 2189, -5909, 13665, 4487, + 45810, 56285, 94222, -5909, 94222, -5909,116794, 4184, 4371, 4186, + 4188, -5909, -5909, -5909, -5909, 4656, 4538, 4539, -5909, -5909, + 4177, -5909, -5909, -5909, 4413, -5909, -5909, 52029, 69085, 94222, + -5909, 4250, -5909, -5909, -5909, -5909, -5909, -5909, 47878, 55221, + -5909, 1329, 4183, 4194, 309, -5909, -5909, -5909, 94222, 13747, + 4195, 13918, 1130, 3566, 94222, 94222, 4201, 4202, 4204, 1857, + 1878, 2064, 3544, 4528, 94222, -5909, -5909, -5909, 4413, -5909, + -5909, 94222, -5909, 1042, -5909, -5909, -5909, -5909, 64468, -5909, + 3344, 4101, 1583, 73189, 4663, 4663, 14785, 4404, -5909, -5909, + 467, 4497, -5909, 4236, 4440, 4236, 4205, 94222, 1425, 4208, + 2602, -5909, 94222, 4197, 4310, 1077, 1077, 94222, 94222, 94222, + 2615, 2339, 2982, 3990, 1750, 4558, 76780, 4604, 4006, 342, + -5909, 94222, 4680, 94222, 3598, 3805, 94222, 4209, -5909, -5909, + 77293, 4408, 3635, 94222, 2716, 4182, 3559, 953, 94222, -5909, + 1399, -5909, 2339, -5909, 94222, 85501, 45810, 4546, -5909,122824, + -5909, 2635, -5909, -5909, -5909, 4285, 21774, 3417, 4321, 4336, + 4216, 2188, 4570, 94222, 826, -5909, -5909, -5909, -5909, -5909, + -5909, 94222, 457, -5909, -5909, -5909, -5909, 4215, -5909, 4711, + 35294, 378, -5909, -5909, -5909, -5909, -5909, 4447, -5909, 4223, + -5909, -5909, 2769, 2171, 20800, -5909, 3277, 41135, 20892, 20892, + 20892, 35294, -5909, 35294, -5909, -5909, -5909, -5909, 767, -5909, + -5909, 4556, 4226, 5266, 5266, 5266, -5909, 35294, 1322, -5909, + -5909, 1742, 4647, 20853, 3662, 65494, 4230, -5909, 41135, 2636, + -5909, 2856, 94222, 2642, -5909, 20892, 94222, -5909, -5909, 35294, + -5909, 2647, -5909, 4231, 72, 4235, 25272, 4225, -5909, -5909, + -5909, -5909, -5909, 20892, 4234, -5909, 4731, 1713, -5909, -5909, + 2210, 3092, 4294, 94222, 2648, -5909, 972, 262, 118, -5909, + 4738, 4738, 20892, 1838, 2008, 361, -5909, 94222, 4346, -5909, + 4521, 4241, 3499, -5909, 4252, -5909, -5909, 1524, 3184, 94222, + 4418, -5909, 4487, 4487, 3635, 4591, -5909, -5909, 35294, 4318, + -5909, 1162, 3566, 94222,121327, -5909, 183, 4620, -5909,121327, + 121327, -5909, -5909, -5909, 35294, -5909, 4355, -5909, -5909, -5909, + 35294, 35294, 75754, -5909, -5909, 94222, 94222, 94222, 94222, 94222, + -5909, 645, -5909, -5909, 2653, -5909, 46844, -5909, -5909, 3422, + 1583, 3422, 2087, -5909, -5909, 3422, 3422, -5909, 3417, -5909, + 4663, 414, -5909, -5909, 4340, 4258, 35294, -5909, 4594, -5909, + 1296, 4485, -5909, 4259, -5909, 73189, 4799, -5909, 64468, 3805, + 4295, 94222, -5909, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, 2660, 4006, 4639, 3542, 4161, -5909, + 94222, 4311, -5909, 44259, 4006, 2339, 2449, -5909, 4182, 3805, + 4295, -5909, -5909, 4270, 4206, 3559, 2716, 4425, -5909, 4427, + -5909, 4744, 4504, 4747, 3598, -5909, 3986, 2666, 94222, -5909, + -5909, 9514,123822,121327, -5909, -5909, -5909, 4288, 4684, 4328, + 4335, -5909, -5909, -5909, 2188, -5909, 144, 4689, 4344, -5909, + 4354, 94222, -5909, -5909, 4006, 645, 35294, 64468, 20892, -5909, + -5909, 4691, -5909, 295, 330, 1796, 4524, 4302, 35294, 3277, + 2667, 2673, 4364, -5909, -5909, -5909, 3632, 39011, 39011, 39011, + 4307, 4676, 4677, 94222, -5909, 94222, 4516, -5909, -5909, 94222, + 3040, 4313, 40073, 64468, 2679, -5909,120329, -5909, 2680, 2686, + -5909, 35294, 4315, 35294, -5909, 38480, 94222, 4323, 3490, -5909, + -5909, 2687, -5909, 4811, 2339, -5909, 3417, 45810, -5909, 4454, + -5909, 4602, -5909, -5909, 35294, 4410, 4417, -5909, 4686, -5909, + -5909, 94222, -5909, 94222, 4236, 55221, 3686, 1524, -5909, 94222, + 3499, 3499, 4258, 15517, 35294, -5909, 4431, -5909, -5909, 2693, + 1650, -5909, -5909, 2695, 2697, 15868, 94222, 2701, 2705, -5909, + 2719, 3002, 3545, 2064, 3545, -5909, 3544, -5909, -5909, 64468, + -5909, -5909, 68572, -5909, -5909, -5909, 1583, -5909, 1583, 4572, + 57824, 58337, 1583, 1583, -5909, -5909, -5909, -5909, -5909, 2624, + -5909, 16184, 4436, -5909, -5909, -5909, 530, -5909, 4569, 4571, + -5909, 4349, -5909, 2734, -5909, 1791, 4475, 4006, -5909, -5909, + 94222, 4842, 4845, -5909, 1445, 94222, 3659, -5909, 4161, 3598, + 3559, 1791, 4182, 3635, 46327, 4212, 2716, 4206, -5909, -5909, + 4573, -5909, 4574, -5909, 4353, 4685, -5909, 2379, 606, -5909, + -5909, -5909, 1159, 4712, 4713, -5909, -5909, -5909, 3422, -5909, + 1758, 4360, 4734, -5909, -5909, -5909, -5909, -5909, -5909, -5909, + 4400, 389, 426, -5909, 4409, -5909, 4547, 4548, 2171, 2441, + -5909, 20892, -5909, -5909, -5909, 40604, 4520, 1452, 17495, 4753, + -5909, 4753, 4753, -5909, 4849, 4850, 1233, -5909, 4831, 2741, + 42191, -5909, -5909, -5909, 94222, 4596, 2129, 4876, 4549, 2747, + 38480, 2759, -5909, -5909, -5909, -5909, -5909, 2210, 94222, -5909, + -5909, -5909, 49946, 4858, 20892, 515, 1351, 68059, 3566, 2760, + 3772, 4382, -5909, 3686, 4385, 4236, 4236, -5909, -5909, 20892, + 94222, 73189, 4861, -5909, -5909, -5909, -5909, 3566, 4476, -5909, + -5909, 75754, -5909, 94222, -5909, -5909, 2764, -5909, -5909, -5909, + 58850, -5909, 4122, -5909, 4122, -5909, -5909, 1501, 1802, 94222, + 1176, 1176, 4797, -5909, 4452, -5909, 4388, -5909, 4923, 4531, + 94222, -5909, -5909, 1329, 2339, 76780, 4006, -5909, -5909, 2716, + 4182, 3559, 35294, 2766, -5909, 4521, 364, -5909, 4206, 4212, + -5909, -5909, 45810, 4398, 3255, 4791, -5909, -5909, -5909, 2217, + 73189, 73189, 94222, -5909, -5909, -5909, 35294, 1425, -5909, 4439, + -5909, 4444, -5909, -5909, 4630, 4633, 4412, 2171, -5909, 4911, + -5909, -5909, -5909, -5909, -5909, 1022, -5909, -5909, -5909, 94222, + 94222, 94222, 4411, -5909, 3793, -5909, -5909, 41135, 41135, 4652, + -5909, 41135, 2129, -5909, 94222, -5909, 4415, -5909, -5909, 2771, + -5909, -5909, -5909, 722, 2124, -5909, 4658, 4551, -5909, -5909, + 4659, 239, -5909, 361, -5909, -5909, -5909, -5909, -5909, 94222, + 4440, -5909, -5909, 3566, -5909, 94222, -5909, 4420, -5909, -5909, + -5909, 68572, -5909, 4122, -5909, -5909, -5909, -5909, -5909, -5909, + 4934, -5909, 993, -5909, -5909, -5909, -5909, 94222, 4006, 4071, + 4161, -5909, 4206, 3559, 2716, 16448, -5909, 46327, 94222, 94222, + 4212, -5909, 2772, 45810, 3542, 4576, -5909, 2465, -5909, -5909, + -5909, -5909, -5909, -5909, -5909, 233, 4424, 4437, -5909, -5909, + 16526, 73189, -5909, -5909, 4577, 4578, -5909, 4649, 39542, 4593, + -5909, 4644, -5909, 1287, 1306, 2094,117307, 4898, 3040, 3040, + -5909, 3040, -5909, -5909, 35294, -5909, -5909, -5909, -5909, -5909, + 49946, -5909, 4501, 782, 4446, 94222, -5909, -5909, 2189, 4065, + 4485, 2189, 2189, -5909, -5909, 35294, -5909, -5909, 2501, 2501, + 4006, -5909, -5909, 4212, 2716, 4206, 4521, -5909, -5909, -5909, + -5909, 4685, -5909, 2778, 4212, 4344, 2752, -5909, -5909, 2809, + 2770, 4533, 4805, -5909, 4448, 4559, 4562, 4837, -5909, -5909, + -5909, 94222, 94222, 66007, 94222, 412, 2779, -5909,120828, 94222, + 16842, 4449, -5909, 4512, 35294, 2788, 4460, -5909, 2789, -5909, + -5909, -5909, -5909, 4206, 4212, 94222, 3255, -5909, 45810, 3417, + 4834, -5909, 2465, 4579, 4580, 63955, -5909, -5909, -5909, -5909, + -5909, 2137, 376, 4878, -5909, -5909, 1583, 2171,117307, 4682, + 524, 2793, -5909, 4522, 2794, 133, -5909, 2189, -5909, 4212, + -5909, -5909, 3542, -5909, -5909, 1425, -5909, 4507, 4509, -5909, + 2810, -5909, -5909, -5909, -5909, 35294, 66007, 2302, 4468, -5909, + -5909, 4670, 1583, 2769, 4670, -5909, -5909, -5909, 782, -5909, + -5909, 4212, 73189, 4826, 4829, -5909, 63955, 905, 4540, 94222, + 4478, -5909, 2171, -5909, 1796, 2769, 4534, 3417, 4479, 73189, + 73189, -5909, 4482, 94222, 4930,117307, -5909, 2171, 1796, 4522, + -5909, 63955, -5909, -5909, 2738, -5909, 4480, 2820, -5909, 2171, + -5909, 2821,117307, -5909, -5909, -5909, 2838, -5909 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { - -5915, -5915, -5915, 4138, -474, -1720, -5201, -1125, -766, -5915, - -5915, -984, 563, 3359, -971, -5915, -5915, -5915, 1555, -5915, - -5915, -5915, -5915, 4095, -5915, -2971, -5915, -5915, 185, 4052, - -1397, 187, 3661, 1620, -5915, -1026, -5915, -5915, -622, 1, - -5915, 4051, -439, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -847, 2083, -5915, 2175, 1409, -3302, -5915, -5915, -1522, - -3822, -5915, 656, -5915, 683, -4180, -5915, -4879, -1036, -5915, - -5915, -5915, 2068, -5915, -5915, -5915, 2015, 1203, -382, -5915, - -5915, -5915, -5915, -5915, -5915, -856, -5915, -5915, -1167, 2, - -669, -3002, -4376, -5915, -5915, 506, -420, -1502, -5915, 702, - -5915, 703, -5915, -4908, -5915, -3, -2792, -2574, -5915, -5915, - -5915, -5915, -392, -1540, 1451, -5915, 1511, -638, 149, -733, - -1114, -1239, -5915, -3112, -2622, -1138, -5915, -277, -3625, -1236, - -862, -860, -1021, -4443, -4981, -5915, -5915, -1166, -3843, -5265, - -5479, -4904, -5218, 1462, -5915, -27, 513, -5915, 4, -3704, - -3810, 6, 486, -5915, 7, 8, -5915, 503, -793, -979, - -1611, -5915, -791, -5915, -5915, -5915, -3496, -5915, -5915, -5915, - 180, -5915, -5915, -5915, -5915, 547, -5915, -5915, -5915, -5915, - -5915, -5915, -3199, 2045, 2049, -5915, -4468, -5915, -952, -5915, - 713, -3536, 1443, -5915, -5915, 1204, 4125, 530, -5915, -5915, - -5915, -5915, -5915, -5915, -1802, -5915, -5915, -5915, -5915, -8, - -362, -5915, -5915, -5915, -5915, -5915, -5915, -5915, 11, -5915, - 1162, 468, -5915, -5915, -674, -5915, -5915, -5915, -5915, -5915, - -5915, -1228, -5279, -1363, -1335, -5915, -3492, -5915, -5915, -5915, - -333, -5915, -5915, -5915, -5915, -5915, -868, -5915, 1260, -4223, - -5915, -5915, 509, -5915, -5915, -5915, -5915, -5915, -995, -268, - 3281, -5915, -531, -5915, -5915, -5915, -262, -5915, -5915, -5915, - -5915, -5915, -524, -1281, 5148, 4501, -1123, 15292, -843, -564, - -5915, -5915, -5915, -2778, -5915, -5915, -4262, -5915, 5139, 2740, - 1066, 12, -5915, -18, 117, 3948, -5915, 1140, -1173, -3169, - 482, -472, -5915, -5915, -5915, 489, -5915, -1983, -5915, -5915, - -5915, -5915, -4169, 13, -5915, -4454, -5276, -4695, -4247, -1182, - -5915, -4529, -4602, -4144, -5915, 2089, -5915, -5915, -544, -192, - 3284, -5915, -1500, 2437, -1457, -5915, -2649, 553, 1629, 3285, - -3317, -109, 3265, -3050, -5915, -722, 1212, -5915, -340, -3856, - -5915, -5915, -5915, -2875, -603, -5915, -5915, 1784, -1085, -5915, - -5915, -5915, -5915, -653, 3244, -196, -5915, -5915, 4493, -5915, - -5040, -5915, 4450, -5915, -5915, -5915, -5915, -5915, -5915, -5915, - -5915, -5915, -1505, 1386, -5915, -803, -5915, -5915, 2199, 764, - -5915, -5915, -5915, -5915, 1475, -450, -5915, -5915, -5915, -5915, - -5915, -5915, -5915, -958, -1198, -5915, -5915, -5754, -5915, -5915, - -5915, -5915, -5915, 2482, -962, -753, 4352, 1005, 16, -5491, - -5915, -5915, -849, -5915, 3698, -5915, -5915, -5915, -5915, -5915, - 545, 544, -5915, -5915, -5915, -5915, -4568, -5915, -5915, -5144, - -5915, -5915, 2179, -5915, -5915, 1450, 5, 3405, -5915, -5915, - -5915, -14, -5915, -5915, -1031, 2531, -5915, -2399, -5915, -591, - -5915, -5915, -1926, 20, -4447, -5915, 51, -5915, -5915, -5156, - -1108, 344, -5915, -5915, -4149, -5915, -5915, -844, -5915, 61, - -5915, -5915, -5915, -5915, -5133, -5915, 69, -5681, 915, -3384, - -5915, 54, -5915, -416, -5915, -5915, -413, -5915, -5915, -5915, - -4831, 27, 142, -5915, -5915, 107, 335, -46, -23, -12, - 21, 160, 3821, -5915, -5915, -5915, -4891, 3852, -5915, 39, - -879, 5200, 5205, -5915, -911, -131, 507, 1743, -677, -2644, - 3759, 3762, -5915, 1735, 2555, -2489, -2484, -5915, -989, -814, - -613, -5915, -5915, -5915, -5915, -1555, -676, -2660, -5915, 3772, - -5915, -5915, -5915, -2394, -3416, -3267, 1782, -3336, -3188, -5915, - 1015, 998, -875, -59, 43, -1496, -784, 1899, -5915, -5915, - 1788, -335, -5915, -5915, -331, -3347, 961, -5915, -4648, -2860, - 1796, -1111, -785, -5915, -928, -5915, -576, 1804, -5915, -4044, - -1139, -5915, -3824, 318, 3845, -845, -5915, -5915, -815, 10585, - -5915, -5915, -5915, 10597, 11117, -5915, -5915, 12482, 12618, -5915, - -577, 13093, 9463, -782, -1949, 90, 13445, 18713, -1939, 2576, - 102, -5915, -3003, -337, -5915, -5915, -5915, -289, 1122, 922, - -5915, -5915, -4699, -4434, -5915, 2702, -2284, -5915, -579, 1877, - -578, -5915, -5915, -5915, -2772, -5607, -2969, 2705, -5915, -5915, - -5915, -147, -5915, 18516, -3303, -5915, -728, -1032, -1595, 3212, - -3135, -1902, -5915, -5915, -5915, -3139, -5915, -5915, -5915, -486, - -5915, -5915, 2027, -5915, -5915, -5915, -1000, 2265, -711, -1199, - 1903, -4492, -5915, -520, -5219, -5076, -5915, -5702, -5914, -1838, - -1122, -3065, -3940, -1936, 1916, -3145, -5915, -1940, 1998, 1207, - -5915, -245, -5915, 4400, -801, 2716, -788, 16069, -305, 10404, - -1295, -5915, 3552, -4814, 6292, 2107, 15, -125, 5522, -621, - 2629, 3296, -5915, -5915, -6, 8269, -662, -916, -5915, 5527, - 16607, 15810, -3741, -5915 + -5909, -5909, -5909, 4097, -513, -1739, -5195, -1127, -633, -5909, + -5909, -873, 649, 3306, -1315, -5909, -5909, -5909, 1595, -5909, + -5909, -5909, -5909, 4059, -5909, -2968, -5909, -5909, 166, 4009, + -1394, 178, -1883, 3648, 1586, -5909, -1030, -5909, -5909, -770, + 1, -5909, 4031, 543, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -747, 2052, -5909, 2141, 1376, -3217, -5909, -5909, + -1548, -3820, -5909, 621, -5909, 643, -4171, -5909, -4910, -1073, + -5909, -5909, -5909, 2029, -5909, -5909, -5909, 1977, 1165, -416, + -5909, -5909, -5909, -5909, -5909, -5909, -892, -5909, -5909, -1200, + 2, -639, -2995, -4368, -5909, -5909, 469, -452, -1523, -5909, + 670, -5909, 671, -5909, -4911, -5909, -34, -2799, -4420, -5909, + -5909, -5909, -5909, -423, -1530, 1417, -5909, 1480, -667, 121, + -737, -1173, -1271, -5909, -3101, -2756, -1171, -5909, -309, -3627, + -1268, -896, -894, -1056, -4441, -4965, -5909, -5909, -1198, -3831, + -5299, -5525, -5001, -5249, 1430, -5909, -62, 480, -5909, 4, + -3717, -3823, 7, 455, -5909, 8, 10, -5909, 471, -825, + -992, -1628, -5909, -956, -5909, -5909, -5909, -3486, -5909, -5909, + -5909, 171, -5909, -5909, -5909, -5909, 517, -5909, -5909, -5909, + -5909, -5909, -5909, -2466, 2013, 2014, -5909, -4408, -5909, -949, + -5909, 682, -3538, 1411, -5909, -5909, 1168, 4084, 499, -5909, + -5909, -5909, -5909, -5909, -5909, -1803, -5909, -5909, -5909, -5909, + -33, -389, -5909, -5909, -5909, -5909, -5909, -5909, -5909, 11, + -5909, 1135, 440, -5909, -5909, -706, -5909, -5909, -5909, -5909, + -5909, -5909, -1256, -5291, -1391, -1365, -5909, -3517, -5909, -5909, + -5909, -364, -5909, -5909, -5909, -5909, -5909, -840, -5909, 1227, + -4227, -5909, -5909, 479, -5909, -5909, -5909, -5909, -5909, -1028, + -305, 3240, -5909, -567, -5909, -5909, -5909, -302, -5909, -5909, + -5909, -5909, -5909, -510, -1280, 5105, 4459, -1125, 14772, -841, + -577, -5909, -5909, -5909, -2784, -5909, -5909, -4244, -5909, 5096, + 2726, 1209, 12, -5909, 5, 115, 3908, -5909, 1091, -1172, + -3165, 431, -525, -5909, -5909, -5909, 433, -5909, -1964, -5909, + -5909, -5909, -5909, -4170, 13, -5909, -4465, -5285, -4692, -4209, + -1232, -5909, -5724, -5260, -4136, -5909, 2038, -5909, -5909, -504, + -97, 3212, -5909, -1496, 2384, -1465, -5909, -2648, 497, 1574, + 3220, -3324, -105, 3209, -3059, -5909, -725, 1158, -5909, -393, + -3852, -5909, -5909, -5909, -2859, -655, -5909, -5909, 1746, 658, + -5909, -5909, -5909, -5909, -653, 3195, -206, -5909, -5909, 4435, + -5909, -5055, -5909, 4403, -5909, -5909, -5909, -5909, -5909, -5909, + -5909, -5909, -5909, -1493, 1331, -5909, -838, -5909, -5909, 2149, + 715, -5909, -5909, -5909, -5909, 1424, -1195, -5909, -5909, -5909, + -5909, -5909, -5909, -5909, -1008, -1250, -5909, -5909, -4657, -5909, + -5909, -5909, -5909, 2385, -980, -763, 4301, 948, 14, -5490, + -5909, -5909, -1019, -5909, 3640, -5909, -5909, -5909, -5909, -5909, + 493, 494, -5909, -5909, -5909, -5909, -4120, -5909, -5909, -5116, + -5909, -5909, 2126, -5909, -5909, 1362, 6, 3339, -5909, -5909, + -5909, -11, -5909, -5909, -1036, 2477, -5909, -2411, -5909, -588, + -5909, -5909, -1929, 16, -4440, -5909, 58, -5909, -5909, -5158, + -1166, 288, -5909, -5909, -4148, -5909, -5909, -906, -5909, 69, + -5909, -5909, -5909, -5909, -5129, -5909, 73, -5679, 860, -3388, + -5909, 15, -5909, -472, -5909, -5909, -473, -5909, -5909, -5909, + -4334, 20, 31, -5909, -5909, 93, 2481, -47, -29, -25, + 57, 167, 3750, -5909, -5909, -5909, -4613, 3799, -5909, 76, + -886, 5141, 5144, -5909, -912, -145, 446, 1683, -685, -2647, + 3710, 3712, -5909, 1670, 2490, -2490, -2489, -5909, -953, -877, + -681, -5909, -5909, -5909, -5909, -1458, -680, -2654, -5909, 3711, + -5909, -5909, -5909, -2408, -3411, -3305, 1712, -3342, -3250, -5909, + 949, 932, -874, -124, 162, -1492, -798, 1910, -5909, -5909, + 1723, -399, -5909, -5909, -397, -3325, 894, -5909, -4671, -2855, + 1727, -1177, -850, -5909, -997, -5909, -646, 1735, -5909, -4354, + -1210, -5909, -3597, 1928, 3773, -833, -5909, -5909, -812, 9665, + -5909, -5909, -5909, 10761, 10773, -5909, -5909, 11693, 12213, -5909, + -578, 13180, 9579, -797, -1949, -44, 13315, 18031, -1941, 2844, + 102, -5909, -3002, -1699, -5909, -5909, -5909, -361, 1050, 819, + -5909, -5909, -4696, -4496, -5909, 2629, -2351, -5909, -651, 1805, + -649, -5909, -5909, -5909, -2886, -4982, -3031, 2633, -5909, -5909, + -5909, -185, -5909, 18404, -3326, -5909, -691, -1024, -1603, 3140, + -2987, -1912, -5909, -5909, -5909, -3147, -5909, -5909, -5909, -552, + -5909, -5909, 1956, -5909, -5909, -5909, -975, 2196, -768, -1189, + 1834, -4564, -5909, -589, -4233, -5080, -5909, -5614, -5908, -1781, + -1192, -3066, -4070, -1983, 1847, -3153, -5909, -1946, 1927, 1137, + -5909, 2103, -5909, 4324, -807, 2645, -820, 16025, -628, 10185, + -1296, -5909, 293, -4551, 4779, 6851, 39, -118, 6938, -659, + 2559, 3001, -5909, -5909, -6, 9793, -662, -999, -5909, 5237, + 16154, 15534, -3743, -5909 }; /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */ -#define YYTABLE_NINF -3025 +#define YYTABLE_NINF -3026 static const yytype_int16 yytable[] = { - 653, 71, 80, 1051, 83, 175, 84, 85, 86, 1737, - 929, 106, 124, 129, 963, 998, 159, 805, 831, 807, - 178, 191, 1004, 813, 1834, 1009, 769, 185, 821, 829, - 833, 1494, 836, 1105, 1664, 829, 829, 796, 866, 1380, - 869, 2854, 191, 796, 1951, 1828, 1717, 925, 925, 925, - 2748, 180, 1445, 2961, 184, 1392, 1145, 1480, 940, 1482, - 3654, 181, 1669, 3256, 999, 3530, 1231, 1232, 1233, 183, - 1436, 1437, 1237, 1465, 2839, 2883, 2053, 1729, 3901, 2853, - 1444, 2866, 3531, 1421, 867, 1894, 4060, 863, 951, 2045, - 4230, 1007, 4232, 4025, 1204, 3984, 1143, 1408, 3556, 3558, - 1237, 3782, 3118, 1051, 3932, 1029, 1867, 186, 651, 3247, - 1872, 1513, 4457, 4606, 2005, 1876, 4297, 2748, 1451, 4632, - 1178, 3923, 2037, 4940, 4349, 1886, 2039, 1823, 4657, 2040, - 2041, 2922, 2922, 3312, 1191, 2922, 3308, 3030, 3814, 1906, - 803, 4619, 4874, 1072, 5150, 1426, 4554, 4407, 3332, 4409, - 660, 5316, 3272, 832, 4272, 1420, 1051, 711, 4311, 4889, - 4909, 934, 3364, 4378, 3366, 4383, 1663, 2830, 942, 2680, - 1940, 5158, 5567, 1205, 3185, 1695, 1604, 2991, 2992, 943, - 5168, 5179, 232, 5667, 1145, 1722, 5642, 5516, 2987, 1608, - 1188, 653, 954, 954, 4980, 1176, 954, 3137, 1180, 5745, - 965, 1626, 866, 4286, 5119, 1001, 1643, 3437, 965, 1051, - 878, 965, 3439, 3920, 866, 3019, 954, 4255, 5328, 866, - 5330, 3522, 826, 954, 1400, 866, 852, 2830, 3525, 860, - 3296, 3300, 3303, 3304, 4098, 4317, 3313, 1879, 3315, 3316, - 5484, 1571, 5659, 3449, 2830, 4616, 5167, 5385, 717, 5784, - 5797, 4201, 4198, 1903, 1576, 5512, 778, 5742, 5253, 1836, - 5254, -2599, 1487, 1490, 4100, 717, 2810, 3860, 1022, 3863, - 3864, 1051, 5523, 4310, 3868, 3869, 3870, 5983, 3872, 3873, - 3874, 4111, 1571, -2519, -2641, 4134, 1902, 1571, 5515, -2667, - 3501, 5036, 2639, 6034, 778, -2710, 5707, 5708, 5382, 1933, - 5697, 4270, -2603, 4275, 4276, 5995, 1433, 1434, 2867, -2009, - 778, 3004, -2001, 778, 1212, -2009, -1968, 1443, -2001, -2446, - -2486, 3252, -1968, 3375, 5920, -2446, -2486, 778, -2487, -2486, - -2486, 6030, 6179, 1216, -2487, 187, 6186, -2487, -2487, -2898, - -1981, 4642, 1933, 1420, 1034, -2898, -1981, -2006, -2898, -2898, - 3375, 1859, 2857, -2006, 5273, -2026, 187, -1996, 870, 717, - 6181, -2026, 717, -1996, 717, 2111, 4385, 2857, 2602, 902, - 2602, 6461, 1263, 3115, 4078, 2616, 4571, 1605, 717, -2009, - 1933, 1396, 6031, 778, 2617, -2009, 4062, 2922, 1145, 1933, - 1943, 928, 4262, -449, 3841, 2116, 1947, 1605, 670, 4652, - 717, 6223, 2685, 778, 5362, 1933, 1958, 1883, 2998, 5436, - 1961, 4134, 4111, 5180, 1964, 6290, 1966, -2273, -1801, 4100, - 1828, 3776, 1974, 4350, -2273, 5733, 3703, 717, 1980, 2645, - 5363, 1983, 937, 5437, 949, 1933, -150, 1881, 6189, -2664, - 5847, 784, -150, 4707, 6468, 2691, 1729, 1034, 1933, 1035, - 3373, 5227, 5228, 5229, 1197, 5231, 5232, 5233, 5234, 5235, - 3472, 5047, 2647, 784, 784, 785, 6309, 2784, 2687, 784, - 2907, 4263, 3422, 40, 1986, 784, 5956, 1933, 1436, 1437, - 4998, 4386, 784, 3007, 3084, 5674, 5393, 785, 785, 3828, - 5872, 2857, 3527, 785, 2618, 1707, 1235, 6147, 1483, 785, - 3248, 3416, 2857, 2985, 3504, 4264, 785, 4957, 3417, 3577, - 1444, 3726, 44, 6458, 4477, 1036, 1617, 1916, 6159, 1884, - 4265, 5997, 664, 5949, 3647, 664, 941, 3001, 5950, 4481, - 2625, 2857, 4301, 6290, 5785, 5098, 1018, 5890, 1403, 999, - 2915, 4101, 4958, 4266, 6187, 1441, 1442, 6462, 1823, 5917, - 6310, 6188, 1035, 1959, 1451, 717, 48, 2939, 4112, 1099, - 6332, 2611, 5099, 2116, 5891, 1109, 3735, 1019, 6496, 1543, - 2640, 4302, 4267, 2626, 2116, 665, 1828, 1123, 933, 1037, - 3116, 4482, 1459, -2292, 5951, 4134, 1485, -1113, 1236, 999, - -2292, 3727, 1949, 1618, 2857, 3505, 891, 2645, 4484, 6334, - -1801, 3578, 2683, 2857, 3829, 3528, 1145, 5848, 2645, 3085, - 1934, 2857, 4999, 56, 2026, 2621, 2908, 1989, 1036, 4708, - 2634, 2634, 2067, 3423, 1864, 2036, 4603, 2107, 1132, 3008, - 2647, 2619, 4187, 5773, 5957, 2787, 3891, 5849, 4542, 3374, - 4959, 2647, 2046, 4130, 3230, 2108, 2050, 2868, 3596, 6391, - 2682, 6130, 6311, 1934, 6225, 1593, 3034, 3704, 6290, 5048, - 1054, 2869, 3230, 2870, 3230, 6226, 866, 718, 954, 5735, - 954, 4268, -1940, 954, 2956, 2605, 4554, 2959, 2768, 6280, - 1001, 5621, 1037, 2029, 1544, 1112, 6090, 954, 1615, 4112, - 5955, 1934, 191, 954, 2964, 3230, 4101, 4350, 3028, 3029, - 1934, 6378, 2884, 2815, 5015, 1433, 1434, 2661, 4572, -2664, - 2599, 3376, 3005, 4387, 4388, 871, 1934, 653, 2966, 929, - 3018, 3274, 1079, 4653, 5438, 1082, 965, 4091, 1884, 2871, - 1001, 6158, 1080, 965, 1236, 3625, 965, 2030, 4205, 5086, - 1081, 1145, 3006, 1443, 4389, 5351, 1934, 4643, 1236, 1145, - 1145, 3892, 954, 6035, 1042, 1208, 6032, 5364, 1043, 1934, - 3117, 2817, 1728, 2928, 6333, 2900, 3027, 2884, 2884, 5128, - 3268, 2824, 3842, 2734, 2884, 5394, 1935, 712, 1083, 6352, - 3442, 2614, 3466, 4102, 1865, 191, 5403, -2664, 1934, 6113, - 1431, 6033, 6180, 6353, 1209, 6508, 1214, 5990, 1218, -2664, - 4113, -2273, -2599, 2945, 1222, 866, 4149, 6514, 6312, 2901, - 5176, 1495, 790, 791, 1256, 2979, 2980, 2725, 2726, 1942, - 6182, 5175, 1446, 1447, -2519, -2641, 3035, 5022, 790, 791, - -2667, 790, 791, 5026, 1386, 1386, -2710, 866, 829, 2999, - 5585, 1448, 829, -2603, -2001, 790, 791, 1266, 1435, 1042, - 2834, -2446, -2486, 1043, 1239, 3187, 866, 1946, 2946, 2986, - -2487, 866, 2949, 2950, 2663, 2664, 1957, 1386, 1850, 1846, - 4478, -2898, 1439, 1851, 5993, 1852, 6404, 6241, 6242, -2006, - 671, 4945, 1979, 4947, 6272, 3418, 6282, 2068, 3213, -1996, - 3203, 2112, 1446, 1447, 2603, 4554, 6455, 4188, 6301, 3711, - 3228, 1606, 1607, 2834, 4472, 4473, 4319, 942, 4320, 4474, - 1239, 1450, 1982, 4272, 1386, 2686, 2587, 999, 943, 6334, - 2834, 1606, 1607, 1042, 6439, 1949, 1635, 1043, 866, 4146, - 4147, 4148, 4149, 71, 80, 1225, 83, 175, 84, 85, - 86, 866, 2885, 106, 124, 129, 1841, 1545, 159, 3071, - 1636, 4597, 178, 191, 4694, 6234, 866, 1528, 3002, 185, - -150, -150, 4515, 3893, 4313, 5902, 2909, -2292, 5554, 4748, - 4749, 4926, 4534, 4535, 6246, 866, 6335, 1476, 4616, 4985, - 954, 954, 1865, 180, 4189, 4753, 184, 3597, 4604, 1137, - 1499, 2788, 1410, 181, 4854, 4604, 1865, 6131, 4858, 1949, - 6227, 183, 6425, 3231, 4898, 1550, 187, 2885, 2885, 6355, - 5736, 6151, 829, 829, 2885, 1546, 3089, 4697, 3072, 4694, - 5129, 2030, 3522, 2809, 1933, 2789, 3214, 2600, 4291, 1395, - 5772, 2884, 4734, 1405, 1427, 1386, 1386, 5345, 5829, 186, - 3307, 3061, 3237, 5089, 4595, 3879, 1157, 4345, 5090, 653, - 1949, 954, 4237, 2687, 4812, 965, 3049, 3894, 1001, 965, - 4844, 965, 4846, 4847, 1627, 5906, 954, 4048, 944, 2958, - 2844, 3693, 1157, 4190, 2884, 944, 3469, 6358, 6359, 2582, - 2583, 2584, 2585, 2586, 2587, 1648, 713, 4529, 935, 6403, - 866, 6157, 2584, 2585, 2586, 2587, 6139, 954, 954, 187, - 928, 4144, 4145, 4146, 4147, 4148, 4149, 1649, 1828, 961, - 6343, 6307, 6150, 3079, -1802, 5888, 5130, 2886, 717, 866, - 866, 866, 4292, 954, 2658, 653, 1249, 653, 653, 5778, - 3694, 1274, 717, 4940, 4134, 2988, 4699, 1502, -3025, -3025, - -3025, 3020, 5013, 6259, 2884, 2884, 714, 5538, 2887, 4314, - 937, 5946, 4367, 5948, 3470, 5270, 936, 5952, 5953, 1650, - 945, 954, 1095, 954, 954, 4050, 6472, 945, 1051, 6273, - 5590, 5199, 2848, 1701, 2888, 3238, 4882, 6393, 2925, 1628, - 3131, 2929, 2886, 2886, 5680, 3169, 1535, 5144, 715, 2886, - 716, 2116, 1159, 3176, 2932, 5791, 1386, 3093, 2790, 2935, - 1898, 3616, 3988, 5792, 6441, 826, 1687, 1264, 5131, 1556, - 5485, 6059, 946, 2887, 2887, 2882, 1702, 6036, 982, 1250, - 2887, 3372, 2007, 1455, 2007, 983, 984, 985, 866, 191, - 805, 5963, 3225, 3226, 5787, 4585, 717, 667, 4551, 2888, - 2888, 6479, 4461, 1899, 6484, 3695, 2888, 1726, 1097, 5788, - 1098, 937, 1651, 5591, 2043, 6281, 866, 2884, 2647, 5486, - 2049, 1274, 1411, 5346, 4134, 941, 6498, 187, 4135, 4136, - 4137, 2885, 5271, 3880, 1386, 3010, 1459, 2884, 6295, 3016, - 2882, 2882, 3094, 4658, 6480, 4700, 6037, 2882, 3812, 5647, - 3555, 2850, 5889, 1706, 3989, 2791, -1802, 5979, -1968, 1707, - 3617, 1536, 1456, 5830, 4293, 6093, 5987, 5976, 3626, 929, - 1652, 3062, 6486, 3215, 2885, 1653, 1386, 4049, 3080, 1925, - 1654, 5117, 5514, 3616, 3269, -724, 3271, 3166, 4649, 5989, - 5502, 3401, 3278, 5533, 4346, 1934, 2960, 5992, 3293, 3294, - 1412, 3178, 6004, 3645, 2851, 1386, 1386, 1386, 5508, 1386, - 3317, 5567, 1260, 1991, 3184, 1993, 6025, 1995, 1503, 1997, - 3337, 1999, 2000, 2001, 6058, 1629, 3352, 4941, 2003, 6260, - 1386, 3921, 1656, 5975, 3844, 4659, 6360, 3162, 1845, 4118, - 1457, -1968, 5964, 1458, 2885, 2885, 3478, 5132, 5793, 1854, - 4131, 4132, 2884, 3712, 2108, 4151, 6295, 3196, 3627, 1131, - 938, 3164, 1251, 5991, 3239, 1862, 5567, 1630, 1708, 3183, - 2643, 866, 3856, 1703, 947, 4051, 3177, 5539, 5358, 3179, - 1658, 947, 3617, 5842, 3696, 3240, 5224, 4701, 4586, 1386, - 1230, 962, 3323, 3088, 1727, 4140, 2830, 4182, 4183, 3851, - 1900, 3713, 1631, 5376, 1659, 1252, 2886, 1253, 1517, 6402, - 6172, 4435, 5789, 1968, 6261, 4138, 2692, 2693, -1138, 2697, - 6409, 5965, 5133, 1132, 2852, 1661, 763, 943, 943, 3216, - 943, 3534, 999, 3222, 3223, 1386, 3402, 2887, 4139, 1386, - 1386, 3403, -2442, 6262, 1096, 5898, 15, 1537, 3620, 2886, - 866, 866, 866, 2732, 4235, 1386, 1969, 2885, 3282, 5892, - 6440, 717, 1459, 2888, 2092, 6317, 2978, 3283, 5350, 6141, - 1455, 4470, 4480, 2961, 1160, 5317, 1662, 2885, 829, 3743, - 2887, 6295, 4284, 2778, 20, 1704, 5118, 3267, 4993, 1538, - 4462, 6191, 3404, 3990, 1227, 6470, 3560, 5477, 1518, 1499, - 6348, 1499, 1632, 187, 2882, 3653, 2888, 1543, 3991, 683, - 5109, 1133, 1901, 2821, 4660, 5560, 2825, 5851, 829, 2886, - 2886, 954, 2033, 3629, 1539, 4140, 4436, 6487, 6167, 6423, - 3798, 3438, 1645, -1111, 866, 2856, 3799, -1968, 5561, 3127, - 5481, 6207, 4877, 866, 6254, 5562, 954, 2882, 5320, 1456, - 2887, 2887, 1519, 5324, 1709, 4764, 5326, 4765, 5189, 5563, - 2778, 3932, 6466, 3804, 6469, 1828, 3128, 806, 4374, 3744, - 3620, 2055, 3284, 1001, 1646, 866, 2888, 2888, 829, 1460, - 2779, 2924, 2924, 685, 4517, 2924, 6278, 6279, 5852, 4661, - 5820, 2064, 2885, 3349, 1528, 829, 1710, 1540, 866, 1528, - 6081, 866, 6478, 3973, 4928, 3805, 5843, -3025, -3025, -3025, - 4144, 4145, 4146, 4147, 4148, 4149, 2826, 2882, 2882, 5478, - 4994, 810, 1544, 3630, 3745, 954, 4554, 1457, 6510, 668, - 1458, 1711, 2886, 5786, 1077, 3535, 3189, 3653, 6271, 3148, - 3806, 687, 2748, 866, 5155, 3800, 2748, 3405, 1034, 1865, - 2105, 3285, 2886, 1970, 5777, 954, 954, 954, 954, 866, - 6208, 6192, 3149, 2887, 3207, 3212, 1042, 1520, -2470, 3217, - 1043, 5156, -175, 866, 3224, 1528, 2772, 3227, 6349, 1528, - 5110, 1134, 1228, 2887, 1386, 1386, 1386, 3746, 2773, 2888, - 5146, 32, 2982, 5564, 988, 989, 990, 991, 992, 993, - 994, 995, 996, -175, 2780, 3575, 2774, 40, 2698, 2888, - 5080, 5149, 4437, 4766, 3165, 5084, 6168, 3561, 1135, 4987, - 3562, 3175, 6092, 40, 4878, 1823, 1201, 834, 4551, 3286, - 2882, 4995, 3287, 2767, 194, 5108, 4262, 4141, 4142, 4143, - 4144, 4145, 4146, 4147, 4148, 4149, 44, -1968, 2701, 1459, - 2882, 3350, 2793, 1035, 4438, -1968, 5011, 1435, -1968, 1464, - 6351, -1968, 44, 2794, 5658, 1971, 696, 2886, 697, 999, - 999, 3129, 717, 1865, 941, 941, 3616, 941, 5821, -1138, - 195, 2780, 1136, 866, 1137, 1926, 3158, 6405, 1138, 4439, - 48, 838, 700, 1635, 866, 1880, 2702, 5696, 2887, 1927, - 1267, 2951, 954, 954, 49, 5314, 48, 1213, 1215, 1217, - 4052, 3747, 1219, 1220, 1221, 4263, 1517, 1636, 954, 1036, - 49, 816, 1226, 2699, 2888, 1411, 5916, 4875, 50, 6201, - 3150, 3801, 194, 6209, 3208, 3448, 866, 2924, 6210, 1483, - 6016, 5706, 6401, 1477, 50, 1525, 35, 3536, 1526, 4264, - 5565, 3288, 954, 954, 954, 954, 1928, 6255, 1445, 5103, - 6102, 866, 5566, 56, 4265, 2882, 1460, 3209, 866, 3, - 4, 3138, 817, 3802, 6211, 3617, 5157, 2931, 195, 2783, - 6381, 3210, 2775, 1037, 2607, 5104, 653, 4266, 3233, 653, - 6017, 1461, 3457, 2905, 3021, 3526, 4053, 839, 999, 965, - 965, 1949, 5996, 1412, 4876, 5982, 1518, 2784, 3803, 6238, - 1001, 1001, 3618, 2704, 965, 1260, 4267, 965, 6230, 3211, - 6256, 1274, 6382, 3751, 4134, 3762, 3700, 1485, 4135, 4136, - 4137, 1593, 954, 954, 1949, 763, 3022, 6103, 1407, 954, - 3576, 866, 3748, 1666, 6003, 2795, 5321, 4551, 4805, 1478, - 3749, 194, 3724, 3750, 3619, 15, 3642, 2952, 2007, 2608, - 1519, 1929, 2953, 1949, 5703, 954, 3205, 965, 3289, 191, - 3221, 965, 965, 1274, 866, 866, 4134, 954, 2705, 1486, - 4135, 4136, 4137, 3299, 866, 1667, 3253, 2796, 5704, 3234, - -1725, 866, 4362, 20, 866, 3138, 6362, 195, 805, 6231, - 4806, 805, 3258, -1725, 3751, 4006, 1386, 5819, 1386, -1725, - 5101, 1982, 5552, 1386, 1386, 4268, 191, 3205, 5617, 4698, - 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, 1386, - 1386, 1386, 1386, 3242, 1930, 5105, 1386, 4710, 1386, 1001, - 1386, 1386, 1386, 1386, 1386, 1386, 1079, 3127, 1386, 1082, - 1386, 1386, 3724, 3950, 1386, 2748, 1080, 3761, -1725, 3205, - 5359, 5155, 5679, 3620, 1081, 2748, 4475, 4983, 683, 1145, - 4363, 1386, 1386, 1386, 3128, 1520, 5483, 3845, 3846, 3847, - 2785, 3808, 3498, 2970, 721, 5102, 3807, 5066, 5156, 1386, - 784, -1725, 3197, 809, 3198, 3788, 3199, 4361, 3200, 3932, - 3201, 1668, 1083, 1101, 3202, 1102, 5711, 6149, 1884, 5322, - 5067, 2961, 6166, 2971, 785, 5507, 3809, 3763, 3889, 1504, - 3044, 6443, 4735, 4178, 3257, 3766, 5494, 4739, 3769, 954, - 3835, 3055, 4313, 4747, 4722, 5360, 4000, 1931, 4139, 6148, - 2748, 1521, 685, -1725, 4476, 4984, 5653, 3073, 5655, 3736, - 5808, 3737, 5388, -1725, 3813, 1982, 4760, 4761, 4762, 4763, - 2951, 1505, 4767, 4768, 4769, 4770, 4771, 4772, 4773, 4774, - 4775, 4776, 5974, 3738, 2701, 1207, 4680, 5463, 717, 1522, - 3639, 1675, 1483, 1523, 1401, 1042, -1772, 35, 1484, 1043, - 4139, 5473, -1772, 5475, -1724, 4555, 1506, 3205, 683, 2922, - 32, 3147, 4693, 3936, 3937, 3938, 3939, -1724, 3941, 3851, - 2874, 5464, 5752, -1724, 3671, 4524, 3159, 1509, 1524, 1157, - 3163, 2874, 2702, 3810, 4738, 4140, 4816, 4817, 1248, 4743, - 4744, 3673, 40, 3969, 4025, 1990, 1514, 1386, 1992, 818, - 1994, 4479, 1996, 4558, 1998, -475, 2875, 1676, 2002, 4694, - 3182, 1157, 837, 1525, 4388, 1510, 1526, 2875, 3811, 1511, - 4911, 5454, -1724, 5455, 5456, 5457, 5753, 6007, 6274, 5754, - 1485, 44, 685, 4841, -1772, 4044, 5755, 4140, 1515, 5496, - 3672, 1422, -637, 187, 4971, 6024, 4912, 5503, 4516, 1677, - 2703, 1386, 40, 6145, 1512, -1724, 1678, 3674, 3454, -1725, - 1679, 1124, -1725, 4941, 5756, 4561, 3495, 4316, 1527, 1635, - 6165, 5812, -1725, 1516, 861, 48, 2952, 5986, -1725, 764, - 3743, 2953, 1486, 2857, 3455, 696, -1772, 697, 6173, 49, - 187, 44, 2857, 1636, 4911, 2858, 5813, 4941, 1125, 2704, - 1672, 5954, 5395, 1472, 2865, 3907, 4263, -1724, 1386, 4913, - 5401, 3998, -150, 50, 1880, 1124, 4004, -1724, 4005, 1697, - 4912, 3962, 6174, 931, 3298, 5757, 935, -1725, 4011, 4843, - -475, 4012, 765, 4013, 4014, 48, 1126, 4016, 5758, -1773, - 4264, 4019, 1673, 4020, 3924, -1773, 4022, 4033, 3351, 49, - 6354, 5759, 1125, 4432, 3367, 4860, 4628, 4168, 3496, 2116, - -1725, 1698, 4417, 4175, 2705, 1699, 2862, 3023, 2863, 3090, - 3744, 6507, 932, 50, 4418, 4074, 5467, 1674, 4266, 3024, - 2656, 4564, 6364, 4913, 5703, 6236, 1127, 4914, 6516, 3120, - 4598, 4915, 56, 2645, 936, 4433, 1700, 4141, 4142, 4143, - 4144, 4145, 4146, 4147, 4148, 4149, 948, 233, 5704, 3025, - 4061, 1274, -1725, 669, 4134, 696, 5879, 697, 4135, 4136, - 4137, 761, -1725, 6327, -2848, 3745, 2647, -1773, -2848, 4565, - 4434, 1982, 4665, 6383, 2864, 873, 1635, 4666, 5288, 835, - 1127, 5880, 1680, 4941, 701, 4566, 4900, 4231, 6328, 4141, - 4142, 4143, 4144, 4145, 4146, 4147, 4148, 4149, 6384, 6080, - 1636, 4914, 957, 1904, 6497, 4915, -1724, 1976, 5049, 5919, - 4555, 4262, 3032, 3033, 5923, 5924, 4556, 5908, 6509, -1773, - 1681, 3908, 949, 1638, 1682, 5703, 40, 1905, 3746, 937, - 4557, 1977, 5050, 1386, 1386, 1386, 1386, 1386, 1386, 1386, - 1386, 1386, 1714, 1386, 959, 1718, 4268, 2108, 980, 5704, - 4901, 1446, 1447, 866, 1386, -1972, 981, 1386, 4558, 1683, - 4559, -1972, 5314, 4133, 866, 44, 1684, 3153, 3609, 3154, - 1448, 3606, -1979, 3610, 3611, 4161, 1446, 1447, -1979, 5097, - 6471, 1829, -1969, 3381, 1830, -1970, 4560, 4323, -1969, 4567, - 4263, -1970, 1435, -1973, 2681, 1450, 866, 6482, 1386, -1973, - 6485, 954, 1386, 5760, 1024, 1386, 5761, 1386, 3450, 48, - 1386, -1725, 4185, 2634, 1386, -1971, 717, 999, -1163, -1163, - 4561, -1971, 2109, 49, 4264, -2438, 4485, 3779, 1033, 3780, - 1042, 4351, 1230, 3784, 1043, 5713, 1435, 3497, 1464, 4265, - 2893, 4242, 4243, 866, 866, 1476, 778, 50, 4233, 4562, - 1041, 3603, 3747, 2115, 1386, 4217, 2116, 1988, 1087, 2894, - 1830, 29, 4266, 1386, 1386, 778, 56, 4393, 4139, 1042, - 4318, -2446, 5216, 1043, 4897, 3638, 4289, 866, 938, 1435, - 1042, 2681, 778, 1469, 1043, 3541, 1085, 3546, 5223, 4902, - 2645, 4267, 1476, 1476, 717, 717, 4903, -3025, 1828, 3909, - 4802, 5028, 1092, 4904, 6338, 4203, 1120, -2439, 2682, 6341, - 6342, 6008, 1042, 717, 1230, 3579, 1043, 3582, 4551, 5306, - 5717, 4890, 793, 2647, 3471, 3473, 3474, 805, 793, 805, - 3495, 4563, 3, 4, 4075, 1076, 4564, 4354, 4970, 4076, - 1106, 4905, 1145, 1386, 5183, 3493, 4279, 5904, 1625, 4666, - 2054, 3910, 56, 1642, 653, 4140, 1129, 965, 1001, 965, - 965, -636, 40, 954, 4906, 5246, 866, 5718, 3742, 1128, - 40, 5151, 5251, 5252, 3386, 3387, 3388, 3389, 4094, 2038, - 4095, 4334, 1830, 3748, 4565, 1144, 721, 829, 1446, 1447, - 4268, 3749, 5719, 4614, 3750, 3538, 4184, 3523, 3524, 2856, - 4566, 44, 1130, 2642, 6286, 29, 1830, 4927, 1435, 44, - 2681, 5720, 1147, 3659, 866, 3624, 4160, 5721, 4162, 4163, - 3670, 1158, 3496, 4427, 2748, 4960, 1167, 4967, 2655, 866, - 4944, 2656, 2689, 1168, 3193, 1830, 6326, 2656, 3204, 5722, - 5800, 3205, -3025, 5723, 4941, 48, 4709, -3025, 4222, 3832, - 4223, 866, 3206, 48, 4224, 3205, 4225, 4601, 5724, 49, - 3245, 1151, 4397, 3246, 4399, 6437, 4573, 49, -1796, -1796, - 4032, 3453, 866, 4625, 1982, 4626, -2787, 1174, 6233, 3458, - 4986, 1243, 2656, 50, 3547, 829, 3636, 2656, 1185, 3637, - 3718, 50, 3885, 3719, 4024, 3886, 1192, 3205, -3025, 1145, - 1202, 1265, 56, -1451, 4567, -1451, 40, 664, 954, 1389, - 56, 954, 1398, 1144, 1402, 778, 4324, 4325, 5342, 4073, - 4082, 3733, 2656, 2656, 4089, 1229, 4090, 2656, 4109, 2656, - 3071, 3844, 4120, 4153, 1230, 2656, 2656, 866, 866, 4338, - 4167, -1800, -1800, 2656, 3381, 44, 3778, 4172, -1799, -1799, - 4173, 6155, 3815, 5878, 3818, 3820, 4240, 2652, 4410, 2656, - 4452, 4411, 1238, 4415, 5725, 4458, 4416, 4141, 4142, 4143, - 4144, 4145, 4146, 4147, 4148, 4149, 4543, -2787, 3485, 4443, - 3358, 5599, 4444, 3361, 5600, 1234, 1386, 1386, 1386, 48, - 40, 4513, 1386, 1241, 4444, 6095, 6096, 1246, 4637, 4640, - 954, 4638, 4641, 49, 4671, 1247, 4785, 4672, 4503, 4786, - 5910, 5911, 4796, 954, 4510, 4797, 5091, 1244, 5092, 1386, - 5726, 954, 6444, 187, 5261, 1257, 5262, 50, -1725, 44, - 4066, -2787, 4068, 4069, 2856, 4808, 6051, 6052, 2656, 866, - 5162, -1725, 6197, 6198, -2787, 3922, 6287, -1725, 805, 4885, - -2787, 4891, 4886, -3025, 4892, 4896, -2787, 5833, 3562, 5834, - 954, 3933, -2787, 5169, 1259, -2787, 4448, 4887, 6411, -2787, - 6412, 3815, 5152, 48, 5218, 3205, 5258, 2030, 1260, 2656, - 3605, 954, 5291, 3955, 1258, 2656, 3613, 49, 4465, 5296, - 5353, 5379, 2656, 3562, 5380, 5509, -1725, 1261, 5510, -2787, - 6500, 3973, 5546, 5507, 3495, 4672, 5582, 3495, 1262, 5583, - 4063, 50, 5584, 5604, 1268, 2656, 5605, 1144, 1409, 4941, - 5614, 1270, 954, 1982, 954, 5620, 954, 1413, 4611, -1725, - 56, 1406, -2787, 5622, 3656, 1414, 4611, 5747, 2687, 5767, - 5748, 1415, 3205, 4591, 2748, 5801, 1419, 5861, 5802, 1274, - 5862, 5867, 4134, 1423, 1982, 3495, 4135, 4136, 4137, 2007, - -3025, 5870, 5886, 3495, 4611, 5887, 1428, 5938, 5978, 3493, - 5939, 2610, 2582, 2583, 2584, 2585, 2586, 2587, 6075, 5863, - 6005, -1725, 1429, 5887, -2787, 1469, 6042, -1713, -2787, 4173, - 1145, -1725, 1145, 3951, -2787, 6043, 3496, 1431, 2656, 3496, - 4673, 4837, 4675, 4839, 4677, 6063, 6067, 6068, 6064, 1982, - 2656, 999, 1435, 653, 954, 4791, 965, 4943, 965, 965, - 4946, 954, 4703, 4949, 6076, 1438, 6101, 6077, 1386, 3246, - 4574, 1729, 4576, 1386, 6155, 4327, 4716, 1452, 6104, 1828, - 4941, 3246, 5305, 1439, 5308, 929, 4584, 3496, 4587, 1274, - 6105, 1469, 4134, 3246, -2787, 3496, 4135, 4136, 4137, 6108, - 6109, 1454, 2656, 2656, 1274, 6110, 6137, 4134, 6111, 6138, - 1470, 4135, 4136, 4137, 1145, 1481, 2687, 5572, 5573, 6203, - 1496, 5576, 4611, 1386, 1386, 1386, 6218, 6220, 1386, 2656, - 2656, 5289, 6235, 1497, 929, 3205, 1386, 1386, 1386, 1386, - 6250, 1648, 6276, 6251, 6325, 6277, 6361, 5875, 2032, 5887, - 926, 927, 1386, 810, 4646, 1386, 1498, 1386, 6407, 4285, - 4970, 6408, 6427, 1649, 1501, 6428, 6435, -2789, 1507, 4886, - 1386, 1386, 6284, 6438, 1386, 1144, 2656, 1464, 6465, 6467, - -1725, 6064, 2656, -2787, 3883, 6475, 6513, 6515, 6476, 6428, - 6476, 4859, 1001, 4862, 1386, 2727, 1386, 2730, 1386, 1548, - 1648, 1574, 4757, -2488, 4961, 4941, 4139, 1577, -2787, 6517, - -2787, -2787, 6428, 1579, 1615, 1650, 1580, 1386, 1619, 1620, - 4221, 1621, 1649, 1632, 866, 1634, 1644, 1647, 1671, 1688, - 1689, 1705, -2787, 1716, 5377, 1715, 4784, 1719, 929, 1724, - 1725, 4711, 1838, 1842, 1840, 866, 1847, 1853, 1858, 1042, - 1861, 1863, -2787, 1043, 1868, -2787, -2787, -2787, 1871, 1873, - 1865, 187, 1882, 1887, 2110, 1888, -137, 1890, -2789, 1891, - 4227, 4228, 4229, 2113, 1650, 653, 1893, 1895, 3497, 4260, - 4819, 1896, 1907, 4260, 4274, 4260, 4260, 1914, 4825, 2604, - 929, 1916, 1386, 4140, 1476, 1919, 1923, 1386, 213, 1932, - 3700, 4923, 4981, 2682, 1937, 1939, 4139, 1938, 1651, 1941, - 1144, 1944, 1386, 2623, 2624, 1945, 1948, 1949, 1144, 1144, - 1972, 4139, -2789, 1956, 1960, 1962, 3497, 1985, 3724, 1963, - 4306, 1965, 1967, 4309, 3497, -2789, 3546, 1973, 1975, 1978, - 1981, -2789, 1984, 1987, 4964, 2004, 2035, -2789, 2044, 2042, - 5196, 2051, 5085, -2789, 2115, 2047, -2789, 2116, 652, 2052, - -2789, 2059, 5072, 2060, 4055, 2061, 1652, 1651, 2062, 5825, - 2063, 1653, 56, 2065, 2066, 2595, 1654, 1386, 2092, 4065, - 2067, 2069, 2070, 3493, 4070, 2071, 3493, 2072, 2073, 2074, - -2789, 2645, 2960, 4140, 2075, 2076, 2077, 2078, -3025, 2079, - 2080, 954, 954, 2081, 2082, 2084, 2085, 2086, 4140, 2087, - 2088, 2089, 2090, 5077, 6442, 4097, 2091, 2094, 2095, 2096, - 2097, 2098, 2099, -2789, 2647, 1652, 2100, 2101, 1656, 4605, - 1653, 2593, 2597, 2599, 3493, 1654, 2600, 1386, 5839, 2610, - 2615, 2628, 3493, 2637, 2659, 4373, 2665, 2667, 2660, 2668, - 2674, 2960, 2671, 2675, 5010, 2676, 2672, 2678, 2683, 2677, - 2690, 1484, 1486, 2721, 2723, 1274, 2105, 2733, 4134, 5860, - 2736, 2735, 4135, 4136, 4137, -2789, 1658, 2737, 2738, -2789, - 2754, 2755, 2756, 2757, 2681, -2789, 2758, 1656, 2761, 2760, - 2759, 2762, 2763, 2764, 2770, 4421, 2786, 4202, 2798, 2792, - 1659, 2812, 2816, 2819, 2818, 4141, 4142, 4143, 4144, 4145, - 4146, 4147, 4148, 4149, 2820, 2105, 2822, 2823, 2836, 866, - 2842, 1661, 2840, 2841, 2861, 2860, 4688, 2872, 2876, 2924, - 2878, 5529, 2879, 2880, 2881, 1658, 2882, 2890, 4209, 2891, - 4285, 2895, 2892, -3025, 2896, -2789, 2897, 2916, -3025, 952, - 2902, 2930, 2906, 2903, 4213, 2912, 2940, 2947, 964, 1659, - 2913, 2926, 2927, 2933, 2936, 2937, 964, 2942, 2943, 964, - 2954, 2955, 1662, 2957, 2962, 2965, 2963, 1593, 2968, 2969, - 1661, 4044, 2972, 2973, 2974, 2975, 2976, 2977, 2981, 2983, - 2984, 2989, 2990, 3000, 3009, 3043, 3031, 3003, 3038, -3025, - 3014, 3045, 3046, 3047, 810, 4141, 4142, 4143, 4144, 4145, - 4146, 4147, 4148, 4149, 3048, 3059, 4248, 3052, 3053, 4254, - 4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, 4149, 3054, - 3056, 1662, 3066, 3057, -2789, 3058, 3060, 3382, 1386, 3383, - 3067, 3065, 3074, 3064, 1386, 3075, 3078, 678, 3083, 3091, - 3102, 3106, 1668, 3119, 3107, 954, 3110, 3122, 2652, -2789, - 3125, -2789, -2789, 3126, 3146, 3139, 3384, 3485, 3135, 3143, - 3152, 928, 3161, 3156, 3168, 3485, 3170, 3172, 3171, 3173, - 3186, 3218, -3025, -2789, 3229, 3255, 3274, 2687, 3243, 3279, - 2116, 3320, 866, 866, 866, 3353, 3400, 3359, 5213, 3363, - 3380, 3420, 3426, -2789, 3446, 3441, -2789, -2789, -2789, 866, - 3444, 3461, 5205, 3398, 3462, 5207, 3447, 1459, 3476, 3515, - 3498, 3460, 4339, 1386, 3495, 3425, 936, 3445, 3495, 3516, - 4342, 3385, 3459, 3463, 3517, 3532, 3464, 3468, 3539, 3477, - 3540, 2007, 866, 866, 5222, 3552, 3551, 866, 3503, 3518, - 3554, 3580, 3571, 3585, -3025, 5283, 3583, 3588, 3593, 866, - 3598, 3604, 3599, 3601, 5124, 5125, 3628, 3612, 3633, 4140, - 5162, 1403, 3635, 3643, 1407, 3649, 3650, 3651, 3652, 3681, - 3662, 3675, 3680, 3701, 3707, 3708, 3709, 3386, 3387, 3388, - 3389, 5332, 3714, 3717, 3390, 3391, 3725, 3735, 3103, 3732, - 3392, 3734, 3108, 3756, 3755, 3816, 3839, 3840, 4635, 1884, - 3843, 937, 3831, 5490, 3772, 954, 3496, 3859, 3865, 3852, - 3496, 3871, 3866, 3867, 3876, 3887, 3898, 3899, 3913, 3221, - 4691, 3917, 3915, 3495, 3919, 4440, 3927, 4442, 3934, 3940, - 866, 3945, 3946, 3947, 3953, 3948, 3949, 3956, 3958, 3960, - 3961, 3964, 3965, 866, 3970, 3985, 3986, 3987, 5269, 3995, - 3996, -3025, 2714, 3997, 3999, 4001, 4015, 4017, 4631, 4018, - 4021, 4023, 1386, 2582, 2583, 2584, 2585, 2586, 2587, 4026, - 1386, 1982, 1386, 4823, 4027, 4028, 4045, 4029, 4041, 1239, - 4047, 4030, 1979, 4054, 4031, 4059, 1386, 1946, 4067, 4046, - 1386, 1386, 1386, 5461, 4668, 4035, 4036, 1386, 4057, 1236, - 1386, 4086, 4084, 1386, 4085, 4088, 4104, 4087, 4108, 1386, - 4099, 1386, 4106, 4110, 1386, 3496, 3297, 4116, -2265, 1386, - 1386, 1386, 1386, 4504, 4166, 1386, 1386, 1386, 1386, 1386, - 1386, 1386, 1386, 1386, 1386, 4091, 5907, 4169, 1386, 1386, - 1386, 5365, 4186, 4200, 4121, 4252, 4119, 3393, 1386, 4122, - 4181, 4126, 929, 1386, 4244, 3844, 929, 1386, 4130, 3394, - 5399, 4128, 3292, 4129, 4211, 1386, 4152, 4526, 1386, 4157, - 1386, 4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, 4149, - 2656, 4158, 4238, 4165, 4218, 4281, 1386, 4287, 4180, 1386, - 1386, 4208, 1386, 4246, 4245, 1386, 1386, 4212, 5405, 5406, - 1386, 4214, 1386, 4829, 4216, 4294, 4239, -2806, 4277, 4296, - 5336, 866, 866, 866, 4261, 4298, 2068, 4300, 4307, 4315, - 4321, 4326, 4328, 4247, 4329, 4253, 4333, 4335, 4347, 4348, - 4358, 1386, 4260, 4274, 4260, 4260, 4359, 1386, 4260, 4360, - 4364, 4852, 4366, 4370, 4372, 3497, 4371, 4376, 4379, 3497, - 191, 4830, 4831, 4832, 4833, 4867, 3495, 3495, 6318, 6319, - 4285, 4382, 6321, 3656, 4377, 952, 4384, 4396, 4398, 4414, - 4406, 4431, 4422, 4445, 964, 4395, 4447, 4449, 4404, 4405, - 1079, 964, 1386, 1082, 964, 4451, 187, 4453, 4285, 4459, - 1080, 4455, 4460, 5449, 5450, 4464, 4466, 3546, 1081, 1386, - 4467, 5374, 4488, 4191, 4502, 4192, 4471, 4669, -2806, 4468, - 4469, 4489, 4486, 4487, 4490, 4493, 4491, 4505, 4492, 4494, - 4496, 4498, 187, 4500, 4507, 4509, 2998, 3001, 4521, 4528, - 4522, 4523, 4193, 4495, 4539, 5529, 1083, 4497, 4525, 4499, - 4501, 4511, 4512, 4518, 4533, 4541, 4577, 4582, 3496, 3496, - 4592, 4583, 4593, 3493, 4942, 2007, 2856, 3493, 2007, 4589, - 4596, 2007, -2806, 4951, 5474, 4600, 4610, 4611, 5208, 5209, - 5210, 5211, 5212, 4613, 4620, -2806, 4623, 4629, 4630, 5598, - 4633, -2806, 4975, 4634, 4650, 4636, 4664, -2806, 4667, 4726, - 4674, 4670, 4676, -2806, 4682, 4683, -2806, 3385, 4684, 4685, - -2806, 4686, 4687, 4704, 4705, 4706, 5432, 4712, 4713, 4714, - 4715, 4717, 4718, 4719, 5637, 4720, 4721, 4725, 4730, 4731, - 4732, 4740, 2054, 4736, 5545, 4737, 4745, 5547, 5548, 4134, - -2806, 4746, 4798, 4810, -2264, 4733, 4689, 5024, 4811, 4758, - 4751, 4781, 4759, 4782, 4783, 4826, 4848, 5553, 4856, 4790, - 4855, 4842, 4863, 3386, 3387, 3388, 3389, 4814, 4864, 4838, - 4194, 4840, 3493, -2806, 5027, 4851, 4195, 4780, 4869, 4870, - 4853, 4868, 4871, 4873, 4879, 4882, 3778, 4884, 4888, 4285, - 4899, 4908, 4919, 4920, 4922, 4929, 4921, 4930, 4932, 4933, - 4936, 4952, 4955, 5069, 4973, 4956, 3647, 4976, 4989, 2115, - 5005, 3495, 2116, 4988, 5492, 4990, 2961, 4991, 3495, 5002, - 4992, 5003, 5004, 3495, 5006, -2806, 3495, 5007, 5016, -2806, - 5018, 5019, 5025, 5037, 5043, -2806, 954, 5038, 5046, 5641, - 5063, 5062, 5716, 2105, 5065, 4962, 2645, 2105, 5068, 5079, - 954, 5078, 1386, -3025, 5081, 5082, 5083, 5106, 5121, 5135, - 866, 5141, 5142, 5154, 5148, 5171, 5114, 5147, 5164, 5181, - 5170, 5094, 5116, 5127, 187, 5190, 5192, 2856, 5214, 2647, - 5187, 5191, 5932, 5194, 5934, 5188, 3230, 5195, 5206, 5200, - 5220, 5221, 866, 5230, 5238, -2806, 3485, 3497, 3933, 5239, - 3485, 5242, 5240, 3496, 5243, 3815, 5249, 952, 5250, 5260, - 3496, 5237, 5241, 964, 5163, 3496, 5244, 964, 3496, 964, - 5255, 5266, 5272, 5277, 866, 5281, -2266, 5275, 5276, 5299, - 5295, 5310, 5325, 4196, 5315, 5311, 1386, 1386, 5318, 5329, - 5334, 5338, 5349, 5339, 5354, 4197, 5357, 1386, 3306, 3306, - 2115, 5337, 4815, 2116, 810, 5355, 5361, 5381, 2007, 866, - 5352, 5382, 5396, 3333, 5386, 5397, 5400, 5398, 5402, 5407, - 5408, 5409, 3354, 5421, 5428, 5430, 866, 5434, 5443, 5424, - 5444, 5452, 5453, 1918, -2806, 1920, 1921, 2645, 5435, 5451, - 5943, 5458, 5462, 5465, -3025, 5469, 5470, 5471, -3025, 5764, - 5479, 5482, 5487, -3025, 5491, 3493, 3493, 5488, 5497, -2806, - 5495, -2806, -2806, 5501, 5506, 5489, 5511, 1386, 5513, 5517, - 2647, 5518, 5522, 5524, 5525, 5526, 999, 5535, 5665, 3443, - 5541, 5520, 5550, -2806, 1386, 5543, 5173, 5551, 5577, 6056, - 5581, 5439, 5440, 3205, 5442, 5587, 5556, 5570, 5597, 5571, - 5588, 5589, 1386, -2806, -3025, 5601, -2806, -2806, -2806, 5606, - 5612, 5616, 5643, 5619, 5661, 5638, 5686, 5646, 5654, 5657, - 5671, 5675, 5640, 5676, 5677, 5683, 5656, 5709, 5731, 5678, - 1386, 5670, 5672, 1386, 5673, 5689, 5105, 5681, 5737, 6089, - 5690, 1386, 1386, 4818, 5740, 5751, 5694, 5700, 5738, 1386, - 1386, 5750, 5701, 5770, 1386, 3495, 5702, 5743, 5746, 1386, - 5771, 5775, 1386, 2652, 1386, 5780, 5782, 5798, 5809, 5803, - 1386, 5810, 5811, 5817, 866, 866, 866, 866, 5826, 5827, - 5832, 5831, 5844, 5845, 5853, 5859, 6122, 6124, 5871, -3025, - 5875, 5873, 653, 5877, -3025, 4260, 5894, 5901, 5903, 3497, - 5905, 5876, 5884, 5909, 3497, 5841, 5912, 3497, 653, 5920, - 3815, 5914, 5331, 5926, 5959, 1386, 5966, 1001, 1551, 5846, - 5962, 5970, 5972, 5980, 5985, 5994, 5998, 6001, 1144, 5999, - 4306, 6000, 6002, 6011, 1386, 6012, 3546, 6019, 6023, 5899, - 5356, 5869, 6013, 6014, 6021, -3025, 6039, 3496, 2107, 6044, - 6029, 6040, 805, 6054, 1552, 6055, 5247, 5126, 6053, -3025, - 6078, 6028, 6070, 6060, 4219, 6082, 6115, 6085, 6083, 6086, - 6087, 6100, 6120, 6129, 6132, 5945, 6136, 6134, 6140, 6143, - 2856, 1386, 6144, 6160, 1402, 6161, 6170, 6171, 3485, 6177, - 6163, 6178, 6183, 6162, 6184, 5937, 5392, 6062, 6176, 6185, - 3493, 6190, 6195, 6206, 2652, 6199, 6200, 3493, 6202, 6214, - 6216, 6224, 3493, 6237, 187, 3493, 6239, 6245, 1553, 6130, - 3778, 6131, 5927, 5928, 6247, 6265, 6266, 6267, 6283, 6285, - 6127, 3778, 6304, 6302, 6303, 6305, 6308, 6306, 3495, 6316, - 6320, 5341, 5343, 6329, 6331, 6324, 6330, 6345, 6347, 6375, - 6371, 6376, 6413, 6365, 6372, 1554, 6253, 6389, 6377, 3495, - 6379, 6380, 1386, 5613, 6392, 6394, -3025, 6414, 6415, 1386, - 6418, 1402, 6416, 5716, 5613, 6417, 6433, 6456, 2582, 2583, - 2584, 2585, 2586, 2587, 4313, 6445, 6436, 6460, 6447, 6473, - 5931, 6334, 954, 3495, 6448, 1402, 6474, 6481, 6462, 6489, - -3025, 6490, 6495, 6493, 1145, 1555, 6499, 954, 6501, 6026, - 6506, 6504, 5805, 6512, 4236, 3789, 3706, 1578, 4390, 1685, - 1471, 1686, 4979, 2636, 4972, 6248, 3015, 3830, 3878, 5728, - 3496, 4538, 3975, 6114, 6346, 6313, 6314, 1551, 1386, 5123, - 5781, 4968, 4969, 5468, 5763, 4331, 5958, 4368, 5390, 1557, - 6396, 3496, 6340, 5663, 6397, 653, 1551, 6135, 6133, 3821, - 6264, 6357, 2856, 3825, 4375, 5499, 5174, 5145, 5153, 6097, - 5115, 2007, 3896, 1552, 4977, 6339, 3897, 4408, 5493, 5140, - 4599, 5769, 4639, 1559, 5198, 3496, 3933, 6410, 6511, 1670, - 6015, 6491, 1552, 6069, 5744, 6071, 4544, 5182, 6269, 954, - 3858, 3955, 3858, 5688, 3858, 3858, 5922, -3025, 3082, 3858, - 3858, 3858, 5691, 3858, 3858, 3858, 759, 812, 1075, 2582, - 2583, 2584, 2585, 2586, 2587, 4690, 5215, 866, 35, 6406, - 2832, 5897, 3925, 1561, 2027, 3557, 5217, 1553, 866, 3495, - 3485, 4322, 1562, 4656, 5184, 3485, 5806, 3157, 3485, 6009, - 3174, 1563, 1186, 3141, 4508, 3145, 1553, 3827, 5008, 2833, - 4454, 6289, 1146, 1416, 6446, 5201, 5202, 3935, 3855, 187, - 187, 3502, 1565, 5687, 1554, 6115, 5685, 6395, 4893, 2769, - 5344, 1566, 5893, 6221, 999, 3040, 1567, 5366, 5896, 2606, - 840, 1386, 3963, 1554, 3493, 841, 4283, 5245, 2718, 2657, - 2717, 1386, 6091, 4295, 1386, 3512, 6219, 1386, 1386, 1386, - 4285, 5504, 6072, 2722, 4845, 4861, 4256, 5618, 3495, 4249, - 5858, 5730, 999, 5857, 1555, 4894, 3514, 4250, 6431, 6205, - 1145, 3496, 1386, 1386, 6322, 4251, 6061, 1386, 3976, 6459, - 2666, 5404, 5840, 1555, 1568, 4792, 3421, 6073, 4215, 6074, - 3424, 3339, 4079, 3854, 4206, 1386, 6027, 4199, 6464, 1386, - 4115, 5868, 4741, 5420, 1556, 1386, 3436, 3500, 1557, 3497, - 1467, 0, 0, 5331, 0, 0, 1386, 0, 5636, 0, - 0, 0, 0, 0, 1386, 0, 0, 1557, 0, 0, - 4942, 0, 0, 1386, 0, 0, 0, 0, 0, 0, - 0, 1558, 1559, 0, 0, 0, 0, 0, 0, 0, - 3496, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1559, 0, 0, 4942, 1001, 954, 0, 954, 0, - 2007, 0, 0, 0, 0, 0, 5448, 0, 0, 0, - 0, 0, 0, 1560, 0, 0, 0, 35, 0, 0, - 0, 0, 1561, 0, 5936, 0, 0, 0, 0, 0, - 0, 1562, 965, 1001, 0, 0, 35, 0, 0, 0, - 1563, 3977, 0, 6477, 0, 0, 0, 3493, 1564, 0, - 1562, 0, 0, 0, 0, 0, 3495, 0, 0, 1563, - 0, 1565, 0, 0, 0, 0, 0, 2833, 3493, 5931, - 1566, 0, 0, 0, 0, 1567, 0, 965, 0, 0, - 1565, 0, 0, 0, 0, 0, 0, 6337, 0, 1566, - 0, 5114, 0, 0, 1567, 0, 866, 0, 0, 0, - 5639, 866, 3493, 0, 952, 0, 0, 952, 0, 187, - 2856, 0, 0, 0, 0, 3978, 0, 964, 964, 6454, - 866, 0, 2115, 0, 5163, 2116, 0, 5783, 5534, 2117, - 2118, 2119, 964, 1568, 0, 964, 0, 0, 954, 866, - 4942, 0, 0, 0, 0, 0, 0, 0, 3496, 2644, - 0, 0, 1568, 655, 0, 0, 3979, 71, 80, 2645, - 83, 175, 84, 85, 86, 0, 2646, 106, 124, 129, - 3495, 1144, 159, 0, 1386, 0, 178, 191, 0, 0, - 6454, 0, 0, 185, 0, 964, 6492, 0, 5796, 964, - 964, 1386, 2647, 0, 0, 1386, 0, 1386, 917, 0, - 929, 0, 0, 0, 0, 6454, 0, 180, 0, 1145, - 184, 1386, 0, 0, 0, 0, 0, 181, 5768, 653, - 0, 0, 1386, 0, 0, 183, 5866, 0, -3024, 0, - 0, 0, 0, 1386, 0, 6399, 6400, 6398, 0, 0, - 1386, 0, 0, 0, 0, 0, 0, 0, 3493, 5794, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 3496, 186, 0, 0, 0, 0, 0, 4504, - 0, 0, 0, 3375, 0, 0, 0, 3495, 0, 0, - 3485, 0, 0, 2007, 0, 0, 6434, 0, 0, 0, - 0, 0, 1386, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1386, 0, - 0, 2648, 0, 0, 1386, 1386, 2649, 0, 0, 954, - 954, 954, 954, 0, 0, 0, 0, 3493, 1144, -3024, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2650, - 2310, 0, 0, 0, 655, 0, 0, 0, 0, 972, - 1386, 0, 0, 655, 974, 0, 0, 0, 1008, 653, - 0, 655, 0, 974, 655, 0, 0, 2651, 0, 3496, - 0, 0, 1030, 0, 0, 0, 0, 974, 999, 0, - 0, 0, 0, -3024, 866, 0, 0, 3497, 0, 0, - 0, 0, 0, 0, 0, 0, -3024, 0, 0, 0, - 0, 0, -3024, 0, 0, 0, 0, 0, -3024, 0, - 2377, 0, 866, 0, -3024, 0, 4413, -3024, 0, 0, - 0, -3024, 0, 0, 0, 0, 2652, 0, 0, 2653, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1386, 0, 0, 0, 0, 3495, 187, 0, 0, 0, - 0, -3024, 1386, -3024, 0, 0, 0, 0, 0, 0, - 0, 1386, 1386, 1386, 0, 0, 0, 2007, 0, 0, - 0, 0, 0, 3815, 4463, 0, 1386, 187, 0, 0, - 0, 0, 0, 0, -3024, 1386, 0, 1386, 0, 1386, - 5636, 187, 0, 0, 0, 3493, 0, 0, 0, 0, - 0, 4942, 5988, 0, 2115, 0, 0, 2116, 1386, 0, - 0, 0, 0, 0, 0, 0, 0, 2007, 0, 1001, - 0, 0, 2654, 866, 0, 3333, 3333, 0, 1386, 6244, - 3333, 0, 0, 0, 0, 0, -3024, 3496, 0, 0, - -3024, 2645, 2115, 0, 4506, 2116, -3024, 0, -3025, -3025, - -3025, -3025, 0, 0, 0, 0, 0, 0, 0, 0, - 3495, 0, 0, 0, 2007, 2007, 3495, 0, 0, 0, - 0, 0, 3333, 3333, 2647, 0, 0, 0, 0, 2645, - 0, 2105, 0, 0, 0, 0, 2646, 0, 0, 0, - 0, 0, 3858, 0, 954, 0, 0, 0, 6296, 6297, - 0, 0, 0, 0, 4537, 4537, -3024, 0, 6156, 3493, - 0, 6079, 2647, 0, 4553, 0, 0, 0, 0, 1144, - 0, 1144, 2033, 0, 0, 0, 0, 2033, 2033, 2578, - 0, 0, 0, 0, 0, 0, 0, 0, 2579, 2580, - 2581, 2582, 2583, 2584, 2585, 2586, 2587, 4820, 0, 0, - 0, 0, 3496, 0, 0, 4107, 0, 0, 3496, 1386, - 0, 3376, 0, 0, 0, 0, 0, 4609, 0, 0, - 0, 0, 0, 0, 1386, 0, 0, 0, 5866, 0, - 0, 0, 0, 0, 1386, 0, 0, 0, 0, 0, - 0, 3495, 6222, -3025, 0, -3024, 3546, 0, -3025, 0, - 0, 0, 4645, 1144, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 965, 3493, 0, 0, 0, - -3024, 0, -3024, -3024, 0, 0, 0, 954, 3485, 0, - 187, 2648, 0, 0, 2007, 0, 2649, 0, 0, 0, - 0, 6010, 0, 0, -3024, 0, 0, 0, 0, -3025, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2856, - 0, 0, 0, 0, 0, 0, 1386, -3024, 0, -3024, - -3024, 0, 0, 0, 0, 0, 4942, 0, 0, 0, - 0, 0, 0, 3496, 965, 965, 6299, 2651, 0, 0, - 1386, 0, 2115, 0, 0, 2116, 0, 0, 0, 0, - 0, 0, 0, 0, 6066, 0, 0, 0, 2652, 0, - 191, 0, 974, 2007, 2007, 6315, 0, 0, 0, 0, - 0, 1386, 1386, 0, 0, 1386, 1100, 0, 6323, 2645, - 0, 974, 1100, 0, 0, 0, -3025, 974, 0, 187, - 6291, 0, 0, 0, 1100, 0, 2652, 0, 0, 974, - 6292, 0, 0, 2007, 0, 652, 0, 0, 6293, 954, - 0, 6370, 2647, 0, 0, 974, 0, 0, 0, 0, - 655, 6270, 0, 0, 0, 917, 0, 0, 0, 655, - 974, 0, 0, 0, 3493, 0, 655, 0, 974, 655, - 0, 6156, 954, 954, 0, 0, 6294, 4942, 0, 0, - 0, 917, 974, 0, -3025, 0, 0, 4803, 0, 0, - 0, 0, 974, 0, 0, 653, 0, 6502, 6503, 0, - 0, 0, 1386, 0, 0, 0, 0, 0, 191, 0, - 6388, 0, 0, 0, 795, 5293, 0, 0, 1386, 0, - 795, 0, 2654, 0, 3546, 0, 0, 0, 0, 4306, - 0, 0, 0, 0, 0, 0, 0, 0, 6291, 1386, - 0, 0, 0, 0, 0, 974, 0, 0, 6292, 0, - 0, 0, 952, 0, 0, 964, 6293, 964, 964, 0, - 0, -3025, 0, 0, 0, 0, -3025, 655, 655, 0, - 0, 0, 0, 974, 0, 6419, 6420, 653, 6424, 3493, - 0, 0, 0, 5866, 0, 3493, 2115, 0, 1386, 2116, - 0, -3025, 0, 0, 6294, 0, 0, 0, 974, 954, - 655, 0, 4942, 2582, 2583, 2584, 2585, 2586, 2587, 0, - 0, 0, 0, 0, 0, 0, 0, -3025, 0, 0, - 0, 0, 6388, 2645, 917, 0, 0, 0, 0, 2578, - -3025, 0, 0, 191, 0, 0, 0, 0, -3025, -3025, - -3025, 2582, 2583, 2584, 2585, 2586, 2587, 655, 0, 1386, - 653, 0, 0, 0, 0, 0, 2647, 0, 0, 0, - 974, 0, 0, 6291, 0, 0, 653, 0, 0, 0, - 0, 0, 0, 6292, 0, 0, 2652, 0, 0, 187, - 1648, 6293, 0, 965, 965, 0, 0, 6505, 0, 6388, - 0, 1581, 0, 0, 0, 0, 0, 1582, 0, 0, - 0, 0, 1649, 0, 187, 0, 6388, 0, 0, 0, - 3493, 0, 1690, 0, 0, 0, 0, 0, 0, 6294, - 0, 0, 0, 0, 4553, 0, 0, 0, 4952, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1584, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 5014, 0, 1650, 4962, 0, 0, 0, 0, - 0, 0, 2789, 0, 0, 0, 0, 5029, 655, 655, - 1824, 5030, -3025, 5031, 0, -3025, 0, 974, 0, 0, - -3025, 0, 655, 0, 0, 0, 0, 917, 655, 0, - 0, 0, 655, 0, 655, 0, 0, 1691, 917, 1585, - 0, 0, 4963, 0, 0, 0, 1586, 0, 0, 0, - 1587, 0, 0, 0, 917, 0, 0, 0, 0, 5071, - 0, 0, 6369, 0, 4964, 0, 0, 0, 0, 2115, - 0, -3025, 2116, 0, 0, 3858, 2117, 2118, 2119, 1588, - 3858, 0, 0, 0, 0, 0, 0, 1651, 0, 0, - 0, 0, 0, 0, 0, 0, 2644, 0, 655, 652, - 655, 655, 0, 0, 0, 0, 2645, 0, 0, 0, - 0, 0, 0, 2646, 0, 1589, 0, 0, 0, -3025, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3306, - 2652, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, 2647, - 0, 974, 0, 0, 0, 1652, 6430, 0, 0, 0, - 1653, 3333, 3333, 3333, 3333, 1654, 0, 3333, 3333, 3333, - 3333, 3333, 3333, 3333, 3333, 3333, 3333, 0, 0, 655, - 0, 2960, 0, 0, 0, 4965, 0, 0, 0, 0, - 5177, 0, 1581, 4553, 0, 4788, 0, 187, 1582, 0, - 0, 0, 3975, 0, 0, 1692, 0, 0, 0, 1591, - 0, 0, 974, 1690, 0, 0, 0, 1656, 0, 0, - 1592, 917, 0, 974, 0, 0, 1551, 0, 0, 0, - 1593, 3333, 3333, 0, 0, 0, -3025, 0, 0, 0, - 974, 0, 1594, 1584, 0, 974, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 655, 0, 0, - 0, 952, 1552, 0, 964, 1658, 964, 964, 2648, 5226, - 5226, 5226, 5226, 2649, 5226, 5226, 5226, 5226, 5226, 4850, - 0, 0, 0, 0, 1693, 0, 0, 1596, 1597, 1659, - 0, 0, 0, 0, 0, 0, 2650, 2310, 1691, 655, - 1585, 0, 0, 0, 0, 0, 0, 1586, 0, 0, - 1661, 1587, 4966, 0, 0, 4379, 0, 0, 0, 1694, - 0, 0, 0, 0, 2651, 0, 1553, 0, 655, 655, - 655, 0, 655, 0, 0, 0, 0, 0, 0, 0, - 1588, 0, 0, -3025, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 655, 0, 2582, 2583, 2584, 2585, 2586, - 2587, 1662, 0, 1554, 0, 0, 0, 2377, 0, -136, - 0, 0, 0, 0, 0, 0, 1589, 0, 0, 0, - 974, 0, 0, 2652, 0, 0, 2653, 0, 974, 974, - 0, 1, 1599, 0, 0, 5307, 0, 5309, 0, 0, - 0, 0, 2, 0, 3, 4, 0, 0, 3976, 0, - 0, 0, 655, 1555, 0, 0, 0, 0, 0, 0, - 0, 0, 5, 0, 0, 0, 0, 0, 2882, 0, - 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, - 0, 1824, 0, 0, 7, 0, 8, 9, 0, 0, - 0, 0, 0, 10, 0, 11, 1692, 1557, 655, 0, - 1591, 0, 655, 655, 0, 0, 0, 0, 12, 0, - 13, 1592, 0, 0, 0, 0, 0, 0, 655, 2654, - 0, 1593, 0, 652, 917, 0, 652, 14, 0, 0, - 15, 1559, 0, 1594, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 16, 0, 17, 0, 0, - 0, 18, 0, 0, 0, 0, 0, 0, 19, 0, - 0, 795, 0, 795, 0, 795, 0, 0, 20, 0, - 21, 795, 1223, 1224, 652, 3786, 35, 22, 1596, 1597, - 0, 1561, 652, 0, 0, 0, 0, 0, 0, 0, - 1562, 917, 0, 0, 0, 23, 0, 0, 0, 1563, - 0, 0, 0, 0, 0, 0, 0, 2833, 0, 0, - 3787, 0, 24, 0, 0, 0, 0, 0, 0, 0, - 1565, 0, 0, 0, 3333, 0, 2578, 0, 0, 1566, - 0, 0, 917, 0, 1567, 2579, 2580, 2581, 2582, 2583, - 2584, 2585, 2586, 2587, 0, 0, 0, 0, 4123, 0, - 0, 4124, 0, 0, 0, 3978, 0, 0, 0, 0, - 0, 0, 0, 5446, 5447, 917, 25, 26, 0, 0, - 0, 0, 27, 0, 0, 0, 3858, 0, 3858, 3858, - 3858, 0, 0, 1599, 0, 0, 0, 28, 0, 0, - 0, 0, 1568, 0, 0, 0, 3979, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1581, 0, - 0, 0, 0, 0, 1582, 0, 0, 3013, 0, 0, - 0, 0, 974, 0, 0, 0, 0, 0, 0, 1583, - 0, 0, 0, 0, 0, 5500, 0, 655, 655, 655, - 2115, 0, 0, 2116, 0, 30, 0, 2117, 2118, 2119, - 0, 0, 795, 0, 0, 0, 0, 0, 0, 1584, - 31, 0, 0, 0, 0, 32, 33, 2644, 34, 0, - 0, 0, 0, 35, 5528, 0, 0, 2645, 0, 36, - 0, 0, 37, 0, 2646, 0, 0, 0, 0, 38, - 0, 0, 0, 0, 0, 0, 39, 40, 0, 0, - 0, 0, 0, 0, 41, 0, 0, 0, 42, 0, - 2647, 0, 0, 0, 0, 0, 1585, 5226, 0, 43, - 0, 0, 795, 1586, 0, 0, 0, 1587, 0, 0, - 0, 0, 0, 0, 0, 0, 44, 974, 0, 0, - 0, 0, 0, 0, 0, 5274, 0, 0, 0, 917, - 0, 0, 0, 0, 0, 0, 1588, 45, 0, 0, - 917, 0, 0, 0, 0, 0, 0, 0, 0, 46, - 0, 0, 1824, 0, 0, 47, 917, 0, 0, 0, - 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 3092, 0, 1589, 0, 49, 974, 0, 0, 3109, 0, - 0, 0, 0, 974, 0, 0, 3013, 0, 0, 0, - 0, 974, 0, 0, 0, 0, 0, 0, 50, 0, - 51, 52, 53, 54, 55, 0, 0, 0, 0, 2648, - 917, 0, 0, 0, 2649, 0, 0, 56, 0, 655, - -136, 0, 655, 0, 0, 917, 0, 0, 917, 917, - 0, 3167, 655, 655, 0, 974, 974, 2650, 2310, 0, - 0, 0, 0, 0, 0, 0, 0, 655, 0, 974, - 655, 0, 1590, 0, 0, 0, 1591, 0, 3013, 917, - 917, 0, 974, 974, 0, 2651, 0, 1592, 0, 0, - 0, 0, 2115, 0, 4553, 2116, 0, 1593, 0, 2117, - 2118, 2119, 0, 0, 0, 0, 0, 0, 0, 1594, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2644, - 655, 0, 0, 0, 655, 655, 0, 0, 2377, 2645, - 0, 0, 0, 0, 0, 0, 2646, 0, 0, 0, - 3858, 0, 0, 0, 2652, 0, 0, 2653, 0, 5729, - 0, 1595, 0, 0, 1596, 1597, 0, 0, 0, 655, - 0, 655, 2647, 0, 0, 0, 655, 655, 0, 0, - 0, 0, 0, 655, 655, 655, 655, 655, 655, 655, - 655, 655, 655, 655, 655, 655, 1598, 0, 0, 655, - 0, 655, 0, 655, 655, 655, 655, 655, 655, 0, - 0, 655, 0, 655, 655, 0, 0, 655, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1551, 0, - 0, 0, 0, 917, 655, 655, 655, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2654, 0, 655, 0, 1824, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1552, 0, 0, 0, 2115, 1599, - 0, 2116, 0, 0, 0, 2117, 2118, 2119, 0, 0, + 653, 71, 80, 1052, 83, 999, 175, 84, 85, 930, + 86, 106, 124, 129, 159, 184, 178, 805, 1738, 807, + 185, 1835, 1665, 813, 1391, 1609, 1000, 769, 821, 830, + 834, 1495, 837, 1106, 1379, 830, 830, 2962, 867, 660, + 870, 832, 1952, 2749, 941, 1824, 711, 926, 926, 926, + 2884, 1481, 2855, 1483, 3655, 2006, 1145, 191, 180, 2854, + 1730, 796, 1231, 1232, 1233, 1446, 1670, 796, 1237, 181, + 1422, 1829, 3531, 183, 1437, 1438, 1466, 1399, 191, 2840, + 3532, 1895, 1178, 3257, 1445, 2054, 3902, 3985, 1409, 2046, + 3309, 4060, 952, 186, 2867, 1837, 1191, 1237, 1008, 1421, + 3557, 3559, 3119, 1052, 1452, 4026, 3933, 3248, 651, 964, + 2749, 4457, 1030, 4230, 1514, 4232, 4606, 1005, 3783, 2038, + 1010, 868, 4297, 2040, 1204, 3924, 2041, 2042, 3313, 4619, + 3031, 1197, 4632, 4658, 3220, 4349, 2923, 2923, 803, 4378, + 2923, 4383, 1605, 3273, 3815, 4554, 4407, 3333, 4409, 4272, + 4874, 833, 2992, 2993, 5316, 4311, 1052, 1073, 1718, 4909, + 4889, 4940, 943, 3365, 935, 3367, 944, 1627, 5567, 2681, + 5179, 2831, 1644, 232, 3186, 5523, 1205, 1188, 5158, 3138, + 4255, 4286, 5168, 1427, 5642, 1401, 5253, 5745, 5254, 5667, + 4980, 653, 955, 955, 3438, 5328, 955, 5330, 1577, 3440, + 966, 2988, 867, 5516, 5150, 1002, 864, 853, 966, 5484, + 1052, 966, 5119, 826, 867, 5784, 955, 879, 1868, 867, + 861, 3523, 1873, 955, 3526, 867, 5742, 1877, 3020, 4317, + 3921, 2831, 3450, 4616, 4098, 1176, 4310, 1887, 1180, 1572, + 4270, 5797, 4275, 4276, 4201, 4198, 5659, 717, 2831, 2686, + 5385, 1907, 5512, 717, 5167, 1488, -2600, 5515, -2642, 5995, + 1491, 778, 3861, 4100, 3864, 3865, 1880, 1664, 2811, 3869, + 3870, 3871, 1052, 3873, 3874, 3875, 1696, -2010, 5983, 3502, + 1572, 1941, 1904, -2010, 670, 1572, 1723, 1421, 3297, 3301, + 3304, 3305, 5273, 1544, 3314, -2002, 3316, 3317, 4134, 652, + 5036, -2002, -1969, 3253, 5697, -2487, 1434, 1435, -1969, 1903, + 950, -2487, -2520, 4187, -2487, -2487, 1934, 1444, 2640, 1934, + -2668, 4111, -2604, 778, 5707, 5708, 3005, 3376, -2711, 1934, + 2999, 3376, 4642, 778, 6030, 3892, 3002, 2845, 1707, 1262, + -2447, -2488, 1035, 1212, 1708, 3116, -2447, -2488, 1860, -2899, + -2488, -2488, 3238, 1216, 1865, -2899, 1934, 5920, -2899, -2899, + 945, 6332, -2010, 1395, -1982, -2007, -2027, 2030, -2010, 6034, + -1982, -2007, -2027, -1997, 962, 3283, 4542, 717, 717, -1997, + 717, 4062, 717, 2112, 3284, 6031, 2603, 1023, 2603, 1401, + 3215, 4345, 2923, 2684, -2443, 1606, 2117, 2858, 717, -150, + 4048, 778, 1934, 6223, 4461, -150, 2790, 5906, 1545, 5180, + 5733, 2858, 778, 1934, 1934, 2858, -2274, 5829, -1941, 4367, + 2788, -2665, 3617, -2274, 6186, 3062, 1934, 2986, 6179, 1730, + 2646, 6278, 6279, 2858, 2926, 5345, 784, 2930, 784, 2849, + 3080, 2692, -1803, 717, 5382, 778, 1829, 1036, 2908, 3374, + 3893, 2622, 946, 1709, 3350, 2858, 2635, 2635, 5956, 6468, + 785, 1727, 785, 2648, 5117, 6181, 1824, 4477, 1882, 5227, + 5228, 5229, 6159, 5231, 5232, 5233, 5234, 5235, 5872, 3085, + 1437, 1438, 5674, 5270, 839, 3239, 40, 5997, 3528, 3285, + 953, 4998, 784, 4603, 2688, 2826, 4882, 2051, 6147, 965, + 784, 1000, 784, 1557, 3842, 1412, 4052, 965, 784, 2769, + 965, 1987, 1445, 1037, 1618, 1960, 785, 664, 2608, 6458, + 664, 3618, 5773, 1944, 785, 44, 785, 3417, 1885, 1948, + 5890, 6016, 785, 2971, 3418, 717, 5395, 5463, 1452, 1959, + 4101, 1402, 1830, 1962, 5401, 1831, 5393, 1965, 2858, 1967, + 5785, 1000, 3117, 5917, 2117, 1975, 3777, 5891, 2851, 2858, + 2858, 1981, 717, 2972, 1984, 6333, 1100, 4134, 3286, 48, + 665, 5464, 1110, 934, 6496, 3736, 2027, 1038, 4188, 2791, + 5362, 6017, 3813, 1413, 1124, 2117, 2037, 2109, 2646, 1133, + 840, 1619, 4053, 2609, 2909, 2827, 2641, 2818, 4112, 2868, + 5271, 3529, 1829, 2047, 3086, 1401, 5363, 2825, -2293, 5647, + 2068, 2852, 3351, 871, 6334, -2293, 5957, 2606, 1043, 2646, + 1990, 2648, 1044, 4999, -1803, 4078, 56, 1935, 1273, 3231, + 1935, 4134, 6405, 6280, 2615, -3026, -3026, -3026, 3375, 1710, + 1935, 3231, 6225, -450, 3231, 3081, 3287, 6093, 1728, 3288, + 4049, 6391, 2648, 6226, 2683, 6090, 3597, 6130, 5621, 4653, + 1055, 5346, 3894, 2108, 5735, 4189, 867, 1935, 955, 5118, + 955, 1546, 4571, 955, 4554, 5955, 2792, 3216, 4346, 3231, + 1002, 1711, 5830, 718, 6461, 1113, 1083, 955, 4134, 3089, + 1096, -2665, 4462, 955, 2947, 3063, 963, 6158, 2950, 2951, + 712, 1236, 5015, 1434, 1435, 2031, 948, 3029, 3030, 3621, + 1934, 1159, 1866, 1935, 3240, 3377, 1712, 653, 930, 4205, + 6334, 1616, 2967, 1265, 1935, 1935, 966, 3006, 191, 1080, + 1002, 2853, 3118, 966, 1866, 3241, 966, 1935, 4643, 1547, + 1081, 1444, 1401, 1236, 1082, 2662, 5351, 6353, 6425, 3028, + 1401, 1401, 955, 2885, 4190, 4313, 3895, 3007, 1208, 6032, + 1729, 3000, 2687, 2031, 1084, 3019, 671, 3003, 3289, -2665, + 1043, 5128, 3269, 1432, 1044, 2902, 2789, 6335, 5585, 3626, + 6352, -2665, 4102, 2987, 5394, 3443, 2957, 3467, 2885, 2960, + 1447, 1448, 2929, 1936, 6033, 5403, 1943, -2600, 1496, -2642, + -2274, 3712, 2659, 2885, 2816, 867, 1947, 1866, 5175, 1449, + 2726, 2735, 5176, 5990, 1255, 2727, 2946, 6113, 1209, 4149, + 1214, 191, 1218, 4478, 1225, 5022, 3036, -2002, 1222, 6035, + 6404, 5026, 3204, 1958, 1436, 1385, 1385, -2487, 867, 830, + 4113, 790, 791, 830, 2980, 2981, 6241, 6242, 2835, 3073, + 6272, 790, 791, -2520, 3188, 4604, 4945, 867, 4947, 1851, + 6462, -2668, 867, -2604, 2664, 2665, 2901, 3072, 1385, -2711, + 1043, 5993, -2447, -2488, 1044, 1447, 1448, 6282, 6439, 1980, + 1000, -2899, 3843, 6508, 4604, 3290, 6301, 3214, 6180, 1636, + 1983, 1950, 3050, 4554, 1451, 6514, 1440, -2007, 2069, 3229, + 1043, 2835, 943, 4694, 1044, -1997, 944, 4272, 4319, 2113, + 4320, 3419, 2604, 1637, 6455, 1385, 4515, 2588, 2835, 1607, + 1608, 4472, 4473, -150, -150, 6182, 4474, 4926, 4985, 867, + 790, 791, 4140, 5364, 71, 80, 2885, 83, 2869, 175, + 84, 85, 867, 86, 106, 124, 129, 159, 184, 178, + 1138, 1842, 2870, 185, 2871, 4597, 4854, 867, 1529, 6234, + 4858, 4748, 4749, 790, 791, 1847, 4616, 2910, 5902, 1852, + 872, 1853, 3275, 1239, 945, 6355, 867, 4753, 6246, 4534, + 4535, 955, 955, 4654, 1950, 3496, 5554, 3232, 6227, 5086, + 191, 180, -2293, 2886, 6157, 3598, 4697, 4898, 4844, 4694, + 4846, 4847, 181, 6131, 4572, 5736, 183, 2885, 2600, 713, + 983, 1394, 1097, 830, 830, 1406, 953, 984, 985, 986, + 2872, 1935, 3523, 5090, 4291, 965, 186, 6151, 2886, 5538, + 1239, 4734, 965, 1160, 1950, 965, 1385, 1385, 2810, 1884, + 4091, 4237, 1428, 2886, 4050, 3090, 4812, 717, 717, 3308, + 653, 1503, 955, 5089, 1263, 6403, 966, 3694, 5842, 1002, + 966, 4595, 966, 6189, 2093, 6139, 946, 955, 2617, 714, + 1606, 717, 2585, 2586, 2587, 2588, 778, 2618, 4585, 2688, + 5787, 6150, 4529, 6358, 6359, 4146, 4147, 4148, 4149, 1702, + 5772, 867, 1227, 2979, 5129, 5788, 1248, 1477, 955, 955, + 3470, 2583, 2584, 2585, 2586, 2587, 2588, 6307, 5752, 5436, + 1500, 715, 1917, 716, 6343, 6348, 3695, 5820, 947, 5013, + 867, 867, 867, 3008, 955, 1551, 653, 6309, 653, 653, + 1411, 2885, 1703, 5437, 1829, 3423, 4314, 5778, 806, 3373, + 717, 3989, 4111, 4100, -3026, -3026, -3026, 4144, 4145, 4146, + 4147, 4148, 4149, 4699, 6472, 2959, 938, 4350, 6281, 936, + 3672, 955, 5753, 955, 955, 5754, 3674, 3128, 2887, 1052, + 2989, 4940, 5755, 1899, 3704, 6393, 2886, 3132, 3471, 3880, + 5680, 2885, 5199, 1456, 3630, 6273, 1969, 2619, 6059, 1249, + 5130, 6167, 5144, 4484, 3129, 5101, 1385, 826, 1688, 2888, + 5756, 3226, 3227, 2887, 4144, 4145, 4146, 4147, 4148, 4149, + 6441, 6310, 1273, 1035, 3499, 4134, 1900, 4301, 2887, 4135, + 4136, 4137, 2008, 938, 2008, 2889, 3673, 937, 867, 1970, + 805, 3696, 3675, 3990, 2888, 4385, 5658, 3654, 2779, 4805, + 4551, 6259, 1992, 1628, 1994, 2885, 1996, 2886, 1998, 2888, + 2000, 2001, 2002, 2044, 2779, 867, 4302, 2004, 2780, 2050, + 2889, 5757, 1457, 4707, 4313, 191, 2883, 2885, 5888, 3009, + 5102, 4586, 1504, 1385, 5758, 2889, 1866, 1230, 2885, 6360, + 1228, 5843, 5131, 3556, 3631, 5155, 3424, 5759, 1273, 892, + 3167, 4134, 6058, 6349, 4051, 4135, 4136, 4137, 5789, 5539, + 1460, 2883, 4700, 3021, 3179, 5821, 1456, 930, 4435, 5976, + 6486, 1926, 5156, 6311, 4284, 1385, 2883, 3185, 1036, 3170, + 948, 3627, 938, 3646, 2620, 2601, 6378, 3177, 2885, 1704, + 4650, 6004, 5502, 4118, 5514, 5508, 5989, 5533, 2109, 5992, + 1458, 2965, 3857, 1459, 1385, 1385, 1385, 5567, 1385, 953, + 4386, 2887, 6402, 3922, 3190, 965, 3744, 5979, 1629, 965, + 1885, 965, 3270, 6409, 3272, 3163, 5987, -1969, 4941, 1385, + 3279, 2886, 1250, 1950, 3628, 1536, 3294, 3295, 1518, 6168, + 3035, 5975, 2888, 3213, 1037, 1457, 3479, 3218, 3318, 4131, + 4132, 4659, 3225, 5358, 4151, 3228, 1518, 3184, 3338, 3130, + 1412, 3197, 5567, 6440, 3353, 3705, 3713, 3881, 2889, 3496, + 3697, 5991, 867, 1901, 2644, 1251, 6025, 1252, 5376, 4112, + 4101, 2886, 2887, 4436, 5438, 1919, 1971, 1921, 1922, 4139, + 1385, 4350, 3852, 3324, 5224, 1000, 4182, 4183, 6470, 4708, + 2831, 1705, 3165, 5047, 4701, 5889, 3745, 3845, 1038, 2883, + -1969, 2693, 2694, 2888, 2698, 944, 944, 3178, 944, 2781, + 3180, 5132, 1460, 1458, 3535, 5791, 1459, 6260, 1519, 6312, + 6487, 939, 3991, 5792, 3617, 2781, 1385, 5963, 1413, 2889, + 1385, 1385, 4138, 4660, 5898, 2886, 1519, 3992, 4292, 6230, + 1537, 867, 867, 867, 2733, 4235, 1385, 2962, 3714, 5760, + 5892, 3746, 5761, 1408, 5350, 4139, 1035, 2886, 6317, 5317, + 3217, 4993, 6290, 5847, 3223, 3224, 4140, 5157, 2886, 830, + 2883, 2784, 1520, -1802, 1594, 1902, 989, 990, 991, 992, + 993, 994, 995, 996, 997, 5696, 5133, 4877, 1972, 3799, + 1520, 1649, 3268, 3951, 1630, 3800, 2887, 1927, 4470, 2785, + 5320, 3473, 6261, 3727, 2822, 5324, 6295, 1478, 5326, 830, + 1019, 1928, 955, 1650, 3747, 3505, 3617, 5916, 2886, 6141, + 6231, 3128, 4362, 3618, 3149, 867, 2857, 2888, 5481, 1461, + 3439, 6262, 4387, 4388, 867, 1460, 1631, 955, 3234, 717, + 5189, 1020, 4140, 3561, 1607, 1608, 2887, 3150, 3129, 5946, + 1544, 5948, 3933, 2889, 1462, 5952, 5953, 5109, 810, 4437, + 3619, 1036, 4480, 4389, 1002, 1651, 867, 1078, 1929, 830, + 3752, 1632, 2925, 2925, 1633, 6191, 2925, 2888, 5964, 3805, + 6290, 1829, 2952, 3728, 4517, 1529, 830, 1521, 6201, 867, + 1529, 5048, 867, 4994, 2883, 4928, -1969, 2699, 3974, 667, + 4363, 4438, 3620, 2889, 3801, 1521, 3506, 2773, 5793, 1500, + 2887, 1500, 4661, 1479, 4554, 3618, 955, 5477, 3536, 2774, + 4293, 3806, 1950, 1460, 6295, 2749, 1538, 1037, 6081, 2749, + 5848, 5777, 2887, 1824, 867, 5786, 4439, 2775, 3748, 3235, + -725, 2888, 6381, 2887, 2883, 4987, 955, 955, 955, 955, + 867, 3752, 1461, 2768, 1950, -1802, 3807, 5965, 1652, 1201, + 5849, 6382, 4555, 2888, 867, 1545, 1529, 2889, 1539, 4878, + 1529, 1522, 2786, 1930, 2888, 1385, 1385, 1385, 4141, 4142, + 4143, 4144, 4145, 4146, 4147, 4148, 4149, 4662, 6271, 2889, + 40, 1038, 3576, 2887, 5080, 2785, 5146, 3402, 4130, 5084, + 2889, 5155, 3176, 1540, 4995, 6290, 5149, 668, 2883, 1523, + 4558, 3621, 2700, 1524, 3208, 3151, 1653, 35, 5108, 4551, + 6092, 1654, 1000, 1000, 2888, 3206, 1655, 5110, 5156, 44, + 2883, 835, 40, 3496, 1266, 4957, 3496, 5103, 2953, 5478, + -2471, 2883, 2961, 2954, -175, 6192, 1931, 5011, 1525, 6295, + 2889, 683, 5851, 5496, 4141, 4142, 4143, 4144, 4145, 4146, + 4147, 4148, 4149, 5104, 3562, 1526, 3577, 3563, 1527, 3749, + 4958, 44, 4561, 48, 867, -175, 1541, 3750, 1657, 3206, + 3751, 3159, 6423, 1526, 3496, 867, 1527, 49, 5388, 1866, + 3802, 2883, 3496, 955, 955, 1235, 5314, 4262, 3206, 4262, + 3166, 3094, 2983, 3621, 3249, 816, -1969, 3578, 4875, 955, + 6351, 50, 194, 2776, -1969, 48, 1436, -1969, 1465, 1125, + -1969, 1989, 2702, 5852, 1831, 685, 1659, 867, 2925, 49, + 3537, 1484, 3803, 3206, 3701, -638, 194, 763, 1528, 1646, + 3, 4, 3403, 955, 955, 955, 955, 3404, 6172, 1932, + 1660, 1000, 867, 50, 3527, 6478, 1126, 15, 195, 867, + 3725, 1446, 3139, 4481, 5359, 1636, 1273, 3804, 4959, 4134, + 2703, 1662, 56, 4135, 4136, 4137, 4263, 653, 4263, 1484, + 653, 1647, 195, 5467, 3209, 4876, 3095, 1236, 4564, 1637, + 966, 966, 6401, 4806, 1127, 20, 1950, 5982, 3405, 3579, + 2794, 1002, 1002, 3763, 5996, 966, 763, 6238, 966, 2702, + 4264, 2795, 4264, 5105, 4764, 4482, 4765, 3210, 6102, 1486, + 3458, 6003, 1663, 955, 955, 4265, 15, 4265, 5503, 903, + 955, 3211, 867, 6145, 1132, 2863, 4565, 2864, 4551, 5360, + 1213, 1215, 1217, 3764, 1128, 1219, 1220, 1221, 4266, 2008, + 4266, 3767, 4566, 5485, 3770, 1226, 955, 2703, 966, 3449, + 3725, 830, 966, 966, 20, 867, 867, 1486, 955, 3212, + 5617, 1487, 3198, 3300, 3199, 867, 3200, 4267, 3201, 4267, + 3202, 817, 867, 5590, 3203, 867, 3139, 2705, 6036, 805, + 6254, 2117, 805, 3259, 4007, 6103, 191, 1385, 1133, 1385, + 3254, 1083, 5486, 2865, 1385, 1385, 5552, 5819, 696, 5321, + 697, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, 1385, + 1385, 1385, 1385, 1385, 6362, 2704, 3890, 1385, 4698, 1385, + 1002, 1385, 1385, 1385, 1385, 1385, 1385, 701, 2749, 1385, + 4475, 1385, 1385, 191, 1080, 1385, 4710, 3643, 2749, 6466, + 4983, 6469, 2706, 3406, 1698, 1081, 4567, 6037, 2648, 1082, + 1401, 2626, 1385, 1385, 1385, 4735, 5591, 3846, 3847, 3848, + 4739, 3455, 4766, 5483, 2705, 194, 4268, 1207, 4268, 1084, + 1385, 3829, 6207, 4139, 1510, 2962, 1134, 1708, 1442, 1443, + 3933, 6507, 4361, 2796, -1138, 6173, 1699, 3456, 3033, 3034, + 1700, 3648, 32, 3220, 2627, 3808, 6166, 3739, 6516, 6149, + 3814, 1676, 5507, 3258, 4722, 6510, 6148, 4747, 4476, 5494, + 955, 195, 1511, 2749, 4178, 3654, 1512, 2933, 4984, 6174, + 1247, 1701, 2936, 3640, 40, 2797, 3737, 5679, 3738, 2706, + 5653, 4900, 5655, 3243, 4760, 4761, 4762, 4763, 3762, 6443, + 4767, 4768, 4769, 4770, 4771, 4772, 4773, 4774, 4775, 4776, + 5974, 1513, 5808, 818, -1113, 683, 4681, 40, 3744, 3022, + 4140, 32, 5322, 44, 862, 1594, 953, 1677, 6255, 953, + 6484, 5711, 2875, 4044, 1423, 683, 3789, 1667, 4374, 965, + 965, 1505, 3852, 3908, 2923, 1515, 3830, 5473, 4524, 5475, + 5706, 6208, 6498, 40, 965, 4901, 44, 965, 3011, -1111, + 1484, 3023, 3017, 4034, 4816, 4817, 1485, 48, 2876, 1678, + 1885, 3836, 3937, 3938, 3939, 3940, 1679, 3942, 1385, 1668, + 1680, 49, 6007, 1506, 2916, 4026, 838, 1516, 4001, 685, + 874, 6256, 44, 5560, 4479, 5454, 1473, 5455, 5456, 5457, + 48, 2940, 3970, 1649, 1673, 50, 1135, 965, 3745, 685, + 4841, 965, 965, 4911, 49, -1726, 5561, 1983, 1507, 4263, + 6274, 4738, 1517, 5562, 56, 1650, 4743, 4744, -1726, 4432, + 3809, 4262, 1385, 4693, -1726, 6024, 48, 5563, 50, 4912, + 764, 4516, 6479, 1136, 4941, 3780, 1674, 3781, 1486, 3811, + 49, 3785, 5703, 4264, 2952, 4168, 1404, 56, 4316, 3, + 4, 4175, 5986, 3746, 784, 3810, -1773, 687, 4860, -1163, + -1163, 4433, -1773, 5703, 50, 4388, 5704, 1651, 4941, 2612, + 4694, 1675, 5949, -1726, 3812, 6480, 35, 5950, 785, 1385, + 233, 4266, -476, 765, 4902, 1669, 669, 5704, 3963, 1983, + 1487, 4903, 4913, 5954, 761, 4971, 4434, 1137, 4904, 1138, + 4263, 4628, 932, 1139, 6497, 2875, -1726, 2932, 1991, 3909, + 1983, 1993, 836, 1995, 6209, 1997, 3747, 1999, 6509, 6210, + 933, 2003, 4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, + 4149, 2117, 6354, 5951, 4264, 4074, 4905, 4964, -1726, 1273, + 2657, 2876, 4134, 1636, -1773, 3925, 4135, 4136, 4137, 4265, + 1125, -1726, 1681, 6236, 6364, 6211, 4843, -1726, -1726, 4906, + 1652, 5564, 696, 5812, 697, 2646, 5288, 1637, -1726, 2858, + 4914, 187, 4266, 1636, 4915, 5098, 5066, 2894, 1098, 2635, + 1099, 2859, 696, 778, 697, 5879, -150, 1126, 5813, 1905, + 1682, 1881, 187, 4911, 1683, -1138, -1773, 1637, 2648, 5067, + 2953, 4267, 5099, 6286, 29, 2954, -1726, -476, 700, 4268, + 5880, 1881, 3024, 1906, 4941, 3999, 949, 4231, 1653, 4912, + 4005, 2109, 4006, 1654, 3025, 4598, 3091, 929, 1655, 1684, + 6327, 4890, 4012, 1977, 6383, 4013, 1685, 4014, 4015, -1726, + 3748, 4017, -1973, 6165, 2961, 4020, 3121, 4021, -1973, 5703, + 4023, 6080, 3496, 5049, 3026, 6328, 3496, 1978, 5908, 6384, + 1447, 1448, 1447, 1448, 1385, 1385, 1385, 1385, 1385, 1385, + 1385, 1385, 1385, 5704, 1385, 1128, 6187, 5050, 4033, 1449, + 1657, 1451, 4913, 6188, 867, 1385, 2858, 3910, 1385, 3610, + 4417, -1726, 1043, 5314, 1639, 867, 1044, -1980, 2866, -2439, + 4268, -1726, 4418, -1980, 1043, 40, 1230, 5097, 1044, -1970, + 1000, 950, 6471, 1715, 4061, -1970, 1719, -1726, 5565, 4323, + 4075, 3472, 3474, 3475, 1436, 4076, 2682, 867, 1659, 1385, + 5566, 4133, 955, 1385, 2039, 958, 1385, 1831, 1385, 3911, + 3451, 1385, -2440, 4161, 44, 1385, 1157, 1043, 4666, 1230, + 960, 1044, 1660, 4667, 1649, 4485, 4139, 4242, 4243, 5713, + 4914, 3496, 942, -2849, 4915, 4351, 1025, -2849, 3498, 4233, + 981, 3749, 1157, 1662, 867, 867, 1650, -1971, 982, 3750, + 4185, 5342, 3751, -1971, 4897, 1385, 3604, 5919, 48, 1436, + -1974, 2682, 5923, 5924, 1385, 1385, -1974, 3607, -1972, 3611, + 3612, 4393, 49, 4318, -1972, 717, 2895, 2643, 867, 6338, + 1831, 2110, 778, 3639, 6341, 6342, 3542, 5183, 3547, 4289, + 4279, 5216, 4667, 4217, 1663, 778, 50, 40, 1651, 717, + 3524, 3525, 6008, 717, 717, 4802, 4203, 5223, 793, 5028, + 5306, 1626, 2683, 4140, 793, 6287, 1643, 1034, 5246, 4551, + -1726, 4970, 29, 40, 1829, 5251, 5252, 1043, 805, -2447, + 805, 1044, 1447, 1448, 2656, 4614, 44, 2657, 1102, 3580, + 1103, 3583, 2690, 1401, 1385, 1831, 3494, 3387, 3388, 3389, + 3390, 4160, 1042, 4162, 4163, 653, -1797, -1797, 966, 1002, + 966, 966, 44, 5904, 955, 1477, 3194, 867, 3205, 2657, + 5151, 3206, 3207, 1093, 3246, 3206, 3743, 3247, 3454, 1107, + 48, 1983, 3539, -1725, 3459, -1801, -1801, 2657, 830, 1043, + 1086, 1652, 4338, 1044, 49, 3548, -1725, 1088, 2657, 4960, + 2857, 4967, -1725, 2055, 3637, 56, 48, 3638, 3719, 4944, + 1121, 3720, 1477, 1477, 3660, 867, 2749, -637, 50, 4927, + 49, 3671, 3886, 40, 6482, 3887, 1273, 6485, 4025, 4134, + 867, 3206, 1129, 4135, 4136, 4137, 4073, 56, 4354, 2657, + 6437, 5800, 1130, 4082, 50, 4941, 2657, 4709, 3072, 1653, + 1147, -1725, 867, 4601, 1654, 1158, 5863, 3833, 6326, 1655, + -1800, -1800, 44, 56, 3496, 3496, 4089, 4090, 1131, 2657, + 2657, 4109, 1151, 867, 3845, 2961, 5910, 5911, 3359, 4324, + 4325, 3362, 6233, 1167, -1725, 4120, 830, 4153, 2657, 1436, + 2657, 1465, 4986, 4167, 1273, 4172, 2657, 4134, 4173, 1174, + 1401, 4135, 4136, 4137, 4240, 4410, 48, 2657, 4411, 955, + 1168, 1657, 955, 4327, 5599, 4334, 4415, 5600, 1185, 4416, + 49, 5289, 6051, 6052, 4427, 4141, 4142, 4143, 4144, 4145, + 4146, 4147, 4148, 4149, 1192, 3625, -1725, 652, 867, 867, + 3383, 1436, 3384, 2682, 50, 4443, -1725, 1202, 4444, 1846, + 5878, 4513, 6155, 3816, 4444, 3819, 3821, 4452, 4637, 1659, + 1855, 4638, 4458, 56, -1453, 4640, -1453, 4672, 4641, 3385, + 4673, 3779, 4785, 778, 4796, 4786, 1863, 4797, 4573, 4808, + 6197, 6198, 2657, 1660, 3154, 1229, 3155, 1385, 1385, 1385, + 664, 4885, 4891, 1385, 4886, 4892, 4397, 4896, 4399, 1230, + 3563, 955, 1234, 5152, 1662, 4543, 3206, 4094, 1238, 4095, + 1273, 6095, 6096, 4134, 955, 927, 928, 4135, 4136, 4137, + 1385, 5218, 955, 5258, 2031, 5291, 2657, 5296, 2657, 4448, + 2657, 1243, 1241, 5353, 3386, 2857, 3563, 5169, 1245, 5379, + 867, 3734, 5380, 4139, 6444, 4222, 3923, 4223, 1256, 805, + 5162, 4465, 1246, 5509, 953, 1663, 5510, 965, 1257, 965, + 965, 955, 3934, 5546, 5582, 5584, 4673, 5583, 2657, 1258, + 5604, 4716, 3816, 5605, 1259, -1726, 5614, 4887, 5620, 1983, + 1260, 4611, 955, 4574, 3956, 4576, 1261, 1267, -1726, 936, + 3387, 3388, 3389, 3390, -1726, -1725, 5622, 3391, 3392, 4611, + 1269, 5747, -1774, 3393, 5748, 3974, 1407, 1410, -1774, 3496, + 5507, 4139, 187, 1414, 5767, 4063, 3496, 3206, 1416, 1415, + 4941, 3496, 6500, 955, 3496, 955, 4066, 955, 4068, 4069, + 4140, 2034, 4791, 1424, 5801, 5861, 2749, 5802, 5862, 1429, + 4591, 5867, 4503, -1726, 1983, 1420, 5870, 5886, 4510, 4611, + 5887, 4224, 5938, 4225, 4191, 5939, 4192, 937, 4943, 5978, + 2008, 4946, 2611, 2688, 4949, 6005, 6042, 1430, 5887, 4173, + 3494, 4625, 6043, 4626, 1000, 2657, -1726, 1439, 6063, 6067, + 3952, 6064, 1983, 4193, 6075, 6068, 6076, 1432, 2657, 6077, + -1774, 1401, 6101, 1401, 6104, 3247, 6105, 3247, 4140, 3247, + 6108, 1436, 1440, 2657, 6109, 187, 929, 2657, 4703, 4584, + 5091, 4587, 5092, 1730, 653, 955, 1453, 966, 6110, 966, + 966, 6111, 955, 5261, 5833, 5262, 5834, 4139, -1726, 1385, + 5572, 5573, 1482, 6137, 1385, 6155, 6138, 4837, -1726, 4839, + 6203, 4941, -1774, 4611, 1455, 930, 6218, 1273, 3386, 2657, + 4134, 6411, 938, 6412, 4135, 4136, 4137, 1470, 6220, 6235, + 3394, 2657, 3206, 6250, 1829, 6276, 6251, 4605, 6277, 1471, + 6325, 6361, 3395, 5875, 5887, 4647, 1497, 6407, 6427, 5576, + 6408, 6428, 4285, 1498, 1385, 1385, 1385, 6435, 6438, 1385, + 4886, 2657, 6465, 6467, 930, 6064, 2657, 1385, 1385, 1385, + 1385, 2688, 1499, 4970, 3387, 3388, 3389, 3390, 1470, 6475, + -1714, 4194, 6476, 1385, 4140, 1502, 1385, 4195, 1385, 6513, + 6515, 2116, 6428, 6476, 2117, 6284, 1465, 1508, -3026, -3026, + -3026, 1385, 1385, 1549, 4674, 1385, 4676, 6517, 4678, 5305, + 6428, 5308, 4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, + 4149, 1575, 4859, 1002, 4862, 1385, -2489, 1385, 2646, 1385, + 5717, 652, 1578, 4711, 4689, 2647, 4941, 2728, 1580, 2731, + 1581, 1620, 942, 5377, 187, 1616, 1621, 3701, 1385, 4981, + 1622, 4221, 1633, 1635, 1645, 867, 1648, -1726, 1672, 1689, + 1690, 2648, 1706, 1716, 1717, 1720, 1725, 1726, 930, 4757, + 1839, 939, 1841, 3496, 1843, 3725, 867, 5718, 1848, 1859, + 4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, 4149, 1854, + 1862, 1864, 1869, 1872, 1866, 1874, 1883, 1888, 1889, -137, + 1891, 1582, 5719, 4784, 1892, 1894, 653, 1583, 1896, 3498, + 4260, 1897, -2788, 1908, 4260, 4274, 4260, 4260, 1917, 5010, + 930, 5720, 5196, 1385, 1915, 1924, 1043, 5721, 1385, 1470, + 1044, 1920, 213, 4923, -3026, 1933, 2683, 1938, 4227, 4228, + 4229, 1939, 1940, 1385, 4196, 4961, 1942, 4819, 1945, 5722, + 1946, 1949, 1585, 5723, 1950, 4825, 4197, 3498, 1957, 1961, + 1963, 4306, 1964, 1966, 4309, 3498, 1968, 3547, 5724, 1973, + 1974, 1976, 1979, 1982, 2906, 1986, 1988, 1985, 2005, 2036, + 2649, 2043, 2045, 953, 2052, 2650, 965, 2093, 965, 965, + 2053, 2060, 2048, 2061, 2062, 5072, 4141, 4142, 4143, 4144, + 4145, 4146, 4147, 4148, 4149, 2063, 2596, 2064, 1385, 1586, + 56, 2066, 2067, -2788, 3494, 2068, 1587, 3494, 5825, 2070, + 1588, 4140, 2071, 2072, 2073, 2594, 2074, 2075, 2076, 2077, + 2078, 2079, 955, 955, 2080, 2081, 2652, 6442, 2082, 2083, + 2085, 2086, 5077, 2087, 1477, 2088, 2089, 2090, 2091, 1589, + 2092, 2095, 2096, 2097, 2098, 2099, 3496, 2100, 2101, 2102, + 2598, 2600, 2616, 2629, 2601, 3494, 5839, -2788, 1385, 2611, + 2660, 2666, 2661, 3494, 5725, 2638, 4373, 3496, 2668, 2669, + -2788, 2672, 2673, 2675, 2684, 1590, -2788, 2676, 2677, 2678, + 2679, 2691, -2788, 5085, 1485, 2653, 1487, 5860, -2788, 2722, + 2724, -2788, 2734, 2736, 2737, -2788, 2738, 2755, 2739, 2756, + 2757, 3496, 2758, 2682, 2759, 2760, 2761, 2762, 2763, 187, + 2764, 2765, 2771, 2787, 2799, 2793, 4421, 2813, 4044, 2820, + 5726, 2817, 2819, 4285, 2821, -2788, 2837, 2823, 2824, 4555, + 2841, 2842, 2843, 2862, 2873, 4556, 2877, 2861, 2882, 2879, + 867, 2880, 2883, 5529, 2881, 2891, 2893, 2892, 2896, 4557, + 2925, 2897, 2898, 2903, 5213, 1693, 2904, 2907, -2788, 1592, + 2917, 2913, 2914, 2927, 2931, 2928, 2934, 2941, 2937, 2938, + 1593, 2943, 2948, 2944, 2955, 2958, 2056, 4558, 2956, 4559, + 1594, 2655, 2963, 1594, 2964, 2969, 2970, 2973, 2975, 2976, + 2977, 3045, 1595, 2978, 2982, 652, 2065, 3001, 652, 2984, + 2990, 2991, 3056, 2985, 3044, 4560, 3004, 3010, 3015, 3039, + -2788, 3046, 3032, 3047, -2788, 3048, 3049, 3053, 3074, 3060, + -2788, 3054, 3055, 4141, 4142, 4143, 4144, 4145, 4146, 4147, + 4148, 4149, 3057, 3058, 1721, 3059, 3061, 1597, 1598, 4561, + 3066, 3067, 3065, 3068, 3075, 3076, 652, 3496, 3079, 678, + 3084, 3092, 3103, 3107, 652, 2106, 1669, 3108, 3120, 1385, + 3111, 3123, 3126, 3127, 3136, 1385, 3147, 3140, 4562, 1722, + 3153, 3157, 3148, 3219, 3169, 3144, 955, 3171, -3025, 3173, + -2788, 3187, 3162, 3256, 3230, 3244, 3275, 3160, 2579, 3172, + 1157, 3164, 3174, 3280, 3354, 2117, 3321, -3026, -3026, -3026, + 2583, 2584, 2585, 2586, 2587, 2588, 3360, 3381, 3364, 3401, + 3427, 3399, 3421, 867, 867, 867, 3445, 3426, 1460, 3447, + 3477, 3183, 1157, 3376, 3442, 3448, 3496, 3461, 3462, 3499, + 867, 3463, 2688, 3446, 3516, 937, 3460, 3517, 3464, 810, + 3533, 3518, 1600, 3540, 1385, 3553, 5124, 5125, 3541, 3572, + 4563, 3465, 3552, 3581, 3469, 4564, 3586, 3478, 3589, 3594, + 3613, 3555, 2008, 867, 867, 3504, 3519, 3584, 867, -2788, + 3599, 3600, 3629, 3602, 5490, 3634, 1404, 3636, 3605, -3025, + 867, 942, 942, 3644, 942, 1408, 3650, 5283, 3652, 3653, + 3651, 3663, 3676, 3681, -2788, 3710, -2788, -2788, 3682, 3702, + 5162, 3708, 3709, 4565, 5332, 3715, 3735, 3773, 3726, 3733, + 3756, 3718, 3757, 3736, 1885, 3817, 3832, 938, -2788, 4566, + 3840, 3844, 3841, 3853, 3860, 5399, 3866, 3872, 3877, 3867, + 3899, 3868, 3888, -3025, 3914, 3900, 955, 3916, -2788, 3918, + 3928, -2788, -2788, -2788, 3941, 3920, -3025, 3946, 3947, 3948, + 830, 3949, -3025, 3950, 3957, 3935, 3954, 3959, -3025, 3961, + 867, 3962, 3965, 3966, -3025, 3368, 5205, -3025, 3971, 5207, + 3986, -3025, 3988, 867, 3987, 4631, 5208, 5209, 5210, 5211, + 5212, 3996, 3997, 3998, 4000, 4002, 4016, 4019, 4018, 4823, + 4022, 4024, 1385, 4027, 3496, 4041, 4028, 5222, 4029, 4030, + 1385, -3025, 1385, -3025, 4031, 4047, 1983, 1980, 4032, 4054, + 1947, 4669, 4046, 4057, 4045, 5269, 1385, 4036, 4059, 4067, + 1385, 1385, 1385, 4567, 1236, 4086, 4088, 1385, 4104, 4091, + 1385, 3298, 4084, 1385, -3025, -2266, 4085, 4108, 4087, 1385, + 5907, 1385, 4099, 4106, 1385, 4166, 4116, 4169, 4635, 1385, + 1385, 1385, 1385, 4186, 4181, 1385, 1385, 1385, 1385, 1385, + 1385, 1385, 1385, 1385, 1385, 4110, 4200, 4119, 1385, 1385, + 1385, 4121, 4122, 4126, 4211, 4128, 4130, 3845, 1385, 4129, + 4152, 930, 4208, 1385, 4212, 930, -3025, 1385, 4157, 4158, + -3025, 4238, 4165, 4180, 2657, 1385, -3025, 4218, 1385, 4214, + 1385, 4277, 4252, 4281, 4216, 4239, 4244, 4245, 3496, 4294, + 4246, 2069, 4296, 4247, 4253, 4300, 1385, 4298, 4307, 1385, + 1385, 4261, 1385, 4321, 4287, 1385, 1385, 4326, 1239, 4315, + 1385, 4328, 1385, 4829, 5461, 4329, 4333, 4335, 4347, 4348, + 5336, 867, 867, 867, 4358, 4360, 4366, 4359, 4364, 4372, + 4376, 4382, 4285, 4370, 4371, 4379, -3025, 4384, 4377, 4395, + 4396, 1385, 4260, 4274, 4260, 4260, 4398, 1385, 4260, 4406, + 4404, 4852, 4414, 4405, 1083, 3498, 4422, 4431, 4449, 3498, + 4285, 4447, 4445, 4451, 4455, 4867, 6318, 6319, 4453, 4459, + 6321, 4460, 4464, 5374, 4466, 4467, 4468, 4469, 4486, 4471, + 4487, 4488, 4489, 4490, 5365, 4491, 4492, 4494, 4495, 4493, + 4496, 3377, 1385, 4497, 4502, 3496, 191, 1080, 4830, 4831, + 4832, 4833, 4498, 4500, 4499, 4505, 4507, 3547, 1081, 1385, + 4501, 4509, 1082, 4511, 2999, 4512, 3002, 4528, 4533, 4521, + 4518, 4539, 4577, 4522, 4523, -3025, 4525, 4541, 4592, 4583, + 4593, 2715, 1084, 4582, 4596, 4600, 4613, 5529, 4589, 4610, + 4611, 5405, 5406, 4620, 4629, 4630, 4623, 4634, 4651, 4633, + -3025, 4636, -3025, -3025, 4665, 4668, 4671, 4675, 4683, 4677, + 4684, 4685, 4686, 3494, 4942, 2008, 2857, 3494, 2008, 4687, + 5474, 2008, 4688, 4951, -3025, 4690, 4704, 4705, 5432, 4706, + 4712, 4713, 4714, 2055, 4715, 4717, 4718, 4719, 5598, 4725, + 4731, 4732, 4975, 4720, 4721, 4736, 4730, -3025, 4733, -3025, + -3025, 4737, 4740, 4134, 4745, -2265, 4746, 4798, 4810, 4811, + 4855, 4863, 4864, 4870, 4869, 4871, 4751, 4848, 5439, 5440, + 4781, 5442, 4879, 5637, 3976, 4842, 4782, 4758, 4856, 4882, + 4783, 4790, 4884, 4814, 4888, 4908, 5449, 5450, 4899, 4919, + 4920, 4921, 4826, 4838, 4930, 4922, 4840, 5024, 1552, 4929, + 4853, 4285, 2116, 4851, 4868, 2117, 4873, 4932, 4933, 5716, + 4936, 3648, 4952, 3496, 4955, 4956, 4989, 4976, 4973, 4992, + 187, 5004, 3494, 4988, 5005, 4990, 5492, 4991, 5002, 5003, + 5006, 5007, 5018, 5016, 1553, 5019, 5025, 5037, 5046, 2646, + 5038, 5062, 5043, 5063, 5065, 4962, -3026, 5068, 5027, 2962, + 5078, 5079, 5081, 5069, 5082, 5083, 5106, 5121, 5135, 5094, + 3779, 5141, 5142, 5154, 5116, 5164, 5170, 187, 5171, 5127, + 5181, 5147, 2648, 5188, 5190, 5148, 5187, 5192, 5194, 5191, + 5195, 5214, 5200, 5641, 5206, 3231, 955, 5220, 5221, 5230, + 5238, 5239, 5237, 5240, 5241, 5242, 5243, 5249, 1554, 5250, + 955, 3299, 1385, 5260, 652, 5272, 5275, -2267, 652, 5276, + 867, -2790, 5299, 5325, 5281, 5244, 5114, 5545, 5334, 5255, + 5547, 5548, 5266, 5277, 5295, 3352, 5315, 2857, 3496, 5310, + 5932, 5311, 5934, 5318, 3496, 1555, 5337, 5329, 5338, 5349, + 5553, 5339, 867, 5352, 5354, 4184, 5355, 3498, 3934, 5357, + 5361, 5382, 5381, 5396, 5397, 3816, 5398, 5386, 5400, 5402, + 5407, 5408, 5409, 5421, 5163, 5424, 5430, 5443, 5428, 5434, + 5435, 5444, 5453, 5451, 867, 5462, 5452, 5465, 5469, 5470, + 3977, 5471, 5479, 5482, 5488, 1556, 1385, 1385, 5491, 5458, + 5487, -3026, 5495, 5497, 5501, 5506, -3026, 5511, 1385, 5513, + 5489, 5517, 5518, 5522, 5524, 5525, 5520, 5526, 5535, 2008, + 867, 5541, -2790, 652, 3206, 5543, 5550, 5764, 5551, 5556, + 5570, 5577, 5587, 5571, 5581, 5588, 5589, 867, 5597, 1558, + 6056, 5601, 5606, 5612, 5638, 5616, 5943, 5619, 1000, 5643, + 5613, 5646, 5661, 5654, 5657, 5671, 5675, -3026, 5676, 5677, + 5683, 5613, 5709, 5731, 5105, 3494, 3494, 5740, 5737, 3496, + 5656, 5738, 5751, 1560, 5640, 5678, -2790, 1385, 5770, 5771, + 5775, 5689, 5173, 5670, 5782, 5672, 5798, 5673, 5665, -2790, + 6089, 3606, 5690, 5694, 1385, -2790, 5750, 3614, 5809, 5700, + 5701, -2790, 5702, 5743, 5817, 5803, 5746, -2790, 5780, 5681, + -2790, 5827, 1385, 5810, -2790, 5811, 2653, 5826, 35, 5831, + 5945, 5853, 5832, 3978, 5844, 5845, 5686, 5875, 5859, 5871, + 3382, 5877, 1563, 5873, 5884, 5894, 5876, 6122, 6124, 5903, + 1385, 1564, 5909, 1385, -2790, 3657, 5901, 3497, 5912, 2834, + 5905, 1385, 1385, 5914, 5920, 5926, 5959, 5966, 5970, 1385, + 1385, 795, 1566, 5962, 1385, 5972, 5980, 795, 5994, 1385, + 5985, 1567, 1385, 5998, 1385, 5999, 1568, -2790, 6000, 6001, + 1385, 6002, 6012, 6013, 867, 867, 867, 867, 6028, 6011, + 6014, 2116, 6019, 6023, 2117, 6021, 6039, 3979, 2118, 2119, + 2120, 6040, 653, 6029, 6044, 4260, 6053, 6054, 6055, 3498, + 5247, 6078, -3026, 6070, 3498, 6060, 6085, 3498, 653, 6082, + 3816, 4219, 5331, 6086, 6062, 1385, 6087, 1002, 2646, -2790, + 6083, 6100, 6120, -2790, 1569, 2647, 6129, 6140, 3980, -2790, + 4306, 6132, 6143, 6134, 1385, 6144, 3547, 6136, 6160, 6161, + 6163, 6162, 5841, 6177, 6170, 6171, 652, 652, 6176, 6178, + 2116, 2648, 805, 2117, 6184, 6185, 5846, 6190, 6183, 6195, + 6199, 6200, 6115, 5356, 6202, 6206, 6214, 3307, 3307, 6224, + 6216, 6237, 6245, 6239, 6130, 6131, 6247, 6265, 5869, 6266, + 2857, 1385, 3334, 6267, 6285, 2108, 6283, 2646, 6302, -2790, + 5716, 3355, 6304, 6303, -3026, 6305, 5392, 6253, 6308, 6316, + 3494, 6306, 6320, 6324, 6329, 6331, 6330, 3494, 6345, -3026, + 6347, 6377, 3494, 6365, 6380, 3494, 6371, 6127, 6375, 6376, + 2648, 2583, 2584, 2585, 2586, 2587, 2588, 5341, 5343, 6372, + 6379, 6389, 6392, 6413, 6394, 6414, 6415, 6416, 5868, 6418, + 6417, 4313, 6433, 6445, 3779, 3884, 6447, 6448, 810, 6436, + 6456, 6460, 6473, 6334, 6474, 3779, 6462, 6481, 6489, 5927, + 5928, 6490, 1385, 6506, 6499, 6493, 6495, 6501, 6512, 1385, + 2649, 6504, 5899, 5805, 3016, 2650, 6313, 6314, -2790, 1687, + 1472, 4236, 1579, 3707, 4972, 3790, 4390, 4979, 6248, 3831, + 5931, 3879, 955, 4202, 4538, 5728, 1552, 6114, 2651, 2311, + 1686, 6346, 5123, -2790, 1401, -2790, -2790, 955, 5781, 4968, + 4969, 2637, 5468, 5763, 4368, 4331, 6339, 5958, 6396, 6340, + 5390, 5663, 6397, 6135, 6133, 6264, 2652, -2790, 5937, 6357, + 5499, 5936, 1553, 4375, 5145, 5174, 5153, 6097, 1385, -3026, + 5115, 3897, 3898, 4977, -3026, 4599, 4408, -2790, 5140, 1671, + -2790, -2790, -2790, 5493, 5769, 653, 4639, 5198, 6015, 6410, + 6511, 6491, 2857, 5744, 4544, 6269, 5688, 5182, 3083, 2378, + 5922, 2008, 5691, 759, 812, 5215, 1076, 4691, 5897, 6406, + 5217, 3382, 3926, 3558, 3146, 2653, 3934, 4322, 5184, 3142, + 4657, 652, 3158, 5806, 2028, -3026, 1554, 6009, 652, 955, + 4508, 3956, 3175, 652, 1146, 1186, 652, 5327, 3828, 5008, + 4454, 6289, 6446, 1417, 5201, 3486, 3856, 5202, 3503, 6395, + 3041, 6221, 2770, 4893, 5344, 4055, 5893, 867, 5896, 2658, + 6069, 841, 6071, 1555, 842, 2607, 5245, 4283, 867, 4295, + 4065, 3513, 6026, 6219, 6072, 4070, 1000, 4256, 4845, 4861, + 2719, 2718, 5618, 2723, 2653, 4249, 5858, 5857, 4894, 4250, + 187, 3497, 6431, 5687, 6205, 6322, 6061, 4251, 6459, 2667, + 5840, 6115, 4285, 4792, 3422, 6073, 4097, 4215, 6074, 3425, + 3340, 2655, 4079, 1556, 1000, 3855, 4206, 6027, 6464, 4199, + 4115, 1385, 4741, 655, 3494, 1468, 3437, 5504, 3501, 0, + 0, 1385, 6091, 0, 1385, 0, 0, 1385, 1385, 1385, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2116, 1558, 0, 2117, + 1401, 0, 1385, 1385, 0, 0, 0, 1385, 918, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + -3026, 0, 0, 0, 0, 1385, 0, 0, 0, 1385, + 0, 1560, 0, 2646, 0, 1385, 0, 0, 0, 3498, + -3026, 5685, 0, 5331, 0, 0, 1385, 0, 5636, 0, + 0, 0, 0, 0, 1385, 0, 0, 0, 2579, 0, + 4942, 0, 0, 1385, 0, 0, 2648, 2580, 2581, 2582, + 2583, 2584, 2585, 2586, 2587, 2588, 35, 0, 2833, 0, + 0, 1562, 0, 0, 0, 0, 5730, 0, 0, 5639, + 1563, 0, 0, 0, 4942, 1002, 955, 1582, 955, 1564, + 2008, 0, 0, 1583, 0, 0, 0, 2834, 0, 0, + 0, 0, 0, 2116, 0, 0, 2117, 0, 0, 0, + 1566, 0, 0, 0, 5476, 0, 0, -3026, 0, 1567, + 0, 0, 966, 1002, 1568, 0, 6454, 0, 0, 2583, + 2584, 2585, 2586, 2587, 2588, 0, 0, 3494, 1585, 0, + 2646, 6477, 0, 0, 655, 652, 0, -3026, 0, 0, + 0, 0, 0, 655, 975, 0, 0, 0, 3494, 5931, + 0, 655, 0, 975, 655, 0, 0, 966, 0, 0, + 0, 2116, 0, 2648, 2117, -3026, 0, 975, 0, 0, + -3026, 5114, 1569, 0, 0, 0, 867, 6454, 0, 0, + 0, 867, 3494, 0, 0, 1586, 0, 0, 0, 0, + 2857, 0, 1587, 0, 0, 0, 1588, 0, 2646, 0, + 867, 0, 6454, 0, 5163, -3026, 0, 5783, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 955, 867, + 4942, -3026, 0, 0, 0, 1589, 0, 0, 0, 0, + 0, 2648, 0, 4339, 0, 0, 4815, 71, 80, 0, + 83, 4342, 175, 84, 85, 3515, 86, 106, 124, 129, + 159, 184, 178, 0, 1385, 0, 185, 0, 795, 0, + 795, 1590, 795, 0, 0, 6492, 0, 0, 795, 1223, + 1224, 1385, 0, 0, 0, 1385, 0, 1385, 0, 930, + 2653, 0, -3026, 0, 5768, 3497, 0, -3026, 3497, 1401, + 0, 1385, 0, 191, 180, 0, 0, 0, 0, 653, + 6337, 0, 1385, 0, 4818, 181, 5866, 0, 187, 183, + 0, 6399, 6400, 1385, 0, 5794, 0, 0, 652, 0, + 1385, 0, 0, 0, 0, 0, 0, 0, 3494, 186, + 0, 0, 0, 0, 0, 0, 3497, 0, -3026, 652, + 0, 1693, 0, 0, 3497, 1592, 4440, 0, 4442, 0, + -3026, 0, 0, 0, 6398, -3026, 1593, 0, 0, 0, + 0, 0, 0, 2008, 0, 0, 1594, 0, 0, 0, + 0, 0, 1385, 652, 0, 0, -3026, 0, 1595, 0, + 0, 0, 0, 0, 0, 0, 0, 5796, 1385, 0, + 0, 0, 0, 0, 1385, 1385, 0, 2653, 0, 955, + 955, 955, 955, 6434, 0, 0, -3026, 3494, 0, 0, + 0, 965, 0, 0, 0, 0, 0, 0, 0, 0, + 1000, 0, 0, 1597, 1598, 0, 0, 0, 0, 0, + 1385, 0, 0, 0, 0, 0, 0, 0, 0, 653, + 0, 0, 0, 0, 4504, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1599, 965, 0, 0, 0, + 795, 0, 0, 0, 867, 2653, 0, 3498, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, -3026, 0, 0, 0, 0, 4526, 0, + 0, 0, 867, -3026, 0, 2583, 2584, 2585, 2586, 2587, + 2588, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2106, 0, 0, 0, 0, 0, 652, + 1385, 0, 0, 0, 0, 0, 0, 0, 1600, 0, + 795, 0, 1385, 0, 0, 0, 0, 0, 0, 0, + 0, 1385, 1385, 1385, 0, 0, 0, 2008, 0, 0, + 0, 0, 0, 3816, 0, 0, 1385, 0, 0, 0, + 0, -3026, 2106, 0, 0, 1385, 0, 1385, 5988, 1385, + 5636, 0, 0, 0, 0, 3494, 0, 0, 0, 0, + 0, 4942, 0, 0, 3657, 4209, 0, 0, 1385, 0, + 0, 0, 0, 0, 0, 0, 0, 2008, 652, 1002, + -3026, 4213, 975, 867, 0, 0, 0, 0, 1385, 0, + 0, 0, 2583, 2584, 2585, 2586, 2587, 2588, 0, 0, + 0, 975, 0, 0, 0, 0, 0, 975, 4670, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 975, + 0, 0, 0, 0, 2008, 2008, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 975, 0, 0, 0, 0, + 655, 0, 0, 4248, 0, 918, 4254, 0, -3026, 655, + 975, 0, 0, 0, 955, 0, 655, 6079, 975, 655, + 2583, 2584, 2585, 2586, 2587, 2588, 0, 0, 6156, 3494, + 0, 918, 975, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 975, 0, 6244, 0, 0, 0, 0, 4726, + 0, 0, 0, 0, 3486, 0, 0, 0, 929, 0, + 0, 0, 3486, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 5971, 1385, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1385, 975, 0, 0, 5866, 0, + 0, 0, 4759, 0, 1385, 0, 652, 0, 0, 0, + 0, 0, 6222, 6296, 6297, 0, 3547, 0, 655, 655, + 0, 0, 0, 0, 975, 0, 0, 4780, 0, 0, + 0, 0, 0, 0, 0, 966, 3494, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 955, 0, 975, + 0, 655, 0, 0, 2008, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 918, 0, 0, 0, 2857, + 0, 0, 0, 0, 2116, 0, 1385, 2117, 0, 0, + 0, 2118, 2119, 2120, 0, 0, 4942, 0, 655, 0, + 0, 0, 0, 0, 966, 966, 6299, 0, 0, 0, + 1385, 975, 0, 0, 3334, 3334, 0, 0, 0, 3334, + 652, 2646, 0, 0, 0, 0, 795, 0, 2647, 0, + 0, 795, 795, 2008, 2008, 6315, 0, 0, 0, 0, + 0, 1385, 1385, 0, 0, 1385, 0, 0, 6323, 0, + 0, 0, 0, 0, 2648, 0, 0, 0, 0, 2663, + 0, 3334, 3334, 0, 0, 0, 191, 6291, 2670, 0, + 2671, 0, 0, 2008, 2674, 0, 0, 6270, 6292, 955, + 6370, 2680, 6293, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 6294, 0, 3494, 0, 0, 0, 0, 0, + 0, 6156, 955, 955, 0, 0, 0, 4942, 0, 655, + 655, 1825, 0, 0, 0, 0, 0, 652, 975, 0, + 0, 0, 0, 655, 0, 653, 0, 0, 918, 655, + 0, 0, 1385, 655, 2116, 655, 0, 2117, 0, 918, + 6388, 2118, 2119, 2120, 0, 0, 0, 0, 1385, 0, + 0, 0, -2807, 0, 3547, 918, 0, 0, 0, 4306, + 0, 2645, 795, 2649, 0, 0, 0, 0, 2650, 1385, + 0, 2646, 795, 0, 191, 6291, 0, 0, 2647, 0, + 0, 0, 0, 0, 0, 0, 6292, 0, 0, 0, + 6293, -3026, -3026, 0, 3497, 0, 0, 0, 3497, 655, + 0, 655, 655, 0, 2648, 6419, 6420, 653, 6424, 3494, + 6294, 0, 0, 5866, 0, 3494, 1223, 1224, 1385, 2652, + 0, 0, 6502, 6503, 965, 0, 0, 0, 0, 955, + 0, 0, 4942, 0, 0, 0, 0, 0, 0, 0, + 0, 975, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 6388, -2807, 0, 0, 0, 0, 0, 795, + 0, 0, -3026, 795, 795, 0, 0, 0, 0, 655, + 0, 0, 0, 187, 0, 0, 0, 0, 2653, 1385, + 653, 0, 0, 0, 0, 652, 0, 0, 0, 0, + 0, 0, 0, 965, 965, 0, 653, 0, 0, 191, + 6291, 0, 975, 3497, 0, 0, 0, -2807, 0, 187, + 918, 6292, 975, 966, 966, 6293, 0, 6505, 0, 6388, + -2807, 0, 0, 2649, 0, 0, -2807, 0, 2650, 975, + 0, 0, -2807, 0, 975, 6294, 6388, 0, -2807, 2116, + 3494, -2807, 2117, 0, 0, -2807, 655, 5126, 0, 0, + 0, 2651, 2311, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2655, -2807, 2646, 0, 0, 2652, + 0, 0, 0, -3026, 0, 0, 0, 0, 655, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 652, 0, 0, 0, 0, 0, 652, 0, -2807, 2648, + 0, 0, 0, 0, 0, 0, 0, 655, 655, 655, + 0, 655, 2378, 0, 6374, 0, 0, 0, 0, 0, + 0, 2116, 0, 0, 2117, 0, 0, 0, 2653, 0, + 0, 2654, 655, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 795, 0, 0, + -2807, 0, 0, 0, -2807, 0, 0, 0, 2646, 0, + -2807, 975, 0, 0, 0, -3026, 0, 0, 0, 975, + 975, 2579, 4820, 0, 0, 0, 0, 0, 0, 0, + 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, + 0, 2648, 0, 655, 0, 0, 6422, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2106, + 0, 0, 0, 2106, 0, 0, 0, 0, -3026, 0, + -2807, 652, 1825, -3026, 2655, 0, 3497, 3497, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 655, + 187, 0, 0, 655, 655, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 655, + 0, 0, 3486, 0, 5293, 918, 3486, 0, 0, 6422, + 0, 0, 0, 0, -3026, 0, 0, 0, 0, 810, + 2116, 0, 0, 2117, 0, 6488, 0, 2118, 2119, 2120, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 965, 965, 0, 0, 0, 2645, 0, -2807, + -3026, 0, 0, 0, 0, -3026, 0, 2646, 0, 0, + 0, 0, 0, 0, 2647, 0, 0, 0, 0, 0, + 0, 2579, 918, 2653, -2807, 0, -2807, -2807, 0, 0, + 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, + 2648, 0, 0, 0, 0, 0, 0, 4107, -2807, 0, + 0, 0, 3281, 3282, 0, 0, -3026, 5366, 0, 0, + 0, 0, 0, 918, 0, 0, 0, 0, -2807, 3319, + 3320, -2807, -2807, -2807, 0, 0, 0, 0, 721, 0, + 0, 2116, 0, 0, 2117, 1552, 0, 809, 2118, 2119, + 2120, 0, 0, 0, 0, 0, 918, 0, 0, 0, + 0, 0, 3366, 0, 0, 0, 0, 0, 2645, 0, + 0, 5404, 0, 0, 0, 2653, 0, 0, 2646, -3026, + 0, 1553, 0, 0, 0, 2647, 0, 0, 0, 0, + 0, 0, 0, 5420, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2648, 0, 0, 0, 0, 0, 0, 0, 2649, + 0, 3497, 0, 975, 2650, 0, 0, 3307, 3497, 0, + 0, 0, 0, 3497, 0, 0, 3497, 0, 655, 655, + 655, 0, 0, 0, 0, 1554, 0, 2651, 2311, 3334, + 3334, 3334, 3334, 0, 0, 3334, 3334, 3334, 3334, 3334, + 3334, 3334, 3334, 3334, 3334, 0, 5448, 0, 0, 0, + 0, -3026, 0, 0, 0, 2652, 0, 0, 0, 0, + 0, 0, 1555, 4788, 0, 0, -3026, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 2583, 2584, + 2585, 2586, 2587, 2588, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 2378, 3334, + 3334, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2649, 0, 1556, 0, 2653, 2650, 0, 2654, 975, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 918, 0, 0, 0, 3486, 0, 0, 0, 2651, 2311, + 0, 918, 0, 0, 0, 0, 0, 4850, 0, 0, + 0, 0, 1557, 1825, 0, 0, 1558, 918, -3026, 0, + 187, 0, 1552, 0, 0, 0, 2652, 0, 5534, 0, + 2583, 2584, 2585, 2586, 2587, 2588, 975, 0, 0, 0, + 0, 0, 0, 0, 975, 0, 0, 0, 0, 1559, + 1560, 0, 975, 0, 0, 973, 0, 0, 1553, 0, + 0, 0, 0, 0, 1009, 0, 0, 0, 0, 2378, + 2655, 918, 0, 0, 0, 0, 0, 0, 1031, 0, + 655, 0, 0, 655, 0, 2653, 918, 0, 2654, 918, + 918, 1561, 0, 655, 655, 35, 975, 975, 0, 0, + 1562, 0, 0, 0, 1552, 0, 0, 0, 655, 1563, + 975, 655, 0, 0, 0, 0, 0, 0, 1564, 0, + 918, 918, 1554, 975, 975, 0, 1565, 0, 0, 0, + 0, 0, 0, 0, 0, 2116, 0, 0, 2117, 1566, + 1553, 0, 2118, 2119, 2120, 0, 0, 0, 1567, 0, + 0, 0, 0, 1568, 0, 3497, 0, 0, 0, 1555, + 0, 655, 2645, 0, 0, 655, 655, 0, 0, 4504, + 0, 0, 2646, 0, 0, 0, 0, 2579, 0, 2647, + 0, 2655, 0, 0, 0, 0, 2580, 2581, 2582, 2583, + 2584, 2585, 2586, 2587, 2588, 0, 0, 0, 0, 3363, + 655, 0, 655, 0, 1554, 2648, 0, 655, 655, 1556, + 0, 1569, 0, 0, 655, 655, 655, 655, 655, 655, + 655, 655, 655, 655, 655, 655, 655, 0, 0, 0, + 655, 0, 655, 0, 655, 655, 655, 655, 655, 655, + 0, 1555, 655, 0, 655, 655, 3486, 0, 655, 1557, + 0, 3486, 0, 1558, 3486, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 918, 655, 655, 655, 0, 0, + 0, 0, 0, 0, 0, 187, 187, 0, 0, 0, + 0, 0, 0, 655, 0, 1825, 1623, 1560, 2579, 0, + 0, 1556, 0, 0, 0, 0, 0, 2580, 2581, 2582, + 2583, 2584, 2585, 2586, 2587, 2588, 0, 0, 0, 0, + 4123, 0, 3334, 4124, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2649, 0, 0, 1649, 1624, 2650, + 0, 1557, 35, 0, 0, 1558, 0, 1562, 3497, 0, + 0, 0, 0, 0, 0, 0, 1563, 0, 0, 1650, + 0, 0, 2651, 2311, 0, 1564, 0, 0, 0, 3497, + 0, 3466, 3468, 1625, 0, 0, 0, 3476, 1640, 1560, + 0, 0, 0, 0, 0, 4952, 1566, 0, 0, 0, + 2652, 0, 0, 0, 0, 1567, 0, 0, 0, 0, + 1568, 0, 0, 3497, 0, 0, 0, 0, 0, 3522, + 3522, 1651, 4962, 0, 0, 0, 0, 0, 0, 2790, + 1641, 0, 0, 0, 35, 0, 0, 0, 0, 1562, + 0, 0, 0, 2378, 0, 0, 0, 0, 1563, 1077, + 0, 655, 0, 0, 0, 0, 0, 1564, 0, 2653, + 0, 0, 2654, 0, 0, 1642, 0, 0, 1569, 4963, + 0, 0, 0, 0, 0, 0, 0, 0, 1566, 0, + 0, 795, 0, 0, 0, 0, 0, 1567, 0, 0, + 0, 4964, 1568, 0, 2116, 0, 0, 2117, 0, 1144, + 721, 2118, 2119, 2120, 0, 655, 0, 0, 0, 0, + 0, 0, 0, 0, 1652, 0, 0, 0, 0, 0, + 0, 2645, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2646, 0, 0, 0, 0, 0, 0, 2647, 0, + 0, 0, 2034, 0, 0, 0, 0, 2034, 2034, 0, + 1569, 0, 1101, 0, 0, 2655, 0, 0, 1101, 3497, + 0, 0, 655, 5274, 2648, 187, 0, 0, 0, 3659, + 1101, 0, 1653, 0, 0, 0, 0, 1654, 0, 0, + 0, 0, 1655, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1242, 0, 0, 2961, 0, + 0, 0, 4965, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1264, 0, 0, 0, + 0, 0, 0, 0, 1388, 0, 0, 1397, 1400, 1403, + 0, 0, 0, 0, 1657, 0, 0, 0, 3497, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 795, 0, - 0, 2648, 0, 795, 795, 2644, 2649, 0, 0, 0, - 0, 0, 0, 0, 0, 2645, 0, 0, 0, 0, - 0, 0, 2646, 0, 0, 0, 0, 0, 0, 2650, - 2310, 2662, 0, 1551, 0, 0, 0, 0, 1553, 0, - 2669, 0, 2670, 0, 0, 0, 2673, 0, 2647, 0, - 0, 0, 0, 2679, 0, 0, 0, 2651, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2578, 0, 1552, - 0, 0, 0, 0, 0, 1554, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 0, 0, 0, 0, 0, - 0, 0, 4125, 0, 0, 0, 0, 0, 0, 0, - 2377, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 655, 0, 0, 652, 0, 0, 2652, 652, 0, 2653, - 0, 0, 0, 1144, 0, 1555, 0, 5947, 0, 0, - 0, 0, 0, 1553, 0, 0, 3333, 0, 0, 0, - 0, 0, 0, 0, 795, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 795, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 655, 1556, 0, 2648, 1581, 1557, - 1554, 0, 2649, 2115, 1582, 0, 2116, 0, 0, 0, - 2117, 2118, 2119, 0, 0, 0, 0, 0, 0, 0, - 0, 3333, 0, 0, 0, 2650, 2310, 0, 1223, 1224, - 2644, 0, 1622, 1559, 0, 0, 0, 0, 0, 0, - 2645, 0, 2654, 0, 0, 0, 0, 2646, 0, 1584, - 1555, 655, 652, 2651, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 795, 0, 2647, 1623, 795, 795, 0, 35, 0, - 0, 0, 0, 1561, 0, 0, 0, 0, 0, 0, - 1556, 0, 1562, 0, 1557, 0, 2377, 0, 0, 0, - 0, 1563, 0, 0, 0, 0, 1585, 0, 0, 1624, - 0, 0, 2652, 1586, 0, 2653, 0, 1587, 0, 0, - 0, 0, 1565, 0, 0, 0, 0, 1639, 1559, 0, - 0, 1566, 0, 0, 0, 0, 1567, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1588, 0, 0, 2578, - 0, 0, 0, 0, 0, 0, 0, 0, 2579, 2580, - 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, 1640, - 0, 0, 0, 35, 4176, 0, 0, 0, 1561, 1144, - 0, 0, 1589, 6118, 0, 6119, 0, 1562, 0, 6125, - 6126, 0, 2648, 0, 1568, 0, 1563, 2649, 0, 0, - 0, 0, 0, 0, 1641, 0, 0, 0, 2654, 0, - 0, 0, 0, 0, 0, 0, 0, 1565, 0, 0, - 2650, 2310, 0, 0, 0, 0, 1566, 0, 0, 0, - 0, 1567, 0, 0, 0, 0, 655, 655, 655, 655, - 655, 655, 655, 655, 655, 0, 655, 0, 2651, 0, - 0, 0, 0, 0, 0, 0, 0, 655, 0, 0, - 655, 0, 1692, 0, 0, 0, 1591, 0, 0, 795, - 0, 0, 0, 0, 0, 0, 0, 1592, 0, 0, - 0, 0, 0, 3333, 0, 652, 652, 1593, 0, 1568, - 0, 2377, 0, 0, 0, 0, 0, 0, 0, 1594, - 0, 655, 0, 0, 0, 655, 0, 2652, 655, 0, - 655, 0, 0, 655, 3333, 2578, 0, 655, 0, 0, - 0, 0, 0, 0, 2579, 2580, 2581, 2582, 2583, 2584, - 2585, 2586, 2587, 1581, 0, 0, 0, 3362, 1824, 1582, - 655, 1720, 0, 0, 1596, 1597, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 655, 0, 0, - 0, 0, 0, 0, 0, 0, 655, 655, 0, 0, - 0, 0, 0, 0, 0, 0, 1721, 0, 0, 0, - 0, 0, 0, 0, 1584, 0, 0, 0, 3548, 0, - 0, 0, 0, 974, 0, 0, 0, 0, 0, 0, - 917, 0, 0, 2654, 917, 917, 3564, 0, 0, 0, - 3567, 974, 0, 0, 3570, 974, 0, 0, 0, 974, - 0, 0, 0, 0, 0, 0, 0, 0, 974, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 3589, 0, - 0, 1585, 0, 974, 0, 0, 655, 0, 1586, 1599, - 916, 0, 1587, 0, 0, 0, 0, 655, 0, 917, - 655, 0, 655, 655, 0, 917, 0, 0, 0, 0, - 0, 0, 3631, 0, 0, 0, 0, 974, 0, 0, - 0, 1588, 0, 0, 3280, 3281, 0, 0, 1144, 0, - 0, 0, 1100, 0, 0, 0, 0, 974, 974, 0, - 0, 3318, 3319, 0, 0, 0, 0, 0, 0, 1581, - 2578, 0, 0, 917, 0, 1582, 0, 1589, 0, 2579, - 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, - 652, 3691, 0, 0, 3365, 1824, 974, 652, 0, 1824, - 0, 0, 652, 0, 0, 652, 5327, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 3720, 0, - 1584, 0, 0, 974, 3729, 1824, 0, 0, 3333, 974, - 0, 0, 0, 0, 0, 0, 0, 0, 3739, 0, - 0, 0, 0, 974, 0, 1100, 0, 0, 3752, 0, - 974, 0, 0, 974, 3757, 0, 0, 1692, 0, 974, - 0, 1591, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1592, 0, 3770, 0, 0, 1585, 0, 974, - 3773, 0, 1593, 0, 1586, 974, 0, 3781, 1587, 0, - 0, 0, 974, 0, 1594, 0, 0, 0, 0, 0, - 0, 3796, 0, 0, 0, 0, 974, 0, 0, 0, - 0, 0, 6453, 0, 0, 3822, 0, 1588, 0, 2604, - 974, 0, 0, 6457, 0, 1824, 1100, 0, 0, 0, - 0, 974, 0, 0, 0, 0, 2813, 0, 0, 1596, - 1597, 0, 0, 0, 0, 0, 0, 0, 0, 655, - 655, 655, 0, 1589, 0, 655, 0, 0, 0, 6483, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2814, 0, 6453, 0, 0, 0, 0, 0, 0, - 0, 0, 655, 917, 0, 0, 0, 0, 0, 0, - 0, 1824, 0, 0, 0, 0, 0, 0, 6453, 0, - 0, 5307, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 655, 0, 6204, 0, 0, 0, - 0, 0, 0, 1590, 0, 0, 0, 1591, 0, 0, - 0, 0, 0, 0, 1599, 0, 0, 0, 1592, 0, - -136, 0, 0, 5476, 0, 0, 917, 0, 1593, 0, - 917, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1594, 0, 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2, 652, 3, 4, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, - 0, 0, 2898, 6, 0, 1596, 1597, 0, 0, 0, - 0, 0, 0, 0, 0, 7, 0, 8, 9, 0, - 0, 0, 0, 0, 10, 0, 11, 0, 0, 0, - 0, 4040, 0, 0, 0, 0, 974, 2899, 1824, 12, - 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, - 4056, 0, 0, 917, 0, 974, 0, 4040, 14, 0, - 0, 15, 974, 3333, 3333, 0, 655, 3333, 917, 655, - 0, 655, 655, 917, 0, 0, 16, 0, 17, 0, - 0, 655, 18, 0, 0, 0, 655, 0, 0, 19, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, - 0, 21, 0, 0, 917, 0, 0, 0, 22, 0, - 1599, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 655, 655, 655, 0, - 0, 655, 0, 24, 0, 0, 0, 0, 0, 655, - 655, 655, 655, 0, 0, 0, 0, 652, 0, 0, - 1824, 0, 0, 0, 0, 655, 1824, 0, 655, 0, - 655, 0, 0, 0, 0, 0, 0, 0, 652, 0, - 0, 0, 0, 655, 655, 0, 0, 655, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 25, 26, 0, - 0, 0, 0, 27, 0, 0, 0, 655, 0, 655, - 0, 655, 652, 0, 0, 0, 0, 0, 28, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 655, 0, 0, 0, 0, 0, 0, 29, 0, 0, - 0, 0, 0, 3465, 3467, 0, 0, 0, 0, 3475, - 964, 974, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 916, 0, 0, - 0, 3521, 3521, 0, 1581, 0, 30, 0, 655, 0, - 1582, 655, 0, 0, 0, 964, 0, 1648, 0, 0, - 0, 31, 0, 916, 0, 655, 32, 33, 0, 34, - 655, 0, 0, 0, 35, 0, 0, 0, 0, 1649, - 36, 0, 0, 37, 0, 655, 0, 0, 0, 0, - 38, 0, 0, 0, 0, 1584, 0, 39, 40, 655, - 0, 0, 0, 795, 0, 41, 0, 655, 0, 42, - 0, 0, 0, 0, 0, 0, 0, 0, 652, 917, - 43, 0, 917, 0, 917, 0, 0, 0, 0, 917, - 0, 1650, 0, 0, 0, 0, 0, 44, 0, 0, - 0, 0, 0, 0, 974, 974, 0, 0, 0, 0, - 655, 0, 1585, 0, 0, 0, 0, 0, 45, 1586, - 4336, 0, 0, 1587, 0, 974, 0, 0, 974, 0, - 46, 917, 0, 0, 0, 0, 47, 0, 0, 917, - 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 3658, 1588, 0, 0, 49, 0, 652, 0, 0, - 0, 0, 0, 0, 917, 1581, 916, 0, 0, 0, - 655, 1582, 0, 0, 0, 0, 0, 0, 0, 50, - 0, 0, 0, 0, 1651, 0, 0, 0, 1589, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, - 0, -136, 0, 0, 0, 0, 0, 0, 0, 0, - 1824, 1824, 1824, 0, 0, 0, 1584, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 4423, 0, 0, 0, 0, 974, 0, 0, 0, 0, - 795, 0, 1652, 0, 917, 0, 917, 1653, 795, 0, - 0, 795, 1654, 0, 974, 0, 0, 0, 0, 0, - 0, 0, 0, 795, 0, 0, 0, 0, 1655, 0, - 0, 0, 1591, 1585, 0, 0, 974, 0, 0, 0, - 1586, 0, 0, 1592, 1587, 0, 0, 0, 0, 0, - 0, 0, 0, 1593, 0, 0, 0, 5971, 0, 2115, - 0, 0, 2116, 0, 1656, 1594, 2117, 2118, 2119, 0, - 1739, 0, 0, 1588, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 652, 2644, 0, 0, 916, - 0, 0, 0, 0, 0, 0, 2645, 0, 0, 0, - 916, 0, 917, 2646, 0, 0, 0, 1657, 0, 1589, - 1596, 1597, 1658, 0, 0, 0, 916, 0, 0, 0, - 0, 4519, 0, 0, 0, 0, 974, 0, 0, 2647, - 0, 655, 0, 0, 0, 0, 1659, 655, 0, 0, - 0, 0, 1660, 0, 0, 0, 917, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1661, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1824, 917, 0, 0, 0, 0, 974, - 0, 974, 0, 0, 0, 0, 0, 0, 0, 1692, - 0, 0, 0, 1591, 974, 0, 974, 0, 0, 652, - 0, 0, 0, 0, 1592, 0, 0, 0, 1662, 0, - 0, 0, 0, 0, 1593, 1599, 655, 0, 0, 0, - 0, 0, 2115, 0, 0, 2116, 1594, 0, 0, 2117, - 2118, 2119, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 917, 0, 0, 0, 0, 0, 2648, 2644, - 0, 0, 0, 2649, 0, 0, 0, 0, 0, 2645, - 0, 0, 0, 974, 917, 0, 2646, 0, 3641, 0, - 795, 1596, 1597, 916, 914, 0, 2650, 2310, 0, 0, - 0, 0, 0, 0, 0, 0, 917, 0, 0, 0, + 0, 6010, 2579, 0, 0, 0, 795, 0, 0, 795, + 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, + 0, 795, 1659, 2649, 0, 0, 0, 4125, 2650, 0, + 0, 2116, 0, 0, 2117, 0, 0, 0, 2118, 2119, + 2120, 0, 0, 0, 0, 0, 1660, 0, 0, 0, + 0, 2651, 2311, 0, 0, 0, 0, 0, 2645, 0, + 0, 0, 0, 0, 6066, 0, 0, 1662, 2646, 4966, + 0, 0, 4379, 0, 0, 2647, 3486, 0, 0, 2652, + 0, 0, 0, 0, 0, 0, 0, 655, 655, 655, + 655, 655, 655, 655, 655, 655, 0, 655, 0, 0, + 0, 2648, 0, 0, 0, 0, 0, 0, 655, 0, + 0, 655, 0, 0, 0, 0, 0, 0, 1663, 0, + 0, 0, 2378, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 2653, 0, + 0, 2654, 0, 0, 0, 0, 3497, 0, 0, 0, + 0, 0, 655, 0, 0, 0, 655, 0, 0, 655, + 0, 655, 0, 0, 655, 0, 0, 0, 655, 0, + 0, 0, 1400, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2883, 0, 2116, 0, 1825, + 2117, 655, 0, 0, 2118, 2119, 2120, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 655, 0, + 0, 0, 0, 0, 2645, 0, 0, 655, 655, 0, + 2649, 0, 0, 0, 2646, 2650, 0, 0, 0, 0, + 0, 2647, 0, 0, 2655, 0, 0, 0, 0, 0, + 0, 0, 187, 0, 975, 0, 0, 0, 2651, 2311, + 0, 918, 0, 0, 0, 918, 918, 2648, 0, 0, + 3497, 0, 975, 0, 0, 0, 975, 0, 795, 0, + 975, 0, 0, 187, 0, 0, 2652, 0, 0, 975, + 0, 0, 0, 0, 0, 0, 0, 187, 0, 0, + 0, 0, 0, 0, 975, 0, 0, 655, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 655, 0, + 918, 655, 0, 655, 655, 0, 918, 0, 0, 2378, + 0, 0, 0, 0, 0, 0, 0, 0, 975, 0, + 0, 0, 0, 0, 0, 2653, 0, 0, 2654, 0, + 0, 2579, 0, 0, 0, 0, 0, 0, 975, 975, + 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, + 0, 0, 2033, 0, 918, 0, 4176, 3497, 0, 0, + 0, 0, 0, 0, 3334, 0, 2649, 2106, 0, 0, + 0, 2650, 0, 0, 0, 0, 1825, 975, 1400, 0, + 1825, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2651, 2311, 0, 0, 0, 0, + 0, 0, 0, 0, 975, 0, 1825, 0, 0, 0, + 975, 0, 0, 0, 0, 0, 0, 0, 0, 3334, + 0, 2655, 2652, 0, 975, 0, 0, 0, 0, 0, + 0, 975, 0, 0, 975, 0, 0, 0, 0, 1582, + 975, 0, 0, 0, 0, 1583, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 975, 0, 0, 0, 0, 2378, 975, 2111, 0, 0, + 0, 0, 0, 975, 0, 0, 2114, 0, 0, 0, + 0, 2653, 4234, 0, 795, 0, 0, 975, 0, 0, + 1585, 0, 2605, 0, 0, 0, 0, 0, 0, 0, + 4241, 975, 0, 0, 0, 0, 1825, 0, 0, 0, + 0, 0, 975, 0, 3486, 1400, 187, 0, 2624, 2625, + 0, 0, 0, 1400, 1400, 3497, 0, 0, 2579, 0, + 655, 655, 655, 0, 0, 0, 655, 2580, 2581, 2582, + 2583, 2584, 2585, 2586, 2587, 2588, 0, 1586, 3038, 0, + 4290, 4290, 0, 0, 1587, 0, 0, 0, 1588, 0, + 0, 0, 0, 655, 918, 0, 0, 0, 0, 0, + 0, 0, 1825, 0, 0, 0, 6430, 2655, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1589, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 655, 0, 0, 2116, 0, + 0, 2117, 0, 0, 0, 2118, 2119, 2120, 0, 0, + 0, 0, 0, 1590, 0, 187, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2645, 0, 918, 0, 0, + 3497, 918, 0, 0, 0, 2646, 3497, 0, 0, 0, 0, 0, 2647, 0, 0, 0, 0, 0, 0, 0, - 3013, 0, 0, 1598, 2651, 974, 652, 0, 0, 0, - 0, 0, 0, 2115, 0, 0, 2116, 0, 0, 4692, - 2117, 2118, 2119, 4696, 974, 0, 0, 0, 974, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2644, 0, 0, 0, 0, 0, 0, 2377, 0, 974, - 2645, 0, 0, 0, 0, 0, 0, 2646, 0, 0, - 0, 0, 0, 2652, 0, 655, 2653, 0, 917, 0, - 0, 0, 0, 655, 0, 655, 1599, 0, 0, 0, - 0, 0, 0, 2647, 0, 0, 0, 0, 0, 655, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 2648, 0, + 0, 3334, 0, 0, 2579, 0, 0, 0, 0, 0, + 0, 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, + 2587, 2588, 0, 1693, 0, 0, 0, 1592, 0, 0, + 0, 0, 3334, 0, 2116, 0, 0, 2117, 1593, 0, + 0, 2118, 2119, 2120, 0, 0, 0, 975, 1594, 1825, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1595, 2645, 0, 0, 918, 0, 975, 0, 0, 0, + 0, 2646, 0, 975, 0, 0, 0, 655, 2647, 918, + 655, 0, 655, 655, 918, 0, 2116, 0, 0, 2117, + 0, 3497, 655, 2118, 2119, 2120, 0, 655, 0, 0, + 2966, 0, 2814, 0, 2648, 1597, 1598, 0, 2974, 0, + 0, 0, 0, 2645, 0, 918, 0, 2649, 0, 0, + 0, 0, 2650, 2646, 0, 0, 0, 0, 0, 0, + 2647, 0, 0, 0, 0, 0, 0, 2815, 0, 0, + 0, 0, 0, 0, 0, 2651, 2311, 655, 655, 655, + 0, 0, 655, 0, 0, 0, 2648, 0, 0, 0, + 655, 655, 655, 655, 0, 0, 0, 0, 0, 0, + 0, 1825, 0, 2652, 0, 0, 655, 1825, 0, 655, + 0, 655, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 655, 655, 0, 0, 655, 0, + 0, 0, 0, 0, 0, 187, 0, 0, 0, 0, + 1600, 0, 0, 0, 0, 0, 2378, 0, 655, 0, + 655, 0, 655, 2649, 0, 0, 0, 0, 2650, 0, + 187, 0, 2653, 0, 3014, 2654, 0, 0, 0, 0, + 0, 655, 0, 0, 0, 0, 0, 795, 0, 0, + 0, 2651, 2311, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 975, 0, 0, 0, 0, 0, 0, 0, + 4588, 0, 0, 0, 0, 2649, 0, 0, 0, 2652, + 2650, 0, 0, 0, 0, 0, 3334, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 655, + 0, 0, 655, 2651, 2311, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 655, 0, 0, 0, + 0, 655, 2378, 3104, 0, 0, 0, 3109, 2655, 0, + 0, 2652, 0, 0, 0, 0, 655, 0, 2653, 0, + 0, 2654, 0, 0, 0, 0, 0, 0, 6369, 0, + 655, 0, 0, 0, 2116, 0, 0, 2117, 655, 0, + 0, 2118, 2119, 2120, 0, 0, 0, 0, 0, 0, + 918, 0, 0, 918, 2378, 918, 0, 0, 0, 0, + 918, 2645, 0, 0, 0, 0, 0, 0, 0, 0, + 2653, 2646, 0, 2654, 0, 975, 975, 0, 2647, 0, + 0, 655, 0, 0, 0, 0, 0, 3093, 0, 0, + 0, 0, 0, 0, 0, 3110, 975, 0, 0, 975, + 0, 0, 918, 3014, 2648, 0, 795, 0, 0, 0, + 918, 0, 722, 0, 2655, 2579, 0, 723, 0, 0, + 0, 0, 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, + 2586, 2587, 2588, 0, 0, 918, 0, 4117, 0, 0, + 0, 655, 0, 0, 0, 0, 0, 0, 3168, 0, + 0, 0, 0, 187, 0, 724, 0, 0, 0, 0, + 0, 0, 0, 0, 6204, 0, 2655, 0, 725, 0, + 0, 0, 0, 0, 0, 3014, 0, 3293, 0, 0, + 0, 1825, 1825, 1825, 0, 726, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 727, 0, 0, 975, 0, 0, 0, + 0, 0, 0, 0, 0, 918, 0, 918, 0, 0, + 0, 2579, 0, 2649, 0, 975, 0, 728, 2650, 0, + 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, + 0, 729, 0, 4540, 0, 0, 0, 975, 0, 0, + 730, 2651, 2311, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 731, 0, 0, 0, 0, 0, 732, + 0, 0, 0, 2579, 0, 0, 733, 0, 0, 2652, + 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, + 2588, 0, 0, 0, 0, 4727, 734, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 3334, 3334, 918, 0, 3334, 0, 0, 0, 0, + 0, 0, 2378, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 975, 2653, 0, + 0, 2654, 655, 0, 0, 0, 0, 0, 655, 0, + 0, 0, 0, 0, 0, 0, 735, 918, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1825, 918, 0, 0, 0, 0, + 975, 0, 975, 0, 0, 0, 0, 0, 0, 0, + 0, 736, 0, 2116, 0, 975, 2117, 975, 0, 0, + 2118, 2119, 2120, 0, 737, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 655, 738, 0, + 2645, 0, 0, 0, 2655, 0, 0, 0, 213, 739, + 2646, 0, 740, 0, 0, 0, 0, 2647, 0, 0, + 0, 0, 0, 918, 0, 0, 795, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 741, + 0, 0, 742, 2648, 975, 918, 743, 0, 0, 744, + 0, 0, 0, 0, 795, 0, 745, 0, 0, 746, + 0, 0, 0, 0, 0, 0, 0, 918, 795, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 747, + 795, 0, 0, 0, 0, 0, 975, 748, 0, 0, + 0, 0, 0, 0, 749, 0, 0, 750, 0, 0, + 0, 0, 751, 0, 975, 0, 0, 0, 975, 0, + 752, 2579, 753, 0, 0, 0, 0, 754, 0, 0, + 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 975, + 0, 755, 0, 4801, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 756, 655, 0, 0, 918, 0, + 0, 0, 0, 655, 0, 655, 1223, 1224, 0, 0, + 0, 0, 2649, 0, 0, 0, 0, 2650, 0, 655, 0, 0, 0, 655, 655, 655, 0, 0, 0, 0, 655, 0, 0, 655, 0, 0, 655, 0, 0, 0, - 0, 2648, 655, 964, 655, 0, 2649, 655, 0, 0, - 0, 917, 655, 655, 655, 655, 0, 0, 655, 655, - 655, 655, 655, 655, 655, 655, 655, 655, 0, 2650, - 2310, 655, 655, 655, 0, 0, 917, 0, 0, 0, - 0, 655, 0, 0, 0, 0, 655, 0, 1824, 2654, - 655, 0, 0, 0, 0, 0, 0, 2651, 655, 0, - 0, 655, 0, 655, 652, 0, 0, 0, 0, 0, - 0, 0, 964, 964, 0, 0, 0, 0, 0, 655, - 0, 0, 655, 655, 4234, 655, 795, 0, 655, 655, - 0, 0, 2648, 655, 0, 655, 0, 2649, 0, 0, - 2377, 0, 4241, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2652, 0, 0, 2653, - 2650, 2310, 0, 0, 655, 0, 2753, 0, 0, 0, - 655, 0, 0, 0, 0, 0, 0, 0, 655, 0, - 0, 0, 655, 0, 0, 0, 0, 0, 2651, 0, - 0, 0, 4290, 4290, 0, 0, 2578, 0, 0, 0, - 0, 0, 0, 0, 0, 2579, 2580, 2581, 2582, 2583, - 2584, 2585, 2586, 2587, 0, 655, 0, 0, 4117, 652, - 0, 0, 0, 0, 0, 652, 0, 0, 0, 0, - 0, 2377, 655, 2753, 0, 0, 0, 0, 917, 0, - 0, 0, 0, 6374, 0, 0, 0, 2652, 0, 0, - 2653, 0, 2654, 0, 0, 0, 0, 0, 0, 4924, - 0, 0, 0, 0, 974, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 916, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 655, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1581, 0, 0, 916, 0, 0, - 1582, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 6422, 0, 0, 1824, 0, - 0, 0, 0, 1824, 917, 1824, 0, 0, 0, 0, - 0, 0, 0, 2654, 0, 0, 0, 0, 0, 0, - 652, 0, 0, 0, 0, 1584, 0, 2115, 0, 2578, - 2116, 1824, 917, 0, 2117, 2118, 2119, 0, 2579, 2580, - 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, 0, - 0, 4540, 0, 0, 2644, 0, 0, 0, 0, 1739, - 1739, 1739, 0, 0, 2645, 0, 0, 0, 6422, 0, - 0, 2646, 0, 5051, 0, 0, 5054, 0, 974, 0, - 0, 974, 1585, 0, 6488, 0, 0, 0, 0, 1586, - 0, 0, 0, 1587, 0, 0, 0, 2647, 0, 0, - 0, 964, 964, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2578, 0, 1588, 0, 0, 0, 0, 0, 0, 2579, - 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, - 0, 0, 4727, 0, 0, 655, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1589, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 916, 974, 974, 0, 1581, 917, 0, 5137, 0, - 0, 1582, 916, 974, 0, 0, 0, 0, 0, 0, - 655, 655, 0, 0, 0, 3013, 0, 0, 916, 0, - 974, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2651, 2311, 655, 0, 655, 0, 0, 655, 0, 0, + 0, 918, 655, 655, 655, 655, 0, 0, 655, 655, + 655, 655, 655, 655, 655, 655, 655, 655, 2652, 0, + 0, 655, 655, 655, 0, 0, 918, 0, 0, 0, + 0, 655, 0, 0, 0, 1582, 655, 0, 1825, 0, + 655, 1583, 0, 0, 0, 795, 0, 0, 655, 0, + 0, 655, 0, 655, 0, 0, 1691, 0, 0, 0, + 0, 2378, 0, 0, 0, 0, 0, 0, 0, 655, + 0, 0, 655, 655, 0, 655, 0, 2653, 655, 655, + 2654, 0, 0, 655, 0, 655, 1585, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 795, + 0, 0, 0, 0, 3444, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 655, 0, 0, 0, 0, 0, + 655, 0, 0, 0, 0, 0, 2116, 0, 655, 2117, + 0, 0, 655, 2118, 2119, 2120, 0, 0, 0, 0, + 0, 1692, 0, 1586, 0, 0, 0, 0, 0, 0, + 1587, 0, 0, 2645, 1588, 0, 0, 0, 0, 0, + 0, 0, 0, 2646, 0, 655, 0, 0, 0, 0, + 2647, 0, 0, 2655, 0, 0, 0, 0, 0, 0, + 0, 0, 655, 1589, 3976, 0, 0, 0, 918, 0, 0, 0, 0, 0, 0, 0, 2648, 0, 0, 0, - 0, 2649, 0, 917, 0, 0, 1584, 0, 917, 655, - 655, 0, 0, 0, 0, 0, 0, 0, 1692, 795, - 655, 0, 1591, 0, 2650, 2310, 0, 0, 0, 0, - 0, 914, 916, 1592, 0, 0, 0, 0, 0, 0, - 0, 0, 4588, 1593, 0, 0, 0, 916, 0, 0, - 916, 916, 2651, 0, 0, 1594, 4040, 914, 0, 0, - 0, 974, 0, 1585, 1824, 0, 0, 0, 0, 0, - 1586, 0, 0, 0, 1587, 0, 0, 0, 0, 0, - 0, 916, 916, 0, 0, 0, 0, 0, 0, 2115, - 655, 0, 2116, 0, 0, 2377, 2117, 2118, 2119, 0, - 1596, 1597, 0, 1588, 0, 0, 0, 655, 0, 0, - 0, 2652, 0, 0, 2653, 0, 2644, 0, 0, 0, - 0, 0, 0, 0, 0, 655, 2645, 0, 0, 0, - 0, 0, 1598, 2646, 0, 0, 0, 0, 0, 1589, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 655, 0, 0, 655, 0, 0, 2647, - 0, 0, 0, 0, 655, 655, 0, 917, 0, 0, - 0, 0, 655, 655, 0, 0, 0, 655, 0, 0, - 0, 1739, 655, 0, 0, 655, 0, 655, 0, 0, - 0, 0, 0, 655, 0, 1739, 0, 0, 1739, 795, - 914, 0, 0, 0, 0, 1599, 0, 2654, 0, 0, - 0, 0, 0, 0, 0, 655, 0, 0, 0, 1692, - 0, 0, 655, 1591, 0, 916, 0, 655, 0, 0, - 655, 655, 0, 0, 1592, 0, 0, 0, 655, 1581, - 0, 0, 0, 0, 1593, 1582, 0, 0, 0, 0, - 0, 0, 661, 0, 0, 0, 1594, 655, 710, 661, - 0, 0, 0, 0, 762, 0, 661, 0, 0, 0, - 0, 0, 661, 0, 815, 0, 0, 0, 2648, 0, - 0, 0, 0, 2649, 0, 0, 917, 0, 0, 0, - 1584, 0, 0, 877, 877, 0, 0, 0, 3833, 974, - 0, 1596, 1597, 0, 655, 0, 2650, 2310, 0, 0, - 0, 0, 0, 0, 2578, 0, 0, 0, 0, 0, - 0, 0, 0, 2579, 2580, 2581, 2582, 2583, 2584, 2585, - 2586, 2587, 0, 3834, 2651, 0, 4801, 0, 0, 0, - 917, 0, 0, 0, 0, 0, 0, 1585, 0, 0, - 0, 0, 5415, 0, 1586, 0, 0, 974, 1587, 0, - 0, 0, 917, 914, 5425, 0, 0, 0, 0, 974, - 0, 0, 0, 0, 914, 0, 0, 2377, 0, 0, - 0, 0, 0, 0, 722, 655, 0, 1588, 0, 723, - 914, 0, 655, 2652, 0, 0, 2653, 0, 0, 0, - 0, 0, 0, 0, 974, 0, 1599, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1589, 0, 0, 0, 724, 0, 0, - 0, 0, 0, 0, 0, 917, 0, 0, 0, 0, - 725, 0, 0, 0, 956, 0, 0, 0, 960, 0, - 0, 0, 0, 0, 0, 0, 1003, 726, 0, 1005, - 0, 655, 1010, 1011, 0, 1014, 0, 1017, 0, 0, - 1023, 0, 1025, 0, 0, 727, 905, 0, 655, 0, - 0, 0, 0, 1824, 0, 0, 0, 0, 907, 2654, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 728, - 0, 0, 974, 1692, 0, 0, 0, 1591, 0, 655, - 0, 0, 0, 729, 0, 0, 0, 0, 1592, 0, - 0, 0, 730, 0, 0, 0, 0, 0, 1593, 0, - 0, 0, 0, 0, 0, 731, 0, 0, 0, 0, - 1594, 732, 0, 0, 0, 0, 0, 914, 733, 795, - 0, 0, 0, 0, 0, 917, 0, 917, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 734, 0, - 0, 0, 0, 0, 0, 0, 0, 795, 0, 0, - 0, 0, 4352, 4040, 0, 1596, 1597, 0, 974, 0, - 0, 795, 0, 0, 0, 0, 2578, 0, 0, 0, - 0, 0, 0, 795, 0, 2579, 2580, 2581, 2582, 2583, - 2584, 2585, 2586, 2587, 655, 0, 0, 4353, 4910, 0, - 0, 0, 0, 1581, 655, 0, 0, 655, 735, 1582, - 655, 655, 655, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 655, 655, 0, 0, 0, - 655, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 736, 1584, 0, 0, 0, 655, 1223, - 1224, 0, 655, 0, 0, 0, 737, 0, 655, 0, - 1599, 0, 655, 0, 0, 0, 0, 0, 917, 655, - 738, 0, 0, 0, 0, 0, 0, 655, 0, 2622, - 213, 739, 1739, 655, 740, 0, 655, 4040, 0, 4040, - 0, 0, 974, 0, 974, 0, 0, 0, 0, 0, - 0, 1585, 0, 0, 0, 0, 0, 0, 1586, 0, - 0, 741, 1587, 0, 742, 0, 0, 655, 743, 0, - 0, 744, 0, 0, 0, 0, 0, 0, 745, 0, - 0, 746, 0, 0, 0, 0, 0, 0, 795, 0, - 0, 1588, 0, 0, 917, 974, 0, 0, 0, 0, - 0, 747, 0, 0, 0, 655, 0, 0, 0, 748, - 0, 0, 0, 0, 0, 0, 749, 0, 0, 750, - 0, 0, 0, 0, 751, 0, 0, 1589, 0, 0, - 914, 0, 752, 0, 753, 0, 0, 0, 0, 754, - 0, 795, 0, 0, 0, 1824, 0, 0, 0, 0, - 655, 0, 0, 755, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 756, 0, 0, 0, - 0, 0, 3553, 0, 0, 0, 2753, 3559, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1552, 0, + 0, 0, 0, 0, 975, 0, 0, 0, 0, 1590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 914, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1692, 0, 0, - 0, 1591, 0, 655, 0, 0, 917, 0, 0, 0, - 0, 0, 1592, 0, 0, 0, 0, 0, 0, 0, - 1053, 916, 1593, 0, 0, 0, 0, 916, 914, 0, - 0, 1090, 0, 0, 1594, 1094, 0, 655, 0, 0, - 0, 0, 1107, 1108, 0, 0, 1114, 0, 1118, 1119, - 0, 0, 0, 0, 655, 0, 0, 0, 655, 0, - 655, 914, 0, 1141, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 655, 916, 4425, 0, 0, 1596, - 1597, 1154, 655, 0, 0, 655, 0, 0, 0, 0, - 0, 0, 2115, 0, 0, 2116, 655, 0, 0, 2117, - 2118, 2119, 1182, 655, 1184, 0, 0, 0, 0, 0, - 0, 4426, 0, 0, 1200, 0, 0, 0, 908, 2644, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2645, - 0, 0, 0, 0, 0, 0, 2646, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 661, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 655, 0, 0, + 0, 0, 0, 0, 1553, 0, 0, 0, 0, 0, + 0, 0, 0, 1400, 0, 0, 0, 0, 0, 0, + 915, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1825, 0, + 2579, 0, 0, 1825, 918, 1825, 0, 0, 0, 2580, + 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, 1693, + 0, 0, 4910, 1592, 0, 3549, 0, 0, 1554, 1403, + 0, 1825, 918, 0, 1593, 2649, 0, 0, 0, 0, + 2650, 0, 0, 3565, 1594, 0, 0, 3568, 0, 0, + 0, 3571, 0, 0, 0, 0, 1595, 0, 0, 0, + 0, 0, 0, 2651, 2311, 1555, 906, 0, 0, 0, + 0, 0, 0, 0, 0, 3590, 0, 0, 975, 0, + 0, 975, 0, 0, 795, 0, 0, 0, 0, 0, + 795, 2652, 0, 0, 0, 795, 0, 0, 1694, 0, + 0, 1597, 1598, 0, 0, 0, 0, 0, 0, 3632, + 3977, 2116, 0, 0, 2117, 1556, 1403, 0, 2118, 2119, + 2120, 0, 5418, 5419, 0, 0, 0, 5422, 5423, 1101, + 0, 0, 0, 1695, 2378, 0, 0, 0, 2645, 0, + 1403, 0, 0, 0, 0, 655, 0, 0, 2646, 0, + 2653, 0, 0, 2654, 0, 2647, 0, 0, 0, 1558, + 0, 0, 0, 0, 0, 0, 0, 0, 3692, 0, + 0, 0, 975, 975, 0, 0, 918, 0, 0, 0, + 0, 2648, 0, 975, 0, 0, 0, 0, 0, 0, + 655, 655, 0, 1560, 917, 3721, 0, 0, 0, 0, + 975, 3730, 0, 0, 3822, 0, 1600, 0, 3826, 0, + 0, 0, 0, 0, 0, 3740, 0, 0, 0, 0, + 0, 0, 1101, 918, 0, 3753, 0, 0, 918, 655, + 655, 3758, 0, 0, 0, 0, 0, 0, 35, 0, + 0, 655, 0, 1562, 0, 3859, 2655, 3859, 0, 3859, + 3859, 3771, 1563, 0, 3859, 3859, 3859, 3774, 3859, 3859, + 3859, 1564, 0, 0, 3782, 0, 0, 0, 0, 2834, + 0, 0, 0, 0, 0, 0, 0, 0, 3797, 0, + 0, 975, 1566, 0, 1825, 0, 0, 0, 0, 0, + 0, 1567, 3823, 0, 0, 0, 1568, 0, 0, 0, + 2649, 0, 0, 1101, 0, 2650, 0, 0, 0, 0, + 655, 0, 3936, 0, 0, 0, 0, 3979, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 655, 2651, 2311, + 0, 0, 0, 0, 0, 0, 0, 3964, 0, 0, 0, 0, 0, 0, 0, 655, 0, 0, 0, 0, - 0, 917, 2647, 0, 0, 0, 917, 917, 0, 0, - 0, 655, 0, 0, 0, 0, 0, 655, 655, 974, - 0, 0, 0, 0, 1599, 0, 0, 0, 0, 0, - 0, 0, 0, 974, 0, 0, 0, 795, 0, 0, - 0, 0, 0, 795, 0, 0, 0, 0, 795, 0, - 0, 0, 0, 655, 0, 0, 0, 0, 0, 0, - 0, 0, 655, 0, 2115, 1824, 0, 2116, 877, 0, - 0, 2117, 2118, 2119, 0, 5418, 5419, 0, 0, 0, - 5422, 5423, 0, 0, 0, 0, 0, 0, 0, 0, - 655, 2644, 0, 1739, 0, 914, 0, 0, 0, 0, - 0, 2645, 0, 905, 0, 0, 914, 0, 2646, 0, - 0, 0, 0, 0, 0, 907, 0, 0, 0, 917, - 917, 2648, 914, 0, 0, 916, 2649, 0, 0, 905, - 0, 0, 0, 0, 2647, 0, 0, 0, 0, 0, - 0, 907, 0, 655, 1824, 0, 0, 0, 0, 2650, - 2310, 0, 0, 1542, 0, 655, 0, 0, 0, 0, - 0, 0, 0, 0, 655, 655, 655, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 914, 2651, 0, 655, - 1824, 0, 0, 917, 0, 0, 0, 0, 655, 0, - 655, 914, 655, 0, 914, 914, 0, 0, 2753, 0, - 0, 0, 2753, 0, 655, 0, 0, 0, 0, 0, - 0, 655, 0, 0, 0, 0, 0, 0, 0, 0, - 2377, 0, 0, 0, 0, 914, 914, 1723, 0, 0, - 0, 655, 0, 0, 0, 0, 2652, 0, 0, 2653, + 0, 0, 0, 2579, 1569, 0, 2652, 0, 3980, 0, + 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, + 2588, 0, 0, 655, 0, 4935, 655, 0, 0, 0, + 0, 0, 0, 0, 655, 655, 0, 918, 0, 0, + 0, 0, 655, 655, 0, 0, 0, 655, 0, 2378, + 0, 0, 655, 0, 0, 655, 0, 655, 0, 0, + 0, 0, 0, 655, 0, 2653, 0, 0, 2654, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1844, 2648, 0, 0, 1824, 0, 2649, 974, - 0, 0, 0, 0, 0, 0, 0, 1856, 0, 1857, - 0, 0, 905, 0, 0, 0, 0, 0, 0, 1860, - 0, 2650, 2310, 0, 907, 0, 1870, 0, 0, 0, + 0, 0, 0, 0, 0, 655, 0, 0, 0, 0, + 0, 0, 655, 0, 0, 0, 0, 655, 0, 0, + 655, 655, 0, 0, 0, 0, 0, 0, 655, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 916, 0, 0, 0, 2651, - 0, 655, 0, 0, 0, 0, 0, 0, 0, 0, - 916, 0, 0, 0, 0, 916, 0, 0, 0, 1922, - 0, 1924, 2654, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2115, 0, 0, 2116, - 0, 0, 2377, 2117, 2118, 2119, 916, 0, 0, 0, - 0, 0, 655, 0, 0, 0, 0, 0, 2652, 914, - 0, 2653, 0, 2644, 0, 0, 0, 655, 0, 0, - 0, 0, 0, 2645, 0, 0, 0, 655, 0, 0, - 2646, 0, 0, 0, 0, 0, 0, 0, 0, 4040, - 0, 0, 0, 0, 974, 661, 0, 661, 0, 661, - 0, 661, 0, 661, 661, 661, 2647, 0, 655, 0, - 661, 0, 0, 0, 0, 0, 0, 0, 974, 0, - 0, 0, 2028, 0, 0, 905, 0, 0, 0, 2578, - 0, 0, 0, 0, 0, 0, 905, 907, 2579, 2580, - 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 907, 0, - 0, 4935, 905, 0, 2654, 0, 0, 0, 0, 655, - 0, 0, 0, 0, 907, 0, 0, 0, 0, 655, - 0, 0, 0, 0, 0, 0, 0, 655, 655, 795, - 0, 0, 0, 655, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 655, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 655, 655, 0, 0, 655, 0, - 0, 0, 0, 0, 0, 2648, 0, 0, 0, 0, - 2649, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2650, 2310, 0, 0, 0, 974, 0, - 0, 2578, 0, 0, 0, 0, 0, 0, 0, 0, - 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, - 0, 2651, 0, 5143, 655, 0, 0, 0, 0, 0, - 655, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2753, 0, 0, 3559, 0, 3559, 0, 655, 905, - 0, 2753, 877, 0, 0, 655, 0, 0, 0, 0, - 0, 907, 0, 0, 2377, 908, 0, 0, 0, 0, - 0, 655, 0, 0, 0, 0, 0, 0, 0, 0, - 2652, 0, 0, 2653, 0, 0, 0, 0, 0, 0, - 0, 908, 655, 916, 0, 0, 0, 0, 0, 0, - 0, 916, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2115, 0, 0, 2116, 0, 0, 0, 2117, - 2118, 2119, 0, 0, 0, 0, 2753, 0, 0, 0, - 655, 0, 0, 0, 0, 917, 0, 0, 0, 2644, - 0, 655, 0, 0, 0, 0, 0, 0, 0, 2645, - 0, 0, 0, 0, 0, 655, 2646, 0, 0, 0, - 2115, 0, 1824, 2116, 0, 0, 0, 2117, 2118, 2119, - 0, 0, 2811, 0, 0, 0, 2654, 0, 0, 0, - 0, 0, 2647, 0, 0, 0, 0, 2644, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2645, 0, 0, - 0, 0, 655, 655, 2646, 0, 916, 0, 916, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 655, - 0, 0, 0, 1824, 0, 0, 0, 0, 795, 0, - 2647, 0, 0, 0, 908, 0, 655, 655, 0, 0, - 0, 0, 0, 0, 2910, 0, 0, 0, 1824, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2578, 0, 0, 0, 0, 0, 0, - 0, 0, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, - 2587, 2648, 0, 0, 916, 5256, 2649, 0, 0, 0, - 0, 0, 905, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 907, 0, 0, 0, 0, 2650, - 2310, 0, 0, 1739, 0, 0, 0, 0, 0, 1739, - 0, 0, 0, 0, 0, 0, 0, 0, 916, 2648, - 0, 0, 0, 0, 2649, 0, 0, 2651, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 3559, 2650, 2310, 905, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 907, 0, 0, 0, 0, 0, 908, 0, 0, - 2377, 0, 0, 0, 0, 2651, 0, 0, 908, 0, - 0, 0, 0, 0, 0, 0, 2652, 0, 0, 2653, - 905, 0, 0, 0, 908, 0, 914, 0, 0, 0, - 914, 914, 907, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 6112, 916, 0, 0, 0, 2377, 0, - 0, 0, 0, 905, 0, 0, 0, 0, 0, 0, - 0, 0, 3041, 0, 2652, 907, 3559, 2653, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 914, 0, 0, 916, 0, - 0, 914, 0, 0, 0, 0, 0, 3077, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2115, 0, 0, - 2116, 0, 2654, 0, 2117, 2118, 2119, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2644, 0, 0, 0, 0, 914, - 0, 0, 0, 3142, 2645, 0, 0, 0, 0, 0, - 0, 2646, 0, 0, 0, 0, 0, 0, 0, 0, - 2654, 0, 0, 3160, 0, 0, 0, 0, 0, 0, - 916, 0, 0, 0, 0, 0, 0, 2647, 0, 0, - 0, 908, 0, 0, 0, 0, 0, 0, 0, 3180, - 0, 3181, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 3190, 0, 3191, 0, - 0, 0, 0, 0, 661, 0, 661, 0, 661, 2578, - 661, 0, 661, 916, 0, 0, 661, 0, 2579, 2580, - 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, 0, - 0, 5294, 0, 0, 0, 0, 0, 905, 916, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 905, 907, - 0, 0, 0, 3250, 0, 0, 0, 2578, 0, 0, - 907, 0, 0, 0, 905, 0, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 0, 907, 0, 0, 5298, - 0, 0, 0, 0, 0, 0, 2648, 0, 0, 0, - 0, 2649, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2650, 2310, 0, 0, 905, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 907, 0, 0, 905, 0, 0, 905, 905, 0, 914, - 0, 0, 2651, 910, 0, 907, 0, 0, 907, 907, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 905, 905, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 907, - 907, 0, 0, 0, 0, 2377, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 722, 0, - 2753, 2652, 0, 2800, 2653, 0, 2115, 0, 0, 2116, - 0, 0, 914, 2117, 2118, 2119, 914, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2644, 908, 0, 0, 0, 0, 0, - 0, 2801, 0, 2645, 0, 0, 0, 673, 0, 0, - 2646, 0, 0, 0, 725, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 674, 0, 0, 0, 0, - 0, 726, 0, 0, 0, 0, 2647, 0, 0, 911, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 1059, - 675, 0, 0, 0, 0, 0, 3559, 2654, 0, 0, - 0, 908, 0, 676, 0, 0, 0, 0, 0, 0, - 0, 905, 0, 2802, 0, 0, 0, 6452, 0, 914, - -906, 0, 0, 907, 3559, 0, 0, 729, 0, 0, - 0, 0, 0, 0, 914, 0, 730, 0, 677, 914, - 0, 0, 908, 0, 678, 0, 0, 0, 0, 731, - 0, 0, 0, 0, 0, 2803, 0, 0, 0, 0, - 0, 0, 679, 0, 0, 0, 0, 0, 0, 0, - 914, 0, 0, 0, 0, 908, 680, 0, 6452, 0, - 0, 0, 1062, 0, 0, 681, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2648, 0, 0, 682, 0, - 2649, 0, 0, 6452, 2578, 0, 0, 683, 0, 0, - 0, 684, 0, 2579, 2580, 2581, 2582, 2583, 2584, 2585, - 2586, 2587, 0, 2650, 2310, 0, 5575, 0, 0, 0, - 0, -1111, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 735, 0, 0, 0, 0, 0, 0, 0, - 0, 2651, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 916, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 685, 0, 0, 0, 0, 0, 2804, 0, 0, - 0, -637, 0, 0, 2377, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2652, 0, 0, 2653, 0, 3559, 0, 0, 0, 0, - 2753, 0, 0, 2115, 213, 2805, 2116, 0, 740, 0, - 2117, 2118, 2119, 0, 0, 0, 686, 0, 0, 687, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2644, 0, 0, 0, 0, 1066, 0, 0, 2806, 0, - 2645, 0, 0, 688, 0, 744, 0, 2646, 0, 908, - 0, 0, 745, 0, 0, 746, 0, 689, 0, 0, - 908, 0, 0, 0, -475, 0, 0, 0, 0, 0, - 0, 0, 0, 2647, 0, 747, 908, 0, 0, 0, - 0, 0, 0, 1068, 690, 0, 2654, 0, 0, 0, - 749, 0, 0, 1069, 691, 0, 0, 0, 751, 0, - 0, -475, 0, 0, 692, 914, 2807, 0, 914, 0, - 914, 0, 0, 2808, 0, 914, 0, 0, 0, 0, - 0, 0, 0, 0, 693, 0, 0, 0, 0, 0, - 908, 0, 694, 0, 0, 0, 0, 0, 0, -475, - 756, 0, 695, 0, 696, 908, 697, 698, 908, 908, - 0, 0, 0, 0, 0, 0, 0, 914, 0, 916, - 0, 0, 699, 0, 0, 914, 0, 0, 0, 0, - 700, 0, 0, 701, 0, 0, 702, 0, 0, 908, - 908, 0, 0, 0, 0, 0, 0, 0, 0, -475, - 914, 0, 2648, 2578, 0, 0, 0, 2649, 0, 0, - 0, 0, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, - 2587, 0, 0, 0, 0, 5586, 0, 0, 0, 0, - 2650, 2310, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 3549, 3550, 0, 913, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2651, 0, - 3565, 3566, 0, 3568, 3569, 0, 0, 0, 3572, 3573, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 914, 0, 914, 3584, 0, 0, 0, 3587, 916, 0, - 0, 3590, 3591, 0, 0, 3594, 3595, 0, 0, 0, - 0, 2377, 3600, 0, 0, 0, 0, 0, 0, 0, - 910, 0, 0, 0, 3615, 0, 0, 2652, 0, 0, - 2653, 0, 0, 0, 0, 0, 3632, 0, 0, 0, - 0, 3634, 0, 908, 0, 0, 910, 0, 0, 0, - 0, 0, 916, 0, 0, 0, 3640, 0, 0, 0, - 3646, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 3657, 0, 916, 3661, 0, 3663, 3666, 3668, - 0, 0, 0, 0, 3676, 3679, 0, 0, 914, 0, - 0, 0, 0, 0, 3692, 0, 0, 0, 0, 0, - 3702, 0, 0, 0, 3705, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 3715, 3716, 0, 0, - 0, 3721, 0, 2654, 0, 0, 2115, 3730, 3731, 2116, - 0, 0, 914, 2117, 2118, 2119, 0, 0, 905, 0, - 0, 3740, 905, 905, 3741, 0, 0, 916, 0, 0, - 907, 3753, 3754, 2644, 907, 907, 911, 3758, 0, 0, - 914, 0, 0, 2645, 0, 0, 0, 0, 0, 3765, - 2646, 0, 3768, 0, 0, 0, 0, 3771, 0, 0, - 0, 0, 911, 3774, 3775, 0, 0, 0, 0, 910, - 0, 3783, 0, 0, 0, 3785, 2647, 905, 0, 3792, - 3793, 3794, 3795, 905, 3797, 0, 0, 0, 0, 907, - 0, 0, 0, 0, 0, 907, 0, 0, 3823, 3824, - 0, 3826, 0, 0, 0, 0, 0, 0, 914, 0, - 2578, 0, 3836, 3837, 3838, 0, 0, 0, 0, 2579, - 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, - 914, 905, 5596, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 907, 0, 0, 0, 5532, 0, 916, - 0, 0, 914, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2115, 0, 0, 2116, 3890, - 0, 0, 2117, 2118, 2119, 0, 0, 3914, 0, 0, - 0, 0, 0, 0, 0, 0, 915, 0, 0, 0, - 0, 0, 2644, 0, 0, 2648, 3926, 0, 0, 0, - 2649, 0, 2645, 0, 0, 911, 0, 0, 0, 2646, - 2115, 0, 0, 2116, 0, 0, 0, 2117, 2118, 2119, - 0, 0, 0, 2650, 2310, 0, 0, 0, 0, 0, - 0, 0, 910, 0, 914, 2647, 0, 2644, 0, 0, - 0, 0, 0, 910, 0, 0, 3994, 2645, 0, 0, - 0, 2651, 0, 0, 2646, 0, 0, 0, 0, 910, - 0, 0, 0, 0, 0, 4008, 0, 4010, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2647, 0, 0, 0, 0, 0, 0, 914, 0, 0, - 916, 0, 0, 0, 2377, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2652, 0, 914, 2653, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 905, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 907, 2648, 0, 0, 0, 0, 2649, - 0, 0, 4072, 0, 0, 0, 3559, 0, 911, 0, + 0, 0, 0, 0, 0, 0, 918, 0, 0, 0, + 0, 2655, 0, 0, 0, 0, 0, 0, 4040, 975, + 0, 0, 0, 0, 655, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 795, 4056, 0, 0, + 0, 0, 0, 661, 4040, 0, 0, 0, 0, 710, + 661, 0, 0, 0, 0, 762, 0, 661, 0, 0, + 918, 0, 0, 661, 0, 815, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 975, 0, 0, + 0, 0, 918, 0, 878, 878, 0, 0, 0, 975, + 0, 0, 0, 0, 0, 722, 0, 0, 0, 0, + 1056, 0, 0, 0, 0, 655, 0, 0, 0, 0, + 0, 0, 655, 0, 0, 0, 0, 0, 2579, 0, + 0, 0, 0, 0, 975, 0, 0, 2580, 2581, 2582, + 2583, 2584, 2585, 2586, 2587, 2588, 2116, 0, 1057, 2117, + 5143, 0, 0, 2118, 2119, 2120, 1400, 0, 0, 0, + 0, 725, 1058, 0, 0, 918, 0, 915, 0, 0, + 0, 0, 0, 2645, 1059, 0, 0, 0, 726, 0, + 0, 0, 0, 2646, 0, 0, 0, 0, 0, 0, + 2647, 655, 0, 915, 0, 0, 1060, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 655, 0, + 0, 0, 0, 1825, 0, 0, 2648, 0, 0, 0, + 1061, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 975, 0, 729, 0, 0, 0, 0, 655, + 0, 0, 0, 730, 0, 957, 0, 0, 0, 961, + 0, 0, 0, 906, 0, 0, 731, 1004, 0, 0, + 1006, 0, 1062, 1011, 1012, 0, 1015, 0, 1018, 0, + 0, 1024, 0, 1026, 0, 0, 0, 0, 0, 906, + 0, 0, 0, 0, 0, 918, 0, 918, 0, 1063, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1400, 0, 0, 0, 0, 975, 0, + 0, 0, 0, 0, 0, 0, 0, 1064, 0, 0, + 0, 0, 0, 0, 0, 2649, 0, 915, 0, 0, + 2650, 0, 0, 0, 655, 0, 0, 0, 0, 735, + 0, 0, 0, 0, 655, 795, 0, 655, 0, 0, + 655, 655, 655, 2651, 2311, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 917, 0, 0, 0, 655, 655, 0, 0, 0, + 655, 2652, 0, 0, 1065, 0, 0, 4336, 0, 0, + 0, 4413, 0, 0, 0, 0, 0, 917, 655, 0, + 0, 0, 655, 0, 0, 0, 0, 0, 655, 0, + 0, 738, 655, 906, 0, 0, 0, 0, 918, 655, + 0, 213, 1066, 0, 2378, 740, 0, 655, 0, 0, + 0, 0, 0, 655, 0, 0, 655, 0, 0, 0, + 2653, 0, 975, 2654, 975, 0, 0, 0, 0, 4463, + 0, 0, 1067, 0, 0, 1068, 0, 0, 0, 743, + 0, 0, 744, 0, 0, 0, 0, 655, 0, 745, + 0, 0, 746, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 915, 0, 747, 0, 918, 975, 0, 4423, 0, 0, + 1069, 915, 0, 0, 0, 655, 0, 749, 0, 0, + 1070, 0, 0, 0, 0, 751, 0, 915, 0, 4506, + 0, 0, 0, 1071, 0, 753, 0, 0, 0, 0, + 1072, 0, 0, 0, 0, 0, 2655, 0, 0, 0, + 0, 917, 0, 0, 0, 1825, 0, 0, 0, 0, + 655, 0, 0, 0, 0, 0, 0, 756, 0, 0, + 6112, 0, 0, 0, 0, 0, 0, 3859, 0, 0, + 0, 0, 0, 0, 0, 0, 906, 0, 0, 4537, + 4537, 0, 0, 0, 0, 0, 0, 906, 0, 4553, + 0, 0, 0, 0, 1400, 1582, 1400, 0, 0, 0, + 0, 1583, 0, 906, 0, 0, 0, 0, 1649, 0, + 0, 0, 0, 655, 0, 0, 918, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 4519, 0, + 1650, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 4609, 2579, 0, 0, 1585, 655, 0, 0, + 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, + 2588, 0, 908, 0, 655, 5256, 0, 0, 655, 0, + 655, 0, 915, 0, 909, 0, 0, 4645, 4646, 0, + 0, 0, 1651, 0, 655, 1740, 0, 0, 0, 0, + 0, 0, 655, 0, 0, 655, 0, 0, 0, 0, + 0, 1054, 0, 1586, 917, 0, 655, 0, 0, 0, + 1587, 0, 1091, 655, 1588, 917, 1095, 0, 0, 0, + 0, 0, 0, 1108, 1109, 0, 0, 1115, 0, 1119, + 1120, 917, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1589, 1142, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 906, 0, + 0, 0, 1154, 0, 0, 655, 0, 0, 0, 0, + 0, 918, 0, 0, 0, 1652, 918, 918, 0, 1590, + 0, 655, 0, 1182, 0, 1184, 0, 655, 655, 975, + 0, 0, 0, 0, 0, 1200, 0, 2116, 0, 0, + 2117, 0, 0, 975, 2118, 2119, 2120, 3014, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 655, 2645, 4692, 0, 0, 661, 4696, + 0, 0, 655, 1653, 2646, 1825, 2623, 0, 1654, 0, + 0, 2647, 0, 1655, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1656, + 655, 0, 0, 1592, 0, 0, 0, 2648, 0, 0, + 0, 0, 0, 0, 1593, 0, 0, 0, 0, 0, + 0, 4803, 0, 0, 1594, 0, 917, 0, 0, 918, + 918, 0, 0, 0, 0, 1657, 1595, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 878, 0, 0, 655, 1825, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 655, 0, 0, 0, 0, + 0, 0, 0, 0, 655, 655, 655, 915, 1658, 0, + 0, 1597, 1598, 1659, 0, 0, 0, 0, 0, 655, + 1825, 0, 0, 918, 0, 0, 0, 0, 655, 0, + 655, 0, 655, 0, 0, 0, 0, 1660, 0, 0, + 0, 0, 0, 1661, 655, 0, 0, 0, 0, 0, + 0, 655, 0, 0, 0, 0, 2649, 0, 1662, 0, + 0, 2650, 0, 0, 0, 1543, 0, 0, 0, 0, + 0, 655, 0, 0, 915, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2651, 2311, 0, 0, 0, 0, + 0, 0, 0, 906, 0, 0, 1825, 0, 0, 975, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1663, + 0, 0, 2652, 0, 6452, 915, 1600, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1724, + 0, 0, 0, 0, 0, 0, 0, 0, 915, 0, + 0, 655, 0, 0, 0, 2378, 0, 0, 0, 0, + 906, 0, 0, 0, 1845, 0, 0, 0, 0, 0, + 0, 2653, 0, 0, 2654, 6452, 0, 0, 0, 1857, + 0, 1858, 0, 0, 0, 0, 0, 0, 4553, 0, + 0, 1861, 0, 0, 0, 0, 0, 0, 1871, 0, + 6452, 906, 655, 0, 0, 4924, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 5014, 655, 0, 0, + 0, 2754, 0, 0, 0, 0, 0, 655, 0, 0, + 0, 5029, 0, 0, 906, 5030, 0, 5031, 0, 0, + 0, 1923, 0, 1925, 975, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 655, 0, + 0, 0, 0, 0, 0, 0, 0, 2655, 975, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 5071, 0, 0, 0, 0, 2754, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 3859, + 0, 0, 0, 0, 3859, 0, 0, 0, 0, 655, + 0, 0, 0, 0, 0, 0, 661, 0, 661, 655, + 661, 0, 661, 0, 661, 661, 661, 655, 655, 917, + 0, 661, 0, 655, 0, 0, 0, 0, 0, 0, + 0, 0, 915, 2029, 0, 0, 0, 0, 0, 5051, + 0, 0, 5054, 915, 0, 0, 0, 0, 0, 0, + 1582, 0, 917, 0, 655, 655, 1583, 0, 655, 915, + 0, 0, 0, 0, 2579, 0, 0, 0, 0, 0, + 0, 1691, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, + 2587, 2588, 0, 0, 0, 0, 5294, 0, 0, 0, + 0, 0, 0, 0, 5177, 0, 0, 4553, 975, 908, + 0, 1585, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 909, 0, 915, 0, 0, 0, 0, 906, 0, + 0, 0, 0, 0, 655, 908, 0, 0, 915, 906, + 655, 915, 915, 0, 1740, 1740, 1740, 909, 0, 0, + 0, 0, 0, 0, 5137, 906, 0, 0, 655, 0, + 0, 0, 0, 0, 0, 655, 1692, 0, 1586, 0, + 0, 3014, 915, 915, 0, 1587, 0, 0, 0, 1588, + 0, 655, 0, 5226, 5226, 5226, 5226, 0, 5226, 5226, + 5226, 5226, 5226, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 655, 0, 0, 0, 0, 0, 1589, 906, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 906, 0, 0, 906, 906, 0, + 0, 0, 0, 0, 878, 0, 0, 0, 0, 0, + 655, 0, 0, 0, 1590, 918, 0, 0, 0, 0, + 0, 655, 4040, 0, 0, 0, 917, 1582, 906, 906, + 0, 0, 0, 1583, 0, 655, 0, 917, 0, 0, + 0, 0, 1825, 0, 0, 0, 0, 0, 1584, 908, + 0, 0, 0, 917, 0, 0, 0, 0, 0, 0, + 0, 909, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1585, 5307, + 0, 5309, 655, 655, 0, 0, 915, 0, 0, 0, + 0, 0, 0, 0, 1693, 0, 0, 0, 1592, 655, + 0, 0, 0, 1825, 0, 0, 0, 917, 0, 1593, + 0, 0, 0, 0, 0, 0, 655, 655, 0, 1594, + 0, 0, 917, 0, 2812, 917, 917, 0, 1825, 0, + 0, 1595, 0, 0, 911, 1586, 0, 0, 0, 0, + 0, 0, 1587, 0, 0, 0, 1588, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 917, 917, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 906, 3787, 0, 1589, 1597, 1598, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2911, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 3788, 0, + 0, 1590, 908, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 908, 909, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 909, 0, 0, 0, 908, + 0, 2116, 0, 0, 2117, 0, 0, 0, 2118, 2119, + 2120, 909, 0, 0, 0, 0, 1740, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 2645, 0, + 1740, 0, 0, 1740, 0, 0, 0, 0, 2646, 0, + 0, 1600, 0, 0, 0, 2647, 0, 0, 0, 0, + 0, 1591, 0, 0, 0, 1592, 0, 0, 0, 0, + 917, 0, 0, 0, 0, 0, 1593, 5446, 5447, 0, + 0, 2648, 0, 0, 0, 0, 1594, 0, 5415, 0, + 3859, 0, 3859, 3859, 3859, 0, 0, 0, 1595, 0, + 5425, 0, -136, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2, 0, 3, 4, 0, + 1596, 0, 0, 1597, 1598, 2116, 0, 0, 2117, 0, + 0, 0, 2118, 2119, 2120, 5, 0, 0, 0, 5500, + 0, 0, 0, 0, 908, 6, 0, 0, 0, 0, + 0, 0, 2645, 0, 0, 1599, 909, 7, 0, 8, + 9, 0, 2646, 0, 3042, 0, 10, 2116, 11, 2647, + 2117, 0, 0, 0, 2118, 2119, 2120, 0, 5528, 0, + 2649, 12, 0, 13, 0, 2650, 0, 0, 0, 0, + 0, 0, 0, 0, 2645, 2648, 0, 0, 0, 3078, + 14, 0, 0, 15, 2646, 0, 0, 0, 2651, 2311, + 0, 2647, 0, 0, 0, 0, 0, 0, 16, 0, + 17, 5226, 0, 0, 18, 0, 0, 0, 1600, 0, + 0, 19, 0, 0, 0, 0, 2652, 2648, 0, 0, + 0, 20, 0, 21, 0, 3143, 0, 0, 0, 0, + 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 3161, 0, 0, 23, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2378, + 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, + 0, 3181, 0, 3182, 0, 2653, 0, 0, 2654, 4040, + 0, 0, 0, 0, 0, 0, 0, 0, 3191, 0, + 3192, 0, 0, 0, 2649, 0, 661, 0, 661, 2650, + 661, 0, 661, 0, 661, 0, 0, 0, 661, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, + 26, 0, 2651, 2311, 0, 27, 722, 0, 0, 0, + 0, 2801, 0, 0, 0, 0, 2649, 0, 0, 0, + 28, 2650, 0, 0, 0, 3251, 0, 0, 0, 0, + 2652, 0, 0, 0, 0, 0, 0, 0, 0, 29, + 0, 0, 0, 0, 2651, 2311, 0, 0, 0, 2802, + 0, 2655, 0, 0, 0, 0, 0, 0, 4553, 0, + 0, 0, 725, 0, 912, 0, 0, 0, 0, 908, + 0, 0, 2652, 2378, 0, 0, 0, 0, 0, 726, + 0, 909, 0, 0, 0, 0, 0, 0, 30, 2653, + 0, 0, 2654, 4040, 0, 4040, 0, 1060, 0, 0, + 0, 0, 0, 31, 3859, 0, 0, 0, 32, 33, + 0, 34, 0, 5729, 0, 2378, 35, 0, 0, 0, + 0, 2803, 36, 915, 0, 37, 0, 915, 915, 0, + 0, 2653, 38, 0, 2654, 729, 908, 0, 0, 39, + 40, 0, 0, 0, 730, 0, 0, 41, 909, 0, + 0, 42, 0, 0, 0, 0, 0, 731, 2579, 0, + 0, 0, 43, 2804, 0, 0, 0, 2580, 2581, 2582, + 2583, 2584, 2585, 2586, 2587, 2588, 0, 908, 0, 44, + 5298, 1582, 915, 0, 0, 2655, 0, 1583, 915, 909, + 1063, 0, 0, 0, 0, 0, 0, 1740, 0, 0, + 45, 0, 0, 0, 0, 0, 0, 0, 0, 906, + 908, 0, 46, 906, 906, 0, 0, 0, 47, 0, + 0, 911, 909, 48, 0, 0, 0, 2655, 0, 0, + 0, 0, 1585, 0, 0, 0, 915, 49, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 911, 0, 0, + 735, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 50, 0, 51, 52, 53, 54, 55, 906, 0, + 0, 0, 0, 0, 906, 0, 0, 0, 0, 0, + 56, 0, 0, -136, 0, 0, 0, 0, 0, 1586, + 0, 0, 2579, 0, 0, 2805, 1587, 0, 0, 0, + 1588, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, + 0, 0, 0, 0, 5575, 0, 0, 0, 0, 0, + 0, 0, 906, 0, 0, 0, 0, 0, 0, 1589, + 0, 0, 213, 2806, 2579, 0, 740, 3554, 0, 0, + 0, 2754, 3560, 2580, 2581, 2582, 2583, 2584, 2585, 2586, + 2587, 2588, 0, 0, 0, 0, 5586, 0, 0, 0, + 0, 0, 0, 1067, 0, 1590, 2807, 1400, 0, 0, + 0, 5947, 0, 744, 0, 0, 0, 0, 0, 0, + 745, 0, 0, 746, 0, 0, 0, 0, 0, 0, + 0, 911, 0, 0, 0, 0, 917, 0, 0, 0, + 0, 0, 917, 747, 908, 0, 0, 0, 0, 0, + 0, 1069, 0, 0, 0, 908, 909, 0, 749, 0, + 0, 1070, 0, 0, 0, 0, 751, 909, 0, 0, + 0, 908, 0, 0, 2808, 0, 0, 0, 0, 0, + 0, 2809, 0, 909, 0, 1591, 915, 0, 0, 1592, + 917, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1593, 0, 0, 0, 0, 0, 0, 0, 756, 0, + 1594, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1595, 0, 0, 908, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 909, 0, 0, + 908, 0, 0, 908, 908, 0, 0, 0, 0, 0, + 0, 0, 909, 0, 0, 909, 909, 0, 0, 915, + 0, 0, 0, 915, 2899, 0, 0, 1597, 1598, 0, + 0, 0, 906, 0, 908, 908, 0, 1582, 0, 0, + 0, 0, 0, 1583, 0, 0, 909, 909, 0, 0, + 1649, 0, 0, 0, 911, 0, 0, 0, 0, 2900, + 0, 0, 0, 0, 0, 911, 0, 0, 0, 0, + 0, 0, 1650, 0, 0, 0, 0, 0, 0, 0, + 0, 911, 0, 0, 0, 0, 0, 0, 1585, 0, + 0, 0, 0, 1400, 0, 0, 0, 6118, 0, 6119, + 0, 0, 0, 6125, 6126, 906, 0, 0, 0, 906, + 0, 0, 0, 2116, 0, 0, 2117, 0, 0, 0, + 2118, 2119, 2120, 0, 1651, 0, 915, 0, 1740, 0, + 0, 0, 1600, 0, 0, 0, 0, 0, 0, 0, + 2645, 915, 0, 0, 0, 1586, 915, 0, 0, 0, + 2646, 0, 1587, 0, 0, 0, 1588, 2647, 0, 0, + 917, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 915, 908, 0, + 0, 0, 0, 2648, 0, 1589, 0, 0, 0, 0, + 909, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 906, 0, 0, 0, 0, 1652, 0, 0, + 0, 1590, 0, 3550, 3551, 0, 0, 906, 0, 0, + 0, 0, 906, 2754, 0, 0, 911, 2754, 0, 0, + 0, 912, 3566, 3567, 0, 3569, 3570, 0, 0, 0, + 3573, 3574, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 906, 0, 3585, 0, 912, 0, 3588, + 0, 0, 0, 3591, 3592, 1653, 0, 3595, 3596, 0, + 1654, 0, 0, 0, 3601, 1655, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 3616, 0, 0, 0, + 0, 1656, 2649, 0, 0, 1592, 0, 2650, 3633, 0, + 0, 0, 0, 3635, 0, 0, 1593, 0, 0, 0, + 0, 0, 0, 0, 0, 4040, 1594, 0, 3641, 0, + 2651, 2311, 3647, 0, 0, 0, 0, 1657, 1595, 0, + 917, 0, 0, 0, 3658, 0, 0, 3662, 0, 3664, + 3667, 3669, 0, 0, 0, 917, 3677, 3680, 2652, 0, + 917, 0, 0, 0, 0, 0, 3693, 0, 0, 0, + 0, 0, 3703, 0, 0, 0, 3706, 0, 0, 0, + 3760, 0, 0, 1597, 1598, 1659, 0, 0, 3716, 3717, + 0, 917, 0, 3722, 0, 0, 0, 0, 0, 3731, + 3732, 2378, 1400, 0, 0, 0, 0, 0, 0, 1660, + 0, 912, 0, 3741, 0, 3761, 3742, 2653, 0, 0, + 2654, 0, 0, 3754, 3755, 0, 0, 0, 0, 3759, + 1662, 0, 915, 0, 0, 915, 0, 915, 0, 0, + 0, 3766, 915, 0, 3769, 0, 0, 0, 4793, 3772, + 0, 0, 0, 0, 0, 3775, 3776, 0, 0, 0, + 0, 0, 0, 3784, 0, 0, 0, 3786, 0, 0, + 0, 3793, 3794, 3795, 3796, 0, 3798, 0, 0, 0, + 0, 1663, 0, 0, 915, 0, 0, 0, 1600, 0, + 3824, 3825, 915, 3827, 0, 0, 1582, 0, 0, 0, + 0, 911, 1583, 0, 3837, 3838, 3839, 0, 0, 0, + 0, 0, 0, 2655, 0, 0, 0, 915, 906, 0, + 0, 906, 0, 906, 0, 0, 0, 0, 906, 0, + 0, 914, 4794, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1585, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 3891, 0, 0, 0, 0, 6453, 0, 911, 3915, + 906, 0, 0, 2605, 912, 0, 0, 6457, 906, 0, + 0, 0, 0, 0, 0, 912, 0, 0, 3927, 0, + 0, 0, 0, 0, 0, 0, 0, 915, 0, 915, + 0, 912, 0, 906, 1586, 0, 0, 0, 0, 911, + 0, 1587, 0, 6483, 0, 1588, 0, 0, 0, 0, + 2579, 0, 0, 0, 0, 0, 0, 6453, 0, 2580, + 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 3995, 0, + 0, 0, 911, 0, 1589, 0, 2754, 0, 0, 3560, + 0, 3560, 6453, 0, 0, 5307, 2754, 4009, 0, 4011, + 0, 0, 0, 0, 0, 0, 916, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1590, 0, 0, 906, 0, 906, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 915, 0, 0, 917, 0, + 0, 0, 0, 0, 0, 0, 917, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2754, 0, 0, 0, 0, 1582, 0, 0, 915, + 0, 0, 1583, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 4072, 0, 912, 0, 0, 0, + 1693, 0, 0, 0, 1592, 0, 0, 915, 0, 0, + 0, 0, 0, 0, 0, 1593, 0, 0, 0, 0, + 0, 906, 0, 0, 0, 1594, 0, 1585, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1595, 0, 0, + 0, 0, 0, 0, 0, 908, 0, 0, 0, 908, + 908, 917, 0, 917, 0, 0, 0, 909, 0, 0, + 0, 909, 909, 0, 0, 906, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 915, 911, 0, 0, 3642, + 0, 0, 1597, 1598, 1586, 0, 0, 911, 0, 0, + 0, 1587, 0, 906, 0, 1588, 0, 915, 0, 0, + 0, 0, 0, 911, 908, 0, 0, 0, 0, 0, + 908, 0, 0, 0, 1599, 0, 909, 0, 2116, 915, + 0, 2117, 909, 0, 1589, 2118, 2119, 2120, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2645, 0, 0, 0, 917, + 0, 0, 0, 0, 0, 2646, 0, 911, 908, 0, + 1590, 906, 2647, 0, 0, 0, 0, 0, 0, 0, + 909, 0, 911, 0, 0, 911, 911, 0, 1740, 0, + 0, 0, 0, 906, 1740, 0, 0, 1600, 2648, 0, + 0, 0, 0, 917, 0, 0, 0, 0, 0, 0, + 915, 0, 0, 0, 0, 906, 911, 911, 0, 0, + 0, 0, 0, 0, 0, 2116, 0, 0, 2117, 0, + 0, 3560, 2118, 2119, 2120, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1693, 0, 2645, 0, 1592, 0, 0, 0, 0, 0, + 0, 0, 2646, 915, 0, 1593, 0, 0, 0, 2647, + 0, 912, 0, 0, 0, 1594, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1595, 915, 0, + 0, 0, 0, 0, 0, 2648, 906, 0, 0, 917, + 0, 0, 0, 0, 0, 0, 0, 2116, 0, 0, + 2117, 0, 0, 0, 2118, 2119, 2120, 2649, 0, 0, + 0, 3560, 2650, 0, 0, 0, 0, 0, 0, 3834, + 0, 0, 1597, 1598, 2645, 4337, 0, 0, 912, 0, + 0, 0, 0, 917, 2646, 2651, 2311, 0, 0, 906, + 0, 2647, 4344, 0, 0, 0, 4344, 0, 0, 0, + 911, 4355, 4356, 4357, 3835, 0, 0, 0, 0, 0, + 0, 0, 0, 2652, 906, 0, 0, 2648, 908, 912, + 0, 0, 0, 4369, 0, 0, 0, 0, 0, 0, + 909, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 4400, 4401, 4402, + 4403, 0, 912, 0, 2649, 1582, 2378, 0, 0, 2650, + 0, 1583, 0, 0, 917, 0, 0, 0, 0, 0, + 0, 0, 2653, 0, 0, 2654, 0, 1600, 0, 0, + 0, 0, 2651, 2311, 0, 4424, 0, 4428, 4429, 4430, + 915, 908, 0, 0, 0, 908, 0, 0, 914, 0, + 0, 0, 0, 909, 0, 0, 1585, 909, 0, 0, + 2652, 0, 0, 0, 0, 0, 0, 917, 2116, 0, + 0, 2117, 0, 0, 914, 2118, 2119, 2120, 0, 0, + 0, 0, 0, 0, 0, 0, 2649, 0, 0, 0, + 0, 2650, 917, 0, 0, 2645, 0, 0, 0, 0, + 0, 0, 0, 2378, 0, 2646, 0, 0, 0, 0, + 0, 0, 2647, 1586, 2651, 2311, 0, 0, 2655, 2653, + 1587, 0, 2654, 0, 1588, 0, 906, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 915, 0, 2648, 0, + 0, 0, 2652, 0, 0, 0, 0, 0, 908, 0, + 0, 0, 0, 1589, 0, 0, 0, 4514, 0, 0, + 909, 0, 0, 908, 915, 0, 4520, 0, 908, 0, + 0, 0, 0, 0, 0, 909, 0, 0, 0, 0, + 909, 0, 0, 916, 0, 2378, 0, 0, 0, 1590, + 0, 0, 4530, 4531, 0, 0, 912, 4532, 0, 908, + 0, 2653, 0, 0, 2654, 0, 0, 912, 0, 916, + 0, 909, 0, 0, 0, 2655, 0, 0, 914, 4575, + 0, 0, 906, 912, 0, 2579, 0, 0, 0, 0, + 0, 0, 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, + 2586, 2587, 2588, 0, 0, 0, 0, 5596, 0, 0, + 906, 0, 0, 0, 2754, 0, 0, 2649, 0, 0, + 0, 0, 2650, 0, 0, 0, 0, 0, 0, 1693, + 0, 4612, 0, 1592, 0, 0, 4618, 912, 0, 0, + 0, 0, 4624, 0, 1593, 2651, 2311, 0, 0, 0, + 0, 0, 912, 0, 1594, 912, 912, 2655, 0, 0, + 0, 0, 0, 0, 0, 0, 1595, 0, 915, 0, + 0, 0, 4664, 2652, 0, 0, 0, 0, 0, 0, + 0, 0, 2579, 0, 0, 0, 912, 912, 0, 0, + 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, + 0, 4679, 0, 4680, 5660, 0, 0, 0, 4352, 0, + 3560, 1597, 1598, 916, 0, 915, 2378, 0, 0, 0, + 915, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2653, 0, 0, 2654, 1582, 0, 3560, 0, + 0, 914, 1583, 4353, 0, 0, 0, 0, 0, 0, + 0, 0, 914, 0, 906, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2579, 0, 0, 0, 914, 0, + 0, 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, + 2587, 2588, 0, 0, 0, 0, 5693, 1585, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 906, 0, 0, 0, 0, 906, 0, 0, 0, + 0, 0, 0, 0, 908, 0, 1600, 908, 0, 908, + 0, 0, 0, 0, 908, 0, 909, 0, 2655, 909, + 912, 909, 0, 0, 0, 0, 909, 0, 0, 0, + 0, 0, 0, 0, 1586, 0, 0, 0, 0, 0, + 0, 1587, 0, 0, 0, 1588, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 908, 0, 0, 0, + 0, 0, 0, 0, 908, 0, 916, 0, 909, 915, + 0, 0, 917, 0, 1589, 0, 909, 916, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 908, + 0, 0, 0, 916, 0, 0, 0, 0, 0, 0, + 0, 909, 0, 0, 0, 0, 0, 0, 0, 0, + 1590, 0, 0, 914, 0, 0, 0, 0, 0, 3560, + 0, 0, 0, 0, 2754, 2579, 0, 911, 0, 0, + 0, 911, 911, 0, 2580, 2581, 2582, 2583, 2584, 2585, + 2586, 2587, 2588, 0, 0, 0, 0, 5695, 0, 0, + 0, 0, 0, 0, 0, 906, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 908, + 0, 908, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 909, 0, 909, 0, 0, 911, 0, 915, 0, + 1693, 0, 911, 0, 1592, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1593, 0, 0, 4917, 0, + 4918, 0, 0, 0, 0, 1594, 0, 0, 0, 0, + 0, 0, 0, 4925, 0, 0, 0, 1595, 0, 0, + 0, 0, 0, 0, 0, 4931, 0, 0, 0, 4934, + 911, 0, 915, 0, 0, 0, 0, 0, 916, 0, + 0, 4948, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 915, 0, 0, 908, 0, 4425, + 0, 4974, 1597, 1598, 906, 0, 0, 0, 0, 909, + 0, 0, 0, 917, 0, 0, 0, 0, 0, 4978, + 0, 0, 0, 0, 0, 0, 0, 4982, 0, 0, + 0, 0, 0, 0, 4426, 0, 0, 0, 0, 0, + 0, 908, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 5017, 909, 0, 0, 5021, 0, 906, 0, + 0, 0, 0, 0, 0, 0, 0, 915, 0, 908, + 0, 0, 5032, 5033, 5034, 5035, 0, 0, 0, 0, + 906, 909, 5039, 5040, 5041, 5042, 0, 0, 0, 0, + 0, 5044, 5045, 0, 0, 0, 0, 5052, 5053, 0, + 5055, 5056, 5057, 5058, 5059, 5060, 5061, 1600, 914, 0, + 0, 0, 0, 0, 0, 0, 5070, 0, 0, 0, + 5073, 5074, 5075, 5076, 0, 0, 0, 0, 0, 0, + 0, 0, 917, 0, 0, 0, 0, 908, 0, 0, + 0, 0, 0, 0, 4344, 0, 0, 0, 0, 909, + 0, 0, 0, 906, 0, 0, 0, 0, 0, 908, + 0, 0, 5096, 0, 0, 0, 0, 0, 0, 0, + 0, 909, 0, 0, 0, 914, 0, 0, 0, 0, + 911, 908, 0, 0, 0, 0, 917, 0, 0, 915, + 0, 0, 0, 909, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 917, 0, + 0, 0, 0, 0, 0, 2116, 914, 0, 2117, 0, + 0, 0, 2118, 2119, 2120, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 5178, + 0, 0, 2645, 916, 0, 0, 0, 0, 0, 914, + 0, 0, 2646, 911, 0, 0, 0, 911, 0, 2647, + 0, 0, 908, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 4344, 909, 906, 0, 0, 0, 0, + 5203, 917, 5204, 0, 0, 2648, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 5219, + 916, 0, 0, 0, 0, 908, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 909, 0, 0, + 915, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 908, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 916, 909, 0, 0, 0, 0, 0, 0, 0, + 911, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 911, 0, 912, 0, 0, + 911, 912, 912, 0, 916, 0, 0, 0, 0, 0, + 954, 956, 0, 0, 959, 0, 0, 0, 0, 0, + 0, 5532, 0, 917, 2649, 0, 915, 0, 0, 2650, + 0, 911, 0, 0, 1017, 0, 906, 0, 0, 0, + 0, 1027, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2651, 2311, 0, 0, 912, 0, 0, 0, + 0, 0, 912, 914, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 914, 0, 0, 0, 0, 0, + 2652, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 914, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 912, 0, 906, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 908, 2378, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 909, 0, 0, 0, 0, 2653, + 0, 0, 2654, 0, 914, 5367, 5368, 5369, 915, 0, + 0, 5370, 5371, 5372, 5373, 0, 0, 0, 5375, 914, + 0, 0, 914, 914, 917, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 914, 914, 0, 0, 0, 916, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 916, + 5410, 5411, 5412, 5413, 5414, 0, 5416, 5417, 908, 0, + 0, 0, 0, 0, 0, 916, 0, 0, 5426, 5427, + 909, 0, 0, 0, 906, 2655, 0, 0, 0, 0, + 3560, 0, 0, 0, 0, 0, 908, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 909, 0, + 0, 0, 0, 5433, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 916, + 0, 0, 0, 0, 0, 0, 911, 0, 0, 911, + 0, 911, 0, 0, 916, 0, 911, 916, 916, 0, + 0, 0, 0, 915, 0, 0, 0, 0, 915, 915, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 912, 0, 0, 0, 0, 0, 0, 0, 916, 916, + 0, 0, 0, 0, 0, 0, 0, 914, 911, 0, + 0, 0, 2579, 0, 0, 0, 911, 0, 0, 0, + 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, + 0, 0, 3560, 0, 5734, 0, 5498, 0, 0, 0, + 0, 911, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 906, + 908, 0, 0, 912, 906, 906, 0, 912, 0, 0, + 0, 0, 909, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 915, 0, 0, 0, 0, 0, 0, 0, + 0, 5549, 0, 0, 0, 0, 0, 908, 0, 0, + 0, 0, 908, 0, 0, 0, 0, 0, 0, 909, + 0, 911, 0, 911, 909, 0, 0, 0, 0, 0, + 0, 0, 0, 5555, 0, 0, 0, 0, 722, 0, + 0, 0, 916, 3260, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 915, 1087, 0, 1090, 0, + 0, 1092, 0, 0, 0, 0, 0, 0, 0, 0, + 912, 0, 0, 0, 0, 1118, 0, 0, 906, 0, + 0, 1122, 0, 0, 0, 912, 0, 917, 0, 0, + 912, 0, 917, 917, 725, 3261, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 726, 0, 0, 0, 0, 0, 0, 0, 911, + 0, 912, 0, 0, 0, 0, 0, 0, 0, 1060, + 0, 0, 0, 661, 0, 0, 0, 2116, 0, 0, + 2117, 906, 0, 0, 2118, 2119, 2120, 0, 0, 0, + 0, 0, 0, 3262, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 911, 2645, 0, 0, 729, 0, 0, + 0, 908, 0, 0, 2646, 0, 730, 0, 0, 0, + 0, 2647, 0, 909, 0, 0, 0, 0, 0, 731, + 0, 911, 0, 0, 0, 3263, 0, 0, 0, 0, + 0, 0, 0, 0, 5682, 5532, 917, 2648, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1063, 5692, 0, 0, 0, 0, 0, 5698, + 5699, 0, 0, 0, 0, 0, 0, 0, 0, 5710, + 0, 0, 0, 0, 0, 0, 5712, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 911, - 0, 0, 2650, 2310, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 911, 0, 0, 0, 2648, - 0, 0, 0, 0, 2649, 0, 2654, 0, 0, 0, - 2651, 0, 0, 0, 905, 0, 910, 0, 905, 0, - 0, 0, 0, 0, 0, 0, 907, 2650, 2310, 0, - 907, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2377, 0, 2651, 0, 0, 0, 0, + 3264, 0, 0, 0, 0, 0, 0, 0, 0, 917, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 911, 735, 5765, 5766, 0, 0, 0, 0, 0, + 908, 0, 0, 0, 0, 0, 5774, 0, 5776, 0, + 0, 0, 909, 911, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 5790, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2649, 0, 0, 0, + 0, 2650, 0, 0, 0, 0, 0, 0, 4344, 0, + 0, 0, 0, 0, 908, 0, 5824, 0, 0, 0, + 967, 977, 0, 0, 2651, 2311, 909, 0, 967, 0, + 977, 967, 0, 0, 213, 3265, 908, 0, 740, 1614, + 1615, 0, 0, 0, 977, 0, 912, 0, 909, 912, + 0, 912, 2652, 0, 911, 0, 912, 0, 0, 0, + 0, 0, 0, 0, 0, 1067, 0, 0, 3266, 0, + 0, 0, 0, 0, 0, 744, 0, 0, 0, 0, + 0, 0, 745, 0, 0, 746, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2378, 0, 0, 912, 0, + 0, 0, 0, 0, 0, 747, 912, 911, 5885, 908, + 1844, 2653, 0, 1069, 2654, 0, 0, 0, 0, 0, + 749, 909, 5900, 1070, 0, 1856, 0, 0, 751, 0, + 0, 912, 911, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 3267, 0, 0, 0, 0, 5918, 0, + 0, 0, 0, 0, 0, 0, 1878, 1879, 2116, 0, + 0, 2117, 0, 0, 0, 2118, 2119, 2120, 0, 0, + 756, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1916, 0, 0, 2645, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2646, 0, 0, 0, 0, + 0, 0, 2647, 0, 914, 0, 0, 2655, 914, 914, + 0, 912, 0, 912, 0, 0, 5977, 0, 0, 0, + 0, 1954, 1956, 0, 0, 0, 0, 0, 2648, 0, + 0, 908, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 909, 0, 0, 0, 915, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 914, 0, 0, 0, 0, 0, 914, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 4344, 0, 0, 0, + 0, 0, 0, 0, 911, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 912, + 0, 0, 0, 0, 2579, 0, 0, 914, 0, 0, + 6057, 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, + 2587, 2588, 0, 906, 0, 0, 6098, 0, 0, 916, + 0, 0, 0, 916, 916, 0, 0, 2649, 0, 0, + 0, 0, 2650, 912, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 6088, 0, 0, 0, + 0, 0, 908, 0, 0, 2651, 2311, 0, 0, 0, + 0, 912, 0, 0, 909, 0, 0, 0, 0, 0, + 911, 6107, 0, 0, 0, 0, 0, 0, 916, 0, + 0, 0, 0, 2652, 916, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 911, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2378, 0, 908, 912, + 6146, 0, 916, 0, 0, 0, 0, 0, 0, 0, + 909, 917, 2653, 0, 0, 2654, 0, 0, 0, 0, + 0, 912, 0, 0, 2116, 0, 0, 2117, 0, 977, + 0, 2118, 2119, 2120, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 912, 0, 0, 0, 0, 977, 0, + 0, 2645, 0, 0, 977, 0, 0, 0, 0, 0, + 0, 2646, 0, 980, 0, 0, 977, 0, 2647, 0, + 0, 0, 0, 0, 0, 1014, 0, 914, 1740, 0, + 0, 0, 977, 0, 0, 0, 1033, 0, 0, 0, + 0, 0, 0, 0, 2648, 0, 967, 977, 0, 0, + 0, 0, 0, 967, 0, 977, 967, 0, 2655, 0, + 0, 0, 911, 0, 0, 6243, 0, 0, 0, 977, + 908, 0, 0, 0, 912, 0, 0, 0, 0, 977, + 0, 0, 909, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 6258, 0, 0, 0, 0, 0, + 914, 0, 0, 0, 914, 6268, 0, 0, 0, 911, + 0, 0, 0, 0, 911, 0, 0, 0, 0, 0, + 2832, 0, 0, 0, 0, 0, 0, 912, 0, 0, + 0, 0, 977, 0, 0, 0, 0, 0, 0, 0, + 0, 976, 0, 0, 0, 2878, 0, 0, 0, 0, + 976, 0, 912, 0, 0, 0, 0, 0, 0, 0, + 0, 977, 916, 2649, 976, 2579, 0, 0, 2650, 0, + 0, 0, 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, + 2586, 2587, 2588, 0, 0, 0, 977, 6106, 0, 0, + 0, 2651, 2311, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 914, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2652, - 0, 0, 2653, 0, 914, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 3559, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2377, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 913, 0, 2578, 2652, 0, 0, 2653, 0, 0, - 0, 905, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, - 2587, 0, 0, 907, 0, 5660, 905, 913, 0, 0, - 0, 905, 0, 0, 0, 0, 0, 0, 907, 0, - 908, 0, 911, 907, 908, 908, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2654, 0, 0, 0, 0, - 914, 0, 905, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 907, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 914, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 908, - 2654, 0, 0, 0, 0, 908, 0, 0, 0, 0, + 0, 0, 914, 0, 2968, 908, 0, 914, 0, 0, + 908, 908, 6350, 0, 0, 916, 0, 909, 2116, 916, + 0, 2117, 909, 909, 0, 2118, 2119, 2120, 977, 0, + 0, 0, 0, 0, 2994, 2995, 2996, 2997, 914, 0, + 0, 0, 2378, 0, 0, 2645, 0, 0, 0, 0, + 0, 0, 0, 911, 0, 2646, 0, 0, 2653, 0, + 0, 2654, 2647, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 2648, 0, + 0, 0, 0, 0, 912, 0, 2116, 0, 0, 2117, + 0, 0, 0, 2118, 2119, 2120, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 916, 2645, 908, 0, 0, 0, 0, 0, + 0, 0, 0, 2646, 0, 0, 909, 916, 1827, 0, + 2647, 0, 916, 0, 0, 977, 0, 0, 0, 0, + 0, 0, 0, 0, 2655, 0, 967, 0, 0, 0, + 967, 0, 967, 0, 0, 0, 2648, 0, 0, 0, + 0, 0, 911, 916, 0, 0, 0, 0, 0, 0, + 0, 3051, 3052, 0, 0, 0, 0, 908, 0, 0, + 912, 0, 0, 0, 0, 0, 0, 3069, 0, 909, + 0, 0, 0, 0, 0, 0, 0, 2649, 0, 0, + 0, 0, 2650, 0, 0, 0, 0, 0, 912, 0, + 0, 0, 0, 0, 6494, 0, 911, 0, 0, 0, + 0, 3112, 3113, 3114, 3115, 2651, 2311, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 911, 0, + 0, 1053, 0, 0, 0, 0, 0, 1085, 0, 0, + 0, 2579, 0, 2652, 0, 0, 0, 0, 977, 0, + 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, + 0, 0, 0, 6128, 0, 2649, 0, 0, 0, 0, + 2650, 0, 0, 914, 0, 0, 914, 0, 914, 0, + 0, 0, 0, 914, 0, 0, 2378, 0, 0, 0, + 0, 0, 3189, 2651, 2311, 0, 0, 0, 3193, 0, + 0, 911, 2653, 0, 0, 2654, 0, 0, 0, 977, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 977, + 0, 2652, 0, 0, 0, 914, 0, 0, 0, 0, + 0, 0, 0, 914, 0, 0, 977, 0, 0, 0, + 0, 977, 912, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 914, 976, + 0, 0, 0, 0, 2378, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 976, 0, + 2653, 0, 0, 2654, 976, 0, 0, 0, 0, 912, + 0, 0, 2116, 0, 912, 2117, 976, 0, 2655, 2118, + 2119, 2120, 0, 0, 0, 0, 0, 0, 916, 1392, + 0, 916, 976, 916, 0, 0, 0, 0, 916, 2645, + 0, 0, 0, 911, 0, 0, 0, 976, 1419, 2646, + 0, 0, 0, 0, 0, 976, 2647, 0, 914, 0, + 914, 0, 0, 0, 0, 0, 0, 0, 0, 976, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 976, + 916, 0, 2648, 0, 0, 0, 0, 0, 916, 0, + 0, 0, 0, 0, 0, 0, 2655, 0, 977, 0, + 0, 0, 0, 0, 0, 0, 977, 977, 3379, 0, + 0, 0, 0, 916, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2579, 0, 0, 0, 0, + 0, 0, 976, 0, 2580, 2581, 2582, 2583, 2584, 2585, + 2586, 2587, 2588, 0, 0, 0, 0, 6356, 0, 0, + 0, 0, 0, 0, 0, 0, 914, 0, 0, 1827, + 0, 976, 0, 0, 0, 0, 0, 1613, 0, 0, + 0, 0, 0, 912, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 911, 0, 976, 0, 0, 0, + 0, 0, 0, 916, 0, 916, 0, 0, 0, 0, + 914, 2649, 0, 2579, 0, 0, 2650, 0, 0, 0, + 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, + 2588, 0, 0, 0, 0, 6373, 0, 0, 914, 2651, + 2311, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 976, 0, + 0, 0, 0, 0, 0, 0, 0, 2652, 0, 0, + 911, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1876, 0, 0, 0, 0, 0, 0, 0, + 0, 916, 912, 0, 0, 0, 914, 0, 0, 0, + 2378, 0, 0, 0, 0, 0, 0, 0, 0, 908, + 0, 1910, 1913, 1914, 0, 0, 2653, 0, 914, 2654, + 0, 909, 2116, 0, 0, 2117, 0, 0, 0, 2118, + 2119, 2120, 0, 0, 0, 916, 0, 0, 197, 0, + 914, 0, 0, 0, 0, 0, 912, 0, 0, 2645, + 0, 0, 0, 3505, 0, 0, 0, 0, 1826, 2646, + 0, 0, 0, 916, 0, 976, 2647, 0, 912, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 911, 0, 0, 0, 0, 0, 0, 198, + 0, 0, 2648, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 199, 0, 0, 0, + 977, 0, 2655, 0, 0, 0, 0, 0, 0, 1392, + 0, 914, 0, 0, 200, 0, 0, 0, 0, 0, + 201, 916, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 912, 0, 0, 3506, 0, 1392, 0, 202, 0, + 0, 0, 0, 916, 0, 0, 0, 0, 0, 0, + 0, 0, 203, 0, 0, 0, 0, 0, 0, 0, + 0, 204, 0, 0, 914, 916, 0, 0, 0, 0, + 0, 0, 0, 0, 205, 0, 0, 0, 976, 0, + 206, 0, 0, 0, 0, 0, 0, 207, 0, 914, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2649, 0, 0, 0, 0, 2650, 208, 0, 2579, + 0, 0, 0, 0, 0, 977, 0, 0, 2580, 2581, + 2582, 2583, 2584, 2585, 2586, 2587, 2588, 911, 0, 2651, + 2311, 6432, 911, 911, 0, 0, 0, 0, 0, 976, + 0, 0, 0, 0, 0, 209, 916, 0, 0, 976, + 1827, 0, 0, 912, 0, 0, 0, 2652, 0, 0, + 0, 0, 0, 0, 0, 0, 976, 210, 0, 0, + 3379, 976, 0, 977, 0, 0, 0, 0, 0, 0, + 0, 977, 0, 0, 0, 0, 0, 0, 0, 977, + 0, 0, 0, 2639, 0, 0, 0, 0, 2116, 916, + 2378, 2117, 0, 0, 0, 2118, 2119, 2120, 0, 0, + 0, 0, 211, 0, 0, 0, 2653, 0, 0, 2654, + 0, 0, 0, 0, 916, 2645, 0, 0, 0, 0, + 967, 967, 0, 977, 977, 2646, 0, 0, 0, 212, + 0, 0, 2647, 0, 0, 967, 911, 977, 967, 213, + 214, 914, 0, 215, 0, 2116, 0, 0, 2117, 0, + 977, 977, 2118, 2119, 2120, 0, 0, 0, 2648, 0, + 0, 0, 0, 2730, 0, 0, 0, 0, 0, 0, + 216, 0, 2645, 217, 0, 0, 0, 218, 0, 0, + 219, 0, 2646, 0, 912, 0, 0, 220, 967, 2647, + 221, 0, 967, 967, 0, 0, 0, 0, 976, 911, + 0, 0, 2655, 0, 0, 0, 976, 976, 0, 0, + 222, 0, 0, 0, 0, 2648, 0, 0, 223, 0, + 0, 0, 3615, 224, 0, 225, 0, 0, 226, 0, + 0, 0, 0, 227, 0, 0, 0, 914, 0, 0, + 0, 0, 0, 228, 0, 0, 2844, 0, 229, 0, + 0, 0, 4154, 0, 0, 2874, 0, 0, 4155, 1826, + 912, 0, 230, 0, 0, 914, 0, 3507, 0, 0, + 0, 0, 0, 0, 0, 231, 916, 2649, 0, 0, + 0, 0, 2650, 0, 0, 0, 0, 2912, 0, 0, + 0, 0, 0, 2924, 2924, 0, 0, 2924, 0, 0, + 0, 0, 0, 0, 0, 2651, 2311, 0, 6193, 2579, + 2942, 0, 1827, 2945, 0, 0, 0, 0, 2580, 2581, + 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, 0, 0, + 0, 0, 0, 2652, 2649, 0, 0, 0, 0, 2650, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2651, 2311, 0, 0, 0, 3765, 0, 0, + 3768, 2998, 916, 0, 0, 0, 2378, 0, 0, 0, + 0, 0, 912, 0, 0, 3018, 0, 0, 0, 0, + 2652, 0, 2653, 0, 0, 2654, 0, 0, 0, 0, + 916, 0, 0, 0, 0, 0, 0, 0, 0, 914, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2378, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2653, + 0, 0, 2654, 0, 0, 0, 914, 0, 0, 3863, + 0, 914, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 3876, 0, 0, 0, 0, 0, 6194, 0, + 3885, 0, 0, 0, 0, 0, 0, 0, 4156, 0, + 0, 0, 0, 0, 0, 3040, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 3043, 0, 0, 0, + 976, 0, 0, 0, 0, 0, 0, 0, 0, 3929, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 912, 0, 0, + 3953, 0, 912, 912, 916, 2655, 0, 0, 3087, 2924, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 3122, 0, 0, 0, 0, 0, 0, + 3135, 0, 0, 4008, 0, 4010, 0, 0, 0, 0, + 0, 916, 0, 0, 0, 2579, 916, 0, 0, 0, + 0, 0, 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, + 2586, 2587, 2588, 0, 0, 0, 0, 0, 0, 0, + 914, 0, 0, 0, 0, 976, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2579, 3196, 0, 0, 912, 0, 0, 0, + 1826, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, + 0, 0, 0, 4064, 0, 0, 0, 0, 0, 0, + 4071, 0, 0, 976, 0, 0, 1392, 1392, 0, 2116, + 0, 976, 2117, 0, 0, 0, 2118, 2119, 2120, 976, + 0, 0, 0, 3250, 0, -136, 3252, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2645, 0, 0, 912, + 0, 911, 0, 0, 0, 0, 2646, 1, 0, 0, + 0, 0, 0, 2647, 0, 0, 0, 0, 2, 914, + 3, 4, 0, 976, 976, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 916, 0, 976, 5, 2648, + 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, + 976, 976, 0, 0, 0, 0, 0, 0, 0, 0, + 7, 0, 8, 9, 0, 0, 0, 0, 0, 10, + 0, 11, 0, 914, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 12, 0, 13, 0, 0, 0, + 0, 0, 0, 0, 0, 914, 0, 0, 0, 0, + 0, 0, 0, 14, 0, 0, 15, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 16, 0, 17, 0, 0, 0, 18, 0, 0, + 0, 0, 2116, 0, 19, 2117, 1827, 0, 0, 2118, + 2119, 2120, 0, 0, 20, 0, 21, 0, 0, 0, + 0, 0, 0, 22, 916, 0, 0, 0, 2649, 2645, + 0, 0, 4081, 2650, 0, 0, 0, 0, 914, 2646, + 0, 23, 0, 0, 0, 0, 2647, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2651, 2311, 24, 0, + 0, 977, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2648, 0, 0, 0, 0, 0, 916, 977, + 0, 0, 1826, 977, 2652, 0, 0, 977, 0, 0, + 0, 0, 0, 0, 0, 0, 977, 0, 0, 0, + 916, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 977, 25, 26, 0, 0, 0, 0, 27, 0, + 0, 0, 0, 0, 0, 0, 0, 2378, 967, 0, + 967, 967, 0, 28, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2653, 0, 977, 2654, 0, 0, 0, + 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, + 914, 0, 0, 0, 0, 977, 977, 0, 0, 0, + 4340, 4341, 0, 916, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2649, 0, 0, 0, 0, 2650, 0, 0, 0, + 0, 30, 0, 1827, 977, 0, 0, 1827, 0, 0, + 0, 0, 0, 0, 0, 0, 31, 0, 0, 2651, + 2311, 32, 33, 0, 34, 0, 0, 0, 0, 35, + 0, 977, 0, 1827, 0, 36, 0, 977, 37, 2655, + 0, 0, 0, 0, 0, 38, 0, 2652, 0, 0, + 0, 977, 39, 40, 0, 0, 0, 0, 977, 0, + 41, 977, 0, 0, 42, 0, 0, 977, 0, 0, + 0, 0, 0, 0, 0, 43, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 977, 0, 0, + 2378, 0, 44, 977, 0, 916, 0, 0, 0, 0, + 977, 914, 0, 0, 0, 0, 2653, 0, 0, 2654, + 0, 0, 0, 45, 977, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 46, 0, 0, 977, 0, + 0, 47, 0, 1827, 0, 0, 48, 0, 0, 977, + 0, 0, 0, 0, 0, 4091, 2579, 0, 0, 0, + 49, 0, 0, 0, 0, 2580, 2581, 2582, 2583, 2584, + 2585, 2586, 2587, 2588, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 50, 0, 2116, 914, 0, 2117, + 0, 0, 0, 2118, 2119, 2120, 0, 0, 0, 0, + 0, 912, 0, 56, 0, 0, -136, 0, 0, 1827, + 0, 0, 2655, 2645, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2646, 0, 3436, 0, 0, 0, 0, + 2647, 0, 2116, 0, 4527, 2117, 3441, 0, 0, 2118, + 2119, 2120, 0, 0, 0, 0, 916, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2648, 0, 0, 2645, + 0, 0, 4159, 0, 0, 0, 0, 0, 0, 2646, + 0, 0, 0, 0, 0, 0, 2647, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2648, 0, 0, 0, 0, 0, 0, 914, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2579, + 0, 0, 916, 0, 0, 0, 0, 0, 2580, 2581, + 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1392, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 977, 0, 1827, 0, 0, 0, + 0, 0, 0, 0, 0, 2649, 0, 0, 0, 0, + 2650, 0, 0, 977, 0, 0, 0, 0, 0, 0, + 977, 0, 0, 0, 4682, 0, 0, 967, 0, 967, + 967, 0, 0, 2651, 2311, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2649, 0, 0, 0, 0, 2650, 0, 0, 0, + 0, 2652, 0, 0, 0, 0, 1826, 0, 0, 0, + 0, 0, 0, 0, 916, 0, 0, 0, 0, 2651, + 2311, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 914, 0, 0, 0, 0, 914, + 914, 0, 1367, 1367, 2378, 0, 0, 2652, 0, 0, + 0, 0, 0, 0, 0, 0, 3661, 0, 1827, 0, + 2653, 976, 0, 2654, 1827, 0, 0, 0, 0, 0, + 0, 3683, 0, 0, 0, 0, 0, 0, 0, 976, + 0, 0, 0, 976, 4127, 0, 0, 976, 0, 0, + 2378, 0, 0, 3711, 0, 0, 976, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2653, 0, 0, 2654, + 0, 976, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1367, 2116, 0, 0, 2117, 0, 0, 0, + 2118, 2119, 2120, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 976, 0, 0, 0, 977, + 2645, 0, 0, 914, 0, 0, 2655, 0, 0, 0, + 2646, 0, 0, 0, 0, 976, 976, 2647, 0, 916, + 0, 0, 0, 0, 916, 916, 0, 0, 2116, 3791, + 3792, 2117, 0, 0, 0, 2118, 2119, 2120, 0, 0, + 0, 0, 0, 2648, 0, 0, 0, 0, 0, 0, + 0, 0, 2655, 1826, 976, 2645, 0, 1826, 0, 0, + 0, 0, 0, 0, 0, 2646, 914, 0, 0, 0, + 0, 0, 2647, 0, 0, 0, 0, 0, 0, 0, + 0, 976, 0, 1826, 0, 0, 0, 976, 0, 0, + 0, 0, 0, 1737, 1741, 0, 0, 0, 2648, 0, + 0, 976, 0, 0, 0, 0, 0, 0, 976, 0, + 0, 976, 0, 2579, 0, 0, 0, 976, 0, 0, + 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, + 2588, 3917, 977, 977, 0, 0, 0, 976, 916, 0, + 0, 0, 0, 976, 0, 0, 0, 0, 0, 0, + 976, 0, 0, 977, 0, 0, 977, 0, 0, 2579, + 0, 0, 2649, 0, 976, 0, 0, 2650, 2580, 2581, + 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, 976, 0, + 0, 0, 0, 1826, 0, 0, 0, 0, 0, 976, + 2651, 2311, 0, 0, 0, 0, 0, 2116, 4164, 0, + 2117, 916, 0, 0, 2118, 2119, 2120, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2649, 2652, 0, + 0, 0, 2650, 0, 2645, 0, 0, 4171, 0, 0, + 0, 0, 0, 0, 2646, 0, 0, 0, 1827, 1827, + 1827, 2647, 0, 0, 0, 2651, 2311, 0, 0, 1826, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2378, 0, 977, 0, 0, 0, 2648, 0, 0, + 0, 0, 0, 2652, 0, 0, 0, 2653, 0, 0, + 2654, 0, 977, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2116, 0, 0, 2117, 0, 0, + 0, 2118, 2119, 2120, 977, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2378, 0, 0, 0, + 0, 2645, 0, 0, 4800, 0, 0, 0, 0, 0, + 2058, 2646, 2653, 0, 5093, 2654, 0, 0, 2647, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 5095, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2648, 0, 0, 0, 0, 0, + 0, 0, 2084, 2655, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2649, 0, 0, 0, + 0, 2650, 0, 0, 977, 0, 0, 0, 0, 0, + 0, 2103, 2104, 2105, 976, 2107, 1826, 0, 0, 4723, + 0, 0, 0, 0, 2651, 2311, 0, 0, 0, 0, + 0, 0, 0, 976, 0, 0, 2597, 0, 2655, 0, + 976, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1827, 2652, 0, 0, 0, 0, 977, 0, 977, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 977, 0, 977, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 4226, 0, 0, 0, + 2579, 0, 0, 2649, 0, 2378, 0, 0, 2650, 2580, + 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, 0, + 0, 2653, 0, 0, 2654, 0, 0, 0, 0, 0, + 0, 2651, 2311, 0, 0, 0, 2116, 0, 0, 2117, + 0, 0, 0, 2118, 2119, 2120, 0, 0, 1826, 0, + 0, 977, 0, 2697, 1826, 2579, 0, 2709, 2714, 2652, + 0, 0, 0, 2645, 2580, 2581, 2582, 2583, 2584, 2585, + 2586, 2587, 2588, 2646, 0, 0, 0, 0, 0, 0, + 2647, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 977, 0, 0, 0, 0, 0, 0, + 0, 0, 2378, 0, 0, 0, 2648, 0, 914, 0, + 0, 977, 0, 0, 0, 977, 0, 2655, 2653, 0, + 0, 2654, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 977, 0, 0, 976, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 5257, 0, 0, 0, + 0, 0, 0, 0, 2655, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2579, 2649, 0, 0, 0, 0, + 2650, 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, + 2587, 2588, 0, 916, 0, 1827, 0, 0, 0, 0, + 0, 0, 0, 2651, 2311, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 976, 976, 0, 0, 0, 0, 0, 2116, + 0, 2652, 2117, 0, 0, 0, 2118, 2119, 2120, 0, + 0, 4446, 0, 976, 0, 0, 976, 0, 0, 0, + 0, 2924, 1737, 1737, 1737, 0, 2645, 0, 0, 0, + 0, 2590, 0, 0, 0, 0, 2646, 0, 0, 0, + 0, 2579, 0, 2647, 2378, 0, 0, 0, 0, 0, + 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, + 2653, 0, 0, 2654, 0, 0, 0, 0, 0, 2648, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 5441, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2590, 0, 0, 0, 0, 5445, 0, 0, 1826, 1826, + 1826, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 976, 0, 2116, 0, 0, 2117, 0, + 0, 0, 2118, 2119, 2120, 0, 0, 0, 0, 0, + 0, 977, 976, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2645, 0, 0, 0, 2655, 0, 0, 0, + 0, 0, 2646, 0, 976, 0, 0, 0, 0, 2647, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 4579, 4580, 4581, 5505, 2649, 0, + 0, 0, 0, 2650, 0, 2648, 0, 0, 0, 0, + 0, 4590, 0, 0, 0, 1827, 0, 0, 0, 0, + 1827, 0, 1827, 0, 0, 0, 2651, 2311, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 4615, 4617, 0, 0, 1827, 4622, + 0, 0, 0, 0, 2652, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 976, 0, 0, 0, 0, 0, + 0, 0, 0, 2579, 0, 0, 0, 0, 0, 0, + 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, + 2588, 0, 0, 2116, 0, 977, 2117, 2378, 977, 0, + 2118, 2119, 2120, 0, 0, 5263, 0, 0, 0, 0, + 0, 1826, 0, 2653, 0, 0, 2654, 976, 0, 976, + 2645, 0, 0, 0, 2649, 0, 0, 0, 0, 2650, + 2646, 0, 976, 5247, 976, 0, 0, 2647, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2651, 2311, 1392, 0, 0, 0, 0, 0, + 0, 3278, 0, 2648, 0, 0, 0, 0, 0, 0, + 3296, 3296, 3296, 3296, 3306, 3312, 3296, 3315, 3296, 3296, + 2652, 0, 0, 0, 3322, 0, 3323, 0, 3325, 977, + 977, 3339, 3342, 3347, 0, 0, 0, 0, 0, 3356, + 977, 976, 3361, 0, 0, 0, 0, 0, 0, 2655, + 0, 2590, 0, 0, 0, 2590, 0, 977, 0, 3369, + 3370, 3371, 0, 2378, 5666, 0, 5668, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 3372, 0, 2653, + 0, 0, 2654, 976, 0, 0, 0, 2116, 0, 0, + 2117, 0, 0, 0, 2118, 2119, 2120, 5264, 0, 0, + 0, 976, 0, 0, 0, 976, 0, 0, 0, 0, + 0, 0, 0, 0, 2645, 0, 0, 0, 0, 0, + 0, 0, 2649, 0, 2646, 0, 976, 2650, 0, 0, + 0, 2647, 0, 0, 0, 0, 0, 0, 977, 0, + 0, 1827, 0, 0, 0, 0, 0, 0, 0, 0, + 2651, 2311, 0, 0, 0, 0, 2579, 2648, 0, 0, + 0, 0, 4834, 4835, 4836, 2580, 2581, 2582, 2583, 2584, + 2585, 2586, 2587, 2588, 0, 2655, 0, 0, 2652, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 5795, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2378, 0, 0, 0, 3380, 0, 0, 0, 0, + 5265, 0, 0, 0, 0, 1826, 0, 2653, 0, 0, + 2654, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 916, 0, 0, 0, 0, 916, 916, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 908, 0, 0, 0, 0, 0, 0, - 0, 0, 2578, 0, 0, 0, 0, 0, 0, 910, - 913, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, - 0, 0, 0, 4337, 5693, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2649, 0, 0, 3398, + 0, 2650, 2579, 0, 0, 0, 0, 0, 0, 0, + 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, + 0, 0, 0, 0, 2651, 2311, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 4344, 0, 0, 0, 4344, 0, 0, 2578, 0, 4355, - 4356, 4357, 0, 0, 0, 0, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 0, 0, 0, 0, 5695, - 0, 4369, 914, 0, 0, 0, 910, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 5532, 916, 0, 0, 4400, 4401, 4402, 4403, 0, + 0, 0, 2652, 2655, 0, 0, 3400, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 910, 0, 914, - 0, 0, 0, 0, 914, 0, 0, 0, 0, 0, - 0, 2115, 0, 4424, 2116, 4428, 4429, 4430, 2117, 2118, - 2119, 0, 0, 0, 0, 911, 0, 0, 0, 0, - 910, 0, 0, 0, 0, 916, 0, 905, 2644, 0, - 905, 0, 905, 0, 0, 0, 0, 905, 2645, 907, - 0, 0, 907, 913, 907, 2646, 0, 0, 0, 907, - 0, 0, 0, 0, 913, 0, 0, 0, 0, 0, - 0, 0, 0, 915, 0, 0, 0, 0, 0, 0, - 913, 2647, 0, 908, 0, 0, 0, 0, 0, 905, - 0, 0, 911, 0, 0, 0, 0, 905, 0, 915, - 0, 907, 0, 0, 0, 0, 0, 0, 0, 907, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 905, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 911, 907, 4514, 0, 0, 0, 0, - 0, 0, 0, 0, 4520, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 908, 0, 0, 0, - 908, 0, 0, 914, 0, 0, 911, 0, 0, 0, - 4530, 4531, 0, 0, 0, 4532, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 4575, 0, 0, - 2648, 0, 905, 0, 905, 2649, 0, 0, 0, 0, - 0, 0, 0, 0, 907, 0, 907, 0, 0, 0, - 0, 0, 0, 0, 910, 0, 0, 0, 2650, 2310, - 0, 0, 0, 0, 0, 910, 0, 913, 0, 0, - 0, 0, 915, 0, 0, 0, 0, 0, 0, 4612, - 0, 910, 0, 0, 4618, 0, 2651, 0, 0, 0, - 4624, 0, 0, 908, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 908, 0, - 0, 0, 914, 908, 0, 0, 0, 0, 0, 0, - 4663, 0, 0, 0, 0, 0, 0, 0, 0, 2377, - 905, 0, 0, 0, 0, 910, 0, 0, 0, 0, - 0, 0, 907, 0, 908, 2652, 0, 0, 2653, 4678, - 910, 4679, 0, 910, 910, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 914, 0, 0, 0, - 0, 0, 0, 0, 905, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 910, 910, 907, 0, 914, 0, - 911, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 911, 905, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 907, 0, 0, 911, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 915, 0, 0, 0, 0, - 0, 2654, 0, 0, 0, 0, 915, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 914, 915, 0, 0, 0, 0, 0, 0, 0, - 905, 911, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 907, 0, 0, 0, 911, 0, 0, 911, - 911, 0, 905, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 907, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 905, 0, 0, 0, 0, 0, - 911, 911, 0, 0, 0, 0, 907, 0, 910, 0, - 913, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2578, 0, - 0, 0, 0, 0, 0, 0, 0, 2579, 2580, 2581, - 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, 0, 0, - 5734, 0, 0, 2115, 0, 0, 2116, 0, 0, 0, - 2117, 2118, 2119, 914, 0, 0, 0, 916, 0, 0, - 0, 0, 0, 0, 0, 0, 905, 913, 0, 908, - 2644, 0, 908, 0, 908, 0, 0, 0, 907, 908, - 2645, 0, 0, 0, 0, 0, 0, 2646, 0, 915, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 913, 0, - 0, 0, 0, 2647, 0, 0, 0, 0, 0, 905, - 0, 908, 0, 0, 1739, 0, 0, 0, 0, 908, - 0, 907, 0, 0, 911, 0, 0, 4917, 0, 4918, - 2115, 913, 0, 2116, 905, 0, 0, 2117, 2118, 2119, - 0, 0, 4925, 0, 908, 0, 907, 0, 0, 0, - 0, 0, 0, 0, 4931, 0, 0, 2644, 4934, 0, - 0, 0, 0, 0, 0, 0, 0, 2645, 0, 0, - 4948, 0, 0, 0, 2646, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 914, 0, 0, 0, 0, 0, - 4974, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2647, 0, 0, 0, 0, 0, 0, 0, 4978, 0, - 0, 0, 0, 0, 0, 0, 4982, 0, 0, 0, - 0, 0, 2648, 0, 908, 0, 908, 2649, 0, 0, - 0, 1581, 0, 0, 0, 0, 0, 1582, 0, 0, - 0, 5017, 0, 0, 1648, 5021, 0, 0, 0, 0, - 2650, 2310, 0, 0, 0, 0, 0, 0, 0, 0, - 914, 5032, 5033, 5034, 5035, 0, 1649, 0, 0, 0, - 0, 5039, 5040, 5041, 5042, 0, 0, 0, 2651, 0, - 5044, 5045, 1584, 0, 0, 0, 5052, 5053, 0, 5055, - 5056, 5057, 5058, 5059, 5060, 5061, 905, 0, 0, 0, - 0, 0, 0, 0, 0, 5070, 0, 0, 907, 5073, - 5074, 5075, 5076, 0, 0, 0, 0, 0, 1650, 2648, - 0, 2377, 908, 0, 2649, 913, 0, 0, 0, 0, - 0, 0, 0, 4344, 0, 0, 913, 2652, 0, 1585, - 2653, 0, 915, 0, 0, 0, 1586, 2650, 2310, 0, - 1587, 5096, 913, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 908, 0, 0, 0, - 0, 0, 0, 0, 0, 2651, 0, 0, 0, 1588, - 0, 0, 914, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 905, 0, 908, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 907, 0, 913, 0, 0, 915, - 0, 1651, 0, 0, 0, 1589, 0, 0, 2377, 0, - 905, 913, 0, 0, 913, 913, 0, 0, 5178, 0, - 0, 0, 907, 2654, 2652, 0, 0, 2653, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 915, 0, 0, 0, 0, 913, 913, 0, 0, 0, - 0, 4344, 908, 0, 0, 0, 0, 0, 5203, 1652, - 5204, 0, 0, 0, 1653, 0, 0, 0, 0, 1654, - 0, 0, 0, 915, 908, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1655, 0, 0, 5219, 1591, - 0, 0, 0, 0, 0, 0, 908, 0, 0, 0, - 1592, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1593, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2654, 1656, 1594, 0, 0, 0, 0, 914, 0, 0, - 2578, 0, 914, 914, 0, 0, 0, 0, 0, 2579, - 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, - 0, 0, 6098, 0, 905, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 3759, 0, 907, 1596, 1597, 1658, - 0, 0, 0, 0, 0, 0, 0, 0, 908, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 913, - 0, 0, 0, 1659, 0, 0, 0, 0, 0, 3760, - 0, 905, 0, 0, 0, 910, 905, 0, 0, 910, - 910, 0, 0, 907, 1661, 0, 0, 0, 907, 0, - 0, 0, 0, 0, 0, 0, 0, 2578, 0, 0, - 0, 908, 0, 0, 0, 0, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 0, 914, 0, 0, 6106, - 0, 0, 0, 0, 0, 0, 908, 0, 0, 0, - 0, 0, 0, 0, 910, 1662, 0, 915, 0, 0, - 910, 0, 1599, 0, 0, 0, 0, 0, 915, 0, + 0, 0, 2116, 0, 0, 2117, 0, 0, 0, 2118, + 2119, 2120, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2590, 0, 0, 2378, 977, 0, 0, 2645, + 0, 0, 0, 0, 0, 0, 0, 0, 5933, 2646, + 5935, 2653, 0, 0, 2654, 0, 2647, 0, 2590, 0, + 0, 0, 3335, 0, 0, 0, 0, 0, 0, 0, + 0, 976, 0, 0, 0, 0, 0, 2590, 2590, 2590, + 0, 2590, 2648, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 977, 0, 0, 0, 0, 0, + 2579, 0, 0, 0, 0, 0, 977, 0, 0, 2580, + 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 915, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 5367, 5368, 5369, 0, 0, 914, - 5370, 5371, 5372, 5373, 0, 0, 0, 5375, 910, 0, + 0, 0, 0, 0, 0, 1826, 0, 0, 0, 0, + 1826, 977, 1826, 0, 0, 0, 0, 2655, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 5107, 0, 0, 0, 0, 0, 0, 1826, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 911, 0, 0, 0, 911, 911, 0, 915, 0, + 0, 3407, 3408, 3409, 3410, 3411, 3412, 3413, 3414, 3415, + 0, 3416, 0, 5139, 0, 0, 0, 0, 0, 0, + 0, 2649, 1367, 0, 0, 1737, 2650, 0, 0, 0, + 0, 0, 0, 0, 0, 976, 0, 0, 976, 0, + 1827, 0, 0, 0, 0, 3135, 0, 0, 0, 2651, + 2311, 0, 0, 0, 0, 0, 0, 0, 0, 977, + 0, 0, 0, 0, 0, 0, 3372, 0, 0, 0, + 3380, 0, 0, 3398, 2579, 3400, 0, 2652, 3453, 0, + 0, 5197, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, + 2587, 2588, 0, 0, 0, 0, 0, 0, 3196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 915, 0, 905, 915, 915, 0, 5410, - 5411, 5412, 5413, 5414, 0, 5416, 5417, 907, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 5426, 5427, 0, - 0, 0, 0, 0, 0, 0, 0, 915, 915, 0, - 911, 0, 2115, 0, 0, 2116, 911, 0, 0, 2117, - 2118, 2119, 0, 0, 0, 0, 0, 0, 908, 0, - 0, 0, 5433, 0, 0, 0, 0, 0, 0, 2644, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2645, - 0, 0, 0, 0, 0, 0, 2646, 0, 0, 0, - 0, 0, 0, 0, 911, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 953, 955, 2647, 0, 958, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 905, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1016, 0, 907, 0, 0, 0, - 0, 1026, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 908, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 5498, 0, 0, 910, 0, - 0, 0, 0, 0, 0, 0, 2115, 0, 905, 2116, - 0, 915, 908, 2117, 2118, 2119, 0, 0, 0, 0, - 907, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 905, 0, 0, 2644, 0, 0, 0, 0, 0, 0, - 0, 0, 907, 2645, 0, 0, 0, 0, 0, 0, - 2646, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 5549, 2648, 0, 0, 0, 0, 2649, 0, 0, 0, - 0, 910, 0, 0, 0, 910, 2647, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2650, - 2310, 0, 5555, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 905, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 907, 0, 2651, 0, 0, + 2378, 0, 0, 0, 0, 0, 0, 0, 0, 976, + 976, 2104, 2105, 0, 0, 0, 2653, 0, 0, 2654, + 976, 0, 6142, 0, 0, 977, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 976, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 911, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 908, 0, 0, 0, - 2377, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2652, 0, 910, 2653, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 661, 910, 0, 2648, 0, 0, 910, 0, - 2649, 0, 0, 908, 0, 0, 0, 911, 908, 0, - 0, 911, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2650, 2310, 905, 0, 0, 0, 910, - 0, 0, 0, 0, 0, 0, 0, 907, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2651, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 5682, 0, 0, 0, 0, 0, 0, - 0, 0, 2654, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 5692, 0, 0, 0, 913, 0, 5698, 5699, - 913, 913, 0, 0, 2377, 0, 0, 0, 5710, 0, - 0, 914, 0, 0, 0, 5712, 0, 0, 0, 0, - 2652, 0, 0, 2653, 911, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 911, - 0, 0, 0, 0, 911, 0, 0, 0, 0, 0, - 0, 0, 5765, 5766, 0, 913, 0, 0, 0, 0, - 0, 913, 0, 0, 0, 5774, 0, 5776, 0, 0, - 0, 0, 0, 0, 0, 911, 905, 908, 0, 0, - 0, 0, 5790, 0, 0, 0, 0, 0, 907, 2578, - 0, 0, 0, 0, 0, 0, 0, 0, 2579, 2580, - 2581, 2582, 2583, 2584, 2585, 2586, 2587, 4344, 0, 913, - 2115, 6128, 0, 2116, 0, 5824, 2654, 2117, 2118, 2119, - 0, 0, 0, 0, 0, 0, 1086, 0, 1089, 0, - 0, 1091, 0, 0, 0, 0, 0, 2644, 0, 0, - 0, 0, 0, 0, 0, 1117, 0, 2645, 0, 0, - 0, 1121, 905, 0, 2646, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 907, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 966, 976, 0, 0, - 2647, 0, 0, 0, 966, 0, 976, 966, 0, 0, - 0, 0, 0, 0, 910, 0, 908, 910, 0, 910, - 976, 0, 0, 0, 910, 0, 0, 5885, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 5900, 0, 2578, 0, 0, 0, 0, 0, 0, - 0, 0, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, - 2587, 0, 0, 0, 0, 6356, 910, 5918, 0, 0, - 908, 0, 0, 0, 910, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 908, 0, 905, 0, 0, 0, 0, 910, - 0, 0, 0, 0, 0, 0, 907, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2648, - 0, 0, 0, 0, 2649, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 5977, 0, 0, 0, 913, - 0, 0, 0, 0, 0, 0, 0, 2650, 2310, 0, - 911, 0, 0, 911, 0, 911, 0, 0, 0, 0, - 911, 0, 0, 0, 0, 908, 0, 0, 915, 0, - 0, 0, 915, 915, 0, 2651, 0, 2115, 0, 910, - 2116, 910, 0, 0, 2117, 2118, 2119, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 911, 0, 0, 4344, 0, 0, 0, 0, - 911, 0, 913, 0, 2645, 0, 913, 0, 2377, 0, - 0, 2646, 0, 0, 0, 0, 0, 915, 0, 0, - 0, 0, 0, 915, 2652, 911, 0, 2653, 0, 6057, - 0, 0, 0, 0, 0, 0, 0, 2647, 0, 905, - 0, 0, 0, 0, 905, 905, 0, 979, 1613, 1614, - 0, 907, 0, 0, 0, 0, 907, 907, 0, 1013, - 0, 0, 0, 0, 0, 0, 0, 910, 0, 0, - 1032, 915, 0, 0, 0, 6088, 0, 908, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 6107, 0, 0, 0, 0, 911, 0, 911, 0, 913, - 0, 910, 0, 0, 0, 0, 0, 0, 0, 1843, - 2654, 0, 0, 0, 913, 0, 0, 0, 0, 913, - 0, 0, 0, 0, 1855, 0, 0, 0, 0, 910, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2648, 0, 905, 6146, - 913, 2649, 0, 0, 0, 1877, 1878, 0, 0, 0, - 907, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2650, 2310, 0, 0, 0, 0, - 0, 1915, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 911, 0, 0, 0, 910, 0, 0, - 0, 0, 2651, 0, 0, 0, 0, 0, 908, 0, - 0, 905, 0, 0, 0, 0, 0, 2578, 0, 910, - 0, 1953, 1955, 907, 0, 0, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 976, 0, 911, 0, 6373, - 0, 910, 0, 0, 0, 2377, 0, 0, 0, 0, - 0, 0, 0, 0, 976, 0, 0, 0, 0, 0, - 976, 2652, 0, 0, 6243, 911, 0, 0, 0, 0, - 0, 915, 976, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 908, 0, 0, 0, 976, 0, - 0, 0, 0, 6258, 0, 0, 0, 0, 0, 0, - 0, 0, 966, 976, 6268, 0, 0, 0, 0, 966, - 0, 976, 966, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 910, 0, 976, 0, 0, 0, 0, - 0, 0, 0, 911, 0, 976, 0, 0, 0, 0, - 0, 0, 2115, 0, 915, 2116, 0, 0, 915, 2117, - 2118, 2119, 0, 0, 0, 911, 0, 2654, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2644, - 0, 0, 0, 0, 0, 0, 910, 911, 0, 2645, - 0, 0, 0, 0, 0, 0, 2646, 0, 976, 0, - 0, 2115, 0, 0, 2116, 0, 0, 0, 2117, 2118, - 2119, 910, 0, 0, 0, 913, 908, 0, 913, 0, - 913, 0, 2647, 0, 0, 913, 976, 0, 2644, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2645, 0, - 0, 6350, 0, 0, 0, 2646, 0, 0, 0, 0, - 0, 976, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 915, 0, 0, 0, 0, 0, 913, 0, 911, - 0, 2647, 0, 0, 2578, 913, 915, 0, 0, 0, - 0, 915, 0, 2579, 2580, 2581, 2582, 2583, 2584, 2585, - 2586, 2587, 0, 0, 2115, 0, 0, 2116, 0, 0, - 913, 2117, 2118, 2119, 0, 1052, 0, 0, 0, 0, - 0, 1084, 915, 976, 0, 0, 0, 0, 0, 0, - 0, 0, 911, 0, 0, 0, 0, 0, 0, 0, - 0, 2645, 0, 0, 0, 0, 0, 0, 2646, 0, - 0, 2648, 0, 0, 0, 0, 2649, 911, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2647, 0, 0, 0, 0, 2650, - 2310, 908, 0, 910, 0, 0, 908, 908, 0, 0, - 913, 0, 913, 0, 975, 0, 0, 0, 0, 0, - 2648, 0, 0, 975, 0, 2649, 0, 2651, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 975, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2650, 2310, - 0, 0, 0, 1826, 0, 0, 0, 0, 0, 2831, - 976, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2377, 966, 0, 0, 0, 966, 2651, 966, 0, 0, - 0, 0, 0, 6494, 2877, 0, 2652, 0, 0, 2653, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 910, - 0, 0, 0, 0, 0, 0, 0, 0, 913, 0, - 0, 0, 1393, 2648, 0, 0, 0, 0, 2649, 2377, - 908, 0, 0, 0, 0, 0, 0, 910, 0, 0, - 0, 1418, 0, 0, 0, 2652, 0, 0, 2653, 911, - 0, -3025, -3025, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 913, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2967, 0, 0, 0, 0, 0, 2651, - 0, 0, 0, 905, 0, 0, 0, 0, 0, 0, - 913, 0, 2654, 908, 976, 907, 0, 0, 0, 0, - 0, 0, 0, 2993, 2994, 2995, 2996, 915, 0, 0, - 915, 0, 915, 0, 0, 0, 0, 915, 0, 0, - 0, 0, -3025, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2652, 0, - 0, 2654, 0, 0, 0, 911, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 976, 0, 0, 913, 915, - 1612, 0, 0, 0, 0, 0, 976, 915, 0, 0, - 0, 0, 0, 911, 0, 0, 0, 0, 0, 0, - 913, 910, 0, 976, 0, 0, 0, 0, 976, 0, - 0, 0, 915, 0, 0, 0, 0, 0, 0, 2578, - 0, 0, 913, 0, 0, 0, 0, 0, 2579, 2580, - 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, 0, - 0, 6432, 0, 0, 0, 0, 0, 0, 910, 0, - 0, 0, 0, 910, 2654, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2578, 0, - 3050, 3051, 0, 0, 0, 0, 0, 2579, 2580, 2581, - 2582, 2583, 2584, 2585, 2586, 2587, 3068, 0, 3037, 0, - 0, 0, 915, 0, 915, 1875, 0, 0, 0, 0, - 0, 0, 0, 0, 913, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 3111, 3112, 3113, 3114, 1909, 1912, 1913, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 911, 0, 0, - 0, 0, 0, 976, 0, 0, 0, 0, 0, 0, - 0, 976, 976, 0, 0, 0, 0, 913, 0, 0, - 0, 2578, 0, 0, 0, 0, 0, 0, 0, 0, - 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, - 0, 0, 913, 0, 911, 0, 0, 0, 0, 911, - 915, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 3188, 975, 0, 1826, 0, 0, 3192, 0, 0, - 0, 0, 910, 0, 0, 0, 0, 0, 0, 0, - 0, 975, 0, 0, 0, 0, 0, 975, 0, 0, - 0, 0, 0, 1393, 915, 0, 0, 0, 0, 975, - 0, 0, 0, 0, 0, 2115, 0, 0, 2116, 0, - 0, 0, 2117, 2118, 2119, 975, 0, 0, 0, 0, - 0, 1393, 915, 0, 0, 0, 0, 0, 0, 0, - 975, 0, 2644, 0, 0, 0, 3504, 0, 975, 0, - 0, 0, 2645, 0, 0, 0, 0, 0, 0, 2646, - 2115, 0, 975, 2116, 0, 0, 0, 2117, 2118, 2119, - 0, 0, 975, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2647, 0, 2644, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2116, 0, 0, 2117, 0, 0, 0, 2118, 2119, 2120, + 0, 3593, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2645, 0, 0, - 915, 910, 0, 0, 2646, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 913, 0, 0, 0, 911, 0, - 0, 0, 915, 0, 0, 975, 0, 0, 0, 0, - 2647, 0, 0, 0, 0, 0, 0, 3505, 0, 0, - 0, 0, 0, 2115, 915, 0, 2116, 0, 0, 0, - 2117, 2118, 2119, 975, 0, 910, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 3378, 0, 0, - 2644, 0, 0, 0, 0, 0, 0, 910, 975, 0, - 2645, 0, 0, 0, 0, 0, 2638, 2646, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2648, 908, 0, 0, 0, 2649, - 913, 0, 0, 2647, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 4154, 976, 915, 0, 0, 0, - 4155, 0, 2650, 2310, 0, 0, 0, 911, 913, 0, - 975, 0, 0, 0, 0, 0, 0, 0, 0, 2648, - 910, 0, 0, 0, 2649, 0, 0, 0, 0, 0, - 2651, 0, 0, 0, 0, 0, 2729, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2650, 2310, 915, + 0, 0, 2655, 0, 0, 0, 0, 2646, 976, 0, + 0, 1826, 0, 0, 2647, 5301, 5302, 5303, 5304, 0, + 0, 0, 0, 2116, 0, 0, 2117, 0, 0, 0, + 2118, 2119, 2120, 0, 0, 0, 0, 0, 0, 0, + 2648, 0, 0, 0, 0, 6249, 0, 0, 0, 977, + 2645, 977, 0, 5855, 0, 0, 0, 0, 0, 0, + 2646, 0, 2116, 0, 0, 2117, 0, 2647, 0, 2118, + 2119, 2120, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 5647, 0, 0, 0, 0, 0, 2645, + 0, 0, 0, 2648, 0, 0, 0, 0, 0, 2646, + 0, 0, 977, 0, 0, 0, 2647, 0, 0, 2579, + 0, 0, 967, 0, 0, 0, 0, 0, 2580, 2581, + 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, 0, 0, + 0, 0, 2648, 0, 5838, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1827, 0, 0, 0, 0, 967, 0, 2649, + 0, 2590, 0, 0, 2650, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 6344, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2651, 2311, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1118, 1118, 2649, 0, 0, 2652, 0, 2650, 0, 0, + 0, 0, 0, 0, 3849, 3850, 1737, 0, 0, 0, + 3854, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2651, 2311, 0, 0, 0, 0, 976, 0, 0, 0, + 0, 2649, 0, 0, 0, 0, 2650, 3883, 2378, 0, + 0, 2590, 0, 0, 0, 0, 0, 0, 2652, 0, + 0, 0, 0, 2590, 2653, 0, 0, 2654, 2590, 2651, + 2311, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 976, 0, 0, 2652, 0, 0, + 0, 2378, 0, 0, 0, 0, 976, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2653, 0, 0, + 2654, 0, 0, 0, 0, 0, 0, 1118, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2378, 976, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2653, 0, 5527, 2654, + 2655, 0, 0, 0, 0, 0, 0, 0, 0, 5537, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 977, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 977, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2655, 0, 0, 0, 0, 0, 0, + 1826, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1827, 0, 0, 0, 0, 0, 0, 976, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2655, 0, 0, 0, 4077, 0, 0, 0, + 0, 4083, 0, 0, 0, 0, 0, 2579, 0, 0, + 0, 0, 0, 0, 0, 0, 2580, 2581, 2582, 2583, + 2584, 2585, 2586, 2587, 2588, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1827, 0, 2107, 0, 0, 0, 0, 0, 0, + 2579, 0, 0, 0, 3347, 976, 3347, 3347, 0, 2580, + 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, 0, + 4174, 0, 0, 4177, 0, 4179, 0, 1827, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2579, + 0, 0, 0, 0, 0, 0, 0, 0, 2580, 2581, + 2582, 2583, 2584, 2585, 2586, 2587, 2588, 0, 0, 0, + 0, 0, 4204, 0, 4207, 0, 4210, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1827, 0, 0, 977, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 5749, 0, 976, + 0, 976, 1392, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 4280, 5779, 0, 0, 0, 2697, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2714, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 976, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 911, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2377, 915, 2651, 6193, 2115, 0, 0, - 2116, 0, 0, 911, 2117, 2118, 2119, 0, 0, 2652, - 0, 0, 2653, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2648, 0, 2644, 0, 0, 2649, 0, 0, - 976, 0, 0, 0, 2645, 0, 0, 0, 2377, 2843, - 1825, 2646, 0, 0, 0, 0, 0, 975, 2873, 0, - 2650, 2310, 0, 0, 2652, 0, 0, 2653, 0, 0, - 0, 0, 910, 0, 0, 1826, 0, 2647, 0, 0, - 0, 0, 913, 0, 0, 0, 911, 0, 2651, 0, - 2911, 0, 0, 0, 0, 0, 2923, 2923, 976, 0, - 2923, 0, 0, 0, 0, 0, 976, 0, 0, 0, - 0, 0, 0, 2941, 976, 2654, 2944, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 913, - 0, 2377, 0, 0, 913, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2652, 0, 0, - 2653, 0, 0, 0, 0, 966, 966, 0, 976, 976, - 4156, 0, 0, 0, 0, 0, 915, 0, 0, 0, - 966, 0, 976, 966, 2997, 0, 6194, 0, 0, 0, - 3506, 975, 0, 0, 0, 976, 976, 0, 3017, 0, - 0, 0, 0, 0, 0, 0, 2648, 0, 0, 0, - 0, 2649, 0, 0, 0, 0, 0, 0, 911, 0, - 0, 0, 0, 910, 0, 0, 0, 0, 0, 0, - 0, 0, 2578, 966, 2650, 2310, 0, 966, 966, 0, - 0, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, - 0, 0, 975, 2654, 0, 0, 0, 0, 0, 0, - 0, 0, 2651, 975, 0, 0, 0, 0, 0, 0, - 0, 0, 915, 0, 0, 0, 0, 2578, 0, 0, - 975, 0, 0, 0, 0, 975, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 0, 0, 0, 0, 910, - 915, 0, 0, 913, 0, 2377, 0, 0, 3039, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3042, - 0, 2652, 0, 0, 2653, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3378, - 0, 0, 4793, 0, 0, 0, 0, 1826, 0, 911, - 2578, 3086, 2923, 0, 0, 0, 0, 0, 0, 2579, - 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, - 0, 0, 0, 0, 0, 0, 3121, 0, 0, 0, - 0, 0, 0, 3134, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2654, 0, 0, - 975, 910, 913, 2115, 0, 0, 2116, 0, 975, 975, - 2117, 2118, 2119, 0, 0, 911, 4794, 0, 0, 0, - 0, 0, 0, 0, 915, 0, 0, 0, 0, 0, - 2644, 0, 0, 4081, 0, 0, 0, 0, 0, 0, - 2645, 0, 0, 0, 0, 0, 3195, 2646, 0, 0, - 0, 0, 0, 0, 0, 0, 913, 0, 0, 0, - 0, 1825, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 915, 0, 2647, 0, 0, 915, 0, 913, 1393, - 1393, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 3614, 0, 0, 0, 0, 3249, 0, 0, 3251, - 0, 0, 0, 0, 2578, 0, 0, 0, 0, 0, - 0, 0, 0, 2579, 2580, 2581, 2582, 2583, 2584, 2585, - 2586, 2587, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 911, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 913, 0, 0, 0, 0, 910, 0, 0, 0, - 0, 910, 910, 0, 0, 0, 0, 0, 2115, 0, - 0, 2116, 0, 0, 0, 2117, 2118, 2119, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2648, 0, 0, 2644, 0, 2649, 0, 0, - 2115, 0, 0, 2116, 0, 2645, 0, 2117, 2118, 2119, - 0, 0, 2646, 0, 0, 0, 0, 0, 0, 0, - 2650, 2310, 0, 0, 0, 0, 0, 2644, 0, 0, - 0, 0, 0, 0, 0, 915, 3764, 2645, 2647, 3767, - 0, 0, 0, 0, 2646, 0, 0, 0, 2651, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1826, 0, 0, 4330, 0, 0, 0, 0, + 0, 977, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 967, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 977, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 4365, 0, 0, 0, 0, + 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2590, 0, 0, 0, 967, 967, 0, 0, 0, 0, + 2590, 0, 0, 0, 0, 0, 2590, 0, 0, 2590, + 0, 0, 0, 0, 0, 0, 2590, 2590, 0, 2590, + 0, 0, 0, 0, 3335, 3335, 0, 4150, 0, 3335, + 0, 0, 0, 2590, 0, 0, 2590, 0, 0, 0, + 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, + 2590, 0, 0, 0, 0, 2590, 0, 0, 0, 0, + 0, 0, 0, 2590, 2590, 2590, 2590, 0, 0, 0, + 0, 3335, 3335, 0, 2590, 977, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 5984, 1, 0, 0, 0, + 0, 0, 2590, 0, 2590, 0, 0, 2, 0, 3, + 4, 2590, 2590, 2590, 2590, 2590, 2590, 2590, 2590, 2590, + 2590, 0, 0, 6006, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, + 0, 8, 9, 0, 0, 0, 976, 2590, 10, 0, + 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 976, 0, 0, 12, 0, 13, 1737, 0, 0, 0, + 0, 0, 1737, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 14, 0, 0, 15, 0, 0, 0, 0, + 0, 0, 1826, 0, 0, 0, 0, 0, 0, 0, + 16, 0, 17, 0, 0, 0, 18, 0, 0, 0, + 0, 0, 0, 5804, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 20, 6094, 21, 0, 0, 0, 0, + 0, 0, 22, 0, 0, 0, 0, 673, 0, 1827, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 23, 4602, 0, 0, 0, 674, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 24, 0, 0, + 0, 1826, 0, 0, 0, 0, 0, 0, 0, 0, + 675, 0, 0, 0, 0, 0, 0, 2590, 0, 0, + 0, 0, 0, 676, 0, 0, 0, 0, 0, 0, + 1827, 0, 0, 0, 0, 0, 0, 1826, 0, 0, + -907, 0, 0, 967, 967, 0, 0, 0, 0, 0, + 0, 25, 26, 0, 0, 1827, 0, 27, 677, 0, + 0, 0, 0, 0, 678, 0, 0, 0, 0, 0, + 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 679, 0, 0, 0, 0, 0, 0, 0, + 0, 29, 0, 0, 0, 0, 680, 0, 0, 0, + 0, 0, 0, 0, 0, 681, 0, 0, 0, 0, + 0, 0, 0, 1826, 0, 0, 976, 0, 682, 0, + 0, 0, 0, 0, 0, 0, 0, 683, 0, 4724, + 0, 684, 0, 0, 0, 0, 0, 4728, 0, 4729, + 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, -1111, 0, 3296, 0, 31, 0, 4742, 3296, 3296, + 32, 33, 0, 34, 3312, 0, 0, 4750, 35, 0, + 4752, 4654, 0, 0, 36, 0, 4754, 37, 4755, 0, + 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, + 0, 39, 40, 0, 0, 0, 0, 0, 0, 41, + 0, 685, 0, 42, 0, 4777, 4778, 4779, 0, 0, + 0, -638, 0, 0, 43, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 3356, 0, 0, 0, 0, 0, + 0, 44, 4804, 0, 0, 4807, 0, 4809, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2647, 0, 0, 913, 0, 910, 0, 0, 0, 0, + 0, 0, 45, 4813, 0, 0, 686, 0, 0, 687, + 0, 976, 4821, 4822, 46, 0, 0, 0, 0, 4827, + 47, 0, 0, 2590, 2590, 48, 0, 0, 2590, 0, + 0, 0, 0, 688, 0, 976, 0, 0, 0, 49, + 0, 0, 0, 0, 0, 0, 0, 689, 3296, 0, + 0, 0, 0, 0, -476, 0, 0, 2590, 0, 0, + 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 690, 0, 0, 0, 0, 0, + 0, 0, 56, 0, 691, -136, 0, 0, 0, 0, + 0, -476, 0, 0, 692, 0, 0, 0, 0, 4881, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2377, 911, 0, 0, 0, 0, 911, 911, 0, - 0, 0, 0, 0, 0, 0, 0, 2652, 0, 0, - 2653, 0, 975, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 3862, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 910, 0, - 0, 3875, 0, 0, 0, 0, 0, 0, 0, 3884, - 0, 0, 0, 0, 915, 0, 0, 2648, 0, 0, - 0, 0, 2649, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2650, 2310, 0, 3928, 2648, - 0, 0, 0, 0, 2649, 0, 0, 0, 0, 0, - 0, 0, 0, 2654, 0, 0, 0, 0, 915, 3952, - 0, 911, 0, 2651, 913, 0, 0, 2650, 2310, 0, - 0, 0, 0, 0, 0, 0, 0, 975, 0, 0, - 915, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2651, 0, 0, 0, 0, - 0, 0, 4007, 0, 4009, 0, 2377, 0, 0, 0, - 0, 0, 1825, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2652, 0, 911, 2653, 0, 0, 0, 0, - 0, 1826, 0, 0, 0, 975, 0, 0, 2377, 0, - 913, 0, 0, 975, 0, 0, 0, 0, 0, 0, - 0, 975, 0, 915, 2652, 0, 0, 2653, 0, 0, - 2578, 0, 0, 0, 0, 0, 0, 0, 0, 2579, - 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 4127, 0, - 0, 0, 0, 0, 0, 0, 976, 0, 0, 0, - 0, 0, 4064, 0, 0, 975, 975, 0, 0, 4071, - 0, 0, 0, 0, 976, 0, 0, 0, 976, 975, - 0, 0, 976, 0, 0, 0, 0, 0, 2654, 0, - 0, 976, 975, 975, 0, 0, 0, 0, 0, 0, - 2115, 0, 0, 2116, 0, 0, 976, 2117, 2118, 2119, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2654, 0, 0, 966, 0, 966, 966, 2644, 0, 0, - 4159, 0, 913, 0, 0, 0, 0, 2645, 0, 0, - 976, 0, 0, 0, 2646, 915, 0, 0, 0, 0, + 0, 0, 0, 0, 693, 0, 4895, 0, 0, 0, + 0, 0, 694, 0, 0, 0, 0, 0, 0, -476, + 0, 0, 695, 0, 696, 0, 697, 698, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 976, 976, 0, 0, 0, 0, 0, 0, 0, 0, - 2647, 0, 0, 0, 0, 0, 0, 0, 3435, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3440, - 0, 0, 0, 0, 4091, 2578, 0, 0, 1826, 976, - 0, 0, 1826, 0, 2579, 2580, 2581, 2582, 2583, 2584, - 2585, 2586, 2587, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 976, 2578, 1826, 0, - 0, 0, 976, 0, 0, 0, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 0, 976, 0, 0, 0, - 0, 0, 0, 976, 1825, 0, 976, 0, 0, 0, - 0, 0, 976, 0, 0, 0, 0, 0, 0, 0, - 2115, 0, 0, 2116, 0, 0, 0, 2117, 2118, 2119, - 0, 0, 976, 0, 0, 0, 915, 913, 976, 2648, - 0, 0, 913, 913, 2649, 976, 0, 2644, 0, 0, - 0, 0, 1393, 0, 0, 0, 0, 2645, 0, 976, - 0, 0, 0, 0, 2646, 0, 0, 2650, 2310, 0, - 0, 0, 0, 976, 0, 0, 0, 0, 1826, 0, - 0, 0, 0, 0, 976, 0, 0, 0, 0, 0, - 2647, 0, 0, 0, 0, 2651, 0, 0, 0, 0, + 0, 0, 699, 0, 0, 0, 0, 0, 0, 0, + 700, 0, 0, 701, 0, 0, 702, 0, 0, 0, + 0, 0, 0, 0, 0, 976, 0, 0, 0, -476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 915, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 910, 0, 0, 0, 0, 0, 0, 0, 2377, 0, - 0, 0, 0, 0, 1826, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2652, 0, 913, 2653, 2115, 4340, - 4341, 2116, 0, 0, 0, 2117, 2118, 2119, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2644, 0, 0, 4171, 3660, - 4164, 0, 0, 0, 0, 2645, 0, 0, 2115, 0, - 0, 2116, 2646, 0, 3682, 2117, 2118, 2119, 0, 2648, - 0, 0, 0, 0, 2649, 0, 0, 0, 0, 913, - 0, 0, 0, 0, 0, 2644, 3710, 0, 2647, 0, - 0, 0, 0, 0, 915, 2645, 0, 2650, 2310, 0, - 0, 0, 2646, 0, 0, 0, 0, 0, 0, 0, - 2654, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2651, 911, 0, 2647, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 976, - 0, 1826, 0, 0, 0, 0, 0, 0, 2377, 0, - 0, 0, 3790, 3791, 0, 0, 0, 0, 976, 0, - 0, 0, 0, 0, 2652, 976, 0, 2653, 0, 0, - 0, 0, 966, 0, 966, 966, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2648, 0, 0, - 0, 0, 2649, 0, 0, 0, 0, 2578, 0, 0, - 0, 0, 0, 0, 0, 0, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 2650, 2310, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2648, 0, 915, - 0, 0, 2649, 0, 915, 915, 0, 0, 0, 0, - 0, 0, 0, 2651, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 4527, 3916, 2650, 2310, 0, 0, 0, - 2654, 0, 0, 1826, 0, 0, 0, 0, 0, 1826, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2651, 0, 0, 2377, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2652, 0, 0, 2653, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2377, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2652, 0, 0, 2653, 0, 0, 915, 0, - 0, 0, 0, 0, 976, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2578, 0, 0, - 0, 0, 0, 0, 0, 0, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 0, 0, 0, 1825, 0, - 0, 0, 0, 2115, 0, 0, 2116, 0, 2654, 0, - 2117, 2118, 2119, 0, 0, 0, 0, 0, 0, 0, - 0, 915, 0, 4681, 0, 0, 0, 0, 0, 0, - 2644, 0, 0, 4800, 0, 0, 0, 0, 0, 0, - 2645, 0, 0, 0, 0, 0, 0, 2646, 2654, 0, - 0, 0, 0, 975, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 975, 0, 2647, 0, 975, 0, 0, 0, 975, - 0, 0, 0, 0, 4723, 0, 0, 0, 975, 0, - 0, 0, 0, 0, 0, 0, 0, 976, 976, 0, - 0, 0, 0, 975, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2578, 0, 0, 976, 0, - 0, 976, 0, 0, 2579, 2580, 2581, 2582, 2583, 2584, - 2585, 2586, 2587, 0, 0, 0, 0, 975, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2578, 0, 975, 975, 0, - 0, 0, 0, 0, 2579, 2580, 2581, 2582, 2583, 2584, - 2585, 2586, 2587, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 913, 2648, 0, 0, 1825, 975, 2649, 0, 1825, - 0, 0, 0, 1826, 1826, 1826, 0, 0, 0, 4226, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2650, 2310, 0, 975, 0, 1825, 0, 0, 976, 975, - 2115, 0, 0, 2116, 0, 0, 0, 2117, 2118, 2119, - 0, 0, 0, 975, 0, 0, 0, 976, 2651, 0, - 975, 0, 0, 975, 0, 0, 0, 2644, 0, 975, - 0, 0, 0, 1368, 1368, 0, 0, 2645, 0, 976, - 0, 0, 0, 0, 2646, 0, 0, 0, 0, 975, - 0, 0, 0, 0, 0, 975, 0, 0, 0, 0, - 0, 2377, 975, 0, 0, 0, 0, 0, 0, 0, - 2647, 0, 0, 0, 0, 0, 975, 2652, 0, 0, - 2653, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 975, 0, 0, 0, 0, 1825, 0, 0, 0, 0, - 0, 975, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1368, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2115, 976, - 0, 2116, 0, 0, 0, 2117, 2118, 2119, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2644, 0, 0, 0, 0, - 0, 1825, 0, 0, 0, 2645, 0, 0, 0, 0, - 0, 0, 2646, 2654, 0, 0, 1826, 0, 0, 0, - 0, 0, 976, 0, 976, 0, 0, 0, 0, 2648, - 0, 0, 0, 0, 2649, 0, 0, 976, 2647, 976, - 0, 0, 0, 0, 0, 2115, 0, 0, 2116, 0, - 0, 0, 2117, 2118, 2119, 0, 0, 2650, 2310, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2644, 0, 1736, 1740, 0, 0, 0, 0, - 0, 0, 2645, 0, 0, 2651, 0, 0, 0, 2646, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 976, 0, 0, 0, - 0, 0, 0, 0, 4446, 2647, 0, 0, 0, 0, - 2578, 0, 0, 0, 2923, 0, 0, 0, 2377, 2579, - 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 5257, 0, - 0, 0, 0, 0, 2652, 0, 0, 2653, 976, 0, - 0, 0, 0, 915, 5093, 0, 975, 2648, 1825, 0, - 0, 0, 2649, 0, 5247, 0, 0, 976, 5095, 0, - 0, 976, 0, 0, 0, 975, 0, 0, 0, 0, - 0, 0, 975, 0, 0, 2650, 2310, 0, 0, 0, - 0, 0, 976, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2589, 0, 0, 0, 0, 0, - 0, 0, 0, 2651, 0, 5263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2648, 0, 0, 0, 0, 2649, - 2654, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2377, 0, 0, 0, - 0, 2589, 2650, 2310, 0, 0, 0, 0, 0, 0, - 0, 0, 2652, 0, 0, 2653, 0, 0, 0, 0, - 1825, 0, 0, 0, 0, 0, 1825, 4579, 4580, 4581, - 2651, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1826, 0, 0, 4590, 0, 0, 0, 0, 0, - 0, 0, 0, 2057, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2377, 0, 0, 0, 4615, 4617, 0, - 0, 0, 4622, 0, 0, 0, 0, 2578, 0, 2652, - 0, 0, 2653, 0, 0, 2083, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 0, 0, 0, 2654, 0, - 0, 975, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2102, 2103, 2104, 0, 2106, 2115, - 0, 0, 2116, 0, 0, 0, 2117, 2118, 2119, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2596, - 2115, 0, 0, 2116, 0, 0, 2644, 2117, 2118, 2119, - 0, 0, 0, 0, 0, 0, 2645, 0, 0, 0, - 0, 0, 0, 2646, 0, 0, 0, 2644, 0, 0, - 0, 0, 0, 0, 0, 2654, 0, 2645, 1393, 0, - 0, 0, 0, 0, 2646, 0, 0, 0, 0, 2647, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2578, 0, 976, 0, 0, - 2647, 0, 0, 0, 2579, 2580, 2581, 2582, 2583, 2584, - 2585, 2586, 2587, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 975, 975, 0, 0, 0, 0, - 0, 0, 0, 0, 2696, 0, 0, 0, 2708, 2713, - 0, 0, 0, 0, 0, 975, 0, 0, 975, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1826, 0, 0, 0, 0, 1826, 0, 1826, 0, - 0, 0, 2578, 5264, 0, 0, 0, 0, 0, 0, - 0, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, - 0, 0, 2589, 0, 1826, 0, 2589, 0, 2648, 0, - 0, 0, 0, 2649, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2648, - 0, 0, 0, 0, 2649, 0, 2650, 2310, 0, 0, - 1825, 1825, 1825, 0, 0, 0, 4834, 4835, 4836, 0, - 0, 976, 0, 0, 976, 0, 0, 2650, 2310, 0, - 0, 0, 0, 0, 2651, 975, 0, 2115, 0, 0, - 2116, 0, 0, 0, 2117, 2118, 2119, 0, 0, 0, - 0, 0, 0, 0, 975, 2651, 0, 0, 0, 0, - 5441, 0, 0, 0, 2644, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2645, 5445, 975, 2377, 0, 0, - 0, 2646, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2652, 0, 0, 2653, 0, 2377, 0, - 0, 0, 0, 0, 0, 0, 0, 2647, 0, 0, - 0, 0, 0, 0, 2652, 976, 976, 2653, 0, 0, - 0, 0, 0, 0, 0, 0, 976, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 976, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1736, 1736, 1736, 975, 5505, 0, 0, + 0, 2590, 0, 0, 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 5265, 0, 0, 0, 0, 0, 0, 0, 0, 2654, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2654, 0, 0, 1825, 0, 0, 0, 0, 0, 975, - 0, 975, 0, 0, 976, 0, 2648, 1826, 0, 0, - 0, 2649, 0, 0, 975, 0, 975, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2650, 2310, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 4150, 4150, 0, 0, 3335, + 3335, 3335, 3335, 0, 0, 3335, 3335, 3335, 3335, 3335, + 3335, 3335, 3335, 3335, 3335, 4150, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1826, + 0, 0, 0, 0, 0, 0, 0, 0, 2590, 0, + 0, 2590, 0, 2590, 0, 0, 4150, 4150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 2590, 3335, + 3335, 2590, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2651, 0, 0, 0, 0, 0, 0, 0, - 0, 5647, 0, 2589, 0, 0, 2578, 0, 0, 0, - 0, 0, 0, 975, 0, 2579, 2580, 2581, 2582, 2583, - 2584, 2585, 2586, 2587, 0, 0, 0, 2578, 0, 2589, - 0, 0, 0, 3334, 0, 2377, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, 0, 0, 0, 2589, 2589, - 2589, 2652, 2589, 0, 2653, 975, 0, 0, 0, 0, - 0, 0, 0, 0, 2115, 5107, 0, 2116, 0, 0, - 0, 2117, 2118, 2119, 975, 0, 0, 0, 975, 0, + 1826, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2644, 0, 0, 0, 0, 0, 5139, 0, 975, - 0, 2645, 0, 0, 5666, 0, 5668, 0, 2646, 0, + 0, 0, 0, 0, 0, 1826, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3134, - 0, 0, 0, 0, 2647, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2654, 0, 0, + 0, 0, 0, 5185, 5186, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2590, 5193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 5197, 0, 0, 0, 0, 0, - 0, 0, 976, 0, 0, 0, 0, 0, 0, 0, - 0, 3195, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 3277, 0, 0, 0, 0, 0, 1825, 0, - 0, 3295, 3295, 3295, 3295, 3305, 3311, 3295, 3314, 3295, - 3295, 0, 0, 0, 0, 3321, 0, 3322, 5838, 3324, - 976, 0, 3338, 3341, 3346, 0, 0, 0, 0, 0, - 3355, 0, 976, 3360, 0, 0, 5795, 0, 0, 0, - 0, 0, 0, 2648, 2578, 0, 0, 0, 2649, 0, - 3368, 3369, 3370, 2579, 2580, 2581, 2582, 2583, 2584, 2585, - 2586, 2587, 0, 0, 0, 0, 0, 976, 3371, 0, - 0, 2650, 2310, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2651, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 5301, - 5302, 5303, 5304, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2377, 0, 0, 0, 1826, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2652, 0, - 0, 2653, 0, 2115, 0, 976, 2116, 0, 0, 0, - 2117, 2118, 2119, 0, 975, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2644, 0, 0, 5855, 0, 0, 0, 0, 0, 0, - 2645, 0, 0, 0, 0, 0, 0, 2646, 0, 0, - 0, 0, 0, 0, 0, 0, 3379, 0, 5933, 0, - 5935, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2647, 0, 0, 0, 0, 1825, 0, - 0, 0, 0, 1825, 0, 1825, 0, 0, 0, 0, - 0, 976, 0, 0, 2654, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 3397, 1825, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2115, 0, 0, 2116, 0, 0, 0, 2117, - 2118, 2119, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 975, 2644, - 0, 975, 0, 0, 0, 0, 0, 3399, 0, 2645, - 0, 0, 2589, 0, 0, 0, 2646, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2648, 0, 0, 0, 0, 2649, 0, 0, - 0, 2578, 2647, 0, 0, 0, 0, 0, 0, 0, - 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, - 2650, 2310, 0, 0, 0, 976, 0, 976, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2651, 0, - 0, 0, 975, 975, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 975, 0, 0, 0, 0, 0, 0, - 0, 0, 2589, 0, 0, 0, 0, 0, 976, 0, - 975, 0, 0, 0, 2589, 0, 0, 0, 966, 2589, - 0, 2377, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2652, 0, 0, - 2653, 0, 5527, 0, 0, 722, 0, 0, 0, 0, - 3259, 2648, 0, 5537, 0, 0, 2649, 0, 1826, 0, - 0, 0, 6142, 966, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2650, - 2310, 0, 3406, 3407, 3408, 3409, 3410, 3411, 3412, 3413, - 3414, 975, 3415, 0, 1825, 0, 0, 0, 0, 0, - 0, 725, 3260, 1368, 0, 0, 1736, 2651, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 726, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2654, 0, 0, 1059, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 3371, 0, 0, - 2377, 3379, 0, 0, 3397, 0, 3399, 0, 0, 3452, - 3261, 0, 0, 0, 0, 0, 2652, 0, 0, 2653, - 0, 0, 0, 0, 729, 0, 0, 0, 0, 0, - 0, 0, 0, 730, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 6249, 731, 0, 0, 0, - 0, 0, 3262, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2103, 2104, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 1062, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2578, 0, 0, 0, 0, 0, 0, 0, 0, 2579, - 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 0, 0, - 0, 0, 2654, 0, 0, 0, 0, 3263, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 735, - 0, 0, 3592, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 976, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 976, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 6344, 0, 975, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 5749, 0, 0, 0, 0, 1393, 0, 1826, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1117, 1117, 0, 0, 0, 5779, 0, 0, 0, 2578, - 0, 213, 3264, 0, 0, 740, 0, 0, 2579, 2580, - 2581, 2582, 2583, 2584, 2585, 2586, 2587, 975, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 975, - 0, 0, 1066, 0, 0, 3265, 0, 0, 0, 0, - 0, 0, 744, 0, 0, 0, 0, 0, 0, 745, - 0, 0, 746, 0, 0, 0, 0, 1826, 0, 0, - 0, 0, 0, 0, 975, 0, 0, 0, 0, 0, - 0, 0, 747, 0, 0, 0, 0, 0, 0, 0, - 1068, 0, 0, 0, 0, 0, 0, 749, 0, 0, - 1069, 0, 0, 1826, 0, 751, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 3266, 0, 0, 0, 0, 0, 0, 1117, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 756, 0, 0, - 0, 0, 0, 1825, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 975, 0, 0, 3848, 3849, 1736, 0, 1826, - 0, 3853, 976, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 3882, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2589, 0, 0, 0, 0, 0, 2589, 975, 0, - 2589, 0, 0, 0, 0, 0, 0, 2589, 2589, 5984, - 2589, 0, 0, 0, 0, 3334, 3334, 0, 4150, 0, - 3334, 0, 0, 0, 2589, 0, 0, 2589, 0, 0, - 0, 0, 2589, 0, 0, 0, 0, 6006, 0, 0, - 0, 2589, 0, 0, 0, 0, 2589, 0, 0, 0, - 0, 0, 0, 0, 2589, 2589, 2589, 2589, 0, 0, - 0, 0, 3334, 3334, 0, 2589, 0, 976, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 966, 0, 2589, 0, 2589, 0, 0, 0, 0, - 0, 976, 2589, 2589, 2589, 2589, 2589, 2589, 2589, 2589, - 2589, 2589, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 975, 1, 975, 0, 0, 0, 2589, 0, - 0, 0, 0, 0, 2, 0, 3, 4, 6094, 0, - 966, 966, 0, 0, 0, 0, 0, 4077, 0, 0, - 0, 0, 4083, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 975, 7, 0, 8, 9, - 0, 0, 0, 0, 0, 10, 0, 11, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 12, 0, 13, 0, 2106, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 3346, 0, 3346, 3346, 14, - 0, 976, 15, 0, 0, 1825, 0, 0, 0, 0, - 0, 4174, 0, 0, 4177, 0, 4179, 16, 0, 17, - 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, - 5804, 0, 0, 0, 0, 0, 0, 0, 722, 0, - 20, 0, 21, 1055, 0, 0, 0, 0, 2589, 22, - 0, 0, 0, 4204, 0, 4207, 0, 4210, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1056, 0, 0, 24, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 725, 1057, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1058, 0, 0, - 0, 726, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 1059, - 0, 0, 0, 0, 0, 0, 0, 0, 25, 26, - 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, - 0, 4280, 0, 1060, 0, 0, 2696, 0, 0, 28, - 0, 0, 0, 0, 0, 1826, 0, 729, 0, 0, - 0, 2713, 0, 0, 0, 0, 730, 0, 29, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 731, - 0, 0, 0, 0, 0, 1061, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1062, 0, 0, 0, 1826, 30, 0, 0, - 0, 0, 0, 0, 0, 0, 4330, 0, 0, 966, - 966, 0, 31, 0, 0, 0, 0, 32, 33, 975, - 34, 1826, 0, 0, 0, 35, 0, 0, 4653, 0, - 1063, 36, 0, 975, 37, 0, 0, 0, 0, 0, - 0, 38, 0, 0, 0, 0, 0, 0, 39, 40, - 0, 0, 735, 0, 0, 0, 41, 0, 0, 0, - 42, 0, 0, 0, 0, 1825, 4365, 0, 0, 0, - 0, 43, 0, 0, 2589, 2589, 0, 0, 0, 2589, - 0, 0, 0, 0, 0, 0, 0, 0, 44, 0, - 0, 0, 0, 0, 0, 0, 0, 1064, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2589, 45, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 46, 0, 0, 738, 0, 0, 47, 0, 0, - 0, 0, 48, 0, 213, 1065, 0, 0, 740, 0, - 0, 0, 0, 0, 1825, 0, 49, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1066, 0, 0, 1067, 0, - 50, 0, 743, 0, 0, 744, 0, 0, 0, 0, - 1825, 0, 745, 0, 0, 746, 0, 0, 0, 56, - 0, 0, -136, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 747, 0, 0, 0, 0, - 0, 0, 0, 1068, 0, 0, 0, 0, 0, 0, - 749, 0, 0, 1069, 0, 0, 0, 0, 751, 0, - 0, 0, 0, 0, 0, 0, 1070, 0, 753, 0, - 0, 0, 0, 1071, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1825, 0, 0, 975, - 0, 0, 0, 0, 0, 0, 0, 1736, 0, 0, - 756, 0, 0, 1736, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2589, 0, 0, 0, 0, 0, 2589, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 197, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 4602, 0, 0, 0, 0, 4150, 4150, 0, - 0, 3334, 3334, 3334, 3334, 0, 0, 3334, 3334, 3334, - 3334, 3334, 3334, 3334, 3334, 3334, 3334, 4150, 0, 0, - 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2589, 0, 199, 2589, 975, 2589, 0, 0, 4150, 4150, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 200, 0, 0, 0, 0, 0, 201, 0, 975, 0, - 2589, 3334, 3334, 2589, 0, 0, 2589, 0, 0, 0, - 0, 0, 0, 0, 202, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 203, 0, - 0, 0, 0, 0, 0, 0, 0, 204, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 205, 0, 0, 0, 0, 0, 206, 0, 0, 0, - 0, 0, 0, 207, 0, 0, 0, 0, 0, 0, - 0, 4724, 0, 0, 0, 0, 2589, 0, 0, 4728, - 0, 4729, 0, 208, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 3295, 0, 0, 0, 4742, - 3295, 3295, 0, 0, 0, 0, 3311, 0, 0, 4750, - 0, 0, 4752, 0, 0, 0, 0, 0, 4754, 0, - 4755, 209, 0, 0, 0, 0, 2589, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 975, 0, - 0, 0, 0, 210, 0, 0, 0, 4777, 4778, 4779, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2589, 0, 0, 0, 0, 3355, 0, 0, 0, - 0, 0, 0, 0, 4804, 0, 0, 4807, 0, 4809, - 0, 0, 0, 0, 0, 0, 0, 0, 211, 0, - 0, 0, 0, 0, 0, 4813, 0, 0, 0, 0, - 0, 0, 0, 0, 4821, 4822, 0, 0, 0, 0, - 0, 4827, 0, 0, 0, 212, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 213, 214, 0, 0, 215, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 3295, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 216, 0, 0, 217, - 0, 0, 0, 218, 0, 0, 219, 0, 0, 0, - 0, 0, 0, 220, 0, 0, 221, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 4881, 0, 0, 0, 0, 222, 0, 0, 0, - 0, 0, 1825, 0, 223, 0, 0, 0, 4895, 224, - 0, 225, 0, 0, 226, 0, 0, 0, 0, 227, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 228, - 0, 0, 0, 0, 229, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 230, 0, - 0, 0, 0, 0, 3334, 0, 0, 0, 0, 0, - 0, 231, 0, 1825, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1825, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2589, 0, + 0, 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 5236, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2590, + 0, 2697, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 5259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 5278, 5280, + 0, 0, 0, 0, 0, 0, 5284, 5285, 0, 0, + 0, 5286, 0, 0, 0, 0, 5287, 0, 0, 5290, + 0, 5292, 0, 0, 0, 0, 0, 5297, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 5333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 5348, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2589, 0, 0, 0, 2589, 2589, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2589, 0, - 0, 0, 0, 0, 0, 0, 2589, 0, 2589, 0, - 2589, 2589, 0, 0, 0, 0, 4150, 4150, 4150, 4150, - 0, 0, 0, 4150, 4150, 4150, 4150, 4150, 4150, 4150, - 4150, 4150, 4150, 2589, 2589, 2589, 0, 0, 0, 0, + 0, 0, 3335, 0, 0, 0, 0, 0, 5378, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2589, 0, 0, 2589, 0, 2589, 0, 0, 0, 2589, - 0, 0, 4150, 4150, 0, 0, 0, 2589, 2589, 0, - 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 5185, 5186, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 5193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 5236, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 5429, + 0, 0, 0, 0, 0, 0, 5431, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 2696, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 5259, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 5278, 5280, 0, 0, 0, 0, 0, 0, 5284, 5285, - 0, 0, 0, 5286, 0, 0, 0, 0, 5287, 0, - 0, 5290, 0, 5292, 0, 0, 0, 0, 0, 5297, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 5466, 0, 0, 2590, 0, + 0, 0, 2590, 2590, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2590, 0, 0, 0, + 0, 0, 0, 0, 2590, 0, 2590, 0, 2590, 2590, + 0, 0, 0, 0, 4150, 4150, 4150, 4150, 0, 0, + 0, 4150, 4150, 4150, 4150, 4150, 4150, 4150, 4150, 4150, + 4150, 2590, 2590, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 2590, 0, + 0, 2590, 0, 2590, 0, 0, 0, 2590, 0, 0, + 4150, 4150, 0, 0, 0, 2590, 2590, 0, 0, 0, + 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 5333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 5348, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 4150, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 3296, 0, + 0, 0, 0, 0, 0, 2590, 0, 0, 5574, 0, + 0, 0, 0, 0, 5578, 5579, 5580, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 5593, + 5594, 0, 0, 0, 5595, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 5603, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 5615, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 5633, 0, 0, 0, 0, 0, 0, + 0, 1367, 0, 0, 0, 0, 0, 0, 0, 0, + 5652, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 5378, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2589, 2589, 0, 0, 0, 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 5429, 0, 0, 0, 0, 0, 0, 5431, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2589, 3334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2589, 0, 2589, 0, 0, 0, - 2589, 2589, 2589, 2589, 0, 0, 2589, 5466, 2589, 0, - 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 3334, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2589, + 0, 4150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 2589, 0, 2589, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2590, + 2590, 5828, 0, 0, 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 3295, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 5574, 0, 0, 0, 0, 0, 5578, 5579, 5580, 0, - 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 3356, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 5593, 5594, 0, 0, 0, 5595, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 5603, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 5615, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 5633, 0, 0, 0, 0, - 0, 0, 0, 1368, 0, 0, 0, 0, 0, 0, - 0, 0, 5652, 0, 0, 0, 0, 0, 0, 0, + 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2107, 0, 0, + 0, 0, 0, 2590, 3335, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2590, 0, 2590, 0, 0, 0, 2590, 2590, + 2590, 2590, 0, 0, 2590, 0, 2590, 0, 0, 0, + 0, 2590, 0, 0, 0, 0, 0, 0, 0, 5913, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 3335, + 0, 0, 0, 0, 0, 5925, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2589, 0, 4150, 3334, 2589, 2589, 2589, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2589, - 2589, 2589, 0, 0, 0, 0, 0, 0, 0, 2589, - 0, 0, 0, 0, 3334, 0, 0, 4150, 0, 0, - 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2589, + 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 5961, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 2589, 0, + 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2590, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 3296, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 6041, + 2590, 0, 0, 0, 0, 0, 0, 0, 6048, 6048, + 6048, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 5633, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 6084, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 6099, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 5828, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 2590, 0, + 4150, 3335, 2590, 2590, 2590, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2590, 2590, 2590, + 0, 0, 0, 0, 0, 0, 0, 2590, 0, 0, + 0, 0, 3335, 0, 0, 4150, 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 3355, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 6048, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2106, - 0, 0, 0, 0, 2589, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 4150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 4150, 0, 3334, 0, + 0, 5633, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 5913, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 5925, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 2589, 0, 0, 0, 0, 0, 0, 0, 5961, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 6275, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 6300, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3295, + 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 4150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 6041, 0, 0, 0, 0, 0, 2589, 0, 0, - 6048, 6048, 6048, 0, 2589, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 4150, 0, 3335, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 5633, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2589, 0, 0, 0, 0, 0, 0, 6084, 0, 0, - 0, 0, 0, 0, 0, 2589, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 6099, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2590, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2590, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 6048, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 6390, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 3334, 3334, 0, 0, 3334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2590, 0, 0, 0, 0, + 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 6048, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1737, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 5633, 0, 0, 0, 0, 0, 0, - 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 4150, 4150, 0, 4150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 6275, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 6300, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 3335, 3335, 0, 0, 3335, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 234, 0, 1271, 717, 0, 1272, 1273, - 1274, 778, 1275, 0, 0, 0, 0, 0, 0, 0, - 0, 6048, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 1730, 244, 245, 246, 0, 0, 6390, 0, 1276, - 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, - 254, 255, 256, 257, 258, 1277, 260, 1278, 1279, 0, - 263, 264, 265, 266, 267, 268, 269, 1280, 1281, 270, - 271, 1282, 1283, 274, 0, 275, 276, 277, 278, 1284, - 0, 1285, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, - 297, 0, 298, 299, 300, 301, 1286, 1287, 1288, 1289, - 1290, 1291, 1292, 303, 304, 305, 306, 307, 308, 1293, - 1294, 311, 1295, 312, 0, 313, 314, 315, 316, 317, - 318, 319, 0, 320, 321, 322, 323, 1731, 0, 324, - 325, 887, 327, 328, 0, 329, 330, 331, 332, 0, - 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, - 1296, 343, 344, 345, 346, 1297, 1298, 348, 1736, 349, - 350, 351, 1299, 353, 0, 354, 0, 355, 356, 357, - 0, 358, 359, 360, 361, 362, 0, 363, 1300, 0, - 1301, 366, 367, 0, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, - 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, - 392, 1302, 1303, 0, 1304, 0, 396, 397, 398, 399, - 400, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, - 410, 1314, 412, 413, 414, 415, 416, 417, 418, 0, - 0, 419, 1315, 421, 422, 423, 0, 424, 425, 426, - 1316, 1317, 427, 428, 429, 430, 431, 432, 433, 434, - 435, 436, 1318, 438, 439, 440, 441, 442, 443, 444, - 445, 1319, 447, 1320, 449, 450, 451, 452, 453, 454, - 455, 456, 457, 1321, 459, 1322, 460, 461, 462, 463, - 1323, 1324, 465, 1325, 467, 468, 469, 470, 0, 471, - 472, 473, 0, 0, 1326, 475, 476, 0, 0, 477, - 478, 479, 480, 481, 482, 1327, 484, 485, 486, 487, - 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, - 497, 498, 1328, 500, 501, 502, 503, 504, 0, 505, - 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - 1329, 517, 518, 519, 0, 520, 521, 522, 523, 524, - 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, - 534, 535, 536, 537, 538, 539, 540, 1330, 542, 543, - 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, - 553, 554, 555, 556, 1331, 557, 558, 559, 560, 561, - 562, 563, 564, 1332, 566, 0, 567, 568, 569, 570, - 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, - 581, 1333, 583, 0, 584, 585, 1334, 0, 586, 587, - 588, 589, 590, 591, 592, 593, 0, 594, 1335, 1336, - 0, 0, 597, 598, 1337, 600, 1338, 1339, 602, 603, - 604, 605, 606, 607, 608, 609, 610, 0, 1340, 611, - 612, 613, 614, 615, 1341, 0, 616, 617, 618, 619, - 620, 621, 1342, 1732, 623, 624, 625, 626, 627, 628, - 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, - 635, 636, 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, - 1349, 1350, 647, 648, 649, 650, 0, 1351, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 1352, - 1353, 1733, 0, 0, 0, 0, 0, 0, 1355, 1734, - 234, 0, 1271, 717, 0, 1272, 1273, 1274, 778, 1275, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, - 245, 246, 0, 0, 0, 0, 1276, 0, 0, 247, - 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, - 257, 258, 1277, 260, 1278, 1279, 0, 263, 264, 265, - 266, 267, 268, 269, 1280, 1281, 270, 271, 1282, 1283, - 274, 0, 275, 276, 277, 278, 1284, 0, 1285, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, - 299, 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, - 303, 304, 305, 306, 307, 308, 1293, 1294, 311, 1295, - 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, - 320, 321, 322, 323, 0, 0, 324, 325, 887, 327, - 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, - 336, 337, 0, 338, 339, 340, 341, 1296, 343, 344, - 345, 346, 1297, 1298, 348, 0, 349, 350, 351, 1299, - 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, - 360, 361, 362, 0, 363, 1300, 0, 1301, 366, 367, - 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, - 0, 386, 387, 388, 389, 390, 391, 392, 1302, 1303, - 0, 1304, 0, 396, 397, 398, 399, 400, 1305, 1306, - 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, - 413, 414, 415, 416, 417, 418, 0, 0, 419, 1315, - 421, 422, 423, 0, 424, 425, 426, 1316, 1317, 427, - 428, 429, 430, 431, 432, 433, 434, 435, 436, 1318, - 438, 439, 440, 441, 442, 443, 444, 445, 1319, 447, - 1320, 449, 450, 451, 452, 453, 454, 455, 456, 457, - 1321, 459, 1322, 460, 461, 462, 463, 1323, 1324, 465, - 1325, 467, 468, 469, 470, 0, 471, 472, 473, 0, - 0, 1326, 475, 476, 0, 0, 477, 478, 479, 480, - 481, 482, 1327, 484, 485, 486, 487, 488, 489, 490, - 491, 492, 493, 494, 495, 0, 496, 497, 498, 1328, - 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, - 509, 510, 511, 512, 513, 514, 515, 1329, 517, 518, - 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, - 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, - 537, 538, 539, 540, 1330, 542, 543, 544, 545, 546, - 547, 548, 549, 550, 551, 40, 552, 553, 554, 555, - 556, 1331, 557, 558, 559, 560, 561, 562, 563, 564, - 1332, 566, 0, 567, 568, 569, 570, 571, 572, 573, - 574, 575, 576, 577, 578, 579, 580, 581, 1333, 583, - 0, 584, 585, 1334, 44, 586, 587, 588, 589, 590, - 591, 592, 593, 0, 594, 1335, 1336, 0, 0, 597, - 598, 1337, 600, 1338, 1339, 602, 603, 604, 605, 606, - 607, 608, 609, 610, 0, 1340, 611, 612, 613, 614, - 615, 1341, 0, 616, 617, 618, 619, 620, 1206, 1342, - 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, - 630, 0, 49, 631, 632, 633, 634, 635, 636, 637, - 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, - 648, 649, 650, 0, 1351, 0, 50, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1352, 1353, 0, 0, - 0, 0, 0, 0, 0, 1355, 5874, 234, 0, 1271, - 717, 0, 1272, 1273, 1274, 778, 1275, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, - 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, - 0, 0, 0, 1276, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 254, 255, 256, 257, 258, 1277, - 260, 1278, 1279, 0, 263, 264, 265, 266, 267, 268, - 269, 1280, 1281, 270, 271, 1282, 1283, 274, 0, 275, - 276, 277, 278, 1284, 0, 1285, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, - 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, - 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, 305, - 306, 307, 308, 1293, 1294, 311, 1295, 312, 0, 313, - 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, - 323, 0, 0, 324, 325, 887, 327, 328, 0, 329, - 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, - 338, 339, 340, 341, 1296, 343, 344, 345, 346, 1297, - 1298, 348, 0, 349, 350, 351, 1299, 353, 0, 354, - 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, - 0, 363, 1300, 0, 1301, 366, 367, 0, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, - 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, - 388, 389, 390, 391, 392, 1302, 1303, 0, 1304, 0, - 396, 397, 398, 399, 400, 1305, 1306, 1307, 1308, 1309, - 1310, 1311, 1312, 1313, 410, 1314, 412, 413, 414, 415, - 416, 417, 418, 0, 0, 419, 1315, 421, 422, 423, - 0, 424, 425, 426, 1316, 1317, 427, 428, 429, 430, - 431, 432, 433, 434, 435, 436, 1318, 438, 439, 440, - 441, 442, 443, 444, 445, 1319, 447, 1320, 449, 450, - 451, 452, 453, 454, 455, 456, 457, 1321, 459, 1322, - 460, 461, 462, 463, 1323, 1324, 465, 1325, 467, 468, - 469, 470, 0, 471, 472, 473, 0, 0, 1326, 475, - 476, 0, 0, 477, 478, 479, 480, 481, 482, 1327, - 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 0, 496, 497, 498, 1328, 500, 501, 502, - 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 1329, 517, 518, 519, 0, 520, - 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, - 540, 1330, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 0, 552, 553, 554, 555, 556, 1331, 557, - 558, 559, 560, 561, 562, 563, 564, 1332, 566, 0, - 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, - 577, 578, 579, 580, 581, 1333, 583, 0, 584, 585, - 1334, 0, 586, 587, 588, 589, 590, 591, 592, 593, - 0, 594, 1335, 1336, 0, 0, 597, 598, 1337, 600, - 1338, 1339, 602, 603, 604, 605, 606, 607, 608, 609, - 610, 0, 1340, 611, 612, 613, 614, 615, 1341, 0, - 616, 617, 618, 619, 620, 621, 1342, 0, 623, 624, - 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, - 631, 632, 633, 634, 635, 636, 637, 1343, 1344, 1345, - 1346, 642, 1347, 1348, 1349, 1350, 647, 648, 649, 650, - 0, 1351, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1352, 1353, 0, 0, 0, 0, 0, - 0, 0, 1355, 3336, 234, 0, 1271, 717, 0, 1272, - 1273, 1274, 778, 1275, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, - 1276, 0, 0, 247, 248, 249, 0, 250, 251, 252, - 253, 254, 255, 256, 257, 258, 1277, 260, 1278, 1279, - 0, 263, 264, 265, 266, 267, 268, 269, 1280, 1281, - 270, 271, 1282, 1283, 274, 0, 275, 276, 277, 278, - 1284, 0, 1285, 0, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, - 296, 297, 0, 298, 299, 300, 301, 1286, 1287, 1288, - 1289, 1290, 1291, 1292, 303, 304, 305, 306, 307, 308, - 1293, 1294, 311, 1295, 312, 0, 313, 314, 315, 316, - 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, - 324, 325, 887, 327, 328, 0, 329, 330, 331, 332, - 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, - 341, 1296, 343, 344, 345, 346, 1297, 1298, 348, 0, - 349, 350, 351, 1299, 353, 0, 354, 0, 355, 356, - 357, 0, 358, 359, 360, 361, 362, 0, 363, 1300, - 0, 1301, 366, 367, 0, 368, 369, 370, 371, 372, - 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, - 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, - 391, 392, 1302, 1303, 0, 1304, 0, 396, 397, 398, - 399, 400, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, - 1313, 410, 1314, 412, 413, 414, 415, 416, 417, 418, - 0, 0, 419, 1315, 421, 422, 423, 0, 424, 425, - 426, 1316, 1317, 427, 428, 429, 430, 431, 432, 433, - 434, 435, 436, 1318, 438, 439, 440, 441, 442, 443, - 444, 445, 1319, 447, 1320, 449, 450, 451, 452, 453, - 454, 455, 456, 457, 1321, 459, 1322, 460, 461, 462, - 463, 1323, 1324, 465, 1325, 467, 468, 469, 470, 0, - 471, 472, 473, 0, 0, 1326, 475, 476, 0, 0, - 477, 478, 479, 480, 481, 482, 1327, 484, 485, 486, - 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, - 496, 497, 498, 1328, 500, 501, 502, 503, 504, 0, - 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, 1329, 517, 518, 519, 0, 520, 521, 522, 523, - 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, - 533, 534, 535, 536, 537, 538, 539, 540, 1330, 542, - 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, - 552, 553, 554, 555, 556, 1331, 557, 558, 559, 560, - 561, 562, 563, 564, 1332, 566, 0, 567, 568, 569, - 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, - 580, 581, 1333, 583, 0, 584, 585, 1334, 0, 586, - 587, 588, 589, 590, 591, 592, 593, 0, 594, 1335, - 1336, 0, 0, 597, 598, 1337, 600, 1338, 1339, 602, - 603, 604, 605, 606, 607, 608, 609, 610, 0, 1340, - 611, 612, 613, 614, 615, 1341, 0, 616, 617, 618, - 619, 620, 621, 1342, 0, 623, 624, 625, 626, 627, - 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, - 634, 635, 636, 637, 1343, 1344, 1345, 1346, 642, 1347, - 1348, 1349, 1350, 647, 648, 649, 650, 0, 1351, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 2590, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1352, 1353, 0, 0, 0, 0, 0, 0, 0, 1355, - 4756, 234, 0, 1271, 717, 0, 1272, 1273, 1274, 778, - 1275, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, - 244, 245, 246, 0, 0, 0, 0, 1276, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 258, 1277, 260, 1278, 1279, 0, 263, 264, - 265, 266, 267, 268, 269, 1280, 1281, 270, 271, 1282, - 1283, 274, 0, 275, 276, 277, 278, 1284, 0, 1285, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, - 1292, 303, 304, 305, 306, 307, 308, 1293, 1294, 311, - 1295, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 887, - 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 1296, 343, - 344, 345, 346, 1297, 1298, 348, 0, 349, 350, 351, - 1299, 353, 0, 354, 0, 355, 356, 357, 0, 358, - 359, 360, 361, 362, 0, 363, 1300, 0, 1301, 366, - 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 388, 389, 390, 391, 392, 1302, - 1303, 0, 1304, 0, 396, 397, 398, 399, 400, 1305, - 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, - 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 1315, 421, 422, 423, 0, 424, 425, 426, 1316, 1317, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 1318, 438, 439, 440, 441, 442, 443, 444, 445, 1319, - 447, 1320, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 1321, 459, 1322, 460, 461, 462, 463, 1323, 1324, - 465, 1325, 467, 468, 469, 470, 0, 471, 472, 473, - 0, 0, 1326, 475, 476, 0, 0, 477, 478, 479, - 480, 481, 482, 1327, 484, 485, 486, 487, 488, 489, - 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 1328, 500, 501, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 1329, 517, - 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, - 536, 537, 538, 539, 540, 1330, 542, 543, 544, 545, - 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 1331, 557, 558, 559, 560, 561, 562, 563, - 564, 1332, 566, 0, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 1333, - 583, 0, 584, 585, 1334, 0, 586, 587, 588, 589, - 590, 591, 592, 593, 0, 594, 1335, 1336, 0, 0, - 597, 598, 1337, 600, 1338, 1339, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 1340, 611, 612, 613, - 614, 615, 1341, 0, 616, 617, 618, 619, 620, 621, - 1342, 0, 623, 624, 625, 626, 627, 628, 629, 0, - 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, - 647, 648, 649, 650, 0, 1351, 0, 0, 0, 658, - 0, 0, 0, 0, 0, 0, 0, 1352, 1353, 0, - 0, 0, 0, 0, 0, 0, 1355, 4824, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, - 246, 0, 0, 0, 0, 0, 4257, 0, 247, 248, - 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, - 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, - 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, - 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, - 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, - 0, 292, 293, 294, 295, 296, 297, 0, -1862, 299, - 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, - 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, - 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, - 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, - 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, - 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, - 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, - 0, 354, 0, 355, 356, 0, 0, -1862, 359, 360, - 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, - 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, - 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, - 386, -1862, 388, 389, 390, 391, 392, 393, 394, 0, - 395, 0, 396, 0, 0, 399, -1862, 401, 402, 403, - 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, - 414, 415, 416, 417, 418, 0, 0, 419, 420, -1862, - 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, - 439, 440, 441, 442, 443, 444, 445, 446, -1862, 448, - 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, - 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, - 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, - 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, - 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, - 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, - 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, - 529, 530, 531, 532, 0, 533, 534, -1862, 536, 537, - 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, - 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, - 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, - 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, - 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, - 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, - 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, - 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, - 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, - 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, - 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, - 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, - 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, - 649, 650, 0, 0, 0, 0, 0, 879, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1469, 235, 236, 237, 238, - 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, - 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 254, 255, 256, 257, 0, 880, - 260, 881, 882, 0, 263, 264, 265, 266, 267, 268, - 269, 0, 0, 270, 271, 883, 884, 274, 0, 275, - 276, 277, 278, 0, 0, 280, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, - 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, - 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, - 306, 307, 308, 885, 886, 311, 0, 312, 0, 313, - 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, - 323, 0, 0, 324, 325, 887, 327, 328, 0, 329, - 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, - 338, 339, 340, 341, 0, 343, 344, 345, 346, 0, - 0, 348, 0, 349, 350, 351, 888, 353, 0, 354, - 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, - 0, 363, 0, 0, 0, 366, 367, 0, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 2739, 378, - 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, - 2740, 389, 390, 391, 392, 889, 890, 0, 891, 0, - 396, 397, 398, 399, 400, 892, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 412, 413, 414, 415, - 416, 417, 418, 0, 0, 419, 0, 421, 422, 423, - 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, - 431, 432, 433, 434, 435, 436, 0, 438, 439, 440, - 441, 442, 443, 444, 445, 893, 447, 894, 449, 450, - 451, 452, 453, 454, 455, 456, 0, 0, 459, 0, - 460, 461, 462, 463, 0, 0, 465, 895, 467, 468, - 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, - 476, 0, 0, 477, 478, 2742, 480, 481, 482, 0, - 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 0, 496, 497, 498, 0, 500, 0, 502, - 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 896, 517, 518, 519, 0, 520, - 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, - 540, 0, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, - 558, 2743, 560, 561, 562, 563, 564, 898, 566, 0, - 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, - 577, 578, 579, 580, 581, 0, 583, 0, 584, 585, - 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, - 0, 594, 899, 900, 0, 0, 597, 598, 0, 600, - 0, 0, 602, 603, 604, 605, 606, 607, 608, 609, - 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, - 616, 617, 618, 619, 620, 0, 901, 2744, 623, 624, - 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, - 631, 632, 633, 634, 635, 636, 879, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 648, 649, 650, - 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, - 0, 0, 0, 2837, 0, 247, 248, 249, 0, 250, - 251, 252, 253, 254, 255, 256, 257, 0, 880, 260, - 881, 882, 0, 263, 264, 265, 266, 267, 268, 269, - 0, 0, 270, 271, 883, 884, 274, 0, 275, 276, - 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, - 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, - 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, - 307, 308, 885, 886, 311, 0, 312, 0, 313, 314, - 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, - 0, 0, 324, 325, 887, 327, 328, 0, 329, 330, - 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, - 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, - 348, 0, 349, 350, 351, 888, 353, 0, 354, 0, - 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, - 363, 0, 0, 0, 366, 367, 0, 368, 369, 370, - 371, 372, 373, 374, 375, 376, 377, 2739, 378, 379, - 380, 381, 382, 383, 384, 385, 0, 386, 387, 2740, - 389, 390, 391, 392, 889, 890, 0, 891, 0, 396, - 397, 398, 399, 400, 892, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, - 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, - 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, - 432, 433, 434, 435, 436, 0, 438, 439, 440, 441, - 442, 443, 444, 445, 893, 447, 894, 449, 450, 451, - 452, 453, 454, 455, 456, 0, 0, 459, 0, 460, - 461, 462, 463, 0, 0, 465, 895, 467, 468, 469, - 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, - 0, 0, 477, 478, 2742, 480, 481, 482, 0, 484, - 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, - 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, - 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 896, 517, 518, 519, 0, 520, 521, - 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, - 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, - 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, - 2743, 560, 561, 562, 563, 564, 898, 566, 0, 567, - 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, - 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, - 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, - 594, 899, 900, 0, 0, 597, 598, 0, 600, 0, - 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, - 617, 618, 619, 620, 0, 901, 2744, 623, 624, 625, - 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, - 632, 633, 634, 635, 636, 234, 0, 1271, 717, 0, - 1272, 1273, 1274, 778, 1275, 0, 648, 649, 650, 0, + 0, 0, 0, 0, 2590, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 4150, 4150, 0, 4150, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 234, 0, + 1270, 717, 0, 1271, 1272, 1273, 778, 1274, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, + 238, 239, 240, 241, 242, 243, 1731, 244, 245, 246, + 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, + 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, + 1276, 260, 1277, 1278, 2590, 263, 264, 265, 266, 267, + 268, 269, 1279, 1280, 270, 271, 1281, 1282, 274, 0, + 275, 276, 277, 278, 1283, 0, 1284, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, + 301, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, + 305, 306, 307, 308, 1292, 1293, 311, 1294, 312, 0, + 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, + 322, 323, 1732, 0, 324, 325, 888, 327, 328, 0, + 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, + 0, 338, 339, 340, 341, 1295, 343, 344, 345, 346, + 1296, 1297, 348, 0, 349, 350, 351, 1298, 353, 0, + 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, + 362, 0, 363, 1299, 0, 1300, 366, 367, 0, 368, + 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, + 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, + 387, 388, 389, 390, 391, 392, 1301, 1302, 0, 1303, + 0, 396, 397, 398, 399, 400, 1304, 1305, 1306, 1307, + 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, 413, 414, + 415, 416, 417, 418, 0, 0, 419, 1314, 421, 422, + 423, 0, 424, 425, 426, 1315, 1316, 427, 428, 429, + 430, 431, 432, 433, 434, 435, 436, 1317, 438, 439, + 440, 441, 442, 443, 444, 445, 1318, 447, 1319, 449, + 450, 451, 452, 453, 454, 455, 456, 457, 1320, 459, + 1321, 460, 461, 462, 463, 1322, 1323, 465, 1324, 467, + 468, 469, 470, 0, 471, 472, 473, 0, 0, 1325, + 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, + 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, + 493, 494, 495, 0, 496, 497, 498, 1327, 500, 501, + 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, + 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, + 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, + 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, + 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, + 549, 550, 551, 0, 552, 553, 554, 555, 556, 1330, + 557, 558, 559, 560, 561, 562, 563, 564, 1331, 566, + 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, + 576, 577, 578, 579, 580, 581, 1332, 583, 0, 584, + 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, + 593, 0, 594, 1334, 1335, 0, 0, 597, 598, 1336, + 600, 1337, 1338, 602, 603, 604, 605, 606, 607, 608, + 609, 610, 0, 1339, 611, 612, 613, 614, 615, 1340, + 0, 616, 617, 618, 619, 620, 621, 1341, 1733, 623, + 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, + 0, 631, 632, 633, 634, 635, 636, 637, 1342, 1343, + 1344, 1345, 642, 1346, 1347, 1348, 1349, 647, 648, 649, + 650, 0, 1350, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1351, 1352, 1734, 0, 0, 0, + 0, 0, 0, 1354, 1735, 234, 0, 1270, 717, 0, + 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, - 0, 1276, 3971, 0, 247, 248, 249, 0, 250, 251, - 252, 253, 254, 255, 256, 257, 258, 1277, 260, 1278, - 1279, 0, 263, 264, 265, 266, 267, 268, 269, 1280, - 1281, 270, 271, 1282, 1283, 274, 0, 275, 276, 277, - 278, 1284, 0, 1285, 0, 281, 282, 283, 284, 285, + 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, + 252, 253, 254, 255, 256, 257, 258, 1276, 260, 1277, + 1278, 0, 263, 264, 265, 266, 267, 268, 269, 1279, + 1280, 270, 271, 1281, 1282, 274, 0, 275, 276, 277, + 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, - 295, 296, 297, 0, 298, 299, 300, 301, 1286, 1287, - 1288, 1289, 1290, 1291, 1292, 303, 304, 305, 306, 307, - 308, 1293, 1294, 311, 1295, 312, 0, 313, 314, 315, + 295, 296, 297, 0, 298, 299, 300, 301, 1285, 1286, + 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, + 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, - 0, 324, 325, 887, 327, 328, 0, 329, 330, 331, + 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, - 340, 341, 1296, 343, 344, 345, 346, 1297, 1298, 348, - 0, 349, 350, 351, 1299, 353, 0, 354, 0, 355, + 340, 341, 1295, 343, 344, 345, 346, 1296, 1297, 348, + 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, - 1300, 0, 1301, 366, 367, 0, 368, 369, 370, 371, + 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, - 390, 391, 392, 1302, 1303, 0, 1304, 0, 396, 397, - 398, 399, 400, 1305, 1306, 1307, 1308, 1309, 1310, 1311, - 1312, 1313, 410, 1314, 412, 413, 414, 415, 416, 417, - 418, 0, 0, 419, 1315, 421, 422, 423, 0, 424, - 425, 426, 1316, 1317, 427, 428, 429, 430, 431, 432, - 433, 434, 435, 436, 1318, 438, 439, 440, 441, 442, - 443, 444, 445, 1319, 447, 1320, 449, 450, 451, 452, - 453, 454, 455, 456, 457, 1321, 459, 1322, 460, 461, - 462, 463, 1323, 1324, 465, 1325, 467, 468, 469, 470, - 0, 471, 472, 473, 0, 0, 1326, 475, 476, 0, - 0, 477, 478, 479, 480, 481, 482, 1327, 484, 485, + 390, 391, 392, 1301, 1302, 0, 1303, 0, 396, 397, + 398, 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, + 1311, 1312, 410, 1313, 412, 413, 414, 415, 416, 417, + 418, 0, 0, 419, 1314, 421, 422, 423, 0, 424, + 425, 426, 1315, 1316, 427, 428, 429, 430, 431, 432, + 433, 434, 435, 436, 1317, 438, 439, 440, 441, 442, + 443, 444, 445, 1318, 447, 1319, 449, 450, 451, 452, + 453, 454, 455, 456, 457, 1320, 459, 1321, 460, 461, + 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, + 0, 471, 472, 473, 0, 0, 1325, 475, 476, 0, + 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, - 0, 496, 497, 498, 1328, 500, 501, 502, 503, 504, + 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, 1329, 517, 518, 519, 0, 520, 521, 522, + 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, - 3297, 533, 534, 535, 536, 537, 538, 539, 540, 1330, + 0, 533, 534, 535, 536, 537, 538, 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, - 40, 552, 553, 554, 555, 556, 1331, 557, 558, 559, - 560, 561, 562, 563, 564, 1332, 566, 0, 567, 568, + 40, 552, 553, 554, 555, 556, 1330, 557, 558, 559, + 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, - 579, 580, 581, 1333, 583, 0, 584, 585, 1334, 44, + 579, 580, 581, 1332, 583, 0, 584, 585, 1333, 44, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, - 1335, 1336, 0, 0, 597, 598, 1337, 600, 1338, 1339, + 1334, 1335, 0, 0, 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, - 1340, 611, 612, 613, 614, 615, 1341, 0, 616, 617, - 618, 619, 620, 1206, 1342, 0, 623, 624, 625, 626, + 1339, 611, 612, 613, 614, 615, 1340, 0, 616, 617, + 618, 619, 620, 1206, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 49, 631, 632, - 633, 634, 635, 636, 637, 1343, 1344, 1345, 1346, 642, - 1347, 1348, 1349, 1350, 647, 648, 649, 650, 0, 1351, + 633, 634, 635, 636, 637, 1342, 1343, 1344, 1345, 642, + 1346, 1347, 1348, 1349, 647, 648, 649, 650, 0, 1350, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1352, 1353, 0, 0, 0, 234, 0, 1271, 717, - 1355, 1272, 1273, 1274, 778, 1275, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, - 0, 0, 1276, 0, 0, 247, 248, 249, 0, 250, - 251, 252, 253, 254, 255, 256, 257, 258, 1277, 260, - 1278, 1279, 0, 263, 264, 265, 266, 267, 268, 269, - 1280, 1281, 270, 271, 1282, 1283, 274, 0, 275, 276, - 277, 278, 1284, 0, 1285, 0, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, - 294, 295, 296, 297, 0, 298, 299, 300, 301, 1286, - 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, 305, 306, - 307, 308, 1293, 1294, 311, 1295, 312, 0, 313, 314, - 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, - 0, 0, 324, 325, 887, 327, 328, 0, 329, 330, - 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, - 339, 340, 341, 1296, 343, 344, 345, 346, 1297, 1298, - 348, 0, 349, 350, 351, 1299, 353, 0, 354, 0, - 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, - 363, 1300, 0, 1301, 366, 367, 0, 368, 369, 370, - 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, - 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, - 389, 390, 391, 392, 1302, 1303, 0, 1304, 0, 396, - 397, 398, 399, 400, 1305, 1306, 1307, 1308, 1309, 1310, - 1311, 1312, 1313, 410, 1314, 412, 413, 414, 415, 416, - 417, 418, 0, 0, 419, 1315, 421, 422, 423, 0, - 424, 425, 426, 1316, 1317, 427, 428, 429, 430, 431, - 432, 433, 434, 435, 436, 1318, 438, 439, 440, 441, - 442, 443, 444, 445, 1319, 447, 1320, 449, 450, 451, - 452, 453, 454, 455, 456, 457, 1321, 459, 1322, 460, - 461, 462, 463, 1323, 1324, 465, 1325, 467, 468, 469, - 470, 0, 471, 472, 473, 0, 0, 1326, 475, 476, - 0, 0, 477, 478, 479, 480, 481, 482, 1327, 484, - 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, - 495, 0, 496, 497, 498, 1328, 500, 501, 502, 503, - 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 1329, 517, 518, 519, 0, 520, 521, - 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, - 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, - 1330, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 40, 552, 553, 554, 555, 556, 1331, 557, 558, - 559, 560, 561, 562, 563, 564, 1332, 566, 0, 567, - 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, - 578, 579, 580, 581, 1333, 583, 0, 584, 585, 1334, - 44, 586, 587, 588, 589, 590, 591, 592, 593, 0, - 594, 1335, 1336, 0, 0, 597, 598, 1337, 600, 1338, - 1339, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 0, 1340, 611, 612, 613, 614, 615, 1341, 0, 616, - 617, 618, 619, 620, 1206, 1342, 0, 623, 624, 625, - 626, 627, 628, 629, 0, 0, 630, 0, 49, 631, - 632, 633, 634, 635, 636, 637, 1343, 1344, 1345, 1346, - 642, 1347, 1348, 1349, 1350, 647, 648, 649, 650, 0, - 1351, 0, 50, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1352, 1353, 0, 0, 0, 234, 0, 1271, - 717, 1355, 1272, 1273, 1274, 778, 1275, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, - 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, - 0, 0, 0, 1276, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 254, 255, 256, 257, 258, 1277, - 260, 1278, 1279, 3342, 263, 264, 265, 266, 267, 268, - 269, 1280, 1281, 270, 271, 1282, 1283, 274, 0, 275, - 276, 277, 278, 1284, 0, 1285, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, - 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, - 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, 305, - 306, 307, 308, 1293, 1294, 311, 1295, 312, 0, 313, - 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, - 323, 0, 0, 324, 325, 887, 327, 328, 0, 329, - 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, - 338, 339, 340, 341, 1296, 343, 344, 345, 346, 1297, - 1298, 348, 0, 349, 350, 351, 1299, 353, 0, 354, - 0, 355, 356, 357, 3343, 358, 359, 360, 361, 362, - 0, 363, 1300, 0, 1301, 366, 367, 0, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, - 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, - 388, 389, 390, 391, 392, 1302, 1303, 0, 1304, 0, - 396, 397, 398, 399, 400, 1305, 1306, 1307, 1308, 1309, - 1310, 1311, 1312, 1313, 410, 1314, 412, 413, 414, 415, - 416, 417, 418, 0, 3344, 419, 1315, 421, 422, 423, - 0, 424, 425, 426, 1316, 1317, 427, 428, 429, 430, - 431, 432, 433, 434, 435, 436, 1318, 438, 439, 440, - 441, 442, 443, 444, 445, 1319, 447, 1320, 449, 450, - 451, 452, 453, 454, 455, 456, 457, 1321, 459, 1322, - 460, 461, 462, 463, 1323, 1324, 465, 1325, 467, 468, - 469, 470, 0, 471, 472, 473, 0, 0, 1326, 475, - 476, 0, 0, 477, 478, 479, 480, 481, 482, 1327, - 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 0, 496, 497, 498, 1328, 500, 501, 502, - 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 1329, 517, 518, 519, 0, 520, - 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, - 540, 1330, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 0, 552, 553, 554, 555, 556, 1331, 557, - 558, 559, 560, 561, 562, 563, 564, 1332, 566, 0, - 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, - 577, 578, 579, 580, 581, 1333, 583, 0, 584, 585, - 1334, 0, 586, 587, 588, 589, 590, 591, 592, 593, - 0, 594, 1335, 1336, 0, 3345, 597, 598, 1337, 600, - 1338, 1339, 602, 603, 604, 605, 606, 607, 608, 609, - 610, 0, 1340, 611, 612, 613, 614, 615, 1341, 0, - 616, 617, 618, 619, 620, 621, 1342, 0, 623, 624, - 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, - 631, 632, 633, 634, 635, 636, 637, 1343, 1344, 1345, - 1346, 642, 1347, 1348, 1349, 1350, 647, 648, 649, 650, - 0, 1351, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1352, 1353, 0, 0, 0, 234, 0, - 1271, 717, 1355, 1272, 1273, 1274, 778, 1275, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, - 238, 239, 240, 241, 242, 243, -2295, 244, 245, 246, - 0, 0, 0, -2295, 1276, 0, 0, 247, 248, 249, - 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, - 1277, 260, 1278, 1279, 0, 263, 264, 265, 266, 267, - 268, 269, 1280, 1281, 270, 271, 1282, 1283, 274, 0, - 275, 276, 277, 278, 1284, 0, 1285, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, - 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, - 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, - 305, 306, 307, 308, 1293, 1294, 311, 1295, 312, 0, - 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, - 322, 323, 0, 0, 324, 325, 887, 327, 328, 0, - 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, - 0, 338, 339, 340, 341, 1296, 343, 344, 345, 346, - 1297, 1298, 348, 0, 349, 350, 351, 1299, 353, 0, - 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, - 362, 0, 363, 1300, 0, 1301, 366, 367, 0, 368, - 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, - 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, - 387, 388, 389, 390, 391, 392, 1302, 1303, 0, 1304, - 0, 396, 397, 398, 399, 400, 1305, 1306, 1307, 1308, - 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, 413, 414, - 415, 416, 417, 418, 0, 0, 419, 1315, 421, 422, - 423, 0, 424, 425, 426, 1316, 1317, 427, 428, 429, - 430, 431, 432, 433, 434, 435, 436, 1318, 438, 439, - 440, 441, 442, 443, 444, 445, 1319, 447, 1320, 449, - 450, 451, 452, 453, 454, 455, 456, 457, 1321, 459, - 1322, 460, 461, 462, 463, 1323, 1324, 465, 1325, 467, - 468, 469, 470, 0, 471, 472, 473, 0, 0, 1326, - 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, - 1327, 484, 485, 486, 487, 488, 489, 490, 491, 492, - 493, 494, 495, 0, 496, 497, 498, 1328, 500, 501, - 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, - 511, 512, 513, 514, 515, 1329, 517, 518, 519, 0, - 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, - 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, - 539, 540, 1330, 542, 543, 544, 545, 546, 547, 548, - 549, 550, 551, 0, 552, 553, 554, 555, 556, 1331, - 557, 558, 559, 560, 561, 562, 563, 564, 1332, 566, - -2295, 567, 568, 569, 570, 571, 572, 573, 574, 575, - 576, 577, 578, 579, 580, 581, 1333, 583, 0, 584, - 585, 1334, 0, 586, 587, 588, 589, 590, 591, 592, - 593, 0, 594, 1335, 1336, 0, 0, 597, 598, 1337, - 600, 1338, 1339, 602, 603, 604, 605, 606, 607, 608, - 609, 610, 0, 1340, 611, 612, 613, 614, 615, 1341, - 0, 616, 617, 618, 619, 620, 621, 1342, 0, 623, - 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, - 0, 631, 632, 633, 634, 635, 636, 637, 1343, 1344, - 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, 648, 649, - 650, 0, 1351, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1352, 1353, 0, 0, 0, 234, - 0, 1271, 717, 1355, 1272, 1273, 1274, 778, 1275, 0, + 0, 1351, 1352, 0, 0, 0, 0, 0, 0, 0, + 1354, 5874, 234, 0, 1270, 717, 0, 1271, 1272, 1273, + 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, + 0, 244, 245, 246, 0, 0, 0, 0, 1275, 0, + 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, + 255, 256, 257, 258, 1276, 260, 1277, 1278, 0, 263, + 264, 265, 266, 267, 268, 269, 1279, 1280, 270, 271, + 1281, 1282, 274, 0, 275, 276, 277, 278, 1283, 0, + 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, + 0, 298, 299, 300, 301, 1285, 1286, 1287, 1288, 1289, + 1290, 1291, 303, 304, 305, 306, 307, 308, 1292, 1293, + 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, + 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, + 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, + 334, 335, 336, 337, 0, 338, 339, 340, 341, 1295, + 343, 344, 345, 346, 1296, 1297, 348, 0, 349, 350, + 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, + 358, 359, 360, 361, 362, 0, 363, 1299, 0, 1300, + 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, + 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, + 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, + 1301, 1302, 0, 1303, 0, 396, 397, 398, 399, 400, + 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, + 1313, 412, 413, 414, 415, 416, 417, 418, 0, 0, + 419, 1314, 421, 422, 423, 0, 424, 425, 426, 1315, + 1316, 427, 428, 429, 430, 431, 432, 433, 434, 435, + 436, 1317, 438, 439, 440, 441, 442, 443, 444, 445, + 1318, 447, 1319, 449, 450, 451, 452, 453, 454, 455, + 456, 457, 1320, 459, 1321, 460, 461, 462, 463, 1322, + 1323, 465, 1324, 467, 468, 469, 470, 0, 471, 472, + 473, 0, 0, 1325, 475, 476, 0, 0, 477, 478, + 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, + 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, + 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, 1328, + 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, + 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, + 535, 536, 537, 538, 539, 540, 1329, 542, 543, 544, + 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, + 554, 555, 556, 1330, 557, 558, 559, 560, 561, 562, + 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, + 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, + 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, + 589, 590, 591, 592, 593, 0, 594, 1334, 1335, 0, + 0, 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, + 605, 606, 607, 608, 609, 610, 0, 1339, 611, 612, + 613, 614, 615, 1340, 0, 616, 617, 618, 619, 620, + 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, + 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, + 636, 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, + 1349, 647, 648, 649, 650, 0, 1350, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1351, 1352, + 0, 0, 0, 0, 0, 0, 0, 1354, 3337, 234, + 0, 1270, 717, 0, 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, - 237, 238, 239, 240, 241, 242, 243, -2293, 244, 245, - 246, 0, 0, 0, -2293, 1276, 0, 0, 247, 248, + 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, + 246, 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, - 258, 1277, 260, 1278, 1279, 0, 263, 264, 265, 266, - 267, 268, 269, 1280, 1281, 270, 271, 1282, 1283, 274, - 0, 275, 276, 277, 278, 1284, 0, 1285, 0, 281, + 258, 1276, 260, 1277, 1278, 0, 263, 264, 265, 266, + 267, 268, 269, 1279, 1280, 270, 271, 1281, 1282, 274, + 0, 275, 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, - 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, - 304, 305, 306, 307, 308, 1293, 1294, 311, 1295, 312, + 300, 301, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, + 304, 305, 306, 307, 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, - 321, 322, 323, 0, 0, 324, 325, 887, 327, 328, + 321, 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, - 337, 0, 338, 339, 340, 341, 1296, 343, 344, 345, - 346, 1297, 1298, 348, 0, 349, 350, 351, 1299, 353, + 337, 0, 338, 339, 340, 341, 1295, 343, 344, 345, + 346, 1296, 1297, 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, - 361, 362, 0, 363, 1300, 0, 1301, 366, 367, 0, + 361, 362, 0, 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, - 386, 387, 388, 389, 390, 391, 392, 1302, 1303, 0, - 1304, 0, 396, 397, 398, 399, 400, 1305, 1306, 1307, - 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, 413, - 414, 415, 416, 417, 418, 0, 0, 419, 1315, 421, - 422, 423, 0, 424, 425, 426, 1316, 1317, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 1318, 438, - 439, 440, 441, 442, 443, 444, 445, 1319, 447, 1320, - 449, 450, 451, 452, 453, 454, 455, 456, 457, 1321, - 459, 1322, 460, 461, 462, 463, 1323, 1324, 465, 1325, + 386, 387, 388, 389, 390, 391, 392, 1301, 1302, 0, + 1303, 0, 396, 397, 398, 399, 400, 1304, 1305, 1306, + 1307, 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, 413, + 414, 415, 416, 417, 418, 0, 0, 419, 1314, 421, + 422, 423, 0, 424, 425, 426, 1315, 1316, 427, 428, + 429, 430, 431, 432, 433, 434, 435, 436, 1317, 438, + 439, 440, 441, 442, 443, 444, 445, 1318, 447, 1319, + 449, 450, 451, 452, 453, 454, 455, 456, 457, 1320, + 459, 1321, 460, 461, 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, - 1326, 475, 476, 0, 0, 477, 478, 479, 480, 481, - 482, 1327, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 0, 496, 497, 498, 1328, 500, + 1325, 475, 476, 0, 0, 477, 478, 479, 480, 481, + 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, + 492, 493, 494, 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 1329, 517, 518, 519, + 510, 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, - 538, 539, 540, 1330, 542, 543, 544, 545, 546, 547, + 538, 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, - 1331, 557, 558, 559, 560, 561, 562, 563, 564, 1332, - 566, -2293, 567, 568, 569, 570, 571, 572, 573, 574, - 575, 576, 577, 578, 579, 580, 581, 1333, 583, 0, - 584, 585, 1334, 0, 586, 587, 588, 589, 590, 591, - 592, 593, 0, 594, 1335, 1336, 0, 0, 597, 598, - 1337, 600, 1338, 1339, 602, 603, 604, 605, 606, 607, - 608, 609, 610, 0, 1340, 611, 612, 613, 614, 615, - 1341, 0, 616, 617, 618, 619, 620, 621, 1342, 0, + 1330, 557, 558, 559, 560, 561, 562, 563, 564, 1331, + 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, + 575, 576, 577, 578, 579, 580, 581, 1332, 583, 0, + 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, + 592, 593, 0, 594, 1334, 1335, 0, 0, 597, 598, + 1336, 600, 1337, 1338, 602, 603, 604, 605, 606, 607, + 608, 609, 610, 0, 1339, 611, 612, 613, 614, 615, + 1340, 0, 616, 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, - 0, 0, 631, 632, 633, 634, 635, 636, 637, 1343, - 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, 648, - 649, 650, 0, 1351, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1352, 1353, 0, 0, 0, - 234, 0, 1271, 717, 1355, 1272, 1273, 1274, 778, 1275, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, - 245, 246, 0, 0, 0, 0, 1276, 0, 0, 247, - 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, - 257, 258, 1277, 260, 1278, 1279, 0, 263, 264, 265, - 266, 267, 268, 269, 1280, 1281, 270, 271, 1282, 1283, - 274, 0, 275, 276, 277, 278, 1284, 0, 1285, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, - 299, 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, - 303, 304, 305, 306, 307, 308, 1293, 1294, 311, 1295, - 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, - 320, 321, 322, 323, 0, 0, 324, 325, 887, 327, - 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, - 336, 337, 0, 338, 339, 340, 341, 1296, 343, 344, - 345, 346, 1297, 1298, 348, 0, 349, 350, 351, 1299, - 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, - 360, 361, 362, 0, 363, 1300, 0, 1301, 366, 367, - 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, - 0, 386, 387, 388, 389, 390, 391, 392, 1302, 1303, - 0, 1304, 0, 396, 397, 398, 399, 400, 1305, 1306, - 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, - 413, 414, 415, 416, 417, 418, 0, 0, 419, 1315, - 421, 422, 423, 0, 424, 425, 426, 1316, 1317, 427, - 428, 429, 430, 431, 432, 433, 434, 435, 436, 1318, - 438, 439, 440, 441, 442, 443, 444, 445, 1319, 447, - 1320, 449, 450, 451, 452, 453, 454, 455, 456, 457, - 1321, 459, 1322, 460, 461, 462, 463, 1323, 1324, 465, - 1325, 467, 468, 469, 470, 0, 471, 472, 473, 0, - 0, 1326, 475, 476, 0, 0, 477, 478, 479, 480, - 481, 482, 1327, 484, 485, 486, 487, 488, 489, 490, - 491, 492, 493, 494, 495, 0, 496, 497, 498, 1328, - 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, - 509, 510, 511, 512, 513, 514, 515, 1329, 517, 518, - 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, - 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, - 537, 538, 539, 540, 1330, 542, 543, 544, 545, 546, - 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, - 556, 1331, 557, 558, 559, 560, 561, 562, 563, 564, - 1332, 566, 0, 567, 568, 569, 570, 571, 572, 573, - 574, 575, 576, 577, 578, 579, 580, 581, 1333, 583, - 0, 584, 585, 1334, 0, 586, 587, 588, 589, 590, - 591, 592, 593, 0, 594, 1335, 1336, 0, 0, 597, - 598, 1337, 600, 1338, 1339, 602, 603, 604, 605, 606, - 607, 608, 609, 610, 0, 1340, 611, 612, 613, 614, - 615, 1341, 0, 616, 617, 618, 619, 620, 621, 1342, - 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, - 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, - 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, - 648, 649, 650, 0, 1351, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1352, 1353, 0, 0, - 0, 0, 0, 2054, 3270, 1355, 234, 0, 1271, 717, - 0, 1272, 1273, 1274, 778, 1275, 0, 0, 0, 0, + 0, 0, 631, 632, 633, 634, 635, 636, 637, 1342, + 1343, 1344, 1345, 642, 1346, 1347, 1348, 1349, 647, 648, + 649, 650, 0, 1350, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1351, 1352, 0, 0, 0, + 0, 0, 0, 0, 1354, 4756, 234, 0, 1270, 717, + 0, 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, - 0, 0, 1276, 0, 0, 247, 248, 249, 0, 250, - 251, 252, 253, 254, 255, 256, 257, 258, 1277, 260, - 1278, 1279, 0, 263, 264, 265, 266, 267, 268, 269, - 1280, 1281, 270, 271, 1282, 1283, 274, 0, 275, 276, - 277, 278, 1284, 0, 1285, 0, 281, 282, 283, 284, + 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 254, 255, 256, 257, 258, 1276, 260, + 1277, 1278, 0, 263, 264, 265, 266, 267, 268, 269, + 1279, 1280, 270, 271, 1281, 1282, 274, 0, 275, 276, + 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, - 294, 295, 296, 297, 0, 298, 299, 300, 301, 1286, - 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, 305, 306, - 307, 308, 1293, 1294, 311, 1295, 312, 0, 313, 314, + 294, 295, 296, 297, 0, 298, 299, 300, 301, 1285, + 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, + 307, 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, - 0, 0, 324, 325, 887, 327, 328, 0, 329, 330, + 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, - 339, 340, 341, 1296, 343, 344, 345, 346, 1297, 1298, - 348, 0, 349, 350, 351, 1299, 353, 0, 354, 0, + 339, 340, 341, 1295, 343, 344, 345, 346, 1296, 1297, + 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, - 363, 1300, 0, 1301, 366, 367, 0, 368, 369, 370, + 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, - 389, 390, 391, 392, 1302, 1303, 0, 1304, 0, 396, - 397, 398, 399, 400, 1305, 1306, 1307, 1308, 1309, 1310, - 1311, 1312, 1313, 410, 1314, 412, 413, 414, 415, 416, - 417, 418, 0, 0, 419, 1315, 421, 422, 423, 0, - 424, 425, 426, 1316, 1317, 427, 428, 429, 430, 431, - 432, 433, 434, 435, 436, 1318, 438, 439, 440, 441, - 442, 443, 444, 445, 1319, 447, 1320, 449, 450, 451, - 452, 453, 454, 455, 456, 457, 1321, 459, 1322, 460, - 461, 462, 463, 1323, 1324, 465, 1325, 467, 468, 469, - 470, 0, 471, 472, 473, 0, 0, 1326, 475, 476, - 0, 0, 477, 478, 479, 480, 481, 482, 1327, 484, + 389, 390, 391, 392, 1301, 1302, 0, 1303, 0, 396, + 397, 398, 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, + 1310, 1311, 1312, 410, 1313, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 1314, 421, 422, 423, 0, + 424, 425, 426, 1315, 1316, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 1317, 438, 439, 440, 441, + 442, 443, 444, 445, 1318, 447, 1319, 449, 450, 451, + 452, 453, 454, 455, 456, 457, 1320, 459, 1321, 460, + 461, 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 1325, 475, 476, + 0, 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, - 495, 0, 496, 497, 498, 1328, 500, 501, 502, 503, + 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 1329, 517, 518, 519, 0, 520, 521, + 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, - 1330, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 0, 552, 553, 554, 555, 556, 1331, 557, 558, - 559, 560, 561, 562, 563, 564, 1332, 566, 0, 567, + 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 1330, 557, 558, + 559, 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, - 578, 579, 580, 581, 1333, 583, 0, 584, 585, 1334, + 578, 579, 580, 581, 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, - 594, 1335, 1336, 0, 0, 597, 598, 1337, 600, 1338, - 1339, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 0, 1340, 611, 612, 613, 614, 615, 1341, 0, 616, - 617, 618, 619, 620, 621, 1342, 0, 623, 624, 625, + 594, 1334, 1335, 0, 0, 597, 598, 1336, 600, 1337, + 1338, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 1339, 611, 612, 613, 614, 615, 1340, 0, 616, + 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, - 632, 633, 634, 635, 636, 637, 1343, 1344, 1345, 1346, - 642, 1347, 1348, 1349, 1350, 647, 648, 649, 650, 0, - 1351, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1352, 1353, 1354, 0, 0, 234, 0, 1271, - 717, 1355, 1272, 1273, 1274, 778, 1275, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, - 239, 240, 241, 242, 243, 2706, 244, 245, 246, 0, - 0, 0, 0, 1276, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 254, 255, 256, 257, 258, 1277, - 260, 1278, 1279, 0, 263, 264, 265, 266, 267, 268, - 269, 1280, 1281, 270, 271, 1282, 1283, 274, 0, 275, - 276, 277, 278, 1284, 0, 1285, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, - 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, - 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, 305, - 306, 307, 308, 1293, 1294, 311, 1295, 312, 0, 313, - 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, - 323, 0, 0, 324, 325, 887, 327, 328, 0, 329, - 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, - 338, 339, 340, 341, 1296, 343, 344, 345, 346, 1297, - 1298, 348, 0, 349, 350, 351, 1299, 353, 0, 354, - 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, - 0, 363, 1300, 0, 1301, 366, 367, 0, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, - 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, - 388, 389, 390, 391, 392, 1302, 1303, 0, 1304, 0, - 396, 397, 398, 399, 400, 1305, 1306, 1307, 1308, 1309, - 1310, 1311, 1312, 1313, 410, 1314, 412, 413, 414, 415, - 416, 417, 418, 0, 0, 419, 1315, 421, 422, 423, - 0, 424, 425, 426, 1316, 1317, 427, 428, 429, 430, - 431, 432, 433, 434, 435, 436, 1318, 438, 439, 440, - 441, 442, 443, 444, 445, 1319, 447, 1320, 449, 450, - 451, 452, 453, 454, 455, 456, 457, 1321, 459, 1322, - 460, 461, 462, 463, 1323, 1324, 465, 1325, 467, 468, - 469, 470, 0, 471, 472, 473, 0, 0, 1326, 475, - 476, 0, 0, 477, 478, 479, 480, 481, 482, 1327, - 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 0, 496, 497, 498, 1328, 500, 501, 502, - 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 1329, 517, 518, 519, 0, 520, - 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, - 540, 1330, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 0, 552, 553, 554, 555, 556, 1331, 557, - 558, 559, 560, 561, 562, 563, 564, 1332, 566, 0, - 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, - 577, 578, 579, 580, 581, 1333, 583, 0, 584, 585, - 1334, 0, 586, 587, 588, 589, 590, 591, 592, 593, - 0, 594, 1335, 1336, 0, 0, 597, 598, 1337, 600, - 1338, 1339, 602, 603, 604, 605, 606, 607, 608, 609, - 610, 0, 1340, 611, 612, 613, 614, 615, 1341, 0, - 616, 617, 618, 619, 620, 621, 1342, 0, 623, 624, - 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, - 631, 632, 633, 634, 635, 636, 637, 1343, 1344, 1345, - 1346, 642, 1347, 1348, 1349, 1350, 647, 648, 649, 650, - 0, 1351, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1352, 1353, 0, 0, 0, 234, 0, - 1271, 717, 1355, 1272, 1273, 1274, 778, 1275, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, - 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, - 0, 0, 0, 0, 1276, 0, 0, 247, 248, 249, - 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, - 1277, 260, 1278, 1279, 0, 263, 264, 265, 266, 267, - 268, 269, 1280, 1281, 270, 271, 1282, 1283, 274, 0, - 275, 276, 277, 278, 1284, 0, 1285, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, - 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, - 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, - 305, 306, 307, 308, 1293, 1294, 311, 1295, 312, 0, - 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, - 322, 323, 0, 0, 324, 325, 887, 327, 328, 0, - 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, - 0, 338, 339, 340, 341, 1296, 343, 344, 345, 346, - 1297, 1298, 348, 0, 349, 350, 351, 1299, 353, 0, - 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, - 362, 0, 363, 1300, 0, 1301, 366, 367, 0, 368, - 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, - 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, - 387, 388, 389, 390, 391, 392, 1302, 1303, 0, 1304, - 0, 396, 397, 398, 399, 400, 1305, 1306, 1307, 1308, - 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, 413, 414, - 415, 416, 417, 418, 0, 0, 419, 1315, 421, 422, - 423, 0, 424, 425, 426, 1316, 1317, 427, 428, 429, - 430, 431, 432, 433, 434, 435, 436, 1318, 438, 439, - 440, 441, 442, 443, 444, 445, 1319, 447, 1320, 449, - 450, 451, 452, 453, 454, 455, 456, 457, 1321, 459, - 1322, 460, 461, 462, 463, 1323, 1324, 465, 1325, 467, - 468, 469, 470, 0, 471, 472, 473, 0, 0, 1326, - 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, - 1327, 484, 485, 486, 487, 488, 489, 490, 491, 492, - 493, 494, 495, 0, 496, 497, 498, 1328, 500, 501, - 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, - 511, 512, 513, 514, 515, 1329, 517, 518, 519, 0, - 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, - 530, 531, 532, 3297, 533, 534, 535, 536, 537, 538, - 539, 540, 1330, 542, 543, 544, 545, 546, 547, 548, - 549, 550, 551, 0, 552, 553, 554, 555, 556, 1331, - 557, 558, 559, 560, 561, 562, 563, 564, 1332, 566, - 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, - 576, 577, 578, 579, 580, 581, 1333, 583, 0, 584, - 585, 1334, 0, 586, 587, 588, 589, 590, 591, 592, - 593, 0, 594, 1335, 1336, 0, 0, 597, 598, 1337, - 600, 1338, 1339, 602, 603, 604, 605, 606, 607, 608, - 609, 610, 0, 1340, 611, 612, 613, 614, 615, 1341, - 0, 616, 617, 618, 619, 620, 621, 1342, 0, 623, - 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, - 0, 631, 632, 633, 634, 635, 636, 637, 1343, 1344, - 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, 648, 649, - 650, 0, 1351, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1352, 1353, 0, 0, 0, 234, - 0, 1271, 717, 1355, 1272, 1273, 1274, 778, 1275, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, - 246, 0, 0, 0, 0, 1276, 0, 0, 247, 248, - 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, - 258, 1277, 260, 1278, 1279, 0, 263, 264, 265, 266, - 267, 268, 269, 1280, 1281, 270, 271, 1282, 1283, 274, - 0, 275, 276, 277, 278, 1284, 0, 1285, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, - 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, - 304, 305, 306, 307, 308, 1293, 1294, 311, 1295, 312, - 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, - 321, 322, 323, 0, 0, 324, 325, 887, 327, 328, - 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, - 337, 0, 338, 339, 340, 341, 1296, 343, 344, 345, - 346, 1297, 1298, 348, 0, 349, 350, 351, 1299, 353, - 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, - 361, 362, 0, 363, 1300, 0, 1301, 366, 367, 0, - 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, - 386, 387, 388, 389, 390, 391, 392, 1302, 1303, 0, - 1304, 0, 396, 397, 398, 399, 400, 1305, 1306, 1307, - 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, 413, - 414, 415, 416, 417, 418, 0, 0, 419, 1315, 421, - 422, 423, 0, 424, 425, 426, 1316, 1317, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 1318, 438, - 439, 440, 441, 442, 443, 444, 445, 1319, 447, 1320, - 449, 450, 451, 452, 453, 454, 455, 456, 457, 1321, - 459, 1322, 460, 461, 462, 463, 1323, 1324, 465, 1325, - 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, - 1326, 475, 476, 0, 0, 477, 478, 479, 480, 481, - 482, 1327, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 0, 496, 497, 498, 1328, 500, - 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 1329, 517, 518, 519, - 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, - 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, - 538, 539, 540, 1330, 542, 543, 544, 545, 546, 547, - 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, - 1331, 557, 558, 559, 560, 561, 562, 563, 564, 1332, - 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, - 575, 576, 577, 578, 579, 580, 581, 1333, 583, 0, - 584, 585, 1334, 0, 586, 587, 588, 589, 590, 591, - 592, 593, 0, 594, 1335, 1336, 0, 0, 597, 598, - 1337, 600, 1338, 1339, 602, 603, 604, 605, 606, 607, - 608, 609, 610, 0, 1340, 611, 612, 613, 614, 615, - 1341, 0, 616, 617, 618, 619, 620, 621, 1342, 3850, - 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, - 0, 0, 631, 632, 633, 634, 635, 636, 637, 1343, - 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, 648, - 649, 650, 0, 1351, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1352, 1353, 0, 0, 0, - 234, 0, 1271, 717, 1355, 1272, 1273, 1274, 778, 1275, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, - 245, 246, 0, 0, 0, 0, 1276, 0, 0, 247, - 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, - 257, 258, 1277, 260, 1278, 1279, 0, 263, 264, 265, - 266, 267, 268, 269, 1280, 1281, 270, 271, 1282, 1283, - 274, 0, 275, 276, 277, 278, 1284, 0, 1285, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, - 299, 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, - 303, 304, 305, 306, 307, 308, 1293, 1294, 311, 1295, - 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, - 320, 321, 322, 323, 0, 0, 324, 325, 887, 327, - 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, - 336, 337, 0, 338, 339, 340, 341, 1296, 343, 344, - 345, 346, 1297, 1298, 348, 0, 349, 350, 351, 1299, - 353, 0, 354, 0, 355, 356, 357, 3343, 358, 359, - 360, 361, 362, 0, 363, 1300, 0, 1301, 366, 367, - 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, - 0, 386, 387, 388, 389, 390, 391, 392, 1302, 1303, - 0, 1304, 0, 396, 397, 398, 399, 400, 1305, 1306, - 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, - 413, 414, 415, 416, 417, 418, 0, 0, 419, 1315, - 421, 422, 423, 0, 424, 425, 426, 1316, 1317, 427, - 428, 429, 430, 431, 432, 433, 434, 435, 436, 1318, - 438, 439, 440, 441, 442, 443, 444, 445, 1319, 447, - 1320, 449, 450, 451, 452, 453, 454, 455, 456, 457, - 1321, 459, 1322, 460, 461, 462, 463, 1323, 1324, 465, - 1325, 467, 468, 469, 470, 0, 471, 472, 473, 0, - 0, 1326, 475, 476, 0, 0, 477, 478, 479, 480, - 481, 482, 1327, 484, 485, 486, 487, 488, 489, 490, - 491, 492, 493, 494, 495, 0, 496, 497, 498, 1328, - 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, - 509, 510, 511, 512, 513, 514, 515, 1329, 517, 518, - 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, - 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, - 537, 538, 539, 540, 1330, 542, 543, 544, 545, 546, - 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, - 556, 1331, 557, 558, 559, 560, 561, 562, 563, 564, - 1332, 566, 0, 567, 568, 569, 570, 571, 572, 573, - 574, 575, 576, 577, 578, 579, 580, 581, 1333, 583, - 0, 584, 585, 1334, 0, 586, 587, 588, 589, 590, - 591, 592, 593, 0, 594, 1335, 1336, 0, 0, 597, - 598, 1337, 600, 1338, 1339, 602, 603, 604, 605, 606, - 607, 608, 609, 610, 0, 1340, 611, 612, 613, 614, - 615, 1341, 0, 616, 617, 618, 619, 620, 621, 1342, - 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, - 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, - 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, - 648, 649, 650, 0, 1351, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1352, 1353, 0, 0, - 0, 234, 0, 1271, 717, 1355, 1272, 1273, 1274, 778, - 1275, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, - 244, 245, 246, 0, 0, 0, 0, 1276, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 258, 1277, 260, 1278, 1279, 0, 263, 264, - 265, 266, 267, 268, 269, 1280, 1281, 270, 271, 1282, - 1283, 274, 0, 275, 276, 277, 278, 1284, 0, 1285, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, - 1292, 303, 304, 305, 306, 307, 308, 1293, 1294, 311, - 1295, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 887, - 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 1296, 343, - 344, 345, 346, 1297, 1298, 348, 0, 349, 350, 351, - 1299, 353, 0, 354, 0, 355, 356, 357, 0, 358, - 359, 360, 361, 362, 0, 363, 1300, 0, 1301, 366, - 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 388, 389, 390, 391, 392, 1302, - 1303, 0, 1304, 0, 396, 397, 398, 399, 400, 1305, - 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, - 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 1315, 421, 422, 423, 0, 424, 425, 426, 1316, 1317, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 1318, 438, 439, 440, 441, 442, 443, 444, 445, 1319, - 447, 1320, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 1321, 459, 1322, 460, 461, 462, 463, 1323, 1324, - 465, 1325, 467, 468, 469, 470, 0, 471, 472, 473, - 0, 0, 1326, 475, 476, 0, 0, 477, 478, 479, - 480, 481, 482, 1327, 484, 485, 486, 487, 488, 489, - 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 1328, 500, 501, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 1329, 517, - 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, - 536, 537, 538, 539, 540, 1330, 542, 543, 544, 545, - 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 1331, 557, 558, 559, 560, 561, 562, 563, - 564, 1332, 566, 0, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 1333, - 583, 0, 584, 585, 1334, 0, 586, 587, 588, 589, - 590, 591, 592, 593, 0, 594, 1335, 1336, 3400, 0, - 597, 598, 1337, 600, 1338, 1339, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 1340, 611, 612, 613, - 614, 615, 1341, 0, 616, 617, 618, 619, 620, 621, - 1342, 0, 623, 624, 625, 626, 627, 628, 629, 0, - 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, - 647, 648, 649, 650, 0, 1351, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1352, 1353, 0, - 0, 0, 234, 0, 1271, 717, 1355, 1272, 1273, 1274, - 778, 1275, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 0, 244, 245, 246, 0, 0, 0, 0, 1276, 0, - 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, - 255, 256, 257, 258, 1277, 260, 1278, 1279, 0, 263, - 264, 265, 266, 267, 268, 269, 1280, 1281, 270, 271, - 1282, 1283, 274, 0, 275, 276, 277, 278, 1284, 0, - 1285, 0, 281, 282, 283, 284, 285, 286, 287, 288, - 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, - 0, 298, 299, 300, 301, 1286, 1287, 1288, 1289, 1290, - 1291, 1292, 303, 304, 305, 306, 307, 308, 1293, 1294, - 311, 1295, 312, 0, 313, 314, 315, 316, 317, 318, - 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, - 887, 327, 328, 0, 329, 330, 331, 332, 0, 333, - 334, 335, 336, 337, 0, 338, 339, 340, 341, 1296, - 343, 344, 345, 346, 1297, 1298, 348, 0, 349, 350, - 351, 1299, 353, 0, 354, 0, 355, 356, 357, 0, - 358, 359, 360, 361, 362, 0, 363, 1300, 0, 1301, - 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, - 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, - 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, - 1302, 1303, 0, 1304, 0, 396, 397, 398, 399, 400, - 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, - 1314, 412, 413, 414, 415, 416, 417, 418, 0, 0, - 419, 1315, 421, 422, 423, 0, 424, 425, 426, 1316, - 1317, 427, 428, 429, 430, 431, 432, 433, 434, 435, - 436, 1318, 438, 439, 440, 441, 442, 443, 444, 445, - 1319, 447, 1320, 449, 450, 451, 452, 453, 454, 455, - 456, 457, 1321, 459, 1322, 460, 461, 462, 463, 1323, - 1324, 465, 1325, 467, 468, 469, 470, 0, 471, 472, - 473, 0, 0, 1326, 475, 476, 0, 0, 477, 478, - 479, 480, 481, 482, 1327, 484, 485, 486, 487, 488, - 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, - 498, 1328, 500, 501, 502, 503, 504, 0, 505, 506, - 507, 508, 509, 510, 511, 512, 513, 514, 515, 1329, - 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, - 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, - 535, 536, 537, 538, 539, 540, 1330, 542, 543, 544, - 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, - 554, 555, 556, 1331, 557, 558, 559, 560, 561, 562, - 563, 564, 1332, 566, 0, 567, 568, 569, 570, 571, - 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, - 1333, 583, 0, 584, 585, 1334, 0, 586, 587, 588, - 589, 590, 591, 592, 593, 0, 594, 1335, 1336, 0, - 0, 597, 598, 1337, 600, 1338, 1339, 602, 603, 604, - 605, 606, 607, 608, 609, 610, 0, 1340, 611, 612, - 613, 614, 615, 1341, 0, 616, 617, 618, 619, 620, - 621, 1342, 0, 623, 624, 625, 626, 627, 628, 629, - 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, - 636, 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, - 1350, 647, 648, 649, 650, 0, 1351, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1352, 1353, - 0, 0, 0, 234, 0, 1271, 717, 1355, 1272, 1273, - 1274, 778, 1275, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 0, 244, 245, 246, 0, 0, 0, 0, 1276, - 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, - 254, 255, 256, 257, 258, 1277, 260, 1278, 1279, 0, - 263, 264, 265, 266, 267, 268, 269, 1280, 1281, 270, - 271, 1282, 1283, 274, 0, 275, 276, 277, 278, 1284, - 0, 1285, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, - 297, 0, 298, 299, 300, 301, 1286, 1287, 1288, 1289, - 1290, 1291, 1292, 303, 304, 305, 306, 307, 308, 1293, - 1294, 311, 1295, 312, 0, 313, 314, 315, 316, 317, - 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, - 325, 887, 327, 328, 0, 329, 330, 331, 332, 0, - 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, - 1296, 343, 344, 345, 346, 1297, 1298, 348, 0, 349, - 350, 351, 1299, 353, 0, 354, 0, 355, 356, 357, - 0, 358, 359, 360, 361, 362, 0, 363, 1300, 0, - 1301, 366, 367, 0, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, - 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, - 392, 1302, 1303, 0, 1304, 0, 396, 397, 398, 399, - 400, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, - 410, 1314, 412, 413, 414, 415, 416, 417, 418, 0, - 0, 419, 1315, 421, 422, 423, 0, 424, 425, 426, - 1316, 1317, 427, 428, 429, 430, 431, 432, 433, 434, - 435, 436, 1318, 438, 439, 440, 441, 442, 443, 444, - 445, 1319, 447, 1320, 449, 450, 451, 452, 453, 454, - 455, 456, 457, 1321, 459, 1322, 460, 461, 462, 463, - 1323, 1324, 465, 1325, 467, 468, 469, 470, 0, 471, - 472, 473, 0, 0, 1326, 475, 476, 0, 0, 477, - 478, 479, 480, 481, 482, 1327, 484, 485, 486, 487, - 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, - 497, 498, 1328, 500, 501, 502, 503, 504, 0, 505, - 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - 1329, 517, 518, 519, 0, 520, 521, 522, 523, 524, - 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, - 534, 535, 536, 537, 538, 539, 540, 1330, 542, 543, - 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, - 553, 554, 555, 556, 1331, 557, 558, 559, 560, 561, - 562, 563, 564, 1332, 566, 0, 567, 568, 569, 570, - 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, - 581, 1333, 583, 0, 584, 585, 1334, 0, 586, 587, - 588, 589, 590, 591, 592, 593, 0, 594, 1335, 1336, - 0, 0, 597, 598, 1337, 600, 1338, 1339, 602, 603, - 604, 605, 606, 607, 608, 609, 610, 0, 1340, 611, - 612, 613, 614, 615, 1341, 0, 616, 617, 618, 619, - 620, 621, 1342, 0, 623, 624, 625, 626, 627, 628, - 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, - 635, 636, 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, - 1349, 1350, 647, 648, 649, 650, 0, 1351, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 2709, - 2710, 0, 0, 0, 234, 0, 3519, 717, 1355, 1272, - 1273, 1274, 778, 1275, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, + 632, 633, 634, 635, 636, 637, 1342, 1343, 1344, 1345, + 642, 1346, 1347, 1348, 1349, 647, 648, 649, 650, 0, + 1350, 0, 0, 0, 658, 0, 0, 0, 0, 0, + 0, 0, 1351, 1352, 0, 0, 0, 0, 0, 0, + 0, 1354, 4824, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, - 1276, 0, 0, 247, 248, 249, 0, 250, 251, 252, - 253, 254, 255, 256, 257, 258, 1277, 260, 1278, 1279, - 0, 263, 264, 265, 266, 267, 268, 269, 1280, 1281, - 270, 271, 1282, 1283, 274, 0, 275, 276, 277, 278, - 1284, 0, 1285, 0, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, - 296, 297, 0, 298, 299, 300, 301, 1286, 1287, 1288, - 1289, 1290, 1291, 1292, 303, 304, 305, 306, 307, 308, - 1293, 1294, 311, 1295, 312, 0, 313, 314, 315, 316, + 0, 4257, 0, 247, 248, 249, 0, 250, 251, 252, + 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, + 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, + 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, + 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, + 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, + 296, 297, 0, -1863, 299, 300, 301, 0, 0, 0, + 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, + 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, + 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, + 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, + 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, + 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, + 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, + 0, 0, -1863, 359, 360, 361, 362, 0, 363, 364, + 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, + 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, + 382, 383, 384, 385, 0, 386, -1863, 388, 389, 390, + 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, + 399, -1863, 401, 402, 403, 404, 405, 406, 407, 408, + 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, + 0, 0, 419, 420, -1863, 422, 0, 0, 424, 425, + 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, + 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, + 444, 445, 446, -1863, 448, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, + 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, + 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, + 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, + 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, + 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, + 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, + 533, 534, -1863, 536, 537, 538, 539, 540, 541, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, + 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, + 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, + 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, + 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, + 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, + 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, + 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, + 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, + 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, + 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, + 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, + 644, 645, 646, 647, 648, 649, 650, 0, 0, 0, + 0, 0, 880, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1470, 235, 236, 237, 238, 239, 240, 241, 242, 243, + 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, + 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, + 255, 256, 257, 0, 881, 260, 882, 883, 0, 263, + 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, + 884, 885, 274, 0, 275, 276, 277, 278, 0, 0, + 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, + 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, + 0, 0, 303, 304, 305, 306, 307, 308, 886, 887, + 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, + 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, + 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, + 334, 335, 336, 337, 0, 338, 339, 340, 341, 0, + 343, 344, 345, 346, 0, 0, 348, 0, 349, 350, + 351, 889, 353, 0, 354, 0, 355, 356, 357, 0, + 358, 359, 360, 361, 362, 0, 363, 0, 0, 0, + 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, + 375, 376, 377, 2740, 378, 379, 380, 381, 382, 383, + 384, 385, 0, 386, 387, 2741, 389, 390, 391, 392, + 890, 891, 0, 892, 0, 396, 397, 398, 399, 400, + 893, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 412, 413, 414, 415, 416, 417, 418, 0, 0, + 419, 0, 421, 422, 423, 0, 424, 425, 426, 0, + 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, + 436, 0, 438, 439, 440, 441, 442, 443, 444, 445, + 894, 447, 895, 449, 450, 451, 452, 453, 454, 455, + 456, 0, 0, 459, 0, 460, 461, 462, 463, 0, + 0, 465, 896, 467, 468, 469, 470, 0, 471, 472, + 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, + 2743, 480, 481, 482, 0, 484, 485, 486, 487, 488, + 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, + 498, 0, 500, 0, 502, 503, 504, 0, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, 897, + 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, + 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, + 535, 536, 537, 538, 539, 540, 0, 542, 543, 544, + 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, + 554, 555, 556, 0, 557, 558, 2744, 560, 561, 562, + 563, 564, 899, 566, 0, 567, 568, 569, 570, 571, + 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, + 0, 583, 0, 584, 585, 0, 0, 586, 587, 588, + 589, 590, 591, 592, 593, 0, 594, 900, 901, 0, + 0, 597, 598, 0, 600, 0, 0, 602, 603, 604, + 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, + 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, + 0, 902, 2745, 623, 624, 625, 626, 627, 628, 629, + 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, + 636, 880, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 648, 649, 650, 0, 0, 0, 0, 0, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, + 244, 245, 246, 0, 0, 0, 0, 0, 2838, 0, + 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, + 256, 257, 0, 881, 260, 882, 883, 0, 263, 264, + 265, 266, 267, 268, 269, 0, 0, 270, 271, 884, + 885, 274, 0, 275, 276, 277, 278, 0, 0, 280, + 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, + 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, + 0, 303, 304, 305, 306, 307, 308, 886, 887, 311, + 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, + 0, 320, 321, 322, 323, 0, 0, 324, 325, 888, + 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, + 335, 336, 337, 0, 338, 339, 340, 341, 0, 343, + 344, 345, 346, 0, 0, 348, 0, 349, 350, 351, + 889, 353, 0, 354, 0, 355, 356, 357, 0, 358, + 359, 360, 361, 362, 0, 363, 0, 0, 0, 366, + 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, + 376, 377, 2740, 378, 379, 380, 381, 382, 383, 384, + 385, 0, 386, 387, 2741, 389, 390, 391, 392, 890, + 891, 0, 892, 0, 396, 397, 398, 399, 400, 893, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, + 0, 421, 422, 423, 0, 424, 425, 426, 0, 0, + 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, + 0, 438, 439, 440, 441, 442, 443, 444, 445, 894, + 447, 895, 449, 450, 451, 452, 453, 454, 455, 456, + 0, 0, 459, 0, 460, 461, 462, 463, 0, 0, + 465, 896, 467, 468, 469, 470, 0, 471, 472, 473, + 0, 0, 474, 475, 476, 0, 0, 477, 478, 2743, + 480, 481, 482, 0, 484, 485, 486, 487, 488, 489, + 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, + 0, 500, 0, 502, 503, 504, 0, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, 897, 517, + 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, + 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, + 536, 537, 538, 539, 540, 0, 542, 543, 544, 545, + 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, + 555, 556, 0, 557, 558, 2744, 560, 561, 562, 563, + 564, 899, 566, 0, 567, 568, 569, 570, 571, 572, + 573, 574, 575, 576, 577, 578, 579, 580, 581, 0, + 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, + 590, 591, 592, 593, 0, 594, 900, 901, 0, 0, + 597, 598, 0, 600, 0, 0, 602, 603, 604, 605, + 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, + 614, 615, 0, 0, 616, 617, 618, 619, 620, 0, + 902, 2745, 623, 624, 625, 626, 627, 628, 629, 0, + 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, + 234, 0, 1270, 717, 0, 1271, 1272, 1273, 778, 1274, + 0, 648, 649, 650, 0, 0, 0, 0, 0, 235, + 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, + 245, 246, 0, 0, 0, 0, 1275, 3972, 0, 247, + 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, + 257, 258, 1276, 260, 1277, 1278, 0, 263, 264, 265, + 266, 267, 268, 269, 1279, 1280, 270, 271, 1281, 1282, + 274, 0, 275, 276, 277, 278, 1283, 0, 1284, 0, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, + 299, 300, 301, 1285, 1286, 1287, 1288, 1289, 1290, 1291, + 303, 304, 305, 306, 307, 308, 1292, 1293, 311, 1294, + 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, + 320, 321, 322, 323, 0, 0, 324, 325, 888, 327, + 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, + 336, 337, 0, 338, 339, 340, 341, 1295, 343, 344, + 345, 346, 1296, 1297, 348, 0, 349, 350, 351, 1298, + 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, + 360, 361, 362, 0, 363, 1299, 0, 1300, 366, 367, + 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, + 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, + 0, 386, 387, 388, 389, 390, 391, 392, 1301, 1302, + 0, 1303, 0, 396, 397, 398, 399, 400, 1304, 1305, + 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, + 413, 414, 415, 416, 417, 418, 0, 0, 419, 1314, + 421, 422, 423, 0, 424, 425, 426, 1315, 1316, 427, + 428, 429, 430, 431, 432, 433, 434, 435, 436, 1317, + 438, 439, 440, 441, 442, 443, 444, 445, 1318, 447, + 1319, 449, 450, 451, 452, 453, 454, 455, 456, 457, + 1320, 459, 1321, 460, 461, 462, 463, 1322, 1323, 465, + 1324, 467, 468, 469, 470, 0, 471, 472, 473, 0, + 0, 1325, 475, 476, 0, 0, 477, 478, 479, 480, + 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, + 491, 492, 493, 494, 495, 0, 496, 497, 498, 1327, + 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, + 509, 510, 511, 512, 513, 514, 515, 1328, 517, 518, + 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, + 528, 529, 530, 531, 532, 3298, 533, 534, 535, 536, + 537, 538, 539, 540, 1329, 542, 543, 544, 545, 546, + 547, 548, 549, 550, 551, 40, 552, 553, 554, 555, + 556, 1330, 557, 558, 559, 560, 561, 562, 563, 564, + 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, + 574, 575, 576, 577, 578, 579, 580, 581, 1332, 583, + 0, 584, 585, 1333, 44, 586, 587, 588, 589, 590, + 591, 592, 593, 0, 594, 1334, 1335, 0, 0, 597, + 598, 1336, 600, 1337, 1338, 602, 603, 604, 605, 606, + 607, 608, 609, 610, 0, 1339, 611, 612, 613, 614, + 615, 1340, 0, 616, 617, 618, 619, 620, 1206, 1341, + 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, + 630, 0, 49, 631, 632, 633, 634, 635, 636, 637, + 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, 1349, 647, + 648, 649, 650, 0, 1350, 0, 50, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1351, 1352, 0, 0, + 0, 234, 0, 1270, 717, 1354, 1271, 1272, 1273, 778, + 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, + 244, 245, 246, 0, 0, 0, 0, 1275, 0, 0, + 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, + 256, 257, 258, 1276, 260, 1277, 1278, 0, 263, 264, + 265, 266, 267, 268, 269, 1279, 1280, 270, 271, 1281, + 1282, 274, 0, 275, 276, 277, 278, 1283, 0, 1284, + 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, + 298, 299, 300, 301, 1285, 1286, 1287, 1288, 1289, 1290, + 1291, 303, 304, 305, 306, 307, 308, 1292, 1293, 311, + 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, + 0, 320, 321, 322, 323, 0, 0, 324, 325, 888, + 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, + 335, 336, 337, 0, 338, 339, 340, 341, 1295, 343, + 344, 345, 346, 1296, 1297, 348, 0, 349, 350, 351, + 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, + 359, 360, 361, 362, 0, 363, 1299, 0, 1300, 366, + 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, + 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, + 385, 0, 386, 387, 388, 389, 390, 391, 392, 1301, + 1302, 0, 1303, 0, 396, 397, 398, 399, 400, 1304, + 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, 1313, + 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, + 1314, 421, 422, 423, 0, 424, 425, 426, 1315, 1316, + 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, + 1317, 438, 439, 440, 441, 442, 443, 444, 445, 1318, + 447, 1319, 449, 450, 451, 452, 453, 454, 455, 456, + 457, 1320, 459, 1321, 460, 461, 462, 463, 1322, 1323, + 465, 1324, 467, 468, 469, 470, 0, 471, 472, 473, + 0, 0, 1325, 475, 476, 0, 0, 477, 478, 479, + 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, + 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, + 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, 1328, 517, + 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, + 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, + 536, 537, 538, 539, 540, 1329, 542, 543, 544, 545, + 546, 547, 548, 549, 550, 551, 40, 552, 553, 554, + 555, 556, 1330, 557, 558, 559, 560, 561, 562, 563, + 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, + 573, 574, 575, 576, 577, 578, 579, 580, 581, 1332, + 583, 0, 584, 585, 1333, 44, 586, 587, 588, 589, + 590, 591, 592, 593, 0, 594, 1334, 1335, 0, 0, + 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, 605, + 606, 607, 608, 609, 610, 0, 1339, 611, 612, 613, + 614, 615, 1340, 0, 616, 617, 618, 619, 620, 1206, + 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, + 0, 630, 0, 49, 631, 632, 633, 634, 635, 636, + 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, 1349, + 647, 648, 649, 650, 0, 1350, 0, 50, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1351, 1352, 0, + 0, 0, 234, 0, 1270, 717, 1354, 1271, 1272, 1273, + 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, + 0, 244, 245, 246, 0, 0, 0, 0, 1275, 0, + 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, + 255, 256, 257, 258, 1276, 260, 1277, 1278, 3343, 263, + 264, 265, 266, 267, 268, 269, 1279, 1280, 270, 271, + 1281, 1282, 274, 0, 275, 276, 277, 278, 1283, 0, + 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, + 0, 298, 299, 300, 301, 1285, 1286, 1287, 1288, 1289, + 1290, 1291, 303, 304, 305, 306, 307, 308, 1292, 1293, + 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, + 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, + 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, + 334, 335, 336, 337, 0, 338, 339, 340, 341, 1295, + 343, 344, 345, 346, 1296, 1297, 348, 0, 349, 350, + 351, 1298, 353, 0, 354, 0, 355, 356, 357, 3344, + 358, 359, 360, 361, 362, 0, 363, 1299, 0, 1300, + 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, + 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, + 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, + 1301, 1302, 0, 1303, 0, 396, 397, 398, 399, 400, + 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, + 1313, 412, 413, 414, 415, 416, 417, 418, 0, 3345, + 419, 1314, 421, 422, 423, 0, 424, 425, 426, 1315, + 1316, 427, 428, 429, 430, 431, 432, 433, 434, 435, + 436, 1317, 438, 439, 440, 441, 442, 443, 444, 445, + 1318, 447, 1319, 449, 450, 451, 452, 453, 454, 455, + 456, 457, 1320, 459, 1321, 460, 461, 462, 463, 1322, + 1323, 465, 1324, 467, 468, 469, 470, 0, 471, 472, + 473, 0, 0, 1325, 475, 476, 0, 0, 477, 478, + 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, + 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, + 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, 1328, + 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, + 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, + 535, 536, 537, 538, 539, 540, 1329, 542, 543, 544, + 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, + 554, 555, 556, 1330, 557, 558, 559, 560, 561, 562, + 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, + 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, + 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, + 589, 590, 591, 592, 593, 0, 594, 1334, 1335, 0, + 3346, 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, + 605, 606, 607, 608, 609, 610, 0, 1339, 611, 612, + 613, 614, 615, 1340, 0, 616, 617, 618, 619, 620, + 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, + 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, + 636, 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, + 1349, 647, 648, 649, 650, 0, 1350, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1351, 1352, + 0, 0, 0, 234, 0, 1270, 717, 1354, 1271, 1272, + 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, + 243, -2296, 244, 245, 246, 0, 0, 0, -2296, 1275, + 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, + 254, 255, 256, 257, 258, 1276, 260, 1277, 1278, 0, + 263, 264, 265, 266, 267, 268, 269, 1279, 1280, 270, + 271, 1281, 1282, 274, 0, 275, 276, 277, 278, 1283, + 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, + 297, 0, 298, 299, 300, 301, 1285, 1286, 1287, 1288, + 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, 1292, + 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, + 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, + 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, + 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, + 1295, 343, 344, 345, 346, 1296, 1297, 348, 0, 349, + 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, + 0, 358, 359, 360, 361, 362, 0, 363, 1299, 0, + 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, + 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, + 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, + 392, 1301, 1302, 0, 1303, 0, 396, 397, 398, 399, + 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, + 410, 1313, 412, 413, 414, 415, 416, 417, 418, 0, + 0, 419, 1314, 421, 422, 423, 0, 424, 425, 426, + 1315, 1316, 427, 428, 429, 430, 431, 432, 433, 434, + 435, 436, 1317, 438, 439, 440, 441, 442, 443, 444, + 445, 1318, 447, 1319, 449, 450, 451, 452, 453, 454, + 455, 456, 457, 1320, 459, 1321, 460, 461, 462, 463, + 1322, 1323, 465, 1324, 467, 468, 469, 470, 0, 471, + 472, 473, 0, 0, 1325, 475, 476, 0, 0, 477, + 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, + 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, + 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, + 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, + 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, + 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, + 534, 535, 536, 537, 538, 539, 540, 1329, 542, 543, + 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, + 553, 554, 555, 556, 1330, 557, 558, 559, 560, 561, + 562, 563, 564, 1331, 566, -2296, 567, 568, 569, 570, + 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, + 581, 1332, 583, 0, 584, 585, 1333, 0, 586, 587, + 588, 589, 590, 591, 592, 593, 0, 594, 1334, 1335, + 0, 0, 597, 598, 1336, 600, 1337, 1338, 602, 603, + 604, 605, 606, 607, 608, 609, 610, 0, 1339, 611, + 612, 613, 614, 615, 1340, 0, 616, 617, 618, 619, + 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, + 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, + 635, 636, 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, + 1348, 1349, 647, 648, 649, 650, 0, 1350, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1351, + 1352, 0, 0, 0, 234, 0, 1270, 717, 1354, 1271, + 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, + 242, 243, -2294, 244, 245, 246, 0, 0, 0, -2294, + 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, + 253, 254, 255, 256, 257, 258, 1276, 260, 1277, 1278, + 0, 263, 264, 265, 266, 267, 268, 269, 1279, 1280, + 270, 271, 1281, 1282, 274, 0, 275, 276, 277, 278, + 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, + 296, 297, 0, 298, 299, 300, 301, 1285, 1286, 1287, + 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, + 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, - 324, 325, 887, 327, 328, 0, 329, 330, 331, 332, + 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, - 341, 1296, 343, 344, 345, 346, 1297, 1298, 348, 0, - 349, 350, 351, 1299, 353, 0, 354, 0, 355, 356, - 357, 0, 358, 359, 360, 361, 362, 0, 363, 1300, - 0, 1301, 366, 367, 0, 368, 369, 370, 371, 372, + 341, 1295, 343, 344, 345, 346, 1296, 1297, 348, 0, + 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, + 357, 0, 358, 359, 360, 361, 362, 0, 363, 1299, + 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, - 391, 392, 1302, 1303, 0, 1304, 0, 396, 397, 398, - 399, 400, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, - 1313, 410, 1314, 412, 413, 414, 415, 416, 417, 418, - 0, 0, 419, 1315, 421, 422, 423, 0, 424, 425, - 426, 1316, 1317, 427, 428, 429, 430, 431, 432, 433, - 434, 435, 436, 1318, 438, 439, 440, 441, 442, 443, - 444, 445, 1319, 447, 1320, 449, 450, 451, 452, 453, - 454, 455, 456, 457, 1321, 459, 1322, 460, 461, 462, - 463, 1323, 1324, 465, 1325, 467, 468, 469, 470, 0, - 471, 472, 473, 0, 0, 1326, 475, 476, 0, 0, - 477, 478, 479, 480, 481, 482, 1327, 484, 485, 486, + 391, 392, 1301, 1302, 0, 1303, 0, 396, 397, 398, + 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, + 1312, 410, 1313, 412, 413, 414, 415, 416, 417, 418, + 0, 0, 419, 1314, 421, 422, 423, 0, 424, 425, + 426, 1315, 1316, 427, 428, 429, 430, 431, 432, 433, + 434, 435, 436, 1317, 438, 439, 440, 441, 442, 443, + 444, 445, 1318, 447, 1319, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 1320, 459, 1321, 460, 461, 462, + 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, 0, + 471, 472, 473, 0, 0, 1325, 475, 476, 0, 0, + 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, - 496, 497, 498, 1328, 500, 501, 502, 503, 504, 0, + 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, 1329, 517, 518, 519, 0, 520, 521, 522, 523, + 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, - 533, 534, 535, 536, 537, 538, 539, 540, 1330, 542, + 533, 534, 535, 536, 537, 538, 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, - 552, 553, 554, 555, 556, 1331, 557, 558, 559, 560, - 561, 562, 563, 564, 1332, 566, 0, 567, 568, 569, + 552, 553, 554, 555, 556, 1330, 557, 558, 559, 560, + 561, 562, 563, 564, 1331, 566, -2294, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, - 580, 581, 1333, 583, 0, 584, 585, 1334, 0, 586, - 587, 588, 589, 590, 591, 592, 593, 0, 594, 1335, - 1336, 0, 0, 597, 598, 1337, 600, 1338, 1339, 602, - 603, 604, 605, 606, 607, 608, 609, 610, 0, 1340, - 611, 612, 613, 614, 615, 1341, 0, 616, 617, 618, - 619, 620, 621, 1342, 0, 623, 624, 625, 626, 627, + 580, 581, 1332, 583, 0, 584, 585, 1333, 0, 586, + 587, 588, 589, 590, 591, 592, 593, 0, 594, 1334, + 1335, 0, 0, 597, 598, 1336, 600, 1337, 1338, 602, + 603, 604, 605, 606, 607, 608, 609, 610, 0, 1339, + 611, 612, 613, 614, 615, 1340, 0, 616, 617, 618, + 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, - 634, 635, 636, 637, 1343, 1344, 1345, 1346, 642, 1347, - 1348, 1349, 1350, 647, 648, 649, 650, 0, 1351, 0, + 634, 635, 636, 637, 1342, 1343, 1344, 1345, 642, 1346, + 1347, 1348, 1349, 647, 648, 649, 650, 0, 1350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1352, 1353, 0, 0, 0, 234, 0, 1271, 717, 1355, - 1272, 1273, 1274, 778, 1275, 0, 0, 0, 0, 0, + 1351, 1352, 0, 0, 0, 234, 0, 1270, 717, 1354, + 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, - 0, 1276, 0, 0, 247, 248, 249, 0, 250, 251, - 252, 253, 254, 255, 256, 257, 258, 1277, 260, 1278, - 1279, 0, 263, 264, 265, 266, 267, 268, 269, 1280, - 1281, 270, 271, 1282, 1283, 274, 0, 275, 276, 277, - 278, 1284, 0, 1285, 0, 281, 282, 283, 284, 285, + 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, + 252, 253, 254, 255, 256, 257, 258, 1276, 260, 1277, + 1278, 0, 263, 264, 265, 266, 267, 268, 269, 1279, + 1280, 270, 271, 1281, 1282, 274, 0, 275, 276, 277, + 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, - 295, 296, 297, 0, 298, 299, 300, 4880, 1286, 1287, - 1288, 1289, 1290, 1291, 1292, 303, 304, 305, 306, 307, - 308, 1293, 1294, 311, 1295, 312, 0, 313, 314, 315, + 295, 296, 297, 0, 298, 299, 300, 301, 1285, 1286, + 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, + 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, - 0, 324, 325, 887, 327, 328, 0, 329, 330, 331, + 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, - 340, 341, 1296, 343, 344, 345, 346, 1297, 1298, 348, - 0, 349, 350, 351, 1299, 353, 0, 354, 0, 355, + 340, 341, 1295, 343, 344, 345, 346, 1296, 1297, 348, + 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, - 1300, 0, 1301, 366, 367, 0, 368, 369, 370, 371, + 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, + 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, + 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, + 390, 391, 392, 1301, 1302, 0, 1303, 0, 396, 397, + 398, 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, + 1311, 1312, 410, 1313, 412, 413, 414, 415, 416, 417, + 418, 0, 0, 419, 1314, 421, 422, 423, 0, 424, + 425, 426, 1315, 1316, 427, 428, 429, 430, 431, 432, + 433, 434, 435, 436, 1317, 438, 439, 440, 441, 442, + 443, 444, 445, 1318, 447, 1319, 449, 450, 451, 452, + 453, 454, 455, 456, 457, 1320, 459, 1321, 460, 461, + 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, + 0, 471, 472, 473, 0, 0, 1325, 475, 476, 0, + 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, + 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, + 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, + 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, + 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, + 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, + 0, 533, 534, 535, 536, 537, 538, 539, 540, 1329, + 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, + 0, 552, 553, 554, 555, 556, 1330, 557, 558, 559, + 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, + 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, + 579, 580, 581, 1332, 583, 0, 584, 585, 1333, 0, + 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, + 1334, 1335, 0, 0, 597, 598, 1336, 600, 1337, 1338, + 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, + 1339, 611, 612, 613, 614, 615, 1340, 0, 616, 617, + 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, + 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, + 633, 634, 635, 636, 637, 1342, 1343, 1344, 1345, 642, + 1346, 1347, 1348, 1349, 647, 648, 649, 650, 0, 1350, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1351, 1352, 0, 0, 0, 0, 0, 2055, 3271, + 1354, 234, 0, 1270, 717, 0, 1271, 1272, 1273, 778, + 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, + 244, 245, 246, 0, 0, 0, 0, 1275, 0, 0, + 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, + 256, 257, 258, 1276, 260, 1277, 1278, 0, 263, 264, + 265, 266, 267, 268, 269, 1279, 1280, 270, 271, 1281, + 1282, 274, 0, 275, 276, 277, 278, 1283, 0, 1284, + 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, + 298, 299, 300, 301, 1285, 1286, 1287, 1288, 1289, 1290, + 1291, 303, 304, 305, 306, 307, 308, 1292, 1293, 311, + 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, + 0, 320, 321, 322, 323, 0, 0, 324, 325, 888, + 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, + 335, 336, 337, 0, 338, 339, 340, 341, 1295, 343, + 344, 345, 346, 1296, 1297, 348, 0, 349, 350, 351, + 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, + 359, 360, 361, 362, 0, 363, 1299, 0, 1300, 366, + 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, + 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, + 385, 0, 386, 387, 388, 389, 390, 391, 392, 1301, + 1302, 0, 1303, 0, 396, 397, 398, 399, 400, 1304, + 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, 1313, + 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, + 1314, 421, 422, 423, 0, 424, 425, 426, 1315, 1316, + 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, + 1317, 438, 439, 440, 441, 442, 443, 444, 445, 1318, + 447, 1319, 449, 450, 451, 452, 453, 454, 455, 456, + 457, 1320, 459, 1321, 460, 461, 462, 463, 1322, 1323, + 465, 1324, 467, 468, 469, 470, 0, 471, 472, 473, + 0, 0, 1325, 475, 476, 0, 0, 477, 478, 479, + 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, + 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, + 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, 1328, 517, + 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, + 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, + 536, 537, 538, 539, 540, 1329, 542, 543, 544, 545, + 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, + 555, 556, 1330, 557, 558, 559, 560, 561, 562, 563, + 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, + 573, 574, 575, 576, 577, 578, 579, 580, 581, 1332, + 583, 0, 584, 585, 1333, 0, 586, 587, 588, 589, + 590, 591, 592, 593, 0, 594, 1334, 1335, 0, 0, + 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, 605, + 606, 607, 608, 609, 610, 0, 1339, 611, 612, 613, + 614, 615, 1340, 0, 616, 617, 618, 619, 620, 621, + 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, + 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, + 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, 1349, + 647, 648, 649, 650, 0, 1350, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1351, 1352, 1353, + 0, 0, 234, 0, 1270, 717, 1354, 1271, 1272, 1273, + 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, + 2707, 244, 245, 246, 0, 0, 0, 0, 1275, 0, + 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, + 255, 256, 257, 258, 1276, 260, 1277, 1278, 0, 263, + 264, 265, 266, 267, 268, 269, 1279, 1280, 270, 271, + 1281, 1282, 274, 0, 275, 276, 277, 278, 1283, 0, + 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, + 0, 298, 299, 300, 301, 1285, 1286, 1287, 1288, 1289, + 1290, 1291, 303, 304, 305, 306, 307, 308, 1292, 1293, + 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, + 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, + 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, + 334, 335, 336, 337, 0, 338, 339, 340, 341, 1295, + 343, 344, 345, 346, 1296, 1297, 348, 0, 349, 350, + 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, + 358, 359, 360, 361, 362, 0, 363, 1299, 0, 1300, + 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, + 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, + 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, + 1301, 1302, 0, 1303, 0, 396, 397, 398, 399, 400, + 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, + 1313, 412, 413, 414, 415, 416, 417, 418, 0, 0, + 419, 1314, 421, 422, 423, 0, 424, 425, 426, 1315, + 1316, 427, 428, 429, 430, 431, 432, 433, 434, 435, + 436, 1317, 438, 439, 440, 441, 442, 443, 444, 445, + 1318, 447, 1319, 449, 450, 451, 452, 453, 454, 455, + 456, 457, 1320, 459, 1321, 460, 461, 462, 463, 1322, + 1323, 465, 1324, 467, 468, 469, 470, 0, 471, 472, + 473, 0, 0, 1325, 475, 476, 0, 0, 477, 478, + 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, + 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, + 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, 1328, + 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, + 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, + 535, 536, 537, 538, 539, 540, 1329, 542, 543, 544, + 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, + 554, 555, 556, 1330, 557, 558, 559, 560, 561, 562, + 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, + 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, + 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, + 589, 590, 591, 592, 593, 0, 594, 1334, 1335, 0, + 0, 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, + 605, 606, 607, 608, 609, 610, 0, 1339, 611, 612, + 613, 614, 615, 1340, 0, 616, 617, 618, 619, 620, + 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, + 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, + 636, 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, + 1349, 647, 648, 649, 650, 0, 1350, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1351, 1352, + 0, 0, 0, 234, 0, 1270, 717, 1354, 1271, 1272, + 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, + 243, 0, 244, 245, 246, 0, 0, 0, 0, 1275, + 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, + 254, 255, 256, 257, 258, 1276, 260, 1277, 1278, 0, + 263, 264, 265, 266, 267, 268, 269, 1279, 1280, 270, + 271, 1281, 1282, 274, 0, 275, 276, 277, 278, 1283, + 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, + 297, 0, 298, 299, 300, 301, 1285, 1286, 1287, 1288, + 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, 1292, + 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, + 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, + 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, + 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, + 1295, 343, 344, 345, 346, 1296, 1297, 348, 0, 349, + 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, + 0, 358, 359, 360, 361, 362, 0, 363, 1299, 0, + 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, + 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, + 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, + 392, 1301, 1302, 0, 1303, 0, 396, 397, 398, 399, + 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, + 410, 1313, 412, 413, 414, 415, 416, 417, 418, 0, + 0, 419, 1314, 421, 422, 423, 0, 424, 425, 426, + 1315, 1316, 427, 428, 429, 430, 431, 432, 433, 434, + 435, 436, 1317, 438, 439, 440, 441, 442, 443, 444, + 445, 1318, 447, 1319, 449, 450, 451, 452, 453, 454, + 455, 456, 457, 1320, 459, 1321, 460, 461, 462, 463, + 1322, 1323, 465, 1324, 467, 468, 469, 470, 0, 471, + 472, 473, 0, 0, 1325, 475, 476, 0, 0, 477, + 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, + 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, + 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, + 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, + 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, + 525, 526, 527, 528, 529, 530, 531, 532, 3298, 533, + 534, 535, 536, 537, 538, 539, 540, 1329, 542, 543, + 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, + 553, 554, 555, 556, 1330, 557, 558, 559, 560, 561, + 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, + 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, + 581, 1332, 583, 0, 584, 585, 1333, 0, 586, 587, + 588, 589, 590, 591, 592, 593, 0, 594, 1334, 1335, + 0, 0, 597, 598, 1336, 600, 1337, 1338, 602, 603, + 604, 605, 606, 607, 608, 609, 610, 0, 1339, 611, + 612, 613, 614, 615, 1340, 0, 616, 617, 618, 619, + 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, + 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, + 635, 636, 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, + 1348, 1349, 647, 648, 649, 650, 0, 1350, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1351, + 1352, 0, 0, 0, 234, 0, 1270, 717, 1354, 1271, + 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, + 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, + 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, + 253, 254, 255, 256, 257, 258, 1276, 260, 1277, 1278, + 0, 263, 264, 265, 266, 267, 268, 269, 1279, 1280, + 270, 271, 1281, 1282, 274, 0, 275, 276, 277, 278, + 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, + 296, 297, 0, 298, 299, 300, 301, 1285, 1286, 1287, + 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, + 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, + 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, + 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, + 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, + 341, 1295, 343, 344, 345, 346, 1296, 1297, 348, 0, + 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, + 357, 0, 358, 359, 360, 361, 362, 0, 363, 1299, + 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, + 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, + 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, + 391, 392, 1301, 1302, 0, 1303, 0, 396, 397, 398, + 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, + 1312, 410, 1313, 412, 413, 414, 415, 416, 417, 418, + 0, 0, 419, 1314, 421, 422, 423, 0, 424, 425, + 426, 1315, 1316, 427, 428, 429, 430, 431, 432, 433, + 434, 435, 436, 1317, 438, 439, 440, 441, 442, 443, + 444, 445, 1318, 447, 1319, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 1320, 459, 1321, 460, 461, 462, + 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, 0, + 471, 472, 473, 0, 0, 1325, 475, 476, 0, 0, + 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, + 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, + 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, + 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, + 533, 534, 535, 536, 537, 538, 539, 540, 1329, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, + 552, 553, 554, 555, 556, 1330, 557, 558, 559, 560, + 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, + 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, + 580, 581, 1332, 583, 0, 584, 585, 1333, 0, 586, + 587, 588, 589, 590, 591, 592, 593, 0, 594, 1334, + 1335, 0, 0, 597, 598, 1336, 600, 1337, 1338, 602, + 603, 604, 605, 606, 607, 608, 609, 610, 0, 1339, + 611, 612, 613, 614, 615, 1340, 0, 616, 617, 618, + 619, 620, 621, 1341, 3851, 623, 624, 625, 626, 627, + 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, + 634, 635, 636, 637, 1342, 1343, 1344, 1345, 642, 1346, + 1347, 1348, 1349, 647, 648, 649, 650, 0, 1350, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1351, 1352, 0, 0, 0, 234, 0, 1270, 717, 1354, + 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, + 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, + 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, + 252, 253, 254, 255, 256, 257, 258, 1276, 260, 1277, + 1278, 0, 263, 264, 265, 266, 267, 268, 269, 1279, + 1280, 270, 271, 1281, 1282, 274, 0, 275, 276, 277, + 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, + 295, 296, 297, 0, 298, 299, 300, 301, 1285, 1286, + 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, + 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, + 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, + 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, + 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, + 340, 341, 1295, 343, 344, 345, 346, 1296, 1297, 348, + 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, + 356, 357, 3344, 358, 359, 360, 361, 362, 0, 363, + 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, - 390, 391, 392, 1302, 1303, 0, 1304, 0, 396, 397, - 398, 399, 400, 1305, 1306, 1307, 1308, 1309, 1310, 1311, - 1312, 1313, 410, 1314, 412, 413, 414, 415, 416, 417, - 418, 0, 0, 419, 1315, 421, 422, 423, 0, 424, - 425, 426, 1316, 1317, 427, 428, 429, 430, 431, 432, - 433, 434, 435, 436, 1318, 438, 439, 440, 441, 442, - 443, 444, 445, 1319, 447, 1320, 449, 450, 451, 452, - 453, 454, 455, 456, 457, 1321, 459, 1322, 460, 461, - 462, 463, 1323, 1324, 465, 1325, 467, 468, 469, 470, - 0, 471, 472, 473, 0, 0, 1326, 475, 476, 0, - 0, 477, 478, 479, 480, 481, 482, 1327, 484, 485, + 390, 391, 392, 1301, 1302, 0, 1303, 0, 396, 397, + 398, 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, + 1311, 1312, 410, 1313, 412, 413, 414, 415, 416, 417, + 418, 0, 0, 419, 1314, 421, 422, 423, 0, 424, + 425, 426, 1315, 1316, 427, 428, 429, 430, 431, 432, + 433, 434, 435, 436, 1317, 438, 439, 440, 441, 442, + 443, 444, 445, 1318, 447, 1319, 449, 450, 451, 452, + 453, 454, 455, 456, 457, 1320, 459, 1321, 460, 461, + 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, + 0, 471, 472, 473, 0, 0, 1325, 475, 476, 0, + 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, - 0, 496, 497, 498, 1328, 500, 501, 502, 503, 504, + 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, 1329, 517, 518, 519, 0, 520, 521, 522, + 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, - 0, 533, 534, 535, 536, 537, 538, 539, 540, 1330, + 0, 533, 534, 535, 536, 537, 538, 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, - 0, 552, 553, 554, 555, 556, 1331, 557, 558, 559, - 560, 561, 562, 563, 564, 1332, 566, 0, 567, 568, + 0, 552, 553, 554, 555, 556, 1330, 557, 558, 559, + 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, - 579, 580, 581, 1333, 583, 0, 584, 585, 1334, 0, + 579, 580, 581, 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, - 1335, 1336, 0, 0, 597, 598, 1337, 600, 1338, 1339, + 1334, 1335, 0, 0, 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, - 1340, 611, 612, 613, 614, 615, 1341, 0, 616, 617, - 618, 619, 620, 621, 1342, 0, 623, 624, 625, 626, + 1339, 611, 612, 613, 614, 615, 1340, 0, 616, 617, + 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, - 633, 634, 635, 636, 637, 1343, 1344, 1345, 1346, 642, - 1347, 1348, 1349, 1350, 647, 648, 649, 650, 0, 1351, + 633, 634, 635, 636, 637, 1342, 1343, 1344, 1345, 642, + 1346, 1347, 1348, 1349, 647, 648, 649, 650, 0, 1350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1352, 1353, 0, 0, 0, 234, 0, 1271, 717, - 1355, 1272, 1273, 1274, 778, 1275, 0, 0, 0, 0, + 0, 1351, 1352, 0, 0, 0, 234, 0, 1270, 717, + 1354, 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, - 0, 0, 1276, 0, 0, 247, 248, 249, 0, 250, - 251, 252, 253, 254, 255, 256, 257, 258, 1277, 260, - 1278, 1279, 0, 263, 264, 265, 266, 267, 268, 269, - 1280, 1281, 270, 271, 1282, 1283, 274, 0, 275, 276, - 277, 278, 1284, 0, 1285, 0, 281, 282, 283, 284, + 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 254, 255, 256, 257, 258, 1276, 260, + 1277, 1278, 0, 263, 264, 265, 266, 267, 268, 269, + 1279, 1280, 270, 271, 1281, 1282, 274, 0, 275, 276, + 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, - 294, 295, 296, 297, 0, 298, 299, 300, 301, 1286, - 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, 305, 306, - 307, 308, 1293, 1294, 311, 1295, 312, 0, 313, 314, + 294, 295, 296, 297, 0, 298, 299, 300, 301, 1285, + 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, + 307, 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, - 0, 0, 324, 325, 887, 327, 328, 0, 329, 330, + 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, - 339, 340, 341, 1296, 343, 344, 345, 346, 1297, 1298, - 348, 0, 349, 350, 351, 1299, 353, 0, 354, 0, + 339, 340, 341, 1295, 343, 344, 345, 346, 1296, 1297, + 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, - 363, 1300, 0, 1301, 366, 367, 0, 368, 369, 370, + 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, - 389, 390, 391, 392, 1302, 1303, 0, 1304, 0, 396, - 397, 398, 399, 400, 1305, 1306, 1307, 1308, 1309, 1310, - 1311, 1312, 1313, 410, 1314, 412, 413, 414, 415, 416, - 417, 418, 0, 0, 419, 1315, 421, 422, 423, 0, - 424, 425, 426, 1316, 1317, 427, 428, 429, 430, 431, - 432, 433, 434, 435, 436, 1318, 438, 439, 440, 441, - 442, 443, 444, 445, 1319, 447, 1320, 449, 450, 451, - 452, 453, 454, 455, 456, 457, 1321, 459, 1322, 460, - 461, 462, 463, 1323, 1324, 465, 1325, 467, 468, 469, - 470, 0, 471, 472, 473, 0, 0, 1326, 475, 476, - 0, 0, 477, 478, 479, 480, 481, 482, 1327, 484, + 389, 390, 391, 392, 1301, 1302, 0, 1303, 0, 396, + 397, 398, 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, + 1310, 1311, 1312, 410, 1313, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 1314, 421, 422, 423, 0, + 424, 425, 426, 1315, 1316, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 1317, 438, 439, 440, 441, + 442, 443, 444, 445, 1318, 447, 1319, 449, 450, 451, + 452, 453, 454, 455, 456, 457, 1320, 459, 1321, 460, + 461, 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 1325, 475, 476, + 0, 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, - 495, 0, 496, 497, 498, 1328, 500, 501, 502, 503, + 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 1329, 517, 518, 519, 0, 520, 521, + 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, - 1330, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 0, 552, 553, 554, 555, 556, 1331, 557, 558, - 559, 560, 561, 562, 563, 564, 1332, 566, 0, 567, + 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 1330, 557, 558, + 559, 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, - 578, 579, 580, 581, 1333, 583, 0, 584, 585, 1334, + 578, 579, 580, 581, 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, - 594, 1335, 1336, 0, 0, 597, 598, 1337, 600, 1338, - 1339, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 0, 1340, 611, 612, 613, 614, 615, 1341, 0, 616, - 617, 618, 619, 620, 621, 1342, 0, 623, 624, 625, + 594, 1334, 1335, 3401, 0, 597, 598, 1336, 600, 1337, + 1338, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 1339, 611, 612, 613, 614, 615, 1340, 0, 616, + 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, - 632, 633, 634, 635, 636, 5267, 1343, 1344, 1345, 1346, - 642, 1347, 1348, 1349, 1350, 647, 648, 649, 650, 0, - 1351, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1352, 1353, 0, 0, 0, 234, 0, 1271, - 717, 1355, 1272, 1273, 1274, 778, 1275, 0, 0, 0, + 632, 633, 634, 635, 636, 637, 1342, 1343, 1344, 1345, + 642, 1346, 1347, 1348, 1349, 647, 648, 649, 650, 0, + 1350, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1351, 1352, 0, 0, 0, 234, 0, 1270, + 717, 1354, 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, - 0, 0, 0, 1276, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 254, 255, 256, 257, 258, 1277, - 260, 1278, 1279, 0, 263, 264, 265, 266, 267, 268, - 269, 1280, 1281, 270, 271, 1282, 1283, 274, 0, 275, - 276, 277, 278, 1284, 0, 1285, 0, 281, 282, 283, + 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, + 250, 251, 252, 253, 254, 255, 256, 257, 258, 1276, + 260, 1277, 1278, 0, 263, 264, 265, 266, 267, 268, + 269, 1279, 1280, 270, 271, 1281, 1282, 274, 0, 275, + 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, - 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, 305, - 306, 307, 308, 1293, 1294, 311, 1295, 312, 0, 313, + 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, 305, + 306, 307, 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, - 323, 0, 0, 324, 325, 887, 327, 328, 0, 329, + 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, - 338, 339, 340, 341, 1296, 343, 344, 345, 346, 1297, - 1298, 348, 0, 349, 350, 351, 1299, 353, 0, 354, + 338, 339, 340, 341, 1295, 343, 344, 345, 346, 1296, + 1297, 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, - 0, 363, 1300, 0, 1301, 366, 367, 0, 368, 369, + 0, 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, - 388, 389, 390, 391, 392, 1302, 1303, 0, 1304, 0, - 396, 397, 398, 399, 400, 1305, 1306, 1307, 1308, 1309, - 1310, 1311, 1312, 1313, 410, 1314, 412, 413, 414, 415, - 416, 417, 418, 0, 0, 419, 1315, 421, 422, 423, - 0, 424, 425, 426, 1316, 1317, 427, 428, 429, 430, - 431, 432, 433, 434, 435, 436, 1318, 438, 439, 440, - 441, 442, 443, 444, 445, 1319, 447, 1320, 449, 450, - 451, 452, 453, 454, 455, 5279, 457, 1321, 459, 1322, - 460, 461, 462, 463, 1323, 1324, 465, 1325, 467, 468, - 469, 470, 0, 471, 472, 473, 0, 0, 1326, 475, - 476, 0, 0, 477, 478, 479, 480, 481, 482, 1327, + 388, 389, 390, 391, 392, 1301, 1302, 0, 1303, 0, + 396, 397, 398, 399, 400, 1304, 1305, 1306, 1307, 1308, + 1309, 1310, 1311, 1312, 410, 1313, 412, 413, 414, 415, + 416, 417, 418, 0, 0, 419, 1314, 421, 422, 423, + 0, 424, 425, 426, 1315, 1316, 427, 428, 429, 430, + 431, 432, 433, 434, 435, 436, 1317, 438, 439, 440, + 441, 442, 443, 444, 445, 1318, 447, 1319, 449, 450, + 451, 452, 453, 454, 455, 456, 457, 1320, 459, 1321, + 460, 461, 462, 463, 1322, 1323, 465, 1324, 467, 468, + 469, 470, 0, 471, 472, 473, 0, 0, 1325, 475, + 476, 0, 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 0, 496, 497, 498, 1328, 500, 501, 502, + 494, 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 1329, 517, 518, 519, 0, 520, + 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, - 540, 1330, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 0, 552, 553, 554, 555, 556, 1331, 557, - 558, 559, 560, 561, 562, 563, 564, 1332, 566, 0, + 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, + 550, 551, 0, 552, 553, 554, 555, 556, 1330, 557, + 558, 559, 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, - 577, 578, 579, 580, 581, 1333, 583, 0, 584, 585, - 1334, 0, 586, 587, 588, 589, 590, 591, 592, 593, - 0, 594, 1335, 1336, 0, 0, 597, 598, 1337, 600, - 1338, 1339, 602, 603, 604, 605, 606, 607, 608, 609, - 610, 0, 1340, 611, 612, 613, 614, 615, 1341, 0, - 616, 617, 618, 619, 620, 621, 1342, 0, 623, 624, + 577, 578, 579, 580, 581, 1332, 583, 0, 584, 585, + 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, + 0, 594, 1334, 1335, 0, 0, 597, 598, 1336, 600, + 1337, 1338, 602, 603, 604, 605, 606, 607, 608, 609, + 610, 0, 1339, 611, 612, 613, 614, 615, 1340, 0, + 616, 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, - 631, 632, 633, 634, 635, 636, 637, 1343, 1344, 1345, - 1346, 642, 1347, 1348, 1349, 1350, 647, 648, 649, 650, - 0, 1351, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1352, 1353, 0, 0, 0, 234, 0, - 1271, 717, 1355, 1272, 1273, 1274, 778, 1275, 0, 0, + 631, 632, 633, 634, 635, 636, 637, 1342, 1343, 1344, + 1345, 642, 1346, 1347, 1348, 1349, 647, 648, 649, 650, + 0, 1350, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1351, 1352, 0, 0, 0, 234, 0, + 1270, 717, 1354, 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, - 0, 0, 0, 0, 1276, 0, 0, 247, 248, 249, + 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, - 1277, 260, 1278, 1279, 0, 263, 264, 265, 266, 267, - 268, 269, 1280, 1281, 270, 271, 1282, 1283, 274, 0, - 275, 276, 277, 278, 1284, 0, 1285, 0, 281, 282, + 1276, 260, 1277, 1278, 0, 263, 264, 265, 266, 267, + 268, 269, 1279, 1280, 270, 271, 1281, 1282, 274, 0, + 275, 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, - 292, 293, 294, 295, 296, 297, 0, 298, 299, 5623, - 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, - 305, 306, 307, 308, 1293, 1294, 311, 1295, 312, 0, + 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, + 301, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, + 305, 306, 307, 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, - 322, 323, 0, 0, 324, 325, 887, 327, 328, 0, + 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, - 0, 338, 339, 340, 341, 1296, 343, 344, 345, 346, - 1297, 1298, 348, 0, 349, 350, 351, 1299, 353, 0, + 0, 338, 339, 340, 341, 1295, 343, 344, 345, 346, + 1296, 1297, 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, - 362, 0, 363, 1300, 0, 5624, 366, 367, 0, 368, + 362, 0, 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, - 387, 388, 389, 390, 391, 392, 1302, 1303, 0, 1304, - 0, 396, 397, 398, 399, 400, 1305, 1306, 1307, 1308, - 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, 413, 414, - 415, 416, 417, 418, 0, 0, 419, 1315, 421, 422, - 423, 0, 424, 425, 426, 1316, 1317, 427, 428, 429, - 430, 431, 432, 433, 434, 435, 436, 1318, 438, 439, - 440, 441, 442, 443, 444, 445, 1319, 447, 1320, 449, - 450, 451, 452, 453, 454, 455, 456, 457, 1321, 459, - 1322, 460, 461, 462, 463, 1323, 1324, 465, 1325, 467, - 468, 469, 470, 0, 471, 472, 473, 0, 0, 1326, + 387, 388, 389, 390, 391, 392, 1301, 1302, 0, 1303, + 0, 396, 397, 398, 399, 400, 1304, 1305, 1306, 1307, + 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, 413, 414, + 415, 416, 417, 418, 0, 0, 419, 1314, 421, 422, + 423, 0, 424, 425, 426, 1315, 1316, 427, 428, 429, + 430, 431, 432, 433, 434, 435, 436, 1317, 438, 439, + 440, 441, 442, 443, 444, 445, 1318, 447, 1319, 449, + 450, 451, 452, 453, 454, 455, 456, 457, 1320, 459, + 1321, 460, 461, 462, 463, 1322, 1323, 465, 1324, 467, + 468, 469, 470, 0, 471, 472, 473, 0, 0, 1325, 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, - 1327, 484, 485, 486, 487, 488, 489, 490, 491, 492, - 493, 494, 495, 0, 496, 497, 498, 1328, 500, 501, + 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, + 493, 494, 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, - 511, 512, 513, 514, 515, 1329, 517, 518, 519, 0, + 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, - 530, 531, 532, 0, 533, 534, 535, 536, 537, 5625, - 539, 540, 1330, 542, 543, 544, 545, 546, 547, 548, - 549, 550, 551, 0, 552, 553, 554, 555, 556, 1331, - 557, 558, 559, 560, 561, 562, 563, 564, 1332, 566, + 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, + 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, + 549, 550, 551, 0, 552, 553, 554, 555, 556, 1330, + 557, 558, 559, 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, - 576, 577, 578, 579, 580, 581, 1333, 583, 0, 584, - 585, 1334, 0, 586, 587, 588, 589, 590, 591, 592, - 593, 0, 594, 1335, 1336, 0, 0, 597, 598, 1337, - 600, 1338, 1339, 602, 603, 604, 605, 606, 607, 608, - 609, 610, 0, 1340, 611, 612, 613, 614, 615, 1341, - 0, 616, 617, 618, 619, 620, 621, 1342, 0, 623, + 576, 577, 578, 579, 580, 581, 1332, 583, 0, 584, + 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, + 593, 0, 594, 1334, 1335, 0, 0, 597, 598, 1336, + 600, 1337, 1338, 602, 603, 604, 605, 606, 607, 608, + 609, 610, 0, 1339, 611, 612, 613, 614, 615, 1340, + 0, 616, 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, - 0, 631, 632, 633, 634, 635, 636, 637, 1343, 1344, - 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, 648, 649, - 650, 0, 1351, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1352, 1353, 0, 0, 0, 234, - 0, 1271, 717, 5626, 1272, 1273, 1274, 778, 1275, 0, + 0, 631, 632, 633, 634, 635, 636, 637, 1342, 1343, + 1344, 1345, 642, 1346, 1347, 1348, 1349, 647, 648, 649, + 650, 0, 1350, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 2710, 2711, 0, 0, 0, 234, + 0, 3520, 717, 1354, 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, - 246, 0, 0, 0, 0, 1276, 0, 0, 247, 248, + 246, 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, - 6045, 1277, 260, 1278, 1279, 0, 263, 264, 265, 266, - 267, 268, 269, 1280, 1281, 270, 271, 1282, 1283, 274, - 0, 275, 276, 277, 278, 1284, 0, 1285, 0, 281, + 258, 1276, 260, 1277, 1278, 0, 263, 264, 265, 266, + 267, 268, 269, 1279, 1280, 270, 271, 1281, 1282, 274, + 0, 275, 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, - 300, 6046, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, - 304, 305, 306, 307, 308, 1293, 1294, 311, 1295, 312, + 300, 301, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, + 304, 305, 306, 307, 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, - 321, 322, 323, 0, 0, 324, 325, 887, 327, 328, + 321, 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, - 337, 0, 338, 339, 340, 341, 1296, 343, 344, 345, - 346, 1297, 1298, 348, 0, 349, 350, 351, 1299, 353, + 337, 0, 338, 339, 340, 341, 1295, 343, 344, 345, + 346, 1296, 1297, 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, - 361, 362, 0, 363, 1300, 0, 1301, 366, 367, 0, + 361, 362, 0, 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, - 386, 387, 388, 389, 390, 391, 392, 1302, 1303, 0, - 1304, 0, 396, 397, 398, 399, 400, 1305, 1306, 1307, - 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, 413, - 414, 415, 416, 417, 418, 0, 0, 419, 1315, 421, - 422, 423, 0, 424, 425, 426, 1316, 1317, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 1318, 438, - 439, 440, 441, 442, 443, 444, 445, 1319, 447, 1320, - 449, 450, 451, 452, 453, 454, 455, 456, 457, 1321, - 459, 1322, 460, 461, 462, 463, 1323, 1324, 465, 1325, + 386, 387, 388, 389, 390, 391, 392, 1301, 1302, 0, + 1303, 0, 396, 397, 398, 399, 400, 1304, 1305, 1306, + 1307, 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, 413, + 414, 415, 416, 417, 418, 0, 0, 419, 1314, 421, + 422, 423, 0, 424, 425, 426, 1315, 1316, 427, 428, + 429, 430, 431, 432, 433, 434, 435, 436, 1317, 438, + 439, 440, 441, 442, 443, 444, 445, 1318, 447, 1319, + 449, 450, 451, 452, 453, 454, 455, 456, 457, 1320, + 459, 1321, 460, 461, 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, - 1326, 475, 476, 0, 0, 477, 478, 479, 480, 481, - 482, 1327, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 0, 496, 497, 498, 1328, 500, + 1325, 475, 476, 0, 0, 477, 478, 479, 480, 481, + 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, + 492, 493, 494, 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 1329, 517, 518, 519, + 510, 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, - 538, 539, 540, 1330, 542, 543, 544, 545, 546, 547, + 538, 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, - 1331, 557, 558, 559, 560, 561, 562, 563, 564, 1332, + 1330, 557, 558, 559, 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, - 575, 576, 577, 578, 579, 580, 581, 1333, 583, 0, - 584, 585, 1334, 0, 586, 587, 588, 589, 590, 591, - 592, 593, 0, 594, 1335, 1336, 0, 0, 597, 598, - 1337, 600, 1338, 1339, 602, 603, 604, 605, 606, 6047, - 608, 609, 610, 0, 1340, 611, 612, 613, 614, 615, - 1341, 0, 616, 617, 618, 619, 620, 621, 1342, 0, + 575, 576, 577, 578, 579, 580, 581, 1332, 583, 0, + 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, + 592, 593, 0, 594, 1334, 1335, 0, 0, 597, 598, + 1336, 600, 1337, 1338, 602, 603, 604, 605, 606, 607, + 608, 609, 610, 0, 1339, 611, 612, 613, 614, 615, + 1340, 0, 616, 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, - 0, 0, 631, 632, 633, 634, 635, 636, 637, 1343, - 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, 648, - 649, 650, 0, 1351, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1352, 1353, 0, 0, 0, - 234, 0, 1271, 717, 1355, 1272, 1273, 1274, 778, 1275, + 0, 0, 631, 632, 633, 634, 635, 636, 637, 1342, + 1343, 1344, 1345, 642, 1346, 1347, 1348, 1349, 647, 648, + 649, 650, 0, 1350, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1351, 1352, 0, 0, 0, + 234, 0, 1270, 717, 1354, 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, - 245, 246, 0, 0, 0, 0, 1276, 0, 0, 247, + 245, 246, 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, - 257, 258, 1277, 260, 1278, 1279, 0, 263, 264, 265, - 266, 267, 268, 269, 1280, 1281, 270, 271, 1282, 1283, - 274, 0, 275, 276, 277, 278, 1284, 0, 1285, 0, + 257, 258, 1276, 260, 1277, 1278, 0, 263, 264, 265, + 266, 267, 268, 269, 1279, 1280, 270, 271, 1281, 1282, + 274, 0, 275, 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, - 299, 300, 6046, 1286, 1287, 1288, 1289, 1290, 1291, 1292, - 303, 304, 305, 306, 307, 308, 1293, 1294, 311, 1295, + 299, 300, 4880, 1285, 1286, 1287, 1288, 1289, 1290, 1291, + 303, 304, 305, 306, 307, 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, - 320, 321, 322, 323, 0, 0, 324, 325, 887, 327, + 320, 321, 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, - 336, 337, 0, 338, 339, 340, 341, 1296, 343, 344, - 345, 346, 1297, 1298, 348, 0, 349, 350, 351, 1299, + 336, 337, 0, 338, 339, 340, 341, 1295, 343, 344, + 345, 346, 1296, 1297, 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, - 360, 361, 362, 0, 363, 1300, 0, 1301, 366, 367, + 360, 361, 362, 0, 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, - 0, 386, 387, 388, 389, 390, 391, 392, 1302, 1303, - 0, 1304, 0, 396, 397, 398, 399, 400, 1305, 1306, - 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, - 413, 414, 415, 416, 417, 418, 0, 0, 419, 1315, - 421, 422, 423, 0, 424, 425, 426, 1316, 1317, 427, - 428, 429, 430, 431, 432, 433, 434, 435, 436, 1318, - 438, 439, 440, 441, 442, 443, 444, 445, 1319, 447, - 1320, 449, 450, 451, 452, 453, 454, 455, 456, 457, - 1321, 459, 1322, 460, 461, 462, 463, 1323, 1324, 465, - 1325, 467, 468, 469, 470, 0, 471, 472, 473, 0, - 0, 1326, 475, 476, 0, 0, 477, 478, 479, 480, - 481, 482, 1327, 484, 485, 486, 487, 488, 489, 490, - 491, 492, 493, 494, 495, 0, 496, 497, 498, 1328, + 0, 386, 387, 388, 389, 390, 391, 392, 1301, 1302, + 0, 1303, 0, 396, 397, 398, 399, 400, 1304, 1305, + 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, + 413, 414, 415, 416, 417, 418, 0, 0, 419, 1314, + 421, 422, 423, 0, 424, 425, 426, 1315, 1316, 427, + 428, 429, 430, 431, 432, 433, 434, 435, 436, 1317, + 438, 439, 440, 441, 442, 443, 444, 445, 1318, 447, + 1319, 449, 450, 451, 452, 453, 454, 455, 456, 457, + 1320, 459, 1321, 460, 461, 462, 463, 1322, 1323, 465, + 1324, 467, 468, 469, 470, 0, 471, 472, 473, 0, + 0, 1325, 475, 476, 0, 0, 477, 478, 479, 480, + 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, + 491, 492, 493, 494, 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, - 509, 510, 511, 512, 513, 514, 515, 1329, 517, 518, + 509, 510, 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, - 537, 538, 539, 540, 1330, 542, 543, 544, 545, 546, + 537, 538, 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, - 556, 1331, 557, 558, 559, 560, 561, 562, 563, 564, - 1332, 566, 0, 567, 568, 569, 570, 571, 572, 573, - 574, 575, 576, 577, 578, 579, 580, 581, 1333, 583, - 0, 584, 585, 1334, 0, 586, 587, 588, 589, 590, - 591, 592, 593, 0, 594, 1335, 1336, 0, 0, 597, - 598, 1337, 600, 1338, 1339, 602, 603, 604, 605, 606, - 6047, 608, 609, 610, 0, 1340, 611, 612, 613, 614, - 615, 1341, 0, 616, 617, 618, 619, 620, 621, 1342, + 556, 1330, 557, 558, 559, 560, 561, 562, 563, 564, + 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, + 574, 575, 576, 577, 578, 579, 580, 581, 1332, 583, + 0, 584, 585, 1333, 0, 586, 587, 588, 589, 590, + 591, 592, 593, 0, 594, 1334, 1335, 0, 0, 597, + 598, 1336, 600, 1337, 1338, 602, 603, 604, 605, 606, + 607, 608, 609, 610, 0, 1339, 611, 612, 613, 614, + 615, 1340, 0, 616, 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, - 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, - 648, 649, 650, 0, 1351, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1352, 1353, 0, 0, - 0, 234, 0, 1271, 717, 1355, 1272, 1273, 1274, 778, - 1275, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, 1349, 647, + 648, 649, 650, 0, 1350, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1351, 1352, 0, 0, + 0, 234, 0, 1270, 717, 1354, 1271, 1272, 1273, 778, + 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, - 244, 245, 246, 0, 0, 0, 0, 1276, 0, 0, + 244, 245, 246, 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 258, 1277, 260, 1278, 1279, 0, 263, 264, - 265, 266, 267, 268, 269, 1280, 1281, 270, 271, 1282, - 1283, 274, 0, 275, 276, 277, 278, 1284, 0, 1285, + 256, 257, 258, 1276, 260, 1277, 1278, 0, 263, 264, + 265, 266, 267, 268, 269, 1279, 1280, 270, 271, 1281, + 1282, 274, 0, 275, 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, - 1292, 303, 304, 305, 306, 307, 308, 1293, 1294, 311, - 5608, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 887, + 298, 299, 300, 301, 1285, 1286, 1287, 1288, 1289, 1290, + 1291, 303, 304, 305, 306, 307, 308, 1292, 1293, 311, + 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, + 0, 320, 321, 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 1296, 343, - 344, 345, 346, 1297, 1298, 348, 0, 349, 350, 351, - 1299, 353, 0, 354, 0, 355, 356, 357, 0, 358, - 359, 360, 361, 362, 0, 363, 1300, 0, 1301, 366, + 335, 336, 337, 0, 338, 339, 340, 341, 1295, 343, + 344, 345, 346, 1296, 1297, 348, 0, 349, 350, 351, + 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, + 359, 360, 361, 362, 0, 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 388, 389, 390, 391, 392, 1302, - 1303, 0, 1304, 0, 396, 397, 398, 399, 400, 1305, - 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, + 385, 0, 386, 387, 388, 389, 390, 391, 392, 1301, + 1302, 0, 1303, 0, 396, 397, 398, 399, 400, 1304, + 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 1315, 421, 422, 423, 0, 424, 425, 426, 1316, 1317, + 1314, 421, 422, 423, 0, 424, 425, 426, 1315, 1316, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 1318, 438, 439, 440, 441, 442, 443, 444, 445, 1319, - 447, 1320, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 1321, 459, 0, 460, 461, 462, 463, 1323, 1324, - 465, 1325, 467, 468, 469, 470, 0, 471, 472, 473, - 0, 0, 1326, 475, 476, 0, 0, 477, 478, 479, - 480, 481, 482, 1327, 484, 485, 486, 487, 488, 489, + 1317, 438, 439, 440, 441, 442, 443, 444, 445, 1318, + 447, 1319, 449, 450, 451, 452, 453, 454, 455, 456, + 457, 1320, 459, 1321, 460, 461, 462, 463, 1322, 1323, + 465, 1324, 467, 468, 469, 470, 0, 471, 472, 473, + 0, 0, 1325, 475, 476, 0, 0, 477, 478, 479, + 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 1328, 500, 501, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 1329, 517, + 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, - 536, 537, 538, 539, 540, 3328, 542, 543, 544, 545, + 536, 537, 538, 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 1331, 557, 558, 559, 560, 561, 562, 563, - 564, 1332, 566, 0, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 1333, - 583, 0, 584, 585, 1334, 0, 586, 587, 588, 589, - 590, 591, 592, 593, 0, 594, 1335, 1336, 0, 0, - 597, 598, 1337, 600, 1338, 1339, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, - 614, 615, 1341, 0, 616, 617, 618, 619, 620, 621, - 1342, 0, 623, 624, 625, 626, 627, 628, 629, 0, + 555, 556, 1330, 557, 558, 559, 560, 561, 562, 563, + 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, + 573, 574, 575, 576, 577, 578, 579, 580, 581, 1332, + 583, 0, 584, 585, 1333, 0, 586, 587, 588, 589, + 590, 591, 592, 593, 0, 594, 1334, 1335, 0, 0, + 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, 605, + 606, 607, 608, 609, 610, 0, 1339, 611, 612, 613, + 614, 615, 1340, 0, 616, 617, 618, 619, 620, 621, + 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, - 647, 648, 649, 650, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 3329, 3330, 0, - 0, 0, 234, 0, 1271, 717, 3331, 1272, 1273, 1274, - 778, 1275, 0, 0, 0, 0, 0, 0, 0, 0, + 5267, 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, 1349, + 647, 648, 649, 650, 0, 1350, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1351, 1352, 0, + 0, 0, 234, 0, 1270, 717, 1354, 1271, 1272, 1273, + 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 0, 244, 245, 246, 0, 0, 0, 0, 1276, 0, + 0, 244, 245, 246, 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, - 255, 256, 257, -3025, 1277, 260, 1278, 1279, 0, 263, - 264, 265, 266, 267, 268, 269, 1280, 1281, 270, 271, - 1282, 1283, 274, 0, 275, 276, 277, 278, 1284, 0, - 1285, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 255, 256, 257, 258, 1276, 260, 1277, 1278, 0, 263, + 264, 265, 266, 267, 268, 269, 1279, 1280, 270, 271, + 1281, 1282, 274, 0, 275, 276, 277, 278, 1283, 0, + 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, - 0, 298, 299, 300, 6046, 1286, 1287, 1288, 1289, 1290, - 1291, 1292, 303, 304, 305, 306, 307, 308, 1293, 1294, - 311, 1295, 312, 0, 313, 314, 315, 316, 317, 318, + 0, 298, 299, 300, 301, 1285, 1286, 1287, 1288, 1289, + 1290, 1291, 303, 304, 305, 306, 307, 308, 1292, 1293, + 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, - 887, 327, 328, 0, 329, 330, 331, 332, 0, 333, - 334, 335, 336, 337, 0, 338, 339, 340, 341, 1296, - 343, 344, 345, 346, 1297, 1298, 348, 0, 349, 350, - 351, 1299, 353, 0, 354, 0, 355, 356, 357, 0, - 358, 359, 360, 361, 362, 0, 363, 1300, 0, 1301, - 366, 367, 0, 368, 369, 370, 371, 372, -3025, 374, + 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, + 334, 335, 336, 337, 0, 338, 339, 340, 341, 1295, + 343, 344, 345, 346, 1296, 1297, 348, 0, 349, 350, + 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, + 358, 359, 360, 361, 362, 0, 363, 1299, 0, 1300, + 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, - 1302, 1303, 0, 1304, 0, 396, 0, 0, 399, 400, - 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, - 1314, 412, 413, 414, 415, 416, 417, 418, 0, 0, - 419, 1315, 421, 422, -3025, 0, 424, 425, 426, 1316, - 1317, 427, 428, 429, 430, 431, 432, 433, 434, 435, - 436, 1318, 438, 439, 440, 441, 442, 443, 444, 445, - 1319, 447, 1320, 449, 450, 451, 452, 453, 454, 455, - 456, 457, 1321, 459, 1322, 460, 461, 0, 463, 1323, - 1324, 465, 1325, 467, 468, 469, 470, 0, 471, 472, - 473, 0, 0, 1326, 475, 476, 0, 0, 477, 478, - 479, 480, 481, 482, 1327, 484, 485, 486, 487, 488, + 1301, 1302, 0, 1303, 0, 396, 397, 398, 399, 400, + 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, + 1313, 412, 413, 414, 415, 416, 417, 418, 0, 0, + 419, 1314, 421, 422, 423, 0, 424, 425, 426, 1315, + 1316, 427, 428, 429, 430, 431, 432, 433, 434, 435, + 436, 1317, 438, 439, 440, 441, 442, 443, 444, 445, + 1318, 447, 1319, 449, 450, 451, 452, 453, 454, 455, + 5279, 457, 1320, 459, 1321, 460, 461, 462, 463, 1322, + 1323, 465, 1324, 467, 468, 469, 470, 0, 471, 472, + 473, 0, 0, 1325, 475, 476, 0, 0, 477, 478, + 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, - 498, 1328, 500, 501, 502, 503, 504, 0, 505, 506, - 507, 508, 509, 510, 511, 512, 513, 514, 515, 1329, + 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, - 535, 536, 537, 538, 539, 540, 1330, 542, 543, 544, + 535, 536, 537, 538, 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, - 554, 555, 556, 1331, 557, 558, 559, 560, 561, -3025, - 563, 564, 1332, 566, 0, 567, 568, 569, 570, 571, + 554, 555, 556, 1330, 557, 558, 559, 560, 561, 562, + 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, - 1333, 583, 0, 584, 585, 1334, 0, 586, 587, 588, - 589, 590, 591, 592, 593, 0, 594, 1335, 1336, 0, - 0, 597, 598, 1337, 600, 1338, 1339, 602, 603, 604, - 605, 606, 6047, 608, 609, 610, 0, 1340, 611, 612, - 613, 614, 615, 1341, 0, 616, 617, 618, 619, 620, - 621, 1342, 0, 623, 624, 625, 626, 627, 628, 629, + 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, + 589, 590, 591, 592, 593, 0, 594, 1334, 1335, 0, + 0, 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, + 605, 606, 607, 608, 609, 610, 0, 1339, 611, 612, + 613, 614, 615, 1340, 0, 616, 617, 618, 619, 620, + 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, - 636, 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, - 1350, 647, 648, 649, 650, 0, -3025, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1352, 1353, - 0, 0, 0, 234, 0, 1271, 717, 1355, 1272, 1273, - 1274, 778, 1275, 0, 0, 0, 0, 0, 0, 0, + 636, 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, + 1349, 647, 648, 649, 650, 0, 1350, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1351, 1352, + 0, 0, 0, 234, 0, 1270, 717, 1354, 1271, 1272, + 1273, 778, 1274, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 0, 244, 245, 246, 0, 0, 0, 0, 1276, + 243, 0, 244, 245, 246, 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, - 254, 255, 256, 257, 258, 1277, 260, 1278, 1279, 0, - 263, 264, 265, 266, 267, 268, 269, 1280, 1281, 270, - 271, 1282, 1283, 274, 0, 275, 276, 277, 278, 1284, - 0, 1285, 0, 281, 282, 283, 284, 285, 286, 287, + 254, 255, 256, 257, 258, 1276, 260, 1277, 1278, 0, + 263, 264, 265, 266, 267, 268, 269, 1279, 1280, 270, + 271, 1281, 1282, 274, 0, 275, 276, 277, 278, 1283, + 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, - 297, 0, 298, 299, 300, 301, 1286, 1287, 1288, 1289, - 1290, 1291, 1292, 303, 304, 305, 306, 307, 308, 1293, - 1294, 311, 0, 312, 0, 313, 314, 315, 316, 317, + 297, 0, 298, 299, 5623, 301, 1285, 1286, 1287, 1288, + 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, 1292, + 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, - 325, 887, 327, 328, 0, 329, 330, 331, 332, 0, + 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, - 1296, 343, 344, 345, 346, 1297, 1298, 348, 0, 349, - 350, 351, 1299, 353, 0, 354, 0, 355, 356, 357, - 0, 358, 359, 360, 361, 362, 0, 363, 1300, 0, - 1301, 366, 367, 0, 368, 369, 370, 371, 372, 373, + 1295, 343, 344, 345, 346, 1296, 1297, 348, 0, 349, + 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, + 0, 358, 359, 360, 361, 362, 0, 363, 1299, 0, + 5624, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, - 392, 1302, 1303, 0, 1304, 0, 396, 397, 398, 399, - 400, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, - 410, 1314, 412, 413, 414, 415, 416, 417, 418, 0, - 0, 419, 1315, 421, 422, 423, 0, 424, 425, 426, - 1316, 1317, 427, 428, 429, 430, 431, 432, 433, 434, - 435, 436, 1318, 438, 439, 440, 441, 442, 443, 444, - 445, 1319, 447, 1320, 449, 450, 451, 452, 453, 454, - 455, 456, 457, 1321, 459, 0, 460, 461, 462, 463, - 1323, 1324, 465, 1325, 467, 468, 469, 470, 0, 471, - 472, 473, 0, 0, 1326, 475, 476, 0, 0, 477, - 478, 479, 480, 481, 482, 1327, 484, 485, 486, 487, + 392, 1301, 1302, 0, 1303, 0, 396, 397, 398, 399, + 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, + 410, 1313, 412, 413, 414, 415, 416, 417, 418, 0, + 0, 419, 1314, 421, 422, 423, 0, 424, 425, 426, + 1315, 1316, 427, 428, 429, 430, 431, 432, 433, 434, + 435, 436, 1317, 438, 439, 440, 441, 442, 443, 444, + 445, 1318, 447, 1319, 449, 450, 451, 452, 453, 454, + 455, 456, 457, 1320, 459, 1321, 460, 461, 462, 463, + 1322, 1323, 465, 1324, 467, 468, 469, 470, 0, 471, + 472, 473, 0, 0, 1325, 475, 476, 0, 0, 477, + 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, - 497, 498, 1328, 500, 501, 502, 503, 504, 0, 505, + 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - 1329, 517, 518, 519, 0, 520, 521, 522, 523, 524, + 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, - 534, 535, 536, 537, 538, 539, 540, 3328, 542, 543, + 534, 535, 536, 537, 5625, 539, 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, - 553, 554, 555, 556, 1331, 557, 558, 559, 560, 561, - 562, 563, 564, 1332, 566, 0, 567, 568, 569, 570, + 553, 554, 555, 556, 1330, 557, 558, 559, 560, 561, + 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, - 581, 1333, 583, 0, 584, 585, 1334, 0, 586, 587, - 588, 589, 590, 591, 592, 593, 0, 594, 1335, 1336, - 0, 0, 597, 598, 1337, 600, 1338, 1339, 602, 603, - 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, - 612, 613, 614, 615, 1341, 0, 616, 617, 618, 619, - 620, 621, 1342, 0, 623, 624, 625, 626, 627, 628, + 581, 1332, 583, 0, 584, 585, 1333, 0, 586, 587, + 588, 589, 590, 591, 592, 593, 0, 594, 1334, 1335, + 0, 0, 597, 598, 1336, 600, 1337, 1338, 602, 603, + 604, 605, 606, 607, 608, 609, 610, 0, 1339, 611, + 612, 613, 614, 615, 1340, 0, 616, 617, 618, 619, + 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, - 635, 636, 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, - 1349, 1350, 647, 648, 649, 650, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3329, - 3330, 234, 0, 1271, 717, 0, 1272, 1273, 3331, 778, - 1275, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, - 244, 245, 246, 0, 0, 0, 0, 1276, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 258, 1277, 260, 1278, 1279, 0, 263, 264, - 265, 266, 267, 268, 269, 1280, 1281, 270, 271, 1282, - 1283, 274, 0, 275, 276, 277, 278, 1284, 0, 1285, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, - 1292, 303, 304, 305, 306, 307, 308, 1293, 1294, 311, - 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 887, - 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 1296, 343, - 344, 345, 346, 1297, 1298, 348, 0, 349, 350, 351, - 1299, 353, 0, 354, 0, 355, 356, 357, 0, 358, - 359, 360, 361, 362, 0, 363, 1300, 0, 1301, 366, - 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 388, 389, 390, 391, 392, 1302, - 1303, 0, 1304, 0, 396, 397, 398, 399, 400, 1305, - 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, - 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 1315, 421, 422, 423, 0, 424, 425, 426, 1316, 1317, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 1318, 438, 439, 440, 441, 442, 443, 444, 445, 1319, - 447, 1320, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 1321, 459, 0, 460, 461, 462, 463, 1323, 1324, - 465, 1325, 467, 468, 469, 470, 0, 471, 472, 473, - 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, - 480, 481, 482, 1327, 484, 485, 486, 487, 488, 489, - 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 1328, 500, 501, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 1329, 517, - 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, - 536, 537, 538, 539, 540, 3508, 3509, 543, 544, 545, - 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 1331, 557, 558, 559, 560, 561, 562, 563, - 564, 1332, 566, 0, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 1333, - 583, 0, 584, 585, 1334, 0, 586, 587, 588, 589, - 590, 591, 592, 593, 0, 594, 1335, 1336, 0, 0, - 597, 598, 1337, 600, 1338, 1339, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, - 614, 615, 1341, 0, 616, 617, 618, 619, 620, 621, - 1342, 0, 623, 624, 625, 626, 627, 628, 629, 0, - 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, - 647, 648, 649, 650, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 3510, 3511, 234, - 0, 1271, 717, 0, 1272, 1273, 3331, 778, 1275, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, - 246, 0, 0, 0, 0, 1276, 0, 0, 247, 248, - 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, - 258, 1277, 260, 1278, 1279, 0, 263, 264, 265, 266, - 267, 268, 269, 1280, 1281, 270, 271, 1282, 1283, 274, - 0, 275, 276, 277, 278, 1284, 0, 1285, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, - 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, - 304, 305, 306, 307, 308, 1293, 1294, 311, 0, 312, - 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, - 321, 322, 323, 0, 0, 324, 325, 887, 327, 328, - 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, - 337, 0, 338, 339, 340, 341, 1296, 343, 344, 345, - 346, 1297, 1298, 348, 0, 349, 350, 351, 1299, 353, - 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, - 361, 362, 0, 363, 1300, 0, 1301, 366, 367, 0, - 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, - 386, 387, 388, 389, 390, 391, 392, 1302, 1303, 0, - 1304, 0, 396, 397, 398, 399, 400, 1305, 1306, 1307, - 1308, 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, 413, - 414, 415, 416, 417, 418, 0, 0, 419, 1315, 421, - 422, 423, 0, 424, 425, 426, 1316, 1317, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 1318, 438, - 439, 440, 441, 442, 443, 444, 445, 1319, 447, 1320, - 449, 450, 451, 452, 453, 454, 455, 456, 457, 1321, - 459, 0, 460, 461, 462, 463, 1323, 1324, 465, 1325, - 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, - 474, 475, 476, 0, 0, 477, 478, 479, 480, 481, - 482, 1327, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 0, 496, 497, 498, 1328, 500, - 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 1329, 517, 518, 519, - 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, - 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, - 538, 539, 540, 3328, 542, 543, 544, 545, 546, 547, - 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, - 1331, 557, 558, 559, 560, 561, 562, 563, 564, 1332, - 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, - 575, 576, 577, 578, 579, 580, 581, 1333, 583, 0, - 584, 585, 1334, 0, 586, 587, 588, 589, 590, 591, - 592, 593, 0, 594, 1335, 1336, 0, 0, 597, 598, - 1337, 600, 1338, 1339, 602, 603, 604, 605, 606, 607, - 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, - 1341, 0, 616, 617, 618, 619, 620, 621, 1342, 0, - 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, - 0, 0, 631, 632, 633, 634, 635, 636, 637, 1343, - 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, 648, - 649, 650, 0, 0, 0, 0, 234, 0, 1271, 717, - 0, 1272, 1273, 0, 778, 1275, 0, 0, 0, 0, - 0, 0, 0, 0, 3331, 235, 236, 237, 238, 239, + 635, 636, 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, + 1348, 1349, 647, 648, 649, 650, 0, 1350, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1351, + 1352, 0, 0, 0, 234, 0, 1270, 717, 5626, 1271, + 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, + 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, + 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, + 253, 254, 255, 256, 257, 6045, 1276, 260, 1277, 1278, + 0, 263, 264, 265, 266, 267, 268, 269, 1279, 1280, + 270, 271, 1281, 1282, 274, 0, 275, 276, 277, 278, + 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, + 296, 297, 0, 298, 299, 300, 6046, 1285, 1286, 1287, + 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, + 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, + 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, + 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, + 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, + 341, 1295, 343, 344, 345, 346, 1296, 1297, 348, 0, + 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, + 357, 0, 358, 359, 360, 361, 362, 0, 363, 1299, + 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, + 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, + 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, + 391, 392, 1301, 1302, 0, 1303, 0, 396, 397, 398, + 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, + 1312, 410, 1313, 412, 413, 414, 415, 416, 417, 418, + 0, 0, 419, 1314, 421, 422, 423, 0, 424, 425, + 426, 1315, 1316, 427, 428, 429, 430, 431, 432, 433, + 434, 435, 436, 1317, 438, 439, 440, 441, 442, 443, + 444, 445, 1318, 447, 1319, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 1320, 459, 1321, 460, 461, 462, + 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, 0, + 471, 472, 473, 0, 0, 1325, 475, 476, 0, 0, + 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, + 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, + 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, + 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, + 533, 534, 535, 536, 537, 538, 539, 540, 1329, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, + 552, 553, 554, 555, 556, 1330, 557, 558, 559, 560, + 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, + 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, + 580, 581, 1332, 583, 0, 584, 585, 1333, 0, 586, + 587, 588, 589, 590, 591, 592, 593, 0, 594, 1334, + 1335, 0, 0, 597, 598, 1336, 600, 1337, 1338, 602, + 603, 604, 605, 606, 6047, 608, 609, 610, 0, 1339, + 611, 612, 613, 614, 615, 1340, 0, 616, 617, 618, + 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, + 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, + 634, 635, 636, 637, 1342, 1343, 1344, 1345, 642, 1346, + 1347, 1348, 1349, 647, 648, 649, 650, 0, 1350, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1351, 1352, 0, 0, 0, 234, 0, 1270, 717, 1354, + 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, + 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, + 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, + 252, 253, 254, 255, 256, 257, 258, 1276, 260, 1277, + 1278, 0, 263, 264, 265, 266, 267, 268, 269, 1279, + 1280, 270, 271, 1281, 1282, 274, 0, 275, 276, 277, + 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, + 295, 296, 297, 0, 298, 299, 300, 6046, 1285, 1286, + 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, + 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, + 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, + 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, + 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, + 340, 341, 1295, 343, 344, 345, 346, 1296, 1297, 348, + 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, + 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, + 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, + 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, + 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, + 390, 391, 392, 1301, 1302, 0, 1303, 0, 396, 397, + 398, 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, + 1311, 1312, 410, 1313, 412, 413, 414, 415, 416, 417, + 418, 0, 0, 419, 1314, 421, 422, 423, 0, 424, + 425, 426, 1315, 1316, 427, 428, 429, 430, 431, 432, + 433, 434, 435, 436, 1317, 438, 439, 440, 441, 442, + 443, 444, 445, 1318, 447, 1319, 449, 450, 451, 452, + 453, 454, 455, 456, 457, 1320, 459, 1321, 460, 461, + 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, + 0, 471, 472, 473, 0, 0, 1325, 475, 476, 0, + 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, + 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, + 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, + 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, + 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, + 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, + 0, 533, 534, 535, 536, 537, 538, 539, 540, 1329, + 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, + 0, 552, 553, 554, 555, 556, 1330, 557, 558, 559, + 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, + 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, + 579, 580, 581, 1332, 583, 0, 584, 585, 1333, 0, + 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, + 1334, 1335, 0, 0, 597, 598, 1336, 600, 1337, 1338, + 602, 603, 604, 605, 606, 6047, 608, 609, 610, 0, + 1339, 611, 612, 613, 614, 615, 1340, 0, 616, 617, + 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, + 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, + 633, 634, 635, 636, 637, 1342, 1343, 1344, 1345, 642, + 1346, 1347, 1348, 1349, 647, 648, 649, 650, 0, 1350, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1351, 1352, 0, 0, 0, 234, 0, 1270, 717, + 1354, 1271, 1272, 1273, 778, 1274, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, - 0, 0, 1276, 0, 0, 247, 248, 249, 0, 250, - 251, 252, 253, 254, 255, 256, 257, 258, 1277, 260, - 1278, 1279, 0, 263, 4787, 265, 266, 267, 268, 269, - 1280, 1281, 270, 271, 1282, 1283, 274, 0, 275, 276, - 277, 278, 1284, 0, 1285, 0, 281, 282, 283, 284, + 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 254, 255, 256, 257, 258, 1276, 260, + 1277, 1278, 0, 263, 264, 265, 266, 267, 268, 269, + 1279, 1280, 270, 271, 1281, 1282, 274, 0, 275, 276, + 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, - 294, 295, 296, 297, 0, 298, 299, 300, 301, 1286, - 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, 305, 306, - 307, 308, 1293, 1294, 311, 0, 312, 0, 313, 314, + 294, 295, 296, 297, 0, 298, 299, 300, 301, 1285, + 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, + 307, 308, 1292, 1293, 311, 5608, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, - 0, 0, 324, 325, 887, 327, 328, 0, 329, 330, + 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, - 339, 340, 341, 1296, 343, 344, 345, 346, 1297, 1298, - 348, 0, 349, 350, 351, 1299, 353, 0, 354, 0, + 339, 340, 341, 1295, 343, 344, 345, 346, 1296, 1297, + 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, - 363, 1300, 0, 1301, 366, 367, 0, 368, 369, 370, + 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, - 389, 390, 391, 392, 1302, 1303, 0, 1304, 0, 396, - 397, 398, 399, 400, 1305, 1306, 1307, 1308, 1309, 1310, - 1311, 1312, 1313, 410, 1314, 412, 413, 414, 415, 416, - 417, 418, 0, 0, 419, 1315, 421, 422, 423, 0, - 424, 425, 426, 1316, 1317, 427, 428, 429, 430, 431, - 432, 433, 434, 435, 436, 1318, 438, 439, 440, 441, - 442, 443, 444, 445, 1319, 447, 1320, 449, 450, 451, - 452, 453, 454, 455, 456, 457, 1321, 459, 0, 460, - 461, 462, 463, 1323, 1324, 465, 1325, 467, 468, 469, - 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, - 0, 0, 477, 478, 479, 480, 481, 482, 1327, 484, + 389, 390, 391, 392, 1301, 1302, 0, 1303, 0, 396, + 397, 398, 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, + 1310, 1311, 1312, 410, 1313, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 1314, 421, 422, 423, 0, + 424, 425, 426, 1315, 1316, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 1317, 438, 439, 440, 441, + 442, 443, 444, 445, 1318, 447, 1319, 449, 450, 451, + 452, 453, 454, 455, 456, 457, 1320, 459, 0, 460, + 461, 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 1325, 475, 476, + 0, 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, - 495, 0, 496, 497, 498, 1328, 500, 501, 502, 503, + 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 1329, 517, 518, 519, 0, 520, 521, + 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, - 3328, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 0, 552, 553, 554, 555, 556, 1331, 557, 558, - 559, 560, 561, 562, 563, 564, 1332, 566, 0, 567, + 3329, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 1330, 557, 558, + 559, 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, - 578, 579, 580, 581, 1333, 583, 0, 584, 585, 1334, + 578, 579, 580, 581, 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, - 594, 1335, 1336, 0, 0, 597, 598, 1337, 600, 1338, - 1339, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 0, 0, 611, 612, 613, 614, 615, 1341, 0, 616, - 617, 618, 619, 620, 621, 1342, 0, 623, 624, 625, + 594, 1334, 1335, 0, 0, 597, 598, 1336, 600, 1337, + 1338, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 0, 611, 612, 613, 614, 615, 1340, 0, 616, + 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, - 632, 633, 634, 635, 636, 637, 1343, 1344, 1345, 1346, - 642, 1347, 1348, 1349, 1350, 647, 648, 649, 650, 0, - 0, 0, 0, 234, 0, 1271, 717, 0, 1272, 1273, - 0, 778, 1275, 0, 0, 0, 0, 0, 0, 0, - 0, 3331, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 0, 244, 245, 246, 0, 0, 0, 0, 1276, - 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, - 254, 255, 256, 257, 258, 1277, 260, 1278, 1279, 0, - 263, 264, 265, 266, 267, 268, 269, 1280, 1281, 270, - 271, 1282, 1283, 274, 0, 275, 276, 277, 278, 1284, - 0, 1285, 0, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, - 297, 0, 298, 299, 300, 301, 1286, 1287, 1288, 1289, - 1290, 1291, 1292, 303, 304, 305, 306, 307, 308, 1293, - 1294, 311, 0, 312, 0, 313, 314, 315, 316, 317, - 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, - 325, 887, 327, 328, 0, 329, 330, 331, 332, 0, - 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, - 1296, 343, 344, 345, 346, 1297, 1298, 348, 0, 349, - 350, 351, 1299, 353, 0, 354, 0, 355, 356, 357, - 0, 358, 359, 360, 361, 362, 0, 363, 1300, 0, - 1301, 366, 367, 0, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, - 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, - 392, 1302, 1303, 0, 1304, 0, 396, 397, 398, 399, - 400, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, - 410, 1314, 412, 413, 414, 415, 416, 417, 418, 0, - 0, 419, 1315, 421, 422, 423, 0, 424, 425, 426, - 1316, 1317, 427, 428, 429, 430, 431, 432, 433, 434, - 435, 436, 1318, 438, 439, 440, 441, 442, 443, 444, - 445, 1319, 447, 1320, 449, 450, 451, 452, 453, 454, - 455, 456, 457, 1321, 459, 0, 460, 461, 462, 463, - 1323, 1324, 465, 1325, 467, 468, 469, 470, 0, 471, - 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, - 478, 479, 480, 481, 482, 1327, 484, 485, 486, 487, - 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, - 497, 498, 1328, 500, 501, 502, 503, 504, 0, 505, - 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - 1329, 517, 518, 519, 0, 520, 521, 522, 523, 524, - 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, - 534, 535, 536, 537, 538, 539, 540, 3328, 542, 543, - 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, - 553, 554, 555, 556, 1331, 557, 558, 559, 560, 561, - 562, 563, 564, 1332, 566, 0, 567, 568, 569, 570, - 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, - 581, 1333, 583, 0, 584, 585, 1334, 0, 586, 587, - 588, 589, 590, 591, 592, 593, 0, 594, 1335, 1336, - 0, 0, 597, 598, 1337, 600, 1338, 1339, 602, 603, - 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, - 612, 613, 614, 615, 1341, 0, 616, 617, 618, 619, - 620, 621, 1342, 0, 623, 624, 625, 626, 627, 628, - 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, - 635, 636, 637, 1343, 1344, 1345, 1346, 4849, 1347, 1348, - 1349, 1350, 647, 648, 649, 650, 0, 0, 0, 0, - 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 3331, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, - 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, - 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, - 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, - 266, 267, 268, 269, 0, 1281, 270, 271, 272, 273, - 274, 0, 275, 276, 277, 278, 1284, 0, 1285, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, - 299, 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, - 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, - 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, - 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, - 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, - 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, - 345, 346, 1297, 0, 348, 0, 349, 350, 351, 352, - 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, - 360, 361, 362, 0, 363, 1300, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, - 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, - 0, 395, 0, 396, 397, 398, 399, 400, 3479, 1306, - 1307, 1308, 1309, 1310, 1311, 1312, 1313, 3480, 1314, 412, - 413, 414, 415, 416, 417, 418, 3481, 0, 419, 1315, - 421, 422, 423, 0, 424, 425, 426, 1316, 1317, 427, - 428, 429, 430, 431, 432, 433, 434, 435, 436, 1318, - 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, - 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, - 1321, 459, 0, 460, 461, 462, 463, 0, 1324, 465, - 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, - 862, 474, 475, 476, 0, 0, 477, 478, 479, 480, - 481, 482, 1327, 484, 485, 486, 487, 488, 489, 490, - 491, 492, 493, 494, 495, 0, 496, 497, 498, 1328, - 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, - 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, - 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, - 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, - 537, 538, 539, 540, 541, 3482, 543, 544, 545, 546, - 547, 548, 549, 550, 551, 40, 552, 553, 554, 555, - 556, 1331, 557, 558, 559, 560, 561, 562, 563, 564, - 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, - 574, 575, 576, 577, 578, 579, 580, 581, 1333, 583, - 0, 584, 585, 1334, 44, 586, 587, 588, 589, 590, - 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, - 598, 1337, 600, 1338, 0, 602, 603, 604, 605, 606, - 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, - 615, 1341, 0, 616, 617, 618, 619, 620, 1206, 622, - 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, - 630, 0, 49, 631, 632, 633, 634, 635, 636, 637, - 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, 3483, - 648, 649, 650, 0, 0, 0, 50, 234, 0, 0, + 632, 633, 634, 635, 636, 637, 1342, 1343, 1344, 1345, + 642, 1346, 1347, 1348, 1349, 647, 648, 649, 650, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 3484, 235, 236, 237, 238, + 0, 0, 3330, 3331, 0, 0, 0, 234, 0, 1270, + 717, 3332, 1271, 1272, 1273, 778, 1274, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, - 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, - 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, - 269, 0, 1281, 270, 271, 272, 273, 274, 0, 275, - 276, 277, 278, 1284, 0, 1285, 0, 281, 282, 283, + 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, + 250, 251, 252, 253, 254, 255, 256, 257, -3026, 1276, + 260, 1277, 1278, 0, 263, 264, 265, 266, 267, 268, + 269, 1279, 1280, 270, 271, 1281, 1282, 274, 0, 275, + 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, - 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, - 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, 305, - 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, + 293, 294, 295, 296, 297, 0, 298, 299, 300, 6046, + 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, 305, + 306, 307, 308, 1292, 1293, 311, 1294, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, - 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, + 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, - 338, 339, 340, 341, 342, 343, 344, 345, 346, 1297, - 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, + 338, 339, 340, 341, 1295, 343, 344, 345, 346, 1296, + 1297, 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, - 0, 363, 1300, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, + 0, 363, 1299, 0, 1300, 366, 367, 0, 368, 369, + 370, 371, 372, -3026, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, - 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, - 396, 397, 398, 399, 400, 3479, 1306, 1307, 1308, 1309, - 1310, 1311, 1312, 1313, 3480, 1314, 412, 413, 414, 415, - 416, 417, 418, 3481, 0, 419, 1315, 421, 422, 423, - 0, 424, 425, 426, 1316, 1317, 427, 428, 429, 430, - 431, 432, 433, 434, 435, 436, 1318, 438, 439, 440, - 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, - 451, 452, 453, 454, 455, 456, 457, 1321, 459, 0, - 460, 461, 462, 463, 0, 1324, 465, 466, 467, 468, - 469, 470, 0, 471, 472, 473, 0, 862, 474, 475, - 476, 0, 0, 477, 478, 479, 480, 481, 482, 1327, + 388, 389, 390, 391, 392, 1301, 1302, 0, 1303, 0, + 396, 0, 0, 399, 400, 1304, 1305, 1306, 1307, 1308, + 1309, 1310, 1311, 1312, 410, 1313, 412, 413, 414, 415, + 416, 417, 418, 0, 0, 419, 1314, 421, 422, -3026, + 0, 424, 425, 426, 1315, 1316, 427, 428, 429, 430, + 431, 432, 433, 434, 435, 436, 1317, 438, 439, 440, + 441, 442, 443, 444, 445, 1318, 447, 1319, 449, 450, + 451, 452, 453, 454, 455, 456, 457, 1320, 459, 1321, + 460, 461, 0, 463, 1322, 1323, 465, 1324, 467, 468, + 469, 470, 0, 471, 472, 473, 0, 0, 1325, 475, + 476, 0, 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 0, 496, 497, 498, 1328, 500, 501, 502, + 494, 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, + 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, - 540, 541, 3482, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 0, 552, 553, 554, 555, 556, 1331, 557, - 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, + 540, 1329, 542, 543, 544, 545, 546, 547, 548, 549, + 550, 551, 0, 552, 553, 554, 555, 556, 1330, 557, + 558, 559, 560, 561, -3026, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, - 577, 578, 579, 580, 581, 1333, 583, 0, 584, 585, - 1334, 0, 586, 587, 588, 589, 590, 591, 592, 593, - 0, 594, 595, 596, 0, 0, 597, 598, 1337, 600, - 1338, 0, 602, 603, 604, 605, 606, 607, 608, 609, - 610, 0, 0, 611, 612, 613, 614, 615, 1341, 0, - 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, + 577, 578, 579, 580, 581, 1332, 583, 0, 584, 585, + 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, + 0, 594, 1334, 1335, 0, 0, 597, 598, 1336, 600, + 1337, 1338, 602, 603, 604, 605, 606, 6047, 608, 609, + 610, 0, 1339, 611, 612, 613, 614, 615, 1340, 0, + 616, 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, - 631, 632, 633, 634, 635, 636, 637, 1343, 1344, 1345, - 1346, 642, 1347, 1348, 1349, 1350, 3483, 648, 649, 650, - 0, 0, 0, 0, 234, 0, 0, 0, 0, 0, + 631, 632, 633, 634, 635, 636, 637, 1342, 1343, 1344, + 1345, 642, 1346, 1347, 1348, 1349, 647, 648, 649, 650, + 0, -3026, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1351, 1352, 0, 0, 0, 234, 0, + 1270, 717, 1354, 1271, 1272, 1273, 778, 1274, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, + 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, + 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, + 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, + 1276, 260, 1277, 1278, 0, 263, 264, 265, 266, 267, + 268, 269, 1279, 1280, 270, 271, 1281, 1282, 274, 0, + 275, 276, 277, 278, 1283, 0, 1284, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, + 301, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, + 305, 306, 307, 308, 1292, 1293, 311, 0, 312, 0, + 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, + 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, + 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, + 0, 338, 339, 340, 341, 1295, 343, 344, 345, 346, + 1296, 1297, 348, 0, 349, 350, 351, 1298, 353, 0, + 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, + 362, 0, 363, 1299, 0, 1300, 366, 367, 0, 368, + 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, + 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, + 387, 388, 389, 390, 391, 392, 1301, 1302, 0, 1303, + 0, 396, 397, 398, 399, 400, 1304, 1305, 1306, 1307, + 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, 413, 414, + 415, 416, 417, 418, 0, 0, 419, 1314, 421, 422, + 423, 0, 424, 425, 426, 1315, 1316, 427, 428, 429, + 430, 431, 432, 433, 434, 435, 436, 1317, 438, 439, + 440, 441, 442, 443, 444, 445, 1318, 447, 1319, 449, + 450, 451, 452, 453, 454, 455, 456, 457, 1320, 459, + 0, 460, 461, 462, 463, 1322, 1323, 465, 1324, 467, + 468, 469, 470, 0, 471, 472, 473, 0, 0, 1325, + 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, + 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, + 493, 494, 495, 0, 496, 497, 498, 1327, 500, 501, + 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, + 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, + 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, + 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, + 539, 540, 3329, 542, 543, 544, 545, 546, 547, 548, + 549, 550, 551, 0, 552, 553, 554, 555, 556, 1330, + 557, 558, 559, 560, 561, 562, 563, 564, 1331, 566, + 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, + 576, 577, 578, 579, 580, 581, 1332, 583, 0, 584, + 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, + 593, 0, 594, 1334, 1335, 0, 0, 597, 598, 1336, + 600, 1337, 1338, 602, 603, 604, 605, 606, 607, 608, + 609, 610, 0, 0, 611, 612, 613, 614, 615, 1340, + 0, 616, 617, 618, 619, 620, 621, 1341, 0, 623, + 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, + 0, 631, 632, 633, 634, 635, 636, 637, 1342, 1343, + 1344, 1345, 642, 1346, 1347, 1348, 1349, 647, 648, 649, + 650, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 3330, 3331, 234, 0, 1270, 717, + 0, 1271, 1272, 3332, 778, 1274, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, + 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 254, 255, 256, 257, 258, 1276, 260, + 1277, 1278, 0, 263, 264, 265, 266, 267, 268, 269, + 1279, 1280, 270, 271, 1281, 1282, 274, 0, 275, 276, + 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, + 294, 295, 296, 297, 0, 298, 299, 300, 301, 1285, + 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, + 307, 308, 1292, 1293, 311, 0, 312, 0, 313, 314, + 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, + 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, + 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, + 339, 340, 341, 1295, 343, 344, 345, 346, 1296, 1297, + 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, + 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, + 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, + 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, + 389, 390, 391, 392, 1301, 1302, 0, 1303, 0, 396, + 397, 398, 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, + 1310, 1311, 1312, 410, 1313, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 1314, 421, 422, 423, 0, + 424, 425, 426, 1315, 1316, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 1317, 438, 439, 440, 441, + 442, 443, 444, 445, 1318, 447, 1319, 449, 450, 451, + 452, 453, 454, 455, 456, 457, 1320, 459, 0, 460, + 461, 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, + 0, 0, 477, 478, 479, 480, 481, 482, 1326, 484, + 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, + 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, + 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, + 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, + 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, + 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, + 3509, 3510, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 1330, 557, 558, + 559, 560, 561, 562, 563, 564, 1331, 566, 0, 567, + 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, + 578, 579, 580, 581, 1332, 583, 0, 584, 585, 1333, + 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, + 594, 1334, 1335, 0, 0, 597, 598, 1336, 600, 1337, + 1338, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 0, 611, 612, 613, 614, 615, 1340, 0, 616, + 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, + 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, + 632, 633, 634, 635, 636, 637, 1342, 1343, 1344, 1345, + 642, 1346, 1347, 1348, 1349, 647, 648, 649, 650, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 3484, 235, 236, 237, 238, 239, 240, 241, + 0, 0, 3511, 3512, 234, 0, 1270, 717, 0, 1271, + 1272, 3332, 778, 1274, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, - 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, - 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, - 0, 263, 264, 265, 266, 267, 268, 269, 0, 1281, - 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, - 1284, 0, 1285, 0, 281, 282, 283, 284, 285, 286, + 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, + 253, 254, 255, 256, 257, 258, 1276, 260, 1277, 1278, + 0, 263, 264, 265, 266, 267, 268, 269, 1279, 1280, + 270, 271, 1281, 1282, 274, 0, 275, 276, 277, 278, + 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, - 296, 297, 0, 298, 299, 300, 301, 1286, 1287, 1288, - 1289, 1290, 1291, 1292, 303, 304, 305, 306, 307, 308, - 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, + 296, 297, 0, 298, 299, 300, 301, 1285, 1286, 1287, + 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, + 1292, 1293, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, - 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, + 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, - 341, 342, 343, 344, 345, 346, 1297, 0, 348, 0, - 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, - 357, 0, 358, 359, 360, 361, 362, 0, 363, 1300, - 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, + 341, 1295, 343, 344, 345, 346, 1296, 1297, 348, 0, + 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, + 357, 0, 358, 359, 360, 361, 362, 0, 363, 1299, + 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, - 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, - 399, 400, 3479, 1306, 1307, 1308, 1309, 1310, 1311, 1312, - 1313, 410, 1314, 412, 413, 414, 415, 416, 417, 418, - 0, 0, 419, 1315, 421, 422, 423, 0, 424, 425, - 426, 1316, 1317, 427, 428, 429, 430, 431, 432, 433, - 434, 435, 436, 1318, 438, 439, 440, 441, 442, 443, - 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, - 454, 455, 456, 457, 1321, 459, 0, 460, 461, 462, - 463, 0, 1324, 465, 466, 467, 468, 469, 470, 0, + 391, 392, 1301, 1302, 0, 1303, 0, 396, 397, 398, + 399, 400, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, + 1312, 410, 1313, 412, 413, 414, 415, 416, 417, 418, + 0, 0, 419, 1314, 421, 422, 423, 0, 424, 425, + 426, 1315, 1316, 427, 428, 429, 430, 431, 432, 433, + 434, 435, 436, 1317, 438, 439, 440, 441, 442, 443, + 444, 445, 1318, 447, 1319, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 1320, 459, 0, 460, 461, 462, + 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, - 477, 478, 479, 480, 481, 482, 1327, 484, 485, 486, + 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, - 496, 497, 498, 1328, 500, 501, 502, 503, 504, 0, + 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, + 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, - 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, + 533, 534, 535, 536, 537, 538, 539, 540, 3329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, - 552, 553, 554, 555, 556, 1331, 557, 558, 559, 560, - 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, + 552, 553, 554, 555, 556, 1330, 557, 558, 559, 560, + 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, - 580, 581, 1333, 583, 0, 584, 585, 1334, 0, 586, - 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, - 596, 0, 0, 597, 598, 1337, 600, 1338, 0, 602, + 580, 581, 1332, 583, 0, 584, 585, 1333, 0, 586, + 587, 588, 589, 590, 591, 592, 593, 0, 594, 1334, + 1335, 0, 0, 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, - 611, 612, 613, 614, 615, 1341, 0, 616, 617, 618, - 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, + 611, 612, 613, 614, 615, 1340, 0, 616, 617, 618, + 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, - 634, 635, 636, 637, 1343, 1344, 1345, 1346, 642, 1347, - 1348, 1349, 1350, 647, 648, 649, 650, 0, 0, 0, - 0, 234, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3929, + 634, 635, 636, 637, 1342, 1343, 1344, 1345, 642, 1346, + 1347, 1348, 1349, 647, 648, 649, 650, 0, 0, 0, + 0, 234, 0, 1270, 717, 0, 1271, 1272, 0, 778, + 1274, 0, 0, 0, 0, 0, 0, 0, 0, 3332, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, - 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, + 244, 245, 246, 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 1281, 270, 271, 272, - 273, 274, 0, 275, 276, 277, 278, 1284, 0, 1285, + 256, 257, 258, 1276, 260, 1277, 1278, 0, 263, 4787, + 265, 266, 267, 268, 269, 1279, 1280, 270, 271, 1281, + 1282, 274, 0, 275, 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 1286, 1287, 1288, 1289, 1290, 1291, - 1292, 303, 304, 305, 306, 307, 308, 309, 310, 311, + 298, 299, 300, 301, 1285, 1286, 1287, 1288, 1289, 1290, + 1291, 303, 304, 305, 306, 307, 308, 1292, 1293, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, + 0, 320, 321, 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, - 344, 345, 346, 1297, 0, 348, 0, 349, 350, 351, - 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, - 359, 360, 361, 362, 0, 363, 1300, 0, 365, 366, + 335, 336, 337, 0, 338, 339, 340, 341, 1295, 343, + 344, 345, 346, 1296, 1297, 348, 0, 349, 350, 351, + 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, + 359, 360, 361, 362, 0, 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 0, 395, 0, 396, 397, 398, 399, 400, 3479, - 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 3480, 1314, + 385, 0, 386, 387, 388, 389, 390, 391, 392, 1301, + 1302, 0, 1303, 0, 396, 397, 398, 399, 400, 1304, + 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 1315, 421, 422, 423, 0, 424, 425, 426, 1316, 1317, + 1314, 421, 422, 423, 0, 424, 425, 426, 1315, 1316, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 1318, 438, 439, 440, 441, 442, 443, 444, 445, 446, - 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 1321, 459, 0, 460, 461, 462, 463, 0, 1324, - 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, + 1317, 438, 439, 440, 441, 442, 443, 444, 445, 1318, + 447, 1319, 449, 450, 451, 452, 453, 454, 455, 456, + 457, 1320, 459, 0, 460, 461, 462, 463, 1322, 1323, + 465, 1324, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, - 480, 481, 482, 1327, 484, 485, 486, 487, 488, 489, + 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 1328, 500, 501, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, + 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, - 536, 537, 538, 539, 540, 541, 3482, 543, 544, 545, + 536, 537, 538, 539, 540, 3329, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 1331, 557, 558, 559, 560, 561, 562, 563, - 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 1333, - 583, 0, 584, 585, 1334, 0, 586, 587, 588, 589, - 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, - 597, 598, 1337, 600, 1338, 0, 602, 603, 604, 605, + 555, 556, 1330, 557, 558, 559, 560, 561, 562, 563, + 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, + 573, 574, 575, 576, 577, 578, 579, 580, 581, 1332, + 583, 0, 584, 585, 1333, 0, 586, 587, 588, 589, + 590, 591, 592, 593, 0, 594, 1334, 1335, 0, 0, + 597, 598, 1336, 600, 1337, 1338, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, - 614, 615, 1341, 0, 616, 617, 618, 619, 620, 621, - 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, + 614, 615, 1340, 0, 616, 617, 618, 619, 620, 621, + 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, 1350, - 3483, 648, 649, 650, 0, 0, 0, 0, 234, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 56, 235, 236, 237, + 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, 1349, + 647, 648, 649, 650, 0, 0, 0, 0, 234, 0, + 1270, 717, 0, 1271, 1272, 0, 778, 1274, 0, 0, + 0, 0, 0, 0, 0, 0, 3332, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, - 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, + 0, 0, 0, 0, 1275, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, - 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, - 268, 269, 0, 1281, 270, 271, 272, 273, 274, 0, - 275, 276, 277, 278, 1284, 0, 1285, 0, 281, 282, + 1276, 260, 1277, 1278, 0, 263, 264, 265, 266, 267, + 268, 269, 1279, 1280, 270, 271, 1281, 1282, 274, 0, + 275, 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, - 301, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 303, 304, - 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, + 301, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, + 305, 306, 307, 308, 1292, 1293, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, - 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, + 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, - 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, - 1297, 0, 348, 0, 349, 350, 351, 352, 353, 0, + 0, 338, 339, 340, 341, 1295, 343, 344, 345, 346, + 1296, 1297, 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, - 362, 0, 363, 1300, 0, 365, 366, 367, 0, 368, + 362, 0, 363, 1299, 0, 1300, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, - 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, - 0, 396, 397, 398, 399, 400, 3479, 1306, 1307, 1308, - 1309, 1310, 1311, 1312, 1313, 410, 1314, 412, 413, 414, - 415, 416, 417, 418, 0, 0, 419, 1315, 421, 422, - 423, 0, 424, 425, 426, 1316, 1317, 427, 428, 429, - 430, 431, 432, 433, 434, 435, 436, 1318, 438, 439, - 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, - 450, 451, 452, 453, 454, 455, 456, 457, 1321, 459, - 0, 460, 461, 462, 463, 0, 1324, 465, 466, 467, + 387, 388, 389, 390, 391, 392, 1301, 1302, 0, 1303, + 0, 396, 397, 398, 399, 400, 1304, 1305, 1306, 1307, + 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, 413, 414, + 415, 416, 417, 418, 0, 0, 419, 1314, 421, 422, + 423, 0, 424, 425, 426, 1315, 1316, 427, 428, 429, + 430, 431, 432, 433, 434, 435, 436, 1317, 438, 439, + 440, 441, 442, 443, 444, 445, 1318, 447, 1319, 449, + 450, 451, 452, 453, 454, 455, 456, 457, 1320, 459, + 0, 460, 461, 462, 463, 1322, 1323, 465, 1324, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, - 1327, 484, 485, 486, 487, 488, 489, 490, 491, 492, - 493, 494, 495, 0, 496, 497, 498, 1328, 500, 501, + 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, + 493, 494, 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, - 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, + 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, - 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, - 549, 550, 551, 0, 552, 553, 554, 555, 556, 1331, - 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, + 539, 540, 3329, 542, 543, 544, 545, 546, 547, 548, + 549, 550, 551, 0, 552, 553, 554, 555, 556, 1330, + 557, 558, 559, 560, 561, 562, 563, 564, 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, - 576, 577, 578, 579, 580, 581, 1333, 583, 0, 584, - 585, 1334, 0, 586, 587, 588, 589, 590, 591, 592, - 593, 0, 594, 595, 596, 0, 0, 597, 598, 1337, - 600, 1338, 0, 602, 603, 604, 605, 606, 607, 608, - 609, 610, 0, 0, 611, 612, 613, 614, 615, 1341, - 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, + 576, 577, 578, 579, 580, 581, 1332, 583, 0, 584, + 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, + 593, 0, 594, 1334, 1335, 0, 0, 597, 598, 1336, + 600, 1337, 1338, 602, 603, 604, 605, 606, 607, 608, + 609, 610, 0, 0, 611, 612, 613, 614, 615, 1340, + 0, 616, 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, - 0, 631, 632, 633, 634, 635, 636, 637, 1343, 1344, - 1345, 1346, 642, 1347, 1348, 1349, 1350, 647, 648, 649, + 0, 631, 632, 633, 634, 635, 636, 637, 1342, 1343, + 1344, 1345, 4849, 1346, 1347, 1348, 1349, 647, 648, 649, 650, 0, 0, 0, 0, 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 4937, 235, 236, 237, 238, 239, 240, + 0, 0, 0, 3332, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, - 1281, 270, 271, 272, 273, 274, 0, 275, 276, 277, - 278, 1284, 0, 1285, 0, 281, 282, 283, 284, 285, + 1280, 270, 271, 272, 273, 274, 0, 275, 276, 277, + 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, - 295, 296, 297, 0, 298, 299, 300, 301, 1286, 1287, - 1288, 1289, 1290, 1291, 1292, 303, 304, 305, 306, 307, + 295, 296, 297, 0, 298, 299, 300, 301, 1285, 1286, + 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, - 340, 341, 342, 343, 344, 345, 346, 1297, 0, 348, + 340, 341, 342, 343, 344, 345, 346, 1296, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, - 1300, 0, 365, 366, 367, 0, 368, 369, 370, 371, + 1299, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, - 398, 399, 400, 3479, 1306, 1307, 1308, 1309, 1310, 1311, - 1312, 1313, 410, 1314, 412, 413, 414, 415, 416, 417, - 418, 0, 0, 419, 1315, 421, 422, 423, 0, 424, - 425, 426, 1316, 1317, 427, 428, 429, 430, 431, 432, - 433, 434, 435, 436, 1318, 438, 439, 440, 441, 442, + 398, 399, 400, 3480, 1305, 1306, 1307, 1308, 1309, 1310, + 1311, 1312, 3481, 1313, 412, 413, 414, 415, 416, 417, + 418, 3482, 0, 419, 1314, 421, 422, 423, 0, 424, + 425, 426, 1315, 1316, 427, 428, 429, 430, 431, 432, + 433, 434, 435, 436, 1317, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, - 453, 454, 455, 456, 457, 1321, 459, 0, 460, 461, - 462, 463, 0, 1324, 465, 466, 467, 468, 469, 470, - 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, - 0, 477, 478, 479, 480, 481, 482, 1327, 484, 485, + 453, 454, 455, 456, 457, 1320, 459, 0, 460, 461, + 462, 463, 0, 1323, 465, 466, 467, 468, 469, 470, + 0, 471, 472, 473, 0, 863, 474, 475, 476, 0, + 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, - 0, 496, 497, 498, 1328, 500, 501, 502, 503, 504, + 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, - 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, - 0, 552, 553, 554, 555, 556, 1331, 557, 558, 559, + 3483, 543, 544, 545, 546, 547, 548, 549, 550, 551, + 40, 552, 553, 554, 555, 556, 1330, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, - 579, 580, 581, 1333, 583, 0, 584, 585, 1334, 0, + 579, 580, 581, 1332, 583, 0, 584, 585, 1333, 44, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, - 595, 596, 0, 0, 597, 598, 1337, 600, 1338, 0, + 595, 596, 0, 0, 597, 598, 1336, 600, 1337, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, - 0, 611, 612, 613, 614, 615, 1341, 0, 616, 617, - 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, - 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, - 633, 634, 635, 636, 637, 1343, 1344, 1345, 1346, 642, - 1347, 1348, 1349, 1350, 647, 648, 649, 650, 0, 0, - 0, 0, 967, 0, 1605, 717, 0, 0, 0, 0, - 778, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 6152, 235, 236, 237, 238, 239, 240, 241, 242, 243, + 0, 611, 612, 613, 614, 615, 1340, 0, 616, 617, + 618, 619, 620, 1206, 622, 0, 623, 624, 625, 626, + 627, 628, 629, 0, 0, 630, 0, 49, 631, 632, + 633, 634, 635, 636, 637, 1342, 1343, 1344, 1345, 642, + 1346, 1347, 1348, 1349, 3484, 648, 649, 650, 0, 0, + 0, 50, 234, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 3485, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, - 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, - 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, - 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 264, 265, 266, 267, 268, 269, 0, 1280, 270, 271, + 272, 273, 274, 0, 275, 276, 277, 278, 1283, 0, + 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, - 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, - 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, - 311, 5940, 312, 0, 313, 314, 315, 316, 317, 318, + 0, 298, 299, 300, 301, 1285, 1286, 1287, 1288, 1289, + 1290, 1291, 303, 304, 305, 306, 307, 308, 309, 310, + 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, - 343, 344, 345, 346, 347, 1831, 348, 0, 349, 350, + 343, 344, 345, 346, 1296, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, - 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, + 358, 359, 360, 361, 362, 0, 363, 1299, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, 400, - 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, - 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, - 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, - 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, - 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, + 3480, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 3481, + 1313, 412, 413, 414, 415, 416, 417, 418, 3482, 0, + 419, 1314, 421, 422, 423, 0, 424, 425, 426, 1315, + 1316, 427, 428, 429, 430, 431, 432, 433, 434, 435, + 436, 1317, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, - 456, 457, 458, 459, 0, 460, 461, 462, 463, 0, - 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, - 473, 1832, 0, 474, 475, 476, 0, 0, 477, 478, - 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, + 456, 457, 1320, 459, 0, 460, 461, 462, 463, 0, + 1323, 465, 466, 467, 468, 469, 470, 0, 471, 472, + 473, 0, 863, 474, 475, 476, 0, 0, 477, 478, + 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, - 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, + 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, - 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, + 535, 536, 537, 538, 539, 540, 541, 3483, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, - 554, 555, 556, 0, 557, 558, 559, 560, 561, 562, + 554, 555, 556, 1330, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, - 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, + 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, - 0, 597, 598, 599, 600, 601, 1833, 602, 603, 604, + 0, 597, 598, 1336, 600, 1337, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, - 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, + 613, 614, 615, 1340, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, - 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, - 646, 647, 648, 649, 650, 0, 0, 0, 0, 967, - 0, 0, 0, 0, 0, 0, 0, 0, 1606, 1607, - 5941, 0, 0, 0, 0, 0, 0, 5942, 235, 236, + 636, 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, + 1349, 3484, 648, 649, 650, 0, 0, 0, 0, 234, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 3485, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, - 246, 3, 4, 0, 0, 0, 0, 0, 247, 248, + 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, - 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, - 0, 275, 276, 277, 278, 279, 0, 280, 0, 281, + 267, 268, 269, 0, 1280, 270, 271, 272, 273, 274, + 0, 275, 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, - 300, 301, 0, 0, 0, 302, 0, 0, 0, 303, + 300, 301, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, - 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, + 346, 1296, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, - 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, + 361, 362, 0, 363, 1299, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, - 395, 0, 396, 397, 398, 399, 400, 401, 402, 403, - 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, - 414, 415, 416, 417, 418, 0, 0, 419, 420, 421, - 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, + 395, 0, 396, 397, 398, 399, 400, 3480, 1305, 1306, + 1307, 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, 413, + 414, 415, 416, 417, 418, 0, 0, 419, 1314, 421, + 422, 423, 0, 424, 425, 426, 1315, 1316, 427, 428, + 429, 430, 431, 432, 433, 434, 435, 436, 1317, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, - 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, - 459, 0, 460, 461, 462, 463, 0, 464, 465, 466, + 449, 450, 451, 452, 453, 454, 455, 456, 457, 1320, + 459, 0, 460, 461, 462, 463, 0, 1323, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 480, 481, - 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, + 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, + 492, 493, 494, 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, - 548, 549, 550, 551, 40, 552, 553, 554, 555, 556, - 0, 557, 558, 559, 560, 561, 562, 563, 564, 565, + 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, + 1330, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, - 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, - 584, 585, 0, 44, 586, 587, 588, 589, 590, 591, + 575, 576, 577, 578, 579, 580, 581, 1332, 583, 0, + 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, - 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, + 1336, 600, 1337, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, - 0, 0, 616, 617, 618, 619, 620, 1206, 622, 0, + 1340, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, - 0, 49, 631, 632, 633, 634, 635, 636, 637, 638, - 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, - 649, 650, 1046, 0, 0, 50, 234, 0, 0, 0, + 0, 0, 631, 632, 633, 634, 635, 636, 637, 1342, + 1343, 1344, 1345, 642, 1346, 1347, 1348, 1349, 647, 648, + 649, 650, 0, 0, 0, 0, 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 56, 235, 236, 237, 238, 239, + 0, 0, 0, 0, 3930, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, - 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, - 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, + 0, 1280, 270, 271, 272, 273, 274, 0, 275, 276, + 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, - 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, - 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, + 294, 295, 296, 297, 0, 298, 299, 300, 301, 1285, + 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, - 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, + 339, 340, 341, 342, 343, 344, 345, 346, 1296, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, - 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, + 363, 1299, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, - 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, - 417, 418, 0, 0, 419, 420, 421, 422, 423, 0, - 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, - 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, + 397, 398, 399, 400, 3480, 1305, 1306, 1307, 1308, 1309, + 1310, 1311, 1312, 3481, 1313, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 1314, 421, 422, 423, 0, + 424, 425, 426, 1315, 1316, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 1317, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, - 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, - 461, 462, 463, 0, 464, 465, 466, 467, 468, 469, + 452, 453, 454, 455, 456, 457, 1320, 459, 0, 460, + 461, 462, 463, 0, 1323, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, - 0, 0, 477, 478, 479, 480, 481, 482, 483, 484, + 0, 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, - 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, + 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, - 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, + 541, 3483, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 1330, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, - 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, + 578, 579, 580, 581, 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, - 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, + 594, 595, 596, 0, 0, 597, 598, 1336, 600, 1337, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, + 0, 0, 611, 612, 613, 614, 615, 1340, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, - 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, - 642, 643, 644, 645, 646, 647, 648, 649, 650, 0, - 0, 0, 0, 658, 0, 0, 0, 0, 0, 0, + 632, 633, 634, 635, 636, 637, 1342, 1343, 1344, 1345, + 642, 1346, 1347, 1348, 1349, 3484, 648, 649, 650, 0, + 0, 0, 0, 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 5684, 235, 236, 237, 238, 239, 240, 241, 242, + 0, 56, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, - 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, - 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, - 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, - 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, + 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, + 263, 264, 265, 266, 267, 268, 269, 0, 1280, 270, + 271, 272, 273, 274, 0, 275, 276, 277, 278, 1283, + 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, - 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, - 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, + 297, 0, 298, 299, 300, 301, 1285, 1286, 1287, 1288, + 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, - 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, - 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, - 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, - 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, + 342, 343, 344, 345, 346, 1296, 0, 348, 0, 349, + 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, + 0, 358, 359, 360, 361, 362, 0, 363, 1299, 0, + 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, - 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, - 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, - 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, - 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, - 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, - 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, - 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, - 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, - 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, - 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, + 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, + 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, + 400, 3480, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, + 410, 1313, 412, 413, 414, 415, 416, 417, 418, 0, + 0, 419, 1314, 421, 422, 423, 0, 424, 425, 426, + 1315, 1316, 427, 428, 429, 430, 431, 432, 433, 434, + 435, 436, 1317, 438, 439, 440, 441, 442, 443, 444, + 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, + 455, 456, 457, 1320, 459, 0, 460, 461, 462, 463, + 0, 1323, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, - 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, + 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, - 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, + 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, - 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, - 544, 545, 546, 547, 548, 549, 550, 551, 40, 552, - 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, - 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, + 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, + 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, + 553, 554, 555, 556, 1330, 557, 558, 559, 560, 561, + 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, - 581, 582, 583, 0, 584, 585, 0, 44, 586, 0, + 581, 1332, 583, 0, 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, - 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, + 0, 0, 597, 598, 1336, 600, 1337, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, - 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, - 620, 1206, 622, 0, 623, 0, 625, 626, 627, 628, - 629, 0, 0, 630, 0, 49, 631, 632, 633, 634, - 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, - 645, 646, 647, 648, 649, 650, 0, 0, 0, 50, - 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 56, 235, + 612, 613, 614, 615, 1340, 0, 616, 617, 618, 619, + 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, + 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, + 635, 636, 637, 1342, 1343, 1344, 1345, 642, 1346, 1347, + 1348, 1349, 647, 648, 649, 650, 0, 0, 0, 0, + 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 4937, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, - 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, - 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, - 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, - 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, - 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, - 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, - 299, 300, 301, 0, 0, 0, 2917, 0, 0, 0, + 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, + 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, + 266, 267, 268, 269, 0, 1280, 270, 271, 272, 273, + 274, 0, 275, 276, 277, 278, 1283, 0, 1284, 0, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, + 299, 300, 301, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, - 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, - 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, - 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, + 345, 346, 1296, 0, 348, 0, 349, 350, 351, 352, + 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, + 360, 361, 362, 0, 363, 1299, 0, 365, 366, 367, + 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, - 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, - 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, - 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, - 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, - 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, - 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, - 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, + 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, + 0, 395, 0, 396, 397, 398, 399, 400, 3480, 1305, + 1306, 1307, 1308, 1309, 1310, 1311, 1312, 410, 1313, 412, + 413, 414, 415, 416, 417, 418, 0, 0, 419, 1314, + 421, 422, 423, 0, 424, 425, 426, 1315, 1316, 427, + 428, 429, 430, 431, 432, 433, 434, 435, 436, 1317, + 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, - 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, + 1320, 459, 0, 460, 461, 462, 463, 0, 1323, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, - 862, 474, 475, 476, 0, 0, 477, 478, 479, 0, - 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, - 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, + 0, 474, 475, 476, 0, 0, 477, 478, 479, 480, + 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, + 491, 492, 493, 494, 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, - 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, + 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, - 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, + 556, 1330, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, - 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, - 0, 584, 585, 0, 2918, 2919, 0, 588, 589, 590, + 574, 575, 576, 577, 578, 579, 580, 581, 1332, 583, + 0, 584, 585, 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, - 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, + 598, 1336, 600, 1337, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, - 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, - 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, + 615, 1340, 0, 616, 617, 618, 619, 620, 621, 622, + 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, - 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, - 648, 649, 650, 0, 0, 0, 0, 658, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 1865, 235, 236, 237, 238, + 1342, 1343, 1344, 1345, 642, 1346, 1347, 1348, 1349, 647, + 648, 649, 650, 0, 0, 0, 0, 968, 0, 1606, + 717, 0, 0, 0, 0, 778, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 6152, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, - 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, + 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, + 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, - 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, - 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, - 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, - 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, - 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, + 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, + 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, + 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, + 306, 307, 308, 309, 310, 311, 5940, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, - 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, - 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, + 1832, 348, 0, 349, 350, 351, 352, 353, 0, 354, + 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, - 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, + 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, + 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, - 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, + 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, - 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, + 416, 417, 418, 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, - 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, + 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, - 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, - 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, - 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, + 460, 461, 462, 463, 0, 464, 465, 466, 467, 468, + 469, 470, 0, 471, 472, 473, 1833, 0, 474, 475, + 476, 0, 0, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, + 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, - 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, + 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, - 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, + 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, - 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, + 601, 1834, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, - 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, + 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, - 0, 0, 0, 0, 658, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1417, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, + 0, 0, 0, 0, 968, 0, 0, 0, 0, 0, + 0, 0, 0, 1607, 1608, 5941, 0, 0, 0, 0, + 0, 0, 5942, 235, 236, 237, 238, 239, 240, 241, + 242, 243, 0, 244, 245, 246, 3, 4, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, - 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, + 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, - 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, - 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, - 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, - 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, + 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, + 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, + 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, - 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, + 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, - 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, - 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, - 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, - 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, + 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, + 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, + 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, + 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, - 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, + 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, - 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, - 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, + 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, - 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, + 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, - 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, - 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, + 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 40, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, - 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, + 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, - 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, - 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, + 580, 581, 582, 583, 0, 584, 585, 0, 44, 586, + 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, - 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, - 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, + 619, 620, 1206, 622, 0, 623, 624, 625, 626, 627, + 628, 629, 0, 0, 630, 0, 49, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, - 644, 645, 646, 647, 648, 649, 650, 0, 0, 0, - 0, 658, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 3542, + 644, 645, 646, 647, 648, 649, 650, 1047, 0, 0, + 50, 234, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, - 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, + 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, + 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, - 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, - 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, + 273, 274, 0, 275, 276, 277, 278, 279, 0, 280, + 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, + 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, - 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, + 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, - 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, + 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, - 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, + 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, + 394, 0, 395, 0, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, + 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, - 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, + 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, + 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, - 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, + 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, + 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, + 555, 556, 0, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, - 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, + 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, - 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, + 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 0, 0, 0, 0, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 4219, 235, 236, 237, + 0, 0, 0, 0, 0, 0, 5684, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, @@ -11444,305 +11159,39 @@ static const yytype_int16 yytable[] = 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, - 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, + 549, 550, 551, 40, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, - 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, + 585, 0, 44, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, - 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, + 0, 616, 617, 618, 619, 620, 1206, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, - 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, + 49, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, - 650, 0, 0, 0, 0, 2114, 0, 0, 0, 0, - 0, 0, 2115, 0, 0, 2116, 0, 0, 0, 2117, - 2118, 2119, 0, 4866, 2120, 2121, 2122, 2123, 2124, 2125, - 2126, 2127, 2128, 2129, 2130, 2131, 2132, 2133, 2134, 2135, - 2136, 0, 2137, 2138, 2139, 2140, 2141, 2142, 2143, 2144, - 2145, 2146, 2147, 2148, 2149, 2150, 2151, 2152, 2153, 2154, - 2155, 2156, 2157, 2158, 2159, 2160, 2161, 2162, 2163, 2164, - 2165, 2166, 2167, 0, 0, 2168, 2169, 2170, 2171, 2172, - 2173, 2174, 2175, 2176, 2177, 2178, 2179, 2180, 2181, 2182, - 2183, 2184, 2185, 2186, 2187, 2188, 2189, 2190, 2191, 2192, - 2193, 2194, 2195, 0, 2196, 2197, 2198, 2199, 2200, 2201, - 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 0, - 2211, 2212, 2213, 2214, 2215, 2216, 2217, 2218, 2219, 2220, - 2221, 2222, 2223, 2224, 2225, 2226, 2227, 2228, 2229, 2230, - 2231, 2232, 2233, 2234, 2235, 2236, 2237, 2238, 2239, 2240, - 2241, 2242, 2243, 2244, 2245, 2246, 2247, 0, 2248, 2249, - 2250, 2251, 2252, 2253, 2254, 2255, 2256, 2257, 2258, 2259, - 0, 0, 2260, 2261, 2262, 2263, 0, 2264, 2265, 2266, - 2267, 2268, 0, 2269, 2270, 2271, 2272, 2273, 0, 2274, - 2275, 0, 2276, 2277, 2278, 0, 2279, 2280, 0, 2281, - 2282, 2283, 2284, 2285, 2286, 2287, 2288, 2289, 2290, 2291, - 2292, 2293, 2294, 2295, 2296, 2297, 2298, 2299, 2300, 2301, - 2302, 2303, 2304, 2305, 2306, 0, 2307, 0, 2308, 2309, - 2310, 2311, 2312, 2313, 2314, 2315, 2316, 2317, 2318, 2319, - 2320, 2321, 2322, 2323, 2324, 2325, 2326, 2327, 2328, 2329, - 2330, 2331, 2332, 2333, 2334, 2335, 2336, 2337, 0, 2338, - 2339, 2340, 2341, 2342, 2343, 2344, 2345, 2346, 2347, 2348, - 2349, 2350, 2351, 2352, 2353, 2354, 0, 2355, 2356, 0, - 2357, 2358, 2359, 2360, 2361, 2362, 2363, 2364, 2365, 2366, - 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, - 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2384, 2385, 2386, - 0, 2387, 2388, 2389, 0, 2390, 2391, 2392, 2393, 2394, - 0, 2395, 2396, 2397, 2398, 0, 0, 2399, 2400, 2401, - 2402, 2403, 2404, 2405, 2406, 2407, 2408, 2409, 2410, 2411, - 2412, 2413, 2414, 2415, 2416, 2417, 0, 2418, 2419, 2420, - 2421, 2422, 2423, 2424, 2425, 2426, 2427, 2428, 2429, 2430, - 2431, 2432, 2433, 2434, 2435, 2436, 2437, 2438, 2439, 2440, - 2441, 2442, 2443, 2444, 2445, 2446, 2447, 2448, 2449, 2450, - 0, 2451, 2452, 2453, 2454, 2455, 2456, 2457, 2458, 2459, - 2460, 2461, 2462, 2463, 2464, 2465, 2466, 2467, 0, 2468, - 2469, 2470, 2471, 2472, 2473, 2474, 2475, 2476, 2477, 2478, - 2479, 2480, 2481, 2482, 2483, 2484, 2485, 2486, 2487, 2488, - 2489, 2490, 2491, 2492, 2493, 2494, 2495, 2496, 2497, 2498, - 2499, 2500, 2501, 2502, 2503, 2504, 2505, 2506, 2507, 2508, - 2509, 2510, 2511, 2512, 2513, 2514, 2515, 2516, 2517, 2518, - 2519, 2520, 0, 2521, 2522, 2523, 2524, 2525, 2526, 2527, - 2528, 2529, 2530, 2531, 2532, 2533, 2534, 2535, 2536, 0, - 2537, 2538, 2539, 2540, 2541, 2542, 2543, 2544, 2545, 2546, - 2547, 2548, 2549, 2550, 2551, 2552, 0, 2553, 2554, 2555, - 2556, 2557, 2558, 2559, 0, 2560, 0, 0, 0, 0, - 2561, 2562, 2563, 2564, 2565, 2566, 2567, 2568, 2569, 2570, - 2571, 2572, 2573, 2574, 2575, 0, 2576, 2577, 0, 2578, - 0, 0, 0, 0, 0, 0, 0, 0, 2579, 2580, - 2581, 2582, 2583, 2584, 2585, 2586, 2587, 879, 0, 1605, - 717, 0, 0, 0, 982, 778, 0, 0, 0, 0, - 0, 983, 984, 985, 0, 0, 235, 236, 237, 238, - 239, 240, 241, 242, 243, 1743, 244, 245, 246, 1744, - 1745, 1746, 1747, 1748, 1749, 1750, 247, 248, 249, 1751, - 250, 251, 252, 253, 254, 255, 256, 257, 0, 880, - 260, 881, 882, 1752, 263, 264, 265, 266, 267, 268, - 269, 1753, 1754, 270, 271, 883, 884, 274, 1755, 275, - 276, 277, 278, 0, 1756, 280, 1757, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 1758, 292, - 293, 294, 295, 296, 297, 1759, 298, 299, 300, 301, - 1760, 1761, 1762, 302, 1763, 1764, 1765, 303, 304, 305, - 306, 307, 308, 885, 886, 311, 1766, 312, 1767, 313, - 314, 315, 316, 317, 318, 319, 1768, 320, 321, 322, - 323, 1769, 1770, 324, 325, 887, 327, 328, 1771, 329, - 330, 331, 332, 1772, 333, 334, 335, 336, 337, 1773, - 338, 339, 340, 341, 0, 343, 344, 345, 346, 0, - 1774, 348, 1775, 349, 350, 351, 888, 353, 1776, 354, - 1777, 355, 356, 357, 1778, 358, 359, 360, 361, 362, - 1779, 363, 0, 1780, 0, 366, 367, 1781, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 1782, 378, - 379, 380, 381, 382, 383, 384, 385, 1783, 386, 387, - 0, 389, 390, 391, 392, 889, 890, 1784, 891, 1785, - 396, 397, 398, 399, 400, 892, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 412, 413, 414, 415, - 416, 417, 418, 1786, 1787, 419, 0, 421, 422, 423, - 1788, 424, 425, 426, 1789, 1790, 427, 428, 429, 430, - 431, 432, 433, 434, 435, 436, 0, 438, 439, 440, - 441, 442, 443, 444, 445, 893, 447, 894, 449, 450, - 451, 452, 453, 454, 455, 456, 4545, 0, 459, 1791, - 460, 461, 462, 463, 1792, 0, 465, 895, 467, 468, - 469, 470, 1793, 471, 472, 473, 1794, 1795, 4546, 475, - 476, 1796, 1797, 477, 478, 0, 480, 481, 482, 0, - 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 1798, 496, 497, 498, 0, 500, 0, 502, - 503, 504, 1799, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 896, 517, 518, 519, 1800, 520, - 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 1801, 533, 534, 535, 536, 537, 538, 539, - 540, 0, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 1802, 552, 553, 554, 555, 556, 1803, 557, - 558, 2743, 560, 561, 562, 563, 564, 898, 566, 1804, - 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, - 577, 578, 579, 580, 581, 0, 583, 1805, 584, 585, - 1806, 1807, 586, 587, 588, 589, 590, 591, 592, 593, - 1808, 594, 899, 900, 1809, 1810, 597, 598, 0, 600, - 0, 1811, 602, 603, 604, 605, 606, 607, 608, 609, - 610, 1812, 1813, 611, 612, 613, 614, 615, 1814, 1815, - 616, 617, 618, 619, 620, 0, 901, 1816, 623, 624, - 625, 626, 627, 628, 629, 1817, 1818, 630, 1819, 1820, - 631, 632, 633, 634, 635, 636, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 648, 649, 650, + 650, 0, 0, 0, 50, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 988, 989, 990, 4547, 4548, 993, 994, 995, 996, 879, - 0, 1605, 717, 0, 0, 0, 982, 778, 0, 0, - 0, 0, 0, 983, 984, 985, 0, 0, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 1743, 244, 245, - 246, 1744, 1745, 1746, 1747, 1748, 1749, 1750, 247, 248, - 249, 1751, 250, 251, 252, 253, 254, 255, 256, 257, - 0, 880, 260, 881, 882, 1752, 263, 264, 265, 266, - 267, 268, 269, 1753, 1754, 270, 271, 883, 884, 274, - 1755, 275, 276, 277, 278, 0, 1756, 280, 1757, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 1758, 292, 293, 294, 295, 296, 297, 1759, 298, 299, - 300, 301, 1760, 1761, 1762, 302, 1763, 1764, 1765, 303, - 304, 305, 306, 307, 308, 885, 886, 311, 1766, 312, - 1767, 313, 314, 315, 316, 317, 318, 319, 1768, 320, - 321, 322, 323, 1769, 1770, 324, 325, 887, 327, 328, - 1771, 329, 330, 331, 332, 1772, 333, 334, 335, 336, - 337, 1773, 338, 339, 340, 341, 0, 343, 344, 345, - 346, 0, 1774, 348, 1775, 349, 350, 351, 888, 353, - 1776, 354, 1777, 355, 356, 357, 1778, 358, 359, 360, - 361, 362, 1779, 363, 0, 1780, 0, 366, 367, 1781, - 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - 1782, 378, 379, 380, 381, 382, 383, 384, 385, 1783, - 386, 387, 0, 389, 390, 391, 392, 889, 890, 1784, - 891, 1785, 396, 397, 398, 399, 400, 892, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 412, 413, - 414, 415, 416, 417, 418, 1786, 1787, 419, 0, 421, - 422, 423, 1788, 424, 425, 426, 1789, 1790, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 0, 438, - 439, 440, 441, 442, 443, 444, 445, 893, 447, 894, - 449, 450, 451, 452, 453, 454, 455, 456, 5009, 0, - 459, 1791, 460, 461, 462, 463, 1792, 0, 465, 895, - 467, 468, 469, 470, 1793, 471, 472, 473, 1794, 1795, - 4546, 475, 476, 1796, 1797, 477, 478, 0, 480, 481, - 482, 0, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 1798, 496, 497, 498, 0, 500, - 0, 502, 503, 504, 1799, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 896, 517, 518, 519, - 1800, 520, 521, 522, 523, 524, 525, 526, 527, 528, - 529, 530, 531, 532, 1801, 533, 534, 535, 536, 537, - 538, 539, 540, 0, 542, 543, 544, 545, 546, 547, - 548, 549, 550, 551, 1802, 552, 553, 554, 555, 556, - 1803, 557, 558, 2743, 560, 561, 562, 563, 564, 898, - 566, 1804, 567, 568, 569, 570, 571, 572, 573, 574, - 575, 576, 577, 578, 579, 580, 581, 0, 583, 1805, - 584, 585, 1806, 1807, 586, 587, 588, 589, 590, 591, - 592, 593, 1808, 594, 899, 900, 1809, 1810, 597, 598, - 0, 600, 0, 1811, 602, 603, 604, 605, 606, 607, - 608, 609, 610, 1812, 1813, 611, 612, 613, 614, 615, - 1814, 1815, 616, 617, 618, 619, 620, 0, 901, 1816, - 623, 624, 625, 626, 627, 628, 629, 1817, 1818, 630, - 1819, 1820, 631, 632, 633, 634, 635, 636, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 648, - 649, 650, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 988, 989, 990, 4547, 4548, 993, 994, 995, - 996, 658, 0, 0, 0, 0, 0, 0, 982, 0, - 0, 0, 0, 0, 0, 983, 984, 985, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, - 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, - 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, - 273, 274, 0, 275, 986, 277, 278, 279, 0, 0, - 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, - 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, - 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, - 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, - 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, - 344, 345, 346, 347, 0, 987, 0, 349, 350, 351, - 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, - 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, - 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, - 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, - 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, - 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, - 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, - 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, - 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, - 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, - 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, - 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, - 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, - 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, - 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, - 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, - 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, - 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, - 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, - 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, - 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, - 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, - 647, 648, 649, 650, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 988, 989, 990, 991, 992, 993, - 994, 995, 996, 658, 0, 0, 0, 0, 0, 0, - 982, 0, 0, 0, 0, 0, 0, 983, 984, 985, - 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, - 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, - 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, - 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, - 271, 272, 273, 274, 0, 275, 1103, 277, 278, 279, - 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, - 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, - 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, - 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, - 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, - 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, - 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, - 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, - 342, 343, 344, 345, 346, 347, 0, 1104, 0, 349, - 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, - 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, - 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, - 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, - 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, - 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, - 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, - 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, - 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, - 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, - 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, - 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, - 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, - 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, - 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, - 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, - 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, - 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, - 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, - 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, - 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, - 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, - 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, - 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, - 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, - 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, - 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, - 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, - 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, - 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, - 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, - 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, - 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, - 645, 646, 647, 648, 649, 650, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 988, 989, 990, 991, - 992, 993, 994, 995, 996, 658, 0, 0, 0, 0, - 0, 0, 982, 0, 0, 0, 0, 0, 0, 983, - 984, 985, 0, 0, 235, 236, 237, 238, 239, 240, + 0, 0, 0, 56, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, - 0, 270, 271, 272, 273, 274, 0, 275, 1169, 277, + 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, - 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, + 0, 2918, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, - 340, 341, 342, 343, 344, 345, 346, 347, 0, 1170, + 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 1171, 0, 374, 375, 376, 377, 0, 378, 379, 380, + 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, @@ -11753,7 +11202,7 @@ static const yytype_int16 yytable[] = 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, - 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, + 0, 471, 472, 473, 0, 863, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, @@ -11765,8 +11214,8 @@ static const yytype_int16 yytable[] = 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, - 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, - 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, + 579, 580, 581, 582, 583, 0, 584, 585, 0, 2919, + 2920, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, @@ -11774,63 +11223,60 @@ static const yytype_int16 yytable[] = 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 988, 989, - 990, 991, 992, 993, 994, 995, 996, 658, 0, 0, - 0, 0, 0, 0, 982, 0, 0, 0, 0, 0, - 0, 983, 984, 985, 0, 0, 235, 236, 237, 238, - 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, - 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, - 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, - 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, - 1848, 277, 278, 279, 0, 0, 0, 281, 282, 283, - 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, - 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, - 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, - 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, - 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, - 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, - 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, - 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, - 0, 1849, 0, 349, 350, 351, 352, 353, 0, 354, - 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, - 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, - 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, - 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, - 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, - 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, - 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, - 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, - 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, - 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, - 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, - 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, - 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, - 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, - 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, - 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, - 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, - 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, - 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, - 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, - 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, - 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, - 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, - 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, - 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, - 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, - 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, - 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, - 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, + 0, 0, 658, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1866, 235, 236, 237, 238, 239, 240, 241, 242, 243, + 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, + 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, + 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, + 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, + 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, + 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, + 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, + 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, + 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, + 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, + 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, + 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, + 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, + 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, + 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, + 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, + 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, + 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, + 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, + 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, + 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, + 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, + 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, + 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, + 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, + 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, + 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, + 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, + 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, + 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, + 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, + 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, + 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, + 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, + 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, + 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, + 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, + 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, + 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, + 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, + 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, + 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, + 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, + 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, + 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, + 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, + 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, + 646, 647, 648, 649, 650, 0, 0, 0, 0, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 988, 989, 990, 991, 992, 993, 994, 995, 996, 658, - 0, 0, 0, 0, 0, 0, 982, 0, 0, 0, - 0, 0, 0, 983, 984, 985, 0, 0, 235, 236, + 0, 0, 0, 0, 0, 0, 0, 1418, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, @@ -11880,64 +11326,61 @@ static const yytype_int16 yytable[] = 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, - 649, 650, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 988, 989, 990, 991, 992, 993, 994, 995, - 996, 658, 0, 0, 0, 0, 0, 0, 982, 0, - 0, 0, 0, 0, 0, 983, 984, 985, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, - 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, - 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, - 273, 274, 0, 275, 3607, 277, 278, 279, 0, 0, - 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, - 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, - 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, - 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, - 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, - 344, 345, 346, 347, 0, 3608, 0, 349, 350, 351, - 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, - 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, - 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, - 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, - 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, - 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, - 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, - 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, - 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, - 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, - 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, - 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, - 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, - 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, - 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, - 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, - 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, - 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, - 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, - 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, - 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, - 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, - 647, 648, 649, 650, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 988, 989, 990, 991, 992, 993, - 994, 995, 996, 658, 0, 0, 0, 0, 0, 0, - 982, 0, 0, 0, 0, 0, 0, 983, 984, 985, - 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, + 649, 650, 0, 0, 0, 0, 658, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 3543, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, + 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, + 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, + 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, + 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, + 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, + 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, + 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, + 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, + 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, + 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, + 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, + 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, + 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, + 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, + 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, + 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, + 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, + 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, + 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, + 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, + 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, + 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, + 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, + 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, + 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, + 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, + 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, + 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, + 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, + 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, + 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, + 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, + 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, + 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, + 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, + 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, + 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, + 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, + 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, + 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, + 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, + 642, 643, 644, 645, 646, 647, 648, 649, 650, 0, + 0, 0, 0, 658, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 4219, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, @@ -11966,7 +11409,7 @@ static const yytype_int16 yytable[] = 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, - 472, 473, 0, 0, 5664, 475, 476, 0, 0, 477, + 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, @@ -11986,117 +11429,334 @@ static const yytype_int16 yytable[] = 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, - 645, 646, 647, 648, 649, 650, 1742, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 988, 989, 990, 991, - 992, 993, 994, 995, 996, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 1743, 244, 245, 246, 1744, 1745, - 1746, 1747, 1748, 1749, 1750, 247, 248, 249, 1751, 250, - 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, - 261, 262, 1752, 263, 264, 265, 266, 267, 268, 269, - 1753, 1754, 270, 271, 272, 273, 274, 1755, 275, 276, - 277, 278, 279, 1756, 280, 1757, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 290, 291, 1758, 292, 293, - 294, 295, 296, 297, 1759, 298, 299, 300, 301, 1760, - 1761, 1762, 302, 1763, 1764, 1765, 303, 304, 305, 306, - 307, 308, 309, 310, 311, 1766, 312, 1767, 313, 314, - 315, 316, 317, 318, 319, 1768, 320, 321, 322, 323, - 1769, 1770, 324, 325, 326, 327, 328, 1771, 329, 330, - 331, 332, 1772, 333, 334, 335, 336, 337, 1773, 338, - 339, 340, 341, 342, 343, 344, 345, 346, 347, 1774, - 348, 1775, 349, 350, 351, 352, 353, 1776, 354, 1777, - 355, 356, 357, 1778, 358, 359, 360, 361, 362, 1779, - 363, 364, 1780, 365, 366, 367, 1781, 368, 369, 370, - 371, 372, 373, 374, 375, 376, 377, 1782, 378, 379, - 380, 381, 382, 383, 384, 385, 1783, 386, 387, 388, - 389, 390, 391, 392, 393, 394, 1784, 395, 1785, 396, - 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, - 417, 418, 1786, 1787, 419, 420, 421, 422, 423, 1788, - 424, 425, 426, 1789, 1790, 427, 428, 429, 430, 431, - 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, - 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, - 452, 453, 454, 455, 456, 457, 458, 459, 1791, 460, - 461, 462, 463, 1792, 464, 465, 466, 467, 468, 469, - 470, 1793, 471, 472, 473, 1794, 1795, 474, 475, 476, - 1796, 1797, 477, 478, 479, 480, 481, 482, 483, 484, - 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, - 495, 1798, 496, 497, 498, 499, 500, 501, 502, 503, - 504, 1799, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 516, 517, 518, 519, 1800, 520, 521, - 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, - 532, 1801, 533, 534, 535, 536, 537, 538, 539, 540, - 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 1802, 552, 553, 554, 555, 556, 1803, 557, 558, - 559, 560, 561, 562, 563, 564, 565, 566, 1804, 567, - 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, - 578, 579, 580, 581, 582, 583, 1805, 584, 585, 1806, - 1807, 586, 587, 588, 589, 590, 591, 592, 593, 1808, - 594, 595, 596, 1809, 1810, 597, 598, 599, 600, 601, - 1811, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 1812, 1813, 611, 612, 613, 614, 615, 1814, 1815, 616, - 617, 618, 619, 620, 621, 622, 1816, 623, 624, 625, - 626, 627, 628, 629, 1817, 1818, 630, 1819, 1820, 631, - 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, - 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1821, 0, 0, 0, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, - 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, - 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, - 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, - 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, - 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, - 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, - 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, - 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, - 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, - 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, - 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, - 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, - 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, - 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, - 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, - 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, - 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, - 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, - 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, - 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, - 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, - 414, 415, 416, 417, 418, 0, 0, 419, 420, 0, - 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, - 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, - 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, - 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, - 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, - 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, - 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, - 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, - 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, - 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, - 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, - 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, - 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, - 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, - 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, - 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, - 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, - 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, - 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, - 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, - 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, - 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, - 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, - 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 868, 0, 0, + 645, 646, 647, 648, 649, 650, 0, 0, 0, 0, + 2115, 0, 0, 0, 0, 0, 0, 2116, 0, 0, + 2117, 0, 0, 0, 2118, 2119, 2120, 0, 4866, 2121, + 2122, 2123, 2124, 2125, 2126, 2127, 2128, 2129, 2130, 2131, + 2132, 2133, 2134, 2135, 2136, 2137, 0, 2138, 2139, 2140, + 2141, 2142, 2143, 2144, 2145, 2146, 2147, 2148, 2149, 2150, + 2151, 2152, 2153, 2154, 2155, 2156, 2157, 2158, 2159, 2160, + 2161, 2162, 2163, 2164, 2165, 2166, 2167, 2168, 0, 0, + 2169, 2170, 2171, 2172, 2173, 2174, 2175, 2176, 2177, 2178, + 2179, 2180, 2181, 2182, 2183, 2184, 2185, 2186, 2187, 2188, + 2189, 2190, 2191, 2192, 2193, 2194, 2195, 2196, 0, 2197, + 2198, 2199, 2200, 2201, 2202, 2203, 2204, 2205, 2206, 2207, + 2208, 2209, 2210, 2211, 0, 2212, 2213, 2214, 2215, 2216, + 2217, 2218, 2219, 2220, 2221, 2222, 2223, 2224, 2225, 2226, + 2227, 2228, 2229, 2230, 2231, 2232, 2233, 2234, 2235, 2236, + 2237, 2238, 2239, 2240, 2241, 2242, 2243, 2244, 2245, 2246, + 2247, 2248, 0, 2249, 2250, 2251, 2252, 2253, 2254, 2255, + 2256, 2257, 2258, 2259, 2260, 0, 0, 2261, 2262, 2263, + 2264, 0, 2265, 2266, 2267, 2268, 2269, 0, 2270, 2271, + 2272, 2273, 2274, 0, 2275, 2276, 0, 2277, 2278, 2279, + 0, 2280, 2281, 0, 2282, 2283, 2284, 2285, 2286, 2287, + 2288, 2289, 2290, 2291, 2292, 2293, 2294, 2295, 2296, 2297, + 2298, 2299, 2300, 2301, 2302, 2303, 2304, 2305, 2306, 2307, + 0, 2308, 0, 2309, 2310, 2311, 2312, 2313, 2314, 2315, + 2316, 2317, 2318, 2319, 2320, 2321, 2322, 2323, 2324, 2325, + 2326, 2327, 2328, 2329, 2330, 2331, 2332, 2333, 2334, 2335, + 2336, 2337, 2338, 0, 2339, 2340, 2341, 2342, 2343, 2344, + 2345, 2346, 2347, 2348, 2349, 2350, 2351, 2352, 2353, 2354, + 2355, 0, 2356, 2357, 0, 2358, 2359, 2360, 2361, 2362, + 2363, 2364, 2365, 2366, 2367, 2368, 2369, 2370, 2371, 2372, + 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, + 2383, 2384, 2385, 2386, 2387, 0, 2388, 2389, 2390, 0, + 2391, 2392, 2393, 2394, 2395, 0, 2396, 2397, 2398, 2399, + 0, 0, 2400, 2401, 2402, 2403, 2404, 2405, 2406, 2407, + 2408, 2409, 2410, 2411, 2412, 2413, 2414, 2415, 2416, 2417, + 2418, 0, 2419, 2420, 2421, 2422, 2423, 2424, 2425, 2426, + 2427, 2428, 2429, 2430, 2431, 2432, 2433, 2434, 2435, 2436, + 2437, 2438, 2439, 2440, 2441, 2442, 2443, 2444, 2445, 2446, + 2447, 2448, 2449, 2450, 2451, 0, 2452, 2453, 2454, 2455, + 2456, 2457, 2458, 2459, 2460, 2461, 2462, 2463, 2464, 2465, + 2466, 2467, 2468, 0, 2469, 2470, 2471, 2472, 2473, 2474, + 2475, 2476, 2477, 2478, 2479, 2480, 2481, 2482, 2483, 2484, + 2485, 2486, 2487, 2488, 2489, 2490, 2491, 2492, 2493, 2494, + 2495, 2496, 2497, 2498, 2499, 2500, 2501, 2502, 2503, 2504, + 2505, 2506, 2507, 2508, 2509, 2510, 2511, 2512, 2513, 2514, + 2515, 2516, 2517, 2518, 2519, 2520, 2521, 0, 2522, 2523, + 2524, 2525, 2526, 2527, 2528, 2529, 2530, 2531, 2532, 2533, + 2534, 2535, 2536, 2537, 0, 2538, 2539, 2540, 2541, 2542, + 2543, 2544, 2545, 2546, 2547, 2548, 2549, 2550, 2551, 2552, + 2553, 0, 2554, 2555, 2556, 2557, 2558, 2559, 2560, 0, + 2561, 0, 0, 0, 0, 2562, 2563, 2564, 2565, 2566, + 2567, 2568, 2569, 2570, 2571, 2572, 2573, 2574, 2575, 2576, + 0, 2577, 2578, 0, 2579, 0, 0, 0, 0, 0, + 0, 0, 0, 2580, 2581, 2582, 2583, 2584, 2585, 2586, + 2587, 2588, 880, 0, 1606, 717, 0, 0, 0, 983, + 778, 0, 0, 0, 0, 0, 984, 985, 986, 0, + 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, + 1744, 244, 245, 246, 1745, 1746, 1747, 1748, 1749, 1750, + 1751, 247, 248, 249, 1752, 250, 251, 252, 253, 254, + 255, 256, 257, 0, 881, 260, 882, 883, 1753, 263, + 264, 265, 266, 267, 268, 269, 1754, 1755, 270, 271, + 884, 885, 274, 1756, 275, 276, 277, 278, 0, 1757, + 280, 1758, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 1759, 292, 293, 294, 295, 296, 297, + 1760, 298, 299, 300, 301, 1761, 1762, 1763, 302, 1764, + 1765, 1766, 303, 304, 305, 306, 307, 308, 886, 887, + 311, 1767, 312, 1768, 313, 314, 315, 316, 317, 318, + 319, 1769, 320, 321, 322, 323, 1770, 1771, 324, 325, + 888, 327, 328, 1772, 329, 330, 331, 332, 1773, 333, + 334, 335, 336, 337, 1774, 338, 339, 340, 341, 0, + 343, 344, 345, 346, 0, 1775, 348, 1776, 349, 350, + 351, 889, 353, 1777, 354, 1778, 355, 356, 357, 1779, + 358, 359, 360, 361, 362, 1780, 363, 0, 1781, 0, + 366, 367, 1782, 368, 369, 370, 371, 372, 373, 374, + 375, 376, 377, 1783, 378, 379, 380, 381, 382, 383, + 384, 385, 1784, 386, 387, 0, 389, 390, 391, 392, + 890, 891, 1785, 892, 1786, 396, 397, 398, 399, 400, + 893, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 412, 413, 414, 415, 416, 417, 418, 1787, 1788, + 419, 0, 421, 422, 423, 1789, 424, 425, 426, 1790, + 1791, 427, 428, 429, 430, 431, 432, 433, 434, 435, + 436, 0, 438, 439, 440, 441, 442, 443, 444, 445, + 894, 447, 895, 449, 450, 451, 452, 453, 454, 455, + 456, 4545, 0, 459, 1792, 460, 461, 462, 463, 1793, + 0, 465, 896, 467, 468, 469, 470, 1794, 471, 472, + 473, 1795, 1796, 4546, 475, 476, 1797, 1798, 477, 478, + 0, 480, 481, 482, 0, 484, 485, 486, 487, 488, + 489, 490, 491, 492, 493, 494, 495, 1799, 496, 497, + 498, 0, 500, 0, 502, 503, 504, 1800, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, 897, + 517, 518, 519, 1801, 520, 521, 522, 523, 524, 525, + 526, 527, 528, 529, 530, 531, 532, 1802, 533, 534, + 535, 536, 537, 538, 539, 540, 0, 542, 543, 544, + 545, 546, 547, 548, 549, 550, 551, 1803, 552, 553, + 554, 555, 556, 1804, 557, 558, 2744, 560, 561, 562, + 563, 564, 899, 566, 1805, 567, 568, 569, 570, 571, + 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, + 0, 583, 1806, 584, 585, 1807, 1808, 586, 587, 588, + 589, 590, 591, 592, 593, 1809, 594, 900, 901, 1810, + 1811, 597, 598, 0, 600, 0, 1812, 602, 603, 604, + 605, 606, 607, 608, 609, 610, 1813, 1814, 611, 612, + 613, 614, 615, 1815, 1816, 616, 617, 618, 619, 620, + 0, 902, 1817, 623, 624, 625, 626, 627, 628, 629, + 1818, 1819, 630, 1820, 1821, 631, 632, 633, 634, 635, + 636, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 648, 649, 650, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 989, 990, 991, 4547, 4548, + 994, 995, 996, 997, 880, 0, 1606, 717, 0, 0, + 0, 983, 778, 0, 0, 0, 0, 0, 984, 985, + 986, 0, 0, 235, 236, 237, 238, 239, 240, 241, + 242, 243, 1744, 244, 245, 246, 1745, 1746, 1747, 1748, + 1749, 1750, 1751, 247, 248, 249, 1752, 250, 251, 252, + 253, 254, 255, 256, 257, 0, 881, 260, 882, 883, + 1753, 263, 264, 265, 266, 267, 268, 269, 1754, 1755, + 270, 271, 884, 885, 274, 1756, 275, 276, 277, 278, + 0, 1757, 280, 1758, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 1759, 292, 293, 294, 295, + 296, 297, 1760, 298, 299, 300, 301, 1761, 1762, 1763, + 302, 1764, 1765, 1766, 303, 304, 305, 306, 307, 308, + 886, 887, 311, 1767, 312, 1768, 313, 314, 315, 316, + 317, 318, 319, 1769, 320, 321, 322, 323, 1770, 1771, + 324, 325, 888, 327, 328, 1772, 329, 330, 331, 332, + 1773, 333, 334, 335, 336, 337, 1774, 338, 339, 340, + 341, 0, 343, 344, 345, 346, 0, 1775, 348, 1776, + 349, 350, 351, 889, 353, 1777, 354, 1778, 355, 356, + 357, 1779, 358, 359, 360, 361, 362, 1780, 363, 0, + 1781, 0, 366, 367, 1782, 368, 369, 370, 371, 372, + 373, 374, 375, 376, 377, 1783, 378, 379, 380, 381, + 382, 383, 384, 385, 1784, 386, 387, 0, 389, 390, + 391, 392, 890, 891, 1785, 892, 1786, 396, 397, 398, + 399, 400, 893, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 412, 413, 414, 415, 416, 417, 418, + 1787, 1788, 419, 0, 421, 422, 423, 1789, 424, 425, + 426, 1790, 1791, 427, 428, 429, 430, 431, 432, 433, + 434, 435, 436, 0, 438, 439, 440, 441, 442, 443, + 444, 445, 894, 447, 895, 449, 450, 451, 452, 453, + 454, 455, 456, 5009, 0, 459, 1792, 460, 461, 462, + 463, 1793, 0, 465, 896, 467, 468, 469, 470, 1794, + 471, 472, 473, 1795, 1796, 4546, 475, 476, 1797, 1798, + 477, 478, 0, 480, 481, 482, 0, 484, 485, 486, + 487, 488, 489, 490, 491, 492, 493, 494, 495, 1799, + 496, 497, 498, 0, 500, 0, 502, 503, 504, 1800, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, 897, 517, 518, 519, 1801, 520, 521, 522, 523, + 524, 525, 526, 527, 528, 529, 530, 531, 532, 1802, + 533, 534, 535, 536, 537, 538, 539, 540, 0, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 1803, + 552, 553, 554, 555, 556, 1804, 557, 558, 2744, 560, + 561, 562, 563, 564, 899, 566, 1805, 567, 568, 569, + 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, + 580, 581, 0, 583, 1806, 584, 585, 1807, 1808, 586, + 587, 588, 589, 590, 591, 592, 593, 1809, 594, 900, + 901, 1810, 1811, 597, 598, 0, 600, 0, 1812, 602, + 603, 604, 605, 606, 607, 608, 609, 610, 1813, 1814, + 611, 612, 613, 614, 615, 1815, 1816, 616, 617, 618, + 619, 620, 0, 902, 1817, 623, 624, 625, 626, 627, + 628, 629, 1818, 1819, 630, 1820, 1821, 631, 632, 633, + 634, 635, 636, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 648, 649, 650, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 989, 990, 991, + 4547, 4548, 994, 995, 996, 997, 658, 0, 0, 0, + 0, 0, 0, 983, 0, 0, 0, 0, 0, 0, + 984, 985, 986, 0, 0, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, + 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, + 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, + 0, 0, 270, 271, 272, 273, 274, 0, 275, 987, + 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, + 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, + 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, + 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, + 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, + 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, + 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, + 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, + 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, + 988, 0, 349, 350, 351, 352, 353, 0, 354, 0, + 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, + 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, + 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, + 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, + 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, + 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, + 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, + 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, + 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, + 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, + 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, + 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, + 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, + 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, + 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, + 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, + 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, + 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, + 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, + 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, + 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, + 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, + 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, + 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, + 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, + 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, + 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, + 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, + 642, 643, 644, 645, 646, 647, 648, 649, 650, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 989, + 990, 991, 992, 993, 994, 995, 996, 997, 658, 0, + 0, 0, 0, 0, 0, 983, 0, 0, 0, 0, + 0, 0, 984, 985, 986, 0, 0, 235, 236, 237, + 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, + 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, + 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, + 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, + 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, + 275, 1104, 277, 278, 279, 0, 0, 0, 281, 282, + 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, + 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, + 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, + 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, + 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, + 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, + 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, + 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, + 347, 0, 1105, 0, 349, 350, 351, 352, 353, 0, + 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, + 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, + 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, + 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, + 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, + 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, + 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, + 415, 416, 417, 418, 0, 0, 419, 420, 0, 422, + 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, + 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, + 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, + 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, + 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, + 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, + 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, + 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, + 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, + 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, + 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, + 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, + 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, + 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, + 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, + 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, + 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, + 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, + 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, + 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, + 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, + 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, + 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, + 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, + 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, + 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, + 650, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 989, 990, 991, 992, 993, 994, 995, 996, 997, + 658, 0, 0, 0, 0, 0, 0, 983, 0, 0, + 0, 0, 0, 0, 984, 985, 986, 0, 0, 235, + 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, + 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, + 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, + 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, + 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, + 274, 0, 275, 1169, 277, 278, 279, 0, 0, 0, + 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, + 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, + 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, + 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, + 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, + 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, + 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, + 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, + 345, 346, 347, 0, 1170, 0, 349, 350, 351, 352, + 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, + 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, + 0, 368, 369, 370, 371, 1171, 0, 374, 375, 376, + 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, + 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, + 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, + 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, + 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, + 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, + 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, + 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, + 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, + 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, + 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, + 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, + 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, + 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, + 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, + 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, + 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, + 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, + 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, + 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, + 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, + 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, + 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, + 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, + 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, + 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, + 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, + 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, + 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, + 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, + 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, + 648, 649, 650, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 989, 990, 991, 992, 993, 994, 995, + 996, 997, 658, 0, 0, 0, 0, 0, 0, 983, + 0, 0, 0, 0, 0, 0, 984, 985, 986, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, - 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, + 272, 273, 274, 0, 275, 1849, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, @@ -12105,7 +11765,7 @@ static const yytype_int16 yytable[] = 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, - 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, + 343, 344, 345, 346, 347, 0, 1850, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, @@ -12140,60 +11800,117 @@ static const yytype_int16 yytable[] = 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, - 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 6121, 0, 0, 0, 235, 236, 237, 238, 239, 240, - 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, - 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, - 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, - 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, - 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, - 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, - 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, - 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, - 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, - 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, - 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, - 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, - 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, - 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, - 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, - 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, - 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, - 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, - 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, - 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, - 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, - 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, - 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, - 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, - 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, - 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, - 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, - 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, - 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, - 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, - 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, - 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, - 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, - 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, - 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, - 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, - 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, - 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, - 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, - 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, - 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, - 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, - 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, - 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, - 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, - 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, - 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 6123, 0, 0, 0, 235, 236, 237, + 646, 647, 648, 649, 650, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 989, 990, 991, 992, 993, + 994, 995, 996, 997, 658, 0, 0, 0, 0, 0, + 0, 983, 0, 0, 0, 0, 0, 0, 984, 985, + 986, 0, 0, 235, 236, 237, 238, 239, 240, 241, + 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, + 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, + 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, + 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, + 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, + 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, + 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, + 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, + 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, + 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, + 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, + 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, + 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, + 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, + 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, + 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, + 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, + 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, + 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, + 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, + 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, + 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, + 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, + 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, + 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, + 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, + 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, + 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, + 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, + 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, + 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, + 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, + 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, + 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, + 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, + 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, + 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, + 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, + 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, + 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, + 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, + 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, + 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, + 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, + 644, 645, 646, 647, 648, 649, 650, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 989, 990, 991, + 992, 993, 994, 995, 996, 997, 658, 0, 0, 0, + 0, 0, 0, 983, 0, 0, 0, 0, 0, 0, + 984, 985, 986, 0, 0, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, + 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, + 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, + 0, 0, 270, 271, 272, 273, 274, 0, 275, 3608, + 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, + 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, + 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, + 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, + 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, + 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, + 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, + 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, + 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, + 3609, 0, 349, 350, 351, 352, 353, 0, 354, 0, + 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, + 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, + 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, + 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, + 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, + 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, + 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, + 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, + 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, + 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, + 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, + 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, + 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, + 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, + 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, + 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, + 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, + 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, + 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, + 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, + 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, + 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, + 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, + 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, + 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, + 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, + 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, + 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, + 642, 643, 644, 645, 646, 647, 648, 649, 650, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 989, + 990, 991, 992, 993, 994, 995, 996, 997, 658, 0, + 0, 0, 0, 0, 0, 983, 0, 0, 0, 0, + 0, 0, 984, 985, 986, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, @@ -12222,7 +11939,7 @@ static const yytype_int16 yytable[] = 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, - 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, + 468, 469, 470, 0, 471, 472, 473, 0, 0, 5664, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, @@ -12243,418 +11960,418 @@ static const yytype_int16 yytable[] = 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, - 650, 879, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 6252, 0, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, - 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 0, 880, 260, 881, 882, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 0, 270, 271, 883, - 884, 274, 0, 275, 276, 277, 278, 0, 0, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, - 0, 303, 304, 305, 306, 307, 308, 885, 886, 311, - 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 887, - 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 0, 343, - 344, 345, 346, 0, 0, 348, 0, 349, 350, 351, - 888, 353, 0, 354, 0, 355, 356, 357, 0, 358, - 359, 360, 361, 362, 0, 363, 0, 0, 0, 366, - 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, 2739, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 2740, 389, 390, 391, 392, 889, - 890, 0, 891, 0, 396, 397, 398, 399, 400, 892, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 0, 421, 422, 423, 0, 424, 425, 426, 0, 0, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 0, 438, 439, 440, 441, 442, 443, 444, 445, 893, - 447, 894, 449, 450, 451, 452, 453, 454, 455, 456, - 0, 0, 459, 0, 460, 461, 462, 463, 0, 0, - 465, 895, 467, 468, 469, 470, 0, 471, 472, 473, - 0, 0, 474, 475, 476, 0, 2741, 477, 478, 2742, - 480, 481, 482, 0, 484, 485, 486, 487, 488, 489, - 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 0, 500, 0, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 896, 517, - 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, - 536, 537, 538, 539, 540, 0, 542, 543, 544, 545, - 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 2743, 560, 561, 562, 563, - 564, 898, 566, 0, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 0, - 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, - 590, 591, 592, 593, 0, 594, 899, 900, 0, 0, - 597, 598, 0, 600, 0, 0, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, - 614, 615, 0, 0, 616, 617, 618, 619, 620, 0, - 901, 2744, 623, 624, 625, 626, 627, 628, 629, 0, - 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 0, 3966, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 648, 649, 650, 0, 0, 0, 0, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 2745, - 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 0, 880, 260, 881, 882, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 0, 270, 271, 883, - 884, 274, 0, 275, 276, 277, 278, 0, 0, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, - 0, 303, 304, 305, 306, 307, 308, 885, 886, 311, - 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 887, - 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 0, 343, - 344, 345, 346, 0, 0, 348, 0, 349, 350, 351, - 888, 353, 0, 354, 0, 355, 356, 357, 0, 358, - 359, 360, 361, 362, 0, 363, 0, 0, 0, 366, - 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, 2739, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 2740, 389, 390, 391, 392, 889, - 890, 0, 891, 0, 396, 397, 398, 399, 400, 892, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 0, 421, 422, 423, 0, 424, 425, 426, 0, 0, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 0, 438, 439, 440, 441, 442, 443, 444, 445, 893, - 447, 894, 449, 450, 451, 452, 453, 454, 455, 456, - 0, 0, 459, 0, 460, 461, 462, 463, 0, 0, - 465, 895, 467, 468, 469, 470, 0, 471, 472, 473, - 0, 0, 474, 475, 476, 0, 2741, 477, 478, 2742, - 480, 481, 482, 0, 484, 485, 486, 487, 488, 489, - 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 0, 500, 0, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 896, 517, - 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, - 536, 537, 538, 539, 540, 0, 542, 543, 544, 545, - 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 2743, 560, 561, 562, 563, - 564, 898, 566, 0, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 0, - 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, - 590, 591, 592, 593, 0, 594, 899, 900, 0, 0, - 597, 598, 0, 600, 0, 0, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, - 614, 615, 0, 0, 616, 617, 618, 619, 620, 0, - 901, 2744, 623, 624, 625, 626, 627, 628, 629, 0, - 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 0, 967, 0, 1605, 717, 0, 0, 0, 0, 778, - 2629, 648, 649, 650, 0, 0, 0, 0, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 2745, - 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, - 273, 274, 0, 275, 276, 277, 278, 279, 0, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, - 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, - 2630, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, - 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, - 344, 345, 346, 347, 1831, 348, 0, 349, 350, 351, - 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, - 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, - 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 0, 395, 0, 396, 397, 398, 399, 400, 401, + 650, 1743, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 989, 990, 991, 992, 993, 994, 995, 996, 997, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 1744, + 244, 245, 246, 1745, 1746, 1747, 1748, 1749, 1750, 1751, + 247, 248, 249, 1752, 250, 251, 252, 253, 254, 255, + 256, 257, 258, 259, 260, 261, 262, 1753, 263, 264, + 265, 266, 267, 268, 269, 1754, 1755, 270, 271, 272, + 273, 274, 1756, 275, 276, 277, 278, 279, 1757, 280, + 1758, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 1759, 292, 293, 294, 295, 296, 297, 1760, + 298, 299, 300, 301, 1761, 1762, 1763, 302, 1764, 1765, + 1766, 303, 304, 305, 306, 307, 308, 309, 310, 311, + 1767, 312, 1768, 313, 314, 315, 316, 317, 318, 319, + 1769, 320, 321, 322, 323, 1770, 1771, 324, 325, 326, + 327, 328, 1772, 329, 330, 331, 332, 1773, 333, 334, + 335, 336, 337, 1774, 338, 339, 340, 341, 342, 343, + 344, 345, 346, 347, 1775, 348, 1776, 349, 350, 351, + 352, 353, 1777, 354, 1778, 355, 356, 357, 1779, 358, + 359, 360, 361, 362, 1780, 363, 364, 1781, 365, 366, + 367, 1782, 368, 369, 370, 371, 372, 373, 374, 375, + 376, 377, 1783, 378, 379, 380, 381, 382, 383, 384, + 385, 1784, 386, 387, 388, 389, 390, 391, 392, 393, + 394, 1785, 395, 1786, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, - 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, + 412, 413, 414, 415, 416, 417, 418, 1787, 1788, 419, + 420, 421, 422, 423, 1789, 424, 425, 426, 1790, 1791, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, - 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, - 1832, 0, 474, 475, 476, 0, 0, 477, 478, 479, + 457, 458, 459, 1792, 460, 461, 462, 463, 1793, 464, + 465, 466, 467, 468, 469, 470, 1794, 471, 472, 473, + 1795, 1796, 474, 475, 476, 1797, 1798, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, - 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, + 490, 491, 492, 493, 494, 495, 1799, 496, 497, 498, + 499, 500, 501, 502, 503, 504, 1800, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, - 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, + 518, 519, 1801, 520, 521, 522, 523, 524, 525, 526, + 527, 528, 529, 530, 531, 532, 1802, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, - 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 559, 560, 561, 562, 563, - 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, + 546, 547, 548, 549, 550, 551, 1803, 552, 553, 554, + 555, 556, 1804, 557, 558, 559, 560, 561, 562, 563, + 564, 565, 566, 1805, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, - 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, - 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, - 597, 598, 599, 600, 601, 1833, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, - 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, - 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, - 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, + 583, 1806, 584, 585, 1807, 1808, 586, 587, 588, 589, + 590, 591, 592, 593, 1809, 594, 595, 596, 1810, 1811, + 597, 598, 599, 600, 601, 1812, 602, 603, 604, 605, + 606, 607, 608, 609, 610, 1813, 1814, 611, 612, 613, + 614, 615, 1815, 1816, 616, 617, 618, 619, 620, 621, + 622, 1817, 623, 624, 625, 626, 627, 628, 629, 1818, + 1819, 630, 1820, 1821, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, - 647, 648, 649, 650, 967, 0, 1605, 717, 0, 0, - 0, 0, 778, 2629, 0, 0, 0, 1606, 1607, 0, + 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1822, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, - 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, + 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, - 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, - 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, - 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, - 309, 310, 311, 2635, 312, 0, 313, 314, 315, 316, + 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, + 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, + 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, + 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, + 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, - 341, 342, 343, 344, 345, 346, 347, 1831, 348, 0, + 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, - 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, + 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, - 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, - 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, - 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, - 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, + 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, + 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, + 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, + 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, - 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, + 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, - 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, - 454, 455, 456, 457, 458, 459, 0, 460, 461, 462, + 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, - 471, 472, 473, 1832, 0, 474, 475, 476, 0, 0, - 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, + 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, + 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, - 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, + 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, - 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, + 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, - 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, - 596, 0, 0, 597, 598, 599, 600, 601, 1833, 602, + 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, + 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, - 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, + 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, - 644, 645, 646, 647, 648, 649, 650, 967, 0, 1605, - 717, 0, 0, 0, 0, 778, 0, 0, 0, 0, - 1606, 1607, 0, 0, 0, 0, 235, 236, 237, 238, + 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 869, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, - 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, + 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, + 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, - 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, - 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, - 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, - 306, 307, 308, 309, 310, 311, 3574, 312, 0, 313, + 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, + 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, + 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, + 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, + 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, - 1831, 348, 0, 349, 350, 351, 352, 353, 0, 354, - 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, + 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, + 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, - 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, - 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, - 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, + 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, + 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, + 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, + 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, - 416, 417, 418, 0, 0, 419, 420, 421, 422, 423, + 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, - 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, + 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, - 460, 461, 462, 463, 0, 464, 465, 466, 467, 468, - 469, 470, 0, 471, 472, 473, 1832, 0, 474, 475, - 476, 0, 0, 477, 478, 479, 480, 481, 482, 483, + 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, + 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, + 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, + 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, - 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, + 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, - 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, + 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, - 601, 1833, 602, 603, 604, 605, 606, 607, 608, 609, + 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, - 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, + 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, - 967, 0, 1605, 717, 0, 0, 0, 0, 778, 2629, - 0, 0, 0, 1606, 1607, 0, 0, 0, 0, 235, + 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 6121, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, - 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, - 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, + 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, + 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, - 274, 0, 275, 276, 277, 278, 279, 0, 280, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, - 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, + 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, + 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, + 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, + 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, - 345, 346, 347, 1831, 348, 0, 349, 350, 351, 352, - 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, + 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, + 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, + 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, - 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, - 0, 395, 0, 396, 397, 398, 399, 400, 401, 402, + 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, + 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, - 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, + 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, - 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, + 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, - 458, 459, 0, 460, 461, 462, 463, 0, 464, 465, - 466, 467, 468, 469, 470, 0, 471, 472, 473, 1832, - 0, 474, 475, 476, 0, 0, 477, 478, 479, 480, - 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, + 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, + 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, + 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, + 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, - 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, + 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, - 556, 0, 557, 558, 559, 560, 561, 562, 563, 564, + 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, - 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, + 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, - 598, 599, 600, 601, 1833, 602, 603, 604, 605, 606, + 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, - 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, + 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, - 648, 649, 650, 967, 0, 1605, 717, 0, 0, 0, - 0, 778, 0, 0, 0, 0, 1606, 1607, 0, 0, + 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 6123, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, - 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, + 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, - 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, + 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, - 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, + 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, - 342, 343, 344, 345, 346, 347, 1831, 348, 0, 349, - 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, - 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, - 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, + 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, + 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, + 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, + 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, - 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, - 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, - 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, + 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, + 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, + 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, - 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, + 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, - 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, - 455, 456, 457, 458, 459, 0, 460, 461, 462, 463, + 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, + 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, - 472, 473, 1832, 0, 474, 475, 476, 0, 0, 477, - 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, + 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, + 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, - 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, + 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, - 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, + 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, - 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, + 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, - 0, 0, 597, 598, 599, 600, 601, 1833, 602, 603, + 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, - 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, + 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, - 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, - 0, 0, 0, 0, 778, 0, 0, 0, 0, 1606, - 1607, 0, 0, 0, 0, 235, 236, 779, 238, 239, - 240, 241, 242, 243, 780, 244, 245, 246, 0, 0, + 645, 646, 647, 648, 649, 650, 880, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 6252, 0, 0, 0, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, - 251, 252, 253, 0, 781, 256, 257, 258, 259, 0, + 251, 252, 253, 254, 255, 256, 257, 0, 881, 260, + 882, 883, 0, 263, 264, 265, 266, 267, 268, 269, + 0, 0, 270, 271, 884, 885, 274, 0, 275, 276, + 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, + 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, + 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, + 307, 308, 886, 887, 311, 0, 312, 0, 313, 314, + 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, + 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, + 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, + 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, + 348, 0, 349, 350, 351, 889, 353, 0, 354, 0, + 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, + 363, 0, 0, 0, 366, 367, 0, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, 2740, 378, 379, + 380, 381, 382, 383, 384, 385, 0, 386, 387, 2741, + 389, 390, 391, 392, 890, 891, 0, 892, 0, 396, + 397, 398, 399, 400, 893, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, + 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 0, 438, 439, 440, 441, + 442, 443, 444, 445, 894, 447, 895, 449, 450, 451, + 452, 453, 454, 455, 456, 0, 0, 459, 0, 460, + 461, 462, 463, 0, 0, 465, 896, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, + 0, 2742, 477, 478, 2743, 480, 481, 482, 0, 484, + 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, + 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, + 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, + 513, 514, 515, 897, 517, 518, 519, 0, 520, 521, + 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, + 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, + 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, + 2744, 560, 561, 562, 563, 564, 899, 566, 0, 567, + 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, + 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, + 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, + 594, 900, 901, 0, 0, 597, 598, 0, 600, 0, + 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, + 617, 618, 619, 620, 0, 902, 2745, 623, 624, 625, + 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, + 632, 633, 634, 635, 636, 0, 3967, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 648, 649, 650, 0, + 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 2746, 244, 245, 246, 0, 0, + 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 254, 255, 256, 257, 0, 881, 260, + 882, 883, 0, 263, 264, 265, 266, 267, 268, 269, + 0, 0, 270, 271, 884, 885, 274, 0, 275, 276, + 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, + 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, + 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, + 307, 308, 886, 887, 311, 0, 312, 0, 313, 314, + 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, + 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, + 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, + 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, + 348, 0, 349, 350, 351, 889, 353, 0, 354, 0, + 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, + 363, 0, 0, 0, 366, 367, 0, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, 2740, 378, 379, + 380, 381, 382, 383, 384, 385, 0, 386, 387, 2741, + 389, 390, 391, 392, 890, 891, 0, 892, 0, 396, + 397, 398, 399, 400, 893, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, + 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 0, 438, 439, 440, 441, + 442, 443, 444, 445, 894, 447, 895, 449, 450, 451, + 452, 453, 454, 455, 456, 0, 0, 459, 0, 460, + 461, 462, 463, 0, 0, 465, 896, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, + 0, 2742, 477, 478, 2743, 480, 481, 482, 0, 484, + 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, + 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, + 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, + 513, 514, 515, 897, 517, 518, 519, 0, 520, 521, + 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, + 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, + 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, + 2744, 560, 561, 562, 563, 564, 899, 566, 0, 567, + 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, + 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, + 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, + 594, 900, 901, 0, 0, 597, 598, 0, 600, 0, + 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, + 617, 618, 619, 620, 0, 902, 2745, 623, 624, 625, + 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, + 632, 633, 634, 635, 636, 0, 968, 0, 1606, 717, + 0, 0, 0, 0, 778, 2630, 648, 649, 650, 0, + 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 2746, 244, 245, 246, 0, 0, + 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, - 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, - 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, - 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, - 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, - 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, + 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, + 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, + 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, + 307, 308, 309, 310, 311, 2631, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, - 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, - 348, 0, 349, 350, 782, 352, 353, 0, 354, 0, - 355, 783, 0, 784, 0, 359, 360, 361, 362, 0, + 339, 340, 341, 342, 343, 344, 345, 346, 347, 1832, + 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, + 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, - 371, 372, 0, 374, 375, 376, 377, 785, 378, 379, - 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, + 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, + 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, - 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, + 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, - 417, 786, 0, 0, 419, 420, 0, 422, 0, 0, + 417, 418, 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, - 442, 443, 444, 445, 446, 0, 448, 449, 450, 787, + 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, - 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, - 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, - 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, + 461, 462, 463, 0, 464, 465, 466, 467, 468, 469, + 470, 0, 471, 472, 473, 1833, 0, 474, 475, 476, + 0, 0, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, - 504, 0, 788, 506, 507, 508, 509, 510, 511, 512, + 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, - 522, 789, 524, 525, 526, 527, 528, 529, 530, 531, - 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, + 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, + 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, - 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, + 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, - 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, + 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, - 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 1834, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, - 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, + 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, - 642, 643, 644, 645, 646, 647, 648, 649, 650, 967, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 790, 791, 0, 0, 0, 0, 235, 236, + 642, 643, 644, 645, 646, 647, 648, 649, 650, 968, + 0, 1606, 717, 0, 0, 0, 0, 778, 2630, 0, + 0, 0, 1607, 1608, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, - 246, 3, 4, 0, 0, 0, 0, 0, 247, 248, + 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, @@ -12662,12 +12379,12 @@ static const yytype_int16 yytable[] = 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, 303, - 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, + 304, 305, 306, 307, 308, 309, 310, 311, 2636, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, - 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, + 346, 347, 1832, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, @@ -12681,7 +12398,7 @@ static const yytype_int16 yytable[] = 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, 465, 466, - 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, + 467, 468, 469, 470, 0, 471, 472, 473, 1833, 0, 474, 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, @@ -12696,272 +12413,118 @@ static const yytype_int16 yytable[] = 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, - 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, + 599, 600, 601, 1834, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, - 649, 650, 1046, 1742, 0, 6449, 717, 0, 0, 0, - 0, 778, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 1743, 244, 245, 246, 1744, 1745, 1746, 1747, 1748, - 1749, 1750, 247, 248, 249, 1751, 250, 251, 252, 253, - 254, 255, 256, 257, 258, 259, 260, 261, 262, 1752, - 263, 264, 265, 266, 267, 268, 269, 1753, 1754, 270, - 271, 272, 273, 274, 1755, 275, 276, 277, 278, 279, - 1756, 280, 1757, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 290, 291, 1758, 292, 293, 294, 295, 296, - 297, 1759, 298, 299, 300, 301, 1760, 1761, 1762, 302, - 1763, 1764, 1765, 303, 304, 305, 306, 307, 308, 309, - 310, 311, 1766, 312, 1767, 313, 314, 315, 316, 317, - 318, 319, 1768, 320, 321, 322, 323, 1769, 1770, 324, - 325, 326, 327, 328, 1771, 329, 330, 331, 332, 1772, - 333, 334, 335, 336, 337, 1773, 338, 339, 340, 341, - 342, 343, 344, 345, 346, 347, 1774, 348, 1775, 349, - 350, 351, 352, 353, 1776, 354, 1777, 355, 356, 357, - 1778, 358, 359, 360, 361, 362, 1779, 363, 364, 1780, - 365, 366, 367, 1781, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, 1782, 378, 379, 380, 381, 382, - 383, 384, 385, 1783, 386, 387, 388, 389, 390, 391, - 392, 393, 394, 1784, 395, 1785, 396, 397, 398, 399, - 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, - 410, 411, 412, 413, 414, 415, 416, 417, 418, 1786, - 1787, 419, 420, 421, 422, 423, 1788, 424, 425, 426, - 1789, 1790, 427, 428, 429, 430, 431, 432, 433, 434, - 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, - 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, - 455, 456, 457, 458, 459, 1791, 460, 461, 462, 463, - 1792, 464, 465, 466, 467, 468, 469, 470, 1793, 471, - 472, 473, 1794, 1795, 474, 475, 476, 1796, 1797, 477, - 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, - 488, 489, 490, 491, 492, 493, 494, 495, 1798, 496, - 497, 498, 499, 500, 501, 502, 503, 504, 1799, 505, - 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - 516, 517, 518, 519, 1800, 520, 521, 522, 523, 524, - 525, 526, 527, 528, 529, 530, 531, 532, 1801, 533, - 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, - 544, 545, 546, 547, 548, 549, 550, 551, 1802, 552, - 553, 554, 555, 556, 1803, 557, 558, 559, 560, 561, - 562, 563, 564, 565, 566, 1804, 567, 568, 569, 570, - 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, - 581, 582, 583, 1805, 584, 585, 1806, 1807, 586, 587, - 588, 589, 590, 591, 592, 593, 1808, 594, 595, 596, - 1809, 1810, 597, 598, 599, 600, 601, 1811, 602, 603, - 604, 605, 606, 607, 608, 609, 610, 1812, 1813, 611, - 612, 613, 614, 615, 1814, 1815, 616, 617, 618, 619, - 620, 621, 622, 1816, 623, 624, 625, 626, 627, 628, - 629, 1817, 1818, 630, 1819, 1820, 631, 632, 633, 634, - 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, - 645, 646, 647, 648, 649, 650, 1742, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 1743, 244, 245, 246, 1744, 1745, - 1746, 1747, 1748, 1749, 1750, 247, 248, 249, 1751, 250, - 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, - 261, 262, 1752, 263, 264, 265, 266, 267, 268, 269, - 1753, 1754, 270, 271, 272, 273, 274, 1755, 275, 276, - 277, 278, 279, 1756, 280, 1757, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 290, 291, 1758, 292, 293, - 294, 295, 296, 297, 1759, 298, 299, 300, 301, 1760, - 1761, 1762, 302, 1763, 1764, 1765, 303, 304, 305, 306, - 307, 308, 309, 310, 311, 1766, 312, 1767, 313, 314, - 315, 316, 317, 318, 319, 1768, 320, 321, 322, 323, - 1769, 1770, 324, 325, 326, 327, 328, 1771, 329, 330, - 331, 332, 1772, 333, 334, 335, 336, 337, 1773, 338, - 339, 340, 341, 342, 343, 344, 345, 346, 347, 1774, - 348, 1775, 349, 350, 351, 352, 353, 1776, 354, 1777, - 355, 356, 357, 1778, 358, 359, 360, 361, 362, 1779, - 363, 364, 1780, 365, 366, 367, 1781, 368, 369, 370, - 371, 372, 373, 374, 375, 376, 377, 1782, 378, 379, - 380, 381, 382, 383, 384, 385, 1783, 386, 387, 388, - 389, 390, 391, 392, 393, 394, 1784, 395, 1785, 396, - 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, - 417, 418, 1786, 1787, 419, 420, 421, 422, 423, 1788, - 424, 425, 426, 1789, 1790, 427, 428, 429, 430, 431, - 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, - 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, - 452, 453, 454, 455, 456, 457, 458, 459, 1791, 460, - 461, 462, 463, 1792, 464, 465, 466, 467, 468, 469, - 470, 1793, 471, 472, 473, 1794, 1795, 474, 475, 476, - 1796, 1797, 477, 478, 479, 480, 481, 482, 483, 484, - 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, - 495, 1798, 496, 497, 498, 499, 500, 501, 502, 503, - 504, 1799, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 516, 517, 518, 519, 1800, 520, 521, - 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, - 532, 1801, 533, 534, 535, 536, 537, 538, 539, 540, - 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 1802, 552, 553, 554, 555, 556, 1803, 557, 558, - 559, 560, 561, 562, 563, 564, 565, 566, 1804, 567, - 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, - 578, 579, 580, 581, 582, 583, 1805, 584, 585, 1806, - 1807, 586, 587, 588, 589, 590, 591, 592, 593, 1808, - 594, 595, 596, 1809, 1810, 597, 598, 599, 600, 601, - 1811, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 1812, 1813, 611, 612, 613, 614, 615, 1814, 1815, 616, - 617, 618, 619, 620, 621, 622, 1816, 623, 624, 625, - 626, 627, 628, 629, 1817, 1818, 630, 1819, 1820, 631, - 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, - 642, 643, 644, 645, 646, 647, 648, 649, 650, 1742, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, - 237, 238, 239, 3683, 241, 242, 243, 1743, 244, 245, - 246, 1744, 1745, 1746, 1747, 1748, 1749, 1750, 247, 248, - 249, 1751, 250, 251, 252, 253, 254, 255, 256, 257, - 258, 259, 260, 261, 262, 1752, 263, 264, 265, 266, - 267, 268, 269, 1753, 1754, 270, 271, 272, 273, 274, - 1755, 275, 276, 277, 278, 279, 1756, 280, 1757, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 1758, 292, 293, 294, 295, 296, 297, 1759, 298, 299, - 300, 301, 1760, 1761, 1762, 302, 1763, 1764, 1765, 303, - 304, 305, 306, 307, 308, 309, 310, 311, 1766, 312, - 1767, 313, 314, 315, 316, 317, 318, 319, 1768, 320, - 321, 322, 323, 1769, 1770, 324, 325, 326, 3684, 328, - 1771, 329, 330, 331, 332, 1772, 333, 334, 335, 336, - 337, 1773, 338, 339, 340, 341, 342, 343, 344, 345, - 346, 347, 1774, 348, 1775, 349, 350, 351, 352, 353, - 1776, 354, 1777, 355, 356, 357, 1778, 358, 359, 360, - 361, 362, 1779, 363, 364, 1780, 365, 366, 367, 1781, - 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - 1782, 378, 379, 380, 381, 382, 383, 384, 385, 1783, - 386, 387, 388, 389, 390, 391, 392, 393, 394, 1784, - 395, 1785, 396, 397, 398, 399, 400, 401, 402, 403, - 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, - 414, 415, 416, 417, 418, 1786, 1787, 419, 420, 421, - 422, 423, 1788, 424, 425, 426, 1789, 1790, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, - 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, - 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, - 459, 1791, 460, 461, 462, 463, 1792, 464, 465, 466, - 467, 468, 469, 470, 1793, 471, 472, 473, 1794, 1795, - 474, 475, 476, 1796, 1797, 477, 478, 479, 480, 481, - 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 1798, 496, 497, 498, 499, 500, - 501, 502, 503, 504, 1799, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, - 1800, 520, 521, 522, 523, 524, 525, 526, 527, 528, - 529, 530, 531, 532, 1801, 533, 534, 535, 536, 537, - 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, - 548, 549, 550, 551, 1802, 552, 553, 554, 555, 556, - 1803, 3685, 558, 559, 560, 561, 562, 563, 564, 565, - 566, 1804, 567, 568, 569, 570, 571, 572, 573, 574, - 575, 576, 577, 578, 579, 580, 581, 582, 583, 1805, - 584, 585, 1806, 1807, 586, 587, 588, 589, 590, 591, - 592, 593, 1808, 594, 595, 596, 1809, 1810, 597, 598, - 599, 600, 601, 1811, 602, 603, 604, 605, 606, 607, - 608, 609, 610, 1812, 1813, 611, 612, 613, 614, 615, - 1814, 1815, 616, 617, 618, 619, 620, 621, 622, 1816, - 623, 624, 625, 626, 627, 628, 629, 1817, 1818, 630, - 1819, 1820, 631, 632, 633, 634, 635, 636, 637, 638, - 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, - 649, 650, 234, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 649, 650, 968, 0, 1606, 717, 0, 0, 0, 0, + 778, 0, 0, 0, 0, 1607, 1608, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, - 264, 265, 266, 267, 268, 269, 0, 1281, 270, 271, - 272, 273, 274, 0, 275, 276, 277, 278, 1284, 0, - 1285, 0, 281, 282, 283, 284, 285, 286, 287, 288, + 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, + 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, + 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, - 0, 298, 299, 300, 301, 1286, 1287, 1288, 1289, 1290, - 1291, 1292, 303, 304, 305, 306, 307, 308, 309, 310, - 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, + 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, + 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, + 311, 3575, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, - 343, 344, 345, 346, 1297, 0, 348, 0, 349, 350, + 343, 344, 345, 346, 347, 1832, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, - 358, 359, 360, 361, 362, 0, 363, 1300, 0, 365, + 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, 400, - 3479, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 410, - 1314, 412, 413, 414, 415, 416, 417, 418, 0, 0, - 419, 1315, 421, 422, 423, 0, 424, 425, 426, 1316, - 1317, 427, 428, 429, 430, 431, 432, 433, 434, 435, - 436, 1318, 438, 439, 440, 441, 442, 443, 444, 445, + 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, + 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, + 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, + 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, + 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, - 456, 457, 1321, 459, 0, 460, 461, 462, 463, 0, - 1324, 465, 466, 467, 468, 469, 470, 0, 471, 472, - 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, - 479, 480, 481, 482, 1327, 484, 485, 486, 487, 488, + 456, 457, 458, 459, 0, 460, 461, 462, 463, 0, + 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, + 473, 1833, 0, 474, 475, 476, 0, 0, 477, 478, + 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, - 498, 1328, 500, 501, 502, 503, 504, 0, 505, 506, + 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, - 554, 555, 556, 1331, 557, 558, 559, 560, 561, 562, + 554, 555, 556, 0, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, - 1333, 583, 0, 584, 585, 1334, 0, 586, 587, 588, + 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, - 0, 597, 598, 1337, 600, 1338, 0, 602, 603, 604, + 0, 597, 598, 599, 600, 601, 1834, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, - 613, 614, 615, 1341, 0, 616, 617, 618, 619, 620, + 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, - 636, 637, 1343, 1344, 1345, 1346, 642, 1347, 1348, 1349, - 1350, 647, 648, 649, 650, 234, 0, 1271, 717, 0, - 1272, 1273, 0, 778, 0, 0, 0, 0, 0, 0, + 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, + 646, 647, 648, 649, 650, 968, 0, 1606, 717, 0, + 0, 0, 0, 778, 2630, 0, 0, 0, 1607, 1608, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, - 252, 253, 254, 255, 256, 257, 258, 1277, 260, 1278, - 1279, 0, 263, 264, 265, 266, 267, 268, 269, 0, - 0, 270, 271, 1282, 1283, 274, 0, 275, 276, 277, + 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, + 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, - 308, 1293, 1294, 311, 0, 312, 0, 313, 314, 315, + 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, - 0, 324, 325, 887, 327, 328, 0, 329, 330, 331, + 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, - 340, 341, 342, 343, 344, 345, 346, 347, 1298, 348, - 0, 349, 350, 351, 1299, 353, 0, 354, 0, 355, + 340, 341, 342, 343, 344, 345, 346, 347, 1832, 348, + 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, - 390, 391, 392, 1302, 1303, 0, 1304, 0, 396, 397, - 398, 399, 400, 6421, 402, 403, 404, 405, 406, 407, + 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, + 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, - 443, 444, 445, 1319, 447, 1320, 449, 450, 451, 452, + 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, - 462, 463, 1323, 464, 465, 1325, 467, 468, 469, 470, - 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, + 462, 463, 0, 464, 465, 466, 467, 468, 469, 470, + 0, 471, 472, 473, 1833, 0, 474, 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, 1329, 517, 518, 519, 0, 520, 521, 522, + 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, - 560, 561, 562, 563, 564, 1332, 566, 0, 567, 568, + 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, - 1335, 1336, 0, 0, 597, 598, 599, 600, 601, 1339, + 595, 596, 0, 0, 597, 598, 599, 600, 601, 1834, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, - 618, 619, 620, 621, 1342, 0, 623, 624, 625, 626, + 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, - 643, 644, 645, 646, 647, 648, 649, 650, 967, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, - 238, 239, 240, 241, 242, 243, 1006, 244, 245, 246, + 643, 644, 645, 646, 647, 648, 649, 650, 968, 0, + 1606, 717, 0, 0, 0, 0, 778, 0, 0, 0, + 0, 1607, 1608, 0, 0, 0, 0, 235, 236, 237, + 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, @@ -12969,13 +12532,13 @@ static const yytype_int16 yytable[] = 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, - 301, 0, 0, 968, 302, 0, 0, 969, 303, 304, + 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, - 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, + 347, 1832, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, @@ -12989,7 +12552,7 @@ static const yytype_int16 yytable[] = 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, 465, 466, 467, - 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, + 468, 469, 470, 0, 471, 472, 473, 1833, 0, 474, 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, @@ -12998,81 +12561,81 @@ static const yytype_int16 yytable[] = 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, - 549, 550, 551, 0, 552, 553, 554, 555, 556, 970, + 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, - 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, + 600, 601, 1834, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, - 650, 967, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 1027, + 650, 658, 0, 0, 0, 0, 0, 0, 0, 778, + 0, 0, 0, 0, 1607, 1608, 0, 0, 0, 0, + 235, 236, 779, 238, 239, 240, 241, 242, 243, 780, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, + 247, 248, 249, 0, 250, 251, 252, 253, 0, 781, + 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, - 273, 274, 0, 275, 276, 277, 278, 279, 0, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, + 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 0, 0, 968, 302, 0, 0, - 969, 303, 304, 305, 306, 307, 308, 309, 310, 311, + 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, + 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, - 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, - 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, + 344, 345, 346, 347, 0, 348, 0, 349, 350, 782, + 352, 353, 0, 354, 0, 355, 783, 0, 784, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, - 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 0, 395, 0, 396, 397, 398, 399, 400, 401, + 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, + 376, 377, 785, 378, 379, 380, 381, 382, 383, 384, + 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, + 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, - 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, - 427, 428, 429, 430, 1028, 432, 433, 434, 435, 436, + 412, 413, 414, 415, 416, 417, 786, 0, 0, 419, + 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, + 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, - 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, + 0, 448, 449, 450, 787, 452, 453, 454, 455, 456, + 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, - 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, + 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, + 499, 500, 501, 502, 503, 504, 0, 788, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, - 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, + 518, 519, 0, 520, 521, 522, 789, 524, 525, 526, + 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 970, 557, 558, 559, 560, 561, 562, 563, + 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, - 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, + 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, - 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, + 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, - 647, 648, 649, 650, 967, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 647, 648, 649, 650, 968, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 790, 791, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, + 242, 243, 0, 244, 245, 246, 3, 4, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, - 296, 297, 0, 298, 299, 300, 301, 0, 0, 968, - 302, 0, 0, 969, 303, 304, 305, 306, 307, 308, + 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, + 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, @@ -13101,132 +12664,286 @@ static const yytype_int16 yytable[] = 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, - 552, 553, 554, 555, 556, 970, 557, 558, 559, 560, + 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, - 611, 612, 613, 614, 615, 3011, 0, 616, 617, 618, + 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, - 644, 645, 646, 647, 648, 649, 650, 967, 0, 0, + 644, 645, 646, 647, 648, 649, 650, 1047, 1743, 0, + 6449, 717, 0, 0, 0, 0, 778, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, + 238, 239, 240, 241, 242, 243, 1744, 244, 245, 246, + 1745, 1746, 1747, 1748, 1749, 1750, 1751, 247, 248, 249, + 1752, 250, 251, 252, 253, 254, 255, 256, 257, 258, + 259, 260, 261, 262, 1753, 263, 264, 265, 266, 267, + 268, 269, 1754, 1755, 270, 271, 272, 273, 274, 1756, + 275, 276, 277, 278, 279, 1757, 280, 1758, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 1759, + 292, 293, 294, 295, 296, 297, 1760, 298, 299, 300, + 301, 1761, 1762, 1763, 302, 1764, 1765, 1766, 303, 304, + 305, 306, 307, 308, 309, 310, 311, 1767, 312, 1768, + 313, 314, 315, 316, 317, 318, 319, 1769, 320, 321, + 322, 323, 1770, 1771, 324, 325, 326, 327, 328, 1772, + 329, 330, 331, 332, 1773, 333, 334, 335, 336, 337, + 1774, 338, 339, 340, 341, 342, 343, 344, 345, 346, + 347, 1775, 348, 1776, 349, 350, 351, 352, 353, 1777, + 354, 1778, 355, 356, 357, 1779, 358, 359, 360, 361, + 362, 1780, 363, 364, 1781, 365, 366, 367, 1782, 368, + 369, 370, 371, 372, 373, 374, 375, 376, 377, 1783, + 378, 379, 380, 381, 382, 383, 384, 385, 1784, 386, + 387, 388, 389, 390, 391, 392, 393, 394, 1785, 395, + 1786, 396, 397, 398, 399, 400, 401, 402, 403, 404, + 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, + 415, 416, 417, 418, 1787, 1788, 419, 420, 421, 422, + 423, 1789, 424, 425, 426, 1790, 1791, 427, 428, 429, + 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, + 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, + 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, + 1792, 460, 461, 462, 463, 1793, 464, 465, 466, 467, + 468, 469, 470, 1794, 471, 472, 473, 1795, 1796, 474, + 475, 476, 1797, 1798, 477, 478, 479, 480, 481, 482, + 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, + 493, 494, 495, 1799, 496, 497, 498, 499, 500, 501, + 502, 503, 504, 1800, 505, 506, 507, 508, 509, 510, + 511, 512, 513, 514, 515, 516, 517, 518, 519, 1801, + 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, + 530, 531, 532, 1802, 533, 534, 535, 536, 537, 538, + 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, + 549, 550, 551, 1803, 552, 553, 554, 555, 556, 1804, + 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, + 1805, 567, 568, 569, 570, 571, 572, 573, 574, 575, + 576, 577, 578, 579, 580, 581, 582, 583, 1806, 584, + 585, 1807, 1808, 586, 587, 588, 589, 590, 591, 592, + 593, 1809, 594, 595, 596, 1810, 1811, 597, 598, 599, + 600, 601, 1812, 602, 603, 604, 605, 606, 607, 608, + 609, 610, 1813, 1814, 611, 612, 613, 614, 615, 1815, + 1816, 616, 617, 618, 619, 620, 621, 622, 1817, 623, + 624, 625, 626, 627, 628, 629, 1818, 1819, 630, 1820, + 1821, 631, 632, 633, 634, 635, 636, 637, 638, 639, + 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, + 650, 1743, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 1744, + 244, 245, 246, 1745, 1746, 1747, 1748, 1749, 1750, 1751, + 247, 248, 249, 1752, 250, 251, 252, 253, 254, 255, + 256, 257, 258, 259, 260, 261, 262, 1753, 263, 264, + 265, 266, 267, 268, 269, 1754, 1755, 270, 271, 272, + 273, 274, 1756, 275, 276, 277, 278, 279, 1757, 280, + 1758, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 1759, 292, 293, 294, 295, 296, 297, 1760, + 298, 299, 300, 301, 1761, 1762, 1763, 302, 1764, 1765, + 1766, 303, 304, 305, 306, 307, 308, 309, 310, 311, + 1767, 312, 1768, 313, 314, 315, 316, 317, 318, 319, + 1769, 320, 321, 322, 323, 1770, 1771, 324, 325, 326, + 327, 328, 1772, 329, 330, 331, 332, 1773, 333, 334, + 335, 336, 337, 1774, 338, 339, 340, 341, 342, 343, + 344, 345, 346, 347, 1775, 348, 1776, 349, 350, 351, + 352, 353, 1777, 354, 1778, 355, 356, 357, 1779, 358, + 359, 360, 361, 362, 1780, 363, 364, 1781, 365, 366, + 367, 1782, 368, 369, 370, 371, 372, 373, 374, 375, + 376, 377, 1783, 378, 379, 380, 381, 382, 383, 384, + 385, 1784, 386, 387, 388, 389, 390, 391, 392, 393, + 394, 1785, 395, 1786, 396, 397, 398, 399, 400, 401, + 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, + 412, 413, 414, 415, 416, 417, 418, 1787, 1788, 419, + 420, 421, 422, 423, 1789, 424, 425, 426, 1790, 1791, + 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, + 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, + 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, + 457, 458, 459, 1792, 460, 461, 462, 463, 1793, 464, + 465, 466, 467, 468, 469, 470, 1794, 471, 472, 473, + 1795, 1796, 474, 475, 476, 1797, 1798, 477, 478, 479, + 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, + 490, 491, 492, 493, 494, 495, 1799, 496, 497, 498, + 499, 500, 501, 502, 503, 504, 1800, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, + 518, 519, 1801, 520, 521, 522, 523, 524, 525, 526, + 527, 528, 529, 530, 531, 532, 1802, 533, 534, 535, + 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, + 546, 547, 548, 549, 550, 551, 1803, 552, 553, 554, + 555, 556, 1804, 557, 558, 559, 560, 561, 562, 563, + 564, 565, 566, 1805, 567, 568, 569, 570, 571, 572, + 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, + 583, 1806, 584, 585, 1807, 1808, 586, 587, 588, 589, + 590, 591, 592, 593, 1809, 594, 595, 596, 1810, 1811, + 597, 598, 599, 600, 601, 1812, 602, 603, 604, 605, + 606, 607, 608, 609, 610, 1813, 1814, 611, 612, 613, + 614, 615, 1815, 1816, 616, 617, 618, 619, 620, 621, + 622, 1817, 623, 624, 625, 626, 627, 628, 629, 1818, + 1819, 630, 1820, 1821, 631, 632, 633, 634, 635, 636, + 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, + 647, 648, 649, 650, 1743, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 235, 236, 237, 238, 239, 3684, 241, + 242, 243, 1744, 244, 245, 246, 1745, 1746, 1747, 1748, + 1749, 1750, 1751, 247, 248, 249, 1752, 250, 251, 252, + 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, + 1753, 263, 264, 265, 266, 267, 268, 269, 1754, 1755, + 270, 271, 272, 273, 274, 1756, 275, 276, 277, 278, + 279, 1757, 280, 1758, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 1759, 292, 293, 294, 295, + 296, 297, 1760, 298, 299, 300, 301, 1761, 1762, 1763, + 302, 1764, 1765, 1766, 303, 304, 305, 306, 307, 308, + 309, 310, 311, 1767, 312, 1768, 313, 314, 315, 316, + 317, 318, 319, 1769, 320, 321, 322, 323, 1770, 1771, + 324, 325, 326, 3685, 328, 1772, 329, 330, 331, 332, + 1773, 333, 334, 335, 336, 337, 1774, 338, 339, 340, + 341, 342, 343, 344, 345, 346, 347, 1775, 348, 1776, + 349, 350, 351, 352, 353, 1777, 354, 1778, 355, 356, + 357, 1779, 358, 359, 360, 361, 362, 1780, 363, 364, + 1781, 365, 366, 367, 1782, 368, 369, 370, 371, 372, + 373, 374, 375, 376, 377, 1783, 378, 379, 380, 381, + 382, 383, 384, 385, 1784, 386, 387, 388, 389, 390, + 391, 392, 393, 394, 1785, 395, 1786, 396, 397, 398, + 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, + 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, + 1787, 1788, 419, 420, 421, 422, 423, 1789, 424, 425, + 426, 1790, 1791, 427, 428, 429, 430, 431, 432, 433, + 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, + 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 458, 459, 1792, 460, 461, 462, + 463, 1793, 464, 465, 466, 467, 468, 469, 470, 1794, + 471, 472, 473, 1795, 1796, 474, 475, 476, 1797, 1798, + 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, + 487, 488, 489, 490, 491, 492, 493, 494, 495, 1799, + 496, 497, 498, 499, 500, 501, 502, 503, 504, 1800, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, 516, 517, 518, 519, 1801, 520, 521, 522, 523, + 524, 525, 526, 527, 528, 529, 530, 531, 532, 1802, + 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 1803, + 552, 553, 554, 555, 556, 1804, 3686, 558, 559, 560, + 561, 562, 563, 564, 565, 566, 1805, 567, 568, 569, + 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, + 580, 581, 582, 583, 1806, 584, 585, 1807, 1808, 586, + 587, 588, 589, 590, 591, 592, 593, 1809, 594, 595, + 596, 1810, 1811, 597, 598, 599, 600, 601, 1812, 602, + 603, 604, 605, 606, 607, 608, 609, 610, 1813, 1814, + 611, 612, 613, 614, 615, 1815, 1816, 616, 617, 618, + 619, 620, 621, 622, 1817, 623, 624, 625, 626, 627, + 628, 629, 1818, 1819, 630, 1820, 1821, 631, 632, 633, + 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, + 644, 645, 646, 647, 648, 649, 650, 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, - 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, - 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, + 269, 0, 1280, 270, 271, 272, 273, 274, 0, 275, + 276, 277, 278, 1283, 0, 1284, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, - 0, 0, 968, 302, 0, 0, 969, 303, 304, 305, + 1285, 1286, 1287, 1288, 1289, 1290, 1291, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, - 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, + 338, 339, 340, 341, 342, 343, 344, 345, 346, 1296, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, - 0, 363, 364, 4037, 365, 366, 367, 0, 368, 369, + 0, 363, 1299, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, - 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, - 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, - 416, 417, 418, 0, 0, 419, 420, 421, 422, 423, - 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, - 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, + 396, 397, 398, 399, 400, 3480, 1305, 1306, 1307, 1308, + 1309, 1310, 1311, 1312, 410, 1313, 412, 413, 414, 415, + 416, 417, 418, 0, 0, 419, 1314, 421, 422, 423, + 0, 424, 425, 426, 1315, 1316, 427, 428, 429, 430, + 431, 432, 433, 434, 435, 436, 1317, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, - 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, - 460, 461, 462, 463, 0, 464, 465, 466, 467, 468, + 451, 452, 453, 454, 455, 456, 457, 1320, 459, 0, + 460, 461, 462, 463, 0, 1323, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, - 476, 0, 0, 477, 478, 479, 480, 481, 482, 483, + 476, 0, 0, 477, 478, 479, 480, 481, 482, 1326, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, + 494, 495, 0, 496, 497, 498, 1327, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 0, 552, 553, 554, 555, 556, 970, 557, + 550, 551, 0, 552, 553, 554, 555, 556, 1330, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, - 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, - 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, - 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, - 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, - 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, + 577, 578, 579, 580, 581, 1332, 583, 0, 584, 585, + 1333, 0, 586, 587, 588, 589, 590, 591, 592, 593, + 0, 594, 595, 596, 0, 0, 597, 598, 1336, 600, + 1337, 0, 602, 603, 604, 605, 606, 607, 608, 609, + 610, 0, 0, 611, 612, 613, 614, 615, 1340, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, - 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, - 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, - 967, 0, 0, 717, 0, 0, 0, 0, 0, 0, + 631, 632, 633, 634, 635, 636, 637, 1342, 1343, 1344, + 1345, 642, 1346, 1347, 1348, 1349, 647, 648, 649, 650, + 234, 0, 1270, 717, 0, 1271, 1272, 0, 778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, - 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, - 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, + 257, 258, 1276, 260, 1277, 1278, 0, 263, 264, 265, + 266, 267, 268, 269, 0, 0, 270, 271, 1281, 1282, 274, 0, 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, - 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, + 303, 304, 305, 306, 307, 308, 1292, 1293, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, - 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, + 320, 321, 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, - 345, 346, 347, 1831, 348, 0, 349, 350, 351, 352, + 345, 346, 347, 1297, 348, 0, 349, 350, 351, 1298, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, - 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, - 0, 395, 0, 396, 397, 398, 399, 400, 401, 402, + 0, 386, 387, 388, 389, 390, 391, 392, 1301, 1302, + 0, 1303, 0, 396, 397, 398, 399, 400, 6421, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, - 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, - 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, - 458, 459, 0, 460, 461, 462, 463, 0, 464, 465, - 466, 467, 468, 469, 470, 0, 471, 472, 473, 1832, + 438, 439, 440, 441, 442, 443, 444, 445, 1318, 447, + 1319, 449, 450, 451, 452, 453, 454, 455, 456, 457, + 458, 459, 0, 460, 461, 462, 463, 1322, 464, 465, + 1324, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, - 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, + 509, 510, 511, 512, 513, 514, 515, 1328, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 562, 563, 564, - 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, + 1331, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, - 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, - 598, 599, 600, 601, 1833, 602, 603, 604, 605, 606, + 591, 592, 593, 0, 594, 1334, 1335, 0, 0, 597, + 598, 599, 600, 601, 1338, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, - 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, + 615, 0, 0, 616, 617, 618, 619, 620, 621, 1341, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, - 648, 649, 650, 967, 0, 0, 0, 0, 0, 0, + 648, 649, 650, 968, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, + 243, 1007, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, - 297, 0, 298, 299, 300, 301, 0, 0, 968, 302, - 0, 0, 969, 303, 304, 305, 306, 307, 308, 309, + 297, 0, 298, 299, 300, 301, 0, 0, 969, 302, + 0, 0, 970, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, @@ -13255,7 +12972,7 @@ static const yytype_int16 yytable[] = 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, - 553, 554, 555, 556, 970, 557, 558, 559, 560, 561, + 553, 554, 555, 556, 971, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, @@ -13266,10 +12983,10 @@ static const yytype_int16 yytable[] = 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, - 645, 646, 647, 648, 649, 650, 967, 0, 0, 0, + 645, 646, 647, 648, 649, 650, 968, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, + 240, 241, 242, 243, 1028, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, @@ -13277,7 +12994,7 @@ static const yytype_int16 yytable[] = 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, - 0, 968, 302, 0, 0, 969, 303, 304, 305, 306, + 0, 969, 302, 0, 0, 970, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, @@ -13292,7 +13009,7 @@ static const yytype_int16 yytable[] = 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 421, 422, 423, 0, - 424, 425, 426, 0, 0, 427, 428, 429, 430, 1122, + 424, 425, 426, 0, 0, 427, 428, 429, 430, 1029, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, @@ -13306,7 +13023,7 @@ static const yytype_int16 yytable[] = 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 0, 552, 553, 554, 555, 556, 970, 557, 558, + 551, 0, 552, 553, 554, 555, 556, 971, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, @@ -13317,7 +13034,7 @@ static const yytype_int16 yytable[] = 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, - 642, 643, 644, 645, 646, 647, 648, 649, 650, 967, + 642, 643, 644, 645, 646, 647, 648, 649, 650, 968, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, @@ -13328,7 +13045,7 @@ static const yytype_int16 yytable[] = 0, 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, - 300, 301, 0, 0, 968, 302, 0, 0, 969, 303, + 300, 301, 0, 0, 969, 302, 0, 0, 970, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, @@ -13337,7 +13054,7 @@ static const yytype_int16 yytable[] = 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, - 368, 369, 370, 371, 1164, 373, 374, 375, 376, 377, + 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, 400, 401, 402, 403, @@ -13358,18 +13075,18 @@ static const yytype_int16 yytable[] = 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, - 970, 557, 558, 559, 560, 561, 562, 563, 564, 565, + 971, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, - 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, + 3012, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, - 649, 650, 967, 0, 0, 0, 0, 0, 0, 0, + 649, 650, 968, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, @@ -13379,16 +13096,16 @@ static const yytype_int16 yytable[] = 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, - 0, 298, 299, 300, 301, 0, 0, 968, 302, 0, - 0, 969, 303, 304, 305, 306, 307, 308, 309, 310, + 0, 298, 299, 300, 301, 0, 0, 969, 302, 0, + 0, 970, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, - 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, - 366, 367, 0, 368, 369, 370, 371, 1177, 373, 374, + 358, 359, 360, 361, 362, 0, 363, 364, 4037, 365, + 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, 400, @@ -13409,7 +13126,7 @@ static const yytype_int16 yytable[] = 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, - 554, 555, 556, 970, 557, 558, 559, 560, 561, 562, + 554, 555, 556, 971, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, @@ -13420,7 +13137,7 @@ static const yytype_int16 yytable[] = 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, - 646, 647, 648, 649, 650, 967, 0, 0, 0, 0, + 646, 647, 648, 649, 650, 968, 0, 0, 717, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, @@ -13431,27 +13148,27 @@ static const yytype_int16 yytable[] = 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, - 968, 302, 0, 0, 969, 303, 304, 305, 306, 307, + 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, - 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, + 340, 341, 342, 343, 344, 345, 346, 347, 1832, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 1189, 373, 374, 375, 376, 377, 0, 378, 379, 380, + 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 421, 422, 423, 0, 424, - 425, 426, 0, 0, 427, 428, 429, 430, 1190, 432, + 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, 465, 466, 467, 468, 469, 470, - 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, + 0, 471, 472, 473, 1833, 0, 474, 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, @@ -13460,19 +13177,19 @@ static const yytype_int16 yytable[] = 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, - 0, 552, 553, 554, 555, 556, 970, 557, 558, 559, + 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, - 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, + 595, 596, 0, 0, 597, 598, 599, 600, 601, 1834, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, - 643, 644, 645, 646, 647, 648, 649, 650, 967, 0, - 0, 717, 0, 0, 0, 0, 0, 2612, 0, 0, + 643, 644, 645, 646, 647, 648, 649, 650, 968, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, @@ -13482,8 +13199,8 @@ static const yytype_int16 yytable[] = 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, - 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, - 305, 306, 307, 308, 309, 310, 311, 2613, 312, 0, + 301, 0, 0, 969, 302, 0, 0, 970, 303, 304, + 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, @@ -13511,7 +13228,7 @@ static const yytype_int16 yytable[] = 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, - 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, + 549, 550, 551, 0, 552, 553, 554, 555, 556, 971, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, @@ -13523,8 +13240,8 @@ static const yytype_int16 yytable[] = 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, - 650, 967, 0, 0, 717, 0, 0, 0, 0, 0, - 1399, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 650, 968, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, @@ -13533,8 +13250,8 @@ static const yytype_int16 yytable[] = 273, 274, 0, 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, - 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, + 298, 299, 300, 301, 0, 0, 969, 302, 0, 0, + 970, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, @@ -13549,7 +13266,7 @@ static const yytype_int16 yytable[] = 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, + 427, 428, 429, 430, 1123, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, @@ -13563,7 +13280,7 @@ static const yytype_int16 yytable[] = 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 559, 560, 561, 562, 563, + 555, 556, 971, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, @@ -13574,7 +13291,7 @@ static const yytype_int16 yytable[] = 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, - 647, 648, 649, 650, 967, 0, 0, 717, 0, 0, + 647, 648, 649, 650, 968, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, @@ -13584,8 +13301,8 @@ static const yytype_int16 yytable[] = 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, - 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, - 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, + 296, 297, 0, 298, 299, 300, 301, 0, 0, 969, + 302, 0, 0, 970, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, @@ -13593,7 +13310,7 @@ static const yytype_int16 yytable[] = 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, - 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, + 0, 365, 366, 367, 0, 368, 369, 370, 371, 1164, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, @@ -13614,7 +13331,7 @@ static const yytype_int16 yytable[] = 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, - 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, + 552, 553, 554, 555, 556, 971, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, @@ -13625,7 +13342,7 @@ static const yytype_int16 yytable[] = 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, - 644, 645, 646, 647, 648, 649, 650, 234, 0, 0, + 644, 645, 646, 647, 648, 649, 650, 968, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, @@ -13636,7 +13353,7 @@ static const yytype_int16 yytable[] = 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, - 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, + 0, 0, 969, 302, 0, 0, 970, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, @@ -13645,7 +13362,7 @@ static const yytype_int16 yytable[] = 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, + 370, 371, 1177, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, @@ -13665,7 +13382,7 @@ static const yytype_int16 yytable[] = 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, + 550, 551, 0, 552, 553, 554, 555, 556, 971, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, @@ -13677,7 +13394,7 @@ static const yytype_int16 yytable[] = 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, - 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 968, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, @@ -13687,7 +13404,7 @@ static const yytype_int16 yytable[] = 274, 0, 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, - 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, + 299, 300, 301, 0, 0, 969, 302, 0, 0, 970, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, @@ -13696,14 +13413,14 @@ static const yytype_int16 yytable[] = 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 1148, 373, 374, 375, 376, + 0, 368, 369, 370, 371, 1189, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, - 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, + 428, 429, 430, 1190, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, 465, @@ -13717,7 +13434,7 @@ static const yytype_int16 yytable[] = 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, - 556, 0, 557, 558, 559, 560, 561, 562, 563, 564, + 556, 971, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, @@ -13728,8 +13445,8 @@ static const yytype_int16 yytable[] = 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, - 648, 649, 650, 234, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 648, 649, 650, 968, 0, 0, 717, 0, 0, 0, + 0, 0, 2613, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, @@ -13740,14 +13457,14 @@ static const yytype_int16 yytable[] = 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, - 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, + 310, 311, 2614, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, - 365, 366, 367, 0, 368, 369, 370, 371, 1161, 373, + 365, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, @@ -13779,8 +13496,8 @@ static const yytype_int16 yytable[] = 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, - 645, 646, 647, 648, 649, 650, 234, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 645, 646, 647, 648, 649, 650, 968, 0, 0, 717, + 0, 0, 0, 0, 0, 1398, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, @@ -13799,7 +13516,7 @@ static const yytype_int16 yytable[] = 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, - 371, 1175, 373, 374, 375, 376, 377, 0, 378, 379, + 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, @@ -13830,8 +13547,8 @@ static const yytype_int16 yytable[] = 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, - 642, 643, 644, 645, 646, 647, 648, 649, 650, 234, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 642, 643, 644, 645, 646, 647, 648, 649, 650, 968, + 0, 0, 717, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, @@ -13850,7 +13567,7 @@ static const yytype_int16 yytable[] = 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, - 368, 369, 370, 371, 1179, 373, 374, 375, 376, 377, + 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, 399, 400, 401, 402, 403, @@ -13882,7 +13599,7 @@ static const yytype_int16 yytable[] = 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, - 649, 650, 967, 0, 0, 0, 0, 0, 0, 0, + 649, 650, 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, @@ -13933,283 +13650,283 @@ static const yytype_int16 yytable[] = 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, - 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, + 646, 647, 648, 649, 650, 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, - 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, + 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, - 0, 270, 271, 272, 273, 274, 2844, 275, 276, 277, - 278, 279, 0, 0, 2845, 281, 282, 283, 284, 285, - 286, 0, 288, 289, 290, 291, 2846, 292, 293, 294, - 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, - 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, + 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, + 278, 279, 0, 280, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, + 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, + 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, - 332, 0, 333, 334, 335, 336, 337, 0, 2847, 339, + 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, - 0, 349, 350, 351, 352, 353, 0, 354, 2848, 355, - 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, + 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, + 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 2849, 0, 374, 375, 376, 377, 0, 378, 379, 380, - 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, - 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, - 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, + 1148, 373, 374, 375, 376, 377, 0, 378, 379, 380, + 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, + 390, 391, 392, 393, 394, 0, 395, 0, 396, 397, + 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, - 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, + 418, 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, - 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, - 453, 454, 455, 456, 457, 458, 459, 2850, 460, 461, - 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, + 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, + 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, + 462, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, - 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, + 0, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, - 2851, 505, 506, 507, 508, 509, 510, 511, 512, 513, + 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, - 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, + 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, - 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, + 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, - 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, + 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, - 2852, 611, 612, 613, 614, 615, 0, 0, 616, 617, - 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, + 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, + 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, - 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, + 643, 644, 645, 646, 647, 648, 649, 650, 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, - 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, - 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, - 268, 269, 0, 0, 270, 271, 272, 273, 274, 2844, - 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, - 283, 284, 285, 286, 0, 288, 289, 290, 291, 2846, - 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, - 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, + 0, 250, 251, 252, 253, 254, 255, 256, 257, 258, + 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, + 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, + 275, 276, 277, 278, 279, 0, 280, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, + 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, - 0, 2847, 339, 340, 341, 342, 343, 344, 345, 346, + 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, - 354, 2848, 355, 356, 0, 0, 0, 359, 360, 361, + 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, - 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, + 369, 370, 371, 1161, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, - 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, - 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, + 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, + 0, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, - 415, 416, 417, 418, 0, 0, 419, 420, 0, 422, - 3900, 0, 424, 425, 426, 0, 0, 427, 428, 429, + 415, 416, 417, 418, 0, 0, 419, 420, 421, 422, + 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, - 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, + 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, - 2850, 460, 461, 0, 463, 0, 464, 465, 466, 467, + 0, 460, 461, 462, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, - 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, + 475, 476, 0, 0, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, - 502, 503, 504, 2851, 505, 506, 507, 508, 509, 510, + 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, - 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, + 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, - 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, + 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, - 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, + 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, - 609, 610, 0, 2852, 611, 612, 613, 614, 615, 0, + 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, - 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, + 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, - 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, + 650, 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, - 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, + 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, + 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, - 273, 274, 2844, 275, 276, 277, 278, 279, 0, 0, - 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, - 290, 291, 2846, 292, 293, 294, 295, 296, 297, 0, - 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, + 273, 274, 0, 275, 276, 277, 278, 279, 0, 280, + 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, + 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 2847, 339, 340, 341, 342, 343, + 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, - 352, 353, 0, 354, 2848, 355, 356, 0, 0, 0, + 352, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, - 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, + 367, 0, 368, 369, 370, 371, 1175, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, - 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, + 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, + 394, 0, 395, 0, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, + 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, - 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 458, 459, 2850, 460, 461, 0, 463, 0, 464, + 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, + 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, - 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, + 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 499, 500, 501, 502, 503, 504, 2851, 505, 506, 507, + 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, + 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, + 555, 556, 0, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, - 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, + 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 2852, 611, 612, 613, + 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, - 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, + 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, - 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, + 647, 648, 649, 650, 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 797, 244, 798, 246, 0, 0, 0, 0, + 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, - 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, + 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, - 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, - 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, - 296, 297, 799, 0, 299, 300, 301, 0, 0, 0, - 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, + 279, 0, 280, 0, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, + 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, + 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, - 0, 0, 0, 359, 360, 361, 362, 830, 363, 364, - 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, - 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, - 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, - 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, - 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, + 357, 0, 358, 359, 360, 361, 362, 0, 363, 364, + 0, 365, 366, 367, 0, 368, 369, 370, 371, 1179, + 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, + 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, + 391, 392, 393, 394, 0, 395, 0, 396, 397, 398, + 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, - 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, + 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, - 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, - 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, + 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 458, 459, 0, 460, 461, 462, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, - 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, + 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, 516, 517, 518, 519, 800, 520, 521, 522, 523, + 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, - 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, - 543, 544, 545, 546, 547, 548, 549, 550, 551, 801, + 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, - 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, + 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, - 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, + 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, - 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, + 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, - 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, + 644, 645, 646, 647, 648, 649, 650, 968, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, - 239, 240, 241, 242, 243, 797, 244, 798, 246, 0, + 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, - 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, + 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, + 260, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, - 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, - 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, - 293, 294, 295, 296, 297, 799, 0, 299, 300, 301, - 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, + 276, 277, 278, 279, 0, 280, 0, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, + 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, + 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, - 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, - 3581, 363, 364, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, - 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, + 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, + 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, + 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, + 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, - 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, + 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, - 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, + 416, 417, 418, 0, 0, 419, 420, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, - 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, + 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, - 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, + 460, 461, 462, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, - 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, + 476, 0, 0, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 516, 517, 518, 519, 800, 520, + 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, + 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, - 550, 551, 801, 552, 553, 554, 555, 556, 0, 557, - 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, + 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, + 558, 559, 560, 561, 562, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, - 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, + 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, - 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, + 616, 617, 618, 619, 620, 621, 622, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 797, 244, - 798, 246, 0, 0, 0, 0, 0, 0, 0, 247, + 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, + 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, - 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, + 274, 2845, 275, 276, 277, 278, 279, 0, 0, 2846, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, - 291, 0, 292, 293, 294, 295, 296, 297, 799, 0, + 291, 2847, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, - 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, + 336, 337, 0, 2848, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, - 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, + 353, 0, 354, 2849, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, + 0, 368, 369, 370, 371, 2850, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, @@ -14219,24 +13936,24 @@ static const yytype_int16 yytable[] = 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, - 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, + 458, 459, 2851, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, - 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, + 500, 501, 502, 503, 504, 2852, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, - 519, 800, 520, 521, 522, 523, 524, 525, 526, 527, + 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, - 547, 548, 549, 550, 551, 801, 552, 553, 554, 555, + 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, - 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, + 607, 608, 609, 610, 0, 2853, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, @@ -14244,21 +13961,21 @@ static const yytype_int16 yytable[] = 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 3087, 244, 245, 246, 0, 0, 0, 0, 0, + 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, - 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, + 271, 272, 273, 274, 2845, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, - 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, - 297, 0, 0, 299, 300, 301, 0, 0, 0, 2917, + 288, 289, 290, 291, 2847, 292, 293, 294, 295, 296, + 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, - 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, + 333, 334, 335, 336, 337, 0, 2848, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, - 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, + 350, 351, 352, 353, 0, 354, 2849, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, @@ -14266,16 +13983,16 @@ static const yytype_int16 yytable[] = 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, - 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, + 0, 419, 420, 0, 422, 3901, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, - 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, + 455, 456, 457, 458, 459, 2851, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, - 472, 473, 0, 862, 474, 475, 476, 0, 0, 477, + 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, - 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, + 497, 498, 499, 500, 501, 502, 503, 504, 2852, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, @@ -14284,10 +14001,10 @@ static const yytype_int16 yytable[] = 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, - 581, 582, 583, 0, 584, 585, 0, 2918, 2919, 0, + 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, - 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, + 604, 605, 606, 607, 608, 609, 610, 0, 2853, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, @@ -14295,58 +14012,58 @@ static const yytype_int16 yytable[] = 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 2009, 244, 245, 246, 0, 0, + 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, - 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, + 0, 0, 270, 271, 272, 273, 274, 2845, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, - 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, + 285, 286, 0, 288, 289, 290, 291, 2847, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, - 0, 0, 0, 0, 0, 0, 303, 304, 305, 2010, + 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, - 0, 0, 324, 2011, 326, 327, 328, 0, 329, 330, - 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, + 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, + 331, 332, 0, 333, 334, 335, 336, 337, 0, 2848, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, - 348, 0, 349, 350, 351, 352, 353, 0, 354, 2012, - 355, 356, 0, 0, 0, 2013, 360, 361, 362, 0, + 348, 0, 349, 350, 351, 352, 353, 0, 354, 2849, + 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, 415, 2014, - 2015, 418, 0, 0, 419, 420, 0, 422, 0, 0, + 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, - 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, + 452, 453, 454, 455, 456, 457, 458, 459, 2851, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, - 485, 486, 487, 2016, 489, 490, 491, 492, 493, 494, + 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, - 504, 0, 505, 506, 507, 2017, 509, 510, 511, 512, + 504, 2852, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, - 532, 0, 533, 534, 0, 536, 537, 538, 2018, 540, - 541, 542, 543, 544, 545, 2019, 547, 548, 549, 550, - 551, 0, 2020, 553, 554, 555, 556, 0, 557, 558, + 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, + 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, - 2021, 586, 0, 2022, 589, 590, 591, 592, 593, 0, + 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, - 0, 602, 603, 2023, 605, 606, 607, 608, 609, 610, - 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, + 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 2853, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 0, 244, 798, + 237, 238, 239, 240, 241, 242, 243, 797, 244, 798, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, @@ -14362,7 +14079,7 @@ static const yytype_int16 yytable[] = 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, - 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, + 361, 362, 831, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, @@ -14398,14 +14115,14 @@ static const yytype_int16 yytable[] = 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, + 797, 244, 798, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, - 0, 0, 299, 300, 301, 0, 0, 0, 2917, 0, + 799, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, @@ -14413,7 +14130,7 @@ static const yytype_int16 yytable[] = 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, - 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, + 0, 359, 360, 361, 362, 3582, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, @@ -14426,19 +14143,19 @@ static const yytype_int16 yytable[] = 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, - 473, 0, 862, 474, 475, 476, 0, 0, 477, 478, + 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, - 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, + 517, 518, 519, 800, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, - 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, + 545, 546, 547, 548, 549, 550, 551, 801, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, - 582, 583, 0, 584, 585, 0, 2918, 2919, 0, 588, + 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, @@ -14449,14 +14166,14 @@ static const yytype_int16 yytable[] = 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, - 241, 242, 243, 1020, 244, 245, 246, 0, 0, 0, + 241, 242, 243, 797, 244, 798, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, - 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, + 295, 296, 297, 799, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, @@ -14466,7 +14183,7 @@ static const yytype_int16 yytable[] = 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 1021, 0, 374, 375, 376, 377, 0, 378, 379, 380, + 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, @@ -14477,16 +14194,16 @@ static const yytype_int16 yytable[] = 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, - 0, 471, 472, 473, 0, 862, 474, 475, 476, 0, + 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, + 514, 515, 516, 517, 518, 519, 800, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, - 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, + 801, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, @@ -14498,9 +14215,9 @@ static const yytype_int16 yytable[] = 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, - 0, 717, 0, 0, 0, 0, 0, 1401, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, - 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, + 238, 239, 240, 241, 242, 243, 3088, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, @@ -14508,7 +14225,7 @@ static const yytype_int16 yytable[] = 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, - 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, + 301, 0, 0, 0, 2918, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, @@ -14528,7 +14245,7 @@ static const yytype_int16 yytable[] = 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, - 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, + 468, 469, 470, 0, 471, 472, 473, 0, 863, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, @@ -14541,7 +14258,7 @@ static const yytype_int16 yytable[] = 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, - 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, + 585, 0, 2919, 2920, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, @@ -14551,7 +14268,7 @@ static const yytype_int16 yytable[] = 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 3664, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 2010, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, @@ -14560,20 +14277,20 @@ static const yytype_int16 yytable[] = 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, - 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, + 0, 303, 304, 305, 2011, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, + 0, 320, 321, 322, 323, 0, 0, 324, 2012, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, - 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, - 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, + 352, 353, 0, 354, 2013, 355, 356, 0, 0, 0, + 2014, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, - 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, + 412, 413, 414, 415, 2015, 2016, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, @@ -14581,36 +14298,36 @@ static const yytype_int16 yytable[] = 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, - 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, + 0, 481, 0, 483, 484, 485, 486, 487, 2017, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, + 2018, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, - 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, - 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, + 536, 537, 538, 2019, 540, 541, 542, 543, 544, 545, + 2020, 547, 548, 549, 550, 551, 0, 2021, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, - 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, + 583, 0, 584, 585, 0, 2022, 586, 0, 2023, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, - 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, + 597, 598, 599, 600, 601, 0, 602, 603, 2024, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, - 614, 615, 3665, 0, 616, 617, 618, 619, 620, 621, + 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 3677, 244, 245, 246, 0, 0, 0, 0, + 242, 243, 0, 244, 798, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, - 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, + 296, 297, 799, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, @@ -14636,10 +14353,10 @@ static const yytype_int16 yytable[] = 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, + 515, 516, 517, 518, 519, 800, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, - 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 801, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, @@ -14647,14 +14364,14 @@ static const yytype_int16 yytable[] = 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, - 611, 612, 613, 614, 615, 3678, 0, 616, 617, 618, + 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, - 239, 240, 241, 242, 243, 659, 244, 245, 246, 0, + 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, @@ -14662,7 +14379,7 @@ static const yytype_int16 yytable[] = 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, - 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, + 0, 0, 0, 2918, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, @@ -14682,7 +14399,7 @@ static const yytype_int16 yytable[] = 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, - 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, + 469, 470, 0, 471, 472, 473, 0, 863, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, @@ -14695,7 +14412,7 @@ static const yytype_int16 yytable[] = 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, - 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, + 0, 2919, 2920, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, @@ -14705,7 +14422,7 @@ static const yytype_int16 yytable[] = 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 708, 244, + 236, 237, 238, 239, 240, 241, 242, 243, 1021, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, @@ -14722,7 +14439,7 @@ static const yytype_int16 yytable[] = 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, + 0, 368, 369, 370, 371, 1022, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, @@ -14734,10 +14451,10 @@ static const yytype_int16 yytable[] = 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, - 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, + 863, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, - 500, 501, 502, 709, 504, 0, 505, 506, 507, 508, + 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, @@ -14754,10 +14471,10 @@ static const yytype_int16 yytable[] = 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, - 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 648, 649, 650, 658, 0, 0, 717, 0, 0, 0, + 0, 0, 1402, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 822, 244, 245, 246, 0, 0, 0, 0, 0, + 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, @@ -14794,12 +14511,12 @@ static const yytype_int16 yytable[] = 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, - 553, 554, 555, 823, 0, 557, 558, 559, 560, 561, + 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, - 588, 589, 590, 591, 592, 593, 0, 594, 824, 596, - 0, 0, 825, 598, 599, 600, 601, 0, 602, 603, + 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, + 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, @@ -14808,7 +14525,7 @@ static const yytype_int16 yytable[] = 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 856, 244, 245, 246, 0, 0, + 240, 241, 242, 243, 3665, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, @@ -14845,21 +14562,21 @@ static const yytype_int16 yytable[] = 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 0, 552, 553, 554, 555, 857, 0, 557, 558, + 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, - 594, 858, 596, 0, 0, 859, 598, 599, 600, 601, + 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, + 0, 0, 611, 612, 613, 614, 615, 3666, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, + 237, 238, 239, 240, 241, 242, 243, 3678, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, @@ -14887,7 +14604,7 @@ static const yytype_int16 yytable[] = 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, - 467, 468, 469, 470, 0, 471, 472, 473, 0, 862, + 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, @@ -14904,14 +14621,14 @@ static const yytype_int16 yytable[] = 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, - 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, + 3679, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, - 0, 922, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, + 659, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, @@ -14962,7 +14679,7 @@ static const yytype_int16 yytable[] = 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, - 241, 242, 243, 977, 244, 245, 246, 0, 0, 0, + 241, 242, 243, 708, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, @@ -14979,7 +14696,7 @@ static const yytype_int16 yytable[] = 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 978, 0, 374, 375, 376, 377, 0, 378, 379, 380, + 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, @@ -14993,7 +14710,7 @@ static const yytype_int16 yytable[] = 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, - 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, + 0, 496, 497, 498, 499, 500, 501, 502, 709, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, @@ -15013,7 +14730,7 @@ static const yytype_int16 yytable[] = 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, - 238, 239, 240, 241, 242, 243, 1140, 244, 245, 246, + 238, 239, 240, 241, 242, 243, 822, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, @@ -15050,12 +14767,12 @@ static const yytype_int16 yytable[] = 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, - 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, + 549, 550, 551, 0, 552, 553, 554, 555, 823, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, - 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, + 593, 0, 594, 824, 596, 0, 0, 825, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, @@ -15064,7 +14781,7 @@ static const yytype_int16 yytable[] = 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 1390, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 857, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, @@ -15102,12 +14819,12 @@ static const yytype_int16 yytable[] = 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, + 555, 858, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, - 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, - 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, + 590, 591, 592, 593, 0, 594, 859, 596, 0, 0, + 860, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, @@ -15118,9 +14835,9 @@ static const yytype_int16 yytable[] = 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, - 253, 1403, 255, 256, 257, 258, 259, 0, 261, 262, + 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, - 842, 271, 272, 273, 1404, 0, 275, 276, 277, 278, + 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, @@ -15141,31 +14858,31 @@ static const yytype_int16 yytable[] = 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, - 444, 845, 446, 0, 448, 449, 450, 451, 452, 453, + 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, - 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, + 471, 472, 473, 0, 863, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, - 533, 534, 0, 846, 537, 538, 539, 540, 541, 542, - 543, 544, 545, 847, 547, 548, 549, 550, 551, 0, - 552, 553, 554, 555, 1394, 0, 557, 558, 559, 560, + 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, + 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, - 0, 588, 589, 590, 591, 592, 593, 0, 594, 849, - 596, 0, 0, 850, 598, 599, 600, 601, 0, 602, + 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, + 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, - 634, 635, 851, 637, 638, 639, 640, 641, 642, 643, + 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 923, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, @@ -15184,7 +14901,7 @@ static const yytype_int16 yytable[] = 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 1549, 0, 374, 375, 376, 377, 0, 378, + 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, @@ -15195,7 +14912,7 @@ static const yytype_int16 yytable[] = 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, - 469, 470, 0, 471, 472, 473, 0, 862, 474, 475, + 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, @@ -15218,7 +14935,7 @@ static const yytype_int16 yytable[] = 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 1610, 244, + 236, 237, 238, 239, 240, 241, 242, 243, 978, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, @@ -15235,7 +14952,7 @@ static const yytype_int16 yytable[] = 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 1611, 0, 374, 375, 376, + 0, 368, 369, 370, 371, 979, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, @@ -15270,7 +14987,7 @@ static const yytype_int16 yytable[] = 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 822, 244, 245, 246, 0, 0, 0, 0, 0, + 243, 1141, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, @@ -15321,7 +15038,7 @@ static const yytype_int16 yytable[] = 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, + 240, 241, 242, 243, 1389, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, @@ -15336,7 +15053,7 @@ static const yytype_int16 yytable[] = 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, - 355, 356, 0, 0, 0, 359, 360, 361, 3428, 0, + 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, @@ -15344,7 +15061,7 @@ static const yytype_int16 yytable[] = 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, - 424, 425, 3429, 0, 0, 427, 428, 429, 430, 431, + 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, @@ -15362,21 +15079,21 @@ static const yytype_int16 yytable[] = 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, - 3430, 586, 0, 588, 589, 3431, 591, 3432, 593, 0, + 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 0, 0, 611, 612, 3433, 614, 615, 0, 0, 616, + 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, - 0, 0, 0, 0, 0, 0, 0, 778, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, - 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, + 249, 0, 250, 251, 252, 253, 1404, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, - 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, + 267, 268, 269, 0, 0, 843, 271, 272, 273, 1405, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, @@ -15397,7 +15114,7 @@ static const yytype_int16 yytable[] = 414, 415, 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, - 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, + 439, 440, 441, 442, 443, 444, 846, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, @@ -15407,24 +15124,24 @@ static const yytype_int16 yytable[] = 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, - 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, - 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, - 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, + 529, 530, 531, 532, 0, 533, 534, 0, 847, 537, + 538, 539, 540, 541, 542, 543, 544, 545, 848, 547, + 548, 549, 550, 551, 0, 552, 553, 554, 555, 1393, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, - 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, + 592, 593, 0, 594, 850, 596, 0, 0, 851, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, - 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, + 0, 0, 631, 632, 633, 634, 635, 852, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 0, 244, 245, 246, 0, 0, 0, 0, 0, 4257, + 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, @@ -15440,7 +15157,7 @@ static const yytype_int16 yytable[] = 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, - 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, + 366, 367, 0, 368, 369, 370, 371, 1550, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, @@ -15452,7 +15169,7 @@ static const yytype_int16 yytable[] = 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, - 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, + 473, 0, 863, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, @@ -15475,8 +15192,8 @@ static const yytype_int16 yytable[] = 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, - 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, - 0, 0, 4271, 0, 247, 248, 249, 0, 250, 251, + 241, 242, 243, 1611, 244, 245, 246, 0, 0, 0, + 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, @@ -15492,7 +15209,7 @@ static const yytype_int16 yytable[] = 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, + 1612, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, @@ -15526,7 +15243,7 @@ static const yytype_int16 yytable[] = 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, - 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, + 238, 239, 240, 241, 242, 243, 822, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, @@ -15535,7 +15252,7 @@ static const yytype_int16 yytable[] = 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, - 305, 306, 307, 308, 309, 310, 311, 4419, 312, 0, + 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, @@ -15587,20 +15304,20 @@ static const yytype_int16 yytable[] = 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, - 4950, 312, 0, 313, 314, 315, 316, 317, 318, 319, + 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, - 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, + 359, 360, 361, 3429, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, + 420, 0, 422, 0, 0, 424, 425, 3430, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, @@ -15618,16 +15335,16 @@ static const yytype_int16 yytable[] = 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, - 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, - 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, + 583, 0, 584, 585, 0, 3431, 586, 0, 588, 589, + 3432, 591, 3433, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, - 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, + 606, 607, 608, 609, 610, 0, 0, 611, 612, 3434, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, @@ -15637,7 +15354,7 @@ static const yytype_int16 yytable[] = 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, - 5023, 0, 0, 0, 303, 304, 305, 306, 307, 308, + 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, @@ -15681,7 +15398,7 @@ static const yytype_int16 yytable[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, - 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, + 0, 0, 0, 0, 4257, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, @@ -15689,7 +15406,7 @@ static const yytype_int16 yytable[] = 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, - 306, 307, 308, 309, 310, 311, 5391, 312, 0, 313, + 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, @@ -15732,7 +15449,7 @@ static const yytype_int16 yytable[] = 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, - 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, + 245, 246, 0, 0, 0, 0, 0, 4271, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, @@ -15792,7 +15509,7 @@ static const yytype_int16 yytable[] = 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, - 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, + 310, 311, 4419, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, @@ -15825,7 +15542,7 @@ static const yytype_int16 yytable[] = 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, - 0, 0, 814, 598, 599, 600, 601, 0, 602, 603, + 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, @@ -15843,7 +15560,7 @@ static const yytype_int16 yytable[] = 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, - 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, + 307, 308, 309, 310, 311, 4950, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, @@ -15870,7 +15587,7 @@ static const yytype_int16 yytable[] = 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, - 541, 542, 543, 820, 545, 546, 547, 548, 549, 550, + 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, @@ -15889,11 +15606,11 @@ static const yytype_int16 yytable[] = 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, - 267, 268, 269, 0, 0, 842, 271, 272, 273, 274, + 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, - 0, 843, 293, 294, 295, 296, 297, 0, 0, 299, - 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, + 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, + 300, 301, 0, 0, 0, 5023, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, @@ -15908,9 +15625,9 @@ static const yytype_int16 yytable[] = 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 0, - 422, 0, 0, 424, 425, 844, 0, 0, 427, 428, + 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, - 439, 440, 441, 442, 443, 444, 845, 446, 0, 448, + 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, @@ -15920,19 +15637,19 @@ static const yytype_int16 yytable[] = 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, - 529, 530, 531, 532, 0, 533, 534, 0, 846, 537, - 538, 539, 540, 541, 542, 543, 544, 545, 847, 547, - 548, 549, 550, 551, 0, 552, 553, 554, 555, 848, + 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, + 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, + 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, - 592, 593, 0, 594, 849, 596, 0, 0, 850, 598, + 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, - 0, 0, 631, 632, 633, 634, 635, 851, 637, 638, + 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -15946,7 +15663,7 @@ static const yytype_int16 yytable[] = 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, - 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, + 311, 5391, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, @@ -15970,7 +15687,7 @@ static const yytype_int16 yytable[] = 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, - 517, 874, 519, 0, 520, 521, 522, 523, 524, 525, + 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, @@ -16005,7 +15722,7 @@ static const yytype_int16 yytable[] = 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 1002, 0, 374, 375, 376, 377, 0, 378, 379, 380, + 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, @@ -16056,7 +15773,7 @@ static const yytype_int16 yytable[] = 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, - 369, 370, 371, 1012, 0, 374, 375, 376, 377, 0, + 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, @@ -16081,7 +15798,7 @@ static const yytype_int16 yytable[] = 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, - 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, + 593, 0, 594, 595, 596, 0, 0, 814, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, @@ -16107,7 +15824,7 @@ static const yytype_int16 yytable[] = 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, - 367, 0, 368, 369, 370, 371, 1015, 0, 374, 375, + 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, @@ -16126,7 +15843,7 @@ static const yytype_int16 yytable[] = 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, - 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, + 536, 537, 538, 539, 540, 541, 542, 543, 820, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, @@ -16146,9 +15863,9 @@ static const yytype_int16 yytable[] = 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, - 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, + 843, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, - 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, + 0, 288, 289, 290, 291, 0, 844, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, @@ -16158,16 +15875,16 @@ static const yytype_int16 yytable[] = 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, - 0, 365, 366, 367, 0, 368, 369, 370, 371, 1031, + 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, - 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, + 845, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, - 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, + 444, 846, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, @@ -16177,19 +15894,19 @@ static const yytype_int16 yytable[] = 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, - 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, - 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, - 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, + 533, 534, 0, 847, 537, 538, 539, 540, 541, 542, + 543, 544, 545, 848, 547, 548, 549, 550, 551, 0, + 552, 553, 554, 555, 849, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, - 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, - 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, + 0, 588, 589, 590, 591, 592, 593, 0, 594, 850, + 596, 0, 0, 851, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, - 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, + 634, 635, 852, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, @@ -16210,7 +15927,7 @@ static const yytype_int16 yytable[] = 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 1088, 0, 374, 375, 376, 377, 0, 378, + 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, @@ -16226,7 +15943,7 @@ static const yytype_int16 yytable[] = 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, + 512, 513, 514, 515, 516, 517, 875, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, @@ -16261,7 +15978,7 @@ static const yytype_int16 yytable[] = 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 1093, 0, 374, 375, 376, + 0, 368, 369, 370, 371, 1003, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, @@ -16312,7 +16029,7 @@ static const yytype_int16 yytable[] = 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, - 365, 366, 367, 0, 368, 369, 370, 371, 1110, 0, + 365, 366, 367, 0, 368, 369, 370, 371, 1013, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, @@ -16364,7 +16081,7 @@ static const yytype_int16 yytable[] = 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, - 371, 1113, 0, 374, 375, 376, 377, 0, 378, 379, + 371, 1016, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, @@ -16415,7 +16132,7 @@ static const yytype_int16 yytable[] = 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, - 368, 369, 370, 371, 1115, 0, 374, 375, 376, 377, + 368, 369, 370, 371, 1032, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, @@ -16466,7 +16183,7 @@ static const yytype_int16 yytable[] = 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, - 366, 367, 0, 368, 369, 370, 371, 1153, 0, 374, + 366, 367, 0, 368, 369, 370, 371, 1089, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, @@ -16518,7 +16235,7 @@ static const yytype_int16 yytable[] = 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 1181, 0, 374, 375, 376, 377, 0, 378, 379, 380, + 1094, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, @@ -16569,7 +16286,7 @@ static const yytype_int16 yytable[] = 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, - 369, 370, 371, 1183, 0, 374, 375, 376, 377, 0, + 369, 370, 371, 1111, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, @@ -16620,7 +16337,7 @@ static const yytype_int16 yytable[] = 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, - 367, 0, 368, 369, 370, 371, 1193, 0, 374, 375, + 367, 0, 368, 369, 370, 371, 1114, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, @@ -16671,7 +16388,7 @@ static const yytype_int16 yytable[] = 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, - 0, 365, 366, 367, 0, 368, 369, 370, 371, 1196, + 0, 365, 366, 367, 0, 368, 369, 370, 371, 1116, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, @@ -16723,7 +16440,7 @@ static const yytype_int16 yytable[] = 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 1199, 0, 374, 375, 376, 377, 0, 378, + 370, 371, 1153, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, @@ -16761,7 +16478,7 @@ static const yytype_int16 yytable[] = 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, - 266, 267, 268, 269, 0, 0, 842, 271, 272, 273, + 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, @@ -16774,7 +16491,7 @@ static const yytype_int16 yytable[] = 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, + 0, 368, 369, 370, 371, 1181, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, @@ -16782,7 +16499,7 @@ static const yytype_int16 yytable[] = 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, - 438, 439, 440, 441, 442, 443, 444, 845, 446, 0, + 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, @@ -16792,19 +16509,19 @@ static const yytype_int16 yytable[] = 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, - 528, 529, 530, 531, 532, 0, 533, 534, 0, 846, - 537, 538, 539, 540, 541, 542, 543, 544, 545, 847, + 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, + 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, - 1394, 0, 557, 558, 559, 560, 561, 0, 563, 564, + 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, - 591, 592, 593, 0, 594, 849, 596, 0, 0, 850, + 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, - 630, 0, 0, 631, 632, 633, 634, 635, 851, 637, + 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -16825,7 +16542,7 @@ static const yytype_int16 yytable[] = 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, - 365, 366, 367, 0, 368, 369, 370, 371, 1874, 0, + 365, 366, 367, 0, 368, 369, 370, 371, 1183, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, @@ -16877,7 +16594,7 @@ static const yytype_int16 yytable[] = 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, - 371, 1908, 0, 374, 375, 376, 377, 0, 378, 379, + 371, 1193, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, @@ -16928,7 +16645,7 @@ static const yytype_int16 yytable[] = 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, - 368, 369, 370, 371, 1910, 0, 374, 375, 376, 377, + 368, 369, 370, 371, 1196, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, @@ -16979,7 +16696,7 @@ static const yytype_int16 yytable[] = 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, - 366, 367, 0, 368, 369, 370, 371, 1950, 0, 374, + 366, 367, 0, 368, 369, 370, 371, 1199, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, @@ -17018,7 +16735,7 @@ static const yytype_int16 yytable[] = 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, - 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, + 0, 843, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, @@ -17031,7 +16748,7 @@ static const yytype_int16 yytable[] = 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 1952, 0, 374, 375, 376, 377, 0, 378, 379, 380, + 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, @@ -17039,7 +16756,7 @@ static const yytype_int16 yytable[] = 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, - 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, + 443, 444, 846, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, @@ -17049,19 +16766,19 @@ static const yytype_int16 yytable[] = 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, - 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, - 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, - 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, + 0, 533, 534, 0, 847, 537, 538, 539, 540, 541, + 542, 543, 544, 545, 848, 547, 548, 549, 550, 551, + 0, 552, 553, 554, 555, 1393, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, - 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, + 850, 596, 0, 0, 851, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, - 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, + 633, 634, 635, 852, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, @@ -17082,7 +16799,7 @@ static const yytype_int16 yytable[] = 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, - 369, 370, 371, 1954, 0, 374, 375, 376, 377, 0, + 369, 370, 371, 1875, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, @@ -17133,7 +16850,7 @@ static const yytype_int16 yytable[] = 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, - 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, + 367, 0, 368, 369, 370, 371, 1909, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, @@ -17152,7 +16869,7 @@ static const yytype_int16 yytable[] = 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, - 536, 537, 538, 539, 540, 541, 542, 543, 2048, 545, + 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, @@ -17169,7 +16886,7 @@ static const yytype_int16 yytable[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, - 0, 2731, 0, 247, 248, 249, 0, 250, 251, 252, + 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, @@ -17184,7 +16901,7 @@ static const yytype_int16 yytable[] = 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, - 0, 365, 366, 367, 0, 368, 369, 370, 371, 372, + 0, 365, 366, 367, 0, 368, 369, 370, 371, 1911, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, @@ -17205,7 +16922,7 @@ static const yytype_int16 yytable[] = 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, - 552, 553, 554, 555, 556, 0, 0, 558, 559, 560, + 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, @@ -17223,7 +16940,7 @@ static const yytype_int16 yytable[] = 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, - 269, 0, 0, 842, 271, 272, 273, 274, 0, 275, + 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, @@ -17236,7 +16953,7 @@ static const yytype_int16 yytable[] = 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, + 370, 371, 1951, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, @@ -17244,7 +16961,7 @@ static const yytype_int16 yytable[] = 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, - 441, 442, 443, 444, 845, 446, 0, 448, 449, 450, + 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, @@ -17254,19 +16971,19 @@ static const yytype_int16 yytable[] = 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 0, 533, 534, 0, 846, 537, 538, 539, - 540, 541, 542, 543, 544, 545, 847, 547, 548, 549, - 550, 551, 0, 552, 553, 554, 555, 1394, 0, 557, + 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, + 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, + 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, - 0, 0, 586, 0, 2765, 589, 590, 591, 592, 593, - 0, 594, 849, 596, 0, 0, 850, 598, 599, 600, + 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, + 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, - 631, 632, 633, 634, 635, 851, 637, 638, 639, 640, + 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, @@ -17274,7 +16991,7 @@ static const yytype_int16 yytable[] = 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, - 266, 267, 268, 269, 0, 0, 842, 271, 272, 273, + 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, @@ -17287,7 +17004,7 @@ static const yytype_int16 yytable[] = 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, + 0, 368, 369, 370, 371, 1953, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, @@ -17295,7 +17012,7 @@ static const yytype_int16 yytable[] = 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, - 438, 439, 440, 441, 442, 443, 444, 845, 446, 0, + 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, @@ -17305,19 +17022,19 @@ static const yytype_int16 yytable[] = 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, - 528, 529, 530, 531, 532, 0, 533, 534, 0, 846, - 537, 538, 539, 540, 541, 542, 543, 544, 545, 2827, + 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, + 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, - 2828, 0, 557, 558, 559, 560, 561, 0, 563, 564, + 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, - 591, 592, 593, 0, 594, 849, 596, 0, 0, 2829, + 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, - 630, 0, 0, 631, 632, 633, 634, 635, 851, 637, + 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -17325,7 +17042,7 @@ static const yytype_int16 yytable[] = 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, - 263, 264, 265, 266, 267, 268, 269, 0, 0, 842, + 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, @@ -17338,7 +17055,7 @@ static const yytype_int16 yytable[] = 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, - 365, 366, 367, 0, 368, 369, 370, 371, 372, 0, + 365, 366, 367, 0, 368, 369, 370, 371, 1955, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, @@ -17347,7 +17064,7 @@ static const yytype_int16 yytable[] = 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, - 845, 446, 0, 448, 449, 450, 451, 452, 453, 454, + 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, @@ -17357,19 +17074,19 @@ static const yytype_int16 yytable[] = 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, - 534, 0, 846, 537, 538, 539, 540, 541, 542, 543, - 544, 545, 2914, 547, 548, 549, 550, 551, 0, 552, - 553, 554, 555, 2828, 0, 557, 558, 559, 560, 561, + 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, + 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, + 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, - 588, 589, 590, 591, 592, 593, 0, 594, 849, 596, - 0, 0, 2829, 598, 599, 600, 601, 0, 602, 603, + 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, + 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, - 635, 851, 637, 638, 639, 640, 641, 642, 643, 644, + 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, @@ -17377,7 +17094,7 @@ static const yytype_int16 yytable[] = 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, - 0, 0, 842, 271, 272, 273, 274, 0, 275, 276, + 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, @@ -17398,7 +17115,7 @@ static const yytype_int16 yytable[] = 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, - 442, 443, 444, 845, 446, 0, 448, 449, 450, 451, + 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, @@ -17408,24 +17125,24 @@ static const yytype_int16 yytable[] = 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, - 532, 0, 533, 534, 0, 846, 537, 538, 539, 540, - 541, 542, 543, 544, 545, 2938, 547, 548, 549, 550, - 551, 0, 552, 553, 554, 555, 2828, 0, 557, 558, + 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, + 541, 542, 543, 2049, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, - 594, 849, 596, 0, 0, 2829, 598, 599, 600, 601, + 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, - 632, 633, 634, 635, 851, 637, 638, 639, 640, 641, + 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, - 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, + 246, 0, 0, 0, 0, 0, 2732, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, 274, @@ -17441,7 +17158,7 @@ static const yytype_int16 yytable[] = 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, - 368, 369, 370, 371, 3132, 0, 374, 375, 376, 377, + 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, @@ -17462,7 +17179,7 @@ static const yytype_int16 yytable[] = 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, - 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, + 0, 0, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, @@ -17479,7 +17196,7 @@ static const yytype_int16 yytable[] = 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, - 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, + 264, 265, 266, 267, 268, 269, 0, 0, 843, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, @@ -17492,7 +17209,7 @@ static const yytype_int16 yytable[] = 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, - 366, 367, 0, 368, 369, 370, 371, 3136, 0, 374, + 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, @@ -17500,7 +17217,7 @@ static const yytype_int16 yytable[] = 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, - 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, + 436, 437, 438, 439, 440, 441, 442, 443, 444, 846, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, @@ -17511,19 +17228,19 @@ static const yytype_int16 yytable[] = 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, - 0, 536, 537, 538, 539, 540, 541, 542, 543, 544, - 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, - 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, + 0, 847, 537, 538, 539, 540, 541, 542, 543, 544, + 545, 848, 547, 548, 549, 550, 551, 0, 552, 553, + 554, 555, 1393, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, - 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, - 589, 590, 591, 592, 593, 0, 594, 595, 596, 0, - 0, 597, 598, 599, 600, 601, 0, 602, 603, 604, + 582, 583, 0, 584, 585, 0, 0, 586, 0, 2766, + 589, 590, 591, 592, 593, 0, 594, 850, 596, 0, + 0, 851, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, - 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, + 852, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, @@ -17531,7 +17248,7 @@ static const yytype_int16 yytable[] = 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, 0, - 0, 270, 271, 272, 273, 274, 0, 275, 276, 277, + 0, 843, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, @@ -17544,7 +17261,7 @@ static const yytype_int16 yytable[] = 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 3194, 0, 374, 375, 376, 377, 0, 378, 379, 380, + 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, @@ -17552,7 +17269,7 @@ static const yytype_int16 yytable[] = 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, - 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, + 443, 444, 846, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, @@ -17562,19 +17279,19 @@ static const yytype_int16 yytable[] = 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, - 0, 533, 534, 0, 536, 537, 538, 539, 540, 541, - 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, - 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, + 0, 533, 534, 0, 847, 537, 538, 539, 540, 541, + 542, 543, 544, 545, 2828, 547, 548, 549, 550, 551, + 0, 552, 553, 554, 555, 2829, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, 594, - 595, 596, 0, 0, 597, 598, 599, 600, 601, 0, + 850, 596, 0, 0, 2830, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, - 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, + 633, 634, 635, 852, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, @@ -17582,7 +17299,7 @@ static const yytype_int16 yytable[] = 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, - 268, 269, 0, 0, 270, 271, 272, 273, 274, 0, + 268, 269, 0, 0, 843, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, @@ -17595,7 +17312,7 @@ static const yytype_int16 yytable[] = 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, - 369, 370, 371, 3586, 0, 374, 375, 376, 377, 0, + 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, @@ -17603,7 +17320,7 @@ static const yytype_int16 yytable[] = 415, 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, - 440, 441, 442, 443, 444, 445, 446, 0, 448, 449, + 440, 441, 442, 443, 444, 846, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, @@ -17613,19 +17330,19 @@ static const yytype_int16 yytable[] = 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, - 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, - 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, - 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, + 530, 531, 532, 0, 533, 534, 0, 847, 537, 538, + 539, 540, 541, 542, 543, 544, 545, 2915, 547, 548, + 549, 550, 551, 0, 552, 553, 554, 555, 2829, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, - 593, 0, 594, 595, 596, 0, 0, 597, 598, 599, + 593, 0, 594, 850, 596, 0, 0, 2830, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, - 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, + 0, 631, 632, 633, 634, 635, 852, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -17633,7 +17350,7 @@ static const yytype_int16 yytable[] = 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 0, 842, 271, 272, + 265, 266, 267, 268, 269, 0, 0, 843, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, @@ -17654,7 +17371,7 @@ static const yytype_int16 yytable[] = 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 437, 438, 439, 440, 441, 442, 443, 444, 845, 446, + 437, 438, 439, 440, 441, 442, 443, 444, 846, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, @@ -17665,18 +17382,18 @@ static const yytype_int16 yytable[] = 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, - 846, 537, 538, 539, 540, 541, 542, 543, 544, 545, - 847, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 2828, 0, 557, 558, 559, 560, 561, 0, 563, + 847, 537, 538, 539, 540, 541, 542, 543, 544, 545, + 2939, 547, 548, 549, 550, 551, 0, 552, 553, 554, + 555, 2829, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, - 590, 591, 592, 593, 0, 594, 849, 596, 0, 0, - 2829, 598, 599, 600, 601, 0, 602, 603, 604, 605, + 590, 591, 592, 593, 0, 594, 850, 596, 0, 0, + 2830, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, - 0, 630, 0, 0, 631, 632, 633, 634, 635, 851, + 0, 630, 0, 0, 631, 632, 633, 634, 635, 852, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -17697,7 +17414,7 @@ static const yytype_int16 yytable[] = 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, - 0, 365, 366, 367, 0, 368, 369, 370, 371, 3644, + 0, 365, 366, 367, 0, 368, 369, 370, 371, 3133, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, @@ -17749,7 +17466,7 @@ static const yytype_int16 yytable[] = 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, - 370, 371, 3667, 0, 374, 375, 376, 377, 0, 378, + 370, 371, 3137, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, @@ -17800,7 +17517,7 @@ static const yytype_int16 yytable[] = 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, - 0, 368, 369, 370, 371, 3669, 0, 374, 375, 376, + 0, 368, 369, 370, 371, 3195, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, @@ -17851,7 +17568,7 @@ static const yytype_int16 yytable[] = 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, - 365, 366, 367, 0, 368, 369, 370, 371, 3819, 0, + 365, 366, 367, 0, 368, 369, 370, 371, 3587, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, @@ -17890,14 +17607,14 @@ static const yytype_int16 yytable[] = 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, 269, - 0, 0, 270, 271, 272, 273, 274, 0, 275, 276, + 0, 0, 843, 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, - 0, 0, 324, 3861, 326, 327, 328, 0, 329, 330, + 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, @@ -17911,7 +17628,7 @@ static const yytype_int16 yytable[] = 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, - 442, 443, 444, 445, 446, 0, 448, 449, 450, 451, + 442, 443, 444, 846, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, @@ -17921,19 +17638,19 @@ static const yytype_int16 yytable[] = 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, - 532, 0, 533, 534, 0, 536, 537, 538, 539, 540, - 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, + 532, 0, 533, 534, 0, 847, 537, 538, 539, 540, + 541, 542, 543, 544, 545, 848, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 2829, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, 0, - 594, 595, 596, 0, 0, 597, 598, 599, 600, 601, + 594, 850, 596, 0, 0, 2830, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, - 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, + 632, 633, 634, 635, 852, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, @@ -17954,7 +17671,7 @@ static const yytype_int16 yytable[] = 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, - 368, 369, 370, 371, 5138, 0, 374, 375, 376, 377, + 368, 369, 370, 371, 3645, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, @@ -18005,7 +17722,7 @@ static const yytype_int16 yytable[] = 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, - 366, 367, 0, 368, 369, 370, 371, 372, 0, 374, + 366, 367, 0, 368, 369, 370, 371, 3668, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, @@ -18019,7 +17736,7 @@ static const yytype_int16 yytable[] = 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, - 489, 490, 491, 492, 493, 494, 5669, 0, 496, 497, + 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, @@ -18057,7 +17774,7 @@ static const yytype_int16 yytable[] = 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, 370, 371, - 372, 0, 374, 375, 376, 377, 0, 378, 379, 380, + 3670, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, 406, 407, @@ -18065,7 +17782,7 @@ static const yytype_int16 yytable[] = 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, - 443, 444, 445, 446, 0, 448, 6385, 450, 451, 452, + 443, 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, @@ -18107,8 +17824,8 @@ static const yytype_int16 yytable[] = 0, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, 360, 361, - 362, 0, 363, 364, 0, 365, 0, 367, 0, 368, - 369, 370, 371, 372, 0, 374, 375, 376, 377, 0, + 362, 0, 363, 364, 0, 365, 366, 367, 0, 368, + 369, 370, 371, 3820, 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, 403, 404, @@ -18121,13 +17838,13 @@ static const yytype_int16 yytable[] = 0, 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, 481, 0, - 483, 484, 485, 486, 487, 488, 489, 490, 0, 492, + 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, - 511, 512, 513, 0, 515, 516, 517, 518, 519, 0, + 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, 537, 538, - 539, 540, 541, 0, 543, 544, 545, 546, 547, 548, + 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, @@ -18140,3030 +17857,3206 @@ static const yytype_int16 yytable[] = 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, - 650, 879, 0, 0, 0, 0, 0, 0, 0, 0, + 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, - 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 0, 880, 260, 881, 882, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 0, 270, 271, 883, - 884, 274, 0, 275, 276, 277, 278, 0, 0, 280, - 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 247, 248, 249, 0, 250, 251, 252, 253, 0, 255, + 256, 257, 258, 259, 0, 261, 262, 0, 263, 264, + 265, 266, 267, 268, 269, 0, 0, 270, 271, 272, + 273, 274, 0, 275, 276, 277, 278, 279, 0, 0, + 0, 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, - 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, - 0, 303, 304, 305, 306, 307, 308, 885, 886, 311, + 0, 299, 300, 301, 0, 0, 0, 0, 0, 0, + 0, 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 887, + 0, 320, 321, 322, 323, 0, 0, 324, 3862, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, - 335, 336, 337, 0, 338, 339, 340, 341, 0, 343, - 344, 345, 346, 0, 0, 348, 0, 349, 350, 351, - 888, 353, 0, 354, 0, 355, 356, 357, 0, 358, - 359, 360, 361, 362, 0, 363, 0, 0, 0, 366, - 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, 2739, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 2740, 389, 390, 391, 392, 889, - 890, 0, 891, 0, 396, 397, 398, 399, 400, 892, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 335, 336, 337, 0, 338, 339, 340, 341, 342, 343, + 344, 345, 346, 347, 0, 348, 0, 349, 350, 351, + 352, 353, 0, 354, 0, 355, 356, 0, 0, 0, + 359, 360, 361, 362, 0, 363, 364, 0, 365, 366, + 367, 0, 368, 369, 370, 371, 372, 0, 374, 375, + 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, + 385, 0, 386, 0, 388, 389, 390, 391, 392, 393, + 394, 0, 395, 0, 396, 0, 0, 399, 0, 401, + 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, - 0, 421, 422, 423, 0, 424, 425, 426, 0, 0, + 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 0, 438, 439, 440, 441, 442, 443, 444, 445, 893, - 447, 894, 449, 450, 451, 452, 453, 454, 455, 456, - 0, 0, 459, 0, 460, 461, 462, 463, 0, 0, - 465, 895, 467, 468, 469, 470, 0, 471, 472, 473, - 0, 0, 474, 475, 476, 0, 0, 477, 478, 2742, - 480, 481, 482, 0, 484, 485, 486, 487, 488, 489, + 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, + 0, 448, 449, 450, 451, 452, 453, 454, 455, 456, + 457, 458, 459, 0, 460, 461, 0, 463, 0, 464, + 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, + 0, 0, 474, 475, 476, 0, 0, 477, 478, 479, + 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, - 0, 500, 0, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 896, 517, + 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, - 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, - 536, 537, 538, 539, 540, 0, 542, 543, 544, 545, + 527, 528, 529, 530, 531, 532, 0, 533, 534, 0, + 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 2743, 560, 561, 562, 563, - 564, 898, 566, 0, 567, 568, 569, 570, 571, 572, - 573, 574, 575, 576, 577, 578, 579, 580, 581, 0, - 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, - 590, 591, 592, 593, 0, 594, 899, 900, 0, 0, - 597, 598, 0, 600, 0, 0, 602, 603, 604, 605, + 555, 556, 0, 557, 558, 559, 560, 561, 0, 563, + 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, + 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, + 583, 0, 584, 585, 0, 0, 586, 0, 588, 589, + 590, 591, 592, 593, 0, 594, 595, 596, 0, 0, + 597, 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, - 614, 615, 0, 0, 616, 617, 618, 619, 620, 0, - 901, 2744, 623, 624, 625, 626, 627, 628, 629, 0, + 614, 615, 0, 0, 616, 617, 618, 619, 620, 621, + 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 879, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 648, 649, 650, 0, 0, 0, 0, 0, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, - 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, - 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, - 257, 0, 880, 260, 881, 882, 0, 263, 264, 265, - 266, 267, 268, 269, 0, 0, 270, 271, 883, 884, - 274, 0, 275, 276, 277, 278, 0, 0, 280, 0, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, - 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, - 303, 304, 305, 306, 307, 308, 885, 886, 311, 0, - 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, - 320, 321, 322, 323, 0, 0, 324, 325, 887, 327, - 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, - 336, 337, 0, 338, 339, 340, 341, 0, 343, 344, - 345, 346, 0, 0, 348, 0, 349, 350, 351, 888, - 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, - 360, 361, 362, 0, 363, 0, 0, 0, 366, 367, - 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, - 0, 386, 387, 0, 389, 390, 391, 392, 889, 890, - 0, 891, 0, 396, 397, 398, 399, 400, 892, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, - 413, 414, 415, 416, 417, 418, 0, 0, 419, 0, - 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, - 428, 429, 430, 431, 432, 433, 434, 435, 436, 0, - 438, 439, 440, 441, 442, 443, 444, 445, 893, 447, - 894, 449, 450, 451, 452, 453, 454, 455, 456, 0, - 0, 459, 0, 460, 461, 462, 463, 2823, 0, 465, - 895, 467, 468, 469, 470, 0, 471, 472, 473, 0, - 0, 474, 475, 476, 0, 0, 477, 478, 0, 480, - 481, 482, 0, 484, 485, 486, 487, 488, 489, 490, - 491, 492, 493, 494, 495, 0, 496, 497, 498, 0, - 500, 0, 502, 503, 504, 0, 505, 506, 507, 508, - 509, 510, 511, 512, 513, 514, 515, 896, 517, 518, - 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, - 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, - 537, 538, 539, 540, 0, 542, 543, 544, 545, 546, - 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, - 556, 0, 557, 558, 2743, 560, 561, 562, 563, 564, - 898, 566, 0, 567, 568, 569, 570, 571, 572, 573, - 574, 575, 576, 577, 578, 579, 580, 581, 0, 583, - 0, 584, 585, 0, 4647, 586, 587, 588, 589, 590, - 591, 592, 593, 0, 594, 899, 900, 0, 0, 597, - 598, 0, 600, 0, 0, 602, 603, 604, 605, 606, - 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, - 615, 0, 0, 616, 617, 618, 619, 620, 0, 901, - 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, - 630, 0, 0, 631, 632, 633, 634, 635, 636, 879, + 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, + 647, 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 648, 649, 650, 0, 0, 0, 0, 0, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, - 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, - 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, - 0, 880, 260, 881, 882, 0, 263, 264, 265, 266, - 267, 268, 269, 0, 0, 270, 271, 883, 884, 274, - 0, 275, 276, 277, 278, 0, 0, 280, 0, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, - 300, 301, 0, 0, 0, 302, 0, 0, 0, 303, - 304, 305, 306, 307, 308, 885, 886, 311, 0, 312, - 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, - 321, 322, 323, 0, 0, 324, 325, 887, 327, 328, - 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, - 337, 0, 338, 339, 340, 341, 0, 343, 344, 345, - 346, 0, 0, 348, 0, 349, 350, 351, 888, 353, - 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, - 361, 362, 0, 363, 0, 0, 0, 366, 367, 0, - 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, - 386, 387, 0, 389, 390, 391, 392, 889, 890, 0, - 891, 0, 396, 397, 398, 399, 400, 892, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 412, 413, - 414, 415, 416, 417, 418, 0, 0, 419, 0, 421, - 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 0, 438, - 439, 440, 441, 442, 443, 444, 445, 893, 447, 894, - 449, 450, 451, 452, 453, 454, 455, 456, 2904, 0, - 459, 0, 460, 461, 462, 463, 0, 0, 465, 895, - 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, - 474, 475, 476, 0, 0, 477, 478, 0, 480, 481, - 482, 0, 484, 485, 486, 487, 488, 489, 490, 491, - 492, 493, 494, 495, 0, 496, 497, 498, 0, 500, - 0, 502, 503, 504, 0, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 896, 517, 518, 519, - 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, - 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, - 538, 539, 540, 0, 542, 543, 544, 545, 546, 547, - 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, - 0, 557, 558, 897, 560, 561, 562, 563, 564, 898, - 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, - 575, 576, 577, 578, 579, 580, 581, 0, 583, 0, - 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, - 592, 593, 0, 594, 899, 900, 0, 0, 597, 598, - 0, 600, 0, 0, 602, 603, 604, 605, 606, 607, - 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, - 0, 0, 616, 617, 618, 619, 620, 0, 901, 0, - 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, - 0, 0, 631, 632, 633, 634, 635, 636, 879, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 648, - 649, 650, 0, 0, 0, 0, 0, 235, 236, 237, - 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, - 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, - 0, 250, 251, 252, 253, 254, 255, 256, 257, 0, - 880, 260, 881, 882, 0, 263, 264, 265, 266, 267, - 268, 269, 0, 0, 270, 271, 883, 884, 274, 0, - 275, 276, 277, 278, 0, 0, 280, 0, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, - 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, - 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, - 305, 306, 307, 308, 885, 886, 311, 0, 312, 0, - 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, - 322, 323, 0, 0, 324, 325, 887, 327, 328, 0, - 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, - 0, 338, 339, 340, 341, 0, 343, 344, 345, 346, - 0, 0, 348, 0, 349, 350, 351, 888, 353, 0, - 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, - 362, 0, 363, 0, 0, 0, 366, 367, 0, 368, - 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, - 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, - 387, 0, 389, 390, 391, 392, 889, 890, 0, 891, - 0, 396, 397, 398, 399, 400, 892, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 412, 413, 414, - 415, 416, 417, 418, 0, 0, 419, 0, 421, 422, - 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, - 430, 431, 432, 433, 434, 435, 436, 0, 438, 439, - 440, 441, 442, 443, 444, 445, 893, 447, 894, 449, - 450, 451, 452, 453, 454, 455, 456, 4441, 0, 459, - 0, 460, 461, 462, 463, 0, 0, 465, 895, 467, - 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, - 475, 476, 0, 0, 477, 478, 0, 480, 481, 482, - 0, 484, 485, 486, 487, 488, 489, 490, 491, 492, - 493, 494, 495, 0, 496, 497, 498, 0, 500, 0, - 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, - 511, 512, 513, 514, 515, 896, 517, 518, 519, 0, - 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, - 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, - 539, 540, 0, 542, 543, 544, 545, 546, 547, 548, - 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, - 557, 558, 897, 560, 561, 562, 563, 564, 898, 566, - 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, - 576, 577, 578, 579, 580, 581, 0, 583, 0, 584, - 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, - 593, 0, 594, 899, 900, 0, 0, 597, 598, 0, - 600, 0, 0, 602, 603, 604, 605, 606, 607, 608, - 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, - 0, 616, 617, 618, 619, 620, 0, 901, 0, 623, - 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, - 0, 631, 632, 633, 634, 635, 636, 879, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 648, 649, - 650, 0, 0, 0, 0, 0, 235, 236, 237, 238, + 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, + 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, + 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, + 253, 0, 255, 256, 257, 258, 259, 0, 261, 262, + 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, + 270, 271, 272, 273, 274, 0, 275, 276, 277, 278, + 279, 0, 0, 0, 281, 282, 283, 284, 285, 286, + 0, 288, 289, 290, 291, 0, 292, 293, 294, 295, + 296, 297, 0, 0, 299, 300, 301, 0, 0, 0, + 0, 0, 0, 0, 303, 304, 305, 306, 307, 308, + 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, + 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, + 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, + 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, + 341, 342, 343, 344, 345, 346, 347, 0, 348, 0, + 349, 350, 351, 352, 353, 0, 354, 0, 355, 356, + 0, 0, 0, 359, 360, 361, 362, 0, 363, 364, + 0, 365, 366, 367, 0, 368, 369, 370, 371, 5138, + 0, 374, 375, 376, 377, 0, 378, 379, 380, 381, + 382, 383, 384, 385, 0, 386, 0, 388, 389, 390, + 391, 392, 393, 394, 0, 395, 0, 396, 0, 0, + 399, 0, 401, 402, 403, 404, 405, 406, 407, 408, + 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, + 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, + 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, + 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, + 444, 445, 446, 0, 448, 449, 450, 451, 452, 453, + 454, 455, 456, 457, 458, 459, 0, 460, 461, 0, + 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, + 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, + 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, + 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, + 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, + 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, + 533, 534, 0, 536, 537, 538, 539, 540, 541, 542, + 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, + 552, 553, 554, 555, 556, 0, 557, 558, 559, 560, + 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, + 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, + 580, 581, 582, 583, 0, 584, 585, 0, 0, 586, + 0, 588, 589, 590, 591, 592, 593, 0, 594, 595, + 596, 0, 0, 597, 598, 599, 600, 601, 0, 602, + 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, + 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, + 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, + 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, + 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, + 644, 645, 646, 647, 648, 649, 650, 658, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, - 250, 251, 252, 253, 254, 255, 256, 257, 0, 880, - 260, 881, 882, 0, 263, 264, 265, 266, 267, 268, - 269, 0, 0, 270, 271, 883, 884, 274, 0, 275, - 276, 277, 278, 0, 0, 280, 0, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, - 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, - 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, - 306, 307, 308, 885, 886, 311, 0, 312, 0, 313, + 250, 251, 252, 253, 0, 255, 256, 257, 258, 259, + 0, 261, 262, 0, 263, 264, 265, 266, 267, 268, + 269, 0, 0, 270, 271, 272, 273, 274, 0, 275, + 276, 277, 278, 279, 0, 0, 0, 281, 282, 283, + 284, 285, 286, 0, 288, 289, 290, 291, 0, 292, + 293, 294, 295, 296, 297, 0, 0, 299, 300, 301, + 0, 0, 0, 0, 0, 0, 0, 303, 304, 305, + 306, 307, 308, 309, 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, - 323, 0, 0, 324, 325, 887, 327, 328, 0, 329, + 323, 0, 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, - 338, 339, 340, 341, 0, 343, 344, 345, 346, 0, - 0, 348, 0, 349, 350, 351, 888, 353, 6065, 354, - 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, - 0, 363, 0, 0, 0, 366, 367, 0, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, - 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, - 0, 389, 390, 391, 392, 889, 890, 0, 891, 0, - 396, 397, 398, 399, 400, 892, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 412, 413, 414, 415, - 416, 417, 418, 0, 0, 419, 0, 421, 422, 423, + 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, + 0, 348, 0, 349, 350, 351, 352, 353, 0, 354, + 0, 355, 356, 0, 0, 0, 359, 360, 361, 362, + 0, 363, 364, 0, 365, 366, 367, 0, 368, 369, + 370, 371, 372, 0, 374, 375, 376, 377, 0, 378, + 379, 380, 381, 382, 383, 384, 385, 0, 386, 0, + 388, 389, 390, 391, 392, 393, 394, 0, 395, 0, + 396, 0, 0, 399, 0, 401, 402, 403, 404, 405, + 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, + 416, 417, 418, 0, 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, - 431, 432, 433, 434, 435, 436, 0, 438, 439, 440, - 441, 442, 443, 444, 445, 893, 447, 894, 449, 450, - 451, 452, 453, 454, 455, 456, 0, 0, 459, 0, - 460, 461, 462, 463, 0, 0, 465, 895, 467, 468, + 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, + 441, 442, 443, 444, 445, 446, 0, 448, 449, 450, + 451, 452, 453, 454, 455, 456, 457, 458, 459, 0, + 460, 461, 0, 463, 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, - 476, 0, 0, 477, 478, 0, 480, 481, 482, 0, + 476, 0, 0, 477, 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 0, 496, 497, 498, 0, 500, 0, 502, + 494, 5669, 0, 496, 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 896, 517, 518, 519, 0, 520, + 512, 513, 514, 515, 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, - 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, - 540, 0, 542, 543, 544, 545, 546, 547, 548, 549, + 531, 532, 0, 533, 534, 0, 536, 537, 538, 539, + 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, - 558, 897, 560, 561, 562, 563, 564, 898, 566, 0, + 558, 559, 560, 561, 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, - 577, 578, 579, 580, 581, 0, 583, 0, 584, 585, - 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, - 0, 594, 899, 900, 0, 0, 597, 598, 0, 600, - 0, 0, 602, 603, 604, 605, 606, 607, 608, 609, + 577, 578, 579, 580, 581, 582, 583, 0, 584, 585, + 0, 0, 586, 0, 588, 589, 590, 591, 592, 593, + 0, 594, 595, 596, 0, 0, 597, 598, 599, 600, + 601, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, - 616, 617, 618, 619, 620, 0, 901, 0, 623, 624, + 616, 617, 618, 619, 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, - 631, 632, 633, 634, 635, 636, 879, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 648, 649, 650, - 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, - 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, - 251, 252, 253, 254, 255, 256, 257, 0, 880, 260, - 881, 882, 0, 263, 264, 265, 266, 267, 268, 269, - 0, 0, 270, 271, 883, 884, 274, 0, 275, 276, - 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, - 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, - 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, - 307, 308, 885, 886, 311, 0, 312, 0, 313, 314, - 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, - 0, 0, 324, 325, 887, 327, 328, 0, 329, 330, - 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, - 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, - 348, 0, 349, 350, 351, 888, 353, 6429, 354, 0, - 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, - 363, 0, 0, 0, 366, 367, 0, 368, 369, 370, - 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, - 380, 381, 382, 383, 384, 385, 0, 386, 387, 0, - 389, 390, 391, 392, 889, 890, 0, 891, 0, 396, - 397, 398, 399, 400, 892, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, - 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, - 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, - 432, 433, 434, 435, 436, 0, 438, 439, 440, 441, - 442, 443, 444, 445, 893, 447, 894, 449, 450, 451, - 452, 453, 454, 455, 456, 0, 0, 459, 0, 460, - 461, 462, 463, 0, 0, 465, 895, 467, 468, 469, - 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, - 0, 0, 477, 478, 0, 480, 481, 482, 0, 484, - 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, - 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, - 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 896, 517, 518, 519, 0, 520, 521, - 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, - 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, - 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, - 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, - 897, 560, 561, 562, 563, 564, 898, 566, 0, 567, - 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, - 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, - 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, - 594, 899, 900, 0, 0, 597, 598, 0, 600, 0, - 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, - 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, - 617, 618, 619, 620, 0, 901, 0, 623, 624, 625, - 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, - 632, 633, 634, 635, 636, 879, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 648, 649, 650, 0, - 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, - 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, + 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, + 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, + 658, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 235, + 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, + 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, + 248, 249, 0, 250, 251, 252, 253, 0, 255, 256, + 257, 258, 259, 0, 261, 262, 0, 263, 264, 265, + 266, 267, 268, 269, 0, 0, 270, 271, 272, 273, + 274, 0, 275, 276, 277, 278, 279, 0, 0, 0, + 281, 282, 283, 284, 285, 286, 0, 288, 289, 290, + 291, 0, 292, 293, 294, 295, 296, 297, 0, 0, + 299, 300, 301, 0, 0, 0, 0, 0, 0, 0, + 303, 304, 305, 306, 307, 308, 309, 310, 311, 0, + 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, + 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, + 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, + 336, 337, 0, 338, 339, 340, 341, 342, 343, 344, + 345, 346, 347, 0, 348, 0, 349, 350, 351, 352, + 353, 0, 354, 0, 355, 356, 0, 0, 0, 359, + 360, 361, 362, 0, 363, 364, 0, 365, 366, 367, + 0, 368, 369, 370, 371, 372, 0, 374, 375, 376, + 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, + 0, 386, 0, 388, 389, 390, 391, 392, 393, 394, + 0, 395, 0, 396, 0, 0, 399, 0, 401, 402, + 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, + 413, 414, 415, 416, 417, 418, 0, 0, 419, 420, + 0, 422, 0, 0, 424, 425, 426, 0, 0, 427, + 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, + 438, 439, 440, 441, 442, 443, 444, 445, 446, 0, + 448, 6385, 450, 451, 452, 453, 454, 455, 456, 457, + 458, 459, 0, 460, 461, 0, 463, 0, 464, 465, + 466, 467, 468, 469, 470, 0, 471, 472, 473, 0, + 0, 474, 475, 476, 0, 0, 477, 478, 479, 0, + 481, 0, 483, 484, 485, 486, 487, 488, 489, 490, + 491, 492, 493, 494, 495, 0, 496, 497, 498, 499, + 500, 501, 502, 503, 504, 0, 505, 506, 507, 508, + 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, + 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, + 528, 529, 530, 531, 532, 0, 533, 534, 0, 536, + 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, + 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, + 556, 0, 557, 558, 559, 560, 561, 0, 563, 564, + 565, 566, 0, 567, 568, 569, 570, 571, 572, 573, + 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, + 0, 584, 585, 0, 0, 586, 0, 588, 589, 590, + 591, 592, 593, 0, 594, 595, 596, 0, 0, 597, + 598, 599, 600, 601, 0, 602, 603, 604, 605, 606, + 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, + 615, 0, 0, 616, 617, 618, 619, 620, 621, 622, + 0, 623, 0, 625, 626, 627, 628, 629, 0, 0, + 630, 0, 0, 631, 632, 633, 634, 635, 636, 637, + 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, + 648, 649, 650, 658, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, + 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, + 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, + 0, 255, 256, 257, 258, 259, 0, 261, 262, 0, + 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, + 271, 272, 273, 274, 0, 275, 276, 277, 278, 279, + 0, 0, 0, 281, 282, 283, 284, 285, 286, 0, + 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, + 297, 0, 0, 299, 300, 301, 0, 0, 0, 0, + 0, 0, 0, 303, 304, 305, 306, 307, 308, 309, + 310, 311, 0, 312, 0, 313, 314, 315, 316, 317, + 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, + 325, 326, 327, 328, 0, 329, 330, 331, 332, 0, + 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, + 342, 343, 344, 345, 346, 347, 0, 348, 0, 349, + 350, 351, 352, 353, 0, 354, 0, 355, 356, 0, + 0, 0, 359, 360, 361, 362, 0, 363, 364, 0, + 365, 0, 367, 0, 368, 369, 370, 371, 372, 0, + 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, + 383, 384, 385, 0, 386, 0, 388, 389, 390, 391, + 392, 393, 394, 0, 395, 0, 396, 0, 0, 399, + 0, 401, 402, 403, 404, 405, 406, 407, 408, 409, + 410, 411, 412, 413, 414, 415, 416, 417, 418, 0, + 0, 419, 420, 0, 422, 0, 0, 424, 425, 426, + 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, + 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, + 445, 446, 0, 448, 449, 450, 451, 452, 453, 454, + 455, 456, 457, 458, 459, 0, 460, 461, 0, 463, + 0, 464, 465, 466, 467, 468, 469, 470, 0, 471, + 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, + 478, 479, 0, 481, 0, 483, 484, 485, 486, 487, + 488, 489, 490, 0, 492, 493, 494, 495, 0, 496, + 497, 498, 499, 500, 501, 502, 503, 504, 0, 505, + 506, 507, 508, 509, 510, 511, 512, 513, 0, 515, + 516, 517, 518, 519, 0, 520, 521, 522, 523, 524, + 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, + 534, 0, 536, 537, 538, 539, 540, 541, 0, 543, + 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, + 553, 554, 555, 556, 0, 557, 558, 559, 560, 561, + 0, 563, 564, 565, 566, 0, 567, 568, 569, 570, + 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, + 581, 582, 583, 0, 584, 585, 0, 0, 586, 0, + 588, 589, 590, 591, 592, 593, 0, 594, 595, 596, + 0, 0, 597, 598, 599, 600, 601, 0, 602, 603, + 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, + 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, + 620, 621, 622, 0, 623, 0, 625, 626, 627, 628, + 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, + 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, + 645, 646, 647, 648, 649, 650, 880, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, + 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 254, 255, 256, 257, 0, 881, 260, + 882, 883, 0, 263, 264, 265, 266, 267, 268, 269, + 0, 0, 270, 271, 884, 885, 274, 0, 275, 276, + 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, + 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, + 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, + 307, 308, 886, 887, 311, 0, 312, 0, 313, 314, + 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, + 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, + 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, + 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, + 348, 0, 349, 350, 351, 889, 353, 0, 354, 0, + 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, + 363, 0, 0, 0, 366, 367, 0, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, 2740, 378, 379, + 380, 381, 382, 383, 384, 385, 0, 386, 387, 2741, + 389, 390, 391, 392, 890, 891, 0, 892, 0, 396, + 397, 398, 399, 400, 893, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, + 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 0, 438, 439, 440, 441, + 442, 443, 444, 445, 894, 447, 895, 449, 450, 451, + 452, 453, 454, 455, 456, 0, 0, 459, 0, 460, + 461, 462, 463, 0, 0, 465, 896, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, + 0, 0, 477, 478, 2743, 480, 481, 482, 0, 484, + 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, + 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, + 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, + 513, 514, 515, 897, 517, 518, 519, 0, 520, 521, + 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, + 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, + 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, + 2744, 560, 561, 562, 563, 564, 899, 566, 0, 567, + 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, + 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, + 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, + 594, 900, 901, 0, 0, 597, 598, 0, 600, 0, + 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, + 617, 618, 619, 620, 0, 902, 2745, 623, 624, 625, + 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, + 632, 633, 634, 635, 636, 880, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 648, 649, 650, 0, + 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, + 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, - 252, 253, 254, 255, 256, 257, 0, 880, 260, 881, - 882, 0, 263, 264, 265, 266, 267, 268, 269, 0, - 0, 270, 271, 883, 884, 274, 0, 275, 276, 277, + 252, 253, 254, 255, 256, 257, 0, 881, 260, 882, + 883, 0, 263, 264, 265, 266, 267, 268, 269, 0, + 0, 270, 271, 884, 885, 274, 0, 275, 276, 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, - 308, 885, 886, 311, 0, 312, 0, 313, 314, 315, + 308, 886, 887, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, - 0, 324, 325, 887, 327, 328, 0, 329, 330, 331, + 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, 348, - 0, 349, 350, 351, 888, 353, 0, 354, 0, 355, + 0, 349, 350, 351, 889, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 0, 0, 0, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 0, 389, - 390, 391, 392, 889, 890, 0, 891, 0, 396, 397, - 398, 399, 400, 892, 0, 0, 0, 0, 0, 0, + 390, 391, 392, 890, 891, 0, 892, 0, 396, 397, + 398, 399, 400, 893, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 0, 438, 439, 440, 441, 442, - 443, 444, 445, 893, 447, 894, 449, 450, 451, 452, + 443, 444, 445, 894, 447, 895, 449, 450, 451, 452, 453, 454, 455, 456, 0, 0, 459, 0, 460, 461, - 462, 463, 0, 0, 465, 895, 467, 468, 469, 470, + 462, 463, 2824, 0, 465, 896, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 0, 480, 481, 482, 0, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, 896, 517, 518, 519, 0, 520, 521, 522, + 514, 515, 897, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, - 0, 552, 553, 554, 555, 556, 0, 557, 558, 897, - 560, 561, 562, 563, 564, 898, 566, 0, 567, 568, + 0, 552, 553, 554, 555, 556, 0, 557, 558, 2744, + 560, 561, 562, 563, 564, 899, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, - 579, 580, 581, 0, 583, 0, 584, 585, 0, 0, + 579, 580, 581, 0, 583, 0, 584, 585, 0, 4648, 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, - 899, 900, 0, 0, 597, 598, 0, 600, 0, 0, + 900, 901, 0, 0, 597, 598, 0, 600, 0, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, - 618, 619, 620, 0, 901, 0, 623, 624, 625, 626, + 618, 619, 620, 0, 902, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, - 633, 634, 635, 636, 879, 0, 0, 0, 0, 0, + 633, 634, 635, 636, 880, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 648, 649, 650, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, - 253, 254, 255, 256, 257, 0, 880, 260, 881, 882, + 253, 254, 255, 256, 257, 0, 881, 260, 882, 883, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, - 270, 271, 883, 884, 274, 0, 275, 276, 277, 278, + 270, 271, 884, 885, 274, 0, 275, 276, 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, 308, - 885, 886, 311, 0, 312, 0, 313, 314, 315, 316, + 886, 887, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, - 324, 325, 887, 327, 328, 0, 329, 330, 331, 332, + 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, 348, 0, - 349, 350, 351, 888, 353, 0, 354, 0, 355, 356, + 349, 350, 351, 889, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 0, - 0, 0, 366, 367, 0, 368, 369, 370, 371, 1155, + 0, 0, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 0, 389, 390, - 391, 392, 889, 890, 0, 891, 0, 396, 397, 398, - 399, 400, 892, 0, 0, 0, 0, 0, 0, 0, + 391, 392, 890, 891, 0, 892, 0, 396, 397, 398, + 399, 400, 893, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 0, 438, 439, 440, 441, 442, 443, - 444, 445, 893, 447, 894, 449, 450, 451, 452, 453, - 454, 455, 456, 0, 0, 459, 0, 460, 461, 462, - 463, 0, 0, 465, 895, 467, 468, 469, 470, 0, + 444, 445, 894, 447, 895, 449, 450, 451, 452, 453, + 454, 455, 456, 2905, 0, 459, 0, 460, 461, 462, + 463, 0, 0, 465, 896, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 0, 480, 481, 482, 0, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, 896, 517, 518, 519, 0, 520, 521, 522, 523, + 515, 897, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, - 552, 553, 554, 555, 556, 0, 557, 558, 897, 560, - 561, 562, 563, 564, 898, 566, 0, 567, 568, 569, + 552, 553, 554, 555, 556, 0, 557, 558, 898, 560, + 561, 562, 563, 564, 899, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, 0, 586, - 587, 588, 589, 590, 591, 592, 593, 0, 594, 899, - 900, 0, 0, 597, 598, 0, 600, 0, 0, 602, + 587, 588, 589, 590, 591, 592, 593, 0, 594, 900, + 901, 0, 0, 597, 598, 0, 600, 0, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, - 619, 620, 0, 901, 0, 623, 624, 625, 626, 627, + 619, 620, 0, 902, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, - 634, 635, 636, 879, 0, 0, 0, 0, 0, 0, + 634, 635, 636, 880, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 648, 649, 650, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, - 254, 255, 256, 257, 0, 880, 260, 881, 882, 0, + 254, 255, 256, 257, 0, 881, 260, 882, 883, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, - 271, 883, 884, 274, 0, 275, 276, 277, 278, 0, + 271, 884, 885, 274, 0, 275, 276, 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, - 0, 0, 0, 303, 304, 305, 306, 307, 308, 885, - 886, 311, 0, 312, 0, 313, 314, 315, 316, 317, + 0, 0, 0, 303, 304, 305, 306, 307, 308, 886, + 887, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, - 325, 887, 327, 328, 0, 329, 330, 331, 332, 0, + 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, 348, 0, 349, - 350, 351, 888, 353, 0, 354, 0, 355, 356, 357, + 350, 351, 889, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 0, 0, - 0, 366, 367, 0, 368, 369, 370, 371, 1187, 373, + 0, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 0, 389, 390, 391, - 392, 889, 890, 0, 891, 0, 396, 397, 398, 399, - 400, 892, 0, 0, 0, 0, 0, 0, 0, 0, + 392, 890, 891, 0, 892, 0, 396, 397, 398, 399, + 400, 893, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 0, 438, 439, 440, 441, 442, 443, 444, - 445, 893, 447, 894, 449, 450, 451, 452, 453, 454, - 455, 456, 0, 0, 459, 0, 460, 461, 462, 463, - 0, 0, 465, 895, 467, 468, 469, 470, 0, 471, + 445, 894, 447, 895, 449, 450, 451, 452, 453, 454, + 455, 456, 4441, 0, 459, 0, 460, 461, 462, 463, + 0, 0, 465, 896, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 0, 480, 481, 482, 0, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - 896, 517, 518, 519, 0, 520, 521, 522, 523, 524, + 897, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, - 553, 554, 555, 556, 0, 557, 558, 897, 560, 561, - 562, 563, 564, 898, 566, 0, 567, 568, 569, 570, + 553, 554, 555, 556, 0, 557, 558, 898, 560, 561, + 562, 563, 564, 899, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, 0, 586, 587, - 588, 589, 590, 591, 592, 593, 0, 594, 899, 900, + 588, 589, 590, 591, 592, 593, 0, 594, 900, 901, 0, 0, 597, 598, 0, 600, 0, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, - 620, 0, 901, 0, 623, 624, 625, 626, 627, 628, + 620, 0, 902, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, - 635, 636, 879, 0, 0, 0, 0, 0, 0, 0, + 635, 636, 880, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 648, 649, 650, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, - 255, 256, 257, 0, 880, 260, 881, 882, 0, 263, + 255, 256, 257, 0, 881, 260, 882, 883, 0, 263, 264, 265, 266, 267, 268, 269, 0, 0, 270, 271, - 883, 884, 274, 0, 275, 276, 277, 278, 0, 0, + 884, 885, 274, 0, 275, 276, 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, - 0, 0, 303, 304, 305, 306, 307, 308, 885, 886, + 0, 0, 303, 304, 305, 306, 307, 308, 886, 887, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, 0, 324, 325, - 887, 327, 328, 0, 329, 330, 331, 332, 0, 333, + 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, 348, 0, 349, 350, - 351, 888, 353, 0, 354, 0, 355, 356, 357, 0, + 351, 889, 353, 6065, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 0, 0, 0, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, 0, 389, 390, 391, 392, - 889, 890, 0, 891, 0, 396, 397, 398, 399, 400, - 892, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 890, 891, 0, 892, 0, 396, 397, 398, 399, 400, + 893, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 0, 438, 439, 440, 441, 442, 443, 444, 445, - 893, 447, 894, 449, 450, 451, 452, 453, 454, 455, + 894, 447, 895, 449, 450, 451, 452, 453, 454, 455, 456, 0, 0, 459, 0, 460, 461, 462, 463, 0, - 0, 465, 895, 467, 468, 469, 470, 0, 471, 472, + 0, 465, 896, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 0, 480, 481, 482, 0, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, 504, 0, 505, 506, - 507, 508, 509, 510, 511, 512, 513, 514, 515, 896, + 507, 508, 509, 510, 511, 512, 513, 514, 515, 897, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, - 554, 555, 556, 0, 557, 558, 2743, 560, 561, 562, - 563, 564, 898, 566, 0, 567, 568, 569, 570, 571, + 554, 555, 556, 0, 557, 558, 898, 560, 561, 562, + 563, 564, 899, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, 0, 586, 587, 588, - 589, 590, 591, 592, 593, 0, 594, 899, 900, 0, + 589, 590, 591, 592, 593, 0, 594, 900, 901, 0, 0, 597, 598, 0, 600, 0, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, - 0, 901, 0, 623, 624, 625, 626, 627, 628, 629, + 0, 902, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, - 636, 879, 0, 0, 0, 0, 0, 0, 0, 0, + 636, 880, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 648, 649, 650, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, - 256, 257, 0, 880, 260, 881, 882, 0, 263, 264, - 265, 266, 267, 268, 269, 0, 0, 270, 271, 883, - 884, 274, 0, 275, 276, 277, 278, 0, 0, 280, + 256, 257, 0, 881, 260, 882, 883, 0, 263, 264, + 265, 266, 267, 268, 269, 0, 0, 270, 271, 884, + 885, 274, 0, 275, 276, 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, - 0, 303, 304, 305, 306, 307, 308, 885, 886, 311, + 0, 303, 304, 305, 306, 307, 308, 886, 887, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, - 0, 320, 321, 322, 323, 0, 0, 324, 325, 887, + 0, 320, 321, 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, 348, 0, 349, 350, 351, - 888, 353, 0, 354, 0, 355, 356, 357, 0, 358, + 889, 353, 6429, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 0, 0, 0, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, - 385, 0, 386, 387, 0, 389, 390, 391, 392, 889, - 890, 0, 891, 0, 396, 397, 398, 399, 400, 892, + 385, 0, 386, 387, 0, 389, 390, 391, 392, 890, + 891, 0, 892, 0, 396, 397, 398, 399, 400, 893, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 0, 438, 439, 440, 441, 442, 443, 444, 445, 893, - 447, 894, 449, 450, 451, 452, 453, 454, 455, 456, + 0, 438, 439, 440, 441, 442, 443, 444, 445, 894, + 447, 895, 449, 450, 451, 452, 453, 454, 455, 456, 0, 0, 459, 0, 460, 461, 462, 463, 0, 0, - 465, 895, 467, 468, 469, 470, 0, 471, 472, 473, + 465, 896, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 0, 480, 481, 482, 0, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, 504, 0, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 896, 517, + 508, 509, 510, 511, 512, 513, 514, 515, 897, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, - 555, 556, 0, 557, 558, 0, 560, 561, 562, 563, - 564, 898, 566, 0, 567, 568, 569, 570, 571, 572, + 555, 556, 0, 557, 558, 898, 560, 561, 562, 563, + 564, 899, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, - 590, 591, 592, 593, 0, 594, 899, 900, 0, 0, + 590, 591, 592, 593, 0, 594, 900, 901, 0, 0, 597, 598, 0, 600, 0, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, 618, 619, 620, 0, - 901, 0, 623, 624, 625, 626, 627, 628, 629, 0, + 902, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, 633, 634, 635, 636, - 879, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 880, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 648, 649, 650, 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, 252, 253, 254, 255, 256, - 257, 0, 0, 260, 0, 0, 0, 263, 264, 265, - 266, 267, 268, 269, 0, 0, 270, 271, 0, 0, + 257, 0, 881, 260, 882, 883, 0, 263, 264, 265, + 266, 267, 268, 269, 0, 0, 270, 271, 884, 885, 274, 0, 275, 276, 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, 0, 302, 0, 0, 0, - 303, 304, 305, 306, 307, 308, 0, 0, 311, 0, + 303, 304, 305, 306, 307, 308, 886, 887, 311, 0, 312, 0, 313, 314, 315, 316, 317, 318, 319, 0, - 320, 321, 322, 323, 0, 0, 324, 325, 326, 327, + 320, 321, 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, 340, 341, 0, 343, 344, - 345, 346, 0, 0, 348, 0, 349, 350, 351, 0, + 345, 346, 0, 0, 348, 0, 349, 350, 351, 889, 353, 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, 0, 0, 0, 366, 367, 0, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, 381, 382, 383, 384, 385, - 0, 386, 387, 0, 389, 390, 391, 392, 0, 0, - 0, 0, 0, 396, 397, 398, 399, 400, 0, 0, + 0, 386, 387, 0, 389, 390, 391, 392, 890, 891, + 0, 892, 0, 396, 397, 398, 399, 400, 893, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 0, - 438, 439, 440, 441, 442, 443, 444, 445, 0, 447, - 0, 449, 450, 451, 452, 453, 454, 455, 456, 0, + 438, 439, 440, 441, 442, 443, 444, 445, 894, 447, + 895, 449, 450, 451, 452, 453, 454, 455, 456, 0, 0, 459, 0, 460, 461, 462, 463, 0, 0, 465, - 0, 467, 468, 469, 470, 0, 471, 472, 473, 0, + 896, 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, 0, 477, 478, 0, 480, 481, 482, 0, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, 504, 0, 505, 506, 507, 508, - 509, 510, 511, 512, 513, 514, 515, 0, 517, 518, + 509, 510, 511, 512, 513, 514, 515, 897, 517, 518, 519, 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 0, 552, 553, 554, 555, - 556, 0, 557, 558, 0, 560, 561, 562, 563, 564, - 0, 566, 0, 567, 568, 569, 570, 571, 572, 573, + 556, 0, 557, 558, 898, 560, 561, 562, 563, 564, + 899, 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, 0, 586, 587, 588, 589, 590, - 591, 592, 593, 0, 594, 0, 0, 0, 0, 597, + 591, 592, 593, 0, 594, 900, 901, 0, 0, 597, 598, 0, 600, 0, 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, 0, 611, 612, 613, 614, - 615, 0, 0, 616, 617, 618, 619, 620, 0, 0, + 615, 0, 0, 616, 617, 618, 619, 620, 0, 902, 0, 623, 624, 625, 626, 627, 628, 629, 0, 0, - 630, 0, 0, 631, 632, 633, 634, 635, 636, 0, + 630, 0, 0, 631, 632, 633, 634, 635, 636, 880, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 648, 649, 650 + 648, 649, 650, 0, 0, 0, 0, 0, 235, 236, + 237, 238, 239, 240, 241, 242, 243, 0, 244, 245, + 246, 0, 0, 0, 0, 0, 0, 0, 247, 248, + 249, 0, 250, 251, 252, 253, 254, 255, 256, 257, + 0, 881, 260, 882, 883, 0, 263, 264, 265, 266, + 267, 268, 269, 0, 0, 270, 271, 884, 885, 274, + 0, 275, 276, 277, 278, 0, 0, 280, 0, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 0, 292, 293, 294, 295, 296, 297, 0, 298, 299, + 300, 301, 0, 0, 0, 302, 0, 0, 0, 303, + 304, 305, 306, 307, 308, 886, 887, 311, 0, 312, + 0, 313, 314, 315, 316, 317, 318, 319, 0, 320, + 321, 322, 323, 0, 0, 324, 325, 888, 327, 328, + 0, 329, 330, 331, 332, 0, 333, 334, 335, 336, + 337, 0, 338, 339, 340, 341, 0, 343, 344, 345, + 346, 0, 0, 348, 0, 349, 350, 351, 889, 353, + 0, 354, 0, 355, 356, 357, 0, 358, 359, 360, + 361, 362, 0, 363, 0, 0, 0, 366, 367, 0, + 368, 369, 370, 371, 1155, 373, 374, 375, 376, 377, + 0, 378, 379, 380, 381, 382, 383, 384, 385, 0, + 386, 387, 0, 389, 390, 391, 392, 890, 891, 0, + 892, 0, 396, 397, 398, 399, 400, 893, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 412, 413, + 414, 415, 416, 417, 418, 0, 0, 419, 0, 421, + 422, 423, 0, 424, 425, 426, 0, 0, 427, 428, + 429, 430, 431, 432, 433, 434, 435, 436, 0, 438, + 439, 440, 441, 442, 443, 444, 445, 894, 447, 895, + 449, 450, 451, 452, 453, 454, 455, 456, 0, 0, + 459, 0, 460, 461, 462, 463, 0, 0, 465, 896, + 467, 468, 469, 470, 0, 471, 472, 473, 0, 0, + 474, 475, 476, 0, 0, 477, 478, 0, 480, 481, + 482, 0, 484, 485, 486, 487, 488, 489, 490, 491, + 492, 493, 494, 495, 0, 496, 497, 498, 0, 500, + 0, 502, 503, 504, 0, 505, 506, 507, 508, 509, + 510, 511, 512, 513, 514, 515, 897, 517, 518, 519, + 0, 520, 521, 522, 523, 524, 525, 526, 527, 528, + 529, 530, 531, 532, 0, 533, 534, 535, 536, 537, + 538, 539, 540, 0, 542, 543, 544, 545, 546, 547, + 548, 549, 550, 551, 0, 552, 553, 554, 555, 556, + 0, 557, 558, 898, 560, 561, 562, 563, 564, 899, + 566, 0, 567, 568, 569, 570, 571, 572, 573, 574, + 575, 576, 577, 578, 579, 580, 581, 0, 583, 0, + 584, 585, 0, 0, 586, 587, 588, 589, 590, 591, + 592, 593, 0, 594, 900, 901, 0, 0, 597, 598, + 0, 600, 0, 0, 602, 603, 604, 605, 606, 607, + 608, 609, 610, 0, 0, 611, 612, 613, 614, 615, + 0, 0, 616, 617, 618, 619, 620, 0, 902, 0, + 623, 624, 625, 626, 627, 628, 629, 0, 0, 630, + 0, 0, 631, 632, 633, 634, 635, 636, 880, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 648, + 649, 650, 0, 0, 0, 0, 0, 235, 236, 237, + 238, 239, 240, 241, 242, 243, 0, 244, 245, 246, + 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, + 0, 250, 251, 252, 253, 254, 255, 256, 257, 0, + 881, 260, 882, 883, 0, 263, 264, 265, 266, 267, + 268, 269, 0, 0, 270, 271, 884, 885, 274, 0, + 275, 276, 277, 278, 0, 0, 280, 0, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 0, + 292, 293, 294, 295, 296, 297, 0, 298, 299, 300, + 301, 0, 0, 0, 302, 0, 0, 0, 303, 304, + 305, 306, 307, 308, 886, 887, 311, 0, 312, 0, + 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, + 322, 323, 0, 0, 324, 325, 888, 327, 328, 0, + 329, 330, 331, 332, 0, 333, 334, 335, 336, 337, + 0, 338, 339, 340, 341, 0, 343, 344, 345, 346, + 0, 0, 348, 0, 349, 350, 351, 889, 353, 0, + 354, 0, 355, 356, 357, 0, 358, 359, 360, 361, + 362, 0, 363, 0, 0, 0, 366, 367, 0, 368, + 369, 370, 371, 1187, 373, 374, 375, 376, 377, 0, + 378, 379, 380, 381, 382, 383, 384, 385, 0, 386, + 387, 0, 389, 390, 391, 392, 890, 891, 0, 892, + 0, 396, 397, 398, 399, 400, 893, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 412, 413, 414, + 415, 416, 417, 418, 0, 0, 419, 0, 421, 422, + 423, 0, 424, 425, 426, 0, 0, 427, 428, 429, + 430, 431, 432, 433, 434, 435, 436, 0, 438, 439, + 440, 441, 442, 443, 444, 445, 894, 447, 895, 449, + 450, 451, 452, 453, 454, 455, 456, 0, 0, 459, + 0, 460, 461, 462, 463, 0, 0, 465, 896, 467, + 468, 469, 470, 0, 471, 472, 473, 0, 0, 474, + 475, 476, 0, 0, 477, 478, 0, 480, 481, 482, + 0, 484, 485, 486, 487, 488, 489, 490, 491, 492, + 493, 494, 495, 0, 496, 497, 498, 0, 500, 0, + 502, 503, 504, 0, 505, 506, 507, 508, 509, 510, + 511, 512, 513, 514, 515, 897, 517, 518, 519, 0, + 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, + 530, 531, 532, 0, 533, 534, 535, 536, 537, 538, + 539, 540, 0, 542, 543, 544, 545, 546, 547, 548, + 549, 550, 551, 0, 552, 553, 554, 555, 556, 0, + 557, 558, 898, 560, 561, 562, 563, 564, 899, 566, + 0, 567, 568, 569, 570, 571, 572, 573, 574, 575, + 576, 577, 578, 579, 580, 581, 0, 583, 0, 584, + 585, 0, 0, 586, 587, 588, 589, 590, 591, 592, + 593, 0, 594, 900, 901, 0, 0, 597, 598, 0, + 600, 0, 0, 602, 603, 604, 605, 606, 607, 608, + 609, 610, 0, 0, 611, 612, 613, 614, 615, 0, + 0, 616, 617, 618, 619, 620, 0, 902, 0, 623, + 624, 625, 626, 627, 628, 629, 0, 0, 630, 0, + 0, 631, 632, 633, 634, 635, 636, 880, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 648, 649, + 650, 0, 0, 0, 0, 0, 235, 236, 237, 238, + 239, 240, 241, 242, 243, 0, 244, 245, 246, 0, + 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, + 250, 251, 252, 253, 254, 255, 256, 257, 0, 881, + 260, 882, 883, 0, 263, 264, 265, 266, 267, 268, + 269, 0, 0, 270, 271, 884, 885, 274, 0, 275, + 276, 277, 278, 0, 0, 280, 0, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 0, 292, + 293, 294, 295, 296, 297, 0, 298, 299, 300, 301, + 0, 0, 0, 302, 0, 0, 0, 303, 304, 305, + 306, 307, 308, 886, 887, 311, 0, 312, 0, 313, + 314, 315, 316, 317, 318, 319, 0, 320, 321, 322, + 323, 0, 0, 324, 325, 888, 327, 328, 0, 329, + 330, 331, 332, 0, 333, 334, 335, 336, 337, 0, + 338, 339, 340, 341, 0, 343, 344, 345, 346, 0, + 0, 348, 0, 349, 350, 351, 889, 353, 0, 354, + 0, 355, 356, 357, 0, 358, 359, 360, 361, 362, + 0, 363, 0, 0, 0, 366, 367, 0, 368, 369, + 370, 371, 372, 373, 374, 375, 376, 377, 0, 378, + 379, 380, 381, 382, 383, 384, 385, 0, 386, 387, + 0, 389, 390, 391, 392, 890, 891, 0, 892, 0, + 396, 397, 398, 399, 400, 893, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 412, 413, 414, 415, + 416, 417, 418, 0, 0, 419, 0, 421, 422, 423, + 0, 424, 425, 426, 0, 0, 427, 428, 429, 430, + 431, 432, 433, 434, 435, 436, 0, 438, 439, 440, + 441, 442, 443, 444, 445, 894, 447, 895, 449, 450, + 451, 452, 453, 454, 455, 456, 0, 0, 459, 0, + 460, 461, 462, 463, 0, 0, 465, 896, 467, 468, + 469, 470, 0, 471, 472, 473, 0, 0, 474, 475, + 476, 0, 0, 477, 478, 0, 480, 481, 482, 0, + 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, + 494, 495, 0, 496, 497, 498, 0, 500, 0, 502, + 503, 504, 0, 505, 506, 507, 508, 509, 510, 511, + 512, 513, 514, 515, 897, 517, 518, 519, 0, 520, + 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, + 531, 532, 0, 533, 534, 535, 536, 537, 538, 539, + 540, 0, 542, 543, 544, 545, 546, 547, 548, 549, + 550, 551, 0, 552, 553, 554, 555, 556, 0, 557, + 558, 2744, 560, 561, 562, 563, 564, 899, 566, 0, + 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, + 577, 578, 579, 580, 581, 0, 583, 0, 584, 585, + 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, + 0, 594, 900, 901, 0, 0, 597, 598, 0, 600, + 0, 0, 602, 603, 604, 605, 606, 607, 608, 609, + 610, 0, 0, 611, 612, 613, 614, 615, 0, 0, + 616, 617, 618, 619, 620, 0, 902, 0, 623, 624, + 625, 626, 627, 628, 629, 0, 0, 630, 0, 0, + 631, 632, 633, 634, 635, 636, 880, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 648, 649, 650, + 0, 0, 0, 0, 0, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 0, 244, 245, 246, 0, 0, + 0, 0, 0, 0, 0, 247, 248, 249, 0, 250, + 251, 252, 253, 254, 255, 256, 257, 0, 881, 260, + 882, 883, 0, 263, 264, 265, 266, 267, 268, 269, + 0, 0, 270, 271, 884, 885, 274, 0, 275, 276, + 277, 278, 0, 0, 280, 0, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 0, 292, 293, + 294, 295, 296, 297, 0, 298, 299, 300, 301, 0, + 0, 0, 302, 0, 0, 0, 303, 304, 305, 306, + 307, 308, 886, 887, 311, 0, 312, 0, 313, 314, + 315, 316, 317, 318, 319, 0, 320, 321, 322, 323, + 0, 0, 324, 325, 888, 327, 328, 0, 329, 330, + 331, 332, 0, 333, 334, 335, 336, 337, 0, 338, + 339, 340, 341, 0, 343, 344, 345, 346, 0, 0, + 348, 0, 349, 350, 351, 889, 353, 0, 354, 0, + 355, 356, 357, 0, 358, 359, 360, 361, 362, 0, + 363, 0, 0, 0, 366, 367, 0, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, 0, 378, 379, + 380, 381, 382, 383, 384, 385, 0, 386, 387, 0, + 389, 390, 391, 392, 890, 891, 0, 892, 0, 396, + 397, 398, 399, 400, 893, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 412, 413, 414, 415, 416, + 417, 418, 0, 0, 419, 0, 421, 422, 423, 0, + 424, 425, 426, 0, 0, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 0, 438, 439, 440, 441, + 442, 443, 444, 445, 894, 447, 895, 449, 450, 451, + 452, 453, 454, 455, 456, 0, 0, 459, 0, 460, + 461, 462, 463, 0, 0, 465, 896, 467, 468, 469, + 470, 0, 471, 472, 473, 0, 0, 474, 475, 476, + 0, 0, 477, 478, 0, 480, 481, 482, 0, 484, + 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, + 495, 0, 496, 497, 498, 0, 500, 0, 502, 503, + 504, 0, 505, 506, 507, 508, 509, 510, 511, 512, + 513, 514, 515, 897, 517, 518, 519, 0, 520, 521, + 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, + 532, 0, 533, 534, 535, 536, 537, 538, 539, 540, + 0, 542, 543, 544, 545, 546, 547, 548, 549, 550, + 551, 0, 552, 553, 554, 555, 556, 0, 557, 558, + 0, 560, 561, 562, 563, 564, 899, 566, 0, 567, + 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, + 578, 579, 580, 581, 0, 583, 0, 584, 585, 0, + 0, 586, 587, 588, 589, 590, 591, 592, 593, 0, + 594, 900, 901, 0, 0, 597, 598, 0, 600, 0, + 0, 602, 603, 604, 605, 606, 607, 608, 609, 610, + 0, 0, 611, 612, 613, 614, 615, 0, 0, 616, + 617, 618, 619, 620, 0, 902, 0, 623, 624, 625, + 626, 627, 628, 629, 0, 0, 630, 0, 0, 631, + 632, 633, 634, 635, 636, 880, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 648, 649, 650, 0, + 0, 0, 0, 0, 235, 236, 237, 238, 239, 240, + 241, 242, 243, 0, 244, 245, 246, 0, 0, 0, + 0, 0, 0, 0, 247, 248, 249, 0, 250, 251, + 252, 253, 254, 255, 256, 257, 0, 0, 260, 0, + 0, 0, 263, 264, 265, 266, 267, 268, 269, 0, + 0, 270, 271, 0, 0, 274, 0, 275, 276, 277, + 278, 0, 0, 280, 0, 281, 282, 283, 284, 285, + 286, 287, 288, 289, 290, 291, 0, 292, 293, 294, + 295, 296, 297, 0, 298, 299, 300, 301, 0, 0, + 0, 302, 0, 0, 0, 303, 304, 305, 306, 307, + 308, 0, 0, 311, 0, 312, 0, 313, 314, 315, + 316, 317, 318, 319, 0, 320, 321, 322, 323, 0, + 0, 324, 325, 326, 327, 328, 0, 329, 330, 331, + 332, 0, 333, 334, 335, 336, 337, 0, 338, 339, + 340, 341, 0, 343, 344, 345, 346, 0, 0, 348, + 0, 349, 350, 351, 0, 353, 0, 354, 0, 355, + 356, 357, 0, 358, 359, 360, 361, 362, 0, 363, + 0, 0, 0, 366, 367, 0, 368, 369, 370, 371, + 372, 373, 374, 375, 376, 377, 0, 378, 379, 380, + 381, 382, 383, 384, 385, 0, 386, 387, 0, 389, + 390, 391, 392, 0, 0, 0, 0, 0, 396, 397, + 398, 399, 400, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 412, 413, 414, 415, 416, 417, + 418, 0, 0, 419, 0, 421, 422, 423, 0, 424, + 425, 426, 0, 0, 427, 428, 429, 430, 431, 432, + 433, 434, 435, 436, 0, 438, 439, 440, 441, 442, + 443, 444, 445, 0, 447, 0, 449, 450, 451, 452, + 453, 454, 455, 456, 0, 0, 459, 0, 460, 461, + 462, 463, 0, 0, 465, 0, 467, 468, 469, 470, + 0, 471, 472, 473, 0, 0, 474, 475, 476, 0, + 0, 477, 478, 0, 480, 481, 482, 0, 484, 485, + 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, + 0, 496, 497, 498, 0, 500, 0, 502, 503, 504, + 0, 505, 506, 507, 508, 509, 510, 511, 512, 513, + 514, 515, 0, 517, 518, 519, 0, 520, 521, 522, + 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, + 0, 533, 534, 535, 536, 537, 538, 539, 540, 0, + 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, + 0, 552, 553, 554, 555, 556, 0, 557, 558, 0, + 560, 561, 562, 563, 564, 0, 566, 0, 567, 568, + 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, + 579, 580, 581, 0, 583, 0, 584, 585, 0, 0, + 586, 587, 588, 589, 590, 591, 592, 593, 0, 594, + 0, 0, 0, 0, 597, 598, 0, 600, 0, 0, + 602, 603, 604, 605, 606, 607, 608, 609, 610, 0, + 0, 611, 612, 613, 614, 615, 0, 0, 616, 617, + 618, 619, 620, 0, 0, 0, 623, 624, 625, 626, + 627, 628, 629, 0, 0, 630, 0, 0, 631, 632, + 633, 634, 635, 636, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 648, 649, 650 }; static const yytype_int16 yycheck[] = { - 6, 0, 0, 665, 0, 0, 0, 0, 0, 1041, - 56, 0, 0, 0, 206, 211, 0, 23, 36, 25, - 0, 0, 214, 29, 1050, 217, 21, 0, 34, 35, - 36, 942, 38, 686, 1013, 41, 42, 22, 44, 840, - 46, 1581, 21, 28, 1167, 1045, 1030, 53, 54, 55, - 1507, 0, 897, 1664, 0, 843, 718, 936, 189, 938, - 2852, 0, 1014, 2046, 211, 2725, 799, 800, 801, 0, - 885, 886, 805, 916, 1574, 1597, 1275, 1039, 3080, 1581, - 895, 1586, 2726, 867, 45, 1116, 3255, 44, 197, 1262, - 3437, 216, 3439, 3205, 763, 3145, 718, 850, 2747, 2748, - 833, 2976, 1904, 765, 3107, 230, 1090, 0, 6, 2035, - 1094, 954, 3737, 3935, 1228, 1099, 3532, 1574, 900, 3962, - 741, 3092, 1247, 4370, 3620, 1109, 1251, 1043, 3984, 1254, - 1255, 1627, 1628, 2073, 755, 1631, 2072, 1732, 2998, 1123, - 23, 3951, 4286, 667, 4612, 873, 3887, 3683, 2087, 3685, - 8, 4850, 2054, 36, 3490, 866, 818, 15, 3542, 4308, - 4329, 175, 2111, 3655, 2113, 3657, 1013, 1564, 191, 1464, - 1154, 4618, 5248, 764, 1976, 1022, 979, 1699, 1700, 191, - 4623, 4635, 2, 5384, 846, 1032, 5342, 5168, 1693, 980, - 754, 197, 198, 199, 4417, 739, 202, 1917, 742, 5478, - 206, 1004, 208, 3506, 4580, 211, 1009, 2601, 214, 871, - 50, 217, 2606, 3088, 220, 1720, 222, 3484, 4866, 225, - 4868, 2710, 35, 229, 846, 231, 41, 1624, 2712, 42, - 2068, 2069, 2070, 2071, 3299, 3552, 2074, 1105, 2076, 2077, - 5119, 963, 5375, 2642, 1641, 3949, 4622, 4942, 6, 5514, - 5526, 3396, 3391, 1121, 965, 5163, 11, 5475, 4750, 1050, - 4752, 0, 939, 939, 23, 6, 1547, 3045, 225, 3047, - 3048, 933, 5176, 3540, 3052, 3053, 3054, 5768, 3056, 3057, - 3058, 23, 1004, 0, 0, 13, 40, 1009, 5167, 0, - 2689, 4471, 97, 39, 11, 0, 5440, 5441, 80, 65, - 5433, 3489, 0, 3491, 3492, 5784, 883, 884, 34, 6, - 11, 49, 6, 11, 31, 12, 6, 894, 12, 6, - 6, 2041, 12, 45, 174, 12, 12, 11, 6, 15, - 16, 39, 39, 31, 12, 0, 6038, 15, 16, 6, - 6, 122, 65, 1054, 124, 12, 12, 6, 15, 16, - 45, 1084, 82, 12, 4788, 6, 21, 6, 181, 6, - 39, 12, 6, 12, 6, 12, 27, 82, 12, 51, - 12, 160, 180, 151, 144, 3, 159, 5, 6, 6, - 65, 122, 90, 11, 12, 12, 180, 1883, 1050, 65, - 1156, 56, 102, 129, 87, 13, 1162, 5, 56, 53, - 6, 6082, 15, 11, 124, 65, 1172, 174, 49, 180, - 1176, 13, 23, 4636, 1180, 6169, 1182, 31, 313, 23, - 1420, 122, 1188, 3622, 38, 5465, 78, 6, 1194, 47, - 150, 1197, 318, 204, 37, 65, 5, 1106, 6045, 180, - 191, 180, 11, 115, 326, 1476, 1408, 124, 65, 229, - 259, 4713, 4714, 4715, 759, 4717, 4718, 4719, 4720, 4721, - 274, 174, 80, 180, 180, 204, 105, 122, 1468, 180, - 392, 181, 387, 398, 1202, 180, 44, 65, 1293, 1294, - 182, 142, 180, 392, 362, 5393, 4954, 204, 204, 27, - 406, 82, 299, 204, 122, 33, 450, 5988, 168, 204, - 450, 31, 82, 94, 41, 215, 204, 162, 38, 382, - 1325, 370, 437, 6427, 94, 295, 328, 89, 5997, 495, - 230, 5786, 485, 295, 475, 485, 191, 49, 300, 122, - 96, 82, 435, 6287, 5515, 34, 374, 268, 50, 686, - 1625, 300, 197, 253, 145, 71, 72, 336, 1464, 5682, - 189, 152, 229, 1174, 1336, 6, 481, 1642, 300, 684, - 122, 73, 61, 13, 295, 690, 542, 405, 6482, 27, - 375, 474, 282, 139, 13, 538, 1576, 702, 538, 359, - 358, 174, 396, 31, 356, 13, 256, 538, 542, 736, - 38, 450, 542, 405, 82, 132, 224, 47, 170, 481, - 495, 474, 180, 82, 142, 412, 1268, 358, 47, 487, - 376, 82, 314, 538, 1235, 1406, 538, 1208, 295, 291, - 1411, 1412, 538, 538, 180, 1246, 180, 1355, 94, 538, - 80, 259, 39, 180, 202, 94, 65, 388, 180, 448, - 295, 80, 1263, 538, 187, 1356, 1268, 373, 34, 6330, - 1465, 127, 291, 376, 127, 316, 542, 309, 6412, 372, - 666, 387, 187, 389, 187, 138, 672, 246, 674, 197, - 676, 381, 6, 679, 1658, 1386, 4417, 1661, 1527, 6158, - 686, 5329, 359, 204, 142, 691, 5904, 693, 538, 300, - 5730, 376, 671, 699, 300, 187, 300, 3896, 1730, 1731, - 376, 6308, 25, 1550, 4445, 1282, 1283, 1435, 491, 450, - 225, 433, 450, 374, 375, 538, 376, 723, 1670, 765, - 450, 491, 671, 377, 495, 671, 732, 516, 495, 455, - 736, 5996, 671, 739, 542, 450, 742, 542, 433, 475, - 671, 1403, 480, 1320, 405, 4894, 376, 528, 542, 1411, - 1412, 180, 758, 499, 536, 769, 464, 477, 540, 376, - 538, 1552, 542, 1631, 326, 1612, 1728, 25, 25, 4591, - 2051, 1562, 465, 1501, 25, 4955, 542, 31, 671, 6270, - 538, 1403, 537, 542, 538, 764, 4966, 528, 376, 5933, - 484, 499, 499, 6272, 779, 6497, 781, 5778, 783, 540, - 542, 415, 541, 1648, 789, 811, 534, 6509, 447, 1612, - 4632, 942, 529, 530, 820, 1683, 1684, 1494, 1494, 542, - 499, 4631, 519, 520, 541, 541, 1737, 4452, 529, 530, - 541, 529, 530, 4458, 840, 841, 541, 843, 844, 480, - 5274, 538, 848, 541, 538, 529, 530, 450, 538, 536, - 1572, 538, 538, 540, 811, 1978, 862, 542, 1649, 450, - 538, 867, 1653, 1654, 1441, 1442, 542, 873, 1064, 1061, - 450, 538, 538, 1065, 5782, 1067, 6355, 6095, 6096, 538, - 538, 4373, 542, 4375, 6149, 415, 6162, 538, 2011, 538, - 2004, 538, 519, 520, 538, 4636, 538, 304, 6177, 450, - 2023, 529, 530, 1625, 3779, 3780, 3555, 930, 3557, 3784, - 867, 538, 542, 4249, 920, 528, 534, 1064, 930, 481, - 1642, 529, 530, 536, 6403, 542, 495, 540, 934, 531, - 532, 533, 534, 932, 932, 793, 932, 932, 932, 932, - 932, 947, 265, 932, 932, 932, 1055, 405, 932, 1865, - 519, 3922, 932, 932, 542, 6088, 962, 956, 480, 932, - 529, 530, 450, 392, 542, 5660, 1619, 415, 5230, 4114, - 4115, 450, 423, 424, 6107, 981, 538, 934, 4682, 450, - 986, 987, 538, 932, 391, 4124, 932, 373, 542, 455, - 947, 450, 180, 932, 4261, 542, 538, 473, 4265, 542, - 473, 932, 336, 495, 4321, 962, 671, 265, 265, 6274, - 538, 5992, 1018, 1019, 265, 473, 1884, 542, 1867, 542, - 31, 542, 3511, 1547, 65, 122, 115, 542, 3512, 844, - 5498, 25, 4097, 848, 874, 1041, 1042, 312, 39, 932, - 2072, 180, 25, 4539, 3919, 209, 728, 192, 4540, 1055, - 542, 1057, 3451, 2053, 4199, 1061, 1847, 486, 1064, 1065, - 4248, 1067, 4250, 4251, 27, 5667, 1072, 158, 127, 392, - 74, 122, 754, 480, 25, 127, 196, 6278, 6279, 529, - 530, 531, 532, 533, 534, 40, 340, 3865, 155, 6354, - 1096, 5995, 531, 532, 533, 534, 5975, 1103, 1104, 764, - 765, 529, 530, 531, 532, 533, 534, 62, 2108, 115, - 6243, 6187, 5991, 333, 313, 296, 127, 440, 6, 1125, - 1126, 1127, 313, 1129, 1429, 1131, 116, 1133, 1134, 5505, - 181, 10, 6, 5380, 13, 392, 166, 70, 17, 18, - 19, 392, 4445, 65, 25, 25, 400, 180, 471, 3543, - 318, 5719, 156, 5721, 274, 363, 223, 5725, 5726, 114, - 219, 1167, 115, 1169, 1170, 158, 6445, 219, 1830, 6150, - 208, 4667, 176, 91, 497, 158, 378, 6333, 1628, 142, - 1913, 1631, 440, 440, 5407, 1951, 27, 4603, 442, 440, - 444, 13, 115, 1959, 1633, 66, 1202, 101, 295, 1638, - 91, 192, 127, 74, 6405, 1018, 1019, 315, 219, 291, - 157, 5859, 271, 471, 471, 538, 134, 242, 10, 209, - 471, 2137, 1228, 117, 1230, 17, 18, 19, 1234, 1208, - 1236, 181, 2020, 2021, 127, 189, 6, 312, 3887, 497, - 497, 40, 12, 134, 6463, 296, 497, 313, 442, 142, - 444, 318, 207, 291, 1260, 6159, 1262, 25, 80, 206, - 1266, 10, 450, 538, 13, 930, 6485, 932, 17, 18, - 19, 265, 480, 437, 1280, 1714, 396, 25, 6169, 1718, - 538, 538, 186, 127, 83, 315, 311, 538, 370, 491, - 2747, 295, 473, 27, 219, 392, 495, 5765, 39, 33, - 291, 142, 196, 304, 495, 5907, 5774, 5750, 2813, 1355, - 265, 450, 6468, 402, 265, 270, 1322, 408, 538, 1139, - 275, 333, 5165, 192, 2052, 316, 2054, 1948, 3977, 5776, - 5152, 54, 2060, 5189, 479, 376, 291, 5780, 2066, 2067, - 528, 1962, 5796, 2845, 348, 1351, 1352, 1353, 5158, 1355, - 2078, 6427, 540, 1211, 1975, 1213, 5824, 1215, 291, 1217, - 2088, 1219, 1220, 1221, 5856, 328, 2094, 4370, 1226, 291, - 1376, 3091, 327, 5749, 542, 219, 6280, 1941, 1060, 3315, - 274, 122, 332, 277, 265, 265, 2681, 398, 259, 1071, - 3329, 3330, 25, 2898, 2105, 3334, 6287, 1988, 392, 30, - 467, 1945, 392, 5779, 387, 1087, 6482, 370, 142, 1973, - 1424, 1417, 300, 331, 473, 408, 1960, 450, 4910, 1963, - 375, 473, 291, 291, 475, 408, 300, 457, 382, 1435, - 538, 437, 2085, 1883, 500, 314, 2833, 3376, 3377, 3034, - 331, 392, 405, 4935, 399, 435, 440, 437, 3, 6353, - 6018, 27, 345, 91, 376, 204, 1479, 1480, 94, 1482, - 6364, 411, 473, 94, 468, 420, 101, 1479, 1480, 2013, - 1482, 122, 1619, 2017, 2018, 1481, 199, 471, 227, 1485, - 1486, 204, 312, 405, 437, 5654, 121, 328, 479, 440, - 1496, 1497, 1498, 1499, 3443, 1501, 134, 265, 3, 5648, - 6404, 6, 396, 497, 302, 6204, 355, 12, 4892, 5977, - 117, 392, 392, 3124, 437, 4851, 471, 265, 1524, 3, - 471, 6412, 314, 74, 159, 443, 538, 2051, 182, 370, - 300, 173, 255, 458, 350, 6439, 318, 37, 93, 1496, - 122, 1498, 204, 1208, 538, 475, 497, 27, 473, 185, - 182, 182, 443, 1559, 398, 122, 126, 60, 1564, 440, - 440, 1567, 1244, 126, 405, 314, 142, 6471, 32, 6383, - 27, 2603, 328, 209, 1580, 1581, 33, 318, 145, 306, - 5116, 3, 313, 1589, 539, 152, 1592, 538, 4855, 196, - 471, 471, 147, 4860, 328, 137, 4863, 139, 4648, 166, - 74, 4604, 6433, 328, 6435, 2605, 333, 176, 538, 93, - 479, 1276, 117, 1619, 370, 1621, 497, 497, 1624, 513, - 94, 1627, 1628, 259, 392, 1631, 6155, 6156, 131, 473, - 291, 1296, 265, 137, 1633, 1641, 370, 478, 1644, 1638, - 5887, 1647, 6456, 3143, 392, 370, 514, 526, 527, 528, - 529, 530, 531, 532, 533, 534, 226, 538, 538, 159, - 314, 437, 142, 226, 148, 1671, 5407, 274, 6499, 347, - 277, 405, 440, 5516, 669, 326, 1981, 475, 6146, 29, - 405, 317, 3139, 1689, 306, 142, 3143, 410, 124, 538, - 1355, 196, 440, 331, 5504, 1701, 1702, 1703, 1704, 1705, - 122, 343, 52, 471, 183, 2010, 536, 262, 370, 2014, - 540, 333, 374, 1719, 2019, 1714, 174, 2022, 300, 1718, - 352, 352, 538, 471, 1730, 1731, 1732, 211, 186, 497, - 4605, 366, 1689, 300, 526, 527, 528, 529, 530, 531, - 532, 533, 534, 405, 295, 2771, 204, 398, 171, 497, - 4528, 4611, 328, 295, 1946, 4533, 220, 539, 389, 392, - 542, 1957, 5906, 398, 495, 2681, 761, 347, 4417, 274, - 538, 425, 277, 328, 452, 4567, 102, 526, 527, 528, - 529, 530, 531, 532, 533, 534, 437, 528, 243, 396, - 538, 295, 135, 229, 370, 536, 4445, 538, 539, 540, - 6268, 542, 437, 146, 405, 443, 442, 440, 444, 1956, - 1957, 538, 6, 538, 1479, 1480, 192, 1482, 479, 455, - 498, 295, 453, 1829, 455, 42, 1935, 6356, 459, 405, - 481, 31, 468, 495, 1840, 471, 291, 405, 471, 56, - 835, 114, 1848, 1849, 495, 4848, 481, 781, 782, 783, - 387, 335, 786, 787, 788, 181, 3, 519, 1864, 295, - 495, 327, 796, 286, 497, 450, 405, 171, 519, 405, - 220, 328, 452, 295, 353, 2641, 1882, 1883, 300, 168, - 387, 372, 6350, 31, 519, 440, 374, 538, 443, 215, - 457, 396, 1898, 1899, 1900, 1901, 113, 426, 2743, 124, - 318, 1907, 469, 538, 230, 538, 513, 386, 1914, 35, - 36, 1917, 269, 370, 336, 291, 538, 405, 498, 94, - 405, 400, 380, 359, 125, 150, 1932, 253, 155, 1935, - 437, 538, 2660, 1615, 328, 2723, 473, 137, 2085, 1945, - 1946, 542, 5785, 528, 248, 5767, 93, 122, 405, 6093, - 1956, 1957, 328, 408, 1960, 540, 282, 1963, 138, 438, - 489, 10, 405, 2934, 13, 2944, 2882, 256, 17, 18, - 19, 316, 1978, 1979, 542, 101, 370, 395, 414, 1985, - 2771, 1987, 466, 328, 5794, 328, 312, 4636, 37, 137, - 474, 452, 2908, 477, 370, 121, 2843, 270, 2004, 200, - 147, 218, 275, 542, 495, 2011, 542, 2013, 513, 1988, - 2016, 2017, 2018, 10, 2020, 2021, 13, 2023, 473, 308, - 17, 18, 19, 2069, 2030, 370, 2044, 370, 519, 256, - 155, 2037, 327, 159, 2040, 2041, 6283, 498, 2044, 219, - 37, 2047, 2048, 168, 3015, 3168, 2052, 5543, 2054, 174, - 125, 542, 5221, 2059, 2060, 381, 2035, 542, 5325, 4042, - 2066, 2067, 2068, 2069, 2070, 2071, 2072, 2073, 2074, 2075, - 2076, 2077, 2078, 2030, 291, 300, 2082, 4060, 2084, 2085, - 2086, 2087, 2088, 2089, 2090, 2091, 2035, 306, 2094, 2035, - 2096, 2097, 3008, 159, 2100, 3552, 2035, 2944, 223, 542, - 125, 306, 5404, 479, 2035, 3562, 327, 327, 185, 2771, - 405, 2117, 2118, 2119, 333, 262, 5118, 3028, 3029, 3030, - 295, 370, 492, 392, 17, 200, 2994, 29, 333, 2135, - 180, 256, 1990, 26, 1992, 2982, 1994, 3637, 1996, 5142, - 1998, 486, 2035, 442, 2002, 444, 5448, 5990, 495, 475, - 52, 3762, 6008, 422, 204, 5157, 405, 2948, 3074, 328, - 1842, 6408, 4098, 3362, 2047, 2956, 5137, 4103, 2959, 2175, - 3017, 1853, 542, 4113, 4076, 200, 3160, 394, 227, 5989, - 3637, 328, 259, 308, 405, 405, 5355, 1869, 5357, 2922, - 5537, 2924, 497, 318, 2997, 542, 4135, 4136, 4137, 4138, - 114, 370, 4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, - 4149, 4150, 5748, 2924, 243, 765, 4018, 182, 6, 366, - 2841, 27, 168, 370, 12, 536, 168, 374, 174, 540, - 227, 5106, 174, 5108, 155, 74, 405, 542, 185, 3735, - 366, 1923, 495, 3111, 3112, 3113, 3114, 168, 3116, 3844, - 175, 216, 31, 174, 389, 3850, 1938, 328, 405, 1941, - 1942, 175, 291, 370, 4102, 314, 4205, 4206, 818, 4107, - 4108, 389, 398, 3141, 5386, 1209, 328, 2283, 1212, 538, - 1214, 3786, 1216, 122, 1218, 362, 211, 93, 1222, 542, - 1972, 1973, 245, 440, 375, 366, 443, 211, 405, 370, - 124, 5079, 223, 5081, 5082, 5083, 85, 5799, 6151, 88, - 256, 437, 259, 4239, 256, 3231, 95, 314, 370, 538, - 455, 871, 269, 1988, 405, 5821, 150, 159, 3833, 135, - 359, 2337, 398, 538, 405, 256, 142, 455, 269, 155, - 146, 362, 467, 5346, 123, 184, 2683, 3546, 495, 495, - 174, 285, 168, 405, 452, 481, 270, 5773, 174, 485, - 3, 275, 308, 82, 295, 442, 308, 444, 387, 495, - 2035, 437, 82, 519, 124, 94, 310, 5380, 399, 408, - 328, 5728, 4956, 933, 94, 28, 181, 308, 2394, 213, - 4964, 3157, 538, 519, 471, 362, 3162, 318, 3164, 328, - 150, 3134, 421, 0, 2069, 184, 155, 223, 3174, 4247, - 487, 3177, 538, 3179, 3180, 481, 437, 3183, 197, 168, - 215, 3187, 370, 3189, 3093, 174, 3192, 3218, 2093, 495, - 6273, 210, 399, 328, 2116, 230, 3958, 3353, 2683, 13, - 256, 370, 528, 3359, 473, 374, 387, 359, 389, 1886, - 93, 6495, 541, 519, 540, 537, 295, 405, 253, 371, - 542, 300, 6284, 213, 495, 6090, 487, 291, 6512, 1906, - 437, 295, 538, 47, 223, 370, 405, 526, 527, 528, - 529, 530, 531, 532, 533, 534, 542, 5, 519, 401, - 3256, 10, 308, 11, 13, 442, 285, 444, 17, 18, - 19, 19, 318, 416, 536, 148, 80, 256, 540, 348, - 405, 542, 312, 450, 455, 538, 495, 317, 37, 37, - 487, 310, 328, 5526, 471, 364, 183, 3438, 441, 526, - 527, 528, 529, 530, 531, 532, 533, 534, 475, 5886, - 519, 291, 350, 174, 6484, 295, 467, 174, 174, 5684, - 74, 102, 15, 16, 5689, 5690, 80, 5669, 6498, 308, - 366, 204, 37, 1008, 370, 495, 398, 198, 211, 318, - 94, 198, 198, 2579, 2580, 2581, 2582, 2583, 2584, 2585, - 2586, 2587, 1027, 2589, 455, 1030, 381, 3298, 304, 519, - 247, 519, 520, 2599, 2600, 6, 487, 2603, 122, 405, - 124, 12, 5605, 3331, 2610, 437, 412, 495, 2804, 497, - 538, 2803, 6, 2805, 2806, 3343, 519, 520, 12, 4558, - 6442, 539, 6, 2288, 542, 6, 150, 533, 12, 468, - 181, 12, 538, 6, 540, 538, 2642, 6461, 2644, 12, - 6464, 2647, 2648, 422, 395, 2651, 425, 2653, 2643, 481, - 2656, 467, 3380, 3444, 2660, 6, 6, 2804, 15, 16, - 184, 12, 12, 495, 215, 531, 3791, 2972, 246, 2974, - 536, 3623, 538, 2978, 540, 5453, 538, 2683, 540, 230, - 5, 3463, 3464, 2689, 2690, 2642, 11, 519, 3441, 213, - 538, 2800, 335, 10, 2700, 3423, 13, 539, 538, 5, - 542, 297, 253, 2709, 2710, 11, 538, 3659, 227, 536, - 3553, 538, 4695, 540, 533, 2840, 5, 2723, 467, 538, - 536, 540, 11, 539, 540, 2731, 273, 2733, 4711, 386, - 47, 282, 2689, 2690, 6, 6, 393, 54, 3738, 382, - 12, 12, 455, 400, 6236, 3398, 395, 531, 3563, 6241, - 6242, 5801, 536, 6, 538, 2773, 540, 2775, 5407, 12, - 56, 312, 22, 80, 2674, 2675, 2676, 2773, 28, 2775, - 3107, 295, 35, 36, 537, 668, 300, 3624, 4389, 542, - 372, 438, 3444, 2789, 312, 2683, 3497, 5662, 1004, 317, - 536, 434, 538, 1009, 2800, 314, 98, 2803, 2804, 2805, - 2806, 269, 398, 2809, 461, 4741, 2812, 103, 2933, 269, - 398, 4613, 4748, 4749, 287, 288, 289, 290, 495, 539, - 497, 3587, 542, 466, 348, 718, 719, 2833, 519, 520, - 381, 474, 128, 3947, 477, 2728, 153, 387, 388, 2845, - 364, 437, 209, 539, 296, 297, 542, 4352, 538, 437, - 540, 147, 273, 2859, 2860, 2812, 3342, 153, 3344, 3345, - 2866, 455, 3107, 3710, 4321, 4387, 89, 4389, 539, 2875, - 4372, 542, 539, 487, 539, 542, 6223, 542, 539, 175, - 5529, 542, 199, 179, 5887, 481, 4059, 204, 442, 3014, - 444, 2897, 539, 481, 442, 542, 444, 3928, 194, 495, - 539, 198, 3668, 542, 3670, 6397, 3890, 495, 387, 388, - 3215, 539, 2918, 495, 542, 497, 0, 61, 6087, 539, - 4425, 814, 542, 519, 539, 2931, 539, 542, 395, 542, - 539, 519, 539, 542, 539, 542, 246, 542, 255, 3601, - 538, 834, 538, 539, 468, 541, 398, 485, 2954, 842, - 538, 2957, 845, 846, 847, 11, 3577, 3578, 326, 539, - 539, 2918, 542, 542, 539, 435, 539, 542, 539, 542, - 3886, 542, 539, 539, 538, 542, 542, 2983, 2984, 3601, - 539, 387, 388, 542, 2649, 437, 2971, 539, 387, 388, - 542, 5994, 2998, 5637, 3000, 3001, 539, 314, 539, 542, - 3733, 542, 392, 539, 300, 3738, 542, 526, 527, 528, - 529, 530, 531, 532, 533, 534, 3884, 101, 2683, 539, - 2098, 5305, 542, 2101, 5308, 312, 3032, 3033, 3034, 481, - 398, 539, 3038, 542, 542, 5910, 5911, 61, 539, 539, - 3046, 542, 542, 495, 539, 487, 539, 542, 3814, 542, - 5672, 5673, 539, 3059, 3820, 542, 495, 538, 497, 3065, - 356, 3067, 6409, 2728, 137, 50, 139, 519, 155, 437, - 3262, 155, 3264, 3265, 3080, 539, 5848, 5849, 542, 3085, - 4620, 168, 6051, 6052, 168, 3091, 538, 174, 3094, 539, - 174, 539, 542, 410, 542, 539, 180, 495, 542, 497, - 3106, 3107, 186, 4625, 229, 189, 3727, 4306, 539, 193, - 541, 3117, 539, 481, 539, 542, 539, 542, 540, 542, - 2802, 3127, 539, 3129, 515, 542, 2808, 495, 3749, 539, - 539, 539, 542, 542, 542, 539, 223, 315, 542, 223, - 6487, 4641, 539, 6145, 3481, 542, 539, 3484, 312, 542, - 3259, 519, 539, 539, 174, 542, 542, 1050, 315, 6162, - 539, 312, 3168, 542, 3170, 539, 3172, 50, 542, 256, - 538, 515, 256, 539, 2856, 515, 542, 539, 4178, 539, - 542, 229, 542, 3916, 4641, 539, 531, 539, 542, 10, - 542, 539, 13, 179, 542, 3532, 17, 18, 19, 3205, - 517, 539, 539, 3540, 542, 542, 542, 539, 539, 3107, - 542, 542, 529, 530, 531, 532, 533, 534, 5878, 40, - 539, 308, 538, 542, 308, 539, 539, 541, 312, 542, - 3892, 318, 3894, 3126, 318, 539, 3481, 484, 542, 3484, - 4006, 4230, 4008, 4232, 4010, 539, 539, 539, 542, 542, - 542, 3398, 538, 3259, 3260, 4171, 3262, 4371, 3264, 3265, - 4374, 3267, 4046, 4377, 539, 344, 539, 542, 3274, 542, - 3892, 4233, 3894, 3279, 6277, 3580, 4067, 39, 539, 4279, - 6283, 542, 4837, 538, 4839, 3331, 3907, 3532, 3909, 10, - 539, 539, 13, 542, 378, 3540, 17, 18, 19, 539, - 539, 538, 542, 542, 10, 539, 539, 13, 542, 542, - 539, 17, 18, 19, 3976, 61, 4316, 5253, 5254, 539, - 180, 5260, 542, 3329, 3330, 3331, 539, 539, 3334, 542, - 542, 37, 539, 225, 3380, 542, 3342, 3343, 3344, 3345, - 539, 40, 539, 542, 539, 542, 539, 542, 1241, 542, - 54, 55, 3358, 437, 3976, 3361, 225, 3363, 539, 3506, - 4971, 542, 539, 62, 538, 542, 539, 0, 538, 542, - 3376, 3377, 6164, 539, 3380, 1268, 542, 540, 539, 539, - 467, 542, 542, 467, 3066, 539, 539, 539, 542, 542, - 542, 4266, 3398, 4268, 3400, 1496, 3402, 1498, 3404, 499, - 40, 538, 4130, 538, 4388, 6408, 227, 370, 492, 539, - 494, 495, 542, 204, 538, 114, 160, 3423, 540, 160, - 3426, 312, 62, 204, 3430, 370, 312, 160, 160, 204, - 160, 312, 516, 370, 4936, 174, 4164, 160, 3484, 254, - 124, 4062, 475, 538, 312, 3451, 304, 174, 539, 536, - 74, 295, 536, 540, 40, 539, 540, 541, 295, 499, - 538, 3126, 312, 295, 1357, 50, 50, 295, 101, 460, - 3431, 3432, 3433, 1366, 114, 3481, 295, 93, 3484, 3485, - 4208, 328, 487, 3489, 3490, 3491, 3492, 487, 4216, 1382, - 3536, 89, 3498, 314, 3451, 455, 174, 3503, 351, 160, - 4416, 4344, 4418, 4318, 160, 160, 227, 538, 207, 160, - 1403, 499, 3518, 1406, 1407, 160, 160, 542, 1411, 1412, - 174, 227, 155, 160, 160, 160, 3532, 312, 4444, 160, - 3536, 160, 160, 3539, 3540, 168, 3542, 160, 160, 160, - 160, 174, 160, 437, 184, 538, 40, 180, 174, 254, - 4664, 312, 4536, 186, 10, 174, 189, 13, 6, 538, - 193, 538, 4514, 538, 3246, 174, 265, 207, 538, 5552, - 538, 270, 538, 538, 538, 324, 275, 3583, 302, 3261, - 538, 538, 538, 3481, 3266, 538, 3484, 538, 538, 538, - 223, 47, 291, 314, 538, 538, 538, 538, 54, 538, - 538, 3607, 3608, 538, 538, 538, 538, 538, 314, 538, - 538, 538, 538, 4524, 6406, 3297, 538, 538, 538, 538, - 538, 538, 538, 256, 80, 265, 538, 538, 327, 3934, - 270, 496, 169, 225, 3532, 275, 542, 3643, 5577, 542, - 40, 105, 3540, 254, 40, 3651, 39, 448, 538, 448, - 450, 291, 536, 450, 4445, 450, 536, 450, 180, 538, - 542, 174, 308, 174, 306, 10, 3331, 405, 13, 5608, - 450, 70, 17, 18, 19, 308, 375, 450, 392, 312, - 450, 486, 450, 392, 540, 318, 450, 327, 256, 392, - 450, 450, 81, 450, 528, 3701, 450, 153, 392, 94, - 399, 160, 312, 251, 397, 526, 527, 528, 529, 530, - 531, 532, 533, 534, 450, 3380, 450, 300, 130, 3725, - 440, 420, 450, 474, 312, 333, 4031, 387, 306, 3735, - 538, 5188, 450, 450, 197, 375, 538, 94, 3403, 542, - 3887, 328, 130, 199, 204, 378, 160, 130, 204, 197, - 475, 116, 450, 475, 3419, 450, 130, 61, 206, 399, - 450, 450, 450, 450, 450, 450, 214, 450, 450, 217, - 61, 450, 471, 279, 450, 1668, 450, 316, 450, 450, - 420, 4697, 355, 1676, 355, 450, 355, 450, 440, 333, - 333, 450, 450, 49, 542, 227, 539, 450, 543, 255, - 450, 227, 312, 227, 437, 526, 527, 528, 529, 530, - 531, 532, 533, 534, 227, 312, 3481, 227, 227, 3484, - 526, 527, 528, 529, 530, 531, 532, 533, 534, 227, - 227, 471, 40, 227, 467, 227, 450, 137, 3844, 139, - 160, 538, 312, 460, 3850, 160, 295, 122, 475, 160, - 160, 160, 486, 295, 312, 3861, 262, 295, 314, 492, - 295, 494, 495, 40, 40, 538, 166, 3532, 174, 538, - 246, 3536, 538, 394, 160, 3540, 160, 160, 475, 475, - 160, 304, 227, 516, 450, 180, 491, 4887, 299, 538, - 13, 539, 3898, 3899, 3900, 279, 450, 279, 4689, 542, - 538, 189, 323, 536, 197, 452, 539, 540, 541, 3915, - 542, 515, 4678, 538, 515, 4681, 197, 396, 277, 408, - 492, 536, 3604, 3929, 4261, 538, 223, 539, 4265, 243, - 3612, 231, 539, 539, 313, 475, 539, 539, 40, 539, - 475, 3947, 3948, 3949, 4710, 61, 321, 3953, 542, 542, - 539, 392, 486, 300, 410, 4800, 538, 300, 300, 3965, - 450, 538, 450, 450, 4585, 4586, 300, 174, 312, 314, - 5510, 50, 312, 538, 414, 243, 295, 300, 243, 387, - 254, 254, 254, 273, 312, 450, 440, 287, 288, 289, - 290, 4870, 130, 542, 294, 295, 312, 542, 1891, 312, - 300, 204, 1895, 370, 312, 198, 450, 450, 3965, 495, - 359, 318, 402, 5127, 405, 4021, 4261, 40, 227, 539, - 4265, 246, 475, 475, 354, 528, 160, 306, 174, 4035, - 4036, 40, 487, 4370, 438, 3717, 176, 3719, 355, 538, - 4046, 402, 160, 538, 306, 160, 160, 475, 495, 295, - 40, 295, 312, 4059, 29, 312, 246, 306, 4786, 195, - 195, 517, 1486, 174, 40, 175, 246, 402, 3961, 174, - 312, 295, 4078, 529, 530, 531, 532, 533, 534, 204, - 4086, 542, 4088, 4214, 204, 204, 450, 204, 61, 4046, - 180, 204, 542, 276, 499, 312, 4102, 542, 304, 538, - 4106, 4107, 4108, 5087, 3997, 542, 540, 4113, 495, 542, - 4116, 180, 539, 4119, 539, 180, 318, 539, 480, 4125, - 539, 4127, 542, 539, 4130, 4370, 378, 542, 324, 4135, - 4136, 4137, 4138, 3815, 137, 4141, 4142, 4143, 4144, 4145, - 4146, 4147, 4148, 4149, 4150, 516, 5668, 334, 4154, 4155, - 4156, 4917, 180, 294, 539, 180, 542, 457, 4164, 539, - 515, 539, 4208, 4169, 537, 542, 4212, 4173, 538, 469, - 4961, 539, 2065, 539, 450, 4181, 539, 3859, 4184, 539, - 4186, 526, 527, 528, 529, 530, 531, 532, 533, 534, - 542, 539, 269, 539, 492, 189, 4202, 518, 539, 4205, - 4206, 538, 4208, 539, 537, 4211, 4212, 538, 4974, 4975, - 4216, 538, 4218, 4219, 538, 473, 538, 0, 519, 264, - 4873, 4227, 4228, 4229, 542, 492, 538, 481, 312, 528, - 61, 312, 315, 538, 312, 538, 160, 450, 450, 450, - 217, 4247, 4248, 4249, 4250, 4251, 300, 4253, 4254, 163, - 450, 4257, 295, 538, 160, 4261, 538, 209, 425, 4265, - 4239, 4222, 4223, 4224, 4225, 4271, 4603, 4604, 6207, 6208, - 4417, 211, 6211, 3955, 538, 723, 405, 160, 160, 209, - 254, 312, 163, 528, 732, 397, 450, 475, 397, 397, - 4239, 739, 4298, 4239, 742, 163, 3961, 392, 4445, 256, - 4239, 492, 335, 5069, 5070, 335, 472, 4313, 4239, 4315, - 163, 4932, 266, 137, 130, 139, 422, 3999, 101, 450, - 450, 266, 450, 450, 266, 392, 450, 295, 450, 450, - 392, 392, 3997, 392, 405, 160, 49, 49, 539, 227, - 539, 539, 166, 450, 192, 5802, 4239, 450, 537, 450, - 450, 450, 450, 450, 227, 539, 316, 539, 4603, 4604, - 3, 542, 174, 4261, 4370, 4371, 4372, 4265, 4374, 460, - 50, 4377, 155, 4379, 5107, 115, 539, 542, 4683, 4684, - 4685, 4686, 4687, 174, 538, 168, 539, 40, 160, 5300, - 450, 174, 4398, 160, 174, 528, 306, 180, 192, 4081, - 475, 538, 475, 186, 160, 392, 189, 231, 392, 392, - 193, 392, 392, 402, 158, 158, 5037, 227, 227, 227, - 227, 227, 227, 227, 5335, 227, 227, 149, 231, 468, - 468, 61, 536, 312, 5200, 312, 312, 5203, 5204, 13, - 223, 312, 486, 180, 324, 539, 542, 4453, 294, 542, - 539, 539, 4134, 539, 539, 542, 538, 5223, 322, 539, - 230, 537, 230, 287, 288, 289, 290, 539, 439, 539, - 294, 539, 4370, 256, 4459, 539, 300, 4159, 319, 61, - 538, 538, 193, 538, 447, 378, 4471, 480, 92, 4636, - 460, 174, 40, 475, 246, 450, 475, 217, 61, 440, - 160, 88, 422, 4509, 460, 184, 475, 397, 163, 10, - 539, 4848, 13, 450, 5135, 450, 6127, 450, 4855, 450, - 392, 450, 392, 4860, 539, 308, 4863, 539, 370, 312, - 538, 495, 538, 61, 481, 318, 4542, 440, 174, 5340, - 80, 312, 5458, 4208, 160, 115, 47, 4212, 460, 227, - 4556, 539, 4558, 54, 227, 227, 227, 243, 212, 450, - 4566, 499, 312, 40, 542, 312, 4572, 539, 333, 3, - 309, 538, 538, 538, 4239, 460, 46, 4583, 186, 80, - 542, 542, 5705, 450, 5707, 538, 187, 538, 402, 539, - 115, 180, 4598, 227, 147, 378, 4261, 4603, 4604, 244, - 4265, 300, 244, 4848, 300, 4611, 300, 1055, 300, 180, - 4855, 539, 539, 1061, 4620, 4860, 539, 1065, 4863, 1067, - 539, 539, 61, 539, 4630, 542, 324, 493, 493, 333, - 539, 539, 230, 457, 538, 542, 4642, 4643, 538, 538, - 494, 306, 528, 495, 305, 469, 180, 4653, 2072, 2073, - 10, 447, 153, 13, 437, 450, 211, 495, 4664, 4665, - 460, 80, 198, 2087, 542, 198, 40, 300, 300, 528, - 61, 440, 2096, 542, 450, 74, 4682, 450, 160, 542, - 163, 539, 227, 1131, 467, 1133, 1134, 47, 450, 450, - 5716, 538, 129, 182, 54, 122, 40, 291, 199, 5487, - 204, 306, 538, 204, 40, 4603, 4604, 402, 176, 492, - 295, 494, 495, 402, 306, 475, 495, 4723, 61, 86, - 80, 440, 40, 180, 312, 538, 4873, 174, 5381, 2622, - 365, 495, 315, 516, 4740, 214, 4629, 225, 180, 5853, - 538, 5046, 5047, 542, 5049, 480, 539, 539, 61, 539, - 419, 539, 4758, 536, 255, 395, 539, 540, 541, 40, - 83, 538, 94, 538, 205, 539, 5419, 138, 312, 450, - 324, 40, 538, 160, 160, 450, 539, 174, 40, 538, - 4786, 539, 539, 4789, 539, 538, 300, 5408, 211, 5903, - 538, 4797, 4798, 153, 267, 402, 538, 538, 475, 4805, - 4806, 539, 538, 160, 4810, 5142, 538, 538, 538, 4815, - 115, 40, 4818, 314, 4820, 539, 316, 180, 417, 460, - 4826, 417, 539, 174, 4830, 4831, 4832, 4833, 542, 40, - 539, 312, 208, 539, 114, 538, 5950, 5951, 538, 199, - 542, 538, 4848, 40, 204, 4851, 37, 440, 538, 4855, - 538, 542, 480, 364, 4860, 5583, 197, 4863, 4864, 174, - 4866, 475, 4868, 440, 538, 4871, 312, 4873, 64, 5597, - 209, 539, 6, 167, 499, 538, 388, 315, 2771, 388, - 4886, 74, 74, 541, 4890, 138, 4892, 143, 479, 5655, - 4908, 5619, 495, 495, 491, 255, 312, 5142, 5626, 480, - 152, 539, 4908, 171, 100, 171, 334, 4589, 539, 410, - 40, 5827, 538, 542, 538, 405, 5942, 446, 268, 446, - 180, 440, 300, 440, 312, 5716, 538, 312, 402, 40, - 4936, 4937, 40, 315, 2827, 315, 182, 182, 4603, 159, - 205, 499, 499, 538, 357, 5711, 4952, 5863, 538, 357, - 4848, 387, 156, 319, 314, 61, 61, 4855, 83, 40, - 371, 61, 4860, 539, 4629, 4863, 538, 61, 164, 127, - 4955, 473, 5700, 5701, 450, 539, 6, 402, 538, 143, - 5959, 4966, 312, 499, 499, 312, 37, 539, 5325, 538, - 300, 4884, 4885, 296, 296, 538, 405, 538, 26, 391, - 542, 391, 450, 387, 542, 201, 6120, 83, 312, 5346, - 387, 320, 5018, 5318, 481, 538, 517, 180, 538, 5025, - 152, 2914, 428, 5939, 5329, 428, 480, 122, 529, 530, - 531, 532, 533, 534, 542, 159, 539, 319, 417, 495, - 5702, 481, 5048, 5380, 417, 2938, 495, 539, 336, 182, - 410, 182, 538, 475, 5716, 251, 480, 5063, 538, 5825, - 83, 539, 5536, 538, 3444, 2982, 2891, 972, 3659, 1018, - 932, 1019, 4416, 1412, 4391, 6111, 1717, 3009, 3063, 5461, - 5325, 3878, 40, 5939, 6251, 6199, 6200, 64, 5094, 4583, - 5510, 4389, 4389, 5096, 5486, 3584, 5734, 3646, 4949, 295, - 6339, 5346, 6240, 5380, 6340, 5111, 64, 5969, 5968, 3002, - 6131, 6277, 5118, 3006, 3652, 5142, 4630, 4604, 4615, 5912, - 4573, 5127, 3077, 100, 4411, 6239, 3077, 3684, 5136, 4599, - 3926, 5493, 3970, 329, 4666, 5380, 5142, 6365, 6501, 1014, - 5814, 6476, 100, 5871, 5477, 5873, 3886, 4638, 6143, 5155, - 3043, 5157, 3045, 5421, 3047, 3048, 5687, 517, 1877, 3052, - 3053, 3054, 5424, 3056, 3057, 3058, 18, 28, 667, 529, - 530, 531, 532, 533, 534, 4035, 4694, 5183, 374, 6361, - 376, 5653, 3093, 379, 1236, 2748, 4697, 164, 5194, 5526, - 4855, 3562, 388, 3981, 4641, 4860, 5536, 1932, 4863, 5802, - 1956, 397, 752, 1918, 3818, 1921, 164, 3008, 4444, 405, - 3735, 6169, 719, 861, 6412, 4670, 4672, 3110, 3039, 4884, - 4885, 2690, 418, 5419, 201, 6251, 5418, 6335, 4313, 1531, - 4886, 427, 5648, 6077, 5381, 1830, 432, 4919, 5651, 1387, - 40, 5247, 3135, 201, 5142, 40, 3503, 4740, 1489, 1428, - 1488, 5257, 5905, 3518, 5260, 2700, 6070, 5263, 5264, 5265, - 5407, 5154, 5875, 1491, 4249, 4267, 3484, 5326, 5605, 3481, - 5605, 5463, 5419, 5604, 251, 4314, 2700, 3481, 6389, 6064, - 5942, 5526, 5288, 5289, 6212, 3481, 5862, 5293, 246, 6428, - 1445, 4973, 5581, 251, 490, 4173, 2594, 5876, 3421, 5877, - 2595, 2089, 3275, 3038, 3401, 5311, 5826, 3391, 6430, 5315, - 3312, 5616, 4105, 4995, 291, 5321, 2600, 2688, 295, 5325, - 920, -1, -1, 5329, -1, -1, 5332, -1, 5334, -1, - -1, -1, -1, -1, 5340, -1, -1, 295, -1, -1, - 5346, -1, -1, 5349, -1, -1, -1, -1, -1, -1, - -1, 328, 329, -1, -1, -1, -1, -1, -1, -1, - 5605, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 329, -1, -1, 5380, 5381, 5382, -1, 5384, -1, - 5386, -1, -1, -1, -1, -1, 5068, -1, -1, -1, - -1, -1, -1, 370, -1, -1, -1, 374, -1, -1, - -1, -1, 379, -1, 5709, -1, -1, -1, -1, -1, - -1, 388, 5418, 5419, -1, -1, 374, -1, -1, -1, - 397, 379, -1, 6455, -1, -1, -1, 5325, 405, -1, - 388, -1, -1, -1, -1, -1, 5773, -1, -1, 397, - -1, 418, -1, -1, -1, -1, -1, 405, 5346, 6111, - 427, -1, -1, -1, -1, 432, -1, 5463, -1, -1, - 418, -1, -1, -1, -1, -1, -1, 6233, -1, 427, - -1, 5477, -1, -1, 432, -1, 5482, -1, -1, -1, - 5338, 5487, 5380, -1, 1932, -1, -1, 1935, -1, 5154, - 5496, -1, -1, -1, -1, 453, -1, 1945, 1946, 6415, - 5506, -1, 10, -1, 5510, 13, -1, 5513, 5190, 17, - 18, 19, 1960, 490, -1, 1963, -1, -1, 5524, 5525, - 5526, -1, -1, -1, -1, -1, -1, -1, 5773, 37, - -1, -1, 490, 6, -1, -1, 494, 5536, 5536, 47, - 5536, 5536, 5536, 5536, 5536, -1, 54, 5536, 5536, 5536, - 5887, 3444, 5536, -1, 5560, -1, 5536, 5536, -1, -1, - 6476, -1, -1, 5536, -1, 2013, 6477, -1, 5525, 2017, - 2018, 5577, 80, -1, -1, 5581, -1, 5583, 51, -1, - 5626, -1, -1, -1, -1, 6501, -1, 5536, -1, 6251, - 5536, 5597, -1, -1, -1, -1, -1, 5536, 5491, 5605, - -1, -1, 5608, -1, -1, 5536, 5612, -1, 0, -1, - -1, -1, -1, 5619, -1, 6348, 6349, 6345, -1, -1, - 5626, -1, -1, -1, -1, -1, -1, -1, 5526, 5522, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 5887, 5536, -1, -1, -1, -1, -1, 5331, - -1, -1, -1, 45, -1, -1, -1, 5994, -1, -1, - 5325, -1, -1, 5669, -1, -1, 6394, -1, -1, -1, - -1, -1, 5678, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 5694, -1, - -1, 199, -1, -1, 5700, 5701, 204, -1, -1, 5705, - 5706, 5707, 5708, -1, -1, -1, -1, 5605, 3601, 101, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 227, - 228, -1, -1, -1, 197, -1, -1, -1, -1, 207, - 5736, -1, -1, 206, 207, -1, -1, -1, 216, 5745, - -1, 214, -1, 216, 217, -1, -1, 255, -1, 5994, - -1, -1, 230, -1, -1, -1, -1, 230, 5905, -1, - -1, -1, -1, 155, 5770, -1, -1, 5773, -1, -1, - -1, -1, -1, -1, -1, -1, 168, -1, -1, -1, - -1, -1, 174, -1, -1, -1, -1, -1, 180, -1, - 298, -1, 5798, -1, 186, -1, 3689, 189, -1, -1, - -1, 193, -1, -1, -1, -1, 314, -1, -1, 317, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 5826, -1, -1, -1, -1, 6162, 5491, -1, -1, -1, - -1, 223, 5838, 225, -1, -1, -1, -1, -1, -1, + 6, 0, 0, 665, 0, 211, 0, 0, 0, 56, + 0, 0, 0, 0, 0, 0, 0, 23, 1042, 25, + 0, 1051, 1014, 29, 844, 981, 211, 21, 34, 35, + 36, 943, 38, 686, 841, 41, 42, 1665, 44, 8, + 46, 36, 1167, 1508, 189, 1044, 15, 53, 54, 55, + 1598, 937, 1582, 939, 2853, 1228, 718, 0, 0, 1582, + 1040, 22, 799, 800, 801, 898, 1015, 28, 805, 0, + 868, 1046, 2726, 0, 886, 887, 917, 847, 21, 1575, + 2727, 1117, 741, 2047, 896, 1274, 3081, 3146, 851, 1261, + 2073, 3256, 197, 0, 1587, 1051, 755, 834, 216, 867, + 2748, 2749, 1905, 765, 901, 3206, 3108, 2036, 6, 206, + 1575, 3738, 230, 3438, 955, 3440, 3936, 214, 2977, 1246, + 217, 45, 3533, 1250, 763, 3093, 1253, 1254, 2074, 3952, + 1733, 759, 3963, 3985, 2017, 3621, 1628, 1629, 23, 3656, + 1632, 3658, 980, 2055, 2999, 3888, 3684, 2088, 3686, 3491, + 4286, 36, 1700, 1701, 4850, 3543, 818, 667, 1031, 4329, + 4308, 4370, 191, 2112, 175, 2114, 191, 1005, 5248, 1465, + 4635, 1565, 1010, 2, 1977, 5176, 764, 754, 4618, 1918, + 3485, 3507, 4623, 874, 5342, 847, 4750, 5478, 4752, 5384, + 4417, 197, 198, 199, 2602, 4866, 202, 4868, 966, 2607, + 206, 1694, 208, 5168, 4612, 211, 44, 41, 214, 5119, + 872, 217, 4580, 35, 220, 5514, 222, 50, 1091, 225, + 42, 2711, 1095, 229, 2713, 231, 5475, 1100, 1721, 3553, + 3089, 1625, 2643, 3950, 3300, 739, 3541, 1110, 742, 964, + 3490, 5526, 3492, 3493, 3397, 3392, 5375, 6, 1642, 15, + 4942, 1124, 5163, 6, 4622, 940, 0, 5167, 0, 5784, + 940, 11, 3046, 23, 3048, 3049, 1106, 1014, 1548, 3053, + 3054, 3055, 934, 3057, 3058, 3059, 1023, 6, 5768, 2690, + 1005, 1154, 1122, 12, 56, 1010, 1033, 1055, 2069, 2070, + 2071, 2072, 4788, 27, 2075, 6, 2077, 2078, 13, 6, + 4471, 12, 6, 2042, 5433, 6, 884, 885, 12, 40, + 37, 12, 0, 39, 15, 16, 65, 895, 97, 65, + 0, 23, 0, 11, 5440, 5441, 49, 45, 0, 65, + 49, 45, 122, 11, 39, 65, 49, 74, 27, 180, + 6, 6, 124, 31, 33, 151, 12, 12, 1085, 6, + 15, 16, 25, 31, 180, 12, 65, 174, 15, 16, + 127, 122, 6, 122, 6, 6, 6, 204, 12, 39, + 12, 12, 12, 6, 115, 3, 180, 6, 6, 12, + 6, 180, 6, 12, 12, 90, 12, 225, 12, 1051, + 115, 192, 1884, 180, 312, 5, 13, 82, 6, 5, + 158, 11, 65, 6082, 12, 11, 122, 5667, 142, 4636, + 5465, 82, 11, 65, 65, 82, 31, 39, 6, 156, + 94, 180, 192, 38, 6038, 180, 65, 94, 39, 1409, + 47, 6155, 6156, 82, 1629, 312, 180, 1632, 180, 176, + 333, 1477, 313, 6, 80, 11, 1421, 229, 392, 259, + 180, 1407, 219, 142, 137, 82, 1412, 1413, 44, 326, + 204, 313, 204, 80, 333, 39, 1465, 94, 1107, 4713, + 4714, 4715, 5997, 4717, 4718, 4719, 4720, 4721, 406, 362, + 1292, 1293, 5393, 363, 31, 158, 398, 5786, 299, 117, + 197, 182, 180, 180, 1469, 126, 378, 1267, 5988, 206, + 180, 686, 180, 291, 87, 450, 387, 214, 180, 1528, + 217, 1202, 1324, 295, 328, 1174, 204, 485, 125, 6427, + 485, 291, 180, 1156, 204, 437, 204, 31, 495, 1162, + 268, 387, 204, 392, 38, 6, 4956, 182, 1335, 1172, + 300, 12, 539, 1176, 4964, 542, 4954, 1180, 82, 1182, + 5515, 736, 358, 5682, 13, 1188, 122, 295, 295, 82, + 82, 1194, 6, 422, 1197, 326, 684, 13, 196, 481, + 538, 216, 690, 538, 6482, 542, 1235, 359, 304, 295, + 124, 437, 370, 528, 702, 13, 1245, 1355, 47, 94, + 137, 405, 473, 200, 538, 226, 375, 1553, 300, 34, + 480, 412, 1577, 1262, 487, 1267, 150, 1563, 31, 491, + 538, 348, 295, 181, 481, 38, 202, 1385, 536, 47, + 1208, 80, 540, 314, 495, 144, 538, 376, 10, 187, + 376, 13, 6356, 6158, 1404, 17, 18, 19, 448, 328, + 376, 187, 127, 129, 187, 538, 274, 5907, 500, 277, + 408, 6330, 80, 138, 1466, 5904, 34, 127, 5329, 53, + 666, 538, 392, 1354, 197, 391, 672, 376, 674, 538, + 676, 405, 159, 679, 4417, 5730, 392, 402, 479, 187, + 686, 370, 304, 246, 160, 691, 671, 693, 13, 1884, + 115, 450, 300, 699, 1650, 450, 437, 5996, 1654, 1655, + 31, 542, 4445, 1281, 1282, 542, 473, 1731, 1732, 479, + 65, 115, 538, 376, 387, 433, 405, 723, 765, 433, + 481, 538, 1671, 450, 376, 376, 732, 450, 671, 671, + 736, 468, 538, 739, 538, 408, 742, 376, 528, 473, + 671, 1319, 1404, 542, 671, 1436, 4894, 6272, 336, 1729, + 1412, 1413, 758, 25, 480, 542, 486, 480, 769, 464, + 542, 480, 528, 542, 671, 450, 538, 480, 396, 528, + 536, 4591, 2052, 484, 540, 1613, 450, 538, 5274, 450, + 6270, 540, 542, 450, 4955, 538, 1659, 537, 25, 1662, + 519, 520, 1632, 542, 499, 4966, 542, 541, 943, 541, + 415, 450, 1430, 25, 1551, 811, 542, 538, 4631, 538, + 1495, 1502, 4632, 5778, 820, 1495, 1649, 5933, 779, 534, + 781, 764, 783, 450, 793, 4452, 1738, 538, 789, 499, + 6355, 4458, 2005, 542, 538, 841, 842, 538, 844, 845, + 542, 529, 530, 849, 1684, 1685, 6095, 6096, 1573, 1868, + 6149, 529, 530, 541, 1979, 542, 4373, 863, 4375, 1065, + 336, 541, 868, 541, 1442, 1443, 1613, 1866, 874, 541, + 536, 5782, 538, 538, 540, 519, 520, 6162, 6403, 542, + 1065, 538, 465, 6497, 542, 513, 6177, 2012, 499, 495, + 542, 542, 1848, 4636, 538, 6509, 538, 538, 538, 2024, + 536, 1626, 931, 542, 540, 538, 931, 4249, 3556, 538, + 3558, 415, 538, 519, 538, 921, 450, 534, 1643, 529, + 530, 3780, 3781, 529, 530, 499, 3785, 450, 450, 935, + 529, 530, 314, 477, 933, 933, 25, 933, 373, 933, + 933, 933, 948, 933, 933, 933, 933, 933, 933, 933, + 455, 1056, 387, 933, 389, 3923, 4261, 963, 957, 6088, + 4265, 4114, 4115, 529, 530, 1062, 4683, 1620, 5660, 1066, + 538, 1068, 491, 811, 127, 6274, 982, 4124, 6107, 423, + 424, 987, 988, 377, 542, 2684, 5230, 495, 473, 475, + 933, 933, 415, 265, 5995, 373, 542, 4321, 4248, 542, + 4250, 4251, 933, 473, 491, 538, 933, 25, 225, 340, + 10, 845, 437, 1019, 1020, 849, 723, 17, 18, 19, + 455, 376, 3512, 4540, 3513, 732, 933, 5992, 265, 180, + 868, 4097, 739, 437, 542, 742, 1042, 1043, 1548, 174, + 516, 3452, 875, 265, 158, 1885, 4199, 6, 6, 2073, + 1056, 70, 1058, 4539, 315, 6354, 1062, 122, 291, 1065, + 1066, 3920, 1068, 6045, 302, 5975, 219, 1073, 3, 400, + 5, 6, 531, 532, 533, 534, 11, 12, 189, 2054, + 127, 5991, 3866, 6278, 6279, 531, 532, 533, 534, 91, + 5498, 1097, 350, 355, 31, 142, 116, 935, 1104, 1105, + 196, 529, 530, 531, 532, 533, 534, 6187, 31, 180, + 948, 442, 89, 444, 6243, 122, 181, 291, 271, 4445, + 1126, 1127, 1128, 392, 1130, 963, 1132, 105, 1134, 1135, + 180, 25, 134, 204, 2109, 387, 3544, 5505, 176, 2138, + 6, 127, 23, 23, 526, 527, 528, 529, 530, 531, + 532, 533, 534, 166, 6445, 392, 318, 3623, 6159, 155, + 389, 1167, 85, 1169, 1170, 88, 389, 306, 440, 1831, + 392, 5380, 95, 91, 78, 6333, 265, 1914, 274, 209, + 5407, 25, 4668, 117, 126, 6150, 91, 122, 5859, 209, + 127, 32, 4603, 170, 333, 125, 1202, 1019, 1020, 471, + 123, 2021, 2022, 440, 529, 530, 531, 532, 533, 534, + 6405, 189, 10, 124, 492, 13, 134, 435, 440, 17, + 18, 19, 1228, 318, 1230, 497, 455, 223, 1234, 134, + 1236, 296, 455, 219, 471, 27, 405, 475, 74, 37, + 3888, 65, 1211, 27, 1213, 25, 1215, 265, 1217, 471, + 1219, 1220, 1221, 1259, 74, 1261, 474, 1226, 94, 1265, + 497, 184, 196, 115, 542, 1208, 538, 25, 296, 538, + 200, 382, 291, 1279, 197, 497, 538, 538, 25, 6280, + 538, 514, 219, 2748, 226, 306, 538, 210, 10, 224, + 1949, 13, 5856, 300, 408, 17, 18, 19, 345, 450, + 396, 538, 315, 392, 1963, 479, 117, 1354, 27, 5750, + 6468, 1140, 333, 291, 314, 1321, 538, 1976, 229, 1952, + 473, 2814, 318, 2846, 259, 542, 6308, 1960, 25, 331, + 3978, 5796, 5152, 3316, 5165, 5158, 5776, 5189, 2106, 5780, + 274, 300, 300, 277, 1350, 1351, 1352, 6427, 1354, 1056, + 142, 440, 6353, 3092, 1982, 1062, 3, 5765, 142, 1066, + 495, 1068, 2053, 6364, 2055, 1942, 5774, 39, 4370, 1375, + 2061, 265, 392, 542, 392, 27, 2067, 2068, 3, 220, + 542, 5749, 471, 2011, 295, 196, 2682, 2015, 2079, 3330, + 3331, 127, 2020, 4910, 3335, 2023, 3, 1974, 2089, 538, + 450, 1989, 6482, 6404, 2095, 309, 2899, 437, 497, 3108, + 475, 5779, 1418, 331, 1425, 435, 5824, 437, 4935, 300, + 300, 265, 440, 142, 495, 1132, 331, 1134, 1135, 227, + 1436, 3897, 3035, 2086, 300, 1620, 3377, 3378, 6439, 291, + 2834, 443, 1946, 174, 457, 473, 93, 542, 359, 538, + 122, 1480, 1481, 471, 1483, 1480, 1481, 1961, 1483, 295, + 1964, 398, 396, 274, 122, 66, 277, 291, 93, 447, + 6471, 467, 458, 74, 192, 295, 1482, 181, 528, 497, + 1486, 1487, 204, 219, 5654, 265, 93, 473, 313, 138, + 142, 1497, 1498, 1499, 1500, 3444, 1502, 3125, 392, 422, + 5648, 148, 425, 414, 4892, 227, 124, 265, 6204, 4851, + 2014, 182, 6169, 191, 2018, 2019, 314, 538, 265, 1525, + 538, 94, 147, 313, 316, 443, 526, 527, 528, 529, + 530, 531, 532, 533, 534, 405, 473, 313, 443, 27, + 147, 40, 2052, 159, 328, 33, 440, 42, 392, 122, + 4855, 274, 376, 370, 1560, 4860, 6169, 31, 4863, 1565, + 374, 56, 1568, 62, 211, 41, 192, 405, 265, 5977, + 219, 306, 327, 291, 29, 1581, 1582, 471, 5116, 513, + 2604, 405, 374, 375, 1590, 396, 370, 1593, 155, 6, + 4649, 405, 314, 318, 529, 530, 440, 52, 333, 5719, + 27, 5721, 4604, 497, 538, 5725, 5726, 182, 437, 328, + 328, 229, 392, 405, 1620, 114, 1622, 669, 113, 1625, + 2935, 405, 1628, 1629, 204, 173, 1632, 471, 332, 328, + 6287, 2606, 114, 450, 392, 1634, 1642, 262, 405, 1645, + 1639, 372, 1648, 314, 538, 392, 318, 171, 3144, 312, + 405, 370, 370, 497, 142, 262, 132, 174, 259, 1497, + 440, 1499, 398, 137, 5407, 291, 1672, 37, 326, 186, + 495, 370, 542, 396, 6287, 3140, 328, 295, 5887, 3144, + 358, 5504, 440, 2682, 1690, 5516, 405, 204, 335, 256, + 316, 471, 405, 440, 538, 392, 1702, 1703, 1704, 1705, + 1706, 3016, 513, 328, 542, 495, 405, 411, 207, 761, + 388, 405, 74, 471, 1720, 142, 1715, 497, 370, 495, + 1719, 328, 295, 218, 471, 1731, 1732, 1733, 526, 527, + 528, 529, 530, 531, 532, 533, 534, 473, 6146, 497, + 398, 359, 2772, 440, 4528, 122, 4605, 54, 538, 4533, + 497, 306, 1958, 405, 425, 6412, 4611, 347, 538, 366, + 122, 479, 286, 370, 183, 220, 265, 374, 4567, 4417, + 5906, 270, 1957, 1958, 471, 542, 275, 352, 333, 437, + 538, 347, 398, 3482, 836, 162, 3485, 124, 270, 159, + 370, 538, 291, 275, 374, 343, 291, 4445, 405, 6412, + 497, 185, 60, 538, 526, 527, 528, 529, 530, 531, + 532, 533, 534, 150, 539, 440, 2772, 542, 443, 466, + 197, 437, 184, 481, 1830, 405, 478, 474, 327, 542, + 477, 1936, 6383, 440, 3533, 1841, 443, 495, 497, 538, + 328, 538, 3541, 1849, 1850, 450, 4848, 102, 542, 102, + 1947, 101, 1690, 479, 450, 327, 528, 382, 171, 1865, + 6268, 519, 452, 380, 536, 481, 538, 539, 540, 362, + 542, 539, 243, 131, 542, 259, 375, 1883, 1884, 495, + 538, 168, 370, 542, 2883, 269, 452, 101, 495, 328, + 35, 36, 199, 1899, 1900, 1901, 1902, 204, 6018, 394, + 399, 2086, 1908, 519, 2724, 6456, 399, 121, 498, 1915, + 2909, 2744, 1918, 122, 125, 495, 10, 405, 295, 13, + 291, 420, 538, 17, 18, 19, 181, 1933, 181, 168, + 1936, 370, 498, 295, 353, 248, 186, 542, 300, 519, + 1946, 1947, 6350, 37, 437, 159, 542, 5767, 255, 474, + 135, 1957, 1958, 2945, 5785, 1961, 101, 6093, 1964, 243, + 215, 146, 215, 300, 137, 174, 139, 386, 318, 256, + 2661, 5794, 471, 1979, 1980, 230, 121, 230, 159, 51, + 1986, 400, 1988, 538, 30, 387, 348, 389, 4636, 200, + 781, 782, 783, 2949, 487, 786, 787, 788, 253, 2005, + 253, 2957, 364, 157, 2960, 796, 2012, 291, 2014, 2642, + 3009, 2017, 2018, 2019, 159, 2021, 2022, 256, 2024, 438, + 5325, 308, 1991, 2070, 1993, 2031, 1995, 282, 1997, 282, + 1999, 269, 2038, 208, 2003, 2041, 2042, 408, 242, 2045, + 539, 13, 2048, 2049, 3169, 395, 1989, 2053, 94, 2055, + 2045, 2036, 206, 455, 2060, 2061, 5221, 5543, 442, 312, + 444, 2067, 2068, 2069, 2070, 2071, 2072, 2073, 2074, 2075, + 2076, 2077, 2078, 2079, 6283, 359, 3075, 2083, 4042, 2085, + 2086, 2087, 2088, 2089, 2090, 2091, 2092, 471, 3553, 2095, + 327, 2097, 2098, 2036, 2036, 2101, 4060, 2844, 3563, 6433, + 327, 6435, 473, 410, 328, 2036, 468, 311, 80, 2036, + 2772, 96, 2118, 2119, 2120, 4098, 291, 3029, 3030, 3031, + 4103, 269, 295, 5118, 408, 452, 381, 765, 381, 2036, + 2136, 27, 3, 227, 328, 3763, 182, 33, 71, 72, + 5142, 6495, 3638, 328, 94, 387, 370, 295, 15, 16, + 374, 475, 366, 4036, 139, 2995, 6008, 2925, 6512, 5990, + 2998, 27, 5157, 2048, 4076, 6499, 5989, 4113, 405, 5137, + 2176, 498, 366, 3638, 3363, 475, 370, 1634, 405, 421, + 818, 405, 1639, 2842, 398, 370, 2923, 5404, 2925, 473, + 5355, 183, 5357, 2031, 4135, 4136, 4137, 4138, 2945, 6408, + 4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, 4149, 4150, + 5748, 405, 5537, 538, 538, 185, 4019, 398, 3, 328, + 314, 366, 475, 437, 452, 316, 1933, 93, 426, 1936, + 6463, 5448, 175, 3232, 872, 185, 2983, 328, 538, 1946, + 1947, 328, 3845, 28, 3736, 328, 142, 5106, 3851, 5108, + 372, 122, 6485, 398, 1961, 247, 437, 1964, 1715, 209, + 168, 370, 1719, 3219, 4205, 4206, 174, 481, 211, 135, + 495, 3018, 3112, 3113, 3114, 3115, 142, 3117, 2284, 370, + 146, 495, 5799, 370, 1626, 5386, 245, 370, 3161, 259, + 538, 489, 437, 122, 3787, 5079, 934, 5081, 5082, 5083, + 481, 1643, 3142, 40, 328, 519, 352, 2014, 93, 259, + 4239, 2018, 2019, 124, 495, 155, 145, 542, 405, 181, + 6151, 4102, 405, 152, 538, 62, 4107, 4108, 168, 328, + 370, 102, 2338, 495, 174, 5821, 481, 166, 519, 150, + 485, 3834, 40, 389, 5346, 2973, 370, 2975, 256, 370, + 495, 2979, 495, 215, 114, 3354, 50, 538, 3547, 35, + 36, 3360, 5773, 148, 180, 405, 168, 317, 230, 15, + 16, 370, 174, 495, 519, 375, 519, 114, 5380, 73, + 542, 405, 295, 223, 405, 83, 374, 300, 204, 2395, + 5, 253, 362, 538, 386, 486, 11, 519, 3135, 542, + 308, 393, 213, 5728, 19, 405, 405, 453, 400, 455, + 181, 3959, 0, 459, 6484, 175, 256, 405, 1209, 204, + 542, 1212, 37, 1214, 295, 1216, 211, 1218, 6498, 300, + 541, 1222, 526, 527, 528, 529, 530, 531, 532, 533, + 534, 13, 6273, 356, 215, 537, 438, 184, 155, 10, + 542, 211, 13, 495, 256, 3094, 17, 18, 19, 230, + 362, 168, 328, 6090, 6284, 336, 4247, 174, 308, 461, + 207, 300, 442, 285, 444, 47, 37, 519, 318, 82, + 291, 0, 253, 495, 295, 34, 29, 5, 442, 3445, + 444, 94, 442, 11, 444, 285, 538, 399, 310, 174, + 366, 471, 21, 124, 370, 455, 308, 519, 80, 52, + 270, 282, 61, 296, 297, 275, 223, 487, 468, 381, + 310, 471, 359, 198, 5526, 3158, 542, 3439, 265, 150, + 3163, 3299, 3165, 270, 371, 437, 1887, 56, 275, 405, + 416, 312, 3175, 174, 450, 3178, 412, 3180, 3181, 256, + 335, 3184, 6, 174, 291, 3188, 1907, 3190, 12, 495, + 3193, 5886, 4261, 174, 401, 441, 4265, 198, 5669, 475, + 519, 520, 519, 520, 2580, 2581, 2582, 2583, 2584, 2585, + 2586, 2587, 2588, 519, 2590, 487, 145, 198, 3216, 538, + 327, 538, 213, 152, 2600, 2601, 82, 382, 2604, 2805, + 528, 308, 536, 5605, 1009, 2611, 540, 6, 94, 531, + 381, 318, 540, 12, 536, 398, 538, 4558, 540, 6, + 2805, 37, 6442, 1028, 3257, 12, 1031, 467, 457, 533, + 537, 2675, 2676, 2677, 538, 542, 540, 2643, 375, 2645, + 469, 3332, 2648, 2649, 539, 350, 2652, 542, 2654, 434, + 2644, 2657, 531, 3344, 437, 2661, 728, 536, 312, 538, + 455, 540, 399, 317, 40, 3792, 227, 3464, 3465, 5453, + 291, 4370, 191, 536, 295, 3624, 395, 540, 2684, 3442, + 304, 466, 754, 420, 2690, 2691, 62, 6, 487, 474, + 3381, 326, 477, 12, 533, 2701, 2801, 5684, 481, 538, + 6, 540, 5689, 5690, 2710, 2711, 12, 2804, 6, 2806, + 2807, 3660, 495, 3554, 12, 6, 5, 539, 2724, 6236, + 542, 12, 11, 2841, 6241, 6242, 2732, 312, 2734, 5, + 3498, 4695, 317, 3424, 471, 11, 519, 398, 114, 6, + 387, 388, 5801, 6, 6, 12, 3399, 4711, 22, 12, + 12, 1005, 3564, 314, 28, 538, 1010, 246, 4741, 5407, + 467, 4389, 297, 398, 3739, 4748, 4749, 536, 2774, 538, + 2776, 540, 519, 520, 539, 3948, 437, 542, 442, 2774, + 444, 2776, 539, 3445, 2790, 542, 2684, 287, 288, 289, + 290, 3343, 538, 3345, 3346, 2801, 387, 388, 2804, 2805, + 2806, 2807, 437, 5662, 2810, 2643, 539, 2813, 539, 542, + 4613, 542, 539, 455, 539, 542, 2934, 542, 539, 372, + 481, 542, 2729, 155, 539, 387, 388, 542, 2834, 536, + 273, 207, 3602, 540, 495, 539, 168, 538, 542, 4387, + 2846, 4389, 174, 536, 539, 538, 481, 542, 539, 4372, + 395, 542, 2690, 2691, 2860, 2861, 4321, 269, 519, 4352, + 495, 2867, 539, 398, 6461, 542, 10, 6464, 539, 13, + 2876, 542, 269, 17, 18, 19, 539, 538, 3625, 542, + 6397, 5529, 98, 539, 519, 5887, 542, 4059, 3887, 265, + 273, 223, 2898, 3929, 270, 455, 40, 3015, 6223, 275, + 387, 388, 437, 538, 4603, 4604, 539, 539, 209, 542, + 542, 539, 198, 2919, 542, 291, 5672, 5673, 2099, 3578, + 3579, 2102, 6087, 89, 256, 539, 2932, 539, 542, 538, + 542, 540, 4425, 539, 10, 539, 542, 13, 542, 61, + 3602, 17, 18, 19, 539, 539, 481, 542, 542, 2955, + 487, 327, 2958, 3581, 5305, 3588, 539, 5308, 395, 542, + 495, 37, 5848, 5849, 3711, 526, 527, 528, 529, 530, + 531, 532, 533, 534, 246, 2813, 308, 2684, 2984, 2985, + 137, 538, 139, 540, 519, 539, 318, 538, 542, 1061, + 5637, 539, 5994, 2999, 542, 3001, 3002, 3734, 539, 375, + 1072, 542, 3739, 538, 539, 539, 541, 539, 542, 166, + 542, 2972, 539, 11, 539, 542, 1088, 542, 3891, 539, + 6051, 6052, 542, 399, 495, 435, 497, 3033, 3034, 3035, + 485, 539, 539, 3039, 542, 542, 3669, 539, 3671, 538, + 542, 3047, 312, 539, 420, 3885, 542, 495, 392, 497, + 10, 5910, 5911, 13, 3060, 54, 55, 17, 18, 19, + 3066, 539, 3068, 539, 542, 539, 542, 539, 542, 3728, + 542, 538, 542, 539, 231, 3081, 542, 4625, 61, 539, + 3086, 2919, 542, 227, 6409, 442, 3092, 444, 50, 3095, + 4620, 3750, 487, 539, 2801, 471, 542, 2804, 515, 2806, + 2807, 3107, 3108, 539, 539, 539, 542, 542, 542, 229, + 539, 4067, 3118, 542, 540, 155, 539, 4306, 539, 542, + 315, 542, 3128, 3893, 3130, 3895, 312, 174, 168, 155, + 287, 288, 289, 290, 174, 467, 539, 294, 295, 542, + 312, 539, 168, 300, 542, 4641, 515, 315, 174, 4848, + 6145, 227, 671, 50, 539, 3260, 4855, 542, 229, 515, + 6162, 4860, 6487, 3169, 4863, 3171, 3263, 3173, 3265, 3266, + 314, 1243, 4171, 179, 539, 539, 4641, 542, 542, 542, + 3917, 539, 3815, 223, 542, 531, 539, 539, 3821, 542, + 542, 442, 539, 444, 137, 542, 139, 223, 4371, 539, + 3206, 4374, 542, 4178, 4377, 539, 539, 538, 542, 542, + 3108, 495, 539, 497, 3399, 542, 256, 344, 539, 539, + 3127, 542, 542, 166, 5878, 539, 539, 484, 542, 542, + 256, 3893, 539, 3895, 539, 542, 539, 542, 314, 542, + 539, 538, 538, 542, 539, 764, 765, 542, 4046, 3908, + 495, 3910, 497, 4233, 3260, 3261, 39, 3263, 539, 3265, + 3266, 542, 3268, 137, 495, 139, 497, 227, 308, 3275, + 5253, 5254, 61, 539, 3280, 6277, 542, 4230, 318, 4232, + 539, 6283, 308, 542, 538, 3332, 539, 10, 231, 542, + 13, 539, 318, 541, 17, 18, 19, 539, 539, 539, + 457, 542, 542, 539, 4279, 539, 542, 3935, 542, 539, + 539, 539, 469, 542, 542, 3977, 180, 539, 539, 5260, + 542, 542, 3507, 225, 3330, 3331, 3332, 539, 539, 3335, + 542, 542, 539, 539, 3381, 542, 542, 3343, 3344, 3345, + 3346, 4316, 225, 4971, 287, 288, 289, 290, 539, 539, + 541, 294, 542, 3359, 314, 538, 3362, 300, 3364, 539, + 539, 10, 542, 542, 13, 6164, 540, 538, 17, 18, + 19, 3377, 3378, 499, 4007, 3381, 4009, 539, 4011, 4837, + 542, 4839, 526, 527, 528, 529, 530, 531, 532, 533, + 534, 538, 4266, 3399, 4268, 3401, 538, 3403, 47, 3405, + 56, 3108, 370, 4062, 4032, 54, 6408, 1497, 204, 1499, + 160, 540, 931, 4936, 933, 538, 160, 4416, 3424, 4418, + 312, 3427, 204, 370, 312, 3431, 160, 467, 160, 204, + 160, 80, 312, 174, 370, 160, 254, 124, 3485, 4130, + 475, 467, 312, 5142, 538, 4444, 3452, 103, 304, 539, + 526, 527, 528, 529, 530, 531, 532, 533, 534, 174, + 74, 295, 40, 295, 538, 499, 312, 295, 50, 50, + 295, 27, 128, 4164, 460, 295, 3482, 33, 93, 3485, + 3486, 328, 0, 487, 3490, 3491, 3492, 3493, 89, 4445, + 3537, 147, 4665, 3499, 487, 174, 536, 153, 3504, 539, + 540, 455, 351, 4344, 227, 160, 4318, 160, 3432, 3433, + 3434, 538, 160, 3519, 457, 4388, 160, 4208, 499, 175, + 160, 160, 78, 179, 542, 4216, 469, 3533, 160, 160, + 160, 3537, 160, 160, 3540, 3541, 160, 3543, 194, 174, + 160, 160, 160, 160, 1616, 312, 437, 160, 538, 40, + 199, 254, 174, 3260, 312, 204, 3263, 302, 3265, 3266, + 538, 538, 174, 538, 174, 4514, 526, 527, 528, 529, + 530, 531, 532, 533, 534, 538, 324, 538, 3584, 135, + 538, 538, 538, 101, 3482, 538, 142, 3485, 5552, 538, + 146, 314, 538, 538, 538, 496, 538, 538, 538, 538, + 538, 538, 3608, 3609, 538, 538, 255, 6406, 538, 538, + 538, 538, 4524, 538, 3452, 538, 538, 538, 538, 175, + 538, 538, 538, 538, 538, 538, 5325, 538, 538, 538, + 169, 225, 40, 105, 542, 3533, 5577, 155, 3644, 542, + 40, 39, 538, 3541, 300, 254, 3652, 5346, 448, 448, + 168, 536, 536, 450, 180, 211, 174, 450, 450, 538, + 450, 542, 180, 4536, 174, 314, 308, 5608, 186, 174, + 306, 189, 405, 70, 450, 193, 450, 450, 392, 486, + 450, 5380, 392, 540, 450, 450, 392, 256, 450, 1208, + 81, 450, 528, 450, 392, 94, 3702, 160, 4697, 251, + 356, 312, 397, 3888, 450, 223, 130, 450, 300, 74, + 450, 474, 440, 312, 387, 80, 306, 333, 197, 538, + 3726, 450, 538, 5188, 450, 94, 130, 542, 328, 94, + 3736, 204, 160, 475, 4690, 291, 475, 450, 256, 295, + 130, 450, 450, 450, 116, 450, 450, 130, 450, 450, + 306, 450, 61, 450, 61, 279, 1275, 122, 450, 124, + 316, 410, 450, 316, 450, 450, 450, 355, 355, 450, + 355, 1843, 328, 450, 440, 3482, 1295, 49, 3485, 333, + 450, 450, 1854, 333, 227, 150, 450, 542, 450, 543, + 308, 227, 539, 312, 312, 227, 227, 227, 1870, 312, + 318, 227, 227, 526, 527, 528, 529, 530, 531, 532, + 533, 534, 227, 227, 370, 227, 450, 373, 374, 184, + 538, 40, 460, 160, 312, 160, 3533, 5526, 295, 122, + 475, 160, 160, 160, 3541, 1354, 486, 312, 295, 3845, + 262, 295, 295, 40, 174, 3851, 40, 538, 213, 405, + 246, 394, 1924, 304, 160, 538, 3862, 160, 0, 160, + 378, 160, 538, 180, 450, 299, 491, 1939, 517, 475, + 1942, 1943, 475, 538, 279, 13, 539, 526, 527, 528, + 529, 530, 531, 532, 533, 534, 279, 538, 542, 450, + 323, 538, 189, 3899, 3900, 3901, 542, 538, 396, 197, + 277, 1973, 1974, 45, 452, 197, 5605, 536, 515, 492, + 3916, 515, 4887, 539, 408, 223, 539, 243, 539, 437, + 475, 313, 478, 40, 3930, 61, 4585, 4586, 475, 486, + 295, 539, 321, 392, 539, 300, 300, 539, 300, 300, + 174, 539, 3948, 3949, 3950, 542, 542, 538, 3954, 467, + 450, 450, 300, 450, 5127, 312, 50, 312, 538, 101, + 3966, 1480, 1481, 538, 1483, 414, 243, 4800, 300, 243, + 295, 254, 254, 254, 492, 440, 494, 495, 387, 273, + 5510, 312, 450, 348, 4870, 130, 204, 405, 312, 312, + 312, 542, 370, 542, 495, 198, 402, 318, 516, 364, + 450, 359, 450, 539, 40, 4961, 227, 246, 354, 475, + 160, 475, 528, 155, 174, 306, 4022, 487, 536, 40, + 176, 539, 540, 541, 538, 438, 168, 402, 160, 538, + 4036, 160, 174, 160, 475, 355, 306, 495, 180, 295, + 4046, 40, 295, 312, 186, 2117, 4679, 189, 29, 4682, + 312, 193, 306, 4059, 246, 3962, 4684, 4685, 4686, 4687, + 4688, 195, 195, 174, 40, 175, 246, 174, 402, 4214, + 312, 295, 4078, 204, 5773, 61, 204, 4710, 204, 204, + 4086, 223, 4088, 225, 204, 180, 542, 542, 499, 276, + 542, 3998, 538, 495, 450, 4786, 4102, 542, 312, 304, + 4106, 4107, 4108, 468, 542, 180, 180, 4113, 318, 516, + 4116, 378, 539, 4119, 256, 324, 539, 480, 539, 4125, + 5668, 4127, 539, 542, 4130, 137, 542, 334, 3966, 4135, + 4136, 4137, 4138, 180, 515, 4141, 4142, 4143, 4144, 4145, + 4146, 4147, 4148, 4149, 4150, 539, 294, 542, 4154, 4155, + 4156, 539, 539, 539, 450, 539, 538, 542, 4164, 539, + 539, 4208, 538, 4169, 538, 4212, 308, 4173, 539, 539, + 312, 269, 539, 539, 542, 4181, 318, 492, 4184, 538, + 4186, 519, 180, 189, 538, 538, 537, 537, 5887, 473, + 539, 538, 264, 538, 538, 481, 4202, 492, 312, 4205, + 4206, 542, 4208, 61, 518, 4211, 4212, 312, 4046, 528, + 4216, 315, 4218, 4219, 5087, 312, 160, 450, 450, 450, + 4873, 4227, 4228, 4229, 217, 163, 295, 300, 450, 160, + 209, 211, 4417, 538, 538, 425, 378, 405, 538, 397, + 160, 4247, 4248, 4249, 4250, 4251, 160, 4253, 4254, 254, + 397, 4257, 209, 397, 4239, 4261, 163, 312, 475, 4265, + 4445, 450, 528, 163, 492, 4271, 6207, 6208, 392, 256, + 6211, 335, 335, 4932, 472, 163, 450, 450, 450, 422, + 450, 266, 266, 266, 4917, 450, 450, 450, 450, 392, + 392, 433, 4298, 450, 130, 5994, 4239, 4239, 4222, 4223, + 4224, 4225, 392, 392, 450, 295, 405, 4313, 4239, 4315, + 450, 160, 4239, 450, 49, 450, 49, 227, 227, 539, + 450, 192, 316, 539, 539, 467, 537, 539, 3, 542, + 174, 1487, 4239, 539, 50, 115, 174, 5802, 460, 539, + 542, 4974, 4975, 538, 40, 160, 539, 160, 174, 450, + 492, 528, 494, 495, 306, 192, 538, 475, 160, 475, + 392, 392, 392, 4261, 4370, 4371, 4372, 4265, 4374, 392, + 5107, 4377, 392, 4379, 516, 542, 402, 158, 5037, 158, + 227, 227, 227, 536, 227, 227, 227, 227, 5300, 149, + 468, 468, 4398, 227, 227, 312, 231, 539, 539, 541, + 542, 312, 61, 13, 312, 324, 312, 486, 180, 294, + 230, 230, 439, 61, 319, 193, 539, 538, 5046, 5047, + 539, 5049, 447, 5335, 40, 537, 539, 542, 322, 378, + 539, 539, 480, 539, 92, 174, 5069, 5070, 460, 40, + 475, 475, 542, 539, 217, 246, 539, 4453, 64, 450, + 538, 4636, 10, 539, 538, 13, 538, 61, 440, 5458, + 160, 475, 88, 6162, 422, 184, 163, 397, 460, 392, + 1989, 392, 4370, 450, 539, 450, 5135, 450, 450, 450, + 539, 539, 538, 370, 100, 495, 538, 61, 174, 47, + 440, 312, 481, 80, 160, 115, 54, 460, 4459, 6127, + 539, 227, 227, 4509, 227, 227, 243, 212, 450, 538, + 4471, 499, 312, 40, 538, 333, 309, 2036, 312, 538, + 3, 539, 80, 538, 460, 542, 542, 46, 450, 542, + 538, 186, 539, 5340, 402, 187, 4542, 115, 180, 227, + 147, 244, 539, 244, 539, 300, 300, 300, 164, 300, + 4556, 2070, 4558, 180, 4261, 61, 493, 324, 4265, 493, + 4566, 0, 333, 230, 542, 539, 4572, 5200, 494, 539, + 5203, 5204, 539, 539, 539, 2094, 538, 4583, 6277, 539, + 5705, 542, 5707, 538, 6283, 201, 447, 538, 306, 528, + 5223, 495, 4598, 460, 305, 153, 450, 4603, 4604, 180, + 211, 80, 495, 198, 198, 4611, 300, 542, 40, 300, + 528, 61, 440, 542, 4620, 542, 74, 160, 450, 450, + 450, 163, 227, 450, 4630, 129, 539, 182, 122, 40, + 246, 291, 204, 306, 402, 251, 4642, 4643, 40, 538, + 538, 199, 295, 176, 402, 306, 204, 495, 4654, 61, + 475, 86, 440, 40, 180, 312, 495, 538, 174, 4665, + 4666, 365, 101, 4370, 542, 214, 315, 5487, 225, 539, + 539, 180, 480, 539, 538, 419, 539, 4683, 61, 295, + 5853, 395, 40, 83, 539, 538, 5716, 538, 4873, 94, + 5318, 138, 205, 312, 450, 324, 40, 255, 160, 160, + 450, 5329, 174, 40, 300, 4603, 4604, 267, 211, 6408, + 539, 475, 402, 329, 538, 538, 155, 4723, 160, 115, + 40, 538, 4629, 539, 316, 539, 180, 539, 5381, 168, + 5903, 2803, 538, 538, 4740, 174, 539, 2809, 417, 538, + 538, 180, 538, 538, 174, 460, 538, 186, 539, 5408, + 189, 40, 4758, 417, 193, 539, 314, 542, 374, 312, + 5716, 114, 539, 379, 208, 539, 5419, 542, 538, 538, + 2289, 40, 388, 538, 480, 37, 542, 5950, 5951, 538, + 4786, 397, 364, 4789, 223, 2857, 440, 2684, 197, 405, + 538, 4797, 4798, 475, 174, 440, 538, 312, 539, 4805, + 4806, 22, 418, 209, 4810, 6, 167, 28, 538, 4815, + 499, 427, 4818, 388, 4820, 388, 432, 256, 74, 315, + 4826, 74, 138, 495, 4830, 4831, 4832, 4833, 5827, 541, + 495, 10, 143, 479, 13, 491, 312, 453, 17, 18, + 19, 539, 4848, 152, 480, 4851, 539, 171, 171, 4855, + 334, 40, 410, 538, 4860, 542, 446, 4863, 4864, 405, + 4866, 538, 4868, 446, 5863, 4871, 180, 4873, 47, 308, + 268, 440, 300, 312, 490, 54, 440, 402, 494, 318, + 4886, 312, 40, 312, 4890, 40, 4892, 538, 315, 315, + 205, 538, 5583, 159, 182, 182, 4603, 4604, 538, 499, + 10, 80, 4908, 13, 357, 357, 5597, 387, 499, 156, + 61, 61, 5942, 4908, 83, 319, 40, 2073, 2074, 61, + 371, 539, 61, 538, 127, 473, 450, 539, 5619, 6, + 4936, 4937, 2088, 402, 143, 5626, 538, 47, 499, 378, + 5939, 2097, 312, 499, 54, 312, 4952, 6120, 37, 538, + 4848, 539, 300, 538, 296, 296, 405, 4855, 538, 517, + 26, 312, 4860, 387, 320, 4863, 542, 5959, 391, 391, + 80, 529, 530, 531, 532, 533, 534, 4884, 4885, 542, + 387, 83, 481, 450, 538, 180, 538, 428, 5616, 152, + 428, 542, 480, 159, 4955, 3067, 417, 417, 437, 539, + 122, 319, 495, 481, 495, 4966, 336, 539, 182, 5700, + 5701, 182, 5018, 83, 480, 475, 538, 538, 538, 5025, + 199, 539, 5655, 5536, 1718, 204, 6199, 6200, 467, 1020, + 933, 3445, 973, 2892, 4391, 2983, 3660, 4416, 6111, 3010, + 5702, 3064, 5048, 153, 3879, 5461, 64, 5939, 227, 228, + 1019, 6251, 4583, 492, 5716, 494, 495, 5063, 5510, 4389, + 4389, 1413, 5096, 5486, 3647, 3585, 6239, 5734, 6339, 6240, + 4949, 5380, 6340, 5969, 5968, 6131, 255, 516, 5711, 6277, + 5142, 5709, 100, 3653, 4604, 4630, 4615, 5912, 5094, 199, + 4573, 3078, 3078, 4411, 204, 3927, 3685, 536, 4599, 1015, + 539, 540, 541, 5136, 5493, 5111, 3971, 4667, 5814, 6365, + 6501, 6476, 5118, 5477, 3887, 6143, 5421, 4638, 1878, 298, + 5687, 5127, 5424, 18, 28, 4694, 667, 4036, 5653, 6361, + 4697, 2650, 3094, 2749, 1922, 314, 5142, 3563, 4641, 1919, + 3982, 4848, 1933, 5536, 1236, 255, 164, 5802, 4855, 5155, + 3819, 5157, 1957, 4860, 719, 752, 4863, 4864, 3009, 4444, + 3736, 6169, 6412, 862, 4671, 2684, 3040, 4673, 2691, 6335, + 1831, 6077, 1532, 4313, 4886, 3247, 5648, 5183, 5651, 1429, + 5871, 40, 5873, 201, 40, 1386, 4740, 3504, 5194, 3519, + 3262, 2701, 5825, 6070, 5875, 3267, 5381, 3485, 4249, 4267, + 1490, 1489, 5326, 1492, 314, 3482, 5605, 5604, 4314, 3482, + 2729, 3108, 6389, 5419, 6064, 6212, 5862, 3482, 6428, 1446, + 5581, 6251, 5407, 4173, 2595, 5876, 3298, 3422, 5877, 2596, + 2090, 410, 3276, 251, 5419, 3039, 3402, 5826, 6430, 3392, + 3313, 5247, 4105, 6, 5142, 921, 2601, 5154, 2689, -1, + -1, 5257, 5905, -1, 5260, -1, -1, 5263, 5264, 5265, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 10, 295, -1, 13, + 5942, -1, 5288, 5289, -1, -1, -1, 5293, 51, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 410, -1, -1, -1, -1, 5311, -1, -1, -1, 5315, + -1, 329, -1, 47, -1, 5321, -1, -1, -1, 5325, + 54, 5418, -1, 5329, -1, -1, 5332, -1, 5334, -1, + -1, -1, -1, -1, 5340, -1, -1, -1, 517, -1, + 5346, -1, -1, 5349, -1, -1, 80, 526, 527, 528, + 529, 530, 531, 532, 533, 534, 374, -1, 376, -1, + -1, 379, -1, -1, -1, -1, 5463, -1, -1, 5338, + 388, -1, -1, -1, 5380, 5381, 5382, 27, 5384, 397, + 5386, -1, -1, 33, -1, -1, -1, 405, -1, -1, + -1, -1, -1, 10, -1, -1, 13, -1, -1, -1, + 418, -1, -1, -1, 5111, -1, -1, 517, -1, 427, + -1, -1, 5418, 5419, 432, -1, 6415, -1, -1, 529, + 530, 531, 532, 533, 534, -1, -1, 5325, 78, -1, + 47, 6455, -1, -1, 197, 5142, -1, 54, -1, -1, + -1, -1, -1, 206, 207, -1, -1, -1, 5346, 6111, + -1, 214, -1, 216, 217, -1, -1, 5463, -1, -1, + -1, 10, -1, 80, 13, 199, -1, 230, -1, -1, + 204, 5477, 490, -1, -1, -1, 5482, 6476, -1, -1, + -1, 5487, 5380, -1, -1, 135, -1, -1, -1, -1, + 5496, -1, 142, -1, -1, -1, 146, -1, 47, -1, + 5506, -1, 6501, -1, 5510, 54, -1, 5513, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 5524, 5525, + 5526, 255, -1, -1, -1, 175, -1, -1, -1, -1, + -1, 80, -1, 3605, -1, -1, 153, 5536, 5536, -1, + 5536, 3613, 5536, 5536, 5536, 2701, 5536, 5536, 5536, 5536, + 5536, 5536, 5536, -1, 5560, -1, 5536, -1, 779, -1, + 781, 211, 783, -1, -1, 6477, -1, -1, 789, 790, + 791, 5577, -1, -1, -1, 5581, -1, 5583, -1, 5626, + 314, -1, 199, -1, 5491, 3482, -1, 204, 3485, 6251, + -1, 5597, -1, 5536, 5536, -1, -1, -1, -1, 5605, + 6233, -1, 5608, -1, 153, 5536, 5612, -1, 3127, 5536, + -1, 6348, 6349, 5619, -1, 5522, -1, -1, 5325, -1, + 5626, -1, -1, -1, -1, -1, -1, -1, 5526, 5536, + -1, -1, -1, -1, -1, -1, 3533, -1, 255, 5346, + -1, 291, -1, -1, 3541, 295, 3718, -1, 3720, -1, + 199, -1, -1, -1, 6345, 204, 306, -1, -1, -1, + -1, -1, -1, 5669, -1, -1, 316, -1, -1, -1, + -1, -1, 5678, 5380, -1, -1, 410, -1, 328, -1, + -1, -1, -1, -1, -1, -1, -1, 5525, 5694, -1, + -1, -1, -1, -1, 5700, 5701, -1, 314, -1, 5705, + 5706, 5707, 5708, 6394, -1, -1, 255, 5605, -1, -1, + -1, 5418, -1, -1, -1, -1, -1, -1, -1, -1, + 5905, -1, -1, 373, 374, -1, -1, -1, -1, -1, + 5736, -1, -1, -1, -1, -1, -1, -1, -1, 5745, + -1, -1, -1, -1, 3816, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 405, 5463, -1, -1, -1, + 981, -1, -1, -1, 5770, 314, -1, 5773, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 517, -1, -1, -1, -1, 3860, -1, + -1, -1, 5798, 410, -1, 529, 530, 531, 532, 533, + 534, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 3332, -1, -1, -1, -1, -1, 5526, + 5826, -1, -1, -1, -1, -1, -1, -1, 478, -1, + 1051, -1, 5838, -1, -1, -1, -1, -1, -1, -1, -1, 5847, 5848, 5849, -1, -1, -1, 5853, -1, -1, - -1, -1, -1, 5859, 3747, -1, 5862, 5522, -1, -1, - -1, -1, -1, -1, 256, 5871, -1, 5873, -1, 5875, - 5876, 5536, -1, -1, -1, 5773, -1, -1, -1, -1, - -1, 5887, 5775, -1, 10, -1, -1, 13, 5894, -1, - -1, -1, -1, -1, -1, -1, -1, 5903, -1, 5905, - -1, -1, 410, 5909, -1, 3329, 3330, -1, 5914, 6101, - 3334, -1, -1, -1, -1, -1, 308, 6162, -1, -1, - 312, 47, 10, -1, 3817, 13, 318, -1, 54, 17, - 18, 19, -1, -1, -1, -1, -1, -1, -1, -1, - 6277, -1, -1, -1, 5950, 5951, 6283, -1, -1, -1, - -1, -1, 3376, 3377, 80, -1, -1, -1, -1, 47, - -1, 5626, -1, -1, -1, -1, 54, -1, -1, -1, - -1, -1, 3865, -1, 5980, -1, -1, -1, 6170, 6171, - -1, -1, -1, -1, 3877, 3878, 378, -1, 5994, 5887, - -1, 5884, 80, -1, 3887, -1, -1, -1, -1, 3892, - -1, 3894, 5684, -1, -1, -1, -1, 5689, 5690, 517, - -1, -1, -1, -1, -1, -1, -1, -1, 526, 527, - 528, 529, 530, 531, 532, 533, 534, 153, -1, -1, - -1, -1, 6277, -1, -1, 543, -1, -1, 6283, 6045, - -1, 433, -1, -1, -1, -1, -1, 3940, -1, -1, - -1, -1, -1, -1, 6060, -1, -1, -1, 6064, -1, - -1, -1, -1, -1, 6070, -1, -1, -1, -1, -1, - -1, 6408, 6078, 199, -1, 467, 6082, -1, 204, -1, - -1, -1, 3975, 3976, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 5859, -1, -1, 5862, -1, -1, -1, + -1, 410, 3381, -1, -1, 5871, -1, 5873, 5775, 5875, + 5876, -1, -1, -1, -1, 5773, -1, -1, -1, -1, + -1, 5887, -1, -1, 3956, 3404, -1, -1, 5894, -1, + -1, -1, -1, -1, -1, -1, -1, 5903, 5605, 5905, + 517, 3420, 665, 5909, -1, -1, -1, -1, 5914, -1, + -1, -1, 529, 530, 531, 532, 533, 534, -1, -1, + -1, 684, -1, -1, -1, -1, -1, 690, 4000, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 702, + -1, -1, -1, -1, 5950, 5951, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 718, -1, -1, -1, -1, + 723, -1, -1, 3482, -1, 728, 3485, -1, 517, 732, + 733, -1, -1, -1, 5980, -1, 739, 5884, 741, 742, + 529, 530, 531, 532, 533, 534, -1, -1, 5994, 5887, + -1, 754, 755, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 765, -1, 6101, -1, -1, -1, -1, 4081, + -1, -1, -1, -1, 3533, -1, -1, -1, 3537, -1, + -1, -1, 3541, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 5745, 6045, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 6060, 818, -1, -1, 6064, -1, + -1, -1, 4134, -1, 6070, -1, 5773, -1, -1, -1, + -1, -1, 6078, 6170, 6171, -1, 6082, -1, 841, 842, + -1, -1, -1, -1, 847, -1, -1, 4159, -1, -1, -1, -1, -1, -1, -1, 6101, 5994, -1, -1, -1, - 492, -1, 494, 495, -1, -1, -1, 6113, 5773, -1, - 5775, 199, -1, -1, 6120, -1, 204, -1, -1, -1, - -1, 5803, -1, -1, 516, -1, -1, -1, -1, 255, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 6145, - -1, -1, -1, -1, -1, -1, 6152, 539, -1, 541, - 542, -1, -1, -1, -1, -1, 6162, -1, -1, -1, - -1, -1, -1, 6408, 6170, 6171, 6172, 255, -1, -1, - 6176, -1, 10, -1, -1, 13, -1, -1, -1, -1, - -1, -1, -1, -1, 5866, -1, -1, -1, 314, -1, - 6169, -1, 665, 6199, 6200, 6201, -1, -1, -1, -1, - -1, 6207, 6208, -1, -1, 6211, 684, -1, 6214, 47, - -1, 684, 690, -1, -1, -1, 54, 690, -1, 5884, - 6169, -1, -1, -1, 702, -1, 314, -1, -1, 702, - 6169, -1, -1, 6239, -1, 2683, -1, -1, 6169, 6245, - -1, 6287, 80, -1, -1, 718, -1, -1, -1, -1, - 723, 6144, -1, -1, -1, 728, -1, -1, -1, 732, - 733, -1, -1, -1, 6162, -1, 739, -1, 741, 742, - -1, 6277, 6278, 6279, -1, -1, 6169, 6283, -1, -1, - -1, 754, 755, -1, 410, -1, -1, 4180, -1, -1, - -1, -1, 765, -1, -1, 6301, -1, 6489, 6490, -1, - -1, -1, 6308, -1, -1, -1, -1, -1, 6287, -1, - 6316, -1, -1, -1, 22, 153, -1, -1, 6324, -1, - 28, -1, 410, -1, 6330, -1, -1, -1, -1, 6335, - -1, -1, -1, -1, -1, -1, -1, -1, 6287, 6345, - -1, -1, -1, -1, -1, 818, -1, -1, 6287, -1, - -1, -1, 2800, -1, -1, 2803, 6287, 2805, 2806, -1, - -1, 199, -1, -1, -1, -1, 204, 840, 841, -1, - -1, -1, -1, 846, -1, 6381, 6382, 6383, 6384, 6277, - -1, -1, -1, 6389, -1, 6283, 10, -1, 6394, 13, - -1, 517, -1, -1, 6287, -1, -1, -1, 871, 6405, - 873, -1, 6408, 529, 530, 531, 532, 533, 534, -1, - -1, -1, -1, -1, -1, -1, -1, 255, -1, -1, - -1, -1, 6428, 47, 897, -1, -1, -1, -1, 517, - 54, -1, -1, 6412, -1, -1, -1, -1, 526, 527, - 528, 529, 530, 531, 532, 533, 534, 920, -1, 6455, - 6456, -1, -1, -1, -1, -1, 80, -1, -1, -1, - 933, -1, -1, 6412, -1, -1, 6472, -1, -1, -1, - -1, -1, -1, 6412, -1, -1, 314, -1, -1, 6144, - 40, 6412, -1, 6489, 6490, -1, -1, 6493, -1, 6495, - -1, 27, -1, -1, -1, -1, -1, 33, -1, -1, - -1, -1, 62, -1, 6169, -1, 6512, -1, -1, -1, - 6408, -1, 48, -1, -1, -1, -1, -1, -1, 6412, - -1, -1, -1, -1, 4417, -1, -1, -1, 88, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 78, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 4445, -1, 114, 115, -1, -1, -1, -1, - -1, -1, 122, -1, -1, -1, -1, 4460, 1041, 1042, - 1043, 4464, 410, 4466, -1, 199, -1, 1050, -1, -1, - 204, -1, 1055, -1, -1, -1, -1, 1060, 1061, -1, - -1, -1, 1065, -1, 1067, -1, -1, 133, 1071, 135, - -1, -1, 162, -1, -1, -1, 142, -1, -1, -1, - 146, -1, -1, -1, 1087, -1, -1, -1, -1, 4512, - -1, -1, 6287, -1, 184, -1, -1, -1, -1, 10, - -1, 255, 13, -1, -1, 4528, 17, 18, 19, 175, - 4533, -1, -1, -1, -1, -1, -1, 207, -1, -1, - -1, -1, -1, -1, -1, -1, 37, -1, 1131, 3107, - 1133, 1134, -1, -1, -1, -1, 47, -1, -1, -1, - -1, -1, -1, 54, -1, 211, -1, -1, -1, 517, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 4113, - 314, 529, 530, 531, 532, 533, 534, -1, -1, 80, - -1, 1174, -1, -1, -1, 265, 6388, -1, -1, -1, - 270, 4135, 4136, 4137, 4138, 275, -1, 4141, 4142, 4143, - 4144, 4145, 4146, 4147, 4148, 4149, 4150, -1, -1, 1202, - -1, 291, -1, -1, -1, 295, -1, -1, -1, -1, - 4633, -1, 27, 4636, -1, 4169, -1, 6412, 33, -1, - -1, -1, 40, -1, -1, 291, -1, -1, -1, 295, - -1, -1, 1235, 48, -1, -1, -1, 327, -1, -1, - 306, 1244, -1, 1246, -1, -1, 64, -1, -1, -1, - 316, 4205, 4206, -1, -1, -1, 410, -1, -1, -1, - 1263, -1, 328, 78, -1, 1268, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 1280, -1, -1, - -1, 3259, 100, -1, 3262, 375, 3264, 3265, 199, 4712, - 4713, 4714, 4715, 204, 4717, 4718, 4719, 4720, 4721, 4253, - -1, -1, -1, -1, 370, -1, -1, 373, 374, 399, - -1, -1, -1, -1, -1, -1, 227, 228, 133, 1322, - 135, -1, -1, -1, -1, -1, -1, 142, -1, -1, - 420, 146, 422, -1, -1, 425, -1, -1, -1, 405, - -1, -1, -1, -1, 255, -1, 164, -1, 1351, 1352, - 1353, -1, 1355, -1, -1, -1, -1, -1, -1, -1, - 175, -1, -1, 517, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 1376, -1, 529, 530, 531, 532, 533, - 534, 471, -1, 201, -1, -1, -1, 298, -1, 0, - -1, -1, -1, -1, -1, -1, 211, -1, -1, -1, - 1403, -1, -1, 314, -1, -1, 317, -1, 1411, 1412, - -1, 22, 478, -1, -1, 4838, -1, 4840, -1, -1, - -1, -1, 33, -1, 35, 36, -1, -1, 246, -1, - -1, -1, 1435, 251, -1, -1, -1, -1, -1, -1, - -1, -1, 53, -1, -1, -1, -1, -1, 538, -1, - -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, - -1, 1464, -1, -1, 75, -1, 77, 78, -1, -1, - -1, -1, -1, 84, -1, 86, 291, 295, 1481, -1, - 295, -1, 1485, 1486, -1, -1, -1, -1, 99, -1, - 101, 306, -1, -1, -1, -1, -1, -1, 1501, 410, - -1, 316, -1, 3481, 1507, -1, 3484, 118, -1, -1, - 121, 329, -1, 328, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 136, -1, 138, -1, -1, - -1, 142, -1, -1, -1, -1, -1, -1, 149, -1, - -1, 779, -1, 781, -1, 783, -1, -1, 159, -1, - 161, 789, 790, 791, 3532, 370, 374, 168, 373, 374, - -1, 379, 3540, -1, -1, -1, -1, -1, -1, -1, - 388, 1574, -1, -1, -1, 186, -1, -1, -1, 397, - -1, -1, -1, -1, -1, -1, -1, 405, -1, -1, - 405, -1, 203, -1, -1, -1, -1, -1, -1, -1, - 418, -1, -1, -1, 4558, -1, 517, -1, -1, 427, - -1, -1, 1615, -1, 432, 526, 527, 528, 529, 530, - 531, 532, 533, 534, -1, -1, -1, -1, 539, -1, - -1, 542, -1, -1, -1, 453, -1, -1, -1, -1, - -1, -1, -1, 5066, 5067, 1648, 257, 258, -1, -1, - -1, -1, 263, -1, -1, -1, 5079, -1, 5081, 5082, - 5083, -1, -1, 478, -1, -1, -1, 278, -1, -1, - -1, -1, 490, -1, -1, -1, 494, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 297, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 27, -1, - -1, -1, -1, -1, 33, -1, -1, 1715, -1, -1, - -1, -1, 1715, -1, -1, -1, -1, -1, -1, 48, - -1, -1, -1, -1, -1, 5148, -1, 1730, 1731, 1732, - 10, -1, -1, 13, -1, 346, -1, 17, 18, 19, - -1, -1, 980, -1, -1, -1, -1, -1, -1, 78, - 361, -1, -1, -1, -1, 366, 367, 37, 369, -1, - -1, -1, -1, 374, 5187, -1, -1, 47, -1, 380, - -1, -1, 383, -1, 54, -1, -1, -1, -1, 390, - -1, -1, -1, -1, -1, -1, 397, 398, -1, -1, - -1, -1, -1, -1, 405, -1, -1, -1, 409, -1, - 80, -1, -1, -1, -1, -1, 135, 5230, -1, 420, - -1, -1, 1050, 142, -1, -1, -1, 146, -1, -1, - -1, -1, -1, -1, -1, -1, 437, 1830, -1, -1, - -1, -1, -1, -1, -1, 4789, -1, -1, -1, 1842, - -1, -1, -1, -1, -1, -1, 175, 458, -1, -1, - 1853, -1, -1, -1, -1, -1, -1, -1, -1, 470, - -1, -1, 1865, -1, -1, 476, 1869, -1, -1, -1, - 481, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 1888, -1, 211, -1, 495, 1888, -1, -1, 1896, -1, - -1, -1, -1, 1896, -1, -1, 1904, -1, -1, -1, - -1, 1904, -1, -1, -1, -1, -1, -1, 519, -1, - 521, 522, 523, 524, 525, -1, -1, -1, -1, 199, - 1923, -1, -1, -1, 204, -1, -1, 538, -1, 1932, - 541, -1, 1935, -1, -1, 1938, -1, -1, 1941, 1942, - -1, 1949, 1945, 1946, -1, 1948, 1949, 227, 228, -1, - -1, -1, -1, -1, -1, -1, -1, 1960, -1, 1962, - 1963, -1, 291, -1, -1, -1, 295, -1, 1976, 1972, - 1973, -1, 1975, 1976, -1, 255, -1, 306, -1, -1, - -1, -1, 10, -1, 5407, 13, -1, 316, -1, 17, - 18, 19, -1, -1, -1, -1, -1, -1, -1, 328, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, - 2013, -1, -1, -1, 2017, 2018, -1, -1, 298, 47, - -1, -1, -1, -1, -1, -1, 54, -1, -1, -1, - 5453, -1, -1, -1, 314, -1, -1, 317, -1, 5462, - -1, 370, -1, -1, 373, 374, -1, -1, -1, 2052, - -1, 2054, 80, -1, -1, -1, 2059, 2060, -1, -1, - -1, -1, -1, 2066, 2067, 2068, 2069, 2070, 2071, 2072, - 2073, 2074, 2075, 2076, 2077, 2078, 405, -1, -1, 2082, - -1, 2084, -1, 2086, 2087, 2088, 2089, 2090, 2091, -1, - -1, 2094, -1, 2096, 2097, -1, -1, 2100, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 64, -1, - -1, -1, -1, 2116, 2117, 2118, 2119, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 6113, -1, 872, + -1, 874, -1, -1, 6120, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 898, -1, -1, -1, 6145, + -1, -1, -1, -1, 10, -1, 6152, 13, -1, -1, + -1, 17, 18, 19, -1, -1, 6162, -1, 921, -1, + -1, -1, -1, -1, 6170, 6171, 6172, -1, -1, -1, + 6176, 934, -1, -1, 3330, 3331, -1, -1, -1, 3335, + 5887, 47, -1, -1, -1, -1, 1407, -1, 54, -1, + -1, 1412, 1413, 6199, 6200, 6201, -1, -1, -1, -1, + -1, 6207, 6208, -1, -1, 6211, -1, -1, 6214, -1, + -1, -1, -1, -1, 80, -1, -1, -1, -1, 1440, + -1, 3377, 3378, -1, -1, -1, 6169, 6169, 1449, -1, + 1451, -1, -1, 6239, 1455, -1, -1, 6144, 6169, 6245, + 6287, 1462, 6169, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 6169, -1, 6162, -1, -1, -1, -1, -1, + -1, 6277, 6278, 6279, -1, -1, -1, 6283, -1, 1042, + 1043, 1044, -1, -1, -1, -1, -1, 5994, 1051, -1, + -1, -1, -1, 1056, -1, 6301, -1, -1, 1061, 1062, + -1, -1, 6308, 1066, 10, 1068, -1, 13, -1, 1072, + 6316, 17, 18, 19, -1, -1, -1, -1, 6324, -1, + -1, -1, 0, -1, 6330, 1088, -1, -1, -1, 6335, + -1, 37, 1553, 199, -1, -1, -1, -1, 204, 6345, + -1, 47, 1563, -1, 6287, 6287, -1, -1, 54, -1, + -1, -1, -1, -1, -1, -1, 6287, -1, -1, -1, + 6287, 227, 228, -1, 4261, -1, -1, -1, 4265, 1132, + -1, 1134, 1135, -1, 80, 6381, 6382, 6383, 6384, 6277, + 6287, -1, -1, 6389, -1, 6283, 1607, 1608, 6394, 255, + -1, -1, 6489, 6490, 6101, -1, -1, -1, -1, 6405, + -1, -1, 6408, -1, -1, -1, -1, -1, -1, -1, + -1, 1174, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 6428, 101, -1, -1, -1, -1, -1, 1650, + -1, -1, 298, 1654, 1655, -1, -1, -1, -1, 1202, + -1, -1, -1, 3962, -1, -1, -1, -1, 314, 6455, + 6456, -1, -1, -1, -1, 6162, -1, -1, -1, -1, + -1, -1, -1, 6170, 6171, -1, 6472, -1, -1, 6412, + 6412, -1, 1235, 4370, -1, -1, -1, 155, -1, 3998, + 1243, 6412, 1245, 6489, 6490, 6412, -1, 6493, -1, 6495, + 168, -1, -1, 199, -1, -1, 174, -1, 204, 1262, + -1, -1, 180, -1, 1267, 6412, 6512, -1, 186, 10, + 6408, 189, 13, -1, -1, 193, 1279, 4589, -1, -1, + -1, 227, 228, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 410, -1, 2135, -1, 2137, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 100, -1, -1, -1, 10, 478, + -1, -1, -1, -1, 410, 223, 47, -1, -1, 255, + -1, -1, -1, 54, -1, -1, -1, -1, 1321, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 6277, -1, -1, -1, -1, -1, 6283, -1, 256, 80, + -1, -1, -1, -1, -1, -1, -1, 1350, 1351, 1352, + -1, 1354, 298, -1, 6301, -1, -1, -1, -1, -1, + -1, 10, -1, -1, 13, -1, -1, -1, 314, -1, + -1, 317, 1375, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 1848, -1, -1, + 308, -1, -1, -1, 312, -1, -1, -1, 47, -1, + 318, 1404, -1, -1, -1, 54, -1, -1, -1, 1412, + 1413, 517, 153, -1, -1, -1, -1, -1, -1, -1, + 526, 527, 528, 529, 530, 531, 532, 533, 534, -1, + -1, 80, -1, 1436, -1, -1, 6383, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 4208, + -1, -1, -1, 4212, -1, -1, -1, -1, 199, -1, + 378, 6408, 1465, 204, 410, -1, 4603, 4604, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 1482, + 4239, -1, -1, 1486, 1487, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 1502, + -1, -1, 4261, -1, 153, 1508, 4265, -1, -1, 6456, + -1, -1, -1, -1, 255, -1, -1, -1, -1, 437, + 10, -1, -1, 13, -1, 6472, -1, 17, 18, 19, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 6489, 6490, -1, -1, -1, 37, -1, 467, + 199, -1, -1, -1, -1, 204, -1, 47, -1, -1, + -1, -1, -1, -1, 54, -1, -1, -1, -1, -1, + -1, 517, 1575, 314, 492, -1, 494, 495, -1, -1, + 526, 527, 528, 529, 530, 531, 532, 533, 534, -1, + 80, -1, -1, -1, -1, -1, -1, 543, 516, -1, + -1, -1, 2063, 2064, -1, -1, 255, 4919, -1, -1, + -1, -1, -1, 1616, -1, -1, -1, -1, 536, 2080, + 2081, 539, 540, 541, -1, -1, -1, -1, 17, -1, + -1, 10, -1, -1, 13, 64, -1, 26, 17, 18, + 19, -1, -1, -1, -1, -1, 1649, -1, -1, -1, + -1, -1, 2113, -1, -1, -1, -1, -1, 37, -1, + -1, 4973, -1, -1, -1, 314, -1, -1, 47, 410, + -1, 100, -1, -1, -1, 54, -1, -1, -1, -1, + -1, -1, -1, 4995, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 80, -1, -1, -1, -1, -1, -1, -1, 199, + -1, 4848, -1, 1716, 204, -1, -1, 4113, 4855, -1, + -1, -1, -1, 4860, -1, -1, 4863, -1, 1731, 1732, + 1733, -1, -1, -1, -1, 164, -1, 227, 228, 4135, + 4136, 4137, 4138, -1, -1, 4141, 4142, 4143, 4144, 4145, + 4146, 4147, 4148, 4149, 4150, -1, 5068, -1, -1, -1, + -1, 410, -1, -1, -1, 255, -1, -1, -1, -1, + -1, -1, 201, 4169, -1, -1, 517, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 529, 530, + 531, 532, 533, 534, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 298, 4205, + 4206, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 199, -1, 251, -1, 314, 204, -1, 317, 1831, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 1843, -1, -1, -1, 4603, -1, -1, -1, 227, 228, + -1, 1854, -1, -1, -1, -1, -1, 4253, -1, -1, + -1, -1, 291, 1866, -1, -1, 295, 1870, 517, -1, + 4629, -1, 64, -1, -1, -1, 255, -1, 5190, -1, + 529, 530, 531, 532, 533, 534, 1889, -1, -1, -1, + -1, -1, -1, -1, 1897, -1, -1, -1, -1, 328, + 329, -1, 1905, -1, -1, 207, -1, -1, 100, -1, + -1, -1, -1, -1, 216, -1, -1, -1, -1, 298, + 410, 1924, -1, -1, -1, -1, -1, -1, 230, -1, + 1933, -1, -1, 1936, -1, 314, 1939, -1, 317, 1942, + 1943, 370, -1, 1946, 1947, 374, 1949, 1950, -1, -1, + 379, -1, -1, -1, 64, -1, -1, -1, 1961, 388, + 1963, 1964, -1, -1, -1, -1, -1, -1, 397, -1, + 1973, 1974, 164, 1976, 1977, -1, 405, -1, -1, -1, + -1, -1, -1, -1, -1, 10, -1, -1, 13, 418, + 100, -1, 17, 18, 19, -1, -1, -1, 427, -1, + -1, -1, -1, 432, -1, 5142, -1, -1, -1, 201, + -1, 2014, 37, -1, -1, 2018, 2019, -1, -1, 5331, + -1, -1, 47, -1, -1, -1, -1, 517, -1, 54, + -1, 410, -1, -1, -1, -1, 526, 527, 528, 529, + 530, 531, 532, 533, 534, -1, -1, -1, -1, 539, + 2053, -1, 2055, -1, 164, 80, -1, 2060, 2061, 251, + -1, 490, -1, -1, 2067, 2068, 2069, 2070, 2071, 2072, + 2073, 2074, 2075, 2076, 2077, 2078, 2079, -1, -1, -1, + 2083, -1, 2085, -1, 2087, 2088, 2089, 2090, 2091, 2092, + -1, 201, 2095, -1, 2097, 2098, 4855, -1, 2101, 291, + -1, 4860, -1, 295, 4863, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 2117, 2118, 2119, 2120, -1, -1, + -1, -1, -1, -1, -1, 4884, 4885, -1, -1, -1, + -1, -1, -1, 2136, -1, 2138, 328, 329, 517, -1, + -1, 251, -1, -1, -1, -1, -1, 526, 527, 528, + 529, 530, 531, 532, 533, 534, -1, -1, -1, -1, + 539, -1, 4558, 542, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 199, -1, -1, 40, 370, 204, + -1, 291, 374, -1, -1, 295, -1, 379, 5325, -1, + -1, -1, -1, -1, -1, -1, 388, -1, -1, 62, + -1, -1, 227, 228, -1, 397, -1, -1, -1, 5346, + -1, 2672, 2673, 405, -1, -1, -1, 2678, 328, 329, + -1, -1, -1, -1, -1, 88, 418, -1, -1, -1, + 255, -1, -1, -1, -1, 427, -1, -1, -1, -1, + 432, -1, -1, 5380, -1, -1, -1, -1, -1, 2710, + 2711, 114, 115, -1, -1, -1, -1, -1, -1, 122, + 370, -1, -1, -1, 374, -1, -1, -1, -1, 379, + -1, -1, -1, 298, -1, -1, -1, -1, 388, 668, + -1, 2284, -1, -1, -1, -1, -1, 397, -1, 314, + -1, -1, 317, -1, -1, 405, -1, -1, 490, 162, + -1, -1, -1, -1, -1, -1, -1, -1, 418, -1, + -1, 2772, -1, -1, -1, -1, -1, 427, -1, -1, + -1, 184, 432, -1, 10, -1, -1, 13, -1, 718, + 719, 17, 18, 19, -1, 2338, -1, -1, -1, -1, + -1, -1, -1, -1, 207, -1, -1, -1, -1, -1, + -1, 37, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 47, -1, -1, -1, -1, -1, -1, 54, -1, + -1, -1, 5684, -1, -1, -1, -1, 5689, 5690, -1, + 490, -1, 684, -1, -1, 410, -1, -1, 690, 5526, + -1, -1, 2395, 4789, 80, 5154, -1, -1, -1, 2860, + 702, -1, 265, -1, -1, -1, -1, 270, -1, -1, + -1, -1, 275, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 814, -1, -1, 291, -1, + -1, -1, 295, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 835, -1, -1, -1, + -1, -1, -1, -1, 843, -1, -1, 846, 847, 848, + -1, -1, -1, -1, 327, -1, -1, -1, 5605, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 2949, -1, + -1, 5803, 517, -1, -1, -1, 2957, -1, -1, 2960, + -1, 526, 527, 528, 529, 530, 531, 532, 533, 534, + -1, 2972, 375, 199, -1, -1, -1, 542, 204, -1, + -1, 10, -1, -1, 13, -1, -1, -1, 17, 18, + 19, -1, -1, -1, -1, -1, 399, -1, -1, -1, + -1, 227, 228, -1, -1, -1, -1, -1, 37, -1, + -1, -1, -1, -1, 5866, -1, -1, 420, 47, 422, + -1, -1, 425, -1, -1, 54, 5325, -1, -1, 255, + -1, -1, -1, -1, -1, -1, -1, 2580, 2581, 2582, + 2583, 2584, 2585, 2586, 2587, 2588, -1, 2590, -1, -1, + -1, 80, -1, -1, -1, -1, -1, -1, 2601, -1, + -1, 2604, -1, -1, -1, -1, -1, -1, 471, -1, + -1, -1, 298, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 314, -1, + -1, 317, -1, -1, -1, -1, 5773, -1, -1, -1, + -1, -1, 2645, -1, -1, -1, 2649, -1, -1, 2652, + -1, 2654, -1, -1, 2657, -1, -1, -1, 2661, -1, + -1, -1, 1051, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 538, -1, 10, -1, 2682, + 13, 2684, -1, -1, 17, 18, 19, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 2701, -1, + -1, -1, -1, -1, 37, -1, -1, 2710, 2711, -1, + 199, -1, -1, -1, 47, 204, -1, -1, -1, -1, + -1, 54, -1, -1, 410, -1, -1, -1, -1, -1, + -1, -1, 5491, -1, 2737, -1, -1, -1, 227, 228, + -1, 2744, -1, -1, -1, 2748, 2749, 80, -1, -1, + 5887, -1, 2755, -1, -1, -1, 2759, -1, 3219, -1, + 2763, -1, -1, 5522, -1, -1, 255, -1, -1, 2772, + -1, -1, -1, -1, -1, -1, -1, 5536, -1, -1, + -1, -1, -1, -1, 2787, -1, -1, 2790, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 2801, -1, + 2803, 2804, -1, 2806, 2807, -1, 2809, -1, -1, 298, + -1, -1, -1, -1, -1, -1, -1, -1, 2821, -1, + -1, -1, -1, -1, -1, 314, -1, -1, 317, -1, + -1, 517, -1, -1, -1, -1, -1, -1, 2841, 2842, + 526, 527, 528, 529, 530, 531, 532, 533, 534, -1, + -1, -1, 1241, -1, 2857, -1, 542, 5994, -1, -1, + -1, -1, -1, -1, 5260, -1, 199, 5626, -1, -1, + -1, 204, -1, -1, -1, -1, 2879, 2880, 1267, -1, + 2883, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 227, 228, -1, -1, -1, -1, + -1, -1, -1, -1, 2907, -1, 2909, -1, -1, -1, + 2913, -1, -1, -1, -1, -1, -1, -1, -1, 5315, + -1, 410, 255, -1, 2927, -1, -1, -1, -1, -1, + -1, 2934, -1, -1, 2937, -1, -1, -1, -1, 27, + 2943, -1, -1, -1, -1, 33, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 2963, -1, -1, -1, -1, 298, 2969, 1356, -1, -1, + -1, -1, -1, 2976, -1, -1, 1365, -1, -1, -1, + -1, 314, 3443, -1, 3445, -1, -1, 2990, -1, -1, + 78, -1, 1381, -1, -1, -1, -1, -1, -1, -1, + 3461, 3004, -1, -1, -1, -1, 3009, -1, -1, -1, + -1, -1, 3015, -1, 5773, 1404, 5775, -1, 1407, 1408, + -1, -1, -1, 1412, 1413, 6162, -1, -1, 517, -1, + 3033, 3034, 3035, -1, -1, -1, 3039, 526, 527, 528, + 529, 530, 531, 532, 533, 534, -1, 135, 537, -1, + 3511, 3512, -1, -1, 142, -1, -1, -1, 146, -1, + -1, -1, -1, 3066, 3067, -1, -1, -1, -1, -1, + -1, -1, 3075, -1, -1, -1, 6388, 410, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 175, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 3108, -1, -1, 10, -1, -1, 13, -1, -1, -1, 17, 18, 19, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 1406, -1, - -1, 199, -1, 1411, 1412, 37, 204, -1, -1, -1, - -1, -1, -1, -1, -1, 47, -1, -1, -1, -1, - -1, -1, 54, -1, -1, -1, -1, -1, -1, 227, - 228, 1439, -1, 64, -1, -1, -1, -1, 164, -1, - 1448, -1, 1450, -1, -1, -1, 1454, -1, 80, -1, - -1, -1, -1, 1461, -1, -1, -1, 255, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 517, -1, 100, - -1, -1, -1, -1, -1, 201, 526, 527, 528, 529, - 530, 531, 532, 533, 534, -1, -1, -1, -1, -1, - -1, -1, 542, -1, -1, -1, -1, -1, -1, -1, - 298, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 2283, -1, -1, 4261, -1, -1, 314, 4265, -1, 317, - -1, -1, -1, 5716, -1, 251, -1, 5720, -1, -1, - -1, -1, -1, 164, -1, -1, 5260, -1, -1, -1, - -1, -1, -1, -1, 1552, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 1562, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 2337, 291, -1, 199, 27, 295, - 201, -1, 204, 10, 33, -1, 13, -1, -1, -1, - 17, 18, 19, -1, -1, -1, -1, -1, -1, -1, - -1, 5315, -1, -1, -1, 227, 228, -1, 1606, 1607, - 37, -1, 328, 329, -1, -1, -1, -1, -1, -1, - 47, -1, 410, -1, -1, -1, -1, 54, -1, 78, - 251, 2394, 4370, 255, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 1649, -1, 80, 370, 1653, 1654, -1, 374, -1, - -1, -1, -1, 379, -1, -1, -1, -1, -1, -1, - 291, -1, 388, -1, 295, -1, 298, -1, -1, -1, - -1, 397, -1, -1, -1, -1, 135, -1, -1, 405, - -1, -1, 314, 142, -1, 317, -1, 146, -1, -1, - -1, -1, 418, -1, -1, -1, -1, 328, 329, -1, - -1, 427, -1, -1, -1, -1, 432, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 175, -1, -1, 517, - -1, -1, -1, -1, -1, -1, -1, -1, 526, 527, - 528, 529, 530, 531, 532, 533, 534, -1, -1, 370, - -1, -1, -1, 374, 542, -1, -1, -1, 379, 5942, - -1, -1, 211, 5946, -1, 5948, -1, 388, -1, 5952, - 5953, -1, 199, -1, 490, -1, 397, 204, -1, -1, - -1, -1, -1, -1, 405, -1, -1, -1, 410, -1, - -1, -1, -1, -1, -1, -1, -1, 418, -1, -1, - 227, 228, -1, -1, -1, -1, 427, -1, -1, -1, - -1, 432, -1, -1, -1, -1, 2579, 2580, 2581, 2582, - 2583, 2584, 2585, 2586, 2587, -1, 2589, -1, 255, -1, - -1, -1, -1, -1, -1, -1, -1, 2600, -1, -1, - 2603, -1, 291, -1, -1, -1, 295, -1, -1, 1847, - -1, -1, -1, -1, -1, -1, -1, 306, -1, -1, - -1, -1, -1, 5577, -1, 4603, 4604, 316, -1, 490, - -1, 298, -1, -1, -1, -1, -1, -1, -1, 328, - -1, 2644, -1, -1, -1, 2648, -1, 314, 2651, -1, - 2653, -1, -1, 2656, 5608, 517, -1, 2660, -1, -1, + -1, -1, -1, 211, -1, 5884, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 37, -1, 3140, -1, -1, + 6277, 3144, -1, -1, -1, 47, 6283, -1, -1, -1, + -1, -1, 54, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 80, -1, + -1, 5577, -1, -1, 517, -1, -1, -1, -1, -1, + -1, -1, -1, 526, 527, 528, 529, 530, 531, 532, + 533, 534, -1, 291, -1, -1, -1, 295, -1, -1, + -1, -1, 5608, -1, 10, -1, -1, 13, 306, -1, + -1, 17, 18, 19, -1, -1, -1, 3230, 316, 3232, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 328, 37, -1, -1, 3247, -1, 3249, -1, -1, -1, + -1, 47, -1, 3256, -1, -1, -1, 3260, 54, 3262, + 3263, -1, 3265, 3266, 3267, -1, 10, -1, -1, 13, + -1, 6408, 3275, 17, 18, 19, -1, 3280, -1, -1, + 1669, -1, 370, -1, 80, 373, 374, -1, 1677, -1, + -1, -1, -1, 37, -1, 3298, -1, 199, -1, -1, + -1, -1, 204, 47, -1, -1, -1, -1, -1, -1, + 54, -1, -1, -1, -1, -1, -1, 405, -1, -1, + -1, -1, -1, -1, -1, 227, 228, 3330, 3331, 3332, + -1, -1, 3335, -1, -1, -1, 80, -1, -1, -1, + 3343, 3344, 3345, 3346, -1, -1, -1, -1, -1, -1, + -1, 3354, -1, 255, -1, -1, 3359, 3360, -1, 3362, + -1, 3364, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 3377, 3378, -1, -1, 3381, -1, + -1, -1, -1, -1, -1, 6144, -1, -1, -1, -1, + 478, -1, -1, -1, -1, -1, 298, -1, 3401, -1, + 3403, -1, 3405, 199, -1, -1, -1, -1, 204, -1, + 6169, -1, 314, -1, 1716, 317, -1, -1, -1, -1, + -1, 3424, -1, -1, -1, -1, -1, 3888, -1, -1, + -1, 227, 228, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3445, -1, -1, -1, -1, -1, -1, -1, + 3911, -1, -1, -1, -1, 199, -1, -1, -1, 255, + 204, -1, -1, -1, -1, -1, 5862, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 3482, + -1, -1, 3485, 227, 228, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 3499, -1, -1, -1, + -1, 3504, 298, 1892, -1, -1, -1, 1896, 410, -1, + -1, 255, -1, -1, -1, -1, 3519, -1, 314, -1, + -1, 317, -1, -1, -1, -1, -1, -1, 6287, -1, + 3533, -1, -1, -1, 10, -1, -1, 13, 3541, -1, + -1, 17, 18, 19, -1, -1, -1, -1, -1, -1, + 3553, -1, -1, 3556, 298, 3558, -1, -1, -1, -1, + 3563, 37, -1, -1, -1, -1, -1, -1, -1, -1, + 314, 47, -1, 317, -1, 3578, 3579, -1, 54, -1, + -1, 3584, -1, -1, -1, -1, -1, 1889, -1, -1, + -1, -1, -1, -1, -1, 1897, 3599, -1, -1, 3602, + -1, -1, 3605, 1905, 80, -1, 4067, -1, -1, -1, + 3613, -1, 25, -1, 410, 517, -1, 30, -1, -1, -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, - 532, 533, 534, 27, -1, -1, -1, 539, 2681, 33, - 2683, 370, -1, -1, 373, 374, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 2700, -1, -1, - -1, -1, -1, -1, -1, -1, 2709, 2710, -1, -1, - -1, -1, -1, -1, -1, -1, 405, -1, -1, -1, - -1, -1, -1, -1, 78, -1, -1, -1, 2736, -1, - -1, -1, -1, 2736, -1, -1, -1, -1, -1, -1, - 2743, -1, -1, 410, 2747, 2748, 2754, -1, -1, -1, - 2758, 2754, -1, -1, 2762, 2758, -1, -1, -1, 2762, - -1, -1, -1, -1, -1, -1, -1, -1, 2771, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 2786, -1, - -1, 135, -1, 2786, -1, -1, 2789, -1, 142, 478, - 51, -1, 146, -1, -1, -1, -1, 2800, -1, 2802, - 2803, -1, 2805, 2806, -1, 2808, -1, -1, -1, -1, - -1, -1, 2820, -1, -1, -1, -1, 2820, -1, -1, - -1, 175, -1, -1, 2062, 2063, -1, -1, 6251, -1, - -1, -1, 2840, -1, -1, -1, -1, 2840, 2841, -1, - -1, 2079, 2080, -1, -1, -1, -1, -1, -1, 27, - 517, -1, -1, 2856, -1, 33, -1, 211, -1, 526, - 527, 528, 529, 530, 531, 532, 533, 534, -1, -1, - 4848, 2879, -1, -1, 2112, 2878, 2879, 4855, -1, 2882, - -1, -1, 4860, -1, -1, 4863, 4864, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 2906, -1, - 78, -1, -1, 2906, 2912, 2908, -1, -1, 5862, 2912, - -1, -1, -1, -1, -1, -1, -1, -1, 2926, -1, - -1, -1, -1, 2926, -1, 2933, -1, -1, 2936, -1, - 2933, -1, -1, 2936, 2942, -1, -1, 291, -1, 2942, - -1, 295, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 306, -1, 2962, -1, -1, 135, -1, 2962, - 2968, -1, 316, -1, 142, 2968, -1, 2975, 146, -1, - -1, -1, 2975, -1, 328, -1, -1, -1, -1, -1, - -1, 2989, -1, -1, -1, -1, 2989, -1, -1, -1, - -1, -1, 6415, -1, -1, 3003, -1, 175, -1, 6422, - 3003, -1, -1, 6426, -1, 3008, 3014, -1, -1, -1, - -1, 3014, -1, -1, -1, -1, 370, -1, -1, 373, - 374, -1, -1, -1, -1, -1, -1, -1, -1, 3032, - 3033, 3034, -1, 211, -1, 3038, -1, -1, -1, 6462, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 405, -1, 6476, -1, -1, -1, -1, -1, -1, - -1, -1, 3065, 3066, -1, -1, -1, -1, -1, -1, - -1, 3074, -1, -1, -1, -1, -1, -1, 6501, -1, - -1, 6504, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 3107, -1, 6060, -1, -1, -1, - -1, -1, -1, 291, -1, -1, -1, 295, -1, -1, - -1, -1, -1, -1, 478, -1, -1, -1, 306, -1, - 0, -1, -1, 5111, -1, -1, 3139, -1, 316, -1, - 3143, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 328, -1, 22, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 33, 5142, 35, 36, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 53, -1, -1, -1, -1, -1, -1, - -1, -1, 370, 63, -1, 373, 374, -1, -1, -1, - -1, -1, -1, -1, -1, 75, -1, 77, 78, -1, - -1, -1, -1, -1, 84, -1, 86, -1, -1, -1, - -1, 3229, -1, -1, -1, -1, 3229, 405, 3231, 99, - -1, 101, -1, -1, -1, -1, -1, -1, -1, -1, - 3248, -1, -1, 3246, -1, 3248, -1, 3255, 118, -1, - -1, 121, 3255, 6207, 6208, -1, 3259, 6211, 3261, 3262, - -1, 3264, 3265, 3266, -1, -1, 136, -1, 138, -1, - -1, 3274, 142, -1, -1, -1, 3279, -1, -1, 149, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 159, - -1, 161, -1, -1, 3297, -1, -1, -1, 168, -1, - 478, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 186, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 3329, 3330, 3331, -1, - -1, 3334, -1, 203, -1, -1, -1, -1, -1, 3342, - 3343, 3344, 3345, -1, -1, -1, -1, 5325, -1, -1, - 3353, -1, -1, -1, -1, 3358, 3359, -1, 3361, -1, - 3363, -1, -1, -1, -1, -1, -1, -1, 5346, -1, - -1, -1, -1, 3376, 3377, -1, -1, 3380, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 257, 258, -1, - -1, -1, -1, 263, -1, -1, -1, 3400, -1, 3402, - -1, 3404, 5380, -1, -1, -1, -1, -1, 278, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 3423, -1, -1, -1, -1, -1, -1, 297, -1, -1, - -1, -1, -1, 2671, 2672, -1, -1, -1, -1, 2677, - 5418, 3444, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 728, -1, -1, - -1, 2709, 2710, -1, 27, -1, 346, -1, 3481, -1, - 33, 3484, -1, -1, -1, 5463, -1, 40, -1, -1, - -1, 361, -1, 754, -1, 3498, 366, 367, -1, 369, - 3503, -1, -1, -1, 374, -1, -1, -1, -1, 62, - 380, -1, -1, 383, -1, 3518, -1, -1, -1, -1, - 390, -1, -1, -1, -1, 78, -1, 397, 398, 3532, - -1, -1, -1, 2771, -1, 405, -1, 3540, -1, 409, - -1, -1, -1, -1, -1, -1, -1, -1, 5526, 3552, - 420, -1, 3555, -1, 3557, -1, -1, -1, -1, 3562, - -1, 114, -1, -1, -1, -1, -1, 437, -1, -1, - -1, -1, -1, -1, 3577, 3578, -1, -1, -1, -1, - 3583, -1, 135, -1, -1, -1, -1, -1, 458, 142, - 3598, -1, -1, 146, -1, 3598, -1, -1, 3601, -1, - 470, 3604, -1, -1, -1, -1, 476, -1, -1, 3612, - -1, 481, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 2859, 175, -1, -1, 495, -1, 5605, -1, -1, - -1, -1, -1, -1, 3637, 27, 897, -1, -1, -1, - 3643, 33, -1, -1, -1, -1, -1, -1, -1, 519, - -1, -1, -1, -1, 207, -1, -1, -1, 211, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 538, -1, - -1, 541, -1, -1, -1, -1, -1, -1, -1, -1, - 3683, 3684, 3685, -1, -1, -1, 78, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 3708, -1, -1, -1, -1, 3708, -1, -1, -1, -1, - 2948, -1, 265, -1, 3717, -1, 3719, 270, 2956, -1, - -1, 2959, 275, -1, 3727, -1, -1, -1, -1, -1, - -1, -1, -1, 2971, -1, -1, -1, -1, 291, -1, - -1, -1, 295, 135, -1, -1, 3749, -1, -1, -1, - 142, -1, -1, 306, 146, -1, -1, -1, -1, -1, - -1, -1, -1, 316, -1, -1, -1, 5745, -1, 10, - -1, -1, 13, -1, 327, 328, 17, 18, 19, -1, - 1041, -1, -1, 175, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 5773, 37, -1, -1, 1060, - -1, -1, -1, -1, -1, -1, 47, -1, -1, -1, - 1071, -1, 3815, 54, -1, -1, -1, 370, -1, 211, - 373, 374, 375, -1, -1, -1, 1087, -1, -1, -1, - -1, 3839, -1, -1, -1, -1, 3839, -1, -1, 80, - -1, 3844, -1, -1, -1, -1, 399, 3850, -1, -1, - -1, -1, 405, -1, -1, -1, 3859, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 420, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 3886, 3887, -1, -1, -1, -1, 3892, - -1, 3894, -1, -1, -1, -1, -1, -1, -1, 291, - -1, -1, -1, 295, 3907, -1, 3909, -1, -1, 5887, - -1, -1, -1, -1, 306, -1, -1, -1, 471, -1, - -1, -1, -1, -1, 316, 478, 3929, -1, -1, -1, - -1, -1, 10, -1, -1, 13, 328, -1, -1, 17, - 18, 19, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 3955, -1, -1, -1, -1, -1, 199, 37, - -1, -1, -1, 204, -1, -1, -1, -1, -1, 47, - -1, -1, -1, 3976, 3977, -1, 54, -1, 370, -1, - 3218, 373, 374, 1244, 51, -1, 227, 228, -1, -1, - -1, -1, -1, -1, -1, -1, 3999, -1, -1, -1, - -1, -1, 80, -1, -1, -1, -1, -1, -1, -1, - 4018, -1, -1, 405, 255, 4018, 5994, -1, -1, -1, - -1, -1, -1, 10, -1, -1, 13, -1, -1, 4037, - 17, 18, 19, 4041, 4037, -1, -1, -1, 4041, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 37, -1, -1, -1, -1, -1, -1, 298, -1, 4062, - 47, -1, -1, -1, -1, -1, -1, 54, -1, -1, - -1, -1, -1, 314, -1, 4078, 317, -1, 4081, -1, - -1, -1, -1, 4086, -1, 4088, 478, -1, -1, -1, - -1, -1, -1, 80, -1, -1, -1, -1, -1, 4102, + 532, 533, 534, -1, -1, 3638, -1, 539, -1, -1, + -1, 3644, -1, -1, -1, -1, -1, -1, 1950, -1, + -1, -1, -1, 6412, -1, 68, -1, -1, -1, -1, + -1, -1, -1, -1, 6060, -1, 410, -1, 81, -1, + -1, -1, -1, -1, -1, 1977, -1, 2066, -1, -1, + -1, 3684, 3685, 3686, -1, 98, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 116, -1, -1, 3709, -1, -1, -1, + -1, -1, -1, -1, -1, 3718, -1, 3720, -1, -1, + -1, 517, -1, 199, -1, 3728, -1, 140, 204, -1, + 526, 527, 528, 529, 530, 531, 532, 533, 534, -1, + -1, 154, -1, 539, -1, -1, -1, 3750, -1, -1, + 163, 227, 228, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 176, -1, -1, -1, -1, -1, 182, + -1, -1, -1, 517, -1, -1, 189, -1, -1, 255, + -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, + 534, -1, -1, -1, -1, 539, 209, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 6207, 6208, 3816, -1, 6211, -1, -1, -1, -1, + -1, -1, 298, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 3840, 314, -1, + -1, 317, 3845, -1, -1, -1, -1, -1, 3851, -1, + -1, -1, -1, -1, -1, -1, 269, 3860, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 3887, 3888, -1, -1, -1, -1, + 3893, -1, 3895, -1, -1, -1, -1, -1, -1, -1, + -1, 314, -1, 10, -1, 3908, 13, 3910, -1, -1, + 17, 18, 19, -1, 327, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 3930, 341, -1, + 37, -1, -1, -1, 410, -1, -1, -1, 351, 352, + 47, -1, 355, -1, -1, -1, -1, 54, -1, -1, + -1, -1, -1, 3956, -1, -1, 4417, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 382, + -1, -1, 385, 80, 3977, 3978, 389, -1, -1, 392, + -1, -1, -1, -1, 4445, -1, 399, -1, -1, 402, + -1, -1, -1, -1, -1, -1, -1, 4000, 4459, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 422, + 4471, -1, -1, -1, -1, -1, 4019, 430, -1, -1, + -1, -1, -1, -1, 437, -1, -1, 440, -1, -1, + -1, -1, 445, -1, 4037, -1, -1, -1, 4041, -1, + 453, 517, 455, -1, -1, -1, -1, 460, -1, -1, + 526, 527, 528, 529, 530, 531, 532, 533, 534, 4062, + -1, 474, -1, 539, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 487, 4078, -1, -1, 4081, -1, + -1, -1, -1, 4086, -1, 4088, 4547, 4548, -1, -1, + -1, -1, 199, -1, -1, -1, -1, 204, -1, 4102, -1, -1, -1, 4106, 4107, 4108, -1, -1, -1, -1, 4113, -1, -1, 4116, -1, -1, 4119, -1, -1, -1, - -1, 199, 4125, 6101, 4127, -1, 204, 4130, -1, -1, + 227, 228, 4125, -1, 4127, -1, -1, 4130, -1, -1, -1, 4134, 4135, 4136, 4137, 4138, -1, -1, 4141, 4142, - 4143, 4144, 4145, 4146, 4147, 4148, 4149, 4150, -1, 227, - 228, 4154, 4155, 4156, -1, -1, 4159, -1, -1, -1, - -1, 4164, -1, -1, -1, -1, 4169, -1, 4171, 410, - 4173, -1, -1, -1, -1, -1, -1, 255, 4181, -1, - -1, 4184, -1, 4186, 6162, -1, -1, -1, -1, -1, - -1, -1, 6170, 6171, -1, -1, -1, -1, -1, 4202, - -1, -1, 4205, 4206, 3442, 4208, 3444, -1, 4211, 4212, - -1, -1, 199, 4216, -1, 4218, -1, 204, -1, -1, - 298, -1, 3460, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 314, -1, -1, 317, - 227, 228, -1, -1, 4247, -1, 1507, -1, -1, -1, - 4253, -1, -1, -1, -1, -1, -1, -1, 4261, -1, - -1, -1, 4265, -1, -1, -1, -1, -1, 255, -1, - -1, -1, 3510, 3511, -1, -1, 517, -1, -1, -1, - -1, -1, -1, -1, -1, 526, 527, 528, 529, 530, - 531, 532, 533, 534, -1, 4298, -1, -1, 539, 6277, - -1, -1, -1, -1, -1, 6283, -1, -1, -1, -1, - -1, 298, 4315, 1574, -1, -1, -1, -1, 4321, -1, - -1, -1, -1, 6301, -1, -1, -1, 314, -1, -1, - 317, -1, 410, -1, -1, -1, -1, -1, -1, 4347, - -1, -1, -1, -1, 4347, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 1615, -1, -1, -1, -1, -1, + 4143, 4144, 4145, 4146, 4147, 4148, 4149, 4150, 255, -1, + -1, 4154, 4155, 4156, -1, -1, 4159, -1, -1, -1, + -1, 4164, -1, -1, -1, 27, 4169, -1, 4171, -1, + 4173, 33, -1, -1, -1, 4636, -1, -1, 4181, -1, + -1, 4184, -1, 4186, -1, -1, 48, -1, -1, -1, + -1, 298, -1, -1, -1, -1, -1, -1, -1, 4202, + -1, -1, 4205, 4206, -1, 4208, -1, 314, 4211, 4212, + 317, -1, -1, 4216, -1, 4218, 78, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 4690, + -1, -1, -1, -1, 2623, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 4247, -1, -1, -1, -1, -1, + 4253, -1, -1, -1, -1, -1, 10, -1, 4261, 13, + -1, -1, 4265, 17, 18, 19, -1, -1, -1, -1, + -1, 133, -1, 135, -1, -1, -1, -1, -1, -1, + 142, -1, -1, 37, 146, -1, -1, -1, -1, -1, + -1, -1, -1, 47, -1, 4298, -1, -1, -1, -1, + 54, -1, -1, 410, -1, -1, -1, -1, -1, -1, + -1, -1, 4315, 175, 40, -1, -1, -1, 4321, -1, + -1, -1, -1, -1, -1, -1, 80, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 64, -1, + -1, -1, -1, -1, 4347, -1, -1, -1, -1, 211, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4370, -1, -1, + -1, -1, -1, -1, 100, -1, -1, -1, -1, -1, + -1, -1, -1, 2772, -1, -1, -1, -1, -1, -1, + 51, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 4411, -1, + 517, -1, -1, 4416, 4417, 4418, -1, -1, -1, 526, + 527, 528, 529, 530, 531, 532, 533, 534, -1, 291, + -1, -1, 539, 295, -1, 2737, -1, -1, 164, 2828, + -1, 4444, 4445, -1, 306, 199, -1, -1, -1, -1, + 204, -1, -1, 2755, 316, -1, -1, 2759, -1, -1, + -1, 2763, -1, -1, -1, -1, 328, -1, -1, -1, + -1, -1, -1, 227, 228, 201, 51, -1, -1, -1, + -1, -1, -1, -1, -1, 2787, -1, -1, 4491, -1, + -1, 4494, -1, -1, 4955, -1, -1, -1, -1, -1, + 4961, 255, -1, -1, -1, 4966, -1, -1, 370, -1, + -1, 373, 374, -1, -1, -1, -1, -1, -1, 2821, + 246, 10, -1, -1, 13, 251, 2915, -1, 17, 18, + 19, -1, 4993, 4994, -1, -1, -1, 4998, 4999, 2841, + -1, -1, -1, 405, 298, -1, -1, -1, 37, -1, + 2939, -1, -1, -1, -1, 4558, -1, -1, 47, -1, + 314, -1, -1, 317, -1, 54, -1, -1, -1, 295, + -1, -1, -1, -1, -1, -1, -1, -1, 2880, -1, + -1, -1, 4585, 4586, -1, -1, 4589, -1, -1, -1, + -1, 80, -1, 4596, -1, -1, -1, -1, -1, -1, + 4603, 4604, -1, 329, 51, 2907, -1, -1, -1, -1, + 4613, 2913, -1, -1, 3003, -1, 478, -1, 3007, -1, + -1, -1, -1, -1, -1, 2927, -1, -1, -1, -1, + -1, -1, 2934, 4636, -1, 2937, -1, -1, 4641, 4642, + 4643, 2943, -1, -1, -1, -1, -1, -1, 374, -1, + -1, 4654, -1, 379, -1, 3044, 410, 3046, -1, 3048, + 3049, 2963, 388, -1, 3053, 3054, 3055, 2969, 3057, 3058, + 3059, 397, -1, -1, 2976, -1, -1, -1, -1, 405, + -1, -1, -1, -1, -1, -1, -1, -1, 2990, -1, + -1, 4694, 418, -1, 4697, -1, -1, -1, -1, -1, + -1, 427, 3004, -1, -1, -1, 432, -1, -1, -1, + 199, -1, -1, 3015, -1, 204, -1, -1, -1, -1, + 4723, -1, 3111, -1, -1, -1, -1, 453, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 4740, 227, 228, + -1, -1, -1, -1, -1, -1, -1, 3136, -1, -1, + -1, -1, -1, -1, -1, 4758, -1, -1, -1, -1, + -1, -1, -1, 517, 490, -1, 255, -1, 494, -1, + -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, + 534, -1, -1, 4786, -1, 539, 4789, -1, -1, -1, + -1, -1, -1, -1, 4797, 4798, -1, 4800, -1, -1, + -1, -1, 4805, 4806, -1, -1, -1, 4810, -1, 298, + -1, -1, 4815, -1, -1, 4818, -1, 4820, -1, -1, + -1, -1, -1, 4826, -1, 314, -1, -1, 317, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 4848, -1, -1, -1, -1, + -1, -1, 4855, -1, -1, -1, -1, 4860, -1, -1, + 4863, 4864, -1, -1, -1, -1, -1, -1, 4871, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 4890, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 4919, -1, -1, -1, + -1, 410, -1, -1, -1, -1, -1, -1, 3230, 4932, + -1, -1, -1, -1, 4937, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 5407, 3249, -1, -1, + -1, -1, -1, 8, 3256, -1, -1, -1, -1, 14, + 15, -1, -1, -1, -1, 20, -1, 22, -1, -1, + 4973, -1, -1, 28, -1, 30, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 4990, -1, -1, + -1, -1, 4995, -1, 49, 50, -1, -1, -1, 5002, + -1, -1, -1, -1, -1, 25, -1, -1, -1, -1, + 30, -1, -1, -1, -1, 5018, -1, -1, -1, -1, + -1, -1, 5025, -1, -1, -1, -1, -1, 517, -1, + -1, -1, -1, -1, 5037, -1, -1, 526, 527, 528, + 529, 530, 531, 532, 533, 534, 10, -1, 68, 13, + 539, -1, -1, 17, 18, 19, 3445, -1, -1, -1, + -1, 81, 82, -1, -1, 5068, -1, 728, -1, -1, + -1, -1, -1, 37, 94, -1, -1, -1, 98, -1, + -1, -1, -1, 47, -1, -1, -1, -1, -1, -1, + 54, 5094, -1, 754, -1, -1, 116, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 5111, -1, + -1, -1, -1, 5116, -1, -1, 80, -1, -1, -1, + 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 5135, -1, 154, -1, -1, -1, -1, 5142, + -1, -1, -1, 163, -1, 200, -1, -1, -1, 204, + -1, -1, -1, 728, -1, -1, 176, 212, -1, -1, + 215, -1, 182, 218, 219, -1, 221, -1, 223, -1, + -1, 226, -1, 228, -1, -1, -1, -1, -1, 754, + -1, -1, -1, -1, -1, 5188, -1, 5190, -1, 209, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 3602, -1, -1, -1, -1, 5221, -1, + -1, -1, -1, -1, -1, -1, -1, 247, -1, -1, + -1, -1, -1, -1, -1, 199, -1, 898, -1, -1, + 204, -1, -1, -1, 5247, -1, -1, -1, -1, 269, + -1, -1, -1, -1, 5257, 5716, -1, 5260, -1, -1, + 5263, 5264, 5265, 227, 228, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 728, -1, -1, -1, 5288, 5289, -1, -1, -1, + 5293, 255, -1, -1, 314, -1, -1, 3599, -1, -1, + -1, 3690, -1, -1, -1, -1, -1, 754, 5311, -1, + -1, -1, 5315, -1, -1, -1, -1, -1, 5321, -1, + -1, 341, 5325, 898, -1, -1, -1, -1, 5331, 5332, + -1, 351, 352, -1, 298, 355, -1, 5340, -1, -1, + -1, -1, -1, 5346, -1, -1, 5349, -1, -1, -1, + 314, -1, 5355, 317, 5357, -1, -1, -1, -1, 3748, + -1, -1, 382, -1, -1, 385, -1, -1, -1, 389, + -1, -1, 392, -1, -1, -1, -1, 5380, -1, 399, + -1, -1, 402, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 1061, -1, 422, -1, 5407, 5408, -1, 3709, -1, -1, + 430, 1072, -1, -1, -1, 5418, -1, 437, -1, -1, + 440, -1, -1, -1, -1, 445, -1, 1088, -1, 3818, + -1, -1, -1, 453, -1, 455, -1, -1, -1, -1, + 460, -1, -1, -1, -1, -1, 410, -1, -1, -1, + -1, 898, -1, -1, -1, 5458, -1, -1, -1, -1, + 5463, -1, -1, -1, -1, -1, -1, 487, -1, -1, + 5931, -1, -1, -1, -1, -1, -1, 3866, -1, -1, + -1, -1, -1, -1, -1, -1, 1061, -1, -1, 3878, + 3879, -1, -1, -1, -1, -1, -1, 1072, -1, 3888, + -1, -1, -1, -1, 3893, 27, 3895, -1, -1, -1, + -1, 33, -1, 1088, -1, -1, -1, -1, 40, -1, + -1, -1, -1, 5526, -1, -1, 5529, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 3840, -1, + 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3941, 517, -1, -1, 78, 5560, -1, -1, + -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, + 534, -1, 51, -1, 5577, 539, -1, -1, 5581, -1, + 5583, -1, 1243, -1, 51, -1, -1, 3976, 3977, -1, + -1, -1, 114, -1, 5597, 1042, -1, -1, -1, -1, + -1, -1, 5605, -1, -1, 5608, -1, -1, -1, -1, + -1, 666, -1, 135, 1061, -1, 5619, -1, -1, -1, + 142, -1, 677, 5626, 146, 1072, 681, -1, -1, -1, + -1, -1, -1, 688, 689, -1, -1, 692, -1, 694, + 695, 1088, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 175, 709, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 1243, -1, + -1, -1, 727, -1, -1, 5678, -1, -1, -1, -1, + -1, 5684, -1, -1, -1, 207, 5689, 5690, -1, 211, + -1, 5694, -1, 748, -1, 750, -1, 5700, 5701, 5702, + -1, -1, -1, -1, -1, 760, -1, 10, -1, -1, + 13, -1, -1, 5716, 17, 18, 19, 4019, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 5736, 37, 4037, -1, -1, 793, 4041, + -1, -1, 5745, 265, 47, 5748, 1407, -1, 270, -1, + -1, 54, -1, 275, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 291, + 5773, -1, -1, 295, -1, -1, -1, 80, -1, -1, + -1, -1, -1, -1, 306, -1, -1, -1, -1, -1, + -1, 4180, -1, -1, 316, -1, 1243, -1, -1, 5802, + 5803, -1, -1, -1, -1, 327, 328, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 875, -1, -1, 5826, 5827, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 5838, -1, -1, -1, -1, + -1, -1, -1, -1, 5847, 5848, 5849, 1508, 370, -1, + -1, 373, 374, 375, -1, -1, -1, -1, -1, 5862, + 5863, -1, -1, 5866, -1, -1, -1, -1, 5871, -1, + 5873, -1, 5875, -1, -1, -1, -1, 399, -1, -1, + -1, -1, -1, 405, 5887, -1, -1, -1, -1, -1, + -1, 5894, -1, -1, -1, -1, 199, -1, 420, -1, + -1, 204, -1, -1, -1, 960, -1, -1, -1, -1, + -1, 5914, -1, -1, 1575, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 227, 228, -1, -1, -1, -1, + -1, -1, -1, 1508, -1, -1, 5939, -1, -1, 5942, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 471, + -1, -1, 255, -1, 6415, 1616, 478, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 1034, + -1, -1, -1, -1, -1, -1, -1, -1, 1649, -1, + -1, 5994, -1, -1, -1, 298, -1, -1, -1, -1, + 1575, -1, -1, -1, 1059, -1, -1, -1, -1, -1, + -1, 314, -1, -1, 317, 6476, -1, -1, -1, 1074, + -1, 1076, -1, -1, -1, -1, -1, -1, 4417, -1, + -1, 1086, -1, -1, -1, -1, -1, -1, 1093, -1, + 6501, 1616, 6045, -1, -1, 4347, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 4445, 6060, -1, -1, + -1, 1508, -1, -1, -1, -1, -1, 6070, -1, -1, + -1, 4460, -1, -1, 1649, 4464, -1, 4466, -1, -1, + -1, 1136, -1, 1138, 6087, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 6101, -1, + -1, -1, -1, -1, -1, -1, -1, 410, 6111, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 4512, -1, -1, -1, -1, 1575, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 4528, + -1, -1, -1, -1, 4533, -1, -1, -1, -1, 6152, + -1, -1, -1, -1, -1, -1, 1211, -1, 1213, 6162, + 1215, -1, 1217, -1, 1219, 1220, 1221, 6170, 6171, 1616, + -1, 1226, -1, 6176, -1, -1, -1, -1, -1, -1, + -1, -1, 1843, 1238, -1, -1, -1, -1, -1, 4491, + -1, -1, 4494, 1854, -1, -1, -1, -1, -1, -1, + 27, -1, 1649, -1, 6207, 6208, 33, -1, 6211, 1870, + -1, -1, -1, -1, 517, -1, -1, -1, -1, -1, + -1, 48, -1, 526, 527, 528, 529, 530, 531, 532, + 533, 534, -1, -1, -1, -1, 539, -1, -1, -1, + -1, -1, -1, -1, 4633, -1, -1, 4636, 6251, 728, + -1, 78, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 728, -1, 1924, -1, -1, -1, -1, 1843, -1, + -1, -1, -1, -1, 6277, 754, -1, -1, 1939, 1854, + 6283, 1942, 1943, -1, 1731, 1732, 1733, 754, -1, -1, + -1, -1, -1, -1, 4596, 1870, -1, -1, 6301, -1, + -1, -1, -1, -1, -1, 6308, 133, -1, 135, -1, + -1, 4613, 1973, 1974, -1, 142, -1, -1, -1, 146, + -1, 6324, -1, 4712, 4713, 4714, 4715, -1, 4717, 4718, + 4719, 4720, 4721, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 6345, -1, -1, -1, -1, -1, 175, 1924, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 1939, -1, -1, 1942, 1943, -1, + -1, -1, -1, -1, 1429, -1, -1, -1, -1, -1, + 6383, -1, -1, -1, 211, 6388, -1, -1, -1, -1, + -1, 6394, 4694, -1, -1, -1, 1843, 27, 1973, 1974, + -1, -1, -1, 33, -1, 6408, -1, 1854, -1, -1, + -1, -1, 6415, -1, -1, -1, -1, -1, 48, 898, + -1, -1, -1, 1870, -1, -1, -1, -1, -1, -1, + -1, 898, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 78, 4838, + -1, 4840, 6455, 6456, -1, -1, 2117, -1, -1, -1, + -1, -1, -1, -1, 291, -1, -1, -1, 295, 6472, + -1, -1, -1, 6476, -1, -1, -1, 1924, -1, 306, + -1, -1, -1, -1, -1, -1, 6489, 6490, -1, 316, + -1, -1, 1939, -1, 1549, 1942, 1943, -1, 6501, -1, + -1, 328, -1, -1, 51, 135, -1, -1, -1, -1, + -1, -1, 142, -1, -1, -1, 146, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 1973, 1974, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 2117, 370, -1, 175, 373, 374, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 1621, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 405, -1, + -1, 211, 1061, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 1072, 1061, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 1072, -1, -1, -1, 1088, + -1, 10, -1, -1, 13, -1, -1, -1, 17, 18, + 19, 1088, -1, -1, -1, -1, 2073, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 37, -1, + 2087, -1, -1, 2090, -1, -1, -1, -1, 47, -1, + -1, 478, -1, -1, -1, 54, -1, -1, -1, -1, + -1, 291, -1, -1, -1, 295, -1, -1, -1, -1, + 2117, -1, -1, -1, -1, -1, 306, 5066, 5067, -1, + -1, 80, -1, -1, -1, -1, 316, -1, 4990, -1, + 5079, -1, 5081, 5082, 5083, -1, -1, -1, 328, -1, + 5002, -1, 0, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 22, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 33, -1, 35, 36, -1, + 370, -1, -1, 373, 374, 10, -1, -1, 13, -1, + -1, -1, 17, 18, 19, 53, -1, -1, -1, 5148, + -1, -1, -1, -1, 1243, 63, -1, -1, -1, -1, + -1, -1, 37, -1, -1, 405, 1243, 75, -1, 77, + 78, -1, 47, -1, 1839, -1, 84, 10, 86, 54, + 13, -1, -1, -1, 17, 18, 19, -1, 5187, -1, + 199, 99, -1, 101, -1, 204, -1, -1, -1, -1, + -1, -1, -1, -1, 37, 80, -1, -1, -1, 1874, + 118, -1, -1, 121, 47, -1, -1, -1, 227, 228, + -1, 54, -1, -1, -1, -1, -1, -1, 136, -1, + 138, 5230, -1, -1, 142, -1, -1, -1, 478, -1, + -1, 149, -1, -1, -1, -1, 255, 80, -1, -1, + -1, 159, -1, 161, -1, 1920, -1, -1, -1, -1, + 168, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 1940, -1, -1, 186, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 298, + -1, -1, -1, -1, -1, 203, -1, -1, -1, -1, + -1, 1966, -1, 1968, -1, 314, -1, -1, 317, 5221, + -1, -1, -1, -1, -1, -1, -1, -1, 1983, -1, + 1985, -1, -1, -1, 199, -1, 1991, -1, 1993, 204, + 1995, -1, 1997, -1, 1999, -1, -1, -1, 2003, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, + 258, -1, 227, 228, -1, 263, 25, -1, -1, -1, + -1, 30, -1, -1, -1, -1, 199, -1, -1, -1, + 278, 204, -1, -1, -1, 2040, -1, -1, -1, -1, + 255, -1, -1, -1, -1, -1, -1, -1, -1, 297, + -1, -1, -1, -1, 227, 228, -1, -1, -1, 68, + -1, 410, -1, -1, -1, -1, -1, -1, 5407, -1, + -1, -1, 81, -1, 51, -1, -1, -1, -1, 1508, + -1, -1, 255, 298, -1, -1, -1, -1, -1, 98, + -1, 1508, -1, -1, -1, -1, -1, -1, 346, 314, + -1, -1, 317, 5355, -1, 5357, -1, 116, -1, -1, + -1, -1, -1, 361, 5453, -1, -1, -1, 366, 367, + -1, 369, -1, 5462, -1, 298, 374, -1, -1, -1, + -1, 140, 380, 2744, -1, 383, -1, 2748, 2749, -1, + -1, 314, 390, -1, 317, 154, 1575, -1, -1, 397, + 398, -1, -1, -1, 163, -1, -1, 405, 1575, -1, + -1, 409, -1, -1, -1, -1, -1, 176, 517, -1, + -1, -1, 420, 182, -1, -1, -1, 526, 527, 528, + 529, 530, 531, 532, 533, 534, -1, 1616, -1, 437, + 539, 27, 2803, -1, -1, 410, -1, 33, 2809, 1616, + 209, -1, -1, -1, -1, -1, -1, 2604, -1, -1, + 458, -1, -1, -1, -1, -1, -1, -1, -1, 2744, + 1649, -1, 470, 2748, 2749, -1, -1, -1, 476, -1, + -1, 728, 1649, 481, -1, -1, -1, 410, -1, -1, + -1, -1, 78, -1, -1, -1, 2857, 495, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 754, -1, -1, + 269, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 519, -1, 521, 522, 523, 524, 525, 2803, -1, + -1, -1, -1, -1, 2809, -1, -1, -1, -1, -1, + 538, -1, -1, 541, -1, -1, -1, -1, -1, 135, + -1, -1, 517, -1, -1, 314, 142, -1, -1, -1, + 146, 526, 527, 528, 529, 530, 531, 532, 533, 534, + -1, -1, -1, -1, 539, -1, -1, -1, -1, -1, + -1, -1, 2857, -1, -1, -1, -1, -1, -1, 175, + -1, -1, 351, 352, 517, -1, 355, 2744, -1, -1, + -1, 2748, 2749, 526, 527, 528, 529, 530, 531, 532, + 533, 534, -1, -1, -1, -1, 539, -1, -1, -1, + -1, -1, -1, 382, -1, 211, 385, 5716, -1, -1, + -1, 5720, -1, 392, -1, -1, -1, -1, -1, -1, + 399, -1, -1, 402, -1, -1, -1, -1, -1, -1, + -1, 898, -1, -1, -1, -1, 2803, -1, -1, -1, + -1, -1, 2809, 422, 1843, -1, -1, -1, -1, -1, + -1, 430, -1, -1, -1, 1854, 1843, -1, 437, -1, + -1, 440, -1, -1, -1, -1, 445, 1854, -1, -1, + -1, 1870, -1, -1, 453, -1, -1, -1, -1, -1, + -1, 460, -1, 1870, -1, 291, 3067, -1, -1, 295, + 2857, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 306, -1, -1, -1, -1, -1, -1, -1, 487, -1, + 316, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 328, -1, -1, 1924, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 1924, -1, -1, + 1939, -1, -1, 1942, 1943, -1, -1, -1, -1, -1, + -1, -1, 1939, -1, -1, 1942, 1943, -1, -1, 3140, + -1, -1, -1, 3144, 370, -1, -1, 373, 374, -1, + -1, -1, 3067, -1, 1973, 1974, -1, 27, -1, -1, + -1, -1, -1, 33, -1, -1, 1973, 1974, -1, -1, + 40, -1, -1, -1, 1061, -1, -1, -1, -1, 405, + -1, -1, -1, -1, -1, 1072, -1, -1, -1, -1, + -1, -1, 62, -1, -1, -1, -1, -1, -1, -1, + -1, 1088, -1, -1, -1, -1, -1, -1, 78, -1, + -1, -1, -1, 5942, -1, -1, -1, 5946, -1, 5948, + -1, -1, -1, 5952, 5953, 3140, -1, -1, -1, 3144, + -1, -1, -1, 10, -1, -1, 13, -1, -1, -1, + 17, 18, 19, -1, 114, -1, 3247, -1, 3035, -1, + -1, -1, 478, -1, -1, -1, -1, -1, -1, -1, + 37, 3262, -1, -1, -1, 135, 3267, -1, -1, -1, + 47, -1, 142, -1, -1, -1, 146, 54, -1, -1, + 3067, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 3298, 2117, -1, + -1, -1, -1, 80, -1, 175, -1, -1, -1, -1, + 2117, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3247, -1, -1, -1, -1, 207, -1, -1, + -1, 211, -1, 2738, 2739, -1, -1, 3262, -1, -1, + -1, -1, 3267, 3140, -1, -1, 1243, 3144, -1, -1, + -1, 728, 2757, 2758, -1, 2760, 2761, -1, -1, -1, + 2765, 2766, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 3298, -1, 2780, -1, 754, -1, 2784, + -1, -1, -1, 2788, 2789, 265, -1, 2792, 2793, -1, + 270, -1, -1, -1, 2799, 275, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 2811, -1, -1, -1, + -1, 291, 199, -1, -1, 295, -1, 204, 2823, -1, + -1, -1, -1, 2828, -1, -1, 306, -1, -1, -1, + -1, -1, -1, -1, -1, 6087, 316, -1, 2843, -1, + 227, 228, 2847, -1, -1, -1, -1, 327, 328, -1, + 3247, -1, -1, -1, 2859, -1, -1, 2862, -1, 2864, + 2865, 2866, -1, -1, -1, 3262, 2871, 2872, 255, -1, + 3267, -1, -1, -1, -1, -1, 2881, -1, -1, -1, + -1, -1, 2887, -1, -1, -1, 2891, -1, -1, -1, + 370, -1, -1, 373, 374, 375, -1, -1, 2903, 2904, + -1, 3298, -1, 2908, -1, -1, -1, -1, -1, 2914, + 2915, 298, 6251, -1, -1, -1, -1, -1, -1, 399, + -1, 898, -1, 2928, -1, 405, 2931, 314, -1, -1, + 317, -1, -1, 2938, 2939, -1, -1, -1, -1, 2944, + 420, -1, 3553, -1, -1, 3556, -1, 3558, -1, -1, + -1, 2956, 3563, -1, 2959, -1, -1, -1, 345, 2964, + -1, -1, -1, -1, -1, 2970, 2971, -1, -1, -1, + -1, -1, -1, 2978, -1, -1, -1, 2982, -1, -1, + -1, 2986, 2987, 2988, 2989, -1, 2991, -1, -1, -1, + -1, 471, -1, -1, 3605, -1, -1, -1, 478, -1, + 3005, 3006, 3613, 3008, -1, -1, 27, -1, -1, -1, + -1, 1508, 33, -1, 3019, 3020, 3021, -1, -1, -1, + -1, -1, -1, 410, -1, -1, -1, 3638, 3553, -1, + -1, 3556, -1, 3558, -1, -1, -1, -1, 3563, -1, + -1, 51, 429, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 78, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 3076, -1, -1, -1, -1, 6415, -1, 1575, 3084, + 3605, -1, -1, 6422, 1061, -1, -1, 6426, 3613, -1, + -1, -1, -1, -1, -1, 1072, -1, -1, 3103, -1, + -1, -1, -1, -1, -1, -1, -1, 3718, -1, 3720, + -1, 1088, -1, 3638, 135, -1, -1, -1, -1, 1616, + -1, 142, -1, 6462, -1, 146, -1, -1, -1, -1, + 517, -1, -1, -1, -1, -1, -1, 6476, -1, 526, + 527, 528, 529, 530, 531, 532, 533, 534, 3153, -1, + -1, -1, 1649, -1, 175, -1, 3553, -1, -1, 3556, + -1, 3558, 6501, -1, -1, 6504, 3563, 3172, -1, 3174, + -1, -1, -1, -1, -1, -1, 51, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 27, -1, -1, 1648, -1, -1, - 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 6383, -1, -1, 4411, -1, - -1, -1, -1, 4416, 4417, 4418, -1, -1, -1, -1, - -1, -1, -1, 410, -1, -1, -1, -1, -1, -1, - 6408, -1, -1, -1, -1, 78, -1, 10, -1, 517, - 13, 4444, 4445, -1, 17, 18, 19, -1, 526, 527, - 528, 529, 530, 531, 532, 533, 534, -1, -1, -1, - -1, 539, -1, -1, 37, -1, -1, -1, -1, 1730, - 1731, 1732, -1, -1, 47, -1, -1, -1, 6456, -1, - -1, 54, -1, 4491, -1, -1, 4494, -1, 4491, -1, - -1, 4494, 135, -1, 6472, -1, -1, -1, -1, 142, - -1, -1, -1, 146, -1, -1, -1, 80, -1, -1, - -1, 6489, 6490, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 517, -1, 175, -1, -1, -1, -1, -1, -1, 526, - 527, 528, 529, 530, 531, 532, 533, 534, -1, -1, - -1, -1, 539, -1, -1, 4558, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 211, -1, + 211, -1, -1, 3718, -1, 3720, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 3816, -1, -1, 3605, -1, + -1, -1, -1, -1, -1, -1, 3613, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 3638, -1, -1, -1, -1, 27, -1, -1, 3860, + -1, -1, 33, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 3269, -1, 1243, -1, -1, -1, + 291, -1, -1, -1, 295, -1, -1, 3888, -1, -1, + -1, -1, -1, -1, -1, 306, -1, -1, -1, -1, + -1, 3816, -1, -1, -1, 316, -1, 78, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 328, -1, -1, + -1, -1, -1, -1, -1, 2744, -1, -1, -1, 2748, + 2749, 3718, -1, 3720, -1, -1, -1, 2744, -1, -1, + -1, 2748, 2749, -1, -1, 3860, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 3956, 1843, -1, -1, 370, + -1, -1, 373, 374, 135, -1, -1, 1854, -1, -1, + -1, 142, -1, 3888, -1, 146, -1, 3978, -1, -1, + -1, -1, -1, 1870, 2803, -1, -1, -1, -1, -1, + 2809, -1, -1, -1, 405, -1, 2803, -1, 10, 4000, + -1, 13, 2809, -1, 175, 17, 18, 19, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 37, -1, -1, -1, 3816, + -1, -1, -1, -1, -1, 47, -1, 1924, 2857, -1, + 211, 3956, 54, -1, -1, -1, -1, -1, -1, -1, + 2857, -1, 1939, -1, -1, 1942, 1943, -1, 3845, -1, + -1, -1, -1, 3978, 3851, -1, -1, 478, 80, -1, + -1, -1, -1, 3860, -1, -1, -1, -1, -1, -1, + 4081, -1, -1, -1, -1, 4000, 1973, 1974, -1, -1, + -1, -1, -1, -1, -1, 10, -1, -1, 13, -1, + -1, 3888, 17, 18, 19, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 1842, 4585, 4586, -1, 27, 4589, -1, 4596, -1, - -1, 33, 1853, 4596, -1, -1, -1, -1, -1, -1, - 4603, 4604, -1, -1, -1, 4613, -1, -1, 1869, -1, - 4613, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 291, -1, 37, -1, 295, -1, -1, -1, -1, -1, + -1, -1, 47, 4134, -1, 306, -1, -1, -1, 54, + -1, 1508, -1, -1, -1, 316, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 328, 4159, -1, + -1, -1, -1, -1, -1, 80, 4081, -1, -1, 3956, + -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, + 13, -1, -1, -1, 17, 18, 19, 199, -1, -1, + -1, 3978, 204, -1, -1, -1, -1, -1, -1, 370, + -1, -1, 373, 374, 37, 3600, -1, -1, 1575, -1, + -1, -1, -1, 4000, 47, 227, 228, -1, -1, 4134, + -1, 54, 3617, -1, -1, -1, 3621, -1, -1, -1, + 2117, 3626, 3627, 3628, 405, -1, -1, -1, -1, -1, + -1, -1, -1, 255, 4159, -1, -1, 80, 3067, 1616, + -1, -1, -1, 3648, -1, -1, -1, -1, -1, -1, + 3067, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 3672, 3673, 3674, + 3675, -1, 1649, -1, 199, 27, 298, -1, -1, 204, + -1, 33, -1, -1, 4081, -1, -1, -1, -1, -1, + -1, -1, 314, -1, -1, 317, -1, 478, -1, -1, + -1, -1, 227, 228, -1, 3710, -1, 3712, 3713, 3714, + 4321, 3140, -1, -1, -1, 3144, -1, -1, 728, -1, + -1, -1, -1, 3140, -1, -1, 78, 3144, -1, -1, + 255, -1, -1, -1, -1, -1, -1, 4134, 10, -1, + -1, 13, -1, -1, 754, 17, 18, 19, -1, -1, -1, -1, -1, -1, -1, -1, 199, -1, -1, -1, - -1, 204, -1, 4636, -1, -1, 78, -1, 4641, 4642, - 4643, -1, -1, -1, -1, -1, -1, -1, 291, 3887, - 4653, -1, 295, -1, 227, 228, -1, -1, -1, -1, - -1, 728, 1923, 306, -1, -1, -1, -1, -1, -1, - -1, -1, 3910, 316, -1, -1, -1, 1938, -1, -1, - 1941, 1942, 255, -1, -1, 328, 4694, 754, -1, -1, - -1, 4694, -1, 135, 4697, -1, -1, -1, -1, -1, - 142, -1, -1, -1, 146, -1, -1, -1, -1, -1, - -1, 1972, 1973, -1, -1, -1, -1, -1, -1, 10, - 4723, -1, 13, -1, -1, 298, 17, 18, 19, -1, - 373, 374, -1, 175, -1, -1, -1, 4740, -1, -1, - -1, 314, -1, -1, 317, -1, 37, -1, -1, -1, - -1, -1, -1, -1, -1, 4758, 47, -1, -1, -1, - -1, -1, 405, 54, -1, -1, -1, -1, -1, 211, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 4786, -1, -1, 4789, -1, -1, 80, - -1, -1, -1, -1, 4797, 4798, -1, 4800, -1, -1, - -1, -1, 4805, 4806, -1, -1, -1, 4810, -1, -1, - -1, 2072, 4815, -1, -1, 4818, -1, 4820, -1, -1, - -1, -1, -1, 4826, -1, 2086, -1, -1, 2089, 4067, - 897, -1, -1, -1, -1, 478, -1, 410, -1, -1, - -1, -1, -1, -1, -1, 4848, -1, -1, -1, 291, - -1, -1, 4855, 295, -1, 2116, -1, 4860, -1, -1, - 4863, 4864, -1, -1, 306, -1, -1, -1, 4871, 27, - -1, -1, -1, -1, 316, 33, -1, -1, -1, -1, - -1, -1, 8, -1, -1, -1, 328, 4890, 14, 15, - -1, -1, -1, -1, 20, -1, 22, -1, -1, -1, - -1, -1, 28, -1, 30, -1, -1, -1, 199, -1, - -1, -1, -1, 204, -1, -1, 4919, -1, -1, -1, - 78, -1, -1, 49, 50, -1, -1, -1, 370, 4932, - -1, 373, 374, -1, 4937, -1, 227, 228, -1, -1, - -1, -1, -1, -1, 517, -1, -1, -1, -1, -1, + -1, 204, 4159, -1, -1, 37, -1, -1, -1, -1, + -1, -1, -1, 298, -1, 47, -1, -1, -1, -1, + -1, -1, 54, 135, 227, 228, -1, -1, 410, 314, + 142, -1, 317, -1, 146, -1, 4321, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 4417, -1, 80, -1, + -1, -1, 255, -1, -1, -1, -1, -1, 3247, -1, + -1, -1, -1, 175, -1, -1, -1, 3832, -1, -1, + 3247, -1, -1, 3262, 4445, -1, 3841, -1, 3267, -1, + -1, -1, -1, -1, -1, 3262, -1, -1, -1, -1, + 3267, -1, -1, 728, -1, 298, -1, -1, -1, 211, + -1, -1, 3867, 3868, -1, -1, 1843, 3872, -1, 3298, + -1, 314, -1, -1, 317, -1, -1, 1854, -1, 754, + -1, 3298, -1, -1, -1, 410, -1, -1, 898, 3894, + -1, -1, 4417, 1870, -1, 517, -1, -1, -1, -1, + -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, + 532, 533, 534, -1, -1, -1, -1, 539, -1, -1, + 4445, -1, -1, -1, 4321, -1, -1, 199, -1, -1, + -1, -1, 204, -1, -1, -1, -1, -1, -1, 291, + -1, 3946, -1, 295, -1, -1, 3951, 1924, -1, -1, + -1, -1, 3957, -1, 306, 227, 228, -1, -1, -1, + -1, -1, 1939, -1, 316, 1942, 1943, 410, -1, -1, + -1, -1, -1, -1, -1, -1, 328, -1, 4589, -1, + -1, -1, 3987, 255, -1, -1, -1, -1, -1, -1, + -1, -1, 517, -1, -1, -1, 1973, 1974, -1, -1, + -1, 526, 527, 528, 529, 530, 531, 532, 533, 534, + -1, 4016, -1, 4018, 539, -1, -1, -1, 370, -1, + 4417, 373, 374, 898, -1, 4636, 298, -1, -1, -1, + 4641, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 314, -1, -1, 317, 27, -1, 4445, -1, + -1, 1061, 33, 405, -1, -1, -1, -1, -1, -1, + -1, -1, 1072, -1, 4589, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 517, -1, -1, -1, 1088, -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, 532, - 533, 534, -1, 405, 255, -1, 539, -1, -1, -1, - 4973, -1, -1, -1, -1, -1, -1, 135, -1, -1, - -1, -1, 4990, -1, 142, -1, -1, 4990, 146, -1, - -1, -1, 4995, 1060, 5002, -1, -1, -1, -1, 5002, - -1, -1, -1, -1, 1071, -1, -1, 298, -1, -1, - -1, -1, -1, -1, 25, 5018, -1, 175, -1, 30, - 1087, -1, 5025, 314, -1, -1, 317, -1, -1, -1, - -1, -1, -1, -1, 5037, -1, 478, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 211, -1, -1, -1, 68, -1, -1, - -1, -1, -1, -1, -1, 5068, -1, -1, -1, -1, - 81, -1, -1, -1, 200, -1, -1, -1, 204, -1, - -1, -1, -1, -1, -1, -1, 212, 98, -1, 215, - -1, 5094, 218, 219, -1, 221, -1, 223, -1, -1, - 226, -1, 228, -1, -1, 116, 51, -1, 5111, -1, - -1, -1, -1, 5116, -1, -1, -1, -1, 51, 410, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 140, - -1, -1, 5135, 291, -1, -1, -1, 295, -1, 5142, - -1, -1, -1, 154, -1, -1, -1, -1, 306, -1, - -1, -1, 163, -1, -1, -1, -1, -1, 316, -1, - -1, -1, -1, -1, -1, 176, -1, -1, -1, -1, - 328, 182, -1, -1, -1, -1, -1, 1244, 189, 4417, - -1, -1, -1, -1, -1, 5188, -1, 5190, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 209, -1, - -1, -1, -1, -1, -1, -1, -1, 4445, -1, -1, - -1, -1, 370, 5221, -1, 373, 374, -1, 5221, -1, - -1, 4459, -1, -1, -1, -1, 517, -1, -1, -1, - -1, -1, -1, 4471, -1, 526, 527, 528, 529, 530, - 531, 532, 533, 534, 5247, -1, -1, 405, 539, -1, - -1, -1, -1, 27, 5257, -1, -1, 5260, 269, 33, - 5263, 5264, 5265, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 5288, 5289, -1, -1, -1, - 5293, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 314, 78, -1, -1, -1, 5311, 4547, - 4548, -1, 5315, -1, -1, -1, 327, -1, 5321, -1, - 478, -1, 5325, -1, -1, -1, -1, -1, 5331, 5332, - 341, -1, -1, -1, -1, -1, -1, 5340, -1, 1406, - 351, 352, 2603, 5346, 355, -1, 5349, 5355, -1, 5357, - -1, -1, 5355, -1, 5357, -1, -1, -1, -1, -1, - -1, 135, -1, -1, -1, -1, -1, -1, 142, -1, - -1, 382, 146, -1, 385, -1, -1, 5380, 389, -1, - -1, 392, -1, -1, -1, -1, -1, -1, 399, -1, - -1, 402, -1, -1, -1, -1, -1, -1, 4636, -1, - -1, 175, -1, -1, 5407, 5408, -1, -1, -1, -1, - -1, 422, -1, -1, -1, 5418, -1, -1, -1, 430, - -1, -1, -1, -1, -1, -1, 437, -1, -1, 440, - -1, -1, -1, -1, 445, -1, -1, 211, -1, -1, - 1507, -1, 453, -1, 455, -1, -1, -1, -1, 460, - -1, 4689, -1, -1, -1, 5458, -1, -1, -1, -1, - 5463, -1, -1, 474, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 487, -1, -1, -1, - -1, -1, 2743, -1, -1, -1, 2747, 2748, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 1574, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 291, -1, -1, - -1, 295, -1, 5526, -1, -1, 5529, -1, -1, -1, - -1, -1, 306, -1, -1, -1, -1, -1, -1, -1, - 666, 2802, 316, -1, -1, -1, -1, 2808, 1615, -1, - -1, 677, -1, -1, 328, 681, -1, 5560, -1, -1, - -1, -1, 688, 689, -1, -1, 692, -1, 694, 695, - -1, -1, -1, -1, 5577, -1, -1, -1, 5581, -1, - 5583, 1648, -1, 709, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 5597, 2856, 370, -1, -1, 373, - 374, 727, 5605, -1, -1, 5608, -1, -1, -1, -1, - -1, -1, 10, -1, -1, 13, 5619, -1, -1, 17, - 18, 19, 748, 5626, 750, -1, -1, -1, -1, -1, - -1, 405, -1, -1, 760, -1, -1, -1, 51, 37, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 47, - -1, -1, -1, -1, -1, -1, 54, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 793, -1, -1, - -1, -1, -1, -1, -1, 5678, -1, -1, -1, -1, - -1, 5684, 80, -1, -1, -1, 5689, 5690, -1, -1, - -1, 5694, -1, -1, -1, -1, -1, 5700, 5701, 5702, - -1, -1, -1, -1, 478, -1, -1, -1, -1, -1, - -1, -1, -1, 5716, -1, -1, -1, 4955, -1, -1, - -1, -1, -1, 4961, -1, -1, -1, -1, 4966, -1, - -1, -1, -1, 5736, -1, -1, -1, -1, -1, -1, - -1, -1, 5745, -1, 10, 5748, -1, 13, 874, -1, - -1, 17, 18, 19, -1, 4993, 4994, -1, -1, -1, - 4998, 4999, -1, -1, -1, -1, -1, -1, -1, -1, - 5773, 37, -1, 3034, -1, 1842, -1, -1, -1, -1, - -1, 47, -1, 728, -1, -1, 1853, -1, 54, -1, - -1, -1, -1, -1, -1, 728, -1, -1, -1, 5802, - 5803, 199, 1869, -1, -1, 3066, 204, -1, -1, 754, - -1, -1, -1, -1, 80, -1, -1, -1, -1, -1, - -1, 754, -1, 5826, 5827, -1, -1, -1, -1, 227, - 228, -1, -1, 959, -1, 5838, -1, -1, -1, -1, - -1, -1, -1, -1, 5847, 5848, 5849, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 1923, 255, -1, 5862, - 5863, -1, -1, 5866, -1, -1, -1, -1, 5871, -1, - 5873, 1938, 5875, -1, 1941, 1942, -1, -1, 3139, -1, - -1, -1, 3143, -1, 5887, -1, -1, -1, -1, -1, - -1, 5894, -1, -1, -1, -1, -1, -1, -1, -1, - 298, -1, -1, -1, -1, 1972, 1973, 1033, -1, -1, - -1, 5914, -1, -1, -1, -1, 314, -1, -1, 317, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 1058, 199, -1, -1, 5939, -1, 204, 5942, - -1, -1, -1, -1, -1, -1, -1, 1073, -1, 1075, - -1, -1, 897, -1, -1, -1, -1, -1, -1, 1085, - -1, 227, 228, -1, 897, -1, 1092, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 3246, -1, -1, -1, 255, - -1, 5994, -1, -1, -1, -1, -1, -1, -1, -1, - 3261, -1, -1, -1, -1, 3266, -1, -1, -1, 1135, - -1, 1137, 410, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 10, -1, -1, 13, - -1, -1, 298, 17, 18, 19, 3297, -1, -1, -1, - -1, -1, 6045, -1, -1, -1, -1, -1, 314, 2116, - -1, 317, -1, 37, -1, -1, -1, 6060, -1, -1, - -1, -1, -1, 47, -1, -1, -1, 6070, -1, -1, - 54, -1, -1, -1, -1, -1, -1, -1, -1, 6087, - -1, -1, -1, -1, 6087, 1211, -1, 1213, -1, 1215, - -1, 1217, -1, 1219, 1220, 1221, 80, -1, 6101, -1, - 1226, -1, -1, -1, -1, -1, -1, -1, 6111, -1, - -1, -1, 1238, -1, -1, 1060, -1, -1, -1, 517, - -1, -1, -1, -1, -1, -1, 1071, 1060, 526, 527, - 528, 529, 530, 531, 532, 533, 534, -1, 1071, -1, - -1, 539, 1087, -1, 410, -1, -1, -1, -1, 6152, - -1, -1, -1, -1, 1087, -1, -1, -1, -1, 6162, - -1, -1, -1, -1, -1, -1, -1, 6170, 6171, 5407, - -1, -1, -1, 6176, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 6207, 6208, -1, -1, 6211, -1, - -1, -1, -1, -1, -1, 199, -1, -1, -1, -1, - 204, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 533, 534, -1, -1, -1, -1, 539, 78, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 4636, -1, -1, -1, -1, 4641, -1, -1, -1, + -1, -1, -1, -1, 3553, -1, 478, 3556, -1, 3558, + -1, -1, -1, -1, 3563, -1, 3553, -1, 410, 3556, + 2117, 3558, -1, -1, -1, -1, 3563, -1, -1, -1, + -1, -1, -1, -1, 135, -1, -1, -1, -1, -1, + -1, 142, -1, -1, -1, 146, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 3605, -1, -1, -1, + -1, -1, -1, -1, 3613, -1, 1061, -1, 3605, 4800, + -1, -1, 4589, -1, 175, -1, 3613, 1072, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 3638, + -1, -1, -1, 1088, -1, -1, -1, -1, -1, -1, + -1, 3638, -1, -1, -1, -1, -1, -1, -1, -1, + 211, -1, -1, 1243, -1, -1, -1, -1, -1, 4636, + -1, -1, -1, -1, 4641, 517, -1, 2744, -1, -1, + -1, 2748, 2749, -1, 526, 527, 528, 529, 530, 531, + 532, 533, 534, -1, -1, -1, -1, 539, -1, -1, + -1, -1, -1, -1, -1, 4800, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 3718, + -1, 3720, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 3718, -1, 3720, -1, -1, 2803, -1, 4919, -1, + 291, -1, 2809, -1, 295, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 306, -1, -1, 4333, -1, + 4335, -1, -1, -1, -1, 316, -1, -1, -1, -1, + -1, -1, -1, 4348, -1, -1, -1, 328, -1, -1, + -1, -1, -1, -1, -1, 4360, -1, -1, -1, 4364, + 2857, -1, 4973, -1, -1, -1, -1, -1, 1243, -1, + -1, 4376, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 4995, -1, -1, 3816, -1, 370, + -1, 4396, 373, 374, 4919, -1, -1, -1, -1, 3816, + -1, -1, -1, 4800, -1, -1, -1, -1, -1, 4414, + -1, -1, -1, -1, -1, -1, -1, 4422, -1, -1, + -1, -1, -1, -1, 405, -1, -1, -1, -1, -1, + -1, 3860, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 4447, 3860, -1, -1, 4451, -1, 4973, -1, + -1, -1, -1, -1, -1, -1, -1, 5068, -1, 3888, + -1, -1, 4467, 4468, 4469, 4470, -1, -1, -1, -1, + 4995, 3888, 4477, 4478, 4479, 4480, -1, -1, -1, -1, + -1, 4486, 4487, -1, -1, -1, -1, 4492, 4493, -1, + 4495, 4496, 4497, 4498, 4499, 4500, 4501, 478, 1508, -1, + -1, -1, -1, -1, -1, -1, 4511, -1, -1, -1, + 4515, 4516, 4517, 4518, -1, -1, -1, -1, -1, -1, + -1, -1, 4919, -1, -1, -1, -1, 3956, -1, -1, + -1, -1, -1, -1, 4539, -1, -1, -1, -1, 3956, + -1, -1, -1, 5068, -1, -1, -1, -1, -1, 3978, + -1, -1, 4557, -1, -1, -1, -1, -1, -1, -1, + -1, 3978, -1, -1, -1, 1575, -1, -1, -1, -1, + 3067, 4000, -1, -1, -1, -1, 4973, -1, -1, 5190, + -1, -1, -1, 4000, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 4995, -1, + -1, -1, -1, -1, -1, 10, 1616, -1, 13, -1, + -1, -1, 17, 18, 19, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 4634, + -1, -1, 37, 1508, -1, -1, -1, -1, -1, 1649, + -1, -1, 47, 3140, -1, -1, -1, 3144, -1, 54, + -1, -1, 4081, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 4668, 4081, 5190, -1, -1, -1, -1, + 4675, 5068, 4677, -1, -1, 80, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 4704, + 1575, -1, -1, -1, -1, 4134, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 4134, -1, -1, + 5331, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 4159, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 1616, 4159, -1, -1, -1, -1, -1, -1, -1, + 3247, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 3262, -1, 2744, -1, -1, + 3267, 2748, 2749, -1, 1649, -1, -1, -1, -1, -1, + 198, 199, -1, -1, 202, -1, -1, -1, -1, -1, + -1, 5188, -1, 5190, 199, -1, 5407, -1, -1, 204, + -1, 3298, -1, -1, 222, -1, 5331, -1, -1, -1, + -1, 229, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 227, 228, -1, -1, 2803, -1, -1, -1, + -1, -1, 2809, 1843, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 1854, -1, -1, -1, -1, -1, + 255, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 1870, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 2857, -1, 5407, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 4321, 298, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 4321, -1, -1, -1, -1, 314, + -1, -1, 317, -1, 1924, 4920, 4921, 4922, 5529, -1, + -1, 4926, 4927, 4928, 4929, -1, -1, -1, 4933, 1939, + -1, -1, 1942, 1943, 5331, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 1973, 1974, -1, -1, -1, 1843, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 1854, + 4985, 4986, 4987, 4988, 4989, -1, 4991, 4992, 4417, -1, + -1, -1, -1, -1, -1, 1870, -1, -1, 5003, 5004, + 4417, -1, -1, -1, 5529, 410, -1, -1, -1, -1, + 5407, -1, -1, -1, -1, -1, 4445, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 4445, -1, + -1, -1, -1, 5038, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 1924, + -1, -1, -1, -1, -1, -1, 3553, -1, -1, 3556, + -1, 3558, -1, -1, 1939, -1, 3563, 1942, 1943, -1, + -1, -1, -1, 5684, -1, -1, -1, -1, 5689, 5690, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 227, 228, -1, -1, -1, 6251, -1, - -1, 517, -1, -1, -1, -1, -1, -1, -1, -1, + 3067, -1, -1, -1, -1, -1, -1, -1, 1973, 1974, + -1, -1, -1, -1, -1, -1, -1, 2117, 3605, -1, + -1, -1, 517, -1, -1, -1, 3613, -1, -1, -1, + -1, 526, 527, 528, 529, 530, 531, 532, 533, 534, + -1, -1, 5529, -1, 539, -1, 5141, -1, -1, -1, + -1, 3638, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 5684, + 4589, -1, -1, 3140, 5689, 5690, -1, 3144, -1, -1, + -1, -1, 4589, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 5803, -1, -1, -1, -1, -1, -1, -1, + -1, 5206, -1, -1, -1, -1, -1, 4636, -1, -1, + -1, -1, 4641, -1, -1, -1, -1, -1, -1, 4636, + -1, 3718, -1, 3720, 4641, -1, -1, -1, -1, -1, + -1, -1, -1, 5238, -1, -1, -1, -1, 25, -1, + -1, -1, 2117, 30, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 5866, 674, -1, 676, -1, + -1, 679, -1, -1, -1, -1, -1, -1, -1, -1, + 3247, -1, -1, -1, -1, 693, -1, -1, 5803, -1, + -1, 699, -1, -1, -1, 3262, -1, 5684, -1, -1, + 3267, -1, 5689, 5690, 81, 82, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 98, -1, -1, -1, -1, -1, -1, -1, 3816, + -1, 3298, -1, -1, -1, -1, -1, -1, -1, 116, + -1, -1, -1, 5338, -1, -1, -1, 10, -1, -1, + 13, 5866, -1, -1, 17, 18, 19, -1, -1, -1, + -1, -1, -1, 140, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 3860, 37, -1, -1, 154, -1, -1, + -1, 4800, -1, -1, 47, -1, 163, -1, -1, -1, + -1, 54, -1, 4800, -1, -1, -1, -1, -1, 176, + -1, 3888, -1, -1, -1, 182, -1, -1, -1, -1, + -1, -1, -1, -1, 5409, 5802, 5803, 80, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 209, 5428, -1, -1, -1, -1, -1, 5434, + 5435, -1, -1, -1, -1, -1, -1, -1, -1, 5444, + -1, -1, -1, -1, -1, -1, 5451, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 3956, + 247, -1, -1, -1, -1, -1, -1, -1, -1, 5866, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 3978, 269, 5488, 5489, -1, -1, -1, -1, -1, + 4919, -1, -1, -1, -1, -1, 5501, -1, 5503, -1, + -1, -1, 4919, 4000, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 5518, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 199, -1, -1, -1, + -1, 204, -1, -1, -1, -1, -1, -1, 5543, -1, + -1, -1, -1, -1, 4973, -1, 5551, -1, -1, -1, + 206, 207, -1, -1, 227, 228, 4973, -1, 214, -1, + 216, 217, -1, -1, 351, 352, 4995, -1, 355, 987, + 988, -1, -1, -1, 230, -1, 3553, -1, 4995, 3556, + -1, 3558, 255, -1, 4081, -1, 3563, -1, -1, -1, + -1, -1, -1, -1, -1, 382, -1, -1, 385, -1, + -1, -1, -1, -1, -1, 392, -1, -1, -1, -1, + -1, -1, 399, -1, -1, 402, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 298, -1, -1, 3605, -1, + -1, -1, -1, -1, -1, 422, 3613, 4134, 5643, 5068, + 1058, 314, -1, 430, 317, -1, -1, -1, -1, -1, + 437, 5068, 5657, 440, -1, 1073, -1, -1, 445, -1, + -1, 3638, 4159, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 460, -1, -1, -1, -1, 5683, -1, + -1, -1, -1, -1, -1, -1, 1104, 1105, 10, -1, + -1, 13, -1, -1, -1, 17, 18, 19, -1, -1, + 487, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 1130, -1, -1, 37, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 47, -1, -1, -1, -1, + -1, -1, 54, -1, 2744, -1, -1, 410, 2748, 2749, + -1, 3718, -1, 3720, -1, -1, 5751, -1, -1, -1, + -1, 1169, 1170, -1, -1, -1, -1, -1, 80, -1, + -1, 5190, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 5190, -1, -1, -1, 6388, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 2803, -1, -1, -1, -1, -1, 2809, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 5821, -1, -1, -1, + -1, -1, -1, -1, 4321, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 3816, + -1, -1, -1, -1, 517, -1, -1, 2857, -1, -1, + 5855, -1, -1, 526, 527, 528, 529, 530, 531, 532, + 533, 534, -1, 6388, -1, -1, 539, -1, -1, 2744, + -1, -1, -1, 2748, 2749, -1, -1, 199, -1, -1, + -1, -1, 204, 3860, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 5901, -1, -1, -1, + -1, -1, 5331, -1, -1, 227, 228, -1, -1, -1, + -1, 3888, -1, -1, 5331, -1, -1, -1, -1, -1, + 4417, 5926, -1, -1, -1, -1, -1, -1, 2803, -1, + -1, -1, -1, 255, 2809, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 4445, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 298, -1, 5407, 3956, + 5985, -1, 2857, -1, -1, -1, -1, -1, -1, -1, + 5407, 6388, 314, -1, -1, 317, -1, -1, -1, -1, + -1, 3978, -1, -1, 10, -1, -1, 13, -1, 665, + -1, 17, 18, 19, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 4000, -1, -1, -1, -1, 684, -1, + -1, 37, -1, -1, 690, -1, -1, -1, -1, -1, + -1, 47, -1, 208, -1, -1, 702, -1, 54, -1, + -1, -1, -1, -1, -1, 220, -1, 3067, 6455, -1, + -1, -1, 718, -1, -1, -1, 231, -1, -1, -1, + -1, -1, -1, -1, 80, -1, 732, 733, -1, -1, + -1, -1, -1, 739, -1, 741, 742, -1, 410, -1, + -1, -1, 4589, -1, -1, 6100, -1, -1, -1, 755, + 5529, -1, -1, -1, 4081, -1, -1, -1, -1, 765, + -1, -1, 5529, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 6129, -1, -1, -1, -1, -1, + 3140, -1, -1, -1, 3144, 6140, -1, -1, -1, 4636, + -1, -1, -1, -1, 4641, -1, -1, -1, -1, -1, + 1568, -1, -1, -1, -1, -1, -1, 4134, -1, -1, + -1, -1, 818, -1, -1, -1, -1, -1, -1, -1, + -1, 207, -1, -1, -1, 1593, -1, -1, -1, -1, + 216, -1, 4159, -1, -1, -1, -1, -1, -1, -1, + -1, 847, 3067, 199, 230, 517, -1, -1, 204, -1, + -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, + 532, 533, 534, -1, -1, -1, 872, 539, -1, -1, + -1, 227, 228, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 3247, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 255, + -1, -1, 3262, -1, 1672, 5684, -1, 3267, -1, -1, + 5689, 5690, 6267, -1, -1, 3140, -1, 5684, 10, 3144, + -1, 13, 5689, 5690, -1, 17, 18, 19, 934, -1, + -1, -1, -1, -1, 1702, 1703, 1704, 1705, 3298, -1, + -1, -1, 298, -1, -1, 37, -1, -1, -1, -1, + -1, -1, -1, 4800, -1, 47, -1, -1, 314, -1, + -1, 317, 54, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 80, -1, + -1, -1, -1, -1, 4321, -1, 10, -1, -1, 13, + -1, -1, -1, 17, 18, 19, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3247, 37, 5803, -1, -1, -1, -1, -1, + -1, -1, -1, 47, -1, -1, 5803, 3262, 1044, -1, + 54, -1, 3267, -1, -1, 1051, -1, -1, -1, -1, + -1, -1, -1, -1, 410, -1, 1062, -1, -1, -1, + 1066, -1, 1068, -1, -1, -1, 80, -1, -1, -1, + -1, -1, 4919, 3298, -1, -1, -1, -1, -1, -1, + -1, 1849, 1850, -1, -1, -1, -1, 5866, -1, -1, + 4417, -1, -1, -1, -1, -1, -1, 1865, -1, 5866, + -1, -1, -1, -1, -1, -1, -1, 199, -1, -1, + -1, -1, 204, -1, -1, -1, -1, -1, 4445, -1, + -1, -1, -1, -1, 6479, -1, 4973, -1, -1, -1, + -1, 1899, 1900, 1901, 1902, 227, 228, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 4995, -1, + -1, 666, -1, -1, -1, -1, -1, 672, -1, -1, + -1, 517, -1, 255, -1, -1, -1, -1, 1174, -1, 526, 527, 528, 529, 530, 531, 532, 533, 534, -1, - -1, 255, -1, 539, 6277, -1, -1, -1, -1, -1, - 6283, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 3552, -1, -1, 3555, -1, 3557, -1, 6301, 1244, - -1, 3562, 1428, -1, -1, 6308, -1, -1, -1, -1, - -1, 1244, -1, -1, 298, 728, -1, -1, -1, -1, - -1, 6324, -1, -1, -1, -1, -1, -1, -1, -1, - 314, -1, -1, 317, -1, -1, -1, -1, -1, -1, - -1, 754, 6345, 3604, -1, -1, -1, -1, -1, -1, - -1, 3612, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 10, -1, -1, 13, -1, -1, -1, 17, - 18, 19, -1, -1, -1, -1, 3637, -1, -1, -1, - 6383, -1, -1, -1, -1, 6388, -1, -1, -1, 37, - -1, 6394, -1, -1, -1, -1, -1, -1, -1, 47, - -1, -1, -1, -1, -1, 6408, 54, -1, -1, -1, - 10, -1, 6415, 13, -1, -1, -1, 17, 18, 19, - -1, -1, 1548, -1, -1, -1, 410, -1, -1, -1, - -1, -1, 80, -1, -1, -1, -1, 37, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 47, -1, -1, - -1, -1, 6455, 6456, 54, -1, 3717, -1, 3719, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 6472, - -1, -1, -1, 6476, -1, -1, -1, -1, 5716, -1, - 80, -1, -1, -1, 897, -1, 6489, 6490, -1, -1, - -1, -1, -1, -1, 1620, -1, -1, -1, 6501, -1, + -1, -1, -1, 539, -1, 199, -1, -1, -1, -1, + 204, -1, -1, 3553, -1, -1, 3556, -1, 3558, -1, + -1, -1, -1, 3563, -1, -1, 298, -1, -1, -1, + -1, -1, 1980, 227, 228, -1, -1, -1, 1986, -1, + -1, 5068, 314, -1, -1, 317, -1, -1, -1, 1235, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 1245, + -1, 255, -1, -1, -1, 3605, -1, -1, -1, -1, + -1, -1, -1, 3613, -1, -1, 1262, -1, -1, -1, + -1, 1267, 4589, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 3638, 665, + -1, -1, -1, -1, 298, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 684, -1, + 314, -1, -1, 317, 690, -1, -1, -1, -1, 4636, + -1, -1, 10, -1, 4641, 13, 702, -1, 410, 17, + 18, 19, -1, -1, -1, -1, -1, -1, 3553, 844, + -1, 3556, 718, 3558, -1, -1, -1, -1, 3563, 37, + -1, -1, -1, 5190, -1, -1, -1, 733, 863, 47, + -1, -1, -1, -1, -1, 741, 54, -1, 3718, -1, + 3720, -1, -1, -1, -1, -1, -1, -1, -1, 755, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 765, + 3605, -1, 80, -1, -1, -1, -1, -1, 3613, -1, + -1, -1, -1, -1, -1, -1, 410, -1, 1404, -1, + -1, -1, -1, -1, -1, -1, 1412, 1413, 2176, -1, + -1, -1, -1, 3638, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 517, -1, -1, -1, -1, + -1, -1, 818, -1, 526, 527, 528, 529, 530, 531, + 532, 533, 534, -1, -1, -1, -1, 539, -1, -1, + -1, -1, -1, -1, -1, -1, 3816, -1, -1, 1465, + -1, 847, -1, -1, -1, -1, -1, 982, -1, -1, + -1, -1, -1, 4800, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 5331, -1, 872, -1, -1, -1, + -1, -1, -1, 3718, -1, 3720, -1, -1, -1, -1, + 3860, 199, -1, 517, -1, -1, 204, -1, -1, -1, + -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, + 534, -1, -1, -1, -1, 539, -1, -1, 3888, 227, + 228, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 934, -1, + -1, -1, -1, -1, -1, -1, -1, 255, -1, -1, + 5407, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 1097, -1, -1, -1, -1, -1, -1, -1, + -1, 3816, 4919, -1, -1, -1, 3956, -1, -1, -1, + 298, -1, -1, -1, -1, -1, -1, -1, -1, 6388, + -1, 1126, 1127, 1128, -1, -1, 314, -1, 3978, 317, + -1, 6388, 10, -1, -1, 13, -1, -1, -1, 17, + 18, 19, -1, -1, -1, 3860, -1, -1, 30, -1, + 4000, -1, -1, -1, -1, -1, 4973, -1, -1, 37, + -1, -1, -1, 41, -1, -1, -1, -1, 1044, 47, + -1, -1, -1, 3888, -1, 1051, 54, -1, 4995, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 5529, -1, -1, -1, -1, -1, -1, 81, + -1, -1, 80, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 98, -1, -1, -1, + 1716, -1, 410, -1, -1, -1, -1, -1, -1, 1234, + -1, 4081, -1, -1, 116, -1, -1, -1, -1, -1, + 122, 3956, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 5068, -1, -1, 132, -1, 1261, -1, 140, -1, + -1, -1, -1, 3978, -1, -1, -1, -1, -1, -1, + -1, -1, 154, -1, -1, -1, -1, -1, -1, -1, + -1, 163, -1, -1, 4134, 4000, -1, -1, -1, -1, + -1, -1, -1, -1, 176, -1, -1, -1, 1174, -1, + 182, -1, -1, -1, -1, -1, -1, 189, -1, 4159, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 199, -1, -1, -1, -1, 204, 209, -1, 517, + -1, -1, -1, -1, -1, 1831, -1, -1, 526, 527, + 528, 529, 530, 531, 532, 533, 534, 5684, -1, 227, + 228, 539, 5689, 5690, -1, -1, -1, -1, -1, 1235, + -1, -1, -1, -1, -1, 247, 4081, -1, -1, 1245, + 1866, -1, -1, 5190, -1, -1, -1, 255, -1, -1, + -1, -1, -1, -1, -1, -1, 1262, 269, -1, -1, + 2648, 1267, -1, 1889, -1, -1, -1, -1, -1, -1, + -1, 1897, -1, -1, -1, -1, -1, -1, -1, 1905, + -1, -1, -1, 1418, -1, -1, -1, -1, 10, 4134, + 298, 13, -1, -1, -1, 17, 18, 19, -1, -1, + -1, -1, 314, -1, -1, -1, 314, -1, -1, 317, + -1, -1, -1, -1, 4159, 37, -1, -1, -1, -1, + 1946, 1947, -1, 1949, 1950, 47, -1, -1, -1, 341, + -1, -1, 54, -1, -1, 1961, 5803, 1963, 1964, 351, + 352, 4321, -1, 355, -1, 10, -1, -1, 13, -1, + 1976, 1977, 17, 18, 19, -1, -1, -1, 80, -1, + -1, -1, -1, 1498, -1, -1, -1, -1, -1, -1, + 382, -1, 37, 385, -1, -1, -1, 389, -1, -1, + 392, -1, 47, -1, 5331, -1, -1, 399, 2014, 54, + 402, -1, 2018, 2019, -1, -1, -1, -1, 1404, 5866, + -1, -1, 410, -1, -1, -1, 1412, 1413, -1, -1, + 422, -1, -1, -1, -1, 80, -1, -1, 430, -1, + -1, -1, 2810, 435, -1, 437, -1, -1, 440, -1, + -1, -1, -1, 445, -1, -1, -1, 4417, -1, -1, + -1, -1, -1, 455, -1, -1, 1581, -1, 460, -1, + -1, -1, 174, -1, -1, 1590, -1, -1, 180, 1465, + 5407, -1, 474, -1, -1, 4445, -1, 475, -1, -1, + -1, -1, -1, -1, -1, 487, 4321, 199, -1, -1, + -1, -1, 204, -1, -1, -1, -1, 1622, -1, -1, + -1, -1, -1, 1628, 1629, -1, -1, 1632, -1, -1, + -1, -1, -1, -1, -1, 227, 228, -1, 173, 517, + 1645, -1, 2138, 1648, -1, -1, -1, -1, 526, 527, + 528, 529, 530, 531, 532, 533, 534, -1, -1, -1, + -1, -1, -1, 255, 199, -1, -1, -1, -1, 204, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 227, 228, -1, -1, -1, 2955, -1, -1, + 2958, 1706, 4417, -1, -1, -1, 298, -1, -1, -1, + -1, -1, 5529, -1, -1, 1720, -1, -1, -1, -1, + 255, -1, 314, -1, -1, 317, -1, -1, -1, -1, + 4445, -1, -1, -1, -1, -1, -1, -1, -1, 4589, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 517, -1, -1, -1, -1, -1, -1, - -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, - 534, 199, -1, -1, 3815, 539, 204, -1, -1, -1, - -1, -1, 1507, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 1507, -1, -1, -1, -1, 227, - 228, -1, -1, 3844, -1, -1, -1, -1, -1, 3850, - -1, -1, -1, -1, -1, -1, -1, -1, 3859, 199, - -1, -1, -1, -1, 204, -1, -1, 255, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 3887, 227, 228, 1574, + -1, -1, -1, 298, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 314, + -1, -1, 317, -1, -1, -1, 4636, -1, -1, 3047, + -1, 4641, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3060, -1, -1, -1, -1, -1, 343, -1, + 3068, -1, -1, -1, -1, -1, -1, -1, 410, -1, + -1, -1, -1, -1, -1, 1830, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 1841, -1, -1, -1, + 1716, -1, -1, -1, -1, -1, -1, -1, -1, 3107, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 5684, -1, -1, + 3128, -1, 5689, 5690, 4589, 410, -1, -1, 1883, 1884, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 1574, -1, -1, -1, -1, -1, 1060, -1, -1, - 298, -1, -1, -1, -1, 255, -1, -1, 1071, -1, - -1, -1, -1, -1, -1, -1, 314, -1, -1, 317, - 1615, -1, -1, -1, 1087, -1, 2743, -1, -1, -1, - 2747, 2748, 1615, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 5931, 3955, -1, -1, -1, 298, -1, - -1, -1, -1, 1648, -1, -1, -1, -1, -1, -1, - -1, -1, 1838, -1, 314, 1648, 3977, 317, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 2802, -1, -1, 3999, -1, - -1, 2808, -1, -1, -1, -1, -1, 1873, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, - 13, -1, 410, -1, 17, 18, 19, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 37, -1, -1, -1, -1, 2856, - -1, -1, -1, 1919, 47, -1, -1, -1, -1, -1, - -1, 54, -1, -1, -1, -1, -1, -1, -1, -1, - 410, -1, -1, 1939, -1, -1, -1, -1, -1, -1, - 4081, -1, -1, -1, -1, -1, -1, 80, -1, -1, - -1, 1244, -1, -1, -1, -1, -1, -1, -1, 1965, - -1, 1967, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 1982, -1, 1984, -1, - -1, -1, -1, -1, 1990, -1, 1992, -1, 1994, 517, - 1996, -1, 1998, 4134, -1, -1, 2002, -1, 526, 527, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 1908, -1, -1, -1, -1, -1, -1, + 1915, -1, -1, 3171, -1, 3173, -1, -1, -1, -1, + -1, 4636, -1, -1, -1, 517, 4641, -1, -1, -1, + -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, + 532, 533, 534, -1, -1, -1, -1, -1, -1, -1, + 4800, -1, -1, -1, -1, 1831, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 517, 1988, -1, -1, 5803, -1, -1, -1, + 1866, 526, 527, 528, 529, 530, 531, 532, 533, 534, + -1, -1, -1, 3261, -1, -1, -1, -1, -1, -1, + 3268, -1, -1, 1889, -1, -1, 2021, 2022, -1, 10, + -1, 1897, 13, -1, -1, -1, 17, 18, 19, 1905, + -1, -1, -1, 2038, -1, 0, 2041, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 37, -1, -1, 5866, + -1, 6388, -1, -1, -1, -1, 47, 22, -1, -1, + -1, -1, -1, 54, -1, -1, -1, -1, 33, 4919, + 35, 36, -1, 1949, 1950, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 4800, -1, 1963, 53, 80, + -1, -1, -1, -1, -1, -1, -1, -1, 63, -1, + 1976, 1977, -1, -1, -1, -1, -1, -1, -1, -1, + 75, -1, 77, 78, -1, -1, -1, -1, -1, 84, + -1, 86, -1, 4973, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 99, -1, 101, -1, -1, -1, + -1, -1, -1, -1, -1, 4995, -1, -1, -1, -1, + -1, -1, -1, 118, -1, -1, 121, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 136, -1, 138, -1, -1, -1, 142, -1, -1, + -1, -1, 10, -1, 149, 13, 2682, -1, -1, 17, + 18, 19, -1, -1, 159, -1, 161, -1, -1, -1, + -1, -1, -1, 168, 4919, -1, -1, -1, 199, 37, + -1, -1, 40, 204, -1, -1, -1, -1, 5068, 47, + -1, 186, -1, -1, -1, -1, 54, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 227, 228, 203, -1, + -1, 2737, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 80, -1, -1, -1, -1, -1, 4973, 2755, + -1, -1, 2138, 2759, 255, -1, -1, 2763, -1, -1, + -1, -1, -1, -1, -1, -1, 2772, -1, -1, -1, + 4995, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 2787, 257, 258, -1, -1, -1, -1, 263, -1, + -1, -1, -1, -1, -1, -1, -1, 298, 2804, -1, + 2806, 2807, -1, 278, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 314, -1, 2821, 317, -1, -1, -1, + -1, -1, 297, -1, -1, -1, -1, -1, -1, -1, + 5190, -1, -1, -1, -1, 2841, 2842, -1, -1, -1, + 3608, 3609, -1, 5068, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 199, -1, -1, -1, -1, 204, -1, -1, -1, + -1, 346, -1, 2879, 2880, -1, -1, 2883, -1, -1, + -1, -1, -1, -1, -1, -1, 361, -1, -1, 227, + 228, 366, 367, -1, 369, -1, -1, -1, -1, 374, + -1, 2907, -1, 2909, -1, 380, -1, 2913, 383, 410, + -1, -1, -1, -1, -1, 390, -1, 255, -1, -1, + -1, 2927, 397, 398, -1, -1, -1, -1, 2934, -1, + 405, 2937, -1, -1, 409, -1, -1, 2943, -1, -1, + -1, -1, -1, -1, -1, 420, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 2963, -1, -1, + 298, -1, 437, 2969, -1, 5190, -1, -1, -1, -1, + 2976, 5331, -1, -1, -1, -1, 314, -1, -1, 317, + -1, -1, -1, 458, 2990, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 470, -1, -1, 3004, -1, + -1, 476, -1, 3009, -1, -1, 481, -1, -1, 3015, + -1, -1, -1, -1, -1, 516, 517, -1, -1, -1, + 495, -1, -1, -1, -1, 526, 527, 528, 529, 530, + 531, 532, 533, 534, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 519, -1, 10, 5407, -1, 13, + -1, -1, -1, 17, 18, 19, -1, -1, -1, -1, + -1, 6388, -1, 538, -1, -1, 541, -1, -1, 3075, + -1, -1, 410, 37, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 47, -1, 2600, -1, -1, -1, -1, + 54, -1, 10, -1, 3862, 13, 2611, -1, -1, 17, + 18, 19, -1, -1, -1, -1, 5331, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 80, -1, -1, 37, + -1, -1, 40, -1, -1, -1, -1, -1, -1, 47, + -1, -1, -1, -1, -1, -1, 54, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 80, -1, -1, -1, -1, -1, -1, 5529, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 517, + -1, -1, 5407, -1, -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, 534, -1, -1, -1, - -1, 539, -1, -1, -1, -1, -1, 1842, 4159, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 1853, 1842, - -1, -1, -1, 2039, -1, -1, -1, 517, -1, -1, - 1853, -1, -1, -1, 1869, -1, 526, 527, 528, 529, - 530, 531, 532, 533, 534, -1, 1869, -1, -1, 539, - -1, -1, -1, -1, -1, -1, 199, -1, -1, -1, - -1, 204, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 227, 228, -1, -1, 1923, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 1923, -1, -1, 1938, -1, -1, 1941, 1942, -1, 3066, - -1, -1, 255, 51, -1, 1938, -1, -1, 1941, 1942, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 1972, 1973, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 1972, - 1973, -1, -1, -1, -1, 298, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 25, -1, - 4321, 314, -1, 30, 317, -1, 10, -1, -1, 13, - -1, -1, 3139, 17, 18, 19, 3143, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 37, 1507, -1, -1, -1, -1, -1, - -1, 68, -1, 47, -1, -1, -1, 25, -1, -1, - 54, -1, -1, -1, 81, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 43, -1, -1, -1, -1, - -1, 98, -1, -1, -1, -1, 80, -1, -1, 51, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 116, - 68, -1, -1, -1, -1, -1, 4417, 410, -1, -1, - -1, 1574, -1, 81, -1, -1, -1, -1, -1, -1, - -1, 2116, -1, 140, -1, -1, -1, 6415, -1, 3246, - 98, -1, -1, 2116, 4445, -1, -1, 154, -1, -1, - -1, -1, -1, -1, 3261, -1, 163, -1, 116, 3266, - -1, -1, 1615, -1, 122, -1, -1, -1, -1, 176, - -1, -1, -1, -1, -1, 182, -1, -1, -1, -1, - -1, -1, 140, -1, -1, -1, -1, -1, -1, -1, - 3297, -1, -1, -1, -1, 1648, 154, -1, 6476, -1, - -1, -1, 209, -1, -1, 163, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 199, -1, -1, 176, -1, - 204, -1, -1, 6501, 517, -1, -1, 185, -1, -1, - -1, 189, -1, 526, 527, 528, 529, 530, 531, 532, - 533, 534, -1, 227, 228, -1, 539, -1, -1, -1, - -1, 209, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 269, -1, -1, -1, -1, -1, -1, -1, - -1, 255, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 4589, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 259, -1, -1, -1, -1, -1, 314, -1, -1, - -1, 269, -1, -1, 298, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 314, -1, -1, 317, -1, 4636, -1, -1, -1, -1, - 4641, -1, -1, 10, 351, 352, 13, -1, 355, -1, - 17, 18, 19, -1, -1, -1, 314, -1, -1, 317, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 37, -1, -1, -1, -1, 382, -1, -1, 385, -1, - 47, -1, -1, 341, -1, 392, -1, 54, -1, 1842, - -1, -1, 399, -1, -1, 402, -1, 355, -1, -1, - 1853, -1, -1, -1, 362, -1, -1, -1, -1, -1, - -1, -1, -1, 80, -1, 422, 1869, -1, -1, -1, - -1, -1, -1, 430, 382, -1, 410, -1, -1, -1, - 437, -1, -1, 440, 392, -1, -1, -1, 445, -1, - -1, 399, -1, -1, 402, 3552, 453, -1, 3555, -1, - 3557, -1, -1, 460, -1, 3562, -1, -1, -1, -1, - -1, -1, -1, -1, 422, -1, -1, -1, -1, -1, - 1923, -1, 430, -1, -1, -1, -1, -1, -1, 437, - 487, -1, 440, -1, 442, 1938, 444, 445, 1941, 1942, - -1, -1, -1, -1, -1, -1, -1, 3604, -1, 4800, - -1, -1, 460, -1, -1, 3612, -1, -1, -1, -1, - 468, -1, -1, 471, -1, -1, 474, -1, -1, 1972, - 1973, -1, -1, -1, -1, -1, -1, -1, -1, 487, - 3637, -1, 199, 517, -1, -1, -1, 204, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 2724, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 3230, -1, 3232, -1, -1, -1, + -1, -1, -1, -1, -1, 199, -1, -1, -1, -1, + 204, -1, -1, 3249, -1, -1, -1, -1, -1, -1, + 3256, -1, -1, -1, 4022, -1, -1, 3263, -1, 3265, + 3266, -1, -1, 227, 228, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 199, -1, -1, -1, -1, 204, -1, -1, -1, + -1, 255, -1, -1, -1, -1, 2682, -1, -1, -1, + -1, -1, -1, -1, 5529, -1, -1, -1, -1, 227, + 228, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 5684, -1, -1, -1, -1, 5689, + 5690, -1, 841, 842, 298, -1, -1, 255, -1, -1, + -1, -1, -1, -1, -1, -1, 2861, -1, 3354, -1, + 314, 2737, -1, 317, 3360, -1, -1, -1, -1, -1, + -1, 2876, -1, -1, -1, -1, -1, -1, -1, 2755, + -1, -1, -1, 2759, 338, -1, -1, 2763, -1, -1, + 298, -1, -1, 2898, -1, -1, 2772, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 314, -1, -1, 317, + -1, 2787, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 921, 10, -1, -1, 13, -1, -1, -1, + 17, 18, 19, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 2821, -1, -1, -1, 3445, + 37, -1, -1, 5803, -1, -1, 410, -1, -1, -1, + 47, -1, -1, -1, -1, 2841, 2842, 54, -1, 5684, + -1, -1, -1, -1, 5689, 5690, -1, -1, 10, 2984, + 2985, 13, -1, -1, -1, 17, 18, 19, -1, -1, + -1, -1, -1, 80, -1, -1, -1, -1, -1, -1, + -1, -1, 410, 2879, 2880, 37, -1, 2883, -1, -1, + -1, -1, -1, -1, -1, 47, 5866, -1, -1, -1, + -1, -1, 54, -1, -1, -1, -1, -1, -1, -1, + -1, 2907, -1, 2909, -1, -1, -1, 2913, -1, -1, + -1, -1, -1, 1042, 1043, -1, -1, -1, 80, -1, + -1, 2927, -1, -1, -1, -1, -1, -1, 2934, -1, + -1, 2937, -1, 517, -1, -1, -1, 2943, -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, - 534, -1, -1, -1, -1, 539, -1, -1, -1, -1, - 227, 228, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 2737, 2738, -1, 51, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 255, -1, - 2756, 2757, -1, 2759, 2760, -1, -1, -1, 2764, 2765, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 3717, -1, 3719, 2779, -1, -1, -1, 2783, 4919, -1, - -1, 2787, 2788, -1, -1, 2791, 2792, -1, -1, -1, - -1, 298, 2798, -1, -1, -1, -1, -1, -1, -1, - 728, -1, -1, -1, 2810, -1, -1, 314, -1, -1, - 317, -1, -1, -1, -1, -1, 2822, -1, -1, -1, - -1, 2827, -1, 2116, -1, -1, 754, -1, -1, -1, - -1, -1, 4973, -1, -1, -1, 2842, -1, -1, -1, - 2846, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 2858, -1, 4995, 2861, -1, 2863, 2864, 2865, - -1, -1, -1, -1, 2870, 2871, -1, -1, 3815, -1, - -1, -1, -1, -1, 2880, -1, -1, -1, -1, -1, - 2886, -1, -1, -1, 2890, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 2902, 2903, -1, -1, - -1, 2907, -1, 410, -1, -1, 10, 2913, 2914, 13, - -1, -1, 3859, 17, 18, 19, -1, -1, 2743, -1, - -1, 2927, 2747, 2748, 2930, -1, -1, 5068, -1, -1, - 2743, 2937, 2938, 37, 2747, 2748, 728, 2943, -1, -1, - 3887, -1, -1, 47, -1, -1, -1, -1, -1, 2955, - 54, -1, 2958, -1, -1, -1, -1, 2963, -1, -1, - -1, -1, 754, 2969, 2970, -1, -1, -1, -1, 897, - -1, 2977, -1, -1, -1, 2981, 80, 2802, -1, 2985, - 2986, 2987, 2988, 2808, 2990, -1, -1, -1, -1, 2802, - -1, -1, -1, -1, -1, 2808, -1, -1, 3004, 3005, - -1, 3007, -1, -1, -1, -1, -1, -1, 3955, -1, - 517, -1, 3018, 3019, 3020, -1, -1, -1, -1, 526, + 534, 3086, 3578, 3579, -1, -1, -1, 2963, 5803, -1, + -1, -1, -1, 2969, -1, -1, -1, -1, -1, -1, + 2976, -1, -1, 3599, -1, -1, 3602, -1, -1, 517, + -1, -1, 199, -1, 2990, -1, -1, 204, 526, 527, + 528, 529, 530, 531, 532, 533, 534, -1, 3004, -1, + -1, -1, -1, 3009, -1, -1, -1, -1, -1, 3015, + 227, 228, -1, -1, -1, -1, -1, 10, 180, -1, + 13, 5866, -1, -1, 17, 18, 19, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 199, 255, -1, + -1, -1, 204, -1, 37, -1, -1, 40, -1, -1, + -1, -1, -1, -1, 47, -1, -1, -1, 3684, 3685, + 3686, 54, -1, -1, -1, 227, 228, -1, -1, 3075, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 298, -1, 3709, -1, -1, -1, 80, -1, -1, + -1, -1, -1, 255, -1, -1, -1, 314, -1, -1, + 317, -1, 3728, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 10, -1, -1, 13, -1, -1, + -1, 17, 18, 19, 3750, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 298, -1, -1, -1, + -1, 37, -1, -1, 40, -1, -1, -1, -1, -1, + 1279, 47, 314, -1, 4542, 317, -1, -1, 54, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 4556, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 80, -1, -1, -1, -1, -1, + -1, -1, 1321, 410, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 199, -1, -1, -1, + -1, 204, -1, -1, 3840, -1, -1, -1, -1, -1, + -1, 1350, 1351, 1352, 3230, 1354, 3232, -1, -1, 446, + -1, -1, -1, -1, 227, 228, -1, -1, -1, -1, + -1, -1, -1, 3249, -1, -1, 1375, -1, 410, -1, + 3256, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 3887, 255, -1, -1, -1, -1, 3893, -1, 3895, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3908, -1, 3910, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 3431, -1, -1, -1, + 517, -1, -1, 199, -1, 298, -1, -1, 204, 526, 527, 528, 529, 530, 531, 532, 533, 534, -1, -1, - 3977, 2856, 539, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 2856, -1, -1, -1, 5188, -1, 5190, - -1, -1, 3999, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 10, -1, -1, 13, 3075, - -1, -1, 17, 18, 19, -1, -1, 3083, -1, -1, - -1, -1, -1, -1, -1, -1, 51, -1, -1, -1, - -1, -1, 37, -1, -1, 199, 3102, -1, -1, -1, - 204, -1, 47, -1, -1, 897, -1, -1, -1, 54, - 10, -1, -1, 13, -1, -1, -1, 17, 18, 19, - -1, -1, -1, 227, 228, -1, -1, -1, -1, -1, - -1, -1, 1060, -1, 4081, 80, -1, 37, -1, -1, - -1, -1, -1, 1071, -1, -1, 3152, 47, -1, -1, - -1, 255, -1, -1, 54, -1, -1, -1, -1, 1087, - -1, -1, -1, -1, -1, 3171, -1, 3173, -1, -1, + -1, 314, -1, -1, 317, -1, -1, -1, -1, -1, + -1, 227, 228, -1, -1, -1, 10, -1, -1, 13, + -1, -1, -1, 17, 18, 19, -1, -1, 3354, -1, + -1, 3977, -1, 1482, 3360, 517, -1, 1486, 1487, 255, + -1, -1, -1, 37, 526, 527, 528, 529, 530, 531, + 532, 533, 534, 47, -1, -1, -1, -1, -1, -1, + 54, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 4019, -1, -1, -1, -1, -1, -1, + -1, -1, 298, -1, -1, -1, 80, -1, 6388, -1, + -1, 4037, -1, -1, -1, 4041, -1, 410, 314, -1, + -1, 317, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 4062, -1, -1, 3445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 80, -1, -1, -1, -1, -1, -1, 4134, -1, -1, - 5331, -1, -1, -1, 298, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 314, -1, 4159, 317, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 3066, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 3066, 199, -1, -1, -1, -1, 204, - -1, -1, 3268, -1, -1, -1, 5407, -1, 1060, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 1071, - -1, -1, 227, 228, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 1087, -1, -1, -1, 199, - -1, -1, -1, -1, 204, -1, 410, -1, -1, -1, - 255, -1, -1, -1, 3139, -1, 1244, -1, 3143, -1, - -1, -1, -1, -1, -1, -1, 3139, 227, 228, -1, - 3143, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 298, -1, 255, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 314, - -1, -1, 317, -1, 4321, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 5529, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 298, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 728, -1, 517, 314, -1, -1, 317, -1, -1, - -1, 3246, 526, 527, 528, 529, 530, 531, 532, 533, - 534, -1, -1, 3246, -1, 539, 3261, 754, -1, -1, - -1, 3266, -1, -1, -1, -1, -1, -1, 3261, -1, - 2743, -1, 1244, 3266, 2747, 2748, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 410, -1, -1, -1, -1, - 4417, -1, 3297, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 3297, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 4445, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 2802, - 410, -1, -1, -1, -1, 2808, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 180, -1, -1, -1, + -1, -1, -1, -1, 410, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 517, 199, -1, -1, -1, -1, + 204, -1, -1, 526, 527, 528, 529, 530, 531, 532, + 533, 534, -1, 6388, -1, 4171, -1, -1, -1, -1, + -1, -1, -1, 227, 228, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 5684, -1, -1, -1, -1, 5689, 5690, + -1, -1, 3578, 3579, -1, -1, -1, -1, -1, 10, + -1, 255, 13, -1, -1, -1, 17, 18, 19, -1, + -1, 3726, -1, 3599, -1, -1, 3602, -1, -1, -1, + -1, 3736, 1731, 1732, 1733, -1, 37, -1, -1, -1, + -1, 1367, -1, -1, -1, -1, 47, -1, -1, -1, + -1, 517, -1, 54, 298, -1, -1, -1, -1, -1, + 526, 527, 528, 529, 530, 531, 532, 533, 534, -1, + 314, -1, -1, 317, -1, -1, -1, -1, -1, 80, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 2856, -1, -1, -1, -1, -1, -1, - -1, -1, 517, -1, -1, -1, -1, -1, -1, 1507, - 897, 526, 527, 528, 529, 530, 531, 532, 533, 534, - -1, -1, -1, 3599, 539, -1, -1, -1, -1, -1, + 5048, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 1426, -1, -1, -1, -1, 5063, -1, -1, 3684, 3685, + 3686, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 3616, -1, -1, -1, 3620, -1, -1, 517, -1, 3625, - 3626, 3627, -1, -1, -1, -1, 526, 527, 528, 529, - 530, 531, 532, 533, 534, -1, -1, -1, -1, 539, - -1, 3647, 4589, -1, -1, -1, 1574, -1, -1, -1, + -1, -1, -1, 3709, -1, 10, -1, -1, 13, -1, + -1, -1, 17, 18, 19, -1, -1, -1, -1, -1, + -1, 4347, 3728, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 37, -1, -1, -1, 410, -1, -1, -1, + -1, -1, 47, -1, 3750, -1, -1, -1, -1, 54, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5802, 5803, -1, -1, 3671, 3672, 3673, 3674, -1, + -1, -1, -1, -1, 3899, 3900, 3901, 5155, 199, -1, + -1, -1, -1, 204, -1, 80, -1, -1, -1, -1, + -1, 3916, -1, -1, -1, 4411, -1, -1, -1, -1, + 4416, -1, 4418, -1, -1, -1, 227, 228, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 1615, -1, 4636, - -1, -1, -1, -1, 4641, -1, -1, -1, -1, -1, - -1, 10, -1, 3709, 13, 3711, 3712, 3713, 17, 18, - 19, -1, -1, -1, -1, 1507, -1, -1, -1, -1, - 1648, -1, -1, -1, -1, 5866, -1, 3552, 37, -1, - 3555, -1, 3557, -1, -1, -1, -1, 3562, 47, 3552, - -1, -1, 3555, 1060, 3557, 54, -1, -1, -1, 3562, - -1, -1, -1, -1, 1071, -1, -1, -1, -1, -1, - -1, -1, -1, 728, -1, -1, -1, -1, -1, -1, - 1087, 80, -1, 3066, -1, -1, -1, -1, -1, 3604, - -1, -1, 1574, -1, -1, -1, -1, 3612, -1, 754, - -1, 3604, -1, -1, -1, -1, -1, -1, -1, 3612, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 3637, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 1615, 3637, 3831, -1, -1, -1, -1, + -1, -1, -1, -1, 3949, 3950, -1, -1, 4444, 3954, + -1, -1, -1, -1, 255, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3840, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 3139, -1, -1, -1, - 3143, -1, -1, 4800, -1, -1, 1648, -1, -1, -1, - 3866, 3867, -1, -1, -1, 3871, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 3893, -1, -1, - 199, -1, 3717, -1, 3719, 204, -1, -1, -1, -1, - -1, -1, -1, -1, 3717, -1, 3719, -1, -1, -1, - -1, -1, -1, -1, 1842, -1, -1, -1, 227, 228, - -1, -1, -1, -1, -1, 1853, -1, 1244, -1, -1, - -1, -1, 897, -1, -1, -1, -1, -1, -1, 3945, - -1, 1869, -1, -1, 3950, -1, 255, -1, -1, -1, - 3956, -1, -1, 3246, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 3261, -1, - -1, -1, 4919, 3266, -1, -1, -1, -1, -1, -1, - 3986, -1, -1, -1, -1, -1, -1, -1, -1, 298, - 3815, -1, -1, -1, -1, 1923, -1, -1, -1, -1, - -1, -1, 3815, -1, 3297, 314, -1, -1, 317, 4015, - 1938, 4017, -1, 1941, 1942, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 4973, -1, -1, -1, - -1, -1, -1, -1, 3859, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 1972, 1973, 3859, -1, 4995, -1, - 1842, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 1853, 3887, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 3887, -1, -1, 1869, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 1060, -1, -1, -1, -1, - -1, 410, -1, -1, -1, -1, 1071, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5068, 1087, -1, -1, -1, -1, -1, -1, -1, - 3955, 1923, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 3955, -1, -1, -1, 1938, -1, -1, 1941, - 1942, -1, 3977, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 3977, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 3999, -1, -1, -1, -1, -1, - 1972, 1973, -1, -1, -1, -1, 3999, -1, 2116, -1, - 1507, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 517, -1, - -1, -1, -1, -1, -1, -1, -1, 526, 527, 528, - 529, 530, 531, 532, 533, 534, -1, -1, -1, -1, - 539, -1, -1, 10, -1, -1, 13, -1, -1, -1, - 17, 18, 19, 5190, -1, -1, -1, 6388, -1, -1, - -1, -1, -1, -1, -1, -1, 4081, 1574, -1, 3552, - 37, -1, 3555, -1, 3557, -1, -1, -1, 4081, 3562, - 47, -1, -1, -1, -1, -1, -1, 54, -1, 1244, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 1615, -1, - -1, -1, -1, 80, -1, -1, -1, -1, -1, 4134, - -1, 3604, -1, -1, 6455, -1, -1, -1, -1, 3612, - -1, 4134, -1, -1, 2116, -1, -1, 4333, -1, 4335, - 10, 1648, -1, 13, 4159, -1, -1, 17, 18, 19, - -1, -1, 4348, -1, 3637, -1, 4159, -1, -1, -1, - -1, -1, -1, -1, 4360, -1, -1, 37, 4364, -1, - -1, -1, -1, -1, -1, -1, -1, 47, -1, -1, - 4376, -1, -1, -1, 54, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 5331, -1, -1, -1, -1, -1, - 4396, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 80, -1, -1, -1, -1, -1, -1, -1, 4414, -1, - -1, -1, -1, -1, -1, -1, 4422, -1, -1, -1, - -1, -1, 199, -1, 3717, -1, 3719, 204, -1, -1, - -1, 27, -1, -1, -1, -1, -1, 33, -1, -1, - -1, 4447, -1, -1, 40, 4451, -1, -1, -1, -1, - 227, 228, -1, -1, -1, -1, -1, -1, -1, -1, - 5407, 4467, 4468, 4469, 4470, -1, 62, -1, -1, -1, - -1, 4477, 4478, 4479, 4480, -1, -1, -1, 255, -1, - 4486, 4487, 78, -1, -1, -1, 4492, 4493, -1, 4495, - 4496, 4497, 4498, 4499, 4500, 4501, 4321, -1, -1, -1, - -1, -1, -1, -1, -1, 4511, -1, -1, 4321, 4515, - 4516, 4517, 4518, -1, -1, -1, -1, -1, 114, 199, - -1, 298, 3815, -1, 204, 1842, -1, -1, -1, -1, - -1, -1, -1, 4539, -1, -1, 1853, 314, -1, 135, - 317, -1, 1507, -1, -1, -1, 142, 227, 228, -1, - 146, 4557, 1869, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 3859, -1, -1, -1, - -1, -1, -1, -1, -1, 255, -1, -1, -1, 175, - -1, -1, 5529, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 4417, -1, 3887, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 4417, -1, 1923, -1, -1, 1574, - -1, 207, -1, -1, -1, 211, -1, -1, 298, -1, - 4445, 1938, -1, -1, 1941, 1942, -1, -1, 4634, -1, - -1, -1, 4445, 410, 314, -1, -1, 317, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 1615, -1, -1, -1, -1, 1972, 1973, -1, -1, -1, - -1, 4667, 3955, -1, -1, -1, -1, -1, 4674, 265, - 4676, -1, -1, -1, 270, -1, -1, -1, -1, 275, - -1, -1, -1, 1648, 3977, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 291, -1, -1, 4704, 295, - -1, -1, -1, -1, -1, -1, 3999, -1, -1, -1, - 306, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 316, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 410, 327, 328, -1, -1, -1, -1, 5684, -1, -1, - 517, -1, 5689, 5690, -1, -1, -1, -1, -1, 526, - 527, 528, 529, 530, 531, 532, 533, 534, -1, -1, - -1, -1, 539, -1, 4589, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 370, -1, 4589, 373, 374, 375, - -1, -1, -1, -1, -1, -1, -1, -1, 4081, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 2116, - -1, -1, -1, 399, -1, -1, -1, -1, -1, 405, - -1, 4636, -1, -1, -1, 2743, 4641, -1, -1, 2747, - 2748, -1, -1, 4636, 420, -1, -1, -1, 4641, -1, - -1, -1, -1, -1, -1, -1, -1, 517, -1, -1, - -1, 4134, -1, -1, -1, -1, 526, 527, 528, 529, - 530, 531, 532, 533, 534, -1, 5803, -1, -1, 539, - -1, -1, -1, -1, -1, -1, 4159, -1, -1, -1, - -1, -1, -1, -1, 2802, 471, -1, 1842, -1, -1, - 2808, -1, 478, -1, -1, -1, -1, -1, 1853, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 1869, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 4920, 4921, 4922, -1, -1, 5866, - 4926, 4927, 4928, 4929, -1, -1, -1, 4933, 2856, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 2743, -1, -1, -1, 2747, 2748, -1, 1923, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 1938, -1, 4800, 1941, 1942, -1, 4985, - 4986, 4987, 4988, 4989, -1, 4991, 4992, 4800, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 5003, 5004, -1, - -1, -1, -1, -1, -1, -1, -1, 1972, 1973, -1, - 2802, -1, 10, -1, -1, 13, 2808, -1, -1, 17, - 18, 19, -1, -1, -1, -1, -1, -1, 4321, -1, - -1, -1, 5038, -1, -1, -1, -1, -1, -1, 37, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 47, - -1, -1, -1, -1, -1, -1, 54, -1, -1, -1, - -1, -1, -1, -1, 2856, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 198, 199, 80, -1, 202, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 4919, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 222, -1, 4919, -1, -1, -1, - -1, 229, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 4417, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 5141, -1, -1, 3066, -1, - -1, -1, -1, -1, -1, -1, 10, -1, 4973, 13, - -1, 2116, 4445, 17, 18, 19, -1, -1, -1, -1, - 4973, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 4995, -1, -1, 37, -1, -1, -1, -1, -1, -1, - -1, -1, 4995, 47, -1, -1, -1, -1, -1, -1, - 54, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 5206, 199, -1, -1, -1, -1, 204, -1, -1, -1, - -1, 3139, -1, -1, -1, 3143, 80, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 227, - 228, -1, 5238, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 5068, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 5068, -1, 255, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 3066, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 4589, -1, -1, -1, - 298, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 314, -1, 3246, 317, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 5338, 3261, -1, 199, -1, -1, 3266, -1, - 204, -1, -1, 4636, -1, -1, -1, 3139, 4641, -1, - -1, 3143, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 227, 228, 5190, -1, -1, -1, 3297, - -1, -1, -1, -1, -1, -1, -1, 5190, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 255, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 5409, -1, -1, -1, -1, -1, -1, - -1, -1, 410, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 5428, -1, -1, -1, 2743, -1, 5434, 5435, - 2747, 2748, -1, -1, 298, -1, -1, -1, 5444, -1, - -1, 6388, -1, -1, -1, 5451, -1, -1, -1, -1, - 314, -1, -1, 317, 3246, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 3261, - -1, -1, -1, -1, 3266, -1, -1, -1, -1, -1, - -1, -1, 5488, 5489, -1, 2802, -1, -1, -1, -1, - -1, 2808, -1, -1, -1, 5501, -1, 5503, -1, -1, - -1, -1, -1, -1, -1, 3297, 5331, 4800, -1, -1, - -1, -1, 5518, -1, -1, -1, -1, -1, 5331, 517, - -1, -1, -1, -1, -1, -1, -1, -1, 526, 527, - 528, 529, 530, 531, 532, 533, 534, 5543, -1, 2856, - 10, 539, -1, 13, -1, 5551, 410, 17, 18, 19, - -1, -1, -1, -1, -1, -1, 674, -1, 676, -1, - -1, 679, -1, -1, -1, -1, -1, 37, -1, -1, - -1, -1, -1, -1, -1, 693, -1, 47, -1, -1, - -1, 699, 5407, -1, 54, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 5407, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 206, 207, -1, -1, - 80, -1, -1, -1, 214, -1, 216, 217, -1, -1, - -1, -1, -1, -1, 3552, -1, 4919, 3555, -1, 3557, - 230, -1, -1, -1, 3562, -1, -1, 5643, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5657, -1, 517, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 517, -1, -1, -1, -1, -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, - 534, -1, -1, -1, -1, 539, 3604, 5683, -1, -1, - 4973, -1, -1, -1, 3612, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 4995, -1, 5529, -1, -1, -1, -1, 3637, - -1, -1, -1, -1, -1, -1, 5529, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 199, - -1, -1, -1, -1, 204, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 5751, -1, -1, -1, 3066, - -1, -1, -1, -1, -1, -1, -1, 227, 228, -1, - 3552, -1, -1, 3555, -1, 3557, -1, -1, -1, -1, - 3562, -1, -1, -1, -1, 5068, -1, -1, 2743, -1, - -1, -1, 2747, 2748, -1, 255, -1, 10, -1, 3717, - 13, 3719, -1, -1, 17, 18, 19, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 3604, -1, -1, 5821, -1, -1, -1, -1, - 3612, -1, 3139, -1, 47, -1, 3143, -1, 298, -1, - -1, 54, -1, -1, -1, -1, -1, 2802, -1, -1, - -1, -1, -1, 2808, 314, 3637, -1, 317, -1, 5855, - -1, -1, -1, -1, -1, -1, -1, 80, -1, 5684, - -1, -1, -1, -1, 5689, 5690, -1, 208, 986, 987, - -1, 5684, -1, -1, -1, -1, 5689, 5690, -1, 220, - -1, -1, -1, -1, -1, -1, -1, 3815, -1, -1, - 231, 2856, -1, -1, -1, 5901, -1, 5190, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 5926, -1, -1, -1, -1, 3717, -1, 3719, -1, 3246, - -1, 3859, -1, -1, -1, -1, -1, -1, -1, 1057, - 410, -1, -1, -1, 3261, -1, -1, -1, -1, 3266, - -1, -1, -1, -1, 1072, -1, -1, -1, -1, 3887, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 199, -1, 5803, 5985, - 3297, 204, -1, -1, -1, 1103, 1104, -1, -1, -1, - 5803, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 227, 228, -1, -1, -1, -1, - -1, 1129, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 3815, -1, -1, -1, 3955, -1, -1, - -1, -1, 255, -1, -1, -1, -1, -1, 5331, -1, - -1, 5866, -1, -1, -1, -1, -1, 517, -1, 3977, - -1, 1169, 1170, 5866, -1, -1, 526, 527, 528, 529, - 530, 531, 532, 533, 534, 665, -1, 3859, -1, 539, - -1, 3999, -1, -1, -1, 298, -1, -1, -1, -1, - -1, -1, -1, -1, 684, -1, -1, -1, -1, -1, - 690, 314, -1, -1, 6100, 3887, -1, -1, -1, -1, - -1, 3066, 702, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 5407, -1, -1, -1, 718, -1, - -1, -1, -1, 6129, -1, -1, -1, -1, -1, -1, - -1, -1, 732, 733, 6140, -1, -1, -1, -1, 739, - -1, 741, 742, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 4081, -1, 755, -1, -1, -1, -1, - -1, -1, -1, 3955, -1, 765, -1, -1, -1, -1, - -1, -1, 10, -1, 3139, 13, -1, -1, 3143, 17, - 18, 19, -1, -1, -1, 3977, -1, 410, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, - -1, -1, -1, -1, -1, -1, 4134, 3999, -1, 47, - -1, -1, -1, -1, -1, -1, 54, -1, 818, -1, - -1, 10, -1, -1, 13, -1, -1, -1, 17, 18, - 19, 4159, -1, -1, -1, 3552, 5529, -1, 3555, -1, - 3557, -1, 80, -1, -1, 3562, 846, -1, 37, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 47, -1, - -1, 6267, -1, -1, -1, 54, -1, -1, -1, -1, - -1, 871, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 3246, -1, -1, -1, -1, -1, 3604, -1, 4081, - -1, 80, -1, -1, 517, 3612, 3261, -1, -1, -1, - -1, 3266, -1, 526, 527, 528, 529, 530, 531, 532, - 533, 534, -1, -1, 10, -1, -1, 13, -1, -1, - 3637, 17, 18, 19, -1, 666, -1, -1, -1, -1, - -1, 672, 3297, 933, -1, -1, -1, -1, -1, -1, - -1, -1, 4134, -1, -1, -1, -1, -1, -1, -1, - -1, 47, -1, -1, -1, -1, -1, -1, 54, -1, - -1, 199, -1, -1, -1, -1, 204, 4159, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 80, -1, -1, -1, -1, 227, - 228, 5684, -1, 4321, -1, -1, 5689, 5690, -1, -1, - 3717, -1, 3719, -1, 207, -1, -1, -1, -1, -1, - 199, -1, -1, 216, -1, 204, -1, 255, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 230, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 227, 228, - -1, -1, -1, 1043, -1, -1, -1, -1, -1, 1567, - 1050, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 298, 1061, -1, -1, -1, 1065, 255, 1067, -1, -1, - -1, -1, -1, 6479, 1592, -1, 314, -1, -1, 317, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 4417, - -1, -1, -1, -1, -1, -1, -1, -1, 3815, -1, - -1, -1, 843, 199, -1, -1, -1, -1, 204, 298, - 5803, -1, -1, -1, -1, -1, -1, 4445, -1, -1, - -1, 862, -1, -1, -1, 314, -1, -1, 317, 4321, - -1, 227, 228, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 3859, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 1671, -1, -1, -1, -1, -1, 255, - -1, -1, -1, 6388, -1, -1, -1, -1, -1, -1, - 3887, -1, 410, 5866, 1174, 6388, -1, -1, -1, -1, - -1, -1, -1, 1701, 1702, 1703, 1704, 3552, -1, -1, - 3555, -1, 3557, -1, -1, -1, -1, 3562, -1, -1, - -1, -1, 298, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 314, -1, - -1, 410, -1, -1, -1, 4417, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 1235, -1, -1, 3955, 3604, - 981, -1, -1, -1, -1, -1, 1246, 3612, -1, -1, - -1, -1, -1, 4445, -1, -1, -1, -1, -1, -1, - 3977, 4589, -1, 1263, -1, -1, -1, -1, 1268, -1, - -1, -1, 3637, -1, -1, -1, -1, -1, -1, 517, - -1, -1, 3999, -1, -1, -1, -1, -1, 526, 527, - 528, 529, 530, 531, 532, 533, 534, -1, -1, -1, - -1, 539, -1, -1, -1, -1, -1, -1, 4636, -1, - -1, -1, -1, 4641, 410, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 517, -1, - 1848, 1849, -1, -1, -1, -1, -1, 526, 527, 528, - 529, 530, 531, 532, 533, 534, 1864, -1, 537, -1, - -1, -1, 3717, -1, 3719, 1096, -1, -1, -1, -1, - -1, -1, -1, -1, 4081, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 1898, 1899, 1900, 1901, 1125, 1126, 1127, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 4589, -1, -1, - -1, -1, -1, 1403, -1, -1, -1, -1, -1, -1, - -1, 1411, 1412, -1, -1, -1, -1, 4134, -1, -1, - -1, 517, -1, -1, -1, -1, -1, -1, -1, -1, - 526, 527, 528, 529, 530, 531, 532, 533, 534, -1, - -1, -1, 4159, -1, 4636, -1, -1, -1, -1, 4641, - 3815, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 1979, 665, -1, 1464, -1, -1, 1985, -1, -1, - -1, -1, 4800, -1, -1, -1, -1, -1, -1, -1, - -1, 684, -1, -1, -1, -1, -1, 690, -1, -1, - -1, -1, -1, 1234, 3859, -1, -1, -1, -1, 702, - -1, -1, -1, -1, -1, 10, -1, -1, 13, -1, - -1, -1, 17, 18, 19, 718, -1, -1, -1, -1, - -1, 1262, 3887, -1, -1, -1, -1, -1, -1, -1, - 733, -1, 37, -1, -1, -1, 41, -1, 741, -1, - -1, -1, 47, -1, -1, -1, -1, -1, -1, 54, - 10, -1, 755, 13, -1, -1, -1, 17, 18, 19, - -1, -1, 765, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 80, -1, 37, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 47, -1, -1, - 3955, 4919, -1, -1, 54, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 4321, -1, -1, -1, 4800, -1, - -1, -1, 3977, -1, -1, 818, -1, -1, -1, -1, - 80, -1, -1, -1, -1, -1, -1, 132, -1, -1, - -1, -1, -1, 10, 3999, -1, 13, -1, -1, -1, - 17, 18, 19, 846, -1, 4973, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 2175, -1, -1, - 37, -1, -1, -1, -1, -1, -1, 4995, 871, -1, - 47, -1, -1, -1, -1, -1, 1417, 54, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 199, 6388, -1, -1, -1, 204, - 4417, -1, -1, 80, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 174, 1715, 4081, -1, -1, -1, - 180, -1, 227, 228, -1, -1, -1, 4919, 4445, -1, - 933, -1, -1, -1, -1, -1, -1, -1, -1, 199, - 5068, -1, -1, -1, 204, -1, -1, -1, -1, -1, - 255, -1, -1, -1, -1, -1, 1497, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 227, 228, 4134, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 4973, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 298, 4159, 255, 173, 10, -1, -1, - 13, -1, -1, 4995, 17, 18, 19, -1, -1, 314, - -1, -1, 317, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 199, -1, 37, -1, -1, 204, -1, -1, - 1830, -1, -1, -1, 47, -1, -1, -1, 298, 1580, - 1043, 54, -1, -1, -1, -1, -1, 1050, 1589, -1, - 227, 228, -1, -1, 314, -1, -1, 317, -1, -1, - -1, -1, 5190, -1, -1, 1865, -1, 80, -1, -1, - -1, -1, 4589, -1, -1, -1, 5068, -1, 255, -1, - 1621, -1, -1, -1, -1, -1, 1627, 1628, 1888, -1, - 1631, -1, -1, -1, -1, -1, 1896, -1, -1, -1, - -1, -1, -1, 1644, 1904, 410, 1647, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 4636, - -1, 298, -1, -1, 4641, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 314, -1, -1, - 317, -1, -1, -1, -1, 1945, 1946, -1, 1948, 1949, - 410, -1, -1, -1, -1, -1, 4321, -1, -1, -1, - 1960, -1, 1962, 1963, 1705, -1, 343, -1, -1, -1, - 475, 1174, -1, -1, -1, 1975, 1976, -1, 1719, -1, - -1, -1, -1, -1, -1, -1, 199, -1, -1, -1, - -1, 204, -1, -1, -1, -1, -1, -1, 5190, -1, - -1, -1, -1, 5331, -1, -1, -1, -1, -1, -1, - -1, -1, 517, 2013, 227, 228, -1, 2017, 2018, -1, + 534, -1, -1, 10, -1, 4491, 13, 298, 4494, -1, + 17, 18, 19, -1, -1, 180, -1, -1, -1, -1, + -1, 3887, -1, 314, -1, -1, 317, 3893, -1, 3895, + 37, -1, -1, -1, 199, -1, -1, -1, -1, 204, + 47, -1, 3908, 334, 3910, -1, -1, 54, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 227, 228, 4059, -1, -1, -1, -1, -1, + -1, 2060, -1, 80, -1, -1, -1, -1, -1, -1, + 2069, 2070, 2071, 2072, 2073, 2074, 2075, 2076, 2077, 2078, + 255, -1, -1, -1, 2083, -1, 2085, -1, 2087, 4585, + 4586, 2090, 2091, 2092, -1, -1, -1, -1, -1, 2098, + 4596, 3977, 2101, -1, -1, -1, -1, -1, -1, 410, + -1, 1737, -1, -1, -1, 1741, -1, 4613, -1, 2118, + 2119, 2120, -1, 298, 5382, -1, 5384, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 2136, -1, 314, + -1, -1, 317, 4019, -1, -1, -1, 10, -1, -1, + 13, -1, -1, -1, 17, 18, 19, 174, -1, -1, + -1, 4037, -1, -1, -1, 4041, -1, -1, -1, -1, + -1, -1, -1, -1, 37, -1, -1, -1, -1, -1, + -1, -1, 199, -1, 47, -1, 4062, 204, -1, -1, + -1, 54, -1, -1, -1, -1, -1, -1, 4694, -1, + -1, 4697, -1, -1, -1, -1, -1, -1, -1, -1, + 227, 228, -1, -1, -1, -1, 517, 80, -1, -1, + -1, -1, 4227, 4228, 4229, 526, 527, 528, 529, 530, + 531, 532, 533, 534, -1, 410, -1, -1, 255, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 5524, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 298, -1, -1, -1, 2284, -1, -1, -1, -1, + 153, -1, -1, -1, -1, 4171, -1, 314, -1, -1, + 317, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 199, -1, -1, 2338, + -1, 204, 517, -1, -1, -1, -1, -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, 534, - -1, -1, 1235, 410, -1, -1, -1, -1, -1, -1, - -1, -1, 255, 1246, -1, -1, -1, -1, -1, -1, - -1, -1, 4417, -1, -1, -1, -1, 517, -1, -1, - 1263, -1, -1, -1, -1, 1268, 526, 527, 528, 529, - 530, 531, 532, 533, 534, -1, -1, -1, -1, 5407, - 4445, -1, -1, 4800, -1, 298, -1, -1, 1829, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 1840, - -1, 314, -1, -1, 317, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 227, 228, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 2647, - -1, -1, 345, -1, -1, -1, -1, 2137, -1, 5331, - 517, 1882, 1883, -1, -1, -1, -1, -1, -1, 526, - 527, 528, 529, 530, 531, 532, 533, 534, -1, -1, - -1, -1, -1, -1, -1, -1, 1907, -1, -1, -1, - -1, -1, -1, 1914, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 410, -1, -1, - 1403, 5529, 4919, 10, -1, -1, 13, -1, 1411, 1412, - 17, 18, 19, -1, -1, 5407, 429, -1, -1, -1, - -1, -1, -1, -1, 4589, -1, -1, -1, -1, -1, - 37, -1, -1, 40, -1, -1, -1, -1, -1, -1, - 47, -1, -1, -1, -1, -1, 1987, 54, -1, -1, - -1, -1, -1, -1, -1, -1, 4973, -1, -1, -1, - -1, 1464, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 4636, -1, 80, -1, -1, 4641, -1, 4995, 2020, - 2021, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 2809, -1, -1, -1, -1, 2037, -1, -1, 2040, - -1, -1, -1, -1, 517, -1, -1, -1, -1, -1, - -1, -1, -1, 526, 527, 528, 529, 530, 531, 532, - 533, 534, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 5529, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5068, -1, -1, -1, -1, 5684, -1, -1, -1, - -1, 5689, 5690, -1, -1, -1, -1, -1, 10, -1, - -1, 13, -1, -1, -1, 17, 18, 19, -1, -1, + -1, -1, 255, 410, -1, -1, 2395, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 199, -1, -1, 37, -1, 204, -1, -1, - 10, -1, -1, 13, -1, 47, -1, 17, 18, 19, - -1, -1, 54, -1, -1, -1, -1, -1, -1, -1, - 227, 228, -1, -1, -1, -1, -1, 37, -1, -1, - -1, -1, -1, -1, -1, 4800, 2954, 47, 80, 2957, - -1, -1, -1, -1, 54, -1, -1, -1, 255, -1, + -1, -1, 10, -1, -1, 13, -1, -1, -1, 17, + 18, 19, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 2058, -1, -1, 298, 4932, -1, -1, 37, + -1, -1, -1, -1, -1, -1, -1, -1, 5706, 47, + 5708, 314, -1, -1, 317, -1, 54, -1, 2084, -1, + -1, -1, 2088, -1, -1, -1, -1, -1, -1, -1, + -1, 4347, -1, -1, -1, -1, -1, 2103, 2104, 2105, + -1, 2107, 80, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 4990, -1, -1, -1, -1, -1, + 517, -1, -1, -1, -1, -1, 5002, -1, -1, 526, + 527, 528, 529, 530, 531, 532, 533, 534, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 4411, -1, -1, -1, -1, + 4416, 5037, 4418, -1, -1, -1, -1, 410, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 80, -1, -1, 5190, -1, 5803, -1, -1, -1, -1, + -1, 4566, -1, -1, -1, -1, -1, -1, 4444, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 298, 5684, -1, -1, -1, -1, 5689, 5690, -1, - -1, -1, -1, -1, -1, -1, -1, 314, -1, -1, - 317, -1, 1715, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 3046, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 5866, -1, - -1, 3059, -1, -1, -1, -1, -1, -1, -1, 3067, - -1, -1, -1, -1, 4919, -1, -1, 199, -1, -1, - -1, -1, 204, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 227, 228, -1, 3106, 199, - -1, -1, -1, -1, 204, -1, -1, -1, -1, -1, - -1, -1, -1, 410, -1, -1, -1, -1, 4973, 3127, - -1, 5803, -1, 255, 5331, -1, -1, 227, 228, -1, - -1, -1, -1, -1, -1, -1, -1, 1830, -1, -1, - 4995, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 255, -1, -1, -1, -1, - -1, -1, 3170, -1, 3172, -1, 298, -1, -1, -1, - -1, -1, 1865, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 314, -1, 5866, 317, -1, -1, -1, -1, - -1, 2681, -1, -1, -1, 1888, -1, -1, 298, -1, - 5407, -1, -1, 1896, -1, -1, -1, -1, -1, -1, - -1, 1904, -1, 5068, 314, -1, -1, 317, -1, -1, - 517, -1, -1, -1, -1, -1, -1, -1, -1, 526, - 527, 528, 529, 530, 531, 532, 533, 534, 338, -1, - -1, -1, -1, -1, -1, -1, 2736, -1, -1, -1, - -1, -1, 3260, -1, -1, 1948, 1949, -1, -1, 3267, - -1, -1, -1, -1, 2754, -1, -1, -1, 2758, 1962, - -1, -1, 2762, -1, -1, -1, -1, -1, 410, -1, - -1, 2771, 1975, 1976, -1, -1, -1, -1, -1, -1, - 10, -1, -1, 13, -1, -1, 2786, 17, 18, 19, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 410, -1, -1, 2803, -1, 2805, 2806, 37, -1, -1, - 40, -1, 5529, -1, -1, -1, -1, 47, -1, -1, - 2820, -1, -1, -1, 54, 5190, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 2840, 2841, -1, -1, -1, -1, -1, -1, -1, -1, - 80, -1, -1, -1, -1, -1, -1, -1, 2599, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 2610, - -1, -1, -1, -1, 516, 517, -1, -1, 2878, 2879, - -1, -1, 2882, -1, 526, 527, 528, 529, 530, 531, - 532, 533, 534, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 2906, 517, 2908, -1, - -1, -1, 2912, -1, -1, -1, 526, 527, 528, 529, - 530, 531, 532, 533, 534, -1, 2926, -1, -1, -1, - -1, -1, -1, 2933, 2137, -1, 2936, -1, -1, -1, - -1, -1, 2942, -1, -1, -1, -1, -1, -1, -1, - 10, -1, -1, 13, -1, -1, -1, 17, 18, 19, - -1, -1, 2962, -1, -1, -1, 5331, 5684, 2968, 199, - -1, -1, 5689, 5690, 204, 2975, -1, 37, -1, -1, - -1, -1, 2723, -1, -1, -1, -1, 47, -1, 2989, - -1, -1, -1, -1, 54, -1, -1, 227, 228, -1, - -1, -1, -1, 3003, -1, -1, -1, -1, 3008, -1, - -1, -1, -1, -1, 3014, -1, -1, -1, -1, -1, - 80, -1, -1, -1, -1, 255, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 5407, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 6388, -1, -1, -1, -1, -1, -1, -1, 298, -1, - -1, -1, -1, -1, 3074, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 314, -1, 5803, 317, 10, 3607, - 3608, 13, -1, -1, -1, 17, 18, 19, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 37, -1, -1, 40, 2860, - 180, -1, -1, -1, -1, 47, -1, -1, 10, -1, - -1, 13, 54, -1, 2875, 17, 18, 19, -1, 199, - -1, -1, -1, -1, 204, -1, -1, -1, -1, 5866, - -1, -1, -1, -1, -1, 37, 2897, -1, 80, -1, - -1, -1, -1, -1, 5529, 47, -1, 227, 228, -1, - -1, -1, 54, -1, -1, -1, -1, -1, -1, -1, - 410, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 255, 6388, -1, 80, -1, + -1, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, + -1, 2590, -1, 4598, -1, -1, -1, -1, -1, -1, + -1, 199, 2601, -1, -1, 2604, 204, -1, -1, -1, + -1, -1, -1, -1, -1, 4491, -1, -1, 4494, -1, + 5116, -1, -1, -1, -1, 4630, -1, -1, -1, 227, + 228, -1, -1, -1, -1, -1, -1, -1, -1, 5135, + -1, -1, -1, -1, -1, -1, 2645, -1, -1, -1, + 2649, -1, -1, 2652, 517, 2654, -1, 255, 2657, -1, + -1, 4666, -1, 526, 527, 528, 529, 530, 531, 532, + 533, 534, -1, -1, -1, -1, -1, -1, 4683, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 3229, - -1, 3231, -1, -1, -1, -1, -1, -1, 298, -1, - -1, -1, 2983, 2984, -1, -1, -1, -1, 3248, -1, - -1, -1, -1, -1, 314, 3255, -1, 317, -1, -1, - -1, -1, 3262, -1, 3264, 3265, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 199, -1, -1, - -1, -1, 204, -1, -1, -1, -1, 517, -1, -1, - -1, -1, -1, -1, -1, -1, 526, 527, 528, 529, - 530, 531, 532, 533, 534, 227, 228, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 199, -1, 5684, - -1, -1, 204, -1, 5689, 5690, -1, -1, -1, -1, - -1, -1, -1, 255, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 3861, 3085, 227, 228, -1, -1, -1, - 410, -1, -1, 3353, -1, -1, -1, -1, -1, 3359, + 298, -1, -1, -1, -1, -1, -1, -1, -1, 4585, + 4586, 2710, 2711, -1, -1, -1, 314, -1, -1, 317, + 4596, -1, 5980, -1, -1, 5221, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 4613, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 255, -1, -1, 298, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 314, -1, -1, 317, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 298, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 314, -1, -1, 317, -1, -1, 5803, -1, - -1, -1, -1, -1, 3444, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 517, -1, -1, - -1, -1, -1, -1, -1, -1, 526, 527, 528, 529, - 530, 531, 532, 533, 534, -1, -1, -1, 2681, -1, - -1, -1, -1, 10, -1, -1, 13, -1, 410, -1, + 10, -1, -1, 13, -1, -1, -1, 17, 18, 19, + -1, 2790, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 37, -1, -1, + -1, -1, 410, -1, -1, -1, -1, 47, 4694, -1, + -1, 4697, -1, -1, 54, 4830, 4831, 4832, 4833, -1, + -1, -1, -1, 10, -1, -1, 13, -1, -1, -1, 17, 18, 19, -1, -1, -1, -1, -1, -1, -1, - -1, 5866, -1, 4021, -1, -1, -1, -1, -1, -1, - 37, -1, -1, 40, -1, -1, -1, -1, -1, -1, - 47, -1, -1, -1, -1, -1, -1, 54, 410, -1, - -1, -1, -1, 2736, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 2754, -1, 80, -1, 2758, -1, -1, -1, 2762, - -1, -1, -1, -1, 446, -1, -1, -1, 2771, -1, - -1, -1, -1, -1, -1, -1, -1, 3577, 3578, -1, - -1, -1, -1, 2786, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 517, -1, -1, 3598, -1, - -1, 3601, -1, -1, 526, 527, 528, 529, 530, 531, - 532, 533, 534, -1, -1, -1, -1, 2820, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 517, -1, 2840, 2841, -1, - -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, - 532, 533, 534, -1, -1, -1, -1, -1, -1, -1, + 80, -1, -1, -1, -1, 6113, -1, -1, -1, 5355, + 37, 5357, -1, 40, -1, -1, -1, -1, -1, -1, + 47, -1, 10, -1, -1, 13, -1, 54, -1, 17, + 18, 19, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 491, -1, -1, -1, -1, -1, 37, + -1, -1, -1, 80, -1, -1, -1, -1, -1, 47, + -1, -1, 5408, -1, -1, -1, 54, -1, -1, 517, + -1, -1, 5418, -1, -1, -1, -1, -1, 526, 527, + 528, 529, 530, 531, 532, 533, 534, -1, -1, -1, + -1, -1, 80, -1, 174, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 6388, 199, -1, -1, 2878, 2879, 204, -1, 2882, - -1, -1, -1, 3683, 3684, 3685, -1, -1, -1, 3430, + -1, -1, 5458, -1, -1, -1, -1, 5463, -1, 199, + -1, 2597, -1, -1, 204, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 6245, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 227, 228, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 227, 228, -1, 2906, -1, 2908, -1, -1, 3708, 2912, - 10, -1, -1, 13, -1, -1, -1, 17, 18, 19, - -1, -1, -1, 2926, -1, -1, -1, 3727, 255, -1, - 2933, -1, -1, 2936, -1, -1, -1, 37, -1, 2942, - -1, -1, -1, 840, 841, -1, -1, 47, -1, 3749, - -1, -1, -1, -1, 54, -1, -1, -1, -1, 2962, - -1, -1, -1, -1, -1, 2968, -1, -1, -1, -1, - -1, 298, 2975, -1, -1, -1, -1, -1, -1, -1, - 80, -1, -1, -1, -1, -1, 2989, 314, -1, -1, - 317, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 3003, -1, -1, -1, -1, 3008, -1, -1, -1, -1, - -1, 3014, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 920, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 10, 3839, - -1, 13, -1, -1, -1, 17, 18, 19, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 37, -1, -1, -1, -1, - -1, 3074, -1, -1, -1, 47, -1, -1, -1, -1, - -1, -1, 54, 410, -1, -1, 3886, -1, -1, -1, - -1, -1, 3892, -1, 3894, -1, -1, -1, -1, 199, - -1, -1, -1, -1, 204, -1, -1, 3907, 80, 3909, - -1, -1, -1, -1, -1, 10, -1, -1, 13, -1, - -1, -1, 17, 18, 19, -1, -1, 227, 228, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 37, -1, 1041, 1042, -1, -1, -1, -1, - -1, -1, 47, -1, -1, 255, -1, -1, -1, 54, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 3976, -1, -1, -1, - -1, -1, -1, -1, 3725, 80, -1, -1, -1, -1, - 517, -1, -1, -1, 3735, -1, -1, -1, 298, 526, - 527, 528, 529, 530, 531, 532, 533, 534, 180, -1, - -1, -1, -1, -1, 314, -1, -1, 317, 4018, -1, - -1, -1, -1, 6388, 4542, -1, 3229, 199, 3231, -1, - -1, -1, 204, -1, 334, -1, -1, 4037, 4556, -1, - -1, 4041, -1, -1, -1, 3248, -1, -1, -1, -1, - -1, -1, 3255, -1, -1, 227, 228, -1, -1, -1, - -1, -1, 4062, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 1368, -1, -1, -1, -1, -1, - -1, -1, -1, 255, -1, 180, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 199, -1, -1, -1, -1, 204, - 410, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 298, -1, -1, -1, - -1, 1425, 227, 228, -1, -1, -1, -1, -1, -1, - -1, -1, 314, -1, -1, 317, -1, -1, -1, -1, - 3353, -1, -1, -1, -1, -1, 3359, 3898, 3899, 3900, - 255, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 4171, -1, -1, 3915, -1, -1, -1, -1, -1, - -1, -1, -1, 1280, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 298, -1, -1, -1, 3948, 3949, -1, - -1, -1, 3953, -1, -1, -1, -1, 517, -1, 314, - -1, -1, 317, -1, -1, 1322, 526, 527, 528, 529, - 530, 531, 532, 533, 534, -1, -1, -1, 410, -1, - -1, 3444, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 1351, 1352, 1353, -1, 1355, 10, - -1, -1, 13, -1, -1, -1, 17, 18, 19, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 1376, - 10, -1, -1, 13, -1, -1, 37, 17, 18, 19, - -1, -1, -1, -1, -1, -1, 47, -1, -1, -1, - -1, -1, -1, 54, -1, -1, -1, 37, -1, -1, - -1, -1, -1, -1, -1, 410, -1, 47, 4059, -1, - -1, -1, -1, -1, 54, -1, -1, -1, -1, 80, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 517, -1, 4347, -1, -1, - 80, -1, -1, -1, 526, 527, 528, 529, 530, 531, - 532, 533, 534, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 3577, 3578, -1, -1, -1, -1, - -1, -1, -1, -1, 1481, -1, -1, -1, 1485, 1486, - -1, -1, -1, -1, -1, 3598, -1, -1, 3601, -1, + 6278, 6279, 199, -1, -1, 255, -1, 204, -1, -1, + -1, -1, -1, -1, 3033, 3034, 3035, -1, -1, -1, + 3039, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 227, 228, -1, -1, -1, -1, 4932, -1, -1, -1, + -1, 199, -1, -1, -1, -1, 204, 3066, 298, -1, + -1, 2697, -1, -1, -1, -1, -1, -1, 255, -1, + -1, -1, -1, 2709, 314, -1, -1, 317, 2714, 227, + 228, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 4411, -1, -1, -1, -1, 4416, -1, 4418, -1, - -1, -1, 517, 174, -1, -1, -1, -1, -1, -1, - -1, 526, 527, 528, 529, 530, 531, 532, 533, 534, - -1, -1, 1736, -1, 4444, -1, 1740, -1, 199, -1, - -1, -1, -1, 204, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 199, - -1, -1, -1, -1, 204, -1, 227, 228, -1, -1, - 3683, 3684, 3685, -1, -1, -1, 4227, 4228, 4229, -1, - -1, 4491, -1, -1, 4494, -1, -1, 227, 228, -1, - -1, -1, -1, -1, 255, 3708, -1, 10, -1, -1, - 13, -1, -1, -1, 17, 18, 19, -1, -1, -1, - -1, -1, -1, -1, 3727, 255, -1, -1, -1, -1, - 5048, -1, -1, -1, 37, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 47, 5063, 3749, 298, -1, -1, - -1, 54, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 314, -1, -1, 317, -1, 298, -1, - -1, -1, -1, -1, -1, -1, -1, 80, -1, -1, - -1, -1, -1, -1, 314, 4585, 4586, 317, -1, -1, - -1, -1, -1, -1, -1, -1, 4596, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 4613, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 1730, 1731, 1732, 3839, 5155, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 153, -1, -1, -1, -1, -1, -1, -1, -1, 410, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 410, -1, -1, 3886, -1, -1, -1, -1, -1, 3892, - -1, 3894, -1, -1, 4694, -1, 199, 4697, -1, -1, - -1, 204, -1, -1, 3907, -1, 3909, -1, -1, -1, + -1, -1, -1, -1, 4990, -1, -1, 255, -1, -1, + -1, 298, -1, -1, -1, -1, 5002, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 314, -1, -1, + 317, -1, -1, -1, -1, -1, -1, 6405, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 227, 228, -1, -1, -1, -1, + 298, 5037, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 314, -1, 5183, 317, + 410, -1, -1, -1, -1, -1, -1, -1, -1, 5194, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 5702, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 255, -1, -1, -1, -1, -1, -1, -1, - -1, 491, -1, 2057, -1, -1, 517, -1, -1, -1, - -1, -1, -1, 3976, -1, 526, 527, 528, 529, 530, - 531, 532, 533, 534, -1, -1, -1, 517, -1, 2083, - -1, -1, -1, 2087, -1, 298, 526, 527, 528, 529, - 530, 531, 532, 533, 534, -1, -1, -1, 2102, 2103, - 2104, 314, 2106, -1, 317, 4018, -1, -1, -1, -1, - -1, -1, -1, -1, 10, 4566, -1, 13, -1, -1, - -1, 17, 18, 19, 4037, -1, -1, -1, 4041, -1, + 5716, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 410, -1, -1, -1, -1, -1, -1, + 5116, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 5748, -1, -1, -1, -1, -1, -1, 5135, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 37, -1, -1, -1, -1, -1, 4598, -1, 4062, - -1, 47, -1, -1, 5382, -1, 5384, -1, 54, -1, + -1, -1, 410, -1, -1, -1, 3275, -1, -1, -1, + -1, 3280, -1, -1, -1, -1, -1, 517, -1, -1, + -1, -1, -1, -1, -1, -1, 526, 527, 528, 529, + 530, 531, 532, 533, 534, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 4630, - -1, -1, -1, -1, 80, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 410, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 4665, -1, -1, -1, -1, -1, - -1, -1, 4932, -1, -1, -1, -1, -1, -1, -1, - -1, 4682, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 2059, -1, -1, -1, -1, -1, 4171, -1, - -1, 2068, 2069, 2070, 2071, 2072, 2073, 2074, 2075, 2076, - 2077, -1, -1, -1, -1, 2082, -1, 2084, 174, 2086, - 4990, -1, 2089, 2090, 2091, -1, -1, -1, -1, -1, - 2097, -1, 5002, 2100, -1, -1, 5524, -1, -1, -1, - -1, -1, -1, 199, 517, -1, -1, -1, 204, -1, - 2117, 2118, 2119, 526, 527, 528, 529, 530, 531, 532, - 533, 534, -1, -1, -1, -1, -1, 5037, 2135, -1, - -1, 227, 228, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 255, + -1, 5827, -1, 3332, -1, -1, -1, -1, -1, -1, + 517, -1, -1, -1, 3343, 5221, 3345, 3346, -1, 526, + 527, 528, 529, 530, 531, 532, 533, 534, -1, -1, + 3359, -1, -1, 3362, -1, 3364, -1, 5863, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 517, + -1, -1, -1, -1, -1, -1, -1, -1, 526, 527, + 528, 529, 530, 531, 532, 533, 534, -1, -1, -1, + -1, -1, 3401, -1, 3403, -1, 3405, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 4830, - 4831, 4832, 4833, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 298, -1, -1, -1, 5116, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 314, -1, - -1, 317, -1, 10, -1, 5135, 13, -1, -1, -1, - 17, 18, 19, -1, 4347, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 37, -1, -1, 40, -1, -1, -1, -1, -1, -1, - 47, -1, -1, -1, -1, -1, -1, 54, -1, -1, - -1, -1, -1, -1, -1, -1, 2283, -1, 5706, -1, - 5708, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 80, -1, -1, -1, -1, 4411, -1, - -1, -1, -1, 4416, -1, 4418, -1, -1, -1, -1, - -1, 5221, -1, -1, 410, -1, -1, -1, -1, -1, + -1, -1, -1, 5939, -1, -1, 5942, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 2337, 4444, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 10, -1, -1, 13, -1, -1, -1, 17, - 18, 19, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 4491, 37, - -1, 4494, -1, -1, -1, -1, -1, 2394, -1, 47, - -1, -1, 2596, -1, -1, -1, 54, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 5482, -1, 5355, + -1, 5357, 5487, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 199, -1, -1, -1, -1, 204, -1, -1, - -1, 517, 80, -1, -1, -1, -1, -1, -1, -1, - 526, 527, 528, 529, 530, 531, 532, 533, 534, -1, - 227, 228, -1, -1, -1, 5355, -1, 5357, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 255, -1, - -1, -1, 4585, 4586, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 4596, -1, -1, -1, -1, -1, -1, - -1, -1, 2696, -1, -1, -1, -1, -1, 5408, -1, - 4613, -1, -1, -1, 2708, -1, -1, -1, 5418, 2713, - -1, 298, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 314, -1, -1, - 317, -1, 5183, -1, -1, 25, -1, -1, -1, -1, - 30, 199, -1, 5194, -1, -1, 204, -1, 5458, -1, - -1, -1, 5980, 5463, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 227, - 228, -1, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, - 2587, 4694, 2589, -1, 4697, -1, -1, -1, -1, -1, - -1, 81, 82, 2600, -1, -1, 2603, 255, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 98, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 410, -1, -1, 116, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 2644, -1, -1, - 298, 2648, -1, -1, 2651, -1, 2653, -1, -1, 2656, - 140, -1, -1, -1, -1, -1, 314, -1, -1, 317, - -1, -1, -1, -1, 154, -1, -1, -1, -1, -1, - -1, -1, -1, 163, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 6113, 176, -1, -1, -1, - -1, -1, 182, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 2709, 2710, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 209, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 517, -1, -1, -1, -1, -1, -1, -1, -1, 526, - 527, 528, 529, 530, 531, 532, 533, 534, -1, -1, - -1, -1, 410, -1, -1, -1, -1, 247, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 269, - -1, -1, 2789, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 5702, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 5716, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 6245, -1, 4932, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5482, -1, -1, -1, -1, 5487, -1, 5748, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 6278, 6279, -1, -1, -1, 5506, -1, -1, -1, 517, - -1, 351, 352, -1, -1, 355, -1, -1, 526, 527, - 528, 529, 530, 531, 532, 533, 534, 4990, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 5002, - -1, -1, 382, -1, -1, 385, -1, -1, -1, -1, - -1, -1, 392, -1, -1, -1, -1, -1, -1, 399, - -1, -1, 402, -1, -1, -1, -1, 5827, -1, -1, - -1, -1, -1, -1, 5037, -1, -1, -1, -1, -1, - -1, -1, 422, -1, -1, -1, -1, -1, -1, -1, - 430, -1, -1, -1, -1, -1, -1, 437, -1, -1, - 440, -1, -1, 5863, -1, 445, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 460, -1, -1, -1, -1, -1, -1, 6405, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 487, -1, -1, - -1, -1, -1, 5116, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 5135, -1, -1, 3032, 3033, 3034, -1, 5939, - -1, 3038, 5942, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 3065, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 3277, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 3295, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 3305, -1, -1, -1, -1, -1, 3311, 5221, -1, - 3314, -1, -1, -1, -1, -1, -1, 3321, 3322, 5770, - 3324, -1, -1, -1, -1, 3329, 3330, -1, 3332, -1, - 3334, -1, -1, -1, 3338, -1, -1, 3341, -1, -1, - -1, -1, 3346, -1, -1, -1, -1, 5798, -1, -1, - -1, 3355, -1, -1, -1, -1, 3360, -1, -1, -1, - -1, -1, -1, -1, 3368, 3369, 3370, 3371, -1, -1, - -1, -1, 3376, 3377, -1, 3379, -1, 6087, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 6101, -1, 3397, -1, 3399, -1, -1, -1, -1, - -1, 6111, 3406, 3407, 3408, 3409, 3410, 3411, 3412, 3413, - 3414, 3415, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 5355, 22, 5357, -1, -1, -1, 3452, -1, - -1, -1, -1, -1, 33, -1, 35, 36, 5909, -1, - 6170, 6171, -1, -1, -1, -1, -1, 3274, -1, -1, - -1, -1, 3279, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 63, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 5408, 75, -1, 77, 78, - -1, -1, -1, -1, -1, 84, -1, 86, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 99, -1, 101, -1, 3331, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 3342, -1, 3344, 3345, 118, - -1, 6251, 121, -1, -1, 5458, -1, -1, -1, -1, - -1, 3358, -1, -1, 3361, -1, 3363, 136, -1, 138, - -1, -1, -1, 142, -1, -1, -1, -1, -1, -1, - 149, -1, -1, -1, -1, -1, -1, -1, 25, -1, - 159, -1, 161, 30, -1, -1, -1, -1, 3592, 168, - -1, -1, -1, 3400, -1, 3402, -1, 3404, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 186, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 68, -1, -1, 203, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 81, 82, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 94, -1, -1, - -1, 98, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 116, - -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, - -1, -1, -1, -1, 263, -1, -1, -1, -1, -1, - -1, 3498, -1, 140, -1, -1, 3503, -1, -1, 278, - -1, -1, -1, -1, -1, 6415, -1, 154, -1, -1, - -1, 3518, -1, -1, -1, -1, 163, -1, 297, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 176, - -1, -1, -1, -1, -1, 182, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 209, -1, -1, -1, 6476, 346, -1, -1, - -1, -1, -1, -1, -1, -1, 3583, -1, -1, 6489, - 6490, -1, 361, -1, -1, -1, -1, 366, 367, 5702, - 369, 6501, -1, -1, -1, 374, -1, -1, 377, -1, - 247, 380, -1, 5716, 383, -1, -1, -1, -1, -1, - -1, 390, -1, -1, -1, -1, -1, -1, 397, 398, - -1, -1, 269, -1, -1, -1, 405, -1, -1, -1, - 409, -1, -1, -1, -1, 5748, 3643, -1, -1, -1, - -1, 420, -1, -1, 3848, 3849, -1, -1, -1, 3853, - -1, -1, -1, -1, -1, -1, -1, -1, 437, -1, - -1, -1, -1, -1, -1, -1, -1, 314, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 3882, 458, + 3499, 5506, -1, -1, -1, 3504, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 470, -1, -1, 341, -1, -1, 476, -1, -1, - -1, -1, 481, -1, 351, 352, -1, -1, 355, -1, - -1, -1, -1, -1, 5827, -1, 495, -1, -1, -1, + 3519, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 5408, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 382, -1, -1, 385, -1, - 519, -1, 389, -1, -1, 392, -1, -1, -1, -1, - 5863, -1, 399, -1, -1, 402, -1, -1, -1, 538, - -1, -1, 541, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 422, -1, -1, -1, -1, - -1, -1, -1, 430, -1, -1, -1, -1, -1, -1, - 437, -1, -1, 440, -1, -1, -1, -1, 445, -1, - -1, -1, -1, -1, -1, -1, 453, -1, 455, -1, - -1, -1, -1, 460, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 5939, -1, -1, 5942, - -1, -1, -1, -1, -1, -1, -1, 3844, -1, -1, - 487, -1, -1, 3850, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 4077, -1, -1, -1, -1, -1, 4083, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 30, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 3929, -1, -1, -1, -1, 4131, 4132, -1, - -1, 4135, 4136, 4137, 4138, -1, -1, 4141, 4142, 4143, - 4144, 4145, 4146, 4147, 4148, 4149, 4150, 4151, -1, -1, - -1, -1, -1, -1, -1, 81, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 4174, -1, 98, 4177, 6087, 4179, -1, -1, 4182, 4183, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 116, -1, -1, -1, -1, -1, 122, -1, 6111, -1, - 4204, 4205, 4206, 4207, -1, -1, 4210, -1, -1, -1, - -1, -1, -1, -1, 140, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 154, -1, - -1, -1, -1, -1, -1, -1, -1, 163, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 176, -1, -1, -1, -1, -1, 182, -1, -1, -1, - -1, -1, -1, 189, -1, -1, -1, -1, -1, -1, - -1, 4078, -1, -1, -1, -1, 4280, -1, -1, 4086, - -1, 4088, -1, 209, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 4102, -1, -1, -1, 4106, - 4107, 4108, -1, -1, -1, -1, 4113, -1, -1, 4116, - -1, -1, 4119, -1, -1, -1, -1, -1, 4125, -1, - 4127, 247, -1, -1, -1, -1, 4330, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 6251, -1, - -1, -1, -1, 269, -1, -1, -1, 4154, 4155, 4156, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 4365, -1, -1, -1, -1, 4173, -1, -1, -1, - -1, -1, -1, -1, 4181, -1, -1, 4184, -1, 4186, - -1, -1, -1, -1, -1, -1, -1, -1, 314, -1, - -1, -1, -1, -1, -1, 4202, -1, -1, -1, -1, - -1, -1, -1, -1, 4211, 4212, -1, -1, -1, -1, - -1, 4218, -1, -1, -1, 341, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 351, 352, -1, -1, 355, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 4247, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 382, -1, -1, 385, - -1, -1, -1, 389, -1, -1, 392, -1, -1, -1, - -1, -1, -1, 399, -1, -1, 402, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 4298, -1, -1, -1, -1, 422, -1, -1, -1, - -1, -1, 6415, -1, 430, -1, -1, -1, 4315, 435, - -1, 437, -1, -1, 440, -1, -1, -1, -1, 445, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 455, - -1, -1, -1, -1, 460, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 474, -1, - -1, -1, -1, -1, 4558, -1, -1, -1, -1, -1, - -1, 487, -1, 6476, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 6501, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 4602, -1, + -1, -1, 5458, -1, -1, 3584, -1, -1, -1, -1, + -1, 6087, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 6101, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 6111, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 3644, -1, -1, -1, -1, + -1, -1, 3278, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 3296, -1, -1, -1, 6170, 6171, -1, -1, -1, -1, + 3306, -1, -1, -1, -1, -1, 3312, -1, -1, 3315, + -1, -1, -1, -1, -1, -1, 3322, 3323, -1, 3325, + -1, -1, -1, -1, 3330, 3331, -1, 3333, -1, 3335, + -1, -1, -1, 3339, -1, -1, 3342, -1, -1, -1, + -1, 3347, -1, -1, -1, -1, -1, -1, -1, -1, + 3356, -1, -1, -1, -1, 3361, -1, -1, -1, -1, + -1, -1, -1, 3369, 3370, 3371, 3372, -1, -1, -1, + -1, 3377, 3378, -1, 3380, 6251, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 5770, 22, -1, -1, -1, + -1, -1, 3398, -1, 3400, -1, -1, 33, -1, 35, + 36, 3407, 3408, 3409, 3410, 3411, 3412, 3413, 3414, 3415, + 3416, -1, -1, 5798, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 63, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, + -1, 77, 78, -1, -1, -1, 5702, 3453, 84, -1, + 86, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 5716, -1, -1, 99, -1, 101, 3845, -1, -1, -1, + -1, -1, 3851, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 118, -1, -1, 121, -1, -1, -1, -1, + -1, -1, 5748, -1, -1, -1, -1, -1, -1, -1, + 136, -1, 138, -1, -1, -1, 142, -1, -1, -1, + -1, -1, -1, 149, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 159, 5909, 161, -1, -1, -1, -1, + -1, -1, 168, -1, -1, -1, -1, 25, -1, 6415, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 186, 3930, -1, -1, -1, 43, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 203, -1, -1, + -1, 5827, -1, -1, -1, -1, -1, -1, -1, -1, + 68, -1, -1, -1, -1, -1, -1, 3593, -1, -1, + -1, -1, -1, 81, -1, -1, -1, -1, -1, -1, + 6476, -1, -1, -1, -1, -1, -1, 5863, -1, -1, + 98, -1, -1, 6489, 6490, -1, -1, -1, -1, -1, + -1, 257, 258, -1, -1, 6501, -1, 263, 116, -1, + -1, -1, -1, -1, 122, -1, -1, -1, -1, -1, + -1, -1, 278, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 140, -1, -1, -1, -1, -1, -1, -1, + -1, 297, -1, -1, -1, -1, 154, -1, -1, -1, + -1, -1, -1, -1, -1, 163, -1, -1, -1, -1, + -1, -1, -1, 5939, -1, -1, 5942, -1, 176, -1, + -1, -1, -1, -1, -1, -1, -1, 185, -1, 4078, + -1, 189, -1, -1, -1, -1, -1, 4086, -1, 4088, + 346, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 209, -1, 4102, -1, 361, -1, 4106, 4107, 4108, + 366, 367, -1, 369, 4113, -1, -1, 4116, 374, -1, + 4119, 377, -1, -1, 380, -1, 4125, 383, 4127, -1, + -1, -1, -1, -1, 390, -1, -1, -1, -1, -1, + -1, 397, 398, -1, -1, -1, -1, -1, -1, 405, + -1, 259, -1, 409, -1, 4154, 4155, 4156, -1, -1, + -1, 269, -1, -1, 420, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 4173, -1, -1, -1, -1, -1, + -1, 437, 4181, -1, -1, 4184, -1, 4186, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 458, 4202, -1, -1, 314, -1, -1, 317, + -1, 6087, 4211, 4212, 470, -1, -1, -1, -1, 4218, + 476, -1, -1, 3849, 3850, 481, -1, -1, 3854, -1, + -1, -1, -1, 341, -1, 6111, -1, -1, -1, 495, + -1, -1, -1, -1, -1, -1, -1, 355, 4247, -1, + -1, -1, -1, -1, 362, -1, -1, 3883, -1, -1, + -1, -1, -1, 519, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 382, -1, -1, -1, -1, -1, + -1, -1, 538, -1, 392, 541, -1, -1, -1, -1, + -1, 399, -1, -1, 402, -1, -1, -1, -1, 4298, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 422, -1, 4315, -1, -1, -1, + -1, -1, 430, -1, -1, -1, -1, -1, -1, 437, + -1, -1, 440, -1, 442, -1, 444, 445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 460, -1, -1, -1, -1, -1, -1, -1, + 468, -1, -1, 471, -1, -1, 474, -1, -1, -1, + -1, -1, -1, -1, -1, 6251, -1, -1, -1, 487, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 4724, -1, -1, -1, 4728, 4729, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 4742, -1, - -1, -1, -1, -1, -1, -1, 4750, -1, 4752, -1, - 4754, 4755, -1, -1, -1, -1, 4760, 4761, 4762, 4763, - -1, -1, -1, 4767, 4768, 4769, 4770, 4771, 4772, 4773, - 4774, 4775, 4776, 4777, 4778, 4779, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 4804, -1, -1, 4807, -1, 4809, -1, -1, -1, 4813, - -1, -1, 4816, 4817, -1, -1, -1, 4821, 4822, -1, - -1, -1, -1, 4827, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 4642, 4643, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 4653, -1, -1, -1, + -1, 4077, -1, -1, -1, -1, -1, 4083, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 4881, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 4895, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 4723, -1, -1, -1, + -1, -1, -1, -1, -1, 4131, 4132, -1, -1, 4135, + 4136, 4137, 4138, -1, -1, 4141, 4142, 4143, 4144, 4145, + 4146, 4147, 4148, 4149, 4150, 4151, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 6415, + -1, -1, -1, -1, -1, -1, -1, -1, 4174, -1, + -1, 4177, -1, 4179, -1, -1, 4182, 4183, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 4740, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 4204, 4205, + 4206, 4207, -1, -1, 4210, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 4758, -1, -1, -1, -1, -1, -1, -1, -1, + 6476, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 6501, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 4642, 4643, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 4280, 4654, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 4797, 4798, -1, -1, -1, -1, -1, -1, 4805, 4806, - -1, -1, -1, 4810, -1, -1, -1, -1, 4815, -1, - -1, 4818, -1, 4820, -1, -1, -1, -1, -1, 4826, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 4330, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 4871, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 4723, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 4365, + -1, 4740, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 4758, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 4890, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 5097, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 4797, 4798, + -1, -1, -1, -1, -1, -1, 4805, 4806, -1, -1, + -1, 4810, -1, -1, -1, -1, 4815, -1, -1, 4818, + -1, 4820, -1, -1, -1, -1, -1, 4826, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 4937, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 4871, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5185, 5186, -1, -1, -1, -1, -1, -1, 5193, + -1, 4890, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5018, -1, -1, -1, -1, -1, -1, 5025, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 5236, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 4558, -1, -1, -1, -1, -1, 4937, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 5259, 5260, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 5278, -1, 5280, -1, -1, -1, - 5284, 5285, 5286, 5287, -1, -1, 5290, 5094, 5292, -1, - -1, -1, -1, 5297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5315, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 5333, + -1, -1, -1, -1, -1, -1, 4602, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 5348, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 5378, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 5018, + -1, -1, -1, -1, -1, -1, 5025, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 5429, -1, 5431, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 5247, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 5257, -1, -1, -1, -1, -1, 5263, 5264, 5265, -1, - -1, -1, 5466, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5288, 5289, -1, -1, -1, 5293, -1, -1, -1, + -1, -1, -1, -1, -1, 5094, -1, -1, 4724, -1, + -1, -1, 4728, 4729, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 4742, -1, -1, -1, + -1, -1, -1, -1, 4750, -1, 4752, -1, 4754, 4755, + -1, -1, -1, -1, 4760, 4761, 4762, 4763, -1, -1, + -1, 4767, 4768, 4769, 4770, 4771, 4772, 4773, 4774, 4775, + 4776, 4777, 4778, 4779, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 5311, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 5321, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 5332, -1, -1, -1, -1, - -1, -1, -1, 5340, -1, -1, -1, -1, -1, -1, - -1, -1, 5349, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 4804, -1, + -1, 4807, -1, 4809, -1, -1, -1, 4813, -1, -1, + 4816, 4817, -1, -1, -1, 4821, 4822, -1, -1, -1, + -1, 4827, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 5574, -1, 5576, 5577, 5578, 5579, 5580, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 5593, - 5594, 5595, -1, -1, -1, -1, -1, -1, -1, 5603, - -1, -1, -1, -1, 5608, -1, -1, 5611, -1, -1, - -1, 5615, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 5633, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 5652, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 5247, -1, + -1, -1, -1, -1, -1, 4881, -1, -1, 5257, -1, + -1, -1, -1, -1, 5263, 5264, 5265, -1, -1, 4895, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 5288, + 5289, -1, -1, -1, 5293, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 5311, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 5321, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 5332, -1, -1, -1, -1, -1, -1, + -1, 5340, -1, -1, -1, -1, -1, -1, -1, -1, + 5349, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, @@ -21172,137 +21065,555 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 5560, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 5581, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 5097, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 5626, - -1, -1, -1, -1, 5828, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 5839, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 5860, -1, 5862, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5678, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 5694, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 5913, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5925, -1, -1, -1, -1, -1, -1, -1, 5736, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 5961, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 5185, + 5186, 5560, -1, -1, -1, -1, -1, 5193, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 5581, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 5236, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 5626, -1, -1, + -1, -1, -1, 5259, 5260, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 5278, -1, 5280, -1, -1, -1, 5284, 5285, + 5286, 5287, -1, -1, 5290, -1, 5292, -1, -1, -1, + -1, 5297, -1, -1, -1, -1, -1, -1, -1, 5678, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 5315, + -1, -1, -1, -1, -1, 5694, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 5333, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 5826, + -1, -1, 5348, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 5736, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 5838, -1, -1, -1, -1, -1, 6041, -1, -1, - 5847, 5848, 5849, -1, 6048, -1, -1, -1, -1, -1, + -1, -1, 5378, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 5875, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 6084, -1, -1, -1, -1, -1, -1, 5894, -1, -1, - -1, -1, -1, -1, -1, 6099, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 5914, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 5429, -1, 5431, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 5826, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 5838, + 5466, -1, -1, -1, -1, -1, -1, -1, 5847, 5848, + 5849, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 5875, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 5894, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 5914, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 5574, -1, + 5576, 5577, 5578, 5579, 5580, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 5593, 5594, 5595, + -1, -1, -1, -1, -1, -1, -1, 5603, -1, -1, + -1, -1, 5608, -1, -1, 5611, -1, -1, -1, 5615, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 6207, 6208, -1, -1, 6211, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 5633, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 5652, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 6045, -1, + -1, -1, -1, -1, -1, -1, 6045, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 6070, -1, -1, -1, -1, -1, -1, - -1, 6275, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 6070, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 6300, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 6318, 6319, -1, 6321, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 6152, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 6176, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 6390, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 6152, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 6176, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 5828, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 5839, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 5860, -1, 5862, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 3, -1, 5, 6, -1, 8, 9, - 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, - -1, 6308, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, -1, -1, 6324, -1, 39, - -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, - 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, - 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, - -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, - 100, -1, 102, 103, 104, 105, 106, 107, 108, 109, - 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, - 120, 121, 122, 123, -1, 125, 126, 127, 128, 129, - 130, 131, -1, 133, 134, 135, 136, 137, -1, 139, - 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, - 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, - 160, 161, 162, 163, 164, 165, 166, 167, 6455, 169, - 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, - -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, - 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, - 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, - 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, - 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, - 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, - -1, 251, 252, 253, 254, 255, -1, 257, 258, 259, - 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, - 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, - 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, - 300, 301, 302, 303, 304, 305, 306, 307, -1, 309, - 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, - 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, - 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, - 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, - 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, - 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, - 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, - 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, - 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, - 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, - 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, - 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, - 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, - -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, - 460, 461, 462, 463, 464, 465, 466, -1, 468, 469, - 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, - 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, - 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, - 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, -1, 517, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 529, - 530, 531, -1, -1, -1, -1, -1, -1, 538, 539, + -1, -1, -1, -1, -1, -1, -1, 5913, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 5925, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 6308, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 6324, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 5961, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 6041, -1, -1, -1, -1, + -1, -1, 6048, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 6455, -1, 6084, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 6099, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 6207, 6208, -1, -1, 6211, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 6275, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 6300, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 6318, 6319, -1, 6321, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 3, -1, + 5, 6, -1, 8, 9, 10, 11, 12, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + -1, -1, -1, -1, 39, -1, -1, 42, 43, 44, + -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 6390, 60, 61, 62, 63, 64, + 65, 66, 67, 68, 69, 70, 71, 72, 73, -1, + 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, + 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, + 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, + 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, + 115, 116, 117, 118, 119, 120, 121, 122, 123, -1, + 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, + 135, 136, 137, -1, 139, 140, 141, 142, 143, -1, + 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, + -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, + 165, 166, 167, -1, 169, 170, 171, 172, 173, -1, + 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, + 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, + 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, + 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, + 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, + -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, + 245, 246, 247, 248, -1, -1, 251, 252, 253, 254, + 255, -1, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, + 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, + 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, + 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, + 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, + 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, + 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, + 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, + 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, + 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, + 395, 396, 397, -1, 399, 400, 401, 402, 403, 404, + 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, + -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, + 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, + 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, + 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, + 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, + 465, 466, -1, 468, 469, 470, 471, 472, 473, 474, + -1, 476, 477, 478, 479, 480, 481, 482, 483, 484, + 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, + -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, -1, 517, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 529, 530, 531, -1, -1, -1, + -1, -1, -1, 538, 539, 3, -1, 5, 6, -1, + 8, 9, 10, 11, 12, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, + 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, + -1, 39, -1, -1, 42, 43, 44, -1, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 58, -1, 60, 61, 62, 63, 64, 65, 66, 67, + 68, 69, 70, 71, 72, 73, -1, 75, 76, 77, + 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, + 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, + 98, 99, 100, -1, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, + 118, 119, 120, 121, 122, 123, -1, 125, 126, 127, + 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, + -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, + 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, + 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, + -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, + 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, + 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, + 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, + 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, + 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, + 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, + 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, -1, -1, 251, 252, 253, 254, 255, -1, 257, + 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, + 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, + 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, + -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, + -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, + 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, + -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, + -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, + 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, + 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, + -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, + 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, + 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, + 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, + 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, + 428, 429, 430, 431, 432, -1, 434, 435, 436, 437, + 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, + 448, 449, -1, -1, 452, 453, 454, 455, 456, 457, + 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, + 468, 469, 470, 471, 472, 473, 474, -1, 476, 477, + 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, + 488, 489, 490, -1, -1, 493, -1, 495, 496, 497, + 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, -1, 517, + -1, 519, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 529, 530, -1, -1, -1, -1, -1, -1, -1, + 538, 539, 3, -1, 5, 6, -1, 8, 9, 10, + 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, + -1, 32, 33, 34, -1, -1, -1, -1, 39, -1, + -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, + 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, + 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, + -1, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, + 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, + 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, + 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, + 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, + 161, 162, 163, 164, 165, 166, 167, -1, 169, 170, + 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, + 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, + 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, + 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, + 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, + 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, + 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, + 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, + 251, 252, 253, 254, 255, -1, 257, 258, 259, 260, + 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, + 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, + 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, + 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, + 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, + 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, + 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, + 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, + 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, + 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, + 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, + 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, + 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, + 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, + 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, + -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, + 461, 462, 463, 464, 465, 466, -1, 468, 469, 470, + 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, + 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, + -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, + 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, + 511, 512, 513, 514, 515, -1, 517, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 529, 530, + -1, -1, -1, -1, -1, -1, -1, 538, 539, 3, + -1, 5, 6, -1, 8, 9, 10, 11, 12, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, + 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, + 34, -1, -1, -1, -1, 39, -1, -1, 42, 43, + 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, + 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, + 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, + 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, + -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, + 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, + 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, + -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, + 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, + -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, + 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, -1, 169, 170, 171, 172, 173, + -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, + 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, + 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, + -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, + 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, + 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, + 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, + 254, 255, -1, 257, 258, 259, 260, 261, 262, 263, + 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, + 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, + 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, + 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, + 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, + 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, + 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, + 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, + -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, + 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, + 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, + 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, + 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, + 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, + 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, + 434, 435, 436, -1, 438, 439, 440, 441, 442, 443, + 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, + 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, + 464, 465, 466, -1, 468, 469, 470, 471, 472, 473, + 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, + 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, + -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, + 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, + 514, 515, -1, 517, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 529, 530, -1, -1, -1, + -1, -1, -1, -1, 538, 539, 3, -1, 5, 6, + -1, 8, 9, 10, 11, 12, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, + 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, + -1, -1, 39, -1, -1, 42, 43, 44, -1, 46, + 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, + 67, 68, 69, 70, 71, 72, 73, -1, 75, 76, + 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, + 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, + 97, 98, 99, 100, -1, 102, 103, 104, 105, 106, + 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, + 117, 118, 119, 120, 121, 122, 123, -1, 125, 126, + 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, + -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, + 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, + 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, + 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, + 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, + 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, + 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, + 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, + 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, + 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, + 247, 248, -1, -1, 251, 252, 253, 254, 255, -1, + 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, + 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, + 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, + -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, + 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, + 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, + 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, + 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, + 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, + 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, + 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, + 397, -1, 399, 400, 401, 402, 403, 404, 405, 406, + 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, + 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, + 427, 428, 429, 430, 431, 432, -1, 434, 435, 436, + -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, + 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, + 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, + -1, 468, 469, 470, 471, 472, 473, 474, -1, 476, + 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, + 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, + 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, + 517, -1, -1, -1, 3, -1, -1, -1, -1, -1, + -1, -1, 529, 530, -1, -1, -1, -1, -1, -1, + -1, 538, 539, 22, 23, 24, 25, 26, 27, 28, + 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, + -1, 40, -1, 42, 43, 44, -1, 46, 47, 48, + 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, + -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, + 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, + 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, + -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, + 99, 100, -1, 102, 103, 104, 105, -1, -1, -1, + -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, + 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, + 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, + 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, + -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, + 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, + 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, + -1, -1, 181, 182, 183, 184, 185, -1, 187, 188, + -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, + -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, + 209, 210, 211, 212, -1, 214, 215, 216, 217, 218, + 219, 220, 221, 222, -1, 224, -1, 226, -1, -1, + 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, + 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, + -1, -1, 251, 252, 253, 254, -1, -1, 257, 258, + 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, + 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, + 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, + 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, + 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, + 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, + 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, + 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, + 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, + 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, + 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, + 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, + 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, + 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, + 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, + 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, + 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, + -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, + 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, + 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, + 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, + 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, + 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, + 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, + 509, 510, 511, 512, 513, 514, 515, -1, -1, -1, + -1, -1, 3, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 539, 22, 23, 24, 25, 26, 27, 28, 29, 30, + -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, + -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, + 51, 52, 53, -1, 55, 56, 57, 58, -1, 60, + 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, + 71, 72, 73, -1, 75, 76, 77, 78, -1, -1, + 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, + -1, 102, 103, 104, 105, -1, -1, -1, 109, -1, + -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, + 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, + 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, + 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, + 151, 152, 153, 154, -1, 156, 157, 158, 159, -1, + 161, 162, 163, 164, -1, -1, 167, -1, 169, 170, + 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, + 181, 182, 183, 184, 185, -1, 187, -1, -1, -1, + 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, + 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, + 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, + 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, + 231, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 242, 243, 244, 245, 246, 247, 248, -1, -1, + 251, -1, 253, 254, 255, -1, 257, 258, 259, -1, + -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, + 271, -1, 273, 274, 275, 276, 277, 278, 279, 280, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, -1, -1, 294, -1, 296, 297, 298, 299, -1, + -1, 302, 303, 304, 305, 306, 307, -1, 309, 310, + 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, + 321, 322, 323, 324, -1, 326, 327, 328, 329, 330, + 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, + 341, -1, 343, -1, 345, 346, 347, -1, 349, 350, + 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, + 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, + 381, 382, 383, 384, 385, 386, -1, 388, 389, 390, + 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, + 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, + 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, + 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, + -1, 432, -1, 434, 435, -1, -1, 438, 439, 440, + 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, + -1, 452, 453, -1, 455, -1, -1, 458, 459, 460, + 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, + 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, + -1, 482, 483, 484, 485, 486, 487, 488, 489, 490, + -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, + 501, 3, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 513, 514, 515, -1, -1, -1, -1, -1, + 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, + 32, 33, 34, -1, -1, -1, -1, -1, 539, -1, + 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, + 52, 53, -1, 55, 56, 57, 58, -1, 60, 61, + 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, + 72, 73, -1, 75, 76, 77, 78, -1, -1, 81, + -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, + 102, 103, 104, 105, -1, -1, -1, 109, -1, -1, + -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, + -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, + -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, + 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, + 152, 153, 154, -1, 156, 157, 158, 159, -1, 161, + 162, 163, 164, -1, -1, 167, -1, 169, 170, 171, + 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, + 182, 183, 184, 185, -1, 187, -1, -1, -1, 191, + 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, + 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, + 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, + 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, + -1, 253, 254, 255, -1, 257, 258, 259, -1, -1, + 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, + -1, 273, 274, 275, 276, 277, 278, 279, 280, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + -1, -1, 294, -1, 296, 297, 298, 299, -1, -1, + 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, + -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, + 322, 323, 324, -1, 326, 327, 328, 329, 330, 331, + 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, + -1, 343, -1, 345, 346, 347, -1, 349, 350, 351, + 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, + 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, + 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, + 382, 383, 384, 385, 386, -1, 388, 389, 390, 391, + 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, + 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, + 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, + 422, 423, 424, 425, 426, 427, 428, 429, 430, -1, + 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, + 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, + 452, 453, -1, 455, -1, -1, 458, 459, 460, 461, + 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, + 472, 473, -1, -1, 476, 477, 478, 479, 480, -1, + 482, 483, 484, 485, 486, 487, 488, 489, 490, -1, + -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 3, -1, 5, 6, -1, 8, 9, 10, 11, 12, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, + -1, 513, 514, 515, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, - 33, 34, -1, -1, -1, -1, 39, -1, -1, 42, + 33, 34, -1, -1, -1, -1, 39, 539, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, @@ -21336,7 +21647,7 @@ static const yytype_int16 yycheck[] = 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, - 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, + 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, @@ -21352,61 +21663,432 @@ static const yytype_int16 yycheck[] = 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, 517, -1, 519, -1, -1, -1, -1, -1, -1, -1, -1, -1, 529, 530, -1, -1, - -1, -1, -1, -1, -1, 538, 539, 3, -1, 5, - 6, -1, 8, 9, 10, 11, 12, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, - 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, - -1, -1, -1, 39, -1, -1, 42, 43, 44, -1, - 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, - 66, 67, 68, 69, 70, 71, 72, 73, -1, 75, - 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, - 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, - 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, - 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, - 116, 117, 118, 119, 120, 121, 122, 123, -1, 125, - 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, - 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, - 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, - 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, - 166, 167, -1, 169, 170, 171, 172, 173, -1, 175, - -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, - -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, - 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, - 206, 207, 208, 209, 210, 211, 212, -1, 214, 215, - 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, - 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, - 246, 247, 248, -1, -1, 251, 252, 253, 254, 255, - -1, 257, 258, 259, 260, 261, 262, 263, 264, 265, - 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, - 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, - 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, - 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, - 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, - 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, - 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, - 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, - 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, - 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, - 396, 397, -1, 399, 400, 401, 402, 403, 404, 405, - 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, - 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, - 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, - 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, - -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, - 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, - 466, -1, 468, 469, 470, 471, 472, 473, 474, -1, - 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, - 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, - 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, - 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - -1, 517, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 529, 530, -1, -1, -1, -1, -1, - -1, -1, 538, 539, 3, -1, 5, 6, -1, 8, + -1, 3, -1, 5, 6, 538, 8, 9, 10, 11, + 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, + 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, + 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, + 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, + 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, + -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, + 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, + 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, + -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, + 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, + 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, + 162, 163, 164, 165, 166, 167, -1, 169, 170, 171, + 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, + 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, + 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, + 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, + 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, + 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, + 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, + 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, + 252, 253, 254, 255, -1, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, + 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, + 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, + -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, + 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, + 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, + 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, + 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, + 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, + 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, + 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, + 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, + 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, + 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, + 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, + 432, -1, 434, 435, 436, 437, 438, 439, 440, 441, + 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, + 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, + 462, 463, 464, 465, 466, -1, 468, 469, 470, 471, + 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, + 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, + -1, 493, -1, 495, 496, 497, 498, 499, 500, 501, + 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, + 512, 513, 514, 515, -1, 517, -1, 519, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 529, 530, -1, + -1, -1, 3, -1, 5, 6, 538, 8, 9, 10, + 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, + -1, 32, 33, 34, -1, -1, -1, -1, 39, -1, + -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, + 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, + 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, + -1, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, + 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, + 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, + 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, + 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, + 161, 162, 163, 164, 165, 166, 167, -1, 169, 170, + 171, 172, 173, -1, 175, -1, 177, 178, 179, 180, + 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, + 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, + 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, + 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, + 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, + 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, + 241, 242, 243, 244, 245, 246, 247, 248, -1, 250, + 251, 252, 253, 254, 255, -1, 257, 258, 259, 260, + 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, + 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, + 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, + 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, + 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, + 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, + 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, + 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, + 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, + 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, + 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, + 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, + 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, + 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, + 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, + 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, + 461, 462, 463, 464, 465, 466, -1, 468, 469, 470, + 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, + 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, + -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, + 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, + 511, 512, 513, 514, 515, -1, 517, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 529, 530, + -1, -1, -1, 3, -1, 5, 6, 538, 8, 9, + 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, -1, -1, -1, 38, 39, + -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, + 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, + -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, + 100, -1, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, + 120, 121, 122, 123, -1, 125, 126, 127, 128, 129, + 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, + 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, + 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, + 160, 161, 162, 163, 164, 165, 166, 167, -1, 169, + 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, + -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, + 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, + 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, + 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, + 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, + 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, + -1, 251, 252, 253, 254, 255, -1, 257, 258, 259, + 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, + 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, + 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 301, 302, 303, 304, 305, 306, 307, -1, 309, + 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, + 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, + 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, + 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, + 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, + 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, + 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, + 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, + 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, + 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, + 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, + 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, + 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, + 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, + -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, + 460, 461, 462, 463, 464, 465, 466, -1, 468, 469, + 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, + 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, + 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, + 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, + 510, 511, 512, 513, 514, 515, -1, 517, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 529, + 530, -1, -1, -1, 3, -1, 5, 6, 538, 8, + 9, 10, 11, 12, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, -1, -1, -1, 38, + 39, -1, -1, 42, 43, 44, -1, 46, 47, 48, + 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, + -1, 60, 61, 62, 63, 64, 65, 66, 67, 68, + 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, + 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, + 99, 100, -1, 102, 103, 104, 105, 106, 107, 108, + 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, + 119, 120, 121, 122, 123, -1, 125, 126, 127, 128, + 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, + 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, + -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, + 159, 160, 161, 162, 163, 164, 165, 166, 167, -1, + 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, + 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, + -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, + 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, + 209, 210, 211, 212, -1, 214, 215, 216, 217, 218, + 219, 220, 221, 222, -1, 224, -1, 226, 227, 228, + 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, + 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, + -1, -1, 251, 252, 253, 254, 255, -1, 257, 258, + 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, + 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, + 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 301, 302, 303, 304, 305, 306, 307, -1, + 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, + 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, + 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, + 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, + 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, + 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, + 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, + 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, + 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, + 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, + 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, + 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, + 429, 430, 431, 432, -1, 434, 435, 436, -1, 438, + 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, + 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, + 459, 460, 461, 462, 463, 464, 465, 466, -1, 468, + 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, + 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, + 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, + 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, + 509, 510, 511, 512, 513, 514, 515, -1, 517, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 529, 530, -1, -1, -1, 3, -1, 5, 6, 538, + 8, 9, 10, 11, 12, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, + 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, + -1, 39, -1, -1, 42, 43, 44, -1, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 58, -1, 60, 61, 62, 63, 64, 65, 66, 67, + 68, 69, 70, 71, 72, 73, -1, 75, 76, 77, + 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, + 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, + 98, 99, 100, -1, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, + 118, 119, 120, 121, 122, 123, -1, 125, 126, 127, + 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, + -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, + 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, + 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, + -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, + 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, + 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, + 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, + 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, + 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, + 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, + 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, -1, -1, 251, 252, 253, 254, 255, -1, 257, + 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, + 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, + 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, + -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, + -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, + 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, + -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, + -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, + 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, + 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, + -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, + 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, + -1, 399, 400, 401, 402, 403, 404, 405, 406, 407, + 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, + 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, + 428, 429, 430, 431, 432, -1, 434, 435, 436, -1, + 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, + 448, 449, -1, -1, 452, 453, 454, 455, 456, 457, + 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, + 468, 469, 470, 471, 472, 473, 474, -1, 476, 477, + 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, + 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, + 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, -1, 517, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 529, 530, -1, -1, -1, -1, -1, 536, 537, + 538, 3, -1, 5, 6, -1, 8, 9, 10, 11, + 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, + 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, + 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, + 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, + 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, + -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, + 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, + 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, + -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, + 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, + 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, + 162, 163, 164, 165, 166, 167, -1, 169, 170, 171, + 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, + 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, + 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, + 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, + 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, + 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, + 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, + 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, + 252, 253, 254, 255, -1, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, + 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, + 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, + -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, + 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, + 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, + 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, + 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, + 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, + 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, + 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, + 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, + 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, + 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, + 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, + 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, + 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, + 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, + 462, 463, 464, 465, 466, -1, 468, 469, 470, 471, + 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, + 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, + -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, + 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, + 512, 513, 514, 515, -1, 517, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 529, 530, 531, + -1, -1, 3, -1, 5, 6, 538, 8, 9, 10, + 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, + 31, 32, 33, 34, -1, -1, -1, -1, 39, -1, + -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, + 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, + 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, + -1, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, + 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, + 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, + 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, + 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, + 161, 162, 163, 164, 165, 166, 167, -1, 169, 170, + 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, + 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, + 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, + 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, + 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, + 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, + 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, + 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, + 251, 252, 253, 254, 255, -1, 257, 258, 259, 260, + 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, + 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, + 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, + 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, + 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, + 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, + 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, + 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, + 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, + 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, + 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, + 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, + 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, + 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, + 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, + 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, + -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, + 461, 462, 463, 464, 465, 466, -1, 468, 469, 470, + 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, + 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, + -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, + 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, + 511, 512, 513, 514, 515, -1, 517, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 529, 530, + -1, -1, -1, 3, -1, 5, 6, 538, 8, 9, + 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, + 30, -1, 32, 33, 34, -1, -1, -1, -1, 39, + -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, + 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, + -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, + 100, -1, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, + 120, 121, 122, 123, -1, 125, 126, 127, 128, 129, + 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, + 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, + 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, + 160, 161, 162, 163, 164, 165, 166, 167, -1, 169, + 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, + -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, + 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, + 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, + 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, + 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, + 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, + -1, 251, 252, 253, 254, 255, -1, 257, 258, 259, + 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, + 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, + 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 301, 302, 303, 304, 305, 306, 307, -1, 309, + 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, + 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, + 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, + 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, + 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, + 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, + 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, + 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, + 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, + 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, + 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, + 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, + 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, + 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, + -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, + 460, 461, 462, 463, 464, 465, 466, -1, 468, 469, + 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, + 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, + 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, + 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, + 510, 511, 512, 513, 514, 515, -1, 517, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 529, + 530, -1, -1, -1, 3, -1, 5, 6, 538, 8, 9, 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, @@ -21454,220 +22136,16 @@ static const yytype_int16 yycheck[] = 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, 468, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, - 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, + 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, 517, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 529, 530, -1, -1, -1, -1, -1, -1, -1, 538, - 539, 3, -1, 5, 6, -1, 8, 9, 10, 11, - 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, - 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, - 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, - 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, - 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, - 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, - -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, - 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, - 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, - 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, - -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, - 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, - 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, - 162, 163, 164, 165, 166, 167, -1, 169, 170, 171, - 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, - 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, - 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, - 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, - 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, - 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, - 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, - 252, 253, 254, 255, -1, 257, 258, 259, 260, 261, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, - 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, - -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, - 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, - 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, - 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, - 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, - 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, - 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, - 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, - 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, - 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, - 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, - 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, - 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, - 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, - 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, - 462, 463, 464, 465, 466, -1, 468, 469, 470, 471, - 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, - 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, - -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, - 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, -1, 517, -1, -1, -1, 3, - -1, -1, -1, -1, -1, -1, -1, 529, 530, -1, - -1, -1, -1, -1, -1, -1, 538, 539, 22, 23, - 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, - 34, -1, -1, -1, -1, -1, 40, -1, 42, 43, - 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, - 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, - 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, - -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, - 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, - -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, - 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, - 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, - -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, - 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, - -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, - 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, - 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, - -1, 175, -1, 177, 178, -1, -1, 181, 182, 183, - 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, - 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, - -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, - 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, - 224, -1, 226, -1, -1, 229, 230, 231, 232, 233, - 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, - 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, - 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, - 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, - 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, - 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, - -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, - 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, - 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, - 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, - -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, - 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, - -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, - 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, - 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, - 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, - 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, - 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, - 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, - -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, - 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, - -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, - 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, -1, -1, -1, -1, -1, 3, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 539, 22, 23, 24, 25, - 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, - -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, - 46, 47, 48, 49, 50, 51, 52, 53, -1, 55, - 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, - 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, - 76, 77, 78, -1, -1, 81, -1, 83, 84, 85, - 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, - 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, - -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, - 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, - 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, - 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, - 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, - 156, 157, 158, 159, -1, 161, 162, 163, 164, -1, - -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, - -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, - -1, 187, -1, -1, -1, 191, 192, -1, 194, 195, - 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, - 206, 207, 208, 209, 210, 211, 212, -1, 214, 215, - 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, - 226, 227, 228, 229, 230, 231, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 242, 243, 244, 245, - 246, 247, 248, -1, -1, 251, -1, 253, 254, 255, - -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, - 266, 267, 268, 269, 270, 271, -1, 273, 274, 275, - 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 290, 291, -1, -1, 294, -1, - 296, 297, 298, 299, -1, -1, 302, 303, 304, 305, - 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, - 316, -1, -1, 319, 320, 321, 322, 323, 324, -1, - 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, - 336, 337, -1, 339, 340, 341, -1, 343, -1, 345, - 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, - 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, - 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, - 386, -1, 388, 389, 390, 391, 392, 393, 394, 395, - 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, - 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, - 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, - 426, 427, 428, 429, 430, -1, 432, -1, 434, 435, - -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, - -1, 447, 448, 449, -1, -1, 452, 453, -1, 455, - -1, -1, 458, 459, 460, 461, 462, 463, 464, 465, - 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, - 476, 477, 478, 479, 480, -1, 482, 483, 484, 485, - 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, - 496, 497, 498, 499, 500, 501, 3, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 513, 514, 515, - -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, - 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, - -1, -1, -1, 539, -1, 42, 43, 44, -1, 46, - 47, 48, 49, 50, 51, 52, 53, -1, 55, 56, - 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, - -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, - 77, 78, -1, -1, 81, -1, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, - 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, - -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, - 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, - 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, - -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, - 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, - 157, 158, 159, -1, 161, 162, 163, 164, -1, -1, - 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, - 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, - 187, -1, -1, -1, 191, 192, -1, 194, 195, 196, - 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, - 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, - 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, - 227, 228, 229, 230, 231, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 242, 243, 244, 245, 246, - 247, 248, -1, -1, 251, -1, 253, 254, 255, -1, - 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, - 267, 268, 269, 270, 271, -1, 273, 274, 275, 276, - 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 290, 291, -1, -1, 294, -1, 296, - 297, 298, 299, -1, -1, 302, 303, 304, 305, 306, - 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, - -1, -1, 319, 320, 321, 322, 323, 324, -1, 326, - 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, - 337, -1, 339, 340, 341, -1, 343, -1, 345, 346, - 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, - 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, - 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, - -1, 388, 389, 390, 391, 392, 393, 394, 395, 396, - 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, - 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, - 427, 428, 429, 430, -1, 432, -1, 434, 435, -1, - -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, - 447, 448, 449, -1, -1, 452, 453, -1, 455, -1, - -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, - -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, - 477, 478, 479, 480, -1, 482, 483, 484, 485, 486, - 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, - 497, 498, 499, 500, 501, 3, -1, 5, 6, -1, - 8, 9, 10, 11, 12, -1, 513, 514, 515, -1, + 529, 530, -1, -1, -1, 3, -1, 5, 6, 538, + 8, 9, 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, - -1, 39, 539, -1, 42, 43, 44, -1, 46, 47, + -1, 39, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, -1, 75, 76, 77, @@ -21681,7 +22159,7 @@ static const yytype_int16 yycheck[] = 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, - 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, + 178, 179, 180, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, @@ -21701,21 +22179,21 @@ static const yytype_int16 yycheck[] = -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, + -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, - 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, + -1, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, - 428, 429, 430, 431, 432, -1, 434, 435, 436, 437, + 428, 429, 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, 468, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, - 488, 489, 490, -1, -1, 493, -1, 495, 496, 497, + 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, 517, - -1, 519, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 529, 530, -1, -1, -1, 3, -1, 5, 6, 538, 8, 9, 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, @@ -21756,278 +22234,12 @@ static const yytype_int16 yycheck[] = 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, - 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, - 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, - 427, 428, 429, 430, 431, 432, -1, 434, 435, 436, - 437, 438, 439, 440, 441, 442, 443, 444, 445, -1, - 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, - 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, - -1, 468, 469, 470, 471, 472, 473, 474, -1, 476, - 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, - 487, 488, 489, 490, -1, -1, 493, -1, 495, 496, - 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, - 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, - 517, -1, 519, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 529, 530, -1, -1, -1, 3, -1, 5, - 6, 538, 8, 9, 10, 11, 12, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, - 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, - -1, -1, -1, 39, -1, -1, 42, 43, 44, -1, - 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - 66, 67, 68, 69, 70, 71, 72, 73, -1, 75, - 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, - 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, - 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, - 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, - 116, 117, 118, 119, 120, 121, 122, 123, -1, 125, - 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, - 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, - 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, - 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, - 166, 167, -1, 169, 170, 171, 172, 173, -1, 175, - -1, 177, 178, 179, 180, 181, 182, 183, 184, 185, - -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, - 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, - 206, 207, 208, 209, 210, 211, 212, -1, 214, 215, - 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, - 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, - 246, 247, 248, -1, 250, 251, 252, 253, 254, 255, - -1, 257, 258, 259, 260, 261, 262, 263, 264, 265, - 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, - 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, - 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, - 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, - 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, - 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, - 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, - 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, - 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, - 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, - 396, 397, -1, 399, 400, 401, 402, 403, 404, 405, - 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, - 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, - 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, - 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, - -1, 447, 448, 449, -1, 451, 452, 453, 454, 455, - 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, - 466, -1, 468, 469, 470, 471, 472, 473, 474, -1, - 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, - 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, - 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, - 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - -1, 517, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 529, 530, -1, -1, -1, 3, -1, - 5, 6, 538, 8, 9, 10, 11, 12, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - -1, -1, -1, 38, 39, -1, -1, 42, 43, 44, - -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 73, -1, - 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, - 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, - 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, - 115, 116, 117, 118, 119, 120, 121, 122, 123, -1, - 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, - 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, - 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, - -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, - 165, 166, 167, -1, 169, 170, 171, 172, 173, -1, - 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, - 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, - 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, - 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, - 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, - -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, - 245, 246, 247, 248, -1, -1, 251, 252, 253, 254, - 255, -1, 257, 258, 259, 260, 261, 262, 263, 264, - 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, - 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, - 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, - 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, - 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, - 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, - 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, - 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, - 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, - 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, - 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, - 395, 396, 397, -1, 399, 400, 401, 402, 403, 404, - 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, - 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, - 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, - 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, - 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, - 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, - 465, 466, -1, 468, 469, 470, 471, 472, 473, 474, - -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, - 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, - -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, - 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, -1, 517, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 529, 530, -1, -1, -1, 3, - -1, 5, 6, 538, 8, 9, 10, 11, 12, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, - 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, - 34, -1, -1, -1, 38, 39, -1, -1, 42, 43, - 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, - -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, - 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, - -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, - 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, - -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, - 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, - 164, 165, 166, 167, -1, 169, 170, 171, 172, 173, - -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, - 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, - 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, - -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, - 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, - 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, - 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, - 254, 255, -1, 257, 258, 259, 260, 261, 262, 263, - 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, - 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, - 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, - 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, - 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, - 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, - 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, - 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, - -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, - 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, - 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, - 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, - 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, - 434, 435, 436, -1, 438, 439, 440, 441, 442, 443, - 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, - 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, - 464, 465, 466, -1, 468, 469, 470, 471, 472, 473, - 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, - 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, - -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, - 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, -1, 517, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 529, 530, -1, -1, -1, - 3, -1, 5, 6, 538, 8, 9, 10, 11, 12, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, - 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, - 33, 34, -1, -1, -1, -1, 39, -1, -1, 42, - 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, - 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, - 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, - 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, - 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, - 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, - 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, - 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, - 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, - 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, - 163, 164, 165, 166, 167, -1, 169, 170, 171, 172, - 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, - 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, - -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, - 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, - -1, 214, 215, 216, 217, 218, 219, 220, 221, 222, - -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, - 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 244, 245, 246, 247, 248, -1, -1, 251, 252, - 253, 254, 255, -1, 257, 258, 259, 260, 261, 262, - 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, - 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, - 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, - -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, - 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, - 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, - 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, - 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, - 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, - 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, - 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, - 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, - 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, - 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, - 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, - -1, 434, 435, 436, -1, 438, 439, 440, 441, 442, - 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, - 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, - 463, 464, 465, 466, -1, 468, 469, 470, 471, 472, - 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, - -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, - 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, - 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, -1, 517, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 529, 530, -1, -1, - -1, -1, -1, 536, 537, 538, 3, -1, 5, 6, - -1, 8, 9, 10, 11, 12, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, - 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, - -1, -1, 39, -1, -1, 42, 43, 44, -1, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, - 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, -1, 75, 76, - 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, - 97, 98, 99, 100, -1, 102, 103, 104, 105, 106, - 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, - 117, 118, 119, 120, 121, 122, 123, -1, 125, 126, - 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, - -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, - 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, - 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, - 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, - 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, - 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, - 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, - 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, - 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, - 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, - 247, 248, -1, -1, 251, 252, 253, 254, 255, -1, - 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, - 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, - 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, - 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, - -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, - 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, - 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, - 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, - 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, - 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, - 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, - 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, + 447, 448, 449, 450, -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, 468, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, @@ -22035,10 +22247,10 @@ static const yytype_int16 yycheck[] = 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, 517, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 529, 530, 531, -1, -1, 3, -1, 5, + -1, -1, 529, 530, -1, -1, -1, 3, -1, 5, 6, 538, 8, 9, 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, + 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, @@ -22126,7 +22338,7 @@ static const yytype_int16 yycheck[] = 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, - 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, + 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, @@ -22189,7 +22401,7 @@ static const yytype_int16 yycheck[] = 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, 468, 469, 470, 471, 472, 473, - 474, -1, 476, 477, 478, 479, 480, 481, 482, 483, + 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, @@ -22212,7 +22424,7 @@ static const yytype_int16 yycheck[] = 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, -1, 169, 170, 171, 172, - 173, -1, 175, -1, 177, 178, 179, 180, 181, 182, + 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, @@ -22292,7 +22504,7 @@ static const yytype_int16 yycheck[] = 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, - 442, 443, 444, 445, -1, 447, 448, 449, 450, -1, + 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, 468, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, @@ -22542,7 +22754,7 @@ static const yytype_int16 yycheck[] = 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, @@ -22560,12 +22772,12 @@ static const yytype_int16 yycheck[] = -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, - -1, 468, 469, 470, 471, 472, 473, 474, -1, 476, + -1, -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, - 517, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 529, 530, -1, -1, -1, 3, -1, 5, 6, 538, 8, 9, 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, @@ -22589,14 +22801,14 @@ static const yytype_int16 yycheck[] = 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, - 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, + 226, -1, -1, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, 254, 255, -1, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, + 296, 297, -1, 299, 300, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, @@ -22631,7 +22843,7 @@ static const yytype_int16 yycheck[] = 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, - 115, 116, 117, 118, 119, 120, 121, 122, 123, -1, + 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, @@ -22649,7 +22861,7 @@ static const yytype_int16 yycheck[] = 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, + -1, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, @@ -22666,121 +22878,119 @@ static const yytype_int16 yycheck[] = 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, - 465, 466, -1, 468, 469, 470, 471, 472, 473, 474, + 465, 466, -1, -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, -1, 517, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 529, 530, -1, -1, -1, 3, - -1, 5, 6, 538, 8, 9, 10, 11, 12, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, - 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, - 34, -1, -1, -1, -1, 39, -1, -1, 42, 43, - 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, - -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, - 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, - -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, - 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, - -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, - 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, - 164, 165, 166, 167, -1, 169, 170, 171, 172, 173, - -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, - 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, - 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, - -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, - 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, - 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, - 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, - 254, 255, -1, 257, 258, 259, 260, 261, 262, 263, - 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, - 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, - 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, - 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, - 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, - 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, - 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, - 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, - -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, - 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, - 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, - 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, - 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, - 434, 435, 436, -1, 438, 439, 440, 441, 442, 443, - 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, - 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, - 464, 465, 466, -1, 468, 469, 470, 471, 472, 473, - 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, - 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, - -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, - 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, -1, 517, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 529, 530, -1, -1, -1, - 3, -1, 5, 6, 538, 8, 9, 10, 11, 12, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, - 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, - 33, 34, -1, -1, -1, -1, 39, -1, -1, 42, - 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, - 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, - 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, - 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, - 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, - 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, - 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, - 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, - 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, - 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, - 163, 164, 165, 166, 167, -1, 169, 170, 171, 172, - 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, - 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, - -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, - 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, - -1, 214, 215, 216, 217, 218, 219, 220, 221, 222, - -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, - 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 244, 245, 246, 247, 248, -1, -1, 251, 252, - 253, 254, 255, -1, 257, 258, 259, 260, 261, 262, - 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, - 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, - 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, - 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, - -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, - 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, - 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, - 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, - 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, - 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, - 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, - 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, - 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, - 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, - 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, - 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, - -1, 434, 435, 436, -1, 438, 439, 440, 441, 442, - 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, - 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, - 463, 464, 465, 466, -1, 468, 469, 470, 471, 472, - 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, - -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, - 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, - 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, -1, 517, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 529, 530, -1, -1, - -1, 3, -1, 5, 6, 538, 8, 9, 10, 11, - 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 515, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 529, 530, 3, -1, 5, 6, + -1, 8, 9, 538, 11, 12, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, + 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, + -1, -1, 39, -1, -1, 42, 43, 44, -1, 46, + 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, + 67, 68, 69, 70, 71, 72, 73, -1, 75, 76, + 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, + 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, + 97, 98, 99, 100, -1, 102, 103, 104, 105, 106, + 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, + 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, + 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, + -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, + 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, + 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, + 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, + 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, + 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, + 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, + 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, + 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, + 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, + 247, 248, -1, -1, 251, 252, 253, 254, 255, -1, + 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, + 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, + 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, + 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, + -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, + 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, + 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, + 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, + 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, + 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, + 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, + 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, + 397, -1, 399, 400, 401, 402, 403, 404, 405, 406, + 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, + 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, + 427, 428, 429, 430, 431, 432, -1, 434, 435, 436, + -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, + 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, + 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, + -1, -1, 469, 470, 471, 472, 473, 474, -1, 476, + 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, + 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, + 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 529, 530, 3, -1, 5, 6, -1, 8, + 9, 538, 11, 12, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, + 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, + 39, -1, -1, 42, 43, 44, -1, 46, 47, 48, + 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, + -1, 60, 61, 62, 63, 64, 65, 66, 67, 68, + 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, + 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, + 99, 100, -1, 102, 103, 104, 105, 106, 107, 108, + 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, + 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, + 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, + 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, + -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, + 159, 160, 161, 162, 163, 164, 165, 166, 167, -1, + 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, + 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, + -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, + 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, + 209, 210, 211, 212, -1, 214, 215, 216, 217, 218, + 219, 220, 221, 222, -1, 224, -1, 226, 227, 228, + 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, + 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, + -1, -1, 251, 252, 253, 254, 255, -1, 257, 258, + 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, + 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, + 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, + 299, 300, 301, 302, 303, 304, 305, 306, 307, -1, + 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, + 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, + 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, + 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, + 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, + 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, + 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, + 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, + 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, + 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, + 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, + 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, + 429, 430, 431, 432, -1, 434, 435, 436, -1, 438, + 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, + 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, + 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, + 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, + 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, + 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, + 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, + 509, 510, 511, 512, 513, 514, 515, -1, -1, -1, + -1, 3, -1, 5, 6, -1, 8, 9, -1, 11, + 12, -1, -1, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, @@ -22791,7 +23001,7 @@ static const yytype_int16 yycheck[] = 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, - 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, + -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, @@ -22830,40 +23040,142 @@ static const yytype_int16 yycheck[] = 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 529, 530, -1, - -1, -1, 3, -1, 5, 6, 538, 8, 9, 10, - 11, 12, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, - -1, 32, 33, 34, -1, -1, -1, -1, 39, -1, + 512, 513, 514, 515, -1, -1, -1, -1, 3, -1, + 5, 6, -1, 8, 9, -1, 11, 12, -1, -1, + -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, + 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, + -1, -1, -1, -1, 39, -1, -1, 42, 43, 44, + -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, + 65, 66, 67, 68, 69, 70, 71, 72, 73, -1, + 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, + 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, + 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, + 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, + 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, + 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, + 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, + 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, + -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, + 165, 166, 167, -1, 169, 170, 171, 172, 173, -1, + 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, + 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, + 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, + 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, + 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, + -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, + 245, 246, 247, 248, -1, -1, 251, 252, 253, 254, + 255, -1, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + -1, 296, 297, 298, 299, 300, 301, 302, 303, 304, + 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, + 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, + 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, + 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, + 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, + 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, + 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, + 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, + 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, + 395, 396, 397, -1, 399, 400, 401, 402, 403, 404, + 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, + -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, + 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, + 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, + 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, + 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, + 465, 466, -1, -1, 469, 470, 471, 472, 473, 474, + -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, + 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, + -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, -1, -1, -1, -1, 3, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, + 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, + -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, + 68, 69, 70, 71, 72, 73, -1, 75, 76, 77, + 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, + 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, + 98, 99, 100, -1, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, + 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, + 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, + -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, + 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, + 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, + -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, + 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, + 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, + 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, + 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, + 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, + 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, + 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, -1, 251, 252, 253, 254, 255, -1, 257, + 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, + 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, + 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, + 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, + -1, 309, 310, 311, -1, 313, 314, 315, 316, -1, + -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, + 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, + -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, + -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, + 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, + 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, + -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, + 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, + 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, + 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, + 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, + 428, 429, 430, 431, 432, -1, 434, 435, 436, 437, + 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, + 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, + 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, + -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, + 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, + 488, 489, 490, -1, -1, 493, -1, 495, 496, 497, + 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, + 508, 509, 510, 511, 512, 513, 514, 515, -1, -1, + -1, 519, 3, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, + -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, - 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, + 61, 62, 63, 64, 65, 66, -1, 68, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, - 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, + 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, - 161, 162, 163, 164, 165, 166, 167, -1, 169, 170, + 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, - 221, 222, -1, 224, -1, 226, -1, -1, 229, 230, + 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, - 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, + 241, 242, 243, 244, 245, 246, 247, 248, 249, -1, 251, 252, 253, 254, 255, -1, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, -1, 299, 300, + 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, - 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, + 311, -1, 313, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, @@ -22877,127 +23189,20 @@ static const yytype_int16 yycheck[] = 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, - -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, - 461, 462, 463, 464, 465, 466, -1, 468, 469, 470, + -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, + 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, - 511, 512, 513, 514, 515, -1, 517, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 529, 530, - -1, -1, -1, 3, -1, 5, 6, 538, 8, 9, - 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, - 30, -1, 32, 33, 34, -1, -1, -1, -1, 39, - -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, - 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, - 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, - -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, - 100, -1, 102, 103, 104, 105, 106, 107, 108, 109, - 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, - 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, - 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, - 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, - 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, - 160, 161, 162, 163, 164, 165, 166, 167, -1, 169, - 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, - -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, - 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, - 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, - 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, - 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, - 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, - -1, 251, 252, 253, 254, 255, -1, 257, 258, 259, - 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, - 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, - 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, - 300, 301, 302, 303, 304, 305, 306, 307, -1, 309, - 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, - 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, - 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, - 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, - 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, - 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, - 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, - 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, - 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, - 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, - 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, - 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, - 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, - -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, - 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, - 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, - 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, - 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, - 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 529, - 530, 3, -1, 5, 6, -1, 8, 9, 538, 11, - 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, - 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, - 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, - 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, - 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, - 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, - -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, - 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, - 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, - -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, - -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, - 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, - 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, - 162, 163, 164, 165, 166, 167, -1, 169, 170, 171, - 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, - 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, - 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, - 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, - 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, - 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, - 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, - 252, 253, 254, 255, -1, 257, 258, 259, 260, 261, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, -1, 296, 297, 298, 299, 300, 301, - 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, - -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, - 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, - 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, - 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, - 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, - 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, - 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, - 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, - 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, - 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, - 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, - 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, - 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, - 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, - 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, - 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, - 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, - 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, - -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, - 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 529, 530, 3, - -1, 5, 6, -1, 8, 9, 538, 11, 12, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, + 511, 512, 513, 514, 515, -1, -1, -1, -1, 3, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, - 34, -1, -1, -1, -1, 39, -1, -1, 42, 43, + 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 64, 65, 66, -1, 68, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, @@ -23007,7 +23212,7 @@ static const yytype_int16 yycheck[] = 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, - 164, 165, 166, 167, -1, 169, 170, 171, 172, 173, + 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, @@ -23020,7 +23225,7 @@ static const yytype_int16 yycheck[] = 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, -1, 296, 297, 298, 299, 300, 301, 302, 303, + 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, @@ -23036,20 +23241,20 @@ static const yytype_int16 yycheck[] = 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, - 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, + 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, -1, -1, -1, -1, 3, -1, 5, 6, - -1, 8, 9, -1, 11, 12, -1, -1, -1, -1, + 514, 515, -1, -1, -1, -1, 3, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, - -1, -1, 39, -1, -1, 42, 43, 44, -1, 46, + -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, -1, 75, 76, + -1, 68, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, 106, @@ -23058,7 +23263,7 @@ static const yytype_int16 yycheck[] = 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, - 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, + 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, @@ -23072,7 +23277,7 @@ static const yytype_int16 yycheck[] = 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, - 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, + 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, @@ -23088,19 +23293,19 @@ static const yytype_int16 yycheck[] = 427, 428, 429, 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, - 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, + -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, - -1, -1, -1, 3, -1, 5, 6, -1, 8, 9, - -1, 11, 12, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 3, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, - 30, -1, 32, 33, 34, -1, -1, -1, -1, 39, + 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, - 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 60, 61, 62, 63, 64, 65, 66, -1, 68, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, @@ -23110,7 +23315,7 @@ static const yytype_int16 yycheck[] = 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, - 160, 161, 162, 163, 164, 165, 166, 167, -1, 169, + 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, @@ -23124,7 +23329,7 @@ static const yytype_int16 yycheck[] = 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, - 300, 301, 302, 303, 304, 305, 306, 307, -1, 309, + -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, @@ -23139,7 +23344,7 @@ static const yytype_int16 yycheck[] = 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, - -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, + -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, @@ -23170,14 +23375,14 @@ static const yytype_int16 yycheck[] = -1, 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, - 243, 244, 245, 246, 247, 248, 249, -1, 251, 252, + 243, 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, 254, 255, -1, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, - 313, 314, 315, 316, -1, -1, 319, 320, 321, 322, + -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, @@ -23185,36 +23390,36 @@ static const yytype_int16 yycheck[] = 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, - 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, + 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, - -1, 434, 435, 436, 437, 438, 439, 440, 441, 442, + -1, 434, 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, - 493, -1, 495, 496, 497, 498, 499, 500, 501, 502, + 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, -1, -1, -1, 519, 3, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 513, 514, 515, -1, -1, -1, -1, 3, -1, 5, + 6, -1, -1, -1, -1, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, - 66, -1, 68, 69, 70, 71, 72, 73, -1, 75, + 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, - 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, - 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, + -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, + 116, 117, 118, 119, 120, 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, - -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, + 166, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, @@ -23222,13 +23427,13 @@ static const yytype_int16 yycheck[] = 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, - 246, 247, 248, 249, -1, 251, 252, 253, 254, 255, - -1, 257, 258, 259, 260, 261, 262, 263, 264, 265, + 246, 247, 248, -1, -1, 251, 252, 253, 254, 255, + -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, 304, 305, - 306, 307, -1, 309, 310, 311, -1, 313, 314, 315, + 306, 307, -1, 309, 310, 311, 312, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, @@ -23237,30 +23442,30 @@ static const yytype_int16 yycheck[] = 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, - 396, 397, -1, 399, 400, 401, 402, 403, 404, 405, + 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, - 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, + -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, - 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, - 466, -1, -1, 469, 470, 471, 472, 473, 474, -1, + 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, + 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, -1, -1, -1, 3, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 529, 530, 531, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, - 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, + 29, 30, -1, 32, 33, 34, 35, 36, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - -1, 60, 61, 62, 63, 64, 65, 66, -1, 68, + -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, - 99, 100, -1, 102, 103, 104, 105, 106, 107, 108, - 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, + 99, 100, -1, 102, 103, 104, 105, -1, -1, -1, + 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, @@ -23275,7 +23480,7 @@ static const yytype_int16 yycheck[] = 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, 254, 255, -1, 257, 258, - 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, + 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, @@ -23288,31 +23493,31 @@ static const yytype_int16 yycheck[] = 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, - 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, - 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, + 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, + 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, - 429, 430, 431, 432, -1, 434, 435, 436, -1, 438, + 429, 430, 431, 432, -1, 434, 435, -1, 437, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, - 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, + 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, - 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, + 489, 490, -1, -1, 493, -1, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, - 509, 510, 511, 512, 513, 514, 515, -1, -1, -1, - -1, 3, -1, -1, -1, -1, -1, -1, -1, -1, + 509, 510, 511, 512, 513, 514, 515, 516, -1, -1, + 519, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, - 62, 63, 64, 65, 66, -1, 68, 69, 70, 71, + 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, - 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, - 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 102, 103, 104, 105, -1, -1, -1, 109, -1, -1, + -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, @@ -23326,7 +23531,7 @@ static const yytype_int16 yycheck[] = 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, - 252, 253, 254, 255, -1, 257, 258, 259, 260, 261, + 252, 253, 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, @@ -23341,14 +23546,14 @@ static const yytype_int16 yycheck[] = 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, - 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, + 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, - 432, -1, 434, 435, 436, -1, 438, 439, 440, 441, + 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, - 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, + 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, @@ -23357,257 +23562,257 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, - -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, - 65, 66, -1, 68, 69, 70, 71, 72, 73, -1, - 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, - 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, - 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, + -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, + 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, + 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, + 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, + 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, + 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, + 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, - 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, + 175, -1, 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, - 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, + 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, - 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, - -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, + -1, 216, 217, 218, 219, 220, 221, 222, -1, 224, + -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, - 245, 246, 247, 248, -1, -1, 251, 252, 253, 254, - 255, -1, 257, 258, 259, 260, 261, 262, 263, 264, + 245, 246, 247, 248, -1, -1, 251, 252, -1, 254, + -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, - 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - -1, 296, 297, 298, 299, -1, 301, 302, 303, 304, + -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, - 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, + 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, - 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, + 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, - 395, 396, 397, -1, 399, 400, 401, 402, 403, 404, - 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, + 395, 396, 397, 398, 399, 400, 401, 402, 403, -1, + 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, - 435, 436, -1, 438, 439, 440, 441, 442, 443, 444, + 435, -1, 437, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, - 465, 466, -1, -1, 469, 470, 471, 472, 473, 474, + 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, - 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, - -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, + -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, + 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, -1, -1, -1, -1, 3, -1, -1, -1, -1, + 515, -1, -1, -1, 519, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, - 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, - 68, 69, 70, 71, 72, 73, -1, 75, 76, 77, - 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, - 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, - 98, 99, 100, -1, 102, 103, 104, 105, 106, 107, - 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, + -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, + 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, + 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, + 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, + -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, - 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, + 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, - 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, - 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, - 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, - 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, + 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, + 208, 209, 210, 211, 212, -1, 214, -1, 216, 217, + 218, 219, 220, 221, 222, -1, 224, -1, 226, -1, + -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, - 248, -1, -1, 251, 252, 253, 254, 255, -1, 257, - 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, + 248, -1, -1, 251, 252, -1, 254, -1, -1, 257, + 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, - 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, + 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, - 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, - -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, - -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, + -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, + -1, 309, 310, 311, -1, 313, 314, 315, 316, -1, + -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, + -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, - -1, 399, 400, 401, 402, 403, 404, 405, 406, 407, - 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, + -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, + 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, - 428, 429, 430, 431, 432, -1, 434, 435, 436, -1, - 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, + 428, 429, 430, 431, 432, -1, 434, 435, -1, 437, + 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, - -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, - 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, + -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, + 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, -1, - -1, -1, 3, -1, 5, 6, -1, -1, -1, -1, - 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, - -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, + -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, + 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, - 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, + -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, - -1, 102, 103, 104, 105, -1, -1, -1, 109, -1, + -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, - 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, + 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, - 161, 162, 163, 164, 165, 166, 167, -1, 169, 170, - 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, - 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, - 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, + 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, + 171, 172, 173, -1, 175, -1, 177, 178, -1, -1, + -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, + 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, - 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, - 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, + 211, 212, -1, 214, -1, 216, 217, 218, 219, 220, + 221, 222, -1, 224, -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, - 251, 252, 253, 254, 255, -1, 257, 258, 259, -1, + 251, 252, -1, 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, + 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, - 311, 312, -1, 314, 315, 316, -1, -1, 319, 320, - 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, + 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, + 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, - 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, + -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, - 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, + 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, - 431, 432, -1, 434, 435, -1, -1, 438, 439, 440, + 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, - -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, + -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, - 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, + 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, -1, -1, -1, 3, - -1, -1, -1, -1, -1, -1, -1, -1, 529, 530, - 531, -1, -1, -1, -1, -1, -1, 538, 22, 23, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, - 34, 35, 36, -1, -1, -1, -1, -1, 42, 43, - 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, + 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, + 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, + 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, - -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, - 104, 105, -1, -1, -1, 109, -1, -1, -1, 113, + -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, + 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, + -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, + 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, - -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, + -1, 175, -1, 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, - 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, + 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, - 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, - 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, + 214, -1, 216, 217, 218, 219, 220, 221, 222, -1, + 224, -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, - 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, + 244, 245, 246, 247, 248, -1, -1, 251, 252, -1, + 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, - 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, + 274, 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, + 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, - 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, - 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, + 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, + -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, + 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, - -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, + 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, + -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, - 434, 435, -1, 437, 438, 439, 440, 441, 442, 443, + 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, - 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, - -1, 495, 496, 497, 498, 499, 500, 501, 502, 503, + 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, + -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, 516, -1, -1, 519, 3, -1, -1, -1, + 514, 515, -1, -1, -1, -1, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, - 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, - 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, - -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, + 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, + 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, + 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, + -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, - 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, + 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, - 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, - 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, + 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, -1, 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, - 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, + -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, - 247, 248, -1, -1, 251, 252, 253, 254, 255, -1, + 247, 248, -1, -1, 251, 252, -1, 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, - 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, + 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, - 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, + 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, - -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, + -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, + 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, + 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, - -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, + -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, - 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, + 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, @@ -23650,21 +23855,287 @@ static const yytype_int16 yycheck[] = 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, - 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, + 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, - 430, 431, 432, -1, 434, 435, -1, 437, 438, -1, + 430, 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, - 490, -1, -1, 493, -1, 495, 496, 497, 498, 499, + 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, -1, -1, -1, 519, - 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 538, 22, + 510, 511, 512, 513, 514, 515, -1, -1, -1, -1, + 3, -1, -1, -1, -1, -1, -1, 10, -1, -1, + 13, -1, -1, -1, 17, 18, 19, -1, 538, 22, + 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, + 33, 34, 35, 36, 37, 38, -1, 40, 41, 42, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, + 63, 64, 65, 66, 67, 68, 69, 70, -1, -1, + 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, + 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, + 93, 94, 95, 96, 97, 98, 99, 100, -1, 102, + 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, + 113, 114, 115, 116, -1, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, + 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, + 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, + 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, + 163, 164, 165, 166, 167, -1, -1, 170, 171, 172, + 173, -1, 175, 176, 177, 178, 179, -1, 181, 182, + 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, + -1, 194, 195, -1, 197, 198, 199, 200, 201, 202, + 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, + 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, + -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, + 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, + 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, + 253, 254, 255, -1, 257, 258, 259, 260, 261, 262, + 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, + 273, -1, 275, 276, -1, 278, 279, 280, 281, 282, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, + 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, + 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, + 313, 314, 315, 316, 317, -1, 319, 320, 321, 322, + -1, -1, 325, 326, 327, 328, 329, 330, 331, 332, + 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, + 343, -1, 345, 346, 347, 348, 349, 350, 351, 352, + 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, + 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, + 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, + 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, + 393, 394, 395, -1, 397, 398, 399, 400, 401, 402, + 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, + 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, + 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, + 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, + 443, 444, 445, 446, 447, 448, 449, -1, 451, 452, + 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, + 463, 464, 465, 466, -1, 468, 469, 470, 471, 472, + 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, + 483, -1, 485, 486, 487, 488, 489, 490, 491, -1, + 493, -1, -1, -1, -1, 498, 499, 500, 501, 502, + 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, + -1, 514, 515, -1, 517, -1, -1, -1, -1, -1, + -1, -1, -1, 526, 527, 528, 529, 530, 531, 532, + 533, 534, 3, -1, 5, 6, -1, -1, -1, 10, + 11, -1, -1, -1, -1, -1, 17, 18, 19, -1, + -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, + 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, 53, -1, 55, 56, 57, 58, 59, 60, + 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 76, 77, 78, -1, 80, + 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, + 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, + 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, + 151, 152, 153, 154, 155, 156, 157, 158, 159, -1, + 161, 162, 163, 164, -1, 166, 167, 168, 169, 170, + 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, + 181, 182, 183, 184, 185, 186, 187, -1, 189, -1, + 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, + 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, + 211, 212, 213, 214, 215, -1, 217, 218, 219, 220, + 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, + 231, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 242, 243, 244, 245, 246, 247, 248, 249, 250, + 251, -1, 253, 254, 255, 256, 257, 258, 259, 260, + 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, + 271, -1, 273, 274, 275, 276, 277, 278, 279, 280, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 292, -1, 294, 295, 296, 297, 298, 299, 300, + -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, + 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, + -1, 322, 323, 324, -1, 326, 327, 328, 329, 330, + 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, + 341, -1, 343, -1, 345, 346, 347, 348, 349, 350, + 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, + 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, + 381, 382, 383, 384, 385, 386, -1, 388, 389, 390, + 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, + 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, + 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, + 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, + -1, 432, 433, 434, 435, 436, 437, 438, 439, 440, + 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, + 451, 452, 453, -1, 455, -1, 457, 458, 459, 460, + 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, + 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, + -1, 482, 483, 484, 485, 486, 487, 488, 489, 490, + 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, + 501, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 513, 514, 515, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 526, 527, 528, 529, 530, + 531, 532, 533, 534, 3, -1, 5, 6, -1, -1, + -1, 10, 11, -1, -1, -1, -1, -1, 17, 18, + 19, -1, -1, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 53, -1, 55, 56, 57, 58, + 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, + 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, + -1, 80, 81, 82, 83, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, + 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, + 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, + 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, + 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, + 159, -1, 161, 162, 163, 164, -1, 166, 167, 168, + 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, + 179, 180, 181, 182, 183, 184, 185, 186, 187, -1, + 189, -1, 191, 192, 193, 194, 195, 196, 197, 198, + 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, + 209, 210, 211, 212, 213, 214, 215, -1, 217, 218, + 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, + 229, 230, 231, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 242, 243, 244, 245, 246, 247, 248, + 249, 250, 251, -1, 253, 254, 255, 256, 257, 258, + 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, + 269, 270, 271, -1, 273, 274, 275, 276, 277, 278, + 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 292, -1, 294, 295, 296, 297, 298, + 299, 300, -1, 302, 303, 304, 305, 306, 307, 308, + 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, + 319, 320, -1, 322, 323, 324, -1, 326, 327, 328, + 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, + 339, 340, 341, -1, 343, -1, 345, 346, 347, 348, + 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, + 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, + 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, + 379, 380, 381, 382, 383, 384, 385, 386, -1, 388, + 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, + 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, + 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, + 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, + 429, 430, -1, 432, 433, 434, 435, 436, 437, 438, + 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, + 449, 450, 451, 452, 453, -1, 455, -1, 457, 458, + 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, + 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, + 479, 480, -1, 482, 483, 484, 485, 486, 487, 488, + 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, + 499, 500, 501, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 513, 514, 515, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 526, 527, 528, + 529, 530, 531, 532, 533, 534, 3, -1, -1, -1, + -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, + 17, 18, 19, -1, -1, 22, 23, 24, 25, 26, + 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, + -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, + 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, + 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, + -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, + 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, + 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, + 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, + -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, + 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, + 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, + -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, + 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, + 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, + 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, + 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, + 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, + 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, -1, 216, + 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, + -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, + 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, + 247, 248, -1, -1, 251, 252, -1, 254, -1, -1, + 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, + 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, + 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, + 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, + -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, + 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, + 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, + 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, + 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, + 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, + 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, + 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, + 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, + 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, + 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, + 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, + -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, + 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, + -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, + -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, + 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, + 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, + 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 526, + 527, 528, 529, 530, 531, 532, 533, 534, 3, -1, + -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, + -1, -1, 17, 18, 19, -1, -1, 22, 23, 24, + 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, + -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, + -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, + 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, + 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, + 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, + 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, + 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, + 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, + 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, + 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, + 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, + 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, + -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, + 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, + 175, -1, 177, 178, -1, -1, -1, 182, 183, 184, + 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, + 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, + 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, + -1, 216, 217, 218, 219, 220, 221, 222, -1, 224, + -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, + 245, 246, 247, 248, -1, -1, 251, 252, -1, 254, + -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, + 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, + 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, + 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, + 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, + 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, + 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, + 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, + 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, + 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, + 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, + 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, + -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, + 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, + 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, + 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, + 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, + 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, + -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, + -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, + -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 526, 527, 528, 529, 530, 531, 532, 533, 534, + 3, -1, -1, -1, -1, -1, -1, 10, -1, -1, + -1, -1, -1, -1, 17, 18, 19, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, @@ -23673,7 +24144,7 @@ static const yytype_int16 yycheck[] = 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, - 103, 104, 105, -1, -1, -1, 109, -1, -1, -1, + 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, @@ -23694,7 +24165,7 @@ static const yytype_int16 yycheck[] = 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, - 313, 314, 315, 316, -1, -1, 319, 320, 321, -1, + -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, @@ -23706,7 +24177,7 @@ static const yytype_int16 yycheck[] = 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, - -1, 434, 435, -1, 437, 438, -1, 440, 441, 442, + -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, @@ -23714,61 +24185,64 @@ static const yytype_int16 yycheck[] = -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, -1, -1, -1, -1, 3, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 538, 22, 23, 24, 25, - 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, - -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, - 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, - -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, - 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, - 76, 77, 78, 79, -1, -1, -1, 83, 84, 85, - 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, - 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, - -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, - 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, - 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, - 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, - 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, - 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, - -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, - -1, 177, 178, -1, -1, -1, 182, 183, 184, 185, - -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, - 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, - 206, 207, 208, 209, 210, 211, 212, -1, 214, -1, - 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, - 226, -1, -1, 229, -1, 231, 232, 233, 234, 235, - 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, - 246, 247, 248, -1, -1, 251, 252, -1, 254, -1, - -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, - 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, - 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, - 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, - 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, - 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, - 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, - 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, - 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, - 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, - 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, - 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, - 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, - 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, - 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, - 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, - 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, - -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, - -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, - 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, - 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, - 476, 477, 478, 479, 480, 481, 482, -1, 484, -1, - 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, - 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, - 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - -1, -1, -1, -1, 3, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 538, 22, 23, 24, 25, 26, 27, 28, + 513, 514, 515, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 526, 527, 528, 529, 530, 531, 532, + 533, 534, 3, -1, -1, -1, -1, -1, -1, 10, + -1, -1, -1, -1, -1, -1, 17, 18, 19, -1, + -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, + -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, + -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, + 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, + 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, + 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, + -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, + 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, + -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, + -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, + 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, + 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, + 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, + 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, + 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, + 171, 172, 173, -1, 175, -1, 177, 178, -1, -1, + -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, + 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, + 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, + 211, 212, -1, 214, -1, 216, 217, 218, 219, 220, + 221, 222, -1, 224, -1, 226, -1, -1, 229, -1, + 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, + 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, + 251, 252, -1, 254, -1, -1, 257, 258, 259, -1, + -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, + 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, + 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, + 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, + 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, + 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, + 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, + 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, + 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, + 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, + -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, + 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, + 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, + 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, + 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, + 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, + 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, + -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, + 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, + 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, + 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, + -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, + 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, + 511, 512, 513, 514, 515, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 526, 527, 528, 529, 530, + 531, 532, 533, 534, 3, -1, -1, -1, -1, -1, + -1, 10, -1, -1, -1, -1, -1, -1, 17, 18, + 19, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, @@ -23818,60 +24292,63 @@ static const yytype_int16 yycheck[] = 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, -1, -1, - -1, 3, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 538, - 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, - 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, - 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, - 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, - 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, - 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, - -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, - 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, - -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, - -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, - -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, - -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, - 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, - 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, - 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, - 172, 173, -1, 175, -1, 177, 178, -1, -1, -1, - 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, - 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, - 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, - 212, -1, 214, -1, 216, 217, 218, 219, 220, 221, - 222, -1, 224, -1, 226, -1, -1, 229, -1, 231, - 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, - 252, -1, 254, -1, -1, 257, 258, 259, -1, -1, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, - -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, - 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, - -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, - -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, - 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, - 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, - 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, - 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, - 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, - 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, - 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, - 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, - 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, - 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, - 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, - 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, - 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, - 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, - 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, - 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, - -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, - 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, -1, -1, -1, -1, 3, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 538, 22, 23, 24, + -1, -1, -1, -1, -1, -1, -1, 526, 527, 528, + 529, 530, 531, 532, 533, 534, 3, -1, -1, -1, + -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, + 17, 18, 19, -1, -1, 22, 23, 24, 25, 26, + 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, + -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, + 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, + 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, + -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, + 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, + 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, + 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, + -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, + 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, + 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, + -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, + 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, + 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, + 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, + 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, + 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, + 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, -1, 216, + 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, + -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, + 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, + 247, 248, -1, -1, 251, 252, -1, 254, -1, -1, + 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, + 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, + 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, + 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, + -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, + 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, + 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, + 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, + 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, + 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, + 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, + 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, + 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, + 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, + 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, + 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, + -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, + 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, + -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, + -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, + 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, + 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, + 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, + 507, 508, 509, 510, 511, 512, 513, 514, 515, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 526, + 527, 528, 529, 530, 531, 532, 533, 534, 3, -1, + -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, + -1, -1, 17, 18, 19, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, @@ -23921,328 +24398,111 @@ static const yytype_int16 yycheck[] = -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, -1, -1, -1, -1, 3, -1, -1, -1, -1, - -1, -1, 10, -1, -1, 13, -1, -1, -1, 17, - 18, 19, -1, 538, 22, 23, 24, 25, 26, 27, - 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, - 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, - 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, - 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, - 68, 69, 70, -1, -1, 73, 74, 75, 76, 77, - 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, - 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, - 98, 99, 100, -1, 102, 103, 104, 105, 106, 107, - 108, 109, 110, 111, 112, 113, 114, 115, 116, -1, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, - 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, - 148, 149, 150, 151, 152, 153, 154, -1, 156, 157, - 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, - -1, -1, 170, 171, 172, 173, -1, 175, 176, 177, - 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, - 188, -1, 190, 191, 192, -1, 194, 195, -1, 197, - 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, - 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, - 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, - 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, - 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, - 248, 249, 250, 251, 252, 253, 254, 255, -1, 257, - 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, - 268, 269, 270, 271, 272, 273, -1, 275, 276, -1, - 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, - -1, 309, 310, 311, -1, 313, 314, 315, 316, 317, - -1, 319, 320, 321, 322, -1, -1, 325, 326, 327, - 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, - 338, 339, 340, 341, 342, 343, -1, 345, 346, 347, - 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, - 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, - 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, - 388, 389, 390, 391, 392, 393, 394, 395, -1, 397, - 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, - 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, - 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, - 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, - 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, - 448, 449, -1, 451, 452, 453, 454, 455, 456, 457, - 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, - 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, - 478, 479, 480, 481, 482, 483, -1, 485, 486, 487, - 488, 489, 490, 491, -1, 493, -1, -1, -1, -1, - 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, - 508, 509, 510, 511, 512, -1, 514, 515, -1, 517, - -1, -1, -1, -1, -1, -1, -1, -1, 526, 527, - 528, 529, 530, 531, 532, 533, 534, 3, -1, 5, - 6, -1, -1, -1, 10, 11, -1, -1, -1, -1, - -1, 17, 18, 19, -1, -1, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, - 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 53, -1, 55, - 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, - 76, 77, 78, -1, 80, 81, 82, 83, 84, 85, - 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, - 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, - 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, - 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, - 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, - 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, - 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, - 156, 157, 158, 159, -1, 161, 162, 163, 164, -1, - 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, - 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, - 186, 187, -1, 189, -1, 191, 192, 193, 194, 195, - 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, - 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, - -1, 217, 218, 219, 220, 221, 222, 223, 224, 225, - 226, 227, 228, 229, 230, 231, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 242, 243, 244, 245, - 246, 247, 248, 249, 250, 251, -1, 253, 254, 255, - 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, - 266, 267, 268, 269, 270, 271, -1, 273, 274, 275, - 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, - 286, 287, 288, 289, 290, 291, 292, -1, 294, 295, - 296, 297, 298, 299, 300, -1, 302, 303, 304, 305, - 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, - 316, 317, 318, 319, 320, -1, 322, 323, 324, -1, - 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, - 336, 337, 338, 339, 340, 341, -1, 343, -1, 345, - 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, - 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, - 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, - 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, - 386, -1, 388, 389, 390, 391, 392, 393, 394, 395, - 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, - 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, - 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, - 426, 427, 428, 429, 430, -1, 432, 433, 434, 435, - 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, - 446, 447, 448, 449, 450, 451, 452, 453, -1, 455, - -1, 457, 458, 459, 460, 461, 462, 463, 464, 465, - 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, - 476, 477, 478, 479, 480, -1, 482, 483, 484, 485, - 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, - 496, 497, 498, 499, 500, 501, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 513, 514, 515, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 526, 527, 528, 529, 530, 531, 532, 533, 534, 3, - -1, 5, 6, -1, -1, -1, 10, 11, -1, -1, - -1, -1, -1, 17, 18, 19, -1, -1, 22, 23, - 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, - 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - -1, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, - 74, 75, 76, 77, 78, -1, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, - 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, - 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, - 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, - 154, 155, 156, 157, 158, 159, -1, 161, 162, 163, - 164, -1, 166, 167, 168, 169, 170, 171, 172, 173, - 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 187, -1, 189, -1, 191, 192, 193, - 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, - 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, - 214, 215, -1, 217, 218, 219, 220, 221, 222, 223, - 224, 225, 226, 227, 228, 229, 230, 231, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 242, 243, - 244, 245, 246, 247, 248, 249, 250, 251, -1, 253, - 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, - 264, 265, 266, 267, 268, 269, 270, 271, -1, 273, - 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 292, -1, - 294, 295, 296, 297, 298, 299, 300, -1, 302, 303, - 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, - 314, 315, 316, 317, 318, 319, 320, -1, 322, 323, - 324, -1, 326, 327, 328, 329, 330, 331, 332, 333, - 334, 335, 336, 337, 338, 339, 340, 341, -1, 343, - -1, 345, 346, 347, 348, 349, 350, 351, 352, 353, - 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, - 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, - 384, 385, 386, -1, 388, 389, 390, 391, 392, 393, - 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, - 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, - 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, - 424, 425, 426, 427, 428, 429, 430, -1, 432, 433, - 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, - 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, - -1, 455, -1, 457, 458, 459, 460, 461, 462, 463, - 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, - 474, 475, 476, 477, 478, 479, 480, -1, 482, 483, - 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 496, 497, 498, 499, 500, 501, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 513, - 514, 515, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, - 534, 3, -1, -1, -1, -1, -1, -1, 10, -1, - -1, -1, -1, -1, -1, 17, 18, 19, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, - 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, - 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, - 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, - 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, - 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, - -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, - 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, - -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, - -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, - -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, - -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, - 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, - 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, - 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, - 172, 173, -1, 175, -1, 177, 178, -1, -1, -1, - 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, - 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, - 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, - 212, -1, 214, -1, 216, 217, 218, 219, 220, 221, - 222, -1, 224, -1, 226, -1, -1, 229, -1, 231, + 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 526, 527, 528, 529, 530, 531, 532, 533, 534, + 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, + 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, + 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, + 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, + 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, + 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, + 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, + 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, + 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, + 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, + 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, + 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, + 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, + 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, - 252, -1, 254, -1, -1, 257, 258, 259, -1, -1, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, - -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, - 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, - -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, - -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, - 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, - 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, - 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, - 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, - 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, - 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, - 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, - 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, - 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, - 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, - 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, - 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, - 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, - 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, - 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, - 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, - -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, - 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, - 532, 533, 534, 3, -1, -1, -1, -1, -1, -1, - 10, -1, -1, -1, -1, -1, -1, 17, 18, 19, - -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, - 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, - -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, - -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, - 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, - 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, - -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, - 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, - 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, - -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, - 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, - 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, - 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, - 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, - 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, - 170, 171, 172, 173, -1, 175, -1, 177, 178, -1, - -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, - 190, 191, 192, -1, 194, 195, 196, 197, 198, -1, - 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, - 210, 211, 212, -1, 214, -1, 216, 217, 218, 219, - 220, 221, 222, -1, 224, -1, 226, -1, -1, 229, - -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, - -1, 251, 252, -1, 254, -1, -1, 257, 258, 259, - -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, - 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, - 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, - -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, - 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, - 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, - 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, - 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, - 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, - 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, - 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, - 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, - 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, - -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, - 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, - 430, 431, 432, -1, 434, 435, -1, -1, 438, -1, - 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, - -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, - 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, - 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, - 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, - 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, - 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 526, 527, 528, 529, - 530, 531, 532, 533, 534, 3, -1, -1, -1, -1, - -1, -1, 10, -1, -1, -1, -1, -1, -1, 17, - 18, 19, -1, -1, 22, 23, 24, 25, 26, 27, - 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, - -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, - 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, - 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, - -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, - 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, - 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, - 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, - -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, - 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, - 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, - -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, - 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, - 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, - -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, - 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, - 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, - 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, - 208, 209, 210, 211, 212, -1, 214, -1, 216, 217, - 218, 219, 220, 221, 222, -1, 224, -1, 226, -1, - -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, - 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, - 248, -1, -1, 251, 252, -1, 254, -1, -1, 257, - 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, - 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, - 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, - -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, - -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, - -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, - 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, - -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, - -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, - 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, - 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, - 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, - -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, - 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, - 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, - 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, - 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, - 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, - 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, - -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, - 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, - 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, - 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 526, 527, - 528, 529, 530, 531, 532, 533, 534, 3, -1, -1, - -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, - -1, 17, 18, 19, -1, -1, 22, 23, 24, 25, + 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, + 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, + 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, + 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, + 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, + 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, + 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, + 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, + 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, + 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, + 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, + 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, + 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, + 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, + 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, + 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, + 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, + 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, + 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, + 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, + 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, + 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, + 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, + 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 531, + -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, + 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, + -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, + 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, + -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, + 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, + 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, + -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, + 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, + -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, + 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, + 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, + 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, + -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, + 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, + 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, + -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, + -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, + -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, + 209, 210, 211, 212, -1, 214, -1, 216, 217, 218, + 219, 220, 221, 222, -1, 224, -1, 226, -1, -1, + 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, + 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, + -1, -1, 251, 252, -1, 254, -1, -1, 257, 258, + 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, + 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, + 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, + 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, + 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, + 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, + 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, + 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, + 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, + 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, + 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, + 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, + 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, + 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, + 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, + 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, + 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, + -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, + 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, + 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, + 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, + 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, + 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, + 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, + 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 531, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, @@ -24292,116 +24552,59 @@ static const yytype_int16 yycheck[] = 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 526, 527, 528, 529, 530, 531, 532, 533, 534, 3, - -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, - -1, -1, -1, 17, 18, 19, -1, -1, 22, 23, - 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, - 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, - 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, - 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, - 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, - -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, - 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, - -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, - 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, - 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, - -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, - 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, - -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, - 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, - 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, - -1, 175, -1, 177, 178, -1, -1, -1, 182, 183, - 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, - 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, - -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, - 214, -1, 216, 217, 218, 219, 220, 221, 222, -1, - 224, -1, 226, -1, -1, 229, -1, 231, 232, 233, - 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 244, 245, 246, 247, 248, -1, -1, 251, 252, -1, - 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, - 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, - 274, 275, 276, 277, 278, 279, 280, 281, -1, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, - 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, - 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, - -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, - 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, - 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, - 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, - -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, - 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, - -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, - 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, - 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, - 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, - 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, - 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, - 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, - -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, - 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, - -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, - 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 526, 527, 528, 529, 530, 531, 532, 533, - 534, 3, -1, -1, -1, -1, -1, -1, 10, -1, - -1, -1, -1, -1, -1, 17, 18, 19, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, - 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, - 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, - 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, - 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, - 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, - -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, - 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, - -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, - -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, - -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, - -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, - 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, - 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, - 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, - 172, 173, -1, 175, -1, 177, 178, -1, -1, -1, - 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, - 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, - 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, - 212, -1, 214, -1, 216, 217, 218, 219, 220, 221, - 222, -1, 224, -1, 226, -1, -1, 229, -1, 231, - 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, - 252, -1, 254, -1, -1, 257, 258, 259, -1, -1, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, - -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, - 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, - -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, - -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, - 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, - 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, - 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, - 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, - 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, - 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, - 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, - 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, - 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, - 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, - 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, - 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, - 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, - 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, - 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, - 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, - -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, - 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 526, 527, 528, 529, 530, 531, - 532, 533, 534, 3, -1, -1, -1, -1, -1, -1, - 10, -1, -1, -1, -1, -1, -1, 17, 18, 19, + 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 531, -1, -1, -1, 22, + 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, + 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, + 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, + 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, + 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, + 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, + 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, + 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, + 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, + 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, + 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, + 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, + 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, + 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, + 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, + 173, -1, 175, -1, 177, 178, -1, -1, -1, 182, + 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, + -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, + 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, + -1, 214, -1, 216, 217, 218, 219, 220, 221, 222, + -1, 224, -1, 226, -1, -1, 229, -1, 231, 232, + 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, + 243, 244, 245, 246, 247, 248, -1, -1, 251, 252, + -1, 254, -1, -1, 257, 258, 259, -1, -1, 262, + 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, + 273, 274, 275, 276, 277, 278, 279, 280, 281, -1, + 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, + 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, + 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, + -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, + 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, + 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, + 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, + 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, + 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, + 373, 374, 375, 376, 377, -1, 379, 380, -1, 382, + 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, + 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, + 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, + 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, + 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, + -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, + 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, + 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, + 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, + 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, + -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, + 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, + 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, + 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 531, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, @@ -24452,417 +24655,417 @@ static const yytype_int16 yycheck[] = 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 526, 527, 528, 529, - 530, 531, 532, 533, 534, 22, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 531, -1, -1, -1, 22, 23, 24, 25, 26, + 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, + -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, + 47, 48, 49, 50, 51, 52, 53, -1, 55, 56, + 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, + -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, + 77, 78, -1, -1, 81, -1, 83, 84, 85, 86, + 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, + 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, + -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, + 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, + 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, + -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, + 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, + 157, 158, 159, -1, 161, 162, 163, 164, -1, -1, + 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, + 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, + 187, -1, -1, -1, 191, 192, -1, 194, 195, 196, + 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, + 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, + 227, 228, 229, 230, 231, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 242, 243, 244, 245, 246, + 247, 248, -1, -1, 251, -1, 253, 254, 255, -1, + 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 271, -1, 273, 274, 275, 276, + 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, -1, -1, 294, -1, 296, + 297, 298, 299, -1, -1, 302, 303, 304, 305, 306, + 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, + -1, 318, 319, 320, 321, 322, 323, 324, -1, 326, + 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, + 337, -1, 339, 340, 341, -1, 343, -1, 345, 346, + 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, + 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, + 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, + 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, + -1, 388, 389, 390, 391, 392, 393, 394, 395, 396, + 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, + 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, + 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, + 427, 428, 429, 430, -1, 432, -1, 434, 435, -1, + -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, + 447, 448, 449, -1, -1, 452, 453, -1, 455, -1, + -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, + -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, + 477, 478, 479, 480, -1, 482, 483, 484, 485, 486, + 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, + 497, 498, 499, 500, 501, -1, 3, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 513, 514, 515, -1, + -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, + 27, 28, 29, 30, 531, 32, 33, 34, -1, -1, + -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, + 47, 48, 49, 50, 51, 52, 53, -1, 55, 56, + 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, + -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, + 77, 78, -1, -1, 81, -1, 83, 84, 85, 86, + 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, + 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, + -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, + 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, + 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, + -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, + 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, + 157, 158, 159, -1, 161, 162, 163, 164, -1, -1, + 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, + 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, + 187, -1, -1, -1, 191, 192, -1, 194, 195, 196, + 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, + 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, + 227, 228, 229, 230, 231, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 242, 243, 244, 245, 246, + 247, 248, -1, -1, 251, -1, 253, 254, 255, -1, + 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, + 267, 268, 269, 270, 271, -1, 273, 274, 275, 276, + 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, -1, -1, 294, -1, 296, + 297, 298, 299, -1, -1, 302, 303, 304, 305, 306, + 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, + -1, 318, 319, 320, 321, 322, 323, 324, -1, 326, + 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, + 337, -1, 339, 340, 341, -1, 343, -1, 345, 346, + 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, + 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, + 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, + 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, + -1, 388, 389, 390, 391, 392, 393, 394, 395, 396, + 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, + 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, + 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, + 427, 428, 429, 430, -1, 432, -1, 434, 435, -1, + -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, + 447, 448, 449, -1, -1, 452, 453, -1, 455, -1, + -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, + -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, + 477, 478, 479, 480, -1, 482, 483, 484, 485, 486, + 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, + 497, 498, 499, 500, 501, -1, 3, -1, 5, 6, + -1, -1, -1, -1, 11, 12, 513, 514, 515, -1, + -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, + 27, 28, 29, 30, 531, 32, 33, 34, -1, -1, + -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, - 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, - 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, - 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, - 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, - 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, - 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, + 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, + -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, + 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, + 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, + 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, + -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, + 117, 118, 119, 120, 121, 122, 123, -1, 125, 126, + 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, + -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, + 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, - 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, - 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, - 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, - 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, - 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, - 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, + 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, + 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, + 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, + 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, + 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, - 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, - 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, + 247, 248, -1, -1, 251, 252, 253, 254, 255, -1, + 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, - 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, - 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, + 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, + 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, + 307, -1, 309, 310, 311, 312, -1, 314, 315, 316, + -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, - 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, - 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, - 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, + 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, + 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, + 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, + 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, - 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, + 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, + 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, - 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, + 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, + -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, + 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, - 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, - 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, - 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, + -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, + 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, + 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 531, -1, -1, -1, 22, 23, + -1, 5, 6, -1, -1, -1, -1, 11, 12, -1, + -1, -1, 529, 530, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, - 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, - 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, + 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, + 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, - -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, - 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, - -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, - 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, - 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, + -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, + 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, + -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, + 104, 105, -1, -1, -1, 109, -1, -1, -1, 113, + 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, - 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, - -1, 175, -1, 177, 178, -1, -1, -1, 182, 183, + 164, 165, 166, 167, -1, 169, 170, 171, 172, 173, + -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, - 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, + 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, - 214, -1, 216, 217, 218, 219, 220, 221, 222, -1, - 224, -1, 226, -1, -1, 229, -1, 231, 232, 233, + 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, + 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 244, 245, 246, 247, 248, -1, -1, 251, 252, -1, - 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, + 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, + 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, - 274, 275, 276, 277, 278, 279, 280, 281, -1, 283, + 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, - 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, - 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, - -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, + 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, + 304, 305, 306, 307, -1, 309, 310, 311, 312, -1, + 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, + 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, + 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, - -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, + -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, - 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, + 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, - 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, + 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, - 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, + 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 531, -1, -1, + 514, 515, 3, -1, 5, 6, -1, -1, -1, -1, + 11, -1, -1, -1, -1, 529, 530, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, - -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, - 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, + -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, + 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, - -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, + 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, - -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, + -1, 102, 103, 104, 105, -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, - 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, + 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, - 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, - 171, 172, 173, -1, 175, -1, 177, 178, -1, -1, - -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, - 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, + 161, 162, 163, 164, 165, 166, 167, -1, 169, 170, + 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, + 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, + 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, - 211, 212, -1, 214, -1, 216, 217, 218, 219, 220, - 221, 222, -1, 224, -1, 226, -1, -1, 229, -1, + 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, + 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, - 251, 252, -1, 254, -1, -1, 257, 258, 259, -1, + 251, 252, 253, 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, - 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, - 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, - 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, + 311, 312, -1, 314, 315, 316, -1, -1, 319, 320, + 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, - -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, + 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, - 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, + 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, - 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, + 431, 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, - -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, + -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, - 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, + 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, - 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 531, -1, -1, -1, 22, 23, 24, 25, 26, 27, + 511, 512, 513, 514, 515, 3, -1, 5, 6, -1, + -1, -1, -1, 11, 12, -1, -1, -1, 529, 530, + -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, - 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, - 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, - 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, - 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, - -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, + 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, + 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, + 98, 99, 100, -1, 102, 103, 104, 105, -1, -1, + -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, - 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, + 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, - 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, + 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, - 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, - 208, 209, 210, 211, 212, -1, 214, -1, 216, 217, - 218, 219, 220, 221, 222, -1, 224, -1, 226, -1, - -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, + 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, + 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, + 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, + 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, - 248, -1, -1, 251, 252, -1, 254, -1, -1, 257, + 248, -1, -1, 251, 252, 253, 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, - 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, + 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, - -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, - -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, - -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, + 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, + -1, 309, 310, 311, 312, -1, 314, 315, 316, -1, + -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, + -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, - 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, + 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, - 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, - 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, + 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, + 448, 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, - 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, + 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 531, -1, -1, -1, 22, 23, 24, + 5, 6, -1, -1, -1, -1, 11, -1, -1, -1, + -1, 529, 530, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, - -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, - 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, + -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, - 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, - 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, - 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, - 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, + 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, + 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, + 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, + 105, -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, - 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, - 175, -1, 177, 178, -1, -1, -1, 182, 183, 184, + 165, 166, 167, -1, 169, 170, 171, 172, 173, -1, + 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, - 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, + 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, - -1, 216, 217, 218, 219, 220, 221, 222, -1, 224, - -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, + 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, + -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, - 245, 246, 247, 248, -1, -1, 251, 252, -1, 254, - -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, + 245, 246, 247, 248, -1, -1, 251, 252, 253, 254, + 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, - 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, - 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, - 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, + -1, 296, 297, 298, 299, -1, 301, 302, 303, 304, + 305, 306, 307, -1, 309, 310, 311, 312, -1, 314, + 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, - 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, + 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, - 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, + 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, - 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, + 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, - 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, + 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, - -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, + 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 531, -1, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, - 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, - 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, - 52, 53, -1, 55, 56, 57, 58, -1, 60, 61, - 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, - 72, 73, -1, 75, 76, 77, 78, -1, -1, 81, - -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, - 102, 103, 104, 105, -1, -1, -1, 109, -1, -1, - -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, - -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, - -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, - 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, - 152, 153, 154, -1, 156, 157, 158, 159, -1, 161, - 162, 163, 164, -1, -1, 167, -1, 169, 170, 171, - 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, - 182, 183, 184, 185, -1, 187, -1, -1, -1, 191, - 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, - 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, - 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, - 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, - -1, 253, 254, 255, -1, 257, 258, 259, -1, -1, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - -1, 273, 274, 275, 276, 277, 278, 279, 280, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - -1, -1, 294, -1, 296, 297, 298, 299, -1, -1, - 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, - -1, -1, 314, 315, 316, -1, 318, 319, 320, 321, - 322, 323, 324, -1, 326, 327, 328, 329, 330, 331, - 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, - -1, 343, -1, 345, 346, 347, -1, 349, 350, 351, - 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, - 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, - 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, - 382, 383, 384, 385, 386, -1, 388, 389, 390, 391, - 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, - 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, - 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, - 422, 423, 424, 425, 426, 427, 428, 429, 430, -1, - 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, - 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, - 452, 453, -1, 455, -1, -1, 458, 459, 460, 461, - 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, - 472, 473, -1, -1, 476, 477, 478, 479, 480, -1, - 482, 483, 484, 485, 486, 487, 488, 489, 490, -1, - -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, - -1, 3, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 513, 514, 515, -1, -1, -1, -1, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 531, + 515, 3, -1, -1, -1, -1, -1, -1, -1, 11, + -1, -1, -1, -1, 529, 530, -1, -1, -1, -1, + 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, - 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, - 52, 53, -1, 55, 56, 57, 58, -1, 60, 61, + 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, + 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, - 72, 73, -1, 75, 76, 77, 78, -1, -1, 81, - -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, + -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, - 102, 103, 104, 105, -1, -1, -1, 109, -1, -1, + -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, - 152, 153, 154, -1, 156, 157, 158, 159, -1, 161, - 162, 163, 164, -1, -1, 167, -1, 169, 170, 171, - 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, - 182, 183, 184, 185, -1, 187, -1, -1, -1, 191, - 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, - 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, - 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, - 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, - -1, 253, 254, 255, -1, 257, 258, 259, -1, -1, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - -1, 273, 274, 275, 276, 277, 278, 279, 280, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - -1, -1, 294, -1, 296, 297, 298, 299, -1, -1, - 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, - -1, -1, 314, 315, 316, -1, 318, 319, 320, 321, - 322, 323, 324, -1, 326, 327, 328, 329, 330, 331, - 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, - -1, 343, -1, 345, 346, 347, -1, 349, 350, 351, - 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, - 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, - 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, - 382, 383, 384, 385, 386, -1, 388, 389, 390, 391, - 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, - 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, - 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, - 422, 423, 424, 425, 426, 427, 428, 429, 430, -1, - 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, - 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, - 452, 453, -1, 455, -1, -1, 458, 459, 460, 461, - 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, - 472, 473, -1, -1, 476, 477, 478, 479, 480, -1, - 482, 483, 484, 485, 486, 487, 488, 489, 490, -1, - -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, - -1, 3, -1, 5, 6, -1, -1, -1, -1, 11, - 12, 513, 514, 515, -1, -1, -1, -1, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 531, - 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, - 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, - 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, - 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, - 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, - -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, - 102, 103, 104, 105, -1, -1, -1, 109, -1, -1, - -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, - 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, - -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, - 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, - 162, 163, 164, 165, 166, 167, -1, 169, 170, 171, - 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, + 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, + 172, 173, -1, 175, -1, 177, 178, -1, 180, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, - 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, - 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, - 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, - 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, + 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, + 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, + 212, -1, 214, -1, 216, 217, 218, 219, 220, 221, + 222, -1, 224, -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, - 252, 253, 254, 255, -1, 257, 258, 259, -1, -1, + 252, -1, 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, -1, 296, 297, 298, 299, -1, 301, + -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, - 312, -1, 314, 315, 316, -1, -1, 319, 320, 321, - 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, + -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, + -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, - 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, + 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, - 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, + 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, - 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, + 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, - 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, + 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, - 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, + 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 3, -1, 5, 6, -1, -1, - -1, -1, 11, 12, -1, -1, -1, 529, 530, -1, + 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 529, 530, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, - 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, + 29, 30, -1, 32, 33, 34, 35, 36, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, @@ -24871,11 +25074,11 @@ static const yytype_int16 yycheck[] = 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, - 119, 120, 121, 122, 123, -1, 125, 126, 127, 128, + 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, - 159, 160, 161, 162, 163, 164, 165, 166, 167, -1, + 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, @@ -24890,7 +25093,7 @@ static const yytype_int16 yycheck[] = 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, - 309, 310, 311, 312, -1, 314, 315, 316, -1, -1, + 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, @@ -24904,30 +25107,184 @@ static const yytype_int16 yycheck[] = 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, - 449, -1, -1, 452, 453, 454, 455, 456, 457, 458, + 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, - 509, 510, 511, 512, 513, 514, 515, 3, -1, 5, - 6, -1, -1, -1, -1, 11, -1, -1, -1, -1, - 529, 530, -1, -1, -1, -1, 22, 23, 24, 25, + 509, 510, 511, 512, 513, 514, 515, 516, 3, -1, + 5, 6, -1, -1, -1, -1, 11, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, + 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, + 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, + 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, + 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, + 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, + 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, + 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, + 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, + 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, + 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, + 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, + 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, + 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, + 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, + 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, + 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, + 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, + 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, + 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, + 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, + 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, + 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, + 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, + 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, + 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, + 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, + 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, + 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, + 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, + 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, + 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, + 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, + 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, + 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, + 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, + 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, + 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, + 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, + 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, + 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, + 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, + 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, + 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, + 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, + 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, + 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, + 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, + 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, + 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, + 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, + 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, + 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, + 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, + 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, + 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, + 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, + 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, + 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, + 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, + 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, + 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, + 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, + 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, + 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, + 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, + 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, + 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, + 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, + 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, + 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, + 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, + 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, + 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, + 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, + 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, + 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, + 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, + 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, + 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, + 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, + 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, + 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, + 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, + 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, + 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, + 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, + 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, + 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, + 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, + 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, + 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, + 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, + 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, + 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, + 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, + 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, + 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, + 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, + 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, + 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, + 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, + 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, + 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, + 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, + 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, + 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, + 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, + 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, + 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, + 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, + 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, + 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, + 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, + 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, + 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, + 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, + 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, + 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, + 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, + 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, + 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, + 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, + 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, - 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, + 66, -1, 68, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, - -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, - 116, 117, 118, 119, 120, 121, 122, 123, -1, 125, + 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, + 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, - 166, 167, -1, 169, 170, 171, 172, 173, -1, 175, + -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, @@ -24936,12 +25293,12 @@ static const yytype_int16 yycheck[] = 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, 254, 255, - -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, + -1, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, 304, 305, - 306, 307, -1, 309, 310, 311, 312, -1, 314, 315, + 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, @@ -24950,20 +25307,20 @@ static const yytype_int16 yycheck[] = 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, - 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, + 396, 397, -1, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, - -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, + 436, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, - 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, - 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, + 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, + 466, -1, -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - 3, -1, 5, 6, -1, -1, -1, -1, 11, 12, - -1, -1, -1, 529, 530, -1, -1, -1, -1, 22, + 3, -1, 5, 6, -1, 8, 9, -1, 11, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, @@ -24991,8 +25348,8 @@ static const yytype_int16 yycheck[] = 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, -1, 296, 297, 298, 299, -1, 301, 302, - 303, 304, 305, 306, 307, -1, 309, 310, 311, 312, + 293, 294, -1, 296, 297, 298, 299, 300, 301, 302, + 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, @@ -25013,23 +25370,23 @@ static const yytype_int16 yycheck[] = -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 3, -1, 5, 6, -1, -1, -1, - -1, 11, -1, -1, -1, -1, 529, 530, -1, -1, + 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, - 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, + 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, - 100, -1, 102, 103, 104, 105, -1, -1, -1, 109, - -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, + 100, -1, 102, 103, 104, 105, -1, -1, 108, 109, + -1, -1, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, - 160, 161, 162, 163, 164, 165, 166, 167, -1, 169, + 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, @@ -25044,7 +25401,7 @@ static const yytype_int16 yycheck[] = 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, - 310, 311, 312, -1, 314, 315, 316, -1, -1, 319, + 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, @@ -25053,80 +25410,80 @@ static const yytype_int16 yycheck[] = 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, - 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, + 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, - -1, -1, 452, 453, 454, 455, 456, 457, 458, 459, + -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, - -1, -1, -1, -1, 11, -1, -1, -1, -1, 529, - 530, -1, -1, -1, -1, 22, 23, 24, 25, 26, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, - 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, + 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, - 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, - 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, - 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, - -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, + 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, + 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, + 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, + -1, 108, 109, -1, -1, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, - 177, 178, -1, 180, -1, 182, 183, 184, 185, -1, + 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, - 197, 198, -1, 200, 201, 202, 203, 204, 205, 206, - 207, 208, 209, 210, 211, 212, -1, 214, -1, 216, + 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, - -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, + 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, - 247, 248, -1, -1, 251, 252, -1, 254, -1, -1, + 247, 248, -1, -1, 251, 252, 253, 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, - 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, + 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, - 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, + 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, - -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, + -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, + 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, - 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, - 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, + 397, -1, 399, 400, 401, 402, 403, 404, 405, 406, + 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, - -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, + -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, - 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, + 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 529, 530, -1, -1, -1, -1, 22, 23, + -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, - 34, 35, 36, -1, -1, -1, -1, -1, 42, 43, + 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, - 104, 105, -1, -1, -1, 109, -1, -1, -1, 113, + 104, 105, -1, -1, 108, 109, -1, -1, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, @@ -25156,198 +25513,44 @@ static const yytype_int16 yycheck[] = 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, - -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, + 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, - -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, + 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, 516, 3, -1, 5, 6, -1, -1, -1, - -1, 11, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, - 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, - 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, - 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, - 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, - 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, - 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, - 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, - 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, - 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, - 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, - 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, - 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, - 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, - 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, - 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, - 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, - 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, - 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, - 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, - 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, - 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, - 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, - 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, - 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, - 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, - 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, - 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, - 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, - 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, - 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, - 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, - 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, - 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, - 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, - 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, - 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, - 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, - 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, - 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, - 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, - 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, - 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, - 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, - 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, - 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, - 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, - 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, - 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, - 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, - 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, - 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, - 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, - 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, - 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, - 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, - 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, - 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, - 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, - 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, - 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, - 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, - 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, - 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, - 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, - 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, - 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, - 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, - 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, - 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, - 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, - 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, - 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, - 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, - 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, - 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, - 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, - 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, - 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, - 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, - 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, - 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, - 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, - 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, - 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, - 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, - 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, - 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, - 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, - 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, - 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, - 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, - 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, - 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, - 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, - 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, - 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, - 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, - 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, - 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, - 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, - 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, - 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, - 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, - 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, - 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, - 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, - 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, - 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, - 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, - 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, - 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, - 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, - 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, - 61, 62, 63, 64, 65, 66, -1, 68, 69, 70, + 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, - -1, 102, 103, 104, 105, 106, 107, 108, 109, 110, - 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, + -1, 102, 103, 104, 105, -1, -1, 108, 109, -1, + -1, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, - 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, + 181, 182, 183, 184, 185, -1, 187, 188, 189, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, - 251, 252, 253, 254, 255, -1, 257, 258, 259, 260, - 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, + 251, 252, 253, 254, 255, -1, 257, 258, 259, -1, + -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, @@ -25364,16 +25567,16 @@ static const yytype_int16 yycheck[] = 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, - 431, 432, -1, 434, 435, 436, -1, 438, 439, 440, + 431, 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, - 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, + 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, - 511, 512, 513, 514, 515, 3, -1, 5, 6, -1, - 8, 9, -1, 11, -1, -1, -1, -1, -1, -1, + 511, 512, 513, 514, 515, 3, -1, -1, 6, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, @@ -25402,8 +25605,8 @@ static const yytype_int16 yycheck[] = 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, - 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, - -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, + 298, 299, -1, 301, 302, 303, 304, 305, 306, 307, + -1, 309, 310, 311, 312, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, @@ -25426,7 +25629,7 @@ static const yytype_int16 yycheck[] = 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, @@ -25477,7 +25680,7 @@ static const yytype_int16 yycheck[] = 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, 61, @@ -25573,7 +25776,7 @@ static const yytype_int16 yycheck[] = 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, - 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, + 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, @@ -25596,7 +25799,7 @@ static const yytype_int16 yycheck[] = 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, - -1, 187, 188, 189, 190, 191, 192, -1, 194, 195, + -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, @@ -25629,7 +25832,7 @@ static const yytype_int16 yycheck[] = 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, - 3, -1, -1, 6, -1, -1, -1, -1, -1, -1, + 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, @@ -25639,13 +25842,13 @@ static const yytype_int16 yycheck[] = 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, - 103, 104, 105, -1, -1, -1, 109, -1, -1, -1, + 103, 104, 105, -1, -1, 108, 109, -1, -1, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, - 163, 164, 165, 166, 167, -1, 169, 170, 171, 172, + 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, @@ -25659,7 +25862,7 @@ static const yytype_int16 yycheck[] = 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, 301, 302, - 303, 304, 305, 306, 307, -1, 309, 310, 311, 312, + 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, @@ -25669,19 +25872,19 @@ static const yytype_int16 yycheck[] = 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, - 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, + 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, - 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, + 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 513, 514, 515, 3, -1, -1, 6, -1, -1, -1, + -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, @@ -25690,9 +25893,9 @@ static const yytype_int16 yycheck[] = 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, - 100, -1, 102, 103, 104, 105, -1, -1, 108, 109, - -1, -1, 112, 113, 114, 115, 116, 117, 118, 119, - 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, + 100, -1, 102, 103, 104, 105, -1, -1, -1, 109, + -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, + 120, 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, @@ -25720,7 +25923,7 @@ static const yytype_int16 yycheck[] = 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, - 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, + 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, 439, @@ -25731,8 +25934,8 @@ static const yytype_int16 yycheck[] = 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, - 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 510, 511, 512, 513, 514, 515, 3, -1, -1, 6, + -1, -1, -1, -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, @@ -25742,7 +25945,7 @@ static const yytype_int16 yycheck[] = 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, - -1, 108, 109, -1, -1, 112, 113, 114, 115, 116, + -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, @@ -25771,7 +25974,7 @@ static const yytype_int16 yycheck[] = 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, - 397, -1, 399, 400, 401, 402, 403, 404, 405, 406, + 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, @@ -25783,7 +25986,7 @@ static const yytype_int16 yycheck[] = 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, @@ -25793,7 +25996,7 @@ static const yytype_int16 yycheck[] = -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, - 104, 105, -1, -1, 108, 109, -1, -1, 112, 113, + 104, 105, -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, @@ -25823,7 +26026,7 @@ static const yytype_int16 yycheck[] = 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, - 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, + -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, @@ -25844,8 +26047,8 @@ static const yytype_int16 yycheck[] = 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, - -1, 102, 103, 104, 105, -1, -1, 108, 109, -1, - -1, 112, 113, 114, 115, 116, 117, 118, 119, 120, + -1, 102, 103, 104, 105, -1, -1, -1, 109, -1, + -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, @@ -25874,7 +26077,7 @@ static const yytype_int16 yycheck[] = 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, - 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, + 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, 439, 440, @@ -25896,7 +26099,7 @@ static const yytype_int16 yycheck[] = 78, 79, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, -1, - 108, 109, -1, -1, 112, 113, 114, 115, 116, 117, + -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, @@ -25925,7 +26128,7 @@ static const yytype_int16 yycheck[] = 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, - -1, 399, 400, 401, 402, 403, 404, 405, 406, 407, + -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, @@ -25937,7 +26140,7 @@ static const yytype_int16 yycheck[] = 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, - -1, 6, -1, -1, -1, -1, -1, 12, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, @@ -25948,7 +26151,7 @@ static const yytype_int16 yycheck[] = 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, -1, -1, 109, -1, -1, -1, 113, 114, - 115, 116, 117, 118, 119, 120, 121, 122, 123, -1, + 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, @@ -25988,8 +26191,8 @@ static const yytype_int16 yycheck[] = 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, 3, -1, -1, 6, -1, -1, -1, -1, -1, - 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, @@ -26039,7 +26242,7 @@ static const yytype_int16 yycheck[] = 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, - 512, 513, 514, 515, 3, -1, -1, 6, -1, -1, + 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, @@ -26146,51 +26349,51 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, - 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, - 53, 54, 55, 56, 57, 58, -1, 60, 61, 62, + 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, + 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, - 73, -1, 75, 76, 77, 78, 79, -1, 81, -1, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, - 103, 104, 105, -1, -1, -1, 109, -1, -1, -1, + 73, 74, 75, 76, 77, 78, 79, -1, -1, 82, + 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, + 93, 94, 95, 96, 97, 98, 99, 100, -1, -1, + 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, - 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, + 173, -1, 175, 176, 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, - -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, + -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, - -1, 214, 215, 216, 217, 218, 219, 220, 221, 222, - -1, 224, -1, 226, 227, 228, 229, 230, 231, 232, + -1, 214, -1, 216, 217, 218, 219, 220, 221, 222, + -1, 224, -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, 252, - 253, 254, 255, -1, 257, 258, 259, -1, -1, 262, + -1, 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, - 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, + 273, 274, 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, - 293, 294, -1, 296, 297, 298, 299, -1, 301, 302, + 293, 294, 295, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, - -1, 314, 315, 316, -1, -1, 319, 320, 321, 322, - 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, + -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, + 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, - 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, + 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, - 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, + 373, 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, - 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, + 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, - -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, + -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, - 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, + 463, 464, 465, 466, -1, 468, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, - -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, + -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, @@ -26198,50 +26401,50 @@ static const yytype_int16 yycheck[] = -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, -1, + -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, - 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, - -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, - 100, -1, 102, 103, 104, 105, -1, -1, -1, 109, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, - 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, - -1, 181, 182, 183, 184, 185, -1, 187, 188, -1, - 190, 191, 192, -1, 194, 195, 196, 197, 198, 199, + 170, 171, 172, 173, -1, 175, 176, 177, 178, -1, + -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, + 190, 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, - 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, - 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, - 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, + 210, 211, 212, -1, 214, -1, 216, 217, 218, 219, + 220, 221, 222, -1, 224, -1, 226, -1, -1, 229, + -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, - -1, 251, 252, 253, 254, 255, -1, 257, 258, 259, + -1, 251, 252, -1, 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, - 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, 292, 293, 294, -1, 296, 297, 298, 299, + 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, - 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, + 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, - 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, + 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, - 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, + 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, - 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, + -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, - 430, 431, 432, -1, 434, 435, -1, -1, 438, 439, + 430, 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, - 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, + 460, 461, 462, 463, 464, 465, 466, -1, 468, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, - 480, 481, 482, -1, 484, 485, 486, 487, 488, 489, + 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, @@ -26249,173 +26452,173 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, - -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, - 77, 78, 79, -1, 81, -1, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, - 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, - -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, + -1, -1, 69, 70, 71, 72, 73, 74, 75, 76, + 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, + 87, 88, -1, 90, 91, 92, 93, 94, 95, 96, + 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, + -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, - 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, - 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, + 167, -1, 169, 170, 171, 172, 173, -1, 175, 176, + 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, - 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, - 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, + 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, -1, 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, - 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, + -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, - 247, 248, -1, -1, 251, 252, 253, 254, 255, -1, + 247, 248, -1, -1, 251, 252, -1, 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, - 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, - 297, 298, 299, -1, 301, 302, 303, 304, 305, 306, + 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, + 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, + 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, - -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, + -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, - 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, + 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, + 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, + 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, - -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, + -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, - -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, - 477, 478, 479, 480, 481, 482, -1, 484, 485, 486, + -1, 468, 469, 470, 471, 472, 473, -1, -1, 476, + 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, - 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, - 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, -1, 60, 61, 62, 63, + 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, + 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, - -1, 75, 76, 77, 78, 79, -1, 81, -1, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, - 104, 105, -1, -1, -1, 109, -1, -1, -1, 113, + -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, + 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, + -1, 95, 96, 97, 98, 99, 100, 101, -1, 103, + 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, - -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, - 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, - 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, + -1, 175, -1, 177, 178, -1, -1, -1, 182, 183, + 184, 185, 186, 187, 188, -1, 190, 191, 192, -1, + 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, - 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, - 224, -1, 226, 227, 228, 229, 230, 231, 232, 233, + 214, -1, 216, 217, 218, 219, 220, 221, 222, -1, + 224, -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 244, 245, 246, 247, 248, -1, -1, 251, 252, 253, - 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, + 244, 245, 246, 247, 248, -1, -1, 251, 252, -1, + 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, - 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, + 274, 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, -1, 296, 297, 298, 299, -1, 301, 302, 303, + 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, - 314, 315, 316, -1, -1, 319, 320, 321, 322, 323, - 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, + 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, + -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, - -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, + 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, + 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, - -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, + 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, + -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, - 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, + 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, - 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, + 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, - -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, - -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 55, 56, 57, 58, -1, 60, + 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, + -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, + 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, - 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, + -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, - -1, 102, 103, 104, 105, -1, -1, -1, 109, -1, + 101, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, - 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, - 181, 182, 183, 184, 185, -1, 187, 188, -1, 190, - 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, + 171, 172, 173, -1, 175, -1, 177, 178, -1, -1, + -1, 182, 183, 184, 185, 186, 187, 188, -1, 190, + 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, - 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, - 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, + 211, 212, -1, 214, -1, 216, 217, 218, 219, 220, + 221, 222, -1, 224, -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, - 251, 252, 253, 254, 255, -1, 257, 258, 259, -1, + 251, 252, -1, 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, -1, 296, 297, 298, 299, -1, + 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, + 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, - 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, + 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, - 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, + 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, - 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, - 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, - 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, + -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, + 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, + 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, - 431, 432, -1, 434, 435, -1, -1, 438, 439, 440, + 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, - 481, 482, -1, 484, 485, 486, 487, 488, 489, 490, + 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, - 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, + 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, - -1, 69, 70, 71, 72, 73, 74, 75, 76, 77, - 78, 79, -1, -1, 82, 83, 84, 85, 86, 87, - 88, -1, 90, 91, 92, 93, 94, 95, 96, 97, - 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, + -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, + 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, + 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, + 98, 99, 100, 101, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, - -1, 169, 170, 171, 172, 173, -1, 175, 176, 177, + -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, @@ -26427,47 +26630,47 @@ static const yytype_int16 yycheck[] = 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, + 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, - 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, - 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, + -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, + 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, - -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, + 398, 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, - 468, 469, 470, 471, 472, 473, -1, -1, 476, 477, + -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, - 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, - 65, 66, -1, -1, 69, 70, 71, 72, 73, 74, + 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, - 85, 86, 87, 88, -1, 90, 91, 92, 93, 94, + 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, - 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, + 105, -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, - 175, 176, 177, 178, -1, -1, -1, 182, 183, 184, + 175, -1, 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, @@ -26475,16 +26678,16 @@ static const yytype_int16 yycheck[] = -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, 252, -1, 254, - 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, + -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - 295, 296, 297, -1, 299, -1, 301, 302, 303, 304, - 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, + -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, + 305, 306, 307, -1, 309, 310, 311, -1, 313, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, - 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, + 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, @@ -26493,24 +26696,24 @@ static const yytype_int16 yycheck[] = 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, - 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, + 435, -1, 437, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, - 465, 466, -1, 468, 469, 470, 471, 472, 473, -1, + 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, + 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, - 72, 73, 74, 75, 76, 77, 78, 79, -1, -1, + 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, - 92, 93, 94, 95, 96, 97, 98, 99, 100, -1, + 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, @@ -26530,12 +26733,12 @@ static const yytype_int16 yycheck[] = 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, - 292, 293, 294, 295, 296, 297, -1, 299, -1, 301, + 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, - 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, + 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, @@ -26544,10 +26747,10 @@ static const yytype_int16 yycheck[] = 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, - 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, + 432, -1, 434, 435, -1, 437, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, - 462, 463, 464, 465, 466, -1, 468, 469, 470, 471, + 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, @@ -26555,7 +26758,7 @@ static const yytype_int16 yycheck[] = 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, + 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, @@ -26570,7 +26773,7 @@ static const yytype_int16 yycheck[] = -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, - -1, -1, -1, 182, 183, 184, 185, 186, 187, 188, + -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, -1, 216, 217, 218, @@ -26606,15 +26809,15 @@ static const yytype_int16 yycheck[] = 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, + 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, - 96, 97, 98, 99, 100, 101, -1, 103, 104, 105, - -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, + 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, + -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, @@ -26622,7 +26825,7 @@ static const yytype_int16 yycheck[] = 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, -1, -1, -1, 182, 183, 184, 185, - 186, 187, 188, -1, 190, 191, 192, -1, 194, 195, + -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, -1, 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, @@ -26634,20 +26837,20 @@ static const yytype_int16 yycheck[] = 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, - 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, + 306, 307, -1, 309, 310, 311, -1, 313, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, - 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, + 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, - 396, 397, 398, 399, 400, 401, 402, 403, -1, 405, + 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, - -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, + -1, 437, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, @@ -26664,7 +26867,7 @@ static const yytype_int16 yycheck[] = 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, - 93, -1, 95, 96, 97, 98, 99, 100, 101, -1, + 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, @@ -26686,15 +26889,15 @@ static const yytype_int16 yycheck[] = 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, - -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, + 313, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, - 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, + 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, - 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, + 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, @@ -26706,17 +26909,17 @@ static const yytype_int16 yycheck[] = -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, - 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 513, 514, 515, 3, -1, -1, 6, -1, -1, -1, + -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, + 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, - 100, -1, -1, 103, 104, 105, -1, -1, -1, 109, + 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, @@ -26737,7 +26940,7 @@ static const yytype_int16 yycheck[] = 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, - 310, 311, -1, 313, 314, 315, 316, -1, -1, 319, + 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, @@ -26749,7 +26952,7 @@ static const yytype_int16 yycheck[] = 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, - 430, 431, 432, -1, 434, 435, -1, 437, 438, -1, + 430, 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, @@ -26774,7 +26977,7 @@ static const yytype_int16 yycheck[] = -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, - 167, -1, 169, 170, 171, 172, 173, -1, 175, 176, + 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, @@ -26801,24 +27004,24 @@ static const yytype_int16 yycheck[] = 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, - 437, 438, -1, 440, 441, 442, 443, 444, 445, -1, + -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, - -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, + -1, -1, 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, - 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, - -1, 95, 96, 97, 98, 99, 100, 101, -1, 103, + -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, @@ -26845,10 +27048,10 @@ static const yytype_int16 yycheck[] = 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, - 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, + -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, + 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, @@ -26856,21 +27059,21 @@ static const yytype_int16 yycheck[] = 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, - -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, + 474, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, - -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, + 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, - -1, -1, 103, 104, 105, -1, -1, -1, 109, -1, + -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, @@ -26891,7 +27094,7 @@ static const yytype_int16 yycheck[] = 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, - 311, -1, 313, 314, 315, 316, -1, -1, 319, 320, + 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, @@ -26903,7 +27106,7 @@ static const yytype_int16 yycheck[] = 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, - 431, 432, -1, 434, 435, -1, 437, 438, -1, 440, + 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, @@ -26942,7 +27145,7 @@ static const yytype_int16 yycheck[] = 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, - -1, 309, 310, 311, -1, 313, 314, 315, 316, -1, + -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, @@ -26963,9 +27166,9 @@ static const yytype_int16 yycheck[] = 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, - -1, 6, -1, -1, -1, -1, -1, 12, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, - 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, @@ -27061,14 +27264,14 @@ static const yytype_int16 yycheck[] = 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, - 472, 473, 474, -1, 476, 477, 478, 479, 480, 481, + 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, + 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, @@ -27096,7 +27299,7 @@ static const yytype_int16 yycheck[] = 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, - 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, + 309, 310, 311, -1, 313, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, @@ -27112,14 +27315,14 @@ static const yytype_int16 yycheck[] = -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, - 469, 470, 471, 472, 473, 474, -1, 476, 477, 478, + 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 33, 34, -1, + 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, @@ -27326,7 +27529,7 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, - 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, + 44, -1, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, @@ -27352,7 +27555,7 @@ static const yytype_int16 yycheck[] = 274, 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, - 304, 305, 306, 307, -1, 309, 310, 311, -1, 313, + 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, @@ -27374,7 +27577,7 @@ static const yytype_int16 yycheck[] = -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, - -1, 12, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, @@ -27404,7 +27607,7 @@ static const yytype_int16 yycheck[] = 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, - 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, + 311, -1, 313, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, @@ -27529,7 +27732,7 @@ static const yytype_int16 yycheck[] = 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, @@ -27570,7 +27773,7 @@ static const yytype_int16 yycheck[] = 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, - 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, + 432, -1, 434, 435, -1, 437, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, @@ -27579,11 +27782,11 @@ static const yytype_int16 yycheck[] = -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 11, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, -1, 57, 58, + 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, @@ -27633,7 +27836,7 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, - -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, + -1, -1, -1, -1, 40, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, @@ -27660,7 +27863,7 @@ static const yytype_int16 yycheck[] = 276, 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, 305, - 306, 307, -1, 309, 310, 311, -1, 313, 314, 315, + 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, @@ -27683,8 +27886,8 @@ static const yytype_int16 yycheck[] = 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, + 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, + 33, 34, -1, -1, -1, -1, -1, 40, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, @@ -27735,7 +27938,7 @@ static const yytype_int16 yycheck[] = 513, 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, -1, -1, -1, -1, -1, + 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, @@ -27744,7 +27947,7 @@ static const yytype_int16 yycheck[] = 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, - 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, + 120, 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, @@ -27795,7 +27998,7 @@ static const yytype_int16 yycheck[] = 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, - 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, + 117, 118, 119, 120, 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, @@ -27827,7 +28030,7 @@ static const yytype_int16 yycheck[] = 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, - 437, 438, -1, 440, 441, 442, 443, 444, 445, -1, + -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, @@ -27835,7 +28038,7 @@ static const yytype_int16 yycheck[] = 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, - -1, -1, -1, -1, -1, -1, -1, 11, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, @@ -27845,7 +28048,7 @@ static const yytype_int16 yycheck[] = -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, - 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, + 104, 105, -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, @@ -27889,7 +28092,7 @@ static const yytype_int16 yycheck[] = 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, - -1, 32, 33, 34, -1, -1, -1, -1, -1, 40, + -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, @@ -27898,7 +28101,7 @@ static const yytype_int16 yycheck[] = 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, - 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, + 121, 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, @@ -27941,7 +28144,7 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, - -1, -1, 40, -1, 42, 43, 44, -1, 46, 47, + -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, @@ -28000,7 +28203,7 @@ static const yytype_int16 yycheck[] = 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, - 115, 116, 117, 118, 119, 120, 121, 122, 123, -1, + 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, @@ -28052,7 +28255,7 @@ static const yytype_int16 yycheck[] = 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, - 122, 123, -1, 125, 126, 127, 128, 129, 130, 131, + -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, 161, @@ -28102,7 +28305,7 @@ static const yytype_int16 yycheck[] = 79, -1, -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, - 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, + -1, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, @@ -28154,7 +28357,7 @@ static const yytype_int16 yycheck[] = 86, 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, 115, - 116, 117, 118, 119, 120, 121, 122, 123, -1, 125, + 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, @@ -29377,7 +29580,7 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, - 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, + 34, -1, -1, -1, -1, -1, 40, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, @@ -29414,7 +29617,7 @@ static const yytype_int16 yycheck[] = 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, - -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, + -1, -1, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, @@ -29634,7 +29837,7 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, - -1, 40, -1, 42, 43, 44, -1, 46, 47, 48, + -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, @@ -29670,7 +29873,7 @@ static const yytype_int16 yycheck[] = 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, - 399, 400, 401, 402, 403, -1, -1, 406, 407, 408, + 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, 438, @@ -30316,7 +30519,7 @@ static const yytype_int16 yycheck[] = 160, 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, 188, -1, - 190, 191, 192, -1, 194, 195, 196, 197, 198, -1, + 190, -1, 192, -1, 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, -1, 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, -1, -1, 229, @@ -30330,12 +30533,12 @@ static const yytype_int16 yycheck[] = -1, 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, 328, 329, - 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, + 330, 331, 332, -1, 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, -1, 349, - 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, + 350, 351, 352, 353, 354, 355, 356, 357, -1, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, - 380, -1, 382, 383, 384, 385, 386, 387, 388, 389, + 380, -1, 382, 383, 384, 385, 386, 387, -1, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, 418, 419, @@ -30353,260 +30556,253 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, - 47, 48, 49, -1, 51, 52, 53, 54, 55, -1, + 47, 48, 49, 50, 51, 52, 53, -1, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, - 77, 78, 79, -1, -1, -1, 83, 84, 85, 86, - 87, 88, -1, 90, 91, 92, 93, -1, 95, 96, - 97, 98, 99, 100, -1, -1, 103, 104, 105, -1, - -1, -1, -1, -1, -1, -1, 113, 114, 115, 116, + 77, 78, -1, -1, 81, -1, 83, 84, 85, 86, + 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, + 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, + -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, - 157, 158, 159, 160, 161, 162, 163, 164, 165, -1, + 157, 158, 159, -1, 161, 162, 163, 164, -1, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, - 177, 178, -1, -1, -1, 182, 183, 184, 185, -1, - 187, 188, -1, 190, 191, 192, -1, 194, 195, 196, - 197, 198, -1, 200, 201, 202, 203, -1, 205, 206, - 207, 208, 209, 210, 211, 212, -1, 214, -1, 216, + 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, + 187, -1, -1, -1, 191, 192, -1, 194, 195, 196, + 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, + 207, 208, 209, 210, 211, 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, - -1, -1, 229, -1, 231, 232, 233, 234, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, - 247, 248, -1, -1, 251, 252, -1, 254, -1, -1, + 227, 228, 229, 230, 231, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 242, 243, 244, 245, 246, + 247, 248, -1, -1, 251, -1, 253, 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, - 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, - 277, 278, 279, 280, 281, -1, 283, 284, 285, 286, - 287, 288, 289, 290, 291, 292, 293, 294, -1, 296, - 297, -1, 299, -1, 301, 302, 303, 304, 305, 306, + 267, 268, 269, 270, 271, -1, 273, 274, 275, 276, + 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, + 287, 288, 289, 290, 291, -1, -1, 294, -1, 296, + 297, 298, 299, -1, -1, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, - -1, -1, 319, 320, 321, -1, 323, -1, 325, 326, + -1, -1, 319, 320, 321, 322, 323, 324, -1, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, - 337, -1, 339, 340, 341, 342, 343, 344, 345, 346, + 337, -1, 339, 340, 341, -1, 343, -1, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, -1, 379, 380, -1, 382, 383, 384, 385, 386, - 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, + 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, + -1, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, - 407, 408, 409, -1, 411, 412, 413, 414, -1, 416, + 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, - 427, 428, 429, 430, 431, 432, -1, 434, 435, -1, - -1, 438, -1, 440, 441, 442, 443, 444, 445, -1, - 447, 448, 449, -1, -1, 452, 453, 454, 455, 456, + 427, 428, 429, 430, -1, 432, -1, 434, 435, -1, + -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, + 447, 448, 449, -1, -1, 452, 453, -1, 455, -1, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, - 477, 478, 479, 480, 481, 482, -1, 484, -1, 486, + 477, 478, 479, 480, -1, 482, 483, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, - 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, - 507, 508, 509, 510, 511, 512, 513, 514, 515, 3, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, - 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, - 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, - 44, -1, 46, 47, 48, 49, -1, 51, 52, 53, - 54, 55, -1, 57, 58, -1, 60, 61, 62, 63, - 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, - -1, 75, 76, 77, 78, 79, -1, -1, -1, 83, - 84, 85, 86, 87, 88, -1, 90, 91, 92, 93, - -1, 95, 96, 97, 98, 99, 100, -1, -1, 103, - 104, 105, -1, -1, -1, -1, -1, -1, -1, 113, - 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, - -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, - 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, - -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, - 154, -1, 156, 157, 158, 159, 160, 161, 162, 163, - 164, 165, -1, 167, -1, 169, 170, 171, 172, 173, - -1, 175, -1, 177, 178, -1, -1, -1, 182, 183, - 184, 185, -1, 187, 188, -1, 190, 191, 192, -1, - 194, 195, 196, 197, 198, -1, 200, 201, 202, 203, - -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, - 214, -1, 216, 217, 218, 219, 220, 221, 222, -1, - 224, -1, 226, -1, -1, 229, -1, 231, 232, 233, - 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 244, 245, 246, 247, 248, -1, -1, 251, 252, -1, - 254, -1, -1, 257, 258, 259, -1, -1, 262, 263, - 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, - 274, 275, 276, 277, 278, 279, 280, 281, -1, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, -1, 296, 297, -1, 299, -1, 301, 302, 303, - 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, - 314, 315, 316, -1, -1, 319, 320, 321, -1, 323, - -1, 325, 326, 327, 328, 329, 330, 331, 332, 333, - 334, 335, 336, 337, -1, 339, 340, 341, 342, 343, - 344, 345, 346, 347, -1, 349, 350, 351, 352, 353, - 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, - -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, - 374, 375, 376, 377, -1, 379, 380, -1, 382, 383, - 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, - 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, - -1, 405, 406, 407, 408, 409, -1, 411, 412, 413, - 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, - 424, 425, 426, 427, 428, 429, 430, 431, 432, -1, - 434, 435, -1, -1, 438, -1, 440, 441, 442, 443, - 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, - 454, 455, 456, -1, 458, 459, 460, 461, 462, 463, - 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, - -1, -1, 476, 477, 478, 479, 480, 481, 482, -1, - 484, -1, 486, 487, 488, 489, 490, -1, -1, 493, - -1, -1, 496, 497, 498, 499, 500, 501, 502, 503, - 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, - 514, 515, 3, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, - -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, - -1, 42, 43, 44, -1, 46, 47, 48, 49, -1, - 51, 52, 53, 54, 55, -1, 57, 58, -1, 60, - 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, - 71, 72, 73, -1, 75, 76, 77, 78, 79, -1, - -1, -1, 83, 84, 85, 86, 87, 88, -1, 90, - 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, - -1, -1, 103, 104, 105, -1, -1, -1, -1, -1, - -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, - 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, - 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, - 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, - 151, 152, 153, 154, -1, 156, 157, 158, 159, 160, - 161, 162, 163, 164, 165, -1, 167, -1, 169, 170, - 171, 172, 173, -1, 175, -1, 177, 178, -1, -1, - -1, 182, 183, 184, 185, -1, 187, 188, -1, 190, - 191, 192, -1, 194, 195, 196, 197, 198, -1, 200, - 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, - 211, 212, -1, 214, -1, 216, 217, 218, 219, 220, - 221, 222, -1, 224, -1, 226, -1, -1, 229, -1, - 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, - 241, 242, 243, 244, 245, 246, 247, 248, -1, -1, - 251, 252, -1, 254, -1, -1, 257, 258, 259, -1, - -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, - 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, - 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, -1, 296, 297, -1, 299, -1, - 301, 302, 303, 304, 305, 306, 307, -1, 309, 310, - 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, - 321, -1, 323, -1, 325, 326, 327, 328, 329, 330, - 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, - 341, 342, 343, 344, 345, 346, 347, -1, 349, 350, - 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, - 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, - 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, - -1, 382, 383, 384, 385, 386, 387, 388, 389, 390, - 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, - 401, 402, 403, -1, 405, 406, 407, 408, 409, -1, - 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, - 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, - 431, 432, -1, 434, 435, -1, -1, 438, -1, 440, - 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, - -1, 452, 453, 454, 455, 456, -1, 458, 459, 460, - 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, - 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, - 481, 482, -1, 484, -1, 486, 487, 488, 489, 490, - -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, - 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, - 511, 512, 513, 514, 515, 3, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 497, 498, 499, 500, 501, 3, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 513, 514, 515, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, - 48, 49, -1, 51, 52, 53, 54, 55, -1, 57, + 48, 49, 50, 51, 52, 53, -1, 55, 56, 57, 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, - 78, 79, -1, -1, -1, 83, 84, 85, 86, 87, - 88, -1, 90, 91, 92, 93, -1, 95, 96, 97, - 98, 99, 100, -1, -1, 103, 104, 105, -1, -1, - -1, -1, -1, -1, -1, 113, 114, 115, 116, 117, + 78, -1, -1, 81, -1, 83, 84, 85, 86, 87, + 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, + 98, 99, 100, -1, 102, 103, 104, 105, -1, -1, + -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, - 158, 159, 160, 161, 162, 163, 164, 165, -1, 167, + 158, 159, -1, 161, 162, 163, 164, -1, -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, - 178, -1, -1, -1, 182, 183, 184, 185, -1, 187, - 188, -1, 190, 191, 192, -1, 194, 195, 196, 197, - 198, -1, 200, 201, 202, 203, -1, 205, 206, 207, - 208, 209, 210, 211, 212, -1, 214, -1, 216, 217, - 218, 219, 220, 221, 222, -1, 224, -1, 226, -1, - -1, 229, -1, 231, 232, 233, 234, 235, 236, 237, - 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, - 248, -1, -1, 251, 252, -1, 254, -1, -1, 257, + 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, + -1, -1, -1, 191, 192, -1, 194, 195, 196, 197, + 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, + 208, 209, 210, 211, 212, -1, 214, 215, -1, 217, + 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, + 228, 229, 230, 231, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 242, 243, 244, 245, 246, 247, + 248, -1, -1, 251, -1, 253, 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, - 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, - 278, 279, 280, 281, -1, 283, 284, 285, 286, 287, - 288, 289, 290, 291, 292, 293, 294, -1, 296, 297, - -1, 299, -1, 301, 302, 303, 304, 305, 306, 307, + 268, 269, 270, 271, -1, 273, 274, 275, 276, 277, + 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, + 288, 289, 290, 291, -1, -1, 294, -1, 296, 297, + 298, 299, 300, -1, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, - -1, 319, 320, 321, -1, 323, -1, 325, 326, 327, + -1, 319, 320, -1, 322, 323, 324, -1, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, - -1, 339, 340, 341, 342, 343, 344, 345, 346, 347, + -1, 339, 340, 341, -1, 343, -1, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, - -1, 379, 380, -1, 382, 383, 384, 385, 386, 387, + -1, 379, 380, 381, 382, 383, 384, 385, 386, -1, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, - 408, 409, -1, 411, 412, 413, 414, -1, 416, 417, + 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, - 428, 429, 430, 431, 432, -1, 434, 435, -1, -1, - 438, -1, 440, 441, 442, 443, 444, 445, -1, 447, - 448, 449, -1, -1, 452, 453, 454, 455, 456, -1, + 428, 429, 430, -1, 432, -1, 434, 435, -1, 437, + 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, + 448, 449, -1, -1, 452, 453, -1, 455, -1, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, - 478, 479, 480, 481, 482, -1, 484, -1, 486, 487, + 478, 479, 480, -1, 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, - 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, - 508, 509, 510, 511, 512, 513, 514, 515, 3, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, - 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, - -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, - -1, 46, 47, 48, 49, -1, 51, 52, 53, 54, - 55, -1, 57, 58, -1, 60, 61, 62, 63, 64, - 65, 66, -1, -1, 69, 70, 71, 72, 73, -1, - 75, 76, 77, 78, 79, -1, -1, -1, 83, 84, - 85, 86, 87, 88, -1, 90, 91, 92, 93, -1, - 95, 96, 97, 98, 99, 100, -1, -1, 103, 104, - 105, -1, -1, -1, -1, -1, -1, -1, 113, 114, - 115, 116, 117, 118, 119, 120, 121, -1, 123, -1, - 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, - 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, - 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, - -1, 156, 157, 158, 159, 160, 161, 162, 163, 164, - 165, -1, 167, -1, 169, 170, 171, 172, 173, -1, - 175, -1, 177, 178, -1, -1, -1, 182, 183, 184, - 185, -1, 187, 188, -1, 190, -1, 192, -1, 194, - 195, 196, 197, 198, -1, 200, 201, 202, 203, -1, - 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, - -1, 216, 217, 218, 219, 220, 221, 222, -1, 224, - -1, 226, -1, -1, 229, -1, 231, 232, 233, 234, - 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, - 245, 246, 247, 248, -1, -1, 251, 252, -1, 254, - -1, -1, 257, 258, 259, -1, -1, 262, 263, 264, - 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, - 275, 276, 277, 278, 279, 280, 281, -1, 283, 284, - 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, - -1, 296, 297, -1, 299, -1, 301, 302, 303, 304, - 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, - 315, 316, -1, -1, 319, 320, 321, -1, 323, -1, - 325, 326, 327, 328, 329, 330, 331, 332, -1, 334, - 335, 336, 337, -1, 339, 340, 341, 342, 343, 344, - 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, - 355, 356, 357, -1, 359, 360, 361, 362, 363, -1, - 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, - 375, 376, 377, -1, 379, 380, -1, 382, 383, 384, - 385, 386, 387, -1, 389, 390, 391, 392, 393, 394, - 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, - 405, 406, 407, 408, 409, -1, 411, 412, 413, 414, - -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, - 425, 426, 427, 428, 429, 430, 431, 432, -1, 434, - 435, -1, -1, 438, -1, 440, 441, 442, 443, 444, - 445, -1, 447, 448, 449, -1, -1, 452, 453, 454, - 455, 456, -1, 458, 459, 460, 461, 462, 463, 464, - 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, - -1, 476, 477, 478, 479, 480, 481, 482, -1, 484, - -1, 486, 487, 488, 489, 490, -1, -1, 493, -1, - -1, 496, 497, 498, 499, 500, 501, 502, 503, 504, - 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, - 515, 3, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 498, 499, 500, 501, 3, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 513, 514, 515, -1, -1, + -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, + 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, + -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, + 49, 50, 51, 52, 53, -1, 55, 56, 57, 58, + -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, + 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, + -1, -1, 81, -1, 83, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, + 99, 100, -1, 102, 103, 104, 105, -1, -1, -1, + 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, + 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, + 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, + 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, + -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, + 159, -1, 161, 162, 163, 164, -1, -1, 167, -1, + 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, + 179, -1, 181, 182, 183, 184, 185, -1, 187, -1, + -1, -1, 191, 192, -1, 194, 195, 196, 197, 198, + 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, + 209, 210, 211, 212, -1, 214, 215, -1, 217, 218, + 219, 220, 221, 222, -1, 224, -1, 226, 227, 228, + 229, 230, 231, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 242, 243, 244, 245, 246, 247, 248, + -1, -1, 251, -1, 253, 254, 255, -1, 257, 258, + 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, + 269, 270, 271, -1, 273, 274, 275, 276, 277, 278, + 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, + 289, 290, 291, 292, -1, 294, -1, 296, 297, 298, + 299, -1, -1, 302, 303, 304, 305, 306, 307, -1, + 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, + 319, 320, -1, 322, 323, 324, -1, 326, 327, 328, + 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, + 339, 340, 341, -1, 343, -1, 345, 346, 347, -1, + 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, + 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, + 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, + 379, 380, 381, 382, 383, 384, 385, 386, -1, 388, + 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, + 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, + 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, + 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, + 429, 430, -1, 432, -1, 434, 435, -1, -1, 438, + 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, + 449, -1, -1, 452, 453, -1, 455, -1, -1, 458, + 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, + 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, + 479, 480, -1, 482, -1, 484, 485, 486, 487, 488, + 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, + 499, 500, 501, 3, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 513, 514, 515, -1, -1, -1, + -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, + 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, + -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, + 50, 51, 52, 53, -1, 55, 56, 57, 58, -1, + 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, + 70, 71, 72, 73, -1, 75, 76, 77, 78, -1, + -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, + 100, -1, 102, 103, 104, 105, -1, -1, -1, 109, + -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, + 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, + 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, + 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, + 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, + -1, 161, 162, 163, 164, -1, -1, 167, -1, 169, + 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, + -1, 181, 182, 183, 184, 185, -1, 187, -1, -1, + -1, 191, 192, -1, 194, 195, 196, 197, 198, 199, + 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, + 210, 211, 212, -1, 214, 215, -1, 217, 218, 219, + 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, + 230, 231, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 242, 243, 244, 245, 246, 247, 248, -1, + -1, 251, -1, 253, 254, 255, -1, 257, 258, 259, + -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, + 270, 271, -1, 273, 274, 275, 276, 277, 278, 279, + 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 292, -1, 294, -1, 296, 297, 298, 299, + -1, -1, 302, 303, 304, 305, 306, 307, -1, 309, + 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, + 320, -1, 322, 323, 324, -1, 326, 327, 328, 329, + 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, + 340, 341, -1, 343, -1, 345, 346, 347, -1, 349, + 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, + 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, + 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, + 380, 381, 382, 383, 384, 385, 386, -1, 388, 389, + 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, + 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, + 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, + 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, + 430, -1, 432, -1, 434, 435, -1, -1, 438, 439, + 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, + -1, -1, 452, 453, -1, 455, -1, -1, 458, 459, + 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, + 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, + 480, -1, 482, -1, 484, 485, 486, 487, 488, 489, + 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, + 500, 501, 3, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 513, 514, 515, -1, -1, -1, -1, + -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, + -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, + -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, + 51, 52, 53, -1, 55, 56, 57, 58, -1, 60, + 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, + 71, 72, 73, -1, 75, 76, 77, 78, -1, -1, + 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, + -1, 102, 103, 104, 105, -1, -1, -1, 109, -1, + -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, + 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, + 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, + 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, + 151, 152, 153, 154, -1, 156, 157, 158, 159, -1, + 161, 162, 163, 164, -1, -1, 167, -1, 169, 170, + 171, 172, 173, 174, 175, -1, 177, 178, 179, -1, + 181, 182, 183, 184, 185, -1, 187, -1, -1, -1, + 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, + 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, + 211, 212, -1, 214, 215, -1, 217, 218, 219, 220, + 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, + 231, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 242, 243, 244, 245, 246, 247, 248, -1, -1, + 251, -1, 253, 254, 255, -1, 257, 258, 259, -1, + -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, + 271, -1, 273, 274, 275, 276, 277, 278, 279, 280, + 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, + 291, -1, -1, 294, -1, 296, 297, 298, 299, -1, + -1, 302, 303, 304, 305, 306, 307, -1, 309, 310, + 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, + -1, 322, 323, 324, -1, 326, 327, 328, 329, 330, + 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, + 341, -1, 343, -1, 345, 346, 347, -1, 349, 350, + 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, + 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, + 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, + 381, 382, 383, 384, 385, 386, -1, 388, 389, 390, + 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, + 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, + 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, + 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, + -1, 432, -1, 434, 435, -1, -1, 438, 439, 440, + 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, + -1, 452, 453, -1, 455, -1, -1, 458, 459, 460, + 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, + 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, + -1, 482, -1, 484, 485, 486, 487, 488, 489, 490, + -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, + 501, 3, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 513, 514, 515, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, @@ -30622,11 +30818,11 @@ static const yytype_int16 yycheck[] = 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, -1, 161, 162, 163, 164, -1, -1, 167, -1, 169, 170, 171, - 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, + 172, 173, 174, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, -1, -1, -1, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, - 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, - 212, -1, 214, 215, 216, 217, 218, 219, 220, 221, + 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, + 212, -1, 214, 215, -1, 217, 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, @@ -30636,7 +30832,7 @@ static const yytype_int16 yycheck[] = 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, -1, 294, -1, 296, 297, 298, 299, -1, -1, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, - -1, -1, 314, 315, 316, -1, -1, 319, 320, 321, + -1, -1, 314, 315, 316, -1, -1, 319, 320, -1, 322, 323, 324, -1, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, -1, 343, -1, 345, 346, 347, -1, 349, 350, 351, @@ -30653,7 +30849,7 @@ static const yytype_int16 yycheck[] = 452, 453, -1, 455, -1, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, -1, - 482, 483, 484, 485, 486, 487, 488, 489, 490, -1, + 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 513, 514, 515, -1, -1, -1, -1, -1, 22, @@ -30684,7 +30880,7 @@ static const yytype_int16 yycheck[] = 263, 264, 265, 266, 267, 268, 269, 270, 271, -1, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, - -1, 294, -1, 296, 297, 298, 299, 300, -1, 302, + -1, 294, -1, 296, 297, 298, 299, -1, -1, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, -1, 322, 323, 324, -1, 326, 327, 328, 329, 330, 331, 332, @@ -30698,7 +30894,7 @@ static const yytype_int16 yycheck[] = 403, -1, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, -1, 432, - -1, 434, 435, -1, 437, 438, 439, 440, 441, 442, + -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, 452, 453, -1, 455, -1, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, @@ -30733,7 +30929,7 @@ static const yytype_int16 yycheck[] = 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, -1, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 292, -1, + 284, 285, 286, 287, 288, 289, 290, 291, -1, -1, 294, -1, 296, 297, 298, 299, -1, -1, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, -1, 322, 323, @@ -30783,7 +30979,7 @@ static const yytype_int16 yycheck[] = 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, -1, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, - 285, 286, 287, 288, 289, 290, 291, 292, -1, 294, + 285, 286, 287, 288, 289, 290, 291, -1, -1, 294, -1, 296, 297, 298, 299, -1, -1, 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, -1, 322, 323, 324, @@ -30821,7 +31017,7 @@ static const yytype_int16 yycheck[] = 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, -1, 161, 162, 163, 164, -1, - -1, 167, -1, 169, 170, 171, 172, 173, 174, 175, + -1, 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, -1, -1, -1, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, @@ -30871,7 +31067,7 @@ static const yytype_int16 yycheck[] = -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, -1, 161, 162, 163, 164, -1, -1, - 167, -1, 169, 170, 171, 172, 173, 174, 175, -1, + 167, -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, -1, -1, -1, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, @@ -30895,7 +31091,7 @@ static const yytype_int16 yycheck[] = 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, -1, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, 403, -1, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, -1, 416, + -1, 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, -1, 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, @@ -30909,303 +31105,53 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, -1, 46, 47, - 48, 49, 50, 51, 52, 53, -1, 55, 56, 57, - 58, -1, 60, 61, 62, 63, 64, 65, 66, -1, - -1, 69, 70, 71, 72, 73, -1, 75, 76, 77, + 48, 49, 50, 51, 52, 53, -1, -1, 56, -1, + -1, -1, 60, 61, 62, 63, 64, 65, 66, -1, + -1, 69, 70, -1, -1, 73, -1, 75, 76, 77, 78, -1, -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, 103, 104, 105, -1, -1, -1, 109, -1, -1, -1, 113, 114, 115, 116, 117, - 118, 119, 120, 121, -1, 123, -1, 125, 126, 127, + 118, -1, -1, 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, -1, 161, 162, 163, 164, -1, -1, 167, - -1, 169, 170, 171, 172, 173, -1, 175, -1, 177, + -1, 169, 170, 171, -1, 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, 183, 184, 185, -1, 187, -1, -1, -1, 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, -1, 214, 215, -1, 217, - 218, 219, 220, 221, 222, -1, 224, -1, 226, 227, - 228, 229, 230, 231, -1, -1, -1, -1, -1, -1, + 218, 219, 220, -1, -1, -1, -1, -1, 226, 227, + 228, 229, 230, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, -1, 253, 254, 255, -1, 257, 258, 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, -1, 273, 274, 275, 276, 277, - 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, + 278, 279, 280, -1, 282, -1, 284, 285, 286, 287, 288, 289, 290, 291, -1, -1, 294, -1, 296, 297, - 298, 299, -1, -1, 302, 303, 304, 305, 306, 307, + 298, 299, -1, -1, 302, -1, 304, 305, 306, 307, -1, 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, -1, 322, 323, 324, -1, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, -1, 343, -1, 345, 346, 347, -1, 349, 350, 351, 352, 353, 354, 355, 356, 357, - 358, 359, 360, 361, 362, 363, -1, 365, 366, 367, + 358, 359, -1, 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, 383, 384, 385, 386, -1, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, - -1, 399, 400, 401, 402, 403, -1, 405, 406, 407, - 408, 409, 410, 411, 412, 413, 414, -1, 416, 417, + -1, 399, 400, 401, 402, 403, -1, 405, 406, -1, + 408, 409, 410, 411, 412, -1, 414, -1, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, -1, 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, 443, 444, 445, -1, 447, - 448, 449, -1, -1, 452, 453, -1, 455, -1, -1, + -1, -1, -1, -1, 452, 453, -1, 455, -1, -1, 458, 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, 473, -1, -1, 476, 477, - 478, 479, 480, -1, 482, -1, 484, 485, 486, 487, + 478, 479, 480, -1, -1, -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, 493, -1, -1, 496, 497, - 498, 499, 500, 501, 3, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 513, 514, 515, -1, -1, - -1, -1, -1, 22, 23, 24, 25, 26, 27, 28, - 29, 30, -1, 32, 33, 34, -1, -1, -1, -1, - -1, -1, -1, 42, 43, 44, -1, 46, 47, 48, - 49, 50, 51, 52, 53, -1, 55, 56, 57, 58, - -1, 60, 61, 62, 63, 64, 65, 66, -1, -1, - 69, 70, 71, 72, 73, -1, 75, 76, 77, 78, - -1, -1, 81, -1, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, -1, 95, 96, 97, 98, - 99, 100, -1, 102, 103, 104, 105, -1, -1, -1, - 109, -1, -1, -1, 113, 114, 115, 116, 117, 118, - 119, 120, 121, -1, 123, -1, 125, 126, 127, 128, - 129, 130, 131, -1, 133, 134, 135, 136, -1, -1, - 139, 140, 141, 142, 143, -1, 145, 146, 147, 148, - -1, 150, 151, 152, 153, 154, -1, 156, 157, 158, - 159, -1, 161, 162, 163, 164, -1, -1, 167, -1, - 169, 170, 171, 172, 173, -1, 175, -1, 177, 178, - 179, -1, 181, 182, 183, 184, 185, -1, 187, -1, - -1, -1, 191, 192, -1, 194, 195, 196, 197, 198, - 199, 200, 201, 202, 203, -1, 205, 206, 207, 208, - 209, 210, 211, 212, -1, 214, 215, -1, 217, 218, - 219, 220, 221, 222, -1, 224, -1, 226, 227, 228, - 229, 230, 231, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 242, 243, 244, 245, 246, 247, 248, - -1, -1, 251, -1, 253, 254, 255, -1, 257, 258, - 259, -1, -1, 262, 263, 264, 265, 266, 267, 268, - 269, 270, 271, -1, 273, 274, 275, 276, 277, 278, - 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, - 289, 290, 291, -1, -1, 294, -1, 296, 297, 298, - 299, -1, -1, 302, 303, 304, 305, 306, 307, -1, - 309, 310, 311, -1, -1, 314, 315, 316, -1, -1, - 319, 320, -1, 322, 323, 324, -1, 326, 327, 328, - 329, 330, 331, 332, 333, 334, 335, 336, 337, -1, - 339, 340, 341, -1, 343, -1, 345, 346, 347, -1, - 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, - 359, 360, 361, 362, 363, -1, 365, 366, 367, 368, - 369, 370, 371, 372, 373, 374, 375, 376, 377, -1, - 379, 380, 381, 382, 383, 384, 385, 386, -1, 388, - 389, 390, 391, 392, 393, 394, 395, 396, 397, -1, - 399, 400, 401, 402, 403, -1, 405, 406, 407, 408, - 409, 410, 411, 412, 413, 414, -1, 416, 417, 418, - 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, - 429, 430, -1, 432, -1, 434, 435, -1, -1, 438, - 439, 440, 441, 442, 443, 444, 445, -1, 447, 448, - 449, -1, -1, 452, 453, -1, 455, -1, -1, 458, - 459, 460, 461, 462, 463, 464, 465, 466, -1, -1, - 469, 470, 471, 472, 473, -1, -1, 476, 477, 478, - 479, 480, -1, 482, -1, 484, 485, 486, 487, 488, - 489, 490, -1, -1, 493, -1, -1, 496, 497, 498, - 499, 500, 501, 3, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 513, 514, 515, -1, -1, -1, - -1, -1, 22, 23, 24, 25, 26, 27, 28, 29, - 30, -1, 32, 33, 34, -1, -1, -1, -1, -1, - -1, -1, 42, 43, 44, -1, 46, 47, 48, 49, - 50, 51, 52, 53, -1, 55, 56, 57, 58, -1, - 60, 61, 62, 63, 64, 65, 66, -1, -1, 69, - 70, 71, 72, 73, -1, 75, 76, 77, 78, -1, - -1, 81, -1, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, -1, 95, 96, 97, 98, 99, - 100, -1, 102, 103, 104, 105, -1, -1, -1, 109, - -1, -1, -1, 113, 114, 115, 116, 117, 118, 119, - 120, 121, -1, 123, -1, 125, 126, 127, 128, 129, - 130, 131, -1, 133, 134, 135, 136, -1, -1, 139, - 140, 141, 142, 143, -1, 145, 146, 147, 148, -1, - 150, 151, 152, 153, 154, -1, 156, 157, 158, 159, - -1, 161, 162, 163, 164, -1, -1, 167, -1, 169, - 170, 171, 172, 173, -1, 175, -1, 177, 178, 179, - -1, 181, 182, 183, 184, 185, -1, 187, -1, -1, - -1, 191, 192, -1, 194, 195, 196, 197, 198, 199, - 200, 201, 202, 203, -1, 205, 206, 207, 208, 209, - 210, 211, 212, -1, 214, 215, -1, 217, 218, 219, - 220, 221, 222, -1, 224, -1, 226, 227, 228, 229, - 230, 231, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 242, 243, 244, 245, 246, 247, 248, -1, - -1, 251, -1, 253, 254, 255, -1, 257, 258, 259, - -1, -1, 262, 263, 264, 265, 266, 267, 268, 269, - 270, 271, -1, 273, 274, 275, 276, 277, 278, 279, - 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, - 290, 291, -1, -1, 294, -1, 296, 297, 298, 299, - -1, -1, 302, 303, 304, 305, 306, 307, -1, 309, - 310, 311, -1, -1, 314, 315, 316, -1, -1, 319, - 320, -1, 322, 323, 324, -1, 326, 327, 328, 329, - 330, 331, 332, 333, 334, 335, 336, 337, -1, 339, - 340, 341, -1, 343, -1, 345, 346, 347, -1, 349, - 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, - 360, 361, 362, 363, -1, 365, 366, 367, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, -1, 379, - 380, 381, 382, 383, 384, 385, 386, -1, 388, 389, - 390, 391, 392, 393, 394, 395, 396, 397, -1, 399, - 400, 401, 402, 403, -1, 405, 406, 407, 408, 409, - 410, 411, 412, 413, 414, -1, 416, 417, 418, 419, - 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, - 430, -1, 432, -1, 434, 435, -1, -1, 438, 439, - 440, 441, 442, 443, 444, 445, -1, 447, 448, 449, - -1, -1, 452, 453, -1, 455, -1, -1, 458, 459, - 460, 461, 462, 463, 464, 465, 466, -1, -1, 469, - 470, 471, 472, 473, -1, -1, 476, 477, 478, 479, - 480, -1, 482, -1, 484, 485, 486, 487, 488, 489, - 490, -1, -1, 493, -1, -1, 496, 497, 498, 499, - 500, 501, 3, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 513, 514, 515, -1, -1, -1, -1, - -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, - -1, 32, 33, 34, -1, -1, -1, -1, -1, -1, - -1, 42, 43, 44, -1, 46, 47, 48, 49, 50, - 51, 52, 53, -1, 55, 56, 57, 58, -1, 60, - 61, 62, 63, 64, 65, 66, -1, -1, 69, 70, - 71, 72, 73, -1, 75, 76, 77, 78, -1, -1, - 81, -1, 83, 84, 85, 86, 87, 88, 89, 90, - 91, 92, 93, -1, 95, 96, 97, 98, 99, 100, - -1, 102, 103, 104, 105, -1, -1, -1, 109, -1, - -1, -1, 113, 114, 115, 116, 117, 118, 119, 120, - 121, -1, 123, -1, 125, 126, 127, 128, 129, 130, - 131, -1, 133, 134, 135, 136, -1, -1, 139, 140, - 141, 142, 143, -1, 145, 146, 147, 148, -1, 150, - 151, 152, 153, 154, -1, 156, 157, 158, 159, -1, - 161, 162, 163, 164, -1, -1, 167, -1, 169, 170, - 171, 172, 173, -1, 175, -1, 177, 178, 179, -1, - 181, 182, 183, 184, 185, -1, 187, -1, -1, -1, - 191, 192, -1, 194, 195, 196, 197, 198, 199, 200, - 201, 202, 203, -1, 205, 206, 207, 208, 209, 210, - 211, 212, -1, 214, 215, -1, 217, 218, 219, 220, - 221, 222, -1, 224, -1, 226, 227, 228, 229, 230, - 231, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 242, 243, 244, 245, 246, 247, 248, -1, -1, - 251, -1, 253, 254, 255, -1, 257, 258, 259, -1, - -1, 262, 263, 264, 265, 266, 267, 268, 269, 270, - 271, -1, 273, 274, 275, 276, 277, 278, 279, 280, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, -1, -1, 294, -1, 296, 297, 298, 299, -1, - -1, 302, 303, 304, 305, 306, 307, -1, 309, 310, - 311, -1, -1, 314, 315, 316, -1, -1, 319, 320, - -1, 322, 323, 324, -1, 326, 327, 328, 329, 330, - 331, 332, 333, 334, 335, 336, 337, -1, 339, 340, - 341, -1, 343, -1, 345, 346, 347, -1, 349, 350, - 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, - 361, 362, 363, -1, 365, 366, 367, 368, 369, 370, - 371, 372, 373, 374, 375, 376, 377, -1, 379, 380, - 381, 382, 383, 384, 385, 386, -1, 388, 389, 390, - 391, 392, 393, 394, 395, 396, 397, -1, 399, 400, - 401, 402, 403, -1, 405, 406, 407, 408, 409, 410, - 411, 412, 413, 414, -1, 416, 417, 418, 419, 420, - 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, - -1, 432, -1, 434, 435, -1, -1, 438, 439, 440, - 441, 442, 443, 444, 445, -1, 447, 448, 449, -1, - -1, 452, 453, -1, 455, -1, -1, 458, 459, 460, - 461, 462, 463, 464, 465, 466, -1, -1, 469, 470, - 471, 472, 473, -1, -1, 476, 477, 478, 479, 480, - -1, 482, -1, 484, 485, 486, 487, 488, 489, 490, - -1, -1, 493, -1, -1, 496, 497, 498, 499, 500, - 501, 3, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 513, 514, 515, -1, -1, -1, -1, -1, - 22, 23, 24, 25, 26, 27, 28, 29, 30, -1, - 32, 33, 34, -1, -1, -1, -1, -1, -1, -1, - 42, 43, 44, -1, 46, 47, 48, 49, 50, 51, - 52, 53, -1, 55, 56, 57, 58, -1, 60, 61, - 62, 63, 64, 65, 66, -1, -1, 69, 70, 71, - 72, 73, -1, 75, 76, 77, 78, -1, -1, 81, - -1, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, -1, 95, 96, 97, 98, 99, 100, -1, - 102, 103, 104, 105, -1, -1, -1, 109, -1, -1, - -1, 113, 114, 115, 116, 117, 118, 119, 120, 121, - -1, 123, -1, 125, 126, 127, 128, 129, 130, 131, - -1, 133, 134, 135, 136, -1, -1, 139, 140, 141, - 142, 143, -1, 145, 146, 147, 148, -1, 150, 151, - 152, 153, 154, -1, 156, 157, 158, 159, -1, 161, - 162, 163, 164, -1, -1, 167, -1, 169, 170, 171, - 172, 173, -1, 175, -1, 177, 178, 179, -1, 181, - 182, 183, 184, 185, -1, 187, -1, -1, -1, 191, - 192, -1, 194, 195, 196, 197, 198, 199, 200, 201, - 202, 203, -1, 205, 206, 207, 208, 209, 210, 211, - 212, -1, 214, 215, -1, 217, 218, 219, 220, 221, - 222, -1, 224, -1, 226, 227, 228, 229, 230, 231, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 242, 243, 244, 245, 246, 247, 248, -1, -1, 251, - -1, 253, 254, 255, -1, 257, 258, 259, -1, -1, - 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - -1, 273, 274, 275, 276, 277, 278, 279, 280, 281, - 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, - -1, -1, 294, -1, 296, 297, 298, 299, -1, -1, - 302, 303, 304, 305, 306, 307, -1, 309, 310, 311, - -1, -1, 314, 315, 316, -1, -1, 319, 320, -1, - 322, 323, 324, -1, 326, 327, 328, 329, 330, 331, - 332, 333, 334, 335, 336, 337, -1, 339, 340, 341, - -1, 343, -1, 345, 346, 347, -1, 349, 350, 351, - 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, - 362, 363, -1, 365, 366, 367, 368, 369, 370, 371, - 372, 373, 374, 375, 376, 377, -1, 379, 380, 381, - 382, 383, 384, 385, 386, -1, 388, 389, 390, 391, - 392, 393, 394, 395, 396, 397, -1, 399, 400, 401, - 402, 403, -1, 405, 406, -1, 408, 409, 410, 411, - 412, 413, 414, -1, 416, 417, 418, 419, 420, 421, - 422, 423, 424, 425, 426, 427, 428, 429, 430, -1, - 432, -1, 434, 435, -1, -1, 438, 439, 440, 441, - 442, 443, 444, 445, -1, 447, 448, 449, -1, -1, - 452, 453, -1, 455, -1, -1, 458, 459, 460, 461, - 462, 463, 464, 465, 466, -1, -1, 469, 470, 471, - 472, 473, -1, -1, 476, 477, 478, 479, 480, -1, - 482, -1, 484, 485, 486, 487, 488, 489, 490, -1, - -1, 493, -1, -1, 496, 497, 498, 499, 500, 501, - 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 513, 514, 515, -1, -1, -1, -1, -1, 22, - 23, 24, 25, 26, 27, 28, 29, 30, -1, 32, - 33, 34, -1, -1, -1, -1, -1, -1, -1, 42, - 43, 44, -1, 46, 47, 48, 49, 50, 51, 52, - 53, -1, -1, 56, -1, -1, -1, 60, 61, 62, - 63, 64, 65, 66, -1, -1, 69, 70, -1, -1, - 73, -1, 75, 76, 77, 78, -1, -1, 81, -1, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - 93, -1, 95, 96, 97, 98, 99, 100, -1, 102, - 103, 104, 105, -1, -1, -1, 109, -1, -1, -1, - 113, 114, 115, 116, 117, 118, -1, -1, 121, -1, - 123, -1, 125, 126, 127, 128, 129, 130, 131, -1, - 133, 134, 135, 136, -1, -1, 139, 140, 141, 142, - 143, -1, 145, 146, 147, 148, -1, 150, 151, 152, - 153, 154, -1, 156, 157, 158, 159, -1, 161, 162, - 163, 164, -1, -1, 167, -1, 169, 170, 171, -1, - 173, -1, 175, -1, 177, 178, 179, -1, 181, 182, - 183, 184, 185, -1, 187, -1, -1, -1, 191, 192, - -1, 194, 195, 196, 197, 198, 199, 200, 201, 202, - 203, -1, 205, 206, 207, 208, 209, 210, 211, 212, - -1, 214, 215, -1, 217, 218, 219, 220, -1, -1, - -1, -1, -1, 226, 227, 228, 229, 230, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 242, - 243, 244, 245, 246, 247, 248, -1, -1, 251, -1, - 253, 254, 255, -1, 257, 258, 259, -1, -1, 262, - 263, 264, 265, 266, 267, 268, 269, 270, 271, -1, - 273, 274, 275, 276, 277, 278, 279, 280, -1, 282, - -1, 284, 285, 286, 287, 288, 289, 290, 291, -1, - -1, 294, -1, 296, 297, 298, 299, -1, -1, 302, - -1, 304, 305, 306, 307, -1, 309, 310, 311, -1, - -1, 314, 315, 316, -1, -1, 319, 320, -1, 322, - 323, 324, -1, 326, 327, 328, 329, 330, 331, 332, - 333, 334, 335, 336, 337, -1, 339, 340, 341, -1, - 343, -1, 345, 346, 347, -1, 349, 350, 351, 352, - 353, 354, 355, 356, 357, 358, 359, -1, 361, 362, - 363, -1, 365, 366, 367, 368, 369, 370, 371, 372, - 373, 374, 375, 376, 377, -1, 379, 380, 381, 382, - 383, 384, 385, 386, -1, 388, 389, 390, 391, 392, - 393, 394, 395, 396, 397, -1, 399, 400, 401, 402, - 403, -1, 405, 406, -1, 408, 409, 410, 411, 412, - -1, 414, -1, 416, 417, 418, 419, 420, 421, 422, - 423, 424, 425, 426, 427, 428, 429, 430, -1, 432, - -1, 434, 435, -1, -1, 438, 439, 440, 441, 442, - 443, 444, 445, -1, 447, -1, -1, -1, -1, 452, - 453, -1, 455, -1, -1, 458, 459, 460, 461, 462, - 463, 464, 465, 466, -1, -1, 469, 470, 471, 472, - 473, -1, -1, 476, 477, 478, 479, 480, -1, -1, - -1, 484, 485, 486, 487, 488, 489, 490, -1, -1, - 493, -1, -1, 496, 497, 498, 499, 500, 501, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 513, 514, 515 + 498, 499, 500, 501, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 513, 514, 515 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing @@ -31219,15 +31165,15 @@ static const yytype_uint16 yystos[] = 398, 405, 409, 420, 437, 458, 470, 476, 481, 495, 519, 521, 522, 523, 524, 525, 538, 545, 546, 547, 548, 553, 554, 560, 561, 563, 564, 565, 566, 568, - 571, 583, 588, 589, 592, 593, 594, 614, 617, 618, - 633, 688, 691, 692, 695, 698, 699, 700, 708, 715, - 717, 718, 721, 724, 725, 729, 738, 742, 743, 744, - 747, 749, 750, 751, 752, 760, 762, 782, 786, 788, - 789, 799, 801, 807, 808, 811, 812, 813, 814, 815, - 824, 826, 828, 831, 835, 836, 846, 847, 852, 857, - 868, 900, 903, 904, 905, 910, 913, 915, 917, 919, - 920, 924, 925, 928, 930, 931, 935, 936, 937, 940, - 941, 942, 943, 944, 951, 953, 954, 955, 956, 962, + 571, 584, 589, 590, 593, 594, 595, 615, 618, 619, + 634, 689, 692, 693, 696, 699, 700, 701, 709, 716, + 718, 719, 722, 725, 726, 730, 739, 743, 744, 745, + 748, 750, 751, 752, 753, 761, 763, 783, 787, 789, + 790, 800, 802, 808, 809, 812, 813, 814, 815, 816, + 825, 827, 829, 832, 836, 837, 847, 848, 853, 858, + 869, 901, 904, 905, 906, 911, 914, 916, 918, 920, + 921, 925, 926, 929, 931, 932, 936, 937, 938, 941, + 942, 943, 944, 945, 952, 953, 954, 955, 956, 962, 964, 965, 971, 972, 973, 976, 977, 978, 979, 981, 982, 984, 985, 987, 988, 990, 1002, 1004, 1007, 1009, 1010, 1023, 1025, 1030, 1035, 1045, 1049, 1050, 1051, 1052, @@ -31235,7 +31181,7 @@ static const yytype_uint16 yystos[] = 116, 122, 140, 154, 163, 176, 182, 189, 209, 247, 269, 314, 341, 351, 352, 355, 382, 385, 389, 392, 399, 402, 422, 430, 435, 437, 440, 445, 455, 460, - 474, 487, 714, 957, 3, 22, 23, 24, 25, 26, + 474, 487, 715, 957, 3, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 61, 62, 63, 64, 65, 66, @@ -31279,347 +31225,347 @@ static const yytype_uint16 yystos[] = 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 1164, 1256, 1268, 1269, 1273, 1274, 1275, 3, 31, 1046, 1253, 1268, 1273, 485, 538, 995, 312, 347, 957, - 56, 538, 625, 25, 43, 68, 81, 116, 122, 140, + 56, 538, 626, 25, 43, 68, 81, 116, 122, 140, 154, 163, 176, 185, 189, 259, 314, 317, 341, 355, 382, 392, 402, 422, 430, 440, 442, 444, 445, 460, - 468, 471, 474, 634, 697, 804, 858, 869, 31, 346, - 1253, 1046, 31, 340, 400, 442, 444, 6, 246, 911, - 912, 1259, 25, 30, 68, 81, 98, 116, 140, 154, + 468, 471, 474, 635, 698, 805, 859, 870, 31, 346, + 1253, 1046, 31, 340, 400, 442, 444, 6, 246, 912, + 913, 1259, 25, 30, 68, 81, 98, 116, 140, 154, 163, 176, 182, 189, 209, 269, 314, 327, 341, 352, 355, 382, 385, 389, 392, 399, 402, 422, 430, 437, - 440, 445, 453, 455, 460, 474, 487, 714, 816, 818, - 819, 957, 1253, 101, 485, 538, 692, 695, 698, 990, + 440, 445, 453, 455, 460, 474, 487, 715, 817, 819, + 820, 957, 1253, 101, 485, 538, 693, 696, 699, 990, 1003, 1007, 1010, 1023, 1030, 1035, 1045, 1049, 11, 24, 31, 51, 171, 178, 180, 204, 248, 286, 349, 368, - 529, 530, 832, 833, 1046, 1258, 1260, 31, 33, 101, - 364, 398, 837, 838, 839, 1268, 176, 1268, 1255, 1259, - 437, 1063, 832, 1268, 452, 1253, 327, 269, 538, 923, - 390, 1268, 31, 403, 448, 452, 575, 584, 585, 1268, - 186, 837, 838, 1268, 347, 957, 1268, 245, 31, 137, - 1065, 1066, 69, 95, 259, 280, 382, 392, 403, 448, - 452, 501, 572, 573, 574, 575, 31, 403, 448, 452, - 575, 452, 313, 1108, 1109, 1251, 1268, 1063, 531, 1268, - 181, 538, 996, 538, 362, 1055, 1056, 1253, 1055, 3, - 55, 57, 58, 71, 72, 119, 120, 141, 172, 221, - 222, 224, 231, 281, 283, 303, 360, 407, 413, 448, - 449, 482, 1137, 1139, 1141, 1143, 1145, 1147, 1148, 1149, - 1151, 1152, 1153, 1155, 1156, 1160, 1269, 1273, 1065, 1066, - 1067, 1264, 12, 1265, 1266, 1268, 1265, 1265, 1050, 1051, - 1054, 0, 541, 538, 995, 155, 223, 318, 467, 1068, - 1069, 1050, 1052, 1053, 127, 219, 271, 473, 542, 37, - 961, 885, 1256, 821, 1268, 821, 1253, 350, 821, 455, - 1253, 115, 437, 873, 1256, 1268, 1275, 3, 108, 112, - 404, 1261, 1262, 1270, 1273, 1274, 1275, 31, 198, 1251, - 304, 487, 10, 17, 18, 19, 76, 167, 526, 527, - 528, 529, 530, 531, 532, 533, 534, 907, 909, 1195, - 1196, 1268, 198, 1253, 873, 1253, 31, 1261, 1262, 873, - 1253, 1253, 198, 1251, 1253, 198, 821, 1253, 374, 405, - 31, 198, 1108, 1253, 395, 1253, 821, 31, 266, 1261, - 1262, 198, 1251, 246, 124, 229, 295, 359, 958, 959, - 960, 538, 536, 540, 1220, 1222, 516, 989, 990, 991, - 992, 1270, 1251, 1253, 1268, 30, 68, 82, 94, 116, - 140, 182, 209, 247, 314, 352, 382, 385, 430, 440, - 453, 460, 816, 817, 818, 819, 1259, 961, 1006, 1010, - 1023, 1030, 1035, 1049, 1251, 273, 821, 538, 198, 821, - 1253, 821, 455, 198, 1253, 115, 437, 442, 444, 1261, - 1262, 442, 444, 76, 167, 907, 372, 1253, 1253, 1261, - 198, 549, 1268, 198, 1253, 198, 550, 821, 1253, 1253, - 395, 821, 266, 1261, 362, 399, 437, 487, 269, 98, - 209, 30, 94, 182, 352, 389, 453, 455, 459, 709, - 31, 1253, 1047, 582, 1259, 1270, 912, 273, 198, 885, - 886, 198, 916, 198, 1253, 198, 823, 1137, 455, 115, - 437, 198, 872, 873, 198, 1262, 1263, 89, 487, 76, - 167, 198, 908, 909, 61, 198, 872, 198, 1263, 198, - 872, 198, 1253, 198, 1253, 395, 916, 198, 823, 198, - 266, 1263, 246, 198, 820, 821, 198, 1252, 1253, 198, - 1253, 961, 538, 1008, 634, 1003, 481, 989, 995, 1260, - 833, 834, 31, 834, 1260, 834, 31, 834, 1260, 834, - 834, 834, 1260, 1258, 1258, 1046, 834, 350, 538, 435, - 538, 663, 663, 663, 312, 450, 542, 663, 392, 1108, - 1110, 542, 952, 1259, 538, 1005, 61, 487, 989, 116, - 209, 392, 435, 437, 921, 922, 1268, 50, 515, 229, - 540, 315, 312, 180, 315, 1259, 450, 961, 174, 829, - 312, 5, 8, 9, 10, 12, 39, 55, 57, 58, - 67, 68, 71, 72, 79, 81, 106, 107, 108, 109, - 110, 111, 112, 119, 120, 122, 160, 165, 166, 172, - 188, 190, 221, 222, 224, 231, 232, 233, 234, 235, - 236, 237, 238, 239, 241, 252, 260, 261, 272, 281, - 283, 293, 295, 300, 301, 303, 314, 325, 342, 360, - 387, 404, 413, 431, 436, 448, 449, 454, 456, 457, - 468, 474, 482, 503, 504, 505, 506, 508, 509, 510, - 511, 517, 529, 530, 531, 538, 1050, 1140, 1143, 1146, - 1147, 1148, 1150, 1151, 1152, 1155, 1156, 1160, 1161, 1163, - 1164, 1165, 1167, 1191, 1192, 1193, 1197, 1214, 1219, 1245, - 1248, 1249, 1256, 1257, 1258, 1259, 1268, 1247, 1248, 1259, - 31, 590, 1250, 1251, 403, 572, 122, 581, 1259, 12, - 582, 12, 1259, 50, 73, 572, 515, 414, 959, 315, - 180, 450, 528, 50, 515, 229, 960, 538, 1251, 531, - 1222, 1110, 989, 179, 997, 1161, 1200, 1055, 542, 538, - 998, 484, 1154, 1154, 1154, 538, 1142, 1142, 344, 538, - 1144, 71, 72, 1154, 1142, 1139, 519, 520, 538, 1157, - 538, 1157, 39, 1138, 538, 117, 196, 274, 277, 396, - 513, 538, 1158, 1159, 540, 822, 1142, 1247, 1223, 539, - 539, 547, 989, 999, 1000, 1001, 1108, 31, 137, 1064, - 1064, 61, 1064, 168, 174, 256, 308, 1072, 1074, 1075, - 1090, 1092, 1093, 1094, 1068, 1069, 180, 225, 225, 1108, - 1111, 538, 70, 291, 328, 370, 405, 538, 883, 328, - 366, 370, 405, 822, 328, 370, 405, 3, 93, 147, - 262, 328, 366, 370, 405, 440, 443, 495, 583, 586, - 966, 967, 968, 969, 853, 27, 142, 328, 370, 405, - 478, 599, 1253, 27, 142, 405, 473, 567, 499, 198, - 1108, 64, 100, 164, 201, 251, 291, 295, 328, 329, - 370, 379, 388, 397, 405, 418, 427, 432, 490, 583, - 587, 889, 901, 929, 538, 870, 1222, 370, 567, 204, - 160, 27, 33, 48, 78, 135, 142, 146, 175, 211, - 291, 295, 306, 316, 328, 370, 373, 374, 405, 478, - 595, 597, 598, 732, 929, 5, 529, 530, 706, 1260, - 31, 198, 1251, 821, 821, 538, 906, 328, 405, 540, - 160, 312, 328, 370, 405, 901, 929, 27, 142, 328, - 370, 405, 204, 562, 370, 495, 519, 555, 562, 328, - 370, 405, 901, 929, 312, 328, 370, 160, 40, 62, - 114, 207, 265, 270, 275, 291, 327, 370, 375, 399, - 405, 420, 471, 595, 703, 704, 328, 370, 486, 732, - 740, 160, 328, 370, 405, 27, 93, 135, 142, 146, - 328, 366, 370, 405, 412, 585, 573, 575, 204, 160, - 48, 133, 291, 370, 405, 595, 596, 328, 370, 374, - 405, 91, 134, 331, 443, 312, 27, 33, 142, 328, - 370, 405, 615, 616, 562, 174, 370, 555, 562, 160, - 370, 405, 595, 1253, 254, 124, 313, 500, 542, 958, - 31, 137, 483, 531, 539, 878, 1161, 1201, 1202, 1269, - 1161, 1221, 3, 31, 35, 36, 37, 38, 39, 40, - 41, 45, 59, 67, 68, 74, 80, 82, 94, 101, - 106, 107, 108, 110, 111, 112, 122, 124, 132, 137, - 138, 144, 149, 155, 166, 168, 174, 176, 180, 186, - 189, 193, 204, 213, 223, 225, 249, 250, 256, 260, - 261, 295, 300, 308, 312, 313, 317, 318, 338, 348, - 364, 378, 398, 404, 415, 433, 436, 437, 446, 450, - 451, 457, 467, 468, 474, 475, 483, 491, 492, 494, - 495, 531, 1254, 1271, 1273, 1274, 1275, 1276, 1220, 539, - 542, 166, 312, 457, 579, 582, 706, 993, 475, 986, - 312, 885, 538, 821, 1253, 1137, 873, 304, 76, 167, - 909, 873, 873, 174, 1137, 821, 1253, 1253, 539, 663, - 1253, 74, 1137, 295, 180, 538, 790, 555, 40, 980, - 1253, 295, 555, 499, 198, 1251, 555, 821, 821, 790, - 471, 634, 312, 174, 495, 897, 555, 295, 50, 569, - 295, 460, 739, 295, 998, 93, 328, 716, 91, 134, - 331, 443, 40, 790, 174, 198, 555, 487, 198, 1251, - 198, 693, 1251, 1251, 487, 821, 89, 551, 1256, 455, - 1256, 1256, 1253, 174, 1253, 714, 42, 56, 113, 218, - 291, 394, 160, 65, 376, 542, 552, 160, 538, 160, - 555, 160, 542, 552, 499, 160, 542, 552, 160, 542, - 198, 820, 198, 821, 198, 821, 160, 542, 552, 1263, - 160, 552, 160, 160, 552, 160, 552, 160, 91, 134, - 331, 443, 174, 160, 552, 160, 174, 198, 160, 542, - 552, 160, 542, 552, 160, 312, 1200, 437, 539, 1003, - 834, 1046, 834, 1046, 834, 1046, 834, 1046, 834, 1046, - 1046, 1046, 834, 1046, 538, 664, 667, 1268, 664, 31, - 116, 140, 176, 182, 246, 247, 330, 352, 385, 392, - 399, 437, 440, 460, 842, 1250, 1263, 839, 1253, 204, - 542, 1026, 1259, 1137, 1204, 40, 1263, 551, 539, 551, - 551, 551, 254, 1268, 174, 842, 1263, 174, 390, 1268, - 582, 312, 538, 1223, 536, 1050, 1205, 1161, 1218, 538, - 538, 174, 538, 538, 1050, 538, 538, 538, 538, 538, + 529, 530, 833, 834, 1046, 1258, 1260, 31, 33, 101, + 364, 398, 838, 839, 840, 1268, 176, 1268, 1255, 1259, + 437, 1063, 833, 1268, 452, 1253, 327, 269, 538, 924, + 390, 1268, 31, 403, 448, 452, 575, 576, 585, 586, + 1268, 186, 838, 839, 1268, 347, 957, 1268, 245, 31, + 137, 1065, 1066, 69, 95, 259, 280, 382, 392, 403, + 448, 452, 501, 572, 573, 574, 575, 31, 403, 448, + 452, 575, 452, 313, 1108, 1109, 1251, 1268, 1063, 531, + 1268, 181, 538, 996, 538, 362, 1055, 1056, 1253, 1055, + 3, 55, 57, 58, 71, 72, 119, 120, 141, 172, + 221, 222, 224, 231, 281, 283, 303, 360, 407, 413, + 448, 449, 482, 1137, 1139, 1141, 1143, 1145, 1147, 1148, + 1149, 1151, 1152, 1153, 1155, 1156, 1160, 1269, 1273, 1065, + 1066, 1067, 1264, 12, 1265, 1266, 1268, 1265, 1265, 1050, + 1051, 1054, 0, 541, 538, 995, 155, 223, 318, 467, + 1068, 1069, 1050, 1052, 1053, 127, 219, 271, 473, 542, + 37, 961, 886, 1256, 822, 1268, 822, 1253, 350, 822, + 455, 1253, 115, 437, 874, 1256, 1268, 1275, 3, 108, + 112, 404, 1261, 1262, 1270, 1273, 1274, 1275, 31, 198, + 1251, 304, 487, 10, 17, 18, 19, 76, 167, 526, + 527, 528, 529, 530, 531, 532, 533, 534, 908, 910, + 1195, 1196, 1268, 198, 1253, 874, 1253, 31, 1261, 1262, + 874, 1253, 1253, 198, 1251, 1253, 198, 822, 1253, 374, + 405, 31, 198, 1108, 1253, 395, 1253, 822, 31, 266, + 1261, 1262, 198, 1251, 246, 124, 229, 295, 359, 958, + 959, 960, 538, 536, 540, 1220, 1222, 516, 989, 990, + 991, 992, 1270, 1251, 1253, 1268, 30, 68, 82, 94, + 116, 140, 182, 209, 247, 314, 352, 382, 385, 430, + 440, 453, 460, 817, 818, 819, 820, 1259, 961, 1006, + 1010, 1023, 1030, 1035, 1049, 1251, 273, 822, 538, 198, + 822, 1253, 822, 455, 198, 1253, 115, 437, 442, 444, + 1261, 1262, 442, 444, 76, 167, 908, 372, 1253, 1253, + 1261, 198, 549, 1268, 198, 1253, 198, 550, 822, 1253, + 1253, 395, 822, 266, 1261, 362, 399, 437, 487, 269, + 98, 209, 30, 94, 182, 352, 389, 453, 455, 459, + 710, 31, 1253, 1047, 1259, 1270, 913, 273, 198, 886, + 887, 198, 917, 198, 1253, 198, 824, 1137, 455, 115, + 437, 198, 873, 874, 198, 1262, 1263, 89, 487, 76, + 167, 198, 909, 910, 61, 198, 873, 198, 1263, 198, + 873, 198, 1253, 198, 1253, 395, 917, 198, 824, 198, + 266, 1263, 246, 198, 821, 822, 198, 1252, 1253, 198, + 1253, 961, 538, 1008, 635, 1003, 481, 989, 995, 1260, + 834, 835, 31, 835, 1260, 835, 31, 835, 1260, 835, + 835, 835, 1260, 1258, 1258, 1046, 835, 350, 538, 435, + 538, 664, 664, 664, 312, 450, 542, 664, 392, 1108, + 1110, 542, 1259, 538, 1005, 61, 487, 989, 116, 209, + 392, 435, 437, 922, 923, 1268, 50, 515, 229, 540, + 315, 312, 180, 315, 1259, 450, 961, 174, 830, 312, + 5, 8, 9, 10, 12, 39, 55, 57, 58, 67, + 68, 71, 72, 79, 81, 106, 107, 108, 109, 110, + 111, 112, 119, 120, 122, 160, 165, 166, 172, 188, + 190, 221, 222, 224, 231, 232, 233, 234, 235, 236, + 237, 238, 239, 241, 252, 260, 261, 272, 281, 283, + 293, 295, 300, 301, 303, 314, 325, 342, 360, 387, + 404, 413, 431, 436, 448, 449, 454, 456, 457, 468, + 474, 482, 503, 504, 505, 506, 508, 509, 510, 511, + 517, 529, 530, 531, 538, 1050, 1140, 1143, 1146, 1147, + 1148, 1150, 1151, 1152, 1155, 1156, 1160, 1161, 1163, 1164, + 1165, 1167, 1191, 1192, 1193, 1197, 1214, 1219, 1245, 1248, + 1249, 1256, 1257, 1258, 1259, 1268, 1247, 1248, 1259, 31, + 591, 1250, 1251, 403, 572, 122, 582, 1259, 12, 583, + 1259, 1270, 12, 1259, 50, 73, 572, 515, 414, 959, + 315, 180, 450, 528, 50, 515, 229, 960, 538, 1251, + 531, 1222, 1110, 989, 179, 997, 1161, 1200, 1055, 542, + 538, 998, 484, 1154, 1154, 1154, 538, 1142, 1142, 344, + 538, 1144, 71, 72, 1154, 1142, 1139, 519, 520, 538, + 1157, 538, 1157, 39, 1138, 538, 117, 196, 274, 277, + 396, 513, 538, 1158, 1159, 540, 823, 1142, 1247, 1223, + 539, 539, 547, 989, 999, 1000, 1001, 1108, 31, 137, + 1064, 1064, 61, 1064, 168, 174, 256, 308, 1072, 1074, + 1075, 1090, 1092, 1093, 1094, 1068, 1069, 180, 225, 225, + 1108, 1111, 538, 70, 291, 328, 370, 405, 538, 884, + 328, 366, 370, 405, 823, 328, 370, 405, 3, 93, + 147, 262, 328, 366, 370, 405, 440, 443, 495, 584, + 587, 966, 967, 968, 969, 854, 27, 142, 328, 370, + 405, 478, 600, 1253, 27, 142, 405, 473, 567, 499, + 198, 1108, 64, 100, 164, 201, 251, 291, 295, 328, + 329, 370, 379, 388, 397, 405, 418, 427, 432, 490, + 584, 588, 890, 902, 930, 538, 871, 1222, 370, 567, + 204, 160, 27, 33, 48, 78, 135, 142, 146, 175, + 211, 291, 295, 306, 316, 328, 370, 373, 374, 405, + 478, 596, 598, 599, 733, 930, 5, 529, 530, 707, + 1260, 31, 198, 1251, 822, 822, 538, 907, 328, 405, + 540, 160, 312, 328, 370, 405, 902, 930, 27, 142, + 328, 370, 405, 204, 562, 370, 495, 519, 555, 562, + 328, 370, 405, 902, 930, 312, 328, 370, 160, 40, + 62, 114, 207, 265, 270, 275, 291, 327, 370, 375, + 399, 405, 420, 471, 596, 704, 705, 328, 370, 486, + 733, 741, 160, 328, 370, 405, 27, 93, 135, 142, + 146, 328, 366, 370, 405, 412, 586, 573, 575, 204, + 160, 48, 133, 291, 370, 405, 596, 597, 328, 370, + 374, 405, 91, 134, 331, 443, 312, 27, 33, 142, + 328, 370, 405, 616, 617, 562, 174, 370, 555, 562, + 160, 370, 405, 596, 1253, 254, 124, 313, 500, 542, + 958, 31, 137, 483, 531, 539, 879, 1161, 1201, 1202, + 1269, 1161, 1221, 3, 31, 35, 36, 37, 38, 39, + 40, 41, 45, 59, 67, 68, 74, 80, 82, 94, + 101, 106, 107, 108, 110, 111, 112, 122, 124, 132, + 137, 138, 144, 149, 155, 166, 168, 174, 176, 180, + 186, 189, 193, 204, 213, 223, 225, 249, 250, 256, + 260, 261, 295, 300, 308, 312, 313, 317, 318, 338, + 348, 364, 378, 398, 404, 415, 433, 436, 437, 446, + 450, 451, 457, 467, 468, 474, 475, 483, 491, 492, + 494, 495, 531, 1254, 1271, 1273, 1274, 1275, 1276, 1220, + 539, 542, 166, 312, 457, 580, 583, 707, 993, 475, + 986, 312, 886, 538, 822, 1253, 1137, 874, 304, 76, + 167, 910, 874, 874, 174, 1137, 822, 1253, 1253, 539, + 664, 1253, 74, 1137, 295, 180, 538, 791, 555, 40, + 980, 1253, 295, 555, 499, 198, 1251, 555, 822, 822, + 791, 471, 635, 312, 174, 495, 898, 555, 295, 50, + 569, 295, 460, 740, 295, 998, 93, 328, 717, 91, + 134, 331, 443, 40, 791, 174, 198, 555, 487, 198, + 1251, 198, 694, 1251, 1251, 487, 822, 89, 551, 1256, + 455, 1256, 1256, 1253, 174, 1253, 715, 42, 56, 113, + 218, 291, 394, 160, 65, 376, 542, 552, 160, 538, + 160, 555, 160, 542, 552, 499, 160, 542, 552, 160, + 542, 198, 821, 198, 822, 198, 822, 160, 542, 552, + 1263, 160, 552, 160, 160, 552, 160, 552, 160, 91, + 134, 331, 443, 174, 160, 552, 160, 174, 198, 160, + 542, 552, 160, 542, 552, 160, 312, 1200, 437, 539, + 1003, 835, 1046, 835, 1046, 835, 1046, 835, 1046, 835, + 1046, 1046, 1046, 835, 1046, 538, 665, 668, 1268, 665, + 31, 116, 140, 176, 182, 246, 247, 330, 352, 385, + 392, 399, 437, 440, 460, 843, 1250, 1263, 840, 1253, + 204, 542, 1026, 1259, 1137, 1204, 40, 1263, 551, 539, + 551, 551, 551, 254, 1268, 174, 843, 1263, 174, 390, + 1268, 583, 312, 538, 1223, 536, 1050, 1205, 1161, 1218, + 538, 538, 174, 538, 538, 1050, 538, 538, 538, 538, 538, 538, 538, 538, 538, 538, 538, 538, 538, 538, - 538, 538, 538, 1161, 538, 538, 538, 538, 538, 538, - 538, 538, 302, 650, 538, 538, 538, 538, 538, 538, - 538, 538, 1161, 1161, 1161, 1050, 1161, 1200, 1222, 12, - 1259, 12, 538, 1259, 3, 10, 13, 17, 18, 19, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, - 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, - 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, - 63, 64, 65, 66, 67, 68, 69, 70, 73, 74, - 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, - 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, - 116, 118, 119, 120, 121, 122, 123, 124, 125, 126, - 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, - 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, - 147, 148, 149, 150, 151, 152, 153, 154, 156, 157, - 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, - 170, 171, 172, 173, 175, 176, 177, 178, 179, 181, - 182, 183, 184, 185, 187, 188, 190, 191, 192, 194, - 195, 197, 198, 199, 200, 201, 202, 203, 204, 205, - 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 224, 226, 227, - 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, - 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, - 248, 249, 250, 251, 252, 253, 254, 255, 257, 258, - 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, - 269, 270, 271, 272, 273, 275, 276, 278, 279, 280, - 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, - 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, - 301, 302, 303, 304, 305, 306, 307, 309, 310, 311, - 313, 314, 315, 316, 317, 319, 320, 321, 322, 325, - 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, - 336, 337, 338, 339, 340, 341, 342, 343, 345, 346, - 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, - 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, - 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, - 377, 379, 380, 381, 382, 383, 384, 385, 386, 387, - 388, 389, 390, 391, 392, 393, 394, 395, 397, 398, - 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, - 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, - 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, - 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, - 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, - 449, 451, 452, 453, 454, 455, 456, 457, 458, 459, - 460, 461, 462, 463, 464, 465, 466, 468, 469, 470, - 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, - 481, 482, 483, 485, 486, 487, 488, 489, 490, 491, - 493, 498, 499, 500, 501, 502, 503, 504, 505, 506, - 507, 508, 509, 510, 511, 512, 514, 515, 517, 526, - 527, 528, 529, 530, 531, 532, 533, 534, 1195, 1197, - 1199, 1272, 1277, 496, 1178, 324, 1161, 169, 1179, 225, - 542, 1061, 12, 538, 1259, 1222, 1061, 125, 200, 591, - 542, 73, 12, 122, 582, 40, 3, 12, 122, 259, - 580, 706, 1156, 1259, 1259, 96, 139, 1173, 105, 12, - 122, 576, 577, 579, 706, 122, 576, 254, 1251, 97, - 375, 825, 539, 995, 37, 47, 54, 80, 199, 204, - 227, 255, 314, 317, 410, 539, 542, 1056, 1252, 40, - 538, 1200, 1258, 1154, 1154, 39, 1138, 448, 448, 1258, - 1258, 536, 536, 1258, 450, 450, 450, 538, 450, 1258, - 1254, 540, 1142, 180, 1097, 15, 528, 1220, 1267, 539, - 542, 998, 1052, 1052, 1070, 1071, 1161, 1052, 171, 286, - 1081, 243, 291, 359, 408, 473, 31, 1076, 1161, 529, - 530, 1077, 1078, 1161, 1163, 1090, 1091, 1075, 1074, 1072, - 1073, 174, 1093, 306, 1095, 1072, 1090, 1111, 1011, 1251, - 1111, 40, 1268, 405, 1200, 70, 450, 450, 392, 204, - 216, 318, 321, 407, 483, 531, 876, 877, 878, 880, - 882, 884, 1137, 1269, 450, 486, 450, 392, 450, 450, - 392, 256, 450, 81, 450, 440, 572, 328, 966, 968, - 528, 970, 174, 186, 204, 380, 854, 855, 74, 94, - 295, 659, 660, 94, 122, 295, 450, 94, 450, 122, - 295, 392, 94, 135, 146, 328, 370, 787, 392, 722, - 30, 68, 140, 182, 314, 352, 385, 453, 460, 816, - 817, 1253, 160, 370, 405, 595, 312, 706, 397, 251, - 450, 1268, 450, 300, 706, 126, 226, 392, 403, 452, - 574, 821, 376, 405, 889, 902, 130, 539, 871, 876, - 450, 474, 440, 1251, 74, 82, 94, 156, 176, 198, - 295, 348, 468, 641, 657, 658, 1268, 82, 94, 926, - 333, 312, 387, 389, 455, 94, 926, 34, 373, 387, - 389, 455, 387, 1251, 175, 211, 306, 821, 538, 450, - 450, 197, 538, 603, 25, 265, 440, 471, 497, 603, - 94, 542, 130, 5, 5, 328, 204, 160, 370, 405, - 595, 929, 475, 475, 292, 1137, 450, 392, 538, 907, - 1253, 1251, 450, 450, 392, 902, 130, 109, 437, 438, - 938, 939, 1109, 1251, 1268, 939, 450, 450, 790, 939, - 116, 405, 586, 450, 557, 586, 450, 450, 392, 902, - 130, 1251, 450, 450, 1251, 1139, 706, 61, 705, 706, - 706, 114, 270, 275, 61, 450, 555, 279, 392, 555, - 291, 704, 450, 450, 300, 1259, 732, 821, 450, 450, - 392, 422, 355, 1259, 355, 450, 355, 450, 355, 790, - 790, 440, 1108, 333, 333, 94, 450, 926, 392, 450, - 450, 603, 603, 821, 821, 821, 821, 1251, 49, 480, - 49, 49, 480, 450, 49, 450, 480, 392, 538, 542, - 586, 474, 748, 1262, 450, 557, 586, 1251, 450, 926, - 392, 328, 370, 359, 371, 401, 578, 958, 1201, 1201, - 1202, 539, 15, 16, 542, 1068, 1069, 537, 543, 1251, - 991, 1253, 1251, 227, 1137, 227, 312, 227, 227, 706, - 821, 821, 227, 227, 227, 1137, 227, 227, 227, 312, - 450, 180, 450, 619, 460, 538, 40, 160, 821, 791, - 792, 1271, 966, 1137, 312, 160, 719, 1253, 295, 333, - 538, 556, 804, 475, 362, 487, 1251, 31, 939, 790, - 556, 160, 1262, 101, 186, 570, 633, 699, 762, 835, - 857, 962, 160, 1259, 740, 741, 160, 312, 1259, 1262, - 262, 821, 821, 821, 821, 151, 358, 538, 748, 295, - 556, 1251, 295, 701, 703, 295, 40, 306, 333, 538, - 663, 663, 198, 696, 1251, 174, 198, 549, 1268, 538, - 794, 883, 1253, 538, 874, 874, 40, 1137, 29, 52, - 220, 763, 246, 495, 497, 1048, 394, 886, 885, 1137, - 1253, 538, 823, 1137, 872, 873, 1263, 1262, 160, 552, - 160, 475, 160, 475, 908, 909, 552, 872, 1263, 872, - 1253, 1253, 1137, 823, 1263, 748, 160, 820, 821, 1252, - 1253, 1253, 821, 539, 198, 1251, 1003, 1046, 1046, 1046, - 1046, 1046, 1046, 664, 539, 542, 539, 183, 353, 386, - 400, 438, 1252, 820, 115, 402, 872, 1252, 304, 840, - 841, 1268, 872, 872, 1252, 1250, 1250, 1252, 820, 450, - 187, 495, 851, 155, 256, 745, 746, 25, 158, 387, - 408, 1027, 1108, 299, 1028, 539, 542, 1006, 450, 1251, - 1253, 1251, 549, 837, 838, 180, 851, 838, 1268, 30, - 82, 140, 182, 247, 352, 385, 460, 816, 817, 1200, - 537, 1200, 1205, 1206, 491, 1215, 1216, 1161, 1200, 538, - 1258, 1258, 3, 12, 117, 196, 274, 277, 396, 513, - 1207, 1208, 1259, 1200, 1200, 1161, 1233, 378, 1050, 1051, - 1233, 1237, 1244, 1233, 1233, 1161, 1163, 1201, 1237, 1240, - 1241, 1161, 1241, 1233, 1161, 1233, 1233, 1200, 1258, 1258, - 539, 1161, 1161, 907, 1161, 1201, 1203, 1210, 387, 529, - 530, 538, 1162, 1163, 1197, 1211, 539, 1200, 1161, 1203, - 1212, 1161, 59, 180, 250, 451, 1161, 1200, 1213, 137, - 295, 1050, 1200, 279, 1163, 1161, 1171, 1172, 1173, 279, - 1161, 1173, 539, 542, 1158, 1258, 1158, 1137, 1161, 1161, - 1161, 1161, 1271, 259, 448, 45, 433, 1224, 821, 1161, - 538, 1050, 137, 139, 166, 231, 287, 288, 289, 290, - 294, 295, 300, 457, 469, 1209, 1238, 1161, 538, 1161, - 450, 54, 199, 204, 255, 410, 1161, 1161, 1161, 1161, - 1161, 1161, 1161, 1161, 1161, 1161, 31, 38, 415, 1194, - 189, 1179, 387, 538, 1191, 538, 323, 1183, 185, 259, - 437, 442, 444, 471, 1062, 1251, 1249, 1097, 1201, 1097, - 1251, 452, 538, 1259, 542, 539, 197, 197, 552, 1001, - 990, 994, 1161, 539, 269, 295, 1057, 1200, 539, 539, - 536, 515, 515, 539, 539, 1258, 537, 1258, 539, 196, - 274, 1159, 274, 1159, 1159, 1258, 277, 539, 1254, 231, - 240, 249, 388, 512, 538, 1050, 1098, 1099, 1100, 1108, - 1114, 1124, 1131, 1164, 1166, 1167, 1245, 1268, 492, 1119, - 1264, 1001, 999, 542, 41, 132, 475, 866, 387, 388, - 529, 530, 1078, 1080, 1163, 408, 243, 313, 542, 5, - 1079, 1258, 1079, 387, 388, 1080, 1250, 299, 412, 1029, - 1091, 1073, 475, 1024, 122, 326, 538, 1012, 1049, 40, - 475, 1268, 538, 1031, 1032, 1033, 1268, 539, 1262, 1253, - 1253, 321, 61, 1269, 539, 878, 880, 877, 880, 1269, - 318, 539, 542, 822, 1262, 1253, 1253, 1262, 1253, 1253, - 1262, 486, 1253, 1253, 122, 579, 706, 382, 474, 837, - 392, 186, 837, 538, 1253, 300, 198, 1253, 300, 1262, - 1253, 1253, 1161, 300, 1253, 1253, 34, 373, 450, 450, - 1253, 450, 723, 885, 538, 1137, 873, 76, 167, 909, - 873, 873, 174, 1137, 821, 1253, 192, 291, 328, 370, - 479, 726, 727, 728, 1108, 450, 926, 392, 300, 126, - 226, 1262, 1253, 312, 1253, 312, 539, 542, 1261, 1263, - 1253, 370, 595, 538, 198, 641, 1253, 475, 859, 243, - 295, 300, 243, 475, 650, 687, 1137, 1253, 1258, 1268, - 1251, 1253, 254, 1253, 31, 474, 1253, 198, 1253, 198, - 1268, 389, 455, 389, 455, 254, 1253, 31, 474, 1253, - 254, 387, 1251, 27, 142, 405, 733, 734, 735, 736, - 1271, 1262, 1253, 122, 181, 296, 475, 602, 605, 606, - 1271, 273, 1253, 78, 309, 1253, 598, 312, 450, 440, - 1251, 450, 926, 392, 130, 1253, 1253, 542, 539, 542, - 1262, 1253, 932, 933, 1271, 312, 370, 450, 756, 1262, - 1253, 1253, 312, 1108, 204, 542, 663, 663, 1222, 1262, - 1253, 1253, 1261, 3, 93, 148, 211, 335, 466, 474, - 477, 558, 1262, 1253, 1253, 312, 370, 1262, 1253, 370, - 405, 595, 703, 706, 821, 1253, 706, 821, 1253, 706, - 1262, 1253, 405, 1262, 1253, 1253, 122, 609, 1260, 1252, - 1252, 1262, 897, 1253, 1252, 1253, 370, 405, 595, 596, - 1251, 1251, 1253, 1253, 1253, 1253, 1262, 1253, 27, 33, - 142, 328, 370, 405, 328, 370, 405, 790, 370, 405, - 370, 405, 370, 929, 1123, 1268, 198, 800, 1268, 198, - 1268, 1259, 1262, 1253, 1253, 1259, 1253, 932, 27, 142, - 616, 402, 1261, 370, 405, 595, 1253, 1253, 1253, 450, - 450, 87, 465, 359, 542, 1068, 1068, 1068, 1161, 1161, - 483, 1202, 539, 1161, 1221, 986, 300, 827, 1259, 40, - 827, 140, 821, 827, 827, 227, 475, 475, 827, 827, - 827, 246, 827, 827, 827, 821, 354, 620, 620, 209, - 437, 761, 1161, 1137, 821, 539, 542, 528, 647, 1271, - 1253, 65, 180, 392, 486, 720, 727, 728, 160, 306, - 255, 635, 637, 639, 641, 654, 657, 28, 204, 382, - 434, 558, 559, 174, 1253, 487, 1251, 40, 757, 438, - 897, 549, 1268, 569, 634, 869, 1253, 176, 821, 538, - 689, 690, 1166, 1268, 355, 1259, 790, 790, 790, 790, - 538, 790, 1121, 1122, 1123, 402, 160, 538, 160, 160, - 159, 1049, 821, 306, 635, 1268, 475, 682, 495, 604, - 295, 40, 663, 1259, 295, 312, 3, 795, 796, 790, - 29, 539, 875, 876, 881, 40, 246, 379, 453, 494, - 887, 888, 889, 890, 887, 312, 246, 306, 127, 219, - 458, 473, 764, 765, 1253, 195, 195, 174, 552, 40, - 555, 175, 974, 975, 552, 552, 820, 821, 1253, 821, - 1253, 552, 552, 552, 552, 246, 552, 402, 174, 552, - 552, 312, 552, 295, 539, 667, 204, 204, 204, 204, - 204, 499, 1252, 706, 707, 542, 540, 189, 843, 844, - 1262, 61, 848, 849, 1271, 450, 538, 180, 158, 408, - 158, 408, 387, 473, 276, 1137, 1262, 495, 694, 312, - 843, 552, 180, 885, 821, 1137, 873, 304, 873, 873, - 1137, 821, 1253, 539, 537, 537, 542, 1161, 144, 1216, + 538, 538, 538, 538, 1161, 538, 538, 538, 538, 538, + 538, 538, 538, 302, 651, 538, 538, 538, 538, 538, + 538, 538, 538, 1161, 1161, 1161, 1050, 1161, 1200, 1222, + 12, 1259, 12, 538, 1259, 3, 10, 13, 17, 18, + 19, 22, 23, 24, 25, 26, 27, 28, 29, 30, + 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, + 62, 63, 64, 65, 66, 67, 68, 69, 70, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, + 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, + 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, + 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, + 115, 116, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, + 146, 147, 148, 149, 150, 151, 152, 153, 154, 156, + 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, + 167, 170, 171, 172, 173, 175, 176, 177, 178, 179, + 181, 182, 183, 184, 185, 187, 188, 190, 191, 192, + 194, 195, 197, 198, 199, 200, 201, 202, 203, 204, + 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, + 215, 216, 217, 218, 219, 220, 221, 222, 224, 226, + 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, + 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, + 247, 248, 249, 250, 251, 252, 253, 254, 255, 257, + 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, + 268, 269, 270, 271, 272, 273, 275, 276, 278, 279, + 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 301, 302, 303, 304, 305, 306, 307, 309, 310, + 311, 313, 314, 315, 316, 317, 319, 320, 321, 322, + 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, + 335, 336, 337, 338, 339, 340, 341, 342, 343, 345, + 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, + 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, + 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, + 376, 377, 379, 380, 381, 382, 383, 384, 385, 386, + 387, 388, 389, 390, 391, 392, 393, 394, 395, 397, + 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, + 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, + 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, + 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, + 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, + 448, 449, 451, 452, 453, 454, 455, 456, 457, 458, + 459, 460, 461, 462, 463, 464, 465, 466, 468, 469, + 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, + 480, 481, 482, 483, 485, 486, 487, 488, 489, 490, + 491, 493, 498, 499, 500, 501, 502, 503, 504, 505, + 506, 507, 508, 509, 510, 511, 512, 514, 515, 517, + 526, 527, 528, 529, 530, 531, 532, 533, 534, 1195, + 1197, 1199, 1272, 1277, 496, 1178, 324, 1161, 169, 1179, + 225, 542, 1061, 12, 538, 1259, 1222, 1061, 125, 200, + 592, 542, 73, 12, 122, 583, 40, 3, 12, 122, + 259, 581, 707, 1156, 1259, 1259, 96, 139, 1173, 105, + 12, 122, 577, 578, 580, 707, 122, 577, 254, 1251, + 97, 375, 826, 539, 995, 37, 47, 54, 80, 199, + 204, 227, 255, 314, 317, 410, 539, 542, 1056, 1252, + 40, 538, 1200, 1258, 1154, 1154, 39, 1138, 448, 448, + 1258, 1258, 536, 536, 1258, 450, 450, 450, 538, 450, + 1258, 1254, 540, 1142, 180, 1097, 15, 528, 1220, 1267, + 539, 542, 998, 1052, 1052, 1070, 1071, 1161, 1052, 171, + 286, 1081, 243, 291, 359, 408, 473, 31, 1076, 1161, + 529, 530, 1077, 1078, 1161, 1163, 1090, 1091, 1075, 1074, + 1072, 1073, 174, 1093, 306, 1095, 1072, 1090, 1111, 1011, + 1251, 1111, 40, 1268, 405, 1200, 70, 450, 450, 392, + 204, 216, 318, 321, 407, 483, 531, 877, 878, 879, + 881, 883, 885, 1137, 1269, 450, 486, 450, 392, 450, + 450, 392, 256, 450, 81, 450, 440, 572, 328, 966, + 968, 528, 970, 174, 186, 204, 380, 855, 856, 74, + 94, 295, 660, 661, 94, 122, 295, 450, 94, 450, + 122, 295, 392, 94, 135, 146, 328, 370, 788, 392, + 723, 30, 68, 140, 182, 314, 352, 385, 453, 460, + 817, 818, 1253, 160, 370, 405, 596, 312, 707, 397, + 251, 450, 1268, 450, 300, 707, 126, 226, 392, 403, + 452, 574, 822, 376, 405, 890, 903, 130, 539, 872, + 877, 450, 474, 440, 1251, 74, 82, 94, 156, 176, + 198, 295, 348, 468, 642, 658, 659, 1268, 82, 94, + 927, 333, 312, 387, 389, 455, 94, 927, 34, 373, + 387, 389, 455, 387, 1251, 175, 211, 306, 822, 538, + 450, 450, 197, 538, 604, 25, 265, 440, 471, 497, + 604, 94, 542, 130, 5, 5, 328, 204, 160, 370, + 405, 596, 930, 475, 475, 292, 1137, 450, 392, 538, + 908, 1253, 1251, 450, 450, 392, 903, 130, 109, 437, + 438, 939, 940, 1109, 1251, 1268, 940, 450, 450, 791, + 940, 116, 405, 587, 450, 557, 587, 450, 450, 392, + 903, 130, 1251, 450, 450, 1251, 1139, 707, 61, 706, + 707, 707, 114, 270, 275, 61, 450, 555, 279, 392, + 555, 291, 705, 450, 450, 300, 1259, 733, 822, 450, + 450, 392, 422, 355, 1259, 355, 450, 355, 450, 355, + 791, 791, 440, 1108, 333, 333, 94, 450, 927, 392, + 450, 450, 604, 604, 822, 822, 822, 822, 1251, 49, + 480, 49, 49, 480, 450, 49, 450, 480, 392, 538, + 542, 587, 474, 749, 1262, 450, 557, 587, 1251, 450, + 927, 392, 328, 370, 359, 371, 401, 579, 958, 1201, + 1201, 1202, 539, 15, 16, 542, 1068, 1069, 537, 543, + 1251, 991, 1253, 1251, 227, 1137, 227, 312, 227, 227, + 707, 822, 822, 227, 227, 227, 1137, 227, 227, 227, + 312, 450, 180, 450, 620, 460, 538, 40, 160, 822, + 792, 793, 1271, 966, 1137, 312, 160, 720, 1253, 295, + 333, 538, 556, 805, 475, 362, 487, 1251, 31, 940, + 791, 556, 160, 1262, 101, 186, 570, 634, 700, 763, + 836, 858, 962, 160, 1259, 741, 742, 160, 312, 1259, + 1262, 262, 822, 822, 822, 822, 151, 358, 538, 749, + 295, 556, 1251, 295, 702, 704, 295, 40, 306, 333, + 538, 664, 664, 198, 697, 1251, 174, 198, 549, 1268, + 538, 795, 884, 1253, 538, 875, 875, 40, 1137, 29, + 52, 220, 764, 246, 495, 497, 1048, 394, 887, 886, + 1137, 1253, 538, 824, 1137, 873, 874, 1263, 1262, 160, + 552, 160, 475, 160, 475, 909, 910, 552, 873, 1263, + 873, 1253, 1253, 1137, 824, 1263, 749, 160, 821, 822, + 1252, 1253, 1253, 822, 539, 198, 1251, 1003, 1046, 1046, + 1046, 1046, 1046, 1046, 665, 539, 542, 539, 183, 353, + 386, 400, 438, 1252, 821, 115, 402, 873, 1252, 304, + 576, 841, 842, 873, 873, 1252, 1250, 1250, 1252, 821, + 450, 187, 495, 852, 155, 256, 746, 747, 25, 158, + 387, 408, 1027, 1108, 299, 1028, 539, 542, 1006, 450, + 1251, 1253, 1251, 549, 838, 839, 180, 852, 839, 1268, + 30, 82, 140, 182, 247, 352, 385, 460, 817, 818, + 1200, 537, 1200, 1205, 1206, 491, 1215, 1216, 1161, 1200, + 538, 1258, 1258, 3, 12, 117, 196, 274, 277, 396, + 513, 1207, 1208, 1259, 1200, 1200, 1161, 1233, 378, 1050, + 1051, 1233, 1237, 1244, 1233, 1233, 1161, 1163, 1201, 1237, + 1240, 1241, 1161, 1241, 1233, 1161, 1233, 1233, 1200, 1258, + 1258, 539, 1161, 1161, 908, 1161, 1201, 1203, 1210, 387, + 529, 530, 538, 1162, 1163, 1197, 1211, 539, 1200, 1161, + 1203, 1212, 1161, 59, 180, 250, 451, 1161, 1200, 1213, + 137, 295, 1050, 1200, 279, 1163, 1161, 1171, 1172, 1173, + 279, 1161, 1173, 539, 542, 1158, 1258, 1158, 1137, 1161, + 1161, 1161, 1161, 1271, 259, 448, 45, 433, 1224, 822, + 1161, 538, 1050, 137, 139, 166, 231, 287, 288, 289, + 290, 294, 295, 300, 457, 469, 1209, 1238, 1161, 538, + 1161, 450, 54, 199, 204, 255, 410, 1161, 1161, 1161, + 1161, 1161, 1161, 1161, 1161, 1161, 1161, 31, 38, 415, + 1194, 189, 1179, 387, 538, 1191, 538, 323, 1183, 185, + 259, 437, 442, 444, 471, 1062, 1251, 1249, 1097, 1201, + 1097, 1251, 452, 538, 1259, 542, 539, 197, 197, 552, + 1001, 990, 994, 1161, 539, 269, 295, 1057, 1200, 539, + 539, 536, 515, 515, 539, 539, 1258, 537, 1258, 539, + 196, 274, 1159, 274, 1159, 1159, 1258, 277, 539, 1254, + 231, 240, 249, 388, 512, 538, 1050, 1098, 1099, 1100, + 1108, 1114, 1124, 1131, 1164, 1166, 1167, 1245, 1268, 492, + 1119, 1264, 1001, 999, 542, 41, 132, 475, 867, 387, + 388, 529, 530, 1078, 1080, 1163, 408, 243, 313, 542, + 5, 1079, 1258, 1079, 387, 388, 1080, 1250, 299, 412, + 1029, 1091, 1073, 475, 1024, 122, 326, 538, 1012, 1049, + 40, 475, 1268, 538, 1031, 1032, 1033, 1268, 539, 1262, + 1253, 1253, 321, 61, 1269, 539, 879, 881, 878, 881, + 1269, 318, 539, 542, 823, 1262, 1253, 1253, 1262, 1253, + 1253, 1262, 486, 1253, 1253, 122, 580, 707, 382, 474, + 838, 392, 186, 838, 538, 1253, 300, 198, 1253, 300, + 1262, 1253, 1253, 1161, 300, 1253, 1253, 34, 373, 450, + 450, 1253, 450, 724, 886, 538, 1137, 874, 76, 167, + 910, 874, 874, 174, 1137, 822, 1253, 192, 291, 328, + 370, 479, 727, 728, 729, 1108, 450, 927, 392, 300, + 126, 226, 1262, 1253, 312, 1253, 312, 539, 542, 1261, + 1263, 1253, 370, 596, 538, 198, 642, 1253, 475, 860, + 243, 295, 300, 243, 475, 651, 688, 1137, 1253, 1258, + 1268, 1251, 1253, 254, 1253, 31, 474, 1253, 198, 1253, + 198, 1268, 389, 455, 389, 455, 254, 1253, 31, 474, + 1253, 254, 387, 1251, 27, 142, 405, 734, 735, 736, + 737, 1271, 1262, 1253, 122, 181, 296, 475, 603, 606, + 607, 1271, 273, 1253, 78, 309, 1253, 599, 312, 450, + 440, 1251, 450, 927, 392, 130, 1253, 1253, 542, 539, + 542, 1262, 1253, 933, 934, 1271, 312, 370, 450, 757, + 1262, 1253, 1253, 312, 1108, 204, 542, 664, 664, 1222, + 1262, 1253, 1253, 1261, 3, 93, 148, 211, 335, 466, + 474, 477, 558, 1262, 1253, 1253, 312, 370, 1262, 1253, + 370, 405, 596, 704, 707, 822, 1253, 707, 822, 1253, + 707, 1262, 1253, 405, 1262, 1253, 1253, 122, 610, 1260, + 1252, 1252, 1262, 898, 1253, 1252, 1253, 370, 405, 596, + 597, 1251, 1251, 1253, 1253, 1253, 1253, 1262, 1253, 27, + 33, 142, 328, 370, 405, 328, 370, 405, 791, 370, + 405, 370, 405, 370, 930, 1123, 1268, 198, 801, 1268, + 198, 1268, 1259, 1262, 1253, 1253, 1259, 1253, 933, 27, + 142, 617, 402, 1261, 370, 405, 596, 1253, 1253, 1253, + 450, 450, 87, 465, 359, 542, 1068, 1068, 1068, 1161, + 1161, 483, 1202, 539, 1161, 1221, 986, 300, 828, 1259, + 40, 828, 140, 822, 828, 828, 227, 475, 475, 828, + 828, 828, 246, 828, 828, 828, 822, 354, 621, 621, + 209, 437, 762, 1161, 1137, 822, 539, 542, 528, 648, + 1271, 1253, 65, 180, 392, 486, 721, 728, 729, 160, + 306, 255, 636, 638, 640, 642, 655, 658, 28, 204, + 382, 434, 558, 559, 174, 1253, 487, 1251, 40, 758, + 438, 898, 549, 1268, 569, 635, 870, 1253, 176, 822, + 538, 690, 691, 1166, 1268, 355, 1259, 791, 791, 791, + 791, 538, 791, 1121, 1122, 1123, 402, 160, 538, 160, + 160, 159, 1049, 822, 306, 636, 1268, 475, 683, 495, + 605, 295, 40, 664, 1259, 295, 312, 3, 796, 797, + 791, 29, 539, 876, 877, 882, 40, 246, 379, 453, + 494, 888, 889, 890, 891, 888, 312, 246, 306, 127, + 219, 458, 473, 765, 766, 1253, 195, 195, 174, 552, + 40, 555, 175, 974, 975, 552, 552, 821, 822, 1253, + 822, 1253, 552, 552, 552, 552, 246, 552, 402, 174, + 552, 552, 312, 552, 295, 539, 668, 204, 204, 204, + 204, 204, 499, 1252, 707, 708, 542, 189, 844, 845, + 1262, 61, 849, 850, 1271, 450, 538, 180, 158, 408, + 158, 408, 387, 473, 276, 1137, 1262, 495, 695, 312, + 844, 552, 180, 886, 822, 1137, 874, 304, 874, 874, + 1137, 822, 1253, 539, 537, 537, 542, 1161, 144, 1216, 1217, 40, 539, 1161, 539, 539, 180, 539, 180, 539, 539, 516, 1234, 1235, 495, 497, 1239, 1137, 1235, 539, 23, 300, 542, 1243, 318, 1246, 542, 543, 480, 539, @@ -31632,58 +31578,58 @@ static const yytype_uint16 yystos[] = 1176, 40, 539, 542, 1161, 1271, 542, 1161, 1223, 1161, 539, 515, 1162, 1162, 153, 1200, 180, 39, 304, 391, 480, 137, 139, 166, 294, 300, 457, 469, 1209, 1238, - 294, 1239, 153, 907, 1161, 433, 1224, 1161, 538, 1050, + 294, 1239, 153, 908, 1161, 433, 1224, 1161, 538, 1050, 1161, 450, 538, 1050, 538, 1183, 538, 1200, 492, 538, 1184, 1268, 442, 444, 442, 444, 1251, 1063, 1063, 1063, - 1119, 1068, 1119, 959, 1258, 1158, 577, 1001, 269, 538, + 1119, 1068, 1119, 959, 1258, 1158, 578, 1001, 269, 538, 539, 1258, 1157, 1157, 537, 537, 539, 538, 1050, 1114, 1124, 1131, 180, 538, 1050, 1099, 1100, 40, 1101, 1102, 1268, 542, 102, 181, 215, 230, 253, 282, 381, 1105, 1102, 40, 1101, 1104, 1268, 1102, 1102, 519, 1118, 1222, - 1161, 189, 1082, 1071, 314, 1195, 1198, 518, 867, 5, + 1161, 189, 1082, 1071, 314, 1195, 1198, 518, 868, 5, 1258, 1080, 313, 495, 473, 1077, 264, 1098, 492, 1120, 481, 435, 474, 1013, 1014, 1015, 1268, 312, 1016, 1268, - 1099, 1033, 1034, 542, 1097, 528, 1223, 884, 822, 880, - 880, 61, 882, 533, 1263, 1263, 312, 1252, 315, 312, - 1161, 660, 780, 160, 552, 450, 1262, 1253, 582, 1137, - 821, 821, 1137, 710, 1253, 192, 479, 450, 450, 710, - 726, 732, 370, 405, 595, 1253, 1253, 1253, 217, 300, - 163, 876, 327, 405, 450, 1161, 295, 156, 658, 1253, - 538, 538, 160, 1268, 538, 687, 209, 538, 780, 425, - 645, 646, 211, 780, 405, 27, 142, 374, 375, 405, - 599, 607, 608, 732, 927, 397, 160, 552, 160, 552, - 1253, 1253, 1253, 1253, 397, 397, 254, 735, 736, 735, - 539, 542, 737, 1259, 209, 539, 542, 528, 540, 122, - 610, 1268, 163, 1262, 1253, 370, 405, 595, 1253, 1253, + 1099, 1033, 1034, 542, 1097, 528, 1223, 885, 823, 881, + 881, 61, 883, 533, 1263, 1263, 312, 1252, 315, 312, + 1161, 661, 781, 160, 552, 450, 1262, 1253, 583, 1137, + 822, 822, 1137, 711, 1253, 192, 479, 450, 450, 711, + 727, 733, 370, 405, 596, 1253, 1253, 1253, 217, 300, + 163, 877, 327, 405, 450, 1161, 295, 156, 659, 1253, + 538, 538, 160, 1268, 538, 688, 209, 538, 781, 425, + 646, 647, 211, 781, 405, 27, 142, 374, 375, 405, + 600, 608, 609, 733, 928, 397, 160, 552, 160, 552, + 1253, 1253, 1253, 1253, 397, 397, 254, 736, 737, 736, + 539, 542, 738, 1259, 209, 539, 542, 528, 540, 122, + 611, 1268, 163, 1262, 1253, 370, 405, 596, 1253, 1253, 1253, 312, 328, 370, 405, 27, 142, 328, 370, 405, 1137, 292, 1137, 539, 542, 528, 1251, 450, 1263, 475, - 753, 163, 663, 392, 938, 492, 672, 672, 663, 256, + 754, 163, 664, 392, 939, 492, 673, 673, 664, 256, 335, 12, 300, 1259, 335, 1263, 472, 163, 450, 450, - 392, 422, 897, 897, 897, 327, 405, 94, 450, 926, - 392, 122, 174, 611, 170, 551, 450, 450, 266, 266, + 392, 422, 898, 898, 898, 327, 405, 94, 450, 927, + 392, 122, 174, 612, 170, 551, 450, 450, 266, 266, 266, 450, 450, 392, 450, 450, 392, 450, 392, 450, - 392, 450, 130, 552, 1137, 295, 1259, 405, 927, 160, - 552, 450, 450, 539, 1253, 450, 926, 392, 450, 1262, - 1253, 539, 539, 539, 1202, 537, 1137, 821, 227, 827, - 1253, 1253, 1253, 227, 423, 424, 621, 1259, 621, 192, - 539, 539, 180, 790, 792, 292, 314, 529, 530, 706, - 793, 880, 1198, 1259, 1276, 74, 80, 94, 122, 124, - 150, 184, 213, 295, 300, 348, 364, 468, 648, 649, - 653, 159, 491, 555, 582, 1253, 582, 316, 730, 1251, + 392, 450, 130, 552, 1137, 295, 1259, 405, 928, 160, + 552, 450, 450, 539, 1253, 450, 927, 392, 450, 1262, + 1253, 539, 539, 539, 1202, 537, 1137, 822, 227, 828, + 1253, 1253, 1253, 227, 423, 424, 622, 1259, 622, 192, + 539, 539, 180, 791, 793, 292, 314, 529, 530, 707, + 794, 881, 1198, 1259, 1276, 74, 80, 94, 122, 124, + 150, 184, 213, 295, 300, 348, 364, 468, 649, 650, + 654, 159, 491, 555, 583, 1253, 583, 316, 731, 1251, 1251, 1251, 539, 542, 1263, 189, 382, 1263, 1258, 460, - 1251, 663, 3, 174, 758, 897, 50, 569, 437, 739, - 115, 998, 1161, 180, 542, 1252, 604, 797, 798, 1259, - 539, 542, 1253, 174, 664, 1251, 693, 1251, 1253, 694, - 538, 636, 1251, 539, 1253, 495, 497, 683, 603, 40, - 160, 1049, 682, 450, 160, 1108, 528, 539, 542, 764, - 539, 542, 122, 528, 891, 1259, 582, 437, 879, 880, - 174, 896, 53, 377, 892, 893, 890, 893, 127, 219, - 398, 473, 949, 1253, 306, 312, 317, 192, 1049, 1137, - 538, 539, 542, 552, 475, 552, 475, 552, 1253, 1253, - 748, 821, 160, 392, 392, 392, 392, 392, 1252, 542, - 841, 1268, 1262, 495, 542, 845, 1262, 542, 851, 166, - 315, 457, 850, 1110, 402, 158, 158, 115, 291, 842, - 851, 1263, 227, 227, 227, 227, 706, 227, 227, 227, + 1251, 664, 3, 174, 759, 898, 50, 569, 437, 740, + 115, 998, 1161, 180, 542, 1252, 605, 798, 799, 1259, + 539, 542, 1253, 174, 665, 1251, 694, 1251, 1253, 695, + 538, 637, 1251, 539, 1253, 495, 497, 684, 604, 40, + 160, 1049, 683, 450, 160, 1108, 528, 539, 542, 765, + 539, 542, 122, 528, 892, 1259, 1259, 1270, 437, 880, + 881, 174, 897, 53, 377, 893, 894, 891, 894, 127, + 219, 398, 473, 950, 1253, 306, 312, 317, 192, 1049, + 1137, 538, 539, 542, 552, 475, 552, 475, 552, 1253, + 1253, 749, 822, 160, 392, 392, 392, 392, 392, 1252, + 542, 842, 1262, 495, 542, 846, 1262, 542, 852, 166, + 315, 457, 851, 1110, 402, 158, 158, 115, 291, 843, + 852, 1263, 227, 227, 227, 227, 707, 227, 227, 227, 227, 227, 1205, 446, 1161, 149, 1137, 539, 1161, 1161, 231, 468, 468, 539, 1235, 1237, 312, 312, 1233, 1237, 61, 1243, 1161, 1233, 1233, 312, 312, 1241, 1239, 1239, @@ -31699,43 +31645,43 @@ static const yytype_uint16 yystos[] = 539, 1006, 537, 1233, 1102, 1104, 1102, 1102, 538, 507, 1163, 539, 1268, 538, 1099, 230, 322, 1106, 1099, 1106, 230, 1105, 1106, 230, 439, 1112, 538, 1268, 538, 319, - 61, 193, 1089, 538, 867, 171, 248, 313, 495, 447, + 61, 193, 1089, 538, 868, 171, 248, 313, 495, 447, 105, 1161, 378, 1018, 480, 539, 542, 1223, 92, 1018, - 312, 539, 542, 1032, 1120, 1161, 539, 533, 884, 460, - 183, 247, 386, 393, 400, 438, 461, 856, 174, 856, - 539, 124, 150, 213, 291, 295, 781, 1253, 1253, 40, - 475, 475, 246, 822, 1262, 1253, 450, 926, 392, 450, - 217, 1253, 61, 440, 1253, 539, 160, 538, 670, 671, - 862, 1166, 1268, 664, 641, 780, 664, 780, 1253, 664, - 122, 1268, 88, 643, 644, 422, 184, 162, 197, 295, - 603, 555, 115, 162, 184, 295, 422, 603, 643, 645, - 704, 405, 608, 460, 1253, 1268, 397, 734, 1253, 606, - 793, 1271, 1253, 327, 405, 450, 926, 392, 450, 163, - 450, 450, 392, 182, 314, 425, 802, 803, 182, 314, - 809, 810, 450, 450, 392, 539, 539, 539, 933, 292, - 706, 880, 934, 1198, 1259, 1276, 370, 1253, 538, 495, - 754, 1253, 672, 109, 1268, 538, 672, 1260, 12, 1259, - 1259, 1259, 1253, 1253, 1253, 1253, 609, 61, 440, 1253, + 312, 539, 542, 1032, 1120, 1161, 539, 533, 885, 460, + 183, 247, 386, 393, 400, 438, 461, 857, 174, 857, + 539, 124, 150, 213, 291, 295, 782, 1253, 1253, 40, + 475, 475, 246, 823, 1262, 1253, 450, 927, 392, 450, + 217, 1253, 61, 440, 1253, 539, 160, 538, 671, 672, + 863, 1166, 1268, 665, 642, 781, 665, 781, 1253, 665, + 122, 1268, 88, 644, 645, 422, 184, 162, 197, 295, + 604, 555, 115, 162, 184, 295, 422, 604, 644, 646, + 705, 405, 609, 460, 1253, 1268, 397, 735, 1253, 607, + 794, 1271, 1253, 327, 405, 450, 927, 392, 450, 163, + 450, 450, 392, 182, 314, 425, 803, 804, 182, 314, + 810, 811, 450, 450, 392, 539, 539, 539, 934, 292, + 707, 881, 935, 1198, 1259, 1276, 370, 1253, 538, 495, + 755, 1253, 673, 109, 1268, 538, 673, 1260, 12, 1259, + 1259, 1259, 1253, 1253, 1253, 1253, 610, 61, 440, 1253, 1253, 1253, 1253, 481, 1253, 1253, 174, 174, 372, 174, 198, 1262, 1253, 1253, 1262, 1253, 1253, 1253, 1253, 1253, - 1253, 1253, 312, 80, 600, 160, 29, 52, 460, 1268, - 1253, 1259, 732, 1253, 1253, 1253, 1253, 1068, 539, 227, - 827, 227, 227, 227, 827, 555, 475, 626, 627, 710, - 780, 495, 497, 821, 538, 821, 1253, 1162, 34, 61, - 651, 125, 200, 124, 150, 300, 243, 1251, 650, 182, - 352, 776, 783, 784, 1268, 719, 538, 333, 538, 636, - 655, 212, 677, 639, 1263, 1263, 1137, 538, 604, 31, - 127, 219, 398, 473, 759, 450, 755, 1262, 198, 1251, - 741, 499, 312, 539, 1098, 690, 897, 539, 542, 1123, - 730, 748, 539, 701, 40, 306, 333, 538, 1008, 638, - 640, 642, 657, 1268, 333, 678, 679, 636, 677, 603, - 309, 312, 684, 1049, 696, 694, 604, 1259, 1253, 859, - 793, 3, 796, 312, 881, 1161, 1161, 542, 538, 887, - 460, 542, 46, 1161, 450, 538, 664, 1251, 765, 710, + 1253, 1253, 312, 80, 601, 160, 29, 52, 460, 1268, + 1253, 1259, 733, 1253, 1253, 1253, 1253, 1068, 539, 227, + 828, 227, 227, 227, 828, 555, 475, 627, 628, 711, + 781, 495, 497, 822, 538, 822, 1253, 1162, 34, 61, + 652, 125, 200, 124, 150, 300, 243, 1251, 651, 182, + 352, 777, 784, 785, 1268, 720, 538, 333, 538, 637, + 656, 212, 678, 640, 1263, 1263, 1137, 538, 605, 31, + 127, 219, 398, 473, 760, 450, 756, 1262, 198, 1251, + 742, 499, 312, 539, 1098, 691, 898, 539, 542, 1123, + 731, 749, 539, 702, 40, 306, 333, 538, 1008, 639, + 641, 643, 658, 1268, 333, 679, 680, 637, 678, 604, + 309, 312, 685, 1049, 697, 695, 605, 1259, 1253, 860, + 794, 3, 797, 312, 882, 1161, 1161, 542, 538, 888, + 460, 542, 46, 1161, 450, 538, 665, 1251, 766, 711, 539, 974, 975, 1253, 1253, 552, 402, 552, 1252, 1252, - 1252, 1252, 1252, 706, 186, 844, 851, 849, 539, 1253, - 115, 180, 552, 851, 300, 830, 1259, 830, 830, 830, - 227, 830, 830, 830, 830, 830, 1161, 539, 147, 244, + 1252, 1252, 1252, 707, 186, 845, 852, 850, 539, 1253, + 115, 180, 552, 852, 300, 831, 1259, 831, 831, 831, + 227, 831, 831, 831, 831, 831, 1161, 539, 147, 244, 244, 539, 300, 300, 539, 1070, 1237, 334, 1225, 300, 300, 1237, 1237, 1225, 1225, 539, 539, 180, 539, 1161, 180, 137, 139, 180, 174, 153, 539, 502, 1170, 1200, @@ -31745,29 +31691,29 @@ static const yytype_uint16 yystos[] = 1186, 1251, 1251, 1251, 1251, 1089, 12, 1259, 1089, 1259, 539, 542, 1115, 1116, 1166, 538, 1176, 1101, 538, 1252, 1099, 312, 475, 1107, 1099, 230, 1099, 1256, 1122, 538, - 1122, 1268, 1064, 1161, 494, 1180, 907, 447, 306, 495, + 1122, 1268, 1064, 1161, 494, 1180, 908, 447, 306, 495, 1019, 1049, 326, 1049, 1015, 312, 538, 1017, 1161, 528, - 1033, 1018, 460, 539, 305, 450, 837, 180, 780, 125, + 1033, 1018, 460, 539, 305, 450, 838, 180, 781, 125, 200, 211, 124, 150, 477, 552, 1137, 1253, 1253, 1253, - 1253, 1253, 1253, 1253, 1263, 1253, 780, 641, 1161, 539, - 542, 495, 80, 861, 865, 861, 542, 665, 497, 662, - 662, 122, 1268, 730, 609, 651, 198, 198, 300, 706, - 40, 651, 300, 609, 1137, 552, 552, 528, 61, 440, + 1253, 1253, 1253, 1253, 1263, 1253, 781, 642, 1161, 539, + 542, 495, 80, 862, 866, 862, 542, 666, 497, 663, + 663, 122, 1268, 731, 610, 652, 198, 198, 300, 707, + 40, 652, 300, 610, 1137, 552, 552, 528, 61, 440, 1253, 1253, 1253, 1253, 1253, 1262, 1253, 1253, 1258, 1258, 1137, 542, 1258, 1258, 542, 1262, 1253, 1253, 450, 1161, 74, 1161, 1263, 1253, 450, 450, 180, 204, 495, 1252, - 1252, 821, 1252, 160, 163, 821, 1259, 1259, 1137, 552, - 552, 450, 539, 227, 827, 827, 827, 827, 538, 622, - 623, 555, 129, 182, 216, 182, 1161, 295, 649, 122, - 40, 291, 661, 897, 663, 897, 1256, 37, 159, 204, - 731, 735, 306, 635, 611, 157, 206, 538, 402, 475, - 664, 40, 1263, 753, 569, 295, 538, 176, 1253, 689, - 1259, 402, 604, 159, 1049, 821, 306, 635, 694, 539, - 542, 495, 647, 61, 682, 611, 678, 86, 440, 685, - 495, 963, 40, 685, 180, 312, 538, 1251, 1259, 878, - 898, 899, 1269, 893, 1137, 174, 894, 1251, 180, 450, - 918, 365, 766, 214, 711, 552, 539, 552, 552, 1253, - 315, 225, 843, 552, 830, 1253, 539, 1226, 1227, 1233, + 1252, 822, 1252, 160, 163, 822, 1259, 1259, 1137, 552, + 552, 450, 539, 227, 828, 828, 828, 828, 538, 623, + 624, 555, 129, 182, 216, 182, 1161, 295, 650, 122, + 40, 291, 662, 898, 664, 898, 1256, 37, 159, 204, + 732, 736, 306, 636, 612, 157, 206, 538, 402, 475, + 665, 40, 1263, 754, 569, 295, 538, 176, 1253, 690, + 1259, 402, 605, 159, 1049, 822, 306, 636, 695, 539, + 542, 495, 648, 61, 683, 612, 679, 86, 440, 686, + 495, 963, 40, 686, 180, 312, 538, 1251, 1259, 879, + 899, 900, 1269, 894, 1137, 174, 895, 1251, 180, 450, + 919, 365, 767, 214, 712, 552, 539, 552, 552, 1253, + 315, 225, 844, 552, 831, 1253, 539, 1226, 1227, 1233, 122, 145, 152, 166, 300, 457, 469, 1229, 1230, 1232, 539, 539, 1237, 1237, 1161, 539, 1162, 180, 1161, 1161, 1161, 538, 539, 542, 539, 1177, 539, 480, 419, 539, @@ -31776,94 +31722,94 @@ static const yytype_uint16 yystos[] = 1130, 1162, 83, 1252, 539, 1161, 538, 1099, 1107, 538, 539, 1122, 539, 104, 190, 384, 538, 1083, 1084, 1085, 1086, 1087, 1088, 1161, 1181, 1182, 1268, 1068, 539, 1046, - 538, 1248, 1013, 94, 860, 862, 138, 491, 1036, 1037, - 1038, 1039, 1161, 843, 312, 843, 539, 450, 405, 1028, - 539, 205, 668, 671, 314, 907, 821, 550, 821, 337, - 539, 324, 539, 539, 647, 40, 160, 160, 538, 600, - 793, 1263, 1253, 450, 538, 873, 907, 909, 803, 538, - 538, 810, 1253, 539, 538, 539, 405, 1028, 1253, 1253, + 538, 1248, 1013, 94, 861, 863, 138, 491, 1036, 1037, + 1038, 1039, 1161, 844, 312, 844, 539, 450, 405, 1028, + 539, 205, 669, 672, 314, 908, 822, 550, 822, 337, + 539, 324, 539, 539, 648, 40, 160, 160, 538, 601, + 794, 1263, 1253, 450, 538, 874, 908, 910, 804, 538, + 538, 811, 1253, 539, 538, 539, 405, 1028, 1253, 1253, 538, 538, 538, 495, 519, 983, 372, 983, 983, 174, - 1253, 600, 1253, 827, 628, 629, 1271, 56, 103, 128, - 147, 153, 175, 179, 194, 300, 356, 624, 622, 1259, - 873, 40, 914, 914, 539, 197, 538, 211, 475, 686, - 267, 669, 686, 538, 784, 776, 538, 539, 542, 1251, + 1253, 601, 1253, 828, 629, 630, 1271, 56, 103, 128, + 147, 153, 175, 179, 194, 300, 356, 625, 623, 1259, + 874, 40, 915, 915, 539, 197, 538, 211, 475, 687, + 267, 670, 687, 538, 785, 777, 538, 539, 542, 1251, 539, 402, 31, 85, 88, 95, 123, 184, 197, 210, - 422, 425, 656, 656, 1250, 1253, 1253, 539, 1049, 754, - 160, 115, 730, 180, 1253, 40, 1253, 694, 636, 1251, - 539, 640, 316, 1268, 683, 678, 682, 127, 142, 345, - 1253, 66, 74, 259, 1049, 821, 1108, 860, 180, 779, - 880, 539, 542, 460, 149, 548, 892, 895, 1119, 417, - 417, 539, 285, 310, 767, 768, 769, 174, 772, 710, - 291, 479, 712, 713, 1253, 851, 542, 40, 1161, 39, + 422, 425, 657, 657, 1250, 1253, 1253, 539, 1049, 755, + 160, 115, 731, 180, 1253, 40, 1253, 695, 637, 1251, + 539, 641, 316, 1268, 684, 679, 683, 127, 142, 345, + 1253, 66, 74, 259, 1049, 822, 1108, 861, 180, 780, + 881, 539, 542, 460, 149, 548, 893, 896, 1119, 417, + 417, 539, 285, 310, 768, 769, 770, 174, 773, 711, + 291, 479, 713, 714, 1253, 852, 542, 40, 1161, 39, 304, 312, 539, 495, 497, 1228, 1229, 1231, 174, 1162, 1171, 1200, 291, 514, 208, 539, 1200, 191, 358, 388, 1187, 60, 131, 114, 1059, 40, 1132, 1118, 1115, 538, 1162, 539, 542, 40, 1125, 1126, 1268, 539, 1252, 1200, 539, 538, 406, 538, 539, 542, 542, 40, 1073, 285, 310, 1020, 1021, 1022, 480, 1253, 539, 542, 296, 473, - 268, 295, 1018, 1037, 37, 1040, 1040, 845, 856, 552, - 1253, 440, 861, 538, 897, 538, 866, 603, 667, 364, - 668, 668, 197, 1161, 475, 601, 405, 1028, 1253, 1204, - 174, 806, 806, 1204, 1204, 1161, 440, 1200, 1200, 612, - 613, 1270, 820, 821, 820, 821, 1252, 552, 539, 542, - 122, 531, 538, 579, 630, 706, 980, 1259, 980, 295, - 300, 356, 980, 980, 1119, 914, 44, 202, 661, 538, - 702, 1161, 209, 181, 332, 411, 312, 673, 674, 675, - 539, 1256, 6, 785, 735, 636, 677, 1253, 539, 730, - 167, 805, 604, 963, 1251, 499, 1098, 730, 1049, 1008, - 678, 636, 677, 647, 538, 684, 682, 683, 388, 388, - 74, 315, 74, 694, 859, 539, 1251, 780, 887, 898, - 1137, 541, 138, 495, 495, 768, 387, 437, 770, 143, - 773, 491, 775, 479, 710, 730, 552, 1227, 1271, 152, + 268, 295, 1018, 1037, 37, 1040, 1040, 846, 857, 552, + 1253, 440, 862, 538, 898, 538, 867, 604, 668, 364, + 669, 669, 197, 1161, 475, 602, 405, 1028, 1253, 1204, + 174, 807, 807, 1204, 1204, 1161, 440, 1200, 1200, 613, + 614, 1270, 821, 822, 821, 822, 1252, 552, 539, 542, + 122, 531, 538, 580, 631, 707, 980, 1259, 980, 295, + 300, 356, 980, 980, 1119, 915, 44, 202, 662, 538, + 703, 1161, 209, 181, 332, 411, 312, 674, 675, 676, + 539, 1256, 6, 786, 736, 637, 678, 1253, 539, 731, + 167, 806, 605, 963, 1251, 499, 1098, 731, 1049, 1008, + 679, 637, 678, 648, 538, 685, 683, 684, 388, 388, + 74, 315, 74, 695, 860, 539, 1251, 781, 888, 899, + 1137, 541, 138, 495, 495, 769, 387, 437, 771, 143, + 774, 491, 776, 479, 711, 731, 552, 1227, 1271, 152, 39, 90, 464, 499, 39, 499, 242, 311, 1236, 312, 539, 1161, 539, 539, 480, 54, 105, 463, 1161, 1188, - 1189, 1188, 1188, 539, 171, 171, 664, 1253, 1225, 1122, + 1189, 1188, 1188, 539, 171, 171, 665, 1253, 1225, 1122, 542, 1130, 1271, 539, 542, 174, 1137, 539, 539, 1200, 538, 1200, 1084, 1182, 1184, 1091, 539, 542, 40, 1049, - 1119, 862, 405, 268, 1161, 446, 446, 180, 1253, 664, - 686, 907, 867, 866, 1251, 897, 897, 702, 539, 1161, + 1119, 863, 405, 268, 1161, 446, 446, 180, 1253, 665, + 687, 908, 868, 867, 1251, 898, 898, 703, 539, 1161, 440, 539, 318, 395, 539, 539, 539, 1253, 539, 539, - 539, 542, 1258, 983, 629, 579, 631, 632, 1259, 1259, - 300, 531, 664, 531, 664, 1259, 1259, 703, 539, 440, - 127, 473, 312, 675, 312, 674, 538, 539, 542, 611, - 402, 730, 821, 40, 40, 538, 1253, 963, 694, 682, - 611, 678, 538, 680, 681, 1166, 1268, 685, 683, 684, - 315, 315, 538, 205, 863, 174, 893, 32, 220, 950, - 182, 182, 980, 387, 421, 774, 538, 159, 499, 39, + 539, 542, 1258, 983, 630, 580, 632, 633, 1259, 1259, + 300, 531, 665, 531, 665, 1259, 1259, 704, 539, 440, + 127, 473, 312, 676, 312, 675, 538, 539, 542, 612, + 402, 731, 822, 40, 40, 538, 1253, 963, 695, 683, + 612, 679, 538, 681, 682, 1166, 1268, 686, 684, 685, + 315, 315, 538, 205, 864, 174, 894, 32, 220, 951, + 182, 182, 980, 387, 421, 775, 538, 159, 499, 39, 499, 39, 499, 499, 357, 357, 1231, 145, 152, 1189, 387, 173, 343, 173, 343, 156, 1190, 1190, 1190, 61, 61, 405, 83, 539, 1163, 1126, 319, 3, 122, 295, 300, 336, 1127, 1128, 40, 1103, 371, 1113, 539, 1083, 539, 1021, 1268, 1031, 61, 127, 138, 473, 1041, 1042, - 138, 219, 1043, 843, 1028, 539, 672, 539, 867, 538, - 666, 686, 686, 1253, 873, 61, 1028, 450, 612, 821, - 539, 542, 531, 664, 539, 426, 489, 652, 1253, 65, - 291, 376, 405, 676, 676, 539, 6, 402, 1253, 802, - 1049, 730, 683, 678, 682, 1161, 539, 542, 865, 865, - 684, 685, 860, 538, 650, 143, 296, 538, 945, 947, - 951, 1010, 1023, 1030, 1049, 1060, 873, 873, 771, 1268, - 1161, 776, 499, 499, 312, 312, 539, 1229, 37, 105, - 189, 291, 447, 664, 664, 1268, 538, 1176, 1162, 1162, + 138, 219, 1043, 844, 1028, 539, 673, 539, 868, 538, + 667, 687, 687, 1253, 874, 61, 1028, 450, 613, 822, + 539, 542, 531, 665, 539, 426, 489, 653, 1253, 65, + 291, 376, 405, 677, 677, 539, 6, 402, 1253, 803, + 1049, 731, 684, 679, 683, 1161, 539, 542, 866, 866, + 685, 686, 861, 538, 651, 143, 296, 538, 946, 948, + 952, 1010, 1023, 1030, 1049, 1060, 874, 874, 772, 1268, + 1161, 777, 499, 499, 312, 312, 539, 1229, 37, 105, + 189, 291, 447, 665, 665, 1268, 538, 1176, 1162, 1162, 300, 1162, 1128, 1268, 538, 539, 1119, 416, 441, 296, - 405, 296, 122, 326, 481, 538, 1044, 552, 780, 664, - 669, 780, 780, 1028, 821, 538, 632, 26, 122, 300, - 1253, 730, 963, 684, 682, 683, 539, 681, 550, 550, - 685, 539, 862, 864, 604, 387, 946, 947, 948, 1050, + 405, 296, 122, 326, 481, 538, 1044, 552, 781, 665, + 670, 781, 781, 1028, 822, 538, 633, 26, 122, 300, + 1253, 731, 963, 685, 683, 684, 539, 682, 550, 550, + 686, 539, 863, 865, 605, 387, 947, 948, 949, 1050, 1051, 542, 542, 539, 1256, 391, 391, 312, 1189, 387, 320, 405, 405, 450, 475, 284, 1133, 1134, 1268, 83, - 1161, 1031, 481, 1013, 538, 1014, 665, 673, 1200, 663, - 663, 730, 685, 683, 684, 865, 863, 539, 542, 685, - 775, 539, 541, 450, 180, 538, 428, 428, 152, 1268, + 1161, 1031, 481, 1013, 538, 1014, 666, 674, 1200, 664, + 664, 731, 686, 684, 685, 866, 864, 539, 542, 686, + 776, 539, 541, 450, 180, 538, 428, 428, 152, 1268, 1268, 231, 1256, 1257, 1268, 336, 1135, 539, 542, 174, - 1137, 1125, 539, 480, 1200, 539, 539, 780, 539, 684, - 685, 550, 650, 862, 1119, 159, 948, 417, 417, 5, - 777, 778, 1258, 1259, 1271, 538, 122, 1259, 1232, 1134, + 1137, 1125, 539, 480, 1200, 539, 539, 781, 539, 685, + 686, 550, 651, 863, 1119, 159, 949, 417, 417, 5, + 778, 779, 1258, 1259, 1271, 538, 122, 1259, 1232, 1134, 319, 160, 336, 1136, 1234, 539, 1044, 539, 326, 1044, - 685, 604, 776, 495, 495, 539, 542, 1201, 1257, 40, - 83, 539, 1136, 1259, 1228, 1136, 1013, 685, 1256, 182, - 182, 778, 1068, 475, 1253, 538, 1232, 1236, 1228, 480, - 1119, 538, 873, 873, 539, 1268, 83, 1133, 1231, 1236, - 1044, 777, 538, 539, 1231, 539, 1133, 539 + 686, 605, 777, 495, 495, 539, 542, 1201, 1257, 40, + 83, 539, 1136, 1259, 1228, 1136, 1013, 686, 1256, 182, + 182, 779, 1068, 475, 1253, 538, 1232, 1236, 1228, 480, + 1119, 538, 874, 874, 539, 1268, 83, 1133, 1231, 1236, + 1044, 778, 538, 539, 1231, 539, 1133, 539 }; #define yyerrok (yyerrstatus = 0) @@ -32883,11 +32829,12 @@ YYLTYPE yylloc; { (yyval.defelt) = makeDefElem("password", (Node *) makeString((yyvsp[(2) - (2)].str)), (yylsp[(1) - (2)])); + (yyval.defelt)->arg_location = (yylsp[(2) - (2)]); ;} break; case 156: -#line 1208 "gram.y" +#line 1209 "gram.y" { (yyval.defelt) = makeDefElem("password", (Node *)makeParamRef((yyvsp[(2) - (2)].ival), (yylsp[(2) - (2)])), (yylsp[(1) - (2)])); @@ -32895,14 +32842,14 @@ YYLTYPE yylloc; break; case 157: -#line 1213 "gram.y" +#line 1214 "gram.y" { (yyval.defelt) = makeDefElem("password", NULL, (yylsp[(1) - (2)])); ;} break; case 158: -#line 1217 "gram.y" +#line 1218 "gram.y" { /* * These days, passwords are always stored in encrypted @@ -32911,11 +32858,12 @@ YYLTYPE yylloc; */ (yyval.defelt) = makeDefElem("password", (Node *) makeString((yyvsp[(3) - (3)].str)), (yylsp[(1) - (3)])); + (yyval.defelt)->arg_location = (yylsp[(3) - (3)]); ;} break; case 159: -#line 1227 "gram.y" +#line 1229 "gram.y" { /* * These days, passwords are always stored in encrypted @@ -32928,7 +32876,7 @@ YYLTYPE yylloc; break; case 160: -#line 1237 "gram.y" +#line 1239 "gram.y" { ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), @@ -32939,35 +32887,36 @@ YYLTYPE yylloc; break; case 161: -#line 1245 "gram.y" +#line 1247 "gram.y" { (yyval.defelt) = makeDefElem("inherit", (Node *) makeBoolean(true), (yylsp[(1) - (1)])); ;} break; case 162: -#line 1249 "gram.y" +#line 1251 "gram.y" { (yyval.defelt) = makeDefElem("connectionlimit", (Node *) makeInteger((yyvsp[(3) - (3)].ival)), (yylsp[(1) - (3)])); ;} break; case 163: -#line 1253 "gram.y" +#line 1255 "gram.y" { (yyval.defelt) = makeDefElem("validUntil", (Node *) makeString((yyvsp[(3) - (3)].str)), (yylsp[(1) - (3)])); + (yyval.defelt)->arg_location = (yylsp[(3) - (3)]); ;} break; case 164: -#line 1258 "gram.y" +#line 1261 "gram.y" { (yyval.defelt) = makeDefElem("rolemembers", (Node *) (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)])); ;} break; case 165: -#line 1262 "gram.y" +#line 1265 "gram.y" { /* * We handle identifiers that aren't parser keywords with @@ -33015,47 +32964,47 @@ YYLTYPE yylloc; break; case 166: -#line 1309 "gram.y" +#line 1312 "gram.y" { (yyval.defelt) = (yyvsp[(1) - (1)].defelt); ;} break; case 167: -#line 1312 "gram.y" +#line 1315 "gram.y" { (yyval.defelt) = makeDefElem("sysid", (Node *) makeInteger((yyvsp[(2) - (2)].ival)), (yylsp[(1) - (2)])); ;} break; case 168: -#line 1316 "gram.y" +#line 1319 "gram.y" { (yyval.defelt) = makeDefElem("adminmembers", (Node *) (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)])); ;} break; case 169: -#line 1320 "gram.y" +#line 1323 "gram.y" { (yyval.defelt) = makeDefElem("rolemembers", (Node *) (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)])); ;} break; case 170: -#line 1324 "gram.y" +#line 1327 "gram.y" { (yyval.defelt) = makeDefElem("addroleto", (Node *) (yyvsp[(3) - (3)].list), (yylsp[(1) - (3)])); ;} break; case 171: -#line 1328 "gram.y" +#line 1331 "gram.y" { (yyval.defelt) = makeDefElem("addroleto", (Node *) (yyvsp[(3) - (3)].list), (yylsp[(1) - (3)])); ;} break; case 172: -#line 1342 "gram.y" +#line 1345 "gram.y" { CreateRoleStmt *n = makeNode(CreateRoleStmt); @@ -33067,7 +33016,7 @@ YYLTYPE yylloc; break; case 173: -#line 1361 "gram.y" +#line 1364 "gram.y" { AlterRoleStmt *n = makeNode(AlterRoleStmt); @@ -33079,7 +33028,7 @@ YYLTYPE yylloc; break; case 174: -#line 1370 "gram.y" +#line 1373 "gram.y" { AlterRoleStmt *n = makeNode(AlterRoleStmt); @@ -33091,17 +33040,17 @@ YYLTYPE yylloc; break; case 175: -#line 1381 "gram.y" +#line 1384 "gram.y" { (yyval.str) = NULL; ;} break; case 176: -#line 1382 "gram.y" +#line 1385 "gram.y" { (yyval.str) = (yyvsp[(3) - (3)].str); ;} break; case 177: -#line 1387 "gram.y" +#line 1390 "gram.y" { AlterRoleSetStmt *n = makeNode(AlterRoleSetStmt); @@ -33113,7 +33062,7 @@ YYLTYPE yylloc; break; case 178: -#line 1396 "gram.y" +#line 1399 "gram.y" { AlterRoleSetStmt *n = makeNode(AlterRoleSetStmt); @@ -33125,7 +33074,7 @@ YYLTYPE yylloc; break; case 179: -#line 1405 "gram.y" +#line 1408 "gram.y" { AlterRoleSetStmt *n = makeNode(AlterRoleSetStmt); @@ -33137,7 +33086,7 @@ YYLTYPE yylloc; break; case 180: -#line 1414 "gram.y" +#line 1417 "gram.y" { AlterRoleSetStmt *n = makeNode(AlterRoleSetStmt); @@ -33149,7 +33098,7 @@ YYLTYPE yylloc; break; case 181: -#line 1436 "gram.y" +#line 1439 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); @@ -33160,7 +33109,7 @@ YYLTYPE yylloc; break; case 182: -#line 1444 "gram.y" +#line 1447 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); @@ -33171,7 +33120,7 @@ YYLTYPE yylloc; break; case 183: -#line 1452 "gram.y" +#line 1455 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); @@ -33182,7 +33131,7 @@ YYLTYPE yylloc; break; case 184: -#line 1460 "gram.y" +#line 1463 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); @@ -33193,7 +33142,7 @@ YYLTYPE yylloc; break; case 185: -#line 1468 "gram.y" +#line 1471 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); @@ -33204,7 +33153,7 @@ YYLTYPE yylloc; break; case 186: -#line 1476 "gram.y" +#line 1479 "gram.y" { DropRoleStmt *n = makeNode(DropRoleStmt); @@ -33215,7 +33164,7 @@ YYLTYPE yylloc; break; case 187: -#line 1494 "gram.y" +#line 1497 "gram.y" { CreateRoleStmt *n = makeNode(CreateRoleStmt); @@ -33227,7 +33176,7 @@ YYLTYPE yylloc; break; case 188: -#line 1513 "gram.y" +#line 1516 "gram.y" { AlterRoleStmt *n = makeNode(AlterRoleStmt); @@ -33240,17 +33189,17 @@ YYLTYPE yylloc; break; case 189: -#line 1524 "gram.y" +#line 1527 "gram.y" { (yyval.ival) = +1; ;} break; case 190: -#line 1525 "gram.y" +#line 1528 "gram.y" { (yyval.ival) = -1; ;} break; case 191: -#line 1537 "gram.y" +#line 1540 "gram.y" { CreateSchemaStmt *n = makeNode(CreateSchemaStmt); @@ -33264,7 +33213,7 @@ YYLTYPE yylloc; break; case 192: -#line 1548 "gram.y" +#line 1551 "gram.y" { CreateSchemaStmt *n = makeNode(CreateSchemaStmt); @@ -33278,7 +33227,7 @@ YYLTYPE yylloc; break; case 193: -#line 1559 "gram.y" +#line 1562 "gram.y" { CreateSchemaStmt *n = makeNode(CreateSchemaStmt); @@ -33297,7 +33246,7 @@ YYLTYPE yylloc; break; case 194: -#line 1575 "gram.y" +#line 1578 "gram.y" { CreateSchemaStmt *n = makeNode(CreateSchemaStmt); @@ -33316,19 +33265,19 @@ YYLTYPE yylloc; break; case 195: -#line 1594 "gram.y" +#line 1597 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} break; case 196: -#line 1598 "gram.y" +#line 1601 "gram.y" { (yyval.list) = NIL; ;} break; case 203: -#line 1626 "gram.y" +#line 1629 "gram.y" { VariableSetStmt *n = (yyvsp[(2) - (2)].vsetstmt); @@ -33338,7 +33287,7 @@ YYLTYPE yylloc; break; case 204: -#line 1633 "gram.y" +#line 1636 "gram.y" { VariableSetStmt *n = (yyvsp[(3) - (3)].vsetstmt); @@ -33348,7 +33297,7 @@ YYLTYPE yylloc; break; case 205: -#line 1640 "gram.y" +#line 1643 "gram.y" { VariableSetStmt *n = (yyvsp[(3) - (3)].vsetstmt); @@ -33358,7 +33307,7 @@ YYLTYPE yylloc; break; case 206: -#line 1650 "gram.y" +#line 1653 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33372,7 +33321,7 @@ YYLTYPE yylloc; break; case 207: -#line 1661 "gram.y" +#line 1664 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33386,7 +33335,7 @@ YYLTYPE yylloc; break; case 209: -#line 1676 "gram.y" +#line 1679 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33399,7 +33348,7 @@ YYLTYPE yylloc; break; case 210: -#line 1686 "gram.y" +#line 1689 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33412,7 +33361,7 @@ YYLTYPE yylloc; break; case 211: -#line 1696 "gram.y" +#line 1699 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33424,7 +33373,7 @@ YYLTYPE yylloc; break; case 212: -#line 1705 "gram.y" +#line 1708 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33436,12 +33385,12 @@ YYLTYPE yylloc; break; case 213: -#line 1716 "gram.y" +#line 1719 "gram.y" {(yyval.vsetstmt) = (yyvsp[(1) - (1)].vsetstmt);;} break; case 214: -#line 1718 "gram.y" +#line 1721 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33453,7 +33402,7 @@ YYLTYPE yylloc; break; case 215: -#line 1728 "gram.y" +#line 1731 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33470,7 +33419,7 @@ YYLTYPE yylloc; break; case 216: -#line 1742 "gram.y" +#line 1745 "gram.y" { ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), @@ -33481,7 +33430,7 @@ YYLTYPE yylloc; break; case 217: -#line 1750 "gram.y" +#line 1753 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33494,7 +33443,7 @@ YYLTYPE yylloc; break; case 218: -#line 1760 "gram.y" +#line 1763 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_SET_VALUE; @@ -33505,7 +33454,7 @@ YYLTYPE yylloc; break; case 219: -#line 1768 "gram.y" +#line 1771 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33521,7 +33470,7 @@ YYLTYPE yylloc; break; case 220: -#line 1781 "gram.y" +#line 1784 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33534,7 +33483,7 @@ YYLTYPE yylloc; break; case 221: -#line 1791 "gram.y" +#line 1794 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_SET_VALUE; @@ -33545,7 +33494,7 @@ YYLTYPE yylloc; break; case 222: -#line 1799 "gram.y" +#line 1802 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33558,7 +33507,7 @@ YYLTYPE yylloc; break; case 223: -#line 1809 "gram.y" +#line 1812 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); n->kind = VAR_SET_VALUE; @@ -33569,7 +33518,7 @@ YYLTYPE yylloc; break; case 224: -#line 1817 "gram.y" +#line 1820 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33581,7 +33530,7 @@ YYLTYPE yylloc; break; case 225: -#line 1826 "gram.y" +#line 1829 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33595,7 +33544,7 @@ YYLTYPE yylloc; break; case 226: -#line 1838 "gram.y" +#line 1841 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33608,103 +33557,108 @@ YYLTYPE yylloc; break; case 227: -#line 1849 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +#line 1852 "gram.y" + { (yyval.str) = NameListToString((yyvsp[(1) - (1)].list)); ;} break; case 228: -#line 1851 "gram.y" - { (yyval.str) = psprintf("%s.%s", (yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].str)); ;} +#line 1856 "gram.y" + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; case 229: -#line 1854 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} +#line 1857 "gram.y" + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); ;} break; case 230: -#line 1855 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} +#line 1860 "gram.y" + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; case 231: -#line 1859 "gram.y" - { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); ;} +#line 1861 "gram.y" + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; case 232: -#line 1861 "gram.y" - { (yyval.node) = makeAConst((yyvsp[(1) - (1)].node), (yylsp[(1) - (1)])); ;} +#line 1865 "gram.y" + { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); ;} break; case 233: -#line 1863 "gram.y" - { (yyval.node) = makeParamRef((yyvsp[(1) - (1)].ival), (yylsp[(1) - (1)])); ;} +#line 1867 "gram.y" + { (yyval.node) = makeAConst((yyvsp[(1) - (1)].node), (yylsp[(1) - (1)])); ;} break; case 234: -#line 1866 "gram.y" - { (yyval.str) = "read uncommitted"; ;} +#line 1869 "gram.y" + { (yyval.node) = makeParamRef((yyvsp[(1) - (1)].ival), (yylsp[(1) - (1)])); ;} break; case 235: -#line 1867 "gram.y" - { (yyval.str) = "read committed"; ;} +#line 1872 "gram.y" + { (yyval.str) = "read uncommitted"; ;} break; case 236: -#line 1868 "gram.y" - { (yyval.str) = "repeatable read"; ;} +#line 1873 "gram.y" + { (yyval.str) = "read committed"; ;} break; case 237: -#line 1869 "gram.y" - { (yyval.str) = "serializable"; ;} +#line 1874 "gram.y" + { (yyval.str) = "repeatable read"; ;} break; case 238: -#line 1873 "gram.y" - { (yyval.str) = "true"; ;} +#line 1875 "gram.y" + { (yyval.str) = "serializable"; ;} break; case 239: -#line 1874 "gram.y" - { (yyval.str) = "false"; ;} +#line 1879 "gram.y" + { (yyval.str) = "true"; ;} break; case 240: -#line 1875 "gram.y" - { (yyval.str) = "on"; ;} +#line 1880 "gram.y" + { (yyval.str) = "false"; ;} break; case 241: #line 1881 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = "on"; ;} break; case 242: -#line 1894 "gram.y" +#line 1887 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + break; + + case 243: +#line 1900 "gram.y" { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); ;} break; - case 243: -#line 1898 "gram.y" + case 244: +#line 1904 "gram.y" { (yyval.node) = makeParamRef((yyvsp[(1) - (1)].ival), (yylsp[(1) - (1)])); ;} break; - case 244: -#line 1902 "gram.y" + case 245: +#line 1908 "gram.y" { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); ;} break; - case 245: -#line 1906 "gram.y" + case 246: +#line 1912 "gram.y" { TypeName *t = (yyvsp[(1) - (3)].typnam); @@ -33723,8 +33677,8 @@ YYLTYPE yylloc; ;} break; - case 246: -#line 1923 "gram.y" + case 247: +#line 1929 "gram.y" { TypeName *t = (yyvsp[(1) - (5)].typnam); @@ -33734,58 +33688,58 @@ YYLTYPE yylloc; ;} break; - case 247: -#line 1930 "gram.y" - { (yyval.node) = makeAConst((yyvsp[(1) - (1)].node), (yylsp[(1) - (1)])); ;} - break; - case 248: -#line 1931 "gram.y" - { (yyval.node) = NULL; ;} +#line 1936 "gram.y" + { (yyval.node) = makeAConst((yyvsp[(1) - (1)].node), (yylsp[(1) - (1)])); ;} break; case 249: -#line 1932 "gram.y" +#line 1937 "gram.y" { (yyval.node) = NULL; ;} break; case 250: -#line 1936 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +#line 1938 "gram.y" + { (yyval.node) = NULL; ;} break; case 251: -#line 1937 "gram.y" - { (yyval.str) = NULL; ;} +#line 1942 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 252: -#line 1938 "gram.y" +#line 1943 "gram.y" { (yyval.str) = NULL; ;} break; case 253: -#line 1942 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +#line 1944 "gram.y" + { (yyval.str) = NULL; ;} break; case 254: -#line 1943 "gram.y" +#line 1948 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 255: -#line 1947 "gram.y" - { (yyval.node) = (Node *) (yyvsp[(2) - (2)].vsetstmt); ;} +#line 1949 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 256: -#line 1951 "gram.y" - { (yyval.vsetstmt) = (yyvsp[(1) - (1)].vsetstmt); ;} +#line 1953 "gram.y" + { (yyval.node) = (Node *) (yyvsp[(2) - (2)].vsetstmt); ;} break; case 257: -#line 1953 "gram.y" +#line 1957 "gram.y" + { (yyval.vsetstmt) = (yyvsp[(1) - (1)].vsetstmt); ;} + break; + + case 258: +#line 1959 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33796,8 +33750,8 @@ YYLTYPE yylloc; ;} break; - case 258: -#line 1962 "gram.y" + case 259: +#line 1968 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33808,8 +33762,8 @@ YYLTYPE yylloc; ;} break; - case 259: -#line 1971 "gram.y" + case 260: +#line 1977 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33820,8 +33774,8 @@ YYLTYPE yylloc; ;} break; - case 260: -#line 1983 "gram.y" + case 261: +#line 1989 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33832,8 +33786,8 @@ YYLTYPE yylloc; ;} break; - case 261: -#line 1992 "gram.y" + case 262: +#line 1998 "gram.y" { VariableSetStmt *n = makeNode(VariableSetStmt); @@ -33843,28 +33797,28 @@ YYLTYPE yylloc; ;} break; - case 262: -#line 2003 "gram.y" + case 263: +#line 2009 "gram.y" { (yyval.vsetstmt) = (yyvsp[(2) - (2)].vsetstmt); ;} break; - case 263: -#line 2004 "gram.y" + case 264: +#line 2010 "gram.y" { (yyval.vsetstmt) = (VariableSetStmt *) (yyvsp[(1) - (1)].node); ;} break; - case 264: -#line 2009 "gram.y" + case 265: +#line 2015 "gram.y" { (yyval.vsetstmt) = (yyvsp[(2) - (2)].vsetstmt); ;} break; - case 265: -#line 2010 "gram.y" + case 266: +#line 2016 "gram.y" { (yyval.vsetstmt) = (VariableSetStmt *) (yyvsp[(1) - (1)].node); ;} break; - case 266: -#line 2016 "gram.y" + case 267: +#line 2022 "gram.y" { VariableShowStmt *n = makeNode(VariableShowStmt); @@ -33873,8 +33827,8 @@ YYLTYPE yylloc; ;} break; - case 267: -#line 2023 "gram.y" + case 268: +#line 2029 "gram.y" { VariableShowStmt *n = makeNode(VariableShowStmt); @@ -33883,8 +33837,8 @@ YYLTYPE yylloc; ;} break; - case 268: -#line 2030 "gram.y" + case 269: +#line 2036 "gram.y" { VariableShowStmt *n = makeNode(VariableShowStmt); @@ -33893,8 +33847,8 @@ YYLTYPE yylloc; ;} break; - case 269: -#line 2037 "gram.y" + case 270: +#line 2043 "gram.y" { VariableShowStmt *n = makeNode(VariableShowStmt); @@ -33903,8 +33857,8 @@ YYLTYPE yylloc; ;} break; - case 270: -#line 2044 "gram.y" + case 271: +#line 2050 "gram.y" { VariableShowStmt *n = makeNode(VariableShowStmt); @@ -33913,8 +33867,8 @@ YYLTYPE yylloc; ;} break; - case 271: -#line 2055 "gram.y" + case 272: +#line 2061 "gram.y" { ConstraintsSetStmt *n = makeNode(ConstraintsSetStmt); @@ -33924,28 +33878,28 @@ YYLTYPE yylloc; ;} break; - case 272: -#line 2065 "gram.y" + case 273: +#line 2071 "gram.y" { (yyval.list) = NIL; ;} break; - case 273: -#line 2066 "gram.y" + case 274: +#line 2072 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 274: -#line 2070 "gram.y" + case 275: +#line 2076 "gram.y" { (yyval.boolean) = true; ;} break; - case 275: -#line 2071 "gram.y" + case 276: +#line 2077 "gram.y" { (yyval.boolean) = false; ;} break; - case 276: -#line 2080 "gram.y" + case 277: +#line 2086 "gram.y" { CheckPointStmt *n = makeNode(CheckPointStmt); @@ -33953,8 +33907,8 @@ YYLTYPE yylloc; ;} break; - case 277: -#line 2096 "gram.y" + case 278: +#line 2102 "gram.y" { DiscardStmt *n = makeNode(DiscardStmt); @@ -33963,8 +33917,8 @@ YYLTYPE yylloc; ;} break; - case 278: -#line 2103 "gram.y" + case 279: +#line 2109 "gram.y" { DiscardStmt *n = makeNode(DiscardStmt); @@ -33973,8 +33927,8 @@ YYLTYPE yylloc; ;} break; - case 279: -#line 2110 "gram.y" + case 280: +#line 2116 "gram.y" { DiscardStmt *n = makeNode(DiscardStmt); @@ -33983,8 +33937,8 @@ YYLTYPE yylloc; ;} break; - case 280: -#line 2117 "gram.y" + case 281: +#line 2123 "gram.y" { DiscardStmt *n = makeNode(DiscardStmt); @@ -33993,8 +33947,8 @@ YYLTYPE yylloc; ;} break; - case 281: -#line 2124 "gram.y" + case 282: +#line 2130 "gram.y" { DiscardStmt *n = makeNode(DiscardStmt); @@ -34003,8 +33957,8 @@ YYLTYPE yylloc; ;} break; - case 282: -#line 2144 "gram.y" + case 283: +#line 2150 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34016,8 +33970,8 @@ YYLTYPE yylloc; ;} break; - case 283: -#line 2154 "gram.y" + case 284: +#line 2160 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34029,8 +33983,8 @@ YYLTYPE yylloc; ;} break; - case 284: -#line 2164 "gram.y" + case 285: +#line 2170 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34042,8 +33996,8 @@ YYLTYPE yylloc; ;} break; - case 285: -#line 2174 "gram.y" + case 286: +#line 2180 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34055,8 +34009,8 @@ YYLTYPE yylloc; ;} break; - case 286: -#line 2184 "gram.y" + case 287: +#line 2190 "gram.y" { AlterTableMoveAllStmt *n = makeNode(AlterTableMoveAllStmt); @@ -34070,8 +34024,8 @@ YYLTYPE yylloc; ;} break; - case 287: -#line 2196 "gram.y" + case 288: +#line 2202 "gram.y" { AlterTableMoveAllStmt *n = makeNode(AlterTableMoveAllStmt); @@ -34085,8 +34039,8 @@ YYLTYPE yylloc; ;} break; - case 288: -#line 2208 "gram.y" + case 289: +#line 2214 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34098,8 +34052,8 @@ YYLTYPE yylloc; ;} break; - case 289: -#line 2218 "gram.y" + case 290: +#line 2224 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34111,8 +34065,8 @@ YYLTYPE yylloc; ;} break; - case 290: -#line 2228 "gram.y" + case 291: +#line 2234 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34124,8 +34078,8 @@ YYLTYPE yylloc; ;} break; - case 291: -#line 2238 "gram.y" + case 292: +#line 2244 "gram.y" { AlterTableMoveAllStmt *n = makeNode(AlterTableMoveAllStmt); @@ -34139,8 +34093,8 @@ YYLTYPE yylloc; ;} break; - case 292: -#line 2250 "gram.y" + case 293: +#line 2256 "gram.y" { AlterTableMoveAllStmt *n = makeNode(AlterTableMoveAllStmt); @@ -34154,8 +34108,8 @@ YYLTYPE yylloc; ;} break; - case 293: -#line 2262 "gram.y" + case 294: +#line 2268 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34167,8 +34121,8 @@ YYLTYPE yylloc; ;} break; - case 294: -#line 2272 "gram.y" + case 295: +#line 2278 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34180,8 +34134,8 @@ YYLTYPE yylloc; ;} break; - case 295: -#line 2282 "gram.y" + case 296: +#line 2288 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34193,8 +34147,8 @@ YYLTYPE yylloc; ;} break; - case 296: -#line 2292 "gram.y" + case 297: +#line 2298 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34206,8 +34160,8 @@ YYLTYPE yylloc; ;} break; - case 297: -#line 2302 "gram.y" + case 298: +#line 2308 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34219,8 +34173,8 @@ YYLTYPE yylloc; ;} break; - case 298: -#line 2312 "gram.y" + case 299: +#line 2318 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34232,8 +34186,8 @@ YYLTYPE yylloc; ;} break; - case 299: -#line 2322 "gram.y" + case 300: +#line 2328 "gram.y" { AlterTableMoveAllStmt *n = makeNode(AlterTableMoveAllStmt); @@ -34247,8 +34201,8 @@ YYLTYPE yylloc; ;} break; - case 300: -#line 2334 "gram.y" + case 301: +#line 2340 "gram.y" { AlterTableMoveAllStmt *n = makeNode(AlterTableMoveAllStmt); @@ -34262,8 +34216,8 @@ YYLTYPE yylloc; ;} break; - case 301: -#line 2346 "gram.y" + case 302: +#line 2352 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34275,8 +34229,8 @@ YYLTYPE yylloc; ;} break; - case 302: -#line 2356 "gram.y" + case 303: +#line 2362 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -34288,18 +34242,18 @@ YYLTYPE yylloc; ;} break; - case 303: -#line 2368 "gram.y" + case 304: +#line 2374 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 304: -#line 2369 "gram.y" + case 305: +#line 2375 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 305: -#line 2375 "gram.y" + case 306: +#line 2381 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); PartitionCmd *cmd = makeNode(PartitionCmd); @@ -34314,8 +34268,8 @@ YYLTYPE yylloc; ;} break; - case 306: -#line 2389 "gram.y" + case 307: +#line 2395 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); PartitionCmd *cmd = makeNode(PartitionCmd); @@ -34330,8 +34284,8 @@ YYLTYPE yylloc; ;} break; - case 307: -#line 2402 "gram.y" + case 308: +#line 2408 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); PartitionCmd *cmd = makeNode(PartitionCmd); @@ -34345,8 +34299,8 @@ YYLTYPE yylloc; ;} break; - case 308: -#line 2418 "gram.y" + case 309: +#line 2424 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); PartitionCmd *cmd = makeNode(PartitionCmd); @@ -34361,8 +34315,8 @@ YYLTYPE yylloc; ;} break; - case 309: -#line 2435 "gram.y" + case 310: +#line 2441 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34373,8 +34327,8 @@ YYLTYPE yylloc; ;} break; - case 310: -#line 2445 "gram.y" + case 311: +#line 2451 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34385,8 +34339,8 @@ YYLTYPE yylloc; ;} break; - case 311: -#line 2455 "gram.y" + case 312: +#line 2461 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34397,8 +34351,8 @@ YYLTYPE yylloc; ;} break; - case 312: -#line 2465 "gram.y" + case 313: +#line 2471 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34409,8 +34363,8 @@ YYLTYPE yylloc; ;} break; - case 313: -#line 2475 "gram.y" + case 314: +#line 2481 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34421,8 +34375,8 @@ YYLTYPE yylloc; ;} break; - case 314: -#line 2485 "gram.y" + case 315: +#line 2491 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34432,8 +34386,8 @@ YYLTYPE yylloc; ;} break; - case 315: -#line 2494 "gram.y" + case 316: +#line 2500 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34443,8 +34397,8 @@ YYLTYPE yylloc; ;} break; - case 316: -#line 2503 "gram.y" + case 317: +#line 2509 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34455,8 +34409,8 @@ YYLTYPE yylloc; ;} break; - case 317: -#line 2513 "gram.y" + case 318: +#line 2519 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34466,8 +34420,8 @@ YYLTYPE yylloc; ;} break; - case 318: -#line 2522 "gram.y" + case 319: +#line 2528 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34478,8 +34432,8 @@ YYLTYPE yylloc; ;} break; - case 319: -#line 2532 "gram.y" + case 320: +#line 2538 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34490,8 +34444,8 @@ YYLTYPE yylloc; ;} break; - case 320: -#line 2542 "gram.y" + case 321: +#line 2548 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34508,8 +34462,8 @@ YYLTYPE yylloc; ;} break; - case 321: -#line 2558 "gram.y" + case 322: +#line 2564 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34520,8 +34474,8 @@ YYLTYPE yylloc; ;} break; - case 322: -#line 2568 "gram.y" + case 323: +#line 2574 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34532,8 +34486,8 @@ YYLTYPE yylloc; ;} break; - case 323: -#line 2578 "gram.y" + case 324: +#line 2584 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34544,8 +34498,8 @@ YYLTYPE yylloc; ;} break; - case 324: -#line 2588 "gram.y" + case 325: +#line 2594 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34556,8 +34510,8 @@ YYLTYPE yylloc; ;} break; - case 325: -#line 2598 "gram.y" + case 326: +#line 2604 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); Constraint *c = makeNode(Constraint); @@ -34575,8 +34529,8 @@ YYLTYPE yylloc; ;} break; - case 326: -#line 2615 "gram.y" + case 327: +#line 2621 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34587,8 +34541,8 @@ YYLTYPE yylloc; ;} break; - case 327: -#line 2625 "gram.y" + case 328: +#line 2631 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34599,8 +34553,8 @@ YYLTYPE yylloc; ;} break; - case 328: -#line 2635 "gram.y" + case 329: +#line 2641 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34611,8 +34565,8 @@ YYLTYPE yylloc; ;} break; - case 329: -#line 2645 "gram.y" + case 330: +#line 2651 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34624,8 +34578,8 @@ YYLTYPE yylloc; ;} break; - case 330: -#line 2656 "gram.y" + case 331: +#line 2662 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34637,8 +34591,8 @@ YYLTYPE yylloc; ;} break; - case 331: -#line 2670 "gram.y" + case 332: +#line 2676 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); ColumnDef *def = makeNode(ColumnDef); @@ -34655,8 +34609,8 @@ YYLTYPE yylloc; ;} break; - case 332: -#line 2686 "gram.y" + case 333: +#line 2692 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34667,8 +34621,8 @@ YYLTYPE yylloc; ;} break; - case 333: -#line 2696 "gram.y" + case 334: +#line 2702 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34678,8 +34632,8 @@ YYLTYPE yylloc; ;} break; - case 334: -#line 2705 "gram.y" + case 335: +#line 2711 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); ATAlterConstraint *c = makeNode(ATAlterConstraint); @@ -34711,8 +34665,8 @@ YYLTYPE yylloc; ;} break; - case 335: -#line 2736 "gram.y" + case 336: +#line 2742 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); ATAlterConstraint *c = makeNode(ATAlterConstraint); @@ -34727,8 +34681,8 @@ YYLTYPE yylloc; ;} break; - case 336: -#line 2750 "gram.y" + case 337: +#line 2756 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34738,8 +34692,8 @@ YYLTYPE yylloc; ;} break; - case 337: -#line 2759 "gram.y" + case 338: +#line 2765 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34751,8 +34705,8 @@ YYLTYPE yylloc; ;} break; - case 338: -#line 2770 "gram.y" + case 339: +#line 2776 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34764,8 +34718,8 @@ YYLTYPE yylloc; ;} break; - case 339: -#line 2781 "gram.y" + case 340: +#line 2787 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34774,8 +34728,8 @@ YYLTYPE yylloc; ;} break; - case 340: -#line 2789 "gram.y" + case 341: +#line 2795 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34785,8 +34739,8 @@ YYLTYPE yylloc; ;} break; - case 341: -#line 2798 "gram.y" + case 342: +#line 2804 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34796,8 +34750,8 @@ YYLTYPE yylloc; ;} break; - case 342: -#line 2807 "gram.y" + case 343: +#line 2813 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34806,8 +34760,8 @@ YYLTYPE yylloc; ;} break; - case 343: -#line 2815 "gram.y" + case 344: +#line 2821 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34816,8 +34770,8 @@ YYLTYPE yylloc; ;} break; - case 344: -#line 2823 "gram.y" + case 345: +#line 2829 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34827,8 +34781,8 @@ YYLTYPE yylloc; ;} break; - case 345: -#line 2832 "gram.y" + case 346: +#line 2838 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34838,8 +34792,8 @@ YYLTYPE yylloc; ;} break; - case 346: -#line 2841 "gram.y" + case 347: +#line 2847 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34849,8 +34803,8 @@ YYLTYPE yylloc; ;} break; - case 347: -#line 2850 "gram.y" + case 348: +#line 2856 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34859,8 +34813,8 @@ YYLTYPE yylloc; ;} break; - case 348: -#line 2858 "gram.y" + case 349: +#line 2864 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34869,8 +34823,8 @@ YYLTYPE yylloc; ;} break; - case 349: -#line 2866 "gram.y" + case 350: +#line 2872 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34880,8 +34834,8 @@ YYLTYPE yylloc; ;} break; - case 350: -#line 2875 "gram.y" + case 351: +#line 2881 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34890,8 +34844,8 @@ YYLTYPE yylloc; ;} break; - case 351: -#line 2883 "gram.y" + case 352: +#line 2889 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34900,8 +34854,8 @@ YYLTYPE yylloc; ;} break; - case 352: -#line 2891 "gram.y" + case 353: +#line 2897 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34911,8 +34865,8 @@ YYLTYPE yylloc; ;} break; - case 353: -#line 2900 "gram.y" + case 354: +#line 2906 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34922,8 +34876,8 @@ YYLTYPE yylloc; ;} break; - case 354: -#line 2909 "gram.y" + case 355: +#line 2915 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34933,8 +34887,8 @@ YYLTYPE yylloc; ;} break; - case 355: -#line 2918 "gram.y" + case 356: +#line 2924 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34944,8 +34898,8 @@ YYLTYPE yylloc; ;} break; - case 356: -#line 2927 "gram.y" + case 357: +#line 2933 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34955,8 +34909,8 @@ YYLTYPE yylloc; ;} break; - case 357: -#line 2936 "gram.y" + case 358: +#line 2942 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34966,8 +34920,8 @@ YYLTYPE yylloc; ;} break; - case 358: -#line 2945 "gram.y" + case 359: +#line 2951 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); TypeName *def = makeTypeNameFromNameList((yyvsp[(2) - (2)].list)); @@ -34979,8 +34933,8 @@ YYLTYPE yylloc; ;} break; - case 359: -#line 2956 "gram.y" + case 360: +#line 2962 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -34989,8 +34943,8 @@ YYLTYPE yylloc; ;} break; - case 360: -#line 2964 "gram.y" + case 361: +#line 2970 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35000,8 +34954,8 @@ YYLTYPE yylloc; ;} break; - case 361: -#line 2973 "gram.y" + case 362: +#line 2979 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35011,8 +34965,8 @@ YYLTYPE yylloc; ;} break; - case 362: -#line 2982 "gram.y" + case 363: +#line 2988 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35022,8 +34976,8 @@ YYLTYPE yylloc; ;} break; - case 363: -#line 2991 "gram.y" + case 364: +#line 2997 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35033,8 +34987,8 @@ YYLTYPE yylloc; ;} break; - case 364: -#line 3000 "gram.y" + case 365: +#line 3006 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35044,8 +34998,8 @@ YYLTYPE yylloc; ;} break; - case 365: -#line 3009 "gram.y" + case 366: +#line 3015 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35055,8 +35009,8 @@ YYLTYPE yylloc; ;} break; - case 366: -#line 3018 "gram.y" + case 367: +#line 3024 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35065,8 +35019,8 @@ YYLTYPE yylloc; ;} break; - case 367: -#line 3026 "gram.y" + case 368: +#line 3032 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35075,8 +35029,8 @@ YYLTYPE yylloc; ;} break; - case 368: -#line 3034 "gram.y" + case 369: +#line 3040 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35085,8 +35039,8 @@ YYLTYPE yylloc; ;} break; - case 369: -#line 3042 "gram.y" + case 370: +#line 3048 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35095,8 +35049,8 @@ YYLTYPE yylloc; ;} break; - case 370: -#line 3049 "gram.y" + case 371: +#line 3055 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35106,18 +35060,18 @@ YYLTYPE yylloc; ;} break; - case 371: -#line 3059 "gram.y" + case 372: +#line 3065 "gram.y" { (yyval.node) = (yyvsp[(3) - (3)].node); ;} break; - case 372: -#line 3060 "gram.y" + case 373: +#line 3066 "gram.y" { (yyval.node) = NULL; ;} break; - case 373: -#line 3065 "gram.y" + case 374: +#line 3071 "gram.y" { CollateClause *n = makeNode(CollateClause); @@ -35128,23 +35082,23 @@ YYLTYPE yylloc; ;} break; - case 374: -#line 3073 "gram.y" + case 375: +#line 3079 "gram.y" { (yyval.node) = NULL; ;} break; - case 375: -#line 3077 "gram.y" + case 376: +#line 3083 "gram.y" { (yyval.node) = (yyvsp[(2) - (2)].node); ;} break; - case 376: -#line 3078 "gram.y" + case 377: +#line 3084 "gram.y" { (yyval.node) = NULL; ;} break; - case 377: -#line 3083 "gram.y" + case 378: +#line 3089 "gram.y" { ReplicaIdentityStmt *n = makeNode(ReplicaIdentityStmt); @@ -35154,8 +35108,8 @@ YYLTYPE yylloc; ;} break; - case 378: -#line 3091 "gram.y" + case 379: +#line 3097 "gram.y" { ReplicaIdentityStmt *n = makeNode(ReplicaIdentityStmt); @@ -35165,8 +35119,8 @@ YYLTYPE yylloc; ;} break; - case 379: -#line 3099 "gram.y" + case 380: +#line 3105 "gram.y" { ReplicaIdentityStmt *n = makeNode(ReplicaIdentityStmt); @@ -35176,8 +35130,8 @@ YYLTYPE yylloc; ;} break; - case 380: -#line 3107 "gram.y" + case 381: +#line 3113 "gram.y" { ReplicaIdentityStmt *n = makeNode(ReplicaIdentityStmt); @@ -35187,86 +35141,86 @@ YYLTYPE yylloc; ;} break; - case 381: -#line 3117 "gram.y" + case 382: +#line 3123 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 382: -#line 3120 "gram.y" + case 383: +#line 3126 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 383: -#line 3121 "gram.y" + case 384: +#line 3127 "gram.y" { (yyval.list) = NIL; ;} break; - case 384: -#line 3125 "gram.y" + case 385: +#line 3131 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 385: -#line 3126 "gram.y" + case 386: +#line 3132 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 386: -#line 3132 "gram.y" + case 387: +#line 3138 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), (Node *) (yyvsp[(3) - (3)].node), (yylsp[(1) - (3)])); ;} break; - case 387: -#line 3136 "gram.y" + case 388: +#line 3142 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (1)].str), NULL, (yylsp[(1) - (1)])); ;} break; - case 388: -#line 3140 "gram.y" + case 389: +#line 3146 "gram.y" { (yyval.defelt) = makeDefElemExtended((yyvsp[(1) - (5)].str), (yyvsp[(3) - (5)].str), (Node *) (yyvsp[(5) - (5)].node), DEFELEM_UNSPEC, (yylsp[(1) - (5)])); ;} break; - case 389: -#line 3145 "gram.y" + case 390: +#line 3151 "gram.y" { (yyval.defelt) = makeDefElemExtended((yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].str), NULL, DEFELEM_UNSPEC, (yylsp[(1) - (3)])); ;} break; - case 390: -#line 3152 "gram.y" + case 391: +#line 3158 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 391: -#line 3154 "gram.y" + case 392: +#line 3160 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 392: -#line 3159 "gram.y" + case 393: +#line 3165 "gram.y" { (yyval.defelt) = makeDefElem("restart", NULL, (yylsp[(1) - (1)])); ;} break; - case 393: -#line 3163 "gram.y" + case 394: +#line 3169 "gram.y" { (yyval.defelt) = makeDefElem("restart", (Node *) (yyvsp[(3) - (3)].node), (yylsp[(1) - (3)])); ;} break; - case 394: -#line 3167 "gram.y" + case 395: +#line 3173 "gram.y" { if (strcmp((yyvsp[(2) - (2)].defelt)->defname, "as") == 0 || strcmp((yyvsp[(2) - (2)].defelt)->defname, "restart") == 0 || @@ -35279,35 +35233,35 @@ YYLTYPE yylloc; ;} break; - case 395: -#line 3178 "gram.y" + case 396: +#line 3184 "gram.y" { (yyval.defelt) = makeDefElem("generated", (Node *) makeInteger((yyvsp[(3) - (3)].ival)), (yylsp[(1) - (3)])); ;} break; - case 396: -#line 3184 "gram.y" + case 397: +#line 3190 "gram.y" { (yyval.node) = (Node *) makeInteger((yyvsp[(1) - (1)].ival)); ;} break; - case 397: -#line 3185 "gram.y" + case 398: +#line 3191 "gram.y" { (yyval.node) = NULL; ;} break; - case 398: -#line 3189 "gram.y" + case 399: +#line 3195 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 399: -#line 3190 "gram.y" + case 400: +#line 3196 "gram.y" { (yyval.str) = NULL; ;} break; - case 400: -#line 3196 "gram.y" + case 401: +#line 3202 "gram.y" { ListCell *lc; PartitionBoundSpec *n = makeNode(PartitionBoundSpec); @@ -35362,8 +35316,8 @@ YYLTYPE yylloc; ;} break; - case 401: -#line 3251 "gram.y" + case 402: +#line 3257 "gram.y" { PartitionBoundSpec *n = makeNode(PartitionBoundSpec); @@ -35376,8 +35330,8 @@ YYLTYPE yylloc; ;} break; - case 402: -#line 3264 "gram.y" + case 403: +#line 3270 "gram.y" { PartitionBoundSpec *n = makeNode(PartitionBoundSpec); @@ -35391,8 +35345,8 @@ YYLTYPE yylloc; ;} break; - case 403: -#line 3278 "gram.y" + case 404: +#line 3284 "gram.y" { PartitionBoundSpec *n = makeNode(PartitionBoundSpec); @@ -35403,29 +35357,29 @@ YYLTYPE yylloc; ;} break; - case 404: -#line 3290 "gram.y" + case 405: +#line 3296 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (2)].str), (Node *) makeInteger((yyvsp[(2) - (2)].ival)), (yylsp[(1) - (2)])); ;} break; - case 405: -#line 3297 "gram.y" + case 406: +#line 3303 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 406: -#line 3301 "gram.y" + case 407: +#line 3307 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 407: -#line 3315 "gram.y" + case 408: +#line 3321 "gram.y" { AlterTableStmt *n = makeNode(AlterTableStmt); @@ -35437,18 +35391,18 @@ YYLTYPE yylloc; ;} break; - case 408: -#line 3327 "gram.y" + case 409: +#line 3333 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 409: -#line 3328 "gram.y" + case 410: +#line 3334 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 410: -#line 3334 "gram.y" + case 411: +#line 3340 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35459,8 +35413,8 @@ YYLTYPE yylloc; ;} break; - case 411: -#line 3344 "gram.y" + case 412: +#line 3350 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35472,8 +35426,8 @@ YYLTYPE yylloc; ;} break; - case 412: -#line 3355 "gram.y" + case 413: +#line 3361 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); @@ -35485,8 +35439,8 @@ YYLTYPE yylloc; ;} break; - case 413: -#line 3366 "gram.y" + case 414: +#line 3372 "gram.y" { AlterTableCmd *n = makeNode(AlterTableCmd); ColumnDef *def = makeNode(ColumnDef); @@ -35504,8 +35458,8 @@ YYLTYPE yylloc; ;} break; - case 414: -#line 3393 "gram.y" + case 415: +#line 3399 "gram.y" { ClosePortalStmt *n = makeNode(ClosePortalStmt); @@ -35514,8 +35468,8 @@ YYLTYPE yylloc; ;} break; - case 415: -#line 3400 "gram.y" + case 416: +#line 3406 "gram.y" { ClosePortalStmt *n = makeNode(ClosePortalStmt); @@ -35524,8 +35478,8 @@ YYLTYPE yylloc; ;} break; - case 416: -#line 3436 "gram.y" + case 417: +#line 3442 "gram.y" { CopyStmt *n = makeNode(CopyStmt); @@ -35561,8 +35515,8 @@ YYLTYPE yylloc; ;} break; - case 417: -#line 3470 "gram.y" + case 418: +#line 3476 "gram.y" { CopyStmt *n = makeNode(CopyStmt); @@ -35584,262 +35538,262 @@ YYLTYPE yylloc; ;} break; - case 418: -#line 3492 "gram.y" + case 419: +#line 3498 "gram.y" { (yyval.boolean) = true; ;} break; - case 419: -#line 3493 "gram.y" + case 420: +#line 3499 "gram.y" { (yyval.boolean) = false; ;} break; - case 420: -#line 3497 "gram.y" + case 421: +#line 3503 "gram.y" { (yyval.boolean) = true; ;} break; - case 421: -#line 3498 "gram.y" + case 422: +#line 3504 "gram.y" { (yyval.boolean) = false; ;} break; - case 422: -#line 3507 "gram.y" + case 423: +#line 3513 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 423: -#line 3508 "gram.y" + case 424: +#line 3514 "gram.y" { (yyval.str) = NULL; ;} break; - case 424: -#line 3509 "gram.y" + case 425: +#line 3515 "gram.y" { (yyval.str) = NULL; ;} break; - case 425: -#line 3512 "gram.y" + case 426: +#line 3518 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 426: -#line 3513 "gram.y" + case 427: +#line 3519 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 427: -#line 3518 "gram.y" + case 428: +#line 3524 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 428: -#line 3519 "gram.y" + case 429: +#line 3525 "gram.y" { (yyval.list) = NIL; ;} break; - case 429: -#line 3524 "gram.y" + case 430: +#line 3530 "gram.y" { (yyval.defelt) = makeDefElem("format", (Node *) makeString("binary"), (yylsp[(1) - (1)])); ;} break; - case 430: -#line 3528 "gram.y" + case 431: +#line 3534 "gram.y" { (yyval.defelt) = makeDefElem("freeze", (Node *) makeBoolean(true), (yylsp[(1) - (1)])); ;} break; - case 431: -#line 3532 "gram.y" + case 432: +#line 3538 "gram.y" { (yyval.defelt) = makeDefElem("delimiter", (Node *) makeString((yyvsp[(3) - (3)].str)), (yylsp[(1) - (3)])); ;} break; - case 432: -#line 3536 "gram.y" + case 433: +#line 3542 "gram.y" { (yyval.defelt) = makeDefElem("null", (Node *) makeString((yyvsp[(3) - (3)].str)), (yylsp[(1) - (3)])); ;} break; - case 433: -#line 3540 "gram.y" + case 434: +#line 3546 "gram.y" { (yyval.defelt) = makeDefElem("format", (Node *) makeString("csv"), (yylsp[(1) - (1)])); ;} break; - case 434: -#line 3544 "gram.y" + case 435: +#line 3550 "gram.y" { (yyval.defelt) = makeDefElem("header", (Node *) makeBoolean(true), (yylsp[(1) - (1)])); ;} break; - case 435: -#line 3548 "gram.y" + case 436: +#line 3554 "gram.y" { (yyval.defelt) = makeDefElem("quote", (Node *) makeString((yyvsp[(3) - (3)].str)), (yylsp[(1) - (3)])); ;} break; - case 436: -#line 3552 "gram.y" + case 437: +#line 3558 "gram.y" { (yyval.defelt) = makeDefElem("escape", (Node *) makeString((yyvsp[(3) - (3)].str)), (yylsp[(1) - (3)])); ;} break; - case 437: -#line 3556 "gram.y" + case 438: +#line 3562 "gram.y" { (yyval.defelt) = makeDefElem("force_quote", (Node *) (yyvsp[(3) - (3)].list), (yylsp[(1) - (3)])); ;} break; - case 438: -#line 3560 "gram.y" + case 439: +#line 3566 "gram.y" { (yyval.defelt) = makeDefElem("force_quote", (Node *) makeNode(A_Star), (yylsp[(1) - (3)])); ;} break; - case 439: -#line 3564 "gram.y" + case 440: +#line 3570 "gram.y" { (yyval.defelt) = makeDefElem("force_not_null", (Node *) (yyvsp[(4) - (4)].list), (yylsp[(1) - (4)])); ;} break; - case 440: -#line 3568 "gram.y" + case 441: +#line 3574 "gram.y" { (yyval.defelt) = makeDefElem("force_not_null", (Node *) makeNode(A_Star), (yylsp[(1) - (4)])); ;} break; - case 441: -#line 3572 "gram.y" + case 442: +#line 3578 "gram.y" { (yyval.defelt) = makeDefElem("force_null", (Node *) (yyvsp[(3) - (3)].list), (yylsp[(1) - (3)])); ;} break; - case 442: -#line 3576 "gram.y" + case 443: +#line 3582 "gram.y" { (yyval.defelt) = makeDefElem("force_null", (Node *) makeNode(A_Star), (yylsp[(1) - (3)])); ;} break; - case 443: -#line 3580 "gram.y" + case 444: +#line 3586 "gram.y" { (yyval.defelt) = makeDefElem("encoding", (Node *) makeString((yyvsp[(2) - (2)].str)), (yylsp[(1) - (2)])); ;} break; - case 444: -#line 3589 "gram.y" + case 445: +#line 3595 "gram.y" { (yyval.defelt) = makeDefElem("format", (Node *) makeString("binary"), (yylsp[(1) - (1)])); ;} break; - case 445: -#line 3592 "gram.y" + case 446: +#line 3598 "gram.y" { (yyval.defelt) = NULL; ;} break; - case 446: -#line 3597 "gram.y" + case 447: +#line 3603 "gram.y" { (yyval.defelt) = makeDefElem("delimiter", (Node *) makeString((yyvsp[(3) - (3)].str)), (yylsp[(2) - (3)])); ;} break; - case 447: -#line 3600 "gram.y" + case 448: +#line 3606 "gram.y" { (yyval.defelt) = NULL; ;} break; - case 450: -#line 3611 "gram.y" + case 451: +#line 3617 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 451: -#line 3615 "gram.y" + case 452: +#line 3621 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 452: -#line 3622 "gram.y" + case 453: +#line 3628 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 453: -#line 3628 "gram.y" + case 454: +#line 3634 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} break; - case 454: -#line 3629 "gram.y" + case 455: +#line 3635 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].node); ;} break; - case 455: -#line 3630 "gram.y" + case 456: +#line 3636 "gram.y" { (yyval.node) = (Node *) makeNode(A_Star); ;} break; - case 456: -#line 3631 "gram.y" + case 457: +#line 3637 "gram.y" { (yyval.node) = (Node *) makeString("default"); ;} break; - case 457: -#line 3632 "gram.y" + case 458: +#line 3638 "gram.y" { (yyval.node) = (Node *) (yyvsp[(2) - (3)].list); ;} break; - case 458: -#line 3633 "gram.y" + case 459: +#line 3639 "gram.y" { (yyval.node) = NULL; ;} break; - case 459: -#line 3638 "gram.y" + case 460: +#line 3644 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 460: -#line 3642 "gram.y" + case 461: +#line 3648 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 461: -#line 3649 "gram.y" + case 462: +#line 3655 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} break; - case 462: -#line 3663 "gram.y" + case 463: +#line 3669 "gram.y" { CreateStmt *n = makeNode(CreateStmt); @@ -35859,8 +35813,8 @@ YYLTYPE yylloc; ;} break; - case 463: -#line 3683 "gram.y" + case 464: +#line 3689 "gram.y" { CreateStmt *n = makeNode(CreateStmt); @@ -35880,8 +35834,8 @@ YYLTYPE yylloc; ;} break; - case 464: -#line 3703 "gram.y" + case 465: +#line 3709 "gram.y" { CreateStmt *n = makeNode(CreateStmt); @@ -35902,8 +35856,8 @@ YYLTYPE yylloc; ;} break; - case 465: -#line 3724 "gram.y" + case 466: +#line 3730 "gram.y" { CreateStmt *n = makeNode(CreateStmt); @@ -35924,8 +35878,8 @@ YYLTYPE yylloc; ;} break; - case 466: -#line 3745 "gram.y" + case 467: +#line 3751 "gram.y" { CreateStmt *n = makeNode(CreateStmt); @@ -35946,8 +35900,8 @@ YYLTYPE yylloc; ;} break; - case 467: -#line 3766 "gram.y" + case 468: +#line 3772 "gram.y" { CreateStmt *n = makeNode(CreateStmt); @@ -35968,28 +35922,28 @@ YYLTYPE yylloc; ;} break; - case 468: -#line 3797 "gram.y" - { (yyval.ival) = RELPERSISTENCE_TEMP; ;} - break; - case 469: -#line 3798 "gram.y" +#line 3803 "gram.y" { (yyval.ival) = RELPERSISTENCE_TEMP; ;} break; case 470: -#line 3799 "gram.y" +#line 3804 "gram.y" { (yyval.ival) = RELPERSISTENCE_TEMP; ;} break; case 471: -#line 3800 "gram.y" +#line 3805 "gram.y" { (yyval.ival) = RELPERSISTENCE_TEMP; ;} break; case 472: -#line 3802 "gram.y" +#line 3806 "gram.y" + { (yyval.ival) = RELPERSISTENCE_TEMP; ;} + break; + + case 473: +#line 3808 "gram.y" { ereport(WARNING, (errmsg("GLOBAL is deprecated in temporary table creation"), @@ -35998,8 +35952,8 @@ YYLTYPE yylloc; ;} break; - case 473: -#line 3809 "gram.y" + case 474: +#line 3815 "gram.y" { ereport(WARNING, (errmsg("GLOBAL is deprecated in temporary table creation"), @@ -36008,91 +35962,91 @@ YYLTYPE yylloc; ;} break; - case 474: -#line 3815 "gram.y" + case 475: +#line 3821 "gram.y" { (yyval.ival) = RELPERSISTENCE_UNLOGGED; ;} break; - case 475: -#line 3816 "gram.y" + case 476: +#line 3822 "gram.y" { (yyval.ival) = RELPERSISTENCE_PERMANENT; ;} break; - case 476: -#line 3820 "gram.y" + case 477: +#line 3826 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 477: -#line 3821 "gram.y" + case 478: +#line 3827 "gram.y" { (yyval.list) = NIL; ;} break; - case 478: -#line 3825 "gram.y" + case 479: +#line 3831 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 479: -#line 3826 "gram.y" + case 480: +#line 3832 "gram.y" { (yyval.list) = NIL; ;} break; - case 480: -#line 3831 "gram.y" + case 481: +#line 3837 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 481: -#line 3835 "gram.y" + case 482: +#line 3841 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 482: -#line 3842 "gram.y" + case 483: +#line 3848 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 483: -#line 3846 "gram.y" + case 484: +#line 3852 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 484: -#line 3852 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} - break; - case 485: -#line 3853 "gram.y" +#line 3858 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 486: -#line 3854 "gram.y" +#line 3859 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 487: -#line 3858 "gram.y" +#line 3860 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 488: -#line 3859 "gram.y" +#line 3864 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 489: -#line 3863 "gram.y" +#line 3865 "gram.y" + { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + break; + + case 490: +#line 3869 "gram.y" { ColumnDef *n = makeNode(ColumnDef); @@ -36116,8 +36070,8 @@ YYLTYPE yylloc; ;} break; - case 490: -#line 3887 "gram.y" + case 491: +#line 3893 "gram.y" { ColumnDef *n = makeNode(ColumnDef); @@ -36138,8 +36092,8 @@ YYLTYPE yylloc; ;} break; - case 491: -#line 3906 "gram.y" + case 492: +#line 3912 "gram.y" { ColumnDef *n = makeNode(ColumnDef); @@ -36160,58 +36114,58 @@ YYLTYPE yylloc; ;} break; - case 492: -#line 3927 "gram.y" + case 493: +#line 3933 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; - case 493: -#line 3928 "gram.y" + case 494: +#line 3934 "gram.y" { (yyval.str) = pstrdup("default"); ;} break; - case 494: -#line 3932 "gram.y" + case 495: +#line 3938 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 495: -#line 3933 "gram.y" + case 496: +#line 3939 "gram.y" { (yyval.str) = NULL; ;} break; - case 496: -#line 3937 "gram.y" + case 497: +#line 3943 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; - case 497: -#line 3938 "gram.y" + case 498: +#line 3944 "gram.y" { (yyval.str) = pstrdup("default"); ;} break; - case 498: -#line 3942 "gram.y" + case 499: +#line 3948 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 499: -#line 3943 "gram.y" + case 500: +#line 3949 "gram.y" { (yyval.str) = NULL; ;} break; - case 500: -#line 3947 "gram.y" + case 501: +#line 3953 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} break; - case 501: -#line 3948 "gram.y" + case 502: +#line 3954 "gram.y" { (yyval.list) = NIL; ;} break; - case 502: -#line 3953 "gram.y" + case 503: +#line 3959 "gram.y" { Constraint *n = castNode(Constraint, (yyvsp[(3) - (3)].node)); @@ -36221,18 +36175,18 @@ YYLTYPE yylloc; ;} break; - case 503: -#line 3960 "gram.y" + case 504: +#line 3966 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 504: -#line 3961 "gram.y" + case 505: +#line 3967 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 505: -#line 3963 "gram.y" + case 506: +#line 3969 "gram.y" { /* * Note: the CollateClause is momentarily included in @@ -36248,8 +36202,8 @@ YYLTYPE yylloc; ;} break; - case 506: -#line 3995 "gram.y" + case 507: +#line 4001 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36263,8 +36217,8 @@ YYLTYPE yylloc; ;} break; - case 507: -#line 4007 "gram.y" + case 508: +#line 4013 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36274,8 +36228,8 @@ YYLTYPE yylloc; ;} break; - case 508: -#line 4015 "gram.y" + case 509: +#line 4021 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36290,8 +36244,8 @@ YYLTYPE yylloc; ;} break; - case 509: -#line 4028 "gram.y" + case 510: +#line 4034 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36305,8 +36259,8 @@ YYLTYPE yylloc; ;} break; - case 510: -#line 4040 "gram.y" + case 511: +#line 4046 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36322,8 +36276,8 @@ YYLTYPE yylloc; ;} break; - case 511: -#line 4054 "gram.y" + case 512: +#line 4060 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36335,8 +36289,8 @@ YYLTYPE yylloc; ;} break; - case 512: -#line 4064 "gram.y" + case 513: +#line 4070 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36348,8 +36302,8 @@ YYLTYPE yylloc; ;} break; - case 513: -#line 4074 "gram.y" + case 514: +#line 4080 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36376,8 +36330,8 @@ YYLTYPE yylloc; ;} break; - case 514: -#line 4099 "gram.y" + case 515: +#line 4105 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36397,48 +36351,48 @@ YYLTYPE yylloc; ;} break; - case 515: -#line 4119 "gram.y" + case 516: +#line 4125 "gram.y" { (yyval.boolean) = true; ;} break; - case 516: -#line 4120 "gram.y" + case 517: +#line 4126 "gram.y" { (yyval.boolean) = false; ;} break; - case 517: -#line 4121 "gram.y" + case 518: +#line 4127 "gram.y" { (yyval.boolean) = true; ;} break; - case 518: -#line 4125 "gram.y" + case 519: +#line 4131 "gram.y" { (yyval.ival) = ATTRIBUTE_IDENTITY_ALWAYS; ;} break; - case 519: -#line 4126 "gram.y" + case 520: +#line 4132 "gram.y" { (yyval.ival) = ATTRIBUTE_IDENTITY_BY_DEFAULT; ;} break; - case 520: -#line 4130 "gram.y" + case 521: +#line 4136 "gram.y" { (yyval.ival) = ATTRIBUTE_GENERATED_STORED; ;} break; - case 521: -#line 4131 "gram.y" + case 522: +#line 4137 "gram.y" { (yyval.ival) = ATTRIBUTE_GENERATED_VIRTUAL; ;} break; - case 522: -#line 4132 "gram.y" + case 523: +#line 4138 "gram.y" { (yyval.ival) = ATTRIBUTE_GENERATED_VIRTUAL; ;} break; - case 523: -#line 4152 "gram.y" + case 524: +#line 4158 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36448,8 +36402,8 @@ YYLTYPE yylloc; ;} break; - case 524: -#line 4160 "gram.y" + case 525: +#line 4166 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36459,8 +36413,8 @@ YYLTYPE yylloc; ;} break; - case 525: -#line 4168 "gram.y" + case 526: +#line 4174 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36470,8 +36424,8 @@ YYLTYPE yylloc; ;} break; - case 526: -#line 4176 "gram.y" + case 527: +#line 4182 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36481,8 +36435,8 @@ YYLTYPE yylloc; ;} break; - case 527: -#line 4184 "gram.y" + case 528: +#line 4190 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36492,8 +36446,8 @@ YYLTYPE yylloc; ;} break; - case 528: -#line 4192 "gram.y" + case 529: +#line 4198 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36503,8 +36457,8 @@ YYLTYPE yylloc; ;} break; - case 529: -#line 4204 "gram.y" + case 530: +#line 4210 "gram.y" { TableLikeClause *n = makeNode(TableLikeClause); @@ -36515,73 +36469,73 @@ YYLTYPE yylloc; ;} break; - case 530: -#line 4215 "gram.y" + case 531: +#line 4221 "gram.y" { (yyval.ival) = (yyvsp[(1) - (3)].ival) | (yyvsp[(3) - (3)].ival); ;} break; - case 531: -#line 4216 "gram.y" + case 532: +#line 4222 "gram.y" { (yyval.ival) = (yyvsp[(1) - (3)].ival) & ~(yyvsp[(3) - (3)].ival); ;} break; - case 532: -#line 4217 "gram.y" + case 533: +#line 4223 "gram.y" { (yyval.ival) = 0; ;} break; - case 533: -#line 4221 "gram.y" + case 534: +#line 4227 "gram.y" { (yyval.ival) = CREATE_TABLE_LIKE_COMMENTS; ;} break; - case 534: -#line 4222 "gram.y" + case 535: +#line 4228 "gram.y" { (yyval.ival) = CREATE_TABLE_LIKE_COMPRESSION; ;} break; - case 535: -#line 4223 "gram.y" + case 536: +#line 4229 "gram.y" { (yyval.ival) = CREATE_TABLE_LIKE_CONSTRAINTS; ;} break; - case 536: -#line 4224 "gram.y" + case 537: +#line 4230 "gram.y" { (yyval.ival) = CREATE_TABLE_LIKE_DEFAULTS; ;} break; - case 537: -#line 4225 "gram.y" + case 538: +#line 4231 "gram.y" { (yyval.ival) = CREATE_TABLE_LIKE_IDENTITY; ;} break; - case 538: -#line 4226 "gram.y" + case 539: +#line 4232 "gram.y" { (yyval.ival) = CREATE_TABLE_LIKE_GENERATED; ;} break; - case 539: -#line 4227 "gram.y" + case 540: +#line 4233 "gram.y" { (yyval.ival) = CREATE_TABLE_LIKE_INDEXES; ;} break; - case 540: -#line 4228 "gram.y" + case 541: +#line 4234 "gram.y" { (yyval.ival) = CREATE_TABLE_LIKE_STATISTICS; ;} break; - case 541: -#line 4229 "gram.y" + case 542: +#line 4235 "gram.y" { (yyval.ival) = CREATE_TABLE_LIKE_STORAGE; ;} break; - case 542: -#line 4230 "gram.y" + case 543: +#line 4236 "gram.y" { (yyval.ival) = CREATE_TABLE_LIKE_ALL; ;} break; - case 543: -#line 4240 "gram.y" + case 544: +#line 4246 "gram.y" { Constraint *n = castNode(Constraint, (yyvsp[(3) - (3)].node)); @@ -36591,13 +36545,13 @@ YYLTYPE yylloc; ;} break; - case 544: -#line 4247 "gram.y" + case 545: +#line 4253 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 545: -#line 4252 "gram.y" + case 546: +#line 4258 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36613,8 +36567,8 @@ YYLTYPE yylloc; ;} break; - case 546: -#line 4266 "gram.y" + case 547: +#line 4272 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36629,8 +36583,8 @@ YYLTYPE yylloc; ;} break; - case 547: -#line 4280 "gram.y" + case 548: +#line 4286 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36650,8 +36604,8 @@ YYLTYPE yylloc; ;} break; - case 548: -#line 4298 "gram.y" + case 549: +#line 4304 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36669,8 +36623,8 @@ YYLTYPE yylloc; ;} break; - case 549: -#line 4315 "gram.y" + case 550: +#line 4321 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36689,8 +36643,8 @@ YYLTYPE yylloc; ;} break; - case 550: -#line 4332 "gram.y" + case 551: +#line 4338 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36708,8 +36662,8 @@ YYLTYPE yylloc; ;} break; - case 551: -#line 4350 "gram.y" + case 552: +#line 4356 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36729,8 +36683,8 @@ YYLTYPE yylloc; ;} break; - case 552: -#line 4369 "gram.y" + case 553: +#line 4375 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36762,8 +36716,8 @@ YYLTYPE yylloc; ;} break; - case 553: -#line 4413 "gram.y" + case 554: +#line 4419 "gram.y" { Constraint *n = castNode(Constraint, (yyvsp[(3) - (3)].node)); @@ -36773,13 +36727,13 @@ YYLTYPE yylloc; ;} break; - case 554: -#line 4420 "gram.y" + case 555: +#line 4426 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 555: -#line 4425 "gram.y" + case 556: +#line 4431 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36796,8 +36750,8 @@ YYLTYPE yylloc; ;} break; - case 556: -#line 4440 "gram.y" + case 557: +#line 4446 "gram.y" { Constraint *n = makeNode(Constraint); @@ -36813,92 +36767,92 @@ YYLTYPE yylloc; ;} break; - case 557: -#line 4455 "gram.y" + case 558: +#line 4461 "gram.y" { (yyval.boolean) = true; ;} break; - case 558: -#line 4456 "gram.y" + case 559: +#line 4462 "gram.y" { (yyval.boolean) = false; ;} break; - case 559: -#line 4460 "gram.y" + case 560: +#line 4466 "gram.y" { (yyval.boolean) = true; ;} break; - case 560: -#line 4461 "gram.y" + case 561: +#line 4467 "gram.y" { (yyval.boolean) = false; ;} break; - case 561: -#line 4465 "gram.y" + case 562: +#line 4471 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 562: -#line 4466 "gram.y" + case 563: +#line 4472 "gram.y" { (yyval.list) = NIL; ;} break; - case 563: -#line 4470 "gram.y" + case 564: +#line 4476 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 564: -#line 4471 "gram.y" + case 565: +#line 4477 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 565: -#line 4475 "gram.y" + case 566: +#line 4481 "gram.y" { (yyval.node) = (yyvsp[(3) - (3)].node); ;} break; - case 566: -#line 4476 "gram.y" + case 567: +#line 4482 "gram.y" { (yyval.node) = NULL; ;} break; - case 567: -#line 4480 "gram.y" + case 568: +#line 4486 "gram.y" { (yyval.list) = list_make2((yyvsp[(2) - (4)].list), (yyvsp[(3) - (4)].node)); ;} break; - case 568: -#line 4481 "gram.y" + case 569: +#line 4487 "gram.y" { (yyval.list) = list_make2(NIL, NULL); ;} break; - case 569: -#line 4485 "gram.y" + case 570: +#line 4491 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} break; - case 570: -#line 4490 "gram.y" + case 571: +#line 4496 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 571: -#line 4491 "gram.y" + case 572: +#line 4497 "gram.y" { (yyval.list) = NIL; ;} break; - case 572: -#line 4495 "gram.y" + case 573: +#line 4501 "gram.y" { (yyval.ival) = FKCONSTR_MATCH_FULL; ;} break; - case 573: -#line 4499 "gram.y" + case 574: +#line 4505 "gram.y" { ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), @@ -36908,56 +36862,56 @@ YYLTYPE yylloc; ;} break; - case 574: -#line 4507 "gram.y" + case 575: +#line 4513 "gram.y" { (yyval.ival) = FKCONSTR_MATCH_SIMPLE; ;} break; - case 575: -#line 4511 "gram.y" + case 576: +#line 4517 "gram.y" { (yyval.ival) = FKCONSTR_MATCH_SIMPLE; ;} break; - case 576: -#line 4517 "gram.y" + case 577: +#line 4523 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].list)); ;} break; - case 577: -#line 4519 "gram.y" + case 578: +#line 4525 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].list)); ;} break; - case 578: -#line 4523 "gram.y" + case 579: +#line 4529 "gram.y" { (yyval.list) = list_make2((yyvsp[(1) - (3)].ielem), (yyvsp[(3) - (3)].list)); ;} break; - case 579: -#line 4528 "gram.y" + case 580: +#line 4534 "gram.y" { (yyval.list) = list_make2((yyvsp[(1) - (6)].ielem), (yyvsp[(5) - (6)].list)); ;} break; - case 580: -#line 4534 "gram.y" + case 581: +#line 4540 "gram.y" { (yyval.node) = (yyvsp[(3) - (4)].node); ;} break; - case 581: -#line 4535 "gram.y" + case 582: +#line 4541 "gram.y" { (yyval.node) = NULL; ;} break; - case 582: -#line 4540 "gram.y" + case 583: +#line 4546 "gram.y" { KeyActions *n = palloc(sizeof(KeyActions)); @@ -36969,8 +36923,8 @@ YYLTYPE yylloc; ;} break; - case 583: -#line 4550 "gram.y" + case 584: +#line 4556 "gram.y" { KeyActions *n = palloc(sizeof(KeyActions)); @@ -36982,8 +36936,8 @@ YYLTYPE yylloc; ;} break; - case 584: -#line 4560 "gram.y" + case 585: +#line 4566 "gram.y" { KeyActions *n = palloc(sizeof(KeyActions)); @@ -36993,8 +36947,8 @@ YYLTYPE yylloc; ;} break; - case 585: -#line 4568 "gram.y" + case 586: +#line 4574 "gram.y" { KeyActions *n = palloc(sizeof(KeyActions)); @@ -37004,8 +36958,8 @@ YYLTYPE yylloc; ;} break; - case 586: -#line 4576 "gram.y" + case 587: +#line 4582 "gram.y" { KeyActions *n = palloc(sizeof(KeyActions)); @@ -37019,8 +36973,8 @@ YYLTYPE yylloc; ;} break; - case 587: -#line 4590 "gram.y" + case 588: +#line 4596 "gram.y" { if (((yyvsp[(3) - (3)].keyaction))->cols) ereport(ERROR, @@ -37032,15 +36986,15 @@ YYLTYPE yylloc; ;} break; - case 588: -#line 4602 "gram.y" + case 589: +#line 4608 "gram.y" { (yyval.keyaction) = (yyvsp[(3) - (3)].keyaction); ;} break; - case 589: -#line 4609 "gram.y" + case 590: +#line 4615 "gram.y" { KeyAction *n = palloc(sizeof(KeyAction)); @@ -37050,8 +37004,8 @@ YYLTYPE yylloc; ;} break; - case 590: -#line 4617 "gram.y" + case 591: +#line 4623 "gram.y" { KeyAction *n = palloc(sizeof(KeyAction)); @@ -37061,8 +37015,8 @@ YYLTYPE yylloc; ;} break; - case 591: -#line 4625 "gram.y" + case 592: +#line 4631 "gram.y" { KeyAction *n = palloc(sizeof(KeyAction)); @@ -37072,8 +37026,8 @@ YYLTYPE yylloc; ;} break; - case 592: -#line 4633 "gram.y" + case 593: +#line 4639 "gram.y" { KeyAction *n = palloc(sizeof(KeyAction)); @@ -37083,8 +37037,8 @@ YYLTYPE yylloc; ;} break; - case 593: -#line 4641 "gram.y" + case 594: +#line 4647 "gram.y" { KeyAction *n = palloc(sizeof(KeyAction)); @@ -37094,28 +37048,28 @@ YYLTYPE yylloc; ;} break; - case 594: -#line 4650 "gram.y" + case 595: +#line 4656 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 595: -#line 4651 "gram.y" + case 596: +#line 4657 "gram.y" { (yyval.list) = NIL; ;} break; - case 596: -#line 4655 "gram.y" + case 597: +#line 4661 "gram.y" { (yyval.partspec) = (yyvsp[(1) - (1)].partspec); ;} break; - case 597: -#line 4656 "gram.y" + case 598: +#line 4662 "gram.y" { (yyval.partspec) = NULL; ;} break; - case 598: -#line 4660 "gram.y" + case 599: +#line 4666 "gram.y" { PartitionSpec *n = makeNode(PartitionSpec); @@ -37127,18 +37081,18 @@ YYLTYPE yylloc; ;} break; - case 599: -#line 4671 "gram.y" + case 600: +#line 4677 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].partelem)); ;} break; - case 600: -#line 4672 "gram.y" + case 601: +#line 4678 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].partelem)); ;} break; - case 601: -#line 4676 "gram.y" + case 602: +#line 4682 "gram.y" { PartitionElem *n = makeNode(PartitionElem); @@ -37151,8 +37105,8 @@ YYLTYPE yylloc; ;} break; - case 602: -#line 4687 "gram.y" + case 603: +#line 4693 "gram.y" { PartitionElem *n = makeNode(PartitionElem); @@ -37165,8 +37119,8 @@ YYLTYPE yylloc; ;} break; - case 603: -#line 4698 "gram.y" + case 604: +#line 4704 "gram.y" { PartitionElem *n = makeNode(PartitionElem); @@ -37179,78 +37133,78 @@ YYLTYPE yylloc; ;} break; - case 604: -#line 4711 "gram.y" + case 605: +#line 4717 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; - case 605: -#line 4712 "gram.y" + case 606: +#line 4718 "gram.y" { (yyval.str) = NULL; ;} break; - case 606: -#line 4717 "gram.y" + case 607: +#line 4723 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 607: -#line 4718 "gram.y" + case 608: +#line 4724 "gram.y" { (yyval.list) = NIL; ;} break; - case 608: -#line 4719 "gram.y" + case 609: +#line 4725 "gram.y" { (yyval.list) = NIL; ;} break; - case 609: -#line 4722 "gram.y" + case 610: +#line 4728 "gram.y" { (yyval.oncommit) = ONCOMMIT_DROP; ;} break; - case 610: -#line 4723 "gram.y" + case 611: +#line 4729 "gram.y" { (yyval.oncommit) = ONCOMMIT_DELETE_ROWS; ;} break; - case 611: -#line 4724 "gram.y" + case 612: +#line 4730 "gram.y" { (yyval.oncommit) = ONCOMMIT_PRESERVE_ROWS; ;} break; - case 612: -#line 4725 "gram.y" + case 613: +#line 4731 "gram.y" { (yyval.oncommit) = ONCOMMIT_NOOP; ;} break; - case 613: -#line 4728 "gram.y" + case 614: +#line 4734 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; - case 614: -#line 4729 "gram.y" + case 615: +#line 4735 "gram.y" { (yyval.str) = NULL; ;} break; - case 615: -#line 4732 "gram.y" + case 616: +#line 4738 "gram.y" { (yyval.str) = (yyvsp[(4) - (4)].str); ;} break; - case 616: -#line 4733 "gram.y" + case 617: +#line 4739 "gram.y" { (yyval.str) = NULL; ;} break; - case 617: -#line 4736 "gram.y" + case 618: +#line 4742 "gram.y" { (yyval.str) = (yyvsp[(3) - (3)].str); ;} break; - case 618: -#line 4758 "gram.y" + case 619: +#line 4764 "gram.y" { CreateStatsStmt *n = makeNode(CreateStatsStmt); @@ -37264,8 +37218,8 @@ YYLTYPE yylloc; ;} break; - case 619: -#line 4771 "gram.y" + case 620: +#line 4777 "gram.y" { CreateStatsStmt *n = makeNode(CreateStatsStmt); @@ -37279,18 +37233,18 @@ YYLTYPE yylloc; ;} break; - case 620: -#line 4791 "gram.y" + case 621: +#line 4797 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].selem)); ;} break; - case 621: -#line 4792 "gram.y" + case 622: +#line 4798 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].selem)); ;} break; - case 622: -#line 4796 "gram.y" + case 623: +#line 4802 "gram.y" { (yyval.selem) = makeNode(StatsElem); (yyval.selem)->name = (yyvsp[(1) - (1)].str); @@ -37298,8 +37252,8 @@ YYLTYPE yylloc; ;} break; - case 623: -#line 4802 "gram.y" + case 624: +#line 4808 "gram.y" { (yyval.selem) = makeNode(StatsElem); (yyval.selem)->name = NULL; @@ -37307,8 +37261,8 @@ YYLTYPE yylloc; ;} break; - case 624: -#line 4808 "gram.y" + case 625: +#line 4814 "gram.y" { (yyval.selem) = makeNode(StatsElem); (yyval.selem)->name = NULL; @@ -37316,8 +37270,8 @@ YYLTYPE yylloc; ;} break; - case 625: -#line 4825 "gram.y" + case 626: +#line 4831 "gram.y" { AlterStatsStmt *n = makeNode(AlterStatsStmt); @@ -37328,8 +37282,8 @@ YYLTYPE yylloc; ;} break; - case 626: -#line 4834 "gram.y" + case 627: +#line 4840 "gram.y" { AlterStatsStmt *n = makeNode(AlterStatsStmt); @@ -37340,8 +37294,8 @@ YYLTYPE yylloc; ;} break; - case 627: -#line 4856 "gram.y" + case 628: +#line 4862 "gram.y" { CreateTableAsStmt *ctas = makeNode(CreateTableAsStmt); @@ -37357,8 +37311,8 @@ YYLTYPE yylloc; ;} break; - case 628: -#line 4870 "gram.y" + case 629: +#line 4876 "gram.y" { CreateTableAsStmt *ctas = makeNode(CreateTableAsStmt); @@ -37374,8 +37328,8 @@ YYLTYPE yylloc; ;} break; - case 629: -#line 4888 "gram.y" + case 630: +#line 4894 "gram.y" { (yyval.into) = makeNode(IntoClause); (yyval.into)->rel = (yyvsp[(1) - (6)].range); @@ -37389,23 +37343,23 @@ YYLTYPE yylloc; ;} break; - case 630: -#line 4902 "gram.y" + case 631: +#line 4908 "gram.y" { (yyval.boolean) = true; ;} break; - case 631: -#line 4903 "gram.y" + case 632: +#line 4909 "gram.y" { (yyval.boolean) = false; ;} break; - case 632: -#line 4904 "gram.y" + case 633: +#line 4910 "gram.y" { (yyval.boolean) = true; ;} break; - case 633: -#line 4917 "gram.y" + case 634: +#line 4923 "gram.y" { CreateTableAsStmt *ctas = makeNode(CreateTableAsStmt); @@ -37421,8 +37375,8 @@ YYLTYPE yylloc; ;} break; - case 634: -#line 4931 "gram.y" + case 635: +#line 4937 "gram.y" { CreateTableAsStmt *ctas = makeNode(CreateTableAsStmt); @@ -37438,8 +37392,8 @@ YYLTYPE yylloc; ;} break; - case 635: -#line 4948 "gram.y" + case 636: +#line 4954 "gram.y" { (yyval.into) = makeNode(IntoClause); (yyval.into)->rel = (yyvsp[(1) - (5)].range); @@ -37453,18 +37407,18 @@ YYLTYPE yylloc; ;} break; - case 636: -#line 4961 "gram.y" + case 637: +#line 4967 "gram.y" { (yyval.ival) = RELPERSISTENCE_UNLOGGED; ;} break; - case 637: -#line 4962 "gram.y" + case 638: +#line 4968 "gram.y" { (yyval.ival) = RELPERSISTENCE_PERMANENT; ;} break; - case 638: -#line 4975 "gram.y" + case 639: +#line 4981 "gram.y" { RefreshMatViewStmt *n = makeNode(RefreshMatViewStmt); @@ -37475,8 +37429,8 @@ YYLTYPE yylloc; ;} break; - case 639: -#line 4996 "gram.y" + case 640: +#line 5002 "gram.y" { CreateSeqStmt *n = makeNode(CreateSeqStmt); @@ -37489,8 +37443,8 @@ YYLTYPE yylloc; ;} break; - case 640: -#line 5007 "gram.y" + case 641: +#line 5013 "gram.y" { CreateSeqStmt *n = makeNode(CreateSeqStmt); @@ -37503,8 +37457,8 @@ YYLTYPE yylloc; ;} break; - case 641: -#line 5021 "gram.y" + case 642: +#line 5027 "gram.y" { AlterSeqStmt *n = makeNode(AlterSeqStmt); @@ -37515,8 +37469,8 @@ YYLTYPE yylloc; ;} break; - case 642: -#line 5030 "gram.y" + case 643: +#line 5036 "gram.y" { AlterSeqStmt *n = makeNode(AlterSeqStmt); @@ -37527,160 +37481,160 @@ YYLTYPE yylloc; ;} break; - case 643: -#line 5041 "gram.y" + case 644: +#line 5047 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 644: -#line 5042 "gram.y" + case 645: +#line 5048 "gram.y" { (yyval.list) = NIL; ;} break; - case 645: -#line 5045 "gram.y" + case 646: +#line 5051 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 646: -#line 5046 "gram.y" + case 647: +#line 5052 "gram.y" { (yyval.list) = NIL; ;} break; - case 647: -#line 5049 "gram.y" + case 648: +#line 5055 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 648: -#line 5050 "gram.y" + case 649: +#line 5056 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 649: -#line 5054 "gram.y" + case 650: +#line 5060 "gram.y" { (yyval.defelt) = makeDefElem("as", (Node *) (yyvsp[(2) - (2)].typnam), (yylsp[(1) - (2)])); ;} break; - case 650: -#line 5058 "gram.y" + case 651: +#line 5064 "gram.y" { (yyval.defelt) = makeDefElem("cache", (Node *) (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 651: -#line 5062 "gram.y" + case 652: +#line 5068 "gram.y" { (yyval.defelt) = makeDefElem("cycle", (Node *) makeBoolean(true), (yylsp[(1) - (1)])); ;} break; - case 652: -#line 5066 "gram.y" + case 653: +#line 5072 "gram.y" { (yyval.defelt) = makeDefElem("cycle", (Node *) makeBoolean(false), (yylsp[(1) - (2)])); ;} break; - case 653: -#line 5070 "gram.y" + case 654: +#line 5076 "gram.y" { (yyval.defelt) = makeDefElem("increment", (Node *) (yyvsp[(3) - (3)].node), (yylsp[(1) - (3)])); ;} break; - case 654: -#line 5074 "gram.y" + case 655: +#line 5080 "gram.y" { (yyval.defelt) = makeDefElem("logged", NULL, (yylsp[(1) - (1)])); ;} break; - case 655: -#line 5078 "gram.y" + case 656: +#line 5084 "gram.y" { (yyval.defelt) = makeDefElem("maxvalue", (Node *) (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 656: -#line 5082 "gram.y" + case 657: +#line 5088 "gram.y" { (yyval.defelt) = makeDefElem("minvalue", (Node *) (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 657: -#line 5086 "gram.y" + case 658: +#line 5092 "gram.y" { (yyval.defelt) = makeDefElem("maxvalue", NULL, (yylsp[(1) - (2)])); ;} break; - case 658: -#line 5090 "gram.y" + case 659: +#line 5096 "gram.y" { (yyval.defelt) = makeDefElem("minvalue", NULL, (yylsp[(1) - (2)])); ;} break; - case 659: -#line 5094 "gram.y" + case 660: +#line 5100 "gram.y" { (yyval.defelt) = makeDefElem("owned_by", (Node *) (yyvsp[(3) - (3)].list), (yylsp[(1) - (3)])); ;} break; - case 660: -#line 5098 "gram.y" + case 661: +#line 5104 "gram.y" { (yyval.defelt) = makeDefElem("sequence_name", (Node *) (yyvsp[(3) - (3)].list), (yylsp[(1) - (3)])); ;} break; - case 661: -#line 5102 "gram.y" + case 662: +#line 5108 "gram.y" { (yyval.defelt) = makeDefElem("start", (Node *) (yyvsp[(3) - (3)].node), (yylsp[(1) - (3)])); ;} break; - case 662: -#line 5106 "gram.y" + case 663: +#line 5112 "gram.y" { (yyval.defelt) = makeDefElem("restart", NULL, (yylsp[(1) - (1)])); ;} break; - case 663: -#line 5110 "gram.y" + case 664: +#line 5116 "gram.y" { (yyval.defelt) = makeDefElem("restart", (Node *) (yyvsp[(3) - (3)].node), (yylsp[(1) - (3)])); ;} break; - case 664: -#line 5114 "gram.y" + case 665: +#line 5120 "gram.y" { (yyval.defelt) = makeDefElem("unlogged", NULL, (yylsp[(1) - (1)])); ;} break; - case 667: -#line 5124 "gram.y" + case 668: +#line 5130 "gram.y" { (yyval.node) = (Node *) makeFloat((yyvsp[(1) - (1)].str)); ;} break; - case 668: -#line 5125 "gram.y" + case 669: +#line 5131 "gram.y" { (yyval.node) = (Node *) makeFloat((yyvsp[(2) - (2)].str)); ;} break; - case 669: -#line 5127 "gram.y" + case 670: +#line 5133 "gram.y" { Float *f = makeFloat((yyvsp[(2) - (2)].str)); @@ -37689,23 +37643,23 @@ YYLTYPE yylloc; ;} break; - case 670: -#line 5133 "gram.y" + case 671: +#line 5139 "gram.y" { (yyval.node) = (Node *) makeInteger((yyvsp[(1) - (1)].ival)); ;} break; - case 671: -#line 5136 "gram.y" + case 672: +#line 5142 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 672: -#line 5137 "gram.y" + case 673: +#line 5143 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 673: -#line 5150 "gram.y" + case 674: +#line 5156 "gram.y" { /* * We now interpret parameterless CREATE LANGUAGE as @@ -37723,8 +37677,8 @@ YYLTYPE yylloc; ;} break; - case 674: -#line 5167 "gram.y" + case 675: +#line 5173 "gram.y" { CreatePLangStmt *n = makeNode(CreatePLangStmt); @@ -37738,58 +37692,58 @@ YYLTYPE yylloc; ;} break; - case 675: -#line 5181 "gram.y" + case 676: +#line 5187 "gram.y" { (yyval.boolean) = true; ;} break; - case 676: -#line 5182 "gram.y" + case 677: +#line 5188 "gram.y" { (yyval.boolean) = false; ;} break; - case 677: -#line 5190 "gram.y" + case 678: +#line 5196 "gram.y" { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; - case 678: -#line 5191 "gram.y" + case 679: +#line 5197 "gram.y" { (yyval.list) = lcons(makeString((yyvsp[(1) - (2)].str)), (yyvsp[(2) - (2)].list)); ;} break; - case 679: -#line 5195 "gram.y" + case 680: +#line 5201 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 680: -#line 5196 "gram.y" + case 681: +#line 5202 "gram.y" { (yyval.list) = NIL; ;} break; - case 681: -#line 5200 "gram.y" + case 682: +#line 5206 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 682: -#line 5201 "gram.y" + case 683: +#line 5207 "gram.y" { (yyval.list) = NIL; ;} break; - case 683: -#line 5205 "gram.y" + case 684: +#line 5211 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 684: -#line 5206 "gram.y" + case 685: +#line 5212 "gram.y" { (yyval.list) = NIL; ;} break; - case 687: -#line 5222 "gram.y" + case 688: +#line 5228 "gram.y" { CreateTableSpaceStmt *n = makeNode(CreateTableSpaceStmt); @@ -37801,18 +37755,18 @@ YYLTYPE yylloc; ;} break; - case 688: -#line 5233 "gram.y" + case 689: +#line 5239 "gram.y" { (yyval.rolespec) = (yyvsp[(2) - (2)].rolespec); ;} break; - case 689: -#line 5234 "gram.y" + case 690: +#line 5240 "gram.y" { (yyval.rolespec) = NULL; ;} break; - case 690: -#line 5248 "gram.y" + case 691: +#line 5254 "gram.y" { DropTableSpaceStmt *n = makeNode(DropTableSpaceStmt); @@ -37822,8 +37776,8 @@ YYLTYPE yylloc; ;} break; - case 691: -#line 5256 "gram.y" + case 692: +#line 5262 "gram.y" { DropTableSpaceStmt *n = makeNode(DropTableSpaceStmt); @@ -37833,8 +37787,8 @@ YYLTYPE yylloc; ;} break; - case 692: -#line 5274 "gram.y" + case 693: +#line 5280 "gram.y" { CreateExtensionStmt *n = makeNode(CreateExtensionStmt); @@ -37845,8 +37799,8 @@ YYLTYPE yylloc; ;} break; - case 693: -#line 5283 "gram.y" + case 694: +#line 5289 "gram.y" { CreateExtensionStmt *n = makeNode(CreateExtensionStmt); @@ -37857,32 +37811,32 @@ YYLTYPE yylloc; ;} break; - case 694: -#line 5295 "gram.y" + case 695: +#line 5301 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 695: -#line 5297 "gram.y" + case 696: +#line 5303 "gram.y" { (yyval.list) = NIL; ;} break; - case 696: -#line 5302 "gram.y" + case 697: +#line 5308 "gram.y" { (yyval.defelt) = makeDefElem("schema", (Node *) makeString((yyvsp[(2) - (2)].str)), (yylsp[(1) - (2)])); ;} break; - case 697: -#line 5306 "gram.y" + case 698: +#line 5312 "gram.y" { (yyval.defelt) = makeDefElem("new_version", (Node *) makeString((yyvsp[(2) - (2)].str)), (yylsp[(1) - (2)])); ;} break; - case 698: -#line 5310 "gram.y" + case 699: +#line 5316 "gram.y" { ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), @@ -37891,15 +37845,15 @@ YYLTYPE yylloc; ;} break; - case 699: -#line 5317 "gram.y" + case 700: +#line 5323 "gram.y" { (yyval.defelt) = makeDefElem("cascade", (Node *) makeBoolean(true), (yylsp[(1) - (1)])); ;} break; - case 700: -#line 5329 "gram.y" + case 701: +#line 5335 "gram.y" { AlterExtensionStmt *n = makeNode(AlterExtensionStmt); @@ -37909,25 +37863,25 @@ YYLTYPE yylloc; ;} break; - case 701: -#line 5340 "gram.y" + case 702: +#line 5346 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 702: -#line 5342 "gram.y" + case 703: +#line 5348 "gram.y" { (yyval.list) = NIL; ;} break; - case 703: -#line 5347 "gram.y" + case 704: +#line 5353 "gram.y" { (yyval.defelt) = makeDefElem("new_version", (Node *) makeString((yyvsp[(2) - (2)].str)), (yylsp[(1) - (2)])); ;} break; - case 704: -#line 5360 "gram.y" + case 705: +#line 5366 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -37939,8 +37893,8 @@ YYLTYPE yylloc; ;} break; - case 705: -#line 5370 "gram.y" + case 706: +#line 5376 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -37952,8 +37906,8 @@ YYLTYPE yylloc; ;} break; - case 706: -#line 5380 "gram.y" + case 707: +#line 5386 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -37965,8 +37919,8 @@ YYLTYPE yylloc; ;} break; - case 707: -#line 5390 "gram.y" + case 708: +#line 5396 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -37978,8 +37932,8 @@ YYLTYPE yylloc; ;} break; - case 708: -#line 5400 "gram.y" + case 709: +#line 5406 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -37991,8 +37945,8 @@ YYLTYPE yylloc; ;} break; - case 709: -#line 5410 "gram.y" + case 710: +#line 5416 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -38004,8 +37958,8 @@ YYLTYPE yylloc; ;} break; - case 710: -#line 5420 "gram.y" + case 711: +#line 5426 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -38017,8 +37971,8 @@ YYLTYPE yylloc; ;} break; - case 711: -#line 5430 "gram.y" + case 712: +#line 5436 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -38030,8 +37984,8 @@ YYLTYPE yylloc; ;} break; - case 712: -#line 5440 "gram.y" + case 713: +#line 5446 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -38043,8 +37997,8 @@ YYLTYPE yylloc; ;} break; - case 713: -#line 5450 "gram.y" + case 714: +#line 5456 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -38056,8 +38010,8 @@ YYLTYPE yylloc; ;} break; - case 714: -#line 5460 "gram.y" + case 715: +#line 5466 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -38069,8 +38023,8 @@ YYLTYPE yylloc; ;} break; - case 715: -#line 5470 "gram.y" + case 716: +#line 5476 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -38082,8 +38036,8 @@ YYLTYPE yylloc; ;} break; - case 716: -#line 5480 "gram.y" + case 717: +#line 5486 "gram.y" { AlterExtensionContentsStmt *n = makeNode(AlterExtensionContentsStmt); @@ -38095,8 +38049,8 @@ YYLTYPE yylloc; ;} break; - case 717: -#line 5499 "gram.y" + case 718: +#line 5505 "gram.y" { CreateFdwStmt *n = makeNode(CreateFdwStmt); @@ -38107,48 +38061,48 @@ YYLTYPE yylloc; ;} break; - case 718: -#line 5510 "gram.y" + case 719: +#line 5516 "gram.y" { (yyval.defelt) = makeDefElem("handler", (Node *) (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)])); ;} break; - case 719: -#line 5511 "gram.y" + case 720: +#line 5517 "gram.y" { (yyval.defelt) = makeDefElem("handler", NULL, (yylsp[(1) - (2)])); ;} break; - case 720: -#line 5512 "gram.y" + case 721: +#line 5518 "gram.y" { (yyval.defelt) = makeDefElem("validator", (Node *) (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)])); ;} break; - case 721: -#line 5513 "gram.y" + case 722: +#line 5519 "gram.y" { (yyval.defelt) = makeDefElem("validator", NULL, (yylsp[(1) - (2)])); ;} break; - case 722: -#line 5517 "gram.y" + case 723: +#line 5523 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 723: -#line 5518 "gram.y" + case 724: +#line 5524 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 724: -#line 5522 "gram.y" + case 725: +#line 5528 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 725: -#line 5523 "gram.y" + case 726: +#line 5529 "gram.y" { (yyval.list) = NIL; ;} break; - case 726: -#line 5534 "gram.y" + case 727: +#line 5540 "gram.y" { AlterFdwStmt *n = makeNode(AlterFdwStmt); @@ -38159,8 +38113,8 @@ YYLTYPE yylloc; ;} break; - case 727: -#line 5543 "gram.y" + case 728: +#line 5549 "gram.y" { AlterFdwStmt *n = makeNode(AlterFdwStmt); @@ -38171,98 +38125,99 @@ YYLTYPE yylloc; ;} break; - case 728: -#line 5555 "gram.y" + case 729: +#line 5561 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 729: -#line 5556 "gram.y" + case 730: +#line 5562 "gram.y" { (yyval.list) = NIL; ;} break; - case 730: -#line 5561 "gram.y" + case 731: +#line 5567 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 731: -#line 5565 "gram.y" + case 732: +#line 5571 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 732: -#line 5572 "gram.y" + case 733: +#line 5578 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 733: -#line 5577 "gram.y" + case 734: +#line 5583 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 734: -#line 5581 "gram.y" + case 735: +#line 5587 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 735: -#line 5588 "gram.y" + case 736: +#line 5594 "gram.y" { (yyval.defelt) = (yyvsp[(1) - (1)].defelt); ;} break; - case 736: -#line 5592 "gram.y" + case 737: +#line 5598 "gram.y" { (yyval.defelt) = (yyvsp[(2) - (2)].defelt); (yyval.defelt)->defaction = DEFELEM_SET; ;} break; - case 737: -#line 5597 "gram.y" + case 738: +#line 5603 "gram.y" { (yyval.defelt) = (yyvsp[(2) - (2)].defelt); (yyval.defelt)->defaction = DEFELEM_ADD; ;} break; - case 738: -#line 5602 "gram.y" + case 739: +#line 5608 "gram.y" { (yyval.defelt) = makeDefElemExtended(NULL, (yyvsp[(2) - (2)].str), NULL, DEFELEM_DROP, (yylsp[(2) - (2)])); ;} break; - case 739: -#line 5609 "gram.y" + case 740: +#line 5615 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); + (yyval.defelt)->arg_location = (yylsp[(2) - (2)]); ;} break; - case 740: -#line 5615 "gram.y" + case 741: +#line 5622 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 741: -#line 5620 "gram.y" + case 742: +#line 5627 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} break; - case 742: -#line 5632 "gram.y" + case 743: +#line 5639 "gram.y" { CreateForeignServerStmt *n = makeNode(CreateForeignServerStmt); @@ -38276,8 +38231,8 @@ YYLTYPE yylloc; ;} break; - case 743: -#line 5645 "gram.y" + case 744: +#line 5652 "gram.y" { CreateForeignServerStmt *n = makeNode(CreateForeignServerStmt); @@ -38291,38 +38246,38 @@ YYLTYPE yylloc; ;} break; - case 744: -#line 5659 "gram.y" + case 745: +#line 5666 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; - case 745: -#line 5660 "gram.y" + case 746: +#line 5667 "gram.y" { (yyval.str) = NULL; ;} break; - case 746: -#line 5665 "gram.y" + case 747: +#line 5672 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; - case 747: -#line 5666 "gram.y" + case 748: +#line 5673 "gram.y" { (yyval.str) = NULL; ;} break; - case 748: -#line 5670 "gram.y" + case 749: +#line 5677 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 749: -#line 5671 "gram.y" + case 750: +#line 5678 "gram.y" { (yyval.str) = NULL; ;} break; - case 750: -#line 5682 "gram.y" + case 751: +#line 5689 "gram.y" { AlterForeignServerStmt *n = makeNode(AlterForeignServerStmt); @@ -38334,8 +38289,8 @@ YYLTYPE yylloc; ;} break; - case 751: -#line 5692 "gram.y" + case 752: +#line 5699 "gram.y" { AlterForeignServerStmt *n = makeNode(AlterForeignServerStmt); @@ -38346,8 +38301,8 @@ YYLTYPE yylloc; ;} break; - case 752: -#line 5701 "gram.y" + case 753: +#line 5708 "gram.y" { AlterForeignServerStmt *n = makeNode(AlterForeignServerStmt); @@ -38357,8 +38312,8 @@ YYLTYPE yylloc; ;} break; - case 753: -#line 5721 "gram.y" + case 754: +#line 5728 "gram.y" { CreateForeignTableStmt *n = makeNode(CreateForeignTableStmt); @@ -38379,8 +38334,8 @@ YYLTYPE yylloc; ;} break; - case 754: -#line 5742 "gram.y" + case 755: +#line 5749 "gram.y" { CreateForeignTableStmt *n = makeNode(CreateForeignTableStmt); @@ -38401,8 +38356,8 @@ YYLTYPE yylloc; ;} break; - case 755: -#line 5763 "gram.y" + case 756: +#line 5770 "gram.y" { CreateForeignTableStmt *n = makeNode(CreateForeignTableStmt); @@ -38424,8 +38379,8 @@ YYLTYPE yylloc; ;} break; - case 756: -#line 5785 "gram.y" + case 757: +#line 5792 "gram.y" { CreateForeignTableStmt *n = makeNode(CreateForeignTableStmt); @@ -38447,8 +38402,8 @@ YYLTYPE yylloc; ;} break; - case 757: -#line 5818 "gram.y" + case 758: +#line 5825 "gram.y" { ImportForeignSchemaStmt *n = makeNode(ImportForeignSchemaStmt); @@ -38462,18 +38417,18 @@ YYLTYPE yylloc; ;} break; - case 758: -#line 5832 "gram.y" + case 759: +#line 5839 "gram.y" { (yyval.ival) = FDW_IMPORT_SCHEMA_LIMIT_TO; ;} break; - case 759: -#line 5833 "gram.y" + case 760: +#line 5840 "gram.y" { (yyval.ival) = FDW_IMPORT_SCHEMA_EXCEPT; ;} break; - case 760: -#line 5838 "gram.y" + case 761: +#line 5845 "gram.y" { ImportQual *n = (ImportQual *) palloc(sizeof(ImportQual)); @@ -38483,8 +38438,8 @@ YYLTYPE yylloc; ;} break; - case 761: -#line 5846 "gram.y" + case 762: +#line 5853 "gram.y" { ImportQual *n = (ImportQual *) palloc(sizeof(ImportQual)); n->type = FDW_IMPORT_SCHEMA_ALL; @@ -38493,8 +38448,8 @@ YYLTYPE yylloc; ;} break; - case 762: -#line 5862 "gram.y" + case 763: +#line 5869 "gram.y" { CreateUserMappingStmt *n = makeNode(CreateUserMappingStmt); @@ -38506,8 +38461,8 @@ YYLTYPE yylloc; ;} break; - case 763: -#line 5872 "gram.y" + case 764: +#line 5879 "gram.y" { CreateUserMappingStmt *n = makeNode(CreateUserMappingStmt); @@ -38519,18 +38474,18 @@ YYLTYPE yylloc; ;} break; - case 764: -#line 5884 "gram.y" + case 765: +#line 5891 "gram.y" { (yyval.rolespec) = (yyvsp[(1) - (1)].rolespec); ;} break; - case 765: -#line 5885 "gram.y" + case 766: +#line 5892 "gram.y" { (yyval.rolespec) = makeRoleSpec(ROLESPEC_CURRENT_USER, (yylsp[(1) - (1)])); ;} break; - case 766: -#line 5898 "gram.y" + case 767: +#line 5905 "gram.y" { DropUserMappingStmt *n = makeNode(DropUserMappingStmt); @@ -38541,8 +38496,8 @@ YYLTYPE yylloc; ;} break; - case 767: -#line 5907 "gram.y" + case 768: +#line 5914 "gram.y" { DropUserMappingStmt *n = makeNode(DropUserMappingStmt); @@ -38553,8 +38508,8 @@ YYLTYPE yylloc; ;} break; - case 768: -#line 5925 "gram.y" + case 769: +#line 5932 "gram.y" { AlterUserMappingStmt *n = makeNode(AlterUserMappingStmt); @@ -38565,8 +38520,8 @@ YYLTYPE yylloc; ;} break; - case 769: -#line 5952 "gram.y" + case 770: +#line 5959 "gram.y" { CreatePolicyStmt *n = makeNode(CreatePolicyStmt); @@ -38581,8 +38536,8 @@ YYLTYPE yylloc; ;} break; - case 770: -#line 5969 "gram.y" + case 771: +#line 5976 "gram.y" { AlterPolicyStmt *n = makeNode(AlterPolicyStmt); @@ -38595,48 +38550,48 @@ YYLTYPE yylloc; ;} break; - case 771: -#line 5982 "gram.y" + case 772: +#line 5989 "gram.y" { (yyval.node) = (yyvsp[(3) - (4)].node); ;} break; - case 772: -#line 5983 "gram.y" + case 773: +#line 5990 "gram.y" { (yyval.node) = NULL; ;} break; - case 773: -#line 5987 "gram.y" + case 774: +#line 5994 "gram.y" { (yyval.node) = (yyvsp[(4) - (5)].node); ;} break; - case 774: -#line 5988 "gram.y" + case 775: +#line 5995 "gram.y" { (yyval.node) = NULL; ;} break; - case 775: -#line 5992 "gram.y" + case 776: +#line 5999 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 776: -#line 5993 "gram.y" + case 777: +#line 6000 "gram.y" { (yyval.list) = list_make1(makeRoleSpec(ROLESPEC_PUBLIC, -1)); ;} break; - case 777: -#line 5997 "gram.y" + case 778: +#line 6004 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 778: -#line 5998 "gram.y" + case 779: +#line 6005 "gram.y" { (yyval.list) = NULL; ;} break; - case 779: -#line 6003 "gram.y" + case 780: +#line 6010 "gram.y" { if (strcmp((yyvsp[(2) - (2)].str), "permissive") == 0) (yyval.boolean) = true; @@ -38652,48 +38607,48 @@ YYLTYPE yylloc; ;} break; - case 780: -#line 6016 "gram.y" + case 781: +#line 6023 "gram.y" { (yyval.boolean) = true; ;} break; - case 781: -#line 6020 "gram.y" + case 782: +#line 6027 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; - case 782: -#line 6021 "gram.y" + case 783: +#line 6028 "gram.y" { (yyval.str) = "all"; ;} break; - case 783: -#line 6025 "gram.y" + case 784: +#line 6032 "gram.y" { (yyval.str) = "all"; ;} break; - case 784: -#line 6026 "gram.y" + case 785: +#line 6033 "gram.y" { (yyval.str) = "select"; ;} break; - case 785: -#line 6027 "gram.y" + case 786: +#line 6034 "gram.y" { (yyval.str) = "insert"; ;} break; - case 786: -#line 6028 "gram.y" + case 787: +#line 6035 "gram.y" { (yyval.str) = "update"; ;} break; - case 787: -#line 6029 "gram.y" + case 788: +#line 6036 "gram.y" { (yyval.str) = "delete"; ;} break; - case 788: -#line 6040 "gram.y" + case 789: +#line 6047 "gram.y" { CreateAmStmt *n = makeNode(CreateAmStmt); @@ -38704,18 +38659,18 @@ YYLTYPE yylloc; ;} break; - case 789: -#line 6051 "gram.y" + case 790: +#line 6058 "gram.y" { (yyval.chr) = AMTYPE_INDEX; ;} break; - case 790: -#line 6052 "gram.y" + case 791: +#line 6059 "gram.y" { (yyval.chr) = AMTYPE_TABLE; ;} break; - case 791: -#line 6066 "gram.y" + case 792: +#line 6073 "gram.y" { CreateTrigStmt *n = makeNode(CreateTrigStmt); @@ -38738,8 +38693,8 @@ YYLTYPE yylloc; ;} break; - case 792: -#line 6090 "gram.y" + case 793: +#line 6097 "gram.y" { CreateTrigStmt *n = makeNode(CreateTrigStmt); @@ -38768,28 +38723,28 @@ YYLTYPE yylloc; ;} break; - case 793: -#line 6119 "gram.y" + case 794: +#line 6126 "gram.y" { (yyval.ival) = TRIGGER_TYPE_BEFORE; ;} break; - case 794: -#line 6120 "gram.y" + case 795: +#line 6127 "gram.y" { (yyval.ival) = TRIGGER_TYPE_AFTER; ;} break; - case 795: -#line 6121 "gram.y" + case 796: +#line 6128 "gram.y" { (yyval.ival) = TRIGGER_TYPE_INSTEAD; ;} break; - case 796: -#line 6126 "gram.y" + case 797: +#line 6133 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 797: -#line 6128 "gram.y" + case 798: +#line 6135 "gram.y" { int events1 = intVal(linitial((yyvsp[(1) - (3)].list))); int events2 = intVal(linitial((yyvsp[(3) - (3)].list))); @@ -38810,53 +38765,53 @@ YYLTYPE yylloc; ;} break; - case 798: -#line 6150 "gram.y" + case 799: +#line 6157 "gram.y" { (yyval.list) = list_make2(makeInteger(TRIGGER_TYPE_INSERT), NIL); ;} break; - case 799: -#line 6152 "gram.y" + case 800: +#line 6159 "gram.y" { (yyval.list) = list_make2(makeInteger(TRIGGER_TYPE_DELETE), NIL); ;} break; - case 800: -#line 6154 "gram.y" + case 801: +#line 6161 "gram.y" { (yyval.list) = list_make2(makeInteger(TRIGGER_TYPE_UPDATE), NIL); ;} break; - case 801: -#line 6156 "gram.y" + case 802: +#line 6163 "gram.y" { (yyval.list) = list_make2(makeInteger(TRIGGER_TYPE_UPDATE), (yyvsp[(3) - (3)].list)); ;} break; - case 802: -#line 6158 "gram.y" + case 803: +#line 6165 "gram.y" { (yyval.list) = list_make2(makeInteger(TRIGGER_TYPE_TRUNCATE), NIL); ;} break; - case 803: -#line 6162 "gram.y" + case 804: +#line 6169 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 804: -#line 6163 "gram.y" + case 805: +#line 6170 "gram.y" { (yyval.list) = NIL; ;} break; - case 805: -#line 6167 "gram.y" + case 806: +#line 6174 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 806: -#line 6168 "gram.y" + case 807: +#line 6175 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} break; - case 807: -#line 6173 "gram.y" + case 808: +#line 6180 "gram.y" { TriggerTransition *n = makeNode(TriggerTransition); @@ -38867,40 +38822,40 @@ YYLTYPE yylloc; ;} break; - case 808: -#line 6184 "gram.y" + case 809: +#line 6191 "gram.y" { (yyval.boolean) = true; ;} break; - case 809: -#line 6185 "gram.y" + case 810: +#line 6192 "gram.y" { (yyval.boolean) = false; ;} break; - case 810: -#line 6189 "gram.y" + case 811: +#line 6196 "gram.y" { (yyval.boolean) = true; ;} break; - case 811: -#line 6198 "gram.y" + case 812: +#line 6205 "gram.y" { (yyval.boolean) = false; ;} break; - case 812: -#line 6202 "gram.y" + case 813: +#line 6209 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 813: -#line 6207 "gram.y" + case 814: +#line 6214 "gram.y" { (yyval.boolean) = (yyvsp[(3) - (3)].boolean); ;} break; - case 814: -#line 6211 "gram.y" + case 815: +#line 6218 "gram.y" { /* * If ROW/STATEMENT not specified, default to @@ -38910,80 +38865,80 @@ YYLTYPE yylloc; ;} break; - case 817: -#line 6226 "gram.y" + case 818: +#line 6233 "gram.y" { (yyval.boolean) = true; ;} break; - case 818: -#line 6227 "gram.y" + case 819: +#line 6234 "gram.y" { (yyval.boolean) = false; ;} break; - case 819: -#line 6231 "gram.y" + case 820: +#line 6238 "gram.y" { (yyval.node) = (yyvsp[(3) - (4)].node); ;} break; - case 820: -#line 6232 "gram.y" + case 821: +#line 6239 "gram.y" { (yyval.node) = NULL; ;} break; - case 823: -#line 6241 "gram.y" + case 824: +#line 6248 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 824: -#line 6242 "gram.y" + case 825: +#line 6249 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 825: -#line 6243 "gram.y" + case 826: +#line 6250 "gram.y" { (yyval.list) = NIL; ;} break; - case 826: -#line 6248 "gram.y" + case 827: +#line 6255 "gram.y" { (yyval.node) = (Node *) makeString(psprintf("%d", (yyvsp[(1) - (1)].ival))); ;} break; - case 827: -#line 6251 "gram.y" - { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} - break; - case 828: -#line 6252 "gram.y" +#line 6258 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} break; case 829: -#line 6253 "gram.y" +#line 6259 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} break; case 830: -#line 6257 "gram.y" - { (yyval.range) = (yyvsp[(2) - (2)].range); ;} +#line 6260 "gram.y" + { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} break; case 831: -#line 6258 "gram.y" - { (yyval.range) = NULL; ;} +#line 6264 "gram.y" + { (yyval.range) = (yyvsp[(2) - (2)].range); ;} break; case 832: -#line 6263 "gram.y" - { (yyval.ival) = 0; ;} +#line 6265 "gram.y" + { (yyval.range) = NULL; ;} break; case 833: -#line 6265 "gram.y" +#line 6270 "gram.y" + { (yyval.ival) = 0; ;} + break; + + case 834: +#line 6272 "gram.y" { /* * We must complain about conflicting options. @@ -39010,48 +38965,48 @@ YYLTYPE yylloc; ;} break; - case 834: -#line 6292 "gram.y" + case 835: +#line 6299 "gram.y" { (yyval.ival) = CAS_NOT_DEFERRABLE; ;} break; - case 835: -#line 6293 "gram.y" + case 836: +#line 6300 "gram.y" { (yyval.ival) = CAS_DEFERRABLE; ;} break; - case 836: -#line 6294 "gram.y" + case 837: +#line 6301 "gram.y" { (yyval.ival) = CAS_INITIALLY_IMMEDIATE; ;} break; - case 837: -#line 6295 "gram.y" + case 838: +#line 6302 "gram.y" { (yyval.ival) = CAS_INITIALLY_DEFERRED; ;} break; - case 838: -#line 6296 "gram.y" + case 839: +#line 6303 "gram.y" { (yyval.ival) = CAS_NOT_VALID; ;} break; - case 839: -#line 6297 "gram.y" + case 840: +#line 6304 "gram.y" { (yyval.ival) = CAS_NO_INHERIT; ;} break; - case 840: -#line 6298 "gram.y" + case 841: +#line 6305 "gram.y" { (yyval.ival) = CAS_NOT_ENFORCED; ;} break; - case 841: -#line 6299 "gram.y" + case 842: +#line 6306 "gram.y" { (yyval.ival) = CAS_ENFORCED; ;} break; - case 842: -#line 6314 "gram.y" + case 843: +#line 6321 "gram.y" { CreateEventTrigStmt *n = makeNode(CreateEventTrigStmt); @@ -39063,8 +39018,8 @@ YYLTYPE yylloc; ;} break; - case 843: -#line 6326 "gram.y" + case 844: +#line 6333 "gram.y" { CreateEventTrigStmt *n = makeNode(CreateEventTrigStmt); @@ -39076,33 +39031,33 @@ YYLTYPE yylloc; ;} break; - case 844: -#line 6339 "gram.y" + case 845: +#line 6346 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 845: -#line 6341 "gram.y" + case 846: +#line 6348 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 846: -#line 6346 "gram.y" + case 847: +#line 6353 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (5)].str), (Node *) (yyvsp[(4) - (5)].list), (yylsp[(1) - (5)])); ;} break; - case 847: -#line 6351 "gram.y" + case 848: +#line 6358 "gram.y" { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; - case 848: -#line 6353 "gram.y" + case 849: +#line 6360 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); ;} break; - case 849: -#line 6358 "gram.y" + case 850: +#line 6365 "gram.y" { AlterEventTrigStmt *n = makeNode(AlterEventTrigStmt); @@ -39112,28 +39067,28 @@ YYLTYPE yylloc; ;} break; - case 850: -#line 6368 "gram.y" + case 851: +#line 6375 "gram.y" { (yyval.chr) = TRIGGER_FIRES_ON_ORIGIN; ;} break; - case 851: -#line 6369 "gram.y" + case 852: +#line 6376 "gram.y" { (yyval.chr) = TRIGGER_FIRES_ON_REPLICA; ;} break; - case 852: -#line 6370 "gram.y" + case 853: +#line 6377 "gram.y" { (yyval.chr) = TRIGGER_FIRES_ALWAYS; ;} break; - case 853: -#line 6371 "gram.y" + case 854: +#line 6378 "gram.y" { (yyval.chr) = TRIGGER_DISABLED; ;} break; - case 854: -#line 6383 "gram.y" + case 855: +#line 6390 "gram.y" { ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), @@ -39144,8 +39099,8 @@ YYLTYPE yylloc; ;} break; - case 855: -#line 6403 "gram.y" + case 856: +#line 6410 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39159,8 +39114,8 @@ YYLTYPE yylloc; ;} break; - case 856: -#line 6415 "gram.y" + case 857: +#line 6422 "gram.y" { /* old-style (pre-8.2) syntax for CREATE AGGREGATE */ DefineStmt *n = makeNode(DefineStmt); @@ -39175,8 +39130,8 @@ YYLTYPE yylloc; ;} break; - case 857: -#line 6428 "gram.y" + case 858: +#line 6435 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39189,8 +39144,8 @@ YYLTYPE yylloc; ;} break; - case 858: -#line 6439 "gram.y" + case 859: +#line 6446 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39203,8 +39158,8 @@ YYLTYPE yylloc; ;} break; - case 859: -#line 6450 "gram.y" + case 860: +#line 6457 "gram.y" { /* Shell type (identified by lack of definition) */ DefineStmt *n = makeNode(DefineStmt); @@ -39218,8 +39173,8 @@ YYLTYPE yylloc; ;} break; - case 860: -#line 6462 "gram.y" + case 861: +#line 6469 "gram.y" { CompositeTypeStmt *n = makeNode(CompositeTypeStmt); @@ -39230,8 +39185,8 @@ YYLTYPE yylloc; ;} break; - case 861: -#line 6471 "gram.y" + case 862: +#line 6478 "gram.y" { CreateEnumStmt *n = makeNode(CreateEnumStmt); @@ -39241,8 +39196,8 @@ YYLTYPE yylloc; ;} break; - case 862: -#line 6479 "gram.y" + case 863: +#line 6486 "gram.y" { CreateRangeStmt *n = makeNode(CreateRangeStmt); @@ -39252,8 +39207,8 @@ YYLTYPE yylloc; ;} break; - case 863: -#line 6487 "gram.y" + case 864: +#line 6494 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39265,8 +39220,8 @@ YYLTYPE yylloc; ;} break; - case 864: -#line 6497 "gram.y" + case 865: +#line 6504 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39278,8 +39233,8 @@ YYLTYPE yylloc; ;} break; - case 865: -#line 6507 "gram.y" + case 866: +#line 6514 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39291,8 +39246,8 @@ YYLTYPE yylloc; ;} break; - case 866: -#line 6517 "gram.y" + case 867: +#line 6524 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39304,8 +39259,8 @@ YYLTYPE yylloc; ;} break; - case 867: -#line 6527 "gram.y" + case 868: +#line 6534 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39317,8 +39272,8 @@ YYLTYPE yylloc; ;} break; - case 868: -#line 6537 "gram.y" + case 869: +#line 6544 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39331,8 +39286,8 @@ YYLTYPE yylloc; ;} break; - case 869: -#line 6548 "gram.y" + case 870: +#line 6555 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39344,8 +39299,8 @@ YYLTYPE yylloc; ;} break; - case 870: -#line 6558 "gram.y" + case 871: +#line 6565 "gram.y" { DefineStmt *n = makeNode(DefineStmt); @@ -39358,109 +39313,109 @@ YYLTYPE yylloc; ;} break; - case 871: -#line 6570 "gram.y" + case 872: +#line 6577 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 872: -#line 6573 "gram.y" + case 873: +#line 6580 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 873: -#line 6574 "gram.y" + case 874: +#line 6581 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 874: -#line 6578 "gram.y" + case 875: +#line 6585 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), (Node *) (yyvsp[(3) - (3)].node), (yylsp[(1) - (3)])); ;} break; - case 875: -#line 6582 "gram.y" + case 876: +#line 6589 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (1)].str), NULL, (yylsp[(1) - (1)])); ;} break; - case 876: -#line 6588 "gram.y" + case 877: +#line 6595 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].typnam); ;} break; - case 877: -#line 6589 "gram.y" + case 878: +#line 6596 "gram.y" { (yyval.node) = (Node *) makeString(pstrdup((yyvsp[(1) - (1)].keyword))); ;} break; - case 878: -#line 6590 "gram.y" + case 879: +#line 6597 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].list); ;} break; - case 879: -#line 6591 "gram.y" + case 880: +#line 6598 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].node); ;} break; - case 880: -#line 6592 "gram.y" + case 881: +#line 6599 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} break; - case 881: -#line 6593 "gram.y" + case 882: +#line 6600 "gram.y" { (yyval.node) = (Node *) makeString(pstrdup((yyvsp[(1) - (1)].keyword))); ;} break; - case 882: -#line 6596 "gram.y" + case 883: +#line 6603 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 883: -#line 6599 "gram.y" + case 884: +#line 6606 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 884: -#line 6600 "gram.y" + case 885: +#line 6607 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 885: -#line 6609 "gram.y" + case 886: +#line 6616 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), (Node *) (yyvsp[(3) - (3)].node), (yylsp[(1) - (3)])); ;} break; - case 886: -#line 6615 "gram.y" + case 887: +#line 6622 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 887: -#line 6616 "gram.y" + case 888: +#line 6623 "gram.y" { (yyval.list) = NIL; ;} break; - case 888: -#line 6620 "gram.y" + case 889: +#line 6627 "gram.y" { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; - case 889: -#line 6622 "gram.y" + case 890: +#line 6629 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); ;} break; - case 890: -#line 6633 "gram.y" + case 891: +#line 6640 "gram.y" { AlterEnumStmt *n = makeNode(AlterEnumStmt); @@ -39474,8 +39429,8 @@ YYLTYPE yylloc; ;} break; - case 891: -#line 6645 "gram.y" + case 892: +#line 6652 "gram.y" { AlterEnumStmt *n = makeNode(AlterEnumStmt); @@ -39489,8 +39444,8 @@ YYLTYPE yylloc; ;} break; - case 892: -#line 6657 "gram.y" + case 893: +#line 6664 "gram.y" { AlterEnumStmt *n = makeNode(AlterEnumStmt); @@ -39504,8 +39459,8 @@ YYLTYPE yylloc; ;} break; - case 893: -#line 6669 "gram.y" + case 894: +#line 6676 "gram.y" { AlterEnumStmt *n = makeNode(AlterEnumStmt); @@ -39519,8 +39474,8 @@ YYLTYPE yylloc; ;} break; - case 894: -#line 6681 "gram.y" + case 895: +#line 6688 "gram.y" { /* * The following problems must be solved before this can be @@ -39549,18 +39504,18 @@ YYLTYPE yylloc; ;} break; - case 895: -#line 6709 "gram.y" + case 896: +#line 6716 "gram.y" { (yyval.boolean) = true; ;} break; - case 896: -#line 6710 "gram.y" + case 897: +#line 6717 "gram.y" { (yyval.boolean) = false; ;} break; - case 897: -#line 6728 "gram.y" + case 898: +#line 6735 "gram.y" { CreateOpClassStmt *n = makeNode(CreateOpClassStmt); @@ -39574,18 +39529,18 @@ YYLTYPE yylloc; ;} break; - case 898: -#line 6742 "gram.y" + case 899: +#line 6749 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 899: -#line 6743 "gram.y" + case 900: +#line 6750 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 900: -#line 6748 "gram.y" + case 901: +#line 6755 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); ObjectWithArgs *owa = makeNode(ObjectWithArgs); @@ -39600,8 +39555,8 @@ YYLTYPE yylloc; ;} break; - case 901: -#line 6761 "gram.y" + case 902: +#line 6768 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -39613,8 +39568,8 @@ YYLTYPE yylloc; ;} break; - case 902: -#line 6771 "gram.y" + case 903: +#line 6778 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -39625,8 +39580,8 @@ YYLTYPE yylloc; ;} break; - case 903: -#line 6780 "gram.y" + case 904: +#line 6787 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -39638,8 +39593,8 @@ YYLTYPE yylloc; ;} break; - case 904: -#line 6790 "gram.y" + case 905: +#line 6797 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -39649,43 +39604,43 @@ YYLTYPE yylloc; ;} break; - case 905: -#line 6799 "gram.y" + case 906: +#line 6806 "gram.y" { (yyval.boolean) = true; ;} break; - case 906: -#line 6800 "gram.y" + case 907: +#line 6807 "gram.y" { (yyval.boolean) = false; ;} break; - case 907: -#line 6803 "gram.y" + case 908: +#line 6810 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 908: -#line 6804 "gram.y" + case 909: +#line 6811 "gram.y" { (yyval.list) = NIL; ;} break; - case 909: -#line 6807 "gram.y" + case 910: +#line 6814 "gram.y" { (yyval.list) = NIL; ;} break; - case 910: -#line 6808 "gram.y" + case 911: +#line 6815 "gram.y" { (yyval.list) = (yyvsp[(4) - (4)].list); ;} break; - case 911: -#line 6809 "gram.y" + case 912: +#line 6816 "gram.y" { (yyval.list) = NIL; ;} break; - case 912: -#line 6815 "gram.y" + case 913: +#line 6822 "gram.y" { CreateOpFamilyStmt *n = makeNode(CreateOpFamilyStmt); @@ -39695,8 +39650,8 @@ YYLTYPE yylloc; ;} break; - case 913: -#line 6826 "gram.y" + case 914: +#line 6833 "gram.y" { AlterOpFamilyStmt *n = makeNode(AlterOpFamilyStmt); @@ -39708,8 +39663,8 @@ YYLTYPE yylloc; ;} break; - case 914: -#line 6836 "gram.y" + case 915: +#line 6843 "gram.y" { AlterOpFamilyStmt *n = makeNode(AlterOpFamilyStmt); @@ -39721,18 +39676,18 @@ YYLTYPE yylloc; ;} break; - case 915: -#line 6848 "gram.y" + case 916: +#line 6855 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 916: -#line 6849 "gram.y" + case 917: +#line 6856 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 917: -#line 6854 "gram.y" + case 918: +#line 6861 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -39743,8 +39698,8 @@ YYLTYPE yylloc; ;} break; - case 918: -#line 6863 "gram.y" + case 919: +#line 6870 "gram.y" { CreateOpClassItem *n = makeNode(CreateOpClassItem); @@ -39755,8 +39710,8 @@ YYLTYPE yylloc; ;} break; - case 919: -#line 6876 "gram.y" + case 920: +#line 6883 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39769,8 +39724,8 @@ YYLTYPE yylloc; ;} break; - case 920: -#line 6887 "gram.y" + case 921: +#line 6894 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39783,8 +39738,8 @@ YYLTYPE yylloc; ;} break; - case 921: -#line 6901 "gram.y" + case 922: +#line 6908 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39797,8 +39752,8 @@ YYLTYPE yylloc; ;} break; - case 922: -#line 6912 "gram.y" + case 923: +#line 6919 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39811,8 +39766,8 @@ YYLTYPE yylloc; ;} break; - case 923: -#line 6935 "gram.y" + case 924: +#line 6942 "gram.y" { DropOwnedStmt *n = makeNode(DropOwnedStmt); @@ -39822,8 +39777,8 @@ YYLTYPE yylloc; ;} break; - case 924: -#line 6946 "gram.y" + case 925: +#line 6953 "gram.y" { ReassignOwnedStmt *n = makeNode(ReassignOwnedStmt); @@ -39833,8 +39788,8 @@ YYLTYPE yylloc; ;} break; - case 925: -#line 6965 "gram.y" + case 926: +#line 6972 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39847,8 +39802,8 @@ YYLTYPE yylloc; ;} break; - case 926: -#line 6976 "gram.y" + case 927: +#line 6983 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39861,8 +39816,8 @@ YYLTYPE yylloc; ;} break; - case 927: -#line 6987 "gram.y" + case 928: +#line 6994 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39875,8 +39830,8 @@ YYLTYPE yylloc; ;} break; - case 928: -#line 6998 "gram.y" + case 929: +#line 7005 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39889,8 +39844,8 @@ YYLTYPE yylloc; ;} break; - case 929: -#line 7009 "gram.y" + case 930: +#line 7016 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39903,8 +39858,8 @@ YYLTYPE yylloc; ;} break; - case 930: -#line 7020 "gram.y" + case 931: +#line 7027 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39917,8 +39872,8 @@ YYLTYPE yylloc; ;} break; - case 931: -#line 7031 "gram.y" + case 932: +#line 7038 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39931,8 +39886,8 @@ YYLTYPE yylloc; ;} break; - case 932: -#line 7042 "gram.y" + case 933: +#line 7049 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39945,8 +39900,8 @@ YYLTYPE yylloc; ;} break; - case 933: -#line 7053 "gram.y" + case 934: +#line 7060 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39959,8 +39914,8 @@ YYLTYPE yylloc; ;} break; - case 934: -#line 7064 "gram.y" + case 935: +#line 7071 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39973,8 +39928,8 @@ YYLTYPE yylloc; ;} break; - case 935: -#line 7075 "gram.y" + case 936: +#line 7082 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -39987,8 +39942,8 @@ YYLTYPE yylloc; ;} break; - case 936: -#line 7086 "gram.y" + case 937: +#line 7093 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -40001,193 +39956,193 @@ YYLTYPE yylloc; ;} break; - case 937: -#line 7100 "gram.y" + case 938: +#line 7107 "gram.y" { (yyval.objtype) = OBJECT_TABLE; ;} break; - case 938: -#line 7101 "gram.y" + case 939: +#line 7108 "gram.y" { (yyval.objtype) = OBJECT_SEQUENCE; ;} break; - case 939: -#line 7102 "gram.y" + case 940: +#line 7109 "gram.y" { (yyval.objtype) = OBJECT_VIEW; ;} break; - case 940: -#line 7103 "gram.y" + case 941: +#line 7110 "gram.y" { (yyval.objtype) = OBJECT_MATVIEW; ;} break; - case 941: -#line 7104 "gram.y" + case 942: +#line 7111 "gram.y" { (yyval.objtype) = OBJECT_INDEX; ;} break; - case 942: -#line 7105 "gram.y" + case 943: +#line 7112 "gram.y" { (yyval.objtype) = OBJECT_FOREIGN_TABLE; ;} break; - case 943: -#line 7106 "gram.y" + case 944: +#line 7113 "gram.y" { (yyval.objtype) = OBJECT_COLLATION; ;} break; - case 944: -#line 7107 "gram.y" + case 945: +#line 7114 "gram.y" { (yyval.objtype) = OBJECT_CONVERSION; ;} break; - case 945: -#line 7108 "gram.y" + case 946: +#line 7115 "gram.y" { (yyval.objtype) = OBJECT_STATISTIC_EXT; ;} break; - case 946: -#line 7109 "gram.y" + case 947: +#line 7116 "gram.y" { (yyval.objtype) = OBJECT_TSPARSER; ;} break; - case 947: -#line 7110 "gram.y" + case 948: +#line 7117 "gram.y" { (yyval.objtype) = OBJECT_TSDICTIONARY; ;} break; - case 948: -#line 7111 "gram.y" + case 949: +#line 7118 "gram.y" { (yyval.objtype) = OBJECT_TSTEMPLATE; ;} break; - case 949: -#line 7112 "gram.y" + case 950: +#line 7119 "gram.y" { (yyval.objtype) = OBJECT_TSCONFIGURATION; ;} break; - case 950: -#line 7122 "gram.y" + case 951: +#line 7129 "gram.y" { (yyval.objtype) = (yyvsp[(1) - (1)].objtype); ;} break; - case 951: -#line 7123 "gram.y" + case 952: +#line 7130 "gram.y" { (yyval.objtype) = OBJECT_DATABASE; ;} break; - case 952: -#line 7124 "gram.y" + case 953: +#line 7131 "gram.y" { (yyval.objtype) = OBJECT_ROLE; ;} break; - case 953: -#line 7125 "gram.y" + case 954: +#line 7132 "gram.y" { (yyval.objtype) = OBJECT_SUBSCRIPTION; ;} break; - case 954: -#line 7126 "gram.y" + case 955: +#line 7133 "gram.y" { (yyval.objtype) = OBJECT_TABLESPACE; ;} break; - case 955: -#line 7130 "gram.y" + case 956: +#line 7137 "gram.y" { (yyval.objtype) = OBJECT_ACCESS_METHOD; ;} break; - case 956: -#line 7131 "gram.y" + case 957: +#line 7138 "gram.y" { (yyval.objtype) = OBJECT_EVENT_TRIGGER; ;} break; - case 957: -#line 7132 "gram.y" + case 958: +#line 7139 "gram.y" { (yyval.objtype) = OBJECT_EXTENSION; ;} break; - case 958: -#line 7133 "gram.y" + case 959: +#line 7140 "gram.y" { (yyval.objtype) = OBJECT_FDW; ;} break; - case 959: -#line 7134 "gram.y" + case 960: +#line 7141 "gram.y" { (yyval.objtype) = OBJECT_LANGUAGE; ;} break; - case 960: -#line 7135 "gram.y" + case 961: +#line 7142 "gram.y" { (yyval.objtype) = OBJECT_PUBLICATION; ;} break; - case 961: -#line 7136 "gram.y" + case 962: +#line 7143 "gram.y" { (yyval.objtype) = OBJECT_SCHEMA; ;} break; - case 962: -#line 7137 "gram.y" + case 963: +#line 7144 "gram.y" { (yyval.objtype) = OBJECT_FOREIGN_SERVER; ;} break; - case 963: -#line 7142 "gram.y" + case 964: +#line 7149 "gram.y" { (yyval.objtype) = OBJECT_POLICY; ;} break; - case 964: -#line 7143 "gram.y" + case 965: +#line 7150 "gram.y" { (yyval.objtype) = OBJECT_RULE; ;} break; - case 965: -#line 7144 "gram.y" + case 966: +#line 7151 "gram.y" { (yyval.objtype) = OBJECT_TRIGGER; ;} break; - case 966: -#line 7148 "gram.y" + case 967: +#line 7155 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].list)); ;} break; - case 967: -#line 7149 "gram.y" + case 968: +#line 7156 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].list)); ;} break; - case 968: -#line 7152 "gram.y" + case 969: +#line 7159 "gram.y" { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; - case 969: -#line 7153 "gram.y" + case 970: +#line 7160 "gram.y" { (yyval.list) = lcons(makeString((yyvsp[(1) - (2)].str)), (yyvsp[(2) - (2)].list)); ;} break; - case 970: -#line 7157 "gram.y" + case 971: +#line 7164 "gram.y" { (yyval.list) = list_make1(makeString((yyvsp[(2) - (2)].str))); ;} break; - case 971: -#line 7159 "gram.y" + case 972: +#line 7166 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); ;} break; - case 972: -#line 7163 "gram.y" + case 973: +#line 7170 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].typnam)); ;} break; - case 973: -#line 7164 "gram.y" + case 974: +#line 7171 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].typnam)); ;} break; - case 974: -#line 7176 "gram.y" + case 975: +#line 7183 "gram.y" { TruncateStmt *n = makeNode(TruncateStmt); @@ -40198,23 +40153,23 @@ YYLTYPE yylloc; ;} break; - case 975: -#line 7187 "gram.y" + case 976: +#line 7194 "gram.y" { (yyval.boolean) = false; ;} break; - case 976: -#line 7188 "gram.y" + case 977: +#line 7195 "gram.y" { (yyval.boolean) = true; ;} break; - case 977: -#line 7189 "gram.y" + case 978: +#line 7196 "gram.y" { (yyval.boolean) = false; ;} break; - case 978: -#line 7200 "gram.y" + case 979: +#line 7207 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40225,8 +40180,8 @@ YYLTYPE yylloc; ;} break; - case 979: -#line 7209 "gram.y" + case 980: +#line 7216 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40237,8 +40192,8 @@ YYLTYPE yylloc; ;} break; - case 980: -#line 7218 "gram.y" + case 981: +#line 7225 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40249,8 +40204,8 @@ YYLTYPE yylloc; ;} break; - case 981: -#line 7227 "gram.y" + case 982: +#line 7234 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40261,8 +40216,8 @@ YYLTYPE yylloc; ;} break; - case 982: -#line 7236 "gram.y" + case 983: +#line 7243 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40273,8 +40228,8 @@ YYLTYPE yylloc; ;} break; - case 983: -#line 7245 "gram.y" + case 984: +#line 7252 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40285,8 +40240,8 @@ YYLTYPE yylloc; ;} break; - case 984: -#line 7254 "gram.y" + case 985: +#line 7261 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40297,8 +40252,8 @@ YYLTYPE yylloc; ;} break; - case 985: -#line 7263 "gram.y" + case 986: +#line 7270 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40309,8 +40264,8 @@ YYLTYPE yylloc; ;} break; - case 986: -#line 7272 "gram.y" + case 987: +#line 7279 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40321,8 +40276,8 @@ YYLTYPE yylloc; ;} break; - case 987: -#line 7281 "gram.y" + case 988: +#line 7288 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40338,8 +40293,8 @@ YYLTYPE yylloc; ;} break; - case 988: -#line 7295 "gram.y" + case 989: +#line 7302 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40350,8 +40305,8 @@ YYLTYPE yylloc; ;} break; - case 989: -#line 7304 "gram.y" + case 990: +#line 7311 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40362,8 +40317,8 @@ YYLTYPE yylloc; ;} break; - case 990: -#line 7313 "gram.y" + case 991: +#line 7320 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40374,8 +40329,8 @@ YYLTYPE yylloc; ;} break; - case 991: -#line 7322 "gram.y" + case 992: +#line 7329 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40386,8 +40341,8 @@ YYLTYPE yylloc; ;} break; - case 992: -#line 7331 "gram.y" + case 993: +#line 7338 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40398,8 +40353,8 @@ YYLTYPE yylloc; ;} break; - case 993: -#line 7340 "gram.y" + case 994: +#line 7347 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40410,8 +40365,8 @@ YYLTYPE yylloc; ;} break; - case 994: -#line 7349 "gram.y" + case 995: +#line 7356 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40422,8 +40377,8 @@ YYLTYPE yylloc; ;} break; - case 995: -#line 7358 "gram.y" + case 996: +#line 7365 "gram.y" { CommentStmt *n = makeNode(CommentStmt); @@ -40434,18 +40389,18 @@ YYLTYPE yylloc; ;} break; - case 996: -#line 7369 "gram.y" + case 997: +#line 7376 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 997: -#line 7370 "gram.y" + case 998: +#line 7377 "gram.y" { (yyval.str) = NULL; ;} break; - case 998: -#line 7386 "gram.y" + case 999: +#line 7393 "gram.y" { SecLabelStmt *n = makeNode(SecLabelStmt); @@ -40457,8 +40412,8 @@ YYLTYPE yylloc; ;} break; - case 999: -#line 7397 "gram.y" + case 1000: +#line 7404 "gram.y" { SecLabelStmt *n = makeNode(SecLabelStmt); @@ -40470,8 +40425,8 @@ YYLTYPE yylloc; ;} break; - case 1000: -#line 7408 "gram.y" + case 1001: +#line 7415 "gram.y" { SecLabelStmt *n = makeNode(SecLabelStmt); @@ -40483,8 +40438,8 @@ YYLTYPE yylloc; ;} break; - case 1001: -#line 7419 "gram.y" + case 1002: +#line 7426 "gram.y" { SecLabelStmt *n = makeNode(SecLabelStmt); @@ -40496,8 +40451,8 @@ YYLTYPE yylloc; ;} break; - case 1002: -#line 7430 "gram.y" + case 1003: +#line 7437 "gram.y" { SecLabelStmt *n = makeNode(SecLabelStmt); @@ -40509,8 +40464,8 @@ YYLTYPE yylloc; ;} break; - case 1003: -#line 7441 "gram.y" + case 1004: +#line 7448 "gram.y" { SecLabelStmt *n = makeNode(SecLabelStmt); @@ -40522,8 +40477,8 @@ YYLTYPE yylloc; ;} break; - case 1004: -#line 7452 "gram.y" + case 1005: +#line 7459 "gram.y" { SecLabelStmt *n = makeNode(SecLabelStmt); @@ -40535,8 +40490,8 @@ YYLTYPE yylloc; ;} break; - case 1005: -#line 7463 "gram.y" + case 1006: +#line 7470 "gram.y" { SecLabelStmt *n = makeNode(SecLabelStmt); @@ -40548,8 +40503,8 @@ YYLTYPE yylloc; ;} break; - case 1006: -#line 7474 "gram.y" + case 1007: +#line 7481 "gram.y" { SecLabelStmt *n = makeNode(SecLabelStmt); @@ -40561,8 +40516,8 @@ YYLTYPE yylloc; ;} break; - case 1007: -#line 7485 "gram.y" + case 1008: +#line 7492 "gram.y" { SecLabelStmt *n = makeNode(SecLabelStmt); @@ -40574,28 +40529,28 @@ YYLTYPE yylloc; ;} break; - case 1008: -#line 7496 "gram.y" + case 1009: +#line 7503 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; - case 1009: -#line 7497 "gram.y" + case 1010: +#line 7504 "gram.y" { (yyval.str) = NULL; ;} break; - case 1010: -#line 7500 "gram.y" + case 1011: +#line 7507 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 1011: -#line 7501 "gram.y" + case 1012: +#line 7508 "gram.y" { (yyval.str) = NULL; ;} break; - case 1012: -#line 7512 "gram.y" + case 1013: +#line 7519 "gram.y" { FetchStmt *n = (FetchStmt *) (yyvsp[(2) - (2)].node); @@ -40604,8 +40559,8 @@ YYLTYPE yylloc; ;} break; - case 1013: -#line 7519 "gram.y" + case 1014: +#line 7526 "gram.y" { FetchStmt *n = (FetchStmt *) (yyvsp[(2) - (2)].node); @@ -40614,8 +40569,8 @@ YYLTYPE yylloc; ;} break; - case 1014: -#line 7528 "gram.y" + case 1015: +#line 7535 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40626,8 +40581,8 @@ YYLTYPE yylloc; ;} break; - case 1015: -#line 7537 "gram.y" + case 1016: +#line 7544 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40638,8 +40593,8 @@ YYLTYPE yylloc; ;} break; - case 1016: -#line 7546 "gram.y" + case 1017: +#line 7553 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40650,8 +40605,8 @@ YYLTYPE yylloc; ;} break; - case 1017: -#line 7555 "gram.y" + case 1018: +#line 7562 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40662,8 +40617,8 @@ YYLTYPE yylloc; ;} break; - case 1018: -#line 7564 "gram.y" + case 1019: +#line 7571 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40674,8 +40629,8 @@ YYLTYPE yylloc; ;} break; - case 1019: -#line 7573 "gram.y" + case 1020: +#line 7580 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40686,8 +40641,8 @@ YYLTYPE yylloc; ;} break; - case 1020: -#line 7582 "gram.y" + case 1021: +#line 7589 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40698,8 +40653,8 @@ YYLTYPE yylloc; ;} break; - case 1021: -#line 7591 "gram.y" + case 1022: +#line 7598 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40710,8 +40665,8 @@ YYLTYPE yylloc; ;} break; - case 1022: -#line 7600 "gram.y" + case 1023: +#line 7607 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40722,8 +40677,8 @@ YYLTYPE yylloc; ;} break; - case 1023: -#line 7609 "gram.y" + case 1024: +#line 7616 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40734,8 +40689,8 @@ YYLTYPE yylloc; ;} break; - case 1024: -#line 7618 "gram.y" + case 1025: +#line 7625 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40746,8 +40701,8 @@ YYLTYPE yylloc; ;} break; - case 1025: -#line 7627 "gram.y" + case 1026: +#line 7634 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40758,8 +40713,8 @@ YYLTYPE yylloc; ;} break; - case 1026: -#line 7636 "gram.y" + case 1027: +#line 7643 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40770,8 +40725,8 @@ YYLTYPE yylloc; ;} break; - case 1027: -#line 7645 "gram.y" + case 1028: +#line 7652 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40782,8 +40737,8 @@ YYLTYPE yylloc; ;} break; - case 1028: -#line 7654 "gram.y" + case 1029: +#line 7661 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40794,8 +40749,8 @@ YYLTYPE yylloc; ;} break; - case 1029: -#line 7663 "gram.y" + case 1030: +#line 7670 "gram.y" { FetchStmt *n = makeNode(FetchStmt); @@ -40806,8 +40761,8 @@ YYLTYPE yylloc; ;} break; - case 1034: -#line 7690 "gram.y" + case 1035: +#line 7697 "gram.y" { GrantStmt *n = makeNode(GrantStmt); @@ -40823,8 +40778,8 @@ YYLTYPE yylloc; ;} break; - case 1035: -#line 7708 "gram.y" + case 1036: +#line 7715 "gram.y" { GrantStmt *n = makeNode(GrantStmt); @@ -40841,8 +40796,8 @@ YYLTYPE yylloc; ;} break; - case 1036: -#line 7724 "gram.y" + case 1037: +#line 7731 "gram.y" { GrantStmt *n = makeNode(GrantStmt); @@ -40859,23 +40814,23 @@ YYLTYPE yylloc; ;} break; - case 1037: -#line 7751 "gram.y" + case 1038: +#line 7758 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 1038: -#line 7753 "gram.y" + case 1039: +#line 7760 "gram.y" { (yyval.list) = NIL; ;} break; - case 1039: -#line 7755 "gram.y" + case 1040: +#line 7762 "gram.y" { (yyval.list) = NIL; ;} break; - case 1040: -#line 7757 "gram.y" + case 1041: +#line 7764 "gram.y" { AccessPriv *n = makeNode(AccessPriv); @@ -40885,8 +40840,8 @@ YYLTYPE yylloc; ;} break; - case 1041: -#line 7765 "gram.y" + case 1042: +#line 7772 "gram.y" { AccessPriv *n = makeNode(AccessPriv); @@ -40896,18 +40851,18 @@ YYLTYPE yylloc; ;} break; - case 1042: -#line 7774 "gram.y" + case 1043: +#line 7781 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].accesspriv)); ;} break; - case 1043: -#line 7775 "gram.y" + case 1044: +#line 7782 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].accesspriv)); ;} break; - case 1044: -#line 7779 "gram.y" + case 1045: +#line 7786 "gram.y" { AccessPriv *n = makeNode(AccessPriv); @@ -40917,8 +40872,8 @@ YYLTYPE yylloc; ;} break; - case 1045: -#line 7787 "gram.y" + case 1046: +#line 7794 "gram.y" { AccessPriv *n = makeNode(AccessPriv); @@ -40928,8 +40883,8 @@ YYLTYPE yylloc; ;} break; - case 1046: -#line 7795 "gram.y" + case 1047: +#line 7802 "gram.y" { AccessPriv *n = makeNode(AccessPriv); @@ -40939,8 +40894,8 @@ YYLTYPE yylloc; ;} break; - case 1047: -#line 7803 "gram.y" + case 1048: +#line 7810 "gram.y" { AccessPriv *n = makeNode(AccessPriv); n->priv_name = pstrdup("alter system"); @@ -40949,8 +40904,8 @@ YYLTYPE yylloc; ;} break; - case 1048: -#line 7810 "gram.y" + case 1049: +#line 7817 "gram.y" { AccessPriv *n = makeNode(AccessPriv); @@ -40960,36 +40915,29 @@ YYLTYPE yylloc; ;} break; - case 1049: -#line 7821 "gram.y" - { - (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); - ;} - break; - case 1050: -#line 7825 "gram.y" +#line 7828 "gram.y" { - (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); + (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; case 1051: #line 7832 "gram.y" { - (yyval.str) = (yyvsp[(1) - (1)].str); + (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); ;} break; case 1052: -#line 7836 "gram.y" +#line 7839 "gram.y" { - (yyval.str) = psprintf("%s.%s", (yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].str)); + (yyval.str) = NameListToString((yyvsp[(1) - (1)].list)); ;} break; case 1053: -#line 7847 "gram.y" +#line 7850 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41001,7 +40949,7 @@ YYLTYPE yylloc; break; case 1054: -#line 7856 "gram.y" +#line 7859 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41013,7 +40961,7 @@ YYLTYPE yylloc; break; case 1055: -#line 7865 "gram.y" +#line 7868 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41025,7 +40973,7 @@ YYLTYPE yylloc; break; case 1056: -#line 7874 "gram.y" +#line 7877 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41037,7 +40985,7 @@ YYLTYPE yylloc; break; case 1057: -#line 7883 "gram.y" +#line 7886 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41049,7 +40997,7 @@ YYLTYPE yylloc; break; case 1058: -#line 7892 "gram.y" +#line 7895 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41061,7 +41009,7 @@ YYLTYPE yylloc; break; case 1059: -#line 7901 "gram.y" +#line 7904 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41073,7 +41021,7 @@ YYLTYPE yylloc; break; case 1060: -#line 7910 "gram.y" +#line 7913 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41085,7 +41033,7 @@ YYLTYPE yylloc; break; case 1061: -#line 7919 "gram.y" +#line 7922 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41097,7 +41045,7 @@ YYLTYPE yylloc; break; case 1062: -#line 7928 "gram.y" +#line 7931 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41109,7 +41057,7 @@ YYLTYPE yylloc; break; case 1063: -#line 7937 "gram.y" +#line 7940 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41121,7 +41069,7 @@ YYLTYPE yylloc; break; case 1064: -#line 7946 "gram.y" +#line 7949 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41133,7 +41081,7 @@ YYLTYPE yylloc; break; case 1065: -#line 7955 "gram.y" +#line 7958 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); n->targtype = ACL_TARGET_OBJECT; @@ -41144,7 +41092,7 @@ YYLTYPE yylloc; break; case 1066: -#line 7963 "gram.y" +#line 7966 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41156,7 +41104,7 @@ YYLTYPE yylloc; break; case 1067: -#line 7972 "gram.y" +#line 7975 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41168,7 +41116,7 @@ YYLTYPE yylloc; break; case 1068: -#line 7981 "gram.y" +#line 7984 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41180,7 +41128,7 @@ YYLTYPE yylloc; break; case 1069: -#line 7990 "gram.y" +#line 7993 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41192,7 +41140,7 @@ YYLTYPE yylloc; break; case 1070: -#line 7999 "gram.y" +#line 8002 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41204,7 +41152,7 @@ YYLTYPE yylloc; break; case 1071: -#line 8008 "gram.y" +#line 8011 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41216,7 +41164,7 @@ YYLTYPE yylloc; break; case 1072: -#line 8017 "gram.y" +#line 8020 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41228,7 +41176,7 @@ YYLTYPE yylloc; break; case 1073: -#line 8026 "gram.y" +#line 8029 "gram.y" { PrivTarget *n = (PrivTarget *) palloc(sizeof(PrivTarget)); @@ -41240,37 +41188,37 @@ YYLTYPE yylloc; break; case 1074: -#line 8038 "gram.y" +#line 8041 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].rolespec)); ;} break; case 1075: -#line 8039 "gram.y" +#line 8042 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].rolespec)); ;} break; case 1076: -#line 8043 "gram.y" +#line 8046 "gram.y" { (yyval.rolespec) = (yyvsp[(1) - (1)].rolespec); ;} break; case 1077: -#line 8044 "gram.y" +#line 8047 "gram.y" { (yyval.rolespec) = (yyvsp[(2) - (2)].rolespec); ;} break; case 1078: -#line 8049 "gram.y" +#line 8052 "gram.y" { (yyval.boolean) = true; ;} break; case 1079: -#line 8050 "gram.y" +#line 8053 "gram.y" { (yyval.boolean) = false; ;} break; case 1080: -#line 8061 "gram.y" +#line 8064 "gram.y" { GrantRoleStmt *n = makeNode(GrantRoleStmt); @@ -41284,7 +41232,7 @@ YYLTYPE yylloc; break; case 1081: -#line 8072 "gram.y" +#line 8075 "gram.y" { GrantRoleStmt *n = makeNode(GrantRoleStmt); @@ -41298,7 +41246,7 @@ YYLTYPE yylloc; break; case 1082: -#line 8086 "gram.y" +#line 8089 "gram.y" { GrantRoleStmt *n = makeNode(GrantRoleStmt); @@ -41313,7 +41261,7 @@ YYLTYPE yylloc; break; case 1083: -#line 8098 "gram.y" +#line 8101 "gram.y" { GrantRoleStmt *n = makeNode(GrantRoleStmt); DefElem *opt; @@ -41331,49 +41279,49 @@ YYLTYPE yylloc; break; case 1084: -#line 8115 "gram.y" +#line 8118 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; case 1085: -#line 8116 "gram.y" +#line 8119 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; case 1086: -#line 8121 "gram.y" +#line 8124 "gram.y" { (yyval.defelt) = makeDefElem(pstrdup((yyvsp[(1) - (2)].str)), (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; case 1087: -#line 8127 "gram.y" +#line 8130 "gram.y" { (yyval.node) = (Node *) makeBoolean(true); ;} break; case 1088: -#line 8128 "gram.y" +#line 8131 "gram.y" { (yyval.node) = (Node *) makeBoolean(true); ;} break; case 1089: -#line 8129 "gram.y" +#line 8132 "gram.y" { (yyval.node) = (Node *) makeBoolean(false); ;} break; case 1090: -#line 8132 "gram.y" +#line 8135 "gram.y" { (yyval.rolespec) = (yyvsp[(3) - (3)].rolespec); ;} break; case 1091: -#line 8133 "gram.y" +#line 8136 "gram.y" { (yyval.rolespec) = NULL; ;} break; case 1092: -#line 8144 "gram.y" +#line 8147 "gram.y" { AlterDefaultPrivilegesStmt *n = makeNode(AlterDefaultPrivilegesStmt); @@ -41384,38 +41332,38 @@ YYLTYPE yylloc; break; case 1093: -#line 8154 "gram.y" +#line 8157 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; case 1094: -#line 8155 "gram.y" +#line 8158 "gram.y" { (yyval.list) = NIL; ;} break; case 1095: -#line 8160 "gram.y" +#line 8163 "gram.y" { (yyval.defelt) = makeDefElem("schemas", (Node *) (yyvsp[(3) - (3)].list), (yylsp[(1) - (3)])); ;} break; case 1096: -#line 8164 "gram.y" +#line 8167 "gram.y" { (yyval.defelt) = makeDefElem("roles", (Node *) (yyvsp[(3) - (3)].list), (yylsp[(1) - (3)])); ;} break; case 1097: -#line 8168 "gram.y" +#line 8171 "gram.y" { (yyval.defelt) = makeDefElem("roles", (Node *) (yyvsp[(3) - (3)].list), (yylsp[(1) - (3)])); ;} break; case 1098: -#line 8180 "gram.y" +#line 8183 "gram.y" { GrantStmt *n = makeNode(GrantStmt); @@ -41431,7 +41379,7 @@ YYLTYPE yylloc; break; case 1099: -#line 8194 "gram.y" +#line 8197 "gram.y" { GrantStmt *n = makeNode(GrantStmt); @@ -41448,7 +41396,7 @@ YYLTYPE yylloc; break; case 1100: -#line 8209 "gram.y" +#line 8212 "gram.y" { GrantStmt *n = makeNode(GrantStmt); @@ -41465,42 +41413,42 @@ YYLTYPE yylloc; break; case 1101: -#line 8225 "gram.y" +#line 8228 "gram.y" { (yyval.ival) = OBJECT_TABLE; ;} break; case 1102: -#line 8226 "gram.y" +#line 8229 "gram.y" { (yyval.ival) = OBJECT_FUNCTION; ;} break; case 1103: -#line 8227 "gram.y" +#line 8230 "gram.y" { (yyval.ival) = OBJECT_FUNCTION; ;} break; case 1104: -#line 8228 "gram.y" +#line 8231 "gram.y" { (yyval.ival) = OBJECT_SEQUENCE; ;} break; case 1105: -#line 8229 "gram.y" +#line 8232 "gram.y" { (yyval.ival) = OBJECT_TYPE; ;} break; case 1106: -#line 8230 "gram.y" +#line 8233 "gram.y" { (yyval.ival) = OBJECT_SCHEMA; ;} break; case 1107: -#line 8231 "gram.y" +#line 8234 "gram.y" { (yyval.ival) = OBJECT_LARGEOBJECT; ;} break; case 1108: -#line 8246 "gram.y" +#line 8249 "gram.y" { IndexStmt *n = makeNode(IndexStmt); @@ -41533,7 +41481,7 @@ YYLTYPE yylloc; break; case 1109: -#line 8278 "gram.y" +#line 8281 "gram.y" { IndexStmt *n = makeNode(IndexStmt); @@ -41566,37 +41514,37 @@ YYLTYPE yylloc; break; case 1110: -#line 8310 "gram.y" +#line 8313 "gram.y" { (yyval.boolean) = true; ;} break; case 1111: -#line 8311 "gram.y" +#line 8314 "gram.y" { (yyval.boolean) = false; ;} break; case 1112: -#line 8315 "gram.y" +#line 8318 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; case 1113: -#line 8316 "gram.y" +#line 8319 "gram.y" { (yyval.str) = DEFAULT_INDEX_TYPE; ;} break; case 1114: -#line 8319 "gram.y" +#line 8322 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].ielem)); ;} break; case 1115: -#line 8320 "gram.y" +#line 8323 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].ielem)); ;} break; case 1116: -#line 8326 "gram.y" +#line 8329 "gram.y" { (yyval.ielem) = makeNode(IndexElem); (yyval.ielem)->name = NULL; @@ -41611,7 +41559,7 @@ YYLTYPE yylloc; break; case 1117: -#line 8338 "gram.y" +#line 8341 "gram.y" { (yyval.ielem) = makeNode(IndexElem); (yyval.ielem)->name = NULL; @@ -41626,7 +41574,7 @@ YYLTYPE yylloc; break; case 1118: -#line 8357 "gram.y" +#line 8360 "gram.y" { (yyval.ielem) = (yyvsp[(2) - (2)].ielem); (yyval.ielem)->name = (yyvsp[(1) - (2)].str); @@ -41634,7 +41582,7 @@ YYLTYPE yylloc; break; case 1119: -#line 8362 "gram.y" +#line 8365 "gram.y" { (yyval.ielem) = (yyvsp[(2) - (2)].ielem); (yyval.ielem)->expr = (yyvsp[(1) - (2)].node); @@ -41642,7 +41590,7 @@ YYLTYPE yylloc; break; case 1120: -#line 8367 "gram.y" +#line 8370 "gram.y" { (yyval.ielem) = (yyvsp[(4) - (4)].ielem); (yyval.ielem)->expr = (yyvsp[(2) - (4)].node); @@ -41650,67 +41598,67 @@ YYLTYPE yylloc; break; case 1121: -#line 8373 "gram.y" +#line 8376 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; case 1122: -#line 8374 "gram.y" +#line 8377 "gram.y" { (yyval.list) = NIL; ;} break; case 1123: -#line 8377 "gram.y" +#line 8380 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].ielem)); ;} break; case 1124: -#line 8378 "gram.y" +#line 8381 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].ielem)); ;} break; case 1125: -#line 8381 "gram.y" +#line 8384 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; case 1126: -#line 8382 "gram.y" +#line 8385 "gram.y" { (yyval.list) = NIL; ;} break; case 1127: -#line 8386 "gram.y" +#line 8389 "gram.y" { (yyval.ival) = SORTBY_ASC; ;} break; case 1128: -#line 8387 "gram.y" +#line 8390 "gram.y" { (yyval.ival) = SORTBY_DESC; ;} break; case 1129: -#line 8388 "gram.y" +#line 8391 "gram.y" { (yyval.ival) = SORTBY_DEFAULT; ;} break; case 1130: -#line 8391 "gram.y" +#line 8394 "gram.y" { (yyval.ival) = SORTBY_NULLS_FIRST; ;} break; case 1131: -#line 8392 "gram.y" +#line 8395 "gram.y" { (yyval.ival) = SORTBY_NULLS_LAST; ;} break; case 1132: -#line 8393 "gram.y" +#line 8396 "gram.y" { (yyval.ival) = SORTBY_NULLS_DEFAULT; ;} break; case 1133: -#line 8411 "gram.y" +#line 8414 "gram.y" { CreateFunctionStmt *n = makeNode(CreateFunctionStmt); @@ -41726,7 +41674,7 @@ YYLTYPE yylloc; break; case 1134: -#line 8425 "gram.y" +#line 8428 "gram.y" { CreateFunctionStmt *n = makeNode(CreateFunctionStmt); @@ -41743,7 +41691,7 @@ YYLTYPE yylloc; break; case 1135: -#line 8440 "gram.y" +#line 8443 "gram.y" { CreateFunctionStmt *n = makeNode(CreateFunctionStmt); @@ -41759,7 +41707,7 @@ YYLTYPE yylloc; break; case 1136: -#line 8454 "gram.y" +#line 8457 "gram.y" { CreateFunctionStmt *n = makeNode(CreateFunctionStmt); @@ -41775,47 +41723,47 @@ YYLTYPE yylloc; break; case 1137: -#line 8469 "gram.y" +#line 8472 "gram.y" { (yyval.boolean) = true; ;} break; case 1138: -#line 8470 "gram.y" +#line 8473 "gram.y" { (yyval.boolean) = false; ;} break; case 1139: -#line 8473 "gram.y" +#line 8476 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; case 1140: -#line 8474 "gram.y" +#line 8477 "gram.y" { (yyval.list) = NIL; ;} break; case 1141: -#line 8478 "gram.y" +#line 8481 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].fun_param)); ;} break; case 1142: -#line 8479 "gram.y" +#line 8482 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].fun_param)); ;} break; case 1143: -#line 8483 "gram.y" +#line 8486 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].objwithargs)); ;} break; case 1144: -#line 8485 "gram.y" +#line 8488 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].objwithargs)); ;} break; case 1145: -#line 8490 "gram.y" +#line 8493 "gram.y" { ObjectWithArgs *n = makeNode(ObjectWithArgs); @@ -41827,7 +41775,7 @@ YYLTYPE yylloc; break; case 1146: -#line 8504 "gram.y" +#line 8507 "gram.y" { ObjectWithArgs *n = makeNode(ObjectWithArgs); @@ -41838,7 +41786,7 @@ YYLTYPE yylloc; break; case 1147: -#line 8512 "gram.y" +#line 8515 "gram.y" { ObjectWithArgs *n = makeNode(ObjectWithArgs); @@ -41849,7 +41797,7 @@ YYLTYPE yylloc; break; case 1148: -#line 8520 "gram.y" +#line 8523 "gram.y" { ObjectWithArgs *n = makeNode(ObjectWithArgs); @@ -41861,27 +41809,27 @@ YYLTYPE yylloc; break; case 1149: -#line 8535 "gram.y" +#line 8538 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; case 1150: -#line 8536 "gram.y" +#line 8539 "gram.y" { (yyval.list) = NIL; ;} break; case 1151: -#line 8540 "gram.y" +#line 8543 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].fun_param)); ;} break; case 1152: -#line 8542 "gram.y" +#line 8545 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].fun_param)); ;} break; case 1153: -#line 8557 "gram.y" +#line 8560 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -41895,7 +41843,7 @@ YYLTYPE yylloc; break; case 1154: -#line 8568 "gram.y" +#line 8571 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -41909,7 +41857,7 @@ YYLTYPE yylloc; break; case 1155: -#line 8579 "gram.y" +#line 8582 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -41923,7 +41871,7 @@ YYLTYPE yylloc; break; case 1156: -#line 8590 "gram.y" +#line 8593 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -41937,7 +41885,7 @@ YYLTYPE yylloc; break; case 1157: -#line 8601 "gram.y" +#line 8604 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -41951,32 +41899,32 @@ YYLTYPE yylloc; break; case 1158: -#line 8614 "gram.y" +#line 8617 "gram.y" { (yyval.fun_param_mode) = FUNC_PARAM_IN; ;} break; case 1159: -#line 8615 "gram.y" +#line 8618 "gram.y" { (yyval.fun_param_mode) = FUNC_PARAM_OUT; ;} break; case 1160: -#line 8616 "gram.y" +#line 8619 "gram.y" { (yyval.fun_param_mode) = FUNC_PARAM_INOUT; ;} break; case 1161: -#line 8617 "gram.y" +#line 8620 "gram.y" { (yyval.fun_param_mode) = FUNC_PARAM_INOUT; ;} break; case 1162: -#line 8618 "gram.y" +#line 8621 "gram.y" { (yyval.fun_param_mode) = FUNC_PARAM_VARIADIC; ;} break; case 1164: -#line 8629 "gram.y" +#line 8632 "gram.y" { /* We can catch over-specified results here if we want to, * but for now better to silently swallow typmod, etc. @@ -41987,12 +41935,12 @@ YYLTYPE yylloc; break; case 1165: -#line 8643 "gram.y" +#line 8646 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; case 1166: -#line 8645 "gram.y" +#line 8648 "gram.y" { (yyval.typnam) = makeTypeNameFromNameList(lcons(makeString((yyvsp[(1) - (4)].str)), (yyvsp[(2) - (4)].list))); (yyval.typnam)->pct_type = true; @@ -42001,7 +41949,7 @@ YYLTYPE yylloc; break; case 1167: -#line 8651 "gram.y" +#line 8654 "gram.y" { (yyval.typnam) = makeTypeNameFromNameList(lcons(makeString((yyvsp[(2) - (5)].str)), (yyvsp[(3) - (5)].list))); (yyval.typnam)->pct_type = true; @@ -42011,14 +41959,14 @@ YYLTYPE yylloc; break; case 1168: -#line 8661 "gram.y" +#line 8664 "gram.y" { (yyval.fun_param) = (yyvsp[(1) - (1)].fun_param); ;} break; case 1169: -#line 8665 "gram.y" +#line 8668 "gram.y" { (yyval.fun_param) = (yyvsp[(1) - (3)].fun_param); (yyval.fun_param)->defexpr = (yyvsp[(3) - (3)].node); @@ -42026,7 +41974,7 @@ YYLTYPE yylloc; break; case 1170: -#line 8670 "gram.y" +#line 8673 "gram.y" { (yyval.fun_param) = (yyvsp[(1) - (3)].fun_param); (yyval.fun_param)->defexpr = (yyvsp[(3) - (3)].node); @@ -42034,7 +41982,7 @@ YYLTYPE yylloc; break; case 1171: -#line 8678 "gram.y" +#line 8681 "gram.y" { if (!((yyvsp[(1) - (1)].fun_param)->mode == FUNC_PARAM_DEFAULT || (yyvsp[(1) - (1)].fun_param)->mode == FUNC_PARAM_IN || @@ -42048,28 +41996,28 @@ YYLTYPE yylloc; break; case 1172: -#line 8720 "gram.y" +#line 8723 "gram.y" { (yyval.list) = list_make2(NIL, makeInteger(-1)); ;} break; case 1173: -#line 8724 "gram.y" +#line 8727 "gram.y" { (yyval.list) = list_make2((yyvsp[(2) - (3)].list), makeInteger(-1)); ;} break; case 1174: -#line 8728 "gram.y" +#line 8731 "gram.y" { (yyval.list) = list_make2((yyvsp[(4) - (5)].list), makeInteger(0)); ;} break; case 1175: -#line 8732 "gram.y" +#line 8735 "gram.y" { /* this is the only case requiring consistency checking */ (yyval.list) = makeOrderedSetArgs((yyvsp[(2) - (6)].list), (yyvsp[(5) - (6)].list), yyscanner); @@ -42077,17 +42025,17 @@ YYLTYPE yylloc; break; case 1176: -#line 8739 "gram.y" +#line 8742 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].fun_param)); ;} break; case 1177: -#line 8740 "gram.y" +#line 8743 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].fun_param)); ;} break; case 1178: -#line 8745 "gram.y" +#line 8748 "gram.y" { ObjectWithArgs *n = makeNode(ObjectWithArgs); @@ -42099,137 +42047,137 @@ YYLTYPE yylloc; break; case 1179: -#line 8756 "gram.y" +#line 8759 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].objwithargs)); ;} break; case 1180: -#line 8758 "gram.y" +#line 8761 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].objwithargs)); ;} break; case 1182: -#line 8763 "gram.y" +#line 8766 "gram.y" { (yyval.list) = NIL; ;} break; case 1183: -#line 8768 "gram.y" +#line 8771 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; case 1184: -#line 8769 "gram.y" +#line 8772 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; case 1185: -#line 8777 "gram.y" +#line 8780 "gram.y" { (yyval.defelt) = makeDefElem("strict", (Node *) makeBoolean(false), (yylsp[(1) - (4)])); ;} break; case 1186: -#line 8781 "gram.y" +#line 8784 "gram.y" { (yyval.defelt) = makeDefElem("strict", (Node *) makeBoolean(true), (yylsp[(1) - (5)])); ;} break; case 1187: -#line 8785 "gram.y" +#line 8788 "gram.y" { (yyval.defelt) = makeDefElem("strict", (Node *) makeBoolean(true), (yylsp[(1) - (1)])); ;} break; case 1188: -#line 8789 "gram.y" +#line 8792 "gram.y" { (yyval.defelt) = makeDefElem("volatility", (Node *) makeString("immutable"), (yylsp[(1) - (1)])); ;} break; case 1189: -#line 8793 "gram.y" +#line 8796 "gram.y" { (yyval.defelt) = makeDefElem("volatility", (Node *) makeString("stable"), (yylsp[(1) - (1)])); ;} break; case 1190: -#line 8797 "gram.y" +#line 8800 "gram.y" { (yyval.defelt) = makeDefElem("volatility", (Node *) makeString("volatile"), (yylsp[(1) - (1)])); ;} break; case 1191: -#line 8801 "gram.y" +#line 8804 "gram.y" { (yyval.defelt) = makeDefElem("security", (Node *) makeBoolean(true), (yylsp[(1) - (3)])); ;} break; case 1192: -#line 8805 "gram.y" +#line 8808 "gram.y" { (yyval.defelt) = makeDefElem("security", (Node *) makeBoolean(false), (yylsp[(1) - (3)])); ;} break; case 1193: -#line 8809 "gram.y" +#line 8812 "gram.y" { (yyval.defelt) = makeDefElem("security", (Node *) makeBoolean(true), (yylsp[(1) - (2)])); ;} break; case 1194: -#line 8813 "gram.y" +#line 8816 "gram.y" { (yyval.defelt) = makeDefElem("security", (Node *) makeBoolean(false), (yylsp[(1) - (2)])); ;} break; case 1195: -#line 8817 "gram.y" +#line 8820 "gram.y" { (yyval.defelt) = makeDefElem("leakproof", (Node *) makeBoolean(true), (yylsp[(1) - (1)])); ;} break; case 1196: -#line 8821 "gram.y" +#line 8824 "gram.y" { (yyval.defelt) = makeDefElem("leakproof", (Node *) makeBoolean(false), (yylsp[(1) - (2)])); ;} break; case 1197: -#line 8825 "gram.y" +#line 8828 "gram.y" { (yyval.defelt) = makeDefElem("cost", (Node *) (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; case 1198: -#line 8829 "gram.y" +#line 8832 "gram.y" { (yyval.defelt) = makeDefElem("rows", (Node *) (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; case 1199: -#line 8833 "gram.y" +#line 8836 "gram.y" { (yyval.defelt) = makeDefElem("support", (Node *) (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)])); ;} break; case 1200: -#line 8837 "gram.y" +#line 8840 "gram.y" { /* we abuse the normal content of a DefElem here */ (yyval.defelt) = makeDefElem("set", (Node *) (yyvsp[(1) - (1)].vsetstmt), (yylsp[(1) - (1)])); @@ -42237,61 +42185,70 @@ YYLTYPE yylloc; break; case 1201: -#line 8842 "gram.y" +#line 8845 "gram.y" { (yyval.defelt) = makeDefElem("parallel", (Node *) makeString((yyvsp[(2) - (2)].str)), (yylsp[(1) - (2)])); ;} break; case 1202: -#line 8849 "gram.y" +#line 8852 "gram.y" { (yyval.defelt) = makeDefElem("as", (Node *) (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)])); + (yyval.defelt)->arg_location = (yylsp[(2) - (2)]); ;} break; case 1203: -#line 8853 "gram.y" +#line 8857 "gram.y" { (yyval.defelt) = makeDefElem("language", (Node *) makeString((yyvsp[(2) - (2)].str)), (yylsp[(1) - (2)])); ;} break; case 1204: -#line 8857 "gram.y" +#line 8861 "gram.y" { - (yyval.defelt) = makeDefElem("transform", (Node *) (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)])); + (yyval.defelt) = makeDefElem("language", (Node *) makeString((yyvsp[(2) - (2)].str)), (yylsp[(1) - (2)])); + (yyval.defelt)->arg_location = (yylsp[(2) - (2)]); ;} break; case 1205: -#line 8861 "gram.y" +#line 8866 "gram.y" { - (yyval.defelt) = makeDefElem("window", (Node *) makeBoolean(true), (yylsp[(1) - (1)])); + (yyval.defelt) = makeDefElem("transform", (Node *) (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)])); ;} break; case 1206: -#line 8865 "gram.y" +#line 8870 "gram.y" { - (yyval.defelt) = (yyvsp[(1) - (1)].defelt); + (yyval.defelt) = makeDefElem("window", (Node *) makeBoolean(true), (yylsp[(1) - (1)])); ;} break; case 1207: -#line 8870 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} +#line 8874 "gram.y" + { + (yyval.defelt) = (yyvsp[(1) - (1)].defelt); + ;} break; case 1208: -#line 8872 "gram.y" +#line 8879 "gram.y" + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + break; + + case 1209: +#line 8881 "gram.y" { (yyval.list) = list_make2(makeString((yyvsp[(1) - (3)].str)), makeString((yyvsp[(3) - (3)].str))); ;} break; - case 1209: -#line 8878 "gram.y" + case 1210: +#line 8887 "gram.y" { ReturnStmt *r = makeNode(ReturnStmt); @@ -42300,15 +42257,15 @@ YYLTYPE yylloc; ;} break; - case 1210: -#line 8888 "gram.y" + case 1211: +#line 8897 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 1211: -#line 8892 "gram.y" + case 1212: +#line 8901 "gram.y" { /* * A compound statement is stored as a single-item list @@ -42320,15 +42277,15 @@ YYLTYPE yylloc; ;} break; - case 1212: -#line 8902 "gram.y" + case 1213: +#line 8911 "gram.y" { (yyval.node) = NULL; ;} break; - case 1213: -#line 8909 "gram.y" + case 1214: +#line 8918 "gram.y" { /* As in stmtmulti, discard empty statements */ if ((yyvsp[(2) - (3)].node) != NULL) @@ -42338,35 +42295,35 @@ YYLTYPE yylloc; ;} break; - case 1214: -#line 8917 "gram.y" + case 1215: +#line 8926 "gram.y" { (yyval.list) = NIL; ;} break; - case 1217: -#line 8928 "gram.y" + case 1218: +#line 8937 "gram.y" { (yyval.list) = list_make1((yyvsp[(3) - (3)].typnam)); ;} break; - case 1218: -#line 8929 "gram.y" + case 1219: +#line 8938 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (5)].list), (yyvsp[(5) - (5)].typnam)); ;} break; - case 1219: -#line 8933 "gram.y" + case 1220: +#line 8942 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 1220: -#line 8934 "gram.y" + case 1221: +#line 8943 "gram.y" { (yyval.list) = NIL; ;} break; - case 1221: -#line 8938 "gram.y" + case 1222: +#line 8947 "gram.y" { FunctionParameter *n = makeNode(FunctionParameter); @@ -42379,22 +42336,22 @@ YYLTYPE yylloc; ;} break; - case 1222: -#line 8952 "gram.y" + case 1223: +#line 8961 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].fun_param)); ;} break; - case 1223: -#line 8956 "gram.y" + case 1224: +#line 8965 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].fun_param)); ;} break; - case 1224: -#line 8971 "gram.y" + case 1225: +#line 8980 "gram.y" { AlterFunctionStmt *n = makeNode(AlterFunctionStmt); @@ -42405,8 +42362,8 @@ YYLTYPE yylloc; ;} break; - case 1225: -#line 8980 "gram.y" + case 1226: +#line 8989 "gram.y" { AlterFunctionStmt *n = makeNode(AlterFunctionStmt); @@ -42417,8 +42374,8 @@ YYLTYPE yylloc; ;} break; - case 1226: -#line 8989 "gram.y" + case 1227: +#line 8998 "gram.y" { AlterFunctionStmt *n = makeNode(AlterFunctionStmt); @@ -42429,18 +42386,18 @@ YYLTYPE yylloc; ;} break; - case 1227: -#line 9001 "gram.y" + case 1228: +#line 9010 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 1228: -#line 9002 "gram.y" + case 1229: +#line 9011 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 1231: -#line 9026 "gram.y" + case 1232: +#line 9035 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42453,8 +42410,8 @@ YYLTYPE yylloc; ;} break; - case 1232: -#line 9037 "gram.y" + case 1233: +#line 9046 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42467,8 +42424,8 @@ YYLTYPE yylloc; ;} break; - case 1233: -#line 9048 "gram.y" + case 1234: +#line 9057 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42481,8 +42438,8 @@ YYLTYPE yylloc; ;} break; - case 1234: -#line 9059 "gram.y" + case 1235: +#line 9068 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42495,8 +42452,8 @@ YYLTYPE yylloc; ;} break; - case 1235: -#line 9070 "gram.y" + case 1236: +#line 9079 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42509,8 +42466,8 @@ YYLTYPE yylloc; ;} break; - case 1236: -#line 9081 "gram.y" + case 1237: +#line 9090 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42523,8 +42480,8 @@ YYLTYPE yylloc; ;} break; - case 1237: -#line 9095 "gram.y" + case 1238: +#line 9104 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42537,8 +42494,8 @@ YYLTYPE yylloc; ;} break; - case 1238: -#line 9106 "gram.y" + case 1239: +#line 9115 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42551,8 +42508,8 @@ YYLTYPE yylloc; ;} break; - case 1239: -#line 9120 "gram.y" + case 1240: +#line 9129 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42565,8 +42522,8 @@ YYLTYPE yylloc; ;} break; - case 1240: -#line 9131 "gram.y" + case 1241: +#line 9140 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42579,8 +42536,8 @@ YYLTYPE yylloc; ;} break; - case 1241: -#line 9145 "gram.y" + case 1242: +#line 9154 "gram.y" { ereport(ERROR, (errcode(ERRCODE_SYNTAX_ERROR), @@ -42590,43 +42547,43 @@ YYLTYPE yylloc; ;} break; - case 1242: -#line 9153 "gram.y" + case 1243: +#line 9162 "gram.y" { (yyval.list) = list_make2((yyvsp[(2) - (5)].typnam), (yyvsp[(4) - (5)].typnam)); ;} break; - case 1243: -#line 9155 "gram.y" + case 1244: +#line 9164 "gram.y" { (yyval.list) = list_make2(NULL, (yyvsp[(4) - (5)].typnam)); ;} break; - case 1244: -#line 9157 "gram.y" + case 1245: +#line 9166 "gram.y" { (yyval.list) = list_make2((yyvsp[(2) - (5)].typnam), NULL); ;} break; - case 1245: -#line 9162 "gram.y" + case 1246: +#line 9171 "gram.y" { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; - case 1246: -#line 9164 "gram.y" + case 1247: +#line 9173 "gram.y" { (yyval.list) = lcons(makeString((yyvsp[(1) - (3)].str)), (yyvsp[(3) - (3)].list)); ;} break; - case 1247: -#line 9168 "gram.y" + case 1248: +#line 9177 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].objwithargs)); ;} break; - case 1248: -#line 9170 "gram.y" + case 1249: +#line 9179 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].objwithargs)); ;} break; - case 1249: -#line 9175 "gram.y" + case 1250: +#line 9184 "gram.y" { ObjectWithArgs *n = makeNode(ObjectWithArgs); @@ -42636,8 +42593,8 @@ YYLTYPE yylloc; ;} break; - case 1250: -#line 9194 "gram.y" + case 1251: +#line 9203 "gram.y" { DoStmt *n = makeNode(DoStmt); @@ -42646,32 +42603,41 @@ YYLTYPE yylloc; ;} break; - case 1251: -#line 9203 "gram.y" + case 1252: +#line 9212 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 1252: -#line 9204 "gram.y" + case 1253: +#line 9213 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 1253: -#line 9209 "gram.y" + case 1254: +#line 9218 "gram.y" { (yyval.defelt) = makeDefElem("as", (Node *) makeString((yyvsp[(1) - (1)].str)), (yylsp[(1) - (1)])); + (yyval.defelt)->arg_location = (yylsp[(1) - (1)]); ;} break; - case 1254: -#line 9213 "gram.y" + case 1255: +#line 9223 "gram.y" { (yyval.defelt) = makeDefElem("language", (Node *) makeString((yyvsp[(2) - (2)].str)), (yylsp[(1) - (2)])); ;} break; - case 1255: -#line 9226 "gram.y" + case 1256: +#line 9227 "gram.y" + { + (yyval.defelt) = makeDefElem("language", (Node *) makeString((yyvsp[(2) - (2)].str)), (yylsp[(1) - (2)])); + (yyval.defelt)->arg_location = (yylsp[(2) - (2)]); + ;} + break; + + case 1257: +#line 9241 "gram.y" { CreateCastStmt *n = makeNode(CreateCastStmt); @@ -42684,8 +42650,8 @@ YYLTYPE yylloc; ;} break; - case 1256: -#line 9238 "gram.y" + case 1258: +#line 9253 "gram.y" { CreateCastStmt *n = makeNode(CreateCastStmt); @@ -42698,8 +42664,8 @@ YYLTYPE yylloc; ;} break; - case 1257: -#line 9250 "gram.y" + case 1259: +#line 9265 "gram.y" { CreateCastStmt *n = makeNode(CreateCastStmt); @@ -42712,23 +42678,23 @@ YYLTYPE yylloc; ;} break; - case 1258: -#line 9262 "gram.y" + case 1260: +#line 9277 "gram.y" { (yyval.ival) = COERCION_IMPLICIT; ;} break; - case 1259: -#line 9263 "gram.y" + case 1261: +#line 9278 "gram.y" { (yyval.ival) = COERCION_ASSIGNMENT; ;} break; - case 1260: -#line 9264 "gram.y" + case 1262: +#line 9279 "gram.y" { (yyval.ival) = COERCION_EXPLICIT; ;} break; - case 1261: -#line 9269 "gram.y" + case 1263: +#line 9284 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42741,18 +42707,18 @@ YYLTYPE yylloc; ;} break; - case 1262: -#line 9281 "gram.y" + case 1264: +#line 9296 "gram.y" { (yyval.boolean) = true; ;} break; - case 1263: -#line 9282 "gram.y" + case 1265: +#line 9297 "gram.y" { (yyval.boolean) = false; ;} break; - case 1264: -#line 9293 "gram.y" + case 1266: +#line 9308 "gram.y" { CreateTransformStmt *n = makeNode(CreateTransformStmt); @@ -42765,36 +42731,36 @@ YYLTYPE yylloc; ;} break; - case 1265: -#line 9306 "gram.y" + case 1267: +#line 9321 "gram.y" { (yyval.list) = list_make2((yyvsp[(5) - (11)].objwithargs), (yyvsp[(11) - (11)].objwithargs)); ;} break; - case 1266: -#line 9310 "gram.y" + case 1268: +#line 9325 "gram.y" { (yyval.list) = list_make2((yyvsp[(11) - (11)].objwithargs), (yyvsp[(5) - (11)].objwithargs)); ;} break; - case 1267: -#line 9314 "gram.y" + case 1269: +#line 9329 "gram.y" { (yyval.list) = list_make2((yyvsp[(5) - (5)].objwithargs), NULL); ;} break; - case 1268: -#line 9318 "gram.y" + case 1270: +#line 9333 "gram.y" { (yyval.list) = list_make2(NULL, (yyvsp[(5) - (5)].objwithargs)); ;} break; - case 1269: -#line 9325 "gram.y" + case 1271: +#line 9340 "gram.y" { DropStmt *n = makeNode(DropStmt); @@ -42806,8 +42772,8 @@ YYLTYPE yylloc; ;} break; - case 1270: -#line 9347 "gram.y" + case 1272: +#line 9362 "gram.y" { ReindexStmt *n = makeNode(ReindexStmt); @@ -42822,8 +42788,8 @@ YYLTYPE yylloc; ;} break; - case 1271: -#line 9360 "gram.y" + case 1273: +#line 9375 "gram.y" { ReindexStmt *n = makeNode(ReindexStmt); @@ -42838,8 +42804,8 @@ YYLTYPE yylloc; ;} break; - case 1272: -#line 9373 "gram.y" + case 1274: +#line 9388 "gram.y" { ReindexStmt *n = makeNode(ReindexStmt); @@ -42854,38 +42820,38 @@ YYLTYPE yylloc; ;} break; - case 1273: -#line 9387 "gram.y" + case 1275: +#line 9402 "gram.y" { (yyval.ival) = REINDEX_OBJECT_INDEX; ;} break; - case 1274: -#line 9388 "gram.y" + case 1276: +#line 9403 "gram.y" { (yyval.ival) = REINDEX_OBJECT_TABLE; ;} break; - case 1275: -#line 9391 "gram.y" + case 1277: +#line 9406 "gram.y" { (yyval.ival) = REINDEX_OBJECT_SYSTEM; ;} break; - case 1276: -#line 9392 "gram.y" + case 1278: +#line 9407 "gram.y" { (yyval.ival) = REINDEX_OBJECT_DATABASE; ;} break; - case 1277: -#line 9395 "gram.y" + case 1279: +#line 9410 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 1278: -#line 9396 "gram.y" + case 1280: +#line 9411 "gram.y" { (yyval.list) = NULL; ;} break; - case 1279: -#line 9407 "gram.y" + case 1281: +#line 9422 "gram.y" { AlterTableSpaceOptionsStmt *n = makeNode(AlterTableSpaceOptionsStmt); @@ -42897,8 +42863,8 @@ YYLTYPE yylloc; ;} break; - case 1280: -#line 9417 "gram.y" + case 1282: +#line 9432 "gram.y" { AlterTableSpaceOptionsStmt *n = makeNode(AlterTableSpaceOptionsStmt); @@ -42910,8 +42876,8 @@ YYLTYPE yylloc; ;} break; - case 1281: -#line 9435 "gram.y" + case 1283: +#line 9450 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -42923,8 +42889,8 @@ YYLTYPE yylloc; ;} break; - case 1282: -#line 9445 "gram.y" + case 1284: +#line 9460 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -42936,8 +42902,8 @@ YYLTYPE yylloc; ;} break; - case 1283: -#line 9455 "gram.y" + case 1285: +#line 9470 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -42949,8 +42915,8 @@ YYLTYPE yylloc; ;} break; - case 1284: -#line 9465 "gram.y" + case 1286: +#line 9480 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -42962,8 +42928,8 @@ YYLTYPE yylloc; ;} break; - case 1285: -#line 9475 "gram.y" + case 1287: +#line 9490 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -42975,8 +42941,8 @@ YYLTYPE yylloc; ;} break; - case 1286: -#line 9485 "gram.y" + case 1288: +#line 9500 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -42988,8 +42954,8 @@ YYLTYPE yylloc; ;} break; - case 1287: -#line 9495 "gram.y" + case 1289: +#line 9510 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43001,8 +42967,8 @@ YYLTYPE yylloc; ;} break; - case 1288: -#line 9505 "gram.y" + case 1290: +#line 9520 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43014,8 +42980,8 @@ YYLTYPE yylloc; ;} break; - case 1289: -#line 9515 "gram.y" + case 1291: +#line 9530 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43027,8 +42993,8 @@ YYLTYPE yylloc; ;} break; - case 1290: -#line 9525 "gram.y" + case 1292: +#line 9540 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43040,8 +43006,8 @@ YYLTYPE yylloc; ;} break; - case 1291: -#line 9535 "gram.y" + case 1293: +#line 9550 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43053,8 +43019,8 @@ YYLTYPE yylloc; ;} break; - case 1292: -#line 9545 "gram.y" + case 1294: +#line 9560 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43066,8 +43032,8 @@ YYLTYPE yylloc; ;} break; - case 1293: -#line 9555 "gram.y" + case 1295: +#line 9570 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43080,8 +43046,8 @@ YYLTYPE yylloc; ;} break; - case 1294: -#line 9566 "gram.y" + case 1296: +#line 9581 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43094,8 +43060,8 @@ YYLTYPE yylloc; ;} break; - case 1295: -#line 9577 "gram.y" + case 1297: +#line 9592 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43107,8 +43073,8 @@ YYLTYPE yylloc; ;} break; - case 1296: -#line 9587 "gram.y" + case 1298: +#line 9602 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43120,8 +43086,8 @@ YYLTYPE yylloc; ;} break; - case 1297: -#line 9597 "gram.y" + case 1299: +#line 9612 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43133,8 +43099,8 @@ YYLTYPE yylloc; ;} break; - case 1298: -#line 9607 "gram.y" + case 1300: +#line 9622 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43146,8 +43112,8 @@ YYLTYPE yylloc; ;} break; - case 1299: -#line 9617 "gram.y" + case 1301: +#line 9632 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43159,8 +43125,8 @@ YYLTYPE yylloc; ;} break; - case 1300: -#line 9627 "gram.y" + case 1302: +#line 9642 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43172,8 +43138,8 @@ YYLTYPE yylloc; ;} break; - case 1301: -#line 9637 "gram.y" + case 1303: +#line 9652 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43186,8 +43152,8 @@ YYLTYPE yylloc; ;} break; - case 1302: -#line 9648 "gram.y" + case 1304: +#line 9663 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43200,8 +43166,8 @@ YYLTYPE yylloc; ;} break; - case 1303: -#line 9659 "gram.y" + case 1305: +#line 9674 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43214,8 +43180,8 @@ YYLTYPE yylloc; ;} break; - case 1304: -#line 9670 "gram.y" + case 1306: +#line 9685 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43228,8 +43194,8 @@ YYLTYPE yylloc; ;} break; - case 1305: -#line 9681 "gram.y" + case 1307: +#line 9696 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43242,8 +43208,8 @@ YYLTYPE yylloc; ;} break; - case 1306: -#line 9692 "gram.y" + case 1308: +#line 9707 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43256,8 +43222,8 @@ YYLTYPE yylloc; ;} break; - case 1307: -#line 9703 "gram.y" + case 1309: +#line 9718 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43270,8 +43236,8 @@ YYLTYPE yylloc; ;} break; - case 1308: -#line 9714 "gram.y" + case 1310: +#line 9729 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43284,8 +43250,8 @@ YYLTYPE yylloc; ;} break; - case 1309: -#line 9725 "gram.y" + case 1311: +#line 9740 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43298,8 +43264,8 @@ YYLTYPE yylloc; ;} break; - case 1310: -#line 9736 "gram.y" + case 1312: +#line 9751 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43312,8 +43278,8 @@ YYLTYPE yylloc; ;} break; - case 1311: -#line 9747 "gram.y" + case 1313: +#line 9762 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43326,8 +43292,8 @@ YYLTYPE yylloc; ;} break; - case 1312: -#line 9758 "gram.y" + case 1314: +#line 9773 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43340,8 +43306,8 @@ YYLTYPE yylloc; ;} break; - case 1313: -#line 9769 "gram.y" + case 1315: +#line 9784 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43355,8 +43321,8 @@ YYLTYPE yylloc; ;} break; - case 1314: -#line 9781 "gram.y" + case 1316: +#line 9796 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43370,8 +43336,8 @@ YYLTYPE yylloc; ;} break; - case 1315: -#line 9793 "gram.y" + case 1317: +#line 9808 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43385,8 +43351,8 @@ YYLTYPE yylloc; ;} break; - case 1316: -#line 9805 "gram.y" + case 1318: +#line 9820 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43400,8 +43366,8 @@ YYLTYPE yylloc; ;} break; - case 1317: -#line 9817 "gram.y" + case 1319: +#line 9832 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43415,8 +43381,8 @@ YYLTYPE yylloc; ;} break; - case 1318: -#line 9829 "gram.y" + case 1320: +#line 9844 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43430,8 +43396,8 @@ YYLTYPE yylloc; ;} break; - case 1319: -#line 9841 "gram.y" + case 1321: +#line 9856 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43444,8 +43410,8 @@ YYLTYPE yylloc; ;} break; - case 1320: -#line 9852 "gram.y" + case 1322: +#line 9867 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43458,8 +43424,8 @@ YYLTYPE yylloc; ;} break; - case 1321: -#line 9863 "gram.y" + case 1323: +#line 9878 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43473,8 +43439,8 @@ YYLTYPE yylloc; ;} break; - case 1322: -#line 9875 "gram.y" + case 1324: +#line 9890 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43488,8 +43454,8 @@ YYLTYPE yylloc; ;} break; - case 1323: -#line 9887 "gram.y" + case 1325: +#line 9902 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43502,8 +43468,8 @@ YYLTYPE yylloc; ;} break; - case 1324: -#line 9898 "gram.y" + case 1326: +#line 9913 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43516,8 +43482,8 @@ YYLTYPE yylloc; ;} break; - case 1325: -#line 9909 "gram.y" + case 1327: +#line 9924 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43528,8 +43494,8 @@ YYLTYPE yylloc; ;} break; - case 1326: -#line 9918 "gram.y" + case 1328: +#line 9933 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43541,8 +43507,8 @@ YYLTYPE yylloc; ;} break; - case 1327: -#line 9928 "gram.y" + case 1329: +#line 9943 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43554,8 +43520,8 @@ YYLTYPE yylloc; ;} break; - case 1328: -#line 9938 "gram.y" + case 1330: +#line 9953 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43567,8 +43533,8 @@ YYLTYPE yylloc; ;} break; - case 1329: -#line 9948 "gram.y" + case 1331: +#line 9963 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43580,8 +43546,8 @@ YYLTYPE yylloc; ;} break; - case 1330: -#line 9958 "gram.y" + case 1332: +#line 9973 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43593,8 +43559,8 @@ YYLTYPE yylloc; ;} break; - case 1331: -#line 9968 "gram.y" + case 1333: +#line 9983 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43606,8 +43572,8 @@ YYLTYPE yylloc; ;} break; - case 1332: -#line 9978 "gram.y" + case 1334: +#line 9993 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43619,8 +43585,8 @@ YYLTYPE yylloc; ;} break; - case 1333: -#line 9988 "gram.y" + case 1335: +#line 10003 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43632,8 +43598,8 @@ YYLTYPE yylloc; ;} break; - case 1334: -#line 9998 "gram.y" + case 1336: +#line 10013 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43645,8 +43611,8 @@ YYLTYPE yylloc; ;} break; - case 1335: -#line 10008 "gram.y" + case 1337: +#line 10023 "gram.y" { RenameStmt *n = makeNode(RenameStmt); @@ -43661,18 +43627,18 @@ YYLTYPE yylloc; ;} break; - case 1338: -#line 10026 "gram.y" + case 1340: +#line 10041 "gram.y" { (yyval.ival) = 1; ;} break; - case 1339: -#line 10027 "gram.y" + case 1341: +#line 10042 "gram.y" { (yyval.ival) = 0; ;} break; - case 1340: -#line 10038 "gram.y" + case 1342: +#line 10053 "gram.y" { AlterObjectDependsStmt *n = makeNode(AlterObjectDependsStmt); @@ -43684,8 +43650,8 @@ YYLTYPE yylloc; ;} break; - case 1341: -#line 10048 "gram.y" + case 1343: +#line 10063 "gram.y" { AlterObjectDependsStmt *n = makeNode(AlterObjectDependsStmt); @@ -43697,8 +43663,8 @@ YYLTYPE yylloc; ;} break; - case 1342: -#line 10058 "gram.y" + case 1344: +#line 10073 "gram.y" { AlterObjectDependsStmt *n = makeNode(AlterObjectDependsStmt); @@ -43710,8 +43676,8 @@ YYLTYPE yylloc; ;} break; - case 1343: -#line 10068 "gram.y" + case 1345: +#line 10083 "gram.y" { AlterObjectDependsStmt *n = makeNode(AlterObjectDependsStmt); @@ -43724,8 +43690,8 @@ YYLTYPE yylloc; ;} break; - case 1344: -#line 10079 "gram.y" + case 1346: +#line 10094 "gram.y" { AlterObjectDependsStmt *n = makeNode(AlterObjectDependsStmt); @@ -43737,8 +43703,8 @@ YYLTYPE yylloc; ;} break; - case 1345: -#line 10089 "gram.y" + case 1347: +#line 10104 "gram.y" { AlterObjectDependsStmt *n = makeNode(AlterObjectDependsStmt); @@ -43750,18 +43716,18 @@ YYLTYPE yylloc; ;} break; - case 1346: -#line 10100 "gram.y" + case 1348: +#line 10115 "gram.y" { (yyval.boolean) = true; ;} break; - case 1347: -#line 10101 "gram.y" + case 1349: +#line 10116 "gram.y" { (yyval.boolean) = false; ;} break; - case 1348: -#line 10112 "gram.y" + case 1350: +#line 10127 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43773,8 +43739,8 @@ YYLTYPE yylloc; ;} break; - case 1349: -#line 10122 "gram.y" + case 1351: +#line 10137 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43786,8 +43752,8 @@ YYLTYPE yylloc; ;} break; - case 1350: -#line 10132 "gram.y" + case 1352: +#line 10147 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43799,8 +43765,8 @@ YYLTYPE yylloc; ;} break; - case 1351: -#line 10142 "gram.y" + case 1353: +#line 10157 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43812,8 +43778,8 @@ YYLTYPE yylloc; ;} break; - case 1352: -#line 10152 "gram.y" + case 1354: +#line 10167 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43825,8 +43791,8 @@ YYLTYPE yylloc; ;} break; - case 1353: -#line 10162 "gram.y" + case 1355: +#line 10177 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43838,8 +43804,8 @@ YYLTYPE yylloc; ;} break; - case 1354: -#line 10172 "gram.y" + case 1356: +#line 10187 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43851,8 +43817,8 @@ YYLTYPE yylloc; ;} break; - case 1355: -#line 10182 "gram.y" + case 1357: +#line 10197 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43864,8 +43830,8 @@ YYLTYPE yylloc; ;} break; - case 1356: -#line 10192 "gram.y" + case 1358: +#line 10207 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43877,8 +43843,8 @@ YYLTYPE yylloc; ;} break; - case 1357: -#line 10202 "gram.y" + case 1359: +#line 10217 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43890,8 +43856,8 @@ YYLTYPE yylloc; ;} break; - case 1358: -#line 10212 "gram.y" + case 1360: +#line 10227 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43903,8 +43869,8 @@ YYLTYPE yylloc; ;} break; - case 1359: -#line 10222 "gram.y" + case 1361: +#line 10237 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43916,8 +43882,8 @@ YYLTYPE yylloc; ;} break; - case 1360: -#line 10232 "gram.y" + case 1362: +#line 10247 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43929,8 +43895,8 @@ YYLTYPE yylloc; ;} break; - case 1361: -#line 10242 "gram.y" + case 1363: +#line 10257 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43942,8 +43908,8 @@ YYLTYPE yylloc; ;} break; - case 1362: -#line 10252 "gram.y" + case 1364: +#line 10267 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43955,8 +43921,8 @@ YYLTYPE yylloc; ;} break; - case 1363: -#line 10262 "gram.y" + case 1365: +#line 10277 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43968,8 +43934,8 @@ YYLTYPE yylloc; ;} break; - case 1364: -#line 10272 "gram.y" + case 1366: +#line 10287 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43981,8 +43947,8 @@ YYLTYPE yylloc; ;} break; - case 1365: -#line 10282 "gram.y" + case 1367: +#line 10297 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -43994,8 +43960,8 @@ YYLTYPE yylloc; ;} break; - case 1366: -#line 10292 "gram.y" + case 1368: +#line 10307 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -44007,8 +43973,8 @@ YYLTYPE yylloc; ;} break; - case 1367: -#line 10302 "gram.y" + case 1369: +#line 10317 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -44020,8 +43986,8 @@ YYLTYPE yylloc; ;} break; - case 1368: -#line 10312 "gram.y" + case 1370: +#line 10327 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -44033,8 +43999,8 @@ YYLTYPE yylloc; ;} break; - case 1369: -#line 10322 "gram.y" + case 1371: +#line 10337 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -44046,8 +44012,8 @@ YYLTYPE yylloc; ;} break; - case 1370: -#line 10332 "gram.y" + case 1372: +#line 10347 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -44059,8 +44025,8 @@ YYLTYPE yylloc; ;} break; - case 1371: -#line 10342 "gram.y" + case 1373: +#line 10357 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -44072,8 +44038,8 @@ YYLTYPE yylloc; ;} break; - case 1372: -#line 10352 "gram.y" + case 1374: +#line 10367 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -44085,8 +44051,8 @@ YYLTYPE yylloc; ;} break; - case 1373: -#line 10362 "gram.y" + case 1375: +#line 10377 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -44098,8 +44064,8 @@ YYLTYPE yylloc; ;} break; - case 1374: -#line 10372 "gram.y" + case 1376: +#line 10387 "gram.y" { AlterObjectSchemaStmt *n = makeNode(AlterObjectSchemaStmt); @@ -44111,8 +44077,8 @@ YYLTYPE yylloc; ;} break; - case 1375: -#line 10391 "gram.y" + case 1377: +#line 10406 "gram.y" { AlterOperatorStmt *n = makeNode(AlterOperatorStmt); @@ -44122,58 +44088,58 @@ YYLTYPE yylloc; ;} break; - case 1376: -#line 10400 "gram.y" + case 1378: +#line 10415 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 1377: -#line 10401 "gram.y" + case 1379: +#line 10416 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 1378: -#line 10405 "gram.y" + case 1380: +#line 10420 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), NULL, (yylsp[(1) - (3)])); ;} break; - case 1379: -#line 10407 "gram.y" + case 1381: +#line 10422 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), (Node *) (yyvsp[(3) - (3)].node), (yylsp[(1) - (3)])); ;} break; - case 1380: -#line 10409 "gram.y" + case 1382: +#line 10424 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (1)].str), NULL, (yylsp[(1) - (1)])); ;} break; - case 1381: -#line 10414 "gram.y" + case 1383: +#line 10429 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].typnam); ;} break; - case 1382: -#line 10415 "gram.y" + case 1384: +#line 10430 "gram.y" { (yyval.node) = (Node *) makeString(pstrdup((yyvsp[(1) - (1)].keyword))); ;} break; - case 1383: -#line 10416 "gram.y" + case 1385: +#line 10431 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].list); ;} break; - case 1384: -#line 10417 "gram.y" + case 1386: +#line 10432 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].node); ;} break; - case 1385: -#line 10418 "gram.y" + case 1387: +#line 10433 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} break; - case 1386: -#line 10431 "gram.y" + case 1388: +#line 10446 "gram.y" { AlterTypeStmt *n = makeNode(AlterTypeStmt); @@ -44183,8 +44149,8 @@ YYLTYPE yylloc; ;} break; - case 1387: -#line 10447 "gram.y" + case 1389: +#line 10462 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44195,8 +44161,8 @@ YYLTYPE yylloc; ;} break; - case 1388: -#line 10456 "gram.y" + case 1390: +#line 10471 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44207,8 +44173,8 @@ YYLTYPE yylloc; ;} break; - case 1389: -#line 10465 "gram.y" + case 1391: +#line 10480 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44219,8 +44185,8 @@ YYLTYPE yylloc; ;} break; - case 1390: -#line 10474 "gram.y" + case 1392: +#line 10489 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44231,8 +44197,8 @@ YYLTYPE yylloc; ;} break; - case 1391: -#line 10483 "gram.y" + case 1393: +#line 10498 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44243,8 +44209,8 @@ YYLTYPE yylloc; ;} break; - case 1392: -#line 10492 "gram.y" + case 1394: +#line 10507 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44255,8 +44221,8 @@ YYLTYPE yylloc; ;} break; - case 1393: -#line 10501 "gram.y" + case 1395: +#line 10516 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44267,8 +44233,8 @@ YYLTYPE yylloc; ;} break; - case 1394: -#line 10510 "gram.y" + case 1396: +#line 10525 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44279,8 +44245,8 @@ YYLTYPE yylloc; ;} break; - case 1395: -#line 10519 "gram.y" + case 1397: +#line 10534 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44291,8 +44257,8 @@ YYLTYPE yylloc; ;} break; - case 1396: -#line 10528 "gram.y" + case 1398: +#line 10543 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44303,8 +44269,8 @@ YYLTYPE yylloc; ;} break; - case 1397: -#line 10537 "gram.y" + case 1399: +#line 10552 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44315,8 +44281,8 @@ YYLTYPE yylloc; ;} break; - case 1398: -#line 10546 "gram.y" + case 1400: +#line 10561 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44327,8 +44293,8 @@ YYLTYPE yylloc; ;} break; - case 1399: -#line 10555 "gram.y" + case 1401: +#line 10570 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44339,8 +44305,8 @@ YYLTYPE yylloc; ;} break; - case 1400: -#line 10564 "gram.y" + case 1402: +#line 10579 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44351,8 +44317,8 @@ YYLTYPE yylloc; ;} break; - case 1401: -#line 10573 "gram.y" + case 1403: +#line 10588 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44363,8 +44329,8 @@ YYLTYPE yylloc; ;} break; - case 1402: -#line 10582 "gram.y" + case 1404: +#line 10597 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44375,8 +44341,8 @@ YYLTYPE yylloc; ;} break; - case 1403: -#line 10591 "gram.y" + case 1405: +#line 10606 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44387,8 +44353,8 @@ YYLTYPE yylloc; ;} break; - case 1404: -#line 10600 "gram.y" + case 1406: +#line 10615 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44399,8 +44365,8 @@ YYLTYPE yylloc; ;} break; - case 1405: -#line 10609 "gram.y" + case 1407: +#line 10624 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44411,8 +44377,8 @@ YYLTYPE yylloc; ;} break; - case 1406: -#line 10618 "gram.y" + case 1408: +#line 10633 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44423,8 +44389,8 @@ YYLTYPE yylloc; ;} break; - case 1407: -#line 10627 "gram.y" + case 1409: +#line 10642 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44435,8 +44401,8 @@ YYLTYPE yylloc; ;} break; - case 1408: -#line 10636 "gram.y" + case 1410: +#line 10651 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44447,8 +44413,8 @@ YYLTYPE yylloc; ;} break; - case 1409: -#line 10645 "gram.y" + case 1411: +#line 10660 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44459,8 +44425,8 @@ YYLTYPE yylloc; ;} break; - case 1410: -#line 10654 "gram.y" + case 1412: +#line 10669 "gram.y" { AlterOwnerStmt *n = makeNode(AlterOwnerStmt); @@ -44471,8 +44437,8 @@ YYLTYPE yylloc; ;} break; - case 1411: -#line 10682 "gram.y" + case 1413: +#line 10697 "gram.y" { CreatePublicationStmt *n = makeNode(CreatePublicationStmt); @@ -44482,8 +44448,8 @@ YYLTYPE yylloc; ;} break; - case 1412: -#line 10690 "gram.y" + case 1414: +#line 10705 "gram.y" { CreatePublicationStmt *n = makeNode(CreatePublicationStmt); @@ -44494,8 +44460,8 @@ YYLTYPE yylloc; ;} break; - case 1413: -#line 10699 "gram.y" + case 1415: +#line 10714 "gram.y" { CreatePublicationStmt *n = makeNode(CreatePublicationStmt); @@ -44507,8 +44473,8 @@ YYLTYPE yylloc; ;} break; - case 1414: -#line 10725 "gram.y" + case 1416: +#line 10740 "gram.y" { (yyval.publicationobjectspec) = makeNode(PublicationObjSpec); (yyval.publicationobjectspec)->pubobjtype = PUBLICATIONOBJ_TABLE; @@ -44519,8 +44485,8 @@ YYLTYPE yylloc; ;} break; - case 1415: -#line 10734 "gram.y" + case 1417: +#line 10749 "gram.y" { (yyval.publicationobjectspec) = makeNode(PublicationObjSpec); (yyval.publicationobjectspec)->pubobjtype = PUBLICATIONOBJ_TABLES_IN_SCHEMA; @@ -44529,8 +44495,8 @@ YYLTYPE yylloc; ;} break; - case 1416: -#line 10741 "gram.y" + case 1418: +#line 10756 "gram.y" { (yyval.publicationobjectspec) = makeNode(PublicationObjSpec); (yyval.publicationobjectspec)->pubobjtype = PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA; @@ -44538,8 +44504,8 @@ YYLTYPE yylloc; ;} break; - case 1417: -#line 10747 "gram.y" + case 1419: +#line 10762 "gram.y" { (yyval.publicationobjectspec) = makeNode(PublicationObjSpec); (yyval.publicationobjectspec)->pubobjtype = PUBLICATIONOBJ_CONTINUATION; @@ -44568,8 +44534,8 @@ YYLTYPE yylloc; ;} break; - case 1418: -#line 10774 "gram.y" + case 1420: +#line 10789 "gram.y" { (yyval.publicationobjectspec) = makeNode(PublicationObjSpec); (yyval.publicationobjectspec)->pubobjtype = PUBLICATIONOBJ_CONTINUATION; @@ -44581,8 +44547,8 @@ YYLTYPE yylloc; ;} break; - case 1419: -#line 10785 "gram.y" + case 1421: +#line 10800 "gram.y" { (yyval.publicationobjectspec) = makeNode(PublicationObjSpec); (yyval.publicationobjectspec)->pubobjtype = PUBLICATIONOBJ_CONTINUATION; @@ -44593,8 +44559,8 @@ YYLTYPE yylloc; ;} break; - case 1420: -#line 10794 "gram.y" + case 1422: +#line 10809 "gram.y" { (yyval.publicationobjectspec) = makeNode(PublicationObjSpec); (yyval.publicationobjectspec)->pubobjtype = PUBLICATIONOBJ_CONTINUATION; @@ -44602,18 +44568,18 @@ YYLTYPE yylloc; ;} break; - case 1421: -#line 10802 "gram.y" + case 1423: +#line 10817 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].publicationobjectspec)); ;} break; - case 1422: -#line 10804 "gram.y" + case 1424: +#line 10819 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].publicationobjectspec)); ;} break; - case 1423: -#line 10826 "gram.y" + case 1425: +#line 10841 "gram.y" { AlterPublicationStmt *n = makeNode(AlterPublicationStmt); @@ -44623,8 +44589,8 @@ YYLTYPE yylloc; ;} break; - case 1424: -#line 10834 "gram.y" + case 1426: +#line 10849 "gram.y" { AlterPublicationStmt *n = makeNode(AlterPublicationStmt); @@ -44636,8 +44602,8 @@ YYLTYPE yylloc; ;} break; - case 1425: -#line 10844 "gram.y" + case 1427: +#line 10859 "gram.y" { AlterPublicationStmt *n = makeNode(AlterPublicationStmt); @@ -44649,8 +44615,8 @@ YYLTYPE yylloc; ;} break; - case 1426: -#line 10854 "gram.y" + case 1428: +#line 10869 "gram.y" { AlterPublicationStmt *n = makeNode(AlterPublicationStmt); @@ -44662,21 +44628,22 @@ YYLTYPE yylloc; ;} break; - case 1427: -#line 10873 "gram.y" + case 1429: +#line 10888 "gram.y" { CreateSubscriptionStmt *n = makeNode(CreateSubscriptionStmt); n->subname = (yyvsp[(3) - (8)].str); n->conninfo = (yyvsp[(5) - (8)].str); + n->conninfo_location = (yylsp[(5) - (8)]); n->publication = (yyvsp[(7) - (8)].list); n->options = (yyvsp[(8) - (8)].list); (yyval.node) = (Node *) n; ;} break; - case 1428: -#line 10892 "gram.y" + case 1430: +#line 10908 "gram.y" { AlterSubscriptionStmt *n = makeNode(AlterSubscriptionStmt); @@ -44688,8 +44655,8 @@ YYLTYPE yylloc; ;} break; - case 1429: -#line 10902 "gram.y" + case 1431: +#line 10918 "gram.y" { AlterSubscriptionStmt *n = makeNode(AlterSubscriptionStmt); @@ -44697,12 +44664,13 @@ YYLTYPE yylloc; n->kind = ALTER_SUBSCRIPTION_CONNECTION; n->subname = (yyvsp[(3) - (5)].str); n->conninfo = (yyvsp[(5) - (5)].str); + n->conninfo_location = (yylsp[(5) - (5)]); (yyval.node) = (Node *) n; ;} break; - case 1430: -#line 10912 "gram.y" + case 1432: +#line 10929 "gram.y" { AlterSubscriptionStmt *n = makeNode(AlterSubscriptionStmt); @@ -44714,8 +44682,8 @@ YYLTYPE yylloc; ;} break; - case 1431: -#line 10922 "gram.y" + case 1433: +#line 10939 "gram.y" { AlterSubscriptionStmt *n = makeNode(AlterSubscriptionStmt); @@ -44728,8 +44696,8 @@ YYLTYPE yylloc; ;} break; - case 1432: -#line 10933 "gram.y" + case 1434: +#line 10950 "gram.y" { AlterSubscriptionStmt *n = makeNode(AlterSubscriptionStmt); @@ -44742,8 +44710,8 @@ YYLTYPE yylloc; ;} break; - case 1433: -#line 10944 "gram.y" + case 1435: +#line 10961 "gram.y" { AlterSubscriptionStmt *n = makeNode(AlterSubscriptionStmt); @@ -44756,8 +44724,8 @@ YYLTYPE yylloc; ;} break; - case 1434: -#line 10955 "gram.y" + case 1436: +#line 10972 "gram.y" { AlterSubscriptionStmt *n = makeNode(AlterSubscriptionStmt); @@ -44770,8 +44738,8 @@ YYLTYPE yylloc; ;} break; - case 1435: -#line 10966 "gram.y" + case 1437: +#line 10983 "gram.y" { AlterSubscriptionStmt *n = makeNode(AlterSubscriptionStmt); @@ -44784,8 +44752,8 @@ YYLTYPE yylloc; ;} break; - case 1436: -#line 10977 "gram.y" + case 1438: +#line 10994 "gram.y" { AlterSubscriptionStmt *n = makeNode(AlterSubscriptionStmt); @@ -44797,8 +44765,8 @@ YYLTYPE yylloc; ;} break; - case 1437: -#line 10995 "gram.y" + case 1439: +#line 11012 "gram.y" { DropSubscriptionStmt *n = makeNode(DropSubscriptionStmt); @@ -44809,8 +44777,8 @@ YYLTYPE yylloc; ;} break; - case 1438: -#line 11004 "gram.y" + case 1440: +#line 11021 "gram.y" { DropSubscriptionStmt *n = makeNode(DropSubscriptionStmt); @@ -44821,8 +44789,8 @@ YYLTYPE yylloc; ;} break; - case 1439: -#line 11023 "gram.y" + case 1441: +#line 11040 "gram.y" { RuleStmt *n = makeNode(RuleStmt); @@ -44837,23 +44805,23 @@ YYLTYPE yylloc; ;} break; - case 1440: -#line 11038 "gram.y" + case 1442: +#line 11055 "gram.y" { (yyval.list) = NIL; ;} break; - case 1441: -#line 11039 "gram.y" + case 1443: +#line 11056 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 1442: -#line 11040 "gram.y" + case 1444: +#line 11057 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 1443: -#line 11046 "gram.y" + case 1445: +#line 11063 "gram.y" { if ((yyvsp[(3) - (3)].node) != NULL) (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); else @@ -44861,8 +44829,8 @@ YYLTYPE yylloc; ;} break; - case 1444: -#line 11052 "gram.y" + case 1446: +#line 11069 "gram.y" { if ((yyvsp[(1) - (1)].node) != NULL) (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); else @@ -44870,74 +44838,76 @@ YYLTYPE yylloc; ;} break; - case 1450: -#line 11068 "gram.y" + case 1452: +#line 11085 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 1451: -#line 11069 "gram.y" + case 1453: +#line 11086 "gram.y" { (yyval.node) = NULL; ;} break; - case 1452: -#line 11072 "gram.y" + case 1454: +#line 11089 "gram.y" { (yyval.ival) = CMD_SELECT; ;} break; - case 1453: -#line 11073 "gram.y" + case 1455: +#line 11090 "gram.y" { (yyval.ival) = CMD_UPDATE; ;} break; - case 1454: -#line 11074 "gram.y" + case 1456: +#line 11091 "gram.y" { (yyval.ival) = CMD_DELETE; ;} break; - case 1455: -#line 11075 "gram.y" + case 1457: +#line 11092 "gram.y" { (yyval.ival) = CMD_INSERT; ;} break; - case 1456: -#line 11079 "gram.y" + case 1458: +#line 11096 "gram.y" { (yyval.boolean) = true; ;} break; - case 1457: -#line 11080 "gram.y" + case 1459: +#line 11097 "gram.y" { (yyval.boolean) = false; ;} break; - case 1458: -#line 11081 "gram.y" + case 1460: +#line 11098 "gram.y" { (yyval.boolean) = false; ;} break; - case 1459: -#line 11094 "gram.y" + case 1461: +#line 11111 "gram.y" { NotifyStmt *n = makeNode(NotifyStmt); - n->conditionname = (yyvsp[(2) - (3)].str); - n->payload = (yyvsp[(3) - (3)].str); + n->conditionname = (yyvsp[(2) - (4)].str); + n->payload = (yyvsp[(4) - (4)].str); + n->payload_location = (yylsp[(4) - (4)]); (yyval.node) = (Node *) n; ;} break; - case 1460: -#line 11104 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].str); ;} - break; + case 1462: +#line 11120 "gram.y" + { + NotifyStmt *n = makeNode(NotifyStmt); - case 1461: -#line 11105 "gram.y" - { (yyval.str) = NULL; ;} + n->conditionname = (yyvsp[(2) - (2)].str); + n->payload = NULL; + (yyval.node) = (Node *) n; + ;} break; - case 1462: -#line 11109 "gram.y" + case 1463: +#line 11130 "gram.y" { ListenStmt *n = makeNode(ListenStmt); @@ -44946,8 +44916,8 @@ YYLTYPE yylloc; ;} break; - case 1463: -#line 11119 "gram.y" + case 1464: +#line 11140 "gram.y" { UnlistenStmt *n = makeNode(UnlistenStmt); @@ -44956,8 +44926,8 @@ YYLTYPE yylloc; ;} break; - case 1464: -#line 11126 "gram.y" + case 1465: +#line 11147 "gram.y" { UnlistenStmt *n = makeNode(UnlistenStmt); @@ -44966,8 +44936,8 @@ YYLTYPE yylloc; ;} break; - case 1465: -#line 11146 "gram.y" + case 1466: +#line 11167 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -44979,8 +44949,8 @@ YYLTYPE yylloc; ;} break; - case 1466: -#line 11156 "gram.y" + case 1467: +#line 11177 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -44991,8 +44961,8 @@ YYLTYPE yylloc; ;} break; - case 1467: -#line 11165 "gram.y" + case 1468: +#line 11186 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45004,8 +44974,8 @@ YYLTYPE yylloc; ;} break; - case 1468: -#line 11175 "gram.y" + case 1469: +#line 11196 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45017,8 +44987,8 @@ YYLTYPE yylloc; ;} break; - case 1469: -#line 11185 "gram.y" + case 1470: +#line 11206 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45029,8 +44999,8 @@ YYLTYPE yylloc; ;} break; - case 1470: -#line 11194 "gram.y" + case 1471: +#line 11215 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45041,8 +45011,8 @@ YYLTYPE yylloc; ;} break; - case 1471: -#line 11203 "gram.y" + case 1472: +#line 11224 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45053,8 +45023,8 @@ YYLTYPE yylloc; ;} break; - case 1472: -#line 11212 "gram.y" + case 1473: +#line 11233 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45065,8 +45035,8 @@ YYLTYPE yylloc; ;} break; - case 1473: -#line 11221 "gram.y" + case 1474: +#line 11242 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45077,8 +45047,8 @@ YYLTYPE yylloc; ;} break; - case 1474: -#line 11230 "gram.y" + case 1475: +#line 11251 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45089,8 +45059,8 @@ YYLTYPE yylloc; ;} break; - case 1475: -#line 11239 "gram.y" + case 1476: +#line 11260 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45101,8 +45071,8 @@ YYLTYPE yylloc; ;} break; - case 1476: -#line 11248 "gram.y" + case 1477: +#line 11269 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45113,8 +45083,8 @@ YYLTYPE yylloc; ;} break; - case 1477: -#line 11260 "gram.y" + case 1478: +#line 11281 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45125,8 +45095,8 @@ YYLTYPE yylloc; ;} break; - case 1478: -#line 11269 "gram.y" + case 1479: +#line 11290 "gram.y" { TransactionStmt *n = makeNode(TransactionStmt); @@ -45138,73 +45108,73 @@ YYLTYPE yylloc; ;} break; - case 1482: -#line 11287 "gram.y" + case 1483: +#line 11308 "gram.y" { (yyval.defelt) = makeDefElem("transaction_isolation", makeStringConst((yyvsp[(3) - (3)].str), (yylsp[(3) - (3)])), (yylsp[(1) - (3)])); ;} break; - case 1483: -#line 11290 "gram.y" + case 1484: +#line 11311 "gram.y" { (yyval.defelt) = makeDefElem("transaction_read_only", makeIntConst(true, (yylsp[(1) - (2)])), (yylsp[(1) - (2)])); ;} break; - case 1484: -#line 11293 "gram.y" + case 1485: +#line 11314 "gram.y" { (yyval.defelt) = makeDefElem("transaction_read_only", makeIntConst(false, (yylsp[(1) - (2)])), (yylsp[(1) - (2)])); ;} break; - case 1485: -#line 11296 "gram.y" + case 1486: +#line 11317 "gram.y" { (yyval.defelt) = makeDefElem("transaction_deferrable", makeIntConst(true, (yylsp[(1) - (1)])), (yylsp[(1) - (1)])); ;} break; - case 1486: -#line 11299 "gram.y" + case 1487: +#line 11320 "gram.y" { (yyval.defelt) = makeDefElem("transaction_deferrable", makeIntConst(false, (yylsp[(1) - (2)])), (yylsp[(1) - (2)])); ;} break; - case 1487: -#line 11306 "gram.y" + case 1488: +#line 11327 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 1488: -#line 11308 "gram.y" + case 1489: +#line 11329 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 1489: -#line 11310 "gram.y" + case 1490: +#line 11331 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 1491: -#line 11316 "gram.y" + case 1492: +#line 11337 "gram.y" { (yyval.list) = NIL; ;} break; - case 1492: -#line 11320 "gram.y" + case 1493: +#line 11341 "gram.y" { (yyval.boolean) = true; ;} break; - case 1493: -#line 11321 "gram.y" + case 1494: +#line 11342 "gram.y" { (yyval.boolean) = false; ;} break; - case 1494: -#line 11322 "gram.y" + case 1495: +#line 11343 "gram.y" { (yyval.boolean) = false; ;} break; - case 1495: -#line 11336 "gram.y" + case 1496: +#line 11357 "gram.y" { ViewStmt *n = makeNode(ViewStmt); @@ -45219,8 +45189,8 @@ YYLTYPE yylloc; ;} break; - case 1496: -#line 11350 "gram.y" + case 1497: +#line 11371 "gram.y" { ViewStmt *n = makeNode(ViewStmt); @@ -45235,8 +45205,8 @@ YYLTYPE yylloc; ;} break; - case 1497: -#line 11364 "gram.y" + case 1498: +#line 11385 "gram.y" { ViewStmt *n = makeNode(ViewStmt); @@ -45256,8 +45226,8 @@ YYLTYPE yylloc; ;} break; - case 1498: -#line 11383 "gram.y" + case 1499: +#line 11404 "gram.y" { ViewStmt *n = makeNode(ViewStmt); @@ -45277,28 +45247,28 @@ YYLTYPE yylloc; ;} break; - case 1499: -#line 11403 "gram.y" + case 1500: +#line 11424 "gram.y" { (yyval.ival) = CASCADED_CHECK_OPTION; ;} break; - case 1500: -#line 11404 "gram.y" + case 1501: +#line 11425 "gram.y" { (yyval.ival) = CASCADED_CHECK_OPTION; ;} break; - case 1501: -#line 11405 "gram.y" + case 1502: +#line 11426 "gram.y" { (yyval.ival) = LOCAL_CHECK_OPTION; ;} break; - case 1502: -#line 11406 "gram.y" + case 1503: +#line 11427 "gram.y" { (yyval.ival) = NO_CHECK_OPTION; ;} break; - case 1503: -#line 11417 "gram.y" + case 1504: +#line 11438 "gram.y" { LoadStmt *n = makeNode(LoadStmt); @@ -45307,8 +45277,8 @@ YYLTYPE yylloc; ;} break; - case 1504: -#line 11434 "gram.y" + case 1505: +#line 11455 "gram.y" { CreatedbStmt *n = makeNode(CreatedbStmt); @@ -45318,84 +45288,84 @@ YYLTYPE yylloc; ;} break; - case 1505: -#line 11444 "gram.y" + case 1506: +#line 11465 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 1506: -#line 11445 "gram.y" + case 1507: +#line 11466 "gram.y" { (yyval.list) = NIL; ;} break; - case 1507: -#line 11449 "gram.y" + case 1508: +#line 11470 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 1508: -#line 11450 "gram.y" + case 1509: +#line 11471 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 1509: -#line 11455 "gram.y" + case 1510: +#line 11476 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), (yyvsp[(3) - (3)].node), (yylsp[(1) - (3)])); ;} break; - case 1510: -#line 11459 "gram.y" + case 1511: +#line 11480 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), (Node *) makeString((yyvsp[(3) - (3)].str)), (yylsp[(1) - (3)])); ;} break; - case 1511: -#line 11463 "gram.y" + case 1512: +#line 11484 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (3)].str), NULL, (yylsp[(1) - (3)])); ;} break; - case 1512: -#line 11480 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} - break; - case 1513: -#line 11481 "gram.y" - { (yyval.str) = pstrdup("connection_limit"); ;} +#line 11501 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 1514: -#line 11482 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} +#line 11502 "gram.y" + { (yyval.str) = pstrdup("connection_limit"); ;} break; case 1515: -#line 11483 "gram.y" +#line 11503 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 1516: -#line 11484 "gram.y" +#line 11504 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 1517: -#line 11485 "gram.y" +#line 11505 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 1518: -#line 11486 "gram.y" +#line 11506 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; - case 1521: -#line 11506 "gram.y" + case 1519: +#line 11507 "gram.y" + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} + break; + + case 1522: +#line 11527 "gram.y" { AlterDatabaseStmt *n = makeNode(AlterDatabaseStmt); @@ -45405,8 +45375,8 @@ YYLTYPE yylloc; ;} break; - case 1522: -#line 11514 "gram.y" + case 1523: +#line 11535 "gram.y" { AlterDatabaseStmt *n = makeNode(AlterDatabaseStmt); @@ -45416,8 +45386,8 @@ YYLTYPE yylloc; ;} break; - case 1523: -#line 11522 "gram.y" + case 1524: +#line 11543 "gram.y" { AlterDatabaseStmt *n = makeNode(AlterDatabaseStmt); @@ -45428,8 +45398,8 @@ YYLTYPE yylloc; ;} break; - case 1524: -#line 11531 "gram.y" + case 1525: +#line 11552 "gram.y" { AlterDatabaseRefreshCollStmt *n = makeNode(AlterDatabaseRefreshCollStmt); @@ -45438,8 +45408,8 @@ YYLTYPE yylloc; ;} break; - case 1525: -#line 11541 "gram.y" + case 1526: +#line 11562 "gram.y" { AlterDatabaseSetStmt *n = makeNode(AlterDatabaseSetStmt); @@ -45449,8 +45419,8 @@ YYLTYPE yylloc; ;} break; - case 1526: -#line 11559 "gram.y" + case 1527: +#line 11580 "gram.y" { DropdbStmt *n = makeNode(DropdbStmt); @@ -45461,8 +45431,8 @@ YYLTYPE yylloc; ;} break; - case 1527: -#line 11568 "gram.y" + case 1528: +#line 11589 "gram.y" { DropdbStmt *n = makeNode(DropdbStmt); @@ -45473,8 +45443,8 @@ YYLTYPE yylloc; ;} break; - case 1528: -#line 11577 "gram.y" + case 1529: +#line 11598 "gram.y" { DropdbStmt *n = makeNode(DropdbStmt); @@ -45485,8 +45455,8 @@ YYLTYPE yylloc; ;} break; - case 1529: -#line 11586 "gram.y" + case 1530: +#line 11607 "gram.y" { DropdbStmt *n = makeNode(DropdbStmt); @@ -45497,29 +45467,29 @@ YYLTYPE yylloc; ;} break; - case 1530: -#line 11598 "gram.y" + case 1531: +#line 11619 "gram.y" { (yyval.list) = list_make1((Node *) (yyvsp[(1) - (1)].defelt)); ;} break; - case 1531: -#line 11602 "gram.y" + case 1532: +#line 11623 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (Node *) (yyvsp[(3) - (3)].defelt)); ;} break; - case 1532: -#line 11613 "gram.y" + case 1533: +#line 11634 "gram.y" { (yyval.defelt) = makeDefElem("force", NULL, (yylsp[(1) - (1)])); ;} break; - case 1533: -#line 11625 "gram.y" + case 1534: +#line 11646 "gram.y" { AlterCollationStmt *n = makeNode(AlterCollationStmt); @@ -45528,8 +45498,8 @@ YYLTYPE yylloc; ;} break; - case 1534: -#line 11643 "gram.y" + case 1535: +#line 11664 "gram.y" { AlterSystemStmt *n = makeNode(AlterSystemStmt); @@ -45538,8 +45508,8 @@ YYLTYPE yylloc; ;} break; - case 1535: -#line 11650 "gram.y" + case 1536: +#line 11671 "gram.y" { AlterSystemStmt *n = makeNode(AlterSystemStmt); @@ -45548,8 +45518,8 @@ YYLTYPE yylloc; ;} break; - case 1536: -#line 11667 "gram.y" + case 1537: +#line 11688 "gram.y" { CreateDomainStmt *n = makeNode(CreateDomainStmt); @@ -45561,8 +45531,8 @@ YYLTYPE yylloc; ;} break; - case 1537: -#line 11681 "gram.y" + case 1538: +#line 11702 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); @@ -45573,8 +45543,8 @@ YYLTYPE yylloc; ;} break; - case 1538: -#line 11691 "gram.y" + case 1539: +#line 11712 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); @@ -45584,8 +45554,8 @@ YYLTYPE yylloc; ;} break; - case 1539: -#line 11700 "gram.y" + case 1540: +#line 11721 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); @@ -45595,8 +45565,8 @@ YYLTYPE yylloc; ;} break; - case 1540: -#line 11709 "gram.y" + case 1541: +#line 11730 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); @@ -45607,8 +45577,8 @@ YYLTYPE yylloc; ;} break; - case 1541: -#line 11719 "gram.y" + case 1542: +#line 11740 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); @@ -45621,8 +45591,8 @@ YYLTYPE yylloc; ;} break; - case 1542: -#line 11731 "gram.y" + case 1543: +#line 11752 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); @@ -45635,8 +45605,8 @@ YYLTYPE yylloc; ;} break; - case 1543: -#line 11743 "gram.y" + case 1544: +#line 11764 "gram.y" { AlterDomainStmt *n = makeNode(AlterDomainStmt); @@ -45647,8 +45617,8 @@ YYLTYPE yylloc; ;} break; - case 1546: -#line 11766 "gram.y" + case 1547: +#line 11787 "gram.y" { AlterTSDictionaryStmt *n = makeNode(AlterTSDictionaryStmt); @@ -45658,8 +45628,8 @@ YYLTYPE yylloc; ;} break; - case 1547: -#line 11777 "gram.y" + case 1548: +#line 11798 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -45673,8 +45643,8 @@ YYLTYPE yylloc; ;} break; - case 1548: -#line 11789 "gram.y" + case 1549: +#line 11810 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -45688,8 +45658,8 @@ YYLTYPE yylloc; ;} break; - case 1549: -#line 11801 "gram.y" + case 1550: +#line 11822 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -45703,8 +45673,8 @@ YYLTYPE yylloc; ;} break; - case 1550: -#line 11813 "gram.y" + case 1551: +#line 11834 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -45718,8 +45688,8 @@ YYLTYPE yylloc; ;} break; - case 1551: -#line 11825 "gram.y" + case 1552: +#line 11846 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -45731,8 +45701,8 @@ YYLTYPE yylloc; ;} break; - case 1552: -#line 11835 "gram.y" + case 1553: +#line 11856 "gram.y" { AlterTSConfigurationStmt *n = makeNode(AlterTSConfigurationStmt); @@ -45744,8 +45714,8 @@ YYLTYPE yylloc; ;} break; - case 1555: -#line 11864 "gram.y" + case 1556: +#line 11885 "gram.y" { CreateConversionStmt *n = makeNode(CreateConversionStmt); @@ -45758,8 +45728,8 @@ YYLTYPE yylloc; ;} break; - case 1556: -#line 11887 "gram.y" + case 1557: +#line 11908 "gram.y" { ClusterStmt *n = makeNode(ClusterStmt); @@ -45770,8 +45740,8 @@ YYLTYPE yylloc; ;} break; - case 1557: -#line 11896 "gram.y" + case 1558: +#line 11917 "gram.y" { ClusterStmt *n = makeNode(ClusterStmt); @@ -45782,8 +45752,8 @@ YYLTYPE yylloc; ;} break; - case 1558: -#line 11906 "gram.y" + case 1559: +#line 11927 "gram.y" { ClusterStmt *n = makeNode(ClusterStmt); @@ -45796,8 +45766,8 @@ YYLTYPE yylloc; ;} break; - case 1559: -#line 11918 "gram.y" + case 1560: +#line 11939 "gram.y" { ClusterStmt *n = makeNode(ClusterStmt); @@ -45810,8 +45780,8 @@ YYLTYPE yylloc; ;} break; - case 1560: -#line 11930 "gram.y" + case 1561: +#line 11951 "gram.y" { ClusterStmt *n = makeNode(ClusterStmt); @@ -45824,18 +45794,18 @@ YYLTYPE yylloc; ;} break; - case 1561: -#line 11943 "gram.y" + case 1562: +#line 11964 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; - case 1562: -#line 11944 "gram.y" + case 1563: +#line 11965 "gram.y" { (yyval.str) = NULL; ;} break; - case 1563: -#line 11957 "gram.y" + case 1564: +#line 11978 "gram.y" { VacuumStmt *n = makeNode(VacuumStmt); @@ -45858,8 +45828,8 @@ YYLTYPE yylloc; ;} break; - case 1564: -#line 11978 "gram.y" + case 1565: +#line 11999 "gram.y" { VacuumStmt *n = makeNode(VacuumStmt); @@ -45870,8 +45840,8 @@ YYLTYPE yylloc; ;} break; - case 1565: -#line 11989 "gram.y" + case 1566: +#line 12010 "gram.y" { VacuumStmt *n = makeNode(VacuumStmt); @@ -45885,8 +45855,8 @@ YYLTYPE yylloc; ;} break; - case 1566: -#line 12001 "gram.y" + case 1567: +#line 12022 "gram.y" { VacuumStmt *n = makeNode(VacuumStmt); @@ -45897,136 +45867,136 @@ YYLTYPE yylloc; ;} break; - case 1567: -#line 12013 "gram.y" + case 1568: +#line 12034 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 1568: -#line 12017 "gram.y" + case 1569: +#line 12038 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].defelt)); ;} break; - case 1571: -#line 12029 "gram.y" + case 1572: +#line 12050 "gram.y" { (yyval.defelt) = makeDefElem((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 1572: -#line 12035 "gram.y" + case 1573: +#line 12056 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 1573: -#line 12036 "gram.y" + case 1574: +#line 12057 "gram.y" { (yyval.str) = "analyze"; ;} break; - case 1574: -#line 12037 "gram.y" + case 1575: +#line 12058 "gram.y" { (yyval.str) = "format"; ;} break; - case 1575: -#line 12041 "gram.y" + case 1576: +#line 12062 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(1) - (1)].str)); ;} break; - case 1576: -#line 12042 "gram.y" + case 1577: +#line 12063 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].node); ;} break; - case 1577: -#line 12043 "gram.y" + case 1578: +#line 12064 "gram.y" { (yyval.node) = NULL; ;} break; - case 1578: -#line 12047 "gram.y" + case 1579: +#line 12068 "gram.y" { (yyval.boolean) = true; ;} break; - case 1579: -#line 12048 "gram.y" + case 1580: +#line 12069 "gram.y" { (yyval.boolean) = false; ;} break; - case 1580: -#line 12052 "gram.y" + case 1581: +#line 12073 "gram.y" { (yyval.boolean) = true; ;} break; - case 1581: -#line 12053 "gram.y" + case 1582: +#line 12074 "gram.y" { (yyval.boolean) = false; ;} break; - case 1582: -#line 12056 "gram.y" + case 1583: +#line 12077 "gram.y" { (yyval.boolean) = true; ;} break; - case 1583: -#line 12057 "gram.y" + case 1584: +#line 12078 "gram.y" { (yyval.boolean) = false; ;} break; - case 1584: -#line 12060 "gram.y" + case 1585: +#line 12081 "gram.y" { (yyval.boolean) = true; ;} break; - case 1585: -#line 12061 "gram.y" + case 1586: +#line 12082 "gram.y" { (yyval.boolean) = false; ;} break; - case 1586: -#line 12065 "gram.y" + case 1587: +#line 12086 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 1587: -#line 12066 "gram.y" + case 1588: +#line 12087 "gram.y" { (yyval.list) = NIL; ;} break; - case 1588: -#line 12071 "gram.y" + case 1589: +#line 12092 "gram.y" { (yyval.node) = (Node *) makeVacuumRelation((yyvsp[(1) - (2)].range), InvalidOid, (yyvsp[(2) - (2)].list)); ;} break; - case 1589: -#line 12078 "gram.y" + case 1590: +#line 12099 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 1590: -#line 12080 "gram.y" + case 1591: +#line 12101 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 1591: -#line 12084 "gram.y" + case 1592: +#line 12105 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 1592: -#line 12085 "gram.y" + case 1593: +#line 12106 "gram.y" { (yyval.list) = NIL; ;} break; - case 1593: -#line 12099 "gram.y" + case 1594: +#line 12120 "gram.y" { ExplainStmt *n = makeNode(ExplainStmt); @@ -46036,8 +46006,8 @@ YYLTYPE yylloc; ;} break; - case 1594: -#line 12107 "gram.y" + case 1595: +#line 12128 "gram.y" { ExplainStmt *n = makeNode(ExplainStmt); @@ -46050,8 +46020,8 @@ YYLTYPE yylloc; ;} break; - case 1595: -#line 12118 "gram.y" + case 1596: +#line 12139 "gram.y" { ExplainStmt *n = makeNode(ExplainStmt); @@ -46061,8 +46031,8 @@ YYLTYPE yylloc; ;} break; - case 1596: -#line 12126 "gram.y" + case 1597: +#line 12147 "gram.y" { ExplainStmt *n = makeNode(ExplainStmt); @@ -46072,8 +46042,8 @@ YYLTYPE yylloc; ;} break; - case 1607: -#line 12156 "gram.y" + case 1608: +#line 12177 "gram.y" { PrepareStmt *n = makeNode(PrepareStmt); @@ -46084,18 +46054,18 @@ YYLTYPE yylloc; ;} break; - case 1608: -#line 12166 "gram.y" + case 1609: +#line 12187 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 1609: -#line 12167 "gram.y" + case 1610: +#line 12188 "gram.y" { (yyval.list) = NIL; ;} break; - case 1615: -#line 12186 "gram.y" + case 1616: +#line 12207 "gram.y" { ExecuteStmt *n = makeNode(ExecuteStmt); @@ -46105,8 +46075,8 @@ YYLTYPE yylloc; ;} break; - case 1616: -#line 12195 "gram.y" + case 1617: +#line 12216 "gram.y" { CreateTableAsStmt *ctas = makeNode(CreateTableAsStmt); ExecuteStmt *n = makeNode(ExecuteStmt); @@ -46125,8 +46095,8 @@ YYLTYPE yylloc; ;} break; - case 1617: -#line 12213 "gram.y" + case 1618: +#line 12234 "gram.y" { CreateTableAsStmt *ctas = makeNode(CreateTableAsStmt); ExecuteStmt *n = makeNode(ExecuteStmt); @@ -46145,18 +46115,18 @@ YYLTYPE yylloc; ;} break; - case 1618: -#line 12231 "gram.y" + case 1619: +#line 12252 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 1619: -#line 12232 "gram.y" + case 1620: +#line 12253 "gram.y" { (yyval.list) = NIL; ;} break; - case 1620: -#line 12243 "gram.y" + case 1621: +#line 12264 "gram.y" { DeallocateStmt *n = makeNode(DeallocateStmt); @@ -46167,8 +46137,8 @@ YYLTYPE yylloc; ;} break; - case 1621: -#line 12252 "gram.y" + case 1622: +#line 12273 "gram.y" { DeallocateStmt *n = makeNode(DeallocateStmt); @@ -46179,8 +46149,8 @@ YYLTYPE yylloc; ;} break; - case 1622: -#line 12261 "gram.y" + case 1623: +#line 12282 "gram.y" { DeallocateStmt *n = makeNode(DeallocateStmt); @@ -46191,8 +46161,8 @@ YYLTYPE yylloc; ;} break; - case 1623: -#line 12270 "gram.y" + case 1624: +#line 12291 "gram.y" { DeallocateStmt *n = makeNode(DeallocateStmt); @@ -46203,8 +46173,8 @@ YYLTYPE yylloc; ;} break; - case 1624: -#line 12290 "gram.y" + case 1625: +#line 12311 "gram.y" { (yyvsp[(5) - (7)].istmt)->relation = (yyvsp[(4) - (7)].range); (yyvsp[(5) - (7)].istmt)->onConflictClause = (yyvsp[(6) - (7)].onconflict); @@ -46214,23 +46184,23 @@ YYLTYPE yylloc; ;} break; - case 1625: -#line 12307 "gram.y" + case 1626: +#line 12328 "gram.y" { (yyval.range) = (yyvsp[(1) - (1)].range); ;} break; - case 1626: -#line 12311 "gram.y" + case 1627: +#line 12332 "gram.y" { (yyvsp[(1) - (3)].range)->alias = makeAlias((yyvsp[(3) - (3)].str), NIL); (yyval.range) = (yyvsp[(1) - (3)].range); ;} break; - case 1627: -#line 12319 "gram.y" + case 1628: +#line 12340 "gram.y" { (yyval.istmt) = makeNode(InsertStmt); (yyval.istmt)->cols = NIL; @@ -46238,8 +46208,8 @@ YYLTYPE yylloc; ;} break; - case 1628: -#line 12325 "gram.y" + case 1629: +#line 12346 "gram.y" { (yyval.istmt) = makeNode(InsertStmt); (yyval.istmt)->cols = NIL; @@ -46248,8 +46218,8 @@ YYLTYPE yylloc; ;} break; - case 1629: -#line 12332 "gram.y" + case 1630: +#line 12353 "gram.y" { (yyval.istmt) = makeNode(InsertStmt); (yyval.istmt)->cols = (yyvsp[(2) - (4)].list); @@ -46257,8 +46227,8 @@ YYLTYPE yylloc; ;} break; - case 1630: -#line 12338 "gram.y" + case 1631: +#line 12359 "gram.y" { (yyval.istmt) = makeNode(InsertStmt); (yyval.istmt)->cols = (yyvsp[(2) - (7)].list); @@ -46267,8 +46237,8 @@ YYLTYPE yylloc; ;} break; - case 1631: -#line 12345 "gram.y" + case 1632: +#line 12366 "gram.y" { (yyval.istmt) = makeNode(InsertStmt); (yyval.istmt)->cols = NIL; @@ -46276,28 +46246,28 @@ YYLTYPE yylloc; ;} break; - case 1632: -#line 12353 "gram.y" + case 1633: +#line 12374 "gram.y" { (yyval.ival) = OVERRIDING_USER_VALUE; ;} break; - case 1633: -#line 12354 "gram.y" + case 1634: +#line 12375 "gram.y" { (yyval.ival) = OVERRIDING_SYSTEM_VALUE; ;} break; - case 1634: -#line 12359 "gram.y" + case 1635: +#line 12380 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); ;} break; - case 1635: -#line 12361 "gram.y" + case 1636: +#line 12382 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].target)); ;} break; - case 1636: -#line 12366 "gram.y" + case 1637: +#line 12387 "gram.y" { (yyval.target) = makeNode(ResTarget); (yyval.target)->name = (yyvsp[(1) - (2)].str); @@ -46307,8 +46277,8 @@ YYLTYPE yylloc; ;} break; - case 1637: -#line 12377 "gram.y" + case 1638: +#line 12398 "gram.y" { (yyval.onconflict) = makeNode(OnConflictClause); (yyval.onconflict)->action = ONCONFLICT_UPDATE; @@ -46319,8 +46289,8 @@ YYLTYPE yylloc; ;} break; - case 1638: -#line 12387 "gram.y" + case 1639: +#line 12408 "gram.y" { (yyval.onconflict) = makeNode(OnConflictClause); (yyval.onconflict)->action = ONCONFLICT_NOTHING; @@ -46331,15 +46301,15 @@ YYLTYPE yylloc; ;} break; - case 1639: -#line 12396 "gram.y" + case 1640: +#line 12417 "gram.y" { (yyval.onconflict) = NULL; ;} break; - case 1640: -#line 12403 "gram.y" + case 1641: +#line 12424 "gram.y" { (yyval.infer) = makeNode(InferClause); (yyval.infer)->indexElems = (yyvsp[(2) - (4)].list); @@ -46349,8 +46319,8 @@ YYLTYPE yylloc; ;} break; - case 1641: -#line 12412 "gram.y" + case 1642: +#line 12433 "gram.y" { (yyval.infer) = makeNode(InferClause); (yyval.infer)->indexElems = NIL; @@ -46360,15 +46330,15 @@ YYLTYPE yylloc; ;} break; - case 1642: -#line 12420 "gram.y" + case 1643: +#line 12441 "gram.y" { (yyval.infer) = NULL; ;} break; - case 1643: -#line 12427 "gram.y" + case 1644: +#line 12448 "gram.y" { ReturningClause *n = makeNode(ReturningClause); @@ -46378,35 +46348,35 @@ YYLTYPE yylloc; ;} break; - case 1644: -#line 12435 "gram.y" + case 1645: +#line 12456 "gram.y" { (yyval.retclause) = NULL; ;} break; - case 1645: -#line 12441 "gram.y" + case 1646: +#line 12462 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 1646: -#line 12442 "gram.y" + case 1647: +#line 12463 "gram.y" { (yyval.list) = NIL; ;} break; - case 1647: -#line 12446 "gram.y" + case 1648: +#line 12467 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 1648: -#line 12447 "gram.y" + case 1649: +#line 12468 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 1649: -#line 12452 "gram.y" + case 1650: +#line 12473 "gram.y" { ReturningOption *n = makeNode(ReturningOption); @@ -46417,18 +46387,18 @@ YYLTYPE yylloc; ;} break; - case 1650: -#line 12463 "gram.y" + case 1651: +#line 12484 "gram.y" { (yyval.retoptionkind) = RETURNING_OPTION_OLD; ;} break; - case 1651: -#line 12464 "gram.y" + case 1652: +#line 12485 "gram.y" { (yyval.retoptionkind) = RETURNING_OPTION_NEW; ;} break; - case 1652: -#line 12477 "gram.y" + case 1653: +#line 12498 "gram.y" { DeleteStmt *n = makeNode(DeleteStmt); @@ -46441,18 +46411,18 @@ YYLTYPE yylloc; ;} break; - case 1653: -#line 12490 "gram.y" + case 1654: +#line 12511 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 1654: -#line 12491 "gram.y" + case 1655: +#line 12512 "gram.y" { (yyval.list) = NIL; ;} break; - case 1655: -#line 12503 "gram.y" + case 1656: +#line 12524 "gram.y" { LockStmt *n = makeNode(LockStmt); @@ -46463,83 +46433,83 @@ YYLTYPE yylloc; ;} break; - case 1656: -#line 12513 "gram.y" + case 1657: +#line 12534 "gram.y" { (yyval.ival) = (yyvsp[(2) - (3)].ival); ;} break; - case 1657: -#line 12514 "gram.y" + case 1658: +#line 12535 "gram.y" { (yyval.ival) = AccessExclusiveLock; ;} break; - case 1658: -#line 12517 "gram.y" + case 1659: +#line 12538 "gram.y" { (yyval.ival) = AccessShareLock; ;} break; - case 1659: -#line 12518 "gram.y" + case 1660: +#line 12539 "gram.y" { (yyval.ival) = RowShareLock; ;} break; - case 1660: -#line 12519 "gram.y" + case 1661: +#line 12540 "gram.y" { (yyval.ival) = RowExclusiveLock; ;} break; - case 1661: -#line 12520 "gram.y" + case 1662: +#line 12541 "gram.y" { (yyval.ival) = ShareUpdateExclusiveLock; ;} break; - case 1662: -#line 12521 "gram.y" + case 1663: +#line 12542 "gram.y" { (yyval.ival) = ShareLock; ;} break; - case 1663: -#line 12522 "gram.y" + case 1664: +#line 12543 "gram.y" { (yyval.ival) = ShareRowExclusiveLock; ;} break; - case 1664: -#line 12523 "gram.y" + case 1665: +#line 12544 "gram.y" { (yyval.ival) = ExclusiveLock; ;} break; - case 1665: -#line 12524 "gram.y" + case 1666: +#line 12545 "gram.y" { (yyval.ival) = AccessExclusiveLock; ;} break; - case 1666: -#line 12527 "gram.y" + case 1667: +#line 12548 "gram.y" { (yyval.boolean) = true; ;} break; - case 1667: -#line 12528 "gram.y" + case 1668: +#line 12549 "gram.y" { (yyval.boolean) = false; ;} break; - case 1668: -#line 12532 "gram.y" + case 1669: +#line 12553 "gram.y" { (yyval.ival) = LockWaitError; ;} break; - case 1669: -#line 12533 "gram.y" + case 1670: +#line 12554 "gram.y" { (yyval.ival) = LockWaitSkip; ;} break; - case 1670: -#line 12534 "gram.y" + case 1671: +#line 12555 "gram.y" { (yyval.ival) = LockWaitBlock; ;} break; - case 1671: -#line 12550 "gram.y" + case 1672: +#line 12571 "gram.y" { UpdateStmt *n = makeNode(UpdateStmt); @@ -46553,26 +46523,26 @@ YYLTYPE yylloc; ;} break; - case 1672: -#line 12564 "gram.y" + case 1673: +#line 12585 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 1673: -#line 12565 "gram.y" + case 1674: +#line 12586 "gram.y" { (yyval.list) = list_concat((yyvsp[(1) - (3)].list),(yyvsp[(3) - (3)].list)); ;} break; - case 1674: -#line 12570 "gram.y" + case 1675: +#line 12591 "gram.y" { (yyvsp[(1) - (3)].target)->val = (Node *) (yyvsp[(3) - (3)].node); (yyval.list) = list_make1((yyvsp[(1) - (3)].target)); ;} break; - case 1675: -#line 12575 "gram.y" + case 1676: +#line 12596 "gram.y" { int ncolumns = list_length((yyvsp[(2) - (5)].list)); int i = 1; @@ -46595,8 +46565,8 @@ YYLTYPE yylloc; ;} break; - case 1676: -#line 12599 "gram.y" + case 1677: +#line 12620 "gram.y" { (yyval.target) = makeNode(ResTarget); (yyval.target)->name = (yyvsp[(1) - (2)].str); @@ -46606,18 +46576,18 @@ YYLTYPE yylloc; ;} break; - case 1677: -#line 12609 "gram.y" + case 1678: +#line 12630 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); ;} break; - case 1678: -#line 12610 "gram.y" + case 1679: +#line 12631 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list),(yyvsp[(3) - (3)].target)); ;} break; - case 1679: -#line 12627 "gram.y" + case 1680: +#line 12648 "gram.y" { MergeStmt *m = makeNode(MergeStmt); @@ -46632,18 +46602,18 @@ YYLTYPE yylloc; ;} break; - case 1680: -#line 12642 "gram.y" + case 1681: +#line 12663 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 1681: -#line 12643 "gram.y" + case 1682: +#line 12664 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list),(yyvsp[(2) - (2)].node)); ;} break; - case 1682: -#line 12654 "gram.y" + case 1683: +#line 12675 "gram.y" { (yyvsp[(4) - (4)].mergewhen)->matchKind = (yyvsp[(1) - (4)].mergematch); (yyvsp[(4) - (4)].mergewhen)->condition = (yyvsp[(2) - (4)].node); @@ -46652,8 +46622,8 @@ YYLTYPE yylloc; ;} break; - case 1683: -#line 12661 "gram.y" + case 1684: +#line 12682 "gram.y" { (yyvsp[(4) - (4)].mergewhen)->matchKind = (yyvsp[(1) - (4)].mergematch); (yyvsp[(4) - (4)].mergewhen)->condition = (yyvsp[(2) - (4)].node); @@ -46662,8 +46632,8 @@ YYLTYPE yylloc; ;} break; - case 1684: -#line 12668 "gram.y" + case 1685: +#line 12689 "gram.y" { (yyvsp[(4) - (4)].mergewhen)->matchKind = (yyvsp[(1) - (4)].mergematch); (yyvsp[(4) - (4)].mergewhen)->condition = (yyvsp[(2) - (4)].node); @@ -46672,8 +46642,8 @@ YYLTYPE yylloc; ;} break; - case 1685: -#line 12675 "gram.y" + case 1686: +#line 12696 "gram.y" { MergeWhenClause *m = makeNode(MergeWhenClause); @@ -46685,8 +46655,8 @@ YYLTYPE yylloc; ;} break; - case 1686: -#line 12685 "gram.y" + case 1687: +#line 12706 "gram.y" { MergeWhenClause *m = makeNode(MergeWhenClause); @@ -46698,38 +46668,38 @@ YYLTYPE yylloc; ;} break; - case 1687: -#line 12697 "gram.y" + case 1688: +#line 12718 "gram.y" { (yyval.mergematch) = MERGE_WHEN_MATCHED; ;} break; - case 1688: -#line 12698 "gram.y" + case 1689: +#line 12719 "gram.y" { (yyval.mergematch) = MERGE_WHEN_NOT_MATCHED_BY_SOURCE; ;} break; - case 1689: -#line 12702 "gram.y" + case 1690: +#line 12723 "gram.y" { (yyval.mergematch) = MERGE_WHEN_NOT_MATCHED_BY_TARGET; ;} break; - case 1690: -#line 12703 "gram.y" + case 1691: +#line 12724 "gram.y" { (yyval.mergematch) = MERGE_WHEN_NOT_MATCHED_BY_TARGET; ;} break; - case 1691: -#line 12707 "gram.y" + case 1692: +#line 12728 "gram.y" { (yyval.node) = (yyvsp[(2) - (2)].node); ;} break; - case 1692: -#line 12708 "gram.y" + case 1693: +#line 12729 "gram.y" { (yyval.node) = NULL; ;} break; - case 1693: -#line 12713 "gram.y" + case 1694: +#line 12734 "gram.y" { MergeWhenClause *n = makeNode(MergeWhenClause); n->commandType = CMD_UPDATE; @@ -46741,8 +46711,8 @@ YYLTYPE yylloc; ;} break; - case 1694: -#line 12726 "gram.y" + case 1695: +#line 12747 "gram.y" { MergeWhenClause *n = makeNode(MergeWhenClause); n->commandType = CMD_DELETE; @@ -46754,8 +46724,8 @@ YYLTYPE yylloc; ;} break; - case 1695: -#line 12739 "gram.y" + case 1696: +#line 12760 "gram.y" { MergeWhenClause *n = makeNode(MergeWhenClause); n->commandType = CMD_INSERT; @@ -46766,8 +46736,8 @@ YYLTYPE yylloc; ;} break; - case 1696: -#line 12748 "gram.y" + case 1697: +#line 12769 "gram.y" { MergeWhenClause *n = makeNode(MergeWhenClause); n->commandType = CMD_INSERT; @@ -46778,8 +46748,8 @@ YYLTYPE yylloc; ;} break; - case 1697: -#line 12757 "gram.y" + case 1698: +#line 12778 "gram.y" { MergeWhenClause *n = makeNode(MergeWhenClause); n->commandType = CMD_INSERT; @@ -46790,8 +46760,8 @@ YYLTYPE yylloc; ;} break; - case 1698: -#line 12766 "gram.y" + case 1699: +#line 12787 "gram.y" { MergeWhenClause *n = makeNode(MergeWhenClause); n->commandType = CMD_INSERT; @@ -46802,8 +46772,8 @@ YYLTYPE yylloc; ;} break; - case 1699: -#line 12775 "gram.y" + case 1700: +#line 12796 "gram.y" { MergeWhenClause *n = makeNode(MergeWhenClause); n->commandType = CMD_INSERT; @@ -46814,15 +46784,15 @@ YYLTYPE yylloc; ;} break; - case 1700: -#line 12787 "gram.y" + case 1701: +#line 12808 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 1701: -#line 12799 "gram.y" + case 1702: +#line 12820 "gram.y" { DeclareCursorStmt *n = makeNode(DeclareCursorStmt); @@ -46834,73 +46804,73 @@ YYLTYPE yylloc; ;} break; - case 1702: -#line 12810 "gram.y" + case 1703: +#line 12831 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 1703: -#line 12813 "gram.y" + case 1704: +#line 12834 "gram.y" { (yyval.ival) = 0; ;} break; - case 1704: -#line 12814 "gram.y" + case 1705: +#line 12835 "gram.y" { (yyval.ival) = (yyvsp[(1) - (3)].ival) | CURSOR_OPT_NO_SCROLL; ;} break; - case 1705: -#line 12815 "gram.y" + case 1706: +#line 12836 "gram.y" { (yyval.ival) = (yyvsp[(1) - (2)].ival) | CURSOR_OPT_SCROLL; ;} break; - case 1706: -#line 12816 "gram.y" + case 1707: +#line 12837 "gram.y" { (yyval.ival) = (yyvsp[(1) - (2)].ival) | CURSOR_OPT_BINARY; ;} break; - case 1707: -#line 12817 "gram.y" + case 1708: +#line 12838 "gram.y" { (yyval.ival) = (yyvsp[(1) - (2)].ival) | CURSOR_OPT_ASENSITIVE; ;} break; - case 1708: -#line 12818 "gram.y" + case 1709: +#line 12839 "gram.y" { (yyval.ival) = (yyvsp[(1) - (2)].ival) | CURSOR_OPT_INSENSITIVE; ;} break; - case 1709: -#line 12821 "gram.y" + case 1710: +#line 12842 "gram.y" { (yyval.ival) = 0; ;} break; - case 1710: -#line 12822 "gram.y" + case 1711: +#line 12843 "gram.y" { (yyval.ival) = CURSOR_OPT_HOLD; ;} break; - case 1711: -#line 12823 "gram.y" + case 1712: +#line 12844 "gram.y" { (yyval.ival) = 0; ;} break; - case 1714: -#line 12876 "gram.y" + case 1715: +#line 12897 "gram.y" { (yyval.node) = (yyvsp[(2) - (3)].node); ;} break; - case 1715: -#line 12877 "gram.y" + case 1716: +#line 12898 "gram.y" { (yyval.node) = (yyvsp[(2) - (3)].node); ;} break; - case 1716: -#line 12892 "gram.y" + case 1717: +#line 12913 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 1717: -#line 12894 "gram.y" + case 1718: +#line 12915 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(1) - (2)].node), (yyvsp[(2) - (2)].list), NIL, NULL, NULL, @@ -46909,8 +46879,8 @@ YYLTYPE yylloc; ;} break; - case 1718: -#line 12901 "gram.y" + case 1719: +#line 12922 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(1) - (4)].node), (yyvsp[(2) - (4)].list), (yyvsp[(3) - (4)].list), (yyvsp[(4) - (4)].selectlimit), @@ -46920,8 +46890,8 @@ YYLTYPE yylloc; ;} break; - case 1719: -#line 12909 "gram.y" + case 1720: +#line 12930 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(1) - (4)].node), (yyvsp[(2) - (4)].list), (yyvsp[(4) - (4)].list), (yyvsp[(3) - (4)].selectlimit), @@ -46931,8 +46901,8 @@ YYLTYPE yylloc; ;} break; - case 1720: -#line 12917 "gram.y" + case 1721: +#line 12938 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(2) - (2)].node), NULL, NIL, NULL, @@ -46942,8 +46912,8 @@ YYLTYPE yylloc; ;} break; - case 1721: -#line 12925 "gram.y" + case 1722: +#line 12946 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(2) - (3)].node), (yyvsp[(3) - (3)].list), NIL, NULL, @@ -46953,8 +46923,8 @@ YYLTYPE yylloc; ;} break; - case 1722: -#line 12933 "gram.y" + case 1723: +#line 12954 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(2) - (5)].node), (yyvsp[(3) - (5)].list), (yyvsp[(4) - (5)].list), (yyvsp[(5) - (5)].selectlimit), @@ -46964,8 +46934,8 @@ YYLTYPE yylloc; ;} break; - case 1723: -#line 12941 "gram.y" + case 1724: +#line 12962 "gram.y" { insertSelectOptions((SelectStmt *) (yyvsp[(2) - (5)].node), (yyvsp[(3) - (5)].list), (yyvsp[(5) - (5)].list), (yyvsp[(4) - (5)].selectlimit), @@ -46975,18 +46945,18 @@ YYLTYPE yylloc; ;} break; - case 1724: -#line 12951 "gram.y" + case 1725: +#line 12972 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 1725: -#line 12952 "gram.y" + case 1726: +#line 12973 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 1726: -#line 12987 "gram.y" + case 1727: +#line 13008 "gram.y" { SelectStmt *n = makeNode(SelectStmt); @@ -47002,8 +46972,8 @@ YYLTYPE yylloc; ;} break; - case 1727: -#line 13003 "gram.y" + case 1728: +#line 13024 "gram.y" { SelectStmt *n = makeNode(SelectStmt); @@ -47020,13 +46990,13 @@ YYLTYPE yylloc; ;} break; - case 1728: -#line 13017 "gram.y" + case 1729: +#line 13038 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 1729: -#line 13019 "gram.y" + case 1730: +#line 13040 "gram.y" { /* same as SELECT * FROM relation_expr */ ColumnRef *cr = makeNode(ColumnRef); @@ -47047,29 +47017,29 @@ YYLTYPE yylloc; ;} break; - case 1730: -#line 13038 "gram.y" + case 1731: +#line 13059 "gram.y" { (yyval.node) = makeSetOp(SETOP_UNION, (yyvsp[(3) - (4)].setquantifier) == SET_QUANTIFIER_ALL, (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node)); ;} break; - case 1731: -#line 13042 "gram.y" + case 1732: +#line 13063 "gram.y" { (yyval.node) = makeSetOp(SETOP_INTERSECT, (yyvsp[(3) - (4)].setquantifier) == SET_QUANTIFIER_ALL, (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node)); ;} break; - case 1732: -#line 13046 "gram.y" + case 1733: +#line 13067 "gram.y" { (yyval.node) = makeSetOp(SETOP_EXCEPT, (yyvsp[(3) - (4)].setquantifier) == SET_QUANTIFIER_ALL, (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node)); ;} break; - case 1733: -#line 13061 "gram.y" + case 1734: +#line 13082 "gram.y" { (yyval.with) = makeNode(WithClause); (yyval.with)->ctes = (yyvsp[(2) - (2)].list); @@ -47078,8 +47048,8 @@ YYLTYPE yylloc; ;} break; - case 1734: -#line 13068 "gram.y" + case 1735: +#line 13089 "gram.y" { (yyval.with) = makeNode(WithClause); (yyval.with)->ctes = (yyvsp[(2) - (2)].list); @@ -47088,8 +47058,8 @@ YYLTYPE yylloc; ;} break; - case 1735: -#line 13075 "gram.y" + case 1736: +#line 13096 "gram.y" { (yyval.with) = makeNode(WithClause); (yyval.with)->ctes = (yyvsp[(3) - (3)].list); @@ -47098,18 +47068,18 @@ YYLTYPE yylloc; ;} break; - case 1736: -#line 13084 "gram.y" + case 1737: +#line 13105 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 1737: -#line 13085 "gram.y" + case 1738: +#line 13106 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 1738: -#line 13089 "gram.y" + case 1739: +#line 13110 "gram.y" { CommonTableExpr *n = makeNode(CommonTableExpr); @@ -47124,23 +47094,23 @@ YYLTYPE yylloc; ;} break; - case 1739: -#line 13104 "gram.y" + case 1740: +#line 13125 "gram.y" { (yyval.ival) = CTEMaterializeAlways; ;} break; - case 1740: -#line 13105 "gram.y" + case 1741: +#line 13126 "gram.y" { (yyval.ival) = CTEMaterializeNever; ;} break; - case 1741: -#line 13106 "gram.y" + case 1742: +#line 13127 "gram.y" { (yyval.ival) = CTEMaterializeDefault; ;} break; - case 1742: -#line 13111 "gram.y" + case 1743: +#line 13132 "gram.y" { CTESearchClause *n = makeNode(CTESearchClause); @@ -47152,8 +47122,8 @@ YYLTYPE yylloc; ;} break; - case 1743: -#line 13121 "gram.y" + case 1744: +#line 13142 "gram.y" { CTESearchClause *n = makeNode(CTESearchClause); @@ -47165,15 +47135,15 @@ YYLTYPE yylloc; ;} break; - case 1744: -#line 13131 "gram.y" + case 1745: +#line 13152 "gram.y" { (yyval.node) = NULL; ;} break; - case 1745: -#line 13138 "gram.y" + case 1746: +#line 13159 "gram.y" { CTECycleClause *n = makeNode(CTECycleClause); @@ -47187,8 +47157,8 @@ YYLTYPE yylloc; ;} break; - case 1746: -#line 13150 "gram.y" + case 1747: +#line 13171 "gram.y" { CTECycleClause *n = makeNode(CTECycleClause); @@ -47202,25 +47172,25 @@ YYLTYPE yylloc; ;} break; - case 1747: -#line 13162 "gram.y" + case 1748: +#line 13183 "gram.y" { (yyval.node) = NULL; ;} break; - case 1748: -#line 13168 "gram.y" + case 1749: +#line 13189 "gram.y" { (yyval.with) = (yyvsp[(1) - (1)].with); ;} break; - case 1749: -#line 13169 "gram.y" + case 1750: +#line 13190 "gram.y" { (yyval.with) = NULL; ;} break; - case 1750: -#line 13174 "gram.y" + case 1751: +#line 13195 "gram.y" { (yyval.into) = makeNode(IntoClause); (yyval.into)->rel = (yyvsp[(2) - (2)].range); @@ -47233,45 +47203,45 @@ YYLTYPE yylloc; ;} break; - case 1751: -#line 13185 "gram.y" + case 1752: +#line 13206 "gram.y" { (yyval.into) = NULL; ;} break; - case 1752: -#line 13194 "gram.y" + case 1753: +#line 13215 "gram.y" { (yyval.range) = (yyvsp[(3) - (3)].range); (yyval.range)->relpersistence = RELPERSISTENCE_TEMP; ;} break; - case 1753: -#line 13199 "gram.y" + case 1754: +#line 13220 "gram.y" { (yyval.range) = (yyvsp[(3) - (3)].range); (yyval.range)->relpersistence = RELPERSISTENCE_TEMP; ;} break; - case 1754: -#line 13204 "gram.y" + case 1755: +#line 13225 "gram.y" { (yyval.range) = (yyvsp[(4) - (4)].range); (yyval.range)->relpersistence = RELPERSISTENCE_TEMP; ;} break; - case 1755: -#line 13209 "gram.y" + case 1756: +#line 13230 "gram.y" { (yyval.range) = (yyvsp[(4) - (4)].range); (yyval.range)->relpersistence = RELPERSISTENCE_TEMP; ;} break; - case 1756: -#line 13214 "gram.y" + case 1757: +#line 13235 "gram.y" { ereport(WARNING, (errmsg("GLOBAL is deprecated in temporary table creation"), @@ -47281,8 +47251,8 @@ YYLTYPE yylloc; ;} break; - case 1757: -#line 13222 "gram.y" + case 1758: +#line 13243 "gram.y" { ereport(WARNING, (errmsg("GLOBAL is deprecated in temporary table creation"), @@ -47292,92 +47262,92 @@ YYLTYPE yylloc; ;} break; - case 1758: -#line 13230 "gram.y" + case 1759: +#line 13251 "gram.y" { (yyval.range) = (yyvsp[(3) - (3)].range); (yyval.range)->relpersistence = RELPERSISTENCE_UNLOGGED; ;} break; - case 1759: -#line 13235 "gram.y" + case 1760: +#line 13256 "gram.y" { (yyval.range) = (yyvsp[(2) - (2)].range); (yyval.range)->relpersistence = RELPERSISTENCE_PERMANENT; ;} break; - case 1760: -#line 13240 "gram.y" + case 1761: +#line 13261 "gram.y" { (yyval.range) = (yyvsp[(1) - (1)].range); (yyval.range)->relpersistence = RELPERSISTENCE_PERMANENT; ;} break; - case 1763: -#line 13251 "gram.y" + case 1764: +#line 13272 "gram.y" { (yyval.setquantifier) = SET_QUANTIFIER_ALL; ;} break; - case 1764: -#line 13252 "gram.y" + case 1765: +#line 13273 "gram.y" { (yyval.setquantifier) = SET_QUANTIFIER_DISTINCT; ;} break; - case 1765: -#line 13253 "gram.y" + case 1766: +#line 13274 "gram.y" { (yyval.setquantifier) = SET_QUANTIFIER_DEFAULT; ;} break; - case 1766: -#line 13260 "gram.y" + case 1767: +#line 13281 "gram.y" { (yyval.list) = list_make1(NIL); ;} break; - case 1767: -#line 13261 "gram.y" + case 1768: +#line 13282 "gram.y" { (yyval.list) = (yyvsp[(4) - (5)].list); ;} break; - case 1770: -#line 13270 "gram.y" + case 1771: +#line 13291 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 1771: -#line 13271 "gram.y" + case 1772: +#line 13292 "gram.y" { (yyval.list) = NIL; ;} break; - case 1772: -#line 13275 "gram.y" + case 1773: +#line 13296 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 1773: -#line 13276 "gram.y" + case 1774: +#line 13297 "gram.y" { (yyval.list) = NIL; ;} break; - case 1774: -#line 13280 "gram.y" + case 1775: +#line 13301 "gram.y" { (yyval.list) = (yyvsp[(3) - (3)].list); ;} break; - case 1775: -#line 13284 "gram.y" + case 1776: +#line 13305 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].sortby)); ;} break; - case 1776: -#line 13285 "gram.y" + case 1777: +#line 13306 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].sortby)); ;} break; - case 1777: -#line 13289 "gram.y" + case 1778: +#line 13310 "gram.y" { (yyval.sortby) = makeNode(SortBy); (yyval.sortby)->node = (yyvsp[(1) - (4)].node); @@ -47388,8 +47358,8 @@ YYLTYPE yylloc; ;} break; - case 1778: -#line 13298 "gram.y" + case 1779: +#line 13319 "gram.y" { (yyval.sortby) = makeNode(SortBy); (yyval.sortby)->node = (yyvsp[(1) - (3)].node); @@ -47400,8 +47370,8 @@ YYLTYPE yylloc; ;} break; - case 1779: -#line 13311 "gram.y" + case 1780: +#line 13332 "gram.y" { (yyval.selectlimit) = (yyvsp[(1) - (2)].selectlimit); ((yyval.selectlimit))->limitOffset = (yyvsp[(2) - (2)].node); @@ -47409,8 +47379,8 @@ YYLTYPE yylloc; ;} break; - case 1780: -#line 13317 "gram.y" + case 1781: +#line 13338 "gram.y" { (yyval.selectlimit) = (yyvsp[(2) - (2)].selectlimit); ((yyval.selectlimit))->limitOffset = (yyvsp[(1) - (2)].node); @@ -47418,15 +47388,15 @@ YYLTYPE yylloc; ;} break; - case 1781: -#line 13323 "gram.y" + case 1782: +#line 13344 "gram.y" { (yyval.selectlimit) = (yyvsp[(1) - (1)].selectlimit); ;} break; - case 1782: -#line 13327 "gram.y" + case 1783: +#line 13348 "gram.y" { SelectLimit *n = (SelectLimit *) palloc(sizeof(SelectLimit)); @@ -47440,18 +47410,18 @@ YYLTYPE yylloc; ;} break; - case 1783: -#line 13341 "gram.y" + case 1784: +#line 13362 "gram.y" { (yyval.selectlimit) = (yyvsp[(1) - (1)].selectlimit); ;} break; - case 1784: -#line 13342 "gram.y" + case 1785: +#line 13363 "gram.y" { (yyval.selectlimit) = NULL; ;} break; - case 1785: -#line 13347 "gram.y" + case 1786: +#line 13368 "gram.y" { SelectLimit *n = (SelectLimit *) palloc(sizeof(SelectLimit)); @@ -47465,8 +47435,8 @@ YYLTYPE yylloc; ;} break; - case 1786: -#line 13359 "gram.y" + case 1787: +#line 13380 "gram.y" { /* Disabled because it was too confusing, bjm 2002-02-18 */ ereport(ERROR, @@ -47477,8 +47447,8 @@ YYLTYPE yylloc; ;} break; - case 1787: -#line 13375 "gram.y" + case 1788: +#line 13396 "gram.y" { SelectLimit *n = (SelectLimit *) palloc(sizeof(SelectLimit)); @@ -47492,8 +47462,8 @@ YYLTYPE yylloc; ;} break; - case 1788: -#line 13387 "gram.y" + case 1789: +#line 13408 "gram.y" { SelectLimit *n = (SelectLimit *) palloc(sizeof(SelectLimit)); @@ -47507,8 +47477,8 @@ YYLTYPE yylloc; ;} break; - case 1789: -#line 13399 "gram.y" + case 1790: +#line 13420 "gram.y" { SelectLimit *n = (SelectLimit *) palloc(sizeof(SelectLimit)); @@ -47522,8 +47492,8 @@ YYLTYPE yylloc; ;} break; - case 1790: -#line 13411 "gram.y" + case 1791: +#line 13432 "gram.y" { SelectLimit *n = (SelectLimit *) palloc(sizeof(SelectLimit)); @@ -47537,81 +47507,81 @@ YYLTYPE yylloc; ;} break; - case 1791: -#line 13426 "gram.y" + case 1792: +#line 13447 "gram.y" { (yyval.node) = (yyvsp[(2) - (2)].node); ;} break; - case 1792: -#line 13429 "gram.y" + case 1793: +#line 13450 "gram.y" { (yyval.node) = (yyvsp[(2) - (3)].node); ;} break; - case 1793: -#line 13433 "gram.y" + case 1794: +#line 13454 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 1794: -#line 13435 "gram.y" + case 1795: +#line 13456 "gram.y" { /* LIMIT ALL is represented as a NULL constant */ (yyval.node) = makeNullAConst((yylsp[(1) - (1)])); ;} break; - case 1795: -#line 13442 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} - break; - case 1796: -#line 13462 "gram.y" +#line 13463 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 1797: -#line 13464 "gram.y" - { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} +#line 13483 "gram.y" + { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 1798: -#line 13466 "gram.y" - { (yyval.node) = doNegate((yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} +#line 13485 "gram.y" + { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; case 1799: -#line 13470 "gram.y" - { (yyval.node) = makeIntConst((yyvsp[(1) - (1)].ival),(yylsp[(1) - (1)])); ;} +#line 13487 "gram.y" + { (yyval.node) = doNegate((yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; case 1800: -#line 13471 "gram.y" - { (yyval.node) = makeFloatConst((yyvsp[(1) - (1)].str),(yylsp[(1) - (1)])); ;} +#line 13491 "gram.y" + { (yyval.node) = makeIntConst((yyvsp[(1) - (1)].ival),(yylsp[(1) - (1)])); ;} break; case 1801: -#line 13475 "gram.y" - { (yyval.ival) = 0; ;} +#line 13492 "gram.y" + { (yyval.node) = makeFloatConst((yyvsp[(1) - (1)].str),(yylsp[(1) - (1)])); ;} break; case 1802: -#line 13476 "gram.y" +#line 13496 "gram.y" { (yyval.ival) = 0; ;} break; case 1803: -#line 13479 "gram.y" +#line 13497 "gram.y" { (yyval.ival) = 0; ;} break; case 1804: -#line 13480 "gram.y" +#line 13500 "gram.y" { (yyval.ival) = 0; ;} break; case 1805: -#line 13506 "gram.y" +#line 13501 "gram.y" + { (yyval.ival) = 0; ;} + break; + + case 1806: +#line 13527 "gram.y" { GroupClause *n = (GroupClause *) palloc(sizeof(GroupClause)); @@ -47621,8 +47591,8 @@ YYLTYPE yylloc; ;} break; - case 1806: -#line 13514 "gram.y" + case 1807: +#line 13535 "gram.y" { GroupClause *n = (GroupClause *) palloc(sizeof(GroupClause)); @@ -47632,111 +47602,111 @@ YYLTYPE yylloc; ;} break; - case 1807: -#line 13524 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} - break; - case 1808: -#line 13525 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list),(yyvsp[(3) - (3)].node)); ;} +#line 13545 "gram.y" + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; case 1809: -#line 13529 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} +#line 13546 "gram.y" + { (yyval.list) = lappend((yyvsp[(1) - (3)].list),(yyvsp[(3) - (3)].node)); ;} break; case 1810: -#line 13530 "gram.y" +#line 13550 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 1811: -#line 13531 "gram.y" +#line 13551 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 1812: -#line 13532 "gram.y" +#line 13552 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 1813: -#line 13533 "gram.y" +#line 13553 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 1814: -#line 13538 "gram.y" +#line 13554 "gram.y" + { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + break; + + case 1815: +#line 13559 "gram.y" { (yyval.node) = (Node *) makeGroupingSet(GROUPING_SET_EMPTY, NIL, (yylsp[(1) - (2)])); ;} break; - case 1815: -#line 13551 "gram.y" + case 1816: +#line 13572 "gram.y" { (yyval.node) = (Node *) makeGroupingSet(GROUPING_SET_ROLLUP, (yyvsp[(3) - (4)].list), (yylsp[(1) - (4)])); ;} break; - case 1816: -#line 13558 "gram.y" + case 1817: +#line 13579 "gram.y" { (yyval.node) = (Node *) makeGroupingSet(GROUPING_SET_CUBE, (yyvsp[(3) - (4)].list), (yylsp[(1) - (4)])); ;} break; - case 1817: -#line 13565 "gram.y" + case 1818: +#line 13586 "gram.y" { (yyval.node) = (Node *) makeGroupingSet(GROUPING_SET_SETS, (yyvsp[(4) - (5)].list), (yylsp[(1) - (5)])); ;} break; - case 1818: -#line 13571 "gram.y" + case 1819: +#line 13592 "gram.y" { (yyval.node) = (yyvsp[(2) - (2)].node); ;} break; - case 1819: -#line 13572 "gram.y" + case 1820: +#line 13593 "gram.y" { (yyval.node) = NULL; ;} break; - case 1820: -#line 13576 "gram.y" + case 1821: +#line 13597 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 1821: -#line 13577 "gram.y" + case 1822: +#line 13598 "gram.y" { (yyval.list) = NIL; ;} break; - case 1822: -#line 13581 "gram.y" + case 1823: +#line 13602 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 1823: -#line 13582 "gram.y" + case 1824: +#line 13603 "gram.y" { (yyval.list) = NIL; ;} break; - case 1824: -#line 13586 "gram.y" + case 1825: +#line 13607 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 1825: -#line 13587 "gram.y" + case 1826: +#line 13608 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} break; - case 1826: -#line 13592 "gram.y" + case 1827: +#line 13613 "gram.y" { LockingClause *n = makeNode(LockingClause); @@ -47747,38 +47717,38 @@ YYLTYPE yylloc; ;} break; - case 1827: -#line 13603 "gram.y" + case 1828: +#line 13624 "gram.y" { (yyval.ival) = LCS_FORUPDATE; ;} break; - case 1828: -#line 13604 "gram.y" + case 1829: +#line 13625 "gram.y" { (yyval.ival) = LCS_FORNOKEYUPDATE; ;} break; - case 1829: -#line 13605 "gram.y" + case 1830: +#line 13626 "gram.y" { (yyval.ival) = LCS_FORSHARE; ;} break; - case 1830: -#line 13606 "gram.y" + case 1831: +#line 13627 "gram.y" { (yyval.ival) = LCS_FORKEYSHARE; ;} break; - case 1831: -#line 13610 "gram.y" + case 1832: +#line 13631 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 1832: -#line 13611 "gram.y" + case 1833: +#line 13632 "gram.y" { (yyval.list) = NIL; ;} break; - case 1833: -#line 13622 "gram.y" + case 1834: +#line 13643 "gram.y" { SelectStmt *n = makeNode(SelectStmt); @@ -47787,8 +47757,8 @@ YYLTYPE yylloc; ;} break; - case 1834: -#line 13629 "gram.y" + case 1835: +#line 13650 "gram.y" { SelectStmt *n = (SelectStmt *) (yyvsp[(1) - (5)].node); @@ -47797,36 +47767,36 @@ YYLTYPE yylloc; ;} break; - case 1835: -#line 13647 "gram.y" + case 1836: +#line 13668 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 1836: -#line 13648 "gram.y" + case 1837: +#line 13669 "gram.y" { (yyval.list) = NIL; ;} break; - case 1837: -#line 13652 "gram.y" + case 1838: +#line 13673 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 1838: -#line 13653 "gram.y" + case 1839: +#line 13674 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 1839: -#line 13660 "gram.y" + case 1840: +#line 13681 "gram.y" { (yyvsp[(1) - (2)].range)->alias = (yyvsp[(2) - (2)].alias); (yyval.node) = (Node *) (yyvsp[(1) - (2)].range); ;} break; - case 1840: -#line 13665 "gram.y" + case 1841: +#line 13686 "gram.y" { RangeTableSample *n = (RangeTableSample *) (yyvsp[(3) - (3)].node); @@ -47837,8 +47807,8 @@ YYLTYPE yylloc; ;} break; - case 1841: -#line 13674 "gram.y" + case 1842: +#line 13695 "gram.y" { RangeFunction *n = (RangeFunction *) (yyvsp[(1) - (2)].node); @@ -47848,8 +47818,8 @@ YYLTYPE yylloc; ;} break; - case 1842: -#line 13682 "gram.y" + case 1843: +#line 13703 "gram.y" { RangeFunction *n = (RangeFunction *) (yyvsp[(2) - (3)].node); @@ -47860,8 +47830,8 @@ YYLTYPE yylloc; ;} break; - case 1843: -#line 13691 "gram.y" + case 1844: +#line 13712 "gram.y" { RangeTableFunc *n = (RangeTableFunc *) (yyvsp[(1) - (2)].node); @@ -47870,8 +47840,8 @@ YYLTYPE yylloc; ;} break; - case 1844: -#line 13698 "gram.y" + case 1845: +#line 13719 "gram.y" { RangeTableFunc *n = (RangeTableFunc *) (yyvsp[(2) - (3)].node); @@ -47881,8 +47851,8 @@ YYLTYPE yylloc; ;} break; - case 1845: -#line 13706 "gram.y" + case 1846: +#line 13727 "gram.y" { RangeSubselect *n = makeNode(RangeSubselect); @@ -47893,8 +47863,8 @@ YYLTYPE yylloc; ;} break; - case 1846: -#line 13715 "gram.y" + case 1847: +#line 13736 "gram.y" { RangeSubselect *n = makeNode(RangeSubselect); @@ -47905,23 +47875,23 @@ YYLTYPE yylloc; ;} break; - case 1847: -#line 13724 "gram.y" + case 1848: +#line 13745 "gram.y" { (yyval.node) = (Node *) (yyvsp[(1) - (1)].jexpr); ;} break; - case 1848: -#line 13728 "gram.y" + case 1849: +#line 13749 "gram.y" { (yyvsp[(2) - (4)].jexpr)->alias = (yyvsp[(4) - (4)].alias); (yyval.node) = (Node *) (yyvsp[(2) - (4)].jexpr); ;} break; - case 1849: -#line 13733 "gram.y" + case 1850: +#line 13754 "gram.y" { JsonTable *jt = castNode(JsonTable, (yyvsp[(1) - (2)].node)); @@ -47930,8 +47900,8 @@ YYLTYPE yylloc; ;} break; - case 1850: -#line 13740 "gram.y" + case 1851: +#line 13761 "gram.y" { JsonTable *jt = castNode(JsonTable, (yyvsp[(2) - (3)].node)); @@ -47941,15 +47911,15 @@ YYLTYPE yylloc; ;} break; - case 1851: -#line 13769 "gram.y" + case 1852: +#line 13790 "gram.y" { (yyval.jexpr) = (yyvsp[(2) - (3)].jexpr); ;} break; - case 1852: -#line 13773 "gram.y" + case 1853: +#line 13794 "gram.y" { /* CROSS JOIN is same as unqualified inner join */ JoinExpr *n = makeNode(JoinExpr); @@ -47965,8 +47935,8 @@ YYLTYPE yylloc; ;} break; - case 1853: -#line 13787 "gram.y" + case 1854: +#line 13808 "gram.y" { JoinExpr *n = makeNode(JoinExpr); @@ -47989,8 +47959,8 @@ YYLTYPE yylloc; ;} break; - case 1854: -#line 13808 "gram.y" + case 1855: +#line 13829 "gram.y" { /* letting join_type reduce to empty doesn't work */ JoinExpr *n = makeNode(JoinExpr); @@ -48014,8 +47984,8 @@ YYLTYPE yylloc; ;} break; - case 1855: -#line 13830 "gram.y" + case 1856: +#line 13851 "gram.y" { JoinExpr *n = makeNode(JoinExpr); @@ -48030,8 +48000,8 @@ YYLTYPE yylloc; ;} break; - case 1856: -#line 13843 "gram.y" + case 1857: +#line 13864 "gram.y" { /* letting join_type reduce to empty doesn't work */ JoinExpr *n = makeNode(JoinExpr); @@ -48047,8 +48017,8 @@ YYLTYPE yylloc; ;} break; - case 1857: -#line 13860 "gram.y" + case 1858: +#line 13881 "gram.y" { (yyval.alias) = makeNode(Alias); (yyval.alias)->aliasname = (yyvsp[(2) - (5)].str); @@ -48056,16 +48026,16 @@ YYLTYPE yylloc; ;} break; - case 1858: -#line 13866 "gram.y" + case 1859: +#line 13887 "gram.y" { (yyval.alias) = makeNode(Alias); (yyval.alias)->aliasname = (yyvsp[(2) - (2)].str); ;} break; - case 1859: -#line 13871 "gram.y" + case 1860: +#line 13892 "gram.y" { (yyval.alias) = makeNode(Alias); (yyval.alias)->aliasname = (yyvsp[(1) - (4)].str); @@ -48073,26 +48043,26 @@ YYLTYPE yylloc; ;} break; - case 1860: -#line 13877 "gram.y" + case 1861: +#line 13898 "gram.y" { (yyval.alias) = makeNode(Alias); (yyval.alias)->aliasname = (yyvsp[(1) - (1)].str); ;} break; - case 1861: -#line 13883 "gram.y" + case 1862: +#line 13904 "gram.y" { (yyval.alias) = (yyvsp[(1) - (1)].alias); ;} break; - case 1862: -#line 13884 "gram.y" + case 1863: +#line 13905 "gram.y" { (yyval.alias) = NULL; ;} break; - case 1863: -#line 13895 "gram.y" + case 1864: +#line 13916 "gram.y" { (yyval.alias) = makeNode(Alias); (yyval.alias)->aliasname = (yyvsp[(2) - (2)].str); @@ -48100,27 +48070,27 @@ YYLTYPE yylloc; ;} break; - case 1864: -#line 13900 "gram.y" + case 1865: +#line 13921 "gram.y" { (yyval.alias) = NULL; ;} break; - case 1865: -#line 13909 "gram.y" + case 1866: +#line 13930 "gram.y" { (yyval.list) = list_make2((yyvsp[(1) - (1)].alias), NIL); ;} break; - case 1866: -#line 13913 "gram.y" + case 1867: +#line 13934 "gram.y" { (yyval.list) = list_make2(NULL, (yyvsp[(3) - (4)].list)); ;} break; - case 1867: -#line 13917 "gram.y" + case 1868: +#line 13938 "gram.y" { Alias *a = makeNode(Alias); @@ -48129,8 +48099,8 @@ YYLTYPE yylloc; ;} break; - case 1868: -#line 13924 "gram.y" + case 1869: +#line 13945 "gram.y" { Alias *a = makeNode(Alias); @@ -48139,49 +48109,49 @@ YYLTYPE yylloc; ;} break; - case 1869: -#line 13931 "gram.y" + case 1870: +#line 13952 "gram.y" { (yyval.list) = list_make2(NULL, NIL); ;} break; - case 1870: -#line 13936 "gram.y" + case 1871: +#line 13957 "gram.y" { (yyval.jtype) = JOIN_FULL; ;} break; - case 1871: -#line 13937 "gram.y" + case 1872: +#line 13958 "gram.y" { (yyval.jtype) = JOIN_LEFT; ;} break; - case 1872: -#line 13938 "gram.y" + case 1873: +#line 13959 "gram.y" { (yyval.jtype) = JOIN_RIGHT; ;} break; - case 1873: -#line 13939 "gram.y" + case 1874: +#line 13960 "gram.y" { (yyval.jtype) = JOIN_INNER; ;} break; - case 1876: -#line 13960 "gram.y" + case 1877: +#line 13981 "gram.y" { (yyval.node) = (Node *) list_make2((yyvsp[(3) - (5)].list), (yyvsp[(5) - (5)].alias)); ;} break; - case 1877: -#line 13964 "gram.y" + case 1878: +#line 13985 "gram.y" { (yyval.node) = (yyvsp[(2) - (2)].node); ;} break; - case 1878: -#line 13972 "gram.y" + case 1879: +#line 13993 "gram.y" { /* inheritance query, implicitly */ (yyval.range) = (yyvsp[(1) - (1)].range); @@ -48190,15 +48160,15 @@ YYLTYPE yylloc; ;} break; - case 1879: -#line 13979 "gram.y" + case 1880: +#line 14000 "gram.y" { (yyval.range) = (yyvsp[(1) - (1)].range); ;} break; - case 1880: -#line 13986 "gram.y" + case 1881: +#line 14007 "gram.y" { /* inheritance query, explicitly */ (yyval.range) = (yyvsp[(1) - (2)].range); @@ -48207,8 +48177,8 @@ YYLTYPE yylloc; ;} break; - case 1881: -#line 13993 "gram.y" + case 1882: +#line 14014 "gram.y" { /* no inheritance */ (yyval.range) = (yyvsp[(2) - (2)].range); @@ -48217,8 +48187,8 @@ YYLTYPE yylloc; ;} break; - case 1882: -#line 14000 "gram.y" + case 1883: +#line 14021 "gram.y" { /* no inheritance, SQL99-style syntax */ (yyval.range) = (yyvsp[(3) - (4)].range); @@ -48227,25 +48197,25 @@ YYLTYPE yylloc; ;} break; - case 1883: -#line 14010 "gram.y" + case 1884: +#line 14031 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].range)); ;} break; - case 1884: -#line 14011 "gram.y" + case 1885: +#line 14032 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].range)); ;} break; - case 1885: -#line 14025 "gram.y" + case 1886: +#line 14046 "gram.y" { (yyval.range) = (yyvsp[(1) - (1)].range); ;} break; - case 1886: -#line 14029 "gram.y" + case 1887: +#line 14050 "gram.y" { Alias *alias = makeNode(Alias); @@ -48255,8 +48225,8 @@ YYLTYPE yylloc; ;} break; - case 1887: -#line 14037 "gram.y" + case 1888: +#line 14058 "gram.y" { Alias *alias = makeNode(Alias); @@ -48266,8 +48236,8 @@ YYLTYPE yylloc; ;} break; - case 1888: -#line 14051 "gram.y" + case 1889: +#line 14072 "gram.y" { RangeTableSample *n = makeNode(RangeTableSample); @@ -48280,18 +48250,18 @@ YYLTYPE yylloc; ;} break; - case 1889: -#line 14064 "gram.y" + case 1890: +#line 14085 "gram.y" { (yyval.node) = (Node *) (yyvsp[(3) - (4)].node); ;} break; - case 1890: -#line 14065 "gram.y" + case 1891: +#line 14086 "gram.y" { (yyval.node) = NULL; ;} break; - case 1891: -#line 14081 "gram.y" + case 1892: +#line 14102 "gram.y" { RangeFunction *n = makeNode(RangeFunction); @@ -48304,8 +48274,8 @@ YYLTYPE yylloc; ;} break; - case 1892: -#line 14092 "gram.y" + case 1893: +#line 14113 "gram.y" { RangeFunction *n = makeNode(RangeFunction); @@ -48318,58 +48288,58 @@ YYLTYPE yylloc; ;} break; - case 1893: -#line 14105 "gram.y" + case 1894: +#line 14126 "gram.y" { (yyval.list) = list_make2((yyvsp[(1) - (2)].node), (yyvsp[(2) - (2)].list)); ;} break; - case 1894: -#line 14109 "gram.y" + case 1895: +#line 14130 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].list)); ;} break; - case 1895: -#line 14110 "gram.y" + case 1896: +#line 14131 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].list)); ;} break; - case 1896: -#line 14113 "gram.y" + case 1897: +#line 14134 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 1897: -#line 14114 "gram.y" + case 1898: +#line 14135 "gram.y" { (yyval.list) = NIL; ;} break; - case 1898: -#line 14117 "gram.y" + case 1899: +#line 14138 "gram.y" { (yyval.boolean) = true; ;} break; - case 1899: -#line 14118 "gram.y" + case 1900: +#line 14139 "gram.y" { (yyval.boolean) = false; ;} break; - case 1900: -#line 14123 "gram.y" + case 1901: +#line 14144 "gram.y" { (yyval.node) = (yyvsp[(2) - (2)].node); ;} break; - case 1901: -#line 14124 "gram.y" + case 1902: +#line 14145 "gram.y" { (yyval.node) = NULL; ;} break; - case 1902: -#line 14129 "gram.y" + case 1903: +#line 14150 "gram.y" { (yyval.node) = (yyvsp[(2) - (2)].node); ;} break; - case 1903: -#line 14131 "gram.y" + case 1904: +#line 14152 "gram.y" { CurrentOfExpr *n = makeNode(CurrentOfExpr); @@ -48380,37 +48350,37 @@ YYLTYPE yylloc; ;} break; - case 1904: -#line 14139 "gram.y" + case 1905: +#line 14160 "gram.y" { (yyval.node) = NULL; ;} break; - case 1905: -#line 14144 "gram.y" + case 1906: +#line 14165 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 1906: -#line 14145 "gram.y" + case 1907: +#line 14166 "gram.y" { (yyval.list) = NIL; ;} break; - case 1907: -#line 14150 "gram.y" + case 1908: +#line 14171 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 1908: -#line 14154 "gram.y" + case 1909: +#line 14175 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 1909: -#line 14160 "gram.y" + case 1910: +#line 14181 "gram.y" { ColumnDef *n = makeNode(ColumnDef); @@ -48431,8 +48401,8 @@ YYLTYPE yylloc; ;} break; - case 1910: -#line 14185 "gram.y" + case 1911: +#line 14206 "gram.y" { RangeTableFunc *n = makeNode(RangeTableFunc); @@ -48445,8 +48415,8 @@ YYLTYPE yylloc; ;} break; - case 1911: -#line 14197 "gram.y" + case 1912: +#line 14218 "gram.y" { RangeTableFunc *n = makeNode(RangeTableFunc); @@ -48459,18 +48429,18 @@ YYLTYPE yylloc; ;} break; - case 1912: -#line 14209 "gram.y" + case 1913: +#line 14230 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 1913: -#line 14210 "gram.y" + case 1914: +#line 14231 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 1914: -#line 14215 "gram.y" + case 1915: +#line 14236 "gram.y" { RangeTableFuncCol *fc = makeNode(RangeTableFuncCol); @@ -48486,8 +48456,8 @@ YYLTYPE yylloc; ;} break; - case 1915: -#line 14229 "gram.y" + case 1916: +#line 14250 "gram.y" { RangeTableFuncCol *fc = makeNode(RangeTableFuncCol); ListCell *option; @@ -48546,8 +48516,8 @@ YYLTYPE yylloc; ;} break; - case 1916: -#line 14286 "gram.y" + case 1917: +#line 14307 "gram.y" { RangeTableFuncCol *fc = makeNode(RangeTableFuncCol); @@ -48560,18 +48530,18 @@ YYLTYPE yylloc; ;} break; - case 1917: -#line 14300 "gram.y" + case 1918: +#line 14321 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].defelt)); ;} break; - case 1918: -#line 14302 "gram.y" + case 1919: +#line 14323 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].defelt)); ;} break; - case 1919: -#line 14307 "gram.y" + case 1920: +#line 14328 "gram.y" { if (strcmp((yyvsp[(1) - (2)].str), "__pg__is_not_null") == 0) ereport(ERROR, @@ -48582,38 +48552,38 @@ YYLTYPE yylloc; ;} break; - case 1920: -#line 14316 "gram.y" + case 1921: +#line 14337 "gram.y" { (yyval.defelt) = makeDefElem("default", (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 1921: -#line 14318 "gram.y" + case 1922: +#line 14339 "gram.y" { (yyval.defelt) = makeDefElem("__pg__is_not_null", (Node *) makeBoolean(true), (yylsp[(1) - (2)])); ;} break; - case 1922: -#line 14320 "gram.y" + case 1923: +#line 14341 "gram.y" { (yyval.defelt) = makeDefElem("__pg__is_not_null", (Node *) makeBoolean(false), (yylsp[(1) - (1)])); ;} break; - case 1923: -#line 14322 "gram.y" + case 1924: +#line 14343 "gram.y" { (yyval.defelt) = makeDefElem("path", (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 1924: -#line 14327 "gram.y" + case 1925: +#line 14348 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); ;} break; - case 1925: -#line 14329 "gram.y" + case 1926: +#line 14350 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].target)); ;} break; - case 1926: -#line 14334 "gram.y" + case 1927: +#line 14355 "gram.y" { (yyval.target) = makeNode(ResTarget); (yyval.target)->name = (yyvsp[(3) - (3)].str); @@ -48623,8 +48593,8 @@ YYLTYPE yylloc; ;} break; - case 1927: -#line 14342 "gram.y" + case 1928: +#line 14363 "gram.y" { (yyval.target) = makeNode(ResTarget); (yyval.target)->name = NULL; @@ -48634,8 +48604,8 @@ YYLTYPE yylloc; ;} break; - case 1928: -#line 14358 "gram.y" + case 1929: +#line 14379 "gram.y" { JsonTable *n = makeNode(JsonTable); char *pathstring; @@ -48657,28 +48627,28 @@ YYLTYPE yylloc; ;} break; - case 1929: -#line 14380 "gram.y" + case 1930: +#line 14401 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].str); ;} break; - case 1930: -#line 14381 "gram.y" + case 1931: +#line 14402 "gram.y" { (yyval.str) = NULL; ;} break; - case 1931: -#line 14386 "gram.y" + case 1932: +#line 14407 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 1932: -#line 14388 "gram.y" + case 1933: +#line 14409 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 1933: -#line 14393 "gram.y" + case 1934: +#line 14414 "gram.y" { JsonTableColumn *n = makeNode(JsonTableColumn); @@ -48689,8 +48659,8 @@ YYLTYPE yylloc; ;} break; - case 1934: -#line 14406 "gram.y" + case 1935: +#line 14427 "gram.y" { JsonTableColumn *n = makeNode(JsonTableColumn); @@ -48708,8 +48678,8 @@ YYLTYPE yylloc; ;} break; - case 1935: -#line 14426 "gram.y" + case 1936: +#line 14447 "gram.y" { JsonTableColumn *n = makeNode(JsonTableColumn); @@ -48727,8 +48697,8 @@ YYLTYPE yylloc; ;} break; - case 1936: -#line 14444 "gram.y" + case 1937: +#line 14465 "gram.y" { JsonTableColumn *n = makeNode(JsonTableColumn); @@ -48746,8 +48716,8 @@ YYLTYPE yylloc; ;} break; - case 1937: -#line 14461 "gram.y" + case 1938: +#line 14482 "gram.y" { JsonTableColumn *n = makeNode(JsonTableColumn); @@ -48760,8 +48730,8 @@ YYLTYPE yylloc; ;} break; - case 1938: -#line 14473 "gram.y" + case 1939: +#line 14494 "gram.y" { JsonTableColumn *n = makeNode(JsonTableColumn); @@ -48774,26 +48744,26 @@ YYLTYPE yylloc; ;} break; - case 1941: -#line 14492 "gram.y" + case 1942: +#line 14513 "gram.y" { (yyval.node) = (Node *) makeJsonTablePathSpec((yyvsp[(2) - (2)].str), NULL, (yylsp[(2) - (2)]), -1); ;} break; - case 1942: -#line 14494 "gram.y" + case 1943: +#line 14515 "gram.y" { (yyval.node) = NULL; ;} break; - case 1943: -#line 14508 "gram.y" + case 1944: +#line 14529 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (2)].typnam); (yyval.typnam)->arrayBounds = (yyvsp[(2) - (2)].list); ;} break; - case 1944: -#line 14513 "gram.y" + case 1945: +#line 14534 "gram.y" { (yyval.typnam) = (yyvsp[(2) - (3)].typnam); (yyval.typnam)->arrayBounds = (yyvsp[(3) - (3)].list); @@ -48801,16 +48771,16 @@ YYLTYPE yylloc; ;} break; - case 1945: -#line 14520 "gram.y" + case 1946: +#line 14541 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (5)].typnam); (yyval.typnam)->arrayBounds = list_make1(makeInteger((yyvsp[(4) - (5)].ival))); ;} break; - case 1946: -#line 14525 "gram.y" + case 1947: +#line 14546 "gram.y" { (yyval.typnam) = (yyvsp[(2) - (6)].typnam); (yyval.typnam)->arrayBounds = list_make1(makeInteger((yyvsp[(5) - (6)].ival))); @@ -48818,16 +48788,16 @@ YYLTYPE yylloc; ;} break; - case 1947: -#line 14531 "gram.y" + case 1948: +#line 14552 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (2)].typnam); (yyval.typnam)->arrayBounds = list_make1(makeInteger(-1)); ;} break; - case 1948: -#line 14536 "gram.y" + case 1949: +#line 14557 "gram.y" { (yyval.typnam) = (yyvsp[(2) - (3)].typnam); (yyval.typnam)->arrayBounds = list_make1(makeInteger(-1)); @@ -48835,56 +48805,56 @@ YYLTYPE yylloc; ;} break; - case 1949: -#line 14545 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeInteger(-1)); ;} - break; - case 1950: -#line 14547 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (4)].list), makeInteger((yyvsp[(3) - (4)].ival))); ;} +#line 14566 "gram.y" + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeInteger(-1)); ;} break; case 1951: -#line 14549 "gram.y" - { (yyval.list) = NIL; ;} +#line 14568 "gram.y" + { (yyval.list) = lappend((yyvsp[(1) - (4)].list), makeInteger((yyvsp[(3) - (4)].ival))); ;} break; case 1952: -#line 14553 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} +#line 14570 "gram.y" + { (yyval.list) = NIL; ;} break; case 1953: -#line 14554 "gram.y" +#line 14574 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; case 1954: -#line 14555 "gram.y" +#line 14575 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; case 1955: -#line 14556 "gram.y" +#line 14576 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; case 1956: -#line 14557 "gram.y" +#line 14577 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; case 1957: -#line 14559 "gram.y" +#line 14578 "gram.y" + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + break; + + case 1958: +#line 14580 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (2)].typnam); (yyval.typnam)->typmods = (yyvsp[(2) - (2)].list); ;} break; - case 1958: -#line 14564 "gram.y" + case 1959: +#line 14585 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (4)].typnam); (yyval.typnam)->typmods = list_make2(makeIntConst(INTERVAL_FULL_RANGE, -1), @@ -48892,38 +48862,38 @@ YYLTYPE yylloc; ;} break; - case 1959: -#line 14569 "gram.y" - { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} - break; - case 1960: -#line 14584 "gram.y" +#line 14590 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; case 1961: -#line 14585 "gram.y" +#line 14605 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; case 1962: -#line 14586 "gram.y" +#line 14606 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; case 1963: -#line 14587 "gram.y" +#line 14607 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; case 1964: -#line 14588 "gram.y" +#line 14608 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; case 1965: -#line 14600 "gram.y" +#line 14609 "gram.y" + { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} + break; + + case 1966: +#line 14621 "gram.y" { (yyval.typnam) = makeTypeName((yyvsp[(1) - (2)].str)); (yyval.typnam)->typmods = (yyvsp[(2) - (2)].list); @@ -48931,8 +48901,8 @@ YYLTYPE yylloc; ;} break; - case 1966: -#line 14606 "gram.y" + case 1967: +#line 14627 "gram.y" { (yyval.typnam) = makeTypeNameFromNameList(lcons(makeString((yyvsp[(1) - (3)].str)), (yyvsp[(2) - (3)].list))); (yyval.typnam)->typmods = (yyvsp[(3) - (3)].list); @@ -48940,74 +48910,74 @@ YYLTYPE yylloc; ;} break; - case 1967: -#line 14613 "gram.y" + case 1968: +#line 14634 "gram.y" { (yyval.list) = (yyvsp[(2) - (3)].list); ;} break; - case 1968: -#line 14614 "gram.y" + case 1969: +#line 14635 "gram.y" { (yyval.list) = NIL; ;} break; - case 1969: -#line 14621 "gram.y" + case 1970: +#line 14642 "gram.y" { (yyval.typnam) = SystemTypeName("int4"); (yyval.typnam)->location = (yylsp[(1) - (1)]); ;} break; - case 1970: -#line 14626 "gram.y" + case 1971: +#line 14647 "gram.y" { (yyval.typnam) = SystemTypeName("int4"); (yyval.typnam)->location = (yylsp[(1) - (1)]); ;} break; - case 1971: -#line 14631 "gram.y" + case 1972: +#line 14652 "gram.y" { (yyval.typnam) = SystemTypeName("int2"); (yyval.typnam)->location = (yylsp[(1) - (1)]); ;} break; - case 1972: -#line 14636 "gram.y" + case 1973: +#line 14657 "gram.y" { (yyval.typnam) = SystemTypeName("int8"); (yyval.typnam)->location = (yylsp[(1) - (1)]); ;} break; - case 1973: -#line 14641 "gram.y" + case 1974: +#line 14662 "gram.y" { (yyval.typnam) = SystemTypeName("float4"); (yyval.typnam)->location = (yylsp[(1) - (1)]); ;} break; - case 1974: -#line 14646 "gram.y" + case 1975: +#line 14667 "gram.y" { (yyval.typnam) = (yyvsp[(2) - (2)].typnam); (yyval.typnam)->location = (yylsp[(1) - (2)]); ;} break; - case 1975: -#line 14651 "gram.y" + case 1976: +#line 14672 "gram.y" { (yyval.typnam) = SystemTypeName("float8"); (yyval.typnam)->location = (yylsp[(1) - (2)]); ;} break; - case 1976: -#line 14656 "gram.y" + case 1977: +#line 14677 "gram.y" { (yyval.typnam) = SystemTypeName("numeric"); (yyval.typnam)->typmods = (yyvsp[(2) - (2)].list); @@ -49015,8 +48985,8 @@ YYLTYPE yylloc; ;} break; - case 1977: -#line 14662 "gram.y" + case 1978: +#line 14683 "gram.y" { (yyval.typnam) = SystemTypeName("numeric"); (yyval.typnam)->typmods = (yyvsp[(2) - (2)].list); @@ -49024,8 +48994,8 @@ YYLTYPE yylloc; ;} break; - case 1978: -#line 14668 "gram.y" + case 1979: +#line 14689 "gram.y" { (yyval.typnam) = SystemTypeName("numeric"); (yyval.typnam)->typmods = (yyvsp[(2) - (2)].list); @@ -49033,16 +49003,16 @@ YYLTYPE yylloc; ;} break; - case 1979: -#line 14674 "gram.y" + case 1980: +#line 14695 "gram.y" { (yyval.typnam) = SystemTypeName("bool"); (yyval.typnam)->location = (yylsp[(1) - (1)]); ;} break; - case 1980: -#line 14681 "gram.y" + case 1981: +#line 14702 "gram.y" { /* * Check FLOAT() precision limits assuming IEEE floating @@ -49065,44 +49035,44 @@ YYLTYPE yylloc; ;} break; - case 1981: -#line 14702 "gram.y" + case 1982: +#line 14723 "gram.y" { (yyval.typnam) = SystemTypeName("float8"); ;} break; - case 1982: -#line 14712 "gram.y" + case 1983: +#line 14733 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; - case 1983: -#line 14716 "gram.y" + case 1984: +#line 14737 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; - case 1984: -#line 14724 "gram.y" + case 1985: +#line 14745 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; - case 1985: -#line 14728 "gram.y" + case 1986: +#line 14749 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); (yyval.typnam)->typmods = NIL; ;} break; - case 1986: -#line 14736 "gram.y" + case 1987: +#line 14757 "gram.y" { char *typname; @@ -49113,8 +49083,8 @@ YYLTYPE yylloc; ;} break; - case 1987: -#line 14748 "gram.y" + case 1988: +#line 14769 "gram.y" { /* bit defaults to bit(1), varbit to no limit */ if ((yyvsp[(2) - (2)].boolean)) @@ -49130,29 +49100,29 @@ YYLTYPE yylloc; ;} break; - case 1988: -#line 14769 "gram.y" + case 1989: +#line 14790 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; - case 1989: -#line 14773 "gram.y" + case 1990: +#line 14794 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; - case 1990: -#line 14779 "gram.y" + case 1991: +#line 14800 "gram.y" { (yyval.typnam) = (yyvsp[(1) - (1)].typnam); ;} break; - case 1991: -#line 14783 "gram.y" + case 1992: +#line 14804 "gram.y" { /* Length was not specified so allow to be unrestricted. * This handles problems with fixed-length (bpchar) strings @@ -49165,8 +49135,8 @@ YYLTYPE yylloc; ;} break; - case 1992: -#line 14796 "gram.y" + case 1993: +#line 14817 "gram.y" { (yyval.typnam) = SystemTypeName((yyvsp[(1) - (4)].str)); (yyval.typnam)->typmods = list_make1(makeIntConst((yyvsp[(3) - (4)].ival), (yylsp[(3) - (4)]))); @@ -49174,8 +49144,8 @@ YYLTYPE yylloc; ;} break; - case 1993: -#line 14804 "gram.y" + case 1994: +#line 14825 "gram.y" { (yyval.typnam) = SystemTypeName((yyvsp[(1) - (1)].str)); /* char defaults to char(1), varchar to no limit */ @@ -49185,48 +49155,48 @@ YYLTYPE yylloc; ;} break; - case 1994: -#line 14814 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; ;} - break; - case 1995: -#line 14816 "gram.y" +#line 14835 "gram.y" { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; ;} break; case 1996: -#line 14818 "gram.y" - { (yyval.str) = "varchar"; ;} +#line 14837 "gram.y" + { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; ;} break; case 1997: -#line 14820 "gram.y" - { (yyval.str) = (yyvsp[(3) - (3)].boolean) ? "varchar": "bpchar"; ;} +#line 14839 "gram.y" + { (yyval.str) = "varchar"; ;} break; case 1998: -#line 14822 "gram.y" +#line 14841 "gram.y" { (yyval.str) = (yyvsp[(3) - (3)].boolean) ? "varchar": "bpchar"; ;} break; case 1999: -#line 14824 "gram.y" - { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; ;} +#line 14843 "gram.y" + { (yyval.str) = (yyvsp[(3) - (3)].boolean) ? "varchar": "bpchar"; ;} break; case 2000: -#line 14828 "gram.y" - { (yyval.boolean) = true; ;} +#line 14845 "gram.y" + { (yyval.str) = (yyvsp[(2) - (2)].boolean) ? "varchar": "bpchar"; ;} break; case 2001: -#line 14829 "gram.y" - { (yyval.boolean) = false; ;} +#line 14849 "gram.y" + { (yyval.boolean) = true; ;} break; case 2002: -#line 14837 "gram.y" +#line 14850 "gram.y" + { (yyval.boolean) = false; ;} + break; + + case 2003: +#line 14858 "gram.y" { if ((yyvsp[(5) - (5)].boolean)) (yyval.typnam) = SystemTypeName("timestamptz"); @@ -49237,8 +49207,8 @@ YYLTYPE yylloc; ;} break; - case 2003: -#line 14846 "gram.y" + case 2004: +#line 14867 "gram.y" { if ((yyvsp[(2) - (2)].boolean)) (yyval.typnam) = SystemTypeName("timestamptz"); @@ -49248,8 +49218,8 @@ YYLTYPE yylloc; ;} break; - case 2004: -#line 14854 "gram.y" + case 2005: +#line 14875 "gram.y" { if ((yyvsp[(5) - (5)].boolean)) (yyval.typnam) = SystemTypeName("timetz"); @@ -49260,8 +49230,8 @@ YYLTYPE yylloc; ;} break; - case 2005: -#line 14863 "gram.y" + case 2006: +#line 14884 "gram.y" { if ((yyvsp[(2) - (2)].boolean)) (yyval.typnam) = SystemTypeName("timetz"); @@ -49271,77 +49241,77 @@ YYLTYPE yylloc; ;} break; - case 2006: -#line 14874 "gram.y" + case 2007: +#line 14895 "gram.y" { (yyval.typnam) = SystemTypeName("interval"); (yyval.typnam)->location = (yylsp[(1) - (1)]); ;} break; - case 2007: -#line 14881 "gram.y" + case 2008: +#line 14902 "gram.y" { (yyval.boolean) = true; ;} break; - case 2008: -#line 14882 "gram.y" + case 2009: +#line 14903 "gram.y" { (yyval.boolean) = false; ;} break; - case 2009: -#line 14883 "gram.y" + case 2010: +#line 14904 "gram.y" { (yyval.boolean) = false; ;} break; - case 2010: -#line 14888 "gram.y" + case 2011: +#line 14909 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(YEAR), (yylsp[(1) - (1)]))); ;} break; - case 2011: -#line 14890 "gram.y" + case 2012: +#line 14911 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(MONTH), (yylsp[(1) - (1)]))); ;} break; - case 2012: -#line 14892 "gram.y" + case 2013: +#line 14913 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(DAY), (yylsp[(1) - (1)]))); ;} break; - case 2013: -#line 14894 "gram.y" + case 2014: +#line 14915 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(HOUR), (yylsp[(1) - (1)]))); ;} break; - case 2014: -#line 14896 "gram.y" + case 2015: +#line 14917 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(MINUTE), (yylsp[(1) - (1)]))); ;} break; - case 2015: -#line 14898 "gram.y" + case 2016: +#line 14919 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 2016: -#line 14900 "gram.y" + case 2017: +#line 14921 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(YEAR) | INTERVAL_MASK(MONTH), (yylsp[(1) - (3)]))); ;} break; - case 2017: -#line 14905 "gram.y" + case 2018: +#line 14926 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(DAY) | INTERVAL_MASK(HOUR), (yylsp[(1) - (3)]))); ;} break; - case 2018: -#line 14910 "gram.y" + case 2019: +#line 14931 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(DAY) | INTERVAL_MASK(HOUR) | @@ -49349,8 +49319,8 @@ YYLTYPE yylloc; ;} break; - case 2019: -#line 14916 "gram.y" + case 2020: +#line 14937 "gram.y" { (yyval.list) = (yyvsp[(3) - (3)].list); linitial((yyval.list)) = makeIntConst(INTERVAL_MASK(DAY) | @@ -49360,16 +49330,16 @@ YYLTYPE yylloc; ;} break; - case 2020: -#line 14924 "gram.y" + case 2021: +#line 14945 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(HOUR) | INTERVAL_MASK(MINUTE), (yylsp[(1) - (3)]))); ;} break; - case 2021: -#line 14929 "gram.y" + case 2022: +#line 14950 "gram.y" { (yyval.list) = (yyvsp[(3) - (3)].list); linitial((yyval.list)) = makeIntConst(INTERVAL_MASK(HOUR) | @@ -49378,8 +49348,8 @@ YYLTYPE yylloc; ;} break; - case 2022: -#line 14936 "gram.y" + case 2023: +#line 14957 "gram.y" { (yyval.list) = (yyvsp[(3) - (3)].list); linitial((yyval.list)) = makeIntConst(INTERVAL_MASK(MINUTE) | @@ -49387,46 +49357,46 @@ YYLTYPE yylloc; ;} break; - case 2023: -#line 14942 "gram.y" + case 2024: +#line 14963 "gram.y" { (yyval.list) = NIL; ;} break; - case 2024: -#line 14947 "gram.y" + case 2025: +#line 14968 "gram.y" { (yyval.list) = list_make1(makeIntConst(INTERVAL_MASK(SECOND), (yylsp[(1) - (1)]))); ;} break; - case 2025: -#line 14951 "gram.y" + case 2026: +#line 14972 "gram.y" { (yyval.list) = list_make2(makeIntConst(INTERVAL_MASK(SECOND), (yylsp[(1) - (4)])), makeIntConst((yyvsp[(3) - (4)].ival), (yylsp[(3) - (4)]))); ;} break; - case 2026: -#line 14959 "gram.y" + case 2027: +#line 14980 "gram.y" { (yyval.typnam) = SystemTypeName("json"); (yyval.typnam)->location = (yylsp[(1) - (1)]); ;} break; - case 2027: -#line 14993 "gram.y" + case 2028: +#line 15014 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 2028: -#line 14995 "gram.y" + case 2029: +#line 15016 "gram.y" { (yyval.node) = makeTypeCast((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].typnam), (yylsp[(2) - (3)])); ;} break; - case 2029: -#line 14997 "gram.y" + case 2030: +#line 15018 "gram.y" { CollateClause *n = makeNode(CollateClause); @@ -49437,8 +49407,8 @@ YYLTYPE yylloc; ;} break; - case 2030: -#line 15006 "gram.y" + case 2031: +#line 15027 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("timezone"), list_make2((yyvsp[(5) - (5)].node), (yyvsp[(1) - (5)].node)), @@ -49447,8 +49417,8 @@ YYLTYPE yylloc; ;} break; - case 2031: -#line 15013 "gram.y" + case 2032: +#line 15034 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("timezone"), list_make1((yyvsp[(1) - (3)].node)), @@ -49457,116 +49427,116 @@ YYLTYPE yylloc; ;} break; - case 2032: -#line 15029 "gram.y" + case 2033: +#line 15050 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 2033: -#line 15031 "gram.y" + case 2034: +#line 15052 "gram.y" { (yyval.node) = doNegate((yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 2034: -#line 15033 "gram.y" + case 2035: +#line 15054 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2035: -#line 15035 "gram.y" + case 2036: +#line 15056 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "-", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2036: -#line 15037 "gram.y" + case 2037: +#line 15058 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "*", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2037: -#line 15039 "gram.y" + case 2038: +#line 15060 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "/", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2038: -#line 15041 "gram.y" + case 2039: +#line 15062 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "%", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2039: -#line 15043 "gram.y" + case 2040: +#line 15064 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "^", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2040: -#line 15045 "gram.y" + case 2041: +#line 15066 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "<", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2041: -#line 15047 "gram.y" + case 2042: +#line 15068 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, ">", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2042: -#line 15049 "gram.y" + case 2043: +#line 15070 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2043: -#line 15051 "gram.y" + case 2044: +#line 15072 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "<=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2044: -#line 15053 "gram.y" + case 2045: +#line 15074 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, ">=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2045: -#line 15055 "gram.y" + case 2046: +#line 15076 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "<>", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2046: -#line 15058 "gram.y" + case 2047: +#line 15079 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(2) - (3)].list), (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2047: -#line 15060 "gram.y" + case 2048: +#line 15081 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(1) - (2)].list), NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 2048: -#line 15063 "gram.y" + case 2049: +#line 15084 "gram.y" { (yyval.node) = makeAndExpr((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2049: -#line 15065 "gram.y" + case 2050: +#line 15086 "gram.y" { (yyval.node) = makeOrExpr((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2050: -#line 15067 "gram.y" + case 2051: +#line 15088 "gram.y" { (yyval.node) = makeNotExpr((yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 2051: -#line 15069 "gram.y" + case 2052: +#line 15090 "gram.y" { (yyval.node) = makeNotExpr((yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 2052: -#line 15072 "gram.y" + case 2053: +#line 15093 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_LIKE, "~~", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2053: -#line 15077 "gram.y" + case 2054: +#line 15098 "gram.y" { FuncCall *n = makeFuncCall(SystemFuncName("like_escape"), list_make2((yyvsp[(3) - (5)].node), (yyvsp[(5) - (5)].node)), @@ -49577,16 +49547,16 @@ YYLTYPE yylloc; ;} break; - case 2054: -#line 15086 "gram.y" + case 2055: +#line 15107 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_LIKE, "!~~", (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node), (yylsp[(2) - (4)])); ;} break; - case 2055: -#line 15091 "gram.y" + case 2056: +#line 15112 "gram.y" { FuncCall *n = makeFuncCall(SystemFuncName("like_escape"), list_make2((yyvsp[(4) - (6)].node), (yyvsp[(6) - (6)].node)), @@ -49597,16 +49567,16 @@ YYLTYPE yylloc; ;} break; - case 2056: -#line 15100 "gram.y" + case 2057: +#line 15121 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_ILIKE, "~~*", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2057: -#line 15105 "gram.y" + case 2058: +#line 15126 "gram.y" { FuncCall *n = makeFuncCall(SystemFuncName("like_escape"), list_make2((yyvsp[(3) - (5)].node), (yyvsp[(5) - (5)].node)), @@ -49617,16 +49587,16 @@ YYLTYPE yylloc; ;} break; - case 2058: -#line 15114 "gram.y" + case 2059: +#line 15135 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_ILIKE, "!~~*", (yyvsp[(1) - (4)].node), (yyvsp[(4) - (4)].node), (yylsp[(2) - (4)])); ;} break; - case 2059: -#line 15119 "gram.y" + case 2060: +#line 15140 "gram.y" { FuncCall *n = makeFuncCall(SystemFuncName("like_escape"), list_make2((yyvsp[(4) - (6)].node), (yyvsp[(6) - (6)].node)), @@ -49637,8 +49607,8 @@ YYLTYPE yylloc; ;} break; - case 2060: -#line 15129 "gram.y" + case 2061: +#line 15150 "gram.y" { FuncCall *n = makeFuncCall(SystemFuncName("similar_to_escape"), list_make1((yyvsp[(4) - (4)].node)), @@ -49649,8 +49619,8 @@ YYLTYPE yylloc; ;} break; - case 2061: -#line 15138 "gram.y" + case 2062: +#line 15159 "gram.y" { FuncCall *n = makeFuncCall(SystemFuncName("similar_to_escape"), list_make2((yyvsp[(4) - (6)].node), (yyvsp[(6) - (6)].node)), @@ -49661,8 +49631,8 @@ YYLTYPE yylloc; ;} break; - case 2062: -#line 15147 "gram.y" + case 2063: +#line 15168 "gram.y" { FuncCall *n = makeFuncCall(SystemFuncName("similar_to_escape"), list_make1((yyvsp[(5) - (5)].node)), @@ -49673,8 +49643,8 @@ YYLTYPE yylloc; ;} break; - case 2063: -#line 15156 "gram.y" + case 2064: +#line 15177 "gram.y" { FuncCall *n = makeFuncCall(SystemFuncName("similar_to_escape"), list_make2((yyvsp[(5) - (7)].node), (yyvsp[(7) - (7)].node)), @@ -49685,8 +49655,8 @@ YYLTYPE yylloc; ;} break; - case 2064: -#line 15175 "gram.y" + case 2065: +#line 15196 "gram.y" { NullTest *n = makeNode(NullTest); @@ -49697,8 +49667,8 @@ YYLTYPE yylloc; ;} break; - case 2065: -#line 15184 "gram.y" + case 2066: +#line 15205 "gram.y" { NullTest *n = makeNode(NullTest); @@ -49709,8 +49679,8 @@ YYLTYPE yylloc; ;} break; - case 2066: -#line 15193 "gram.y" + case 2067: +#line 15214 "gram.y" { NullTest *n = makeNode(NullTest); @@ -49721,8 +49691,8 @@ YYLTYPE yylloc; ;} break; - case 2067: -#line 15202 "gram.y" + case 2068: +#line 15223 "gram.y" { NullTest *n = makeNode(NullTest); @@ -49733,8 +49703,8 @@ YYLTYPE yylloc; ;} break; - case 2068: -#line 15211 "gram.y" + case 2069: +#line 15232 "gram.y" { if (list_length((yyvsp[(1) - (3)].list)) != 2) ereport(ERROR, @@ -49753,8 +49723,8 @@ YYLTYPE yylloc; ;} break; - case 2069: -#line 15228 "gram.y" + case 2070: +#line 15249 "gram.y" { BooleanTest *b = makeNode(BooleanTest); @@ -49765,8 +49735,8 @@ YYLTYPE yylloc; ;} break; - case 2070: -#line 15237 "gram.y" + case 2071: +#line 15258 "gram.y" { BooleanTest *b = makeNode(BooleanTest); @@ -49777,8 +49747,8 @@ YYLTYPE yylloc; ;} break; - case 2071: -#line 15246 "gram.y" + case 2072: +#line 15267 "gram.y" { BooleanTest *b = makeNode(BooleanTest); @@ -49789,8 +49759,8 @@ YYLTYPE yylloc; ;} break; - case 2072: -#line 15255 "gram.y" + case 2073: +#line 15276 "gram.y" { BooleanTest *b = makeNode(BooleanTest); @@ -49801,8 +49771,8 @@ YYLTYPE yylloc; ;} break; - case 2073: -#line 15264 "gram.y" + case 2074: +#line 15285 "gram.y" { BooleanTest *b = makeNode(BooleanTest); @@ -49813,8 +49783,8 @@ YYLTYPE yylloc; ;} break; - case 2074: -#line 15273 "gram.y" + case 2075: +#line 15294 "gram.y" { BooleanTest *b = makeNode(BooleanTest); @@ -49825,22 +49795,22 @@ YYLTYPE yylloc; ;} break; - case 2075: -#line 15282 "gram.y" + case 2076: +#line 15303 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_DISTINCT, "=", (yyvsp[(1) - (5)].node), (yyvsp[(5) - (5)].node), (yylsp[(2) - (5)])); ;} break; - case 2076: -#line 15286 "gram.y" + case 2077: +#line 15307 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_NOT_DISTINCT, "=", (yyvsp[(1) - (6)].node), (yyvsp[(6) - (6)].node), (yylsp[(2) - (6)])); ;} break; - case 2077: -#line 15290 "gram.y" + case 2078: +#line 15311 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_BETWEEN, "BETWEEN", @@ -49850,8 +49820,8 @@ YYLTYPE yylloc; ;} break; - case 2078: -#line 15298 "gram.y" + case 2079: +#line 15319 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_NOT_BETWEEN, "NOT BETWEEN", @@ -49861,8 +49831,8 @@ YYLTYPE yylloc; ;} break; - case 2079: -#line 15306 "gram.y" + case 2080: +#line 15327 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_BETWEEN_SYM, "BETWEEN SYMMETRIC", @@ -49872,8 +49842,8 @@ YYLTYPE yylloc; ;} break; - case 2080: -#line 15314 "gram.y" + case 2081: +#line 15335 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_NOT_BETWEEN_SYM, "NOT BETWEEN SYMMETRIC", @@ -49883,8 +49853,8 @@ YYLTYPE yylloc; ;} break; - case 2081: -#line 15322 "gram.y" + case 2082: +#line 15343 "gram.y" { /* generate foo = ANY (subquery) */ SubLink *n = makeNode(SubLink); @@ -49899,8 +49869,8 @@ YYLTYPE yylloc; ;} break; - case 2082: -#line 15335 "gram.y" + case 2083: +#line 15356 "gram.y" { /* generate scalar IN expression */ A_Expr *n = makeSimpleA_Expr(AEXPR_IN, "=", (yyvsp[(1) - (5)].node), (Node *) (yyvsp[(4) - (5)].list), (yylsp[(2) - (5)])); @@ -49911,8 +49881,8 @@ YYLTYPE yylloc; ;} break; - case 2083: -#line 15344 "gram.y" + case 2084: +#line 15365 "gram.y" { /* generate NOT (foo = ANY (subquery)) */ SubLink *n = makeNode(SubLink); @@ -49928,8 +49898,8 @@ YYLTYPE yylloc; ;} break; - case 2084: -#line 15358 "gram.y" + case 2085: +#line 15379 "gram.y" { /* generate scalar NOT IN expression */ A_Expr *n = makeSimpleA_Expr(AEXPR_IN, "<>", (yyvsp[(1) - (6)].node), (Node *) (yyvsp[(5) - (6)].list), (yylsp[(2) - (6)])); @@ -49940,8 +49910,8 @@ YYLTYPE yylloc; ;} break; - case 2085: -#line 15367 "gram.y" + case 2086: +#line 15388 "gram.y" { SubLink *n = makeNode(SubLink); @@ -49955,8 +49925,8 @@ YYLTYPE yylloc; ;} break; - case 2086: -#line 15379 "gram.y" + case 2087: +#line 15400 "gram.y" { if ((yyvsp[(3) - (6)].ival) == ANY_SUBLINK) (yyval.node) = (Node *) makeA_Expr(AEXPR_OP_ANY, (yyvsp[(2) - (6)].list), (yyvsp[(1) - (6)].node), (yyvsp[(5) - (6)].node), (yylsp[(2) - (6)])); @@ -49965,8 +49935,8 @@ YYLTYPE yylloc; ;} break; - case 2087: -#line 15386 "gram.y" + case 2088: +#line 15407 "gram.y" { /* Not sure how to get rid of the parentheses * but there are lots of shift/reduce errors without them. @@ -49984,16 +49954,16 @@ YYLTYPE yylloc; ;} break; - case 2088: -#line 15402 "gram.y" + case 2089: +#line 15423 "gram.y" { (yyval.node) = makeXmlExpr(IS_DOCUMENT, NULL, NIL, list_make1((yyvsp[(1) - (3)].node)), (yylsp[(2) - (3)])); ;} break; - case 2089: -#line 15407 "gram.y" + case 2090: +#line 15428 "gram.y" { (yyval.node) = makeNotExpr(makeXmlExpr(IS_DOCUMENT, NULL, NIL, list_make1((yyvsp[(1) - (4)].node)), (yylsp[(2) - (4)])), @@ -50001,8 +49971,8 @@ YYLTYPE yylloc; ;} break; - case 2090: -#line 15413 "gram.y" + case 2091: +#line 15434 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("is_normalized"), list_make1((yyvsp[(1) - (3)].node)), @@ -50011,8 +49981,8 @@ YYLTYPE yylloc; ;} break; - case 2091: -#line 15420 "gram.y" + case 2092: +#line 15441 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("is_normalized"), list_make2((yyvsp[(1) - (4)].node), makeStringConst((yyvsp[(3) - (4)].str), (yylsp[(3) - (4)]))), @@ -50021,8 +49991,8 @@ YYLTYPE yylloc; ;} break; - case 2092: -#line 15427 "gram.y" + case 2093: +#line 15448 "gram.y" { (yyval.node) = makeNotExpr((Node *) makeFuncCall(SystemFuncName("is_normalized"), list_make1((yyvsp[(1) - (4)].node)), @@ -50032,8 +50002,8 @@ YYLTYPE yylloc; ;} break; - case 2093: -#line 15435 "gram.y" + case 2094: +#line 15456 "gram.y" { (yyval.node) = makeNotExpr((Node *) makeFuncCall(SystemFuncName("is_normalized"), list_make2((yyvsp[(1) - (5)].node), makeStringConst((yyvsp[(4) - (5)].str), (yylsp[(4) - (5)]))), @@ -50043,8 +50013,8 @@ YYLTYPE yylloc; ;} break; - case 2094: -#line 15444 "gram.y" + case 2095: +#line 15465 "gram.y" { JsonFormat *format = makeJsonFormat(JS_FORMAT_DEFAULT, JS_ENC_DEFAULT, -1); @@ -50052,8 +50022,8 @@ YYLTYPE yylloc; ;} break; - case 2095: -#line 15462 "gram.y" + case 2096: +#line 15483 "gram.y" { JsonFormat *format = makeJsonFormat(JS_FORMAT_DEFAULT, JS_ENC_DEFAULT, -1); @@ -50061,8 +50031,8 @@ YYLTYPE yylloc; ;} break; - case 2096: -#line 15479 "gram.y" + case 2097: +#line 15500 "gram.y" { /* * The SQL spec only allows DEFAULT in "contextually typed @@ -50079,120 +50049,120 @@ YYLTYPE yylloc; ;} break; - case 2097: -#line 15505 "gram.y" + case 2098: +#line 15526 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 2098: -#line 15507 "gram.y" + case 2099: +#line 15528 "gram.y" { (yyval.node) = makeTypeCast((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].typnam), (yylsp[(2) - (3)])); ;} break; - case 2099: -#line 15509 "gram.y" + case 2100: +#line 15530 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 2100: -#line 15511 "gram.y" + case 2101: +#line 15532 "gram.y" { (yyval.node) = doNegate((yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 2101: -#line 15513 "gram.y" + case 2102: +#line 15534 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "+", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2102: -#line 15515 "gram.y" + case 2103: +#line 15536 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "-", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2103: -#line 15517 "gram.y" + case 2104: +#line 15538 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "*", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2104: -#line 15519 "gram.y" + case 2105: +#line 15540 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "/", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2105: -#line 15521 "gram.y" + case 2106: +#line 15542 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "%", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2106: -#line 15523 "gram.y" + case 2107: +#line 15544 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "^", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2107: -#line 15525 "gram.y" + case 2108: +#line 15546 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "<", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2108: -#line 15527 "gram.y" + case 2109: +#line 15548 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, ">", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2109: -#line 15529 "gram.y" + case 2110: +#line 15550 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2110: -#line 15531 "gram.y" + case 2111: +#line 15552 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "<=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2111: -#line 15533 "gram.y" + case 2112: +#line 15554 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, ">=", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2112: -#line 15535 "gram.y" + case 2113: +#line 15556 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_OP, "<>", (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2113: -#line 15537 "gram.y" + case 2114: +#line 15558 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(2) - (3)].list), (yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node), (yylsp[(2) - (3)])); ;} break; - case 2114: -#line 15539 "gram.y" + case 2115: +#line 15560 "gram.y" { (yyval.node) = (Node *) makeA_Expr(AEXPR_OP, (yyvsp[(1) - (2)].list), NULL, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; - case 2115: -#line 15541 "gram.y" + case 2116: +#line 15562 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_DISTINCT, "=", (yyvsp[(1) - (5)].node), (yyvsp[(5) - (5)].node), (yylsp[(2) - (5)])); ;} break; - case 2116: -#line 15545 "gram.y" + case 2117: +#line 15566 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_NOT_DISTINCT, "=", (yyvsp[(1) - (6)].node), (yyvsp[(6) - (6)].node), (yylsp[(2) - (6)])); ;} break; - case 2117: -#line 15549 "gram.y" + case 2118: +#line 15570 "gram.y" { (yyval.node) = makeXmlExpr(IS_DOCUMENT, NULL, NIL, list_make1((yyvsp[(1) - (3)].node)), (yylsp[(2) - (3)])); ;} break; - case 2118: -#line 15554 "gram.y" + case 2119: +#line 15575 "gram.y" { (yyval.node) = makeNotExpr(makeXmlExpr(IS_DOCUMENT, NULL, NIL, list_make1((yyvsp[(1) - (4)].node)), (yylsp[(2) - (4)])), @@ -50200,18 +50170,18 @@ YYLTYPE yylloc; ;} break; - case 2119: -#line 15569 "gram.y" + case 2120: +#line 15590 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 2120: -#line 15570 "gram.y" + case 2121: +#line 15591 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 2121: -#line 15572 "gram.y" + case 2122: +#line 15593 "gram.y" { ParamRef *p = makeNode(ParamRef); @@ -50230,8 +50200,8 @@ YYLTYPE yylloc; ;} break; - case 2122: -#line 15589 "gram.y" + case 2123: +#line 15610 "gram.y" { if ((yyvsp[(4) - (4)].list)) { @@ -50246,18 +50216,18 @@ YYLTYPE yylloc; ;} break; - case 2123: -#line 15602 "gram.y" + case 2124: +#line 15623 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 2124: -#line 15604 "gram.y" + case 2125: +#line 15625 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 2125: -#line 15606 "gram.y" + case 2126: +#line 15627 "gram.y" { SubLink *n = makeNode(SubLink); @@ -50271,8 +50241,8 @@ YYLTYPE yylloc; ;} break; - case 2126: -#line 15618 "gram.y" + case 2127: +#line 15639 "gram.y" { /* * Because the select_with_parens nonterminal is designed @@ -50299,8 +50269,8 @@ YYLTYPE yylloc; ;} break; - case 2127: -#line 15643 "gram.y" + case 2128: +#line 15664 "gram.y" { SubLink *n = makeNode(SubLink); @@ -50314,8 +50284,8 @@ YYLTYPE yylloc; ;} break; - case 2128: -#line 15655 "gram.y" + case 2129: +#line 15676 "gram.y" { SubLink *n = makeNode(SubLink); @@ -50329,8 +50299,8 @@ YYLTYPE yylloc; ;} break; - case 2129: -#line 15667 "gram.y" + case 2130: +#line 15688 "gram.y" { A_ArrayExpr *n = castNode(A_ArrayExpr, (yyvsp[(2) - (2)].node)); @@ -50340,8 +50310,8 @@ YYLTYPE yylloc; ;} break; - case 2130: -#line 15675 "gram.y" + case 2131: +#line 15696 "gram.y" { RowExpr *r = makeNode(RowExpr); @@ -50354,8 +50324,8 @@ YYLTYPE yylloc; ;} break; - case 2131: -#line 15686 "gram.y" + case 2132: +#line 15707 "gram.y" { RowExpr *r = makeNode(RowExpr); @@ -50368,8 +50338,8 @@ YYLTYPE yylloc; ;} break; - case 2132: -#line 15697 "gram.y" + case 2133: +#line 15718 "gram.y" { GroupingFunc *g = makeNode(GroupingFunc); @@ -50379,8 +50349,8 @@ YYLTYPE yylloc; ;} break; - case 2133: -#line 15707 "gram.y" + case 2134: +#line 15728 "gram.y" { (yyval.node) = (Node *) makeFuncCall((yyvsp[(1) - (3)].list), NIL, COERCE_EXPLICIT_CALL, @@ -50388,8 +50358,8 @@ YYLTYPE yylloc; ;} break; - case 2134: -#line 15713 "gram.y" + case 2135: +#line 15734 "gram.y" { FuncCall *n = makeFuncCall((yyvsp[(1) - (5)].list), (yyvsp[(3) - (5)].list), COERCE_EXPLICIT_CALL, @@ -50400,8 +50370,8 @@ YYLTYPE yylloc; ;} break; - case 2135: -#line 15722 "gram.y" + case 2136: +#line 15743 "gram.y" { FuncCall *n = makeFuncCall((yyvsp[(1) - (6)].list), list_make1((yyvsp[(4) - (6)].node)), COERCE_EXPLICIT_CALL, @@ -50413,8 +50383,8 @@ YYLTYPE yylloc; ;} break; - case 2136: -#line 15732 "gram.y" + case 2137: +#line 15753 "gram.y" { FuncCall *n = makeFuncCall((yyvsp[(1) - (8)].list), lappend((yyvsp[(3) - (8)].list), (yyvsp[(6) - (8)].node)), COERCE_EXPLICIT_CALL, @@ -50426,8 +50396,8 @@ YYLTYPE yylloc; ;} break; - case 2137: -#line 15742 "gram.y" + case 2138: +#line 15763 "gram.y" { FuncCall *n = makeFuncCall((yyvsp[(1) - (6)].list), (yyvsp[(4) - (6)].list), COERCE_EXPLICIT_CALL, @@ -50442,8 +50412,8 @@ YYLTYPE yylloc; ;} break; - case 2138: -#line 15755 "gram.y" + case 2139: +#line 15776 "gram.y" { FuncCall *n = makeFuncCall((yyvsp[(1) - (6)].list), (yyvsp[(4) - (6)].list), COERCE_EXPLICIT_CALL, @@ -50455,8 +50425,8 @@ YYLTYPE yylloc; ;} break; - case 2139: -#line 15765 "gram.y" + case 2140: +#line 15786 "gram.y" { /* * We consider AGGREGATE(*) to invoke a parameterless @@ -50477,8 +50447,8 @@ YYLTYPE yylloc; ;} break; - case 2140: -#line 15796 "gram.y" + case 2141: +#line 15817 "gram.y" { FuncCall *n = (FuncCall *) (yyvsp[(1) - (4)].node); @@ -50516,8 +50486,8 @@ YYLTYPE yylloc; ;} break; - case 2141: -#line 15832 "gram.y" + case 2142: +#line 15853 "gram.y" { JsonAggConstructor *n = IsA((yyvsp[(1) - (3)].node), JsonObjectAgg) ? ((JsonObjectAgg *) (yyvsp[(1) - (3)].node))->constructor : @@ -50529,28 +50499,28 @@ YYLTYPE yylloc; ;} break; - case 2142: -#line 15842 "gram.y" - { (yyval.node) = (yyvsp[(1) - (1)].node); ;} - break; - case 2143: -#line 15852 "gram.y" +#line 15863 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 2144: -#line 15853 "gram.y" +#line 15873 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 2145: -#line 15854 "gram.y" +#line 15874 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; case 2146: -#line 15862 "gram.y" +#line 15875 "gram.y" + { (yyval.node) = (yyvsp[(1) - (1)].node); ;} + break; + + case 2147: +#line 15883 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("pg_collation_for"), list_make1((yyvsp[(4) - (5)].node)), @@ -50559,92 +50529,92 @@ YYLTYPE yylloc; ;} break; - case 2147: -#line 15869 "gram.y" + case 2148: +#line 15890 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_CURRENT_DATE, -1, (yylsp[(1) - (1)])); ;} break; - case 2148: -#line 15873 "gram.y" + case 2149: +#line 15894 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_CURRENT_TIME, -1, (yylsp[(1) - (1)])); ;} break; - case 2149: -#line 15877 "gram.y" + case 2150: +#line 15898 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_CURRENT_TIME_N, (yyvsp[(3) - (4)].ival), (yylsp[(1) - (4)])); ;} break; - case 2150: -#line 15881 "gram.y" + case 2151: +#line 15902 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_CURRENT_TIMESTAMP, -1, (yylsp[(1) - (1)])); ;} break; - case 2151: -#line 15885 "gram.y" + case 2152: +#line 15906 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_CURRENT_TIMESTAMP_N, (yyvsp[(3) - (4)].ival), (yylsp[(1) - (4)])); ;} break; - case 2152: -#line 15889 "gram.y" + case 2153: +#line 15910 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_LOCALTIME, -1, (yylsp[(1) - (1)])); ;} break; - case 2153: -#line 15893 "gram.y" + case 2154: +#line 15914 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_LOCALTIME_N, (yyvsp[(3) - (4)].ival), (yylsp[(1) - (4)])); ;} break; - case 2154: -#line 15897 "gram.y" + case 2155: +#line 15918 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_LOCALTIMESTAMP, -1, (yylsp[(1) - (1)])); ;} break; - case 2155: -#line 15901 "gram.y" + case 2156: +#line 15922 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_LOCALTIMESTAMP_N, (yyvsp[(3) - (4)].ival), (yylsp[(1) - (4)])); ;} break; - case 2156: -#line 15905 "gram.y" + case 2157: +#line 15926 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_CURRENT_ROLE, -1, (yylsp[(1) - (1)])); ;} break; - case 2157: -#line 15909 "gram.y" + case 2158: +#line 15930 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_CURRENT_USER, -1, (yylsp[(1) - (1)])); ;} break; - case 2158: -#line 15913 "gram.y" + case 2159: +#line 15934 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_SESSION_USER, -1, (yylsp[(1) - (1)])); ;} break; - case 2159: -#line 15917 "gram.y" + case 2160: +#line 15938 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("system_user"), NIL, @@ -50653,34 +50623,34 @@ YYLTYPE yylloc; ;} break; - case 2160: -#line 15924 "gram.y" + case 2161: +#line 15945 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_USER, -1, (yylsp[(1) - (1)])); ;} break; - case 2161: -#line 15928 "gram.y" + case 2162: +#line 15949 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_CURRENT_CATALOG, -1, (yylsp[(1) - (1)])); ;} break; - case 2162: -#line 15932 "gram.y" + case 2163: +#line 15953 "gram.y" { (yyval.node) = makeSQLValueFunction(SVFOP_CURRENT_SCHEMA, -1, (yylsp[(1) - (1)])); ;} break; - case 2163: -#line 15936 "gram.y" + case 2164: +#line 15957 "gram.y" { (yyval.node) = makeTypeCast((yyvsp[(3) - (6)].node), (yyvsp[(5) - (6)].typnam), (yylsp[(1) - (6)])); ;} break; - case 2164: -#line 15938 "gram.y" + case 2165: +#line 15959 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("extract"), (yyvsp[(3) - (4)].list), @@ -50689,8 +50659,8 @@ YYLTYPE yylloc; ;} break; - case 2165: -#line 15945 "gram.y" + case 2166: +#line 15966 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("normalize"), list_make1((yyvsp[(3) - (4)].node)), @@ -50699,8 +50669,8 @@ YYLTYPE yylloc; ;} break; - case 2166: -#line 15952 "gram.y" + case 2167: +#line 15973 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("normalize"), list_make2((yyvsp[(3) - (6)].node), makeStringConst((yyvsp[(5) - (6)].str), (yylsp[(5) - (6)]))), @@ -50709,8 +50679,8 @@ YYLTYPE yylloc; ;} break; - case 2167: -#line 15959 "gram.y" + case 2168: +#line 15980 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("overlay"), (yyvsp[(3) - (4)].list), @@ -50719,8 +50689,8 @@ YYLTYPE yylloc; ;} break; - case 2168: -#line 15966 "gram.y" + case 2169: +#line 15987 "gram.y" { /* * allow functions named overlay() to be called without @@ -50733,8 +50703,8 @@ YYLTYPE yylloc; ;} break; - case 2169: -#line 15977 "gram.y" + case 2170: +#line 15998 "gram.y" { /* * position(A in B) is converted to position(B, A) @@ -50750,8 +50720,8 @@ YYLTYPE yylloc; ;} break; - case 2170: -#line 15991 "gram.y" + case 2171: +#line 16012 "gram.y" { /* substring(A from B for C) is converted to * substring(A, B, C) - thomas 2000-11-28 @@ -50763,8 +50733,8 @@ YYLTYPE yylloc; ;} break; - case 2171: -#line 16001 "gram.y" + case 2172: +#line 16022 "gram.y" { /* * allow functions named substring() to be called without @@ -50777,8 +50747,8 @@ YYLTYPE yylloc; ;} break; - case 2172: -#line 16012 "gram.y" + case 2173: +#line 16033 "gram.y" { /* TREAT(expr AS target) converts expr of a particular type to target, * which is defined to be a subtype of the original expression. @@ -50796,8 +50766,8 @@ YYLTYPE yylloc; ;} break; - case 2173: -#line 16028 "gram.y" + case 2174: +#line 16049 "gram.y" { /* various trim expressions are defined in SQL * - thomas 1997-07-19 @@ -50809,8 +50779,8 @@ YYLTYPE yylloc; ;} break; - case 2174: -#line 16038 "gram.y" + case 2175: +#line 16059 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("ltrim"), (yyvsp[(4) - (5)].list), @@ -50819,8 +50789,8 @@ YYLTYPE yylloc; ;} break; - case 2175: -#line 16045 "gram.y" + case 2176: +#line 16066 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("rtrim"), (yyvsp[(4) - (5)].list), @@ -50829,8 +50799,8 @@ YYLTYPE yylloc; ;} break; - case 2176: -#line 16052 "gram.y" + case 2177: +#line 16073 "gram.y" { (yyval.node) = (Node *) makeFuncCall(SystemFuncName("btrim"), (yyvsp[(3) - (4)].list), @@ -50839,15 +50809,15 @@ YYLTYPE yylloc; ;} break; - case 2177: -#line 16059 "gram.y" + case 2178: +#line 16080 "gram.y" { (yyval.node) = (Node *) makeSimpleA_Expr(AEXPR_NULLIF, "=", (yyvsp[(3) - (6)].node), (yyvsp[(5) - (6)].node), (yylsp[(1) - (6)])); ;} break; - case 2178: -#line 16063 "gram.y" + case 2179: +#line 16084 "gram.y" { CoalesceExpr *c = makeNode(CoalesceExpr); @@ -50857,8 +50827,8 @@ YYLTYPE yylloc; ;} break; - case 2179: -#line 16071 "gram.y" + case 2180: +#line 16092 "gram.y" { MinMaxExpr *v = makeNode(MinMaxExpr); @@ -50869,8 +50839,8 @@ YYLTYPE yylloc; ;} break; - case 2180: -#line 16080 "gram.y" + case 2181: +#line 16101 "gram.y" { MinMaxExpr *v = makeNode(MinMaxExpr); @@ -50881,43 +50851,43 @@ YYLTYPE yylloc; ;} break; - case 2181: -#line 16089 "gram.y" + case 2182: +#line 16110 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLCONCAT, NULL, NIL, (yyvsp[(3) - (4)].list), (yylsp[(1) - (4)])); ;} break; - case 2182: -#line 16093 "gram.y" + case 2183: +#line 16114 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLELEMENT, (yyvsp[(4) - (5)].str), NIL, NIL, (yylsp[(1) - (5)])); ;} break; - case 2183: -#line 16097 "gram.y" + case 2184: +#line 16118 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLELEMENT, (yyvsp[(4) - (7)].str), (yyvsp[(6) - (7)].list), NIL, (yylsp[(1) - (7)])); ;} break; - case 2184: -#line 16101 "gram.y" + case 2185: +#line 16122 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLELEMENT, (yyvsp[(4) - (7)].str), NIL, (yyvsp[(6) - (7)].list), (yylsp[(1) - (7)])); ;} break; - case 2185: -#line 16105 "gram.y" + case 2186: +#line 16126 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLELEMENT, (yyvsp[(4) - (9)].str), (yyvsp[(6) - (9)].list), (yyvsp[(8) - (9)].list), (yylsp[(1) - (9)])); ;} break; - case 2186: -#line 16109 "gram.y" + case 2187: +#line 16130 "gram.y" { /* xmlexists(A PASSING [BY REF] B [BY REF]) is * converted to xmlexists(A, B)*/ @@ -50928,15 +50898,15 @@ YYLTYPE yylloc; ;} break; - case 2187: -#line 16118 "gram.y" + case 2188: +#line 16139 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLFOREST, NULL, (yyvsp[(3) - (4)].list), NIL, (yylsp[(1) - (4)])); ;} break; - case 2188: -#line 16122 "gram.y" + case 2189: +#line 16143 "gram.y" { XmlExpr *x = (XmlExpr *) makeXmlExpr(IS_XMLPARSE, NULL, NIL, @@ -50948,30 +50918,30 @@ YYLTYPE yylloc; ;} break; - case 2189: -#line 16132 "gram.y" + case 2190: +#line 16153 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLPI, (yyvsp[(4) - (5)].str), NULL, NIL, (yylsp[(1) - (5)])); ;} break; - case 2190: -#line 16136 "gram.y" + case 2191: +#line 16157 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLPI, (yyvsp[(4) - (7)].str), NULL, list_make1((yyvsp[(6) - (7)].node)), (yylsp[(1) - (7)])); ;} break; - case 2191: -#line 16140 "gram.y" + case 2192: +#line 16161 "gram.y" { (yyval.node) = makeXmlExpr(IS_XMLROOT, NULL, NIL, list_make3((yyvsp[(3) - (7)].node), (yyvsp[(5) - (7)].node), (yyvsp[(6) - (7)].node)), (yylsp[(1) - (7)])); ;} break; - case 2192: -#line 16145 "gram.y" + case 2193: +#line 16166 "gram.y" { XmlSerialize *n = makeNode(XmlSerialize); @@ -50984,8 +50954,8 @@ YYLTYPE yylloc; ;} break; - case 2193: -#line 16156 "gram.y" + case 2194: +#line 16177 "gram.y" { /* Support for legacy (non-standard) json_object() */ (yyval.node) = (Node *) makeFuncCall(SystemFuncName("json_object"), @@ -50993,8 +50963,8 @@ YYLTYPE yylloc; ;} break; - case 2194: -#line 16165 "gram.y" + case 2195: +#line 16186 "gram.y" { JsonObjectConstructor *n = makeNode(JsonObjectConstructor); @@ -51007,8 +50977,8 @@ YYLTYPE yylloc; ;} break; - case 2195: -#line 16176 "gram.y" + case 2196: +#line 16197 "gram.y" { JsonObjectConstructor *n = makeNode(JsonObjectConstructor); @@ -51021,8 +50991,8 @@ YYLTYPE yylloc; ;} break; - case 2196: -#line 16191 "gram.y" + case 2197: +#line 16212 "gram.y" { JsonArrayConstructor *n = makeNode(JsonArrayConstructor); @@ -51034,8 +51004,8 @@ YYLTYPE yylloc; ;} break; - case 2197: -#line 16206 "gram.y" + case 2198: +#line 16227 "gram.y" { JsonArrayQueryConstructor *n = makeNode(JsonArrayQueryConstructor); @@ -51048,8 +51018,8 @@ YYLTYPE yylloc; ;} break; - case 2198: -#line 16219 "gram.y" + case 2199: +#line 16240 "gram.y" { JsonArrayConstructor *n = makeNode(JsonArrayConstructor); @@ -51061,8 +51031,8 @@ YYLTYPE yylloc; ;} break; - case 2199: -#line 16229 "gram.y" + case 2200: +#line 16250 "gram.y" { JsonParseExpr *n = makeNode(JsonParseExpr); @@ -51074,8 +51044,8 @@ YYLTYPE yylloc; ;} break; - case 2200: -#line 16239 "gram.y" + case 2201: +#line 16260 "gram.y" { JsonScalarExpr *n = makeNode(JsonScalarExpr); @@ -51086,8 +51056,8 @@ YYLTYPE yylloc; ;} break; - case 2201: -#line 16248 "gram.y" + case 2202: +#line 16269 "gram.y" { JsonSerializeExpr *n = makeNode(JsonSerializeExpr); @@ -51098,8 +51068,8 @@ YYLTYPE yylloc; ;} break; - case 2202: -#line 16257 "gram.y" + case 2203: +#line 16278 "gram.y" { MergeSupportFunc *m = makeNode(MergeSupportFunc); @@ -51109,8 +51079,8 @@ YYLTYPE yylloc; ;} break; - case 2203: -#line 16271 "gram.y" + case 2204: +#line 16292 "gram.y" { JsonFuncExpr *n = makeNode(JsonFuncExpr); @@ -51128,8 +51098,8 @@ YYLTYPE yylloc; ;} break; - case 2204: -#line 16290 "gram.y" + case 2205: +#line 16311 "gram.y" { JsonFuncExpr *n = makeNode(JsonFuncExpr); @@ -51144,8 +51114,8 @@ YYLTYPE yylloc; ;} break; - case 2205: -#line 16307 "gram.y" + case 2206: +#line 16328 "gram.y" { JsonFuncExpr *n = makeNode(JsonFuncExpr); @@ -51161,53 +51131,53 @@ YYLTYPE yylloc; ;} break; - case 2206: -#line 16327 "gram.y" + case 2207: +#line 16348 "gram.y" { (yyval.node) = (yyvsp[(2) - (2)].node); ;} break; - case 2207: -#line 16329 "gram.y" + case 2208: +#line 16350 "gram.y" { (yyval.node) = makeNullAConst(-1); ;} break; - case 2208: -#line 16333 "gram.y" + case 2209: +#line 16354 "gram.y" { (yyval.node) = makeIntConst(XML_STANDALONE_YES, -1); ;} break; - case 2209: -#line 16335 "gram.y" + case 2210: +#line 16356 "gram.y" { (yyval.node) = makeIntConst(XML_STANDALONE_NO, -1); ;} break; - case 2210: -#line 16337 "gram.y" + case 2211: +#line 16358 "gram.y" { (yyval.node) = makeIntConst(XML_STANDALONE_NO_VALUE, -1); ;} break; - case 2211: -#line 16339 "gram.y" + case 2212: +#line 16360 "gram.y" { (yyval.node) = makeIntConst(XML_STANDALONE_OMITTED, -1); ;} break; - case 2212: -#line 16342 "gram.y" + case 2213: +#line 16363 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 2213: -#line 16345 "gram.y" + case 2214: +#line 16366 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); ;} break; - case 2214: -#line 16346 "gram.y" + case 2215: +#line 16367 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].target)); ;} break; - case 2215: -#line 16350 "gram.y" + case 2216: +#line 16371 "gram.y" { (yyval.target) = makeNode(ResTarget); (yyval.target)->name = (yyvsp[(3) - (3)].str); @@ -51217,8 +51187,8 @@ YYLTYPE yylloc; ;} break; - case 2216: -#line 16358 "gram.y" + case 2217: +#line 16379 "gram.y" { (yyval.target) = makeNode(ResTarget); (yyval.target)->name = NULL; @@ -51228,116 +51198,116 @@ YYLTYPE yylloc; ;} break; - case 2217: -#line 16367 "gram.y" - { (yyval.ival) = XMLOPTION_DOCUMENT; ;} - break; - case 2218: -#line 16368 "gram.y" - { (yyval.ival) = XMLOPTION_CONTENT; ;} +#line 16388 "gram.y" + { (yyval.ival) = XMLOPTION_DOCUMENT; ;} break; case 2219: -#line 16371 "gram.y" - { (yyval.boolean) = true; ;} +#line 16389 "gram.y" + { (yyval.ival) = XMLOPTION_CONTENT; ;} break; case 2220: -#line 16372 "gram.y" - { (yyval.boolean) = false; ;} +#line 16392 "gram.y" + { (yyval.boolean) = true; ;} break; case 2221: -#line 16373 "gram.y" +#line 16393 "gram.y" { (yyval.boolean) = false; ;} break; case 2222: -#line 16376 "gram.y" - { (yyval.boolean) = true; ;} +#line 16394 "gram.y" + { (yyval.boolean) = false; ;} break; case 2223: -#line 16377 "gram.y" - { (yyval.boolean) = false; ;} +#line 16397 "gram.y" + { (yyval.boolean) = true; ;} break; case 2224: -#line 16378 "gram.y" +#line 16398 "gram.y" { (yyval.boolean) = false; ;} break; case 2225: -#line 16384 "gram.y" +#line 16399 "gram.y" + { (yyval.boolean) = false; ;} + break; + + case 2226: +#line 16405 "gram.y" { (yyval.node) = (yyvsp[(2) - (2)].node); ;} break; - case 2226: -#line 16388 "gram.y" + case 2227: +#line 16409 "gram.y" { (yyval.node) = (yyvsp[(2) - (3)].node); ;} break; - case 2227: -#line 16392 "gram.y" + case 2228: +#line 16413 "gram.y" { (yyval.node) = (yyvsp[(3) - (3)].node); ;} break; - case 2228: -#line 16396 "gram.y" + case 2229: +#line 16417 "gram.y" { (yyval.node) = (yyvsp[(3) - (4)].node); ;} break; - case 2231: -#line 16411 "gram.y" + case 2232: +#line 16432 "gram.y" { (yyval.list) = (yyvsp[(4) - (5)].list); ;} break; - case 2232: -#line 16412 "gram.y" + case 2233: +#line 16433 "gram.y" { (yyval.list) = NIL; ;} break; - case 2233: -#line 16416 "gram.y" + case 2234: +#line 16437 "gram.y" { (yyval.node) = (yyvsp[(4) - (5)].node); ;} break; - case 2234: -#line 16417 "gram.y" + case 2235: +#line 16438 "gram.y" { (yyval.node) = NULL; ;} break; - case 2235: -#line 16425 "gram.y" + case 2236: +#line 16446 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 2236: -#line 16426 "gram.y" + case 2237: +#line 16447 "gram.y" { (yyval.list) = NIL; ;} break; - case 2237: -#line 16430 "gram.y" + case 2238: +#line 16451 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].windef)); ;} break; - case 2238: -#line 16432 "gram.y" + case 2239: +#line 16453 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].windef)); ;} break; - case 2239: -#line 16437 "gram.y" + case 2240: +#line 16458 "gram.y" { WindowDef *n = (yyvsp[(3) - (3)].windef); @@ -51346,13 +51316,13 @@ YYLTYPE yylloc; ;} break; - case 2240: -#line 16446 "gram.y" + case 2241: +#line 16467 "gram.y" { (yyval.windef) = (yyvsp[(2) - (2)].windef); ;} break; - case 2241: -#line 16448 "gram.y" + case 2242: +#line 16469 "gram.y" { WindowDef *n = makeNode(WindowDef); @@ -51368,13 +51338,13 @@ YYLTYPE yylloc; ;} break; - case 2242: -#line 16462 "gram.y" + case 2243: +#line 16483 "gram.y" { (yyval.windef) = NULL; ;} break; - case 2243: -#line 16467 "gram.y" + case 2244: +#line 16488 "gram.y" { WindowDef *n = makeNode(WindowDef); @@ -51391,28 +51361,28 @@ YYLTYPE yylloc; ;} break; - case 2244: -#line 16493 "gram.y" + case 2245: +#line 16514 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 2245: -#line 16494 "gram.y" + case 2246: +#line 16515 "gram.y" { (yyval.str) = NULL; ;} break; - case 2246: -#line 16497 "gram.y" + case 2247: +#line 16518 "gram.y" { (yyval.list) = (yyvsp[(3) - (3)].list); ;} break; - case 2247: -#line 16498 "gram.y" + case 2248: +#line 16519 "gram.y" { (yyval.list) = NIL; ;} break; - case 2248: -#line 16507 "gram.y" + case 2249: +#line 16528 "gram.y" { WindowDef *n = (yyvsp[(2) - (3)].windef); @@ -51422,8 +51392,8 @@ YYLTYPE yylloc; ;} break; - case 2249: -#line 16515 "gram.y" + case 2250: +#line 16536 "gram.y" { WindowDef *n = (yyvsp[(2) - (3)].windef); @@ -51433,8 +51403,8 @@ YYLTYPE yylloc; ;} break; - case 2250: -#line 16523 "gram.y" + case 2251: +#line 16544 "gram.y" { WindowDef *n = (yyvsp[(2) - (3)].windef); @@ -51444,8 +51414,8 @@ YYLTYPE yylloc; ;} break; - case 2251: -#line 16531 "gram.y" + case 2252: +#line 16552 "gram.y" { WindowDef *n = makeNode(WindowDef); @@ -51456,8 +51426,8 @@ YYLTYPE yylloc; ;} break; - case 2252: -#line 16542 "gram.y" + case 2253: +#line 16563 "gram.y" { WindowDef *n = (yyvsp[(1) - (1)].windef); @@ -51477,8 +51447,8 @@ YYLTYPE yylloc; ;} break; - case 2253: -#line 16560 "gram.y" + case 2254: +#line 16581 "gram.y" { WindowDef *n1 = (yyvsp[(2) - (4)].windef); WindowDef *n2 = (yyvsp[(4) - (4)].windef); @@ -51518,8 +51488,8 @@ YYLTYPE yylloc; ;} break; - case 2254: -#line 16606 "gram.y" + case 2255: +#line 16627 "gram.y" { WindowDef *n = makeNode(WindowDef); @@ -51530,8 +51500,8 @@ YYLTYPE yylloc; ;} break; - case 2255: -#line 16615 "gram.y" + case 2256: +#line 16636 "gram.y" { WindowDef *n = makeNode(WindowDef); @@ -51542,8 +51512,8 @@ YYLTYPE yylloc; ;} break; - case 2256: -#line 16624 "gram.y" + case 2257: +#line 16645 "gram.y" { WindowDef *n = makeNode(WindowDef); @@ -51554,8 +51524,8 @@ YYLTYPE yylloc; ;} break; - case 2257: -#line 16633 "gram.y" + case 2258: +#line 16654 "gram.y" { WindowDef *n = makeNode(WindowDef); @@ -51566,8 +51536,8 @@ YYLTYPE yylloc; ;} break; - case 2258: -#line 16642 "gram.y" + case 2259: +#line 16663 "gram.y" { WindowDef *n = makeNode(WindowDef); @@ -51578,233 +51548,233 @@ YYLTYPE yylloc; ;} break; - case 2259: -#line 16653 "gram.y" - { (yyval.ival) = FRAMEOPTION_EXCLUDE_CURRENT_ROW; ;} - break; - case 2260: -#line 16654 "gram.y" - { (yyval.ival) = FRAMEOPTION_EXCLUDE_GROUP; ;} +#line 16674 "gram.y" + { (yyval.ival) = FRAMEOPTION_EXCLUDE_CURRENT_ROW; ;} break; case 2261: -#line 16655 "gram.y" - { (yyval.ival) = FRAMEOPTION_EXCLUDE_TIES; ;} +#line 16675 "gram.y" + { (yyval.ival) = FRAMEOPTION_EXCLUDE_GROUP; ;} break; case 2262: -#line 16656 "gram.y" - { (yyval.ival) = 0; ;} +#line 16676 "gram.y" + { (yyval.ival) = FRAMEOPTION_EXCLUDE_TIES; ;} break; case 2263: -#line 16657 "gram.y" +#line 16677 "gram.y" { (yyval.ival) = 0; ;} break; case 2264: -#line 16671 "gram.y" - { (yyval.list) = (yyvsp[(3) - (4)].list); ;} +#line 16678 "gram.y" + { (yyval.ival) = 0; ;} break; case 2265: -#line 16672 "gram.y" - { (yyval.list) = NIL; ;} +#line 16692 "gram.y" + { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; case 2266: -#line 16673 "gram.y" - { (yyval.list) = lappend((yyvsp[(2) - (5)].list), (yyvsp[(4) - (5)].node)); ;} +#line 16693 "gram.y" + { (yyval.list) = NIL; ;} break; case 2267: -#line 16676 "gram.y" - { (yyval.list) = (yyvsp[(3) - (4)].list); ;} +#line 16694 "gram.y" + { (yyval.list) = lappend((yyvsp[(2) - (5)].list), (yyvsp[(4) - (5)].node)); ;} break; case 2268: -#line 16677 "gram.y" - { (yyval.list) = NIL; ;} +#line 16697 "gram.y" + { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; case 2269: -#line 16680 "gram.y" - { (yyval.list) = lappend((yyvsp[(2) - (5)].list), (yyvsp[(4) - (5)].node)); ;} +#line 16698 "gram.y" + { (yyval.list) = NIL; ;} break; case 2270: -#line 16683 "gram.y" - { (yyval.ival) = ANY_SUBLINK; ;} +#line 16701 "gram.y" + { (yyval.list) = lappend((yyvsp[(2) - (5)].list), (yyvsp[(4) - (5)].node)); ;} break; case 2271: -#line 16684 "gram.y" +#line 16704 "gram.y" { (yyval.ival) = ANY_SUBLINK; ;} break; case 2272: -#line 16685 "gram.y" - { (yyval.ival) = ALL_SUBLINK; ;} +#line 16705 "gram.y" + { (yyval.ival) = ANY_SUBLINK; ;} break; case 2273: -#line 16688 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +#line 16706 "gram.y" + { (yyval.ival) = ALL_SUBLINK; ;} break; case 2274: -#line 16689 "gram.y" +#line 16709 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 2275: -#line 16692 "gram.y" - { (yyval.str) = "+"; ;} +#line 16710 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 2276: -#line 16693 "gram.y" - { (yyval.str) = "-"; ;} +#line 16713 "gram.y" + { (yyval.str) = "+"; ;} break; case 2277: -#line 16694 "gram.y" - { (yyval.str) = "*"; ;} +#line 16714 "gram.y" + { (yyval.str) = "-"; ;} break; case 2278: -#line 16695 "gram.y" - { (yyval.str) = "/"; ;} +#line 16715 "gram.y" + { (yyval.str) = "*"; ;} break; case 2279: -#line 16696 "gram.y" - { (yyval.str) = "%"; ;} +#line 16716 "gram.y" + { (yyval.str) = "/"; ;} break; case 2280: -#line 16697 "gram.y" +#line 16717 "gram.y" + { (yyval.str) = "%"; ;} + break; + + case 2281: +#line 16718 "gram.y" { (yyval.str) = "^"; ;} break; - case 2281: -#line 16698 "gram.y" + case 2282: +#line 16719 "gram.y" { (yyval.str) = "<"; ;} break; - case 2282: -#line 16699 "gram.y" + case 2283: +#line 16720 "gram.y" { (yyval.str) = ">"; ;} break; - case 2283: -#line 16700 "gram.y" + case 2284: +#line 16721 "gram.y" { (yyval.str) = "="; ;} break; - case 2284: -#line 16701 "gram.y" + case 2285: +#line 16722 "gram.y" { (yyval.str) = "<="; ;} break; - case 2285: -#line 16702 "gram.y" + case 2286: +#line 16723 "gram.y" { (yyval.str) = ">="; ;} break; - case 2286: -#line 16703 "gram.y" + case 2287: +#line 16724 "gram.y" { (yyval.str) = "<>"; ;} break; - case 2287: -#line 16707 "gram.y" + case 2288: +#line 16728 "gram.y" { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; - case 2288: -#line 16709 "gram.y" + case 2289: +#line 16730 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 2289: -#line 16714 "gram.y" + case 2290: +#line 16735 "gram.y" { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; - case 2290: -#line 16716 "gram.y" + case 2291: +#line 16737 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 2291: -#line 16721 "gram.y" + case 2292: +#line 16742 "gram.y" { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; - case 2292: -#line 16723 "gram.y" + case 2293: +#line 16744 "gram.y" { (yyval.list) = (yyvsp[(3) - (4)].list); ;} break; - case 2293: -#line 16725 "gram.y" + case 2294: +#line 16746 "gram.y" { (yyval.list) = list_make1(makeString("~~")); ;} break; - case 2294: -#line 16727 "gram.y" + case 2295: +#line 16748 "gram.y" { (yyval.list) = list_make1(makeString("!~~")); ;} break; - case 2295: -#line 16729 "gram.y" + case 2296: +#line 16750 "gram.y" { (yyval.list) = list_make1(makeString("~~*")); ;} break; - case 2296: -#line 16731 "gram.y" + case 2297: +#line 16752 "gram.y" { (yyval.list) = list_make1(makeString("!~~*")); ;} break; - case 2297: -#line 16743 "gram.y" + case 2298: +#line 16764 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 2298: -#line 16747 "gram.y" + case 2299: +#line 16768 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 2299: -#line 16754 "gram.y" + case 2300: +#line 16775 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 2300: -#line 16758 "gram.y" + case 2301: +#line 16779 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 2301: -#line 16764 "gram.y" + case 2302: +#line 16785 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 2302: -#line 16768 "gram.y" + case 2303: +#line 16789 "gram.y" { NamedArgExpr *na = makeNode(NamedArgExpr); @@ -51816,8 +51786,8 @@ YYLTYPE yylloc; ;} break; - case 2303: -#line 16778 "gram.y" + case 2304: +#line 16799 "gram.y" { NamedArgExpr *na = makeNode(NamedArgExpr); @@ -51829,169 +51799,169 @@ YYLTYPE yylloc; ;} break; - case 2304: -#line 16789 "gram.y" + case 2305: +#line 16810 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 2305: -#line 16790 "gram.y" + case 2306: +#line 16811 "gram.y" { (yyval.list) = NIL; ;} break; - case 2306: -#line 16793 "gram.y" + case 2307: +#line 16814 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].typnam)); ;} break; - case 2307: -#line 16794 "gram.y" + case 2308: +#line 16815 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].typnam)); ;} break; - case 2308: -#line 16798 "gram.y" + case 2309: +#line 16819 "gram.y" { (yyval.node) = makeAArrayExpr((yyvsp[(2) - (3)].list), (yylsp[(1) - (3)]), (yylsp[(3) - (3)])); ;} break; - case 2309: -#line 16802 "gram.y" + case 2310: +#line 16823 "gram.y" { (yyval.node) = makeAArrayExpr((yyvsp[(2) - (3)].list), (yylsp[(1) - (3)]), (yylsp[(3) - (3)])); ;} break; - case 2310: -#line 16806 "gram.y" + case 2311: +#line 16827 "gram.y" { (yyval.node) = makeAArrayExpr(NIL, (yylsp[(1) - (2)]), (yylsp[(2) - (2)])); ;} break; - case 2311: -#line 16811 "gram.y" + case 2312: +#line 16832 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 2312: -#line 16812 "gram.y" + case 2313: +#line 16833 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 2313: -#line 16818 "gram.y" + case 2314: +#line 16839 "gram.y" { (yyval.list) = list_make2(makeStringConst((yyvsp[(1) - (3)].str), (yylsp[(1) - (3)])), (yyvsp[(3) - (3)].node)); ;} break; - case 2314: -#line 16822 "gram.y" + case 2315: +#line 16843 "gram.y" { (yyval.list) = list_make2(makeParamRef((yyvsp[(1) - (3)].ival), (yylsp[(1) - (3)])), (yyvsp[(3) - (3)].node)); ;} break; - case 2315: -#line 16831 "gram.y" + case 2316: +#line 16852 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 2316: -#line 16832 "gram.y" + case 2317: +#line 16853 "gram.y" { (yyval.str) = "year"; ;} break; - case 2317: -#line 16833 "gram.y" + case 2318: +#line 16854 "gram.y" { (yyval.str) = "month"; ;} break; - case 2318: -#line 16834 "gram.y" + case 2319: +#line 16855 "gram.y" { (yyval.str) = "day"; ;} break; - case 2319: -#line 16835 "gram.y" + case 2320: +#line 16856 "gram.y" { (yyval.str) = "hour"; ;} break; - case 2320: -#line 16836 "gram.y" + case 2321: +#line 16857 "gram.y" { (yyval.str) = "minute"; ;} break; - case 2321: -#line 16837 "gram.y" + case 2322: +#line 16858 "gram.y" { (yyval.str) = "second"; ;} break; - case 2322: -#line 16838 "gram.y" + case 2323: +#line 16859 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 2323: -#line 16842 "gram.y" + case 2324: +#line 16863 "gram.y" { (yyval.str) = "NFC"; ;} break; - case 2324: -#line 16843 "gram.y" + case 2325: +#line 16864 "gram.y" { (yyval.str) = "NFD"; ;} break; - case 2325: -#line 16844 "gram.y" + case 2326: +#line 16865 "gram.y" { (yyval.str) = "NFKC"; ;} break; - case 2326: -#line 16845 "gram.y" + case 2327: +#line 16866 "gram.y" { (yyval.str) = "NFKD"; ;} break; - case 2327: -#line 16851 "gram.y" + case 2328: +#line 16872 "gram.y" { /* overlay(A PLACING B FROM C FOR D) is converted to overlay(A, B, C, D) */ (yyval.list) = list_make4((yyvsp[(1) - (7)].node), (yyvsp[(3) - (7)].node), (yyvsp[(5) - (7)].node), (yyvsp[(7) - (7)].node)); ;} break; - case 2328: -#line 16856 "gram.y" + case 2329: +#line 16877 "gram.y" { /* overlay(A PLACING B FROM C) is converted to overlay(A, B, C) */ (yyval.list) = list_make3((yyvsp[(1) - (5)].node), (yyvsp[(3) - (5)].node), (yyvsp[(5) - (5)].node)); ;} break; - case 2329: -#line 16864 "gram.y" + case 2330: +#line 16885 "gram.y" { (yyval.list) = list_make2((yyvsp[(3) - (3)].node), (yyvsp[(1) - (3)].node)); ;} break; - case 2330: -#line 16886 "gram.y" + case 2331: +#line 16907 "gram.y" { (yyval.list) = list_make3((yyvsp[(1) - (5)].node), (yyvsp[(3) - (5)].node), (yyvsp[(5) - (5)].node)); ;} break; - case 2331: -#line 16890 "gram.y" + case 2332: +#line 16911 "gram.y" { /* not legal per SQL, but might as well allow it */ (yyval.list) = list_make3((yyvsp[(1) - (5)].node), (yyvsp[(5) - (5)].node), (yyvsp[(3) - (5)].node)); ;} break; - case 2332: -#line 16895 "gram.y" + case 2333: +#line 16916 "gram.y" { /* * Because we aren't restricting data types here, this @@ -52004,8 +51974,8 @@ YYLTYPE yylloc; ;} break; - case 2333: -#line 16906 "gram.y" + case 2334: +#line 16927 "gram.y" { /* not legal per SQL */ @@ -52024,30 +51994,30 @@ YYLTYPE yylloc; ;} break; - case 2334: -#line 16923 "gram.y" + case 2335: +#line 16944 "gram.y" { (yyval.list) = list_make3((yyvsp[(1) - (5)].node), (yyvsp[(3) - (5)].node), (yyvsp[(5) - (5)].node)); ;} break; - case 2335: -#line 16928 "gram.y" + case 2336: +#line 16949 "gram.y" { (yyval.list) = lappend((yyvsp[(3) - (3)].list), (yyvsp[(1) - (3)].node)); ;} break; - case 2336: -#line 16929 "gram.y" + case 2337: +#line 16950 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 2337: -#line 16930 "gram.y" + case 2338: +#line 16951 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 2338: -#line 16941 "gram.y" + case 2339: +#line 16962 "gram.y" { CaseExpr *c = makeNode(CaseExpr); @@ -52060,18 +52030,18 @@ YYLTYPE yylloc; ;} break; - case 2339: -#line 16955 "gram.y" + case 2340: +#line 16976 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 2340: -#line 16956 "gram.y" + case 2341: +#line 16977 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} break; - case 2341: -#line 16961 "gram.y" + case 2342: +#line 16982 "gram.y" { CaseWhen *w = makeNode(CaseWhen); @@ -52082,56 +52052,56 @@ YYLTYPE yylloc; ;} break; - case 2342: -#line 16972 "gram.y" + case 2343: +#line 16993 "gram.y" { (yyval.node) = (yyvsp[(2) - (2)].node); ;} break; - case 2343: -#line 16973 "gram.y" + case 2344: +#line 16994 "gram.y" { (yyval.node) = NULL; ;} break; - case 2344: -#line 16976 "gram.y" + case 2345: +#line 16997 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 2345: -#line 16977 "gram.y" + case 2346: +#line 16998 "gram.y" { (yyval.node) = NULL; ;} break; - case 2346: -#line 16981 "gram.y" + case 2347: +#line 17002 "gram.y" { (yyval.node) = makeColumnRef((yyvsp[(1) - (1)].str), NIL, (yylsp[(1) - (1)]), yyscanner); ;} break; - case 2347: -#line 16985 "gram.y" + case 2348: +#line 17006 "gram.y" { (yyval.node) = makeColumnRef((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)]), yyscanner); ;} break; - case 2348: -#line 16992 "gram.y" + case 2349: +#line 17013 "gram.y" { (yyval.node) = (Node *) makeString((yyvsp[(2) - (2)].str)); ;} break; - case 2349: -#line 16996 "gram.y" + case 2350: +#line 17017 "gram.y" { (yyval.node) = (Node *) makeNode(A_Star); ;} break; - case 2350: -#line 17000 "gram.y" + case 2351: +#line 17021 "gram.y" { A_Indices *ai = makeNode(A_Indices); @@ -52142,8 +52112,8 @@ YYLTYPE yylloc; ;} break; - case 2351: -#line 17009 "gram.y" + case 2352: +#line 17030 "gram.y" { A_Indices *ai = makeNode(A_Indices); @@ -52154,58 +52124,58 @@ YYLTYPE yylloc; ;} break; - case 2352: -#line 17020 "gram.y" + case 2353: +#line 17041 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 2353: -#line 17021 "gram.y" + case 2354: +#line 17042 "gram.y" { (yyval.node) = NULL; ;} break; - case 2354: -#line 17025 "gram.y" + case 2355: +#line 17046 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 2355: -#line 17026 "gram.y" + case 2356: +#line 17047 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} break; - case 2356: -#line 17030 "gram.y" + case 2357: +#line 17051 "gram.y" { (yyval.list) = NIL; ;} break; - case 2357: -#line 17031 "gram.y" + case 2358: +#line 17052 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (2)].list), (yyvsp[(2) - (2)].node)); ;} break; - case 2360: -#line 17040 "gram.y" + case 2361: +#line 17061 "gram.y" { (yyval.list) = (yyvsp[(2) - (2)].list); ;} break; - case 2361: -#line 17041 "gram.y" + case 2362: +#line 17062 "gram.y" { (yyval.list) = NIL; ;} break; - case 2362: -#line 17045 "gram.y" + case 2363: +#line 17066 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; - case 2363: -#line 17046 "gram.y" + case 2364: +#line 17067 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; - case 2364: -#line 17051 "gram.y" + case 2365: +#line 17072 "gram.y" { JsonArgument *n = makeNode(JsonArgument); @@ -52215,133 +52185,133 @@ YYLTYPE yylloc; ;} break; - case 2365: -#line 17062 "gram.y" - { (yyval.ival) = JSW_NONE; ;} - break; - case 2366: -#line 17063 "gram.y" +#line 17083 "gram.y" { (yyval.ival) = JSW_NONE; ;} break; case 2367: -#line 17064 "gram.y" - { (yyval.ival) = JSW_UNCONDITIONAL; ;} +#line 17084 "gram.y" + { (yyval.ival) = JSW_NONE; ;} break; case 2368: -#line 17065 "gram.y" +#line 17085 "gram.y" { (yyval.ival) = JSW_UNCONDITIONAL; ;} break; case 2369: -#line 17066 "gram.y" - { (yyval.ival) = JSW_CONDITIONAL; ;} +#line 17086 "gram.y" + { (yyval.ival) = JSW_UNCONDITIONAL; ;} break; case 2370: -#line 17067 "gram.y" - { (yyval.ival) = JSW_UNCONDITIONAL; ;} +#line 17087 "gram.y" + { (yyval.ival) = JSW_CONDITIONAL; ;} break; case 2371: -#line 17068 "gram.y" - { (yyval.ival) = JSW_CONDITIONAL; ;} +#line 17088 "gram.y" + { (yyval.ival) = JSW_UNCONDITIONAL; ;} break; case 2372: -#line 17069 "gram.y" - { (yyval.ival) = JSW_UNCONDITIONAL; ;} +#line 17089 "gram.y" + { (yyval.ival) = JSW_CONDITIONAL; ;} break; case 2373: -#line 17070 "gram.y" - { (yyval.ival) = JSW_UNSPEC; ;} +#line 17090 "gram.y" + { (yyval.ival) = JSW_UNCONDITIONAL; ;} break; case 2374: -#line 17075 "gram.y" - { (yyval.node) = (Node *) makeJsonBehavior(JSON_BEHAVIOR_DEFAULT, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} +#line 17091 "gram.y" + { (yyval.ival) = JSW_UNSPEC; ;} break; case 2375: -#line 17077 "gram.y" - { (yyval.node) = (Node *) makeJsonBehavior((yyvsp[(1) - (1)].ival), NULL, (yylsp[(1) - (1)])); ;} +#line 17096 "gram.y" + { (yyval.node) = (Node *) makeJsonBehavior(JSON_BEHAVIOR_DEFAULT, (yyvsp[(2) - (2)].node), (yylsp[(1) - (2)])); ;} break; case 2376: -#line 17081 "gram.y" - { (yyval.ival) = JSON_BEHAVIOR_ERROR; ;} +#line 17098 "gram.y" + { (yyval.node) = (Node *) makeJsonBehavior((yyvsp[(1) - (1)].ival), NULL, (yylsp[(1) - (1)])); ;} break; case 2377: -#line 17082 "gram.y" - { (yyval.ival) = JSON_BEHAVIOR_NULL; ;} +#line 17102 "gram.y" + { (yyval.ival) = JSON_BEHAVIOR_ERROR; ;} break; case 2378: -#line 17083 "gram.y" - { (yyval.ival) = JSON_BEHAVIOR_TRUE; ;} +#line 17103 "gram.y" + { (yyval.ival) = JSON_BEHAVIOR_NULL; ;} break; case 2379: -#line 17084 "gram.y" - { (yyval.ival) = JSON_BEHAVIOR_FALSE; ;} +#line 17104 "gram.y" + { (yyval.ival) = JSON_BEHAVIOR_TRUE; ;} break; case 2380: -#line 17085 "gram.y" - { (yyval.ival) = JSON_BEHAVIOR_UNKNOWN; ;} +#line 17105 "gram.y" + { (yyval.ival) = JSON_BEHAVIOR_FALSE; ;} break; case 2381: -#line 17086 "gram.y" - { (yyval.ival) = JSON_BEHAVIOR_EMPTY_ARRAY; ;} +#line 17106 "gram.y" + { (yyval.ival) = JSON_BEHAVIOR_UNKNOWN; ;} break; case 2382: -#line 17087 "gram.y" - { (yyval.ival) = JSON_BEHAVIOR_EMPTY_OBJECT; ;} +#line 17107 "gram.y" + { (yyval.ival) = JSON_BEHAVIOR_EMPTY_ARRAY; ;} break; case 2383: -#line 17089 "gram.y" - { (yyval.ival) = JSON_BEHAVIOR_EMPTY_ARRAY; ;} +#line 17108 "gram.y" + { (yyval.ival) = JSON_BEHAVIOR_EMPTY_OBJECT; ;} break; case 2384: -#line 17094 "gram.y" - { (yyval.list) = list_make2((yyvsp[(1) - (3)].node), NULL); ;} +#line 17110 "gram.y" + { (yyval.ival) = JSON_BEHAVIOR_EMPTY_ARRAY; ;} break; case 2385: -#line 17096 "gram.y" - { (yyval.list) = list_make2(NULL, (yyvsp[(1) - (3)].node)); ;} +#line 17115 "gram.y" + { (yyval.list) = list_make2((yyvsp[(1) - (3)].node), NULL); ;} break; case 2386: -#line 17098 "gram.y" - { (yyval.list) = list_make2((yyvsp[(1) - (6)].node), (yyvsp[(4) - (6)].node)); ;} +#line 17117 "gram.y" + { (yyval.list) = list_make2(NULL, (yyvsp[(1) - (3)].node)); ;} break; case 2387: -#line 17100 "gram.y" - { (yyval.list) = list_make2(NULL, NULL); ;} +#line 17119 "gram.y" + { (yyval.list) = list_make2((yyvsp[(1) - (6)].node), (yyvsp[(4) - (6)].node)); ;} break; case 2388: -#line 17105 "gram.y" - { (yyval.node) = (yyvsp[(1) - (3)].node); ;} +#line 17121 "gram.y" + { (yyval.list) = list_make2(NULL, NULL); ;} break; case 2389: -#line 17107 "gram.y" - { (yyval.node) = NULL; ;} +#line 17126 "gram.y" + { (yyval.node) = (yyvsp[(1) - (3)].node); ;} break; case 2390: -#line 17112 "gram.y" +#line 17128 "gram.y" + { (yyval.node) = NULL; ;} + break; + + case 2391: +#line 17133 "gram.y" { /* formatted_expr will be set during parse-analysis. */ (yyval.node) = (Node *) makeJsonValueExpr((Expr *) (yyvsp[(1) - (2)].node), NULL, @@ -52349,8 +52319,8 @@ YYLTYPE yylloc; ;} break; - case 2391: -#line 17121 "gram.y" + case 2392: +#line 17142 "gram.y" { int encoding; @@ -52370,54 +52340,54 @@ YYLTYPE yylloc; ;} break; - case 2392: -#line 17139 "gram.y" + case 2393: +#line 17160 "gram.y" { (yyval.node) = (Node *) makeJsonFormat(JS_FORMAT_JSON, JS_ENC_DEFAULT, (yylsp[(1) - (2)])); ;} break; - case 2393: -#line 17146 "gram.y" + case 2394: +#line 17167 "gram.y" { (yyval.node) = (yyvsp[(1) - (1)].node); ;} break; - case 2394: -#line 17150 "gram.y" + case 2395: +#line 17171 "gram.y" { (yyval.node) = (Node *) makeJsonFormat(JS_FORMAT_DEFAULT, JS_ENC_DEFAULT, -1); ;} break; - case 2395: -#line 17156 "gram.y" - { (yyval.ival) = JS_QUOTES_KEEP; ;} - break; - case 2396: -#line 17157 "gram.y" +#line 17177 "gram.y" { (yyval.ival) = JS_QUOTES_KEEP; ;} break; case 2397: -#line 17158 "gram.y" - { (yyval.ival) = JS_QUOTES_OMIT; ;} +#line 17178 "gram.y" + { (yyval.ival) = JS_QUOTES_KEEP; ;} break; case 2398: -#line 17159 "gram.y" +#line 17179 "gram.y" { (yyval.ival) = JS_QUOTES_OMIT; ;} break; case 2399: -#line 17160 "gram.y" - { (yyval.ival) = JS_QUOTES_UNSPEC; ;} +#line 17180 "gram.y" + { (yyval.ival) = JS_QUOTES_OMIT; ;} break; case 2400: -#line 17165 "gram.y" +#line 17181 "gram.y" + { (yyval.ival) = JS_QUOTES_UNSPEC; ;} + break; + + case 2401: +#line 17186 "gram.y" { JsonOutput *n = makeNode(JsonOutput); @@ -52428,123 +52398,123 @@ YYLTYPE yylloc; ;} break; - case 2401: -#line 17173 "gram.y" - { (yyval.node) = NULL; ;} - break; - case 2402: -#line 17187 "gram.y" - { (yyval.ival) = JS_TYPE_ANY; ;} +#line 17194 "gram.y" + { (yyval.node) = NULL; ;} break; case 2403: -#line 17188 "gram.y" +#line 17208 "gram.y" { (yyval.ival) = JS_TYPE_ANY; ;} break; case 2404: -#line 17189 "gram.y" - { (yyval.ival) = JS_TYPE_ARRAY; ;} +#line 17209 "gram.y" + { (yyval.ival) = JS_TYPE_ANY; ;} break; case 2405: -#line 17190 "gram.y" - { (yyval.ival) = JS_TYPE_OBJECT; ;} +#line 17210 "gram.y" + { (yyval.ival) = JS_TYPE_ARRAY; ;} break; case 2406: -#line 17191 "gram.y" - { (yyval.ival) = JS_TYPE_SCALAR; ;} +#line 17211 "gram.y" + { (yyval.ival) = JS_TYPE_OBJECT; ;} break; case 2407: -#line 17200 "gram.y" - { (yyval.boolean) = true; ;} +#line 17212 "gram.y" + { (yyval.ival) = JS_TYPE_SCALAR; ;} break; case 2408: -#line 17201 "gram.y" +#line 17221 "gram.y" { (yyval.boolean) = true; ;} break; case 2409: -#line 17202 "gram.y" - { (yyval.boolean) = false; ;} +#line 17222 "gram.y" + { (yyval.boolean) = true; ;} break; case 2410: -#line 17203 "gram.y" +#line 17223 "gram.y" { (yyval.boolean) = false; ;} break; case 2411: -#line 17204 "gram.y" +#line 17224 "gram.y" { (yyval.boolean) = false; ;} break; case 2412: -#line 17209 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} +#line 17225 "gram.y" + { (yyval.boolean) = false; ;} break; case 2413: -#line 17211 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} +#line 17230 "gram.y" + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; case 2414: -#line 17221 "gram.y" - { (yyval.node) = makeJsonKeyValue((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node)); ;} +#line 17232 "gram.y" + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node)); ;} break; case 2415: -#line 17224 "gram.y" +#line 17242 "gram.y" { (yyval.node) = makeJsonKeyValue((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node)); ;} break; case 2416: -#line 17229 "gram.y" - { (yyval.boolean) = false; ;} +#line 17245 "gram.y" + { (yyval.node) = makeJsonKeyValue((yyvsp[(1) - (3)].node), (yyvsp[(3) - (3)].node)); ;} break; case 2417: -#line 17230 "gram.y" - { (yyval.boolean) = true; ;} +#line 17250 "gram.y" + { (yyval.boolean) = false; ;} break; case 2418: -#line 17231 "gram.y" - { (yyval.boolean) = false; ;} +#line 17251 "gram.y" + { (yyval.boolean) = true; ;} break; case 2419: -#line 17235 "gram.y" +#line 17252 "gram.y" { (yyval.boolean) = false; ;} break; case 2420: -#line 17236 "gram.y" - { (yyval.boolean) = true; ;} +#line 17256 "gram.y" + { (yyval.boolean) = false; ;} break; case 2421: -#line 17237 "gram.y" +#line 17257 "gram.y" { (yyval.boolean) = true; ;} break; case 2422: -#line 17241 "gram.y" - { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} +#line 17258 "gram.y" + { (yyval.boolean) = true; ;} break; case 2423: -#line 17242 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node));;} +#line 17262 "gram.y" + { (yyval.list) = list_make1((yyvsp[(1) - (1)].node)); ;} break; case 2424: -#line 17252 "gram.y" +#line 17263 "gram.y" + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].node));;} + break; + + case 2425: +#line 17273 "gram.y" { JsonObjectAgg *n = makeNode(JsonObjectAgg); @@ -52559,8 +52529,8 @@ YYLTYPE yylloc; ;} break; - case 2425: -#line 17270 "gram.y" + case 2426: +#line 17291 "gram.y" { JsonArrayAgg *n = makeNode(JsonArrayAgg); @@ -52574,38 +52544,38 @@ YYLTYPE yylloc; ;} break; - case 2426: -#line 17284 "gram.y" + case 2427: +#line 17305 "gram.y" { (yyval.list) = (yyvsp[(3) - (3)].list); ;} break; - case 2427: -#line 17285 "gram.y" + case 2428: +#line 17306 "gram.y" { (yyval.list) = NIL; ;} break; - case 2428: -#line 17294 "gram.y" + case 2429: +#line 17315 "gram.y" { (yyval.list) = (yyvsp[(1) - (1)].list); ;} break; - case 2429: -#line 17295 "gram.y" + case 2430: +#line 17316 "gram.y" { (yyval.list) = NIL; ;} break; - case 2430: -#line 17299 "gram.y" + case 2431: +#line 17320 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].target)); ;} break; - case 2431: -#line 17300 "gram.y" + case 2432: +#line 17321 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].target)); ;} break; - case 2432: -#line 17304 "gram.y" + case 2433: +#line 17325 "gram.y" { (yyval.target) = makeNode(ResTarget); (yyval.target)->name = (yyvsp[(3) - (3)].str); @@ -52615,8 +52585,8 @@ YYLTYPE yylloc; ;} break; - case 2433: -#line 17312 "gram.y" + case 2434: +#line 17333 "gram.y" { (yyval.target) = makeNode(ResTarget); (yyval.target)->name = (yyvsp[(2) - (2)].str); @@ -52626,8 +52596,8 @@ YYLTYPE yylloc; ;} break; - case 2434: -#line 17320 "gram.y" + case 2435: +#line 17341 "gram.y" { (yyval.target) = makeNode(ResTarget); (yyval.target)->name = NULL; @@ -52637,8 +52607,8 @@ YYLTYPE yylloc; ;} break; - case 2435: -#line 17328 "gram.y" + case 2436: +#line 17349 "gram.y" { ColumnRef *n = makeNode(ColumnRef); @@ -52653,98 +52623,98 @@ YYLTYPE yylloc; ;} break; - case 2436: -#line 17350 "gram.y" + case 2437: +#line 17371 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].range)); ;} break; - case 2437: -#line 17351 "gram.y" + case 2438: +#line 17372 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].range)); ;} break; - case 2438: -#line 17363 "gram.y" + case 2439: +#line 17384 "gram.y" { (yyval.range) = makeRangeVar(NULL, (yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); ;} break; - case 2439: -#line 17367 "gram.y" + case 2440: +#line 17388 "gram.y" { (yyval.range) = makeRangeVarFromQualifiedName((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].list), (yylsp[(1) - (2)]), yyscanner); ;} break; - case 2440: -#line 17373 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} - break; - case 2441: -#line 17375 "gram.y" - { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); ;} +#line 17394 "gram.y" + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} break; case 2442: -#line 17379 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +#line 17396 "gram.y" + { (yyval.list) = lappend((yyvsp[(1) - (3)].list), makeString((yyvsp[(3) - (3)].str))); ;} break; case 2443: -#line 17381 "gram.y" +#line 17400 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 2444: -#line 17383 "gram.y" +#line 17402 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 2445: -#line 17394 "gram.y" - { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} +#line 17404 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 2446: -#line 17396 "gram.y" +#line 17415 "gram.y" + { (yyval.list) = list_make1(makeString((yyvsp[(1) - (1)].str))); ;} + break; + + case 2447: +#line 17417 "gram.y" { (yyval.list) = check_func_name(lcons(makeString((yyvsp[(1) - (2)].str)), (yyvsp[(2) - (2)].list)), yyscanner); ;} break; - case 2447: -#line 17407 "gram.y" + case 2448: +#line 17428 "gram.y" { (yyval.node) = makeIntConst((yyvsp[(1) - (1)].ival), (yylsp[(1) - (1)])); ;} break; - case 2448: -#line 17411 "gram.y" + case 2449: +#line 17432 "gram.y" { (yyval.node) = makeFloatConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); ;} break; - case 2449: -#line 17415 "gram.y" + case 2450: +#line 17436 "gram.y" { (yyval.node) = makeStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); ;} break; - case 2450: -#line 17419 "gram.y" + case 2451: +#line 17440 "gram.y" { (yyval.node) = makeBitStringConst((yyvsp[(1) - (1)].str), (yylsp[(1) - (1)])); ;} break; - case 2451: -#line 17423 "gram.y" + case 2452: +#line 17444 "gram.y" { /* This is a bit constant per SQL99: * Without Feature F511, "BIT data type", @@ -52755,8 +52725,8 @@ YYLTYPE yylloc; ;} break; - case 2452: -#line 17432 "gram.y" + case 2453: +#line 17453 "gram.y" { /* generic type 'literal' syntax */ TypeName *t = makeTypeNameFromNameList((yyvsp[(1) - (2)].list)); @@ -52766,8 +52736,8 @@ YYLTYPE yylloc; ;} break; - case 2453: -#line 17440 "gram.y" + case 2454: +#line 17461 "gram.y" { /* generic syntax with a type modifier */ TypeName *t = makeTypeNameFromNameList((yyvsp[(1) - (6)].list)); @@ -52801,8 +52771,8 @@ YYLTYPE yylloc; ;} break; - case 2454: -#line 17472 "gram.y" + case 2455: +#line 17493 "gram.y" { /* generic type 'literal' syntax */ TypeName *t = makeTypeNameFromNameList((yyvsp[(1) - (2)].list)); @@ -52811,8 +52781,8 @@ YYLTYPE yylloc; ;} break; - case 2455: -#line 17479 "gram.y" + case 2456: +#line 17500 "gram.y" { /* generic syntax with a type modifier */ TypeName *t = makeTypeNameFromNameList((yyvsp[(1) - (6)].list)); @@ -52846,15 +52816,15 @@ YYLTYPE yylloc; ;} break; - case 2456: -#line 17511 "gram.y" + case 2457: +#line 17532 "gram.y" { (yyval.node) = makeStringConstCast((yyvsp[(2) - (2)].str), (yylsp[(2) - (2)]), (yyvsp[(1) - (2)].typnam)); ;} break; - case 2457: -#line 17515 "gram.y" + case 2458: +#line 17536 "gram.y" { TypeName *t = (yyvsp[(1) - (3)].typnam); @@ -52863,8 +52833,8 @@ YYLTYPE yylloc; ;} break; - case 2458: -#line 17522 "gram.y" + case 2459: +#line 17543 "gram.y" { TypeName *t = (yyvsp[(1) - (5)].typnam); @@ -52874,15 +52844,15 @@ YYLTYPE yylloc; ;} break; - case 2459: -#line 17530 "gram.y" + case 2460: +#line 17551 "gram.y" { (yyval.node) = makeParamRefCast((yyvsp[(2) - (2)].ival), (yylsp[(2) - (2)]), (yyvsp[(1) - (2)].typnam)); ;} break; - case 2460: -#line 17534 "gram.y" + case 2461: +#line 17555 "gram.y" { TypeName *t = (yyvsp[(1) - (3)].typnam); t->typmods = (yyvsp[(3) - (3)].list); @@ -52890,8 +52860,8 @@ YYLTYPE yylloc; ;} break; - case 2461: -#line 17540 "gram.y" + case 2462: +#line 17561 "gram.y" { TypeName *t = (yyvsp[(1) - (5)].typnam); t->typmods = list_make2(makeIntConst(INTERVAL_FULL_RANGE, -1), @@ -52900,54 +52870,54 @@ YYLTYPE yylloc; ;} break; - case 2462: -#line 17547 "gram.y" + case 2463: +#line 17568 "gram.y" { (yyval.node) = makeBoolAConst(true, (yylsp[(1) - (1)])); ;} break; - case 2463: -#line 17551 "gram.y" + case 2464: +#line 17572 "gram.y" { (yyval.node) = makeBoolAConst(false, (yylsp[(1) - (1)])); ;} break; - case 2464: -#line 17555 "gram.y" + case 2465: +#line 17576 "gram.y" { (yyval.node) = makeNullAConst((yylsp[(1) - (1)])); ;} break; - case 2465: -#line 17560 "gram.y" + case 2466: +#line 17581 "gram.y" { (yyval.ival) = (yyvsp[(1) - (1)].ival); ;} break; - case 2466: -#line 17561 "gram.y" + case 2467: +#line 17582 "gram.y" { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 2467: -#line 17563 "gram.y" + case 2468: +#line 17584 "gram.y" { (yyval.ival) = (yyvsp[(1) - (1)].ival); ;} break; - case 2468: -#line 17564 "gram.y" + case 2469: +#line 17585 "gram.y" { (yyval.ival) = + (yyvsp[(2) - (2)].ival); ;} break; - case 2469: -#line 17565 "gram.y" + case 2470: +#line 17586 "gram.y" { (yyval.ival) = - (yyvsp[(2) - (2)].ival); ;} break; - case 2470: -#line 17570 "gram.y" + case 2471: +#line 17591 "gram.y" { RoleSpec *spc = (RoleSpec *) (yyvsp[(1) - (1)].rolespec); @@ -52988,8 +52958,8 @@ YYLTYPE yylloc; ;} break; - case 2471: -#line 17611 "gram.y" + case 2472: +#line 17632 "gram.y" { /* * "public" and "none" are not keywords, but they must @@ -53019,39 +52989,39 @@ YYLTYPE yylloc; ;} break; - case 2472: -#line 17639 "gram.y" + case 2473: +#line 17660 "gram.y" { (yyval.rolespec) = makeRoleSpec(ROLESPEC_CURRENT_ROLE, (yylsp[(1) - (1)])); ;} break; - case 2473: -#line 17643 "gram.y" + case 2474: +#line 17664 "gram.y" { (yyval.rolespec) = makeRoleSpec(ROLESPEC_CURRENT_USER, (yylsp[(1) - (1)])); ;} break; - case 2474: -#line 17647 "gram.y" + case 2475: +#line 17668 "gram.y" { (yyval.rolespec) = makeRoleSpec(ROLESPEC_SESSION_USER, (yylsp[(1) - (1)])); ;} break; - case 2475: -#line 17653 "gram.y" + case 2476: +#line 17674 "gram.y" { (yyval.list) = list_make1((yyvsp[(1) - (1)].rolespec)); ;} break; - case 2476: -#line 17655 "gram.y" + case 2477: +#line 17676 "gram.y" { (yyval.list) = lappend((yyvsp[(1) - (3)].list), (yyvsp[(3) - (3)].rolespec)); ;} break; - case 2477: -#line 17672 "gram.y" + case 2478: +#line 17693 "gram.y" { SelectStmt *n = makeNode(SelectStmt); @@ -53081,8 +53051,8 @@ YYLTYPE yylloc; ;} break; - case 2478: -#line 17706 "gram.y" + case 2479: +#line 17727 "gram.y" { PLAssignStmt *n = makeNode(PLAssignStmt); @@ -53095,104 +53065,104 @@ YYLTYPE yylloc; ;} break; - case 2479: -#line 17718 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} - break; - case 2480: -#line 17719 "gram.y" - { (yyval.str) = psprintf("$%d", (yyvsp[(1) - (1)].ival)); ;} +#line 17739 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; - case 2483: + case 2481: #line 17740 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + { (yyval.str) = psprintf("$%d", (yyvsp[(1) - (1)].ival)); ;} break; case 2484: -#line 17741 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} +#line 17761 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 2485: -#line 17742 "gram.y" +#line 17762 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2486: -#line 17747 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +#line 17763 "gram.y" + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2487: -#line 17748 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} +#line 17768 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 2488: -#line 17749 "gram.y" +#line 17769 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2489: -#line 17754 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +#line 17770 "gram.y" + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2490: -#line 17755 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} +#line 17775 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 2491: -#line 17756 "gram.y" +#line 17776 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2492: -#line 17757 "gram.y" +#line 17777 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2493: -#line 17763 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +#line 17778 "gram.y" + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2494: -#line 17764 "gram.y" - { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} +#line 17784 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} break; case 2495: -#line 17765 "gram.y" +#line 17785 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2496: -#line 17766 "gram.y" +#line 17786 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2497: -#line 17767 "gram.y" +#line 17787 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2498: -#line 17773 "gram.y" - { (yyval.str) = (yyvsp[(1) - (1)].str); ;} +#line 17788 "gram.y" + { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; case 2499: -#line 17774 "gram.y" +#line 17794 "gram.y" + { (yyval.str) = (yyvsp[(1) - (1)].str); ;} + break; + + case 2500: +#line 17795 "gram.y" { (yyval.str) = pstrdup((yyvsp[(1) - (1)].keyword)); ;} break; /* Line 1267 of yacc.c. */ -#line 53136 "gram.c" +#line 53106 "gram.c" default: break; } YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); @@ -53412,7 +53382,7 @@ YYLTYPE yylloc; } -#line 18792 "gram.y" +#line 18813 "gram.y" /* diff --git a/src/postgres/src_backend_parser_parser.c b/src/postgres/src_backend_parser_parser.c index c3e16e458..4c412443b 100644 --- a/src/postgres/src_backend_parser_parser.c +++ b/src/postgres/src_backend_parser_parser.c @@ -168,9 +168,6 @@ base_yylex(YYSTYPE *lvalp, YYLTYPE *llocp, core_yyscan_t yyscanner) case WITHOUT: cur_token_length = 7; break; - case SQL_COMMENT: - case C_COMMENT: - return base_yylex(lvalp, llocp, yyscanner); default: return cur_token; } diff --git a/src/postgres/src_backend_parser_scan.c b/src/postgres/src_backend_parser_scan.c index ea6cb4224..7d483941a 100644 --- a/src/postgres/src_backend_parser_scan.c +++ b/src/postgres/src_backend_parser_scan.c @@ -670,9 +670,9 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static const struct yy_trans_info yy_transition[33677] = +static const struct yy_trans_info yy_transition[36412] = { - { 0, 0 }, { 0,33421 }, { 0, 0 }, { 0,33419 }, { 1,6192 }, + { 0, 0 }, { 0,36156 }, { 0, 0 }, { 0,36154 }, { 1,6192 }, { 2,6192 }, { 3,6192 }, { 4,6192 }, { 5,6192 }, { 6,6192 }, { 7,6192 }, { 8,6192 }, { 9,6194 }, { 10,6199 }, { 11,6194 }, { 12,6194 }, { 13,6194 }, { 14,6192 }, { 15,6192 }, { 16,6192 }, @@ -729,7 +729,7 @@ static const struct yy_trans_info yy_transition[33677] = { 247,7321 }, { 248,7321 }, { 249,7321 }, { 250,7321 }, { 251,7321 }, { 252,7321 }, { 253,7321 }, { 254,7321 }, { 255,7321 }, { 256,6192 }, - { 0, 0 }, { 0,33161 }, { 1,5934 }, { 2,5934 }, { 3,5934 }, + { 0, 0 }, { 0,35896 }, { 1,5934 }, { 2,5934 }, { 3,5934 }, { 4,5934 }, { 5,5934 }, { 6,5934 }, { 7,5934 }, { 8,5934 }, { 9,5936 }, { 10,5941 }, { 11,5936 }, { 12,5936 }, { 13,5936 }, { 14,5934 }, { 15,5934 }, { 16,5934 }, { 17,5934 }, { 18,5934 }, @@ -785,7 +785,7 @@ static const struct yy_trans_info yy_transition[33677] = { 239,7063 }, { 240,7063 }, { 241,7063 }, { 242,7063 }, { 243,7063 }, { 244,7063 }, { 245,7063 }, { 246,7063 }, { 247,7063 }, { 248,7063 }, { 249,7063 }, { 250,7063 }, { 251,7063 }, { 252,7063 }, { 253,7063 }, - { 254,7063 }, { 255,7063 }, { 256,5934 }, { 0, 11 }, { 0,32903 }, + { 254,7063 }, { 255,7063 }, { 256,5934 }, { 0, 11 }, { 0,35638 }, { 1,8347 }, { 2,8347 }, { 3,8347 }, { 4,8347 }, { 5,8347 }, { 6,8347 }, { 7,8347 }, { 8,8347 }, { 9,8347 }, { 10,8347 }, { 11,8347 }, { 12,8347 }, { 13,8347 }, { 14,8347 }, { 15,8347 }, @@ -842,7 +842,7 @@ static const struct yy_trans_info yy_transition[33677] = { 241,8347 }, { 242,8347 }, { 243,8347 }, { 244,8347 }, { 245,8347 }, { 246,8347 }, { 247,8347 }, { 248,8347 }, { 249,8347 }, { 250,8347 }, { 251,8347 }, { 252,8347 }, { 253,8347 }, { 254,8347 }, { 255,8347 }, - { 256,8347 }, { 0, 11 }, { 0,32645 }, { 1,8089 }, { 2,8089 }, + { 256,8347 }, { 0, 11 }, { 0,35380 }, { 1,8089 }, { 2,8089 }, { 3,8089 }, { 4,8089 }, { 5,8089 }, { 6,8089 }, { 7,8089 }, { 8,8089 }, { 9,8089 }, { 10,8089 }, { 11,8089 }, { 12,8089 }, { 13,8089 }, { 14,8089 }, { 15,8089 }, { 16,8089 }, { 17,8089 }, @@ -899,7 +899,7 @@ static const struct yy_trans_info yy_transition[33677] = { 243,8089 }, { 244,8089 }, { 245,8089 }, { 246,8089 }, { 247,8089 }, { 248,8089 }, { 249,8089 }, { 250,8089 }, { 251,8089 }, { 252,8089 }, { 253,8089 }, { 254,8089 }, { 255,8089 }, { 256,8089 }, { 0, 0 }, - { 0,32387 }, { 1,8089 }, { 2,8089 }, { 3,8089 }, { 4,8089 }, + { 0,35122 }, { 1,8089 }, { 2,8089 }, { 3,8089 }, { 4,8089 }, { 5,8089 }, { 6,8089 }, { 7,8089 }, { 8,8089 }, { 9,8089 }, { 10,8089 }, { 11,8089 }, { 12,8089 }, { 13,8089 }, { 14,8089 }, @@ -955,7 +955,7 @@ static const struct yy_trans_info yy_transition[33677] = { 240,8089 }, { 241,8089 }, { 242,8089 }, { 243,8089 }, { 244,8089 }, { 245,8089 }, { 246,8089 }, { 247,8089 }, { 248,8089 }, { 249,8089 }, { 250,8089 }, { 251,8089 }, { 252,8089 }, { 253,8089 }, { 254,8089 }, - { 255,8089 }, { 256,8089 }, { 0, 0 }, { 0,32129 }, { 1,7831 }, + { 255,8089 }, { 256,8089 }, { 0, 0 }, { 0,34864 }, { 1,7831 }, { 2,7831 }, { 3,7831 }, { 4,7831 }, { 5,7831 }, { 6,7831 }, { 7,7831 }, { 8,7831 }, { 9,7831 }, { 10,7831 }, { 11,7831 }, @@ -1013,7 +1013,7 @@ static const struct yy_trans_info yy_transition[33677] = { 247,7831 }, { 248,7831 }, { 249,7831 }, { 250,7831 }, { 251,7831 }, { 252,7831 }, { 253,7831 }, { 254,7831 }, { 255,7831 }, { 256,7831 }, - { 0, 0 }, { 0,31871 }, { 1,8089 }, { 2,8089 }, { 3,8089 }, + { 0, 0 }, { 0,34606 }, { 1,8089 }, { 2,8089 }, { 3,8089 }, { 4,8089 }, { 5,8089 }, { 6,8089 }, { 7,8089 }, { 8,8089 }, { 9,8089 }, { 10,8089 }, { 11,8089 }, { 12,8089 }, { 13,8089 }, { 14,8089 }, { 15,8089 }, { 16,8089 }, { 17,8089 }, { 18,8089 }, @@ -1069,7 +1069,7 @@ static const struct yy_trans_info yy_transition[33677] = { 244,8089 }, { 245,8089 }, { 246,8089 }, { 247,8089 }, { 248,8089 }, { 249,8089 }, { 250,8089 }, { 251,8089 }, { 252,8089 }, { 253,8089 }, - { 254,8089 }, { 255,8089 }, { 256,8089 }, { 0, 0 }, { 0,31613 }, + { 254,8089 }, { 255,8089 }, { 256,8089 }, { 0, 0 }, { 0,34348 }, { 1,7831 }, { 2,7831 }, { 3,7831 }, { 4,7831 }, { 5,7831 }, { 6,7831 }, { 7,7831 }, { 8,7831 }, { 9,7831 }, { 10,7831 }, { 11,7831 }, { 12,7831 }, { 13,7831 }, { 14,7831 }, { 15,7831 }, @@ -1126,7 +1126,7 @@ static const struct yy_trans_info yy_transition[33677] = { 241,7831 }, { 242,7831 }, { 243,7831 }, { 244,7831 }, { 245,7831 }, { 246,7831 }, { 247,7831 }, { 248,7831 }, { 249,7831 }, { 250,7831 }, { 251,7831 }, { 252,7831 }, { 253,7831 }, { 254,7831 }, { 255,7831 }, - { 256,7831 }, { 0, 10 }, { 0,31355 }, { 1,7831 }, { 2,7831 }, + { 256,7831 }, { 0, 10 }, { 0,34090 }, { 1,7831 }, { 2,7831 }, { 3,7831 }, { 4,7831 }, { 5,7831 }, { 6,7831 }, { 7,7831 }, { 8,7831 }, { 9,7831 }, { 10,7831 }, { 11,7831 }, { 12,7831 }, { 13,7831 }, { 14,7831 }, { 15,7831 }, { 16,7831 }, { 17,7831 }, @@ -1183,7 +1183,7 @@ static const struct yy_trans_info yy_transition[33677] = { 243,7831 }, { 244,7831 }, { 245,7831 }, { 246,7831 }, { 247,7831 }, { 248,7831 }, { 249,7831 }, { 250,7831 }, { 251,7831 }, { 252,7831 }, { 253,7831 }, { 254,7831 }, { 255,7831 }, { 256,7831 }, { 0, 10 }, - { 0,31097 }, { 1,7573 }, { 2,7573 }, { 3,7573 }, { 4,7573 }, + { 0,33832 }, { 1,7573 }, { 2,7573 }, { 3,7573 }, { 4,7573 }, { 5,7573 }, { 6,7573 }, { 7,7573 }, { 8,7573 }, { 9,7573 }, { 10,7573 }, { 11,7573 }, { 12,7573 }, { 13,7573 }, { 14,7573 }, { 15,7573 }, { 16,7573 }, { 17,7573 }, { 18,7573 }, { 19,7573 }, @@ -1239,7 +1239,7 @@ static const struct yy_trans_info yy_transition[33677] = { 240,7573 }, { 241,7573 }, { 242,7573 }, { 243,7573 }, { 244,7573 }, { 245,7573 }, { 246,7573 }, { 247,7573 }, { 248,7573 }, { 249,7573 }, { 250,7573 }, { 251,7573 }, { 252,7573 }, { 253,7573 }, { 254,7573 }, - { 255,7573 }, { 256,7573 }, { 0, 0 }, { 0,30839 }, { 1,7573 }, + { 255,7573 }, { 256,7573 }, { 0, 0 }, { 0,33574 }, { 1,7573 }, { 2,7573 }, { 3,7573 }, { 4,7573 }, { 5,7573 }, { 6,7573 }, { 7,7573 }, { 8,7573 }, { 9,7573 }, { 10,7573 }, { 11,7573 }, { 12,7573 }, { 13,7573 }, { 14,7573 }, { 15,7573 }, { 16,7573 }, @@ -1296,7 +1296,7 @@ static const struct yy_trans_info yy_transition[33677] = { 242,7573 }, { 243,7573 }, { 244,7573 }, { 245,7573 }, { 246,7573 }, { 247,7573 }, { 248,7573 }, { 249,7573 }, { 250,7573 }, { 251,7573 }, { 252,7573 }, { 253,7573 }, { 254,7573 }, { 255,7573 }, { 256,7573 }, - { 0, 0 }, { 0,30581 }, { 1,7315 }, { 2,7315 }, { 3,7315 }, + { 0, 0 }, { 0,33316 }, { 1,7315 }, { 2,7315 }, { 3,7315 }, { 4,7315 }, { 5,7315 }, { 6,7315 }, { 7,7315 }, { 8,7315 }, { 9,7315 }, { 10,7315 }, { 11,7315 }, { 12,7315 }, { 13,7315 }, @@ -1352,7 +1352,7 @@ static const struct yy_trans_info yy_transition[33677] = { 239,7315 }, { 240,7315 }, { 241,7315 }, { 242,7315 }, { 243,7315 }, { 244,7315 }, { 245,7315 }, { 246,7315 }, { 247,7315 }, { 248,7315 }, { 249,7315 }, { 250,7315 }, { 251,7315 }, { 252,7315 }, { 253,7315 }, - { 254,7315 }, { 255,7315 }, { 256,7315 }, { 0, 19 }, { 0,30323 }, + { 254,7315 }, { 255,7315 }, { 256,7315 }, { 0, 19 }, { 0,33058 }, { 1,3156 }, { 2,3156 }, { 3,3156 }, { 4,3156 }, { 5,3156 }, { 6,3156 }, { 7,3156 }, { 8,3156 }, { 9,7315 }, { 10,7320 }, @@ -1410,7 +1410,7 @@ static const struct yy_trans_info yy_transition[33677] = { 246,3156 }, { 247,3156 }, { 248,3156 }, { 249,3156 }, { 250,3156 }, { 251,3156 }, { 252,3156 }, { 253,3156 }, { 254,3156 }, { 255,3156 }, - { 256,3156 }, { 0, 19 }, { 0,30065 }, { 1,2898 }, { 2,2898 }, + { 256,3156 }, { 0, 19 }, { 0,32800 }, { 1,2898 }, { 2,2898 }, { 3,2898 }, { 4,2898 }, { 5,2898 }, { 6,2898 }, { 7,2898 }, { 8,2898 }, { 9,7057 }, { 10,7062 }, { 11,7057 }, { 12,7057 }, { 13,7086 }, { 14,2898 }, { 15,2898 }, { 16,2898 }, { 17,2898 }, @@ -1467,7 +1467,7 @@ static const struct yy_trans_info yy_transition[33677] = { 243,2898 }, { 244,2898 }, { 245,2898 }, { 246,2898 }, { 247,2898 }, { 248,2898 }, { 249,2898 }, { 250,2898 }, { 251,2898 }, { 252,2898 }, { 253,2898 }, { 254,2898 }, { 255,2898 }, { 256,2898 }, { 0, 0 }, - { 0,29807 }, { 1,6875 }, { 2,6875 }, { 3,6875 }, { 4,6875 }, + { 0,32542 }, { 1,6875 }, { 2,6875 }, { 3,6875 }, { 4,6875 }, { 5,6875 }, { 6,6875 }, { 7,6875 }, { 8,6875 }, { 9,6875 }, { 10,7133 }, { 11,6875 }, { 12,6875 }, { 13,6875 }, { 14,6875 }, { 15,6875 }, { 16,6875 }, { 17,6875 }, { 18,6875 }, { 19,6875 }, @@ -1523,7 +1523,7 @@ static const struct yy_trans_info yy_transition[33677] = { 240,6875 }, { 241,6875 }, { 242,6875 }, { 243,6875 }, { 244,6875 }, { 245,6875 }, { 246,6875 }, { 247,6875 }, { 248,6875 }, { 249,6875 }, { 250,6875 }, { 251,6875 }, { 252,6875 }, { 253,6875 }, { 254,6875 }, - { 255,6875 }, { 256,6875 }, { 0, 0 }, { 0,29549 }, { 1,6617 }, + { 255,6875 }, { 256,6875 }, { 0, 0 }, { 0,32284 }, { 1,6617 }, { 2,6617 }, { 3,6617 }, { 4,6617 }, { 5,6617 }, { 6,6617 }, { 7,6617 }, { 8,6617 }, { 9,6617 }, { 10,6875 }, { 11,6617 }, { 12,6617 }, { 13,6617 }, { 14,6617 }, { 15,6617 }, { 16,6617 }, @@ -1580,7 +1580,7 @@ static const struct yy_trans_info yy_transition[33677] = { 242,6617 }, { 243,6617 }, { 244,6617 }, { 245,6617 }, { 246,6617 }, { 247,6617 }, { 248,6617 }, { 249,6617 }, { 250,6617 }, { 251,6617 }, { 252,6617 }, { 253,6617 }, { 254,6617 }, { 255,6617 }, { 256,6617 }, - { 0, 0 }, { 0,29291 }, { 1,7133 }, { 2,7133 }, { 3,7133 }, + { 0, 0 }, { 0,32026 }, { 1,7133 }, { 2,7133 }, { 3,7133 }, { 4,7133 }, { 5,7133 }, { 6,7133 }, { 7,7133 }, { 8,7133 }, { 9,7133 }, { 10,7391 }, { 11,7133 }, { 12,7133 }, { 13,7133 }, { 14,7133 }, { 15,7133 }, { 16,7133 }, { 17,7133 }, { 18,7133 }, @@ -1636,7 +1636,7 @@ static const struct yy_trans_info yy_transition[33677] = { 239,7133 }, { 240,7133 }, { 241,7133 }, { 242,7133 }, { 243,7133 }, { 244,7133 }, { 245,7133 }, { 246,7133 }, { 247,7133 }, { 248,7133 }, { 249,7133 }, { 250,7133 }, { 251,7133 }, { 252,7133 }, { 253,7133 }, - { 254,7133 }, { 255,7133 }, { 256,7133 }, { 0, 0 }, { 0,29033 }, + { 254,7133 }, { 255,7133 }, { 256,7133 }, { 0, 0 }, { 0,31768 }, { 1,6875 }, { 2,6875 }, { 3,6875 }, { 4,6875 }, { 5,6875 }, { 6,6875 }, { 7,6875 }, { 8,6875 }, { 9,6875 }, { 10,7133 }, @@ -1693,7 +1693,7 @@ static const struct yy_trans_info yy_transition[33677] = { 241,6875 }, { 242,6875 }, { 243,6875 }, { 244,6875 }, { 245,6875 }, { 246,6875 }, { 247,6875 }, { 248,6875 }, { 249,6875 }, { 250,6875 }, { 251,6875 }, { 252,6875 }, { 253,6875 }, { 254,6875 }, { 255,6875 }, - { 256,6875 }, { 0, 0 }, { 0,28775 }, { 1,4993 }, { 2,4993 }, + { 256,6875 }, { 0, 0 }, { 0,31510 }, { 1,4993 }, { 2,4993 }, { 3,4993 }, { 4,4993 }, { 5,4993 }, { 6,4993 }, { 7,4993 }, { 8,4993 }, { 9,4993 }, { 10,4993 }, { 11,4993 }, { 12,4993 }, @@ -1751,7 +1751,7 @@ static const struct yy_trans_info yy_transition[33677] = { 248,4993 }, { 249,4993 }, { 250,4993 }, { 251,4993 }, { 252,4993 }, { 253,4993 }, { 254,4993 }, { 255,4993 }, { 256,4993 }, { 0, 0 }, - { 0,28517 }, { 1,4735 }, { 2,4735 }, { 3,4735 }, { 4,4735 }, + { 0,31252 }, { 1,4735 }, { 2,4735 }, { 3,4735 }, { 4,4735 }, { 5,4735 }, { 6,4735 }, { 7,4735 }, { 8,4735 }, { 9,4735 }, { 10,4735 }, { 11,4735 }, { 12,4735 }, { 13,4735 }, { 14,4735 }, { 15,4735 }, { 16,4735 }, { 17,4735 }, { 18,4735 }, { 19,4735 }, @@ -1807,7 +1807,7 @@ static const struct yy_trans_info yy_transition[33677] = { 245,4735 }, { 246,4735 }, { 247,4735 }, { 248,4735 }, { 249,4735 }, { 250,4735 }, { 251,4735 }, { 252,4735 }, { 253,4735 }, { 254,4735 }, - { 255,4735 }, { 256,4735 }, { 0, 0 }, { 0,28259 }, { 1,4993 }, + { 255,4735 }, { 256,4735 }, { 0, 0 }, { 0,30994 }, { 1,4993 }, { 2,4993 }, { 3,4993 }, { 4,4993 }, { 5,4993 }, { 6,4993 }, { 7,4993 }, { 8,4993 }, { 9,4993 }, { 10,4993 }, { 11,4993 }, { 12,4993 }, { 13,4993 }, { 14,4993 }, { 15,4993 }, { 16,4993 }, @@ -1864,7 +1864,7 @@ static const struct yy_trans_info yy_transition[33677] = { 242,4993 }, { 243,4993 }, { 244,4993 }, { 245,4993 }, { 246,4993 }, { 247,4993 }, { 248,4993 }, { 249,4993 }, { 250,4993 }, { 251,4993 }, { 252,4993 }, { 253,4993 }, { 254,4993 }, { 255,4993 }, { 256,4993 }, - { 0, 0 }, { 0,28001 }, { 1,4735 }, { 2,4735 }, { 3,4735 }, + { 0, 0 }, { 0,30736 }, { 1,4735 }, { 2,4735 }, { 3,4735 }, { 4,4735 }, { 5,4735 }, { 6,4735 }, { 7,4735 }, { 8,4735 }, { 9,4735 }, { 10,4735 }, { 11,4735 }, { 12,4735 }, { 13,4735 }, { 14,4735 }, { 15,4735 }, { 16,4735 }, { 17,4735 }, { 18,4735 }, @@ -1920,7 +1920,7 @@ static const struct yy_trans_info yy_transition[33677] = { 239,4735 }, { 240,4735 }, { 241,4735 }, { 242,4735 }, { 243,4735 }, { 244,4735 }, { 245,4735 }, { 246,4735 }, { 247,4735 }, { 248,4735 }, { 249,4735 }, { 250,4735 }, { 251,4735 }, { 252,4735 }, { 253,4735 }, - { 254,4735 }, { 255,4735 }, { 256,4735 }, { 0, 0 }, { 0,27743 }, + { 254,4735 }, { 255,4735 }, { 256,4735 }, { 0, 0 }, { 0,30478 }, { 1, 593 }, { 2, 593 }, { 3, 593 }, { 4, 593 }, { 5, 593 }, { 6, 593 }, { 7, 593 }, { 8, 593 }, { 9, 593 }, { 10, 597 }, { 11, 593 }, { 12, 593 }, { 13, 593 }, { 14, 593 }, { 15, 593 }, @@ -1977,7 +1977,7 @@ static const struct yy_trans_info yy_transition[33677] = { 241, 593 }, { 242, 593 }, { 243, 593 }, { 244, 593 }, { 245, 593 }, { 246, 593 }, { 247, 593 }, { 248, 593 }, { 249, 593 }, { 250, 593 }, { 251, 593 }, { 252, 593 }, { 253, 593 }, { 254, 593 }, { 255, 593 }, - { 256, 593 }, { 0, 0 }, { 0,27485 }, { 1, 335 }, { 2, 335 }, + { 256, 593 }, { 0, 0 }, { 0,30220 }, { 1, 335 }, { 2, 335 }, { 3, 335 }, { 4, 335 }, { 5, 335 }, { 6, 335 }, { 7, 335 }, { 8, 335 }, { 9, 335 }, { 10, 339 }, { 11, 335 }, { 12, 335 }, @@ -2034,37 +2034,37 @@ static const struct yy_trans_info yy_transition[33677] = { 243, 335 }, { 244, 335 }, { 245, 335 }, { 246, 335 }, { 247, 335 }, { 248, 335 }, { 249, 335 }, { 250, 335 }, { 251, 335 }, { 252, 335 }, { 253, 335 }, { 254, 335 }, { 255, 335 }, { 256, 335 }, { 0, 72 }, - { 0,27227 }, { 0, 1 }, { 0,27225 }, { 0, 39 }, { 0,27223 }, + { 0,29962 }, { 0, 1 }, { 0,29960 }, { 0, 39 }, { 0,29958 }, - { 0, 0 }, { 0, 1 }, { 0,27220 }, { 0, 55 }, { 0,27218 }, + { 0, 0 }, { 0, 1 }, { 0,29955 }, { 0, 55 }, { 0,29953 }, { 0, 0 }, { 9,5585 }, { 10,5585 }, { 11,5585 }, { 12,5585 }, { 13,5585 }, { 9,5580 }, { 10,5580 }, { 11,5580 }, { 12,5580 }, - { 13,5580 }, { 0, 14 }, { 0,27205 }, { 0, 54 }, { 0,27203 }, - { 0, 0 }, { 0, 54 }, { 0,27200 }, { 0, 17 }, { 0,27198 }, - { 0, 0 }, { 0, 7 }, { 0,27195 }, { 0, 0 }, { 32,5585 }, - { 0, 7 }, { 0,27191 }, { 0, 0 }, { 0, 0 }, { 32,5580 }, - { 0, 41 }, { 0,27186 }, { 33,5833 }, { 0, 0 }, { 35,5833 }, - { 0, 0 }, { 37,5833 }, { 38,5833 }, { 0, 55 }, { 0,27178 }, + { 13,5580 }, { 0, 14 }, { 0,29940 }, { 0, 54 }, { 0,29938 }, + { 0, 0 }, { 0, 54 }, { 0,29935 }, { 0, 17 }, { 0,29933 }, + { 0, 0 }, { 0, 7 }, { 0,29930 }, { 0, 0 }, { 32,5585 }, + { 0, 7 }, { 0,29926 }, { 0, 0 }, { 0, 0 }, { 32,5580 }, + { 0, 41 }, { 0,29921 }, { 33,5833 }, { 0, 0 }, { 35,5833 }, + { 0, 0 }, { 37,5833 }, { 38,5833 }, { 0, 55 }, { 0,29913 }, { 0, 0 }, { 42,5833 }, { 43,5833 }, { 0, 0 }, { 45,5833 }, - { 0, 0 }, { 47,5833 }, { 0, 17 }, { 0,27169 }, { 0, 20 }, - { 0,27167 }, { 0, 19 }, { 0,27165 }, { 0, 0 }, { 0, 17 }, - { 0,27162 }, { 0, 42 }, { 0,27160 }, { 0, 0 }, { 60,5833 }, + { 0, 0 }, { 47,5833 }, { 0, 17 }, { 0,29904 }, { 0, 20 }, + { 0,29902 }, { 0, 19 }, { 0,29900 }, { 0, 0 }, { 0, 17 }, + { 0,29897 }, { 0, 42 }, { 0,29895 }, { 0, 0 }, { 60,5833 }, { 61,5844 }, { 62,5833 }, { 63,5833 }, { 64,5833 }, { 42, 348 }, - { 34, 346 }, { 0, 26 }, { 0,27150 }, { 42,9714 }, { 47, 353 }, - { 0, 27 }, { 0,27146 }, { 33,5793 }, { 0, 0 }, { 35,5793 }, + { 34, 346 }, { 0, 26 }, { 0,29885 }, { 42,9714 }, { 47, 353 }, + { 0, 27 }, { 0,29881 }, { 33,5793 }, { 0, 0 }, { 35,5793 }, { 58, 100 }, { 37,5793 }, { 38,5793 }, { 61, 102 }, { 0, 0 }, { 0, 0 }, { 42,5793 }, { 43,5793 }, { 0, 0 }, { 45,5793 }, { 0, 0 }, { 47,5793 }, { 39, 331 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 34, 320 }, { 0, 0 }, { 94,5833 }, { 39, 324 }, - { 96,5833 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 60,5793 }, + { 96,5833 }, { 0, 0 }, { 45,10666 }, { 0, 0 }, { 60,5793 }, { 61,5793 }, { 62,5793 }, { 63,5793 }, { 64,5793 }, { 0, 72 }, - { 0,27112 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 26 }, { 0,27106 }, { 0, 33 }, { 0,27104 }, { 0, 47 }, - { 0,27102 }, { 0, 46 }, { 0,27100 }, { 0, 48 }, { 0,27098 }, - { 0, 9 }, { 0,27096 }, { 0, 0 }, { 124,5833 }, { 0, 0 }, - { 126,5833 }, { 0, 15 }, { 0,27090 }, { 0, 13 }, { 0,27088 }, + { 0,29847 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 26 }, { 0,29841 }, { 0, 33 }, { 0,29839 }, { 0, 47 }, + { 0,29837 }, { 0, 46 }, { 0,29835 }, { 0, 48 }, { 0,29833 }, + { 0, 9 }, { 0,29831 }, { 0, 0 }, { 124,5833 }, { 0, 0 }, + { 126,5833 }, { 0, 15 }, { 0,29825 }, { 0, 13 }, { 0,29823 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94,5793 }, { 0, 0 }, { 96,5793 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36, 8 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -2080,13 +2080,13 @@ static const struct yy_trans_info yy_transition[33677] = { 80,5818 }, { 81,5818 }, { 82,5818 }, { 83,5818 }, { 84,5818 }, { 85,5818 }, { 86,5818 }, { 87,5818 }, { 88,5818 }, { 89,5818 }, - { 90,5818 }, { 85,11553 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 90,5818 }, { 85,11811 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,5818 }, { 0, 0 }, { 97,5818 }, { 98,5818 }, { 99,5818 }, { 100,5818 }, { 101,5818 }, { 102,5818 }, { 103,5818 }, { 104,5818 }, { 105,5818 }, { 106,5818 }, { 107,5818 }, { 108,5818 }, { 109,5818 }, { 110,5818 }, { 111,5818 }, { 112,5818 }, { 113,5818 }, { 114,5818 }, { 115,5818 }, { 116,5818 }, { 117,5818 }, { 118,5818 }, { 119,5818 }, - { 120,5818 }, { 121,5818 }, { 122,5818 }, { 117,11576 }, { 0, 0 }, + { 120,5818 }, { 121,5818 }, { 122,5818 }, { 117,11834 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,5818 }, { 129,5818 }, { 130,5818 }, { 131,5818 }, { 132,5818 }, { 133,5818 }, { 134,5818 }, { 135,5818 }, { 136,5818 }, { 137,5818 }, { 138,5818 }, { 139,5818 }, @@ -2116,29 +2116,29 @@ static const struct yy_trans_info yy_transition[33677] = { 240,5818 }, { 241,5818 }, { 242,5818 }, { 243,5818 }, { 244,5818 }, { 245,5818 }, { 246,5818 }, { 247,5818 }, { 248,5818 }, { 249,5818 }, { 250,5818 }, { 251,5818 }, { 252,5818 }, { 253,5818 }, { 254,5818 }, - { 255,5818 }, { 0, 54 }, { 0,26855 }, { 0, 45 }, { 0,26853 }, - { 0, 12 }, { 0,26851 }, { 0, 0 }, { 0, 0 }, { 0, 8 }, - { 0,26847 }, { 0, 0 }, { 0, 54 }, { 0,26844 }, { 0, 5 }, - { 0,26842 }, { 0, 43 }, { 0,26840 }, { 0, 21 }, { 0,26838 }, - { 0, 19 }, { 0,26836 }, { 0, 18 }, { 0,26834 }, { 0, 29 }, - { 0,26832 }, { 0, 35 }, { 0,26830 }, { 0, 65 }, { 0,26828 }, - { 0, 0 }, { 0, 54 }, { 0,26825 }, { 0, 40 }, { 0,26823 }, - - { 33,5470 }, { 0, 0 }, { 35,5470 }, { 34, 30 }, { 37,5470 }, - { 38,5470 }, { 0, 16 }, { 0,26815 }, { 39, 38 }, { 42,5470 }, + { 255,5818 }, { 0, 54 }, { 0,29590 }, { 0, 45 }, { 0,29588 }, + { 0, 12 }, { 0,29586 }, { 0, 0 }, { 0, 0 }, { 0, 8 }, + { 0,29582 }, { 0, 0 }, { 0, 54 }, { 0,29579 }, { 0, 5 }, + { 0,29577 }, { 0, 43 }, { 0,29575 }, { 0, 21 }, { 0,29573 }, + { 0, 0 }, { 0, 19 }, { 0,29570 }, { 0, 18 }, { 0,29568 }, + { 0, 19 }, { 0,29566 }, { 0, 29 }, { 0,29564 }, { 0, 35 }, + { 0,29562 }, { 0, 54 }, { 0,29560 }, { 0, 65 }, { 0,29558 }, + + { 33,5470 }, { 0, 0 }, { 35,5470 }, { 34, 38 }, { 37,5470 }, + { 38,5470 }, { 0, 40 }, { 0,29550 }, { 39, 50 }, { 42,5470 }, { 43,5470 }, { 33,5459 }, { 45,5470 }, { 35,5459 }, { 47,5470 }, - { 37,5459 }, { 38,5459 }, { 42, 0 }, { 0, 30 }, { 0,26803 }, + { 37,5459 }, { 38,5459 }, { 42, 0 }, { 0, 16 }, { 0,29538 }, { 42,5459 }, { 43,5459 }, { 47, 5 }, { 45,5807 }, { 0, 0 }, { 47,5459 }, { 0, 0 }, { 60,5470 }, { 61,5470 }, { 62,5470 }, - { 63,5470 }, { 64,5470 }, { 0, 31 }, { 0,26789 }, { 0, 24 }, - { 0,26787 }, { 0, 25 }, { 0,26785 }, { 60,5459 }, { 61,5459 }, + { 63,5470 }, { 64,5470 }, { 45,10336 }, { 0, 30 }, { 0,29523 }, + { 0, 0 }, { 45,16159 }, { 0, 0 }, { 60,5459 }, { 61,5459 }, { 62,5459 }, { 63,5459 }, { 64,5459 }, { 46,-277 }, { 0, 0 }, { 48,6046 }, { 49,6046 }, { 50,6046 }, { 51,6046 }, { 52,6046 }, { 53,6046 }, { 54,6046 }, { 55,6046 }, { 56,6046 }, { 57,6046 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 94,5470 }, { 0, 0 }, { 96,5470 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 54 }, { 0,26754 }, { 0, 0 }, + { 0, 31 }, { 0,29501 }, { 0, 24 }, { 0,29499 }, { 0, 25 }, + { 0,29497 }, { 94,5470 }, { 0, 0 }, { 96,5470 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 54 }, { 0,29489 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94,5459 }, { 0, 0 }, { 96,5459 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -2146,7 +2146,7 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 124,5470 }, { 0, 0 }, { 126,5470 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 57 }, - { 0,26722 }, { 33,5369 }, { 124,5459 }, { 35,5369 }, { 126,5459 }, + { 0,29457 }, { 33,5369 }, { 124,5459 }, { 35,5369 }, { 126,5459 }, { 37,5369 }, { 38,5369 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 42,6232 }, { 43,5369 }, { 0, 0 }, { 45,5369 }, { 0, 0 }, { 47,5369 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -2202,7 +2202,7 @@ static const struct yy_trans_info yy_transition[33677] = { 245,6746 }, { 246,6746 }, { 247,6746 }, { 248,6746 }, { 249,6746 }, { 250,6746 }, { 251,6746 }, { 252,6746 }, { 253,6746 }, { 254,6746 }, - { 255,6746 }, { 0, 57 }, { 0,26465 }, { 0, 0 }, { 0, 0 }, + { 255,6746 }, { 0, 57 }, { 0,29200 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -2258,10 +2258,10 @@ static const struct yy_trans_info yy_transition[33677] = { 243,6489 }, { 244,6489 }, { 245,6489 }, { 246,6489 }, { 247,6489 }, { 248,6489 }, { 249,6489 }, { 250,6489 }, { 251,6489 }, { 252,6489 }, - { 253,6489 }, { 254,6489 }, { 255,6489 }, { 0, 54 }, { 0,26208 }, + { 253,6489 }, { 254,6489 }, { 255,6489 }, { 0, 54 }, { 0,28943 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 54 }, - { 0,26197 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0,28932 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -2275,14 +2275,14 @@ static const struct yy_trans_info yy_transition[33677] = { 61,7774 }, { 62,7785 }, { 63,4823 }, { 64,4823 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 60,4812 }, { 61,4812 }, { 62,7841 }, { 63,4812 }, { 64,4812 }, - { 0, 0 }, { 0, 54 }, { 0,26130 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 54 }, { 0,28865 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94,4823 }, { 0, 0 }, { 96,4823 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94,4812 }, - { 0, 0 }, { 96,4812 }, { 0, 0 }, { 0, 71 }, { 0,26098 }, + { 0, 0 }, { 96,4812 }, { 0, 0 }, { 0, 71 }, { 0,28833 }, { 33,4745 }, { 0, 0 }, { 35,4745 }, { 0, 0 }, { 37,4745 }, { 38,4745 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 42,4745 }, { 43,4745 }, { 0, 0 }, { 45,4745 }, { 124,4823 }, { 47,4745 }, @@ -2339,7 +2339,7 @@ static const struct yy_trans_info yy_transition[33677] = { 241,7848 }, { 242,7848 }, { 243,7848 }, { 244,7848 }, { 245,7848 }, { 246,7848 }, { 247,7848 }, { 248,7848 }, { 249,7848 }, { 250,7848 }, { 251,7848 }, { 252,7848 }, { 253,7848 }, { 254,7848 }, { 255,7848 }, - { 0, 71 }, { 0,25841 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 71 }, { 0,28576 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -2395,7 +2395,7 @@ static const struct yy_trans_info yy_transition[33677] = { 239,7591 }, { 240,7591 }, { 241,7591 }, { 242,7591 }, { 243,7591 }, { 244,7591 }, { 245,7591 }, { 246,7591 }, { 247,7591 }, { 248,7591 }, { 249,7591 }, { 250,7591 }, { 251,7591 }, { 252,7591 }, { 253,7591 }, - { 254,7591 }, { 255,7591 }, { 0, 71 }, { 0,25584 }, { 0, 0 }, + { 254,7591 }, { 255,7591 }, { 0, 71 }, { 0,28319 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -2452,7 +2452,7 @@ static const struct yy_trans_info yy_transition[33677] = { 242,7334 }, { 243,7334 }, { 244,7334 }, { 245,7334 }, { 246,7334 }, { 247,7334 }, { 248,7334 }, { 249,7334 }, { 250,7334 }, { 251,7334 }, { 252,7334 }, { 253,7334 }, { 254,7334 }, { 255,7334 }, { 0, 71 }, - { 0,25327 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0,28062 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -2509,7 +2509,7 @@ static const struct yy_trans_info yy_transition[33677] = { 245,7077 }, { 246,7077 }, { 247,7077 }, { 248,7077 }, { 249,7077 }, { 250,7077 }, { 251,7077 }, { 252,7077 }, { 253,7077 }, { 254,7077 }, - { 255,7077 }, { 0, 71 }, { 0,25070 }, { 0, 0 }, { 0, 0 }, + { 255,7077 }, { 0, 71 }, { 0,27805 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -2565,7 +2565,7 @@ static const struct yy_trans_info yy_transition[33677] = { 243,6820 }, { 244,6820 }, { 245,6820 }, { 246,6820 }, { 247,6820 }, { 248,6820 }, { 249,6820 }, { 250,6820 }, { 251,6820 }, { 252,6820 }, - { 253,6820 }, { 254,6820 }, { 255,6820 }, { 0, 71 }, { 0,24813 }, + { 253,6820 }, { 254,6820 }, { 255,6820 }, { 0, 71 }, { 0,27548 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -2622,7 +2622,7 @@ static const struct yy_trans_info yy_transition[33677] = { 241,6563 }, { 242,6563 }, { 243,6563 }, { 244,6563 }, { 245,6563 }, { 246,6563 }, { 247,6563 }, { 248,6563 }, { 249,6563 }, { 250,6563 }, { 251,6563 }, { 252,6563 }, { 253,6563 }, { 254,6563 }, { 255,6563 }, - { 0, 11 }, { 0,24556 }, { 1,6563 }, { 2,6563 }, { 3,6563 }, + { 0, 11 }, { 0,27291 }, { 1,6563 }, { 2,6563 }, { 3,6563 }, { 4,6563 }, { 5,6563 }, { 6,6563 }, { 7,6563 }, { 8,6563 }, { 9,6563 }, { 10,6563 }, { 11,6563 }, { 12,6563 }, { 13,6563 }, { 14,6563 }, { 15,6563 }, { 16,6563 }, { 17,6563 }, { 18,6563 }, @@ -2678,7 +2678,7 @@ static const struct yy_trans_info yy_transition[33677] = { 239,6563 }, { 240,6563 }, { 241,6563 }, { 242,6563 }, { 243,6563 }, { 244,6563 }, { 245,6563 }, { 246,6563 }, { 247,6563 }, { 248,6563 }, { 249,6563 }, { 250,6563 }, { 251,6563 }, { 252,6563 }, { 253,6563 }, - { 254,6563 }, { 255,6563 }, { 256,6563 }, { 0, 6 }, { 0,24298 }, + { 254,6563 }, { 255,6563 }, { 256,6563 }, { 0, 6 }, { 0,27033 }, { 1,6563 }, { 2,6563 }, { 3,6563 }, { 4,6563 }, { 5,6563 }, { 6,6563 }, { 7,6563 }, { 8,6563 }, { 9,6563 }, { 10,6563 }, { 11,6563 }, { 12,6563 }, { 13,6563 }, { 14,6563 }, { 15,6563 }, @@ -2735,7 +2735,7 @@ static const struct yy_trans_info yy_transition[33677] = { 241,6563 }, { 242,6563 }, { 243,6563 }, { 244,6563 }, { 245,6563 }, { 246,6563 }, { 247,6563 }, { 248,6563 }, { 249,6563 }, { 250,6563 }, { 251,6563 }, { 252,6563 }, { 253,6563 }, { 254,6563 }, { 255,6563 }, - { 256,6563 }, { 0, 6 }, { 0,24040 }, { 1,6305 }, { 2,6305 }, + { 256,6563 }, { 0, 6 }, { 0,26775 }, { 1,6305 }, { 2,6305 }, { 3,6305 }, { 4,6305 }, { 5,6305 }, { 6,6305 }, { 7,6305 }, { 8,6305 }, { 9,6305 }, { 10,6305 }, { 11,6305 }, { 12,6305 }, { 13,6305 }, { 14,6305 }, { 15,6305 }, { 16,6305 }, { 17,6305 }, @@ -2792,7 +2792,7 @@ static const struct yy_trans_info yy_transition[33677] = { 243,6305 }, { 244,6305 }, { 245,6305 }, { 246,6305 }, { 247,6305 }, { 248,6305 }, { 249,6305 }, { 250,6305 }, { 251,6305 }, { 252,6305 }, { 253,6305 }, { 254,6305 }, { 255,6305 }, { 256,6305 }, { 0, 44 }, - { 0,23782 }, { 1,6433 }, { 2,6433 }, { 3,6433 }, { 4,6433 }, + { 0,26517 }, { 1,6433 }, { 2,6433 }, { 3,6433 }, { 4,6433 }, { 5,6433 }, { 6,6433 }, { 7,6433 }, { 8,6433 }, { 9,6433 }, { 10,6433 }, { 11,6433 }, { 12,6433 }, { 13,6433 }, { 14,6433 }, @@ -2848,7 +2848,7 @@ static const struct yy_trans_info yy_transition[33677] = { 240,6433 }, { 241,6433 }, { 242,6433 }, { 243,6433 }, { 244,6433 }, { 245,6433 }, { 246,6433 }, { 247,6433 }, { 248,6433 }, { 249,6433 }, { 250,6433 }, { 251,6433 }, { 252,6433 }, { 253,6433 }, { 254,6433 }, - { 255,6433 }, { 256,6433 }, { 0, 10 }, { 0,23524 }, { 1,6433 }, + { 255,6433 }, { 256,6433 }, { 0, 10 }, { 0,26259 }, { 1,6433 }, { 2,6433 }, { 3,6433 }, { 4,6433 }, { 5,6433 }, { 6,6433 }, { 7,6433 }, { 8,6433 }, { 9,6433 }, { 10,6433 }, { 11,6433 }, @@ -2906,7 +2906,7 @@ static const struct yy_trans_info yy_transition[33677] = { 247,6433 }, { 248,6433 }, { 249,6433 }, { 250,6433 }, { 251,6433 }, { 252,6433 }, { 253,6433 }, { 254,6433 }, { 255,6433 }, { 256,6433 }, - { 0, 22 }, { 0,23266 }, { 1,6433 }, { 2,6433 }, { 3,6433 }, + { 0, 22 }, { 0,26001 }, { 1,6433 }, { 2,6433 }, { 3,6433 }, { 4,6433 }, { 5,6433 }, { 6,6433 }, { 7,6433 }, { 8,6433 }, { 9,6433 }, { 10,6433 }, { 11,6433 }, { 12,6433 }, { 13,6433 }, { 14,6433 }, { 15,6433 }, { 16,6433 }, { 17,6433 }, { 18,6433 }, @@ -2962,308 +2962,308 @@ static const struct yy_trans_info yy_transition[33677] = { 244,6433 }, { 245,6433 }, { 246,6433 }, { 247,6433 }, { 248,6433 }, { 249,6433 }, { 250,6433 }, { 251,6433 }, { 252,6433 }, { 253,6433 }, - { 254,6433 }, { 255,6433 }, { 256,6433 }, { 0, 19 }, { 0,23008 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 19 }, { 0,23003 }, + { 254,6433 }, { 255,6433 }, { 256,6433 }, { 0, 19 }, { 0,25743 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 19 }, { 0,25738 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 9,6433 }, { 10,6438 }, { 11,6433 }, { 12,6433 }, { 13,6438 }, { 9,6457 }, { 10,6457 }, { 11,6457 }, { 12,6457 }, { 13,6457 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 19 }, { 0,22979 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 19 }, { 0,25714 }, { 0, 0 }, { 0, 0 }, { 32,6433 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 32,6457 }, { 9,6433 }, { 10,6433 }, { 11,6433 }, - { 12,6433 }, { 13,6433 }, { 0, 0 }, { 39,-3831 }, { 45,-3828 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 45,-3833 }, + { 12,6433 }, { 13,6433 }, { 0, 0 }, { 39,-3830 }, { 45,-3827 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 45,-3828 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 32,6433 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 39,-3855 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 45,-3857 }, { 0, 23 }, - { 0,22932 }, { 1,6433 }, { 2,6433 }, { 3,6433 }, { 4,6433 }, - { 5,6433 }, { 6,6433 }, { 7,6433 }, { 8,6433 }, { 9,6433 }, + { 0, 0 }, { 0, 0 }, { 39,-3854 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 45,-3852 }, { 0, 23 }, + { 0,25667 }, { 1,6691 }, { 2,6691 }, { 3,6691 }, { 4,6691 }, + { 5,6691 }, { 6,6691 }, { 7,6691 }, { 8,6691 }, { 9,6691 }, + + { 10,6691 }, { 11,6691 }, { 12,6691 }, { 13,6691 }, { 14,6691 }, + { 15,6691 }, { 16,6691 }, { 17,6691 }, { 18,6691 }, { 19,6691 }, + { 20,6691 }, { 21,6691 }, { 22,6691 }, { 23,6691 }, { 24,6691 }, + { 25,6691 }, { 26,6691 }, { 27,6691 }, { 28,6691 }, { 29,6691 }, + { 30,6691 }, { 31,6691 }, { 32,6691 }, { 33,6691 }, { 34,6691 }, + { 35,6691 }, { 36,6691 }, { 37,6691 }, { 38,6691 }, { 0, 0 }, + { 40,6691 }, { 41,6691 }, { 42,6691 }, { 43,6691 }, { 44,6691 }, + { 45,6691 }, { 46,6691 }, { 47,6691 }, { 48,6691 }, { 49,6691 }, + { 50,6691 }, { 51,6691 }, { 52,6691 }, { 53,6691 }, { 54,6691 }, + { 55,6691 }, { 56,6691 }, { 57,6691 }, { 58,6691 }, { 59,6691 }, + + { 60,6691 }, { 61,6691 }, { 62,6691 }, { 63,6691 }, { 64,6691 }, + { 65,6691 }, { 66,6691 }, { 67,6691 }, { 68,6691 }, { 69,6691 }, + { 70,6691 }, { 71,6691 }, { 72,6691 }, { 73,6691 }, { 74,6691 }, + { 75,6691 }, { 76,6691 }, { 77,6691 }, { 78,6691 }, { 79,6691 }, + { 80,6691 }, { 81,6691 }, { 82,6691 }, { 83,6691 }, { 84,6691 }, + { 85,6691 }, { 86,6691 }, { 87,6691 }, { 88,6691 }, { 89,6691 }, + { 90,6691 }, { 91,6691 }, { 0, 0 }, { 93,6691 }, { 94,6691 }, + { 95,6691 }, { 96,6691 }, { 97,6691 }, { 98,6691 }, { 99,6691 }, + { 100,6691 }, { 101,6691 }, { 102,6691 }, { 103,6691 }, { 104,6691 }, + { 105,6691 }, { 106,6691 }, { 107,6691 }, { 108,6691 }, { 109,6691 }, + + { 110,6691 }, { 111,6691 }, { 112,6691 }, { 113,6691 }, { 114,6691 }, + { 115,6691 }, { 116,6691 }, { 117,6691 }, { 118,6691 }, { 119,6691 }, + { 120,6691 }, { 121,6691 }, { 122,6691 }, { 123,6691 }, { 124,6691 }, + { 125,6691 }, { 126,6691 }, { 127,6691 }, { 128,6691 }, { 129,6691 }, + { 130,6691 }, { 131,6691 }, { 132,6691 }, { 133,6691 }, { 134,6691 }, + { 135,6691 }, { 136,6691 }, { 137,6691 }, { 138,6691 }, { 139,6691 }, + { 140,6691 }, { 141,6691 }, { 142,6691 }, { 143,6691 }, { 144,6691 }, + { 145,6691 }, { 146,6691 }, { 147,6691 }, { 148,6691 }, { 149,6691 }, + { 150,6691 }, { 151,6691 }, { 152,6691 }, { 153,6691 }, { 154,6691 }, + { 155,6691 }, { 156,6691 }, { 157,6691 }, { 158,6691 }, { 159,6691 }, + + { 160,6691 }, { 161,6691 }, { 162,6691 }, { 163,6691 }, { 164,6691 }, + { 165,6691 }, { 166,6691 }, { 167,6691 }, { 168,6691 }, { 169,6691 }, + { 170,6691 }, { 171,6691 }, { 172,6691 }, { 173,6691 }, { 174,6691 }, + { 175,6691 }, { 176,6691 }, { 177,6691 }, { 178,6691 }, { 179,6691 }, + { 180,6691 }, { 181,6691 }, { 182,6691 }, { 183,6691 }, { 184,6691 }, + { 185,6691 }, { 186,6691 }, { 187,6691 }, { 188,6691 }, { 189,6691 }, + { 190,6691 }, { 191,6691 }, { 192,6691 }, { 193,6691 }, { 194,6691 }, + { 195,6691 }, { 196,6691 }, { 197,6691 }, { 198,6691 }, { 199,6691 }, + { 200,6691 }, { 201,6691 }, { 202,6691 }, { 203,6691 }, { 204,6691 }, + { 205,6691 }, { 206,6691 }, { 207,6691 }, { 208,6691 }, { 209,6691 }, + + { 210,6691 }, { 211,6691 }, { 212,6691 }, { 213,6691 }, { 214,6691 }, + { 215,6691 }, { 216,6691 }, { 217,6691 }, { 218,6691 }, { 219,6691 }, + { 220,6691 }, { 221,6691 }, { 222,6691 }, { 223,6691 }, { 224,6691 }, + { 225,6691 }, { 226,6691 }, { 227,6691 }, { 228,6691 }, { 229,6691 }, + { 230,6691 }, { 231,6691 }, { 232,6691 }, { 233,6691 }, { 234,6691 }, + { 235,6691 }, { 236,6691 }, { 237,6691 }, { 238,6691 }, { 239,6691 }, + { 240,6691 }, { 241,6691 }, { 242,6691 }, { 243,6691 }, { 244,6691 }, + { 245,6691 }, { 246,6691 }, { 247,6691 }, { 248,6691 }, { 249,6691 }, + { 250,6691 }, { 251,6691 }, { 252,6691 }, { 253,6691 }, { 254,6691 }, + { 255,6691 }, { 256,6691 }, { 0, 23 }, { 0,25409 }, { 1,6433 }, - { 10,6433 }, { 11,6433 }, { 12,6433 }, { 13,6433 }, { 14,6433 }, - { 15,6433 }, { 16,6433 }, { 17,6433 }, { 18,6433 }, { 19,6433 }, - { 20,6433 }, { 21,6433 }, { 22,6433 }, { 23,6433 }, { 24,6433 }, - { 25,6433 }, { 26,6433 }, { 27,6433 }, { 28,6433 }, { 29,6433 }, - { 30,6433 }, { 31,6433 }, { 32,6433 }, { 33,6433 }, { 34,6433 }, - { 35,6433 }, { 36,6433 }, { 37,6433 }, { 38,6433 }, { 0, 0 }, - { 40,6433 }, { 41,6433 }, { 42,6433 }, { 43,6433 }, { 44,6433 }, - { 45,6433 }, { 46,6433 }, { 47,6433 }, { 48,6433 }, { 49,6433 }, - { 50,6433 }, { 51,6433 }, { 52,6433 }, { 53,6433 }, { 54,6433 }, - { 55,6433 }, { 56,6433 }, { 57,6433 }, { 58,6433 }, { 59,6433 }, + { 2,6433 }, { 3,6433 }, { 4,6433 }, { 5,6433 }, { 6,6433 }, + { 7,6433 }, { 8,6433 }, { 9,6433 }, { 10,6433 }, { 11,6433 }, + { 12,6433 }, { 13,6433 }, { 14,6433 }, { 15,6433 }, { 16,6433 }, + { 17,6433 }, { 18,6433 }, { 19,6433 }, { 20,6433 }, { 21,6433 }, + { 22,6433 }, { 23,6433 }, { 24,6433 }, { 25,6433 }, { 26,6433 }, + { 27,6433 }, { 28,6433 }, { 29,6433 }, { 30,6433 }, { 31,6433 }, + { 32,6433 }, { 33,6433 }, { 34,6433 }, { 35,6433 }, { 36,6433 }, + { 37,6433 }, { 38,6433 }, { 0, 0 }, { 40,6433 }, { 41,6433 }, + { 42,6433 }, { 43,6433 }, { 44,6433 }, { 45,6433 }, { 46,6433 }, + { 47,6433 }, { 48,6433 }, { 49,6433 }, { 50,6433 }, { 51,6433 }, - { 60,6433 }, { 61,6433 }, { 62,6433 }, { 63,6433 }, { 64,6433 }, - { 65,6433 }, { 66,6433 }, { 67,6433 }, { 68,6433 }, { 69,6433 }, - { 70,6433 }, { 71,6433 }, { 72,6433 }, { 73,6433 }, { 74,6433 }, - { 75,6433 }, { 76,6433 }, { 77,6433 }, { 78,6433 }, { 79,6433 }, - { 80,6433 }, { 81,6433 }, { 82,6433 }, { 83,6433 }, { 84,6433 }, - { 85,6433 }, { 86,6433 }, { 87,6433 }, { 88,6433 }, { 89,6433 }, - { 90,6433 }, { 91,6433 }, { 0, 0 }, { 93,6433 }, { 94,6433 }, - { 95,6433 }, { 96,6433 }, { 97,6433 }, { 98,6433 }, { 99,6433 }, - { 100,6433 }, { 101,6433 }, { 102,6433 }, { 103,6433 }, { 104,6433 }, - { 105,6433 }, { 106,6433 }, { 107,6433 }, { 108,6433 }, { 109,6433 }, + { 52,6433 }, { 53,6433 }, { 54,6433 }, { 55,6433 }, { 56,6433 }, + { 57,6433 }, { 58,6433 }, { 59,6433 }, { 60,6433 }, { 61,6433 }, + { 62,6433 }, { 63,6433 }, { 64,6433 }, { 65,6433 }, { 66,6433 }, + { 67,6433 }, { 68,6433 }, { 69,6433 }, { 70,6433 }, { 71,6433 }, + { 72,6433 }, { 73,6433 }, { 74,6433 }, { 75,6433 }, { 76,6433 }, + { 77,6433 }, { 78,6433 }, { 79,6433 }, { 80,6433 }, { 81,6433 }, + { 82,6433 }, { 83,6433 }, { 84,6433 }, { 85,6433 }, { 86,6433 }, + { 87,6433 }, { 88,6433 }, { 89,6433 }, { 90,6433 }, { 91,6433 }, + { 0, 0 }, { 93,6433 }, { 94,6433 }, { 95,6433 }, { 96,6433 }, + { 97,6433 }, { 98,6433 }, { 99,6433 }, { 100,6433 }, { 101,6433 }, - { 110,6433 }, { 111,6433 }, { 112,6433 }, { 113,6433 }, { 114,6433 }, - { 115,6433 }, { 116,6433 }, { 117,6433 }, { 118,6433 }, { 119,6433 }, - { 120,6433 }, { 121,6433 }, { 122,6433 }, { 123,6433 }, { 124,6433 }, - { 125,6433 }, { 126,6433 }, { 127,6433 }, { 128,6433 }, { 129,6433 }, - { 130,6433 }, { 131,6433 }, { 132,6433 }, { 133,6433 }, { 134,6433 }, - { 135,6433 }, { 136,6433 }, { 137,6433 }, { 138,6433 }, { 139,6433 }, - { 140,6433 }, { 141,6433 }, { 142,6433 }, { 143,6433 }, { 144,6433 }, - { 145,6433 }, { 146,6433 }, { 147,6433 }, { 148,6433 }, { 149,6433 }, - { 150,6433 }, { 151,6433 }, { 152,6433 }, { 153,6433 }, { 154,6433 }, - { 155,6433 }, { 156,6433 }, { 157,6433 }, { 158,6433 }, { 159,6433 }, + { 102,6433 }, { 103,6433 }, { 104,6433 }, { 105,6433 }, { 106,6433 }, + { 107,6433 }, { 108,6433 }, { 109,6433 }, { 110,6433 }, { 111,6433 }, + { 112,6433 }, { 113,6433 }, { 114,6433 }, { 115,6433 }, { 116,6433 }, + { 117,6433 }, { 118,6433 }, { 119,6433 }, { 120,6433 }, { 121,6433 }, + { 122,6433 }, { 123,6433 }, { 124,6433 }, { 125,6433 }, { 126,6433 }, + { 127,6433 }, { 128,6433 }, { 129,6433 }, { 130,6433 }, { 131,6433 }, + { 132,6433 }, { 133,6433 }, { 134,6433 }, { 135,6433 }, { 136,6433 }, + { 137,6433 }, { 138,6433 }, { 139,6433 }, { 140,6433 }, { 141,6433 }, + { 142,6433 }, { 143,6433 }, { 144,6433 }, { 145,6433 }, { 146,6433 }, + { 147,6433 }, { 148,6433 }, { 149,6433 }, { 150,6433 }, { 151,6433 }, - { 160,6433 }, { 161,6433 }, { 162,6433 }, { 163,6433 }, { 164,6433 }, - { 165,6433 }, { 166,6433 }, { 167,6433 }, { 168,6433 }, { 169,6433 }, - { 170,6433 }, { 171,6433 }, { 172,6433 }, { 173,6433 }, { 174,6433 }, - { 175,6433 }, { 176,6433 }, { 177,6433 }, { 178,6433 }, { 179,6433 }, - { 180,6433 }, { 181,6433 }, { 182,6433 }, { 183,6433 }, { 184,6433 }, - { 185,6433 }, { 186,6433 }, { 187,6433 }, { 188,6433 }, { 189,6433 }, - { 190,6433 }, { 191,6433 }, { 192,6433 }, { 193,6433 }, { 194,6433 }, - { 195,6433 }, { 196,6433 }, { 197,6433 }, { 198,6433 }, { 199,6433 }, - { 200,6433 }, { 201,6433 }, { 202,6433 }, { 203,6433 }, { 204,6433 }, - { 205,6433 }, { 206,6433 }, { 207,6433 }, { 208,6433 }, { 209,6433 }, + { 152,6433 }, { 153,6433 }, { 154,6433 }, { 155,6433 }, { 156,6433 }, + { 157,6433 }, { 158,6433 }, { 159,6433 }, { 160,6433 }, { 161,6433 }, + { 162,6433 }, { 163,6433 }, { 164,6433 }, { 165,6433 }, { 166,6433 }, + { 167,6433 }, { 168,6433 }, { 169,6433 }, { 170,6433 }, { 171,6433 }, + { 172,6433 }, { 173,6433 }, { 174,6433 }, { 175,6433 }, { 176,6433 }, + { 177,6433 }, { 178,6433 }, { 179,6433 }, { 180,6433 }, { 181,6433 }, + { 182,6433 }, { 183,6433 }, { 184,6433 }, { 185,6433 }, { 186,6433 }, + { 187,6433 }, { 188,6433 }, { 189,6433 }, { 190,6433 }, { 191,6433 }, + { 192,6433 }, { 193,6433 }, { 194,6433 }, { 195,6433 }, { 196,6433 }, + { 197,6433 }, { 198,6433 }, { 199,6433 }, { 200,6433 }, { 201,6433 }, - { 210,6433 }, { 211,6433 }, { 212,6433 }, { 213,6433 }, { 214,6433 }, - { 215,6433 }, { 216,6433 }, { 217,6433 }, { 218,6433 }, { 219,6433 }, - { 220,6433 }, { 221,6433 }, { 222,6433 }, { 223,6433 }, { 224,6433 }, - { 225,6433 }, { 226,6433 }, { 227,6433 }, { 228,6433 }, { 229,6433 }, - { 230,6433 }, { 231,6433 }, { 232,6433 }, { 233,6433 }, { 234,6433 }, - { 235,6433 }, { 236,6433 }, { 237,6433 }, { 238,6433 }, { 239,6433 }, - { 240,6433 }, { 241,6433 }, { 242,6433 }, { 243,6433 }, { 244,6433 }, - { 245,6433 }, { 246,6433 }, { 247,6433 }, { 248,6433 }, { 249,6433 }, - { 250,6433 }, { 251,6433 }, { 252,6433 }, { 253,6433 }, { 254,6433 }, - { 255,6433 }, { 256,6433 }, { 0, 23 }, { 0,22674 }, { 1,6175 }, - - { 2,6175 }, { 3,6175 }, { 4,6175 }, { 5,6175 }, { 6,6175 }, - { 7,6175 }, { 8,6175 }, { 9,6175 }, { 10,6175 }, { 11,6175 }, - { 12,6175 }, { 13,6175 }, { 14,6175 }, { 15,6175 }, { 16,6175 }, - { 17,6175 }, { 18,6175 }, { 19,6175 }, { 20,6175 }, { 21,6175 }, - { 22,6175 }, { 23,6175 }, { 24,6175 }, { 25,6175 }, { 26,6175 }, - { 27,6175 }, { 28,6175 }, { 29,6175 }, { 30,6175 }, { 31,6175 }, - { 32,6175 }, { 33,6175 }, { 34,6175 }, { 35,6175 }, { 36,6175 }, - { 37,6175 }, { 38,6175 }, { 0, 0 }, { 40,6175 }, { 41,6175 }, - { 42,6175 }, { 43,6175 }, { 44,6175 }, { 45,6175 }, { 46,6175 }, - { 47,6175 }, { 48,6175 }, { 49,6175 }, { 50,6175 }, { 51,6175 }, - - { 52,6175 }, { 53,6175 }, { 54,6175 }, { 55,6175 }, { 56,6175 }, - { 57,6175 }, { 58,6175 }, { 59,6175 }, { 60,6175 }, { 61,6175 }, - { 62,6175 }, { 63,6175 }, { 64,6175 }, { 65,6175 }, { 66,6175 }, - { 67,6175 }, { 68,6175 }, { 69,6175 }, { 70,6175 }, { 71,6175 }, - { 72,6175 }, { 73,6175 }, { 74,6175 }, { 75,6175 }, { 76,6175 }, - { 77,6175 }, { 78,6175 }, { 79,6175 }, { 80,6175 }, { 81,6175 }, - { 82,6175 }, { 83,6175 }, { 84,6175 }, { 85,6175 }, { 86,6175 }, - { 87,6175 }, { 88,6175 }, { 89,6175 }, { 90,6175 }, { 91,6175 }, - { 0, 0 }, { 93,6175 }, { 94,6175 }, { 95,6175 }, { 96,6175 }, - { 97,6175 }, { 98,6175 }, { 99,6175 }, { 100,6175 }, { 101,6175 }, - - { 102,6175 }, { 103,6175 }, { 104,6175 }, { 105,6175 }, { 106,6175 }, - { 107,6175 }, { 108,6175 }, { 109,6175 }, { 110,6175 }, { 111,6175 }, - { 112,6175 }, { 113,6175 }, { 114,6175 }, { 115,6175 }, { 116,6175 }, - { 117,6175 }, { 118,6175 }, { 119,6175 }, { 120,6175 }, { 121,6175 }, - { 122,6175 }, { 123,6175 }, { 124,6175 }, { 125,6175 }, { 126,6175 }, - { 127,6175 }, { 128,6175 }, { 129,6175 }, { 130,6175 }, { 131,6175 }, - { 132,6175 }, { 133,6175 }, { 134,6175 }, { 135,6175 }, { 136,6175 }, - { 137,6175 }, { 138,6175 }, { 139,6175 }, { 140,6175 }, { 141,6175 }, - { 142,6175 }, { 143,6175 }, { 144,6175 }, { 145,6175 }, { 146,6175 }, - { 147,6175 }, { 148,6175 }, { 149,6175 }, { 150,6175 }, { 151,6175 }, - - { 152,6175 }, { 153,6175 }, { 154,6175 }, { 155,6175 }, { 156,6175 }, - { 157,6175 }, { 158,6175 }, { 159,6175 }, { 160,6175 }, { 161,6175 }, - { 162,6175 }, { 163,6175 }, { 164,6175 }, { 165,6175 }, { 166,6175 }, - { 167,6175 }, { 168,6175 }, { 169,6175 }, { 170,6175 }, { 171,6175 }, - { 172,6175 }, { 173,6175 }, { 174,6175 }, { 175,6175 }, { 176,6175 }, - { 177,6175 }, { 178,6175 }, { 179,6175 }, { 180,6175 }, { 181,6175 }, - { 182,6175 }, { 183,6175 }, { 184,6175 }, { 185,6175 }, { 186,6175 }, - { 187,6175 }, { 188,6175 }, { 189,6175 }, { 190,6175 }, { 191,6175 }, - { 192,6175 }, { 193,6175 }, { 194,6175 }, { 195,6175 }, { 196,6175 }, - { 197,6175 }, { 198,6175 }, { 199,6175 }, { 200,6175 }, { 201,6175 }, - - { 202,6175 }, { 203,6175 }, { 204,6175 }, { 205,6175 }, { 206,6175 }, - { 207,6175 }, { 208,6175 }, { 209,6175 }, { 210,6175 }, { 211,6175 }, - { 212,6175 }, { 213,6175 }, { 214,6175 }, { 215,6175 }, { 216,6175 }, - { 217,6175 }, { 218,6175 }, { 219,6175 }, { 220,6175 }, { 221,6175 }, - { 222,6175 }, { 223,6175 }, { 224,6175 }, { 225,6175 }, { 226,6175 }, - { 227,6175 }, { 228,6175 }, { 229,6175 }, { 230,6175 }, { 231,6175 }, - { 232,6175 }, { 233,6175 }, { 234,6175 }, { 235,6175 }, { 236,6175 }, - { 237,6175 }, { 238,6175 }, { 239,6175 }, { 240,6175 }, { 241,6175 }, - { 242,6175 }, { 243,6175 }, { 244,6175 }, { 245,6175 }, { 246,6175 }, - { 247,6175 }, { 248,6175 }, { 249,6175 }, { 250,6175 }, { 251,6175 }, - - { 252,6175 }, { 253,6175 }, { 254,6175 }, { 255,6175 }, { 256,6175 }, - { 0, 32 }, { 0,22416 }, { 1,-4416 }, { 2,-4416 }, { 3,-4416 }, - { 4,-4416 }, { 5,-4416 }, { 6,-4416 }, { 7,-4416 }, { 8,-4416 }, - { 9,-4416 }, { 10,-4416 }, { 11,-4416 }, { 12,-4416 }, { 13,-4416 }, - { 14,-4416 }, { 15,-4416 }, { 16,-4416 }, { 17,-4416 }, { 18,-4416 }, - { 19,-4416 }, { 20,-4416 }, { 21,-4416 }, { 22,-4416 }, { 23,-4416 }, - { 24,-4416 }, { 25,-4416 }, { 26,-4416 }, { 27,-4416 }, { 28,-4416 }, - { 29,-4416 }, { 30,-4416 }, { 31,-4416 }, { 32,-4416 }, { 33,-4416 }, - { 34,-4416 }, { 35,-4416 }, { 36,-4416 }, { 37,-4416 }, { 38,-4416 }, - { 39,-4416 }, { 40,-4416 }, { 41,-4416 }, { 42,-4416 }, { 43,-4416 }, - - { 44,-4416 }, { 45,-4416 }, { 46,-4416 }, { 47,-4416 }, { 48,6175 }, - { 49,6175 }, { 50,6175 }, { 51,6175 }, { 52,6175 }, { 53,6175 }, - { 54,6175 }, { 55,6175 }, { 56,-4416 }, { 57,-4416 }, { 58,-4416 }, - { 59,-4416 }, { 60,-4416 }, { 61,-4416 }, { 62,-4416 }, { 63,-4416 }, - { 64,-4416 }, { 65,-4416 }, { 66,-4416 }, { 67,-4416 }, { 68,-4416 }, - { 69,-4416 }, { 70,-4416 }, { 71,-4416 }, { 72,-4416 }, { 73,-4416 }, - { 74,-4416 }, { 75,-4416 }, { 76,-4416 }, { 77,-4416 }, { 78,-4416 }, - { 79,-4416 }, { 80,-4416 }, { 81,-4416 }, { 82,-4416 }, { 83,-4416 }, - { 84,-4416 }, { 85,6183 }, { 86,-4416 }, { 87,-4416 }, { 88,-4416 }, - { 89,-4416 }, { 90,-4416 }, { 91,-4416 }, { 92,-4416 }, { 93,-4416 }, - - { 94,-4416 }, { 95,-4416 }, { 96,-4416 }, { 97,-4416 }, { 98,-4416 }, - { 99,-4416 }, { 100,-4416 }, { 101,-4416 }, { 102,-4416 }, { 103,-4416 }, - { 104,-4416 }, { 105,-4416 }, { 106,-4416 }, { 107,-4416 }, { 108,-4416 }, - { 109,-4416 }, { 110,-4416 }, { 111,-4416 }, { 112,-4416 }, { 113,-4416 }, - { 114,-4416 }, { 115,-4416 }, { 116,-4416 }, { 117,6206 }, { 118,-4416 }, - { 119,-4416 }, { 120,6244 }, { 121,-4416 }, { 122,-4416 }, { 123,-4416 }, - { 124,-4416 }, { 125,-4416 }, { 126,-4416 }, { 127,-4416 }, { 128,-4416 }, - { 129,-4416 }, { 130,-4416 }, { 131,-4416 }, { 132,-4416 }, { 133,-4416 }, - { 134,-4416 }, { 135,-4416 }, { 136,-4416 }, { 137,-4416 }, { 138,-4416 }, - { 139,-4416 }, { 140,-4416 }, { 141,-4416 }, { 142,-4416 }, { 143,-4416 }, - - { 144,-4416 }, { 145,-4416 }, { 146,-4416 }, { 147,-4416 }, { 148,-4416 }, - { 149,-4416 }, { 150,-4416 }, { 151,-4416 }, { 152,-4416 }, { 153,-4416 }, - { 154,-4416 }, { 155,-4416 }, { 156,-4416 }, { 157,-4416 }, { 158,-4416 }, - { 159,-4416 }, { 160,-4416 }, { 161,-4416 }, { 162,-4416 }, { 163,-4416 }, - { 164,-4416 }, { 165,-4416 }, { 166,-4416 }, { 167,-4416 }, { 168,-4416 }, - { 169,-4416 }, { 170,-4416 }, { 171,-4416 }, { 172,-4416 }, { 173,-4416 }, - { 174,-4416 }, { 175,-4416 }, { 176,-4416 }, { 177,-4416 }, { 178,-4416 }, - { 179,-4416 }, { 180,-4416 }, { 181,-4416 }, { 182,-4416 }, { 183,-4416 }, - { 184,-4416 }, { 185,-4416 }, { 186,-4416 }, { 187,-4416 }, { 188,-4416 }, - { 189,-4416 }, { 190,-4416 }, { 191,-4416 }, { 192,-4416 }, { 193,-4416 }, - - { 194,-4416 }, { 195,-4416 }, { 196,-4416 }, { 197,-4416 }, { 198,-4416 }, - { 199,-4416 }, { 200,-4416 }, { 201,-4416 }, { 202,-4416 }, { 203,-4416 }, - { 204,-4416 }, { 205,-4416 }, { 206,-4416 }, { 207,-4416 }, { 208,-4416 }, - { 209,-4416 }, { 210,-4416 }, { 211,-4416 }, { 212,-4416 }, { 213,-4416 }, - { 214,-4416 }, { 215,-4416 }, { 216,-4416 }, { 217,-4416 }, { 218,-4416 }, - { 219,-4416 }, { 220,-4416 }, { 221,-4416 }, { 222,-4416 }, { 223,-4416 }, - { 224,-4416 }, { 225,-4416 }, { 226,-4416 }, { 227,-4416 }, { 228,-4416 }, - { 229,-4416 }, { 230,-4416 }, { 231,-4416 }, { 232,-4416 }, { 233,-4416 }, - { 234,-4416 }, { 235,-4416 }, { 236,-4416 }, { 237,-4416 }, { 238,-4416 }, - { 239,-4416 }, { 240,-4416 }, { 241,-4416 }, { 242,-4416 }, { 243,-4416 }, - - { 244,-4416 }, { 245,-4416 }, { 246,-4416 }, { 247,-4416 }, { 248,-4416 }, - { 249,-4416 }, { 250,-4416 }, { 251,-4416 }, { 252,-4416 }, { 253,-4416 }, - { 254,-4416 }, { 255,-4416 }, { 256,-4416 }, { 0, 36 }, { 0,22158 }, - { 1,6090 }, { 2,6090 }, { 3,6090 }, { 4,6090 }, { 5,6090 }, - { 6,6090 }, { 7,6090 }, { 8,6090 }, { 9,6090 }, { 10,6090 }, - { 11,6090 }, { 12,6090 }, { 13,6090 }, { 14,6090 }, { 15,6090 }, - { 16,6090 }, { 17,6090 }, { 18,6090 }, { 19,6090 }, { 20,6090 }, - { 21,6090 }, { 22,6090 }, { 23,6090 }, { 24,6090 }, { 25,6090 }, - { 26,6090 }, { 27,6090 }, { 28,6090 }, { 29,6090 }, { 30,6090 }, - { 31,6090 }, { 32,6090 }, { 33,6090 }, { 34,6090 }, { 35,6090 }, - - { 0, 0 }, { 37,6090 }, { 38,6090 }, { 39,6090 }, { 40,6090 }, - { 41,6090 }, { 42,6090 }, { 43,6090 }, { 44,6090 }, { 45,6090 }, - { 46,6090 }, { 47,6090 }, { 48,6090 }, { 49,6090 }, { 50,6090 }, - { 51,6090 }, { 52,6090 }, { 53,6090 }, { 54,6090 }, { 55,6090 }, - { 56,6090 }, { 57,6090 }, { 58,6090 }, { 59,6090 }, { 60,6090 }, - { 61,6090 }, { 62,6090 }, { 63,6090 }, { 64,6090 }, { 65,6090 }, - { 66,6090 }, { 67,6090 }, { 68,6090 }, { 69,6090 }, { 70,6090 }, - { 71,6090 }, { 72,6090 }, { 73,6090 }, { 74,6090 }, { 75,6090 }, - { 76,6090 }, { 77,6090 }, { 78,6090 }, { 79,6090 }, { 80,6090 }, - { 81,6090 }, { 82,6090 }, { 83,6090 }, { 84,6090 }, { 85,6090 }, - - { 86,6090 }, { 87,6090 }, { 88,6090 }, { 89,6090 }, { 90,6090 }, - { 91,6090 }, { 92,6090 }, { 93,6090 }, { 94,6090 }, { 95,6090 }, - { 96,6090 }, { 97,6090 }, { 98,6090 }, { 99,6090 }, { 100,6090 }, - { 101,6090 }, { 102,6090 }, { 103,6090 }, { 104,6090 }, { 105,6090 }, - { 106,6090 }, { 107,6090 }, { 108,6090 }, { 109,6090 }, { 110,6090 }, - { 111,6090 }, { 112,6090 }, { 113,6090 }, { 114,6090 }, { 115,6090 }, - { 116,6090 }, { 117,6090 }, { 118,6090 }, { 119,6090 }, { 120,6090 }, - { 121,6090 }, { 122,6090 }, { 123,6090 }, { 124,6090 }, { 125,6090 }, - { 126,6090 }, { 127,6090 }, { 128,6090 }, { 129,6090 }, { 130,6090 }, - { 131,6090 }, { 132,6090 }, { 133,6090 }, { 134,6090 }, { 135,6090 }, - - { 136,6090 }, { 137,6090 }, { 138,6090 }, { 139,6090 }, { 140,6090 }, - { 141,6090 }, { 142,6090 }, { 143,6090 }, { 144,6090 }, { 145,6090 }, - { 146,6090 }, { 147,6090 }, { 148,6090 }, { 149,6090 }, { 150,6090 }, - { 151,6090 }, { 152,6090 }, { 153,6090 }, { 154,6090 }, { 155,6090 }, - { 156,6090 }, { 157,6090 }, { 158,6090 }, { 159,6090 }, { 160,6090 }, - { 161,6090 }, { 162,6090 }, { 163,6090 }, { 164,6090 }, { 165,6090 }, - { 166,6090 }, { 167,6090 }, { 168,6090 }, { 169,6090 }, { 170,6090 }, - { 171,6090 }, { 172,6090 }, { 173,6090 }, { 174,6090 }, { 175,6090 }, - { 176,6090 }, { 177,6090 }, { 178,6090 }, { 179,6090 }, { 180,6090 }, - { 181,6090 }, { 182,6090 }, { 183,6090 }, { 184,6090 }, { 185,6090 }, - - { 186,6090 }, { 187,6090 }, { 188,6090 }, { 189,6090 }, { 190,6090 }, - { 191,6090 }, { 192,6090 }, { 193,6090 }, { 194,6090 }, { 195,6090 }, - { 196,6090 }, { 197,6090 }, { 198,6090 }, { 199,6090 }, { 200,6090 }, - { 201,6090 }, { 202,6090 }, { 203,6090 }, { 204,6090 }, { 205,6090 }, - { 206,6090 }, { 207,6090 }, { 208,6090 }, { 209,6090 }, { 210,6090 }, - { 211,6090 }, { 212,6090 }, { 213,6090 }, { 214,6090 }, { 215,6090 }, - { 216,6090 }, { 217,6090 }, { 218,6090 }, { 219,6090 }, { 220,6090 }, - { 221,6090 }, { 222,6090 }, { 223,6090 }, { 224,6090 }, { 225,6090 }, - { 226,6090 }, { 227,6090 }, { 228,6090 }, { 229,6090 }, { 230,6090 }, - { 231,6090 }, { 232,6090 }, { 233,6090 }, { 234,6090 }, { 235,6090 }, - - { 236,6090 }, { 237,6090 }, { 238,6090 }, { 239,6090 }, { 240,6090 }, - { 241,6090 }, { 242,6090 }, { 243,6090 }, { 244,6090 }, { 245,6090 }, - { 246,6090 }, { 247,6090 }, { 248,6090 }, { 249,6090 }, { 250,6090 }, - { 251,6090 }, { 252,6090 }, { 253,6090 }, { 254,6090 }, { 255,6090 }, - { 256,6090 }, { 0, 36 }, { 0,21900 }, { 1,5832 }, { 2,5832 }, - { 3,5832 }, { 4,5832 }, { 5,5832 }, { 6,5832 }, { 7,5832 }, - { 8,5832 }, { 9,5832 }, { 10,5832 }, { 11,5832 }, { 12,5832 }, - { 13,5832 }, { 14,5832 }, { 15,5832 }, { 16,5832 }, { 17,5832 }, - { 18,5832 }, { 19,5832 }, { 20,5832 }, { 21,5832 }, { 22,5832 }, - { 23,5832 }, { 24,5832 }, { 25,5832 }, { 26,5832 }, { 27,5832 }, - - { 28,5832 }, { 29,5832 }, { 30,5832 }, { 31,5832 }, { 32,5832 }, - { 33,5832 }, { 34,5832 }, { 35,5832 }, { 0, 0 }, { 37,5832 }, - { 38,5832 }, { 39,5832 }, { 40,5832 }, { 41,5832 }, { 42,5832 }, - { 43,5832 }, { 44,5832 }, { 45,5832 }, { 46,5832 }, { 47,5832 }, - { 48,5832 }, { 49,5832 }, { 50,5832 }, { 51,5832 }, { 52,5832 }, - { 53,5832 }, { 54,5832 }, { 55,5832 }, { 56,5832 }, { 57,5832 }, - { 58,5832 }, { 59,5832 }, { 60,5832 }, { 61,5832 }, { 62,5832 }, - { 63,5832 }, { 64,5832 }, { 65,5832 }, { 66,5832 }, { 67,5832 }, - { 68,5832 }, { 69,5832 }, { 70,5832 }, { 71,5832 }, { 72,5832 }, - { 73,5832 }, { 74,5832 }, { 75,5832 }, { 76,5832 }, { 77,5832 }, - - { 78,5832 }, { 79,5832 }, { 80,5832 }, { 81,5832 }, { 82,5832 }, - { 83,5832 }, { 84,5832 }, { 85,5832 }, { 86,5832 }, { 87,5832 }, - { 88,5832 }, { 89,5832 }, { 90,5832 }, { 91,5832 }, { 92,5832 }, - { 93,5832 }, { 94,5832 }, { 95,5832 }, { 96,5832 }, { 97,5832 }, - { 98,5832 }, { 99,5832 }, { 100,5832 }, { 101,5832 }, { 102,5832 }, - { 103,5832 }, { 104,5832 }, { 105,5832 }, { 106,5832 }, { 107,5832 }, - { 108,5832 }, { 109,5832 }, { 110,5832 }, { 111,5832 }, { 112,5832 }, - { 113,5832 }, { 114,5832 }, { 115,5832 }, { 116,5832 }, { 117,5832 }, - { 118,5832 }, { 119,5832 }, { 120,5832 }, { 121,5832 }, { 122,5832 }, - { 123,5832 }, { 124,5832 }, { 125,5832 }, { 126,5832 }, { 127,5832 }, - - { 128,5832 }, { 129,5832 }, { 130,5832 }, { 131,5832 }, { 132,5832 }, - { 133,5832 }, { 134,5832 }, { 135,5832 }, { 136,5832 }, { 137,5832 }, - { 138,5832 }, { 139,5832 }, { 140,5832 }, { 141,5832 }, { 142,5832 }, - { 143,5832 }, { 144,5832 }, { 145,5832 }, { 146,5832 }, { 147,5832 }, - { 148,5832 }, { 149,5832 }, { 150,5832 }, { 151,5832 }, { 152,5832 }, - { 153,5832 }, { 154,5832 }, { 155,5832 }, { 156,5832 }, { 157,5832 }, - { 158,5832 }, { 159,5832 }, { 160,5832 }, { 161,5832 }, { 162,5832 }, - { 163,5832 }, { 164,5832 }, { 165,5832 }, { 166,5832 }, { 167,5832 }, - { 168,5832 }, { 169,5832 }, { 170,5832 }, { 171,5832 }, { 172,5832 }, - { 173,5832 }, { 174,5832 }, { 175,5832 }, { 176,5832 }, { 177,5832 }, - - { 178,5832 }, { 179,5832 }, { 180,5832 }, { 181,5832 }, { 182,5832 }, - { 183,5832 }, { 184,5832 }, { 185,5832 }, { 186,5832 }, { 187,5832 }, - { 188,5832 }, { 189,5832 }, { 190,5832 }, { 191,5832 }, { 192,5832 }, - { 193,5832 }, { 194,5832 }, { 195,5832 }, { 196,5832 }, { 197,5832 }, - { 198,5832 }, { 199,5832 }, { 200,5832 }, { 201,5832 }, { 202,5832 }, - { 203,5832 }, { 204,5832 }, { 205,5832 }, { 206,5832 }, { 207,5832 }, - { 208,5832 }, { 209,5832 }, { 210,5832 }, { 211,5832 }, { 212,5832 }, - { 213,5832 }, { 214,5832 }, { 215,5832 }, { 216,5832 }, { 217,5832 }, - { 218,5832 }, { 219,5832 }, { 220,5832 }, { 221,5832 }, { 222,5832 }, - { 223,5832 }, { 224,5832 }, { 225,5832 }, { 226,5832 }, { 227,5832 }, - - { 228,5832 }, { 229,5832 }, { 230,5832 }, { 231,5832 }, { 232,5832 }, - { 233,5832 }, { 234,5832 }, { 235,5832 }, { 236,5832 }, { 237,5832 }, - { 238,5832 }, { 239,5832 }, { 240,5832 }, { 241,5832 }, { 242,5832 }, - { 243,5832 }, { 244,5832 }, { 245,5832 }, { 246,5832 }, { 247,5832 }, - { 248,5832 }, { 249,5832 }, { 250,5832 }, { 251,5832 }, { 252,5832 }, - { 253,5832 }, { 254,5832 }, { 255,5832 }, { 256,5832 }, { 0, 38 }, - { 0,21642 }, { 0, 1 }, { 0,21640 }, { 0, 0 }, { 0, 0 }, + { 202,6433 }, { 203,6433 }, { 204,6433 }, { 205,6433 }, { 206,6433 }, + { 207,6433 }, { 208,6433 }, { 209,6433 }, { 210,6433 }, { 211,6433 }, + { 212,6433 }, { 213,6433 }, { 214,6433 }, { 215,6433 }, { 216,6433 }, + { 217,6433 }, { 218,6433 }, { 219,6433 }, { 220,6433 }, { 221,6433 }, + { 222,6433 }, { 223,6433 }, { 224,6433 }, { 225,6433 }, { 226,6433 }, + { 227,6433 }, { 228,6433 }, { 229,6433 }, { 230,6433 }, { 231,6433 }, + { 232,6433 }, { 233,6433 }, { 234,6433 }, { 235,6433 }, { 236,6433 }, + { 237,6433 }, { 238,6433 }, { 239,6433 }, { 240,6433 }, { 241,6433 }, + { 242,6433 }, { 243,6433 }, { 244,6433 }, { 245,6433 }, { 246,6433 }, + { 247,6433 }, { 248,6433 }, { 249,6433 }, { 250,6433 }, { 251,6433 }, + + { 252,6433 }, { 253,6433 }, { 254,6433 }, { 255,6433 }, { 256,6433 }, + { 0, 32 }, { 0,25151 }, { 1,-4413 }, { 2,-4413 }, { 3,-4413 }, + { 4,-4413 }, { 5,-4413 }, { 6,-4413 }, { 7,-4413 }, { 8,-4413 }, + { 9,-4413 }, { 10,-4413 }, { 11,-4413 }, { 12,-4413 }, { 13,-4413 }, + { 14,-4413 }, { 15,-4413 }, { 16,-4413 }, { 17,-4413 }, { 18,-4413 }, + { 19,-4413 }, { 20,-4413 }, { 21,-4413 }, { 22,-4413 }, { 23,-4413 }, + { 24,-4413 }, { 25,-4413 }, { 26,-4413 }, { 27,-4413 }, { 28,-4413 }, + { 29,-4413 }, { 30,-4413 }, { 31,-4413 }, { 32,-4413 }, { 33,-4413 }, + { 34,-4413 }, { 35,-4413 }, { 36,-4413 }, { 37,-4413 }, { 38,-4413 }, + { 39,-4413 }, { 40,-4413 }, { 41,-4413 }, { 42,-4413 }, { 43,-4413 }, + + { 44,-4413 }, { 45,-4413 }, { 46,-4413 }, { 47,-4413 }, { 48,6433 }, + { 49,6433 }, { 50,6433 }, { 51,6433 }, { 52,6433 }, { 53,6433 }, + { 54,6433 }, { 55,6433 }, { 56,-4413 }, { 57,-4413 }, { 58,-4413 }, + { 59,-4413 }, { 60,-4413 }, { 61,-4413 }, { 62,-4413 }, { 63,-4413 }, + { 64,-4413 }, { 65,-4413 }, { 66,-4413 }, { 67,-4413 }, { 68,-4413 }, + { 69,-4413 }, { 70,-4413 }, { 71,-4413 }, { 72,-4413 }, { 73,-4413 }, + { 74,-4413 }, { 75,-4413 }, { 76,-4413 }, { 77,-4413 }, { 78,-4413 }, + { 79,-4413 }, { 80,-4413 }, { 81,-4413 }, { 82,-4413 }, { 83,-4413 }, + { 84,-4413 }, { 85,6441 }, { 86,-4413 }, { 87,-4413 }, { 88,-4413 }, + { 89,-4413 }, { 90,-4413 }, { 91,-4413 }, { 92,-4413 }, { 93,-4413 }, + + { 94,-4413 }, { 95,-4413 }, { 96,-4413 }, { 97,-4413 }, { 98,-4413 }, + { 99,-4413 }, { 100,-4413 }, { 101,-4413 }, { 102,-4413 }, { 103,-4413 }, + { 104,-4413 }, { 105,-4413 }, { 106,-4413 }, { 107,-4413 }, { 108,-4413 }, + { 109,-4413 }, { 110,-4413 }, { 111,-4413 }, { 112,-4413 }, { 113,-4413 }, + { 114,-4413 }, { 115,-4413 }, { 116,-4413 }, { 117,6464 }, { 118,-4413 }, + { 119,-4413 }, { 120,6502 }, { 121,-4413 }, { 122,-4413 }, { 123,-4413 }, + { 124,-4413 }, { 125,-4413 }, { 126,-4413 }, { 127,-4413 }, { 128,-4413 }, + { 129,-4413 }, { 130,-4413 }, { 131,-4413 }, { 132,-4413 }, { 133,-4413 }, + { 134,-4413 }, { 135,-4413 }, { 136,-4413 }, { 137,-4413 }, { 138,-4413 }, + { 139,-4413 }, { 140,-4413 }, { 141,-4413 }, { 142,-4413 }, { 143,-4413 }, + + { 144,-4413 }, { 145,-4413 }, { 146,-4413 }, { 147,-4413 }, { 148,-4413 }, + { 149,-4413 }, { 150,-4413 }, { 151,-4413 }, { 152,-4413 }, { 153,-4413 }, + { 154,-4413 }, { 155,-4413 }, { 156,-4413 }, { 157,-4413 }, { 158,-4413 }, + { 159,-4413 }, { 160,-4413 }, { 161,-4413 }, { 162,-4413 }, { 163,-4413 }, + { 164,-4413 }, { 165,-4413 }, { 166,-4413 }, { 167,-4413 }, { 168,-4413 }, + { 169,-4413 }, { 170,-4413 }, { 171,-4413 }, { 172,-4413 }, { 173,-4413 }, + { 174,-4413 }, { 175,-4413 }, { 176,-4413 }, { 177,-4413 }, { 178,-4413 }, + { 179,-4413 }, { 180,-4413 }, { 181,-4413 }, { 182,-4413 }, { 183,-4413 }, + { 184,-4413 }, { 185,-4413 }, { 186,-4413 }, { 187,-4413 }, { 188,-4413 }, + { 189,-4413 }, { 190,-4413 }, { 191,-4413 }, { 192,-4413 }, { 193,-4413 }, + + { 194,-4413 }, { 195,-4413 }, { 196,-4413 }, { 197,-4413 }, { 198,-4413 }, + { 199,-4413 }, { 200,-4413 }, { 201,-4413 }, { 202,-4413 }, { 203,-4413 }, + { 204,-4413 }, { 205,-4413 }, { 206,-4413 }, { 207,-4413 }, { 208,-4413 }, + { 209,-4413 }, { 210,-4413 }, { 211,-4413 }, { 212,-4413 }, { 213,-4413 }, + { 214,-4413 }, { 215,-4413 }, { 216,-4413 }, { 217,-4413 }, { 218,-4413 }, + { 219,-4413 }, { 220,-4413 }, { 221,-4413 }, { 222,-4413 }, { 223,-4413 }, + { 224,-4413 }, { 225,-4413 }, { 226,-4413 }, { 227,-4413 }, { 228,-4413 }, + { 229,-4413 }, { 230,-4413 }, { 231,-4413 }, { 232,-4413 }, { 233,-4413 }, + { 234,-4413 }, { 235,-4413 }, { 236,-4413 }, { 237,-4413 }, { 238,-4413 }, + { 239,-4413 }, { 240,-4413 }, { 241,-4413 }, { 242,-4413 }, { 243,-4413 }, + + { 244,-4413 }, { 245,-4413 }, { 246,-4413 }, { 247,-4413 }, { 248,-4413 }, + { 249,-4413 }, { 250,-4413 }, { 251,-4413 }, { 252,-4413 }, { 253,-4413 }, + { 254,-4413 }, { 255,-4413 }, { 256,-4413 }, { 0, 36 }, { 0,24893 }, + { 1,6348 }, { 2,6348 }, { 3,6348 }, { 4,6348 }, { 5,6348 }, + { 6,6348 }, { 7,6348 }, { 8,6348 }, { 9,6348 }, { 10,6348 }, + { 11,6348 }, { 12,6348 }, { 13,6348 }, { 14,6348 }, { 15,6348 }, + { 16,6348 }, { 17,6348 }, { 18,6348 }, { 19,6348 }, { 20,6348 }, + { 21,6348 }, { 22,6348 }, { 23,6348 }, { 24,6348 }, { 25,6348 }, + { 26,6348 }, { 27,6348 }, { 28,6348 }, { 29,6348 }, { 30,6348 }, + { 31,6348 }, { 32,6348 }, { 33,6348 }, { 34,6348 }, { 35,6348 }, + + { 0, 0 }, { 37,6348 }, { 38,6348 }, { 39,6348 }, { 40,6348 }, + { 41,6348 }, { 42,6348 }, { 43,6348 }, { 44,6348 }, { 45,6348 }, + { 46,6348 }, { 47,6348 }, { 48,6348 }, { 49,6348 }, { 50,6348 }, + { 51,6348 }, { 52,6348 }, { 53,6348 }, { 54,6348 }, { 55,6348 }, + { 56,6348 }, { 57,6348 }, { 58,6348 }, { 59,6348 }, { 60,6348 }, + { 61,6348 }, { 62,6348 }, { 63,6348 }, { 64,6348 }, { 65,6348 }, + { 66,6348 }, { 67,6348 }, { 68,6348 }, { 69,6348 }, { 70,6348 }, + { 71,6348 }, { 72,6348 }, { 73,6348 }, { 74,6348 }, { 75,6348 }, + { 76,6348 }, { 77,6348 }, { 78,6348 }, { 79,6348 }, { 80,6348 }, + { 81,6348 }, { 82,6348 }, { 83,6348 }, { 84,6348 }, { 85,6348 }, + + { 86,6348 }, { 87,6348 }, { 88,6348 }, { 89,6348 }, { 90,6348 }, + { 91,6348 }, { 92,6348 }, { 93,6348 }, { 94,6348 }, { 95,6348 }, + { 96,6348 }, { 97,6348 }, { 98,6348 }, { 99,6348 }, { 100,6348 }, + { 101,6348 }, { 102,6348 }, { 103,6348 }, { 104,6348 }, { 105,6348 }, + { 106,6348 }, { 107,6348 }, { 108,6348 }, { 109,6348 }, { 110,6348 }, + { 111,6348 }, { 112,6348 }, { 113,6348 }, { 114,6348 }, { 115,6348 }, + { 116,6348 }, { 117,6348 }, { 118,6348 }, { 119,6348 }, { 120,6348 }, + { 121,6348 }, { 122,6348 }, { 123,6348 }, { 124,6348 }, { 125,6348 }, + { 126,6348 }, { 127,6348 }, { 128,6348 }, { 129,6348 }, { 130,6348 }, + { 131,6348 }, { 132,6348 }, { 133,6348 }, { 134,6348 }, { 135,6348 }, + + { 136,6348 }, { 137,6348 }, { 138,6348 }, { 139,6348 }, { 140,6348 }, + { 141,6348 }, { 142,6348 }, { 143,6348 }, { 144,6348 }, { 145,6348 }, + { 146,6348 }, { 147,6348 }, { 148,6348 }, { 149,6348 }, { 150,6348 }, + { 151,6348 }, { 152,6348 }, { 153,6348 }, { 154,6348 }, { 155,6348 }, + { 156,6348 }, { 157,6348 }, { 158,6348 }, { 159,6348 }, { 160,6348 }, + { 161,6348 }, { 162,6348 }, { 163,6348 }, { 164,6348 }, { 165,6348 }, + { 166,6348 }, { 167,6348 }, { 168,6348 }, { 169,6348 }, { 170,6348 }, + { 171,6348 }, { 172,6348 }, { 173,6348 }, { 174,6348 }, { 175,6348 }, + { 176,6348 }, { 177,6348 }, { 178,6348 }, { 179,6348 }, { 180,6348 }, + { 181,6348 }, { 182,6348 }, { 183,6348 }, { 184,6348 }, { 185,6348 }, + + { 186,6348 }, { 187,6348 }, { 188,6348 }, { 189,6348 }, { 190,6348 }, + { 191,6348 }, { 192,6348 }, { 193,6348 }, { 194,6348 }, { 195,6348 }, + { 196,6348 }, { 197,6348 }, { 198,6348 }, { 199,6348 }, { 200,6348 }, + { 201,6348 }, { 202,6348 }, { 203,6348 }, { 204,6348 }, { 205,6348 }, + { 206,6348 }, { 207,6348 }, { 208,6348 }, { 209,6348 }, { 210,6348 }, + { 211,6348 }, { 212,6348 }, { 213,6348 }, { 214,6348 }, { 215,6348 }, + { 216,6348 }, { 217,6348 }, { 218,6348 }, { 219,6348 }, { 220,6348 }, + { 221,6348 }, { 222,6348 }, { 223,6348 }, { 224,6348 }, { 225,6348 }, + { 226,6348 }, { 227,6348 }, { 228,6348 }, { 229,6348 }, { 230,6348 }, + { 231,6348 }, { 232,6348 }, { 233,6348 }, { 234,6348 }, { 235,6348 }, + + { 236,6348 }, { 237,6348 }, { 238,6348 }, { 239,6348 }, { 240,6348 }, + { 241,6348 }, { 242,6348 }, { 243,6348 }, { 244,6348 }, { 245,6348 }, + { 246,6348 }, { 247,6348 }, { 248,6348 }, { 249,6348 }, { 250,6348 }, + { 251,6348 }, { 252,6348 }, { 253,6348 }, { 254,6348 }, { 255,6348 }, + { 256,6348 }, { 0, 36 }, { 0,24635 }, { 1,6090 }, { 2,6090 }, + { 3,6090 }, { 4,6090 }, { 5,6090 }, { 6,6090 }, { 7,6090 }, + { 8,6090 }, { 9,6090 }, { 10,6090 }, { 11,6090 }, { 12,6090 }, + { 13,6090 }, { 14,6090 }, { 15,6090 }, { 16,6090 }, { 17,6090 }, + { 18,6090 }, { 19,6090 }, { 20,6090 }, { 21,6090 }, { 22,6090 }, + { 23,6090 }, { 24,6090 }, { 25,6090 }, { 26,6090 }, { 27,6090 }, + + { 28,6090 }, { 29,6090 }, { 30,6090 }, { 31,6090 }, { 32,6090 }, + { 33,6090 }, { 34,6090 }, { 35,6090 }, { 0, 0 }, { 37,6090 }, + { 38,6090 }, { 39,6090 }, { 40,6090 }, { 41,6090 }, { 42,6090 }, + { 43,6090 }, { 44,6090 }, { 45,6090 }, { 46,6090 }, { 47,6090 }, + { 48,6090 }, { 49,6090 }, { 50,6090 }, { 51,6090 }, { 52,6090 }, + { 53,6090 }, { 54,6090 }, { 55,6090 }, { 56,6090 }, { 57,6090 }, + { 58,6090 }, { 59,6090 }, { 60,6090 }, { 61,6090 }, { 62,6090 }, + { 63,6090 }, { 64,6090 }, { 65,6090 }, { 66,6090 }, { 67,6090 }, + { 68,6090 }, { 69,6090 }, { 70,6090 }, { 71,6090 }, { 72,6090 }, + { 73,6090 }, { 74,6090 }, { 75,6090 }, { 76,6090 }, { 77,6090 }, + + { 78,6090 }, { 79,6090 }, { 80,6090 }, { 81,6090 }, { 82,6090 }, + { 83,6090 }, { 84,6090 }, { 85,6090 }, { 86,6090 }, { 87,6090 }, + { 88,6090 }, { 89,6090 }, { 90,6090 }, { 91,6090 }, { 92,6090 }, + { 93,6090 }, { 94,6090 }, { 95,6090 }, { 96,6090 }, { 97,6090 }, + { 98,6090 }, { 99,6090 }, { 100,6090 }, { 101,6090 }, { 102,6090 }, + { 103,6090 }, { 104,6090 }, { 105,6090 }, { 106,6090 }, { 107,6090 }, + { 108,6090 }, { 109,6090 }, { 110,6090 }, { 111,6090 }, { 112,6090 }, + { 113,6090 }, { 114,6090 }, { 115,6090 }, { 116,6090 }, { 117,6090 }, + { 118,6090 }, { 119,6090 }, { 120,6090 }, { 121,6090 }, { 122,6090 }, + { 123,6090 }, { 124,6090 }, { 125,6090 }, { 126,6090 }, { 127,6090 }, + + { 128,6090 }, { 129,6090 }, { 130,6090 }, { 131,6090 }, { 132,6090 }, + { 133,6090 }, { 134,6090 }, { 135,6090 }, { 136,6090 }, { 137,6090 }, + { 138,6090 }, { 139,6090 }, { 140,6090 }, { 141,6090 }, { 142,6090 }, + { 143,6090 }, { 144,6090 }, { 145,6090 }, { 146,6090 }, { 147,6090 }, + { 148,6090 }, { 149,6090 }, { 150,6090 }, { 151,6090 }, { 152,6090 }, + { 153,6090 }, { 154,6090 }, { 155,6090 }, { 156,6090 }, { 157,6090 }, + { 158,6090 }, { 159,6090 }, { 160,6090 }, { 161,6090 }, { 162,6090 }, + { 163,6090 }, { 164,6090 }, { 165,6090 }, { 166,6090 }, { 167,6090 }, + { 168,6090 }, { 169,6090 }, { 170,6090 }, { 171,6090 }, { 172,6090 }, + { 173,6090 }, { 174,6090 }, { 175,6090 }, { 176,6090 }, { 177,6090 }, + + { 178,6090 }, { 179,6090 }, { 180,6090 }, { 181,6090 }, { 182,6090 }, + { 183,6090 }, { 184,6090 }, { 185,6090 }, { 186,6090 }, { 187,6090 }, + { 188,6090 }, { 189,6090 }, { 190,6090 }, { 191,6090 }, { 192,6090 }, + { 193,6090 }, { 194,6090 }, { 195,6090 }, { 196,6090 }, { 197,6090 }, + { 198,6090 }, { 199,6090 }, { 200,6090 }, { 201,6090 }, { 202,6090 }, + { 203,6090 }, { 204,6090 }, { 205,6090 }, { 206,6090 }, { 207,6090 }, + { 208,6090 }, { 209,6090 }, { 210,6090 }, { 211,6090 }, { 212,6090 }, + { 213,6090 }, { 214,6090 }, { 215,6090 }, { 216,6090 }, { 217,6090 }, + { 218,6090 }, { 219,6090 }, { 220,6090 }, { 221,6090 }, { 222,6090 }, + { 223,6090 }, { 224,6090 }, { 225,6090 }, { 226,6090 }, { 227,6090 }, + + { 228,6090 }, { 229,6090 }, { 230,6090 }, { 231,6090 }, { 232,6090 }, + { 233,6090 }, { 234,6090 }, { 235,6090 }, { 236,6090 }, { 237,6090 }, + { 238,6090 }, { 239,6090 }, { 240,6090 }, { 241,6090 }, { 242,6090 }, + { 243,6090 }, { 244,6090 }, { 245,6090 }, { 246,6090 }, { 247,6090 }, + { 248,6090 }, { 249,6090 }, { 250,6090 }, { 251,6090 }, { 252,6090 }, + { 253,6090 }, { 254,6090 }, { 255,6090 }, { 256,6090 }, { 0, 38 }, + { 0,24377 }, { 0, 1 }, { 0,24375 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 9, 0 }, { 10, 0 }, { 11, 0 }, { 12, 0 }, { 13, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -3271,62 +3271,62 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 32, 0 }, - { 0, 0 }, { 36,-5188 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 36,-5185 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,5832 }, { 66,5832 }, { 67,5832 }, { 68,5832 }, { 69,5832 }, + { 65,6090 }, { 66,6090 }, { 67,6090 }, { 68,6090 }, { 69,6090 }, - { 70,5832 }, { 71,5832 }, { 72,5832 }, { 73,5832 }, { 74,5832 }, - { 75,5832 }, { 76,5832 }, { 77,5832 }, { 78,5832 }, { 79,5832 }, - { 80,5832 }, { 81,5832 }, { 82,5832 }, { 83,5832 }, { 84,5832 }, - { 85,5832 }, { 86,5832 }, { 87,5832 }, { 88,5832 }, { 89,5832 }, - { 90,5832 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 95,5832 }, { 0, 0 }, { 97,5832 }, { 98,5832 }, { 99,5832 }, - { 100,5832 }, { 101,5832 }, { 102,5832 }, { 103,5832 }, { 104,5832 }, - { 105,5832 }, { 106,5832 }, { 107,5832 }, { 108,5832 }, { 109,5832 }, - { 110,5832 }, { 111,5832 }, { 112,5832 }, { 113,5832 }, { 114,5832 }, - { 115,5832 }, { 116,5832 }, { 117,5832 }, { 118,5832 }, { 119,5832 }, + { 70,6090 }, { 71,6090 }, { 72,6090 }, { 73,6090 }, { 74,6090 }, + { 75,6090 }, { 76,6090 }, { 77,6090 }, { 78,6090 }, { 79,6090 }, + { 80,6090 }, { 81,6090 }, { 82,6090 }, { 83,6090 }, { 84,6090 }, + { 85,6090 }, { 86,6090 }, { 87,6090 }, { 88,6090 }, { 89,6090 }, + { 90,6090 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,6090 }, { 0, 0 }, { 97,6090 }, { 98,6090 }, { 99,6090 }, + { 100,6090 }, { 101,6090 }, { 102,6090 }, { 103,6090 }, { 104,6090 }, + { 105,6090 }, { 106,6090 }, { 107,6090 }, { 108,6090 }, { 109,6090 }, + { 110,6090 }, { 111,6090 }, { 112,6090 }, { 113,6090 }, { 114,6090 }, + { 115,6090 }, { 116,6090 }, { 117,6090 }, { 118,6090 }, { 119,6090 }, - { 120,5832 }, { 121,5832 }, { 122,5832 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,5832 }, { 129,5832 }, - { 130,5832 }, { 131,5832 }, { 132,5832 }, { 133,5832 }, { 134,5832 }, - { 135,5832 }, { 136,5832 }, { 137,5832 }, { 138,5832 }, { 139,5832 }, - { 140,5832 }, { 141,5832 }, { 142,5832 }, { 143,5832 }, { 144,5832 }, - { 145,5832 }, { 146,5832 }, { 147,5832 }, { 148,5832 }, { 149,5832 }, - { 150,5832 }, { 151,5832 }, { 152,5832 }, { 153,5832 }, { 154,5832 }, - { 155,5832 }, { 156,5832 }, { 157,5832 }, { 158,5832 }, { 159,5832 }, - { 160,5832 }, { 161,5832 }, { 162,5832 }, { 163,5832 }, { 164,5832 }, - { 165,5832 }, { 166,5832 }, { 167,5832 }, { 168,5832 }, { 169,5832 }, + { 120,6090 }, { 121,6090 }, { 122,6090 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,6090 }, { 129,6090 }, + { 130,6090 }, { 131,6090 }, { 132,6090 }, { 133,6090 }, { 134,6090 }, + { 135,6090 }, { 136,6090 }, { 137,6090 }, { 138,6090 }, { 139,6090 }, + { 140,6090 }, { 141,6090 }, { 142,6090 }, { 143,6090 }, { 144,6090 }, + { 145,6090 }, { 146,6090 }, { 147,6090 }, { 148,6090 }, { 149,6090 }, + { 150,6090 }, { 151,6090 }, { 152,6090 }, { 153,6090 }, { 154,6090 }, + { 155,6090 }, { 156,6090 }, { 157,6090 }, { 158,6090 }, { 159,6090 }, + { 160,6090 }, { 161,6090 }, { 162,6090 }, { 163,6090 }, { 164,6090 }, + { 165,6090 }, { 166,6090 }, { 167,6090 }, { 168,6090 }, { 169,6090 }, - { 170,5832 }, { 171,5832 }, { 172,5832 }, { 173,5832 }, { 174,5832 }, - { 175,5832 }, { 176,5832 }, { 177,5832 }, { 178,5832 }, { 179,5832 }, - { 180,5832 }, { 181,5832 }, { 182,5832 }, { 183,5832 }, { 184,5832 }, - { 185,5832 }, { 186,5832 }, { 187,5832 }, { 188,5832 }, { 189,5832 }, - { 190,5832 }, { 191,5832 }, { 192,5832 }, { 193,5832 }, { 194,5832 }, - { 195,5832 }, { 196,5832 }, { 197,5832 }, { 198,5832 }, { 199,5832 }, - { 200,5832 }, { 201,5832 }, { 202,5832 }, { 203,5832 }, { 204,5832 }, - { 205,5832 }, { 206,5832 }, { 207,5832 }, { 208,5832 }, { 209,5832 }, - { 210,5832 }, { 211,5832 }, { 212,5832 }, { 213,5832 }, { 214,5832 }, - { 215,5832 }, { 216,5832 }, { 217,5832 }, { 218,5832 }, { 219,5832 }, + { 170,6090 }, { 171,6090 }, { 172,6090 }, { 173,6090 }, { 174,6090 }, + { 175,6090 }, { 176,6090 }, { 177,6090 }, { 178,6090 }, { 179,6090 }, + { 180,6090 }, { 181,6090 }, { 182,6090 }, { 183,6090 }, { 184,6090 }, + { 185,6090 }, { 186,6090 }, { 187,6090 }, { 188,6090 }, { 189,6090 }, + { 190,6090 }, { 191,6090 }, { 192,6090 }, { 193,6090 }, { 194,6090 }, + { 195,6090 }, { 196,6090 }, { 197,6090 }, { 198,6090 }, { 199,6090 }, + { 200,6090 }, { 201,6090 }, { 202,6090 }, { 203,6090 }, { 204,6090 }, + { 205,6090 }, { 206,6090 }, { 207,6090 }, { 208,6090 }, { 209,6090 }, + { 210,6090 }, { 211,6090 }, { 212,6090 }, { 213,6090 }, { 214,6090 }, + { 215,6090 }, { 216,6090 }, { 217,6090 }, { 218,6090 }, { 219,6090 }, - { 220,5832 }, { 221,5832 }, { 222,5832 }, { 223,5832 }, { 224,5832 }, - { 225,5832 }, { 226,5832 }, { 227,5832 }, { 228,5832 }, { 229,5832 }, - { 230,5832 }, { 231,5832 }, { 232,5832 }, { 233,5832 }, { 234,5832 }, - { 235,5832 }, { 236,5832 }, { 237,5832 }, { 238,5832 }, { 239,5832 }, - { 240,5832 }, { 241,5832 }, { 242,5832 }, { 243,5832 }, { 244,5832 }, - { 245,5832 }, { 246,5832 }, { 247,5832 }, { 248,5832 }, { 249,5832 }, - { 250,5832 }, { 251,5832 }, { 252,5832 }, { 253,5832 }, { 254,5832 }, - { 255,5832 }, { 0, 55 }, { 0,21385 }, { 0, 0 }, { 0, 0 }, + { 220,6090 }, { 221,6090 }, { 222,6090 }, { 223,6090 }, { 224,6090 }, + { 225,6090 }, { 226,6090 }, { 227,6090 }, { 228,6090 }, { 229,6090 }, + { 230,6090 }, { 231,6090 }, { 232,6090 }, { 233,6090 }, { 234,6090 }, + { 235,6090 }, { 236,6090 }, { 237,6090 }, { 238,6090 }, { 239,6090 }, + { 240,6090 }, { 241,6090 }, { 242,6090 }, { 243,6090 }, { 244,6090 }, + { 245,6090 }, { 246,6090 }, { 247,6090 }, { 248,6090 }, { 249,6090 }, + { 250,6090 }, { 251,6090 }, { 252,6090 }, { 253,6090 }, { 254,6090 }, + { 255,6090 }, { 0, 55 }, { 0,24120 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 53 }, { 0,21374 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 53 }, { 0,24109 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 56 }, - { 0,21357 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0,24092 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 33, 0 }, { 0, 0 }, { 35, 0 }, { 0, 0 }, { 37, 0 }, { 38, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 42, 0 }, { 43, 0 }, { 33, -11 }, { 45, 0 }, { 35, -11 }, { 47, 0 }, @@ -3339,7 +3339,7 @@ static const struct yy_trans_info yy_transition[33677] = { 62, -11 }, { 63, -11 }, { 64, -11 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 34 }, { 0,21294 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 34 }, { 0,24029 }, { 0, 0 }, { 0, 0 }, { 94, 0 }, { 0, 0 }, { 96, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94, -11 }, { 0, 0 }, { 96, -11 }, @@ -3350,109 +3350,109 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 124, 0 }, { 0, 0 }, { 126, 0 }, { 36,-5810 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 124, -11 }, { 0, 0 }, { 126, -11 }, - { 0, 0 }, { 48,5823 }, { 49,5823 }, { 50,5823 }, { 51,5823 }, - { 52,5823 }, { 53,5823 }, { 54,5823 }, { 55,5823 }, { 56,5823 }, - { 57,5823 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,5823 }, { 66,5823 }, - { 67,5823 }, { 68,5823 }, { 69,5823 }, { 70,5823 }, { 71,5823 }, - - { 72,5823 }, { 73,5823 }, { 74,5823 }, { 75,5823 }, { 76,5823 }, - { 77,5823 }, { 78,5823 }, { 79,5823 }, { 80,5823 }, { 81,5823 }, - { 82,5823 }, { 83,5823 }, { 84,5823 }, { 85,5823 }, { 86,5823 }, - { 87,5823 }, { 88,5823 }, { 89,5823 }, { 90,5823 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,5823 }, { 0, 0 }, - { 97,5823 }, { 98,5823 }, { 99,5823 }, { 100,5823 }, { 101,5823 }, - { 102,5823 }, { 103,5823 }, { 104,5823 }, { 105,5823 }, { 106,5823 }, - { 107,5823 }, { 108,5823 }, { 109,5823 }, { 110,5823 }, { 111,5823 }, - { 112,5823 }, { 113,5823 }, { 114,5823 }, { 115,5823 }, { 116,5823 }, - { 117,5823 }, { 118,5823 }, { 119,5823 }, { 120,5823 }, { 121,5823 }, - - { 122,5823 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,5823 }, { 129,5823 }, { 130,5823 }, { 131,5823 }, - { 132,5823 }, { 133,5823 }, { 134,5823 }, { 135,5823 }, { 136,5823 }, - { 137,5823 }, { 138,5823 }, { 139,5823 }, { 140,5823 }, { 141,5823 }, - { 142,5823 }, { 143,5823 }, { 144,5823 }, { 145,5823 }, { 146,5823 }, - { 147,5823 }, { 148,5823 }, { 149,5823 }, { 150,5823 }, { 151,5823 }, - { 152,5823 }, { 153,5823 }, { 154,5823 }, { 155,5823 }, { 156,5823 }, - { 157,5823 }, { 158,5823 }, { 159,5823 }, { 160,5823 }, { 161,5823 }, - { 162,5823 }, { 163,5823 }, { 164,5823 }, { 165,5823 }, { 166,5823 }, - { 167,5823 }, { 168,5823 }, { 169,5823 }, { 170,5823 }, { 171,5823 }, - - { 172,5823 }, { 173,5823 }, { 174,5823 }, { 175,5823 }, { 176,5823 }, - { 177,5823 }, { 178,5823 }, { 179,5823 }, { 180,5823 }, { 181,5823 }, - { 182,5823 }, { 183,5823 }, { 184,5823 }, { 185,5823 }, { 186,5823 }, - { 187,5823 }, { 188,5823 }, { 189,5823 }, { 190,5823 }, { 191,5823 }, - { 192,5823 }, { 193,5823 }, { 194,5823 }, { 195,5823 }, { 196,5823 }, - { 197,5823 }, { 198,5823 }, { 199,5823 }, { 200,5823 }, { 201,5823 }, - { 202,5823 }, { 203,5823 }, { 204,5823 }, { 205,5823 }, { 206,5823 }, - { 207,5823 }, { 208,5823 }, { 209,5823 }, { 210,5823 }, { 211,5823 }, - { 212,5823 }, { 213,5823 }, { 214,5823 }, { 215,5823 }, { 216,5823 }, - { 217,5823 }, { 218,5823 }, { 219,5823 }, { 220,5823 }, { 221,5823 }, - - { 222,5823 }, { 223,5823 }, { 224,5823 }, { 225,5823 }, { 226,5823 }, - { 227,5823 }, { 228,5823 }, { 229,5823 }, { 230,5823 }, { 231,5823 }, - { 232,5823 }, { 233,5823 }, { 234,5823 }, { 235,5823 }, { 236,5823 }, - { 237,5823 }, { 238,5823 }, { 239,5823 }, { 240,5823 }, { 241,5823 }, - { 242,5823 }, { 243,5823 }, { 244,5823 }, { 245,5823 }, { 246,5823 }, - { 247,5823 }, { 248,5823 }, { 249,5823 }, { 250,5823 }, { 251,5823 }, - { 252,5823 }, { 253,5823 }, { 254,5823 }, { 255,5823 }, { 0, 2 }, - { 0,21037 }, { 1,5823 }, { 2,5823 }, { 3,5823 }, { 4,5823 }, - { 5,5823 }, { 6,5823 }, { 7,5823 }, { 8,5823 }, { 9,5823 }, - { 0, 0 }, { 11,5823 }, { 12,5823 }, { 0, 0 }, { 14,5823 }, - - { 15,5823 }, { 16,5823 }, { 17,5823 }, { 18,5823 }, { 19,5823 }, - { 20,5823 }, { 21,5823 }, { 22,5823 }, { 23,5823 }, { 24,5823 }, - { 25,5823 }, { 26,5823 }, { 27,5823 }, { 28,5823 }, { 29,5823 }, - { 30,5823 }, { 31,5823 }, { 32,5823 }, { 33,6081 }, { 34,5823 }, - { 35,6081 }, { 36,5823 }, { 37,6081 }, { 38,6081 }, { 39,5823 }, - { 40,5823 }, { 41,5823 }, { 42,6081 }, { 43,6081 }, { 44,5823 }, - { 45,6081 }, { 46,5823 }, { 47,6081 }, { 48,5823 }, { 49,5823 }, - { 50,5823 }, { 51,5823 }, { 52,5823 }, { 53,5823 }, { 54,5823 }, - { 55,5823 }, { 56,5823 }, { 57,5823 }, { 58,5823 }, { 59,5823 }, - { 60,6081 }, { 61,6081 }, { 62,6081 }, { 63,6081 }, { 64,6081 }, - - { 65,5823 }, { 66,5823 }, { 67,5823 }, { 68,5823 }, { 69,5823 }, - { 70,5823 }, { 71,5823 }, { 72,5823 }, { 73,5823 }, { 74,5823 }, - { 75,5823 }, { 76,5823 }, { 77,5823 }, { 78,5823 }, { 79,5823 }, - { 80,5823 }, { 81,5823 }, { 82,5823 }, { 83,5823 }, { 84,5823 }, - { 85,5823 }, { 86,5823 }, { 87,5823 }, { 88,5823 }, { 89,5823 }, - { 90,5823 }, { 91,5823 }, { 92,5823 }, { 93,5823 }, { 94,6081 }, - { 95,5823 }, { 96,6081 }, { 97,5823 }, { 98,5823 }, { 99,5823 }, - { 100,5823 }, { 101,5823 }, { 102,5823 }, { 103,5823 }, { 104,5823 }, - { 105,5823 }, { 106,5823 }, { 107,5823 }, { 108,5823 }, { 109,5823 }, - { 110,5823 }, { 111,5823 }, { 112,5823 }, { 113,5823 }, { 114,5823 }, - - { 115,5823 }, { 116,5823 }, { 117,5823 }, { 118,5823 }, { 119,5823 }, - { 120,5823 }, { 121,5823 }, { 122,5823 }, { 123,5823 }, { 124,6081 }, - { 125,5823 }, { 126,6081 }, { 127,5823 }, { 128,5823 }, { 129,5823 }, - { 130,5823 }, { 131,5823 }, { 132,5823 }, { 133,5823 }, { 134,5823 }, - { 135,5823 }, { 136,5823 }, { 137,5823 }, { 138,5823 }, { 139,5823 }, - { 140,5823 }, { 141,5823 }, { 142,5823 }, { 143,5823 }, { 144,5823 }, - { 145,5823 }, { 146,5823 }, { 147,5823 }, { 148,5823 }, { 149,5823 }, - { 150,5823 }, { 151,5823 }, { 152,5823 }, { 153,5823 }, { 154,5823 }, - { 155,5823 }, { 156,5823 }, { 157,5823 }, { 158,5823 }, { 159,5823 }, - { 160,5823 }, { 161,5823 }, { 162,5823 }, { 163,5823 }, { 164,5823 }, - - { 165,5823 }, { 166,5823 }, { 167,5823 }, { 168,5823 }, { 169,5823 }, - { 170,5823 }, { 171,5823 }, { 172,5823 }, { 173,5823 }, { 174,5823 }, - { 175,5823 }, { 176,5823 }, { 177,5823 }, { 178,5823 }, { 179,5823 }, - { 180,5823 }, { 181,5823 }, { 182,5823 }, { 183,5823 }, { 184,5823 }, - { 185,5823 }, { 186,5823 }, { 187,5823 }, { 188,5823 }, { 189,5823 }, - { 190,5823 }, { 191,5823 }, { 192,5823 }, { 193,5823 }, { 194,5823 }, - { 195,5823 }, { 196,5823 }, { 197,5823 }, { 198,5823 }, { 199,5823 }, - { 200,5823 }, { 201,5823 }, { 202,5823 }, { 203,5823 }, { 204,5823 }, - { 205,5823 }, { 206,5823 }, { 207,5823 }, { 208,5823 }, { 209,5823 }, - { 210,5823 }, { 211,5823 }, { 212,5823 }, { 213,5823 }, { 214,5823 }, - - { 215,5823 }, { 216,5823 }, { 217,5823 }, { 218,5823 }, { 219,5823 }, - { 220,5823 }, { 221,5823 }, { 222,5823 }, { 223,5823 }, { 224,5823 }, - { 225,5823 }, { 226,5823 }, { 227,5823 }, { 228,5823 }, { 229,5823 }, - { 230,5823 }, { 231,5823 }, { 232,5823 }, { 233,5823 }, { 234,5823 }, - { 235,5823 }, { 236,5823 }, { 237,5823 }, { 238,5823 }, { 239,5823 }, - { 240,5823 }, { 241,5823 }, { 242,5823 }, { 243,5823 }, { 244,5823 }, - { 245,5823 }, { 246,5823 }, { 247,5823 }, { 248,5823 }, { 249,5823 }, - { 250,5823 }, { 251,5823 }, { 252,5823 }, { 253,5823 }, { 254,5823 }, - { 255,5823 }, { 256,5823 }, { 0, 64 }, { 0,20779 }, { 0, 0 }, + { 0, 0 }, { 48,6081 }, { 49,6081 }, { 50,6081 }, { 51,6081 }, + { 52,6081 }, { 53,6081 }, { 54,6081 }, { 55,6081 }, { 56,6081 }, + { 57,6081 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,6081 }, { 66,6081 }, + { 67,6081 }, { 68,6081 }, { 69,6081 }, { 70,6081 }, { 71,6081 }, + + { 72,6081 }, { 73,6081 }, { 74,6081 }, { 75,6081 }, { 76,6081 }, + { 77,6081 }, { 78,6081 }, { 79,6081 }, { 80,6081 }, { 81,6081 }, + { 82,6081 }, { 83,6081 }, { 84,6081 }, { 85,6081 }, { 86,6081 }, + { 87,6081 }, { 88,6081 }, { 89,6081 }, { 90,6081 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,6081 }, { 0, 0 }, + { 97,6081 }, { 98,6081 }, { 99,6081 }, { 100,6081 }, { 101,6081 }, + { 102,6081 }, { 103,6081 }, { 104,6081 }, { 105,6081 }, { 106,6081 }, + { 107,6081 }, { 108,6081 }, { 109,6081 }, { 110,6081 }, { 111,6081 }, + { 112,6081 }, { 113,6081 }, { 114,6081 }, { 115,6081 }, { 116,6081 }, + { 117,6081 }, { 118,6081 }, { 119,6081 }, { 120,6081 }, { 121,6081 }, + + { 122,6081 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,6081 }, { 129,6081 }, { 130,6081 }, { 131,6081 }, + { 132,6081 }, { 133,6081 }, { 134,6081 }, { 135,6081 }, { 136,6081 }, + { 137,6081 }, { 138,6081 }, { 139,6081 }, { 140,6081 }, { 141,6081 }, + { 142,6081 }, { 143,6081 }, { 144,6081 }, { 145,6081 }, { 146,6081 }, + { 147,6081 }, { 148,6081 }, { 149,6081 }, { 150,6081 }, { 151,6081 }, + { 152,6081 }, { 153,6081 }, { 154,6081 }, { 155,6081 }, { 156,6081 }, + { 157,6081 }, { 158,6081 }, { 159,6081 }, { 160,6081 }, { 161,6081 }, + { 162,6081 }, { 163,6081 }, { 164,6081 }, { 165,6081 }, { 166,6081 }, + { 167,6081 }, { 168,6081 }, { 169,6081 }, { 170,6081 }, { 171,6081 }, + + { 172,6081 }, { 173,6081 }, { 174,6081 }, { 175,6081 }, { 176,6081 }, + { 177,6081 }, { 178,6081 }, { 179,6081 }, { 180,6081 }, { 181,6081 }, + { 182,6081 }, { 183,6081 }, { 184,6081 }, { 185,6081 }, { 186,6081 }, + { 187,6081 }, { 188,6081 }, { 189,6081 }, { 190,6081 }, { 191,6081 }, + { 192,6081 }, { 193,6081 }, { 194,6081 }, { 195,6081 }, { 196,6081 }, + { 197,6081 }, { 198,6081 }, { 199,6081 }, { 200,6081 }, { 201,6081 }, + { 202,6081 }, { 203,6081 }, { 204,6081 }, { 205,6081 }, { 206,6081 }, + { 207,6081 }, { 208,6081 }, { 209,6081 }, { 210,6081 }, { 211,6081 }, + { 212,6081 }, { 213,6081 }, { 214,6081 }, { 215,6081 }, { 216,6081 }, + { 217,6081 }, { 218,6081 }, { 219,6081 }, { 220,6081 }, { 221,6081 }, + + { 222,6081 }, { 223,6081 }, { 224,6081 }, { 225,6081 }, { 226,6081 }, + { 227,6081 }, { 228,6081 }, { 229,6081 }, { 230,6081 }, { 231,6081 }, + { 232,6081 }, { 233,6081 }, { 234,6081 }, { 235,6081 }, { 236,6081 }, + { 237,6081 }, { 238,6081 }, { 239,6081 }, { 240,6081 }, { 241,6081 }, + { 242,6081 }, { 243,6081 }, { 244,6081 }, { 245,6081 }, { 246,6081 }, + { 247,6081 }, { 248,6081 }, { 249,6081 }, { 250,6081 }, { 251,6081 }, + { 252,6081 }, { 253,6081 }, { 254,6081 }, { 255,6081 }, { 0, 2 }, + { 0,23772 }, { 1,6081 }, { 2,6081 }, { 3,6081 }, { 4,6081 }, + { 5,6081 }, { 6,6081 }, { 7,6081 }, { 8,6081 }, { 9,6081 }, + { 0, 0 }, { 11,6081 }, { 12,6081 }, { 0, 0 }, { 14,6081 }, + + { 15,6081 }, { 16,6081 }, { 17,6081 }, { 18,6081 }, { 19,6081 }, + { 20,6081 }, { 21,6081 }, { 22,6081 }, { 23,6081 }, { 24,6081 }, + { 25,6081 }, { 26,6081 }, { 27,6081 }, { 28,6081 }, { 29,6081 }, + { 30,6081 }, { 31,6081 }, { 32,6081 }, { 33,6339 }, { 34,6081 }, + { 35,6339 }, { 36,6081 }, { 37,6339 }, { 38,6339 }, { 39,6081 }, + { 40,6081 }, { 41,6081 }, { 42,6339 }, { 43,6339 }, { 44,6081 }, + { 45,6339 }, { 46,6081 }, { 47,6339 }, { 48,6081 }, { 49,6081 }, + { 50,6081 }, { 51,6081 }, { 52,6081 }, { 53,6081 }, { 54,6081 }, + { 55,6081 }, { 56,6081 }, { 57,6081 }, { 58,6081 }, { 59,6081 }, + { 60,6339 }, { 61,6339 }, { 62,6339 }, { 63,6339 }, { 64,6339 }, + + { 65,6081 }, { 66,6081 }, { 67,6081 }, { 68,6081 }, { 69,6081 }, + { 70,6081 }, { 71,6081 }, { 72,6081 }, { 73,6081 }, { 74,6081 }, + { 75,6081 }, { 76,6081 }, { 77,6081 }, { 78,6081 }, { 79,6081 }, + { 80,6081 }, { 81,6081 }, { 82,6081 }, { 83,6081 }, { 84,6081 }, + { 85,6081 }, { 86,6081 }, { 87,6081 }, { 88,6081 }, { 89,6081 }, + { 90,6081 }, { 91,6081 }, { 92,6081 }, { 93,6081 }, { 94,6339 }, + { 95,6081 }, { 96,6339 }, { 97,6081 }, { 98,6081 }, { 99,6081 }, + { 100,6081 }, { 101,6081 }, { 102,6081 }, { 103,6081 }, { 104,6081 }, + { 105,6081 }, { 106,6081 }, { 107,6081 }, { 108,6081 }, { 109,6081 }, + { 110,6081 }, { 111,6081 }, { 112,6081 }, { 113,6081 }, { 114,6081 }, + + { 115,6081 }, { 116,6081 }, { 117,6081 }, { 118,6081 }, { 119,6081 }, + { 120,6081 }, { 121,6081 }, { 122,6081 }, { 123,6081 }, { 124,6339 }, + { 125,6081 }, { 126,6339 }, { 127,6081 }, { 128,6081 }, { 129,6081 }, + { 130,6081 }, { 131,6081 }, { 132,6081 }, { 133,6081 }, { 134,6081 }, + { 135,6081 }, { 136,6081 }, { 137,6081 }, { 138,6081 }, { 139,6081 }, + { 140,6081 }, { 141,6081 }, { 142,6081 }, { 143,6081 }, { 144,6081 }, + { 145,6081 }, { 146,6081 }, { 147,6081 }, { 148,6081 }, { 149,6081 }, + { 150,6081 }, { 151,6081 }, { 152,6081 }, { 153,6081 }, { 154,6081 }, + { 155,6081 }, { 156,6081 }, { 157,6081 }, { 158,6081 }, { 159,6081 }, + { 160,6081 }, { 161,6081 }, { 162,6081 }, { 163,6081 }, { 164,6081 }, + + { 165,6081 }, { 166,6081 }, { 167,6081 }, { 168,6081 }, { 169,6081 }, + { 170,6081 }, { 171,6081 }, { 172,6081 }, { 173,6081 }, { 174,6081 }, + { 175,6081 }, { 176,6081 }, { 177,6081 }, { 178,6081 }, { 179,6081 }, + { 180,6081 }, { 181,6081 }, { 182,6081 }, { 183,6081 }, { 184,6081 }, + { 185,6081 }, { 186,6081 }, { 187,6081 }, { 188,6081 }, { 189,6081 }, + { 190,6081 }, { 191,6081 }, { 192,6081 }, { 193,6081 }, { 194,6081 }, + { 195,6081 }, { 196,6081 }, { 197,6081 }, { 198,6081 }, { 199,6081 }, + { 200,6081 }, { 201,6081 }, { 202,6081 }, { 203,6081 }, { 204,6081 }, + { 205,6081 }, { 206,6081 }, { 207,6081 }, { 208,6081 }, { 209,6081 }, + { 210,6081 }, { 211,6081 }, { 212,6081 }, { 213,6081 }, { 214,6081 }, + + { 215,6081 }, { 216,6081 }, { 217,6081 }, { 218,6081 }, { 219,6081 }, + { 220,6081 }, { 221,6081 }, { 222,6081 }, { 223,6081 }, { 224,6081 }, + { 225,6081 }, { 226,6081 }, { 227,6081 }, { 228,6081 }, { 229,6081 }, + { 230,6081 }, { 231,6081 }, { 232,6081 }, { 233,6081 }, { 234,6081 }, + { 235,6081 }, { 236,6081 }, { 237,6081 }, { 238,6081 }, { 239,6081 }, + { 240,6081 }, { 241,6081 }, { 242,6081 }, { 243,6081 }, { 244,6081 }, + { 245,6081 }, { 246,6081 }, { 247,6081 }, { 248,6081 }, { 249,6081 }, + { 250,6081 }, { 251,6081 }, { 252,6081 }, { 253,6081 }, { 254,6081 }, + { 255,6081 }, { 256,6081 }, { 0, 64 }, { 0,23514 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -3463,116 +3463,116 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 48,6081 }, { 49,6081 }, { 50,6081 }, { 51,6081 }, - { 52,6081 }, { 53,6081 }, { 54,6081 }, { 55,6081 }, { 56,6081 }, + { 0, 0 }, { 48,6339 }, { 49,6339 }, { 50,6339 }, { 51,6339 }, + { 52,6339 }, { 53,6339 }, { 54,6339 }, { 55,6339 }, { 56,6339 }, - { 57,6081 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,6338 }, { 66,6338 }, - { 67,6338 }, { 68,6338 }, { 69,6595 }, { 70,6338 }, { 71,6338 }, - { 72,6338 }, { 73,6338 }, { 74,6338 }, { 75,6338 }, { 76,6338 }, - { 77,6338 }, { 78,6338 }, { 79,6338 }, { 80,6338 }, { 81,6338 }, - { 82,6338 }, { 83,6338 }, { 84,6338 }, { 85,6338 }, { 86,6338 }, - { 87,6338 }, { 88,6338 }, { 89,6338 }, { 90,6338 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,6852 }, { 0, 0 }, - { 97,6338 }, { 98,6338 }, { 99,6338 }, { 100,6338 }, { 101,6595 }, - { 102,6338 }, { 103,6338 }, { 104,6338 }, { 105,6338 }, { 106,6338 }, - - { 107,6338 }, { 108,6338 }, { 109,6338 }, { 110,6338 }, { 111,6338 }, - { 112,6338 }, { 113,6338 }, { 114,6338 }, { 115,6338 }, { 116,6338 }, - { 117,6338 }, { 118,6338 }, { 119,6338 }, { 120,6338 }, { 121,6338 }, - { 122,6338 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,6338 }, { 129,6338 }, { 130,6338 }, { 131,6338 }, - { 132,6338 }, { 133,6338 }, { 134,6338 }, { 135,6338 }, { 136,6338 }, - { 137,6338 }, { 138,6338 }, { 139,6338 }, { 140,6338 }, { 141,6338 }, - { 142,6338 }, { 143,6338 }, { 144,6338 }, { 145,6338 }, { 146,6338 }, - { 147,6338 }, { 148,6338 }, { 149,6338 }, { 150,6338 }, { 151,6338 }, - { 152,6338 }, { 153,6338 }, { 154,6338 }, { 155,6338 }, { 156,6338 }, + { 57,6339 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,6596 }, { 66,6596 }, + { 67,6596 }, { 68,6596 }, { 69,6853 }, { 70,6596 }, { 71,6596 }, + { 72,6596 }, { 73,6596 }, { 74,6596 }, { 75,6596 }, { 76,6596 }, + { 77,6596 }, { 78,6596 }, { 79,6596 }, { 80,6596 }, { 81,6596 }, + { 82,6596 }, { 83,6596 }, { 84,6596 }, { 85,6596 }, { 86,6596 }, + { 87,6596 }, { 88,6596 }, { 89,6596 }, { 90,6596 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,7110 }, { 0, 0 }, + { 97,6596 }, { 98,6596 }, { 99,6596 }, { 100,6596 }, { 101,6853 }, + { 102,6596 }, { 103,6596 }, { 104,6596 }, { 105,6596 }, { 106,6596 }, - { 157,6338 }, { 158,6338 }, { 159,6338 }, { 160,6338 }, { 161,6338 }, - { 162,6338 }, { 163,6338 }, { 164,6338 }, { 165,6338 }, { 166,6338 }, - { 167,6338 }, { 168,6338 }, { 169,6338 }, { 170,6338 }, { 171,6338 }, - { 172,6338 }, { 173,6338 }, { 174,6338 }, { 175,6338 }, { 176,6338 }, - { 177,6338 }, { 178,6338 }, { 179,6338 }, { 180,6338 }, { 181,6338 }, - { 182,6338 }, { 183,6338 }, { 184,6338 }, { 185,6338 }, { 186,6338 }, - { 187,6338 }, { 188,6338 }, { 189,6338 }, { 190,6338 }, { 191,6338 }, - { 192,6338 }, { 193,6338 }, { 194,6338 }, { 195,6338 }, { 196,6338 }, - { 197,6338 }, { 198,6338 }, { 199,6338 }, { 200,6338 }, { 201,6338 }, - { 202,6338 }, { 203,6338 }, { 204,6338 }, { 205,6338 }, { 206,6338 }, + { 107,6596 }, { 108,6596 }, { 109,6596 }, { 110,6596 }, { 111,6596 }, + { 112,6596 }, { 113,6596 }, { 114,6596 }, { 115,6596 }, { 116,6596 }, + { 117,6596 }, { 118,6596 }, { 119,6596 }, { 120,6596 }, { 121,6596 }, + { 122,6596 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,6596 }, { 129,6596 }, { 130,6596 }, { 131,6596 }, + { 132,6596 }, { 133,6596 }, { 134,6596 }, { 135,6596 }, { 136,6596 }, + { 137,6596 }, { 138,6596 }, { 139,6596 }, { 140,6596 }, { 141,6596 }, + { 142,6596 }, { 143,6596 }, { 144,6596 }, { 145,6596 }, { 146,6596 }, + { 147,6596 }, { 148,6596 }, { 149,6596 }, { 150,6596 }, { 151,6596 }, + { 152,6596 }, { 153,6596 }, { 154,6596 }, { 155,6596 }, { 156,6596 }, - { 207,6338 }, { 208,6338 }, { 209,6338 }, { 210,6338 }, { 211,6338 }, - { 212,6338 }, { 213,6338 }, { 214,6338 }, { 215,6338 }, { 216,6338 }, - { 217,6338 }, { 218,6338 }, { 219,6338 }, { 220,6338 }, { 221,6338 }, - { 222,6338 }, { 223,6338 }, { 224,6338 }, { 225,6338 }, { 226,6338 }, - { 227,6338 }, { 228,6338 }, { 229,6338 }, { 230,6338 }, { 231,6338 }, - { 232,6338 }, { 233,6338 }, { 234,6338 }, { 235,6338 }, { 236,6338 }, - { 237,6338 }, { 238,6338 }, { 239,6338 }, { 240,6338 }, { 241,6338 }, - { 242,6338 }, { 243,6338 }, { 244,6338 }, { 245,6338 }, { 246,6338 }, - { 247,6338 }, { 248,6338 }, { 249,6338 }, { 250,6338 }, { 251,6338 }, - { 252,6338 }, { 253,6338 }, { 254,6338 }, { 255,6338 }, { 0, 3 }, + { 157,6596 }, { 158,6596 }, { 159,6596 }, { 160,6596 }, { 161,6596 }, + { 162,6596 }, { 163,6596 }, { 164,6596 }, { 165,6596 }, { 166,6596 }, + { 167,6596 }, { 168,6596 }, { 169,6596 }, { 170,6596 }, { 171,6596 }, + { 172,6596 }, { 173,6596 }, { 174,6596 }, { 175,6596 }, { 176,6596 }, + { 177,6596 }, { 178,6596 }, { 179,6596 }, { 180,6596 }, { 181,6596 }, + { 182,6596 }, { 183,6596 }, { 184,6596 }, { 185,6596 }, { 186,6596 }, + { 187,6596 }, { 188,6596 }, { 189,6596 }, { 190,6596 }, { 191,6596 }, + { 192,6596 }, { 193,6596 }, { 194,6596 }, { 195,6596 }, { 196,6596 }, + { 197,6596 }, { 198,6596 }, { 199,6596 }, { 200,6596 }, { 201,6596 }, + { 202,6596 }, { 203,6596 }, { 204,6596 }, { 205,6596 }, { 206,6596 }, - { 0,20522 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 207,6596 }, { 208,6596 }, { 209,6596 }, { 210,6596 }, { 211,6596 }, + { 212,6596 }, { 213,6596 }, { 214,6596 }, { 215,6596 }, { 216,6596 }, + { 217,6596 }, { 218,6596 }, { 219,6596 }, { 220,6596 }, { 221,6596 }, + { 222,6596 }, { 223,6596 }, { 224,6596 }, { 225,6596 }, { 226,6596 }, + { 227,6596 }, { 228,6596 }, { 229,6596 }, { 230,6596 }, { 231,6596 }, + { 232,6596 }, { 233,6596 }, { 234,6596 }, { 235,6596 }, { 236,6596 }, + { 237,6596 }, { 238,6596 }, { 239,6596 }, { 240,6596 }, { 241,6596 }, + { 242,6596 }, { 243,6596 }, { 244,6596 }, { 245,6596 }, { 246,6596 }, + { 247,6596 }, { 248,6596 }, { 249,6596 }, { 250,6596 }, { 251,6596 }, + { 252,6596 }, { 253,6596 }, { 254,6596 }, { 255,6596 }, { 0, 3 }, + + { 0,23257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 64 }, { 0,20490 }, { 33,6852 }, { 0, 0 }, - { 35,6852 }, { 0, 0 }, { 37,6852 }, { 38,6852 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 42,6852 }, { 43,6852 }, { 0, 0 }, - { 45,6852 }, { 0, 0 }, { 47,6852 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 64 }, { 0,23225 }, { 33,7110 }, { 0, 0 }, + { 35,7110 }, { 0, 0 }, { 37,7110 }, { 38,7110 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 42,7110 }, { 43,7110 }, { 0, 0 }, + { 45,7110 }, { 0, 0 }, { 47,7110 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 60,6852 }, { 61,6852 }, { 62,6852 }, { 63,6852 }, { 64,6852 }, + { 60,7110 }, { 61,7110 }, { 62,7110 }, { 63,7110 }, { 64,7110 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 46,-6338 }, { 0, 0 }, - { 48,6852 }, { 49,6852 }, { 50,6852 }, { 51,6852 }, { 52,6852 }, - { 53,6852 }, { 54,6852 }, { 55,6852 }, { 56,6852 }, { 57,6852 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94,6852 }, - { 0, 0 }, { 96,6852 }, { 65,6049 }, { 66,6049 }, { 67,6049 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 46,-6333 }, { 0, 0 }, + { 48,7110 }, { 49,7110 }, { 50,7110 }, { 51,7110 }, { 52,7110 }, + { 53,7110 }, { 54,7110 }, { 55,7110 }, { 56,7110 }, { 57,7110 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94,7110 }, + { 0, 0 }, { 96,7110 }, { 65,6307 }, { 66,6307 }, { 67,6307 }, - { 68,6049 }, { 69,6306 }, { 70,6049 }, { 71,6049 }, { 72,6049 }, - { 73,6049 }, { 74,6049 }, { 75,6049 }, { 76,6049 }, { 77,6049 }, - { 78,6049 }, { 79,6049 }, { 80,6049 }, { 81,6049 }, { 82,6049 }, - { 83,6049 }, { 84,6049 }, { 85,6049 }, { 86,6049 }, { 87,6049 }, - { 88,6049 }, { 89,6049 }, { 90,6049 }, { 0, 0 }, { 124,6852 }, - { 0, 0 }, { 126,6852 }, { 95,6049 }, { 0, 0 }, { 97,6049 }, - { 98,6049 }, { 99,6049 }, { 100,6049 }, { 101,6306 }, { 102,6049 }, - { 103,6049 }, { 104,6049 }, { 105,6049 }, { 106,6049 }, { 107,6049 }, - { 108,6049 }, { 109,6049 }, { 110,6049 }, { 111,6049 }, { 112,6049 }, - { 113,6049 }, { 114,6049 }, { 115,6049 }, { 116,6049 }, { 117,6049 }, + { 68,6307 }, { 69,6564 }, { 70,6307 }, { 71,6307 }, { 72,6307 }, + { 73,6307 }, { 74,6307 }, { 75,6307 }, { 76,6307 }, { 77,6307 }, + { 78,6307 }, { 79,6307 }, { 80,6307 }, { 81,6307 }, { 82,6307 }, + { 83,6307 }, { 84,6307 }, { 85,6307 }, { 86,6307 }, { 87,6307 }, + { 88,6307 }, { 89,6307 }, { 90,6307 }, { 0, 0 }, { 124,7110 }, + { 0, 0 }, { 126,7110 }, { 95,6307 }, { 0, 0 }, { 97,6307 }, + { 98,6307 }, { 99,6307 }, { 100,6307 }, { 101,6564 }, { 102,6307 }, + { 103,6307 }, { 104,6307 }, { 105,6307 }, { 106,6307 }, { 107,6307 }, + { 108,6307 }, { 109,6307 }, { 110,6307 }, { 111,6307 }, { 112,6307 }, + { 113,6307 }, { 114,6307 }, { 115,6307 }, { 116,6307 }, { 117,6307 }, - { 118,6049 }, { 119,6049 }, { 120,6049 }, { 121,6049 }, { 122,6049 }, + { 118,6307 }, { 119,6307 }, { 120,6307 }, { 121,6307 }, { 122,6307 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 128,6049 }, { 129,6049 }, { 130,6049 }, { 131,6049 }, { 132,6049 }, - { 133,6049 }, { 134,6049 }, { 135,6049 }, { 136,6049 }, { 137,6049 }, - { 138,6049 }, { 139,6049 }, { 140,6049 }, { 141,6049 }, { 142,6049 }, - { 143,6049 }, { 144,6049 }, { 145,6049 }, { 146,6049 }, { 147,6049 }, - { 148,6049 }, { 149,6049 }, { 150,6049 }, { 151,6049 }, { 152,6049 }, - { 153,6049 }, { 154,6049 }, { 155,6049 }, { 156,6049 }, { 157,6049 }, - { 158,6049 }, { 159,6049 }, { 160,6049 }, { 161,6049 }, { 162,6049 }, - { 163,6049 }, { 164,6049 }, { 165,6049 }, { 166,6049 }, { 167,6049 }, + { 128,6307 }, { 129,6307 }, { 130,6307 }, { 131,6307 }, { 132,6307 }, + { 133,6307 }, { 134,6307 }, { 135,6307 }, { 136,6307 }, { 137,6307 }, + { 138,6307 }, { 139,6307 }, { 140,6307 }, { 141,6307 }, { 142,6307 }, + { 143,6307 }, { 144,6307 }, { 145,6307 }, { 146,6307 }, { 147,6307 }, + { 148,6307 }, { 149,6307 }, { 150,6307 }, { 151,6307 }, { 152,6307 }, + { 153,6307 }, { 154,6307 }, { 155,6307 }, { 156,6307 }, { 157,6307 }, + { 158,6307 }, { 159,6307 }, { 160,6307 }, { 161,6307 }, { 162,6307 }, + { 163,6307 }, { 164,6307 }, { 165,6307 }, { 166,6307 }, { 167,6307 }, - { 168,6049 }, { 169,6049 }, { 170,6049 }, { 171,6049 }, { 172,6049 }, - { 173,6049 }, { 174,6049 }, { 175,6049 }, { 176,6049 }, { 177,6049 }, - { 178,6049 }, { 179,6049 }, { 180,6049 }, { 181,6049 }, { 182,6049 }, - { 183,6049 }, { 184,6049 }, { 185,6049 }, { 186,6049 }, { 187,6049 }, - { 188,6049 }, { 189,6049 }, { 190,6049 }, { 191,6049 }, { 192,6049 }, - { 193,6049 }, { 194,6049 }, { 195,6049 }, { 196,6049 }, { 197,6049 }, - { 198,6049 }, { 199,6049 }, { 200,6049 }, { 201,6049 }, { 202,6049 }, - { 203,6049 }, { 204,6049 }, { 205,6049 }, { 206,6049 }, { 207,6049 }, - { 208,6049 }, { 209,6049 }, { 210,6049 }, { 211,6049 }, { 212,6049 }, - { 213,6049 }, { 214,6049 }, { 215,6049 }, { 216,6049 }, { 217,6049 }, + { 168,6307 }, { 169,6307 }, { 170,6307 }, { 171,6307 }, { 172,6307 }, + { 173,6307 }, { 174,6307 }, { 175,6307 }, { 176,6307 }, { 177,6307 }, + { 178,6307 }, { 179,6307 }, { 180,6307 }, { 181,6307 }, { 182,6307 }, + { 183,6307 }, { 184,6307 }, { 185,6307 }, { 186,6307 }, { 187,6307 }, + { 188,6307 }, { 189,6307 }, { 190,6307 }, { 191,6307 }, { 192,6307 }, + { 193,6307 }, { 194,6307 }, { 195,6307 }, { 196,6307 }, { 197,6307 }, + { 198,6307 }, { 199,6307 }, { 200,6307 }, { 201,6307 }, { 202,6307 }, + { 203,6307 }, { 204,6307 }, { 205,6307 }, { 206,6307 }, { 207,6307 }, + { 208,6307 }, { 209,6307 }, { 210,6307 }, { 211,6307 }, { 212,6307 }, + { 213,6307 }, { 214,6307 }, { 215,6307 }, { 216,6307 }, { 217,6307 }, - { 218,6049 }, { 219,6049 }, { 220,6049 }, { 221,6049 }, { 222,6049 }, - { 223,6049 }, { 224,6049 }, { 225,6049 }, { 226,6049 }, { 227,6049 }, - { 228,6049 }, { 229,6049 }, { 230,6049 }, { 231,6049 }, { 232,6049 }, - { 233,6049 }, { 234,6049 }, { 235,6049 }, { 236,6049 }, { 237,6049 }, - { 238,6049 }, { 239,6049 }, { 240,6049 }, { 241,6049 }, { 242,6049 }, - { 243,6049 }, { 244,6049 }, { 245,6049 }, { 246,6049 }, { 247,6049 }, - { 248,6049 }, { 249,6049 }, { 250,6049 }, { 251,6049 }, { 252,6049 }, - { 253,6049 }, { 254,6049 }, { 255,6049 }, { 0, 57 }, { 0,20233 }, + { 218,6307 }, { 219,6307 }, { 220,6307 }, { 221,6307 }, { 222,6307 }, + { 223,6307 }, { 224,6307 }, { 225,6307 }, { 226,6307 }, { 227,6307 }, + { 228,6307 }, { 229,6307 }, { 230,6307 }, { 231,6307 }, { 232,6307 }, + { 233,6307 }, { 234,6307 }, { 235,6307 }, { 236,6307 }, { 237,6307 }, + { 238,6307 }, { 239,6307 }, { 240,6307 }, { 241,6307 }, { 242,6307 }, + { 243,6307 }, { 244,6307 }, { 245,6307 }, { 246,6307 }, { 247,6307 }, + { 248,6307 }, { 249,6307 }, { 250,6307 }, { 251,6307 }, { 252,6307 }, + { 253,6307 }, { 254,6307 }, { 255,6307 }, { 0, 57 }, { 0,22968 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -3629,348 +3629,348 @@ static const struct yy_trans_info yy_transition[33677] = { 241, 257 }, { 242, 257 }, { 243, 257 }, { 244, 257 }, { 245, 257 }, { 246, 257 }, { 247, 257 }, { 248, 257 }, { 249, 257 }, { 250, 257 }, { 251, 257 }, { 252, 257 }, { 253, 257 }, { 254, 257 }, { 255, 257 }, - { 0, 68 }, { 0,19976 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 36,6595 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,6595 }, - { 49,6595 }, { 50,6595 }, { 51,6595 }, { 52,6595 }, { 53,6595 }, - - { 54,6595 }, { 55,6595 }, { 56,6595 }, { 57,6595 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65,6595 }, { 66,6595 }, { 67,6595 }, { 68,6595 }, - { 69,6595 }, { 70,6595 }, { 71,6595 }, { 72,6595 }, { 73,6595 }, - { 74,6595 }, { 75,6595 }, { 76,6595 }, { 77,6595 }, { 78,6595 }, - { 79,6595 }, { 80,6595 }, { 81,6595 }, { 82,6595 }, { 83,6595 }, - { 84,6595 }, { 85,6595 }, { 86,6595 }, { 87,6595 }, { 88,6595 }, - { 89,6595 }, { 90,6595 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95,6595 }, { 0, 0 }, { 97,6595 }, { 98,6595 }, - { 99,6595 }, { 100,6595 }, { 101,6595 }, { 102,6595 }, { 103,6595 }, - - { 104,6595 }, { 105,6595 }, { 106,6595 }, { 107,6595 }, { 108,6595 }, - { 109,6595 }, { 110,6595 }, { 111,6595 }, { 112,6595 }, { 113,6595 }, - { 114,6595 }, { 115,6595 }, { 116,6595 }, { 117,6595 }, { 118,6595 }, - { 119,6595 }, { 120,6595 }, { 121,6595 }, { 122,6595 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,6595 }, - { 129,6595 }, { 130,6595 }, { 131,6595 }, { 132,6595 }, { 133,6595 }, - { 134,6595 }, { 135,6595 }, { 136,6595 }, { 137,6595 }, { 138,6595 }, - { 139,6595 }, { 140,6595 }, { 141,6595 }, { 142,6595 }, { 143,6595 }, - { 144,6595 }, { 145,6595 }, { 146,6595 }, { 147,6595 }, { 148,6595 }, - { 149,6595 }, { 150,6595 }, { 151,6595 }, { 152,6595 }, { 153,6595 }, + { 0, 68 }, { 0,22711 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 154,6595 }, { 155,6595 }, { 156,6595 }, { 157,6595 }, { 158,6595 }, - { 159,6595 }, { 160,6595 }, { 161,6595 }, { 162,6595 }, { 163,6595 }, - { 164,6595 }, { 165,6595 }, { 166,6595 }, { 167,6595 }, { 168,6595 }, - { 169,6595 }, { 170,6595 }, { 171,6595 }, { 172,6595 }, { 173,6595 }, - { 174,6595 }, { 175,6595 }, { 176,6595 }, { 177,6595 }, { 178,6595 }, - { 179,6595 }, { 180,6595 }, { 181,6595 }, { 182,6595 }, { 183,6595 }, - { 184,6595 }, { 185,6595 }, { 186,6595 }, { 187,6595 }, { 188,6595 }, - { 189,6595 }, { 190,6595 }, { 191,6595 }, { 192,6595 }, { 193,6595 }, - { 194,6595 }, { 195,6595 }, { 196,6595 }, { 197,6595 }, { 198,6595 }, - { 199,6595 }, { 200,6595 }, { 201,6595 }, { 202,6595 }, { 203,6595 }, - - { 204,6595 }, { 205,6595 }, { 206,6595 }, { 207,6595 }, { 208,6595 }, - { 209,6595 }, { 210,6595 }, { 211,6595 }, { 212,6595 }, { 213,6595 }, - { 214,6595 }, { 215,6595 }, { 216,6595 }, { 217,6595 }, { 218,6595 }, - { 219,6595 }, { 220,6595 }, { 221,6595 }, { 222,6595 }, { 223,6595 }, - { 224,6595 }, { 225,6595 }, { 226,6595 }, { 227,6595 }, { 228,6595 }, - { 229,6595 }, { 230,6595 }, { 231,6595 }, { 232,6595 }, { 233,6595 }, - { 234,6595 }, { 235,6595 }, { 236,6595 }, { 237,6595 }, { 238,6595 }, - { 239,6595 }, { 240,6595 }, { 241,6595 }, { 242,6595 }, { 243,6595 }, - { 244,6595 }, { 245,6595 }, { 246,6595 }, { 247,6595 }, { 248,6595 }, - { 249,6595 }, { 250,6595 }, { 251,6595 }, { 252,6595 }, { 253,6595 }, - - { 254,6595 }, { 255,6595 }, { 0, 63 }, { 0,19719 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,6338 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 48,6595 }, { 49,6595 }, { 50,6338 }, { 51,6338 }, - { 52,6338 }, { 53,6338 }, { 54,6338 }, { 55,6338 }, { 56,6338 }, - { 57,6338 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,6338 }, { 66,6338 }, - { 67,6338 }, { 68,6338 }, { 69,6338 }, { 70,6338 }, { 71,6338 }, - { 72,6338 }, { 73,6338 }, { 74,6338 }, { 75,6338 }, { 76,6338 }, - { 77,6338 }, { 78,6338 }, { 79,6338 }, { 80,6338 }, { 81,6338 }, - { 82,6338 }, { 83,6338 }, { 84,6338 }, { 85,6338 }, { 86,6338 }, - { 87,6338 }, { 88,6338 }, { 89,6338 }, { 90,6338 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,6852 }, { 0, 0 }, - - { 97,6338 }, { 98,6338 }, { 99,6338 }, { 100,6338 }, { 101,6338 }, - { 102,6338 }, { 103,6338 }, { 104,6338 }, { 105,6338 }, { 106,6338 }, - { 107,6338 }, { 108,6338 }, { 109,6338 }, { 110,6338 }, { 111,6338 }, - { 112,6338 }, { 113,6338 }, { 114,6338 }, { 115,6338 }, { 116,6338 }, - { 117,6338 }, { 118,6338 }, { 119,6338 }, { 120,6338 }, { 121,6338 }, - { 122,6338 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,6338 }, { 129,6338 }, { 130,6338 }, { 131,6338 }, - { 132,6338 }, { 133,6338 }, { 134,6338 }, { 135,6338 }, { 136,6338 }, - { 137,6338 }, { 138,6338 }, { 139,6338 }, { 140,6338 }, { 141,6338 }, - { 142,6338 }, { 143,6338 }, { 144,6338 }, { 145,6338 }, { 146,6338 }, - - { 147,6338 }, { 148,6338 }, { 149,6338 }, { 150,6338 }, { 151,6338 }, - { 152,6338 }, { 153,6338 }, { 154,6338 }, { 155,6338 }, { 156,6338 }, - { 157,6338 }, { 158,6338 }, { 159,6338 }, { 160,6338 }, { 161,6338 }, - { 162,6338 }, { 163,6338 }, { 164,6338 }, { 165,6338 }, { 166,6338 }, - { 167,6338 }, { 168,6338 }, { 169,6338 }, { 170,6338 }, { 171,6338 }, - { 172,6338 }, { 173,6338 }, { 174,6338 }, { 175,6338 }, { 176,6338 }, - { 177,6338 }, { 178,6338 }, { 179,6338 }, { 180,6338 }, { 181,6338 }, - { 182,6338 }, { 183,6338 }, { 184,6338 }, { 185,6338 }, { 186,6338 }, - { 187,6338 }, { 188,6338 }, { 189,6338 }, { 190,6338 }, { 191,6338 }, - { 192,6338 }, { 193,6338 }, { 194,6338 }, { 195,6338 }, { 196,6338 }, - - { 197,6338 }, { 198,6338 }, { 199,6338 }, { 200,6338 }, { 201,6338 }, - { 202,6338 }, { 203,6338 }, { 204,6338 }, { 205,6338 }, { 206,6338 }, - { 207,6338 }, { 208,6338 }, { 209,6338 }, { 210,6338 }, { 211,6338 }, - { 212,6338 }, { 213,6338 }, { 214,6338 }, { 215,6338 }, { 216,6338 }, - { 217,6338 }, { 218,6338 }, { 219,6338 }, { 220,6338 }, { 221,6338 }, - { 222,6338 }, { 223,6338 }, { 224,6338 }, { 225,6338 }, { 226,6338 }, - { 227,6338 }, { 228,6338 }, { 229,6338 }, { 230,6338 }, { 231,6338 }, - { 232,6338 }, { 233,6338 }, { 234,6338 }, { 235,6338 }, { 236,6338 }, - { 237,6338 }, { 238,6338 }, { 239,6338 }, { 240,6338 }, { 241,6338 }, - { 242,6338 }, { 243,6338 }, { 244,6338 }, { 245,6338 }, { 246,6338 }, - - { 247,6338 }, { 248,6338 }, { 249,6338 }, { 250,6338 }, { 251,6338 }, - { 252,6338 }, { 253,6338 }, { 254,6338 }, { 255,6338 }, { 0, 68 }, - { 0,19462 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 36,6081 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 43,6852 }, { 0, 0 }, - { 45,6852 }, { 0, 0 }, { 0, 0 }, { 48,6862 }, { 49,6862 }, - { 50,6862 }, { 51,6862 }, { 52,6862 }, { 53,6862 }, { 54,6862 }, - { 55,6862 }, { 56,6862 }, { 57,6862 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,6081 }, { 66,6081 }, { 67,6081 }, { 68,6081 }, { 69,6081 }, - { 70,6081 }, { 71,6081 }, { 72,6081 }, { 73,6081 }, { 74,6081 }, - { 75,6081 }, { 76,6081 }, { 77,6081 }, { 78,6081 }, { 79,6081 }, - { 80,6081 }, { 81,6081 }, { 82,6081 }, { 83,6081 }, { 84,6081 }, - { 85,6081 }, { 86,6081 }, { 87,6081 }, { 88,6081 }, { 89,6081 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 36,6853 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,6853 }, + { 49,6853 }, { 50,6853 }, { 51,6853 }, { 52,6853 }, { 53,6853 }, + + { 54,6853 }, { 55,6853 }, { 56,6853 }, { 57,6853 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65,6853 }, { 66,6853 }, { 67,6853 }, { 68,6853 }, + { 69,6853 }, { 70,6853 }, { 71,6853 }, { 72,6853 }, { 73,6853 }, + { 74,6853 }, { 75,6853 }, { 76,6853 }, { 77,6853 }, { 78,6853 }, + { 79,6853 }, { 80,6853 }, { 81,6853 }, { 82,6853 }, { 83,6853 }, + { 84,6853 }, { 85,6853 }, { 86,6853 }, { 87,6853 }, { 88,6853 }, + { 89,6853 }, { 90,6853 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95,6853 }, { 0, 0 }, { 97,6853 }, { 98,6853 }, + { 99,6853 }, { 100,6853 }, { 101,6853 }, { 102,6853 }, { 103,6853 }, - { 90,6081 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 95,6081 }, { 0, 0 }, { 97,6081 }, { 98,6081 }, { 99,6081 }, - { 100,6081 }, { 101,6081 }, { 102,6081 }, { 103,6081 }, { 104,6081 }, - { 105,6081 }, { 106,6081 }, { 107,6081 }, { 108,6081 }, { 109,6081 }, - { 110,6081 }, { 111,6081 }, { 112,6081 }, { 113,6081 }, { 114,6081 }, - { 115,6081 }, { 116,6081 }, { 117,6081 }, { 118,6081 }, { 119,6081 }, - { 120,6081 }, { 121,6081 }, { 122,6081 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,6081 }, { 129,6081 }, - { 130,6081 }, { 131,6081 }, { 132,6081 }, { 133,6081 }, { 134,6081 }, - { 135,6081 }, { 136,6081 }, { 137,6081 }, { 138,6081 }, { 139,6081 }, + { 104,6853 }, { 105,6853 }, { 106,6853 }, { 107,6853 }, { 108,6853 }, + { 109,6853 }, { 110,6853 }, { 111,6853 }, { 112,6853 }, { 113,6853 }, + { 114,6853 }, { 115,6853 }, { 116,6853 }, { 117,6853 }, { 118,6853 }, + { 119,6853 }, { 120,6853 }, { 121,6853 }, { 122,6853 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,6853 }, + { 129,6853 }, { 130,6853 }, { 131,6853 }, { 132,6853 }, { 133,6853 }, + { 134,6853 }, { 135,6853 }, { 136,6853 }, { 137,6853 }, { 138,6853 }, + { 139,6853 }, { 140,6853 }, { 141,6853 }, { 142,6853 }, { 143,6853 }, + { 144,6853 }, { 145,6853 }, { 146,6853 }, { 147,6853 }, { 148,6853 }, + { 149,6853 }, { 150,6853 }, { 151,6853 }, { 152,6853 }, { 153,6853 }, - { 140,6081 }, { 141,6081 }, { 142,6081 }, { 143,6081 }, { 144,6081 }, - { 145,6081 }, { 146,6081 }, { 147,6081 }, { 148,6081 }, { 149,6081 }, - { 150,6081 }, { 151,6081 }, { 152,6081 }, { 153,6081 }, { 154,6081 }, - { 155,6081 }, { 156,6081 }, { 157,6081 }, { 158,6081 }, { 159,6081 }, - { 160,6081 }, { 161,6081 }, { 162,6081 }, { 163,6081 }, { 164,6081 }, - { 165,6081 }, { 166,6081 }, { 167,6081 }, { 168,6081 }, { 169,6081 }, - { 170,6081 }, { 171,6081 }, { 172,6081 }, { 173,6081 }, { 174,6081 }, - { 175,6081 }, { 176,6081 }, { 177,6081 }, { 178,6081 }, { 179,6081 }, - { 180,6081 }, { 181,6081 }, { 182,6081 }, { 183,6081 }, { 184,6081 }, - { 185,6081 }, { 186,6081 }, { 187,6081 }, { 188,6081 }, { 189,6081 }, + { 154,6853 }, { 155,6853 }, { 156,6853 }, { 157,6853 }, { 158,6853 }, + { 159,6853 }, { 160,6853 }, { 161,6853 }, { 162,6853 }, { 163,6853 }, + { 164,6853 }, { 165,6853 }, { 166,6853 }, { 167,6853 }, { 168,6853 }, + { 169,6853 }, { 170,6853 }, { 171,6853 }, { 172,6853 }, { 173,6853 }, + { 174,6853 }, { 175,6853 }, { 176,6853 }, { 177,6853 }, { 178,6853 }, + { 179,6853 }, { 180,6853 }, { 181,6853 }, { 182,6853 }, { 183,6853 }, + { 184,6853 }, { 185,6853 }, { 186,6853 }, { 187,6853 }, { 188,6853 }, + { 189,6853 }, { 190,6853 }, { 191,6853 }, { 192,6853 }, { 193,6853 }, + { 194,6853 }, { 195,6853 }, { 196,6853 }, { 197,6853 }, { 198,6853 }, + { 199,6853 }, { 200,6853 }, { 201,6853 }, { 202,6853 }, { 203,6853 }, - { 190,6081 }, { 191,6081 }, { 192,6081 }, { 193,6081 }, { 194,6081 }, - { 195,6081 }, { 196,6081 }, { 197,6081 }, { 198,6081 }, { 199,6081 }, - { 200,6081 }, { 201,6081 }, { 202,6081 }, { 203,6081 }, { 204,6081 }, - { 205,6081 }, { 206,6081 }, { 207,6081 }, { 208,6081 }, { 209,6081 }, - { 210,6081 }, { 211,6081 }, { 212,6081 }, { 213,6081 }, { 214,6081 }, - { 215,6081 }, { 216,6081 }, { 217,6081 }, { 218,6081 }, { 219,6081 }, - { 220,6081 }, { 221,6081 }, { 222,6081 }, { 223,6081 }, { 224,6081 }, - { 225,6081 }, { 226,6081 }, { 227,6081 }, { 228,6081 }, { 229,6081 }, - { 230,6081 }, { 231,6081 }, { 232,6081 }, { 233,6081 }, { 234,6081 }, - { 235,6081 }, { 236,6081 }, { 237,6081 }, { 238,6081 }, { 239,6081 }, + { 204,6853 }, { 205,6853 }, { 206,6853 }, { 207,6853 }, { 208,6853 }, + { 209,6853 }, { 210,6853 }, { 211,6853 }, { 212,6853 }, { 213,6853 }, + { 214,6853 }, { 215,6853 }, { 216,6853 }, { 217,6853 }, { 218,6853 }, + { 219,6853 }, { 220,6853 }, { 221,6853 }, { 222,6853 }, { 223,6853 }, + { 224,6853 }, { 225,6853 }, { 226,6853 }, { 227,6853 }, { 228,6853 }, + { 229,6853 }, { 230,6853 }, { 231,6853 }, { 232,6853 }, { 233,6853 }, + { 234,6853 }, { 235,6853 }, { 236,6853 }, { 237,6853 }, { 238,6853 }, + { 239,6853 }, { 240,6853 }, { 241,6853 }, { 242,6853 }, { 243,6853 }, + { 244,6853 }, { 245,6853 }, { 246,6853 }, { 247,6853 }, { 248,6853 }, + { 249,6853 }, { 250,6853 }, { 251,6853 }, { 252,6853 }, { 253,6853 }, + + { 254,6853 }, { 255,6853 }, { 0, 63 }, { 0,22454 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,6596 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 48,6853 }, { 49,6853 }, { 50,6596 }, { 51,6596 }, + { 52,6596 }, { 53,6596 }, { 54,6596 }, { 55,6596 }, { 56,6596 }, + { 57,6596 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,6596 }, { 66,6596 }, + { 67,6596 }, { 68,6596 }, { 69,6596 }, { 70,6596 }, { 71,6596 }, + { 72,6596 }, { 73,6596 }, { 74,6596 }, { 75,6596 }, { 76,6596 }, + { 77,6596 }, { 78,6596 }, { 79,6596 }, { 80,6596 }, { 81,6596 }, + { 82,6596 }, { 83,6596 }, { 84,6596 }, { 85,6596 }, { 86,6596 }, + { 87,6596 }, { 88,6596 }, { 89,6596 }, { 90,6596 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,7110 }, { 0, 0 }, - { 240,6081 }, { 241,6081 }, { 242,6081 }, { 243,6081 }, { 244,6081 }, - { 245,6081 }, { 246,6081 }, { 247,6081 }, { 248,6081 }, { 249,6081 }, - { 250,6081 }, { 251,6081 }, { 252,6081 }, { 253,6081 }, { 254,6081 }, - { 255,6081 }, { 0, 62 }, { 0,19205 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 97,6596 }, { 98,6596 }, { 99,6596 }, { 100,6596 }, { 101,6596 }, + { 102,6596 }, { 103,6596 }, { 104,6596 }, { 105,6596 }, { 106,6596 }, + { 107,6596 }, { 108,6596 }, { 109,6596 }, { 110,6596 }, { 111,6596 }, + { 112,6596 }, { 113,6596 }, { 114,6596 }, { 115,6596 }, { 116,6596 }, + { 117,6596 }, { 118,6596 }, { 119,6596 }, { 120,6596 }, { 121,6596 }, + { 122,6596 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,6596 }, { 129,6596 }, { 130,6596 }, { 131,6596 }, + { 132,6596 }, { 133,6596 }, { 134,6596 }, { 135,6596 }, { 136,6596 }, + { 137,6596 }, { 138,6596 }, { 139,6596 }, { 140,6596 }, { 141,6596 }, + { 142,6596 }, { 143,6596 }, { 144,6596 }, { 145,6596 }, { 146,6596 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,5824 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 48,6862 }, { 49,6862 }, { 50,6862 }, { 51,6862 }, { 52,6862 }, - { 53,6862 }, { 54,6862 }, { 55,6862 }, { 56,5824 }, { 57,5824 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,5824 }, { 66,5824 }, { 67,5824 }, - { 68,5824 }, { 69,5824 }, { 70,5824 }, { 71,5824 }, { 72,5824 }, - { 73,5824 }, { 74,5824 }, { 75,5824 }, { 76,5824 }, { 77,5824 }, - { 78,5824 }, { 79,5824 }, { 80,5824 }, { 81,5824 }, { 82,5824 }, + { 147,6596 }, { 148,6596 }, { 149,6596 }, { 150,6596 }, { 151,6596 }, + { 152,6596 }, { 153,6596 }, { 154,6596 }, { 155,6596 }, { 156,6596 }, + { 157,6596 }, { 158,6596 }, { 159,6596 }, { 160,6596 }, { 161,6596 }, + { 162,6596 }, { 163,6596 }, { 164,6596 }, { 165,6596 }, { 166,6596 }, + { 167,6596 }, { 168,6596 }, { 169,6596 }, { 170,6596 }, { 171,6596 }, + { 172,6596 }, { 173,6596 }, { 174,6596 }, { 175,6596 }, { 176,6596 }, + { 177,6596 }, { 178,6596 }, { 179,6596 }, { 180,6596 }, { 181,6596 }, + { 182,6596 }, { 183,6596 }, { 184,6596 }, { 185,6596 }, { 186,6596 }, + { 187,6596 }, { 188,6596 }, { 189,6596 }, { 190,6596 }, { 191,6596 }, + { 192,6596 }, { 193,6596 }, { 194,6596 }, { 195,6596 }, { 196,6596 }, - { 83,5824 }, { 84,5824 }, { 85,5824 }, { 86,5824 }, { 87,5824 }, - { 88,5824 }, { 89,5824 }, { 90,5824 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 95,7119 }, { 0, 0 }, { 97,5824 }, - { 98,5824 }, { 99,5824 }, { 100,5824 }, { 101,5824 }, { 102,5824 }, - { 103,5824 }, { 104,5824 }, { 105,5824 }, { 106,5824 }, { 107,5824 }, - { 108,5824 }, { 109,5824 }, { 110,5824 }, { 111,5824 }, { 112,5824 }, - { 113,5824 }, { 114,5824 }, { 115,5824 }, { 116,5824 }, { 117,5824 }, - { 118,5824 }, { 119,5824 }, { 120,5824 }, { 121,5824 }, { 122,5824 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 128,5824 }, { 129,5824 }, { 130,5824 }, { 131,5824 }, { 132,5824 }, + { 197,6596 }, { 198,6596 }, { 199,6596 }, { 200,6596 }, { 201,6596 }, + { 202,6596 }, { 203,6596 }, { 204,6596 }, { 205,6596 }, { 206,6596 }, + { 207,6596 }, { 208,6596 }, { 209,6596 }, { 210,6596 }, { 211,6596 }, + { 212,6596 }, { 213,6596 }, { 214,6596 }, { 215,6596 }, { 216,6596 }, + { 217,6596 }, { 218,6596 }, { 219,6596 }, { 220,6596 }, { 221,6596 }, + { 222,6596 }, { 223,6596 }, { 224,6596 }, { 225,6596 }, { 226,6596 }, + { 227,6596 }, { 228,6596 }, { 229,6596 }, { 230,6596 }, { 231,6596 }, + { 232,6596 }, { 233,6596 }, { 234,6596 }, { 235,6596 }, { 236,6596 }, + { 237,6596 }, { 238,6596 }, { 239,6596 }, { 240,6596 }, { 241,6596 }, + { 242,6596 }, { 243,6596 }, { 244,6596 }, { 245,6596 }, { 246,6596 }, + + { 247,6596 }, { 248,6596 }, { 249,6596 }, { 250,6596 }, { 251,6596 }, + { 252,6596 }, { 253,6596 }, { 254,6596 }, { 255,6596 }, { 0, 68 }, + { 0,22197 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 36,6339 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 43,7110 }, { 0, 0 }, + { 45,7110 }, { 0, 0 }, { 0, 0 }, { 48,7120 }, { 49,7120 }, + { 50,7120 }, { 51,7120 }, { 52,7120 }, { 53,7120 }, { 54,7120 }, + { 55,7120 }, { 56,7120 }, { 57,7120 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,6339 }, { 66,6339 }, { 67,6339 }, { 68,6339 }, { 69,6339 }, + { 70,6339 }, { 71,6339 }, { 72,6339 }, { 73,6339 }, { 74,6339 }, + { 75,6339 }, { 76,6339 }, { 77,6339 }, { 78,6339 }, { 79,6339 }, + { 80,6339 }, { 81,6339 }, { 82,6339 }, { 83,6339 }, { 84,6339 }, + { 85,6339 }, { 86,6339 }, { 87,6339 }, { 88,6339 }, { 89,6339 }, - { 133,5824 }, { 134,5824 }, { 135,5824 }, { 136,5824 }, { 137,5824 }, - { 138,5824 }, { 139,5824 }, { 140,5824 }, { 141,5824 }, { 142,5824 }, - { 143,5824 }, { 144,5824 }, { 145,5824 }, { 146,5824 }, { 147,5824 }, - { 148,5824 }, { 149,5824 }, { 150,5824 }, { 151,5824 }, { 152,5824 }, - { 153,5824 }, { 154,5824 }, { 155,5824 }, { 156,5824 }, { 157,5824 }, - { 158,5824 }, { 159,5824 }, { 160,5824 }, { 161,5824 }, { 162,5824 }, - { 163,5824 }, { 164,5824 }, { 165,5824 }, { 166,5824 }, { 167,5824 }, - { 168,5824 }, { 169,5824 }, { 170,5824 }, { 171,5824 }, { 172,5824 }, - { 173,5824 }, { 174,5824 }, { 175,5824 }, { 176,5824 }, { 177,5824 }, - { 178,5824 }, { 179,5824 }, { 180,5824 }, { 181,5824 }, { 182,5824 }, + { 90,6339 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,6339 }, { 0, 0 }, { 97,6339 }, { 98,6339 }, { 99,6339 }, + { 100,6339 }, { 101,6339 }, { 102,6339 }, { 103,6339 }, { 104,6339 }, + { 105,6339 }, { 106,6339 }, { 107,6339 }, { 108,6339 }, { 109,6339 }, + { 110,6339 }, { 111,6339 }, { 112,6339 }, { 113,6339 }, { 114,6339 }, + { 115,6339 }, { 116,6339 }, { 117,6339 }, { 118,6339 }, { 119,6339 }, + { 120,6339 }, { 121,6339 }, { 122,6339 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,6339 }, { 129,6339 }, + { 130,6339 }, { 131,6339 }, { 132,6339 }, { 133,6339 }, { 134,6339 }, + { 135,6339 }, { 136,6339 }, { 137,6339 }, { 138,6339 }, { 139,6339 }, - { 183,5824 }, { 184,5824 }, { 185,5824 }, { 186,5824 }, { 187,5824 }, - { 188,5824 }, { 189,5824 }, { 190,5824 }, { 191,5824 }, { 192,5824 }, - { 193,5824 }, { 194,5824 }, { 195,5824 }, { 196,5824 }, { 197,5824 }, - { 198,5824 }, { 199,5824 }, { 200,5824 }, { 201,5824 }, { 202,5824 }, - { 203,5824 }, { 204,5824 }, { 205,5824 }, { 206,5824 }, { 207,5824 }, - { 208,5824 }, { 209,5824 }, { 210,5824 }, { 211,5824 }, { 212,5824 }, - { 213,5824 }, { 214,5824 }, { 215,5824 }, { 216,5824 }, { 217,5824 }, - { 218,5824 }, { 219,5824 }, { 220,5824 }, { 221,5824 }, { 222,5824 }, - { 223,5824 }, { 224,5824 }, { 225,5824 }, { 226,5824 }, { 227,5824 }, - { 228,5824 }, { 229,5824 }, { 230,5824 }, { 231,5824 }, { 232,5824 }, + { 140,6339 }, { 141,6339 }, { 142,6339 }, { 143,6339 }, { 144,6339 }, + { 145,6339 }, { 146,6339 }, { 147,6339 }, { 148,6339 }, { 149,6339 }, + { 150,6339 }, { 151,6339 }, { 152,6339 }, { 153,6339 }, { 154,6339 }, + { 155,6339 }, { 156,6339 }, { 157,6339 }, { 158,6339 }, { 159,6339 }, + { 160,6339 }, { 161,6339 }, { 162,6339 }, { 163,6339 }, { 164,6339 }, + { 165,6339 }, { 166,6339 }, { 167,6339 }, { 168,6339 }, { 169,6339 }, + { 170,6339 }, { 171,6339 }, { 172,6339 }, { 173,6339 }, { 174,6339 }, + { 175,6339 }, { 176,6339 }, { 177,6339 }, { 178,6339 }, { 179,6339 }, + { 180,6339 }, { 181,6339 }, { 182,6339 }, { 183,6339 }, { 184,6339 }, + { 185,6339 }, { 186,6339 }, { 187,6339 }, { 188,6339 }, { 189,6339 }, - { 233,5824 }, { 234,5824 }, { 235,5824 }, { 236,5824 }, { 237,5824 }, - { 238,5824 }, { 239,5824 }, { 240,5824 }, { 241,5824 }, { 242,5824 }, - { 243,5824 }, { 244,5824 }, { 245,5824 }, { 246,5824 }, { 247,5824 }, - { 248,5824 }, { 249,5824 }, { 250,5824 }, { 251,5824 }, { 252,5824 }, - { 253,5824 }, { 254,5824 }, { 255,5824 }, { 0, 61 }, { 0,18948 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 190,6339 }, { 191,6339 }, { 192,6339 }, { 193,6339 }, { 194,6339 }, + { 195,6339 }, { 196,6339 }, { 197,6339 }, { 198,6339 }, { 199,6339 }, + { 200,6339 }, { 201,6339 }, { 202,6339 }, { 203,6339 }, { 204,6339 }, + { 205,6339 }, { 206,6339 }, { 207,6339 }, { 208,6339 }, { 209,6339 }, + { 210,6339 }, { 211,6339 }, { 212,6339 }, { 213,6339 }, { 214,6339 }, + { 215,6339 }, { 216,6339 }, { 217,6339 }, { 218,6339 }, { 219,6339 }, + { 220,6339 }, { 221,6339 }, { 222,6339 }, { 223,6339 }, { 224,6339 }, + { 225,6339 }, { 226,6339 }, { 227,6339 }, { 228,6339 }, { 229,6339 }, + { 230,6339 }, { 231,6339 }, { 232,6339 }, { 233,6339 }, { 234,6339 }, + { 235,6339 }, { 236,6339 }, { 237,6339 }, { 238,6339 }, { 239,6339 }, + + { 240,6339 }, { 241,6339 }, { 242,6339 }, { 243,6339 }, { 244,6339 }, + { 245,6339 }, { 246,6339 }, { 247,6339 }, { 248,6339 }, { 249,6339 }, + { 250,6339 }, { 251,6339 }, { 252,6339 }, { 253,6339 }, { 254,6339 }, + { 255,6339 }, { 0, 62 }, { 0,21940 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,6082 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48,7120 }, { 49,7120 }, { 50,7120 }, { 51,7120 }, { 52,7120 }, + { 53,7120 }, { 54,7120 }, { 55,7120 }, { 56,6082 }, { 57,6082 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 65,6082 }, { 66,6082 }, { 67,6082 }, + { 68,6082 }, { 69,6082 }, { 70,6082 }, { 71,6082 }, { 72,6082 }, + { 73,6082 }, { 74,6082 }, { 75,6082 }, { 76,6082 }, { 77,6082 }, + { 78,6082 }, { 79,6082 }, { 80,6082 }, { 81,6082 }, { 82,6082 }, + + { 83,6082 }, { 84,6082 }, { 85,6082 }, { 86,6082 }, { 87,6082 }, + { 88,6082 }, { 89,6082 }, { 90,6082 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 95,7377 }, { 0, 0 }, { 97,6082 }, + { 98,6082 }, { 99,6082 }, { 100,6082 }, { 101,6082 }, { 102,6082 }, + { 103,6082 }, { 104,6082 }, { 105,6082 }, { 106,6082 }, { 107,6082 }, + { 108,6082 }, { 109,6082 }, { 110,6082 }, { 111,6082 }, { 112,6082 }, + { 113,6082 }, { 114,6082 }, { 115,6082 }, { 116,6082 }, { 117,6082 }, + { 118,6082 }, { 119,6082 }, { 120,6082 }, { 121,6082 }, { 122,6082 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 128,6082 }, { 129,6082 }, { 130,6082 }, { 131,6082 }, { 132,6082 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 36,5567 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48,7119 }, { 49,7119 }, { 50,7119 }, - { 51,7119 }, { 52,7119 }, { 53,7119 }, { 54,7119 }, { 55,7119 }, - { 56,7119 }, { 57,7119 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,7119 }, - { 66,7119 }, { 67,7119 }, { 68,7119 }, { 69,7119 }, { 70,7119 }, - { 71,5567 }, { 72,5567 }, { 73,5567 }, { 74,5567 }, { 75,5567 }, + { 133,6082 }, { 134,6082 }, { 135,6082 }, { 136,6082 }, { 137,6082 }, + { 138,6082 }, { 139,6082 }, { 140,6082 }, { 141,6082 }, { 142,6082 }, + { 143,6082 }, { 144,6082 }, { 145,6082 }, { 146,6082 }, { 147,6082 }, + { 148,6082 }, { 149,6082 }, { 150,6082 }, { 151,6082 }, { 152,6082 }, + { 153,6082 }, { 154,6082 }, { 155,6082 }, { 156,6082 }, { 157,6082 }, + { 158,6082 }, { 159,6082 }, { 160,6082 }, { 161,6082 }, { 162,6082 }, + { 163,6082 }, { 164,6082 }, { 165,6082 }, { 166,6082 }, { 167,6082 }, + { 168,6082 }, { 169,6082 }, { 170,6082 }, { 171,6082 }, { 172,6082 }, + { 173,6082 }, { 174,6082 }, { 175,6082 }, { 176,6082 }, { 177,6082 }, + { 178,6082 }, { 179,6082 }, { 180,6082 }, { 181,6082 }, { 182,6082 }, - { 76,5567 }, { 77,5567 }, { 78,5567 }, { 79,5567 }, { 80,5567 }, - { 81,5567 }, { 82,5567 }, { 83,5567 }, { 84,5567 }, { 85,5567 }, - { 86,5567 }, { 87,5567 }, { 88,5567 }, { 89,5567 }, { 90,5567 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,7376 }, - { 0, 0 }, { 97,7119 }, { 98,7119 }, { 99,7119 }, { 100,7119 }, - { 101,7119 }, { 102,7119 }, { 103,5567 }, { 104,5567 }, { 105,5567 }, - { 106,5567 }, { 107,5567 }, { 108,5567 }, { 109,5567 }, { 110,5567 }, - { 111,5567 }, { 112,5567 }, { 113,5567 }, { 114,5567 }, { 115,5567 }, - { 116,5567 }, { 117,5567 }, { 118,5567 }, { 119,5567 }, { 120,5567 }, - { 121,5567 }, { 122,5567 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 183,6082 }, { 184,6082 }, { 185,6082 }, { 186,6082 }, { 187,6082 }, + { 188,6082 }, { 189,6082 }, { 190,6082 }, { 191,6082 }, { 192,6082 }, + { 193,6082 }, { 194,6082 }, { 195,6082 }, { 196,6082 }, { 197,6082 }, + { 198,6082 }, { 199,6082 }, { 200,6082 }, { 201,6082 }, { 202,6082 }, + { 203,6082 }, { 204,6082 }, { 205,6082 }, { 206,6082 }, { 207,6082 }, + { 208,6082 }, { 209,6082 }, { 210,6082 }, { 211,6082 }, { 212,6082 }, + { 213,6082 }, { 214,6082 }, { 215,6082 }, { 216,6082 }, { 217,6082 }, + { 218,6082 }, { 219,6082 }, { 220,6082 }, { 221,6082 }, { 222,6082 }, + { 223,6082 }, { 224,6082 }, { 225,6082 }, { 226,6082 }, { 227,6082 }, + { 228,6082 }, { 229,6082 }, { 230,6082 }, { 231,6082 }, { 232,6082 }, + + { 233,6082 }, { 234,6082 }, { 235,6082 }, { 236,6082 }, { 237,6082 }, + { 238,6082 }, { 239,6082 }, { 240,6082 }, { 241,6082 }, { 242,6082 }, + { 243,6082 }, { 244,6082 }, { 245,6082 }, { 246,6082 }, { 247,6082 }, + { 248,6082 }, { 249,6082 }, { 250,6082 }, { 251,6082 }, { 252,6082 }, + { 253,6082 }, { 254,6082 }, { 255,6082 }, { 0, 61 }, { 0,21683 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 36,5825 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 48,7377 }, { 49,7377 }, { 50,7377 }, + { 51,7377 }, { 52,7377 }, { 53,7377 }, { 54,7377 }, { 55,7377 }, + { 56,7377 }, { 57,7377 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,7377 }, + { 66,7377 }, { 67,7377 }, { 68,7377 }, { 69,7377 }, { 70,7377 }, + { 71,5825 }, { 72,5825 }, { 73,5825 }, { 74,5825 }, { 75,5825 }, + + { 76,5825 }, { 77,5825 }, { 78,5825 }, { 79,5825 }, { 80,5825 }, + { 81,5825 }, { 82,5825 }, { 83,5825 }, { 84,5825 }, { 85,5825 }, + { 86,5825 }, { 87,5825 }, { 88,5825 }, { 89,5825 }, { 90,5825 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,7634 }, + { 0, 0 }, { 97,7377 }, { 98,7377 }, { 99,7377 }, { 100,7377 }, + { 101,7377 }, { 102,7377 }, { 103,5825 }, { 104,5825 }, { 105,5825 }, + { 106,5825 }, { 107,5825 }, { 108,5825 }, { 109,5825 }, { 110,5825 }, + { 111,5825 }, { 112,5825 }, { 113,5825 }, { 114,5825 }, { 115,5825 }, + { 116,5825 }, { 117,5825 }, { 118,5825 }, { 119,5825 }, { 120,5825 }, + { 121,5825 }, { 122,5825 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 128,5567 }, { 129,5567 }, { 130,5567 }, - { 131,5567 }, { 132,5567 }, { 133,5567 }, { 134,5567 }, { 135,5567 }, - { 136,5567 }, { 137,5567 }, { 138,5567 }, { 139,5567 }, { 140,5567 }, - { 141,5567 }, { 142,5567 }, { 143,5567 }, { 144,5567 }, { 145,5567 }, - { 146,5567 }, { 147,5567 }, { 148,5567 }, { 149,5567 }, { 150,5567 }, - { 151,5567 }, { 152,5567 }, { 153,5567 }, { 154,5567 }, { 155,5567 }, - { 156,5567 }, { 157,5567 }, { 158,5567 }, { 159,5567 }, { 160,5567 }, - { 161,5567 }, { 162,5567 }, { 163,5567 }, { 164,5567 }, { 165,5567 }, - { 166,5567 }, { 167,5567 }, { 168,5567 }, { 169,5567 }, { 170,5567 }, - { 171,5567 }, { 172,5567 }, { 173,5567 }, { 174,5567 }, { 175,5567 }, + { 0, 0 }, { 0, 0 }, { 128,5825 }, { 129,5825 }, { 130,5825 }, + { 131,5825 }, { 132,5825 }, { 133,5825 }, { 134,5825 }, { 135,5825 }, + { 136,5825 }, { 137,5825 }, { 138,5825 }, { 139,5825 }, { 140,5825 }, + { 141,5825 }, { 142,5825 }, { 143,5825 }, { 144,5825 }, { 145,5825 }, + { 146,5825 }, { 147,5825 }, { 148,5825 }, { 149,5825 }, { 150,5825 }, + { 151,5825 }, { 152,5825 }, { 153,5825 }, { 154,5825 }, { 155,5825 }, + { 156,5825 }, { 157,5825 }, { 158,5825 }, { 159,5825 }, { 160,5825 }, + { 161,5825 }, { 162,5825 }, { 163,5825 }, { 164,5825 }, { 165,5825 }, + { 166,5825 }, { 167,5825 }, { 168,5825 }, { 169,5825 }, { 170,5825 }, + { 171,5825 }, { 172,5825 }, { 173,5825 }, { 174,5825 }, { 175,5825 }, - { 176,5567 }, { 177,5567 }, { 178,5567 }, { 179,5567 }, { 180,5567 }, - { 181,5567 }, { 182,5567 }, { 183,5567 }, { 184,5567 }, { 185,5567 }, - { 186,5567 }, { 187,5567 }, { 188,5567 }, { 189,5567 }, { 190,5567 }, - { 191,5567 }, { 192,5567 }, { 193,5567 }, { 194,5567 }, { 195,5567 }, - { 196,5567 }, { 197,5567 }, { 198,5567 }, { 199,5567 }, { 200,5567 }, - { 201,5567 }, { 202,5567 }, { 203,5567 }, { 204,5567 }, { 205,5567 }, - { 206,5567 }, { 207,5567 }, { 208,5567 }, { 209,5567 }, { 210,5567 }, - { 211,5567 }, { 212,5567 }, { 213,5567 }, { 214,5567 }, { 215,5567 }, - { 216,5567 }, { 217,5567 }, { 218,5567 }, { 219,5567 }, { 220,5567 }, - { 221,5567 }, { 222,5567 }, { 223,5567 }, { 224,5567 }, { 225,5567 }, + { 176,5825 }, { 177,5825 }, { 178,5825 }, { 179,5825 }, { 180,5825 }, + { 181,5825 }, { 182,5825 }, { 183,5825 }, { 184,5825 }, { 185,5825 }, + { 186,5825 }, { 187,5825 }, { 188,5825 }, { 189,5825 }, { 190,5825 }, + { 191,5825 }, { 192,5825 }, { 193,5825 }, { 194,5825 }, { 195,5825 }, + { 196,5825 }, { 197,5825 }, { 198,5825 }, { 199,5825 }, { 200,5825 }, + { 201,5825 }, { 202,5825 }, { 203,5825 }, { 204,5825 }, { 205,5825 }, + { 206,5825 }, { 207,5825 }, { 208,5825 }, { 209,5825 }, { 210,5825 }, + { 211,5825 }, { 212,5825 }, { 213,5825 }, { 214,5825 }, { 215,5825 }, + { 216,5825 }, { 217,5825 }, { 218,5825 }, { 219,5825 }, { 220,5825 }, + { 221,5825 }, { 222,5825 }, { 223,5825 }, { 224,5825 }, { 225,5825 }, - { 226,5567 }, { 227,5567 }, { 228,5567 }, { 229,5567 }, { 230,5567 }, - { 231,5567 }, { 232,5567 }, { 233,5567 }, { 234,5567 }, { 235,5567 }, - { 236,5567 }, { 237,5567 }, { 238,5567 }, { 239,5567 }, { 240,5567 }, - { 241,5567 }, { 242,5567 }, { 243,5567 }, { 244,5567 }, { 245,5567 }, - { 246,5567 }, { 247,5567 }, { 248,5567 }, { 249,5567 }, { 250,5567 }, - { 251,5567 }, { 252,5567 }, { 253,5567 }, { 254,5567 }, { 255,5567 }, - { 0, 68 }, { 0,18691 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 36,5310 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,7376 }, - { 49,7376 }, { 50,7376 }, { 51,7376 }, { 52,7376 }, { 53,7376 }, - { 54,7376 }, { 55,7376 }, { 56,7376 }, { 57,7376 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65,5310 }, { 66,5310 }, { 67,5310 }, { 68,5310 }, - - { 69,5310 }, { 70,5310 }, { 71,5310 }, { 72,5310 }, { 73,5310 }, - { 74,5310 }, { 75,5310 }, { 76,5310 }, { 77,5310 }, { 78,5310 }, - { 79,5310 }, { 80,5310 }, { 81,5310 }, { 82,5310 }, { 83,5310 }, - { 84,5310 }, { 85,5310 }, { 86,5310 }, { 87,5310 }, { 88,5310 }, - { 89,5310 }, { 90,5310 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95,5310 }, { 0, 0 }, { 97,5310 }, { 98,5310 }, - { 99,5310 }, { 100,5310 }, { 101,5310 }, { 102,5310 }, { 103,5310 }, - { 104,5310 }, { 105,5310 }, { 106,5310 }, { 107,5310 }, { 108,5310 }, - { 109,5310 }, { 110,5310 }, { 111,5310 }, { 112,5310 }, { 113,5310 }, - { 114,5310 }, { 115,5310 }, { 116,5310 }, { 117,5310 }, { 118,5310 }, + { 226,5825 }, { 227,5825 }, { 228,5825 }, { 229,5825 }, { 230,5825 }, + { 231,5825 }, { 232,5825 }, { 233,5825 }, { 234,5825 }, { 235,5825 }, + { 236,5825 }, { 237,5825 }, { 238,5825 }, { 239,5825 }, { 240,5825 }, + { 241,5825 }, { 242,5825 }, { 243,5825 }, { 244,5825 }, { 245,5825 }, + { 246,5825 }, { 247,5825 }, { 248,5825 }, { 249,5825 }, { 250,5825 }, + { 251,5825 }, { 252,5825 }, { 253,5825 }, { 254,5825 }, { 255,5825 }, + { 0, 68 }, { 0,21426 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 36,5568 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,7634 }, + { 49,7634 }, { 50,7634 }, { 51,7634 }, { 52,7634 }, { 53,7634 }, + { 54,7634 }, { 55,7634 }, { 56,7634 }, { 57,7634 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65,5568 }, { 66,5568 }, { 67,5568 }, { 68,5568 }, + + { 69,5568 }, { 70,5568 }, { 71,5568 }, { 72,5568 }, { 73,5568 }, + { 74,5568 }, { 75,5568 }, { 76,5568 }, { 77,5568 }, { 78,5568 }, + { 79,5568 }, { 80,5568 }, { 81,5568 }, { 82,5568 }, { 83,5568 }, + { 84,5568 }, { 85,5568 }, { 86,5568 }, { 87,5568 }, { 88,5568 }, + { 89,5568 }, { 90,5568 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95,5568 }, { 0, 0 }, { 97,5568 }, { 98,5568 }, + { 99,5568 }, { 100,5568 }, { 101,5568 }, { 102,5568 }, { 103,5568 }, + { 104,5568 }, { 105,5568 }, { 106,5568 }, { 107,5568 }, { 108,5568 }, + { 109,5568 }, { 110,5568 }, { 111,5568 }, { 112,5568 }, { 113,5568 }, + { 114,5568 }, { 115,5568 }, { 116,5568 }, { 117,5568 }, { 118,5568 }, - { 119,5310 }, { 120,5310 }, { 121,5310 }, { 122,5310 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,5310 }, - { 129,5310 }, { 130,5310 }, { 131,5310 }, { 132,5310 }, { 133,5310 }, - { 134,5310 }, { 135,5310 }, { 136,5310 }, { 137,5310 }, { 138,5310 }, - { 139,5310 }, { 140,5310 }, { 141,5310 }, { 142,5310 }, { 143,5310 }, - { 144,5310 }, { 145,5310 }, { 146,5310 }, { 147,5310 }, { 148,5310 }, - { 149,5310 }, { 150,5310 }, { 151,5310 }, { 152,5310 }, { 153,5310 }, - { 154,5310 }, { 155,5310 }, { 156,5310 }, { 157,5310 }, { 158,5310 }, - { 159,5310 }, { 160,5310 }, { 161,5310 }, { 162,5310 }, { 163,5310 }, - { 164,5310 }, { 165,5310 }, { 166,5310 }, { 167,5310 }, { 168,5310 }, + { 119,5568 }, { 120,5568 }, { 121,5568 }, { 122,5568 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,5568 }, + { 129,5568 }, { 130,5568 }, { 131,5568 }, { 132,5568 }, { 133,5568 }, + { 134,5568 }, { 135,5568 }, { 136,5568 }, { 137,5568 }, { 138,5568 }, + { 139,5568 }, { 140,5568 }, { 141,5568 }, { 142,5568 }, { 143,5568 }, + { 144,5568 }, { 145,5568 }, { 146,5568 }, { 147,5568 }, { 148,5568 }, + { 149,5568 }, { 150,5568 }, { 151,5568 }, { 152,5568 }, { 153,5568 }, + { 154,5568 }, { 155,5568 }, { 156,5568 }, { 157,5568 }, { 158,5568 }, + { 159,5568 }, { 160,5568 }, { 161,5568 }, { 162,5568 }, { 163,5568 }, + { 164,5568 }, { 165,5568 }, { 166,5568 }, { 167,5568 }, { 168,5568 }, - { 169,5310 }, { 170,5310 }, { 171,5310 }, { 172,5310 }, { 173,5310 }, - { 174,5310 }, { 175,5310 }, { 176,5310 }, { 177,5310 }, { 178,5310 }, - { 179,5310 }, { 180,5310 }, { 181,5310 }, { 182,5310 }, { 183,5310 }, - { 184,5310 }, { 185,5310 }, { 186,5310 }, { 187,5310 }, { 188,5310 }, - { 189,5310 }, { 190,5310 }, { 191,5310 }, { 192,5310 }, { 193,5310 }, - { 194,5310 }, { 195,5310 }, { 196,5310 }, { 197,5310 }, { 198,5310 }, - { 199,5310 }, { 200,5310 }, { 201,5310 }, { 202,5310 }, { 203,5310 }, - { 204,5310 }, { 205,5310 }, { 206,5310 }, { 207,5310 }, { 208,5310 }, - { 209,5310 }, { 210,5310 }, { 211,5310 }, { 212,5310 }, { 213,5310 }, - { 214,5310 }, { 215,5310 }, { 216,5310 }, { 217,5310 }, { 218,5310 }, - - { 219,5310 }, { 220,5310 }, { 221,5310 }, { 222,5310 }, { 223,5310 }, - { 224,5310 }, { 225,5310 }, { 226,5310 }, { 227,5310 }, { 228,5310 }, - { 229,5310 }, { 230,5310 }, { 231,5310 }, { 232,5310 }, { 233,5310 }, - { 234,5310 }, { 235,5310 }, { 236,5310 }, { 237,5310 }, { 238,5310 }, - { 239,5310 }, { 240,5310 }, { 241,5310 }, { 242,5310 }, { 243,5310 }, - { 244,5310 }, { 245,5310 }, { 246,5310 }, { 247,5310 }, { 248,5310 }, - { 249,5310 }, { 250,5310 }, { 251,5310 }, { 252,5310 }, { 253,5310 }, - { 254,5310 }, { 255,5310 }, { 0, 50 }, { 0,18434 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 52 }, { 0,18423 }, + { 169,5568 }, { 170,5568 }, { 171,5568 }, { 172,5568 }, { 173,5568 }, + { 174,5568 }, { 175,5568 }, { 176,5568 }, { 177,5568 }, { 178,5568 }, + { 179,5568 }, { 180,5568 }, { 181,5568 }, { 182,5568 }, { 183,5568 }, + { 184,5568 }, { 185,5568 }, { 186,5568 }, { 187,5568 }, { 188,5568 }, + { 189,5568 }, { 190,5568 }, { 191,5568 }, { 192,5568 }, { 193,5568 }, + { 194,5568 }, { 195,5568 }, { 196,5568 }, { 197,5568 }, { 198,5568 }, + { 199,5568 }, { 200,5568 }, { 201,5568 }, { 202,5568 }, { 203,5568 }, + { 204,5568 }, { 205,5568 }, { 206,5568 }, { 207,5568 }, { 208,5568 }, + { 209,5568 }, { 210,5568 }, { 211,5568 }, { 212,5568 }, { 213,5568 }, + { 214,5568 }, { 215,5568 }, { 216,5568 }, { 217,5568 }, { 218,5568 }, + + { 219,5568 }, { 220,5568 }, { 221,5568 }, { 222,5568 }, { 223,5568 }, + { 224,5568 }, { 225,5568 }, { 226,5568 }, { 227,5568 }, { 228,5568 }, + { 229,5568 }, { 230,5568 }, { 231,5568 }, { 232,5568 }, { 233,5568 }, + { 234,5568 }, { 235,5568 }, { 236,5568 }, { 237,5568 }, { 238,5568 }, + { 239,5568 }, { 240,5568 }, { 241,5568 }, { 242,5568 }, { 243,5568 }, + { 244,5568 }, { 245,5568 }, { 246,5568 }, { 247,5568 }, { 248,5568 }, + { 249,5568 }, { 250,5568 }, { 251,5568 }, { 252,5568 }, { 253,5568 }, + { 254,5568 }, { 255,5568 }, { 0, 50 }, { 0,21169 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 52 }, { 0,21158 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -3986,7 +3986,7 @@ static const struct yy_trans_info yy_transition[33677] = { 62,-2951 }, { 63,-2951 }, { 64,-2951 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 60,-2962 }, { 61,-2962 }, { 62,-2962 }, { 63,-2962 }, { 64,-2962 }, { 0, 0 }, - { 0, 49 }, { 0,18356 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 49 }, { 0,21091 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94,-2951 }, { 0, 0 }, { 96,-2951 }, @@ -3995,7 +3995,7 @@ static const struct yy_trans_info yy_transition[33677] = { 96,-2962 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 33,-3029 }, { 0, 0 }, { 35,-3029 }, { 0, 0 }, { 37,-3029 }, { 38,-3029 }, - { 0, 51 }, { 0,18316 }, { 0, 0 }, { 42,-3029 }, { 43,-3029 }, + { 0, 51 }, { 0,21051 }, { 0, 0 }, { 42,-3029 }, { 43,-3029 }, { 0, 0 }, { 45,-3029 }, { 124,-2951 }, { 47,-3029 }, { 126,-2951 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 124,-2962 }, { 0, 0 }, @@ -4009,7 +4009,7 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94,-3029 }, { 0, 0 }, { 96,-3029 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 60,-3069 }, { 61,-3069 }, { 62,-3069 }, { 63,-3069 }, - { 64,-3069 }, { 0, 71 }, { 0,18250 }, { 0, 0 }, { 0, 0 }, + { 64,-3069 }, { 0, 71 }, { 0,20985 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -4065,7 +4065,7 @@ static const struct yy_trans_info yy_transition[33677] = { 238, 0 }, { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, - { 253, 0 }, { 254, 0 }, { 255, 0 }, { 0, 11 }, { 0,17993 }, + { 253, 0 }, { 254, 0 }, { 255, 0 }, { 0, 11 }, { 0,20728 }, { 1, 0 }, { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, { 8, 0 }, { 9, 0 }, { 10, 0 }, { 11, 0 }, { 12, 0 }, { 13, 0 }, { 14, 0 }, { 15, 0 }, @@ -4122,7 +4122,7 @@ static const struct yy_trans_info yy_transition[33677] = { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, - { 256, 0 }, { 0, 6 }, { 0,17735 }, { 1, 0 }, { 2, 0 }, + { 256, 0 }, { 0, 6 }, { 0,20470 }, { 1, 0 }, { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, { 8, 0 }, { 9, 0 }, { 10, 0 }, { 11, 0 }, { 12, 0 }, @@ -4179,35 +4179,35 @@ static const struct yy_trans_info yy_transition[33677] = { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, { 256, 0 }, { 0, 4 }, - { 0,17477 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0,20212 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 33,6419 }, { 0, 0 }, - { 35,6419 }, { 0, 0 }, { 37,6419 }, { 38,6419 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 42,6419 }, { 43,6419 }, { 0, 0 }, - { 45,6419 }, { 0, 0 }, { 47,6419 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 33,6677 }, { 0, 0 }, + { 35,6677 }, { 0, 0 }, { 37,6677 }, { 38,6677 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 42,6677 }, { 43,6677 }, { 0, 0 }, + { 45,6677 }, { 0, 0 }, { 47,6677 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 60,6419 }, { 61,6419 }, { 62,6419 }, { 63,6419 }, { 64,6419 }, + { 60,6677 }, { 61,6677 }, { 62,6677 }, { 63,6677 }, { 64,6677 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94,6419 }, - { 0, 0 }, { 96,6419 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94,6677 }, + { 0, 0 }, { 96,6677 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 124,6419 }, - { 0, 0 }, { 126,6419 }, { 0, 44 }, { 0,17349 }, { 1, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 124,6677 }, + { 0, 0 }, { 126,6677 }, { 0, 44 }, { 0,20084 }, { 1, 0 }, { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, { 8, 0 }, { 9, 0 }, { 10, 0 }, { 11, 0 }, { 12, 0 }, { 13, 0 }, { 14, 0 }, { 15, 0 }, { 16, 0 }, @@ -4264,7 +4264,7 @@ static const struct yy_trans_info yy_transition[33677] = { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, { 256, 0 }, - { 0, 10 }, { 0,17091 }, { 1, 0 }, { 2, 0 }, { 3, 0 }, + { 0, 10 }, { 0,19826 }, { 1, 0 }, { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, { 8, 0 }, { 9, 0 }, { 10, 0 }, { 11, 0 }, { 12, 0 }, { 13, 0 }, { 14, 0 }, { 15, 0 }, { 16, 0 }, { 17, 0 }, { 18, 0 }, @@ -4320,7 +4320,7 @@ static const struct yy_trans_info yy_transition[33677] = { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, - { 254, 0 }, { 255, 0 }, { 256, 0 }, { 0, 22 }, { 0,16833 }, + { 254, 0 }, { 255, 0 }, { 256, 0 }, { 0, 22 }, { 0,19568 }, { 1, 0 }, { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, { 8, 0 }, { 9, 0 }, { 10, 0 }, @@ -4377,151 +4377,339 @@ static const struct yy_trans_info yy_transition[33677] = { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, - { 256, 0 }, { 0, 19 }, { 0,16575 }, { 0, 0 }, { 0, 0 }, + { 256, 0 }, { 0, 19 }, { 0,19310 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 19 }, { 0,16570 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 19 }, { 0,19305 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 9, 0 }, { 10, 5 }, { 11, 0 }, { 12, 0 }, { 13, 5 }, { 9, 24 }, { 10, 24 }, { 11, 24 }, { 12, 24 }, { 13, 24 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 19 }, { 0,16546 }, { 0, 0 }, { 0, 0 }, { 32, 0 }, + { 0, 19 }, { 0,19281 }, { 0, 0 }, { 0, 0 }, { 32, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 32, 24 }, { 9, 0 }, { 10, 0 }, { 11, 0 }, { 12, 0 }, { 13, 0 }, - { 0, 0 }, { 39,-10264 }, { 45,-10261 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 45,-10266 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 39,-10263 }, { 45,-10260 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 45,-10261 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 32, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 39,-10288 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 45,-10290 }, { 0, 23 }, { 0,16499 }, { 1, 0 }, - { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, - { 7, 0 }, { 8, 0 }, { 9, 0 }, { 10, 0 }, { 11, 0 }, - { 12, 0 }, { 13, 0 }, { 14, 0 }, { 15, 0 }, { 16, 0 }, - { 17, 0 }, { 18, 0 }, { 19, 0 }, { 20, 0 }, { 21, 0 }, - { 22, 0 }, { 23, 0 }, { 24, 0 }, { 25, 0 }, { 26, 0 }, - - { 27, 0 }, { 28, 0 }, { 29, 0 }, { 30, 0 }, { 31, 0 }, - { 32, 0 }, { 33, 0 }, { 34, 0 }, { 35, 0 }, { 36, 0 }, - { 37, 0 }, { 38, 0 }, { 0, 0 }, { 40, 0 }, { 41, 0 }, - { 42, 0 }, { 43, 0 }, { 44, 0 }, { 45, 0 }, { 46, 0 }, - { 47, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, - { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, - { 57, 0 }, { 58, 0 }, { 59, 0 }, { 60, 0 }, { 61, 0 }, - { 62, 0 }, { 63, 0 }, { 64, 0 }, { 65, 0 }, { 66, 0 }, - { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, - { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, + { 39,-10287 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 45,-10285 }, { 0, 19 }, { 0,19234 }, { 1,6085 }, + { 2,6085 }, { 3,6085 }, { 4,6085 }, { 5,6085 }, { 6,6085 }, + { 7,6085 }, { 8,6085 }, { 9,6343 }, { 10, -71 }, { 11,6343 }, + { 12,6343 }, { 13, -71 }, { 14,6085 }, { 15,6085 }, { 16,6085 }, + { 17,6085 }, { 18,6085 }, { 19,6085 }, { 20,6085 }, { 21,6085 }, + { 22,6085 }, { 23,6085 }, { 24,6085 }, { 25,6085 }, { 26,6085 }, + + { 27,6085 }, { 28,6085 }, { 29,6085 }, { 30,6085 }, { 31,6085 }, + { 32,6343 }, { 33,6085 }, { 34,6085 }, { 35,6085 }, { 36,6085 }, + { 37,6085 }, { 38,6085 }, { 39,6085 }, { 40,6085 }, { 41,6085 }, + { 42,6085 }, { 43,6085 }, { 44,6085 }, { 45,6601 }, { 46,6085 }, + { 47,6085 }, { 48,6085 }, { 49,6085 }, { 50,6085 }, { 51,6085 }, + { 52,6085 }, { 53,6085 }, { 54,6085 }, { 55,6085 }, { 56,6085 }, + { 57,6085 }, { 58,6085 }, { 59,6085 }, { 60,6085 }, { 61,6085 }, + { 62,6085 }, { 63,6085 }, { 64,6085 }, { 65,6085 }, { 66,6085 }, + { 67,6085 }, { 68,6085 }, { 69,6085 }, { 70,6085 }, { 71,6085 }, + { 72,6085 }, { 73,6085 }, { 74,6085 }, { 75,6085 }, { 76,6085 }, + + { 77,6085 }, { 78,6085 }, { 79,6085 }, { 80,6085 }, { 81,6085 }, + { 82,6085 }, { 83,6085 }, { 84,6085 }, { 85,6085 }, { 86,6085 }, + { 87,6085 }, { 88,6085 }, { 89,6085 }, { 90,6085 }, { 91,6085 }, + { 92,6085 }, { 93,6085 }, { 94,6085 }, { 95,6085 }, { 96,6085 }, + { 97,6085 }, { 98,6085 }, { 99,6085 }, { 100,6085 }, { 101,6085 }, + { 102,6085 }, { 103,6085 }, { 104,6085 }, { 105,6085 }, { 106,6085 }, + { 107,6085 }, { 108,6085 }, { 109,6085 }, { 110,6085 }, { 111,6085 }, + { 112,6085 }, { 113,6085 }, { 114,6085 }, { 115,6085 }, { 116,6085 }, + { 117,6085 }, { 118,6085 }, { 119,6085 }, { 120,6085 }, { 121,6085 }, + { 122,6085 }, { 123,6085 }, { 124,6085 }, { 125,6085 }, { 126,6085 }, + + { 127,6085 }, { 128,6085 }, { 129,6085 }, { 130,6085 }, { 131,6085 }, + { 132,6085 }, { 133,6085 }, { 134,6085 }, { 135,6085 }, { 136,6085 }, + { 137,6085 }, { 138,6085 }, { 139,6085 }, { 140,6085 }, { 141,6085 }, + { 142,6085 }, { 143,6085 }, { 144,6085 }, { 145,6085 }, { 146,6085 }, + { 147,6085 }, { 148,6085 }, { 149,6085 }, { 150,6085 }, { 151,6085 }, + { 152,6085 }, { 153,6085 }, { 154,6085 }, { 155,6085 }, { 156,6085 }, + { 157,6085 }, { 158,6085 }, { 159,6085 }, { 160,6085 }, { 161,6085 }, + { 162,6085 }, { 163,6085 }, { 164,6085 }, { 165,6085 }, { 166,6085 }, + { 167,6085 }, { 168,6085 }, { 169,6085 }, { 170,6085 }, { 171,6085 }, + { 172,6085 }, { 173,6085 }, { 174,6085 }, { 175,6085 }, { 176,6085 }, + + { 177,6085 }, { 178,6085 }, { 179,6085 }, { 180,6085 }, { 181,6085 }, + { 182,6085 }, { 183,6085 }, { 184,6085 }, { 185,6085 }, { 186,6085 }, + { 187,6085 }, { 188,6085 }, { 189,6085 }, { 190,6085 }, { 191,6085 }, + { 192,6085 }, { 193,6085 }, { 194,6085 }, { 195,6085 }, { 196,6085 }, + { 197,6085 }, { 198,6085 }, { 199,6085 }, { 200,6085 }, { 201,6085 }, + { 202,6085 }, { 203,6085 }, { 204,6085 }, { 205,6085 }, { 206,6085 }, + { 207,6085 }, { 208,6085 }, { 209,6085 }, { 210,6085 }, { 211,6085 }, + { 212,6085 }, { 213,6085 }, { 214,6085 }, { 215,6085 }, { 216,6085 }, + { 217,6085 }, { 218,6085 }, { 219,6085 }, { 220,6085 }, { 221,6085 }, + { 222,6085 }, { 223,6085 }, { 224,6085 }, { 225,6085 }, { 226,6085 }, + + { 227,6085 }, { 228,6085 }, { 229,6085 }, { 230,6085 }, { 231,6085 }, + { 232,6085 }, { 233,6085 }, { 234,6085 }, { 235,6085 }, { 236,6085 }, + { 237,6085 }, { 238,6085 }, { 239,6085 }, { 240,6085 }, { 241,6085 }, + { 242,6085 }, { 243,6085 }, { 244,6085 }, { 245,6085 }, { 246,6085 }, + { 247,6085 }, { 248,6085 }, { 249,6085 }, { 250,6085 }, { 251,6085 }, + { 252,6085 }, { 253,6085 }, { 254,6085 }, { 255,6085 }, { 256,6085 }, + { 0, 23 }, { 0,18976 }, { 1, 0 }, { 2, 0 }, { 3, 0 }, + { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, { 8, 0 }, + { 9, 0 }, { 10, 0 }, { 11, 0 }, { 12, 0 }, { 13, 0 }, + { 14, 0 }, { 15, 0 }, { 16, 0 }, { 17, 0 }, { 18, 0 }, - { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, - { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, - { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, { 91, 0 }, - { 0, 0 }, { 93, 0 }, { 94, 0 }, { 95, 0 }, { 96, 0 }, - { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, - { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, - { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, - { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, - { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, - { 122, 0 }, { 123, 0 }, { 124, 0 }, { 125, 0 }, { 126, 0 }, + { 19, 0 }, { 20, 0 }, { 21, 0 }, { 22, 0 }, { 23, 0 }, + { 24, 0 }, { 25, 0 }, { 26, 0 }, { 27, 0 }, { 28, 0 }, + { 29, 0 }, { 30, 0 }, { 31, 0 }, { 32, 0 }, { 33, 0 }, + { 34, 0 }, { 35, 0 }, { 36, 0 }, { 37, 0 }, { 38, 0 }, + { 0, 0 }, { 40, 0 }, { 41, 0 }, { 42, 0 }, { 43, 0 }, + { 44, 0 }, { 45, 0 }, { 46, 0 }, { 47, 0 }, { 48, 0 }, + { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, + { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 58, 0 }, + { 59, 0 }, { 60, 0 }, { 61, 0 }, { 62, 0 }, { 63, 0 }, + { 64, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, - { 127, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, - { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, - { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, { 141, 0 }, - { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, - { 147, 0 }, { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, - { 152, 0 }, { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, - { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, { 161, 0 }, - { 162, 0 }, { 163, 0 }, { 164, 0 }, { 165, 0 }, { 166, 0 }, - { 167, 0 }, { 168, 0 }, { 169, 0 }, { 170, 0 }, { 171, 0 }, - { 172, 0 }, { 173, 0 }, { 174, 0 }, { 175, 0 }, { 176, 0 }, + { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, { 73, 0 }, + { 74, 0 }, { 75, 0 }, { 76, 0 }, { 77, 0 }, { 78, 0 }, + { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, { 83, 0 }, + { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, { 88, 0 }, + { 89, 0 }, { 90, 0 }, { 91, 0 }, { 0, 0 }, { 93, 0 }, + { 94, 0 }, { 95, 0 }, { 96, 0 }, { 97, 0 }, { 98, 0 }, + { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103, 0 }, + { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, { 108, 0 }, + { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, { 113, 0 }, + { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, { 118, 0 }, - { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, - { 182, 0 }, { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, - { 187, 0 }, { 188, 0 }, { 189, 0 }, { 190, 0 }, { 191, 0 }, - { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, - { 197, 0 }, { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, - { 202, 0 }, { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, - { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, { 211, 0 }, - { 212, 0 }, { 213, 0 }, { 214, 0 }, { 215, 0 }, { 216, 0 }, - { 217, 0 }, { 218, 0 }, { 219, 0 }, { 220, 0 }, { 221, 0 }, - { 222, 0 }, { 223, 0 }, { 224, 0 }, { 225, 0 }, { 226, 0 }, + { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, { 123, 0 }, + { 124, 0 }, { 125, 0 }, { 126, 0 }, { 127, 0 }, { 128, 0 }, + { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, { 133, 0 }, + { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, { 138, 0 }, + { 139, 0 }, { 140, 0 }, { 141, 0 }, { 142, 0 }, { 143, 0 }, + { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, { 148, 0 }, + { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, { 153, 0 }, + { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, { 158, 0 }, + { 159, 0 }, { 160, 0 }, { 161, 0 }, { 162, 0 }, { 163, 0 }, + { 164, 0 }, { 165, 0 }, { 166, 0 }, { 167, 0 }, { 168, 0 }, - { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, - { 232, 0 }, { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, - { 237, 0 }, { 238, 0 }, { 239, 0 }, { 240, 0 }, { 241, 0 }, - { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, - { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, - { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, { 256, 0 }, - { 0, 30 }, { 0,16241 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0,16233 }, + { 169, 0 }, { 170, 0 }, { 171, 0 }, { 172, 0 }, { 173, 0 }, + { 174, 0 }, { 175, 0 }, { 176, 0 }, { 177, 0 }, { 178, 0 }, + { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, { 183, 0 }, + { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, { 188, 0 }, + { 189, 0 }, { 190, 0 }, { 191, 0 }, { 192, 0 }, { 193, 0 }, + { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, { 198, 0 }, + { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, { 203, 0 }, + { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, { 208, 0 }, + { 209, 0 }, { 210, 0 }, { 211, 0 }, { 212, 0 }, { 213, 0 }, + { 214, 0 }, { 215, 0 }, { 216, 0 }, { 217, 0 }, { 218, 0 }, + + { 219, 0 }, { 220, 0 }, { 221, 0 }, { 222, 0 }, { 223, 0 }, + { 224, 0 }, { 225, 0 }, { 226, 0 }, { 227, 0 }, { 228, 0 }, + { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, { 233, 0 }, + { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, { 238, 0 }, + { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, { 243, 0 }, + { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, + { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, + { 254, 0 }, { 255, 0 }, { 256, 0 }, { 0, 30 }, { 0,18718 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 28 }, { 0,18710 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, + { 0,18687 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 48,6343 }, { 49,6343 }, { 50,6343 }, + { 51,6343 }, { 52,6343 }, { 53,6343 }, { 54,6343 }, { 55,6343 }, + { 48,6343 }, { 49,6343 }, { 50,6343 }, { 51,6343 }, { 52,6343 }, + + { 53,6343 }, { 54,6343 }, { 55,6343 }, { 56,6343 }, { 57,6343 }, + { 0, 0 }, { 0, 0 }, { 0, 29 }, { 0,18649 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 65,6343 }, { 66,6343 }, { 67,6343 }, + { 68,6343 }, { 69,6343 }, { 70,6343 }, { 48,6343 }, { 49,6343 }, + { 50,6343 }, { 51,6343 }, { 52,6343 }, { 53,6343 }, { 54,6343 }, + { 55,6343 }, { 56,6343 }, { 57,6343 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,6343 }, { 66,6343 }, { 67,6343 }, { 68,6343 }, { 69,6343 }, + { 70,6343 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,6343 }, + { 98,6343 }, { 99,6343 }, { 100,6343 }, { 101,6343 }, { 102,6343 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 48,6343 }, { 49,6343 }, { 50,6343 }, { 51,6343 }, + { 52,6343 }, { 53,6343 }, { 54,6343 }, { 55,6343 }, { 56,6343 }, + { 57,6343 }, { 0, 0 }, { 97,6343 }, { 98,6343 }, { 99,6343 }, + { 100,6343 }, { 101,6343 }, { 102,6343 }, { 65,6343 }, { 66,6343 }, + { 67,6343 }, { 68,6343 }, { 69,6343 }, { 70,6343 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 28 }, { 0,16210 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,5185 }, - { 49,5185 }, { 50,5185 }, { 51,5185 }, { 52,5185 }, { 53,5185 }, - { 54,5185 }, { 55,5185 }, { 48,5192 }, { 49,5192 }, { 50,5192 }, - { 51,5192 }, { 52,5192 }, { 53,5192 }, { 54,5192 }, { 55,5192 }, - { 56,5192 }, { 57,5192 }, { 0, 0 }, { 0, 0 }, { 0, 29 }, - { 0,16172 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,5192 }, - { 66,5192 }, { 67,5192 }, { 68,5192 }, { 69,5192 }, { 70,5192 }, - { 48,5231 }, { 49,5231 }, { 50,5231 }, { 51,5231 }, { 52,5231 }, - { 53,5231 }, { 54,5231 }, { 55,5231 }, { 56,5231 }, { 57,5231 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,5231 }, { 66,5231 }, { 67,5231 }, - { 68,5231 }, { 69,5231 }, { 70,5231 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 97,5192 }, { 98,5192 }, { 99,5192 }, { 100,5192 }, - { 101,5192 }, { 102,5192 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,5216 }, { 49,5216 }, + { 97,6343 }, { 98,6343 }, { 99,6343 }, { 100,6343 }, { 101,6343 }, + { 102,6343 }, { 0, 36 }, { 0,18545 }, { 1, 0 }, { 2, 0 }, + { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, + { 8, 0 }, { 9, 0 }, { 10, 0 }, { 11, 0 }, { 12, 0 }, + { 13, 0 }, { 14, 0 }, { 15, 0 }, { 16, 0 }, { 17, 0 }, + { 18, 0 }, { 19, 0 }, { 20, 0 }, { 21, 0 }, { 22, 0 }, + { 23, 0 }, { 24, 0 }, { 25, 0 }, { 26, 0 }, { 27, 0 }, + { 28, 0 }, { 29, 0 }, { 30, 0 }, { 31, 0 }, { 32, 0 }, + { 33, 0 }, { 34, 0 }, { 35, 0 }, { 0, 0 }, { 37, 0 }, + + { 38, 0 }, { 39, 0 }, { 40, 0 }, { 41, 0 }, { 42, 0 }, + { 43, 0 }, { 44, 0 }, { 45, 0 }, { 46, 0 }, { 47, 0 }, + { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, + { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, + { 58, 0 }, { 59, 0 }, { 60, 0 }, { 61, 0 }, { 62, 0 }, + { 63, 0 }, { 64, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, + { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, + { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, { 77, 0 }, + { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, + { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, + + { 88, 0 }, { 89, 0 }, { 90, 0 }, { 91, 0 }, { 92, 0 }, + { 93, 0 }, { 94, 0 }, { 95, 0 }, { 96, 0 }, { 97, 0 }, + { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, + { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, + { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, + { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, + { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, + { 123, 0 }, { 124, 0 }, { 125, 0 }, { 126, 0 }, { 127, 0 }, + { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, + { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, + + { 138, 0 }, { 139, 0 }, { 140, 0 }, { 141, 0 }, { 142, 0 }, + { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, + { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, + { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, + { 158, 0 }, { 159, 0 }, { 160, 0 }, { 161, 0 }, { 162, 0 }, + { 163, 0 }, { 164, 0 }, { 165, 0 }, { 166, 0 }, { 167, 0 }, + { 168, 0 }, { 169, 0 }, { 170, 0 }, { 171, 0 }, { 172, 0 }, + { 173, 0 }, { 174, 0 }, { 175, 0 }, { 176, 0 }, { 177, 0 }, + { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, + { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, + + { 188, 0 }, { 189, 0 }, { 190, 0 }, { 191, 0 }, { 192, 0 }, + { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, + { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, + { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, + { 208, 0 }, { 209, 0 }, { 210, 0 }, { 211, 0 }, { 212, 0 }, + { 213, 0 }, { 214, 0 }, { 215, 0 }, { 216, 0 }, { 217, 0 }, + { 218, 0 }, { 219, 0 }, { 220, 0 }, { 221, 0 }, { 222, 0 }, + { 223, 0 }, { 224, 0 }, { 225, 0 }, { 226, 0 }, { 227, 0 }, + { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, + { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, - { 50,5216 }, { 51,5216 }, { 52,5216 }, { 53,5216 }, { 54,5216 }, - { 55,5216 }, { 56,5216 }, { 57,5216 }, { 0, 0 }, { 97,5231 }, - { 98,5231 }, { 99,5231 }, { 100,5231 }, { 101,5231 }, { 102,5231 }, - { 65,5216 }, { 66,5216 }, { 67,5216 }, { 68,5216 }, { 69,5216 }, - { 70,5216 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 238, 0 }, { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, + { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, + { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, + { 253, 0 }, { 254, 0 }, { 255, 0 }, { 256, 0 }, { 0, 37 }, + { 0,18287 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 97,5216 }, { 98,5216 }, { 99,5216 }, - { 100,5216 }, { 101,5216 }, { 102,5216 }, { 0, 36 }, { 0,16068 }, - { 1, 0 }, { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, - { 6, 0 }, { 7, 0 }, { 8, 0 }, { 9, 0 }, { 10, 0 }, - { 11, 0 }, { 12, 0 }, { 13, 0 }, { 14, 0 }, { 15, 0 }, - { 16, 0 }, { 17, 0 }, { 18, 0 }, { 19, 0 }, { 20, 0 }, - { 21, 0 }, { 22, 0 }, { 23, 0 }, { 24, 0 }, { 25, 0 }, - { 26, 0 }, { 27, 0 }, { 28, 0 }, { 29, 0 }, { 30, 0 }, - { 31, 0 }, { 32, 0 }, { 33, 0 }, { 34, 0 }, { 35, 0 }, - { 0, 0 }, { 37, 0 }, { 38, 0 }, { 39, 0 }, { 40, 0 }, - { 41, 0 }, { 42, 0 }, { 43, 0 }, { 44, 0 }, { 45, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 36,-11275 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,6053 }, { 49,6053 }, + { 50,6053 }, { 51,6053 }, { 52,6053 }, { 53,6053 }, { 54,6053 }, + { 55,6053 }, { 56,6053 }, { 57,6053 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,6053 }, { 66,6053 }, { 67,6053 }, { 68,6053 }, { 69,6053 }, + { 70,6053 }, { 71,6053 }, { 72,6053 }, { 73,6053 }, { 74,6053 }, + { 75,6053 }, { 76,6053 }, { 77,6053 }, { 78,6053 }, { 79,6053 }, - { 46, 0 }, { 47, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, + { 80,6053 }, { 81,6053 }, { 82,6053 }, { 83,6053 }, { 84,6053 }, + { 85,6053 }, { 86,6053 }, { 87,6053 }, { 88,6053 }, { 89,6053 }, + { 90,6053 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,6053 }, { 0, 0 }, { 97,6053 }, { 98,6053 }, { 99,6053 }, + { 100,6053 }, { 101,6053 }, { 102,6053 }, { 103,6053 }, { 104,6053 }, + { 105,6053 }, { 106,6053 }, { 107,6053 }, { 108,6053 }, { 109,6053 }, + { 110,6053 }, { 111,6053 }, { 112,6053 }, { 113,6053 }, { 114,6053 }, + { 115,6053 }, { 116,6053 }, { 117,6053 }, { 118,6053 }, { 119,6053 }, + { 120,6053 }, { 121,6053 }, { 122,6053 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,6053 }, { 129,6053 }, + + { 130,6053 }, { 131,6053 }, { 132,6053 }, { 133,6053 }, { 134,6053 }, + { 135,6053 }, { 136,6053 }, { 137,6053 }, { 138,6053 }, { 139,6053 }, + { 140,6053 }, { 141,6053 }, { 142,6053 }, { 143,6053 }, { 144,6053 }, + { 145,6053 }, { 146,6053 }, { 147,6053 }, { 148,6053 }, { 149,6053 }, + { 150,6053 }, { 151,6053 }, { 152,6053 }, { 153,6053 }, { 154,6053 }, + { 155,6053 }, { 156,6053 }, { 157,6053 }, { 158,6053 }, { 159,6053 }, + { 160,6053 }, { 161,6053 }, { 162,6053 }, { 163,6053 }, { 164,6053 }, + { 165,6053 }, { 166,6053 }, { 167,6053 }, { 168,6053 }, { 169,6053 }, + { 170,6053 }, { 171,6053 }, { 172,6053 }, { 173,6053 }, { 174,6053 }, + { 175,6053 }, { 176,6053 }, { 177,6053 }, { 178,6053 }, { 179,6053 }, + + { 180,6053 }, { 181,6053 }, { 182,6053 }, { 183,6053 }, { 184,6053 }, + { 185,6053 }, { 186,6053 }, { 187,6053 }, { 188,6053 }, { 189,6053 }, + { 190,6053 }, { 191,6053 }, { 192,6053 }, { 193,6053 }, { 194,6053 }, + { 195,6053 }, { 196,6053 }, { 197,6053 }, { 198,6053 }, { 199,6053 }, + { 200,6053 }, { 201,6053 }, { 202,6053 }, { 203,6053 }, { 204,6053 }, + { 205,6053 }, { 206,6053 }, { 207,6053 }, { 208,6053 }, { 209,6053 }, + { 210,6053 }, { 211,6053 }, { 212,6053 }, { 213,6053 }, { 214,6053 }, + { 215,6053 }, { 216,6053 }, { 217,6053 }, { 218,6053 }, { 219,6053 }, + { 220,6053 }, { 221,6053 }, { 222,6053 }, { 223,6053 }, { 224,6053 }, + { 225,6053 }, { 226,6053 }, { 227,6053 }, { 228,6053 }, { 229,6053 }, + + { 230,6053 }, { 231,6053 }, { 232,6053 }, { 233,6053 }, { 234,6053 }, + { 235,6053 }, { 236,6053 }, { 237,6053 }, { 238,6053 }, { 239,6053 }, + { 240,6053 }, { 241,6053 }, { 242,6053 }, { 243,6053 }, { 244,6053 }, + { 245,6053 }, { 246,6053 }, { 247,6053 }, { 248,6053 }, { 249,6053 }, + { 250,6053 }, { 251,6053 }, { 252,6053 }, { 253,6053 }, { 254,6053 }, + { 255,6053 }, { 0, 28 }, { 0,18030 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, + + { 0,18007 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48,6053 }, { 49,6053 }, { 50,6053 }, { 51,6053 }, { 52,6053 }, + { 53,6053 }, { 54,6053 }, { 55,6053 }, { 56,6053 }, { 57,6053 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 65,6053 }, { 66,6053 }, { 67,6053 }, + { 68,6053 }, { 69,6053 }, { 70,6053 }, { 48,6053 }, { 49,6053 }, + + { 50,6053 }, { 51,6053 }, { 52,6053 }, { 53,6053 }, { 54,6053 }, + { 55,6053 }, { 56,6053 }, { 57,6053 }, { 0, 34 }, { 0,17948 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,6053 }, { 66,6053 }, { 67,6053 }, { 68,6053 }, { 69,6053 }, + { 70,6053 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,6053 }, + { 98,6053 }, { 99,6053 }, { 100,6053 }, { 101,6053 }, { 102,6053 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 36,-11891 }, { 0, 0 }, { 97,6053 }, { 98,6053 }, { 99,6053 }, + + { 100,6053 }, { 101,6053 }, { 102,6053 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, - { 56, 0 }, { 57, 0 }, { 58, 0 }, { 59, 0 }, { 60, 0 }, - { 61, 0 }, { 62, 0 }, { 63, 0 }, { 64, 0 }, { 65, 0 }, + { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, - { 91, 0 }, { 92, 0 }, { 93, 0 }, { 94, 0 }, { 95, 0 }, - { 96, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95, 0 }, + { 0, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, - { 121, 0 }, { 122, 0 }, { 123, 0 }, { 124, 0 }, { 125, 0 }, - { 126, 0 }, { 127, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, + { 121, 0 }, { 122, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, - { 141, 0 }, { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, + { 141, 0 }, { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, @@ -4531,8 +4719,8 @@ static const struct yy_trans_info yy_transition[33677] = { 176, 0 }, { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, { 188, 0 }, { 189, 0 }, { 190, 0 }, - { 191, 0 }, { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, + { 191, 0 }, { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, @@ -4542,118 +4730,43 @@ static const struct yy_trans_info yy_transition[33677] = { 226, 0 }, { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, { 238, 0 }, { 239, 0 }, { 240, 0 }, - { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, + { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, - { 256, 0 }, { 0, 37 }, { 0,15810 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-11020 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 48,4913 }, { 49,4913 }, { 50,4913 }, { 51,4913 }, { 52,4913 }, - { 53,4913 }, { 54,4913 }, { 55,4913 }, { 56,4913 }, { 57,4913 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,4913 }, { 66,4913 }, { 67,4913 }, - { 68,4913 }, { 69,4913 }, { 70,4913 }, { 71,4913 }, { 72,4913 }, - { 73,4913 }, { 74,4913 }, { 75,4913 }, { 76,4913 }, { 77,4913 }, - { 78,4913 }, { 79,4913 }, { 80,4913 }, { 81,4913 }, { 82,4913 }, - { 83,4913 }, { 84,4913 }, { 85,4913 }, { 86,4913 }, { 87,4913 }, - - { 88,4913 }, { 89,4913 }, { 90,4913 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 95,4913 }, { 0, 0 }, { 97,4913 }, - { 98,4913 }, { 99,4913 }, { 100,4913 }, { 101,4913 }, { 102,4913 }, - { 103,4913 }, { 104,4913 }, { 105,4913 }, { 106,4913 }, { 107,4913 }, - { 108,4913 }, { 109,4913 }, { 110,4913 }, { 111,4913 }, { 112,4913 }, - { 113,4913 }, { 114,4913 }, { 115,4913 }, { 116,4913 }, { 117,4913 }, - { 118,4913 }, { 119,4913 }, { 120,4913 }, { 121,4913 }, { 122,4913 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 128,4913 }, { 129,4913 }, { 130,4913 }, { 131,4913 }, { 132,4913 }, - { 133,4913 }, { 134,4913 }, { 135,4913 }, { 136,4913 }, { 137,4913 }, - - { 138,4913 }, { 139,4913 }, { 140,4913 }, { 141,4913 }, { 142,4913 }, - { 143,4913 }, { 144,4913 }, { 145,4913 }, { 146,4913 }, { 147,4913 }, - { 148,4913 }, { 149,4913 }, { 150,4913 }, { 151,4913 }, { 152,4913 }, - { 153,4913 }, { 154,4913 }, { 155,4913 }, { 156,4913 }, { 157,4913 }, - { 158,4913 }, { 159,4913 }, { 160,4913 }, { 161,4913 }, { 162,4913 }, - { 163,4913 }, { 164,4913 }, { 165,4913 }, { 166,4913 }, { 167,4913 }, - { 168,4913 }, { 169,4913 }, { 170,4913 }, { 171,4913 }, { 172,4913 }, - { 173,4913 }, { 174,4913 }, { 175,4913 }, { 176,4913 }, { 177,4913 }, - { 178,4913 }, { 179,4913 }, { 180,4913 }, { 181,4913 }, { 182,4913 }, - { 183,4913 }, { 184,4913 }, { 185,4913 }, { 186,4913 }, { 187,4913 }, - - { 188,4913 }, { 189,4913 }, { 190,4913 }, { 191,4913 }, { 192,4913 }, - { 193,4913 }, { 194,4913 }, { 195,4913 }, { 196,4913 }, { 197,4913 }, - { 198,4913 }, { 199,4913 }, { 200,4913 }, { 201,4913 }, { 202,4913 }, - { 203,4913 }, { 204,4913 }, { 205,4913 }, { 206,4913 }, { 207,4913 }, - { 208,4913 }, { 209,4913 }, { 210,4913 }, { 211,4913 }, { 212,4913 }, - { 213,4913 }, { 214,4913 }, { 215,4913 }, { 216,4913 }, { 217,4913 }, - { 218,4913 }, { 219,4913 }, { 220,4913 }, { 221,4913 }, { 222,4913 }, - { 223,4913 }, { 224,4913 }, { 225,4913 }, { 226,4913 }, { 227,4913 }, - { 228,4913 }, { 229,4913 }, { 230,4913 }, { 231,4913 }, { 232,4913 }, - { 233,4913 }, { 234,4913 }, { 235,4913 }, { 236,4913 }, { 237,4913 }, - - { 238,4913 }, { 239,4913 }, { 240,4913 }, { 241,4913 }, { 242,4913 }, - { 243,4913 }, { 244,4913 }, { 245,4913 }, { 246,4913 }, { 247,4913 }, - { 248,4913 }, { 249,4913 }, { 250,4913 }, { 251,4913 }, { 252,4913 }, - { 253,4913 }, { 254,4913 }, { 255,4913 }, { 0, 28 }, { 0,15553 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 28 }, { 0,15530 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48,4913 }, { 49,4913 }, { 50,4913 }, - { 51,4913 }, { 52,4913 }, { 53,4913 }, { 54,4913 }, { 55,4913 }, - { 56,4913 }, { 57,4913 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,4913 }, - { 66,4913 }, { 67,4913 }, { 68,4913 }, { 69,4913 }, { 70,4913 }, - { 48,4913 }, { 49,4913 }, { 50,4913 }, { 51,4913 }, { 52,4913 }, - { 53,4913 }, { 54,4913 }, { 55,4913 }, { 56,4913 }, { 57,4913 }, - - { 0, 34 }, { 0,15471 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,4913 }, { 66,4913 }, { 67,4913 }, - { 68,4913 }, { 69,4913 }, { 70,4913 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 97,4913 }, { 98,4913 }, { 99,4913 }, { 100,4913 }, - { 101,4913 }, { 102,4913 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 36,-11633 }, { 0, 0 }, { 97,4913 }, - { 98,4913 }, { 99,4913 }, { 100,4913 }, { 101,4913 }, { 102,4913 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, + { 0, 2 }, { 0,17691 }, { 1, 0 }, { 2, 0 }, { 3, 0 }, + { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, { 8, 0 }, + { 9, 0 }, { 0, 0 }, { 11, 0 }, { 12, 0 }, { 0, 0 }, + { 14, 0 }, { 15, 0 }, { 16, 0 }, { 17, 0 }, { 18, 0 }, + { 19, 0 }, { 20, 0 }, { 21, 0 }, { 22, 0 }, { 23, 0 }, + { 24, 0 }, { 25, 0 }, { 26, 0 }, { 27, 0 }, { 28, 0 }, + { 29, 0 }, { 30, 0 }, { 31, 0 }, { 32, 0 }, { 33, 0 }, + { 34, 0 }, { 35, 0 }, { 36, 0 }, { 37, 0 }, { 38, 0 }, + { 39, 0 }, { 40, 0 }, { 41, 0 }, { 42, 0 }, { 43, 0 }, + { 44, 0 }, { 45, 0 }, { 46, 0 }, { 47, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, - { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, + { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 58, 0 }, + { 59, 0 }, { 60, 0 }, { 61, 0 }, { 62, 0 }, { 63, 0 }, + { 64, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, { 83, 0 }, - { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, { 88, 0 }, - { 89, 0 }, { 90, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95, 0 }, { 0, 0 }, { 97, 0 }, { 98, 0 }, + { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, { 88, 0 }, + { 89, 0 }, { 90, 0 }, { 91, 0 }, { 92, 0 }, { 93, 0 }, + { 94, 0 }, { 95, 0 }, { 96, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, { 118, 0 }, - { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128, 0 }, + { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, { 123, 0 }, + { 124, 0 }, { 125, 0 }, { 126, 0 }, { 127, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, { 133, 0 }, + { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, { 141, 0 }, { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, { 148, 0 }, - { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, { 161, 0 }, { 162, 0 }, { 163, 0 }, @@ -4661,10 +4774,10 @@ static const struct yy_trans_info yy_transition[33677] = { 169, 0 }, { 170, 0 }, { 171, 0 }, { 172, 0 }, { 173, 0 }, { 174, 0 }, { 175, 0 }, { 176, 0 }, { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, { 183, 0 }, + { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, { 188, 0 }, { 189, 0 }, { 190, 0 }, { 191, 0 }, { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, { 198, 0 }, - { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, { 211, 0 }, { 212, 0 }, { 213, 0 }, @@ -4672,40 +4785,983 @@ static const struct yy_trans_info yy_transition[33677] = { 219, 0 }, { 220, 0 }, { 221, 0 }, { 222, 0 }, { 223, 0 }, { 224, 0 }, { 225, 0 }, { 226, 0 }, { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, { 233, 0 }, + { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, { 238, 0 }, { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, - { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, - { 254, 0 }, { 255, 0 }, { 0, 2 }, { 0,15214 }, { 1, 0 }, - { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, - { 7, 0 }, { 8, 0 }, { 9, 0 }, { 0, 0 }, { 11, 0 }, - { 12, 0 }, { 0, 0 }, { 14, 0 }, { 15, 0 }, { 16, 0 }, - { 17, 0 }, { 18, 0 }, { 19, 0 }, { 20, 0 }, { 21, 0 }, - { 22, 0 }, { 23, 0 }, { 24, 0 }, { 25, 0 }, { 26, 0 }, - { 27, 0 }, { 28, 0 }, { 29, 0 }, { 30, 0 }, { 31, 0 }, - { 32, 0 }, { 33, 0 }, { 34, 0 }, { 35, 0 }, { 36, 0 }, - { 37, 0 }, { 38, 0 }, { 39, 0 }, { 40, 0 }, { 41, 0 }, + { 254, 0 }, { 255, 0 }, { 256, 0 }, { 0, 2 }, { 0,17433 }, + { 1,-258 }, { 2,-258 }, { 3,-258 }, { 4,-258 }, { 5,-258 }, + { 6,-258 }, { 7,-258 }, { 8,-258 }, { 9,-258 }, { 0, 0 }, + { 11,-258 }, { 12,-258 }, { 0, 0 }, { 14,-258 }, { 15,-258 }, + { 16,-258 }, { 17,-258 }, { 18,-258 }, { 19,-258 }, { 20,-258 }, + { 21,-258 }, { 22,-258 }, { 23,-258 }, { 24,-258 }, { 25,-258 }, + + { 26,-258 }, { 27,-258 }, { 28,-258 }, { 29,-258 }, { 30,-258 }, + { 31,-258 }, { 32,-258 }, { 33, 0 }, { 34,-258 }, { 35, 0 }, + { 36,-258 }, { 37, 0 }, { 38, 0 }, { 39,-258 }, { 40,-258 }, + { 41,-258 }, { 42, 0 }, { 43, 0 }, { 44,-258 }, { 45, 0 }, + { 46,-258 }, { 47, 0 }, { 48,-258 }, { 49,-258 }, { 50,-258 }, + { 51,-258 }, { 52,-258 }, { 53,-258 }, { 54,-258 }, { 55,-258 }, + { 56,-258 }, { 57,-258 }, { 58,-258 }, { 59,-258 }, { 60, 0 }, + { 61, 0 }, { 62, 0 }, { 63, 0 }, { 64, 0 }, { 65,-258 }, + { 66,-258 }, { 67,-258 }, { 68,-258 }, { 69,-258 }, { 70,-258 }, + { 71,-258 }, { 72,-258 }, { 73,-258 }, { 74,-258 }, { 75,-258 }, + + { 76,-258 }, { 77,-258 }, { 78,-258 }, { 79,-258 }, { 80,-258 }, + { 81,-258 }, { 82,-258 }, { 83,-258 }, { 84,-258 }, { 85,-258 }, + { 86,-258 }, { 87,-258 }, { 88,-258 }, { 89,-258 }, { 90,-258 }, + { 91,-258 }, { 92,-258 }, { 93,-258 }, { 94, 0 }, { 95,-258 }, + { 96, 0 }, { 97,-258 }, { 98,-258 }, { 99,-258 }, { 100,-258 }, + { 101,-258 }, { 102,-258 }, { 103,-258 }, { 104,-258 }, { 105,-258 }, + { 106,-258 }, { 107,-258 }, { 108,-258 }, { 109,-258 }, { 110,-258 }, + { 111,-258 }, { 112,-258 }, { 113,-258 }, { 114,-258 }, { 115,-258 }, + { 116,-258 }, { 117,-258 }, { 118,-258 }, { 119,-258 }, { 120,-258 }, + { 121,-258 }, { 122,-258 }, { 123,-258 }, { 124, 0 }, { 125,-258 }, + + { 126, 0 }, { 127,-258 }, { 128,-258 }, { 129,-258 }, { 130,-258 }, + { 131,-258 }, { 132,-258 }, { 133,-258 }, { 134,-258 }, { 135,-258 }, + { 136,-258 }, { 137,-258 }, { 138,-258 }, { 139,-258 }, { 140,-258 }, + { 141,-258 }, { 142,-258 }, { 143,-258 }, { 144,-258 }, { 145,-258 }, + { 146,-258 }, { 147,-258 }, { 148,-258 }, { 149,-258 }, { 150,-258 }, + { 151,-258 }, { 152,-258 }, { 153,-258 }, { 154,-258 }, { 155,-258 }, + { 156,-258 }, { 157,-258 }, { 158,-258 }, { 159,-258 }, { 160,-258 }, + { 161,-258 }, { 162,-258 }, { 163,-258 }, { 164,-258 }, { 165,-258 }, + { 166,-258 }, { 167,-258 }, { 168,-258 }, { 169,-258 }, { 170,-258 }, + { 171,-258 }, { 172,-258 }, { 173,-258 }, { 174,-258 }, { 175,-258 }, + + { 176,-258 }, { 177,-258 }, { 178,-258 }, { 179,-258 }, { 180,-258 }, + { 181,-258 }, { 182,-258 }, { 183,-258 }, { 184,-258 }, { 185,-258 }, + { 186,-258 }, { 187,-258 }, { 188,-258 }, { 189,-258 }, { 190,-258 }, + { 191,-258 }, { 192,-258 }, { 193,-258 }, { 194,-258 }, { 195,-258 }, + { 196,-258 }, { 197,-258 }, { 198,-258 }, { 199,-258 }, { 200,-258 }, + { 201,-258 }, { 202,-258 }, { 203,-258 }, { 204,-258 }, { 205,-258 }, + { 206,-258 }, { 207,-258 }, { 208,-258 }, { 209,-258 }, { 210,-258 }, + { 211,-258 }, { 212,-258 }, { 213,-258 }, { 214,-258 }, { 215,-258 }, + { 216,-258 }, { 217,-258 }, { 218,-258 }, { 219,-258 }, { 220,-258 }, + { 221,-258 }, { 222,-258 }, { 223,-258 }, { 224,-258 }, { 225,-258 }, + + { 226,-258 }, { 227,-258 }, { 228,-258 }, { 229,-258 }, { 230,-258 }, + { 231,-258 }, { 232,-258 }, { 233,-258 }, { 234,-258 }, { 235,-258 }, + { 236,-258 }, { 237,-258 }, { 238,-258 }, { 239,-258 }, { 240,-258 }, + { 241,-258 }, { 242,-258 }, { 243,-258 }, { 244,-258 }, { 245,-258 }, + { 246,-258 }, { 247,-258 }, { 248,-258 }, { 249,-258 }, { 250,-258 }, + { 251,-258 }, { 252,-258 }, { 253,-258 }, { 254,-258 }, { 255,-258 }, + { 256,-258 }, { 0, 64 }, { 0,17175 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 42, 0 }, { 43, 0 }, { 44, 0 }, { 45, 0 }, { 46, 0 }, - { 47, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, - { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, - { 57, 0 }, { 58, 0 }, { 59, 0 }, { 60, 0 }, { 61, 0 }, - { 62, 0 }, { 63, 0 }, { 64, 0 }, { 65, 0 }, { 66, 0 }, - { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, - { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, - { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, - { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, - { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, { 91, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, + { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 65, 257 }, { 66, 257 }, { 67, 257 }, - { 92, 0 }, { 93, 0 }, { 94, 0 }, { 95, 0 }, { 96, 0 }, - { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, - { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, - { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, - { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, - { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, - { 122, 0 }, { 123, 0 }, { 124, 0 }, { 125, 0 }, { 126, 0 }, - { 127, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, + { 68, 257 }, { 69, 514 }, { 70, 257 }, { 71, 257 }, { 72, 257 }, + { 73, 257 }, { 74, 257 }, { 75, 257 }, { 76, 257 }, { 77, 257 }, + { 78, 257 }, { 79, 257 }, { 80, 257 }, { 81, 257 }, { 82, 257 }, + { 83, 257 }, { 84, 257 }, { 85, 257 }, { 86, 257 }, { 87, 257 }, + { 88, 257 }, { 89, 257 }, { 90, 257 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 95, 771 }, { 0, 0 }, { 97, 257 }, + { 98, 257 }, { 99, 257 }, { 100, 257 }, { 101, 514 }, { 102, 257 }, + { 103, 257 }, { 104, 257 }, { 105, 257 }, { 106, 257 }, { 107, 257 }, + { 108, 257 }, { 109, 257 }, { 110, 257 }, { 111, 257 }, { 112, 257 }, + { 113, 257 }, { 114, 257 }, { 115, 257 }, { 116, 257 }, { 117, 257 }, + + { 118, 257 }, { 119, 257 }, { 120, 257 }, { 121, 257 }, { 122, 257 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 128, 257 }, { 129, 257 }, { 130, 257 }, { 131, 257 }, { 132, 257 }, + { 133, 257 }, { 134, 257 }, { 135, 257 }, { 136, 257 }, { 137, 257 }, + { 138, 257 }, { 139, 257 }, { 140, 257 }, { 141, 257 }, { 142, 257 }, + { 143, 257 }, { 144, 257 }, { 145, 257 }, { 146, 257 }, { 147, 257 }, + { 148, 257 }, { 149, 257 }, { 150, 257 }, { 151, 257 }, { 152, 257 }, + { 153, 257 }, { 154, 257 }, { 155, 257 }, { 156, 257 }, { 157, 257 }, + { 158, 257 }, { 159, 257 }, { 160, 257 }, { 161, 257 }, { 162, 257 }, + { 163, 257 }, { 164, 257 }, { 165, 257 }, { 166, 257 }, { 167, 257 }, + + { 168, 257 }, { 169, 257 }, { 170, 257 }, { 171, 257 }, { 172, 257 }, + { 173, 257 }, { 174, 257 }, { 175, 257 }, { 176, 257 }, { 177, 257 }, + { 178, 257 }, { 179, 257 }, { 180, 257 }, { 181, 257 }, { 182, 257 }, + { 183, 257 }, { 184, 257 }, { 185, 257 }, { 186, 257 }, { 187, 257 }, + { 188, 257 }, { 189, 257 }, { 190, 257 }, { 191, 257 }, { 192, 257 }, + { 193, 257 }, { 194, 257 }, { 195, 257 }, { 196, 257 }, { 197, 257 }, + { 198, 257 }, { 199, 257 }, { 200, 257 }, { 201, 257 }, { 202, 257 }, + { 203, 257 }, { 204, 257 }, { 205, 257 }, { 206, 257 }, { 207, 257 }, + { 208, 257 }, { 209, 257 }, { 210, 257 }, { 211, 257 }, { 212, 257 }, + { 213, 257 }, { 214, 257 }, { 215, 257 }, { 216, 257 }, { 217, 257 }, + + { 218, 257 }, { 219, 257 }, { 220, 257 }, { 221, 257 }, { 222, 257 }, + { 223, 257 }, { 224, 257 }, { 225, 257 }, { 226, 257 }, { 227, 257 }, + { 228, 257 }, { 229, 257 }, { 230, 257 }, { 231, 257 }, { 232, 257 }, + { 233, 257 }, { 234, 257 }, { 235, 257 }, { 236, 257 }, { 237, 257 }, + { 238, 257 }, { 239, 257 }, { 240, 257 }, { 241, 257 }, { 242, 257 }, + { 243, 257 }, { 244, 257 }, { 245, 257 }, { 246, 257 }, { 247, 257 }, + { 248, 257 }, { 249, 257 }, { 250, 257 }, { 251, 257 }, { 252, 257 }, + { 253, 257 }, { 254, 257 }, { 255, 257 }, { 0, 69 }, { 0,16918 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 36,5023 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 48,5023 }, { 49,5023 }, { 50,5023 }, + { 51,5023 }, { 52,5023 }, { 53,5023 }, { 54,5023 }, { 55,5023 }, + { 56,5023 }, { 57,5023 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,5023 }, + { 66,5023 }, { 67,5023 }, { 68,5023 }, { 69,5023 }, { 70,5023 }, + { 71,5023 }, { 72,5023 }, { 73,5023 }, { 74,5023 }, { 75,5023 }, + { 76,5023 }, { 77,5023 }, { 78,5023 }, { 79,5023 }, { 80,5023 }, + { 81,5023 }, { 82,5023 }, { 83,5023 }, { 84,5023 }, { 85,5023 }, + { 86,5023 }, { 87,5023 }, { 88,5023 }, { 89,5023 }, { 90,5023 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,5023 }, + { 0, 0 }, { 97,5023 }, { 98,5023 }, { 99,5023 }, { 100,5023 }, + { 101,5023 }, { 102,5023 }, { 103,5023 }, { 104,5023 }, { 105,5023 }, + { 106,5023 }, { 107,5023 }, { 108,5023 }, { 109,5023 }, { 110,5023 }, + + { 111,5023 }, { 112,5023 }, { 113,5023 }, { 114,5023 }, { 115,5023 }, + { 116,5023 }, { 117,5023 }, { 118,5023 }, { 119,5023 }, { 120,5023 }, + { 121,5023 }, { 122,5023 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128,5023 }, { 129,5023 }, { 130,5023 }, + { 131,5023 }, { 132,5023 }, { 133,5023 }, { 134,5023 }, { 135,5023 }, + { 136,5023 }, { 137,5023 }, { 138,5023 }, { 139,5023 }, { 140,5023 }, + { 141,5023 }, { 142,5023 }, { 143,5023 }, { 144,5023 }, { 145,5023 }, + { 146,5023 }, { 147,5023 }, { 148,5023 }, { 149,5023 }, { 150,5023 }, + { 151,5023 }, { 152,5023 }, { 153,5023 }, { 154,5023 }, { 155,5023 }, + { 156,5023 }, { 157,5023 }, { 158,5023 }, { 159,5023 }, { 160,5023 }, + + { 161,5023 }, { 162,5023 }, { 163,5023 }, { 164,5023 }, { 165,5023 }, + { 166,5023 }, { 167,5023 }, { 168,5023 }, { 169,5023 }, { 170,5023 }, + { 171,5023 }, { 172,5023 }, { 173,5023 }, { 174,5023 }, { 175,5023 }, + { 176,5023 }, { 177,5023 }, { 178,5023 }, { 179,5023 }, { 180,5023 }, + { 181,5023 }, { 182,5023 }, { 183,5023 }, { 184,5023 }, { 185,5023 }, + { 186,5023 }, { 187,5023 }, { 188,5023 }, { 189,5023 }, { 190,5023 }, + { 191,5023 }, { 192,5023 }, { 193,5023 }, { 194,5023 }, { 195,5023 }, + { 196,5023 }, { 197,5023 }, { 198,5023 }, { 199,5023 }, { 200,5023 }, + { 201,5023 }, { 202,5023 }, { 203,5023 }, { 204,5023 }, { 205,5023 }, + { 206,5023 }, { 207,5023 }, { 208,5023 }, { 209,5023 }, { 210,5023 }, + + { 211,5023 }, { 212,5023 }, { 213,5023 }, { 214,5023 }, { 215,5023 }, + { 216,5023 }, { 217,5023 }, { 218,5023 }, { 219,5023 }, { 220,5023 }, + { 221,5023 }, { 222,5023 }, { 223,5023 }, { 224,5023 }, { 225,5023 }, + { 226,5023 }, { 227,5023 }, { 228,5023 }, { 229,5023 }, { 230,5023 }, + { 231,5023 }, { 232,5023 }, { 233,5023 }, { 234,5023 }, { 235,5023 }, + { 236,5023 }, { 237,5023 }, { 238,5023 }, { 239,5023 }, { 240,5023 }, + { 241,5023 }, { 242,5023 }, { 243,5023 }, { 244,5023 }, { 245,5023 }, + { 246,5023 }, { 247,5023 }, { 248,5023 }, { 249,5023 }, { 250,5023 }, + { 251,5023 }, { 252,5023 }, { 253,5023 }, { 254,5023 }, { 255,5023 }, + { 0, 69 }, { 0,16661 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 36,4766 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 43,1574 }, + { 0, 0 }, { 45,1574 }, { 0, 0 }, { 0, 0 }, { 48,5023 }, + { 49,5023 }, { 50,5023 }, { 51,5023 }, { 52,5023 }, { 53,5023 }, + + { 54,5023 }, { 55,5023 }, { 56,5023 }, { 57,5023 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65,4766 }, { 66,4766 }, { 67,4766 }, { 68,4766 }, + { 69,4766 }, { 70,4766 }, { 71,4766 }, { 72,4766 }, { 73,4766 }, + { 74,4766 }, { 75,4766 }, { 76,4766 }, { 77,4766 }, { 78,4766 }, + { 79,4766 }, { 80,4766 }, { 81,4766 }, { 82,4766 }, { 83,4766 }, + { 84,4766 }, { 85,4766 }, { 86,4766 }, { 87,4766 }, { 88,4766 }, + { 89,4766 }, { 90,4766 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95,4766 }, { 0, 0 }, { 97,4766 }, { 98,4766 }, + { 99,4766 }, { 100,4766 }, { 101,4766 }, { 102,4766 }, { 103,4766 }, + + { 104,4766 }, { 105,4766 }, { 106,4766 }, { 107,4766 }, { 108,4766 }, + { 109,4766 }, { 110,4766 }, { 111,4766 }, { 112,4766 }, { 113,4766 }, + { 114,4766 }, { 115,4766 }, { 116,4766 }, { 117,4766 }, { 118,4766 }, + { 119,4766 }, { 120,4766 }, { 121,4766 }, { 122,4766 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,4766 }, + { 129,4766 }, { 130,4766 }, { 131,4766 }, { 132,4766 }, { 133,4766 }, + { 134,4766 }, { 135,4766 }, { 136,4766 }, { 137,4766 }, { 138,4766 }, + { 139,4766 }, { 140,4766 }, { 141,4766 }, { 142,4766 }, { 143,4766 }, + { 144,4766 }, { 145,4766 }, { 146,4766 }, { 147,4766 }, { 148,4766 }, + { 149,4766 }, { 150,4766 }, { 151,4766 }, { 152,4766 }, { 153,4766 }, + + { 154,4766 }, { 155,4766 }, { 156,4766 }, { 157,4766 }, { 158,4766 }, + { 159,4766 }, { 160,4766 }, { 161,4766 }, { 162,4766 }, { 163,4766 }, + { 164,4766 }, { 165,4766 }, { 166,4766 }, { 167,4766 }, { 168,4766 }, + { 169,4766 }, { 170,4766 }, { 171,4766 }, { 172,4766 }, { 173,4766 }, + { 174,4766 }, { 175,4766 }, { 176,4766 }, { 177,4766 }, { 178,4766 }, + { 179,4766 }, { 180,4766 }, { 181,4766 }, { 182,4766 }, { 183,4766 }, + { 184,4766 }, { 185,4766 }, { 186,4766 }, { 187,4766 }, { 188,4766 }, + { 189,4766 }, { 190,4766 }, { 191,4766 }, { 192,4766 }, { 193,4766 }, + { 194,4766 }, { 195,4766 }, { 196,4766 }, { 197,4766 }, { 198,4766 }, + { 199,4766 }, { 200,4766 }, { 201,4766 }, { 202,4766 }, { 203,4766 }, + + { 204,4766 }, { 205,4766 }, { 206,4766 }, { 207,4766 }, { 208,4766 }, + { 209,4766 }, { 210,4766 }, { 211,4766 }, { 212,4766 }, { 213,4766 }, + { 214,4766 }, { 215,4766 }, { 216,4766 }, { 217,4766 }, { 218,4766 }, + { 219,4766 }, { 220,4766 }, { 221,4766 }, { 222,4766 }, { 223,4766 }, + { 224,4766 }, { 225,4766 }, { 226,4766 }, { 227,4766 }, { 228,4766 }, + { 229,4766 }, { 230,4766 }, { 231,4766 }, { 232,4766 }, { 233,4766 }, + { 234,4766 }, { 235,4766 }, { 236,4766 }, { 237,4766 }, { 238,4766 }, + { 239,4766 }, { 240,4766 }, { 241,4766 }, { 242,4766 }, { 243,4766 }, + { 244,4766 }, { 245,4766 }, { 246,4766 }, { 247,4766 }, { 248,4766 }, + { 249,4766 }, { 250,4766 }, { 251,4766 }, { 252,4766 }, { 253,4766 }, + + { 254,4766 }, { 255,4766 }, { 0, 69 }, { 0,16404 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,4509 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 48,5023 }, { 49,5023 }, { 50,5023 }, { 51,5023 }, + { 52,5023 }, { 53,5023 }, { 54,5023 }, { 55,5023 }, { 56,5023 }, + { 57,5023 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,4509 }, { 66,4509 }, + { 67,4509 }, { 68,4509 }, { 69,4509 }, { 70,4509 }, { 71,4509 }, + { 72,4509 }, { 73,4509 }, { 74,4509 }, { 75,4509 }, { 76,4509 }, + { 77,4509 }, { 78,4509 }, { 79,4509 }, { 80,4509 }, { 81,4509 }, + { 82,4509 }, { 83,4509 }, { 84,4509 }, { 85,4509 }, { 86,4509 }, + { 87,4509 }, { 88,4509 }, { 89,4509 }, { 90,4509 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,4509 }, { 0, 0 }, + + { 97,4509 }, { 98,4509 }, { 99,4509 }, { 100,4509 }, { 101,4509 }, + { 102,4509 }, { 103,4509 }, { 104,4509 }, { 105,4509 }, { 106,4509 }, + { 107,4509 }, { 108,4509 }, { 109,4509 }, { 110,4509 }, { 111,4509 }, + { 112,4509 }, { 113,4509 }, { 114,4509 }, { 115,4509 }, { 116,4509 }, + { 117,4509 }, { 118,4509 }, { 119,4509 }, { 120,4509 }, { 121,4509 }, + { 122,4509 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,4509 }, { 129,4509 }, { 130,4509 }, { 131,4509 }, + { 132,4509 }, { 133,4509 }, { 134,4509 }, { 135,4509 }, { 136,4509 }, + { 137,4509 }, { 138,4509 }, { 139,4509 }, { 140,4509 }, { 141,4509 }, + { 142,4509 }, { 143,4509 }, { 144,4509 }, { 145,4509 }, { 146,4509 }, + + { 147,4509 }, { 148,4509 }, { 149,4509 }, { 150,4509 }, { 151,4509 }, + { 152,4509 }, { 153,4509 }, { 154,4509 }, { 155,4509 }, { 156,4509 }, + { 157,4509 }, { 158,4509 }, { 159,4509 }, { 160,4509 }, { 161,4509 }, + { 162,4509 }, { 163,4509 }, { 164,4509 }, { 165,4509 }, { 166,4509 }, + { 167,4509 }, { 168,4509 }, { 169,4509 }, { 170,4509 }, { 171,4509 }, + { 172,4509 }, { 173,4509 }, { 174,4509 }, { 175,4509 }, { 176,4509 }, + { 177,4509 }, { 178,4509 }, { 179,4509 }, { 180,4509 }, { 181,4509 }, + { 182,4509 }, { 183,4509 }, { 184,4509 }, { 185,4509 }, { 186,4509 }, + { 187,4509 }, { 188,4509 }, { 189,4509 }, { 190,4509 }, { 191,4509 }, + { 192,4509 }, { 193,4509 }, { 194,4509 }, { 195,4509 }, { 196,4509 }, + + { 197,4509 }, { 198,4509 }, { 199,4509 }, { 200,4509 }, { 201,4509 }, + { 202,4509 }, { 203,4509 }, { 204,4509 }, { 205,4509 }, { 206,4509 }, + { 207,4509 }, { 208,4509 }, { 209,4509 }, { 210,4509 }, { 211,4509 }, + { 212,4509 }, { 213,4509 }, { 214,4509 }, { 215,4509 }, { 216,4509 }, + { 217,4509 }, { 218,4509 }, { 219,4509 }, { 220,4509 }, { 221,4509 }, + { 222,4509 }, { 223,4509 }, { 224,4509 }, { 225,4509 }, { 226,4509 }, + { 227,4509 }, { 228,4509 }, { 229,4509 }, { 230,4509 }, { 231,4509 }, + { 232,4509 }, { 233,4509 }, { 234,4509 }, { 235,4509 }, { 236,4509 }, + { 237,4509 }, { 238,4509 }, { 239,4509 }, { 240,4509 }, { 241,4509 }, + { 242,4509 }, { 243,4509 }, { 244,4509 }, { 245,4509 }, { 246,4509 }, + + { 247,4509 }, { 248,4509 }, { 249,4509 }, { 250,4509 }, { 251,4509 }, + { 252,4509 }, { 253,4509 }, { 254,4509 }, { 255,4509 }, { 0, 3 }, + { 0,16147 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 64 }, { 0,16115 }, { 33, 0 }, { 0, 0 }, + { 35, 0 }, { 0, 0 }, { 37, 0 }, { 38, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 42, 0 }, { 43, 0 }, { 0, 0 }, + { 45, 0 }, { 0, 0 }, { 47, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 60, 0 }, { 61, 0 }, { 62, 0 }, { 63, 0 }, { 64, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48,4991 }, { 49,4991 }, { 50,4991 }, { 51,4991 }, { 52,4991 }, + { 53,4991 }, { 54,4991 }, { 55,4991 }, { 56,4991 }, { 57,4991 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94, 0 }, + { 0, 0 }, { 96, 0 }, { 65,-803 }, { 66,-803 }, { 67,-803 }, + { 68,-803 }, { 69,-546 }, { 70,-803 }, { 71,-803 }, { 72,-803 }, + { 73,-803 }, { 74,-803 }, { 75,-803 }, { 76,-803 }, { 77,-803 }, + { 78,-803 }, { 79,-803 }, { 80,-803 }, { 81,-803 }, { 82,-803 }, + { 83,-803 }, { 84,-803 }, { 85,-803 }, { 86,-803 }, { 87,-803 }, + { 88,-803 }, { 89,-803 }, { 90,-803 }, { 0, 0 }, { 124, 0 }, + { 0, 0 }, { 126, 0 }, { 95,5248 }, { 0, 0 }, { 97,-803 }, + { 98,-803 }, { 99,-803 }, { 100,-803 }, { 101,-546 }, { 102,-803 }, + { 103,-803 }, { 104,-803 }, { 105,-803 }, { 106,-803 }, { 107,-803 }, + + { 108,-803 }, { 109,-803 }, { 110,-803 }, { 111,-803 }, { 112,-803 }, + { 113,-803 }, { 114,-803 }, { 115,-803 }, { 116,-803 }, { 117,-803 }, + { 118,-803 }, { 119,-803 }, { 120,-803 }, { 121,-803 }, { 122,-803 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 128,-803 }, { 129,-803 }, { 130,-803 }, { 131,-803 }, { 132,-803 }, + { 133,-803 }, { 134,-803 }, { 135,-803 }, { 136,-803 }, { 137,-803 }, + { 138,-803 }, { 139,-803 }, { 140,-803 }, { 141,-803 }, { 142,-803 }, + { 143,-803 }, { 144,-803 }, { 145,-803 }, { 146,-803 }, { 147,-803 }, + { 148,-803 }, { 149,-803 }, { 150,-803 }, { 151,-803 }, { 152,-803 }, + { 153,-803 }, { 154,-803 }, { 155,-803 }, { 156,-803 }, { 157,-803 }, + + { 158,-803 }, { 159,-803 }, { 160,-803 }, { 161,-803 }, { 162,-803 }, + { 163,-803 }, { 164,-803 }, { 165,-803 }, { 166,-803 }, { 167,-803 }, + { 168,-803 }, { 169,-803 }, { 170,-803 }, { 171,-803 }, { 172,-803 }, + { 173,-803 }, { 174,-803 }, { 175,-803 }, { 176,-803 }, { 177,-803 }, + { 178,-803 }, { 179,-803 }, { 180,-803 }, { 181,-803 }, { 182,-803 }, + { 183,-803 }, { 184,-803 }, { 185,-803 }, { 186,-803 }, { 187,-803 }, + { 188,-803 }, { 189,-803 }, { 190,-803 }, { 191,-803 }, { 192,-803 }, + { 193,-803 }, { 194,-803 }, { 195,-803 }, { 196,-803 }, { 197,-803 }, + { 198,-803 }, { 199,-803 }, { 200,-803 }, { 201,-803 }, { 202,-803 }, + { 203,-803 }, { 204,-803 }, { 205,-803 }, { 206,-803 }, { 207,-803 }, + + { 208,-803 }, { 209,-803 }, { 210,-803 }, { 211,-803 }, { 212,-803 }, + { 213,-803 }, { 214,-803 }, { 215,-803 }, { 216,-803 }, { 217,-803 }, + { 218,-803 }, { 219,-803 }, { 220,-803 }, { 221,-803 }, { 222,-803 }, + { 223,-803 }, { 224,-803 }, { 225,-803 }, { 226,-803 }, { 227,-803 }, + { 228,-803 }, { 229,-803 }, { 230,-803 }, { 231,-803 }, { 232,-803 }, + { 233,-803 }, { 234,-803 }, { 235,-803 }, { 236,-803 }, { 237,-803 }, + { 238,-803 }, { 239,-803 }, { 240,-803 }, { 241,-803 }, { 242,-803 }, + { 243,-803 }, { 244,-803 }, { 245,-803 }, { 246,-803 }, { 247,-803 }, + { 248,-803 }, { 249,-803 }, { 250,-803 }, { 251,-803 }, { 252,-803 }, + { 253,-803 }, { 254,-803 }, { 255,-803 }, { 0, 68 }, { 0,15858 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 36, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, + + { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, + { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 0 }, + { 66, 0 }, { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, + { 71, 0 }, { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, + { 76, 0 }, { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, + { 81, 0 }, { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, + { 86, 0 }, { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95, 0 }, + { 0, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, + + { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, + { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, + { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, + { 116, 0 }, { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, + { 121, 0 }, { 122, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, + { 131, 0 }, { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, + { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, + { 141, 0 }, { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, + { 146, 0 }, { 147, 0 }, { 148, 0 }, { 149, 0 }, { 150, 0 }, + + { 151, 0 }, { 152, 0 }, { 153, 0 }, { 154, 0 }, { 155, 0 }, + { 156, 0 }, { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, + { 161, 0 }, { 162, 0 }, { 163, 0 }, { 164, 0 }, { 165, 0 }, + { 166, 0 }, { 167, 0 }, { 168, 0 }, { 169, 0 }, { 170, 0 }, + { 171, 0 }, { 172, 0 }, { 173, 0 }, { 174, 0 }, { 175, 0 }, + { 176, 0 }, { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, + { 181, 0 }, { 182, 0 }, { 183, 0 }, { 184, 0 }, { 185, 0 }, + { 186, 0 }, { 187, 0 }, { 188, 0 }, { 189, 0 }, { 190, 0 }, + { 191, 0 }, { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, + { 196, 0 }, { 197, 0 }, { 198, 0 }, { 199, 0 }, { 200, 0 }, + + { 201, 0 }, { 202, 0 }, { 203, 0 }, { 204, 0 }, { 205, 0 }, + { 206, 0 }, { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, + { 211, 0 }, { 212, 0 }, { 213, 0 }, { 214, 0 }, { 215, 0 }, + { 216, 0 }, { 217, 0 }, { 218, 0 }, { 219, 0 }, { 220, 0 }, + { 221, 0 }, { 222, 0 }, { 223, 0 }, { 224, 0 }, { 225, 0 }, + { 226, 0 }, { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, + { 231, 0 }, { 232, 0 }, { 233, 0 }, { 234, 0 }, { 235, 0 }, + { 236, 0 }, { 237, 0 }, { 238, 0 }, { 239, 0 }, { 240, 0 }, + { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, + { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, + + { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, + { 0, 60 }, { 0,15601 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 36,-257 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, + { 49, 0 }, { 50,-257 }, { 51,-257 }, { 52,-257 }, { 53,-257 }, + { 54,-257 }, { 55,-257 }, { 56,-257 }, { 57,-257 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65,-257 }, { 66,-257 }, { 67,-257 }, { 68,-257 }, + { 69,-257 }, { 70,-257 }, { 71,-257 }, { 72,-257 }, { 73,-257 }, + { 74,-257 }, { 75,-257 }, { 76,-257 }, { 77,-257 }, { 78,-257 }, + { 79,-257 }, { 80,-257 }, { 81,-257 }, { 82,-257 }, { 83,-257 }, + { 84,-257 }, { 85,-257 }, { 86,-257 }, { 87,-257 }, { 88,-257 }, + { 89,-257 }, { 90,-257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 95,4991 }, { 0, 0 }, { 97,-257 }, { 98,-257 }, + { 99,-257 }, { 100,-257 }, { 101,-257 }, { 102,-257 }, { 103,-257 }, + { 104,-257 }, { 105,-257 }, { 106,-257 }, { 107,-257 }, { 108,-257 }, + { 109,-257 }, { 110,-257 }, { 111,-257 }, { 112,-257 }, { 113,-257 }, + { 114,-257 }, { 115,-257 }, { 116,-257 }, { 117,-257 }, { 118,-257 }, + { 119,-257 }, { 120,-257 }, { 121,-257 }, { 122,-257 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-257 }, + { 129,-257 }, { 130,-257 }, { 131,-257 }, { 132,-257 }, { 133,-257 }, + { 134,-257 }, { 135,-257 }, { 136,-257 }, { 137,-257 }, { 138,-257 }, + { 139,-257 }, { 140,-257 }, { 141,-257 }, { 142,-257 }, { 143,-257 }, + + { 144,-257 }, { 145,-257 }, { 146,-257 }, { 147,-257 }, { 148,-257 }, + { 149,-257 }, { 150,-257 }, { 151,-257 }, { 152,-257 }, { 153,-257 }, + { 154,-257 }, { 155,-257 }, { 156,-257 }, { 157,-257 }, { 158,-257 }, + { 159,-257 }, { 160,-257 }, { 161,-257 }, { 162,-257 }, { 163,-257 }, + { 164,-257 }, { 165,-257 }, { 166,-257 }, { 167,-257 }, { 168,-257 }, + { 169,-257 }, { 170,-257 }, { 171,-257 }, { 172,-257 }, { 173,-257 }, + { 174,-257 }, { 175,-257 }, { 176,-257 }, { 177,-257 }, { 178,-257 }, + { 179,-257 }, { 180,-257 }, { 181,-257 }, { 182,-257 }, { 183,-257 }, + { 184,-257 }, { 185,-257 }, { 186,-257 }, { 187,-257 }, { 188,-257 }, + { 189,-257 }, { 190,-257 }, { 191,-257 }, { 192,-257 }, { 193,-257 }, + + { 194,-257 }, { 195,-257 }, { 196,-257 }, { 197,-257 }, { 198,-257 }, + { 199,-257 }, { 200,-257 }, { 201,-257 }, { 202,-257 }, { 203,-257 }, + { 204,-257 }, { 205,-257 }, { 206,-257 }, { 207,-257 }, { 208,-257 }, + { 209,-257 }, { 210,-257 }, { 211,-257 }, { 212,-257 }, { 213,-257 }, + { 214,-257 }, { 215,-257 }, { 216,-257 }, { 217,-257 }, { 218,-257 }, + { 219,-257 }, { 220,-257 }, { 221,-257 }, { 222,-257 }, { 223,-257 }, + { 224,-257 }, { 225,-257 }, { 226,-257 }, { 227,-257 }, { 228,-257 }, + { 229,-257 }, { 230,-257 }, { 231,-257 }, { 232,-257 }, { 233,-257 }, + { 234,-257 }, { 235,-257 }, { 236,-257 }, { 237,-257 }, { 238,-257 }, + { 239,-257 }, { 240,-257 }, { 241,-257 }, { 242,-257 }, { 243,-257 }, + + { 244,-257 }, { 245,-257 }, { 246,-257 }, { 247,-257 }, { 248,-257 }, + { 249,-257 }, { 250,-257 }, { 251,-257 }, { 252,-257 }, { 253,-257 }, + { 254,-257 }, { 255,-257 }, { 0, 63 }, { 0,15344 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-514 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 48,-257 }, { 49,-257 }, { 50,-514 }, { 51,-514 }, + { 52,-514 }, { 53,-514 }, { 54,-514 }, { 55,-514 }, { 56,-514 }, + { 57,-514 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-514 }, { 66,-514 }, + { 67,-514 }, { 68,-514 }, { 69,-514 }, { 70,-514 }, { 71,-514 }, + { 72,-514 }, { 73,-514 }, { 74,-514 }, { 75,-514 }, { 76,-514 }, + { 77,-514 }, { 78,-514 }, { 79,-514 }, { 80,-514 }, { 81,-514 }, + { 82,-514 }, { 83,-514 }, { 84,-514 }, { 85,-514 }, { 86,-514 }, + + { 87,-514 }, { 88,-514 }, { 89,-514 }, { 90,-514 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-514 }, { 0, 0 }, + { 97,-514 }, { 98,-514 }, { 99,-514 }, { 100,-514 }, { 101,-514 }, + { 102,-514 }, { 103,-514 }, { 104,-514 }, { 105,-514 }, { 106,-514 }, + { 107,-514 }, { 108,-514 }, { 109,-514 }, { 110,-514 }, { 111,-514 }, + { 112,-514 }, { 113,-514 }, { 114,-514 }, { 115,-514 }, { 116,-514 }, + { 117,-514 }, { 118,-514 }, { 119,-514 }, { 120,-514 }, { 121,-514 }, + { 122,-514 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,-514 }, { 129,-514 }, { 130,-514 }, { 131,-514 }, + { 132,-514 }, { 133,-514 }, { 134,-514 }, { 135,-514 }, { 136,-514 }, + + { 137,-514 }, { 138,-514 }, { 139,-514 }, { 140,-514 }, { 141,-514 }, + { 142,-514 }, { 143,-514 }, { 144,-514 }, { 145,-514 }, { 146,-514 }, + { 147,-514 }, { 148,-514 }, { 149,-514 }, { 150,-514 }, { 151,-514 }, + { 152,-514 }, { 153,-514 }, { 154,-514 }, { 155,-514 }, { 156,-514 }, + { 157,-514 }, { 158,-514 }, { 159,-514 }, { 160,-514 }, { 161,-514 }, + { 162,-514 }, { 163,-514 }, { 164,-514 }, { 165,-514 }, { 166,-514 }, + { 167,-514 }, { 168,-514 }, { 169,-514 }, { 170,-514 }, { 171,-514 }, + { 172,-514 }, { 173,-514 }, { 174,-514 }, { 175,-514 }, { 176,-514 }, + { 177,-514 }, { 178,-514 }, { 179,-514 }, { 180,-514 }, { 181,-514 }, + { 182,-514 }, { 183,-514 }, { 184,-514 }, { 185,-514 }, { 186,-514 }, + + { 187,-514 }, { 188,-514 }, { 189,-514 }, { 190,-514 }, { 191,-514 }, + { 192,-514 }, { 193,-514 }, { 194,-514 }, { 195,-514 }, { 196,-514 }, + { 197,-514 }, { 198,-514 }, { 199,-514 }, { 200,-514 }, { 201,-514 }, + { 202,-514 }, { 203,-514 }, { 204,-514 }, { 205,-514 }, { 206,-514 }, + { 207,-514 }, { 208,-514 }, { 209,-514 }, { 210,-514 }, { 211,-514 }, + { 212,-514 }, { 213,-514 }, { 214,-514 }, { 215,-514 }, { 216,-514 }, + { 217,-514 }, { 218,-514 }, { 219,-514 }, { 220,-514 }, { 221,-514 }, + { 222,-514 }, { 223,-514 }, { 224,-514 }, { 225,-514 }, { 226,-514 }, + { 227,-514 }, { 228,-514 }, { 229,-514 }, { 230,-514 }, { 231,-514 }, + { 232,-514 }, { 233,-514 }, { 234,-514 }, { 235,-514 }, { 236,-514 }, + + { 237,-514 }, { 238,-514 }, { 239,-514 }, { 240,-514 }, { 241,-514 }, + { 242,-514 }, { 243,-514 }, { 244,-514 }, { 245,-514 }, { 246,-514 }, + { 247,-514 }, { 248,-514 }, { 249,-514 }, { 250,-514 }, { 251,-514 }, + { 252,-514 }, { 253,-514 }, { 254,-514 }, { 255,-514 }, { 0, 67 }, + { 0,15087 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 66 }, + { 0,15077 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 36,-781 }, { 0, 0 }, { 48,4734 }, { 49,4734 }, + { 50,4734 }, { 51,4734 }, { 52,4734 }, { 53,4734 }, { 54,4734 }, + { 55,4734 }, { 56,4734 }, { 57,4734 }, { 48,4981 }, { 49,4981 }, + { 50,4981 }, { 51,4981 }, { 52,4981 }, { 53,4981 }, { 54,4981 }, + { 55,4981 }, { 56,4981 }, { 57,4981 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,5238 }, { 66,5238 }, { 67,5238 }, { 68,5238 }, { 69,5238 }, + + { 70,5238 }, { 71,5238 }, { 72,5238 }, { 73,5238 }, { 74,5238 }, + { 75,5238 }, { 76,5238 }, { 77,5238 }, { 78,5238 }, { 79,5238 }, + { 80,5238 }, { 81,5238 }, { 82,5238 }, { 83,5238 }, { 84,5238 }, + { 85,5238 }, { 86,5238 }, { 87,5238 }, { 88,5238 }, { 89,5238 }, + { 90,5238 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,5495 }, { 0, 0 }, { 97,5238 }, { 98,5238 }, { 99,5238 }, + { 100,5238 }, { 101,5238 }, { 102,5238 }, { 103,5238 }, { 104,5238 }, + { 105,5238 }, { 106,5238 }, { 107,5238 }, { 108,5238 }, { 109,5238 }, + { 110,5238 }, { 111,5238 }, { 112,5238 }, { 113,5238 }, { 114,5238 }, + { 115,5238 }, { 116,5238 }, { 117,5238 }, { 118,5238 }, { 119,5238 }, + + { 120,5238 }, { 121,5238 }, { 122,5238 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,5238 }, { 129,5238 }, + { 130,5238 }, { 131,5238 }, { 132,5238 }, { 133,5238 }, { 134,5238 }, + { 135,5238 }, { 136,5238 }, { 137,5238 }, { 138,5238 }, { 139,5238 }, + { 140,5238 }, { 141,5238 }, { 142,5238 }, { 143,5238 }, { 144,5238 }, + { 145,5238 }, { 146,5238 }, { 147,5238 }, { 148,5238 }, { 149,5238 }, + { 150,5238 }, { 151,5238 }, { 152,5238 }, { 153,5238 }, { 154,5238 }, + { 155,5238 }, { 156,5238 }, { 157,5238 }, { 158,5238 }, { 159,5238 }, + { 160,5238 }, { 161,5238 }, { 162,5238 }, { 163,5238 }, { 164,5238 }, + { 165,5238 }, { 166,5238 }, { 167,5238 }, { 168,5238 }, { 169,5238 }, + + { 170,5238 }, { 171,5238 }, { 172,5238 }, { 173,5238 }, { 174,5238 }, + { 175,5238 }, { 176,5238 }, { 177,5238 }, { 178,5238 }, { 179,5238 }, + { 180,5238 }, { 181,5238 }, { 182,5238 }, { 183,5238 }, { 184,5238 }, + { 185,5238 }, { 186,5238 }, { 187,5238 }, { 188,5238 }, { 189,5238 }, + { 190,5238 }, { 191,5238 }, { 192,5238 }, { 193,5238 }, { 194,5238 }, + { 195,5238 }, { 196,5238 }, { 197,5238 }, { 198,5238 }, { 199,5238 }, + { 200,5238 }, { 201,5238 }, { 202,5238 }, { 203,5238 }, { 204,5238 }, + { 205,5238 }, { 206,5238 }, { 207,5238 }, { 208,5238 }, { 209,5238 }, + { 210,5238 }, { 211,5238 }, { 212,5238 }, { 213,5238 }, { 214,5238 }, + { 215,5238 }, { 216,5238 }, { 217,5238 }, { 218,5238 }, { 219,5238 }, + + { 220,5238 }, { 221,5238 }, { 222,5238 }, { 223,5238 }, { 224,5238 }, + { 225,5238 }, { 226,5238 }, { 227,5238 }, { 228,5238 }, { 229,5238 }, + { 230,5238 }, { 231,5238 }, { 232,5238 }, { 233,5238 }, { 234,5238 }, + { 235,5238 }, { 236,5238 }, { 237,5238 }, { 238,5238 }, { 239,5238 }, + { 240,5238 }, { 241,5238 }, { 242,5238 }, { 243,5238 }, { 244,5238 }, + { 245,5238 }, { 246,5238 }, { 247,5238 }, { 248,5238 }, { 249,5238 }, + { 250,5238 }, { 251,5238 }, { 252,5238 }, { 253,5238 }, { 254,5238 }, + { 255,5238 }, { 0, 59 }, { 0,14820 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-1038 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, + { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56,-1038 }, { 57,-1038 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 65,-1038 }, { 66,-1038 }, { 67,-1038 }, + { 68,-1038 }, { 69,-1038 }, { 70,-1038 }, { 71,-1038 }, { 72,-1038 }, + { 73,-1038 }, { 74,-1038 }, { 75,-1038 }, { 76,-1038 }, { 77,-1038 }, + { 78,-1038 }, { 79,-1038 }, { 80,-1038 }, { 81,-1038 }, { 82,-1038 }, + { 83,-1038 }, { 84,-1038 }, { 85,-1038 }, { 86,-1038 }, { 87,-1038 }, + { 88,-1038 }, { 89,-1038 }, { 90,-1038 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 95,5495 }, { 0, 0 }, { 97,-1038 }, + { 98,-1038 }, { 99,-1038 }, { 100,-1038 }, { 101,-1038 }, { 102,-1038 }, + { 103,-1038 }, { 104,-1038 }, { 105,-1038 }, { 106,-1038 }, { 107,-1038 }, + { 108,-1038 }, { 109,-1038 }, { 110,-1038 }, { 111,-1038 }, { 112,-1038 }, + + { 113,-1038 }, { 114,-1038 }, { 115,-1038 }, { 116,-1038 }, { 117,-1038 }, + { 118,-1038 }, { 119,-1038 }, { 120,-1038 }, { 121,-1038 }, { 122,-1038 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 128,-1038 }, { 129,-1038 }, { 130,-1038 }, { 131,-1038 }, { 132,-1038 }, + { 133,-1038 }, { 134,-1038 }, { 135,-1038 }, { 136,-1038 }, { 137,-1038 }, + { 138,-1038 }, { 139,-1038 }, { 140,-1038 }, { 141,-1038 }, { 142,-1038 }, + { 143,-1038 }, { 144,-1038 }, { 145,-1038 }, { 146,-1038 }, { 147,-1038 }, + { 148,-1038 }, { 149,-1038 }, { 150,-1038 }, { 151,-1038 }, { 152,-1038 }, + { 153,-1038 }, { 154,-1038 }, { 155,-1038 }, { 156,-1038 }, { 157,-1038 }, + { 158,-1038 }, { 159,-1038 }, { 160,-1038 }, { 161,-1038 }, { 162,-1038 }, + + { 163,-1038 }, { 164,-1038 }, { 165,-1038 }, { 166,-1038 }, { 167,-1038 }, + { 168,-1038 }, { 169,-1038 }, { 170,-1038 }, { 171,-1038 }, { 172,-1038 }, + { 173,-1038 }, { 174,-1038 }, { 175,-1038 }, { 176,-1038 }, { 177,-1038 }, + { 178,-1038 }, { 179,-1038 }, { 180,-1038 }, { 181,-1038 }, { 182,-1038 }, + { 183,-1038 }, { 184,-1038 }, { 185,-1038 }, { 186,-1038 }, { 187,-1038 }, + { 188,-1038 }, { 189,-1038 }, { 190,-1038 }, { 191,-1038 }, { 192,-1038 }, + { 193,-1038 }, { 194,-1038 }, { 195,-1038 }, { 196,-1038 }, { 197,-1038 }, + { 198,-1038 }, { 199,-1038 }, { 200,-1038 }, { 201,-1038 }, { 202,-1038 }, + { 203,-1038 }, { 204,-1038 }, { 205,-1038 }, { 206,-1038 }, { 207,-1038 }, + { 208,-1038 }, { 209,-1038 }, { 210,-1038 }, { 211,-1038 }, { 212,-1038 }, + + { 213,-1038 }, { 214,-1038 }, { 215,-1038 }, { 216,-1038 }, { 217,-1038 }, + { 218,-1038 }, { 219,-1038 }, { 220,-1038 }, { 221,-1038 }, { 222,-1038 }, + { 223,-1038 }, { 224,-1038 }, { 225,-1038 }, { 226,-1038 }, { 227,-1038 }, + { 228,-1038 }, { 229,-1038 }, { 230,-1038 }, { 231,-1038 }, { 232,-1038 }, + { 233,-1038 }, { 234,-1038 }, { 235,-1038 }, { 236,-1038 }, { 237,-1038 }, + { 238,-1038 }, { 239,-1038 }, { 240,-1038 }, { 241,-1038 }, { 242,-1038 }, + { 243,-1038 }, { 244,-1038 }, { 245,-1038 }, { 246,-1038 }, { 247,-1038 }, + { 248,-1038 }, { 249,-1038 }, { 250,-1038 }, { 251,-1038 }, { 252,-1038 }, + { 253,-1038 }, { 254,-1038 }, { 255,-1038 }, { 0, 62 }, { 0,14563 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 36,-1295 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 48,-257 }, { 49,-257 }, { 50,-257 }, + { 51,-257 }, { 52,-257 }, { 53,-257 }, { 54,-257 }, { 55,-257 }, + + { 56,-1295 }, { 57,-1295 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-1295 }, + { 66,-1295 }, { 67,-1295 }, { 68,-1295 }, { 69,-1295 }, { 70,-1295 }, + { 71,-1295 }, { 72,-1295 }, { 73,-1295 }, { 74,-1295 }, { 75,-1295 }, + { 76,-1295 }, { 77,-1295 }, { 78,-1295 }, { 79,-1295 }, { 80,-1295 }, + { 81,-1295 }, { 82,-1295 }, { 83,-1295 }, { 84,-1295 }, { 85,-1295 }, + { 86,-1295 }, { 87,-1295 }, { 88,-1295 }, { 89,-1295 }, { 90,-1295 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-1295 }, + { 0, 0 }, { 97,-1295 }, { 98,-1295 }, { 99,-1295 }, { 100,-1295 }, + { 101,-1295 }, { 102,-1295 }, { 103,-1295 }, { 104,-1295 }, { 105,-1295 }, + + { 106,-1295 }, { 107,-1295 }, { 108,-1295 }, { 109,-1295 }, { 110,-1295 }, + { 111,-1295 }, { 112,-1295 }, { 113,-1295 }, { 114,-1295 }, { 115,-1295 }, + { 116,-1295 }, { 117,-1295 }, { 118,-1295 }, { 119,-1295 }, { 120,-1295 }, + { 121,-1295 }, { 122,-1295 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128,-1295 }, { 129,-1295 }, { 130,-1295 }, + { 131,-1295 }, { 132,-1295 }, { 133,-1295 }, { 134,-1295 }, { 135,-1295 }, + { 136,-1295 }, { 137,-1295 }, { 138,-1295 }, { 139,-1295 }, { 140,-1295 }, + { 141,-1295 }, { 142,-1295 }, { 143,-1295 }, { 144,-1295 }, { 145,-1295 }, + { 146,-1295 }, { 147,-1295 }, { 148,-1295 }, { 149,-1295 }, { 150,-1295 }, + { 151,-1295 }, { 152,-1295 }, { 153,-1295 }, { 154,-1295 }, { 155,-1295 }, + + { 156,-1295 }, { 157,-1295 }, { 158,-1295 }, { 159,-1295 }, { 160,-1295 }, + { 161,-1295 }, { 162,-1295 }, { 163,-1295 }, { 164,-1295 }, { 165,-1295 }, + { 166,-1295 }, { 167,-1295 }, { 168,-1295 }, { 169,-1295 }, { 170,-1295 }, + { 171,-1295 }, { 172,-1295 }, { 173,-1295 }, { 174,-1295 }, { 175,-1295 }, + { 176,-1295 }, { 177,-1295 }, { 178,-1295 }, { 179,-1295 }, { 180,-1295 }, + { 181,-1295 }, { 182,-1295 }, { 183,-1295 }, { 184,-1295 }, { 185,-1295 }, + { 186,-1295 }, { 187,-1295 }, { 188,-1295 }, { 189,-1295 }, { 190,-1295 }, + { 191,-1295 }, { 192,-1295 }, { 193,-1295 }, { 194,-1295 }, { 195,-1295 }, + { 196,-1295 }, { 197,-1295 }, { 198,-1295 }, { 199,-1295 }, { 200,-1295 }, + { 201,-1295 }, { 202,-1295 }, { 203,-1295 }, { 204,-1295 }, { 205,-1295 }, + + { 206,-1295 }, { 207,-1295 }, { 208,-1295 }, { 209,-1295 }, { 210,-1295 }, + { 211,-1295 }, { 212,-1295 }, { 213,-1295 }, { 214,-1295 }, { 215,-1295 }, + { 216,-1295 }, { 217,-1295 }, { 218,-1295 }, { 219,-1295 }, { 220,-1295 }, + { 221,-1295 }, { 222,-1295 }, { 223,-1295 }, { 224,-1295 }, { 225,-1295 }, + { 226,-1295 }, { 227,-1295 }, { 228,-1295 }, { 229,-1295 }, { 230,-1295 }, + { 231,-1295 }, { 232,-1295 }, { 233,-1295 }, { 234,-1295 }, { 235,-1295 }, + { 236,-1295 }, { 237,-1295 }, { 238,-1295 }, { 239,-1295 }, { 240,-1295 }, + { 241,-1295 }, { 242,-1295 }, { 243,-1295 }, { 244,-1295 }, { 245,-1295 }, + { 246,-1295 }, { 247,-1295 }, { 248,-1295 }, { 249,-1295 }, { 250,-1295 }, + { 251,-1295 }, { 252,-1295 }, { 253,-1295 }, { 254,-1295 }, { 255,-1295 }, + + { 0, 58 }, { 0,14306 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 36,-1552 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, + + { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, + { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, + { 69, 0 }, { 70, 0 }, { 71,-1552 }, { 72,-1552 }, { 73,-1552 }, + { 74,-1552 }, { 75,-1552 }, { 76,-1552 }, { 77,-1552 }, { 78,-1552 }, + { 79,-1552 }, { 80,-1552 }, { 81,-1552 }, { 82,-1552 }, { 83,-1552 }, + { 84,-1552 }, { 85,-1552 }, { 86,-1552 }, { 87,-1552 }, { 88,-1552 }, + { 89,-1552 }, { 90,-1552 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95,5238 }, { 0, 0 }, { 97, 0 }, { 98, 0 }, + + { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103,-1552 }, + { 104,-1552 }, { 105,-1552 }, { 106,-1552 }, { 107,-1552 }, { 108,-1552 }, + { 109,-1552 }, { 110,-1552 }, { 111,-1552 }, { 112,-1552 }, { 113,-1552 }, + { 114,-1552 }, { 115,-1552 }, { 116,-1552 }, { 117,-1552 }, { 118,-1552 }, + { 119,-1552 }, { 120,-1552 }, { 121,-1552 }, { 122,-1552 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-1552 }, + { 129,-1552 }, { 130,-1552 }, { 131,-1552 }, { 132,-1552 }, { 133,-1552 }, + { 134,-1552 }, { 135,-1552 }, { 136,-1552 }, { 137,-1552 }, { 138,-1552 }, + { 139,-1552 }, { 140,-1552 }, { 141,-1552 }, { 142,-1552 }, { 143,-1552 }, + { 144,-1552 }, { 145,-1552 }, { 146,-1552 }, { 147,-1552 }, { 148,-1552 }, + + { 149,-1552 }, { 150,-1552 }, { 151,-1552 }, { 152,-1552 }, { 153,-1552 }, + { 154,-1552 }, { 155,-1552 }, { 156,-1552 }, { 157,-1552 }, { 158,-1552 }, + { 159,-1552 }, { 160,-1552 }, { 161,-1552 }, { 162,-1552 }, { 163,-1552 }, + { 164,-1552 }, { 165,-1552 }, { 166,-1552 }, { 167,-1552 }, { 168,-1552 }, + { 169,-1552 }, { 170,-1552 }, { 171,-1552 }, { 172,-1552 }, { 173,-1552 }, + { 174,-1552 }, { 175,-1552 }, { 176,-1552 }, { 177,-1552 }, { 178,-1552 }, + { 179,-1552 }, { 180,-1552 }, { 181,-1552 }, { 182,-1552 }, { 183,-1552 }, + { 184,-1552 }, { 185,-1552 }, { 186,-1552 }, { 187,-1552 }, { 188,-1552 }, + { 189,-1552 }, { 190,-1552 }, { 191,-1552 }, { 192,-1552 }, { 193,-1552 }, + { 194,-1552 }, { 195,-1552 }, { 196,-1552 }, { 197,-1552 }, { 198,-1552 }, + + { 199,-1552 }, { 200,-1552 }, { 201,-1552 }, { 202,-1552 }, { 203,-1552 }, + { 204,-1552 }, { 205,-1552 }, { 206,-1552 }, { 207,-1552 }, { 208,-1552 }, + { 209,-1552 }, { 210,-1552 }, { 211,-1552 }, { 212,-1552 }, { 213,-1552 }, + { 214,-1552 }, { 215,-1552 }, { 216,-1552 }, { 217,-1552 }, { 218,-1552 }, + { 219,-1552 }, { 220,-1552 }, { 221,-1552 }, { 222,-1552 }, { 223,-1552 }, + { 224,-1552 }, { 225,-1552 }, { 226,-1552 }, { 227,-1552 }, { 228,-1552 }, + { 229,-1552 }, { 230,-1552 }, { 231,-1552 }, { 232,-1552 }, { 233,-1552 }, + { 234,-1552 }, { 235,-1552 }, { 236,-1552 }, { 237,-1552 }, { 238,-1552 }, + { 239,-1552 }, { 240,-1552 }, { 241,-1552 }, { 242,-1552 }, { 243,-1552 }, + { 244,-1552 }, { 245,-1552 }, { 246,-1552 }, { 247,-1552 }, { 248,-1552 }, + + { 249,-1552 }, { 250,-1552 }, { 251,-1552 }, { 252,-1552 }, { 253,-1552 }, + { 254,-1552 }, { 255,-1552 }, { 0, 61 }, { 0,14049 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-1809 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 48,-257 }, { 49,-257 }, { 50,-257 }, { 51,-257 }, + { 52,-257 }, { 53,-257 }, { 54,-257 }, { 55,-257 }, { 56,-257 }, + { 57,-257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-257 }, { 66,-257 }, + { 67,-257 }, { 68,-257 }, { 69,-257 }, { 70,-257 }, { 71,-1809 }, + { 72,-1809 }, { 73,-1809 }, { 74,-1809 }, { 75,-1809 }, { 76,-1809 }, + { 77,-1809 }, { 78,-1809 }, { 79,-1809 }, { 80,-1809 }, { 81,-1809 }, + { 82,-1809 }, { 83,-1809 }, { 84,-1809 }, { 85,-1809 }, { 86,-1809 }, + { 87,-1809 }, { 88,-1809 }, { 89,-1809 }, { 90,-1809 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-1809 }, { 0, 0 }, + { 97,-257 }, { 98,-257 }, { 99,-257 }, { 100,-257 }, { 101,-257 }, + { 102,-257 }, { 103,-1809 }, { 104,-1809 }, { 105,-1809 }, { 106,-1809 }, + { 107,-1809 }, { 108,-1809 }, { 109,-1809 }, { 110,-1809 }, { 111,-1809 }, + { 112,-1809 }, { 113,-1809 }, { 114,-1809 }, { 115,-1809 }, { 116,-1809 }, + { 117,-1809 }, { 118,-1809 }, { 119,-1809 }, { 120,-1809 }, { 121,-1809 }, + { 122,-1809 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,-1809 }, { 129,-1809 }, { 130,-1809 }, { 131,-1809 }, + { 132,-1809 }, { 133,-1809 }, { 134,-1809 }, { 135,-1809 }, { 136,-1809 }, + { 137,-1809 }, { 138,-1809 }, { 139,-1809 }, { 140,-1809 }, { 141,-1809 }, + + { 142,-1809 }, { 143,-1809 }, { 144,-1809 }, { 145,-1809 }, { 146,-1809 }, + { 147,-1809 }, { 148,-1809 }, { 149,-1809 }, { 150,-1809 }, { 151,-1809 }, + { 152,-1809 }, { 153,-1809 }, { 154,-1809 }, { 155,-1809 }, { 156,-1809 }, + { 157,-1809 }, { 158,-1809 }, { 159,-1809 }, { 160,-1809 }, { 161,-1809 }, + { 162,-1809 }, { 163,-1809 }, { 164,-1809 }, { 165,-1809 }, { 166,-1809 }, + { 167,-1809 }, { 168,-1809 }, { 169,-1809 }, { 170,-1809 }, { 171,-1809 }, + { 172,-1809 }, { 173,-1809 }, { 174,-1809 }, { 175,-1809 }, { 176,-1809 }, + { 177,-1809 }, { 178,-1809 }, { 179,-1809 }, { 180,-1809 }, { 181,-1809 }, + { 182,-1809 }, { 183,-1809 }, { 184,-1809 }, { 185,-1809 }, { 186,-1809 }, + { 187,-1809 }, { 188,-1809 }, { 189,-1809 }, { 190,-1809 }, { 191,-1809 }, + + { 192,-1809 }, { 193,-1809 }, { 194,-1809 }, { 195,-1809 }, { 196,-1809 }, + { 197,-1809 }, { 198,-1809 }, { 199,-1809 }, { 200,-1809 }, { 201,-1809 }, + { 202,-1809 }, { 203,-1809 }, { 204,-1809 }, { 205,-1809 }, { 206,-1809 }, + { 207,-1809 }, { 208,-1809 }, { 209,-1809 }, { 210,-1809 }, { 211,-1809 }, + { 212,-1809 }, { 213,-1809 }, { 214,-1809 }, { 215,-1809 }, { 216,-1809 }, + { 217,-1809 }, { 218,-1809 }, { 219,-1809 }, { 220,-1809 }, { 221,-1809 }, + { 222,-1809 }, { 223,-1809 }, { 224,-1809 }, { 225,-1809 }, { 226,-1809 }, + { 227,-1809 }, { 228,-1809 }, { 229,-1809 }, { 230,-1809 }, { 231,-1809 }, + { 232,-1809 }, { 233,-1809 }, { 234,-1809 }, { 235,-1809 }, { 236,-1809 }, + { 237,-1809 }, { 238,-1809 }, { 239,-1809 }, { 240,-1809 }, { 241,-1809 }, + + { 242,-1809 }, { 243,-1809 }, { 244,-1809 }, { 245,-1809 }, { 246,-1809 }, + { 247,-1809 }, { 248,-1809 }, { 249,-1809 }, { 250,-1809 }, { 251,-1809 }, + { 252,-1809 }, { 253,-1809 }, { 254,-1809 }, { 255,-1809 }, { 0, 57 }, + { 0,13792 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 36,-2066 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 46,-9433 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, + { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, + { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,4981 }, { 66,4981 }, { 67,4981 }, { 68,4981 }, { 69,5238 }, + { 70,4981 }, { 71,4981 }, { 72,4981 }, { 73,4981 }, { 74,4981 }, + { 75,4981 }, { 76,4981 }, { 77,4981 }, { 78,4981 }, { 79,4981 }, + { 80,4981 }, { 81,4981 }, { 82,4981 }, { 83,4981 }, { 84,4981 }, + + { 85,4981 }, { 86,4981 }, { 87,4981 }, { 88,4981 }, { 89,4981 }, + { 90,4981 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,5495 }, { 0, 0 }, { 97,4981 }, { 98,4981 }, { 99,4981 }, + { 100,4981 }, { 101,5238 }, { 102,4981 }, { 103,4981 }, { 104,4981 }, + { 105,4981 }, { 106,4981 }, { 107,4981 }, { 108,4981 }, { 109,4981 }, + { 110,4981 }, { 111,4981 }, { 112,4981 }, { 113,4981 }, { 114,4981 }, + { 115,4981 }, { 116,4981 }, { 117,4981 }, { 118,4981 }, { 119,4981 }, + { 120,4981 }, { 121,4981 }, { 122,4981 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,4981 }, { 129,4981 }, + { 130,4981 }, { 131,4981 }, { 132,4981 }, { 133,4981 }, { 134,4981 }, + + { 135,4981 }, { 136,4981 }, { 137,4981 }, { 138,4981 }, { 139,4981 }, + { 140,4981 }, { 141,4981 }, { 142,4981 }, { 143,4981 }, { 144,4981 }, + { 145,4981 }, { 146,4981 }, { 147,4981 }, { 148,4981 }, { 149,4981 }, + { 150,4981 }, { 151,4981 }, { 152,4981 }, { 153,4981 }, { 154,4981 }, + { 155,4981 }, { 156,4981 }, { 157,4981 }, { 158,4981 }, { 159,4981 }, + { 160,4981 }, { 161,4981 }, { 162,4981 }, { 163,4981 }, { 164,4981 }, + { 165,4981 }, { 166,4981 }, { 167,4981 }, { 168,4981 }, { 169,4981 }, + { 170,4981 }, { 171,4981 }, { 172,4981 }, { 173,4981 }, { 174,4981 }, + { 175,4981 }, { 176,4981 }, { 177,4981 }, { 178,4981 }, { 179,4981 }, + { 180,4981 }, { 181,4981 }, { 182,4981 }, { 183,4981 }, { 184,4981 }, + + { 185,4981 }, { 186,4981 }, { 187,4981 }, { 188,4981 }, { 189,4981 }, + { 190,4981 }, { 191,4981 }, { 192,4981 }, { 193,4981 }, { 194,4981 }, + { 195,4981 }, { 196,4981 }, { 197,4981 }, { 198,4981 }, { 199,4981 }, + { 200,4981 }, { 201,4981 }, { 202,4981 }, { 203,4981 }, { 204,4981 }, + { 205,4981 }, { 206,4981 }, { 207,4981 }, { 208,4981 }, { 209,4981 }, + { 210,4981 }, { 211,4981 }, { 212,4981 }, { 213,4981 }, { 214,4981 }, + { 215,4981 }, { 216,4981 }, { 217,4981 }, { 218,4981 }, { 219,4981 }, + { 220,4981 }, { 221,4981 }, { 222,4981 }, { 223,4981 }, { 224,4981 }, + { 225,4981 }, { 226,4981 }, { 227,4981 }, { 228,4981 }, { 229,4981 }, + { 230,4981 }, { 231,4981 }, { 232,4981 }, { 233,4981 }, { 234,4981 }, + + { 235,4981 }, { 236,4981 }, { 237,4981 }, { 238,4981 }, { 239,4981 }, + { 240,4981 }, { 241,4981 }, { 242,4981 }, { 243,4981 }, { 244,4981 }, + { 245,4981 }, { 246,4981 }, { 247,4981 }, { 248,4981 }, { 249,4981 }, + { 250,4981 }, { 251,4981 }, { 252,4981 }, { 253,4981 }, { 254,4981 }, + { 255,4981 }, { 0, 4 }, { 0,13535 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 33, 0 }, { 0, 0 }, { 35, 0 }, { 0, 0 }, { 37, 0 }, + { 38, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 42, 0 }, + { 43, 0 }, { 0, 0 }, { 45, 0 }, { 0, 0 }, { 47, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 60, 0 }, { 61, 0 }, { 62, 0 }, + { 63, 0 }, { 64, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 94, 0 }, { 0, 0 }, { 96, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 124, 0 }, { 0, 0 }, { 126, 0 }, { 0, 19 }, + + { 0,13407 }, { 1,5367 }, { 2,5367 }, { 3,5367 }, { 4,5367 }, + { 5,5367 }, { 6,5367 }, { 7,5367 }, { 8,5367 }, { 9,5625 }, + { 10,5883 }, { 11,5625 }, { 12,5625 }, { 13,5883 }, { 14,5367 }, + { 15,5367 }, { 16,5367 }, { 17,5367 }, { 18,5367 }, { 19,5367 }, + { 20,5367 }, { 21,5367 }, { 22,5367 }, { 23,5367 }, { 24,5367 }, + { 25,5367 }, { 26,5367 }, { 27,5367 }, { 28,5367 }, { 29,5367 }, + { 30,5367 }, { 31,5367 }, { 32,5625 }, { 33,5367 }, { 34,5367 }, + { 35,5367 }, { 36,5367 }, { 37,5367 }, { 38,5367 }, { 39,5367 }, + { 40,5367 }, { 41,5367 }, { 42,5367 }, { 43,5367 }, { 44,5367 }, + { 45,5930 }, { 46,5367 }, { 47,5367 }, { 48,5367 }, { 49,5367 }, + + { 50,5367 }, { 51,5367 }, { 52,5367 }, { 53,5367 }, { 54,5367 }, + { 55,5367 }, { 56,5367 }, { 57,5367 }, { 58,5367 }, { 59,5367 }, + { 60,5367 }, { 61,5367 }, { 62,5367 }, { 63,5367 }, { 64,5367 }, + { 65,5367 }, { 66,5367 }, { 67,5367 }, { 68,5367 }, { 69,5367 }, + { 70,5367 }, { 71,5367 }, { 72,5367 }, { 73,5367 }, { 74,5367 }, + { 75,5367 }, { 76,5367 }, { 77,5367 }, { 78,5367 }, { 79,5367 }, + { 80,5367 }, { 81,5367 }, { 82,5367 }, { 83,5367 }, { 84,5367 }, + { 85,5367 }, { 86,5367 }, { 87,5367 }, { 88,5367 }, { 89,5367 }, + { 90,5367 }, { 91,5367 }, { 92,5367 }, { 93,5367 }, { 94,5367 }, + { 95,5367 }, { 96,5367 }, { 97,5367 }, { 98,5367 }, { 99,5367 }, + + { 100,5367 }, { 101,5367 }, { 102,5367 }, { 103,5367 }, { 104,5367 }, + { 105,5367 }, { 106,5367 }, { 107,5367 }, { 108,5367 }, { 109,5367 }, + { 110,5367 }, { 111,5367 }, { 112,5367 }, { 113,5367 }, { 114,5367 }, + { 115,5367 }, { 116,5367 }, { 117,5367 }, { 118,5367 }, { 119,5367 }, + { 120,5367 }, { 121,5367 }, { 122,5367 }, { 123,5367 }, { 124,5367 }, + { 125,5367 }, { 126,5367 }, { 127,5367 }, { 128,5367 }, { 129,5367 }, + { 130,5367 }, { 131,5367 }, { 132,5367 }, { 133,5367 }, { 134,5367 }, + { 135,5367 }, { 136,5367 }, { 137,5367 }, { 138,5367 }, { 139,5367 }, + { 140,5367 }, { 141,5367 }, { 142,5367 }, { 143,5367 }, { 144,5367 }, + { 145,5367 }, { 146,5367 }, { 147,5367 }, { 148,5367 }, { 149,5367 }, + + { 150,5367 }, { 151,5367 }, { 152,5367 }, { 153,5367 }, { 154,5367 }, + { 155,5367 }, { 156,5367 }, { 157,5367 }, { 158,5367 }, { 159,5367 }, + { 160,5367 }, { 161,5367 }, { 162,5367 }, { 163,5367 }, { 164,5367 }, + { 165,5367 }, { 166,5367 }, { 167,5367 }, { 168,5367 }, { 169,5367 }, + { 170,5367 }, { 171,5367 }, { 172,5367 }, { 173,5367 }, { 174,5367 }, + { 175,5367 }, { 176,5367 }, { 177,5367 }, { 178,5367 }, { 179,5367 }, + { 180,5367 }, { 181,5367 }, { 182,5367 }, { 183,5367 }, { 184,5367 }, + { 185,5367 }, { 186,5367 }, { 187,5367 }, { 188,5367 }, { 189,5367 }, + { 190,5367 }, { 191,5367 }, { 192,5367 }, { 193,5367 }, { 194,5367 }, + { 195,5367 }, { 196,5367 }, { 197,5367 }, { 198,5367 }, { 199,5367 }, + + { 200,5367 }, { 201,5367 }, { 202,5367 }, { 203,5367 }, { 204,5367 }, + { 205,5367 }, { 206,5367 }, { 207,5367 }, { 208,5367 }, { 209,5367 }, + { 210,5367 }, { 211,5367 }, { 212,5367 }, { 213,5367 }, { 214,5367 }, + { 215,5367 }, { 216,5367 }, { 217,5367 }, { 218,5367 }, { 219,5367 }, + { 220,5367 }, { 221,5367 }, { 222,5367 }, { 223,5367 }, { 224,5367 }, + { 225,5367 }, { 226,5367 }, { 227,5367 }, { 228,5367 }, { 229,5367 }, + { 230,5367 }, { 231,5367 }, { 232,5367 }, { 233,5367 }, { 234,5367 }, + { 235,5367 }, { 236,5367 }, { 237,5367 }, { 238,5367 }, { 239,5367 }, + { 240,5367 }, { 241,5367 }, { 242,5367 }, { 243,5367 }, { 244,5367 }, + { 245,5367 }, { 246,5367 }, { 247,5367 }, { 248,5367 }, { 249,5367 }, + + { 250,5367 }, { 251,5367 }, { 252,5367 }, { 253,5367 }, { 254,5367 }, + { 255,5367 }, { 256,5367 }, { 0, 19 }, { 0,13149 }, { 1, 0 }, + { 2, 0 }, { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, + { 7, 0 }, { 8, 0 }, { 9, 258 }, { 10,-6156 }, { 11, 258 }, + { 12, 258 }, { 13,-6156 }, { 14, 0 }, { 15, 0 }, { 16, 0 }, + { 17, 0 }, { 18, 0 }, { 19, 0 }, { 20, 0 }, { 21, 0 }, + { 22, 0 }, { 23, 0 }, { 24, 0 }, { 25, 0 }, { 26, 0 }, + { 27, 0 }, { 28, 0 }, { 29, 0 }, { 30, 0 }, { 31, 0 }, + { 32, 258 }, { 33, 0 }, { 34, 0 }, { 35, 0 }, { 36, 0 }, + { 37, 0 }, { 38, 0 }, { 39, 0 }, { 40, 0 }, { 41, 0 }, + + { 42, 0 }, { 43, 0 }, { 44, 0 }, { 45, 516 }, { 46, 0 }, + { 47, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, + { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, + { 57, 0 }, { 58, 0 }, { 59, 0 }, { 60, 0 }, { 61, 0 }, + { 62, 0 }, { 63, 0 }, { 64, 0 }, { 65, 0 }, { 66, 0 }, + { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, + { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, + { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, + { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, + { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, { 91, 0 }, + + { 92, 0 }, { 93, 0 }, { 94, 0 }, { 95, 0 }, { 96, 0 }, + { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, + { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, + { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, + { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, + { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, + { 122, 0 }, { 123, 0 }, { 124, 0 }, { 125, 0 }, { 126, 0 }, + { 127, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, { 141, 0 }, @@ -4734,34 +5790,34 @@ static const struct yy_trans_info yy_transition[33677] = { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, { 256, 0 }, - { 0, 2 }, { 0,14956 }, { 1,-258 }, { 2,-258 }, { 3,-258 }, + { 0, 19 }, { 0,12891 }, { 1,-258 }, { 2,-258 }, { 3,-258 }, { 4,-258 }, { 5,-258 }, { 6,-258 }, { 7,-258 }, { 8,-258 }, - { 9,-258 }, { 0, 0 }, { 11,-258 }, { 12,-258 }, { 0, 0 }, + { 9, 0 }, { 10,-6414 }, { 11, 0 }, { 12, 0 }, { 13,-6414 }, { 14,-258 }, { 15,-258 }, { 16,-258 }, { 17,-258 }, { 18,-258 }, { 19,-258 }, { 20,-258 }, { 21,-258 }, { 22,-258 }, { 23,-258 }, { 24,-258 }, { 25,-258 }, { 26,-258 }, { 27,-258 }, { 28,-258 }, - { 29,-258 }, { 30,-258 }, { 31,-258 }, { 32,-258 }, { 33, 0 }, + { 29,-258 }, { 30,-258 }, { 31,-258 }, { 32, 0 }, { 33,-258 }, - { 34,-258 }, { 35, 0 }, { 36,-258 }, { 37, 0 }, { 38, 0 }, - { 39,-258 }, { 40,-258 }, { 41,-258 }, { 42, 0 }, { 43, 0 }, - { 44,-258 }, { 45, 0 }, { 46,-258 }, { 47, 0 }, { 48,-258 }, + { 34,-258 }, { 35,-258 }, { 36,-258 }, { 37,-258 }, { 38,-258 }, + { 39,-258 }, { 40,-258 }, { 41,-258 }, { 42,-258 }, { 43,-258 }, + { 44,-258 }, { 45, 258 }, { 46,-258 }, { 47,-258 }, { 48,-258 }, { 49,-258 }, { 50,-258 }, { 51,-258 }, { 52,-258 }, { 53,-258 }, { 54,-258 }, { 55,-258 }, { 56,-258 }, { 57,-258 }, { 58,-258 }, - { 59,-258 }, { 60, 0 }, { 61, 0 }, { 62, 0 }, { 63, 0 }, - { 64, 0 }, { 65,-258 }, { 66,-258 }, { 67,-258 }, { 68,-258 }, + { 59,-258 }, { 60,-258 }, { 61,-258 }, { 62,-258 }, { 63,-258 }, + { 64,-258 }, { 65,-258 }, { 66,-258 }, { 67,-258 }, { 68,-258 }, { 69,-258 }, { 70,-258 }, { 71,-258 }, { 72,-258 }, { 73,-258 }, { 74,-258 }, { 75,-258 }, { 76,-258 }, { 77,-258 }, { 78,-258 }, { 79,-258 }, { 80,-258 }, { 81,-258 }, { 82,-258 }, { 83,-258 }, { 84,-258 }, { 85,-258 }, { 86,-258 }, { 87,-258 }, { 88,-258 }, { 89,-258 }, { 90,-258 }, { 91,-258 }, { 92,-258 }, { 93,-258 }, - { 94, 0 }, { 95,-258 }, { 96, 0 }, { 97,-258 }, { 98,-258 }, + { 94,-258 }, { 95,-258 }, { 96,-258 }, { 97,-258 }, { 98,-258 }, { 99,-258 }, { 100,-258 }, { 101,-258 }, { 102,-258 }, { 103,-258 }, { 104,-258 }, { 105,-258 }, { 106,-258 }, { 107,-258 }, { 108,-258 }, { 109,-258 }, { 110,-258 }, { 111,-258 }, { 112,-258 }, { 113,-258 }, { 114,-258 }, { 115,-258 }, { 116,-258 }, { 117,-258 }, { 118,-258 }, { 119,-258 }, { 120,-258 }, { 121,-258 }, { 122,-258 }, { 123,-258 }, - { 124, 0 }, { 125,-258 }, { 126, 0 }, { 127,-258 }, { 128,-258 }, + { 124,-258 }, { 125,-258 }, { 126,-258 }, { 127,-258 }, { 128,-258 }, { 129,-258 }, { 130,-258 }, { 131,-258 }, { 132,-258 }, { 133,-258 }, { 134,-258 }, { 135,-258 }, { 136,-258 }, { 137,-258 }, { 138,-258 }, @@ -4790,2480 +5846,2026 @@ static const struct yy_trans_info yy_transition[33677] = { 239,-258 }, { 240,-258 }, { 241,-258 }, { 242,-258 }, { 243,-258 }, { 244,-258 }, { 245,-258 }, { 246,-258 }, { 247,-258 }, { 248,-258 }, { 249,-258 }, { 250,-258 }, { 251,-258 }, { 252,-258 }, { 253,-258 }, - { 254,-258 }, { 255,-258 }, { 256,-258 }, { 0, 64 }, { 0,14698 }, + { 254,-258 }, { 255,-258 }, { 256,-258 }, { 0, 19 }, { 0,12633 }, + { 1,-516 }, { 2,-516 }, { 3,-516 }, { 4,-516 }, { 5,-516 }, + { 6,-516 }, { 7,-516 }, { 8,-516 }, { 9,-258 }, { 10,-6672 }, + { 11,-258 }, { 12,-258 }, { 13,-6672 }, { 14,-516 }, { 15,-516 }, + { 16,-516 }, { 17,-516 }, { 18,-516 }, { 19,-516 }, { 20,-516 }, + { 21,-516 }, { 22,-516 }, { 23,-516 }, { 24,-516 }, { 25,-516 }, + + { 26,-516 }, { 27,-516 }, { 28,-516 }, { 29,-516 }, { 30,-516 }, + { 31,-516 }, { 32,-258 }, { 33,-516 }, { 34,-516 }, { 35,-516 }, + { 36,-516 }, { 37,-516 }, { 38,-516 }, { 39,-516 }, { 40,-516 }, + { 41,-516 }, { 42,-516 }, { 43,-516 }, { 44,-516 }, { 45,5414 }, + { 46,-516 }, { 47,-516 }, { 48,-516 }, { 49,-516 }, { 50,-516 }, + { 51,-516 }, { 52,-516 }, { 53,-516 }, { 54,-516 }, { 55,-516 }, + { 56,-516 }, { 57,-516 }, { 58,-516 }, { 59,-516 }, { 60,-516 }, + { 61,-516 }, { 62,-516 }, { 63,-516 }, { 64,-516 }, { 65,-516 }, + { 66,-516 }, { 67,-516 }, { 68,-516 }, { 69,-516 }, { 70,-516 }, + { 71,-516 }, { 72,-516 }, { 73,-516 }, { 74,-516 }, { 75,-516 }, + + { 76,-516 }, { 77,-516 }, { 78,-516 }, { 79,-516 }, { 80,-516 }, + { 81,-516 }, { 82,-516 }, { 83,-516 }, { 84,-516 }, { 85,-516 }, + { 86,-516 }, { 87,-516 }, { 88,-516 }, { 89,-516 }, { 90,-516 }, + { 91,-516 }, { 92,-516 }, { 93,-516 }, { 94,-516 }, { 95,-516 }, + { 96,-516 }, { 97,-516 }, { 98,-516 }, { 99,-516 }, { 100,-516 }, + { 101,-516 }, { 102,-516 }, { 103,-516 }, { 104,-516 }, { 105,-516 }, + { 106,-516 }, { 107,-516 }, { 108,-516 }, { 109,-516 }, { 110,-516 }, + { 111,-516 }, { 112,-516 }, { 113,-516 }, { 114,-516 }, { 115,-516 }, + { 116,-516 }, { 117,-516 }, { 118,-516 }, { 119,-516 }, { 120,-516 }, + { 121,-516 }, { 122,-516 }, { 123,-516 }, { 124,-516 }, { 125,-516 }, + + { 126,-516 }, { 127,-516 }, { 128,-516 }, { 129,-516 }, { 130,-516 }, + { 131,-516 }, { 132,-516 }, { 133,-516 }, { 134,-516 }, { 135,-516 }, + { 136,-516 }, { 137,-516 }, { 138,-516 }, { 139,-516 }, { 140,-516 }, + { 141,-516 }, { 142,-516 }, { 143,-516 }, { 144,-516 }, { 145,-516 }, + { 146,-516 }, { 147,-516 }, { 148,-516 }, { 149,-516 }, { 150,-516 }, + { 151,-516 }, { 152,-516 }, { 153,-516 }, { 154,-516 }, { 155,-516 }, + { 156,-516 }, { 157,-516 }, { 158,-516 }, { 159,-516 }, { 160,-516 }, + { 161,-516 }, { 162,-516 }, { 163,-516 }, { 164,-516 }, { 165,-516 }, + { 166,-516 }, { 167,-516 }, { 168,-516 }, { 169,-516 }, { 170,-516 }, + { 171,-516 }, { 172,-516 }, { 173,-516 }, { 174,-516 }, { 175,-516 }, + + { 176,-516 }, { 177,-516 }, { 178,-516 }, { 179,-516 }, { 180,-516 }, + { 181,-516 }, { 182,-516 }, { 183,-516 }, { 184,-516 }, { 185,-516 }, + { 186,-516 }, { 187,-516 }, { 188,-516 }, { 189,-516 }, { 190,-516 }, + { 191,-516 }, { 192,-516 }, { 193,-516 }, { 194,-516 }, { 195,-516 }, + { 196,-516 }, { 197,-516 }, { 198,-516 }, { 199,-516 }, { 200,-516 }, + { 201,-516 }, { 202,-516 }, { 203,-516 }, { 204,-516 }, { 205,-516 }, + { 206,-516 }, { 207,-516 }, { 208,-516 }, { 209,-516 }, { 210,-516 }, + { 211,-516 }, { 212,-516 }, { 213,-516 }, { 214,-516 }, { 215,-516 }, + { 216,-516 }, { 217,-516 }, { 218,-516 }, { 219,-516 }, { 220,-516 }, + { 221,-516 }, { 222,-516 }, { 223,-516 }, { 224,-516 }, { 225,-516 }, + + { 226,-516 }, { 227,-516 }, { 228,-516 }, { 229,-516 }, { 230,-516 }, + { 231,-516 }, { 232,-516 }, { 233,-516 }, { 234,-516 }, { 235,-516 }, + { 236,-516 }, { 237,-516 }, { 238,-516 }, { 239,-516 }, { 240,-516 }, + { 241,-516 }, { 242,-516 }, { 243,-516 }, { 244,-516 }, { 245,-516 }, + { 246,-516 }, { 247,-516 }, { 248,-516 }, { 249,-516 }, { 250,-516 }, + { 251,-516 }, { 252,-516 }, { 253,-516 }, { 254,-516 }, { 255,-516 }, + { 256,-516 }, { 0, 30 }, { 0,12375 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, + { 0,12367 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0,12344 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48,-17148 }, { 49,-17148 }, { 50,-17148 }, { 51,-17148 }, { 52,-17148 }, + { 53,-17148 }, { 54,-17148 }, { 55,-17148 }, { 48,5406 }, { 49,5406 }, + { 50,5406 }, { 51,5406 }, { 52,5406 }, { 53,5406 }, { 54,5406 }, + { 55,5406 }, { 56,5406 }, { 57,5406 }, { 0, 0 }, { 0, 0 }, + + { 0, 31 }, { 0,12306 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,5406 }, { 66,5406 }, { 67,5406 }, { 68,5406 }, { 69,5406 }, + { 70,5406 }, { 48,5406 }, { 49,5406 }, { 50,5406 }, { 51,5406 }, + { 52,5406 }, { 53,5406 }, { 54,5406 }, { 55,5406 }, { 56,5406 }, + { 57,5406 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,5406 }, { 66,5406 }, + { 67,5406 }, { 68,5406 }, { 69,5406 }, { 70,5406 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 97,5406 }, { 98,5406 }, { 99,5406 }, + { 100,5406 }, { 101,5406 }, { 102,5406 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-17195 }, + + { 49,-17195 }, { 50,-17195 }, { 51,-17195 }, { 52,-17195 }, { 53,-17195 }, + { 54,-17195 }, { 55,-17195 }, { 56,-17195 }, { 57,-17195 }, { 0, 0 }, + { 97,5406 }, { 98,5406 }, { 99,5406 }, { 100,5406 }, { 101,5406 }, + { 102,5406 }, { 65,-17195 }, { 66,-17195 }, { 67,-17195 }, { 68,-17195 }, + { 69,-17195 }, { 70,-17195 }, { 0, 37 }, { 0,12234 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, - { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, - { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 257 }, - { 66, 257 }, { 67, 257 }, { 68, 257 }, { 69, 514 }, { 70, 257 }, - { 71, 257 }, { 72, 257 }, { 73, 257 }, { 74, 257 }, { 75, 257 }, - - { 76, 257 }, { 77, 257 }, { 78, 257 }, { 79, 257 }, { 80, 257 }, - { 81, 257 }, { 82, 257 }, { 83, 257 }, { 84, 257 }, { 85, 257 }, - { 86, 257 }, { 87, 257 }, { 88, 257 }, { 89, 257 }, { 90, 257 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95, 771 }, - { 0, 0 }, { 97, 257 }, { 98, 257 }, { 99, 257 }, { 100, 257 }, - { 101, 514 }, { 102, 257 }, { 103, 257 }, { 104, 257 }, { 105, 257 }, - { 106, 257 }, { 107, 257 }, { 108, 257 }, { 109, 257 }, { 110, 257 }, - { 111, 257 }, { 112, 257 }, { 113, 257 }, { 114, 257 }, { 115, 257 }, - { 116, 257 }, { 117, 257 }, { 118, 257 }, { 119, 257 }, { 120, 257 }, - { 121, 257 }, { 122, 257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 128, 257 }, { 129, 257 }, { 130, 257 }, - { 131, 257 }, { 132, 257 }, { 133, 257 }, { 134, 257 }, { 135, 257 }, - { 136, 257 }, { 137, 257 }, { 138, 257 }, { 139, 257 }, { 140, 257 }, - { 141, 257 }, { 142, 257 }, { 143, 257 }, { 144, 257 }, { 145, 257 }, - { 146, 257 }, { 147, 257 }, { 148, 257 }, { 149, 257 }, { 150, 257 }, - { 151, 257 }, { 152, 257 }, { 153, 257 }, { 154, 257 }, { 155, 257 }, - { 156, 257 }, { 157, 257 }, { 158, 257 }, { 159, 257 }, { 160, 257 }, - { 161, 257 }, { 162, 257 }, { 163, 257 }, { 164, 257 }, { 165, 257 }, - { 166, 257 }, { 167, 257 }, { 168, 257 }, { 169, 257 }, { 170, 257 }, - { 171, 257 }, { 172, 257 }, { 173, 257 }, { 174, 257 }, { 175, 257 }, - - { 176, 257 }, { 177, 257 }, { 178, 257 }, { 179, 257 }, { 180, 257 }, - { 181, 257 }, { 182, 257 }, { 183, 257 }, { 184, 257 }, { 185, 257 }, - { 186, 257 }, { 187, 257 }, { 188, 257 }, { 189, 257 }, { 190, 257 }, - { 191, 257 }, { 192, 257 }, { 193, 257 }, { 194, 257 }, { 195, 257 }, - { 196, 257 }, { 197, 257 }, { 198, 257 }, { 199, 257 }, { 200, 257 }, - { 201, 257 }, { 202, 257 }, { 203, 257 }, { 204, 257 }, { 205, 257 }, - { 206, 257 }, { 207, 257 }, { 208, 257 }, { 209, 257 }, { 210, 257 }, - { 211, 257 }, { 212, 257 }, { 213, 257 }, { 214, 257 }, { 215, 257 }, - { 216, 257 }, { 217, 257 }, { 218, 257 }, { 219, 257 }, { 220, 257 }, - { 221, 257 }, { 222, 257 }, { 223, 257 }, { 224, 257 }, { 225, 257 }, - - { 226, 257 }, { 227, 257 }, { 228, 257 }, { 229, 257 }, { 230, 257 }, - { 231, 257 }, { 232, 257 }, { 233, 257 }, { 234, 257 }, { 235, 257 }, - { 236, 257 }, { 237, 257 }, { 238, 257 }, { 239, 257 }, { 240, 257 }, - { 241, 257 }, { 242, 257 }, { 243, 257 }, { 244, 257 }, { 245, 257 }, - { 246, 257 }, { 247, 257 }, { 248, 257 }, { 249, 257 }, { 250, 257 }, - { 251, 257 }, { 252, 257 }, { 253, 257 }, { 254, 257 }, { 255, 257 }, - { 0, 69 }, { 0,14441 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 36,3883 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,3883 }, - { 49,3883 }, { 50,3883 }, { 51,3883 }, { 52,3883 }, { 53,3883 }, - { 54,3883 }, { 55,3883 }, { 56,3883 }, { 57,3883 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65,3883 }, { 66,3883 }, { 67,3883 }, { 68,3883 }, - - { 69,3883 }, { 70,3883 }, { 71,3883 }, { 72,3883 }, { 73,3883 }, - { 74,3883 }, { 75,3883 }, { 76,3883 }, { 77,3883 }, { 78,3883 }, - { 79,3883 }, { 80,3883 }, { 81,3883 }, { 82,3883 }, { 83,3883 }, - { 84,3883 }, { 85,3883 }, { 86,3883 }, { 87,3883 }, { 88,3883 }, - { 89,3883 }, { 90,3883 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95,3883 }, { 0, 0 }, { 97,3883 }, { 98,3883 }, - { 99,3883 }, { 100,3883 }, { 101,3883 }, { 102,3883 }, { 103,3883 }, - { 104,3883 }, { 105,3883 }, { 106,3883 }, { 107,3883 }, { 108,3883 }, - { 109,3883 }, { 110,3883 }, { 111,3883 }, { 112,3883 }, { 113,3883 }, - { 114,3883 }, { 115,3883 }, { 116,3883 }, { 117,3883 }, { 118,3883 }, - - { 119,3883 }, { 120,3883 }, { 121,3883 }, { 122,3883 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,3883 }, - { 129,3883 }, { 130,3883 }, { 131,3883 }, { 132,3883 }, { 133,3883 }, - { 134,3883 }, { 135,3883 }, { 136,3883 }, { 137,3883 }, { 138,3883 }, - { 139,3883 }, { 140,3883 }, { 141,3883 }, { 142,3883 }, { 143,3883 }, - { 144,3883 }, { 145,3883 }, { 146,3883 }, { 147,3883 }, { 148,3883 }, - { 149,3883 }, { 150,3883 }, { 151,3883 }, { 152,3883 }, { 153,3883 }, - { 154,3883 }, { 155,3883 }, { 156,3883 }, { 157,3883 }, { 158,3883 }, - { 159,3883 }, { 160,3883 }, { 161,3883 }, { 162,3883 }, { 163,3883 }, - { 164,3883 }, { 165,3883 }, { 166,3883 }, { 167,3883 }, { 168,3883 }, - - { 169,3883 }, { 170,3883 }, { 171,3883 }, { 172,3883 }, { 173,3883 }, - { 174,3883 }, { 175,3883 }, { 176,3883 }, { 177,3883 }, { 178,3883 }, - { 179,3883 }, { 180,3883 }, { 181,3883 }, { 182,3883 }, { 183,3883 }, - { 184,3883 }, { 185,3883 }, { 186,3883 }, { 187,3883 }, { 188,3883 }, - { 189,3883 }, { 190,3883 }, { 191,3883 }, { 192,3883 }, { 193,3883 }, - { 194,3883 }, { 195,3883 }, { 196,3883 }, { 197,3883 }, { 198,3883 }, - { 199,3883 }, { 200,3883 }, { 201,3883 }, { 202,3883 }, { 203,3883 }, - { 204,3883 }, { 205,3883 }, { 206,3883 }, { 207,3883 }, { 208,3883 }, - { 209,3883 }, { 210,3883 }, { 211,3883 }, { 212,3883 }, { 213,3883 }, - { 214,3883 }, { 215,3883 }, { 216,3883 }, { 217,3883 }, { 218,3883 }, - - { 219,3883 }, { 220,3883 }, { 221,3883 }, { 222,3883 }, { 223,3883 }, - { 224,3883 }, { 225,3883 }, { 226,3883 }, { 227,3883 }, { 228,3883 }, - { 229,3883 }, { 230,3883 }, { 231,3883 }, { 232,3883 }, { 233,3883 }, - { 234,3883 }, { 235,3883 }, { 236,3883 }, { 237,3883 }, { 238,3883 }, - { 239,3883 }, { 240,3883 }, { 241,3883 }, { 242,3883 }, { 243,3883 }, - { 244,3883 }, { 245,3883 }, { 246,3883 }, { 247,3883 }, { 248,3883 }, - { 249,3883 }, { 250,3883 }, { 251,3883 }, { 252,3883 }, { 253,3883 }, - { 254,3883 }, { 255,3883 }, { 0, 69 }, { 0,14184 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,3626 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 43,1574 }, { 0, 0 }, { 45,1574 }, { 0, 0 }, - { 0, 0 }, { 48,3883 }, { 49,3883 }, { 50,3883 }, { 51,3883 }, - { 52,3883 }, { 53,3883 }, { 54,3883 }, { 55,3883 }, { 56,3883 }, - { 57,3883 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,3626 }, { 66,3626 }, - { 67,3626 }, { 68,3626 }, { 69,3626 }, { 70,3626 }, { 71,3626 }, - { 72,3626 }, { 73,3626 }, { 74,3626 }, { 75,3626 }, { 76,3626 }, - { 77,3626 }, { 78,3626 }, { 79,3626 }, { 80,3626 }, { 81,3626 }, - { 82,3626 }, { 83,3626 }, { 84,3626 }, { 85,3626 }, { 86,3626 }, - { 87,3626 }, { 88,3626 }, { 89,3626 }, { 90,3626 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,3626 }, { 0, 0 }, - { 97,3626 }, { 98,3626 }, { 99,3626 }, { 100,3626 }, { 101,3626 }, - { 102,3626 }, { 103,3626 }, { 104,3626 }, { 105,3626 }, { 106,3626 }, - { 107,3626 }, { 108,3626 }, { 109,3626 }, { 110,3626 }, { 111,3626 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,-17195 }, { 98,-17195 }, - { 112,3626 }, { 113,3626 }, { 114,3626 }, { 115,3626 }, { 116,3626 }, - { 117,3626 }, { 118,3626 }, { 119,3626 }, { 120,3626 }, { 121,3626 }, - { 122,3626 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,3626 }, { 129,3626 }, { 130,3626 }, { 131,3626 }, - { 132,3626 }, { 133,3626 }, { 134,3626 }, { 135,3626 }, { 136,3626 }, - { 137,3626 }, { 138,3626 }, { 139,3626 }, { 140,3626 }, { 141,3626 }, - { 142,3626 }, { 143,3626 }, { 144,3626 }, { 145,3626 }, { 146,3626 }, - { 147,3626 }, { 148,3626 }, { 149,3626 }, { 150,3626 }, { 151,3626 }, - { 152,3626 }, { 153,3626 }, { 154,3626 }, { 155,3626 }, { 156,3626 }, - { 157,3626 }, { 158,3626 }, { 159,3626 }, { 160,3626 }, { 161,3626 }, + { 99,-17195 }, { 100,-17195 }, { 101,-17195 }, { 102,-17195 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-17328 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, + { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, + { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 0 }, { 66, 0 }, + { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, + { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, - { 162,3626 }, { 163,3626 }, { 164,3626 }, { 165,3626 }, { 166,3626 }, - { 167,3626 }, { 168,3626 }, { 169,3626 }, { 170,3626 }, { 171,3626 }, - { 172,3626 }, { 173,3626 }, { 174,3626 }, { 175,3626 }, { 176,3626 }, - { 177,3626 }, { 178,3626 }, { 179,3626 }, { 180,3626 }, { 181,3626 }, - { 182,3626 }, { 183,3626 }, { 184,3626 }, { 185,3626 }, { 186,3626 }, - { 187,3626 }, { 188,3626 }, { 189,3626 }, { 190,3626 }, { 191,3626 }, - { 192,3626 }, { 193,3626 }, { 194,3626 }, { 195,3626 }, { 196,3626 }, - { 197,3626 }, { 198,3626 }, { 199,3626 }, { 200,3626 }, { 201,3626 }, - { 202,3626 }, { 203,3626 }, { 204,3626 }, { 205,3626 }, { 206,3626 }, - { 207,3626 }, { 208,3626 }, { 209,3626 }, { 210,3626 }, { 211,3626 }, - - { 212,3626 }, { 213,3626 }, { 214,3626 }, { 215,3626 }, { 216,3626 }, - { 217,3626 }, { 218,3626 }, { 219,3626 }, { 220,3626 }, { 221,3626 }, - { 222,3626 }, { 223,3626 }, { 224,3626 }, { 225,3626 }, { 226,3626 }, - { 227,3626 }, { 228,3626 }, { 229,3626 }, { 230,3626 }, { 231,3626 }, - { 232,3626 }, { 233,3626 }, { 234,3626 }, { 235,3626 }, { 236,3626 }, - { 237,3626 }, { 238,3626 }, { 239,3626 }, { 240,3626 }, { 241,3626 }, - { 242,3626 }, { 243,3626 }, { 244,3626 }, { 245,3626 }, { 246,3626 }, - { 247,3626 }, { 248,3626 }, { 249,3626 }, { 250,3626 }, { 251,3626 }, - { 252,3626 }, { 253,3626 }, { 254,3626 }, { 255,3626 }, { 0, 69 }, - { 0,13927 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 36,3369 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,3883 }, { 49,3883 }, - { 50,3883 }, { 51,3883 }, { 52,3883 }, { 53,3883 }, { 54,3883 }, - - { 55,3883 }, { 56,3883 }, { 57,3883 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,3369 }, { 66,3369 }, { 67,3369 }, { 68,3369 }, { 69,3369 }, - { 70,3369 }, { 71,3369 }, { 72,3369 }, { 73,3369 }, { 74,3369 }, - { 75,3369 }, { 76,3369 }, { 77,3369 }, { 78,3369 }, { 79,3369 }, - { 80,3369 }, { 81,3369 }, { 82,3369 }, { 83,3369 }, { 84,3369 }, - { 85,3369 }, { 86,3369 }, { 87,3369 }, { 88,3369 }, { 89,3369 }, - { 90,3369 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 95,3369 }, { 0, 0 }, { 97,3369 }, { 98,3369 }, { 99,3369 }, - { 100,3369 }, { 101,3369 }, { 102,3369 }, { 103,3369 }, { 104,3369 }, - - { 105,3369 }, { 106,3369 }, { 107,3369 }, { 108,3369 }, { 109,3369 }, - { 110,3369 }, { 111,3369 }, { 112,3369 }, { 113,3369 }, { 114,3369 }, - { 115,3369 }, { 116,3369 }, { 117,3369 }, { 118,3369 }, { 119,3369 }, - { 120,3369 }, { 121,3369 }, { 122,3369 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,3369 }, { 129,3369 }, - { 130,3369 }, { 131,3369 }, { 132,3369 }, { 133,3369 }, { 134,3369 }, - { 135,3369 }, { 136,3369 }, { 137,3369 }, { 138,3369 }, { 139,3369 }, - { 140,3369 }, { 141,3369 }, { 142,3369 }, { 143,3369 }, { 144,3369 }, - { 145,3369 }, { 146,3369 }, { 147,3369 }, { 148,3369 }, { 149,3369 }, - { 150,3369 }, { 151,3369 }, { 152,3369 }, { 153,3369 }, { 154,3369 }, + { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, + { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, + { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95, 0 }, { 0, 0 }, + { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, + { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, + { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, + { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, + { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, + { 122, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 155,3369 }, { 156,3369 }, { 157,3369 }, { 158,3369 }, { 159,3369 }, - { 160,3369 }, { 161,3369 }, { 162,3369 }, { 163,3369 }, { 164,3369 }, - { 165,3369 }, { 166,3369 }, { 167,3369 }, { 168,3369 }, { 169,3369 }, - { 170,3369 }, { 171,3369 }, { 172,3369 }, { 173,3369 }, { 174,3369 }, - { 175,3369 }, { 176,3369 }, { 177,3369 }, { 178,3369 }, { 179,3369 }, - { 180,3369 }, { 181,3369 }, { 182,3369 }, { 183,3369 }, { 184,3369 }, - { 185,3369 }, { 186,3369 }, { 187,3369 }, { 188,3369 }, { 189,3369 }, - { 190,3369 }, { 191,3369 }, { 192,3369 }, { 193,3369 }, { 194,3369 }, - { 195,3369 }, { 196,3369 }, { 197,3369 }, { 198,3369 }, { 199,3369 }, - { 200,3369 }, { 201,3369 }, { 202,3369 }, { 203,3369 }, { 204,3369 }, + { 0, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, + { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, + { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, { 141, 0 }, + { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, + { 147, 0 }, { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, + { 152, 0 }, { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, + { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, { 161, 0 }, + { 162, 0 }, { 163, 0 }, { 164, 0 }, { 165, 0 }, { 166, 0 }, + { 167, 0 }, { 168, 0 }, { 169, 0 }, { 170, 0 }, { 171, 0 }, + { 172, 0 }, { 173, 0 }, { 174, 0 }, { 175, 0 }, { 176, 0 }, - { 205,3369 }, { 206,3369 }, { 207,3369 }, { 208,3369 }, { 209,3369 }, - { 210,3369 }, { 211,3369 }, { 212,3369 }, { 213,3369 }, { 214,3369 }, - { 215,3369 }, { 216,3369 }, { 217,3369 }, { 218,3369 }, { 219,3369 }, - { 220,3369 }, { 221,3369 }, { 222,3369 }, { 223,3369 }, { 224,3369 }, - { 225,3369 }, { 226,3369 }, { 227,3369 }, { 228,3369 }, { 229,3369 }, - { 230,3369 }, { 231,3369 }, { 232,3369 }, { 233,3369 }, { 234,3369 }, - { 235,3369 }, { 236,3369 }, { 237,3369 }, { 238,3369 }, { 239,3369 }, - { 240,3369 }, { 241,3369 }, { 242,3369 }, { 243,3369 }, { 244,3369 }, - { 245,3369 }, { 246,3369 }, { 247,3369 }, { 248,3369 }, { 249,3369 }, - { 250,3369 }, { 251,3369 }, { 252,3369 }, { 253,3369 }, { 254,3369 }, - - { 255,3369 }, { 0, 3 }, { 0,13670 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 64 }, { 0,13638 }, - { 33, 0 }, { 0, 0 }, { 35, 0 }, { 0, 0 }, { 37, 0 }, - { 38, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 42, 0 }, - { 43, 0 }, { 0, 0 }, { 45, 0 }, { 0, 0 }, { 47, 0 }, + { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, + { 182, 0 }, { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, + { 187, 0 }, { 188, 0 }, { 189, 0 }, { 190, 0 }, { 191, 0 }, + { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, + { 197, 0 }, { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, + { 202, 0 }, { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, + { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, { 211, 0 }, + { 212, 0 }, { 213, 0 }, { 214, 0 }, { 215, 0 }, { 216, 0 }, + { 217, 0 }, { 218, 0 }, { 219, 0 }, { 220, 0 }, { 221, 0 }, + { 222, 0 }, { 223, 0 }, { 224, 0 }, { 225, 0 }, { 226, 0 }, + { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, + { 232, 0 }, { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, + { 237, 0 }, { 238, 0 }, { 239, 0 }, { 240, 0 }, { 241, 0 }, + { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, + { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, + { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, { 0, 28 }, + { 0,11977 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 60, 0 }, { 61, 0 }, { 62, 0 }, - { 63, 0 }, { 64, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48,3851 }, { 49,3851 }, { 50,3851 }, - { 51,3851 }, { 52,3851 }, { 53,3851 }, { 54,3851 }, { 55,3851 }, - { 56,3851 }, { 57,3851 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 94, 0 }, { 0, 0 }, { 96, 0 }, { 65,-803 }, - - { 66,-803 }, { 67,-803 }, { 68,-803 }, { 69,-546 }, { 70,-803 }, - { 71,-803 }, { 72,-803 }, { 73,-803 }, { 74,-803 }, { 75,-803 }, - { 76,-803 }, { 77,-803 }, { 78,-803 }, { 79,-803 }, { 80,-803 }, - { 81,-803 }, { 82,-803 }, { 83,-803 }, { 84,-803 }, { 85,-803 }, - { 86,-803 }, { 87,-803 }, { 88,-803 }, { 89,-803 }, { 90,-803 }, - { 0, 0 }, { 124, 0 }, { 0, 0 }, { 126, 0 }, { 95,4108 }, - { 0, 0 }, { 97,-803 }, { 98,-803 }, { 99,-803 }, { 100,-803 }, - { 101,-546 }, { 102,-803 }, { 103,-803 }, { 104,-803 }, { 105,-803 }, - { 106,-803 }, { 107,-803 }, { 108,-803 }, { 109,-803 }, { 110,-803 }, - { 111,-803 }, { 112,-803 }, { 113,-803 }, { 114,-803 }, { 115,-803 }, - - { 116,-803 }, { 117,-803 }, { 118,-803 }, { 119,-803 }, { 120,-803 }, - { 121,-803 }, { 122,-803 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 128,-803 }, { 129,-803 }, { 130,-803 }, - { 131,-803 }, { 132,-803 }, { 133,-803 }, { 134,-803 }, { 135,-803 }, - { 136,-803 }, { 137,-803 }, { 138,-803 }, { 139,-803 }, { 140,-803 }, - { 141,-803 }, { 142,-803 }, { 143,-803 }, { 144,-803 }, { 145,-803 }, - { 146,-803 }, { 147,-803 }, { 148,-803 }, { 149,-803 }, { 150,-803 }, - { 151,-803 }, { 152,-803 }, { 153,-803 }, { 154,-803 }, { 155,-803 }, - { 156,-803 }, { 157,-803 }, { 158,-803 }, { 159,-803 }, { 160,-803 }, - { 161,-803 }, { 162,-803 }, { 163,-803 }, { 164,-803 }, { 165,-803 }, - { 166,-803 }, { 167,-803 }, { 168,-803 }, { 169,-803 }, { 170,-803 }, - { 171,-803 }, { 172,-803 }, { 173,-803 }, { 174,-803 }, { 175,-803 }, - { 176,-803 }, { 177,-803 }, { 178,-803 }, { 179,-803 }, { 180,-803 }, - { 181,-803 }, { 182,-803 }, { 183,-803 }, { 184,-803 }, { 185,-803 }, - { 186,-803 }, { 187,-803 }, { 188,-803 }, { 189,-803 }, { 190,-803 }, - { 191,-803 }, { 192,-803 }, { 193,-803 }, { 194,-803 }, { 195,-803 }, - { 196,-803 }, { 197,-803 }, { 198,-803 }, { 199,-803 }, { 200,-803 }, - { 201,-803 }, { 202,-803 }, { 203,-803 }, { 204,-803 }, { 205,-803 }, - { 206,-803 }, { 207,-803 }, { 208,-803 }, { 209,-803 }, { 210,-803 }, - { 211,-803 }, { 212,-803 }, { 213,-803 }, { 214,-803 }, { 215,-803 }, - - { 216,-803 }, { 217,-803 }, { 218,-803 }, { 219,-803 }, { 220,-803 }, - { 221,-803 }, { 222,-803 }, { 223,-803 }, { 224,-803 }, { 225,-803 }, - { 226,-803 }, { 227,-803 }, { 228,-803 }, { 229,-803 }, { 230,-803 }, - { 231,-803 }, { 232,-803 }, { 233,-803 }, { 234,-803 }, { 235,-803 }, - { 236,-803 }, { 237,-803 }, { 238,-803 }, { 239,-803 }, { 240,-803 }, - { 241,-803 }, { 242,-803 }, { 243,-803 }, { 244,-803 }, { 245,-803 }, - { 246,-803 }, { 247,-803 }, { 248,-803 }, { 249,-803 }, { 250,-803 }, - { 251,-803 }, { 252,-803 }, { 253,-803 }, { 254,-803 }, { 255,-803 }, - { 0, 68 }, { 0,13381 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0,11954 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,5077 }, { 49,5077 }, + { 50,5077 }, { 51,5077 }, { 52,5077 }, { 53,5077 }, { 54,5077 }, + { 55,5077 }, { 56,5077 }, { 57,5077 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,5077 }, { 66,5077 }, { 67,5077 }, { 68,5077 }, { 69,5077 }, + + { 70,5077 }, { 48,5077 }, { 49,5077 }, { 50,5077 }, { 51,5077 }, + { 52,5077 }, { 53,5077 }, { 54,5077 }, { 55,5077 }, { 56,5077 }, + { 57,5077 }, { 0, 69 }, { 0,11895 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,5077 }, { 66,5077 }, + { 67,5077 }, { 68,5077 }, { 69,5077 }, { 70,5077 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 97,5077 }, { 98,5077 }, { 99,5077 }, + { 100,5077 }, { 101,5077 }, { 102,5077 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 36, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, - { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, - { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36, 0 }, { 0, 0 }, + { 97,5077 }, { 98,5077 }, { 99,5077 }, { 100,5077 }, { 101,5077 }, + { 102,5077 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, + { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, - { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, { 73, 0 }, - { 74, 0 }, { 75, 0 }, { 76, 0 }, { 77, 0 }, { 78, 0 }, - { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, { 83, 0 }, - { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, { 88, 0 }, - { 89, 0 }, { 90, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95, 0 }, { 0, 0 }, { 97, 0 }, { 98, 0 }, - { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103, 0 }, - { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, { 108, 0 }, + { 0, 0 }, { 0, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, + { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, + { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, { 77, 0 }, + { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, + { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, - { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, { 113, 0 }, - { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, { 118, 0 }, - { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128, 0 }, - { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, { 133, 0 }, - { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, { 138, 0 }, - { 139, 0 }, { 140, 0 }, { 141, 0 }, { 142, 0 }, { 143, 0 }, - { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, { 148, 0 }, - { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, { 153, 0 }, - { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, { 158, 0 }, + { 88, 0 }, { 89, 0 }, { 90, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 95, 0 }, { 0, 0 }, { 97, 0 }, + { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, + { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, + { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, + { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, + { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, + { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, - { 159, 0 }, { 160, 0 }, { 161, 0 }, { 162, 0 }, { 163, 0 }, - { 164, 0 }, { 165, 0 }, { 166, 0 }, { 167, 0 }, { 168, 0 }, - { 169, 0 }, { 170, 0 }, { 171, 0 }, { 172, 0 }, { 173, 0 }, - { 174, 0 }, { 175, 0 }, { 176, 0 }, { 177, 0 }, { 178, 0 }, - { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, { 183, 0 }, - { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, { 188, 0 }, - { 189, 0 }, { 190, 0 }, { 191, 0 }, { 192, 0 }, { 193, 0 }, - { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, { 198, 0 }, - { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, { 203, 0 }, - { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, { 208, 0 }, + { 138, 0 }, { 139, 0 }, { 140, 0 }, { 141, 0 }, { 142, 0 }, + { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, + { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, + { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, + { 158, 0 }, { 159, 0 }, { 160, 0 }, { 161, 0 }, { 162, 0 }, + { 163, 0 }, { 164, 0 }, { 165, 0 }, { 166, 0 }, { 167, 0 }, + { 168, 0 }, { 169, 0 }, { 170, 0 }, { 171, 0 }, { 172, 0 }, + { 173, 0 }, { 174, 0 }, { 175, 0 }, { 176, 0 }, { 177, 0 }, + { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, + { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, - { 209, 0 }, { 210, 0 }, { 211, 0 }, { 212, 0 }, { 213, 0 }, - { 214, 0 }, { 215, 0 }, { 216, 0 }, { 217, 0 }, { 218, 0 }, - { 219, 0 }, { 220, 0 }, { 221, 0 }, { 222, 0 }, { 223, 0 }, - { 224, 0 }, { 225, 0 }, { 226, 0 }, { 227, 0 }, { 228, 0 }, - { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, { 233, 0 }, - { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, { 238, 0 }, - { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, { 243, 0 }, - { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, - { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, - { 254, 0 }, { 255, 0 }, { 0, 60 }, { 0,13124 }, { 0, 0 }, + { 188, 0 }, { 189, 0 }, { 190, 0 }, { 191, 0 }, { 192, 0 }, + { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, + { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, + { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, + { 208, 0 }, { 209, 0 }, { 210, 0 }, { 211, 0 }, { 212, 0 }, + { 213, 0 }, { 214, 0 }, { 215, 0 }, { 216, 0 }, { 217, 0 }, + { 218, 0 }, { 219, 0 }, { 220, 0 }, { 221, 0 }, { 222, 0 }, + { 223, 0 }, { 224, 0 }, { 225, 0 }, { 226, 0 }, { 227, 0 }, + { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, + { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, + { 238, 0 }, { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, + { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, + { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, + { 253, 0 }, { 254, 0 }, { 255, 0 }, { 0, 66 }, { 0,11638 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-257 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 36,-257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50,-257 }, { 51,-257 }, - - { 52,-257 }, { 53,-257 }, { 54,-257 }, { 55,-257 }, { 56,-257 }, - { 57,-257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-257 }, { 66,-257 }, - { 67,-257 }, { 68,-257 }, { 69,-257 }, { 70,-257 }, { 71,-257 }, - { 72,-257 }, { 73,-257 }, { 74,-257 }, { 75,-257 }, { 76,-257 }, - { 77,-257 }, { 78,-257 }, { 79,-257 }, { 80,-257 }, { 81,-257 }, - { 82,-257 }, { 83,-257 }, { 84,-257 }, { 85,-257 }, { 86,-257 }, - { 87,-257 }, { 88,-257 }, { 89,-257 }, { 90,-257 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,3851 }, { 0, 0 }, - { 97,-257 }, { 98,-257 }, { 99,-257 }, { 100,-257 }, { 101,-257 }, + { 0, 0 }, { 0, 0 }, { 48,4820 }, { 49,4820 }, { 50,4820 }, + { 51,4820 }, { 52,4820 }, { 53,4820 }, { 54,4820 }, { 55,4820 }, + { 56,4820 }, { 57,4820 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,5077 }, + { 66,5077 }, { 67,5077 }, { 68,5077 }, { 69,5077 }, { 70,5077 }, + { 71,5077 }, { 72,5077 }, { 73,5077 }, { 74,5077 }, { 75,5077 }, + { 76,5077 }, { 77,5077 }, { 78,5077 }, { 79,5077 }, { 80,5077 }, + + { 81,5077 }, { 82,5077 }, { 83,5077 }, { 84,5077 }, { 85,5077 }, + { 86,5077 }, { 87,5077 }, { 88,5077 }, { 89,5077 }, { 90,5077 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,5334 }, + { 0, 0 }, { 97,5077 }, { 98,5077 }, { 99,5077 }, { 100,5077 }, + { 101,5077 }, { 102,5077 }, { 103,5077 }, { 104,5077 }, { 105,5077 }, + { 106,5077 }, { 107,5077 }, { 108,5077 }, { 109,5077 }, { 110,5077 }, + { 111,5077 }, { 112,5077 }, { 113,5077 }, { 114,5077 }, { 115,5077 }, + { 116,5077 }, { 117,5077 }, { 118,5077 }, { 119,5077 }, { 120,5077 }, + { 121,5077 }, { 122,5077 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128,5077 }, { 129,5077 }, { 130,5077 }, + + { 131,5077 }, { 132,5077 }, { 133,5077 }, { 134,5077 }, { 135,5077 }, + { 136,5077 }, { 137,5077 }, { 138,5077 }, { 139,5077 }, { 140,5077 }, + { 141,5077 }, { 142,5077 }, { 143,5077 }, { 144,5077 }, { 145,5077 }, + { 146,5077 }, { 147,5077 }, { 148,5077 }, { 149,5077 }, { 150,5077 }, + { 151,5077 }, { 152,5077 }, { 153,5077 }, { 154,5077 }, { 155,5077 }, + { 156,5077 }, { 157,5077 }, { 158,5077 }, { 159,5077 }, { 160,5077 }, + { 161,5077 }, { 162,5077 }, { 163,5077 }, { 164,5077 }, { 165,5077 }, + { 166,5077 }, { 167,5077 }, { 168,5077 }, { 169,5077 }, { 170,5077 }, + { 171,5077 }, { 172,5077 }, { 173,5077 }, { 174,5077 }, { 175,5077 }, + { 176,5077 }, { 177,5077 }, { 178,5077 }, { 179,5077 }, { 180,5077 }, + + { 181,5077 }, { 182,5077 }, { 183,5077 }, { 184,5077 }, { 185,5077 }, + { 186,5077 }, { 187,5077 }, { 188,5077 }, { 189,5077 }, { 190,5077 }, + { 191,5077 }, { 192,5077 }, { 193,5077 }, { 194,5077 }, { 195,5077 }, + { 196,5077 }, { 197,5077 }, { 198,5077 }, { 199,5077 }, { 200,5077 }, + { 201,5077 }, { 202,5077 }, { 203,5077 }, { 204,5077 }, { 205,5077 }, + { 206,5077 }, { 207,5077 }, { 208,5077 }, { 209,5077 }, { 210,5077 }, + { 211,5077 }, { 212,5077 }, { 213,5077 }, { 214,5077 }, { 215,5077 }, + { 216,5077 }, { 217,5077 }, { 218,5077 }, { 219,5077 }, { 220,5077 }, + { 221,5077 }, { 222,5077 }, { 223,5077 }, { 224,5077 }, { 225,5077 }, + { 226,5077 }, { 227,5077 }, { 228,5077 }, { 229,5077 }, { 230,5077 }, + + { 231,5077 }, { 232,5077 }, { 233,5077 }, { 234,5077 }, { 235,5077 }, + { 236,5077 }, { 237,5077 }, { 238,5077 }, { 239,5077 }, { 240,5077 }, + { 241,5077 }, { 242,5077 }, { 243,5077 }, { 244,5077 }, { 245,5077 }, + { 246,5077 }, { 247,5077 }, { 248,5077 }, { 249,5077 }, { 250,5077 }, + { 251,5077 }, { 252,5077 }, { 253,5077 }, { 254,5077 }, { 255,5077 }, + { 0, 64 }, { 0,11381 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 36,-514 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, + { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, + { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65,5334 }, { 66,5334 }, { 67,5334 }, { 68,5334 }, + { 69,5591 }, { 70,5334 }, { 71,5334 }, { 72,5334 }, { 73,5334 }, - { 102,-257 }, { 103,-257 }, { 104,-257 }, { 105,-257 }, { 106,-257 }, - { 107,-257 }, { 108,-257 }, { 109,-257 }, { 110,-257 }, { 111,-257 }, - { 112,-257 }, { 113,-257 }, { 114,-257 }, { 115,-257 }, { 116,-257 }, - { 117,-257 }, { 118,-257 }, { 119,-257 }, { 120,-257 }, { 121,-257 }, - { 122,-257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,-257 }, { 129,-257 }, { 130,-257 }, { 131,-257 }, - { 132,-257 }, { 133,-257 }, { 134,-257 }, { 135,-257 }, { 136,-257 }, - { 137,-257 }, { 138,-257 }, { 139,-257 }, { 140,-257 }, { 141,-257 }, - { 142,-257 }, { 143,-257 }, { 144,-257 }, { 145,-257 }, { 146,-257 }, - { 147,-257 }, { 148,-257 }, { 149,-257 }, { 150,-257 }, { 151,-257 }, - - { 152,-257 }, { 153,-257 }, { 154,-257 }, { 155,-257 }, { 156,-257 }, - { 157,-257 }, { 158,-257 }, { 159,-257 }, { 160,-257 }, { 161,-257 }, - { 162,-257 }, { 163,-257 }, { 164,-257 }, { 165,-257 }, { 166,-257 }, - { 167,-257 }, { 168,-257 }, { 169,-257 }, { 170,-257 }, { 171,-257 }, - { 172,-257 }, { 173,-257 }, { 174,-257 }, { 175,-257 }, { 176,-257 }, - { 177,-257 }, { 178,-257 }, { 179,-257 }, { 180,-257 }, { 181,-257 }, - { 182,-257 }, { 183,-257 }, { 184,-257 }, { 185,-257 }, { 186,-257 }, - { 187,-257 }, { 188,-257 }, { 189,-257 }, { 190,-257 }, { 191,-257 }, - { 192,-257 }, { 193,-257 }, { 194,-257 }, { 195,-257 }, { 196,-257 }, - { 197,-257 }, { 198,-257 }, { 199,-257 }, { 200,-257 }, { 201,-257 }, - - { 202,-257 }, { 203,-257 }, { 204,-257 }, { 205,-257 }, { 206,-257 }, - { 207,-257 }, { 208,-257 }, { 209,-257 }, { 210,-257 }, { 211,-257 }, - { 212,-257 }, { 213,-257 }, { 214,-257 }, { 215,-257 }, { 216,-257 }, - { 217,-257 }, { 218,-257 }, { 219,-257 }, { 220,-257 }, { 221,-257 }, - { 222,-257 }, { 223,-257 }, { 224,-257 }, { 225,-257 }, { 226,-257 }, - { 227,-257 }, { 228,-257 }, { 229,-257 }, { 230,-257 }, { 231,-257 }, - { 232,-257 }, { 233,-257 }, { 234,-257 }, { 235,-257 }, { 236,-257 }, - { 237,-257 }, { 238,-257 }, { 239,-257 }, { 240,-257 }, { 241,-257 }, - { 242,-257 }, { 243,-257 }, { 244,-257 }, { 245,-257 }, { 246,-257 }, - { 247,-257 }, { 248,-257 }, { 249,-257 }, { 250,-257 }, { 251,-257 }, - - { 252,-257 }, { 253,-257 }, { 254,-257 }, { 255,-257 }, { 0, 63 }, - { 0,12867 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 36,-514 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-257 }, { 49,-257 }, - { 50,-514 }, { 51,-514 }, { 52,-514 }, { 53,-514 }, { 54,-514 }, - { 55,-514 }, { 56,-514 }, { 57,-514 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,-514 }, { 66,-514 }, { 67,-514 }, { 68,-514 }, { 69,-514 }, - { 70,-514 }, { 71,-514 }, { 72,-514 }, { 73,-514 }, { 74,-514 }, - { 75,-514 }, { 76,-514 }, { 77,-514 }, { 78,-514 }, { 79,-514 }, - { 80,-514 }, { 81,-514 }, { 82,-514 }, { 83,-514 }, { 84,-514 }, - { 85,-514 }, { 86,-514 }, { 87,-514 }, { 88,-514 }, { 89,-514 }, - { 90,-514 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 95,-514 }, { 0, 0 }, { 97,-514 }, { 98,-514 }, { 99,-514 }, - { 100,-514 }, { 101,-514 }, { 102,-514 }, { 103,-514 }, { 104,-514 }, - { 105,-514 }, { 106,-514 }, { 107,-514 }, { 108,-514 }, { 109,-514 }, - { 110,-514 }, { 111,-514 }, { 112,-514 }, { 113,-514 }, { 114,-514 }, - { 115,-514 }, { 116,-514 }, { 117,-514 }, { 118,-514 }, { 119,-514 }, - { 120,-514 }, { 121,-514 }, { 122,-514 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-514 }, { 129,-514 }, - { 130,-514 }, { 131,-514 }, { 132,-514 }, { 133,-514 }, { 134,-514 }, - { 135,-514 }, { 136,-514 }, { 137,-514 }, { 138,-514 }, { 139,-514 }, - { 140,-514 }, { 141,-514 }, { 142,-514 }, { 143,-514 }, { 144,-514 }, + { 74,5334 }, { 75,5334 }, { 76,5334 }, { 77,5334 }, { 78,5334 }, + { 79,5334 }, { 80,5334 }, { 81,5334 }, { 82,5334 }, { 83,5334 }, + { 84,5334 }, { 85,5334 }, { 86,5334 }, { 87,5334 }, { 88,5334 }, + { 89,5334 }, { 90,5334 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95,5848 }, { 0, 0 }, { 97,5334 }, { 98,5334 }, + { 99,5334 }, { 100,5334 }, { 101,5591 }, { 102,5334 }, { 103,5334 }, + { 104,5334 }, { 105,5334 }, { 106,5334 }, { 107,5334 }, { 108,5334 }, + { 109,5334 }, { 110,5334 }, { 111,5334 }, { 112,5334 }, { 113,5334 }, + { 114,5334 }, { 115,5334 }, { 116,5334 }, { 117,5334 }, { 118,5334 }, + { 119,5334 }, { 120,5334 }, { 121,5334 }, { 122,5334 }, { 0, 0 }, - { 145,-514 }, { 146,-514 }, { 147,-514 }, { 148,-514 }, { 149,-514 }, - { 150,-514 }, { 151,-514 }, { 152,-514 }, { 153,-514 }, { 154,-514 }, - { 155,-514 }, { 156,-514 }, { 157,-514 }, { 158,-514 }, { 159,-514 }, - { 160,-514 }, { 161,-514 }, { 162,-514 }, { 163,-514 }, { 164,-514 }, - { 165,-514 }, { 166,-514 }, { 167,-514 }, { 168,-514 }, { 169,-514 }, - { 170,-514 }, { 171,-514 }, { 172,-514 }, { 173,-514 }, { 174,-514 }, - { 175,-514 }, { 176,-514 }, { 177,-514 }, { 178,-514 }, { 179,-514 }, - { 180,-514 }, { 181,-514 }, { 182,-514 }, { 183,-514 }, { 184,-514 }, - { 185,-514 }, { 186,-514 }, { 187,-514 }, { 188,-514 }, { 189,-514 }, - { 190,-514 }, { 191,-514 }, { 192,-514 }, { 193,-514 }, { 194,-514 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,5334 }, + { 129,5334 }, { 130,5334 }, { 131,5334 }, { 132,5334 }, { 133,5334 }, + { 134,5334 }, { 135,5334 }, { 136,5334 }, { 137,5334 }, { 138,5334 }, + { 139,5334 }, { 140,5334 }, { 141,5334 }, { 142,5334 }, { 143,5334 }, + { 144,5334 }, { 145,5334 }, { 146,5334 }, { 147,5334 }, { 148,5334 }, + { 149,5334 }, { 150,5334 }, { 151,5334 }, { 152,5334 }, { 153,5334 }, + { 154,5334 }, { 155,5334 }, { 156,5334 }, { 157,5334 }, { 158,5334 }, + { 159,5334 }, { 160,5334 }, { 161,5334 }, { 162,5334 }, { 163,5334 }, + { 164,5334 }, { 165,5334 }, { 166,5334 }, { 167,5334 }, { 168,5334 }, + { 169,5334 }, { 170,5334 }, { 171,5334 }, { 172,5334 }, { 173,5334 }, - { 195,-514 }, { 196,-514 }, { 197,-514 }, { 198,-514 }, { 199,-514 }, - { 200,-514 }, { 201,-514 }, { 202,-514 }, { 203,-514 }, { 204,-514 }, - { 205,-514 }, { 206,-514 }, { 207,-514 }, { 208,-514 }, { 209,-514 }, - { 210,-514 }, { 211,-514 }, { 212,-514 }, { 213,-514 }, { 214,-514 }, - { 215,-514 }, { 216,-514 }, { 217,-514 }, { 218,-514 }, { 219,-514 }, - { 220,-514 }, { 221,-514 }, { 222,-514 }, { 223,-514 }, { 224,-514 }, - { 225,-514 }, { 226,-514 }, { 227,-514 }, { 228,-514 }, { 229,-514 }, - { 230,-514 }, { 231,-514 }, { 232,-514 }, { 233,-514 }, { 234,-514 }, - { 235,-514 }, { 236,-514 }, { 237,-514 }, { 238,-514 }, { 239,-514 }, - { 240,-514 }, { 241,-514 }, { 242,-514 }, { 243,-514 }, { 244,-514 }, + { 174,5334 }, { 175,5334 }, { 176,5334 }, { 177,5334 }, { 178,5334 }, + { 179,5334 }, { 180,5334 }, { 181,5334 }, { 182,5334 }, { 183,5334 }, + { 184,5334 }, { 185,5334 }, { 186,5334 }, { 187,5334 }, { 188,5334 }, + { 189,5334 }, { 190,5334 }, { 191,5334 }, { 192,5334 }, { 193,5334 }, + { 194,5334 }, { 195,5334 }, { 196,5334 }, { 197,5334 }, { 198,5334 }, + { 199,5334 }, { 200,5334 }, { 201,5334 }, { 202,5334 }, { 203,5334 }, + { 204,5334 }, { 205,5334 }, { 206,5334 }, { 207,5334 }, { 208,5334 }, + { 209,5334 }, { 210,5334 }, { 211,5334 }, { 212,5334 }, { 213,5334 }, + { 214,5334 }, { 215,5334 }, { 216,5334 }, { 217,5334 }, { 218,5334 }, + { 219,5334 }, { 220,5334 }, { 221,5334 }, { 222,5334 }, { 223,5334 }, - { 245,-514 }, { 246,-514 }, { 247,-514 }, { 248,-514 }, { 249,-514 }, - { 250,-514 }, { 251,-514 }, { 252,-514 }, { 253,-514 }, { 254,-514 }, - { 255,-514 }, { 0, 67 }, { 0,12610 }, { 0, 0 }, { 0, 0 }, + { 224,5334 }, { 225,5334 }, { 226,5334 }, { 227,5334 }, { 228,5334 }, + { 229,5334 }, { 230,5334 }, { 231,5334 }, { 232,5334 }, { 233,5334 }, + { 234,5334 }, { 235,5334 }, { 236,5334 }, { 237,5334 }, { 238,5334 }, + { 239,5334 }, { 240,5334 }, { 241,5334 }, { 242,5334 }, { 243,5334 }, + { 244,5334 }, { 245,5334 }, { 246,5334 }, { 247,5334 }, { 248,5334 }, + { 249,5334 }, { 250,5334 }, { 251,5334 }, { 252,5334 }, { 253,5334 }, + { 254,5334 }, { 255,5334 }, { 0, 64 }, { 0,11124 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 66 }, { 0,12600 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-781 }, { 0, 0 }, - { 48,3594 }, { 49,3594 }, { 50,3594 }, { 51,3594 }, { 52,3594 }, - { 53,3594 }, { 54,3594 }, { 55,3594 }, { 56,3594 }, { 57,3594 }, - { 48,3841 }, { 49,3841 }, { 50,3841 }, { 51,3841 }, { 52,3841 }, - { 53,3841 }, { 54,3841 }, { 55,3841 }, { 56,3841 }, { 57,3841 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,4098 }, { 66,4098 }, { 67,4098 }, - { 68,4098 }, { 69,4098 }, { 70,4098 }, { 71,4098 }, { 72,4098 }, - { 73,4098 }, { 74,4098 }, { 75,4098 }, { 76,4098 }, { 77,4098 }, - - { 78,4098 }, { 79,4098 }, { 80,4098 }, { 81,4098 }, { 82,4098 }, - { 83,4098 }, { 84,4098 }, { 85,4098 }, { 86,4098 }, { 87,4098 }, - { 88,4098 }, { 89,4098 }, { 90,4098 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 95,4355 }, { 0, 0 }, { 97,4098 }, - { 98,4098 }, { 99,4098 }, { 100,4098 }, { 101,4098 }, { 102,4098 }, - { 103,4098 }, { 104,4098 }, { 105,4098 }, { 106,4098 }, { 107,4098 }, - { 108,4098 }, { 109,4098 }, { 110,4098 }, { 111,4098 }, { 112,4098 }, - { 113,4098 }, { 114,4098 }, { 115,4098 }, { 116,4098 }, { 117,4098 }, - { 118,4098 }, { 119,4098 }, { 120,4098 }, { 121,4098 }, { 122,4098 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, + { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, + { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-5794 }, { 66,-5794 }, + + { 67,-5794 }, { 68,-5794 }, { 69,-5537 }, { 70,-5794 }, { 71,-5794 }, + { 72,-5794 }, { 73,-5794 }, { 74,-5794 }, { 75,-5794 }, { 76,-5794 }, + { 77,-5794 }, { 78,-5794 }, { 79,-5794 }, { 80,-5794 }, { 81,-5794 }, + { 82,-5794 }, { 83,-5794 }, { 84,-5794 }, { 85,-5794 }, { 86,-5794 }, + { 87,-5794 }, { 88,-5794 }, { 89,-5794 }, { 90,-5794 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95, 257 }, { 0, 0 }, + { 97,-5794 }, { 98,-5794 }, { 99,-5794 }, { 100,-5794 }, { 101,-5537 }, + { 102,-5794 }, { 103,-5794 }, { 104,-5794 }, { 105,-5794 }, { 106,-5794 }, + { 107,-5794 }, { 108,-5794 }, { 109,-5794 }, { 110,-5794 }, { 111,-5794 }, + { 112,-5794 }, { 113,-5794 }, { 114,-5794 }, { 115,-5794 }, { 116,-5794 }, + + { 117,-5794 }, { 118,-5794 }, { 119,-5794 }, { 120,-5794 }, { 121,-5794 }, + { 122,-5794 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,-5794 }, { 129,-5794 }, { 130,-5794 }, { 131,-5794 }, + { 132,-5794 }, { 133,-5794 }, { 134,-5794 }, { 135,-5794 }, { 136,-5794 }, + { 137,-5794 }, { 138,-5794 }, { 139,-5794 }, { 140,-5794 }, { 141,-5794 }, + { 142,-5794 }, { 143,-5794 }, { 144,-5794 }, { 145,-5794 }, { 146,-5794 }, + { 147,-5794 }, { 148,-5794 }, { 149,-5794 }, { 150,-5794 }, { 151,-5794 }, + { 152,-5794 }, { 153,-5794 }, { 154,-5794 }, { 155,-5794 }, { 156,-5794 }, + { 157,-5794 }, { 158,-5794 }, { 159,-5794 }, { 160,-5794 }, { 161,-5794 }, + { 162,-5794 }, { 163,-5794 }, { 164,-5794 }, { 165,-5794 }, { 166,-5794 }, + + { 167,-5794 }, { 168,-5794 }, { 169,-5794 }, { 170,-5794 }, { 171,-5794 }, + { 172,-5794 }, { 173,-5794 }, { 174,-5794 }, { 175,-5794 }, { 176,-5794 }, + { 177,-5794 }, { 178,-5794 }, { 179,-5794 }, { 180,-5794 }, { 181,-5794 }, + { 182,-5794 }, { 183,-5794 }, { 184,-5794 }, { 185,-5794 }, { 186,-5794 }, + { 187,-5794 }, { 188,-5794 }, { 189,-5794 }, { 190,-5794 }, { 191,-5794 }, + { 192,-5794 }, { 193,-5794 }, { 194,-5794 }, { 195,-5794 }, { 196,-5794 }, + { 197,-5794 }, { 198,-5794 }, { 199,-5794 }, { 200,-5794 }, { 201,-5794 }, + { 202,-5794 }, { 203,-5794 }, { 204,-5794 }, { 205,-5794 }, { 206,-5794 }, + { 207,-5794 }, { 208,-5794 }, { 209,-5794 }, { 210,-5794 }, { 211,-5794 }, + { 212,-5794 }, { 213,-5794 }, { 214,-5794 }, { 215,-5794 }, { 216,-5794 }, + + { 217,-5794 }, { 218,-5794 }, { 219,-5794 }, { 220,-5794 }, { 221,-5794 }, + { 222,-5794 }, { 223,-5794 }, { 224,-5794 }, { 225,-5794 }, { 226,-5794 }, + { 227,-5794 }, { 228,-5794 }, { 229,-5794 }, { 230,-5794 }, { 231,-5794 }, + { 232,-5794 }, { 233,-5794 }, { 234,-5794 }, { 235,-5794 }, { 236,-5794 }, + { 237,-5794 }, { 238,-5794 }, { 239,-5794 }, { 240,-5794 }, { 241,-5794 }, + { 242,-5794 }, { 243,-5794 }, { 244,-5794 }, { 245,-5794 }, { 246,-5794 }, + { 247,-5794 }, { 248,-5794 }, { 249,-5794 }, { 250,-5794 }, { 251,-5794 }, + { 252,-5794 }, { 253,-5794 }, { 254,-5794 }, { 255,-5794 }, { 0, 69 }, + { 0,10867 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 36,-1028 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,5591 }, { 49,5591 }, + { 50,5591 }, { 51,5591 }, { 52,5591 }, { 53,5591 }, { 54,5591 }, + { 55,5591 }, { 56,5591 }, { 57,5591 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,-1028 }, { 66,-1028 }, { 67,-1028 }, { 68,-1028 }, { 69,-1028 }, + { 70,-1028 }, { 71,-1028 }, { 72,-1028 }, { 73,-1028 }, { 74,-1028 }, + { 75,-1028 }, { 76,-1028 }, { 77,-1028 }, { 78,-1028 }, { 79,-1028 }, + { 80,-1028 }, { 81,-1028 }, { 82,-1028 }, { 83,-1028 }, { 84,-1028 }, + { 85,-1028 }, { 86,-1028 }, { 87,-1028 }, { 88,-1028 }, { 89,-1028 }, + { 90,-1028 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,-1028 }, { 0, 0 }, { 97,-1028 }, { 98,-1028 }, { 99,-1028 }, + { 100,-1028 }, { 101,-1028 }, { 102,-1028 }, { 103,-1028 }, { 104,-1028 }, + { 105,-1028 }, { 106,-1028 }, { 107,-1028 }, { 108,-1028 }, { 109,-1028 }, - { 128,4098 }, { 129,4098 }, { 130,4098 }, { 131,4098 }, { 132,4098 }, - { 133,4098 }, { 134,4098 }, { 135,4098 }, { 136,4098 }, { 137,4098 }, - { 138,4098 }, { 139,4098 }, { 140,4098 }, { 141,4098 }, { 142,4098 }, - { 143,4098 }, { 144,4098 }, { 145,4098 }, { 146,4098 }, { 147,4098 }, - { 148,4098 }, { 149,4098 }, { 150,4098 }, { 151,4098 }, { 152,4098 }, - { 153,4098 }, { 154,4098 }, { 155,4098 }, { 156,4098 }, { 157,4098 }, - { 158,4098 }, { 159,4098 }, { 160,4098 }, { 161,4098 }, { 162,4098 }, - { 163,4098 }, { 164,4098 }, { 165,4098 }, { 166,4098 }, { 167,4098 }, - { 168,4098 }, { 169,4098 }, { 170,4098 }, { 171,4098 }, { 172,4098 }, - { 173,4098 }, { 174,4098 }, { 175,4098 }, { 176,4098 }, { 177,4098 }, + { 110,-1028 }, { 111,-1028 }, { 112,-1028 }, { 113,-1028 }, { 114,-1028 }, + { 115,-1028 }, { 116,-1028 }, { 117,-1028 }, { 118,-1028 }, { 119,-1028 }, + { 120,-1028 }, { 121,-1028 }, { 122,-1028 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-1028 }, { 129,-1028 }, + { 130,-1028 }, { 131,-1028 }, { 132,-1028 }, { 133,-1028 }, { 134,-1028 }, + { 135,-1028 }, { 136,-1028 }, { 137,-1028 }, { 138,-1028 }, { 139,-1028 }, + { 140,-1028 }, { 141,-1028 }, { 142,-1028 }, { 143,-1028 }, { 144,-1028 }, + { 145,-1028 }, { 146,-1028 }, { 147,-1028 }, { 148,-1028 }, { 149,-1028 }, + { 150,-1028 }, { 151,-1028 }, { 152,-1028 }, { 153,-1028 }, { 154,-1028 }, + { 155,-1028 }, { 156,-1028 }, { 157,-1028 }, { 158,-1028 }, { 159,-1028 }, - { 178,4098 }, { 179,4098 }, { 180,4098 }, { 181,4098 }, { 182,4098 }, - { 183,4098 }, { 184,4098 }, { 185,4098 }, { 186,4098 }, { 187,4098 }, - { 188,4098 }, { 189,4098 }, { 190,4098 }, { 191,4098 }, { 192,4098 }, - { 193,4098 }, { 194,4098 }, { 195,4098 }, { 196,4098 }, { 197,4098 }, - { 198,4098 }, { 199,4098 }, { 200,4098 }, { 201,4098 }, { 202,4098 }, - { 203,4098 }, { 204,4098 }, { 205,4098 }, { 206,4098 }, { 207,4098 }, - { 208,4098 }, { 209,4098 }, { 210,4098 }, { 211,4098 }, { 212,4098 }, - { 213,4098 }, { 214,4098 }, { 215,4098 }, { 216,4098 }, { 217,4098 }, - { 218,4098 }, { 219,4098 }, { 220,4098 }, { 221,4098 }, { 222,4098 }, - { 223,4098 }, { 224,4098 }, { 225,4098 }, { 226,4098 }, { 227,4098 }, + { 160,-1028 }, { 161,-1028 }, { 162,-1028 }, { 163,-1028 }, { 164,-1028 }, + { 165,-1028 }, { 166,-1028 }, { 167,-1028 }, { 168,-1028 }, { 169,-1028 }, + { 170,-1028 }, { 171,-1028 }, { 172,-1028 }, { 173,-1028 }, { 174,-1028 }, + { 175,-1028 }, { 176,-1028 }, { 177,-1028 }, { 178,-1028 }, { 179,-1028 }, + { 180,-1028 }, { 181,-1028 }, { 182,-1028 }, { 183,-1028 }, { 184,-1028 }, + { 185,-1028 }, { 186,-1028 }, { 187,-1028 }, { 188,-1028 }, { 189,-1028 }, + { 190,-1028 }, { 191,-1028 }, { 192,-1028 }, { 193,-1028 }, { 194,-1028 }, + { 195,-1028 }, { 196,-1028 }, { 197,-1028 }, { 198,-1028 }, { 199,-1028 }, + { 200,-1028 }, { 201,-1028 }, { 202,-1028 }, { 203,-1028 }, { 204,-1028 }, + { 205,-1028 }, { 206,-1028 }, { 207,-1028 }, { 208,-1028 }, { 209,-1028 }, + + { 210,-1028 }, { 211,-1028 }, { 212,-1028 }, { 213,-1028 }, { 214,-1028 }, + { 215,-1028 }, { 216,-1028 }, { 217,-1028 }, { 218,-1028 }, { 219,-1028 }, + { 220,-1028 }, { 221,-1028 }, { 222,-1028 }, { 223,-1028 }, { 224,-1028 }, + { 225,-1028 }, { 226,-1028 }, { 227,-1028 }, { 228,-1028 }, { 229,-1028 }, + { 230,-1028 }, { 231,-1028 }, { 232,-1028 }, { 233,-1028 }, { 234,-1028 }, + { 235,-1028 }, { 236,-1028 }, { 237,-1028 }, { 238,-1028 }, { 239,-1028 }, + { 240,-1028 }, { 241,-1028 }, { 242,-1028 }, { 243,-1028 }, { 244,-1028 }, + { 245,-1028 }, { 246,-1028 }, { 247,-1028 }, { 248,-1028 }, { 249,-1028 }, + { 250,-1028 }, { 251,-1028 }, { 252,-1028 }, { 253,-1028 }, { 254,-1028 }, + { 255,-1028 }, { 0, 68 }, { 0,10610 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-5248 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48,-4991 }, { 49,-4991 }, { 50,-5248 }, { 51,-5248 }, { 52,-5248 }, + + { 53,-5248 }, { 54,-5248 }, { 55,-5248 }, { 56,-5248 }, { 57,-5248 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 65,-5248 }, { 66,-5248 }, { 67,-5248 }, + { 68,-5248 }, { 69,-5248 }, { 70,-5248 }, { 71,-5248 }, { 72,-5248 }, + { 73,-5248 }, { 74,-5248 }, { 75,-5248 }, { 76,-5248 }, { 77,-5248 }, + { 78,-5248 }, { 79,-5248 }, { 80,-5248 }, { 81,-5248 }, { 82,-5248 }, + { 83,-5248 }, { 84,-5248 }, { 85,-5248 }, { 86,-5248 }, { 87,-5248 }, + { 88,-5248 }, { 89,-5248 }, { 90,-5248 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 95,-5248 }, { 0, 0 }, { 97,-5248 }, + { 98,-5248 }, { 99,-5248 }, { 100,-5248 }, { 101,-5248 }, { 102,-5248 }, - { 228,4098 }, { 229,4098 }, { 230,4098 }, { 231,4098 }, { 232,4098 }, - { 233,4098 }, { 234,4098 }, { 235,4098 }, { 236,4098 }, { 237,4098 }, - { 238,4098 }, { 239,4098 }, { 240,4098 }, { 241,4098 }, { 242,4098 }, - { 243,4098 }, { 244,4098 }, { 245,4098 }, { 246,4098 }, { 247,4098 }, - { 248,4098 }, { 249,4098 }, { 250,4098 }, { 251,4098 }, { 252,4098 }, - { 253,4098 }, { 254,4098 }, { 255,4098 }, { 0, 59 }, { 0,12343 }, + { 103,-5248 }, { 104,-5248 }, { 105,-5248 }, { 106,-5248 }, { 107,-5248 }, + { 108,-5248 }, { 109,-5248 }, { 110,-5248 }, { 111,-5248 }, { 112,-5248 }, + { 113,-5248 }, { 114,-5248 }, { 115,-5248 }, { 116,-5248 }, { 117,-5248 }, + { 118,-5248 }, { 119,-5248 }, { 120,-5248 }, { 121,-5248 }, { 122,-5248 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 128,-5248 }, { 129,-5248 }, { 130,-5248 }, { 131,-5248 }, { 132,-5248 }, + { 133,-5248 }, { 134,-5248 }, { 135,-5248 }, { 136,-5248 }, { 137,-5248 }, + { 138,-5248 }, { 139,-5248 }, { 140,-5248 }, { 141,-5248 }, { 142,-5248 }, + { 143,-5248 }, { 144,-5248 }, { 145,-5248 }, { 146,-5248 }, { 147,-5248 }, + { 148,-5248 }, { 149,-5248 }, { 150,-5248 }, { 151,-5248 }, { 152,-5248 }, + + { 153,-5248 }, { 154,-5248 }, { 155,-5248 }, { 156,-5248 }, { 157,-5248 }, + { 158,-5248 }, { 159,-5248 }, { 160,-5248 }, { 161,-5248 }, { 162,-5248 }, + { 163,-5248 }, { 164,-5248 }, { 165,-5248 }, { 166,-5248 }, { 167,-5248 }, + { 168,-5248 }, { 169,-5248 }, { 170,-5248 }, { 171,-5248 }, { 172,-5248 }, + { 173,-5248 }, { 174,-5248 }, { 175,-5248 }, { 176,-5248 }, { 177,-5248 }, + { 178,-5248 }, { 179,-5248 }, { 180,-5248 }, { 181,-5248 }, { 182,-5248 }, + { 183,-5248 }, { 184,-5248 }, { 185,-5248 }, { 186,-5248 }, { 187,-5248 }, + { 188,-5248 }, { 189,-5248 }, { 190,-5248 }, { 191,-5248 }, { 192,-5248 }, + { 193,-5248 }, { 194,-5248 }, { 195,-5248 }, { 196,-5248 }, { 197,-5248 }, + { 198,-5248 }, { 199,-5248 }, { 200,-5248 }, { 201,-5248 }, { 202,-5248 }, + + { 203,-5248 }, { 204,-5248 }, { 205,-5248 }, { 206,-5248 }, { 207,-5248 }, + { 208,-5248 }, { 209,-5248 }, { 210,-5248 }, { 211,-5248 }, { 212,-5248 }, + { 213,-5248 }, { 214,-5248 }, { 215,-5248 }, { 216,-5248 }, { 217,-5248 }, + { 218,-5248 }, { 219,-5248 }, { 220,-5248 }, { 221,-5248 }, { 222,-5248 }, + { 223,-5248 }, { 224,-5248 }, { 225,-5248 }, { 226,-5248 }, { 227,-5248 }, + { 228,-5248 }, { 229,-5248 }, { 230,-5248 }, { 231,-5248 }, { 232,-5248 }, + { 233,-5248 }, { 234,-5248 }, { 235,-5248 }, { 236,-5248 }, { 237,-5248 }, + { 238,-5248 }, { 239,-5248 }, { 240,-5248 }, { 241,-5248 }, { 242,-5248 }, + { 243,-5248 }, { 244,-5248 }, { 245,-5248 }, { 246,-5248 }, { 247,-5248 }, + { 248,-5248 }, { 249,-5248 }, { 250,-5248 }, { 251,-5248 }, { 252,-5248 }, + + { 253,-5248 }, { 254,-5248 }, { 255,-5248 }, { 0, 66 }, { 0,10353 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 36,-1038 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, - { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, - { 56,-1038 }, { 57,-1038 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-1038 }, - { 66,-1038 }, { 67,-1038 }, { 68,-1038 }, { 69,-1038 }, { 70,-1038 }, - - { 71,-1038 }, { 72,-1038 }, { 73,-1038 }, { 74,-1038 }, { 75,-1038 }, - { 76,-1038 }, { 77,-1038 }, { 78,-1038 }, { 79,-1038 }, { 80,-1038 }, - { 81,-1038 }, { 82,-1038 }, { 83,-1038 }, { 84,-1038 }, { 85,-1038 }, - { 86,-1038 }, { 87,-1038 }, { 88,-1038 }, { 89,-1038 }, { 90,-1038 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,4355 }, - { 0, 0 }, { 97,-1038 }, { 98,-1038 }, { 99,-1038 }, { 100,-1038 }, - { 101,-1038 }, { 102,-1038 }, { 103,-1038 }, { 104,-1038 }, { 105,-1038 }, - { 106,-1038 }, { 107,-1038 }, { 108,-1038 }, { 109,-1038 }, { 110,-1038 }, - { 111,-1038 }, { 112,-1038 }, { 113,-1038 }, { 114,-1038 }, { 115,-1038 }, - { 116,-1038 }, { 117,-1038 }, { 118,-1038 }, { 119,-1038 }, { 120,-1038 }, - - { 121,-1038 }, { 122,-1038 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 128,-1038 }, { 129,-1038 }, { 130,-1038 }, - { 131,-1038 }, { 132,-1038 }, { 133,-1038 }, { 134,-1038 }, { 135,-1038 }, - { 136,-1038 }, { 137,-1038 }, { 138,-1038 }, { 139,-1038 }, { 140,-1038 }, - { 141,-1038 }, { 142,-1038 }, { 143,-1038 }, { 144,-1038 }, { 145,-1038 }, - { 146,-1038 }, { 147,-1038 }, { 148,-1038 }, { 149,-1038 }, { 150,-1038 }, - { 151,-1038 }, { 152,-1038 }, { 153,-1038 }, { 154,-1038 }, { 155,-1038 }, - { 156,-1038 }, { 157,-1038 }, { 158,-1038 }, { 159,-1038 }, { 160,-1038 }, - { 161,-1038 }, { 162,-1038 }, { 163,-1038 }, { 164,-1038 }, { 165,-1038 }, - { 166,-1038 }, { 167,-1038 }, { 168,-1038 }, { 169,-1038 }, { 170,-1038 }, - - { 171,-1038 }, { 172,-1038 }, { 173,-1038 }, { 174,-1038 }, { 175,-1038 }, - { 176,-1038 }, { 177,-1038 }, { 178,-1038 }, { 179,-1038 }, { 180,-1038 }, - { 181,-1038 }, { 182,-1038 }, { 183,-1038 }, { 184,-1038 }, { 185,-1038 }, - { 186,-1038 }, { 187,-1038 }, { 188,-1038 }, { 189,-1038 }, { 190,-1038 }, - { 191,-1038 }, { 192,-1038 }, { 193,-1038 }, { 194,-1038 }, { 195,-1038 }, - { 196,-1038 }, { 197,-1038 }, { 198,-1038 }, { 199,-1038 }, { 200,-1038 }, - { 201,-1038 }, { 202,-1038 }, { 203,-1038 }, { 204,-1038 }, { 205,-1038 }, - { 206,-1038 }, { 207,-1038 }, { 208,-1038 }, { 209,-1038 }, { 210,-1038 }, - { 211,-1038 }, { 212,-1038 }, { 213,-1038 }, { 214,-1038 }, { 215,-1038 }, - { 216,-1038 }, { 217,-1038 }, { 218,-1038 }, { 219,-1038 }, { 220,-1038 }, - - { 221,-1038 }, { 222,-1038 }, { 223,-1038 }, { 224,-1038 }, { 225,-1038 }, - { 226,-1038 }, { 227,-1038 }, { 228,-1038 }, { 229,-1038 }, { 230,-1038 }, - { 231,-1038 }, { 232,-1038 }, { 233,-1038 }, { 234,-1038 }, { 235,-1038 }, - { 236,-1038 }, { 237,-1038 }, { 238,-1038 }, { 239,-1038 }, { 240,-1038 }, - { 241,-1038 }, { 242,-1038 }, { 243,-1038 }, { 244,-1038 }, { 245,-1038 }, - { 246,-1038 }, { 247,-1038 }, { 248,-1038 }, { 249,-1038 }, { 250,-1038 }, - { 251,-1038 }, { 252,-1038 }, { 253,-1038 }, { 254,-1038 }, { 255,-1038 }, - { 0, 62 }, { 0,12086 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 36,-1295 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-257 }, - { 49,-257 }, { 50,-257 }, { 51,-257 }, { 52,-257 }, { 53,-257 }, - { 54,-257 }, { 55,-257 }, { 56,-1295 }, { 57,-1295 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 65,-1295 }, { 66,-1295 }, { 67,-1295 }, { 68,-1295 }, - { 69,-1295 }, { 70,-1295 }, { 71,-1295 }, { 72,-1295 }, { 73,-1295 }, - { 74,-1295 }, { 75,-1295 }, { 76,-1295 }, { 77,-1295 }, { 78,-1295 }, - { 79,-1295 }, { 80,-1295 }, { 81,-1295 }, { 82,-1295 }, { 83,-1295 }, - { 84,-1295 }, { 85,-1295 }, { 86,-1295 }, { 87,-1295 }, { 88,-1295 }, - { 89,-1295 }, { 90,-1295 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95,-1295 }, { 0, 0 }, { 97,-1295 }, { 98,-1295 }, - { 99,-1295 }, { 100,-1295 }, { 101,-1295 }, { 102,-1295 }, { 103,-1295 }, - { 104,-1295 }, { 105,-1295 }, { 106,-1295 }, { 107,-1295 }, { 108,-1295 }, - { 109,-1295 }, { 110,-1295 }, { 111,-1295 }, { 112,-1295 }, { 113,-1295 }, - - { 114,-1295 }, { 115,-1295 }, { 116,-1295 }, { 117,-1295 }, { 118,-1295 }, - { 119,-1295 }, { 120,-1295 }, { 121,-1295 }, { 122,-1295 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-1295 }, - { 129,-1295 }, { 130,-1295 }, { 131,-1295 }, { 132,-1295 }, { 133,-1295 }, - { 134,-1295 }, { 135,-1295 }, { 136,-1295 }, { 137,-1295 }, { 138,-1295 }, - { 139,-1295 }, { 140,-1295 }, { 141,-1295 }, { 142,-1295 }, { 143,-1295 }, - { 144,-1295 }, { 145,-1295 }, { 146,-1295 }, { 147,-1295 }, { 148,-1295 }, - { 149,-1295 }, { 150,-1295 }, { 151,-1295 }, { 152,-1295 }, { 153,-1295 }, - { 154,-1295 }, { 155,-1295 }, { 156,-1295 }, { 157,-1295 }, { 158,-1295 }, - { 159,-1295 }, { 160,-1295 }, { 161,-1295 }, { 162,-1295 }, { 163,-1295 }, - - { 164,-1295 }, { 165,-1295 }, { 166,-1295 }, { 167,-1295 }, { 168,-1295 }, - { 169,-1295 }, { 170,-1295 }, { 171,-1295 }, { 172,-1295 }, { 173,-1295 }, - { 174,-1295 }, { 175,-1295 }, { 176,-1295 }, { 177,-1295 }, { 178,-1295 }, - { 179,-1295 }, { 180,-1295 }, { 181,-1295 }, { 182,-1295 }, { 183,-1295 }, - { 184,-1295 }, { 185,-1295 }, { 186,-1295 }, { 187,-1295 }, { 188,-1295 }, - { 189,-1295 }, { 190,-1295 }, { 191,-1295 }, { 192,-1295 }, { 193,-1295 }, - { 194,-1295 }, { 195,-1295 }, { 196,-1295 }, { 197,-1295 }, { 198,-1295 }, - { 199,-1295 }, { 200,-1295 }, { 201,-1295 }, { 202,-1295 }, { 203,-1295 }, - { 204,-1295 }, { 205,-1295 }, { 206,-1295 }, { 207,-1295 }, { 208,-1295 }, - { 209,-1295 }, { 210,-1295 }, { 211,-1295 }, { 212,-1295 }, { 213,-1295 }, - - { 214,-1295 }, { 215,-1295 }, { 216,-1295 }, { 217,-1295 }, { 218,-1295 }, - { 219,-1295 }, { 220,-1295 }, { 221,-1295 }, { 222,-1295 }, { 223,-1295 }, - { 224,-1295 }, { 225,-1295 }, { 226,-1295 }, { 227,-1295 }, { 228,-1295 }, - { 229,-1295 }, { 230,-1295 }, { 231,-1295 }, { 232,-1295 }, { 233,-1295 }, - { 234,-1295 }, { 235,-1295 }, { 236,-1295 }, { 237,-1295 }, { 238,-1295 }, - { 239,-1295 }, { 240,-1295 }, { 241,-1295 }, { 242,-1295 }, { 243,-1295 }, - { 244,-1295 }, { 245,-1295 }, { 246,-1295 }, { 247,-1295 }, { 248,-1295 }, - { 249,-1295 }, { 250,-1295 }, { 251,-1295 }, { 252,-1295 }, { 253,-1295 }, - { 254,-1295 }, { 255,-1295 }, { 0, 58 }, { 0,11829 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-1552 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, - { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, - { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 0 }, { 66, 0 }, - { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71,-1552 }, - { 72,-1552 }, { 73,-1552 }, { 74,-1552 }, { 75,-1552 }, { 76,-1552 }, - { 77,-1552 }, { 78,-1552 }, { 79,-1552 }, { 80,-1552 }, { 81,-1552 }, - { 82,-1552 }, { 83,-1552 }, { 84,-1552 }, { 85,-1552 }, { 86,-1552 }, - { 87,-1552 }, { 88,-1552 }, { 89,-1552 }, { 90,-1552 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,4098 }, { 0, 0 }, - { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, - { 102, 0 }, { 103,-1552 }, { 104,-1552 }, { 105,-1552 }, { 106,-1552 }, + { 0, 0 }, { 0, 0 }, { 48,5334 }, { 49,5334 }, { 50,5334 }, + { 51,5334 }, { 52,5334 }, { 53,5334 }, { 54,5334 }, { 55,5334 }, + { 56,5334 }, { 57,5334 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,5591 }, + { 66,5591 }, { 67,5591 }, { 68,5591 }, { 69,5591 }, { 70,5591 }, + { 71,5591 }, { 72,5591 }, { 73,5591 }, { 74,5591 }, { 75,5591 }, + { 76,5591 }, { 77,5591 }, { 78,5591 }, { 79,5591 }, { 80,5591 }, + { 81,5591 }, { 82,5591 }, { 83,5591 }, { 84,5591 }, { 85,5591 }, + { 86,5591 }, { 87,5591 }, { 88,5591 }, { 89,5591 }, { 90,5591 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,5848 }, - { 107,-1552 }, { 108,-1552 }, { 109,-1552 }, { 110,-1552 }, { 111,-1552 }, - { 112,-1552 }, { 113,-1552 }, { 114,-1552 }, { 115,-1552 }, { 116,-1552 }, - { 117,-1552 }, { 118,-1552 }, { 119,-1552 }, { 120,-1552 }, { 121,-1552 }, - { 122,-1552 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,-1552 }, { 129,-1552 }, { 130,-1552 }, { 131,-1552 }, - { 132,-1552 }, { 133,-1552 }, { 134,-1552 }, { 135,-1552 }, { 136,-1552 }, - { 137,-1552 }, { 138,-1552 }, { 139,-1552 }, { 140,-1552 }, { 141,-1552 }, - { 142,-1552 }, { 143,-1552 }, { 144,-1552 }, { 145,-1552 }, { 146,-1552 }, - { 147,-1552 }, { 148,-1552 }, { 149,-1552 }, { 150,-1552 }, { 151,-1552 }, - { 152,-1552 }, { 153,-1552 }, { 154,-1552 }, { 155,-1552 }, { 156,-1552 }, + { 0, 0 }, { 97,5591 }, { 98,5591 }, { 99,5591 }, { 100,5591 }, + { 101,5591 }, { 102,5591 }, { 103,5591 }, { 104,5591 }, { 105,5591 }, + { 106,5591 }, { 107,5591 }, { 108,5591 }, { 109,5591 }, { 110,5591 }, + { 111,5591 }, { 112,5591 }, { 113,5591 }, { 114,5591 }, { 115,5591 }, + { 116,5591 }, { 117,5591 }, { 118,5591 }, { 119,5591 }, { 120,5591 }, + { 121,5591 }, { 122,5591 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128,5591 }, { 129,5591 }, { 130,5591 }, + { 131,5591 }, { 132,5591 }, { 133,5591 }, { 134,5591 }, { 135,5591 }, + { 136,5591 }, { 137,5591 }, { 138,5591 }, { 139,5591 }, { 140,5591 }, + { 141,5591 }, { 142,5591 }, { 143,5591 }, { 144,5591 }, { 145,5591 }, - { 157,-1552 }, { 158,-1552 }, { 159,-1552 }, { 160,-1552 }, { 161,-1552 }, - { 162,-1552 }, { 163,-1552 }, { 164,-1552 }, { 165,-1552 }, { 166,-1552 }, - { 167,-1552 }, { 168,-1552 }, { 169,-1552 }, { 170,-1552 }, { 171,-1552 }, - { 172,-1552 }, { 173,-1552 }, { 174,-1552 }, { 175,-1552 }, { 176,-1552 }, - { 177,-1552 }, { 178,-1552 }, { 179,-1552 }, { 180,-1552 }, { 181,-1552 }, - { 182,-1552 }, { 183,-1552 }, { 184,-1552 }, { 185,-1552 }, { 186,-1552 }, - { 187,-1552 }, { 188,-1552 }, { 189,-1552 }, { 190,-1552 }, { 191,-1552 }, - { 192,-1552 }, { 193,-1552 }, { 194,-1552 }, { 195,-1552 }, { 196,-1552 }, - { 197,-1552 }, { 198,-1552 }, { 199,-1552 }, { 200,-1552 }, { 201,-1552 }, - { 202,-1552 }, { 203,-1552 }, { 204,-1552 }, { 205,-1552 }, { 206,-1552 }, + { 146,5591 }, { 147,5591 }, { 148,5591 }, { 149,5591 }, { 150,5591 }, + { 151,5591 }, { 152,5591 }, { 153,5591 }, { 154,5591 }, { 155,5591 }, + { 156,5591 }, { 157,5591 }, { 158,5591 }, { 159,5591 }, { 160,5591 }, + { 161,5591 }, { 162,5591 }, { 163,5591 }, { 164,5591 }, { 165,5591 }, + { 166,5591 }, { 167,5591 }, { 168,5591 }, { 169,5591 }, { 170,5591 }, + { 171,5591 }, { 172,5591 }, { 173,5591 }, { 174,5591 }, { 175,5591 }, + { 176,5591 }, { 177,5591 }, { 178,5591 }, { 179,5591 }, { 180,5591 }, + { 181,5591 }, { 182,5591 }, { 183,5591 }, { 184,5591 }, { 185,5591 }, + { 186,5591 }, { 187,5591 }, { 188,5591 }, { 189,5591 }, { 190,5591 }, + { 191,5591 }, { 192,5591 }, { 193,5591 }, { 194,5591 }, { 195,5591 }, - { 207,-1552 }, { 208,-1552 }, { 209,-1552 }, { 210,-1552 }, { 211,-1552 }, - { 212,-1552 }, { 213,-1552 }, { 214,-1552 }, { 215,-1552 }, { 216,-1552 }, - { 217,-1552 }, { 218,-1552 }, { 219,-1552 }, { 220,-1552 }, { 221,-1552 }, - { 222,-1552 }, { 223,-1552 }, { 224,-1552 }, { 225,-1552 }, { 226,-1552 }, - { 227,-1552 }, { 228,-1552 }, { 229,-1552 }, { 230,-1552 }, { 231,-1552 }, - { 232,-1552 }, { 233,-1552 }, { 234,-1552 }, { 235,-1552 }, { 236,-1552 }, - { 237,-1552 }, { 238,-1552 }, { 239,-1552 }, { 240,-1552 }, { 241,-1552 }, - { 242,-1552 }, { 243,-1552 }, { 244,-1552 }, { 245,-1552 }, { 246,-1552 }, - { 247,-1552 }, { 248,-1552 }, { 249,-1552 }, { 250,-1552 }, { 251,-1552 }, - { 252,-1552 }, { 253,-1552 }, { 254,-1552 }, { 255,-1552 }, { 0, 61 }, + { 196,5591 }, { 197,5591 }, { 198,5591 }, { 199,5591 }, { 200,5591 }, + { 201,5591 }, { 202,5591 }, { 203,5591 }, { 204,5591 }, { 205,5591 }, + { 206,5591 }, { 207,5591 }, { 208,5591 }, { 209,5591 }, { 210,5591 }, + { 211,5591 }, { 212,5591 }, { 213,5591 }, { 214,5591 }, { 215,5591 }, + { 216,5591 }, { 217,5591 }, { 218,5591 }, { 219,5591 }, { 220,5591 }, + { 221,5591 }, { 222,5591 }, { 223,5591 }, { 224,5591 }, { 225,5591 }, + { 226,5591 }, { 227,5591 }, { 228,5591 }, { 229,5591 }, { 230,5591 }, + { 231,5591 }, { 232,5591 }, { 233,5591 }, { 234,5591 }, { 235,5591 }, + { 236,5591 }, { 237,5591 }, { 238,5591 }, { 239,5591 }, { 240,5591 }, + { 241,5591 }, { 242,5591 }, { 243,5591 }, { 244,5591 }, { 245,5591 }, - { 0,11572 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 246,5591 }, { 247,5591 }, { 248,5591 }, { 249,5591 }, { 250,5591 }, + { 251,5591 }, { 252,5591 }, { 253,5591 }, { 254,5591 }, { 255,5591 }, + { 0, 66 }, { 0,10096 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 36,-1809 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-257 }, { 49,-257 }, + { 0, 0 }, { 0, 0 }, { 36,-5762 }, { 0, 0 }, { 0, 0 }, - { 50,-257 }, { 51,-257 }, { 52,-257 }, { 53,-257 }, { 54,-257 }, - { 55,-257 }, { 56,-257 }, { 57,-257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,-257 }, { 66,-257 }, { 67,-257 }, { 68,-257 }, { 69,-257 }, - { 70,-257 }, { 71,-1809 }, { 72,-1809 }, { 73,-1809 }, { 74,-1809 }, - { 75,-1809 }, { 76,-1809 }, { 77,-1809 }, { 78,-1809 }, { 79,-1809 }, - { 80,-1809 }, { 81,-1809 }, { 82,-1809 }, { 83,-1809 }, { 84,-1809 }, - { 85,-1809 }, { 86,-1809 }, { 87,-1809 }, { 88,-1809 }, { 89,-1809 }, - { 90,-1809 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 95,-1809 }, { 0, 0 }, { 97,-257 }, { 98,-257 }, { 99,-257 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, + { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, + { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65, 257 }, { 66, 257 }, { 67, 257 }, { 68, 257 }, + { 69, 257 }, { 70, 257 }, { 71, 257 }, { 72, 257 }, { 73, 257 }, + { 74, 257 }, { 75, 257 }, { 76, 257 }, { 77, 257 }, { 78, 257 }, + { 79, 257 }, { 80, 257 }, { 81, 257 }, { 82, 257 }, { 83, 257 }, + { 84, 257 }, { 85, 257 }, { 86, 257 }, { 87, 257 }, { 88, 257 }, - { 100,-257 }, { 101,-257 }, { 102,-257 }, { 103,-1809 }, { 104,-1809 }, - { 105,-1809 }, { 106,-1809 }, { 107,-1809 }, { 108,-1809 }, { 109,-1809 }, - { 110,-1809 }, { 111,-1809 }, { 112,-1809 }, { 113,-1809 }, { 114,-1809 }, - { 115,-1809 }, { 116,-1809 }, { 117,-1809 }, { 118,-1809 }, { 119,-1809 }, - { 120,-1809 }, { 121,-1809 }, { 122,-1809 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-1809 }, { 129,-1809 }, - { 130,-1809 }, { 131,-1809 }, { 132,-1809 }, { 133,-1809 }, { 134,-1809 }, - { 135,-1809 }, { 136,-1809 }, { 137,-1809 }, { 138,-1809 }, { 139,-1809 }, - { 140,-1809 }, { 141,-1809 }, { 142,-1809 }, { 143,-1809 }, { 144,-1809 }, - { 145,-1809 }, { 146,-1809 }, { 147,-1809 }, { 148,-1809 }, { 149,-1809 }, + { 89, 257 }, { 90, 257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95, 514 }, { 0, 0 }, { 97, 257 }, { 98, 257 }, + { 99, 257 }, { 100, 257 }, { 101, 257 }, { 102, 257 }, { 103, 257 }, + { 104, 257 }, { 105, 257 }, { 106, 257 }, { 107, 257 }, { 108, 257 }, + { 109, 257 }, { 110, 257 }, { 111, 257 }, { 112, 257 }, { 113, 257 }, + { 114, 257 }, { 115, 257 }, { 116, 257 }, { 117, 257 }, { 118, 257 }, + { 119, 257 }, { 120, 257 }, { 121, 257 }, { 122, 257 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128, 257 }, + { 129, 257 }, { 130, 257 }, { 131, 257 }, { 132, 257 }, { 133, 257 }, + { 134, 257 }, { 135, 257 }, { 136, 257 }, { 137, 257 }, { 138, 257 }, - { 150,-1809 }, { 151,-1809 }, { 152,-1809 }, { 153,-1809 }, { 154,-1809 }, - { 155,-1809 }, { 156,-1809 }, { 157,-1809 }, { 158,-1809 }, { 159,-1809 }, - { 160,-1809 }, { 161,-1809 }, { 162,-1809 }, { 163,-1809 }, { 164,-1809 }, - { 165,-1809 }, { 166,-1809 }, { 167,-1809 }, { 168,-1809 }, { 169,-1809 }, - { 170,-1809 }, { 171,-1809 }, { 172,-1809 }, { 173,-1809 }, { 174,-1809 }, - { 175,-1809 }, { 176,-1809 }, { 177,-1809 }, { 178,-1809 }, { 179,-1809 }, - { 180,-1809 }, { 181,-1809 }, { 182,-1809 }, { 183,-1809 }, { 184,-1809 }, - { 185,-1809 }, { 186,-1809 }, { 187,-1809 }, { 188,-1809 }, { 189,-1809 }, - { 190,-1809 }, { 191,-1809 }, { 192,-1809 }, { 193,-1809 }, { 194,-1809 }, - { 195,-1809 }, { 196,-1809 }, { 197,-1809 }, { 198,-1809 }, { 199,-1809 }, + { 139, 257 }, { 140, 257 }, { 141, 257 }, { 142, 257 }, { 143, 257 }, + { 144, 257 }, { 145, 257 }, { 146, 257 }, { 147, 257 }, { 148, 257 }, + { 149, 257 }, { 150, 257 }, { 151, 257 }, { 152, 257 }, { 153, 257 }, + { 154, 257 }, { 155, 257 }, { 156, 257 }, { 157, 257 }, { 158, 257 }, + { 159, 257 }, { 160, 257 }, { 161, 257 }, { 162, 257 }, { 163, 257 }, + { 164, 257 }, { 165, 257 }, { 166, 257 }, { 167, 257 }, { 168, 257 }, + { 169, 257 }, { 170, 257 }, { 171, 257 }, { 172, 257 }, { 173, 257 }, + { 174, 257 }, { 175, 257 }, { 176, 257 }, { 177, 257 }, { 178, 257 }, + { 179, 257 }, { 180, 257 }, { 181, 257 }, { 182, 257 }, { 183, 257 }, + { 184, 257 }, { 185, 257 }, { 186, 257 }, { 187, 257 }, { 188, 257 }, - { 200,-1809 }, { 201,-1809 }, { 202,-1809 }, { 203,-1809 }, { 204,-1809 }, - { 205,-1809 }, { 206,-1809 }, { 207,-1809 }, { 208,-1809 }, { 209,-1809 }, - { 210,-1809 }, { 211,-1809 }, { 212,-1809 }, { 213,-1809 }, { 214,-1809 }, - { 215,-1809 }, { 216,-1809 }, { 217,-1809 }, { 218,-1809 }, { 219,-1809 }, - { 220,-1809 }, { 221,-1809 }, { 222,-1809 }, { 223,-1809 }, { 224,-1809 }, - { 225,-1809 }, { 226,-1809 }, { 227,-1809 }, { 228,-1809 }, { 229,-1809 }, - { 230,-1809 }, { 231,-1809 }, { 232,-1809 }, { 233,-1809 }, { 234,-1809 }, - { 235,-1809 }, { 236,-1809 }, { 237,-1809 }, { 238,-1809 }, { 239,-1809 }, - { 240,-1809 }, { 241,-1809 }, { 242,-1809 }, { 243,-1809 }, { 244,-1809 }, - { 245,-1809 }, { 246,-1809 }, { 247,-1809 }, { 248,-1809 }, { 249,-1809 }, + { 189, 257 }, { 190, 257 }, { 191, 257 }, { 192, 257 }, { 193, 257 }, + { 194, 257 }, { 195, 257 }, { 196, 257 }, { 197, 257 }, { 198, 257 }, + { 199, 257 }, { 200, 257 }, { 201, 257 }, { 202, 257 }, { 203, 257 }, + { 204, 257 }, { 205, 257 }, { 206, 257 }, { 207, 257 }, { 208, 257 }, + { 209, 257 }, { 210, 257 }, { 211, 257 }, { 212, 257 }, { 213, 257 }, + { 214, 257 }, { 215, 257 }, { 216, 257 }, { 217, 257 }, { 218, 257 }, + { 219, 257 }, { 220, 257 }, { 221, 257 }, { 222, 257 }, { 223, 257 }, + { 224, 257 }, { 225, 257 }, { 226, 257 }, { 227, 257 }, { 228, 257 }, + { 229, 257 }, { 230, 257 }, { 231, 257 }, { 232, 257 }, { 233, 257 }, + { 234, 257 }, { 235, 257 }, { 236, 257 }, { 237, 257 }, { 238, 257 }, - { 250,-1809 }, { 251,-1809 }, { 252,-1809 }, { 253,-1809 }, { 254,-1809 }, - { 255,-1809 }, { 0, 57 }, { 0,11315 }, { 0, 0 }, { 0, 0 }, + { 239, 257 }, { 240, 257 }, { 241, 257 }, { 242, 257 }, { 243, 257 }, + { 244, 257 }, { 245, 257 }, { 246, 257 }, { 247, 257 }, { 248, 257 }, + { 249, 257 }, { 250, 257 }, { 251, 257 }, { 252, 257 }, { 253, 257 }, + { 254, 257 }, { 255, 257 }, { 0, 68 }, { 0,9839 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,5591 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 48,5591 }, { 49,5591 }, { 50,5591 }, { 51,5591 }, + { 52,5591 }, { 53,5591 }, { 54,5591 }, { 55,5591 }, { 56,5591 }, + { 57,5591 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,5591 }, { 66,5591 }, + { 67,5591 }, { 68,5591 }, { 69,5591 }, { 70,5591 }, { 71,5591 }, + { 72,5591 }, { 73,5591 }, { 74,5591 }, { 75,5591 }, { 76,5591 }, + { 77,5591 }, { 78,5591 }, { 79,5591 }, { 80,5591 }, { 81,5591 }, + + { 82,5591 }, { 83,5591 }, { 84,5591 }, { 85,5591 }, { 86,5591 }, + { 87,5591 }, { 88,5591 }, { 89,5591 }, { 90,5591 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,5591 }, { 0, 0 }, + { 97,5591 }, { 98,5591 }, { 99,5591 }, { 100,5591 }, { 101,5591 }, + { 102,5591 }, { 103,5591 }, { 104,5591 }, { 105,5591 }, { 106,5591 }, + { 107,5591 }, { 108,5591 }, { 109,5591 }, { 110,5591 }, { 111,5591 }, + { 112,5591 }, { 113,5591 }, { 114,5591 }, { 115,5591 }, { 116,5591 }, + { 117,5591 }, { 118,5591 }, { 119,5591 }, { 120,5591 }, { 121,5591 }, + { 122,5591 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,5591 }, { 129,5591 }, { 130,5591 }, { 131,5591 }, + + { 132,5591 }, { 133,5591 }, { 134,5591 }, { 135,5591 }, { 136,5591 }, + { 137,5591 }, { 138,5591 }, { 139,5591 }, { 140,5591 }, { 141,5591 }, + { 142,5591 }, { 143,5591 }, { 144,5591 }, { 145,5591 }, { 146,5591 }, + { 147,5591 }, { 148,5591 }, { 149,5591 }, { 150,5591 }, { 151,5591 }, + { 152,5591 }, { 153,5591 }, { 154,5591 }, { 155,5591 }, { 156,5591 }, + { 157,5591 }, { 158,5591 }, { 159,5591 }, { 160,5591 }, { 161,5591 }, + { 162,5591 }, { 163,5591 }, { 164,5591 }, { 165,5591 }, { 166,5591 }, + { 167,5591 }, { 168,5591 }, { 169,5591 }, { 170,5591 }, { 171,5591 }, + { 172,5591 }, { 173,5591 }, { 174,5591 }, { 175,5591 }, { 176,5591 }, + { 177,5591 }, { 178,5591 }, { 179,5591 }, { 180,5591 }, { 181,5591 }, + + { 182,5591 }, { 183,5591 }, { 184,5591 }, { 185,5591 }, { 186,5591 }, + { 187,5591 }, { 188,5591 }, { 189,5591 }, { 190,5591 }, { 191,5591 }, + { 192,5591 }, { 193,5591 }, { 194,5591 }, { 195,5591 }, { 196,5591 }, + { 197,5591 }, { 198,5591 }, { 199,5591 }, { 200,5591 }, { 201,5591 }, + { 202,5591 }, { 203,5591 }, { 204,5591 }, { 205,5591 }, { 206,5591 }, + { 207,5591 }, { 208,5591 }, { 209,5591 }, { 210,5591 }, { 211,5591 }, + { 212,5591 }, { 213,5591 }, { 214,5591 }, { 215,5591 }, { 216,5591 }, + { 217,5591 }, { 218,5591 }, { 219,5591 }, { 220,5591 }, { 221,5591 }, + { 222,5591 }, { 223,5591 }, { 224,5591 }, { 225,5591 }, { 226,5591 }, + { 227,5591 }, { 228,5591 }, { 229,5591 }, { 230,5591 }, { 231,5591 }, + + { 232,5591 }, { 233,5591 }, { 234,5591 }, { 235,5591 }, { 236,5591 }, + { 237,5591 }, { 238,5591 }, { 239,5591 }, { 240,5591 }, { 241,5591 }, + { 242,5591 }, { 243,5591 }, { 244,5591 }, { 245,5591 }, { 246,5591 }, + { 247,5591 }, { 248,5591 }, { 249,5591 }, { 250,5591 }, { 251,5591 }, + { 252,5591 }, { 253,5591 }, { 254,5591 }, { 255,5591 }, { 0, 68 }, + { 0,9582 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-2066 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 46,-9175 }, { 0, 0 }, - { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, - { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,3841 }, { 66,3841 }, { 67,3841 }, - { 68,3841 }, { 69,4098 }, { 70,3841 }, { 71,3841 }, { 72,3841 }, - { 73,3841 }, { 74,3841 }, { 75,3841 }, { 76,3841 }, { 77,3841 }, - { 78,3841 }, { 79,3841 }, { 80,3841 }, { 81,3841 }, { 82,3841 }, - { 83,3841 }, { 84,3841 }, { 85,3841 }, { 86,3841 }, { 87,3841 }, - { 88,3841 }, { 89,3841 }, { 90,3841 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 95,4355 }, { 0, 0 }, { 97,3841 }, - { 98,3841 }, { 99,3841 }, { 100,3841 }, { 101,4098 }, { 102,3841 }, - { 103,3841 }, { 104,3841 }, { 105,3841 }, { 106,3841 }, { 107,3841 }, - { 108,3841 }, { 109,3841 }, { 110,3841 }, { 111,3841 }, { 112,3841 }, - { 113,3841 }, { 114,3841 }, { 115,3841 }, { 116,3841 }, { 117,3841 }, - { 118,3841 }, { 119,3841 }, { 120,3841 }, { 121,3841 }, { 122,3841 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 128,3841 }, { 129,3841 }, { 130,3841 }, { 131,3841 }, { 132,3841 }, - { 133,3841 }, { 134,3841 }, { 135,3841 }, { 136,3841 }, { 137,3841 }, - { 138,3841 }, { 139,3841 }, { 140,3841 }, { 141,3841 }, { 142,3841 }, - - { 143,3841 }, { 144,3841 }, { 145,3841 }, { 146,3841 }, { 147,3841 }, - { 148,3841 }, { 149,3841 }, { 150,3841 }, { 151,3841 }, { 152,3841 }, - { 153,3841 }, { 154,3841 }, { 155,3841 }, { 156,3841 }, { 157,3841 }, - { 158,3841 }, { 159,3841 }, { 160,3841 }, { 161,3841 }, { 162,3841 }, - { 163,3841 }, { 164,3841 }, { 165,3841 }, { 166,3841 }, { 167,3841 }, - { 168,3841 }, { 169,3841 }, { 170,3841 }, { 171,3841 }, { 172,3841 }, - { 173,3841 }, { 174,3841 }, { 175,3841 }, { 176,3841 }, { 177,3841 }, - { 178,3841 }, { 179,3841 }, { 180,3841 }, { 181,3841 }, { 182,3841 }, - { 183,3841 }, { 184,3841 }, { 185,3841 }, { 186,3841 }, { 187,3841 }, - { 188,3841 }, { 189,3841 }, { 190,3841 }, { 191,3841 }, { 192,3841 }, - - { 193,3841 }, { 194,3841 }, { 195,3841 }, { 196,3841 }, { 197,3841 }, - { 198,3841 }, { 199,3841 }, { 200,3841 }, { 201,3841 }, { 202,3841 }, - { 203,3841 }, { 204,3841 }, { 205,3841 }, { 206,3841 }, { 207,3841 }, - { 208,3841 }, { 209,3841 }, { 210,3841 }, { 211,3841 }, { 212,3841 }, - { 213,3841 }, { 214,3841 }, { 215,3841 }, { 216,3841 }, { 217,3841 }, - { 218,3841 }, { 219,3841 }, { 220,3841 }, { 221,3841 }, { 222,3841 }, - { 223,3841 }, { 224,3841 }, { 225,3841 }, { 226,3841 }, { 227,3841 }, - { 228,3841 }, { 229,3841 }, { 230,3841 }, { 231,3841 }, { 232,3841 }, - { 233,3841 }, { 234,3841 }, { 235,3841 }, { 236,3841 }, { 237,3841 }, - { 238,3841 }, { 239,3841 }, { 240,3841 }, { 241,3841 }, { 242,3841 }, - - { 243,3841 }, { 244,3841 }, { 245,3841 }, { 246,3841 }, { 247,3841 }, - { 248,3841 }, { 249,3841 }, { 250,3841 }, { 251,3841 }, { 252,3841 }, - { 253,3841 }, { 254,3841 }, { 255,3841 }, { 0, 4 }, { 0,11058 }, - { 0, 30 }, { 0,11056 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 28 }, { 0,11041 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 33, 0 }, { 0, 0 }, { 35, 0 }, - - { 0, 0 }, { 37, 0 }, { 38, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 42, 0 }, { 43, 0 }, { 0, 0 }, { 45, 0 }, - { 0, 0 }, { 47, 0 }, { 0, 0 }, { 0, 0 }, { 48,-15747 }, - { 49,-15747 }, { 50,-15747 }, { 51,-15747 }, { 52,-15747 }, { 53,-15747 }, - { 54,-15747 }, { 55,-15747 }, { 0, 0 }, { 0, 0 }, { 60, 0 }, - { 61, 0 }, { 62, 0 }, { 63, 0 }, { 64, 0 }, { 48,4338 }, - { 49,4338 }, { 50,4338 }, { 51,4338 }, { 52,4338 }, { 53,4338 }, - { 54,4338 }, { 55,4338 }, { 56,4338 }, { 57,4338 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0,10979 }, { 0, 0 }, - { 0, 0 }, { 65,4338 }, { 66,4338 }, { 67,4338 }, { 68,4338 }, - - { 69,4338 }, { 70,4338 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 94, 0 }, { 0, 0 }, - { 96, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 31 }, { 0,10956 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,4338 }, { 98,4338 }, - { 99,4338 }, { 100,4338 }, { 101,4338 }, { 102,4338 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 124, 0 }, { 0, 0 }, - { 126, 0 }, { 48,4299 }, { 49,4299 }, { 50,4299 }, { 51,4299 }, - { 52,4299 }, { 53,4299 }, { 54,4299 }, { 55,4299 }, { 56,4299 }, - - { 57,4299 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,4299 }, { 66,4299 }, - { 67,4299 }, { 68,4299 }, { 69,4299 }, { 70,4299 }, { 48,-15833 }, - { 49,-15833 }, { 50,-15833 }, { 51,-15833 }, { 52,-15833 }, { 53,-15833 }, - { 54,-15833 }, { 55,-15833 }, { 56,-15833 }, { 57,-15833 }, { 0, 37 }, - { 0,10897 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65,-15833 }, { 66,-15833 }, { 67,-15833 }, { 68,-15833 }, - { 69,-15833 }, { 70,-15833 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 97,4299 }, { 98,4299 }, { 99,4299 }, { 100,4299 }, { 101,4299 }, - { 102,4299 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 36,-15933 }, { 0, 0 }, { 97,-15833 }, { 98,-15833 }, - { 99,-15833 }, { 100,-15833 }, { 101,-15833 }, { 102,-15833 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, - { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, - { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, { 69, 0 }, - { 70, 0 }, { 71, 0 }, { 72, 0 }, { 73, 0 }, { 74, 0 }, + { 0, 0 }, { 36,5334 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,5591 }, { 49,5591 }, + { 50,5591 }, { 51,5591 }, { 52,5591 }, { 53,5591 }, { 54,5591 }, + { 55,5591 }, { 56,5591 }, { 57,5591 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,5334 }, { 66,5334 }, { 67,5334 }, { 68,5334 }, { 69,5334 }, + { 70,5334 }, { 71,5334 }, { 72,5334 }, { 73,5334 }, { 74,5334 }, - { 75, 0 }, { 76, 0 }, { 77, 0 }, { 78, 0 }, { 79, 0 }, - { 80, 0 }, { 81, 0 }, { 82, 0 }, { 83, 0 }, { 84, 0 }, - { 85, 0 }, { 86, 0 }, { 87, 0 }, { 88, 0 }, { 89, 0 }, - { 90, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 95, 0 }, { 0, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, - { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, - { 105, 0 }, { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, - { 110, 0 }, { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, - { 115, 0 }, { 116, 0 }, { 117, 0 }, { 118, 0 }, { 119, 0 }, - { 120, 0 }, { 121, 0 }, { 122, 0 }, { 0, 0 }, { 0, 0 }, + { 75,5334 }, { 76,5334 }, { 77,5334 }, { 78,5334 }, { 79,5334 }, + { 80,5334 }, { 81,5334 }, { 82,5334 }, { 83,5334 }, { 84,5334 }, + { 85,5334 }, { 86,5334 }, { 87,5334 }, { 88,5334 }, { 89,5334 }, + { 90,5334 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,5334 }, { 0, 0 }, { 97,5334 }, { 98,5334 }, { 99,5334 }, + { 100,5334 }, { 101,5334 }, { 102,5334 }, { 103,5334 }, { 104,5334 }, + { 105,5334 }, { 106,5334 }, { 107,5334 }, { 108,5334 }, { 109,5334 }, + { 110,5334 }, { 111,5334 }, { 112,5334 }, { 113,5334 }, { 114,5334 }, + { 115,5334 }, { 116,5334 }, { 117,5334 }, { 118,5334 }, { 119,5334 }, + { 120,5334 }, { 121,5334 }, { 122,5334 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128, 0 }, { 129, 0 }, - { 130, 0 }, { 131, 0 }, { 132, 0 }, { 133, 0 }, { 134, 0 }, - { 135, 0 }, { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, - { 140, 0 }, { 141, 0 }, { 142, 0 }, { 143, 0 }, { 144, 0 }, - { 145, 0 }, { 146, 0 }, { 147, 0 }, { 148, 0 }, { 149, 0 }, - { 150, 0 }, { 151, 0 }, { 152, 0 }, { 153, 0 }, { 154, 0 }, - { 155, 0 }, { 156, 0 }, { 157, 0 }, { 158, 0 }, { 159, 0 }, - { 160, 0 }, { 161, 0 }, { 162, 0 }, { 163, 0 }, { 164, 0 }, - { 165, 0 }, { 166, 0 }, { 167, 0 }, { 168, 0 }, { 169, 0 }, - { 170, 0 }, { 171, 0 }, { 172, 0 }, { 173, 0 }, { 174, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,5334 }, { 129,5334 }, + { 130,5334 }, { 131,5334 }, { 132,5334 }, { 133,5334 }, { 134,5334 }, + { 135,5334 }, { 136,5334 }, { 137,5334 }, { 138,5334 }, { 139,5334 }, + { 140,5334 }, { 141,5334 }, { 142,5334 }, { 143,5334 }, { 144,5334 }, + { 145,5334 }, { 146,5334 }, { 147,5334 }, { 148,5334 }, { 149,5334 }, + { 150,5334 }, { 151,5334 }, { 152,5334 }, { 153,5334 }, { 154,5334 }, + { 155,5334 }, { 156,5334 }, { 157,5334 }, { 158,5334 }, { 159,5334 }, + { 160,5334 }, { 161,5334 }, { 162,5334 }, { 163,5334 }, { 164,5334 }, + { 165,5334 }, { 166,5334 }, { 167,5334 }, { 168,5334 }, { 169,5334 }, + { 170,5334 }, { 171,5334 }, { 172,5334 }, { 173,5334 }, { 174,5334 }, - { 175, 0 }, { 176, 0 }, { 177, 0 }, { 178, 0 }, { 179, 0 }, - { 180, 0 }, { 181, 0 }, { 182, 0 }, { 183, 0 }, { 184, 0 }, - { 185, 0 }, { 186, 0 }, { 187, 0 }, { 188, 0 }, { 189, 0 }, - { 190, 0 }, { 191, 0 }, { 192, 0 }, { 193, 0 }, { 194, 0 }, - { 195, 0 }, { 196, 0 }, { 197, 0 }, { 198, 0 }, { 199, 0 }, - { 200, 0 }, { 201, 0 }, { 202, 0 }, { 203, 0 }, { 204, 0 }, - { 205, 0 }, { 206, 0 }, { 207, 0 }, { 208, 0 }, { 209, 0 }, - { 210, 0 }, { 211, 0 }, { 212, 0 }, { 213, 0 }, { 214, 0 }, - { 215, 0 }, { 216, 0 }, { 217, 0 }, { 218, 0 }, { 219, 0 }, - { 220, 0 }, { 221, 0 }, { 222, 0 }, { 223, 0 }, { 224, 0 }, + { 175,5334 }, { 176,5334 }, { 177,5334 }, { 178,5334 }, { 179,5334 }, + { 180,5334 }, { 181,5334 }, { 182,5334 }, { 183,5334 }, { 184,5334 }, + { 185,5334 }, { 186,5334 }, { 187,5334 }, { 188,5334 }, { 189,5334 }, + { 190,5334 }, { 191,5334 }, { 192,5334 }, { 193,5334 }, { 194,5334 }, + { 195,5334 }, { 196,5334 }, { 197,5334 }, { 198,5334 }, { 199,5334 }, + { 200,5334 }, { 201,5334 }, { 202,5334 }, { 203,5334 }, { 204,5334 }, + { 205,5334 }, { 206,5334 }, { 207,5334 }, { 208,5334 }, { 209,5334 }, + { 210,5334 }, { 211,5334 }, { 212,5334 }, { 213,5334 }, { 214,5334 }, + { 215,5334 }, { 216,5334 }, { 217,5334 }, { 218,5334 }, { 219,5334 }, + { 220,5334 }, { 221,5334 }, { 222,5334 }, { 223,5334 }, { 224,5334 }, + + { 225,5334 }, { 226,5334 }, { 227,5334 }, { 228,5334 }, { 229,5334 }, + { 230,5334 }, { 231,5334 }, { 232,5334 }, { 233,5334 }, { 234,5334 }, + { 235,5334 }, { 236,5334 }, { 237,5334 }, { 238,5334 }, { 239,5334 }, + { 240,5334 }, { 241,5334 }, { 242,5334 }, { 243,5334 }, { 244,5334 }, + { 245,5334 }, { 246,5334 }, { 247,5334 }, { 248,5334 }, { 249,5334 }, + { 250,5334 }, { 251,5334 }, { 252,5334 }, { 253,5334 }, { 254,5334 }, + { 255,5334 }, { 0, 68 }, { 0,9325 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-6533 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48,-5495 }, { 49,-5495 }, { 50,-5495 }, { 51,-5495 }, { 52,-5495 }, + { 53,-5495 }, { 54,-5495 }, { 55,-5495 }, { 56,-6533 }, { 57,-6533 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 65,-6533 }, { 66,-6533 }, { 67,-6533 }, + + { 68,-6533 }, { 69,-6533 }, { 70,-6533 }, { 71,-6533 }, { 72,-6533 }, + { 73,-6533 }, { 74,-6533 }, { 75,-6533 }, { 76,-6533 }, { 77,-6533 }, + { 78,-6533 }, { 79,-6533 }, { 80,-6533 }, { 81,-6533 }, { 82,-6533 }, + { 83,-6533 }, { 84,-6533 }, { 85,-6533 }, { 86,-6533 }, { 87,-6533 }, + { 88,-6533 }, { 89,-6533 }, { 90,-6533 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 95,-6533 }, { 0, 0 }, { 97,-6533 }, + { 98,-6533 }, { 99,-6533 }, { 100,-6533 }, { 101,-6533 }, { 102,-6533 }, + { 103,-6533 }, { 104,-6533 }, { 105,-6533 }, { 106,-6533 }, { 107,-6533 }, + { 108,-6533 }, { 109,-6533 }, { 110,-6533 }, { 111,-6533 }, { 112,-6533 }, + { 113,-6533 }, { 114,-6533 }, { 115,-6533 }, { 116,-6533 }, { 117,-6533 }, - { 225, 0 }, { 226, 0 }, { 227, 0 }, { 228, 0 }, { 229, 0 }, - { 230, 0 }, { 231, 0 }, { 232, 0 }, { 233, 0 }, { 234, 0 }, - { 235, 0 }, { 236, 0 }, { 237, 0 }, { 238, 0 }, { 239, 0 }, - { 240, 0 }, { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, - { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, - { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, - { 255, 0 }, { 0, 28 }, { 0,10640 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 118,-6533 }, { 119,-6533 }, { 120,-6533 }, { 121,-6533 }, { 122,-6533 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 128,-6533 }, { 129,-6533 }, { 130,-6533 }, { 131,-6533 }, { 132,-6533 }, + { 133,-6533 }, { 134,-6533 }, { 135,-6533 }, { 136,-6533 }, { 137,-6533 }, + { 138,-6533 }, { 139,-6533 }, { 140,-6533 }, { 141,-6533 }, { 142,-6533 }, + { 143,-6533 }, { 144,-6533 }, { 145,-6533 }, { 146,-6533 }, { 147,-6533 }, + { 148,-6533 }, { 149,-6533 }, { 150,-6533 }, { 151,-6533 }, { 152,-6533 }, + { 153,-6533 }, { 154,-6533 }, { 155,-6533 }, { 156,-6533 }, { 157,-6533 }, + { 158,-6533 }, { 159,-6533 }, { 160,-6533 }, { 161,-6533 }, { 162,-6533 }, + { 163,-6533 }, { 164,-6533 }, { 165,-6533 }, { 166,-6533 }, { 167,-6533 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, - { 0,10617 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 48,3998 }, { 49,3998 }, { 50,3998 }, { 51,3998 }, { 52,3998 }, - { 53,3998 }, { 54,3998 }, { 55,3998 }, { 56,3998 }, { 57,3998 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,3998 }, { 66,3998 }, { 67,3998 }, + { 168,-6533 }, { 169,-6533 }, { 170,-6533 }, { 171,-6533 }, { 172,-6533 }, + { 173,-6533 }, { 174,-6533 }, { 175,-6533 }, { 176,-6533 }, { 177,-6533 }, + { 178,-6533 }, { 179,-6533 }, { 180,-6533 }, { 181,-6533 }, { 182,-6533 }, + { 183,-6533 }, { 184,-6533 }, { 185,-6533 }, { 186,-6533 }, { 187,-6533 }, + { 188,-6533 }, { 189,-6533 }, { 190,-6533 }, { 191,-6533 }, { 192,-6533 }, + { 193,-6533 }, { 194,-6533 }, { 195,-6533 }, { 196,-6533 }, { 197,-6533 }, + { 198,-6533 }, { 199,-6533 }, { 200,-6533 }, { 201,-6533 }, { 202,-6533 }, + { 203,-6533 }, { 204,-6533 }, { 205,-6533 }, { 206,-6533 }, { 207,-6533 }, + { 208,-6533 }, { 209,-6533 }, { 210,-6533 }, { 211,-6533 }, { 212,-6533 }, + { 213,-6533 }, { 214,-6533 }, { 215,-6533 }, { 216,-6533 }, { 217,-6533 }, - { 68,3998 }, { 69,3998 }, { 70,3998 }, { 48,3998 }, { 49,3998 }, - { 50,3998 }, { 51,3998 }, { 52,3998 }, { 53,3998 }, { 54,3998 }, - { 55,3998 }, { 56,3998 }, { 57,3998 }, { 0, 69 }, { 0,10558 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,3998 }, { 66,3998 }, { 67,3998 }, { 68,3998 }, { 69,3998 }, - { 70,3998 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,3998 }, - { 98,3998 }, { 99,3998 }, { 100,3998 }, { 101,3998 }, { 102,3998 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 218,-6533 }, { 219,-6533 }, { 220,-6533 }, { 221,-6533 }, { 222,-6533 }, + { 223,-6533 }, { 224,-6533 }, { 225,-6533 }, { 226,-6533 }, { 227,-6533 }, + { 228,-6533 }, { 229,-6533 }, { 230,-6533 }, { 231,-6533 }, { 232,-6533 }, + { 233,-6533 }, { 234,-6533 }, { 235,-6533 }, { 236,-6533 }, { 237,-6533 }, + { 238,-6533 }, { 239,-6533 }, { 240,-6533 }, { 241,-6533 }, { 242,-6533 }, + { 243,-6533 }, { 244,-6533 }, { 245,-6533 }, { 246,-6533 }, { 247,-6533 }, + { 248,-6533 }, { 249,-6533 }, { 250,-6533 }, { 251,-6533 }, { 252,-6533 }, + { 253,-6533 }, { 254,-6533 }, { 255,-6533 }, { 0, 68 }, { 0,9068 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 36,-6790 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 48,-5238 }, { 49,-5238 }, { 50,-5238 }, + { 51,-5238 }, { 52,-5238 }, { 53,-5238 }, { 54,-5238 }, { 55,-5238 }, + { 56,-5238 }, { 57,-5238 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-5238 }, + { 66,-5238 }, { 67,-5238 }, { 68,-5238 }, { 69,-5238 }, { 70,-5238 }, + { 71,-6790 }, { 72,-6790 }, { 73,-6790 }, { 74,-6790 }, { 75,-6790 }, + { 76,-6790 }, { 77,-6790 }, { 78,-6790 }, { 79,-6790 }, { 80,-6790 }, + { 81,-6790 }, { 82,-6790 }, { 83,-6790 }, { 84,-6790 }, { 85,-6790 }, + { 86,-6790 }, { 87,-6790 }, { 88,-6790 }, { 89,-6790 }, { 90,-6790 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-6790 }, + { 0, 0 }, { 97,-5238 }, { 98,-5238 }, { 99,-5238 }, { 100,-5238 }, + { 101,-5238 }, { 102,-5238 }, { 103,-6790 }, { 104,-6790 }, { 105,-6790 }, + { 106,-6790 }, { 107,-6790 }, { 108,-6790 }, { 109,-6790 }, { 110,-6790 }, - { 36, 0 }, { 0, 0 }, { 97,3998 }, { 98,3998 }, { 99,3998 }, - { 100,3998 }, { 101,3998 }, { 102,3998 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, - { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, - { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 0 }, - { 66, 0 }, { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, - { 71, 0 }, { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, - { 76, 0 }, { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, - { 81, 0 }, { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, + { 111,-6790 }, { 112,-6790 }, { 113,-6790 }, { 114,-6790 }, { 115,-6790 }, + { 116,-6790 }, { 117,-6790 }, { 118,-6790 }, { 119,-6790 }, { 120,-6790 }, + { 121,-6790 }, { 122,-6790 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128,-6790 }, { 129,-6790 }, { 130,-6790 }, + { 131,-6790 }, { 132,-6790 }, { 133,-6790 }, { 134,-6790 }, { 135,-6790 }, + { 136,-6790 }, { 137,-6790 }, { 138,-6790 }, { 139,-6790 }, { 140,-6790 }, + { 141,-6790 }, { 142,-6790 }, { 143,-6790 }, { 144,-6790 }, { 145,-6790 }, + { 146,-6790 }, { 147,-6790 }, { 148,-6790 }, { 149,-6790 }, { 150,-6790 }, + { 151,-6790 }, { 152,-6790 }, { 153,-6790 }, { 154,-6790 }, { 155,-6790 }, + { 156,-6790 }, { 157,-6790 }, { 158,-6790 }, { 159,-6790 }, { 160,-6790 }, - { 86, 0 }, { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95, 0 }, - { 0, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, - { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, - { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, - { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, - { 116, 0 }, { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, - { 121, 0 }, { 122, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, - { 131, 0 }, { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, + { 161,-6790 }, { 162,-6790 }, { 163,-6790 }, { 164,-6790 }, { 165,-6790 }, + { 166,-6790 }, { 167,-6790 }, { 168,-6790 }, { 169,-6790 }, { 170,-6790 }, + { 171,-6790 }, { 172,-6790 }, { 173,-6790 }, { 174,-6790 }, { 175,-6790 }, + { 176,-6790 }, { 177,-6790 }, { 178,-6790 }, { 179,-6790 }, { 180,-6790 }, + { 181,-6790 }, { 182,-6790 }, { 183,-6790 }, { 184,-6790 }, { 185,-6790 }, + { 186,-6790 }, { 187,-6790 }, { 188,-6790 }, { 189,-6790 }, { 190,-6790 }, + { 191,-6790 }, { 192,-6790 }, { 193,-6790 }, { 194,-6790 }, { 195,-6790 }, + { 196,-6790 }, { 197,-6790 }, { 198,-6790 }, { 199,-6790 }, { 200,-6790 }, + { 201,-6790 }, { 202,-6790 }, { 203,-6790 }, { 204,-6790 }, { 205,-6790 }, + { 206,-6790 }, { 207,-6790 }, { 208,-6790 }, { 209,-6790 }, { 210,-6790 }, - { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, - { 141, 0 }, { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, - { 146, 0 }, { 147, 0 }, { 148, 0 }, { 149, 0 }, { 150, 0 }, - { 151, 0 }, { 152, 0 }, { 153, 0 }, { 154, 0 }, { 155, 0 }, - { 156, 0 }, { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, - { 161, 0 }, { 162, 0 }, { 163, 0 }, { 164, 0 }, { 165, 0 }, - { 166, 0 }, { 167, 0 }, { 168, 0 }, { 169, 0 }, { 170, 0 }, - { 171, 0 }, { 172, 0 }, { 173, 0 }, { 174, 0 }, { 175, 0 }, - { 176, 0 }, { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, - { 181, 0 }, { 182, 0 }, { 183, 0 }, { 184, 0 }, { 185, 0 }, + { 211,-6790 }, { 212,-6790 }, { 213,-6790 }, { 214,-6790 }, { 215,-6790 }, + { 216,-6790 }, { 217,-6790 }, { 218,-6790 }, { 219,-6790 }, { 220,-6790 }, + { 221,-6790 }, { 222,-6790 }, { 223,-6790 }, { 224,-6790 }, { 225,-6790 }, + { 226,-6790 }, { 227,-6790 }, { 228,-6790 }, { 229,-6790 }, { 230,-6790 }, + { 231,-6790 }, { 232,-6790 }, { 233,-6790 }, { 234,-6790 }, { 235,-6790 }, + { 236,-6790 }, { 237,-6790 }, { 238,-6790 }, { 239,-6790 }, { 240,-6790 }, + { 241,-6790 }, { 242,-6790 }, { 243,-6790 }, { 244,-6790 }, { 245,-6790 }, + { 246,-6790 }, { 247,-6790 }, { 248,-6790 }, { 249,-6790 }, { 250,-6790 }, + { 251,-6790 }, { 252,-6790 }, { 253,-6790 }, { 254,-6790 }, { 255,-6790 }, + { 0, 68 }, { 0,8811 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 36,-7047 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-7047 }, + { 49,-7047 }, { 50,-7047 }, { 51,-7047 }, { 52,-7047 }, { 53,-7047 }, + + { 54,-7047 }, { 55,-7047 }, { 56,-7047 }, { 57,-7047 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65,-7047 }, { 66,-7047 }, { 67,-7047 }, { 68,-7047 }, + { 69,-7047 }, { 70,-7047 }, { 71,-7047 }, { 72,-7047 }, { 73,-7047 }, + { 74,-7047 }, { 75,-7047 }, { 76,-7047 }, { 77,-7047 }, { 78,-7047 }, + { 79,-7047 }, { 80,-7047 }, { 81,-7047 }, { 82,-7047 }, { 83,-7047 }, + { 84,-7047 }, { 85,-7047 }, { 86,-7047 }, { 87,-7047 }, { 88,-7047 }, + { 89,-7047 }, { 90,-7047 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95,-7047 }, { 0, 0 }, { 97,-7047 }, { 98,-7047 }, + { 99,-7047 }, { 100,-7047 }, { 101,-7047 }, { 102,-7047 }, { 103,-7047 }, + + { 104,-7047 }, { 105,-7047 }, { 106,-7047 }, { 107,-7047 }, { 108,-7047 }, + { 109,-7047 }, { 110,-7047 }, { 111,-7047 }, { 112,-7047 }, { 113,-7047 }, + { 114,-7047 }, { 115,-7047 }, { 116,-7047 }, { 117,-7047 }, { 118,-7047 }, + { 119,-7047 }, { 120,-7047 }, { 121,-7047 }, { 122,-7047 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-7047 }, + { 129,-7047 }, { 130,-7047 }, { 131,-7047 }, { 132,-7047 }, { 133,-7047 }, + { 134,-7047 }, { 135,-7047 }, { 136,-7047 }, { 137,-7047 }, { 138,-7047 }, + { 139,-7047 }, { 140,-7047 }, { 141,-7047 }, { 142,-7047 }, { 143,-7047 }, + { 144,-7047 }, { 145,-7047 }, { 146,-7047 }, { 147,-7047 }, { 148,-7047 }, + { 149,-7047 }, { 150,-7047 }, { 151,-7047 }, { 152,-7047 }, { 153,-7047 }, - { 186, 0 }, { 187, 0 }, { 188, 0 }, { 189, 0 }, { 190, 0 }, - { 191, 0 }, { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, - { 196, 0 }, { 197, 0 }, { 198, 0 }, { 199, 0 }, { 200, 0 }, - { 201, 0 }, { 202, 0 }, { 203, 0 }, { 204, 0 }, { 205, 0 }, - { 206, 0 }, { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, - { 211, 0 }, { 212, 0 }, { 213, 0 }, { 214, 0 }, { 215, 0 }, - { 216, 0 }, { 217, 0 }, { 218, 0 }, { 219, 0 }, { 220, 0 }, - { 221, 0 }, { 222, 0 }, { 223, 0 }, { 224, 0 }, { 225, 0 }, - { 226, 0 }, { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, - { 231, 0 }, { 232, 0 }, { 233, 0 }, { 234, 0 }, { 235, 0 }, + { 154,-7047 }, { 155,-7047 }, { 156,-7047 }, { 157,-7047 }, { 158,-7047 }, + { 159,-7047 }, { 160,-7047 }, { 161,-7047 }, { 162,-7047 }, { 163,-7047 }, + { 164,-7047 }, { 165,-7047 }, { 166,-7047 }, { 167,-7047 }, { 168,-7047 }, + { 169,-7047 }, { 170,-7047 }, { 171,-7047 }, { 172,-7047 }, { 173,-7047 }, + { 174,-7047 }, { 175,-7047 }, { 176,-7047 }, { 177,-7047 }, { 178,-7047 }, + { 179,-7047 }, { 180,-7047 }, { 181,-7047 }, { 182,-7047 }, { 183,-7047 }, + { 184,-7047 }, { 185,-7047 }, { 186,-7047 }, { 187,-7047 }, { 188,-7047 }, + { 189,-7047 }, { 190,-7047 }, { 191,-7047 }, { 192,-7047 }, { 193,-7047 }, + { 194,-7047 }, { 195,-7047 }, { 196,-7047 }, { 197,-7047 }, { 198,-7047 }, + { 199,-7047 }, { 200,-7047 }, { 201,-7047 }, { 202,-7047 }, { 203,-7047 }, + + { 204,-7047 }, { 205,-7047 }, { 206,-7047 }, { 207,-7047 }, { 208,-7047 }, + { 209,-7047 }, { 210,-7047 }, { 211,-7047 }, { 212,-7047 }, { 213,-7047 }, + { 214,-7047 }, { 215,-7047 }, { 216,-7047 }, { 217,-7047 }, { 218,-7047 }, + { 219,-7047 }, { 220,-7047 }, { 221,-7047 }, { 222,-7047 }, { 223,-7047 }, + { 224,-7047 }, { 225,-7047 }, { 226,-7047 }, { 227,-7047 }, { 228,-7047 }, + { 229,-7047 }, { 230,-7047 }, { 231,-7047 }, { 232,-7047 }, { 233,-7047 }, + { 234,-7047 }, { 235,-7047 }, { 236,-7047 }, { 237,-7047 }, { 238,-7047 }, + { 239,-7047 }, { 240,-7047 }, { 241,-7047 }, { 242,-7047 }, { 243,-7047 }, + { 244,-7047 }, { 245,-7047 }, { 246,-7047 }, { 247,-7047 }, { 248,-7047 }, + { 249,-7047 }, { 250,-7047 }, { 251,-7047 }, { 252,-7047 }, { 253,-7047 }, + + { 254,-7047 }, { 255,-7047 }, { 0, 68 }, { 0,8554 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-7304 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 43,-6533 }, { 0, 0 }, { 45,-6533 }, { 0, 0 }, + + { 0, 0 }, { 48,-6523 }, { 49,-6523 }, { 50,-6523 }, { 51,-6523 }, + { 52,-6523 }, { 53,-6523 }, { 54,-6523 }, { 55,-6523 }, { 56,-6523 }, + { 57,-6523 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-7304 }, { 66,-7304 }, + { 67,-7304 }, { 68,-7304 }, { 69,-7304 }, { 70,-7304 }, { 71,-7304 }, + { 72,-7304 }, { 73,-7304 }, { 74,-7304 }, { 75,-7304 }, { 76,-7304 }, + { 77,-7304 }, { 78,-7304 }, { 79,-7304 }, { 80,-7304 }, { 81,-7304 }, + { 82,-7304 }, { 83,-7304 }, { 84,-7304 }, { 85,-7304 }, { 86,-7304 }, + { 87,-7304 }, { 88,-7304 }, { 89,-7304 }, { 90,-7304 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-7304 }, { 0, 0 }, + + { 97,-7304 }, { 98,-7304 }, { 99,-7304 }, { 100,-7304 }, { 101,-7304 }, + { 102,-7304 }, { 103,-7304 }, { 104,-7304 }, { 105,-7304 }, { 106,-7304 }, + { 107,-7304 }, { 108,-7304 }, { 109,-7304 }, { 110,-7304 }, { 111,-7304 }, + { 112,-7304 }, { 113,-7304 }, { 114,-7304 }, { 115,-7304 }, { 116,-7304 }, + { 117,-7304 }, { 118,-7304 }, { 119,-7304 }, { 120,-7304 }, { 121,-7304 }, + { 122,-7304 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,-7304 }, { 129,-7304 }, { 130,-7304 }, { 131,-7304 }, + { 132,-7304 }, { 133,-7304 }, { 134,-7304 }, { 135,-7304 }, { 136,-7304 }, + { 137,-7304 }, { 138,-7304 }, { 139,-7304 }, { 140,-7304 }, { 141,-7304 }, + { 142,-7304 }, { 143,-7304 }, { 144,-7304 }, { 145,-7304 }, { 146,-7304 }, + + { 147,-7304 }, { 148,-7304 }, { 149,-7304 }, { 150,-7304 }, { 151,-7304 }, + { 152,-7304 }, { 153,-7304 }, { 154,-7304 }, { 155,-7304 }, { 156,-7304 }, + { 157,-7304 }, { 158,-7304 }, { 159,-7304 }, { 160,-7304 }, { 161,-7304 }, + { 162,-7304 }, { 163,-7304 }, { 164,-7304 }, { 165,-7304 }, { 166,-7304 }, + { 167,-7304 }, { 168,-7304 }, { 169,-7304 }, { 170,-7304 }, { 171,-7304 }, + { 172,-7304 }, { 173,-7304 }, { 174,-7304 }, { 175,-7304 }, { 176,-7304 }, + { 177,-7304 }, { 178,-7304 }, { 179,-7304 }, { 180,-7304 }, { 181,-7304 }, + { 182,-7304 }, { 183,-7304 }, { 184,-7304 }, { 185,-7304 }, { 186,-7304 }, + { 187,-7304 }, { 188,-7304 }, { 189,-7304 }, { 190,-7304 }, { 191,-7304 }, + { 192,-7304 }, { 193,-7304 }, { 194,-7304 }, { 195,-7304 }, { 196,-7304 }, + + { 197,-7304 }, { 198,-7304 }, { 199,-7304 }, { 200,-7304 }, { 201,-7304 }, + { 202,-7304 }, { 203,-7304 }, { 204,-7304 }, { 205,-7304 }, { 206,-7304 }, + { 207,-7304 }, { 208,-7304 }, { 209,-7304 }, { 210,-7304 }, { 211,-7304 }, + { 212,-7304 }, { 213,-7304 }, { 214,-7304 }, { 215,-7304 }, { 216,-7304 }, + { 217,-7304 }, { 218,-7304 }, { 219,-7304 }, { 220,-7304 }, { 221,-7304 }, + { 222,-7304 }, { 223,-7304 }, { 224,-7304 }, { 225,-7304 }, { 226,-7304 }, + { 227,-7304 }, { 228,-7304 }, { 229,-7304 }, { 230,-7304 }, { 231,-7304 }, + { 232,-7304 }, { 233,-7304 }, { 234,-7304 }, { 235,-7304 }, { 236,-7304 }, + { 237,-7304 }, { 238,-7304 }, { 239,-7304 }, { 240,-7304 }, { 241,-7304 }, + { 242,-7304 }, { 243,-7304 }, { 244,-7304 }, { 245,-7304 }, { 246,-7304 }, + + { 247,-7304 }, { 248,-7304 }, { 249,-7304 }, { 250,-7304 }, { 251,-7304 }, + { 252,-7304 }, { 253,-7304 }, { 254,-7304 }, { 255,-7304 }, { 0, 68 }, + { 0,8297 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 36,-7561 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-5495 }, { 49,-5495 }, + { 50,-5495 }, { 51,-5495 }, { 52,-5495 }, { 53,-5495 }, { 54,-5495 }, + { 55,-5495 }, { 56,-5495 }, { 57,-5495 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,-7561 }, { 66,-7561 }, { 67,-7561 }, { 68,-7561 }, { 69,-7561 }, + { 70,-7561 }, { 71,-7561 }, { 72,-7561 }, { 73,-7561 }, { 74,-7561 }, + { 75,-7561 }, { 76,-7561 }, { 77,-7561 }, { 78,-7561 }, { 79,-7561 }, + { 80,-7561 }, { 81,-7561 }, { 82,-7561 }, { 83,-7561 }, { 84,-7561 }, + { 85,-7561 }, { 86,-7561 }, { 87,-7561 }, { 88,-7561 }, { 89,-7561 }, + + { 90,-7561 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,-7561 }, { 0, 0 }, { 97,-7561 }, { 98,-7561 }, { 99,-7561 }, + { 100,-7561 }, { 101,-7561 }, { 102,-7561 }, { 103,-7561 }, { 104,-7561 }, + { 105,-7561 }, { 106,-7561 }, { 107,-7561 }, { 108,-7561 }, { 109,-7561 }, + { 110,-7561 }, { 111,-7561 }, { 112,-7561 }, { 113,-7561 }, { 114,-7561 }, + { 115,-7561 }, { 116,-7561 }, { 117,-7561 }, { 118,-7561 }, { 119,-7561 }, + { 120,-7561 }, { 121,-7561 }, { 122,-7561 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-7561 }, { 129,-7561 }, + { 130,-7561 }, { 131,-7561 }, { 132,-7561 }, { 133,-7561 }, { 134,-7561 }, + { 135,-7561 }, { 136,-7561 }, { 137,-7561 }, { 138,-7561 }, { 139,-7561 }, + + { 140,-7561 }, { 141,-7561 }, { 142,-7561 }, { 143,-7561 }, { 144,-7561 }, + { 145,-7561 }, { 146,-7561 }, { 147,-7561 }, { 148,-7561 }, { 149,-7561 }, + { 150,-7561 }, { 151,-7561 }, { 152,-7561 }, { 153,-7561 }, { 154,-7561 }, + { 155,-7561 }, { 156,-7561 }, { 157,-7561 }, { 158,-7561 }, { 159,-7561 }, + { 160,-7561 }, { 161,-7561 }, { 162,-7561 }, { 163,-7561 }, { 164,-7561 }, + { 165,-7561 }, { 166,-7561 }, { 167,-7561 }, { 168,-7561 }, { 169,-7561 }, + { 170,-7561 }, { 171,-7561 }, { 172,-7561 }, { 173,-7561 }, { 174,-7561 }, + { 175,-7561 }, { 176,-7561 }, { 177,-7561 }, { 178,-7561 }, { 179,-7561 }, + { 180,-7561 }, { 181,-7561 }, { 182,-7561 }, { 183,-7561 }, { 184,-7561 }, + { 185,-7561 }, { 186,-7561 }, { 187,-7561 }, { 188,-7561 }, { 189,-7561 }, + + { 190,-7561 }, { 191,-7561 }, { 192,-7561 }, { 193,-7561 }, { 194,-7561 }, + { 195,-7561 }, { 196,-7561 }, { 197,-7561 }, { 198,-7561 }, { 199,-7561 }, + { 200,-7561 }, { 201,-7561 }, { 202,-7561 }, { 203,-7561 }, { 204,-7561 }, + { 205,-7561 }, { 206,-7561 }, { 207,-7561 }, { 208,-7561 }, { 209,-7561 }, + { 210,-7561 }, { 211,-7561 }, { 212,-7561 }, { 213,-7561 }, { 214,-7561 }, + { 215,-7561 }, { 216,-7561 }, { 217,-7561 }, { 218,-7561 }, { 219,-7561 }, + { 220,-7561 }, { 221,-7561 }, { 222,-7561 }, { 223,-7561 }, { 224,-7561 }, + { 225,-7561 }, { 226,-7561 }, { 227,-7561 }, { 228,-7561 }, { 229,-7561 }, + { 230,-7561 }, { 231,-7561 }, { 232,-7561 }, { 233,-7561 }, { 234,-7561 }, + { 235,-7561 }, { 236,-7561 }, { 237,-7561 }, { 238,-7561 }, { 239,-7561 }, + + { 240,-7561 }, { 241,-7561 }, { 242,-7561 }, { 243,-7561 }, { 244,-7561 }, + { 245,-7561 }, { 246,-7561 }, { 247,-7561 }, { 248,-7561 }, { 249,-7561 }, + { 250,-7561 }, { 251,-7561 }, { 252,-7561 }, { 253,-7561 }, { 254,-7561 }, + { 255,-7561 }, { 0, 19 }, { 0,8040 }, { 1, 0 }, { 2, 0 }, + { 3, 0 }, { 4, 0 }, { 5, 0 }, { 6, 0 }, { 7, 0 }, + { 8, 0 }, { 9, 258 }, { 10, 516 }, { 11, 258 }, { 12, 258 }, + { 13, 516 }, { 14, 0 }, { 15, 0 }, { 16, 0 }, { 17, 0 }, + { 18, 0 }, { 19, 0 }, { 20, 0 }, { 21, 0 }, { 22, 0 }, + { 23, 0 }, { 24, 0 }, { 25, 0 }, { 26, 0 }, { 27, 0 }, + { 28, 0 }, { 29, 0 }, { 30, 0 }, { 31, 0 }, { 32, 258 }, - { 236, 0 }, { 237, 0 }, { 238, 0 }, { 239, 0 }, { 240, 0 }, - { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, - { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, - { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, - { 0, 66 }, { 0,10301 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 33, 0 }, { 34, 0 }, { 35, 0 }, { 36, 0 }, { 37, 0 }, + { 38, 0 }, { 39, 0 }, { 40, 0 }, { 41, 0 }, { 42, 0 }, + { 43, 0 }, { 44, 0 }, { 45, 563 }, { 46, 0 }, { 47, 0 }, + { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, + { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, + { 58, 0 }, { 59, 0 }, { 60, 0 }, { 61, 0 }, { 62, 0 }, + { 63, 0 }, { 64, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, + { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, + { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, { 77, 0 }, + { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 36,-257 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,3741 }, - { 49,3741 }, { 50,3741 }, { 51,3741 }, { 52,3741 }, { 53,3741 }, - { 54,3741 }, { 55,3741 }, { 56,3741 }, { 57,3741 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65,3998 }, { 66,3998 }, { 67,3998 }, { 68,3998 }, - { 69,3998 }, { 70,3998 }, { 71,3998 }, { 72,3998 }, { 73,3998 }, - { 74,3998 }, { 75,3998 }, { 76,3998 }, { 77,3998 }, { 78,3998 }, + { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, + { 88, 0 }, { 89, 0 }, { 90, 0 }, { 91, 0 }, { 92, 0 }, + { 93, 0 }, { 94, 0 }, { 95, 0 }, { 96, 0 }, { 97, 0 }, + { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, + { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, + { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, + { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, + { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, + { 123, 0 }, { 124, 0 }, { 125, 0 }, { 126, 0 }, { 127, 0 }, + { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, - { 79,3998 }, { 80,3998 }, { 81,3998 }, { 82,3998 }, { 83,3998 }, - { 84,3998 }, { 85,3998 }, { 86,3998 }, { 87,3998 }, { 88,3998 }, - { 89,3998 }, { 90,3998 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95,4255 }, { 0, 0 }, { 97,3998 }, { 98,3998 }, - { 99,3998 }, { 100,3998 }, { 101,3998 }, { 102,3998 }, { 103,3998 }, - { 104,3998 }, { 105,3998 }, { 106,3998 }, { 107,3998 }, { 108,3998 }, - { 109,3998 }, { 110,3998 }, { 111,3998 }, { 112,3998 }, { 113,3998 }, - { 114,3998 }, { 115,3998 }, { 116,3998 }, { 117,3998 }, { 118,3998 }, - { 119,3998 }, { 120,3998 }, { 121,3998 }, { 122,3998 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,3998 }, + { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, + { 138, 0 }, { 139, 0 }, { 140, 0 }, { 141, 0 }, { 142, 0 }, + { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, + { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, + { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, + { 158, 0 }, { 159, 0 }, { 160, 0 }, { 161, 0 }, { 162, 0 }, + { 163, 0 }, { 164, 0 }, { 165, 0 }, { 166, 0 }, { 167, 0 }, + { 168, 0 }, { 169, 0 }, { 170, 0 }, { 171, 0 }, { 172, 0 }, + { 173, 0 }, { 174, 0 }, { 175, 0 }, { 176, 0 }, { 177, 0 }, + { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, - { 129,3998 }, { 130,3998 }, { 131,3998 }, { 132,3998 }, { 133,3998 }, - { 134,3998 }, { 135,3998 }, { 136,3998 }, { 137,3998 }, { 138,3998 }, - { 139,3998 }, { 140,3998 }, { 141,3998 }, { 142,3998 }, { 143,3998 }, - { 144,3998 }, { 145,3998 }, { 146,3998 }, { 147,3998 }, { 148,3998 }, - { 149,3998 }, { 150,3998 }, { 151,3998 }, { 152,3998 }, { 153,3998 }, - { 154,3998 }, { 155,3998 }, { 156,3998 }, { 157,3998 }, { 158,3998 }, - { 159,3998 }, { 160,3998 }, { 161,3998 }, { 162,3998 }, { 163,3998 }, - { 164,3998 }, { 165,3998 }, { 166,3998 }, { 167,3998 }, { 168,3998 }, - { 169,3998 }, { 170,3998 }, { 171,3998 }, { 172,3998 }, { 173,3998 }, - { 174,3998 }, { 175,3998 }, { 176,3998 }, { 177,3998 }, { 178,3998 }, + { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, + { 188, 0 }, { 189, 0 }, { 190, 0 }, { 191, 0 }, { 192, 0 }, + { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, + { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, + { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, + { 208, 0 }, { 209, 0 }, { 210, 0 }, { 211, 0 }, { 212, 0 }, + { 213, 0 }, { 214, 0 }, { 215, 0 }, { 216, 0 }, { 217, 0 }, + { 218, 0 }, { 219, 0 }, { 220, 0 }, { 221, 0 }, { 222, 0 }, + { 223, 0 }, { 224, 0 }, { 225, 0 }, { 226, 0 }, { 227, 0 }, + { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, - { 179,3998 }, { 180,3998 }, { 181,3998 }, { 182,3998 }, { 183,3998 }, - { 184,3998 }, { 185,3998 }, { 186,3998 }, { 187,3998 }, { 188,3998 }, - { 189,3998 }, { 190,3998 }, { 191,3998 }, { 192,3998 }, { 193,3998 }, - { 194,3998 }, { 195,3998 }, { 196,3998 }, { 197,3998 }, { 198,3998 }, - { 199,3998 }, { 200,3998 }, { 201,3998 }, { 202,3998 }, { 203,3998 }, - { 204,3998 }, { 205,3998 }, { 206,3998 }, { 207,3998 }, { 208,3998 }, - { 209,3998 }, { 210,3998 }, { 211,3998 }, { 212,3998 }, { 213,3998 }, - { 214,3998 }, { 215,3998 }, { 216,3998 }, { 217,3998 }, { 218,3998 }, - { 219,3998 }, { 220,3998 }, { 221,3998 }, { 222,3998 }, { 223,3998 }, - { 224,3998 }, { 225,3998 }, { 226,3998 }, { 227,3998 }, { 228,3998 }, + { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, + { 238, 0 }, { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, + { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, + { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, + { 253, 0 }, { 254, 0 }, { 255, 0 }, { 256, 0 }, { 0, 19 }, + { 0,7782 }, { 1,-258 }, { 2,-258 }, { 3,-258 }, { 4,-258 }, + { 5,-258 }, { 6,-258 }, { 7,-258 }, { 8,-258 }, { 9, 0 }, + { 10, 258 }, { 11, 0 }, { 12, 0 }, { 13, 258 }, { 14,-258 }, + { 15,-258 }, { 16,-258 }, { 17,-258 }, { 18,-258 }, { 19,-258 }, + { 20,-258 }, { 21,-258 }, { 22,-258 }, { 23,-258 }, { 24,-258 }, + + { 25,-258 }, { 26,-258 }, { 27,-258 }, { 28,-258 }, { 29,-258 }, + { 30,-258 }, { 31,-258 }, { 32, 0 }, { 33,-258 }, { 34,-258 }, + { 35,-258 }, { 36,-258 }, { 37,-258 }, { 38,-258 }, { 39,-258 }, + { 40,-258 }, { 41,-258 }, { 42,-258 }, { 43,-258 }, { 44,-258 }, + { 45, 305 }, { 46,-258 }, { 47,-258 }, { 48,-258 }, { 49,-258 }, + { 50,-258 }, { 51,-258 }, { 52,-258 }, { 53,-258 }, { 54,-258 }, + { 55,-258 }, { 56,-258 }, { 57,-258 }, { 58,-258 }, { 59,-258 }, + { 60,-258 }, { 61,-258 }, { 62,-258 }, { 63,-258 }, { 64,-258 }, + { 65,-258 }, { 66,-258 }, { 67,-258 }, { 68,-258 }, { 69,-258 }, + { 70,-258 }, { 71,-258 }, { 72,-258 }, { 73,-258 }, { 74,-258 }, + + { 75,-258 }, { 76,-258 }, { 77,-258 }, { 78,-258 }, { 79,-258 }, + { 80,-258 }, { 81,-258 }, { 82,-258 }, { 83,-258 }, { 84,-258 }, + { 85,-258 }, { 86,-258 }, { 87,-258 }, { 88,-258 }, { 89,-258 }, + { 90,-258 }, { 91,-258 }, { 92,-258 }, { 93,-258 }, { 94,-258 }, + { 95,-258 }, { 96,-258 }, { 97,-258 }, { 98,-258 }, { 99,-258 }, + { 100,-258 }, { 101,-258 }, { 102,-258 }, { 103,-258 }, { 104,-258 }, + { 105,-258 }, { 106,-258 }, { 107,-258 }, { 108,-258 }, { 109,-258 }, + { 110,-258 }, { 111,-258 }, { 112,-258 }, { 113,-258 }, { 114,-258 }, + { 115,-258 }, { 116,-258 }, { 117,-258 }, { 118,-258 }, { 119,-258 }, + { 120,-258 }, { 121,-258 }, { 122,-258 }, { 123,-258 }, { 124,-258 }, + + { 125,-258 }, { 126,-258 }, { 127,-258 }, { 128,-258 }, { 129,-258 }, + { 130,-258 }, { 131,-258 }, { 132,-258 }, { 133,-258 }, { 134,-258 }, + { 135,-258 }, { 136,-258 }, { 137,-258 }, { 138,-258 }, { 139,-258 }, + { 140,-258 }, { 141,-258 }, { 142,-258 }, { 143,-258 }, { 144,-258 }, + { 145,-258 }, { 146,-258 }, { 147,-258 }, { 148,-258 }, { 149,-258 }, + { 150,-258 }, { 151,-258 }, { 152,-258 }, { 153,-258 }, { 154,-258 }, + { 155,-258 }, { 156,-258 }, { 157,-258 }, { 158,-258 }, { 159,-258 }, + { 160,-258 }, { 161,-258 }, { 162,-258 }, { 163,-258 }, { 164,-258 }, + { 165,-258 }, { 166,-258 }, { 167,-258 }, { 168,-258 }, { 169,-258 }, + { 170,-258 }, { 171,-258 }, { 172,-258 }, { 173,-258 }, { 174,-258 }, + + { 175,-258 }, { 176,-258 }, { 177,-258 }, { 178,-258 }, { 179,-258 }, + { 180,-258 }, { 181,-258 }, { 182,-258 }, { 183,-258 }, { 184,-258 }, + { 185,-258 }, { 186,-258 }, { 187,-258 }, { 188,-258 }, { 189,-258 }, + { 190,-258 }, { 191,-258 }, { 192,-258 }, { 193,-258 }, { 194,-258 }, + { 195,-258 }, { 196,-258 }, { 197,-258 }, { 198,-258 }, { 199,-258 }, + { 200,-258 }, { 201,-258 }, { 202,-258 }, { 203,-258 }, { 204,-258 }, + { 205,-258 }, { 206,-258 }, { 207,-258 }, { 208,-258 }, { 209,-258 }, + { 210,-258 }, { 211,-258 }, { 212,-258 }, { 213,-258 }, { 214,-258 }, + { 215,-258 }, { 216,-258 }, { 217,-258 }, { 218,-258 }, { 219,-258 }, + { 220,-258 }, { 221,-258 }, { 222,-258 }, { 223,-258 }, { 224,-258 }, + + { 225,-258 }, { 226,-258 }, { 227,-258 }, { 228,-258 }, { 229,-258 }, + { 230,-258 }, { 231,-258 }, { 232,-258 }, { 233,-258 }, { 234,-258 }, + { 235,-258 }, { 236,-258 }, { 237,-258 }, { 238,-258 }, { 239,-258 }, + { 240,-258 }, { 241,-258 }, { 242,-258 }, { 243,-258 }, { 244,-258 }, + { 245,-258 }, { 246,-258 }, { 247,-258 }, { 248,-258 }, { 249,-258 }, + { 250,-258 }, { 251,-258 }, { 252,-258 }, { 253,-258 }, { 254,-258 }, + { 255,-258 }, { 256,-258 }, { 0, 19 }, { 0,7524 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 9,-11757 }, { 10,-11757 }, { 11,-11757 }, + { 12,-11757 }, { 13,-11757 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 32,-11757 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 39,-22044 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 45,-22042 }, { 0, 19 }, + { 0,7477 }, { 1,-563 }, { 2,-563 }, { 3,-563 }, { 4,-563 }, + { 5,-563 }, { 6,-563 }, { 7,-563 }, { 8,-563 }, { 9,-305 }, + { 10, -47 }, { 11,-305 }, { 12,-305 }, { 13, -47 }, { 14,-563 }, + { 15,-563 }, { 16,-563 }, { 17,-563 }, { 18,-563 }, { 19,-563 }, + + { 20,-563 }, { 21,-563 }, { 22,-563 }, { 23,-563 }, { 24,-563 }, + { 25,-563 }, { 26,-563 }, { 27,-563 }, { 28,-563 }, { 29,-563 }, + { 30,-563 }, { 31,-563 }, { 32,-305 }, { 33,-563 }, { 34,-563 }, + { 35,-563 }, { 36,-563 }, { 37,-563 }, { 38,-563 }, { 39,-563 }, + { 40,-563 }, { 41,-563 }, { 42,-563 }, { 43,-563 }, { 44,-563 }, + { 45,3743 }, { 46,-563 }, { 47,-563 }, { 48,-563 }, { 49,-563 }, + { 50,-563 }, { 51,-563 }, { 52,-563 }, { 53,-563 }, { 54,-563 }, + { 55,-563 }, { 56,-563 }, { 57,-563 }, { 58,-563 }, { 59,-563 }, + { 60,-563 }, { 61,-563 }, { 62,-563 }, { 63,-563 }, { 64,-563 }, + { 65,-563 }, { 66,-563 }, { 67,-563 }, { 68,-563 }, { 69,-563 }, + + { 70,-563 }, { 71,-563 }, { 72,-563 }, { 73,-563 }, { 74,-563 }, + { 75,-563 }, { 76,-563 }, { 77,-563 }, { 78,-563 }, { 79,-563 }, + { 80,-563 }, { 81,-563 }, { 82,-563 }, { 83,-563 }, { 84,-563 }, + { 85,-563 }, { 86,-563 }, { 87,-563 }, { 88,-563 }, { 89,-563 }, + { 90,-563 }, { 91,-563 }, { 92,-563 }, { 93,-563 }, { 94,-563 }, + { 95,-563 }, { 96,-563 }, { 97,-563 }, { 98,-563 }, { 99,-563 }, + { 100,-563 }, { 101,-563 }, { 102,-563 }, { 103,-563 }, { 104,-563 }, + { 105,-563 }, { 106,-563 }, { 107,-563 }, { 108,-563 }, { 109,-563 }, + { 110,-563 }, { 111,-563 }, { 112,-563 }, { 113,-563 }, { 114,-563 }, + { 115,-563 }, { 116,-563 }, { 117,-563 }, { 118,-563 }, { 119,-563 }, + + { 120,-563 }, { 121,-563 }, { 122,-563 }, { 123,-563 }, { 124,-563 }, + { 125,-563 }, { 126,-563 }, { 127,-563 }, { 128,-563 }, { 129,-563 }, + { 130,-563 }, { 131,-563 }, { 132,-563 }, { 133,-563 }, { 134,-563 }, + { 135,-563 }, { 136,-563 }, { 137,-563 }, { 138,-563 }, { 139,-563 }, + { 140,-563 }, { 141,-563 }, { 142,-563 }, { 143,-563 }, { 144,-563 }, + { 145,-563 }, { 146,-563 }, { 147,-563 }, { 148,-563 }, { 149,-563 }, + { 150,-563 }, { 151,-563 }, { 152,-563 }, { 153,-563 }, { 154,-563 }, + { 155,-563 }, { 156,-563 }, { 157,-563 }, { 158,-563 }, { 159,-563 }, + { 160,-563 }, { 161,-563 }, { 162,-563 }, { 163,-563 }, { 164,-563 }, + { 165,-563 }, { 166,-563 }, { 167,-563 }, { 168,-563 }, { 169,-563 }, + + { 170,-563 }, { 171,-563 }, { 172,-563 }, { 173,-563 }, { 174,-563 }, + { 175,-563 }, { 176,-563 }, { 177,-563 }, { 178,-563 }, { 179,-563 }, + { 180,-563 }, { 181,-563 }, { 182,-563 }, { 183,-563 }, { 184,-563 }, + { 185,-563 }, { 186,-563 }, { 187,-563 }, { 188,-563 }, { 189,-563 }, + { 190,-563 }, { 191,-563 }, { 192,-563 }, { 193,-563 }, { 194,-563 }, + { 195,-563 }, { 196,-563 }, { 197,-563 }, { 198,-563 }, { 199,-563 }, + { 200,-563 }, { 201,-563 }, { 202,-563 }, { 203,-563 }, { 204,-563 }, + { 205,-563 }, { 206,-563 }, { 207,-563 }, { 208,-563 }, { 209,-563 }, + { 210,-563 }, { 211,-563 }, { 212,-563 }, { 213,-563 }, { 214,-563 }, + { 215,-563 }, { 216,-563 }, { 217,-563 }, { 218,-563 }, { 219,-563 }, + + { 220,-563 }, { 221,-563 }, { 222,-563 }, { 223,-563 }, { 224,-563 }, + { 225,-563 }, { 226,-563 }, { 227,-563 }, { 228,-563 }, { 229,-563 }, + { 230,-563 }, { 231,-563 }, { 232,-563 }, { 233,-563 }, { 234,-563 }, + { 235,-563 }, { 236,-563 }, { 237,-563 }, { 238,-563 }, { 239,-563 }, + { 240,-563 }, { 241,-563 }, { 242,-563 }, { 243,-563 }, { 244,-563 }, + { 245,-563 }, { 246,-563 }, { 247,-563 }, { 248,-563 }, { 249,-563 }, + { 250,-563 }, { 251,-563 }, { 252,-563 }, { 253,-563 }, { 254,-563 }, + { 255,-563 }, { 256,-563 }, { 0, 19 }, { 0,7219 }, { 1,-5930 }, + { 2,-5930 }, { 3,-5930 }, { 4,-5930 }, { 5,-5930 }, { 6,-5930 }, + { 7,-5930 }, { 8,-5930 }, { 9,-5672 }, { 10,-12086 }, { 11,-5672 }, + + { 12,-5672 }, { 13,-12086 }, { 14,-5930 }, { 15,-5930 }, { 16,-5930 }, + { 17,-5930 }, { 18,-5930 }, { 19,-5930 }, { 20,-5930 }, { 21,-5930 }, + { 22,-5930 }, { 23,-5930 }, { 24,-5930 }, { 25,-5930 }, { 26,-5930 }, + { 27,-5930 }, { 28,-5930 }, { 29,-5930 }, { 30,-5930 }, { 31,-5930 }, + { 32,-5672 }, { 33,-5930 }, { 34,-5930 }, { 35,-5930 }, { 36,-5930 }, + { 37,-5930 }, { 38,-5930 }, { 39,-5930 }, { 40,-5930 }, { 41,-5930 }, + { 42,-5930 }, { 43,-5930 }, { 44,-5930 }, { 45, 0 }, { 46,-5930 }, + { 47,-5930 }, { 48,-5930 }, { 49,-5930 }, { 50,-5930 }, { 51,-5930 }, + { 52,-5930 }, { 53,-5930 }, { 54,-5930 }, { 55,-5930 }, { 56,-5930 }, + { 57,-5930 }, { 58,-5930 }, { 59,-5930 }, { 60,-5930 }, { 61,-5930 }, + + { 62,-5930 }, { 63,-5930 }, { 64,-5930 }, { 65,-5930 }, { 66,-5930 }, + { 67,-5930 }, { 68,-5930 }, { 69,-5930 }, { 70,-5930 }, { 71,-5930 }, + { 72,-5930 }, { 73,-5930 }, { 74,-5930 }, { 75,-5930 }, { 76,-5930 }, + { 77,-5930 }, { 78,-5930 }, { 79,-5930 }, { 80,-5930 }, { 81,-5930 }, + { 82,-5930 }, { 83,-5930 }, { 84,-5930 }, { 85,-5930 }, { 86,-5930 }, + { 87,-5930 }, { 88,-5930 }, { 89,-5930 }, { 90,-5930 }, { 91,-5930 }, + { 92,-5930 }, { 93,-5930 }, { 94,-5930 }, { 95,-5930 }, { 96,-5930 }, + { 97,-5930 }, { 98,-5930 }, { 99,-5930 }, { 100,-5930 }, { 101,-5930 }, + { 102,-5930 }, { 103,-5930 }, { 104,-5930 }, { 105,-5930 }, { 106,-5930 }, + { 107,-5930 }, { 108,-5930 }, { 109,-5930 }, { 110,-5930 }, { 111,-5930 }, + + { 112,-5930 }, { 113,-5930 }, { 114,-5930 }, { 115,-5930 }, { 116,-5930 }, + { 117,-5930 }, { 118,-5930 }, { 119,-5930 }, { 120,-5930 }, { 121,-5930 }, + { 122,-5930 }, { 123,-5930 }, { 124,-5930 }, { 125,-5930 }, { 126,-5930 }, + { 127,-5930 }, { 128,-5930 }, { 129,-5930 }, { 130,-5930 }, { 131,-5930 }, + { 132,-5930 }, { 133,-5930 }, { 134,-5930 }, { 135,-5930 }, { 136,-5930 }, + { 137,-5930 }, { 138,-5930 }, { 139,-5930 }, { 140,-5930 }, { 141,-5930 }, + { 142,-5930 }, { 143,-5930 }, { 144,-5930 }, { 145,-5930 }, { 146,-5930 }, + { 147,-5930 }, { 148,-5930 }, { 149,-5930 }, { 150,-5930 }, { 151,-5930 }, + { 152,-5930 }, { 153,-5930 }, { 154,-5930 }, { 155,-5930 }, { 156,-5930 }, + { 157,-5930 }, { 158,-5930 }, { 159,-5930 }, { 160,-5930 }, { 161,-5930 }, + + { 162,-5930 }, { 163,-5930 }, { 164,-5930 }, { 165,-5930 }, { 166,-5930 }, + { 167,-5930 }, { 168,-5930 }, { 169,-5930 }, { 170,-5930 }, { 171,-5930 }, + { 172,-5930 }, { 173,-5930 }, { 174,-5930 }, { 175,-5930 }, { 176,-5930 }, + { 177,-5930 }, { 178,-5930 }, { 179,-5930 }, { 180,-5930 }, { 181,-5930 }, + { 182,-5930 }, { 183,-5930 }, { 184,-5930 }, { 185,-5930 }, { 186,-5930 }, + { 187,-5930 }, { 188,-5930 }, { 189,-5930 }, { 190,-5930 }, { 191,-5930 }, + { 192,-5930 }, { 193,-5930 }, { 194,-5930 }, { 195,-5930 }, { 196,-5930 }, + { 197,-5930 }, { 198,-5930 }, { 199,-5930 }, { 200,-5930 }, { 201,-5930 }, + { 202,-5930 }, { 203,-5930 }, { 204,-5930 }, { 205,-5930 }, { 206,-5930 }, + { 207,-5930 }, { 208,-5930 }, { 209,-5930 }, { 210,-5930 }, { 211,-5930 }, + + { 212,-5930 }, { 213,-5930 }, { 214,-5930 }, { 215,-5930 }, { 216,-5930 }, + { 217,-5930 }, { 218,-5930 }, { 219,-5930 }, { 220,-5930 }, { 221,-5930 }, + { 222,-5930 }, { 223,-5930 }, { 224,-5930 }, { 225,-5930 }, { 226,-5930 }, + { 227,-5930 }, { 228,-5930 }, { 229,-5930 }, { 230,-5930 }, { 231,-5930 }, + { 232,-5930 }, { 233,-5930 }, { 234,-5930 }, { 235,-5930 }, { 236,-5930 }, + { 237,-5930 }, { 238,-5930 }, { 239,-5930 }, { 240,-5930 }, { 241,-5930 }, + { 242,-5930 }, { 243,-5930 }, { 244,-5930 }, { 245,-5930 }, { 246,-5930 }, + { 247,-5930 }, { 248,-5930 }, { 249,-5930 }, { 250,-5930 }, { 251,-5930 }, + { 252,-5930 }, { 253,-5930 }, { 254,-5930 }, { 255,-5930 }, { 256,-5930 }, + { 0, 28 }, { 0,6961 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0,6938 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,3485 }, + { 49,3485 }, { 50,3485 }, { 51,3485 }, { 52,3485 }, { 53,3485 }, + + { 54,3485 }, { 55,3485 }, { 56,3485 }, { 57,3485 }, { 0, 0 }, + { 0, 0 }, { 0, 28 }, { 0,6900 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65,3485 }, { 66,3485 }, { 67,3485 }, { 68,3485 }, + { 69,3485 }, { 70,3485 }, { 48,3485 }, { 49,3485 }, { 50,3485 }, + { 51,3485 }, { 52,3485 }, { 53,3485 }, { 54,3485 }, { 55,3485 }, + { 56,3485 }, { 57,3485 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, + { 0,6877 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,3485 }, + { 66,3485 }, { 67,3485 }, { 68,3485 }, { 69,3485 }, { 70,3485 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,3485 }, { 98,3485 }, + { 99,3485 }, { 100,3485 }, { 101,3485 }, { 102,3485 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48,3485 }, { 49,3485 }, { 50,3485 }, { 51,3485 }, { 52,3485 }, + { 53,3485 }, { 54,3485 }, { 55,3485 }, { 56,3485 }, { 57,3485 }, + { 0, 0 }, { 97,3485 }, { 98,3485 }, { 99,3485 }, { 100,3485 }, + { 101,3485 }, { 102,3485 }, { 65,3485 }, { 66,3485 }, { 67,3485 }, + { 68,3485 }, { 69,3485 }, { 70,3485 }, { 48,3485 }, { 49,3485 }, + { 50,3485 }, { 51,3485 }, { 52,3485 }, { 53,3485 }, { 54,3485 }, + { 55,3485 }, { 56,3485 }, { 57,3485 }, { 0, 66 }, { 0,6818 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,3485 }, { 66,3485 }, { 67,3485 }, { 68,3485 }, { 69,3485 }, + + { 70,3485 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,3485 }, + { 98,3485 }, { 99,3485 }, { 100,3485 }, { 101,3485 }, { 102,3485 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 36,-5077 }, { 0, 0 }, { 97,3485 }, { 98,3485 }, { 99,3485 }, + { 100,3485 }, { 101,3485 }, { 102,3485 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, + { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, + { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 229,3998 }, { 230,3998 }, { 231,3998 }, { 232,3998 }, { 233,3998 }, - { 234,3998 }, { 235,3998 }, { 236,3998 }, { 237,3998 }, { 238,3998 }, - { 239,3998 }, { 240,3998 }, { 241,3998 }, { 242,3998 }, { 243,3998 }, - { 244,3998 }, { 245,3998 }, { 246,3998 }, { 247,3998 }, { 248,3998 }, - { 249,3998 }, { 250,3998 }, { 251,3998 }, { 252,3998 }, { 253,3998 }, - { 254,3998 }, { 255,3998 }, { 0, 64 }, { 0,10044 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 257 }, + { 66, 257 }, { 67, 257 }, { 68, 257 }, { 69, 257 }, { 70, 257 }, + { 71, 257 }, { 72, 257 }, { 73, 257 }, { 74, 257 }, { 75, 257 }, + { 76, 257 }, { 77, 257 }, { 78, 257 }, { 79, 257 }, { 80, 257 }, + { 81, 257 }, { 82, 257 }, { 83, 257 }, { 84, 257 }, { 85, 257 }, + { 86, 257 }, { 87, 257 }, { 88, 257 }, { 89, 257 }, { 90, 257 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95, 514 }, + { 0, 0 }, { 97, 257 }, { 98, 257 }, { 99, 257 }, { 100, 257 }, + { 101, 257 }, { 102, 257 }, { 103, 257 }, { 104, 257 }, { 105, 257 }, + { 106, 257 }, { 107, 257 }, { 108, 257 }, { 109, 257 }, { 110, 257 }, + + { 111, 257 }, { 112, 257 }, { 113, 257 }, { 114, 257 }, { 115, 257 }, + { 116, 257 }, { 117, 257 }, { 118, 257 }, { 119, 257 }, { 120, 257 }, + { 121, 257 }, { 122, 257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128, 257 }, { 129, 257 }, { 130, 257 }, + { 131, 257 }, { 132, 257 }, { 133, 257 }, { 134, 257 }, { 135, 257 }, + { 136, 257 }, { 137, 257 }, { 138, 257 }, { 139, 257 }, { 140, 257 }, + { 141, 257 }, { 142, 257 }, { 143, 257 }, { 144, 257 }, { 145, 257 }, + { 146, 257 }, { 147, 257 }, { 148, 257 }, { 149, 257 }, { 150, 257 }, + { 151, 257 }, { 152, 257 }, { 153, 257 }, { 154, 257 }, { 155, 257 }, + { 156, 257 }, { 157, 257 }, { 158, 257 }, { 159, 257 }, { 160, 257 }, + + { 161, 257 }, { 162, 257 }, { 163, 257 }, { 164, 257 }, { 165, 257 }, + { 166, 257 }, { 167, 257 }, { 168, 257 }, { 169, 257 }, { 170, 257 }, + { 171, 257 }, { 172, 257 }, { 173, 257 }, { 174, 257 }, { 175, 257 }, + { 176, 257 }, { 177, 257 }, { 178, 257 }, { 179, 257 }, { 180, 257 }, + { 181, 257 }, { 182, 257 }, { 183, 257 }, { 184, 257 }, { 185, 257 }, + { 186, 257 }, { 187, 257 }, { 188, 257 }, { 189, 257 }, { 190, 257 }, + { 191, 257 }, { 192, 257 }, { 193, 257 }, { 194, 257 }, { 195, 257 }, + { 196, 257 }, { 197, 257 }, { 198, 257 }, { 199, 257 }, { 200, 257 }, + { 201, 257 }, { 202, 257 }, { 203, 257 }, { 204, 257 }, { 205, 257 }, + { 206, 257 }, { 207, 257 }, { 208, 257 }, { 209, 257 }, { 210, 257 }, + + { 211, 257 }, { 212, 257 }, { 213, 257 }, { 214, 257 }, { 215, 257 }, + { 216, 257 }, { 217, 257 }, { 218, 257 }, { 219, 257 }, { 220, 257 }, + { 221, 257 }, { 222, 257 }, { 223, 257 }, { 224, 257 }, { 225, 257 }, + { 226, 257 }, { 227, 257 }, { 228, 257 }, { 229, 257 }, { 230, 257 }, + { 231, 257 }, { 232, 257 }, { 233, 257 }, { 234, 257 }, { 235, 257 }, + { 236, 257 }, { 237, 257 }, { 238, 257 }, { 239, 257 }, { 240, 257 }, + { 241, 257 }, { 242, 257 }, { 243, 257 }, { 244, 257 }, { 245, 257 }, + { 246, 257 }, { 247, 257 }, { 248, 257 }, { 249, 257 }, { 250, 257 }, + { 251, 257 }, { 252, 257 }, { 253, 257 }, { 254, 257 }, { 255, 257 }, + { 0, 69 }, { 0,6561 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-514 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, - { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, - { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,4255 }, { 66,4255 }, - { 67,4255 }, { 68,4255 }, { 69,4512 }, { 70,4255 }, { 71,4255 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 36,3228 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,3228 }, + { 49,3228 }, { 50,3228 }, { 51,3228 }, { 52,3228 }, { 53,3228 }, + + { 54,3228 }, { 55,3228 }, { 56,3228 }, { 57,3228 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65,3228 }, { 66,3228 }, { 67,3228 }, { 68,3228 }, + { 69,3228 }, { 70,3228 }, { 71,3228 }, { 72,3228 }, { 73,3228 }, + { 74,3228 }, { 75,3228 }, { 76,3228 }, { 77,3228 }, { 78,3228 }, + { 79,3228 }, { 80,3228 }, { 81,3228 }, { 82,3228 }, { 83,3228 }, + { 84,3228 }, { 85,3228 }, { 86,3228 }, { 87,3228 }, { 88,3228 }, + { 89,3228 }, { 90,3228 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95,3228 }, { 0, 0 }, { 97,3228 }, { 98,3228 }, + { 99,3228 }, { 100,3228 }, { 101,3228 }, { 102,3228 }, { 103,3228 }, - { 72,4255 }, { 73,4255 }, { 74,4255 }, { 75,4255 }, { 76,4255 }, - { 77,4255 }, { 78,4255 }, { 79,4255 }, { 80,4255 }, { 81,4255 }, - { 82,4255 }, { 83,4255 }, { 84,4255 }, { 85,4255 }, { 86,4255 }, - { 87,4255 }, { 88,4255 }, { 89,4255 }, { 90,4255 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,4769 }, { 0, 0 }, - { 97,4255 }, { 98,4255 }, { 99,4255 }, { 100,4255 }, { 101,4512 }, - { 102,4255 }, { 103,4255 }, { 104,4255 }, { 105,4255 }, { 106,4255 }, - { 107,4255 }, { 108,4255 }, { 109,4255 }, { 110,4255 }, { 111,4255 }, - { 112,4255 }, { 113,4255 }, { 114,4255 }, { 115,4255 }, { 116,4255 }, - { 117,4255 }, { 118,4255 }, { 119,4255 }, { 120,4255 }, { 121,4255 }, + { 104,3228 }, { 105,3228 }, { 106,3228 }, { 107,3228 }, { 108,3228 }, + { 109,3228 }, { 110,3228 }, { 111,3228 }, { 112,3228 }, { 113,3228 }, + { 114,3228 }, { 115,3228 }, { 116,3228 }, { 117,3228 }, { 118,3228 }, + { 119,3228 }, { 120,3228 }, { 121,3228 }, { 122,3228 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,3228 }, + { 129,3228 }, { 130,3228 }, { 131,3228 }, { 132,3228 }, { 133,3228 }, + { 134,3228 }, { 135,3228 }, { 136,3228 }, { 137,3228 }, { 138,3228 }, + { 139,3228 }, { 140,3228 }, { 141,3228 }, { 142,3228 }, { 143,3228 }, + { 144,3228 }, { 145,3228 }, { 146,3228 }, { 147,3228 }, { 148,3228 }, + { 149,3228 }, { 150,3228 }, { 151,3228 }, { 152,3228 }, { 153,3228 }, - { 122,4255 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,4255 }, { 129,4255 }, { 130,4255 }, { 131,4255 }, - { 132,4255 }, { 133,4255 }, { 134,4255 }, { 135,4255 }, { 136,4255 }, - { 137,4255 }, { 138,4255 }, { 139,4255 }, { 140,4255 }, { 141,4255 }, - { 142,4255 }, { 143,4255 }, { 144,4255 }, { 145,4255 }, { 146,4255 }, - { 147,4255 }, { 148,4255 }, { 149,4255 }, { 150,4255 }, { 151,4255 }, - { 152,4255 }, { 153,4255 }, { 154,4255 }, { 155,4255 }, { 156,4255 }, - { 157,4255 }, { 158,4255 }, { 159,4255 }, { 160,4255 }, { 161,4255 }, - { 162,4255 }, { 163,4255 }, { 164,4255 }, { 165,4255 }, { 166,4255 }, - { 167,4255 }, { 168,4255 }, { 169,4255 }, { 170,4255 }, { 171,4255 }, + { 154,3228 }, { 155,3228 }, { 156,3228 }, { 157,3228 }, { 158,3228 }, + { 159,3228 }, { 160,3228 }, { 161,3228 }, { 162,3228 }, { 163,3228 }, + { 164,3228 }, { 165,3228 }, { 166,3228 }, { 167,3228 }, { 168,3228 }, + { 169,3228 }, { 170,3228 }, { 171,3228 }, { 172,3228 }, { 173,3228 }, + { 174,3228 }, { 175,3228 }, { 176,3228 }, { 177,3228 }, { 178,3228 }, + { 179,3228 }, { 180,3228 }, { 181,3228 }, { 182,3228 }, { 183,3228 }, + { 184,3228 }, { 185,3228 }, { 186,3228 }, { 187,3228 }, { 188,3228 }, + { 189,3228 }, { 190,3228 }, { 191,3228 }, { 192,3228 }, { 193,3228 }, + { 194,3228 }, { 195,3228 }, { 196,3228 }, { 197,3228 }, { 198,3228 }, + { 199,3228 }, { 200,3228 }, { 201,3228 }, { 202,3228 }, { 203,3228 }, - { 172,4255 }, { 173,4255 }, { 174,4255 }, { 175,4255 }, { 176,4255 }, - { 177,4255 }, { 178,4255 }, { 179,4255 }, { 180,4255 }, { 181,4255 }, - { 182,4255 }, { 183,4255 }, { 184,4255 }, { 185,4255 }, { 186,4255 }, - { 187,4255 }, { 188,4255 }, { 189,4255 }, { 190,4255 }, { 191,4255 }, - { 192,4255 }, { 193,4255 }, { 194,4255 }, { 195,4255 }, { 196,4255 }, - { 197,4255 }, { 198,4255 }, { 199,4255 }, { 200,4255 }, { 201,4255 }, - { 202,4255 }, { 203,4255 }, { 204,4255 }, { 205,4255 }, { 206,4255 }, - { 207,4255 }, { 208,4255 }, { 209,4255 }, { 210,4255 }, { 211,4255 }, - { 212,4255 }, { 213,4255 }, { 214,4255 }, { 215,4255 }, { 216,4255 }, - { 217,4255 }, { 218,4255 }, { 219,4255 }, { 220,4255 }, { 221,4255 }, + { 204,3228 }, { 205,3228 }, { 206,3228 }, { 207,3228 }, { 208,3228 }, + { 209,3228 }, { 210,3228 }, { 211,3228 }, { 212,3228 }, { 213,3228 }, + { 214,3228 }, { 215,3228 }, { 216,3228 }, { 217,3228 }, { 218,3228 }, + { 219,3228 }, { 220,3228 }, { 221,3228 }, { 222,3228 }, { 223,3228 }, + { 224,3228 }, { 225,3228 }, { 226,3228 }, { 227,3228 }, { 228,3228 }, + { 229,3228 }, { 230,3228 }, { 231,3228 }, { 232,3228 }, { 233,3228 }, + { 234,3228 }, { 235,3228 }, { 236,3228 }, { 237,3228 }, { 238,3228 }, + { 239,3228 }, { 240,3228 }, { 241,3228 }, { 242,3228 }, { 243,3228 }, + { 244,3228 }, { 245,3228 }, { 246,3228 }, { 247,3228 }, { 248,3228 }, + { 249,3228 }, { 250,3228 }, { 251,3228 }, { 252,3228 }, { 253,3228 }, - { 222,4255 }, { 223,4255 }, { 224,4255 }, { 225,4255 }, { 226,4255 }, - { 227,4255 }, { 228,4255 }, { 229,4255 }, { 230,4255 }, { 231,4255 }, - { 232,4255 }, { 233,4255 }, { 234,4255 }, { 235,4255 }, { 236,4255 }, - { 237,4255 }, { 238,4255 }, { 239,4255 }, { 240,4255 }, { 241,4255 }, - { 242,4255 }, { 243,4255 }, { 244,4255 }, { 245,4255 }, { 246,4255 }, - { 247,4255 }, { 248,4255 }, { 249,4255 }, { 250,4255 }, { 251,4255 }, - { 252,4255 }, { 253,4255 }, { 254,4255 }, { 255,4255 }, { 0, 64 }, - { 0,9787 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 254,3228 }, { 255,3228 }, { 0, 69 }, { 0,6304 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,2971 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 48,3228 }, { 49,3228 }, { 50,3228 }, { 51,3228 }, + { 52,3228 }, { 53,3228 }, { 54,3228 }, { 55,3228 }, { 56,3228 }, + { 57,3228 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,2971 }, { 66,2971 }, + { 67,2971 }, { 68,2971 }, { 69,2971 }, { 70,2971 }, { 71,2971 }, + { 72,2971 }, { 73,2971 }, { 74,2971 }, { 75,2971 }, { 76,2971 }, + { 77,2971 }, { 78,2971 }, { 79,2971 }, { 80,2971 }, { 81,2971 }, + { 82,2971 }, { 83,2971 }, { 84,2971 }, { 85,2971 }, { 86,2971 }, + { 87,2971 }, { 88,2971 }, { 89,2971 }, { 90,2971 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,2971 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, - { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, - { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 97,2971 }, { 98,2971 }, { 99,2971 }, { 100,2971 }, { 101,2971 }, + { 102,2971 }, { 103,2971 }, { 104,2971 }, { 105,2971 }, { 106,2971 }, + { 107,2971 }, { 108,2971 }, { 109,2971 }, { 110,2971 }, { 111,2971 }, + { 112,2971 }, { 113,2971 }, { 114,2971 }, { 115,2971 }, { 116,2971 }, + { 117,2971 }, { 118,2971 }, { 119,2971 }, { 120,2971 }, { 121,2971 }, + { 122,2971 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,2971 }, { 129,2971 }, { 130,2971 }, { 131,2971 }, + { 132,2971 }, { 133,2971 }, { 134,2971 }, { 135,2971 }, { 136,2971 }, + { 137,2971 }, { 138,2971 }, { 139,2971 }, { 140,2971 }, { 141,2971 }, + { 142,2971 }, { 143,2971 }, { 144,2971 }, { 145,2971 }, { 146,2971 }, + + { 147,2971 }, { 148,2971 }, { 149,2971 }, { 150,2971 }, { 151,2971 }, + { 152,2971 }, { 153,2971 }, { 154,2971 }, { 155,2971 }, { 156,2971 }, + { 157,2971 }, { 158,2971 }, { 159,2971 }, { 160,2971 }, { 161,2971 }, + { 162,2971 }, { 163,2971 }, { 164,2971 }, { 165,2971 }, { 166,2971 }, + { 167,2971 }, { 168,2971 }, { 169,2971 }, { 170,2971 }, { 171,2971 }, + { 172,2971 }, { 173,2971 }, { 174,2971 }, { 175,2971 }, { 176,2971 }, + { 177,2971 }, { 178,2971 }, { 179,2971 }, { 180,2971 }, { 181,2971 }, + { 182,2971 }, { 183,2971 }, { 184,2971 }, { 185,2971 }, { 186,2971 }, + { 187,2971 }, { 188,2971 }, { 189,2971 }, { 190,2971 }, { 191,2971 }, + { 192,2971 }, { 193,2971 }, { 194,2971 }, { 195,2971 }, { 196,2971 }, - { 65,-4654 }, { 66,-4654 }, { 67,-4654 }, { 68,-4654 }, { 69,-4397 }, - { 70,-4654 }, { 71,-4654 }, { 72,-4654 }, { 73,-4654 }, { 74,-4654 }, - { 75,-4654 }, { 76,-4654 }, { 77,-4654 }, { 78,-4654 }, { 79,-4654 }, - { 80,-4654 }, { 81,-4654 }, { 82,-4654 }, { 83,-4654 }, { 84,-4654 }, - { 85,-4654 }, { 86,-4654 }, { 87,-4654 }, { 88,-4654 }, { 89,-4654 }, - { 90,-4654 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 95, 257 }, { 0, 0 }, { 97,-4654 }, { 98,-4654 }, { 99,-4654 }, - { 100,-4654 }, { 101,-4397 }, { 102,-4654 }, { 103,-4654 }, { 104,-4654 }, - { 105,-4654 }, { 106,-4654 }, { 107,-4654 }, { 108,-4654 }, { 109,-4654 }, - { 110,-4654 }, { 111,-4654 }, { 112,-4654 }, { 113,-4654 }, { 114,-4654 }, + { 197,2971 }, { 198,2971 }, { 199,2971 }, { 200,2971 }, { 201,2971 }, + { 202,2971 }, { 203,2971 }, { 204,2971 }, { 205,2971 }, { 206,2971 }, + { 207,2971 }, { 208,2971 }, { 209,2971 }, { 210,2971 }, { 211,2971 }, + { 212,2971 }, { 213,2971 }, { 214,2971 }, { 215,2971 }, { 216,2971 }, + { 217,2971 }, { 218,2971 }, { 219,2971 }, { 220,2971 }, { 221,2971 }, + { 222,2971 }, { 223,2971 }, { 224,2971 }, { 225,2971 }, { 226,2971 }, + { 227,2971 }, { 228,2971 }, { 229,2971 }, { 230,2971 }, { 231,2971 }, + { 232,2971 }, { 233,2971 }, { 234,2971 }, { 235,2971 }, { 236,2971 }, + { 237,2971 }, { 238,2971 }, { 239,2971 }, { 240,2971 }, { 241,2971 }, + { 242,2971 }, { 243,2971 }, { 244,2971 }, { 245,2971 }, { 246,2971 }, + + { 247,2971 }, { 248,2971 }, { 249,2971 }, { 250,2971 }, { 251,2971 }, + { 252,2971 }, { 253,2971 }, { 254,2971 }, { 255,2971 }, { 0, 69 }, + { 0,6047 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 36,-5848 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-5848 }, { 49,-5848 }, + { 50,-5848 }, { 51,-5848 }, { 52,-5848 }, { 53,-5848 }, { 54,-5848 }, + { 55,-5848 }, { 56,-5848 }, { 57,-5848 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,-5848 }, { 66,-5848 }, { 67,-5848 }, { 68,-5848 }, { 69,-5848 }, + { 70,-5848 }, { 71,-5848 }, { 72,-5848 }, { 73,-5848 }, { 74,-5848 }, + { 75,-5848 }, { 76,-5848 }, { 77,-5848 }, { 78,-5848 }, { 79,-5848 }, + { 80,-5848 }, { 81,-5848 }, { 82,-5848 }, { 83,-5848 }, { 84,-5848 }, + { 85,-5848 }, { 86,-5848 }, { 87,-5848 }, { 88,-5848 }, { 89,-5848 }, - { 115,-4654 }, { 116,-4654 }, { 117,-4654 }, { 118,-4654 }, { 119,-4654 }, - { 120,-4654 }, { 121,-4654 }, { 122,-4654 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-4654 }, { 129,-4654 }, - { 130,-4654 }, { 131,-4654 }, { 132,-4654 }, { 133,-4654 }, { 134,-4654 }, - { 135,-4654 }, { 136,-4654 }, { 137,-4654 }, { 138,-4654 }, { 139,-4654 }, - { 140,-4654 }, { 141,-4654 }, { 142,-4654 }, { 143,-4654 }, { 144,-4654 }, - { 145,-4654 }, { 146,-4654 }, { 147,-4654 }, { 148,-4654 }, { 149,-4654 }, - { 150,-4654 }, { 151,-4654 }, { 152,-4654 }, { 153,-4654 }, { 154,-4654 }, - { 155,-4654 }, { 156,-4654 }, { 157,-4654 }, { 158,-4654 }, { 159,-4654 }, - { 160,-4654 }, { 161,-4654 }, { 162,-4654 }, { 163,-4654 }, { 164,-4654 }, + { 90,-5848 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,-5848 }, { 0, 0 }, { 97,-5848 }, { 98,-5848 }, { 99,-5848 }, + { 100,-5848 }, { 101,-5848 }, { 102,-5848 }, { 103,-5848 }, { 104,-5848 }, + { 105,-5848 }, { 106,-5848 }, { 107,-5848 }, { 108,-5848 }, { 109,-5848 }, + { 110,-5848 }, { 111,-5848 }, { 112,-5848 }, { 113,-5848 }, { 114,-5848 }, + { 115,-5848 }, { 116,-5848 }, { 117,-5848 }, { 118,-5848 }, { 119,-5848 }, + { 120,-5848 }, { 121,-5848 }, { 122,-5848 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-5848 }, { 129,-5848 }, + { 130,-5848 }, { 131,-5848 }, { 132,-5848 }, { 133,-5848 }, { 134,-5848 }, + { 135,-5848 }, { 136,-5848 }, { 137,-5848 }, { 138,-5848 }, { 139,-5848 }, - { 165,-4654 }, { 166,-4654 }, { 167,-4654 }, { 168,-4654 }, { 169,-4654 }, - { 170,-4654 }, { 171,-4654 }, { 172,-4654 }, { 173,-4654 }, { 174,-4654 }, - { 175,-4654 }, { 176,-4654 }, { 177,-4654 }, { 178,-4654 }, { 179,-4654 }, - { 180,-4654 }, { 181,-4654 }, { 182,-4654 }, { 183,-4654 }, { 184,-4654 }, - { 185,-4654 }, { 186,-4654 }, { 187,-4654 }, { 188,-4654 }, { 189,-4654 }, - { 190,-4654 }, { 191,-4654 }, { 192,-4654 }, { 193,-4654 }, { 194,-4654 }, - { 195,-4654 }, { 196,-4654 }, { 197,-4654 }, { 198,-4654 }, { 199,-4654 }, - { 200,-4654 }, { 201,-4654 }, { 202,-4654 }, { 203,-4654 }, { 204,-4654 }, - { 205,-4654 }, { 206,-4654 }, { 207,-4654 }, { 208,-4654 }, { 209,-4654 }, - { 210,-4654 }, { 211,-4654 }, { 212,-4654 }, { 213,-4654 }, { 214,-4654 }, - - { 215,-4654 }, { 216,-4654 }, { 217,-4654 }, { 218,-4654 }, { 219,-4654 }, - { 220,-4654 }, { 221,-4654 }, { 222,-4654 }, { 223,-4654 }, { 224,-4654 }, - { 225,-4654 }, { 226,-4654 }, { 227,-4654 }, { 228,-4654 }, { 229,-4654 }, - { 230,-4654 }, { 231,-4654 }, { 232,-4654 }, { 233,-4654 }, { 234,-4654 }, - { 235,-4654 }, { 236,-4654 }, { 237,-4654 }, { 238,-4654 }, { 239,-4654 }, - { 240,-4654 }, { 241,-4654 }, { 242,-4654 }, { 243,-4654 }, { 244,-4654 }, - { 245,-4654 }, { 246,-4654 }, { 247,-4654 }, { 248,-4654 }, { 249,-4654 }, - { 250,-4654 }, { 251,-4654 }, { 252,-4654 }, { 253,-4654 }, { 254,-4654 }, - { 255,-4654 }, { 0, 69 }, { 0,9530 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-1028 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 48,4512 }, { 49,4512 }, { 50,4512 }, { 51,4512 }, { 52,4512 }, - { 53,4512 }, { 54,4512 }, { 55,4512 }, { 56,4512 }, { 57,4512 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,-1028 }, { 66,-1028 }, { 67,-1028 }, - { 68,-1028 }, { 69,-1028 }, { 70,-1028 }, { 71,-1028 }, { 72,-1028 }, - { 73,-1028 }, { 74,-1028 }, { 75,-1028 }, { 76,-1028 }, { 77,-1028 }, - { 78,-1028 }, { 79,-1028 }, { 80,-1028 }, { 81,-1028 }, { 82,-1028 }, - { 83,-1028 }, { 84,-1028 }, { 85,-1028 }, { 86,-1028 }, { 87,-1028 }, - { 88,-1028 }, { 89,-1028 }, { 90,-1028 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 95,-1028 }, { 0, 0 }, { 97,-1028 }, - { 98,-1028 }, { 99,-1028 }, { 100,-1028 }, { 101,-1028 }, { 102,-1028 }, - { 103,-1028 }, { 104,-1028 }, { 105,-1028 }, { 106,-1028 }, { 107,-1028 }, + { 140,-5848 }, { 141,-5848 }, { 142,-5848 }, { 143,-5848 }, { 144,-5848 }, + { 145,-5848 }, { 146,-5848 }, { 147,-5848 }, { 148,-5848 }, { 149,-5848 }, + { 150,-5848 }, { 151,-5848 }, { 152,-5848 }, { 153,-5848 }, { 154,-5848 }, + { 155,-5848 }, { 156,-5848 }, { 157,-5848 }, { 158,-5848 }, { 159,-5848 }, + { 160,-5848 }, { 161,-5848 }, { 162,-5848 }, { 163,-5848 }, { 164,-5848 }, + { 165,-5848 }, { 166,-5848 }, { 167,-5848 }, { 168,-5848 }, { 169,-5848 }, + { 170,-5848 }, { 171,-5848 }, { 172,-5848 }, { 173,-5848 }, { 174,-5848 }, + { 175,-5848 }, { 176,-5848 }, { 177,-5848 }, { 178,-5848 }, { 179,-5848 }, + { 180,-5848 }, { 181,-5848 }, { 182,-5848 }, { 183,-5848 }, { 184,-5848 }, + { 185,-5848 }, { 186,-5848 }, { 187,-5848 }, { 188,-5848 }, { 189,-5848 }, - { 108,-1028 }, { 109,-1028 }, { 110,-1028 }, { 111,-1028 }, { 112,-1028 }, - { 113,-1028 }, { 114,-1028 }, { 115,-1028 }, { 116,-1028 }, { 117,-1028 }, - { 118,-1028 }, { 119,-1028 }, { 120,-1028 }, { 121,-1028 }, { 122,-1028 }, + { 190,-5848 }, { 191,-5848 }, { 192,-5848 }, { 193,-5848 }, { 194,-5848 }, + { 195,-5848 }, { 196,-5848 }, { 197,-5848 }, { 198,-5848 }, { 199,-5848 }, + { 200,-5848 }, { 201,-5848 }, { 202,-5848 }, { 203,-5848 }, { 204,-5848 }, + { 205,-5848 }, { 206,-5848 }, { 207,-5848 }, { 208,-5848 }, { 209,-5848 }, + { 210,-5848 }, { 211,-5848 }, { 212,-5848 }, { 213,-5848 }, { 214,-5848 }, + { 215,-5848 }, { 216,-5848 }, { 217,-5848 }, { 218,-5848 }, { 219,-5848 }, + { 220,-5848 }, { 221,-5848 }, { 222,-5848 }, { 223,-5848 }, { 224,-5848 }, + { 225,-5848 }, { 226,-5848 }, { 227,-5848 }, { 228,-5848 }, { 229,-5848 }, + { 230,-5848 }, { 231,-5848 }, { 232,-5848 }, { 233,-5848 }, { 234,-5848 }, + { 235,-5848 }, { 236,-5848 }, { 237,-5848 }, { 238,-5848 }, { 239,-5848 }, + + { 240,-5848 }, { 241,-5848 }, { 242,-5848 }, { 243,-5848 }, { 244,-5848 }, + { 245,-5848 }, { 246,-5848 }, { 247,-5848 }, { 248,-5848 }, { 249,-5848 }, + { 250,-5848 }, { 251,-5848 }, { 252,-5848 }, { 253,-5848 }, { 254,-5848 }, + { 255,-5848 }, { 0, 69 }, { 0,5790 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-6105 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 43,-9297 }, { 0, 0 }, { 45,-9297 }, { 0, 0 }, { 0, 0 }, + { 48,-5848 }, { 49,-5848 }, { 50,-5848 }, { 51,-5848 }, { 52,-5848 }, + { 53,-5848 }, { 54,-5848 }, { 55,-5848 }, { 56,-5848 }, { 57,-5848 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 65,-6105 }, { 66,-6105 }, { 67,-6105 }, + { 68,-6105 }, { 69,-6105 }, { 70,-6105 }, { 71,-6105 }, { 72,-6105 }, + { 73,-6105 }, { 74,-6105 }, { 75,-6105 }, { 76,-6105 }, { 77,-6105 }, + { 78,-6105 }, { 79,-6105 }, { 80,-6105 }, { 81,-6105 }, { 82,-6105 }, + + { 83,-6105 }, { 84,-6105 }, { 85,-6105 }, { 86,-6105 }, { 87,-6105 }, + { 88,-6105 }, { 89,-6105 }, { 90,-6105 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 95,-6105 }, { 0, 0 }, { 97,-6105 }, + { 98,-6105 }, { 99,-6105 }, { 100,-6105 }, { 101,-6105 }, { 102,-6105 }, + { 103,-6105 }, { 104,-6105 }, { 105,-6105 }, { 106,-6105 }, { 107,-6105 }, + { 108,-6105 }, { 109,-6105 }, { 110,-6105 }, { 111,-6105 }, { 112,-6105 }, + { 113,-6105 }, { 114,-6105 }, { 115,-6105 }, { 116,-6105 }, { 117,-6105 }, + { 118,-6105 }, { 119,-6105 }, { 120,-6105 }, { 121,-6105 }, { 122,-6105 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 128,-1028 }, { 129,-1028 }, { 130,-1028 }, { 131,-1028 }, { 132,-1028 }, - { 133,-1028 }, { 134,-1028 }, { 135,-1028 }, { 136,-1028 }, { 137,-1028 }, - { 138,-1028 }, { 139,-1028 }, { 140,-1028 }, { 141,-1028 }, { 142,-1028 }, - { 143,-1028 }, { 144,-1028 }, { 145,-1028 }, { 146,-1028 }, { 147,-1028 }, - { 148,-1028 }, { 149,-1028 }, { 150,-1028 }, { 151,-1028 }, { 152,-1028 }, - { 153,-1028 }, { 154,-1028 }, { 155,-1028 }, { 156,-1028 }, { 157,-1028 }, + { 128,-6105 }, { 129,-6105 }, { 130,-6105 }, { 131,-6105 }, { 132,-6105 }, - { 158,-1028 }, { 159,-1028 }, { 160,-1028 }, { 161,-1028 }, { 162,-1028 }, - { 163,-1028 }, { 164,-1028 }, { 165,-1028 }, { 166,-1028 }, { 167,-1028 }, - { 168,-1028 }, { 169,-1028 }, { 170,-1028 }, { 171,-1028 }, { 172,-1028 }, - { 173,-1028 }, { 174,-1028 }, { 175,-1028 }, { 176,-1028 }, { 177,-1028 }, - { 178,-1028 }, { 179,-1028 }, { 180,-1028 }, { 181,-1028 }, { 182,-1028 }, - { 183,-1028 }, { 184,-1028 }, { 185,-1028 }, { 186,-1028 }, { 187,-1028 }, - { 188,-1028 }, { 189,-1028 }, { 190,-1028 }, { 191,-1028 }, { 192,-1028 }, - { 193,-1028 }, { 194,-1028 }, { 195,-1028 }, { 196,-1028 }, { 197,-1028 }, - { 198,-1028 }, { 199,-1028 }, { 200,-1028 }, { 201,-1028 }, { 202,-1028 }, - { 203,-1028 }, { 204,-1028 }, { 205,-1028 }, { 206,-1028 }, { 207,-1028 }, - - { 208,-1028 }, { 209,-1028 }, { 210,-1028 }, { 211,-1028 }, { 212,-1028 }, - { 213,-1028 }, { 214,-1028 }, { 215,-1028 }, { 216,-1028 }, { 217,-1028 }, - { 218,-1028 }, { 219,-1028 }, { 220,-1028 }, { 221,-1028 }, { 222,-1028 }, - { 223,-1028 }, { 224,-1028 }, { 225,-1028 }, { 226,-1028 }, { 227,-1028 }, - { 228,-1028 }, { 229,-1028 }, { 230,-1028 }, { 231,-1028 }, { 232,-1028 }, - { 233,-1028 }, { 234,-1028 }, { 235,-1028 }, { 236,-1028 }, { 237,-1028 }, - { 238,-1028 }, { 239,-1028 }, { 240,-1028 }, { 241,-1028 }, { 242,-1028 }, - { 243,-1028 }, { 244,-1028 }, { 245,-1028 }, { 246,-1028 }, { 247,-1028 }, - { 248,-1028 }, { 249,-1028 }, { 250,-1028 }, { 251,-1028 }, { 252,-1028 }, - { 253,-1028 }, { 254,-1028 }, { 255,-1028 }, { 0, 68 }, { 0,9273 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 36,-4108 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48,-3851 }, { 49,-3851 }, { 50,-4108 }, - - { 51,-4108 }, { 52,-4108 }, { 53,-4108 }, { 54,-4108 }, { 55,-4108 }, - { 56,-4108 }, { 57,-4108 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-4108 }, - { 66,-4108 }, { 67,-4108 }, { 68,-4108 }, { 69,-4108 }, { 70,-4108 }, - { 71,-4108 }, { 72,-4108 }, { 73,-4108 }, { 74,-4108 }, { 75,-4108 }, - { 76,-4108 }, { 77,-4108 }, { 78,-4108 }, { 79,-4108 }, { 80,-4108 }, - { 81,-4108 }, { 82,-4108 }, { 83,-4108 }, { 84,-4108 }, { 85,-4108 }, - { 86,-4108 }, { 87,-4108 }, { 88,-4108 }, { 89,-4108 }, { 90,-4108 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-4108 }, - { 0, 0 }, { 97,-4108 }, { 98,-4108 }, { 99,-4108 }, { 100,-4108 }, + { 133,-6105 }, { 134,-6105 }, { 135,-6105 }, { 136,-6105 }, { 137,-6105 }, + { 138,-6105 }, { 139,-6105 }, { 140,-6105 }, { 141,-6105 }, { 142,-6105 }, + { 143,-6105 }, { 144,-6105 }, { 145,-6105 }, { 146,-6105 }, { 147,-6105 }, + { 148,-6105 }, { 149,-6105 }, { 150,-6105 }, { 151,-6105 }, { 152,-6105 }, + { 153,-6105 }, { 154,-6105 }, { 155,-6105 }, { 156,-6105 }, { 157,-6105 }, + { 158,-6105 }, { 159,-6105 }, { 160,-6105 }, { 161,-6105 }, { 162,-6105 }, + { 163,-6105 }, { 164,-6105 }, { 165,-6105 }, { 166,-6105 }, { 167,-6105 }, + { 168,-6105 }, { 169,-6105 }, { 170,-6105 }, { 171,-6105 }, { 172,-6105 }, + { 173,-6105 }, { 174,-6105 }, { 175,-6105 }, { 176,-6105 }, { 177,-6105 }, + { 178,-6105 }, { 179,-6105 }, { 180,-6105 }, { 181,-6105 }, { 182,-6105 }, - { 101,-4108 }, { 102,-4108 }, { 103,-4108 }, { 104,-4108 }, { 105,-4108 }, - { 106,-4108 }, { 107,-4108 }, { 108,-4108 }, { 109,-4108 }, { 110,-4108 }, - { 111,-4108 }, { 112,-4108 }, { 113,-4108 }, { 114,-4108 }, { 115,-4108 }, - { 116,-4108 }, { 117,-4108 }, { 118,-4108 }, { 119,-4108 }, { 120,-4108 }, - { 121,-4108 }, { 122,-4108 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 128,-4108 }, { 129,-4108 }, { 130,-4108 }, - { 131,-4108 }, { 132,-4108 }, { 133,-4108 }, { 134,-4108 }, { 135,-4108 }, - { 136,-4108 }, { 137,-4108 }, { 138,-4108 }, { 139,-4108 }, { 140,-4108 }, - { 141,-4108 }, { 142,-4108 }, { 143,-4108 }, { 144,-4108 }, { 145,-4108 }, - { 146,-4108 }, { 147,-4108 }, { 148,-4108 }, { 149,-4108 }, { 150,-4108 }, + { 183,-6105 }, { 184,-6105 }, { 185,-6105 }, { 186,-6105 }, { 187,-6105 }, + { 188,-6105 }, { 189,-6105 }, { 190,-6105 }, { 191,-6105 }, { 192,-6105 }, + { 193,-6105 }, { 194,-6105 }, { 195,-6105 }, { 196,-6105 }, { 197,-6105 }, + { 198,-6105 }, { 199,-6105 }, { 200,-6105 }, { 201,-6105 }, { 202,-6105 }, + { 203,-6105 }, { 204,-6105 }, { 205,-6105 }, { 206,-6105 }, { 207,-6105 }, + { 208,-6105 }, { 209,-6105 }, { 210,-6105 }, { 211,-6105 }, { 212,-6105 }, + { 213,-6105 }, { 214,-6105 }, { 215,-6105 }, { 216,-6105 }, { 217,-6105 }, + { 218,-6105 }, { 219,-6105 }, { 220,-6105 }, { 221,-6105 }, { 222,-6105 }, + { 223,-6105 }, { 224,-6105 }, { 225,-6105 }, { 226,-6105 }, { 227,-6105 }, + { 228,-6105 }, { 229,-6105 }, { 230,-6105 }, { 231,-6105 }, { 232,-6105 }, + + { 233,-6105 }, { 234,-6105 }, { 235,-6105 }, { 236,-6105 }, { 237,-6105 }, + { 238,-6105 }, { 239,-6105 }, { 240,-6105 }, { 241,-6105 }, { 242,-6105 }, + { 243,-6105 }, { 244,-6105 }, { 245,-6105 }, { 246,-6105 }, { 247,-6105 }, + { 248,-6105 }, { 249,-6105 }, { 250,-6105 }, { 251,-6105 }, { 252,-6105 }, + { 253,-6105 }, { 254,-6105 }, { 255,-6105 }, { 0, 69 }, { 0,5533 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 36,-6362 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 48,-5848 }, { 49,-5848 }, { 50,-5848 }, + { 51,-5848 }, { 52,-5848 }, { 53,-5848 }, { 54,-5848 }, { 55,-5848 }, + { 56,-5848 }, { 57,-5848 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-6362 }, + { 66,-6362 }, { 67,-6362 }, { 68,-6362 }, { 69,-6362 }, { 70,-6362 }, + { 71,-6362 }, { 72,-6362 }, { 73,-6362 }, { 74,-6362 }, { 75,-6362 }, - { 151,-4108 }, { 152,-4108 }, { 153,-4108 }, { 154,-4108 }, { 155,-4108 }, - { 156,-4108 }, { 157,-4108 }, { 158,-4108 }, { 159,-4108 }, { 160,-4108 }, - { 161,-4108 }, { 162,-4108 }, { 163,-4108 }, { 164,-4108 }, { 165,-4108 }, - { 166,-4108 }, { 167,-4108 }, { 168,-4108 }, { 169,-4108 }, { 170,-4108 }, - { 171,-4108 }, { 172,-4108 }, { 173,-4108 }, { 174,-4108 }, { 175,-4108 }, - { 176,-4108 }, { 177,-4108 }, { 178,-4108 }, { 179,-4108 }, { 180,-4108 }, - { 181,-4108 }, { 182,-4108 }, { 183,-4108 }, { 184,-4108 }, { 185,-4108 }, - { 186,-4108 }, { 187,-4108 }, { 188,-4108 }, { 189,-4108 }, { 190,-4108 }, - { 191,-4108 }, { 192,-4108 }, { 193,-4108 }, { 194,-4108 }, { 195,-4108 }, - { 196,-4108 }, { 197,-4108 }, { 198,-4108 }, { 199,-4108 }, { 200,-4108 }, + { 76,-6362 }, { 77,-6362 }, { 78,-6362 }, { 79,-6362 }, { 80,-6362 }, + { 81,-6362 }, { 82,-6362 }, { 83,-6362 }, { 84,-6362 }, { 85,-6362 }, + { 86,-6362 }, { 87,-6362 }, { 88,-6362 }, { 89,-6362 }, { 90,-6362 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-6362 }, + { 0, 0 }, { 97,-6362 }, { 98,-6362 }, { 99,-6362 }, { 100,-6362 }, + { 101,-6362 }, { 102,-6362 }, { 103,-6362 }, { 104,-6362 }, { 105,-6362 }, + { 106,-6362 }, { 107,-6362 }, { 108,-6362 }, { 109,-6362 }, { 110,-6362 }, + { 111,-6362 }, { 112,-6362 }, { 113,-6362 }, { 114,-6362 }, { 115,-6362 }, + { 116,-6362 }, { 117,-6362 }, { 118,-6362 }, { 119,-6362 }, { 120,-6362 }, + { 121,-6362 }, { 122,-6362 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 201,-4108 }, { 202,-4108 }, { 203,-4108 }, { 204,-4108 }, { 205,-4108 }, - { 206,-4108 }, { 207,-4108 }, { 208,-4108 }, { 209,-4108 }, { 210,-4108 }, - { 211,-4108 }, { 212,-4108 }, { 213,-4108 }, { 214,-4108 }, { 215,-4108 }, - { 216,-4108 }, { 217,-4108 }, { 218,-4108 }, { 219,-4108 }, { 220,-4108 }, - { 221,-4108 }, { 222,-4108 }, { 223,-4108 }, { 224,-4108 }, { 225,-4108 }, - { 226,-4108 }, { 227,-4108 }, { 228,-4108 }, { 229,-4108 }, { 230,-4108 }, - { 231,-4108 }, { 232,-4108 }, { 233,-4108 }, { 234,-4108 }, { 235,-4108 }, - { 236,-4108 }, { 237,-4108 }, { 238,-4108 }, { 239,-4108 }, { 240,-4108 }, - { 241,-4108 }, { 242,-4108 }, { 243,-4108 }, { 244,-4108 }, { 245,-4108 }, - { 246,-4108 }, { 247,-4108 }, { 248,-4108 }, { 249,-4108 }, { 250,-4108 }, + { 0, 0 }, { 0, 0 }, { 128,-6362 }, { 129,-6362 }, { 130,-6362 }, + { 131,-6362 }, { 132,-6362 }, { 133,-6362 }, { 134,-6362 }, { 135,-6362 }, + { 136,-6362 }, { 137,-6362 }, { 138,-6362 }, { 139,-6362 }, { 140,-6362 }, + { 141,-6362 }, { 142,-6362 }, { 143,-6362 }, { 144,-6362 }, { 145,-6362 }, + { 146,-6362 }, { 147,-6362 }, { 148,-6362 }, { 149,-6362 }, { 150,-6362 }, + { 151,-6362 }, { 152,-6362 }, { 153,-6362 }, { 154,-6362 }, { 155,-6362 }, + { 156,-6362 }, { 157,-6362 }, { 158,-6362 }, { 159,-6362 }, { 160,-6362 }, + { 161,-6362 }, { 162,-6362 }, { 163,-6362 }, { 164,-6362 }, { 165,-6362 }, + { 166,-6362 }, { 167,-6362 }, { 168,-6362 }, { 169,-6362 }, { 170,-6362 }, + { 171,-6362 }, { 172,-6362 }, { 173,-6362 }, { 174,-6362 }, { 175,-6362 }, + + { 176,-6362 }, { 177,-6362 }, { 178,-6362 }, { 179,-6362 }, { 180,-6362 }, + { 181,-6362 }, { 182,-6362 }, { 183,-6362 }, { 184,-6362 }, { 185,-6362 }, + { 186,-6362 }, { 187,-6362 }, { 188,-6362 }, { 189,-6362 }, { 190,-6362 }, + { 191,-6362 }, { 192,-6362 }, { 193,-6362 }, { 194,-6362 }, { 195,-6362 }, + { 196,-6362 }, { 197,-6362 }, { 198,-6362 }, { 199,-6362 }, { 200,-6362 }, + { 201,-6362 }, { 202,-6362 }, { 203,-6362 }, { 204,-6362 }, { 205,-6362 }, + { 206,-6362 }, { 207,-6362 }, { 208,-6362 }, { 209,-6362 }, { 210,-6362 }, + { 211,-6362 }, { 212,-6362 }, { 213,-6362 }, { 214,-6362 }, { 215,-6362 }, + { 216,-6362 }, { 217,-6362 }, { 218,-6362 }, { 219,-6362 }, { 220,-6362 }, + { 221,-6362 }, { 222,-6362 }, { 223,-6362 }, { 224,-6362 }, { 225,-6362 }, + + { 226,-6362 }, { 227,-6362 }, { 228,-6362 }, { 229,-6362 }, { 230,-6362 }, + { 231,-6362 }, { 232,-6362 }, { 233,-6362 }, { 234,-6362 }, { 235,-6362 }, + { 236,-6362 }, { 237,-6362 }, { 238,-6362 }, { 239,-6362 }, { 240,-6362 }, + { 241,-6362 }, { 242,-6362 }, { 243,-6362 }, { 244,-6362 }, { 245,-6362 }, + { 246,-6362 }, { 247,-6362 }, { 248,-6362 }, { 249,-6362 }, { 250,-6362 }, + { 251,-6362 }, { 252,-6362 }, { 253,-6362 }, { 254,-6362 }, { 255,-6362 }, + { 0, 64 }, { 0,5276 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 251,-4108 }, { 252,-4108 }, { 253,-4108 }, { 254,-4108 }, { 255,-4108 }, - { 0, 66 }, { 0,9016 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 36,-6619 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,4255 }, - { 49,4255 }, { 50,4255 }, { 51,4255 }, { 52,4255 }, { 53,4255 }, - { 54,4255 }, { 55,4255 }, { 56,4255 }, { 57,4255 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, + { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, + { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65,4512 }, { 66,4512 }, { 67,4512 }, { 68,4512 }, - { 69,4512 }, { 70,4512 }, { 71,4512 }, { 72,4512 }, { 73,4512 }, - { 74,4512 }, { 75,4512 }, { 76,4512 }, { 77,4512 }, { 78,4512 }, - { 79,4512 }, { 80,4512 }, { 81,4512 }, { 82,4512 }, { 83,4512 }, - { 84,4512 }, { 85,4512 }, { 86,4512 }, { 87,4512 }, { 88,4512 }, - { 89,4512 }, { 90,4512 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65,-771 }, { 66,-771 }, { 67,-771 }, { 68,-771 }, - { 0, 0 }, { 95,4769 }, { 0, 0 }, { 97,4512 }, { 98,4512 }, - { 99,4512 }, { 100,4512 }, { 101,4512 }, { 102,4512 }, { 103,4512 }, - { 104,4512 }, { 105,4512 }, { 106,4512 }, { 107,4512 }, { 108,4512 }, - { 109,4512 }, { 110,4512 }, { 111,4512 }, { 112,4512 }, { 113,4512 }, - { 114,4512 }, { 115,4512 }, { 116,4512 }, { 117,4512 }, { 118,4512 }, - { 119,4512 }, { 120,4512 }, { 121,4512 }, { 122,4512 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,4512 }, - { 129,4512 }, { 130,4512 }, { 131,4512 }, { 132,4512 }, { 133,4512 }, - { 134,4512 }, { 135,4512 }, { 136,4512 }, { 137,4512 }, { 138,4512 }, - { 139,4512 }, { 140,4512 }, { 141,4512 }, { 142,4512 }, { 143,4512 }, + { 69,-514 }, { 70,-771 }, { 71,-771 }, { 72,-771 }, { 73,-771 }, + { 74,-771 }, { 75,-771 }, { 76,-771 }, { 77,-771 }, { 78,-771 }, + { 79,-771 }, { 80,-771 }, { 81,-771 }, { 82,-771 }, { 83,-771 }, + { 84,-771 }, { 85,-771 }, { 86,-771 }, { 87,-771 }, { 88,-771 }, + { 89,-771 }, { 90,-771 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95,2457 }, { 0, 0 }, { 97,-771 }, { 98,-771 }, + { 99,-771 }, { 100,-771 }, { 101,-514 }, { 102,-771 }, { 103,-771 }, + { 104,-771 }, { 105,-771 }, { 106,-771 }, { 107,-771 }, { 108,-771 }, + { 109,-771 }, { 110,-771 }, { 111,-771 }, { 112,-771 }, { 113,-771 }, + { 114,-771 }, { 115,-771 }, { 116,-771 }, { 117,-771 }, { 118,-771 }, - { 144,4512 }, { 145,4512 }, { 146,4512 }, { 147,4512 }, { 148,4512 }, - { 149,4512 }, { 150,4512 }, { 151,4512 }, { 152,4512 }, { 153,4512 }, - { 154,4512 }, { 155,4512 }, { 156,4512 }, { 157,4512 }, { 158,4512 }, - { 159,4512 }, { 160,4512 }, { 161,4512 }, { 162,4512 }, { 163,4512 }, - { 164,4512 }, { 165,4512 }, { 166,4512 }, { 167,4512 }, { 168,4512 }, - { 169,4512 }, { 170,4512 }, { 171,4512 }, { 172,4512 }, { 173,4512 }, - { 174,4512 }, { 175,4512 }, { 176,4512 }, { 177,4512 }, { 178,4512 }, - { 179,4512 }, { 180,4512 }, { 181,4512 }, { 182,4512 }, { 183,4512 }, - { 184,4512 }, { 185,4512 }, { 186,4512 }, { 187,4512 }, { 188,4512 }, - { 189,4512 }, { 190,4512 }, { 191,4512 }, { 192,4512 }, { 193,4512 }, + { 119,-771 }, { 120,-771 }, { 121,-771 }, { 122,-771 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-771 }, + { 129,-771 }, { 130,-771 }, { 131,-771 }, { 132,-771 }, { 133,-771 }, + { 134,-771 }, { 135,-771 }, { 136,-771 }, { 137,-771 }, { 138,-771 }, + { 139,-771 }, { 140,-771 }, { 141,-771 }, { 142,-771 }, { 143,-771 }, + { 144,-771 }, { 145,-771 }, { 146,-771 }, { 147,-771 }, { 148,-771 }, + { 149,-771 }, { 150,-771 }, { 151,-771 }, { 152,-771 }, { 153,-771 }, + { 154,-771 }, { 155,-771 }, { 156,-771 }, { 157,-771 }, { 158,-771 }, + { 159,-771 }, { 160,-771 }, { 161,-771 }, { 162,-771 }, { 163,-771 }, + { 164,-771 }, { 165,-771 }, { 166,-771 }, { 167,-771 }, { 168,-771 }, - { 194,4512 }, { 195,4512 }, { 196,4512 }, { 197,4512 }, { 198,4512 }, - { 199,4512 }, { 200,4512 }, { 201,4512 }, { 202,4512 }, { 203,4512 }, - { 204,4512 }, { 205,4512 }, { 206,4512 }, { 207,4512 }, { 208,4512 }, - { 209,4512 }, { 210,4512 }, { 211,4512 }, { 212,4512 }, { 213,4512 }, - { 214,4512 }, { 215,4512 }, { 216,4512 }, { 217,4512 }, { 218,4512 }, - { 219,4512 }, { 220,4512 }, { 221,4512 }, { 222,4512 }, { 223,4512 }, - { 224,4512 }, { 225,4512 }, { 226,4512 }, { 227,4512 }, { 228,4512 }, - { 229,4512 }, { 230,4512 }, { 231,4512 }, { 232,4512 }, { 233,4512 }, - { 234,4512 }, { 235,4512 }, { 236,4512 }, { 237,4512 }, { 238,4512 }, - { 239,4512 }, { 240,4512 }, { 241,4512 }, { 242,4512 }, { 243,4512 }, + { 169,-771 }, { 170,-771 }, { 171,-771 }, { 172,-771 }, { 173,-771 }, + { 174,-771 }, { 175,-771 }, { 176,-771 }, { 177,-771 }, { 178,-771 }, + { 179,-771 }, { 180,-771 }, { 181,-771 }, { 182,-771 }, { 183,-771 }, + { 184,-771 }, { 185,-771 }, { 186,-771 }, { 187,-771 }, { 188,-771 }, + { 189,-771 }, { 190,-771 }, { 191,-771 }, { 192,-771 }, { 193,-771 }, + { 194,-771 }, { 195,-771 }, { 196,-771 }, { 197,-771 }, { 198,-771 }, + { 199,-771 }, { 200,-771 }, { 201,-771 }, { 202,-771 }, { 203,-771 }, + { 204,-771 }, { 205,-771 }, { 206,-771 }, { 207,-771 }, { 208,-771 }, + { 209,-771 }, { 210,-771 }, { 211,-771 }, { 212,-771 }, { 213,-771 }, + { 214,-771 }, { 215,-771 }, { 216,-771 }, { 217,-771 }, { 218,-771 }, - { 244,4512 }, { 245,4512 }, { 246,4512 }, { 247,4512 }, { 248,4512 }, - { 249,4512 }, { 250,4512 }, { 251,4512 }, { 252,4512 }, { 253,4512 }, - { 254,4512 }, { 255,4512 }, { 0, 66 }, { 0,8759 }, { 0, 0 }, + { 219,-771 }, { 220,-771 }, { 221,-771 }, { 222,-771 }, { 223,-771 }, + { 224,-771 }, { 225,-771 }, { 226,-771 }, { 227,-771 }, { 228,-771 }, + { 229,-771 }, { 230,-771 }, { 231,-771 }, { 232,-771 }, { 233,-771 }, + { 234,-771 }, { 235,-771 }, { 236,-771 }, { 237,-771 }, { 238,-771 }, + { 239,-771 }, { 240,-771 }, { 241,-771 }, { 242,-771 }, { 243,-771 }, + { 244,-771 }, { 245,-771 }, { 246,-771 }, { 247,-771 }, { 248,-771 }, + { 249,-771 }, { 250,-771 }, { 251,-771 }, { 252,-771 }, { 253,-771 }, + { 254,-771 }, { 255,-771 }, { 0, 66 }, { 0,5019 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-4622 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 257 }, { 66, 257 }, { 67, 257 }, { 68, 257 }, { 69, 257 }, { 70, 257 }, { 71, 257 }, { 72, 257 }, { 73, 257 }, { 74, 257 }, { 75, 257 }, { 76, 257 }, { 77, 257 }, { 78, 257 }, { 79, 257 }, { 80, 257 }, { 81, 257 }, { 82, 257 }, { 83, 257 }, { 84, 257 }, { 85, 257 }, { 86, 257 }, - { 87, 257 }, { 88, 257 }, { 89, 257 }, { 90, 257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95, 514 }, { 0, 0 }, { 97, 257 }, { 98, 257 }, { 99, 257 }, { 100, 257 }, { 101, 257 }, { 102, 257 }, { 103, 257 }, { 104, 257 }, { 105, 257 }, { 106, 257 }, { 107, 257 }, { 108, 257 }, { 109, 257 }, { 110, 257 }, { 111, 257 }, + { 112, 257 }, { 113, 257 }, { 114, 257 }, { 115, 257 }, { 116, 257 }, { 117, 257 }, { 118, 257 }, { 119, 257 }, { 120, 257 }, { 121, 257 }, { 122, 257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128, 257 }, { 129, 257 }, { 130, 257 }, { 131, 257 }, { 132, 257 }, { 133, 257 }, { 134, 257 }, { 135, 257 }, { 136, 257 }, - { 137, 257 }, { 138, 257 }, { 139, 257 }, { 140, 257 }, { 141, 257 }, { 142, 257 }, { 143, 257 }, { 144, 257 }, { 145, 257 }, { 146, 257 }, { 147, 257 }, { 148, 257 }, { 149, 257 }, { 150, 257 }, { 151, 257 }, { 152, 257 }, { 153, 257 }, { 154, 257 }, { 155, 257 }, { 156, 257 }, { 157, 257 }, { 158, 257 }, { 159, 257 }, { 160, 257 }, { 161, 257 }, + { 162, 257 }, { 163, 257 }, { 164, 257 }, { 165, 257 }, { 166, 257 }, { 167, 257 }, { 168, 257 }, { 169, 257 }, { 170, 257 }, { 171, 257 }, { 172, 257 }, { 173, 257 }, { 174, 257 }, { 175, 257 }, { 176, 257 }, { 177, 257 }, { 178, 257 }, { 179, 257 }, { 180, 257 }, { 181, 257 }, { 182, 257 }, { 183, 257 }, { 184, 257 }, { 185, 257 }, { 186, 257 }, - { 187, 257 }, { 188, 257 }, { 189, 257 }, { 190, 257 }, { 191, 257 }, { 192, 257 }, { 193, 257 }, { 194, 257 }, { 195, 257 }, { 196, 257 }, - { 197, 257 }, { 198, 257 }, { 199, 257 }, { 200, 257 }, { 201, 257 }, - { 202, 257 }, { 203, 257 }, { 204, 257 }, { 205, 257 }, { 206, 257 }, - { 207, 257 }, { 208, 257 }, { 209, 257 }, { 210, 257 }, { 211, 257 }, - { 212, 257 }, { 213, 257 }, { 214, 257 }, { 215, 257 }, { 216, 257 }, - { 217, 257 }, { 218, 257 }, { 219, 257 }, { 220, 257 }, { 221, 257 }, - { 222, 257 }, { 223, 257 }, { 224, 257 }, { 225, 257 }, { 226, 257 }, - { 227, 257 }, { 228, 257 }, { 229, 257 }, { 230, 257 }, { 231, 257 }, - { 232, 257 }, { 233, 257 }, { 234, 257 }, { 235, 257 }, { 236, 257 }, - - { 237, 257 }, { 238, 257 }, { 239, 257 }, { 240, 257 }, { 241, 257 }, - { 242, 257 }, { 243, 257 }, { 244, 257 }, { 245, 257 }, { 246, 257 }, - { 247, 257 }, { 248, 257 }, { 249, 257 }, { 250, 257 }, { 251, 257 }, - { 252, 257 }, { 253, 257 }, { 254, 257 }, { 255, 257 }, { 0, 68 }, - { 0,8502 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 36,4512 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,4512 }, { 49,4512 }, - { 50,4512 }, { 51,4512 }, { 52,4512 }, { 53,4512 }, { 54,4512 }, - { 55,4512 }, { 56,4512 }, { 57,4512 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,4512 }, { 66,4512 }, { 67,4512 }, { 68,4512 }, { 69,4512 }, - { 70,4512 }, { 71,4512 }, { 72,4512 }, { 73,4512 }, { 74,4512 }, - { 75,4512 }, { 76,4512 }, { 77,4512 }, { 78,4512 }, { 79,4512 }, - - { 80,4512 }, { 81,4512 }, { 82,4512 }, { 83,4512 }, { 84,4512 }, - { 85,4512 }, { 86,4512 }, { 87,4512 }, { 88,4512 }, { 89,4512 }, - { 90,4512 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 95,4512 }, { 0, 0 }, { 97,4512 }, { 98,4512 }, { 99,4512 }, - { 100,4512 }, { 101,4512 }, { 102,4512 }, { 103,4512 }, { 104,4512 }, - { 105,4512 }, { 106,4512 }, { 107,4512 }, { 108,4512 }, { 109,4512 }, - { 110,4512 }, { 111,4512 }, { 112,4512 }, { 113,4512 }, { 114,4512 }, - { 115,4512 }, { 116,4512 }, { 117,4512 }, { 118,4512 }, { 119,4512 }, - { 120,4512 }, { 121,4512 }, { 122,4512 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,4512 }, { 129,4512 }, - - { 130,4512 }, { 131,4512 }, { 132,4512 }, { 133,4512 }, { 134,4512 }, - { 135,4512 }, { 136,4512 }, { 137,4512 }, { 138,4512 }, { 139,4512 }, - { 140,4512 }, { 141,4512 }, { 142,4512 }, { 143,4512 }, { 144,4512 }, - { 145,4512 }, { 146,4512 }, { 147,4512 }, { 148,4512 }, { 149,4512 }, - { 150,4512 }, { 151,4512 }, { 152,4512 }, { 153,4512 }, { 154,4512 }, - { 155,4512 }, { 156,4512 }, { 157,4512 }, { 158,4512 }, { 159,4512 }, - { 160,4512 }, { 161,4512 }, { 162,4512 }, { 163,4512 }, { 164,4512 }, - { 165,4512 }, { 166,4512 }, { 167,4512 }, { 168,4512 }, { 169,4512 }, - { 170,4512 }, { 171,4512 }, { 172,4512 }, { 173,4512 }, { 174,4512 }, - { 175,4512 }, { 176,4512 }, { 177,4512 }, { 178,4512 }, { 179,4512 }, - - { 180,4512 }, { 181,4512 }, { 182,4512 }, { 183,4512 }, { 184,4512 }, - { 185,4512 }, { 186,4512 }, { 187,4512 }, { 188,4512 }, { 189,4512 }, - { 190,4512 }, { 191,4512 }, { 192,4512 }, { 193,4512 }, { 194,4512 }, - { 195,4512 }, { 196,4512 }, { 197,4512 }, { 198,4512 }, { 199,4512 }, - { 200,4512 }, { 201,4512 }, { 202,4512 }, { 203,4512 }, { 204,4512 }, - { 205,4512 }, { 206,4512 }, { 207,4512 }, { 208,4512 }, { 209,4512 }, - { 210,4512 }, { 211,4512 }, { 212,4512 }, { 213,4512 }, { 214,4512 }, - { 215,4512 }, { 216,4512 }, { 217,4512 }, { 218,4512 }, { 219,4512 }, - { 220,4512 }, { 221,4512 }, { 222,4512 }, { 223,4512 }, { 224,4512 }, - { 225,4512 }, { 226,4512 }, { 227,4512 }, { 228,4512 }, { 229,4512 }, - - { 230,4512 }, { 231,4512 }, { 232,4512 }, { 233,4512 }, { 234,4512 }, - { 235,4512 }, { 236,4512 }, { 237,4512 }, { 238,4512 }, { 239,4512 }, - { 240,4512 }, { 241,4512 }, { 242,4512 }, { 243,4512 }, { 244,4512 }, - { 245,4512 }, { 246,4512 }, { 247,4512 }, { 248,4512 }, { 249,4512 }, - { 250,4512 }, { 251,4512 }, { 252,4512 }, { 253,4512 }, { 254,4512 }, - { 255,4512 }, { 0, 68 }, { 0,8245 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,4255 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 48,4512 }, { 49,4512 }, { 50,4512 }, { 51,4512 }, { 52,4512 }, - { 53,4512 }, { 54,4512 }, { 55,4512 }, { 56,4512 }, { 57,4512 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,4255 }, { 66,4255 }, { 67,4255 }, - { 68,4255 }, { 69,4255 }, { 70,4255 }, { 71,4255 }, { 72,4255 }, - - { 73,4255 }, { 74,4255 }, { 75,4255 }, { 76,4255 }, { 77,4255 }, - { 78,4255 }, { 79,4255 }, { 80,4255 }, { 81,4255 }, { 82,4255 }, - { 83,4255 }, { 84,4255 }, { 85,4255 }, { 86,4255 }, { 87,4255 }, - { 88,4255 }, { 89,4255 }, { 90,4255 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 95,4255 }, { 0, 0 }, { 97,4255 }, - { 98,4255 }, { 99,4255 }, { 100,4255 }, { 101,4255 }, { 102,4255 }, - { 103,4255 }, { 104,4255 }, { 105,4255 }, { 106,4255 }, { 107,4255 }, - { 108,4255 }, { 109,4255 }, { 110,4255 }, { 111,4255 }, { 112,4255 }, - { 113,4255 }, { 114,4255 }, { 115,4255 }, { 116,4255 }, { 117,4255 }, - { 118,4255 }, { 119,4255 }, { 120,4255 }, { 121,4255 }, { 122,4255 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 128,4255 }, { 129,4255 }, { 130,4255 }, { 131,4255 }, { 132,4255 }, - { 133,4255 }, { 134,4255 }, { 135,4255 }, { 136,4255 }, { 137,4255 }, - { 138,4255 }, { 139,4255 }, { 140,4255 }, { 141,4255 }, { 142,4255 }, - { 143,4255 }, { 144,4255 }, { 145,4255 }, { 146,4255 }, { 147,4255 }, - { 148,4255 }, { 149,4255 }, { 150,4255 }, { 151,4255 }, { 152,4255 }, - { 153,4255 }, { 154,4255 }, { 155,4255 }, { 156,4255 }, { 157,4255 }, - { 158,4255 }, { 159,4255 }, { 160,4255 }, { 161,4255 }, { 162,4255 }, - { 163,4255 }, { 164,4255 }, { 165,4255 }, { 166,4255 }, { 167,4255 }, - { 168,4255 }, { 169,4255 }, { 170,4255 }, { 171,4255 }, { 172,4255 }, - - { 173,4255 }, { 174,4255 }, { 175,4255 }, { 176,4255 }, { 177,4255 }, - { 178,4255 }, { 179,4255 }, { 180,4255 }, { 181,4255 }, { 182,4255 }, - { 183,4255 }, { 184,4255 }, { 185,4255 }, { 186,4255 }, { 187,4255 }, - { 188,4255 }, { 189,4255 }, { 190,4255 }, { 191,4255 }, { 192,4255 }, - { 193,4255 }, { 194,4255 }, { 195,4255 }, { 196,4255 }, { 197,4255 }, - { 198,4255 }, { 199,4255 }, { 200,4255 }, { 201,4255 }, { 202,4255 }, - { 203,4255 }, { 204,4255 }, { 205,4255 }, { 206,4255 }, { 207,4255 }, - { 208,4255 }, { 209,4255 }, { 210,4255 }, { 211,4255 }, { 212,4255 }, - { 213,4255 }, { 214,4255 }, { 215,4255 }, { 216,4255 }, { 217,4255 }, - { 218,4255 }, { 219,4255 }, { 220,4255 }, { 221,4255 }, { 222,4255 }, - - { 223,4255 }, { 224,4255 }, { 225,4255 }, { 226,4255 }, { 227,4255 }, - { 228,4255 }, { 229,4255 }, { 230,4255 }, { 231,4255 }, { 232,4255 }, - { 233,4255 }, { 234,4255 }, { 235,4255 }, { 236,4255 }, { 237,4255 }, - { 238,4255 }, { 239,4255 }, { 240,4255 }, { 241,4255 }, { 242,4255 }, - { 243,4255 }, { 244,4255 }, { 245,4255 }, { 246,4255 }, { 247,4255 }, - { 248,4255 }, { 249,4255 }, { 250,4255 }, { 251,4255 }, { 252,4255 }, - { 253,4255 }, { 254,4255 }, { 255,4255 }, { 0, 68 }, { 0,7988 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 36,-5393 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48,-4355 }, { 49,-4355 }, { 50,-4355 }, - { 51,-4355 }, { 52,-4355 }, { 53,-4355 }, { 54,-4355 }, { 55,-4355 }, - { 56,-5393 }, { 57,-5393 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-5393 }, - - { 66,-5393 }, { 67,-5393 }, { 68,-5393 }, { 69,-5393 }, { 70,-5393 }, - { 71,-5393 }, { 72,-5393 }, { 73,-5393 }, { 74,-5393 }, { 75,-5393 }, - { 76,-5393 }, { 77,-5393 }, { 78,-5393 }, { 79,-5393 }, { 80,-5393 }, - { 81,-5393 }, { 82,-5393 }, { 83,-5393 }, { 84,-5393 }, { 85,-5393 }, - { 86,-5393 }, { 87,-5393 }, { 88,-5393 }, { 89,-5393 }, { 90,-5393 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-5393 }, - { 0, 0 }, { 97,-5393 }, { 98,-5393 }, { 99,-5393 }, { 100,-5393 }, - { 101,-5393 }, { 102,-5393 }, { 103,-5393 }, { 104,-5393 }, { 105,-5393 }, - { 106,-5393 }, { 107,-5393 }, { 108,-5393 }, { 109,-5393 }, { 110,-5393 }, - { 111,-5393 }, { 112,-5393 }, { 113,-5393 }, { 114,-5393 }, { 115,-5393 }, - - { 116,-5393 }, { 117,-5393 }, { 118,-5393 }, { 119,-5393 }, { 120,-5393 }, - { 121,-5393 }, { 122,-5393 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 128,-5393 }, { 129,-5393 }, { 130,-5393 }, - { 131,-5393 }, { 132,-5393 }, { 133,-5393 }, { 134,-5393 }, { 135,-5393 }, - { 136,-5393 }, { 137,-5393 }, { 138,-5393 }, { 139,-5393 }, { 140,-5393 }, - { 141,-5393 }, { 142,-5393 }, { 143,-5393 }, { 144,-5393 }, { 145,-5393 }, - { 146,-5393 }, { 147,-5393 }, { 148,-5393 }, { 149,-5393 }, { 150,-5393 }, - { 151,-5393 }, { 152,-5393 }, { 153,-5393 }, { 154,-5393 }, { 155,-5393 }, - { 156,-5393 }, { 157,-5393 }, { 158,-5393 }, { 159,-5393 }, { 160,-5393 }, - { 161,-5393 }, { 162,-5393 }, { 163,-5393 }, { 164,-5393 }, { 165,-5393 }, - - { 166,-5393 }, { 167,-5393 }, { 168,-5393 }, { 169,-5393 }, { 170,-5393 }, - { 171,-5393 }, { 172,-5393 }, { 173,-5393 }, { 174,-5393 }, { 175,-5393 }, - { 176,-5393 }, { 177,-5393 }, { 178,-5393 }, { 179,-5393 }, { 180,-5393 }, - { 181,-5393 }, { 182,-5393 }, { 183,-5393 }, { 184,-5393 }, { 185,-5393 }, - { 186,-5393 }, { 187,-5393 }, { 188,-5393 }, { 189,-5393 }, { 190,-5393 }, - { 191,-5393 }, { 192,-5393 }, { 193,-5393 }, { 194,-5393 }, { 195,-5393 }, - { 196,-5393 }, { 197,-5393 }, { 198,-5393 }, { 199,-5393 }, { 200,-5393 }, - { 201,-5393 }, { 202,-5393 }, { 203,-5393 }, { 204,-5393 }, { 205,-5393 }, - { 206,-5393 }, { 207,-5393 }, { 208,-5393 }, { 209,-5393 }, { 210,-5393 }, - { 211,-5393 }, { 212,-5393 }, { 213,-5393 }, { 214,-5393 }, { 215,-5393 }, - - { 216,-5393 }, { 217,-5393 }, { 218,-5393 }, { 219,-5393 }, { 220,-5393 }, - { 221,-5393 }, { 222,-5393 }, { 223,-5393 }, { 224,-5393 }, { 225,-5393 }, - { 226,-5393 }, { 227,-5393 }, { 228,-5393 }, { 229,-5393 }, { 230,-5393 }, - { 231,-5393 }, { 232,-5393 }, { 233,-5393 }, { 234,-5393 }, { 235,-5393 }, - { 236,-5393 }, { 237,-5393 }, { 238,-5393 }, { 239,-5393 }, { 240,-5393 }, - { 241,-5393 }, { 242,-5393 }, { 243,-5393 }, { 244,-5393 }, { 245,-5393 }, - { 246,-5393 }, { 247,-5393 }, { 248,-5393 }, { 249,-5393 }, { 250,-5393 }, - { 251,-5393 }, { 252,-5393 }, { 253,-5393 }, { 254,-5393 }, { 255,-5393 }, - { 0, 68 }, { 0,7731 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 36,-5650 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-4098 }, - { 49,-4098 }, { 50,-4098 }, { 51,-4098 }, { 52,-4098 }, { 53,-4098 }, - { 54,-4098 }, { 55,-4098 }, { 56,-4098 }, { 57,-4098 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65,-4098 }, { 66,-4098 }, { 67,-4098 }, { 68,-4098 }, - { 69,-4098 }, { 70,-4098 }, { 71,-5650 }, { 72,-5650 }, { 73,-5650 }, - { 74,-5650 }, { 75,-5650 }, { 76,-5650 }, { 77,-5650 }, { 78,-5650 }, - { 79,-5650 }, { 80,-5650 }, { 81,-5650 }, { 82,-5650 }, { 83,-5650 }, - { 84,-5650 }, { 85,-5650 }, { 86,-5650 }, { 87,-5650 }, { 88,-5650 }, - { 89,-5650 }, { 90,-5650 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95,-5650 }, { 0, 0 }, { 97,-4098 }, { 98,-4098 }, - { 99,-4098 }, { 100,-4098 }, { 101,-4098 }, { 102,-4098 }, { 103,-5650 }, - { 104,-5650 }, { 105,-5650 }, { 106,-5650 }, { 107,-5650 }, { 108,-5650 }, - - { 109,-5650 }, { 110,-5650 }, { 111,-5650 }, { 112,-5650 }, { 113,-5650 }, - { 114,-5650 }, { 115,-5650 }, { 116,-5650 }, { 117,-5650 }, { 118,-5650 }, - { 119,-5650 }, { 120,-5650 }, { 121,-5650 }, { 122,-5650 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-5650 }, - { 129,-5650 }, { 130,-5650 }, { 131,-5650 }, { 132,-5650 }, { 133,-5650 }, - { 134,-5650 }, { 135,-5650 }, { 136,-5650 }, { 137,-5650 }, { 138,-5650 }, - { 139,-5650 }, { 140,-5650 }, { 141,-5650 }, { 142,-5650 }, { 143,-5650 }, - { 144,-5650 }, { 145,-5650 }, { 146,-5650 }, { 147,-5650 }, { 148,-5650 }, - { 149,-5650 }, { 150,-5650 }, { 151,-5650 }, { 152,-5650 }, { 153,-5650 }, - { 154,-5650 }, { 155,-5650 }, { 156,-5650 }, { 157,-5650 }, { 158,-5650 }, - - { 159,-5650 }, { 160,-5650 }, { 161,-5650 }, { 162,-5650 }, { 163,-5650 }, - { 164,-5650 }, { 165,-5650 }, { 166,-5650 }, { 167,-5650 }, { 168,-5650 }, - { 169,-5650 }, { 170,-5650 }, { 171,-5650 }, { 172,-5650 }, { 173,-5650 }, - { 174,-5650 }, { 175,-5650 }, { 176,-5650 }, { 177,-5650 }, { 178,-5650 }, - { 179,-5650 }, { 180,-5650 }, { 181,-5650 }, { 182,-5650 }, { 183,-5650 }, - { 184,-5650 }, { 185,-5650 }, { 186,-5650 }, { 187,-5650 }, { 188,-5650 }, - { 189,-5650 }, { 190,-5650 }, { 191,-5650 }, { 192,-5650 }, { 193,-5650 }, - { 194,-5650 }, { 195,-5650 }, { 196,-5650 }, { 197,-5650 }, { 198,-5650 }, - { 199,-5650 }, { 200,-5650 }, { 201,-5650 }, { 202,-5650 }, { 203,-5650 }, - { 204,-5650 }, { 205,-5650 }, { 206,-5650 }, { 207,-5650 }, { 208,-5650 }, - - { 209,-5650 }, { 210,-5650 }, { 211,-5650 }, { 212,-5650 }, { 213,-5650 }, - { 214,-5650 }, { 215,-5650 }, { 216,-5650 }, { 217,-5650 }, { 218,-5650 }, - { 219,-5650 }, { 220,-5650 }, { 221,-5650 }, { 222,-5650 }, { 223,-5650 }, - { 224,-5650 }, { 225,-5650 }, { 226,-5650 }, { 227,-5650 }, { 228,-5650 }, - { 229,-5650 }, { 230,-5650 }, { 231,-5650 }, { 232,-5650 }, { 233,-5650 }, - { 234,-5650 }, { 235,-5650 }, { 236,-5650 }, { 237,-5650 }, { 238,-5650 }, - { 239,-5650 }, { 240,-5650 }, { 241,-5650 }, { 242,-5650 }, { 243,-5650 }, - { 244,-5650 }, { 245,-5650 }, { 246,-5650 }, { 247,-5650 }, { 248,-5650 }, - { 249,-5650 }, { 250,-5650 }, { 251,-5650 }, { 252,-5650 }, { 253,-5650 }, - { 254,-5650 }, { 255,-5650 }, { 0, 68 }, { 0,7474 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-5907 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 48,-5907 }, { 49,-5907 }, { 50,-5907 }, { 51,-5907 }, - - { 52,-5907 }, { 53,-5907 }, { 54,-5907 }, { 55,-5907 }, { 56,-5907 }, - { 57,-5907 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-5907 }, { 66,-5907 }, - { 67,-5907 }, { 68,-5907 }, { 69,-5907 }, { 70,-5907 }, { 71,-5907 }, - { 72,-5907 }, { 73,-5907 }, { 74,-5907 }, { 75,-5907 }, { 76,-5907 }, - { 77,-5907 }, { 78,-5907 }, { 79,-5907 }, { 80,-5907 }, { 81,-5907 }, - { 82,-5907 }, { 83,-5907 }, { 84,-5907 }, { 85,-5907 }, { 86,-5907 }, - { 87,-5907 }, { 88,-5907 }, { 89,-5907 }, { 90,-5907 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-5907 }, { 0, 0 }, - { 97,-5907 }, { 98,-5907 }, { 99,-5907 }, { 100,-5907 }, { 101,-5907 }, - - { 102,-5907 }, { 103,-5907 }, { 104,-5907 }, { 105,-5907 }, { 106,-5907 }, - { 107,-5907 }, { 108,-5907 }, { 109,-5907 }, { 110,-5907 }, { 111,-5907 }, - { 112,-5907 }, { 113,-5907 }, { 114,-5907 }, { 115,-5907 }, { 116,-5907 }, - { 117,-5907 }, { 118,-5907 }, { 119,-5907 }, { 120,-5907 }, { 121,-5907 }, - { 122,-5907 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,-5907 }, { 129,-5907 }, { 130,-5907 }, { 131,-5907 }, - { 132,-5907 }, { 133,-5907 }, { 134,-5907 }, { 135,-5907 }, { 136,-5907 }, - { 137,-5907 }, { 138,-5907 }, { 139,-5907 }, { 140,-5907 }, { 141,-5907 }, - { 142,-5907 }, { 143,-5907 }, { 144,-5907 }, { 145,-5907 }, { 146,-5907 }, - { 147,-5907 }, { 148,-5907 }, { 149,-5907 }, { 150,-5907 }, { 151,-5907 }, - - { 152,-5907 }, { 153,-5907 }, { 154,-5907 }, { 155,-5907 }, { 156,-5907 }, - { 157,-5907 }, { 158,-5907 }, { 159,-5907 }, { 160,-5907 }, { 161,-5907 }, - { 162,-5907 }, { 163,-5907 }, { 164,-5907 }, { 165,-5907 }, { 166,-5907 }, - { 167,-5907 }, { 168,-5907 }, { 169,-5907 }, { 170,-5907 }, { 171,-5907 }, - { 172,-5907 }, { 173,-5907 }, { 174,-5907 }, { 175,-5907 }, { 176,-5907 }, - { 177,-5907 }, { 178,-5907 }, { 179,-5907 }, { 180,-5907 }, { 181,-5907 }, - { 182,-5907 }, { 183,-5907 }, { 184,-5907 }, { 185,-5907 }, { 186,-5907 }, - { 187,-5907 }, { 188,-5907 }, { 189,-5907 }, { 190,-5907 }, { 191,-5907 }, - { 192,-5907 }, { 193,-5907 }, { 194,-5907 }, { 195,-5907 }, { 196,-5907 }, - { 197,-5907 }, { 198,-5907 }, { 199,-5907 }, { 200,-5907 }, { 201,-5907 }, - - { 202,-5907 }, { 203,-5907 }, { 204,-5907 }, { 205,-5907 }, { 206,-5907 }, - { 207,-5907 }, { 208,-5907 }, { 209,-5907 }, { 210,-5907 }, { 211,-5907 }, - { 212,-5907 }, { 213,-5907 }, { 214,-5907 }, { 215,-5907 }, { 216,-5907 }, - { 217,-5907 }, { 218,-5907 }, { 219,-5907 }, { 220,-5907 }, { 221,-5907 }, - { 222,-5907 }, { 223,-5907 }, { 224,-5907 }, { 225,-5907 }, { 226,-5907 }, - { 227,-5907 }, { 228,-5907 }, { 229,-5907 }, { 230,-5907 }, { 231,-5907 }, - { 232,-5907 }, { 233,-5907 }, { 234,-5907 }, { 235,-5907 }, { 236,-5907 }, - { 237,-5907 }, { 238,-5907 }, { 239,-5907 }, { 240,-5907 }, { 241,-5907 }, - { 242,-5907 }, { 243,-5907 }, { 244,-5907 }, { 245,-5907 }, { 246,-5907 }, - { 247,-5907 }, { 248,-5907 }, { 249,-5907 }, { 250,-5907 }, { 251,-5907 }, - - { 252,-5907 }, { 253,-5907 }, { 254,-5907 }, { 255,-5907 }, { 0, 68 }, - { 0,7217 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 36,-6164 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 43,-5393 }, { 0, 0 }, - - { 45,-5393 }, { 0, 0 }, { 0, 0 }, { 48,-5383 }, { 49,-5383 }, - { 50,-5383 }, { 51,-5383 }, { 52,-5383 }, { 53,-5383 }, { 54,-5383 }, - { 55,-5383 }, { 56,-5383 }, { 57,-5383 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,-6164 }, { 66,-6164 }, { 67,-6164 }, { 68,-6164 }, { 69,-6164 }, - { 70,-6164 }, { 71,-6164 }, { 72,-6164 }, { 73,-6164 }, { 74,-6164 }, - { 75,-6164 }, { 76,-6164 }, { 77,-6164 }, { 78,-6164 }, { 79,-6164 }, - { 80,-6164 }, { 81,-6164 }, { 82,-6164 }, { 83,-6164 }, { 84,-6164 }, - { 85,-6164 }, { 86,-6164 }, { 87,-6164 }, { 88,-6164 }, { 89,-6164 }, - { 90,-6164 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 95,-6164 }, { 0, 0 }, { 97,-6164 }, { 98,-6164 }, { 99,-6164 }, - { 100,-6164 }, { 101,-6164 }, { 102,-6164 }, { 103,-6164 }, { 104,-6164 }, - { 105,-6164 }, { 106,-6164 }, { 107,-6164 }, { 108,-6164 }, { 109,-6164 }, - { 110,-6164 }, { 111,-6164 }, { 112,-6164 }, { 113,-6164 }, { 114,-6164 }, - { 115,-6164 }, { 116,-6164 }, { 117,-6164 }, { 118,-6164 }, { 119,-6164 }, - { 120,-6164 }, { 121,-6164 }, { 122,-6164 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-6164 }, { 129,-6164 }, - { 130,-6164 }, { 131,-6164 }, { 132,-6164 }, { 133,-6164 }, { 134,-6164 }, - { 135,-6164 }, { 136,-6164 }, { 137,-6164 }, { 138,-6164 }, { 139,-6164 }, - { 140,-6164 }, { 141,-6164 }, { 142,-6164 }, { 143,-6164 }, { 144,-6164 }, - - { 145,-6164 }, { 146,-6164 }, { 147,-6164 }, { 148,-6164 }, { 149,-6164 }, - { 150,-6164 }, { 151,-6164 }, { 152,-6164 }, { 153,-6164 }, { 154,-6164 }, - { 155,-6164 }, { 156,-6164 }, { 157,-6164 }, { 158,-6164 }, { 159,-6164 }, - { 160,-6164 }, { 161,-6164 }, { 162,-6164 }, { 163,-6164 }, { 164,-6164 }, - { 165,-6164 }, { 166,-6164 }, { 167,-6164 }, { 168,-6164 }, { 169,-6164 }, - { 170,-6164 }, { 171,-6164 }, { 172,-6164 }, { 173,-6164 }, { 174,-6164 }, - { 175,-6164 }, { 176,-6164 }, { 177,-6164 }, { 178,-6164 }, { 179,-6164 }, - { 180,-6164 }, { 181,-6164 }, { 182,-6164 }, { 183,-6164 }, { 184,-6164 }, - { 185,-6164 }, { 186,-6164 }, { 187,-6164 }, { 188,-6164 }, { 189,-6164 }, - { 190,-6164 }, { 191,-6164 }, { 192,-6164 }, { 193,-6164 }, { 194,-6164 }, - - { 195,-6164 }, { 196,-6164 }, { 197,-6164 }, { 198,-6164 }, { 199,-6164 }, - { 200,-6164 }, { 201,-6164 }, { 202,-6164 }, { 203,-6164 }, { 204,-6164 }, - { 205,-6164 }, { 206,-6164 }, { 207,-6164 }, { 208,-6164 }, { 209,-6164 }, - { 210,-6164 }, { 211,-6164 }, { 212,-6164 }, { 213,-6164 }, { 214,-6164 }, - { 215,-6164 }, { 216,-6164 }, { 217,-6164 }, { 218,-6164 }, { 219,-6164 }, - { 220,-6164 }, { 221,-6164 }, { 222,-6164 }, { 223,-6164 }, { 224,-6164 }, - { 225,-6164 }, { 226,-6164 }, { 227,-6164 }, { 228,-6164 }, { 229,-6164 }, - { 230,-6164 }, { 231,-6164 }, { 232,-6164 }, { 233,-6164 }, { 234,-6164 }, - { 235,-6164 }, { 236,-6164 }, { 237,-6164 }, { 238,-6164 }, { 239,-6164 }, - { 240,-6164 }, { 241,-6164 }, { 242,-6164 }, { 243,-6164 }, { 244,-6164 }, - - { 245,-6164 }, { 246,-6164 }, { 247,-6164 }, { 248,-6164 }, { 249,-6164 }, - { 250,-6164 }, { 251,-6164 }, { 252,-6164 }, { 253,-6164 }, { 254,-6164 }, - { 255,-6164 }, { 0, 68 }, { 0,6960 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-6421 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 48,-4355 }, { 49,-4355 }, { 50,-4355 }, { 51,-4355 }, { 52,-4355 }, - { 53,-4355 }, { 54,-4355 }, { 55,-4355 }, { 56,-4355 }, { 57,-4355 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,-6421 }, { 66,-6421 }, { 67,-6421 }, - { 68,-6421 }, { 69,-6421 }, { 70,-6421 }, { 71,-6421 }, { 72,-6421 }, - { 73,-6421 }, { 74,-6421 }, { 75,-6421 }, { 76,-6421 }, { 77,-6421 }, - { 78,-6421 }, { 79,-6421 }, { 80,-6421 }, { 81,-6421 }, { 82,-6421 }, - { 83,-6421 }, { 84,-6421 }, { 85,-6421 }, { 86,-6421 }, { 87,-6421 }, - - { 88,-6421 }, { 89,-6421 }, { 90,-6421 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 95,-6421 }, { 0, 0 }, { 97,-6421 }, - { 98,-6421 }, { 99,-6421 }, { 100,-6421 }, { 101,-6421 }, { 102,-6421 }, - { 103,-6421 }, { 104,-6421 }, { 105,-6421 }, { 106,-6421 }, { 107,-6421 }, - { 108,-6421 }, { 109,-6421 }, { 110,-6421 }, { 111,-6421 }, { 112,-6421 }, - { 113,-6421 }, { 114,-6421 }, { 115,-6421 }, { 116,-6421 }, { 117,-6421 }, - { 118,-6421 }, { 119,-6421 }, { 120,-6421 }, { 121,-6421 }, { 122,-6421 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 128,-6421 }, { 129,-6421 }, { 130,-6421 }, { 131,-6421 }, { 132,-6421 }, - { 133,-6421 }, { 134,-6421 }, { 135,-6421 }, { 136,-6421 }, { 137,-6421 }, - - { 138,-6421 }, { 139,-6421 }, { 140,-6421 }, { 141,-6421 }, { 142,-6421 }, - { 143,-6421 }, { 144,-6421 }, { 145,-6421 }, { 146,-6421 }, { 147,-6421 }, - { 148,-6421 }, { 149,-6421 }, { 150,-6421 }, { 151,-6421 }, { 152,-6421 }, - { 153,-6421 }, { 154,-6421 }, { 155,-6421 }, { 156,-6421 }, { 157,-6421 }, - { 158,-6421 }, { 159,-6421 }, { 160,-6421 }, { 161,-6421 }, { 162,-6421 }, - { 163,-6421 }, { 164,-6421 }, { 165,-6421 }, { 166,-6421 }, { 167,-6421 }, - { 168,-6421 }, { 169,-6421 }, { 170,-6421 }, { 171,-6421 }, { 172,-6421 }, - { 173,-6421 }, { 174,-6421 }, { 175,-6421 }, { 176,-6421 }, { 177,-6421 }, - { 178,-6421 }, { 179,-6421 }, { 180,-6421 }, { 181,-6421 }, { 182,-6421 }, - { 183,-6421 }, { 184,-6421 }, { 185,-6421 }, { 186,-6421 }, { 187,-6421 }, - - { 188,-6421 }, { 189,-6421 }, { 190,-6421 }, { 191,-6421 }, { 192,-6421 }, - { 193,-6421 }, { 194,-6421 }, { 195,-6421 }, { 196,-6421 }, { 197,-6421 }, - { 198,-6421 }, { 199,-6421 }, { 200,-6421 }, { 201,-6421 }, { 202,-6421 }, - { 203,-6421 }, { 204,-6421 }, { 205,-6421 }, { 206,-6421 }, { 207,-6421 }, - { 208,-6421 }, { 209,-6421 }, { 210,-6421 }, { 211,-6421 }, { 212,-6421 }, - { 213,-6421 }, { 214,-6421 }, { 215,-6421 }, { 216,-6421 }, { 217,-6421 }, - { 218,-6421 }, { 219,-6421 }, { 220,-6421 }, { 221,-6421 }, { 222,-6421 }, - { 223,-6421 }, { 224,-6421 }, { 225,-6421 }, { 226,-6421 }, { 227,-6421 }, - { 228,-6421 }, { 229,-6421 }, { 230,-6421 }, { 231,-6421 }, { 232,-6421 }, - { 233,-6421 }, { 234,-6421 }, { 235,-6421 }, { 236,-6421 }, { 237,-6421 }, - - { 238,-6421 }, { 239,-6421 }, { 240,-6421 }, { 241,-6421 }, { 242,-6421 }, - { 243,-6421 }, { 244,-6421 }, { 245,-6421 }, { 246,-6421 }, { 247,-6421 }, - { 248,-6421 }, { 249,-6421 }, { 250,-6421 }, { 251,-6421 }, { 252,-6421 }, - { 253,-6421 }, { 254,-6421 }, { 255,-6421 }, { 0, 28 }, { 0,6703 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 28 }, { 0,6680 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48,3227 }, { 49,3227 }, { 50,3227 }, - { 51,3227 }, { 52,3227 }, { 53,3227 }, { 54,3227 }, { 55,3227 }, - { 56,3227 }, { 57,3227 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, - { 0,6642 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,3227 }, - { 66,3227 }, { 67,3227 }, { 68,3227 }, { 69,3227 }, { 70,3227 }, - { 48,3227 }, { 49,3227 }, { 50,3227 }, { 51,3227 }, { 52,3227 }, - { 53,3227 }, { 54,3227 }, { 55,3227 }, { 56,3227 }, { 57,3227 }, - - { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0,6619 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,3227 }, { 66,3227 }, { 67,3227 }, - { 68,3227 }, { 69,3227 }, { 70,3227 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 97,3227 }, { 98,3227 }, { 99,3227 }, { 100,3227 }, - { 101,3227 }, { 102,3227 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,3227 }, { 49,3227 }, - { 50,3227 }, { 51,3227 }, { 52,3227 }, { 53,3227 }, { 54,3227 }, - { 55,3227 }, { 56,3227 }, { 57,3227 }, { 0, 0 }, { 97,3227 }, - { 98,3227 }, { 99,3227 }, { 100,3227 }, { 101,3227 }, { 102,3227 }, - { 65,3227 }, { 66,3227 }, { 67,3227 }, { 68,3227 }, { 69,3227 }, - - { 70,3227 }, { 48,3227 }, { 49,3227 }, { 50,3227 }, { 51,3227 }, - { 52,3227 }, { 53,3227 }, { 54,3227 }, { 55,3227 }, { 56,3227 }, - { 57,3227 }, { 0, 66 }, { 0,6560 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,3227 }, { 66,3227 }, - { 67,3227 }, { 68,3227 }, { 69,3227 }, { 70,3227 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 97,3227 }, { 98,3227 }, { 99,3227 }, - { 100,3227 }, { 101,3227 }, { 102,3227 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-3998 }, { 0, 0 }, - - { 97,3227 }, { 98,3227 }, { 99,3227 }, { 100,3227 }, { 101,3227 }, - { 102,3227 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, - { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65, 257 }, { 66, 257 }, { 67, 257 }, - { 68, 257 }, { 69, 257 }, { 70, 257 }, { 71, 257 }, { 72, 257 }, - { 73, 257 }, { 74, 257 }, { 75, 257 }, { 76, 257 }, { 77, 257 }, - { 78, 257 }, { 79, 257 }, { 80, 257 }, { 81, 257 }, { 82, 257 }, - { 83, 257 }, { 84, 257 }, { 85, 257 }, { 86, 257 }, { 87, 257 }, - - { 88, 257 }, { 89, 257 }, { 90, 257 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 95, 514 }, { 0, 0 }, { 97, 257 }, - { 98, 257 }, { 99, 257 }, { 100, 257 }, { 101, 257 }, { 102, 257 }, - { 103, 257 }, { 104, 257 }, { 105, 257 }, { 106, 257 }, { 107, 257 }, - { 108, 257 }, { 109, 257 }, { 110, 257 }, { 111, 257 }, { 112, 257 }, - { 113, 257 }, { 114, 257 }, { 115, 257 }, { 116, 257 }, { 117, 257 }, - { 118, 257 }, { 119, 257 }, { 120, 257 }, { 121, 257 }, { 122, 257 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 128, 257 }, { 129, 257 }, { 130, 257 }, { 131, 257 }, { 132, 257 }, - { 133, 257 }, { 134, 257 }, { 135, 257 }, { 136, 257 }, { 137, 257 }, - - { 138, 257 }, { 139, 257 }, { 140, 257 }, { 141, 257 }, { 142, 257 }, - { 143, 257 }, { 144, 257 }, { 145, 257 }, { 146, 257 }, { 147, 257 }, - { 148, 257 }, { 149, 257 }, { 150, 257 }, { 151, 257 }, { 152, 257 }, - { 153, 257 }, { 154, 257 }, { 155, 257 }, { 156, 257 }, { 157, 257 }, - { 158, 257 }, { 159, 257 }, { 160, 257 }, { 161, 257 }, { 162, 257 }, - { 163, 257 }, { 164, 257 }, { 165, 257 }, { 166, 257 }, { 167, 257 }, - { 168, 257 }, { 169, 257 }, { 170, 257 }, { 171, 257 }, { 172, 257 }, - { 173, 257 }, { 174, 257 }, { 175, 257 }, { 176, 257 }, { 177, 257 }, - { 178, 257 }, { 179, 257 }, { 180, 257 }, { 181, 257 }, { 182, 257 }, - { 183, 257 }, { 184, 257 }, { 185, 257 }, { 186, 257 }, { 187, 257 }, - - { 188, 257 }, { 189, 257 }, { 190, 257 }, { 191, 257 }, { 192, 257 }, - { 193, 257 }, { 194, 257 }, { 195, 257 }, { 196, 257 }, { 197, 257 }, - { 198, 257 }, { 199, 257 }, { 200, 257 }, { 201, 257 }, { 202, 257 }, - { 203, 257 }, { 204, 257 }, { 205, 257 }, { 206, 257 }, { 207, 257 }, - { 208, 257 }, { 209, 257 }, { 210, 257 }, { 211, 257 }, { 212, 257 }, - { 213, 257 }, { 214, 257 }, { 215, 257 }, { 216, 257 }, { 217, 257 }, - { 218, 257 }, { 219, 257 }, { 220, 257 }, { 221, 257 }, { 222, 257 }, - { 223, 257 }, { 224, 257 }, { 225, 257 }, { 226, 257 }, { 227, 257 }, - { 228, 257 }, { 229, 257 }, { 230, 257 }, { 231, 257 }, { 232, 257 }, - { 233, 257 }, { 234, 257 }, { 235, 257 }, { 236, 257 }, { 237, 257 }, - - { 238, 257 }, { 239, 257 }, { 240, 257 }, { 241, 257 }, { 242, 257 }, - { 243, 257 }, { 244, 257 }, { 245, 257 }, { 246, 257 }, { 247, 257 }, - { 248, 257 }, { 249, 257 }, { 250, 257 }, { 251, 257 }, { 252, 257 }, - { 253, 257 }, { 254, 257 }, { 255, 257 }, { 0, 69 }, { 0,6303 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 36,2970 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48,2970 }, { 49,2970 }, { 50,2970 }, - { 51,2970 }, { 52,2970 }, { 53,2970 }, { 54,2970 }, { 55,2970 }, - { 56,2970 }, { 57,2970 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,2970 }, - { 66,2970 }, { 67,2970 }, { 68,2970 }, { 69,2970 }, { 70,2970 }, - { 71,2970 }, { 72,2970 }, { 73,2970 }, { 74,2970 }, { 75,2970 }, - { 76,2970 }, { 77,2970 }, { 78,2970 }, { 79,2970 }, { 80,2970 }, - - { 81,2970 }, { 82,2970 }, { 83,2970 }, { 84,2970 }, { 85,2970 }, - { 86,2970 }, { 87,2970 }, { 88,2970 }, { 89,2970 }, { 90,2970 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,2970 }, - { 0, 0 }, { 97,2970 }, { 98,2970 }, { 99,2970 }, { 100,2970 }, - { 101,2970 }, { 102,2970 }, { 103,2970 }, { 104,2970 }, { 105,2970 }, - { 106,2970 }, { 107,2970 }, { 108,2970 }, { 109,2970 }, { 110,2970 }, - { 111,2970 }, { 112,2970 }, { 113,2970 }, { 114,2970 }, { 115,2970 }, - { 116,2970 }, { 117,2970 }, { 118,2970 }, { 119,2970 }, { 120,2970 }, - { 121,2970 }, { 122,2970 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 128,2970 }, { 129,2970 }, { 130,2970 }, - - { 131,2970 }, { 132,2970 }, { 133,2970 }, { 134,2970 }, { 135,2970 }, - { 136,2970 }, { 137,2970 }, { 138,2970 }, { 139,2970 }, { 140,2970 }, - { 141,2970 }, { 142,2970 }, { 143,2970 }, { 144,2970 }, { 145,2970 }, - { 146,2970 }, { 147,2970 }, { 148,2970 }, { 149,2970 }, { 150,2970 }, - { 151,2970 }, { 152,2970 }, { 153,2970 }, { 154,2970 }, { 155,2970 }, - { 156,2970 }, { 157,2970 }, { 158,2970 }, { 159,2970 }, { 160,2970 }, - { 161,2970 }, { 162,2970 }, { 163,2970 }, { 164,2970 }, { 165,2970 }, - { 166,2970 }, { 167,2970 }, { 168,2970 }, { 169,2970 }, { 170,2970 }, - { 171,2970 }, { 172,2970 }, { 173,2970 }, { 174,2970 }, { 175,2970 }, - { 176,2970 }, { 177,2970 }, { 178,2970 }, { 179,2970 }, { 180,2970 }, - - { 181,2970 }, { 182,2970 }, { 183,2970 }, { 184,2970 }, { 185,2970 }, - { 186,2970 }, { 187,2970 }, { 188,2970 }, { 189,2970 }, { 190,2970 }, - { 191,2970 }, { 192,2970 }, { 193,2970 }, { 194,2970 }, { 195,2970 }, - { 196,2970 }, { 197,2970 }, { 198,2970 }, { 199,2970 }, { 200,2970 }, - { 201,2970 }, { 202,2970 }, { 203,2970 }, { 204,2970 }, { 205,2970 }, - { 206,2970 }, { 207,2970 }, { 208,2970 }, { 209,2970 }, { 210,2970 }, - { 211,2970 }, { 212,2970 }, { 213,2970 }, { 214,2970 }, { 215,2970 }, - { 216,2970 }, { 217,2970 }, { 218,2970 }, { 219,2970 }, { 220,2970 }, - { 221,2970 }, { 222,2970 }, { 223,2970 }, { 224,2970 }, { 225,2970 }, - { 226,2970 }, { 227,2970 }, { 228,2970 }, { 229,2970 }, { 230,2970 }, - - { 231,2970 }, { 232,2970 }, { 233,2970 }, { 234,2970 }, { 235,2970 }, - { 236,2970 }, { 237,2970 }, { 238,2970 }, { 239,2970 }, { 240,2970 }, - { 241,2970 }, { 242,2970 }, { 243,2970 }, { 244,2970 }, { 245,2970 }, - { 246,2970 }, { 247,2970 }, { 248,2970 }, { 249,2970 }, { 250,2970 }, - { 251,2970 }, { 252,2970 }, { 253,2970 }, { 254,2970 }, { 255,2970 }, - { 0, 69 }, { 0,6046 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 36,2713 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,2970 }, - { 49,2970 }, { 50,2970 }, { 51,2970 }, { 52,2970 }, { 53,2970 }, - { 54,2970 }, { 55,2970 }, { 56,2970 }, { 57,2970 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65,2713 }, { 66,2713 }, { 67,2713 }, { 68,2713 }, - { 69,2713 }, { 70,2713 }, { 71,2713 }, { 72,2713 }, { 73,2713 }, - - { 74,2713 }, { 75,2713 }, { 76,2713 }, { 77,2713 }, { 78,2713 }, - { 79,2713 }, { 80,2713 }, { 81,2713 }, { 82,2713 }, { 83,2713 }, - { 84,2713 }, { 85,2713 }, { 86,2713 }, { 87,2713 }, { 88,2713 }, - { 89,2713 }, { 90,2713 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95,2713 }, { 0, 0 }, { 97,2713 }, { 98,2713 }, - { 99,2713 }, { 100,2713 }, { 101,2713 }, { 102,2713 }, { 103,2713 }, - { 104,2713 }, { 105,2713 }, { 106,2713 }, { 107,2713 }, { 108,2713 }, - { 109,2713 }, { 110,2713 }, { 111,2713 }, { 112,2713 }, { 113,2713 }, - { 114,2713 }, { 115,2713 }, { 116,2713 }, { 117,2713 }, { 118,2713 }, - { 119,2713 }, { 120,2713 }, { 121,2713 }, { 122,2713 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,2713 }, - { 129,2713 }, { 130,2713 }, { 131,2713 }, { 132,2713 }, { 133,2713 }, - { 134,2713 }, { 135,2713 }, { 136,2713 }, { 137,2713 }, { 138,2713 }, - { 139,2713 }, { 140,2713 }, { 141,2713 }, { 142,2713 }, { 143,2713 }, - { 144,2713 }, { 145,2713 }, { 146,2713 }, { 147,2713 }, { 148,2713 }, - { 149,2713 }, { 150,2713 }, { 151,2713 }, { 152,2713 }, { 153,2713 }, - { 154,2713 }, { 155,2713 }, { 156,2713 }, { 157,2713 }, { 158,2713 }, - { 159,2713 }, { 160,2713 }, { 161,2713 }, { 162,2713 }, { 163,2713 }, - { 164,2713 }, { 165,2713 }, { 166,2713 }, { 167,2713 }, { 168,2713 }, - { 169,2713 }, { 170,2713 }, { 171,2713 }, { 172,2713 }, { 173,2713 }, - - { 174,2713 }, { 175,2713 }, { 176,2713 }, { 177,2713 }, { 178,2713 }, - { 179,2713 }, { 180,2713 }, { 181,2713 }, { 182,2713 }, { 183,2713 }, - { 184,2713 }, { 185,2713 }, { 186,2713 }, { 187,2713 }, { 188,2713 }, - { 189,2713 }, { 190,2713 }, { 191,2713 }, { 192,2713 }, { 193,2713 }, - { 194,2713 }, { 195,2713 }, { 196,2713 }, { 197,2713 }, { 198,2713 }, - { 199,2713 }, { 200,2713 }, { 201,2713 }, { 202,2713 }, { 203,2713 }, - { 204,2713 }, { 205,2713 }, { 206,2713 }, { 207,2713 }, { 208,2713 }, - { 209,2713 }, { 210,2713 }, { 211,2713 }, { 212,2713 }, { 213,2713 }, - { 214,2713 }, { 215,2713 }, { 216,2713 }, { 217,2713 }, { 218,2713 }, - { 219,2713 }, { 220,2713 }, { 221,2713 }, { 222,2713 }, { 223,2713 }, - - { 224,2713 }, { 225,2713 }, { 226,2713 }, { 227,2713 }, { 228,2713 }, - { 229,2713 }, { 230,2713 }, { 231,2713 }, { 232,2713 }, { 233,2713 }, - { 234,2713 }, { 235,2713 }, { 236,2713 }, { 237,2713 }, { 238,2713 }, - { 239,2713 }, { 240,2713 }, { 241,2713 }, { 242,2713 }, { 243,2713 }, - { 244,2713 }, { 245,2713 }, { 246,2713 }, { 247,2713 }, { 248,2713 }, - { 249,2713 }, { 250,2713 }, { 251,2713 }, { 252,2713 }, { 253,2713 }, - { 254,2713 }, { 255,2713 }, { 0, 69 }, { 0,5789 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-4769 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 48,-4769 }, { 49,-4769 }, { 50,-4769 }, { 51,-4769 }, - { 52,-4769 }, { 53,-4769 }, { 54,-4769 }, { 55,-4769 }, { 56,-4769 }, - { 57,-4769 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-4769 }, { 66,-4769 }, - - { 67,-4769 }, { 68,-4769 }, { 69,-4769 }, { 70,-4769 }, { 71,-4769 }, - { 72,-4769 }, { 73,-4769 }, { 74,-4769 }, { 75,-4769 }, { 76,-4769 }, - { 77,-4769 }, { 78,-4769 }, { 79,-4769 }, { 80,-4769 }, { 81,-4769 }, - { 82,-4769 }, { 83,-4769 }, { 84,-4769 }, { 85,-4769 }, { 86,-4769 }, - { 87,-4769 }, { 88,-4769 }, { 89,-4769 }, { 90,-4769 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-4769 }, { 0, 0 }, - { 97,-4769 }, { 98,-4769 }, { 99,-4769 }, { 100,-4769 }, { 101,-4769 }, - { 102,-4769 }, { 103,-4769 }, { 104,-4769 }, { 105,-4769 }, { 106,-4769 }, - { 107,-4769 }, { 108,-4769 }, { 109,-4769 }, { 110,-4769 }, { 111,-4769 }, - { 112,-4769 }, { 113,-4769 }, { 114,-4769 }, { 115,-4769 }, { 116,-4769 }, - - { 117,-4769 }, { 118,-4769 }, { 119,-4769 }, { 120,-4769 }, { 121,-4769 }, - { 122,-4769 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,-4769 }, { 129,-4769 }, { 130,-4769 }, { 131,-4769 }, - { 132,-4769 }, { 133,-4769 }, { 134,-4769 }, { 135,-4769 }, { 136,-4769 }, - { 137,-4769 }, { 138,-4769 }, { 139,-4769 }, { 140,-4769 }, { 141,-4769 }, - { 142,-4769 }, { 143,-4769 }, { 144,-4769 }, { 145,-4769 }, { 146,-4769 }, - { 147,-4769 }, { 148,-4769 }, { 149,-4769 }, { 150,-4769 }, { 151,-4769 }, - { 152,-4769 }, { 153,-4769 }, { 154,-4769 }, { 155,-4769 }, { 156,-4769 }, - { 157,-4769 }, { 158,-4769 }, { 159,-4769 }, { 160,-4769 }, { 161,-4769 }, - { 162,-4769 }, { 163,-4769 }, { 164,-4769 }, { 165,-4769 }, { 166,-4769 }, - - { 167,-4769 }, { 168,-4769 }, { 169,-4769 }, { 170,-4769 }, { 171,-4769 }, - { 172,-4769 }, { 173,-4769 }, { 174,-4769 }, { 175,-4769 }, { 176,-4769 }, - { 177,-4769 }, { 178,-4769 }, { 179,-4769 }, { 180,-4769 }, { 181,-4769 }, - { 182,-4769 }, { 183,-4769 }, { 184,-4769 }, { 185,-4769 }, { 186,-4769 }, - { 187,-4769 }, { 188,-4769 }, { 189,-4769 }, { 190,-4769 }, { 191,-4769 }, - { 192,-4769 }, { 193,-4769 }, { 194,-4769 }, { 195,-4769 }, { 196,-4769 }, - { 197,-4769 }, { 198,-4769 }, { 199,-4769 }, { 200,-4769 }, { 201,-4769 }, - { 202,-4769 }, { 203,-4769 }, { 204,-4769 }, { 205,-4769 }, { 206,-4769 }, - { 207,-4769 }, { 208,-4769 }, { 209,-4769 }, { 210,-4769 }, { 211,-4769 }, - { 212,-4769 }, { 213,-4769 }, { 214,-4769 }, { 215,-4769 }, { 216,-4769 }, - - { 217,-4769 }, { 218,-4769 }, { 219,-4769 }, { 220,-4769 }, { 221,-4769 }, - { 222,-4769 }, { 223,-4769 }, { 224,-4769 }, { 225,-4769 }, { 226,-4769 }, - { 227,-4769 }, { 228,-4769 }, { 229,-4769 }, { 230,-4769 }, { 231,-4769 }, - { 232,-4769 }, { 233,-4769 }, { 234,-4769 }, { 235,-4769 }, { 236,-4769 }, - { 237,-4769 }, { 238,-4769 }, { 239,-4769 }, { 240,-4769 }, { 241,-4769 }, - { 242,-4769 }, { 243,-4769 }, { 244,-4769 }, { 245,-4769 }, { 246,-4769 }, - { 247,-4769 }, { 248,-4769 }, { 249,-4769 }, { 250,-4769 }, { 251,-4769 }, - { 252,-4769 }, { 253,-4769 }, { 254,-4769 }, { 255,-4769 }, { 0, 69 }, - { 0,5532 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 36,-5026 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 43,-7078 }, { 0, 0 }, - { 45,-7078 }, { 0, 0 }, { 0, 0 }, { 48,-4769 }, { 49,-4769 }, - { 50,-4769 }, { 51,-4769 }, { 52,-4769 }, { 53,-4769 }, { 54,-4769 }, - { 55,-4769 }, { 56,-4769 }, { 57,-4769 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,-5026 }, { 66,-5026 }, { 67,-5026 }, { 68,-5026 }, { 69,-5026 }, - { 70,-5026 }, { 71,-5026 }, { 72,-5026 }, { 73,-5026 }, { 74,-5026 }, - { 75,-5026 }, { 76,-5026 }, { 77,-5026 }, { 78,-5026 }, { 79,-5026 }, - { 80,-5026 }, { 81,-5026 }, { 82,-5026 }, { 83,-5026 }, { 84,-5026 }, - { 85,-5026 }, { 86,-5026 }, { 87,-5026 }, { 88,-5026 }, { 89,-5026 }, - { 90,-5026 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 95,-5026 }, { 0, 0 }, { 97,-5026 }, { 98,-5026 }, { 99,-5026 }, - { 100,-5026 }, { 101,-5026 }, { 102,-5026 }, { 103,-5026 }, { 104,-5026 }, - { 105,-5026 }, { 106,-5026 }, { 107,-5026 }, { 108,-5026 }, { 109,-5026 }, - - { 110,-5026 }, { 111,-5026 }, { 112,-5026 }, { 113,-5026 }, { 114,-5026 }, - { 115,-5026 }, { 116,-5026 }, { 117,-5026 }, { 118,-5026 }, { 119,-5026 }, - { 120,-5026 }, { 121,-5026 }, { 122,-5026 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-5026 }, { 129,-5026 }, - { 130,-5026 }, { 131,-5026 }, { 132,-5026 }, { 133,-5026 }, { 134,-5026 }, - { 135,-5026 }, { 136,-5026 }, { 137,-5026 }, { 138,-5026 }, { 139,-5026 }, - { 140,-5026 }, { 141,-5026 }, { 142,-5026 }, { 143,-5026 }, { 144,-5026 }, - { 145,-5026 }, { 146,-5026 }, { 147,-5026 }, { 148,-5026 }, { 149,-5026 }, - { 150,-5026 }, { 151,-5026 }, { 152,-5026 }, { 153,-5026 }, { 154,-5026 }, - { 155,-5026 }, { 156,-5026 }, { 157,-5026 }, { 158,-5026 }, { 159,-5026 }, - - { 160,-5026 }, { 161,-5026 }, { 162,-5026 }, { 163,-5026 }, { 164,-5026 }, - { 165,-5026 }, { 166,-5026 }, { 167,-5026 }, { 168,-5026 }, { 169,-5026 }, - { 170,-5026 }, { 171,-5026 }, { 172,-5026 }, { 173,-5026 }, { 174,-5026 }, - { 175,-5026 }, { 176,-5026 }, { 177,-5026 }, { 178,-5026 }, { 179,-5026 }, - { 180,-5026 }, { 181,-5026 }, { 182,-5026 }, { 183,-5026 }, { 184,-5026 }, - { 185,-5026 }, { 186,-5026 }, { 187,-5026 }, { 188,-5026 }, { 189,-5026 }, - { 190,-5026 }, { 191,-5026 }, { 192,-5026 }, { 193,-5026 }, { 194,-5026 }, - { 195,-5026 }, { 196,-5026 }, { 197,-5026 }, { 198,-5026 }, { 199,-5026 }, - { 200,-5026 }, { 201,-5026 }, { 202,-5026 }, { 203,-5026 }, { 204,-5026 }, - { 205,-5026 }, { 206,-5026 }, { 207,-5026 }, { 208,-5026 }, { 209,-5026 }, - - { 210,-5026 }, { 211,-5026 }, { 212,-5026 }, { 213,-5026 }, { 214,-5026 }, - { 215,-5026 }, { 216,-5026 }, { 217,-5026 }, { 218,-5026 }, { 219,-5026 }, - { 220,-5026 }, { 221,-5026 }, { 222,-5026 }, { 223,-5026 }, { 224,-5026 }, - { 225,-5026 }, { 226,-5026 }, { 227,-5026 }, { 228,-5026 }, { 229,-5026 }, - { 230,-5026 }, { 231,-5026 }, { 232,-5026 }, { 233,-5026 }, { 234,-5026 }, - { 235,-5026 }, { 236,-5026 }, { 237,-5026 }, { 238,-5026 }, { 239,-5026 }, - { 240,-5026 }, { 241,-5026 }, { 242,-5026 }, { 243,-5026 }, { 244,-5026 }, - { 245,-5026 }, { 246,-5026 }, { 247,-5026 }, { 248,-5026 }, { 249,-5026 }, - { 250,-5026 }, { 251,-5026 }, { 252,-5026 }, { 253,-5026 }, { 254,-5026 }, - { 255,-5026 }, { 0, 69 }, { 0,5275 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-5283 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 48,-4769 }, { 49,-4769 }, { 50,-4769 }, { 51,-4769 }, { 52,-4769 }, - - { 53,-4769 }, { 54,-4769 }, { 55,-4769 }, { 56,-4769 }, { 57,-4769 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65,-5283 }, { 66,-5283 }, { 67,-5283 }, - { 68,-5283 }, { 69,-5283 }, { 70,-5283 }, { 71,-5283 }, { 72,-5283 }, - { 73,-5283 }, { 74,-5283 }, { 75,-5283 }, { 76,-5283 }, { 77,-5283 }, - { 78,-5283 }, { 79,-5283 }, { 80,-5283 }, { 81,-5283 }, { 82,-5283 }, - { 83,-5283 }, { 84,-5283 }, { 85,-5283 }, { 86,-5283 }, { 87,-5283 }, - { 88,-5283 }, { 89,-5283 }, { 90,-5283 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 95,-5283 }, { 0, 0 }, { 97,-5283 }, - { 98,-5283 }, { 99,-5283 }, { 100,-5283 }, { 101,-5283 }, { 102,-5283 }, - - { 103,-5283 }, { 104,-5283 }, { 105,-5283 }, { 106,-5283 }, { 107,-5283 }, - { 108,-5283 }, { 109,-5283 }, { 110,-5283 }, { 111,-5283 }, { 112,-5283 }, - { 113,-5283 }, { 114,-5283 }, { 115,-5283 }, { 116,-5283 }, { 117,-5283 }, - { 118,-5283 }, { 119,-5283 }, { 120,-5283 }, { 121,-5283 }, { 122,-5283 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 128,-5283 }, { 129,-5283 }, { 130,-5283 }, { 131,-5283 }, { 132,-5283 }, - { 133,-5283 }, { 134,-5283 }, { 135,-5283 }, { 136,-5283 }, { 137,-5283 }, - { 138,-5283 }, { 139,-5283 }, { 140,-5283 }, { 141,-5283 }, { 142,-5283 }, - { 143,-5283 }, { 144,-5283 }, { 145,-5283 }, { 146,-5283 }, { 147,-5283 }, - { 148,-5283 }, { 149,-5283 }, { 150,-5283 }, { 151,-5283 }, { 152,-5283 }, - - { 153,-5283 }, { 154,-5283 }, { 155,-5283 }, { 156,-5283 }, { 157,-5283 }, - { 158,-5283 }, { 159,-5283 }, { 160,-5283 }, { 161,-5283 }, { 162,-5283 }, - { 163,-5283 }, { 164,-5283 }, { 165,-5283 }, { 166,-5283 }, { 167,-5283 }, - { 168,-5283 }, { 169,-5283 }, { 170,-5283 }, { 171,-5283 }, { 172,-5283 }, - { 173,-5283 }, { 174,-5283 }, { 175,-5283 }, { 176,-5283 }, { 177,-5283 }, - { 178,-5283 }, { 179,-5283 }, { 180,-5283 }, { 181,-5283 }, { 182,-5283 }, - { 183,-5283 }, { 184,-5283 }, { 185,-5283 }, { 186,-5283 }, { 187,-5283 }, - { 188,-5283 }, { 189,-5283 }, { 190,-5283 }, { 191,-5283 }, { 192,-5283 }, - { 193,-5283 }, { 194,-5283 }, { 195,-5283 }, { 196,-5283 }, { 197,-5283 }, - { 198,-5283 }, { 199,-5283 }, { 200,-5283 }, { 201,-5283 }, { 202,-5283 }, - - { 203,-5283 }, { 204,-5283 }, { 205,-5283 }, { 206,-5283 }, { 207,-5283 }, - { 208,-5283 }, { 209,-5283 }, { 210,-5283 }, { 211,-5283 }, { 212,-5283 }, - { 213,-5283 }, { 214,-5283 }, { 215,-5283 }, { 216,-5283 }, { 217,-5283 }, - { 218,-5283 }, { 219,-5283 }, { 220,-5283 }, { 221,-5283 }, { 222,-5283 }, - { 223,-5283 }, { 224,-5283 }, { 225,-5283 }, { 226,-5283 }, { 227,-5283 }, - { 228,-5283 }, { 229,-5283 }, { 230,-5283 }, { 231,-5283 }, { 232,-5283 }, - { 233,-5283 }, { 234,-5283 }, { 235,-5283 }, { 236,-5283 }, { 237,-5283 }, - { 238,-5283 }, { 239,-5283 }, { 240,-5283 }, { 241,-5283 }, { 242,-5283 }, - { 243,-5283 }, { 244,-5283 }, { 245,-5283 }, { 246,-5283 }, { 247,-5283 }, - { 248,-5283 }, { 249,-5283 }, { 250,-5283 }, { 251,-5283 }, { 252,-5283 }, - - { 253,-5283 }, { 254,-5283 }, { 255,-5283 }, { 0, 64 }, { 0,5018 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 36,-5540 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, - { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, - { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-771 }, - { 66,-771 }, { 67,-771 }, { 68,-771 }, { 69,-514 }, { 70,-771 }, - { 71,-771 }, { 72,-771 }, { 73,-771 }, { 74,-771 }, { 75,-771 }, - { 76,-771 }, { 77,-771 }, { 78,-771 }, { 79,-771 }, { 80,-771 }, - { 81,-771 }, { 82,-771 }, { 83,-771 }, { 84,-771 }, { 85,-771 }, - { 86,-771 }, { 87,-771 }, { 88,-771 }, { 89,-771 }, { 90,-771 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,2199 }, - - { 0, 0 }, { 97,-771 }, { 98,-771 }, { 99,-771 }, { 100,-771 }, - { 101,-514 }, { 102,-771 }, { 103,-771 }, { 104,-771 }, { 105,-771 }, - { 106,-771 }, { 107,-771 }, { 108,-771 }, { 109,-771 }, { 110,-771 }, - { 111,-771 }, { 112,-771 }, { 113,-771 }, { 114,-771 }, { 115,-771 }, - { 116,-771 }, { 117,-771 }, { 118,-771 }, { 119,-771 }, { 120,-771 }, - { 121,-771 }, { 122,-771 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 128,-771 }, { 129,-771 }, { 130,-771 }, - { 131,-771 }, { 132,-771 }, { 133,-771 }, { 134,-771 }, { 135,-771 }, - { 136,-771 }, { 137,-771 }, { 138,-771 }, { 139,-771 }, { 140,-771 }, - { 141,-771 }, { 142,-771 }, { 143,-771 }, { 144,-771 }, { 145,-771 }, - - { 146,-771 }, { 147,-771 }, { 148,-771 }, { 149,-771 }, { 150,-771 }, - { 151,-771 }, { 152,-771 }, { 153,-771 }, { 154,-771 }, { 155,-771 }, - { 156,-771 }, { 157,-771 }, { 158,-771 }, { 159,-771 }, { 160,-771 }, - { 161,-771 }, { 162,-771 }, { 163,-771 }, { 164,-771 }, { 165,-771 }, - { 166,-771 }, { 167,-771 }, { 168,-771 }, { 169,-771 }, { 170,-771 }, - { 171,-771 }, { 172,-771 }, { 173,-771 }, { 174,-771 }, { 175,-771 }, - { 176,-771 }, { 177,-771 }, { 178,-771 }, { 179,-771 }, { 180,-771 }, - { 181,-771 }, { 182,-771 }, { 183,-771 }, { 184,-771 }, { 185,-771 }, - { 186,-771 }, { 187,-771 }, { 188,-771 }, { 189,-771 }, { 190,-771 }, - { 191,-771 }, { 192,-771 }, { 193,-771 }, { 194,-771 }, { 195,-771 }, - - { 196,-771 }, { 197,-771 }, { 198,-771 }, { 199,-771 }, { 200,-771 }, - { 201,-771 }, { 202,-771 }, { 203,-771 }, { 204,-771 }, { 205,-771 }, - { 206,-771 }, { 207,-771 }, { 208,-771 }, { 209,-771 }, { 210,-771 }, - { 211,-771 }, { 212,-771 }, { 213,-771 }, { 214,-771 }, { 215,-771 }, - { 216,-771 }, { 217,-771 }, { 218,-771 }, { 219,-771 }, { 220,-771 }, - { 221,-771 }, { 222,-771 }, { 223,-771 }, { 224,-771 }, { 225,-771 }, - { 226,-771 }, { 227,-771 }, { 228,-771 }, { 229,-771 }, { 230,-771 }, - { 231,-771 }, { 232,-771 }, { 233,-771 }, { 234,-771 }, { 235,-771 }, - { 236,-771 }, { 237,-771 }, { 238,-771 }, { 239,-771 }, { 240,-771 }, - { 241,-771 }, { 242,-771 }, { 243,-771 }, { 244,-771 }, { 245,-771 }, - - { 246,-771 }, { 247,-771 }, { 248,-771 }, { 249,-771 }, { 250,-771 }, - { 251,-771 }, { 252,-771 }, { 253,-771 }, { 254,-771 }, { 255,-771 }, - { 0, 66 }, { 0,4761 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, - { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, - { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65, 257 }, { 66, 257 }, { 67, 257 }, { 68, 257 }, - { 69, 257 }, { 70, 257 }, { 71, 257 }, { 72, 257 }, { 73, 257 }, - { 74, 257 }, { 75, 257 }, { 76, 257 }, { 77, 257 }, { 78, 257 }, - { 79, 257 }, { 80, 257 }, { 81, 257 }, { 82, 257 }, { 83, 257 }, - { 84, 257 }, { 85, 257 }, { 86, 257 }, { 87, 257 }, { 88, 257 }, - - { 89, 257 }, { 90, 257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95, 514 }, { 0, 0 }, { 97, 257 }, { 98, 257 }, - { 99, 257 }, { 100, 257 }, { 101, 257 }, { 102, 257 }, { 103, 257 }, - { 104, 257 }, { 105, 257 }, { 106, 257 }, { 107, 257 }, { 108, 257 }, - { 109, 257 }, { 110, 257 }, { 111, 257 }, { 112, 257 }, { 113, 257 }, - { 114, 257 }, { 115, 257 }, { 116, 257 }, { 117, 257 }, { 118, 257 }, - { 119, 257 }, { 120, 257 }, { 121, 257 }, { 122, 257 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128, 257 }, - { 129, 257 }, { 130, 257 }, { 131, 257 }, { 132, 257 }, { 133, 257 }, - { 134, 257 }, { 135, 257 }, { 136, 257 }, { 137, 257 }, { 138, 257 }, - - { 139, 257 }, { 140, 257 }, { 141, 257 }, { 142, 257 }, { 143, 257 }, - { 144, 257 }, { 145, 257 }, { 146, 257 }, { 147, 257 }, { 148, 257 }, - { 149, 257 }, { 150, 257 }, { 151, 257 }, { 152, 257 }, { 153, 257 }, - { 154, 257 }, { 155, 257 }, { 156, 257 }, { 157, 257 }, { 158, 257 }, - { 159, 257 }, { 160, 257 }, { 161, 257 }, { 162, 257 }, { 163, 257 }, - { 164, 257 }, { 165, 257 }, { 166, 257 }, { 167, 257 }, { 168, 257 }, - { 169, 257 }, { 170, 257 }, { 171, 257 }, { 172, 257 }, { 173, 257 }, - { 174, 257 }, { 175, 257 }, { 176, 257 }, { 177, 257 }, { 178, 257 }, - { 179, 257 }, { 180, 257 }, { 181, 257 }, { 182, 257 }, { 183, 257 }, - { 184, 257 }, { 185, 257 }, { 186, 257 }, { 187, 257 }, { 188, 257 }, + { 197, 257 }, { 198, 257 }, { 199, 257 }, { 200, 257 }, { 201, 257 }, + { 202, 257 }, { 203, 257 }, { 204, 257 }, { 205, 257 }, { 206, 257 }, + { 207, 257 }, { 208, 257 }, { 209, 257 }, { 210, 257 }, { 211, 257 }, - { 189, 257 }, { 190, 257 }, { 191, 257 }, { 192, 257 }, { 193, 257 }, - { 194, 257 }, { 195, 257 }, { 196, 257 }, { 197, 257 }, { 198, 257 }, - { 199, 257 }, { 200, 257 }, { 201, 257 }, { 202, 257 }, { 203, 257 }, - { 204, 257 }, { 205, 257 }, { 206, 257 }, { 207, 257 }, { 208, 257 }, - { 209, 257 }, { 210, 257 }, { 211, 257 }, { 212, 257 }, { 213, 257 }, - { 214, 257 }, { 215, 257 }, { 216, 257 }, { 217, 257 }, { 218, 257 }, - { 219, 257 }, { 220, 257 }, { 221, 257 }, { 222, 257 }, { 223, 257 }, - { 224, 257 }, { 225, 257 }, { 226, 257 }, { 227, 257 }, { 228, 257 }, - { 229, 257 }, { 230, 257 }, { 231, 257 }, { 232, 257 }, { 233, 257 }, - { 234, 257 }, { 235, 257 }, { 236, 257 }, { 237, 257 }, { 238, 257 }, + { 212, 257 }, { 213, 257 }, { 214, 257 }, { 215, 257 }, { 216, 257 }, + { 217, 257 }, { 218, 257 }, { 219, 257 }, { 220, 257 }, { 221, 257 }, + { 222, 257 }, { 223, 257 }, { 224, 257 }, { 225, 257 }, { 226, 257 }, + { 227, 257 }, { 228, 257 }, { 229, 257 }, { 230, 257 }, { 231, 257 }, + { 232, 257 }, { 233, 257 }, { 234, 257 }, { 235, 257 }, { 236, 257 }, + { 237, 257 }, { 238, 257 }, { 239, 257 }, { 240, 257 }, { 241, 257 }, + { 242, 257 }, { 243, 257 }, { 244, 257 }, { 245, 257 }, { 246, 257 }, + { 247, 257 }, { 248, 257 }, { 249, 257 }, { 250, 257 }, { 251, 257 }, + { 252, 257 }, { 253, 257 }, { 254, 257 }, { 255, 257 }, { 0, 70 }, + { 0,4762 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 239, 257 }, { 240, 257 }, { 241, 257 }, { 242, 257 }, { 243, 257 }, - { 244, 257 }, { 245, 257 }, { 246, 257 }, { 247, 257 }, { 248, 257 }, - { 249, 257 }, { 250, 257 }, { 251, 257 }, { 252, 257 }, { 253, 257 }, - { 254, 257 }, { 255, 257 }, { 0, 70 }, { 0,4504 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 36,2200 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,2200 }, { 49,2200 }, + { 50,2200 }, { 51,2200 }, { 52,2200 }, { 53,2200 }, { 54,2200 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,1942 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 48,1942 }, { 49,1942 }, { 50,1942 }, { 51,1942 }, - { 52,1942 }, { 53,1942 }, { 54,1942 }, { 55,1942 }, { 56,1942 }, - { 57,1942 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,1942 }, { 66,1942 }, - { 67,1942 }, { 68,1942 }, { 69,1942 }, { 70,1942 }, { 71,1942 }, - { 72,1942 }, { 73,1942 }, { 74,1942 }, { 75,1942 }, { 76,1942 }, - { 77,1942 }, { 78,1942 }, { 79,1942 }, { 80,1942 }, { 81,1942 }, - - { 82,1942 }, { 83,1942 }, { 84,1942 }, { 85,1942 }, { 86,1942 }, - { 87,1942 }, { 88,1942 }, { 89,1942 }, { 90,1942 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,1942 }, { 0, 0 }, - { 97,1942 }, { 98,1942 }, { 99,1942 }, { 100,1942 }, { 101,1942 }, - { 102,1942 }, { 103,1942 }, { 104,1942 }, { 105,1942 }, { 106,1942 }, - { 107,1942 }, { 108,1942 }, { 109,1942 }, { 110,1942 }, { 111,1942 }, - { 112,1942 }, { 113,1942 }, { 114,1942 }, { 115,1942 }, { 116,1942 }, - { 117,1942 }, { 118,1942 }, { 119,1942 }, { 120,1942 }, { 121,1942 }, - { 122,1942 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,1942 }, { 129,1942 }, { 130,1942 }, { 131,1942 }, + { 55,2200 }, { 56,2200 }, { 57,2200 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,2200 }, { 66,2200 }, { 67,2200 }, { 68,2200 }, { 69,2200 }, + { 70,2200 }, { 71,2200 }, { 72,2200 }, { 73,2200 }, { 74,2200 }, + { 75,2200 }, { 76,2200 }, { 77,2200 }, { 78,2200 }, { 79,2200 }, + { 80,2200 }, { 81,2200 }, { 82,2200 }, { 83,2200 }, { 84,2200 }, + { 85,2200 }, { 86,2200 }, { 87,2200 }, { 88,2200 }, { 89,2200 }, + { 90,2200 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,2200 }, { 0, 0 }, { 97,2200 }, { 98,2200 }, { 99,2200 }, + { 100,2200 }, { 101,2200 }, { 102,2200 }, { 103,2200 }, { 104,2200 }, + + { 105,2200 }, { 106,2200 }, { 107,2200 }, { 108,2200 }, { 109,2200 }, + { 110,2200 }, { 111,2200 }, { 112,2200 }, { 113,2200 }, { 114,2200 }, + { 115,2200 }, { 116,2200 }, { 117,2200 }, { 118,2200 }, { 119,2200 }, + { 120,2200 }, { 121,2200 }, { 122,2200 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,2200 }, { 129,2200 }, + { 130,2200 }, { 131,2200 }, { 132,2200 }, { 133,2200 }, { 134,2200 }, + { 135,2200 }, { 136,2200 }, { 137,2200 }, { 138,2200 }, { 139,2200 }, + { 140,2200 }, { 141,2200 }, { 142,2200 }, { 143,2200 }, { 144,2200 }, + { 145,2200 }, { 146,2200 }, { 147,2200 }, { 148,2200 }, { 149,2200 }, + { 150,2200 }, { 151,2200 }, { 152,2200 }, { 153,2200 }, { 154,2200 }, - { 132,1942 }, { 133,1942 }, { 134,1942 }, { 135,1942 }, { 136,1942 }, - { 137,1942 }, { 138,1942 }, { 139,1942 }, { 140,1942 }, { 141,1942 }, - { 142,1942 }, { 143,1942 }, { 144,1942 }, { 145,1942 }, { 146,1942 }, - { 147,1942 }, { 148,1942 }, { 149,1942 }, { 150,1942 }, { 151,1942 }, - { 152,1942 }, { 153,1942 }, { 154,1942 }, { 155,1942 }, { 156,1942 }, - { 157,1942 }, { 158,1942 }, { 159,1942 }, { 160,1942 }, { 161,1942 }, - { 162,1942 }, { 163,1942 }, { 164,1942 }, { 165,1942 }, { 166,1942 }, - { 167,1942 }, { 168,1942 }, { 169,1942 }, { 170,1942 }, { 171,1942 }, - { 172,1942 }, { 173,1942 }, { 174,1942 }, { 175,1942 }, { 176,1942 }, - { 177,1942 }, { 178,1942 }, { 179,1942 }, { 180,1942 }, { 181,1942 }, + { 155,2200 }, { 156,2200 }, { 157,2200 }, { 158,2200 }, { 159,2200 }, + { 160,2200 }, { 161,2200 }, { 162,2200 }, { 163,2200 }, { 164,2200 }, + { 165,2200 }, { 166,2200 }, { 167,2200 }, { 168,2200 }, { 169,2200 }, + { 170,2200 }, { 171,2200 }, { 172,2200 }, { 173,2200 }, { 174,2200 }, + { 175,2200 }, { 176,2200 }, { 177,2200 }, { 178,2200 }, { 179,2200 }, + { 180,2200 }, { 181,2200 }, { 182,2200 }, { 183,2200 }, { 184,2200 }, + { 185,2200 }, { 186,2200 }, { 187,2200 }, { 188,2200 }, { 189,2200 }, + { 190,2200 }, { 191,2200 }, { 192,2200 }, { 193,2200 }, { 194,2200 }, + { 195,2200 }, { 196,2200 }, { 197,2200 }, { 198,2200 }, { 199,2200 }, + { 200,2200 }, { 201,2200 }, { 202,2200 }, { 203,2200 }, { 204,2200 }, - { 182,1942 }, { 183,1942 }, { 184,1942 }, { 185,1942 }, { 186,1942 }, - { 187,1942 }, { 188,1942 }, { 189,1942 }, { 190,1942 }, { 191,1942 }, - { 192,1942 }, { 193,1942 }, { 194,1942 }, { 195,1942 }, { 196,1942 }, - { 197,1942 }, { 198,1942 }, { 199,1942 }, { 200,1942 }, { 201,1942 }, - { 202,1942 }, { 203,1942 }, { 204,1942 }, { 205,1942 }, { 206,1942 }, - { 207,1942 }, { 208,1942 }, { 209,1942 }, { 210,1942 }, { 211,1942 }, - { 212,1942 }, { 213,1942 }, { 214,1942 }, { 215,1942 }, { 216,1942 }, - { 217,1942 }, { 218,1942 }, { 219,1942 }, { 220,1942 }, { 221,1942 }, - { 222,1942 }, { 223,1942 }, { 224,1942 }, { 225,1942 }, { 226,1942 }, - { 227,1942 }, { 228,1942 }, { 229,1942 }, { 230,1942 }, { 231,1942 }, + { 205,2200 }, { 206,2200 }, { 207,2200 }, { 208,2200 }, { 209,2200 }, + { 210,2200 }, { 211,2200 }, { 212,2200 }, { 213,2200 }, { 214,2200 }, + { 215,2200 }, { 216,2200 }, { 217,2200 }, { 218,2200 }, { 219,2200 }, + { 220,2200 }, { 221,2200 }, { 222,2200 }, { 223,2200 }, { 224,2200 }, + { 225,2200 }, { 226,2200 }, { 227,2200 }, { 228,2200 }, { 229,2200 }, + { 230,2200 }, { 231,2200 }, { 232,2200 }, { 233,2200 }, { 234,2200 }, + { 235,2200 }, { 236,2200 }, { 237,2200 }, { 238,2200 }, { 239,2200 }, + { 240,2200 }, { 241,2200 }, { 242,2200 }, { 243,2200 }, { 244,2200 }, + { 245,2200 }, { 246,2200 }, { 247,2200 }, { 248,2200 }, { 249,2200 }, + { 250,2200 }, { 251,2200 }, { 252,2200 }, { 253,2200 }, { 254,2200 }, - { 232,1942 }, { 233,1942 }, { 234,1942 }, { 235,1942 }, { 236,1942 }, - { 237,1942 }, { 238,1942 }, { 239,1942 }, { 240,1942 }, { 241,1942 }, - { 242,1942 }, { 243,1942 }, { 244,1942 }, { 245,1942 }, { 246,1942 }, - { 247,1942 }, { 248,1942 }, { 249,1942 }, { 250,1942 }, { 251,1942 }, - { 252,1942 }, { 253,1942 }, { 254,1942 }, { 255,1942 }, { 0, 70 }, - { 0,4247 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 255,2200 }, { 0, 70 }, { 0,4505 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,1943 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 36,1685 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,1942 }, { 49,1942 }, - { 50,1942 }, { 51,1942 }, { 52,1942 }, { 53,1942 }, { 54,1942 }, - { 55,1942 }, { 56,1942 }, { 57,1942 }, { 0, 0 }, { 0, 0 }, + + { 48,2200 }, { 49,2200 }, { 50,2200 }, { 51,2200 }, { 52,2200 }, + { 53,2200 }, { 54,2200 }, { 55,2200 }, { 56,2200 }, { 57,2200 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,1685 }, { 66,1685 }, { 67,1685 }, { 68,1685 }, { 69,1685 }, - { 70,1685 }, { 71,1685 }, { 72,1685 }, { 73,1685 }, { 74,1685 }, + { 0, 0 }, { 0, 0 }, { 65,1943 }, { 66,1943 }, { 67,1943 }, + { 68,1943 }, { 69,1943 }, { 70,1943 }, { 71,1943 }, { 72,1943 }, + { 73,1943 }, { 74,1943 }, { 75,1943 }, { 76,1943 }, { 77,1943 }, + { 78,1943 }, { 79,1943 }, { 80,1943 }, { 81,1943 }, { 82,1943 }, + { 83,1943 }, { 84,1943 }, { 85,1943 }, { 86,1943 }, { 87,1943 }, + { 88,1943 }, { 89,1943 }, { 90,1943 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 95,1943 }, { 0, 0 }, { 97,1943 }, - { 75,1685 }, { 76,1685 }, { 77,1685 }, { 78,1685 }, { 79,1685 }, - { 80,1685 }, { 81,1685 }, { 82,1685 }, { 83,1685 }, { 84,1685 }, - { 85,1685 }, { 86,1685 }, { 87,1685 }, { 88,1685 }, { 89,1685 }, - { 90,1685 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 95,1685 }, { 0, 0 }, { 97,1685 }, { 98,1685 }, { 99,1685 }, - { 100,1685 }, { 101,1685 }, { 102,1685 }, { 103,1685 }, { 104,1685 }, - { 105,1685 }, { 106,1685 }, { 107,1685 }, { 108,1685 }, { 109,1685 }, - { 110,1685 }, { 111,1685 }, { 112,1685 }, { 113,1685 }, { 114,1685 }, - { 115,1685 }, { 116,1685 }, { 117,1685 }, { 118,1685 }, { 119,1685 }, - { 120,1685 }, { 121,1685 }, { 122,1685 }, { 0, 0 }, { 0, 0 }, + { 98,1943 }, { 99,1943 }, { 100,1943 }, { 101,1943 }, { 102,1943 }, + { 103,1943 }, { 104,1943 }, { 105,1943 }, { 106,1943 }, { 107,1943 }, + { 108,1943 }, { 109,1943 }, { 110,1943 }, { 111,1943 }, { 112,1943 }, + { 113,1943 }, { 114,1943 }, { 115,1943 }, { 116,1943 }, { 117,1943 }, + { 118,1943 }, { 119,1943 }, { 120,1943 }, { 121,1943 }, { 122,1943 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 128,1943 }, { 129,1943 }, { 130,1943 }, { 131,1943 }, { 132,1943 }, + { 133,1943 }, { 134,1943 }, { 135,1943 }, { 136,1943 }, { 137,1943 }, + { 138,1943 }, { 139,1943 }, { 140,1943 }, { 141,1943 }, { 142,1943 }, + { 143,1943 }, { 144,1943 }, { 145,1943 }, { 146,1943 }, { 147,1943 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,1685 }, { 129,1685 }, - { 130,1685 }, { 131,1685 }, { 132,1685 }, { 133,1685 }, { 134,1685 }, - { 135,1685 }, { 136,1685 }, { 137,1685 }, { 138,1685 }, { 139,1685 }, - { 140,1685 }, { 141,1685 }, { 142,1685 }, { 143,1685 }, { 144,1685 }, - { 145,1685 }, { 146,1685 }, { 147,1685 }, { 148,1685 }, { 149,1685 }, - { 150,1685 }, { 151,1685 }, { 152,1685 }, { 153,1685 }, { 154,1685 }, - { 155,1685 }, { 156,1685 }, { 157,1685 }, { 158,1685 }, { 159,1685 }, - { 160,1685 }, { 161,1685 }, { 162,1685 }, { 163,1685 }, { 164,1685 }, - { 165,1685 }, { 166,1685 }, { 167,1685 }, { 168,1685 }, { 169,1685 }, - { 170,1685 }, { 171,1685 }, { 172,1685 }, { 173,1685 }, { 174,1685 }, + { 148,1943 }, { 149,1943 }, { 150,1943 }, { 151,1943 }, { 152,1943 }, + { 153,1943 }, { 154,1943 }, { 155,1943 }, { 156,1943 }, { 157,1943 }, + { 158,1943 }, { 159,1943 }, { 160,1943 }, { 161,1943 }, { 162,1943 }, + { 163,1943 }, { 164,1943 }, { 165,1943 }, { 166,1943 }, { 167,1943 }, + { 168,1943 }, { 169,1943 }, { 170,1943 }, { 171,1943 }, { 172,1943 }, + { 173,1943 }, { 174,1943 }, { 175,1943 }, { 176,1943 }, { 177,1943 }, + { 178,1943 }, { 179,1943 }, { 180,1943 }, { 181,1943 }, { 182,1943 }, + { 183,1943 }, { 184,1943 }, { 185,1943 }, { 186,1943 }, { 187,1943 }, + { 188,1943 }, { 189,1943 }, { 190,1943 }, { 191,1943 }, { 192,1943 }, + { 193,1943 }, { 194,1943 }, { 195,1943 }, { 196,1943 }, { 197,1943 }, - { 175,1685 }, { 176,1685 }, { 177,1685 }, { 178,1685 }, { 179,1685 }, - { 180,1685 }, { 181,1685 }, { 182,1685 }, { 183,1685 }, { 184,1685 }, - { 185,1685 }, { 186,1685 }, { 187,1685 }, { 188,1685 }, { 189,1685 }, - { 190,1685 }, { 191,1685 }, { 192,1685 }, { 193,1685 }, { 194,1685 }, - { 195,1685 }, { 196,1685 }, { 197,1685 }, { 198,1685 }, { 199,1685 }, - { 200,1685 }, { 201,1685 }, { 202,1685 }, { 203,1685 }, { 204,1685 }, - { 205,1685 }, { 206,1685 }, { 207,1685 }, { 208,1685 }, { 209,1685 }, - { 210,1685 }, { 211,1685 }, { 212,1685 }, { 213,1685 }, { 214,1685 }, - { 215,1685 }, { 216,1685 }, { 217,1685 }, { 218,1685 }, { 219,1685 }, - { 220,1685 }, { 221,1685 }, { 222,1685 }, { 223,1685 }, { 224,1685 }, + { 198,1943 }, { 199,1943 }, { 200,1943 }, { 201,1943 }, { 202,1943 }, + { 203,1943 }, { 204,1943 }, { 205,1943 }, { 206,1943 }, { 207,1943 }, + { 208,1943 }, { 209,1943 }, { 210,1943 }, { 211,1943 }, { 212,1943 }, + { 213,1943 }, { 214,1943 }, { 215,1943 }, { 216,1943 }, { 217,1943 }, + { 218,1943 }, { 219,1943 }, { 220,1943 }, { 221,1943 }, { 222,1943 }, + { 223,1943 }, { 224,1943 }, { 225,1943 }, { 226,1943 }, { 227,1943 }, + { 228,1943 }, { 229,1943 }, { 230,1943 }, { 231,1943 }, { 232,1943 }, + { 233,1943 }, { 234,1943 }, { 235,1943 }, { 236,1943 }, { 237,1943 }, + { 238,1943 }, { 239,1943 }, { 240,1943 }, { 241,1943 }, { 242,1943 }, + { 243,1943 }, { 244,1943 }, { 245,1943 }, { 246,1943 }, { 247,1943 }, - { 225,1685 }, { 226,1685 }, { 227,1685 }, { 228,1685 }, { 229,1685 }, - { 230,1685 }, { 231,1685 }, { 232,1685 }, { 233,1685 }, { 234,1685 }, - { 235,1685 }, { 236,1685 }, { 237,1685 }, { 238,1685 }, { 239,1685 }, - { 240,1685 }, { 241,1685 }, { 242,1685 }, { 243,1685 }, { 244,1685 }, - { 245,1685 }, { 246,1685 }, { 247,1685 }, { 248,1685 }, { 249,1685 }, - { 250,1685 }, { 251,1685 }, { 252,1685 }, { 253,1685 }, { 254,1685 }, - { 255,1685 }, { 0, 68 }, { 0,3990 }, { 0, 0 }, { 0, 0 }, + { 248,1943 }, { 249,1943 }, { 250,1943 }, { 251,1943 }, { 252,1943 }, + { 253,1943 }, { 254,1943 }, { 255,1943 }, { 0, 68 }, { 0,4248 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, - { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, + { 36, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, + { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, + { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, + { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 0 }, + { 66, 0 }, { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, + { 71, 0 }, { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, + { 76, 0 }, { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, + { 81, 0 }, { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, + { 86, 0 }, { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, - { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, - { 73, 0 }, { 74, 0 }, { 75, 0 }, { 76, 0 }, { 77, 0 }, - { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, - { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, - { 88, 0 }, { 89, 0 }, { 90, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 95, 0 }, { 0, 0 }, { 97, 0 }, - { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, - { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, - { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, - { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95, 0 }, + { 0, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, + { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, + { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, + { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, + { 116, 0 }, { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, + { 121, 0 }, { 122, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, + { 131, 0 }, { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, + { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, - { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, - { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, - { 138, 0 }, { 139, 0 }, { 140, 0 }, { 141, 0 }, { 142, 0 }, - { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, - { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, - { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, - { 158, 0 }, { 159, 0 }, { 160, 0 }, { 161, 0 }, { 162, 0 }, - { 163, 0 }, { 164, 0 }, { 165, 0 }, { 166, 0 }, { 167, 0 }, + { 141, 0 }, { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, + { 146, 0 }, { 147, 0 }, { 148, 0 }, { 149, 0 }, { 150, 0 }, + { 151, 0 }, { 152, 0 }, { 153, 0 }, { 154, 0 }, { 155, 0 }, + { 156, 0 }, { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, + { 161, 0 }, { 162, 0 }, { 163, 0 }, { 164, 0 }, { 165, 0 }, + { 166, 0 }, { 167, 0 }, { 168, 0 }, { 169, 0 }, { 170, 0 }, + { 171, 0 }, { 172, 0 }, { 173, 0 }, { 174, 0 }, { 175, 0 }, + { 176, 0 }, { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, + { 181, 0 }, { 182, 0 }, { 183, 0 }, { 184, 0 }, { 185, 0 }, + { 186, 0 }, { 187, 0 }, { 188, 0 }, { 189, 0 }, { 190, 0 }, - { 168, 0 }, { 169, 0 }, { 170, 0 }, { 171, 0 }, { 172, 0 }, - { 173, 0 }, { 174, 0 }, { 175, 0 }, { 176, 0 }, { 177, 0 }, - { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, - { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, - { 188, 0 }, { 189, 0 }, { 190, 0 }, { 191, 0 }, { 192, 0 }, - { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, - { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, - { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, - { 208, 0 }, { 209, 0 }, { 210, 0 }, { 211, 0 }, { 212, 0 }, - { 213, 0 }, { 214, 0 }, { 215, 0 }, { 216, 0 }, { 217, 0 }, + { 191, 0 }, { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, + { 196, 0 }, { 197, 0 }, { 198, 0 }, { 199, 0 }, { 200, 0 }, + { 201, 0 }, { 202, 0 }, { 203, 0 }, { 204, 0 }, { 205, 0 }, + { 206, 0 }, { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, + { 211, 0 }, { 212, 0 }, { 213, 0 }, { 214, 0 }, { 215, 0 }, + { 216, 0 }, { 217, 0 }, { 218, 0 }, { 219, 0 }, { 220, 0 }, + { 221, 0 }, { 222, 0 }, { 223, 0 }, { 224, 0 }, { 225, 0 }, + { 226, 0 }, { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, + { 231, 0 }, { 232, 0 }, { 233, 0 }, { 234, 0 }, { 235, 0 }, + { 236, 0 }, { 237, 0 }, { 238, 0 }, { 239, 0 }, { 240, 0 }, - { 218, 0 }, { 219, 0 }, { 220, 0 }, { 221, 0 }, { 222, 0 }, - { 223, 0 }, { 224, 0 }, { 225, 0 }, { 226, 0 }, { 227, 0 }, - { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, - { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, - { 238, 0 }, { 239, 0 }, { 240, 0 }, { 241, 0 }, { 242, 0 }, - { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, - { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, - { 253, 0 }, { 254, 0 }, { 255, 0 }, { 0, 66 }, { 0,3733 }, + { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, + { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, + { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, + { 0, 66 }, { 0,3991 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 36,-257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 36,-257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, + { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, + { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, - { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, - { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,1685 }, - { 66,1685 }, { 67,1685 }, { 68,1685 }, { 69,1685 }, { 70,1685 }, - { 71,1685 }, { 72,1685 }, { 73,1685 }, { 74,1685 }, { 75,1685 }, - { 76,1685 }, { 77,1685 }, { 78,1685 }, { 79,1685 }, { 80,1685 }, - { 81,1685 }, { 82,1685 }, { 83,1685 }, { 84,1685 }, { 85,1685 }, - { 86,1685 }, { 87,1685 }, { 88,1685 }, { 89,1685 }, { 90,1685 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,1942 }, - { 0, 0 }, { 97,1685 }, { 98,1685 }, { 99,1685 }, { 100,1685 }, - { 101,1685 }, { 102,1685 }, { 103,1685 }, { 104,1685 }, { 105,1685 }, - { 106,1685 }, { 107,1685 }, { 108,1685 }, { 109,1685 }, { 110,1685 }, - - { 111,1685 }, { 112,1685 }, { 113,1685 }, { 114,1685 }, { 115,1685 }, - { 116,1685 }, { 117,1685 }, { 118,1685 }, { 119,1685 }, { 120,1685 }, - { 121,1685 }, { 122,1685 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 128,1685 }, { 129,1685 }, { 130,1685 }, - { 131,1685 }, { 132,1685 }, { 133,1685 }, { 134,1685 }, { 135,1685 }, - { 136,1685 }, { 137,1685 }, { 138,1685 }, { 139,1685 }, { 140,1685 }, - { 141,1685 }, { 142,1685 }, { 143,1685 }, { 144,1685 }, { 145,1685 }, - { 146,1685 }, { 147,1685 }, { 148,1685 }, { 149,1685 }, { 150,1685 }, - { 151,1685 }, { 152,1685 }, { 153,1685 }, { 154,1685 }, { 155,1685 }, - { 156,1685 }, { 157,1685 }, { 158,1685 }, { 159,1685 }, { 160,1685 }, - - { 161,1685 }, { 162,1685 }, { 163,1685 }, { 164,1685 }, { 165,1685 }, - { 166,1685 }, { 167,1685 }, { 168,1685 }, { 169,1685 }, { 170,1685 }, - { 171,1685 }, { 172,1685 }, { 173,1685 }, { 174,1685 }, { 175,1685 }, - { 176,1685 }, { 177,1685 }, { 178,1685 }, { 179,1685 }, { 180,1685 }, - { 181,1685 }, { 182,1685 }, { 183,1685 }, { 184,1685 }, { 185,1685 }, - { 186,1685 }, { 187,1685 }, { 188,1685 }, { 189,1685 }, { 190,1685 }, - { 191,1685 }, { 192,1685 }, { 193,1685 }, { 194,1685 }, { 195,1685 }, - { 196,1685 }, { 197,1685 }, { 198,1685 }, { 199,1685 }, { 200,1685 }, - { 201,1685 }, { 202,1685 }, { 203,1685 }, { 204,1685 }, { 205,1685 }, - { 206,1685 }, { 207,1685 }, { 208,1685 }, { 209,1685 }, { 210,1685 }, - - { 211,1685 }, { 212,1685 }, { 213,1685 }, { 214,1685 }, { 215,1685 }, - { 216,1685 }, { 217,1685 }, { 218,1685 }, { 219,1685 }, { 220,1685 }, - { 221,1685 }, { 222,1685 }, { 223,1685 }, { 224,1685 }, { 225,1685 }, - { 226,1685 }, { 227,1685 }, { 228,1685 }, { 229,1685 }, { 230,1685 }, - { 231,1685 }, { 232,1685 }, { 233,1685 }, { 234,1685 }, { 235,1685 }, - { 236,1685 }, { 237,1685 }, { 238,1685 }, { 239,1685 }, { 240,1685 }, - { 241,1685 }, { 242,1685 }, { 243,1685 }, { 244,1685 }, { 245,1685 }, - { 246,1685 }, { 247,1685 }, { 248,1685 }, { 249,1685 }, { 250,1685 }, - { 251,1685 }, { 252,1685 }, { 253,1685 }, { 254,1685 }, { 255,1685 }, + { 0, 0 }, { 65,1943 }, { 66,1943 }, { 67,1943 }, { 68,1943 }, + { 69,1943 }, { 70,1943 }, { 71,1943 }, { 72,1943 }, { 73,1943 }, + { 74,1943 }, { 75,1943 }, { 76,1943 }, { 77,1943 }, { 78,1943 }, + { 79,1943 }, { 80,1943 }, { 81,1943 }, { 82,1943 }, { 83,1943 }, + + { 84,1943 }, { 85,1943 }, { 86,1943 }, { 87,1943 }, { 88,1943 }, + { 89,1943 }, { 90,1943 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95,2200 }, { 0, 0 }, { 97,1943 }, { 98,1943 }, + { 99,1943 }, { 100,1943 }, { 101,1943 }, { 102,1943 }, { 103,1943 }, + { 104,1943 }, { 105,1943 }, { 106,1943 }, { 107,1943 }, { 108,1943 }, + { 109,1943 }, { 110,1943 }, { 111,1943 }, { 112,1943 }, { 113,1943 }, + { 114,1943 }, { 115,1943 }, { 116,1943 }, { 117,1943 }, { 118,1943 }, + { 119,1943 }, { 120,1943 }, { 121,1943 }, { 122,1943 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,1943 }, + { 129,1943 }, { 130,1943 }, { 131,1943 }, { 132,1943 }, { 133,1943 }, + + { 134,1943 }, { 135,1943 }, { 136,1943 }, { 137,1943 }, { 138,1943 }, + { 139,1943 }, { 140,1943 }, { 141,1943 }, { 142,1943 }, { 143,1943 }, + { 144,1943 }, { 145,1943 }, { 146,1943 }, { 147,1943 }, { 148,1943 }, + { 149,1943 }, { 150,1943 }, { 151,1943 }, { 152,1943 }, { 153,1943 }, + { 154,1943 }, { 155,1943 }, { 156,1943 }, { 157,1943 }, { 158,1943 }, + { 159,1943 }, { 160,1943 }, { 161,1943 }, { 162,1943 }, { 163,1943 }, + { 164,1943 }, { 165,1943 }, { 166,1943 }, { 167,1943 }, { 168,1943 }, + { 169,1943 }, { 170,1943 }, { 171,1943 }, { 172,1943 }, { 173,1943 }, + { 174,1943 }, { 175,1943 }, { 176,1943 }, { 177,1943 }, { 178,1943 }, + { 179,1943 }, { 180,1943 }, { 181,1943 }, { 182,1943 }, { 183,1943 }, + + { 184,1943 }, { 185,1943 }, { 186,1943 }, { 187,1943 }, { 188,1943 }, + { 189,1943 }, { 190,1943 }, { 191,1943 }, { 192,1943 }, { 193,1943 }, + { 194,1943 }, { 195,1943 }, { 196,1943 }, { 197,1943 }, { 198,1943 }, + { 199,1943 }, { 200,1943 }, { 201,1943 }, { 202,1943 }, { 203,1943 }, + { 204,1943 }, { 205,1943 }, { 206,1943 }, { 207,1943 }, { 208,1943 }, + { 209,1943 }, { 210,1943 }, { 211,1943 }, { 212,1943 }, { 213,1943 }, + { 214,1943 }, { 215,1943 }, { 216,1943 }, { 217,1943 }, { 218,1943 }, + { 219,1943 }, { 220,1943 }, { 221,1943 }, { 222,1943 }, { 223,1943 }, + { 224,1943 }, { 225,1943 }, { 226,1943 }, { 227,1943 }, { 228,1943 }, + { 229,1943 }, { 230,1943 }, { 231,1943 }, { 232,1943 }, { 233,1943 }, + + { 234,1943 }, { 235,1943 }, { 236,1943 }, { 237,1943 }, { 238,1943 }, + { 239,1943 }, { 240,1943 }, { 241,1943 }, { 242,1943 }, { 243,1943 }, + { 244,1943 }, { 245,1943 }, { 246,1943 }, { 247,1943 }, { 248,1943 }, + { 249,1943 }, { 250,1943 }, { 251,1943 }, { 252,1943 }, { 253,1943 }, + { 254,1943 }, { 255,1943 }, { 0, 19 }, { 0,3734 }, { 1,-4306 }, + { 2,-4306 }, { 3,-4306 }, { 4,-4306 }, { 5,-4306 }, { 6,-4306 }, + { 7,-4306 }, { 8,-4306 }, { 9,-4048 }, { 10,-3790 }, { 11,-4048 }, + { 12,-4048 }, { 13,-3790 }, { 14,-4306 }, { 15,-4306 }, { 16,-4306 }, + { 17,-4306 }, { 18,-4306 }, { 19,-4306 }, { 20,-4306 }, { 21,-4306 }, + { 22,-4306 }, { 23,-4306 }, { 24,-4306 }, { 25,-4306 }, { 26,-4306 }, + + { 27,-4306 }, { 28,-4306 }, { 29,-4306 }, { 30,-4306 }, { 31,-4306 }, + { 32,-4048 }, { 33,-4306 }, { 34,-4306 }, { 35,-4306 }, { 36,-4306 }, + { 37,-4306 }, { 38,-4306 }, { 39,-4306 }, { 40,-4306 }, { 41,-4306 }, + { 42,-4306 }, { 43,-4306 }, { 44,-4306 }, { 45, 0 }, { 46,-4306 }, + { 47,-4306 }, { 48,-4306 }, { 49,-4306 }, { 50,-4306 }, { 51,-4306 }, + { 52,-4306 }, { 53,-4306 }, { 54,-4306 }, { 55,-4306 }, { 56,-4306 }, + { 57,-4306 }, { 58,-4306 }, { 59,-4306 }, { 60,-4306 }, { 61,-4306 }, + { 62,-4306 }, { 63,-4306 }, { 64,-4306 }, { 65,-4306 }, { 66,-4306 }, + { 67,-4306 }, { 68,-4306 }, { 69,-4306 }, { 70,-4306 }, { 71,-4306 }, + { 72,-4306 }, { 73,-4306 }, { 74,-4306 }, { 75,-4306 }, { 76,-4306 }, + + { 77,-4306 }, { 78,-4306 }, { 79,-4306 }, { 80,-4306 }, { 81,-4306 }, + { 82,-4306 }, { 83,-4306 }, { 84,-4306 }, { 85,-4306 }, { 86,-4306 }, + { 87,-4306 }, { 88,-4306 }, { 89,-4306 }, { 90,-4306 }, { 91,-4306 }, + { 92,-4306 }, { 93,-4306 }, { 94,-4306 }, { 95,-4306 }, { 96,-4306 }, + { 97,-4306 }, { 98,-4306 }, { 99,-4306 }, { 100,-4306 }, { 101,-4306 }, + { 102,-4306 }, { 103,-4306 }, { 104,-4306 }, { 105,-4306 }, { 106,-4306 }, + { 107,-4306 }, { 108,-4306 }, { 109,-4306 }, { 110,-4306 }, { 111,-4306 }, + { 112,-4306 }, { 113,-4306 }, { 114,-4306 }, { 115,-4306 }, { 116,-4306 }, + { 117,-4306 }, { 118,-4306 }, { 119,-4306 }, { 120,-4306 }, { 121,-4306 }, + { 122,-4306 }, { 123,-4306 }, { 124,-4306 }, { 125,-4306 }, { 126,-4306 }, + + { 127,-4306 }, { 128,-4306 }, { 129,-4306 }, { 130,-4306 }, { 131,-4306 }, + { 132,-4306 }, { 133,-4306 }, { 134,-4306 }, { 135,-4306 }, { 136,-4306 }, + { 137,-4306 }, { 138,-4306 }, { 139,-4306 }, { 140,-4306 }, { 141,-4306 }, + { 142,-4306 }, { 143,-4306 }, { 144,-4306 }, { 145,-4306 }, { 146,-4306 }, + { 147,-4306 }, { 148,-4306 }, { 149,-4306 }, { 150,-4306 }, { 151,-4306 }, + { 152,-4306 }, { 153,-4306 }, { 154,-4306 }, { 155,-4306 }, { 156,-4306 }, + { 157,-4306 }, { 158,-4306 }, { 159,-4306 }, { 160,-4306 }, { 161,-4306 }, + { 162,-4306 }, { 163,-4306 }, { 164,-4306 }, { 165,-4306 }, { 166,-4306 }, + { 167,-4306 }, { 168,-4306 }, { 169,-4306 }, { 170,-4306 }, { 171,-4306 }, + { 172,-4306 }, { 173,-4306 }, { 174,-4306 }, { 175,-4306 }, { 176,-4306 }, + + { 177,-4306 }, { 178,-4306 }, { 179,-4306 }, { 180,-4306 }, { 181,-4306 }, + { 182,-4306 }, { 183,-4306 }, { 184,-4306 }, { 185,-4306 }, { 186,-4306 }, + { 187,-4306 }, { 188,-4306 }, { 189,-4306 }, { 190,-4306 }, { 191,-4306 }, + { 192,-4306 }, { 193,-4306 }, { 194,-4306 }, { 195,-4306 }, { 196,-4306 }, + { 197,-4306 }, { 198,-4306 }, { 199,-4306 }, { 200,-4306 }, { 201,-4306 }, + { 202,-4306 }, { 203,-4306 }, { 204,-4306 }, { 205,-4306 }, { 206,-4306 }, + { 207,-4306 }, { 208,-4306 }, { 209,-4306 }, { 210,-4306 }, { 211,-4306 }, + { 212,-4306 }, { 213,-4306 }, { 214,-4306 }, { 215,-4306 }, { 216,-4306 }, + { 217,-4306 }, { 218,-4306 }, { 219,-4306 }, { 220,-4306 }, { 221,-4306 }, + { 222,-4306 }, { 223,-4306 }, { 224,-4306 }, { 225,-4306 }, { 226,-4306 }, + + { 227,-4306 }, { 228,-4306 }, { 229,-4306 }, { 230,-4306 }, { 231,-4306 }, + { 232,-4306 }, { 233,-4306 }, { 234,-4306 }, { 235,-4306 }, { 236,-4306 }, + { 237,-4306 }, { 238,-4306 }, { 239,-4306 }, { 240,-4306 }, { 241,-4306 }, + { 242,-4306 }, { 243,-4306 }, { 244,-4306 }, { 245,-4306 }, { 246,-4306 }, + { 247,-4306 }, { 248,-4306 }, { 249,-4306 }, { 250,-4306 }, { 251,-4306 }, + { 252,-4306 }, { 253,-4306 }, { 254,-4306 }, { 255,-4306 }, { 256,-4306 }, { 0, 28 }, { 0,3476 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0,3453 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -7271,43 +7873,43 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,1942 }, { 49,1942 }, { 50,1942 }, { 51,1942 }, { 52,1942 }, { 53,1942 }, - { 54,1942 }, { 55,1942 }, { 56,1942 }, { 57,1942 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0,3415 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,1942 }, { 66,1942 }, { 67,1942 }, { 68,1942 }, - { 69,1942 }, { 70,1942 }, { 48,-23334 }, { 49,-23334 }, { 50,-23334 }, - { 51,-23334 }, { 52,-23334 }, { 53,-23334 }, { 54,-23334 }, { 55,-23334 }, - { 56,-23334 }, { 57,-23334 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, - { 0,3392 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-23334 }, - { 66,-23334 }, { 67,-23334 }, { 68,-23334 }, { 69,-23334 }, { 70,-23334 }, + + { 69,1942 }, { 70,1942 }, { 48,-26046 }, { 49,-26046 }, { 50,-26046 }, + { 51,-26046 }, { 52,-26046 }, { 53,-26046 }, { 54,-26046 }, { 55,-26046 }, + { 56,-26046 }, { 57,-26046 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, + { 0,3392 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-26046 }, + { 66,-26046 }, { 67,-26046 }, { 68,-26046 }, { 69,-26046 }, { 70,-26046 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,1942 }, { 98,1942 }, { 99,1942 }, { 100,1942 }, { 101,1942 }, { 102,1942 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,1904 }, { 49,1904 }, { 50,1904 }, { 51,1904 }, { 52,1904 }, { 53,1904 }, { 54,1904 }, { 55,1904 }, { 56,1904 }, { 57,1904 }, - { 0, 0 }, { 97,-23334 }, { 98,-23334 }, { 99,-23334 }, { 100,-23334 }, - { 101,-23334 }, { 102,-23334 }, { 65,1904 }, { 66,1904 }, { 67,1904 }, - { 68,1904 }, { 69,1904 }, { 70,1904 }, { 48,-23393 }, { 49,-23393 }, - { 50,-23393 }, { 51,-23393 }, { 52,-23393 }, { 53,-23393 }, { 54,-23393 }, - { 55,-23393 }, { 56,-23393 }, { 57,-23393 }, { 0, 69 }, { 0,3333 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 65,-23393 }, { 66,-23393 }, { 67,-23393 }, { 68,-23393 }, { 69,-23393 }, - { 70,-23393 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,1904 }, + { 0, 0 }, { 97,-26046 }, { 98,-26046 }, { 99,-26046 }, { 100,-26046 }, + { 101,-26046 }, { 102,-26046 }, { 65,1904 }, { 66,1904 }, { 67,1904 }, + { 68,1904 }, { 69,1904 }, { 70,1904 }, { 48,-26105 }, { 49,-26105 }, + { 50,-26105 }, { 51,-26105 }, { 52,-26105 }, { 53,-26105 }, { 54,-26105 }, + { 55,-26105 }, { 56,-26105 }, { 57,-26105 }, { 0, 69 }, { 0,3333 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 65,-26105 }, { 66,-26105 }, { 67,-26105 }, { 68,-26105 }, { 69,-26105 }, + { 70,-26105 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,1904 }, { 98,1904 }, { 99,1904 }, { 100,1904 }, { 101,1904 }, { 102,1904 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 36, 0 }, { 0, 0 }, { 97,-23393 }, { 98,-23393 }, { 99,-23393 }, - { 100,-23393 }, { 101,-23393 }, { 102,-23393 }, { 0, 0 }, { 0, 0 }, + { 36, 0 }, { 0, 0 }, { 97,-26105 }, { 98,-26105 }, { 99,-26105 }, + { 100,-26105 }, { 101,-26105 }, { 102,-26105 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, { 69, 0 }, { 70, 0 }, { 71, 0 }, { 72, 0 }, { 73, 0 }, { 74, 0 }, { 75, 0 }, + { 76, 0 }, { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, { 88, 0 }, { 89, 0 }, { 90, 0 }, @@ -7315,10 +7917,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, { 105, 0 }, { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, - { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, { 118, 0 }, { 119, 0 }, { 120, 0 }, { 121, 0 }, { 122, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, { 140, 0 }, @@ -7326,10 +7928,10 @@ static const struct yy_trans_info yy_transition[33677] = { 146, 0 }, { 147, 0 }, { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, { 153, 0 }, { 154, 0 }, { 155, 0 }, { 156, 0 }, { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, - { 161, 0 }, { 162, 0 }, { 163, 0 }, { 164, 0 }, { 165, 0 }, { 166, 0 }, { 167, 0 }, { 168, 0 }, { 169, 0 }, { 170, 0 }, { 171, 0 }, { 172, 0 }, { 173, 0 }, { 174, 0 }, { 175, 0 }, + { 176, 0 }, { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, { 188, 0 }, { 189, 0 }, { 190, 0 }, @@ -7337,10 +7939,10 @@ static const struct yy_trans_info yy_transition[33677] = { 196, 0 }, { 197, 0 }, { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, { 203, 0 }, { 204, 0 }, { 205, 0 }, { 206, 0 }, { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, - { 211, 0 }, { 212, 0 }, { 213, 0 }, { 214, 0 }, { 215, 0 }, { 216, 0 }, { 217, 0 }, { 218, 0 }, { 219, 0 }, { 220, 0 }, { 221, 0 }, { 222, 0 }, { 223, 0 }, { 224, 0 }, { 225, 0 }, + { 226, 0 }, { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, { 238, 0 }, { 239, 0 }, { 240, 0 }, @@ -7348,10 +7950,10 @@ static const struct yy_trans_info yy_transition[33677] = { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, { 255, 0 }, { 0, 66 }, { 0,3076 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -7359,10 +7961,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, - { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,1624 }, { 66,1624 }, { 67,1624 }, { 68,1624 }, + { 69,1624 }, { 70,1624 }, { 71,1624 }, { 72,1624 }, { 73,1624 }, { 74,1624 }, { 75,1624 }, { 76,1624 }, { 77,1624 }, { 78,1624 }, { 79,1624 }, { 80,1624 }, { 81,1624 }, { 82,1624 }, { 83,1624 }, @@ -7370,10 +7972,10 @@ static const struct yy_trans_info yy_transition[33677] = { 89,1624 }, { 90,1624 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,1881 }, { 0, 0 }, { 97,1624 }, { 98,1624 }, { 99,1624 }, { 100,1624 }, { 101,1624 }, { 102,1624 }, { 103,1624 }, - { 104,1624 }, { 105,1624 }, { 106,1624 }, { 107,1624 }, { 108,1624 }, { 109,1624 }, { 110,1624 }, { 111,1624 }, { 112,1624 }, { 113,1624 }, { 114,1624 }, { 115,1624 }, { 116,1624 }, { 117,1624 }, { 118,1624 }, + { 119,1624 }, { 120,1624 }, { 121,1624 }, { 122,1624 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,1624 }, { 129,1624 }, { 130,1624 }, { 131,1624 }, { 132,1624 }, { 133,1624 }, @@ -7381,10 +7983,10 @@ static const struct yy_trans_info yy_transition[33677] = { 139,1624 }, { 140,1624 }, { 141,1624 }, { 142,1624 }, { 143,1624 }, { 144,1624 }, { 145,1624 }, { 146,1624 }, { 147,1624 }, { 148,1624 }, { 149,1624 }, { 150,1624 }, { 151,1624 }, { 152,1624 }, { 153,1624 }, - { 154,1624 }, { 155,1624 }, { 156,1624 }, { 157,1624 }, { 158,1624 }, { 159,1624 }, { 160,1624 }, { 161,1624 }, { 162,1624 }, { 163,1624 }, { 164,1624 }, { 165,1624 }, { 166,1624 }, { 167,1624 }, { 168,1624 }, + { 169,1624 }, { 170,1624 }, { 171,1624 }, { 172,1624 }, { 173,1624 }, { 174,1624 }, { 175,1624 }, { 176,1624 }, { 177,1624 }, { 178,1624 }, { 179,1624 }, { 180,1624 }, { 181,1624 }, { 182,1624 }, { 183,1624 }, @@ -7392,10 +7994,10 @@ static const struct yy_trans_info yy_transition[33677] = { 189,1624 }, { 190,1624 }, { 191,1624 }, { 192,1624 }, { 193,1624 }, { 194,1624 }, { 195,1624 }, { 196,1624 }, { 197,1624 }, { 198,1624 }, { 199,1624 }, { 200,1624 }, { 201,1624 }, { 202,1624 }, { 203,1624 }, - { 204,1624 }, { 205,1624 }, { 206,1624 }, { 207,1624 }, { 208,1624 }, { 209,1624 }, { 210,1624 }, { 211,1624 }, { 212,1624 }, { 213,1624 }, { 214,1624 }, { 215,1624 }, { 216,1624 }, { 217,1624 }, { 218,1624 }, + { 219,1624 }, { 220,1624 }, { 221,1624 }, { 222,1624 }, { 223,1624 }, { 224,1624 }, { 225,1624 }, { 226,1624 }, { 227,1624 }, { 228,1624 }, { 229,1624 }, { 230,1624 }, { 231,1624 }, { 232,1624 }, { 233,1624 }, @@ -7403,65 +8005,65 @@ static const struct yy_trans_info yy_transition[33677] = { 239,1624 }, { 240,1624 }, { 241,1624 }, { 242,1624 }, { 243,1624 }, { 244,1624 }, { 245,1624 }, { 246,1624 }, { 247,1624 }, { 248,1624 }, { 249,1624 }, { 250,1624 }, { 251,1624 }, { 252,1624 }, { 253,1624 }, - { 254,1624 }, { 255,1624 }, { 0, 69 }, { 0,2819 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-7739 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 48,-2199 }, { 49,-2199 }, { 50,-2199 }, { 51,-2199 }, - { 52,-2199 }, { 53,-2199 }, { 54,-2199 }, { 55,-2199 }, { 56,-2199 }, - { 57,-2199 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-7739 }, { 66,-7739 }, - { 67,-7739 }, { 68,-7739 }, { 69,-7739 }, { 70,-7739 }, { 71,-7739 }, - { 72,-7739 }, { 73,-7739 }, { 74,-7739 }, { 75,-7739 }, { 76,-7739 }, - { 77,-7739 }, { 78,-7739 }, { 79,-7739 }, { 80,-7739 }, { 81,-7739 }, - { 82,-7739 }, { 83,-7739 }, { 84,-7739 }, { 85,-7739 }, { 86,-7739 }, - { 87,-7739 }, { 88,-7739 }, { 89,-7739 }, { 90,-7739 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-7739 }, { 0, 0 }, - - { 97,-7739 }, { 98,-7739 }, { 99,-7739 }, { 100,-7739 }, { 101,-7739 }, - { 102,-7739 }, { 103,-7739 }, { 104,-7739 }, { 105,-7739 }, { 106,-7739 }, - { 107,-7739 }, { 108,-7739 }, { 109,-7739 }, { 110,-7739 }, { 111,-7739 }, - { 112,-7739 }, { 113,-7739 }, { 114,-7739 }, { 115,-7739 }, { 116,-7739 }, - { 117,-7739 }, { 118,-7739 }, { 119,-7739 }, { 120,-7739 }, { 121,-7739 }, - { 122,-7739 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 128,-7739 }, { 129,-7739 }, { 130,-7739 }, { 131,-7739 }, - { 132,-7739 }, { 133,-7739 }, { 134,-7739 }, { 135,-7739 }, { 136,-7739 }, - { 137,-7739 }, { 138,-7739 }, { 139,-7739 }, { 140,-7739 }, { 141,-7739 }, - { 142,-7739 }, { 143,-7739 }, { 144,-7739 }, { 145,-7739 }, { 146,-7739 }, - - { 147,-7739 }, { 148,-7739 }, { 149,-7739 }, { 150,-7739 }, { 151,-7739 }, - { 152,-7739 }, { 153,-7739 }, { 154,-7739 }, { 155,-7739 }, { 156,-7739 }, - { 157,-7739 }, { 158,-7739 }, { 159,-7739 }, { 160,-7739 }, { 161,-7739 }, - { 162,-7739 }, { 163,-7739 }, { 164,-7739 }, { 165,-7739 }, { 166,-7739 }, - { 167,-7739 }, { 168,-7739 }, { 169,-7739 }, { 170,-7739 }, { 171,-7739 }, - { 172,-7739 }, { 173,-7739 }, { 174,-7739 }, { 175,-7739 }, { 176,-7739 }, - { 177,-7739 }, { 178,-7739 }, { 179,-7739 }, { 180,-7739 }, { 181,-7739 }, - { 182,-7739 }, { 183,-7739 }, { 184,-7739 }, { 185,-7739 }, { 186,-7739 }, - { 187,-7739 }, { 188,-7739 }, { 189,-7739 }, { 190,-7739 }, { 191,-7739 }, - { 192,-7739 }, { 193,-7739 }, { 194,-7739 }, { 195,-7739 }, { 196,-7739 }, - - { 197,-7739 }, { 198,-7739 }, { 199,-7739 }, { 200,-7739 }, { 201,-7739 }, - { 202,-7739 }, { 203,-7739 }, { 204,-7739 }, { 205,-7739 }, { 206,-7739 }, - { 207,-7739 }, { 208,-7739 }, { 209,-7739 }, { 210,-7739 }, { 211,-7739 }, - { 212,-7739 }, { 213,-7739 }, { 214,-7739 }, { 215,-7739 }, { 216,-7739 }, - { 217,-7739 }, { 218,-7739 }, { 219,-7739 }, { 220,-7739 }, { 221,-7739 }, - { 222,-7739 }, { 223,-7739 }, { 224,-7739 }, { 225,-7739 }, { 226,-7739 }, - { 227,-7739 }, { 228,-7739 }, { 229,-7739 }, { 230,-7739 }, { 231,-7739 }, - { 232,-7739 }, { 233,-7739 }, { 234,-7739 }, { 235,-7739 }, { 236,-7739 }, - { 237,-7739 }, { 238,-7739 }, { 239,-7739 }, { 240,-7739 }, { 241,-7739 }, - { 242,-7739 }, { 243,-7739 }, { 244,-7739 }, { 245,-7739 }, { 246,-7739 }, - - { 247,-7739 }, { 248,-7739 }, { 249,-7739 }, { 250,-7739 }, { 251,-7739 }, - { 252,-7739 }, { 253,-7739 }, { 254,-7739 }, { 255,-7739 }, { 0, 70 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-9076 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 48,-2457 }, { 49,-2457 }, { 50,-2457 }, { 51,-2457 }, + { 52,-2457 }, { 53,-2457 }, { 54,-2457 }, { 55,-2457 }, { 56,-2457 }, + { 57,-2457 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-9076 }, { 66,-9076 }, + { 67,-9076 }, { 68,-9076 }, { 69,-9076 }, { 70,-9076 }, { 71,-9076 }, + { 72,-9076 }, { 73,-9076 }, { 74,-9076 }, { 75,-9076 }, { 76,-9076 }, + { 77,-9076 }, { 78,-9076 }, { 79,-9076 }, { 80,-9076 }, { 81,-9076 }, + { 82,-9076 }, { 83,-9076 }, { 84,-9076 }, { 85,-9076 }, { 86,-9076 }, + { 87,-9076 }, { 88,-9076 }, { 89,-9076 }, { 90,-9076 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-9076 }, { 0, 0 }, + { 97,-9076 }, { 98,-9076 }, { 99,-9076 }, { 100,-9076 }, { 101,-9076 }, + { 102,-9076 }, { 103,-9076 }, { 104,-9076 }, { 105,-9076 }, { 106,-9076 }, + { 107,-9076 }, { 108,-9076 }, { 109,-9076 }, { 110,-9076 }, { 111,-9076 }, + + { 112,-9076 }, { 113,-9076 }, { 114,-9076 }, { 115,-9076 }, { 116,-9076 }, + { 117,-9076 }, { 118,-9076 }, { 119,-9076 }, { 120,-9076 }, { 121,-9076 }, + { 122,-9076 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 128,-9076 }, { 129,-9076 }, { 130,-9076 }, { 131,-9076 }, + { 132,-9076 }, { 133,-9076 }, { 134,-9076 }, { 135,-9076 }, { 136,-9076 }, + { 137,-9076 }, { 138,-9076 }, { 139,-9076 }, { 140,-9076 }, { 141,-9076 }, + { 142,-9076 }, { 143,-9076 }, { 144,-9076 }, { 145,-9076 }, { 146,-9076 }, + { 147,-9076 }, { 148,-9076 }, { 149,-9076 }, { 150,-9076 }, { 151,-9076 }, + { 152,-9076 }, { 153,-9076 }, { 154,-9076 }, { 155,-9076 }, { 156,-9076 }, + { 157,-9076 }, { 158,-9076 }, { 159,-9076 }, { 160,-9076 }, { 161,-9076 }, + + { 162,-9076 }, { 163,-9076 }, { 164,-9076 }, { 165,-9076 }, { 166,-9076 }, + { 167,-9076 }, { 168,-9076 }, { 169,-9076 }, { 170,-9076 }, { 171,-9076 }, + { 172,-9076 }, { 173,-9076 }, { 174,-9076 }, { 175,-9076 }, { 176,-9076 }, + { 177,-9076 }, { 178,-9076 }, { 179,-9076 }, { 180,-9076 }, { 181,-9076 }, + { 182,-9076 }, { 183,-9076 }, { 184,-9076 }, { 185,-9076 }, { 186,-9076 }, + { 187,-9076 }, { 188,-9076 }, { 189,-9076 }, { 190,-9076 }, { 191,-9076 }, + { 192,-9076 }, { 193,-9076 }, { 194,-9076 }, { 195,-9076 }, { 196,-9076 }, + { 197,-9076 }, { 198,-9076 }, { 199,-9076 }, { 200,-9076 }, { 201,-9076 }, + { 202,-9076 }, { 203,-9076 }, { 204,-9076 }, { 205,-9076 }, { 206,-9076 }, + { 207,-9076 }, { 208,-9076 }, { 209,-9076 }, { 210,-9076 }, { 211,-9076 }, + + { 212,-9076 }, { 213,-9076 }, { 214,-9076 }, { 215,-9076 }, { 216,-9076 }, + { 217,-9076 }, { 218,-9076 }, { 219,-9076 }, { 220,-9076 }, { 221,-9076 }, + { 222,-9076 }, { 223,-9076 }, { 224,-9076 }, { 225,-9076 }, { 226,-9076 }, + { 227,-9076 }, { 228,-9076 }, { 229,-9076 }, { 230,-9076 }, { 231,-9076 }, + { 232,-9076 }, { 233,-9076 }, { 234,-9076 }, { 235,-9076 }, { 236,-9076 }, + { 237,-9076 }, { 238,-9076 }, { 239,-9076 }, { 240,-9076 }, { 241,-9076 }, + { 242,-9076 }, { 243,-9076 }, { 244,-9076 }, { 245,-9076 }, { 246,-9076 }, + { 247,-9076 }, { 248,-9076 }, { 249,-9076 }, { 250,-9076 }, { 251,-9076 }, + { 252,-9076 }, { 253,-9076 }, { 254,-9076 }, { 255,-9076 }, { 0, 70 }, { 0,2562 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -7469,10 +8071,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, + { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 0 }, { 66, 0 }, { 67, 0 }, { 68, 0 }, { 69, 0 }, @@ -7480,10 +8082,10 @@ static const struct yy_trans_info yy_transition[33677] = { 75, 0 }, { 76, 0 }, { 77, 0 }, { 78, 0 }, { 79, 0 }, { 80, 0 }, { 81, 0 }, { 82, 0 }, { 83, 0 }, { 84, 0 }, { 85, 0 }, { 86, 0 }, { 87, 0 }, { 88, 0 }, { 89, 0 }, - { 90, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95, 0 }, { 0, 0 }, { 97, 0 }, { 98, 0 }, { 99, 0 }, { 100, 0 }, { 101, 0 }, { 102, 0 }, { 103, 0 }, { 104, 0 }, + { 105, 0 }, { 106, 0 }, { 107, 0 }, { 108, 0 }, { 109, 0 }, { 110, 0 }, { 111, 0 }, { 112, 0 }, { 113, 0 }, { 114, 0 }, { 115, 0 }, { 116, 0 }, { 117, 0 }, { 118, 0 }, { 119, 0 }, @@ -7491,10 +8093,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128, 0 }, { 129, 0 }, { 130, 0 }, { 131, 0 }, { 132, 0 }, { 133, 0 }, { 134, 0 }, { 135, 0 }, { 136, 0 }, { 137, 0 }, { 138, 0 }, { 139, 0 }, - { 140, 0 }, { 141, 0 }, { 142, 0 }, { 143, 0 }, { 144, 0 }, { 145, 0 }, { 146, 0 }, { 147, 0 }, { 148, 0 }, { 149, 0 }, { 150, 0 }, { 151, 0 }, { 152, 0 }, { 153, 0 }, { 154, 0 }, + { 155, 0 }, { 156, 0 }, { 157, 0 }, { 158, 0 }, { 159, 0 }, { 160, 0 }, { 161, 0 }, { 162, 0 }, { 163, 0 }, { 164, 0 }, { 165, 0 }, { 166, 0 }, { 167, 0 }, { 168, 0 }, { 169, 0 }, @@ -7502,10 +8104,10 @@ static const struct yy_trans_info yy_transition[33677] = { 175, 0 }, { 176, 0 }, { 177, 0 }, { 178, 0 }, { 179, 0 }, { 180, 0 }, { 181, 0 }, { 182, 0 }, { 183, 0 }, { 184, 0 }, { 185, 0 }, { 186, 0 }, { 187, 0 }, { 188, 0 }, { 189, 0 }, - { 190, 0 }, { 191, 0 }, { 192, 0 }, { 193, 0 }, { 194, 0 }, { 195, 0 }, { 196, 0 }, { 197, 0 }, { 198, 0 }, { 199, 0 }, { 200, 0 }, { 201, 0 }, { 202, 0 }, { 203, 0 }, { 204, 0 }, + { 205, 0 }, { 206, 0 }, { 207, 0 }, { 208, 0 }, { 209, 0 }, { 210, 0 }, { 211, 0 }, { 212, 0 }, { 213, 0 }, { 214, 0 }, { 215, 0 }, { 216, 0 }, { 217, 0 }, { 218, 0 }, { 219, 0 }, @@ -7513,10 +8115,10 @@ static const struct yy_trans_info yy_transition[33677] = { 225, 0 }, { 226, 0 }, { 227, 0 }, { 228, 0 }, { 229, 0 }, { 230, 0 }, { 231, 0 }, { 232, 0 }, { 233, 0 }, { 234, 0 }, { 235, 0 }, { 236, 0 }, { 237, 0 }, { 238, 0 }, { 239, 0 }, - { 240, 0 }, { 241, 0 }, { 242, 0 }, { 243, 0 }, { 244, 0 }, { 245, 0 }, { 246, 0 }, { 247, 0 }, { 248, 0 }, { 249, 0 }, { 250, 0 }, { 251, 0 }, { 252, 0 }, { 253, 0 }, { 254, 0 }, + { 255, 0 }, { 0, 66 }, { 0,2305 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -7524,10 +8126,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-257 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 48, 0 }, { 49, 0 }, { 50, 0 }, { 51, 0 }, { 52, 0 }, { 53, 0 }, { 54, 0 }, { 55, 0 }, { 56, 0 }, { 57, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -7535,10 +8137,10 @@ static const struct yy_trans_info yy_transition[33677] = { 68,1367 }, { 69,1367 }, { 70,1367 }, { 71,1367 }, { 72,1367 }, { 73,1367 }, { 74,1367 }, { 75,1367 }, { 76,1367 }, { 77,1367 }, { 78,1367 }, { 79,1367 }, { 80,1367 }, { 81,1367 }, { 82,1367 }, - { 83,1367 }, { 84,1367 }, { 85,1367 }, { 86,1367 }, { 87,1367 }, { 88,1367 }, { 89,1367 }, { 90,1367 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,1624 }, { 0, 0 }, { 97,1367 }, + { 98,1367 }, { 99,1367 }, { 100,1367 }, { 101,1367 }, { 102,1367 }, { 103,1367 }, { 104,1367 }, { 105,1367 }, { 106,1367 }, { 107,1367 }, { 108,1367 }, { 109,1367 }, { 110,1367 }, { 111,1367 }, { 112,1367 }, @@ -7546,10 +8148,10 @@ static const struct yy_trans_info yy_transition[33677] = { 118,1367 }, { 119,1367 }, { 120,1367 }, { 121,1367 }, { 122,1367 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,1367 }, { 129,1367 }, { 130,1367 }, { 131,1367 }, { 132,1367 }, - { 133,1367 }, { 134,1367 }, { 135,1367 }, { 136,1367 }, { 137,1367 }, { 138,1367 }, { 139,1367 }, { 140,1367 }, { 141,1367 }, { 142,1367 }, { 143,1367 }, { 144,1367 }, { 145,1367 }, { 146,1367 }, { 147,1367 }, + { 148,1367 }, { 149,1367 }, { 150,1367 }, { 151,1367 }, { 152,1367 }, { 153,1367 }, { 154,1367 }, { 155,1367 }, { 156,1367 }, { 157,1367 }, { 158,1367 }, { 159,1367 }, { 160,1367 }, { 161,1367 }, { 162,1367 }, @@ -7557,10 +8159,10 @@ static const struct yy_trans_info yy_transition[33677] = { 168,1367 }, { 169,1367 }, { 170,1367 }, { 171,1367 }, { 172,1367 }, { 173,1367 }, { 174,1367 }, { 175,1367 }, { 176,1367 }, { 177,1367 }, { 178,1367 }, { 179,1367 }, { 180,1367 }, { 181,1367 }, { 182,1367 }, - { 183,1367 }, { 184,1367 }, { 185,1367 }, { 186,1367 }, { 187,1367 }, { 188,1367 }, { 189,1367 }, { 190,1367 }, { 191,1367 }, { 192,1367 }, { 193,1367 }, { 194,1367 }, { 195,1367 }, { 196,1367 }, { 197,1367 }, + { 198,1367 }, { 199,1367 }, { 200,1367 }, { 201,1367 }, { 202,1367 }, { 203,1367 }, { 204,1367 }, { 205,1367 }, { 206,1367 }, { 207,1367 }, { 208,1367 }, { 209,1367 }, { 210,1367 }, { 211,1367 }, { 212,1367 }, @@ -7568,10 +8170,10 @@ static const struct yy_trans_info yy_transition[33677] = { 218,1367 }, { 219,1367 }, { 220,1367 }, { 221,1367 }, { 222,1367 }, { 223,1367 }, { 224,1367 }, { 225,1367 }, { 226,1367 }, { 227,1367 }, { 228,1367 }, { 229,1367 }, { 230,1367 }, { 231,1367 }, { 232,1367 }, - { 233,1367 }, { 234,1367 }, { 235,1367 }, { 236,1367 }, { 237,1367 }, { 238,1367 }, { 239,1367 }, { 240,1367 }, { 241,1367 }, { 242,1367 }, { 243,1367 }, { 244,1367 }, { 245,1367 }, { 246,1367 }, { 247,1367 }, + { 248,1367 }, { 249,1367 }, { 250,1367 }, { 251,1367 }, { 252,1367 }, { 253,1367 }, { 254,1367 }, { 255,1367 }, { 0, 68 }, { 0,2048 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -7579,120 +8181,120 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 36,-1942 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 48,-1942 }, { 49,-1942 }, { 50,-1942 }, - { 51,-1942 }, { 52,-1942 }, { 53,-1942 }, { 54,-1942 }, { 55,-1942 }, - { 56,-1942 }, { 57,-1942 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-1942 }, - { 66,-1942 }, { 67,-1942 }, { 68,-1942 }, { 69,-1942 }, { 70,-1942 }, - { 71,-1942 }, { 72,-1942 }, { 73,-1942 }, { 74,-1942 }, { 75,-1942 }, - - { 76,-1942 }, { 77,-1942 }, { 78,-1942 }, { 79,-1942 }, { 80,-1942 }, - { 81,-1942 }, { 82,-1942 }, { 83,-1942 }, { 84,-1942 }, { 85,-1942 }, - { 86,-1942 }, { 87,-1942 }, { 88,-1942 }, { 89,-1942 }, { 90,-1942 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-1942 }, - { 0, 0 }, { 97,-1942 }, { 98,-1942 }, { 99,-1942 }, { 100,-1942 }, - { 101,-1942 }, { 102,-1942 }, { 103,-1942 }, { 104,-1942 }, { 105,-1942 }, - { 106,-1942 }, { 107,-1942 }, { 108,-1942 }, { 109,-1942 }, { 110,-1942 }, - { 111,-1942 }, { 112,-1942 }, { 113,-1942 }, { 114,-1942 }, { 115,-1942 }, - { 116,-1942 }, { 117,-1942 }, { 118,-1942 }, { 119,-1942 }, { 120,-1942 }, - { 121,-1942 }, { 122,-1942 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - - { 0, 0 }, { 0, 0 }, { 128,-1942 }, { 129,-1942 }, { 130,-1942 }, - { 131,-1942 }, { 132,-1942 }, { 133,-1942 }, { 134,-1942 }, { 135,-1942 }, - { 136,-1942 }, { 137,-1942 }, { 138,-1942 }, { 139,-1942 }, { 140,-1942 }, - { 141,-1942 }, { 142,-1942 }, { 143,-1942 }, { 144,-1942 }, { 145,-1942 }, - { 146,-1942 }, { 147,-1942 }, { 148,-1942 }, { 149,-1942 }, { 150,-1942 }, - { 151,-1942 }, { 152,-1942 }, { 153,-1942 }, { 154,-1942 }, { 155,-1942 }, - { 156,-1942 }, { 157,-1942 }, { 158,-1942 }, { 159,-1942 }, { 160,-1942 }, - { 161,-1942 }, { 162,-1942 }, { 163,-1942 }, { 164,-1942 }, { 165,-1942 }, - { 166,-1942 }, { 167,-1942 }, { 168,-1942 }, { 169,-1942 }, { 170,-1942 }, - { 171,-1942 }, { 172,-1942 }, { 173,-1942 }, { 174,-1942 }, { 175,-1942 }, - - { 176,-1942 }, { 177,-1942 }, { 178,-1942 }, { 179,-1942 }, { 180,-1942 }, - { 181,-1942 }, { 182,-1942 }, { 183,-1942 }, { 184,-1942 }, { 185,-1942 }, - { 186,-1942 }, { 187,-1942 }, { 188,-1942 }, { 189,-1942 }, { 190,-1942 }, - { 191,-1942 }, { 192,-1942 }, { 193,-1942 }, { 194,-1942 }, { 195,-1942 }, - { 196,-1942 }, { 197,-1942 }, { 198,-1942 }, { 199,-1942 }, { 200,-1942 }, - { 201,-1942 }, { 202,-1942 }, { 203,-1942 }, { 204,-1942 }, { 205,-1942 }, - { 206,-1942 }, { 207,-1942 }, { 208,-1942 }, { 209,-1942 }, { 210,-1942 }, - { 211,-1942 }, { 212,-1942 }, { 213,-1942 }, { 214,-1942 }, { 215,-1942 }, - { 216,-1942 }, { 217,-1942 }, { 218,-1942 }, { 219,-1942 }, { 220,-1942 }, - { 221,-1942 }, { 222,-1942 }, { 223,-1942 }, { 224,-1942 }, { 225,-1942 }, - - { 226,-1942 }, { 227,-1942 }, { 228,-1942 }, { 229,-1942 }, { 230,-1942 }, - { 231,-1942 }, { 232,-1942 }, { 233,-1942 }, { 234,-1942 }, { 235,-1942 }, - { 236,-1942 }, { 237,-1942 }, { 238,-1942 }, { 239,-1942 }, { 240,-1942 }, - { 241,-1942 }, { 242,-1942 }, { 243,-1942 }, { 244,-1942 }, { 245,-1942 }, - { 246,-1942 }, { 247,-1942 }, { 248,-1942 }, { 249,-1942 }, { 250,-1942 }, - { 251,-1942 }, { 252,-1942 }, { 253,-1942 }, { 254,-1942 }, { 255,-1942 }, + { 36,-2200 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 48,-2200 }, { 49,-2200 }, { 50,-2200 }, + { 51,-2200 }, { 52,-2200 }, { 53,-2200 }, { 54,-2200 }, { 55,-2200 }, + { 56,-2200 }, { 57,-2200 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-2200 }, + { 66,-2200 }, { 67,-2200 }, { 68,-2200 }, { 69,-2200 }, { 70,-2200 }, + { 71,-2200 }, { 72,-2200 }, { 73,-2200 }, { 74,-2200 }, { 75,-2200 }, + { 76,-2200 }, { 77,-2200 }, { 78,-2200 }, { 79,-2200 }, { 80,-2200 }, + { 81,-2200 }, { 82,-2200 }, { 83,-2200 }, { 84,-2200 }, { 85,-2200 }, + { 86,-2200 }, { 87,-2200 }, { 88,-2200 }, { 89,-2200 }, { 90,-2200 }, + + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-2200 }, + { 0, 0 }, { 97,-2200 }, { 98,-2200 }, { 99,-2200 }, { 100,-2200 }, + { 101,-2200 }, { 102,-2200 }, { 103,-2200 }, { 104,-2200 }, { 105,-2200 }, + { 106,-2200 }, { 107,-2200 }, { 108,-2200 }, { 109,-2200 }, { 110,-2200 }, + { 111,-2200 }, { 112,-2200 }, { 113,-2200 }, { 114,-2200 }, { 115,-2200 }, + { 116,-2200 }, { 117,-2200 }, { 118,-2200 }, { 119,-2200 }, { 120,-2200 }, + { 121,-2200 }, { 122,-2200 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 128,-2200 }, { 129,-2200 }, { 130,-2200 }, + { 131,-2200 }, { 132,-2200 }, { 133,-2200 }, { 134,-2200 }, { 135,-2200 }, + { 136,-2200 }, { 137,-2200 }, { 138,-2200 }, { 139,-2200 }, { 140,-2200 }, + + { 141,-2200 }, { 142,-2200 }, { 143,-2200 }, { 144,-2200 }, { 145,-2200 }, + { 146,-2200 }, { 147,-2200 }, { 148,-2200 }, { 149,-2200 }, { 150,-2200 }, + { 151,-2200 }, { 152,-2200 }, { 153,-2200 }, { 154,-2200 }, { 155,-2200 }, + { 156,-2200 }, { 157,-2200 }, { 158,-2200 }, { 159,-2200 }, { 160,-2200 }, + { 161,-2200 }, { 162,-2200 }, { 163,-2200 }, { 164,-2200 }, { 165,-2200 }, + { 166,-2200 }, { 167,-2200 }, { 168,-2200 }, { 169,-2200 }, { 170,-2200 }, + { 171,-2200 }, { 172,-2200 }, { 173,-2200 }, { 174,-2200 }, { 175,-2200 }, + { 176,-2200 }, { 177,-2200 }, { 178,-2200 }, { 179,-2200 }, { 180,-2200 }, + { 181,-2200 }, { 182,-2200 }, { 183,-2200 }, { 184,-2200 }, { 185,-2200 }, + { 186,-2200 }, { 187,-2200 }, { 188,-2200 }, { 189,-2200 }, { 190,-2200 }, + + { 191,-2200 }, { 192,-2200 }, { 193,-2200 }, { 194,-2200 }, { 195,-2200 }, + { 196,-2200 }, { 197,-2200 }, { 198,-2200 }, { 199,-2200 }, { 200,-2200 }, + { 201,-2200 }, { 202,-2200 }, { 203,-2200 }, { 204,-2200 }, { 205,-2200 }, + { 206,-2200 }, { 207,-2200 }, { 208,-2200 }, { 209,-2200 }, { 210,-2200 }, + { 211,-2200 }, { 212,-2200 }, { 213,-2200 }, { 214,-2200 }, { 215,-2200 }, + { 216,-2200 }, { 217,-2200 }, { 218,-2200 }, { 219,-2200 }, { 220,-2200 }, + { 221,-2200 }, { 222,-2200 }, { 223,-2200 }, { 224,-2200 }, { 225,-2200 }, + { 226,-2200 }, { 227,-2200 }, { 228,-2200 }, { 229,-2200 }, { 230,-2200 }, + { 231,-2200 }, { 232,-2200 }, { 233,-2200 }, { 234,-2200 }, { 235,-2200 }, + { 236,-2200 }, { 237,-2200 }, { 238,-2200 }, { 239,-2200 }, { 240,-2200 }, + + { 241,-2200 }, { 242,-2200 }, { 243,-2200 }, { 244,-2200 }, { 245,-2200 }, + { 246,-2200 }, { 247,-2200 }, { 248,-2200 }, { 249,-2200 }, { 250,-2200 }, + { 251,-2200 }, { 252,-2200 }, { 253,-2200 }, { 254,-2200 }, { 255,-2200 }, { 0, 68 }, { 0,1791 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 36,-2199 }, { 0, 0 }, { 0, 0 }, + + { 0, 0 }, { 0, 0 }, { 36,-2457 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-1942 }, - { 49,-1942 }, { 50,-1942 }, { 51,-1942 }, { 52,-1942 }, { 53,-1942 }, - { 54,-1942 }, { 55,-1942 }, { 56,-1942 }, { 57,-1942 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-2200 }, + { 49,-2200 }, { 50,-2200 }, { 51,-2200 }, { 52,-2200 }, { 53,-2200 }, + { 54,-2200 }, { 55,-2200 }, { 56,-2200 }, { 57,-2200 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65,-2199 }, { 66,-2199 }, { 67,-2199 }, { 68,-2199 }, + { 0, 0 }, { 65,-2457 }, { 66,-2457 }, { 67,-2457 }, { 68,-2457 }, + { 69,-2457 }, { 70,-2457 }, { 71,-2457 }, { 72,-2457 }, { 73,-2457 }, + { 74,-2457 }, { 75,-2457 }, { 76,-2457 }, { 77,-2457 }, { 78,-2457 }, + { 79,-2457 }, { 80,-2457 }, { 81,-2457 }, { 82,-2457 }, { 83,-2457 }, - { 69,-2199 }, { 70,-2199 }, { 71,-2199 }, { 72,-2199 }, { 73,-2199 }, - { 74,-2199 }, { 75,-2199 }, { 76,-2199 }, { 77,-2199 }, { 78,-2199 }, - { 79,-2199 }, { 80,-2199 }, { 81,-2199 }, { 82,-2199 }, { 83,-2199 }, - { 84,-2199 }, { 85,-2199 }, { 86,-2199 }, { 87,-2199 }, { 88,-2199 }, - { 89,-2199 }, { 90,-2199 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 95,-2199 }, { 0, 0 }, { 97,-2199 }, { 98,-2199 }, - { 99,-2199 }, { 100,-2199 }, { 101,-2199 }, { 102,-2199 }, { 103,-2199 }, - { 104,-2199 }, { 105,-2199 }, { 106,-2199 }, { 107,-2199 }, { 108,-2199 }, - { 109,-2199 }, { 110,-2199 }, { 111,-2199 }, { 112,-2199 }, { 113,-2199 }, - { 114,-2199 }, { 115,-2199 }, { 116,-2199 }, { 117,-2199 }, { 118,-2199 }, + { 84,-2457 }, { 85,-2457 }, { 86,-2457 }, { 87,-2457 }, { 88,-2457 }, + { 89,-2457 }, { 90,-2457 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 95,-2457 }, { 0, 0 }, { 97,-2457 }, { 98,-2457 }, + { 99,-2457 }, { 100,-2457 }, { 101,-2457 }, { 102,-2457 }, { 103,-2457 }, + { 104,-2457 }, { 105,-2457 }, { 106,-2457 }, { 107,-2457 }, { 108,-2457 }, + { 109,-2457 }, { 110,-2457 }, { 111,-2457 }, { 112,-2457 }, { 113,-2457 }, + { 114,-2457 }, { 115,-2457 }, { 116,-2457 }, { 117,-2457 }, { 118,-2457 }, + { 119,-2457 }, { 120,-2457 }, { 121,-2457 }, { 122,-2457 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-2457 }, + { 129,-2457 }, { 130,-2457 }, { 131,-2457 }, { 132,-2457 }, { 133,-2457 }, - { 119,-2199 }, { 120,-2199 }, { 121,-2199 }, { 122,-2199 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-2199 }, - { 129,-2199 }, { 130,-2199 }, { 131,-2199 }, { 132,-2199 }, { 133,-2199 }, - { 134,-2199 }, { 135,-2199 }, { 136,-2199 }, { 137,-2199 }, { 138,-2199 }, - { 139,-2199 }, { 140,-2199 }, { 141,-2199 }, { 142,-2199 }, { 143,-2199 }, - { 144,-2199 }, { 145,-2199 }, { 146,-2199 }, { 147,-2199 }, { 148,-2199 }, - { 149,-2199 }, { 150,-2199 }, { 151,-2199 }, { 152,-2199 }, { 153,-2199 }, - { 154,-2199 }, { 155,-2199 }, { 156,-2199 }, { 157,-2199 }, { 158,-2199 }, - { 159,-2199 }, { 160,-2199 }, { 161,-2199 }, { 162,-2199 }, { 163,-2199 }, - { 164,-2199 }, { 165,-2199 }, { 166,-2199 }, { 167,-2199 }, { 168,-2199 }, + { 134,-2457 }, { 135,-2457 }, { 136,-2457 }, { 137,-2457 }, { 138,-2457 }, + { 139,-2457 }, { 140,-2457 }, { 141,-2457 }, { 142,-2457 }, { 143,-2457 }, + { 144,-2457 }, { 145,-2457 }, { 146,-2457 }, { 147,-2457 }, { 148,-2457 }, + { 149,-2457 }, { 150,-2457 }, { 151,-2457 }, { 152,-2457 }, { 153,-2457 }, + { 154,-2457 }, { 155,-2457 }, { 156,-2457 }, { 157,-2457 }, { 158,-2457 }, + { 159,-2457 }, { 160,-2457 }, { 161,-2457 }, { 162,-2457 }, { 163,-2457 }, + { 164,-2457 }, { 165,-2457 }, { 166,-2457 }, { 167,-2457 }, { 168,-2457 }, + { 169,-2457 }, { 170,-2457 }, { 171,-2457 }, { 172,-2457 }, { 173,-2457 }, + { 174,-2457 }, { 175,-2457 }, { 176,-2457 }, { 177,-2457 }, { 178,-2457 }, + { 179,-2457 }, { 180,-2457 }, { 181,-2457 }, { 182,-2457 }, { 183,-2457 }, - { 169,-2199 }, { 170,-2199 }, { 171,-2199 }, { 172,-2199 }, { 173,-2199 }, - { 174,-2199 }, { 175,-2199 }, { 176,-2199 }, { 177,-2199 }, { 178,-2199 }, - { 179,-2199 }, { 180,-2199 }, { 181,-2199 }, { 182,-2199 }, { 183,-2199 }, - { 184,-2199 }, { 185,-2199 }, { 186,-2199 }, { 187,-2199 }, { 188,-2199 }, - { 189,-2199 }, { 190,-2199 }, { 191,-2199 }, { 192,-2199 }, { 193,-2199 }, - { 194,-2199 }, { 195,-2199 }, { 196,-2199 }, { 197,-2199 }, { 198,-2199 }, - { 199,-2199 }, { 200,-2199 }, { 201,-2199 }, { 202,-2199 }, { 203,-2199 }, - { 204,-2199 }, { 205,-2199 }, { 206,-2199 }, { 207,-2199 }, { 208,-2199 }, - { 209,-2199 }, { 210,-2199 }, { 211,-2199 }, { 212,-2199 }, { 213,-2199 }, - { 214,-2199 }, { 215,-2199 }, { 216,-2199 }, { 217,-2199 }, { 218,-2199 }, + { 184,-2457 }, { 185,-2457 }, { 186,-2457 }, { 187,-2457 }, { 188,-2457 }, + { 189,-2457 }, { 190,-2457 }, { 191,-2457 }, { 192,-2457 }, { 193,-2457 }, + { 194,-2457 }, { 195,-2457 }, { 196,-2457 }, { 197,-2457 }, { 198,-2457 }, + { 199,-2457 }, { 200,-2457 }, { 201,-2457 }, { 202,-2457 }, { 203,-2457 }, + { 204,-2457 }, { 205,-2457 }, { 206,-2457 }, { 207,-2457 }, { 208,-2457 }, + { 209,-2457 }, { 210,-2457 }, { 211,-2457 }, { 212,-2457 }, { 213,-2457 }, + { 214,-2457 }, { 215,-2457 }, { 216,-2457 }, { 217,-2457 }, { 218,-2457 }, + { 219,-2457 }, { 220,-2457 }, { 221,-2457 }, { 222,-2457 }, { 223,-2457 }, + { 224,-2457 }, { 225,-2457 }, { 226,-2457 }, { 227,-2457 }, { 228,-2457 }, + { 229,-2457 }, { 230,-2457 }, { 231,-2457 }, { 232,-2457 }, { 233,-2457 }, - { 219,-2199 }, { 220,-2199 }, { 221,-2199 }, { 222,-2199 }, { 223,-2199 }, - { 224,-2199 }, { 225,-2199 }, { 226,-2199 }, { 227,-2199 }, { 228,-2199 }, - { 229,-2199 }, { 230,-2199 }, { 231,-2199 }, { 232,-2199 }, { 233,-2199 }, - { 234,-2199 }, { 235,-2199 }, { 236,-2199 }, { 237,-2199 }, { 238,-2199 }, - { 239,-2199 }, { 240,-2199 }, { 241,-2199 }, { 242,-2199 }, { 243,-2199 }, - { 244,-2199 }, { 245,-2199 }, { 246,-2199 }, { 247,-2199 }, { 248,-2199 }, - { 249,-2199 }, { 250,-2199 }, { 251,-2199 }, { 252,-2199 }, { 253,-2199 }, - { 254,-2199 }, { 255,-2199 }, { 0, 28 }, { 0,1534 }, { 0, 0 }, + { 234,-2457 }, { 235,-2457 }, { 236,-2457 }, { 237,-2457 }, { 238,-2457 }, + { 239,-2457 }, { 240,-2457 }, { 241,-2457 }, { 242,-2457 }, { 243,-2457 }, + { 244,-2457 }, { 245,-2457 }, { 246,-2457 }, { 247,-2457 }, { 248,-2457 }, + { 249,-2457 }, { 250,-2457 }, { 251,-2457 }, { 252,-2457 }, { 253,-2457 }, + { 254,-2457 }, { 255,-2457 }, { 0, 28 }, { 0,1534 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0,1511 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -7700,10 +8302,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 48,1110 }, { 49,1110 }, { 50,1110 }, { 51,1110 }, { 52,1110 }, { 53,1110 }, { 54,1110 }, { 55,1110 }, { 56,1110 }, { 57,1110 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,1110 }, { 66,1110 }, { 67,1110 }, { 68,1110 }, { 69,1110 }, { 70,1110 }, { 48,1110 }, { 49,1110 }, { 50,1110 }, { 51,1110 }, { 52,1110 }, { 53,1110 }, + { 54,1110 }, { 55,1110 }, { 56,1110 }, { 57,1110 }, { 0, 69 }, { 0,1452 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,1110 }, { 66,1110 }, { 67,1110 }, { 68,1110 }, @@ -7711,10 +8313,10 @@ static const struct yy_trans_info yy_transition[33677] = { 97,1110 }, { 98,1110 }, { 99,1110 }, { 100,1110 }, { 101,1110 }, { 102,1110 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-1881 }, { 0, 0 }, { 97,1110 }, { 98,1110 }, { 99,1110 }, { 100,1110 }, { 101,1110 }, { 102,1110 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-1881 }, { 49,-1881 }, { 50,-1881 }, { 51,-1881 }, { 52,-1881 }, { 53,-1881 }, { 54,-1881 }, { 55,-1881 }, { 56,-1881 }, { 57,-1881 }, { 0, 0 }, { 0, 0 }, @@ -7722,10 +8324,10 @@ static const struct yy_trans_info yy_transition[33677] = { 65,-1881 }, { 66,-1881 }, { 67,-1881 }, { 68,-1881 }, { 69,-1881 }, { 70,-1881 }, { 71,-1881 }, { 72,-1881 }, { 73,-1881 }, { 74,-1881 }, { 75,-1881 }, { 76,-1881 }, { 77,-1881 }, { 78,-1881 }, { 79,-1881 }, - { 80,-1881 }, { 81,-1881 }, { 82,-1881 }, { 83,-1881 }, { 84,-1881 }, { 85,-1881 }, { 86,-1881 }, { 87,-1881 }, { 88,-1881 }, { 89,-1881 }, { 90,-1881 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 95,-1881 }, { 0, 0 }, { 97,-1881 }, { 98,-1881 }, { 99,-1881 }, { 100,-1881 }, { 101,-1881 }, { 102,-1881 }, { 103,-1881 }, { 104,-1881 }, { 105,-1881 }, { 106,-1881 }, { 107,-1881 }, { 108,-1881 }, { 109,-1881 }, @@ -7733,10 +8335,10 @@ static const struct yy_trans_info yy_transition[33677] = { 115,-1881 }, { 116,-1881 }, { 117,-1881 }, { 118,-1881 }, { 119,-1881 }, { 120,-1881 }, { 121,-1881 }, { 122,-1881 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-1881 }, { 129,-1881 }, - { 130,-1881 }, { 131,-1881 }, { 132,-1881 }, { 133,-1881 }, { 134,-1881 }, { 135,-1881 }, { 136,-1881 }, { 137,-1881 }, { 138,-1881 }, { 139,-1881 }, { 140,-1881 }, { 141,-1881 }, { 142,-1881 }, { 143,-1881 }, { 144,-1881 }, + { 145,-1881 }, { 146,-1881 }, { 147,-1881 }, { 148,-1881 }, { 149,-1881 }, { 150,-1881 }, { 151,-1881 }, { 152,-1881 }, { 153,-1881 }, { 154,-1881 }, { 155,-1881 }, { 156,-1881 }, { 157,-1881 }, { 158,-1881 }, { 159,-1881 }, @@ -7744,10 +8346,10 @@ static const struct yy_trans_info yy_transition[33677] = { 165,-1881 }, { 166,-1881 }, { 167,-1881 }, { 168,-1881 }, { 169,-1881 }, { 170,-1881 }, { 171,-1881 }, { 172,-1881 }, { 173,-1881 }, { 174,-1881 }, { 175,-1881 }, { 176,-1881 }, { 177,-1881 }, { 178,-1881 }, { 179,-1881 }, - { 180,-1881 }, { 181,-1881 }, { 182,-1881 }, { 183,-1881 }, { 184,-1881 }, { 185,-1881 }, { 186,-1881 }, { 187,-1881 }, { 188,-1881 }, { 189,-1881 }, { 190,-1881 }, { 191,-1881 }, { 192,-1881 }, { 193,-1881 }, { 194,-1881 }, + { 195,-1881 }, { 196,-1881 }, { 197,-1881 }, { 198,-1881 }, { 199,-1881 }, { 200,-1881 }, { 201,-1881 }, { 202,-1881 }, { 203,-1881 }, { 204,-1881 }, { 205,-1881 }, { 206,-1881 }, { 207,-1881 }, { 208,-1881 }, { 209,-1881 }, @@ -7755,10 +8357,10 @@ static const struct yy_trans_info yy_transition[33677] = { 215,-1881 }, { 216,-1881 }, { 217,-1881 }, { 218,-1881 }, { 219,-1881 }, { 220,-1881 }, { 221,-1881 }, { 222,-1881 }, { 223,-1881 }, { 224,-1881 }, { 225,-1881 }, { 226,-1881 }, { 227,-1881 }, { 228,-1881 }, { 229,-1881 }, - { 230,-1881 }, { 231,-1881 }, { 232,-1881 }, { 233,-1881 }, { 234,-1881 }, { 235,-1881 }, { 236,-1881 }, { 237,-1881 }, { 238,-1881 }, { 239,-1881 }, { 240,-1881 }, { 241,-1881 }, { 242,-1881 }, { 243,-1881 }, { 244,-1881 }, + { 245,-1881 }, { 246,-1881 }, { 247,-1881 }, { 248,-1881 }, { 249,-1881 }, { 250,-1881 }, { 251,-1881 }, { 252,-1881 }, { 253,-1881 }, { 254,-1881 }, { 255,-1881 }, { 0, 69 }, { 0,1195 }, { 0, 0 }, { 0, 0 }, @@ -7766,10 +8368,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-2138 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-1881 }, { 49,-1881 }, { 50,-1881 }, { 51,-1881 }, { 52,-1881 }, @@ -7777,10 +8379,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-2138 }, { 66,-2138 }, { 67,-2138 }, { 68,-2138 }, { 69,-2138 }, { 70,-2138 }, { 71,-2138 }, { 72,-2138 }, - { 73,-2138 }, { 74,-2138 }, { 75,-2138 }, { 76,-2138 }, { 77,-2138 }, { 78,-2138 }, { 79,-2138 }, { 80,-2138 }, { 81,-2138 }, { 82,-2138 }, { 83,-2138 }, { 84,-2138 }, { 85,-2138 }, { 86,-2138 }, { 87,-2138 }, + { 88,-2138 }, { 89,-2138 }, { 90,-2138 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-2138 }, { 0, 0 }, { 97,-2138 }, { 98,-2138 }, { 99,-2138 }, { 100,-2138 }, { 101,-2138 }, { 102,-2138 }, @@ -7788,10 +8390,10 @@ static const struct yy_trans_info yy_transition[33677] = { 108,-2138 }, { 109,-2138 }, { 110,-2138 }, { 111,-2138 }, { 112,-2138 }, { 113,-2138 }, { 114,-2138 }, { 115,-2138 }, { 116,-2138 }, { 117,-2138 }, { 118,-2138 }, { 119,-2138 }, { 120,-2138 }, { 121,-2138 }, { 122,-2138 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-2138 }, { 129,-2138 }, { 130,-2138 }, { 131,-2138 }, { 132,-2138 }, { 133,-2138 }, { 134,-2138 }, { 135,-2138 }, { 136,-2138 }, { 137,-2138 }, + { 138,-2138 }, { 139,-2138 }, { 140,-2138 }, { 141,-2138 }, { 142,-2138 }, { 143,-2138 }, { 144,-2138 }, { 145,-2138 }, { 146,-2138 }, { 147,-2138 }, { 148,-2138 }, { 149,-2138 }, { 150,-2138 }, { 151,-2138 }, { 152,-2138 }, @@ -7799,10 +8401,10 @@ static const struct yy_trans_info yy_transition[33677] = { 158,-2138 }, { 159,-2138 }, { 160,-2138 }, { 161,-2138 }, { 162,-2138 }, { 163,-2138 }, { 164,-2138 }, { 165,-2138 }, { 166,-2138 }, { 167,-2138 }, { 168,-2138 }, { 169,-2138 }, { 170,-2138 }, { 171,-2138 }, { 172,-2138 }, - { 173,-2138 }, { 174,-2138 }, { 175,-2138 }, { 176,-2138 }, { 177,-2138 }, { 178,-2138 }, { 179,-2138 }, { 180,-2138 }, { 181,-2138 }, { 182,-2138 }, { 183,-2138 }, { 184,-2138 }, { 185,-2138 }, { 186,-2138 }, { 187,-2138 }, + { 188,-2138 }, { 189,-2138 }, { 190,-2138 }, { 191,-2138 }, { 192,-2138 }, { 193,-2138 }, { 194,-2138 }, { 195,-2138 }, { 196,-2138 }, { 197,-2138 }, { 198,-2138 }, { 199,-2138 }, { 200,-2138 }, { 201,-2138 }, { 202,-2138 }, @@ -7810,10 +8412,10 @@ static const struct yy_trans_info yy_transition[33677] = { 208,-2138 }, { 209,-2138 }, { 210,-2138 }, { 211,-2138 }, { 212,-2138 }, { 213,-2138 }, { 214,-2138 }, { 215,-2138 }, { 216,-2138 }, { 217,-2138 }, { 218,-2138 }, { 219,-2138 }, { 220,-2138 }, { 221,-2138 }, { 222,-2138 }, - { 223,-2138 }, { 224,-2138 }, { 225,-2138 }, { 226,-2138 }, { 227,-2138 }, { 228,-2138 }, { 229,-2138 }, { 230,-2138 }, { 231,-2138 }, { 232,-2138 }, { 233,-2138 }, { 234,-2138 }, { 235,-2138 }, { 236,-2138 }, { 237,-2138 }, + { 238,-2138 }, { 239,-2138 }, { 240,-2138 }, { 241,-2138 }, { 242,-2138 }, { 243,-2138 }, { 244,-2138 }, { 245,-2138 }, { 246,-2138 }, { 247,-2138 }, { 248,-2138 }, { 249,-2138 }, { 250,-2138 }, { 251,-2138 }, { 252,-2138 }, @@ -7821,10 +8423,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-1624 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -7832,10 +8434,10 @@ static const struct yy_trans_info yy_transition[33677] = { 51,-1624 }, { 52,-1624 }, { 53,-1624 }, { 54,-1624 }, { 55,-1624 }, { 56,-1624 }, { 57,-1624 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-1624 }, - { 66,-1624 }, { 67,-1624 }, { 68,-1624 }, { 69,-1624 }, { 70,-1624 }, { 71,-1624 }, { 72,-1624 }, { 73,-1624 }, { 74,-1624 }, { 75,-1624 }, { 76,-1624 }, { 77,-1624 }, { 78,-1624 }, { 79,-1624 }, { 80,-1624 }, + { 81,-1624 }, { 82,-1624 }, { 83,-1624 }, { 84,-1624 }, { 85,-1624 }, { 86,-1624 }, { 87,-1624 }, { 88,-1624 }, { 89,-1624 }, { 90,-1624 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 95,-1624 }, @@ -7843,10 +8445,10 @@ static const struct yy_trans_info yy_transition[33677] = { 101,-1624 }, { 102,-1624 }, { 103,-1624 }, { 104,-1624 }, { 105,-1624 }, { 106,-1624 }, { 107,-1624 }, { 108,-1624 }, { 109,-1624 }, { 110,-1624 }, { 111,-1624 }, { 112,-1624 }, { 113,-1624 }, { 114,-1624 }, { 115,-1624 }, - { 116,-1624 }, { 117,-1624 }, { 118,-1624 }, { 119,-1624 }, { 120,-1624 }, { 121,-1624 }, { 122,-1624 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-1624 }, { 129,-1624 }, { 130,-1624 }, + { 131,-1624 }, { 132,-1624 }, { 133,-1624 }, { 134,-1624 }, { 135,-1624 }, { 136,-1624 }, { 137,-1624 }, { 138,-1624 }, { 139,-1624 }, { 140,-1624 }, { 141,-1624 }, { 142,-1624 }, { 143,-1624 }, { 144,-1624 }, { 145,-1624 }, @@ -7854,10 +8456,10 @@ static const struct yy_trans_info yy_transition[33677] = { 151,-1624 }, { 152,-1624 }, { 153,-1624 }, { 154,-1624 }, { 155,-1624 }, { 156,-1624 }, { 157,-1624 }, { 158,-1624 }, { 159,-1624 }, { 160,-1624 }, { 161,-1624 }, { 162,-1624 }, { 163,-1624 }, { 164,-1624 }, { 165,-1624 }, - { 166,-1624 }, { 167,-1624 }, { 168,-1624 }, { 169,-1624 }, { 170,-1624 }, { 171,-1624 }, { 172,-1624 }, { 173,-1624 }, { 174,-1624 }, { 175,-1624 }, { 176,-1624 }, { 177,-1624 }, { 178,-1624 }, { 179,-1624 }, { 180,-1624 }, + { 181,-1624 }, { 182,-1624 }, { 183,-1624 }, { 184,-1624 }, { 185,-1624 }, { 186,-1624 }, { 187,-1624 }, { 188,-1624 }, { 189,-1624 }, { 190,-1624 }, { 191,-1624 }, { 192,-1624 }, { 193,-1624 }, { 194,-1624 }, { 195,-1624 }, @@ -7865,10 +8467,10 @@ static const struct yy_trans_info yy_transition[33677] = { 201,-1624 }, { 202,-1624 }, { 203,-1624 }, { 204,-1624 }, { 205,-1624 }, { 206,-1624 }, { 207,-1624 }, { 208,-1624 }, { 209,-1624 }, { 210,-1624 }, { 211,-1624 }, { 212,-1624 }, { 213,-1624 }, { 214,-1624 }, { 215,-1624 }, - { 216,-1624 }, { 217,-1624 }, { 218,-1624 }, { 219,-1624 }, { 220,-1624 }, { 221,-1624 }, { 222,-1624 }, { 223,-1624 }, { 224,-1624 }, { 225,-1624 }, { 226,-1624 }, { 227,-1624 }, { 228,-1624 }, { 229,-1624 }, { 230,-1624 }, + { 231,-1624 }, { 232,-1624 }, { 233,-1624 }, { 234,-1624 }, { 235,-1624 }, { 236,-1624 }, { 237,-1624 }, { 238,-1624 }, { 239,-1624 }, { 240,-1624 }, { 241,-1624 }, { 242,-1624 }, { 243,-1624 }, { 244,-1624 }, { 245,-1624 }, @@ -7876,10 +8478,10 @@ static const struct yy_trans_info yy_transition[33677] = { 251,-1624 }, { 252,-1624 }, { 253,-1624 }, { 254,-1624 }, { 255,-1624 }, { 0, 70 }, { 0, 681 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 36,-1881 }, { 0, 0 }, { 0, 0 }, @@ -7887,10 +8489,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-1624 }, { 49,-1624 }, { 50,-1624 }, { 51,-1624 }, { 52,-1624 }, { 53,-1624 }, { 54,-1624 }, { 55,-1624 }, { 56,-1624 }, { 57,-1624 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-1881 }, { 66,-1881 }, { 67,-1881 }, { 68,-1881 }, { 69,-1881 }, { 70,-1881 }, { 71,-1881 }, { 72,-1881 }, { 73,-1881 }, + { 74,-1881 }, { 75,-1881 }, { 76,-1881 }, { 77,-1881 }, { 78,-1881 }, { 79,-1881 }, { 80,-1881 }, { 81,-1881 }, { 82,-1881 }, { 83,-1881 }, { 84,-1881 }, { 85,-1881 }, { 86,-1881 }, { 87,-1881 }, { 88,-1881 }, @@ -7898,10 +8500,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 95,-1881 }, { 0, 0 }, { 97,-1881 }, { 98,-1881 }, { 99,-1881 }, { 100,-1881 }, { 101,-1881 }, { 102,-1881 }, { 103,-1881 }, { 104,-1881 }, { 105,-1881 }, { 106,-1881 }, { 107,-1881 }, { 108,-1881 }, - { 109,-1881 }, { 110,-1881 }, { 111,-1881 }, { 112,-1881 }, { 113,-1881 }, { 114,-1881 }, { 115,-1881 }, { 116,-1881 }, { 117,-1881 }, { 118,-1881 }, { 119,-1881 }, { 120,-1881 }, { 121,-1881 }, { 122,-1881 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 128,-1881 }, { 129,-1881 }, { 130,-1881 }, { 131,-1881 }, { 132,-1881 }, { 133,-1881 }, { 134,-1881 }, { 135,-1881 }, { 136,-1881 }, { 137,-1881 }, { 138,-1881 }, @@ -7909,10 +8511,10 @@ static const struct yy_trans_info yy_transition[33677] = { 144,-1881 }, { 145,-1881 }, { 146,-1881 }, { 147,-1881 }, { 148,-1881 }, { 149,-1881 }, { 150,-1881 }, { 151,-1881 }, { 152,-1881 }, { 153,-1881 }, { 154,-1881 }, { 155,-1881 }, { 156,-1881 }, { 157,-1881 }, { 158,-1881 }, - { 159,-1881 }, { 160,-1881 }, { 161,-1881 }, { 162,-1881 }, { 163,-1881 }, { 164,-1881 }, { 165,-1881 }, { 166,-1881 }, { 167,-1881 }, { 168,-1881 }, { 169,-1881 }, { 170,-1881 }, { 171,-1881 }, { 172,-1881 }, { 173,-1881 }, + { 174,-1881 }, { 175,-1881 }, { 176,-1881 }, { 177,-1881 }, { 178,-1881 }, { 179,-1881 }, { 180,-1881 }, { 181,-1881 }, { 182,-1881 }, { 183,-1881 }, { 184,-1881 }, { 185,-1881 }, { 186,-1881 }, { 187,-1881 }, { 188,-1881 }, @@ -7920,10 +8522,10 @@ static const struct yy_trans_info yy_transition[33677] = { 194,-1881 }, { 195,-1881 }, { 196,-1881 }, { 197,-1881 }, { 198,-1881 }, { 199,-1881 }, { 200,-1881 }, { 201,-1881 }, { 202,-1881 }, { 203,-1881 }, { 204,-1881 }, { 205,-1881 }, { 206,-1881 }, { 207,-1881 }, { 208,-1881 }, - { 209,-1881 }, { 210,-1881 }, { 211,-1881 }, { 212,-1881 }, { 213,-1881 }, { 214,-1881 }, { 215,-1881 }, { 216,-1881 }, { 217,-1881 }, { 218,-1881 }, { 219,-1881 }, { 220,-1881 }, { 221,-1881 }, { 222,-1881 }, { 223,-1881 }, + { 224,-1881 }, { 225,-1881 }, { 226,-1881 }, { 227,-1881 }, { 228,-1881 }, { 229,-1881 }, { 230,-1881 }, { 231,-1881 }, { 232,-1881 }, { 233,-1881 }, { 234,-1881 }, { 235,-1881 }, { 236,-1881 }, { 237,-1881 }, { 238,-1881 }, @@ -7931,10 +8533,10 @@ static const struct yy_trans_info yy_transition[33677] = { 244,-1881 }, { 245,-1881 }, { 246,-1881 }, { 247,-1881 }, { 248,-1881 }, { 249,-1881 }, { 250,-1881 }, { 251,-1881 }, { 252,-1881 }, { 253,-1881 }, { 254,-1881 }, { 255,-1881 }, { 0, 28 }, { 0, 424 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0, 401 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -7942,10 +8544,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 61 }, { 49, 61 }, { 50, 61 }, { 51, 61 }, - { 52, 61 }, { 53, 61 }, { 54, 61 }, { 55, 61 }, { 56, 61 }, { 57, 61 }, { 0, 0 }, { 0, 0 }, { 0, 28 }, { 0, 363 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 61 }, { 66, 61 }, + { 67, 61 }, { 68, 61 }, { 69, 61 }, { 70, 61 }, { 48, 61 }, { 49, 61 }, { 50, 61 }, { 51, 61 }, { 52, 61 }, { 53, 61 }, { 54, 61 }, { 55, 61 }, { 56, 61 }, { 57, 61 }, { 0, 0 }, @@ -7953,10 +8555,10 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 65, 61 }, { 66, 61 }, { 67, 61 }, { 68, 61 }, { 69, 61 }, { 70, 61 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97, 61 }, { 98, 61 }, { 99, 61 }, { 100, 61 }, { 101, 61 }, - { 102, 61 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48, 82 }, { 49, 82 }, { 50, 82 }, { 51, 82 }, { 52, 82 }, { 53, 82 }, { 54, 82 }, { 55, 82 }, + { 56, 82 }, { 57, 82 }, { 0, 0 }, { 97, 61 }, { 98, 61 }, { 99, 61 }, { 100, 61 }, { 101, 61 }, { 102, 61 }, { 65, 82 }, { 66, 82 }, { 67, 82 }, { 68, 82 }, { 69, 82 }, { 70, 82 }, @@ -7964,33 +8566,36 @@ static const struct yy_trans_info yy_transition[33677] = { 53, 82 }, { 54, 82 }, { 55, 82 }, { 56, 82 }, { 57, 82 }, { 0, 28 }, { 0, 281 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65, 82 }, { 66, 82 }, { 67, 82 }, - { 68, 82 }, { 69, 82 }, { 70, 82 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97, 82 }, { 98, 82 }, { 99, 82 }, { 100, 82 }, { 101, 82 }, { 102, 82 }, { 0, 0 }, { 0, 28 }, { 0, 258 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97, 82 }, { 98, 82 }, { 99, 82 }, { 100, 82 }, { 101, 82 }, { 102, 82 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-26506 }, - { 49,-26506 }, { 50,-26506 }, { 51,-26506 }, { 52,-26506 }, { 53,-26506 }, - { 54,-26506 }, { 55,-26506 }, { 56,-26506 }, { 57,-26506 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 48,-29218 }, + { 49,-29218 }, { 50,-29218 }, { 51,-29218 }, { 52,-29218 }, { 53,-29218 }, + { 54,-29218 }, { 55,-29218 }, { 56,-29218 }, { 57,-29218 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 65,-29218 }, { 66,-29218 }, { 67,-29218 }, { 68,-29218 }, + { 69,-29218 }, { 70,-29218 }, { 48,-29239 }, { 49,-29239 }, { 50,-29239 }, + { 51,-29239 }, { 52,-29239 }, { 53,-29239 }, { 54,-29239 }, { 55,-29239 }, + { 56,-29239 }, { 57,-29239 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-29239 }, + { 66,-29239 }, { 67,-29239 }, { 68,-29239 }, { 69,-29239 }, { 70,-29239 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,-29218 }, { 98,-29218 }, + { 99,-29218 }, { 100,-29218 }, { 101,-29218 }, { 102,-29218 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 65,-26506 }, { 66,-26506 }, { 67,-26506 }, { 68,-26506 }, - { 69,-26506 }, { 70,-26506 }, { 48,-26527 }, { 49,-26527 }, { 50,-26527 }, - { 51,-26527 }, { 52,-26527 }, { 53,-26527 }, { 54,-26527 }, { 55,-26527 }, - { 56,-26527 }, { 57,-26527 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 65,-26527 }, - { 66,-26527 }, { 67,-26527 }, { 68,-26527 }, { 69,-26527 }, { 70,-26527 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 97,-26506 }, { 98,-26506 }, - { 99,-26506 }, { 100,-26506 }, { 101,-26506 }, { 102,-26506 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 97,-29239 }, { 98,-29239 }, { 99,-29239 }, { 100,-29239 }, + { 101,-29239 }, { 102,-29239 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 97,-26527 }, { 98,-26527 }, { 99,-26527 }, { 100,-26527 }, - { 101,-26527 }, { 102,-26527 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, @@ -8020,9 +8625,6 @@ static const struct yy_trans_info yy_transition[33677] = { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 257, 74 }, { 1, 0 }, }; @@ -8154,7 +8756,7 @@ static void addunicode(pg_wchar c, yyscan_t yyscanner); static void check_string_escape_warning(unsigned char ychar, core_yyscan_t yyscanner); static void check_escape_warning(core_yyscan_t yyscanner); -#line 8108 "scan.c" +#line 8710 "scan.c" #define YY_NO_INPUT 1 /* * OK, here is a short description of lex/flex rules behavior. @@ -8322,7 +8924,7 @@ static void check_escape_warning(core_yyscan_t yyscanner); * Note that xcstart must appear before operator, as explained above! * Also whitespace (comment) must appear before operator. */ -#line 8276 "scan.c" +#line 8878 "scan.c" #define INITIAL 0 #define xb 1 @@ -8616,7 +9218,7 @@ YY_DECL #line 440 "scan.l" -#line 8570 "scan.c" +#line 9172 "scan.c" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -8665,13 +9267,17 @@ case 2: YY_RULE_SETUP #line 446 "scan.l" { - SET_YYLLOC(); - return SQL_COMMENT; + /* ignore, unless comments were requested as tokens */ + if (yyextra->return_comments) + { + SET_YYLLOC(); + return SQL_COMMENT; + } } YY_BREAK case 3: YY_RULE_SETUP -#line 451 "scan.l" +#line 455 "scan.l" { /* Set location in case of syntax error in comment */ SET_YYLLOC(); @@ -8684,7 +9290,7 @@ YY_RULE_SETUP case 4: YY_RULE_SETUP -#line 461 "scan.l" +#line 465 "scan.l" { (yyextra->xcdepth)++; /* Put back any characters past slash-star; see above */ @@ -8693,13 +9299,16 @@ YY_RULE_SETUP YY_BREAK case 5: YY_RULE_SETUP -#line 467 "scan.l" +#line 471 "scan.l" { if (yyextra->xcdepth <= 0) { BEGIN(INITIAL); - yyextra->yyllocend = yytext - yyextra->scanbuf + yyleng; - return C_COMMENT; + if (yyextra->return_comments) + { + yyextra->yyllocend = yytext - yyextra->scanbuf + yyleng; + return C_COMMENT; + } } else (yyextra->xcdepth)--; @@ -8708,27 +9317,27 @@ YY_RULE_SETUP case 6: /* rule 6 can match eol */ YY_RULE_SETUP -#line 478 "scan.l" +#line 485 "scan.l" { /* ignore */ } YY_BREAK case 7: YY_RULE_SETUP -#line 482 "scan.l" +#line 489 "scan.l" { /* ignore */ } YY_BREAK case 8: YY_RULE_SETUP -#line 486 "scan.l" +#line 493 "scan.l" { /* ignore */ } YY_BREAK case YY_STATE_EOF(xc): -#line 490 "scan.l" +#line 497 "scan.l" { yyerror("unterminated /* comment"); } @@ -8736,7 +9345,7 @@ case YY_STATE_EOF(xc): /* */ case 9: YY_RULE_SETUP -#line 495 "scan.l" +#line 502 "scan.l" { /* Binary bit type. * At some point we should simply pass the string @@ -8752,22 +9361,22 @@ YY_RULE_SETUP YY_BREAK case 10: /* rule 10 can match eol */ -#line 508 "scan.l" +#line 515 "scan.l" case 11: /* rule 11 can match eol */ YY_RULE_SETUP -#line 508 "scan.l" +#line 515 "scan.l" { addlit(yytext, yyleng, yyscanner); } YY_BREAK case YY_STATE_EOF(xb): -#line 511 "scan.l" +#line 518 "scan.l" { yyerror("unterminated bit string literal"); } YY_BREAK case 12: YY_RULE_SETUP -#line 513 "scan.l" +#line 520 "scan.l" { /* Hexadecimal bit type. * At some point we should simply pass the string @@ -8782,12 +9391,12 @@ YY_RULE_SETUP } YY_BREAK case YY_STATE_EOF(xh): -#line 525 "scan.l" +#line 532 "scan.l" { yyerror("unterminated hexadecimal string literal"); } YY_BREAK case 13: YY_RULE_SETUP -#line 527 "scan.l" +#line 534 "scan.l" { /* National character. * We will pass this along as a normal character string, @@ -8817,7 +9426,7 @@ YY_RULE_SETUP YY_BREAK case 14: YY_RULE_SETUP -#line 554 "scan.l" +#line 561 "scan.l" { yyextra->warn_on_first_escape = true; yyextra->saw_non_ascii = false; @@ -8831,7 +9440,7 @@ YY_RULE_SETUP YY_BREAK case 15: YY_RULE_SETUP -#line 564 "scan.l" +#line 571 "scan.l" { yyextra->warn_on_first_escape = false; yyextra->saw_non_ascii = false; @@ -8842,7 +9451,7 @@ YY_RULE_SETUP YY_BREAK case 16: YY_RULE_SETUP -#line 571 "scan.l" +#line 578 "scan.l" { SET_YYLLOC(); if (!yyextra->standard_conforming_strings) @@ -8857,7 +9466,7 @@ YY_RULE_SETUP YY_BREAK case 17: YY_RULE_SETUP -#line 583 "scan.l" +#line 590 "scan.l" { /* * When we are scanning a quoted string and see an end @@ -8874,7 +9483,7 @@ YY_RULE_SETUP case 18: /* rule 18 can match eol */ YY_RULE_SETUP -#line 595 "scan.l" +#line 602 "scan.l" { /* * Found a quote continuation, so return to the in-quote @@ -8886,13 +9495,13 @@ YY_RULE_SETUP YY_BREAK case 19: /* rule 19 can match eol */ -#line 604 "scan.l" +#line 611 "scan.l" case 20: /* rule 20 can match eol */ -#line 605 "scan.l" +#line 612 "scan.l" YY_RULE_SETUP case YY_STATE_EOF(xqs): -#line 605 "scan.l" +#line 612 "scan.l" { /* * Failed to see a quote continuation. Throw back @@ -8936,7 +9545,7 @@ case YY_STATE_EOF(xqs): YY_BREAK case 21: YY_RULE_SETUP -#line 646 "scan.l" +#line 653 "scan.l" { addlitchar('\'', yyscanner); } @@ -8944,7 +9553,7 @@ YY_RULE_SETUP case 22: /* rule 22 can match eol */ YY_RULE_SETUP -#line 649 "scan.l" +#line 656 "scan.l" { addlit(yytext, yyleng, yyscanner); } @@ -8952,14 +9561,14 @@ YY_RULE_SETUP case 23: /* rule 23 can match eol */ YY_RULE_SETUP -#line 652 "scan.l" +#line 659 "scan.l" { addlit(yytext, yyleng, yyscanner); } YY_BREAK case 24: YY_RULE_SETUP -#line 655 "scan.l" +#line 662 "scan.l" { pg_wchar c = strtoul(yytext + 2, NULL, 16); @@ -8991,7 +9600,7 @@ YY_RULE_SETUP YY_BREAK case 25: YY_RULE_SETUP -#line 683 "scan.l" +#line 690 "scan.l" { pg_wchar c = strtoul(yytext + 2, NULL, 16); @@ -9014,13 +9623,13 @@ YY_RULE_SETUP } YY_BREAK case 26: -#line 704 "scan.l" +#line 711 "scan.l" case 27: /* rule 27 can match eol */ -#line 705 "scan.l" +#line 712 "scan.l" YY_RULE_SETUP case YY_STATE_EOF(xeu): -#line 705 "scan.l" +#line 712 "scan.l" { /* Set the error cursor to point at missing esc seq */ SET_YYLLOC(); @@ -9029,7 +9638,7 @@ case YY_STATE_EOF(xeu): YY_BREAK case 28: YY_RULE_SETUP -#line 710 "scan.l" +#line 717 "scan.l" { /* Set the error cursor to point at malformed esc seq */ SET_YYLLOC(); @@ -9043,7 +9652,7 @@ YY_RULE_SETUP case 29: /* rule 29 can match eol */ YY_RULE_SETUP -#line 719 "scan.l" +#line 726 "scan.l" { if (yytext[1] == '\'') { @@ -9063,7 +9672,7 @@ YY_RULE_SETUP YY_BREAK case 30: YY_RULE_SETUP -#line 735 "scan.l" +#line 742 "scan.l" { unsigned char c = strtoul(yytext + 1, NULL, 8); @@ -9075,7 +9684,7 @@ YY_RULE_SETUP YY_BREAK case 31: YY_RULE_SETUP -#line 743 "scan.l" +#line 750 "scan.l" { unsigned char c = strtoul(yytext + 2, NULL, 16); @@ -9087,7 +9696,7 @@ YY_RULE_SETUP YY_BREAK case 32: YY_RULE_SETUP -#line 751 "scan.l" +#line 758 "scan.l" { /* This is only needed for \ just before EOF */ addlitchar(yytext[0], yyscanner); @@ -9096,12 +9705,12 @@ YY_RULE_SETUP case YY_STATE_EOF(xq): case YY_STATE_EOF(xe): case YY_STATE_EOF(xus): -#line 755 "scan.l" +#line 762 "scan.l" { yyerror("unterminated quoted string"); } YY_BREAK case 33: YY_RULE_SETUP -#line 757 "scan.l" +#line 764 "scan.l" { SET_YYLLOC(); yyextra->dolqstart = pstrdup(yytext); @@ -9111,7 +9720,7 @@ YY_RULE_SETUP YY_BREAK case 34: YY_RULE_SETUP -#line 763 "scan.l" +#line 770 "scan.l" { SET_YYLLOC(); /* throw back all but the initial "$" */ @@ -9122,7 +9731,7 @@ YY_RULE_SETUP YY_BREAK case 35: YY_RULE_SETUP -#line 770 "scan.l" +#line 777 "scan.l" { if (strcmp(yytext, yyextra->dolqstart) == 0) { @@ -9148,33 +9757,33 @@ YY_RULE_SETUP case 36: /* rule 36 can match eol */ YY_RULE_SETUP -#line 791 "scan.l" +#line 798 "scan.l" { addlit(yytext, yyleng, yyscanner); } YY_BREAK case 37: YY_RULE_SETUP -#line 794 "scan.l" +#line 801 "scan.l" { addlit(yytext, yyleng, yyscanner); } YY_BREAK case 38: YY_RULE_SETUP -#line 797 "scan.l" +#line 804 "scan.l" { /* This is only needed for $ inside the quoted text */ addlitchar(yytext[0], yyscanner); } YY_BREAK case YY_STATE_EOF(xdolq): -#line 801 "scan.l" +#line 808 "scan.l" { yyerror("unterminated dollar-quoted string"); } YY_BREAK case 39: YY_RULE_SETUP -#line 803 "scan.l" +#line 810 "scan.l" { SET_YYLLOC(); BEGIN(xd); @@ -9183,7 +9792,7 @@ YY_RULE_SETUP YY_BREAK case 40: YY_RULE_SETUP -#line 808 "scan.l" +#line 815 "scan.l" { SET_YYLLOC(); BEGIN(xui); @@ -9192,7 +9801,7 @@ YY_RULE_SETUP YY_BREAK case 41: YY_RULE_SETUP -#line 813 "scan.l" +#line 820 "scan.l" { char *ident; @@ -9209,7 +9818,7 @@ YY_RULE_SETUP YY_BREAK case 42: YY_RULE_SETUP -#line 826 "scan.l" +#line 833 "scan.l" { BEGIN(INITIAL); if (yyextra->literallen == 0) @@ -9222,7 +9831,7 @@ YY_RULE_SETUP YY_BREAK case 43: YY_RULE_SETUP -#line 835 "scan.l" +#line 842 "scan.l" { addlitchar('"', yyscanner); } @@ -9230,19 +9839,19 @@ YY_RULE_SETUP case 44: /* rule 44 can match eol */ YY_RULE_SETUP -#line 838 "scan.l" +#line 845 "scan.l" { addlit(yytext, yyleng, yyscanner); } YY_BREAK case YY_STATE_EOF(xd): case YY_STATE_EOF(xui): -#line 841 "scan.l" +#line 848 "scan.l" { yyerror("unterminated quoted identifier"); } YY_BREAK case 45: YY_RULE_SETUP -#line 843 "scan.l" +#line 850 "scan.l" { char *ident; @@ -9258,7 +9867,7 @@ YY_RULE_SETUP YY_BREAK case 46: YY_RULE_SETUP -#line 856 "scan.l" +#line 863 "scan.l" { SET_YYLLOC(); return TYPECAST; @@ -9266,7 +9875,7 @@ YY_RULE_SETUP YY_BREAK case 47: YY_RULE_SETUP -#line 861 "scan.l" +#line 868 "scan.l" { SET_YYLLOC(); return DOT_DOT; @@ -9274,7 +9883,7 @@ YY_RULE_SETUP YY_BREAK case 48: YY_RULE_SETUP -#line 866 "scan.l" +#line 873 "scan.l" { SET_YYLLOC(); return COLON_EQUALS; @@ -9282,7 +9891,7 @@ YY_RULE_SETUP YY_BREAK case 49: YY_RULE_SETUP -#line 871 "scan.l" +#line 878 "scan.l" { SET_YYLLOC(); return EQUALS_GREATER; @@ -9290,7 +9899,7 @@ YY_RULE_SETUP YY_BREAK case 50: YY_RULE_SETUP -#line 876 "scan.l" +#line 883 "scan.l" { SET_YYLLOC(); return LESS_EQUALS; @@ -9298,7 +9907,7 @@ YY_RULE_SETUP YY_BREAK case 51: YY_RULE_SETUP -#line 881 "scan.l" +#line 888 "scan.l" { SET_YYLLOC(); return GREATER_EQUALS; @@ -9306,7 +9915,7 @@ YY_RULE_SETUP YY_BREAK case 52: YY_RULE_SETUP -#line 886 "scan.l" +#line 893 "scan.l" { /* We accept both "<>" and "!=" as meaning NOT_EQUALS */ SET_YYLLOC(); @@ -9315,7 +9924,7 @@ YY_RULE_SETUP YY_BREAK case 53: YY_RULE_SETUP -#line 892 "scan.l" +#line 899 "scan.l" { /* We accept both "<>" and "!=" as meaning NOT_EQUALS */ SET_YYLLOC(); @@ -9324,7 +9933,7 @@ YY_RULE_SETUP YY_BREAK case 54: YY_RULE_SETUP -#line 898 "scan.l" +#line 905 "scan.l" { SET_YYLLOC(); return yytext[0]; @@ -9332,7 +9941,7 @@ YY_RULE_SETUP YY_BREAK case 55: YY_RULE_SETUP -#line 903 "scan.l" +#line 910 "scan.l" { /* * Check for embedded slash-star or dash-dash; those @@ -9443,7 +10052,7 @@ YY_RULE_SETUP YY_BREAK case 56: YY_RULE_SETUP -#line 1011 "scan.l" +#line 1018 "scan.l" { ErrorSaveContext escontext = {T_ErrorSaveContext}; int32 val; @@ -9458,7 +10067,7 @@ YY_RULE_SETUP YY_BREAK case 57: YY_RULE_SETUP -#line 1023 "scan.l" +#line 1030 "scan.l" { SET_YYLLOC(); return process_integer_literal(yytext, yylval, 10); @@ -9466,7 +10075,7 @@ YY_RULE_SETUP YY_BREAK case 58: YY_RULE_SETUP -#line 1027 "scan.l" +#line 1034 "scan.l" { SET_YYLLOC(); return process_integer_literal(yytext, yylval, 16); @@ -9474,7 +10083,7 @@ YY_RULE_SETUP YY_BREAK case 59: YY_RULE_SETUP -#line 1031 "scan.l" +#line 1038 "scan.l" { SET_YYLLOC(); return process_integer_literal(yytext, yylval, 8); @@ -9482,7 +10091,7 @@ YY_RULE_SETUP YY_BREAK case 60: YY_RULE_SETUP -#line 1035 "scan.l" +#line 1042 "scan.l" { SET_YYLLOC(); return process_integer_literal(yytext, yylval, 2); @@ -9490,7 +10099,7 @@ YY_RULE_SETUP YY_BREAK case 61: YY_RULE_SETUP -#line 1039 "scan.l" +#line 1046 "scan.l" { SET_YYLLOC(); yyerror("invalid hexadecimal integer"); @@ -9498,7 +10107,7 @@ YY_RULE_SETUP YY_BREAK case 62: YY_RULE_SETUP -#line 1043 "scan.l" +#line 1050 "scan.l" { SET_YYLLOC(); yyerror("invalid octal integer"); @@ -9506,7 +10115,7 @@ YY_RULE_SETUP YY_BREAK case 63: YY_RULE_SETUP -#line 1047 "scan.l" +#line 1054 "scan.l" { SET_YYLLOC(); yyerror("invalid binary integer"); @@ -9514,7 +10123,7 @@ YY_RULE_SETUP YY_BREAK case 64: YY_RULE_SETUP -#line 1051 "scan.l" +#line 1058 "scan.l" { SET_YYLLOC(); yylval->str = pstrdup(yytext); @@ -9523,7 +10132,7 @@ YY_RULE_SETUP YY_BREAK case 65: YY_RULE_SETUP -#line 1056 "scan.l" +#line 1063 "scan.l" { /* throw back the .., and treat as integer */ yyless(yyleng - 2); @@ -9533,7 +10142,7 @@ YY_RULE_SETUP YY_BREAK case 66: YY_RULE_SETUP -#line 1062 "scan.l" +#line 1069 "scan.l" { SET_YYLLOC(); yylval->str = pstrdup(yytext); @@ -9542,7 +10151,7 @@ YY_RULE_SETUP YY_BREAK case 67: YY_RULE_SETUP -#line 1067 "scan.l" +#line 1074 "scan.l" { SET_YYLLOC(); yyerror("trailing junk after numeric literal"); @@ -9550,7 +10159,7 @@ YY_RULE_SETUP YY_BREAK case 68: YY_RULE_SETUP -#line 1071 "scan.l" +#line 1078 "scan.l" { SET_YYLLOC(); yyerror("trailing junk after numeric literal"); @@ -9558,7 +10167,7 @@ YY_RULE_SETUP YY_BREAK case 69: YY_RULE_SETUP -#line 1075 "scan.l" +#line 1082 "scan.l" { SET_YYLLOC(); yyerror("trailing junk after numeric literal"); @@ -9566,7 +10175,7 @@ YY_RULE_SETUP YY_BREAK case 70: YY_RULE_SETUP -#line 1079 "scan.l" +#line 1086 "scan.l" { SET_YYLLOC(); yyerror("trailing junk after numeric literal"); @@ -9574,7 +10183,7 @@ YY_RULE_SETUP YY_BREAK case 71: YY_RULE_SETUP -#line 1085 "scan.l" +#line 1092 "scan.l" { int kwnum; char *ident; @@ -9603,14 +10212,14 @@ YY_RULE_SETUP YY_BREAK case 72: YY_RULE_SETUP -#line 1111 "scan.l" +#line 1118 "scan.l" { SET_YYLLOC(); return yytext[0]; } YY_BREAK case YY_STATE_EOF(INITIAL): -#line 1116 "scan.l" +#line 1123 "scan.l" { SET_YYLLOC(); yyterminate(); @@ -9618,10 +10227,10 @@ case YY_STATE_EOF(INITIAL): YY_BREAK case 73: YY_RULE_SETUP -#line 1121 "scan.l" +#line 1128 "scan.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 9575 "scan.c" +#line 10184 "scan.c" case YY_END_OF_BUFFER: { @@ -10501,7 +11110,7 @@ static int yy_flex_strlen (const char * s , yyscan_t yyscanner) #define YYTABLES_NAME "yytables" -#line 1121 "scan.l" +#line 1128 "scan.l" /* LCOV_EXCL_STOP */ @@ -10663,6 +11272,7 @@ scanner_init(const char *str, yyext->backslash_quote = backslash_quote; yyext->escape_string_warning = escape_string_warning; yyext->standard_conforming_strings = standard_conforming_strings; + yyext->return_comments = false; /* * Make a scan buffer with special termination needed by flex. diff --git a/src/postgres/src_backend_utils_adt_ruleutils.c b/src/postgres/src_backend_utils_adt_ruleutils.c index b15f8f809..2fa712b3a 100644 --- a/src/postgres/src_backend_utils_adt_ruleutils.c +++ b/src/postgres/src_backend_utils_adt_ruleutils.c @@ -513,6 +513,8 @@ static void get_json_agg_constructor(JsonConstructorExpr *ctor, deparse_context *context, const char *funcname, bool is_json_objectagg); +static void get_json_agg_constructor_expr(Node *node, deparse_context *context, + void *callback_arg); static void simple_quote_literal(StringInfo buf, const char *val); static void get_sublink_expr(SubLink *sublink, deparse_context *context); static void get_tablefunc(TableFunc *tf, deparse_context *context, @@ -1628,6 +1630,12 @@ static void get_json_table_nested_columns(TableFunc *tf, JsonTablePlan *plan, */ +/* + * Deparse a JsonConstructorExpr whose aggregate is computed by a lower plan + * node; resolve_special_varno has located the underlying Aggref/WindowFunc. + */ + + /* * simple_quote_literal - Format a string as a SQL literal, append to buf */ diff --git a/src/postgres/src_backend_utils_adt_varlena.c b/src/postgres/src_backend_utils_adt_varlena.c index a4f52ec1c..10dd154fa 100644 --- a/src/postgres/src_backend_utils_adt_varlena.c +++ b/src/postgres/src_backend_utils_adt_varlena.c @@ -4,6 +4,7 @@ * - cstring_to_text * - cstring_to_text_with_len * - text_to_cstring + * - levenshtein_result * - rest_of_char_same *-------------------------------------------------------------------- */ @@ -979,7 +980,7 @@ text_to_cstring(const text *t) * However, it's not clear that having one function with a bunch of option * flags would be much better. * - * XXX there is a version of this function in src/bin/pg_dump/dumputils.c. + * XXX there is a version of this function in src/fe_utils/string_utils.c. * Be sure to update that if you have to change this. * * Inputs: @@ -1405,6 +1406,20 @@ rest_of_char_same(const char *s1, const char *s2, int len) return true; } +/* + * Helper function for checking return value of Levenshtein distance functions. + * We calculate it as an int64, but the distance functions return an int32. + */ +static inline int +levenshtein_result(int64 res) +{ + if (unlikely(res < PG_INT32_MIN || res > PG_INT32_MAX)) + ereport(ERROR, + (errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE), + errmsg("levenshtein distance out of range"))); + return res; +} + /* Expand each Levenshtein distance variant */ #include "levenshtein.c" #define LEVENSHTEIN_LESS_EQUAL diff --git a/src/postgres/src_backend_utils_cache_lsyscache.c b/src/postgres/src_backend_utils_cache_lsyscache.c index 708bb82de..d15bccb07 100644 --- a/src/postgres/src_backend_utils_cache_lsyscache.c +++ b/src/postgres/src_backend_utils_cache_lsyscache.c @@ -226,6 +226,12 @@ * * Returns true if able to find the requested operator(s), false if not. * (This indicates that the operator should not have been marked oprcanhash.) + * + * Callers must beware that for container types (arrays, records, ranges) + * this function will succeed for array_eq etc, but the hash function could + * fail at runtime if the contained type(s) are not hashable. If it is + * possible that the operator is one of these, precheck with op_hashjoinable + * or get_op_hash_functions_ext. */ @@ -243,6 +249,21 @@ * * Returns true if able to find the requested function(s), false if not. * (This indicates that the operator should not have been marked oprcanhash.) + * + * Callers must beware that for container types (arrays, records, ranges) + * this function will succeed for array_eq etc, but the hash function could + * fail at runtime if the contained type(s) are not hashable. If it is + * possible that the operator is one of these, use get_op_hash_functions_ext + * or precheck with op_hashjoinable. + */ + + +/* + * get_op_hash_functions_ext + * As above, but verify hashability in container-type cases. + * + * As with op_hashjoinable, assume the left input type is sufficient + * to disambiguate container-type cases. */ @@ -260,15 +281,22 @@ /* * equality_ops_are_compatible - * Return true if the two given equality operators have compatible + * Return true if the two given operators have compatible equality * semantics. * * This is trivially true if they are the same operator. Otherwise, - * Otherwise, we look to see if they both belong to an opfamily that - * guarantees compatible semantics for equality. Either finding allows us to - * assume that they have compatible notions of equality. (The reason we need - * to do these pushups is that one might be a cross-type operator; for - * instance int24eq vs int4eq.) + * we look to see if they both belong to an opfamily that guarantees + * compatible semantics for equality. Either finding allows us to assume + * that they have compatible notions of equality. + * + * The typical use is to compare two equality operators (for instance the + * cross-type operators int24eq vs int4eq), but the test is meaningful for + * any pair of operators in a btree/hash opfamily. Btree marks its + * opfamilies as amconsistentequality, which guarantees that every member + * of the family (=, <, <=, >, >=) agrees on the equivalence relation + * defined by the family's "=". So a non-equality operator and an + * equality operator from the same opfamily are also "compatible" in this + * sense. */ @@ -311,6 +339,18 @@ */ +/* + * op_is_safe_index_member + * Check if the operator is a member of a B-tree or Hash operator family. + * + * Membership in such an opfamily has several useful implications: the operator + * returns non-null for non-null inputs (i.e. "null-safety", required so that + * the operator doesn't break index integrity), and it agrees with other + * members of the same opfamily on equality semantics. Callers use this check + * as a proxy for any of those properties. + */ + + /* ---------- AMPROC CACHES ---------- */ @@ -546,10 +586,11 @@ * Returns true if the operator is hashjoinable. (There must be a suitable * hash opfamily entry for this operator if it is so marked.) * - * In some cases (currently only array_eq), hashjoinability depends on the - * specific input data type the operator is invoked for, so that must be - * passed as well. We currently assume that only one input's type is needed - * to check this --- by convention, pass the left input's data type. + * In some cases (currently array_eq, record_eq, range_eq, multirange_eq), + * hashjoinability depends on the specific input data type the operator is + * invoked for, so that must be passed as well. We currently assume that only + * one input's type is needed to check this --- by convention, pass the left + * input's data type. */ diff --git a/src/postgres/src_backend_utils_misc_guc_tables.c b/src/postgres/src_backend_utils_misc_guc_tables.c index 932480ac0..e54e595b1 100644 --- a/src/postgres/src_backend_utils_misc_guc_tables.c +++ b/src/postgres/src_backend_utils_misc_guc_tables.c @@ -80,6 +80,7 @@ #include "postmaster/syslogger.h" #include "postmaster/walsummarizer.h" #include "postmaster/walwriter.h" +#include "replication/logical.h" #include "replication/logicallauncher.h" #include "replication/slot.h" #include "replication/slotsync.h" diff --git a/src/postgres/src_backend_utils_misc_stack_depth.c b/src/postgres/src_backend_utils_misc_stack_depth.c index b1b6690ff..b206feed7 100644 --- a/src/postgres/src_backend_utils_misc_stack_depth.c +++ b/src/postgres/src_backend_utils_misc_stack_depth.c @@ -5,6 +5,9 @@ * - max_stack_depth_bytes * - check_stack_depth * - max_stack_depth + * - set_stack_base + * - restore_stack_base + * - assign_max_stack_depth *-------------------------------------------------------------------- */ @@ -53,12 +56,31 @@ static __thread char *stack_base_ptr = NULL; * * Returns the old reference point, if any. */ +pg_stack_base_t +set_stack_base(void) +{ #ifndef HAVE__BUILTIN_FRAME_ADDRESS + char stack_base; #endif + pg_stack_base_t old; + + old = stack_base_ptr; + + /* + * Set up reference point for stack depth checking. On recent gcc we use + * __builtin_frame_address() to avoid a warning about storing a local + * variable's address in a long-lived variable. This is also important + * with address sanitizer, see comment in stack_is_too_deep(). + */ #ifdef HAVE__BUILTIN_FRAME_ADDRESS + stack_base_ptr = __builtin_frame_address(0); #else + stack_base_ptr = &stack_base; #endif + return old; +} + /* * restore_stack_base: restore reference point for stack depth checking * @@ -68,7 +90,11 @@ static __thread char *stack_base_ptr = NULL; * the main thread's stack, so it sets the base pointer before the call, and * restores it afterwards. */ - +void +restore_stack_base(pg_stack_base_t base) +{ + stack_base_ptr = base; +} /* @@ -99,13 +125,28 @@ check_stack_depth(void) bool stack_is_too_deep(void) { +#ifndef HAVE__BUILTIN_FRAME_ADDRESS char stack_top_loc; +#endif ssize_t stack_depth; + char *stack_address; /* - * Compute distance from reference point to my local variables + * With address sanitizer's stack-use-after-return check, stack variables + * are moved to heap allocations, to allow to detect references to the + * memory at a later time. That would break our stack-depth check. Luckily + * __builtin_frame_address() works correctly, even under asan. */ - stack_depth = (ssize_t) (stack_base_ptr - &stack_top_loc); +#ifndef HAVE__BUILTIN_FRAME_ADDRESS + stack_address = &stack_top_loc; +#else + stack_address = (char *) __builtin_frame_address(0); +#endif + + /* + * Compute distance from reference point to my stack frame. + */ + stack_depth = (ssize_t) (stack_base_ptr - stack_address); /* * Take abs value, since stacks grow up on some machines, down on others @@ -132,7 +173,13 @@ stack_is_too_deep(void) /* GUC assign hook for max_stack_depth */ +void +assign_max_stack_depth(int newval, void *extra) +{ + ssize_t newval_bytes = newval * (ssize_t) 1024; + max_stack_depth_bytes = newval_bytes; +} /* * Obtain platform stack depth limit (in bytes) diff --git a/src/postgres/src_backend_utils_mmgr_mcxt.c b/src/postgres/src_backend_utils_mmgr_mcxt.c index a120959f0..f640bc683 100644 --- a/src/postgres/src_backend_utils_mmgr_mcxt.c +++ b/src/postgres/src_backend_utils_mmgr_mcxt.c @@ -1373,6 +1373,13 @@ MemoryContextAllocAligned(MemoryContext context, /* perform the actual allocation */ unaligned = MemoryContextAllocExtended(context, alloc_size, flags); + if (unlikely(unaligned == NULL)) + { + /* NULL can be returned only when using MCXT_ALLOC_NO_OOM */ + Assert(flags & MCXT_ALLOC_NO_OOM); + return NULL; + } + /* set the aligned pointer */ aligned = (void *) TYPEALIGN(alignto, (char *) unaligned + sizeof(MemoryChunk)); diff --git a/src/postgres/src_pl_plpgsql_src_pl_scanner.c b/src/postgres/src_pl_plpgsql_src_pl_scanner.c index d7a630108..a3b55ac2a 100644 --- a/src/postgres/src_pl_plpgsql_src_pl_scanner.c +++ b/src/postgres/src_pl_plpgsql_src_pl_scanner.c @@ -398,11 +398,6 @@ internal_yylex(TokenAuxData *auxdata, yyscan_t yyscanner) { auxdata->lval.str = pstrdup(yytext); } - - else if (token == SQL_COMMENT || token == C_COMMENT) - { - token = internal_yylex(auxdata, yyscanner); - } } return token; diff --git a/src/postgres_deparse.c b/src/postgres_deparse.c index e2bdf87dd..2129a5bcd 100644 --- a/src/postgres_deparse.c +++ b/src/postgres_deparse.c @@ -17,6 +17,97 @@ #include "utils/datetime.h" #include "utils/timestamp.h" #include "utils/xml.h" +#include "miscadmin.h" + +/* + * Strict structural checking of the input tree (on by default). + * + * The deparser receives its parse tree from the caller (in libpg_query, from + * an arbitrary protobuf), so the tree may not have the shape a given deparse + * path expects. The stock code documents those expectations with Assert(), + * which is a no-op in a release build, so a malformed tree instead triggers + * out-of-bounds reads that can leak adjacent heap memory or crash. Two cases: + * + * - A node's actual type not matching what a path expects. The stock + * castNode() is a bare cast with no runtime check, so intVal()/strVal()/ + * boolVal()/floatVal() read the wrong union member. + * + * - A list being shorter than a path assumes. The stock linitial()/lsecond()/ + * lthird()/lfourth()/llast() index past the end of the ListCell array. + * + * By default we redefine those macros here to check and raise a normal error + * on violation, caught by libpg_query's surrounding PG_TRY and returned as a + * PgQueryError. Redefining castNode() covers intVal()/strVal()/etc., since + * they are all defined in terms of it; redefining the positional list + * accessors covers every fixed-index access. + * + * Define PG_QUERY_DEPARSE_NO_STRICT_CHECKS to opt out and keep the stock + * unchecked macros -- e.g. if you feed the deparser only trees you have + * already validated and want to avoid the per-access checks. + */ +#ifndef PG_QUERY_DEPARSE_NO_STRICT_CHECKS +static inline void * +pg_query_strict_cast_node(NodeTag type, void *ptr, const char *file, int line) +{ + if (ptr != NULL && nodeTag(ptr) != type) + elog(ERROR, "deparse: unexpected node type %d, expected %d (%s:%d)", + (int) nodeTag(ptr), (int) type, file, line); + return ptr; +} +#undef castNode +#define castNode(_type_, nodeptr) \ + ((_type_ *) pg_query_strict_cast_node(T_##_type_, (nodeptr), __FILE__, __LINE__)) + +/* + * intVal()/strVal()/boolVal()/floatVal() extract a scalar from a value node, so + * a NULL node is always a bug (a genuinely-absent value is handled by the + * caller before extraction, e.g. "PASSWORD NULL"). Reject NULL here rather than + * dereferencing it. castNode()'s own check then covers a wrong node type. + */ +static inline void * +pg_query_require_value_node(void *ptr, const char *file, int line) +{ + if (ptr == NULL) + elog(ERROR, "deparse: value extraction from NULL node (%s:%d)", file, line); + return ptr; +} +#undef intVal +#undef floatVal +#undef boolVal +#undef strVal +#define intVal(v) (castNode(Integer, pg_query_require_value_node((v), __FILE__, __LINE__))->ival) +#define floatVal(v) atof(castNode(Float, pg_query_require_value_node((v), __FILE__, __LINE__))->fval) +#define boolVal(v) (castNode(Boolean, pg_query_require_value_node((v), __FILE__, __LINE__))->boolval) +#define strVal(v) (castNode(String, pg_query_require_value_node((v), __FILE__, __LINE__))->sval) + +static inline void * +pg_query_checked_list_nth(const List *l, int n, const char *file, int line) +{ + if (l == NIL || n < 0 || n >= list_length(l)) + elog(ERROR, "deparse: list index %d out of range for length %d (%s:%d)", + n, list_length(l), file, line); + return list_nth(l, n); +} + +static inline void * +pg_query_checked_list_last(const List *l, const char *file, int line) +{ + if (l == NIL) + elog(ERROR, "deparse: llast() on empty list (%s:%d)", file, line); + return list_nth(l, list_length(l) - 1); +} + +#undef linitial +#undef lsecond +#undef lthird +#undef lfourth +#undef llast +#define linitial(l) pg_query_checked_list_nth((l), 0, __FILE__, __LINE__) +#define lsecond(l) pg_query_checked_list_nth((l), 1, __FILE__, __LINE__) +#define lthird(l) pg_query_checked_list_nth((l), 2, __FILE__, __LINE__) +#define lfourth(l) pg_query_checked_list_nth((l), 3, __FILE__, __LINE__) +#define llast(l) pg_query_checked_list_last((l), __FILE__, __LINE__) +#endif /* * # Deparser overview @@ -91,6 +182,7 @@ typedef enum DeparseNodeContext { DEPARSE_NODE_CONTEXT_INSERT_RELATION, DEPARSE_NODE_CONTEXT_INSERT_SELECT, DEPARSE_NODE_CONTEXT_A_EXPR, + DEPARSE_NODE_CONTEXT_B_EXPR, DEPARSE_NODE_CONTEXT_CREATE_TYPE, DEPARSE_NODE_CONTEXT_ALTER_TYPE, DEPARSE_NODE_CONTEXT_ALTER_DOMAIN, @@ -167,6 +259,8 @@ static void deparseWindowDef(DeparseState *state, WindowDef* window_def); static void deparseColumnRef(DeparseState *state, ColumnRef* column_ref); static void deparseSubLink(DeparseState *state, SubLink* sub_link); static void deparseAExpr(DeparseState *state, A_Expr* a_expr, DeparseNodeContext context); +static bool needsParensAsBExpr(Node *node); +static bool needsParensAsCExpr(Node *node); static void deparseBoolExpr(DeparseState *state, BoolExpr *bool_expr); static void deparseAStar(DeparseState *state, A_Star* a_star); static void deparseCollateClause(DeparseState *state, CollateClause* collate_clause); @@ -208,7 +302,7 @@ static void deparseReplicaIdentityStmt(DeparseState *state, ReplicaIdentityStmt static void deparseRangeTableSample(DeparseState *state, RangeTableSample *range_table_sample); static void deparseRangeTableFunc(DeparseState *state, RangeTableFunc* range_table_func); static void deparseGroupingSet(DeparseState *state, GroupingSet *grouping_set); -static void deparseFuncCall(DeparseState *state, FuncCall *func_call, DeparseNodeContext context); +static void deparseFuncCall(DeparseState *state, FuncCall *func_call); static void deparseMinMaxExpr(DeparseState *state, MinMaxExpr *min_max_expr); static void deparseXmlExpr(DeparseState *state, XmlExpr* xml_expr, DeparseNodeContext context); static void deparseXmlSerialize(DeparseState *state, XmlSerialize *xml_serialize); @@ -737,10 +831,13 @@ static void deparseAnyNameSkipLast(DeparseState *state, List *parts) // "func_expr" in gram.y static void deparseFuncExpr(DeparseState *state, Node *node, DeparseNodeContext context) { + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + switch (nodeTag(node)) { case T_FuncCall: - deparseFuncCall(state, castNode(FuncCall, node), context); + deparseFuncCall(state, castNode(FuncCall, node)); break; case T_SQLValueFunction: deparseSQLValueFunction(state, castNode(SQLValueFunction, node)); @@ -784,8 +881,11 @@ static void deparseCExpr(DeparseState *state, Node *node); // "a_expr" in gram.y static void deparseExpr(DeparseState *state, Node *node, DeparseNodeContext context) { + check_stack_depth(); + if (node == NULL) return; + switch (nodeTag(node)) { case T_ColumnRef: @@ -793,12 +893,15 @@ static void deparseExpr(DeparseState *state, Node *node, DeparseNodeContext cont case T_ParamRef: case T_A_Indirection: case T_CaseExpr: - case T_SubLink: case T_A_ArrayExpr: case T_RowExpr: case T_GroupingFunc: deparseCExpr(state, node); break; + case T_SubLink: + // Not always a "c_expr" (e.g. "x = ANY (...)"), so don't go through deparseCExpr + deparseSubLink(state, castNode(SubLink, node)); + break; case T_TypeCast: deparseTypeCast(state, castNode(TypeCast, node), DEPARSE_NODE_CONTEXT_NONE); break; @@ -806,7 +909,8 @@ static void deparseExpr(DeparseState *state, Node *node, DeparseNodeContext cont deparseCollateClause(state, castNode(CollateClause, node)); break; case T_A_Expr: - deparseAExpr(state, castNode(A_Expr, node), DEPARSE_NODE_CONTEXT_A_EXPR); + // Operands of A_Expr nodes in "b_expr" positions must be valid "b_expr" as well + deparseAExpr(state, castNode(A_Expr, node), context == DEPARSE_NODE_CONTEXT_B_EXPR ? DEPARSE_NODE_CONTEXT_B_EXPR : DEPARSE_NODE_CONTEXT_A_EXPR); break; case T_BoolExpr: deparseBoolExpr(state, castNode(BoolExpr, node)); @@ -862,34 +966,27 @@ static void deparseExpr(DeparseState *state, Node *node, DeparseNodeContext cont // "b_expr" in gram.y static void deparseBExpr(DeparseState *state, Node *node) { - if (IsA(node, XmlExpr)) { - deparseXmlExpr(state, castNode(XmlExpr, node), DEPARSE_NODE_CONTEXT_NONE); - return; - } - - if (IsA(node, A_Expr)) { - A_Expr *a_expr = castNode(A_Expr, node); - // Other kinds are handled by "c_expr", with parens added around them - if (a_expr->kind == AEXPR_OP || a_expr->kind == AEXPR_DISTINCT || a_expr->kind == AEXPR_NOT_DISTINCT) { - deparseAExpr(state, a_expr, DEPARSE_NODE_CONTEXT_NONE); - return; - } - } + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node in deparseBExpr"); - if (IsA(node, BoolExpr)) { - BoolExpr *bool_expr = castNode(BoolExpr, node); - if (bool_expr->boolop == NOT_EXPR) { - deparseBoolExpr(state, bool_expr); - return; - } + if (needsParensAsBExpr(node)) + { + deparseAppendStringInfoChar(state, '('); + // Because we wrap this in parenthesis, the expression inside follows "a_expr" parser rules + deparseExpr(state, node, DEPARSE_NODE_CONTEXT_A_EXPR); + deparseAppendStringInfoChar(state, ')'); + return; } - deparseCExpr(state, node); + deparseExpr(state, node, DEPARSE_NODE_CONTEXT_B_EXPR); } // "AexprConst" in gram.y static void deparseAexprConst(DeparseState *state, Node *node) { + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + switch (nodeTag(node)) { case T_A_Const: @@ -908,6 +1005,17 @@ static void deparseAexprConst(DeparseState *state, Node *node) // "c_expr" in gram.y static void deparseCExpr(DeparseState *state, Node *node) { + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + + if (needsParensAsCExpr(node)) + { + deparseAppendStringInfoChar(state, '('); + deparseExpr(state, node, DEPARSE_NODE_CONTEXT_A_EXPR); + deparseAppendStringInfoChar(state, ')'); + return; + } + switch (nodeTag(node)) { case T_ColumnRef: @@ -1043,6 +1151,9 @@ static void deparseSimpleTypename(DeparseState *state, Node *node) // "NumericOnly" in gram.y static void deparseNumericOnly(DeparseState *state, union ValUnion *value) { + if (value == NULL) + elog(ERROR, "deparse: unexpected NULL value in deparseNumericOnly"); + switch (nodeTag(value)) { case T_Integer: @@ -1255,6 +1366,231 @@ static void deparseSubqueryOp(DeparseState *state, List *op) } } +// Precedence of "a_expr" rules, lowest to highest (mirrors %left/%right/%nonassoc in gram.y) +typedef enum DeparseExprPrec +{ + DEPARSE_PREC_OR, /* OR */ + DEPARSE_PREC_AND, /* AND */ + DEPARSE_PREC_NOT, /* NOT (right-associative) */ + DEPARSE_PREC_IS, /* IS, ISNULL, NOTNULL (non-associative) */ + DEPARSE_PREC_COMPARISON, /* < > = <= >= <> (non-associative) */ + DEPARSE_PREC_BETWEEN, /* BETWEEN IN LIKE ILIKE SIMILAR NOT_LA (non-associative) */ + DEPARSE_PREC_OP, /* Op OPERATOR, i.e. all other operators */ + DEPARSE_PREC_ADD, /* + - */ + DEPARSE_PREC_MUL, /* * / % */ + DEPARSE_PREC_EXP, /* ^ */ + DEPARSE_PREC_AT, /* AT TIME ZONE, AT LOCAL */ + DEPARSE_PREC_COLLATE, /* COLLATE */ + DEPARSE_PREC_UMINUS, /* unary + - (right-associative) */ + DEPARSE_PREC_ATOM /* c_expr, typecasts, and anything else that can't be split apart */ +} DeparseExprPrec; + +// Precedence of the binary operator tokens handled by "qual_Op" and its special cases in gram.y +static DeparseExprPrec getOperatorPrecedence(List *op) +{ + const char *name; + + // OPERATOR(schema.op) always has the precedence of Op + if (list_length(op) != 1) + return DEPARSE_PREC_OP; + + name = strVal(linitial(op)); + if (strcmp(name, "+") == 0 || strcmp(name, "-") == 0) + return DEPARSE_PREC_ADD; + if (strcmp(name, "*") == 0 || strcmp(name, "/") == 0 || strcmp(name, "%") == 0) + return DEPARSE_PREC_MUL; + if (strcmp(name, "^") == 0) + return DEPARSE_PREC_EXP; + if (strcmp(name, "<") == 0 || strcmp(name, ">") == 0 || strcmp(name, "=") == 0 || + strcmp(name, "<=") == 0 || strcmp(name, ">=") == 0 || strcmp(name, "<>") == 0 || + strcmp(name, "!=") == 0) + return DEPARSE_PREC_COMPARISON; + + return DEPARSE_PREC_OP; +} + +// Precedence of the operator token in "a_expr subquery_Op sub_type ..." (i.e. "x = ANY (...)") +static DeparseExprPrec getSubqueryOperatorPrecedence(List *op) +{ + const char *name; + + if (list_length(op) == 1) + { + name = strVal(linitial(op)); + // These get output as [NOT] LIKE / [NOT] ILIKE by deparseSubqueryOp + if (strcmp(name, "~~") == 0 || strcmp(name, "!~~") == 0 || + strcmp(name, "~~*") == 0 || strcmp(name, "!~~*") == 0) + return DEPARSE_PREC_BETWEEN; + } + + return getOperatorPrecedence(op); +} + +static bool isSqlSyntaxFuncCall(FuncCall *func_call, const char *name) +{ + return func_call->funcformat == COERCE_SQL_SYNTAX && + list_length(func_call->funcname) == 2 && + strcmp(strVal(linitial(func_call->funcname)), "pg_catalog") == 0 && + strcmp(strVal(lsecond(func_call->funcname)), name) == 0; +} + +// Precedence of the gram.y rule that a node gets deparsed as (see DeparseExprPrec) +static DeparseExprPrec getExprPrecedence(Node *node) +{ + if (node == NULL) + return DEPARSE_PREC_ATOM; + + switch (nodeTag(node)) + { + case T_A_Expr: + { + A_Expr *a_expr = castNode(A_Expr, node); + switch (a_expr->kind) + { + case AEXPR_OP: + // Prefix operators: unary + and - have UMINUS precedence, all others that of Op + if (a_expr->lexpr == NULL) + return getOperatorPrecedence(a_expr->name) == DEPARSE_PREC_ADD ? DEPARSE_PREC_UMINUS : DEPARSE_PREC_OP; + return getOperatorPrecedence(a_expr->name); + case AEXPR_OP_ANY: + case AEXPR_OP_ALL: + // The rule has Op precedence, but as a right operand the operator token may bind looser + return Min(getSubqueryOperatorPrecedence(a_expr->name), DEPARSE_PREC_OP); + case AEXPR_DISTINCT: + case AEXPR_NOT_DISTINCT: + return DEPARSE_PREC_IS; + case AEXPR_NULLIF: + return DEPARSE_PREC_ATOM; + default: /* IN, LIKE, ILIKE, SIMILAR TO, BETWEEN */ + return DEPARSE_PREC_BETWEEN; + } + } + case T_BoolExpr: + switch (castNode(BoolExpr, node)->boolop) + { + case AND_EXPR: + return DEPARSE_PREC_AND; + case NOT_EXPR: + return DEPARSE_PREC_NOT; + default: + return DEPARSE_PREC_OR; + } + case T_NullTest: + case T_BooleanTest: + case T_JsonIsPredicate: + return DEPARSE_PREC_IS; + case T_CollateClause: + return DEPARSE_PREC_COLLATE; + case T_XmlExpr: + if (castNode(XmlExpr, node)->op == IS_DOCUMENT) + return DEPARSE_PREC_IS; + return DEPARSE_PREC_ATOM; + case T_SubLink: + { + SubLink *sub_link = castNode(SubLink, node); + if (sub_link->subLinkType == ANY_SUBLINK && list_length(sub_link->operName) == 0) + return DEPARSE_PREC_BETWEEN; // IN (...) + if (sub_link->subLinkType == ANY_SUBLINK || sub_link->subLinkType == ALL_SUBLINK) + return Min(getSubqueryOperatorPrecedence(sub_link->operName), DEPARSE_PREC_OP); + return DEPARSE_PREC_ATOM; + } + case T_FuncCall: + { + FuncCall *func_call = castNode(FuncCall, node); + if (isSqlSyntaxFuncCall(func_call, "timezone") && + list_length(func_call->args) > 0 && + list_length(func_call->args) <= 2) + return DEPARSE_PREC_AT; + if (isSqlSyntaxFuncCall(func_call, "is_normalized")) + return DEPARSE_PREC_IS; + return DEPARSE_PREC_ATOM; + } + default: + return DEPARSE_PREC_ATOM; + } +} + +// Which side of the operator an operand is on (prefix operators only have a right operand, postfix ones a left one) +typedef enum DeparseOperandSide +{ + DEPARSE_OPERAND_LEFT, + DEPARSE_OPERAND_RIGHT +} DeparseOperandSide; + +/* + * Recognizes subquery comparison forms ("x = ANY (...)", "x < ALL (SELECT ...)", + * "x IN (...)"). As the left operand of an operator at the same precedence these never + * need parens (see needsParensForPrecedence); at any other precedence the normal rules + * apply, since dropping parens there can reassociate the expression or fail to parse: + * "d = x = ANY(c)" is rejected outright, and "d || x = ANY(c)" reparses with the + * comparison swallowing the concatenation. + */ +static bool isSubqueryComparisonForm(Node *node) +{ + if (IsA(node, A_Expr)) + { + switch (castNode(A_Expr, node)->kind) + { + case AEXPR_OP_ANY: + case AEXPR_OP_ALL: + case AEXPR_IN: + return true; + default: + return false; + } + } + if (IsA(node, SubLink)) + { + SubLink *sub_link = castNode(SubLink, node); + return sub_link->subLinkType == ANY_SUBLINK || sub_link->subLinkType == ALL_SUBLINK; + } + return false; +} + +/* + * Checks whether a node needs parens as the left or right operand of an "a_expr" + * rule with the given precedence. At the same precedence, left-associative rules + * only need them on the right, non-associative rules on both sides. + */ +static bool needsParensForPrecedence(Node *node, DeparseExprPrec parent_prec, DeparseOperandSide side) +{ + DeparseExprPrec prec = getExprPrecedence(node); + + if (side == DEPARSE_OPERAND_LEFT && isSubqueryComparisonForm(node) && + prec == parent_prec) + return false; + + if (prec != parent_prec) + return prec < parent_prec; + + switch (parent_prec) + { + case DEPARSE_PREC_IS: + case DEPARSE_PREC_COMPARISON: + case DEPARSE_PREC_BETWEEN: + return true; + case DEPARSE_PREC_NOT: + case DEPARSE_PREC_UMINUS: + // Right-associative prefix operators, e.g. "NOT NOT a" + return false; + default: + return side == DEPARSE_OPERAND_RIGHT; + } +} + +// Deparses an operand of an "a_expr" (or "b_expr") rule with the given precedence, adding parens if needed +static void deparseExprOperand(DeparseState *state, Node *node, DeparseExprPrec parent_prec, DeparseOperandSide side, DeparseNodeContext context) +{ + bool need_parens = needsParensForPrecedence(node, parent_prec, side) || + (context == DEPARSE_NODE_CONTEXT_B_EXPR && needsParensAsBExpr(node)); + + if (need_parens) + deparseAppendStringInfoChar(state, '('); + deparseExpr(state, node, need_parens ? DEPARSE_NODE_CONTEXT_A_EXPR : context); + if (need_parens) + deparseAppendStringInfoChar(state, ')'); +} + // Not present directly in gram.y (usually matched by ColLabel) static void deparseGenericDefElemName(DeparseState *state, const char *in) { @@ -1424,7 +1760,7 @@ static void deparseCommonFuncOptItem(DeparseState *state, DefElem *def_elem) deparseAppendStringInfoString(state, "SUPPORT "); deparseAnyName(state, castNode(List, def_elem->arg)); } - else if (strcmp(def_elem->defname, "set") == 0 && IsA(def_elem->arg, VariableSetStmt)) // FunctionSetResetClause + else if (strcmp(def_elem->defname, "set") == 0 && def_elem->arg != NULL && IsA(def_elem->arg, VariableSetStmt)) // FunctionSetResetClause { deparseVariableSetStmt(state, castNode(VariableSetStmt, def_elem->arg)); } @@ -1573,6 +1909,9 @@ static void deparseFuncName(DeparseState *state, List *func_name) // "function_with_argtypes" in gram.y static void deparseFunctionWithArgtypes(DeparseState *state, ObjectWithArgs *object_with_args) { + if (object_with_args == NULL) + elog(ERROR, "deparse: unexpected NULL ObjectWithArgs"); + ListCell *lc; deparseFuncName(state, object_with_args->objname); @@ -1612,6 +1951,9 @@ static void deparseFunctionWithArgtypesList(DeparseState *state, List *l) // "operator_with_argtypes" in gram.y static void deparseOperatorWithArgtypes(DeparseState *state, ObjectWithArgs *object_with_args) { + if (object_with_args == NULL) + elog(ERROR, "deparse: unexpected NULL ObjectWithArgs"); + deparseAnyOperator(state, object_with_args->objname); Assert(list_length(object_with_args->objargs) == 2); @@ -1674,6 +2016,9 @@ static void deparseAggrArgs(DeparseState *state, List *aggr_args) // "aggregate_with_argtypes" in gram.y static void deparseAggregateWithArgtypes(DeparseState *state, ObjectWithArgs *object_with_args) { + if (object_with_args == NULL) + elog(ERROR, "deparse: unexpected NULL ObjectWithArgs"); + ListCell *lc = NULL; deparseFuncName(state, object_with_args->objname); @@ -2153,7 +2498,7 @@ static void deparseXmlNamespaceList(DeparseState *state, List *l) if (res_target->name == NULL) deparseAppendStringInfoString(state, "DEFAULT "); - deparseExpr(state, res_target->val, DEPARSE_NODE_CONTEXT_NONE /* b_expr */); + deparseBExpr(state, res_target->val); if (res_target->name != NULL) { @@ -2169,6 +2514,9 @@ static void deparseXmlNamespaceList(DeparseState *state, List *l) // "table_ref" in gram.y static void deparseTableRef(DeparseState *state, Node *node) { + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + switch (nodeTag(node)) { case T_RangeVar: @@ -2374,7 +2722,8 @@ static void deparseSetClauseList(DeparseState *state, List *target_list) deparseAppendCommaAndPart(state); ResTarget *res_target = castNode(ResTarget, lfirst(lc)); - Assert(res_target->val != NULL); + if (res_target->val == NULL) + elog(ERROR, "deparse: unexpected NULL val in SET clause ResTarget"); if (IsA(res_target->val, MultiAssignRef)) { @@ -2404,10 +2753,13 @@ static void deparseSetClauseList(DeparseState *state, List *target_list) // "func_expr_windowless" in gram.y static void deparseFuncExprWindowless(DeparseState *state, Node* node) { + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + switch (nodeTag(node)) { case T_FuncCall: - deparseFuncCall(state, castNode(FuncCall, node), DEPARSE_NODE_CONTEXT_NONE /* we don't know which kind of expression */); + deparseFuncCall(state, castNode(FuncCall, node)); break; case T_SQLValueFunction: deparseSQLValueFunction(state, castNode(SQLValueFunction, node)); @@ -2455,6 +2807,8 @@ static void deparseIndexElem(DeparseState *state, IndexElem* index_elem) } else if (index_elem->expr != NULL) { + bool is_func_expr = false; + switch (nodeTag(index_elem->expr)) { // Simple function calls can be written without wrapping parens @@ -2464,13 +2818,23 @@ static void deparseIndexElem(DeparseState *state, IndexElem* index_elem) case T_MinMaxExpr: // func_expr_common_subexpr case T_XmlExpr: // func_expr_common_subexpr case T_XmlSerialize: // func_expr_common_subexpr - deparseFuncExprWindowless(state, index_elem->expr); - deparseAppendStringInfoString(state, " "); + is_func_expr = true; break; default: - deparseAppendStringInfoChar(state, '('); - deparseExpr(state, index_elem->expr, DEPARSE_NODE_CONTEXT_A_EXPR); - deparseAppendStringInfoString(state, ") "); + break; + } + + // Some function call nodes are output using operator syntax (e.g. "x AT TIME ZONE y"), and need parens + if (is_func_expr && !needsParensAsCExpr(index_elem->expr)) + { + deparseFuncExprWindowless(state, index_elem->expr); + deparseAppendStringInfoString(state, " "); + } + else + { + deparseAppendStringInfoChar(state, '('); + deparseExpr(state, index_elem->expr, DEPARSE_NODE_CONTEXT_A_EXPR); + deparseAppendStringInfoString(state, ") "); } } else @@ -2751,6 +3115,9 @@ static void deparseUtilityOptionList(DeparseState *state, List *options) static void deparseSelectStmt(DeparseState *state, SelectStmt *stmt, DeparseNodeContext context) { + if (stmt == NULL) + elog(ERROR, "deparse: unexpected NULL SelectStmt"); + const ListCell *lc = NULL; const ListCell *lc2 = NULL; bool need_parens = context == DEPARSE_NODE_CONTEXT_SELECT_SETOP && ( @@ -2762,6 +3129,9 @@ static void deparseSelectStmt(DeparseState *state, SelectStmt *stmt, DeparseNode stmt->op != SETOP_NONE); DeparseStateNestingLevel *parent_level = NULL; + /* Set operations (UNION etc) recurse here directly, without going through deparseExpr */ + check_stack_depth(); + if (need_parens) { deparseAppendPart(state, true); @@ -2819,6 +3189,8 @@ static void deparseSelectStmt(DeparseState *state, SelectStmt *stmt, DeparseNode if (stmt->intoClause != NULL) { + if (stmt->intoClause->rel == NULL) + elog(ERROR, "deparse: unexpected NULL rel in IntoClause"); deparseAppendPartGroup(state, "INTO", DEPARSE_PART_INDENT); deparseOptTemp(state, stmt->intoClause->rel->relpersistence); deparseIntoClause(state, stmt->intoClause); @@ -2909,7 +3281,7 @@ static void deparseSelectStmt(DeparseState *state, SelectStmt *stmt, DeparseNode else if (stmt->limitOption == LIMIT_OPTION_WITH_TIES) deparseCExpr(state, stmt->limitCount); else - deparseExpr(state, stmt->limitCount, DEPARSE_NODE_CONTEXT_NONE /* c_expr */); + deparseExpr(state, stmt->limitCount, DEPARSE_NODE_CONTEXT_A_EXPR); deparseAppendStringInfoChar(state, ' '); @@ -2995,6 +3367,9 @@ static void deparseIntoClause(DeparseState *state, IntoClause *into_clause) static void deparseRangeVar(DeparseState *state, RangeVar *range_var, DeparseNodeContext context) { + if (range_var == NULL) + elog(ERROR, "deparse: unexpected NULL RangeVar"); + if (!range_var->inh && context != DEPARSE_NODE_CONTEXT_CREATE_TYPE && context != DEPARSE_NODE_CONTEXT_ALTER_TYPE) deparseAppendStringInfoString(state, "ONLY "); @@ -3091,8 +3466,11 @@ static void deparseAConst(DeparseState *state, A_Const *a_const) deparseValue(state, val, DEPARSE_NODE_CONTEXT_CONSTANT); } -static void deparseFuncCall(DeparseState *state, FuncCall *func_call, DeparseNodeContext context) +static void deparseFuncCall(DeparseState *state, FuncCall *func_call) { + if (func_call == NULL) + elog(ERROR, "deparse: unexpected NULL FuncCall"); + const ListCell *lc = NULL; Assert(list_length(func_call->funcname) > 0); @@ -3211,20 +3589,17 @@ static void deparseFuncCall(DeparseState *state, FuncCall *func_call, DeparseNod /* * "OVERLAPS" is a keyword on its own merit, and only accepts the * keyword parameter style when its called as a keyword, not as a regular function (i.e. pg_catalog.overlaps) - * format: (start_1, end_1) overlaps (start_2, end_2) + * format: (start_1, end_1) OVERLAPS (start_2, end_2) */ deparseAppendStringInfoChar(state, '('); deparseExpr(state, linitial(func_call->args), DEPARSE_NODE_CONTEXT_A_EXPR); deparseAppendStringInfoString(state, ", "); deparseExpr(state, lsecond(func_call->args), DEPARSE_NODE_CONTEXT_A_EXPR); - deparseAppendStringInfoString(state, ") "); - - deparseAppendStringInfoString(state, "overlaps "); - deparseAppendStringInfoChar(state, '('); + deparseAppendStringInfoString(state, ") OVERLAPS ("); deparseExpr(state, lthird(func_call->args), DEPARSE_NODE_CONTEXT_A_EXPR); deparseAppendStringInfoString(state, ", "); deparseExpr(state, lfourth(func_call->args), DEPARSE_NODE_CONTEXT_A_EXPR); - deparseAppendStringInfoString(state, ") "); + deparseAppendStringInfoChar(state, ')'); return; } else if (func_call->funcformat == COERCE_SQL_SYNTAX && list_length(func_call->funcname) == 2 && @@ -3267,7 +3642,7 @@ static void deparseFuncCall(DeparseState *state, FuncCall *func_call, DeparseNod * keyword parameter style when its called as a keyword, not as a regular function (i.e. pg_catalog.timezone) * Note that the arguments are swapped in this case */ - Expr* e; + Node* e; bool isLocal = list_length(func_call->args) == 1; if (isLocal) @@ -3275,30 +3650,14 @@ static void deparseFuncCall(DeparseState *state, FuncCall *func_call, DeparseNod else e = lsecond(func_call->args); - // If we're not inside an a_expr context, we must add wrapping parenthesis around the AT ... syntax - if (context != DEPARSE_NODE_CONTEXT_A_EXPR) { - deparseAppendStringInfoChar(state, '('); - } - - if (IsA(e, A_Expr)) { - deparseAppendStringInfoChar(state, '('); - } - - deparseExpr(state, (Node*) e, DEPARSE_NODE_CONTEXT_A_EXPR); - - if (IsA(e, A_Expr)) { - deparseAppendStringInfoChar(state, ')'); - } + // Note that callers outside of an "a_expr" context add parens around this (see needsParensAsBExpr) + deparseExprOperand(state, e, DEPARSE_PREC_AT, DEPARSE_OPERAND_LEFT, DEPARSE_NODE_CONTEXT_A_EXPR); if (isLocal) deparseAppendStringInfoString(state, " AT LOCAL"); else { deparseAppendStringInfoString(state, " AT TIME ZONE "); - deparseExpr(state, linitial(func_call->args), DEPARSE_NODE_CONTEXT_A_EXPR); - } - - if (context != DEPARSE_NODE_CONTEXT_A_EXPR) { - deparseAppendStringInfoChar(state, ')'); + deparseExprOperand(state, linitial(func_call->args), DEPARSE_PREC_AT, DEPARSE_OPERAND_RIGHT, DEPARSE_NODE_CONTEXT_A_EXPR); } return; @@ -3335,7 +3694,7 @@ static void deparseFuncCall(DeparseState *state, FuncCall *func_call, DeparseNod */ Assert(list_length(func_call->args) == 1 || list_length(func_call->args) == 2); - deparseExpr(state, linitial(func_call->args), DEPARSE_NODE_CONTEXT_A_EXPR); + deparseExprOperand(state, linitial(func_call->args), DEPARSE_PREC_IS, DEPARSE_OPERAND_LEFT, DEPARSE_NODE_CONTEXT_A_EXPR); deparseAppendStringInfoString(state, " IS "); if (list_length(func_call->args) == 2) { @@ -3352,9 +3711,9 @@ static void deparseFuncCall(DeparseState *state, FuncCall *func_call, DeparseNod list_length(func_call->args) == 2) { deparseAppendStringInfoString(state, "xmlexists ("); - deparseExpr(state, linitial(func_call->args), DEPARSE_NODE_CONTEXT_NONE /* c_expr */); + deparseCExpr(state, linitial(func_call->args)); deparseAppendStringInfoString(state, " PASSING "); - deparseExpr(state, lsecond(func_call->args), DEPARSE_NODE_CONTEXT_NONE /* c_expr */); + deparseCExpr(state, lsecond(func_call->args)); deparseAppendStringInfoChar(state, ')'); return; } else if (func_call->funcformat == COERCE_SQL_SYNTAX && @@ -3566,7 +3925,8 @@ static void deparseSubLink(DeparseState *state, SubLink* sub_link) deparseAppendStringInfoChar(state, ')'); return; case ALL_SUBLINK: - deparseExpr(state, sub_link->testexpr, DEPARSE_NODE_CONTEXT_A_EXPR); + // The left operand gets compared against the operator token, not the precedence of the whole rule + deparseExprOperand(state, sub_link->testexpr, getSubqueryOperatorPrecedence(sub_link->operName), DEPARSE_OPERAND_LEFT, DEPARSE_NODE_CONTEXT_A_EXPR); deparseAppendStringInfoChar(state, ' '); deparseSubqueryOp(state, sub_link->operName); deparseAppendStringInfoString(state, " ALL ("); @@ -3574,7 +3934,10 @@ static void deparseSubLink(DeparseState *state, SubLink* sub_link) deparseAppendStringInfoChar(state, ')'); return; case ANY_SUBLINK: - deparseExpr(state, sub_link->testexpr, DEPARSE_NODE_CONTEXT_A_EXPR); + if (list_length(sub_link->operName) > 0) + deparseExprOperand(state, sub_link->testexpr, getSubqueryOperatorPrecedence(sub_link->operName), DEPARSE_OPERAND_LEFT, DEPARSE_NODE_CONTEXT_A_EXPR); + else + deparseExprOperand(state, sub_link->testexpr, DEPARSE_PREC_BETWEEN /* IN */, DEPARSE_OPERAND_LEFT, DEPARSE_NODE_CONTEXT_A_EXPR); if (list_length(sub_link->operName) > 0) { deparseAppendStringInfoChar(state, ' '); @@ -3620,56 +3983,80 @@ needsParensAsBExpr(Node *node) { if (node == NULL) return false; - return IsA(node, BoolExpr) || IsA(node, BooleanTest) || IsA(node, NullTest) || IsA(node, A_Expr); + + // These have their own "b_expr" rules (their operands get deparsed in a "b_expr" context as well) + if (IsA(node, A_Expr)) + { + switch (castNode(A_Expr, node)->kind) + { + case AEXPR_OP: + case AEXPR_DISTINCT: + case AEXPR_NOT_DISTINCT: + case AEXPR_NULLIF: /* function call syntax */ + return false; + default: + return true; + } + } + if (IsA(node, XmlExpr) && castNode(XmlExpr, node)->op == IS_DOCUMENT) + return false; + + // "row OVERLAPS row" can't be ambiguous (so it has no precedence), but is only handled by "a_expr" + if (IsA(node, FuncCall) && isSqlSyntaxFuncCall(castNode(FuncCall, node), "overlaps") && + list_length(castNode(FuncCall, node)->args) == 4) + return true; + + // Everything else that isn't a "c_expr" (e.g. NOT, IS NULL, COLLATE, AT TIME ZONE) is only handled by "a_expr" + return getExprPrecedence(node) != DEPARSE_PREC_ATOM; +} + +// Checks whether a node needs parens in a "c_expr" context, i.e. anything that isn't deparsed as a "c_expr" (e.g. "a + b", "NOT a", "x = ANY (...)", "x AT TIME ZONE y" or "x IS DOCUMENT") +static bool +needsParensAsCExpr(Node *node) +{ + return getExprPrecedence(node) != DEPARSE_PREC_ATOM || needsParensAsBExpr(node); } // This handles "A_Expr" parse tree objects, which are a subset of the rules in "a_expr" (handled by deparseExpr) static void deparseAExpr(DeparseState *state, A_Expr* a_expr, DeparseNodeContext context) { - ListCell *lc; - char *name; + if (a_expr->rexpr == NULL) + elog(ERROR, "deparse: unexpected NULL rexpr in A_Expr"); - bool need_lexpr_parens = needsParensAsBExpr(a_expr->lexpr); - bool need_rexpr_parens = needsParensAsBExpr(a_expr->rexpr); + char *name; + DeparseExprPrec prec = getExprPrecedence((Node *) a_expr); switch (a_expr->kind) { case AEXPR_OP: /* normal operator */ { if (a_expr->lexpr != NULL) { - if (need_lexpr_parens) - deparseAppendStringInfoChar(state, '('); - deparseExpr(state, a_expr->lexpr, context); - if (need_lexpr_parens) - deparseAppendStringInfoChar(state, ')'); + deparseExprOperand(state, a_expr->lexpr, prec, DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoChar(state, ' '); } deparseQualOp(state, a_expr->name); if (a_expr->rexpr != NULL) { deparseAppendStringInfoChar(state, ' '); - if (need_rexpr_parens) - deparseAppendStringInfoChar(state, '('); - deparseExpr(state, a_expr->rexpr, context); - if (need_rexpr_parens) - deparseAppendStringInfoChar(state, ')'); + deparseExprOperand(state, a_expr->rexpr, prec, DEPARSE_OPERAND_RIGHT, context); } } return; case AEXPR_OP_ANY: /* scalar op ANY (array) */ - deparseExpr(state, a_expr->lexpr, context); + // The left operand gets compared against the operator token, not the precedence of the whole rule + deparseExprOperand(state, a_expr->lexpr, getSubqueryOperatorPrecedence(a_expr->name), DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoChar(state, ' '); deparseSubqueryOp(state, a_expr->name); deparseAppendStringInfoString(state, " ANY("); - deparseExpr(state, a_expr->rexpr, context); + deparseExpr(state, a_expr->rexpr, DEPARSE_NODE_CONTEXT_A_EXPR); deparseAppendStringInfoChar(state, ')'); return; case AEXPR_OP_ALL: /* scalar op ALL (array) */ - deparseExpr(state, a_expr->lexpr, context); + deparseExprOperand(state, a_expr->lexpr, getSubqueryOperatorPrecedence(a_expr->name), DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoChar(state, ' '); deparseSubqueryOp(state, a_expr->name); deparseAppendStringInfoString(state, " ALL("); - deparseExpr(state, a_expr->rexpr, context); + deparseExpr(state, a_expr->rexpr, DEPARSE_NODE_CONTEXT_A_EXPR); deparseAppendStringInfoChar(state, ')'); return; case AEXPR_DISTINCT: /* IS DISTINCT FROM - name must be "=" */ @@ -3677,26 +4064,18 @@ static void deparseAExpr(DeparseState *state, A_Expr* a_expr, DeparseNodeContext Assert(IsA(linitial(a_expr->name), String)); Assert(strcmp(strVal(linitial(a_expr->name)), "=") == 0); - if (need_lexpr_parens) - deparseAppendStringInfoChar(state, '('); - deparseExpr(state, a_expr->lexpr, context); - if (need_lexpr_parens) - deparseAppendStringInfoChar(state, ')'); + deparseExprOperand(state, a_expr->lexpr, prec, DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoString(state, " IS DISTINCT FROM "); - if (need_rexpr_parens) - deparseAppendStringInfoChar(state, '('); - deparseExpr(state, a_expr->rexpr, context); - if (need_rexpr_parens) - deparseAppendStringInfoChar(state, ')'); + deparseExprOperand(state, a_expr->rexpr, prec, DEPARSE_OPERAND_RIGHT, context); return; case AEXPR_NOT_DISTINCT: /* IS NOT DISTINCT FROM - name must be "=" */ Assert(list_length(a_expr->name) == 1); Assert(IsA(linitial(a_expr->name), String)); Assert(strcmp(strVal(linitial(a_expr->name)), "=") == 0); - deparseExpr(state, a_expr->lexpr, context); + deparseExprOperand(state, a_expr->lexpr, prec, DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoString(state, " IS NOT DISTINCT FROM "); - deparseExpr(state, a_expr->rexpr, context); + deparseExprOperand(state, a_expr->rexpr, prec, DEPARSE_OPERAND_RIGHT, context); return; case AEXPR_NULLIF: /* NULLIF - name must be "=" */ Assert(list_length(a_expr->name) == 1); @@ -3713,7 +4092,7 @@ static void deparseAExpr(DeparseState *state, A_Expr* a_expr, DeparseNodeContext Assert(list_length(a_expr->name) == 1); Assert(IsA(linitial(a_expr->name), String)); Assert(IsA(a_expr->rexpr, List)); - deparseExpr(state, a_expr->lexpr, context); + deparseExprOperand(state, a_expr->lexpr, prec, DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoChar(state, ' '); name = ((union ValUnion *) linitial(a_expr->name))->sval.sval; if (strcmp(name, "=") == 0) { @@ -3733,7 +4112,7 @@ static void deparseAExpr(DeparseState *state, A_Expr* a_expr, DeparseNodeContext case AEXPR_LIKE: /* [NOT] LIKE - name must be "~~" or "!~~" */ Assert(list_length(a_expr->name) == 1); Assert(IsA(linitial(a_expr->name), String)); - deparseExpr(state, a_expr->lexpr, context); + deparseExprOperand(state, a_expr->lexpr, prec, DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoChar(state, ' '); name = ((union ValUnion *) linitial(a_expr->name))->sval.sval; @@ -3745,12 +4124,12 @@ static void deparseAExpr(DeparseState *state, A_Expr* a_expr, DeparseNodeContext Assert(false); } - deparseExpr(state, a_expr->rexpr, context); + deparseExprOperand(state, a_expr->rexpr, prec, DEPARSE_OPERAND_RIGHT, context); return; case AEXPR_ILIKE: /* [NOT] ILIKE - name must be "~~*" or "!~~*" */ Assert(list_length(a_expr->name) == 1); Assert(IsA(linitial(a_expr->name), String)); - deparseExpr(state, a_expr->lexpr, context); + deparseExprOperand(state, a_expr->lexpr, prec, DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoChar(state, ' '); name = ((union ValUnion *) linitial(a_expr->name))->sval.sval; @@ -3762,12 +4141,12 @@ static void deparseAExpr(DeparseState *state, A_Expr* a_expr, DeparseNodeContext Assert(false); } - deparseExpr(state, a_expr->rexpr, context); + deparseExprOperand(state, a_expr->rexpr, prec, DEPARSE_OPERAND_RIGHT, context); return; case AEXPR_SIMILAR: /* [NOT] SIMILAR - name must be "~" or "!~" */ Assert(list_length(a_expr->name) == 1); Assert(IsA(linitial(a_expr->name), String)); - deparseExpr(state, a_expr->lexpr, context); + deparseExprOperand(state, a_expr->lexpr, prec, DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoChar(state, ' '); name = ((union ValUnion *) linitial(a_expr->name))->sval.sval; @@ -3785,11 +4164,11 @@ static void deparseAExpr(DeparseState *state, A_Expr* a_expr, DeparseNodeContext Assert(strcmp(strVal(lsecond(n->funcname)), "similar_to_escape") == 0); Assert(list_length(n->args) == 1 || list_length(n->args) == 2); - deparseExpr(state, linitial(n->args), context); + deparseExprOperand(state, linitial(n->args), prec, DEPARSE_OPERAND_RIGHT, context); if (list_length(n->args) == 2) { deparseAppendStringInfoString(state, " ESCAPE "); - deparseExpr(state, lsecond(n->args), context); + deparseExprOperand(state, lsecond(n->args), prec, DEPARSE_OPERAND_RIGHT, context); } return; @@ -3801,16 +4180,17 @@ static void deparseAExpr(DeparseState *state, A_Expr* a_expr, DeparseNodeContext Assert(IsA(linitial(a_expr->name), String)); Assert(IsA(a_expr->rexpr, List)); - deparseExpr(state, a_expr->lexpr, context); + Assert(list_length(castNode(List, a_expr->rexpr)) == 2); + + deparseExprOperand(state, a_expr->lexpr, prec, DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoChar(state, ' '); deparseAppendStringInfoString(state, strVal(linitial(a_expr->name))); deparseAppendStringInfoChar(state, ' '); - foreach(lc, castNode(List, a_expr->rexpr)) { - deparseExpr(state, lfirst(lc), context); - if (lnext(castNode(List, a_expr->rexpr), lc)) - deparseAppendStringInfoString(state, " AND "); - } + // The lower bound is a "b_expr" in gram.y, the upper bound an "a_expr" + deparseExprOperand(state, linitial(castNode(List, a_expr->rexpr)), prec, DEPARSE_OPERAND_RIGHT, DEPARSE_NODE_CONTEXT_B_EXPR); + deparseAppendStringInfoString(state, " AND "); + deparseExprOperand(state, lsecond(castNode(List, a_expr->rexpr)), prec, DEPARSE_OPERAND_RIGHT, context); return; } } @@ -3882,12 +4262,7 @@ static void deparseCollateClause(DeparseState *state, CollateClause* collate_cla ListCell *lc; if (collate_clause->arg != NULL) { - bool need_parens = IsA(collate_clause->arg, A_Expr); - if (need_parens) - deparseAppendStringInfoChar(state, '('); - deparseExpr(state, collate_clause->arg, DEPARSE_NODE_CONTEXT_A_EXPR); - if (need_parens) - deparseAppendStringInfoChar(state, ')'); + deparseExprOperand(state, collate_clause->arg, DEPARSE_PREC_COLLATE, DEPARSE_OPERAND_LEFT, DEPARSE_NODE_CONTEXT_A_EXPR); deparseAppendStringInfoChar(state, ' '); } deparseAppendStringInfoString(state, "COLLATE "); @@ -4017,6 +4392,9 @@ static void deparseWithClause(DeparseState *state, WithClause *with_clause) // "joined_table" in gram.y static void deparseJoinExpr(DeparseState *state, JoinExpr *join_expr) { + if (join_expr->larg == NULL || join_expr->rarg == NULL) + elog(ERROR, "deparse: unexpected NULL larg/rarg in JoinExpr"); + ListCell *lc; bool need_alias_parens = join_expr->alias != NULL; bool need_rarg_parens = IsA(join_expr->rarg, JoinExpr) && castNode(JoinExpr, join_expr->rarg)->alias == NULL; @@ -4293,9 +4671,13 @@ static void deparseRowExpr(DeparseState *state, RowExpr *row_expr) static void deparseTypeCast(DeparseState *state, TypeCast *type_cast, DeparseNodeContext context) { - bool need_parens = needsParensAsBExpr(type_cast->arg); + bool need_parens; - Assert(type_cast->typeName != NULL); + if (type_cast->arg == NULL || type_cast->typeName == NULL) + elog(ERROR, "deparse: unexpected NULL arg/typeName in TypeCast"); + + // TYPECAST binds tighter than any other operator, so anything that isn't a "c_expr" needs parens + need_parens = needsParensAsCExpr(type_cast->arg); if (context == DEPARSE_NODE_CONTEXT_FUNC_EXPR) { @@ -4367,7 +4749,8 @@ static void deparseTypeCast(DeparseState *state, TypeCast *type_cast, DeparseNod if (need_parens) deparseAppendStringInfoChar(state, '('); - deparseExpr(state, type_cast->arg, DEPARSE_NODE_CONTEXT_NONE /* could be either a_expr or b_expr (we could pass this down, but that'd require two kinds of contexts most likely) */); + // Inside parens the arg follows "a_expr" rules, otherwise it is a "c_expr" (which is valid in any context) + deparseExpr(state, type_cast->arg, need_parens ? DEPARSE_NODE_CONTEXT_A_EXPR : DEPARSE_NODE_CONTEXT_NONE); if (need_parens) deparseAppendStringInfoChar(state, ')'); @@ -4377,6 +4760,9 @@ static void deparseTypeCast(DeparseState *state, TypeCast *type_cast, DeparseNod static void deparseTypeName(DeparseState *state, TypeName *type_name) { + if (type_name == NULL) + elog(ERROR, "deparse: unexpected NULL TypeName"); + ListCell *lc; bool skip_typmods = false; @@ -4596,7 +4982,7 @@ static void deparseNullTest(DeparseState *state, NullTest *null_test) // argisrow is always false in raw parser output Assert(null_test->argisrow == false); - deparseExpr(state, (Node *) null_test->arg, DEPARSE_NODE_CONTEXT_A_EXPR); + deparseExprOperand(state, (Node *) null_test->arg, DEPARSE_PREC_IS, DEPARSE_OPERAND_LEFT, DEPARSE_NODE_CONTEXT_A_EXPR); switch (null_test->nulltesttype) { case IS_NULL: @@ -4652,16 +5038,21 @@ static void deparseCaseWhen(DeparseState *state, CaseWhen *case_when) static void deparseAIndirection(DeparseState *state, A_Indirection *a_indirection) { + if (a_indirection->arg == NULL) + elog(ERROR, "deparse: unexpected NULL arg in A_Indirection"); + ListCell *lc; - bool need_parens = - IsA(a_indirection->arg, A_Indirection) || - IsA(a_indirection->arg, FuncCall) || - IsA(a_indirection->arg, A_Expr) || - IsA(a_indirection->arg, TypeCast) || - IsA(a_indirection->arg, RowExpr) || - IsA(a_indirection->arg, A_ArrayExpr) || - (IsA(a_indirection->arg, ColumnRef) && !IsA(linitial(a_indirection->indirection), A_Indices)) || - IsA(a_indirection->arg, JsonFuncExpr); + /* + * Only a few "c_expr" rules in gram.y accept indirection without parens: + * "PARAM opt_indirection", "columnref" (whose field names are part of the + * ColumnRef itself, so only subscripts can follow directly) and + * "select_with_parens indirection". Everything else must use + * "'(' a_expr ')' opt_indirection". + */ + bool need_parens = !( + IsA(a_indirection->arg, ParamRef) || + (IsA(a_indirection->arg, ColumnRef) && IsA(linitial(a_indirection->indirection), A_Indices)) || + (IsA(a_indirection->arg, SubLink) && castNode(SubLink, a_indirection->arg)->subLinkType == EXPR_SUBLINK)); if (need_parens) deparseAppendStringInfoChar(state, '('); @@ -4710,15 +5101,10 @@ static void deparseMinMaxExpr(DeparseState *state, MinMaxExpr *min_max_expr) static void deparseBooleanTest(DeparseState *state, BooleanTest *boolean_test) { - bool need_parens = IsA(boolean_test->arg, BoolExpr); - - if (need_parens) - deparseAppendStringInfoChar(state, '('); - - deparseExpr(state, (Node *) boolean_test->arg, DEPARSE_NODE_CONTEXT_A_EXPR); + if (boolean_test->arg == NULL) + elog(ERROR, "deparse: unexpected NULL arg in BooleanTest"); - if (need_parens) - deparseAppendStringInfoChar(state, ')'); + deparseExprOperand(state, (Node *) boolean_test->arg, DEPARSE_PREC_IS, DEPARSE_OPERAND_LEFT, DEPARSE_NODE_CONTEXT_A_EXPR); switch (boolean_test->booltesttype) { @@ -4748,6 +5134,9 @@ static void deparseBooleanTest(DeparseState *state, BooleanTest *boolean_test) // "columnDef" and "alter_table_cmd" in gram.y static void deparseColumnDef(DeparseState *state, ColumnDef *column_def) { + if (column_def == NULL) + elog(ERROR, "deparse: unexpected NULL ColumnDef"); + ListCell *lc; if (column_def->colname != NULL) @@ -5423,6 +5812,9 @@ static void deparseCreateExtensionStmt(DeparseState *state, CreateExtensionStmt // "ColConstraintElem" and "ConstraintElem" in gram.y static void deparseConstraint(DeparseState *state, Constraint *constraint, DeparseNodeContext context) { + if (constraint == NULL) + elog(ERROR, "deparse: unexpected NULL Constraint"); + ListCell *lc; if (constraint->conname != NULL) @@ -5976,6 +6368,9 @@ static void deparseCreateConversionStmt(DeparseState *state, CreateConversionStm static void deparseRoleSpec(DeparseState *state, RoleSpec *role_spec) { + if (role_spec == NULL) + elog(ERROR, "deparse: unexpected NULL RoleSpec"); + switch (role_spec->roletype) { case ROLESPEC_CSTRING: @@ -6086,6 +6481,9 @@ static void deparsePartitionBoundSpec(DeparseState *state, PartitionBoundSpec *p static void deparsePartitionCmd(DeparseState *state, PartitionCmd *partition_cmd) { + if (partition_cmd == NULL) + elog(ERROR, "deparse: unexpected NULL PartitionCmd"); + deparseRangeVar(state, partition_cmd->name, DEPARSE_NODE_CONTEXT_NONE); if (partition_cmd->bound != NULL) @@ -6100,6 +6498,9 @@ static void deparsePartitionCmd(DeparseState *state, PartitionCmd *partition_cmd // "TableElement" in gram.y static void deparseTableElement(DeparseState *state, Node *node) { + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + switch (nodeTag(node)) { case T_ColumnDef: @@ -6118,6 +6519,9 @@ static void deparseTableElement(DeparseState *state, Node *node) static void deparseCreateStmt(DeparseState *state, CreateStmt *create_stmt, bool is_foreign_table) { + if (create_stmt->relation == NULL) + elog(ERROR, "deparse: unexpected NULL relation in CreateStmt"); + ListCell *lc; deparseAppendStringInfoString(state, "CREATE "); @@ -6541,6 +6945,10 @@ static void deparseImportForeignSchemaStmt(DeparseState *state, ImportForeignSch static void deparseCreateTableAsStmt(DeparseState *state, CreateTableAsStmt *create_table_as_stmt) { + if (create_table_as_stmt->into == NULL || create_table_as_stmt->into->rel == NULL || + create_table_as_stmt->query == NULL) + elog(ERROR, "deparse: unexpected NULL into/query in CreateTableAsStmt"); + ListCell *lc; deparseAppendStringInfoString(state, "CREATE "); @@ -6581,6 +6989,9 @@ static void deparseCreateTableAsStmt(DeparseState *state, CreateTableAsStmt *cre static void deparseViewStmt(DeparseState *state, ViewStmt *view_stmt) { + if (view_stmt->view == NULL) + elog(ERROR, "deparse: unexpected NULL view in ViewStmt"); + ListCell *lc; deparseAppendStringInfoString(state, "CREATE "); @@ -7889,6 +8300,9 @@ static void deparseTransactionStmt(DeparseState *state, TransactionStmt *transac static void deparseVariableSetStmt(DeparseState *state, VariableSetStmt* variable_set_stmt) { + if (variable_set_stmt == NULL) + elog(ERROR, "deparse: unexpected NULL VariableSetStmt"); + ListCell *lc; switch (variable_set_stmt->kind) @@ -8299,6 +8713,8 @@ static void deparseCopyStmt(DeparseState *state, CopyStmt *copy_stmt) else if (strcmp(def_elem->defname, "force_quote") == 0) { deparseAppendStringInfoString(state, "FORCE_QUOTE "); + if (def_elem->arg == NULL) + elog(ERROR, "deparse: unexpected NULL arg for FORCE_QUOTE"); if (IsA(def_elem->arg, A_Star)) { deparseAppendStringInfoChar(state, '*'); @@ -8318,6 +8734,8 @@ static void deparseCopyStmt(DeparseState *state, CopyStmt *copy_stmt) { deparseAppendStringInfoString(state, "FORCE_NOT_NULL "); + if (def_elem->arg == NULL) + elog(ERROR, "deparse: unexpected NULL arg for FORCE_NOT_NULL"); if (IsA(def_elem->arg, A_Star)) deparseAStar(state, castNode(A_Star, def_elem->arg)); else @@ -8331,6 +8749,8 @@ static void deparseCopyStmt(DeparseState *state, CopyStmt *copy_stmt) { deparseAppendStringInfoString(state, "FORCE_NULL "); + if (def_elem->arg == NULL) + elog(ERROR, "deparse: unexpected NULL arg for FORCE_NULL"); if (IsA(def_elem->arg, A_Star)) deparseAStar(state, castNode(A_Star, def_elem->arg)); else @@ -8848,6 +9268,9 @@ static void deparseAccessPriv(DeparseState *state, AccessPriv *access_priv) static void deparseGrantStmt(DeparseState *state, GrantStmt *grant_stmt) { + if (grant_stmt == NULL) + elog(ERROR, "deparse: unexpected NULL GrantStmt"); + ListCell *lc; if (grant_stmt->is_grant) deparseAppendStringInfoString(state, "GRANT "); @@ -8915,6 +9338,8 @@ static void deparseGrantRoleStmt(DeparseState *state, GrantRoleStmt *grant_role_ if (!grant_role_stmt->is_grant && list_length(grant_role_stmt->opt)) { DefElem *defelem = castNode(DefElem, linitial(grant_role_stmt->opt)); + if (defelem->arg == NULL) + elog(ERROR, "deparse: unexpected NULL arg in GRANT role option"); Assert(!castNode(Boolean, defelem->arg)->boolval); if (strcmp("admin", defelem->defname) == 0) { @@ -8951,6 +9376,8 @@ static void deparseGrantRoleStmt(DeparseState *state, GrantRoleStmt *grant_role_ foreach(lc, grant_role_stmt->opt) { DefElem *defelem = castNode(DefElem, lfirst(lc)); + if (defelem->arg == NULL) + elog(ERROR, "deparse: unexpected NULL arg in GRANT role option"); if (strcmp("admin", defelem->defname) == 0) { deparseAppendStringInfoString(state, "ADMIN "); deparseAppendStringInfoString(state, castNode(Boolean, defelem->arg)->boolval ? "OPTION" : "FALSE"); @@ -9613,6 +10040,9 @@ static void deparseUnlistenStmt(DeparseState *state, UnlistenStmt *unlisten_stmt static void deparseCreateSeqStmt(DeparseState *state, CreateSeqStmt *create_seq_stmt) { + if (create_seq_stmt->sequence == NULL) + elog(ERROR, "deparse: unexpected NULL sequence in CreateSeqStmt"); + ListCell *lc; deparseAppendStringInfoString(state, "CREATE "); @@ -9764,6 +10194,9 @@ static void deparseRefreshMatViewStmt(DeparseState *state, RefreshMatViewStmt *r static void deparseReplicaIdentityStmt(DeparseState *state, ReplicaIdentityStmt *replica_identity_stmt) { + if (replica_identity_stmt == NULL) + elog(ERROR, "deparse: unexpected NULL ReplicaIdentityStmt"); + switch (replica_identity_stmt->identity_type) { case REPLICA_IDENTITY_NOTHING: @@ -9950,6 +10383,8 @@ static void deparsePublicationObjectList(DeparseState *state, List *pubobjects) switch (obj->pubobjtype) { case PUBLICATIONOBJ_TABLE: + if (obj->pubtable == NULL) + elog(ERROR, "deparse: unexpected NULL pubtable in PublicationObjSpec"); deparseAppendStringInfoString(state, "TABLE "); deparseRangeVar(state, obj->pubtable->relation, DEPARSE_NODE_CONTEXT_NONE); @@ -10609,7 +11044,7 @@ static void deparseDropSubscriptionStmt(DeparseState *state, DropSubscriptionStm static void deparseCallStmt(DeparseState *state, CallStmt *call_stmt) { deparseAppendStringInfoString(state, "CALL "); - deparseFuncCall(state, call_stmt->funccall, DEPARSE_NODE_CONTEXT_NONE); + deparseFuncCall(state, call_stmt->funccall); } static void deparseAlterOwnerStmt(DeparseState *state, AlterOwnerStmt *alter_owner_stmt) @@ -11007,7 +11442,7 @@ static void deparseXmlExpr(DeparseState *state, XmlExpr* xml_expr, DeparseNodeCo break; case IS_DOCUMENT: /* xmlval IS DOCUMENT */ Assert(list_length(xml_expr->args) == 1); - deparseExpr(state, linitial(xml_expr->args), context); + deparseExprOperand(state, linitial(xml_expr->args), DEPARSE_PREC_IS, DEPARSE_OPERAND_LEFT, context); deparseAppendStringInfoString(state, " IS DOCUMENT"); break; } @@ -11031,14 +11466,14 @@ static void deparseRangeTableFuncCol(DeparseState *state, RangeTableFuncCol* ran if (range_table_func_col->colexpr) { deparseAppendStringInfoString(state, "PATH "); - deparseExpr(state, range_table_func_col->colexpr, DEPARSE_NODE_CONTEXT_NONE /* b_expr */); + deparseBExpr(state, range_table_func_col->colexpr); deparseAppendStringInfoChar(state, ' '); } if (range_table_func_col->coldefexpr) { deparseAppendStringInfoString(state, "DEFAULT "); - deparseExpr(state, range_table_func_col->coldefexpr, DEPARSE_NODE_CONTEXT_NONE /* b_expr */); + deparseBExpr(state, range_table_func_col->coldefexpr); deparseAppendStringInfoChar(state, ' '); } @@ -11070,7 +11505,7 @@ static void deparseRangeTableFunc(DeparseState *state, RangeTableFunc* range_tab deparseAppendStringInfoChar(state, ')'); deparseAppendStringInfoString(state, " PASSING "); - deparseExpr(state, range_table_func->docexpr, DEPARSE_NODE_CONTEXT_NONE /* c_expr */); + deparseCExpr(state, range_table_func->docexpr); deparseAppendStringInfoString(state, " COLUMNS "); foreach(lc, range_table_func->columns) @@ -11142,7 +11577,7 @@ static void deparseJsonFormat(DeparseState *state, JsonFormat *json_format) static void deparseJsonIsPredicate(DeparseState *state, JsonIsPredicate *j) { - deparseExpr(state, j->expr, DEPARSE_NODE_CONTEXT_A_EXPR); + deparseExprOperand(state, j->expr, DEPARSE_PREC_IS, DEPARSE_OPERAND_LEFT, DEPARSE_NODE_CONTEXT_A_EXPR); deparseAppendStringInfoChar(state, ' '); deparseJsonFormat(state, castNode(JsonFormat, j->format)); @@ -11174,6 +11609,9 @@ static void deparseJsonIsPredicate(DeparseState *state, JsonIsPredicate *j) // "json_value_expr" in gram.y static void deparseJsonValueExpr(DeparseState *state, JsonValueExpr *json_value_expr) { + if (json_value_expr == NULL) + elog(ERROR, "deparse: unexpected NULL JsonValueExpr"); + deparseExpr(state, (Node *) json_value_expr->raw_expr, DEPARSE_NODE_CONTEXT_A_EXPR); deparseAppendStringInfoChar(state, ' '); deparseJsonFormat(state, json_value_expr->format); @@ -11220,7 +11658,8 @@ static void deparseJsonOutput(DeparseState *state, JsonOutput *json_output) if (json_output == NULL) return; - Assert(json_output->returning != NULL); + if (json_output->returning == NULL) + elog(ERROR, "deparse: unexpected NULL returning in JsonOutput"); deparseAppendStringInfoString(state, "RETURNING "); deparseTypeName(state, json_output->typeName); @@ -11723,6 +12162,9 @@ static void deparseValue(DeparseState *state, union ValUnion *value, DeparseNode // "PrepareableStmt" in gram.y static void deparsePreparableStmt(DeparseState *state, Node *node) { + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + switch (nodeTag(node)) { case T_SelectStmt: @@ -11748,6 +12190,9 @@ static void deparsePreparableStmt(DeparseState *state, Node *node) // "RuleActionStmt" in gram.y static void deparseRuleActionStmt(DeparseState *state, Node *node) { + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + switch (nodeTag(node)) { case T_SelectStmt: @@ -11773,6 +12218,9 @@ static void deparseRuleActionStmt(DeparseState *state, Node *node) // "ExplainableStmt" in gram.y static void deparseExplainableStmt(DeparseState *state, Node *node) { + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + switch (nodeTag(node)) { case T_SelectStmt: @@ -11810,6 +12258,9 @@ static void deparseExplainableStmt(DeparseState *state, Node *node) // "schema_stmt" in gram.y static void deparseSchemaStmt(DeparseState *state, Node *node) { + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + switch (nodeTag(node)) { case T_CreateStmt: @@ -11848,6 +12299,8 @@ static void deparseStmt(DeparseState *state, Node *node) IsA(node, DeleteStmt) || IsA(node, MergeStmt); + check_stack_depth(); + if (!skip_push_pop) parent_level = deparseStateIncreaseNestingLevel(state); @@ -11875,6 +12328,9 @@ static void deparseStmt(DeparseState *state, Node *node) // // And the following grammar names error out in the parser: // - CreateAssertionStmt (not supported yet) + if (node == NULL) + elog(ERROR, "deparse: unexpected NULL node"); + switch (nodeTag(node)) { case T_AlterEventTrigStmt: diff --git a/srcdata/struct_defs.json b/srcdata/struct_defs.json index 82894951f..c06c8a305 100644 --- a/srcdata/struct_defs.json +++ b/srcdata/struct_defs.json @@ -1307,6 +1307,14 @@ "name": "location", "c_type": "ParseLoc", "comment": "/* token location, or -1 if unknown */" + }, + { + "comment": "\t/* location of arg's string constant, or -1 if not a string constant */\n" + }, + { + "name": "arg_location", + "c_type": "ParseLoc", + "comment": null } ], "comment": "/*\n * DefElem - a generic \"name = value\" option definition\n *\n * In some contexts the name can be qualified. Also, certain SQL commands\n * allow a SET/ADD/DROP action to be attached to option settings, so it's\n * convenient to carry a field for that too. (Note: currently, it is our\n * practice that the grammar allows namespace and action only in statements\n * where they are relevant; C code can just ignore those fields in other\n * statements.)\n */\n" @@ -6457,6 +6465,14 @@ "name": "payload", "c_type": "char*", "comment": "/* the payload string, or NULL if none */" + }, + { + "comment": "\t/* location of payload's string constant; only set when payload is */\n" + }, + { + "name": "payload_location", + "c_type": "ParseLoc", + "comment": null } ], "comment": "/* ----------------------\n *\t\tNotify Statement\n * ----------------------\n */\n" @@ -7521,6 +7537,14 @@ "name": "options", "c_type": "List*", "comment": "/* List of DefElem nodes */" + }, + { + "comment": "\t/* location of conninfo's string constant; only set when conninfo is */\n" + }, + { + "name": "conninfo_location", + "c_type": "ParseLoc", + "comment": null } ], "comment": null @@ -7556,6 +7580,14 @@ "name": "options", "c_type": "List*", "comment": "/* List of DefElem nodes */" + }, + { + "comment": "\t/* location of conninfo's string constant; only set when conninfo is */\n" + }, + { + "name": "conninfo_location", + "c_type": "ParseLoc", + "comment": null } ], "comment": null diff --git a/test/complex.c b/test/complex.c index 10e6c0b8d..97b4c01d9 100644 --- a/test/complex.c +++ b/test/complex.c @@ -10327,7 +10327,9 @@ const char* query = "select $1 as field_id \ union all select $10311 \ union all select $10312"; -const char *fingerprint = "fc5a0500dddc25aa"; +// Note: The fingerprint only covers the first 100 levels of the UNION chain, +// since deeper set operations get cut off like other deeply nested nodes +const char *fingerprint = "b5b11dd6edc2f57f"; int main() { size_t i; @@ -10344,7 +10346,7 @@ int main() { } else { ret_code = -1; printf("INVALID result, expected: %s\nactual: %s\nactual tokens: \n", fingerprint, result.fingerprint_str); - pg_query_fingerprint_with_opts(query, PG_QUERY_PARSE_DEFAULT, true); + pg_query_fingerprint_with_opts(query, PG_QUERY_PARSE_DEFAULT, PG_QUERY_FINGERPRINT_DEFAULT, true); } pg_query_free_fingerprint_result(result); diff --git a/test/deparse.c b/test/deparse.c index 360173bc4..e11b90d79 100644 --- a/test/deparse.c +++ b/test/deparse.c @@ -10,7 +10,6 @@ #include #include "deparse_tests.c" -#include "protobuf/pg_query.pb-c.h" void remove_numeric_key(char *parse_tree_json, char* key) { @@ -47,6 +46,9 @@ void remove_node_locations(char *parse_tree_json) remove_numeric_key(parse_tree_json, "location"); remove_numeric_key(parse_tree_json, "name_location"); remove_numeric_key(parse_tree_json, "stmt_location"); + remove_numeric_key(parse_tree_json, "arg_location"); + remove_numeric_key(parse_tree_json, "conninfo_location"); + remove_numeric_key(parse_tree_json, "payload_location"); remove_numeric_key(parse_tree_json, "rexpr_list_start"); remove_numeric_key(parse_tree_json, "rexpr_list_end"); remove_numeric_key(parse_tree_json, "list_start"); diff --git a/test/deparse_depth.c b/test/deparse_depth.c new file mode 100644 index 000000000..226f60a5e --- /dev/null +++ b/test/deparse_depth.c @@ -0,0 +1,297 @@ +#include + +#include +#include +#include +#include +#include + +/* + * Tests how protobuf encoding and decoding handle deeply nested parse trees. + * Nesting is bounded both by a fixed limit (PG_QUERY_PROTOBUF_MAX_DEPTH, 10,000 + * message levels) and by the stack depth limit, which depends on the stack + * available and the stack used per level (which varies a lot between compilers + * and optimization levels). So only moderately nested queries are expected to + * always succeed; for deeper ones the tests check that they either succeed or + * fail with a clean error, but never crash or return an empty result: + * + * - moderately nested expressions (each costs two protobuf message levels) + * round-trip through pg_query_parse_protobuf and pg_query_deparse_protobuf + * - very deeply nested queries return an error (not an empty parse tree) + * - the deepest tree we can encode deparses, or fails with a clean error + * - protobuf input nested deeper than the fixed limit fails to decode + */ + +/* + * Up to 100 terms (~200 message levels): above upb's own default decode limit + * (100 levels), which used to reject such queries, but small enough to fit the + * stack depth limit even in unoptimized builds on a 1 MB stack. + */ +static const int roundtrip_terms[] = {10, 50, 100}; + +/* Deeper than either limit allows */ +#define TOO_DEEP_TERMS 100000 + +/* Upper bound for finding the deepest query that still encodes */ +#define ENCODE_LIMIT_SEARCH_MAX_TERMS 20000 + +/* Deeper than PG_QUERY_PROTOBUF_MAX_DEPTH (10,000 message levels) */ +#define TOO_DEEP_PROTOBUF_NESTINGS 20000 + +/* + * Builds "SELECT 1 + 1 + ... + 1" with the given number of terms (at least 2). + * Since "+" is left-associative, each term nests one expression level deeper. + * The deparser omits parentheses for left-associative chains, so the result + * can be compared exactly. + */ +static char * +make_nested_query(int terms) +{ + char *query = malloc(strlen("SELECT 1") + (terms - 1) * strlen(" + 1") + 1); + char *p = query; + + p += sprintf(p, "SELECT 1"); + for (int i = 1; i < terms; i++) + p += sprintf(p, " + 1"); + + return query; +} + +static bool +test_roundtrip(int terms) +{ + bool ok = false; + char *query = make_nested_query(terms); + PgQueryProtobufParseResult parse_result = pg_query_parse_protobuf(query); + + if (parse_result.error) + { + printf("\nparse failed for %d terms: %s\n", terms, parse_result.error->message); + } + else + { + PgQueryDeparseResult deparse_result = pg_query_deparse_protobuf(parse_result.parse_tree); + + if (deparse_result.error) + printf("\ndeparse failed for %d terms: %s\n", terms, deparse_result.error->message); + else if (strcmp(deparse_result.query, query) != 0) + printf("\ndeparse mismatch for %d terms\n", terms); + else + ok = true; + + pg_query_free_deparse_result(deparse_result); + } + + pg_query_free_protobuf_parse_result(parse_result); + free(query); + + return ok; +} + +static bool +parses_to_protobuf(int terms) +{ + char *query = make_nested_query(terms); + PgQueryProtobufParseResult parse_result = pg_query_parse_protobuf(query); + bool ok = parse_result.error == NULL; + + pg_query_free_protobuf_parse_result(parse_result); + free(query); + + return ok; +} + +/* A query too deep to encode returns an error, and no (empty) parse tree */ +static bool +test_too_deep_query(void) +{ + bool ok = false; + char *query = make_nested_query(TOO_DEEP_TERMS); + PgQueryProtobufParseResult parse_result = pg_query_parse_protobuf(query); + + if (parse_result.error == NULL) + printf("\nexpected an error for %d terms, got success\n", TOO_DEEP_TERMS); + else if (parse_result.parse_tree.data != NULL || parse_result.parse_tree.len != 0) + printf("\nexpected no parse tree for %d terms\n", TOO_DEEP_TERMS); + else + ok = true; + + pg_query_free_protobuf_parse_result(parse_result); + free(query); + + return ok; +} + +/* + * Finds the deepest query that still encodes, and checks that deparsing it + * either succeeds or fails with a clean error. Decoding and deparsing use more + * stack per level than encoding, so this is where a missing stack depth check + * would crash. + */ +static bool +test_deepest_encodable_query(void) +{ + int lo = 2; + int hi = ENCODE_LIMIT_SEARCH_MAX_TERMS; + char *query; + PgQueryProtobufParseResult parse_result; + PgQueryDeparseResult deparse_result; + bool ok = true; + + if (parses_to_protobuf(hi)) + { + printf("\nexpected %d terms to exceed the protobuf depth limit\n", hi); + return false; + } + + while (lo < hi) + { + int mid = lo + (hi - lo + 1) / 2; + + if (parses_to_protobuf(mid)) + lo = mid; + else + hi = mid - 1; + } + + query = make_nested_query(lo); + parse_result = pg_query_parse_protobuf(query); + if (parse_result.error) + { + /* + * The encode limit is (partly) stack-based, so a query that encoded + * when probed above could in theory fail here from a different frame + * depth. Don't silently skip the deparse in that case. + */ + printf("\nparse failed for the deepest encodable query (%d terms): %s\n", lo, parse_result.error->message); + ok = false; + } + else + { + deparse_result = pg_query_deparse_protobuf(parse_result.parse_tree); + if (deparse_result.error == NULL && strcmp(deparse_result.query, query) != 0) + { + printf("\ndeparse mismatch for the deepest encodable query (%d terms)\n", lo); + ok = false; + } + pg_query_free_deparse_result(deparse_result); + } + pg_query_free_protobuf_parse_result(parse_result); + free(query); + + return ok; +} + +/* Protobuf wire format helpers, used to build input our encoder won't produce */ + +static uint8_t * +prepend_varint(uint8_t *p, uint64_t value) +{ + uint8_t tmp[10]; + int n = 0; + + do + { + tmp[n++] = (value & 0x7f) | (value > 0x7f ? 0x80 : 0); + value >>= 7; + } while (value); + + p -= n; + memcpy(p, tmp, n); + return p; +} + +/* Wraps the bytes in [p, end) as a length-delimited field */ +static uint8_t * +prepend_submessage(uint8_t *p, uint8_t *end, uint32_t field) +{ + p = prepend_varint(p, end - p); + return prepend_varint(p, (field << 3) | 2); +} + +/* + * Builds a ParseResult protobuf whose single statement is a Node wrapping a + * List, whose single item is a Node wrapping a List, and so on, nested the + * given number of times (each nesting adds two message levels). + */ +static PgQueryProtobuf +make_nested_protobuf(int nestings) +{ + size_t cap = (size_t) nestings * 16 + 64; + uint8_t *buf = malloc(cap); + uint8_t *end = buf + cap; + uint8_t *p = end; + PgQueryProtobuf protobuf; + + for (int i = 0; i < nestings; i++) + { + p = prepend_submessage(p, end, 1); /* List.items (repeated Node) */ + p = prepend_submessage(p, end, 268); /* Node.list (List) */ + } + p = prepend_submessage(p, end, 1); /* RawStmt.stmt (Node) */ + p = prepend_submessage(p, end, 2); /* ParseResult.stmts (RawStmt) */ + p = prepend_varint(p, PG_VERSION_NUM); + p = prepend_varint(p, (1 << 3) | 0); /* ParseResult.version */ + + protobuf.len = end - p; + protobuf.data = malloc(protobuf.len); + memcpy(protobuf.data, p, protobuf.len); + free(buf); + + return protobuf; +} + +static bool +test_decode_limit(void) +{ + bool ok = false; + PgQueryProtobuf protobuf = make_nested_protobuf(TOO_DEEP_PROTOBUF_NESTINGS); + PgQueryDeparseResult deparse_result = pg_query_deparse_protobuf(protobuf); + + if (deparse_result.error == NULL) + printf("\nexpected deparse error for too deeply nested protobuf, got success\n"); + else if (strcmp(deparse_result.error->message, "could not parse protobuf") != 0) + printf("\nunexpected deparse error for too deeply nested protobuf: %s\n", deparse_result.error->message); + else + ok = true; + + pg_query_free_deparse_result(deparse_result); + free(protobuf.data); + + return ok; +} + +int +main() +{ + bool ret_code = 0; + + for (size_t i = 0; i < sizeof(roundtrip_terms) / sizeof(roundtrip_terms[0]); i++) + { + if (test_roundtrip(roundtrip_terms[i])) + printf("."); + else + ret_code = -1; + } + + if (test_too_deep_query()) + printf("."); + else + ret_code = -1; + + if (test_deepest_encodable_query()) + printf("."); + else + ret_code = -1; + + if (test_decode_limit()) + printf("."); + else + ret_code = -1; + + printf("\n"); + + pg_query_exit(); + + return ret_code; +} diff --git a/test/deparse_tests.c b/test/deparse_tests.c index 4d60d7611..b606d60a8 100644 --- a/test/deparse_tests.c +++ b/test/deparse_tests.c @@ -115,7 +115,7 @@ const char* tests[] = { "UPDATE ONLY x table_x SET y = 1 WHERE z = 'abc' RETURNING y AS changed_y", "WITH archived AS (DELETE FROM employees WHERE manager_name = 'Mary') UPDATE users SET archived = true WHERE users.id IN (SELECT user_id FROM moved)", "WITH archived AS (DELETE FROM employees WHERE manager_name = 'Mary' RETURNING user_id) UPDATE users SET archived = true FROM archived WHERE archived.user_id = id RETURNING id", - "INSERT INTO jackdanger_card_totals (id, amount_cents, created_at) SELECT series.i, random() * 1000, (SELECT '2015-08-25 00:00:00 -0700'::timestamp + (('2015-08-25 23:59:59 -0700'::timestamp - '2015-08-25 00:00:00 -0700'::timestamp) * random())) FROM generate_series(1, 10000) series(i)", + "INSERT INTO jackdanger_card_totals (id, amount_cents, created_at) SELECT series.i, random() * 1000, (SELECT '2015-08-25 00:00:00 -0700'::timestamp + ('2015-08-25 23:59:59 -0700'::timestamp - '2015-08-25 00:00:00 -0700'::timestamp) * random()) FROM generate_series(1, 10000) series(i)", "UPDATE foo SET a = 24, b = true", "UPDATE x SET \"user\" = 'emin'", "DELETE FROM x WHERE y = 1", @@ -179,7 +179,7 @@ const char* tests[] = { "DROP TABLE IF EXISTS any_table CASCADE", "DROP TABLE IF EXISTS any_table", "DROP SCHEMA IF EXISTS any_schema", - "ALTER TABLE distributors DROP CONSTRAINT distributors_pkey, ADD CONSTRAINT distributors_pkey PRIMARY KEY USING INDEX dist_id_temp_idx, ADD CONSTRAINT zipchk CHECK (char_length(zipcode) = 5), ALTER COLUMN tstamp DROP DEFAULT, ALTER COLUMN tstamp TYPE timestamp with time zone USING 'epoch'::timestamp with time zone + (date_part('epoch', tstamp) * '1 second'::interval), ALTER COLUMN tstamp SET DEFAULT now(), ALTER COLUMN tstamp DROP DEFAULT, ALTER COLUMN tstamp SET STATISTICS -5, ADD COLUMN some_int int NOT NULL, DROP IF EXISTS other_column CASCADE", + "ALTER TABLE distributors DROP CONSTRAINT distributors_pkey, ADD CONSTRAINT distributors_pkey PRIMARY KEY USING INDEX dist_id_temp_idx, ADD CONSTRAINT zipchk CHECK (char_length(zipcode) = 5), ALTER COLUMN tstamp DROP DEFAULT, ALTER COLUMN tstamp TYPE timestamp with time zone USING 'epoch'::timestamp with time zone + date_part('epoch', tstamp) * '1 second'::interval, ALTER COLUMN tstamp SET DEFAULT now(), ALTER COLUMN tstamp DROP DEFAULT, ALTER COLUMN tstamp SET STATISTICS -5, ADD COLUMN some_int int NOT NULL, DROP IF EXISTS other_column CASCADE", "ALTER TABLE distributors RENAME TO suppliers", "ALTER TABLE distributors ADD CONSTRAINT distfk FOREIGN KEY (address) REFERENCES addresses (address)", "ALTER TABLE distributors ADD CONSTRAINT distfk FOREIGN KEY (address) REFERENCES addresses (address) NOT VALID", @@ -321,8 +321,10 @@ const char* tests[] = { "ALTER TABLE a ALTER COLUMN b SET DEFAULT 1", "ALTER TABLE a ALTER COLUMN b DROP DEFAULT", "ALTER TABLE a ALTER COLUMN b SET STATISTICS DEFAULT", - "SELECT (3 + 3) OPERATOR(pg_catalog.*) 2", - "SELECT 3 + (3 * 2)", + "SELECT 3 + 3 OPERATOR(pg_catalog.*) 2", + "SELECT (3 OPERATOR(pg_catalog.*) 3) + 2", + "SELECT 3 + 3 * 2", + "SELECT (3 + 3) * 2", "SELECT LIMIT ALL", "SELECT * FROM ROWS FROM (foo() AS (foo_res_a text COLLATE a, foo_res_b text))", "CREATE DATABASE x OWNER abc CONNECTION LIMIT 5", @@ -415,6 +417,33 @@ const char* tests[] = { "CREATE TABLE my_table (created_at timestamptz NOT NULL DEFAULT (now() AT LOCAL))", "CREATE TABLE my_table (created_at timestamptz NOT NULL DEFAULT '1 hour'::interval + (current_timestamp AT TIME ZONE 'UTC'))", "ALTER TABLE my_table ADD COLUMN created_at timestamptz NOT NULL DEFAULT '1 hour'::interval + (current_timestamp AT TIME ZONE 'UTC')", + "SELECT ((summary ->> 'ts')::timestamptz AT TIME ZONE (summary -> 'stop' ->> 'tz'))::date AS d FROM s", + "SELECT ts AT TIME ZONE (a + b), ts AT TIME ZONE (y OR z), ts AT TIME ZONE (y IS NULL), ts AT TIME ZONE (NOT y)", + "SELECT ts AT TIME ZONE (y AT TIME ZONE 'UTC'), ts AT TIME ZONE (y AT LOCAL), ts AT TIME ZONE 'a' AT TIME ZONE 'b'", + "SELECT ts AT TIME ZONE - y, ts AT TIME ZONE y COLLATE \"C\", ts AT TIME ZONE y::text, ts AT TIME ZONE y[1]", + "SELECT (a OR b) AT TIME ZONE 'UTC', (a IS NULL) AT TIME ZONE 'UTC', - a AT TIME ZONE 'UTC', (a + b) AT LOCAL", + "SELECT - (b AT TIME ZONE 'UTC'), (b AT TIME ZONE 'UTC')::text, x AT TIME ZONE 'UTC' + 1", + "SELECT a - (b - c), a - b - c, (a = b) = c, - (a + b), - - a, a LIKE b = c, (a LIKE b) LIKE c", + "SELECT a BETWEEN (b OR c) AND d, a BETWEEN (b COLLATE \"C\") AND d, a BETWEEN b + c AND d + e, a BETWEEN b AND (c OR d)", + "SELECT (a IS DISTINCT FROM b) IS NOT DISTINCT FROM c, a IS NOT DISTINCT FROM (b OR c)", + "SELECT (a || b) + ANY(c), a || b = ANY(c), (a || b) + ANY (SELECT 1), a || b IN (SELECT 1), (a OR b) IN (1, 2)", + "SELECT n = ANY(c) < d, n >= ANY(c) = d, n = ANY(c) = ANY(arr), t LIKE ANY(textarr) < d, n < ALL (SELECT 1) = d", + "SELECT (n = ANY(c)) IN (SELECT b FROM tbl), (n < ALL (SELECT 1)) IN (false), (n = ANY(c)) BETWEEN false AND true, x || (n = ANY(c))::text", + "SELECT d = (n = ANY(c)), d < (n = ANY(c)), d BETWEEN false AND (n = ANY(c)), NOT n < ANY(c)", + "CREATE TABLE my_table (a int DEFAULT (x COLLATE \"C\") + 1, b bool DEFAULT (NOT true), c bool DEFAULT (1 = ANY (SELECT 1)))", + "SELECT (x COLLATE \"C\")::text, (a IN (SELECT 1))::text", + "SELECT (NOT a) IS NULL, (a AND b) IS NULL, (a IS NULL) IS NULL, a = b IS NULL, (NOT a) IS TRUE, a < b IS TRUE", + "SELECT (NOT a) IS DOCUMENT, a || b IS DOCUMENT, (NOT a) IS JSON, a || b IS JSON", + "SELECT (a || b) COLLATE \"C\", (b AT TIME ZONE 'UTC') COLLATE \"C\", - a COLLATE \"C\", a::text COLLATE \"C\"", + "SELECT a AND (b OR c), a OR (b AND c), a AND (b AND c), a AND NOT b, NOT (a AND b), NOT a = b, (NOT a) = b", + "SELECT (- a)::int, (a IS NULL)::text, a::int::text, ((a, b) OVERLAPS (c, d))::text", + "CREATE TABLE my_table (a text DEFAULT ((b, c) OVERLAPS (d, e))::text, f bool DEFAULT ((b, c) OVERLAPS (d, e)))", + "CREATE TABLE my_table (a int DEFAULT 1 + 2 * 3, b int DEFAULT (1 + 2) * 3, c bool DEFAULT (a IS NULL), d bool DEFAULT a = b IS DISTINCT FROM c, e int DEFAULT 1 + (a IS NULL)::int)", + "SELECT POSITION(a || b IN c), POSITION((a AND b) IN c), xmlexists ('//x' PASSING (a || b))", + "SELECT * FROM xmltable(('/r') PASSING (a || b) COLUMNS c int PATH 'x' || y DEFAULT 1 + 2)", + "CREATE INDEX i ON t USING btree ((ts AT TIME ZONE 'UTC'), (ts AT LOCAL), (x IS DOCUMENT), lower(x))", + "SELECT (a COLLATE \"C\")[1], (a IS NULL)[1], (NOT a)[1], (a OR b)[1], (a = ANY (SELECT 1))[1], (EXISTS (SELECT 1))[1], (CASE WHEN a THEN b END)[1], ('{1,2}')[1]", + "SELECT a[1][2], (a[1])[2], a.b[1].c, (a).b, $1[1], $1.f, (SELECT ARRAY[1])[1], (f(x)).y", "CREATE TABLE my_table (created_at int NOT NULL DEFAULT 1 + 2)", "/* Comment 1 */ SELECT 1; /* Comment 2 */ SELECT 2", "ALTER TABLE ONLY public.api_keys ADD CONSTRAINT api_keys_value_unique UNIQUE (value)", diff --git a/test/fingerprint.c b/test/fingerprint.c index eb7e7f20d..3184dc39a 100644 --- a/test/fingerprint.c +++ b/test/fingerprint.c @@ -31,7 +31,7 @@ int main() { ret_code = -1; printf("\nINVALID result for \"%s\"\nexpected: \"%s\"\nactual: \"%s\"\nactual tokens: ", tests[i], tests[i + 1], result.fingerprint_str); - pg_query_fingerprint_with_opts(tests[i], PG_QUERY_PARSE_DEFAULT, true); + pg_query_fingerprint_with_opts(tests[i], PG_QUERY_PARSE_DEFAULT, PG_QUERY_FINGERPRINT_DEFAULT, true); } pg_query_free_fingerprint_result(result); diff --git a/test/fingerprint_opts.c b/test/fingerprint_opts.c index 1443230c9..6b5f85ad8 100644 --- a/test/fingerprint_opts.c +++ b/test/fingerprint_opts.c @@ -15,7 +15,7 @@ int main() for (i = 0; tests[i]; i += 3) { PgQueryParseMode mode = atoi(tests[i+1]); - PgQueryFingerprintResult result = pg_query_fingerprint_opts(tests[i], mode); + PgQueryFingerprintResult result = pg_query_fingerprint_opts(tests[i], mode, PG_QUERY_FINGERPRINT_DEFAULT); if (result.error) { @@ -32,7 +32,33 @@ int main() { ret_code = -1; printf("INVALID result for \"%s\" with %d mode\nexpected: \"%s\"\nactual: \"%s\"\nactual tokens: ", tests[i], mode, tests[i + 2], result.fingerprint_str); - pg_query_fingerprint_with_opts(tests[i], mode, true); + pg_query_fingerprint_with_opts(tests[i], mode, PG_QUERY_FINGERPRINT_DEFAULT, true); + } + + pg_query_free_fingerprint_result(result); + } + + for (i = 0; fingerprint_option_tests[i]; i += 3) + { + int fingerprint_options = atoi(fingerprint_option_tests[i+1]); + PgQueryFingerprintResult result = pg_query_fingerprint_opts(fingerprint_option_tests[i], PG_QUERY_PARSE_DEFAULT, fingerprint_options); + + if (result.error) + { + ret_code = -1; + printf("%s\n", result.error->message); + pg_query_free_fingerprint_result(result); + continue; + } + else if (strcmp(result.fingerprint_str, fingerprint_option_tests[i + 2]) == 0) + { + printf("."); + } + else + { + ret_code = -1; + printf("INVALID result for \"%s\" with %d fingerprint options\nexpected: \"%s\"\nactual: \"%s\"\nactual tokens: ", fingerprint_option_tests[i], fingerprint_options, fingerprint_option_tests[i + 2], result.fingerprint_str); + pg_query_fingerprint_with_opts(fingerprint_option_tests[i], PG_QUERY_PARSE_DEFAULT, fingerprint_options, true); } pg_query_free_fingerprint_result(result); diff --git a/test/fingerprint_opts_tests.c b/test/fingerprint_opts_tests.c index 0d6a58939..e7c2fa10e 100644 --- a/test/fingerprint_opts_tests.c +++ b/test/fingerprint_opts_tests.c @@ -31,3 +31,59 @@ const char* tests[] = { "a148e3f78b53c252", NULL // Trailing NULL to tell the test runner we're done. }; + +// Tests for fingerprint options (query, fingerprint options as integer, expected fingerprint) +// +// 0 = PG_QUERY_FINGERPRINT_DEFAULT +// 1 = PG_QUERY_FINGERPRINT_RANGEVAR_IGNORE_ALIASES +// 2 = PG_QUERY_FINGERPRINT_RANGEVAR_INCLUDE_SCHEMA +// 3 = PG_QUERY_FINGERPRINT_RANGEVAR_PG17_COMPAT +// 16 = PG_QUERY_FINGERPRINT_FULL_RELNAME +// 19 = PG_QUERY_FINGERPRINT_RANGEVAR_PG17_COMPAT | PG_QUERY_FINGERPRINT_FULL_RELNAME +const char* fingerprint_option_tests[] = { + // By default, 2+ consecutive digits in the relation name are ignored (these two match) + "SELECT * FROM orders_2024_01", + "0", + "0e612f391ad711b8", + "SELECT * FROM orders_2024_02", + "0", + "0e612f391ad711b8", + // With PG_QUERY_FINGERPRINT_FULL_RELNAME the full relation name is fingerprinted (these two differ) + "SELECT * FROM orders_2024_01", + "16", + "3cc2d1ca3f22c9bf", + "SELECT * FROM orders_2024_02", + "16", + "291f96ac98cf4c38", + // By default (Postgres 18+ behavior), the alias replaces the relation name, and the schema name is ignored + "SELECT * FROM sales", + "0", + "4d93c901b91cb364", + "SELECT * FROM public.sales", // matches the unqualified reference above + "0", + "4d93c901b91cb364", + "SELECT * FROM sales s", + "0", + "93a3bbe18171c380", + // With PG_QUERY_FINGERPRINT_RANGEVAR_IGNORE_ALIASES, aliases are ignored (matches "SELECT * FROM sales" above) + "SELECT * FROM sales s", + "1", + "4d93c901b91cb364", + // With PG_QUERY_FINGERPRINT_RANGEVAR_INCLUDE_SCHEMA, the schema name is fingerprinted (differs from "SELECT * FROM sales" above) + "SELECT * FROM public.sales", + "2", + "78d676e53f612747", + // ... whilst aliases still replace the relation name + "SELECT * FROM public.sales s", + "2", + "9cf22829ca3b350b", + // PG17_COMPAT matches the fingerprint from libpg_query 17 (which was 4e3d1136f89c4229 by default in libpg_query 18) + "MERGE into measurement m USING new_measurement nm ON (m.city_id = nm.city_id and m.logdate=nm.logdate) WHEN MATCHED AND nm.peaktemp IS NULL THEN DELETE WHEN MATCHED THEN UPDATE SET peaktemp = greatest(m.peaktemp, nm.peaktemp), unitsales = m.unitsales + coalesce(nm.unitsales, 0) WHEN NOT MATCHED THEN INSERT (city_id, logdate, peaktemp, unitsales) VALUES (city_id, logdate, peaktemp, unitsales)", + "3", + "fe086f143f4c7ed9", + // All flags combined + "SELECT * FROM public.orders_2024_01 o", + "19", + "115077f8a9c3c10d", + NULL // Trailing NULL to tell the test runner we're done. +}; diff --git a/test/fingerprint_tests.c b/test/fingerprint_tests.c index 3fa68d8b4..c4833f501 100644 --- a/test/fingerprint_tests.c +++ b/test/fingerprint_tests.c @@ -80,7 +80,13 @@ const char* tests[] = { "PREPARE TRANSACTION 'some_id'", "d993959a33d627d4", "START TRANSACTION READ WRITE", + "d2bd82412b9a616d", + "START TRANSACTION", "4ca25828c835d55a", + "BEGIN ISOLATION LEVEL REPEATABLE READ, READ ONLY, DEFERRABLE", + "4eadd452a5088d73", + "BEGIN", + "b16b431979fc3e05", "DECLARE cursor_123 CURSOR FOR SELECT * FROM test WHERE id = 123", "d2bec62d2a7ec7cb", "FETCH 1000 FROM cursor_123", @@ -133,8 +139,15 @@ const char* tests[] = { "9348a760200458ff", "UNLISTEN *", "9348a760200458ff", + // The channel + payload are ignored for NOTIFY statements, so they should all match. "NOTIFY virtual", "92f42ef7b6fa8f62", + "NOTIFY channel, 'a'", + "92f42ef7b6fa8f62", + "NOTIFY channel, 'b'", + "92f42ef7b6fa8f62", + "NOTIFY different_channel, 'some text to normalize'", + "92f42ef7b6fa8f62", "UPDATE tbl SET doc = jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(jsonb_set(doc, ARRAY[$1], $2, $3), ARRAY[$4], $5, $6), ARRAY[$7], $8, $9), ARRAY[$10], $11, $12), ARRAY[$13], $14, $15), ARRAY[$16], $17, $18), ARRAY[$19], $20, $21), ARRAY[$22], $23, $24), ARRAY[$25], $26, $27), ARRAY[$28], $29, $30), ARRAY[$31], $32, $33), ARRAY[$34], $35, $36), ARRAY[$37], $38, $39), ARRAY[$40], $41, $42), ARRAY[$43], $44, $45), ARRAY[$46], $47, $48), ARRAY[$49], $50, $51), ARRAY[$52], $53, $54), ARRAY[$55], $56, $57), ARRAY[$58], $59, $60), ARRAY[$61], $62, $63), ARRAY[$64], $65, $66), ARRAY[$67], $68, $69), ARRAY[$70], $71, $72), ARRAY[$73], $74, $75), ARRAY[$76], $77, $78), ARRAY[$79], $80, $81), ARRAY[$82], $83, $84), ARRAY[$85], $86, $87), ARRAY[$88], $89, $90), ARRAY[$91], $92, $93), ARRAY[$94], $95, $96), ARRAY[$97], $98, $99), ARRAY[$100], $101, $102), ARRAY[$103], $104, $105), ARRAY[$106], $107, $108)", "b7dbf54ce62af0ca", "SELECT DISTINCT id FROM mytable", @@ -150,7 +163,7 @@ const char* tests[] = { "MERGE into measurement m USING new_measurement nm ON (m.city_id = nm.city_id and m.logdate=nm.logdate) WHEN MATCHED AND nm.peaktemp IS NULL THEN DELETE WHEN MATCHED THEN UPDATE SET peaktemp = greatest(m.peaktemp, nm.peaktemp), unitsales = m.unitsales + coalesce(nm.unitsales, 0) WHEN NOT MATCHED THEN INSERT (city_id, logdate, peaktemp, unitsales) VALUES (city_id, logdate, peaktemp, unitsales)", "4e3d1136f89c4229", "ALTER TABLE ALL IN TABLESPACE foo OWNED BY bar, quux SET TABLESPACE fred NOWAIT", - "1bcfca993d29bc0f", + "b29772e8207534a5", "CREATE PUBLICATION foo FOR TABLES IN SCHEMA bar", "7dfa0872d08125e6", "COPY vistest FROM stdin FREEZE CSV", @@ -196,5 +209,32 @@ const char* tests[] = { "1a16559b625d7498", "ALTER TABLE baz.bar ADD COLUMN c int", "2f36adf7ba9689b8", + + // Test normalization of role name during fingerprinting. + "CREATE ROLE a", + "652129c250e27e46", + "CREATE ROLE b", + "652129c250e27e46", + "ALTER ROLE some_role RENAME TO some_other_role", + "6eea95cb0eaf740c", + "ALTER ROLE a RENAME TO b", + "6eea95cb0eaf740c", + "DROP ROLE a", + "f538c9be30bdfedc", + "DROP ROLE b", + "f538c9be30bdfedc", + "DROP ROLE IF EXISTS a", + "8966c75ff804a16c", + "DROP ROLE IF EXISTS b", + "8966c75ff804a16c", + "GRANT SELECT ON some_table TO some_role", + "b07ebf0c371d057a", + "GRANT SELECT ON some_table TO some_other_role", + "b07ebf0c371d057a", + "REASSIGN OWNED BY old_role TO new_role", + "30516c6e029e9e94", + "REASSIGN OWNED BY role_a TO role_b", + "30516c6e029e9e94", + NULL // Trailing NULL to tell the test runner we're done. }; diff --git a/test/normalize_tests.c b/test/normalize_tests.c index badd26f3f..f896b124b 100644 --- a/test/normalize_tests.c +++ b/test/normalize_tests.c @@ -52,6 +52,34 @@ const char* tests[] = { "NOTIFY channel, $1", "NOTIFY channel", "NOTIFY channel", + // The grammar records where each of these string constants starts, so we + // never have to search the query text for them. Searching used to land in + // the middle of a token, making constants overlap and corrupting the + // normalized query buffer. + "do language a$b $$xx$$ 'yy'", + "do language a$b $1 $2", + "DO LANGUAGE a$b $$xxx$$", + "DO LANGUAGE a$b $1", + "DO LANGUAGE \"la$nguage\" $$x$$", + "DO LANGUAGE \"la$nguage\" $1", + "NOTIFY \"a,'b\", 'p'", + "NOTIFY \"a,'b\", $1", + "CREATE SUBSCRIPTION s0 CONNECTION e'\\x41' PUBLICATION p0; CREATE SUBSCRIPTION s1 CONNECTION e'\\x54' PUBLICATION p1", + "CREATE SUBSCRIPTION s0 CONNECTION $1 PUBLICATION p0; CREATE SUBSCRIPTION s1 CONNECTION $2 PUBLICATION p1", + "CREATE SUBSCRIPTION s1 CONNECTION 'CREATE' PUBLICATION p1", + "CREATE SUBSCRIPTION s1 CONNECTION $1 PUBLICATION p1", + "CREATE SUBSCRIPTION s1 CONNECTION '' PUBLICATION p1", + "CREATE SUBSCRIPTION s1 CONNECTION $1 PUBLICATION p1", + "CREATE ROLE r PASSWORD U&'d\\0061t\\+000061'", + "CREATE ROLE r PASSWORD $1", + // A SQL-standard function body is not normalized, and the LANGUAGE option + // must not reach into it + "CREATE FUNCTION functest(a text) RETURNS bool LANGUAGE SQL RETURN a = 'abcd'", + "CREATE FUNCTION functest(a text) RETURNS bool LANGUAGE SQL RETURN a = 'abcd'", + // Known gap: a DefElem carries one argument location, so only the first + // element of a two-element AS list is normalized + "CREATE FUNCTION f() RETURNS int LANGUAGE c AS 'obj_file', 'link_symbol'", + "CREATE FUNCTION f() RETURNS int LANGUAGE c AS $1, 'link_symbol'", // These below are as expected, though questionable if upstream shouldn't be // fixed as this could bloat pg_stat_statements "DECLARE cursor_b CURSOR FOR SELECT * FROM x WHERE id = 123", @@ -64,5 +92,7 @@ const char* tests[] = { "SELECT $1; ALTER USER a WITH PASSWORD $2", "SELECT 3,$2147483647", "SELECT $2147483648,$2147483647", + "SELECT - /* comment */ 1, 'a' -- comment\n'b'", + "SELECT $1, $2", NULL // Trailing NULL to tell the test runner we're done. }; diff --git a/test/normalize_utility_tests.c b/test/normalize_utility_tests.c index fc96ae511..c713e0c26 100644 --- a/test/normalize_utility_tests.c +++ b/test/normalize_utility_tests.c @@ -53,6 +53,34 @@ const char* tests[] = { "NOTIFY channel, $1", "NOTIFY channel", "NOTIFY channel", + // The grammar records where each of these string constants starts, so we + // never have to search the query text for them. Searching used to land in + // the middle of a token, making constants overlap and corrupting the + // normalized query buffer. + "do language a$b $$xx$$ 'yy'", + "do language a$b $$xx$$ 'yy'", + "DO LANGUAGE a$b $$xxx$$", + "DO LANGUAGE a$b $$xxx$$", + "DO LANGUAGE \"la$nguage\" $$x$$", + "DO LANGUAGE \"la$nguage\" $$x$$", + "NOTIFY \"a,'b\", 'p'", + "NOTIFY \"a,'b\", $1", + "CREATE SUBSCRIPTION s0 CONNECTION e'\\x41' PUBLICATION p0; CREATE SUBSCRIPTION s1 CONNECTION e'\\x54' PUBLICATION p1", + "CREATE SUBSCRIPTION s0 CONNECTION $1 PUBLICATION p0; CREATE SUBSCRIPTION s1 CONNECTION $2 PUBLICATION p1", + "CREATE SUBSCRIPTION s1 CONNECTION 'CREATE' PUBLICATION p1", + "CREATE SUBSCRIPTION s1 CONNECTION $1 PUBLICATION p1", + "CREATE SUBSCRIPTION s1 CONNECTION '' PUBLICATION p1", + "CREATE SUBSCRIPTION s1 CONNECTION $1 PUBLICATION p1", + "CREATE ROLE r PASSWORD U&'d\\0061t\\+000061'", + "CREATE ROLE r PASSWORD $1", + // A SQL-standard function body is not normalized, and the LANGUAGE option + // must not reach into it + "CREATE FUNCTION functest(a text) RETURNS bool LANGUAGE SQL RETURN a = 'abcd'", + "CREATE FUNCTION functest(a text) RETURNS bool LANGUAGE SQL RETURN a = 'abcd'", + // Known gap: a DefElem carries one argument location, so only the first + // element of a two-element AS list is normalized + "CREATE FUNCTION f() RETURNS int LANGUAGE c AS 'obj_file', 'link_symbol'", + "CREATE FUNCTION f() RETURNS int LANGUAGE c AS 'obj_file', 'link_symbol'", // These below are as expected, though questionable if upstream shouldn't be // fixed as this could bloat pg_stat_statements "DECLARE cursor_b CURSOR FOR SELECT * FROM x WHERE id = 123", @@ -65,5 +93,7 @@ const char* tests[] = { "SELECT 1; ALTER USER a WITH PASSWORD $1", "SELECT 3,$2147483647", "SELECT 3,$2147483647", + "SELECT - /* comment */ 1, 'a' -- comment\n'b'", + "SELECT - /* comment */ 1, 'a' -- comment\n'b'", NULL // Trailing NULL to tell the test runner we're done. }; diff --git a/test/parse.c b/test/parse.c index f3e132f86..d3fdb955d 100644 --- a/test/parse.c +++ b/test/parse.c @@ -27,6 +27,22 @@ int main() { pg_query_free_parse_result(result); } + for (i = 0; error_tests[i]; i += 2) { + PgQueryParseResult result = pg_query_parse(error_tests[i]); + + if (!result.error) { + ret_code = -1; + printf("UNEXPECTED success for \"%s\"\n expected error: %s\n", error_tests[i], error_tests[i + 1]); + } else if (strcmp(result.error->message, error_tests[i + 1]) == 0) { + printf("."); + } else { + ret_code = -1; + printf("INVALID error for \"%s\"\nexpected: %s\n actual: %s\n", error_tests[i], error_tests[i + 1], result.error->message); + } + + pg_query_free_parse_result(result); + } + printf("\n"); pg_query_exit(); diff --git a/test/parse_opts_tests.c b/test/parse_opts_tests.c index dc71ecd9e..c4312e9df 100644 --- a/test/parse_opts_tests.c +++ b/test/parse_opts_tests.c @@ -1,39 +1,39 @@ const char* tests[] = { "SELECT 1", "0", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "integer", "1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"List\":{\"items\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"int4\"}}]}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"List\":{\"items\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"int4\"}}]}}}]}", "character varying(32)", "1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"List\":{\"items\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"varchar\"}}]}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"List\":{\"items\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"varchar\"}}]}}}]}", "EXISTS(SELECT 1)", "2", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"SubLink\":{\"subLinkType\":\"EXISTS_SUBLINK\",\"subselect\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":14}},\"location\":14}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"SubLink\":{\"subLinkType\":\"EXISTS_SUBLINK\",\"subselect\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":14}},\"location\":14}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "v_version IS NULL", "2", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"NullTest\":{\"arg\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"v_version\"}}]}},\"nulltesttype\":\"IS_NULL\",\"location\":10}}}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"NullTest\":{\"arg\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"v_version\"}}]}},\"nulltesttype\":\"IS_NULL\",\"location\":10}}}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "pos:= instr($1, $2, 1)", "3", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"pos\",\"nnames\":1,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"instr\"}}],\"args\":[{\"ParamRef\":{\"number\":1,\"location\":12}},{\"ParamRef\":{\"number\":2,\"location\":16}},{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":20}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":6}},\"location\":6}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"pos\",\"nnames\":1,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"instr\"}}],\"args\":[{\"ParamRef\":{\"number\":1,\"location\":12}},{\"ParamRef\":{\"number\":2,\"location\":16}},{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":20}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":6}},\"location\":6}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", "temp_str := substring(string FROM beg_index)", "3", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"temp_str\",\"nnames\":1,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"substring\"}}],\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"string\"}}],\"location\":22}},{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"beg_index\"}}],\"location\":34}}],\"funcformat\":\"COERCE_SQL_SYNTAX\",\"location\":12}},\"location\":12}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"temp_str\",\"nnames\":1,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"substring\"}}],\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"string\"}}],\"location\":22}},{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"beg_index\"}}],\"location\":34}}],\"funcformat\":\"COERCE_SQL_SYNTAX\",\"location\":12}},\"location\":12}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", "v3.c1 := 4", "4", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"v3\",\"indirection\":[{\"String\":{\"sval\":\"c1\"}}],\"nnames\":2,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":4},\"location\":9}},\"location\":9}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"v3\",\"indirection\":[{\"String\":{\"sval\":\"c1\"}}],\"nnames\":2,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":4},\"location\":9}},\"location\":9}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", "NEW.name = upper(cleanString(NEW.name))", "4", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"new\",\"indirection\":[{\"String\":{\"sval\":\"name\"}}],\"nnames\":2,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"upper\"}}],\"args\":[{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"cleanstring\"}}],\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"new\"}},{\"String\":{\"sval\":\"name\"}}],\"location\":29}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":17}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":11}},\"location\":11}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"new\",\"indirection\":[{\"String\":{\"sval\":\"name\"}}],\"nnames\":2,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"upper\"}}],\"args\":[{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"cleanstring\"}}],\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"new\"}},{\"String\":{\"sval\":\"name\"}}],\"location\":29}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":17}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":11}},\"location\":11}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", "NEW.author.first_name = upper(cleanString(NEW.author.first_name))", "5", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"new\",\"indirection\":[{\"String\":{\"sval\":\"author\"}},{\"String\":{\"sval\":\"first_name\"}}],\"nnames\":3,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"upper\"}}],\"args\":[{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"cleanstring\"}}],\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"new\"}},{\"String\":{\"sval\":\"author\"}},{\"String\":{\"sval\":\"first_name\"}}],\"location\":42}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":30}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":24}},\"location\":24}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"new\",\"indirection\":[{\"String\":{\"sval\":\"author\"}},{\"String\":{\"sval\":\"first_name\"}}],\"nnames\":3,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"upper\"}}],\"args\":[{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"cleanstring\"}}],\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"new\"}},{\"String\":{\"sval\":\"author\"}},{\"String\":{\"sval\":\"first_name\"}}],\"location\":42}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":30}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":24}},\"location\":24}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", "SELECT '\\''", "96", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"sval\":{\"sval\":\"'\"},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"sval\":{\"sval\":\"'\"},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "v3.c1 := '\\''", "100", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"v3\",\"indirection\":[{\"String\":{\"sval\":\"c1\"}}],\"nnames\":2,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"sval\":{\"sval\":\"'\"},\"location\":9}},\"location\":9}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"PLAssignStmt\":{\"name\":\"v3\",\"indirection\":[{\"String\":{\"sval\":\"c1\"}}],\"nnames\":2,\"val\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"sval\":{\"sval\":\"'\"},\"location\":9}},\"location\":9}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}}]}", NULL // Trailing NULL to tell the test runner we're done. }; diff --git a/test/parse_plpgsql.c b/test/parse_plpgsql.c index 504636911..feadd1fc2 100644 --- a/test/parse_plpgsql.c +++ b/test/parse_plpgsql.c @@ -10,6 +10,40 @@ #include #include +static bool +expect_error(const char *input, const char *expected_message) +{ + PgQueryPlpgsqlParseResult result = pg_query_parse_plpgsql(input); + bool success = result.error != NULL && + strcmp(result.error->message, expected_message) == 0; + + if (!success) + { + printf("Expected error: %s\n", expected_message); + printf("Actual error: %s\n", + result.error == NULL ? "(none)" : result.error->message); + } + + pg_query_free_plpgsql_parse_result(result); + return success; +} + +static bool +expect_no_error(const char *input) +{ + PgQueryPlpgsqlParseResult result = pg_query_parse_plpgsql(input); + bool success = result.error == NULL; + + if (!success) + { + printf("Expected no error for: %s\n", input); + printf("Actual error: %s\n", result.error->message); + } + + pg_query_free_plpgsql_parse_result(result); + return success; +} + int main() { bool ret_code = EXIT_SUCCESS; char *sample_buffer; @@ -56,6 +90,31 @@ int main() { pg_query_free_plpgsql_parse_result(result); + if (!expect_error("CREATE FUNCTION f() RETURNS void LANGUAGE plpgsql;", + "no function body specified")) + ret_code = EXIT_FAILURE; + + if (!expect_error("DO LANGUAGE plpgsql;", + "no inline code specified")) + ret_code = EXIT_FAILURE; + + if (!expect_error("CREATE FUNCTION f() RETURNS int LANGUAGE plpgsql RETURN 1;", + "inline SQL function body only valid for language SQL")) + ret_code = EXIT_FAILURE; + + if (!expect_error("CREATE FUNCTION f() RETURNS int AS $$ BEGIN RETURN 1; END; $$ LANGUAGE plpgsql RETURN 1;", + "duplicate function body specified")) + ret_code = EXIT_FAILURE; + + if (!expect_no_error("CREATE FUNCTION f() RETURNS int LANGUAGE sql RETURN 1;")) + ret_code = EXIT_FAILURE; + + if (!expect_no_error("CREATE FUNCTION f() RETURNS int LANGUAGE sql BEGIN ATOMIC SELECT 1; END;")) + ret_code = EXIT_FAILURE; + + if (!expect_no_error("SELECT 1;")) + ret_code = EXIT_FAILURE; + pg_query_exit(); return ret_code; diff --git a/test/parse_tests.c b/test/parse_tests.c index b37e0c3a6..ecd24e68d 100644 --- a/test/parse_tests.c +++ b/test/parse_tests.c @@ -1,75 +1,106 @@ const char* tests[] = { "SELECT FALSE", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"boolval\":{},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"boolval\":{},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT NULL", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"isnull\":true,\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"isnull\":true,\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT 0", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT 1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT -1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":-1},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":-1},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT 1; SELECT 2", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"stmt_len\":8},{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":2},\"location\":17}},\"location\":17}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"stmt_location\":10}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"stmt_len\":8},{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":2},\"location\":17}},\"location\":17}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"stmt_location\":10}]}", "select sum(unique1) FILTER (WHERE unique1 IN (SELECT unique1 FROM onek where unique1 < 100)) FROM tenk1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"sum\"}}],\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":11}}],\"agg_filter\":{\"SubLink\":{\"subLinkType\":\"ANY_SUBLINK\",\"testexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":34}},\"subselect\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":53}},\"location\":53}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"onek\",\"inh\":true,\"relpersistence\":\"p\",\"location\":66}}],\"whereClause\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"\\u003c\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":77}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":100},\"location\":87}},\"location\":85}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"location\":42}},\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":7}},\"location\":7}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"tenk1\",\"inh\":true,\"relpersistence\":\"p\",\"location\":98}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"sum\"}}],\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":11}}],\"agg_filter\":{\"SubLink\":{\"subLinkType\":\"ANY_SUBLINK\",\"testexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":34}},\"subselect\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":53}},\"location\":53}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"onek\",\"inh\":true,\"relpersistence\":\"p\",\"location\":66}}],\"whereClause\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"\\u003c\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":77}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":100},\"location\":87}},\"location\":85}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"location\":42}},\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":7}},\"location\":7}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"tenk1\",\"inh\":true,\"relpersistence\":\"p\",\"location\":98}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "select sum(unique1) FILTER (WHERE unique1 = ANY (SELECT unique1 FROM onek where unique1 < 100)) FROM tenk1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"sum\"}}],\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":11}}],\"agg_filter\":{\"SubLink\":{\"subLinkType\":\"ANY_SUBLINK\",\"testexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":34}},\"operName\":[{\"String\":{\"sval\":\"=\"}}],\"subselect\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":56}},\"location\":56}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"onek\",\"inh\":true,\"relpersistence\":\"p\",\"location\":69}}],\"whereClause\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"\\u003c\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":80}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":100},\"location\":90}},\"location\":88}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"location\":42}},\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":7}},\"location\":7}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"tenk1\",\"inh\":true,\"relpersistence\":\"p\",\"location\":101}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"sum\"}}],\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":11}}],\"agg_filter\":{\"SubLink\":{\"subLinkType\":\"ANY_SUBLINK\",\"testexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":34}},\"operName\":[{\"String\":{\"sval\":\"=\"}}],\"subselect\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":56}},\"location\":56}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"onek\",\"inh\":true,\"relpersistence\":\"p\",\"location\":69}}],\"whereClause\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"\\u003c\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unique1\"}}],\"location\":80}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":100},\"location\":90}},\"location\":88}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"location\":42}},\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":7}},\"location\":7}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"tenk1\",\"inh\":true,\"relpersistence\":\"p\",\"location\":101}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "CREATE FOREIGN TABLE films (code char(5) NOT NULL, title varchar(40) NOT NULL, did integer NOT NULL, date_prod date, kind varchar(10), len interval hour to minute) SERVER film_server;", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"CreateForeignTableStmt\":{\"base\":{\"relation\":{\"relname\":\"films\",\"inh\":true,\"relpersistence\":\"p\",\"location\":21},\"tableElts\":[{\"ColumnDef\":{\"colname\":\"code\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"bpchar\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":5},\"location\":38}}],\"typemod\":-1,\"location\":33},\"is_local\":true,\"constraints\":[{\"Constraint\":{\"contype\":\"CONSTR_NOTNULL\",\"is_enforced\":true,\"initially_valid\":true,\"location\":41}}],\"location\":28}},{\"ColumnDef\":{\"colname\":\"title\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"varchar\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":40},\"location\":65}}],\"typemod\":-1,\"location\":57},\"is_local\":true,\"constraints\":[{\"Constraint\":{\"contype\":\"CONSTR_NOTNULL\",\"is_enforced\":true,\"initially_valid\":true,\"location\":69}}],\"location\":51}},{\"ColumnDef\":{\"colname\":\"did\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"int4\"}}],\"typemod\":-1,\"location\":83},\"is_local\":true,\"constraints\":[{\"Constraint\":{\"contype\":\"CONSTR_NOTNULL\",\"is_enforced\":true,\"initially_valid\":true,\"location\":91}}],\"location\":79}},{\"ColumnDef\":{\"colname\":\"date_prod\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"date\"}}],\"typemod\":-1,\"location\":111},\"is_local\":true,\"location\":101}},{\"ColumnDef\":{\"colname\":\"kind\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"varchar\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":10},\"location\":130}}],\"typemod\":-1,\"location\":122},\"is_local\":true,\"location\":117}},{\"ColumnDef\":{\"colname\":\"len\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"interval\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":3072},\"location\":148}}],\"typemod\":-1,\"location\":139},\"is_local\":true,\"location\":135}}],\"oncommit\":\"ONCOMMIT_NOOP\"},\"servername\":\"film_server\"}},\"stmt_len\":182}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"CreateForeignTableStmt\":{\"base\":{\"relation\":{\"relname\":\"films\",\"inh\":true,\"relpersistence\":\"p\",\"location\":21},\"tableElts\":[{\"ColumnDef\":{\"colname\":\"code\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"bpchar\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":5},\"location\":38}}],\"typemod\":-1,\"location\":33},\"is_local\":true,\"constraints\":[{\"Constraint\":{\"contype\":\"CONSTR_NOTNULL\",\"is_enforced\":true,\"initially_valid\":true,\"location\":41}}],\"location\":28}},{\"ColumnDef\":{\"colname\":\"title\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"varchar\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":40},\"location\":65}}],\"typemod\":-1,\"location\":57},\"is_local\":true,\"constraints\":[{\"Constraint\":{\"contype\":\"CONSTR_NOTNULL\",\"is_enforced\":true,\"initially_valid\":true,\"location\":69}}],\"location\":51}},{\"ColumnDef\":{\"colname\":\"did\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"int4\"}}],\"typemod\":-1,\"location\":83},\"is_local\":true,\"constraints\":[{\"Constraint\":{\"contype\":\"CONSTR_NOTNULL\",\"is_enforced\":true,\"initially_valid\":true,\"location\":91}}],\"location\":79}},{\"ColumnDef\":{\"colname\":\"date_prod\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"date\"}}],\"typemod\":-1,\"location\":111},\"is_local\":true,\"location\":101}},{\"ColumnDef\":{\"colname\":\"kind\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"varchar\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":10},\"location\":130}}],\"typemod\":-1,\"location\":122},\"is_local\":true,\"location\":117}},{\"ColumnDef\":{\"colname\":\"len\",\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"interval\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":3072},\"location\":148}}],\"typemod\":-1,\"location\":139},\"is_local\":true,\"location\":135}}],\"oncommit\":\"ONCOMMIT_NOOP\"},\"servername\":\"film_server\"}},\"stmt_len\":182}]}", "CREATE FOREIGN TABLE ft1 () SERVER no_server", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"CreateForeignTableStmt\":{\"base\":{\"relation\":{\"relname\":\"ft1\",\"inh\":true,\"relpersistence\":\"p\",\"location\":21},\"oncommit\":\"ONCOMMIT_NOOP\"},\"servername\":\"no_server\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"CreateForeignTableStmt\":{\"base\":{\"relation\":{\"relname\":\"ft1\",\"inh\":true,\"relpersistence\":\"p\",\"location\":21},\"oncommit\":\"ONCOMMIT_NOOP\"},\"servername\":\"no_server\"}}}]}", "SELECT parse_ident(E'\"c\".X XXXX\002XXXXXX')", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"parse_ident\"}}],\"args\":[{\"A_Const\":{\"sval\":{\"sval\":\"\\\"c\\\".X XXXX\\u0002XXXXXX\"},\"location\":19}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"parse_ident\"}}],\"args\":[{\"A_Const\":{\"sval\":{\"sval\":\"\\\"c\\\".X XXXX\\u0002XXXXXX\"},\"location\":19}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "ALTER ROLE postgres LOGIN SUPERUSER PASSWORD 'xyz'", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"AlterRoleStmt\":{\"role\":{\"roletype\":\"ROLESPEC_CSTRING\",\"rolename\":\"postgres\",\"location\":11},\"options\":[{\"DefElem\":{\"defname\":\"canlogin\",\"arg\":{\"Boolean\":{\"boolval\":true}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":20}},{\"DefElem\":{\"defname\":\"superuser\",\"arg\":{\"Boolean\":{\"boolval\":true}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":26}},{\"DefElem\":{\"defname\":\"password\",\"arg\":{\"String\":{\"sval\":\"xyz\"}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":36}}],\"action\":1}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"AlterRoleStmt\":{\"role\":{\"roletype\":\"ROLESPEC_CSTRING\",\"rolename\":\"postgres\",\"location\":11},\"options\":[{\"DefElem\":{\"defname\":\"canlogin\",\"arg\":{\"Boolean\":{\"boolval\":true}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":20,\"arg_location\":-1}},{\"DefElem\":{\"defname\":\"superuser\",\"arg\":{\"Boolean\":{\"boolval\":true}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":26,\"arg_location\":-1}},{\"DefElem\":{\"defname\":\"password\",\"arg\":{\"String\":{\"sval\":\"xyz\"}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":36,\"arg_location\":45}}],\"action\":1}}}]}", "SELECT extract($1 FROM $2)", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"extract\"}}],\"args\":[{\"ParamRef\":{\"number\":1,\"location\":15}},{\"ParamRef\":{\"number\":2,\"location\":23}}],\"funcformat\":\"COERCE_SQL_SYNTAX\",\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"extract\"}}],\"args\":[{\"ParamRef\":{\"number\":1,\"location\":15}},{\"ParamRef\":{\"number\":2,\"location\":23}}],\"funcformat\":\"COERCE_SQL_SYNTAX\",\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "WITH w AS NOT MATERIALIZED (SELECT * FROM big_table) SELECT * FROM w LIMIT 1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":60}},\"location\":60}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"w\",\"inh\":true,\"relpersistence\":\"p\",\"location\":67}}],\"limitCount\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":75}},\"limitOption\":\"LIMIT_OPTION_COUNT\",\"withClause\":{\"ctes\":[{\"CommonTableExpr\":{\"ctename\":\"w\",\"ctematerialized\":\"CTEMaterializeNever\",\"ctequery\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":35}},\"location\":35}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"big_table\",\"inh\":true,\"relpersistence\":\"p\",\"location\":42}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"location\":5}}]},\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":60}},\"location\":60}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"w\",\"inh\":true,\"relpersistence\":\"p\",\"location\":67}}],\"limitCount\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":75}},\"limitOption\":\"LIMIT_OPTION_COUNT\",\"withClause\":{\"ctes\":[{\"CommonTableExpr\":{\"ctename\":\"w\",\"ctematerialized\":\"CTEMaterializeNever\",\"ctequery\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":35}},\"location\":35}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"big_table\",\"inh\":true,\"relpersistence\":\"p\",\"location\":42}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"location\":5}}]},\"op\":\"SETOP_NONE\"}}}]}", "CREATE USER test PASSWORD $1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"CreateRoleStmt\":{\"stmt_type\":\"ROLESTMT_USER\",\"role\":\"test\",\"options\":[{\"DefElem\":{\"defname\":\"password\",\"arg\":{\"ParamRef\":{\"number\":1,\"location\":26}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":17}}]}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"CreateRoleStmt\":{\"stmt_type\":\"ROLESTMT_USER\",\"role\":\"test\",\"options\":[{\"DefElem\":{\"defname\":\"password\",\"arg\":{\"ParamRef\":{\"number\":1,\"location\":26}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":17,\"arg_location\":-1}}]}}}]}", "ALTER USER test ENCRYPTED PASSWORD $2", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"AlterRoleStmt\":{\"role\":{\"roletype\":\"ROLESPEC_CSTRING\",\"rolename\":\"test\",\"location\":11},\"options\":[{\"DefElem\":{\"defname\":\"password\",\"arg\":{\"ParamRef\":{\"number\":2,\"location\":35}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":16}}],\"action\":1}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"AlterRoleStmt\":{\"role\":{\"roletype\":\"ROLESPEC_CSTRING\",\"rolename\":\"test\",\"location\":11},\"options\":[{\"DefElem\":{\"defname\":\"password\",\"arg\":{\"ParamRef\":{\"number\":2,\"location\":35}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":16,\"arg_location\":-1}}],\"action\":1}}}]}", "SET SCHEMA $3", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"VariableSetStmt\":{\"kind\":\"VAR_SET_VALUE\",\"name\":\"search_path\",\"args\":[{\"ParamRef\":{\"number\":3,\"location\":11}}]}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"VariableSetStmt\":{\"kind\":\"VAR_SET_VALUE\",\"name\":\"search_path\",\"args\":[{\"ParamRef\":{\"number\":3,\"location\":11}}]}}}]}", "SET ROLE $4", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"VariableSetStmt\":{\"kind\":\"VAR_SET_VALUE\",\"name\":\"role\",\"args\":[{\"ParamRef\":{\"number\":4,\"location\":9}}]}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"VariableSetStmt\":{\"kind\":\"VAR_SET_VALUE\",\"name\":\"role\",\"args\":[{\"ParamRef\":{\"number\":4,\"location\":9}}]}}}]}", "SET SESSION AUTHORIZATION $5", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"VariableSetStmt\":{\"kind\":\"VAR_SET_VALUE\",\"name\":\"session_authorization\",\"args\":[{\"ParamRef\":{\"number\":5,\"location\":26}}]}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"VariableSetStmt\":{\"kind\":\"VAR_SET_VALUE\",\"name\":\"session_authorization\",\"args\":[{\"ParamRef\":{\"number\":5,\"location\":26}}]}}}]}", "SELECT EXTRACT($1 FROM TIMESTAMP $2)", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"extract\"}}],\"args\":[{\"ParamRef\":{\"number\":1,\"location\":15}},{\"TypeCast\":{\"arg\":{\"ParamRef\":{\"number\":2,\"location\":33}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"timestamp\"}}],\"typemod\":-1,\"location\":23},\"location\":-1}}],\"funcformat\":\"COERCE_SQL_SYNTAX\",\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"extract\"}}],\"args\":[{\"ParamRef\":{\"number\":1,\"location\":15}},{\"TypeCast\":{\"arg\":{\"ParamRef\":{\"number\":2,\"location\":33}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"timestamp\"}}],\"typemod\":-1,\"location\":23},\"location\":-1}}],\"funcformat\":\"COERCE_SQL_SYNTAX\",\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT DATE $1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"TypeCast\":{\"arg\":{\"ParamRef\":{\"number\":1,\"location\":12}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"date\"}}],\"typemod\":-1,\"location\":7},\"location\":-1}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"TypeCast\":{\"arg\":{\"ParamRef\":{\"number\":1,\"location\":12}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"date\"}}],\"typemod\":-1,\"location\":7},\"location\":-1}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT INTERVAL $1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"TypeCast\":{\"arg\":{\"ParamRef\":{\"number\":1,\"location\":16}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"interval\"}}],\"typemod\":-1,\"location\":7},\"location\":-1}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"TypeCast\":{\"arg\":{\"ParamRef\":{\"number\":1,\"location\":16}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"interval\"}}],\"typemod\":-1,\"location\":7},\"location\":-1}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT INTERVAL $1 YEAR", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"TypeCast\":{\"arg\":{\"ParamRef\":{\"number\":1,\"location\":16}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"interval\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":4},\"location\":19}}],\"typemod\":-1,\"location\":7},\"location\":-1}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"TypeCast\":{\"arg\":{\"ParamRef\":{\"number\":1,\"location\":16}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"interval\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":4},\"location\":19}}],\"typemod\":-1,\"location\":7},\"location\":-1}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT INTERVAL (6) $1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"TypeCast\":{\"arg\":{\"ParamRef\":{\"number\":1,\"location\":20}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"interval\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":32767},\"location\":-1}},{\"A_Const\":{\"ival\":{\"ival\":6},\"location\":17}}],\"typemod\":-1,\"location\":7},\"location\":-1}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"TypeCast\":{\"arg\":{\"ParamRef\":{\"number\":1,\"location\":20}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"interval\"}}],\"typmods\":[{\"A_Const\":{\"ival\":{\"ival\":32767},\"location\":-1}},{\"A_Const\":{\"ival\":{\"ival\":6},\"location\":17}}],\"typemod\":-1,\"location\":7},\"location\":-1}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SET search_path = $1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"VariableSetStmt\":{\"kind\":\"VAR_SET_VALUE\",\"name\":\"search_path\",\"args\":[{\"ParamRef\":{\"number\":1,\"location\":18}}],\"location\":18}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"VariableSetStmt\":{\"kind\":\"VAR_SET_VALUE\",\"name\":\"search_path\",\"args\":[{\"ParamRef\":{\"number\":1,\"location\":18}}],\"location\":18}}}]}", "ALTER ROLE postgres LOGIN SUPERUSER PASSWORD $1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"AlterRoleStmt\":{\"role\":{\"roletype\":\"ROLESPEC_CSTRING\",\"rolename\":\"postgres\",\"location\":11},\"options\":[{\"DefElem\":{\"defname\":\"canlogin\",\"arg\":{\"Boolean\":{\"boolval\":true}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":20}},{\"DefElem\":{\"defname\":\"superuser\",\"arg\":{\"Boolean\":{\"boolval\":true}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":26}},{\"DefElem\":{\"defname\":\"password\",\"arg\":{\"ParamRef\":{\"number\":1,\"location\":45}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":36}}],\"action\":1}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"AlterRoleStmt\":{\"role\":{\"roletype\":\"ROLESPEC_CSTRING\",\"rolename\":\"postgres\",\"location\":11},\"options\":[{\"DefElem\":{\"defname\":\"canlogin\",\"arg\":{\"Boolean\":{\"boolval\":true}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":20,\"arg_location\":-1}},{\"DefElem\":{\"defname\":\"superuser\",\"arg\":{\"Boolean\":{\"boolval\":true}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":26,\"arg_location\":-1}},{\"DefElem\":{\"defname\":\"password\",\"arg\":{\"ParamRef\":{\"number\":1,\"location\":45}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":36,\"arg_location\":-1}}],\"action\":1}}}]}", "WITH a AS (SELECT * FROM x WHERE x.y = $1 AND x.z = 1) SELECT * FROM a WHERE b = 5", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":62}},\"location\":62}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"a\",\"inh\":true,\"relpersistence\":\"p\",\"location\":69}}],\"whereClause\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"b\"}}],\"location\":77}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":5},\"location\":81}},\"location\":79}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"withClause\":{\"ctes\":[{\"CommonTableExpr\":{\"ctename\":\"a\",\"ctematerialized\":\"CTEMaterializeDefault\",\"ctequery\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":18}},\"location\":18}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"x\",\"inh\":true,\"relpersistence\":\"p\",\"location\":25}}],\"whereClause\":{\"BoolExpr\":{\"boolop\":\"AND_EXPR\",\"args\":[{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"x\"}},{\"String\":{\"sval\":\"y\"}}],\"location\":33}},\"rexpr\":{\"ParamRef\":{\"number\":1,\"location\":39}},\"location\":37}},{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"x\"}},{\"String\":{\"sval\":\"z\"}}],\"location\":46}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":52}},\"location\":50}}],\"location\":42}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"location\":5}}]},\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":62}},\"location\":62}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"a\",\"inh\":true,\"relpersistence\":\"p\",\"location\":69}}],\"whereClause\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"b\"}}],\"location\":77}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":5},\"location\":81}},\"location\":79}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"withClause\":{\"ctes\":[{\"CommonTableExpr\":{\"ctename\":\"a\",\"ctematerialized\":\"CTEMaterializeDefault\",\"ctequery\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":18}},\"location\":18}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"x\",\"inh\":true,\"relpersistence\":\"p\",\"location\":25}}],\"whereClause\":{\"BoolExpr\":{\"boolop\":\"AND_EXPR\",\"args\":[{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"x\"}},{\"String\":{\"sval\":\"y\"}}],\"location\":33}},\"rexpr\":{\"ParamRef\":{\"number\":1,\"location\":39}},\"location\":37}},{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"x\"}},{\"String\":{\"sval\":\"z\"}}],\"location\":46}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":52}},\"location\":50}}],\"location\":42}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}},\"location\":5}}]},\"op\":\"SETOP_NONE\"}}}]}", "SELECT count(*) from testjsonb WHERE j->'array' ? 'bar'", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"count\"}}],\"agg_star\":true,\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":7}},\"location\":7}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"testjsonb\",\"inh\":true,\"relpersistence\":\"p\",\"location\":21}}],\"whereClause\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"?\"}}],\"lexpr\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"-\\u003e\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"j\"}}],\"location\":38}},\"rexpr\":{\"A_Const\":{\"sval\":{\"sval\":\"array\"},\"location\":41}},\"location\":39}},\"rexpr\":{\"A_Const\":{\"sval\":{\"sval\":\"bar\"},\"location\":51}},\"location\":49}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"count\"}}],\"agg_star\":true,\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":7}},\"location\":7}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"testjsonb\",\"inh\":true,\"relpersistence\":\"p\",\"location\":21}}],\"whereClause\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"?\"}}],\"lexpr\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"-\\u003e\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"j\"}}],\"location\":38}},\"rexpr\":{\"A_Const\":{\"sval\":{\"sval\":\"array\"},\"location\":41}},\"location\":39}},\"rexpr\":{\"A_Const\":{\"sval\":{\"sval\":\"bar\"},\"location\":51}},\"location\":49}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT DISTINCT a FROM b", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"distinctClause\":[{}],\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"a\"}}],\"location\":16}},\"location\":16}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"b\",\"inh\":true,\"relpersistence\":\"p\",\"location\":23}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"distinctClause\":[{}],\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"a\"}}],\"location\":16}},\"location\":16}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"b\",\"inh\":true,\"relpersistence\":\"p\",\"location\":23}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT * FROM generate_series(1, 2)", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":7}},\"location\":7}}],\"fromClause\":[{\"RangeFunction\":{\"functions\":[{\"List\":{\"items\":[{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"generate_series\"}}],\"args\":[{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":30}},{\"A_Const\":{\"ival\":{\"ival\":2},\"location\":33}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":14}},{}]}}]}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":7}},\"location\":7}}],\"fromClause\":[{\"RangeFunction\":{\"functions\":[{\"List\":{\"items\":[{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"generate_series\"}}],\"args\":[{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":30}},{\"A_Const\":{\"ival\":{\"ival\":2},\"location\":33}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":14}},{}]}}]}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "SELECT 1 + 1", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"+\"}}],\"lexpr\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":7}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":11}},\"location\":9}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"+\"}}],\"lexpr\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":7}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":11}},\"location\":9}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", "COPY vistest FROM stdin FREEZE CSV", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"CopyStmt\":{\"relation\":{\"relname\":\"vistest\",\"inh\":true,\"relpersistence\":\"p\",\"location\":5},\"is_from\":true,\"options\":[{\"DefElem\":{\"defname\":\"freeze\",\"arg\":{\"Boolean\":{\"boolval\":true}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":24}},{\"DefElem\":{\"defname\":\"format\",\"arg\":{\"String\":{\"sval\":\"csv\"}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":31}}]}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"CopyStmt\":{\"relation\":{\"relname\":\"vistest\",\"inh\":true,\"relpersistence\":\"p\",\"location\":5},\"is_from\":true,\"options\":[{\"DefElem\":{\"defname\":\"freeze\",\"arg\":{\"Boolean\":{\"boolval\":true}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":24,\"arg_location\":-1}},{\"DefElem\":{\"defname\":\"format\",\"arg\":{\"String\":{\"sval\":\"csv\"}},\"defaction\":\"DEFELEM_UNSPEC\",\"location\":31,\"arg_location\":-1}}]}}}]}", "MERGE into measurement m USING new_measurement nm ON (m.city_id = nm.city_id and m.logdate=nm.logdate) WHEN MATCHED AND nm.peaktemp IS NULL THEN DELETE WHEN MATCHED THEN UPDATE SET peaktemp = greatest(m.peaktemp, nm.peaktemp), unitsales = m.unitsales + coalesce(nm.unitsales, 0) WHEN NOT MATCHED THEN INSERT (city_id, logdate, peaktemp, unitsales) VALUES (city_id, logdate, peaktemp, unitsales)", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"MergeStmt\":{\"relation\":{\"relname\":\"measurement\",\"inh\":true,\"relpersistence\":\"p\",\"alias\":{\"aliasname\":\"m\"},\"location\":11},\"sourceRelation\":{\"RangeVar\":{\"relname\":\"new_measurement\",\"inh\":true,\"relpersistence\":\"p\",\"alias\":{\"aliasname\":\"nm\"},\"location\":31}},\"joinCondition\":{\"BoolExpr\":{\"boolop\":\"AND_EXPR\",\"args\":[{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"m\"}},{\"String\":{\"sval\":\"city_id\"}}],\"location\":54}},\"rexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"nm\"}},{\"String\":{\"sval\":\"city_id\"}}],\"location\":66}},\"location\":64}},{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"m\"}},{\"String\":{\"sval\":\"logdate\"}}],\"location\":81}},\"rexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"nm\"}},{\"String\":{\"sval\":\"logdate\"}}],\"location\":91}},\"location\":90}}],\"location\":77}},\"mergeWhenClauses\":[{\"MergeWhenClause\":{\"matchKind\":\"MERGE_WHEN_MATCHED\",\"commandType\":\"CMD_DELETE\",\"override\":\"OVERRIDING_NOT_SET\",\"condition\":{\"NullTest\":{\"arg\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"nm\"}},{\"String\":{\"sval\":\"peaktemp\"}}],\"location\":120}},\"nulltesttype\":\"IS_NULL\",\"location\":132}}}},{\"MergeWhenClause\":{\"matchKind\":\"MERGE_WHEN_MATCHED\",\"commandType\":\"CMD_UPDATE\",\"override\":\"OVERRIDING_NOT_SET\",\"targetList\":[{\"ResTarget\":{\"name\":\"peaktemp\",\"val\":{\"MinMaxExpr\":{\"op\":\"IS_GREATEST\",\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"m\"}},{\"String\":{\"sval\":\"peaktemp\"}}],\"location\":201}},{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"nm\"}},{\"String\":{\"sval\":\"peaktemp\"}}],\"location\":213}}],\"location\":192}},\"location\":181}},{\"ResTarget\":{\"name\":\"unitsales\",\"val\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"+\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"m\"}},{\"String\":{\"sval\":\"unitsales\"}}],\"location\":239}},\"rexpr\":{\"CoalesceExpr\":{\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"nm\"}},{\"String\":{\"sval\":\"unitsales\"}}],\"location\":262}},{\"A_Const\":{\"ival\":{},\"location\":276}}],\"location\":253}},\"location\":251}},\"location\":227}}]}},{\"MergeWhenClause\":{\"matchKind\":\"MERGE_WHEN_NOT_MATCHED_BY_TARGET\",\"commandType\":\"CMD_INSERT\",\"override\":\"OVERRIDING_NOT_SET\",\"targetList\":[{\"ResTarget\":{\"name\":\"city_id\",\"location\":309}},{\"ResTarget\":{\"name\":\"logdate\",\"location\":318}},{\"ResTarget\":{\"name\":\"peaktemp\",\"location\":327}},{\"ResTarget\":{\"name\":\"unitsales\",\"location\":337}}],\"values\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"city_id\"}}],\"location\":356}},{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"logdate\"}}],\"location\":365}},{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"peaktemp\"}}],\"location\":374}},{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unitsales\"}}],\"location\":384}}]}}]}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"MergeStmt\":{\"relation\":{\"relname\":\"measurement\",\"inh\":true,\"relpersistence\":\"p\",\"alias\":{\"aliasname\":\"m\"},\"location\":11},\"sourceRelation\":{\"RangeVar\":{\"relname\":\"new_measurement\",\"inh\":true,\"relpersistence\":\"p\",\"alias\":{\"aliasname\":\"nm\"},\"location\":31}},\"joinCondition\":{\"BoolExpr\":{\"boolop\":\"AND_EXPR\",\"args\":[{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"m\"}},{\"String\":{\"sval\":\"city_id\"}}],\"location\":54}},\"rexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"nm\"}},{\"String\":{\"sval\":\"city_id\"}}],\"location\":66}},\"location\":64}},{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"m\"}},{\"String\":{\"sval\":\"logdate\"}}],\"location\":81}},\"rexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"nm\"}},{\"String\":{\"sval\":\"logdate\"}}],\"location\":91}},\"location\":90}}],\"location\":77}},\"mergeWhenClauses\":[{\"MergeWhenClause\":{\"matchKind\":\"MERGE_WHEN_MATCHED\",\"commandType\":\"CMD_DELETE\",\"override\":\"OVERRIDING_NOT_SET\",\"condition\":{\"NullTest\":{\"arg\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"nm\"}},{\"String\":{\"sval\":\"peaktemp\"}}],\"location\":120}},\"nulltesttype\":\"IS_NULL\",\"location\":132}}}},{\"MergeWhenClause\":{\"matchKind\":\"MERGE_WHEN_MATCHED\",\"commandType\":\"CMD_UPDATE\",\"override\":\"OVERRIDING_NOT_SET\",\"targetList\":[{\"ResTarget\":{\"name\":\"peaktemp\",\"val\":{\"MinMaxExpr\":{\"op\":\"IS_GREATEST\",\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"m\"}},{\"String\":{\"sval\":\"peaktemp\"}}],\"location\":201}},{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"nm\"}},{\"String\":{\"sval\":\"peaktemp\"}}],\"location\":213}}],\"location\":192}},\"location\":181}},{\"ResTarget\":{\"name\":\"unitsales\",\"val\":{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"+\"}}],\"lexpr\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"m\"}},{\"String\":{\"sval\":\"unitsales\"}}],\"location\":239}},\"rexpr\":{\"CoalesceExpr\":{\"args\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"nm\"}},{\"String\":{\"sval\":\"unitsales\"}}],\"location\":262}},{\"A_Const\":{\"ival\":{},\"location\":276}}],\"location\":253}},\"location\":251}},\"location\":227}}]}},{\"MergeWhenClause\":{\"matchKind\":\"MERGE_WHEN_NOT_MATCHED_BY_TARGET\",\"commandType\":\"CMD_INSERT\",\"override\":\"OVERRIDING_NOT_SET\",\"targetList\":[{\"ResTarget\":{\"name\":\"city_id\",\"location\":309}},{\"ResTarget\":{\"name\":\"logdate\",\"location\":318}},{\"ResTarget\":{\"name\":\"peaktemp\",\"location\":327}},{\"ResTarget\":{\"name\":\"unitsales\",\"location\":337}}],\"values\":[{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"city_id\"}}],\"location\":356}},{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"logdate\"}}],\"location\":365}},{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"peaktemp\"}}],\"location\":374}},{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"unitsales\"}}],\"location\":384}}]}}]}}}]}", "ALTER TABLE ALL IN TABLESPACE foo OWNED BY bar, quux SET TABLESPACE fred NOWAIT", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"AlterTableMoveAllStmt\":{\"orig_tablespacename\":\"foo\",\"objtype\":\"OBJECT_TABLE\",\"roles\":[{\"RoleSpec\":{\"roletype\":\"ROLESPEC_CSTRING\",\"rolename\":\"bar\",\"location\":43}},{\"RoleSpec\":{\"roletype\":\"ROLESPEC_CSTRING\",\"rolename\":\"quux\",\"location\":48}}],\"new_tablespacename\":\"fred\",\"nowait\":true}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"AlterTableMoveAllStmt\":{\"orig_tablespacename\":\"foo\",\"objtype\":\"OBJECT_TABLE\",\"roles\":[{\"RoleSpec\":{\"roletype\":\"ROLESPEC_CSTRING\",\"rolename\":\"bar\",\"location\":43}},{\"RoleSpec\":{\"roletype\":\"ROLESPEC_CSTRING\",\"rolename\":\"quux\",\"location\":48}}],\"new_tablespacename\":\"fred\",\"nowait\":true}}}]}", "CREATE PUBLICATION foo FOR TABLES IN SCHEMA bar", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"CreatePublicationStmt\":{\"pubname\":\"foo\",\"pubobjects\":[{\"PublicationObjSpec\":{\"pubobjtype\":\"PUBLICATIONOBJ_TABLES_IN_SCHEMA\",\"name\":\"bar\",\"location\":44}}]}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"CreatePublicationStmt\":{\"pubname\":\"foo\",\"pubobjects\":[{\"PublicationObjSpec\":{\"pubobjtype\":\"PUBLICATIONOBJ_TABLES_IN_SCHEMA\",\"name\":\"bar\",\"location\":44}}]}}}]}", "SELECT 123 AS abc where 456=$1OR 10=11", - "{\"version\":180004,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"name\":\"abc\",\"val\":{\"A_Const\":{\"ival\":{\"ival\":123},\"location\":7}},\"location\":7}}],\"whereClause\":{\"BoolExpr\":{\"boolop\":\"OR_EXPR\",\"args\":[{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"A_Const\":{\"ival\":{\"ival\":456},\"location\":24}},\"rexpr\":{\"ParamRef\":{\"number\":1,\"location\":28}},\"location\":27}},{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"A_Const\":{\"ival\":{\"ival\":10},\"location\":33}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":11},\"location\":36}},\"location\":35}}],\"location\":30}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"name\":\"abc\",\"val\":{\"A_Const\":{\"ival\":{\"ival\":123},\"location\":7}},\"location\":7}}],\"whereClause\":{\"BoolExpr\":{\"boolop\":\"OR_EXPR\",\"args\":[{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"A_Const\":{\"ival\":{\"ival\":456},\"location\":24}},\"rexpr\":{\"ParamRef\":{\"number\":1,\"location\":28}},\"location\":27}},{\"A_Expr\":{\"kind\":\"AEXPR_OP\",\"name\":[{\"String\":{\"sval\":\"=\"}}],\"lexpr\":{\"A_Const\":{\"ival\":{\"ival\":10},\"location\":33}},\"rexpr\":{\"A_Const\":{\"ival\":{\"ival\":11},\"location\":36}},\"location\":35}}],\"location\":30}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "SELECT 1 WHERE 1 NOT /* c */ IN (2)", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":7}},\"location\":7}}],\"whereClause\":{\"A_Expr\":{\"kind\":\"AEXPR_IN\",\"name\":[{\"String\":{\"sval\":\"\\u003c\\u003e\"}}],\"lexpr\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":15}},\"rexpr\":{\"List\":{\"items\":[{\"A_Const\":{\"ival\":{\"ival\":2},\"location\":33}}]}},\"rexpr_list_start\":32,\"rexpr_list_end\":34,\"location\":17}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "SELECT 1 WHERE 'a' NOT -- c\nLIKE 'b'", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":7}},\"location\":7}}],\"whereClause\":{\"A_Expr\":{\"kind\":\"AEXPR_LIKE\",\"name\":[{\"String\":{\"sval\":\"!~~\"}}],\"lexpr\":{\"A_Const\":{\"sval\":{\"sval\":\"a\"},\"location\":15}},\"rexpr\":{\"A_Const\":{\"sval\":{\"sval\":\"b\"},\"location\":33}},\"location\":19}},\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "SELECT x FROM t ORDER BY x NULLS /* c */ FIRST", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"x\"}}],\"location\":7}},\"location\":7}}],\"fromClause\":[{\"RangeVar\":{\"relname\":\"t\",\"inh\":true,\"relpersistence\":\"p\",\"location\":14}}],\"sortClause\":[{\"SortBy\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"String\":{\"sval\":\"x\"}}],\"location\":25}},\"sortby_dir\":\"SORTBY_DEFAULT\",\"sortby_nulls\":\"SORTBY_NULLS_FIRST\",\"location\":-1}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "SELECT * FROM generate_series(1, 2) WITH /* c */ ORDINALITY", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"ColumnRef\":{\"fields\":[{\"A_Star\":{}}],\"location\":7}},\"location\":7}}],\"fromClause\":[{\"RangeFunction\":{\"ordinality\":true,\"functions\":[{\"List\":{\"items\":[{\"FuncCall\":{\"funcname\":[{\"String\":{\"sval\":\"generate_series\"}}],\"args\":[{\"A_Const\":{\"ival\":{\"ival\":1},\"location\":30}},{\"A_Const\":{\"ival\":{\"ival\":2},\"location\":33}}],\"funcformat\":\"COERCE_EXPLICIT_CALL\",\"location\":14}},{}]}}]}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "SELECT '2020-01-01'::timestamp WITH /* c */ TIME ZONE", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"TypeCast\":{\"arg\":{\"A_Const\":{\"sval\":{\"sval\":\"2020-01-01\"},\"location\":7}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"timestamptz\"}}],\"typemod\":-1,\"location\":21},\"location\":19}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "SELECT '2020-01-01'::timestamp WITHOUT -- c\nTIME ZONE", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"TypeCast\":{\"arg\":{\"A_Const\":{\"sval\":{\"sval\":\"2020-01-01\"},\"location\":7}},\"typeName\":{\"names\":[{\"String\":{\"sval\":\"pg_catalog\"}},{\"String\":{\"sval\":\"timestamp\"}}],\"typemod\":-1,\"location\":21},\"location\":19}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "SELECT JSON_OBJECT('a': '1' FORMAT /* c */ JSON)", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"JsonObjectConstructor\":{\"exprs\":[{\"JsonKeyValue\":{\"key\":{\"A_Const\":{\"sval\":{\"sval\":\"a\"},\"location\":19}},\"value\":{\"raw_expr\":{\"A_Const\":{\"sval\":{\"sval\":\"1\"},\"location\":24}},\"format\":{\"format_type\":\"JS_FORMAT_JSON\",\"encoding\":\"JS_ENC_DEFAULT\",\"location\":28}}}}],\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "SELECT U&'!0041' /* c */ UESCAPE /* c */ '!'", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"sval\":{\"sval\":\"A\"},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "SELECT 'a' -- c\n'b'", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"sval\":{\"sval\":\"ab\"},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + "SELECT 'a'\n-- c\n'b'", + "{\"version\":180006,\"stmts\":[{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"sval\":{\"sval\":\"ab\"},\"location\":7}},\"location\":7}}],\"limitOption\":\"LIMIT_OPTION_DEFAULT\",\"op\":\"SETOP_NONE\"}}}]}", + NULL // Trailing NULL to tell the test runner we're done. +}; + +// Pairs of query and expected error message +const char* error_tests[] = { + "SELECT format /* c */ json", + "syntax error at or near \"format\"", + "SELECT U&'d\\0061t\\+000061' /* c */ UESCAPE", + "UESCAPE must be followed by a simple string literal at end of input", + "SELECT 'a' /* c */\n'b'", + "syntax error at or near \"'b'\"", NULL // Trailing NULL to tell the test runner we're done. }; diff --git a/test/plpgsql_samples.expected.json b/test/plpgsql_samples.expected.json index 7d6de2129..f84e9a13b 100644 --- a/test/plpgsql_samples.expected.json +++ b/test/plpgsql_samples.expected.json @@ -13,8 +13,8 @@ {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"uidmember","datatype":{"PLpgSQL_type":{"typname":"character varying"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"memberid","lineno":2,"datatype":{"PLpgSQL_type":{"typname":"int4"}}}},{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":5,"fields":[{"name":"memberid","varno":2}]}}],"action":{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_execsql":{"lineno":5,"sqlstmt":{"PLpgSQL_expr":{"query":"SELECT key FROM\n\t\tmember\n\tWHERE\n\t\tuidmember = uid","parseMode":0}},"into":true,"target":{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":5,"fields":[{"name":"memberid","varno":2}]}}}},{"PLpgSQL_stmt_return":{"lineno":11,"retvarno":2}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"memberid","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"jobid","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"jobend","datatype":{"PLpgSQL_type":{"typname":"date"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_rec":{"refname":"lastjob","dno":4,"lineno":2,"datatype":{"PLpgSQL_type":{"typname":"RECORD"}}}},{"PLpgSQL_rec":{"refname":"lastemployer","dno":5,"lineno":3,"datatype":{"PLpgSQL_type":{"typname":"record"}}}},{"PLpgSQL_var":{"refname":"updatejob","lineno":4,"datatype":{"PLpgSQL_type":{"typname":"BOOL"}}}},{"PLpgSQL_recfield":{"fieldname":"jobid","recparentno":4}},{"PLpgSQL_recfield":{"fieldname":"positionheld","recparentno":5}}],"action":{"PLpgSQL_stmt_block":{"lineno":5,"body":[{"PLpgSQL_stmt_assign":{"lineno":6,"varno":6,"expr":{"PLpgSQL_expr":{"query":"updateJob := false","parseMode":3}}}},{"PLpgSQL_stmt_execsql":{"lineno":8,"sqlstmt":{"PLpgSQL_expr":{"query":"SELECT * FROM lire_lastJob(memberID) AS (jobID INT,startsupport DATE,jobEnd DATE)","parseMode":0}},"into":true,"target":{"PLpgSQL_rec":{"refname":"lastjob","dno":4,"lineno":2,"datatype":{"PLpgSQL_type":{"typname":"RECORD"}}}}}},{"PLpgSQL_stmt_if":{"lineno":9,"cond":{"PLpgSQL_expr":{"query":"lastJob.jobID = jobID","parseMode":2}},"then_body":[{"PLpgSQL_stmt_execsql":{"lineno":10,"sqlstmt":{"PLpgSQL_expr":{"query":"SELECT\n\t\t\tr_perlab.key AS positionHeld,\n\t\t\tr_perlab.endDate AS positionEnd\n\t\t FROM\n\t\t\tr_perlab,\n\t\t\t(SELECT\n\t\t\t\tr_perlab.key_member AS col_memberID,\n\t\t\t\tmax(r_perlab.start) AS startrattachement\n\t\t\tFROM r_perlab\n\t\t\tGROUP BY col_memberID) positions\n\t\tWHERE ((positions.col_memberID = memberID) AND (r_perlab.key_member = positions.col_memberID) AND (r_perlab.start = startrattachement))","parseMode":0}},"into":true,"target":{"PLpgSQL_rec":{"refname":"lastemployer","dno":5,"lineno":3,"datatype":{"PLpgSQL_type":{"typname":"record"}}}}}},{"PLpgSQL_stmt_if":{"lineno":23,"cond":{"PLpgSQL_expr":{"query":"lastEmployer.positionHeld IS NOT NULL","parseMode":2}},"then_body":[{"PLpgSQL_stmt_assign":{"lineno":24,"varno":6,"expr":{"PLpgSQL_expr":{"query":"updateJob := true","parseMode":3}}}},{"PLpgSQL_stmt_execsql":{"lineno":25,"sqlstmt":{"PLpgSQL_expr":{"query":"UPDATE r_perlab SET endDate = jobEnd WHERE key = lastEmployer.positionHeld","parseMode":0}}}}]}}]}},{"PLpgSQL_stmt_return":{"lineno":29,"retvarno":6}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"str","datatype":{"PLpgSQL_type":{"typname":"character varying"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"spechar","lineno":4,"datatype":{"PLpgSQL_type":{"typname":"VARCHAR[ ]"}},"default_val":{"PLpgSQL_expr":{"query":"ARRAY['à','â','é','è','ê','ë','ï','î','ô','û','ù','À','Â','É','È','Ê','Ë','Ï','Î','ô','û','ù','ç' ]","parseMode":2}}}},{"PLpgSQL_var":{"refname":"lettres","lineno":5,"datatype":{"PLpgSQL_type":{"typname":"VARCHAR[ ]"}},"default_val":{"PLpgSQL_expr":{"query":"ARRAY['a','a','e','e','e','e','i','i','o','u','u','a','a','e','e','e','e','i','i','o','u','u','c' ]","parseMode":2}}}},{"PLpgSQL_var":{"refname":"resultat","lineno":6,"datatype":{"PLpgSQL_type":{"typname":"VARCHAR"}}}},{"PLpgSQL_var":{"refname":"nbrspechar","lineno":7,"datatype":{"PLpgSQL_type":{"typname":"INTEGER"}},"default_val":{"PLpgSQL_expr":{"query":"23","parseMode":2}}}},{"PLpgSQL_var":{"refname":"i","lineno":12,"datatype":{"PLpgSQL_type":{"typname":"integer"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":9,"body":[{"PLpgSQL_stmt_if":{"lineno":10,"cond":{"PLpgSQL_expr":{"query":"(str IS NOT NULL)","parseMode":2}},"then_body":[{"PLpgSQL_stmt_assign":{"lineno":11,"varno":4,"expr":{"PLpgSQL_expr":{"query":"resultat := str","parseMode":3}}}},{"PLpgSQL_stmt_fori":{"lineno":12,"var":{"PLpgSQL_var":{"refname":"i","lineno":12,"datatype":{"PLpgSQL_type":{"typname":"integer"}}}},"lower":{"PLpgSQL_expr":{"query":"1","parseMode":2}},"upper":{"PLpgSQL_expr":{"query":"nbrspechar","parseMode":2}},"body":[{"PLpgSQL_stmt_assign":{"lineno":13,"varno":4,"expr":{"PLpgSQL_expr":{"query":"resultat := regexp_replace(resultat,spechar[i],lettres[i],'g')","parseMode":3}}}}]}}]}},{"PLpgSQL_stmt_return":{"lineno":16,"retvarno":4}}]}}}}, -{"PLpgSQL_function":{"old_varno":1,"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}}}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_recfield":{"fieldname":"name"}}],"action":{"PLpgSQL_stmt_block":{"lineno":3,"body":[{"PLpgSQL_stmt_assign":{"lineno":4,"varno":13,"expr":{"PLpgSQL_expr":{"query":"NEW.name = upper(cleanString(NEW.name))","parseMode":4}}}},{"PLpgSQL_stmt_return":{"lineno":5,"retvarno":0}}]}}}}, -{"PLpgSQL_function":{"old_varno":1,"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}}}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_recfield":{"fieldname":"key"}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_execsql":{"lineno":3,"sqlstmt":{"PLpgSQL_expr":{"query":"INSERT INTO list(key,date) VALUES(NEW.key,NEW.end)","parseMode":0}}}},{"PLpgSQL_stmt_return":{"lineno":4,"retvarno":0}}]}}}}, +{"PLpgSQL_function":{"old_varno":1,"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":1}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":2}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":3}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":4}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}},"promise":5}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":7}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}},"promise":8}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}},"promise":9}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_recfield":{"fieldname":"name"}}],"action":{"PLpgSQL_stmt_block":{"lineno":3,"body":[{"PLpgSQL_stmt_assign":{"lineno":4,"varno":13,"expr":{"PLpgSQL_expr":{"query":"NEW.name = upper(cleanString(NEW.name))","parseMode":4}}}},{"PLpgSQL_stmt_return":{"lineno":5,"retvarno":0}}]}}}}, +{"PLpgSQL_function":{"old_varno":1,"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":1}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":2}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":3}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":4}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}},"promise":5}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":7}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}},"promise":8}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}},"promise":9}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_recfield":{"fieldname":"key"}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_execsql":{"lineno":3,"sqlstmt":{"PLpgSQL_expr":{"query":"INSERT INTO list(key,date) VALUES(NEW.key,NEW.end)","parseMode":0}}}},{"PLpgSQL_stmt_return":{"lineno":4,"retvarno":0}}]}}}}, {"PLpgSQL_function":{"out_param_varno":5,"datums":[{"PLpgSQL_var":{"refname":"p_time_start","datatype":{"PLpgSQL_type":{"typname":"timestamp with time zone"}}}},{"PLpgSQL_var":{"refname":"p_time_end","datatype":{"PLpgSQL_type":{"typname":"timestamp with time zone"}}}},{"PLpgSQL_var":{"refname":"p_time_interval","datatype":{"PLpgSQL_type":{"typname":"interval"}}}},{"PLpgSQL_var":{"refname":"ts","datatype":{"PLpgSQL_type":{"typname":"timestamp with time zone"}}}},{"PLpgSQL_var":{"refname":"arbitrary_return","datatype":{"PLpgSQL_type":{"typname":"bigint"}}}},{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":-1,"fields":[{"name":"ts","varno":3},{"name":"arbitrary_return","varno":4}]}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_if":{"lineno":6,"cond":{"PLpgSQL_expr":{"query":"p_time_interval IS NULL","parseMode":2}},"then_body":[{"PLpgSQL_stmt_assign":{"lineno":7,"varno":2,"expr":{"PLpgSQL_expr":{"query":"p_time_interval := interval_from_start_end(p_time_start, p_time_end)","parseMode":3}}}}]}},{"PLpgSQL_stmt_return_query":{"lineno":9,"query":{"PLpgSQL_expr":{"query":"SELECT\n bucket_function(p_time_interval, timestamp) AS ts,\n arbitrary_return\n FROM test.some_table\n WHERE\n start \u003e= p_time_start\n AND \"end\" \u003c p_time_end\n GROUP BY 1","parseMode":0}}}},{"PLpgSQL_stmt_return":{"retvarno":5}}]}}}}, {"PLpgSQL_function":{"out_param_varno":0,"datums":[{"PLpgSQL_var":{"refname":"_result","datatype":{"PLpgSQL_type":{"typname":"uuid[]"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"active_on_to_date","lineno":3,"datatype":{"PLpgSQL_type":{"typname":"uuid[]"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_assign":{"lineno":5,"expr":{"PLpgSQL_expr":{"query":"_result := ARRAY( SELECT some_id FROM some_table)","parseMode":3}}}},{"PLpgSQL_stmt_return":{"retvarno":0}}]}}}}, {"PLpgSQL_function":{"aliases":[{"PLpgSQL_alias":{"name":"_v_name_alias","varno":0,"lineno":4}}],"datums":[{"PLpgSQL_var":{"refname":"v_name","datatype":{"PLpgSQL_type":{"typname":"character varying"}}}},{"PLpgSQL_var":{"refname":"v_version","datatype":{"PLpgSQL_type":{"typname":"character varying"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"_a","lineno":3,"datatype":{"PLpgSQL_type":{"typname":"int"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":5,"body":[{"PLpgSQL_stmt_if":{"lineno":6,"cond":{"PLpgSQL_expr":{"query":"v_version IS NULL","parseMode":2}},"then_body":[{"PLpgSQL_stmt_return":{"lineno":7,"retvarno":0}}]}},{"PLpgSQL_stmt_return":{"lineno":10,"expr":{"PLpgSQL_expr":{"query":"v_name || '/' || v_version","parseMode":2}}}}]}}}}, @@ -25,17 +25,29 @@ {"PLpgSQL_function":{"out_param_varno":1,"datums":[{"PLpgSQL_var":{"refname":"p_in","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_rec":{"refname":"p_out","dno":1,"datatype":{"PLpgSQL_type":{"typname":"record"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_recfield":{"fieldname":"sumattribute","recparentno":1}}],"action":{"PLpgSQL_stmt_block":{"lineno":3,"body":[{"PLpgSQL_stmt_assign":{"lineno":4,"varno":3,"expr":{"PLpgSQL_expr":{"query":"p_out.sumattribute := p_in","parseMode":4}}}},{"PLpgSQL_stmt_return":{"retvarno":1}}]}}}}, {"PLpgSQL_function":{"aliases":[{"PLpgSQL_alias":{"name":"subtotal","varno":0,"lineno":3}}],"datums":[{"PLpgSQL_var":{"refname":"$1","datatype":{"PLpgSQL_type":{"typname":"real"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_return":{"lineno":5,"expr":{"PLpgSQL_expr":{"query":"subtotal * 0.06","parseMode":2}}}}]}}}}, {"PLpgSQL_function":{"out_param_varno":2,"datums":[{"PLpgSQL_var":{"refname":"s","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"e","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"id","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_assign":{"lineno":3,"varno":2,"expr":{"PLpgSQL_expr":{"query":"id := s","parseMode":3}}}},{"PLpgSQL_stmt_loop":{"lineno":4,"body":[{"PLpgSQL_stmt_exit":{"lineno":5,"is_exit":true,"cond":{"PLpgSQL_expr":{"query":"id\u003ee","parseMode":2}}}},{"PLpgSQL_stmt_return_next":{"lineno":6,"retvarno":2}},{"PLpgSQL_stmt_assign":{"lineno":7,"varno":2,"expr":{"PLpgSQL_expr":{"query":"id := id + 1","parseMode":3}}}}]}},{"PLpgSQL_stmt_return":{"retvarno":2}}]}}}}, -{"PLpgSQL_function":{"old_varno":1,"aliases":[{"PLpgSQL_alias":{"name":"prior","varno":1,"lineno":3}},{"PLpgSQL_alias":{"name":"updated","varno":0,"lineno":4}}],"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}}}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":5,"body":[{"PLpgSQL_stmt_return":{"lineno":6,"retvarno":1}}]}}}}, +{"PLpgSQL_function":{"old_varno":1,"aliases":[{"PLpgSQL_alias":{"name":"prior","varno":1,"lineno":3}},{"PLpgSQL_alias":{"name":"updated","varno":0,"lineno":4}}],"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":1}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":2}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":3}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":4}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}},"promise":5}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":7}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}},"promise":8}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}},"promise":9}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":5,"body":[{"PLpgSQL_stmt_return":{"lineno":6,"retvarno":1}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"ref","lineno":3,"datatype":{"PLpgSQL_type":{"typname":"refcursor"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_open":{"lineno":5,"curvar":1,"cursor_options":256,"query":{"PLpgSQL_expr":{"query":"SELECT col FROM test","parseMode":0}}}},{"PLpgSQL_stmt_return":{"lineno":6,"retvarno":1}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"a","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"b","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"local_a","lineno":3,"datatype":{"PLpgSQL_type":{"typname":"text"}},"default_val":{"PLpgSQL_expr":{"query":"a","parseMode":2}}}},{"PLpgSQL_var":{"refname":"local_b","lineno":4,"datatype":{"PLpgSQL_type":{"typname":"text"}},"default_val":{"PLpgSQL_expr":{"query":"b","parseMode":2}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":5,"body":[{"PLpgSQL_stmt_return":{"lineno":6,"expr":{"PLpgSQL_expr":{"query":"local_a \u003c local_b","parseMode":2}}}}]}}}}, -{"PLpgSQL_function":{"old_varno":1,"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}}}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_recfield":{"fieldname":"updated_at"}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_assign":{"lineno":3,"varno":13,"expr":{"PLpgSQL_expr":{"query":"NEW.updated_at := now()","parseMode":4}}}},{"PLpgSQL_stmt_return":{"lineno":4,"retvarno":0}}]}}}}, +{"PLpgSQL_function":{"old_varno":1,"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":1}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":2}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":3}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":4}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}},"promise":5}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":7}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}},"promise":8}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}},"promise":9}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_recfield":{"fieldname":"updated_at"}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_assign":{"lineno":3,"varno":13,"expr":{"PLpgSQL_expr":{"query":"NEW.updated_at := now()","parseMode":4}}}},{"PLpgSQL_stmt_return":{"lineno":4,"retvarno":0}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_rec":{"refname":"v_user","dno":1,"lineno":3,"datatype":{"PLpgSQL_type":{"typname":"\"my_schema\".users"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_return":{"lineno":5}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"v","lineno":2,"datatype":{"PLpgSQL_type":{"typname":"int"}},"default_val":{"PLpgSQL_expr":{"query":"1","parseMode":2}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":3,"body":[{"PLpgSQL_stmt_return":{"lineno":4,"retvarno":1}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_rec":{"refname":"v","dno":1,"lineno":3,"datatype":{"PLpgSQL_type":{"typname":"mytype[]"}}}},{"PLpgSQL_rec":{"refname":"w","dno":2,"lineno":4,"datatype":{"PLpgSQL_type":{"typname":"myschema.mytype[]"}}}},{"PLpgSQL_rec":{"refname":"x","dno":3,"lineno":5,"datatype":{"PLpgSQL_type":{"typname":"\"myType\"[]"}}}},{"PLpgSQL_var":{"refname":"ok1","lineno":6,"datatype":{"PLpgSQL_type":{"typname":"int[]"}}}},{"PLpgSQL_var":{"refname":"ok2","lineno":7,"datatype":{"PLpgSQL_type":{"typname":"text[]"}}}},{"PLpgSQL_rec":{"refname":"ok3","dno":6,"lineno":8,"datatype":{"PLpgSQL_type":{"typname":"mytype"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":9,"body":[{"PLpgSQL_stmt_return":{}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_return":{"lineno":3}}]}}}}, -{"PLpgSQL_function":{"old_varno":1,"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}}}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}}}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_return":{"lineno":3}}]}}}}, +{"PLpgSQL_function":{"old_varno":1,"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":1}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":2}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":3}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":4}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}},"promise":5}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":7}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}},"promise":8}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}},"promise":9}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_return":{"lineno":3}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"v_id","lineno":3,"datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"v_name","lineno":4,"datatype":{"PLpgSQL_type":{"typname":"varchar(10)"}}}},{"PLpgSQL_var":{"refname":"v_num","lineno":5,"datatype":{"PLpgSQL_type":{"typname":"numeric(10,2)"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":6,"body":[{"PLpgSQL_stmt_return":{}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"strs","datatype":{"PLpgSQL_type":{"typname":"text[]"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_return":{"lineno":3,"expr":{"PLpgSQL_expr":{"query":"to_jsonb(strs)","parseMode":2}}}}]}}}}, {"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"nodes","datatype":{"PLpgSQL_type":{"typname":"jsonb[]"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_return":{"lineno":3,"expr":{"PLpgSQL_expr":{"query":"to_jsonb(nodes)","parseMode":2}}}}]}}}}, -{"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"password","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":3,"fields":[{"name":"check_password.password"}]}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_execsql":{"lineno":3,"sqlstmt":{"PLpgSQL_expr":{"query":"SELECT trim(check_password.password)","parseMode":0}},"into":true,"target":{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":3,"fields":[{"name":"check_password.password"}]}}}},{"PLpgSQL_stmt_return":{}}]}}}} +{"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"password","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":3,"fields":[{"name":"check_password.password"}]}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_execsql":{"lineno":3,"sqlstmt":{"PLpgSQL_expr":{"query":"SELECT trim(check_password.password)","parseMode":0}},"into":true,"target":{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":3,"fields":[{"name":"check_password.password"}]}}}},{"PLpgSQL_stmt_return":{}}]}}}}, +{"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"x","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"y","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_return":{"lineno":3,"retvarno":0}}]}}}}, +{"PLpgSQL_function":{"out_param_varno":0,"datums":[{"PLpgSQL_var":{"refname":"total","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_assign":{"lineno":3,"expr":{"PLpgSQL_expr":{"query":"total := 1","parseMode":3}}}},{"PLpgSQL_stmt_return":{"retvarno":0}}]}}}}, +{"PLpgSQL_function":{"out_param_varno":3,"datums":[{"PLpgSQL_var":{"refname":"a","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"b","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"c","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":-1,"fields":[{"name":"b","varno":1},{"name":"c","varno":2}]}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_assign":{"lineno":3,"varno":1,"expr":{"PLpgSQL_expr":{"query":"b := a * 2","parseMode":3}}}},{"PLpgSQL_stmt_assign":{"lineno":4,"varno":2,"expr":{"PLpgSQL_expr":{"query":"c := a::text","parseMode":3}}}},{"PLpgSQL_stmt_return":{"lineno":5,"retvarno":3}}]}}}}, +{"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"seed","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"v","lineno":3,"datatype":{"PLpgSQL_type":{"typname":"int"}},"default_val":{"PLpgSQL_expr":{"query":"seed + 1","parseMode":2}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_return_next":{"lineno":5,"retvarno":0}},{"PLpgSQL_stmt_return_next":{"lineno":6,"retvarno":2}},{"PLpgSQL_stmt_return_next":{"lineno":7,"expr":{"PLpgSQL_expr":{"query":"v * 2","parseMode":2}}}},{"PLpgSQL_stmt_return":{"lineno":8}}]}}}}, +{"PLpgSQL_function":{"out_param_varno":3,"datums":[{"PLpgSQL_var":{"refname":"p_limit","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"id","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"name","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":-1,"fields":[{"name":"id","varno":1},{"name":"name","varno":2}]}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_return_query":{"lineno":3,"query":{"PLpgSQL_expr":{"query":"SELECT t.id, t.name FROM things t LIMIT p_limit","parseMode":0}}}},{"PLpgSQL_stmt_return_query":{"lineno":4,"dynquery":{"PLpgSQL_expr":{"query":"'SELECT 1, $1'","parseMode":2}},"params":[{"PLpgSQL_expr":{"query":"'x'","parseMode":2}}]}},{"PLpgSQL_stmt_return":{"retvarno":3}}]}}}}, +{"PLpgSQL_function":{"aliases":[{"PLpgSQL_alias":{"name":"a","varno":0,"lineno":3}},{"PLpgSQL_alias":{"name":"b","varno":1,"lineno":4}},{"PLpgSQL_alias":{"name":"f","varno":2,"lineno":5}}],"datums":[{"PLpgSQL_var":{"refname":"$1","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"$2","datatype":{"PLpgSQL_type":{"typname":"text"}}}},{"PLpgSQL_var":{"refname":"flag","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":6,"body":[{"PLpgSQL_stmt_if":{"lineno":7,"cond":{"PLpgSQL_expr":{"query":"f","parseMode":2}},"then_body":[{"PLpgSQL_stmt_return":{"lineno":8,"expr":{"PLpgSQL_expr":{"query":"b || a::text","parseMode":2}}}}]}},{"PLpgSQL_stmt_return":{"lineno":10,"retvarno":1}}]}}}}, +{"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"id","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_rec":{"refname":"r","dno":2,"lineno":3,"datatype":{"PLpgSQL_type":{"typname":"myschema.mytype"}}}},{"PLpgSQL_rec":{"refname":"rows","dno":3,"lineno":4,"datatype":{"PLpgSQL_type":{"typname":"myschema.mytype[]"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":5,"body":[{"PLpgSQL_stmt_execsql":{"lineno":6,"sqlstmt":{"PLpgSQL_expr":{"query":"SELECT * FROM myschema.things t WHERE t.id = return_record.id","parseMode":0}},"into":true,"target":{"PLpgSQL_rec":{"refname":"r","dno":2,"lineno":3,"datatype":{"PLpgSQL_type":{"typname":"myschema.mytype"}}}}}},{"PLpgSQL_stmt_return":{"lineno":7,"retvarno":2}}]}}}}, +{"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"id","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"r","lineno":3,"datatype":{"PLpgSQL_type":{"typname":"app.things%rowtype"}}}},{"PLpgSQL_var":{"refname":"n","lineno":4,"datatype":{"PLpgSQL_type":{"typname":"app.things.name%TYPE"}}}},{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":6,"fields":[{"name":"r","varno":2}]}}],"action":{"PLpgSQL_stmt_block":{"lineno":5,"body":[{"PLpgSQL_stmt_execsql":{"lineno":6,"sqlstmt":{"PLpgSQL_expr":{"query":"SELECT * FROM app.things WHERE app.things.id = rowtype_return.id","parseMode":0}},"into":true,"target":{"PLpgSQL_row":{"refname":"(unnamed row)","lineno":6,"fields":[{"name":"r","varno":2}]}}}},{"PLpgSQL_stmt_assign":{"lineno":7,"varno":3,"expr":{"PLpgSQL_expr":{"query":"n := r.name","parseMode":3}}}},{"PLpgSQL_stmt_return":{"lineno":8,"retvarno":2}}]}}}}, +{"PLpgSQL_function":{"old_varno":1,"datums":[{"PLpgSQL_rec":{"refname":"new"}},{"PLpgSQL_rec":{"refname":"old","dno":1}},{"PLpgSQL_var":{"refname":"tg_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":1}},{"PLpgSQL_var":{"refname":"tg_when","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":2}},{"PLpgSQL_var":{"refname":"tg_level","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":3}},{"PLpgSQL_var":{"refname":"tg_op","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":4}},{"PLpgSQL_var":{"refname":"tg_relid","datatype":{"PLpgSQL_type":{"typname":"oid"}},"promise":5}},{"PLpgSQL_var":{"refname":"tg_relname","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_name","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":6}},{"PLpgSQL_var":{"refname":"tg_table_schema","datatype":{"PLpgSQL_type":{"typname":"name"}},"promise":7}},{"PLpgSQL_var":{"refname":"tg_nargs","datatype":{"PLpgSQL_type":{"typname":"integer"}},"promise":8}},{"PLpgSQL_var":{"refname":"tg_argv","datatype":{"PLpgSQL_type":{"typname":"text[]"}},"promise":9}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_recfield":{"fieldname":"id"}},{"PLpgSQL_recfield":{"fieldname":"id","recparentno":1}},{"PLpgSQL_recfield":{"fieldname":"updated_at"}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_if":{"lineno":3,"cond":{"PLpgSQL_expr":{"query":"TG_OP = 'DELETE'","parseMode":2}},"then_body":[{"PLpgSQL_stmt_return":{"lineno":4,"retvarno":1}}],"elsif_list":[{"PLpgSQL_if_elsif":{"lineno":5,"cond":{"PLpgSQL_expr":{"query":"TG_OP = 'UPDATE' AND NEW.id \u003c\u003e OLD.id","parseMode":2}},"stmts":[{"PLpgSQL_stmt_raise":{"lineno":6,"elog_level":21,"message":"id is immutable on %","params":[{"PLpgSQL_expr":{"query":"TG_TABLE_NAME","parseMode":2}}]}}]}},{"PLpgSQL_if_elsif":{"lineno":7,"cond":{"PLpgSQL_expr":{"query":"TG_WHEN = 'AFTER'","parseMode":2}},"stmts":[{"PLpgSQL_stmt_return":{"lineno":8,"expr":{"PLpgSQL_expr":{"query":"NULL","parseMode":2}}}}]}}]}},{"PLpgSQL_stmt_assign":{"lineno":10,"varno":15,"expr":{"PLpgSQL_expr":{"query":"NEW.updated_at := now()","parseMode":4}}}},{"PLpgSQL_stmt_return":{"lineno":11,"retvarno":0}}]}}}}, +{"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"tg_event","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":10}},{"PLpgSQL_var":{"refname":"tg_tag","datatype":{"PLpgSQL_type":{"typname":"text"}},"promise":11}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":2,"body":[{"PLpgSQL_stmt_raise":{"lineno":3,"elog_level":18,"message":"event=% tag=%","params":[{"PLpgSQL_expr":{"query":"TG_EVENT","parseMode":2}},{"PLpgSQL_expr":{"query":"TG_TAG","parseMode":2}}]}},{"PLpgSQL_stmt_return":{}}]}}}}, +{"PLpgSQL_function":{"out_param_varno":1,"datums":[{"PLpgSQL_var":{"refname":"a","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"total","datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"rest","datatype":{"PLpgSQL_type":{"typname":"integer[]"}}}},{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"i","lineno":4,"datatype":{"PLpgSQL_type":{"typname":"int"}}}},{"PLpgSQL_var":{"refname":"sqlstate","lineno":11,"datatype":{"PLpgSQL_type":{"typname":"text"}},"isconst":true}},{"PLpgSQL_var":{"refname":"sqlerrm","lineno":11,"datatype":{"PLpgSQL_type":{"typname":"text"}},"isconst":true}}],"action":{"PLpgSQL_stmt_block":{"body":[{"PLpgSQL_stmt_block":{"lineno":5,"label":"outer","body":[{"PLpgSQL_stmt_assign":{"lineno":6,"varno":1,"expr":{"PLpgSQL_expr":{"query":"total := a","parseMode":3}}}},{"PLpgSQL_stmt_foreach_a":{"lineno":7,"varno":4,"expr":{"PLpgSQL_expr":{"query":"rest","parseMode":2}},"body":[{"PLpgSQL_stmt_block":{"lineno":9,"label":"inner","body":[{"PLpgSQL_stmt_assign":{"lineno":10,"varno":1,"expr":{"PLpgSQL_expr":{"query":"total := total + i","parseMode":3}}}}],"exceptions":{"PLpgSQL_exception_block":{"exc_list":[{"PLpgSQL_exception":{"conditions":[{"PLpgSQL_condition":{"condname":"numeric_value_out_of_range"}}],"action":[{"PLpgSQL_stmt_exit":{"lineno":13,"is_exit":true,"label":"outer"}}]}}]}}}}]}},{"PLpgSQL_stmt_return":{"lineno":16,"retvarno":1}}]}},{"PLpgSQL_stmt_return":{"retvarno":1}}]}}}}, +{"PLpgSQL_function":{"datums":[{"PLpgSQL_var":{"refname":"found","datatype":{"PLpgSQL_type":{"typname":"boolean"}}}},{"PLpgSQL_var":{"refname":"n","lineno":2,"datatype":{"PLpgSQL_type":{"typname":"int"}},"default_val":{"PLpgSQL_expr":{"query":"0","parseMode":2}}}},{"PLpgSQL_var":{"refname":"i","lineno":8,"datatype":{"PLpgSQL_type":{"typname":"integer"}}}},{"PLpgSQL_var":{"refname":"__Case__Variable_3__","lineno":9,"datatype":{"PLpgSQL_type":{"typname":"integer"}}}}],"action":{"PLpgSQL_stmt_block":{"lineno":3,"body":[{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_block":{"lineno":4,"body":[{"PLpgSQL_stmt_if":{"lineno":5,"cond":{"PLpgSQL_expr":{"query":"n = 0","parseMode":2}},"then_body":[{"PLpgSQL_stmt_loop":{"lineno":6,"body":[{"PLpgSQL_stmt_while":{"lineno":7,"cond":{"PLpgSQL_expr":{"query":"n \u003c 10","parseMode":2}},"body":[{"PLpgSQL_stmt_fori":{"lineno":8,"var":{"PLpgSQL_var":{"refname":"i","lineno":8,"datatype":{"PLpgSQL_type":{"typname":"integer"}}}},"lower":{"PLpgSQL_expr":{"query":"1","parseMode":2}},"upper":{"PLpgSQL_expr":{"query":"3","parseMode":2}},"body":[{"PLpgSQL_stmt_case":{"lineno":9,"t_expr":{"PLpgSQL_expr":{"query":"n","parseMode":2}},"t_varno":3,"case_when_list":[{"PLpgSQL_case_when":{"lineno":9,"expr":{"PLpgSQL_expr":{"query":"\"__Case__Variable_3__\" IN (1)","parseMode":2}},"stmts":[{"PLpgSQL_stmt_assign":{"lineno":9,"varno":1,"expr":{"PLpgSQL_expr":{"query":"n := n + 1","parseMode":3}}}}]}}],"have_else":true,"else_stmts":[{"PLpgSQL_stmt_assign":{"lineno":9,"varno":1,"expr":{"PLpgSQL_expr":{"query":"n := n + 2","parseMode":3}}}}]}}]}},{"PLpgSQL_stmt_assign":{"lineno":11,"varno":1,"expr":{"PLpgSQL_expr":{"query":"n := n + 1","parseMode":3}}}}]}},{"PLpgSQL_stmt_exit":{"lineno":13,"is_exit":true,"cond":{"PLpgSQL_expr":{"query":"n \u003e= 10","parseMode":2}}}}]}}]}}]}}]}}]}}]}}]}}]}}]}}]}},{"PLpgSQL_stmt_return":{"lineno":17,"retvarno":1}}]}}}} ] diff --git a/test/plpgsql_samples.sql b/test/plpgsql_samples.sql index 86a86cfaa..f9cfcd849 100644 --- a/test/plpgsql_samples.sql +++ b/test/plpgsql_samples.sql @@ -712,3 +712,158 @@ BEGIN SELECT trim(check_password.password) INTO check_password.password; END; $$; + +-- Regression: RETURN of the FIRST parameter. Parameters are datums 0..n-1, so +-- retvarno is 0 here; it must still be emitted (plain WRITE_INT_FIELD drops +-- zero values, which makes "RETURN x" indistinguishable from a bare RETURN). +CREATE FUNCTION return_first_param(x int, y int) RETURNS int LANGUAGE plpgsql AS $$ +BEGIN + RETURN x; +END; +$$; + +-- Regression: a single OUT parameter is datum 0, so out_param_varno is 0 and +-- the implicit trailing RETURN carries retvarno 0; both must be emitted. +CREATE FUNCTION out_first_param(OUT total int) LANGUAGE plpgsql AS $$ +BEGIN + total := 1; +END; +$$; + +-- Regression: multiple OUT params use an unnamed row datum as out_param_varno. +CREATE FUNCTION out_two_params(IN a int, OUT b int, OUT c text) LANGUAGE plpgsql AS $$ +BEGIN + b := a * 2; + c := a::text; + RETURN; +END; +$$; + +-- Regression: RETURN NEXT and RETURN NEXT . +CREATE FUNCTION return_next_var(seed int) RETURNS SETOF int LANGUAGE plpgsql AS $$ +DECLARE + v int := seed + 1; +BEGIN + RETURN NEXT seed; + RETURN NEXT v; + RETURN NEXT v * 2; + RETURN; +END; +$$; + +-- Regression: RETURNS TABLE with RETURN QUERY / RETURN QUERY EXECUTE. +CREATE FUNCTION returns_table(p_limit int) RETURNS TABLE(id int, name text) LANGUAGE plpgsql AS $$ +BEGIN + RETURN QUERY SELECT t.id, t.name FROM things t LIMIT p_limit; + RETURN QUERY EXECUTE 'SELECT 1, $1' USING 'x'; +END; +$$; + +-- Regression: ALIAS FOR positional ($1) and named parameters in a plain +-- function; aliases are only recorded in the compiler namespace and must be +-- surfaced via the fork's "aliases" list (name, varno, lineno). +CREATE FUNCTION alias_params(int, text, flag boolean) RETURNS text LANGUAGE plpgsql AS $$ +DECLARE + a ALIAS FOR $1; + b ALIAS FOR $2; + f ALIAS FOR flag; +BEGIN + IF f THEN + RETURN b || a::text; + END IF; + RETURN b; +END; +$$; + +-- Regression: record variables declared with a user-defined type keep their +-- datatype (deparsed as "r myschema.mytype"), and RETURN keeps +-- retvarno pointing at the record datum. +CREATE FUNCTION return_record(id int) RETURNS myschema.mytype LANGUAGE plpgsql AS $$ +DECLARE + r myschema.mytype; + rows myschema.mytype[]; +BEGIN + SELECT * INTO r FROM myschema.things t WHERE t.id = return_record.id; + RETURN r; +END; +$$; + +-- Regression: %ROWTYPE / %TYPE spellings are preserved as written and the +-- unqualified function name is the block label even when schema-qualified. +CREATE FUNCTION app.rowtype_return(IN id int) RETURNS app.things LANGUAGE plpgsql AS $$ +DECLARE + r app.things%ROWTYPE; + n app.things.name%TYPE; +BEGIN + SELECT * INTO r FROM app.things WHERE app.things.id = rowtype_return.id; + n := r.name; + RETURN r; +END; +$$; + +-- Regression: trigger function using TG_* promise datums, RETURN OLD / RETURN +-- NULL, and a RETURN of NEW inside a CASE on TG_OP. +CREATE FUNCTION trigger_tg_op() RETURNS trigger LANGUAGE plpgsql AS $$ +BEGIN + IF TG_OP = 'DELETE' THEN + RETURN OLD; + ELSIF TG_OP = 'UPDATE' AND NEW.id <> OLD.id THEN + RAISE EXCEPTION 'id is immutable on %', TG_TABLE_NAME; + ELSIF TG_WHEN = 'AFTER' THEN + RETURN NULL; + END IF; + NEW.updated_at := now(); + RETURN NEW; +END; +$$; + +-- Regression: event trigger functions have their own promise datums +-- (tg_event, tg_tag) and must produce valid JSON. +CREATE FUNCTION event_trigger_fn() RETURNS event_trigger LANGUAGE plpgsql AS $$ +BEGIN + RAISE NOTICE 'event=% tag=%', TG_EVENT, TG_TAG; +END; +$$; + +-- Regression: schema-qualified function with DEFAULT, OUT, and VARIADIC +-- parameters together, plus EXCEPTION handling and a labeled nested block. +CREATE FUNCTION app.mixed_params(IN a int DEFAULT 1, OUT total int, VARIADIC rest int[] DEFAULT '{}') LANGUAGE plpgsql AS $$ +<> +DECLARE + i int; +BEGIN + total := a; + FOREACH i IN ARRAY rest LOOP + <> + BEGIN + total := total + i; + EXCEPTION + WHEN numeric_value_out_of_range THEN + EXIT outer; + END; + END LOOP; + RETURN; +END; +$$; + +-- Regression: deeply nested blocks and control structures must dump without +-- recursion problems (the JSON writer recurses per statement). +CREATE FUNCTION nested_blocks() RETURNS int LANGUAGE plpgsql AS $$ +DECLARE n int := 0; +BEGIN + BEGIN BEGIN BEGIN BEGIN BEGIN BEGIN BEGIN BEGIN + IF n = 0 THEN + LOOP + WHILE n < 10 LOOP + FOR i IN 1..3 LOOP + CASE n WHEN 1 THEN n := n + 1; ELSE n := n + 2; END CASE; + END LOOP; + n := n + 1; + END LOOP; + EXIT WHEN n >= 10; + END LOOP; + END IF; + END; END; END; END; END; END; END; END; + RETURN n; +END; +$$; diff --git a/test/scan.c b/test/scan.c index 991ee3ab4..b2d2ed503 100644 --- a/test/scan.c +++ b/test/scan.c @@ -7,17 +7,98 @@ #include "scan_tests.c" -#include "protobuf/pg_query.pb-c.h" +#include "protobuf/pg_query.upb.h" + +// Regression test: decoding a scan result with the upb API outside of a +// libpg_query call must work no matter where the last libpg_query call +// happened. The upb decoder checks the stack depth against the reference +// point libpg_query measures at the start of each call, which is cleared +// again when the call exits. A stale reference point from a deep call site +// would otherwise make a shallow decode look like it exceeds the stack budget. +// +// Runs on a pthread with a known stack size, so it is skipped on MSVC (which +// has no pthreads), like test/concurrency. +#ifndef _MSC_VER +#include + +#define STALE_BASE_THREAD_STACK (4 * 1024 * 1024) +#define STALE_BASE_FRAME_SIZE (64 * 1024) +#define STALE_BASE_FRAMES 48 // ~3 MB of the 4 MB thread stack + +static PgQueryScanResult scan_deep_in_stack(int frames) { + volatile char pad[STALE_BASE_FRAME_SIZE]; + PgQueryScanResult result; + + pad[0] = (char) frames; + pad[STALE_BASE_FRAME_SIZE - 1] = (char) frames; + + if (frames > 0) + result = scan_deep_in_stack(frames - 1); + else + result = pg_query_scan("SELECT 1"); + + pad[0] += pad[STALE_BASE_FRAME_SIZE - 1]; // keep the frame from being optimized away + + return result; +} + +static void *stale_base_runner(void *arg) { + bool *ok = arg; + PgQueryScanResult result = scan_deep_in_stack(STALE_BASE_FRAMES); + upb_Arena *arena = upb_Arena_New(); + pg_query_ScanResult *scan_result; + size_t n_tokens = 0; + + *ok = false; + if (result.error) { + printf("INVALID result for scan from a deep stack: %s\n", result.error->message); + } else { + scan_result = pg_query_ScanResult_parse(result.pbuf.data, result.pbuf.len, arena); + if (scan_result == NULL) { + printf("INVALID result: could not decode scan result outside a libpg_query call, after a call from a deep stack\n"); + } else { + pg_query_ScanResult_tokens(scan_result, &n_tokens); + if (n_tokens == 2) + *ok = true; + else + printf("INVALID result: expected 2 tokens after decoding, got %zu\n", n_tokens); + } + } + + upb_Arena_Free(arena); + pg_query_free_scan_result(result); + + return NULL; +} + +static bool test_decode_after_deep_call(void) { + pthread_t thread; + pthread_attr_t attr; + bool ok = false; + + pthread_attr_init(&attr); + pthread_attr_setstacksize(&attr, STALE_BASE_THREAD_STACK); + if (pthread_create(&thread, &attr, stale_base_runner, &ok) != 0) { + printf("INVALID result: could not create thread\n"); + return false; + } + pthread_join(thread, NULL); + pthread_attr_destroy(&attr); + + return ok; +} +#endif int main() { size_t i; - size_t j; + int j; bool ret_code = 0; - PgQuery__ScanResult *scan_result; - PgQuery__ScanToken *scan_token; - const ProtobufCEnumValue *token_kind; - const ProtobufCEnumValue *keyword_kind; + pg_query_ScanResult *scan_result; + const pg_query_ScanToken *scan_token; + const char *token_kind; + const char *keyword_kind; PgQueryScanResult result; + PgQueryScanTokensResult tokens_result; // tests contains pairs of strings assert(testsCount % 2 == 0); @@ -32,23 +113,37 @@ int main() { ret_code = -1; printf("%s\n", result.error->message); } else { - scan_result = pg_query__scan_result__unpack(NULL, result.pbuf.len, (void*) result.pbuf.data); + upb_Arena *arena = upb_Arena_New(); + size_t n_tokens = 0; + const pg_query_ScanToken *const *tokens; + scan_result = pg_query_ScanResult_parse(result.pbuf.data, result.pbuf.len, arena); + if (scan_result == NULL) { + ret_code = -1; + printf("INVALID result for \"%s\": could not decode scan result\n", tests[i]); + upb_Arena_Free(arena); + pg_query_free_scan_result(result); + continue; + } + tokens = pg_query_ScanResult_tokens(scan_result, &n_tokens); - for (j = 0; j < scan_result->n_tokens; j++) { + for (j = 0; j < n_tokens; j++) { char buffer2[1024]; - scan_token = scan_result->tokens[j]; - token_kind = protobuf_c_enum_descriptor_get_value(&pg_query__token__descriptor, scan_token->token); - keyword_kind = protobuf_c_enum_descriptor_get_value(&pg_query__keyword_kind__descriptor, scan_token->keyword_kind); + int32_t start, end; + scan_token = tokens[j]; + token_kind = pg_query_token_name(pg_query_ScanToken_token(scan_token)); + keyword_kind = pg_query_keyword_kind_name(pg_query_ScanToken_keyword_kind(scan_token)); if (token_kind == NULL) { ret_code = -1; - printf("INVALID result for \"%s\": scan_result token %zu token_kind == NULL\n", tests[i], j); + printf("INVALID result for \"%s\": scan_result token %d token_kind == NULL\n", tests[i], j); break; } - sprintf(buffer2, "%.*s = %s, %s\n", scan_token->end - scan_token->start, &(tests[i][scan_token->start]), token_kind->name, keyword_kind->name); + start = pg_query_ScanToken_start(scan_token); + end = pg_query_ScanToken_end(scan_token); + sprintf(buffer2, "%.*s = %s, %s\n", end - start, &(tests[i][start]), token_kind, keyword_kind); strcat(buffer, buffer2); } - pg_query__scan_result__free_unpacked(scan_result, NULL); + upb_Arena_Free(arena); if (strcmp(buffer, tests[i + 1]) == 0) { printf("."); @@ -61,6 +156,80 @@ int main() { pg_query_free_scan_result(result); } + // The plain C token array API must return the same tokens as the protobuf one + for (i = 0; i < testsCount * 2; i += 2) { + char buffer[1024]; + buffer[0] = '\0'; + + tokens_result = pg_query_scan_tokens(tests[i]); + + if (tokens_result.error) { + ret_code = -1; + printf("%s\n", tokens_result.error->message); + } else { + for (j = 0; j < tokens_result.n_tokens; j++) { + char buffer2[1024]; + PgQueryScanToken token = tokens_result.tokens[j]; + token_kind = pg_query_token_name(token.token); + keyword_kind = pg_query_keyword_kind_name(token.keyword_kind); + if (token_kind == NULL) { + ret_code = -1; + printf("INVALID result for \"%s\": scan_tokens token %d token_kind == NULL\n", tests[i], j); + break; + } + sprintf(buffer2, "%.*s = %s, %s\n", token.end - token.start, &(tests[i][token.start]), token_kind, keyword_kind); + strcat(buffer, buffer2); + } + + if (strcmp(buffer, tests[i + 1]) == 0) { + printf("."); + } else { + ret_code = -1; + printf("INVALID scan_tokens result for \"%s\"\nexpected:\n%s\nactual:\n%s\n", tests[i], tests[i + 1], buffer); + } + } + + pg_query_free_scan_tokens_result(tokens_result); + } + + // Scanner errors are reported as errors, and must not leak the partially + // built scan result (checked when running under Valgrind) + result = pg_query_scan("SELECT 'unterminated"); + if (result.error == NULL) { + ret_code = -1; + printf("INVALID result for unterminated string: expected an error\n"); + } else { + printf("."); + } + pg_query_free_scan_result(result); + + tokens_result = pg_query_scan_tokens("SELECT 'unterminated"); + if (tokens_result.error == NULL) { + ret_code = -1; + printf("INVALID scan_tokens result for unterminated string: expected an error\n"); + } else { + printf("."); + } + pg_query_free_scan_tokens_result(tokens_result); + + // Empty input yields no tokens and no error + tokens_result = pg_query_scan_tokens(""); + if (tokens_result.error != NULL || tokens_result.n_tokens != 0) { + ret_code = -1; + printf("INVALID scan_tokens result for empty input: expected no tokens and no error\n"); + } else { + printf("."); + } + pg_query_free_scan_tokens_result(tokens_result); + +#ifndef _MSC_VER + if (test_decode_after_deep_call()) { + printf("."); + } else { + ret_code = -1; + } +#endif + printf("\n"); pg_query_exit(); diff --git a/test/scan_tests.c b/test/scan_tests.c index 4c3455ca5..09a42fc9a 100644 --- a/test/scan_tests.c +++ b/test/scan_tests.c @@ -96,6 +96,15 @@ const char* const tests[] = { "SELECT = SELECT, RESERVED_KEYWORD\n" "$ = ASCII_36, NO_KEYWORD\n" "identifier = IDENT, NO_KEYWORD\n", + "SELECT 'a' -- comment\n'b'", + "SELECT = SELECT, RESERVED_KEYWORD\n" + "'a' -- comment\n'b' = SCONST, NO_KEYWORD\n", + "SELECT 'a' -- comment\n, 'b'", + "SELECT = SELECT, RESERVED_KEYWORD\n" + "'a' = SCONST, NO_KEYWORD\n" + "-- comment = SQL_COMMENT, NO_KEYWORD\n" + ", = ASCII_44, NO_KEYWORD\n" + "'b' = SCONST, NO_KEYWORD\n", }; const size_t testsCount = sizeof(tests)/sizeof(*tests)/2; diff --git a/test/sql/deparse-depesz/08-selects.d/10-operators.psql b/test/sql/deparse-depesz/08-selects.d/10-operators.psql index b4d562a4f..d6b8e8189 100644 --- a/test/sql/deparse-depesz/08-selects.d/10-operators.psql +++ b/test/sql/deparse-depesz/08-selects.d/10-operators.psql @@ -1,4 +1,2 @@ -SELECT - (((a + b) + c) + d) + e, ((1 + 2) + 3) + 4, d + (b * 5), (e * c) + 2, - (x - 1) * 3 +SELECT a + b + c + d + e, 1 + 2 + 3 + 4, d + b * 5, e * c + 2, (x - 1) * 3 FROM t diff --git a/test/sql/deparse-depesz/08-selects.d/15-where.psql b/test/sql/deparse-depesz/08-selects.d/15-where.psql index 54631175b..31e1140a3 100644 --- a/test/sql/deparse-depesz/08-selects.d/15-where.psql +++ b/test/sql/deparse-depesz/08-selects.d/15-where.psql @@ -2,4 +2,4 @@ SELECT * FROM a WHERE b = c - AND d < (now() - '1 week'::interval) + AND d < now() - '1 week'::interval diff --git a/test/sql/deparse/complex_depesz.sql b/test/sql/deparse/complex_depesz.sql index 47a1186e3..e901f897d 100644 --- a/test/sql/deparse/complex_depesz.sql +++ b/test/sql/deparse/complex_depesz.sql @@ -3,10 +3,9 @@ SELECT b.par AS "Total object Request", b.ps AS "objects Served", b.ar AS "Total sushi Request", a.sushis AS "sushis Served", round(decode(b.ar, 0, 0, (b.ar - decode(a.sushis, NULL, 0, a.sushis)::numeric) / b.ar) * 100, 3) AS "USR", - a.clk AS points, - decode(b.ps, 0, 0, round((a.clk / b.ps) * 100, 3)) AS "CTR", a.cpc AS "CPC", - a.tc AS "Cost", - decode(b.ps, 0, 0, (a.tc / b.ps) * 1000::numeric(8, 3)) AS effectcost + a.clk AS points, decode(b.ps, 0, 0, round(a.clk / b.ps * 100, 3)) AS "CTR", + a.cpc AS "CPC", a.tc AS "Cost", + decode(b.ps, 0, 0, a.tc / b.ps * 1000::numeric(8, 3)) AS effectcost FROM ( SELECT diff --git a/test/sql/postgres_regress/aggregates.sql b/test/sql/postgres_regress/aggregates.sql index b751783e8..d9660cddb 100644 --- a/test/sql/postgres_regress/aggregates.sql +++ b/test/sql/postgres_regress/aggregates.sql @@ -539,27 +539,57 @@ alter table t2 alter column z drop not null; create unique index t2_z_uidx on t2(z) nulls not distinct; explain (costs off) select y,z from t2 group by y,z; +drop table t1 cascade; +drop table t2; +drop table t3; +drop table p_t1; + +-- A composite type used by the tests below to exercise the asymmetry +-- between record_ops (per-field equality, the default) and record_image_ops +-- (bytewise equality): values like row(1.0) and row(1.00) are field-equal +-- but byte-distinct. +create type avg_rec as (x numeric); + -- A unique index proves uniqueness only under its own opfamily. When the -- GROUP BY's eqop comes from a different opfamily with looser equality, -- rows the index regards as distinct can collapse into one GROUP BY group, -- so the index is not usable for removing redundant columns. -create type t_rec as (x numeric); -create temp table t_opf (a t_rec not null, b text); +create temp table t_opf (a avg_rec not null, b text); create unique index on t_opf (a record_image_ops); -- (1.0) and (1.00) are bytewise distinct but logically equal as records; -- the index admits both, but GROUP BY a (default record_ops) would merge -- them, so b must be retained as a grouping key. -insert into t_opf values (row(1.0)::t_rec, 'X'), (row(1.00)::t_rec, 'Y'); +insert into t_opf values (row(1.0)::avg_rec, 'X'), (row(1.00)::avg_rec, 'Y'); explain (costs off) select a, b from t_opf group by a, b order by b; select a, b from t_opf group by a, b order by b; drop table t_opf; -drop type t_rec; -drop table t1 cascade; -drop table t2; -drop table t3; -drop table p_t1; +-- A HAVING clause that uses an equality operator from a different opfamily +-- than the GROUP BY's eqop must NOT be pushed down to WHERE. +create temp table t_having (id int, a avg_rec); +insert into t_having values + (1, row(1.0)::avg_rec), + (2, row(1.00)::avg_rec), + (3, row(2)::avg_rec); + +-- the clause must stay in HAVING +explain (costs off) +select a, count(*) from t_having group by a having a *= row(1.0)::avg_rec; +select a, count(*) from t_having group by a having a *= row(1.0)::avg_rec; + +-- the clause must stay in HAVING +explain (costs off) +select a, count(*) from t_having group by a having a *= any (array[row(1.0)::avg_rec]); +select a, count(*) from t_having group by a having a *= any (array[row(1.0)::avg_rec]); + +-- the clause can be pushed down to WHERE +explain (costs off) +select a, count(*) from t_having group by a having a = row(1.0)::avg_rec; +select a, count(*) from t_having group by a having a = row(1.0)::avg_rec; + +drop table t_having; +drop type avg_rec; -- -- Test GROUP BY matching of join columns that are type-coerced due to USING diff --git a/test/sql/postgres_regress/alter_table.sql b/test/sql/postgres_regress/alter_table.sql index e1937a85b..336bf77b5 100644 --- a/test/sql/postgres_regress/alter_table.sql +++ b/test/sql/postgres_regress/alter_table.sql @@ -1157,7 +1157,9 @@ copy attest from stdin; \. select * from attest; copy attest(a) from stdin; +\. copy attest("........pg.dropped.1........") from stdin; +\. copy attest(b,c) from stdin; 31 32 \. diff --git a/test/sql/postgres_regress/collate.icu.utf8.sql b/test/sql/postgres_regress/collate.icu.utf8.sql index 90ea90d64..a17e8ae27 100644 --- a/test/sql/postgres_regress/collate.icu.utf8.sql +++ b/test/sql/postgres_regress/collate.icu.utf8.sql @@ -564,6 +564,12 @@ CREATE COLLATION case_insensitive (provider = icu, locale = '@colStrength=second SELECT 'abc' <= 'ABC' COLLATE case_sensitive, 'abc' >= 'ABC' COLLATE case_sensitive; SELECT 'abc' <= 'ABC' COLLATE case_insensitive, 'abc' >= 'ABC' COLLATE case_insensitive; +SELECT 'AB' LIKE 'ab' COLLATE case_insensitive AS t; +SELECT 'AB' LIKE 'a\b' COLLATE case_insensitive AS t; +SELECT 'AB' LIKE '\ab' COLLATE case_insensitive AS t; +SELECT 'AB' LIKE '\a%' COLLATE case_insensitive AS t; +SELECT 'AB' LIKE '\a\%' COLLATE case_insensitive AS f; + -- tests with array_sort SELECT array_sort('{a,B}'::text[] COLLATE case_insensitive); SELECT array_sort('{a,B}'::text[] COLLATE "C"); @@ -741,6 +747,16 @@ CREATE UNIQUE INDEX ON test3ci (x); -- error SELECT string_to_array('ABC,DEF,GHI' COLLATE case_insensitive, ',', 'abc'); SELECT string_to_array('ABCDEFGHI' COLLATE case_insensitive, NULL, 'b'); +-- These queries should be able to use the index on test1ci.x: +SET enable_seqscan = off; +SET enable_indexonlyscan = off; +EXPLAIN (COSTS OFF) +SELECT * FROM test1ci WHERE x ~ '^abc$' COLLATE "C"; +EXPLAIN (COSTS OFF) +SELECT * FROM test1ci WHERE x LIKE 'abc' COLLATE case_insensitive; +RESET enable_seqscan; +RESET enable_indexonlyscan; + -- Test HAVING-to-WHERE pushdown with nondeterministic collations. -- When a HAVING clause uses a different collation than the GROUP BY's -- nondeterministic collation, it must not be pushed to WHERE, otherwise @@ -757,31 +773,39 @@ EXPLAIN (COSTS OFF) SELECT x, count(*) FROM test3ci GROUP BY x HAVING x = 'abc' COLLATE case_insensitive; SELECT x, count(*) FROM test3ci GROUP BY x HAVING x = 'abc' COLLATE case_insensitive; --- Negative: function applied to grouped column with conflicting collation +-- Negative: function over the grouping column, conflicting collation EXPLAIN (COSTS OFF) SELECT x, count(*) FROM test3ci GROUP BY x HAVING upper(x) = 'ABC' COLLATE case_sensitive; SELECT x, count(*) FROM test3ci GROUP BY x HAVING upper(x) = 'ABC' COLLATE case_sensitive; --- Positive: function with same collation as GROUP BY +-- Negative: function over the grouping column whose result is compared as an +-- integer, under no collation +EXPLAIN (COSTS OFF) +SELECT x, count(*) FROM test3ci GROUP BY x HAVING ascii(x) = 97; +SELECT x, count(*) FROM test3ci GROUP BY x HAVING ascii(x) = 97; + +-- Negative: a function wrapping the grouping column is not provably safe even +-- when compared under the matching collation, since the function need not +-- preserve the collation's equality EXPLAIN (COSTS OFF) SELECT x, count(*) FROM test3ci GROUP BY x HAVING upper(x) = 'ABC' COLLATE case_insensitive; SELECT x, count(*) FROM test3ci GROUP BY x HAVING upper(x) = 'ABC' COLLATE case_insensitive; --- Negative: inner function has conflicting collation, even though outer --- operator's collation matches GROUP BY due to a COLLATE override +-- Negative: same, with the grouping column wrapped in a function whose input +-- collation is overridden; still not a direct operand, so it stays in HAVING EXPLAIN (COSTS OFF) SELECT x, count(*) FROM test3ci GROUP BY x HAVING upper(x COLLATE case_sensitive) COLLATE case_insensitive = 'ABC'; SELECT x, count(*) FROM test3ci GROUP BY x HAVING upper(x COLLATE case_sensitive) COLLATE case_insensitive = 'ABC'; -- Mixed AND: conflicting clause stays in HAVING, safe clause pushed to WHERE EXPLAIN (COSTS OFF) -SELECT x, count(*) FROM test3ci GROUP BY x HAVING x = 'abc' COLLATE case_sensitive AND length(x) > 1; -SELECT x, count(*) FROM test3ci GROUP BY x HAVING x = 'abc' COLLATE case_sensitive AND length(x) > 1; +SELECT x, count(*) FROM test3ci GROUP BY x HAVING x = 'abc' COLLATE case_sensitive AND x >= 'a' COLLATE case_insensitive; +SELECT x, count(*) FROM test3ci GROUP BY x HAVING x = 'abc' COLLATE case_sensitive AND x >= 'a' COLLATE case_insensitive; -- Positive: AND of two safe clauses, both can be pushed EXPLAIN (COSTS OFF) -SELECT x, count(*) FROM test3ci GROUP BY x HAVING x = 'abc' COLLATE case_insensitive AND length(x) > 1; -SELECT x, count(*) FROM test3ci GROUP BY x HAVING x = 'abc' COLLATE case_insensitive AND length(x) > 1; +SELECT x, count(*) FROM test3ci GROUP BY x HAVING x = 'abc' COLLATE case_insensitive AND x >= 'a' COLLATE case_insensitive; +SELECT x, count(*) FROM test3ci GROUP BY x HAVING x = 'abc' COLLATE case_insensitive AND x >= 'a' COLLATE case_insensitive; -- Negative: OR with a conflicting clause: must stay in HAVING EXPLAIN (COSTS OFF) @@ -822,6 +846,111 @@ EXPLAIN (COSTS OFF) SELECT x, count(*) FROM test3cs GROUP BY x HAVING x = 'abc' COLLATE case_insensitive ORDER BY 1; SELECT x, count(*) FROM test3cs GROUP BY x HAVING x = 'abc' COLLATE case_insensitive ORDER BY 1; +-- Test WHERE-pushdown past a grouping layer (DISTINCT, DISTINCT ON, window +-- PARTITION BY) when the qual applies a different collation than the +-- grouping column's nondeterministic collation. The qual would distinguish +-- rows the grouping considers equal, so it must NOT be pushed inside the +-- subquery. +CREATE TABLE pushdown_ci (id int, x text COLLATE case_insensitive); +INSERT INTO pushdown_ci VALUES (1, 'ABC'), (2, 'abc'), (3, 'def'); + +-- DISTINCT ON: conflict, qual stays in outer query +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT DISTINCT ON (x) id, x FROM pushdown_ci ORDER BY x, id) s +WHERE x = 'abc' COLLATE case_sensitive; + +SELECT * FROM (SELECT DISTINCT ON (x) id, x FROM pushdown_ci ORDER BY x, id) s +WHERE x = 'abc' COLLATE case_sensitive; + +-- Window function PARTITION BY: conflict, qual stays outside the WindowAgg +EXPLAIN (COSTS OFF) +SELECT * FROM ( + SELECT id, x, count(*) OVER (PARTITION BY x) AS cnt FROM pushdown_ci +) s +WHERE x = 'abc' COLLATE case_sensitive; + +SELECT * FROM ( + SELECT id, x, count(*) OVER (PARTITION BY x) AS cnt FROM pushdown_ci +) s +WHERE x = 'abc' COLLATE case_sensitive; + +-- Plain DISTINCT: conflict, qual stays in outer query +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT DISTINCT x FROM pushdown_ci) s +WHERE x = 'abc' COLLATE case_sensitive; + +SELECT * FROM (SELECT DISTINCT x FROM pushdown_ci) s +WHERE x = 'abc' COLLATE case_sensitive; + +-- Positive: matching collation, safe to push past the grouping +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT DISTINCT ON (x) id, x FROM pushdown_ci ORDER BY x, id) s +WHERE x = 'abc' COLLATE case_insensitive; + +SELECT * FROM (SELECT DISTINCT ON (x) id, x FROM pushdown_ci ORDER BY x, id) s +WHERE x = 'abc' COLLATE case_insensitive; + +-- Set operations: any operation other than UNION ALL groups rows by equality, +-- so the same collation-mismatch rules apply. +CREATE TABLE pushdown_ci2 (x text COLLATE case_insensitive); +INSERT INTO pushdown_ci2 VALUES ('abc'); + +-- UNION: conflict, qual stays in outer query +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT x FROM pushdown_ci UNION SELECT x FROM pushdown_ci2) s +WHERE x = 'abc' COLLATE case_sensitive; + +SELECT * FROM (SELECT x FROM pushdown_ci UNION SELECT x FROM pushdown_ci2) s +WHERE x = 'abc' COLLATE case_sensitive; + +-- INTERSECT: same +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT x FROM pushdown_ci INTERSECT SELECT x FROM pushdown_ci2) s +WHERE x = 'abc' COLLATE case_sensitive; + +SELECT * FROM (SELECT x FROM pushdown_ci INTERSECT SELECT x FROM pushdown_ci2) s +WHERE x = 'abc' COLLATE case_sensitive; + +-- INTERSECT ALL: still groups +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT x FROM pushdown_ci INTERSECT ALL SELECT x FROM pushdown_ci2) s +WHERE x = 'abc' COLLATE case_sensitive; + +SELECT * FROM (SELECT x FROM pushdown_ci INTERSECT ALL SELECT x FROM pushdown_ci2) s +WHERE x = 'abc' COLLATE case_sensitive; + +-- Negative: a function over a grouping column with a nondeterministic +-- collation, whose result is compared under no collation (an integer +-- comparison), can distinguish values the grouping considers equal. +-- PARTITION BY +EXPLAIN (COSTS OFF) +SELECT * FROM ( + SELECT id, x, count(*) OVER (PARTITION BY x) AS cnt FROM pushdown_ci +) s +WHERE ascii(x) = 97; + +SELECT * FROM ( + SELECT id, x, count(*) OVER (PARTITION BY x) AS cnt FROM pushdown_ci +) s +WHERE ascii(x) = 97; + +-- Same with DISTINCT +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT DISTINCT x FROM pushdown_ci) s WHERE ascii(x) = 97; + +SELECT * FROM (SELECT DISTINCT x FROM pushdown_ci) s WHERE ascii(x) = 97; + +-- Same with Set operations +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT x FROM pushdown_ci UNION SELECT x FROM pushdown_ci2) s +WHERE ascii(x) = 97; + +SELECT * FROM (SELECT x FROM pushdown_ci UNION SELECT x FROM pushdown_ci2) s +WHERE ascii(x) = 97; + +DROP TABLE pushdown_ci2; +DROP TABLE pushdown_ci; + -- bpchar CREATE TABLE test1bpci (x char(3) COLLATE case_insensitive); CREATE TABLE test2bpci (x char(3) COLLATE case_insensitive); @@ -956,6 +1085,13 @@ SELECT U&'\0061\0308bc' LIKE U&'_\00e4bc' COLLATE ignore_accents; -- escape character at end of pattern SELECT 'foox' LIKE 'foo\' COLLATE ignore_accents; +-- literal backslash with nondeterministic collation (bug #19474) +SELECT 'back\slash' COLLATE ignore_accents LIKE 'back\slash%' ESCAPE '#'; +SELECT 'aäb' COLLATE ignore_accents LIKE 'a#äb' ESCAPE '#' AS multibyte_escape; +SELECT 'a\äb' COLLATE ignore_accents LIKE 'a\äb%' ESCAPE '#' AS backslash_multibyte; +SELECT 'a\b%c' COLLATE ignore_accents LIKE 'a#\b#%%c' ESCAPE '#' AS mixed_escapes; +SELECT 'backslash' COLLATE ignore_accents LIKE 'back\\slash%'; + -- foreign keys (mixing different nondeterministic collations not allowed) CREATE TABLE test10pk (x text COLLATE case_sensitive PRIMARY KEY); CREATE TABLE test10fk (x text COLLATE case_insensitive REFERENCES test10pk (x) ON UPDATE CASCADE ON DELETE CASCADE); -- error diff --git a/test/sql/postgres_regress/collate.linux.utf8.sql b/test/sql/postgres_regress/collate.linux.utf8.sql index 132d13af0..6d726ee9c 100644 --- a/test/sql/postgres_regress/collate.linux.utf8.sql +++ b/test/sql/postgres_regress/collate.linux.utf8.sql @@ -188,6 +188,9 @@ SELECT to_date('01 ŞUB 2010', 'DD TMMON YYYY'); SELECT to_date('01 Şub 2010', 'DD TMMON YYYY'); SELECT to_date('1234567890ab 2010', 'TMMONTH YYYY'); -- fail +SELECT to_date('01 Aralık 2010', 'DD TMMONTH YYYY'); +SELECT to_date('01 aralık 2010', 'DD TMMONTH YYYY'); +SELECT to_date('2010 01 araLık', 'YYYY DD TMMONTH'); -- backwards parsing diff --git a/test/sql/postgres_regress/collate.sql b/test/sql/postgres_regress/collate.sql index 4b0e4472c..b018da13f 100644 --- a/test/sql/postgres_regress/collate.sql +++ b/test/sql/postgres_regress/collate.sql @@ -302,6 +302,16 @@ CREATE COLLATION coll_dup_chk (LC_CTYPE = "POSIX", LOCALE = ''); -- FROM conflicts with any other option CREATE COLLATION coll_dup_chk (FROM = "C", VERSION = "1"); +-- Regex exact-match optimization should use an index even when the expression +-- and index have different collations, so long as the expression's collation +-- is deterministic. This example tests what we want because the optimizer +-- does not perceive "C" collation (used by the system catalogs) as identical +-- to "POSIX" collation. +EXPLAIN (COSTS OFF) +SELECT * FROM pg_class WHERE relname ~ '^pg_class$' COLLATE "POSIX"; +EXPLAIN (COSTS OFF) +SELECT * FROM pg_class WHERE relname LIKE 'pg\_class' COLLATE "POSIX"; + -- -- Clean up. Many of these table names will be re-used if the user is -- trying to run any platform-specific collation tests later, so we diff --git a/test/sql/postgres_regress/collate.utf8.sql b/test/sql/postgres_regress/collate.utf8.sql index d6d14220a..22aecee3a 100644 --- a/test/sql/postgres_regress/collate.utf8.sql +++ b/test/sql/postgres_regress/collate.utf8.sql @@ -128,6 +128,7 @@ SELECT lower('0Σ' COLLATE PG_UNICODE_FAST); -- 0030 03A3 SELECT lower('ΑΣΑ' COLLATE PG_UNICODE_FAST); -- 0391 03A3 0391 SELECT lower('ἈΣ̓Α' COLLATE PG_UNICODE_FAST); -- 0391 0343 03A3 0343 0391 SELECT lower('ᾼΣͅΑ' COLLATE PG_UNICODE_FAST); -- 0391 0345 03A3 0345 0391 +SELECT lower(U&'\0300\03A3' COLLATE PG_UNICODE_FAST); -- properties diff --git a/test/sql/postgres_regress/compression_pglz.sql b/test/sql/postgres_regress/compression_pglz.sql index a44af02af..dbd37f7d4 100644 --- a/test/sql/postgres_regress/compression_pglz.sql +++ b/test/sql/postgres_regress/compression_pglz.sql @@ -48,6 +48,16 @@ SELECT test_pglz_decompress('\x01ff'::bytea, 1024, true); SELECT test_pglz_decompress('\x010f01'::bytea, 1024, false); SELECT test_pglz_decompress('\x010f01'::bytea, 1024, true); +-- Corrupted compressed data. Set control bit with a valid 2-byte match +-- tag where offset exceeds output written. +SELECT test_pglz_decompress('\x011001'::bytea, 1024, false); +SELECT test_pglz_decompress('\x011001'::bytea, 1024, true); + +-- Corrupted compressed data. Set control bit with a valid 2-byte match +-- tag where offset is 0. +SELECT test_pglz_decompress('\x010300'::bytea, 1024, false); +SELECT test_pglz_decompress('\x010300'::bytea, 1024, true); + -- Clean up DROP FUNCTION test_pglz_compress; DROP FUNCTION test_pglz_decompress; diff --git a/test/sql/postgres_regress/constraints.sql b/test/sql/postgres_regress/constraints.sql index 1e9989698..99846e7cc 100644 --- a/test/sql/postgres_regress/constraints.sql +++ b/test/sql/postgres_regress/constraints.sql @@ -702,6 +702,9 @@ DROP TABLE ATACC1, ATACC2, ATACC3; -- NOT NULL NO INHERIT is not possible on partitioned tables CREATE TABLE ATACC1 (a int NOT NULL NO INHERIT) PARTITION BY LIST (a); CREATE TABLE ATACC1 (a int, NOT NULL a NO INHERIT) PARTITION BY LIST (a); +CREATE TABLE ATACC1 (a int, CONSTRAINT a_is_not_null NOT NULL a) PARTITION BY LIST (a); +ALTER TABLE ATACC1 ALTER CONSTRAINT a_is_not_null NO INHERIT; +DROP TABLE ATACC1; -- it's not possible to override a no-inherit constraint with an inheritable one CREATE TABLE ATACC2 (a int, CONSTRAINT a_is_not_null NOT NULL a NO INHERIT); diff --git a/test/sql/postgres_regress/copy.sql b/test/sql/postgres_regress/copy.sql index f0b88a23d..7cb6a1885 100644 --- a/test/sql/postgres_regress/copy.sql +++ b/test/sql/postgres_regress/copy.sql @@ -245,6 +245,7 @@ alter table header_copytest drop column c; alter table header_copytest add column c text; copy header_copytest to stdout with (header match); copy header_copytest from stdin with (header wrong_choice); +\. -- works copy header_copytest from stdin with (header match); a b c diff --git a/test/sql/postgres_regress/copy2.sql b/test/sql/postgres_regress/copy2.sql index 9f86f4feb..818f9ab5f 100644 --- a/test/sql/postgres_regress/copy2.sql +++ b/test/sql/postgres_regress/copy2.sql @@ -52,47 +52,78 @@ COPY x (a, b, c, d, e) from stdin; -- non-existent column in column list: should fail COPY x (xyz) from stdin; +\. -- redundant options COPY x from stdin (format CSV, FORMAT CSV); +\. COPY x from stdin (freeze off, freeze on); +\. COPY x from stdin (delimiter ',', delimiter ','); +\. COPY x from stdin (null ' ', null ' '); +\. COPY x from stdin (header off, header on); +\. COPY x from stdin (quote ':', quote ':'); +\. COPY x from stdin (escape ':', escape ':'); +\. COPY x from stdin (force_quote (a), force_quote *); +\. COPY x from stdin (force_not_null (a), force_not_null (b)); +\. COPY x from stdin (force_null (a), force_null (b)); +\. COPY x from stdin (convert_selectively (a), convert_selectively (b)); +\. COPY x from stdin (encoding 'sql_ascii', encoding 'sql_ascii'); +\. COPY x from stdin (on_error ignore, on_error ignore); +\. COPY x from stdin (log_verbosity default, log_verbosity verbose); +\. -- incorrect options COPY x from stdin (format BINARY, delimiter ','); +\. COPY x from stdin (format BINARY, null 'x'); +\. COPY x from stdin (format BINARY, on_error ignore); +\. COPY x from stdin (on_error unsupported); +\. COPY x from stdin (format TEXT, force_quote(a)); +\. COPY x from stdin (format TEXT, force_quote *); +\. COPY x from stdin (format CSV, force_quote(a)); +\. COPY x from stdin (format CSV, force_quote *); +\. COPY x from stdin (format TEXT, force_not_null(a)); +\. COPY x from stdin (format TEXT, force_not_null *); +\. COPY x to stdout (format CSV, force_not_null(a)); COPY x to stdout (format CSV, force_not_null *); COPY x from stdin (format TEXT, force_null(a)); +\. COPY x from stdin (format TEXT, force_null *); +\. COPY x to stdout (format CSV, force_null(a)); COPY x to stdout (format CSV, force_null *); COPY x to stdout (format BINARY, on_error unsupported); COPY x from stdin (log_verbosity unsupported); +\. COPY x from stdin with (reject_limit 1); +\. COPY x from stdin with (on_error ignore, reject_limit 0); +\. -- too many columns in column list: should fail COPY x (a, b, c, d, e, d, c) from stdin; +\. -- missing data: should fail COPY x from stdin; @@ -149,14 +180,19 @@ COPY x from stdin WHERE a > 60003; \. COPY x from stdin WHERE f > 60003; +\. COPY x from stdin WHERE a = max(x.b); +\. COPY x from stdin WHERE a IN (SELECT 1 FROM x); +\. COPY x from stdin WHERE a IN (generate_series(1,5)); +\. COPY x from stdin WHERE a = row_number() over(b); +\. -- check results of copy in @@ -353,10 +389,12 @@ ROLLBACK; -- should fail with "not referenced by COPY" error BEGIN; COPY forcetest (d, e) FROM STDIN WITH (FORMAT csv, FORCE_NOT_NULL(b)); +\. ROLLBACK; -- should fail with "not referenced by COPY" error BEGIN; COPY forcetest (d, e) FROM STDIN WITH (FORMAT csv, FORCE_NULL(b)); +\. ROLLBACK; -- should succeed with no effect ("b" remains an empty string, "c" remains NULL) BEGIN; @@ -382,10 +420,12 @@ SELECT b, c FROM forcetest WHERE a = 6; -- should fail with "conflicting or redundant options" error BEGIN; COPY forcetest (a, b, c) FROM STDIN WITH (FORMAT csv, FORCE_NOT_NULL *, FORCE_NOT_NULL(b)); +\. ROLLBACK; -- should fail with "conflicting or redundant options" error BEGIN; COPY forcetest (a, b, c) FROM STDIN WITH (FORMAT csv, FORCE_NULL *, FORCE_NULL(b)); +\. ROLLBACK; \pset null '' @@ -638,19 +678,25 @@ truncate copy_default; -- DEFAULT cannot be used in binary mode copy copy_default from stdin with (format binary, default '\D'); +\. -- DEFAULT cannot be new line nor carriage return copy copy_default from stdin with (default E'\n'); +\. copy copy_default from stdin with (default E'\r'); +\. -- DELIMITER cannot appear in DEFAULT spec copy copy_default from stdin with (delimiter ';', default 'test;test'); +\. -- CSV quote cannot appear in DEFAULT spec copy copy_default from stdin with (format csv, quote '"', default 'test"test'); +\. -- NULL and DEFAULT spec must be different copy copy_default from stdin with (default '\N'); +\. -- cannot use DEFAULT marker in column that has no DEFAULT value copy copy_default from stdin with (default '\D'); diff --git a/test/sql/postgres_regress/copyselect.sql b/test/sql/postgres_regress/copyselect.sql index e32a4f8e3..273a5f90a 100644 --- a/test/sql/postgres_regress/copyselect.sql +++ b/test/sql/postgres_regress/copyselect.sql @@ -42,6 +42,7 @@ copy (select t into temp test3 from test1 where id=3) to stdout; -- This should fail -- copy (select * from test1) from stdin; +\. -- -- This should fail -- diff --git a/test/sql/postgres_regress/encoding.sql b/test/sql/postgres_regress/encoding.sql index d591818c3..0c1bf17a2 100644 --- a/test/sql/postgres_regress/encoding.sql +++ b/test/sql/postgres_regress/encoding.sql @@ -228,6 +228,18 @@ ALTER TABLE toast_3b_utf8 RENAME TO toast_4b_utf8; UPDATE toast_4b_utf8 SET c = repeat(U&'\+01F680', 3000); SELECT SUBSTRING(c FROM 3000 FOR 1) FROM toast_4b_utf8; +-- ascii() and multibyte characters +SELECT ascii(test_bytea_to_text('\xc3')); +SELECT ascii(test_bytea_to_text('\xe2')); +SELECT ascii(test_bytea_to_text('\xe282')); +SELECT ascii(test_bytea_to_text('\xf0')); +SELECT ascii(test_bytea_to_text('\xf09f')); +SELECT ascii(test_bytea_to_text('\xf09f98')); +-- invalid continuation byte +SELECT ascii(test_bytea_to_text('\xc3ff')); +-- invalid leading byte +SELECT ascii(test_bytea_to_text('\x80')); + DROP TABLE encoding_tests; DROP TABLE toast_4b_utf8; DROP FUNCTION test_encoding; diff --git a/test/sql/postgres_regress/generated_stored.sql b/test/sql/postgres_regress/generated_stored.sql index 6abae289f..4d002f236 100644 --- a/test/sql/postgres_regress/generated_stored.sql +++ b/test/sql/postgres_regress/generated_stored.sql @@ -216,10 +216,13 @@ COPY gtest1 FROM stdin; \. COPY gtest1 (a, b) FROM stdin; +\. COPY gtest1 FROM stdin WHERE b <> 10; +\. COPY gtest1 FROM stdin WHERE gtest1 IS NULL; +\. SELECT * FROM gtest1 ORDER BY a; @@ -236,6 +239,7 @@ COPY gtest3 FROM stdin; \. COPY gtest3 (a, b) FROM stdin; +\. SELECT * FROM gtest3 ORDER BY a; @@ -597,6 +601,21 @@ ALTER TABLE ONLY gtest30 ALTER COLUMN b DROP EXPRESSION; -- error \d gtest30 \d gtest30_1 ALTER TABLE gtest30_1 ALTER COLUMN b DROP EXPRESSION; -- error +BEGIN; +CREATE TABLE gtest30_1_1 () INHERITS (gtest30_1); +ALTER TABLE gtest30 ALTER COLUMN b DROP EXPRESSION; +\d gtest30_1_1 +ROLLBACK; + +-- test drop expression with subpartitions +CREATE TABLE gtest_root (a int, b int, c int GENERATED ALWAYS AS (a + b) STORED) PARTITION BY LIST (a); +CREATE TABLE gtest_node PARTITION OF gtest_root FOR VALUES IN (1) PARTITION BY LIST (b); +CREATE TABLE gtest_leaf PARTITION OF gtest_node FOR VALUES IN (1); +ALTER TABLE gtest_node ALTER COLUMN c DROP EXPRESSION; -- fails +ALTER TABLE ONLY gtest_root ALTER COLUMN c DROP EXPRESSION; -- fails +ALTER TABLE gtest_root ALTER COLUMN c DROP EXPRESSION; +\d gtest_(root|node|leaf) +DROP TABLE gtest_root; -- composite type dependencies CREATE TABLE gtest31_1 (a int, b text GENERATED ALWAYS AS ('hello') STORED, c text); diff --git a/test/sql/postgres_regress/generated_virtual.sql b/test/sql/postgres_regress/generated_virtual.sql index 0ba8c6260..b1b92b2ce 100644 --- a/test/sql/postgres_regress/generated_virtual.sql +++ b/test/sql/postgres_regress/generated_virtual.sql @@ -216,10 +216,13 @@ COPY gtest1 FROM stdin; \. COPY gtest1 (a, b) FROM stdin; +\. COPY gtest1 FROM stdin WHERE b <> 10; +\. COPY gtest1 FROM stdin WHERE gtest1 IS NULL; +\. SELECT * FROM gtest1 ORDER BY a; @@ -236,6 +239,7 @@ COPY gtest3 FROM stdin; \. COPY gtest3 (a, b) FROM stdin; +\. SELECT * FROM gtest3 ORDER BY a; @@ -366,6 +370,27 @@ INSERT INTO gtest21b (a) VALUES (NULL); -- error ALTER TABLE gtest21b ALTER COLUMN b DROP NOT NULL; INSERT INTO gtest21b (a) VALUES (0); -- ok now +-- virtual generated columns are not physically stored, even when not null +CREATE TABLE gtest21c (a int NOT NULL, b int GENERATED ALWAYS AS (a * 2) VIRTUAL NOT NULL, c int NOT NULL); +INSERT INTO gtest21c (a, c) VALUES (10, 42); +SELECT a, b, c FROM gtest21c; +DROP TABLE gtest21c; + +-- try adding a virtual generated column to an existing table with tuples, +-- then try adding an atthasmissing column before adding a normal nullable +-- column. +CREATE TABLE gtest21d (a int NOT NULL); +INSERT INTO gtest21d (a) VALUES(10); +ALTER TABLE gtest21d ADD COLUMN b INT GENERATED ALWAYS AS (a * 10) VIRTUAL NOT NULL; +SELECT * FROM gtest21d ORDER BY a; +INSERT INTO gtest21d (a) VALUES(20); +ALTER TABLE gtest21d ADD COLUMN c INT NOT NULL DEFAULT 1234; +SELECT * FROM gtest21d ORDER BY a; +ALTER TABLE gtest21d ADD COLUMN d INT; +INSERT INTO gtest21d (a, c, d) VALUES(30, 12345, 100); +SELECT * FROM gtest21d ORDER BY a; +DROP TABLE gtest21d; + -- not-null constraint with partitioned table CREATE TABLE gtestnn_parent ( f1 int, diff --git a/test/sql/postgres_regress/gist.sql b/test/sql/postgres_regress/gist.sql index 6f1fc65f1..1ebb1d9ee 100644 --- a/test/sql/postgres_regress/gist.sql +++ b/test/sql/postgres_regress/gist.sql @@ -169,6 +169,35 @@ explain (verbose, costs off) select p from gist_tbl order by circle(p,1) <-> point(0,0) limit 1; select p from gist_tbl order by circle(p,1) <-> point(0,0) limit 1; +-- Test that an index-only scan deforms the tuple it reconstructs with the +-- descriptor the AM formed it with, not the scan slot's descriptor. +create temp table gist_ios_tupdesc (a inet, r numrange); + +-- range_ops forms its tuples using the opclass input type, the polymorphic +-- anyrange (alignment 'd'), while the scan slot uses the actual range type +-- numrange (alignment 'i'). A buggy implementation will incorrectly access +-- the r/numrange column at the wrong offset. +-- +-- The range bounds are made long so the value needs a four-byte varlena +-- header; shorter values get a one-byte header and are stored without +-- alignment padding, which would mask the problem. +insert into gist_ios_tupdesc +values ( + '::1', -- shifts "r" datum value to differing offset + numrange(repeat('7', 200)::numeric, repeat('8', 200)::numeric)); +create index on gist_ios_tupdesc using gist (a inet_ops, r); +vacuum analyze gist_ios_tupdesc; + +explain (costs off) +select lower(r) = repeat('7', 200)::numeric as lower_ok, + upper(r) = repeat('8', 200)::numeric as upper_ok + from gist_ios_tupdesc where r && numrange(null, null); +select lower(r) = repeat('7', 200)::numeric as lower_ok, + upper(r) = repeat('8', 200)::numeric as upper_ok + from gist_ios_tupdesc where r && numrange(null, null); + +drop table gist_ios_tupdesc; + -- Force an index build using buffering. create index gist_tbl_box_index_forcing_buffering on gist_tbl using gist (p) with (buffering=on, fillfactor=50); diff --git a/test/sql/postgres_regress/hash_part.sql b/test/sql/postgres_regress/hash_part.sql index 6e2c1f21b..7243299d9 100644 --- a/test/sql/postgres_regress/hash_part.sql +++ b/test/sql/postgres_regress/hash_part.sql @@ -35,6 +35,9 @@ SELECT satisfies_hash_partition('mchash'::regclass, NULL, 0, NULL); -- remainder is null SELECT satisfies_hash_partition('mchash'::regclass, 4, NULL, NULL); +-- variadic null +SELECT satisfies_hash_partition('mchash'::regclass, 4, 0, VARIADIC NULL::int[]); + -- too many arguments SELECT satisfies_hash_partition('mchash'::regclass, 4, 0, NULL::int, NULL::text, NULL::json); diff --git a/test/sql/postgres_regress/indexing.sql b/test/sql/postgres_regress/indexing.sql index 706a6ec04..0f302f07a 100644 --- a/test/sql/postgres_regress/indexing.sql +++ b/test/sql/postgres_regress/indexing.sql @@ -993,3 +993,17 @@ reindex index test_pg_index_toast_index; drop index test_pg_index_toast_index; drop function test_pg_index_toast_func; drop table test_pg_index_toast_table; + +-- Test of a partitioned index attach, when there are exclusion constraints. +create table idx_excl_part (a int4range, b int4range) partition by list (a); +create table idx_excl_part_1 (a int4range, b int4range); +alter table only idx_excl_part attach partition idx_excl_part_1 for values in ('[0,1)'::int4range); +alter table only idx_excl_part add constraint idxpart_id_data_excl exclude using gist (a with =, b with &&); +alter table idx_excl_part_1 add constraint idxpart_1_id_data_excl exclude using gist (a with &&, b with &&); +-- This should be disallowed, because the constraints don't match. +alter index idxpart_id_data_excl attach partition idxpart_1_id_data_excl; +-- but if we recreate the constraint differently, it's allowed: +alter table idx_excl_part_1 drop constraint idxpart_1_id_data_excl; +alter table idx_excl_part_1 add constraint idxpart_1_id_data_excl exclude using gist (a with =, b with &&); +alter index idxpart_id_data_excl attach partition idxpart_1_id_data_excl; +-- leave these tables around, for pg_upgrade testing diff --git a/test/sql/postgres_regress/join.sql b/test/sql/postgres_regress/join.sql index 3ac1ac690..478c8e59c 100644 --- a/test/sql/postgres_regress/join.sql +++ b/test/sql/postgres_regress/join.sql @@ -1376,6 +1376,16 @@ select * from (select 1 as x) ss1 left join (select 2 as y) ss2 on (true), lateral (select ss2.y as z limit 1) ss3; +-- Also, we mustn't remove an RTE_RESULT that is the only baserel where a PHV +-- can be evaluated, even when the PHV's phrels also mention an outer join. +explain (verbose, costs off) +select * from (values (1),(2)) v(x) + left join (select q from (select 7 as q from (select where false) ss1) ss2 + left join (select 8 as z) ss3 on true) ss4 on true; +select * from (values (1),(2)) v(x) + left join (select q from (select 7 as q from (select where false) ss1) ss2 + left join (select 8 as z) ss3 on true) ss4 on true; + -- This example demonstrates the folly of our old "have_dangerous_phv" logic begin; set local from_collapse_limit to 2; @@ -2342,6 +2352,25 @@ CREATE TEMP TABLE parted_b1 partition of parted_b for values from (0) to (10); explain (costs off) select a.* from a left join parted_b pb on a.b_id = pb.id; +-- test that clauses that still embed PHVs are not referencing the removed +-- relation when rebuilt for a partition of the kept relation +explain (costs off) +select 1 from (select t1.id from parted_b t1 left join parted_b t2 on t1.id = t2.id) s +where s.id = 1 group by (); + +explain (costs off) +select 1 from parted_b t1 + join (select t2.id from parted_b t2 left join parted_b t3 on t2.id = t3.id) s + on t1.id = s.id +group by (); + +-- likewise for a PHV embedded in an OR join clause +explain (costs off) +select 1 from parted_b t1 + join (select t2.id from parted_b t2 left join parted_b t3 on t2.id = t3.id) s + on (t1.id = 1 and s.id = 2) or (t1.id = 3 and s.id = 4) +group by (); + rollback; create temp table parent (k int primary key, pd int); diff --git a/test/sql/postgres_regress/jsonb_jsonpath.sql b/test/sql/postgres_regress/jsonb_jsonpath.sql index 3e8929a52..6fa4a5c0b 100644 --- a/test/sql/postgres_regress/jsonb_jsonpath.sql +++ b/test/sql/postgres_regress/jsonb_jsonpath.sql @@ -523,6 +523,13 @@ select jsonb_path_query('0.0012345', '$.decimal(2,4)'); select jsonb_path_query('-0.00123456', '$.decimal(2,-4)'); select jsonb_path_query('12.3', '$.decimal(12345678901,1)'); select jsonb_path_query('12.3', '$.decimal(1,12345678901)'); +-- An out-of-range precision or scale does not fail in silent mode. +select jsonb_path_query('12345.678', '$.decimal(0, 6)', silent => true); +select jsonb_path_query('12345.678', '$.decimal(1001, 6)', silent => true); +select jsonb_path_query('1234.5678', '$.decimal(-6, +2)', silent => true); +select jsonb_path_query('1234.5678', '$.decimal(6, -1001)', silent => true); +select jsonb_path_query('1234.5678', '$.decimal(6, 1001)', silent => true); +select '1234.5678'::jsonb @? '$.decimal(0)'; -- Test .integer() select jsonb_path_query('null', '$.integer()'); diff --git a/test/sql/postgres_regress/money.sql b/test/sql/postgres_regress/money.sql index b888ec21c..d769a2110 100644 --- a/test/sql/postgres_regress/money.sql +++ b/test/sql/postgres_regress/money.sql @@ -142,6 +142,10 @@ SELECT '-92233720368547758.08'::money - '0.01'::money; SELECT '92233720368547758.07'::money * 2::float8; SELECT '-1'::money / 1.175494e-38::float4; SELECT '92233720368547758.07'::money * 2::int4; +SELECT '-92233720368547758.08'::money * -1::int8; +SELECT '-92233720368547758.08'::money / -1::int8; +SELECT '-92233720368547758.08'::money / -1::int4; +SELECT '-92233720368547758.08'::money / -1::int2; SELECT '1'::money / 0::int2; SELECT '42'::money * 'inf'::float8; SELECT '42'::money * '-inf'::float8; diff --git a/test/sql/postgres_regress/object_address.sql b/test/sql/postgres_regress/object_address.sql index 1a6c61f49..119ef9ed0 100644 --- a/test/sql/postgres_regress/object_address.sql +++ b/test/sql/postgres_regress/object_address.sql @@ -46,6 +46,10 @@ ALTER DEFAULT PRIVILEGES FOR ROLE regress_addr_user REVOKE DELETE ON TABLES FROM CREATE TRANSFORM FOR int LANGUAGE SQL ( FROM SQL WITH FUNCTION prsd_lextype(internal), TO SQL WITH FUNCTION int4recv(internal)); +-- make a function that uses it too, mainly to exercise pg_dump +CREATE FUNCTION public.sql_func_with_transform(int) RETURNS int LANGUAGE sql +AS 'select $1 + 1' +TRANSFORM FOR TYPE int; -- suppress warning that depends on wal_level SET client_min_messages = 'ERROR'; CREATE PUBLICATION addr_pub FOR TABLE addr_nsp.gentable; diff --git a/test/sql/postgres_regress/partition_prune.sql b/test/sql/postgres_regress/partition_prune.sql index 359a92080..dac673ef8 100644 --- a/test/sql/postgres_regress/partition_prune.sql +++ b/test/sql/postgres_regress/partition_prune.sql @@ -118,6 +118,26 @@ explain (costs off) select * from rlp where a > 1 and a >=15; /* rlp3 onwards, i explain (costs off) select * from rlp where a = 1 and a = 3; /* empty */ explain (costs off) select * from rlp where (a = 1 and a = 3) or (a > 1 and a = 15); +-- Test cases for range partitioned tables with IN clauses. +create table rangepart (a int) partition by range (a); +create table rangepart1 partition of rangepart for values from (0) to (10); +create table rangepart2 partition of rangepart for values from (10) to (20); +create table rangepart_def partition of rangepart default; + +-- Ensure we scan all apart from the default partition +explain (costs off) select * from rangepart where a in(5,15); + +-- Ensure we scan only the default +explain (costs off) select * from rangepart where a in(20,21); + +-- Ensure we scan only the default +explain (costs off) select * from rangepart where a in(-1,20); + +-- Ensure we scan all partitions +explain (costs off) select * from rangepart where a is not null and a in(-1,5,15,20); + +drop table rangepart; + -- multi-column keys create table mc3p (a int, b int, c int) partition by range (a, abs(b), c); create table mc3p_default partition of mc3p default; diff --git a/test/sql/postgres_regress/privileges.sql b/test/sql/postgres_regress/privileges.sql index 75fe68df3..f30d06725 100644 --- a/test/sql/postgres_regress/privileges.sql +++ b/test/sql/postgres_regress/privileges.sql @@ -253,6 +253,7 @@ BEGIN; LOCK atest2 IN ACCESS EXCLUSIVE MODE; -- fail COMMIT; COPY atest2 FROM stdin; -- fail +\. GRANT ALL ON atest1 TO PUBLIC; -- fail -- checks in subquery, both ok @@ -296,6 +297,7 @@ BEGIN; LOCK atest2 IN ACCESS EXCLUSIVE MODE; -- ok COMMIT; COPY atest2 FROM stdin; -- fail +\. -- checks in subquery, both fail SELECT * FROM atest1 WHERE ( b IN ( SELECT col1 FROM atest2 ) ); @@ -543,6 +545,7 @@ SELECT one, two FROM atest5 NATURAL JOIN atest6; -- ok now -- test column-level privileges for INSERT and UPDATE INSERT INTO atest5 (two) VALUES (3); -- ok COPY atest5 FROM stdin; -- fail +\. COPY atest5 (two) FROM stdin; -- ok 1 \. @@ -941,18 +944,24 @@ CREATE CAST (priv_testdomain1 AS priv_testdomain3a) WITH FUNCTION castfunc(int); DROP FUNCTION castfunc(int) CASCADE; DROP DOMAIN priv_testdomain3a; +CREATE DOMAIN priv_testdomain4a AS int CHECK (VALUE > ('(0,1)'::priv_testtype1).a); + CREATE FUNCTION priv_testfunc5a(a priv_testdomain1) RETURNS int LANGUAGE SQL AS $$ SELECT $1 $$; CREATE FUNCTION priv_testfunc6a(b int) RETURNS priv_testdomain1 LANGUAGE SQL AS $$ SELECT $1::priv_testdomain1 $$; +CREATE FUNCTION priv_testfunc7a(a int DEFAULT ('(0,1)'::priv_testtype1).a) RETURNS int LANGUAGE SQL AS $$ SELECT $1 $$; CREATE OPERATOR !+! (PROCEDURE = int4pl, LEFTARG = priv_testdomain1, RIGHTARG = priv_testdomain1); CREATE TABLE test5a (a int, b priv_testdomain1); CREATE TABLE test6a OF priv_testtype1; +CREATE TABLE test6a2 (a int, b text); +ALTER TABLE test6a2 OF priv_testtype1; CREATE TABLE test10a (a int[], b priv_testtype1[]); CREATE TABLE test9a (a int, b int); ALTER TABLE test9a ADD COLUMN c priv_testdomain1; ALTER TABLE test9a ALTER COLUMN b TYPE priv_testdomain1; +CREATE INDEX ON test9a ((a::priv_testdomain1)); CREATE TYPE test7a AS (a int, b priv_testdomain1); @@ -960,10 +969,19 @@ CREATE TYPE test8a AS (a int, b int); ALTER TYPE test8a ADD ATTRIBUTE c priv_testdomain1; ALTER TYPE test8a ALTER ATTRIBUTE b TYPE priv_testdomain1; +CREATE DOMAIN priv_testdomain5a AS test8a CHECK ((VALUE).a > 0 AND ('(0,1)'::priv_testtype1).a >= 0); + CREATE TABLE test11a AS (SELECT 1::priv_testdomain1 AS a); +CREATE VIEW test16a AS SELECT ('(0,1)'::priv_testtype1).a; +CREATE TABLE test17a (a int) PARTITION BY RANGE ((a + ('(0,1)'::priv_testtype1).a)); +CREATE POLICY priv_testpolicy1a ON test9a USING (('(0,1)'::priv_testtype1).a > 0); + REVOKE ALL ON TYPE priv_testtype1 FROM PUBLIC; +CREATE TABLE test12 (c int DEFAULT 0 CHECK (c > 0 AND '(0,1)'::priv_testtype1 IS NOT NULL)); +CREATE TABLE test13 (c int DEFAULT ('(0,1)'::priv_testtype1).a); + SET SESSION AUTHORIZATION regress_priv_user2; -- commands that should succeed @@ -976,18 +994,24 @@ CREATE DOMAIN priv_testdomain3b AS int; CREATE FUNCTION castfunc(int) RETURNS priv_testdomain3b AS $$ SELECT $1::priv_testdomain3b $$ LANGUAGE SQL; CREATE CAST (priv_testdomain1 AS priv_testdomain3b) WITH FUNCTION castfunc(int); +CREATE DOMAIN priv_testdomain4b AS int CHECK (VALUE > ('(0,1)'::priv_testtype1).a); + CREATE FUNCTION priv_testfunc5b(a priv_testdomain1) RETURNS int LANGUAGE SQL AS $$ SELECT $1 $$; CREATE FUNCTION priv_testfunc6b(b int) RETURNS priv_testdomain1 LANGUAGE SQL AS $$ SELECT $1::priv_testdomain1 $$; +CREATE FUNCTION priv_testfunc7b(a int DEFAULT ('(0,1)'::priv_testtype1).a) RETURNS int LANGUAGE SQL AS $$ SELECT $1 $$; CREATE OPERATOR !! (PROCEDURE = priv_testfunc5b, RIGHTARG = priv_testdomain1); CREATE TABLE test5b (a int, b priv_testdomain1); CREATE TABLE test6b OF priv_testtype1; +CREATE TABLE test6b2 (a int, b text); +ALTER TABLE test6b2 OF priv_testtype1; CREATE TABLE test10b (a int[], b priv_testtype1[]); CREATE TABLE test9b (a int, b int); ALTER TABLE test9b ADD COLUMN c priv_testdomain1; ALTER TABLE test9b ALTER COLUMN b TYPE priv_testdomain1; +CREATE INDEX ON test9b ((a::priv_testdomain1)); CREATE TYPE test7b AS (a int, b priv_testdomain1); @@ -995,18 +1019,41 @@ CREATE TYPE test8b AS (a int, b int); ALTER TYPE test8b ADD ATTRIBUTE c priv_testdomain1; ALTER TYPE test8b ALTER ATTRIBUTE b TYPE priv_testdomain1; +CREATE DOMAIN priv_testdomain5b AS test8b CHECK ((VALUE).a > 0 AND ('(0,1)'::priv_testtype1).a >= 0); + CREATE TABLE test11b AS (SELECT 1::priv_testdomain1 AS a); +CREATE VIEW test16b AS SELECT ('(0,1)'::priv_testtype1).a; +CREATE TABLE test17b (a int) PARTITION BY RANGE ((a + ('(0,1)'::priv_testtype1).a)); +CREATE POLICY priv_testpolicy1b ON test9b USING (('(0,1)'::priv_testtype1).a > 0); + REVOKE ALL ON TYPE priv_testtype1 FROM PUBLIC; +CREATE TABLE test12 (c int DEFAULT 0 CHECK (c > 0 AND '(0,1)'::priv_testtype1 IS NOT NULL)); +CREATE TABLE test13 (c int DEFAULT ('(0,1)'::priv_testtype1).a); + +-- new stored expressions require USAGE on types, rebuilds do not +\c - +REVOKE USAGE ON TYPE priv_testtype1 FROM regress_priv_user2; +SET SESSION AUTHORIZATION regress_priv_user2; +ALTER TABLE test12 ALTER COLUMN c TYPE bigint; +ALTER TYPE test8b ALTER ATTRIBUTE a TYPE bigint CASCADE; +ALTER TABLE test12 ALTER COLUMN c SET DEFAULT ('(0,1)'::priv_testtype1).a; +CREATE TABLE test14 (LIKE test12 INCLUDING CONSTRAINTS); +CREATE TABLE test15 (LIKE test13 INCLUDING DEFAULTS); + \c - DROP AGGREGATE priv_testagg1b(priv_testdomain1); DROP DOMAIN priv_testdomain2b; +DROP DOMAIN priv_testdomain4b; +DROP DOMAIN priv_testdomain5b; DROP OPERATOR !! (NONE, priv_testdomain1); DROP FUNCTION priv_testfunc5b(a priv_testdomain1); DROP FUNCTION priv_testfunc6b(b int); +DROP FUNCTION priv_testfunc7b(a int); DROP TABLE test5b; DROP TABLE test6b; +DROP TABLE test6b2; DROP TABLE test9b; DROP TABLE test10b; DROP TYPE test7b; @@ -1014,7 +1061,11 @@ DROP TYPE test8b; DROP CAST (priv_testdomain1 AS priv_testdomain3b); DROP FUNCTION castfunc(int) CASCADE; DROP DOMAIN priv_testdomain3b; +DROP VIEW test16b; DROP TABLE test11b; +DROP TABLE test17b; +DROP TABLE test12; +DROP TABLE test13; DROP TYPE priv_testtype1; -- ok DROP DOMAIN priv_testdomain1; -- ok diff --git a/test/sql/postgres_regress/psql.sql b/test/sql/postgres_regress/psql.sql index f064e4f54..f4a4486be 100644 --- a/test/sql/postgres_regress/psql.sql +++ b/test/sql/postgres_regress/psql.sql @@ -483,6 +483,17 @@ execute q; deallocate q; +-- expanded output with short-width columns +\pset border 2 +\pset expanded on +create table psql_short_tab(a int, b int); +insert into psql_short_tab values(10,20),(30,40); +\pset format aligned +select * from psql_short_tab; +\pset format wrapped +select * from psql_short_tab; +drop table psql_short_tab; + \pset linestyle ascii \pset border 1 @@ -1099,6 +1110,17 @@ select \if false \\ (bogus \else \\ 42 \endif \\ forty_two; \echo 'should print #8-1' \endif +-- test that begin/end matching ignores to-be-ignored text +create function silly_function(int) returns int +begin atomic select $1; +\if false +end +\endif +; +end; +\sf silly_function(int) +drop function silly_function(int); + -- :{?...} defined variable test \set i 1 \if :{?i} @@ -1545,6 +1567,15 @@ SELECT line FROM reload_output ORDER BY lineno; DROP TABLE reload_output; +-- \copy must skip in-line data, even if the issued COPY command fails. +\copy no_such_table from stdin +foo +\echo this should not get output +bar +\echo this should not get output +\. +\echo this should get output + -- -- AUTOCOMMIT and combined queries -- diff --git a/test/sql/postgres_regress/psql_pipeline.sql b/test/sql/postgres_regress/psql_pipeline.sql index 6788dceee..468ef1d09 100644 --- a/test/sql/postgres_regress/psql_pipeline.sql +++ b/test/sql/postgres_regress/psql_pipeline.sql @@ -438,5 +438,68 @@ SELECT 1 \bind \sendpipeline VACUUM psql_pipeline \bind \sendpipeline \endpipeline +-- Deferred constraint violation at commit time in a pipeline. +CREATE TABLE psql_pipeline_defer (a INTEGER PRIMARY KEY DEFERRABLE INITIALLY DEFERRED); +\startpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) RETURNING * \bind 1 \sendpipeline +\endpipeline + +-- Same with \syncpipeline and commands after the failing sync. +\startpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) \bind 1 \sendpipeline +\syncpipeline +SELECT $1 \bind 'after_sync_1' \sendpipeline +\endpipeline + +-- More patterns with more \syncpipeline, more commands and \getresults +\startpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) \bind 1 \sendpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) \bind 1 \sendpipeline +\syncpipeline +SELECT $1 \bind 'after_sync_1' \sendpipeline +\getresults +SELECT $1 \bind 'after_sync_2' \sendpipeline +\endpipeline +\startpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) \bind 1 \sendpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) \bind 1 \sendpipeline +\syncpipeline +\getresults +SELECT $1 \bind 'after_sync_1' \sendpipeline +\getresults +SELECT $1 \bind 'after_sync_2' \sendpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) \bind 1 \sendpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) \bind 1 \sendpipeline +SELECT $1 \bind 'after_sync_3' \sendpipeline +SELECT $1 \bind 'after_sync_4' \sendpipeline +SELECT $1 \bind 'after_sync_5' \sendpipeline +\endpipeline + +-- Deferred error combined with a regular command error after the sync. +\startpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) \bind 1 \sendpipeline +\syncpipeline +SELECT $1 \bind \sendpipeline +SELECT $1 \bind 'after_error' \sendpipeline +\endpipeline + +-- Empty sync segment followed by a deferred error. +\startpipeline +\syncpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) \bind 1 \sendpipeline +\endpipeline + +-- Deferred error with \getresults reading results one at a time. +\startpipeline +INSERT INTO psql_pipeline_defer VALUES ($1), ($1) \bind 1 \sendpipeline +SELECT $1 \bind 'partial' \sendpipeline +\syncpipeline +\getresults 1 +\getresults 1 +\getresults +\endpipeline + +DROP TABLE psql_pipeline_defer; + -- Clean up DROP TABLE psql_pipeline; diff --git a/test/sql/postgres_regress/rangetypes.sql b/test/sql/postgres_regress/rangetypes.sql index a5ecdf537..bad1b5afc 100644 --- a/test/sql/postgres_regress/rangetypes.sql +++ b/test/sql/postgres_regress/rangetypes.sql @@ -434,6 +434,20 @@ select '[2010-01-01 01:00:00 -05, 2010-01-01 02:00:00 -08)'::tstzrange; select '[2010-01-01 01:00:00 -08, 2010-01-01 02:00:00 -05)'::tstzrange; set timezone to default; +-- CREATE TYPE AS RANGE checks for USAGE on subtype +CREATE ROLE regress_subtype; +CREATE TYPE mytype AS (a INT, b INT); +REVOKE USAGE ON TYPE mytype FROM PUBLIC; +SET ROLE regress_subtype; +CREATE TYPE myrange AS RANGE (subtype = mytype); +RESET ROLE; +GRANT USAGE ON TYPE mytype TO regress_subtype; +SET ROLE regress_subtype; +CREATE TYPE myrange AS RANGE (subtype = mytype); +RESET ROLE; +DROP TYPE mytype CASCADE; +DROP ROLE regress_subtype; + -- -- Test user-defined range of floats -- (type float8range was already made in test_setup.sql) diff --git a/test/sql/postgres_regress/returning.sql b/test/sql/postgres_regress/returning.sql index cc99cb53f..133e11585 100644 --- a/test/sql/postgres_regress/returning.sql +++ b/test/sql/postgres_regress/returning.sql @@ -243,6 +243,17 @@ DELETE FROM foo WHERE f1 = 5 RETURNING old.tableoid::regclass, old.ctid, old.*, new.tableoid::regclass, new.ctid, new.*, *; +-- Parenthesized OLD and NEW +INSERT INTO foo VALUES (6, 'paren-test', 60, 600) + RETURNING old, (old).f4, (old).*, + new, (new).f4, (new).*; +UPDATE foo SET f4 = 700 WHERE f1 = 6 + RETURNING old, (old).f4, (old).*, + new, (new).f4, (new).*; +DELETE FROM foo WHERE f1 = 6 + RETURNING old, (old).f4, (old).*, + new, (new).f4, (new).*; + -- RETURNING OLD and NEW from subquery EXPLAIN (verbose, costs off) INSERT INTO foo VALUES (5, 'subquery test') diff --git a/test/sql/postgres_regress/rowsecurity.sql b/test/sql/postgres_regress/rowsecurity.sql index 21ac0ca51..c08b56bda 100644 --- a/test/sql/postgres_regress/rowsecurity.sql +++ b/test/sql/postgres_regress/rowsecurity.sql @@ -1653,8 +1653,10 @@ COPY copy_t FROM STDIN; --ok SET SESSION AUTHORIZATION regress_rls_bob; SET row_security TO OFF; COPY copy_t FROM STDIN; --fail - would be affected by RLS. +\. SET row_security TO ON; COPY copy_t FROM STDIN; --fail - COPY FROM not supported by RLS. +\. -- Check COPY FROM as user with permissions and BYPASSRLS SET SESSION AUTHORIZATION regress_rls_exempt_user; @@ -1670,8 +1672,10 @@ COPY copy_t FROM STDIN; --ok SET SESSION AUTHORIZATION regress_rls_carol; SET row_security TO OFF; COPY copy_t FROM STDIN; --fail - permission denied. +\. SET row_security TO ON; COPY copy_t FROM STDIN; --fail - permission denied. +\. RESET SESSION AUTHORIZATION; DROP TABLE copy_t; diff --git a/test/sql/postgres_regress/rules.sql b/test/sql/postgres_regress/rules.sql index fdd3ff1d1..4b6653981 100644 --- a/test/sql/postgres_regress/rules.sql +++ b/test/sql/postgres_regress/rules.sql @@ -1087,6 +1087,7 @@ SELECT * FROM rule_v1; ALTER RULE InsertRule ON rule_v1 RENAME TO NewInsertRule; -- doesn't exist ALTER RULE NewInsertRule ON rule_v1 RENAME TO "_RETURN"; -- already exists ALTER RULE "_RETURN" ON rule_v1 RENAME TO abc; -- ON SELECT rule cannot be renamed +ALTER RULE rtest_t4_ins1 ON rtest_t4 RENAME TO "_RETURN"; -- also disallowed DROP VIEW rule_v1; DROP TABLE rule_t1; diff --git a/test/sql/postgres_regress/sqljson.sql b/test/sql/postgres_regress/sqljson.sql index 343d344d2..a995bfa91 100644 --- a/test/sql/postgres_regress/sqljson.sql +++ b/test/sql/postgres_regress/sqljson.sql @@ -395,6 +395,28 @@ SELECT NULL::text IS JSON; SELECT NULL::bytea IS JSON; SELECT NULL::int IS JSON; +-- A user-defined string-category type with no implicit cast to text must +-- produce a clean error rather than crash for IS JSON / JSON() input +-- (per bug #19491). +CREATE FUNCTION sqljson_mystr_in(cstring) RETURNS sqljson_mystr + AS 'textin' LANGUAGE internal IMMUTABLE STRICT; +CREATE FUNCTION sqljson_mystr_out(sqljson_mystr) RETURNS cstring + AS 'textout' LANGUAGE internal IMMUTABLE STRICT; +CREATE TYPE sqljson_mystr ( + INPUT = sqljson_mystr_in, + OUTPUT = sqljson_mystr_out, + LIKE = text, + CATEGORY = 'S' +); +SELECT '{"a":1}'::sqljson_mystr IS JSON; -- error +SELECT JSON('{"a":1}'::sqljson_mystr WITH UNIQUE KEYS); -- error +-- An implicit cast to text lets the same query work normally. +CREATE CAST (sqljson_mystr AS text) WITHOUT FUNCTION AS IMPLICIT; +SELECT '{"a":1}'::sqljson_mystr IS JSON; +\set VERBOSITY terse +DROP TYPE sqljson_mystr CASCADE; +\set VERBOSITY default + SELECT '' IS JSON; SELECT bytea '\x00' IS JSON; @@ -507,3 +529,44 @@ SELECT JSON_OBJECT('a': JSON_OBJECTAGG('b': stable_one() RETURNING text) FORMAT EXPLAIN (VERBOSE, COSTS OFF) SELECT JSON_OBJECT('a': JSON_OBJECTAGG('b': 1 RETURNING text) FORMAT JSON); SELECT JSON_OBJECT('a': JSON_OBJECTAGG('b': 1 RETURNING text) FORMAT JSON); DROP FUNCTION volatile_one, stable_one; + +-- Test deparsing of JSON aggregates that are computed below a WindowAgg +-- node. +EXPLAIN (VERBOSE, COSTS OFF) +SELECT i % 2 AS g, + JSON_ARRAYAGG(i ORDER BY i RETURNING jsonb) AS ja, + JSON_ARRAYAGG(i ORDER BY i RETURNING text) AS ja_text, + JSON_ARRAYAGG(i ORDER BY i NULL ON NULL RETURNING jsonb) AS ja_null, + JSON_OBJECTAGG(i: i ABSENT ON NULL RETURNING jsonb) AS jo_absent, + JSON_OBJECTAGG(i: i WITH UNIQUE RETURNING jsonb) AS jo_unique, + row_number() OVER (ORDER BY i % 2) AS rn +FROM generate_series(1, 3) i +GROUP BY i % 2; +SELECT i % 2 AS g, + JSON_ARRAYAGG(i ORDER BY i RETURNING jsonb) AS ja, + JSON_ARRAYAGG(i ORDER BY i RETURNING text) AS ja_text, + JSON_ARRAYAGG(i ORDER BY i NULL ON NULL RETURNING jsonb) AS ja_null, + JSON_OBJECTAGG(i: i ABSENT ON NULL RETURNING jsonb) AS jo_absent, + JSON_OBJECTAGG(i: i WITH UNIQUE RETURNING jsonb) AS jo_unique, + row_number() OVER (ORDER BY i % 2) AS rn +FROM generate_series(1, 3) i +GROUP BY i % 2; + +-- The same, but with the JSON aggregate used as a window function that is +-- computed below another WindowAgg node. +EXPLAIN (VERBOSE, COSTS OFF) +SELECT JSON_ARRAYAGG(i NULL ON NULL RETURNING jsonb) OVER (ORDER BY i DESC) AS ja, + row_number() OVER (ORDER BY i) AS rn +FROM generate_series(1, 3) i; +SELECT JSON_ARRAYAGG(i NULL ON NULL RETURNING jsonb) OVER (ORDER BY i DESC) AS ja, + row_number() OVER (ORDER BY i) AS rn +FROM generate_series(1, 3) i; + +-- The same, but with the expression containing the JSON aggregate postponed +-- to above the final sort due to being volatile. +EXPLAIN (VERBOSE, COSTS OFF) +SELECT i % 2 AS g, + JSON_ARRAYAGG(i RETURNING text) || random()::text AS ja +FROM generate_series(1, 3) i +GROUP BY i % 2 +ORDER BY count(*); diff --git a/test/sql/postgres_regress/sqljson_jsontable.sql b/test/sql/postgres_regress/sqljson_jsontable.sql index 154eea79c..41824094b 100644 --- a/test/sql/postgres_regress/sqljson_jsontable.sql +++ b/test/sql/postgres_regress/sqljson_jsontable.sql @@ -132,6 +132,15 @@ SELECT * FROM JSON_TABLE(jsonb '{"d1": "foo"}', '$' SELECT * FROM JSON_TABLE(jsonb '{"d1": "foo"}', '$' COLUMNS (js1 oid[] PATH '$.d2' DEFAULT '{1}'::int[]::oid[] ON EMPTY)); +-- A DEFAULT expression whose base type matches the column type must still be +-- coerced to the column's typmod. +SELECT * FROM JSON_TABLE(jsonb '{}', '$' + COLUMNS (c numeric(4,1) PATH '$.x' DEFAULT 99999.999 ON EMPTY)); +SELECT * FROM JSON_TABLE(jsonb '{}', '$' + COLUMNS (c bit(3) PATH '$.x' DEFAULT b'10101' ON EMPTY)); +SELECT * FROM JSON_TABLE(jsonb '{}', '$' + COLUMNS (c numeric(4,1) PATH '$.x' DEFAULT abs(NULL::numeric) ON EMPTY)); + -- JSON_TABLE: Test backward parsing CREATE VIEW jsonb_table_view2 AS diff --git a/test/sql/postgres_regress/sqljson_queryfuncs.sql b/test/sql/postgres_regress/sqljson_queryfuncs.sql index a5d5e256d..879cc7db0 100644 --- a/test/sql/postgres_regress/sqljson_queryfuncs.sql +++ b/test/sql/postgres_regress/sqljson_queryfuncs.sql @@ -105,6 +105,14 @@ SELECT JSON_VALUE(jsonb '[" "]', '$[*]' RETURNING int DEFAULT 2 + 3 ON ERROR); SELECT JSON_VALUE(jsonb '["1"]', '$[*]' RETURNING int DEFAULT 2 + 3 ON ERROR); SELECT JSON_VALUE(jsonb '["1"]', '$[*]' RETURNING int FORMAT JSON); -- RETURNING FORMAT not allowed +-- A DEFAULT expression must be coerced to the RETURNING type's typmod even +-- when its base type already matches, but a matching NULL needs no coercion. +SELECT JSON_VALUE(jsonb '{}', '$.a' RETURNING numeric(4,1) DEFAULT 99999.999 ON EMPTY); +SELECT JSON_VALUE(jsonb '{}', '$.a' RETURNING varchar(3) DEFAULT 'toolong'::varchar(10) ON EMPTY); +SELECT JSON_VALUE(jsonb '{}', '$.a' RETURNING numeric(4,1) DEFAULT NULL::numeric ON EMPTY); +SELECT JSON_VALUE(jsonb '{}', '$.a' RETURNING bit(3) DEFAULT b'10101' ON EMPTY); +SELECT JSON_VALUE(jsonb '{}', '$.a' RETURNING numeric(4,1) DEFAULT abs(NULL::numeric) ON EMPTY); + -- RETUGNING pseudo-types not allowed SELECT JSON_VALUE(jsonb '["1"]', '$[*]' RETURNING record); diff --git a/test/sql/postgres_regress/stats_ext.sql b/test/sql/postgres_regress/stats_ext.sql index 7272f9d87..2a08c3825 100644 --- a/test/sql/postgres_regress/stats_ext.sql +++ b/test/sql/postgres_regress/stats_ext.sql @@ -41,6 +41,8 @@ CREATE STATISTICS tst ON (x || 'x'), (x || 'x'), (y + 1), (x || 'x'), (x || 'x') CREATE STATISTICS tst ON (x || 'x'), (x || 'x'), y FROM ext_stats_test; CREATE STATISTICS tst (unrecognized) ON x, y FROM ext_stats_test; -- unsupported targets +CREATE STATISTICS tst ON x, y FROM ext_stats_test, ext_stats_test; +CREATE STATISTICS tst ON x, y FROM ext_stats_test, (SELECT * FROM ext_stats_test) AS foo; CREATE STATISTICS tst ON a FROM (VALUES (x)) AS foo; CREATE STATISTICS tst ON a FROM foo NATURAL JOIN bar; CREATE STATISTICS tst ON a FROM (SELECT * FROM ext_stats_test) AS foo; @@ -1803,6 +1805,24 @@ DROP SCHEMA tststats CASCADE; DROP SCHEMA sts_sch1, sts_sch2 CASCADE; DROP USER regress_stats_user1; +-- CREATE STATISTICS checks for the owner +CREATE ROLE regress_relowner; +CREATE ROLE regress_stxowner; +CREATE TABLE stats_ext_tbl (a int, b int); +ALTER TABLE stats_ext_tbl OWNER TO regress_relowner; +CREATE STATISTICS tst ON a, b FROM stats_ext_tbl; +ALTER STATISTICS tst OWNER TO regress_stxowner; +SELECT stxowner::regrole FROM pg_statistic_ext WHERE stxname = 'tst'; + +-- re-creating statistics via ALTER TABLE preserve the statistics owner. +ALTER TABLE stats_ext_tbl ALTER COLUMN a TYPE bigint; +SELECT stxowner::regrole FROM pg_statistic_ext WHERE stxname = 'tst'; + +-- Tidy up +DROP TABLE stats_ext_tbl; +DROP ROLE regress_relowner; +DROP ROLE regress_stxowner; + CREATE TABLE grouping_unique (x integer); INSERT INTO grouping_unique (x) SELECT gs FROM generate_series(1,1000) AS gs; ANALYZE grouping_unique; diff --git a/test/sql/postgres_regress/stats_import.sql b/test/sql/postgres_regress/stats_import.sql index ee97fa6bc..0ba5791e2 100644 --- a/test/sql/postgres_regress/stats_import.sql +++ b/test/sql/postgres_regress/stats_import.sql @@ -15,6 +15,12 @@ CREATE TABLE stats_import.test( tags text[] ) WITH (autovacuum_enabled = false); +CREATE TABLE stats_import.test_mr( + id INTEGER PRIMARY KEY, + name text, + mrange int4multirange +) WITH (autovacuum_enabled = false); + SELECT pg_catalog.pg_restore_relation_stats( 'schemaname', 'stats_import', @@ -177,6 +183,49 @@ SELECT relpages, reltuples, relallvisible, relallfrozen FROM pg_class WHERE oid = 'stats_import.test'::regclass; +-- error: reltuples must be finite (rejected with WARNING, returns false) +SELECT pg_restore_relation_stats( + 'schemaname', 'stats_import', + 'relname', 'test', + 'reltuples', 'Infinity'::real); + +SELECT pg_restore_relation_stats( + 'schemaname', 'stats_import', + 'relname', 'test', + 'reltuples', '-Infinity'::real); + +SELECT pg_restore_relation_stats( + 'schemaname', 'stats_import', + 'relname', 'test', + 'reltuples', 'NaN'::real); + +-- error: reltuples must not be less than -1.0 (rejected with WARNING, returns false) +SELECT pg_restore_relation_stats( + 'schemaname', 'stats_import', + 'relname', 'test', + 'reltuples', '-5'::real); + +-- reltuples is unchanged (still 500) after the rejected values above +SELECT relpages, reltuples, relallvisible, relallfrozen +FROM pg_class +WHERE oid = 'stats_import.test'::regclass; + +-- ok: -1 (the "unknown" sentinel) is still accepted +SELECT pg_restore_relation_stats( + 'schemaname', 'stats_import', + 'relname', 'test', + 'reltuples', '-1'::real); + +SELECT relpages, reltuples, relallvisible, relallfrozen +FROM pg_class +WHERE oid = 'stats_import.test'::regclass; + +-- restore reltuples to 500 for the following tests +SELECT pg_restore_relation_stats( + 'schemaname', 'stats_import', + 'relname', 'test', + 'reltuples', '500'::real); + -- ok: set just relallvisible, rest stay same SELECT pg_restore_relation_stats( 'schemaname', 'stats_import', @@ -801,6 +850,38 @@ AND tablename = 'test' AND inherited = false AND attname = 'id'; +-- test for multiranges +INSERT INTO stats_import.test_mr +VALUES + (1, 'red', '{[1,3),[5,9),[20,30)}'::int4multirange), + (2, 'red', '{[11,13),[15,19),[20,30)}'::int4multirange), + (3, 'red', '{[21,23),[25,29),[120,130)}'::int4multirange); + +-- warn: reject range values as ordinary multirange statistics +SELECT pg_catalog.pg_restore_attribute_stats( + 'schemaname', 'stats_import', + 'relname', 'test_mr', + 'attname', 'mrange', + 'inherited', false, + 'most_common_vals', ARRAY['[1,3)']::text, + 'most_common_freqs', ARRAY[1.0]::real[] +); + +-- ensure that we set attribute stats for a multirange +-- MCVs and histograms retain the multirange type. +SELECT pg_catalog.pg_restore_attribute_stats( + 'schemaname', 'stats_import', + 'relname', 'test_mr', + 'attname', 'mrange', + 'inherited', false, + 'most_common_vals', ARRAY['{[1,3),[5,9)}', '{[11,13),[15,19)}']::text, + 'most_common_freqs', ARRAY[0.6, 0.4]::real[], + 'histogram_bounds', ARRAY['{[1,3)}', '{[11,13)}', '{[21,23)}']::text, + 'range_length_histogram', '{19,29,109}'::text, + 'range_empty_frac', '0'::real, + 'range_bounds_histogram', '{"[1,30)","[11,30)","[21,130)"}'::text +); + -- -- Test the ability to exactly copy data from one table to an identical table, -- correctly reconstructing the stakind order as well as the staopN and diff --git a/test/sql/postgres_regress/subselect.sql b/test/sql/postgres_regress/subselect.sql index c729d6d19..10079f32c 100644 --- a/test/sql/postgres_regress/subselect.sql +++ b/test/sql/postgres_regress/subselect.sql @@ -925,6 +925,111 @@ select * from drop function tattle(x int, y int); +-- +-- check that an upper-level qual is not pushed down if its operator is from a +-- different btree opfamily than the subquery's grouping eqop +-- +BEGIN; + +CREATE TYPE t_rec AS (x numeric); +CREATE TEMP TABLE pdt (id int, a t_rec); +INSERT INTO pdt VALUES + (1, ROW(1.00)::t_rec), + (2, ROW(1.0)::t_rec), + (3, ROW(2)::t_rec); + +-- DISTINCT ON: conflict, qual stays in outer query +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT DISTINCT ON (a) id, a FROM pdt ORDER BY a, id) s +WHERE a *= ROW(1.0)::t_rec; + +SELECT * FROM (SELECT DISTINCT ON (a) id, a FROM pdt ORDER BY a, id) s +WHERE a *= ROW(1.0)::t_rec; + +-- Window function PARTITION BY: conflict, qual stays outside the WindowAgg +EXPLAIN (COSTS OFF) +SELECT * FROM ( + SELECT id, a, count(*) OVER (PARTITION BY a) AS cnt FROM pdt +) s +WHERE a *= ROW(1.0)::t_rec; + +SELECT * FROM ( + SELECT id, a, count(*) OVER (PARTITION BY a) AS cnt FROM pdt +) s +WHERE a *= ROW(1.0)::t_rec; + +-- Plain DISTINCT: conflict, qual stays in outer query +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT DISTINCT a FROM pdt) s WHERE a *= ROW(1.0)::t_rec; + +SELECT * FROM (SELECT DISTINCT a FROM pdt) s WHERE a *= ROW(1.0)::t_rec; + +-- Positive: compatible opfamily, safe to push past the grouping +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT DISTINCT ON (a) id, a FROM pdt ORDER BY a, id) s +WHERE a = ROW(1.0)::t_rec; + +SELECT * FROM (SELECT DISTINCT ON (a) id, a FROM pdt ORDER BY a, id) s +WHERE a = ROW(1.0)::t_rec; + +-- Set operations: any operation other than UNION ALL groups rows by equality, +-- so the same opfamily-mismatch rules apply. +CREATE TEMP TABLE u1 (a t_rec); +CREATE TEMP TABLE u2 (a t_rec); +INSERT INTO u1 VALUES (ROW(1.00)::t_rec), (ROW(1.0)::t_rec); +INSERT INTO u2 VALUES (ROW(1.0)::t_rec); + +-- UNION: conflict, qual stays in outer query +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT a FROM u1 UNION SELECT a FROM u2) s +WHERE a *= ROW(1.0)::t_rec; + +SELECT * FROM (SELECT a FROM u1 UNION SELECT a FROM u2) s +WHERE a *= ROW(1.0)::t_rec; + +-- INTERSECT: same +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT a FROM u1 INTERSECT SELECT a FROM u2) s +WHERE a *= ROW(1.0)::t_rec; + +SELECT * FROM (SELECT a FROM u1 INTERSECT SELECT a FROM u2) s +WHERE a *= ROW(1.0)::t_rec; + +-- INTERSECT ALL: still groups +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT a FROM u1 INTERSECT ALL SELECT a FROM u2) s +WHERE a *= ROW(1.0)::t_rec; + +SELECT * FROM (SELECT a FROM u1 INTERSECT ALL SELECT a FROM u2) s +WHERE a *= ROW(1.0)::t_rec; + +-- UNION ALL of (UNION ...): an inner grouping node still exposes the +-- conflict to a qual pushed down through the outer UNION ALL. +EXPLAIN (COSTS OFF) +SELECT * FROM ( + (SELECT a FROM u1 UNION SELECT a FROM u2) + UNION ALL + SELECT a FROM u2 +) s +WHERE a *= ROW(1.0)::t_rec; + +SELECT * FROM ( + (SELECT a FROM u1 UNION SELECT a FROM u2) + UNION ALL + SELECT a FROM u2 +) s +WHERE a *= ROW(1.0)::t_rec; + +-- UNION ALL only: no grouping anywhere, pushdown remains allowed. +EXPLAIN (COSTS OFF) +SELECT * FROM (SELECT a FROM u1 UNION ALL SELECT a FROM u2) s +WHERE a *= ROW(1.0)::t_rec; + +SELECT * FROM (SELECT a FROM u1 UNION ALL SELECT a FROM u2) s +WHERE a *= ROW(1.0)::t_rec; + +ROLLBACK; + -- -- Test that LIMIT can be pushed to SORT through a subquery that just projects -- columns. We check for that having happened by looking to see if EXPLAIN diff --git a/test/sql/postgres_regress/unicode.sql b/test/sql/postgres_regress/unicode.sql index e50adb68e..951f86a33 100644 --- a/test/sql/postgres_regress/unicode.sql +++ b/test/sql/postgres_regress/unicode.sql @@ -36,3 +36,23 @@ FROM ORDER BY num; SELECT is_normalized('abc', 'def'); -- run-time error + +-- Hangul NFC recomposition tests +-- L+V -> LV composition (first and last) +SELECT normalize(U&'\1100\1161', NFC) = U&'\AC00' COLLATE "C" AS hangul_lv_first; +SELECT normalize(U&'\1112\1175', NFC) = U&'\D788' COLLATE "C" AS hangul_lv_last; +-- LV+T -> LVT composition +SELECT normalize(U&'\AC00\11A8', NFC) = U&'\AC01' COLLATE "C" AS hangul_lvt_first_t; +SELECT normalize(U&'\AC00\11C2', NFC) = U&'\AC1B' COLLATE "C" AS hangul_lvt_last_t; +SELECT normalize(U&'\D788\11A8', NFC) = U&'\D789' COLLATE "C" AS hangul_lvt_last_lv; +-- L+V+T -> LVT composition +SELECT normalize(U&'\1100\1161\11A8', NFC) = U&'\AC01' COLLATE "C" AS hangul_full_lvt; +SELECT normalize(U&'\1112\1175\11C2', NFC) = U&'\D7A3' COLLATE "C" AS hangul_full_lvt; +-- TBASE invalid T syllable +SELECT normalize(U&'\AC00\11A7', NFC) = U&'\AC00\11A7' COLLATE "C" AS hangul_tbase_not_combined; +SELECT normalize(U&'\1100\1161\11A7', NFC) = U&'\AC00\11A7' COLLATE "C" AS hangul_lv_tbase_separate; + +-- Hangul NFD decomposition tests +SELECT normalize(U&'\AC00', NFD) = U&'\1100\1161' COLLATE "C" AS hangul_nfd_lv; +SELECT normalize(U&'\AC01', NFD) = U&'\1100\1161\11A8' COLLATE "C" AS hangul_nfd_lvt; +SELECT normalize(U&'\D7A3', NFD) = U&'\1112\1175\11C2' COLLATE "C" AS hangul_nfd_last; diff --git a/test/sql/postgres_regress/uuid.sql b/test/sql/postgres_regress/uuid.sql index 465153a03..e92dd2f2e 100644 --- a/test/sql/postgres_regress/uuid.sql +++ b/test/sql/postgres_regress/uuid.sql @@ -131,6 +131,19 @@ WITH uuidts AS ( ) SELECT y, ts, prev_ts FROM uuidts WHERE ts < prev_ts; +-- uuidv7: infinite intervals are rejected +SELECT uuidv7('infinity'::interval); +SELECT uuidv7('-infinity'::interval); + +-- uuidv7: timestamps before Unix epoch are rejected +SELECT uuidv7('-1000 years'::interval); + +-- uuidv7: timestamps beyond 48-bit ms field (~year 10889) are rejected +SELECT uuidv7('9000 years'::interval); + +-- uuidv7: a large but in-range forward shift is accepted +SELECT uuid_extract_timestamp(uuidv7('1000 years'::interval)) > now() + '999 years'::interval; + -- extract functions -- version diff --git a/test/sql/postgres_regress/window.sql b/test/sql/postgres_regress/window.sql index ff58f45ce..cbc11c704 100644 --- a/test/sql/postgres_regress/window.sql +++ b/test/sql/postgres_regress/window.sql @@ -1361,16 +1361,37 @@ SELECT * FROM WHERE c <= 3; -- Ensure we get the correct run condition when the window function is both --- monotonically increasing and decreasing. +-- monotonically increasing and decreasing in RANGE mode without an ORDER BY EXPLAIN (COSTS OFF) SELECT * FROM (SELECT empno, depname, salary, - count(empno) OVER () c + count(empno) OVER (RANGE BETWEEN CURRENT ROW AND CURRENT ROW) c FROM empsalary) emp WHERE c = 1; +-- As above, but check we detect it's monotonically increasing +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + depname, + salary, + count(empno) OVER (RANGE BETWEEN CURRENT ROW AND CURRENT ROW) c + FROM empsalary) emp +WHERE c <= 3; + +-- Ensure that ROWS mode without an ORDER BY doesn't think it's monotonically +-- decreasing, i.e. don't push down the run condition. +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + depname, + salary, + count(empno) OVER (ROWS BETWEEN CURRENT ROW AND CURRENT ROW) c + FROM empsalary) emp +WHERE c > 1; + -- Try another case with a WindowFunc with a byref return type SELECT * FROM (SELECT row_number() OVER (PARTITION BY salary) AS rn, @@ -1460,6 +1481,96 @@ SELECT * FROM FROM empsalary) emp WHERE c = 1; +-- +-- Ensure we get the correct behavior for run condition pushdown when the +-- frame option has an EXCLUDE clause +-- + +-- Ensure pushdown occurs for ROWS BETWEEN UNBOUNDED PRECEDING with EXCLUDE +-- CURRENT ROW with COUNT(*) +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + salary, + count(*) OVER (ORDER BY salary ROWS BETWEEN UNBOUNDED PRECEDING AND 0 PRECEDING EXCLUDE CURRENT ROW) c + FROM empsalary) emp +WHERE c <= 3; + +-- Ensure pushdown occurs for GROUPS BETWEEN UNBOUNDED PRECEDING with EXCLUDE +-- CURRENT ROW with COUNT(*) +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + salary, + count(*) OVER (ORDER BY salary GROUPS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW EXCLUDE CURRENT ROW) c + FROM empsalary) emp +WHERE c <= 3; + +-- Ensure pushdown occurs for RANGE BETWEEN UNBOUNDED PRECEDING with EXCLUDE +-- CURRENT ROW with COUNT(*) +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + salary, + count(*) OVER (ORDER BY salary RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW EXCLUDE CURRENT ROW) c + FROM empsalary) emp +WHERE c <= 3; + +-- Ensure we don't get pushdown when a FILTER clause is present +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + salary, + count(*) FILTER (WHERE salary > 4000) OVER (ORDER BY salary ROWS BETWEEN UNBOUNDED PRECEDING AND 0 PRECEDING EXCLUDE CURRENT ROW) c + FROM empsalary) emp +WHERE c <= 3; + +-- Ensure we don't get pushdown with COUNT(ANY) +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + salary, + count(salary) OVER (ORDER BY salary ROWS BETWEEN UNBOUNDED PRECEDING AND 0 PRECEDING EXCLUDE CURRENT ROW) c + FROM empsalary) emp +WHERE c <= 3; + +-- Ensure we don't get pushdown with EXCLUDE GROUP +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + salary, + count(*) OVER (ORDER BY salary ROWS BETWEEN UNBOUNDED PRECEDING AND 0 PRECEDING EXCLUDE GROUP) c + FROM empsalary) emp +WHERE c <= 3; + +-- Ensure we don't get pushdown with EXCLUDE TIES +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + salary, + count(*) OVER (ORDER BY salary ROWS BETWEEN UNBOUNDED PRECEDING AND 0 PRECEDING EXCLUDE TIES) c + FROM empsalary) emp +WHERE c <= 3; + +-- Ensure we don't get pushdown with GROUPS mode and EXCLUDE GROUP +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + salary, + count(*) OVER (ORDER BY salary GROUPS BETWEEN UNBOUNDED PRECEDING AND 0 PRECEDING EXCLUDE GROUP) c + FROM empsalary) emp +WHERE c <= 3; + +-- Ensure we don't get pushdown with GROUPS mode and EXCLUDE TIES +EXPLAIN (COSTS OFF) +SELECT * FROM + (SELECT empno, + salary, + count(*) OVER (ORDER BY salary GROUPS BETWEEN UNBOUNDED PRECEDING AND 0 PRECEDING EXCLUDE TIES) c + FROM empsalary) emp +WHERE c <= 3; + + -- Test Sort node collapsing EXPLAIN (COSTS OFF) SELECT * FROM diff --git a/test/sql/postgres_regress/xml.sql b/test/sql/postgres_regress/xml.sql index 0ea4f5088..d999b240d 100644 --- a/test/sql/postgres_regress/xml.sql +++ b/test/sql/postgres_regress/xml.sql @@ -5,7 +5,14 @@ CREATE TABLE xmltest ( INSERT INTO xmltest VALUES (1, 'one'); INSERT INTO xmltest VALUES (2, 'two'); -INSERT INTO xmltest VALUES (3, 'three '); + +-- If no XML data could be inserted, skip the tests as the server has been +-- compiled without libxml support. +SELECT count(*) = 0 AS skip_test FROM xmltest \gset +\if :skip_test +\quit +\endif SELECT * FROM xmltest; @@ -30,7 +37,7 @@ SELECT xmlconcat(xmlcomment('hello'), SELECT xmlconcat('hello', 'you'); SELECT xmlconcat(1, 2); -SELECT xmlconcat('bad', ' '); SELECT xmlconcat('', NULL, ''); SELECT xmlconcat('', NULL, ''); SELECT xmlconcat(NULL); @@ -75,17 +82,17 @@ SELECT xmlparse(content '&'); SELECT xmlparse(content '&idontexist;'); SELECT xmlparse(content ''); SELECT xmlparse(content ''); -SELECT xmlparse(content '&idontexist;'); +SELECT xmlparse(content '&idontexist; '); SELECT xmlparse(content ''); -SELECT xmlparse(document ' '); +SELECT xmlparse(document '!'); SELECT xmlparse(document 'abc'); SELECT xmlparse(document 'x'); -SELECT xmlparse(document '&'); -SELECT xmlparse(document '&idontexist;'); +SELECT xmlparse(document '& '); +SELECT xmlparse(document '&idontexist; '); SELECT xmlparse(document ''); SELECT xmlparse(document ''); -SELECT xmlparse(document '&idontexist;'); +SELECT xmlparse(document '&idontexist; '); SELECT xmlparse(document ''); @@ -244,6 +251,7 @@ SELECT xpath('count(//*)=3', ''); SELECT xpath('name(/*)', ''); SELECT xpath('/nosuchtag', ''); SELECT xpath('root', ''); +SELECT xpath('//namespace::foo', ''); -- Round-trip non-ASCII data through xpath(). DO $$ diff --git a/test/stack_depth.c b/test/stack_depth.c new file mode 100644 index 000000000..9cc160b8f --- /dev/null +++ b/test/stack_depth.c @@ -0,0 +1,180 @@ +#include + +#include +#include +#include +#include + +// Regression test for stack overflows when walking deeply nested parse trees. +// +// A deeply nested expression like "SELECT 1%1%1%...%1" parses into a very deep +// A_Expr tree, and "SELECT 1 UNION SELECT 1 UNION ..." into a very deep +// SelectStmt tree. Recursively serializing or walking that tree (JSON/protobuf +// output, deparsing, normalizing, ...) could overflow the C stack and crash, +// these tests verify we return an error instead, like Postgres does. +// +// The parser itself can also recurse into a deep tree when it reports an +// error: "(SELECT ORDER BY a) ORDER BY x+x+..." fails with "multiple ORDER BY +// clauses not allowed", and computing the error position calls exprLocation, +// which recurses down the left side of the deep A_Expr tree. + +static char *build_deep_query(const char *prefix, const char *repeated, int depth) +{ + // `prefix` followed by `repeated` `depth` times + size_t len = strlen(prefix) + (size_t) depth * strlen(repeated); + char *query = malloc(len + 1); + char *p = query; + + p += sprintf(p, "%s", prefix); + for (int i = 0; i < depth; i++) + p += sprintf(p, "%s", repeated); + + return query; +} + +static bool is_clean(const PgQueryError *error) +{ + if (error == NULL) + return true; + return strstr(error->message, "stack depth limit exceeded") != NULL; +} + +static bool run_tests(const char *repeated) +{ + bool ret_code = 0; + char *query = build_deep_query("SELECT 1", repeated, 100000); + + // JSON output (pg_query_parse) + { + PgQueryParseResult result = pg_query_parse(query); + if (is_clean(result.error)) { + printf("."); + } else { + ret_code = -1; + printf("INVALID parse result, expected clean error, got: %s\n", + result.error ? result.error->message : "(success)"); + } + pg_query_free_parse_result(result); + } + + // Protobuf output (pg_query_parse_protobuf) + { + PgQueryProtobufParseResult result = pg_query_parse_protobuf(query); + if (is_clean(result.error)) { + printf("."); + } else { + ret_code = -1; + printf("INVALID protobuf parse result, expected clean error, got: %s\n", + result.error->message); + } + pg_query_free_protobuf_parse_result(result); + } + + // Normalize (const_record_walker / raw_expression_tree_walker) + { + PgQueryNormalizeResult result = pg_query_normalize(query); + if (is_clean(result.error)) { + printf("."); + } else { + ret_code = -1; + printf("INVALID normalize result, expected clean error, got: %s\n", + result.error->message); + } + pg_query_free_normalize_result(result); + } + + // Fingerprint + { + PgQueryFingerprintResult result = pg_query_fingerprint(query); + if (is_clean(result.error)) { + printf("."); + } else { + ret_code = -1; + printf("INVALID fingerprint result, expected clean error, got: %s\n", + result.error->message); + } + pg_query_free_fingerprint_result(result); + } + + // Summary + { + PgQuerySummaryParseResult result = pg_query_summary(query, PG_QUERY_PARSE_DEFAULT, -1); + if (is_clean(result.error)) { + printf("."); + } else { + ret_code = -1; + printf("INVALID summary result, expected clean error, got: %s\n", + result.error->message); + } + pg_query_free_summary_parse_result(result); + } + + // Deparse (deparseExpr) - exercise via a protobuf round-trip at a depth that + // serializes successfully, so deparsing actually walks a deep tree. + { + char *shallow = build_deep_query("SELECT 1", repeated, 100); + PgQueryProtobufParseResult parsed = pg_query_parse_protobuf(shallow); + if (parsed.error) { + ret_code = -1; + printf("INVALID: could not produce protobuf for deparse test: %s\n", parsed.error->message); + } else { + PgQueryDeparseResult result = pg_query_deparse_protobuf(parsed.parse_tree); + if (is_clean(result.error)) { + printf("."); + } else { + ret_code = -1; + printf("INVALID deparse result, expected clean error, got: %s\n", + result.error->message); + } + pg_query_free_deparse_result(result); + } + pg_query_free_protobuf_parse_result(parsed); + free(shallow); + } + + free(query); + + return ret_code; +} + +// Unlike run_tests, this expects an error, since the query is invalid +static bool run_parse_error_test(const char *prefix, const char *repeated) +{ + bool ret_code = 0; + char *query = build_deep_query(prefix, repeated, 100000); + PgQueryParseResult result = pg_query_parse(query); + + if (result.error && is_clean(result.error)) { + printf("."); + } else { + ret_code = -1; + printf("INVALID parse result for \"%s...\", expected clean error, got: %s\n", + prefix, result.error ? result.error->message : "(success)"); + } + + pg_query_free_parse_result(result); + free(query); + + return ret_code; +} + +int main() +{ + bool ret_code = 0; + + // Deeply nested expressions go through the generic node dispatchers + // (_outNode, _readNode, deparseExpr, ...) + ret_code |= run_tests("%1"); + + // Set operations recurse into the SelectStmt-specific functions directly + ret_code |= run_tests(" UNION SELECT 1"); + + // Error position reporting in the parser (exprLocation) + ret_code |= run_parse_error_test("(SELECT ORDER BY a) ORDER BY x", "+x"); + + printf("\n"); + + pg_query_exit(); + + return ret_code; +} diff --git a/test/summary_tests.c b/test/summary_tests.c index 8390a773d..bf68b69ab 100644 --- a/test/summary_tests.c +++ b/test/summary_tests.c @@ -481,6 +481,137 @@ void it_separates_CTE_names_from_table_names(TestState* test_state) { TEST_ASSERT_LIST_EQUAL(result.statement_types, list_make1("SelectStmt")); } +/* + * A non-recursive CTE is not visible inside its own definition, so a reference + * to its own name there resolves to a real relation: + * + * WITH users AS (SELECT * FROM users) SELECT * FROM users + * ^^^^^ the table ^^^^^ the CTE + */ +void it_finds_the_table_referenced_inside_a_CTE_definition(TestState* test_state) { + TEST_INIT(); + char* sql = "WITH users AS (SELECT * FROM users) SELECT * FROM users"; + Summary result = summary(sql, 0, -1); + TEST_SUMMARY_ASSERT_TABLES(result.tables, ((char*[]){"users", NULL})); + TEST_SUMMARY_ASSERT_TABLES_WITH_CTX(result.tables, CONTEXT_SELECT, ((char*[]){"users", NULL})); + /* Only the reference inside the CTE definition is the table. */ + TEST_ASSERT_LIST_LENGTH(result.tables, 1); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make1("users")); + TEST_ASSERT_LIST_EQUAL(result.statement_types, list_make1("SelectStmt")); +} + +void it_excludes_a_CTE_whose_definition_reads_another_table(TestState* test_state) { + TEST_INIT(); + char* sql = "WITH users AS (SELECT * FROM people) SELECT * FROM users"; + Summary result = summary(sql, 0, -1); + TEST_SUMMARY_ASSERT_TABLES(result.tables, ((char*[]){"people", NULL})); + TEST_ASSERT_LIST_LENGTH(result.tables, 1); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make1("users")); +} + +void it_excludes_a_CTE_referenced_from_a_later_sibling_CTE(TestState* test_state) { + TEST_INIT(); + char* sql = "WITH a AS (SELECT * FROM a), b AS (SELECT * FROM a) SELECT * FROM b"; + Summary result = summary(sql, 0, -1); + /* + * `a` inside a's own definition is the table, `a` inside b's definition is + * the CTE, since earlier siblings are visible to later ones. + */ + TEST_SUMMARY_ASSERT_TABLES(result.tables, ((char*[]){"a", NULL})); + TEST_ASSERT_LIST_LENGTH(result.tables, 1); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make2("a", "b")); +} + +void it_keeps_a_WITH_RECURSIVE_self_reference_as_a_CTE_reference(TestState* test_state) { + TEST_INIT(); + /* RECURSIVE does make a CTE visible to itself, so `t` is never the table. */ + char* sql = "WITH RECURSIVE t AS (SELECT 1 AS n UNION ALL SELECT n + 1 FROM t WHERE n < 5) SELECT * FROM t"; + Summary result = summary(sql, 0, -1); + TEST_ASSERT_LIST_LENGTH(result.tables, 0); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make1("t")); +} + +void it_keeps_a_schema_qualified_reference_when_a_CTE_shares_the_name(TestState* test_state) { + TEST_INIT(); + char* sql = "WITH t AS (SELECT * FROM s.t) SELECT 1"; + Summary result = summary(sql, 0, -1); + TEST_SUMMARY_ASSERT_TABLES(result.tables, ((char*[]){"s.t", NULL})); + TEST_ASSERT_LIST_LENGTH(result.tables, 1); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make1("t")); +} + +void it_finds_the_table_when_a_CTE_definition_is_nested_in_a_subquery(TestState* test_state) { + TEST_INIT(); + char* sql = "SELECT * FROM (WITH users AS (SELECT * FROM users) SELECT * FROM users) sub"; + Summary result = summary(sql, 0, -1); + TEST_SUMMARY_ASSERT_TABLES(result.tables, ((char*[]){"users", NULL})); + TEST_ASSERT_LIST_LENGTH(result.tables, 1); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make1("users")); +} + +void it_resolves_to_an_outer_CTE_rather_than_a_table_when_one_is_visible(TestState* test_state) { + TEST_INIT(); + /* The inner definition's `a` resolves to the outer CTE `a`, not to a table. */ + char* sql = "WITH a AS (SELECT * FROM t) SELECT * FROM (WITH a AS (SELECT * FROM a) SELECT * FROM a) sub"; + Summary result = summary(sql, 0, -1); + TEST_SUMMARY_ASSERT_TABLES(result.tables, ((char*[]){"t", NULL})); + TEST_ASSERT_LIST_LENGTH(result.tables, 1); +} + +/* + * A CTE cannot be the target of DML or DDL, so those always name a real + * relation, even when a CTE in the same statement shares the name. + */ +void it_finds_the_UPDATE_target_when_a_CTE_shares_its_name(TestState* test_state) { + TEST_INIT(); + char* sql = "WITH users AS (SELECT id FROM other) UPDATE users SET name = 'x'"; + Summary result = summary(sql, 0, -1); + TEST_SUMMARY_ASSERT_TABLES(result.tables, ((char*[]){"users", "other", NULL})); + TEST_SUMMARY_ASSERT_TABLES_WITH_CTX(result.tables, CONTEXT_DML, ((char*[]){"users", NULL})); + TEST_SUMMARY_ASSERT_TABLES_WITH_CTX(result.tables, CONTEXT_SELECT, ((char*[]){"other", NULL})); + TEST_ASSERT_LIST_LENGTH(result.tables, 2); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make1("users")); + TEST_ASSERT_LIST_EQUAL(result.statement_types, list_make2("SelectStmt", "UpdateStmt")); +} + +void it_finds_the_INSERT_target_when_a_CTE_shares_its_name(TestState* test_state) { + TEST_INIT(); + char* sql = "WITH users AS (SELECT id FROM other) INSERT INTO users (id) SELECT id FROM users"; + Summary result = summary(sql, 0, -1); + TEST_SUMMARY_ASSERT_TABLES(result.tables, ((char*[]){"users", "other", NULL})); + TEST_SUMMARY_ASSERT_TABLES_WITH_CTX(result.tables, CONTEXT_DML, ((char*[]){"users", NULL})); + TEST_SUMMARY_ASSERT_TABLES_WITH_CTX(result.tables, CONTEXT_SELECT, ((char*[]){"other", NULL})); + TEST_ASSERT_LIST_LENGTH(result.tables, 2); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make1("users")); +} + +void it_finds_the_DELETE_target_when_a_CTE_shares_its_name(TestState* test_state) { + TEST_INIT(); + char* sql = "WITH users AS (SELECT id FROM other) DELETE FROM users WHERE id IN (SELECT id FROM users)"; + Summary result = summary(sql, 0, -1); + TEST_SUMMARY_ASSERT_TABLES_WITH_CTX(result.tables, CONTEXT_DML, ((char*[]){"users", NULL})); + TEST_ASSERT_LIST_LENGTH(result.tables, 2); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make1("users")); +} + +void it_finds_the_MERGE_target_when_a_CTE_shares_its_name(TestState* test_state) { + TEST_INIT(); + char* sql = "WITH tgt AS (SELECT 1) MERGE INTO tgt USING src ON tgt.id = src.id WHEN MATCHED THEN DO NOTHING"; + Summary result = summary(sql, 0, -1); + TEST_SUMMARY_ASSERT_TABLES_WITH_CTX(result.tables, CONTEXT_DML, ((char*[]){"tgt", NULL})); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make1("tgt")); +} + +void it_finds_the_DDL_target_when_a_CTE_shares_its_name(TestState* test_state) { + TEST_INIT(); + char* sql = "WITH users AS (SELECT id FROM other) SELECT * INTO users FROM users"; + Summary result = summary(sql, 0, -1); + TEST_SUMMARY_ASSERT_TABLES_WITH_CTX(result.tables, CONTEXT_DDL, ((char*[]){"users", NULL})); + TEST_SUMMARY_ASSERT_TABLES_WITH_CTX(result.tables, CONTEXT_SELECT, ((char*[]){"other", NULL})); + TEST_ASSERT_LIST_LENGTH(result.tables, 2); + TEST_ASSERT_LIST_EQUAL(result.cte_names, list_make1("users")); +} + void it_finds_tables_in_SELECT_FROM_TABLESAMPLE(TestState* test_state) { TEST_INIT(); char* sql = "SELECT * FROM tbl TABLESAMPLE sample(1)"; diff --git a/test/summary_tests_list.c b/test/summary_tests_list.c index dd18fa4fa..a07bb7127 100644 --- a/test/summary_tests_list.c +++ b/test/summary_tests_list.c @@ -1,4 +1,4 @@ -// Generated by ./scripts/update_summary_tests_list.rb +// Generated by scripts/update_summary_tests_list.rb &it_parses_simple_query, &it_parses_simple_query_with_alias, @@ -49,6 +49,18 @@ &it_finds_renamed_functions, &it_finds_nested_tables_in_SELECT, &it_separates_CTE_names_from_table_names, +&it_finds_the_table_referenced_inside_a_CTE_definition, +&it_excludes_a_CTE_whose_definition_reads_another_table, +&it_excludes_a_CTE_referenced_from_a_later_sibling_CTE, +&it_keeps_a_WITH_RECURSIVE_self_reference_as_a_CTE_reference, +&it_keeps_a_schema_qualified_reference_when_a_CTE_shares_the_name, +&it_finds_the_table_when_a_CTE_definition_is_nested_in_a_subquery, +&it_resolves_to_an_outer_CTE_rather_than_a_table_when_one_is_visible, +&it_finds_the_UPDATE_target_when_a_CTE_shares_its_name, +&it_finds_the_INSERT_target_when_a_CTE_shares_its_name, +&it_finds_the_DELETE_target_when_a_CTE_shares_its_name, +&it_finds_the_MERGE_target_when_a_CTE_shares_its_name, +&it_finds_the_DDL_target_when_a_CTE_shares_its_name, &it_finds_tables_in_SELECT_FROM_TABLESAMPLE, &it_finds_tables_in_SELECT_FROM_XMLTABLE, &it_ignores_JSON_TABLE, diff --git a/vendor/protobuf-c/protobuf-c.c b/vendor/protobuf-c/protobuf-c.c deleted file mode 100644 index 1f8e607d9..000000000 --- a/vendor/protobuf-c/protobuf-c.c +++ /dev/null @@ -1,3667 +0,0 @@ -/* - * Copyright (c) 2008-2015, Dave Benson and the protobuf-c authors. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following disclaimer - * in the documentation and/or other materials provided with the - * distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -/*! \file - * Support library for `protoc-c` generated code. - * - * This file implements the public API used by the code generated - * by `protoc-c`. - * - * \authors Dave Benson and the protobuf-c authors - * - * \copyright 2008-2014. Licensed under the terms of the [BSD-2-Clause] license. - */ - -/** - * \todo 64-BIT OPTIMIZATION: certain implementations use 32-bit math - * even on 64-bit platforms (uint64_size, uint64_pack, parse_uint64). - * - * \todo Use size_t consistently. - */ - -#include /* for malloc, free */ -#include /* for strcmp, strlen, memcpy, memmove, memset */ - -#include "protobuf-c.h" - -#define TRUE 1 -#define FALSE 0 - -#define PROTOBUF_C__ASSERT_NOT_REACHED() assert(0) - -/* Workaround for Microsoft compilers. */ -#ifdef _MSC_VER -# define inline __inline -#endif - -/** - * \defgroup internal Internal functions and macros - * - * These are not exported by the library but are useful to developers working - * on `libprotobuf-c` itself. - */ - -/** - * \defgroup macros Utility macros for manipulating structures - * - * Macros and constants used to manipulate the base "classes" generated by - * `protobuf-c`. They also define limits and check correctness. - * - * \ingroup internal - * @{ - */ - -/** The maximum length of a 64-bit integer in varint encoding. */ -#define MAX_UINT64_ENCODED_SIZE 10 - -#ifndef PROTOBUF_C_UNPACK_ERROR -# define PROTOBUF_C_UNPACK_ERROR(...) -#endif - -#if !defined(_WIN32) || !defined(PROTOBUF_C_USE_SHARED_LIB) -const char protobuf_c_empty_string[] = ""; -#endif - -/** - * Internal `ProtobufCMessage` manipulation macro. - * - * Base macro for manipulating a `ProtobufCMessage`. Used by STRUCT_MEMBER() and - * STRUCT_MEMBER_PTR(). - */ -#define STRUCT_MEMBER_P(struct_p, struct_offset) \ - ((void *) ((uint8_t *) (struct_p) + (struct_offset))) - -/** - * Return field in a `ProtobufCMessage` based on offset. - * - * Take a pointer to a `ProtobufCMessage` and find the field at the offset. - * Cast it to the passed type. - */ -#define STRUCT_MEMBER(member_type, struct_p, struct_offset) \ - (*(member_type *) STRUCT_MEMBER_P((struct_p), (struct_offset))) - -/** - * Return field in a `ProtobufCMessage` based on offset. - * - * Take a pointer to a `ProtobufCMessage` and find the field at the offset. Cast - * it to a pointer to the passed type. - */ -#define STRUCT_MEMBER_PTR(member_type, struct_p, struct_offset) \ - ((member_type *) STRUCT_MEMBER_P((struct_p), (struct_offset))) - -/* Assertions for magic numbers. */ - -#define ASSERT_IS_ENUM_DESCRIPTOR(desc) \ - assert((desc)->magic == PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC) - -#define ASSERT_IS_MESSAGE_DESCRIPTOR(desc) \ - assert((desc)->magic == PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC) - -#define ASSERT_IS_MESSAGE(message) \ - ASSERT_IS_MESSAGE_DESCRIPTOR((message)->descriptor) - -#define ASSERT_IS_SERVICE_DESCRIPTOR(desc) \ - assert((desc)->magic == PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC) - -/**@}*/ - -/* --- version --- */ - -const char * -protobuf_c_version(void) -{ - return PROTOBUF_C_VERSION; -} - -uint32_t -protobuf_c_version_number(void) -{ - return PROTOBUF_C_VERSION_NUMBER; -} - -/* --- allocator --- */ - -static void * -system_alloc(void *allocator_data, size_t size) -{ - (void)allocator_data; - return malloc(size); -} - -static void -system_free(void *allocator_data, void *data) -{ - (void)allocator_data; - free(data); -} - -static inline void * -do_alloc(ProtobufCAllocator *allocator, size_t size) -{ - return allocator->alloc(allocator->allocator_data, size); -} - -static inline void -do_free(ProtobufCAllocator *allocator, void *data) -{ - if (data != NULL) - allocator->free(allocator->allocator_data, data); -} - -/* - * This allocator uses the system's malloc() and free(). It is the default - * allocator used if NULL is passed as the ProtobufCAllocator to an exported - * function. - */ -static ProtobufCAllocator protobuf_c__allocator = { - .alloc = &system_alloc, - .free = &system_free, - .allocator_data = NULL, -}; - -/* === buffer-simple === */ - -void -protobuf_c_buffer_simple_append(ProtobufCBuffer *buffer, - size_t len, const uint8_t *data) -{ - ProtobufCBufferSimple *simp = (ProtobufCBufferSimple *) buffer; - size_t new_len = simp->len + len; - - if (new_len > simp->alloced) { - ProtobufCAllocator *allocator = simp->allocator; - size_t new_alloced = simp->alloced * 2; - uint8_t *new_data; - - if (allocator == NULL) - allocator = &protobuf_c__allocator; - while (new_alloced < new_len) - new_alloced += new_alloced; - new_data = do_alloc(allocator, new_alloced); - if (!new_data) - return; - memcpy(new_data, simp->data, simp->len); - if (simp->must_free_data) - do_free(allocator, simp->data); - else - simp->must_free_data = TRUE; - simp->data = new_data; - simp->alloced = new_alloced; - } - memcpy(simp->data + simp->len, data, len); - simp->len = new_len; -} - -/** - * \defgroup packedsz protobuf_c_message_get_packed_size() implementation - * - * Routines mainly used by protobuf_c_message_get_packed_size(). - * - * \ingroup internal - * @{ - */ - -/** - * Return the number of bytes required to store the tag for the field. Includes - * 3 bits for the wire-type, and a single bit that denotes the end-of-tag. - * - * \param number - * Field tag to encode. - * \return - * Number of bytes required. - */ -static inline size_t -get_tag_size(uint32_t number) -{ - if (number < (1UL << 4)) { - return 1; - } else if (number < (1UL << 11)) { - return 2; - } else if (number < (1UL << 18)) { - return 3; - } else if (number < (1UL << 25)) { - return 4; - } else { - return 5; - } -} - -/** - * Return the number of bytes required to store a variable-length unsigned - * 32-bit integer in base-128 varint encoding. - * - * \param v - * Value to encode. - * \return - * Number of bytes required. - */ -static inline size_t -uint32_size(uint32_t v) -{ - if (v < (1UL << 7)) { - return 1; - } else if (v < (1UL << 14)) { - return 2; - } else if (v < (1UL << 21)) { - return 3; - } else if (v < (1UL << 28)) { - return 4; - } else { - return 5; - } -} - -/** - * Return the number of bytes required to store a variable-length signed 32-bit - * integer in base-128 varint encoding. - * - * \param v - * Value to encode. - * \return - * Number of bytes required. - */ -static inline size_t -int32_size(int32_t v) -{ - if (v < 0) { - return 10; - } else if (v < (1L << 7)) { - return 1; - } else if (v < (1L << 14)) { - return 2; - } else if (v < (1L << 21)) { - return 3; - } else if (v < (1L << 28)) { - return 4; - } else { - return 5; - } -} - -/** - * Return the ZigZag-encoded 32-bit unsigned integer form of a 32-bit signed - * integer. - * - * \param v - * Value to encode. - * \return - * ZigZag encoded integer. - */ -static inline uint32_t -zigzag32(int32_t v) -{ - // Note: the right-shift must be arithmetic - // Note: left shift must be unsigned because of overflow - return ((uint32_t)(v) << 1) ^ (uint32_t)(v >> 31); -} - -/** - * Return the number of bytes required to store a signed 32-bit integer, - * converted to an unsigned 32-bit integer with ZigZag encoding, using base-128 - * varint encoding. - * - * \param v - * Value to encode. - * \return - * Number of bytes required. - */ -static inline size_t -sint32_size(int32_t v) -{ - return uint32_size(zigzag32(v)); -} - -/** - * Return the number of bytes required to store a 64-bit unsigned integer in - * base-128 varint encoding. - * - * \param v - * Value to encode. - * \return - * Number of bytes required. - */ -static inline size_t -uint64_size(uint64_t v) -{ - uint32_t upper_v = (uint32_t) (v >> 32); - - if (upper_v == 0) { - return uint32_size((uint32_t) v); - } else if (upper_v < (1UL << 3)) { - return 5; - } else if (upper_v < (1UL << 10)) { - return 6; - } else if (upper_v < (1UL << 17)) { - return 7; - } else if (upper_v < (1UL << 24)) { - return 8; - } else if (upper_v < (1UL << 31)) { - return 9; - } else { - return 10; - } -} - -/** - * Return the ZigZag-encoded 64-bit unsigned integer form of a 64-bit signed - * integer. - * - * \param v - * Value to encode. - * \return - * ZigZag encoded integer. - */ -static inline uint64_t -zigzag64(int64_t v) -{ - // Note: the right-shift must be arithmetic - // Note: left shift must be unsigned because of overflow - return ((uint64_t)(v) << 1) ^ (uint64_t)(v >> 63); -} - -/** - * Return the number of bytes required to store a signed 64-bit integer, - * converted to an unsigned 64-bit integer with ZigZag encoding, using base-128 - * varint encoding. - * - * \param v - * Value to encode. - * \return - * Number of bytes required. - */ -static inline size_t -sint64_size(int64_t v) -{ - return uint64_size(zigzag64(v)); -} - -/** - * Calculate the serialized size of a single required message field, including - * the space needed by the preceding tag. - * - * \param field - * Field descriptor for member. - * \param member - * Field to encode. - * \return - * Number of bytes required. - */ -static size_t -required_field_get_packed_size(const ProtobufCFieldDescriptor *field, - const void *member) -{ - size_t rv = get_tag_size(field->id); - - switch (field->type) { - case PROTOBUF_C_TYPE_SINT32: - return rv + sint32_size(*(const int32_t *) member); - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_INT32: - return rv + int32_size(*(const int32_t *) member); - case PROTOBUF_C_TYPE_UINT32: - return rv + uint32_size(*(const uint32_t *) member); - case PROTOBUF_C_TYPE_SINT64: - return rv + sint64_size(*(const int64_t *) member); - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: - return rv + uint64_size(*(const uint64_t *) member); - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - return rv + 4; - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - return rv + 8; - case PROTOBUF_C_TYPE_BOOL: - return rv + 1; - case PROTOBUF_C_TYPE_FLOAT: - return rv + 4; - case PROTOBUF_C_TYPE_DOUBLE: - return rv + 8; - case PROTOBUF_C_TYPE_STRING: { - const char *str = *(char * const *) member; - size_t len = str ? strlen(str) : 0; - return rv + uint32_size(len) + len; - } - case PROTOBUF_C_TYPE_BYTES: { - size_t len = ((const ProtobufCBinaryData *) member)->len; - return rv + uint32_size(len) + len; - } - case PROTOBUF_C_TYPE_MESSAGE: { - const ProtobufCMessage *msg = *(ProtobufCMessage * const *) member; - size_t subrv = msg ? protobuf_c_message_get_packed_size(msg) : 0; - return rv + uint32_size(subrv) + subrv; - } - } - PROTOBUF_C__ASSERT_NOT_REACHED(); - return 0; -} - -/** - * Calculate the serialized size of a single oneof message field, including - * the space needed by the preceding tag. Returns 0 if the oneof field isn't - * selected or is not set. - * - * \param field - * Field descriptor for member. - * \param oneof_case - * Enum value that selects the field in the oneof. - * \param member - * Field to encode. - * \return - * Number of bytes required. - */ -static size_t -oneof_field_get_packed_size(const ProtobufCFieldDescriptor *field, - uint32_t oneof_case, - const void *member) -{ - if (oneof_case != field->id) { - return 0; - } - if (field->type == PROTOBUF_C_TYPE_MESSAGE || - field->type == PROTOBUF_C_TYPE_STRING) - { - const void *ptr = *(const void * const *) member; - if (ptr == NULL || ptr == field->default_value) - return 0; - } - return required_field_get_packed_size(field, member); -} - -/** - * Calculate the serialized size of a single optional message field, including - * the space needed by the preceding tag. Returns 0 if the optional field isn't - * set. - * - * \param field - * Field descriptor for member. - * \param has - * True if the field exists, false if not. - * \param member - * Field to encode. - * \return - * Number of bytes required. - */ -static size_t -optional_field_get_packed_size(const ProtobufCFieldDescriptor *field, - const protobuf_c_boolean has, - const void *member) -{ - if (field->type == PROTOBUF_C_TYPE_MESSAGE || - field->type == PROTOBUF_C_TYPE_STRING) - { - const void *ptr = *(const void * const *) member; - if (ptr == NULL || ptr == field->default_value) - return 0; - } else { - if (!has) - return 0; - } - return required_field_get_packed_size(field, member); -} - -static protobuf_c_boolean -field_is_zeroish(const ProtobufCFieldDescriptor *field, - const void *member) -{ - protobuf_c_boolean ret = FALSE; - - switch (field->type) { - case PROTOBUF_C_TYPE_BOOL: - ret = (0 == *(const protobuf_c_boolean *) member); - break; - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_SINT32: - case PROTOBUF_C_TYPE_INT32: - case PROTOBUF_C_TYPE_UINT32: - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - ret = (0 == *(const uint32_t *) member); - break; - case PROTOBUF_C_TYPE_SINT64: - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - ret = (0 == *(const uint64_t *) member); - break; - case PROTOBUF_C_TYPE_FLOAT: - ret = (0 == *(const float *) member); - break; - case PROTOBUF_C_TYPE_DOUBLE: - ret = (0 == *(const double *) member); - break; - case PROTOBUF_C_TYPE_STRING: - ret = (NULL == *(const char * const *) member) || - ('\0' == **(const char * const *) member); - break; - case PROTOBUF_C_TYPE_BYTES: - case PROTOBUF_C_TYPE_MESSAGE: - ret = (NULL == *(const void * const *) member); - break; - default: - ret = TRUE; - break; - } - - return ret; -} - -/** - * Calculate the serialized size of a single unlabeled message field, including - * the space needed by the preceding tag. Returns 0 if the field isn't set or - * if it is set to a "zeroish" value (null pointer or 0 for numerical values). - * Unlabeled fields are supported only in proto3. - * - * \param field - * Field descriptor for member. - * \param member - * Field to encode. - * \return - * Number of bytes required. - */ -static size_t -unlabeled_field_get_packed_size(const ProtobufCFieldDescriptor *field, - const void *member) -{ - if (field_is_zeroish(field, member)) - return 0; - return required_field_get_packed_size(field, member); -} - -/** - * Calculate the serialized size of repeated message fields, which may consist - * of any number of values (including 0). Includes the space needed by the - * preceding tags (as needed). - * - * \param field - * Field descriptor for member. - * \param count - * Number of repeated field members. - * \param member - * Field to encode. - * \return - * Number of bytes required. - */ -static size_t -repeated_field_get_packed_size(const ProtobufCFieldDescriptor *field, - size_t count, const void *member) -{ - size_t header_size; - size_t rv = 0; - unsigned i; - void *array = *(void * const *) member; - - if (count == 0) - return 0; - header_size = get_tag_size(field->id); - if (0 == (field->flags & PROTOBUF_C_FIELD_FLAG_PACKED)) - header_size *= count; - - switch (field->type) { - case PROTOBUF_C_TYPE_SINT32: - for (i = 0; i < count; i++) - rv += sint32_size(((int32_t *) array)[i]); - break; - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_INT32: - for (i = 0; i < count; i++) - rv += int32_size(((int32_t *) array)[i]); - break; - case PROTOBUF_C_TYPE_UINT32: - for (i = 0; i < count; i++) - rv += uint32_size(((uint32_t *) array)[i]); - break; - case PROTOBUF_C_TYPE_SINT64: - for (i = 0; i < count; i++) - rv += sint64_size(((int64_t *) array)[i]); - break; - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: - for (i = 0; i < count; i++) - rv += uint64_size(((uint64_t *) array)[i]); - break; - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: - rv += 4 * count; - break; - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: - rv += 8 * count; - break; - case PROTOBUF_C_TYPE_BOOL: - rv += count; - break; - case PROTOBUF_C_TYPE_STRING: - for (i = 0; i < count; i++) { - size_t len = strlen(((char **) array)[i]); - rv += uint32_size(len) + len; - } - break; - case PROTOBUF_C_TYPE_BYTES: - for (i = 0; i < count; i++) { - size_t len = ((ProtobufCBinaryData *) array)[i].len; - rv += uint32_size(len) + len; - } - break; - case PROTOBUF_C_TYPE_MESSAGE: - for (i = 0; i < count; i++) { - size_t len = protobuf_c_message_get_packed_size( - ((ProtobufCMessage **) array)[i]); - rv += uint32_size(len) + len; - } - break; - } - - if (0 != (field->flags & PROTOBUF_C_FIELD_FLAG_PACKED)) - header_size += uint32_size(rv); - return header_size + rv; -} - -/** - * Calculate the serialized size of an unknown field, i.e. one that is passed - * through mostly uninterpreted. This is required for forward compatibility if - * new fields are added to the message descriptor. - * - * \param field - * Unknown field type. - * \return - * Number of bytes required. - */ -static inline size_t -unknown_field_get_packed_size(const ProtobufCMessageUnknownField *field) -{ - return get_tag_size(field->tag) + field->len; -} - -/**@}*/ - -/* - * Calculate the serialized size of the message. - */ -size_t protobuf_c_message_get_packed_size(const ProtobufCMessage *message) -{ - unsigned i; - size_t rv = 0; - - ASSERT_IS_MESSAGE(message); - for (i = 0; i < message->descriptor->n_fields; i++) { - const ProtobufCFieldDescriptor *field = - message->descriptor->fields + i; - const void *member = - ((const char *) message) + field->offset; - const void *qmember = - ((const char *) message) + field->quantifier_offset; - - if (field->label == PROTOBUF_C_LABEL_REQUIRED) { - rv += required_field_get_packed_size(field, member); - } else if ((field->label == PROTOBUF_C_LABEL_OPTIONAL || - field->label == PROTOBUF_C_LABEL_NONE) && - (0 != (field->flags & PROTOBUF_C_FIELD_FLAG_ONEOF))) { - rv += oneof_field_get_packed_size( - field, - *(const uint32_t *) qmember, - member - ); - } else if (field->label == PROTOBUF_C_LABEL_OPTIONAL) { - rv += optional_field_get_packed_size( - field, - *(protobuf_c_boolean *) qmember, - member - ); - } else if (field->label == PROTOBUF_C_LABEL_NONE) { - rv += unlabeled_field_get_packed_size( - field, - member - ); - } else { - rv += repeated_field_get_packed_size( - field, - *(const size_t *) qmember, - member - ); - } - } - for (i = 0; i < message->n_unknown_fields; i++) - rv += unknown_field_get_packed_size(&message->unknown_fields[i]); - return rv; -} - -/** - * \defgroup pack protobuf_c_message_pack() implementation - * - * Routines mainly used by protobuf_c_message_pack(). - * - * \ingroup internal - * @{ - */ - -/** - * Pack an unsigned 32-bit integer in base-128 varint encoding and return the - * number of bytes written, which must be 5 or less. - * - * \param value - * Value to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static inline size_t -uint32_pack(uint32_t value, uint8_t *out) -{ - unsigned rv = 0; - - if (value >= 0x80) { - out[rv++] = value | 0x80; - value >>= 7; - if (value >= 0x80) { - out[rv++] = value | 0x80; - value >>= 7; - if (value >= 0x80) { - out[rv++] = value | 0x80; - value >>= 7; - if (value >= 0x80) { - out[rv++] = value | 0x80; - value >>= 7; - } - } - } - } - /* assert: value<128 */ - out[rv++] = value; - return rv; -} - -/** - * Pack a signed 32-bit integer and return the number of bytes written. - * Negative numbers are encoded as two's complement 64-bit integers. - * - * \param value - * Value to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static inline size_t -int32_pack(int32_t value, uint8_t *out) -{ - if (value < 0) { - out[0] = value | 0x80; - out[1] = (value >> 7) | 0x80; - out[2] = (value >> 14) | 0x80; - out[3] = (value >> 21) | 0x80; - out[4] = (value >> 28) | 0x80; - out[5] = out[6] = out[7] = out[8] = 0xff; - out[9] = 0x01; - return 10; - } else { - return uint32_pack(value, out); - } -} - -/** - * Pack a signed 32-bit integer using ZigZag encoding and return the number of - * bytes written. - * - * \param value - * Value to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static inline size_t -sint32_pack(int32_t value, uint8_t *out) -{ - return uint32_pack(zigzag32(value), out); -} - -/** - * Pack a 64-bit unsigned integer using base-128 varint encoding and return the - * number of bytes written. - * - * \param value - * Value to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static size_t -uint64_pack(uint64_t value, uint8_t *out) -{ - uint32_t hi = (uint32_t) (value >> 32); - uint32_t lo = (uint32_t) value; - unsigned rv; - - if (hi == 0) - return uint32_pack((uint32_t) lo, out); - out[0] = (lo) | 0x80; - out[1] = (lo >> 7) | 0x80; - out[2] = (lo >> 14) | 0x80; - out[3] = (lo >> 21) | 0x80; - if (hi < 8) { - out[4] = (hi << 4) | (lo >> 28); - return 5; - } else { - out[4] = ((hi & 7) << 4) | (lo >> 28) | 0x80; - hi >>= 3; - } - rv = 5; - while (hi >= 128) { - out[rv++] = hi | 0x80; - hi >>= 7; - } - out[rv++] = hi; - return rv; -} - -/** - * Pack a 64-bit signed integer in ZigZag encoding and return the number of - * bytes written. - * - * \param value - * Value to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static inline size_t -sint64_pack(int64_t value, uint8_t *out) -{ - return uint64_pack(zigzag64(value), out); -} - -/** - * Pack a 32-bit quantity in little-endian byte order. Used for protobuf wire - * types fixed32, sfixed32, float. Similar to "htole32". - * - * \param value - * Value to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static inline size_t -fixed32_pack(uint32_t value, void *out) -{ -#if !defined(WORDS_BIGENDIAN) - memcpy(out, &value, 4); -#else - uint8_t *buf = out; - - buf[0] = value; - buf[1] = value >> 8; - buf[2] = value >> 16; - buf[3] = value >> 24; -#endif - return 4; -} - -/** - * Pack a 64-bit quantity in little-endian byte order. Used for protobuf wire - * types fixed64, sfixed64, double. Similar to "htole64". - * - * \todo The big-endian impl is really only good for 32-bit machines, a 64-bit - * version would be appreciated, plus a way to decide to use 64-bit math where - * convenient. - * - * \param value - * Value to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static inline size_t -fixed64_pack(uint64_t value, void *out) -{ -#if !defined(WORDS_BIGENDIAN) - memcpy(out, &value, 8); -#else - fixed32_pack(value, out); - fixed32_pack(value >> 32, ((char *) out) + 4); -#endif - return 8; -} - -/** - * Pack a boolean value as an integer and return the number of bytes written. - * - * \todo Perhaps on some platforms *out = !!value would be a better impl, b/c - * that is idiomatic C++ in some STL implementations. - * - * \param value - * Value to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static inline size_t -boolean_pack(protobuf_c_boolean value, uint8_t *out) -{ - *out = value ? TRUE : FALSE; - return 1; -} - -/** - * Pack a NUL-terminated C string and return the number of bytes written. The - * output includes a length delimiter. - * - * The NULL pointer is treated as an empty string. This isn't really necessary, - * but it allows people to leave required strings blank. (See Issue #13 in the - * bug tracker for a little more explanation). - * - * \param str - * String to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static inline size_t -string_pack(const char *str, uint8_t *out) -{ - if (str == NULL) { - out[0] = 0; - return 1; - } else { - size_t len = strlen(str); - size_t rv = uint32_pack(len, out); - memcpy(out + rv, str, len); - return rv + len; - } -} - -/** - * Pack a ProtobufCBinaryData and return the number of bytes written. The output - * includes a length delimiter. - * - * \param bd - * ProtobufCBinaryData to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static inline size_t -binary_data_pack(const ProtobufCBinaryData *bd, uint8_t *out) -{ - size_t len = bd->len; - size_t rv = uint32_pack(len, out); - memcpy(out + rv, bd->data, len); - return rv + len; -} - -/** - * Pack a ProtobufCMessage and return the number of bytes written. The output - * includes a length delimiter. - * - * \param message - * ProtobufCMessage object to pack. - * \param[out] out - * Packed message. - * \return - * Number of bytes written to `out`. - */ -static inline size_t -prefixed_message_pack(const ProtobufCMessage *message, uint8_t *out) -{ - if (message == NULL) { - out[0] = 0; - return 1; - } else { - size_t rv = protobuf_c_message_pack(message, out + 1); - uint32_t rv_packed_size = uint32_size(rv); - if (rv_packed_size != 1) - memmove(out + rv_packed_size, out + 1, rv); - return uint32_pack(rv, out) + rv; - } -} - -/** - * Pack a field tag. - * - * Wire-type will be added in required_field_pack(). - * - * \todo Just call uint64_pack on 64-bit platforms. - * - * \param id - * Tag value to encode. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static size_t -tag_pack(uint32_t id, uint8_t *out) -{ - if (id < (1UL << (32 - 3))) - return uint32_pack(id << 3, out); - else - return uint64_pack(((uint64_t) id) << 3, out); -} - -/** - * Pack a required field and return the number of bytes written. - * - * \param field - * Field descriptor. - * \param member - * The field member. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static size_t -required_field_pack(const ProtobufCFieldDescriptor *field, - const void *member, uint8_t *out) -{ - size_t rv = tag_pack(field->id, out); - - switch (field->type) { - case PROTOBUF_C_TYPE_SINT32: - out[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - return rv + sint32_pack(*(const int32_t *) member, out + rv); - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_INT32: - out[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - return rv + int32_pack(*(const int32_t *) member, out + rv); - case PROTOBUF_C_TYPE_UINT32: - out[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - return rv + uint32_pack(*(const uint32_t *) member, out + rv); - case PROTOBUF_C_TYPE_SINT64: - out[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - return rv + sint64_pack(*(const int64_t *) member, out + rv); - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: - out[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - return rv + uint64_pack(*(const uint64_t *) member, out + rv); - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: - out[0] |= PROTOBUF_C_WIRE_TYPE_32BIT; - return rv + fixed32_pack(*(const uint32_t *) member, out + rv); - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: - out[0] |= PROTOBUF_C_WIRE_TYPE_64BIT; - return rv + fixed64_pack(*(const uint64_t *) member, out + rv); - case PROTOBUF_C_TYPE_BOOL: - out[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - return rv + boolean_pack(*(const protobuf_c_boolean *) member, out + rv); - case PROTOBUF_C_TYPE_STRING: - out[0] |= PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED; - return rv + string_pack(*(char *const *) member, out + rv); - case PROTOBUF_C_TYPE_BYTES: - out[0] |= PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED; - return rv + binary_data_pack((const ProtobufCBinaryData *) member, out + rv); - case PROTOBUF_C_TYPE_MESSAGE: - out[0] |= PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED; - return rv + prefixed_message_pack(*(ProtobufCMessage * const *) member, out + rv); - } - PROTOBUF_C__ASSERT_NOT_REACHED(); - return 0; -} - -/** - * Pack a oneof field and return the number of bytes written. Only packs the - * field that is selected by the case enum. - * - * \param field - * Field descriptor. - * \param oneof_case - * Enum value that selects the field in the oneof. - * \param member - * The field member. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static size_t -oneof_field_pack(const ProtobufCFieldDescriptor *field, - uint32_t oneof_case, - const void *member, uint8_t *out) -{ - if (oneof_case != field->id) { - return 0; - } - if (field->type == PROTOBUF_C_TYPE_MESSAGE || - field->type == PROTOBUF_C_TYPE_STRING) - { - const void *ptr = *(const void * const *) member; - if (ptr == NULL || ptr == field->default_value) - return 0; - } - return required_field_pack(field, member, out); -} - -/** - * Pack an optional field and return the number of bytes written. - * - * \param field - * Field descriptor. - * \param has - * Whether the field is set. - * \param member - * The field member. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static size_t -optional_field_pack(const ProtobufCFieldDescriptor *field, - const protobuf_c_boolean has, - const void *member, uint8_t *out) -{ - if (field->type == PROTOBUF_C_TYPE_MESSAGE || - field->type == PROTOBUF_C_TYPE_STRING) - { - const void *ptr = *(const void * const *) member; - if (ptr == NULL || ptr == field->default_value) - return 0; - } else { - if (!has) - return 0; - } - return required_field_pack(field, member, out); -} - -/** - * Pack an unlabeled field and return the number of bytes written. - * - * \param field - * Field descriptor. - * \param member - * The field member. - * \param[out] out - * Packed value. - * \return - * Number of bytes written to `out`. - */ -static size_t -unlabeled_field_pack(const ProtobufCFieldDescriptor *field, - const void *member, uint8_t *out) -{ - if (field_is_zeroish(field, member)) - return 0; - return required_field_pack(field, member, out); -} - -/** - * Given a field type, return the in-memory size. - * - * \todo Implement as a table lookup. - * - * \param type - * Field type. - * \return - * Size of the field. - */ -static inline size_t -sizeof_elt_in_repeated_array(ProtobufCType type) -{ - switch (type) { - case PROTOBUF_C_TYPE_SINT32: - case PROTOBUF_C_TYPE_INT32: - case PROTOBUF_C_TYPE_UINT32: - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: - case PROTOBUF_C_TYPE_ENUM: - return 4; - case PROTOBUF_C_TYPE_SINT64: - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: - return 8; - case PROTOBUF_C_TYPE_BOOL: - return sizeof(protobuf_c_boolean); - case PROTOBUF_C_TYPE_STRING: - case PROTOBUF_C_TYPE_MESSAGE: - return sizeof(void *); - case PROTOBUF_C_TYPE_BYTES: - return sizeof(ProtobufCBinaryData); - } - PROTOBUF_C__ASSERT_NOT_REACHED(); - return 0; -} - -/** - * Pack an array of 32-bit quantities. - * - * \param[out] out - * Destination. - * \param[in] in - * Source. - * \param[in] n - * Number of elements in the source array. - */ -static void -copy_to_little_endian_32(void *out, const void *in, const unsigned n) -{ -#if !defined(WORDS_BIGENDIAN) - memcpy(out, in, n * 4); -#else - unsigned i; - const uint32_t *ini = in; - for (i = 0; i < n; i++) - fixed32_pack(ini[i], (uint32_t *) out + i); -#endif -} - -/** - * Pack an array of 64-bit quantities. - * - * \param[out] out - * Destination. - * \param[in] in - * Source. - * \param[in] n - * Number of elements in the source array. - */ -static void -copy_to_little_endian_64(void *out, const void *in, const unsigned n) -{ -#if !defined(WORDS_BIGENDIAN) - memcpy(out, in, n * 8); -#else - unsigned i; - const uint64_t *ini = in; - for (i = 0; i < n; i++) - fixed64_pack(ini[i], (uint64_t *) out + i); -#endif -} - -/** - * Get the minimum number of bytes required to pack a field value of a - * particular type. - * - * \param type - * Field type. - * \return - * Number of bytes. - */ -static unsigned -get_type_min_size(ProtobufCType type) -{ - if (type == PROTOBUF_C_TYPE_SFIXED32 || - type == PROTOBUF_C_TYPE_FIXED32 || - type == PROTOBUF_C_TYPE_FLOAT) - { - return 4; - } - if (type == PROTOBUF_C_TYPE_SFIXED64 || - type == PROTOBUF_C_TYPE_FIXED64 || - type == PROTOBUF_C_TYPE_DOUBLE) - { - return 8; - } - return 1; -} - -/** - * Packs the elements of a repeated field and returns the serialised field and - * its length. - * - * \param field - * Field descriptor. - * \param count - * Number of elements in the repeated field array. - * \param member - * Pointer to the elements for this repeated field. - * \param[out] out - * Serialised representation of the repeated field. - * \return - * Number of bytes serialised to `out`. - */ -static size_t -repeated_field_pack(const ProtobufCFieldDescriptor *field, - size_t count, const void *member, uint8_t *out) -{ - void *array = *(void * const *) member; - unsigned i; - - if (0 != (field->flags & PROTOBUF_C_FIELD_FLAG_PACKED)) { - unsigned header_len; - unsigned len_start; - unsigned min_length; - unsigned payload_len; - unsigned length_size_min; - unsigned actual_length_size; - uint8_t *payload_at; - - if (count == 0) - return 0; - header_len = tag_pack(field->id, out); - out[0] |= PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED; - len_start = header_len; - min_length = get_type_min_size(field->type) * count; - length_size_min = uint32_size(min_length); - header_len += length_size_min; - payload_at = out + header_len; - - switch (field->type) { - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: - copy_to_little_endian_32(payload_at, array, count); - payload_at += count * 4; - break; - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: - copy_to_little_endian_64(payload_at, array, count); - payload_at += count * 8; - break; - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_INT32: { - const int32_t *arr = (const int32_t *) array; - for (i = 0; i < count; i++) - payload_at += int32_pack(arr[i], payload_at); - break; - } - case PROTOBUF_C_TYPE_SINT32: { - const int32_t *arr = (const int32_t *) array; - for (i = 0; i < count; i++) - payload_at += sint32_pack(arr[i], payload_at); - break; - } - case PROTOBUF_C_TYPE_SINT64: { - const int64_t *arr = (const int64_t *) array; - for (i = 0; i < count; i++) - payload_at += sint64_pack(arr[i], payload_at); - break; - } - case PROTOBUF_C_TYPE_UINT32: { - const uint32_t *arr = (const uint32_t *) array; - for (i = 0; i < count; i++) - payload_at += uint32_pack(arr[i], payload_at); - break; - } - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: { - const uint64_t *arr = (const uint64_t *) array; - for (i = 0; i < count; i++) - payload_at += uint64_pack(arr[i], payload_at); - break; - } - case PROTOBUF_C_TYPE_BOOL: { - const protobuf_c_boolean *arr = (const protobuf_c_boolean *) array; - for (i = 0; i < count; i++) - payload_at += boolean_pack(arr[i], payload_at); - break; - } - default: - PROTOBUF_C__ASSERT_NOT_REACHED(); - } - - payload_len = payload_at - (out + header_len); - actual_length_size = uint32_size(payload_len); - if (length_size_min != actual_length_size) { - assert(actual_length_size == length_size_min + 1); - memmove(out + header_len + 1, out + header_len, - payload_len); - header_len++; - } - uint32_pack(payload_len, out + len_start); - return header_len + payload_len; - } else { - /* not "packed" cased */ - /* CONSIDER: optimize this case a bit (by putting the loop inside the switch) */ - size_t rv = 0; - unsigned siz = sizeof_elt_in_repeated_array(field->type); - - for (i = 0; i < count; i++) { - rv += required_field_pack(field, array, out + rv); - array = (char *)array + siz; - } - return rv; - } -} - -static size_t -unknown_field_pack(const ProtobufCMessageUnknownField *field, uint8_t *out) -{ - size_t rv = tag_pack(field->tag, out); - out[0] |= field->wire_type; - memcpy(out + rv, field->data, field->len); - return rv + field->len; -} - -/**@}*/ - -size_t -protobuf_c_message_pack(const ProtobufCMessage *message, uint8_t *out) -{ - unsigned i; - size_t rv = 0; - - ASSERT_IS_MESSAGE(message); - for (i = 0; i < message->descriptor->n_fields; i++) { - const ProtobufCFieldDescriptor *field = - message->descriptor->fields + i; - const void *member = ((const char *) message) + field->offset; - - /* - * It doesn't hurt to compute qmember (a pointer to the - * quantifier field of the structure), but the pointer is only - * valid if the field is: - * - a repeated field, or - * - a field that is part of a oneof - * - an optional field that isn't a pointer type - * (Meaning: not a message or a string). - */ - const void *qmember = - ((const char *) message) + field->quantifier_offset; - - if (field->label == PROTOBUF_C_LABEL_REQUIRED) { - rv += required_field_pack(field, member, out + rv); - } else if ((field->label == PROTOBUF_C_LABEL_OPTIONAL || - field->label == PROTOBUF_C_LABEL_NONE) && - (0 != (field->flags & PROTOBUF_C_FIELD_FLAG_ONEOF))) { - rv += oneof_field_pack( - field, - *(const uint32_t *) qmember, - member, - out + rv - ); - } else if (field->label == PROTOBUF_C_LABEL_OPTIONAL) { - rv += optional_field_pack( - field, - *(const protobuf_c_boolean *) qmember, - member, - out + rv - ); - } else if (field->label == PROTOBUF_C_LABEL_NONE) { - rv += unlabeled_field_pack(field, member, out + rv); - } else { - rv += repeated_field_pack(field, *(const size_t *) qmember, - member, out + rv); - } - } - for (i = 0; i < message->n_unknown_fields; i++) - rv += unknown_field_pack(&message->unknown_fields[i], out + rv); - return rv; -} - -/** - * \defgroup packbuf protobuf_c_message_pack_to_buffer() implementation - * - * Routines mainly used by protobuf_c_message_pack_to_buffer(). - * - * \ingroup internal - * @{ - */ - -/** - * Pack a required field to a virtual buffer. - * - * \param field - * Field descriptor. - * \param member - * The element to be packed. - * \param[out] buffer - * Virtual buffer to append data to. - * \return - * Number of bytes packed. - */ -static size_t -required_field_pack_to_buffer(const ProtobufCFieldDescriptor *field, - const void *member, ProtobufCBuffer *buffer) -{ - size_t rv; - uint8_t scratch[MAX_UINT64_ENCODED_SIZE * 2]; - - rv = tag_pack(field->id, scratch); - switch (field->type) { - case PROTOBUF_C_TYPE_SINT32: - scratch[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - rv += sint32_pack(*(const int32_t *) member, scratch + rv); - buffer->append(buffer, rv, scratch); - break; - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_INT32: - scratch[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - rv += int32_pack(*(const int32_t *) member, scratch + rv); - buffer->append(buffer, rv, scratch); - break; - case PROTOBUF_C_TYPE_UINT32: - scratch[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - rv += uint32_pack(*(const uint32_t *) member, scratch + rv); - buffer->append(buffer, rv, scratch); - break; - case PROTOBUF_C_TYPE_SINT64: - scratch[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - rv += sint64_pack(*(const int64_t *) member, scratch + rv); - buffer->append(buffer, rv, scratch); - break; - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: - scratch[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - rv += uint64_pack(*(const uint64_t *) member, scratch + rv); - buffer->append(buffer, rv, scratch); - break; - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: - scratch[0] |= PROTOBUF_C_WIRE_TYPE_32BIT; - rv += fixed32_pack(*(const uint32_t *) member, scratch + rv); - buffer->append(buffer, rv, scratch); - break; - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: - scratch[0] |= PROTOBUF_C_WIRE_TYPE_64BIT; - rv += fixed64_pack(*(const uint64_t *) member, scratch + rv); - buffer->append(buffer, rv, scratch); - break; - case PROTOBUF_C_TYPE_BOOL: - scratch[0] |= PROTOBUF_C_WIRE_TYPE_VARINT; - rv += boolean_pack(*(const protobuf_c_boolean *) member, scratch + rv); - buffer->append(buffer, rv, scratch); - break; - case PROTOBUF_C_TYPE_STRING: { - const char *str = *(char *const *) member; - size_t sublen = str ? strlen(str) : 0; - - scratch[0] |= PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED; - rv += uint32_pack(sublen, scratch + rv); - buffer->append(buffer, rv, scratch); - buffer->append(buffer, sublen, (const uint8_t *) str); - rv += sublen; - break; - } - case PROTOBUF_C_TYPE_BYTES: { - const ProtobufCBinaryData *bd = ((const ProtobufCBinaryData *) member); - size_t sublen = bd->len; - - scratch[0] |= PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED; - rv += uint32_pack(sublen, scratch + rv); - buffer->append(buffer, rv, scratch); - buffer->append(buffer, sublen, bd->data); - rv += sublen; - break; - } - case PROTOBUF_C_TYPE_MESSAGE: { - const ProtobufCMessage *msg = *(ProtobufCMessage * const *) member; - - scratch[0] |= PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED; - if (msg == NULL) { - rv += uint32_pack(0, scratch + rv); - buffer->append(buffer, rv, scratch); - } else { - size_t sublen = protobuf_c_message_get_packed_size(msg); - rv += uint32_pack(sublen, scratch + rv); - buffer->append(buffer, rv, scratch); - protobuf_c_message_pack_to_buffer(msg, buffer); - rv += sublen; - } - break; - } - default: - PROTOBUF_C__ASSERT_NOT_REACHED(); - } - return rv; -} - -/** - * Pack a oneof field to a buffer. Only packs the field that is selected by the case enum. - * - * \param field - * Field descriptor. - * \param oneof_case - * Enum value that selects the field in the oneof. - * \param member - * The element to be packed. - * \param[out] buffer - * Virtual buffer to append data to. - * \return - * Number of bytes serialised to `buffer`. - */ -static size_t -oneof_field_pack_to_buffer(const ProtobufCFieldDescriptor *field, - uint32_t oneof_case, - const void *member, ProtobufCBuffer *buffer) -{ - if (oneof_case != field->id) { - return 0; - } - if (field->type == PROTOBUF_C_TYPE_MESSAGE || - field->type == PROTOBUF_C_TYPE_STRING) - { - const void *ptr = *(const void *const *) member; - if (ptr == NULL || ptr == field->default_value) - return 0; - } - return required_field_pack_to_buffer(field, member, buffer); -} - -/** - * Pack an optional field to a buffer. - * - * \param field - * Field descriptor. - * \param has - * Whether the field is set. - * \param member - * The element to be packed. - * \param[out] buffer - * Virtual buffer to append data to. - * \return - * Number of bytes serialised to `buffer`. - */ -static size_t -optional_field_pack_to_buffer(const ProtobufCFieldDescriptor *field, - const protobuf_c_boolean has, - const void *member, ProtobufCBuffer *buffer) -{ - if (field->type == PROTOBUF_C_TYPE_MESSAGE || - field->type == PROTOBUF_C_TYPE_STRING) - { - const void *ptr = *(const void *const *) member; - if (ptr == NULL || ptr == field->default_value) - return 0; - } else { - if (!has) - return 0; - } - return required_field_pack_to_buffer(field, member, buffer); -} - -/** - * Pack an unlabeled field to a buffer. - * - * \param field - * Field descriptor. - * \param member - * The element to be packed. - * \param[out] buffer - * Virtual buffer to append data to. - * \return - * Number of bytes serialised to `buffer`. - */ -static size_t -unlabeled_field_pack_to_buffer(const ProtobufCFieldDescriptor *field, - const void *member, ProtobufCBuffer *buffer) -{ - if (field_is_zeroish(field, member)) - return 0; - return required_field_pack_to_buffer(field, member, buffer); -} - -/** - * Get the packed size of an array of same field type. - * - * \param field - * Field descriptor. - * \param count - * Number of elements of this type. - * \param array - * The elements to get the size of. - * \return - * Number of bytes required. - */ -static size_t -get_packed_payload_length(const ProtobufCFieldDescriptor *field, - unsigned count, const void *array) -{ - unsigned rv = 0; - unsigned i; - - switch (field->type) { - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: - return count * 4; - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: - return count * 8; - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_INT32: { - const int32_t *arr = (const int32_t *) array; - for (i = 0; i < count; i++) - rv += int32_size(arr[i]); - break; - } - case PROTOBUF_C_TYPE_SINT32: { - const int32_t *arr = (const int32_t *) array; - for (i = 0; i < count; i++) - rv += sint32_size(arr[i]); - break; - } - case PROTOBUF_C_TYPE_UINT32: { - const uint32_t *arr = (const uint32_t *) array; - for (i = 0; i < count; i++) - rv += uint32_size(arr[i]); - break; - } - case PROTOBUF_C_TYPE_SINT64: { - const int64_t *arr = (const int64_t *) array; - for (i = 0; i < count; i++) - rv += sint64_size(arr[i]); - break; - } - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: { - const uint64_t *arr = (const uint64_t *) array; - for (i = 0; i < count; i++) - rv += uint64_size(arr[i]); - break; - } - case PROTOBUF_C_TYPE_BOOL: - return count; - default: - PROTOBUF_C__ASSERT_NOT_REACHED(); - } - return rv; -} - -/** - * Pack an array of same field type to a virtual buffer. - * - * \param field - * Field descriptor. - * \param count - * Number of elements of this type. - * \param array - * The elements to get the size of. - * \param[out] buffer - * Virtual buffer to append data to. - * \return - * Number of bytes packed. - */ -static size_t -pack_buffer_packed_payload(const ProtobufCFieldDescriptor *field, - unsigned count, const void *array, - ProtobufCBuffer *buffer) -{ - uint8_t scratch[16]; - size_t rv = 0; - unsigned i; - - switch (field->type) { - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: -#if !defined(WORDS_BIGENDIAN) - rv = count * 4; - goto no_packing_needed; -#else - for (i = 0; i < count; i++) { - unsigned len = fixed32_pack(((uint32_t *) array)[i], scratch); - buffer->append(buffer, len, scratch); - rv += len; - } - break; -#endif - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: -#if !defined(WORDS_BIGENDIAN) - rv = count * 8; - goto no_packing_needed; -#else - for (i = 0; i < count; i++) { - unsigned len = fixed64_pack(((uint64_t *) array)[i], scratch); - buffer->append(buffer, len, scratch); - rv += len; - } - break; -#endif - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_INT32: - for (i = 0; i < count; i++) { - unsigned len = int32_pack(((int32_t *) array)[i], scratch); - buffer->append(buffer, len, scratch); - rv += len; - } - break; - case PROTOBUF_C_TYPE_SINT32: - for (i = 0; i < count; i++) { - unsigned len = sint32_pack(((int32_t *) array)[i], scratch); - buffer->append(buffer, len, scratch); - rv += len; - } - break; - case PROTOBUF_C_TYPE_UINT32: - for (i = 0; i < count; i++) { - unsigned len = uint32_pack(((uint32_t *) array)[i], scratch); - buffer->append(buffer, len, scratch); - rv += len; - } - break; - case PROTOBUF_C_TYPE_SINT64: - for (i = 0; i < count; i++) { - unsigned len = sint64_pack(((int64_t *) array)[i], scratch); - buffer->append(buffer, len, scratch); - rv += len; - } - break; - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: - for (i = 0; i < count; i++) { - unsigned len = uint64_pack(((uint64_t *) array)[i], scratch); - buffer->append(buffer, len, scratch); - rv += len; - } - break; - case PROTOBUF_C_TYPE_BOOL: - for (i = 0; i < count; i++) { - unsigned len = boolean_pack(((protobuf_c_boolean *) array)[i], scratch); - buffer->append(buffer, len, scratch); - rv += len; - } - return count; - default: - PROTOBUF_C__ASSERT_NOT_REACHED(); - } - return rv; - -#if !defined(WORDS_BIGENDIAN) -no_packing_needed: - buffer->append(buffer, rv, array); - return rv; -#endif -} - -static size_t -repeated_field_pack_to_buffer(const ProtobufCFieldDescriptor *field, - unsigned count, const void *member, - ProtobufCBuffer *buffer) -{ - char *array = *(char * const *) member; - - if (count == 0) - return 0; - if (0 != (field->flags & PROTOBUF_C_FIELD_FLAG_PACKED)) { - uint8_t scratch[MAX_UINT64_ENCODED_SIZE * 2]; - size_t rv = tag_pack(field->id, scratch); - size_t payload_len = get_packed_payload_length(field, count, array); - size_t tmp; - - scratch[0] |= PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED; - rv += uint32_pack(payload_len, scratch + rv); - buffer->append(buffer, rv, scratch); - tmp = pack_buffer_packed_payload(field, count, array, buffer); - assert(tmp == payload_len); - return rv + payload_len; - } else { - size_t siz; - unsigned i; - /* CONSIDER: optimize this case a bit (by putting the loop inside the switch) */ - unsigned rv = 0; - - siz = sizeof_elt_in_repeated_array(field->type); - for (i = 0; i < count; i++) { - rv += required_field_pack_to_buffer(field, array, buffer); - array += siz; - } - return rv; - } -} - -static size_t -unknown_field_pack_to_buffer(const ProtobufCMessageUnknownField *field, - ProtobufCBuffer *buffer) -{ - uint8_t header[MAX_UINT64_ENCODED_SIZE]; - size_t rv = tag_pack(field->tag, header); - - header[0] |= field->wire_type; - buffer->append(buffer, rv, header); - buffer->append(buffer, field->len, field->data); - return rv + field->len; -} - -/**@}*/ - -size_t -protobuf_c_message_pack_to_buffer(const ProtobufCMessage *message, - ProtobufCBuffer *buffer) -{ - unsigned i; - size_t rv = 0; - - ASSERT_IS_MESSAGE(message); - for (i = 0; i < message->descriptor->n_fields; i++) { - const ProtobufCFieldDescriptor *field = - message->descriptor->fields + i; - const void *member = - ((const char *) message) + field->offset; - const void *qmember = - ((const char *) message) + field->quantifier_offset; - - if (field->label == PROTOBUF_C_LABEL_REQUIRED) { - rv += required_field_pack_to_buffer(field, member, buffer); - } else if ((field->label == PROTOBUF_C_LABEL_OPTIONAL || - field->label == PROTOBUF_C_LABEL_NONE) && - (0 != (field->flags & PROTOBUF_C_FIELD_FLAG_ONEOF))) { - rv += oneof_field_pack_to_buffer( - field, - *(const uint32_t *) qmember, - member, - buffer - ); - } else if (field->label == PROTOBUF_C_LABEL_OPTIONAL) { - rv += optional_field_pack_to_buffer( - field, - *(const protobuf_c_boolean *) qmember, - member, - buffer - ); - } else if (field->label == PROTOBUF_C_LABEL_NONE) { - rv += unlabeled_field_pack_to_buffer( - field, - member, - buffer - ); - } else { - rv += repeated_field_pack_to_buffer( - field, - *(const size_t *) qmember, - member, - buffer - ); - } - } - for (i = 0; i < message->n_unknown_fields; i++) - rv += unknown_field_pack_to_buffer(&message->unknown_fields[i], buffer); - - return rv; -} - -/** - * \defgroup unpack unpacking implementation - * - * Routines mainly used by the unpacking functions. - * - * \ingroup internal - * @{ - */ - -static inline int -int_range_lookup(unsigned n_ranges, const ProtobufCIntRange *ranges, int value) -{ - unsigned n; - unsigned start; - - if (n_ranges == 0) - return -1; - start = 0; - n = n_ranges; - while (n > 1) { - unsigned mid = start + n / 2; - - if (value < ranges[mid].start_value) { - n = mid - start; - } else if (value >= ranges[mid].start_value + - (int) (ranges[mid + 1].orig_index - - ranges[mid].orig_index)) - { - unsigned new_start = mid + 1; - n = start + n - new_start; - start = new_start; - } else - return (value - ranges[mid].start_value) + - ranges[mid].orig_index; - } - if (n > 0) { - unsigned start_orig_index = ranges[start].orig_index; - unsigned range_size = - ranges[start + 1].orig_index - start_orig_index; - - if (ranges[start].start_value <= value && - value < (int) (ranges[start].start_value + range_size)) - { - return (value - ranges[start].start_value) + - start_orig_index; - } - } - return -1; -} - -static size_t -parse_tag_and_wiretype(size_t len, - const uint8_t *data, - uint32_t *tag_out, - uint8_t *wiretype_out) -{ - unsigned max_rv = len > 5 ? 5 : len; - uint32_t tag = (data[0] & 0x7f) >> 3; - unsigned shift = 4; - unsigned rv; - - /* 0 is not a valid tag value */ - if ((data[0] & 0xf8) == 0) { - return 0; - } - - *wiretype_out = data[0] & 7; - if ((data[0] & 0x80) == 0) { - *tag_out = tag; - return 1; - } - for (rv = 1; rv < max_rv; rv++) { - if (data[rv] & 0x80) { - tag |= (data[rv] & 0x7f) << shift; - shift += 7; - } else { - tag |= data[rv] << shift; - *tag_out = tag; - return rv + 1; - } - } - return 0; /* error: bad header */ -} - -/* sizeof(ScannedMember) must be <= (1UL< INT_MAX) { - // Protobuf messages should always be less than 2 GiB in size. - // We also want to return early here so that hdr_len + val does - // not overflow on 32-bit systems. - PROTOBUF_C_UNPACK_ERROR("length prefix of %lu is too large", - (unsigned long int)val); - return 0; - } - if (hdr_len + val > len) { - PROTOBUF_C_UNPACK_ERROR("data too short after length-prefix of %lu", - (unsigned long int)val); - return 0; - } - return hdr_len + val; -} - -static size_t -max_b128_numbers(size_t len, const uint8_t *data) -{ - size_t rv = 0; - while (len--) - if ((*data++ & 0x80) == 0) - ++rv; - return rv; -} - -/**@}*/ - -/** - * Merge earlier message into a latter message. - * - * For numeric types and strings, if the same value appears multiple - * times, the parser accepts the last value it sees. For embedded - * message fields, the parser merges multiple instances of the same - * field. That is, all singular scalar fields in the latter instance - * replace those in the former, singular embedded messages are merged, - * and repeated fields are concatenated. - * - * The earlier message should be freed after calling this function, as - * some of its fields may have been reused and changed to their default - * values during the merge. - */ -static protobuf_c_boolean -merge_messages(ProtobufCMessage *earlier_msg, - ProtobufCMessage *latter_msg, - ProtobufCAllocator *allocator) -{ - unsigned i; - const ProtobufCFieldDescriptor *fields = - latter_msg->descriptor->fields; - for (i = 0; i < latter_msg->descriptor->n_fields; i++) { - if (fields[i].label == PROTOBUF_C_LABEL_REPEATED) { - size_t *n_earlier = - STRUCT_MEMBER_PTR(size_t, earlier_msg, - fields[i].quantifier_offset); - uint8_t **p_earlier = - STRUCT_MEMBER_PTR(uint8_t *, earlier_msg, - fields[i].offset); - size_t *n_latter = - STRUCT_MEMBER_PTR(size_t, latter_msg, - fields[i].quantifier_offset); - uint8_t **p_latter = - STRUCT_MEMBER_PTR(uint8_t *, latter_msg, - fields[i].offset); - - if (*n_earlier > 0) { - if (*n_latter > 0) { - /* Concatenate the repeated field */ - size_t el_size = - sizeof_elt_in_repeated_array(fields[i].type); - uint8_t *new_field; - - new_field = do_alloc(allocator, - (*n_earlier + *n_latter) * el_size); - if (!new_field) - return FALSE; - - memcpy(new_field, *p_earlier, - *n_earlier * el_size); - memcpy(new_field + - *n_earlier * el_size, - *p_latter, - *n_latter * el_size); - - do_free(allocator, *p_latter); - do_free(allocator, *p_earlier); - *p_latter = new_field; - *n_latter = *n_earlier + *n_latter; - } else { - /* Zero copy the repeated field from the earlier message */ - *n_latter = *n_earlier; - *p_latter = *p_earlier; - } - /* Make sure the field does not get double freed */ - *n_earlier = 0; - *p_earlier = 0; - } - } else if (fields[i].label == PROTOBUF_C_LABEL_OPTIONAL || - fields[i].label == PROTOBUF_C_LABEL_NONE) { - const ProtobufCFieldDescriptor *field; - uint32_t *earlier_case_p = STRUCT_MEMBER_PTR(uint32_t, - earlier_msg, - fields[i]. - quantifier_offset); - uint32_t *latter_case_p = STRUCT_MEMBER_PTR(uint32_t, - latter_msg, - fields[i]. - quantifier_offset); - protobuf_c_boolean need_to_merge = FALSE; - void *earlier_elem; - void *latter_elem; - const void *def_val; - - if (fields[i].flags & PROTOBUF_C_FIELD_FLAG_ONEOF) { - if (*latter_case_p == 0) { - /* lookup correct oneof field */ - int field_index = - int_range_lookup( - latter_msg->descriptor - ->n_field_ranges, - latter_msg->descriptor - ->field_ranges, - *earlier_case_p); - if (field_index < 0) - return FALSE; - field = latter_msg->descriptor->fields + - field_index; - } else { - /* Oneof is present in the latter message, move on */ - continue; - } - } else { - field = &fields[i]; - } - - earlier_elem = STRUCT_MEMBER_P(earlier_msg, field->offset); - latter_elem = STRUCT_MEMBER_P(latter_msg, field->offset); - def_val = field->default_value; - - switch (field->type) { - case PROTOBUF_C_TYPE_MESSAGE: { - ProtobufCMessage *em = *(ProtobufCMessage **) earlier_elem; - ProtobufCMessage *lm = *(ProtobufCMessage **) latter_elem; - if (em != NULL) { - if (lm != NULL) { - if (!merge_messages(em, lm, allocator)) - return FALSE; - /* Already merged */ - need_to_merge = FALSE; - } else { - /* Zero copy the message */ - need_to_merge = TRUE; - } - } - break; - } - case PROTOBUF_C_TYPE_BYTES: { - uint8_t *e_data = - ((ProtobufCBinaryData *) earlier_elem)->data; - uint8_t *l_data = - ((ProtobufCBinaryData *) latter_elem)->data; - const ProtobufCBinaryData *d_bd = - (ProtobufCBinaryData *) def_val; - - need_to_merge = - (e_data != NULL && - (d_bd == NULL || - e_data != d_bd->data)) && - (l_data == NULL || - (d_bd != NULL && - l_data == d_bd->data)); - break; - } - case PROTOBUF_C_TYPE_STRING: { - char *e_str = *(char **) earlier_elem; - char *l_str = *(char **) latter_elem; - const char *d_str = def_val; - - need_to_merge = e_str != d_str && l_str == d_str; - break; - } - default: { - /* Could be has field or case enum, the logic is - * equivalent, since 0 (FALSE) means not set for - * oneof */ - need_to_merge = (*earlier_case_p != 0) && - (*latter_case_p == 0); - break; - } - } - - if (need_to_merge) { - size_t el_size = - sizeof_elt_in_repeated_array(field->type); - memcpy(latter_elem, earlier_elem, el_size); - /* - * Reset the element from the old message to 0 - * to make sure earlier message deallocation - * doesn't corrupt zero-copied data in the new - * message, earlier message will be freed after - * this function is called anyway - */ - memset(earlier_elem, 0, el_size); - - if (field->quantifier_offset != 0) { - /* Set the has field or the case enum, - * if applicable */ - *latter_case_p = *earlier_case_p; - *earlier_case_p = 0; - } - } - } - } - return TRUE; -} - -/** - * Count packed elements. - * - * Given a raw slab of packed-repeated values, determine the number of - * elements. This function detects certain kinds of errors but not - * others; the remaining error checking is done by - * parse_packed_repeated_member(). - */ -static protobuf_c_boolean -count_packed_elements(ProtobufCType type, - size_t len, const uint8_t *data, size_t *count_out) -{ - switch (type) { - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: - if (len % 4 != 0) { - PROTOBUF_C_UNPACK_ERROR("length must be a multiple of 4 for fixed-length 32-bit types"); - return FALSE; - } - *count_out = len / 4; - return TRUE; - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: - if (len % 8 != 0) { - PROTOBUF_C_UNPACK_ERROR("length must be a multiple of 8 for fixed-length 64-bit types"); - return FALSE; - } - *count_out = len / 8; - return TRUE; - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_INT32: - case PROTOBUF_C_TYPE_SINT32: - case PROTOBUF_C_TYPE_UINT32: - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_SINT64: - case PROTOBUF_C_TYPE_UINT64: - *count_out = max_b128_numbers(len, data); - return TRUE; - case PROTOBUF_C_TYPE_BOOL: - *count_out = len; - return TRUE; - case PROTOBUF_C_TYPE_STRING: - case PROTOBUF_C_TYPE_BYTES: - case PROTOBUF_C_TYPE_MESSAGE: - default: - PROTOBUF_C_UNPACK_ERROR("bad protobuf-c type %u for packed-repeated", type); - return FALSE; - } -} - -static inline uint32_t -parse_uint32(unsigned len, const uint8_t *data) -{ - uint32_t rv = data[0] & 0x7f; - if (len > 1) { - rv |= ((uint32_t) (data[1] & 0x7f) << 7); - if (len > 2) { - rv |= ((uint32_t) (data[2] & 0x7f) << 14); - if (len > 3) { - rv |= ((uint32_t) (data[3] & 0x7f) << 21); - if (len > 4) - rv |= ((uint32_t) (data[4]) << 28); - } - } - } - return rv; -} - -static inline uint32_t -parse_int32(unsigned len, const uint8_t *data) -{ - return parse_uint32(len, data); -} - -static inline int32_t -unzigzag32(uint32_t v) -{ - // Note: Using unsigned types prevents undefined behavior - return (int32_t)((v >> 1) ^ (~(v & 1) + 1)); -} - -static inline uint32_t -parse_fixed_uint32(const uint8_t *data) -{ -#if !defined(WORDS_BIGENDIAN) - uint32_t t; - memcpy(&t, data, 4); - return t; -#else - return data[0] | - ((uint32_t) (data[1]) << 8) | - ((uint32_t) (data[2]) << 16) | - ((uint32_t) (data[3]) << 24); -#endif -} - -static uint64_t -parse_uint64(unsigned len, const uint8_t *data) -{ - unsigned shift, i; - uint64_t rv; - - if (len < 5) - return parse_uint32(len, data); - rv = ((uint64_t) (data[0] & 0x7f)) | - ((uint64_t) (data[1] & 0x7f) << 7) | - ((uint64_t) (data[2] & 0x7f) << 14) | - ((uint64_t) (data[3] & 0x7f) << 21); - shift = 28; - for (i = 4; i < len; i++) { - rv |= (((uint64_t) (data[i] & 0x7f)) << shift); - shift += 7; - } - return rv; -} - -static inline int64_t -unzigzag64(uint64_t v) -{ - // Note: Using unsigned types prevents undefined behavior - return (int64_t)((v >> 1) ^ (~(v & 1) + 1)); -} - -static inline uint64_t -parse_fixed_uint64(const uint8_t *data) -{ -#if !defined(WORDS_BIGENDIAN) - uint64_t t; - memcpy(&t, data, 8); - return t; -#else - return (uint64_t) parse_fixed_uint32(data) | - (((uint64_t) parse_fixed_uint32(data + 4)) << 32); -#endif -} - -static protobuf_c_boolean -parse_boolean(unsigned len, const uint8_t *data) -{ - unsigned i; - for (i = 0; i < len; i++) - if (data[i] & 0x7f) - return TRUE; - return FALSE; -} - -static protobuf_c_boolean -parse_required_member(ScannedMember *scanned_member, - void *member, - ProtobufCAllocator *allocator, - protobuf_c_boolean maybe_clear) -{ - unsigned len = scanned_member->len; - const uint8_t *data = scanned_member->data; - uint8_t wire_type = scanned_member->wire_type; - - switch (scanned_member->field->type) { - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_INT32: - if (wire_type != PROTOBUF_C_WIRE_TYPE_VARINT) - return FALSE; - *(int32_t *) member = parse_int32(len, data); - return TRUE; - case PROTOBUF_C_TYPE_UINT32: - if (wire_type != PROTOBUF_C_WIRE_TYPE_VARINT) - return FALSE; - *(uint32_t *) member = parse_uint32(len, data); - return TRUE; - case PROTOBUF_C_TYPE_SINT32: - if (wire_type != PROTOBUF_C_WIRE_TYPE_VARINT) - return FALSE; - *(int32_t *) member = unzigzag32(parse_uint32(len, data)); - return TRUE; - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: - if (wire_type != PROTOBUF_C_WIRE_TYPE_32BIT) - return FALSE; - *(uint32_t *) member = parse_fixed_uint32(data); - return TRUE; - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: - if (wire_type != PROTOBUF_C_WIRE_TYPE_VARINT) - return FALSE; - *(uint64_t *) member = parse_uint64(len, data); - return TRUE; - case PROTOBUF_C_TYPE_SINT64: - if (wire_type != PROTOBUF_C_WIRE_TYPE_VARINT) - return FALSE; - *(int64_t *) member = unzigzag64(parse_uint64(len, data)); - return TRUE; - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: - if (wire_type != PROTOBUF_C_WIRE_TYPE_64BIT) - return FALSE; - *(uint64_t *) member = parse_fixed_uint64(data); - return TRUE; - case PROTOBUF_C_TYPE_BOOL: - *(protobuf_c_boolean *) member = parse_boolean(len, data); - return TRUE; - case PROTOBUF_C_TYPE_STRING: { - char **pstr = member; - unsigned pref_len = scanned_member->length_prefix_len; - - if (wire_type != PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED) - return FALSE; - - if (maybe_clear && *pstr != NULL) { - const char *def = scanned_member->field->default_value; - if (*pstr != NULL && *pstr != def) - do_free(allocator, *pstr); - } - *pstr = do_alloc(allocator, len - pref_len + 1); - if (*pstr == NULL) - return FALSE; - memcpy(*pstr, data + pref_len, len - pref_len); - (*pstr)[len - pref_len] = 0; - return TRUE; - } - case PROTOBUF_C_TYPE_BYTES: { - ProtobufCBinaryData *bd = member; - const ProtobufCBinaryData *def_bd; - unsigned pref_len = scanned_member->length_prefix_len; - - if (wire_type != PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED) - return FALSE; - - def_bd = scanned_member->field->default_value; - if (maybe_clear && - bd->data != NULL && - (def_bd == NULL || bd->data != def_bd->data)) - { - do_free(allocator, bd->data); - } - if (len > pref_len) { - bd->data = do_alloc(allocator, len - pref_len); - if (bd->data == NULL) - return FALSE; - memcpy(bd->data, data + pref_len, len - pref_len); - } else { - bd->data = NULL; - } - bd->len = len - pref_len; - return TRUE; - } - case PROTOBUF_C_TYPE_MESSAGE: { - ProtobufCMessage **pmessage = member; - ProtobufCMessage *subm; - const ProtobufCMessage *def_mess; - protobuf_c_boolean merge_successful = TRUE; - unsigned pref_len = scanned_member->length_prefix_len; - - if (wire_type != PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED) - return FALSE; - - def_mess = scanned_member->field->default_value; - subm = protobuf_c_message_unpack(scanned_member->field->descriptor, - allocator, - len - pref_len, - data + pref_len); - - if (maybe_clear && - *pmessage != NULL && - *pmessage != def_mess) - { - if (subm != NULL) - merge_successful = merge_messages(*pmessage, subm, allocator); - /* Delete the previous message */ - protobuf_c_message_free_unpacked(*pmessage, allocator); - } - *pmessage = subm; - if (subm == NULL || !merge_successful) - return FALSE; - return TRUE; - } - } - return FALSE; -} - -static protobuf_c_boolean -parse_oneof_member (ScannedMember *scanned_member, - void *member, - ProtobufCMessage *message, - ProtobufCAllocator *allocator) -{ - uint32_t *oneof_case = STRUCT_MEMBER_PTR(uint32_t, message, - scanned_member->field->quantifier_offset); - - /* If we have already parsed a member of this oneof, free it. */ - if (*oneof_case != 0) { - const ProtobufCFieldDescriptor *old_field; - size_t el_size; - /* lookup field */ - int field_index = - int_range_lookup(message->descriptor->n_field_ranges, - message->descriptor->field_ranges, - *oneof_case); - if (field_index < 0) - return FALSE; - old_field = message->descriptor->fields + field_index; - el_size = sizeof_elt_in_repeated_array(old_field->type); - - switch (old_field->type) { - case PROTOBUF_C_TYPE_STRING: { - char **pstr = member; - const char *def = old_field->default_value; - if (*pstr != NULL && *pstr != def) - do_free(allocator, *pstr); - break; - } - case PROTOBUF_C_TYPE_BYTES: { - ProtobufCBinaryData *bd = member; - const ProtobufCBinaryData *def_bd = old_field->default_value; - if (bd->data != NULL && - (def_bd == NULL || bd->data != def_bd->data)) - { - do_free(allocator, bd->data); - } - break; - } - case PROTOBUF_C_TYPE_MESSAGE: { - ProtobufCMessage **pmessage = member; - const ProtobufCMessage *def_mess = old_field->default_value; - if (*pmessage != NULL && *pmessage != def_mess) - protobuf_c_message_free_unpacked(*pmessage, allocator); - break; - } - default: - break; - } - - memset (member, 0, el_size); - } - if (!parse_required_member (scanned_member, member, allocator, TRUE)) - return FALSE; - - *oneof_case = scanned_member->tag; - return TRUE; -} - - -static protobuf_c_boolean -parse_optional_member(ScannedMember *scanned_member, - void *member, - ProtobufCMessage *message, - ProtobufCAllocator *allocator) -{ - if (!parse_required_member(scanned_member, member, allocator, TRUE)) - return FALSE; - if (scanned_member->field->quantifier_offset != 0) - STRUCT_MEMBER(protobuf_c_boolean, - message, - scanned_member->field->quantifier_offset) = TRUE; - return TRUE; -} - -static protobuf_c_boolean -parse_repeated_member(ScannedMember *scanned_member, - void *member, - ProtobufCMessage *message, - ProtobufCAllocator *allocator) -{ - const ProtobufCFieldDescriptor *field = scanned_member->field; - size_t *p_n = STRUCT_MEMBER_PTR(size_t, message, field->quantifier_offset); - size_t siz = sizeof_elt_in_repeated_array(field->type); - char *array = *(char **) member; - - if (!parse_required_member(scanned_member, array + siz * (*p_n), - allocator, FALSE)) - { - return FALSE; - } - *p_n += 1; - return TRUE; -} - -static unsigned -scan_varint(unsigned len, const uint8_t *data) -{ - unsigned i; - if (len > 10) - len = 10; - for (i = 0; i < len; i++) - if ((data[i] & 0x80) == 0) - break; - if (i == len) - return 0; - return i + 1; -} - -static protobuf_c_boolean -parse_packed_repeated_member(ScannedMember *scanned_member, - void *member, - ProtobufCMessage *message) -{ - const ProtobufCFieldDescriptor *field = scanned_member->field; - size_t *p_n = STRUCT_MEMBER_PTR(size_t, message, field->quantifier_offset); - size_t siz = sizeof_elt_in_repeated_array(field->type); - void *array = *(char **) member + siz * (*p_n); - const uint8_t *at = scanned_member->data + scanned_member->length_prefix_len; - size_t rem = scanned_member->len - scanned_member->length_prefix_len; - size_t count = 0; -#if defined(WORDS_BIGENDIAN) - unsigned i; -#endif - - switch (field->type) { - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: - count = (scanned_member->len - scanned_member->length_prefix_len) / 4; -#if !defined(WORDS_BIGENDIAN) - goto no_unpacking_needed; -#else - for (i = 0; i < count; i++) { - ((uint32_t *) array)[i] = parse_fixed_uint32(at); - at += 4; - } - break; -#endif - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: - count = (scanned_member->len - scanned_member->length_prefix_len) / 8; -#if !defined(WORDS_BIGENDIAN) - goto no_unpacking_needed; -#else - for (i = 0; i < count; i++) { - ((uint64_t *) array)[i] = parse_fixed_uint64(at); - at += 8; - } - break; -#endif - case PROTOBUF_C_TYPE_ENUM: - case PROTOBUF_C_TYPE_INT32: - while (rem > 0) { - unsigned s = scan_varint(rem, at); - if (s == 0) { - PROTOBUF_C_UNPACK_ERROR("bad packed-repeated int32 value"); - return FALSE; - } - ((int32_t *) array)[count++] = parse_int32(s, at); - at += s; - rem -= s; - } - break; - case PROTOBUF_C_TYPE_SINT32: - while (rem > 0) { - unsigned s = scan_varint(rem, at); - if (s == 0) { - PROTOBUF_C_UNPACK_ERROR("bad packed-repeated sint32 value"); - return FALSE; - } - ((int32_t *) array)[count++] = unzigzag32(parse_uint32(s, at)); - at += s; - rem -= s; - } - break; - case PROTOBUF_C_TYPE_UINT32: - while (rem > 0) { - unsigned s = scan_varint(rem, at); - if (s == 0) { - PROTOBUF_C_UNPACK_ERROR("bad packed-repeated enum or uint32 value"); - return FALSE; - } - ((uint32_t *) array)[count++] = parse_uint32(s, at); - at += s; - rem -= s; - } - break; - - case PROTOBUF_C_TYPE_SINT64: - while (rem > 0) { - unsigned s = scan_varint(rem, at); - if (s == 0) { - PROTOBUF_C_UNPACK_ERROR("bad packed-repeated sint64 value"); - return FALSE; - } - ((int64_t *) array)[count++] = unzigzag64(parse_uint64(s, at)); - at += s; - rem -= s; - } - break; - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_UINT64: - while (rem > 0) { - unsigned s = scan_varint(rem, at); - if (s == 0) { - PROTOBUF_C_UNPACK_ERROR("bad packed-repeated int64/uint64 value"); - return FALSE; - } - ((int64_t *) array)[count++] = parse_uint64(s, at); - at += s; - rem -= s; - } - break; - case PROTOBUF_C_TYPE_BOOL: - while (rem > 0) { - unsigned s = scan_varint(rem, at); - if (s == 0) { - PROTOBUF_C_UNPACK_ERROR("bad packed-repeated boolean value"); - return FALSE; - } - ((protobuf_c_boolean *) array)[count++] = parse_boolean(s, at); - at += s; - rem -= s; - } - break; - default: - PROTOBUF_C__ASSERT_NOT_REACHED(); - } - *p_n += count; - return TRUE; - -#if !defined(WORDS_BIGENDIAN) -no_unpacking_needed: - memcpy(array, at, count * siz); - *p_n += count; - return TRUE; -#endif -} - -static protobuf_c_boolean -is_packable_type(ProtobufCType type) -{ - return - type != PROTOBUF_C_TYPE_STRING && - type != PROTOBUF_C_TYPE_BYTES && - type != PROTOBUF_C_TYPE_MESSAGE; -} - -static protobuf_c_boolean -parse_member(ScannedMember *scanned_member, - ProtobufCMessage *message, - ProtobufCAllocator *allocator) -{ - const ProtobufCFieldDescriptor *field = scanned_member->field; - void *member; - - if (field == NULL) { - ProtobufCMessageUnknownField *ufield = - message->unknown_fields + - (message->n_unknown_fields++); - ufield->tag = scanned_member->tag; - ufield->wire_type = scanned_member->wire_type; - ufield->len = scanned_member->len; - ufield->data = do_alloc(allocator, scanned_member->len); - if (ufield->data == NULL) - return FALSE; - memcpy(ufield->data, scanned_member->data, ufield->len); - return TRUE; - } - member = (char *) message + field->offset; - switch (field->label) { - case PROTOBUF_C_LABEL_REQUIRED: - return parse_required_member(scanned_member, member, - allocator, TRUE); - case PROTOBUF_C_LABEL_OPTIONAL: - case PROTOBUF_C_LABEL_NONE: - if (0 != (field->flags & PROTOBUF_C_FIELD_FLAG_ONEOF)) { - return parse_oneof_member(scanned_member, member, - message, allocator); - } else { - return parse_optional_member(scanned_member, member, - message, allocator); - } - case PROTOBUF_C_LABEL_REPEATED: - if (scanned_member->wire_type == - PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED && - (0 != (field->flags & PROTOBUF_C_FIELD_FLAG_PACKED) || - is_packable_type(field->type))) - { - return parse_packed_repeated_member(scanned_member, - member, message); - } else { - return parse_repeated_member(scanned_member, - member, message, - allocator); - } - } - PROTOBUF_C__ASSERT_NOT_REACHED(); - return 0; -} - -/** - * Initialise messages generated by old code. - * - * This function is used if desc->message_init == NULL (which occurs - * for old code, and which would be useful to support allocating - * descriptors dynamically). - */ -static void -message_init_generic(const ProtobufCMessageDescriptor *desc, - ProtobufCMessage *message) -{ - unsigned i; - - memset(message, 0, desc->sizeof_message); - message->descriptor = desc; - for (i = 0; i < desc->n_fields; i++) { - if (desc->fields[i].default_value != NULL && - desc->fields[i].label != PROTOBUF_C_LABEL_REPEATED) - { - void *field = - STRUCT_MEMBER_P(message, desc->fields[i].offset); - const void *dv = desc->fields[i].default_value; - - switch (desc->fields[i].type) { - case PROTOBUF_C_TYPE_INT32: - case PROTOBUF_C_TYPE_SINT32: - case PROTOBUF_C_TYPE_SFIXED32: - case PROTOBUF_C_TYPE_UINT32: - case PROTOBUF_C_TYPE_FIXED32: - case PROTOBUF_C_TYPE_FLOAT: - case PROTOBUF_C_TYPE_ENUM: - memcpy(field, dv, 4); - break; - case PROTOBUF_C_TYPE_INT64: - case PROTOBUF_C_TYPE_SINT64: - case PROTOBUF_C_TYPE_SFIXED64: - case PROTOBUF_C_TYPE_UINT64: - case PROTOBUF_C_TYPE_FIXED64: - case PROTOBUF_C_TYPE_DOUBLE: - memcpy(field, dv, 8); - break; - case PROTOBUF_C_TYPE_BOOL: - memcpy(field, dv, sizeof(protobuf_c_boolean)); - break; - case PROTOBUF_C_TYPE_BYTES: - memcpy(field, dv, sizeof(ProtobufCBinaryData)); - break; - - case PROTOBUF_C_TYPE_STRING: - case PROTOBUF_C_TYPE_MESSAGE: - /* - * The next line essentially implements a cast - * from const, which is totally unavoidable. - */ - *(const void **) field = dv; - break; - } - } - } -} - -/**@}*/ - -/* - * ScannedMember slabs (an unpacking implementation detail). Before doing real - * unpacking, we first scan through the elements to see how many there are (for - * repeated fields), and which field to use (for non-repeated fields given - * twice). - * - * In order to avoid allocations for small messages, we keep a stack-allocated - * slab of ScannedMembers of size FIRST_SCANNED_MEMBER_SLAB_SIZE (16). After we - * fill that up, we allocate each slab twice as large as the previous one. - */ -#define FIRST_SCANNED_MEMBER_SLAB_SIZE_LOG2 4 - -/* - * The number of slabs, including the stack-allocated ones; choose the number so - * that we would overflow if we needed a slab larger than provided. - */ -#define MAX_SCANNED_MEMBER_SLAB \ - (sizeof(unsigned int)*8 - 1 \ - - BOUND_SIZEOF_SCANNED_MEMBER_LOG2 \ - - FIRST_SCANNED_MEMBER_SLAB_SIZE_LOG2) - -#define REQUIRED_FIELD_BITMAP_SET(index) \ - (required_fields_bitmap[(index)/8] |= (1UL<<((index)%8))) - -#define REQUIRED_FIELD_BITMAP_IS_SET(index) \ - (required_fields_bitmap[(index)/8] & (1UL<<((index)%8))) - -ProtobufCMessage * -protobuf_c_message_unpack(const ProtobufCMessageDescriptor *desc, - ProtobufCAllocator *allocator, - size_t len, const uint8_t *data) -{ - ProtobufCMessage *rv; - size_t rem = len; - const uint8_t *at = data; - const ProtobufCFieldDescriptor *last_field = desc->fields + 0; - ScannedMember first_member_slab[1UL << - FIRST_SCANNED_MEMBER_SLAB_SIZE_LOG2]; - - /* - * scanned_member_slabs[i] is an array of arrays of ScannedMember. - * The first slab (scanned_member_slabs[0] is just a pointer to - * first_member_slab), above. All subsequent slabs will be allocated - * using the allocator. - */ - ScannedMember *scanned_member_slabs[MAX_SCANNED_MEMBER_SLAB + 1]; - unsigned which_slab = 0; /* the slab we are currently populating */ - unsigned in_slab_index = 0; /* number of members in the slab */ - size_t n_unknown = 0; - unsigned f; - unsigned j; - unsigned i_slab; - unsigned last_field_index = 0; - unsigned required_fields_bitmap_len; - unsigned char required_fields_bitmap_stack[16]; - unsigned char *required_fields_bitmap = required_fields_bitmap_stack; - protobuf_c_boolean required_fields_bitmap_alloced = FALSE; - - ASSERT_IS_MESSAGE_DESCRIPTOR(desc); - - if (allocator == NULL) - allocator = &protobuf_c__allocator; - - rv = do_alloc(allocator, desc->sizeof_message); - if (!rv) - return (NULL); - scanned_member_slabs[0] = first_member_slab; - - required_fields_bitmap_len = (desc->n_fields + 7) / 8; - if (required_fields_bitmap_len > sizeof(required_fields_bitmap_stack)) { - required_fields_bitmap = do_alloc(allocator, required_fields_bitmap_len); - if (!required_fields_bitmap) { - do_free(allocator, rv); - return (NULL); - } - required_fields_bitmap_alloced = TRUE; - } - memset(required_fields_bitmap, 0, required_fields_bitmap_len); - - /* - * Generated code always defines "message_init". However, we provide a - * fallback for (1) users of old protobuf-c generated-code that do not - * provide the function, and (2) descriptors constructed from some other - * source (most likely, direct construction from the .proto file). - */ - if (desc->message_init != NULL) - protobuf_c_message_init(desc, rv); - else - message_init_generic(desc, rv); - - while (rem > 0) { - uint32_t tag; - uint8_t wire_type; - size_t used = parse_tag_and_wiretype(rem, at, &tag, &wire_type); - const ProtobufCFieldDescriptor *field; - ScannedMember tmp; - - if (used == 0) { - PROTOBUF_C_UNPACK_ERROR("error parsing tag/wiretype at offset %u", - (unsigned) (at - data)); - goto error_cleanup_during_scan; - } - /* - * \todo Consider optimizing for field[1].id == tag, if field[1] - * exists! - */ - if (last_field == NULL || last_field->id != tag) { - /* lookup field */ - int field_index = - int_range_lookup(desc->n_field_ranges, - desc->field_ranges, - tag); - if (field_index < 0) { - field = NULL; - n_unknown++; - } else { - field = desc->fields + field_index; - last_field = field; - last_field_index = field_index; - } - } else { - field = last_field; - } - - if (field != NULL && field->label == PROTOBUF_C_LABEL_REQUIRED) - REQUIRED_FIELD_BITMAP_SET(last_field_index); - - at += used; - rem -= used; - tmp.tag = tag; - tmp.wire_type = wire_type; - tmp.field = field; - tmp.data = at; - tmp.length_prefix_len = 0; - - switch (wire_type) { - case PROTOBUF_C_WIRE_TYPE_VARINT: { - unsigned max_len = rem < 10 ? rem : 10; - unsigned i; - - for (i = 0; i < max_len; i++) - if ((at[i] & 0x80) == 0) - break; - if (i == max_len) { - PROTOBUF_C_UNPACK_ERROR("unterminated varint at offset %u", - (unsigned) (at - data)); - goto error_cleanup_during_scan; - } - tmp.len = i + 1; - break; - } - case PROTOBUF_C_WIRE_TYPE_64BIT: - if (rem < 8) { - PROTOBUF_C_UNPACK_ERROR("too short after 64bit wiretype at offset %u", - (unsigned) (at - data)); - goto error_cleanup_during_scan; - } - tmp.len = 8; - break; - case PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED: { - size_t pref_len; - - tmp.len = scan_length_prefixed_data(rem, at, &pref_len); - if (tmp.len == 0) { - /* NOTE: scan_length_prefixed_data calls UNPACK_ERROR */ - goto error_cleanup_during_scan; - } - tmp.length_prefix_len = pref_len; - break; - } - case PROTOBUF_C_WIRE_TYPE_32BIT: - if (rem < 4) { - PROTOBUF_C_UNPACK_ERROR("too short after 32bit wiretype at offset %u", - (unsigned) (at - data)); - goto error_cleanup_during_scan; - } - tmp.len = 4; - break; - default: - PROTOBUF_C_UNPACK_ERROR("unsupported tag %u at offset %u", - wire_type, (unsigned) (at - data)); - goto error_cleanup_during_scan; - } - - if (in_slab_index == (1UL << - (which_slab + FIRST_SCANNED_MEMBER_SLAB_SIZE_LOG2))) - { - size_t size; - - in_slab_index = 0; - if (which_slab == MAX_SCANNED_MEMBER_SLAB) { - PROTOBUF_C_UNPACK_ERROR("too many fields"); - goto error_cleanup_during_scan; - } - which_slab++; - size = sizeof(ScannedMember) - << (which_slab + FIRST_SCANNED_MEMBER_SLAB_SIZE_LOG2); - scanned_member_slabs[which_slab] = do_alloc(allocator, size); - if (scanned_member_slabs[which_slab] == NULL) - goto error_cleanup_during_scan; - } - scanned_member_slabs[which_slab][in_slab_index++] = tmp; - - if (field != NULL && field->label == PROTOBUF_C_LABEL_REPEATED) { - size_t *n = STRUCT_MEMBER_PTR(size_t, rv, - field->quantifier_offset); - if (wire_type == PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED && - (0 != (field->flags & PROTOBUF_C_FIELD_FLAG_PACKED) || - is_packable_type(field->type))) - { - size_t count; - if (!count_packed_elements(field->type, - tmp.len - - tmp.length_prefix_len, - tmp.data + - tmp.length_prefix_len, - &count)) - { - PROTOBUF_C_UNPACK_ERROR("counting packed elements"); - goto error_cleanup_during_scan; - } - *n += count; - } else { - *n += 1; - } - } - - at += tmp.len; - rem -= tmp.len; - } - - /* allocate space for repeated fields, also check that all required fields have been set */ - for (f = 0; f < desc->n_fields; f++) { - const ProtobufCFieldDescriptor *field = desc->fields + f; - if (field->label == PROTOBUF_C_LABEL_REPEATED) { - size_t siz = - sizeof_elt_in_repeated_array(field->type); - size_t *n_ptr = - STRUCT_MEMBER_PTR(size_t, rv, - field->quantifier_offset); - if (*n_ptr != 0) { - unsigned n = *n_ptr; - void *a; - *n_ptr = 0; - assert(rv->descriptor != NULL); -#define CLEAR_REMAINING_N_PTRS() \ - for(f++;f < desc->n_fields; f++) \ - { \ - field = desc->fields + f; \ - if (field->label == PROTOBUF_C_LABEL_REPEATED) \ - STRUCT_MEMBER (size_t, rv, field->quantifier_offset) = 0; \ - } - a = do_alloc(allocator, siz * n); - if (!a) { - CLEAR_REMAINING_N_PTRS(); - goto error_cleanup; - } - STRUCT_MEMBER(void *, rv, field->offset) = a; - } - } else if (field->label == PROTOBUF_C_LABEL_REQUIRED) { - if (field->default_value == NULL && - !REQUIRED_FIELD_BITMAP_IS_SET(f)) - { - CLEAR_REMAINING_N_PTRS(); - PROTOBUF_C_UNPACK_ERROR("message '%s': missing required field '%s'", - desc->name, field->name); - goto error_cleanup; - } - } - } -#undef CLEAR_REMAINING_N_PTRS - - /* allocate space for unknown fields */ - if (n_unknown) { - rv->unknown_fields = do_alloc(allocator, - n_unknown * sizeof(ProtobufCMessageUnknownField)); - if (rv->unknown_fields == NULL) - goto error_cleanup; - } - - /* do real parsing */ - for (i_slab = 0; i_slab <= which_slab; i_slab++) { - unsigned max = (i_slab == which_slab) ? - in_slab_index : (1UL << (i_slab + 4)); - ScannedMember *slab = scanned_member_slabs[i_slab]; - - for (j = 0; j < max; j++) { - if (!parse_member(slab + j, rv, allocator)) { - PROTOBUF_C_UNPACK_ERROR("error parsing member %s of %s", - slab->field ? slab->field->name : "*unknown-field*", - desc->name); - goto error_cleanup; - } - } - } - - /* cleanup */ - for (j = 1; j <= which_slab; j++) - do_free(allocator, scanned_member_slabs[j]); - if (required_fields_bitmap_alloced) - do_free(allocator, required_fields_bitmap); - return rv; - -error_cleanup: - protobuf_c_message_free_unpacked(rv, allocator); - for (j = 1; j <= which_slab; j++) - do_free(allocator, scanned_member_slabs[j]); - if (required_fields_bitmap_alloced) - do_free(allocator, required_fields_bitmap); - return NULL; - -error_cleanup_during_scan: - do_free(allocator, rv); - for (j = 1; j <= which_slab; j++) - do_free(allocator, scanned_member_slabs[j]); - if (required_fields_bitmap_alloced) - do_free(allocator, required_fields_bitmap); - return NULL; -} - -void -protobuf_c_message_free_unpacked(ProtobufCMessage *message, - ProtobufCAllocator *allocator) -{ - const ProtobufCMessageDescriptor *desc; - unsigned f; - - if (message == NULL) - return; - - desc = message->descriptor; - - ASSERT_IS_MESSAGE(message); - - if (allocator == NULL) - allocator = &protobuf_c__allocator; - message->descriptor = NULL; - for (f = 0; f < desc->n_fields; f++) { - if (0 != (desc->fields[f].flags & PROTOBUF_C_FIELD_FLAG_ONEOF) && - desc->fields[f].id != - STRUCT_MEMBER(uint32_t, message, desc->fields[f].quantifier_offset)) - { - /* This is not the selected oneof, skip it */ - continue; - } - - if (desc->fields[f].label == PROTOBUF_C_LABEL_REPEATED) { - size_t n = STRUCT_MEMBER(size_t, - message, - desc->fields[f].quantifier_offset); - void *arr = STRUCT_MEMBER(void *, - message, - desc->fields[f].offset); - - if (arr != NULL) { - if (desc->fields[f].type == PROTOBUF_C_TYPE_STRING) { - unsigned i; - for (i = 0; i < n; i++) - do_free(allocator, ((char **) arr)[i]); - } else if (desc->fields[f].type == PROTOBUF_C_TYPE_BYTES) { - unsigned i; - for (i = 0; i < n; i++) - do_free(allocator, ((ProtobufCBinaryData *) arr)[i].data); - } else if (desc->fields[f].type == PROTOBUF_C_TYPE_MESSAGE) { - unsigned i; - for (i = 0; i < n; i++) - protobuf_c_message_free_unpacked( - ((ProtobufCMessage **) arr)[i], - allocator - ); - } - do_free(allocator, arr); - } - } else if (desc->fields[f].type == PROTOBUF_C_TYPE_STRING) { - char *str = STRUCT_MEMBER(char *, message, - desc->fields[f].offset); - - if (str && str != desc->fields[f].default_value) - do_free(allocator, str); - } else if (desc->fields[f].type == PROTOBUF_C_TYPE_BYTES) { - void *data = STRUCT_MEMBER(ProtobufCBinaryData, message, - desc->fields[f].offset).data; - const ProtobufCBinaryData *default_bd; - - default_bd = desc->fields[f].default_value; - if (data != NULL && - (default_bd == NULL || - default_bd->data != data)) - { - do_free(allocator, data); - } - } else if (desc->fields[f].type == PROTOBUF_C_TYPE_MESSAGE) { - ProtobufCMessage *sm; - - sm = STRUCT_MEMBER(ProtobufCMessage *, message, - desc->fields[f].offset); - if (sm && sm != desc->fields[f].default_value) - protobuf_c_message_free_unpacked(sm, allocator); - } - } - - for (f = 0; f < message->n_unknown_fields; f++) - do_free(allocator, message->unknown_fields[f].data); - if (message->unknown_fields != NULL) - do_free(allocator, message->unknown_fields); - - do_free(allocator, message); -} - -void -protobuf_c_message_init(const ProtobufCMessageDescriptor * descriptor, - void *message) -{ - descriptor->message_init((ProtobufCMessage *) (message)); -} - -protobuf_c_boolean -protobuf_c_message_check(const ProtobufCMessage *message) -{ - unsigned i; - - if (!message || - !message->descriptor || - message->descriptor->magic != PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC) - { - return FALSE; - } - - for (i = 0; i < message->descriptor->n_fields; i++) { - const ProtobufCFieldDescriptor *f = message->descriptor->fields + i; - ProtobufCType type = f->type; - ProtobufCLabel label = f->label; - void *field = STRUCT_MEMBER_P (message, f->offset); - - if (f->flags & PROTOBUF_C_FIELD_FLAG_ONEOF) { - const uint32_t *oneof_case = STRUCT_MEMBER_P (message, f->quantifier_offset); - if (f->id != *oneof_case) { - continue; //Do not check if it is an unpopulated oneof member. - } - } - - if (label == PROTOBUF_C_LABEL_REPEATED) { - size_t *quantity = STRUCT_MEMBER_P (message, f->quantifier_offset); - - if (*quantity > 0 && *(void **) field == NULL) { - return FALSE; - } - - if (type == PROTOBUF_C_TYPE_MESSAGE) { - ProtobufCMessage **submessage = *(ProtobufCMessage ***) field; - unsigned j; - for (j = 0; j < *quantity; j++) { - if (!protobuf_c_message_check(submessage[j])) - return FALSE; - } - } else if (type == PROTOBUF_C_TYPE_STRING) { - char **string = *(char ***) field; - unsigned j; - for (j = 0; j < *quantity; j++) { - if (!string[j]) - return FALSE; - } - } else if (type == PROTOBUF_C_TYPE_BYTES) { - ProtobufCBinaryData *bd = *(ProtobufCBinaryData **) field; - unsigned j; - for (j = 0; j < *quantity; j++) { - if (bd[j].len > 0 && bd[j].data == NULL) - return FALSE; - } - } - - } else { /* PROTOBUF_C_LABEL_REQUIRED or PROTOBUF_C_LABEL_OPTIONAL */ - - if (type == PROTOBUF_C_TYPE_MESSAGE) { - ProtobufCMessage *submessage = *(ProtobufCMessage **) field; - if (label == PROTOBUF_C_LABEL_REQUIRED || submessage != NULL) { - if (!protobuf_c_message_check(submessage)) - return FALSE; - } - } else if (type == PROTOBUF_C_TYPE_STRING) { - char *string = *(char **) field; - if (label == PROTOBUF_C_LABEL_REQUIRED && string == NULL) - return FALSE; - } else if (type == PROTOBUF_C_TYPE_BYTES) { - protobuf_c_boolean *has = STRUCT_MEMBER_P (message, f->quantifier_offset); - ProtobufCBinaryData *bd = field; - if (label == PROTOBUF_C_LABEL_REQUIRED || *has == TRUE) { - if (bd->len > 0 && bd->data == NULL) - return FALSE; - } - } - } - } - - return TRUE; -} - -/* === services === */ - -typedef void (*GenericHandler) (void *service, - const ProtobufCMessage *input, - ProtobufCClosure closure, - void *closure_data); -void -protobuf_c_service_invoke_internal(ProtobufCService *service, - unsigned method_index, - const ProtobufCMessage *input, - ProtobufCClosure closure, - void *closure_data) -{ - GenericHandler *handlers; - GenericHandler handler; - - /* - * Verify that method_index is within range. If this fails, you are - * likely invoking a newly added method on an old service. (Although - * other memory corruption bugs can cause this assertion too.) - */ - assert(method_index < service->descriptor->n_methods); - - /* - * Get the array of virtual methods (which are enumerated by the - * generated code). - */ - handlers = (GenericHandler *) (service + 1); - - /* - * Get our method and invoke it. - * \todo Seems like handler == NULL is a situation that needs handling. - */ - handler = handlers[method_index]; - (*handler)(service, input, closure, closure_data); -} - -void -protobuf_c_service_generated_init(ProtobufCService *service, - const ProtobufCServiceDescriptor *descriptor, - ProtobufCServiceDestroy destroy) -{ - ASSERT_IS_SERVICE_DESCRIPTOR(descriptor); - service->descriptor = descriptor; - service->destroy = destroy; - service->invoke = protobuf_c_service_invoke_internal; - memset(service + 1, 0, descriptor->n_methods * sizeof(GenericHandler)); -} - -void protobuf_c_service_destroy(ProtobufCService *service) -{ - service->destroy(service); -} - -/* --- querying the descriptors --- */ - -const ProtobufCEnumValue * -protobuf_c_enum_descriptor_get_value_by_name(const ProtobufCEnumDescriptor *desc, - const char *name) -{ - unsigned start = 0; - unsigned count; - - if (desc == NULL || desc->values_by_name == NULL) - return NULL; - - count = desc->n_value_names; - - while (count > 1) { - unsigned mid = start + count / 2; - int rv = strcmp(desc->values_by_name[mid].name, name); - if (rv == 0) - return desc->values + desc->values_by_name[mid].index; - else if (rv < 0) { - count = start + count - (mid + 1); - start = mid + 1; - } else - count = mid - start; - } - if (count == 0) - return NULL; - if (strcmp(desc->values_by_name[start].name, name) == 0) - return desc->values + desc->values_by_name[start].index; - return NULL; -} - -const ProtobufCEnumValue * -protobuf_c_enum_descriptor_get_value(const ProtobufCEnumDescriptor *desc, - int value) -{ - int rv = int_range_lookup(desc->n_value_ranges, desc->value_ranges, value); - if (rv < 0) - return NULL; - return desc->values + rv; -} - -const ProtobufCFieldDescriptor * -protobuf_c_message_descriptor_get_field_by_name(const ProtobufCMessageDescriptor *desc, - const char *name) -{ - unsigned start = 0; - unsigned count; - const ProtobufCFieldDescriptor *field; - - if (desc == NULL || desc->fields_sorted_by_name == NULL) - return NULL; - - count = desc->n_fields; - - while (count > 1) { - unsigned mid = start + count / 2; - int rv; - field = desc->fields + desc->fields_sorted_by_name[mid]; - rv = strcmp(field->name, name); - if (rv == 0) - return field; - else if (rv < 0) { - count = start + count - (mid + 1); - start = mid + 1; - } else - count = mid - start; - } - if (count == 0) - return NULL; - field = desc->fields + desc->fields_sorted_by_name[start]; - if (strcmp(field->name, name) == 0) - return field; - return NULL; -} - -const ProtobufCFieldDescriptor * -protobuf_c_message_descriptor_get_field(const ProtobufCMessageDescriptor *desc, - unsigned value) -{ - int rv = int_range_lookup(desc->n_field_ranges,desc->field_ranges, value); - if (rv < 0) - return NULL; - return desc->fields + rv; -} - -const ProtobufCMethodDescriptor * -protobuf_c_service_descriptor_get_method_by_name(const ProtobufCServiceDescriptor *desc, - const char *name) -{ - unsigned start = 0; - unsigned count; - - if (desc == NULL || desc->method_indices_by_name == NULL) - return NULL; - - count = desc->n_methods; - - while (count > 1) { - unsigned mid = start + count / 2; - unsigned mid_index = desc->method_indices_by_name[mid]; - const char *mid_name = desc->methods[mid_index].name; - int rv = strcmp(mid_name, name); - - if (rv == 0) - return desc->methods + desc->method_indices_by_name[mid]; - if (rv < 0) { - count = start + count - (mid + 1); - start = mid + 1; - } else { - count = mid - start; - } - } - if (count == 0) - return NULL; - if (strcmp(desc->methods[desc->method_indices_by_name[start]].name, name) == 0) - return desc->methods + desc->method_indices_by_name[start]; - return NULL; -} \ No newline at end of file diff --git a/vendor/protobuf-c/protobuf-c.h b/vendor/protobuf-c/protobuf-c.h deleted file mode 100644 index 5df7e9b8a..000000000 --- a/vendor/protobuf-c/protobuf-c.h +++ /dev/null @@ -1,1110 +0,0 @@ -/* - * Copyright (c) 2008-2018, Dave Benson and the protobuf-c authors. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following disclaimer - * in the documentation and/or other materials provided with the - * distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -/*! \file - * \mainpage Introduction - * - * This is [protobuf-c], a C implementation of [Protocol Buffers]. - * - * This file defines the public API for the `libprotobuf-c` support library. - * This API includes interfaces that can be used directly by client code as well - * as the interfaces used by the code generated by the `protoc-c` compiler. - * - * The `libprotobuf-c` support library performs the actual serialization and - * deserialization of Protocol Buffers messages. It interacts with structures, - * definitions, and metadata generated by the `protoc-c` compiler from .proto - * files. - * - * \authors Dave Benson and the `protobuf-c` authors. - * - * \copyright 2008-2014. Licensed under the terms of the [BSD-2-Clause] license. - * - * [protobuf-c]: https://github.com/protobuf-c/protobuf-c - * [Protocol Buffers]: https://developers.google.com/protocol-buffers/ - * [BSD-2-Clause]: http://opensource.org/licenses/BSD-2-Clause - * - * \page gencode Generated Code - * - * For each enum, we generate a C enum. For each message, we generate a C - * structure which can be cast to a `ProtobufCMessage`. - * - * For each enum and message, we generate a descriptor object that allows us to - * implement a kind of reflection on the structures. - * - * First, some naming conventions: - * - * - The name of the type for enums and messages and services is camel case - * (meaning WordsAreCrammedTogether) except that double underscores are used - * to delimit scopes. For example, the following `.proto` file: - * -~~~{.proto} - package foo.bar; - message BazBah { - optional int32 val = 1; - } -~~~ - * - * would generate a C type `Foo__Bar__BazBah`. - * - * - Identifiers for functions and globals are all lowercase, with camel case - * words separated by single underscores. For example, one of the function - * prototypes generated by `protoc-c` for the above example: - * -~~~{.c} -Foo__Bar__BazBah * - foo__bar__baz_bah__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -~~~ - * - * - Identifiers for enum values contain an uppercase prefix which embeds the - * package name and the enum type name. - * - * - A double underscore is used to separate further components of identifier - * names. - * - * For example, in the name of the unpack function above, the package name - * `foo.bar` has become `foo__bar`, the message name BazBah has become - * `baz_bah`, and the method name is `unpack`. These are all joined with double - * underscores to form the C identifier `foo__bar__baz_bah__unpack`. - * - * We also generate descriptor objects for messages and enums. These are - * declared in the `.pb-c.h` files: - * -~~~{.c} -extern const ProtobufCMessageDescriptor foo__bar__baz_bah__descriptor; -~~~ - * - * The message structures all begin with `ProtobufCMessageDescriptor *` which is - * sufficient to allow them to be cast to `ProtobufCMessage`. - * - * For each message defined in a `.proto` file, we generate a number of - * functions and macros. Each function name contains a prefix based on the - * package name and message name in order to make it a unique C identifier. - * - * - `INIT`. Statically initializes a message object, initializing its - * descriptor and setting its fields to default values. Uninitialized - * messages cannot be processed by the protobuf-c library. - * -~~~{.c} -#define FOO__BAR__BAZ_BAH__INIT \ - { PROTOBUF_C_MESSAGE_INIT (&foo__bar__baz_bah__descriptor), 0 } -~~~ - * - `init()`. Initializes a message object, initializing its descriptor and - * setting its fields to default values. Uninitialized messages cannot be - * processed by the protobuf-c library. - * -~~~{.c} -void foo__bar__baz_bah__init - (Foo__Bar__BazBah *message); -~~~ - * - `unpack()`. Unpacks data for a particular message format. Note that the - * `allocator` parameter is usually `NULL` to indicate that the system's - * `malloc()` and `free()` functions should be used for dynamically allocating - * memory. - * -~~~{.c} -Foo__Bar__BazBah * - foo__bar__baz_bah__unpack - (ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); -~~~ - * - * - `free_unpacked()`. Frees a message object obtained with the `unpack()` - * method. Freeing `NULL` is allowed (the same as with `free()`). - * -~~~{.c} -void foo__bar__baz_bah__free_unpacked - (Foo__Bar__BazBah *message, - ProtobufCAllocator *allocator); -~~~ - * - * - `get_packed_size()`. Calculates the length in bytes of the serialized - * representation of the message object. - * -~~~{.c} -size_t foo__bar__baz_bah__get_packed_size - (const Foo__Bar__BazBah *message); -~~~ - * - * - `pack()`. Pack a message object into a preallocated buffer. Assumes that - * the buffer is large enough. (Use `get_packed_size()` first.) - * -~~~{.c} -size_t foo__bar__baz_bah__pack - (const Foo__Bar__BazBah *message, - uint8_t *out); -~~~ - * - * - `pack_to_buffer()`. Packs a message into a "virtual buffer". This is an - * object which defines an "append bytes" callback to consume data as it is - * serialized. - * -~~~{.c} -size_t foo__bar__baz_bah__pack_to_buffer - (const Foo__Bar__BazBah *message, - ProtobufCBuffer *buffer); -~~~ - * - * \page pack Packing and unpacking messages - * - * To pack a message, first compute the packed size of the message with - * protobuf_c_message_get_packed_size(), then allocate a buffer of at least - * that size, then call protobuf_c_message_pack(). - * - * Alternatively, a message can be serialized without calculating the final size - * first. Use the protobuf_c_message_pack_to_buffer() function and provide a - * ProtobufCBuffer object which implements an "append" method that consumes - * data. - * - * To unpack a message, call the protobuf_c_message_unpack() function. The - * result can be cast to an object of the type that matches the descriptor for - * the message. - * - * The result of unpacking a message should be freed with - * protobuf_c_message_free_unpacked(). - */ - -#ifndef PROTOBUF_C_H -#define PROTOBUF_C_H - -#include -#include -#include -#include - -#ifdef __cplusplus -# define PROTOBUF_C__BEGIN_DECLS extern "C" { -# define PROTOBUF_C__END_DECLS } -#else -# define PROTOBUF_C__BEGIN_DECLS -# define PROTOBUF_C__END_DECLS -#endif - -PROTOBUF_C__BEGIN_DECLS - -#if defined(_WIN32) && defined(PROTOBUF_C_USE_SHARED_LIB) -# ifdef PROTOBUF_C_EXPORT -# define PROTOBUF_C__API __declspec(dllexport) -# else -# define PROTOBUF_C__API __declspec(dllimport) -# endif -#else -# define PROTOBUF_C__API -#endif - -#if !defined(PROTOBUF_C__NO_DEPRECATED) && \ - ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) -# define PROTOBUF_C__DEPRECATED __attribute__((__deprecated__)) -#else -# define PROTOBUF_C__DEPRECATED -#endif - -#ifndef PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE - #define PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(enum_name) \ - , _##enum_name##_IS_INT_SIZE = INT_MAX -#endif - -#define PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC 0x14159bc3 -#define PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC 0x28aaeef9 -#define PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC 0x114315af - -/* Empty string used for initializers */ -#if defined(_WIN32) && defined(PROTOBUF_C_USE_SHARED_LIB) -static const char protobuf_c_empty_string[] = ""; -#else -extern const char protobuf_c_empty_string[]; -#endif - -/** - * \defgroup api Public API - * - * This is the public API for `libprotobuf-c`. These interfaces are stable and - * subject to Semantic Versioning guarantees. - * - * @{ - */ - -/** - * Values for the `flags` word in `ProtobufCFieldDescriptor`. - */ -typedef enum { - /** Set if the field is repeated and marked with the `packed` option. */ - PROTOBUF_C_FIELD_FLAG_PACKED = (1 << 0), - - /** Set if the field is marked with the `deprecated` option. */ - PROTOBUF_C_FIELD_FLAG_DEPRECATED = (1 << 1), - - /** Set if the field is a member of a oneof (union). */ - PROTOBUF_C_FIELD_FLAG_ONEOF = (1 << 2), -} ProtobufCFieldFlag; - -/** - * Message field rules. - * - * \see [Defining A Message Type] in the Protocol Buffers documentation. - * - * [Defining A Message Type]: - * https://developers.google.com/protocol-buffers/docs/proto#simple - */ -typedef enum { - /** A well-formed message must have exactly one of this field. */ - PROTOBUF_C_LABEL_REQUIRED, - - /** - * A well-formed message can have zero or one of this field (but not - * more than one). - */ - PROTOBUF_C_LABEL_OPTIONAL, - - /** - * This field can be repeated any number of times (including zero) in a - * well-formed message. The order of the repeated values will be - * preserved. - */ - PROTOBUF_C_LABEL_REPEATED, - - /** - * This field has no label. This is valid only in proto3 and is - * equivalent to OPTIONAL but no "has" quantifier will be consulted. - */ - PROTOBUF_C_LABEL_NONE, -} ProtobufCLabel; - -/** - * Field value types. - * - * \see [Scalar Value Types] in the Protocol Buffers documentation. - * - * [Scalar Value Types]: - * https://developers.google.com/protocol-buffers/docs/proto#scalar - */ -typedef enum { - PROTOBUF_C_TYPE_INT32, /**< int32 */ - PROTOBUF_C_TYPE_SINT32, /**< signed int32 */ - PROTOBUF_C_TYPE_SFIXED32, /**< signed int32 (4 bytes) */ - PROTOBUF_C_TYPE_INT64, /**< int64 */ - PROTOBUF_C_TYPE_SINT64, /**< signed int64 */ - PROTOBUF_C_TYPE_SFIXED64, /**< signed int64 (8 bytes) */ - PROTOBUF_C_TYPE_UINT32, /**< unsigned int32 */ - PROTOBUF_C_TYPE_FIXED32, /**< unsigned int32 (4 bytes) */ - PROTOBUF_C_TYPE_UINT64, /**< unsigned int64 */ - PROTOBUF_C_TYPE_FIXED64, /**< unsigned int64 (8 bytes) */ - PROTOBUF_C_TYPE_FLOAT, /**< float */ - PROTOBUF_C_TYPE_DOUBLE, /**< double */ - PROTOBUF_C_TYPE_BOOL, /**< boolean */ - PROTOBUF_C_TYPE_ENUM, /**< enumerated type */ - PROTOBUF_C_TYPE_STRING, /**< UTF-8 or ASCII string */ - PROTOBUF_C_TYPE_BYTES, /**< arbitrary byte sequence */ - PROTOBUF_C_TYPE_MESSAGE, /**< nested message */ -} ProtobufCType; - -/** - * Field wire types. - * - * \see [Message Structure] in the Protocol Buffers documentation. - * - * [Message Structure]: - * https://developers.google.com/protocol-buffers/docs/encoding#structure - */ -typedef enum { - PROTOBUF_C_WIRE_TYPE_VARINT = 0, - PROTOBUF_C_WIRE_TYPE_64BIT = 1, - PROTOBUF_C_WIRE_TYPE_LENGTH_PREFIXED = 2, - /* "Start group" and "end group" wire types are unsupported. */ - PROTOBUF_C_WIRE_TYPE_32BIT = 5, -} ProtobufCWireType; - -struct ProtobufCAllocator; -struct ProtobufCBinaryData; -struct ProtobufCBuffer; -struct ProtobufCBufferSimple; -struct ProtobufCEnumDescriptor; -struct ProtobufCEnumValue; -struct ProtobufCEnumValueIndex; -struct ProtobufCFieldDescriptor; -struct ProtobufCIntRange; -struct ProtobufCMessage; -struct ProtobufCMessageDescriptor; -struct ProtobufCMessageUnknownField; -struct ProtobufCMethodDescriptor; -struct ProtobufCService; -struct ProtobufCServiceDescriptor; - -typedef struct ProtobufCAllocator ProtobufCAllocator; -typedef struct ProtobufCBinaryData ProtobufCBinaryData; -typedef struct ProtobufCBuffer ProtobufCBuffer; -typedef struct ProtobufCBufferSimple ProtobufCBufferSimple; -typedef struct ProtobufCEnumDescriptor ProtobufCEnumDescriptor; -typedef struct ProtobufCEnumValue ProtobufCEnumValue; -typedef struct ProtobufCEnumValueIndex ProtobufCEnumValueIndex; -typedef struct ProtobufCFieldDescriptor ProtobufCFieldDescriptor; -typedef struct ProtobufCIntRange ProtobufCIntRange; -typedef struct ProtobufCMessage ProtobufCMessage; -typedef struct ProtobufCMessageDescriptor ProtobufCMessageDescriptor; -typedef struct ProtobufCMessageUnknownField ProtobufCMessageUnknownField; -typedef struct ProtobufCMethodDescriptor ProtobufCMethodDescriptor; -typedef struct ProtobufCService ProtobufCService; -typedef struct ProtobufCServiceDescriptor ProtobufCServiceDescriptor; - -/** Boolean type. */ -typedef int protobuf_c_boolean; - -typedef void (*ProtobufCClosure)(const ProtobufCMessage *, void *closure_data); -typedef void (*ProtobufCMessageInit)(ProtobufCMessage *); -typedef void (*ProtobufCServiceDestroy)(ProtobufCService *); - -/** - * Structure for defining a custom memory allocator. - */ -struct ProtobufCAllocator { - /** Function to allocate memory. */ - void *(*alloc)(void *allocator_data, size_t size); - - /** Function to free memory. */ - void (*free)(void *allocator_data, void *pointer); - - /** Opaque pointer passed to `alloc` and `free` functions. */ - void *allocator_data; -}; - -/** - * Structure for the protobuf `bytes` scalar type. - * - * The data contained in a `ProtobufCBinaryData` is an arbitrary sequence of - * bytes. It may contain embedded `NUL` characters and is not required to be - * `NUL`-terminated. - */ -struct ProtobufCBinaryData { - size_t len; /**< Number of bytes in the `data` field. */ - uint8_t *data; /**< Data bytes. */ -}; - -/** - * Structure for defining a virtual append-only buffer. Used by - * protobuf_c_message_pack_to_buffer() to abstract the consumption of serialized - * bytes. - * - * `ProtobufCBuffer` "subclasses" may be defined on the stack. For example, to - * write to a `FILE` object: - * -~~~{.c} -typedef struct { - ProtobufCBuffer base; - FILE *fp; -} BufferAppendToFile; - -static void -my_buffer_file_append(ProtobufCBuffer *buffer, - size_t len, - const uint8_t *data) -{ - BufferAppendToFile *file_buf = (BufferAppendToFile *) buffer; - fwrite(data, len, 1, file_buf->fp); // XXX: No error handling! -} -~~~ - * - * To use this new type of ProtobufCBuffer, it could be called as follows: - * -~~~{.c} -... -BufferAppendToFile tmp = {0}; -tmp.base.append = my_buffer_file_append; -tmp.fp = fp; -protobuf_c_message_pack_to_buffer(&message, &tmp); -... -~~~ - */ -struct ProtobufCBuffer { - /** Append function. Consumes the `len` bytes stored at `data`. */ - void (*append)(ProtobufCBuffer *buffer, - size_t len, - const uint8_t *data); -}; - -/** - * Simple buffer "subclass" of `ProtobufCBuffer`. - * - * A `ProtobufCBufferSimple` object is declared on the stack and uses a - * scratch buffer provided by the user for the initial allocation. It performs - * exponential resizing, using dynamically allocated memory. A - * `ProtobufCBufferSimple` object can be created and used as follows: - * -~~~{.c} -uint8_t pad[128]; -ProtobufCBufferSimple simple = PROTOBUF_C_BUFFER_SIMPLE_INIT(pad); -ProtobufCBuffer *buffer = (ProtobufCBuffer *) &simple; -~~~ - * - * `buffer` can now be used with `protobuf_c_message_pack_to_buffer()`. Once a - * message has been serialized to a `ProtobufCBufferSimple` object, the - * serialized data bytes can be accessed from the `.data` field. - * - * To free the memory allocated by a `ProtobufCBufferSimple` object, if any, - * call PROTOBUF_C_BUFFER_SIMPLE_CLEAR() on the object, for example: - * -~~~{.c} -PROTOBUF_C_BUFFER_SIMPLE_CLEAR(&simple); -~~~ - * - * \see PROTOBUF_C_BUFFER_SIMPLE_INIT - * \see PROTOBUF_C_BUFFER_SIMPLE_CLEAR - */ -struct ProtobufCBufferSimple { - /** "Base class". */ - ProtobufCBuffer base; - /** Number of bytes allocated in `data`. */ - size_t alloced; - /** Number of bytes currently stored in `data`. */ - size_t len; - /** Data bytes. */ - uint8_t *data; - /** Whether `data` must be freed. */ - protobuf_c_boolean must_free_data; - /** Allocator to use. May be NULL to indicate the system allocator. */ - ProtobufCAllocator *allocator; -}; - -/** - * Describes an enumeration as a whole, with all of its values. - */ -struct ProtobufCEnumDescriptor { - /** Magic value checked to ensure that the API is used correctly. */ - uint32_t magic; - - /** The qualified name (e.g., "namespace.Type"). */ - const char *name; - /** The unqualified name as given in the .proto file (e.g., "Type"). */ - const char *short_name; - /** Identifier used in generated C code. */ - const char *c_name; - /** The dot-separated namespace. */ - const char *package_name; - - /** Number elements in `values`. */ - unsigned n_values; - /** Array of distinct values, sorted by numeric value. */ - const ProtobufCEnumValue *values; - - /** Number of elements in `values_by_name`. */ - unsigned n_value_names; - /** Array of named values, including aliases, sorted by name. */ - const ProtobufCEnumValueIndex *values_by_name; - - /** Number of elements in `value_ranges`. */ - unsigned n_value_ranges; - /** Value ranges, for faster lookups by numeric value. */ - const ProtobufCIntRange *value_ranges; - - /** Reserved for future use. */ - void *reserved1; - /** Reserved for future use. */ - void *reserved2; - /** Reserved for future use. */ - void *reserved3; - /** Reserved for future use. */ - void *reserved4; -}; - -/** - * Represents a single value of an enumeration. - */ -struct ProtobufCEnumValue { - /** The string identifying this value in the .proto file. */ - const char *name; - - /** The string identifying this value in generated C code. */ - const char *c_name; - - /** The numeric value assigned in the .proto file. */ - int value; -}; - -/** - * Used by `ProtobufCEnumDescriptor` to look up enum values. - */ -struct ProtobufCEnumValueIndex { - /** Name of the enum value. */ - const char *name; - /** Index into values[] array. */ - unsigned index; -}; - -/** - * Describes a single field in a message. - */ -struct ProtobufCFieldDescriptor { - /** Name of the field as given in the .proto file. */ - const char *name; - - /** Tag value of the field as given in the .proto file. */ - uint32_t id; - - /** Whether the field is `REQUIRED`, `OPTIONAL`, or `REPEATED`. */ - ProtobufCLabel label; - - /** The type of the field. */ - ProtobufCType type; - - /** - * The offset in bytes of the message's C structure's quantifier field - * (the `has_MEMBER` field for optional members or the `n_MEMBER` field - * for repeated members or the case enum for oneofs). - */ - unsigned quantifier_offset; - - /** - * The offset in bytes into the message's C structure for the member - * itself. - */ - unsigned offset; - - /** - * A type-specific descriptor. - * - * If `type` is `PROTOBUF_C_TYPE_ENUM`, then `descriptor` points to the - * corresponding `ProtobufCEnumDescriptor`. - * - * If `type` is `PROTOBUF_C_TYPE_MESSAGE`, then `descriptor` points to - * the corresponding `ProtobufCMessageDescriptor`. - * - * Otherwise this field is NULL. - */ - const void *descriptor; /* for MESSAGE and ENUM types */ - - /** The default value for this field, if defined. May be NULL. */ - const void *default_value; - - /** - * A flag word. Zero or more of the bits defined in the - * `ProtobufCFieldFlag` enum may be set. - */ - uint32_t flags; - - /** Reserved for future use. */ - unsigned reserved_flags; - /** Reserved for future use. */ - void *reserved2; - /** Reserved for future use. */ - void *reserved3; -}; - -/** - * Helper structure for optimizing int => index lookups in the case - * where the keys are mostly consecutive values, as they presumably are for - * enums and fields. - * - * The data structures requires that the values in the original array are - * sorted. - */ -struct ProtobufCIntRange { - int start_value; - unsigned orig_index; - /* - * NOTE: the number of values in the range can be inferred by looking - * at the next element's orig_index. A dummy element is added to make - * this simple. - */ -}; - -/** - * An instance of a message. - * - * `ProtobufCMessage` is a light-weight "base class" for all messages. - * - * In particular, `ProtobufCMessage` doesn't have any allocation policy - * associated with it. That's because it's common to create `ProtobufCMessage` - * objects on the stack. In fact, that's what we recommend for sending messages. - * If the object is allocated from the stack, you can't really have a memory - * leak. - * - * This means that calls to functions like protobuf_c_message_unpack() which - * return a `ProtobufCMessage` must be paired with a call to a free function, - * like protobuf_c_message_free_unpacked(). - */ -struct ProtobufCMessage { - /** The descriptor for this message type. */ - const ProtobufCMessageDescriptor *descriptor; - /** The number of elements in `unknown_fields`. */ - unsigned n_unknown_fields; - /** The fields that weren't recognized by the parser. */ - ProtobufCMessageUnknownField *unknown_fields; -}; - -/** - * Describes a message. - */ -struct ProtobufCMessageDescriptor { - /** Magic value checked to ensure that the API is used correctly. */ - uint32_t magic; - - /** The qualified name (e.g., "namespace.Type"). */ - const char *name; - /** The unqualified name as given in the .proto file (e.g., "Type"). */ - const char *short_name; - /** Identifier used in generated C code. */ - const char *c_name; - /** The dot-separated namespace. */ - const char *package_name; - - /** - * Size in bytes of the C structure representing an instance of this - * type of message. - */ - size_t sizeof_message; - - /** Number of elements in `fields`. */ - unsigned n_fields; - /** Field descriptors, sorted by tag number. */ - const ProtobufCFieldDescriptor *fields; - /** Used for looking up fields by name. */ - const unsigned *fields_sorted_by_name; - - /** Number of elements in `field_ranges`. */ - unsigned n_field_ranges; - /** Used for looking up fields by id. */ - const ProtobufCIntRange *field_ranges; - - /** Message initialisation function. */ - ProtobufCMessageInit message_init; - - /** Reserved for future use. */ - void *reserved1; - /** Reserved for future use. */ - void *reserved2; - /** Reserved for future use. */ - void *reserved3; -}; - -/** - * An unknown message field. - */ -struct ProtobufCMessageUnknownField { - /** The tag number. */ - uint32_t tag; - /** The wire type of the field. */ - ProtobufCWireType wire_type; - /** Number of bytes in `data`. */ - size_t len; - /** Field data. */ - uint8_t *data; -}; - -/** - * Method descriptor. - */ -struct ProtobufCMethodDescriptor { - /** Method name. */ - const char *name; - /** Input message descriptor. */ - const ProtobufCMessageDescriptor *input; - /** Output message descriptor. */ - const ProtobufCMessageDescriptor *output; -}; - -/** - * Service. - */ -struct ProtobufCService { - /** Service descriptor. */ - const ProtobufCServiceDescriptor *descriptor; - /** Function to invoke the service. */ - void (*invoke)(ProtobufCService *service, - unsigned method_index, - const ProtobufCMessage *input, - ProtobufCClosure closure, - void *closure_data); - /** Function to destroy the service. */ - void (*destroy)(ProtobufCService *service); -}; - -/** - * Service descriptor. - */ -struct ProtobufCServiceDescriptor { - /** Magic value checked to ensure that the API is used correctly. */ - uint32_t magic; - - /** Service name. */ - const char *name; - /** Short version of service name. */ - const char *short_name; - /** C identifier for the service name. */ - const char *c_name; - /** Package name. */ - const char *package; - /** Number of elements in `methods`. */ - unsigned n_methods; - /** Method descriptors, in the order defined in the .proto file. */ - const ProtobufCMethodDescriptor *methods; - /** Sort index of methods. */ - const unsigned *method_indices_by_name; -}; - -/** - * Get the version of the protobuf-c library. Note that this is the version of - * the library linked against, not the version of the headers compiled against. - * - * \return A string containing the version number of protobuf-c. - */ -PROTOBUF_C__API -const char * -protobuf_c_version(void); - -/** - * Get the version of the protobuf-c library. Note that this is the version of - * the library linked against, not the version of the headers compiled against. - * - * \return A 32 bit unsigned integer containing the version number of - * protobuf-c, represented in base-10 as (MAJOR*1E6) + (MINOR*1E3) + PATCH. - */ -PROTOBUF_C__API -uint32_t -protobuf_c_version_number(void); - -/** - * The version of the protobuf-c headers, represented as a string using the same - * format as protobuf_c_version(). - */ -#define PROTOBUF_C_VERSION "1.4.0" - -/** - * The version of the protobuf-c headers, represented as an integer using the - * same format as protobuf_c_version_number(). - */ -#define PROTOBUF_C_VERSION_NUMBER 1004000 - -/** - * The minimum protoc-c version which works with the current version of the - * protobuf-c headers. - */ -#define PROTOBUF_C_MIN_COMPILER_VERSION 1000000 - -/** - * Look up a `ProtobufCEnumValue` from a `ProtobufCEnumDescriptor` by name. - * - * \param desc - * The `ProtobufCEnumDescriptor` object. - * \param name - * The `name` field from the corresponding `ProtobufCEnumValue` object to - * match. - * \return - * A `ProtobufCEnumValue` object. - * \retval NULL - * If not found or if the optimize_for = CODE_SIZE option was set. - */ -PROTOBUF_C__API -const ProtobufCEnumValue * -protobuf_c_enum_descriptor_get_value_by_name( - const ProtobufCEnumDescriptor *desc, - const char *name); - -/** - * Look up a `ProtobufCEnumValue` from a `ProtobufCEnumDescriptor` by numeric - * value. - * - * \param desc - * The `ProtobufCEnumDescriptor` object. - * \param value - * The `value` field from the corresponding `ProtobufCEnumValue` object to - * match. - * - * \return - * A `ProtobufCEnumValue` object. - * \retval NULL - * If not found. - */ -PROTOBUF_C__API -const ProtobufCEnumValue * -protobuf_c_enum_descriptor_get_value( - const ProtobufCEnumDescriptor *desc, - int value); - -/** - * Look up a `ProtobufCFieldDescriptor` from a `ProtobufCMessageDescriptor` by - * the name of the field. - * - * \param desc - * The `ProtobufCMessageDescriptor` object. - * \param name - * The name of the field. - * \return - * A `ProtobufCFieldDescriptor` object. - * \retval NULL - * If not found or if the optimize_for = CODE_SIZE option was set. - */ -PROTOBUF_C__API -const ProtobufCFieldDescriptor * -protobuf_c_message_descriptor_get_field_by_name( - const ProtobufCMessageDescriptor *desc, - const char *name); - -/** - * Look up a `ProtobufCFieldDescriptor` from a `ProtobufCMessageDescriptor` by - * the tag value of the field. - * - * \param desc - * The `ProtobufCMessageDescriptor` object. - * \param value - * The tag value of the field. - * \return - * A `ProtobufCFieldDescriptor` object. - * \retval NULL - * If not found. - */ -PROTOBUF_C__API -const ProtobufCFieldDescriptor * -protobuf_c_message_descriptor_get_field( - const ProtobufCMessageDescriptor *desc, - unsigned value); - -/** - * Determine the number of bytes required to store the serialised message. - * - * \param message - * The message object to serialise. - * \return - * Number of bytes. - */ -PROTOBUF_C__API -size_t -protobuf_c_message_get_packed_size(const ProtobufCMessage *message); - -/** - * Serialise a message from its in-memory representation. - * - * This function stores the serialised bytes of the message in a pre-allocated - * buffer. - * - * \param message - * The message object to serialise. - * \param[out] out - * Buffer to store the bytes of the serialised message. This buffer must - * have enough space to store the packed message. Use - * protobuf_c_message_get_packed_size() to determine the number of bytes - * required. - * \return - * Number of bytes stored in `out`. - */ -PROTOBUF_C__API -size_t -protobuf_c_message_pack(const ProtobufCMessage *message, uint8_t *out); - -/** - * Serialise a message from its in-memory representation to a virtual buffer. - * - * This function calls the `append` method of a `ProtobufCBuffer` object to - * consume the bytes generated by the serialiser. - * - * \param message - * The message object to serialise. - * \param buffer - * The virtual buffer object. - * \return - * Number of bytes passed to the virtual buffer. - */ -PROTOBUF_C__API -size_t -protobuf_c_message_pack_to_buffer( - const ProtobufCMessage *message, - ProtobufCBuffer *buffer); - -/** - * Unpack a serialised message into an in-memory representation. - * - * \param descriptor - * The message descriptor. - * \param allocator - * `ProtobufCAllocator` to use for memory allocation. May be NULL to - * specify the default allocator. - * \param len - * Length in bytes of the serialised message. - * \param data - * Pointer to the serialised message. - * \return - * An unpacked message object. - * \retval NULL - * If an error occurred during unpacking. - */ -PROTOBUF_C__API -ProtobufCMessage * -protobuf_c_message_unpack( - const ProtobufCMessageDescriptor *descriptor, - ProtobufCAllocator *allocator, - size_t len, - const uint8_t *data); - -/** - * Free an unpacked message object. - * - * This function should be used to deallocate the memory used by a call to - * protobuf_c_message_unpack(). - * - * \param message - * The message object to free. May be NULL. - * \param allocator - * `ProtobufCAllocator` to use for memory deallocation. May be NULL to - * specify the default allocator. - */ -PROTOBUF_C__API -void -protobuf_c_message_free_unpacked( - ProtobufCMessage *message, - ProtobufCAllocator *allocator); - -/** - * Check the validity of a message object. - * - * Makes sure all required fields (`PROTOBUF_C_LABEL_REQUIRED`) are present. - * Recursively checks nested messages. - * - * \retval TRUE - * Message is valid. - * \retval FALSE - * Message is invalid. - */ -PROTOBUF_C__API -protobuf_c_boolean -protobuf_c_message_check(const ProtobufCMessage *); - -/** Message initialiser. */ -#define PROTOBUF_C_MESSAGE_INIT(descriptor) { descriptor, 0, NULL } - -/** - * Initialise a message object from a message descriptor. - * - * \param descriptor - * Message descriptor. - * \param message - * Allocated block of memory of size `descriptor->sizeof_message`. - */ -PROTOBUF_C__API -void -protobuf_c_message_init( - const ProtobufCMessageDescriptor *descriptor, - void *message); - -/** - * Free a service. - * - * \param service - * The service object to free. - */ -PROTOBUF_C__API -void -protobuf_c_service_destroy(ProtobufCService *service); - -/** - * Look up a `ProtobufCMethodDescriptor` by name. - * - * \param desc - * Service descriptor. - * \param name - * Name of the method. - * - * \return - * A `ProtobufCMethodDescriptor` object. - * \retval NULL - * If not found or if the optimize_for = CODE_SIZE option was set. - */ -PROTOBUF_C__API -const ProtobufCMethodDescriptor * -protobuf_c_service_descriptor_get_method_by_name( - const ProtobufCServiceDescriptor *desc, - const char *name); - -/** - * Initialise a `ProtobufCBufferSimple` object. - */ -#define PROTOBUF_C_BUFFER_SIMPLE_INIT(array_of_bytes) \ -{ \ - { protobuf_c_buffer_simple_append }, \ - sizeof(array_of_bytes), \ - 0, \ - (array_of_bytes), \ - 0, \ - NULL \ -} - -/** - * Clear a `ProtobufCBufferSimple` object, freeing any allocated memory. - */ -#define PROTOBUF_C_BUFFER_SIMPLE_CLEAR(simp_buf) \ -do { \ - if ((simp_buf)->must_free_data) { \ - if ((simp_buf)->allocator != NULL) \ - (simp_buf)->allocator->free( \ - (simp_buf)->allocator, \ - (simp_buf)->data); \ - else \ - free((simp_buf)->data); \ - } \ -} while (0) - -/** - * The `append` method for `ProtobufCBufferSimple`. - * - * \param buffer - * The buffer object to append to. Must actually be a - * `ProtobufCBufferSimple` object. - * \param len - * Number of bytes in `data`. - * \param data - * Data to append. - */ -PROTOBUF_C__API -void -protobuf_c_buffer_simple_append( - ProtobufCBuffer *buffer, - size_t len, - const unsigned char *data); - -PROTOBUF_C__API -void -protobuf_c_service_generated_init( - ProtobufCService *service, - const ProtobufCServiceDescriptor *descriptor, - ProtobufCServiceDestroy destroy); - -PROTOBUF_C__API -void -protobuf_c_service_invoke_internal( - ProtobufCService *service, - unsigned method_index, - const ProtobufCMessage *input, - ProtobufCClosure closure, - void *closure_data); - -/**@}*/ - -PROTOBUF_C__END_DECLS - -#endif /* PROTOBUF_C_H */ \ No newline at end of file diff --git a/vendor/upb/LICENSE b/vendor/upb/LICENSE new file mode 100644 index 000000000..19b305b00 --- /dev/null +++ b/vendor/upb/LICENSE @@ -0,0 +1,32 @@ +Copyright 2008 Google Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Code generated by the Protocol Buffer compiler is owned by the owner +of the input file used when generating it. This code is not +standalone and requires a support library to be linked with it. This +support library is itself covered by the above license. diff --git a/vendor/upb/Makefile b/vendor/upb/Makefile new file mode 100644 index 000000000..5adf1cd8c --- /dev/null +++ b/vendor/upb/Makefile @@ -0,0 +1,84 @@ +# Maintenance Makefile for the vendored upb runtime (see README). +# +# make -C vendor/upb update TAG=v36.2 +# +# Re-vendors upb from a protobuf git tag and AMALGAMATES the runtime subset into +# a single upb.c + upb/generated_code_support.h (upb's amalgamate.py, shipped in +# the upb tree). It also keeps port/def.inc + undef.inc and third_party/utf8_range, +# applies the local patches in patches/*.patch to upb.c, records the tag in VERSION, and +# regenerates protobuf/pg_query.upb*.{c,h}. The vendored runtime and the generated +# code MUST come from the same version (the generated minitables are ABI-locked to +# the runtime), so this refuses to run unless protoc matches TAG. Requires git + +# python3 + protoc + protoc-gen-upb + protoc-gen-upb_minitable on PATH (on macOS: +# `brew install protobuf`). + +SHELL := /bin/bash +TAG ?= +REPO := https://github.com/protocolbuffers/protobuf.git +ROOT := $(abspath $(CURDIR)/../..) +TMP := $(CURDIR)/.upb-update-tmp +# Runtime .c subset to amalgamate -- keep in sync with the list in README. +# Reflection/JSON/text/lex/io/util and the fast-path parser are omitted. +SUBSET := upb/base upb/hash upb/mem upb/message upb/mini_descriptor upb/mini_table upb/port upb/wire + +.DEFAULT_GOAL := help + +.PHONY: help +help: + @echo 'Update the vendored upb runtime + regenerate the message code:' + @echo ' make -C vendor/upb update TAG=v36.2' + @echo 'git, python3, protoc and protoc-gen-upb must be on PATH and match TAG.' + +.PHONY: update +update: + @test -n "$(TAG)" || { echo "usage: make update TAG=v36.2 (a protobuf git tag)" >&2; exit 2; } + @for t in git python3 protoc protoc-gen-upb protoc-gen-upb_minitable; do \ + command -v $$t >/dev/null || { echo "ERROR: '$$t' not found on PATH" >&2; exit 1; }; \ + done + @want=$$(echo "$(TAG)" | sed 's/^v//'); pver=$$(protoc --version | awk '{print $$2}'); \ + if [ "$$pver" != "$$want" ] && [ "$(ALLOW_VERSION_MISMATCH)" != "1" ]; then \ + echo "ERROR: protoc is $$pver but TAG=$(TAG); install protobuf $$want (the generated" >&2; \ + echo " code must match the vendored runtime), or set ALLOW_VERSION_MISMATCH=1." >&2; \ + exit 1; \ + fi + @echo "==> Fetching protobuf $(TAG)" + @rm -rf "$(TMP)" + @git clone --quiet --filter=blob:none --no-checkout --depth 1 --branch "$(TAG)" "$(REPO)" "$(TMP)" + @git -C "$(TMP)" sparse-checkout init --cone >/dev/null + @git -C "$(TMP)" sparse-checkout set upb third_party/utf8_range >/dev/null + @git -C "$(TMP)" checkout --quiet + @echo "==> Amalgamating runtime into upb.c + upb/generated_code_support.h" + @rm -rf upb third_party + @mkdir -p upb/port third_party/utf8_range + @cp "$(TMP)"/upb/generated_code_support.h "$(TMP)"/gcs_root.c + @cd "$(TMP)" && amalg=$$(find upb -name amalgamate.py | head -1); \ + test -n "$$amalg" || { echo "ERROR: amalgamate.py not found in the upb tree" >&2; exit 1; }; \ + python3 "$$amalg" \ + "$(CURDIR)/upb.c" "$(CURDIR)/upb/generated_code_support.h" \ + gcs_root.c \ + $$(find $(SUBSET) -name '*.c' ! -name '*test*' ! -path '*/decode_fast/*') \ + $$(find upb \( -name '*.h' -o -name '*.inc' \) ! -name '*test*' ! -path '*/cmake/*' ! -path '*/conformance/*') + @# amalgamate emits `#include "generated_code_support.h"` (basename); make it + @# resolve via -Ivendor/upb like the generated code does. + @sed 's|#include "generated_code_support.h"|#include "upb/generated_code_support.h"|' upb.c > upb.c.tmp && mv upb.c.tmp upb.c + @cp "$(TMP)"/upb/port/def.inc "$(TMP)"/upb/port/undef.inc upb/port/ + @cp "$(TMP)"/third_party/utf8_range/utf8_range.c "$(TMP)"/third_party/utf8_range/utf8_range.h third_party/utf8_range/ + @cp "$(TMP)"/third_party/utf8_range/*.inc third_party/utf8_range/ 2>/dev/null || true + @cp "$(TMP)"/third_party/utf8_range/utf8_validity.h third_party/utf8_range/ 2>/dev/null || true + @cp "$(TMP)"/LICENSE LICENSE + @cp "$(TMP)"/third_party/utf8_range/LICENSE third_party/utf8_range/LICENSE 2>/dev/null || true + @echo "==> Applying local patches to upb.c" + @shopt -s nullglob; for p in patches/*.patch; do \ + echo " $$p"; \ + patch -p1 -N -s -F 0 < "$$p" || { \ + rm -f upb.c.rej upb.c.orig; \ + echo "ERROR: $$p no longer applies to upb.c; update the patch (see README)." >&2; \ + exit 1; \ + }; \ + done + @echo "$(TAG)" > VERSION + @rm -rf "$(TMP)" + @echo "==> Regenerating protobuf/pg_query.upb*.{c,h} with protoc $$(protoc --version | awk '{print $$2}')" + @cd "$(ROOT)" && protoc --upb_out=. --upb_minitable_out=. -I. protobuf/pg_query.proto + @rm -f "$(ROOT)/protobuf/pg_query.upb.c" # always empty (accessors are inline in the header) + @echo "Done ($(TAG)). Now run 'make && make test' at the repo root and review the diff." diff --git a/vendor/upb/README b/vendor/upb/README new file mode 100644 index 000000000..6b521bc09 --- /dev/null +++ b/vendor/upb/README @@ -0,0 +1,132 @@ +Vendored upb runtime +==================== + +The pinned protobuf release tag is in ./VERSION (and nothing else, so it stays +machine-readable). The vendored runtime and the generated +protobuf/pg_query.upb*.{c,h} must come from that same version -- the generated +minitables are ABI-locked to the runtime. + +This Makefile, README, VERSION, LICENSE and patches/ are owned by this repo; +everything else here is vendored/amalgamated from upstream -- do not edit it +by hand. Local changes to upb.c go in patches/ (see LOCAL PATCHES below). + +Updating +-------- +upb is released as part of protobuf (https://github.com/protocolbuffers/protobuf), +so a "upb version" is a protobuf release tag. To find the latest one: + + git ls-remote --tags https://github.com/protocolbuffers/protobuf.git 'v*' \ + | grep -v -e '-rc' -e '-dev' -e '\^{}' | awk -F/ '{print $3}' | sort -V | tail -1 + +1. Install a matching toolchain. You need git, python3, protoc, + protoc-gen-upb and protoc-gen-upb_minitable on PATH, and protoc must be the + same version as the tag. The protoc release zips on GitHub do NOT include + the upb plugins; the Homebrew formula does: + + brew upgrade protobuf # or: brew install protobuf + protoc --version # e.g. "libprotoc 36.2" + + If Homebrew lags behind the tag you want, wait for it (or build protoc and + the upb plugins from the protobuf source tree yourself). + +2. Re-vendor + regenerate: + + make -C vendor/upb update TAG=v36.2 + + That shallow-clones the tag, amalgamates the runtime subset (see Layout), + applies the local patches in patches/ (see below), writes VERSION, and regenerates + protobuf/pg_query.upb*.{c,h}. It refuses to run if protoc doesn't match TAG + (override with ALLOW_VERSION_MISMATCH=1 only if you know what you're doing). + +3. Build and test from the repo root: + + make clean && make && make test + +4. Review the diff. Things that have broken on past updates: + + - Link errors for missing upb symbols (e.g. v36 added upb/port/port.c): a + new upstream directory contains .c files the runtime needs. Add it to + SUBSET in this Makefile (and to the list under Layout below) and re-run. + - A local patch failing to apply (see "Updating a patch" below), or + asserting at runtime (e.g. v36 added _upb_Decoder_MaybeVerifyUtf8(), which + asserts that Bytes ops are only used for bytes fields, so the string->bytes + override had to move after it). + - API changes in the generated accessors, which affect + src/pg_query_{outfuncs,readfuncs}_protobuf.c and + scripts/generate_protobuf_and_funcs.rb. upb does not promise a stable API. + + Also check that Makefile.msvc still builds (it compiles the same upb.c). + +Layout +------ +The runtime is AMALGAMATED (via upb's own amalgamate.py) into a single +translation unit, so the build compiles one upb.c instead of dozens of files +across many directories (which also avoids duplicate object basenames and the +per-directory MSVC build dance): + + upb.c amalgamated runtime (one TU) + upb/generated_code_support.h amalgamated header the generated code includes + upb/port/def.inc, undef.inc kept separate: the generated code brackets its + own declarations with these (push/pop macros) + third_party/utf8_range/ UTF-8 validation (not part of upb proper) + +Only the minimal runtime subset needed for generated-code serialize/parse is +included (base, hash, mem, message, mini_descriptor, mini_table, port, wire). +Reflection/JSON/text/lex and the optional fast-path parser (decode_fast, which +needs UPB_FASTTABLE and doesn't build under MSVC) are intentionally excluded; +amalgamate.py skips decode_fast automatically. + +LOCAL PATCHES (applied automatically by `make update`) +------------------------------------------------------ +Local changes to the amalgamated upb.c live as unified diffs in patches/, and +are applied in filename order with `patch -p1 -F 0` (no fuzz, so a patch whose +context changed upstream fails instead of applying in the wrong place). Each +patch starts with a description, and every patched spot in upb.c is marked with +a "libpg_query local patch" comment. + +- 0001-decode-strings-as-bytes.patch: in _upb_Decoder_GetDelimitedOp(), decode + proto3 string fields as bytes (skip UTF-8 validation). SQL string literals + may contain arbitrary, non-UTF-8 bytes in some server encodings; the previous + protobuf-c backend never validated them. The override must be the last thing + before `return op;`, i.e. after the upstream _upb_Decoder_MaybeVerifyUtf8() + step (which may itself upgrade Bytes back to String and asserts on non-bytes + fields). +- 0002-force-inline-encoder-helpers.patch: in optimized builds, mark + encode_field(), encode_scalar() and encode_array() as UPB_FORCEINLINE, so + encoding a nested message uses one stack frame (encode_message) per nesting + level instead of two. This cuts encoder stack use per level by ~25-28% (e.g. + 192 -> 144 bytes on arm64 at -O3 for chains like "a + b + ..."), and is + slightly faster. Inlining only encode_scalar() makes things worse + (encode_field() then gets outlined), so all three are needed. Only done when + __OPTIMIZE__ is defined: at -O0, inlining increases stack use instead (1885 + -> 3464 bytes per level). To check the effect after an update, compile upb.c + with -O3 -fstack-usage and look at the encode_message frame size (there + should be no separate encode_field/scalar/array frames). +- 0003-stack-depth-check.patch: wherever upb recurses into a submessage + (_upb_Decoder_RecurseSubMessage() in the decoder, and the four + "--e->depth == 0" checks in encode_scalar() / encode_array()), also check + Postgres' stack_is_too_deep() and fail with upb's regular MaxDepthExceeded + error when the stack depth limit is reached. The fixed nesting limit alone + can't prevent stack overflows, since both the available stack and the stack + used per level vary. libpg_query sets up the stack depth limit per call + (pg_query_init), the same one its own recursive walkers check via + check_stack_depth(). After an update, re-check that these are still all the + places where upb recurses (grep for "depth" in the encoder/decoder). + +Updating a patch (or adding a new one) +-------------------------------------- +Patches apply in order, so each one is a diff against upb.c with all earlier +patches applied. If `make update` reports that a patch no longer applies: + +1. Temporarily move that patch and all later ones out of patches/, and re-run + `make update TAG=...`. upb.c now has only the earlier patches applied. +2. Copy it (cp upb.c /tmp/a-upb.c), re-apply the change to upb.c by hand, then + regenerate the patch, keeping its description header: + + diff -u --label a/upb.c --label b/upb.c /tmp/a-upb.c upb.c + +3. Move the later patches back and re-run `make update TAG=...`, fixing each + later patch the same way if needed. + +To add a patch, create the next numbered patches/NNNN-description.patch the +same way (diffed against upb.c with all existing patches applied). diff --git a/vendor/upb/VERSION b/vendor/upb/VERSION new file mode 100644 index 000000000..a33df8e14 --- /dev/null +++ b/vendor/upb/VERSION @@ -0,0 +1 @@ +v36.2 diff --git a/vendor/upb/patches/0001-decode-strings-as-bytes.patch b/vendor/upb/patches/0001-decode-strings-as-bytes.patch new file mode 100644 index 000000000..1ab9d70d0 --- /dev/null +++ b/vendor/upb/patches/0001-decode-strings-as-bytes.patch @@ -0,0 +1,20 @@ +Decode proto3 string fields as bytes, skipping UTF-8 validation + +SQL string literals may contain arbitrary, non-UTF-8 bytes in some server +encodings; the previous protobuf-c backend never validated them. The override +must come after the upstream _upb_Decoder_MaybeVerifyUtf8() step, which may +itself upgrade Bytes back to String and asserts on non-bytes fields. + +--- a/upb.c ++++ b/upb.c +@@ -8991,6 +8991,10 @@ + } else if (op == kUpb_DecodeOp_Bytes) { + _upb_Decoder_MaybeVerifyUtf8(d, field, &op); + } ++ ++ /* libpg_query local patch: decode proto3 string fields as bytes to skip ++ * UTF-8 validation (SQL literals may be non-UTF-8). See vendor/upb/README. */ ++ if (op == kUpb_DecodeOp_String) op = kUpb_DecodeOp_Bytes; + + return op; + } diff --git a/vendor/upb/patches/0002-force-inline-encoder-helpers.patch b/vendor/upb/patches/0002-force-inline-encoder-helpers.patch new file mode 100644 index 000000000..577c31a14 --- /dev/null +++ b/vendor/upb/patches/0002-force-inline-encoder-helpers.patch @@ -0,0 +1,53 @@ +Force-inline encoder helpers to reduce stack use per nesting level + +In optimized builds, marking encode_field(), encode_scalar() and +encode_array() as UPB_FORCEINLINE makes encoding a nested message use one +stack frame (encode_message) per nesting level instead of two, cutting encoder +stack use per level by ~25-28% (e.g. 192 -> 144 bytes on arm64 at -O3 for +chains like "a + b + ..."). Inlining only encode_scalar() makes things worse +(encode_field() then gets outlined), so all three are needed. + +This is only done when optimizing (__OPTIMIZE__): in unoptimized builds the +inlined functions' locals don't share stack slots, which increases stack use +per level instead (e.g. 1885 -> 3464 bytes at -O0). No effect on MSVC, where +UPB_FORCEINLINE is plain "static" and __OPTIMIZE__ isn't defined. + +--- a/upb.c ++++ b/upb.c +@@ -9854,7 +9854,17 @@ + } + } + +-static char* encode_scalar(char* ptr, upb_encstate* e, const void* field_mem, ++/* libpg_query local patch: force-inline encode_scalar/array/field when ++ * optimizing, to reduce encoder stack use per message nesting level. Not done ++ * in unoptimized builds, where inlining increases stack use instead. See ++ * vendor/upb/README. */ ++#ifdef __OPTIMIZE__ ++#define PG_QUERY_ENCODE_INLINE UPB_FORCEINLINE ++#else ++#define PG_QUERY_ENCODE_INLINE static ++#endif ++ ++PG_QUERY_ENCODE_INLINE char* encode_scalar(char* ptr, upb_encstate* e, const void* field_mem, + const upb_MiniTableField* f) { + // Max size is tag + 10 bytes for max varint or 8 for largest fixed size + #define CASE(ctype, type, wtype, encodeval) \ +@@ -9942,7 +9952,7 @@ + #undef CASE + } + +-static char* encode_array(char* ptr, upb_encstate* e, const upb_Message* msg, ++PG_QUERY_ENCODE_INLINE char* encode_array(char* ptr, upb_encstate* e, const upb_Message* msg, + const upb_MiniTableField* f) { + const upb_Array* arr = *UPB_PTR_AT(msg, f->UPB_PRIVATE(offset), upb_Array*); + bool packed = upb_MiniTableField_IsPacked(f); +@@ -10162,7 +10172,7 @@ + } + } + +-static char* encode_field(char* ptr, upb_encstate* e, const upb_Message* msg, ++PG_QUERY_ENCODE_INLINE char* encode_field(char* ptr, upb_encstate* e, const upb_Message* msg, + const upb_MiniTableField* field) { + switch (UPB_PRIVATE(_upb_MiniTableField_Mode)(field)) { + case kUpb_FieldMode_Array: diff --git a/vendor/upb/patches/0003-stack-depth-check.patch b/vendor/upb/patches/0003-stack-depth-check.patch new file mode 100644 index 000000000..caf373ebf --- /dev/null +++ b/vendor/upb/patches/0003-stack-depth-check.patch @@ -0,0 +1,70 @@ +Stop encoder/decoder recursion when the stack depth limit is reached + +upb bounds encoder and decoder recursion by a fixed nesting depth, but the +stack used per level varies a lot between compilers and optimization levels +(~150 bytes to ~2 kB), and callers run on stacks of different sizes, so no +fixed limit reliably prevents stack overflows. In addition to the fixed limit, +also check Postgres' stack_is_too_deep() at every point where upb recurses +into a submessage, and fail with upb's regular MaxDepthExceeded error (which +unwinds through upb's own error handling) when the stack budget set up by +libpg_query for the current call is exhausted. + +--- a/upb.c ++++ b/upb.c +@@ -8311,13 +8311,19 @@ + } + return ptr; + } ++ ++/* libpg_query local patch: also stop recursing (with a MaxDepthExceeded error) ++ * when the stack depth limit is reached, using Postgres' stack_is_too_deep(). ++ * The fixed depth limit alone can't prevent stack overflows, since the stack ++ * available and the stack used per nesting level vary. See vendor/upb/README. */ ++extern bool stack_is_too_deep(void); + + UPB_FORCEINLINE + const char* _upb_Decoder_RecurseSubMessage(upb_Decoder* d, const char* ptr, + upb_Message* submsg, + const upb_MiniTable* subl, + uint32_t expected_end_group) { +- if (--d->depth < 0) { ++ if (--d->depth < 0 || stack_is_too_deep()) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_MaxDepthExceeded); + } + ptr = _upb_Decoder_DecodeMessage(d, ptr, submsg, subl); +@@ -9921,7 +9927,7 @@ + if (submsg == 0) { + return ptr; + } +- if (--e->depth == 0) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); ++ if (--e->depth == 0 || stack_is_too_deep()) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); + ptr = encode_tag(ptr, e, upb_MiniTableField_Number(f), + kUpb_WireType_EndGroup); + ptr = encode_message(ptr, e, submsg, subm, &size); +@@ -9936,7 +9942,7 @@ + if (submsg == 0) { + return ptr; + } +- if (--e->depth == 0) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); ++ if (--e->depth == 0 || stack_is_too_deep()) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); + ptr = encode_message(ptr, e, submsg, subm, &size); + e->depth++; + size_t max_size = UPB_PB_VARINT32_MAX_LEN + UPB_PB_VARINT32_MAX_LEN; +@@ -10034,7 +10040,7 @@ + const upb_Message* const* start = upb_Array_DataPtr(arr); + const upb_Message* const* arr_ptr = start + upb_Array_Size(arr); + const upb_MiniTable* subm = upb_MiniTable_GetSubMessageTable(f); +- if (--e->depth == 0) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); ++ if (--e->depth == 0 || stack_is_too_deep()) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); + do { + size_t size; + arr_ptr--; +@@ -10051,7 +10057,7 @@ + const upb_Message* const* start = upb_Array_DataPtr(arr); + const upb_Message* const* arr_ptr = start + upb_Array_Size(arr); + const upb_MiniTable* subm = upb_MiniTable_GetSubMessageTable(f); +- if (--e->depth == 0) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); ++ if (--e->depth == 0 || stack_is_too_deep()) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); + do { + size_t size; + arr_ptr--; diff --git a/vendor/upb/third_party/utf8_range/LICENSE b/vendor/upb/third_party/utf8_range/LICENSE new file mode 100644 index 000000000..e59f14fa5 --- /dev/null +++ b/vendor/upb/third_party/utf8_range/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2019 Yibo Cai +Copyright 2022 Google LLC + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vendor/upb/third_party/utf8_range/utf8_range.c b/vendor/upb/third_party/utf8_range/utf8_range.c new file mode 100644 index 000000000..f3301cc27 --- /dev/null +++ b/vendor/upb/third_party/utf8_range/utf8_range.c @@ -0,0 +1,207 @@ +// Copyright 2023 Google LLC +// +// Use of this source code is governed by an MIT-style +// license that can be found in the LICENSE file or at +// https://opensource.org/licenses/MIT. + +/* This is a wrapper for the Google range-sse.cc algorithm which checks whether + * a sequence of bytes is a valid UTF-8 sequence and finds the longest valid + * prefix of the UTF-8 sequence. + * + * The key difference is that it checks for as much ASCII symbols as possible + * and then falls back to the range-sse.cc algorithm. The changes to the + * algorithm are cosmetic, mostly to trick the clang compiler to produce optimal + * code. + * + * For API see the utf8_validity.h header. + */ +#include "utf8_range.h" + +#include +#include +#include + +#if defined(__GNUC__) +#define FORCE_INLINE_ATTR __attribute__((always_inline)) inline +#elif defined(_MSC_VER) +#define FORCE_INLINE_ATTR __forceinline +#else +#define FORCE_INLINE_ATTR inline +#endif + +static FORCE_INLINE_ATTR uint64_t utf8_range_UnalignedLoad64( + const void* p) { + uint64_t t; + memcpy(&t, p, sizeof t); + return t; +} + +static FORCE_INLINE_ATTR int utf8_range_AsciiIsAscii(unsigned char c) { + return c < 128; +} + +static FORCE_INLINE_ATTR int utf8_range_IsTrailByteOk(const char c) { + return (int8_t)(c) <= (int8_t)(0xBF); +} + +/* If return_position is false then it returns 1 if |data| is a valid utf8 + * sequence, otherwise returns 0. + * If return_position is set to true, returns the length in bytes of the prefix + of |data| that is all structurally valid UTF-8. + */ +static size_t utf8_range_ValidateUTF8Naive(const char* data, const char* end, + int return_position) { + /* We return err_pos in the loop which is always 0 if !return_position */ + size_t err_pos = 0; + size_t codepoint_bytes = 0; + /* The early check is done because of early continue's on codepoints of all + * sizes, i.e. we first check for ascii and if it is, we call continue, then + * for 2 byte codepoints, etc. This is done in order to reduce indentation and + * improve readability of the codepoint validity check. + */ + while (data + codepoint_bytes < end) { + if (return_position) { + err_pos += codepoint_bytes; + } + data += codepoint_bytes; + const size_t len = end - data; + const unsigned char byte1 = data[0]; + + /* We do not skip many ascii bytes at the same time as this function is + used for tail checking (< 16 bytes) and for non x86 platforms. We also + don't think that cases where non-ASCII codepoints are followed by ascii + happen often. For small strings it also introduces some penalty. For + purely ascii UTF8 strings (which is the overwhelming case) we call + SkipAscii function which is multiplatform and extremely fast. + */ + /* [00..7F] ASCII -> 1 byte */ + if (utf8_range_AsciiIsAscii(byte1)) { + codepoint_bytes = 1; + continue; + } + /* [C2..DF], [80..BF] -> 2 bytes */ + if (len >= 2 && byte1 >= 0xC2 && byte1 <= 0xDF && + utf8_range_IsTrailByteOk(data[1])) { + codepoint_bytes = 2; + continue; + } + if (len >= 3) { + const unsigned char byte2 = data[1]; + const unsigned char byte3 = data[2]; + + /* Is byte2, byte3 between [0x80, 0xBF] + * Check for 0x80 was done above. + */ + if (!utf8_range_IsTrailByteOk(byte2) || + !utf8_range_IsTrailByteOk(byte3)) { + return err_pos; + } + + if (/* E0, A0..BF, 80..BF */ + ((byte1 == 0xE0 && byte2 >= 0xA0) || + /* E1..EC, 80..BF, 80..BF */ + (byte1 >= 0xE1 && byte1 <= 0xEC) || + /* ED, 80..9F, 80..BF */ + (byte1 == 0xED && byte2 <= 0x9F) || + /* EE..EF, 80..BF, 80..BF */ + (byte1 >= 0xEE && byte1 <= 0xEF))) { + codepoint_bytes = 3; + continue; + } + if (len >= 4) { + const unsigned char byte4 = data[3]; + /* Is byte4 between 0x80 ~ 0xBF */ + if (!utf8_range_IsTrailByteOk(byte4)) { + return err_pos; + } + + if (/* F0, 90..BF, 80..BF, 80..BF */ + ((byte1 == 0xF0 && byte2 >= 0x90) || + /* F1..F3, 80..BF, 80..BF, 80..BF */ + (byte1 >= 0xF1 && byte1 <= 0xF3) || + /* F4, 80..8F, 80..BF, 80..BF */ + (byte1 == 0xF4 && byte2 <= 0x8F))) { + codepoint_bytes = 4; + continue; + } + } + } + return err_pos; + } + if (return_position) { + err_pos += codepoint_bytes; + } + /* if return_position is false, this returns 1. + * if return_position is true, this returns err_pos. + */ + return err_pos + (1 - return_position); +} + +#if defined(__SSE4_1__) || (defined(__ARM_NEON) && defined(__ARM_64BIT_STATE)) +/* Returns the number of bytes needed to skip backwards to get to the first + byte of codepoint. + */ +static inline int utf8_range_CodepointSkipBackwards(int32_t codepoint_word) { + const int8_t* const codepoint = (const int8_t*)(&codepoint_word); + if (!utf8_range_IsTrailByteOk(codepoint[3])) { + return 1; + } else if (!utf8_range_IsTrailByteOk(codepoint[2])) { + return 2; + } else if (!utf8_range_IsTrailByteOk(codepoint[1])) { + return 3; + } + return 0; +} +#endif // __SSE4_1__ + +/* Skipping over ASCII as much as possible, per 8 bytes. It is intentional + as most strings to check for validity consist only of 1 byte codepoints. + */ +static inline const char* utf8_range_SkipAscii(const char* data, + const char* end) { + while (8 <= end - data && + (utf8_range_UnalignedLoad64(data) & 0x8080808080808080) == 0) { + data += 8; + } + while (data < end && utf8_range_AsciiIsAscii(*data)) { + ++data; + } + return data; +} + +#if defined(__SSE4_1__) +#include "utf8_range_sse.inc" +#elif defined(__ARM_NEON) && defined(__ARM_64BIT_STATE) +#include "utf8_range_neon.inc" +#endif + +static FORCE_INLINE_ATTR size_t utf8_range_Validate( + const char* data, size_t len, int return_position) { + if (len == 0) return 1 - return_position; + // Save buffer start address for later use + const char* const data_original = data; + const char* const end = data + len; + data = utf8_range_SkipAscii(data, end); + /* SIMD algorithm always outperforms the naive version for any data of + length >=16. + */ + if (end - data < 16) { + return (return_position ? (data - data_original) : 0) + + utf8_range_ValidateUTF8Naive(data, end, return_position); + } +#if defined(__SSE4_1__) || (defined(__ARM_NEON) && defined(__ARM_64BIT_STATE)) + return utf8_range_ValidateUTF8Simd( + data_original, data, end, return_position); +#else + return (return_position ? (data - data_original) : 0) + + utf8_range_ValidateUTF8Naive(data, end, return_position); +#endif +} + +bool utf8_range_IsValid(const char* data, size_t len) { + return utf8_range_Validate(data, len, /*return_position=*/0) != 0; +} + +size_t utf8_range_ValidPrefix(const char* data, size_t len) { + return utf8_range_Validate(data, len, /*return_position=*/1); +} diff --git a/vendor/upb/third_party/utf8_range/utf8_range.h b/vendor/upb/third_party/utf8_range/utf8_range.h new file mode 100644 index 000000000..5942d80ec --- /dev/null +++ b/vendor/upb/third_party/utf8_range/utf8_range.h @@ -0,0 +1,23 @@ +#ifndef THIRD_PARTY_UTF8_RANGE_UTF8_RANGE_H_ +#define THIRD_PARTY_UTF8_RANGE_UTF8_RANGE_H_ + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +// Returns 1 if the sequence of characters is a valid UTF-8 sequence, otherwise +// 0. +bool utf8_range_IsValid(const char* data, size_t len); + +// Returns the length in bytes of the prefix of str that is all +// structurally valid UTF-8. +size_t utf8_range_ValidPrefix(const char* data, size_t len); + +#ifdef __cplusplus +} // extern "C" +#endif + +#endif // THIRD_PARTY_UTF8_RANGE_UTF8_RANGE_H_ diff --git a/vendor/upb/third_party/utf8_range/utf8_range_neon.inc b/vendor/upb/third_party/utf8_range/utf8_range_neon.inc new file mode 100644 index 000000000..ab73754d8 --- /dev/null +++ b/vendor/upb/third_party/utf8_range/utf8_range_neon.inc @@ -0,0 +1,117 @@ +#include + +/* This code is almost the same as SSE implementation, please reference + * utf8-range-sse.inc for detailed explanation. + * The only difference is the range adjustment step. NEON code is more + * straightforward. + */ + +static FORCE_INLINE_ATTR size_t utf8_range_ValidateUTF8Simd( + const char* data_original, const char* data, const char* end, + int return_position) { + const uint8x16_t first_len_tbl = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3, + }; + const uint8x16_t first_range_tbl = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 8, + }; + const uint8x16_t range_min_tbl = { + 0x00, 0x80, 0x80, 0x80, 0xA0, 0x80, 0x90, 0x80, + 0xC2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, + }; + const uint8x16_t range_max_tbl = { + 0x7F, 0xBF, 0xBF, 0xBF, 0xBF, 0x9F, 0xBF, 0x8F, + 0xF4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + }; + /* Range adjustment in NEON uint8x16x2 table. Note that lanes are interleaved + * in register. The table below is plotted vertically to ease understanding. + * The 1st column is for E0~EF, 2nd column for F0~FF. + */ + // clang-format off + const uint8_t range_adjust_tbl_data[] = { + /* index -> 0~15 16~31 <- index */ + /* E0 -> */ 2, 3, /* <- F0 */ + 0, 0, + 0, 0, + 0, 0, + 0, 4, /* <- F4 */ + 0, 0, + 0, 0, + 0, 0, + 0, 0, + 0, 0, + 0, 0, + 0, 0, + 0, 0, + /* ED -> */ 3, 0, + 0, 0, + 0, 0, + }; + // clang-format on + const uint8x16x2_t range_adjust_tbl = vld2q_u8(range_adjust_tbl_data); + + const uint8x16_t const_1 = vdupq_n_u8(1); + const uint8x16_t const_2 = vdupq_n_u8(2); + const uint8x16_t const_e0 = vdupq_n_u8(0xE0); + + uint8x16_t prev_input = vdupq_n_u8(0); + uint8x16_t prev_first_len = vdupq_n_u8(0); + uint8x16_t error = vdupq_n_u8(0); + + while (end - data >= 16) { + const uint8x16_t input = vld1q_u8((const uint8_t*)data); + + const uint8x16_t high_nibbles = vshrq_n_u8(input, 4); + + const uint8x16_t first_len = vqtbl1q_u8(first_len_tbl, high_nibbles); + + uint8x16_t range = vqtbl1q_u8(first_range_tbl, high_nibbles); + + range = vorrq_u8(range, vextq_u8(prev_first_len, first_len, 15)); + + uint8x16_t shift2 = vextq_u8(prev_first_len, first_len, 14); + shift2 = vqsubq_u8(shift2, const_1); + range = vorrq_u8(range, shift2); + + uint8x16_t shift3 = vextq_u8(prev_first_len, first_len, 13); + shift3 = vqsubq_u8(shift3, const_2); + range = vorrq_u8(range, shift3); + + uint8x16_t shift1 = vextq_u8(prev_input, input, 15); + shift1 = vsubq_u8(shift1, const_e0); + range = vaddq_u8(range, vqtbl2q_u8(range_adjust_tbl, shift1)); + + const uint8x16_t min_range = vqtbl1q_u8(range_min_tbl, range); + const uint8x16_t max_range = vqtbl1q_u8(range_max_tbl, range); + + if (return_position) { + error = vcltq_u8(input, min_range); + error = vorrq_u8(error, vcgtq_u8(input, max_range)); + if (vmaxvq_u32(vreinterpretq_u32_u8(error))) { + break; + } + } else { + error = vorrq_u8(error, vcltq_u8(input, min_range)); + error = vorrq_u8(error, vcgtq_u8(input, max_range)); + } + + prev_input = input; + prev_first_len = first_len; + + data += 16; + } + + if (return_position && data == data_original) { + return utf8_range_ValidateUTF8Naive(data, end, return_position); + } + const int32_t prev = vgetq_lane_s32(vreinterpretq_s32_u8(prev_input), 3); + data -= utf8_range_CodepointSkipBackwards(prev); + if (return_position) { + return (data - data_original) + + utf8_range_ValidateUTF8Naive(data, end, return_position); + } + if (vmaxvq_u32(vreinterpretq_u32_u8(error))) { + return 0; + } + return utf8_range_ValidateUTF8Naive(data, end, return_position); +} diff --git a/vendor/upb/third_party/utf8_range/utf8_range_sse.inc b/vendor/upb/third_party/utf8_range/utf8_range_sse.inc new file mode 100644 index 000000000..c93fa963c --- /dev/null +++ b/vendor/upb/third_party/utf8_range/utf8_range_sse.inc @@ -0,0 +1,272 @@ +#include +#include +#include + +static FORCE_INLINE_ATTR size_t utf8_range_ValidateUTF8Simd( + const char* data_original, const char* data, const char* end, + int return_position) { + /* This code checks that utf-8 ranges are structurally valid 16 bytes at once + * using superscalar instructions. + * The mapping between ranges of codepoint and their corresponding utf-8 + * sequences is below. + */ + + /* + * U+0000...U+007F 00...7F + * U+0080...U+07FF C2...DF 80...BF + * U+0800...U+0FFF E0 A0...BF 80...BF + * U+1000...U+CFFF E1...EC 80...BF 80...BF + * U+D000...U+D7FF ED 80...9F 80...BF + * U+E000...U+FFFF EE...EF 80...BF 80...BF + * U+10000...U+3FFFF F0 90...BF 80...BF 80...BF + * U+40000...U+FFFFF F1...F3 80...BF 80...BF 80...BF + * U+100000...U+10FFFF F4 80...8F 80...BF 80...BF + */ + + /* First we compute the type for each byte, as given by the table below. + * This type will be used as an index later on. + */ + + /* + * Index Min Max Byte Type + * 0 00 7F Single byte sequence + * 1,2,3 80 BF Second, third and fourth byte for many of the sequences. + * 4 A0 BF Second byte after E0 + * 5 80 9F Second byte after ED + * 6 90 BF Second byte after F0 + * 7 80 8F Second byte after F4 + * 8 C2 F4 First non ASCII byte + * 9..15 7F 80 Invalid byte + */ + + /* After the first step we compute the index for all bytes, then we permute + the bytes according to their indices to check the ranges from the range + table. + * The range for a given type can be found in the range_min_table and + range_max_table, the range for type/index X is in range_min_table[X] ... + range_max_table[X]. + */ + + /* Algorithm: + * Put index zero to all bytes. + * Find all non ASCII characters, give them index 8. + * For each tail byte in a codepoint sequence, give it an index corresponding + to the 1 based index from the end. + * If the first byte of the codepoint is in the [C0...DF] range, we write + index 1 in the following byte. + * If the first byte of the codepoint is in the range [E0...EF], we write + indices 2 and 1 in the next two bytes. + * If the first byte of the codepoint is in the range [F0...FF] we write + indices 3,2,1 into the next three bytes. + * For finding the number of bytes we need to look at high nibbles (4 bits) + and do the lookup from the table, it can be done with shift by 4 + shuffle + instructions. We call it `first_len`. + * Then we shift first_len by 8 bits to get the indices of the 2nd bytes. + * Saturating sub 1 and shift by 8 bits to get the indices of the 3rd bytes. + * Again to get the indices of the 4th bytes. + * Take OR of all that 4 values and check within range. + */ + /* For example: + * input C3 80 68 E2 80 20 A6 F0 A0 80 AC 20 F0 93 80 80 + * first_len 1 0 0 2 0 0 0 3 0 0 0 0 3 0 0 0 + * 1st byte 8 0 0 8 0 0 0 8 0 0 0 0 8 0 0 0 + * 2nd byte 0 1 0 0 2 0 0 0 3 0 0 0 0 3 0 0 // Shift + sub + * 3rd byte 0 0 0 0 0 1 0 0 0 2 0 0 0 0 2 0 // Shift + sub + * 4th byte 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 // Shift + sub + * Index 8 1 0 8 2 1 0 8 3 2 1 0 8 3 2 1 // OR of results + */ + + /* Checking for errors: + * Error checking is done by looking up the high nibble (4 bits) of each byte + against an error checking table. + * Because the lookup value for the second byte depends of the value of the + first byte in codepoint, we use saturated operations to adjust the index. + * Specifically we need to add 2 for E0, 3 for ED, 3 for F0 and 4 for F4 to + match the correct index. + * If we subtract from all bytes EF then EO -> 241, ED -> 254, F0 -> 1, + F4 -> 5 + * Do saturating sub 240, then E0 -> 1, ED -> 14 and we can do lookup to + match the adjustment + * Add saturating 112, then F0 -> 113, F4 -> 117, all that were > 16 will + be more 128 and lookup in ef_fe_table will return 0 but for F0 + and F4 it will be 4 and 5 accordingly + */ + /* + * Then just check the appropriate ranges with greater/smaller equal + instructions. Check tail with a naive algorithm. + * To save from previous 16 byte checks we just align previous_first_len to + get correct continuations of the codepoints. + */ + + /* + * Map high nibble of "First Byte" to legal character length minus 1 + * 0x00 ~ 0xBF --> 0 + * 0xC0 ~ 0xDF --> 1 + * 0xE0 ~ 0xEF --> 2 + * 0xF0 ~ 0xFF --> 3 + */ + const __m128i first_len_table = + _mm_setr_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3); + + /* Map "First Byte" to 8-th item of range table (0xC2 ~ 0xF4) */ + const __m128i first_range_table = + _mm_setr_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 8); + + /* + * Range table, map range index to min and max values + */ + const __m128i range_min_table = + _mm_setr_epi8(0x00, 0x80, 0x80, 0x80, 0xA0, 0x80, 0x90, 0x80, 0xC2, 0x7F, + 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F); + + const __m128i range_max_table = + _mm_setr_epi8(0x7F, 0xBF, 0xBF, 0xBF, 0xBF, 0x9F, 0xBF, 0x8F, 0xF4, 0x80, + 0x80, 0x80, 0x80, 0x80, 0x80, 0x80); + + /* + * Tables for fast handling of four special First Bytes(E0,ED,F0,F4), after + * which the Second Byte are not 80~BF. It contains "range index adjustment". + * +------------+---------------+------------------+----------------+ + * | First Byte | original range| range adjustment | adjusted range | + * +------------+---------------+------------------+----------------+ + * | E0 | 2 | 2 | 4 | + * +------------+---------------+------------------+----------------+ + * | ED | 2 | 3 | 5 | + * +------------+---------------+------------------+----------------+ + * | F0 | 3 | 3 | 6 | + * +------------+---------------+------------------+----------------+ + * | F4 | 4 | 4 | 8 | + * +------------+---------------+------------------+----------------+ + */ + + /* df_ee_table[1] -> E0, df_ee_table[14] -> ED as ED - E0 = 13 */ + // The values represent the adjustment in the Range Index table for a correct + // index. + const __m128i df_ee_table = + _mm_setr_epi8(0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0); + + /* ef_fe_table[1] -> F0, ef_fe_table[5] -> F4, F4 - F0 = 4 */ + // The values represent the adjustment in the Range Index table for a correct + // index. + const __m128i ef_fe_table = + _mm_setr_epi8(0, 3, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); + + __m128i prev_input = _mm_set1_epi8(0); + __m128i prev_first_len = _mm_set1_epi8(0); + __m128i error = _mm_set1_epi8(0); + + while (end - data >= 16) { + const __m128i input = _mm_loadu_si128((const __m128i*)(data)); + + /* high_nibbles = input >> 4 */ + const __m128i high_nibbles = + _mm_and_si128(_mm_srli_epi16(input, 4), _mm_set1_epi8(0x0F)); + + /* first_len = legal character length minus 1 */ + /* 0 for 00~7F, 1 for C0~DF, 2 for E0~EF, 3 for F0~FF */ + /* first_len = first_len_table[high_nibbles] */ + __m128i first_len = _mm_shuffle_epi8(first_len_table, high_nibbles); + + /* First Byte: set range index to 8 for bytes within 0xC0 ~ 0xFF */ + /* range = first_range_table[high_nibbles] */ + __m128i range = _mm_shuffle_epi8(first_range_table, high_nibbles); + + /* Second Byte: set range index to first_len */ + /* 0 for 00~7F, 1 for C0~DF, 2 for E0~EF, 3 for F0~FF */ + /* range |= (first_len, prev_first_len) << 1 byte */ + range = _mm_or_si128(range, _mm_alignr_epi8(first_len, prev_first_len, 15)); + + /* Third Byte: set range index to saturate_sub(first_len, 1) */ + /* 0 for 00~7F, 0 for C0~DF, 1 for E0~EF, 2 for F0~FF */ + __m128i tmp1; + __m128i tmp2; + /* tmp1 = saturate_sub(first_len, 1) */ + tmp1 = _mm_subs_epu8(first_len, _mm_set1_epi8(1)); + /* tmp2 = saturate_sub(prev_first_len, 1) */ + tmp2 = _mm_subs_epu8(prev_first_len, _mm_set1_epi8(1)); + /* range |= (tmp1, tmp2) << 2 bytes */ + range = _mm_or_si128(range, _mm_alignr_epi8(tmp1, tmp2, 14)); + + /* Fourth Byte: set range index to saturate_sub(first_len, 2) */ + /* 0 for 00~7F, 0 for C0~DF, 0 for E0~EF, 1 for F0~FF */ + /* tmp1 = saturate_sub(first_len, 2) */ + tmp1 = _mm_subs_epu8(first_len, _mm_set1_epi8(2)); + /* tmp2 = saturate_sub(prev_first_len, 2) */ + tmp2 = _mm_subs_epu8(prev_first_len, _mm_set1_epi8(2)); + /* range |= (tmp1, tmp2) << 3 bytes */ + range = _mm_or_si128(range, _mm_alignr_epi8(tmp1, tmp2, 13)); + + /* + * Now we have below range indices calculated + * Correct cases: + * - 8 for C0~FF + * - 3 for 1st byte after F0~FF + * - 2 for 1st byte after E0~EF or 2nd byte after F0~FF + * - 1 for 1st byte after C0~DF or 2nd byte after E0~EF or + * 3rd byte after F0~FF + * - 0 for others + * Error cases: + * >9 for non ascii First Byte overlapping + * E.g., F1 80 C2 90 --> 8 3 10 2, where 10 indicates error + */ + + /* Adjust Second Byte range for special First Bytes(E0,ED,F0,F4) */ + /* Overlaps lead to index 9~15, which are illegal in range table */ + __m128i shift1; + __m128i pos; + __m128i range2; + /* shift1 = (input, prev_input) << 1 byte */ + shift1 = _mm_alignr_epi8(input, prev_input, 15); + pos = _mm_sub_epi8(shift1, _mm_set1_epi8(0xEF)); + /* + * shift1: | EF F0 ... FE | FF 00 ... ... DE | DF E0 ... EE | + * pos: | 0 1 15 | 16 17 239| 240 241 255| + * pos-240: | 0 0 0 | 0 0 0 | 0 1 15 | + * pos+112: | 112 113 127| >= 128 | >= 128 | + */ + tmp1 = _mm_subs_epu8(pos, _mm_set1_epi8(-16)); + range2 = _mm_shuffle_epi8(df_ee_table, tmp1); + tmp2 = _mm_adds_epu8(pos, _mm_set1_epi8(112)); + range2 = _mm_add_epi8(range2, _mm_shuffle_epi8(ef_fe_table, tmp2)); + + range = _mm_add_epi8(range, range2); + + /* Load min and max values per calculated range index */ + __m128i min_range = _mm_shuffle_epi8(range_min_table, range); + __m128i max_range = _mm_shuffle_epi8(range_max_table, range); + + /* Check value range */ + if (return_position) { + error = _mm_cmplt_epi8(input, min_range); + error = _mm_or_si128(error, _mm_cmpgt_epi8(input, max_range)); + /* 5% performance drop from this conditional branch */ + if (!_mm_testz_si128(error, error)) { + break; + } + } else { + error = _mm_or_si128(error, _mm_cmplt_epi8(input, min_range)); + error = _mm_or_si128(error, _mm_cmpgt_epi8(input, max_range)); + } + + prev_input = input; + prev_first_len = first_len; + + data += 16; + } + /* If we got to the end, we don't need to skip any bytes backwards */ + if (return_position && data == data_original) { + return utf8_range_ValidateUTF8Naive(data, end, return_position); + } + /* Find previous codepoint (not 80~BF) */ + data -= utf8_range_CodepointSkipBackwards(_mm_extract_epi32(prev_input, 3)); + if (return_position) { + return (data - data_original) + + utf8_range_ValidateUTF8Naive(data, end, return_position); + } + /* Test if there was any error */ + if (!_mm_testz_si128(error, error)) { + return 0; + } + /* Check the tail */ + return utf8_range_ValidateUTF8Naive(data, end, return_position); +} diff --git a/vendor/upb/third_party/utf8_range/utf8_validity.h b/vendor/upb/third_party/utf8_range/utf8_validity.h new file mode 100644 index 000000000..cd6d06a82 --- /dev/null +++ b/vendor/upb/third_party/utf8_range/utf8_validity.h @@ -0,0 +1,30 @@ +// Copyright 2022 Google LLC +// +// Use of this source code is governed by an MIT-style +// license that can be found in the LICENSE file or at +// https://opensource.org/licenses/MIT. + +#ifndef THIRD_PARTY_UTF8_RANGE_UTF8_VALIDITY_H_ +#define THIRD_PARTY_UTF8_RANGE_UTF8_VALIDITY_H_ + +#include + +#include "absl/strings/string_view.h" +#include "utf8_range.h" + +namespace utf8_range { + +// Returns true if the sequence of characters is a valid UTF-8 sequence. +inline bool IsStructurallyValid(absl::string_view str) { + return utf8_range_IsValid(str.data(), str.size()); +} + +// Returns the length in bytes of the prefix of str that is all +// structurally valid UTF-8. +inline size_t SpanStructurallyValid(absl::string_view str) { + return utf8_range_ValidPrefix(str.data(), str.size()); +} + +} // namespace utf8_range + +#endif // THIRD_PARTY_UTF8_RANGE_UTF8_VALIDITY_H_ diff --git a/vendor/upb/upb.c b/vendor/upb/upb.c new file mode 100644 index 000000000..950028d4b --- /dev/null +++ b/vendor/upb/upb.c @@ -0,0 +1,10763 @@ +/* Amalgamated source file */ +#include "upb/generated_code_support.h" + +/* + * This is where we define internal portability macros used across upb. + * + * All of these macros are undef'd in undef.inc to avoid leaking them to users. + * + * The correct usage is: + * + * #include "upb/foobar.h" + * #include "upb/baz.h" + * + * // MUST be last included header. + * #include "upb/port/def.inc" + * + * // Code for this file. + * // <...> + * + * // Can be omitted for .c files, required for .h. + * #include "upb/port/undef.inc" + * + * This file is private and must not be included by users! + */ + +#if !((defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \ + (defined(__cplusplus) && __cplusplus >= 201703L) || \ + (defined(_MSC_VER) && _MSC_VER >= 1900)) +#error upb requires C99 or C++17 or MSVC >= 2015. +#endif + +// Portable check for GCC minimum version: +// https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html +#if defined(__GNUC__) && defined(__GNUC_MINOR__) && defined(__GNUC_PATCHLEVEL__) +#define UPB_GNUC_MIN(x, y) \ + (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y)) +#else +#define UPB_GNUC_MIN(x, y) 0 +#endif + +#if defined(__clang__) && defined(__clang_major__) && defined(__clang_minor__) +#define UPB_CLANG_MIN(x, y) \ + (__clang_major__ > (x) || __clang_major__ == (x) && __clang_minor__ >= (y)) +#else +#define UPB_CLANG_MIN(x, y) 0 +#endif + +// Macros for checking for compiler attributes, defined here to avoid the +// problem described in +// https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005fattribute.html. +#ifdef __has_attribute +#define UPB_HAS_ATTRIBUTE(x) __has_attribute(x) +#else +#define UPB_HAS_ATTRIBUTE(x) 0 +#endif + +#ifdef __has_c_attribute +#define UPB_HAS_C_ATTRIBUTE(x) __has_c_attribute(x) +#else +#define UPB_HAS_C_ATTRIBUTE(x) 0 +#endif + +#if defined(__cplusplus) && defined(__has_cpp_attribute) +// NOTE: requiring __cplusplus above should not be necessary, but +// works around https://bugs.llvm.org/show_bug.cgi?id=23435. +#define UPB_HAS_CPP_ATTRIBUTE(x) __has_cpp_attribute(x) +#else +#define UPB_HAS_CPP_ATTRIBUTE(x) 0 +#endif + +// Once in a while we want to use this macro in a C++-only portion of an +// otherwise C-compatible header, so we copy and paste this from ABSL. +#if UPB_HAS_CPP_ATTRIBUTE(deprecated) && UPB_HAS_CPP_ATTRIBUTE(clang::annotate) +#define UPB_DEPRECATE_AND_INLINE() [[deprecated, clang::annotate("inline-me")]] +#elif UPB_HAS_CPP_ATTRIBUTE(deprecated) +#define UPB_DEPRECATE_AND_INLINE() [[deprecated]] +#else +#define UPB_DEPRECATE_AND_INLINE() +#endif + +#ifdef __has_builtin +#define UPB_HAS_BUILTIN(x) __has_builtin(x) +#else +#define UPB_HAS_BUILTIN(x) 0 +#endif + +#ifdef __has_extension +#define UPB_HAS_EXTENSION(x) __has_extension(x) +#else +#define UPB_HAS_EXTENSION(x) 0 +#endif + +#ifdef __has_feature +#define UPB_HAS_FEATURE(x) __has_feature(x) +#else +#define UPB_HAS_FEATURE(x) 0 +#endif + +#include +#include +#include +#include +#include +#include + +#ifndef UINTPTR_MAX +Error, UINTPTR_MAX is undefined +#endif + +#if UINTPTR_MAX == 0xffffffff +#define UPB_SIZE(size32, size64) size32 +#else +#define UPB_SIZE(size32, size64) size64 +#endif + +/* If we always read/write as a consistent type to each address, this shouldn't + * violate aliasing. + */ +#define UPB_PTR_AT(msg, ofs, type) ((type*)((char*)(msg) + (ofs))) + +// A flexible array member may have lower alignment requirements than the struct +// overall - in that case, it can overlap with the trailing padding of the rest +// of the struct, and a naive sizeof(base) + sizeof(flex) * count calculation +// will not take into account that overlap, and allocate more than is required. +#define UPB_SIZEOF_FLEX(type, member, count) \ + UPB_MAX(sizeof(type), offsetof(type, member[count])) + +#define UPB_SIZEOF_FLEX_WOULD_OVERFLOW(type, member, count) \ + (((SIZE_MAX - offsetof(type, member[0])) / \ + (offsetof(type, member[1]) - offsetof(type, member[0]))) < (size_t)count) + +#define UPB_ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) + +#define UPB_MAPTYPE_STRING 0 + +// UPB_EXPORT: always generate a public symbol. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_EXPORT __attribute__((visibility("default"))) __attribute__((used)) +#else +#define UPB_EXPORT +#endif + +// UPB_INLINE: inline if possible, emit standalone code if required. +#ifdef __cplusplus +#define UPB_INLINE inline +#elif defined(__GNUC__) || defined(__clang__) +#define UPB_INLINE static __inline__ +#else +#define UPB_INLINE static +#endif + +// UPB_INLINE_IF_NOT_GCC: because gcc can be very noisy at times. +#if defined(__GNUC__) && !defined(__clang__) +#define UPB_INLINE_IF_NOT_GCC static +#else +#define UPB_INLINE_IF_NOT_GCC UPB_INLINE +#endif + +#ifdef UPB_BUILD_API +#define UPB_API UPB_EXPORT +#define UPB_API_INLINE UPB_EXPORT +#else +#define UPB_API +#define UPB_API_INLINE UPB_INLINE +#endif + +#ifdef EXPORT_UPBC +#define UPBC_API UPB_EXPORT +#else +#define UPBC_API +#endif + +#if UPB_HAS_FEATURE(address_sanitizer) || defined(__SANITIZE_ADDRESS__) +#define UPB_ASAN 1 +#else +#define UPB_ASAN 0 +#endif + +#if UPB_HAS_FEATURE(hwaddress_sanitizer) +#define UPB_HWASAN 1 +#define UPB_HWASAN_POISON_TAG 17 +#define UPB_MALLOC_ALIGN 16 +#else +#define UPB_HWASAN 0 +#define UPB_MALLOC_ALIGN 8 +#endif + +#if UPB_HAS_FEATURE(thread_sanitizer) || defined(__SANITIZE_THREAD__) +#define UPB_TSAN 1 +#else +#define UPB_TSAN 0 +#endif + +#if UPB_HAS_FEATURE(memory_sanitizer) +#define UPB_MSAN 1 +#else +#define UPB_MSAN 0 +#endif + +// An unfortunate concession to C++17 and MSVC, which don't support zero-sized +// structs. +#if UPB_ASAN || UPB_HWASAN || UPB_TSAN +#define UPB_XSAN_MEMBER upb_Xsan xsan; +#define UPB_XSAN(st) (&(st)->xsan) +#define UPB_XSAN_STRUCT_SIZE 1 +#else +#define UPB_XSAN_MEMBER +#define UPB_XSAN(st) (NULL) +#define UPB_XSAN_STRUCT_SIZE 0 +#endif + +#define UPB_ALIGN_UP(size, align) (((size) + (align) - 1) / (align) * (align)) +#define UPB_ALIGN_DOWN(size, align) ((size) / (align) * (align)) +#define UPB_ALIGN_MALLOC(size) UPB_ALIGN_UP(size, UPB_MALLOC_ALIGN) + +#if __STDC_VERSION__ >= 202311L || UPB_HAS_EXTENSION(cxx_alignof) || \ + defined(__cplusplus) +#define UPB_ALIGN_OF(type) alignof(type) +#elif __STDC_VERSION__ >= 201112L || UPB_HAS_EXTENSION(c_alignof) +#define UPB_ALIGN_OF(type) _Alignof(type) +#elif UPB_GNUC_MIN(2, 95) +#define UPB_ALIGN_OF(type) __alignof__(type) +#elif defined(_MSC_VER) +#define UPB_ALIGN_OF(type) __alignof(type) +#else +#define UPB_ALIGN_OF(type) \ + offsetof( \ + struct { \ + char c; \ + type member; \ + }, \ + member) +#endif + +#ifdef _MSC_VER +// Some versions of our Windows compiler don't support the C11 syntax. +#define UPB_ALIGN_AS(x) __declspec(align(x)) +#elif defined(__GNUC__) +#define UPB_ALIGN_AS(x) __attribute__((aligned(x))) +#else +#define UPB_ALIGN_AS(x) _Alignas(x) +#endif + +#if __STDC_VERSION__ >= 202311L || UPB_HAS_EXTENSION(cxx_static_assert) || \ + defined(__cplusplus) +#define UPB_STATIC_ASSERT(val, msg) static_assert((val), msg) +#elif __STDC_VERSION__ >= 201112L || UPB_HAS_EXTENSION(c_static_assert) || \ + UPB_GNUC_MIN(4, 6) +#define UPB_STATIC_ASSERT(val, msg) _Static_assert((val), msg) +#else +// Unfortunately this hack doesn't work inside struct declarations, but it works +// everywhere else +#define UPB_STATIC_ASSERT_CONCAT_IMPL(s1, s2) s1##s2 +#define UPB_STATIC_ASSERT_CONCAT(s1, s2) UPB_STATIC_ASSERT_CONCAT_IMPL(s1, s2) +#ifdef __COUNTER__ +#define UPB_STATIC_ASSERT(condition, message) \ + typedef char UPB_STATIC_ASSERT_CONCAT(static_assertion_failure_, \ + __COUNTER__)[(condition) ? 1 : -1] +#else +#define UPB_STATIC_ASSERT(condition, message) \ + typedef char UPB_STATIC_ASSERT_CONCAT(static_assertion_failure_, \ + __LINE__)[(condition) ? 1 : -1] +#endif +#endif + +// Hints to the compiler about likely/unlikely branches. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_LIKELY(x) __builtin_expect((bool)(x), 1) +#define UPB_UNLIKELY(x) __builtin_expect((bool)(x), 0) +#else +#define UPB_LIKELY(x) (x) +#define UPB_UNLIKELY(x) (x) +#endif + +#if UPB_HAS_BUILTIN(__builtin_expect_with_probability) +#define UPB_UNPREDICTABLE(x) \ + __builtin_expect_with_probability((bool)(x), 1, 0.5) +#else +#define UPB_UNPREDICTABLE(x) (x) +#endif + +// Macros for function attributes on compilers that support them. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_FORCEINLINE __inline__ __attribute__((always_inline)) static +#define UPB_NOINLINE __attribute__((noinline)) +#define UPB_NORETURN __attribute__((__noreturn__)) +#define UPB_PRINTF(str, first_vararg) \ + __attribute__((format(printf, str, first_vararg))) +#elif defined(_MSC_VER) +#define UPB_NOINLINE +#define UPB_FORCEINLINE static +#define UPB_NORETURN __declspec(noreturn) +#define UPB_PRINTF(str, first_vararg) +#else /* !defined(__GNUC__) */ +#define UPB_FORCEINLINE static +#define UPB_NOINLINE +#define UPB_NORETURN +#define UPB_PRINTF(str, first_vararg) +#endif + +#if UPB_HAS_ATTRIBUTE(noderef) +#define UPB_NODEREF __attribute__((noderef)) +#else +#define UPB_NODEREF +#endif + +// Will be defined properly once call sites are updated +#if false && UPB_HAS_C_ATTRIBUTE(nodiscard) +#define UPB_NODISCARD [[nodiscard]] +#elif false && UPB_HAS_ATTRIBUTE(warn_unused_result) +#define UPB_NODISCARD __attribute__((warn_unused_result)) +#elif false && UPB_HAS_CPP_ATTRIBUTE(nodiscard) +#define UPB_NODISCARD [[nodiscard]] +#else +#define UPB_NODISCARD +#endif + +#define UPB_MAX(x, y) ((x) > (y) ? (x) : (y)) +#define UPB_MIN(x, y) ((x) < (y) ? (x) : (y)) + +#define UPB_UNUSED(var) (void)(var) + +// UPB_ASSUME(): in release mode, we tell the compiler to assume this is true. +#ifdef NDEBUG +#ifdef __GNUC__ +#define UPB_ASSUME(expr) \ + if (!(expr)) __builtin_unreachable() +#elif defined _MSC_VER +#define UPB_ASSUME(expr) \ + if (!(expr)) __assume(0) +#else +#define UPB_ASSUME(expr) \ + do { \ + } while (false && (expr)) +#endif +#else +#define UPB_ASSUME(expr) assert(expr) +#endif + +#if UPB_HAS_BUILTIN(__builtin_constant_p) && UPB_HAS_ATTRIBUTE(const) +#define UPB_MAYBE_ASSUME(pred, x) \ + if (__builtin_constant_p(pred) && pred) UPB_ASSUME(x) +#define UPB_ATTR_CONST __attribute__((const)) +#else +#define UPB_MAYBE_ASSUME(pred, x) +#define UPB_ATTR_CONST +#endif + +/* UPB_ASSERT(): in release mode, we use the expression without letting it be + * evaluated. This prevents "unused variable" warnings. */ +#ifdef NDEBUG +#define UPB_ASSERT(expr) \ + do { \ + } while (false && (expr)) +#else +#define UPB_ASSERT(expr) assert(expr) +#endif + +#if !defined(NDEBUG) && !defined(UPB_TSAN) +#define UPB_ENABLE_REF_CYCLE_CHECKS 1 +#else +#define UPB_ENABLE_REF_CYCLE_CHECKS 0 +#endif + +#if defined(__GNUC__) || defined(__clang__) +#define UPB_PRETTY_FUNCTION __PRETTY_FUNCTION__ +#else +#define UPB_PRETTY_FUNCTION NULL +#endif + +#ifdef __cplusplus + extern "C" { +#endif + UPB_NORETURN void _upb_UnreachableFailure(const char* file, int line, + const char* function_name); +#if !defined(NDEBUG) +#define UPB_UNREACHABLE_FAILURE() \ + _upb_UnreachableFailure(__FILE__, __LINE__, UPB_PRETTY_FUNCTION); +#else +#define UPB_UNREACHABLE_FAILURE() +#endif +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#if defined(__GNUC__) || defined(__clang__) +#define UPB_UNREACHABLE() \ + do { \ + UPB_UNREACHABLE_FAILURE(); \ + __builtin_unreachable(); \ + } while (0) +#elif defined(_MSC_VER) +#define UPB_UNREACHABLE() \ + do { \ + UPB_UNREACHABLE_FAILURE(); \ + __assume(0); \ + } while (0) +#else +#define UPB_UNREACHABLE() \ + do { \ + UPB_UNREACHABLE_FAILURE(); \ + } while (0) +#endif + +#ifdef __ANDROID__ +#define UPB_DEFAULT_MAX_BLOCK_SIZE 8192 +#else +#define UPB_DEFAULT_MAX_BLOCK_SIZE 32768 +#endif + +/* UPB_SETJMP() / UPB_LONGJMP() */ +// Android uses a custom libc that does not implement all of posix, but it has +// had sigsetjmp/siglongjmp forever on arm and since API 12 on x86. Apple has +// sigsetjmp, but does not define the posix feature test macro. +#if defined(__APPLE__) || defined(_POSIX_C_SOURCE) || defined(__ANDROID__) +// avoid setting/restoring signal mask, which involves costly syscalls +#define UPB_SETJMP(buf) sigsetjmp(buf, 0) +#define UPB_LONGJMP(buf, val) siglongjmp(buf, val) +#elif defined(WASM_WAMR) +#define UPB_SETJMP(buf) 0 +#define UPB_LONGJMP(buf, val) abort() +#else +#define UPB_SETJMP(buf) setjmp(buf) +#define UPB_LONGJMP(buf, val) longjmp(buf, val) +#endif + +#if ((__STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_ATOMICS__)) || \ + UPB_HAS_EXTENSION(c_atomic) || \ + defined(__GNUC__) // GCC supported atomics as an extension before it + // supported __has_extension +#define UPB_USE_C11_ATOMICS +#elif defined(_MSC_VER) +#define UPB_USE_MSC_ATOMICS +#endif + +#if defined(UPB_USE_C11_ATOMICS) +#define UPB_ATOMIC(T) _Atomic(T) +#elif defined(UPB_USE_MSC_ATOMICS) +#define UPB_ATOMIC(T) volatile T +#else +#define UPB_ATOMIC(T) T +#endif + +/* UPB_PTRADD(ptr, ofs): add pointer while avoiding "NULL + 0" UB */ +#define UPB_PTRADD(ptr, ofs) ((ofs) ? (ptr) + (ofs) : (ptr)) + +#define UPB_PRIVATE(x) x##_dont_copy_me__upb_internal_use_only + +#ifdef UPB_ALLOW_PRIVATE_ACCESS__FOR_BITS_ONLY +#define UPB_ONLYBITS(x) x +#else +#define UPB_ONLYBITS(x) UPB_PRIVATE(x) +#endif + +/* Configure whether fasttable is switched on or not. *************************/ + +#if UPB_HAS_ATTRIBUTE(musttail) +#define UPB_MUSTTAIL __attribute__((musttail)) +#else +#define UPB_MUSTTAIL +#endif + +#if UPB_HAS_ATTRIBUTE(preserve_most) && !defined(__i386__) +#define UPB_PRESERVE_MOST __attribute__((preserve_most)) +#else +#define UPB_PRESERVE_MOST +#endif + +#if UPB_HAS_ATTRIBUTE(preserve_none) +#define UPB_PRESERVE_NONE __attribute__((preserve_none)) +#else +#define UPB_PRESERVE_NONE +#endif + +#if defined(__aarch64__) && (defined(__GNUC__) || defined(__clang__)) +#define UPB_ARM64_ASM 1 +#else +#define UPB_ARM64_ASM 0 +#endif + +/* When compiling with branch protection, we need to ensure that all branch + * targets in assembly use the appropriate landing pad instruction. These + * instructions are backwards compatible with processors that don't have + * FEAT_BTI and are treated as nops. + */ +#if UPB_ARM64_ASM && defined(__ARM_FEATURE_BTI_DEFAULT) +#if __ARM_FEATURE_BTI_DEFAULT == 1 +#define UPB_ARM64_BTI_DEFAULT 1 +#else +#define UPB_ARM64_BTI_DEFAULT 0 +#endif +#else +#define UPB_ARM64_BTI_DEFAULT 0 +#endif + +/* aarch64 supports big and little endian modes; fasttable performs multibyte + * tag loads assumes the tag of a varint is in the low bits. */ +#if (defined(__x86_64__) || defined(__AARCH64EL__)) && \ + UPB_HAS_ATTRIBUTE(preserve_none) && UPB_HAS_ATTRIBUTE(musttail) +#define UPB_FASTTABLE_SUPPORTED 1 +#else +#define UPB_FASTTABLE_SUPPORTED 0 +#endif + +/* define UPB_ENABLE_FASTTABLE to force fast table support. + * This is useful when we want to ensure we are really getting fasttable, + * for example for testing or benchmarking. */ +#if defined(UPB_ENABLE_FASTTABLE) +#if !UPB_FASTTABLE_SUPPORTED +#error fasttable is x86-64/ARM64le only and requires preserve_none and musttail. +#endif +#define UPB_FASTTABLE 1 +/* Define UPB_TRY_ENABLE_FASTTABLE to use fasttable if possible. + * This is useful for releasing code that might be used on multiple platforms, + * for example the PHP or Ruby C extensions. */ +#elif defined(UPB_TRY_ENABLE_FASTTABLE) +#define UPB_FASTTABLE UPB_FASTTABLE_SUPPORTED +#else +#define UPB_FASTTABLE 0 +#endif + +/* UPB_FASTTABLE_INIT() allows protos compiled for fasttable to gracefully + * degrade to non-fasttable if the runtime or platform do not support it. */ +#if !UPB_FASTTABLE +#define UPB_FASTTABLE_INIT(...) +#define UPB_FASTTABLE_MASK(mask) -1 +#else +#define UPB_FASTTABLE_INIT(...) __VA_ARGS__ +#define UPB_FASTTABLE_MASK(mask) mask +#endif + +#undef UPB_FASTTABLE_SUPPORTED + +#if defined(__cplusplus) +#if defined(__clang__) || UPB_GNUC_MIN(6, 0) +// https://gcc.gnu.org/gcc-6/changes.html +#define UPB_DEPRECATED [[deprecated]] +#else +#define UPB_DEPRECATED +#endif +#else +#define UPB_DEPRECATED +#endif + +#if defined(UPB_IS_GOOGLE3) && \ + (!defined(UPB_BOOTSTRAP_STAGE) || UPB_BOOTSTRAP_STAGE != 0) +#define UPB_DESC_MINITABLE(sym) &proto2__##sym##_msg_init +#elif defined(UPB_IS_GOOGLE3) && defined(UPB_BOOTSTRAP_STAGE) && \ + UPB_BOOTSTRAP_STAGE == 0 +#define UPB_DESC_MINITABLE(sym) proto2__##sym##_msg_init() +#elif defined(UPB_BOOTSTRAP_STAGE) && UPB_BOOTSTRAP_STAGE == 0 +#define UPB_DESC_MINITABLE(sym) google__protobuf__##sym##_msg_init() +#else +#define UPB_DESC_MINITABLE(sym) &google__protobuf__##sym##_msg_init +#endif + +#undef UPB_IS_GOOGLE3 + +#ifdef __clang__ +#define UPB_NO_SANITIZE_ADDRESS __attribute__((no_sanitize("address"))) +#else +#define UPB_NO_SANITIZE_ADDRESS +#endif + +#if defined(__GNUC__) && (defined(__clang__) || UPB_GNUC_MIN(11, 0)) +#define UPB_RETAIN __attribute__((retain)) +#else +#define UPB_RETAIN +#endif + +// Linker arrays combine elements from multiple translation units into a single +// array that can be iterated over at runtime. +// +// It is an alternative to pre-main "registration" functions. +// +// Usage: +// +// // In N translation units. +// UPB_LINKARR_APPEND(foo_array) static int elems[3] = {1, 2, 3}; +// +// // At runtime: +// UPB_LINKARR_DECLARE(foo_array, int); +// +// void f() { +// const int* start = UPB_LINKARR_START(foo_array); +// const int* stop = UPB_LINKARR_STOP(foo_array); +// for (const int* p = start; p < stop; p++) { +// // Windows can introduce zero padding, so we have to skip zeroes. +// if (*p != 0) { +// vec.push_back(*p); +// } +// } +// } + +#if defined(__GNUC__) && !defined(__clang__) +// GCC can't handle mismatched retain attributes in the same section: +// https://github.com/protocolbuffers/protobuf/issues/26385 +// To work around this, we retain all linker array elements, even though this +// effectively disables tree-shaking of unused extensions when using GCC. +#define UPB_LINKARR_ATTR UPB_RETAIN +#else +#define UPB_LINKARR_ATTR +#endif + +#define UPB_LINKARR_SENTINEL UPB_RETAIN __attribute__((weak, used)) + +#if defined(__ELF__) || defined(__wasm__) + +#define UPB_LINKARR_APPEND(name) \ + __attribute__(( \ + section("linkarr_" #name))) UPB_LINKARR_ATTR UPB_NO_SANITIZE_ADDRESS +#define UPB_LINKARR_DECLARE(name, type) \ + UPB_STATIC_ASSERT(sizeof("__la_" #name) <= 17, \ + "Linker array name too long for Mach-O (16-char limit)"); \ + extern type __start_linkarr_##name; \ + extern type __stop_linkarr_##name; \ + UPB_LINKARR_APPEND(name) \ + UPB_LINKARR_SENTINEL type UPB_linkarr_internal_empty_##name[1] +#define UPB_LINKARR_START(name) (&__start_linkarr_##name) +#define UPB_LINKARR_STOP(name) (&__stop_linkarr_##name) + +#elif defined(__MACH__) + +/* As described in: https://stackoverflow.com/a/22366882 */ +#define UPB_LINKARR_APPEND(name) \ + __attribute__(( \ + section("__DATA,__la_" #name))) UPB_LINKARR_ATTR UPB_NO_SANITIZE_ADDRESS +#define UPB_LINKARR_DECLARE(name, type) \ + UPB_STATIC_ASSERT(sizeof("__la_" #name) <= 17, \ + "Linker array name too long for Mach-O (16-char limit)"); \ + extern type __start_linkarr_##name __asm( \ + "section$start$__DATA$__la_" #name); \ + extern type __stop_linkarr_##name __asm( \ + "section$end$__DATA$" \ + "__la_" #name); \ + UPB_LINKARR_APPEND(name) \ + UPB_LINKARR_SENTINEL type UPB_linkarr_internal_empty_##name[1] +#define UPB_LINKARR_START(name) (&__start_linkarr_##name) +#define UPB_LINKARR_STOP(name) (&__stop_linkarr_##name) + +#elif defined(_MSC_VER) + +/* See: + * https://devblogs.microsoft.com/oldnewthing/20181107-00/?p=100155 + * https://devblogs.microsoft.com/oldnewthing/20181108-00/?p=100165 + * https://devblogs.microsoft.com/oldnewthing/20181109-00/?p=100175 */ +#define UPB_STRINGIFY_INTERNAL(x) #x +#define UPB_STRINGIFY(x) UPB_STRINGIFY_INTERNAL(x) +#define UPB_CONCAT(a, b, c) a##b##c +#define UPB_LINKARR_NAME(name, index) \ + UPB_STRINGIFY(UPB_CONCAT(la_, name, index)) +#define UPB_LINKARR_APPEND(name) \ + __pragma(section(UPB_LINKARR_NAME(name, $j), read)) \ + __declspec(allocate(UPB_LINKARR_NAME(name, $j))) +// clang-format off +#define UPB_LINKARR_DECLARE(name, type) \ + __pragma(message(UPB_LINKARR_NAME(name, $j))) \ + __pragma(section(UPB_LINKARR_NAME(name, $a), read)) \ + __pragma(section(UPB_LINKARR_NAME(name, $z), read)) \ + __declspec(allocate(UPB_LINKARR_NAME(name, $a)), selectany) \ + type __start_linkarr_##name; \ + __declspec(allocate(UPB_LINKARR_NAME(name, $z)), selectany) \ + type __stop_linkarr_##name; \ + UPB_LINKARR_APPEND(name) \ + __declspec(selectany) type UPB_linkarr_internal_empty_##name[1] = {0} +// clang-format on +#define UPB_LINKARR_START(name) (&__start_linkarr_##name) +#define UPB_LINKARR_STOP(name) (&__stop_linkarr_##name) + +#else + +// Linker arrays are not supported on this platform. Make macros no-ops. +#define UPB_LINKARR_APPEND(name) +#define UPB_LINKARR_DECLARE(name, type) \ + UPB_STATIC_ASSERT(sizeof("__la_" #name) <= 17, \ + "Linker array name too long for Mach-O (16-char limit)") +#define UPB_LINKARR_START(name) (NULL) +#define UPB_LINKARR_STOP(name) (NULL) + +#endif + +// Workaround for https://github.com/llvm/llvm-project/issues/167577 until it's +// fixed. Some function must exist for the constructor to work properly. +// TODO Remove this or gate it on a future version of clang. +#if defined(__clang__) && defined(__arm__) +#define _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) \ + __attribute__((used, visibility("hidden"))) void UPB_PRIVATE(unique_name)( \ + void) {} +#else +#define _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) +#endif + +#define _UPB_STRINGIFY2(x) #x +#define _UPB_STRINGIFY(x) _UPB_STRINGIFY2(x) + +#if defined(__ELF__) && (UPB_GNUC_MIN(15, 1) || UPB_CLANG_MIN(21, 1)) +/* + * Workaround for b/456308964 and b/456317163. Although weak constructors + * resolve to a single function body, Clang still emits a pointer into + * .init_array for every translation unit, causing the constructor to be + * executed multiple times and inflating binary size. We wrap the .init_array + * entry in a COMDAT group (using inline assembly) to force the linker to + * deduplicate the pointer to exactly one instance. %cc is used in preference to + * the more widely available %c because %c may under some circumstances still + * output a function name including relocation information, which will then + * confuse the linker. This was only a problem on gcc; when %cc was introduced + * to clang it was just an alias to %c, and clang's %c had already done the + * checks that %cc introduced to gcc. + * References: + * https://github.com/gcc-mirror/gcc/commit/74d6a676034b3ab20c387f12f19f5597e4f1c9fa + * https://github.com/llvm/llvm-project/pull/127719#issuecomment-2686276305 + */ +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) \ + __attribute__((weak, used, visibility("hidden"))) void UPB_PRIVATE(name)( \ + void) { \ + __asm__ volatile( \ + ".pushsection .init_array,\"awG\",%%init_array, %cc0, comdat\n" \ + ".dc.a %cc0\n" \ + ".popsection\n" \ + : \ + : "X"(UPB_PRIVATE(name))); \ + __VA_ARGS__ \ + } +#elif defined(__ELF__) || defined(__wasm__) || defined(__MACH__) || \ + defined(__MINGW32__) +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) \ + __attribute__((weak, visibility("hidden"), constructor)) void UPB_PRIVATE( \ + name)(void) { \ + __VA_ARGS__ \ + } +#elif defined(_MSC_VER) +/* + * See: https://stackoverflow.com/questions/1113409 + * + * The /include pragma suggested in the link above doesn't work in our case + * because it requires globally unique names. We need a different solution + * to prevent optimizers from removing the constructor. Our solution is to + * create a dummy exported weak symbol that prevent this stripping. + */ +#pragma section(".CRT$XCT", read) +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + static void __cdecl UPB_PRIVATE(name)(void); \ + __declspec(allocate(".CRT$XCT"), selectany) void( \ + __cdecl * UPB_PRIVATE(name##_))(void) = UPB_PRIVATE(name); \ + __declspec(selectany, dllexport) void* UPB_PRIVATE(name##_force_linkage) = \ + &UPB_PRIVATE(name##_); \ + static void __cdecl UPB_PRIVATE(name)(void) { __VA_ARGS__ } +#else +// No constructor support, nothing we can do except not break builds. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + static __attribute__((used)) void UPB_PRIVATE(name)(void) { __VA_ARGS__ } +#else +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + static void UPB_PRIVATE(name)(void) { __VA_ARGS__ } +#endif +#endif + +// +// Weak alias platform support. Theoretically this should be possible to do with +// only C using attributes like __attribute__((weak, alias("foo"))), but +// Clang doesn't support this properly on macOS. So we have to use assembly. +#if defined(__APPLE__) + +// TODO: once https://github.com/llvm/llvm-project/issues/167262 is fixed +// in the LLVM linker, we should have all weak variables point to a single +// "default" empty MiniTable instead of having each leaf define its own, like +// we do with ELF below. This will reduce binary size if many messages are tree +// shaken. +#define UPB_WEAK_SINGLETON_PLACEHOLDER_MINITABLE() +#define UPB_WEAK_PLACEHOLDER_MINITABLE(name) \ + __attribute__((weak)) const upb_MiniTable name = { \ + .UPB_PRIVATE(fields) = NULL, \ + .UPB_PRIVATE(size) = sizeof(struct upb_Message), \ + .UPB_PRIVATE(field_count) = 0, \ + .UPB_PRIVATE(ext) = kUpb_ExtMode_NonExtendable, \ + .UPB_PRIVATE(dense_below) = 0, \ + .UPB_PRIVATE(table_mask) = -1, \ + .UPB_PRIVATE(required_count) = 0, \ + }; +#define UPB_WEAK_ALIAS(type, from, to) \ + extern type to; \ + __asm__(".globl _" #to); \ + __asm__(".private_extern _" #to); \ + __asm__(".set _" #to ", _" #from); \ + __asm__(".weak_definition _" #to); +#define UPB_STRONG_ALIAS(type, from, to) \ + __asm__(".globl _" #to); \ + __asm__(".private_extern _" #to); \ + __asm__(".set _" #to ", _" #from); + +#elif defined(__ELF__) || defined(__wasm__) + + // On ELF, weak aliases work properly, so we can have all weak MiniTables + // point to the same empty singleton MiniTable. This reduces code size if many + // MiniTables are tree shaken. +#define UPB_WEAK_SINGLETON_PLACEHOLDER_MINITABLE() \ + __attribute__((weak)) \ + const upb_MiniTable kUpb_WeakSingletonPlaceholderMiniTable = { \ + .UPB_PRIVATE(fields) = NULL, \ + .UPB_PRIVATE(size) = sizeof(struct upb_Message), \ + .UPB_PRIVATE(field_count) = 0, \ + .UPB_PRIVATE(ext) = kUpb_ExtMode_NonExtendable, \ + .UPB_PRIVATE(dense_below) = 0, \ + .UPB_PRIVATE(table_mask) = -1, \ + .UPB_PRIVATE(required_count) = 0, \ + }; +#define UPB_WEAK_PLACEHOLDER_MINITABLE(name) +#define UPB_WEAK_ALIAS(type, from, to) \ + extern type to \ + __attribute__((weak, alias("kUpb_WeakSingletonPlaceholderMiniTable"))); +#define UPB_STRONG_ALIAS(type, from, to) \ + extern type to __attribute__((alias(#from))); + +#else +#define UPB_WEAK_SINGLETON_PLACEHOLDER_MINITABLE() +#define UPB_WEAK_PLACEHOLDER_MINITABLE(name) +#define UPB_WEAK_ALIAS(type, from, to) weak_alias_not_supported_on_this_platform +#define UPB_STRONG_ALIAS(type, from, to) \ + strong_alias_not_supported_on_this_platform + +#endif + +#ifndef UPB_GENERATED_CODE_SUPPORT_H_ +#define UPB_GENERATED_CODE_SUPPORT_H_ + +// This is a bit awkward; we want to conditionally include the fast decoder, +// but we generally don't let macros like UPB_FASTTABLE leak into user code. +// We can't #include "decode_fast.h" inside the port/def.inc, because the +// inc files strictly prohibit recursive inclusion, and decode_fast.h includes +// port/def.inc. So instead we use this two-part dance to conditionally include +// decode_fast.h. +#if UPB_FASTTABLE +#define UPB_INCLUDE_FAST_DECODE +#endif + +// IWYU pragma: begin_exports +#ifdef UPB_INCLUDE_FAST_DECODE +#endif +// IWYU pragma: end_exports + +#undef UPB_INCLUDE_FAST_DECODE + +#endif // UPB_GENERATED_CODE_SUPPORT_H_ + + +#include +#include +#include +#include +#include + +// Must be last. + +void upb_Status_Clear(upb_Status* status) { + if (!status) return; + status->ok = true; + status->msg[0] = '\0'; +} + +bool upb_Status_IsOk(const upb_Status* status) { return status->ok; } + +const char* upb_Status_ErrorMessage(const upb_Status* status) { + return status->msg; +} + +void upb_Status_SetErrorMessage(upb_Status* status, const char* msg) { + if (!status) return; + status->ok = false; + strncpy(status->msg, msg, _kUpb_Status_MaxMessage - 1); + status->msg[_kUpb_Status_MaxMessage - 1] = '\0'; +} + +void upb_Status_SetErrorFormat(upb_Status* status, const char* fmt, ...) { + va_list args; + va_start(args, fmt); + upb_Status_VSetErrorFormat(status, fmt, args); + va_end(args); +} + +void upb_Status_VSetErrorFormat(upb_Status* status, const char* fmt, + va_list args) { + if (!status) return; + status->ok = false; + vsnprintf(status->msg, sizeof(status->msg), fmt, args); + status->msg[_kUpb_Status_MaxMessage - 1] = '\0'; +} + +void upb_Status_VAppendErrorFormat(upb_Status* status, const char* fmt, + va_list args) { + size_t len; + if (!status) return; + status->ok = false; + len = strlen(status->msg); + vsnprintf(status->msg + len, sizeof(status->msg) - len, fmt, args); + status->msg[_kUpb_Status_MaxMessage - 1] = '\0'; +} + +/* + * upb_table Implementation + * + * Implementation is heavily inspired by Lua's ltable.c. + */ + + +#include +#include + + +// Must be last. + +#if defined(__has_builtin) +#if __has_builtin(__builtin_popcount) +#define UPB_FAST_POPCOUNT32(i) __builtin_popcount(i) +#endif +#elif defined(__GNUC__) +#define UPB_FAST_POPCOUNT32(i) __builtin_popcount(i) +#elif defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64)) +// Only use __popcnt on x86/x64 architectures for MSVC +#define UPB_FAST_POPCOUNT32(i) __popcnt(i) +#endif + +UPB_INLINE int _upb_popcnt32(uint32_t i) { +#ifdef UPB_FAST_POPCOUNT32 + return UPB_FAST_POPCOUNT32(i); +#else + int count = 0; + while (i != 0) { + count += i & 1; + i >>= 1; + } + return count; +#endif +} + +#undef UPB_FAST_POPCOUNT32 + +UPB_INLINE uint8_t _upb_log2_table_size(upb_table* t) { + return _upb_popcnt32(t->mask); +} + +/* A type to represent the lookup key of either a strtable, inttable or + * exttable. */ +typedef union { + uintptr_t num; + upb_StringView str; + struct { + const void* ptr; + uint32_t ext_num; + } ext; +} lookupkey_t; + +static lookupkey_t strkey2(const char* str, size_t len) { + return (lookupkey_t){.str = upb_StringView_FromDataAndSize(str, len)}; +} + +static lookupkey_t intkey(uintptr_t key) { return (lookupkey_t){.num = key}; } + +static lookupkey_t extkey(const void* ptr, uint32_t ext_num) { + return (lookupkey_t){.ext = {ptr, ext_num}}; +} + +// Conceptually the hash and equal functions should only take the key, not the +// value, but the extension table stores part of its logical key in the value +// slot. This is a sign that we have outgrown the original architecture. +typedef uint32_t hashfunc_t(upb_key key, upb_value val); +typedef bool eqlfunc_t(upb_key k1, upb_value v1, lookupkey_t k2); + +/* Base table (shared code) ***************************************************/ + +static uint32_t upb_inthash(uintptr_t key) { + UPB_STATIC_ASSERT(sizeof(uintptr_t) == 4 || sizeof(uintptr_t) == 8, + "Pointers don't fit"); + if (sizeof(uintptr_t) == 8) { + return (uint32_t)key ^ (uint32_t)((uint64_t)key >> 32); + } else { + return (uint32_t)key; + } +} + +static upb_tabent* upb_getentry(const upb_table* t, uint32_t hash) { + return t->entries + (hash & t->mask); +} + +static bool isfull(upb_table* t) { + uint32_t size = upb_table_size(t); + // 0.875 load factor + return t->count == (size - (size >> 3)); +} + +static bool init(upb_table* t, uint8_t size_lg2, upb_Arena* a) { + if (size_lg2 >= 32) { + return false; + } + t->count = 0; + uint32_t size = 1U << size_lg2; + t->mask = size - 1; // 0 mask if size_lg2 is 0 + if (upb_table_size(t) > (SIZE_MAX / sizeof(upb_tabent))) { + return false; + } + size_t bytes = upb_table_size(t) * sizeof(upb_tabent); + if (bytes > 0) { + t->entries = upb_Arena_Malloc(a, bytes); + if (!t->entries) return false; + memset(t->entries, 0, bytes); + } else { + t->entries = NULL; + } + return true; +} + +static upb_tabent* emptyent(upb_table* t, upb_tabent* e) { + upb_tabent* begin = t->entries; + upb_tabent* end = begin + upb_table_size(t); + for (e = e + 1; e < end; e++) { + if (upb_tabent_isempty(e)) return e; + } + for (e = begin; e < end; e++) { + if (upb_tabent_isempty(e)) return e; + } + UPB_ASSERT(false); + return NULL; +} + +static upb_tabent* getentry_mutable(upb_table* t, uint32_t hash) { + return upb_getentry(t, hash); +} + +static upb_tabent* findentry(const upb_table* t, lookupkey_t key, uint32_t hash, + eqlfunc_t* eql) { + upb_tabent* e; + + if (t->count == 0) return NULL; + e = upb_getentry(t, hash); + if (upb_tabent_isempty(e)) return NULL; + while (1) { + if (eql(e->key, e->val, key)) return e; + if (!upb_tabent_hasnext(e)) return NULL; + e = upb_tabent_next(e); + } +} + +static upb_tabent* findentry_mutable(upb_table* t, lookupkey_t key, + uint32_t hash, eqlfunc_t* eql) { + return findentry(t, key, hash, eql); +} + +static bool lookup(const upb_table* t, lookupkey_t key, upb_value* v, + uint32_t hash, eqlfunc_t* eql) { + const upb_tabent* e = findentry(t, key, hash, eql); + if (e) { + if (v) *v = e->val; + return true; + } else { + return false; + } +} + +/* The given key must not already exist in the table. */ +static void insert(upb_table* t, lookupkey_t key, upb_key tabkey, upb_value val, + uint32_t hash, hashfunc_t* hashfunc, eqlfunc_t* eql) { + upb_tabent* mainpos_e; + upb_tabent* our_e; + + UPB_ASSERT(findentry(t, key, hash, eql) == NULL); + + t->count++; + mainpos_e = getentry_mutable(t, hash); + our_e = mainpos_e; + + if (upb_tabent_isempty(mainpos_e)) { + /* Our main position is empty; use it. */ + upb_tabent_clearnext(our_e); + } else { + /* Collision. */ + upb_tabent* new_e = emptyent(t, mainpos_e); + /* Head of collider's chain. */ + upb_tabent* chain = + getentry_mutable(t, hashfunc(mainpos_e->key, mainpos_e->val)); + if (chain == mainpos_e) { + /* Existing ent is in its main position (it has the same hash as us, and + * is the head of our chain). Insert to new ent and append to this chain. + */ + if (upb_tabent_hasnext(mainpos_e)) { + upb_tabent_setnext(new_e, upb_tabent_next(mainpos_e)); + } else { + upb_tabent_clearnext(new_e); + } + upb_tabent_setnext(mainpos_e, new_e); + our_e = new_e; + } else { + /* Existing ent is not in its main position (it is a node in some other + * chain). This implies that no existing ent in the table has our hash. + * Evict it (updating its chain) and use its ent for head of our chain. */ + new_e->key = mainpos_e->key; + new_e->val = mainpos_e->val; + if (upb_tabent_hasnext(mainpos_e)) { + upb_tabent_setnext(new_e, upb_tabent_next(mainpos_e)); + } else { + upb_tabent_clearnext(new_e); + } + + while (upb_tabent_hasnext(chain) && upb_tabent_next(chain) != mainpos_e) { + chain = upb_tabent_next(chain); + UPB_ASSERT(chain); + } + upb_tabent_setnext(chain, new_e); + our_e = mainpos_e; + upb_tabent_clearnext(our_e); + } + } + our_e->key = tabkey; + our_e->val = val; + UPB_ASSERT(findentry(t, key, hash, eql) == our_e); +} + +static bool rm(upb_table* t, lookupkey_t key, upb_value* val, uint32_t hash, + eqlfunc_t* eql) { + upb_tabent* chain = getentry_mutable(t, hash); + if (upb_tabent_isempty(chain)) return false; + if (eql(chain->key, chain->val, key)) { + /* Element to remove is at the head of its chain. */ + t->count--; + if (val) *val = chain->val; + if (upb_tabent_hasnext(chain)) { + upb_tabent* move = upb_tabent_next(chain); + chain->key = move->key; + chain->val = move->val; + if (upb_tabent_hasnext(move)) { + upb_tabent_setnext(chain, upb_tabent_next(move)); + } else { + upb_tabent_clearnext(chain); + } + + upb_tabent_clear(move); + } else { + upb_tabent_clear(chain); + } + return true; + } else { + /* Element to remove is either in a non-head position or not in the + * table. */ + while ( + upb_tabent_hasnext(chain) && + !eql(upb_tabent_next(chain)->key, upb_tabent_next(chain)->val, key)) { + chain = upb_tabent_next(chain); + } + if (upb_tabent_hasnext(chain)) { + /* Found element to remove. */ + upb_tabent* rm = upb_tabent_next(chain); + t->count--; + if (val) *val = rm->val; + if (upb_tabent_hasnext(rm)) { + upb_tabent_setnext(chain, upb_tabent_next(rm)); + } else { + upb_tabent_clearnext(chain); + } + upb_tabent_clear(rm); + return true; + } else { + /* Element to remove is not in the table. */ + return false; + } + } +} + +static size_t next(const upb_table* t, size_t i) { + do { + if (++i >= upb_table_size(t)) return SIZE_MAX - 1; /* Distinct from -1. */ + } while (upb_tabent_isempty(&t->entries[i])); + + return i; +} + +static size_t begin(const upb_table* t) { return next(t, -1); } + +UPB_FORCEINLINE +bool _upb_tablenext(const upb_table* t, upb_tabent** ent, intptr_t* iter) { + size_t tab_idx = next(t, *iter); + if (tab_idx < upb_table_size(t)) { + *ent = &t->entries[tab_idx]; + *iter = tab_idx; + return true; + } + return false; +} + +UPB_FORCEINLINE +bool _upb_table_done(const upb_table* t, intptr_t iter) { + if (iter == INTPTR_MAX - 1 || (size_t)iter >= upb_table_size(t)) { + return true; + } + return upb_tabent_isempty(&t->entries[iter]); +} + +static void removeiter(upb_table* t, intptr_t* iter) { + intptr_t i = *iter; + upb_tabent* ent = &t->entries[i]; + upb_tabent* prev = NULL; + + // Linear search, not great. + upb_tabent* end = &t->entries[upb_table_size(t)]; + for (upb_tabent* e = t->entries; e != end; e++) { + if (!upb_tabent_isempty(e) && upb_tabent_hasnext(e) && + upb_tabent_next(e) == ent) { + prev = e; + break; + } + } + + if (prev) { + if (upb_tabent_hasnext(ent)) { + upb_tabent_setnext(prev, upb_tabent_next(ent)); + } else { + upb_tabent_clearnext(prev); + } + } else { + // ent is the head of the chain, so we need to move its next element into + // its slot if there is one. + if (upb_tabent_hasnext(ent)) { + upb_tabent* move = upb_tabent_next(ent); + ent->key = move->key; + ent->val = move->val; + if (upb_tabent_hasnext(move)) { + upb_tabent_setnext(ent, upb_tabent_next(move)); + } else { + upb_tabent_clearnext(ent); + } + + // If we moved an element from a higher index to a lower index, then we've + // moved an element we haven't visited yet into the slot of the one that + // was just removed; decrement iter so that the iterator visits it. + if (move > ent) { + *iter = i - 1; + } + + ent = move; + } + } + + t->count--; + upb_tabent_clear(ent); +} + +/* upb_strtable ***************************************************************/ + +// A simple "subclass" of upb_table that only adds a hash function for strings. + +static upb_SizePrefixString* upb_SizePrefixString_Copy(upb_StringView s, + upb_Arena* a) { + // A 2GB string will fail at serialization time, but we accept up to 4GB in + // memory here. + if (s.size > UINT32_MAX) return NULL; + upb_SizePrefixString* str = + upb_Arena_Malloc(a, sizeof(uint32_t) + s.size + 1); + if (str == NULL) return NULL; + str->size = s.size; + char* data = (char*)str->data; + if (s.size) memcpy(data, s.data, s.size); + data[s.size] = '\0'; + return str; +} + +/* Adapted from ABSL's wyhash. */ + +static uint64_t UnalignedLoad64(const void* p) { + uint64_t val; + memcpy(&val, p, 8); + return val; +} + +static uint32_t UnalignedLoad32(const void* p) { + uint32_t val; + memcpy(&val, p, 4); + return val; +} + +#if defined(_MSC_VER) && defined(_M_X64) +#include +#endif + +/* Computes a * b, returning the low 64 bits of the result and storing the high + * 64 bits in |*high|. */ +static uint64_t upb_umul128(uint64_t v0, uint64_t v1, uint64_t* out_high) { +#ifdef __SIZEOF_INT128__ + __uint128_t p = v0; + p *= v1; + *out_high = (uint64_t)(p >> 64); + return (uint64_t)p; +#elif defined(_MSC_VER) && defined(_M_X64) + return _umul128(v0, v1, out_high); +#else + uint64_t a32 = v0 >> 32; + uint64_t a00 = v0 & 0xffffffff; + uint64_t b32 = v1 >> 32; + uint64_t b00 = v1 & 0xffffffff; + uint64_t high = a32 * b32; + uint64_t low = a00 * b00; + uint64_t mid1 = a32 * b00; + uint64_t mid2 = a00 * b32; + low += (mid1 << 32) + (mid2 << 32); + // Omit carry bit, for mixing we do not care about exact numerical precision. + high += (mid1 >> 32) + (mid2 >> 32); + *out_high = high; + return low; +#endif +} + +static uint64_t WyhashMix(uint64_t v0, uint64_t v1) { + uint64_t high; + uint64_t low = upb_umul128(v0, v1, &high); + return low ^ high; +} + +static uint64_t Wyhash(const void* data, size_t len, uint64_t seed, + const uint64_t salt[]) { + const uint8_t* ptr = (const uint8_t*)data; + uint64_t starting_length = (uint64_t)len; + uint64_t current_state = seed ^ salt[0]; + + if (len > 64) { + // If we have more than 64 bytes, we're going to handle chunks of 64 + // bytes at a time. We're going to build up two separate hash states + // which we will then hash together. + uint64_t duplicated_state = current_state; + + do { + uint64_t a = UnalignedLoad64(ptr); + uint64_t b = UnalignedLoad64(ptr + 8); + uint64_t c = UnalignedLoad64(ptr + 16); + uint64_t d = UnalignedLoad64(ptr + 24); + uint64_t e = UnalignedLoad64(ptr + 32); + uint64_t f = UnalignedLoad64(ptr + 40); + uint64_t g = UnalignedLoad64(ptr + 48); + uint64_t h = UnalignedLoad64(ptr + 56); + + uint64_t cs0 = WyhashMix(a ^ salt[1], b ^ current_state); + uint64_t cs1 = WyhashMix(c ^ salt[2], d ^ current_state); + current_state = (cs0 ^ cs1); + + uint64_t ds0 = WyhashMix(e ^ salt[3], f ^ duplicated_state); + uint64_t ds1 = WyhashMix(g ^ salt[4], h ^ duplicated_state); + duplicated_state = (ds0 ^ ds1); + + ptr += 64; + len -= 64; + } while (len > 64); + + current_state = current_state ^ duplicated_state; + } + + // We now have a data `ptr` with at most 64 bytes and the current state + // of the hashing state machine stored in current_state. + while (len > 16) { + uint64_t a = UnalignedLoad64(ptr); + uint64_t b = UnalignedLoad64(ptr + 8); + + current_state = WyhashMix(a ^ salt[1], b ^ current_state); + + ptr += 16; + len -= 16; + } + + // We now have a data `ptr` with at most 16 bytes. + uint64_t a = 0; + uint64_t b = 0; + if (len > 8) { + // When we have at least 9 and at most 16 bytes, set A to the first 64 + // bits of the input and B to the last 64 bits of the input. Yes, they will + // overlap in the middle if we are working with less than the full 16 + // bytes. + a = UnalignedLoad64(ptr); + b = UnalignedLoad64(ptr + len - 8); + } else if (len > 3) { + // If we have at least 4 and at most 8 bytes, set A to the first 32 + // bits and B to the last 32 bits. + a = UnalignedLoad32(ptr); + b = UnalignedLoad32(ptr + len - 4); + } else if (len > 0) { + // If we have at least 1 and at most 3 bytes, read all of the provided + // bits into A, with some adjustments. + a = ((ptr[0] << 16) | (ptr[len >> 1] << 8) | ptr[len - 1]); + b = 0; + } else { + a = 0; + b = 0; + } + + uint64_t w = WyhashMix(a ^ salt[1], b ^ current_state); + uint64_t z = salt[1] ^ starting_length; + return WyhashMix(w, z); +} + +const uint64_t kWyhashSalt[5] = { + 0x243F6A8885A308D3ULL, 0x13198A2E03707344ULL, 0xA4093822299F31D0ULL, + 0x082EFA98EC4E6C89ULL, 0x452821E638D01377ULL, +}; + +uint32_t _upb_Hash(const void* p, size_t n, uint64_t seed) { + return Wyhash(p, n, seed, kWyhashSalt); +} + +static const void* const _upb_seed; + +// Returns a random seed for upb's hash function. This does not provide +// high-quality randomness, but it should be enough to prevent unit tests from +// relying on a deterministic map ordering. By returning the address of a +// variable, we are able to get some randomness for free provided that ASLR is +// enabled. +static uint64_t _upb_Seed(void) { return (uint64_t)&_upb_seed; } + +static uint32_t _upb_Hash_NoSeed(const char* p, size_t n) { + return _upb_Hash(p, n, _upb_Seed()); +} + +static uint32_t strhash(upb_key key, upb_value val) { + UPB_UNUSED(val); + return _upb_Hash_NoSeed(key.str->data, key.str->size); +} + +static bool streql(upb_key k1, upb_value v1, lookupkey_t k2) { + UPB_UNUSED(v1); + const upb_SizePrefixString* k1s = k1.str; + const upb_StringView k2s = k2.str; + return k1s->size == k2s.size && + (k1s->size == 0 || memcmp(k1s->data, k2s.data, k1s->size) == 0); +} + +/** Calculates the number of entries required to hold an expected number of + * values, within the table's load factor. */ +static size_t _upb_entries_needed_for(size_t expected_size) { + size_t need_entries = expected_size + 1 + expected_size / 7; + UPB_ASSERT(need_entries - (need_entries >> 3) >= expected_size); + return need_entries; +} + +bool upb_strtable_init(upb_strtable* t, size_t expected_size, upb_Arena* a) { + int size_lg2 = upb_Log2Ceiling(_upb_entries_needed_for(expected_size)); + return init(&t->t, size_lg2, a); +} + +void upb_strtable_clear(upb_strtable* t) { + size_t bytes = upb_table_size(&t->t) * sizeof(upb_tabent); + t->t.count = 0; + memset((char*)t->t.entries, 0, bytes); +} + +bool upb_strtable_resize(upb_strtable* t, size_t size_lg2, upb_Arena* a) { + upb_strtable new_table; + if (!init(&new_table.t, size_lg2, a)) return false; + + intptr_t iter = UPB_STRTABLE_BEGIN; + upb_StringView sv; + upb_value val; + while (upb_strtable_next2(t, &sv, &val, &iter)) { + // Unlike normal insert, does not copy string data or possibly reallocate + // the table + // The data pointer used in the table is guaranteed to point at a + // upb_SizePrefixString, we just need to back up by the size of the uint32_t + // length prefix. + const upb_SizePrefixString* keystr = + (const upb_SizePrefixString*)(sv.data - sizeof(uint32_t)); + UPB_ASSERT(keystr->data == sv.data); + UPB_ASSERT(keystr->size == sv.size); + + lookupkey_t lookupkey = {.str = sv}; + upb_key tabkey = {.str = keystr}; + uint32_t hash = _upb_Hash_NoSeed(sv.data, sv.size); + insert(&new_table.t, lookupkey, tabkey, val, hash, &strhash, &streql); + } + *t = new_table; + return true; +} + +bool upb_strtable_insert(upb_strtable* t, const char* k, size_t len, + upb_value v, upb_Arena* a) { + if (isfull(&t->t)) { + /* Need to resize. New table of double the size, add old elements to it. */ + if (!upb_strtable_resize(t, _upb_log2_table_size(&t->t) + 1, a)) { + return false; + } + } + + upb_StringView sv = upb_StringView_FromDataAndSize(k, len); + upb_SizePrefixString* size_prefix_string = upb_SizePrefixString_Copy(sv, a); + if (!size_prefix_string) return false; + + lookupkey_t lookupkey = {.str = sv}; + upb_key key = {.str = size_prefix_string}; + uint32_t hash = _upb_Hash_NoSeed(k, len); + insert(&t->t, lookupkey, key, v, hash, &strhash, &streql); + return true; +} + +bool upb_strtable_lookup2(const upb_strtable* t, const char* key, size_t len, + upb_value* v) { + uint32_t hash = _upb_Hash_NoSeed(key, len); + return lookup(&t->t, strkey2(key, len), v, hash, &streql); +} + +bool upb_strtable_remove2(upb_strtable* t, const char* key, size_t len, + upb_value* val) { + uint32_t hash = _upb_Hash_NoSeed(key, len); + return rm(&t->t, strkey2(key, len), val, hash, &streql); +} + +/* Iteration */ + +void upb_strtable_begin(upb_strtable_iter* i, const upb_strtable* t) { + i->t = t; + i->index = begin(&t->t); +} + +void upb_strtable_next(upb_strtable_iter* i) { + i->index = next(&i->t->t, i->index); +} + +bool upb_strtable_done(const upb_strtable_iter* i) { + if (!i->t) return true; + return _upb_table_done(&i->t->t, i->index); +} + +upb_StringView upb_strtable_iter_key(const upb_strtable_iter* i) { + UPB_ASSERT(!upb_strtable_done(i)); + return upb_key_strview(str_tabent(i)->key); +} + +upb_value upb_strtable_iter_value(const upb_strtable_iter* i) { + UPB_ASSERT(!upb_strtable_done(i)); + return str_tabent(i)->val; +} + +void upb_strtable_iter_setdone(upb_strtable_iter* i) { + i->t = NULL; + i->index = SIZE_MAX; +} + +bool upb_strtable_iter_isequal(const upb_strtable_iter* i1, + const upb_strtable_iter* i2) { + if (upb_strtable_done(i1) && upb_strtable_done(i2)) return true; + return i1->t == i2->t && i1->index == i2->index; +} + +bool upb_strtable_next2(const upb_strtable* t, upb_StringView* key, + upb_value* val, intptr_t* iter) { + upb_tabent* ent; + if (_upb_tablenext(&t->t, &ent, iter)) { + *key = upb_key_strview(ent->key); + *val = ent->val; + return true; + } + return false; +} + +void upb_strtable_removeiter(upb_strtable* t, intptr_t* iter) { + removeiter(&t->t, iter); +} + +void upb_strtable_setentryvalue(upb_strtable* t, intptr_t iter, upb_value v) { + t->t.entries[iter].val = v; +} + +/* upb_exttable ***************************************************************/ + +static uint32_t _upb_exttable_hash(const void* ptr, uint32_t ext_num) { + uint64_t a = (uintptr_t)ptr; + uint64_t b = ext_num; + return (uint32_t)WyhashMix(a ^ kWyhashSalt[1], b ^ _upb_Seed()); +} + +static uint32_t exthash(upb_key key, upb_value val) { + const void* ptr = (const void*)key.num; + uint32_t ext_num = *(const uint32_t*)upb_value_getconstptr(val); + return _upb_exttable_hash(ptr, ext_num); +} + +static bool exteql(upb_key k1, upb_value v1, lookupkey_t k2) { + if ((const void*)k1.num == k2.ext.ptr) { + uint32_t ext_num1 = *(const uint32_t*)upb_value_getconstptr(v1); + return ext_num1 == k2.ext.ext_num; + } + return false; +} + +bool upb_exttable_init(upb_exttable* t, size_t expected_size, upb_Arena* a) { + int size_lg2 = upb_Log2Ceiling(_upb_entries_needed_for(expected_size)); + return init(&t->t, size_lg2, a); +} + +void upb_exttable_clear(upb_exttable* t) { + size_t bytes = upb_table_size(&t->t) * sizeof(upb_tabent); + t->t.count = 0; + memset((char*)t->t.entries, 0, bytes); +} + +bool upb_exttable_resize(upb_exttable* t, size_t size_lg2, upb_Arena* a) { + upb_exttable new_table; + if (!init(&new_table.t, size_lg2, a)) return false; + + size_t i; + for (i = begin(&t->t); i < upb_table_size(&t->t); i = next(&t->t, i)) { + const upb_tabent* e = &t->t.entries[i]; + uint32_t hash = exthash(e->key, e->val); + uint32_t ext_num = *(const uint32_t*)upb_value_getconstptr(e->val); + lookupkey_t lookupkey = extkey((const void*)e->key.num, ext_num); + insert(&new_table.t, lookupkey, e->key, e->val, hash, &exthash, &exteql); + } + + *t = new_table; + return true; +} + +bool upb_exttable_insert(upb_exttable* t, const void* k, const uint32_t* v, + upb_Arena* a) { + UPB_ASSERT(k != NULL); + UPB_ASSERT(v != NULL); + UPB_ASSERT(*v != 0); + + if (isfull(&t->t)) { + if (!upb_exttable_resize(t, _upb_log2_table_size(&t->t) + 1, a)) { + return false; + } + } + + lookupkey_t lookupkey = extkey(k, *v); + upb_key key = {.num = (uintptr_t)k}; + upb_value val = upb_value_constptr(v); + uint32_t hash = _upb_exttable_hash(k, *v); + insert(&t->t, lookupkey, key, val, hash, &exthash, &exteql); + return true; +} + +const uint32_t* upb_exttable_lookup(const upb_exttable* t, const void* k, + uint32_t ext_number) { + uint32_t hash = _upb_exttable_hash(k, ext_number); + upb_value val; + if (lookup(&t->t, extkey(k, ext_number), &val, hash, &exteql)) { + return (const uint32_t*)upb_value_getconstptr(val); + } + return NULL; +} + +const uint32_t* upb_exttable_remove(upb_exttable* t, const void* k, + uint32_t ext_number) { + uint32_t hash = _upb_exttable_hash(k, ext_number); + upb_value val; + if (rm(&t->t, extkey(k, ext_number), &val, hash, &exteql)) { + return (const uint32_t*)upb_value_getconstptr(val); + } + return NULL; +} + +size_t upb_exttable_size(const upb_exttable* t) { return t->t.count; } + +/* upb_inttable ***************************************************************/ + +static uint32_t inthash(upb_key key, upb_value val) { + UPB_UNUSED(val); + return upb_inthash(key.num); +} + +static bool inteql(upb_key k1, upb_value v1, lookupkey_t k2) { + UPB_UNUSED(v1); + return k1.num == k2.num; +} + +size_t upb_inttable_count(const upb_inttable* t) { return t->t.count; } + +static void check(upb_inttable* t) { + UPB_UNUSED(t); +#if defined(UPB_DEBUG_TABLE) && !defined(NDEBUG) + { + // This check is very expensive (makes inserts/deletes O(N)). + size_t count = 0; + intptr_t iter = UPB_INTTABLE_BEGIN; + uintptr_t key; + upb_value val; + while (upb_inttable_next(t, &key, &val, &iter)) { + UPB_ASSERT(upb_inttable_lookup(t, key, NULL)); + count++; + } + UPB_ASSERT(count == upb_inttable_count(t)); + } +#endif +} + +static bool upb_inttable_sizedinit(upb_inttable* t, int hsize_lg2, + upb_Arena* a) { + if (!init(&t->t, hsize_lg2, a)) return false; + check(t); + return true; +} + +bool upb_inttable_init(upb_inttable* t, upb_Arena* a) { + return upb_inttable_sizedinit(t, 3, a); +} + +bool upb_inttable_insert(upb_inttable* t, uintptr_t key, upb_value val, + upb_Arena* a) { + if (isfull(&t->t)) { + upb_table new_table; + + if (!init(&new_table, _upb_log2_table_size(&t->t) + 1, a)) { + return false; + } + + for (size_t i = begin(&t->t); i < upb_table_size(&t->t); + i = next(&t->t, i)) { + const upb_tabent* e = &t->t.entries[i]; + insert(&new_table, intkey(e->key.num), e->key, e->val, + inthash(e->key, e->val), &inthash, &inteql); + } + + UPB_ASSERT(t->t.count == new_table.count); + + t->t = new_table; + } + upb_key tabkey = {.num = key}; + insert(&t->t, intkey(key), tabkey, val, upb_inthash(key), &inthash, &inteql); + check(t); + return true; +} + +bool upb_inttable_lookup(const upb_inttable* t, uintptr_t key, upb_value* v) { + return lookup(&t->t, intkey(key), v, upb_inthash(key), &inteql); +} + +bool upb_inttable_replace(upb_inttable* t, uintptr_t key, upb_value val) { + upb_tabent* e = + findentry_mutable(&t->t, intkey(key), upb_inthash(key), &inteql); + if (!e) return false; + e->val = val; + return true; +} + +bool upb_inttable_remove(upb_inttable* t, uintptr_t key, upb_value* val) { + bool success = rm(&t->t, intkey(key), val, upb_inthash(key), &inteql); + check(t); + return success; +} + +void upb_inttable_clear(upb_inttable* t) { + size_t bytes = upb_table_size(&t->t) * sizeof(upb_tabent); + t->t.count = 0; + memset((char*)t->t.entries, 0, bytes); +} + +bool upb_inttable_next(const upb_inttable* t, uintptr_t* key, upb_value* val, + intptr_t* iter) { + upb_tabent* ent; + if (_upb_tablenext(&t->t, &ent, iter)) { + *key = ent->key.num; + *val = ent->val; + return true; + } + *iter = INTPTR_MAX - 1; + return false; +} + +void upb_inttable_removeiter(upb_inttable* t, intptr_t* iter) { + removeiter(&t->t, iter); +} + +void upb_inttable_setentryvalue(upb_inttable* t, intptr_t iter, upb_value v) { + t->t.entries[iter].val = v; +} + +bool upb_inttable_done(const upb_inttable* t, intptr_t iter) { + return _upb_table_done(&t->t, iter); +} + +uintptr_t upb_inttable_iter_key(const upb_inttable* t, intptr_t iter) { + UPB_ASSERT(!upb_inttable_done(t, iter)); + return t->t.entries[iter].key.num; +} + +upb_value upb_inttable_iter_value(const upb_inttable* t, intptr_t iter) { + UPB_ASSERT(!upb_inttable_done(t, iter)); + return t->t.entries[iter].val; +} + + +#include + +// Must be last. + +static void* upb_global_allocfunc(upb_alloc* alloc, void* ptr, size_t oldsize, + size_t size, size_t* actual_size) { + UPB_UNUSED(alloc); + UPB_UNUSED(oldsize); + UPB_UNUSED(actual_size); + if (size == 0) { + free(ptr); + return NULL; + } else { + return realloc(ptr, size); + } +} + +upb_alloc upb_alloc_global = {&upb_global_allocfunc}; + + +#include + + +#ifdef UPB_TRACING_ENABLED +#include +#endif + +#include +#include +#include + + +// Must be last. + +static UPB_ATOMIC(size_t) g_max_block_size = UPB_DEFAULT_MAX_BLOCK_SIZE; + +void upb_Arena_SetMaxBlockSize(size_t max) { + UPB_ASSERT(max <= UINT32_MAX); + upb_Atomic_Store(&g_max_block_size, max, memory_order_relaxed); +} + +typedef struct upb_MemBlock { + struct upb_MemBlock* next; + // Size of the actual allocation. + // Size of 0 means this is a upb_ArenaRef. + size_t size; + // Data follows. +} upb_MemBlock; + +// A special block type that indicates a reference to another arena. +// When this arena is freed, a ref is released on the referenced arena. +// size must be 0. +typedef struct upb_ArenaRef { + upb_MemBlock prefix; // size is always zero + const upb_Arena* arena; +#ifndef NDEBUG + const struct upb_ArenaRef* next_ref; +#endif +} upb_ArenaRef; + +typedef struct upb_ArenaInternal { + // upb_alloc* together with a low bit which signals if there is an initial + // block. + uintptr_t block_alloc; + + // Linked list of blocks to free/cleanup. + upb_MemBlock* blocks; + +#ifndef NDEBUG + // Stack of pointers to other arenas that this arena owns. + // Used for debug-only ref cycle checks. + UPB_ATOMIC(const upb_ArenaRef*) refs; +#endif + + // Size of the last block we allocated in the normal exponential scheme. + uint32_t last_block_size; + + // A hint that grows whenever we perform a "one-off" allocation into a a + // dedicated block. This helps us determine if these outlier blocks are + // actually common enough that we should switch back to the normal exponential + // scheme at the larger size. + uint32_t size_hint; + + // All non atomic members used during allocation must be above this point, and + // are used by _SwapIn/_SwapOut + + // Total space allocated in blocks, atomic only for SpaceAllocated + UPB_ATOMIC(uintptr_t) space_allocated; + + // The cleanup for the allocator. This is called after all the blocks are + // freed in an arena. + upb_AllocCleanupFunc* upb_alloc_cleanup; + + // When multiple arenas are fused together, each arena points to a parent + // arena (root points to itself). The root tracks how many live arenas + // reference it. + + // The low bit is tagged: + // 0: pointer to parent + // 1: count, left shifted by one + UPB_ATOMIC(uintptr_t) parent_or_count; + + // All nodes that are fused together are in a singly-linked list. + // == NULL at end of list. + UPB_ATOMIC(struct upb_ArenaInternal*) next; + + // - If the low bit is set, is a pointer to the tail of the list (populated + // for roots, set to self for roots with no fused arenas). This is best + // effort, and it may not always reflect the true tail, but it will always + // be a valid node in the list. This is useful for finding the list tail + // without having to walk the entire list. + // - If the low bit is not set, is a pointer to the previous node in the list, + // such that a->previous_or_tail->next == a. + UPB_ATOMIC(uintptr_t) previous_or_tail; + + // We use a different UPB_XSAN_MEMBER than the one in upb_Arena because the + // two are distinct synchronization domains. The upb_Arena.ptr member is + // not published in the allocation path, so it is not synchronized with + // respect to operations performed in this file such as Fuse, Free, + // SpaceAllocated, etc. This means that it is not safe to read or write + // the upb_Arena.ptr member in those functions. + UPB_XSAN_MEMBER +} upb_ArenaInternal; + +// All public + private state for an arena. +typedef struct { + upb_Arena head; + upb_ArenaInternal body; +} upb_ArenaState; + +typedef struct { + upb_ArenaInternal* root; + uintptr_t tagged_count; +} upb_ArenaRoot; + +static const size_t kUpb_MemblockReserve = + UPB_ALIGN_MALLOC(sizeof(upb_MemBlock)); + +static const size_t kUpb_ArenaStateReserve = + UPB_ALIGN_MALLOC(sizeof(upb_ArenaState)); + +static const size_t kUpb_ArenaRefReserve = + UPB_ALIGN_MALLOC(sizeof(upb_ArenaRef)); + +// Extracts the (upb_ArenaInternal*) from a (upb_Arena*) +static upb_ArenaInternal* upb_Arena_Internal(const upb_Arena* a) { + return &((upb_ArenaState*)a)->body; +} + +static bool _upb_Arena_IsTaggedRefcount(uintptr_t parent_or_count) { + return (parent_or_count & 1) == 1; +} + +static bool _upb_Arena_IsTaggedPointer(uintptr_t parent_or_count) { + return (parent_or_count & 1) == 0; +} + +static uintptr_t _upb_Arena_RefCountFromTagged(uintptr_t parent_or_count) { + UPB_ASSERT(_upb_Arena_IsTaggedRefcount(parent_or_count)); + return parent_or_count >> 1; +} + +static uintptr_t _upb_Arena_TaggedFromRefcount(uintptr_t refcount) { + uintptr_t parent_or_count = (refcount << 1) | 1; + UPB_ASSERT(_upb_Arena_IsTaggedRefcount(parent_or_count)); + return parent_or_count; +} + +static upb_ArenaInternal* _upb_Arena_PointerFromTagged( + uintptr_t parent_or_count) { + UPB_ASSERT(_upb_Arena_IsTaggedPointer(parent_or_count)); + return (upb_ArenaInternal*)parent_or_count; +} + +static uintptr_t _upb_Arena_TaggedFromPointer(upb_ArenaInternal* ai) { + uintptr_t parent_or_count = (uintptr_t)ai; + UPB_ASSERT(_upb_Arena_IsTaggedPointer(parent_or_count)); + return parent_or_count; +} + +static bool _upb_Arena_IsTaggedTail(uintptr_t previous_or_tail) { + return (previous_or_tail & 1) == 1; +} + +static bool _upb_Arena_IsTaggedPrevious(uintptr_t previous_or_tail) { + return (previous_or_tail & 1) == 0; +} + +static upb_ArenaInternal* _upb_Arena_TailFromTagged( + uintptr_t previous_or_tail) { + UPB_ASSERT(_upb_Arena_IsTaggedTail(previous_or_tail)); + return (upb_ArenaInternal*)(previous_or_tail ^ 1); +} + +static uintptr_t _upb_Arena_TaggedFromTail(upb_ArenaInternal* tail) { + uintptr_t previous_or_tail = (uintptr_t)tail | 1; + UPB_ASSERT(_upb_Arena_IsTaggedTail(previous_or_tail)); + return previous_or_tail; +} + +static upb_ArenaInternal* _upb_Arena_PreviousFromTagged( + uintptr_t previous_or_tail) { + UPB_ASSERT(_upb_Arena_IsTaggedPrevious(previous_or_tail)); + return (upb_ArenaInternal*)previous_or_tail; +} + +static uintptr_t _upb_Arena_TaggedFromPrevious(upb_ArenaInternal* ai) { + uintptr_t previous = (uintptr_t)ai; + UPB_ASSERT(_upb_Arena_IsTaggedPrevious(previous)); + return previous; +} + +static upb_alloc* _upb_ArenaInternal_BlockAlloc(upb_ArenaInternal* ai) { + return (upb_alloc*)(ai->block_alloc & ~0x1); +} + +static uintptr_t _upb_Arena_MakeBlockAlloc(upb_alloc* alloc, bool has_initial) { + uintptr_t alloc_uint = (uintptr_t)alloc; + UPB_ASSERT((alloc_uint & 1) == 0); + return alloc_uint | (has_initial ? 1 : 0); +} + +static bool _upb_ArenaInternal_HasInitialBlock(upb_ArenaInternal* ai) { + return ai->block_alloc & 0x1; +} + +#ifdef UPB_TRACING_ENABLED +static void (*_init_arena_trace_handler)(const upb_Arena*, size_t size) = NULL; +static void (*_fuse_arena_trace_handler)(const upb_Arena*, + const upb_Arena*) = NULL; +static void (*_free_arena_trace_handler)(const upb_Arena*) = NULL; + +void upb_Arena_SetTraceHandler( + void (*initArenaTraceHandler)(const upb_Arena*, size_t size), + void (*fuseArenaTraceHandler)(const upb_Arena*, const upb_Arena*), + void (*freeArenaTraceHandler)(const upb_Arena*)) { + _init_arena_trace_handler = initArenaTraceHandler; + _fuse_arena_trace_handler = fuseArenaTraceHandler; + _free_arena_trace_handler = freeArenaTraceHandler; +} + +void upb_Arena_LogInit(const upb_Arena* arena, size_t size) { + if (_init_arena_trace_handler) { + _init_arena_trace_handler(arena, size); + } +} +void upb_Arena_LogFuse(const upb_Arena* arena1, const upb_Arena* arena2) { + if (_fuse_arena_trace_handler) { + _fuse_arena_trace_handler(arena1, arena2); + } +} +void upb_Arena_LogFree(const upb_Arena* arena) { + if (_free_arena_trace_handler) { + _free_arena_trace_handler(arena); + } +} +#endif // UPB_TRACING_ENABLED + +// If the param a is already the root, provides no memory order of refcount. +// If it has a parent, then acquire memory order is provided for both the root +// and the refcount. Thread safe. +static upb_ArenaRoot _upb_Arena_FindRoot(upb_ArenaInternal* ai) { + uintptr_t poc = upb_Atomic_Load(&ai->parent_or_count, memory_order_relaxed); + if (_upb_Arena_IsTaggedRefcount(poc)) { + // Fast, relaxed path - arenas that have never been fused to a parent only + // need relaxed memory order, since they're returning themselves and the + // refcount. + return (upb_ArenaRoot){.root = ai, .tagged_count = poc}; + } + // Slow path needs acquire order; reloading is cheaper than a fence on ARM + // (LDA vs DMB ISH). Even though this is a reread, we know it must be a tagged + // pointer because if this Arena isn't a root, it can't ever become one. + poc = upb_Atomic_Load(&ai->parent_or_count, memory_order_acquire); + do { + upb_ArenaInternal* next = _upb_Arena_PointerFromTagged(poc); + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(next)); + UPB_ASSERT(ai != next); + poc = upb_Atomic_Load(&next->parent_or_count, memory_order_acquire); + + if (_upb_Arena_IsTaggedPointer(poc)) { + // To keep complexity down, we lazily collapse levels of the tree. This + // keeps it flat in the final case, but doesn't cost much incrementally. + // + // Path splitting keeps time complexity down, see: + // https://en.wikipedia.org/wiki/Disjoint-set_data_structure + UPB_ASSERT(ai != _upb_Arena_PointerFromTagged(poc)); + upb_Atomic_Store(&ai->parent_or_count, poc, memory_order_release); + } + ai = next; + } while (_upb_Arena_IsTaggedPointer(poc)); + return (upb_ArenaRoot){.root = ai, .tagged_count = poc}; +} + +uintptr_t upb_Arena_SpaceAllocated(const upb_Arena* arena, + size_t* fused_count) { + upb_ArenaInternal* ai = upb_Arena_Internal(arena); + uintptr_t memsize = 0; + size_t local_fused_count = 0; + // Our root would get updated by any racing fuses before our target arena + // became reachable from the root via the linked list; in order to preserve + // monotonic output (any arena counted by a previous invocation is counted by + // this one), we instead iterate forwards and backwards so that we only see + // the results of completed fuses. + uintptr_t previous_or_tail = + upb_Atomic_Load(&ai->previous_or_tail, memory_order_acquire); + while (_upb_Arena_IsTaggedPrevious(previous_or_tail)) { + upb_ArenaInternal* previous = + _upb_Arena_PreviousFromTagged(previous_or_tail); + UPB_ASSERT(previous != ai); + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(previous)); + // Unfortunate macro behavior; prior to C11 when using nonstandard atomics + // this returns a void* and can't be used with += without an intermediate + // conversion to an integer. + // Relaxed is safe - no subsequent reads depend this one + uintptr_t allocated = + upb_Atomic_Load(&previous->space_allocated, memory_order_relaxed); + memsize += allocated; + previous_or_tail = + upb_Atomic_Load(&previous->previous_or_tail, memory_order_acquire); + local_fused_count++; + } + while (ai != NULL) { + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(ai)); + // Unfortunate macro behavior; prior to C11 when using nonstandard atomics + // this returns a void* and can't be used with += without an intermediate + // conversion to an integer. + // Relaxed is safe - no subsequent reads depend this one + uintptr_t allocated = + upb_Atomic_Load(&ai->space_allocated, memory_order_relaxed); + memsize += allocated; + ai = upb_Atomic_Load(&ai->next, memory_order_acquire); + local_fused_count++; + } + + if (fused_count) *fused_count = local_fused_count; + return memsize; +} + +uint32_t upb_Arena_DebugRefCount(const upb_Arena* a) { + uintptr_t tagged = _upb_Arena_FindRoot(upb_Arena_Internal(a)).tagged_count; + return (uint32_t)_upb_Arena_RefCountFromTagged(tagged); +} + +#if UPB_ENABLE_REF_CYCLE_CHECKS + +bool upb_Arena_HasRefChain(const upb_Arena* from, const upb_Arena* to) { + upb_ArenaInternal* ai = upb_Arena_Internal(from); + upb_ArenaInternal* current; + + if (upb_Arena_IsFused(from, to)) return true; + + // 1. Traverse backward to the start of a consistent segment. + uintptr_t previous_or_tail = + upb_Atomic_Load(&ai->previous_or_tail, memory_order_acquire); + while (_upb_Arena_IsTaggedPrevious(previous_or_tail)) { + ai = _upb_Arena_PreviousFromTagged(previous_or_tail); + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(ai)); + previous_or_tail = + upb_Atomic_Load(&ai->previous_or_tail, memory_order_acquire); + } + + // 2. Traverse forward through all arenas in the fuse group. + current = ai; + while (current != NULL) { + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(current)); + const upb_ArenaRef* ref = + upb_Atomic_Load(¤t->refs, memory_order_acquire); + while (ref != NULL) { + if (ref->arena == to || upb_Arena_HasRefChain(ref->arena, to)) { + return true; + } + ref = ref->next_ref; + } + current = upb_Atomic_Load(¤t->next, memory_order_acquire); + } + return false; +} + +#endif + +static void* _upb_Arena_AllocBlockInternal(upb_alloc* alloc, size_t* size) { + size_t sz = *size + kUpb_MemblockReserve; + upb_SizedPtr alloc_result = upb_SizeReturningMalloc(alloc, sz); + if (!alloc_result.p) return NULL; + upb_MemBlock* block = alloc_result.p; + block->size = alloc_result.n; + *size = alloc_result.n - kUpb_MemblockReserve; + return UPB_PTR_AT(block, kUpb_MemblockReserve, void); +} + +void* UPB_PRIVATE(_upb_Arena_AllocBlock)(upb_Arena* a, size_t* size) { + upb_ArenaInternal* ai = upb_Arena_Internal(a); +#if UPB_HWASAN + *size = UPB_ALIGN_UP(*size, UPB_MALLOC_ALIGN); +#endif + void* ret = + _upb_Arena_AllocBlockInternal(_upb_ArenaInternal_BlockAlloc(ai), size); +#if UPB_HWASAN + if (ret) *size = UPB_ALIGN_DOWN(*size, UPB_MALLOC_ALIGN); +#endif + return ret; +} + +void UPB_PRIVATE(_upb_Arena_AddBlock)(upb_Arena* a, void* block) { + upb_MemBlock* b = (upb_MemBlock*)((char*)block - kUpb_MemblockReserve); + upb_ArenaInternal* ai = upb_Arena_Internal(a); + + // Atomic add not required here, as threads won't race allocating blocks, plus + // atomic fetch-add is slower than load/add/store on arm devices compiled + // targeting pre-v8.1. Relaxed order is safe as nothing depends on order of + // size allocated. + uintptr_t old_space_allocated = + upb_Atomic_Load(&ai->space_allocated, memory_order_relaxed); + upb_Atomic_Store(&ai->space_allocated, old_space_allocated + b->size, + memory_order_relaxed); + + b->next = ai->blocks; + ai->blocks = b; +} + +void UPB_PRIVATE(_upb_Arena_UseBlock)(upb_Arena* a, void* ptr, size_t size) { + UPB_ASSERT(UPB_ALIGN_DOWN((uintptr_t)ptr, UPB_MALLOC_ALIGN) == + (uintptr_t)ptr); +#if UPB_HWASAN + size = UPB_ALIGN_DOWN(size, UPB_MALLOC_ALIGN); +#endif + if (size <= UPB_PRIVATE(_upb_ArenaHas)(a)) return; + a->UPB_ONLYBITS(ptr) = ptr; + a->UPB_ONLYBITS(end) = UPB_PTR_AT(ptr, size, char); + UPB_PRIVATE(upb_Xsan_PoisonRegion)(ptr, size); +} + +static bool _upb_Arena_WouldReduceFreeSpace(upb_Arena* a, size_t span, + size_t block_size) { + upb_ArenaInternal* ai = upb_Arena_Internal(a); + size_t current_free = + ai->blocks ? a->UPB_PRIVATE(end) - a->UPB_PRIVATE(ptr) : 0; + size_t future_free = block_size - span; + return current_free >= future_free; +} + +size_t UPB_PRIVATE(_upb_Arena_NextBlockSize)(upb_Arena* a, size_t span, + bool* one_off) { + upb_ArenaInternal* ai = upb_Arena_Internal(a); + bool is_one_off = false; + + size_t max_block_size = + upb_Atomic_Load(&g_max_block_size, memory_order_relaxed); + size_t block_size = UPB_MIN(ai->last_block_size * 2, max_block_size); + + if (span > block_size) { + block_size = UPB_MIN(ai->size_hint * 2, max_block_size); + if (span > block_size) { + is_one_off = true; + } + } + + is_one_off = + is_one_off || _upb_Arena_WouldReduceFreeSpace(a, span, block_size); + + if (is_one_off) { + block_size = span; + } + + if (one_off) *one_off = is_one_off; + return block_size; +} + +void UPB_PRIVATE(_upb_Arena_UpdateGrowthState)(upb_Arena* a, size_t span, + size_t block_size, + bool one_off) { + upb_ArenaInternal* ai = upb_Arena_Internal(a); + size_t max_block_size = + upb_Atomic_Load(&g_max_block_size, memory_order_relaxed); + if (one_off) { + ai->size_hint = UPB_MIN(ai->size_hint + (span >> 1), max_block_size >> 1); + } else { + ai->last_block_size = UPB_MIN(block_size, UINT32_MAX); + ai->size_hint = ai->last_block_size; + } +} + +// Fulfills the allocation request by allocating a new block. Returns NULL on +// allocation failure. +void* UPB_PRIVATE(_upb_Arena_SlowMalloc)(upb_Arena* a, size_t span) { + upb_ArenaInternal* ai = upb_Arena_Internal(a); + if (!_upb_ArenaInternal_BlockAlloc(ai)) return NULL; + + bool one_off = false; + size_t block_size = UPB_PRIVATE(_upb_Arena_NextBlockSize)(a, span, &one_off); + + void* block = UPB_PRIVATE(_upb_Arena_AllocBlock)(a, &block_size); + if (!block) return NULL; + UPB_PRIVATE(_upb_Arena_AddBlock)(a, block); + size_t size = span - UPB_PRIVATE(kUpb_Asan_GuardSize); + + // Recheck size, in case the allocator gave us a much larger block than we + // requested and we want to make it the new allocating region. + if (one_off && !_upb_Arena_WouldReduceFreeSpace(a, span, block_size)) { + one_off = false; + } + + UPB_PRIVATE(_upb_Arena_UpdateGrowthState)(a, span, block_size, one_off); + + if (one_off) { + UPB_PRIVATE(upb_Xsan_PoisonRegion)(UPB_PTR_AT(block, size, void), + block_size - size); + return block; + } else { + UPB_PRIVATE(_upb_Arena_UseBlock)(a, block, block_size); + UPB_ASSERT(UPB_PRIVATE(_upb_ArenaHas)(a) >= span); + return upb_Arena_Malloc(a, size); + } +} + +static upb_Arena* _upb_Arena_InitSlow(upb_alloc* alloc, size_t first_size) { + if (!alloc) return NULL; + + // We need to malloc the initial block. + size_t block_size = kUpb_ArenaStateReserve + + UPB_MAX(256, UPB_ALIGN_MALLOC(first_size) + + UPB_PRIVATE(kUpb_Asan_GuardSize)); + void* block = _upb_Arena_AllocBlockInternal(alloc, &block_size); + if (!block) return NULL; + + // Initialize the arena state in the first block. We "borrow" the memory from + // the block, because we can't yet call upb_Arena_Malloc. + upb_ArenaState* a = block; + a->body.block_alloc = _upb_Arena_MakeBlockAlloc(alloc, 0); + a->body.last_block_size = UPB_MIN(block_size, UINT32_MAX); + a->body.size_hint = UPB_MIN(block_size, UINT32_MAX); + a->head.UPB_ONLYBITS(ptr) = NULL; + a->head.UPB_ONLYBITS(end) = NULL; + + upb_Atomic_Init(&a->body.parent_or_count, _upb_Arena_TaggedFromRefcount(1)); + upb_Atomic_Init(&a->body.next, NULL); + upb_Atomic_Init(&a->body.previous_or_tail, + _upb_Arena_TaggedFromTail(&a->body)); + upb_Atomic_Init(&a->body.space_allocated, 0); + a->body.blocks = NULL; +#ifndef NDEBUG + a->body.refs = NULL; +#endif + a->body.upb_alloc_cleanup = NULL; + UPB_PRIVATE(upb_Xsan_Init)(UPB_XSAN(&a->body)); + + UPB_PRIVATE(_upb_Arena_AddBlock)(&a->head, block); + + block = UPB_PTR_AT(block, kUpb_ArenaStateReserve, void); + block_size -= kUpb_ArenaStateReserve; + UPB_PRIVATE(_upb_Arena_UseBlock)(&a->head, block, block_size); + + return &a->head; +} + +upb_Arena* upb_Arena_Init(void* mem, size_t n, upb_alloc* alloc) { + UPB_STATIC_ASSERT(UPB_ARENA_SIZE_HACK >= sizeof(upb_ArenaState), + "Need to update UPB_ARENA_SIZE_HACK"); + upb_ArenaState* a; + + if (mem) { + /* Align initial pointer up so that we return properly-aligned pointers. */ + void* aligned = (void*)UPB_ALIGN_MALLOC((uintptr_t)mem); + size_t delta = (uintptr_t)aligned - (uintptr_t)mem; + n = delta <= n ? n - delta : 0; + mem = aligned; + } + if (UPB_UNLIKELY(n < sizeof(upb_ArenaState) || !mem)) { + upb_Arena* ret = _upb_Arena_InitSlow(alloc, mem ? 0 : n); +#ifdef UPB_TRACING_ENABLED + upb_Arena_LogInit(ret, n); +#endif + return ret; + } + + a = mem; + + upb_Atomic_Init(&a->body.parent_or_count, _upb_Arena_TaggedFromRefcount(1)); + upb_Atomic_Init(&a->body.next, NULL); + upb_Atomic_Init(&a->body.previous_or_tail, + _upb_Arena_TaggedFromTail(&a->body)); + upb_Atomic_Init(&a->body.space_allocated, 0); + a->body.blocks = NULL; +#ifndef NDEBUG + a->body.refs = NULL; +#endif + a->body.size_hint = 128; + a->body.last_block_size = 128; + a->body.upb_alloc_cleanup = NULL; + a->body.block_alloc = _upb_Arena_MakeBlockAlloc(alloc, 1); + a->head.UPB_PRIVATE(ptr) = (void*)UPB_ALIGN_MALLOC((uintptr_t)(a + 1)); + a->head.UPB_PRIVATE(end) = UPB_PTR_AT(mem, n, char); + UPB_PRIVATE(upb_Xsan_Init)(UPB_XSAN(&a->body)); +#ifdef UPB_TRACING_ENABLED + upb_Arena_LogInit(&a->head, n); +#endif + return &a->head; +} + +static void _upb_Arena_DoFree(upb_ArenaInternal* ai) { + UPB_ASSERT(_upb_Arena_RefCountFromTagged(ai->parent_or_count) == 1); + while (ai != NULL) { + UPB_PRIVATE(upb_Xsan_AccessReadWrite)(UPB_XSAN(ai)); + // Load first since arena itself is likely from one of its blocks. Relaxed + // order is safe because fused arena ordering is provided by the reference + // count, and fuse is not permitted to race with the final decrement. + upb_ArenaInternal* next_arena = + (upb_ArenaInternal*)upb_Atomic_Load(&ai->next, memory_order_relaxed); + // Freeing may have memory barriers that confuse tsan, so assert immediately + // after load here + if (next_arena) { + UPB_PRIVATE(upb_Xsan_AccessReadWrite)(UPB_XSAN(next_arena)); + } + upb_alloc* block_alloc = _upb_ArenaInternal_BlockAlloc(ai); + upb_MemBlock* block = ai->blocks; + upb_AllocCleanupFunc* alloc_cleanup = ai->upb_alloc_cleanup; + while (block != NULL) { + // Load first since we are deleting block. + upb_MemBlock* next_block = block->next; + if (block->size == 0) { + // If the block is an arena ref, then we need to release our ref on the + // referenced arena. + upb_ArenaRef* ref = (upb_ArenaRef*)block; + upb_Arena_DecRefFor((upb_Arena*)ref->arena, ai); + } else { + upb_free_sized(block_alloc, block, block->size); + } + block = next_block; + } + if (alloc_cleanup != NULL) { + alloc_cleanup(block_alloc); + } + ai = next_arena; + } +} + +void upb_Arena_Free(upb_Arena* a) { + upb_ArenaInternal* ai = upb_Arena_Internal(a); + // Cannot be replaced with _upb_Arena_FindRoot, as that provides only a + // relaxed read of the refcount if ai is already the root. + uintptr_t poc = upb_Atomic_Load(&ai->parent_or_count, memory_order_acquire); +retry: + while (_upb_Arena_IsTaggedPointer(poc)) { + ai = _upb_Arena_PointerFromTagged(poc); + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(ai)); + poc = upb_Atomic_Load(&ai->parent_or_count, memory_order_acquire); + } + + // compare_exchange or fetch_sub are RMW operations, which are more + // expensive then direct loads. As an optimization, we only do RMW ops + // when we need to update things for other threads to see. + if (poc == _upb_Arena_TaggedFromRefcount(1)) { +#ifdef UPB_TRACING_ENABLED + upb_Arena_LogFree(a); +#endif + _upb_Arena_DoFree(ai); + return; + } + + if (upb_Atomic_CompareExchangeWeak( + &ai->parent_or_count, &poc, + _upb_Arena_TaggedFromRefcount(_upb_Arena_RefCountFromTagged(poc) - 1), + memory_order_release, memory_order_acquire)) { + // We were >1 and we decremented it successfully, so we are done. + return; + } + + // We failed our update, so someone has done something, retry the whole + // process, but the failed exchange reloaded `poc` for us. + goto retry; +} + +// Logically performs the following operation, in a way that is safe against +// racing fuses: +// ret = TAIL(parent) +// ret->next = child +// return ret +// +// The caller is therefore guaranteed that ret->next == child. +static upb_ArenaInternal* _upb_Arena_LinkForward( + upb_ArenaInternal* const parent, upb_ArenaInternal* child) { + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(parent)); + uintptr_t parent_previous_or_tail = + upb_Atomic_Load(&parent->previous_or_tail, memory_order_acquire); + + // Optimization: use parent->previous_or_tail to skip to TAIL(parent) in O(1) + // time when possible. This is the common case because we just fused into + // parent, suggesting that it should be a root with a cached tail. + // + // However, if there was a racing fuse, parent may no longer be a root, in + // which case we need to walk the entire list to find the tail. The tail + // pointer is also not guaranteed to be the true tail, so even when the + // optimization is taken, we still need to walk list nodes to find the true + // tail. + upb_ArenaInternal* parent_tail = + _upb_Arena_IsTaggedTail(parent_previous_or_tail) + ? _upb_Arena_TailFromTagged(parent_previous_or_tail) + : parent; + + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(parent_tail)); + upb_ArenaInternal* parent_tail_next = + upb_Atomic_Load(&parent_tail->next, memory_order_acquire); + + do { + // Walk the list to find the true tail (a node with next == NULL). + while (parent_tail_next != NULL) { + parent_tail = parent_tail_next; + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(parent_tail)); + parent_tail_next = + upb_Atomic_Load(&parent_tail->next, memory_order_acquire); + } + } while (!upb_Atomic_CompareExchangeWeak( // Replace a NULL next with child. + &parent_tail->next, &parent_tail_next, child, memory_order_release, + memory_order_acquire)); + + return parent_tail; +} + +// Updates parent->previous_or_tail = child->previous_or_tail in hopes that the +// latter represents the true tail of the newly-combined list. +// +// This is a best-effort operation that may set the tail to a stale value, and +// may fail to update the tail at all. +void _upb_Arena_UpdateParentTail(upb_ArenaInternal* parent, + upb_ArenaInternal* child) { + // We are guaranteed that child->previous_or_tail is tagged, because we have + // just transitioned child from root -> non-root, which is an exclusive + // operation that can only happen once. So we are the exclusive updater of + // child->previous_or_tail that can transition it from tagged to untagged. + // + // However, we are not guaranteed that child->previous_or_tail is the true + // tail. A racing fuse may have appended to child's list but not yet updated + // child->previous_or_tail. + uintptr_t child_previous_or_tail = + upb_Atomic_Load(&child->previous_or_tail, memory_order_acquire); + upb_ArenaInternal* new_parent_tail = + _upb_Arena_TailFromTagged(child_previous_or_tail); + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(new_parent_tail)); + + // If another thread fused with parent, such that it is no longer a root, + // don't overwrite their previous pointer with our tail. Relaxed order is fine + // here as we only inspect the tag bit. + uintptr_t parent_previous_or_tail = + upb_Atomic_Load(&parent->previous_or_tail, memory_order_relaxed); + if (_upb_Arena_IsTaggedTail(parent_previous_or_tail)) { + upb_Atomic_CompareExchangeStrong( + &parent->previous_or_tail, &parent_previous_or_tail, + _upb_Arena_TaggedFromTail(new_parent_tail), memory_order_release, + memory_order_relaxed); + } +} + +static void _upb_Arena_LinkBackward(upb_ArenaInternal* child, + upb_ArenaInternal* old_parent_tail) { + // Link child to parent going backwards, for SpaceAllocated. This transitions + // child->previous_or_tail from tail (tagged) to previous (untagged), after + // which its value is immutable. + // + // - We are guaranteed that no other threads are also attempting to perform + // this transition (tail -> previous), because we just updated + // old_parent_tail->next from NULL to non-NULL, an exclusive operation that + // can only happen once. + // + // - _upb_Arena_UpdateParentTail() uses CAS to ensure that it + // does not perform the reverse transition (previous -> tail). + // + // - We are guaranteed that old_parent_tail is the correct "previous" pointer, + // even in the presence of racing fuses that are adding more nodes to the + // list, because _upb_Arena_LinkForward() guarantees that: + // old_parent_tail->next == child. + upb_Atomic_Store(&child->previous_or_tail, + _upb_Arena_TaggedFromPrevious(old_parent_tail), + memory_order_release); +} + +static void _upb_Arena_DoFuseArenaLists(upb_ArenaInternal* const parent, + upb_ArenaInternal* child) { + upb_ArenaInternal* old_parent_tail = _upb_Arena_LinkForward(parent, child); + _upb_Arena_UpdateParentTail(parent, child); + _upb_Arena_LinkBackward(child, old_parent_tail); +} + +void upb_Arena_SetAllocCleanup(upb_Arena* a, upb_AllocCleanupFunc* func) { + UPB_PRIVATE(upb_Xsan_AccessReadWrite)(UPB_XSAN(a)); + upb_ArenaInternal* ai = upb_Arena_Internal(a); + UPB_ASSERT(ai->upb_alloc_cleanup == NULL); + ai->upb_alloc_cleanup = func; +} + +// Thread safe. +static upb_ArenaInternal* _upb_Arena_DoFuse(upb_ArenaInternal** ai1, + upb_ArenaInternal** ai2, + uintptr_t* ref_delta) { + // `parent_or_count` has two distinct modes + // - parent pointer mode + // - refcount mode + // + // In parent pointer mode, it may change what pointer it refers to in the + // tree, but it will always approach a root. Any operation that walks the + // tree to the root may collapse levels of the tree concurrently. + upb_ArenaRoot r1 = _upb_Arena_FindRoot(*ai1); + upb_ArenaRoot r2 = _upb_Arena_FindRoot(*ai2); + + if (r1.root == r2.root) return r1.root; // Already fused. + + *ai1 = r1.root; + *ai2 = r2.root; + + // Avoid cycles by always fusing into the root with the lower address. + if ((uintptr_t)r1.root > (uintptr_t)r2.root) { + upb_ArenaRoot tmp = r1; + r1 = r2; + r2 = tmp; + } + + // The moment we install `r1` as the parent for `r2` all racing frees may + // immediately begin decrementing `r1`'s refcount (including pending + // increments to that refcount and their frees!). We need to add `r2`'s refs + // now, so that `r1` can withstand any unrefs that come from r2. + // + // Note that while it is possible for `r2`'s refcount to increase + // asynchronously, we will not actually do the reparenting operation below + // unless `r2`'s refcount is unchanged from when we read it. + // + // Note that we may have done this previously, either to this node or a + // different node, during a previous and failed DoFuse() attempt. But we will + // not lose track of these refs because we always add them to our overall + // delta. + uintptr_t r2_untagged_count = r2.tagged_count & ~1; + uintptr_t with_r2_refs = r1.tagged_count + r2_untagged_count; + if (!upb_Atomic_CompareExchangeStrong( + &r1.root->parent_or_count, &r1.tagged_count, with_r2_refs, + memory_order_release, memory_order_acquire)) { + return NULL; + } + + // Perform the actual fuse by removing the refs from `r2` and swapping in the + // parent pointer. + if (!upb_Atomic_CompareExchangeStrong( + &r2.root->parent_or_count, &r2.tagged_count, + _upb_Arena_TaggedFromPointer(r1.root), memory_order_release, + memory_order_acquire)) { + // We'll need to remove the excess refs we added to r1 previously. + *ref_delta += r2_untagged_count; + return NULL; + } + + // Now that the fuse has been performed (and can no longer fail) we need to + // append `r2` to `r1`'s linked list. + _upb_Arena_DoFuseArenaLists(r1.root, r2.root); + return r1.root; +} + +// Thread safe. +static bool _upb_Arena_FixupRefs(upb_ArenaInternal* new_root, + uintptr_t ref_delta) { + if (ref_delta == 0) return true; // No fixup required. + // Relaxed order is safe here as if the value is a pointer, we don't deref it + // or publish it anywhere else. The refcount does provide memory order + // between allocations on arenas and the eventual free and thus normally + // requires acquire/release; but in this case any edges provided by the refs + // we are cleaning up were already provided by the fuse operation itself. It's + // not valid for a decrement that could cause the overall fused arena to reach + // a zero refcount to race with this function, as that could result in a + // use-after-free anyway. + uintptr_t poc = + upb_Atomic_Load(&new_root->parent_or_count, memory_order_relaxed); + if (_upb_Arena_IsTaggedPointer(poc)) return false; + uintptr_t with_refs = poc - ref_delta; + UPB_ASSERT(!_upb_Arena_IsTaggedPointer(with_refs)); + // Relaxed order on success is safe here, for the same reasons as the relaxed + // read above. Relaxed order is safe on failure because the updated value is + // stored in a local variable which goes immediately out of scope; the retry + // loop will reread what it needs with proper memory order. + return upb_Atomic_CompareExchangeStrong(&new_root->parent_or_count, &poc, + with_refs, memory_order_relaxed, + memory_order_relaxed); +} + +bool upb_Arena_Fuse(const upb_Arena* a1, const upb_Arena* a2) { + if (a1 == a2) return true; // trivial fuse + +#ifdef UPB_TRACING_ENABLED + upb_Arena_LogFuse(a1, a2); +#endif + + upb_ArenaInternal* ai1 = upb_Arena_Internal(a1); + upb_ArenaInternal* ai2 = upb_Arena_Internal(a2); + + // Do not fuse initial blocks since we cannot lifetime extend them. + // Any other fuse scenario is allowed. + if (_upb_ArenaInternal_HasInitialBlock(ai1) || + _upb_ArenaInternal_HasInitialBlock(ai2)) { + return false; + } + + // The number of refs we ultimately need to transfer to the new root. + uintptr_t ref_delta = 0; + while (true) { + upb_ArenaInternal* new_root = _upb_Arena_DoFuse(&ai1, &ai2, &ref_delta); + if (new_root != NULL && _upb_Arena_FixupRefs(new_root, ref_delta)) { +#if UPB_ENABLE_REF_CYCLE_CHECKS + UPB_ASSERT(!upb_Arena_HasRefChain(a1, a2)); +#endif + return true; + } + } +} + +bool upb_Arena_IsFused(const upb_Arena* a, const upb_Arena* b) { + if (a == b) return true; // trivial fuse + upb_ArenaInternal* ra = _upb_Arena_FindRoot(upb_Arena_Internal(a)).root; + upb_ArenaInternal* rb = upb_Arena_Internal(b); + while (true) { + rb = _upb_Arena_FindRoot(rb).root; + if (ra == rb) return true; + upb_ArenaInternal* tmp = _upb_Arena_FindRoot(ra).root; + if (ra == tmp) return false; + // a's root changed since we last checked. Retry. + ra = tmp; + } +} + +bool upb_Arena_IncRefFor(const upb_Arena* a, const void* owner) { + upb_ArenaInternal* ai = upb_Arena_Internal(a); + if (_upb_ArenaInternal_HasInitialBlock(ai)) return false; + upb_ArenaRoot r; + r.root = ai; + +retry: + r = _upb_Arena_FindRoot(r.root); + if (upb_Atomic_CompareExchangeWeak( + &r.root->parent_or_count, &r.tagged_count, + _upb_Arena_TaggedFromRefcount( + _upb_Arena_RefCountFromTagged(r.tagged_count) + 1), + // Relaxed order is safe on success, incrementing the refcount + // need not perform any synchronization with the eventual free of the + // arena - that's provided by decrements. + memory_order_relaxed, + // Relaxed order is safe on failure as r.tagged_count is immediately + // overwritten by retrying the find root operation. + memory_order_relaxed)) { + // We incremented it successfully, so we are done. + return true; + } + // We failed update due to parent switching on the arena. + goto retry; +} + +void upb_Arena_DecRefFor(const upb_Arena* a, const void* owner) { + upb_Arena_Free((upb_Arena*)a); +} + +bool upb_Arena_RefArena(upb_Arena* from, const upb_Arena* to) { + UPB_ASSERT(!upb_Arena_IsFused(from, to)); + if (_upb_ArenaInternal_HasInitialBlock(upb_Arena_Internal(to))) { + // We can't increment a ref to `to`, so return early. + return false; + } + + upb_ArenaInternal* ai = upb_Arena_Internal(from); + upb_ArenaRef* ref = upb_Arena_Malloc(from, kUpb_ArenaRefReserve); + + if (!ref) { + return false; + } + + // When 'from' is freed, a ref on 'to' will be released. + // Intentionally ignore return value, since we already check up above if this + // call will succeed. + bool result = upb_Arena_IncRefFor(to, from); + UPB_ASSERT(result); + + // When we add a reference from `from` to `to`, we need to keep track of the + // ref in the `from` arena's linked list of refs. This allows us to + // walk all refs for `from` when `from` is freed, and thus allows us to + // decrement the refcount on `to` when `from` is freed. + ref->prefix.next = ai->blocks; + ref->prefix.size = 0; + ref->arena = to; + ai->blocks = (upb_MemBlock*)ref; + +#ifndef NDEBUG + // Add to the dedicated list of refs. + // This function is not thread-safe from `from`, so a simple load/store is + // sufficient. + ref->next_ref = upb_Atomic_Load(&ai->refs, memory_order_relaxed); + upb_Atomic_Store(&ai->refs, ref, memory_order_release); +#endif + +#if UPB_ENABLE_REF_CYCLE_CHECKS + UPB_ASSERT(!upb_Arena_HasRefChain(to, from)); // Forbid cycles. +#endif + + return true; +} + +#ifndef NDEBUG +bool upb_Arena_HasRef(const upb_Arena* from, const upb_Arena* to) { + const upb_ArenaInternal* ai = upb_Arena_Internal(from); + const upb_ArenaRef* ref = upb_Atomic_Load(&ai->refs, memory_order_acquire); + while (ref != NULL) { + if (upb_Arena_IsFused(ref->arena, to)) { + return true; + } + ref = ref->next_ref; + } + return false; +} +#endif + +upb_alloc* upb_Arena_GetUpbAlloc(upb_Arena* a) { + UPB_PRIVATE(upb_Xsan_AccessReadOnly)(UPB_XSAN(a)); + upb_ArenaInternal* ai = upb_Arena_Internal(a); + return _upb_ArenaInternal_BlockAlloc(ai); +} + +void UPB_PRIVATE(_upb_Arena_SwapIn)(upb_Arena* des, const upb_Arena* src) { + memcpy(des, src, offsetof(upb_ArenaState, body.space_allocated)); + upb_ArenaInternal* desi = upb_Arena_Internal(des); + upb_ArenaInternal* srci = upb_Arena_Internal(src); + uintptr_t new_space_allocated = + upb_Atomic_Load(&srci->space_allocated, memory_order_relaxed); + upb_Atomic_Store(&desi->space_allocated, new_space_allocated, + memory_order_relaxed); +} + +void UPB_PRIVATE(_upb_Arena_SwapOut)(upb_Arena* des, const upb_Arena* src) { + UPB_PRIVATE(_upb_Arena_SwapIn)(des, src); +} + +bool _upb_Arena_WasLastAllocFromPreviousBlock(struct upb_Arena* a, void* ptr, + size_t oldsize) { + upb_ArenaInternal* ai = upb_Arena_Internal(a); + upb_MemBlock* block = ai->blocks; + // Skip any arena refs. + while (block != NULL && block->size == 0) { + block = block->next; + } + if (block == NULL) return false; + char* start = UPB_PTR_AT(block, kUpb_MemblockReserve, char); + + // We don't actually track the final pointer value, so we can only check that + // the span is within the previous block. + return UPB_PRIVATE(upb_Xsan_PtrEq)(ptr, start) && + UPB_PRIVATE(_upb_Arena_AllocSpan)(oldsize) == + block->size - kUpb_MemblockReserve; +} + +void* UPB_PRIVATE(_upb_Arena_Steal)(struct upb_Arena* a, size_t* size) { + UPB_PRIVATE(upb_Xsan_AccessReadWrite)(UPB_XSAN(a)); + size_t have = UPB_PRIVATE(_upb_ArenaHas)(a); + if (have < *size) return NULL; + + *size = have; + void* ptr = a->UPB_ONLYBITS(ptr); + a->UPB_ONLYBITS(ptr) += have; + + return UPB_PRIVATE(upb_Xsan_NewUnpoisonedRegion)(UPB_XSAN(a), ptr, have); +} + +// Frees a block previously allocated with _upb_Arena_AllocBlock. +void UPB_PRIVATE(_upb_Arena_FreeBlock)(upb_Arena* a, void* block) { + UPB_PRIVATE(upb_Xsan_AccessReadWrite)(UPB_XSAN(a)); + upb_MemBlock* b = + UPB_PTR_AT(block, -(ptrdiff_t)kUpb_MemblockReserve, upb_MemBlock); + upb_alloc* alloc = upb_Arena_GetUpbAlloc(a); + upb_free_sized(alloc, b, b->size); +} + + +#include +#include + + +// Must be last. + + +#ifdef __cplusplus +extern "C" { +#endif + +bool upb_Message_IsEmpty(const upb_Message* msg, const upb_MiniTable* m) { + if (upb_Message_ExtensionCount(msg)) return false; + + const upb_MiniTableField* f; + upb_MessageValue v; + size_t iter = kUpb_BaseField_Begin; + return !UPB_PRIVATE(_upb_Message_NextBaseField)(msg, m, &f, &v, &iter); +} + +static bool _upb_Array_IsEqual(const upb_Array* arr1, const upb_Array* arr2, + upb_CType ctype, const upb_MiniTable* m, + int options) { + // Check for trivial equality. + if (arr1 == arr2) return true; + + // Must have identical element counts. + const size_t size1 = arr1 ? upb_Array_Size(arr1) : 0; + const size_t size2 = arr2 ? upb_Array_Size(arr2) : 0; + if (size1 != size2) return false; + + for (size_t i = 0; i < size1; i++) { + const upb_MessageValue val1 = upb_Array_Get(arr1, i); + const upb_MessageValue val2 = upb_Array_Get(arr2, i); + + if (!upb_MessageValue_IsEqual(val1, val2, ctype, m, options)) return false; + } + + return true; +} + +static bool _upb_Map_IsEqual(const upb_Map* map1, const upb_Map* map2, + const upb_MiniTable* m, int options) { + // Check for trivial equality. + if (map1 == map2) return true; + + // Must have identical element counts. + size_t size1 = map1 ? upb_Map_Size(map1) : 0; + size_t size2 = map2 ? upb_Map_Size(map2) : 0; + if (size1 != size2) return false; + + const upb_MiniTableField* f = upb_MiniTable_MapValue(m); + const upb_MiniTable* m2_value = upb_MiniTable_SubMessage(f); + const upb_CType ctype = upb_MiniTableField_CType(f); + + upb_MessageValue key, val1, val2; + size_t iter = kUpb_Map_Begin; + while (upb_Map_Next(map1, &key, &val1, &iter)) { + if (!upb_Map_Get(map2, key, &val2)) return false; + if (!upb_MessageValue_IsEqual(val1, val2, ctype, m2_value, options)) + return false; + } + + return true; +} + +static bool _upb_Message_BaseFieldsAreEqual(const upb_Message* msg1, + const upb_Message* msg2, + const upb_MiniTable* m, + int options) { + // Iterate over all base fields for each message. + // The order will always match if the messages are equal. + size_t iter1 = kUpb_BaseField_Begin; + size_t iter2 = kUpb_BaseField_Begin; + + for (;;) { + const upb_MiniTableField *f1, *f2; + upb_MessageValue val1, val2; + + const bool got1 = + UPB_PRIVATE(_upb_Message_NextBaseField)(msg1, m, &f1, &val1, &iter1); + const bool got2 = + UPB_PRIVATE(_upb_Message_NextBaseField)(msg2, m, &f2, &val2, &iter2); + + if (got1 != got2) return false; // Must have identical field counts. + if (!got1) return true; // Loop termination condition. + if (f1 != f2) return false; // Must have identical fields set. + + const upb_MiniTable* subm = upb_MiniTable_SubMessage(f1); + const upb_CType ctype = upb_MiniTableField_CType(f1); + + bool eq; + switch (UPB_PRIVATE(_upb_MiniTableField_Mode)(f1)) { + case kUpb_FieldMode_Array: + eq = _upb_Array_IsEqual(val1.array_val, val2.array_val, ctype, subm, + options); + break; + case kUpb_FieldMode_Map: + eq = _upb_Map_IsEqual(val1.map_val, val2.map_val, subm, options); + break; + case kUpb_FieldMode_Scalar: + eq = upb_MessageValue_IsEqual(val1, val2, ctype, subm, options); + break; + } + if (!eq) return false; + } +} + +static bool _upb_Message_ExtensionsAreEqual(const upb_Message* msg1, + const upb_Message* msg2, + const upb_MiniTable* m, + int options) { + const upb_MiniTableExtension* e; + upb_MessageValue val1; + + // Iterate over all extensions for msg1, and search msg2 for each extension. + size_t count1 = 0; + size_t iter1 = kUpb_Message_ExtensionBegin; + while (upb_Message_NextExtension(msg1, &e, &val1, &iter1)) { + const upb_Extension* ext2 = UPB_PRIVATE(_upb_Message_Getext)(msg2, e); + if (!ext2) return false; + + count1++; + + const upb_MessageValue val2 = ext2->data; + const upb_MiniTableField* f = &e->UPB_PRIVATE(field); + const upb_MiniTable* subm = upb_MiniTableField_IsSubMessage(f) + ? upb_MiniTableExtension_GetSubMessage(e) + : NULL; + const upb_CType ctype = upb_MiniTableField_CType(f); + + bool eq; + switch (UPB_PRIVATE(_upb_MiniTableField_Mode)(f)) { + case kUpb_FieldMode_Array: + eq = _upb_Array_IsEqual(val1.array_val, val2.array_val, ctype, subm, + options); + break; + case kUpb_FieldMode_Map: + UPB_UNREACHABLE(); // Maps cannot be extensions. + break; + case kUpb_FieldMode_Scalar: { + eq = upb_MessageValue_IsEqual(val1, val2, ctype, subm, options); + break; + } + } + if (!eq) return false; + } + + // Must have identical extension counts (this catches the case where msg2 + // has extensions that msg1 doesn't). + if (count1 != upb_Message_ExtensionCount(msg2)) return false; + + return true; +} + +bool upb_Message_IsEqual(const upb_Message* msg1, const upb_Message* msg2, + const upb_MiniTable* m, int options) { + if (UPB_UNLIKELY(msg1 == msg2)) return true; + + if (!_upb_Message_BaseFieldsAreEqual(msg1, msg2, m, options)) return false; + if (!_upb_Message_ExtensionsAreEqual(msg1, msg2, m, options)) return false; + + if (!(options & kUpb_CompareOption_IncludeUnknownFields)) return true; + + // The wire encoder enforces a maximum depth of 100 so we match that here. + return UPB_PRIVATE(_upb_Message_UnknownFieldsAreEqual)(msg1, msg2, 100) == + kUpb_UnknownCompareResult_Equal; +} + + +#include +#include + + +// Must be last. + +bool upb_Message_NextExtensionReverse(const upb_Message* msg, + const upb_MiniTableExtension** result, + uintptr_t* iter) { + upb_MessageValue val; + return UPB_PRIVATE(_upb_Message_NextExtensionReverse)(msg, result, &val, + iter); +} + +const upb_MiniTableExtension* upb_Message_FindExtensionByNumber( + const upb_Message* msg, uint32_t field_number) { + uintptr_t iter = kUpb_Message_ExtensionBegin; + const upb_MiniTableExtension* result; + while (upb_Message_NextExtensionReverse(msg, &result, &iter)) { + if (upb_MiniTableExtension_Number(result) == field_number) return result; + } + return NULL; +} + + +#include +#include + + +// Must be last. + +upb_Array* upb_Array_New(upb_Arena* a, upb_CType type) { + const int lg2 = UPB_PRIVATE(_upb_CType_SizeLg2)(type); + return UPB_PRIVATE(_upb_Array_New)(a, _UPB_ARRAY_DEFAULT_INITIAL_SIZE, lg2); +} + +upb_MessageValue upb_Array_Get(const upb_Array* arr, size_t i) { + UPB_ASSERT(i < upb_Array_Size(arr)); + upb_MessageValue ret; + const char* data = upb_Array_DataPtr(arr); + const int lg2 = UPB_PRIVATE(_upb_Array_ElemSizeLg2)(arr); + memcpy(&ret, data + (i << lg2), 1 << lg2); + return ret; +} + +upb_Message* upb_Array_GetMutable(upb_Array* arr, size_t i) { + UPB_ASSERT(i < upb_Array_Size(arr)); + size_t elem_size = sizeof(upb_Message*); + UPB_ASSERT(elem_size == (1 << UPB_PRIVATE(_upb_Array_ElemSizeLg2)(arr))); + char* data = upb_Array_MutableDataPtr(arr); + upb_Message* ret; + memcpy(&ret, data + (i * elem_size), elem_size); + UPB_ASSERT(!upb_Message_IsFrozen(ret)); + return ret; +} + +void upb_Array_Set(upb_Array* arr, size_t i, upb_MessageValue val) { + UPB_ASSERT(!upb_Array_IsFrozen(arr)); + UPB_ASSERT(i < upb_Array_Size(arr)); + char* data = upb_Array_MutableDataPtr(arr); + const int lg2 = UPB_PRIVATE(_upb_Array_ElemSizeLg2)(arr); + memcpy(data + (i << lg2), &val, 1 << lg2); +} + +bool upb_Array_Append(upb_Array* arr, upb_MessageValue val, upb_Arena* arena) { + UPB_ASSERT(!upb_Array_IsFrozen(arr)); + UPB_ASSERT(arena); + if (!UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + 1, arena)) { + return false; + } + upb_Array_Set(arr, arr->UPB_PRIVATE(size) - 1, val); + return true; +} + +bool upb_Array_Copy(upb_Array* dst, const upb_Array* src, upb_Arena* arena) { + UPB_ASSERT(dst); + UPB_ASSERT(src); + UPB_ASSERT(!upb_Array_IsFrozen(dst)); + if (dst == src) return true; + size_t len = upb_Array_Size(src); + if (!UPB_PRIVATE(_upb_Array_ResizeUninitialized)(dst, len, arena)) { + return false; + } + if (len == 0) return true; + const int lg2 = UPB_PRIVATE(_upb_Array_ElemSizeLg2)(dst); + const int src_lg2 = UPB_PRIVATE(_upb_Array_ElemSizeLg2)(src); + UPB_ASSERT(lg2 == src_lg2); + char* dst_data = upb_Array_MutableDataPtr(dst); + const char* src_data = upb_Array_DataPtr(src); + memcpy(dst_data, src_data, len << lg2); + return true; +} + +bool upb_Array_AppendAll(upb_Array* dst, const upb_Array* src, + upb_Arena* arena) { + UPB_ASSERT(!upb_Array_IsFrozen(dst)); + UPB_ASSERT(src); + size_t src_len = upb_Array_Size(src); + if (src_len == 0) return true; + size_t dst_len = upb_Array_Size(dst); + size_t len = dst_len + src_len; + if (UPB_UNLIKELY(len < dst_len)) return false; + if (!UPB_PRIVATE(_upb_Array_ResizeUninitialized)(dst, len, arena)) { + return false; + } + const int lg2 = UPB_PRIVATE(_upb_Array_ElemSizeLg2)(dst); + const int src_lg2 = UPB_PRIVATE(_upb_Array_ElemSizeLg2)(src); + UPB_ASSERT(lg2 == src_lg2); + char* dst_data = upb_Array_MutableDataPtr(dst); + const char* src_data = upb_Array_DataPtr(src); + memcpy(dst_data + (dst_len << lg2), src_data, src_len << lg2); + return true; +} + +void upb_Array_Move(upb_Array* arr, size_t dst_idx, size_t src_idx, + size_t count) { + UPB_ASSERT(!upb_Array_IsFrozen(arr)); + const int lg2 = UPB_PRIVATE(_upb_Array_ElemSizeLg2)(arr); + char* data = upb_Array_MutableDataPtr(arr); + memmove(&data[dst_idx << lg2], &data[src_idx << lg2], count << lg2); +} + +bool upb_Array_Insert(upb_Array* arr, size_t i, size_t count, + upb_Arena* arena) { + UPB_ASSERT(!upb_Array_IsFrozen(arr)); + UPB_ASSERT(arena); + UPB_ASSERT(i <= arr->UPB_PRIVATE(size)); + UPB_ASSERT(count + arr->UPB_PRIVATE(size) >= count); + const size_t oldsize = arr->UPB_PRIVATE(size); + if (!UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + arr, arr->UPB_PRIVATE(size) + count, arena)) { + return false; + } + upb_Array_Move(arr, i + count, i, oldsize - i); + return true; +} + +/* + * i end arr->size + * |------------|XXXXXXXX|--------| + */ +void upb_Array_Delete(upb_Array* arr, size_t i, size_t count) { + UPB_ASSERT(!upb_Array_IsFrozen(arr)); + const size_t end = i + count; + UPB_ASSERT(i <= end); + UPB_ASSERT(end <= arr->UPB_PRIVATE(size)); + upb_Array_Move(arr, i, end, arr->UPB_PRIVATE(size) - end); + arr->UPB_PRIVATE(size) -= count; +} + +bool upb_Array_Resize(upb_Array* arr, size_t size, upb_Arena* arena) { + UPB_ASSERT(!upb_Array_IsFrozen(arr)); + const size_t oldsize = arr->UPB_PRIVATE(size); + if (UPB_UNLIKELY( + !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(arr, size, arena))) { + return false; + } + const size_t newsize = arr->UPB_PRIVATE(size); + if (newsize > oldsize) { + const int lg2 = UPB_PRIVATE(_upb_Array_ElemSizeLg2)(arr); + char* data = upb_Array_MutableDataPtr(arr); + memset(data + (oldsize << lg2), 0, (newsize - oldsize) << lg2); + } + return true; +} + +bool UPB_PRIVATE(_upb_Array_Realloc)(upb_Array* array, size_t min_capacity, + upb_Arena* arena) { + size_t new_capacity = UPB_MAX(array->UPB_PRIVATE(capacity), 4); + const int lg2 = UPB_PRIVATE(_upb_Array_ElemSizeLg2)(array); + size_t old_bytes = array->UPB_PRIVATE(capacity) << lg2; + void* ptr = upb_Array_MutableDataPtr(array); + + // Log2 ceiling of size. + while (new_capacity < min_capacity) { + if (upb_ShlOverflow(&new_capacity, 1)) { + new_capacity = SIZE_MAX; + break; + } + } + + // If capacity doubling overflowed to SIZE_MAX, fail. No valid array can hold + // SIZE_MAX elements, and downstream size calculations would overflow. + if (new_capacity == SIZE_MAX) return false; + + size_t new_bytes = new_capacity; + if (upb_ShlOverflow(&new_bytes, lg2)) { + return false; + } + ptr = upb_Arena_Realloc(arena, ptr, old_bytes, new_bytes); + if (!ptr) return false; + + UPB_PRIVATE(_upb_Array_SetTaggedPtr)(array, ptr, lg2); + array->UPB_PRIVATE(capacity) = new_capacity; + return true; +} + +void upb_Array_Freeze(upb_Array* arr, const upb_MiniTable* m) { + if (upb_Array_IsFrozen(arr)) return; + UPB_PRIVATE(_upb_Array_ShallowFreeze)(arr); + + if (m) { + const size_t size = upb_Array_Size(arr); + + for (size_t i = 0; i < size; i++) { + upb_MessageValue val = upb_Array_Get(arr, i); + upb_Message_Freeze((upb_Message*)val.msg_val, m); + } + } +} + + +#include +#include + + +// Must be last. + +enum { + kUpb_ConvertStatus_Ok = kUpb_ErrorCode_Ok, + // The source and destination MiniTables are not compatible for conversion. + kUpb_ConvertStatus_Incompatible = 10, +}; + +typedef struct { + upb_Decoder decoder; + upb_encstate encoder; + upb_Arena* arena; + upb_ErrorHandler err; + int decode_options; + int encode_options; +} upb_Converter; + +// Minitable compatibility type check on the field, but not the +// submessage. Note: this check always succeeds for enums, whether the +// enum is open or closed. +UPB_INLINE bool _upb_MiniTableField_IsCompatible( + const upb_MiniTableField* src_f, const upb_MiniTableField* dst_f) { + return upb_MiniTableField_Type(src_f) == upb_MiniTableField_Type(dst_f) && + upb_MiniTableField_IsArray(src_f) == + upb_MiniTableField_IsArray(dst_f) && + upb_MiniTableField_IsMap(src_f) == upb_MiniTableField_IsMap(dst_f); +} + +UPB_INLINE bool _upb_MiniTableField_IsMapEntryCompatible( + const upb_MiniTableField* src_f, const upb_MiniTableField* dst_f) { + const upb_MiniTable* src_entry_mt = upb_MiniTable_MapEntrySubMessage(src_f); + const upb_MiniTable* dst_entry_mt = upb_MiniTable_MapEntrySubMessage(dst_f); + if (src_entry_mt == dst_entry_mt) return true; + return _upb_MiniTableField_IsCompatible(upb_MiniTable_MapKey(src_entry_mt), + upb_MiniTable_MapKey(dst_entry_mt)) && + _upb_MiniTableField_IsCompatible(upb_MiniTable_MapValue(src_entry_mt), + upb_MiniTable_MapValue(dst_entry_mt)); +} + +UPB_INLINE bool _upb_MiniTableField_IsExtensionCompatible( + const upb_MiniTableField* src_f, const upb_MiniTableField* dst_f) { + UPB_ASSERT(!upb_MiniTableField_IsMap(src_f)); + if (upb_MiniTableField_IsMap(dst_f)) return false; + return upb_MiniTableField_Type(dst_f) == upb_MiniTableField_Type(src_f) && + upb_MiniTableField_IsArray(dst_f) == upb_MiniTableField_IsArray(src_f); +} + +static void upb_Message_SetFieldOrExtension(upb_Message* msg, + const upb_MiniTableField* f, + const upb_MiniTableExtension* ext, + const upb_MessageValue* val, + upb_Arena* arena) { + if (ext != NULL) { + upb_Message_SetExtension(msg, ext, val, arena); + } else { + upb_Message_SetBaseField(msg, f, val); + } +} + +static void upb_Message_EncodeFieldAsUnknown( + upb_encstate* e, upb_Message* dst, const upb_Message* src, + const upb_MiniTableField* src_field, int depth, int options, + upb_ErrorHandler* err) { + size_t size; + int encode_options = upb_Encode_LimitDepth(options, depth); + char* buf = upb_BackAlloc_Init(&e->alloc, e->alloc.arena); + UPB_PRIVATE(_upb_Encode_Field)(e, src, src_field, &buf, &size, + encode_options); + if (size > 0) { + if (!UPB_PRIVATE(_upb_Message_AddUnknown)(dst, buf, size, e->alloc.arena, + kUpb_AddUnknown_Alias)) { + upb_ErrorHandler_ThrowError(err, kUpb_ErrorCode_OutOfMemory); + } + } +} + +static void upb_Message_EncodeExtensionAsUnknown( + upb_encstate* e, upb_Message* dst, const upb_MiniTable* dst_mt, + const upb_MiniTableExtension* ext, upb_MessageValue val, int depth, + int options, upb_ErrorHandler* err) { + size_t size; + int encode_options = upb_Encode_LimitDepth(options, depth); + bool is_message_set = upb_MiniTable_IsMessageSet(dst_mt); + char* buf = upb_BackAlloc_Init(&e->alloc, e->alloc.arena); + UPB_PRIVATE(_upb_Encode_Extension)(e, ext, val, is_message_set, &buf, &size, + encode_options); + if (size > 0) { + if (!UPB_PRIVATE(_upb_Message_AddUnknown)(dst, buf, size, e->alloc.arena, + kUpb_AddUnknown_Alias)) { + upb_ErrorHandler_ThrowError(err, kUpb_ErrorCode_OutOfMemory); + } + } +} + +static void upb_Message_ConvertInternal(upb_Converter* c, upb_Message* dst, + const upb_Message* src, + const upb_MiniTable* dst_mt, + const upb_MiniTable* src_mt, + const upb_ExtensionRegistry* extreg, + int depth); + +static void upb_Array_DeepConvert( + upb_Converter* c, upb_Array* dst, const upb_Array* src, + const upb_MiniTable* dst_sub_mt, const upb_MiniTable* src_sub_mt, + const upb_MiniTableField* dst_f, upb_Message* dst_msg, + const upb_ExtensionRegistry* extreg, int depth) { + size_t size = upb_Array_Size(src); + if (!upb_Array_Resize(dst, size, c->arena)) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + } + size_t dst_i = 0; + for (size_t i = 0; i < size; ++i) { + upb_MessageValue src_val = upb_Array_Get(src, i); + if (upb_MiniTableField_IsClosedEnum(dst_f)) { + const upb_MiniTableEnum* dst_e = upb_MiniTable_GetSubEnumTable(dst_f); + if (upb_MiniTableEnum_CheckValue(dst_e, src_val.int32_val)) { + upb_MessageValue dst_val; + dst_val.int32_val = src_val.int32_val; + upb_Array_Set(dst, dst_i++, dst_val); + } else if (!_upb_Encoder_AddEnumValueToUnknown( + dst_msg, dst_f, src_val.int32_val, c->arena)) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + } + } else if (dst_sub_mt) { + const upb_Message* src_msg = src_val.msg_val; + upb_Message* dst_sub = upb_Message_New(dst_sub_mt, c->arena); + if (!dst_sub) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + } + upb_Message_ConvertInternal(c, dst_sub, src_msg, dst_sub_mt, src_sub_mt, + extreg, depth); + upb_MessageValue dst_val; + dst_val.msg_val = dst_sub; + upb_Array_Set(dst, dst_i++, dst_val); + } else { + // Open enum or primitive case. + upb_Array_Set(dst, dst_i++, src_val); + } + } + if (dst_i != size) { + upb_Array_Resize(dst, dst_i, c->arena); + } +} + +static bool upb_Message_ConvertArrayField(upb_Converter* c, upb_Message* dst, + const upb_Message* src, + const upb_MiniTableField* dst_f, + const upb_MiniTableField* src_f, + const upb_ExtensionRegistry* extreg, + int depth) { + const upb_Array* src_arr = upb_Message_GetArray(src, src_f); + if (!src_arr) return true; + + const upb_MiniTable* dst_sub_mt = upb_MiniTable_SubMessage(dst_f); + const upb_MiniTable* src_sub_mt = upb_MiniTable_SubMessage(src_f); + + if (dst_sub_mt != src_sub_mt || upb_MiniTableField_IsClosedEnum(dst_f) || + upb_MiniTableField_IsClosedEnum(src_f)) { + upb_Array* dst_arr = + upb_Array_New(c->arena, upb_MiniTableField_CType(dst_f)); + if (!dst_arr) + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + upb_Array_DeepConvert(c, dst_arr, src_arr, dst_sub_mt, src_sub_mt, dst_f, + dst, extreg, depth); + upb_Message_SetBaseField(dst, dst_f, &dst_arr); + return true; + } + // Fall through to a shallow copy. + return false; +} + +static void upb_Map_DeepConvert( + upb_Converter* c, upb_Map* dst, const upb_Map* src, + const upb_MiniTable* dst_entry_mt, const upb_MiniTable* src_entry_mt, + const upb_MiniTableField* dst_map_f, upb_Message* dst_msg, + const upb_ExtensionRegistry* extreg, int depth) { + const upb_MiniTableField* dst_val_f = upb_MiniTable_MapValue(dst_entry_mt); + const upb_MiniTable* dst_val_mt = upb_MiniTable_SubMessage(dst_val_f); + const upb_MiniTableField* src_val_f = upb_MiniTable_MapValue(src_entry_mt); + const upb_MiniTable* src_val_mt = upb_MiniTable_SubMessage(src_val_f); + + size_t iter = kUpb_Map_Begin; + upb_MessageValue key, src_val; + while (upb_Map_Next(src, &key, &src_val, &iter)) { + if (dst_val_mt && src_val_mt) { + const upb_Message* src_msg = src_val.msg_val; + upb_Message* dst_sub = upb_Message_New(dst_val_mt, c->arena); + if (!dst_sub) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + } + upb_Message_ConvertInternal(c, dst_sub, src_msg, dst_val_mt, src_val_mt, + extreg, depth); + upb_MessageValue dst_val; + dst_val.msg_val = dst_sub; + if (!upb_Map_Set(dst, key, dst_val, c->arena)) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + } + } else { + // Scalar value. + if (upb_MiniTableField_IsClosedEnum(dst_val_f)) { + const upb_MiniTableEnum* dst_e = + upb_MiniTable_GetSubEnumTable(dst_val_f); + if (upb_MiniTableEnum_CheckValue(dst_e, src_val.int32_val)) { + if (!upb_Map_Set(dst, key, src_val, c->arena)) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + } + } else { + upb_Message* ent_msg = upb_Message_New(src_entry_mt, c->arena); + if (!ent_msg) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + } + upb_Message_SetBaseField(ent_msg, upb_MiniTable_MapKey(src_entry_mt), + &key); + upb_Message_SetBaseField( + ent_msg, upb_MiniTable_MapValue(src_entry_mt), &src_val); + _upb_Encoder_AddMapEntryUnknown(dst_msg, dst_map_f, ent_msg, + src_entry_mt, c->arena); + } + } else { + if (!upb_Map_Set(dst, key, src_val, c->arena)) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + } + } + } + } +} + +static bool upb_Message_ConvertMapField(upb_Converter* c, upb_Message* dst, + const upb_Message* src, + const upb_MiniTableField* dst_f, + const upb_MiniTableField* src_f, + const upb_ExtensionRegistry* extreg, + int depth) { + const upb_Map* src_map = upb_Message_GetMap(src, src_f); + if (!src_map) return true; + + const upb_MiniTable* dst_entry_mt = upb_MiniTable_MapEntrySubMessage(dst_f); + const upb_MiniTable* src_entry_mt = upb_MiniTable_MapEntrySubMessage(src_f); + + if (dst_entry_mt != src_entry_mt) { + const upb_MiniTableField* dst_val_f = upb_MiniTable_MapValue(dst_entry_mt); + upb_Map* dst_map = upb_Map_New( + c->arena, upb_MiniTableField_CType(upb_MiniTable_MapKey(dst_entry_mt)), + upb_MiniTableField_CType(dst_val_f)); + if (!dst_map) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + } + upb_Map_DeepConvert(c, dst_map, src_map, dst_entry_mt, src_entry_mt, dst_f, + dst, extreg, depth); + upb_Message_SetBaseField(dst, dst_f, &dst_map); + return true; + } + return false; +} + +UPB_INLINE bool upb_Converter_NeedsClosedEnumDeepConvert( + const upb_MiniTableField* dst_f, const upb_MiniTableField* src_f) { + // Determines if an enum conversion requires deep conversion based on the + // following combinations of closed/open src_f and dst_f: + // 1. Open -> Open: Shallow copy. Never needs deep conversion (behaves like + // primitives). + // 2. Open -> Closed: Always needs deep conversion to validate values and + // move invalid values to unknowns. + // 3. Closed -> Open: Needs deep conversion/copy for arrays to avoid mutating + // the source array when unknowns are decoded into the open destination. + // 4. Closed -> Closed: Only needs deep conversion if the target and source + // schemas differ. If the schemas match, we can safely shallow copy. + if (upb_MiniTableField_IsClosedEnum(dst_f)) { + return !upb_MiniTableField_IsClosedEnum(src_f) || + upb_MiniTable_GetSubEnumTable(dst_f) != + upb_MiniTable_GetSubEnumTable(src_f); + } + return upb_MiniTableField_IsClosedEnum(src_f) && + upb_MiniTableField_IsArray(src_f); +} + +static void upb_Message_ConvertField(upb_Converter* c, upb_Message* dst, + const upb_Message* src, + const upb_MiniTableField* dst_f, + const upb_MiniTableField* src_f, + const upb_ExtensionRegistry* extreg, + int depth) { + if (upb_MiniTableField_HasPresence(src_f)) { + if (!upb_Message_HasBaseField(src, src_f)) return; + } else if (upb_MiniTableField_IsScalar(src_f)) { + // For proto3 implicit scalar fields, we only need to copy if the source + // field is set. + const void* src_data = UPB_PRIVATE(_upb_Message_DataPtr)(src, src_f); + if (UPB_PRIVATE(_upb_MiniTableField_DataIsZero)(src_f, src_data)) return; + } + + if (upb_MiniTableField_CType(dst_f) == kUpb_CType_Message) { + if (upb_MiniTableField_IsScalar(dst_f)) { + const upb_Message* src_sub = upb_Message_GetMessage(src, src_f); + if (!src_sub) return; + + const upb_MiniTable* dst_sub_mt = upb_MiniTable_SubMessage(dst_f); + const upb_MiniTable* src_sub_mt = upb_MiniTable_SubMessage(src_f); + + if (dst_sub_mt == src_sub_mt) { + upb_Message_SetMessage(dst, dst_f, (upb_Message*)src_sub); + return; + } + + upb_Message* dst_sub = + upb_Message_GetOrCreateMutableMessage(dst, dst_f, c->arena); + if (!dst_sub) + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + upb_Message_ConvertInternal(c, dst_sub, src_sub, dst_sub_mt, src_sub_mt, + extreg, depth); + return; + } else if (upb_MiniTableField_IsArray(dst_f)) { + if (upb_Message_ConvertArrayField(c, dst, src, dst_f, src_f, extreg, + depth)) { + return; + } + } else if (upb_MiniTableField_IsMap(dst_f)) { + if (UPB_UNLIKELY( + !_upb_MiniTableField_IsMapEntryCompatible(src_f, dst_f))) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ConvertStatus_Incompatible); + } + if (upb_Message_ConvertMapField(c, dst, src, dst_f, src_f, extreg, + depth)) { + return; + } + } + } else if (upb_Converter_NeedsClosedEnumDeepConvert(dst_f, src_f)) { + if (upb_MiniTableField_IsArray(dst_f)) { + if (upb_Message_ConvertArrayField(c, dst, src, dst_f, src_f, extreg, + depth)) { + return; + } + } else if (upb_MiniTableField_IsMap(dst_f)) { + if (upb_Message_ConvertMapField(c, dst, src, dst_f, src_f, extreg, + depth)) { + return; + } + } else { + int32_t val; + memcpy(&val, UPB_PRIVATE(_upb_Message_DataPtr)(src, src_f), 4); + const upb_MiniTableEnum* dst_e = upb_MiniTable_GetSubEnumTable(dst_f); + if (!upb_MiniTableEnum_CheckValue(dst_e, val)) { + if (!_upb_Encoder_AddEnumValueToUnknown(dst, dst_f, val, c->arena)) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + } + return; + } + } + } + + UPB_PRIVATE(_upb_MiniTableField_DataCopy) + (dst_f, UPB_PRIVATE(_upb_Message_MutableDataPtr)(dst, dst_f), + UPB_PRIVATE(_upb_Message_DataPtr)(src, src_f)); + + if (upb_MiniTableField_HasPresence(dst_f)) { + UPB_PRIVATE(_upb_Message_SetPresence)(dst, dst_f); + } +} + +static void upb_Message_ConvertExtensions(upb_Converter* c, upb_Message* dst, + const upb_Message* src, + const upb_MiniTable* dst_mt, + const upb_ExtensionRegistry* extreg, + int depth) { + const upb_MiniTableExtension* ext; + upb_MessageValue val; + uintptr_t iter = kUpb_Message_ExtensionBegin; + while (upb_Message_NextExtension(src, &ext, &val, &iter)) { + const upb_MiniTableField* dst_f = upb_MiniTable_FindFieldByNumber( + dst_mt, upb_MiniTableExtension_Number(ext)); + const upb_MiniTableExtension* dst_ext = NULL; + if (!dst_f) { + // Source extension not found in the destination schema. Check the + // extension registry. + if (extreg != NULL) { + dst_ext = upb_ExtensionRegistry_Lookup( + extreg, dst_mt, upb_MiniTableExtension_Number(ext)); + if (dst_ext) { + dst_f = upb_MiniTableExtension_ToField(dst_ext); + } + } + } + + if (dst_f) { + const upb_MiniTableField* src_f = upb_MiniTableExtension_ToField(ext); + + UPB_ASSERT(!upb_MiniTableField_IsMap(src_f)); + if (UPB_UNLIKELY( + !_upb_MiniTableField_IsExtensionCompatible(src_f, dst_f))) { + // Return an error due to type mismatch. + upb_ErrorHandler_ThrowError(&c->err, kUpb_ConvertStatus_Incompatible); + } + + if (upb_MiniTableField_CType(dst_f) == kUpb_CType_Message) { + const upb_MiniTable* dst_sub_mt = upb_MiniTable_SubMessage(dst_f); + const upb_MiniTable* src_sub_mt = upb_MiniTable_SubMessage(src_f); + + if (upb_MiniTableField_IsArray(dst_f)) { + if (dst_sub_mt != src_sub_mt) { + // Array of messages, and the sub message types differ. Perform + // conversion. + upb_Array* dst_arr = upb_Array_New(c->arena, kUpb_CType_Message); + if (!dst_arr) + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + upb_Array_DeepConvert(c, dst_arr, val.array_val, dst_sub_mt, + src_sub_mt, dst_f, dst, extreg, depth); + upb_MessageValue valid_val; + valid_val.array_val = dst_arr; + upb_Message_SetFieldOrExtension(dst, dst_f, dst_ext, &valid_val, + c->arena); + } else { + // Array of messages, and the sub message types are the same. + // Shallow copy. + upb_Message_SetFieldOrExtension(dst, dst_f, dst_ext, &val, + c->arena); + } + } else if (dst_sub_mt == src_sub_mt) { + // Scalar message, and the message types are the same. + // Shallow copy. + upb_Message_SetFieldOrExtension(dst, dst_f, dst_ext, &val, c->arena); + } else { + // Scalar message, and the message types differ. Perform conversion. + upb_Message* dst_sub = upb_Message_New(dst_sub_mt, c->arena); + if (!dst_sub) + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + + upb_Message_ConvertInternal(c, dst_sub, val.msg_val, dst_sub_mt, + src_sub_mt, extreg, depth); + + upb_MessageValue valid_val; + valid_val.msg_val = dst_sub; + upb_Message_SetFieldOrExtension(dst, dst_f, dst_ext, &valid_val, + c->arena); + } + } else { + // Scalar non-message type. + if (upb_MiniTableField_IsClosedEnum(dst_f)) { + if (upb_MiniTableField_IsArray(dst_f)) { + upb_Array* dst_arr = upb_Array_New(c->arena, kUpb_CType_Int32); + if (!dst_arr) + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_OutOfMemory); + upb_Array_DeepConvert(c, dst_arr, val.array_val, NULL, NULL, dst_f, + dst, extreg, depth); + upb_MessageValue valid_val; + valid_val.array_val = dst_arr; + upb_Message_SetFieldOrExtension(dst, dst_f, dst_ext, &valid_val, + c->arena); + continue; + } else { + const upb_MiniTableEnum* dst_e = + dst_ext ? upb_MiniTableExtension_GetSubEnum(dst_ext) + : upb_MiniTable_GetSubEnumTable(dst_f); + if (!upb_MiniTableEnum_CheckValue(dst_e, val.int32_val)) { + if (!_upb_Encoder_AddEnumValueToUnknown(dst, dst_f, val.int32_val, + c->arena)) { + upb_ErrorHandler_ThrowError(&c->err, + kUpb_ErrorCode_OutOfMemory); + } + continue; + } + } + } + upb_Message_SetFieldOrExtension(dst, dst_f, dst_ext, &val, c->arena); + } + } else { + // Since this extension is not known in the destination schema, encode it + // as an unknown field. + // TODO - b/510055656: to handle this as a non-canonical extension + upb_Message_EncodeExtensionAsUnknown(&c->encoder, dst, dst_mt, ext, val, + depth, c->encode_options, &c->err); + } + } +} + +static void upb_Message_ConvertInternal(upb_Converter* c, upb_Message* dst, + const upb_Message* src, + const upb_MiniTable* dst_mt, + const upb_MiniTable* src_mt, + const upb_ExtensionRegistry* extreg, + int depth) { + UPB_ASSERT(dst != NULL); + if (--depth == 0) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ErrorCode_MaxDepthExceeded); + } + + // Bails out if the source and destination are not both MessageSets. + if (upb_MiniTable_IsMessageSet(dst_mt) != + upb_MiniTable_IsMessageSet(src_mt)) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ConvertStatus_Incompatible); + } + + const upb_MiniTableField* dst_f = NULL; + const upb_MiniTableField* dst_first = NULL; + const upb_MiniTableField* src_f = NULL; + const upb_MiniTableField* src_first = NULL; + + if (upb_MiniTable_FieldCount(dst_mt) > 0) { + dst_first = upb_MiniTable_GetFieldByIndex(dst_mt, 0); + dst_f = dst_first + upb_MiniTable_FieldCount(dst_mt); + } + if (upb_MiniTable_FieldCount(src_mt) > 0) { + src_first = upb_MiniTable_GetFieldByIndex(src_mt, 0); + src_f = src_first + upb_MiniTable_FieldCount(src_mt); + } + + // Convert fields in descending order of field number. + while (dst_f != dst_first || src_f != src_first) { + uint32_t dst_nr = + dst_f != dst_first ? upb_MiniTableField_Number(dst_f - 1) : 0; + uint32_t src_nr = + src_f != src_first ? upb_MiniTableField_Number(src_f - 1) : 0; + + if (dst_nr == src_nr) { + const upb_MiniTableField* dst_next = dst_f - 1; + const upb_MiniTableField* src_next = src_f - 1; + + if (UPB_UNLIKELY(!_upb_MiniTableField_IsCompatible(src_next, dst_next))) { + upb_ErrorHandler_ThrowError(&c->err, kUpb_ConvertStatus_Incompatible); + } + if (upb_MiniTableField_IsInOneof(dst_next) && + UPB_PRIVATE(_upb_Message_GetOneofCase)(dst, dst_next) != 0) { + // Since fields are processed in descending order, the first encountered + // oneof field is the one that wins. We ignore subsequent ones to match + // the encoding-then-decoding behavior. + } else { + upb_Message_ConvertField(c, dst, src, dst_next, src_next, extreg, + depth); + } + dst_f--; + src_f--; + } else if (dst_nr > src_nr) { + dst_f--; + } else { + const upb_MiniTableField* src_next = src_f - 1; + upb_Message_EncodeFieldAsUnknown(&c->encoder, dst, src, src_next, depth, + c->encode_options, &c->err); + src_f--; + } + } + + // Convert extensions. + if (src_mt->UPB_PRIVATE(ext) != kUpb_ExtMode_NonExtendable) { + upb_Message_ConvertExtensions(c, dst, src, dst_mt, extreg, depth); + } + + // Convert unknown fields. + upb_StringView data; + size_t iter = kUpb_Message_UnknownBegin; + while (upb_Message_NextUnknown(src, &data, &iter)) { + int decode_options = upb_Decode_LimitDepth( + c->decode_options | kUpb_DecodeOption_AliasString, depth); + + // Reuse d. Reset input stream. + const char* ptr = data.data; + upb_Decoder* d = &c->decoder; + upb_EpsCopyInputStream_InitWithErrorHandler(&d->input, &ptr, data.size, + d->err); + upb_Decoder_Reset(d, decode_options, dst); + _upb_Decoder_DecodeMessage(d, ptr, dst, dst_mt); + UPB_ASSERT(d->end_group == DECODE_NOGROUP); + } +} + +static bool upb_Message_DoConvert(upb_Converter* c, upb_Message* dst, + const upb_Message* src, + const upb_MiniTable* dst_mt, + const upb_MiniTable* src_mt, + const upb_ExtensionRegistry* extreg) { + if (UPB_SETJMP(c->err.buf) == 0) { + upb_Message_ConvertInternal(c, dst, src, dst_mt, src_mt, extreg, 100); + return true; + } + return false; +} + +const upb_Message* upb_Message_Convert(const upb_Message* src, + const upb_MiniTable* src_mt, + const upb_MiniTable* dst_mt, + const upb_ExtensionRegistry* extreg, + int decode_options, int encode_options, + upb_Arena* arena) { + if (dst_mt == src_mt && extreg == NULL) return src; + + upb_Message* dst = upb_Message_New(dst_mt, arena); + if (!dst) return NULL; + + upb_Converter c; + upb_ErrorHandler_Init(&c.err); + c.decode_options = decode_options; + c.encode_options = encode_options; + + // Initialize the decoder. + // Initialize decoder once, performing SwapIn. + // We use a NULL buffer initially, effectively a dummy init to set up the + // arena and error handler. Note: we pass &c.err. + upb_Decoder_Init(&c.decoder, NULL, 0, extreg, decode_options, arena, &c.err, + NULL, 0); + + // Initialize the encoder. + UPB_PRIVATE(_upb_encstate_init)(&c.encoder, &c.err.buf, &c.decoder.arena); + + c.arena = &c.decoder.arena; + + if (!upb_Message_DoConvert(&c, dst, src, dst_mt, src_mt, extreg)) { + dst = NULL; + } + +#ifndef NDEBUG + if (dst) { + char* wire_buf; + size_t wire_size; + upb_Arena* tmp_arena = upb_Arena_New(); + + // Compare the encoded/decoded round-trip of the original message to the + // converted message. + // Encode/decode original message `src` + upb_EncodeStatus encode_status = upb_Encode( + src, src_mt, encode_options, tmp_arena, &wire_buf, &wire_size); + if (encode_status != kUpb_EncodeStatus_MaxDepthExceeded) { + UPB_ASSERT(encode_status == kUpb_EncodeStatus_Ok); + upb_Message* decoded_msg = upb_Message_New(dst_mt, tmp_arena); + upb_DecodeStatus decode_status = + upb_Decode(wire_buf, wire_size, decoded_msg, dst_mt, extreg, + decode_options, tmp_arena); + if (decode_status != kUpb_DecodeStatus_MaxDepthExceeded) { + UPB_ASSERT(decode_status == kUpb_DecodeStatus_Ok); + // Compare the decoded message to the converted message. + UPB_ASSERT(upb_Message_IsEqual(decoded_msg, dst, dst_mt, 0)); + } + } + upb_Arena_Free(tmp_arena); + } +#endif + + upb_Decoder_Destroy(&c.decoder, arena); + UPB_PRIVATE(_upb_encstate_destroy)(&c.encoder); + return dst; +} + + +#include +#include + + +// Must be last. + +typedef struct upb_UnknownFields upb_UnknownFields; + +typedef struct { + uint32_t tag; + union { + uint64_t varint; + uint64_t uint64; + uint32_t uint32; + upb_StringView delimited; + upb_UnknownFields* group; + } data; +} upb_UnknownField; + +struct upb_UnknownFields { + size_t size; + size_t capacity; + upb_UnknownField* fields; +}; + +typedef struct { + upb_EpsCopyInputStream stream; + upb_Arena* arena; + upb_UnknownField* tmp; + size_t tmp_size; + int depth; + upb_UnknownCompareResult status; + jmp_buf err; +} upb_UnknownField_Context; + +typedef struct { + upb_UnknownField* arr_base; + upb_UnknownField* arr_ptr; + upb_UnknownField* arr_end; + uint32_t last_tag; + bool sorted; +} upb_UnknownFields_Builder; + +UPB_NORETURN static void upb_UnknownFields_OutOfMemory( + upb_UnknownField_Context* ctx) { + ctx->status = kUpb_UnknownCompareResult_OutOfMemory; + UPB_LONGJMP(ctx->err, 1); +} + +static void upb_UnknownFields_Grow(upb_UnknownField_Context* ctx, + upb_UnknownField** base, + upb_UnknownField** ptr, + upb_UnknownField** end) { + size_t old = (*ptr - *base); + size_t new = UPB_MAX(4, old * 2); + + *base = upb_Arena_Realloc(ctx->arena, *base, old * sizeof(**base), + new * sizeof(**base)); + if (!*base) upb_UnknownFields_OutOfMemory(ctx); + + *ptr = *base + old; + *end = *base + new; +} + +// We have to implement our own sort here, since qsort() is not an in-order +// sort. Here we use merge sort, the simplest in-order sort. +static void upb_UnknownFields_Merge(upb_UnknownField* arr, size_t start, + size_t mid, size_t end, + upb_UnknownField* tmp) { + memcpy(tmp, &arr[start], (end - start) * sizeof(*tmp)); + + upb_UnknownField* ptr1 = tmp; + upb_UnknownField* end1 = &tmp[mid - start]; + upb_UnknownField* ptr2 = &tmp[mid - start]; + upb_UnknownField* end2 = &tmp[end - start]; + upb_UnknownField* out = &arr[start]; + + while (ptr1 < end1 && ptr2 < end2) { + if (ptr1->tag <= ptr2->tag) { + *out++ = *ptr1++; + } else { + *out++ = *ptr2++; + } + } + + if (ptr1 < end1) { + memcpy(out, ptr1, (end1 - ptr1) * sizeof(*out)); + } else if (ptr2 < end2) { + memcpy(out, ptr2, (end2 - ptr2) * sizeof(*out)); + } +} + +static void upb_UnknownFields_SortRecursive(upb_UnknownField* arr, size_t start, + size_t end, upb_UnknownField* tmp) { + if (end - start > 1) { + size_t mid = start + ((end - start) / 2); + upb_UnknownFields_SortRecursive(arr, start, mid, tmp); + upb_UnknownFields_SortRecursive(arr, mid, end, tmp); + upb_UnknownFields_Merge(arr, start, mid, end, tmp); + } +} + +static void upb_UnknownFields_Sort(upb_UnknownField_Context* ctx, + upb_UnknownFields* fields) { + if (ctx->tmp_size < fields->size) { + const int oldsize = ctx->tmp_size * sizeof(*ctx->tmp); + ctx->tmp_size = UPB_MAX(8, ctx->tmp_size); + while (ctx->tmp_size < fields->size) ctx->tmp_size *= 2; + const int newsize = ctx->tmp_size * sizeof(*ctx->tmp); + ctx->tmp = upb_grealloc(ctx->tmp, oldsize, newsize); + } + upb_UnknownFields_SortRecursive(fields->fields, 0, fields->size, ctx->tmp); +} + +static upb_UnknownFields* upb_UnknownFields_BuildFromBuffer( + upb_UnknownField_Context* ctx, const char** buf); + +// Combines two unknown fields into one. +static void upb_CombineUnknownFields(upb_UnknownField_Context* ctx, + upb_UnknownFields_Builder* builder, + const char** buf) { + upb_UnknownField* arr_base = builder->arr_base; + upb_UnknownField* arr_ptr = builder->arr_ptr; + upb_UnknownField* arr_end = builder->arr_end; + const char* ptr = *buf; + uint32_t last_tag = builder->last_tag; + bool sorted = builder->sorted; + + // Parse the unknown field data. It is an invariant of the data structure that + // unknown field data is valid, so parse errors here should be impossible. + while (!upb_EpsCopyInputStream_IsDone(&ctx->stream, &ptr)) { + uint32_t tag; + ptr = upb_WireReader_ReadTag(ptr, &tag, &ctx->stream); + UPB_ASSERT(tag <= UINT32_MAX); + int wire_type = upb_WireReader_GetWireType(tag); + if (wire_type == kUpb_WireType_EndGroup) break; + if (tag < last_tag) sorted = false; + last_tag = tag; + + if (arr_ptr == arr_end) { + upb_UnknownFields_Grow(ctx, &arr_base, &arr_ptr, &arr_end); + } + upb_UnknownField* field = arr_ptr; + field->tag = tag; + arr_ptr++; + + switch (wire_type) { + case kUpb_WireType_Varint: + ptr = upb_WireReader_ReadVarint(ptr, &field->data.varint, &ctx->stream); + UPB_ASSERT(ptr); + break; + case kUpb_WireType_64Bit: + ptr = + upb_WireReader_ReadFixed64(ptr, &field->data.uint64, &ctx->stream); + UPB_ASSERT(ptr); + break; + case kUpb_WireType_32Bit: + ptr = + upb_WireReader_ReadFixed32(ptr, &field->data.uint32, &ctx->stream); + UPB_ASSERT(ptr); + break; + case kUpb_WireType_Delimited: { + int size; + upb_StringView sv; + ptr = upb_WireReader_ReadSize(ptr, &size, &ctx->stream); + UPB_ASSERT(ptr); + ptr = upb_EpsCopyInputStream_ReadStringAlwaysAlias(&ctx->stream, ptr, + size, &sv); + UPB_ASSERT(ptr); + field->data.delimited.data = sv.data; + field->data.delimited.size = sv.size; + break; + } + case kUpb_WireType_StartGroup: + if (--ctx->depth < 0) { + ctx->status = kUpb_UnknownCompareResult_MaxDepthExceeded; + UPB_LONGJMP(ctx->err, 1); + } + field->data.group = upb_UnknownFields_BuildFromBuffer(ctx, &ptr); + ctx->depth++; + break; + default: + UPB_UNREACHABLE(); + } + } + *buf = ptr; + builder->arr_base = arr_base; + builder->arr_ptr = arr_ptr; + builder->arr_end = arr_end; + builder->sorted = sorted; + builder->last_tag = last_tag; +} + +static upb_UnknownFields* upb_UnknownFields_DoBuild( + upb_UnknownField_Context* ctx, upb_UnknownFields_Builder* builder) { + upb_UnknownFields* ret = upb_Arena_Malloc(ctx->arena, sizeof(*ret)); + if (!ret) upb_UnknownFields_OutOfMemory(ctx); + ret->fields = builder->arr_base; + ret->size = builder->arr_ptr - builder->arr_base; + ret->capacity = builder->arr_end - builder->arr_base; + if (!builder->sorted) { + upb_UnknownFields_Sort(ctx, ret); + } + return ret; +} + +// Builds a upb_UnknownFields data structure from the binary data in buf. +static upb_UnknownFields* upb_UnknownFields_BuildFromBuffer( + upb_UnknownField_Context* ctx, const char** buf) { + upb_UnknownFields_Builder builder = { + .arr_base = NULL, + .arr_ptr = NULL, + .arr_end = NULL, + .sorted = true, + .last_tag = 0, + }; + const char* ptr = *buf; + upb_CombineUnknownFields(ctx, &builder, &ptr); + upb_UnknownFields* fields = upb_UnknownFields_DoBuild(ctx, &builder); + *buf = ptr; + return fields; +} + +// Builds a upb_UnknownFields data structure from the unknown fields of a +// upb_Message. +static upb_UnknownFields* upb_UnknownFields_Build(upb_UnknownField_Context* ctx, + const upb_Message* msg) { + upb_UnknownFields_Builder builder = { + .arr_base = NULL, + .arr_ptr = NULL, + .arr_end = NULL, + .sorted = true, + .last_tag = 0, + }; + uintptr_t iter = kUpb_Message_UnknownBegin; + upb_StringView view; + while (upb_Message_NextUnknown(msg, &view, &iter)) { + upb_EpsCopyInputStream_Init(&ctx->stream, &view.data, view.size); + upb_CombineUnknownFields(ctx, &builder, &view.data); + UPB_ASSERT(upb_EpsCopyInputStream_IsDone(&ctx->stream, &view.data) && + !upb_EpsCopyInputStream_IsError(&ctx->stream)); + } + upb_UnknownFields* fields = upb_UnknownFields_DoBuild(ctx, &builder); + return fields; +} + +// Compares two sorted upb_UnknownFields structures for equality. +static bool upb_UnknownFields_IsEqual(const upb_UnknownFields* uf1, + const upb_UnknownFields* uf2) { + if (uf1->size != uf2->size) return false; + for (size_t i = 0, n = uf1->size; i < n; i++) { + upb_UnknownField* f1 = &uf1->fields[i]; + upb_UnknownField* f2 = &uf2->fields[i]; + if (f1->tag != f2->tag) return false; + int wire_type = f1->tag & 7; + switch (wire_type) { + case kUpb_WireType_Varint: + if (f1->data.varint != f2->data.varint) return false; + break; + case kUpb_WireType_64Bit: + if (f1->data.uint64 != f2->data.uint64) return false; + break; + case kUpb_WireType_32Bit: + if (f1->data.uint32 != f2->data.uint32) return false; + break; + case kUpb_WireType_Delimited: + if (!upb_StringView_IsEqual(f1->data.delimited, f2->data.delimited)) { + return false; + } + break; + case kUpb_WireType_StartGroup: + if (!upb_UnknownFields_IsEqual(f1->data.group, f2->data.group)) { + return false; + } + break; + default: + UPB_UNREACHABLE(); + } + } + return true; +} + +static upb_UnknownCompareResult upb_UnknownField_DoCompare( + upb_UnknownField_Context* ctx, const upb_Message* msg1, + const upb_Message* msg2) { + upb_UnknownCompareResult ret; + // First build both unknown fields into a sorted data structure (similar + // to the UnknownFieldSet in C++). + upb_UnknownFields* uf1 = upb_UnknownFields_Build(ctx, msg1); + upb_UnknownFields* uf2 = upb_UnknownFields_Build(ctx, msg2); + + // Now perform the equality check on the sorted structures. + if (upb_UnknownFields_IsEqual(uf1, uf2)) { + ret = kUpb_UnknownCompareResult_Equal; + } else { + ret = kUpb_UnknownCompareResult_NotEqual; + } + return ret; +} + +static upb_UnknownCompareResult upb_UnknownField_Compare( + upb_UnknownField_Context* const ctx, const upb_Message* msg1, + const upb_Message* msg2) { + upb_UnknownCompareResult ret; + if (UPB_SETJMP(ctx->err) == 0) { + ret = upb_UnknownField_DoCompare(ctx, msg1, msg2); + } else { + ret = ctx->status; + UPB_ASSERT(ret != kUpb_UnknownCompareResult_Equal); + } + + upb_Arena_Free(ctx->arena); + upb_gfree(ctx->tmp); + return ret; +} + +upb_UnknownCompareResult UPB_PRIVATE(_upb_Message_UnknownFieldsAreEqual)( + const upb_Message* msg1, const upb_Message* msg2, int max_depth) { + bool msg1_empty = !upb_Message_HasUnknown(msg1); + bool msg2_empty = !upb_Message_HasUnknown(msg2); + if (msg1_empty && msg2_empty) return kUpb_UnknownCompareResult_Equal; + if (msg1_empty || msg2_empty) return kUpb_UnknownCompareResult_NotEqual; + + upb_UnknownField_Context ctx = { + .arena = upb_Arena_New(), + .depth = max_depth, + .tmp = NULL, + .tmp_size = 0, + .status = kUpb_UnknownCompareResult_Equal, + }; + + if (!ctx.arena) return kUpb_UnknownCompareResult_OutOfMemory; + + return upb_UnknownField_Compare(&ctx, msg1, msg2); +} + + +#include +#include + + +// Must be last. + +const upb_Extension* UPB_PRIVATE(_upb_Message_Getext)( + const struct upb_Message* msg, const upb_MiniTableExtension* e) { + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (!in) return NULL; + + for (size_t i = 0; i < in->size; i++) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[i]; + if (upb_TaggedAuxPtr_IsCanonicalExtension(tagged_ptr)) { + const upb_Extension* ext = + upb_TaggedAuxPtr_CanonicalExtension(tagged_ptr); + if (ext->ext == e) { + return ext; + } + } + } + + return NULL; +} + +UPB_INLINE upb_Extension* _upb_Message_GetOrCreateExtensionInternal( + struct upb_Message* msg, const upb_MiniTableExtension* e, upb_Arena* a, + bool canonical) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + upb_Extension* ext = (upb_Extension*)UPB_PRIVATE(_upb_Message_Getext)(msg, e); + if (ext) return ext; + + if (!UPB_PRIVATE(_upb_Message_ReserveSlot)(msg, a)) return NULL; + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + ext = upb_Arena_Malloc(a, sizeof(upb_Extension)); + if (!ext) return NULL; + memset(ext, 0, sizeof(upb_Extension)); + ext->ext = e; + in->aux_data[in->size++] = + canonical ? upb_TaggedAuxPtr_MakeCanonicalExtension(ext) + : upb_TaggedAuxPtr_MakeNonCanonicalExtension(ext); + return ext; +} + +upb_Extension* UPB_PRIVATE(_upb_Message_GetOrCreateExtension)( + struct upb_Message* msg, const upb_MiniTableExtension* e, upb_Arena* a) { + return _upb_Message_GetOrCreateExtensionInternal(msg, e, a, + /*canonical=*/true); +} + +upb_Extension* UPB_PRIVATE(_upb_Message_CreateNonCanonicalExtension)( + struct upb_Message* msg, const upb_MiniTableExtension* e, upb_Arena* a) { + return _upb_Message_GetOrCreateExtensionInternal(msg, e, a, + /*canonical=*/false); +} + + +#include + + +// Must be last. + +bool UPB_PRIVATE(_upb_Message_NextBaseField)(const upb_Message* msg, + const upb_MiniTable* m, + const upb_MiniTableField** out_f, + upb_MessageValue* out_v, + size_t* iter) { + const size_t count = upb_MiniTable_FieldCount(m); + size_t i = *iter; + + while (++i < count) { + const upb_MiniTableField* f = upb_MiniTable_GetFieldByIndex(m, i); + const void* src = UPB_PRIVATE(_upb_Message_DataPtr)(msg, f); + + upb_MessageValue val; + UPB_PRIVATE(_upb_MiniTableField_DataCopy)(f, &val, src); + + // Skip field if unset or empty. + if (upb_MiniTableField_HasPresence(f)) { + if (!upb_Message_HasBaseField(msg, f)) continue; + } else { + if (UPB_PRIVATE(_upb_MiniTableField_DataIsZero)(f, src)) continue; + + if (upb_MiniTableField_IsArray(f)) { + if (upb_Array_Size(val.array_val) == 0) continue; + } else if (upb_MiniTableField_IsMap(f)) { + if (upb_Map_Size(val.map_val) == 0) continue; + } + } + + *out_f = f; + *out_v = val; + *iter = i; + return true; + } + + return false; +} + + +#include +#include +#include +#include + + +// Must be last. + +// The latest win32 SDKs have an invalid definition of NAN. +// https://developercommunity.visualstudio.com/t/NAN-is-no-longer-compile-time-constant-i/10688907 +// +// Unfortunately, the `0.0 / 0.0` workaround doesn't work in Clang under C23, so +// try __builtin_nan first, if that exists. +#ifdef _WIN32 +#ifdef __has_builtin +#if __has_builtin(__builtin_nan) +#define UPB_NAN __builtin_nan("0") +#endif +#if __has_builtin(__builtin_inf) +#define UPB_INFINITY __builtin_inf() +#endif +#endif +#ifndef UPB_NAN +#define UPB_NAN 0.0 / 0.0 +#endif +#ifndef UPB_INFINITY +#define UPB_INFINITY 1.0 / 0.0 +#endif +#else +// For !_WIN32, assume math.h works. +#define UPB_NAN NAN +#define UPB_INFINITY INFINITY +#endif + +const float kUpb_FltInfinity = UPB_INFINITY; +const double kUpb_Infinity = UPB_INFINITY; +const double kUpb_NaN = UPB_NAN; + +static size_t _upb_Message_SizeOfInternal(uint32_t count) { + return UPB_SIZEOF_FLEX(upb_Message_Internal, aux_data, count); +} + +bool UPB_PRIVATE(_upb_Message_ReserveSlot)(struct upb_Message* msg, + upb_Arena* a) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (!in) { + // No internal data, allocate from scratch. + uint32_t capacity = 4; + in = upb_Arena_Malloc(a, _upb_Message_SizeOfInternal(capacity)); + if (!in) return false; + in->size = 0; + in->capacity = capacity; + UPB_PRIVATE(_upb_Message_SetInternal)(msg, in); + } else if (in->capacity == in->size) { + if (in->size == UINT32_MAX) return false; + // Internal data is too small, reallocate. + size_t needed_pow2 = upb_RoundUpToPowerOfTwo(in->size + 1); + if (needed_pow2 > UINT32_MAX) return false; + uint32_t new_capacity = needed_pow2; + if (UPB_SIZEOF_FLEX_WOULD_OVERFLOW(upb_Message_Internal, aux_data, + new_capacity)) { + return false; + } + in = upb_Arena_Realloc(a, in, _upb_Message_SizeOfInternal(in->capacity), + _upb_Message_SizeOfInternal(new_capacity)); + if (!in) return false; + in->capacity = new_capacity; + UPB_PRIVATE(_upb_Message_SetInternal)(msg, in); + } + UPB_ASSERT(in->capacity - in->size >= 1); + return true; +} + +#ifdef UPB_TRACING_ENABLED +static void (*_message_trace_handler)(const upb_MiniTable*, const upb_Arena*); + +void upb_Message_LogNewMessage(const upb_MiniTable* m, const upb_Arena* arena) { + if (_message_trace_handler) { + _message_trace_handler(m, arena); + } +} + +void upb_Message_SetNewMessageTraceHandler(void (*handler)(const upb_MiniTable*, + const upb_Arena*)) { + _message_trace_handler = handler; +} +#endif // UPB_TRACING_ENABLED + + +#include +#include +#include + + +// Must be last. + +static upb_StringView upb_Clone_StringView(upb_StringView str, + upb_Arena* arena) { + if (str.size == 0) { + return upb_StringView_FromDataAndSize(NULL, 0); + } + void* cloned_data = upb_Arena_Malloc(arena, str.size); + upb_StringView cloned_str = + upb_StringView_FromDataAndSize(cloned_data, str.size); + memcpy(cloned_data, str.data, str.size); + return cloned_str; +} + +static bool upb_Clone_MessageValue(void* value, upb_CType value_type, + const upb_MiniTable* sub, upb_Arena* arena) { + switch (value_type) { + case kUpb_CType_Bool: + case kUpb_CType_Float: + case kUpb_CType_Int32: + case kUpb_CType_UInt32: + case kUpb_CType_Enum: + case kUpb_CType_Double: + case kUpb_CType_Int64: + case kUpb_CType_UInt64: + return true; + case kUpb_CType_String: + case kUpb_CType_Bytes: { + upb_StringView source = *(upb_StringView*)value; + size_t size = source.size; + void* cloned_data = upb_Arena_Malloc(arena, size); + if (cloned_data == NULL) { + return false; + } + *(upb_StringView*)value = + upb_StringView_FromDataAndSize(cloned_data, size); + memcpy(cloned_data, source.data, size); + return true; + } break; + case kUpb_CType_Message: { + UPB_ASSERT(sub); + const upb_Message* source = *(upb_Message**)value; + UPB_ASSERT(source); + upb_Message* clone = upb_Message_DeepClone(source, sub, arena); + *(upb_Message**)value = clone; + return clone != NULL; + } break; + } + UPB_UNREACHABLE(); +} + +upb_Map* upb_Map_DeepClone(const upb_Map* map, upb_CType key_type, + upb_CType value_type, + const upb_MiniTable* map_entry_table, + upb_Arena* arena) { + upb_Map* cloned_map = _upb_Map_New(arena, map->key_size, map->val_size); + if (cloned_map == NULL) { + return NULL; + } + upb_MessageValue key, val; + size_t iter = kUpb_Map_Begin; + while (upb_Map_Next(map, &key, &val, &iter)) { + const upb_MiniTableField* value_field = + upb_MiniTable_MapValue(map_entry_table); + const upb_MiniTable* value_sub = + upb_MiniTableField_CType(value_field) == kUpb_CType_Message + ? upb_MiniTable_GetSubMessageTable(value_field) + : NULL; + upb_CType value_field_type = upb_MiniTableField_CType(value_field); + if (!upb_Clone_MessageValue(&val, value_field_type, value_sub, arena)) { + return NULL; + } + if (!upb_Map_Set(cloned_map, key, val, arena)) { + return NULL; + } + } + return cloned_map; +} + +static upb_Map* upb_Message_Map_DeepClone(const upb_Map* map, + const upb_MiniTable* mini_table, + const upb_MiniTableField* f, + upb_Message* clone, + upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(clone)); + const upb_MiniTable* map_entry_table = upb_MiniTable_MapEntrySubMessage(f); + UPB_ASSERT(map_entry_table); + + const upb_MiniTableField* key_field = upb_MiniTable_MapKey(map_entry_table); + const upb_MiniTableField* value_field = + upb_MiniTable_MapValue(map_entry_table); + + upb_Map* cloned_map = upb_Map_DeepClone( + map, upb_MiniTableField_CType(key_field), + upb_MiniTableField_CType(value_field), map_entry_table, arena); + if (!cloned_map) { + return NULL; + } + upb_Message_SetBaseField(clone, f, &cloned_map); + return cloned_map; +} + +upb_Array* upb_Array_DeepClone(const upb_Array* array, upb_CType value_type, + const upb_MiniTable* sub, upb_Arena* arena) { + const size_t size = upb_Array_Size(array); + const int lg2 = UPB_PRIVATE(_upb_CType_SizeLg2)(value_type); + upb_Array* cloned_array = UPB_PRIVATE(_upb_Array_New)(arena, size, lg2); + if (!cloned_array) { + return NULL; + } + if (!UPB_PRIVATE(_upb_Array_ResizeUninitialized)(cloned_array, size, arena)) { + return NULL; + } + for (size_t i = 0; i < size; ++i) { + upb_MessageValue val = upb_Array_Get(array, i); + if (!upb_Clone_MessageValue(&val, value_type, sub, arena)) { + return NULL; + } + upb_Array_Set(cloned_array, i, val); + } + return cloned_array; +} + +static bool upb_Message_Array_DeepClone(const upb_Array* array, + const upb_MiniTable* mini_table, + const upb_MiniTableField* field, + upb_Message* clone, upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(clone)); + UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)(field); + upb_Array* cloned_array = + upb_Array_DeepClone(array, upb_MiniTableField_CType(field), + upb_MiniTableField_CType(field) == kUpb_CType_Message + ? upb_MiniTable_GetSubMessageTable(field) + : NULL, + arena); + + // Clear out upb_Array* due to parent memcpy. + upb_Message_SetBaseField(clone, field, &cloned_array); + return true; +} + +static bool upb_Clone_ExtensionValue( + const upb_MiniTableExtension* mini_table_ext, const upb_Extension* source, + upb_Extension* dest, upb_Arena* arena) { + dest->data = source->data; + return upb_Clone_MessageValue( + &dest->data, upb_MiniTableExtension_CType(mini_table_ext), + upb_MiniTableExtension_GetSubMessage(mini_table_ext), arena); +} + +upb_Message* _upb_Message_Copy(upb_Message* dst, const upb_Message* src, + const upb_MiniTable* mini_table, + upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(dst)); + upb_StringView empty_string = upb_StringView_FromDataAndSize(NULL, 0); + // Only copy message area skipping upb_Message_Internal. + memcpy(dst + 1, src + 1, mini_table->UPB_PRIVATE(size) - sizeof(upb_Message)); + for (int i = 0; i < upb_MiniTable_FieldCount(mini_table); ++i) { + const upb_MiniTableField* field = + upb_MiniTable_GetFieldByIndex(mini_table, i); + if (upb_MiniTableField_IsScalar(field)) { + switch (upb_MiniTableField_CType(field)) { + case kUpb_CType_Message: { + const upb_Message* sub_message = upb_Message_GetMessage(src, field); + if (sub_message != NULL) { + const upb_MiniTable* sub_message_table = + upb_MiniTable_GetSubMessageTable(field); + upb_Message* dst_sub_message = + upb_Message_DeepClone(sub_message, sub_message_table, arena); + if (dst_sub_message == NULL) { + return NULL; + } + upb_Message_SetBaseFieldMessage(dst, field, dst_sub_message); + } + } break; + case kUpb_CType_String: + case kUpb_CType_Bytes: { + upb_StringView str = upb_Message_GetString(src, field, empty_string); + if (str.size != 0) { + if (!upb_Message_SetString( + dst, field, upb_Clone_StringView(str, arena), arena)) { + return NULL; + } + } + } break; + default: + // Scalar, already copied. + break; + } + } else { + if (upb_MiniTableField_IsMap(field)) { + const upb_Map* map = upb_Message_GetMap(src, field); + if (map != NULL) { + if (!upb_Message_Map_DeepClone(map, mini_table, field, dst, arena)) { + return NULL; + } + } + } else { + const upb_Array* array = upb_Message_GetArray(src, field); + if (array != NULL) { + if (!upb_Message_Array_DeepClone(array, mini_table, field, dst, + arena)) { + return NULL; + } + } + } + } + } + // Clone extensions. + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(src); + if (!in) return dst; + + for (size_t i = 0; i < in->size; i++) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[i]; + if (upb_TaggedAuxPtr_IsCanonicalExtension(tagged_ptr)) { + // Clone extension + const upb_Extension* msg_ext = + upb_TaggedAuxPtr_CanonicalExtension(tagged_ptr); + const upb_MiniTableField* field = &msg_ext->ext->UPB_PRIVATE(field); + upb_Extension* dst_ext = UPB_PRIVATE(_upb_Message_GetOrCreateExtension)( + dst, msg_ext->ext, arena); + if (!dst_ext) return NULL; + if (upb_MiniTableField_IsScalar(field)) { + if (!upb_Clone_ExtensionValue(msg_ext->ext, msg_ext, dst_ext, arena)) { + return NULL; + } + } else { + upb_Array* msg_array = (upb_Array*)msg_ext->data.array_val; + UPB_ASSERT(msg_array); + upb_Array* cloned_array = upb_Array_DeepClone( + msg_array, upb_MiniTableField_CType(field), + upb_MiniTableExtension_GetSubMessage(msg_ext->ext), arena); + if (!cloned_array) { + return NULL; + } + dst_ext->data.array_val = cloned_array; + } + } else if (upb_TaggedAuxPtr_IsUnknownStringView(tagged_ptr)) { + // Clone unknown + upb_StringView* unknown = upb_TaggedPtrAux_StringViewRepr(tagged_ptr); + // Make a copy into destination arena. + if (!UPB_PRIVATE(_upb_Message_AddUnknown)( + dst, unknown->data, unknown->size, arena, kUpb_AddUnknown_Copy)) { + return NULL; + } + } + } + + return dst; +} + +bool upb_Message_DeepCopy(upb_Message* dst, const upb_Message* src, + const upb_MiniTable* mini_table, upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(dst)); + upb_Message_Clear(dst, mini_table); + return _upb_Message_Copy(dst, src, mini_table, arena) != NULL; +} + +// Deep clones a message using the provided target arena. +// +// Returns NULL on failure. +upb_Message* upb_Message_DeepClone(const upb_Message* msg, + const upb_MiniTable* m, upb_Arena* arena) { + upb_Message* clone = upb_Message_New(m, arena); + return _upb_Message_Copy(clone, msg, m, arena); +} + +// Performs a shallow copy. +bool upb_Message_ShallowCopy(upb_Message* dst, const upb_Message* src, + const upb_MiniTable* m, upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(dst)); + memcpy(dst, src, m->UPB_PRIVATE(size)); + + const upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(src); + if (!in) return true; + + size_t size = UPB_SIZEOF_FLEX(upb_Message_Internal, aux_data, in->size); + upb_Message_Internal* dst_in = upb_Arena_Malloc(arena, size); + if (!dst_in) return false; + + dst_in->size = in->size; + dst_in->capacity = in->size; + + for (size_t i = 0; i < in->size; i++) { + upb_TaggedAux aux; + switch (upb_TaggedAux_Get(in->aux_data[i], &aux)) { + case kUpb_TaggedAuxType_CanonicalExtension: { + const upb_Extension* msg_ext = aux.extension; + upb_Extension* dst_ext = upb_Arena_Malloc(arena, sizeof(upb_Extension)); + if (!dst_ext) return false; + *dst_ext = *msg_ext; + dst_in->aux_data[i] = upb_TaggedAuxPtr_MakeCanonicalExtension(dst_ext); + break; + } + case kUpb_TaggedAuxType_Unknown: + case kUpb_TaggedAuxType_AliasedUnknown: { + upb_StringView* dst_sv = + upb_Arena_Malloc(arena, sizeof(upb_StringView)); + if (!dst_sv) return false; + *dst_sv = *aux.unknown_data; + dst_in->aux_data[i] = upb_TaggedAuxPtr_MakeUnknownDataAliased(dst_sv); + break; + } + case kUpb_TaggedAuxType_NonCanonicalExtension: { + const upb_Extension* msg_ext = aux.extension; + upb_Extension* dst_ext = upb_Arena_Malloc(arena, sizeof(upb_Extension)); + if (!dst_ext) return false; + *dst_ext = *msg_ext; + dst_in->aux_data[i] = + upb_TaggedAuxPtr_MakeNonCanonicalExtension(dst_ext); + break; + } + } + } + + UPB_PRIVATE(_upb_Message_SetInternal)(dst, dst_in); + return true; +} + +// Performs a shallow clone. +upb_Message* upb_Message_ShallowClone(const upb_Message* msg, + const upb_MiniTable* m, + upb_Arena* arena) { + upb_Message* clone = upb_Message_New(m, arena); + if (!clone) return NULL; + if (!upb_Message_ShallowCopy(clone, msg, m, arena)) return NULL; + return clone; +} + + +#include +#include +#include + + +// Must be last. + +static int _upb_mapsorter_intkeys(const void* _a, const void* _b) { + const upb_tabent* const* a = _a; + const upb_tabent* const* b = _b; + uintptr_t a_key = (*a)->key.num; + uintptr_t b_key = (*b)->key.num; + return a_key < b_key ? -1 : a_key > b_key; +} + +static void _upb_mapsorter_getkeys(const void* _a, const void* _b, void* a_key, + void* b_key, size_t size) { + const upb_tabent* const* a = _a; + const upb_tabent* const* b = _b; + upb_StringView a_tabkey = upb_key_strview((*a)->key); + upb_StringView b_tabkey = upb_key_strview((*b)->key); + _upb_map_fromkey(a_tabkey, a_key, size); + _upb_map_fromkey(b_tabkey, b_key, size); +} + +static int _upb_mapsorter_cmpi64(const void* _a, const void* _b) { + int64_t a, b; + _upb_mapsorter_getkeys(_a, _b, &a, &b, 8); + return a < b ? -1 : a > b; +} + +static int _upb_mapsorter_cmpu64(const void* _a, const void* _b) { + uint64_t a, b; + _upb_mapsorter_getkeys(_a, _b, &a, &b, 8); + return a < b ? -1 : a > b; +} + +static int _upb_mapsorter_cmpi32(const void* _a, const void* _b) { + int32_t a, b; + _upb_mapsorter_getkeys(_a, _b, &a, &b, 4); + return a < b ? -1 : a > b; +} + +static int _upb_mapsorter_cmpu32(const void* _a, const void* _b) { + uint32_t a, b; + _upb_mapsorter_getkeys(_a, _b, &a, &b, 4); + return a < b ? -1 : a > b; +} + +static int _upb_mapsorter_cmpbool(const void* _a, const void* _b) { + bool a, b; + _upb_mapsorter_getkeys(_a, _b, &a, &b, 1); + return a < b ? -1 : a > b; +} + +static int _upb_mapsorter_cmpstr(const void* _a, const void* _b) { + upb_StringView a, b; + _upb_mapsorter_getkeys(_a, _b, &a, &b, UPB_MAPTYPE_STRING); + size_t common_size = UPB_MIN(a.size, b.size); + int cmp = memcmp(a.data, b.data, common_size); + if (cmp) return -cmp; + return a.size < b.size ? -1 : a.size > b.size; +} + +static int (*const compar[kUpb_FieldType_SizeOf])(const void*, const void*) = { + [kUpb_FieldType_Int64] = _upb_mapsorter_cmpi64, + [kUpb_FieldType_SFixed64] = _upb_mapsorter_cmpi64, + [kUpb_FieldType_SInt64] = _upb_mapsorter_cmpi64, + + [kUpb_FieldType_UInt64] = _upb_mapsorter_cmpu64, + [kUpb_FieldType_Fixed64] = _upb_mapsorter_cmpu64, + + [kUpb_FieldType_Int32] = _upb_mapsorter_cmpi32, + [kUpb_FieldType_SInt32] = _upb_mapsorter_cmpi32, + [kUpb_FieldType_SFixed32] = _upb_mapsorter_cmpi32, + [kUpb_FieldType_Enum] = _upb_mapsorter_cmpi32, + + [kUpb_FieldType_UInt32] = _upb_mapsorter_cmpu32, + [kUpb_FieldType_Fixed32] = _upb_mapsorter_cmpu32, + + [kUpb_FieldType_Bool] = _upb_mapsorter_cmpbool, + + [kUpb_FieldType_String] = _upb_mapsorter_cmpstr, + [kUpb_FieldType_Bytes] = _upb_mapsorter_cmpstr, +}; + +static bool _upb_mapsorter_resize(_upb_mapsorter* s, _upb_sortedmap* sorted, + int size) { + sorted->start = s->size; + sorted->pos = sorted->start; + sorted->end = sorted->start + size; + + if (sorted->end > s->cap) { + const int oldsize = s->cap * sizeof(*s->entries); + s->cap = upb_RoundUpToPowerOfTwo(sorted->end); + const int newsize = s->cap * sizeof(*s->entries); + s->entries = upb_grealloc(s->entries, oldsize, newsize); + if (!s->entries) return false; + } + + s->size = sorted->end; + return true; +} + +bool _upb_mapsorter_pushmap(_upb_mapsorter* s, upb_FieldType key_type, + const upb_Map* map, _upb_sortedmap* sorted) { + int map_size = _upb_Map_Size(map); + + if (!_upb_mapsorter_resize(s, sorted, map_size)) return false; + + // Copy non-empty entries from the table to s->entries. + const void** dst = &s->entries[sorted->start]; + const upb_tabent* src; + const upb_tabent* end; + if (map->UPB_PRIVATE(is_strtable)) { + src = map->t.strtable.t.entries; + end = src + upb_table_size(&map->t.strtable.t); + } else { + src = map->t.inttable.t.entries; + end = src + upb_table_size(&map->t.inttable.t); + } + for (; src < end; src++) { + if (!upb_tabent_isempty(src)) { + *dst = src; + dst++; + } + } + UPB_ASSERT(dst == &s->entries[sorted->end]); + + // Sort entries according to the key type. + qsort(&s->entries[sorted->start], map_size, sizeof(*s->entries), + map->UPB_PRIVATE(is_strtable) ? compar[key_type] + : _upb_mapsorter_intkeys); + return true; +} + +static int _upb_mapsorter_cmpext(const void* _a, const void* _b) { + const upb_Extension* const* a = _a; + const upb_Extension* const* b = _b; + uint32_t a_num = upb_MiniTableExtension_Number((*a)->ext); + uint32_t b_num = upb_MiniTableExtension_Number((*b)->ext); + UPB_ASSERT(a_num != b_num); + return a_num < b_num ? -1 : 1; +} + +bool _upb_mapsorter_pushexts(_upb_mapsorter* s, const upb_Message_Internal* in, + _upb_sortedmap* sorted) { + size_t count = 0; + for (size_t i = 0; i < in->size; i++) { + count += upb_TaggedAuxPtr_IsCanonicalExtension(in->aux_data[i]); + } + if (!_upb_mapsorter_resize(s, sorted, count)) return false; + if (count == 0) return true; + const upb_Extension** entry = + (const upb_Extension**)&s->entries[sorted->start]; + for (size_t i = 0; i < in->size; i++) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[i]; + if (upb_TaggedAuxPtr_IsCanonicalExtension(tagged_ptr)) { + *entry++ = upb_TaggedAuxPtr_CanonicalExtension(tagged_ptr); + } + } + qsort(&s->entries[sorted->start], count, sizeof(*s->entries), + _upb_mapsorter_cmpext); + return true; +} + + +#include +#include +#include + + +// Must be last. + +static upb_FindUnknownRet2 upb_FindUnknownRet2_ParseError(void) { + return (upb_FindUnknownRet2){.status = kUpb_FindUnknown_ParseError}; +} + +upb_FindUnknownRet2 upb_Message_FindUnknown2(const struct upb_Message* msg, + uint32_t field_number, + int depth_limit) { + depth_limit = depth_limit ? depth_limit : 100; + upb_FindUnknownRet2 ret; + ret.iter = kUpb_Message_UnknownBegin; + while (upb_Message_NextUnknown2(msg, &ret.unknown, &ret.iter)) { + if (ret.unknown.type == kUpb_MessageUnknownType_StringView) { + upb_EpsCopyInputStream stream; + const char* ptr = ret.unknown.value.bytes.data; + upb_EpsCopyInputStream_Init(&stream, &ptr, ret.unknown.value.bytes.size); + + while (!upb_EpsCopyInputStream_IsDone(&stream, &ptr)) { + uint32_t tag; + const char* unknown_begin = ptr; + ptr = upb_WireReader_ReadTag(ptr, &tag, &stream); + if (!ptr) return upb_FindUnknownRet2_ParseError(); + if (field_number == upb_WireReader_GetFieldNumber(tag)) { + upb_StringView data; + ret.status = kUpb_FindUnknown_Ok; + upb_EpsCopyCapture capture; + upb_EpsCopyCapture_Start(&capture, &stream, unknown_begin); + ptr = _upb_WireReader_SkipValue(ptr, tag, depth_limit, &stream); + if (!ptr || !upb_EpsCopyCapture_End(&capture, &stream, ptr, &data)) { + return upb_FindUnknownRet2_ParseError(); + } + ret.unknown.value.bytes = data; + return ret; + } + + ptr = _upb_WireReader_SkipValue(ptr, tag, depth_limit, &stream); + if (!ptr) return upb_FindUnknownRet2_ParseError(); + } + } else if (ret.unknown.type == + kUpb_MessageUnknownType_NonCanonicalExtension) { + uint32_t ext_field_number = + upb_MiniTableExtension_Number(ret.unknown.value.extension->ext); + if (ext_field_number == field_number) { + ret.status = kUpb_FindUnknown_Ok; + return ret; + } + } + } + ret.status = kUpb_FindUnknown_NotPresent; + ret.unknown.type = kUpb_MessageUnknownType_StringView; + ret.unknown.value.bytes.data = NULL; + ret.unknown.value.bytes.size = 0; + ret.iter = kUpb_Message_UnknownBegin; + return ret; +} + +upb_Message_DeleteUnknownStatus upb_Message_DeleteUnknown2( + struct upb_Message* msg, struct upb_MessageUnknown* data, uintptr_t* iter, + struct upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + UPB_ASSERT(*iter != kUpb_Message_UnknownBegin); + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + UPB_ASSERT(in); + UPB_ASSERT(*iter <= in->size); + upb_TaggedAuxPtr unknown_ptr = in->aux_data[*iter - 1]; + + if (data->type == kUpb_MessageUnknownType_NonCanonicalExtension) { + UPB_ASSERT(upb_TaggedAuxPtr_IsNonCanonicalExtension(unknown_ptr)); + // When the unknown is a non-canonical extension, we just remove it from the + // aux data array. + in->aux_data[*iter - 1] = upb_TaggedAuxPtr_Null(); + return upb_Message_NextUnknown2(msg, data, iter) + ? kUpb_DeleteUnknown_IterUpdated + : kUpb_DeleteUnknown_DeletedLast; + } + + UPB_ASSERT(upb_TaggedAuxPtr_IsUnknownStringView(unknown_ptr)); + upb_StringView* unknown = upb_TaggedPtrAux_StringViewRepr(unknown_ptr); + UPB_ASSERT(data->type == kUpb_MessageUnknownType_StringView); + upb_StringView* data_bytes = &data->value.bytes; + if (unknown->data == data_bytes->data && unknown->size == data_bytes->size) { + // Remove whole field + in->aux_data[*iter - 1] = upb_TaggedAuxPtr_Null(); + } else if (unknown->data == data_bytes->data) { + // Strip prefix + unknown->data += data_bytes->size; + unknown->size -= data_bytes->size; + *data_bytes = *unknown; + return kUpb_DeleteUnknown_IterUpdated; + } else if (unknown->data + unknown->size == + data_bytes->data + data_bytes->size) { + // Truncate existing field + unknown->size -= data_bytes->size; + if (!upb_TaggedAuxPtr_IsUnknownAliased(unknown_ptr)) { + in->aux_data[*iter - 1] = + upb_TaggedAuxPtr_MakeUnknownDataAliased(unknown); + } + } else { + UPB_ASSERT(unknown->data < data_bytes->data && + unknown->data + unknown->size > + data_bytes->data + data_bytes->size); + // Split in the middle + upb_StringView* prefix = unknown; + upb_StringView* suffix = upb_Arena_Malloc(arena, sizeof(upb_StringView)); + if (!suffix) { + return kUpb_DeleteUnknown_AllocFail; + } + if (!UPB_PRIVATE(_upb_Message_ReserveSlot)(msg, arena)) { + return kUpb_DeleteUnknown_AllocFail; + } + in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (*iter != in->size) { + // Shift later entries down so that unknown field ordering is preserved + memmove(&in->aux_data[*iter + 1], &in->aux_data[*iter], + sizeof(upb_TaggedAuxPtr) * (in->size - *iter)); + } + in->aux_data[*iter] = upb_TaggedAuxPtr_MakeUnknownDataAliased(suffix); + if (!upb_TaggedAuxPtr_IsUnknownAliased(unknown_ptr)) { + in->aux_data[*iter - 1] = upb_TaggedAuxPtr_MakeUnknownDataAliased(prefix); + } + in->size++; + suffix->data = data_bytes->data + data_bytes->size; + suffix->size = (prefix->data + prefix->size) - suffix->data; + prefix->size = data_bytes->data - prefix->data; + } + return upb_Message_NextUnknown2(msg, data, iter) + ? kUpb_DeleteUnknown_IterUpdated + : kUpb_DeleteUnknown_DeletedLast; +} + + +#include +#include + + +// Must be last. + +// Strings/bytes are special-cased in maps. +char _upb_Map_CTypeSizeTable[12] = { + [kUpb_CType_Bool] = 1, + [kUpb_CType_Float] = 4, + [kUpb_CType_Int32] = 4, + [kUpb_CType_UInt32] = 4, + [kUpb_CType_Enum] = 4, + [kUpb_CType_Message] = sizeof(void*), + [kUpb_CType_Double] = 8, + [kUpb_CType_Int64] = 8, + [kUpb_CType_UInt64] = 8, + [kUpb_CType_String] = UPB_MAPTYPE_STRING, + [kUpb_CType_Bytes] = UPB_MAPTYPE_STRING, +}; + +upb_Map* upb_Map_New(upb_Arena* a, upb_CType key_type, upb_CType value_type) { + return _upb_Map_New(a, _upb_Map_CTypeSize(key_type), + _upb_Map_CTypeSize(value_type)); +} + +size_t upb_Map_Size(const upb_Map* map) { return _upb_Map_Size(map); } + +bool upb_Map_Get(const upb_Map* map, upb_MessageValue key, + upb_MessageValue* val) { + return _upb_Map_Get(map, &key, map->key_size, val, map->val_size); +} + +struct upb_Message* upb_Map_GetMutable(upb_Map* map, upb_MessageValue key) { + UPB_ASSERT(map->val_size == sizeof(upb_Message*)); + upb_Message* val = NULL; + if (_upb_Map_Get(map, &key, map->key_size, &val, sizeof(upb_Message*))) { + return val; + } else { + return NULL; + } +} + +void upb_Map_Clear(upb_Map* map) { _upb_Map_Clear(map); } + +upb_MapInsertStatus upb_Map_Insert(upb_Map* map, upb_MessageValue key, + upb_MessageValue val, upb_Arena* arena) { + UPB_ASSERT(arena); + return (upb_MapInsertStatus)_upb_Map_Insert(map, &key, map->key_size, &val, + map->val_size, arena); +} + +bool upb_Map_Delete(upb_Map* map, upb_MessageValue key, upb_MessageValue* val) { + upb_value v; + const bool removed = _upb_Map_Delete(map, &key, map->key_size, &v); + if (val) _upb_map_fromvalue(v, val, map->val_size); + return removed; +} + +bool upb_Map_Next(const upb_Map* map, upb_MessageValue* key, + upb_MessageValue* val, size_t* iter) { + upb_value v; + bool ret; + if (map->UPB_PRIVATE(is_strtable)) { + upb_StringView strkey; + ret = upb_strtable_next2(&map->t.strtable, &strkey, &v, (intptr_t*)iter); + if (ret) { + _upb_map_fromkey(strkey, key, map->key_size); + } + } else { + uintptr_t intkey; + ret = upb_inttable_next(&map->t.inttable, &intkey, &v, (intptr_t*)iter); + if (ret) { + memcpy(key, &intkey, map->key_size); + } + } + if (ret) { + _upb_map_fromvalue(v, val, map->val_size); + } + return ret; +} + +UPB_API void upb_Map_SetEntryValue(upb_Map* map, size_t iter, + upb_MessageValue val) { + upb_value v; + _upb_map_tovalue(&val, map->val_size, &v, NULL); + if (map->UPB_PRIVATE(is_strtable)) { + upb_strtable_setentryvalue(&map->t.strtable, iter, v); + } else { + upb_inttable_setentryvalue(&map->t.inttable, iter, v); + } +} + +bool upb_MapIterator_Next(const upb_Map* map, size_t* iter) { + return _upb_map_next(map, iter); +} + +bool upb_MapIterator_Done(const upb_Map* map, size_t iter) { + UPB_ASSERT(iter != kUpb_Map_Begin); + if (map->UPB_PRIVATE(is_strtable)) { + upb_strtable_iter i; + i.t = &map->t.strtable; + i.index = iter; + return upb_strtable_done(&i); + } else { + return upb_inttable_done(&map->t.inttable, iter); + } +} + +// Returns the key and value for this entry of the map. +upb_MessageValue upb_MapIterator_Key(const upb_Map* map, size_t iter) { + upb_MessageValue ret; + if (map->UPB_PRIVATE(is_strtable)) { + upb_strtable_iter i; + i.t = &map->t.strtable; + i.index = iter; + _upb_map_fromkey(upb_strtable_iter_key(&i), &ret, map->key_size); + } else { + uintptr_t intkey = upb_inttable_iter_key(&map->t.inttable, iter); + memcpy(&ret, &intkey, map->key_size); + } + return ret; +} + +upb_MessageValue upb_MapIterator_Value(const upb_Map* map, size_t iter) { + upb_value v; + if (map->UPB_PRIVATE(is_strtable)) { + upb_strtable_iter i; + i.t = &map->t.strtable; + i.index = iter; + v = upb_strtable_iter_value(&i); + } else { + v = upb_inttable_iter_value(&map->t.inttable, iter); + } + + upb_MessageValue ret; + _upb_map_fromvalue(v, &ret, map->val_size); + return ret; +} + +void upb_Map_Freeze(upb_Map* map, const upb_MiniTable* m) { + if (upb_Map_IsFrozen(map)) return; + UPB_PRIVATE(_upb_Map_ShallowFreeze)(map); + + if (m) { + size_t iter = kUpb_Map_Begin; + upb_MessageValue key, val; + + while (upb_Map_Next(map, &key, &val, &iter)) { + upb_Message_Freeze((upb_Message*)val.msg_val, m); + } + } +} + +// EVERYTHING BELOW THIS LINE IS INTERNAL - DO NOT USE ///////////////////////// + +upb_Map* _upb_Map_New(upb_Arena* a, size_t key_size, size_t value_size) { + upb_Map* map = upb_Arena_Malloc(a, sizeof(upb_Map)); + if (!map) return NULL; + + if (key_size <= sizeof(uintptr_t) && key_size != UPB_MAPTYPE_STRING) { + if (!upb_inttable_init(&map->t.inttable, a)) return NULL; + map->UPB_PRIVATE(is_strtable) = false; + } else { + if (!upb_strtable_init(&map->t.strtable, 4, a)) return NULL; + map->UPB_PRIVATE(is_strtable) = true; + } + map->key_size = key_size; + map->val_size = value_size; + map->UPB_PRIVATE(is_frozen) = false; + + return map; +} + + + +// Must be last. + +bool upb_Message_SetMapEntry(upb_Map* map, const upb_MiniTableField* f, + upb_Message* map_entry_message, upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(map_entry_message)); + const upb_MiniTable* map_entry_mini_table = + upb_MiniTable_MapEntrySubMessage(f); + UPB_ASSERT(map_entry_mini_table); + const upb_MiniTableField* map_entry_key_field = + upb_MiniTable_MapKey(map_entry_mini_table); + const upb_MiniTableField* map_entry_value_field = + upb_MiniTable_MapValue(map_entry_mini_table); + // Map key/value cannot have explicit defaults, + // hence assuming a zero default is valid. + upb_MessageValue default_val = upb_MessageValue_Zero(); + upb_MessageValue map_entry_key = + upb_Message_GetField(map_entry_message, map_entry_key_field, default_val); + upb_MessageValue map_entry_value = upb_Message_GetField( + map_entry_message, map_entry_value_field, default_val); + return upb_Map_Set(map, map_entry_key, map_entry_value, arena); +} + + +#include +#include +#include + + +// Must be last. + +// Parses unknown data by merging into existing base_message or creating a +// new message using mini_table. +static upb_UnknownToMessageRet upb_MiniTable_ParseUnknownMessage( + const char* unknown_data, size_t unknown_size, + const upb_MiniTable* mini_table, upb_Message* base_message, + int decode_options, upb_Arena* arena) { + upb_UnknownToMessageRet ret; + ret.message = + base_message ? base_message : _upb_Message_New(mini_table, arena); + if (!ret.message) { + ret.status = kUpb_UnknownToMessage_OutOfMemory; + return ret; + } + // Decode sub message using unknown field contents. + const char* data = unknown_data; + uint32_t tag; + uint64_t message_len = 0; + data = upb_WireReader_ReadTag(data, &tag, NULL); + data = upb_WireReader_ReadVarint(data, &message_len, NULL); + upb_DecodeStatus status = upb_Decode(data, message_len, ret.message, + mini_table, NULL, decode_options, arena); + if (status == kUpb_DecodeStatus_OutOfMemory) { + ret.status = kUpb_UnknownToMessage_OutOfMemory; + } else if (status == kUpb_DecodeStatus_Ok) { + ret.status = kUpb_UnknownToMessage_Ok; + } else { + ret.status = kUpb_UnknownToMessage_ParseError; + } + return ret; +} + +upb_GetExtension_Status upb_Message_GetOrPromoteExtension( + upb_Message* msg, const upb_MiniTableExtension* ext_table, + int decode_options, upb_Arena* arena, upb_MessageValue* value) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + UPB_ASSERT(upb_MiniTableExtension_CType(ext_table) == kUpb_CType_Message); + const upb_Extension* extension = + UPB_PRIVATE(_upb_Message_Getext)(msg, ext_table); + if (extension) { + memcpy(value, &extension->data, sizeof(upb_MessageValue)); + return kUpb_GetExtension_Ok; + } + + // Check unknown fields, if available promote. + int found_count = 0; + uint32_t field_number = upb_MiniTableExtension_Number(ext_table); + const upb_MiniTable* extension_table = + upb_MiniTableExtension_GetSubMessage(ext_table); + // Will be populated on first parse and then reused + upb_Message* extension_msg = NULL; + int depth_limit = 100; + uintptr_t iter = kUpb_Message_UnknownBegin; + upb_StringView data; + while (upb_Message_NextUnknown(msg, &data, &iter)) { + const char* ptr = data.data; + upb_EpsCopyInputStream stream; + upb_EpsCopyInputStream_Init(&stream, &ptr, data.size); + while (!upb_EpsCopyInputStream_IsDone(&stream, &ptr)) { + uint32_t tag; + const char* unknown_begin = ptr; + ptr = upb_WireReader_ReadTag(ptr, &tag, &stream); + if (!ptr) return kUpb_GetExtension_ParseError; + if (field_number == upb_WireReader_GetFieldNumber(tag)) { + upb_StringView data; + found_count++; + upb_EpsCopyCapture capture; + upb_EpsCopyCapture_Start(&capture, &stream, unknown_begin); + ptr = _upb_WireReader_SkipValue(ptr, tag, depth_limit, &stream); + if (!ptr || !upb_EpsCopyCapture_End(&capture, &stream, ptr, &data)) { + return kUpb_GetExtension_ParseError; + } + upb_UnknownToMessageRet parse_result = + upb_MiniTable_ParseUnknownMessage( + data.data, data.size, extension_table, + /* base_message= */ extension_msg, decode_options, arena); + switch (parse_result.status) { + case kUpb_UnknownToMessage_OutOfMemory: + return kUpb_GetExtension_OutOfMemory; + case kUpb_UnknownToMessage_ParseError: + return kUpb_GetExtension_ParseError; + case kUpb_UnknownToMessage_NotFound: + return kUpb_GetExtension_NotPresent; + case kUpb_UnknownToMessage_Ok: + extension_msg = parse_result.message; + } + } else { + ptr = _upb_WireReader_SkipValue(ptr, tag, depth_limit, &stream); + if (!ptr) return kUpb_GetExtension_ParseError; + } + } + } + if (!extension_msg) { + return kUpb_GetExtension_NotPresent; + } + + upb_Extension* ext = + UPB_PRIVATE(_upb_Message_GetOrCreateExtension)(msg, ext_table, arena); + if (!ext) { + return kUpb_GetExtension_OutOfMemory; + } + ext->data.msg_val = extension_msg; + + while (found_count > 0) { + upb_FindUnknownRet found = upb_Message_FindUnknown(msg, field_number, 0); + UPB_ASSERT(found.status == kUpb_FindUnknown_Ok); + upb_StringView view = {.data = found.ptr, .size = found.len}; + if (upb_Message_DeleteUnknown(msg, &view, &found.iter, arena) == + kUpb_DeleteUnknown_AllocFail) { + return kUpb_GetExtension_OutOfMemory; + } + found_count--; + } + value->msg_val = extension_msg; + return kUpb_GetExtension_Ok; +} + +static upb_FindUnknownRet upb_FindUnknownRet_ParseError(void) { + return (upb_FindUnknownRet){.status = kUpb_FindUnknown_ParseError}; +} + +upb_FindUnknownRet upb_Message_FindUnknown(const upb_Message* msg, + uint32_t field_number, + int depth_limit) { + depth_limit = depth_limit ? depth_limit : 100; + upb_FindUnknownRet ret; + ret.iter = kUpb_Message_UnknownBegin; + upb_StringView data; + while (upb_Message_NextUnknown(msg, &data, &ret.iter)) { + upb_EpsCopyInputStream stream; + const char* ptr = data.data; + upb_EpsCopyInputStream_Init(&stream, &ptr, data.size); + + while (!upb_EpsCopyInputStream_IsDone(&stream, &ptr)) { + uint32_t tag; + const char* unknown_begin = ptr; + ptr = upb_WireReader_ReadTag(ptr, &tag, &stream); + if (!ptr) return upb_FindUnknownRet_ParseError(); + if (field_number == upb_WireReader_GetFieldNumber(tag)) { + upb_StringView data; + ret.status = kUpb_FindUnknown_Ok; + upb_EpsCopyCapture capture; + upb_EpsCopyCapture_Start(&capture, &stream, unknown_begin); + ptr = _upb_WireReader_SkipValue(ptr, tag, depth_limit, &stream); + if (!ptr || !upb_EpsCopyCapture_End(&capture, &stream, ptr, &data)) { + return upb_FindUnknownRet_ParseError(); + } + ret.ptr = data.data; + ret.len = data.size; + return ret; + } + + ptr = _upb_WireReader_SkipValue(ptr, tag, depth_limit, &stream); + if (!ptr) return upb_FindUnknownRet_ParseError(); + } + } + ret.status = kUpb_FindUnknown_NotPresent; + ret.ptr = NULL; + ret.len = 0; + ret.iter = kUpb_Message_UnknownBegin; + return ret; +} + +// Warning: See TODO +upb_UnknownToMessageRet upb_MiniTable_PromoteUnknownToMessage( + upb_Message* msg, const upb_MiniTable* mini_table, + const upb_MiniTableField* field, const upb_MiniTable* sub_mini_table, + int decode_options, upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + upb_FindUnknownRet unknown; + // We need to loop and merge unknowns that have matching tag field->number. + upb_Message* message = NULL; + // Callers should check that message is not set first before calling + // PromotoUnknownToMessage. + UPB_ASSERT(upb_MiniTable_GetSubMessageTable(field) == sub_mini_table); + bool is_oneof = upb_MiniTableField_IsInOneof(field); + if (!is_oneof || UPB_PRIVATE(_upb_Message_GetOneofCase)(msg, field) == + upb_MiniTableField_Number(field)) { + UPB_ASSERT(upb_Message_GetMessage(msg, field) == NULL); + } + upb_UnknownToMessageRet ret; + ret.status = kUpb_UnknownToMessage_Ok; + do { + unknown = upb_Message_FindUnknown( + msg, upb_MiniTableField_Number(field), + upb_DecodeOptions_GetEffectiveMaxDepth(decode_options)); + switch (unknown.status) { + case kUpb_FindUnknown_Ok: { + const char* unknown_data = unknown.ptr; + size_t unknown_size = unknown.len; + ret = upb_MiniTable_ParseUnknownMessage(unknown_data, unknown_size, + sub_mini_table, message, + decode_options, arena); + if (ret.status == kUpb_UnknownToMessage_Ok) { + message = ret.message; + upb_StringView del = + upb_StringView_FromDataAndSize(unknown_data, unknown_size); + upb_Message_DeleteUnknownStatus del_status = + upb_Message_DeleteUnknown(msg, &del, &(unknown.iter), arena); + if (del_status == kUpb_DeleteUnknown_AllocFail) { + ret.status = kUpb_UnknownToMessage_OutOfMemory; + return ret; + } + } + } break; + case kUpb_FindUnknown_ParseError: + ret.status = kUpb_UnknownToMessage_ParseError; + break; + case kUpb_FindUnknown_NotPresent: + // If we parsed at least one unknown, we are done. + ret.status = + message ? kUpb_UnknownToMessage_Ok : kUpb_UnknownToMessage_NotFound; + break; + } + } while (unknown.status == kUpb_FindUnknown_Ok); + if (message) { + if (is_oneof) { + UPB_PRIVATE(_upb_Message_SetOneofCase)(msg, field); + } + upb_Message_SetMessage(msg, field, message); + ret.message = message; + } + return ret; +} + +// Moves repeated messages in unknowns to a upb_Array. +// +// Since the repeated field is not a scalar type we don't check for +// kUpb_LabelFlags_IsPacked. +// TODO: Optimize. Instead of converting messages one at a time, +// scan all unknown data once and compact. +upb_UnknownToMessage_Status upb_MiniTable_PromoteUnknownToMessageArray( + upb_Message* msg, const upb_MiniTableField* field, + const upb_MiniTable* mini_table, int decode_options, upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + + upb_Array* repeated_messages = upb_Message_GetMutableArray(msg, field); + // Find all unknowns with given field number and parse. + upb_FindUnknownRet unknown; + do { + unknown = upb_Message_FindUnknown( + msg, upb_MiniTableField_Number(field), + upb_DecodeOptions_GetEffectiveMaxDepth(decode_options)); + if (unknown.status == kUpb_FindUnknown_Ok) { + upb_UnknownToMessageRet ret = upb_MiniTable_ParseUnknownMessage( + unknown.ptr, unknown.len, mini_table, + /* base_message= */ NULL, decode_options, arena); + if (ret.status == kUpb_UnknownToMessage_Ok) { + upb_MessageValue value; + value.msg_val = ret.message; + // Allocate array on demand before append. + if (!repeated_messages) { + if (!upb_Message_ResizeArrayUninitialized(msg, field, 0, arena)) { + return kUpb_UnknownToMessage_OutOfMemory; + } + repeated_messages = upb_Message_GetMutableArray(msg, field); + } + if (!upb_Array_Append(repeated_messages, value, arena)) { + return kUpb_UnknownToMessage_OutOfMemory; + } + upb_StringView del = + upb_StringView_FromDataAndSize(unknown.ptr, unknown.len); + upb_Message_DeleteUnknownStatus del_status = + upb_Message_DeleteUnknown(msg, &del, &(unknown.iter), arena); + if (del_status == kUpb_DeleteUnknown_AllocFail) { + return kUpb_UnknownToMessage_OutOfMemory; + } + } else { + return ret.status; + } + } + } while (unknown.status == kUpb_FindUnknown_Ok); + return kUpb_UnknownToMessage_Ok; +} + +// Moves repeated messages in unknowns to a upb_Map. +upb_UnknownToMessage_Status upb_MiniTable_PromoteUnknownToMap( + upb_Message* msg, const upb_MiniTable* mini_table, + const upb_MiniTableField* field, int decode_options, upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + + const upb_MiniTable* map_entry_mini_table = + upb_MiniTable_MapEntrySubMessage(field); + UPB_ASSERT(upb_MiniTable_FieldCount(map_entry_mini_table) == 2); + // Find all unknowns with given field number and parse. + upb_FindUnknownRet unknown; + while (1) { + unknown = upb_Message_FindUnknown( + msg, upb_MiniTableField_Number(field), + upb_DecodeOptions_GetEffectiveMaxDepth(decode_options)); + if (unknown.status != kUpb_FindUnknown_Ok) break; + upb_UnknownToMessageRet ret = upb_MiniTable_ParseUnknownMessage( + unknown.ptr, unknown.len, map_entry_mini_table, + /* base_message= */ NULL, decode_options, arena); + if (ret.status != kUpb_UnknownToMessage_Ok) return ret.status; + // Allocate map on demand before append. + upb_Map* map = upb_Message_GetOrCreateMutableMap(msg, map_entry_mini_table, + field, arena); + upb_Message* map_entry_message = ret.message; + bool insert_success = + upb_Message_SetMapEntry(map, field, map_entry_message, arena); + if (!insert_success) return kUpb_UnknownToMessage_OutOfMemory; + upb_StringView del = + upb_StringView_FromDataAndSize(unknown.ptr, unknown.len); + upb_Message_DeleteUnknownStatus del_status = + upb_Message_DeleteUnknown(msg, &del, &unknown.iter, arena); + if (del_status == kUpb_DeleteUnknown_AllocFail) { + return kUpb_UnknownToMessage_OutOfMemory; + } + } + return kUpb_UnknownToMessage_Ok; +} + +const char* upb_FindUnknownStatus_String(upb_FindUnknown_Status status) { + switch (status) { + case kUpb_FindUnknown_Ok: + return "Ok"; + case kUpb_FindUnknown_ParseError: + return "Parse error"; + case kUpb_FindUnknown_NotPresent: + return "Field not found"; + default: + return "Unknown status"; + } +} + + +#include +#include +#include +#include + + +// Must be last. + +upb_Message* upb_Message_New(const upb_MiniTable* m, upb_Arena* a) { + return _upb_Message_New(m, a); +} + +UPB_NOINLINE bool UPB_PRIVATE(_upb_Message_AddUnknownSlowPath)(upb_Message* msg, + const char* data, + size_t len, + upb_Arena* arena, + bool alias) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + { + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + // Alias fast path was already checked in the inline function that calls + // this one + if (!alias && in && in->size) { + upb_TaggedAuxPtr ptr = in->aux_data[in->size - 1]; + if (upb_TaggedAuxPtr_IsUnknownStringView(ptr)) { + upb_StringView* existing = upb_TaggedPtrAux_StringViewRepr(ptr); + if (!upb_TaggedAuxPtr_IsUnknownAliased(ptr)) { + // If part of the existing field was deleted at the beginning, we can + // reconstruct it by comparing the address of the end with the address + // of the entry itself; having the non-aliased tag means that the + // string_view and the data it points to are part of the same original + // upb_Arena_Malloc allocation, and the end of the string view + // represents the end of that allocation. + size_t prev_alloc_size = + (existing->data + existing->size) - (char*)existing; + if (SIZE_MAX - prev_alloc_size >= len) { + size_t new_alloc_size = prev_alloc_size + len; + if (upb_Arena_TryExtend(arena, existing, prev_alloc_size, + new_alloc_size)) { + memcpy(UPB_PTR_AT(existing, prev_alloc_size, void), data, len); + existing->size += len; + return true; + } + } + } + } + } + } + // TODO: b/376969853 - Add debug check that the unknown field is an overall + // valid proto field + if (!UPB_PRIVATE(_upb_Message_ReserveSlot)(msg, arena)) { + return false; + } + upb_StringView* view; + if (alias) { + view = upb_Arena_Malloc(arena, sizeof(upb_StringView)); + if (!view) return false; + view->data = data; + } else { + if (SIZE_MAX - sizeof(upb_StringView) < len) return false; + view = upb_Arena_Malloc(arena, sizeof(upb_StringView) + len); + if (!view) return false; + char* copy = UPB_PTR_AT(view, sizeof(upb_StringView), char); + memcpy(copy, data, len); + view->data = copy; + } + view->size = len; + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + in->aux_data[in->size++] = alias + ? upb_TaggedAuxPtr_MakeUnknownDataAliased(view) + : upb_TaggedAuxPtr_MakeUnknownData(view); + return true; +} + +bool UPB_PRIVATE(_upb_Message_AddUnknownV)(struct upb_Message* msg, + upb_Arena* arena, + upb_StringView data[], + size_t count) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + UPB_ASSERT(count > 0); + size_t total_len = 0; + for (size_t i = 0; i < count; i++) { + if (SIZE_MAX - total_len < data[i].size) { + return false; + } + total_len += data[i].size; + } + + { + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (in && in->size) { + upb_TaggedAuxPtr ptr = in->aux_data[in->size - 1]; + if (upb_TaggedAuxPtr_IsUnknownStringView(ptr)) { + upb_StringView* existing = upb_TaggedPtrAux_StringViewRepr(ptr); + if (!upb_TaggedAuxPtr_IsUnknownAliased(ptr)) { + size_t prev_alloc_size = + (existing->data + existing->size) - (char*)existing; + if (SIZE_MAX - prev_alloc_size >= total_len) { + size_t new_alloc_size = prev_alloc_size + total_len; + if (upb_Arena_TryExtend(arena, existing, prev_alloc_size, + new_alloc_size)) { + char* copy = UPB_PTR_AT(existing, prev_alloc_size, char); + for (size_t i = 0; i < count; i++) { + memcpy(copy, data[i].data, data[i].size); + copy += data[i].size; + } + existing->size += total_len; + return true; + } + } + } + } + } + } + + if (SIZE_MAX - sizeof(upb_StringView) < total_len) return false; + if (!UPB_PRIVATE(_upb_Message_ReserveSlot)(msg, arena)) return false; + + upb_StringView* view = + upb_Arena_Malloc(arena, sizeof(upb_StringView) + total_len); + if (!view) return false; + char* copy = UPB_PTR_AT(view, sizeof(upb_StringView), char); + view->data = copy; + view->size = total_len; + for (size_t i = 0; i < count; i++) { + memcpy(copy, data[i].data, data[i].size); + copy += data[i].size; + } + // TODO: b/376969853 - Add debug check that the unknown field is an overall + // valid proto field + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + in->aux_data[in->size++] = upb_TaggedAuxPtr_MakeUnknownData(view); + return true; +} + +void _upb_Message_DiscardUnknown_shallow(upb_Message* msg) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (!in) return; + uint32_t size = 0; + for (uint32_t i = 0; i < in->size; i++) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[i]; + if (upb_TaggedAuxPtr_IsSemanticallyKnown(tagged_ptr)) { + in->aux_data[size++] = tagged_ptr; + } + } + in->size = size; +} + +upb_Message_DeleteUnknownStatus upb_Message_DeleteUnknown(upb_Message* msg, + upb_StringView* data, + uintptr_t* iter, + upb_Arena* arena) { + upb_MessageUnknown unknown; + unknown.type = kUpb_MessageUnknownType_StringView; + unknown.value.bytes = *data; + + upb_Message_DeleteUnknownStatus res = + upb_Message_DeleteUnknown2(msg, &unknown, iter, arena); + UPB_ASSERT(unknown.type == kUpb_MessageUnknownType_StringView); + if (res == kUpb_DeleteUnknown_IterUpdated || + res == kUpb_DeleteUnknown_DeletedLast) { + // the unknown data remains the same on the result of + // kUpb_DeleteUnknown_AllocFail. + *data = unknown.value.bytes; + } + return res; +} + +size_t upb_Message_ExtensionCount(const upb_Message* msg) { + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (!in) return 0; + const upb_MiniTableExtension* ext; + upb_MessageValue val; + uintptr_t iter = kUpb_Message_ExtensionBegin; + size_t count = 0; + while (upb_Message_NextExtension(msg, &ext, &val, &iter)) { + count++; + } + return count; +} + +void upb_Message_Freeze(upb_Message* msg, const upb_MiniTable* m) { + if (upb_Message_IsFrozen(msg)) return; + UPB_PRIVATE(_upb_Message_ShallowFreeze)(msg); + + // Base Fields. + const size_t field_count = upb_MiniTable_FieldCount(m); + + for (size_t i = 0; i < field_count; i++) { + const upb_MiniTableField* f = upb_MiniTable_GetFieldByIndex(m, i); + const upb_MiniTable* m2 = upb_MiniTable_SubMessage(f); + + switch (UPB_PRIVATE(_upb_MiniTableField_Mode)(f)) { + case kUpb_FieldMode_Array: { + upb_Array* arr = upb_Message_GetMutableArray(msg, f); + if (arr) upb_Array_Freeze(arr, m2); + break; + } + case kUpb_FieldMode_Map: { + upb_Map* map = upb_Message_GetMutableMap(msg, f); + if (map) { + const upb_MiniTableField* f2 = upb_MiniTable_MapValue(m2); + const upb_MiniTable* m3 = upb_MiniTable_SubMessage(f2); + upb_Map_Freeze(map, m3); + } + break; + } + case kUpb_FieldMode_Scalar: { + if (m2) { + upb_Message* msg2 = upb_Message_GetMutableMessage(msg, f); + if (msg2) upb_Message_Freeze(msg2, m2); + } + break; + } + } + } + + // Extensions. + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + // TODO: b/376969853 - use iterator API + uint32_t size = in ? in->size : 0; + for (size_t i = 0; i < size; i++) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[i]; + upb_TaggedAux aux; + upb_TaggedAuxType type = upb_TaggedAux_Get(tagged_ptr, &aux); + if (type != kUpb_TaggedAuxType_CanonicalExtension && + type != kUpb_TaggedAuxType_NonCanonicalExtension) { + continue; + } + const upb_Extension* ext = aux.extension; + const upb_MiniTableExtension* e = ext->ext; + const upb_MiniTableField* f = &e->UPB_PRIVATE(field); + const upb_MiniTable* m2 = upb_MiniTableExtension_GetSubMessage(e); + + upb_MessageValue val; + memcpy(&val, &(ext->data), sizeof(upb_MessageValue)); + + switch (UPB_PRIVATE(_upb_MiniTableField_Mode)(f)) { + case kUpb_FieldMode_Array: { + upb_Array* arr = (upb_Array*)val.array_val; + if (arr) upb_Array_Freeze(arr, m2); + break; + } + case kUpb_FieldMode_Map: + UPB_UNREACHABLE(); // Maps cannot be extensions. + break; + case kUpb_FieldMode_Scalar: + if (upb_MiniTableField_IsSubMessage(f)) { + upb_Message* msg2 = (upb_Message*)val.msg_val; + if (msg2) upb_Message_Freeze(msg2, m2); + } + break; + } + } +} + +#include "stddef.h" + +// Must be last. + +bool upb_Message_MergeFrom(upb_Message* dst, const upb_Message* src, + const upb_MiniTable* mt, + const upb_ExtensionRegistry* extreg, + upb_Arena* arena) { + char* buf = NULL; + size_t size = 0; + // This tmp arena is used to hold the bytes for `src` serialized. This bends + // the typical "no hidden allocations" design of upb, but under a properly + // optimized implementation this extra allocation would not be necessary and + // so we don't want to unnecessarily have the bad API or bloat the passed-in + // arena with this very-short-term allocation. + upb_Arena* encode_arena = upb_Arena_New(); + upb_EncodeStatus e_status = upb_Encode(src, mt, 0, encode_arena, &buf, &size); + if (e_status != kUpb_EncodeStatus_Ok) { + upb_Arena_Free(encode_arena); + return false; + } + upb_DecodeStatus d_status = upb_Decode(buf, size, dst, mt, extreg, 0, arena); + if (d_status != kUpb_DecodeStatus_Ok) { + upb_Arena_Free(encode_arena); + return false; + } + upb_Arena_Free(encode_arena); + return true; +} + + +#include +#include +#include + + +// Our awkward dance for including fasttable only when it is enabled. +#if UPB_FASTTABLE +#define UPB_INCLUDE_FAST_DECODE +#endif + +#ifdef UPB_INCLUDE_FAST_DECODE +#endif + +#undef UPB_INCLUDE_FAST_DECODE + +// Must be last. + +bool upb_MiniTable_SetSubMessage(upb_MiniTable* table, + upb_MiniTableField* field, + const upb_MiniTable* sub) { + UPB_ASSERT((uintptr_t)table->UPB_PRIVATE(fields) <= (uintptr_t)field && + (uintptr_t)field < (uintptr_t)(table->UPB_PRIVATE(fields) + + table->UPB_PRIVATE(field_count))); + UPB_ASSERT(sub); + + const bool sub_is_map = sub->UPB_PRIVATE(ext) & kUpb_ExtMode_IsMapEntry; + + switch (field->UPB_PRIVATE(descriptortype)) { + case kUpb_FieldType_Message: + if (sub_is_map) { + const bool table_is_map = + table->UPB_PRIVATE(ext) & kUpb_ExtMode_IsMapEntry; + if (UPB_UNLIKELY(table_is_map)) return false; + + field->UPB_PRIVATE(mode) = + (field->UPB_PRIVATE(mode) & ~kUpb_FieldMode_Mask) | + kUpb_FieldMode_Map; + +#if UPB_FASTTABLE + // The fasttable decoder cannot decode maps. Unfortunately we do not + // know until this moment that the field is a map, so we have to + // overwrite the fasttable entry (if any) that we built for this field + // previously. + int size = table->UPB_PRIVATE(table_mask) == 0xff + ? 0 + : ((table->UPB_PRIVATE(table_mask) >> 3) + 1); + for (int i = 0; i < size; i++) { + _upb_FastTable_Entry* entry = &table->UPB_PRIVATE(fasttable)[i]; + uint32_t field_number = (((int)entry->field_data >> 3) & 0xf) | + (((int)entry->field_data >> 4) & 0x7f0); + if (field_number == upb_MiniTableField_Number(field)) { + entry->field_parser = &_upb_FastDecoder_DecodeGeneric; + entry->field_data = 0; + } + } +#endif + } + break; + + case kUpb_FieldType_Group: + if (UPB_UNLIKELY(sub_is_map)) return false; + break; + + default: + return false; + } + + upb_MiniTableSubInternal* table_sub = + UPB_PTR_AT(field, field->UPB_PRIVATE(submsg_ofs) * kUpb_SubmsgOffsetBytes, + upb_MiniTableSubInternal); + // TODO: Add this assert back once YouTube is updated to not call + // this function repeatedly. + // UPB_ASSERT(upb_MiniTable_GetSubMessageTable(table, field) == NULL); + table_sub->UPB_PRIVATE(submsg) = sub; + return true; +} + +bool upb_MiniTable_SetSubEnum(upb_MiniTable* table, upb_MiniTableField* field, + const upb_MiniTableEnum* sub) { + UPB_ASSERT((uintptr_t)table->UPB_PRIVATE(fields) <= (uintptr_t)field && + (uintptr_t)field < (uintptr_t)(table->UPB_PRIVATE(fields) + + table->UPB_PRIVATE(field_count))); + UPB_ASSERT(sub); + + if (field->UPB_PRIVATE(descriptortype) != kUpb_FieldType_Enum) { + return false; + } + + if ((table->UPB_PRIVATE(ext) & kUpb_ExtMode_IsMapEntry) && + !upb_MiniTableEnum_CheckValue(sub, 0)) { + // An enum used in a map must include 0 as a value. This matches a check + // performed in protoc ("Enum value in map must define 0 as the first + // value"). Protoc should ensure that we never get here. + // + // This ends up being important if we receive wire messages where a map + // entry omits the value (and thus defaults to 0). + return false; + } + + upb_MiniTableSubInternal* table_sub = + UPB_PTR_AT(field, field->UPB_PRIVATE(submsg_ofs) * kUpb_SubmsgOffsetBytes, + upb_MiniTableSubInternal); + *table_sub = upb_MiniTableSub_FromEnum(sub); + return true; +} + +uint32_t upb_MiniTable_GetSubList(const upb_MiniTable* m, + const upb_MiniTableField** subs) { + uint32_t msg_count = 0; + uint32_t enum_count = 0; + + for (int i = 0; i < upb_MiniTable_FieldCount(m); i++) { + const upb_MiniTableField* f = upb_MiniTable_GetFieldByIndex(m, i); + if (upb_MiniTableField_CType(f) == kUpb_CType_Message) { + *subs = f; + ++subs; + msg_count++; + } + } + + for (int i = 0; i < upb_MiniTable_FieldCount(m); i++) { + const upb_MiniTableField* f = upb_MiniTable_GetFieldByIndex(m, i); + if (upb_MiniTableField_IsClosedEnum(f)) { + *subs = f; + ++subs; + enum_count++; + } + } + + return (msg_count << 16) | enum_count; +} + +// The list of sub_tables and sub_enums must exactly match the number and order +// of sub-message fields and sub-enum fields given by upb_MiniTable_GetSubList() +// above. +bool upb_MiniTable_Link(upb_MiniTable* m, const upb_MiniTable** sub_tables, + size_t sub_table_count, + const upb_MiniTableEnum** sub_enums, + size_t sub_enum_count) { + uint32_t msg_count = 0; + uint32_t enum_count = 0; + + for (int i = 0; i < upb_MiniTable_FieldCount(m); i++) { + upb_MiniTableField* f = + (upb_MiniTableField*)upb_MiniTable_GetFieldByIndex(m, i); + if (upb_MiniTableField_CType(f) == kUpb_CType_Message) { + const upb_MiniTable* sub = sub_tables[msg_count++]; + if (msg_count > sub_table_count) return false; + if (sub && !upb_MiniTable_SetSubMessage(m, f, sub)) return false; + } + } + + for (int i = 0; i < upb_MiniTable_FieldCount(m); i++) { + upb_MiniTableField* f = + (upb_MiniTableField*)upb_MiniTable_GetFieldByIndex(m, i); + if (upb_MiniTableField_IsClosedEnum(f)) { + const upb_MiniTableEnum* sub = sub_enums[enum_count++]; + if (enum_count > sub_enum_count) return false; + if (sub && !upb_MiniTable_SetSubEnum(m, f, sub)) return false; + } + } + + return (msg_count == sub_table_count) && (enum_count == sub_enum_count); +} + + +#include +#include +#include +#include +#include + + +// Our awkward dance for including fasttable only when it is enabled. +#if UPB_FASTTABLE +#define UPB_INCLUDE_FAST_DECODE +#endif + +#ifdef UPB_INCLUDE_FAST_DECODE +#endif + +#undef UPB_INCLUDE_FAST_DECODE + +// Must be last. + +// We reserve unused hasbits to make room for upb_Message fields. +#define kUpb_Reserved_Hasbytes sizeof(struct upb_Message) + +// 64 is the first hasbit that we currently use. +#define kUpb_Reserved_Hasbits (kUpb_Reserved_Hasbytes * 8) + +#define kUpb_OneOfLayoutItem_IndexSentinel ((uint16_t)-1) + +// Stores the field number of the present value of the oneof +#define kUpb_OneOf_CaseFieldRep (kUpb_FieldRep_4Byte) + +// The maximum field number that can be encoded on the wire. +// Note that this limit does not apply to MessageSet, which can have field +// numbers up to INT32_MAX. +#define kUpb_MaxFieldNumber ((1 << 29) - 1) + +typedef struct { + // Index of the corresponding field. The field's offset will be the index of + // the next field in a linked list. + uint16_t field_index; + // This enum is stored in bytes to avoid trailing padding while preserving + // two-byte alignment. + uint8_t /* upb_FieldRep*/ rep; +} upb_OneOfLayoutItem; + +typedef struct { + upb_OneOfLayoutItem* data; + size_t size; + size_t buf_capacity_bytes; +} upb_OneOfLayoutItemVector; + +typedef struct { + upb_MdDecoder base; + upb_MiniTableField* fields; + upb_MiniTablePlatform platform; + upb_OneOfLayoutItemVector oneofs; + upb_Arena* arena; + // Initially tracks the count of each field rep type; then, during assignment, + // tracks the base offset for the next processed field of the given rep. + uint16_t rep_counts_offsets[kUpb_FieldRep_Max + 1]; + uint32_t sub_count; + bool is_extension; + + // When building fasttables, we don't know the total size of the table until + // we're done decoding, so we allocate a temporary table on the stack and + // allocate the real thing from the arena later. + upb_MiniTable table; +} upb_MtDecoder; + +// In each field's offset, we temporarily store a presence classifier: +enum PresenceClass { + kNoPresence = 0, + kHasbitPresence = 1, + kRequiredPresence = 2, + kOneofBase = 3, + // Negative values refer to a specific oneof with that number. Positive + // values >= kOneofBase indicate that this field is in a oneof, and specify + // the next field in this oneof's linked list. +}; + +static bool upb_MtDecoder_FieldIsPackable(upb_MiniTableField* field) { + return (field->UPB_PRIVATE(mode) & kUpb_FieldMode_Array) && + upb_FieldType_IsPackable(field->UPB_PRIVATE(descriptortype)); +} + +typedef struct { + uint16_t submsg_count; + uint16_t subenum_count; +} upb_SubCounts; + +static void upb_MiniTable_SetTypeAndSub(upb_MtDecoder* d, + upb_MiniTableField* field, + upb_FieldType type, + uint64_t msg_modifiers, + bool is_proto3_enum) { + if (is_proto3_enum) { + UPB_ASSERT(type == kUpb_FieldType_Enum); + type = kUpb_FieldType_Int32; + field->UPB_PRIVATE(mode) |= kUpb_LabelFlags_IsAlternate; + } else if (type == kUpb_FieldType_String && + !(msg_modifiers & kUpb_MessageModifier_ValidateUtf8)) { + type = kUpb_FieldType_Bytes; + field->UPB_PRIVATE(mode) |= kUpb_LabelFlags_IsAlternate; + } + + field->UPB_PRIVATE(descriptortype) = type; + + if (upb_MtDecoder_FieldIsPackable(field) && + (msg_modifiers & kUpb_MessageModifier_DefaultIsPacked)) { + field->UPB_PRIVATE(mode) |= kUpb_LabelFlags_IsPacked; + } + + // We initially set `submsg_ofs` to the index of the sub in the list of subs. + // Later, we'll update it to be a relative byte offset. + if (type == kUpb_FieldType_Message || type == kUpb_FieldType_Group || + type == kUpb_FieldType_Enum) { + field->UPB_PRIVATE(submsg_ofs) = d->sub_count++; + } else { + field->UPB_PRIVATE(submsg_ofs) = kUpb_NoSub; + } +} + +static const char kUpb_EncodedToType[] = { + [kUpb_EncodedType_Double] = kUpb_FieldType_Double, + [kUpb_EncodedType_Float] = kUpb_FieldType_Float, + [kUpb_EncodedType_Int64] = kUpb_FieldType_Int64, + [kUpb_EncodedType_UInt64] = kUpb_FieldType_UInt64, + [kUpb_EncodedType_Int32] = kUpb_FieldType_Int32, + [kUpb_EncodedType_Fixed64] = kUpb_FieldType_Fixed64, + [kUpb_EncodedType_Fixed32] = kUpb_FieldType_Fixed32, + [kUpb_EncodedType_Bool] = kUpb_FieldType_Bool, + [kUpb_EncodedType_String] = kUpb_FieldType_String, + [kUpb_EncodedType_Group] = kUpb_FieldType_Group, + [kUpb_EncodedType_Message] = kUpb_FieldType_Message, + [kUpb_EncodedType_Bytes] = kUpb_FieldType_Bytes, + [kUpb_EncodedType_UInt32] = kUpb_FieldType_UInt32, + [kUpb_EncodedType_OpenEnum] = kUpb_FieldType_Enum, + [kUpb_EncodedType_SFixed32] = kUpb_FieldType_SFixed32, + [kUpb_EncodedType_SFixed64] = kUpb_FieldType_SFixed64, + [kUpb_EncodedType_SInt32] = kUpb_FieldType_SInt32, + [kUpb_EncodedType_SInt64] = kUpb_FieldType_SInt64, + [kUpb_EncodedType_ClosedEnum] = kUpb_FieldType_Enum, +}; + +static void upb_MiniTable_SetField(upb_MtDecoder* d, uint8_t ch, + upb_MiniTableField* field, + uint64_t msg_modifiers) { + static const char kUpb_EncodedToFieldRep[] = { + [kUpb_EncodedType_Double] = kUpb_FieldRep_8Byte, + [kUpb_EncodedType_Float] = kUpb_FieldRep_4Byte, + [kUpb_EncodedType_Int64] = kUpb_FieldRep_8Byte, + [kUpb_EncodedType_UInt64] = kUpb_FieldRep_8Byte, + [kUpb_EncodedType_Int32] = kUpb_FieldRep_4Byte, + [kUpb_EncodedType_Fixed64] = kUpb_FieldRep_8Byte, + [kUpb_EncodedType_Fixed32] = kUpb_FieldRep_4Byte, + [kUpb_EncodedType_Bool] = kUpb_FieldRep_1Byte, + [kUpb_EncodedType_String] = kUpb_FieldRep_StringView, + [kUpb_EncodedType_Bytes] = kUpb_FieldRep_StringView, + [kUpb_EncodedType_UInt32] = kUpb_FieldRep_4Byte, + [kUpb_EncodedType_OpenEnum] = kUpb_FieldRep_4Byte, + [kUpb_EncodedType_SFixed32] = kUpb_FieldRep_4Byte, + [kUpb_EncodedType_SFixed64] = kUpb_FieldRep_8Byte, + [kUpb_EncodedType_SInt32] = kUpb_FieldRep_4Byte, + [kUpb_EncodedType_SInt64] = kUpb_FieldRep_8Byte, + [kUpb_EncodedType_ClosedEnum] = kUpb_FieldRep_4Byte, + }; + + char pointer_rep = d->platform == kUpb_MiniTablePlatform_32Bit + ? kUpb_FieldRep_4Byte + : kUpb_FieldRep_8Byte; + + int8_t type = _upb_FromBase92(ch); + if (ch >= _upb_ToBase92(kUpb_EncodedType_RepeatedBase)) { + type -= kUpb_EncodedType_RepeatedBase; + field->UPB_PRIVATE(mode) = kUpb_FieldMode_Array; + field->UPB_PRIVATE(mode) |= pointer_rep << kUpb_FieldRep_Shift; + field->UPB_PRIVATE(offset) = kNoPresence; + } else { + field->UPB_PRIVATE(mode) = kUpb_FieldMode_Scalar; + field->UPB_PRIVATE(offset) = kHasbitPresence; + if (type == kUpb_EncodedType_Group || type == kUpb_EncodedType_Message) { + field->UPB_PRIVATE(mode) |= pointer_rep << kUpb_FieldRep_Shift; + } else if ((unsigned long)type >= sizeof(kUpb_EncodedToFieldRep)) { + upb_MdDecoder_ErrorJmp(&d->base, "Invalid field type: %d", (int)type); + } else { + field->UPB_PRIVATE(mode) |= kUpb_EncodedToFieldRep[type] + << kUpb_FieldRep_Shift; + } + } + if ((unsigned long)type >= sizeof(kUpb_EncodedToType)) { + upb_MdDecoder_ErrorJmp(&d->base, "Invalid field type: %d", (int)type); + } + upb_MiniTable_SetTypeAndSub(d, field, kUpb_EncodedToType[type], msg_modifiers, + type == kUpb_EncodedType_OpenEnum); +} + +static void upb_MtDecoder_ModifyField(upb_MtDecoder* d, + uint32_t message_modifiers, + uint32_t field_modifiers, + upb_MiniTableField* field) { + if (field_modifiers & kUpb_EncodedFieldModifier_FlipPacked) { + if (!upb_MtDecoder_FieldIsPackable(field)) { + upb_MdDecoder_ErrorJmp(&d->base, + "Cannot flip packed on unpackable field %" PRIu32, + upb_MiniTableField_Number(field)); + } + field->UPB_PRIVATE(mode) ^= kUpb_LabelFlags_IsPacked; + } + + if (field_modifiers & kUpb_EncodedFieldModifier_FlipValidateUtf8) { + if (field->UPB_PRIVATE(descriptortype) != kUpb_FieldType_Bytes || + !(field->UPB_PRIVATE(mode) & kUpb_LabelFlags_IsAlternate)) { + upb_MdDecoder_ErrorJmp(&d->base, + "Cannot flip ValidateUtf8 on field %" PRIu32 + ", type=%d, mode=%d", + upb_MiniTableField_Number(field), + (int)field->UPB_PRIVATE(descriptortype), + (int)field->UPB_PRIVATE(mode)); + } + field->UPB_PRIVATE(descriptortype) = kUpb_FieldType_String; + field->UPB_PRIVATE(mode) &= ~kUpb_LabelFlags_IsAlternate; + } + + bool singular = field_modifiers & kUpb_EncodedFieldModifier_IsProto3Singular; + bool required = field_modifiers & kUpb_EncodedFieldModifier_IsRequired; + + // Validate. + if ((singular || required) && field->UPB_PRIVATE(offset) != kHasbitPresence) { + upb_MdDecoder_ErrorJmp(&d->base, + "Invalid modifier(s) for repeated field %" PRIu32, + upb_MiniTableField_Number(field)); + } + if (singular && required) { + upb_MdDecoder_ErrorJmp( + &d->base, "Field %" PRIu32 " cannot be both singular and required", + upb_MiniTableField_Number(field)); + } + + if (singular && upb_MiniTableField_IsSubMessage(field)) { + upb_MdDecoder_ErrorJmp(&d->base, + "Field %" PRIu32 " cannot be a singular submessage", + upb_MiniTableField_Number(field)); + } + + if (singular) field->UPB_PRIVATE(offset) = kNoPresence; + if (required) { + field->UPB_PRIVATE(offset) = kRequiredPresence; + } +} + +static void upb_MtDecoder_PushOneof(upb_MtDecoder* d, + upb_OneOfLayoutItem item) { + if (item.field_index == kUpb_OneOfLayoutItem_IndexSentinel) { + upb_MdDecoder_ErrorJmp(&d->base, "Empty oneof"); + } + if ((d->oneofs.size + 1) * sizeof(*d->oneofs.data) > + d->oneofs.buf_capacity_bytes) { + size_t new_cap = UPB_MAX(8, d->oneofs.size * 2) * sizeof(*d->oneofs.data); + d->oneofs.data = + upb_grealloc(d->oneofs.data, d->oneofs.buf_capacity_bytes, new_cap); + upb_MdDecoder_CheckOutOfMemory(&d->base, d->oneofs.data); + d->oneofs.buf_capacity_bytes = new_cap; + } + item.field_index -= kOneofBase; + + d->rep_counts_offsets[kUpb_OneOf_CaseFieldRep]++; + d->rep_counts_offsets[item.rep]++; + d->oneofs.data[d->oneofs.size++] = item; +} + +static size_t upb_MtDecoder_SizeOfRep(upb_FieldRep rep, + upb_MiniTablePlatform platform) { + enum { string_view_size_32 = 8, string_view_size_64 = 16 }; + UPB_STATIC_ASSERT(sizeof(upb_StringView) == + UPB_SIZE(string_view_size_32, string_view_size_64), + "StringView size mismatch"); + static const uint8_t kRepToSize32[] = { + [kUpb_FieldRep_1Byte] = 1, + [kUpb_FieldRep_4Byte] = 4, + [kUpb_FieldRep_StringView] = string_view_size_32, + [kUpb_FieldRep_8Byte] = 8, + }; + static const uint8_t kRepToSize64[] = { + [kUpb_FieldRep_1Byte] = 1, + [kUpb_FieldRep_4Byte] = 4, + [kUpb_FieldRep_StringView] = string_view_size_64, + [kUpb_FieldRep_8Byte] = 8, + }; + return platform == kUpb_MiniTablePlatform_32Bit ? kRepToSize32[rep] + : kRepToSize64[rep]; +} + +static size_t upb_MtDecoder_AlignOfRep(upb_FieldRep rep, + upb_MiniTablePlatform platform) { + enum { string_view_align_32 = 4, string_view_align_64 = 8 }; + UPB_STATIC_ASSERT(UPB_ALIGN_OF(upb_StringView) == + UPB_SIZE(string_view_align_32, string_view_align_64), + "StringView size mismatch"); + + static const uint8_t kRepToAlign32[] = { + [kUpb_FieldRep_1Byte] = 1, + [kUpb_FieldRep_4Byte] = 4, + [kUpb_FieldRep_StringView] = string_view_align_32, + [kUpb_FieldRep_8Byte] = 8, + }; + static const uint8_t kRepToAlign64[] = { + [kUpb_FieldRep_1Byte] = 1, + [kUpb_FieldRep_4Byte] = 4, + [kUpb_FieldRep_StringView] = string_view_align_64, + [kUpb_FieldRep_8Byte] = 8, + }; + return platform == kUpb_MiniTablePlatform_32Bit ? kRepToAlign32[rep] + : kRepToAlign64[rep]; +} + +static const char* upb_MtDecoder_DecodeOneofField(upb_MtDecoder* d, + const char* ptr, + char first_ch, + upb_OneOfLayoutItem* item) { + uint32_t field_num; + ptr = upb_MdDecoder_DecodeBase92Varint( + &d->base, ptr, first_ch, kUpb_EncodedValue_MinOneofField, + kUpb_EncodedValue_MaxOneofField, &field_num); + upb_MiniTableField* f = + (void*)upb_MiniTable_FindFieldByNumber(&d->table, field_num); + + if (!f) { + upb_MdDecoder_ErrorJmp(&d->base, + "Couldn't add field number %" PRIu32 + " to oneof, no such field number.", + field_num); + } + if (f->UPB_PRIVATE(offset) != kHasbitPresence) { + upb_MdDecoder_ErrorJmp( + &d->base, + "Cannot add repeated, required, or singular field %" PRIu32 + " to oneof.", + field_num); + } + + // Oneof storage must be large enough to accommodate the largest member. + int rep = f->UPB_PRIVATE(mode) >> kUpb_FieldRep_Shift; + size_t new_size = upb_MtDecoder_SizeOfRep(rep, d->platform); + size_t new_align = upb_MtDecoder_AlignOfRep(rep, d->platform); + size_t current_size = upb_MtDecoder_SizeOfRep(item->rep, d->platform); + size_t current_align = upb_MtDecoder_AlignOfRep(item->rep, d->platform); + + if (new_size > current_size || + (new_size == current_size && new_align > current_align)) { + UPB_ASSERT(new_align >= current_align); + item->rep = rep; + } else { + UPB_ASSERT(current_align >= new_align); + } + // Prepend this field to the linked list. + f->UPB_PRIVATE(offset) = item->field_index; + item->field_index = (f - d->fields) + kOneofBase; + return ptr; +} + +static const char* upb_MtDecoder_DecodeOneofs(upb_MtDecoder* d, + const char* ptr) { + upb_OneOfLayoutItem item = { + .rep = 0, .field_index = kUpb_OneOfLayoutItem_IndexSentinel}; + while (ptr < d->base.end) { + char ch = *ptr++; + if (ch == kUpb_EncodedValue_FieldSeparator) { + // Field separator, no action needed. + } else if (ch == kUpb_EncodedValue_OneofSeparator) { + // End of oneof. + upb_MtDecoder_PushOneof(d, item); + item.field_index = + kUpb_OneOfLayoutItem_IndexSentinel; // Move to next oneof. + } else { + ptr = upb_MtDecoder_DecodeOneofField(d, ptr, ch, &item); + } + } + + // Push final oneof. + upb_MtDecoder_PushOneof(d, item); + return ptr; +} + +static const char* upb_MtDecoder_ParseModifier(upb_MtDecoder* d, + const char* ptr, char first_ch, + upb_MiniTableField* last_field, + uint64_t* msg_modifiers) { + uint32_t mod; + ptr = upb_MdDecoder_DecodeBase92Varint(&d->base, ptr, first_ch, + kUpb_EncodedValue_MinModifier, + kUpb_EncodedValue_MaxModifier, &mod); + if (last_field) { + upb_MtDecoder_ModifyField(d, *msg_modifiers, mod, last_field); + } else { + if (d->is_extension) { + upb_MdDecoder_ErrorJmp(&d->base, + "Extensions cannot have message modifiers"); + } + *msg_modifiers = mod; + } + + return ptr; +} + +size_t upb_MtDecoder_PtrSize(upb_MtDecoder* d) { + return d->platform == kUpb_MiniTablePlatform_32Bit ? 4 : 8; +} + +static void upb_MtDecoder_AllocateSubs(upb_MtDecoder* d, + upb_MiniTableSubInternal* subs) { + // The `ofs` variable tracks byte offset between the current field and the + // current entry in the `subs` array. Whenever we move to the next entry in + // the `fields` array, the offset decreases by the size of the field, but + // whenever we move to the next entry in the `subs` array, the offset + // *increases* by the size of the entry in the `subs` array. + UPB_ASSERT((char*)subs >= (char*)d->fields); + size_t ofs = (char*)subs - (char*)d->fields; + uintptr_t ptr_size = upb_MtDecoder_PtrSize(d); + for (int i = 0; i < d->table.UPB_PRIVATE(field_count); + i++, ofs -= sizeof(upb_MiniTableField)) { + upb_MiniTableField* f = &d->fields[i]; + if (f->UPB_PRIVATE(submsg_ofs) == kUpb_NoSub) continue; + size_t u32_ofs = ofs / kUpb_SubmsgOffsetBytes; + UPB_ASSERT((ofs % 4) == 0); + UPB_ASSERT((i * sizeof(upb_MiniTableField) + ofs) % ptr_size == 0); + if (u32_ofs > UINT16_MAX) { + upb_MdDecoder_ErrorJmp(&d->base, "Submessage offset overflow"); + } + f->UPB_PRIVATE(submsg_ofs) = u32_ofs; + ofs += ptr_size; + } +} + +static const char* upb_MtDecoder_Parse(upb_MtDecoder* d, const char* ptr, + size_t len, void* fields, + size_t field_size, + uint16_t* field_count) { + uint64_t msg_modifiers = 0; + uint32_t last_field_number = 0; + upb_MiniTableField* last_field = NULL; + bool need_dense_below = !d->is_extension; + + d->base.end = UPB_PTRADD(ptr, len); + + while (ptr < d->base.end) { + char ch = *ptr++; + if (ch <= kUpb_EncodedValue_MaxField) { + if (d->is_extension && last_field) { + // For extensions, consume only a single field and then return. + return --ptr; + } + upb_MiniTableField* field = fields; + if (*field_count == UINT16_MAX) { + upb_MdDecoder_ErrorJmp( + &d->base, "Fields in message exceed the limit of %u", UINT16_MAX); + } + *field_count += 1; + fields = (char*)fields + field_size; + uint32_t number = ++last_field_number; + if (number == 0 || (number > kUpb_MaxFieldNumber && !d->is_extension)) { + upb_MdDecoder_ErrorJmp(&d->base, "Invalid field number: %" PRIu32, + number); + } + field->UPB_PRIVATE(number) = number; + last_field = field; + upb_MiniTable_SetField(d, ch, field, msg_modifiers); + } else if (kUpb_EncodedValue_MinModifier <= ch && + ch <= kUpb_EncodedValue_MaxModifier) { + ptr = upb_MtDecoder_ParseModifier(d, ptr, ch, last_field, &msg_modifiers); + if (msg_modifiers & kUpb_MessageModifier_IsExtendable) { + d->table.UPB_PRIVATE(ext) |= kUpb_ExtMode_Extendable; + } + } else if (ch == kUpb_EncodedValue_End) { + if (d->is_extension) { + upb_MdDecoder_ErrorJmp(&d->base, "Extensions cannot have oneofs."); + } + ptr = upb_MtDecoder_DecodeOneofs(d, ptr); + } else if (kUpb_EncodedValue_MinSkip <= ch && + ch <= kUpb_EncodedValue_MaxSkip) { + if (need_dense_below) { + d->table.UPB_PRIVATE(dense_below) = d->table.UPB_PRIVATE(field_count); + need_dense_below = false; + } + uint32_t skip; + ptr = upb_MdDecoder_DecodeBase92Varint(&d->base, ptr, ch, + kUpb_EncodedValue_MinSkip, + kUpb_EncodedValue_MaxSkip, &skip); + if (skip == 0) { + upb_MdDecoder_ErrorJmp(&d->base, "Invalid skip value: 0"); + } + last_field_number += skip; + last_field_number--; // Next field seen will increment. + } else { + upb_MdDecoder_ErrorJmp(&d->base, "Invalid char: %c", ch); + } + } + + if (need_dense_below) { + d->table.UPB_PRIVATE(dense_below) = d->table.UPB_PRIVATE(field_count); + } + + return ptr; +} + +static void upb_MtDecoder_ParseMessage(upb_MtDecoder* d, const char* data, + size_t len) { + const size_t bytes_per_field = + sizeof(upb_MiniTableField) + sizeof(upb_MiniTableSubInternal); + // Buffer length is an upper bound on the number of fields. We will return + // what we don't use. + if ((SIZE_MAX - 4) / bytes_per_field < len) { + upb_MdDecoder_ErrorJmp(&d->base, "MiniDescriptor is too large"); + } + // Max size used per field is a upb_MiniTableField and a + // upb_MiniTableSubInternal. There could also be up to 4 bytes of padding, + // since sizeof(upb_MiniTableField) == 12 and + // alignof(upb_MiniTableSubInternal) == 8. + UPB_STATIC_ASSERT(UPB_ALIGN_OF(upb_MiniTableSubInternal) - + UPB_ALIGN_OF(upb_MiniTableField) <= + 4, + "alignment difference is too large"); + const size_t initial_bytes = bytes_per_field * len + 4; + d->fields = upb_Arena_Malloc(d->arena, initial_bytes); + upb_MdDecoder_CheckOutOfMemory(&d->base, d->fields); + + d->table.UPB_PRIVATE(field_count) = 0; + d->table.UPB_PRIVATE(fields) = d->fields; + upb_MtDecoder_Parse(d, data, len, d->fields, sizeof(*d->fields), + &d->table.UPB_PRIVATE(field_count)); + size_t field_bytes = + UPB_ALIGN_UP(d->table.UPB_PRIVATE(field_count) * sizeof(*d->fields), + upb_MtDecoder_PtrSize(d)); + upb_MiniTableSubInternal* subs = + UPB_PTR_AT(d->fields, field_bytes, upb_MiniTableSubInternal); + memset(subs, 0, sizeof(upb_MiniTableSubInternal) * d->sub_count); + + // We now know how much space we actually used, so shrink the allocation to + // that size. + size_t final_bytes = + field_bytes + sizeof(upb_MiniTableSubInternal) * d->sub_count; + upb_Arena_ShrinkLast(d->arena, d->fields, initial_bytes, final_bytes); + upb_MtDecoder_AllocateSubs(d, subs); +} + +static void upb_MtDecoder_CalculateAlignments(upb_MtDecoder* d) { + // Add alignment counts for non-oneof fields (oneofs were added already) + int n = d->table.UPB_PRIVATE(field_count); + for (int i = 0; i < n; i++) { + upb_MiniTableField* f = &d->fields[i]; + if (f->UPB_PRIVATE(offset) >= kOneofBase) continue; + d->rep_counts_offsets[f->UPB_PRIVATE(mode) >> kUpb_FieldRep_Shift]++; + } + + // Reserve properly aligned space for each type of field representation + // present in this message. When we iterate over the fields, they will obtain + // their offset from within the region matching their alignment requirements. + size_t base = d->table.UPB_PRIVATE(size); + // Start with the lowest alignment requirement, going up, because: + // 1. If there are presence bits, we won't be aligned to start, but adding + // some lower-alignment fields may get us closer without wasting space to + // padding. + // 2. The allocator enforces 8 byte alignment, so moving intermediate padding + // to trailing padding doesn't save us anything. + for (upb_FieldRep rep = kUpb_FieldRep_1Byte; rep <= kUpb_FieldRep_Max; + rep++) { + uint16_t count = d->rep_counts_offsets[rep]; + if (count) { + base = UPB_ALIGN_UP(base, upb_MtDecoder_AlignOfRep(rep, d->platform)); + // This entry now tracks the base offset for this field representation + // type, instead of the count + d->rep_counts_offsets[rep] = base; + base += upb_MtDecoder_SizeOfRep(rep, d->platform) * count; + } + } + static const size_t max = UINT16_MAX; + if (base > max) { + upb_MdDecoder_ErrorJmp( + &d->base, "Message size exceeded maximum size of %zu bytes", max); + } + d->table.UPB_PRIVATE(size) = (uint16_t)base; +} + +static size_t upb_MiniTable_DivideRoundUp(size_t n, size_t d) { + return (n + d - 1) / d; +} + +static void upb_MtDecoder_AssignHasbits(upb_MtDecoder* d) { + int n = d->table.UPB_PRIVATE(field_count); + size_t last_hasbit = kUpb_Reserved_Hasbits - 1; + + // First assign required fields, which must have the lowest hasbits. + for (int i = 0; i < n; i++) { + upb_MiniTableField* field = + (upb_MiniTableField*)&d->table.UPB_PRIVATE(fields)[i]; + if (field->UPB_PRIVATE(offset) == kRequiredPresence) { + field->presence = ++last_hasbit; + } else if (field->UPB_PRIVATE(offset) == kNoPresence) { + field->presence = 0; + } + } + if (last_hasbit >= kUpb_Reserved_Hasbits + 63) { + upb_MdDecoder_ErrorJmp(&d->base, "Too many required fields"); + } + + d->table.UPB_PRIVATE(required_count) = + last_hasbit - (kUpb_Reserved_Hasbits - 1); + UPB_ASSERT(d->table.UPB_PRIVATE(required_count) < 64); + + // Next assign non-required hasbit fields. + for (int i = 0; i < n; i++) { + upb_MiniTableField* field = + (upb_MiniTableField*)&d->table.UPB_PRIVATE(fields)[i]; + if (field->UPB_PRIVATE(offset) == kHasbitPresence) { + field->presence = ++last_hasbit; + } + } + + d->table.UPB_PRIVATE(size) = + last_hasbit ? upb_MiniTable_DivideRoundUp(last_hasbit + 1, 8) : 0; +} + +static size_t upb_MtDecoder_Place(upb_MtDecoder* d, upb_FieldRep rep) { + size_t size = upb_MtDecoder_SizeOfRep(rep, d->platform); + size_t offset = d->rep_counts_offsets[rep]; + d->rep_counts_offsets[rep] += size; + return offset; +} + +static void upb_MtDecoder_AssignOffsets(upb_MtDecoder* d) { + upb_MiniTableField* field_end = + UPB_PTRADD(d->fields, d->table.UPB_PRIVATE(field_count)); + for (upb_MiniTableField* field = d->fields; field < field_end; field++) { + if (field->UPB_PRIVATE(offset) >= kOneofBase) continue; + field->UPB_PRIVATE(offset) = + upb_MtDecoder_Place(d, field->UPB_PRIVATE(mode) >> kUpb_FieldRep_Shift); + } + + upb_OneOfLayoutItem* oneof_end = UPB_PTRADD(d->oneofs.data, d->oneofs.size); + + for (upb_OneOfLayoutItem* item = d->oneofs.data; item < oneof_end; item++) { + upb_MiniTableField* f = &d->fields[item->field_index]; + uint16_t case_offset = upb_MtDecoder_Place(d, kUpb_OneOf_CaseFieldRep); + uint16_t data_offset = upb_MtDecoder_Place(d, item->rep); + while (true) { + f->presence = ~case_offset; + uint16_t next_offset = f->UPB_PRIVATE(offset); + f->UPB_PRIVATE(offset) = data_offset; + if (next_offset == kUpb_OneOfLayoutItem_IndexSentinel) break; + UPB_ASSERT(next_offset - kOneofBase < d->table.UPB_PRIVATE(field_count)); + f = &d->fields[next_offset - kOneofBase]; + } + } + + // Since messages are always allocated on arenas, we can save repeatedly + // realigning by doing alignment at minitable construction time. We don't want + // to align to UPB_MALLOC_ALIGN because it can change with sanitizers, and if + // we're generating code we don't want to calculate size differently depending + // on the proto compiler's host or build configuration. + d->table.UPB_PRIVATE(size) = + UPB_ALIGN_UP(d->table.UPB_PRIVATE(size), kUpb_Message_Align); +} + +static void upb_MtDecoder_ValidateEntryField(upb_MtDecoder* d, + const upb_MiniTableField* f, + uint32_t expected_num) { + const char* name = expected_num == 1 ? "key" : "val"; + const uint32_t f_number = upb_MiniTableField_Number(f); + if (f_number != expected_num) { + upb_MdDecoder_ErrorJmp(&d->base, + "map %s did not have expected number (%d vs %d)", + name, expected_num, f_number); + } + + if (!upb_MiniTableField_IsScalar(f)) { + upb_MdDecoder_ErrorJmp( + &d->base, "map %s cannot be repeated or map, or be in oneof", name); + } + + uint32_t not_ok_types; + if (expected_num == 1) { + not_ok_types = (1 << kUpb_FieldType_Float) | (1 << kUpb_FieldType_Double) | + (1 << kUpb_FieldType_Message) | (1 << kUpb_FieldType_Group) | + (1 << kUpb_FieldType_Bytes) | (1 << kUpb_FieldType_Enum); + } else { + not_ok_types = 1 << kUpb_FieldType_Group; + } + + if ((1 << upb_MiniTableField_Type(f)) & not_ok_types) { + upb_MdDecoder_ErrorJmp(&d->base, "map %s cannot have type %d", name, + (int)f->UPB_PRIVATE(descriptortype)); + } +} + +static void upb_MtDecoder_ParseMap(upb_MtDecoder* d, const char* data, + size_t len) { + upb_MtDecoder_ParseMessage(d, data, len); + upb_MtDecoder_AssignHasbits(d); + + if (UPB_UNLIKELY(d->table.UPB_PRIVATE(field_count) != 2)) { + upb_MdDecoder_ErrorJmp(&d->base, "%hu fields in map", + d->table.UPB_PRIVATE(field_count)); + UPB_UNREACHABLE(); + } + + if (d->oneofs.size != 0) { + upb_MdDecoder_ErrorJmp(&d->base, "Map entry cannot have oneof"); + } + + upb_MtDecoder_ValidateEntryField(d, &d->table.UPB_PRIVATE(fields)[0], 1); + upb_MtDecoder_ValidateEntryField(d, &d->table.UPB_PRIVATE(fields)[1], 2); + + d->fields[0].UPB_PRIVATE(offset) = offsetof(upb_MapEntry, k); + d->fields[1].UPB_PRIVATE(offset) = offsetof(upb_MapEntry, v); + d->table.UPB_PRIVATE(size) = sizeof(upb_MapEntry); + + // Map entries have a special bit set to signal it's a map entry, used in + // upb_MiniTable_SetSubMessage() below. + d->table.UPB_PRIVATE(ext) |= kUpb_ExtMode_IsMapEntry; +} + +static void upb_MtDecoder_ParseMessageSet(upb_MtDecoder* d, const char* data, + size_t len) { + if (len > 0) { + upb_MdDecoder_ErrorJmp(&d->base, "Invalid message set encode length: %zu", + len); + } + + upb_MiniTable* ret = &d->table; + ret->UPB_PRIVATE(size) = kUpb_Reserved_Hasbytes; + ret->UPB_PRIVATE(field_count) = 0; + ret->UPB_PRIVATE(ext) = kUpb_ExtMode_IsMessageSet; + ret->UPB_PRIVATE(dense_below) = 0; + ret->UPB_PRIVATE(table_mask) = -1; + ret->UPB_PRIVATE(required_count) = 0; +} + +static upb_MiniTable* upb_MtDecoder_DoBuildMiniTableWithBuf( + upb_MtDecoder* decoder, const char* data, size_t len, void** buf, + size_t* buf_size) { + decoder->table.UPB_PRIVATE(size) = kUpb_Reserved_Hasbytes; + decoder->table.UPB_PRIVATE(field_count) = 0; + decoder->table.UPB_PRIVATE(ext) = kUpb_ExtMode_NonExtendable; + decoder->table.UPB_PRIVATE(dense_below) = 0; + decoder->table.UPB_PRIVATE(table_mask) = -1; + decoder->table.UPB_PRIVATE(required_count) = 0; +#ifdef UPB_TRACING_ENABLED + // MiniTables built from MiniDescriptors will not be able to vend the message + // name unless it is explicitly set with upb_MiniTable_SetFullName(). + decoder->table.UPB_PRIVATE(full_name) = 0; +#endif + + // Strip off and verify the version tag. + if (!len--) goto done; + const char vers = *data++; + + switch (vers) { + case kUpb_EncodedVersion_MapV1: + upb_MtDecoder_ParseMap(decoder, data, len); + break; + + case kUpb_EncodedVersion_MessageV1: + upb_MtDecoder_ParseMessage(decoder, data, len); + upb_MtDecoder_AssignHasbits(decoder); + upb_MtDecoder_CalculateAlignments(decoder); + upb_MtDecoder_AssignOffsets(decoder); + break; + + case kUpb_EncodedVersion_MessageSetV1: + upb_MtDecoder_ParseMessageSet(decoder, data, len); + break; + + default: + upb_MdDecoder_ErrorJmp(&decoder->base, "Invalid message version: %c", + vers); + } + +done: + *buf = decoder->oneofs.data; + *buf_size = decoder->oneofs.buf_capacity_bytes; + size_t mt_size = sizeof(upb_MiniTable); + +#if UPB_FASTTABLE + upb_DecodeFast_TableEntry fasttable[32]; + int fasttable_size = upb_DecodeFast_BuildTable(&decoder->table, fasttable); + mt_size += fasttable_size * sizeof(fasttable[0]); +#endif + + upb_MiniTable* ret = upb_Arena_Malloc(decoder->arena, mt_size); + memcpy(ret, &decoder->table, sizeof(*ret)); + +#if UPB_FASTTABLE + ret->UPB_PRIVATE(table_mask) = upb_DecodeFast_GetTableMask(fasttable_size); + for (int i = 0; i < fasttable_size; i++) { + ret->UPB_PRIVATE(fasttable)[i].field_data = fasttable[i].function_data; + ret->UPB_PRIVATE(fasttable)[i].field_parser = + upb_DecodeFast_GetFunctionPointer(fasttable[i].function_idx); + } +#endif + UPB_PRIVATE(upb_MiniTable_CheckInvariants)(ret); + +#ifndef NDEBUG + for (int i = 1; i < upb_MiniTable_FieldCount(ret); i++) { + const upb_MiniTableField* f1 = upb_MiniTable_GetFieldByIndex(ret, i - 1); + const upb_MiniTableField* f2 = upb_MiniTable_GetFieldByIndex(ret, i); + UPB_ASSERT(upb_MiniTableField_Number(f2) > upb_MiniTableField_Number(f1)); + } +#endif + return ret; +} + +static upb_MiniTable* upb_MtDecoder_BuildMiniTableWithBuf( + upb_MtDecoder* const decoder, const char* const data, const size_t len, + void** const buf, size_t* const buf_size) { + if (UPB_SETJMP(decoder->base.err) != 0) { + *buf = decoder->oneofs.data; + *buf_size = decoder->oneofs.buf_capacity_bytes; + return NULL; + } + + return upb_MtDecoder_DoBuildMiniTableWithBuf(decoder, data, len, buf, + buf_size); +} + +upb_MiniTable* upb_MiniTable_BuildWithBuf(const char* data, size_t len, + upb_MiniTablePlatform platform, + upb_Arena* arena, void** buf, + size_t* buf_size, + upb_Status* status) { + upb_MtDecoder decoder = { + .base = {.status = status}, + .platform = platform, + .sub_count = 0, + .is_extension = false, + .oneofs = + { + .data = *buf, + .buf_capacity_bytes = *buf_size, + .size = 0, + }, + .arena = arena, + }; + + return upb_MtDecoder_BuildMiniTableWithBuf(&decoder, data, len, buf, + buf_size); +} + +static const char* upb_MtDecoder_DoBuildMiniTableExtension( + upb_MtDecoder* decoder, const char* data, size_t len, + upb_MiniTableExtension* ext, const upb_MiniTable* extendee, + upb_MiniTableSub sub) { + if (!(extendee->UPB_PRIVATE(ext) & + (kUpb_ExtMode_Extendable | kUpb_ExtMode_IsMessageSet))) { + upb_MdDecoder_ErrorJmp(&decoder->base, "Extendee is not extendable"); + } + + // If the string is non-empty then it must begin with a version tag. + if (len) { + if (*data != kUpb_EncodedVersion_ExtensionV1) { + upb_MdDecoder_ErrorJmp(&decoder->base, "Invalid ext version: %c", *data); + } + data++; + len--; + } + + uint16_t count = 0; + const char* ret = + upb_MtDecoder_Parse(decoder, data, len, ext, sizeof(*ext), &count); + if (!ret || count != 1) return NULL; + + upb_MiniTableField* f = &ext->UPB_PRIVATE(field); + uint32_t fieldnum = upb_MiniTableField_Number(f); + + const uint32_t kMaxFieldNumber = (1 << 29) - 1; + if (fieldnum == 0 || + (fieldnum > kMaxFieldNumber && !upb_MiniTable_IsMessageSet(extendee))) { + upb_MdDecoder_ErrorJmp(&decoder->base, "Invalid extension field number"); + } + + if (upb_MiniTable_FindFieldByNumber(extendee, fieldnum) != NULL) { + upb_MdDecoder_ErrorJmp(&decoder->base, + "Extension overlaps with a known field"); + } + + f->UPB_PRIVATE(mode) |= kUpb_LabelFlags_IsExtension; + f->UPB_PRIVATE(offset) = 0; + f->presence = 0; + + // In upb_MiniTableExtension, the `sub` member is a pointer-sized member that + // directly follows the `field` member. + f->UPB_PRIVATE(submsg_ofs) = + UPB_ALIGN_UP(sizeof(upb_MiniTableField), upb_MtDecoder_PtrSize(decoder)) / + kUpb_SubmsgOffsetBytes; + + if (extendee->UPB_PRIVATE(ext) & kUpb_ExtMode_IsMessageSet) { + // Extensions of MessageSet must be messages. + if (!upb_MiniTableField_IsSubMessage(f)) return NULL; + + // Extensions of MessageSet must be non-repeating. + if (upb_MiniTableField_IsArray(f)) return NULL; + } + + ext->UPB_PRIVATE(extendee) = extendee; + ext->UPB_PRIVATE(sub) = sub; + + return ret; +} + +static const char* upb_MtDecoder_BuildMiniTableExtension( + upb_MtDecoder* const decoder, const char* const data, const size_t len, + upb_MiniTableExtension* const ext, const upb_MiniTable* const extendee, + const upb_MiniTableSub sub) { + if (UPB_SETJMP(decoder->base.err) != 0) return NULL; + return upb_MtDecoder_DoBuildMiniTableExtension(decoder, data, len, ext, + extendee, sub); +} + +const char* _upb_MiniTableExtension_Init(const char* data, size_t len, + upb_MiniTableExtension* ext, + const upb_MiniTable* extendee, + upb_MiniTableSub sub, + upb_MiniTablePlatform platform, + upb_Status* status) { + upb_MtDecoder decoder = { + .base = {.status = status}, + .arena = NULL, + .platform = platform, + .sub_count = 0, + .is_extension = true, + }; + + return upb_MtDecoder_BuildMiniTableExtension(&decoder, data, len, ext, + extendee, sub); +} + +upb_MiniTableExtension* _upb_MiniTableExtension_Build( + const char* data, size_t len, const upb_MiniTable* extendee, + upb_MiniTableSub sub, upb_MiniTablePlatform platform, upb_Arena* arena, + upb_Status* status) { + upb_MiniTableExtension* ext = + upb_Arena_Malloc(arena, sizeof(upb_MiniTableExtension)); + if (UPB_UNLIKELY(!ext)) return NULL; + + const char* ptr = _upb_MiniTableExtension_Init(data, len, ext, extendee, sub, + platform, status); + if (UPB_UNLIKELY(!ptr)) return NULL; + + return ext; +} + +upb_MiniTable* _upb_MiniTable_Build(const char* data, size_t len, + upb_MiniTablePlatform platform, + upb_Arena* arena, upb_Status* status) { + void* buf = NULL; + size_t size = 0; + upb_MiniTable* ret = upb_MiniTable_BuildWithBuf(data, len, platform, arena, + &buf, &size, status); + upb_gfree(buf); + return ret; +} + + +const char _kUpb_ToBase92[] = { + ' ', '!', '#', '$', '%', '&', '(', ')', '*', '+', ',', '-', '.', '/', + '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', + '>', '?', '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', + 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', + 'Z', '[', ']', '^', '_', '`', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', + 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', + 'w', 'x', 'y', 'z', '{', '|', '}', '~', +}; + +const int8_t _kUpb_FromBase92[] = { + 0, 1, -1, 2, 3, 4, 5, -1, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + 55, 56, 57, -1, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, + 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, +}; + + +#include +#include +#include + + +// Must be last. + +typedef struct { + uint64_t present_values_mask; + uint32_t last_written_value; +} upb_MtDataEncoderInternal_EnumState; + +typedef struct { + uint64_t msg_modifiers; + uint32_t last_field_num; + enum { + kUpb_OneofState_NotStarted, + kUpb_OneofState_StartedOneof, + kUpb_OneofState_EmittedOneofField, + } oneof_state; +} upb_MtDataEncoderInternal_MsgState; + +typedef struct { + char* buf_start; // Only for checking kUpb_MtDataEncoder_MinSize. + union { + upb_MtDataEncoderInternal_EnumState enum_state; + upb_MtDataEncoderInternal_MsgState msg_state; + } state; +} upb_MtDataEncoderInternal; + +static upb_MtDataEncoderInternal* upb_MtDataEncoder_GetInternal( + upb_MtDataEncoder* e, char* buf_start) { + UPB_ASSERT(sizeof(upb_MtDataEncoderInternal) <= sizeof(e->internal)); + upb_MtDataEncoderInternal* ret = (upb_MtDataEncoderInternal*)e->internal; + ret->buf_start = buf_start; + return ret; +} + +static char* upb_MtDataEncoder_PutRaw(upb_MtDataEncoder* e, char* ptr, + char ch) { + upb_MtDataEncoderInternal* in = (upb_MtDataEncoderInternal*)e->internal; + UPB_ASSERT(ptr - in->buf_start < kUpb_MtDataEncoder_MinSize); + if (ptr == e->end) return NULL; + *ptr++ = ch; + return ptr; +} + +static char* upb_MtDataEncoder_Put(upb_MtDataEncoder* e, char* ptr, char ch) { + return upb_MtDataEncoder_PutRaw(e, ptr, _upb_ToBase92(ch)); +} + +static char* upb_MtDataEncoder_PutBase92Varint(upb_MtDataEncoder* e, char* ptr, + uint32_t val, int min, int max) { + int shift = upb_Log2Ceiling(_upb_FromBase92(max) - _upb_FromBase92(min) + 1); + UPB_ASSERT(shift <= 6); + uint32_t mask = (1 << shift) - 1; + do { + uint32_t bits = val & mask; + ptr = upb_MtDataEncoder_Put(e, ptr, bits + _upb_FromBase92(min)); + if (!ptr) return NULL; + val >>= shift; + } while (val); + return ptr; +} + +char* upb_MtDataEncoder_PutModifier(upb_MtDataEncoder* e, char* ptr, + uint64_t mod) { + if (mod) { + ptr = upb_MtDataEncoder_PutBase92Varint(e, ptr, mod, + kUpb_EncodedValue_MinModifier, + kUpb_EncodedValue_MaxModifier); + } + return ptr; +} + +char* upb_MtDataEncoder_EncodeExtension(upb_MtDataEncoder* e, char* ptr, + upb_FieldType type, uint32_t field_num, + uint64_t field_mod) { + upb_MtDataEncoderInternal* in = upb_MtDataEncoder_GetInternal(e, ptr); + in->state.msg_state.msg_modifiers = 0; + in->state.msg_state.last_field_num = 0; + in->state.msg_state.oneof_state = kUpb_OneofState_NotStarted; + + ptr = upb_MtDataEncoder_PutRaw(e, ptr, kUpb_EncodedVersion_ExtensionV1); + if (!ptr) return NULL; + + return upb_MtDataEncoder_PutField(e, ptr, type, field_num, field_mod); +} + +char* upb_MtDataEncoder_EncodeMap(upb_MtDataEncoder* e, char* ptr, + upb_FieldType key_type, + upb_FieldType value_type, uint64_t key_mod, + uint64_t value_mod) { + upb_MtDataEncoderInternal* in = upb_MtDataEncoder_GetInternal(e, ptr); + in->state.msg_state.msg_modifiers = 0; + in->state.msg_state.last_field_num = 0; + in->state.msg_state.oneof_state = kUpb_OneofState_NotStarted; + + ptr = upb_MtDataEncoder_PutRaw(e, ptr, kUpb_EncodedVersion_MapV1); + if (!ptr) return NULL; + + ptr = upb_MtDataEncoder_PutField(e, ptr, key_type, 1, key_mod); + if (!ptr) return NULL; + + return upb_MtDataEncoder_PutField(e, ptr, value_type, 2, value_mod); +} + +char* upb_MtDataEncoder_EncodeMessageSet(upb_MtDataEncoder* e, char* ptr) { + (void)upb_MtDataEncoder_GetInternal(e, ptr); + return upb_MtDataEncoder_PutRaw(e, ptr, kUpb_EncodedVersion_MessageSetV1); +} + +char* upb_MtDataEncoder_StartMessage(upb_MtDataEncoder* e, char* ptr, + uint64_t msg_mod) { + upb_MtDataEncoderInternal* in = upb_MtDataEncoder_GetInternal(e, ptr); + in->state.msg_state.msg_modifiers = msg_mod; + in->state.msg_state.last_field_num = 0; + in->state.msg_state.oneof_state = kUpb_OneofState_NotStarted; + + ptr = upb_MtDataEncoder_PutRaw(e, ptr, kUpb_EncodedVersion_MessageV1); + if (!ptr) return NULL; + + return upb_MtDataEncoder_PutModifier(e, ptr, msg_mod); +} + +static char* _upb_MtDataEncoder_MaybePutFieldSkip(upb_MtDataEncoder* e, + char* ptr, + uint32_t field_num) { + upb_MtDataEncoderInternal* in = (upb_MtDataEncoderInternal*)e->internal; + if (field_num <= in->state.msg_state.last_field_num) return NULL; + if (in->state.msg_state.last_field_num + 1 != field_num) { + // Put skip. + UPB_ASSERT(field_num > in->state.msg_state.last_field_num); + uint32_t skip = field_num - in->state.msg_state.last_field_num; + ptr = upb_MtDataEncoder_PutBase92Varint( + e, ptr, skip, kUpb_EncodedValue_MinSkip, kUpb_EncodedValue_MaxSkip); + if (!ptr) return NULL; + } + in->state.msg_state.last_field_num = field_num; + return ptr; +} + +static char* _upb_MtDataEncoder_PutFieldType(upb_MtDataEncoder* e, char* ptr, + upb_FieldType type, + uint64_t field_mod) { + static const char kUpb_TypeToEncoded[] = { + [kUpb_FieldType_Double] = kUpb_EncodedType_Double, + [kUpb_FieldType_Float] = kUpb_EncodedType_Float, + [kUpb_FieldType_Int64] = kUpb_EncodedType_Int64, + [kUpb_FieldType_UInt64] = kUpb_EncodedType_UInt64, + [kUpb_FieldType_Int32] = kUpb_EncodedType_Int32, + [kUpb_FieldType_Fixed64] = kUpb_EncodedType_Fixed64, + [kUpb_FieldType_Fixed32] = kUpb_EncodedType_Fixed32, + [kUpb_FieldType_Bool] = kUpb_EncodedType_Bool, + [kUpb_FieldType_String] = kUpb_EncodedType_String, + [kUpb_FieldType_Group] = kUpb_EncodedType_Group, + [kUpb_FieldType_Message] = kUpb_EncodedType_Message, + [kUpb_FieldType_Bytes] = kUpb_EncodedType_Bytes, + [kUpb_FieldType_UInt32] = kUpb_EncodedType_UInt32, + [kUpb_FieldType_Enum] = kUpb_EncodedType_OpenEnum, + [kUpb_FieldType_SFixed32] = kUpb_EncodedType_SFixed32, + [kUpb_FieldType_SFixed64] = kUpb_EncodedType_SFixed64, + [kUpb_FieldType_SInt32] = kUpb_EncodedType_SInt32, + [kUpb_FieldType_SInt64] = kUpb_EncodedType_SInt64, + }; + + int encoded_type = kUpb_TypeToEncoded[type]; + + if (field_mod & kUpb_FieldModifier_IsClosedEnum) { + UPB_ASSERT(type == kUpb_FieldType_Enum); + encoded_type = kUpb_EncodedType_ClosedEnum; + } + + if (field_mod & kUpb_FieldModifier_IsRepeated) { + // Repeated fields shift the type number up (unlike other modifiers which + // are bit flags). + encoded_type += kUpb_EncodedType_RepeatedBase; + } + + return upb_MtDataEncoder_Put(e, ptr, encoded_type); +} + +static char* _upb_MtDataEncoder_MaybePutModifiers(upb_MtDataEncoder* e, + char* ptr, upb_FieldType type, + uint64_t field_mod) { + upb_MtDataEncoderInternal* in = (upb_MtDataEncoderInternal*)e->internal; + uint32_t encoded_modifiers = 0; + if ((field_mod & kUpb_FieldModifier_IsRepeated) && + upb_FieldType_IsPackable(type)) { + bool field_is_packed = field_mod & kUpb_FieldModifier_IsPacked; + bool default_is_packed = in->state.msg_state.msg_modifiers & + kUpb_MessageModifier_DefaultIsPacked; + if (field_is_packed != default_is_packed) { + encoded_modifiers |= kUpb_EncodedFieldModifier_FlipPacked; + } + } + + if (type == kUpb_FieldType_String) { + bool field_validates_utf8 = field_mod & kUpb_FieldModifier_ValidateUtf8; + bool message_validates_utf8 = + in->state.msg_state.msg_modifiers & kUpb_MessageModifier_ValidateUtf8; + if (field_validates_utf8 != message_validates_utf8) { + // Old binaries do not recognize the field modifier. We need the failure + // mode to be too lax rather than too strict. Our caller should have + // handled this (see _upb_MessageDef_ValidateUtf8()). + assert(!message_validates_utf8); + encoded_modifiers |= kUpb_EncodedFieldModifier_FlipValidateUtf8; + } + } + + if (field_mod & kUpb_FieldModifier_IsProto3Singular) { + encoded_modifiers |= kUpb_EncodedFieldModifier_IsProto3Singular; + } + + if (field_mod & kUpb_FieldModifier_IsRequired) { + encoded_modifiers |= kUpb_EncodedFieldModifier_IsRequired; + } + + return upb_MtDataEncoder_PutModifier(e, ptr, encoded_modifiers); +} + +char* upb_MtDataEncoder_PutField(upb_MtDataEncoder* e, char* ptr, + upb_FieldType type, uint32_t field_num, + uint64_t field_mod) { + upb_MtDataEncoder_GetInternal(e, ptr); + + ptr = _upb_MtDataEncoder_MaybePutFieldSkip(e, ptr, field_num); + if (!ptr) return NULL; + + ptr = _upb_MtDataEncoder_PutFieldType(e, ptr, type, field_mod); + if (!ptr) return NULL; + + return _upb_MtDataEncoder_MaybePutModifiers(e, ptr, type, field_mod); +} + +char* upb_MtDataEncoder_StartOneof(upb_MtDataEncoder* e, char* ptr) { + upb_MtDataEncoderInternal* in = upb_MtDataEncoder_GetInternal(e, ptr); + if (in->state.msg_state.oneof_state == kUpb_OneofState_NotStarted) { + ptr = upb_MtDataEncoder_Put(e, ptr, _upb_FromBase92(kUpb_EncodedValue_End)); + } else { + ptr = upb_MtDataEncoder_Put( + e, ptr, _upb_FromBase92(kUpb_EncodedValue_OneofSeparator)); + } + in->state.msg_state.oneof_state = kUpb_OneofState_StartedOneof; + return ptr; +} + +char* upb_MtDataEncoder_PutOneofField(upb_MtDataEncoder* e, char* ptr, + uint32_t field_num) { + upb_MtDataEncoderInternal* in = upb_MtDataEncoder_GetInternal(e, ptr); + if (in->state.msg_state.oneof_state == kUpb_OneofState_EmittedOneofField) { + ptr = upb_MtDataEncoder_Put( + e, ptr, _upb_FromBase92(kUpb_EncodedValue_FieldSeparator)); + if (!ptr) return NULL; + } + ptr = upb_MtDataEncoder_PutBase92Varint(e, ptr, field_num, _upb_ToBase92(0), + _upb_ToBase92(63)); + in->state.msg_state.oneof_state = kUpb_OneofState_EmittedOneofField; + return ptr; +} + +char* upb_MtDataEncoder_StartEnum(upb_MtDataEncoder* e, char* ptr) { + upb_MtDataEncoderInternal* in = upb_MtDataEncoder_GetInternal(e, ptr); + in->state.enum_state.present_values_mask = 0; + in->state.enum_state.last_written_value = 0; + + return upb_MtDataEncoder_PutRaw(e, ptr, kUpb_EncodedVersion_EnumV1); +} + +static char* upb_MtDataEncoder_FlushDenseEnumMask(upb_MtDataEncoder* e, + char* ptr) { + upb_MtDataEncoderInternal* in = (upb_MtDataEncoderInternal*)e->internal; + ptr = upb_MtDataEncoder_Put(e, ptr, in->state.enum_state.present_values_mask); + in->state.enum_state.present_values_mask = 0; + in->state.enum_state.last_written_value += 5; + return ptr; +} + +char* upb_MtDataEncoder_PutEnumValue(upb_MtDataEncoder* e, char* ptr, + uint32_t val) { + // TODO: optimize this encoding. + upb_MtDataEncoderInternal* in = upb_MtDataEncoder_GetInternal(e, ptr); + UPB_ASSERT(val >= in->state.enum_state.last_written_value); + uint32_t delta = val - in->state.enum_state.last_written_value; + if (delta >= 5 && in->state.enum_state.present_values_mask) { + ptr = upb_MtDataEncoder_FlushDenseEnumMask(e, ptr); + if (!ptr) { + return NULL; + } + delta -= 5; + } + + if (delta >= 5) { + ptr = upb_MtDataEncoder_PutBase92Varint( + e, ptr, delta, kUpb_EncodedValue_MinSkip, kUpb_EncodedValue_MaxSkip); + in->state.enum_state.last_written_value += delta; + delta = 0; + } + + UPB_ASSERT((in->state.enum_state.present_values_mask >> delta) == 0); + in->state.enum_state.present_values_mask |= 1ULL << delta; + return ptr; +} + +char* upb_MtDataEncoder_EndEnum(upb_MtDataEncoder* e, char* ptr) { + upb_MtDataEncoderInternal* in = upb_MtDataEncoder_GetInternal(e, ptr); + if (!in->state.enum_state.present_values_mask) return ptr; + return upb_MtDataEncoder_FlushDenseEnumMask(e, ptr); +} + + +#include +#include + + +// Must be last. + +typedef struct { + upb_MdDecoder base; + upb_Arena* arena; + upb_MiniTableEnum* enum_table; + uint32_t enum_value_count; + uint32_t enum_data_count; + uint32_t enum_data_capacity; +} upb_MdEnumDecoder; + +static size_t upb_MiniTableEnum_Size(uint32_t count) { + return UPB_SIZEOF_FLEX(upb_MiniTableEnum, UPB_PRIVATE(data), count); +} + +static upb_MiniTableEnum* _upb_MiniTable_AddEnumDataMember(upb_MdEnumDecoder* d, + uint32_t val) { + if (d->enum_data_count == d->enum_data_capacity) { + size_t old_sz = upb_MiniTableEnum_Size(d->enum_data_capacity); + if (d->enum_data_capacity > UINT32_MAX / 2) { + upb_MdDecoder_ErrorJmp(&d->base, "Out of memory"); + } + uint32_t new_capacity = UPB_MAX(2, d->enum_data_capacity * 2); + if (UPB_SIZEOF_FLEX_WOULD_OVERFLOW(upb_MiniTableEnum, UPB_PRIVATE(data), + new_capacity)) { + upb_MdDecoder_ErrorJmp(&d->base, "Out of memory"); + } + size_t new_sz = upb_MiniTableEnum_Size(new_capacity); + d->enum_table = upb_Arena_Realloc(d->arena, d->enum_table, old_sz, new_sz); + upb_MdDecoder_CheckOutOfMemory(&d->base, d->enum_table); + d->enum_data_capacity = new_capacity; + } + d->enum_table->UPB_PRIVATE(data)[d->enum_data_count++] = val; + return d->enum_table; +} + +static void upb_MiniTableEnum_BuildValue(upb_MdEnumDecoder* d, uint32_t val) { + upb_MiniTableEnum* table = d->enum_table; + d->enum_value_count++; + if (table->UPB_PRIVATE(value_count) || + (val > 512 && d->enum_value_count < val / 32)) { + if (table->UPB_PRIVATE(value_count) == 0) { + UPB_ASSERT(d->enum_data_count == table->UPB_PRIVATE(mask_limit) / 32); + } + table = _upb_MiniTable_AddEnumDataMember(d, val); + table->UPB_PRIVATE(value_count)++; + } else { + uint32_t new_mask_limit = ((val / 32) + 1) * 32; + while (table->UPB_PRIVATE(mask_limit) < new_mask_limit) { + table = _upb_MiniTable_AddEnumDataMember(d, 0); + table->UPB_PRIVATE(mask_limit) += 32; + } + table->UPB_PRIVATE(data)[val / 32] |= 1ULL << (val % 32); + } +} + +static upb_MiniTableEnum* upb_MtDecoder_DoBuildMiniTableEnum( + upb_MdEnumDecoder* d, const char* data, size_t len) { + // If the string is non-empty then it must begin with a version tag. + if (len) { + if (*data != kUpb_EncodedVersion_EnumV1) { + upb_MdDecoder_ErrorJmp(&d->base, "Invalid enum version: %c", *data); + } + data++; + len--; + } + + upb_MdDecoder_CheckOutOfMemory(&d->base, d->enum_table); + + // Guarantee at least 64 bits of mask without checking mask size. + d->enum_table->UPB_PRIVATE(mask_limit) = 64; + d->enum_table = _upb_MiniTable_AddEnumDataMember(d, 0); + d->enum_table = _upb_MiniTable_AddEnumDataMember(d, 0); + + d->enum_table->UPB_PRIVATE(value_count) = 0; + + const char* ptr = data; + uint32_t base = 0; + + while (ptr < d->base.end) { + char ch = *ptr++; + if (ch <= kUpb_EncodedValue_MaxEnumMask) { + uint32_t mask = _upb_FromBase92(ch); + for (int i = 0; i < 5; i++, base++, mask >>= 1) { + if (mask & 1) upb_MiniTableEnum_BuildValue(d, base); + } + } else if (kUpb_EncodedValue_MinSkip <= ch && + ch <= kUpb_EncodedValue_MaxSkip) { + uint32_t skip; + ptr = upb_MdDecoder_DecodeBase92Varint(&d->base, ptr, ch, + kUpb_EncodedValue_MinSkip, + kUpb_EncodedValue_MaxSkip, &skip); + base += skip; + } else { + upb_MdDecoder_ErrorJmp(&d->base, "Unexpected character: %c", ch); + } + } + + return d->enum_table; +} + +static upb_MiniTableEnum* upb_MtDecoder_BuildMiniTableEnum( + upb_MdEnumDecoder* const decoder, const char* const data, + size_t const len) { + if (UPB_SETJMP(decoder->base.err) != 0) return NULL; + return upb_MtDecoder_DoBuildMiniTableEnum(decoder, data, len); +} + +upb_MiniTableEnum* upb_MiniTableEnum_Build(const char* data, size_t len, + upb_Arena* arena, + upb_Status* status) { + uint32_t initial_capacity = 2; + upb_MdEnumDecoder decoder = { + .base = + { + .end = UPB_PTRADD(data, len), + .status = status, + }, + .arena = arena, + .enum_table = + upb_Arena_Malloc(arena, upb_MiniTableEnum_Size(initial_capacity)), + .enum_value_count = 0, + .enum_data_count = 0, + .enum_data_capacity = initial_capacity, + }; + + return upb_MtDecoder_BuildMiniTableEnum(&decoder, data, len); +} + + +#include +#include +#include +#include +#include + + +// Must be last. + +typedef struct { + char* buf; + char* ptr; + char* end; + int overflow; + upb_Arena* arena; + int count; + + // This table maps from a pointer to a 64-bit integer. The lower 32 bits are + // a unique ID for the object. The upper 32 bits are a flag that is 0x1 + // if the object has already been printed. + upb_inttable inttable; +} upb_MiniTablePrinter; + +UPB_PRINTF(2, 3) +static void upb_MiniTablePrinter_Printf(upb_MiniTablePrinter* p, + const char* fmt, ...) { + size_t n; + size_t have = p->end - p->ptr; + va_list args; + + va_start(args, fmt); + n = _upb_vsnprintf(p->ptr, have, fmt, args); + va_end(args); + + if (UPB_LIKELY(have > n)) { + p->ptr += n; + } else { + p->ptr = UPB_PTRADD(p->ptr, have); + p->overflow += (n - have); + } +} + +static size_t upb_MiniTablePrinter_NullTerminate(upb_MiniTablePrinter* p, + size_t size) { + size_t ret = p->ptr - p->buf + p->overflow; + + if (size > 0) { + if (p->ptr == p->end) p->ptr--; + *p->ptr = '\0'; + } + + return ret; +} + +static int upb_MiniTablePrinter_InsertNext(upb_MiniTablePrinter* p, + const void* key, bool visited) { + uint64_t id = p->count++; + bool ok = upb_inttable_insert( + &p->inttable, (intptr_t)key, + upb_value_uint64(id | (visited ? 0x100000000 : 0)), p->arena); + UPB_ASSERT(ok); + return id; +} + +// Returns the ID of the object referenced by key, but does *not* mark the +// object as visited. This is used for printing a reference to another object +// that may or may not have been printed yet. +static int upb_MiniTablePrinter_GetIdForRef(upb_MiniTablePrinter* p, + const void* key) { + upb_value v; + if (upb_inttable_lookup(&p->inttable, (intptr_t)key, &v)) { + return (int)upb_value_getuint64(v); + } + return upb_MiniTablePrinter_InsertNext(p, key, false); +} + +// Returns the ID of the object referenced by key, and marks the object as +// visited. This is used for printing the object itself. +static int upb_MiniTablePrinter_GetIdForEmit(upb_MiniTablePrinter* p, + const void* key) { + UPB_ASSERT(key); + upb_value v; + if (upb_inttable_lookup(&p->inttable, (intptr_t)key, &v)) { + uint64_t val = upb_value_getuint64(v); + if (val >> 32) return -1; + upb_inttable_replace(&p->inttable, (intptr_t)key, + upb_value_int64(val | 0x100000000)); + return (int)val; + } + return upb_MiniTablePrinter_InsertNext(p, key, true); +} + +static void upb_MiniTablePrinter_PrintEnum(upb_MiniTablePrinter* p, + const upb_MiniTableEnum* enum_) { + int id = upb_MiniTablePrinter_GetIdForEmit(p, enum_); + if (id < 0) return; + + upb_MiniTablePrinter_Printf(p, "MiniTableEnum#%d {\n", id); + upb_MiniTablePrinter_Printf(p, " .mask_limit = %d\n", + enum_->UPB_PRIVATE(mask_limit)); + upb_MiniTablePrinter_Printf(p, " .value_count = %d\n", + enum_->UPB_PRIVATE(value_count)); + upb_MiniTablePrinter_Printf(p, " .values = {\n"); + + for (uint32_t i = 0; i < enum_->UPB_PRIVATE(mask_limit); i++) { + if (!upb_MiniTableEnum_CheckValue(enum_, i)) continue; + upb_MiniTablePrinter_Printf(p, " %d,\n", (int)i); + } + + const uint32_t* start = + &enum_->UPB_PRIVATE(data)[enum_->UPB_PRIVATE(mask_limit) / 32]; + for (uint32_t i = 0; i < enum_->UPB_PRIVATE(value_count); i++) { + upb_MiniTablePrinter_Printf(p, " %d,\n", (int)start[i]); + } + + upb_MiniTablePrinter_Printf(p, " }\n"); + upb_MiniTablePrinter_Printf(p, "}\n\n"); +} + +static void upb_MiniTablePrinter_PrintField(upb_MiniTablePrinter* p, + const upb_MiniTable* mini_table, + const upb_MiniTableField* field) { + upb_MiniTablePrinter_Printf(p, " MiniTableField {\n"); + upb_MiniTablePrinter_Printf(p, " .number = %d\n", + field->UPB_PRIVATE(number)); + upb_MiniTablePrinter_Printf(p, " .offset = %d\n", + field->UPB_PRIVATE(offset)); + upb_MiniTablePrinter_Printf(p, " .presence = %d", field->presence); + + if (field->presence > 0) { + upb_MiniTablePrinter_Printf(p, " (hasbit=%d)\n", field->presence); + } else if (field->presence < 0) { + upb_MiniTablePrinter_Printf(p, " (oneof_index=%d)\n", ~field->presence); + } else { + upb_MiniTablePrinter_Printf(p, " (no explicit presence)\n"); + } + + if (field->UPB_PRIVATE(submsg_ofs) != kUpb_NoSub) { + upb_MiniTablePrinter_Printf(p, " .submsg_ofs = %d\n", + field->UPB_PRIVATE(submsg_ofs)); + } + upb_MiniTablePrinter_Printf(p, " .type = %d\n", + field->UPB_PRIVATE(descriptortype)); + upb_MiniTablePrinter_Printf(p, " .mode = %02x (", + field->UPB_PRIVATE(mode)); + + switch (field->UPB_PRIVATE(mode) & kUpb_FieldMode_Mask) { + case kUpb_FieldMode_Scalar: + upb_MiniTablePrinter_Printf(p, "Scalar"); + break; + case kUpb_FieldMode_Array: + upb_MiniTablePrinter_Printf(p, "Array"); + break; + case kUpb_FieldMode_Map: + upb_MiniTablePrinter_Printf(p, "Map"); + break; + } + + switch (field->UPB_PRIVATE(mode) >> kUpb_FieldRep_Shift) { + case kUpb_FieldRep_1Byte: + upb_MiniTablePrinter_Printf(p, " | 1Byte"); + break; + case kUpb_FieldRep_4Byte: + upb_MiniTablePrinter_Printf(p, " | 4Byte"); + break; + case kUpb_FieldRep_8Byte: + upb_MiniTablePrinter_Printf(p, " | 8Byte"); + break; + case kUpb_FieldRep_StringView: + upb_MiniTablePrinter_Printf(p, " | StringView"); + break; + } + + if (field->UPB_PRIVATE(mode) & kUpb_LabelFlags_IsPacked) { + upb_MiniTablePrinter_Printf(p, " | Packed"); + } + if (field->UPB_PRIVATE(mode) & kUpb_LabelFlags_IsExtension) { + upb_MiniTablePrinter_Printf(p, " | Extension"); + } + if (field->UPB_PRIVATE(mode) & kUpb_LabelFlags_IsAlternate) { + upb_MiniTablePrinter_Printf(p, " | Alternate"); + } + + upb_MiniTablePrinter_Printf(p, ")\n"); + + if (field->UPB_PRIVATE(submsg_ofs) != kUpb_NoSub) { + if (upb_MiniTableField_CType(field) == kUpb_CType_Message) { + int id = + upb_MiniTablePrinter_GetIdForRef(p, upb_MiniTable_SubMessage(field)); + upb_MiniTablePrinter_Printf(p, " .submsg = MiniTable#%d\n", id); + } else { + int id = upb_MiniTablePrinter_GetIdForRef( + p, upb_MiniTable_GetSubEnumTable(field)); + upb_MiniTablePrinter_Printf(p, " .subenum = MiniTableEnum#%d\n", id); + } + } + + upb_MiniTablePrinter_Printf(p, " },\n"); +} + +static void upb_MiniTablePrinter_PrintMessage(upb_MiniTablePrinter* p, + const upb_MiniTable* mini_table) { + int id = upb_MiniTablePrinter_GetIdForEmit(p, mini_table); + if (id < 0) return; + + upb_MiniTablePrinter_Printf(p, "MiniTable#%d {\n", id); + upb_MiniTablePrinter_Printf(p, " .size = %d\n", + mini_table->UPB_PRIVATE(size)); + upb_MiniTablePrinter_Printf(p, " .required_count = %d\n", + mini_table->UPB_PRIVATE(required_count)); + upb_MiniTablePrinter_Printf(p, " .table_mask = %02x\n", + mini_table->UPB_PRIVATE(table_mask)); + upb_MiniTablePrinter_Printf(p, " .dense_below = %d\n", + mini_table->UPB_PRIVATE(dense_below)); + + upb_MiniTablePrinter_Printf(p, " .ext = %02x (", + mini_table->UPB_PRIVATE(ext)); + switch (mini_table->UPB_PRIVATE(ext) & 3) { + case kUpb_ExtMode_NonExtendable: + upb_MiniTablePrinter_Printf(p, "NonExtendable"); + break; + case kUpb_ExtMode_Extendable: + upb_MiniTablePrinter_Printf(p, "Extendable"); + break; + case kUpb_ExtMode_IsMessageSet: + upb_MiniTablePrinter_Printf(p, "MessageSet"); + break; + case kUpb_ExtMode_IsMessageSet_ITEM: + upb_MiniTablePrinter_Printf(p, "MessageSetItem"); + break; + } + if (mini_table->UPB_PRIVATE(ext) & kUpb_ExtMode_IsMapEntry) { + upb_MiniTablePrinter_Printf(p, " | MapEntry"); + } + if (mini_table->UPB_PRIVATE(ext) & kUpb_ExtMode_AllFastFieldsAssigned) { + upb_MiniTablePrinter_Printf(p, " | AllFieldsAssigned"); + } + upb_MiniTablePrinter_Printf(p, ")\n"); + upb_MiniTablePrinter_Printf(p, " .fields[%d] = {\n", + mini_table->UPB_PRIVATE(field_count)); + + for (int i = 0; i < mini_table->UPB_PRIVATE(field_count); i++) { + const upb_MiniTableField* field = &mini_table->UPB_PRIVATE(fields)[i]; + upb_MiniTablePrinter_PrintField(p, mini_table, field); + } + + upb_MiniTablePrinter_Printf(p, " }\n"); + +#if UPB_FASTTABLE + int mask = (int8_t)mini_table->UPB_PRIVATE(table_mask); + if (mask != -1) { + int size = (mask >> 3) + 1; + upb_MiniTablePrinter_Printf(p, " .fasttable[%d] = {\n", size); + + for (int i = 0; i < size; i++) { + const _upb_FastTable_Entry* entry = + &mini_table->UPB_PRIVATE(fasttable)[i]; + upb_MiniTablePrinter_Printf(p, " FastTableEntry {\n"); + upb_MiniTablePrinter_Printf(p, " .field_data = %016" PRIx64 ",\n", + entry->field_data); + upb_MiniTablePrinter_Printf(p, " .field_parser = %s\n", + entry->field_parser ? "[ptr]" : "(nil)"); + upb_MiniTablePrinter_Printf(p, " .field_number = %d\n", + (((int)entry->field_data >> 3) & 0xf) | + (((int)entry->field_data >> 4) & 0x7f0)); + upb_MiniTablePrinter_Printf(p, " }\n"); + } + + upb_MiniTablePrinter_Printf(p, " }\n"); + } +#endif + + upb_MiniTablePrinter_Printf(p, "}\n\n"); + + for (int i = 0; i < mini_table->UPB_PRIVATE(field_count); i++) { + const upb_MiniTableField* field = &mini_table->UPB_PRIVATE(fields)[i]; + if (field->UPB_PRIVATE(submsg_ofs) == kUpb_NoSub) continue; + if (upb_MiniTableField_CType(field) == kUpb_CType_Message) { + upb_MiniTablePrinter_PrintMessage(p, upb_MiniTable_SubMessage(field)); + } else { + upb_MiniTablePrinter_PrintEnum(p, upb_MiniTable_GetSubEnumTable(field)); + } + } +} + +size_t upb_MiniTable_DebugString(const upb_MiniTable* mini_table, char* buf, + size_t size) { + upb_MiniTablePrinter p = {buf, buf, buf + size, 0, upb_Arena_New(), 0}; + + if (!p.arena) return 0; + if (!upb_inttable_init(&p.inttable, p.arena)) return 0; + + upb_MiniTablePrinter_PrintMessage(&p, mini_table); + + upb_Arena_Free(p.arena); + + return upb_MiniTablePrinter_NullTerminate(&p, size); +} + + +#include +#include + + +// Must be last. + +// Checks if source and target mini table fields are identical. +// +// If the field is a sub message and sub messages are identical we record +// the association in table. +// +// Hashing the source sub message mini table and it's equivalent in the table +// stops recursing when a cycle is detected and instead just checks if the +// destination table is equal. +static upb_MiniTableEquals_Status upb_deep_check(const upb_MiniTable* src, + const upb_MiniTable* dst, + upb_inttable* table, + upb_Arena** arena) { + if (src->UPB_PRIVATE(field_count) != dst->UPB_PRIVATE(field_count)) + return kUpb_MiniTableEquals_NotEqual; + bool marked_src = false; + for (int i = 0; i < upb_MiniTable_FieldCount(src); i++) { + const upb_MiniTableField* src_field = upb_MiniTable_GetFieldByIndex(src, i); + const upb_MiniTableField* dst_field = upb_MiniTable_FindFieldByNumber( + dst, upb_MiniTableField_Number(src_field)); + + if (upb_MiniTableField_CType(src_field) != + upb_MiniTableField_CType(dst_field)) + return false; + if (src_field->UPB_PRIVATE(mode) != dst_field->UPB_PRIVATE(mode)) + return false; + if (src_field->UPB_PRIVATE(offset) != dst_field->UPB_PRIVATE(offset)) + return false; + if (src_field->presence != dst_field->presence) return false; + if (src_field->UPB_PRIVATE(submsg_ofs) != + dst_field->UPB_PRIVATE(submsg_ofs)) + return kUpb_MiniTableEquals_NotEqual; + + // Go no further if we are only checking for compatibility. + if (!table) continue; + + if (upb_MiniTableField_CType(src_field) == kUpb_CType_Message) { + if (!*arena) { + *arena = upb_Arena_New(); + if (!upb_inttable_init(table, *arena)) { + return kUpb_MiniTableEquals_OutOfMemory; + } + } + if (!marked_src) { + marked_src = true; + upb_value val; + val.val = (uint64_t)dst; + if (!upb_inttable_insert(table, (uintptr_t)src, val, *arena)) { + return kUpb_MiniTableEquals_OutOfMemory; + } + } + const upb_MiniTable* sub_src = + upb_MiniTable_GetSubMessageTable(src_field); + const upb_MiniTable* sub_dst = + upb_MiniTable_GetSubMessageTable(dst_field); + if (sub_src != NULL) { + upb_value cmp; + if (upb_inttable_lookup(table, (uintptr_t)sub_src, &cmp)) { + // We already compared this src before. Check if same dst. + if (cmp.val != (uint64_t)sub_dst) { + return kUpb_MiniTableEquals_NotEqual; + } + } else { + // Recurse if not already visited. + upb_MiniTableEquals_Status s = + upb_deep_check(sub_src, sub_dst, table, arena); + if (s != kUpb_MiniTableEquals_Equal) { + return s; + } + } + } + } + } + return kUpb_MiniTableEquals_Equal; +} + +bool upb_MiniTable_Compatible(const upb_MiniTable* src, + const upb_MiniTable* dst) { + return upb_deep_check(src, dst, NULL, NULL); +} + +upb_MiniTableEquals_Status upb_MiniTable_Equals(const upb_MiniTable* src, + const upb_MiniTable* dst) { + // Arena allocated on demand for hash table. + upb_Arena* arena = NULL; + // Table to keep track of visited mini tables to guard against cycles. + upb_inttable table; + upb_MiniTableEquals_Status status = upb_deep_check(src, dst, &table, &arena); + if (arena) { + upb_Arena_Free(arena); + } + return status; +} + + +#include +#include +#include + + +// Must be last. + +struct upb_ExtensionRegistry { + upb_exttable exts; + upb_Arena* arena; +}; + +upb_ExtensionRegistry* upb_ExtensionRegistry_New(upb_Arena* arena) { + upb_ExtensionRegistry* r = upb_Arena_Malloc(arena, sizeof(*r)); + if (!r) return NULL; + r->arena = arena; + if (!upb_exttable_init(&r->exts, 8, arena)) return NULL; + return r; +} + +UPB_API upb_ExtensionRegistryStatus upb_ExtensionRegistry_Add( + upb_ExtensionRegistry* r, const upb_MiniTableExtension* e) { + UPB_STATIC_ASSERT( + offsetof(upb_MiniTableExtension, + UPB_PRIVATE(field).UPB_PRIVATE(number)) == 0, + "Extension must be first-member-of-struct convertable with uint32_t"); + uint32_t fieldnum = upb_MiniTableExtension_Number(e); + const upb_MiniTable* extendee = upb_MiniTableExtension_Extendee(e); + + if (upb_exttable_lookup(&r->exts, extendee, fieldnum) != NULL) { + return kUpb_ExtensionRegistryStatus_DuplicateEntry; + } + + if (!upb_exttable_insert(&r->exts, extendee, (const uint32_t*)e, r->arena)) { + return kUpb_ExtensionRegistryStatus_OutOfMemory; + } + return kUpb_ExtensionRegistryStatus_Ok; +} + +upb_ExtensionRegistryStatus upb_ExtensionRegistry_AddArray( + upb_ExtensionRegistry* r, const upb_MiniTableExtension** e, size_t count) { + const upb_MiniTableExtension** start = e; + const upb_MiniTableExtension** end = UPB_PTRADD(e, count); + upb_ExtensionRegistryStatus status = kUpb_ExtensionRegistryStatus_Ok; + for (; e < end; e++) { + status = upb_ExtensionRegistry_Add(r, *e); + if (status != kUpb_ExtensionRegistryStatus_Ok) goto failure; + } + return kUpb_ExtensionRegistryStatus_Ok; + +failure: + // Back out the entries previously added. + for (end = e, e = start; e < end; e++) { + const upb_MiniTableExtension* ext = *e; + upb_exttable_remove(&r->exts, upb_MiniTableExtension_Extendee(ext), + upb_MiniTableExtension_Number(ext)); + } + UPB_ASSERT(status != kUpb_ExtensionRegistryStatus_Ok); + return status; +} + +const upb_MiniTableExtension* upb_ExtensionRegistry_Lookup( + const upb_ExtensionRegistry* r, const upb_MiniTable* t, uint32_t num) { + const uint32_t* v = upb_exttable_lookup(&r->exts, t, num); + return (const upb_MiniTableExtension*)v; +} + +size_t upb_ExtensionRegistry_Size(const upb_ExtensionRegistry* r) { + return upb_exttable_size(&r->exts); +} + + +#include + + +// Must be last. + +// A MiniTable for a statically tree shaken message. Messages that use this +// MiniTable are guaranteed to remain unlinked; unlike the empty message, this +// MiniTable is never replaced, which greatly simplifies everything, because the +// type of a sub-message is always known, without consulting a tagged bit. +const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken) = { + .UPB_PRIVATE(fields) = NULL, + .UPB_PRIVATE(size) = sizeof(struct upb_Message), + .UPB_PRIVATE(field_count) = 0, + .UPB_PRIVATE(ext) = kUpb_ExtMode_NonExtendable, + .UPB_PRIVATE(dense_below) = 0, + .UPB_PRIVATE(table_mask) = -1, + .UPB_PRIVATE(required_count) = 0, +}; + + +#include +#include + + +// Must be last. + +#if UPB_TSAN +#include +#endif // UPB_TSAN + +const UPB_PRIVATE(upb_GeneratedExtensionListEntry) * + UPB_PRIVATE(upb_generated_extension_list) = NULL; + +typedef struct upb_GeneratedRegistry { + UPB_ATOMIC(upb_GeneratedRegistryRef*) ref; + UPB_ATOMIC(int32_t) ref_count; +} upb_GeneratedRegistry; + +static upb_GeneratedRegistry* _upb_generated_registry(void) { + static upb_GeneratedRegistry r = {NULL, 0}; + return &r; +} + +static bool _upb_GeneratedRegistry_AddAllLinkedExtensions( + upb_ExtensionRegistry* r) { + const UPB_PRIVATE(upb_GeneratedExtensionListEntry)* entry = + UPB_PRIVATE(upb_generated_extension_list); + while (entry != NULL) { + const upb_MiniTableExtension** current = entry->start; + for (current = entry->start; current != entry->stop; ++current) { + const upb_MiniTableExtension* ext = *current; + // Sentinels and padding introduced by the linker can result in zeroed + // entries, so simply skip them. + if (*current == NULL) { + // MSVC introduces padding that might not be sized exactly the same as + // the linker array element, but it should be properly aligned, so just + // skipping empty elements should be safe. (If the size and align of + // the array elements was different, we'd have to do something more + // complicated). + continue; + } + + if (upb_ExtensionRegistry_Add(r, ext) != + kUpb_ExtensionRegistryStatus_Ok) { + return false; + } + } + entry = entry->next; + } + return true; +} + +// Constructs a new GeneratedRegistryRef, adding all linked extensions to the +// registry or returning NULL on failure. +static upb_GeneratedRegistryRef* _upb_GeneratedRegistry_New(void) { + upb_Arena* arena = NULL; + upb_ExtensionRegistry* extreg = NULL; + upb_GeneratedRegistryRef* ref = upb_gmalloc(sizeof(upb_GeneratedRegistryRef)); + if (ref == NULL) goto err; + arena = upb_Arena_New(); + if (arena == NULL) goto err; + extreg = upb_ExtensionRegistry_New(arena); + if (extreg == NULL) goto err; + + ref->UPB_PRIVATE(arena) = arena; + ref->UPB_PRIVATE(registry) = extreg; + + if (!_upb_GeneratedRegistry_AddAllLinkedExtensions(extreg)) goto err; + + return ref; + +err: + if (arena != NULL) upb_Arena_Free(arena); + if (ref != NULL) upb_gfree(ref); + return NULL; +} + +const upb_GeneratedRegistryRef* upb_GeneratedRegistry_Load(void) { + upb_GeneratedRegistry* registry = _upb_generated_registry(); + + // Loop until we successfully acquire a reference. This loop should only + // kick in under extremely high contention, and it should be guaranteed to + // succeed. + while (true) { + int32_t count = upb_Atomic_Load(®istry->ref_count, memory_order_acquire); + + // Try to increment the refcount, but only if it's not zero. + while (count > 0) { + if (upb_Atomic_CompareExchangeStrong(®istry->ref_count, &count, + count + 1, memory_order_acquire, + memory_order_relaxed)) { + // Successfully incremented. We can now safely load and return the + // pointer. + const upb_GeneratedRegistryRef* ref = + upb_Atomic_Load(®istry->ref, memory_order_acquire); + UPB_ASSERT(ref != NULL); + return ref; + } + // CAS failed, `count` was updated. Loop will retry. + } + + // If we're here, the count was 0. Time for the slow path. + // Double-check that the pointer is NULL before trying to create. + upb_GeneratedRegistryRef* ref = + upb_Atomic_Load(®istry->ref, memory_order_acquire); + if (ref == NULL) { + // Pointer is NULL, try to create and publish a new registry. + upb_GeneratedRegistryRef* new_ref = _upb_GeneratedRegistry_New(); + if (new_ref == NULL) return NULL; // OOM + + // Try to CAS the pointer from NULL to our new_ref. + if (upb_Atomic_CompareExchangeStrong(®istry->ref, &ref, new_ref, + memory_order_release, + memory_order_acquire)) { + // We won the race. Set the ref count to 1. + upb_Atomic_Store(®istry->ref_count, 1, memory_order_release); + return new_ref; + } else { + // We lost the race. `ref` now holds the pointer from the winning + // thread. Clean up our unused one and loop to try again to get a + // reference. + upb_Arena_Free(new_ref->UPB_PRIVATE(arena)); + upb_gfree(new_ref); + } + } + // If we are here, either we lost the CAS race, or the pointer was already + // non-NULL. In either case, we loop to the top and try to increment the + // refcount of the existing object. + +#if UPB_TSAN + // Yield to give other threads a chance to increment the refcount. This is + // especially an issue for TSAN builds, which are prone to locking up from + // the thread with the upb_Atomic_Store call above getting starved. + sched_yield(); +#endif // UPB_TSAN + } +} + +void upb_GeneratedRegistry_Release(const upb_GeneratedRegistryRef* r) { + if (r == NULL) return; + + upb_GeneratedRegistry* registry = _upb_generated_registry(); + + int ref_count = upb_Atomic_Sub(®istry->ref_count, 1, memory_order_acq_rel); + UPB_ASSERT(registry->ref_count >= 0); + + // A ref_count of 1 means that we decremented the refcount to 0. + if (ref_count == 1) { + upb_GeneratedRegistryRef* ref = + upb_Atomic_Exchange(®istry->ref, NULL, memory_order_acq_rel); + if (ref != NULL) { + // This is the last reference and we won any potential race to store NULL, + // so we need to clean up. + upb_Arena_Free(ref->UPB_PRIVATE(arena)); + upb_gfree(ref); + } + } +} + +const upb_ExtensionRegistry* upb_GeneratedRegistry_Get( + const upb_GeneratedRegistryRef* r) { + if (r == NULL) return NULL; + return r->UPB_PRIVATE(registry); +} + + +#include +#include + + +// Must be last. + +const upb_MiniTableField* upb_MiniTable_GetOneof(const upb_MiniTable* m, + const upb_MiniTableField* f) { + if (UPB_UNLIKELY(!upb_MiniTableField_IsInOneof(f))) { + return NULL; + } + const upb_MiniTableField* ptr = &m->UPB_PRIVATE(fields)[0]; + const upb_MiniTableField* end = + &m->UPB_PRIVATE(fields)[m->UPB_PRIVATE(field_count)]; + for (; ptr < end; ptr++) { + if (ptr->presence == (*f).presence) { + return ptr; + } + } + return NULL; +} + +bool upb_MiniTable_NextOneofField(const upb_MiniTable* m, + const upb_MiniTableField** f) { + const upb_MiniTableField* ptr = *f; + const upb_MiniTableField* end = + &m->UPB_PRIVATE(fields)[m->UPB_PRIVATE(field_count)]; + while (++ptr < end) { + if (ptr->presence == (*f)->presence) { + *f = ptr; + return true; + } + } + return false; +} + +#include +#include + +// Must be last. + +UPB_NORETURN void _upb_UnreachableFailure(const char* file, int line, + const char* function_name) { + fprintf(stderr, "%s:%d: Reached unreachable statement in function `%s`.\n", + file, line, function_name ? function_name : "(unknown)"); + abort(); +} + + +#include +#include +#include +#include +#include + + +// Our awkward dance for including fasttable only when it is enabled. +#if UPB_FASTTABLE +#define UPB_INCLUDE_FAST_DECODE +#endif + +#ifdef UPB_INCLUDE_FAST_DECODE +#endif + +#undef UPB_INCLUDE_FAST_DECODE + +// Must be last. + +// A few fake field types for our tables. +enum { + kUpb_FakeFieldType_FieldNotFound = 0, + kUpb_FakeFieldType_MessageSetItem = 19, +}; + +// DecodeOp: an action to be performed for a wire-type/field-type combination. +enum { + // Special ops: we don't write data to regular fields for these. + kUpb_DecodeOp_UnknownField = -1, + kUpb_DecodeOp_MessageSetItem = -2, + + // Scalar-only ops. + kUpb_DecodeOp_Scalar1Byte = 0, + kUpb_DecodeOp_Scalar4Byte = 2, + kUpb_DecodeOp_Scalar8Byte = 3, + + // Scalar/repeated ops. + kUpb_DecodeOp_String = 4, + kUpb_DecodeOp_Bytes = 5, + kUpb_DecodeOp_SubMessage = 6, + + // Repeated-only ops (also see macros below). + kUpb_DecodeOp_PackedEnum = 13, +}; + +// For packed fields it is helpful to be able to recover the lg2 of the data +// size from the op. +#define OP_FIXPCK_LG2(n) (n + 5) /* n in [2, 3] => op in [7, 8] */ +#define OP_VARPCK_LG2(n) (n + 9) /* n in [0, 2, 3] => op in [9, 11, 12] */ + +static bool _upb_Decoder_Reserve(upb_Decoder* d, upb_Array* arr, size_t elem) { + bool need_realloc = + arr->UPB_PRIVATE(capacity) - arr->UPB_PRIVATE(size) < elem; + if (need_realloc && !UPB_PRIVATE(_upb_Array_Realloc)( + arr, arr->UPB_PRIVATE(size) + elem, &d->arena)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } + return need_realloc; +} + +typedef struct { + const char* ptr; + uint64_t val; +} _upb_DecodeLongVarintReturn; + +// This is identical to _upb_Decoder_DecodeTag() except that the maximum value +// is INT32_MAX instead of UINT32_MAX. +UPB_FORCEINLINE +const char* upb_Decoder_DecodeSize(upb_Decoder* d, const char* ptr, + uint32_t* size) { + int sz; + ptr = upb_WireReader_ReadSize(ptr, &sz, EPS(d)); + *size = sz; + return ptr; +} + +UPB_FORCEINLINE upb_AddUnknownMode +_upb_Decoder_GetAddUnknownMode(upb_Decoder* d, const char* data) { + if (d->options & kUpb_DecodeOption_AliasString) { + if (data != d->input.buffer_start) { + // If the data is not from the beginning of the input buffer, then we can + // safely attempt to coalesce this region with the previous one. + return kUpb_AddUnknown_AliasAllowMerge; + } else { + return kUpb_AddUnknown_Alias; + } + } + return kUpb_AddUnknown_Copy; +} + +static void _upb_Decoder_MungeInt32(wireval* val) { + if (!upb_IsLittleEndian()) { + /* The next stage will memcpy(dst, &val, 4) */ + val->uint32_val = val->uint64_val; + } +} + +static void _upb_Decoder_Munge(const upb_MiniTableField* field, wireval* val) { + switch (field->UPB_PRIVATE(descriptortype)) { + case kUpb_FieldType_Bool: + val->bool_val = val->uint64_val != 0; + break; + case kUpb_FieldType_SInt32: { + uint32_t n = val->uint64_val; + val->uint32_val = (n >> 1) ^ -(int32_t)(n & 1); + break; + } + case kUpb_FieldType_SInt64: { + uint64_t n = val->uint64_val; + val->uint64_val = (n >> 1) ^ -(int64_t)(n & 1); + break; + } + case kUpb_FieldType_Int32: + case kUpb_FieldType_UInt32: + _upb_Decoder_MungeInt32(val); + break; + case kUpb_FieldType_Enum: + UPB_UNREACHABLE(); + } +} + +static upb_Message* _upb_Decoder_NewSubMessage2(upb_Decoder* d, + const upb_MiniTable* subl, + const upb_MiniTableField* field, + upb_Message** target) { + UPB_ASSERT(subl); + upb_Message* msg = _upb_Message_New(subl, &d->arena); + if (!msg) upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + + *target = msg; + return msg; +} + +static upb_Message* _upb_Decoder_NewSubMessage(upb_Decoder* d, + const upb_MiniTableField* field, + upb_Message** target) { + const upb_MiniTable* subl = upb_MiniTable_GetSubMessageTable(field); + return _upb_Decoder_NewSubMessage2(d, subl, field, target); +} + +static const char* _upb_Decoder_ReadString2(upb_Decoder* d, const char* ptr, + int size, upb_StringView* str, + bool validate_utf8) { + if (!_upb_Decoder_ReadString(d, &ptr, size, str, validate_utf8)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } + return ptr; +} + +/* libpg_query local patch: also stop recursing (with a MaxDepthExceeded error) + * when the stack depth limit is reached, using Postgres' stack_is_too_deep(). + * The fixed depth limit alone can't prevent stack overflows, since the stack + * available and the stack used per nesting level vary. See vendor/upb/README. */ +extern bool stack_is_too_deep(void); + +UPB_FORCEINLINE +const char* _upb_Decoder_RecurseSubMessage(upb_Decoder* d, const char* ptr, + upb_Message* submsg, + const upb_MiniTable* subl, + uint32_t expected_end_group) { + if (--d->depth < 0 || stack_is_too_deep()) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_MaxDepthExceeded); + } + ptr = _upb_Decoder_DecodeMessage(d, ptr, submsg, subl); + d->depth++; + if (d->end_group != expected_end_group) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_Malformed); + } + return ptr; +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeSubMessage(upb_Decoder* d, const char* ptr, + upb_Message* submsg, + const upb_MiniTableField* field, + size_t size) { + ptrdiff_t delta = upb_EpsCopyInputStream_PushLimit(&d->input, ptr, size); + const upb_MiniTable* subl = upb_MiniTable_GetSubMessageTable(field); + UPB_ASSERT(subl); + ptr = _upb_Decoder_RecurseSubMessage(d, ptr, submsg, subl, DECODE_NOGROUP); + upb_EpsCopyInputStream_PopLimit(&d->input, ptr, delta); + return ptr; +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeGroup(upb_Decoder* d, const char* ptr, + upb_Message* submsg, + const upb_MiniTable* subl, + uint32_t number) { + if (upb_EpsCopyInputStream_IsDone(EPS(d), &ptr)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_Malformed); + } + ptr = _upb_Decoder_RecurseSubMessage(d, ptr, submsg, subl, number); + d->end_group = DECODE_NOGROUP; + return ptr; +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeKnownGroup(upb_Decoder* d, const char* ptr, + upb_Message* submsg, + const upb_MiniTableField* field) { + const upb_MiniTable* subl = upb_MiniTable_GetSubMessageTable(field); + UPB_ASSERT(subl); + return _upb_Decoder_DecodeGroup(d, ptr, submsg, subl, + field->UPB_PRIVATE(number)); +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeFixedPacked(upb_Decoder* d, const char* ptr, + upb_Array* arr, wireval* val, + const upb_MiniTableField* field, + int lg2) { + upb_StringView sv; + ptr = upb_EpsCopyInputStream_ReadStringEphemeral(&d->input, ptr, val->size, + &sv); + if (!ptr) upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_Malformed); + int mask = (1 << lg2) - 1; + if (UPB_UNLIKELY((val->size & mask) != 0 || ptr == NULL)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_Malformed); + } + size_t count = val->size >> lg2; + if (count == 0) return ptr; + _upb_Decoder_Reserve(d, arr, count); + void* mem = UPB_PTR_AT(upb_Array_MutableDataPtr(arr), + arr->UPB_PRIVATE(size) << lg2, void); + arr->UPB_PRIVATE(size) += count; + if (upb_IsLittleEndian()) { + memcpy(mem, sv.data, sv.size); + } else { + const char* src = sv.data; + const char* src_end = src + sv.size; + char* dst = mem; + if (lg2 == 2) { + for (; src < src_end; src += 4, dst += 4) { + uint32_t x; + memcpy(&x, src, 4); + x = upb_BigEndian32(x); + memcpy(dst, &x, 4); + } + } else { + UPB_ASSERT(lg2 == 3); + for (; src < src_end; src += 8, dst += 8) { + uint64_t x; + memcpy(&x, src, 8); + x = upb_BigEndian64(x); + memcpy(dst, &x, 8); + } + } + } + + return ptr; +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeVarintPacked(upb_Decoder* d, const char* ptr, + upb_Array* arr, wireval* val, + const upb_MiniTableField* field, + int lg2) { + int scale = 1 << lg2; + ptrdiff_t delta = upb_EpsCopyInputStream_PushLimit(&d->input, ptr, val->size); + char* out = UPB_PTR_AT(upb_Array_MutableDataPtr(arr), + arr->UPB_PRIVATE(size) << lg2, void); + while (!upb_EpsCopyInputStream_IsDone(EPS(d), &ptr)) { + wireval elem; + ptr = upb_WireReader_ReadVarint(ptr, &elem.uint64_val, EPS(d)); + _upb_Decoder_Munge(field, &elem); + if (_upb_Decoder_Reserve(d, arr, 1)) { + out = UPB_PTR_AT(upb_Array_MutableDataPtr(arr), + arr->UPB_PRIVATE(size) << lg2, void); + } + arr->UPB_PRIVATE(size)++; + memcpy(out, &elem, scale); + out += scale; + } + upb_EpsCopyInputStream_PopLimit(&d->input, ptr, delta); + return ptr; +} + +UPB_NOINLINE +static const char* _upb_Decoder_DecodeEnumPacked( + upb_Decoder* d, const char* ptr, upb_Message* msg, upb_Array* arr, + const upb_MiniTableField* field, wireval* val) { + const upb_MiniTableEnum* e = upb_MiniTable_GetSubEnumTable(field); + ptrdiff_t delta = upb_EpsCopyInputStream_PushLimit(&d->input, ptr, val->size); + char* out = UPB_PTR_AT(upb_Array_MutableDataPtr(arr), + arr->UPB_PRIVATE(size) * 4, void); + while (!upb_EpsCopyInputStream_IsDone(EPS(d), &ptr)) { + wireval elem; + ptr = upb_WireReader_ReadVarint(ptr, &elem.uint64_val, EPS(d)); + if (!upb_MiniTableEnum_CheckValue(e, elem.uint64_val)) { + upb_Message* unknown_msg = + field->UPB_PRIVATE(mode) & kUpb_LabelFlags_IsExtension + ? d->original_msg + : msg; + if (!_upb_Encoder_AddEnumValueToUnknown(unknown_msg, field, + elem.uint64_val, &d->arena)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } + continue; + } + _upb_Decoder_MungeInt32(&elem); + if (_upb_Decoder_Reserve(d, arr, 1)) { + out = UPB_PTR_AT(upb_Array_MutableDataPtr(arr), + arr->UPB_PRIVATE(size) * 4, void); + } + arr->UPB_PRIVATE(size)++; + memcpy(out, &elem, 4); + out += 4; + } + upb_EpsCopyInputStream_PopLimit(&d->input, ptr, delta); + return ptr; +} + +static upb_Array* _upb_Decoder_CreateArray(upb_Decoder* d, + const upb_MiniTableField* field) { + const upb_FieldType field_type = field->UPB_PRIVATE(descriptortype); + const size_t lg2 = UPB_PRIVATE(_upb_FieldType_SizeLg2)(field_type); + upb_Array* ret = UPB_PRIVATE(_upb_Array_New)( + &d->arena, _UPB_ARRAY_DEFAULT_INITIAL_SIZE, lg2); + if (!ret) upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + return ret; +} + +#if UPB_FASTTABLE +UPB_PRESERVE_NONE +#endif +static const char* _upb_Decoder_DecodeToArray(upb_Decoder* d, const char* ptr, + upb_Message* msg, + const upb_MiniTableField* field, + wireval* val, int op) { + upb_Array** arrp = UPB_PTR_AT(msg, field->UPB_PRIVATE(offset), void); + upb_Array* arr = *arrp; + void* mem; + + if (arr) { + _upb_Decoder_Reserve(d, arr, 1); + } else { + arr = _upb_Decoder_CreateArray(d, field); + *arrp = arr; + } + + switch (op) { + case kUpb_DecodeOp_Scalar1Byte: + case kUpb_DecodeOp_Scalar4Byte: + case kUpb_DecodeOp_Scalar8Byte: + /* Append scalar value. */ + mem = UPB_PTR_AT(upb_Array_MutableDataPtr(arr), + arr->UPB_PRIVATE(size) << op, void); + arr->UPB_PRIVATE(size)++; + memcpy(mem, val, 1 << op); + return ptr; + case kUpb_DecodeOp_String: { + /* Append string. */ + upb_StringView* str = (upb_StringView*)upb_Array_MutableDataPtr(arr) + + arr->UPB_PRIVATE(size); + ptr = _upb_Decoder_ReadString2(d, ptr, val->size, str, + /*validate_utf8=*/true); + arr->UPB_PRIVATE(size)++; + return ptr; + } + case kUpb_DecodeOp_Bytes: { + /* Append bytes. */ + upb_StringView* str = (upb_StringView*)upb_Array_MutableDataPtr(arr) + + arr->UPB_PRIVATE(size); + ptr = _upb_Decoder_ReadString2(d, ptr, val->size, str, + /*validate_utf8=*/false); + arr->UPB_PRIVATE(size)++; + return ptr; + } + case kUpb_DecodeOp_SubMessage: { + /* Append submessage / group. */ + upb_Message** target = + UPB_PTR_AT(upb_Array_MutableDataPtr(arr), + arr->UPB_PRIVATE(size) * sizeof(void*), upb_Message*); + upb_Message* submsg = _upb_Decoder_NewSubMessage(d, field, target); + arr->UPB_PRIVATE(size)++; + if (UPB_UNLIKELY(field->UPB_PRIVATE(descriptortype) == + kUpb_FieldType_Group)) { + return _upb_Decoder_DecodeKnownGroup(d, ptr, submsg, field); + } else { + return _upb_Decoder_DecodeSubMessage(d, ptr, submsg, field, val->size); + } + } + case OP_FIXPCK_LG2(2): + case OP_FIXPCK_LG2(3): + return _upb_Decoder_DecodeFixedPacked(d, ptr, arr, val, field, + op - OP_FIXPCK_LG2(0)); + case OP_VARPCK_LG2(0): + case OP_VARPCK_LG2(2): + case OP_VARPCK_LG2(3): + return _upb_Decoder_DecodeVarintPacked(d, ptr, arr, val, field, + op - OP_VARPCK_LG2(0)); + case kUpb_DecodeOp_PackedEnum: + return _upb_Decoder_DecodeEnumPacked(d, ptr, msg, arr, field, val); + default: + UPB_UNREACHABLE(); + } +} + +static upb_Map* _upb_Decoder_CreateMap(upb_Decoder* d, + const upb_MiniTable* entry) { + // Maps descriptor type -> upb map size + static const uint8_t kSizeInMap[] = { + [0] = -1, // invalid descriptor type + [kUpb_FieldType_Double] = 8, + [kUpb_FieldType_Float] = 4, + [kUpb_FieldType_Int64] = 8, + [kUpb_FieldType_UInt64] = 8, + [kUpb_FieldType_Int32] = 4, + [kUpb_FieldType_Fixed64] = 8, + [kUpb_FieldType_Fixed32] = 4, + [kUpb_FieldType_Bool] = 1, + [kUpb_FieldType_String] = UPB_MAPTYPE_STRING, + [kUpb_FieldType_Group] = sizeof(void*), + [kUpb_FieldType_Message] = sizeof(void*), + [kUpb_FieldType_Bytes] = UPB_MAPTYPE_STRING, + [kUpb_FieldType_UInt32] = 4, + [kUpb_FieldType_Enum] = 4, + [kUpb_FieldType_SFixed32] = 4, + [kUpb_FieldType_SFixed64] = 8, + [kUpb_FieldType_SInt32] = 4, + [kUpb_FieldType_SInt64] = 8, + }; + + const upb_MiniTableField* key_field = &entry->UPB_PRIVATE(fields)[0]; + const upb_MiniTableField* val_field = &entry->UPB_PRIVATE(fields)[1]; + char key_size = kSizeInMap[key_field->UPB_PRIVATE(descriptortype)]; + char val_size = kSizeInMap[val_field->UPB_PRIVATE(descriptortype)]; + UPB_ASSERT(key_field->UPB_PRIVATE(offset) == offsetof(upb_MapEntry, k)); + UPB_ASSERT(val_field->UPB_PRIVATE(offset) == offsetof(upb_MapEntry, v)); + upb_Map* ret = _upb_Map_New(&d->arena, key_size, val_size); + if (!ret) upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + return ret; +} + +#if UPB_FASTTABLE +UPB_PRESERVE_NONE +#endif +static const char* _upb_Decoder_DecodeToMap(upb_Decoder* d, const char* ptr, + upb_Message* msg, + const upb_MiniTableField* field, + wireval* val) { + upb_Map** map_p = UPB_PTR_AT(msg, field->UPB_PRIVATE(offset), upb_Map*); + upb_Map* map = *map_p; + upb_MapEntry ent; + UPB_ASSERT(upb_MiniTableField_Type(field) == kUpb_FieldType_Message); + const upb_MiniTable* entry = upb_MiniTable_GetSubMessageTable(field); + + UPB_ASSERT(entry); + UPB_ASSERT(entry->UPB_PRIVATE(field_count) == 2); + UPB_ASSERT(upb_MiniTableField_IsScalar(&entry->UPB_PRIVATE(fields)[0])); + UPB_ASSERT(upb_MiniTableField_IsScalar(&entry->UPB_PRIVATE(fields)[1])); + + if (!map) { + map = _upb_Decoder_CreateMap(d, entry); + *map_p = map; + } + + // Parse map entry. + memset(&ent, 0, sizeof(ent)); + + bool value_is_message = + entry->UPB_PRIVATE(fields)[1].UPB_PRIVATE(descriptortype) == + kUpb_FieldType_Message || + entry->UPB_PRIVATE(fields)[1].UPB_PRIVATE(descriptortype) == + kUpb_FieldType_Group; + const upb_MiniTable* sub_table = + value_is_message + ? upb_MiniTable_GetSubMessageTable(&entry->UPB_PRIVATE(fields)[1]) + : NULL; + upb_Message* sub_msg = NULL; + + if (sub_table) { + // Create proactively to handle the case where it doesn't appear. + _upb_Decoder_NewSubMessage(d, &entry->UPB_PRIVATE(fields)[1], &sub_msg); + ent.v.val = upb_value_ptr(sub_msg); + } + + ptr = _upb_Decoder_DecodeSubMessage(d, ptr, &ent.message, field, val->size); + + if (sub_msg && sub_table->UPB_PRIVATE(required_count)) { + // If the map entry did not contain a value on the wire, `sub_msg` is an + // empty message; we must check if it is missing any required fields. If the + // value was present, this check is redundant but harmless. + _upb_Decoder_CheckRequired(d, ptr, sub_msg, sub_table); + } + + if (upb_Message_HasUnknown(&ent.message)) { + if (!_upb_Encoder_AddMapEntryUnknown(msg, field, &ent.message, entry, + &d->arena)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } + } else { + if (_upb_Map_Insert(map, &ent.k, map->key_size, &ent.v, map->val_size, + &d->arena) == kUpb_MapInsertStatus_OutOfMemory) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } + } + return ptr; +} + +#if UPB_FASTTABLE +UPB_PRESERVE_NONE +#endif +static const char* _upb_Decoder_DecodeToSubMessage( + upb_Decoder* d, const char* ptr, upb_Message* msg, + const upb_MiniTableField* field, wireval* val, int op) { + void* mem = UPB_PTR_AT(msg, field->UPB_PRIVATE(offset), void); + int type = field->UPB_PRIVATE(descriptortype); + + // Set presence if necessary. + if (UPB_PRIVATE(_upb_MiniTableField_HasHasbit)(field)) { + UPB_PRIVATE(_upb_Message_SetHasbit)(msg, field); + } else if (upb_MiniTableField_IsInOneof(field)) { + // Oneof case + uint32_t* oneof_case = UPB_PRIVATE(_upb_Message_OneofCasePtr)(msg, field); + if (op == kUpb_DecodeOp_SubMessage && + *oneof_case != field->UPB_PRIVATE(number)) { + memset(mem, 0, sizeof(void*)); + } + *oneof_case = field->UPB_PRIVATE(number); + } + + // Store into message. + switch (op) { + case kUpb_DecodeOp_SubMessage: { + upb_Message** submsgp = mem; + upb_Message* submsg = *submsgp; + if (!submsg) submsg = _upb_Decoder_NewSubMessage(d, field, submsgp); + if (UPB_UNLIKELY(type == kUpb_FieldType_Group)) { + ptr = _upb_Decoder_DecodeKnownGroup(d, ptr, submsg, field); + } else { + ptr = _upb_Decoder_DecodeSubMessage(d, ptr, submsg, field, val->size); + } + break; + } + case kUpb_DecodeOp_String: + return _upb_Decoder_ReadString2(d, ptr, val->size, mem, + /*validate_utf8=*/true); + case kUpb_DecodeOp_Bytes: + return _upb_Decoder_ReadString2(d, ptr, val->size, mem, + /*validate_utf8=*/false); + case kUpb_DecodeOp_Scalar8Byte: + memcpy(mem, val, 8); + break; + case kUpb_DecodeOp_Scalar4Byte: + memcpy(mem, val, 4); + break; + case kUpb_DecodeOp_Scalar1Byte: + memcpy(mem, val, 1); + break; + default: + UPB_UNREACHABLE(); + } + + return ptr; +} + +enum { + kStartItemTag = ((kUpb_MsgSet_Item << 3) | kUpb_WireType_StartGroup), + kEndItemTag = ((kUpb_MsgSet_Item << 3) | kUpb_WireType_EndGroup), + kTypeIdTag = ((kUpb_MsgSet_TypeId << 3) | kUpb_WireType_Varint), + kMessageTag = ((kUpb_MsgSet_Message << 3) | kUpb_WireType_Delimited), +}; + +static void upb_Decoder_AddKnownMessageSetItem( + upb_Decoder* d, upb_Message* msg, const upb_MiniTableExtension* item_mt, + const char* data, uint32_t size) { + upb_Extension* ext = + UPB_PRIVATE(_upb_Message_GetOrCreateExtension)(msg, item_mt, &d->arena); + if (UPB_UNLIKELY(!ext)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } + upb_Message** submsgp = (upb_Message**)&ext->data.msg_val; + upb_Message* submsg = _upb_Decoder_NewSubMessage2( + d, ext->ext->UPB_PRIVATE(sub).UPB_PRIVATE(submsg), + &ext->ext->UPB_PRIVATE(field), submsgp); + // upb_Decode_LimitDepth() takes uint32_t, d->depth - 1 can not be negative. + if (d->depth <= 1) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_MaxDepthExceeded); + } + upb_DecodeStatus status = upb_Decode( + data, size, submsg, upb_MiniTableExtension_GetSubMessage(item_mt), + d->extreg, upb_Decode_LimitDepth(d->options, d->depth - 1), &d->arena); + if (status != kUpb_DecodeStatus_Ok) { + upb_ErrorHandler_ThrowError(d->err, status); + } +} + +static void upb_Decoder_AddUnknownMessageSetItem(upb_Decoder* d, + upb_Message* msg, + uint32_t type_id, + const char* message_data, + uint32_t message_size) { + char buf[6 * kUpb_Encoder_EncodeVarint32MaxSize]; + char* ptr = buf; + ptr = upb_Encoder_EncodeVarint32(kStartItemTag, ptr); + ptr = upb_Encoder_EncodeVarint32(kTypeIdTag, ptr); + ptr = upb_Encoder_EncodeVarint32(type_id, ptr); + ptr = upb_Encoder_EncodeVarint32(kMessageTag, ptr); + ptr = upb_Encoder_EncodeVarint32(message_size, ptr); + char* split = ptr; + + ptr = upb_Encoder_EncodeVarint32(kEndItemTag, ptr); + char* end = ptr; + upb_StringView unknown[] = { + {buf, split - buf}, + {message_data, message_size}, + {split, end - split}, + }; + if (!UPB_PRIVATE(_upb_Message_AddUnknownV)(msg, &d->arena, unknown, 3)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } +} + +static void upb_Decoder_AddMessageSetItem(upb_Decoder* d, upb_Message* msg, + const upb_MiniTable* t, + uint32_t type_id, const char* data, + uint32_t size) { + const upb_MiniTableExtension* item_mt = + upb_ExtensionRegistry_Lookup(d->extreg, t, type_id); + if (item_mt) { + upb_Decoder_AddKnownMessageSetItem(d, msg, item_mt, data, size); + } else { + upb_Decoder_AddUnknownMessageSetItem(d, msg, type_id, data, size); + } +} + +static const char* upb_Decoder_DecodeMessageSetItem( + upb_Decoder* d, const char* ptr, upb_Message* msg, + const upb_MiniTable* layout) { + uint32_t type_id = 0; + upb_StringView preserved = {NULL, 0}; + typedef enum { + kUpb_HaveId = 1 << 0, + kUpb_HavePayload = 1 << 1, + } StateMask; + StateMask state_mask = 0; + while (!upb_EpsCopyInputStream_IsDone(EPS(d), &ptr)) { + uint32_t tag; + ptr = upb_WireReader_ReadTag(ptr, &tag, EPS(d)); + switch (tag) { + case kEndItemTag: + return ptr; + case kTypeIdTag: { + uint64_t tmp; + ptr = upb_WireReader_ReadVarint(ptr, &tmp, EPS(d)); + if (state_mask & kUpb_HaveId) break; // Ignore dup. + state_mask |= kUpb_HaveId; + type_id = tmp; + if (state_mask & kUpb_HavePayload) { + upb_Decoder_AddMessageSetItem(d, msg, layout, type_id, preserved.data, + preserved.size); + } + break; + } + case kMessageTag: { + uint32_t size; + upb_StringView sv; + ptr = upb_Decoder_DecodeSize(d, ptr, &size); + ptr = upb_EpsCopyInputStream_ReadStringAlwaysAlias(&d->input, ptr, size, + &sv); + if (!ptr) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_Malformed); + } + if (state_mask & kUpb_HavePayload) break; // Ignore dup. + state_mask |= kUpb_HavePayload; + if (state_mask & kUpb_HaveId) { + upb_Decoder_AddMessageSetItem(d, msg, layout, type_id, sv.data, + sv.size); + } else { + // Out of order, we must preserve the payload. + preserved = sv; + } + break; + } + default: + // We do not preserve unexpected fields inside a message set item. + ptr = _upb_WireReader_SkipValue(ptr, tag, d->depth, &d->input); + break; + } + } + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_Malformed); +} + +static upb_MiniTableField upb_Decoder_FieldNotFoundField = { + 0, 0, 0, 0, kUpb_FakeFieldType_FieldNotFound, 0}; + +UPB_NOINLINE const upb_MiniTableField* _upb_Decoder_FindExtensionField( + upb_Decoder* d, const upb_MiniTable* t, uint32_t field_number, int ext_mode, + uint32_t wire_type) { + // Treat a message set as an extendable message if it is a delimited field. + // This provides compatibility with encoders that are unaware of message + // sets and serialize them as normal extensions. + if (ext_mode == kUpb_ExtMode_Extendable || + (ext_mode == kUpb_ExtMode_IsMessageSet && + wire_type == kUpb_WireType_Delimited)) { + const upb_MiniTableExtension* ext = + upb_ExtensionRegistry_Lookup(d->extreg, t, field_number); + if (ext) return &ext->UPB_PRIVATE(field); + } else if (ext_mode == kUpb_ExtMode_IsMessageSet) { + if (field_number == kUpb_MsgSet_Item) { + static upb_MiniTableField item = { + 0, 0, 0, 0, kUpb_FakeFieldType_MessageSetItem, 0}; + return &item; + } + } + return &upb_Decoder_FieldNotFoundField; +} + +static const upb_MiniTableField* _upb_Decoder_FindField(upb_Decoder* d, + const upb_MiniTable* t, + uint32_t field_number, + uint32_t wire_type) { + UPB_ASSERT(t); + const upb_MiniTableField* field = + upb_MiniTable_FindFieldByNumber(t, field_number); + if (field) return field; + + if (d->extreg && UPB_PRIVATE(_upb_MiniTable_ExtModeBase)(t)) { + return _upb_Decoder_FindExtensionField( + d, t, field_number, UPB_PRIVATE(_upb_MiniTable_ExtModeBase)(t), + wire_type); + } + + return &upb_Decoder_FieldNotFoundField; // Unknown field. +} + +static int _upb_Decoder_GetVarintOp(const upb_MiniTableField* field) { + static const int8_t kVarintOps[] = { + [kUpb_FakeFieldType_FieldNotFound] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Double] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Float] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Int64] = kUpb_DecodeOp_Scalar8Byte, + [kUpb_FieldType_UInt64] = kUpb_DecodeOp_Scalar8Byte, + [kUpb_FieldType_Int32] = kUpb_DecodeOp_Scalar4Byte, + [kUpb_FieldType_Fixed64] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Fixed32] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Bool] = kUpb_DecodeOp_Scalar1Byte, + [kUpb_FieldType_String] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Group] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Message] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Bytes] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_UInt32] = kUpb_DecodeOp_Scalar4Byte, + [kUpb_FieldType_Enum] = kUpb_DecodeOp_Scalar4Byte, + [kUpb_FieldType_SFixed32] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_SFixed64] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_SInt32] = kUpb_DecodeOp_Scalar4Byte, + [kUpb_FieldType_SInt64] = kUpb_DecodeOp_Scalar8Byte, + [kUpb_FakeFieldType_MessageSetItem] = kUpb_DecodeOp_UnknownField, + }; + + return kVarintOps[field->UPB_PRIVATE(descriptortype)]; +} + +UPB_FORCEINLINE +void _upb_Decoder_CheckUnlinked(upb_Decoder* d, const upb_MiniTable* mt, + const upb_MiniTableField* field, int* op) { + // If sub-message is not linked, treat as unknown. + if (field->UPB_PRIVATE(mode) & kUpb_LabelFlags_IsExtension) return; + const upb_MiniTable* mt_sub = upb_MiniTable_GetSubMessageTable(field); + if (mt_sub != NULL) return; // Normal case, sub-message is linked. + _upb_Decoder_VerifyOneofUnlinked(mt, field); + *op = kUpb_DecodeOp_UnknownField; +} + +UPB_FORCEINLINE +void _upb_Decoder_MaybeVerifyUtf8(upb_Decoder* d, + const upb_MiniTableField* field, int* op) { + UPB_ASSUME(field->UPB_PRIVATE(descriptortype) == kUpb_FieldType_Bytes); + if (_upb_Decoder_FieldRequiresUtf8Validation(d, field)) { + *op = kUpb_DecodeOp_String; + } +} + +static int _upb_Decoder_GetDelimitedOp(upb_Decoder* d, const upb_MiniTable* mt, + const upb_MiniTableField* field) { + enum { kRepeatedBase = 19 }; + + static const int8_t kDelimitedOps[] = { + // For non-repeated field type. + [kUpb_FakeFieldType_FieldNotFound] = + kUpb_DecodeOp_UnknownField, // Field not found. + [kUpb_FieldType_Double] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Float] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Int64] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_UInt64] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Int32] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Fixed64] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Fixed32] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Bool] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_String] = kUpb_DecodeOp_String, + [kUpb_FieldType_Group] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Message] = kUpb_DecodeOp_SubMessage, + [kUpb_FieldType_Bytes] = kUpb_DecodeOp_Bytes, + [kUpb_FieldType_UInt32] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_Enum] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_SFixed32] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_SFixed64] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_SInt32] = kUpb_DecodeOp_UnknownField, + [kUpb_FieldType_SInt64] = kUpb_DecodeOp_UnknownField, + [kUpb_FakeFieldType_MessageSetItem] = kUpb_DecodeOp_SubMessage, + // For repeated field type. + [kRepeatedBase + kUpb_FieldType_Double] = OP_FIXPCK_LG2(3), + [kRepeatedBase + kUpb_FieldType_Float] = OP_FIXPCK_LG2(2), + [kRepeatedBase + kUpb_FieldType_Int64] = OP_VARPCK_LG2(3), + [kRepeatedBase + kUpb_FieldType_UInt64] = OP_VARPCK_LG2(3), + [kRepeatedBase + kUpb_FieldType_Int32] = OP_VARPCK_LG2(2), + [kRepeatedBase + kUpb_FieldType_Fixed64] = OP_FIXPCK_LG2(3), + [kRepeatedBase + kUpb_FieldType_Fixed32] = OP_FIXPCK_LG2(2), + [kRepeatedBase + kUpb_FieldType_Bool] = OP_VARPCK_LG2(0), + [kRepeatedBase + kUpb_FieldType_String] = kUpb_DecodeOp_String, + [kRepeatedBase + kUpb_FieldType_Group] = kUpb_DecodeOp_UnknownField, + [kRepeatedBase + kUpb_FieldType_Message] = kUpb_DecodeOp_SubMessage, + [kRepeatedBase + kUpb_FieldType_Bytes] = kUpb_DecodeOp_Bytes, + [kRepeatedBase + kUpb_FieldType_UInt32] = OP_VARPCK_LG2(2), + [kRepeatedBase + kUpb_FieldType_Enum] = kUpb_DecodeOp_PackedEnum, + [kRepeatedBase + kUpb_FieldType_SFixed32] = OP_FIXPCK_LG2(2), + [kRepeatedBase + kUpb_FieldType_SFixed64] = OP_FIXPCK_LG2(3), + [kRepeatedBase + kUpb_FieldType_SInt32] = OP_VARPCK_LG2(2), + [kRepeatedBase + kUpb_FieldType_SInt64] = OP_VARPCK_LG2(3), + // Omitting kUpb_FakeFieldType_MessageSetItem, because we never emit a + // repeated msgset type + }; + + int ndx = field->UPB_PRIVATE(descriptortype); + if (upb_MiniTableField_IsArray(field)) ndx += kRepeatedBase; + int op = kDelimitedOps[ndx]; + + if (op == kUpb_DecodeOp_SubMessage) { + _upb_Decoder_CheckUnlinked(d, mt, field, &op); + } else if (op == kUpb_DecodeOp_Bytes) { + _upb_Decoder_MaybeVerifyUtf8(d, field, &op); + } + + /* libpg_query local patch: decode proto3 string fields as bytes to skip + * UTF-8 validation (SQL literals may be non-UTF-8). See vendor/upb/README. */ + if (op == kUpb_DecodeOp_String) op = kUpb_DecodeOp_Bytes; + + return op; +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeWireValue(upb_Decoder* d, const char* ptr, + const upb_MiniTable* mt, + const upb_MiniTableField* field, + uint32_t wire_type, wireval* val, + int* op) { + static const unsigned kFixed32OkMask = (1 << kUpb_FieldType_Float) | + (1 << kUpb_FieldType_Fixed32) | + (1 << kUpb_FieldType_SFixed32); + + static const unsigned kFixed64OkMask = (1 << kUpb_FieldType_Double) | + (1 << kUpb_FieldType_Fixed64) | + (1 << kUpb_FieldType_SFixed64); + + switch (wire_type) { + case kUpb_WireType_Varint: + ptr = upb_WireReader_ReadVarint(ptr, &val->uint64_val, EPS(d)); + if (upb_MiniTableField_IsClosedEnum(field)) { + const upb_MiniTableEnum* e = upb_MiniTable_GetSubEnumTable(field); + if (!upb_MiniTableEnum_CheckValue(e, val->uint64_val)) { + *op = kUpb_DecodeOp_UnknownField; + return ptr; + } + _upb_Decoder_MungeInt32(val); + } else { + _upb_Decoder_Munge(field, val); + } + *op = _upb_Decoder_GetVarintOp(field); + return ptr; + case kUpb_WireType_32Bit: + *op = kUpb_DecodeOp_Scalar4Byte; + if (((1 << field->UPB_PRIVATE(descriptortype)) & kFixed32OkMask) == 0) { + *op = kUpb_DecodeOp_UnknownField; + } + return upb_WireReader_ReadFixed32(ptr, &val->uint32_val, &d->input); + case kUpb_WireType_64Bit: + *op = kUpb_DecodeOp_Scalar8Byte; + if (((1 << field->UPB_PRIVATE(descriptortype)) & kFixed64OkMask) == 0) { + *op = kUpb_DecodeOp_UnknownField; + } + return upb_WireReader_ReadFixed64(ptr, &val->uint64_val, &d->input); + case kUpb_WireType_Delimited: + ptr = upb_Decoder_DecodeSize(d, ptr, &val->size); + *op = _upb_Decoder_GetDelimitedOp(d, mt, field); + return ptr; + case kUpb_WireType_StartGroup: + val->uint32_val = field->UPB_PRIVATE(number); + if (field->UPB_PRIVATE(descriptortype) == kUpb_FieldType_Group) { + *op = kUpb_DecodeOp_SubMessage; + _upb_Decoder_CheckUnlinked(d, mt, field, op); + } else if (field->UPB_PRIVATE(descriptortype) == + kUpb_FakeFieldType_MessageSetItem) { + *op = kUpb_DecodeOp_MessageSetItem; + } else { + *op = kUpb_DecodeOp_UnknownField; + } + return ptr; + default: + break; + } + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_Malformed); +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeKnownField(upb_Decoder* d, const char* ptr, + upb_Message* msg, + const upb_MiniTableField* field, + int op, wireval* val) { + uint8_t mode = field->UPB_PRIVATE(mode); + + if (UPB_UNLIKELY(mode & kUpb_LabelFlags_IsExtension)) { + const upb_MiniTableExtension* ext_layout = + (const upb_MiniTableExtension*)field; + upb_Extension* ext = UPB_PRIVATE(_upb_Message_GetOrCreateExtension)( + msg, ext_layout, &d->arena); + if (UPB_UNLIKELY(!ext)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } + d->original_msg = msg; + msg = &ext->data.UPB_PRIVATE(ext_msg_val); + } + + switch (mode & kUpb_FieldMode_Mask) { + case kUpb_FieldMode_Array: + return _upb_Decoder_DecodeToArray(d, ptr, msg, field, val, op); + case kUpb_FieldMode_Map: + return _upb_Decoder_DecodeToMap(d, ptr, msg, field, val); + case kUpb_FieldMode_Scalar: + return _upb_Decoder_DecodeToSubMessage(d, ptr, msg, field, val, op); + default: + UPB_UNREACHABLE(); + } +} + +UPB_FORCEINLINE +bool _upb_Decoder_CanSkipUnknownField(upb_Decoder* d, uint32_t next_field_num, + uint32_t next_wire_type, + const upb_MiniTable* mt, uint32_t* gap_lo, + uint32_t* gap_hi, bool is_extendable) { + if (next_wire_type == kUpb_WireType_EndGroup) { + return false; + } + + if (UPB_UNLIKELY(upb_MiniTable_IsMessageSet(mt))) { + if (next_field_num == kUpb_MsgSet_Item) { + return false; + } + } + + if (next_field_num <= *gap_lo || next_field_num >= *gap_hi) { + if (UPB_LIKELY(next_field_num == *gap_hi)) { + // Common case of fields in ascending order encountering a known + // field + return false; + } + if (UPB_UNLIKELY(next_field_num == 0)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_Malformed); + } + if (next_field_num == *gap_lo) { + return false; + } + if (!UPB_PRIVATE(_upb_MiniTable_FindUnknownGap)(mt, next_field_num, gap_lo, + gap_hi)) { + return false; + } + } + + if (is_extendable) { + if (upb_ExtensionRegistry_Lookup(d->extreg, mt, next_field_num)) { + return false; + } + } + + return true; +} + +UPB_NOINLINE +static const char* _upb_Decoder_DecodeUnknowns( + upb_Decoder* d, const char* ptr, upb_Message* msg, const upb_MiniTable* mt, + uint32_t field_number, uint32_t wire_type, wireval val, const char* start) { + if (field_number == 0) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_Malformed); + } + + upb_EpsCopyCapture capture; + upb_EpsCopyCapture_Start(&capture, &d->input, start); + + // We have already parsed the tag and "value" (or size) of the first unknown + // field. ptr is currently: + // - after value for Varint, 32Bit, 64Bit. + // - after size for Delimited. + // - after tag for StartGroup. + + // We need to finish skipping the first field. + if (wire_type == kUpb_WireType_Delimited) { + upb_StringView sv; + ptr = upb_EpsCopyInputStream_ReadStringEphemeral(&d->input, ptr, val.size, + &sv); + } else if (wire_type == kUpb_WireType_StartGroup) { + ptr = UPB_PRIVATE(_upb_WireReader_SkipGroup)(ptr, field_number << 3, + d->depth, &d->input); + } + + // Fast check if next fields are also unknown, based on the gap between known + // fields our first unknown falls between. + + uint32_t gap_lo = 0; + uint32_t gap_hi = 0; + bool has_gap = UPB_PRIVATE(_upb_MiniTable_FindUnknownGap)(mt, field_number, + &gap_lo, &gap_hi); + + if (has_gap) { + bool is_extendable = + (UPB_UNLIKELY(UPB_PRIVATE(_upb_MiniTable_IsExtendable)(mt)) || + UPB_UNLIKELY(upb_MiniTable_IsMessageSet(mt))) && + d->extreg; + while (!upb_EpsCopyInputStream_IsDone(EPS(d), &ptr)) { + const char* start_ptr = ptr; + uint32_t tag; + ptr = upb_WireReader_ReadTag(ptr, &tag, EPS(d)); + + uint32_t next_field_num = tag >> 3; + uint32_t next_wire_type = tag & 7; + + if (_upb_Decoder_CanSkipUnknownField(d, next_field_num, next_wire_type, + mt, &gap_lo, &gap_hi, + is_extendable)) { + ptr = _upb_WireReader_SkipValueForceInline(ptr, tag, d->depth, EPS(d)); + } else { + ptr = start_ptr; + break; + } + } + } + + upb_StringView sv; + upb_EpsCopyCapture_End(&capture, &d->input, ptr, &sv); + + if (UPB_LIKELY(sv.size > 0)) { + if (!UPB_PRIVATE(_upb_Message_AddUnknown)( + msg, sv.data, sv.size, &d->arena, + _upb_Decoder_GetAddUnknownMode(d, sv.data))) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } + } + + return ptr; +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeFieldTag(upb_Decoder* d, const char* ptr, + uint32_t* field_number, + uint32_t* wire_type) { + uint32_t tag; + UPB_ASSERT(ptr < d->input.limit_ptr); + ptr = upb_WireReader_ReadTag(ptr, &tag, EPS(d)); + *field_number = tag >> 3; + *wire_type = tag & 7; + return ptr; +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeFieldData( + upb_Decoder* d, const char* ptr, upb_Message* msg, const upb_MiniTable* mt, + uint32_t field_number, uint32_t wire_type, const char* start) { + int op; + wireval val; + + const upb_MiniTableField* field = + _upb_Decoder_FindField(d, mt, field_number, wire_type); + ptr = _upb_Decoder_DecodeWireValue(d, ptr, mt, field, wire_type, &val, &op); + + if (op >= 0) { + return _upb_Decoder_DecodeKnownField(d, ptr, msg, field, op, &val); + } else { + switch (op) { + case kUpb_DecodeOp_UnknownField: + return _upb_Decoder_DecodeUnknowns(d, ptr, msg, mt, field_number, + wire_type, val, start); + case kUpb_DecodeOp_MessageSetItem: + return upb_Decoder_DecodeMessageSetItem(d, ptr, msg, mt); + default: + UPB_UNREACHABLE(); + } + } +} + +static const char* _upb_Decoder_EndMessage(upb_Decoder* d, const char* ptr) { + d->message_is_done = true; + return ptr; +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeFieldNoFast(upb_Decoder* d, const char* ptr, + upb_Message* msg, + const upb_MiniTable* mt) { + uint32_t field_number; + uint32_t wire_type; + + const char* start = ptr; + ptr = _upb_Decoder_DecodeFieldTag(d, ptr, &field_number, &wire_type); + + if (wire_type == kUpb_WireType_EndGroup) { + d->end_group = field_number; + return _upb_Decoder_EndMessage(d, ptr); + } + + ptr = _upb_Decoder_DecodeFieldData(d, ptr, msg, mt, field_number, wire_type, + start); + _upb_Decoder_Trace(d, 'M'); + return ptr; +} + +UPB_FORCEINLINE +bool _upb_Decoder_TryDecodeMessageFast(upb_Decoder* d, const char** ptr, + upb_Message* msg, + const upb_MiniTable* mt, + uint64_t last_field_index, + uint64_t data) { +#if UPB_FASTTABLE + if (mt->UPB_PRIVATE(table_mask) == (unsigned char)-1 || + (d->options & kUpb_DecodeOption_DisableFastTable)) { + // Fast table is unavailable or disabled. + return false; + } + + uint64_t data2 = upb_DecodeFastData2_PackMask(mt->UPB_PRIVATE(table_mask)); + const char* start = + UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(&d->input, *ptr); + char* trace_next = _upb_Decoder_TraceNext(d); + + upb_FastDecoder_Return ret = + upb_DecodeFast_Dispatch(d, *ptr, msg, mt, 0, 0, data2); + *ptr = ret.ptr; + + if (d->message_is_done) { + // The entire message was successfully parsed fast. + return true; + } + + // *ptr now points to the beginning of a field that could not be parsed fast. + // It's possible that some fields were parsed fast, in which case *ptr will + // have been updated. However, it's also possible that the very first field + // encountered could not be parsed fast, in which case *ptr will be unchanged. + // + // If the fast decoder consumed any data, it must have emitted at least + // one 'F' event into the trace buffer (in addition to the 'D' event + // that is always emitted). + const char* end = + UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(&d->input, *ptr); + char* trace_end = _upb_Decoder_TracePtr(d); + UPB_ASSERT(trace_end == NULL || trace_end != trace_next || end == start); + _upb_Decoder_Trace(d, '<'); +#endif + return false; +} + +UPB_FORCEINLINE +const char* _upb_Decoder_DecodeField(upb_Decoder* d, const char* ptr, + upb_Message* msg, const upb_MiniTable* mt, + uint64_t last_field_index, uint64_t data) { + if (_upb_Decoder_TryDecodeMessageFast(d, &ptr, msg, mt, last_field_index, + data)) { + return ptr; + } else if (upb_EpsCopyInputStream_IsDone(EPS(d), &ptr)) { + return _upb_Decoder_EndMessage(d, ptr); + } + + return _upb_Decoder_DecodeFieldNoFast(d, ptr, msg, mt); +} + +UPB_NOINLINE +static const char* _upb_Decoder_DecodeEmptyMessage(upb_Decoder* d, + const char* ptr, + upb_Message* msg) { + if (upb_EpsCopyInputStream_IsDone(EPS(d), &ptr)) { + return ptr; + } + + const char* start = ptr; + const char* capture_end = ptr; + upb_EpsCopyCapture capture; + upb_EpsCopyCapture_Start(&capture, &d->input, start); + while (!upb_EpsCopyInputStream_IsDone(EPS(d), &ptr)) { + uint32_t tag; + capture_end = ptr; + ptr = upb_WireReader_ReadTag(ptr, &tag, EPS(d)); + if ((tag & 7) == kUpb_WireType_EndGroup) { + d->end_group = tag >> 3; + break; + } + ptr = _upb_WireReader_SkipValueForceInline(ptr, tag, d->depth, EPS(d)); + capture_end = ptr; + } + upb_StringView sv; + upb_EpsCopyCapture_End(&capture, EPS(d), capture_end, &sv); + + if (sv.size > 0) { + if (!UPB_PRIVATE(_upb_Message_AddUnknown)( + msg, sv.data, sv.size, &d->arena, + _upb_Decoder_GetAddUnknownMode(d, sv.data))) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } + } + return ptr; +} + +// When fasttable is enabled, _upb_Decoder_DecodeMessage possibly calls a +// preserve_none function, which forces a spill of all callee-save registers +// registers to the stack in its prologue and restoration in its epilogue, due +// to mismatched calling conventions - the fast decoder (preserve_none) calls +// _upb_Decoder_DecodeMessage (normal) which calls the fast decoder +// (preserve_none). Arm has a lot of callee-save registers in its normal calling +// convention, including a bunch of simd&fp registers that our preserve_none +// caller is probably not actually using. To avoid this cost, all functions in +// the call stack (excluding force-inlined) between the fast decoder's decode +// message function and a recursive call to the fast decoder should use the fast +// decoder's calling convention. +#if UPB_FASTTABLE +UPB_PRESERVE_NONE +#endif +UPB_NOINLINE +const char* _upb_Decoder_DecodeMessage(upb_Decoder* d, const char* ptr, + upb_Message* msg, + const upb_MiniTable* mt) { + UPB_ASSERT(mt); + UPB_ASSERT(d->message_is_done == false); + + if (UPB_UNLIKELY(upb_MiniTable_FieldCount(mt) == 0 && + UPB_PRIVATE(_upb_MiniTable_ExtModeBase)(mt) == + kUpb_ExtMode_NonExtendable)) { + return _upb_Decoder_DecodeEmptyMessage(d, ptr, msg); + } + + do { + ptr = _upb_Decoder_DecodeField(d, ptr, msg, mt, 0, 0); + } while (!d->message_is_done); + d->message_is_done = false; + + return UPB_UNLIKELY(mt && mt->UPB_PRIVATE(required_count)) + ? _upb_Decoder_CheckRequired(d, ptr, msg, mt) + : ptr; +} + +static upb_DecodeStatus _upb_Decoder_DecodeTop(struct upb_Decoder* d, + const char* buf, + upb_Message* msg, + const upb_MiniTable* m) { + _upb_Decoder_DecodeMessage(d, buf, msg, m); + if (d->end_group != DECODE_NOGROUP) return kUpb_DecodeStatus_Malformed; + if (d->missing_required) return kUpb_DecodeStatus_MissingRequired; + return kUpb_DecodeStatus_Ok; +} + +static upb_DecodeStatus upb_Decoder_Decode(upb_Decoder* const decoder, + const char* const buf, + upb_Message* const msg, + const upb_MiniTable* const m, + upb_Arena* const arena) { + if (UPB_SETJMP(decoder->err->buf) == 0) { + decoder->err->code = _upb_Decoder_DecodeTop(decoder, buf, msg, m); + } else { + UPB_ASSERT(decoder->err->code != kUpb_DecodeStatus_Ok); + } + + return upb_Decoder_Destroy(decoder, arena); +} + +static uint16_t upb_DecodeOptions_GetMaxDepth(uint32_t options) { + return options >> 16; +} + +uint16_t upb_DecodeOptions_GetEffectiveMaxDepth(uint32_t options) { + uint16_t max_depth = upb_DecodeOptions_GetMaxDepth(options); + return max_depth ? max_depth : kUpb_WireFormat_DefaultDepthLimit; +} + +upb_DecodeStatus upb_Decode(const char* buf, size_t size, upb_Message* msg, + const upb_MiniTable* mt, + const upb_ExtensionRegistry* extreg, int options, + upb_Arena* arena) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + upb_Decoder decoder; + upb_ErrorHandler err; + upb_ErrorHandler_Init(&err); + buf = upb_Decoder_Init(&decoder, buf, size, extreg, options, arena, &err, + NULL, 0); + + return upb_Decoder_Decode(&decoder, buf, msg, mt, arena); +} + +upb_DecodeStatus upb_DecodeWithTrace(const char* buf, size_t size, + upb_Message* msg, const upb_MiniTable* mt, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena, + char* trace_buf, size_t trace_size) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + upb_Decoder decoder; + upb_ErrorHandler err; + upb_ErrorHandler_Init(&err); + buf = upb_Decoder_Init(&decoder, buf, size, extreg, options, arena, &err, + trace_buf, trace_size); + + return upb_Decoder_Decode(&decoder, buf, msg, mt, arena); +} + +upb_DecodeStatus upb_DecodeLengthPrefixed(const char* buf, size_t size, + upb_Message* msg, + size_t* num_bytes_read, + const upb_MiniTable* mt, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena) { + // To avoid needing to make a Decoder just to decode the initial length, + // hand-decode the leading varint for the message length here. + uint64_t msg_len = 0; + for (size_t i = 0;; ++i) { + if (i >= size || i > 9) { + return kUpb_DecodeStatus_Malformed; + } + uint64_t b = *buf; + buf++; + msg_len += (b & 0x7f) << (i * 7); + if ((b & 0x80) == 0) { + *num_bytes_read = i + 1 + msg_len; + break; + } + } + + // If the total number of bytes we would read (= the bytes from the varint + // plus however many bytes that varint says we should read) is larger then the + // input buffer then error as malformed. + if (*num_bytes_read > size) { + return kUpb_DecodeStatus_Malformed; + } + if (msg_len > INT32_MAX) { + return kUpb_DecodeStatus_Malformed; + } + + return upb_Decode(buf, msg_len, msg, mt, extreg, options, arena); +} + +const char* upb_DecodeStatus_String(upb_DecodeStatus status) { + switch (status) { + case kUpb_DecodeStatus_Ok: + return "Ok"; + case kUpb_DecodeStatus_Malformed: + return "Wire format was corrupt"; + case kUpb_DecodeStatus_OutOfMemory: + return "Arena alloc failed"; + case kUpb_DecodeStatus_BadUtf8: + return "String field had bad UTF-8"; + case kUpb_DecodeStatus_MaxDepthExceeded: + return "Exceeded upb_DecodeOptions_MaxDepth"; + case kUpb_DecodeStatus_MissingRequired: + return "Missing required field"; + default: + return "Unknown decode status"; + } +} + +#undef OP_FIXPCK_LG2 +#undef OP_VARPCK_LG2 + +// We encode backwards, to avoid pre-computing lengths (one-pass encode). + + +#include +#include +#include +#include + + +// Must be last. + +UPB_NOINLINE bool _upb_Encoder_AddMapEntryUnknown( + upb_Message* msg, const upb_MiniTableField* field, upb_Message* ent_msg, + const upb_MiniTable* entry, upb_Arena* arena) { + char* buf; + size_t size; + upb_EncodeStatus status = + _upb_Encode(ent_msg, entry, 0, arena, &buf, &size, false); + if (status != kUpb_EncodeStatus_Ok) { + return false; + } + char delim_buf[2 * kUpb_Encoder_EncodeVarint32MaxSize]; + char* delim_end = delim_buf; + uint32_t tag = + ((uint32_t)field->UPB_PRIVATE(number) << 3) | kUpb_WireType_Delimited; + delim_end = upb_Encoder_EncodeVarint32(tag, delim_end); + delim_end = upb_Encoder_EncodeVarint32(size, delim_end); + upb_StringView unknown[] = { + {delim_buf, delim_end - delim_buf}, + {buf, size}, + }; + + return UPB_PRIVATE(_upb_Message_AddUnknownV)(msg, arena, unknown, 2); +} + +static uint32_t encode_zz32(int32_t n) { + return ((uint32_t)n << 1) ^ (n >> 31); +} +static uint64_t encode_zz64(int64_t n) { + return ((uint64_t)n << 1) ^ (n >> 63); +} + +UPB_NORETURN static void encode_err(upb_encstate* e, upb_EncodeStatus s) { + UPB_ASSERT(s != kUpb_EncodeStatus_Ok); + e->status = s; + UPB_LONGJMP(*e->err, 1); +} + +UPB_NOINLINE static char* encode_growbuffer(char* ptr, upb_encstate* e, + size_t bytes) { + ptr = upb_BackAlloc_Grow(&e->alloc, ptr, bytes); + if (ptr == NULL) { + encode_err(e, kUpb_EncodeStatus_OutOfMemory); + } + return ptr; +} + +// Call to ensure that at least `bytes` bytes are available for writing at +// ptr. +UPB_FORCEINLINE +char* encode_reserve(char* ptr, upb_encstate* e, size_t bytes) { + if (upb_BackAlloc_HasBytes(&e->alloc, ptr, bytes)) { + return ptr - bytes; + } + return encode_growbuffer(ptr, e, bytes); +} + +static char* encode_bytes_unchecked(char* ptr, upb_encstate* e, + const void* data, size_t len) { + if (len == 0) return ptr; /* memcpy() with zero size is UB */ + ptr -= len; + memcpy(ptr, data, len); + return ptr; +} + +/* Writes the given bytes to the buffer, handling reserve/advance. */ +static char* encode_bytes(char* ptr, upb_encstate* e, const void* data, + size_t len) { + if (len == 0) return ptr; /* memcpy() with zero size is UB */ + ptr = encode_reserve(ptr, e, len); + memcpy(ptr, data, len); + return ptr; +} + +static char* encode_fixed64_unchecked(char* ptr, upb_encstate* e, + uint64_t val) { + val = upb_BigEndian64(val); + return encode_bytes_unchecked(ptr, e, &val, sizeof(uint64_t)); +} + +static char* encode_fixed32_unchecked(char* ptr, upb_encstate* e, + uint32_t val) { + val = upb_BigEndian32(val); + return encode_bytes_unchecked(ptr, e, &val, sizeof(uint32_t)); +} + +#define UPB_PB_VARINT_MAX_LEN 10 +#define UPB_PB_VARINT32_MAX_LEN 5 + +#if UPB_ARM64_ASM +// Each arm64 instruction encodes to 4 bytes, and it takes two intructions +// to process each byte of output, so we branch ahead by (4 + 4) * skip to +// avoid the remaining bytes. When BTI is on, we need to use specific +// "landing pad" instructions, so we pad those with nop to make it a power +// of 2, skipping 16 bytes at each stage instead of 8. This carries some +// overhead especially on in-order cores so they're not included unless +// building with branch protection. +#if UPB_ARM64_BTI_DEFAULT +// BTI is used with jc targets here because we don't control which register will +// be used for addr; if it's x16 or x17 a `br` is treated like a call. +#define UPB_BTI_JC "bti jc\n" +#define UPB_BTI_NOP "nop\n" +#define UPB_BTI_SHIFT_IMM "4\n" +#else +#define UPB_BTI_JC +#define UPB_BTI_NOP +#define UPB_BTI_SHIFT_IMM "3\n" +#endif +UPB_NOINLINE static char* encode_longvarint(char* ptr, upb_encstate* e, + uint64_t val) { + ptr = encode_reserve(ptr, e, UPB_PB_VARINT_MAX_LEN); + uint64_t clz; + __asm__("clz %[cnt], %[val]\n" : [cnt] "=r"(clz) : [val] "r"(val)); + + uint32_t skip = + UPB_PRIVATE(upb_WireWriter_VarintUnusedSizeFromLeadingZeros64)(clz); + + ptr += skip; + uint64_t addr, mask; + __asm__ volatile( + // Formatter keeps merging short lines + // clang-format off + "adr %[addr], 0f\n" + "add %[addr], %[addr], %[cnt], lsl #" UPB_BTI_SHIFT_IMM + "mov %w[mask], #0x80\n" + "br %[addr]\n" + // Work around llvm/llvm-project#47432, where alignment directives inside + // functions crash the compiler when generating SEH info on windows. + #ifndef __SEH__ + ".p2align " UPB_BTI_SHIFT_IMM + #endif + "0:\n" + // We don't need addr any more, but we've got the register for our whole + // assembly block so we'll use it as scratch to store the shift+masked + // values before storing them. + // The following stores are unsigned offset stores: + // strb Wt, [Xn, #imm] + UPB_BTI_JC + "orr %[addr], %[mask], %[val], lsr #56\n" + "strb %w[addr], [%[ptr], #8]\n" + UPB_BTI_NOP + + UPB_BTI_JC + "orr %[addr], %[mask], %[val], lsr #49\n" + "strb %w[addr], [%[ptr], #7]\n" + UPB_BTI_NOP + + UPB_BTI_JC + "orr %[addr], %[mask], %[val], lsr #42\n" + "strb %w[addr], [%[ptr], #6]\n" + UPB_BTI_NOP + + UPB_BTI_JC + "orr %[addr], %[mask], %[val], lsr #35\n" + "strb %w[addr], [%[ptr], #5]\n" + UPB_BTI_NOP + + UPB_BTI_JC + "orr %[addr], %[mask], %[val], lsr #28\n" + "strb %w[addr], [%[ptr], #4]\n" + UPB_BTI_NOP + + UPB_BTI_JC + "orr %w[addr], %w[mask], %w[val], lsr #21\n" + "strb %w[addr], [%[ptr], #3]\n" + UPB_BTI_NOP + + UPB_BTI_JC + "orr %w[addr], %w[mask], %w[val], lsr #14\n" + "strb %w[addr], [%[ptr], #2]\n" + UPB_BTI_NOP + + UPB_BTI_JC + "orr %w[addr], %w[mask], %w[val], lsr #7\n" + "strb %w[addr], [%[ptr], #1]\n" + UPB_BTI_NOP + + UPB_BTI_JC + "orr %w[addr], %w[val], #0x80\n" + "strb %w[addr], [%[ptr]]\n" + UPB_BTI_NOP + + UPB_BTI_JC + // clang-format on + : [addr] "=&r"(addr), [mask] "=&r"(mask) + : [val] "r"(val), [ptr] "r"(ptr), [cnt] "r"((uint64_t)skip) + : "memory"); + uint32_t continuations = UPB_PB_VARINT_MAX_LEN - 1 - skip; + // msan can't instrument stores in inline assembly + UPB_PRIVATE(upb_Xsan_MarkInitialized)(ptr, continuations); + // Encode the final byte after the continuation bytes. + ptr[continuations] = val >> (7 * continuations); + return ptr; +} +#undef UPB_BTI_JC +#undef UPB_BTI_NOP +#undef UPB_BTI_SHIFT_IMM +#else +UPB_NOINLINE +static char* encode_longvarint(char* ptr, upb_encstate* e, uint64_t val) { + ptr = encode_reserve(ptr, e, UPB_PB_VARINT_MAX_LEN); + size_t len = 0; + do { + uint8_t byte = val & 0x7fU; + val >>= 7; + if (val) byte |= 0x80U; + ptr[len++] = byte; + } while (val); + char* start = ptr + UPB_PB_VARINT_MAX_LEN - len; + memmove(start, ptr, len); + return start; +} +#endif + +UPB_FORCEINLINE +char* encode_varint_unchecked(char* ptr, upb_encstate* e, uint64_t val) { + if (val < 128) { + --ptr; + *ptr = val; + return ptr; + } else { + return encode_longvarint(ptr, e, val); + } +} +UPB_FORCEINLINE +char* encode_varint(char* ptr, upb_encstate* e, uint64_t val) { + if (val < 128 && upb_BackAlloc_HasBytes(&e->alloc, ptr, 1)) { + --ptr; + *ptr = val; + return ptr; + } else { + return encode_longvarint(ptr, e, val); + } +} + +UPB_NOINLINE +char* encode_longlength(char* ptr, upb_encstate* e, uint64_t val) { + if (val > INT32_MAX) { + encode_err(e, kUpb_EncodeStatus_MaxSizeExceeded); + } + return encode_longvarint(ptr, e, val); +} + +UPB_FORCEINLINE +char* encode_length(char* ptr, upb_encstate* e, uint64_t val) { + if (val < 128 && upb_BackAlloc_HasBytes(&e->alloc, ptr, 1)) { + --ptr; + *ptr = val; + return ptr; + } else { + return encode_longlength(ptr, e, val); + } +} + +UPB_FORCEINLINE +char* encode_length_unchecked(char* ptr, upb_encstate* e, uint64_t val) { + if (val < 128) { + --ptr; + *ptr = val; + return ptr; + } else { + return encode_longlength(ptr, e, val); + } +} + +static char* encode_double_unchecked(char* ptr, upb_encstate* e, double d) { + uint64_t u64; + UPB_STATIC_ASSERT(sizeof(double) == sizeof(uint64_t), "bad double size"); + memcpy(&u64, &d, sizeof(uint64_t)); + return encode_fixed64_unchecked(ptr, e, u64); +} + +static char* encode_float_unchecked(char* ptr, upb_encstate* e, float d) { + uint32_t u32; + UPB_STATIC_ASSERT(sizeof(float) == sizeof(uint32_t), "bad float size"); + memcpy(&u32, &d, sizeof(uint32_t)); + return encode_fixed32_unchecked(ptr, e, u32); +} + +static char* encode_tag_unchecked(char* ptr, upb_encstate* e, + uint32_t field_number, uint8_t wire_type) { + return encode_varint_unchecked(ptr, e, (field_number << 3) | wire_type); +} + +static char* encode_tag(char* ptr, upb_encstate* e, uint32_t field_number, + uint8_t wire_type) { + return encode_varint(ptr, e, (field_number << 3) | wire_type); +} + +static char* encode_fixedarray(char* ptr, upb_encstate* e, const upb_Array* arr, + size_t elem_size, uint32_t tag) { + size_t bytes = upb_Array_Size(arr) * elem_size; + const char* data = upb_Array_DataPtr(arr); + const char* arr_ptr = data + bytes - elem_size; + + if (tag || !upb_IsLittleEndian()) { + while (true) { + if (elem_size == 4) { + uint32_t val; + memcpy(&val, arr_ptr, sizeof(val)); + val = upb_BigEndian32(val); + ptr = encode_bytes(ptr, e, &val, elem_size); + } else { + UPB_ASSERT(elem_size == 8); + uint64_t val; + memcpy(&val, arr_ptr, sizeof(val)); + val = upb_BigEndian64(val); + ptr = encode_bytes(ptr, e, &val, elem_size); + } + + if (tag) { + ptr = encode_varint(ptr, e, tag); + } + if (arr_ptr == data) break; + arr_ptr -= elem_size; + } + return ptr; + } else { + return encode_bytes(ptr, e, data, bytes); + } +} + +/* libpg_query local patch: force-inline encode_scalar/array/field when + * optimizing, to reduce encoder stack use per message nesting level. Not done + * in unoptimized builds, where inlining increases stack use instead. See + * vendor/upb/README. */ +#ifdef __OPTIMIZE__ +#define PG_QUERY_ENCODE_INLINE UPB_FORCEINLINE +#else +#define PG_QUERY_ENCODE_INLINE static +#endif + +PG_QUERY_ENCODE_INLINE char* encode_scalar(char* ptr, upb_encstate* e, const void* field_mem, + const upb_MiniTableField* f) { + // Max size is tag + 10 bytes for max varint or 8 for largest fixed size +#define CASE(ctype, type, wtype, encodeval) \ + { \ + const size_t bytes = UPB_PB_VARINT32_MAX_LEN + UPB_PB_VARINT_MAX_LEN; \ + ptr = encode_reserve(ptr, e, bytes); \ + ptr += bytes; \ + const ctype val = *(const ctype*)field_mem; \ + ptr = encode_##type##_unchecked(ptr, e, encodeval); \ + return encode_tag_unchecked(ptr, e, upb_MiniTableField_Number(f), wtype); \ + } + + switch (f->UPB_PRIVATE(descriptortype)) { + case kUpb_FieldType_Double: + CASE(double, double, kUpb_WireType_64Bit, val); + case kUpb_FieldType_Float: + CASE(float, float, kUpb_WireType_32Bit, val); + case kUpb_FieldType_Int64: + case kUpb_FieldType_UInt64: + CASE(uint64_t, varint, kUpb_WireType_Varint, val); + case kUpb_FieldType_UInt32: + CASE(uint32_t, varint, kUpb_WireType_Varint, val); + case kUpb_FieldType_Int32: + case kUpb_FieldType_Enum: + CASE(int32_t, varint, kUpb_WireType_Varint, (int64_t)val); + case kUpb_FieldType_SFixed64: + case kUpb_FieldType_Fixed64: + CASE(uint64_t, fixed64, kUpb_WireType_64Bit, val); + case kUpb_FieldType_Fixed32: + case kUpb_FieldType_SFixed32: + CASE(uint32_t, fixed32, kUpb_WireType_32Bit, val); + case kUpb_FieldType_Bool: + CASE(bool, varint, kUpb_WireType_Varint, val); + case kUpb_FieldType_SInt32: + CASE(int32_t, varint, kUpb_WireType_Varint, encode_zz32(val)); + case kUpb_FieldType_SInt64: + CASE(int64_t, varint, kUpb_WireType_Varint, encode_zz64(val)); + case kUpb_FieldType_String: + case kUpb_FieldType_Bytes: { + upb_StringView view = *(upb_StringView*)field_mem; + const size_t max_size = + UPB_PB_VARINT32_MAX_LEN + UPB_PB_VARINT32_MAX_LEN + view.size; + ptr = encode_reserve(ptr, e, max_size); + ptr += max_size; + ptr = encode_bytes_unchecked(ptr, e, view.data, view.size); + ptr = encode_length_unchecked(ptr, e, view.size); + return encode_tag_unchecked(ptr, e, upb_MiniTableField_Number(f), + kUpb_WireType_Delimited); + } + case kUpb_FieldType_Group: { + size_t size; + upb_Message* submsg = *(upb_Message**)field_mem; + const upb_MiniTable* subm = upb_MiniTable_GetSubMessageTable(f); + if (submsg == 0) { + return ptr; + } + if (--e->depth == 0 || stack_is_too_deep()) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); + ptr = encode_tag(ptr, e, upb_MiniTableField_Number(f), + kUpb_WireType_EndGroup); + ptr = encode_message(ptr, e, submsg, subm, &size); + e->depth++; + return encode_tag(ptr, e, upb_MiniTableField_Number(f), + kUpb_WireType_StartGroup); + } + case kUpb_FieldType_Message: { + size_t size; + upb_Message* submsg = *(upb_Message**)field_mem; + const upb_MiniTable* subm = upb_MiniTable_GetSubMessageTable(f); + if (submsg == 0) { + return ptr; + } + if (--e->depth == 0 || stack_is_too_deep()) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); + ptr = encode_message(ptr, e, submsg, subm, &size); + e->depth++; + size_t max_size = UPB_PB_VARINT32_MAX_LEN + UPB_PB_VARINT32_MAX_LEN; + ptr = encode_reserve(ptr, e, max_size); + ptr += max_size; + ptr = encode_length_unchecked(ptr, e, size); + return encode_tag_unchecked(ptr, e, upb_MiniTableField_Number(f), + kUpb_WireType_Delimited); + } + default: + UPB_UNREACHABLE(); + } +#undef CASE +} + +PG_QUERY_ENCODE_INLINE char* encode_array(char* ptr, upb_encstate* e, const upb_Message* msg, + const upb_MiniTableField* f) { + const upb_Array* arr = *UPB_PTR_AT(msg, f->UPB_PRIVATE(offset), upb_Array*); + bool packed = upb_MiniTableField_IsPacked(f); + size_t pre_len = upb_BackAlloc_Size(&e->alloc, ptr); + + if (arr == NULL || upb_Array_Size(arr) == 0) { + return ptr; + } + +#define VARINT_CASE(ctype, encode) \ + { \ + const ctype* start = upb_Array_DataPtr(arr); \ + const ctype* arr_ptr = start + upb_Array_Size(arr); \ + if (packed) { \ + do { \ + arr_ptr--; \ + ptr = encode_varint(ptr, e, encode); \ + } while (arr_ptr != start); \ + } else { \ + uint32_t number = upb_MiniTableField_Number(f); \ + do { \ + arr_ptr--; \ + ptr = encode_varint(ptr, e, encode); \ + ptr = encode_tag(ptr, e, number, kUpb_WireType_Varint); \ + } while (arr_ptr != start); \ + } \ + } \ + break; + +#define TAG(wire_type) (packed ? 0 : (f->UPB_PRIVATE(number) << 3 | wire_type)) + + switch (f->UPB_PRIVATE(descriptortype)) { + case kUpb_FieldType_Double: + ptr = encode_fixedarray(ptr, e, arr, sizeof(double), + TAG(kUpb_WireType_64Bit)); + break; + case kUpb_FieldType_Float: + ptr = encode_fixedarray(ptr, e, arr, sizeof(float), + TAG(kUpb_WireType_32Bit)); + break; + case kUpb_FieldType_SFixed64: + case kUpb_FieldType_Fixed64: + ptr = encode_fixedarray(ptr, e, arr, sizeof(uint64_t), + TAG(kUpb_WireType_64Bit)); + break; + case kUpb_FieldType_Fixed32: + case kUpb_FieldType_SFixed32: + ptr = encode_fixedarray(ptr, e, arr, sizeof(uint32_t), + TAG(kUpb_WireType_32Bit)); + break; + case kUpb_FieldType_Int64: + case kUpb_FieldType_UInt64: + VARINT_CASE(uint64_t, *arr_ptr); + case kUpb_FieldType_UInt32: + VARINT_CASE(uint32_t, *arr_ptr); + case kUpb_FieldType_Int32: + case kUpb_FieldType_Enum: + VARINT_CASE(int32_t, (int64_t)*arr_ptr); + case kUpb_FieldType_Bool: + VARINT_CASE(bool, *arr_ptr); + case kUpb_FieldType_SInt32: + VARINT_CASE(int32_t, encode_zz32(*arr_ptr)); + case kUpb_FieldType_SInt64: + VARINT_CASE(int64_t, encode_zz64(*arr_ptr)); + case kUpb_FieldType_String: + case kUpb_FieldType_Bytes: { + const upb_StringView* start = upb_Array_DataPtr(arr); + const upb_StringView* str_ptr = start + upb_Array_Size(arr); + do { + str_ptr--; + ptr = encode_bytes(ptr, e, str_ptr->data, str_ptr->size); + ptr = encode_length(ptr, e, str_ptr->size); + ptr = encode_tag(ptr, e, upb_MiniTableField_Number(f), + kUpb_WireType_Delimited); + } while (str_ptr != start); + return ptr; + } + case kUpb_FieldType_Group: { + const upb_Message* const* start = upb_Array_DataPtr(arr); + const upb_Message* const* arr_ptr = start + upb_Array_Size(arr); + const upb_MiniTable* subm = upb_MiniTable_GetSubMessageTable(f); + if (--e->depth == 0 || stack_is_too_deep()) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); + do { + size_t size; + arr_ptr--; + ptr = encode_tag(ptr, e, upb_MiniTableField_Number(f), + kUpb_WireType_EndGroup); + ptr = encode_message(ptr, e, *arr_ptr, subm, &size); + ptr = encode_tag(ptr, e, upb_MiniTableField_Number(f), + kUpb_WireType_StartGroup); + } while (arr_ptr != start); + e->depth++; + return ptr; + } + case kUpb_FieldType_Message: { + const upb_Message* const* start = upb_Array_DataPtr(arr); + const upb_Message* const* arr_ptr = start + upb_Array_Size(arr); + const upb_MiniTable* subm = upb_MiniTable_GetSubMessageTable(f); + if (--e->depth == 0 || stack_is_too_deep()) encode_err(e, kUpb_EncodeStatus_MaxDepthExceeded); + do { + size_t size; + arr_ptr--; + ptr = encode_message(ptr, e, *arr_ptr, subm, &size); + ptr = encode_length(ptr, e, size); + ptr = encode_tag(ptr, e, upb_MiniTableField_Number(f), + kUpb_WireType_Delimited); + } while (arr_ptr != start); + e->depth++; + return ptr; + } + } +#undef VARINT_CASE + + if (packed) { + ptr = encode_length(ptr, e, upb_BackAlloc_Size(&e->alloc, ptr) - pre_len); + ptr = encode_tag(ptr, e, upb_MiniTableField_Number(f), + kUpb_WireType_Delimited); + } + return ptr; +} + +static char* encode_mapentry(char* ptr, upb_encstate* e, uint32_t number, + const upb_MiniTable* layout, + const upb_MapEntry* ent) { + const upb_MiniTableField* key_field = upb_MiniTable_MapKey(layout); + const upb_MiniTableField* val_field = upb_MiniTable_MapValue(layout); + size_t pre_len = upb_BackAlloc_Size(&e->alloc, ptr); + size_t size; + ptr = encode_scalar(ptr, e, &ent->v, val_field); + ptr = encode_scalar(ptr, e, &ent->k, key_field); + size = upb_BackAlloc_Size(&e->alloc, ptr) - pre_len; + ptr = encode_length(ptr, e, size); + ptr = encode_tag(ptr, e, number, kUpb_WireType_Delimited); + return ptr; +} + +static char* encode_map(char* ptr, upb_encstate* e, const upb_Message* msg, + const upb_MiniTableField* f) { + const upb_Map* map = *UPB_PTR_AT(msg, f->UPB_PRIVATE(offset), const upb_Map*); + const upb_MiniTable* layout = upb_MiniTable_MapEntrySubMessage(f); + UPB_ASSERT(upb_MiniTable_FieldCount(layout) == 2); + + if (!map || !upb_Map_Size(map)) return ptr; + + if (e->options & kUpb_EncodeOption_Deterministic) { + _upb_sortedmap sorted; + _upb_mapsorter_pushmap( + &e->sorter, layout->UPB_PRIVATE(fields)[0].UPB_PRIVATE(descriptortype), + map, &sorted); + upb_MapEntry ent; + while (_upb_sortedmap_next(&e->sorter, map, &sorted, &ent)) { + ptr = encode_mapentry(ptr, e, upb_MiniTableField_Number(f), layout, &ent); + } + _upb_mapsorter_popmap(&e->sorter, &sorted); + } else { + upb_value val; + if (map->UPB_PRIVATE(is_strtable)) { + intptr_t iter = UPB_STRTABLE_BEGIN; + upb_StringView strkey; + while (upb_strtable_next2(&map->t.strtable, &strkey, &val, &iter)) { + upb_MapEntry ent; + _upb_map_fromkey(strkey, &ent.k, map->key_size); + _upb_map_fromvalue(val, &ent.v, map->val_size); + ptr = + encode_mapentry(ptr, e, upb_MiniTableField_Number(f), layout, &ent); + } + } else { + intptr_t iter = UPB_INTTABLE_BEGIN; + uintptr_t intkey = 0; + while (upb_inttable_next(&map->t.inttable, &intkey, &val, &iter)) { + upb_MapEntry ent; + memcpy(&ent.k, &intkey, map->key_size); + _upb_map_fromvalue(val, &ent.v, map->val_size); + ptr = + encode_mapentry(ptr, e, upb_MiniTableField_Number(f), layout, &ent); + } + } + } + return ptr; +} + +static bool encode_shouldencode(const upb_Message* msg, + const upb_MiniTableField* f) { + if (f->presence == 0) { + // Proto3 presence or map/array. + const void* mem = UPB_PTR_AT(msg, f->UPB_PRIVATE(offset), void); + switch (UPB_PRIVATE(_upb_MiniTableField_GetRep)(f)) { + case kUpb_FieldRep_1Byte: { + char ch; + memcpy(&ch, mem, 1); + return ch != 0; + } + case kUpb_FieldRep_4Byte: { + uint32_t u32; + memcpy(&u32, mem, 4); + return u32 != 0; + } + case kUpb_FieldRep_8Byte: { + uint64_t u64; + memcpy(&u64, mem, 8); + return u64 != 0; + } + case kUpb_FieldRep_StringView: { + const upb_StringView* str = (const upb_StringView*)mem; + return str->size != 0; + } + default: + UPB_UNREACHABLE(); + } + } else if (UPB_PRIVATE(_upb_MiniTableField_HasHasbit)(f)) { + // Proto2 presence: hasbit. + return UPB_PRIVATE(_upb_Message_GetHasbit)(msg, f); + } else { + // Field is in a oneof. + return UPB_PRIVATE(_upb_Message_GetOneofCase)(msg, f) == + upb_MiniTableField_Number(f); + } +} + +PG_QUERY_ENCODE_INLINE char* encode_field(char* ptr, upb_encstate* e, const upb_Message* msg, + const upb_MiniTableField* field) { + switch (UPB_PRIVATE(_upb_MiniTableField_Mode)(field)) { + case kUpb_FieldMode_Array: + return encode_array(ptr, e, msg, field); + case kUpb_FieldMode_Map: + return encode_map(ptr, e, msg, field); + case kUpb_FieldMode_Scalar: + return encode_scalar( + ptr, e, UPB_PTR_AT(msg, field->UPB_PRIVATE(offset), void), field); + default: + UPB_UNREACHABLE(); + } +} + +static char* encode_msgset_item(char* ptr, upb_encstate* e, + const upb_MiniTableExtension* ext, + const upb_MessageValue ext_val) { + size_t size; + ptr = encode_tag(ptr, e, kUpb_MsgSet_Item, kUpb_WireType_EndGroup); + ptr = encode_message(ptr, e, ext_val.msg_val, + upb_MiniTableExtension_GetSubMessage(ext), &size); + ptr = encode_varint(ptr, e, size); + ptr = encode_tag(ptr, e, kUpb_MsgSet_Message, kUpb_WireType_Delimited); + ptr = encode_varint(ptr, e, upb_MiniTableExtension_Number(ext)); + ptr = encode_tag(ptr, e, kUpb_MsgSet_TypeId, kUpb_WireType_Varint); + ptr = encode_tag(ptr, e, kUpb_MsgSet_Item, kUpb_WireType_StartGroup); + return ptr; +} + +static char* encode_ext(char* ptr, upb_encstate* e, + const upb_MiniTableExtension* ext, + upb_MessageValue ext_val, bool is_message_set) { + if (UPB_UNLIKELY(is_message_set)) { + ptr = encode_msgset_item(ptr, e, ext, ext_val); + } else { + ptr = encode_field(ptr, e, &ext_val.UPB_PRIVATE(ext_msg_val), + &ext->UPB_PRIVATE(field)); + } + return ptr; +} + +static char* encode_exts(char* ptr, upb_encstate* e, const upb_MiniTable* m, + const upb_Message* msg) { + if (UPB_PRIVATE(_upb_MiniTable_ExtModeBase)(m) == kUpb_ExtMode_NonExtendable) + return ptr; + + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (!in) return ptr; + + /* Encode all extensions together. Unlike C++, we do not attempt to keep + * these in field number order relative to normal fields or even to each + * other. */ + uintptr_t iter = kUpb_Message_ExtensionBegin; + const upb_MiniTableExtension* ext; + upb_MessageValue ext_val; + if (!UPB_PRIVATE(_upb_Message_NextExtensionReverse)(msg, &ext, &ext_val, + &iter)) { + // Message has no extensions. + return ptr; + } + + if (e->options & kUpb_EncodeOption_Deterministic) { + _upb_sortedmap sorted; + if (!_upb_mapsorter_pushexts(&e->sorter, in, &sorted)) { + // TODO: b/378744096 - handle alloc failure + } + const upb_Extension* ext; + while (_upb_sortedmap_nextext(&e->sorter, &sorted, &ext)) { + ptr = encode_ext(ptr, e, ext->ext, ext->data, + UPB_PRIVATE(_upb_MiniTable_ExtModeBase)(m) == + kUpb_ExtMode_IsMessageSet); + } + _upb_mapsorter_popmap(&e->sorter, &sorted); + } else { + do { + ptr = encode_ext(ptr, e, ext, ext_val, + m->UPB_PRIVATE(ext) == kUpb_ExtMode_IsMessageSet); + } while (UPB_PRIVATE(_upb_Message_NextExtensionReverse)(msg, &ext, &ext_val, + &iter)); + } + return ptr; +} + +char* encode_message(char* ptr, upb_encstate* e, const upb_Message* msg, + const upb_MiniTable* m, size_t* size) { + size_t pre_len = upb_BackAlloc_Size(&e->alloc, ptr); + + if (e->options & kUpb_EncodeOption_CheckRequired) { + if (m->UPB_PRIVATE(required_count)) { + if (!UPB_PRIVATE(_upb_Message_IsInitializedShallow)(msg, m)) { + encode_err(e, kUpb_EncodeStatus_MissingRequired); + } + } + } + + if ((e->options & kUpb_EncodeOption_SkipUnknown) == 0) { + size_t unknown_size = 0; + uintptr_t iter = kUpb_Message_UnknownBegin; + upb_StringView unknown; + // Need to write in reverse order, but iteration is in-order; scan to + // reserve capacity up front, then write in-order + while (upb_Message_NextUnknown(msg, &unknown, &iter)) { + unknown_size += unknown.size; + } + if (unknown_size != 0) { + ptr = encode_reserve(ptr, e, unknown_size); + char* tmp_ptr = ptr; + iter = kUpb_Message_UnknownBegin; + while (upb_Message_NextUnknown(msg, &unknown, &iter)) { + memcpy(tmp_ptr, unknown.data, unknown.size); + tmp_ptr += unknown.size; + } + } + } + + ptr = encode_exts(ptr, e, m, msg); + + if (upb_MiniTable_FieldCount(m)) { + const upb_MiniTableField* f = + &m->UPB_PRIVATE(fields)[m->UPB_PRIVATE(field_count)]; + const upb_MiniTableField* first = &m->UPB_PRIVATE(fields)[0]; + while (f != first) { + f--; + if (encode_shouldencode(msg, f)) { + ptr = encode_field(ptr, e, msg, f); + } + } + } + + *size = upb_BackAlloc_Size(&e->alloc, ptr) - pre_len; + return ptr; +} + +static upb_EncodeStatus upb_Encoder_Encode(char* ptr, + upb_encstate* const encoder, + const upb_Message* const msg, + const upb_MiniTable* const l, + char** const buf, size_t* const size, + bool prepend_len) { + // Unfortunately we must continue to perform hackery here because there are + // code paths which blindly copy the returned pointer without bothering to + // check for errors until much later (b/235839510). So we still set *buf to + // NULL on error and we still set it to non-NULL on a successful empty result. + if (UPB_SETJMP(*encoder->err) == 0) { + size_t encoded_msg_size; + ptr = encode_message(ptr, encoder, msg, l, &encoded_msg_size); + if (prepend_len) { + ptr = encode_length(ptr, encoder, encoded_msg_size); + } + *size = upb_BackAlloc_Finish(&encoder->alloc, ptr); + *buf = ptr; + } else { + UPB_ASSERT(encoder->status != kUpb_EncodeStatus_Ok); + upb_BackAlloc_Abort(&encoder->alloc); + *buf = NULL; + *size = 0; + } + UPB_PRIVATE(_upb_encstate_destroy)(encoder); + return encoder->status; +} + +upb_EncodeStatus _upb_Encode(const upb_Message* msg, const upb_MiniTable* l, + int options, upb_Arena* arena, char** buf, + size_t* size, bool prepend_len) { + upb_encstate e; + jmp_buf err; + + e.status = kUpb_EncodeStatus_Ok; + e.err = &err; + char* ptr = upb_BackAlloc_Init(&e.alloc, arena); + e.depth = upb_EncodeOptions_GetEffectiveMaxDepth(options); + e.options = options; + _upb_mapsorter_init(&e.sorter); + + return upb_Encoder_Encode(ptr, &e, msg, l, buf, size, prepend_len); +} + +upb_EncodeStatus UPB_PRIVATE(_upb_Encode_Field)(upb_encstate* e, + const upb_Message* msg, + const upb_MiniTableField* field, + char** buf, size_t* size, + int options) { + e->options = options; + e->depth = upb_EncodeOptions_GetEffectiveMaxDepth(options); + char* ptr = *buf; + if (encode_shouldencode(msg, field)) { + ptr = encode_field(ptr, e, msg, field); + } + *size = upb_BackAlloc_Finish(&e->alloc, ptr); + *buf = ptr; + return e->status; +} + +upb_EncodeStatus UPB_PRIVATE(_upb_Encode_Extension)( + upb_encstate* e, const upb_MiniTableExtension* ext, + upb_MessageValue ext_val, bool is_message_set, char** buf, size_t* size, + int options) { + e->options = options; + e->depth = upb_EncodeOptions_GetEffectiveMaxDepth(options); + char* ptr = *buf; + ptr = encode_ext(ptr, e, ext, ext_val, is_message_set); + *size = upb_BackAlloc_Finish(&e->alloc, ptr); + *buf = ptr; + return e->status; +} + + +#include +#include +#include + + +// Must be last. + +char upb_BackAlloc_sentinel; + +static size_t upb_BackAlloc_CalcBlockSize(upb_BackAlloc* a, size_t required, + bool* one_off) { +#if UPB_HWASAN + required = UPB_ALIGN_UP(required, UPB_MALLOC_ALIGN); +#endif + size_t organic_block_size = + UPB_PRIVATE(_upb_Arena_NextBlockSize)(a->arena, required, one_off); + + // We want to offer amortized linear time, which means we must grow block + // sizes exponentially. However, merely allocating a power of 2 is + // pathological for allocators that use a header with mmap for large + // contiguous allocations. Instead, we want to allocate based on a power of + // 2, but request slightly less to leave room for backing allocator + // metadata. If we had universal size feedback this would not be necessary. + size_t scaled_block_size = upb_RoundUpToPowerOfTwo(required); + + // Estimated value such that 128 bytes of possible overhead is not + // significant. 128 bytes should be enough for whatever metadata is needed. + if (scaled_block_size >= 4096 * 4) { + scaled_block_size = upb_RoundUpToPowerOfTwo(required + 128) - 128; + } + + // Scaled block size calculations could overflow, but that's OK as it's + // unsigned and won't be used if it's less than the organic block size + if (scaled_block_size > organic_block_size) { + return UPB_PRIVATE(_upb_Arena_NextBlockSize)(a->arena, scaled_block_size, + one_off); + } + + return organic_block_size; +} + +static char* upb_BackAlloc_Realloc(upb_BackAlloc* a, char* ptr, size_t n) { + size_t copy = a->limit - ptr; + if (SIZE_MAX - copy < n) { + return NULL; + } + + bool one_off = false; + size_t required_block_size = copy + n; + size_t size = upb_BackAlloc_CalcBlockSize(a, required_block_size, &one_off); + + char* block = UPB_PRIVATE(_upb_Arena_AllocBlock)(a->arena, &size); + + if (!block) { + return NULL; + } + + UPB_PRIVATE(_upb_Arena_UpdateGrowthState)(a->arena, required_block_size, size, + one_off); + + char* dst = block + size - copy; + memcpy(dst, ptr, copy); + + if (a->limit != a->buf) { + // Dispose of the old block. + if (a->standalone) { + // Note: while it would technically be possible to give this block to the + // arena to use for allocations, this could lead to a lot of garbage + // blocks that never get used. + UPB_PRIVATE(_upb_Arena_FreeBlock)(a->arena, a->buf); + } else { + UPB_PRIVATE(_upb_Arena_UseBlock)(a->arena, a->buf, a->limit - a->buf); + } + } + + a->buf = block; + a->limit = block + size; + a->standalone = true; + return dst - n; +} + +char* upb_BackAlloc_Grow(upb_BackAlloc* a, char* ptr, size_t n) { + if (a->limit == a->buf) { + // First allocation: try to steal a block. + size_t size = n; + char* block = UPB_PRIVATE(_upb_Arena_Steal)(a->arena, &size); + if (block) { + UPB_ASSERT(size >= n); + UPB_ASSERT(a->standalone == false); + a->buf = block; + a->limit = block + size; + return a->limit - n; + } + } + + return upb_BackAlloc_Realloc(a, ptr, n); +} + + + + +// Must be last. + +UPB_NOINLINE +const char* _upb_Decoder_CheckRequired(upb_Decoder* d, const char* ptr, + const upb_Message* msg, + const upb_MiniTable* m) { + UPB_ASSERT(m->UPB_PRIVATE(required_count)); + if (UPB_UNLIKELY(d->options & kUpb_DecodeOption_CheckRequired)) { + d->missing_required = + d->missing_required || + !UPB_PRIVATE(_upb_Message_IsInitializedShallow)(msg, m); + } + return ptr; +} + +// We encode backwards, to avoid pre-computing lengths (one-pass encode). + + +#include +#include +#include +#include + + +// Must be last. + +upb_EncodeStatus upb_Encode(const upb_Message* msg, const upb_MiniTable* l, + int options, upb_Arena* arena, char** buf, + size_t* size) { + return _upb_Encode(msg, l, options, arena, buf, size, false); +} + +upb_EncodeStatus upb_EncodeLengthPrefixed(const upb_Message* msg, + const upb_MiniTable* l, int options, + upb_Arena* arena, char** buf, + size_t* size) { + return _upb_Encode(msg, l, options, arena, buf, size, true); +} + +const char* upb_EncodeStatus_String(upb_EncodeStatus status) { + switch (status) { + case kUpb_EncodeStatus_Ok: + return "Ok"; + case kUpb_EncodeStatus_MissingRequired: + return "Missing required field"; + case kUpb_EncodeStatus_MaxDepthExceeded: + return "Max depth exceeded"; + case kUpb_EncodeStatus_OutOfMemory: + return "Arena alloc failed"; + default: + return "Unknown encode status"; + } +} + + +#include +#include + + +// Must be last. + +UPB_NOINLINE UPB_PRIVATE(_upb_WireReader_LongVarint) + UPB_PRIVATE(_upb_WireReader_ReadLongVarint)( + const char* ptr, uint64_t val, upb_EpsCopyInputStream* stream) { + for (int i = 1; i < 10; i++) { + uint64_t byte = (uint8_t)ptr[i]; + val += (byte - 1) << (i * 7); + if (!(byte & 0x80)) { + return (UPB_PRIVATE(_upb_WireReader_LongVarint)){ptr + i + 1, val}; + } + } + return (UPB_PRIVATE(_upb_WireReader_LongVarint)){ + UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(stream), 0}; +} + +UPB_NOINLINE UPB_PRIVATE(_upb_WireReader_LongVarint) + UPB_PRIVATE(_upb_WireReader_ReadLongTag)(const char* ptr, uint64_t val, + upb_EpsCopyInputStream* stream) { + for (int i = 1; i < 5; i++) { + uint64_t byte = (uint8_t)ptr[i]; + val += (byte - 1) << (i * 7); + if (!(byte & 0x80)) { + if (val > UINT32_MAX) break; + return (UPB_PRIVATE(_upb_WireReader_LongVarint)){ptr + i + 1, val}; + } + } + return (UPB_PRIVATE(_upb_WireReader_LongVarint)){ + UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(stream), 0}; +} + +UPB_NOINLINE UPB_PRIVATE(_upb_WireReader_LongVarint) + UPB_PRIVATE(_upb_WireReader_ReadLongSize)(const char* ptr, uint64_t val, + upb_EpsCopyInputStream* stream) { + for (int i = 1; i < 5; i++) { + uint64_t byte = (uint8_t)ptr[i]; + val += (byte - 1) << (i * 7); + if (!(byte & 0x80)) { + if (val > INT32_MAX) break; + return (UPB_PRIVATE(_upb_WireReader_LongVarint)){ptr + i + 1, val}; + } + } + return (UPB_PRIVATE(_upb_WireReader_LongVarint)){ + UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(stream), 0}; +} + +const char* UPB_PRIVATE(_upb_WireReader_SkipGroup)( + const char* ptr, uint32_t tag, int depth_limit, + upb_EpsCopyInputStream* stream) { + if (--depth_limit < 0) { + return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(stream); + } + uint32_t end_group_tag = (tag & ~7ULL) | kUpb_WireType_EndGroup; + while (!upb_EpsCopyInputStream_IsDone(stream, &ptr)) { + uint32_t tag; + ptr = upb_WireReader_ReadTag(ptr, &tag, stream); + if (!ptr) break; + if (tag == end_group_tag) return ptr; + ptr = _upb_WireReader_SkipValue(ptr, tag, depth_limit, stream); + if (!ptr) break; + } + // Encountered limit end before end group tag. + return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(stream); +} + + +#include +#include + + +// Must be last. + +UPB_NORETURN UPB_NOINLINE void UPB_PRIVATE( + upb_EpsCopyInputStream_ThrowMalformed)(upb_EpsCopyInputStream* e) { + e->error = true; + upb_ErrorHandler_ThrowError(e->err, kUpb_ErrorCode_Malformed); +} + +const char* UPB_PRIVATE(upb_EpsCopyInputStream_IsDoneFallback)( + struct upb_EpsCopyInputStream* e, const char* ptr, int overrun) { + if (overrun < e->limit) { + // Need to copy remaining data into patch buffer. + UPB_ASSERT(overrun < kUpb_EpsCopyInputStream_SlopBytes); + const char* old_end = ptr; + const char* new_start = &e->patch[overrun]; + memset(&e->patch[kUpb_EpsCopyInputStream_SlopBytes], 0, + kUpb_EpsCopyInputStream_SlopBytes); + memcpy(e->patch, e->end, kUpb_EpsCopyInputStream_SlopBytes); + ptr = new_start; + e->end = &e->patch[kUpb_EpsCopyInputStream_SlopBytes]; + e->limit -= kUpb_EpsCopyInputStream_SlopBytes; + e->limit_ptr = e->end + e->limit; + UPB_ASSERT(ptr < e->limit_ptr); + e->input_delta = (uintptr_t)old_end - (uintptr_t)new_start; + UPB_PRIVATE(upb_EpsCopyInputStream_BoundsChecked)(e); + return new_start; + } else { + UPB_ASSERT(overrun > e->limit); + return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(e); + } +} + + +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +size_t upb_ByteSize(const upb_Message* msg, const upb_MiniTable* mt) { + upb_Arena* arena = upb_Arena_New(); + char* buf; + size_t res = 0; + + (void)upb_Encode(msg, mt, 0, arena, &buf, &res); + + upb_Arena_Free(arena); + return res; +} + +#ifdef __cplusplus +} // extern "C" +#endif +// This should #undef all macros #defined in def.inc + +#undef UPB_SIZE +#undef UPB_PTR_AT +#undef UPB_SIZEOF_FLEX +#undef UPB_SIZEOF_FLEX_WOULD_OVERFLOW +#undef UPB_MAPTYPE_STRING +#undef UPB_EXPORT +#undef UPB_INLINE +#undef UPB_API +#undef UPBC_API +#undef UPB_API_INLINE +#undef UPB_API_INLINE_IF_NOT_GCC +#undef UPB_ALIGN_UP +#undef UPB_ALIGN_DOWN +#undef UPB_ALIGN_MALLOC +#undef UPB_ALIGN_OF +#undef UPB_ALIGN_AS +#undef UPB_STATIC_ASSERT +#undef UPB_STATIC_ASSERT_CONCAT +#undef UPB_STATIC_ASSERT_CONCAT_IMPL +#undef UPB_LIKELY +#undef UPB_UNLIKELY +#undef UPB_UNPREDICTABLE +#undef UPB_FORCEINLINE +#undef UPB_NOINLINE +#undef UPB_NORETURN +#undef UPB_PRINTF +#undef UPB_NODEREF +#undef UPB_NODISCARD +#undef UPB_MAX +#undef UPB_MIN +#undef UPB_UNUSED +#undef UPB_ASSUME +#undef UPB_ASSERT +#undef UPB_UNREACHABLE +#undef UPB_UNREACHABLE_FAILURE +#undef UPB_PRETTY_FUNCTION +#undef UPB_DEFAULT_MAX_BLOCK_SIZE +#undef UPB_SETJMP +#undef UPB_LONGJMP +#undef UPB_PTRADD +#undef UPB_MUSTTAIL +#undef UPB_PRESERVE_MOST +#undef UPB_PRESERVE_NONE +#undef UPB_FASTTABLE_SUPPORTED +#undef UPB_FASTTABLE_MASK +#undef UPB_FASTTABLE +#undef UPB_FASTTABLE_INIT +#undef UPB_POISON_MEMORY_REGION +#undef UPB_UNPOISON_MEMORY_REGION +#undef UPB_ASAN +#undef UPB_HWASAN +#undef UPB_HWASAN_POISON_TAG +#undef UPB_MSAN +#undef UPB_MALLOC_ALIGN +#undef UPB_TSAN +#undef UPB_DEPRECATED +#undef UPB_GNUC_MIN +#undef UPB_CLANG_MIN +#undef UPB_DESCRIPTOR_UPB_H_FILENAME +#undef UPB_DESC_MINITABLE +#undef UPB_IS_GOOGLE3 +#undef UPB_ATOMIC +#undef UPB_USE_C11_ATOMICS +#undef UPB_USE_MSC_ATOMICS +#undef UPB_PRIVATE +#undef UPB_ONLYBITS +#undef UPB_LINKARR_DECLARE +#undef UPB_LINKARR_APPEND +#undef UPB_LINKARR_START +#undef UPB_LINKARR_STOP +#undef UPB_HAS_ATTRIBUTE +#undef UPB_HAS_CPP_ATTRIBUTE +#undef UPB_HAS_BUILTIN +#undef UPB_HAS_EXTENSION +#undef UPB_HAS_FEATURE +#undef UPB_XSAN_MEMBER +#undef UPB_XSAN +#undef UPB_XSAN_STRUCT_SIZE +#undef UPB_ENABLE_REF_CYCLE_CHECKS +#undef UPB_ARM64_ASM +#undef UPB_ARM64_BTI_DEFAULT +#undef UPB_DEPRECATE_AND_INLINE +#undef UPB_MAYBE_ASSUME +#undef UPB_ATTR_CONST +#undef _UPB_STRINGIFY +#undef _UPB_STRINGIFY2 +#undef UPB_CONSTRUCTOR diff --git a/vendor/upb/upb/generated_code_support.h b/vendor/upb/upb/generated_code_support.h new file mode 100644 index 000000000..18c5afa4f --- /dev/null +++ b/vendor/upb/upb/generated_code_support.h @@ -0,0 +1,9619 @@ +/* Amalgamated source file */ + +/* + * This is where we define internal portability macros used across upb. + * + * All of these macros are undef'd in undef.inc to avoid leaking them to users. + * + * The correct usage is: + * + * #include "upb/foobar.h" + * #include "upb/baz.h" + * + * // MUST be last included header. + * #include "upb/port/def.inc" + * + * // Code for this file. + * // <...> + * + * // Can be omitted for .c files, required for .h. + * #include "upb/port/undef.inc" + * + * This file is private and must not be included by users! + */ + +#if !((defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \ + (defined(__cplusplus) && __cplusplus >= 201703L) || \ + (defined(_MSC_VER) && _MSC_VER >= 1900)) +#error upb requires C99 or C++17 or MSVC >= 2015. +#endif + +// Portable check for GCC minimum version: +// https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html +#if defined(__GNUC__) && defined(__GNUC_MINOR__) && defined(__GNUC_PATCHLEVEL__) +#define UPB_GNUC_MIN(x, y) \ + (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y)) +#else +#define UPB_GNUC_MIN(x, y) 0 +#endif + +#if defined(__clang__) && defined(__clang_major__) && defined(__clang_minor__) +#define UPB_CLANG_MIN(x, y) \ + (__clang_major__ > (x) || __clang_major__ == (x) && __clang_minor__ >= (y)) +#else +#define UPB_CLANG_MIN(x, y) 0 +#endif + +// Macros for checking for compiler attributes, defined here to avoid the +// problem described in +// https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005fattribute.html. +#ifdef __has_attribute +#define UPB_HAS_ATTRIBUTE(x) __has_attribute(x) +#else +#define UPB_HAS_ATTRIBUTE(x) 0 +#endif + +#ifdef __has_c_attribute +#define UPB_HAS_C_ATTRIBUTE(x) __has_c_attribute(x) +#else +#define UPB_HAS_C_ATTRIBUTE(x) 0 +#endif + +#if defined(__cplusplus) && defined(__has_cpp_attribute) +// NOTE: requiring __cplusplus above should not be necessary, but +// works around https://bugs.llvm.org/show_bug.cgi?id=23435. +#define UPB_HAS_CPP_ATTRIBUTE(x) __has_cpp_attribute(x) +#else +#define UPB_HAS_CPP_ATTRIBUTE(x) 0 +#endif + +// Once in a while we want to use this macro in a C++-only portion of an +// otherwise C-compatible header, so we copy and paste this from ABSL. +#if UPB_HAS_CPP_ATTRIBUTE(deprecated) && UPB_HAS_CPP_ATTRIBUTE(clang::annotate) +#define UPB_DEPRECATE_AND_INLINE() [[deprecated, clang::annotate("inline-me")]] +#elif UPB_HAS_CPP_ATTRIBUTE(deprecated) +#define UPB_DEPRECATE_AND_INLINE() [[deprecated]] +#else +#define UPB_DEPRECATE_AND_INLINE() +#endif + +#ifdef __has_builtin +#define UPB_HAS_BUILTIN(x) __has_builtin(x) +#else +#define UPB_HAS_BUILTIN(x) 0 +#endif + +#ifdef __has_extension +#define UPB_HAS_EXTENSION(x) __has_extension(x) +#else +#define UPB_HAS_EXTENSION(x) 0 +#endif + +#ifdef __has_feature +#define UPB_HAS_FEATURE(x) __has_feature(x) +#else +#define UPB_HAS_FEATURE(x) 0 +#endif + +#include +#include +#include +#include +#include +#include + +#ifndef UINTPTR_MAX +Error, UINTPTR_MAX is undefined +#endif + +#if UINTPTR_MAX == 0xffffffff +#define UPB_SIZE(size32, size64) size32 +#else +#define UPB_SIZE(size32, size64) size64 +#endif + +/* If we always read/write as a consistent type to each address, this shouldn't + * violate aliasing. + */ +#define UPB_PTR_AT(msg, ofs, type) ((type*)((char*)(msg) + (ofs))) + +// A flexible array member may have lower alignment requirements than the struct +// overall - in that case, it can overlap with the trailing padding of the rest +// of the struct, and a naive sizeof(base) + sizeof(flex) * count calculation +// will not take into account that overlap, and allocate more than is required. +#define UPB_SIZEOF_FLEX(type, member, count) \ + UPB_MAX(sizeof(type), offsetof(type, member[count])) + +#define UPB_SIZEOF_FLEX_WOULD_OVERFLOW(type, member, count) \ + (((SIZE_MAX - offsetof(type, member[0])) / \ + (offsetof(type, member[1]) - offsetof(type, member[0]))) < (size_t)count) + +#define UPB_ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) + +#define UPB_MAPTYPE_STRING 0 + +// UPB_EXPORT: always generate a public symbol. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_EXPORT __attribute__((visibility("default"))) __attribute__((used)) +#else +#define UPB_EXPORT +#endif + +// UPB_INLINE: inline if possible, emit standalone code if required. +#ifdef __cplusplus +#define UPB_INLINE inline +#elif defined(__GNUC__) || defined(__clang__) +#define UPB_INLINE static __inline__ +#else +#define UPB_INLINE static +#endif + +// UPB_INLINE_IF_NOT_GCC: because gcc can be very noisy at times. +#if defined(__GNUC__) && !defined(__clang__) +#define UPB_INLINE_IF_NOT_GCC static +#else +#define UPB_INLINE_IF_NOT_GCC UPB_INLINE +#endif + +#ifdef UPB_BUILD_API +#define UPB_API UPB_EXPORT +#define UPB_API_INLINE UPB_EXPORT +#else +#define UPB_API +#define UPB_API_INLINE UPB_INLINE +#endif + +#ifdef EXPORT_UPBC +#define UPBC_API UPB_EXPORT +#else +#define UPBC_API +#endif + +#if UPB_HAS_FEATURE(address_sanitizer) || defined(__SANITIZE_ADDRESS__) +#define UPB_ASAN 1 +#else +#define UPB_ASAN 0 +#endif + +#if UPB_HAS_FEATURE(hwaddress_sanitizer) +#define UPB_HWASAN 1 +#define UPB_HWASAN_POISON_TAG 17 +#define UPB_MALLOC_ALIGN 16 +#else +#define UPB_HWASAN 0 +#define UPB_MALLOC_ALIGN 8 +#endif + +#if UPB_HAS_FEATURE(thread_sanitizer) || defined(__SANITIZE_THREAD__) +#define UPB_TSAN 1 +#else +#define UPB_TSAN 0 +#endif + +#if UPB_HAS_FEATURE(memory_sanitizer) +#define UPB_MSAN 1 +#else +#define UPB_MSAN 0 +#endif + +// An unfortunate concession to C++17 and MSVC, which don't support zero-sized +// structs. +#if UPB_ASAN || UPB_HWASAN || UPB_TSAN +#define UPB_XSAN_MEMBER upb_Xsan xsan; +#define UPB_XSAN(st) (&(st)->xsan) +#define UPB_XSAN_STRUCT_SIZE 1 +#else +#define UPB_XSAN_MEMBER +#define UPB_XSAN(st) (NULL) +#define UPB_XSAN_STRUCT_SIZE 0 +#endif + +#define UPB_ALIGN_UP(size, align) (((size) + (align) - 1) / (align) * (align)) +#define UPB_ALIGN_DOWN(size, align) ((size) / (align) * (align)) +#define UPB_ALIGN_MALLOC(size) UPB_ALIGN_UP(size, UPB_MALLOC_ALIGN) + +#if __STDC_VERSION__ >= 202311L || UPB_HAS_EXTENSION(cxx_alignof) || \ + defined(__cplusplus) +#define UPB_ALIGN_OF(type) alignof(type) +#elif __STDC_VERSION__ >= 201112L || UPB_HAS_EXTENSION(c_alignof) +#define UPB_ALIGN_OF(type) _Alignof(type) +#elif UPB_GNUC_MIN(2, 95) +#define UPB_ALIGN_OF(type) __alignof__(type) +#elif defined(_MSC_VER) +#define UPB_ALIGN_OF(type) __alignof(type) +#else +#define UPB_ALIGN_OF(type) \ + offsetof( \ + struct { \ + char c; \ + type member; \ + }, \ + member) +#endif + +#ifdef _MSC_VER +// Some versions of our Windows compiler don't support the C11 syntax. +#define UPB_ALIGN_AS(x) __declspec(align(x)) +#elif defined(__GNUC__) +#define UPB_ALIGN_AS(x) __attribute__((aligned(x))) +#else +#define UPB_ALIGN_AS(x) _Alignas(x) +#endif + +#if __STDC_VERSION__ >= 202311L || UPB_HAS_EXTENSION(cxx_static_assert) || \ + defined(__cplusplus) +#define UPB_STATIC_ASSERT(val, msg) static_assert((val), msg) +#elif __STDC_VERSION__ >= 201112L || UPB_HAS_EXTENSION(c_static_assert) || \ + UPB_GNUC_MIN(4, 6) +#define UPB_STATIC_ASSERT(val, msg) _Static_assert((val), msg) +#else +// Unfortunately this hack doesn't work inside struct declarations, but it works +// everywhere else +#define UPB_STATIC_ASSERT_CONCAT_IMPL(s1, s2) s1##s2 +#define UPB_STATIC_ASSERT_CONCAT(s1, s2) UPB_STATIC_ASSERT_CONCAT_IMPL(s1, s2) +#ifdef __COUNTER__ +#define UPB_STATIC_ASSERT(condition, message) \ + typedef char UPB_STATIC_ASSERT_CONCAT(static_assertion_failure_, \ + __COUNTER__)[(condition) ? 1 : -1] +#else +#define UPB_STATIC_ASSERT(condition, message) \ + typedef char UPB_STATIC_ASSERT_CONCAT(static_assertion_failure_, \ + __LINE__)[(condition) ? 1 : -1] +#endif +#endif + +// Hints to the compiler about likely/unlikely branches. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_LIKELY(x) __builtin_expect((bool)(x), 1) +#define UPB_UNLIKELY(x) __builtin_expect((bool)(x), 0) +#else +#define UPB_LIKELY(x) (x) +#define UPB_UNLIKELY(x) (x) +#endif + +#if UPB_HAS_BUILTIN(__builtin_expect_with_probability) +#define UPB_UNPREDICTABLE(x) \ + __builtin_expect_with_probability((bool)(x), 1, 0.5) +#else +#define UPB_UNPREDICTABLE(x) (x) +#endif + +// Macros for function attributes on compilers that support them. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_FORCEINLINE __inline__ __attribute__((always_inline)) static +#define UPB_NOINLINE __attribute__((noinline)) +#define UPB_NORETURN __attribute__((__noreturn__)) +#define UPB_PRINTF(str, first_vararg) \ + __attribute__((format(printf, str, first_vararg))) +#elif defined(_MSC_VER) +#define UPB_NOINLINE +#define UPB_FORCEINLINE static +#define UPB_NORETURN __declspec(noreturn) +#define UPB_PRINTF(str, first_vararg) +#else /* !defined(__GNUC__) */ +#define UPB_FORCEINLINE static +#define UPB_NOINLINE +#define UPB_NORETURN +#define UPB_PRINTF(str, first_vararg) +#endif + +#if UPB_HAS_ATTRIBUTE(noderef) +#define UPB_NODEREF __attribute__((noderef)) +#else +#define UPB_NODEREF +#endif + +// Will be defined properly once call sites are updated +#if false && UPB_HAS_C_ATTRIBUTE(nodiscard) +#define UPB_NODISCARD [[nodiscard]] +#elif false && UPB_HAS_ATTRIBUTE(warn_unused_result) +#define UPB_NODISCARD __attribute__((warn_unused_result)) +#elif false && UPB_HAS_CPP_ATTRIBUTE(nodiscard) +#define UPB_NODISCARD [[nodiscard]] +#else +#define UPB_NODISCARD +#endif + +#define UPB_MAX(x, y) ((x) > (y) ? (x) : (y)) +#define UPB_MIN(x, y) ((x) < (y) ? (x) : (y)) + +#define UPB_UNUSED(var) (void)(var) + +// UPB_ASSUME(): in release mode, we tell the compiler to assume this is true. +#ifdef NDEBUG +#ifdef __GNUC__ +#define UPB_ASSUME(expr) \ + if (!(expr)) __builtin_unreachable() +#elif defined _MSC_VER +#define UPB_ASSUME(expr) \ + if (!(expr)) __assume(0) +#else +#define UPB_ASSUME(expr) \ + do { \ + } while (false && (expr)) +#endif +#else +#define UPB_ASSUME(expr) assert(expr) +#endif + +#if UPB_HAS_BUILTIN(__builtin_constant_p) && UPB_HAS_ATTRIBUTE(const) +#define UPB_MAYBE_ASSUME(pred, x) \ + if (__builtin_constant_p(pred) && pred) UPB_ASSUME(x) +#define UPB_ATTR_CONST __attribute__((const)) +#else +#define UPB_MAYBE_ASSUME(pred, x) +#define UPB_ATTR_CONST +#endif + +/* UPB_ASSERT(): in release mode, we use the expression without letting it be + * evaluated. This prevents "unused variable" warnings. */ +#ifdef NDEBUG +#define UPB_ASSERT(expr) \ + do { \ + } while (false && (expr)) +#else +#define UPB_ASSERT(expr) assert(expr) +#endif + +#if !defined(NDEBUG) && !defined(UPB_TSAN) +#define UPB_ENABLE_REF_CYCLE_CHECKS 1 +#else +#define UPB_ENABLE_REF_CYCLE_CHECKS 0 +#endif + +#if defined(__GNUC__) || defined(__clang__) +#define UPB_PRETTY_FUNCTION __PRETTY_FUNCTION__ +#else +#define UPB_PRETTY_FUNCTION NULL +#endif + +#ifdef __cplusplus + extern "C" { +#endif + UPB_NORETURN void _upb_UnreachableFailure(const char* file, int line, + const char* function_name); +#if !defined(NDEBUG) +#define UPB_UNREACHABLE_FAILURE() \ + _upb_UnreachableFailure(__FILE__, __LINE__, UPB_PRETTY_FUNCTION); +#else +#define UPB_UNREACHABLE_FAILURE() +#endif +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#if defined(__GNUC__) || defined(__clang__) +#define UPB_UNREACHABLE() \ + do { \ + UPB_UNREACHABLE_FAILURE(); \ + __builtin_unreachable(); \ + } while (0) +#elif defined(_MSC_VER) +#define UPB_UNREACHABLE() \ + do { \ + UPB_UNREACHABLE_FAILURE(); \ + __assume(0); \ + } while (0) +#else +#define UPB_UNREACHABLE() \ + do { \ + UPB_UNREACHABLE_FAILURE(); \ + } while (0) +#endif + +#ifdef __ANDROID__ +#define UPB_DEFAULT_MAX_BLOCK_SIZE 8192 +#else +#define UPB_DEFAULT_MAX_BLOCK_SIZE 32768 +#endif + +/* UPB_SETJMP() / UPB_LONGJMP() */ +// Android uses a custom libc that does not implement all of posix, but it has +// had sigsetjmp/siglongjmp forever on arm and since API 12 on x86. Apple has +// sigsetjmp, but does not define the posix feature test macro. +#if defined(__APPLE__) || defined(_POSIX_C_SOURCE) || defined(__ANDROID__) +// avoid setting/restoring signal mask, which involves costly syscalls +#define UPB_SETJMP(buf) sigsetjmp(buf, 0) +#define UPB_LONGJMP(buf, val) siglongjmp(buf, val) +#elif defined(WASM_WAMR) +#define UPB_SETJMP(buf) 0 +#define UPB_LONGJMP(buf, val) abort() +#else +#define UPB_SETJMP(buf) setjmp(buf) +#define UPB_LONGJMP(buf, val) longjmp(buf, val) +#endif + +#if ((__STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_ATOMICS__)) || \ + UPB_HAS_EXTENSION(c_atomic) || \ + defined(__GNUC__) // GCC supported atomics as an extension before it + // supported __has_extension +#define UPB_USE_C11_ATOMICS +#elif defined(_MSC_VER) +#define UPB_USE_MSC_ATOMICS +#endif + +#if defined(UPB_USE_C11_ATOMICS) +#define UPB_ATOMIC(T) _Atomic(T) +#elif defined(UPB_USE_MSC_ATOMICS) +#define UPB_ATOMIC(T) volatile T +#else +#define UPB_ATOMIC(T) T +#endif + +/* UPB_PTRADD(ptr, ofs): add pointer while avoiding "NULL + 0" UB */ +#define UPB_PTRADD(ptr, ofs) ((ofs) ? (ptr) + (ofs) : (ptr)) + +#define UPB_PRIVATE(x) x##_dont_copy_me__upb_internal_use_only + +#ifdef UPB_ALLOW_PRIVATE_ACCESS__FOR_BITS_ONLY +#define UPB_ONLYBITS(x) x +#else +#define UPB_ONLYBITS(x) UPB_PRIVATE(x) +#endif + +/* Configure whether fasttable is switched on or not. *************************/ + +#if UPB_HAS_ATTRIBUTE(musttail) +#define UPB_MUSTTAIL __attribute__((musttail)) +#else +#define UPB_MUSTTAIL +#endif + +#if UPB_HAS_ATTRIBUTE(preserve_most) && !defined(__i386__) +#define UPB_PRESERVE_MOST __attribute__((preserve_most)) +#else +#define UPB_PRESERVE_MOST +#endif + +#if UPB_HAS_ATTRIBUTE(preserve_none) +#define UPB_PRESERVE_NONE __attribute__((preserve_none)) +#else +#define UPB_PRESERVE_NONE +#endif + +#if defined(__aarch64__) && (defined(__GNUC__) || defined(__clang__)) +#define UPB_ARM64_ASM 1 +#else +#define UPB_ARM64_ASM 0 +#endif + +/* When compiling with branch protection, we need to ensure that all branch + * targets in assembly use the appropriate landing pad instruction. These + * instructions are backwards compatible with processors that don't have + * FEAT_BTI and are treated as nops. + */ +#if UPB_ARM64_ASM && defined(__ARM_FEATURE_BTI_DEFAULT) +#if __ARM_FEATURE_BTI_DEFAULT == 1 +#define UPB_ARM64_BTI_DEFAULT 1 +#else +#define UPB_ARM64_BTI_DEFAULT 0 +#endif +#else +#define UPB_ARM64_BTI_DEFAULT 0 +#endif + +/* aarch64 supports big and little endian modes; fasttable performs multibyte + * tag loads assumes the tag of a varint is in the low bits. */ +#if (defined(__x86_64__) || defined(__AARCH64EL__)) && \ + UPB_HAS_ATTRIBUTE(preserve_none) && UPB_HAS_ATTRIBUTE(musttail) +#define UPB_FASTTABLE_SUPPORTED 1 +#else +#define UPB_FASTTABLE_SUPPORTED 0 +#endif + +/* define UPB_ENABLE_FASTTABLE to force fast table support. + * This is useful when we want to ensure we are really getting fasttable, + * for example for testing or benchmarking. */ +#if defined(UPB_ENABLE_FASTTABLE) +#if !UPB_FASTTABLE_SUPPORTED +#error fasttable is x86-64/ARM64le only and requires preserve_none and musttail. +#endif +#define UPB_FASTTABLE 1 +/* Define UPB_TRY_ENABLE_FASTTABLE to use fasttable if possible. + * This is useful for releasing code that might be used on multiple platforms, + * for example the PHP or Ruby C extensions. */ +#elif defined(UPB_TRY_ENABLE_FASTTABLE) +#define UPB_FASTTABLE UPB_FASTTABLE_SUPPORTED +#else +#define UPB_FASTTABLE 0 +#endif + +/* UPB_FASTTABLE_INIT() allows protos compiled for fasttable to gracefully + * degrade to non-fasttable if the runtime or platform do not support it. */ +#if !UPB_FASTTABLE +#define UPB_FASTTABLE_INIT(...) +#define UPB_FASTTABLE_MASK(mask) -1 +#else +#define UPB_FASTTABLE_INIT(...) __VA_ARGS__ +#define UPB_FASTTABLE_MASK(mask) mask +#endif + +#undef UPB_FASTTABLE_SUPPORTED + +#if defined(__cplusplus) +#if defined(__clang__) || UPB_GNUC_MIN(6, 0) +// https://gcc.gnu.org/gcc-6/changes.html +#define UPB_DEPRECATED [[deprecated]] +#else +#define UPB_DEPRECATED +#endif +#else +#define UPB_DEPRECATED +#endif + +#if defined(UPB_IS_GOOGLE3) && \ + (!defined(UPB_BOOTSTRAP_STAGE) || UPB_BOOTSTRAP_STAGE != 0) +#define UPB_DESC_MINITABLE(sym) &proto2__##sym##_msg_init +#elif defined(UPB_IS_GOOGLE3) && defined(UPB_BOOTSTRAP_STAGE) && \ + UPB_BOOTSTRAP_STAGE == 0 +#define UPB_DESC_MINITABLE(sym) proto2__##sym##_msg_init() +#elif defined(UPB_BOOTSTRAP_STAGE) && UPB_BOOTSTRAP_STAGE == 0 +#define UPB_DESC_MINITABLE(sym) google__protobuf__##sym##_msg_init() +#else +#define UPB_DESC_MINITABLE(sym) &google__protobuf__##sym##_msg_init +#endif + +#undef UPB_IS_GOOGLE3 + +#ifdef __clang__ +#define UPB_NO_SANITIZE_ADDRESS __attribute__((no_sanitize("address"))) +#else +#define UPB_NO_SANITIZE_ADDRESS +#endif + +#if defined(__GNUC__) && (defined(__clang__) || UPB_GNUC_MIN(11, 0)) +#define UPB_RETAIN __attribute__((retain)) +#else +#define UPB_RETAIN +#endif + +// Linker arrays combine elements from multiple translation units into a single +// array that can be iterated over at runtime. +// +// It is an alternative to pre-main "registration" functions. +// +// Usage: +// +// // In N translation units. +// UPB_LINKARR_APPEND(foo_array) static int elems[3] = {1, 2, 3}; +// +// // At runtime: +// UPB_LINKARR_DECLARE(foo_array, int); +// +// void f() { +// const int* start = UPB_LINKARR_START(foo_array); +// const int* stop = UPB_LINKARR_STOP(foo_array); +// for (const int* p = start; p < stop; p++) { +// // Windows can introduce zero padding, so we have to skip zeroes. +// if (*p != 0) { +// vec.push_back(*p); +// } +// } +// } + +#if defined(__GNUC__) && !defined(__clang__) +// GCC can't handle mismatched retain attributes in the same section: +// https://github.com/protocolbuffers/protobuf/issues/26385 +// To work around this, we retain all linker array elements, even though this +// effectively disables tree-shaking of unused extensions when using GCC. +#define UPB_LINKARR_ATTR UPB_RETAIN +#else +#define UPB_LINKARR_ATTR +#endif + +#define UPB_LINKARR_SENTINEL UPB_RETAIN __attribute__((weak, used)) + +#if defined(__ELF__) || defined(__wasm__) + +#define UPB_LINKARR_APPEND(name) \ + __attribute__(( \ + section("linkarr_" #name))) UPB_LINKARR_ATTR UPB_NO_SANITIZE_ADDRESS +#define UPB_LINKARR_DECLARE(name, type) \ + UPB_STATIC_ASSERT(sizeof("__la_" #name) <= 17, \ + "Linker array name too long for Mach-O (16-char limit)"); \ + extern type __start_linkarr_##name; \ + extern type __stop_linkarr_##name; \ + UPB_LINKARR_APPEND(name) \ + UPB_LINKARR_SENTINEL type UPB_linkarr_internal_empty_##name[1] +#define UPB_LINKARR_START(name) (&__start_linkarr_##name) +#define UPB_LINKARR_STOP(name) (&__stop_linkarr_##name) + +#elif defined(__MACH__) + +/* As described in: https://stackoverflow.com/a/22366882 */ +#define UPB_LINKARR_APPEND(name) \ + __attribute__(( \ + section("__DATA,__la_" #name))) UPB_LINKARR_ATTR UPB_NO_SANITIZE_ADDRESS +#define UPB_LINKARR_DECLARE(name, type) \ + UPB_STATIC_ASSERT(sizeof("__la_" #name) <= 17, \ + "Linker array name too long for Mach-O (16-char limit)"); \ + extern type __start_linkarr_##name __asm( \ + "section$start$__DATA$__la_" #name); \ + extern type __stop_linkarr_##name __asm( \ + "section$end$__DATA$" \ + "__la_" #name); \ + UPB_LINKARR_APPEND(name) \ + UPB_LINKARR_SENTINEL type UPB_linkarr_internal_empty_##name[1] +#define UPB_LINKARR_START(name) (&__start_linkarr_##name) +#define UPB_LINKARR_STOP(name) (&__stop_linkarr_##name) + +#elif defined(_MSC_VER) + +/* See: + * https://devblogs.microsoft.com/oldnewthing/20181107-00/?p=100155 + * https://devblogs.microsoft.com/oldnewthing/20181108-00/?p=100165 + * https://devblogs.microsoft.com/oldnewthing/20181109-00/?p=100175 */ +#define UPB_STRINGIFY_INTERNAL(x) #x +#define UPB_STRINGIFY(x) UPB_STRINGIFY_INTERNAL(x) +#define UPB_CONCAT(a, b, c) a##b##c +#define UPB_LINKARR_NAME(name, index) \ + UPB_STRINGIFY(UPB_CONCAT(la_, name, index)) +#define UPB_LINKARR_APPEND(name) \ + __pragma(section(UPB_LINKARR_NAME(name, $j), read)) \ + __declspec(allocate(UPB_LINKARR_NAME(name, $j))) +// clang-format off +#define UPB_LINKARR_DECLARE(name, type) \ + __pragma(message(UPB_LINKARR_NAME(name, $j))) \ + __pragma(section(UPB_LINKARR_NAME(name, $a), read)) \ + __pragma(section(UPB_LINKARR_NAME(name, $z), read)) \ + __declspec(allocate(UPB_LINKARR_NAME(name, $a)), selectany) \ + type __start_linkarr_##name; \ + __declspec(allocate(UPB_LINKARR_NAME(name, $z)), selectany) \ + type __stop_linkarr_##name; \ + UPB_LINKARR_APPEND(name) \ + __declspec(selectany) type UPB_linkarr_internal_empty_##name[1] = {0} +// clang-format on +#define UPB_LINKARR_START(name) (&__start_linkarr_##name) +#define UPB_LINKARR_STOP(name) (&__stop_linkarr_##name) + +#else + +// Linker arrays are not supported on this platform. Make macros no-ops. +#define UPB_LINKARR_APPEND(name) +#define UPB_LINKARR_DECLARE(name, type) \ + UPB_STATIC_ASSERT(sizeof("__la_" #name) <= 17, \ + "Linker array name too long for Mach-O (16-char limit)") +#define UPB_LINKARR_START(name) (NULL) +#define UPB_LINKARR_STOP(name) (NULL) + +#endif + +// Workaround for https://github.com/llvm/llvm-project/issues/167577 until it's +// fixed. Some function must exist for the constructor to work properly. +// TODO Remove this or gate it on a future version of clang. +#if defined(__clang__) && defined(__arm__) +#define _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) \ + __attribute__((used, visibility("hidden"))) void UPB_PRIVATE(unique_name)( \ + void) {} +#else +#define _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) +#endif + +#define _UPB_STRINGIFY2(x) #x +#define _UPB_STRINGIFY(x) _UPB_STRINGIFY2(x) + +#if defined(__ELF__) && (UPB_GNUC_MIN(15, 1) || UPB_CLANG_MIN(21, 1)) +/* + * Workaround for b/456308964 and b/456317163. Although weak constructors + * resolve to a single function body, Clang still emits a pointer into + * .init_array for every translation unit, causing the constructor to be + * executed multiple times and inflating binary size. We wrap the .init_array + * entry in a COMDAT group (using inline assembly) to force the linker to + * deduplicate the pointer to exactly one instance. %cc is used in preference to + * the more widely available %c because %c may under some circumstances still + * output a function name including relocation information, which will then + * confuse the linker. This was only a problem on gcc; when %cc was introduced + * to clang it was just an alias to %c, and clang's %c had already done the + * checks that %cc introduced to gcc. + * References: + * https://github.com/gcc-mirror/gcc/commit/74d6a676034b3ab20c387f12f19f5597e4f1c9fa + * https://github.com/llvm/llvm-project/pull/127719#issuecomment-2686276305 + */ +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) \ + __attribute__((weak, used, visibility("hidden"))) void UPB_PRIVATE(name)( \ + void) { \ + __asm__ volatile( \ + ".pushsection .init_array,\"awG\",%%init_array, %cc0, comdat\n" \ + ".dc.a %cc0\n" \ + ".popsection\n" \ + : \ + : "X"(UPB_PRIVATE(name))); \ + __VA_ARGS__ \ + } +#elif defined(__ELF__) || defined(__wasm__) || defined(__MACH__) || \ + defined(__MINGW32__) +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) \ + __attribute__((weak, visibility("hidden"), constructor)) void UPB_PRIVATE( \ + name)(void) { \ + __VA_ARGS__ \ + } +#elif defined(_MSC_VER) +/* + * See: https://stackoverflow.com/questions/1113409 + * + * The /include pragma suggested in the link above doesn't work in our case + * because it requires globally unique names. We need a different solution + * to prevent optimizers from removing the constructor. Our solution is to + * create a dummy exported weak symbol that prevent this stripping. + */ +#pragma section(".CRT$XCT", read) +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + static void __cdecl UPB_PRIVATE(name)(void); \ + __declspec(allocate(".CRT$XCT"), selectany) void( \ + __cdecl * UPB_PRIVATE(name##_))(void) = UPB_PRIVATE(name); \ + __declspec(selectany, dllexport) void* UPB_PRIVATE(name##_force_linkage) = \ + &UPB_PRIVATE(name##_); \ + static void __cdecl UPB_PRIVATE(name)(void) { __VA_ARGS__ } +#else +// No constructor support, nothing we can do except not break builds. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + static __attribute__((used)) void UPB_PRIVATE(name)(void) { __VA_ARGS__ } +#else +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + static void UPB_PRIVATE(name)(void) { __VA_ARGS__ } +#endif +#endif + +// +// Weak alias platform support. Theoretically this should be possible to do with +// only C using attributes like __attribute__((weak, alias("foo"))), but +// Clang doesn't support this properly on macOS. So we have to use assembly. +#if defined(__APPLE__) + +// TODO: once https://github.com/llvm/llvm-project/issues/167262 is fixed +// in the LLVM linker, we should have all weak variables point to a single +// "default" empty MiniTable instead of having each leaf define its own, like +// we do with ELF below. This will reduce binary size if many messages are tree +// shaken. +#define UPB_WEAK_SINGLETON_PLACEHOLDER_MINITABLE() +#define UPB_WEAK_PLACEHOLDER_MINITABLE(name) \ + __attribute__((weak)) const upb_MiniTable name = { \ + .UPB_PRIVATE(fields) = NULL, \ + .UPB_PRIVATE(size) = sizeof(struct upb_Message), \ + .UPB_PRIVATE(field_count) = 0, \ + .UPB_PRIVATE(ext) = kUpb_ExtMode_NonExtendable, \ + .UPB_PRIVATE(dense_below) = 0, \ + .UPB_PRIVATE(table_mask) = -1, \ + .UPB_PRIVATE(required_count) = 0, \ + }; +#define UPB_WEAK_ALIAS(type, from, to) \ + extern type to; \ + __asm__(".globl _" #to); \ + __asm__(".private_extern _" #to); \ + __asm__(".set _" #to ", _" #from); \ + __asm__(".weak_definition _" #to); +#define UPB_STRONG_ALIAS(type, from, to) \ + __asm__(".globl _" #to); \ + __asm__(".private_extern _" #to); \ + __asm__(".set _" #to ", _" #from); + +#elif defined(__ELF__) || defined(__wasm__) + + // On ELF, weak aliases work properly, so we can have all weak MiniTables + // point to the same empty singleton MiniTable. This reduces code size if many + // MiniTables are tree shaken. +#define UPB_WEAK_SINGLETON_PLACEHOLDER_MINITABLE() \ + __attribute__((weak)) \ + const upb_MiniTable kUpb_WeakSingletonPlaceholderMiniTable = { \ + .UPB_PRIVATE(fields) = NULL, \ + .UPB_PRIVATE(size) = sizeof(struct upb_Message), \ + .UPB_PRIVATE(field_count) = 0, \ + .UPB_PRIVATE(ext) = kUpb_ExtMode_NonExtendable, \ + .UPB_PRIVATE(dense_below) = 0, \ + .UPB_PRIVATE(table_mask) = -1, \ + .UPB_PRIVATE(required_count) = 0, \ + }; +#define UPB_WEAK_PLACEHOLDER_MINITABLE(name) +#define UPB_WEAK_ALIAS(type, from, to) \ + extern type to \ + __attribute__((weak, alias("kUpb_WeakSingletonPlaceholderMiniTable"))); +#define UPB_STRONG_ALIAS(type, from, to) \ + extern type to __attribute__((alias(#from))); + +#else +#define UPB_WEAK_SINGLETON_PLACEHOLDER_MINITABLE() +#define UPB_WEAK_PLACEHOLDER_MINITABLE(name) +#define UPB_WEAK_ALIAS(type, from, to) weak_alias_not_supported_on_this_platform +#define UPB_STRONG_ALIAS(type, from, to) \ + strong_alias_not_supported_on_this_platform + +#endif + +#ifndef UPB_BASE_UPCAST_H_ +#define UPB_BASE_UPCAST_H_ + +// Must be last. + +// This macro provides a way to upcast message pointers in a way that is +// somewhat more bulletproof than blindly casting a pointer. Example: +// +// typedef struct { +// upb_Message UPB_PRIVATE(base); +// } pkg_FooMessage; +// +// void f(pkg_FooMessage* msg) { +// upb_Decode(UPB_UPCAST(msg), ...); +// } + +#define UPB_UPCAST(x) (&(x)->base##_dont_copy_me__upb_internal_use_only) + + +#endif /* UPB_BASE_UPCAST_H_ */ + +#ifndef UPB_MESSAGE_ACCESSORS_H_ +#define UPB_MESSAGE_ACCESSORS_H_ + +#include + +#ifndef UPB_BASE_STRING_VIEW_H_ +#define UPB_BASE_STRING_VIEW_H_ + +#include + +// Must be last. + +#define UPB_STRINGVIEW_INIT(ptr, len) \ + { ptr, len } + +#define UPB_STRINGVIEW_FORMAT "%.*s" +#define UPB_STRINGVIEW_ARGS(view) (int)(view).size, (view).data + +// LINT.IfChange(struct_definition) +typedef struct { + const char* data; + size_t size; +} upb_StringView; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API_INLINE upb_StringView upb_StringView_FromDataAndSize(const char* data, + size_t size) { + upb_StringView ret; + ret.data = data; + ret.size = size; + return ret; +} + +UPB_INLINE upb_StringView upb_StringView_FromString(const char* data) { + return upb_StringView_FromDataAndSize(data, strlen(data)); +} + +UPB_INLINE bool upb_StringView_IsEqual(upb_StringView a, upb_StringView b) { + return (a.size == b.size) && (!a.size || !memcmp(a.data, b.data, a.size)); +} + +// Compares StringViews following strcmp rules. +// Please note this comparison is neither unicode nor locale aware. +UPB_INLINE int upb_StringView_Compare(upb_StringView a, upb_StringView b) { + int result = memcmp(a.data, b.data, UPB_MIN(a.size, b.size)); + if (result != 0) return result; + if (a.size < b.size) { + return -1; + } else if (a.size > b.size) { + return 1; + } else { + return 0; + } +} + +// LINT.ThenChange( +// GoogleInternalName1, +// //depot/google3/third_party/upb/bits/golang/accessor.go:map_go_string, +// //depot/google3/third_party/upb/bits/typescript/string_view.ts +// ) + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_BASE_STRING_VIEW_H_ */ + +/* upb_Arena is a specific allocator implementation that uses arena allocation. + * The user provides an allocator that will be used to allocate the underlying + * arena blocks. Arenas by nature do not require the individual allocations + * to be freed. However the Arena does allow users to register cleanup + * functions that will run when the arena is destroyed. + * + * A upb_Arena is *not* thread-safe, although some functions related to its + * managing its lifetime are, and are documented as such. + * + * You could write a thread-safe arena allocator that satisfies the + * upb_alloc interface, but it would not be as efficient for the + * single-threaded case. */ + +#ifndef UPB_MEM_ARENA_H_ +#define UPB_MEM_ARENA_H_ + +#include +#include + + +#ifndef UPB_MEM_ALLOC_H_ +#define UPB_MEM_ALLOC_H_ + +#include + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct upb_alloc upb_alloc; + +/* A combined `malloc()`/`free()` function. + * If `size` is 0 then the function acts like `free()`, otherwise it acts like + * `realloc()`. Only `oldsize` bytes from a previous allocation are + * preserved. If `actual_size` is not null and the allocator supports it, the + * actual size of the resulting allocation is stored in `actual_size`. If + * `actual_size` is not null, you must zero out the memory pointed to by + * `actual_size` before calling. */ +typedef void* upb_alloc_func(upb_alloc* alloc, void* ptr, size_t oldsize, + size_t size, size_t* actual_size); + +/* A upb_alloc is a possibly-stateful allocator object. + * + * It could either be an arena allocator (which doesn't require individual + * `free()` calls) or a regular `malloc()` (which does). The client must + * therefore free memory unless it knows that the allocator is an arena + * allocator. */ +struct upb_alloc { + upb_alloc_func* func; +}; + +UPB_NODISCARD UPB_INLINE void* upb_malloc(upb_alloc* alloc, size_t size) { + UPB_ASSERT(alloc); + return alloc->func(alloc, NULL, 0, size, NULL); +} + +typedef struct { + void* p; + size_t n; +} upb_SizedPtr; + +UPB_INLINE upb_SizedPtr upb_SizeReturningMalloc(upb_alloc* alloc, size_t size) { + UPB_ASSERT(alloc); + upb_SizedPtr result; + result.n = 0; + result.p = alloc->func(alloc, NULL, 0, size, &result.n); + result.n = result.p != NULL ? UPB_MAX(result.n, size) : 0; + return result; +} + +UPB_NODISCARD UPB_INLINE void* upb_realloc(upb_alloc* alloc, void* ptr, + size_t oldsize, size_t size) { + UPB_ASSERT(alloc); + return alloc->func(alloc, ptr, oldsize, size, NULL); +} + +UPB_INLINE void upb_free(upb_alloc* alloc, void* ptr) { + UPB_ASSERT(alloc); + alloc->func(alloc, ptr, 0, 0, NULL); +} + +UPB_INLINE void upb_free_sized(upb_alloc* alloc, void* ptr, size_t size) { + UPB_ASSERT(alloc); + alloc->func(alloc, ptr, size, 0, NULL); +} + +// The global allocator used by upb. Uses the standard malloc()/free(). + +extern upb_alloc upb_alloc_global; + +/* Functions that hard-code the global malloc. + * + * We still get benefit because we can put custom logic into our global + * allocator, like injecting out-of-memory faults in debug/testing builds. */ + +UPB_NODISCARD UPB_INLINE void* upb_gmalloc(size_t size) { + return upb_malloc(&upb_alloc_global, size); +} + +UPB_NODISCARD UPB_INLINE void* upb_grealloc(void* ptr, size_t oldsize, + size_t size) { + return upb_realloc(&upb_alloc_global, ptr, oldsize, size); +} + +UPB_INLINE void upb_gfree(void* ptr) { upb_free(&upb_alloc_global, ptr); } + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MEM_ALLOC_H_ */ + +#ifndef UPB_MEM_INTERNAL_ARENA_H_ +#define UPB_MEM_INTERNAL_ARENA_H_ + +#include +#include +#include + + +#ifndef UPB_PORT_SANITIZERS_H_ +#define UPB_PORT_SANITIZERS_H_ + +#include +#include +#include + +// Must be last. + +// Must be inside def.inc/undef.inc +#if UPB_HWASAN +#include +#endif + +#if UPB_MSAN +#include +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +// UPB_ARENA_SIZE_HACK depends on this struct having size 1. +typedef struct { + uint8_t state; +} upb_Xsan; + +UPB_INLINE uint8_t _upb_Xsan_NextTag(upb_Xsan *xsan) { +#if UPB_HWASAN + xsan->state++; + if (xsan->state <= UPB_HWASAN_POISON_TAG) { + xsan->state = UPB_HWASAN_POISON_TAG + 1; + } + return xsan->state; +#else + UPB_UNUSED(xsan); + return 0; +#endif +} + +enum { +#if UPB_ASAN + UPB_PRIVATE(kUpb_Asan_GuardSize) = 32, +#else + UPB_PRIVATE(kUpb_Asan_GuardSize) = 0, +#endif +}; + +UPB_INLINE uint8_t UPB_PRIVATE(_upb_Xsan_GetTag)(const void *addr) { +#if UPB_HWASAN + return __hwasan_get_tag_from_pointer(addr); +#else + UPB_UNUSED(addr); + return 0; +#endif +} + +UPB_INLINE void UPB_PRIVATE(upb_Xsan_Init)(upb_Xsan *xsan) { +#if UPB_HWASAN || UPB_TSAN + xsan->state = 0; +#else + UPB_UNUSED(xsan); +#endif +} + +UPB_INLINE void UPB_PRIVATE(upb_Xsan_MarkInitialized)(void* addr, size_t size) { +#if UPB_HAS_FEATURE(memory_sanitizer) + if (size) { + __msan_unpoison(addr, size); + } +#else + UPB_UNUSED(addr); + UPB_UNUSED(size); +#endif +} + +// Marks the given region as poisoned, meaning that it is not accessible until +// it is unpoisoned. +UPB_INLINE void UPB_PRIVATE(upb_Xsan_PoisonRegion)(const void *addr, + size_t size) { +#if UPB_ASAN + void __asan_poison_memory_region(void const volatile *addr, size_t size); + __asan_poison_memory_region(addr, size); +#elif UPB_HWASAN + __hwasan_tag_memory(addr, UPB_HWASAN_POISON_TAG, UPB_ALIGN_MALLOC(size)); +#else + UPB_UNUSED(addr); + UPB_UNUSED(size); +#endif +} + +UPB_INLINE void *UPB_PRIVATE(_upb_Xsan_UnpoisonRegion)(void *addr, size_t size, + uint8_t tag) { +#if UPB_ASAN + UPB_UNUSED(tag); + void __asan_unpoison_memory_region(void const volatile *addr, size_t size); + __asan_unpoison_memory_region(addr, size); + return addr; +#elif UPB_HWASAN + __hwasan_tag_memory(addr, tag, UPB_ALIGN_MALLOC(size)); + return __hwasan_tag_pointer(addr, tag); +#else + UPB_UNUSED(size); + UPB_UNUSED(tag); + + // `addr` is the pointer that will be returned from arena alloc/realloc + // functions. In this code-path we know it must be non-NULL, but the compiler + // doesn't know this unless we add a UPB_ASSUME() annotation. + // + // This will let the optimizer optimize away NULL-checks if it can see that + // this path was taken. + UPB_ASSUME(addr); + return addr; +#endif +} + +// Allows users to read and write to the given region, which will be considered +// distinct from other regions and may only be accessed through the returned +// pointer. +// +// `addr` must be aligned to the malloc alignment. Size may be unaligned, +// and with ASAN we can respect `size` precisely, but with HWASAN we must +// round `size` up to the next multiple of the malloc alignment, so the caller +// must guarantee that rounding up `size` will not cause overlap with other +// regions. +UPB_INLINE void *UPB_PRIVATE(upb_Xsan_NewUnpoisonedRegion)(upb_Xsan *xsan, + void *addr, + size_t size) { + return UPB_PRIVATE(_upb_Xsan_UnpoisonRegion)(addr, size, + _upb_Xsan_NextTag(xsan)); +} + +// Resizes the given region to a new size, *without* invalidating any existing +// pointers to the region. +// +// `tagged_addr` must be a pointer that was previously returned from +// `upb_Xsan_NewUnpoisonedRegion`. `old_size` must be the size that was +// originally passed to `upb_Xsan_NewUnpoisonedRegion`. +UPB_INLINE void *UPB_PRIVATE(upb_Xsan_ResizeUnpoisonedRegion)(void *tagged_addr, + size_t old_size, + size_t new_size) { + UPB_PRIVATE(upb_Xsan_PoisonRegion)(tagged_addr, old_size); + return UPB_PRIVATE(_upb_Xsan_UnpoisonRegion)( + tagged_addr, new_size, UPB_PRIVATE(_upb_Xsan_GetTag)(tagged_addr)); +} + +// Compares two pointers and returns true if they are equal. This returns the +// correct result even if one or both of the pointers are tagged. +UPB_INLINE bool UPB_PRIVATE(upb_Xsan_PtrEq)(const void *a, const void *b) { +#if UPB_HWASAN + return __hwasan_tag_pointer(a, 0) == __hwasan_tag_pointer(b, 0); +#else + return a == b; +#endif +} + +// These annotations improve TSAN's ability to detect data races. By +// proactively accessing a non-atomic variable at the point where it is +// "logically" accessed, we can trigger TSAN diagnostics that might have +// otherwise been masked by subsequent atomic operations. + +UPB_INLINE void UPB_PRIVATE(upb_Xsan_AccessReadOnly)(upb_Xsan *xsan) { +#if UPB_TSAN + // For performance we avoid using a volatile variable. + __asm__ volatile("" ::"r"(xsan->state)); +#else + UPB_UNUSED(xsan); +#endif +} + +UPB_INLINE void UPB_PRIVATE(upb_Xsan_AccessReadWrite)(upb_Xsan *xsan) { +#if UPB_TSAN + // For performance we avoid using a volatile variable. + __asm__ volatile("" : "+r"(xsan->state)); +#else + UPB_UNUSED(xsan); +#endif +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_PORT_SANITIZERS_H_ + +// Must be last. + +// This is QUITE an ugly hack, which specifies the number of pointers needed +// to equal (or exceed) the storage required for one upb_Arena. +// +// We need this because the decoder inlines a upb_Arena for performance but +// the full struct is not visible outside of arena.c. Yes, I know, it's awful. +#ifndef NDEBUG +#define UPB_ARENA_BASE_SIZE_HACK 10 +#else +#define UPB_ARENA_BASE_SIZE_HACK 9 +#endif + +#define UPB_ARENA_SIZE_HACK \ + (sizeof(void*) * (UPB_ARENA_BASE_SIZE_HACK + (UPB_XSAN_STRUCT_SIZE * 2))) + \ + (sizeof(uint32_t) * 2) + +// LINT.IfChange(upb_Arena) + +struct upb_Arena { + char* UPB_ONLYBITS(ptr); + const UPB_NODEREF char* UPB_ONLYBITS(end); + UPB_XSAN_MEMBER +}; + +// LINT.ThenChange(//depot/google3/third_party/upb/bits/typescript/arena.ts:upb_Arena) + +#ifdef __cplusplus +extern "C" { +#endif + +void UPB_PRIVATE(_upb_Arena_SwapIn)(struct upb_Arena* des, + const struct upb_Arena* src); +void UPB_PRIVATE(_upb_Arena_SwapOut)(struct upb_Arena* des, + const struct upb_Arena* src); + +UPB_INLINE size_t UPB_PRIVATE(_upb_ArenaHas)(const struct upb_Arena* a) { + return (size_t)(a->UPB_ONLYBITS(end) - a->UPB_ONLYBITS(ptr)); +} + +UPB_INLINE size_t UPB_PRIVATE(_upb_Arena_AllocSpan)(size_t size) { + return UPB_ALIGN_MALLOC(size) + UPB_PRIVATE(kUpb_Asan_GuardSize); +} + +UPB_INLINE bool UPB_PRIVATE(_upb_Arena_WasLastAllocFromCurrentBlock)( + const struct upb_Arena* a, void* ptr, size_t size) { + return UPB_PRIVATE(upb_Xsan_PtrEq)( + (char*)ptr + UPB_PRIVATE(_upb_Arena_AllocSpan)(size), + a->UPB_ONLYBITS(ptr)); +} + +UPB_INLINE bool UPB_PRIVATE(_upb_Arena_IsAligned)(const void* ptr) { + return (uintptr_t)ptr % UPB_MALLOC_ALIGN == 0; +} + +UPB_API_INLINE void* upb_Arena_Malloc(struct upb_Arena* a, size_t size) { + UPB_PRIVATE(upb_Xsan_AccessReadWrite)(UPB_XSAN(a)); + + size_t span = UPB_PRIVATE(_upb_Arena_AllocSpan)(size); + + if (UPB_UNLIKELY(UPB_PRIVATE(_upb_ArenaHas)(a) < span)) { + void* UPB_PRIVATE(_upb_Arena_SlowMalloc)(struct upb_Arena * a, size_t size); + return UPB_PRIVATE(_upb_Arena_SlowMalloc)(a, span); + } + + // We have enough space to do a fast malloc. + void* ret = a->UPB_ONLYBITS(ptr); + a->UPB_ONLYBITS(ptr) += span; + UPB_ASSERT(UPB_PRIVATE(_upb_Arena_IsAligned)(ret)); + UPB_ASSERT(UPB_PRIVATE(_upb_Arena_IsAligned)(a->UPB_ONLYBITS(ptr))); + + return UPB_PRIVATE(upb_Xsan_NewUnpoisonedRegion)(UPB_XSAN(a), ret, size); +} + +UPB_API_INLINE void upb_Arena_ShrinkLast(struct upb_Arena* a, void* ptr, + size_t oldsize, size_t size) { + UPB_ASSERT(ptr); + UPB_ASSERT(size <= oldsize); + + UPB_PRIVATE(upb_Xsan_AccessReadWrite)(UPB_XSAN(a)); + UPB_PRIVATE(upb_Xsan_ResizeUnpoisonedRegion)(ptr, oldsize, size); + + if (UPB_PRIVATE(_upb_Arena_WasLastAllocFromCurrentBlock)(a, ptr, oldsize)) { + // We can reclaim some memory. + a->UPB_ONLYBITS(ptr) -= UPB_ALIGN_MALLOC(oldsize) - UPB_ALIGN_MALLOC(size); + } else { + // We can't reclaim any memory, but we need to verify that `ptr` really + // does represent the most recent allocation. +#ifndef NDEBUG + bool _upb_Arena_WasLastAllocFromPreviousBlock(struct upb_Arena * a, + void* ptr, size_t oldsize); + UPB_ASSERT(_upb_Arena_WasLastAllocFromPreviousBlock(a, ptr, oldsize)); +#endif + } +} + +UPB_API_INLINE bool upb_Arena_TryExtend(struct upb_Arena* a, void* ptr, + size_t oldsize, size_t size) { + UPB_ASSERT(ptr); + UPB_ASSERT(size > oldsize); + + UPB_PRIVATE(upb_Xsan_AccessReadWrite)(UPB_XSAN(a)); + size_t extend = UPB_ALIGN_MALLOC(size) - UPB_ALIGN_MALLOC(oldsize); + + if (UPB_PRIVATE(_upb_Arena_WasLastAllocFromCurrentBlock)(a, ptr, oldsize) && + UPB_PRIVATE(_upb_ArenaHas)(a) >= extend) { + a->UPB_ONLYBITS(ptr) += extend; + UPB_PRIVATE(upb_Xsan_ResizeUnpoisonedRegion)(ptr, oldsize, size); + return true; + } + + return false; +} + +UPB_API_INLINE void* upb_Arena_Realloc(struct upb_Arena* a, void* ptr, + size_t oldsize, size_t size) { + UPB_PRIVATE(upb_Xsan_AccessReadWrite)(UPB_XSAN(a)); + + void* ret; + + if (ptr && (size <= oldsize || upb_Arena_TryExtend(a, ptr, oldsize, size))) { + // We can extend or shrink in place. + if (size <= oldsize && + UPB_PRIVATE(_upb_Arena_WasLastAllocFromCurrentBlock)(a, ptr, oldsize)) { + upb_Arena_ShrinkLast(a, ptr, oldsize, size); + } + ret = ptr; + } else { + // We need to copy into a new allocation. + ret = upb_Arena_Malloc(a, size); + if (ret && oldsize > 0) { + memcpy(ret, ptr, UPB_MIN(oldsize, size)); + } + } + + if (ret) { + // We want to invalidate pointers to the old region if hwasan is enabled, so + // we poison and unpoison even if ptr == ret. However, if reallocation fails + // we do not want to poison the old memory, or attempt to poison null. + UPB_PRIVATE(upb_Xsan_PoisonRegion)(ptr, oldsize); + return UPB_PRIVATE(upb_Xsan_NewUnpoisonedRegion)(UPB_XSAN(a), ret, size); + } + return ret; +} + +// Returns the next block size to allocate for the arena based on exponential +// growth and size hint. +size_t UPB_PRIVATE(_upb_Arena_NextBlockSize)(struct upb_Arena* a, size_t span, + bool* one_off); + +// Updates the arena's growth state based on the block size actually allocated. +void UPB_PRIVATE(_upb_Arena_UpdateGrowthState)(struct upb_Arena* a, size_t span, + size_t block_size, bool one_off); + +// Allocates a block for the arena of at least the given size, but does not add +// it to the arena. The block must either be added to the arena or manually +// freed, otherwise memory will be leaked. +// +// Returns the allocated block (or NULL on failure), and writes the actual size +// of the block to size. +void* UPB_PRIVATE(_upb_Arena_AllocBlock)(struct upb_Arena* a, size_t* size); + +// Adds a block previously allocated with _upb_Arena_AllocBlock() to the arena. +// This will cause it to be owned by the arena and freed when the arena is +// freed. +// +// Note that this call does *not* cause the block to be used for arena +// allocations. Call _upb_Arena_UseBlock() to do that. +// +// This operation cannot be undone, so the caller should not call it until they +// are sure that the block will be useful to the arena. +void UPB_PRIVATE(_upb_Arena_AddBlock)(struct upb_Arena* a, void* block); + +// Frees a block previously allocated with _upb_Arena_AllocBlock. This is only +// necessary if the block ends up not being useful to the arena. +void UPB_PRIVATE(_upb_Arena_FreeBlock)(struct upb_Arena* a, void* block); + +// Sets the arena's current block to the given block. Subsequent allocations +// may be made from this block. +// +// The given memory must be either: +// - The arena block most recently returned by _upb_Arena_AllocBlock, or +// - A block that was just stolen from the arena using _upb_Arena_Steal. +// +// After this call, the memory may only be used by the arena -- it is poisoned +// against further use by the caller. +// +// Note: if the arena determines that this block is smaller than the block it +// currently has, it may decide to not use the block. +void UPB_PRIVATE(_upb_Arena_UseBlock)(struct upb_Arena* a, void* ptr, + size_t size); + +// Steals all available memory from the current arena block, but only if at +// least `size` bytes are available. The number of bytes stolen is written to +// size. The memory will be unpoisoned and ready for use. +void* UPB_PRIVATE(_upb_Arena_Steal)(struct upb_Arena* a, size_t* size); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MEM_INTERNAL_ARENA_H_ */ + +// Must be last. + +typedef struct upb_Arena upb_Arena; + +typedef void upb_AllocCleanupFunc(upb_alloc* alloc); + +#ifdef __cplusplus +extern "C" { +#endif + +// Creates an arena from the given initial block (if any -- mem may be NULL). If +// an initial block is specified, the arena's lifetime cannot be extended by +// |upb_Arena_IncRefFor| or |upb_Arena_Fuse|. Additional blocks will be +// allocated from |alloc|. If |alloc| is NULL, this is a fixed-size arena and +// cannot grow. If an initial block is specified, |n| is its length; if there is +// no initial block, |n| is a hint of the size that should be allocated for the +// first block of the arena, such that `upb_Arena_Malloc(hint)` will not require +// another call to |alloc|. +UPB_NODISCARD UPB_API upb_Arena* upb_Arena_Init(void* mem, size_t n, + upb_alloc* alloc); + +UPB_API void upb_Arena_Free(upb_Arena* a); +// Sets the cleanup function for the upb_alloc used by the arena. Only one +// cleanup function can be set, which will be called after all blocks are +// freed. +UPB_API void upb_Arena_SetAllocCleanup(upb_Arena* a, + upb_AllocCleanupFunc* func); + +// Fuses the lifetime of two arenas, such that no arenas that have been +// transitively fused together will be freed until all of them have reached a +// zero refcount. This operation is safe to use concurrently from multiple +// threads. +UPB_NODISCARD UPB_API bool upb_Arena_Fuse(const upb_Arena* a, + const upb_Arena* b); + +// This operation is safe to use concurrently from multiple threads. +UPB_API bool upb_Arena_IsFused(const upb_Arena* a, const upb_Arena* b); + +// Returns the upb_alloc used by the arena. +UPB_API upb_alloc* upb_Arena_GetUpbAlloc(upb_Arena* a); + +// This operation is safe to use concurrently from multiple threads. +bool upb_Arena_IncRefFor(const upb_Arena* a, const void* owner); +// This operation is safe to use concurrently from multiple threads. +void upb_Arena_DecRefFor(const upb_Arena* a, const void* owner); + +// Creates a reference between the arenas `from` and `to`, guaranteeing that +// the latter will not be freed until `from` is freed. +// +// Users must avoid all of the following error conditions, which will be +// checked in debug mode but are UB in opt: +// +// - Creating reference cycles between arenas. +// - Creating a reference between two arenas that are fused, either now +// or in the future. +// +// Creating a reference multiple times between the same two arenas is not UB but +// is considered wasteful and may be disallowed in the future. +// +// Note that fuses can participate in reference cycles. The following set of +// calls creates a cycle A -> B -> C -> A +// Fuse(A, B); +// Ref(B, C); +// Ref(C, A); +// +// From this perspective, the second rule is just a special-case of the first. +// This set of calls is disallowed because it is effectively creating a +// cycle A -> B -> A +// Fuse(A, B); +// Ref(B, A); +// +// Fuse is special because it creates what is effectively a bidirectional +// ref, but it is not considered a cycle and will be collected correctly. +// +// Note that `from` is not `const`, so it may not be called concurrently +// with any other function on `from`. +// +// Returns whether the reference was created successfully. +UPB_NODISCARD bool upb_Arena_RefArena(upb_Arena* from, const upb_Arena* to); + +#ifndef NDEBUG +// Returns true if upb_Arena_RefArena(from, to) was previously called. +// Note that this does not take fuses into account, and it does not follow +// chains of references; it must have been these two arenas exactly that +// created a reference. +bool upb_Arena_HasRef(const upb_Arena* from, const upb_Arena* to); +#endif + +// This operation is safe to use concurrently from multiple threads. +uintptr_t upb_Arena_SpaceAllocated(const upb_Arena* a, size_t* fused_count); +// This operation is safe to use concurrently from multiple threads. +uint32_t upb_Arena_DebugRefCount(const upb_Arena* a); + +#if UPB_ENABLE_REF_CYCLE_CHECKS +// Returns true if there is a chain of arena refs that spans `from` -> `to`. +// Fused arenas are taken into account; for example, this series of calls +// will cause the function to return true: +// +// 1. upb_Arena_Fuse(a, b) +// 2. upb_Arena_RefArena(from, a) +// 3. upb_Arena_RefArena(b, to) +// +// However this function does not return true if `from` and `to` are directly +// fused. +bool upb_Arena_HasRefChain(const upb_Arena* from, const upb_Arena* to); +#endif + +UPB_NODISCARD UPB_API_INLINE upb_Arena* upb_Arena_New(void) { + return upb_Arena_Init(NULL, 0, &upb_alloc_global); +} + +UPB_NODISCARD UPB_API_INLINE upb_Arena* upb_Arena_NewSized(size_t size_hint) { + return upb_Arena_Init(NULL, size_hint, &upb_alloc_global); +} + +UPB_NODISCARD UPB_API_INLINE void* upb_Arena_Malloc(struct upb_Arena* a, + size_t size); + +UPB_NODISCARD UPB_API_INLINE void* upb_Arena_Realloc(upb_Arena* a, void* ptr, + size_t oldsize, + size_t size); + +static const size_t UPB_PRIVATE(kUpbDefaultMaxBlockSize) = + UPB_DEFAULT_MAX_BLOCK_SIZE; + +// Sets the maximum block size for all arenas. This is a global configuration +// setting that will affect all existing and future arenas. If +// upb_Arena_Malloc() is called with a size larger than this, we will exceed +// this size and allocate a larger block. +// +// This API is meant for experimentation only. It will likely be removed in +// the future. +// This operation is safe to use concurrently from multiple threads. +void upb_Arena_SetMaxBlockSize(size_t max); + +// Shrinks the last alloc from arena. +// REQUIRES: (ptr, oldsize) was the last malloc/realloc from this arena. +// We could also add a upb_Arena_TryShrinkLast() which is simply a no-op if +// this was not the last alloc. +UPB_API_INLINE void upb_Arena_ShrinkLast(upb_Arena* a, void* ptr, + size_t oldsize, size_t size); + +// Attempts to extend the given alloc from arena, in place. Is generally +// only likely to succeed for the most recent allocation from this arena. If it +// succeeds, returns true and `ptr`'s allocation is now `size` rather than +// `oldsize`. Returns false if the allocation cannot be extended; `ptr`'s +// allocation is unmodified. See also upb_Arena_Realloc. +// REQUIRES: `size > oldsize`; to shrink, use `upb_Arena_Realloc` or +// `upb_Arena_ShrinkLast`. +UPB_NODISCARD UPB_API_INLINE bool upb_Arena_TryExtend(upb_Arena* a, void* ptr, + size_t oldsize, + size_t size); + +#ifdef UPB_TRACING_ENABLED +void upb_Arena_SetTraceHandler(void (*initArenaTraceHandler)(const upb_Arena*, + size_t size), + void (*fuseArenaTraceHandler)(const upb_Arena*, + const upb_Arena*), + void (*freeArenaTraceHandler)(const upb_Arena*)); +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MEM_ARENA_H_ */ + +#ifndef UPB_MESSAGE_ARRAY_H_ +#define UPB_MESSAGE_ARRAY_H_ + +#include + + +#ifndef UPB_BASE_DESCRIPTOR_CONSTANTS_H_ +#define UPB_BASE_DESCRIPTOR_CONSTANTS_H_ + +// Must be last. + +// The types a field can have. Note that this list is not identical to the +// types defined in descriptor.proto, which gives INT32 and SINT32 separate +// types (we distinguish the two with the "integer encoding" enum below). +// This enum is an internal convenience only and has no meaning outside of upb. +typedef enum { + kUpb_CType_Bool = 1, + kUpb_CType_Float = 2, + kUpb_CType_Int32 = 3, + kUpb_CType_UInt32 = 4, + kUpb_CType_Enum = 5, // Enum values are int32. TODO: rename + kUpb_CType_Message = 6, + kUpb_CType_Double = 7, + kUpb_CType_Int64 = 8, + kUpb_CType_UInt64 = 9, + kUpb_CType_String = 10, + kUpb_CType_Bytes = 11 +} upb_CType; + +// The repeated-ness of each field; this matches descriptor.proto. +typedef enum { + kUpb_Label_Optional = 1, + kUpb_Label_Required = 2, + kUpb_Label_Repeated = 3 +} upb_Label; + +// Descriptor types, as defined in descriptor.proto. +typedef enum { + kUpb_FieldType_Double = 1, + kUpb_FieldType_Float = 2, + kUpb_FieldType_Int64 = 3, + kUpb_FieldType_UInt64 = 4, + kUpb_FieldType_Int32 = 5, + kUpb_FieldType_Fixed64 = 6, + kUpb_FieldType_Fixed32 = 7, + kUpb_FieldType_Bool = 8, + kUpb_FieldType_String = 9, + kUpb_FieldType_Group = 10, + kUpb_FieldType_Message = 11, + kUpb_FieldType_Bytes = 12, + kUpb_FieldType_UInt32 = 13, + kUpb_FieldType_Enum = 14, + kUpb_FieldType_SFixed32 = 15, + kUpb_FieldType_SFixed64 = 16, + kUpb_FieldType_SInt32 = 17, + kUpb_FieldType_SInt64 = 18, +} upb_FieldType; + +#define kUpb_FieldType_SizeOf 19 + +#ifdef __cplusplus +extern "C" { +#endif + +// Convert from upb_FieldType to upb_CType +UPB_INLINE upb_CType upb_FieldType_CType(upb_FieldType field_type) { + static const upb_CType c_type[] = { + kUpb_CType_Double, // kUpb_FieldType_Double + kUpb_CType_Float, // kUpb_FieldType_Float + kUpb_CType_Int64, // kUpb_FieldType_Int64 + kUpb_CType_UInt64, // kUpb_FieldType_UInt64 + kUpb_CType_Int32, // kUpb_FieldType_Int32 + kUpb_CType_UInt64, // kUpb_FieldType_Fixed64 + kUpb_CType_UInt32, // kUpb_FieldType_Fixed32 + kUpb_CType_Bool, // kUpb_FieldType_Bool + kUpb_CType_String, // kUpb_FieldType_String + kUpb_CType_Message, // kUpb_FieldType_Group + kUpb_CType_Message, // kUpb_FieldType_Message + kUpb_CType_Bytes, // kUpb_FieldType_Bytes + kUpb_CType_UInt32, // kUpb_FieldType_UInt32 + kUpb_CType_Enum, // kUpb_FieldType_Enum + kUpb_CType_Int32, // kUpb_FieldType_SFixed32 + kUpb_CType_Int64, // kUpb_FieldType_SFixed64 + kUpb_CType_Int32, // kUpb_FieldType_SInt32 + kUpb_CType_Int64, // kUpb_FieldType_SInt64 + }; + + // -1 here because the enum is one-based but the table is zero-based. + return c_type[field_type - 1]; +} + +UPB_INLINE bool upb_FieldType_IsPackable(upb_FieldType field_type) { + // clang-format off + const unsigned kUnpackableTypes = + (1 << kUpb_FieldType_String) | + (1 << kUpb_FieldType_Bytes) | + (1 << kUpb_FieldType_Message) | + (1 << kUpb_FieldType_Group); + // clang-format on + return (1 << field_type) & ~kUnpackableTypes; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_BASE_DESCRIPTOR_CONSTANTS_H_ */ + +#ifndef UPB_MESSAGE_INTERNAL_ARRAY_H_ +#define UPB_MESSAGE_INTERNAL_ARRAY_H_ + +#include +#include + + +// Must be last. + +#define _UPB_ARRAY_MASK_IMM 0x4 // Frozen/immutable bit. +#define _UPB_ARRAY_MASK_LG2 0x3 // Encoded elem size. +#define _UPB_ARRAY_MASK_ALL (_UPB_ARRAY_MASK_IMM | _UPB_ARRAY_MASK_LG2) + +#ifdef __cplusplus +extern "C" { +#endif + +#define _UPB_ARRAY_DEFAULT_INITIAL_SIZE 4 + +// LINT.IfChange(upb_Array) + +// Our internal representation for repeated fields. +struct upb_Array { + // This is a tagged pointer. Bits #0 and #1 encode the elem size as follows: + // 0 maps to elem size 1 + // 1 maps to elem size 4 + // 2 maps to elem size 8 + // 3 maps to elem size 16 + // + // Bit #2 contains the frozen/immutable flag. + uintptr_t UPB_ONLYBITS(data); + + size_t UPB_ONLYBITS(size); // The number of elements in the array. + size_t UPB_PRIVATE(capacity); // Allocated storage. Measured in elements. +}; + +UPB_INLINE void UPB_PRIVATE(_upb_Array_ShallowFreeze)(struct upb_Array* arr) { + arr->UPB_ONLYBITS(data) |= _UPB_ARRAY_MASK_IMM; +} + +UPB_API_INLINE bool upb_Array_IsFrozen(const struct upb_Array* arr) { + return (arr->UPB_ONLYBITS(data) & _UPB_ARRAY_MASK_IMM) != 0; +} + +UPB_INLINE void UPB_PRIVATE(_upb_Array_SetTaggedPtr)(struct upb_Array* array, + void* data, size_t lg2) { + UPB_ASSERT(lg2 != 1); + UPB_ASSERT(lg2 <= 4); + const size_t bits = lg2 - (lg2 != 0); + array->UPB_ONLYBITS(data) = (uintptr_t)data | bits; +} + +UPB_INLINE size_t +UPB_PRIVATE(_upb_Array_ElemSizeLg2)(const struct upb_Array* array) { + const size_t bits = array->UPB_ONLYBITS(data) & _UPB_ARRAY_MASK_LG2; + const size_t lg2 = bits + (bits != 0); + return lg2; +} + +UPB_API_INLINE const void* upb_Array_DataPtr(const struct upb_Array* array) { + UPB_PRIVATE(_upb_Array_ElemSizeLg2)(array); // Check assertions. + return (void*)(array->UPB_ONLYBITS(data) & ~(uintptr_t)_UPB_ARRAY_MASK_ALL); +} + +UPB_API_INLINE void* upb_Array_MutableDataPtr(struct upb_Array* array) { + return (void*)upb_Array_DataPtr(array); +} + +UPB_NODISCARD UPB_INLINE struct upb_Array* UPB_PRIVATE( + _upb_Array_NewMaybeAllowSlow)(upb_Arena* arena, size_t init_capacity, + int elem_size_lg2, bool allow_slow) { + UPB_ASSERT(elem_size_lg2 != 1); + UPB_ASSERT(elem_size_lg2 <= 4); + const size_t array_size = + UPB_ALIGN_UP(sizeof(struct upb_Array), UPB_MALLOC_ALIGN); + const size_t bytes = array_size + (init_capacity << elem_size_lg2); + size_t span = UPB_PRIVATE(_upb_Arena_AllocSpan)(bytes); + if (!allow_slow && UPB_PRIVATE(_upb_ArenaHas)(arena) < span) return NULL; + struct upb_Array* array = (struct upb_Array*)upb_Arena_Malloc(arena, bytes); + if (!array) return NULL; + UPB_PRIVATE(_upb_Array_SetTaggedPtr) + (array, UPB_PTR_AT(array, array_size, void), (size_t)elem_size_lg2); + array->UPB_ONLYBITS(size) = 0; + array->UPB_PRIVATE(capacity) = init_capacity; + return array; +} + +UPB_NODISCARD UPB_INLINE struct upb_Array* UPB_PRIVATE(_upb_Array_New)( + upb_Arena* arena, size_t init_capacity, int elem_size_lg2) { + return UPB_PRIVATE(_upb_Array_NewMaybeAllowSlow)(arena, init_capacity, + elem_size_lg2, true); +} + +UPB_NODISCARD UPB_INLINE struct upb_Array* UPB_PRIVATE(_upb_Array_TryFastNew)( + upb_Arena* arena, size_t init_capacity, int elem_size_lg2) { + return UPB_PRIVATE(_upb_Array_NewMaybeAllowSlow)(arena, init_capacity, + elem_size_lg2, false); +} + +// Resizes the capacity of the array to be at least min_size. +UPB_NODISCARD bool UPB_PRIVATE(_upb_Array_Realloc)(struct upb_Array* array, + size_t min_size, + upb_Arena* arena); + +UPB_NODISCARD UPB_FORCEINLINE bool UPB_PRIVATE(_upb_Array_TryFastRealloc)( + struct upb_Array* array, size_t capacity, int elem_size_lg2, + upb_Arena* arena) { + size_t old_bytes = array->UPB_PRIVATE(capacity) << elem_size_lg2; + size_t new_bytes = capacity << elem_size_lg2; + UPB_ASSUME(new_bytes > old_bytes); + if (!upb_Arena_TryExtend(arena, array, old_bytes, new_bytes)) return false; + array->UPB_PRIVATE(capacity) = capacity; + return true; +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Array_Reserve(struct upb_Array* array, + size_t size, + upb_Arena* arena) { + UPB_ASSERT(!upb_Array_IsFrozen(array)); + if (array->UPB_PRIVATE(capacity) < size) + return UPB_PRIVATE(_upb_Array_Realloc)(array, size, arena); + return true; +} + +// Resize without initializing new elements. +UPB_NODISCARD UPB_INLINE bool UPB_PRIVATE(_upb_Array_ResizeUninitialized)( + struct upb_Array* array, size_t size, upb_Arena* arena) { + UPB_ASSERT(!upb_Array_IsFrozen(array)); + UPB_ASSERT(size <= array->UPB_ONLYBITS(size) || + arena); // Allow NULL arena when shrinking. + if (!upb_Array_Reserve(array, size, arena)) return false; + array->UPB_ONLYBITS(size) = size; + return true; +} + +// This function is intended for situations where elem_size is compile-time +// constant or a known expression of the form (1 << lg2), so that the expression +// i*elem_size does not result in an actual multiplication. +UPB_INLINE void UPB_PRIVATE(_upb_Array_Set)(struct upb_Array* array, size_t i, + const void* data, + size_t elem_size) { + UPB_ASSERT(!upb_Array_IsFrozen(array)); + UPB_ASSERT(i < array->UPB_ONLYBITS(size)); + UPB_ASSERT(elem_size == 1U << UPB_PRIVATE(_upb_Array_ElemSizeLg2)(array)); + char* arr_data = (char*)upb_Array_MutableDataPtr(array); + memcpy(arr_data + (i * elem_size), data, elem_size); +} + +UPB_API_INLINE size_t upb_Array_Size(const struct upb_Array* arr) { + return arr->UPB_ONLYBITS(size); +} + +UPB_API_INLINE size_t upb_Array_Capacity(const struct upb_Array* arr) { + return arr->UPB_PRIVATE(capacity); +} + +// LINT.ThenChange(GoogleInternalName0) + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#undef _UPB_ARRAY_MASK_IMM +#undef _UPB_ARRAY_MASK_LG2 +#undef _UPB_ARRAY_MASK_ALL + + +#endif /* UPB_MESSAGE_INTERNAL_ARRAY_H_ */ + +#ifndef UPB_MESSAGE_INTERNAL_TYPES_H_ +#define UPB_MESSAGE_INTERNAL_TYPES_H_ + +#include + +// Must be last. + +#define UPB_OPAQUE(x) x##_opaque + +struct upb_Message { + union { + uintptr_t UPB_OPAQUE(internal); // tagged pointer, low bit == frozen + double d; // Forces same size for 32-bit/64-bit builds + }; +}; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_INLINE void UPB_PRIVATE(_upb_Message_ShallowFreeze)( + struct upb_Message* msg) { + msg->UPB_OPAQUE(internal) |= 1ULL; +} + +UPB_API_INLINE bool upb_Message_IsFrozen(const struct upb_Message* msg) { + return (msg->UPB_OPAQUE(internal) & 1ULL) != 0; +} + +UPB_INLINE struct upb_Message_Internal* UPB_PRIVATE(_upb_Message_GetInternal)( + const struct upb_Message* msg) { + const uintptr_t tmp = msg->UPB_OPAQUE(internal) & ~1ULL; + return (struct upb_Message_Internal*)tmp; +} + +UPB_INLINE void UPB_PRIVATE(_upb_Message_SetInternal)( + struct upb_Message* msg, struct upb_Message_Internal* internal) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + msg->UPB_OPAQUE(internal) = (uintptr_t)internal; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#undef UPB_OPAQUE + + +#endif /* UPB_MESSAGE_INTERNAL_TYPES_H_ */ + +// Users should include array.h or map.h instead. +// IWYU pragma: private, include "upb/message/array.h" + +#ifndef UPB_MESSAGE_VALUE_H_ +#define UPB_MESSAGE_VALUE_H_ + +#include +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +typedef union { + bool bool_val; + float float_val; + double double_val; + int32_t int32_val; + int64_t int64_val; + uint32_t uint32_val; + uint64_t uint64_val; + const struct upb_Array* array_val; + const struct upb_Map* map_val; + const struct upb_Message* msg_val; + upb_StringView str_val; + + // For an extension field, we are essentially treating ext->data (a + // upb_MessageValue) as if it were a message with one field that lives at + // offset 0. This works because upb_MessageValue is precisely one value that + // can hold any type of data. Recall that an extension can be of any type + // (scalar, repeated, or message). For a message extension, that will be a + // single upb_Message* at offset 0 of the upb_MessageValue. + struct upb_Message UPB_PRIVATE(ext_msg_val); +} upb_MessageValue; + +UPB_API_INLINE upb_MessageValue upb_MessageValue_Zero(void) { + upb_MessageValue zero; + memset(&zero, 0, sizeof(zero)); + return zero; +} + +typedef union { + struct upb_Array* array; + struct upb_Map* map; + struct upb_Message* msg; +} upb_MutableMessageValue; + +UPB_API_INLINE upb_MutableMessageValue upb_MutableMessageValue_Zero(void) { + upb_MutableMessageValue zero; + memset(&zero, 0, sizeof(zero)); + return zero; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_VALUE_H_ */ + +#ifndef UPB_MINI_TABLE_MESSAGE_H_ +#define UPB_MINI_TABLE_MESSAGE_H_ + +#include + + +#ifndef UPB_MINI_TABLE_ENUM_H_ +#define UPB_MINI_TABLE_ENUM_H_ + +#include + + +#ifndef UPB_MINI_TABLE_INTERNAL_ENUM_H_ +#define UPB_MINI_TABLE_INTERNAL_ENUM_H_ + +#include + +// Must be last. + +struct upb_MiniTableEnum { + uint32_t UPB_PRIVATE(mask_limit); // Highest that can be tested with mask. + uint32_t UPB_PRIVATE(value_count); // Number of values after the bitfield. + uint32_t UPB_PRIVATE(data)[]; // Bitmask + enumerated values follow. +}; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API_INLINE bool upb_MiniTableEnum_CheckValue( + const struct upb_MiniTableEnum* e, uint32_t val) { + if (UPB_LIKELY(val < 64)) { + const uint64_t mask = + e->UPB_PRIVATE(data)[0] | ((uint64_t)e->UPB_PRIVATE(data)[1] << 32); + const uint64_t bit = 1ULL << val; + return (mask & bit) != 0; + } + if (UPB_LIKELY(val < e->UPB_PRIVATE(mask_limit))) { + const uint32_t mask = e->UPB_PRIVATE(data)[val / 32]; + const uint32_t bit = 1U << (val % 32); + return (mask & bit) != 0; + } + + // OPT: binary search long lists? + const uint32_t* start = + &e->UPB_PRIVATE(data)[e->UPB_PRIVATE(mask_limit) / 32]; + const uint32_t* limit = &e->UPB_PRIVATE( + data)[e->UPB_PRIVATE(mask_limit) / 32 + e->UPB_PRIVATE(value_count)]; + for (const uint32_t* p = start; p < limit; p++) { + if (*p == val) return true; + } + return false; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_INTERNAL_ENUM_H_ */ + +// Must be last + +typedef struct upb_MiniTableEnum upb_MiniTableEnum; + +#ifdef __cplusplus +extern "C" { +#endif + +// Validates enum value against range defined by enum mini table. +UPB_API_INLINE bool upb_MiniTableEnum_CheckValue(const upb_MiniTableEnum* e, + uint32_t val); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_ENUM_H_ */ + +#ifndef UPB_MINI_TABLE_FIELD_H_ +#define UPB_MINI_TABLE_FIELD_H_ + +#include + + +#ifndef UPB_MINI_TABLE_INTERNAL_FIELD_H_ +#define UPB_MINI_TABLE_INTERNAL_FIELD_H_ + +#include +#include + + +#ifndef UPB_MINI_TABLE_INTERNAL_SIZE_LOG2_H_ +#define UPB_MINI_TABLE_INTERNAL_SIZE_LOG2_H_ + +#include +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// Return the log2 of the storage size in bytes for a upb_CType +UPB_INLINE int UPB_PRIVATE(_upb_CType_SizeLg2)(upb_CType c_type) { + static const int8_t size[] = { + 0, // kUpb_CType_Bool + 2, // kUpb_CType_Float + 2, // kUpb_CType_Int32 + 2, // kUpb_CType_UInt32 + 2, // kUpb_CType_Enum + UPB_SIZE(2, 3), // kUpb_CType_Message + 3, // kUpb_CType_Double + 3, // kUpb_CType_Int64 + 3, // kUpb_CType_UInt64 + UPB_SIZE(3, 4), // kUpb_CType_String + UPB_SIZE(3, 4), // kUpb_CType_Bytes + }; + + // -1 here because the enum is one-based but the table is zero-based. + return size[c_type - 1]; +} + +// Return the log2 of the storage size in bytes for a upb_FieldType +UPB_INLINE size_t +UPB_PRIVATE(_upb_FieldType_SizeLg2)(upb_FieldType field_type) { + static const int8_t size[] = { + 3, // kUpb_FieldType_Double + 2, // kUpb_FieldType_Float + 3, // kUpb_FieldType_Int64 + 3, // kUpb_FieldType_UInt64 + 2, // kUpb_FieldType_Int32 + 3, // kUpb_FieldType_Fixed64 + 2, // kUpb_FieldType_Fixed32 + 0, // kUpb_FieldType_Bool + UPB_SIZE(3, 4), // kUpb_FieldType_String + UPB_SIZE(2, 3), // kUpb_FieldType_Group + UPB_SIZE(2, 3), // kUpb_FieldType_Message + UPB_SIZE(3, 4), // kUpb_FieldType_Bytes + 2, // kUpb_FieldType_UInt32 + 2, // kUpb_FieldType_Enum + 2, // kUpb_FieldType_SFixed32 + 3, // kUpb_FieldType_SFixed64 + 2, // kUpb_FieldType_SInt32 + 3, // kUpb_FieldType_SInt64 + }; + + // -1 here because the enum is one-based but the table is zero-based. + return size[field_type - 1]; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_INTERNAL_SIZE_LOG2_H_ */ + +// Must be last. + +// LINT.IfChange(struct_definition) +struct upb_MiniTableField { + uint32_t UPB_ONLYBITS(number); + uint16_t UPB_ONLYBITS(offset); + int16_t presence; // If >0, hasbit_index. If <0, ~oneof_index + + // Offset from this upb_MiniTableField to the upb_MiniTableSubInternal + // for this field, in uint32_t units (so bytes/4). + // Will be set to `kUpb_NoSub` if `descriptortype` != MESSAGE/GROUP/ENUM + uint16_t UPB_PRIVATE(submsg_ofs); + + uint8_t UPB_PRIVATE(descriptortype); + + // upb_FieldMode | upb_LabelFlags | (upb_FieldRep << kUpb_FieldRep_Shift) + uint8_t UPB_ONLYBITS(mode); +}; + +#define kUpb_NoSub ((uint16_t)-1) +#define kUpb_SubmsgOffsetBytes 4 + +typedef enum { + kUpb_FieldMode_Map = 0, + kUpb_FieldMode_Array = 1, + kUpb_FieldMode_Scalar = 2, +} upb_FieldMode; + +// Mask to isolate the upb_FieldMode from field.mode. +#define kUpb_FieldMode_Mask 3 + +// Extra flags on the mode field. +typedef enum { + kUpb_LabelFlags_IsPacked = 4, + kUpb_LabelFlags_IsExtension = 8, + // Indicates that this descriptor type is an "alternate type": + // - for Int32, this indicates that the actual type is Enum (but was + // rewritten to Int32 because it is an open enum that requires no check). + // - for Bytes, this indicates that the actual type is String (but does + // not require any UTF-8 check). + kUpb_LabelFlags_IsAlternate = 16, +} upb_LabelFlags; + +// Note: we sort by this number when calculating layout order. +typedef enum { + kUpb_FieldRep_1Byte = 0, + kUpb_FieldRep_4Byte = 1, + kUpb_FieldRep_StringView = 2, + kUpb_FieldRep_8Byte = 3, + + kUpb_FieldRep_NativePointer = + UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte), + kUpb_FieldRep_Max = kUpb_FieldRep_8Byte, +} upb_FieldRep; + +#define kUpb_FieldRep_Shift 6 + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_INLINE upb_FieldMode +UPB_PRIVATE(_upb_MiniTableField_Mode)(const struct upb_MiniTableField* f) { + return (upb_FieldMode)(f->UPB_ONLYBITS(mode) & kUpb_FieldMode_Mask); +} + +UPB_INLINE upb_FieldRep +UPB_PRIVATE(_upb_MiniTableField_GetRep)(const struct upb_MiniTableField* f) { + return (upb_FieldRep)(f->UPB_ONLYBITS(mode) >> kUpb_FieldRep_Shift); +} + +UPB_API_INLINE bool upb_MiniTableField_IsArray( + const struct upb_MiniTableField* f) { + return UPB_PRIVATE(_upb_MiniTableField_Mode)(f) == kUpb_FieldMode_Array; +} + +UPB_API_INLINE bool upb_MiniTableField_IsMap( + const struct upb_MiniTableField* f) { + return UPB_PRIVATE(_upb_MiniTableField_Mode)(f) == kUpb_FieldMode_Map; +} + +UPB_API_INLINE bool upb_MiniTableField_IsScalar( + const struct upb_MiniTableField* f) { + return UPB_PRIVATE(_upb_MiniTableField_Mode)(f) == kUpb_FieldMode_Scalar; +} + +UPB_INLINE bool UPB_PRIVATE(_upb_MiniTableField_IsAlternate)( + const struct upb_MiniTableField* f) { + return (f->UPB_ONLYBITS(mode) & kUpb_LabelFlags_IsAlternate) != 0; +} + +UPB_API_INLINE bool upb_MiniTableField_IsExtension( + const struct upb_MiniTableField* f) { + return (f->UPB_ONLYBITS(mode) & kUpb_LabelFlags_IsExtension) != 0; +} + +UPB_API_INLINE bool upb_MiniTableField_IsPacked( + const struct upb_MiniTableField* f) { + return (f->UPB_ONLYBITS(mode) & kUpb_LabelFlags_IsPacked) != 0; +} + +UPB_API_INLINE upb_FieldType +upb_MiniTableField_Type(const struct upb_MiniTableField* f) { + const upb_FieldType type = (upb_FieldType)f->UPB_PRIVATE(descriptortype); + if (UPB_PRIVATE(_upb_MiniTableField_IsAlternate)(f)) { + if (type == kUpb_FieldType_Int32) return kUpb_FieldType_Enum; + if (type == kUpb_FieldType_Bytes) return kUpb_FieldType_String; + UPB_ASSERT(false); + } + return type; +} + +UPB_API_INLINE +upb_CType upb_MiniTableField_CType(const struct upb_MiniTableField* f) { + return upb_FieldType_CType(upb_MiniTableField_Type(f)); +} + +UPB_INLINE bool UPB_PRIVATE(_upb_MiniTableField_HasHasbit)( + const struct upb_MiniTableField* f) { + return f->presence > 0; +} + +UPB_INLINE char UPB_PRIVATE(_upb_MiniTableField_HasbitMask)( + const struct upb_MiniTableField* f) { + UPB_ASSERT(UPB_PRIVATE(_upb_MiniTableField_HasHasbit)(f)); + const uint16_t index = (uint16_t)f->presence; + return (char)(1 << (index % 8)); +} + +UPB_INLINE uint16_t UPB_PRIVATE(_upb_MiniTableField_HasbitOffset)( + const struct upb_MiniTableField* f) { + UPB_ASSERT(UPB_PRIVATE(_upb_MiniTableField_HasHasbit)(f)); + const uint16_t index = (uint16_t)f->presence; + return index / 8; +} + +UPB_API_INLINE bool upb_MiniTableField_IsClosedEnum( + const struct upb_MiniTableField* f) { + return f->UPB_PRIVATE(descriptortype) == kUpb_FieldType_Enum; +} + +UPB_API_INLINE bool upb_MiniTableField_IsInOneof( + const struct upb_MiniTableField* f) { + return f->presence < 0; +} + +UPB_API_INLINE bool upb_MiniTableField_IsSubMessage( + const struct upb_MiniTableField* f) { + return f->UPB_PRIVATE(descriptortype) == kUpb_FieldType_Message || + f->UPB_PRIVATE(descriptortype) == kUpb_FieldType_Group; +} + +UPB_API_INLINE bool upb_MiniTableField_HasPresence( + const struct upb_MiniTableField* f) { + if (upb_MiniTableField_IsExtension(f)) { + return upb_MiniTableField_IsScalar(f); + } else { + return f->presence != 0; + } +} + +UPB_API_INLINE uint32_t +upb_MiniTableField_Number(const struct upb_MiniTableField* f) { + return f->UPB_ONLYBITS(number); +} + +UPB_INLINE uint16_t +UPB_PRIVATE(_upb_MiniTableField_Offset)(const struct upb_MiniTableField* f) { + return f->UPB_ONLYBITS(offset); +} + +UPB_INLINE size_t UPB_PRIVATE(_upb_MiniTableField_OneofOffset)( + const struct upb_MiniTableField* f) { + UPB_ASSERT(upb_MiniTableField_IsInOneof(f)); + return (size_t)(~(ptrdiff_t)f->presence); +} + +UPB_INLINE void UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)( + const struct upb_MiniTableField* f) { + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == + kUpb_FieldRep_NativePointer); + UPB_ASSUME(upb_MiniTableField_IsArray(f)); + UPB_ASSUME(f->presence == 0); +} + +UPB_INLINE void UPB_PRIVATE(_upb_MiniTableField_CheckIsMap)( + const struct upb_MiniTableField* f) { + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == + kUpb_FieldRep_NativePointer); + UPB_ASSUME(upb_MiniTableField_IsMap(f)); + UPB_ASSUME(f->presence == 0); +} + +UPB_INLINE size_t UPB_PRIVATE(_upb_MiniTableField_ElemSizeLg2)( + const struct upb_MiniTableField* f) { + const upb_FieldType field_type = upb_MiniTableField_Type(f); + return UPB_PRIVATE(_upb_FieldType_SizeLg2)(field_type); +} + +// LINT.ThenChange(//depot/google3/third_party/upb/bits/typescript/mini_table_field.ts) + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_INTERNAL_FIELD_H_ */ + +// Must be last. + +typedef struct upb_MiniTableField upb_MiniTableField; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API_INLINE upb_CType upb_MiniTableField_CType(const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_MiniTableField_HasPresence(const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_MiniTableField_IsArray(const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_MiniTableField_IsClosedEnum( + const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_MiniTableField_IsExtension(const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_MiniTableField_IsInOneof(const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_MiniTableField_IsMap(const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_MiniTableField_IsPacked(const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_MiniTableField_IsScalar(const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_MiniTableField_IsSubMessage( + const upb_MiniTableField* f); + +UPB_API_INLINE uint32_t upb_MiniTableField_Number(const upb_MiniTableField* f); + +UPB_API_INLINE upb_FieldType +upb_MiniTableField_Type(const upb_MiniTableField* f); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_FIELD_H_ */ + +#ifndef UPB_MINI_TABLE_INTERNAL_MESSAGE_H_ +#define UPB_MINI_TABLE_INTERNAL_MESSAGE_H_ + +#include +#include +#include + + +#ifndef UPB_MINI_TABLE_INTERNAL_SUB_H_ +#define UPB_MINI_TABLE_INTERNAL_SUB_H_ + +// Must be last. + +union upb_MiniTableSub { + const struct upb_MiniTable* UPB_PRIVATE(submsg); + const struct upb_MiniTableEnum* UPB_PRIVATE(subenum); +}; + +typedef union upb_MiniTableSub upb_MiniTableSubInternal; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API_INLINE union upb_MiniTableSub upb_MiniTableSub_FromEnum( + const struct upb_MiniTableEnum* subenum) { + union upb_MiniTableSub out; + out.UPB_PRIVATE(subenum) = subenum; + return out; +} + +UPB_API_INLINE union upb_MiniTableSub upb_MiniTableSub_FromMessage( + const struct upb_MiniTable* submsg) { + union upb_MiniTableSub out; + out.UPB_PRIVATE(submsg) = submsg; + return out; +} + +UPB_API_INLINE const struct upb_MiniTableEnum* upb_MiniTableSub_Enum( + const union upb_MiniTableSub sub) { + return sub.UPB_PRIVATE(subenum); +} + +UPB_API_INLINE const struct upb_MiniTable* upb_MiniTableSub_Message( + const union upb_MiniTableSub sub) { + return sub.UPB_PRIVATE(submsg); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_INTERNAL_SUB_H_ */ + +// Must be last. + +struct upb_Decoder; +struct upb_Message; +struct upb_FastDecoder_Return; + +typedef UPB_PRESERVE_NONE struct upb_FastDecoder_Return _upb_FieldParser( + struct upb_Decoder* d, const char* ptr, struct upb_Message* msg, + const struct upb_MiniTable* table, uint64_t hasbits, uint64_t data, + uint64_t data2); + +typedef struct { + uint64_t field_data; + _upb_FieldParser* field_parser; +} _upb_FastTable_Entry; + +// Ext Mode consists of 4 bits: +// * Extensibility +// * MessageSet +// * Map +// * FastTable field coverage +typedef enum { + kUpb_ExtMode_NonExtendable = 0, // Non-extendable message. + kUpb_ExtMode_Extendable = 1, // Normal extendable message. + kUpb_ExtMode_IsMessageSet = 2, // MessageSet message. + kUpb_ExtMode_IsMessageSet_ITEM = + 3, // MessageSet item (temporary only, see decode.c) + + // During table building we steal a bit to indicate that the message is a map + // entry. *Only* used during table building! + kUpb_ExtMode_IsMapEntry = 4, + + // Indicates that all eligible fields (with 1- or 2-byte) tags were + // successfully assigned to the fasttable. + kUpb_ExtMode_AllFastFieldsAssigned = 8, +} upb_ExtMode; + +// Check ExtMode base message info, excluding fasttable state info. +UPB_FORCEINLINE uint8_t UPB_PRIVATE(_upb_ExtMode_Base)(uint8_t ext_mode) { + return ext_mode & 7; +} + +enum { + kUpb_Message_Align = 8, +}; + +// upb_MiniTable represents the memory layout of a given upb_MessageDef. +// The members are public so generated code can initialize them, +// but users MUST NOT directly read or write any of its members. + +// LINT.IfChange(minitable_struct_definition) +struct upb_MiniTable { + const struct upb_MiniTableField* UPB_ONLYBITS(fields); + + // Must be aligned to kUpb_Message_Align. Doesn't include internal members + // like unknown fields, extension dict, pointer to msglayout, etc. + uint16_t UPB_PRIVATE(size); + + uint16_t UPB_ONLYBITS(field_count); + + uint8_t UPB_PRIVATE(ext); // upb_ExtMode, uint8_t here so sizeof(ext) == 1 + uint8_t UPB_PRIVATE(dense_below); + uint8_t UPB_PRIVATE(table_mask); + uint8_t UPB_PRIVATE(required_count); // Required fields have the low hasbits. + +#ifdef UPB_TRACING_ENABLED + const char* UPB_PRIVATE(full_name); +#endif + +#if UPB_FASTTABLE + // Flexible array member is not supported in C++ standard, but it is supported + // as an extension in all compilers we support. + _upb_FastTable_Entry UPB_PRIVATE(fasttable)[]; +#endif +}; +// LINT.ThenChange(//depot/google3/third_party/upb/bits/typescript/mini_table.ts) + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_INLINE void UPB_PRIVATE(upb_MiniTable_CheckInvariants)( + const struct upb_MiniTable* mt) { + UPB_STATIC_ASSERT(UPB_MALLOC_ALIGN >= kUpb_Message_Align, "Under aligned"); + UPB_STATIC_ASSERT(kUpb_Message_Align >= UPB_ALIGN_OF(void*), "Under aligned"); + UPB_ASSERT(mt->UPB_PRIVATE(size) % kUpb_Message_Align == 0); +} + +UPB_INLINE const struct upb_MiniTable* UPB_PRIVATE( + _upb_MiniTable_StrongReference)(const struct upb_MiniTable* mt) { +#if defined(__GNUC__) + __asm__("" : : "r"(mt)); +#else + const struct upb_MiniTable* volatile unused = mt; + (void)&unused; // Use address to avoid an extra load of "unused". +#endif + return mt; +} + +UPB_API_INLINE int upb_MiniTable_FieldCount(const struct upb_MiniTable* m) { + return m->UPB_ONLYBITS(field_count); +} + +UPB_FORCEINLINE uint8_t +UPB_PRIVATE(_upb_MiniTable_ExtModeBase)(const struct upb_MiniTable* m) { + return UPB_PRIVATE(_upb_ExtMode_Base)(m->UPB_PRIVATE(ext)); +} + +UPB_FORCEINLINE bool UPB_PRIVATE(_upb_MiniTable_IsExtendable)( + const struct upb_MiniTable* m) { + return UPB_PRIVATE(_upb_MiniTable_ExtModeBase)(m) == kUpb_ExtMode_Extendable; +} + +UPB_API_INLINE bool upb_MiniTable_IsMessageSet(const struct upb_MiniTable* m) { + return UPB_PRIVATE(_upb_MiniTable_ExtModeBase)(m) == + kUpb_ExtMode_IsMessageSet; +} + +UPB_API_INLINE const struct upb_MiniTableField* upb_MiniTable_GetFieldByIndex( + const struct upb_MiniTable* m, uint32_t i) { + UPB_ASSERT(i < m->UPB_ONLYBITS(field_count)); + return &m->UPB_ONLYBITS(fields)[i]; +} + +UPB_API_INLINE const struct upb_MiniTable* upb_MiniTable_GetSubMessageTable( + const struct upb_MiniTableField* f) { + UPB_ASSERT(upb_MiniTableField_CType(f) == kUpb_CType_Message); + upb_MiniTableSubInternal* sub = + UPB_PTR_AT(f, f->UPB_PRIVATE(submsg_ofs) * kUpb_SubmsgOffsetBytes, + upb_MiniTableSubInternal); + return sub->UPB_PRIVATE(submsg); +} + +UPB_API_INLINE const struct upb_MiniTable* upb_MiniTable_SubMessage( + const struct upb_MiniTableField* f) { + if (upb_MiniTableField_CType(f) != kUpb_CType_Message) { + return NULL; + } + return upb_MiniTable_GetSubMessageTable(f); +} + +UPB_API_INLINE bool upb_MiniTable_FieldIsLinked( + const struct upb_MiniTableField* f) { + return upb_MiniTable_GetSubMessageTable(f) != NULL; +} + +UPB_FORCEINLINE +const struct upb_MiniTableField* UPB_PRIVATE(upb_MiniTable_GenericLowerBound)( + const struct upb_MiniTable* m, uint32_t lo, uint32_t search_len, + uint32_t number) { + const struct upb_MiniTableField* search_base = &m->UPB_ONLYBITS(fields)[lo]; + while (search_len > 1) { + size_t mid_offset = search_len >> 1; + if (UPB_UNPREDICTABLE(search_base[mid_offset].UPB_ONLYBITS(number) <= + number)) { + search_base = &search_base[mid_offset]; + } + search_len -= mid_offset; + } + + return search_base; +} + +// This implements the same algorithm as upb_MiniTable_GenericLowerBound but +// contorts itself to select specific arm instructions, which show significant +// effects on little cores. +UPB_FORCEINLINE const struct upb_MiniTableField* UPB_PRIVATE( + upb_MiniTable_ArmOptimizedLowerBound)(const struct upb_MiniTable* m, + uint32_t lo, uint32_t search_len, + uint32_t number) { + const uint32_t* search_base = + &m->UPB_ONLYBITS(fields)[lo].UPB_ONLYBITS(number); + UPB_STATIC_ASSERT(sizeof(struct upb_MiniTableField) == sizeof(uint32_t) * 3, + "Need to update multiplication"); + // Address generation units can't multiply by 12, but they can by 4. So we + // split it into multiplying by 3 (add and shift) and multiplying by 4 (shift) + // This code is carefully tuned to produce an optimal assembly sequence on + // arm64, which takes advantage of dual issue on in-order CPUs to maximize + // what little instruction level parallelism they have. + /* + and w9, w1, #0xfffffffe + add w9, w9, w1, lsr #1 + ldr w10, [x0, w9, uxtw #2] + sub w1, w1, w1, lsr #1 + add x9, x0, w9, uxtw #2 + cmp w10, w2 + csel x0, x0, x9, hi + cmp w1, #1 + b.hi .LBB3_1 + */ + // Doing this requires inhibiting the natural instincts of the compiler to + // eliminate duplicate work, so we introduce an optimization barrier with + // asm blocks to defeat common subexpression elimination. + UPB_STATIC_ASSERT( + offsetof(struct upb_MiniTableField, UPB_ONLYBITS(number)) == 0, + "Tag number must be first element of minitable field struct"); + while (search_len > 1) { +#if UPB_ARM64_ASM +#define UPB_OPT_LAUNDER(val) __asm__("" : "+r"(val)) +#define UPB_OPT_LAUNDER2(val1, val2) __asm__("" : "+r"(val1), "+r"(val2)) +#else +#define UPB_OPT_LAUNDER(val) +#define UPB_OPT_LAUNDER2(val1, val2) +#endif + // (search_len & ~1) is exactly (half_len * 2). Adding half_len yields + // (half_len * 3). + // + // and mid_offset_words, search_len, #0xfffffffe + uint32_t mid_offset_words = search_len & 0xfffffffe; + + // add mid_offset_words, mid_offset_words, search_len, lsr #1 + mid_offset_words = mid_offset_words + (search_len >> 1); + + UPB_OPT_LAUNDER(search_len); + UPB_OPT_LAUNDER(mid_offset_words); + + // Arm processors, even little cores, have Address Generation Units capable + // of performing these extensions, so we achieve more instruction level + // parallelism by doing this shift by 2 redundantly with the mid pointer + // calculation below. + // + // ldr mid_num, [search_base, mid_offset_words, uxtw #2] + uint32_t mid_num = search_base[mid_offset_words]; + + // Shrink the search window by half + // sub search_len, search_len, search_len, lsr #1 + search_len = search_len - (search_len >> 1); + UPB_OPT_LAUNDER(search_len); + UPB_OPT_LAUNDER(mid_offset_words); + + // Calculate the mid pointer for the next iteration + // add mid_ptr, search_base, mid_offset_words, uxtw #2 + const uint32_t* mid_ptr = search_base + mid_offset_words; + + // Forbids LLVM's CSE pass from attempting to merge mid_ptr and mid_num's + // math. It sees that it can do a select before adding, rather than after; + // but if it orders it that way it creates a longer dependency chain. We + // need both as input/output to the same asm block to force them to be + // present in different registers at the same time; two separate LAUNDER + // usages could get reordered. + UPB_OPT_LAUNDER2(mid_ptr, mid_num); + + // cmp + csel + search_base = UPB_UNPREDICTABLE(mid_num <= number) ? mid_ptr : search_base; + } +#undef UPB_OPT_LAUNDER +#undef UPB_OPT_LAUNDER2 + return (const struct upb_MiniTableField*)search_base; +} + +UPB_FORCEINLINE const struct upb_MiniTableField* UPB_PRIVATE( + upb_MiniTable_LowerBound)(const struct upb_MiniTable* m, uint32_t lo, + uint32_t search_len, uint32_t number) { +#ifndef NDEBUG + const struct upb_MiniTableField* candidate = UPB_PRIVATE( + upb_MiniTable_ArmOptimizedLowerBound)(m, lo, search_len, number); + UPB_ASSERT(candidate == UPB_PRIVATE(upb_MiniTable_GenericLowerBound)( + m, lo, search_len, number)); + return candidate; +#elif UPB_ARM64_ASM + return UPB_PRIVATE(upb_MiniTable_ArmOptimizedLowerBound)(m, lo, search_len, + number); +#else + return UPB_PRIVATE(upb_MiniTable_GenericLowerBound)(m, lo, search_len, + number); +#endif +} + +UPB_API_INLINE +const struct upb_MiniTableField* upb_MiniTable_FindFieldByNumber( + const struct upb_MiniTable* m, uint32_t number) { + const uint32_t i = number - 1; // 0 wraps to UINT32_MAX + + // Ideal case: index into dense fields + if (i < m->UPB_PRIVATE(dense_below)) { + UPB_ASSERT(m->UPB_ONLYBITS(fields)[i].UPB_ONLYBITS(number) == number); + return &m->UPB_ONLYBITS(fields)[i]; + } + + // Early exit if the field number is out of range. + uint32_t hi = m->UPB_ONLYBITS(field_count); + uint32_t lo = m->UPB_PRIVATE(dense_below); + UPB_ASSERT(hi >= lo); + uint32_t search_len = hi - lo; + if (search_len == 0 || + number > m->UPB_ONLYBITS(fields)[hi - 1].UPB_ONLYBITS(number)) { + return NULL; + } + + // Slow case: binary search + const struct upb_MiniTableField* candidate = + UPB_PRIVATE(upb_MiniTable_LowerBound)(m, lo, search_len, number); + + return candidate->UPB_ONLYBITS(number) == number ? candidate : NULL; +} + +UPB_FORCEINLINE bool UPB_PRIVATE(_upb_MiniTable_GapIfUnlinked)( + const struct upb_MiniTableField* field, uint32_t number, + uint32_t* out_gap_lo, uint32_t* out_gap_hi) { + UPB_STATIC_ASSERT(sizeof(upb_MiniTableSubInternal) == sizeof(void*), + "SubInternal size must be pointer sized."); + if (field->UPB_PRIVATE(submsg_ofs) != kUpb_NoSub) { + upb_MiniTableSubInternal* sub = UPB_PTR_AT( + field, field->UPB_PRIVATE(submsg_ofs) * kUpb_SubmsgOffsetBytes, + upb_MiniTableSubInternal); + // Type punning via union is legal in C and we're just checking if it's NULL + // but it's UB in C++, and this header could be included in C++. + void* sub_ptr; + memcpy(&sub_ptr, sub, sizeof(void*)); + if (sub_ptr == NULL) { + UPB_ASSERT(!upb_MiniTableField_IsClosedEnum(field)); + *out_gap_lo = number - 1; + *out_gap_hi = number + 1; + return true; + } + } + return false; +} + +// Given a tag number, finds the known field tags bounding the gap of unknown +// fields containing it. Returns false and does not set bounds if the tag number +// matches a known field and it is linked or primitive. Otherwise returns true +// and sets out_gap_lo and out_gap_hi (exclusive/exclusive) to define the range +// of unknown fields (out_gap_lo, out_gap_hi). Unlinked submessages are treated +// as gaps. +UPB_FORCEINLINE bool UPB_PRIVATE(_upb_MiniTable_FindUnknownGap)( + const struct upb_MiniTable* m, uint32_t number, uint32_t* out_gap_lo, + uint32_t* out_gap_hi) { + UPB_ASSERT(number != 0); + UPB_ASSERT(number < ((uint32_t)1 << 29)); + const uint32_t i = number - 1; + if (i < m->UPB_PRIVATE(dense_below)) { + // Dense field; we know it's present. + return UPB_PRIVATE(_upb_MiniTable_GapIfUnlinked)( + &m->UPB_ONLYBITS(fields)[i], number, out_gap_lo, out_gap_hi); + } + + uint32_t hi = m->UPB_ONLYBITS(field_count); + uint32_t lo = m->UPB_PRIVATE(dense_below); + if (hi == lo) { + *out_gap_lo = lo; + *out_gap_hi = UINT32_MAX; + return true; + } + + uint32_t max_field = m->UPB_ONLYBITS(fields)[hi - 1].UPB_ONLYBITS(number); + if (number > max_field) { + *out_gap_lo = max_field; + *out_gap_hi = UINT32_MAX; + return true; + } + + uint32_t search_len = hi - lo; + const struct upb_MiniTableField* candidate = + UPB_PRIVATE(upb_MiniTable_LowerBound)(m, lo, search_len, number); + + uint32_t candidate_num = candidate->UPB_ONLYBITS(number); + if (candidate_num == number) { + return UPB_PRIVATE(_upb_MiniTable_GapIfUnlinked)(candidate, number, + out_gap_lo, out_gap_hi); + } + + if (candidate_num < number) { + *out_gap_lo = candidate_num; + // Checking this next pointer is safe as we have already validated that the + // field we're searching for is not greater than or equal to the last field + *out_gap_hi = (candidate + 1)->UPB_ONLYBITS(number); + } else { + UPB_ASSERT(candidate == &m->UPB_ONLYBITS(fields)[lo]); + *out_gap_lo = lo; + *out_gap_hi = candidate_num; + } + return true; +} + +UPB_API_INLINE const struct upb_MiniTable* upb_MiniTable_MapEntrySubMessage( + const struct upb_MiniTableField* f) { + UPB_ASSERT(upb_MiniTable_FieldIsLinked(f)); // Map entries must be linked. + UPB_ASSERT(upb_MiniTableField_IsMap(f)); // Function precondition. + return upb_MiniTable_GetSubMessageTable(f); +} + +UPB_API_INLINE const struct upb_MiniTableEnum* upb_MiniTable_GetSubEnumTable( + const struct upb_MiniTableField* f) { + UPB_ASSERT(upb_MiniTableField_CType(f) == kUpb_CType_Enum); + upb_MiniTableSubInternal* sub = + UPB_PTR_AT(f, f->UPB_PRIVATE(submsg_ofs) * kUpb_SubmsgOffsetBytes, + upb_MiniTableSubInternal); + return sub->UPB_PRIVATE(subenum); +} + +UPB_API_INLINE const struct upb_MiniTableField* upb_MiniTable_MapKey( + const struct upb_MiniTable* m) { + UPB_ASSERT(upb_MiniTable_FieldCount(m) == 2); + const struct upb_MiniTableField* f = upb_MiniTable_GetFieldByIndex(m, 0); + UPB_ASSERT(upb_MiniTableField_Number(f) == 1); + return f; +} + +UPB_API_INLINE const struct upb_MiniTableField* upb_MiniTable_MapValue( + const struct upb_MiniTable* m) { + UPB_ASSERT(upb_MiniTable_FieldCount(m) == 2); + const struct upb_MiniTableField* f = upb_MiniTable_GetFieldByIndex(m, 1); + UPB_ASSERT(upb_MiniTableField_Number(f) == 2); + return f; +} + +// Computes a bitmask in which the |m->required_count| lowest bits are set. +// +// Sample output: +// RequiredMask(1) => 0b1 (0x1) +// RequiredMask(5) => 0b11111 (0x1f) +UPB_INLINE uint64_t +UPB_PRIVATE(_upb_MiniTable_RequiredMask)(const struct upb_MiniTable* m) { + int n = m->UPB_PRIVATE(required_count); + UPB_ASSERT(0 < n && n <= 64); + return (1ULL << n) - 1; +} + +#ifdef UPB_TRACING_ENABLED +UPB_INLINE const char* upb_MiniTable_FullName( + const struct upb_MiniTable* mini_table) { + return mini_table->UPB_PRIVATE(full_name); +} +// Initializes tracing proto name from language runtimes that construct +// mini tables dynamically at runtime. The runtime is responsible for passing +// controlling lifetime of name such as storing in same arena as mini_table. +UPB_INLINE void upb_MiniTable_SetFullName(struct upb_MiniTable* mini_table, + const char* full_name) { + mini_table->UPB_PRIVATE(full_name) = full_name; +} +#endif + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_INTERNAL_MESSAGE_H_ */ + +// Must be last. + +typedef struct upb_MiniTable upb_MiniTable; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API_INLINE const upb_MiniTableField* upb_MiniTable_FindFieldByNumber( + const upb_MiniTable* m, uint32_t number); + +UPB_API_INLINE const upb_MiniTableField* upb_MiniTable_GetFieldByIndex( + const upb_MiniTable* m, uint32_t index); + +UPB_API_INLINE int upb_MiniTable_FieldCount(const upb_MiniTable* m); + +UPB_API_INLINE bool upb_MiniTable_IsMessageSet(const upb_MiniTable* m); + +// DEPRECATED: use upb_MiniTable_SubMessage() instead +// Returns the MiniTable for a message field, NULL if the field is unlinked. +UPB_API_INLINE const upb_MiniTable* upb_MiniTable_GetSubMessageTable( + const upb_MiniTableField* f); + +// Returns the MiniTable for a message field if it is a submessage and the field +// is linked, otherwise returns NULL. +UPB_API_INLINE const upb_MiniTable* upb_MiniTable_SubMessage( + const upb_MiniTableField* f); + +// Returns the MiniTable for a map field. The given field must refer to a map. +UPB_API_INLINE const upb_MiniTable* upb_MiniTable_MapEntrySubMessage( + const upb_MiniTableField* f); + +// Returns the MiniTableEnum for a message field, NULL if the field is unlinked. +UPB_API_INLINE const upb_MiniTableEnum* upb_MiniTable_GetSubEnumTable( + const upb_MiniTableField* f); + +// Returns the MiniTableField for the key of a map. +UPB_API_INLINE const upb_MiniTableField* upb_MiniTable_MapKey( + const upb_MiniTable* m); + +// Returns the MiniTableField for the value of a map. +UPB_API_INLINE const upb_MiniTableField* upb_MiniTable_MapValue( + const upb_MiniTable* m); + +// Returns true if this MiniTable field is linked to a MiniTable for the +// sub-message. +UPB_API_INLINE bool upb_MiniTable_FieldIsLinked(const upb_MiniTableField* f); + +// If this field is in a oneof, returns the first field in the oneof. +// +// Otherwise returns NULL. +// +// Usage: +// const upb_MiniTableField* field = upb_MiniTable_GetOneof(m, f); +// do { +// .. +// } while (upb_MiniTable_NextOneofField(m, &field); +// +const upb_MiniTableField* upb_MiniTable_GetOneof(const upb_MiniTable* m, + const upb_MiniTableField* f); + +// Iterates to the next field in the oneof. If this is the last field in the +// oneof, returns false. The ordering of fields in the oneof is not +// guaranteed. +// REQUIRES: |f| is the field initialized by upb_MiniTable_GetOneof and updated +// by prior upb_MiniTable_NextOneofField calls. +bool upb_MiniTable_NextOneofField(const upb_MiniTable* m, + const upb_MiniTableField** f); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#ifdef __cplusplus +// Temporary overloads for functions whose signature has recently changed. +UPB_DEPRECATE_AND_INLINE() +inline const upb_MiniTable* upb_MiniTable_SubMessage( + const upb_MiniTable* m, const upb_MiniTableField* f) { + return upb_MiniTable_SubMessage(f); +} + +UPB_DEPRECATE_AND_INLINE() +inline const upb_MiniTable* upb_MiniTable_GetSubMessageTable( + const upb_MiniTable* m, const upb_MiniTableField* f) { + return upb_MiniTable_GetSubMessageTable(f); +} + +UPB_DEPRECATE_AND_INLINE() +inline const upb_MiniTableEnum* upb_MiniTable_GetSubEnumTable( + const upb_MiniTable* m, const upb_MiniTableField* f) { + return upb_MiniTable_GetSubEnumTable(f); +} + +UPB_DEPRECATE_AND_INLINE() +inline bool upb_MiniTable_FieldIsLinked(const upb_MiniTable* m, + const upb_MiniTableField* f) { + return upb_MiniTable_FieldIsLinked(f); +} +#endif + + +#endif /* UPB_MINI_TABLE_MESSAGE_H_ */ + +// Must be last. + +typedef struct upb_Array upb_Array; + +#ifdef __cplusplus +extern "C" { +#endif + +// Creates a new array on the given arena that holds elements of this type. +UPB_NODISCARD UPB_API upb_Array* upb_Array_New(upb_Arena* a, upb_CType type); + +// Returns the number of elements in the array. +UPB_API_INLINE size_t upb_Array_Size(const upb_Array* arr); + +// Returns the number of elements in the array. +UPB_API_INLINE size_t upb_Array_Capacity(const upb_Array* arr); + +// Returns the given element, which must be within the array's current size. +UPB_API upb_MessageValue upb_Array_Get(const upb_Array* arr, size_t i); + +// Returns a non-null mutating pointer to the given element. `arr` must be an +// array of a message type, and `i` must be within the array's current size. +UPB_API struct upb_Message* upb_Array_GetMutable(upb_Array* arr, size_t i); + +// Sets the given element, which must be within the array's current size. +UPB_API void upb_Array_Set(upb_Array* arr, size_t i, upb_MessageValue val); + +// Appends an element to the array. Returns false on allocation failure. +UPB_NODISCARD UPB_API bool upb_Array_Append(upb_Array* array, + upb_MessageValue val, + upb_Arena* arena); + +// Copies elements from |src| to |dst|, resizing |dst| to match |src| size. +// Returns false on allocation failure. +UPB_NODISCARD UPB_API bool upb_Array_Copy(upb_Array* dst, const upb_Array* src, + upb_Arena* arena); + +// Appends all elements from |src| to the end of |dst|. +// Returns false on allocation failure. +UPB_NODISCARD UPB_API bool upb_Array_AppendAll(upb_Array* dst, + const upb_Array* src, + upb_Arena* arena); + +// Moves elements within the array using memmove(). +// Like memmove(), the source and destination elements may be overlapping. +UPB_API void upb_Array_Move(upb_Array* array, size_t dst_idx, size_t src_idx, + size_t count); + +// Inserts one or more empty elements into the array. +// Existing elements are shifted right. +// The new elements have undefined state and must be set with `upb_Array_Set()`. +// REQUIRES: `i <= upb_Array_Size(arr)` +UPB_NODISCARD UPB_API bool upb_Array_Insert(upb_Array* array, size_t i, + size_t count, upb_Arena* arena); + +// Deletes one or more elements from the array. +// Existing elements are shifted left. +// REQUIRES: `i + count <= upb_Array_Size(arr)` +UPB_API void upb_Array_Delete(upb_Array* array, size_t i, size_t count); + +// Reserves |size| elements of storage for the array. +UPB_NODISCARD UPB_API_INLINE bool upb_Array_Reserve(struct upb_Array* array, + size_t size, + upb_Arena* arena); + +// Changes the size of a vector. New elements are initialized to NULL/0. +// Returns false on allocation failure. +UPB_NODISCARD UPB_API bool upb_Array_Resize(upb_Array* array, size_t size, + upb_Arena* arena); + +// Returns pointer to array data. +UPB_API_INLINE const void* upb_Array_DataPtr(const upb_Array* arr); + +// Returns mutable pointer to array data. +UPB_API_INLINE void* upb_Array_MutableDataPtr(upb_Array* arr); + +// Mark an array and all of its descendents as frozen/immutable. +// If the array elements are messages then |m| must point to the minitable for +// those messages. Otherwise |m| must be NULL. +UPB_API void upb_Array_Freeze(upb_Array* arr, const upb_MiniTable* m); + +// Returns whether an array has been frozen. +UPB_API_INLINE bool upb_Array_IsFrozen(const upb_Array* arr); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_ARRAY_H_ */ + +#ifndef UPB_MESSAGE_INTERNAL_ACCESSORS_H_ +#define UPB_MESSAGE_INTERNAL_ACCESSORS_H_ + +#include +#include +#include + + +#ifndef UPB_BASE_INTERNAL_ENDIAN_H_ +#define UPB_BASE_INTERNAL_ENDIAN_H_ + +#include + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_INLINE bool upb_IsLittleEndian(void) { + const int x = 1; + return *(char*)&x == 1; +} + +UPB_INLINE uint32_t upb_BigEndian32(uint32_t val) { + if (upb_IsLittleEndian()) return val; + + return ((val & 0xff) << 24) | ((val & 0xff00) << 8) | + ((val & 0xff0000) >> 8) | ((val & 0xff000000) >> 24); +} + +UPB_INLINE uint64_t upb_BigEndian64(uint64_t val) { + if (upb_IsLittleEndian()) return val; + + const uint64_t hi = ((uint64_t)upb_BigEndian32((uint32_t)val)) << 32; + const uint64_t lo = upb_BigEndian32((uint32_t)(val >> 32)); + return hi | lo; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_BASE_INTERNAL_ENDIAN_H_ */ + +#ifndef UPB_MESSAGE_INTERNAL_EXTENSION_H_ +#define UPB_MESSAGE_INTERNAL_EXTENSION_H_ + +#include + + +#ifndef UPB_MESSAGE_INTERNAL_MAP_H_ +#define UPB_MESSAGE_INTERNAL_MAP_H_ + +#include +#include +#include + + +/* + * upb_table + * + * This header is INTERNAL-ONLY! Its interfaces are not public or stable! + * This file defines very fast int->upb_value (inttable) and string->upb_value + * (strtable) hash tables. + * + * The table uses chained scatter with Brent's variation (inspired by the Lua + * implementation of hash tables). The hash function for strings is Austin + * Appleby's "MurmurHash." + * + * The inttable uses uintptr_t as its key, which guarantees it can be used to + * store pointers or integers of at least 32 bits (upb isn't really useful on + * systems where sizeof(void*) < 4). + * + * The table must be homogeneous (all values of the same type). In debug + * mode, we check this on insert and lookup. + */ + +#ifndef UPB_HASH_COMMON_H_ +#define UPB_HASH_COMMON_H_ + +#include +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +/* upb_value ******************************************************************/ + +typedef struct { + uint64_t val; +} upb_value; + +/* For each value ctype, define the following set of functions: + * + * // Get/set an int32 from a upb_value. + * int32_t upb_value_getint32(upb_value val); + * void upb_value_setint32(upb_value *val, int32_t cval); + * + * // Construct a new upb_value from an int32. + * upb_value upb_value_int32(int32_t val); */ +#define FUNCS(name, membername, type_t, converter) \ + UPB_INLINE void upb_value_set##name(upb_value* val, type_t cval) { \ + val->val = (uint64_t)cval; \ + } \ + UPB_INLINE upb_value upb_value_##name(type_t val) { \ + upb_value ret; \ + upb_value_set##name(&ret, val); \ + return ret; \ + } \ + UPB_INLINE type_t upb_value_get##name(upb_value val) { \ + return (type_t)(converter)val.val; \ + } + +FUNCS(int32, int32, int32_t, int32_t) +FUNCS(int64, int64, int64_t, int64_t) +FUNCS(uint32, uint32, uint32_t, uint32_t) +FUNCS(uint64, uint64, uint64_t, uint64_t) +FUNCS(bool, _bool, bool, bool) +FUNCS(cstr, cstr, char*, uintptr_t) +FUNCS(uintptr, uptr, uintptr_t, uintptr_t) +FUNCS(ptr, ptr, void*, uintptr_t) +FUNCS(constptr, constptr, const void*, uintptr_t) + +#undef FUNCS + +UPB_INLINE void upb_value_setfloat(upb_value* val, float cval) { + memcpy(&val->val, &cval, sizeof(cval)); +} + +UPB_INLINE void upb_value_setdouble(upb_value* val, double cval) { + memcpy(&val->val, &cval, sizeof(cval)); +} + +UPB_INLINE upb_value upb_value_float(float cval) { + upb_value ret; + upb_value_setfloat(&ret, cval); + return ret; +} + +UPB_INLINE upb_value upb_value_double(double cval) { + upb_value ret; + upb_value_setdouble(&ret, cval); + return ret; +} + +/* upb_key *****************************************************************/ + +// A uint32 size followed by that number of bytes stored contiguously. +typedef struct { + uint32_t size; + const char data[]; +} upb_SizePrefixString; + +/* Either: + * 1. an actual integer key + * 2. a SizePrefixString*, owned by us. + * + * ...depending on whether this is a string table or an int table. */ +typedef union { + uintptr_t num; + const upb_SizePrefixString* str; +} upb_key; + +UPB_INLINE upb_StringView upb_key_strview(upb_key key) { + return upb_StringView_FromDataAndSize(key.str->data, key.str->size); +} + +/* upb_table ******************************************************************/ + +typedef struct _upb_tabent { + upb_value val; + upb_key key; + + /* Internal chaining and presence: + * - next == NULL: The entry is empty. + * - ent.next == kUpb_NoNextTabent indicating the entry is occupied but has no + * successor. + * - otherwise: The entry is occupied, and next points to the next entry in + * the collision chain. */ + uintptr_t next; +} upb_tabent; + +typedef struct { + upb_tabent* entries; + /* Number of entries in the hash part. */ + uint32_t count; + + /* Mask to turn hash value -> bucket. The map's allocated size is mask + 1.*/ + uint32_t mask; +} upb_table; + +UPB_INLINE size_t upb_table_size(const upb_table* t) { return t->mask + 1; } + +// Internal-only functions, in .h file only out of necessity. + +UPB_INLINE bool upb_tabent_isempty(const upb_tabent* e) { return e->next == 0; } + +#define kUpb_NoNextTabent ((uintptr_t)1) + +UPB_INLINE bool upb_tabent_hasnext(const upb_tabent* e) { + UPB_STATIC_ASSERT(UPB_ALIGN_OF(upb_tabent) > 1, + "valid upb_tabent* can't reference address 1"); + return e->next != kUpb_NoNextTabent; +} + +UPB_INLINE void upb_tabent_clearnext(upb_tabent* e) { + e->next = kUpb_NoNextTabent; +} + +UPB_INLINE void upb_tabent_clear(upb_tabent* e) { + e->next = 0; + UPB_ASSERT(upb_tabent_isempty(e)); +} + +UPB_INLINE upb_tabent* upb_tabent_next(const upb_tabent* e) { + UPB_ASSERT(upb_tabent_hasnext(e)); + return (upb_tabent*)e->next; +} + +UPB_INLINE void upb_tabent_setnext(upb_tabent* e, upb_tabent* next) { + UPB_ASSERT((uintptr_t)next != 0); + UPB_ASSERT(next != e); + UPB_ASSERT((uintptr_t)next != kUpb_NoNextTabent); + e->next = (uintptr_t)next; + UPB_ASSERT(upb_tabent_hasnext(e)); +} + +#undef kUpb_NoNextTabent + +uint32_t _upb_Hash(const void* p, size_t n, uint64_t seed); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_HASH_COMMON_H_ */ + +#ifndef UPB_HASH_INT_TABLE_H_ +#define UPB_HASH_INT_TABLE_H_ + +#include +#include + + +// Must be last. + +typedef struct { + upb_table t; +} upb_inttable; + +#ifdef __cplusplus +extern "C" { +#endif + +// Initialize a table. If memory allocation failed, false is returned and +// the table is uninitialized. +UPB_NODISCARD bool upb_inttable_init(upb_inttable* table, upb_Arena* a); + +// Returns the number of values in the table. +size_t upb_inttable_count(const upb_inttable* t); + +// Inserts the given key into the hashtable with the given value. +// The key must not already exist in the hash table. +// +// If a table resize was required but memory allocation failed, false is +// returned and the table is unchanged. +UPB_NODISCARD bool upb_inttable_insert(upb_inttable* t, uintptr_t key, + upb_value val, upb_Arena* a); + +// Looks up key in this table, returning "true" if the key was found. +// If v is non-NULL, copies the value for this key into *v. +bool upb_inttable_lookup(const upb_inttable* t, uintptr_t key, upb_value* v); + +// Removes an item from the table. Returns true if the remove was successful, +// and stores the removed item in *val if non-NULL. +bool upb_inttable_remove(upb_inttable* t, uintptr_t key, upb_value* val); + +// Updates an existing entry in an inttable. +// If the entry does not exist, returns false and does nothing. +// Unlike insert/remove, this does not invalidate iterators. +bool upb_inttable_replace(upb_inttable* t, uintptr_t key, upb_value val); + +// Clears the table. +void upb_inttable_clear(upb_inttable* t); + +// Iteration over inttable: +// +// intptr_t iter = UPB_INTTABLE_BEGIN; +// uintptr_t key; +// upb_value val; +// while (upb_inttable_next(t, &key, &val, &iter)) { +// // ... +// } + +#define UPB_INTTABLE_BEGIN -1 + +bool upb_inttable_next(const upb_inttable* t, uintptr_t* key, upb_value* val, + intptr_t* iter); +void upb_inttable_removeiter(upb_inttable* t, intptr_t* iter); +void upb_inttable_setentryvalue(upb_inttable* t, intptr_t iter, upb_value v); +bool upb_inttable_done(const upb_inttable* t, intptr_t i); +uintptr_t upb_inttable_iter_key(const upb_inttable* t, intptr_t iter); +upb_value upb_inttable_iter_value(const upb_inttable* t, intptr_t iter); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_HASH_INT_TABLE_H_ */ + +#ifndef UPB_HASH_STR_TABLE_H_ +#define UPB_HASH_STR_TABLE_H_ + +#include +#include +#include + + +// Must be last. + +typedef struct { + upb_table t; +} upb_strtable; + +#ifdef __cplusplus +extern "C" { +#endif + +// Initialize a table. If memory allocation failed, false is returned and +// the table is uninitialized. +UPB_NODISCARD bool upb_strtable_init(upb_strtable* table, size_t expected_size, + upb_Arena* a); + +// Returns the number of values in the table. +UPB_INLINE size_t upb_strtable_count(const upb_strtable* t) { + return t->t.count; +} + +void upb_strtable_clear(upb_strtable* t); + +// Inserts the given key into the hashtable with the given value. +// The key must not already exist in the hash table. The key is not required +// to be NULL-terminated, and the table will make an internal copy of the key. +// +// If a table resize was required but memory allocation failed, false is +// returned and the table is unchanged. */ +UPB_NODISCARD bool upb_strtable_insert(upb_strtable* t, const char* key, + size_t len, upb_value val, upb_Arena* a); + +// Looks up key in this table, returning "true" if the key was found. +// If v is non-NULL, copies the value for this key into *v. +bool upb_strtable_lookup2(const upb_strtable* t, const char* key, size_t len, + upb_value* v); + +// For NULL-terminated strings. +UPB_INLINE bool upb_strtable_lookup(const upb_strtable* t, const char* key, + upb_value* v) { + return upb_strtable_lookup2(t, key, strlen(key), v); +} + +// Removes an item from the table. Returns true if the remove was successful, +// and stores the removed item in *val if non-NULL. +bool upb_strtable_remove2(upb_strtable* t, const char* key, size_t len, + upb_value* val); + +UPB_INLINE bool upb_strtable_remove(upb_strtable* t, const char* key, + upb_value* v) { + return upb_strtable_remove2(t, key, strlen(key), v); +} + +// Exposed for testing only. +UPB_NODISCARD bool upb_strtable_resize(upb_strtable* t, size_t size_lg2, + upb_Arena* a); + +/* Iteration over strtable: + * + * intptr_t iter = UPB_STRTABLE_BEGIN; + * upb_StringView key; + * upb_value val; + * while (upb_strtable_next2(t, &key, &val, &iter)) { + * // ... + * } + */ + +#define UPB_STRTABLE_BEGIN -1 + +bool upb_strtable_next2(const upb_strtable* t, upb_StringView* key, + upb_value* val, intptr_t* iter); +void upb_strtable_removeiter(upb_strtable* t, intptr_t* iter); +void upb_strtable_setentryvalue(upb_strtable* t, intptr_t iter, upb_value v); + +/* DEPRECATED iterators, slated for removal. + * + * Iterators for string tables. We are subject to some kind of unusual + * design constraints: + * + * For high-level languages: + * - we must be able to guarantee that we don't crash or corrupt memory even if + * the program accesses an invalidated iterator. + * + * For C++11 range-based for: + * - iterators must be copyable + * - iterators must be comparable + * - it must be possible to construct an "end" value. + * + * Iteration order is undefined. + * + * Modifying the table invalidates iterators. upb_{str,int}table_done() is + * guaranteed to work even on an invalidated iterator, as long as the table it + * is iterating over has not been freed. Calling next() or accessing data from + * an invalidated iterator yields unspecified elements from the table, but it is + * guaranteed not to crash and to return real table elements (except when done() + * is true). */ +/* upb_strtable_iter **********************************************************/ + +/* upb_strtable_iter i; + * upb_strtable_begin(&i, t); + * for(; !upb_strtable_done(&i); upb_strtable_next(&i)) { + * const char *key = upb_strtable_iter_key(&i); + * const upb_value val = upb_strtable_iter_value(&i); + * // ... + * } + */ + +typedef struct { + const upb_strtable* t; + size_t index; +} upb_strtable_iter; + +UPB_INLINE const upb_tabent* str_tabent(const upb_strtable_iter* i) { + return &i->t->t.entries[i->index]; +} + +void upb_strtable_begin(upb_strtable_iter* i, const upb_strtable* t); +void upb_strtable_next(upb_strtable_iter* i); +bool upb_strtable_done(const upb_strtable_iter* i); +upb_StringView upb_strtable_iter_key(const upb_strtable_iter* i); +upb_value upb_strtable_iter_value(const upb_strtable_iter* i); +void upb_strtable_iter_setdone(upb_strtable_iter* i); +bool upb_strtable_iter_isequal(const upb_strtable_iter* i1, + const upb_strtable_iter* i2); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_HASH_STR_TABLE_H_ */ + +// Must be last. + +typedef enum { + kUpb_MapInsertStatus_Inserted = 0, + kUpb_MapInsertStatus_Replaced = 1, + kUpb_MapInsertStatus_OutOfMemory = 2, +} upb_MapInsertStatus; + +// EVERYTHING BELOW THIS LINE IS INTERNAL - DO NOT USE ///////////////////////// + +union upb_Map_Table { + upb_strtable strtable; + upb_inttable inttable; +}; + +struct upb_Map { + // Size of key and val, based on the map type. + // Strings are represented as '0' because they must be handled specially. + char key_size; + char val_size; + bool UPB_PRIVATE(is_frozen); + bool UPB_PRIVATE(is_strtable); + + union upb_Map_Table t; +}; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_INLINE void UPB_PRIVATE(_upb_Map_ShallowFreeze)(struct upb_Map* map) { + map->UPB_PRIVATE(is_frozen) = true; +} + +UPB_API_INLINE bool upb_Map_IsFrozen(const struct upb_Map* map) { + return map->UPB_PRIVATE(is_frozen); +} + +// Converting between internal table representation and user values. +// +// _upb_map_tokey() and _upb_map_fromkey() are inverses. +// _upb_map_tovalue() and _upb_map_fromvalue() are inverses. +// +// These functions account for the fact that strings are treated differently +// from other types when stored in a map. + +UPB_INLINE upb_StringView _upb_map_tokey(const void* key, size_t size) { + if (size == UPB_MAPTYPE_STRING) { + return *(upb_StringView*)key; + } else { + return upb_StringView_FromDataAndSize((const char*)key, size); + } +} + +UPB_INLINE uintptr_t _upb_map_tointkey(const void* key, size_t key_size) { + uintptr_t intkey = 0; + memcpy(&intkey, key, key_size); + return intkey; +} + +UPB_INLINE void _upb_map_fromkey(upb_StringView key, void* out, size_t size) { + if (size == UPB_MAPTYPE_STRING) { + memcpy(out, &key, sizeof(key)); + } else { + memcpy(out, key.data, size); + } +} + +UPB_INLINE bool _upb_map_tovalue(const void* val, size_t size, + upb_value* msgval, upb_Arena* a) { + if (size == UPB_MAPTYPE_STRING) { + upb_StringView* strp = (upb_StringView*)upb_Arena_Malloc(a, sizeof(*strp)); + if (!strp) return false; + *strp = *(upb_StringView*)val; + *msgval = upb_value_ptr(strp); + } else { + memcpy(msgval, val, size); + } + return true; +} + +UPB_INLINE void _upb_map_fromvalue(upb_value val, void* out, size_t size) { + if (size == UPB_MAPTYPE_STRING) { + const upb_StringView* strp = (const upb_StringView*)upb_value_getptr(val); + memcpy(out, strp, sizeof(upb_StringView)); + } else { + memcpy(out, &val, size); + } +} + +UPB_INLINE bool _upb_map_next(const struct upb_Map* map, size_t* iter) { + if (map->UPB_PRIVATE(is_strtable)) { + upb_strtable_iter it; + it.t = &map->t.strtable; + it.index = *iter; + upb_strtable_next(&it); + *iter = it.index; + return !upb_strtable_done(&it); + } else { + uintptr_t key; + upb_value val; + intptr_t int_iter = 0; + memcpy(&int_iter, iter, sizeof(intptr_t)); + upb_inttable_next(&map->t.inttable, &key, &val, &int_iter); + memcpy(iter, &int_iter, sizeof(size_t)); + return !upb_inttable_done(&map->t.inttable, int_iter); + } +} + +UPB_INLINE void _upb_Map_Clear(struct upb_Map* map) { + UPB_ASSERT(!upb_Map_IsFrozen(map)); + + if (map->UPB_PRIVATE(is_strtable)) { + upb_strtable_clear(&map->t.strtable); + } else { + upb_inttable_clear(&map->t.inttable); + } +} + +UPB_INLINE bool _upb_Map_Delete(struct upb_Map* map, const void* key, + size_t key_size, upb_value* val) { + UPB_ASSERT(!upb_Map_IsFrozen(map)); + + if (map->UPB_PRIVATE(is_strtable)) { + upb_StringView k = _upb_map_tokey(key, key_size); + return upb_strtable_remove2(&map->t.strtable, k.data, k.size, val); + } else { + uintptr_t intkey = _upb_map_tointkey(key, key_size); + return upb_inttable_remove(&map->t.inttable, intkey, val); + } +} + +UPB_INLINE bool _upb_Map_Get(const struct upb_Map* map, const void* key, + size_t key_size, void* val, size_t val_size) { + upb_value tabval = {0}; + bool ret; + if (map->UPB_PRIVATE(is_strtable)) { + upb_StringView k = _upb_map_tokey(key, key_size); + ret = upb_strtable_lookup2(&map->t.strtable, k.data, k.size, &tabval); + } else { + uintptr_t intkey = _upb_map_tointkey(key, key_size); + ret = upb_inttable_lookup(&map->t.inttable, intkey, &tabval); + } + if (ret && val) { + _upb_map_fromvalue(tabval, val, val_size); + } + return ret; +} + +UPB_INLINE upb_MapInsertStatus _upb_Map_Insert(struct upb_Map* map, + const void* key, size_t key_size, + void* val, size_t val_size, + upb_Arena* a) { + UPB_ASSERT(!upb_Map_IsFrozen(map)); + + // Prep the value. + upb_value tabval = {0}; + if (!_upb_map_tovalue(val, val_size, &tabval, a)) { + return kUpb_MapInsertStatus_OutOfMemory; + } + + bool removed; + if (map->UPB_PRIVATE(is_strtable)) { + upb_StringView strkey = _upb_map_tokey(key, key_size); + // TODO: add overwrite operation to minimize number of lookups. + removed = + upb_strtable_remove2(&map->t.strtable, strkey.data, strkey.size, NULL); + if (!upb_strtable_insert(&map->t.strtable, strkey.data, strkey.size, tabval, + a)) { + return kUpb_MapInsertStatus_OutOfMemory; + } + } else { + uintptr_t intkey = _upb_map_tointkey(key, key_size); + removed = upb_inttable_remove(&map->t.inttable, intkey, NULL); + if (!upb_inttable_insert(&map->t.inttable, intkey, tabval, a)) { + return kUpb_MapInsertStatus_OutOfMemory; + } + } + return removed ? kUpb_MapInsertStatus_Replaced + : kUpb_MapInsertStatus_Inserted; +} + +UPB_INLINE size_t _upb_Map_Size(const struct upb_Map* map) { + if (map->UPB_PRIVATE(is_strtable)) { + return map->t.strtable.t.count; + } else { + return upb_inttable_count(&map->t.inttable); + } +} + +// Strings/bytes are special-cased in maps. +extern char _upb_Map_CTypeSizeTable[12]; + +UPB_INLINE size_t _upb_Map_CTypeSize(upb_CType ctype) { + return (size_t)_upb_Map_CTypeSizeTable[ctype]; +} + +// Creates a new map on the given arena with this key/value type. +struct upb_Map* _upb_Map_New(upb_Arena* a, size_t key_size, size_t value_size); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_INTERNAL_MAP_H_ */ + +#ifndef UPB_MINI_TABLE_EXTENSION_H_ +#define UPB_MINI_TABLE_EXTENSION_H_ + +#include + + +#ifndef UPB_MINI_TABLE_INTERNAL_EXTENSION_H_ +#define UPB_MINI_TABLE_INTERNAL_EXTENSION_H_ + +#include +#include + + +// Must be last. + +struct upb_MiniTableExtension { + // Do not move this field. We need to be able to alias pointers. + struct upb_MiniTableField UPB_PRIVATE(field); + + union upb_MiniTableSub UPB_PRIVATE(sub); // NULL unless submsg or proto2 enum + + // A known extendee schema for a canonical extension. For a non-canonical + // extension, it's typically converted from a canonical extension via the + // upb_Message_Convert() API, but is not registered on the extension + // registry of the target message when it gets converted. In this case, the + // `extendee` info is present on the source message before conversion. + const struct upb_MiniTable* UPB_PRIVATE(extendee); +}; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API_INLINE upb_CType +upb_MiniTableExtension_CType(const struct upb_MiniTableExtension* e) { + return upb_MiniTableField_CType(&e->UPB_PRIVATE(field)); +} + +UPB_API_INLINE uint32_t +upb_MiniTableExtension_Number(const struct upb_MiniTableExtension* e) { + return e->UPB_PRIVATE(field).UPB_ONLYBITS(number); +} + +UPB_API_INLINE const struct upb_MiniTable* upb_MiniTableExtension_Extendee( + const struct upb_MiniTableExtension* e) { + return e->UPB_PRIVATE(extendee); +} + +UPB_API_INLINE const struct upb_MiniTable* upb_MiniTableExtension_GetSubMessage( + const struct upb_MiniTableExtension* e) { + if (upb_MiniTableExtension_CType(e) != kUpb_CType_Message) { + return NULL; + } + return upb_MiniTableSub_Message(e->UPB_PRIVATE(sub)); +} + +UPB_API_INLINE const struct upb_MiniTableEnum* +upb_MiniTableExtension_GetSubEnum(const struct upb_MiniTableExtension* e) { + if (upb_MiniTableExtension_CType(e) != kUpb_CType_Enum) { + return NULL; + } + return upb_MiniTableSub_Enum(e->UPB_PRIVATE(sub)); +} + +UPB_API_INLINE bool upb_MiniTableExtension_SetSubMessage( + struct upb_MiniTableExtension* e, const struct upb_MiniTable* m) { + if (e->UPB_PRIVATE(field).UPB_PRIVATE(descriptortype) != + kUpb_FieldType_Message && + e->UPB_PRIVATE(field).UPB_PRIVATE(descriptortype) != + kUpb_FieldType_Group) { + return false; + } + e->UPB_PRIVATE(sub).UPB_PRIVATE(submsg) = m; + return true; +} + +UPB_API_INLINE bool upb_MiniTableExtension_SetSubEnum( + struct upb_MiniTableExtension* e, const struct upb_MiniTableEnum* en) { + if (e->UPB_PRIVATE(field).UPB_PRIVATE(descriptortype) != + kUpb_FieldType_Enum) { + return false; + } + e->UPB_PRIVATE(sub).UPB_PRIVATE(subenum) = en; + return true; +} + +UPB_API_INLINE const struct upb_MiniTableField* upb_MiniTableExtension_ToField( + const struct upb_MiniTableExtension* e) { + return &e->UPB_PRIVATE(field); +} + +UPB_INLINE upb_FieldRep UPB_PRIVATE(_upb_MiniTableExtension_GetRep)( + const struct upb_MiniTableExtension* e) { + return UPB_PRIVATE(_upb_MiniTableField_GetRep)(&e->UPB_PRIVATE(field)); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_INTERNAL_EXTENSION_H_ */ + +// Must be last. + +typedef struct upb_MiniTableExtension upb_MiniTableExtension; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API_INLINE upb_CType +upb_MiniTableExtension_CType(const upb_MiniTableExtension* e); + +UPB_API_INLINE uint32_t +upb_MiniTableExtension_Number(const upb_MiniTableExtension* e); + +UPB_API_INLINE const upb_MiniTable* upb_MiniTableExtension_Extendee( + const upb_MiniTableExtension* e); + +UPB_API_INLINE const upb_MiniTable* upb_MiniTableExtension_GetSubMessage( + const upb_MiniTableExtension* e); + +UPB_API_INLINE const upb_MiniTableEnum* upb_MiniTableExtension_GetSubEnum( + const upb_MiniTableExtension* e); + +UPB_API_INLINE bool upb_MiniTableExtension_SetSubMessage( + upb_MiniTableExtension* e, const upb_MiniTable* m); + +UPB_API_INLINE bool upb_MiniTableExtension_SetSubEnum( + upb_MiniTableExtension* e, const upb_MiniTableEnum* m); + +UPB_API_INLINE const upb_MiniTableField* upb_MiniTableExtension_ToField( + const upb_MiniTableExtension* e); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_EXTENSION_H_ */ + +// Must be last. + +// The internal representation of an extension is self-describing: it contains +// enough information that we can serialize it to binary format without needing +// to look it up in a upb_ExtensionRegistry. +// +// This representation allocates 16 bytes to data on 64-bit platforms. +// This is rather wasteful for scalars (in the extreme case of bool, +// it wastes 15 bytes). We accept this because we expect messages to be +// the most common extension type. +typedef struct { + const upb_MiniTableExtension* ext; + upb_MessageValue data; +} upb_Extension; + +#ifdef __cplusplus +extern "C" { +#endif + +// Adds the given extension data to the given message. +// |ext| is copied into the message instance. +// This logically replaces any previously-added extension with this number. +UPB_NODISCARD upb_Extension* UPB_PRIVATE(_upb_Message_GetOrCreateExtension)( + struct upb_Message* msg, const upb_MiniTableExtension* ext, + upb_Arena* arena); + +// Adds the given non-canonical extension data to the given message. +// |ext| is copied into the message instance. +// This logically replaces any previously-added extension with this number. +UPB_NODISCARD upb_Extension* UPB_PRIVATE( + _upb_Message_CreateNonCanonicalExtension)(struct upb_Message* msg, + const upb_MiniTableExtension* ext, + upb_Arena* arena); + +// Returns an extension for a message with a given mini table, +// or NULL if no extension exists with this mini table. +const upb_Extension* UPB_PRIVATE(_upb_Message_Getext)( + const struct upb_Message* msg, const upb_MiniTableExtension* ext); + +UPB_INLINE bool UPB_PRIVATE(_upb_Extension_IsEmpty)(const upb_Extension* ext) { + switch ( + UPB_PRIVATE(_upb_MiniTableField_Mode)(&ext->ext->UPB_PRIVATE(field))) { + case kUpb_FieldMode_Scalar: + return false; + case kUpb_FieldMode_Array: + return upb_Array_Size(ext->data.array_val) == 0; + case kUpb_FieldMode_Map: + return _upb_Map_Size(ext->data.map_val) == 0; + } + UPB_UNREACHABLE(); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_INTERNAL_EXTENSION_H_ */ + +/* +** Our memory representation for parsing tables and messages themselves. +** Functions in this file are used by generated code and possibly reflection. +** +** The definitions in this file are internal to upb. +**/ + +#ifndef UPB_MESSAGE_INTERNAL_MESSAGE_H_ +#define UPB_MESSAGE_INTERNAL_MESSAGE_H_ + +#include +#include +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +extern const float kUpb_FltInfinity; +extern const double kUpb_Infinity; +extern const double kUpb_NaN; + +// Internal members of a upb_Message that track unknown fields and/or +// extensions. We can change this without breaking binary compatibility. + +// LINT.IfChange(tagged_aux_type) +typedef struct upb_TaggedAuxPtr { + // Three lowest bits form a tag: + // 000 - non-aliased unknown data (upb_StringView*) + // 100 - aliased unknown data (upb_StringView*) + // 001 - non-canonical extension (upb_Extension*) + // 011 - canonical extension (upb_Extension*) + // + // Bit 0 (lowest bit): Represents the data format in memory (1 for parsed + // form, 0 for serialized form). + // Bit 1 (middle bit): Represents whether the data is semantically known or + // not (1 for known, 0 for unknown). + // Bit 2 (highest bit): Aliased/Non-aliased (1 for aliased, 0 for + // non-aliased). + // + // Following this tag structure, we can later use tag `010` for lazy + // extensions. + // + // The main semantic difference between aliased and non-aliased + // unknown data is that non-aliased unknown data can be assumed to have the + // following layout: + // + // [upb_StringView] [data] + // + // where the StringView points to the data buffer and the data buffer is + // immediately following the StringView. + // + // The string view does not necessarily point to the start of the data buffer; + // if the initial part of the buffer is removed from the message, the string + // view will point to the beginning of the remaining buffer. + // + // For aliased unknown data, this layout is _not_ guaranteed, since the + // pointer to the StringView can be anywhere in the allocation, and the + // StringView may point to non-data memory. + // + // For a non-canonical extension, its schema is known but not + // the one expected by the message, so it should be treated like an unknown + // field, but is stored as an extension to lazily defer serialization. + uintptr_t ptr; +} upb_TaggedAuxPtr; + +// If this returns true, then the entry is semantically known (but may be in +// either parsed or unparsed form). +UPB_INLINE bool upb_TaggedAuxPtr_IsSemanticallyKnown(upb_TaggedAuxPtr ptr) { + return (ptr.ptr & 0x2) != 0; +} + +UPB_INLINE bool upb_TaggedAuxPtr_IsCanonicalExtension(upb_TaggedAuxPtr ptr) { + return (ptr.ptr & 3) == 3; +} + +UPB_INLINE bool upb_TaggedAuxPtr_IsNonCanonicalExtension(upb_TaggedAuxPtr ptr) { + return (ptr.ptr & 3) == 1; +} + +// Returns true if the entry is aliased/non-aliased unknown data. +UPB_INLINE bool upb_TaggedAuxPtr_IsUnknownStringView(upb_TaggedAuxPtr ptr) { + return (ptr.ptr != 0) && ((ptr.ptr & 3) == 0); +} + +UPB_INLINE bool upb_TaggedAuxPtr_IsUnknownAliased(upb_TaggedAuxPtr ptr) { + return (ptr.ptr != 0) && ((ptr.ptr & 5) == 4); +} + +UPB_INLINE upb_Extension* upb_TaggedAuxPtr_CanonicalExtension( + upb_TaggedAuxPtr ptr) { + UPB_ASSERT(upb_TaggedAuxPtr_IsCanonicalExtension(ptr)); + return (upb_Extension*)(ptr.ptr & ~7ULL); +} + +UPB_INLINE upb_Extension* upb_TaggedAuxPtr_NonCanonicalExtension( + upb_TaggedAuxPtr ptr) { + UPB_ASSERT(upb_TaggedAuxPtr_IsNonCanonicalExtension(ptr)); + return (upb_Extension*)(ptr.ptr & ~7ULL); +} + +// Returns a pointer to the aliased or unaliased unknown upb_StringView* data. +UPB_INLINE upb_StringView* upb_TaggedPtrAux_StringViewRepr( + upb_TaggedAuxPtr ptr) { + UPB_ASSERT(upb_TaggedAuxPtr_IsUnknownStringView(ptr)); + return (upb_StringView*)(ptr.ptr & ~7ULL); +} + +// LINT.ThenChange(//depot/google3/third_party/upb/bits/golang/message.go:tagged_aux_type) + +typedef enum { + kUpb_TaggedAuxType_Unknown = 0, // tag 000 + kUpb_TaggedAuxType_NonCanonicalExtension = 1, // tag 001 + kUpb_TaggedAuxType_CanonicalExtension = 3, // tag 011 + kUpb_TaggedAuxType_AliasedUnknown = 4 // tag 100 +} upb_TaggedAuxType; + +typedef union { + upb_Extension* extension; + const upb_StringView* unknown_data; +} upb_TaggedAux; + +UPB_INLINE upb_TaggedAuxType upb_TaggedAux_Get(upb_TaggedAuxPtr ptr, + upb_TaggedAux* data) { + uintptr_t untagged = ptr.ptr & ~7ULL; + UPB_ASSERT((untagged & 7) == 0); + memcpy(data, &untagged, sizeof(*data)); + return (upb_TaggedAuxType)(ptr.ptr & 7); +} + +UPB_INLINE upb_TaggedAuxPtr upb_TaggedAuxPtr_Null(void) { + upb_TaggedAuxPtr ptr; + ptr.ptr = 0; + return ptr; +} + +UPB_INLINE upb_TaggedAuxPtr +upb_TaggedAuxPtr_MakeCanonicalExtension(const upb_Extension* e) { + UPB_ASSERT(((uintptr_t)e & 7) == 0); + upb_TaggedAuxPtr ptr; + ptr.ptr = (uintptr_t)e | 3; + return ptr; +} + +UPB_INLINE upb_TaggedAuxPtr +upb_TaggedAuxPtr_MakeNonCanonicalExtension(const upb_Extension* e) { + UPB_ASSERT(((uintptr_t)e & 7) == 0); + upb_TaggedAuxPtr ptr; + ptr.ptr = (uintptr_t)e | 1; + return ptr; +} + +// This tag means that the original allocation for this field starts with the +// string view and ends with the end of the content referenced by the string +// view. +UPB_INLINE upb_TaggedAuxPtr +upb_TaggedAuxPtr_MakeUnknownData(const upb_StringView* sv) { + UPB_ASSERT(((uintptr_t)sv & 7) == 0); + upb_TaggedAuxPtr ptr; + ptr.ptr = (uintptr_t)sv; + return ptr; +} + +// This tag implies no guarantee between the relationship of the string view and +// the data it points to. +UPB_INLINE upb_TaggedAuxPtr +upb_TaggedAuxPtr_MakeUnknownDataAliased(const upb_StringView* sv) { + UPB_ASSERT(((uintptr_t)sv & 7) == 0); + upb_TaggedAuxPtr ptr; + ptr.ptr = (uintptr_t)sv | 4; + return ptr; +} + +typedef struct upb_Message_Internal { + // Total number of entries set in aux_data + uint32_t size; + uint32_t capacity; + // Tagged pointers to upb_StringView or upb_Extension + upb_TaggedAuxPtr aux_data[]; +} upb_Message_Internal; + +#ifdef UPB_TRACING_ENABLED +UPB_API void upb_Message_LogNewMessage(const upb_MiniTable* m, + const upb_Arena* arena); +UPB_API void upb_Message_SetNewMessageTraceHandler( + void (*handler)(const upb_MiniTable*, const upb_Arena*)); +#endif // UPB_TRACING_ENABLED + +// We want to avoid the PLT and register spills for the many tiny memsets used +// to initialize messages; the dedicated memset instructions won't do that +#ifdef __ARM_FEAT_MOPS +#define UPB_ARM_MOPS __ARM_FEAT_MOPS +#else +#define UPB_ARM_MOPS 0 +#endif + +UPB_FORCEINLINE void _upb_Message_AlignedMemsetZero(void* dst, size_t size) { + UPB_ASSUME(size % kUpb_Message_Align == 0); + UPB_ASSUME(size != 0); + UPB_ASSUME((uintptr_t)dst % kUpb_Message_Align == 0); +#if UPB_ARM64_ASM && !UPB_ARM_MOPS +#if UPB_HAS_BUILTIN(__builtin_constant_p) + if (__builtin_constant_p(size)) { + // We assume the compiler will do something intelligent with a known-length + // memset. + memset(dst, 0, size); + return; + } +#endif + char* ptr = (char*)dst; + char* end = ptr + size; + __asm__( + // Unconditionally zero the first 8 byte chunk; if the loop runs this is + // wasted work, but doing it unconditionally is cheaper than adding + // another branch. + "str xzr, [%x[ptr]]\n\t" + + // If size == 8, skip the loop. + "cmp %x[count], #8\n\t" + "b.eq 2f\n\t" + + // Loop for size >= 16. + // In each iteration, we zero 16 bytes from the ptr and 16 bytes from the + // end. These regions may overlap, which is OK; doing it this way lets us + // process two chunks per loop iteration. + "1:\n\t" + "stp xzr, xzr, [%x[ptr]], #16\n\t" // Store then increment by 16 + "stp xzr, xzr, [%x[end], #-16]!\n\t" // Decrement by 16 then store + // End the loop when pointers cross or meet. + "cmp %x[ptr], %x[end]\n\t" + "b.lo 1b\n\t" + "2:\n\t" + : [ptr] "+&r"(ptr), [end] "+&r"(end), "=m"(*(char (*)[])dst) + : [count] "r"(size) + : "cc"); + UPB_PRIVATE(upb_Xsan_MarkInitialized)(dst, size); +#else + memset(dst, 0, size); +#endif +} +#undef UPB_ARM_MOPS + +// Inline version upb_Message_New(), for internal use. +UPB_NODISCARD UPB_INLINE struct upb_Message* _upb_Message_New( + const upb_MiniTable* m, upb_Arena* a) { + UPB_PRIVATE(upb_MiniTable_CheckInvariants)(m); +#ifdef UPB_TRACING_ENABLED + upb_Message_LogNewMessage(m, a); +#endif // UPB_TRACING_ENABLED + + const size_t size = m->UPB_PRIVATE(size); + // Message sizes are aligned up when constructing minitables; telling the + // compiler this avoids redoing alignment on the malloc fast path + UPB_ASSUME(size % kUpb_Message_Align == 0); + struct upb_Message* msg = (struct upb_Message*)upb_Arena_Malloc(a, size); + if (UPB_UNLIKELY(!msg)) return NULL; + _upb_Message_AlignedMemsetZero(msg, size); + return msg; +} + +// Discards the unknown fields for this message only. +void _upb_Message_DiscardUnknown_shallow(struct upb_Message* msg); + +UPB_NODISCARD UPB_NOINLINE bool UPB_PRIVATE(_upb_Message_AddUnknownSlowPath)( + struct upb_Message* msg, const char* data, size_t len, upb_Arena* arena, + bool alias); + +typedef enum { + // Provided buffer is copied into the message. + kUpb_AddUnknown_Copy = 0, + + // The message will alias the provided buffer. + kUpb_AddUnknown_Alias = 1, + + // The message will alias the provided buffer, and we may merge the data with + // the immediately preceding unknown field if possible. + kUpb_AddUnknown_AliasAllowMerge = 2, +} upb_AddUnknownMode; + +UPB_NODISCARD UPB_INLINE bool UPB_PRIVATE( + _upb_Message_TryAddUnknownAliasAllowMerge)(struct upb_Message* msg, + const char* data, size_t len, + upb_Arena* arena, + upb_AddUnknownMode mode) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + UPB_ASSERT(mode == kUpb_AddUnknown_AliasAllowMerge); + // Aliasing parse of a message with sequential unknown fields is a simple + // pointer bump, so inline it. + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (in && in->size) { + upb_TaggedAuxPtr ptr = in->aux_data[in->size - 1]; + if (upb_TaggedAuxPtr_IsUnknownStringView(ptr)) { + upb_StringView* existing = upb_TaggedPtrAux_StringViewRepr(ptr); + // Fast path if the field we're adding is immediately after the last + // added unknown field. + // + // The caller has guaranteed to us, by passing + // kUpb_AddUnknown_AliasAllowMerge, that there is no risk that these two + // regions of memory are from different objects that are contiguous in + // memory by coincidence. + if (existing->data + existing->size == data) { + existing->size += len; + return true; + } + } + } + return false; +} + +// Adds unknown data (serialized protobuf data) to the given message. The data +// must represent one or more complete and well formed proto fields. +// +// If `alias_base` is NULL, the bytes from `data` will be copied into the +// destination arena. Otherwise it must be a pointer to the beginning of the +// buffer that `data` points into, which signals that the message must alias +// the bytes instead of copying them. The value of `alias_base` is also used +// to mark the boundary of the buffer, so that we do not inappropriately +// coalesce two buffers that are separate objects but happen to be contiguous +// in memory. +UPB_NODISCARD UPB_INLINE bool UPB_PRIVATE(_upb_Message_AddUnknown)( + struct upb_Message* msg, const char* data, size_t len, upb_Arena* arena, + upb_AddUnknownMode mode) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + if (mode == kUpb_AddUnknown_AliasAllowMerge && + UPB_PRIVATE(_upb_Message_TryAddUnknownAliasAllowMerge)(msg, data, len, + arena, mode)) { + return true; + } + return UPB_PRIVATE(_upb_Message_AddUnknownSlowPath)( + msg, data, len, arena, mode != kUpb_AddUnknown_Copy); +} + +// Adds unknown data (serialized protobuf data) to the given message. +// The data is copied into the message instance. Data when concatenated together +// must represent one or more complete and well formed proto fields, but the +// individual spans may point only to partial fields. +UPB_NODISCARD bool UPB_PRIVATE(_upb_Message_AddUnknownV)( + struct upb_Message* msg, upb_Arena* arena, upb_StringView data[], + size_t count); + +// Ensures at least one slot is available in the aux_data of this message. +// Returns false if a reallocation is needed to satisfy the request, and fails. +UPB_NODISCARD bool UPB_PRIVATE(_upb_Message_ReserveSlot)( + struct upb_Message* msg, upb_Arena* arena); + +typedef enum { + kUpb_MessageUnknownType_StringView, + kUpb_MessageUnknownType_NonCanonicalExtension, +} upb_MessageUnknownType; + +// Represents an unknown field in a message, whether it's in a serialized +// (upb_StringView) or parsed non-canonical extension (upb_Extension*) format. +typedef struct upb_MessageUnknown { + uint8_t type; + union { + upb_StringView bytes; + const upb_Extension* extension; + } value; +} upb_MessageUnknown; + +typedef enum upb_Message_DeleteUnknownStatus { + kUpb_DeleteUnknown_DeletedLast, + kUpb_DeleteUnknown_IterUpdated, + kUpb_DeleteUnknown_AllocFail, +} upb_Message_DeleteUnknownStatus; + +#define kUpb_Message_UnknownBegin 0 +#define kUpb_Message_ExtensionBegin 0 + +UPB_INLINE bool upb_Message_NextUnknown(const struct upb_Message* msg, + upb_StringView* data, uintptr_t* iter) { + const upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + size_t i = *iter; + if (in) { + while (i < in->size) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[i++]; + if (upb_TaggedAuxPtr_IsUnknownStringView(tagged_ptr)) { + *data = *upb_TaggedPtrAux_StringViewRepr(tagged_ptr); + *iter = i; + return true; + } + } + } + data->size = 0; + data->data = NULL; + *iter = i; + return false; +} + +UPB_INLINE bool upb_Message_NextExtension(const struct upb_Message* msg, + const upb_MiniTableExtension** out_e, + upb_MessageValue* out_v, + uintptr_t* iter) { + const upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + uintptr_t i = *iter; + if (in) { + while (i < in->size) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[i++]; + if (upb_TaggedAuxPtr_IsCanonicalExtension(tagged_ptr)) { + const upb_Extension* ext = + upb_TaggedAuxPtr_CanonicalExtension(tagged_ptr); + + // Empty repeated fields or maps semantically don't exist. + if (UPB_PRIVATE(_upb_Extension_IsEmpty)(ext)) continue; + + *out_e = ext->ext; + *out_v = ext->data; + *iter = i; + return true; + } + } + } + *iter = i; + + return false; +} + +UPB_INLINE bool UPB_PRIVATE(_upb_Message_NextExtensionReverse)( + const struct upb_Message* msg, const upb_MiniTableExtension** out_e, + upb_MessageValue* out_v, uintptr_t* iter) { + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (!in) return false; + uintptr_t i = *iter; + uint32_t size = in->size; + while (i < size) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[size - 1 - i]; + i++; + if (!upb_TaggedAuxPtr_IsCanonicalExtension(tagged_ptr)) { + continue; + } + const upb_Extension* ext = upb_TaggedAuxPtr_CanonicalExtension(tagged_ptr); + + // Empty repeated fields or maps semantically don't exist. + if (UPB_PRIVATE(_upb_Extension_IsEmpty)(ext)) continue; + + *out_e = ext->ext; + *out_v = ext->data; + *iter = i; + return true; + } + *iter = i; + return false; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_INTERNAL_MESSAGE_H_ */ + +// Must be last. + +#if defined(__GNUC__) && !defined(__clang__) +// GCC raises incorrect warnings in these functions. It thinks that we are +// overrunning buffers, but we carefully write the functions in this file to +// guarantee that this is impossible. GCC gets this wrong due it its failure +// to perform constant propagation as we expect: +// - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108217 +// - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108226 +// +// Unfortunately this also indicates that GCC is not optimizing away the +// switch() in cases where it should be, compromising the performance. +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#pragma GCC diagnostic ignored "-Wstringop-overflow" +#if __GNUC__ >= 11 +#pragma GCC diagnostic ignored "-Wstringop-overread" +#endif +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +// LINT.IfChange(presence_logic) + +// Hasbit access /////////////////////////////////////////////////////////////// + +UPB_INLINE bool UPB_PRIVATE(_upb_Message_GetHasbit)( + const struct upb_Message* msg, const upb_MiniTableField* f) { + const uint16_t offset = UPB_PRIVATE(_upb_MiniTableField_HasbitOffset)(f); + const char mask = UPB_PRIVATE(_upb_MiniTableField_HasbitMask)(f); + + return (*UPB_PTR_AT(msg, offset, const char) & mask) != 0; +} + +UPB_INLINE void UPB_PRIVATE(_upb_Message_SetHasbit)( + const struct upb_Message* msg, const upb_MiniTableField* f) { + const uint16_t offset = UPB_PRIVATE(_upb_MiniTableField_HasbitOffset)(f); + const char mask = UPB_PRIVATE(_upb_MiniTableField_HasbitMask)(f); + + (*UPB_PTR_AT(msg, offset, char)) |= mask; +} + +UPB_INLINE void UPB_PRIVATE(_upb_Message_ClearHasbit)( + const struct upb_Message* msg, const upb_MiniTableField* f) { + const uint16_t offset = UPB_PRIVATE(_upb_MiniTableField_HasbitOffset)(f); + const char mask = UPB_PRIVATE(_upb_MiniTableField_HasbitMask)(f); + + (*UPB_PTR_AT(msg, offset, char)) &= ~mask; +} + +// Oneof case access /////////////////////////////////////////////////////////// + +UPB_INLINE uint32_t* UPB_PRIVATE(_upb_Message_OneofCasePtr)( + struct upb_Message* msg, const upb_MiniTableField* f) { + return UPB_PTR_AT(msg, UPB_PRIVATE(_upb_MiniTableField_OneofOffset)(f), + uint32_t); +} + +UPB_INLINE uint32_t UPB_PRIVATE(_upb_Message_GetOneofCase)( + const struct upb_Message* msg, const upb_MiniTableField* f) { + const uint32_t* ptr = + UPB_PRIVATE(_upb_Message_OneofCasePtr)((struct upb_Message*)msg, f); + + return *ptr; +} + +UPB_INLINE void UPB_PRIVATE(_upb_Message_SetOneofCase)( + struct upb_Message* msg, const upb_MiniTableField* f) { + uint32_t* ptr = UPB_PRIVATE(_upb_Message_OneofCasePtr)(msg, f); + + *ptr = upb_MiniTableField_Number(f); +} + +// Returns true if the given field is the current oneof case. +// Does nothing if it is not the current oneof case. +UPB_INLINE bool UPB_PRIVATE(_upb_Message_ClearOneofCase)( + struct upb_Message* msg, const upb_MiniTableField* f) { + uint32_t* ptr = UPB_PRIVATE(_upb_Message_OneofCasePtr)(msg, f); + + if (*ptr != upb_MiniTableField_Number(f)) return false; + *ptr = 0; + return true; +} + +UPB_API_INLINE uint32_t upb_Message_WhichOneofFieldNumber( + const struct upb_Message* message, const upb_MiniTableField* oneof_field) { + UPB_ASSUME(upb_MiniTableField_IsInOneof(oneof_field)); + return UPB_PRIVATE(_upb_Message_GetOneofCase)(message, oneof_field); +} + +UPB_API_INLINE const upb_MiniTableField* upb_Message_WhichOneof( + const struct upb_Message* msg, const upb_MiniTable* m, + const upb_MiniTableField* f) { + uint32_t field_number = upb_Message_WhichOneofFieldNumber(msg, f); + if (field_number == 0) { + // No field in the oneof is set. + return NULL; + } + return upb_MiniTable_FindFieldByNumber(m, field_number); +} + +// LINT.ThenChange(GoogleInternalName2) + +// Returns false if the message is missing any of its required fields. +UPB_INLINE bool UPB_PRIVATE(_upb_Message_IsInitializedShallow)( + const struct upb_Message* msg, const upb_MiniTable* m) { + uint64_t bits; + memcpy(&bits, msg + 1, sizeof(bits)); + bits = upb_BigEndian64(bits); + return (UPB_PRIVATE(_upb_MiniTable_RequiredMask)(m) & ~bits) == 0; +} + +// LINT.IfChange(message_raw_fields) +UPB_INLINE void* UPB_PRIVATE(_upb_Message_MutableDataPtr)( + struct upb_Message* msg, const upb_MiniTableField* f) { + return (char*)msg + f->UPB_ONLYBITS(offset); +} + +UPB_INLINE const void* UPB_PRIVATE(_upb_Message_DataPtr)( + const struct upb_Message* msg, const upb_MiniTableField* f) { + return (const char*)msg + f->UPB_ONLYBITS(offset); +} + +UPB_INLINE void UPB_PRIVATE(_upb_Message_SetPresence)( + struct upb_Message* msg, const upb_MiniTableField* f) { + if (UPB_PRIVATE(_upb_MiniTableField_HasHasbit)(f)) { + UPB_PRIVATE(_upb_Message_SetHasbit)(msg, f); + } else if (upb_MiniTableField_IsInOneof(f)) { + UPB_PRIVATE(_upb_Message_SetOneofCase)(msg, f); + } +} + +UPB_INLINE_IF_NOT_GCC void UPB_PRIVATE(_upb_MiniTableField_DataCopy)( + const upb_MiniTableField* f, void* to, const void* from) { + switch (UPB_PRIVATE(_upb_MiniTableField_GetRep)(f)) { + case kUpb_FieldRep_1Byte: + memcpy(to, from, 1); + return; + case kUpb_FieldRep_4Byte: + memcpy(to, from, 4); + return; + case kUpb_FieldRep_8Byte: + memcpy(to, from, 8); + return; + case kUpb_FieldRep_StringView: { + memcpy(to, from, sizeof(upb_StringView)); + return; + } + } + UPB_UNREACHABLE(); +} +// LINT.ThenChange(//depot/google3/third_party/upb/bits/golang/message.go:message_raw_fields) + +UPB_INLINE_IF_NOT_GCC bool UPB_PRIVATE(_upb_MiniTableField_DataEquals)( + const upb_MiniTableField* f, const void* a, const void* b) { + switch (UPB_PRIVATE(_upb_MiniTableField_GetRep)(f)) { + case kUpb_FieldRep_1Byte: + return memcmp(a, b, 1) == 0; + case kUpb_FieldRep_4Byte: + return memcmp(a, b, 4) == 0; + case kUpb_FieldRep_8Byte: + return memcmp(a, b, 8) == 0; + case kUpb_FieldRep_StringView: { + const upb_StringView sa = *(const upb_StringView*)a; + const upb_StringView sb = *(const upb_StringView*)b; + return upb_StringView_IsEqual(sa, sb); + } + } + UPB_UNREACHABLE(); +} + +UPB_INLINE void UPB_PRIVATE(_upb_MiniTableField_DataClear)( + const upb_MiniTableField* f, void* val) { + const char zero[16] = {0}; + UPB_PRIVATE(_upb_MiniTableField_DataCopy)(f, val, zero); +} + +UPB_INLINE bool UPB_PRIVATE(_upb_MiniTableField_DataIsZero)( + const upb_MiniTableField* f, const void* val) { + const char zero[16] = {0}; + return UPB_PRIVATE(_upb_MiniTableField_DataEquals)(f, val, zero); +} + +// Here we define universal getter/setter functions for message fields. +// These look very branchy and inefficient, but as long as the MiniTableField +// values are known at compile time, all the branches are optimized away and +// we are left with ideal code. This can happen either through through +// literals or UPB_ASSUME(): +// +// // Via struct literals. +// bool FooMessage_set_bool_field(const upb_Message* msg, bool val) { +// const upb_MiniTableField field = {1, 0, 0, /* etc... */}; +// // All value in "field" are compile-time known. +// upb_Message_SetBaseField(msg, &field, &value); +// } +// +// // Via UPB_ASSUME(). +// UPB_INLINE bool upb_Message_SetBool(upb_Message* msg, +// const upb_MiniTableField* field, +// bool value, upb_Arena* a) { +// UPB_ASSUME(field->UPB_PRIVATE(descriptortype) == kUpb_FieldType_Bool); +// UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(field) == +// kUpb_FieldRep_1Byte); +// upb_Message_SetField(msg, field, &value, a); +// } +// +// As a result, we can use these universal getters/setters for *all* message +// accessors: generated code, MiniTable accessors, and reflection. The only +// exception is the binary encoder/decoder, which need to be a bit more clever +// about how they read/write the message data, for efficiency. +// +// These functions work on both extensions and non-extensions. If the field +// of a setter is known to be a non-extension, the arena may be NULL and the +// returned bool value may be ignored since it will always succeed. + +UPB_API_INLINE bool upb_Message_HasBaseField(const struct upb_Message* msg, + const upb_MiniTableField* field) { + UPB_ASSERT(upb_MiniTableField_HasPresence(field)); + UPB_ASSUME(!upb_MiniTableField_IsExtension(field)); + if (upb_MiniTableField_IsInOneof(field)) { + return UPB_PRIVATE(_upb_Message_GetOneofCase)(msg, field) == + upb_MiniTableField_Number(field); + } else { + return UPB_PRIVATE(_upb_Message_GetHasbit)(msg, field); + } +} + +UPB_API_INLINE bool upb_Message_HasExtension(const struct upb_Message* msg, + const upb_MiniTableExtension* e) { + UPB_ASSERT(upb_MiniTableField_HasPresence(&e->UPB_PRIVATE(field))); + return UPB_PRIVATE(_upb_Message_Getext)(msg, e) != NULL; +} + +UPB_FORCEINLINE void _upb_Message_GetNonExtensionField( + const struct upb_Message* msg, const upb_MiniTableField* field, + const void* default_val, void* val) { + UPB_ASSUME(!upb_MiniTableField_IsExtension(field)); + if ((upb_MiniTableField_IsInOneof(field) || + !UPB_PRIVATE(_upb_MiniTableField_DataIsZero)(field, default_val)) && + !upb_Message_HasBaseField(msg, field)) { + UPB_PRIVATE(_upb_MiniTableField_DataCopy)(field, val, default_val); + return; + } + UPB_PRIVATE(_upb_MiniTableField_DataCopy) + (field, val, UPB_PRIVATE(_upb_Message_DataPtr)(msg, field)); +} + +UPB_INLINE void _upb_Message_GetExtensionField( + const struct upb_Message* msg, const upb_MiniTableExtension* mt_ext, + const void* default_val, void* val) { + const upb_Extension* ext = UPB_PRIVATE(_upb_Message_Getext)(msg, mt_ext); + const upb_MiniTableField* f = &mt_ext->UPB_PRIVATE(field); + UPB_ASSUME(upb_MiniTableField_IsExtension(f)); + + if (ext) { + UPB_PRIVATE(_upb_MiniTableField_DataCopy)(f, val, &ext->data); + } else { + UPB_PRIVATE(_upb_MiniTableField_DataCopy)(f, val, default_val); + } +} + +// NOTE: The default_val is only used for fields that support presence. +// For repeated/map fields, the resulting upb_Array*/upb_Map* can be NULL if a +// upb_Array/upb_Map has not been allocated yet. Array/map fields do not have +// presence, so this is semantically identical to a pointer to an empty +// array/map, and must be treated the same for all semantic purposes. +UPB_API_INLINE upb_MessageValue upb_Message_GetField( + const struct upb_Message* msg, const upb_MiniTableField* field, + upb_MessageValue default_val) { + upb_MessageValue ret; + if (upb_MiniTableField_IsExtension(field)) { + _upb_Message_GetExtensionField(msg, (upb_MiniTableExtension*)field, + &default_val, &ret); + } else { + _upb_Message_GetNonExtensionField(msg, field, &default_val, &ret); + } + return ret; +} + +UPB_API_INLINE void upb_Message_SetBaseField(struct upb_Message* msg, + const upb_MiniTableField* f, + const void* val) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + UPB_ASSUME(!upb_MiniTableField_IsExtension(f)); + UPB_PRIVATE(_upb_Message_SetPresence)(msg, f); + UPB_PRIVATE(_upb_MiniTableField_DataCopy) + (f, UPB_PRIVATE(_upb_Message_MutableDataPtr)(msg, f), val); +} + +UPB_API_INLINE bool upb_Message_SetExtension(struct upb_Message* msg, + const upb_MiniTableExtension* e, + const void* val, upb_Arena* a) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + UPB_ASSERT(a); + upb_Extension* ext = + UPB_PRIVATE(_upb_Message_GetOrCreateExtension)(msg, e, a); + if (!ext) return false; + UPB_PRIVATE(_upb_MiniTableField_DataCopy) + (&e->UPB_PRIVATE(field), &ext->data, val); + return true; +} + +UPB_API_INLINE bool UPB_PRIVATE(_upb_Message_SetNonCanonicalExtension)( + struct upb_Message* msg, const upb_MiniTableExtension* e, const void* val, + upb_Arena* a) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + UPB_ASSERT(a); + upb_Extension* ext = + UPB_PRIVATE(_upb_Message_CreateNonCanonicalExtension)(msg, e, a); + if (!ext) return false; + UPB_PRIVATE(_upb_MiniTableField_DataCopy) + (&e->UPB_PRIVATE(field), &ext->data, val); + return true; +} + +// Sets the value of the given field in the given msg. The return value is true +// if the operation completed successfully, or false if memory allocation +// failed. +UPB_INLINE bool UPB_PRIVATE(_upb_Message_SetField)(struct upb_Message* msg, + const upb_MiniTableField* f, + upb_MessageValue val, + upb_Arena* a) { + if (upb_MiniTableField_IsExtension(f)) { + const upb_MiniTableExtension* ext = (const upb_MiniTableExtension*)f; + return upb_Message_SetExtension(msg, ext, &val, a); + } else { + upb_Message_SetBaseField(msg, f, &val); + return true; + } +} + +UPB_API_INLINE const upb_Array* upb_Message_GetArray( + const struct upb_Message* msg, const upb_MiniTableField* f) { + UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)(f); + upb_Array* ret; + const upb_Array* default_val = NULL; + _upb_Message_GetNonExtensionField(msg, f, &default_val, &ret); + return ret; +} + +UPB_API_INLINE bool upb_Message_GetBool(const struct upb_Message* msg, + const upb_MiniTableField* f, + bool default_val) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Bool); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_1Byte); + upb_MessageValue def; + def.bool_val = default_val; + return upb_Message_GetField(msg, f, def).bool_val; +} + +UPB_API_INLINE double upb_Message_GetDouble(const struct upb_Message* msg, + const upb_MiniTableField* f, + double default_val) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Double); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_8Byte); + + upb_MessageValue def; + def.double_val = default_val; + return upb_Message_GetField(msg, f, def).double_val; +} + +UPB_API_INLINE float upb_Message_GetFloat(const struct upb_Message* msg, + const upb_MiniTableField* f, + float default_val) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Float); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_4Byte); + + upb_MessageValue def; + def.float_val = default_val; + return upb_Message_GetField(msg, f, def).float_val; +} + +UPB_API_INLINE int32_t upb_Message_GetInt32(const struct upb_Message* msg, + const upb_MiniTableField* f, + int32_t default_val) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Int32 || + upb_MiniTableField_CType(f) == kUpb_CType_Enum); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_4Byte); + + upb_MessageValue def; + def.int32_val = default_val; + return upb_Message_GetField(msg, f, def).int32_val; +} + +UPB_API_INLINE int64_t upb_Message_GetInt64(const struct upb_Message* msg, + const upb_MiniTableField* f, + int64_t default_val) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Int64); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_8Byte); + + upb_MessageValue def; + def.int64_val = default_val; + return upb_Message_GetField(msg, f, def).int64_val; +} + +UPB_API_INLINE const struct upb_Map* upb_Message_GetMap( + const struct upb_Message* msg, const upb_MiniTableField* f) { + UPB_PRIVATE(_upb_MiniTableField_CheckIsMap)(f); + struct upb_Map* ret; + const struct upb_Map* default_val = NULL; + _upb_Message_GetNonExtensionField(msg, f, &default_val, &ret); + return ret; +} + +UPB_API_INLINE const struct upb_Message* upb_Message_GetMessage( + const struct upb_Message* msg, const upb_MiniTableField* f) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Message); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == + UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte)); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + upb_MessageValue def; + def.msg_val = NULL; + return upb_Message_GetField(msg, f, def).msg_val; +} + +UPB_API_INLINE upb_Array* upb_Message_GetMutableArray( + struct upb_Message* msg, const upb_MiniTableField* f) { + UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)(f); + return (upb_Array*)upb_Message_GetArray(msg, f); +} + +UPB_API_INLINE struct upb_Map* upb_Message_GetMutableMap( + struct upb_Message* msg, const upb_MiniTableField* f) { + return (struct upb_Map*)upb_Message_GetMap(msg, f); +} + +UPB_API_INLINE struct upb_Message* upb_Message_GetMutableMessage( + struct upb_Message* msg, const upb_MiniTableField* f) { + return (struct upb_Message*)upb_Message_GetMessage(msg, f); +} + +UPB_NODISCARD UPB_API_INLINE upb_Array* upb_Message_GetOrCreateMutableArray( + struct upb_Message* msg, const upb_MiniTableField* f, upb_Arena* arena) { + UPB_ASSERT(arena); + UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)(f); + upb_Array* array = upb_Message_GetMutableArray(msg, f); + if (!array) { + array = UPB_PRIVATE(_upb_Array_New)( + arena, _UPB_ARRAY_DEFAULT_INITIAL_SIZE, + UPB_PRIVATE(_upb_MiniTableField_ElemSizeLg2)(f)); + // Check again due to: https://godbolt.org/z/7WfaoKG1r + UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)(f); + upb_MessageValue val; + val.array_val = array; + UPB_PRIVATE(_upb_Message_SetField)(msg, f, val, arena); + } + return array; +} + +UPB_NODISCARD UPB_INLINE struct upb_Map* _upb_Message_GetOrCreateMutableMap( + struct upb_Message* msg, const upb_MiniTableField* field, size_t key_size, + size_t val_size, upb_Arena* arena) { + UPB_PRIVATE(_upb_MiniTableField_CheckIsMap)(field); + struct upb_Map* map = NULL; + struct upb_Map* default_map_value = NULL; + _upb_Message_GetNonExtensionField(msg, field, &default_map_value, &map); + if (!map) { + map = _upb_Map_New(arena, key_size, val_size); + // Check again due to: https://godbolt.org/z/7WfaoKG1r + UPB_PRIVATE(_upb_MiniTableField_CheckIsMap)(field); + upb_Message_SetBaseField(msg, field, &map); + } + return map; +} + +UPB_NODISCARD UPB_API_INLINE struct upb_Map* upb_Message_GetOrCreateMutableMap( + struct upb_Message* msg, const upb_MiniTable* map_entry_mini_table, + const upb_MiniTableField* f, upb_Arena* arena) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Message); + const upb_MiniTableField* map_entry_key_field = + &map_entry_mini_table->UPB_ONLYBITS(fields)[0]; + const upb_MiniTableField* map_entry_value_field = + &map_entry_mini_table->UPB_ONLYBITS(fields)[1]; + return _upb_Message_GetOrCreateMutableMap( + msg, f, _upb_Map_CTypeSize(upb_MiniTableField_CType(map_entry_key_field)), + _upb_Map_CTypeSize(upb_MiniTableField_CType(map_entry_value_field)), + arena); +} + +UPB_NODISCARD UPB_API_INLINE struct upb_Message* +upb_Message_GetOrCreateMutableMessage(struct upb_Message* msg, + const upb_MiniTableField* f, + upb_Arena* arena) { + UPB_ASSERT(arena); + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Message); + UPB_ASSUME(!upb_MiniTableField_IsExtension(f)); + struct upb_Message* sub_message = + *UPB_PTR_AT(msg, f->UPB_ONLYBITS(offset), struct upb_Message*); + if (!sub_message) { + const upb_MiniTable* sub_mini_table = upb_MiniTable_SubMessage(f); + UPB_ASSERT(sub_mini_table); + sub_message = _upb_Message_New(sub_mini_table, arena); + *UPB_PTR_AT(msg, f->UPB_ONLYBITS(offset), struct upb_Message*) = + sub_message; + UPB_PRIVATE(_upb_Message_SetPresence)(msg, f); + } + return sub_message; +} + +UPB_API_INLINE upb_StringView +upb_Message_GetString(const struct upb_Message* msg, + const upb_MiniTableField* f, upb_StringView default_val) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_String || + upb_MiniTableField_CType(f) == kUpb_CType_Bytes); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == + kUpb_FieldRep_StringView); + + upb_MessageValue def; + def.str_val = default_val; + return upb_Message_GetField(msg, f, def).str_val; +} + +UPB_API_INLINE uint32_t upb_Message_GetUInt32(const struct upb_Message* msg, + const upb_MiniTableField* f, + uint32_t default_val) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_UInt32); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_4Byte); + + upb_MessageValue def; + def.uint32_val = default_val; + return upb_Message_GetField(msg, f, def).uint32_val; +} + +UPB_API_INLINE uint64_t upb_Message_GetUInt64(const struct upb_Message* msg, + const upb_MiniTableField* f, + uint64_t default_val) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_UInt64); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_8Byte); + + upb_MessageValue def; + def.uint64_val = default_val; + return upb_Message_GetField(msg, f, def).uint64_val; +} + +// BaseField Setters /////////////////////////////////////////////////////////// + +UPB_API_INLINE void upb_Message_SetBaseFieldBool(struct upb_Message* msg, + const upb_MiniTableField* f, + bool value) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Bool); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_1Byte); + upb_Message_SetBaseField(msg, f, &value); +} + +UPB_API_INLINE void upb_Message_SetBaseFieldDouble(struct upb_Message* msg, + const upb_MiniTableField* f, + double value) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Double); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_8Byte); + upb_Message_SetBaseField(msg, f, &value); +} + +UPB_API_INLINE void upb_Message_SetBaseFieldFloat(struct upb_Message* msg, + const upb_MiniTableField* f, + float value) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Float); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_4Byte); + upb_Message_SetBaseField(msg, f, &value); +} + +UPB_API_INLINE void upb_Message_SetBaseFieldInt32(struct upb_Message* msg, + const upb_MiniTableField* f, + int32_t value) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Int32 || + upb_MiniTableField_CType(f) == kUpb_CType_Enum); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_4Byte); + upb_Message_SetBaseField(msg, f, &value); +} + +UPB_API_INLINE void upb_Message_SetBaseFieldInt64(struct upb_Message* msg, + const upb_MiniTableField* f, + int64_t value) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Int64); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_8Byte); + upb_Message_SetBaseField(msg, f, &value); +} + +UPB_API_INLINE void upb_Message_SetBaseFieldMessage(struct upb_Message* msg, + const upb_MiniTableField* f, + struct upb_Message* value) { + // TODO - Re-enable this assertion. + // UPB_ASSERT(value); + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_Message); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == + UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte)); + upb_Message_SetBaseField(msg, f, &value); +} + +UPB_API_INLINE void upb_Message_SetBaseFieldArray(struct upb_Message* msg, + const upb_MiniTableField* f, + upb_Array* arr, + const upb_MiniTable* arr_mt) { + UPB_ASSERT(upb_MiniTableField_IsArray(f)); + UPB_ASSERT(arr_mt == upb_MiniTable_SubMessage(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == + kUpb_FieldRep_NativePointer); + upb_Message_SetBaseField(msg, f, &arr); +} + +UPB_API_INLINE void upb_Message_SetBaseFieldMap( + struct upb_Message* msg, const upb_MiniTableField* f, struct upb_Map* map, + const upb_MiniTable* map_entry_mt) { + UPB_ASSERT(upb_MiniTableField_IsMap(f)); + UPB_ASSERT(map_entry_mt == upb_MiniTable_MapEntrySubMessage(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == + kUpb_FieldRep_NativePointer); + upb_Message_SetBaseField(msg, f, &map); +} + +UPB_API_INLINE void upb_Message_SetBaseFieldString(struct upb_Message* msg, + const upb_MiniTableField* f, + upb_StringView value) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_String || + upb_MiniTableField_CType(f) == kUpb_CType_Bytes); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == + kUpb_FieldRep_StringView); + upb_Message_SetBaseField(msg, f, &value); +} + +UPB_API_INLINE void upb_Message_SetBaseFieldUInt32(struct upb_Message* msg, + const upb_MiniTableField* f, + uint32_t value) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_UInt32); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_4Byte); + upb_Message_SetBaseField(msg, f, &value); +} + +UPB_API_INLINE void upb_Message_SetBaseFieldUInt64(struct upb_Message* msg, + const upb_MiniTableField* f, + uint64_t value) { + UPB_ASSUME(upb_MiniTableField_CType(f) == kUpb_CType_UInt64); + UPB_ASSUME(upb_MiniTableField_IsScalar(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_8Byte); + upb_Message_SetBaseField(msg, f, &value); +} + +UPB_API_INLINE void upb_Message_SetClosedEnum(struct upb_Message* msg, + const upb_MiniTableField* f, + int32_t value) { + UPB_ASSERT(upb_MiniTableField_IsClosedEnum(f)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(f) == kUpb_FieldRep_4Byte); + UPB_ASSERT(upb_MiniTableEnum_CheckValue(upb_MiniTable_GetSubEnumTable(f), + (uint32_t)value)); + upb_Message_SetBaseField(msg, f, &value); +} + +// Extension Setters /////////////////////////////////////////////////////////// + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionMessage( + struct upb_Message* msg, const upb_MiniTableExtension* e, + struct upb_Message* value, upb_Arena* a) { + UPB_ASSERT(value); + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Message); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte)); + return upb_Message_SetExtension(msg, e, &value, a); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionBool( + struct upb_Message* msg, const upb_MiniTableExtension* e, bool value, + upb_Arena* a) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Bool); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_1Byte); + return upb_Message_SetExtension(msg, e, &value, a); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionDouble( + struct upb_Message* msg, const upb_MiniTableExtension* e, double value, + upb_Arena* a) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Double); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_8Byte); + return upb_Message_SetExtension(msg, e, &value, a); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionFloat( + struct upb_Message* msg, const upb_MiniTableExtension* e, float value, + upb_Arena* a) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Float); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_4Byte); + return upb_Message_SetExtension(msg, e, &value, a); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionInt32( + struct upb_Message* msg, const upb_MiniTableExtension* e, int32_t value, + upb_Arena* a) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Int32 || + upb_MiniTableExtension_CType(e) == kUpb_CType_Enum); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_4Byte); + return upb_Message_SetExtension(msg, e, &value, a); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionInt64( + struct upb_Message* msg, const upb_MiniTableExtension* e, int64_t value, + upb_Arena* a) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Int64); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_8Byte); + return upb_Message_SetExtension(msg, e, &value, a); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionString( + struct upb_Message* msg, const upb_MiniTableExtension* e, + upb_StringView value, upb_Arena* a) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_String || + upb_MiniTableExtension_CType(e) == kUpb_CType_Bytes); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_StringView); + return upb_Message_SetExtension(msg, e, &value, a); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionUInt32( + struct upb_Message* msg, const upb_MiniTableExtension* e, uint32_t value, + upb_Arena* a) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_UInt32); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_4Byte); + return upb_Message_SetExtension(msg, e, &value, a); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionUInt64( + struct upb_Message* msg, const upb_MiniTableExtension* e, uint64_t value, + upb_Arena* a) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_UInt64); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_8Byte); + return upb_Message_SetExtension(msg, e, &value, a); +} + +// Universal Setters /////////////////////////////////////////////////////////// + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetBool( + struct upb_Message* msg, const upb_MiniTableField* f, bool value, + upb_Arena* a) { + return upb_MiniTableField_IsExtension(f) + ? upb_Message_SetExtensionBool( + msg, (const upb_MiniTableExtension*)f, value, a) + : (upb_Message_SetBaseFieldBool(msg, f, value), true); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetDouble( + struct upb_Message* msg, const upb_MiniTableField* f, double value, + upb_Arena* a) { + return upb_MiniTableField_IsExtension(f) + ? upb_Message_SetExtensionDouble( + msg, (const upb_MiniTableExtension*)f, value, a) + : (upb_Message_SetBaseFieldDouble(msg, f, value), true); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetFloat( + struct upb_Message* msg, const upb_MiniTableField* f, float value, + upb_Arena* a) { + return upb_MiniTableField_IsExtension(f) + ? upb_Message_SetExtensionFloat( + msg, (const upb_MiniTableExtension*)f, value, a) + : (upb_Message_SetBaseFieldFloat(msg, f, value), true); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetInt32( + struct upb_Message* msg, const upb_MiniTableField* f, int32_t value, + upb_Arena* a) { + return upb_MiniTableField_IsExtension(f) + ? upb_Message_SetExtensionInt32( + msg, (const upb_MiniTableExtension*)f, value, a) + : (upb_Message_SetBaseFieldInt32(msg, f, value), true); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetInt64( + struct upb_Message* msg, const upb_MiniTableField* f, int64_t value, + upb_Arena* a) { + return upb_MiniTableField_IsExtension(f) + ? upb_Message_SetExtensionInt64( + msg, (const upb_MiniTableExtension*)f, value, a) + : (upb_Message_SetBaseFieldInt64(msg, f, value), true); +} + +// Sets the value of a message-typed field. The mini_tables of `msg` and +// `value` must have been linked for this to work correctly. +UPB_API_INLINE void upb_Message_SetMessage(struct upb_Message* msg, + const upb_MiniTableField* f, + struct upb_Message* value) { + UPB_ASSERT(!upb_MiniTableField_IsExtension(f)); + upb_Message_SetBaseFieldMessage(msg, f, value); +} + +// Sets the value of a `string` or `bytes` field. The bytes of the value are not +// copied, so it is the caller's responsibility to ensure that they remain valid +// for the lifetime of `msg`. That might be done by copying them into the given +// arena, or by fusing that arena with the arena the bytes live in, for example. +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetString( + struct upb_Message* msg, const upb_MiniTableField* f, upb_StringView value, + upb_Arena* a) { + return upb_MiniTableField_IsExtension(f) + ? upb_Message_SetExtensionString( + msg, (const upb_MiniTableExtension*)f, value, a) + : (upb_Message_SetBaseFieldString(msg, f, value), true); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetUInt32( + struct upb_Message* msg, const upb_MiniTableField* f, uint32_t value, + upb_Arena* a) { + return upb_MiniTableField_IsExtension(f) + ? upb_Message_SetExtensionUInt32( + msg, (const upb_MiniTableExtension*)f, value, a) + : (upb_Message_SetBaseFieldUInt32(msg, f, value), true); +} + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetUInt64( + struct upb_Message* msg, const upb_MiniTableField* f, uint64_t value, + upb_Arena* a) { + return upb_MiniTableField_IsExtension(f) + ? upb_Message_SetExtensionUInt64( + msg, (const upb_MiniTableExtension*)f, value, a) + : (upb_Message_SetBaseFieldUInt64(msg, f, value), true); +} + +UPB_API_INLINE void upb_Message_Clear(struct upb_Message* msg, + const upb_MiniTable* m) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + memset(msg, 0, m->UPB_PRIVATE(size)); + if (in) { + // Reset the internal buffer to empty. + in->size = 0; + } +} + +UPB_API_INLINE void upb_Message_ClearBaseField(struct upb_Message* msg, + const upb_MiniTableField* f) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + if (UPB_PRIVATE(_upb_MiniTableField_HasHasbit)(f)) { + UPB_PRIVATE(_upb_Message_ClearHasbit)(msg, f); + } else if (upb_MiniTableField_IsInOneof(f)) { + uint32_t* ptr = UPB_PRIVATE(_upb_Message_OneofCasePtr)(msg, f); + if (*ptr != upb_MiniTableField_Number(f)) return; + *ptr = 0; + } + const char zeros[16] = {0}; + UPB_PRIVATE(_upb_MiniTableField_DataCopy) + (f, UPB_PRIVATE(_upb_Message_MutableDataPtr)(msg, f), zeros); +} + +UPB_API_INLINE void upb_Message_ClearExtension( + struct upb_Message* msg, const upb_MiniTableExtension* e) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (!in) return; + for (size_t i = 0; i < in->size; i++) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[i]; + if (upb_TaggedAuxPtr_IsCanonicalExtension(tagged_ptr)) { + const upb_Extension* ext = + upb_TaggedAuxPtr_CanonicalExtension(tagged_ptr); + if (ext->ext == e) { + in->aux_data[i] = upb_TaggedAuxPtr_Null(); + return; + } + } + } +} + +UPB_API_INLINE void upb_Message_ClearOneof(struct upb_Message* msg, + const upb_MiniTable* m, + const upb_MiniTableField* f) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + uint32_t field_number = upb_Message_WhichOneofFieldNumber(msg, f); + if (field_number == 0) { + // No field in the oneof is set. + return; + } + + const upb_MiniTableField* field = + upb_MiniTable_FindFieldByNumber(m, field_number); + upb_Message_ClearBaseField(msg, field); +} + +UPB_NODISCARD UPB_API_INLINE void* upb_Message_ResizeArrayUninitialized( + struct upb_Message* msg, const upb_MiniTableField* f, size_t size, + upb_Arena* arena) { + UPB_PRIVATE(_upb_MiniTableField_CheckIsArray)(f); + upb_Array* arr = upb_Message_GetOrCreateMutableArray(msg, f, arena); + if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(arr, size, arena)) { + return NULL; + } + return upb_Array_MutableDataPtr(arr); +} + +UPB_API_INLINE bool upb_Message_GetExtensionBool( + const struct upb_Message* msg, const upb_MiniTableExtension* e, + bool default_val) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Bool); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_1Byte); + bool ret; + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +UPB_API_INLINE double upb_Message_GetExtensionDouble( + const struct upb_Message* msg, const upb_MiniTableExtension* e, + double default_val) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Double); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_8Byte); + double ret; + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +UPB_API_INLINE float upb_Message_GetExtensionFloat( + const struct upb_Message* msg, const upb_MiniTableExtension* e, + float default_val) { + float ret; + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Float); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_4Byte); + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +UPB_API_INLINE int32_t upb_Message_GetExtensionInt32( + const struct upb_Message* msg, const upb_MiniTableExtension* e, + int32_t default_val) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Int32 || + upb_MiniTableExtension_CType(e) == kUpb_CType_Enum); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_4Byte); + int32_t ret; + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +UPB_API_INLINE int64_t upb_Message_GetExtensionInt64( + const struct upb_Message* msg, const upb_MiniTableExtension* e, + int64_t default_val) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Int64); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_8Byte); + int64_t ret; + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +UPB_API_INLINE uint32_t upb_Message_GetExtensionUInt32( + const struct upb_Message* msg, const upb_MiniTableExtension* e, + uint32_t default_val) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_UInt32); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_4Byte); + uint32_t ret; + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +UPB_API_INLINE uint64_t upb_Message_GetExtensionUInt64( + const struct upb_Message* msg, const upb_MiniTableExtension* e, + uint64_t default_val) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_UInt64); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_8Byte); + uint64_t ret; + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +UPB_API_INLINE upb_StringView upb_Message_GetExtensionString( + const struct upb_Message* msg, const upb_MiniTableExtension* e, + upb_StringView default_val) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_String || + upb_MiniTableExtension_CType(e) == kUpb_CType_Bytes); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + kUpb_FieldRep_StringView); + upb_StringView ret; + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +UPB_API_INLINE struct upb_Message* upb_Message_GetExtensionMessage( + const struct upb_Message* msg, const upb_MiniTableExtension* e, + struct upb_Message* default_val) { + UPB_ASSUME(upb_MiniTableExtension_CType(e) == kUpb_CType_Message); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableExtension_GetRep)(e) == + UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte)); + struct upb_Message* ret; + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +// Repeated +UPB_API_INLINE const upb_Array* upb_Message_GetExtensionArray( + const struct upb_Message* msg, const upb_MiniTableExtension* e) { + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(&e->UPB_PRIVATE(field)) == + kUpb_FieldRep_NativePointer); + UPB_ASSUME(upb_MiniTableField_IsArray(&e->UPB_PRIVATE(field))); + UPB_ASSUME(e->UPB_PRIVATE(field).presence == 0); + upb_Array* ret; + const upb_Array* default_val = NULL; + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +UPB_API_INLINE upb_Array* upb_Message_GetExtensionMutableArray( + struct upb_Message* msg, const upb_MiniTableExtension* e) { + UPB_ASSERT(!upb_Message_IsFrozen(msg)); + UPB_ASSUME(UPB_PRIVATE(_upb_MiniTableField_GetRep)(&e->UPB_PRIVATE(field)) == + kUpb_FieldRep_NativePointer); + UPB_ASSUME(upb_MiniTableField_IsArray(&e->UPB_PRIVATE(field))); + UPB_ASSUME(e->UPB_PRIVATE(field).presence == 0); + upb_Array* ret; + upb_Array* default_val = NULL; + _upb_Message_GetExtensionField(msg, e, &default_val, &ret); + return ret; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic pop +#endif + + +#endif // UPB_MESSAGE_INTERNAL_ACCESSORS_H_ + +#ifndef UPB_MESSAGE_MAP_H_ +#define UPB_MESSAGE_MAP_H_ + +#include + + +// Must be last. + +typedef struct upb_Map upb_Map; + +#ifdef __cplusplus +extern "C" { +#endif + +// Creates a new map on the given arena with the given key/value size. +UPB_NODISCARD UPB_API upb_Map* upb_Map_New(upb_Arena* a, upb_CType key_type, + upb_CType value_type); + +// Returns the number of entries in the map. +UPB_API size_t upb_Map_Size(const upb_Map* map); + +// Stores a value for the given key into |*val| (or the zero value if the key is +// not present). Returns whether the key was present. The |val| pointer may be +// NULL, in which case the function tests whether the given key is present. +UPB_API bool upb_Map_Get(const upb_Map* map, upb_MessageValue key, + upb_MessageValue* val); + +// Returns a mutable pointer to the value for the given key. Returns NULL if the +// key is not present. +// This function is only legal to call for maps that contain messages. +UPB_API struct upb_Message* upb_Map_GetMutable(upb_Map* map, + upb_MessageValue key); + +// Removes all entries in the map. +UPB_API void upb_Map_Clear(upb_Map* map); + +// Sets the given key to the given value, returning whether the key was inserted +// or replaced. If the key was inserted, then any existing iterators will be +// invalidated. +UPB_NODISCARD UPB_API upb_MapInsertStatus upb_Map_Insert(upb_Map* map, + upb_MessageValue key, + upb_MessageValue val, + upb_Arena* arena); + +// Sets the given key to the given value. Returns false if memory allocation +// failed. If the key is newly inserted, then any existing iterators will be +// invalidated. +UPB_NODISCARD UPB_API_INLINE bool upb_Map_Set(upb_Map* map, + upb_MessageValue key, + upb_MessageValue val, + upb_Arena* arena) { + return upb_Map_Insert(map, key, val, arena) != + kUpb_MapInsertStatus_OutOfMemory; +} + +// Deletes this key from the table. Returns true if the key was present. +// If present and |val| is non-NULL, stores the deleted value. +UPB_API bool upb_Map_Delete(upb_Map* map, upb_MessageValue key, + upb_MessageValue* val); + +// Map iteration: +// +// size_t iter = kUpb_Map_Begin; +// upb_MessageValue key, val; +// while (upb_Map_Next(map, &key, &val, &iter)) { +// ... +// } + +#define kUpb_Map_Begin ((size_t)-1) + +// Advances to the next entry. Returns false if no more entries are present. +// Otherwise returns true and populates both *key and *value. +UPB_API bool upb_Map_Next(const upb_Map* map, upb_MessageValue* key, + upb_MessageValue* val, size_t* iter); + +// Sets the value for the entry pointed to by iter. +// WARNING: this does not currently work for string values! +UPB_API void upb_Map_SetEntryValue(upb_Map* map, size_t iter, + upb_MessageValue val); + +// DEPRECATED iterator, slated for removal. + +/* Map iteration: + * + * size_t iter = kUpb_Map_Begin; + * while (upb_MapIterator_Next(map, &iter)) { + * upb_MessageValue key = upb_MapIterator_Key(map, iter); + * upb_MessageValue val = upb_MapIterator_Value(map, iter); + * } + */ + +// Advances to the next entry. Returns false if no more entries are present. +UPB_API bool upb_MapIterator_Next(const upb_Map* map, size_t* iter); + +// Returns true if the iterator still points to a valid entry, or false if the +// iterator is past the last element. It is an error to call this function with +// kUpb_Map_Begin (you must call next() at least once first). +UPB_API bool upb_MapIterator_Done(const upb_Map* map, size_t iter); + +// Returns the key and value for this entry of the map. +UPB_API upb_MessageValue upb_MapIterator_Key(const upb_Map* map, size_t iter); +UPB_API upb_MessageValue upb_MapIterator_Value(const upb_Map* map, size_t iter); + +// Mark a map and all of its descendents as frozen/immutable. +// If the map values are messages then |m| must point to the minitable for +// those messages. Otherwise |m| must be NULL. +UPB_API void upb_Map_Freeze(upb_Map* map, const upb_MiniTable* m); + +// Returns whether a map has been frozen. +UPB_API_INLINE bool upb_Map_IsFrozen(const upb_Map* map); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_MAP_H_ */ + +// Public APIs for message operations that do not depend on the schema. +// +// MiniTable-based accessors live in accessors.h. + +#ifndef UPB_MESSAGE_MESSAGE_H_ +#define UPB_MESSAGE_MESSAGE_H_ + +#include +#include + + +// Must be last. + +typedef struct upb_Message upb_Message; + +#ifdef __cplusplus +extern "C" { +#endif + +// Creates a new message with the given mini_table on the given arena. +UPB_NODISCARD UPB_API upb_Message* upb_Message_New(const upb_MiniTable* m, + upb_Arena* arena); + +// +// Unknown data may be stored non-contiguously. Each segment stores a block of +// unknown fields. To iterate over segments: +// +// uintptr_t iter = kUpb_Message_UnknownBegin; +// upb_StringView data; +// while (upb_Message_NextUnknown(msg, &data, &iter)) { +// // Use data +// } +// Iterates in the order unknown fields were parsed. + +#define kUpb_Message_UnknownBegin 0 +#define kUpb_Message_ExtensionBegin 0 + +// TODO: b/510055656 - Legacy API that works with messages that only have +// unknown data in upb_StringView format. Use `upb_Message_NextUnknown2` for +// messages that may have non-canonical extensions. +UPB_INLINE bool upb_Message_NextUnknown(const upb_Message* msg, + upb_StringView* data, uintptr_t* iter); + +UPB_INLINE bool upb_Message_HasUnknown(const upb_Message* msg) { + const upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + if (!in) return false; + for (size_t i = 0; i < in->size; i++) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[i]; + if (tagged_ptr.ptr != 0 && + !upb_TaggedAuxPtr_IsSemanticallyKnown(tagged_ptr)) { + return true; + } + } + return false; +} + +// Removes a segment of unknown data from the message, advancing to the next +// segment. Returns false if the removed segment was at the end of the last +// chunk. +// +// This must be done while iterating: +// +// uintptr_t iter = kUpb_Message_UnknownBegin; +// upb_StringView data; +// // Iterate chunks +// while (upb_Message_NextUnknown(msg, &data, &iter)) { +// // Iterate within a chunk, deleting ranges +// while (ShouldDeleteSubSegment(&data)) { +// // Data now points to the region to be deleted +// switch (upb_Message_DeleteUnknown(msg, &data, &iter)) { +// case kUpb_Message_DeleteUnknown_DeletedLast: return ok; +// case kUpb_Message_DeleteUnknown_IterUpdated: break; +// // If DeleteUnknown returned kUpb_Message_DeleteUnknown_IterUpdated, +// // then data now points to the remaining unknown fields after the +// // region that was just deleted. +// case kUpb_Message_DeleteUnknown_AllocFail: return err; +// } +// } +// } +// +// The range given in `data` must be contained inside the most recently +// returned region. +// +// TODO: b/510055656 - Legacy API that works with messages that only have +// unknown data in upb_StringView format. Use `upb_Message_DeleteUnknown2` for +// messages that may have non-canonical extensions. +UPB_NODISCARD upb_Message_DeleteUnknownStatus upb_Message_DeleteUnknown( + upb_Message* msg, upb_StringView* data, uintptr_t* iter, upb_Arena* arena); + +// Returns the number of extensions present in this message. +size_t upb_Message_ExtensionCount(const upb_Message* msg); + +// Iterates extensions in wire order +UPB_INLINE bool upb_Message_NextExtension(const upb_Message* msg, + const upb_MiniTableExtension** out_e, + upb_MessageValue* out_v, + uintptr_t* iter); + +// Iterates extensions in reverse wire order +UPB_INLINE bool UPB_PRIVATE(_upb_Message_NextExtensionReverse)( + const struct upb_Message* msg, const upb_MiniTableExtension** out_e, + upb_MessageValue* out_v, uintptr_t* iter); + +// Mark a message and all of its descendents as frozen/immutable. +UPB_API void upb_Message_Freeze(upb_Message* msg, const upb_MiniTable* m); + +// Returns whether a message has been frozen. +UPB_API_INLINE bool upb_Message_IsFrozen(const upb_Message* msg); + +#ifdef UPB_TRACING_ENABLED +UPB_API void upb_Message_LogNewMessage(const upb_MiniTable* m, + const upb_Arena* arena); + +UPB_API void upb_Message_SetNewMessageTraceHandler( + void (*handler)(const upb_MiniTable* m, const upb_Arena* arena)); +#endif // UPB_TRACING_ENABLED + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_MESSAGE_H_ */ + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// Functions ending in BaseField() take a (upb_MiniTableField*) argument +// and work only on non-extension fields. +// +// Functions ending in Extension() take a (upb_MiniTableExtension*) argument +// and work only on extensions. + +UPB_API_INLINE void upb_Message_Clear(upb_Message* msg, const upb_MiniTable* m); + +UPB_API_INLINE void upb_Message_ClearBaseField(upb_Message* msg, + const upb_MiniTableField* f); + +UPB_API_INLINE void upb_Message_ClearExtension(upb_Message* msg, + const upb_MiniTableExtension* e); + +UPB_API_INLINE void upb_Message_ClearOneof(upb_Message* msg, + const upb_MiniTable* m, + const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_Message_HasBaseField(const upb_Message* msg, + const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_Message_HasExtension(const upb_Message* msg, + const upb_MiniTableExtension* e); + +UPB_API_INLINE upb_MessageValue +upb_Message_GetField(const upb_Message* msg, const upb_MiniTableField* f, + upb_MessageValue default_val); + +UPB_API_INLINE const upb_Array* upb_Message_GetArray( + const upb_Message* msg, const upb_MiniTableField* f); + +UPB_API_INLINE bool upb_Message_GetBool(const upb_Message* msg, + const upb_MiniTableField* f, + bool default_val); + +UPB_API_INLINE double upb_Message_GetDouble(const upb_Message* msg, + const upb_MiniTableField* field, + double default_val); + +UPB_API_INLINE float upb_Message_GetFloat(const upb_Message* msg, + const upb_MiniTableField* f, + float default_val); + +UPB_API_INLINE int32_t upb_Message_GetInt32(const upb_Message* msg, + const upb_MiniTableField* f, + int32_t default_val); + +UPB_API_INLINE int64_t upb_Message_GetInt64(const upb_Message* msg, + const upb_MiniTableField* f, + int64_t default_val); + +UPB_API_INLINE const upb_Map* upb_Message_GetMap(const upb_Message* msg, + const upb_MiniTableField* f); + +UPB_API_INLINE const upb_Message* upb_Message_GetMessage( + const upb_Message* msg, const upb_MiniTableField* f); + +UPB_API_INLINE upb_Array* upb_Message_GetMutableArray( + upb_Message* msg, const upb_MiniTableField* f); + +UPB_API_INLINE upb_Map* upb_Message_GetMutableMap(upb_Message* msg, + const upb_MiniTableField* f); + +UPB_API_INLINE upb_Message* upb_Message_GetMutableMessage( + upb_Message* msg, const upb_MiniTableField* f); + +UPB_NODISCARD UPB_API_INLINE upb_Array* upb_Message_GetOrCreateMutableArray( + upb_Message* msg, const upb_MiniTableField* f, upb_Arena* arena); + +UPB_NODISCARD UPB_API_INLINE upb_Map* upb_Message_GetOrCreateMutableMap( + upb_Message* msg, const upb_MiniTable* map_entry_mini_table, + const upb_MiniTableField* f, upb_Arena* arena); + +UPB_NODISCARD UPB_API_INLINE upb_Message* upb_Message_GetOrCreateMutableMessage( + upb_Message* msg, const upb_MiniTableField* f, upb_Arena* arena); + +UPB_API_INLINE upb_StringView +upb_Message_GetString(const upb_Message* msg, const upb_MiniTableField* field, + upb_StringView default_val); + +UPB_API_INLINE uint32_t upb_Message_GetUInt32(const upb_Message* msg, + const upb_MiniTableField* f, + uint32_t default_val); + +UPB_API_INLINE uint64_t upb_Message_GetUInt64(const upb_Message* msg, + const upb_MiniTableField* f, + uint64_t default_val); + +UPB_API_INLINE void upb_Message_SetClosedEnum(upb_Message* msg, + const upb_MiniTableField* f, + int32_t value); + +// BaseField Setters /////////////////////////////////////////////////////////// + +UPB_API_INLINE void upb_Message_SetBaseField(upb_Message* msg, + const upb_MiniTableField* f, + const void* val); + +UPB_API_INLINE void upb_Message_SetBaseFieldBool(struct upb_Message* msg, + const upb_MiniTableField* f, + bool value); + +UPB_API_INLINE void upb_Message_SetBaseFieldDouble(struct upb_Message* msg, + const upb_MiniTableField* f, + double value); + +UPB_API_INLINE void upb_Message_SetBaseFieldFloat(struct upb_Message* msg, + const upb_MiniTableField* f, + float value); + +UPB_API_INLINE void upb_Message_SetBaseFieldInt32(struct upb_Message* msg, + const upb_MiniTableField* f, + int32_t value); + +UPB_API_INLINE void upb_Message_SetBaseFieldInt64(struct upb_Message* msg, + const upb_MiniTableField* f, + int64_t value); + +UPB_API_INLINE void upb_Message_SetBaseFieldMessage(struct upb_Message* msg, + const upb_MiniTableField* f, + upb_Message* value); + +UPB_API_INLINE void upb_Message_SetBaseFieldArray(struct upb_Message* msg, + const upb_MiniTableField* f, + upb_Array* arr, + const upb_MiniTable* arr_mt); + +UPB_API_INLINE void upb_Message_SetBaseFieldMap( + struct upb_Message* msg, const upb_MiniTableField* f, struct upb_Map* map, + const upb_MiniTable* map_entry_mt); + +UPB_API_INLINE void upb_Message_SetBaseFieldString(struct upb_Message* msg, + const upb_MiniTableField* f, + upb_StringView value); + +UPB_API_INLINE void upb_Message_SetBaseFieldUInt32(struct upb_Message* msg, + const upb_MiniTableField* f, + uint32_t value); + +UPB_API_INLINE void upb_Message_SetBaseFieldUInt64(struct upb_Message* msg, + const upb_MiniTableField* f, + uint64_t value); + +// Extension Getters /////////////////////////////////////////////////////////// +UPB_API_INLINE bool upb_Message_GetExtensionBool( + const upb_Message* msg, const upb_MiniTableExtension* f, bool default_val); + +UPB_API_INLINE double upb_Message_GetExtensionDouble( + const upb_Message* msg, const upb_MiniTableExtension* f, + double default_val); + +UPB_API_INLINE float upb_Message_GetExtensionFloat( + const upb_Message* msg, const upb_MiniTableExtension* f, float default_val); + +UPB_API_INLINE int32_t upb_Message_GetExtensionInt32( + const upb_Message* msg, const upb_MiniTableExtension* f, + int32_t default_val); + +UPB_API_INLINE int64_t upb_Message_GetExtensionInt64( + const upb_Message* msg, const upb_MiniTableExtension* f, + int64_t default_val); + +UPB_API_INLINE uint32_t upb_Message_GetExtensionUInt32( + const upb_Message* msg, const upb_MiniTableExtension* f, + uint32_t default_val); + +UPB_API_INLINE uint64_t upb_Message_GetExtensionUInt64( + const upb_Message* msg, const upb_MiniTableExtension* f, + uint64_t default_val); + +UPB_API_INLINE upb_StringView upb_Message_GetExtensionString( + const upb_Message* msg, const upb_MiniTableExtension* f, + upb_StringView default_val); + +UPB_API_INLINE upb_Message* upb_Message_GetExtensionMessage( + const upb_Message* msg, const upb_MiniTableExtension* f, + struct upb_Message* default_val); + +UPB_API_INLINE const upb_Array* upb_Message_GetExtensionArray( + const upb_Message* msg, const upb_MiniTableExtension* f); + +UPB_API_INLINE upb_Array* upb_Message_GetExtensionMutableArray( + upb_Message* msg, const upb_MiniTableExtension* f); + +// Extension Setters /////////////////////////////////////////////////////////// + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtension( + upb_Message* msg, const upb_MiniTableExtension* e, const void* value, + upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionMessage( + struct upb_Message* msg, const upb_MiniTableExtension* e, + struct upb_Message* value, upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionBool( + struct upb_Message* msg, const upb_MiniTableExtension* e, bool value, + upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionDouble( + struct upb_Message* msg, const upb_MiniTableExtension* e, double value, + upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionFloat( + struct upb_Message* msg, const upb_MiniTableExtension* e, float value, + upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionInt32( + struct upb_Message* msg, const upb_MiniTableExtension* e, int32_t value, + upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionInt64( + struct upb_Message* msg, const upb_MiniTableExtension* e, int64_t value, + upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionString( + struct upb_Message* msg, const upb_MiniTableExtension* e, + upb_StringView value, upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionUInt32( + struct upb_Message* msg, const upb_MiniTableExtension* e, uint32_t value, + upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetExtensionUInt64( + struct upb_Message* msg, const upb_MiniTableExtension* e, uint64_t value, + upb_Arena* a); + +// Universal Setters /////////////////////////////////////////////////////////// + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetBool( + upb_Message* msg, const upb_MiniTableField* f, bool value, upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetDouble( + upb_Message* msg, const upb_MiniTableField* f, double value, upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetFloat( + upb_Message* msg, const upb_MiniTableField* f, float value, upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetInt32( + upb_Message* msg, const upb_MiniTableField* f, int32_t value, upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetInt64( + upb_Message* msg, const upb_MiniTableField* f, int64_t value, upb_Arena* a); + +// Unlike the other similarly-named setters, this function can only be +// called on base fields. Prefer upb_Message_SetBaseFieldMessage(). +UPB_API_INLINE void upb_Message_SetMessage(upb_Message* msg, + const upb_MiniTableField* f, + upb_Message* value); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetString( + upb_Message* msg, const upb_MiniTableField* f, upb_StringView value, + upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetUInt32( + upb_Message* msg, const upb_MiniTableField* f, uint32_t value, + upb_Arena* a); + +UPB_NODISCARD UPB_API_INLINE bool upb_Message_SetUInt64( + upb_Message* msg, const upb_MiniTableField* f, uint64_t value, + upb_Arena* a); + +//////////////////////////////////////////////////////////////////////////////// + +UPB_NODISCARD UPB_API_INLINE void* upb_Message_ResizeArrayUninitialized( + upb_Message* msg, const upb_MiniTableField* f, size_t size, + upb_Arena* arena); + +UPB_API_INLINE uint32_t upb_Message_WhichOneofFieldNumber( + const upb_Message* message, const upb_MiniTableField* oneof_field); + +// For a field `f` which is in a oneof, return the field of that +// oneof that is actually set (or NULL if none). +UPB_API_INLINE const upb_MiniTableField* upb_Message_WhichOneof( + const upb_Message* msg, const upb_MiniTable* m, + const upb_MiniTableField* f); + +// Updates a map entry given an entry message. +UPB_NODISCARD bool upb_Message_SetMapEntry(upb_Map* map, + const upb_MiniTableField* field, + upb_Message* map_entry_message, + upb_Arena* arena); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#if defined(__cplusplus) +// Temporary overloads for functions whose signature has recently changed. +UPB_DEPRECATE_AND_INLINE() +UPB_NODISCARD inline upb_Message* upb_Message_GetOrCreateMutableMessage( + upb_Message* msg, const upb_MiniTable* mini_table, + const upb_MiniTableField* f, upb_Arena* arena) { + return upb_Message_GetOrCreateMutableMessage(msg, f, arena); +} + +UPB_DEPRECATE_AND_INLINE() +inline void upb_Message_SetClosedEnum(upb_Message* msg, + const upb_MiniTable* msg_mini_table, + const upb_MiniTableField* f, + int32_t value) { + upb_Message_SetClosedEnum(msg, f, value); +} + +UPB_DEPRECATE_AND_INLINE() +UPB_NODISCARD +inline bool upb_Message_SetMapEntry(upb_Map* map, + const upb_MiniTable* mini_table, + const upb_MiniTableField* field, + upb_Message* map_entry_message, + upb_Arena* arena) { + return upb_Message_SetMapEntry(map, field, map_entry_message, arena); +} +#endif + + +#endif // UPB_MESSAGE_ACCESSORS_H_ + +// These functions are only used by generated code. + +#ifndef UPB_MESSAGE_MAP_GENCODE_UTIL_H_ +#define UPB_MESSAGE_MAP_GENCODE_UTIL_H_ + +// This header file is referenced by multiple files. Leave it empty. +// TODO: b/399481227 - Remove this header file, after all the references are +// cleaned up. +#endif /* UPB_MESSAGE_MAP_GENCODE_UTIL_H_ */ + +#ifndef UPB_MINI_TABLE_DECODE_H_ +#define UPB_MINI_TABLE_DECODE_H_ + +#include + + +#ifndef UPB_BASE_STATUS_H_ +#define UPB_BASE_STATUS_H_ + +#include + +// Must be last. + +#define _kUpb_Status_MaxMessage 511 + +typedef struct { + bool ok; + char msg[_kUpb_Status_MaxMessage]; // Error message; NULL-terminated. +} upb_Status; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API const char* upb_Status_ErrorMessage(const upb_Status* status); +UPB_API bool upb_Status_IsOk(const upb_Status* status); + +// These are no-op if |status| is NULL. +UPB_API void upb_Status_Clear(upb_Status* status); +void upb_Status_SetErrorMessage(upb_Status* status, const char* msg); +void upb_Status_SetErrorFormat(upb_Status* status, const char* fmt, ...) + UPB_PRINTF(2, 3); +void upb_Status_VSetErrorFormat(upb_Status* status, const char* fmt, + va_list args) UPB_PRINTF(2, 0); +void upb_Status_VAppendErrorFormat(upb_Status* status, const char* fmt, + va_list args) UPB_PRINTF(2, 0); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_BASE_STATUS_H_ */ + +#ifndef UPB_MINI_TABLE_SUB_H_ +#define UPB_MINI_TABLE_SUB_H_ + + +// Must be last. + +typedef union upb_MiniTableSub upb_MiniTableSub; + +#ifdef __cplusplus +extern "C" { +#endif + +// Constructors + +UPB_API_INLINE upb_MiniTableSub +upb_MiniTableSub_FromEnum(const upb_MiniTableEnum* subenum); + +UPB_API_INLINE upb_MiniTableSub +upb_MiniTableSub_FromMessage(const upb_MiniTable* submsg); + +// Getters + +UPB_API_INLINE const upb_MiniTableEnum* upb_MiniTableSub_Enum( + upb_MiniTableSub sub); + +UPB_API_INLINE const upb_MiniTable* upb_MiniTableSub_Message( + upb_MiniTableSub sub); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_SUB_H_ */ + +// Export the newer headers, for legacy users. New users should include the +// more specific headers directly. +// IWYU pragma: begin_exports + +#ifndef UPB_MINI_DESCRIPTOR_BUILD_ENUM_H_ +#define UPB_MINI_DESCRIPTOR_BUILD_ENUM_H_ + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// Builds a upb_MiniTableEnum from an enum mini descriptor. +// The mini descriptor must be for an enum, not a message. +UPB_NODISCARD UPB_API upb_MiniTableEnum* upb_MiniTableEnum_Build( + const char* data, size_t len, upb_Arena* arena, upb_Status* status); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_MINI_DESCRIPTOR_BUILD_ENUM_H_ + +// Functions for linking MiniTables together once they are built from a +// MiniDescriptor. +// +// These functions have names like upb_MiniTable_Link() because they operate on +// MiniTables. We put them here, rather than in the mini_table/ directory, +// because they are only needed when building MiniTables from MiniDescriptors. +// The interfaces in mini_table/ assume that MiniTables are immutable. + +#ifndef UPB_MINI_DESCRIPTOR_LINK_H_ +#define UPB_MINI_DESCRIPTOR_LINK_H_ + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// Links a sub-message field to a MiniTable for that sub-message. If a +// sub-message field is not linked, it will be treated as an unknown field +// during parsing, and setting the field will not be allowed. It is possible +// to link the message field later, at which point it will no longer be treated +// as unknown. However there is no synchronization for this operation, which +// means parallel mutation requires external synchronization. +// Returns success/failure. +UPB_NODISCARD UPB_API bool upb_MiniTable_SetSubMessage( + upb_MiniTable* table, upb_MiniTableField* field, const upb_MiniTable* sub); + +// Links an enum field to a MiniTable for that enum. +// All enum fields must be linked prior to parsing. +// Returns success/failure. +UPB_NODISCARD UPB_API bool upb_MiniTable_SetSubEnum( + upb_MiniTable* table, upb_MiniTableField* field, + const upb_MiniTableEnum* sub); + +// Returns a list of fields that require linking at runtime, to connect the +// MiniTable to its sub-messages and sub-enums. The list of fields will be +// written to the `subs` array, which must have been allocated by the caller +// and must be large enough to hold a list of all fields in the message. +// +// The order of the fields returned by this function is significant: it matches +// the order expected by upb_MiniTable_Link() below. +// +// The return value packs the sub-message count and sub-enum count into a single +// integer like so: +// return (msg_count << 16) | enum_count; +UPB_API uint32_t upb_MiniTable_GetSubList(const upb_MiniTable* mt, + const upb_MiniTableField** subs); + +// Links a message to its sub-messages and sub-enums. The caller must pass +// arrays of sub-tables and sub-enums, in the same length and order as is +// returned by upb_MiniTable_GetSubList() above. However, individual elements +// of the sub_tables may be NULL if those sub-messages were tree shaken. +// +// Returns false if either array is too short, or if any of the tables fails +// to link. +UPB_NODISCARD UPB_API bool upb_MiniTable_Link( + upb_MiniTable* mt, const upb_MiniTable** sub_tables, size_t sub_table_count, + const upb_MiniTableEnum** sub_enums, size_t sub_enum_count); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_MINI_DESCRIPTOR_LINK_H_ +// IWYU pragma: end_exports + +// Must be last. + +typedef enum { + kUpb_MiniTablePlatform_32Bit, + kUpb_MiniTablePlatform_64Bit, + kUpb_MiniTablePlatform_Native = + UPB_SIZE(kUpb_MiniTablePlatform_32Bit, kUpb_MiniTablePlatform_64Bit), +} upb_MiniTablePlatform; + +#ifdef __cplusplus +extern "C" { +#endif + +// Builds a mini table from the data encoded in the buffer [data, len]. If any +// errors occur, returns NULL and sets a status message. In the success case, +// the caller must call upb_MiniTable_SetSub*() for all message or proto2 enum +// fields to link the table to the appropriate sub-tables. +UPB_NODISCARD upb_MiniTable* _upb_MiniTable_Build( + const char* data, size_t len, upb_MiniTablePlatform platform, + upb_Arena* arena, upb_Status* status); + +UPB_NODISCARD UPB_API_INLINE upb_MiniTable* upb_MiniTable_Build( + const char* data, size_t len, upb_Arena* arena, upb_Status* status) { + return _upb_MiniTable_Build(data, len, kUpb_MiniTablePlatform_Native, arena, + status); +} + +// Initializes a MiniTableExtension buffer that has already been allocated. +// This is needed by upb_FileDef and upb_MessageDef, which allocate all of the +// extensions together in a single contiguous array. +UPB_NODISCARD const char* _upb_MiniTableExtension_Init( + const char* data, size_t len, upb_MiniTableExtension* ext, + const upb_MiniTable* extendee, upb_MiniTableSub sub, + upb_MiniTablePlatform platform, upb_Status* status); + +UPB_NODISCARD UPB_API_INLINE const char* upb_MiniTableExtension_Init( + const char* data, size_t len, upb_MiniTableExtension* ext, + const upb_MiniTable* extendee, upb_MiniTableSub sub, upb_Status* status) { + return _upb_MiniTableExtension_Init(data, len, ext, extendee, sub, + kUpb_MiniTablePlatform_Native, status); +} + +UPB_NODISCARD UPB_API upb_MiniTableExtension* _upb_MiniTableExtension_Build( + const char* data, size_t len, const upb_MiniTable* extendee, + upb_MiniTableSub sub, upb_MiniTablePlatform platform, upb_Arena* arena, + upb_Status* status); + +UPB_NODISCARD UPB_API_INLINE upb_MiniTableExtension* +upb_MiniTableExtension_Build(const char* data, size_t len, + const upb_MiniTable* extendee, upb_Arena* arena, + upb_Status* status) { + upb_MiniTableSub sub = upb_MiniTableSub_FromMessage(NULL); + return _upb_MiniTableExtension_Build( + data, len, extendee, sub, kUpb_MiniTablePlatform_Native, arena, status); +} + +UPB_NODISCARD UPB_API_INLINE upb_MiniTableExtension* +upb_MiniTableExtension_BuildMessage(const char* data, size_t len, + const upb_MiniTable* extendee, + const upb_MiniTable* submsg, + upb_Arena* arena, upb_Status* status) { + upb_MiniTableSub sub = upb_MiniTableSub_FromMessage(submsg); + return _upb_MiniTableExtension_Build( + data, len, extendee, sub, kUpb_MiniTablePlatform_Native, arena, status); +} + +UPB_NODISCARD UPB_API_INLINE upb_MiniTableExtension* +upb_MiniTableExtension_BuildEnum(const char* data, size_t len, + const upb_MiniTable* extendee, + const upb_MiniTableEnum* subenum, + upb_Arena* arena, upb_Status* status) { + upb_MiniTableSub sub = upb_MiniTableSub_FromEnum(subenum); + return _upb_MiniTableExtension_Build( + data, len, extendee, sub, kUpb_MiniTablePlatform_Native, arena, status); +} + +// Like upb_MiniTable_Build(), but the user provides a buffer of layout data so +// it can be reused from call to call, avoiding repeated +// upb_grealloc()/upb_gfree(). +// +// The caller owns `*buf` both before and after the call, and must upb_gfree() +// it when it is no longer in use. The function will upb_grealloc() `*buf` as +// necessary, updating `*size` accordingly. +UPB_NODISCARD upb_MiniTable* upb_MiniTable_BuildWithBuf( + const char* data, size_t len, upb_MiniTablePlatform platform, + upb_Arena* arena, void** buf, size_t* buf_size, upb_Status* status); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_DECODE_H_ */ + +#ifndef UPB_MINI_TABLE_EXTENSION_REGISTRY_H_ +#define UPB_MINI_TABLE_EXTENSION_REGISTRY_H_ + +#include +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +/* Extension registry: a dynamic data structure that stores a map of: + * (upb_MiniTable, number) -> extension info + * + * upb_decode() uses upb_ExtensionRegistry to look up extensions while parsing + * binary format. + * + * upb_ExtensionRegistry is part of the mini-table (msglayout) family of + * objects. Like all mini-table objects, it is suitable for reflection-less + * builds that do not want to expose names into the binary. + * + * Unlike most mini-table types, upb_ExtensionRegistry requires dynamic memory + * allocation and dynamic initialization: + * * If reflection is being used, then upb_DefPool will construct an appropriate + * upb_ExtensionRegistry automatically. + * * For a mini-table only build, the user must manually construct the + * upb_ExtensionRegistry and populate it with all of the extensions the user + * cares about. + * * A third alternative is to manually unpack relevant extensions after the + * main parse is complete, similar to how Any works. This is perhaps the + * nicest solution from the perspective of reducing dependencies, avoiding + * dynamic memory allocation, and avoiding the need to parse uninteresting + * extensions. The downsides are: + * (1) parse errors are not caught during the main parse + * (2) the CPU hit of parsing comes during access, which could cause an + * undesirable stutter in application performance. + * + * Users cannot directly get or put into this map. Users can only add the + * extensions from a generated module and pass the extension registry to the + * binary decoder. + * + * A upb_DefPool provides a upb_ExtensionRegistry, so any users who use + * reflection do not need to populate a upb_ExtensionRegistry directly. + */ + +typedef struct upb_ExtensionRegistry upb_ExtensionRegistry; + +// LINT.IfChange +typedef enum { + kUpb_ExtensionRegistryStatus_Ok = 0, + kUpb_ExtensionRegistryStatus_DuplicateEntry = 1, + kUpb_ExtensionRegistryStatus_OutOfMemory = 2, +} upb_ExtensionRegistryStatus; +// LINT.ThenChange(//depot/google3/third_party/upb/rust/sys/mini_table/extension_registry.rs) + +// Creates a upb_ExtensionRegistry in the given arena. +// The arena must outlive any use of the extreg. +UPB_NODISCARD UPB_API upb_ExtensionRegistry* upb_ExtensionRegistry_New( + upb_Arena* arena); + +UPB_NODISCARD UPB_API upb_ExtensionRegistryStatus upb_ExtensionRegistry_Add( + upb_ExtensionRegistry* r, const upb_MiniTableExtension* e); + +// Adds the given extension info for the array |e| of size |count| into the +// registry. If there are any errors, the entire array is backed out. +// The extensions must outlive the registry. +// Possible errors include OOM or an extension number that already exists. +UPB_NODISCARD upb_ExtensionRegistryStatus upb_ExtensionRegistry_AddArray( + upb_ExtensionRegistry* r, const upb_MiniTableExtension** e, size_t count); + +// Looks up the extension (if any) defined for message type |t| and field +// number |num|. Returns the extension if found, otherwise NULL. +UPB_API const upb_MiniTableExtension* upb_ExtensionRegistry_Lookup( + const upb_ExtensionRegistry* r, const upb_MiniTable* t, uint32_t num); + +// Returns the number of extensions in the registry. For testing/debugging only. +UPB_API size_t upb_ExtensionRegistry_Size(const upb_ExtensionRegistry* r); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_EXTENSION_REGISTRY_H_ */ + +#ifndef UPB_MINI_TABLE_FILE_H_ +#define UPB_MINI_TABLE_FILE_H_ + + +#ifndef UPB_MINI_TABLE_INTERNAL_FILE_H_ +#define UPB_MINI_TABLE_INTERNAL_FILE_H_ + +// Must be last. + +struct upb_MiniTableFile { + const struct upb_MiniTable** UPB_PRIVATE(msgs); + const struct upb_MiniTableEnum** UPB_PRIVATE(enums); + const struct upb_MiniTableExtension** UPB_PRIVATE(exts); + int UPB_PRIVATE(msg_count); + int UPB_PRIVATE(enum_count); + int UPB_PRIVATE(ext_count); +}; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API_INLINE int upb_MiniTableFile_EnumCount( + const struct upb_MiniTableFile* f) { + return f->UPB_PRIVATE(enum_count); +} + +UPB_API_INLINE int upb_MiniTableFile_ExtensionCount( + const struct upb_MiniTableFile* f) { + return f->UPB_PRIVATE(ext_count); +} + +UPB_API_INLINE int upb_MiniTableFile_MessageCount( + const struct upb_MiniTableFile* f) { + return f->UPB_PRIVATE(msg_count); +} + +UPB_API_INLINE const struct upb_MiniTableEnum* upb_MiniTableFile_Enum( + const struct upb_MiniTableFile* f, int i) { + UPB_ASSERT(i < f->UPB_PRIVATE(enum_count)); + return f->UPB_PRIVATE(enums)[i]; +} + +UPB_API_INLINE const struct upb_MiniTableExtension* upb_MiniTableFile_Extension( + const struct upb_MiniTableFile* f, int i) { + UPB_ASSERT(i < f->UPB_PRIVATE(ext_count)); + return f->UPB_PRIVATE(exts)[i]; +} + +UPB_API_INLINE const struct upb_MiniTable* upb_MiniTableFile_Message( + const struct upb_MiniTableFile* f, int i) { + UPB_ASSERT(i < f->UPB_PRIVATE(msg_count)); + return f->UPB_PRIVATE(msgs)[i]; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_INTERNAL_FILE_H_ */ + +// Must be last. + +typedef struct upb_MiniTableFile upb_MiniTableFile; + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API_INLINE const upb_MiniTableEnum* upb_MiniTableFile_Enum( + const upb_MiniTableFile* f, int i); + +UPB_API_INLINE int upb_MiniTableFile_EnumCount(const upb_MiniTableFile* f); + +UPB_API_INLINE const upb_MiniTableExtension* upb_MiniTableFile_Extension( + const upb_MiniTableFile* f, int i); + +UPB_API_INLINE int upb_MiniTableFile_ExtensionCount(const upb_MiniTableFile* f); + +UPB_API_INLINE const upb_MiniTable* upb_MiniTableFile_Message( + const upb_MiniTableFile* f, int i); + +UPB_API_INLINE int upb_MiniTableFile_MessageCount(const upb_MiniTableFile* f); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_FILE_H_ */ + +#ifndef UPB_MINI_TABLE_INTERNAL_GENERATED_EXTENSION_REGISTRY_H_ +#define UPB_MINI_TABLE_INTERNAL_GENERATED_EXTENSION_REGISTRY_H_ + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct UPB_PRIVATE(upb_GeneratedExtensionListEntry) { + const struct upb_MiniTableExtension** start; + const struct upb_MiniTableExtension** stop; + const struct UPB_PRIVATE(upb_GeneratedExtensionListEntry) * next; +} UPB_PRIVATE(upb_GeneratedExtensionListEntry); + +struct upb_GeneratedRegistryRef { + struct upb_Arena* UPB_PRIVATE(arena); + const struct upb_ExtensionRegistry* UPB_PRIVATE(registry); +}; + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_INTERNAL_GENERATED_EXTENSION_REGISTRY_H_ */ + +// upb_decode: parsing into a upb_Message using a upb_MiniTable. + +#ifndef UPB_WIRE_DECODE_H_ +#define UPB_WIRE_DECODE_H_ + +#include +#include + + +#ifndef GOOGLE_UPB_UPB_BASE_ERROR_HANDLER_H__ +#define GOOGLE_UPB_UPB_BASE_ERROR_HANDLER_H__ + +#include + +// Must be last. + +// upb_ErrorHandler is a standard longjmp()-based exception handler for UPB. +// It is used for efficient error handling in cases where longjmp() is safe to +// use, such as in highly performance-sensitive C parsing code. +// +// This structure contains both a jmp_buf and an error code; the error code is +// stored in the structure prior to calling longjmp(). This is necessary because +// per the C standard, it is not possible to store the result of setjmp(), so +// the error code must be passed out-of-band. +// +// upb_ErrorHandler is generally not C++-compatible, because longjmp() does not +// run C++ destructors. So any library that supports upb_ErrorHandler should +// also support a regular return-based error handling mechanism. (Note: we +// could conceivably extend this to take a callback, which could either call +// longjmp() or throw a C++ exception. But since C++ exceptions are forbidden +// by the C++ style guide, there's not likely to be a demand for this.) +// +// To support both cases (longjmp() or return-based status) efficiently, code +// can be written like this: +// +// UPB_ATTR_CONST bool upb_Arena_HasErrHandler(const upb_Arena* a); +// +// INLINE void* upb_Arena_Malloc(upb_Arena* a, size_t size) { +// if (UPB_UNLIKELY(a->end - a->ptr < size)) { +// void* ret = upb_Arena_MallocFallback(a, size); +// UPB_MAYBE_ASSUME(upb_Arena_HasErrHandler(a), ret != NULL); +// return ret; +// } +// void* ret = a->ptr; +// a->ptr += size; +// UPB_ASSUME(ret != NULL); +// return ret; +// } +// +// If the optimizer can prove that an error handler is present, it can assume +// that upb_Arena_Malloc() will not return NULL. + +// We need to standardize on any error code that might be thrown by an error +// handler. + +typedef enum { + kUpb_ErrorCode_Ok = 0, + kUpb_ErrorCode_OutOfMemory = 1, + kUpb_ErrorCode_Malformed = 2, + kUpb_ErrorCode_MaxDepthExceeded = 3, +} upb_ErrorCode; + +typedef struct { + int code; + jmp_buf buf; +} upb_ErrorHandler; + +UPB_INLINE void upb_ErrorHandler_Init(upb_ErrorHandler* e) { + e->code = kUpb_ErrorCode_Ok; +} + +UPB_INLINE UPB_NORETURN void upb_ErrorHandler_ThrowError(upb_ErrorHandler* e, + int code) { + UPB_ASSERT(code != kUpb_ErrorCode_Ok); + e->code = code; + UPB_LONGJMP(e->buf, 1); +} + + +#endif // GOOGLE_UPB_UPB_BASE_ERROR_HANDLER_H__ + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// LINT.IfChange +enum { + /* If set, strings and unknown fields will alias the input buffer instead of + * copying into the arena. */ + kUpb_DecodeOption_AliasString = 1, + + /* If set, the parse will return failure if any message is missing any + * required fields when the message data ends. The parse will still continue, + * and the failure will only be reported at the end. + * + * IMPORTANT CAVEATS: + * + * 1. This can throw a false positive failure if an incomplete message is seen + * on the wire but is later completed when the sub-message occurs again. + * For this reason, a second pass is required to verify a failure, to be + * truly robust. + * + * 2. This can return a false success if you are decoding into a message that + * already has some sub-message fields present. If the sub-message does + * not occur in the binary payload, we will never visit it and discover the + * incomplete sub-message. For this reason, this check is only useful for + * implementing ParseFromString() semantics. For MergeFromString(), a + * post-parse validation step will always be necessary. */ + kUpb_DecodeOption_CheckRequired = 2, + + /* EXPERIMENTAL: + * + * If set, decoding will enforce UTF-8 validation for string fields, even for + * proto2 or fields with `features.utf8_validation = NONE`. Normally, only + * proto3 string fields will be validated for UTF-8. Decoding will return + * kUpb_DecodeStatus_BadUtf8 for non-UTF-8 strings, which is the same behavior + * as non-UTF-8 proto3 string fields. + */ + kUpb_DecodeOption_AlwaysValidateUtf8 = 8, + + /* EXPERIMENTAL: + * + * If set, the fasttable decoder will not be used. */ + kUpb_DecodeOption_DisableFastTable = 16, +}; +// LINT.ThenChange(//depot/google3/third_party/upb/rust/wire.rs:decode_status) + +UPB_INLINE uint32_t upb_DecodeOptions_MaxDepth(uint16_t depth) { + return (uint32_t)depth << 16; +} + +uint16_t upb_DecodeOptions_GetEffectiveMaxDepth(uint32_t options); + +// Enforce an upper bound on recursion depth. +UPB_INLINE int upb_Decode_LimitDepth(uint32_t decode_options, uint32_t limit) { + uint32_t max_depth = upb_DecodeOptions_GetEffectiveMaxDepth(decode_options); + if (max_depth > limit) max_depth = limit; + return (int)(upb_DecodeOptions_MaxDepth(max_depth) | + (decode_options & 0xffff)); +} + +// LINT.IfChange +typedef enum { + kUpb_DecodeStatus_Ok = kUpb_ErrorCode_Ok, + kUpb_DecodeStatus_OutOfMemory = + kUpb_ErrorCode_OutOfMemory, // Arena alloc failed + kUpb_DecodeStatus_Malformed = + kUpb_ErrorCode_Malformed, // Wire format was corrupt + kUpb_DecodeStatus_MaxDepthExceeded = + kUpb_ErrorCode_MaxDepthExceeded, // Exceeded upb_DecodeOptions_MaxDepth + + kUpb_DecodeStatus_BadUtf8 = 10, // String field had bad UTF-8 + + // kUpb_DecodeOption_CheckRequired failed (see above), but the parse otherwise + // succeeded. + kUpb_DecodeStatus_MissingRequired = 11, +} upb_DecodeStatus; +// LINT.ThenChange(//depot/google3/third_party/upb/rust/sys/wire/wire.rs:decode_status) + +UPB_NODISCARD UPB_API upb_DecodeStatus upb_Decode( + const char* buf, size_t size, upb_Message* msg, const upb_MiniTable* mt, + const upb_ExtensionRegistry* extreg, int options, upb_Arena* arena); + +// Same as upb_Decode but with a varint-encoded length prepended. +// On success 'num_bytes_read' will be set to the how many bytes were read, +// on failure the contents of num_bytes_read is undefined. +UPB_NODISCARD UPB_API upb_DecodeStatus upb_DecodeLengthPrefixed( + const char* buf, size_t size, upb_Message* msg, size_t* num_bytes_read, + const upb_MiniTable* mt, const upb_ExtensionRegistry* extreg, int options, + upb_Arena* arena); + +// For testing: decode with tracing. +UPB_NODISCARD UPB_API upb_DecodeStatus upb_DecodeWithTrace( + const char* buf, size_t size, upb_Message* msg, const upb_MiniTable* mt, + const upb_ExtensionRegistry* extreg, int options, upb_Arena* arena, + char* trace_buf, size_t trace_size); + +// Utility function for wrapper languages to get an error string from a +// upb_DecodeStatus. +UPB_API const char* upb_DecodeStatus_String(upb_DecodeStatus status); +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_WIRE_DECODE_H_ */ + +// upb_Encode: parsing from a upb_Message using a upb_MiniTable. + +#ifndef UPB_WIRE_ENCODE_H_ +#define UPB_WIRE_ENCODE_H_ + +#include +#include + + +#ifndef UPB_WIRE_INTERNAL_CONSTANTS_H_ +#define UPB_WIRE_INTERNAL_CONSTANTS_H_ + +#define kUpb_WireFormat_DefaultDepthLimit 100 + +// MessageSet wire format is: +// message MessageSet { +// repeated group Item = 1 { +// required int32 type_id = 2; +// required bytes message = 3; +// } +// } + +enum { + kUpb_MsgSet_Item = 1, + kUpb_MsgSet_TypeId = 2, + kUpb_MsgSet_Message = 3, +}; + +#endif /* UPB_WIRE_INTERNAL_CONSTANTS_H_ */ + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +enum { + /* If set, the results of serializing will be deterministic across all + * instances of this binary. There are no guarantees across different + * binary builds. + * + * If your proto contains maps, the encoder will need to malloc()/free() + * memory during encode. */ + kUpb_EncodeOption_Deterministic = 1, + + // When set, unknown fields are not encoded. + kUpb_EncodeOption_SkipUnknown = 2, + + // When set, the encode will fail if any required fields are missing. + kUpb_EncodeOption_CheckRequired = 4, +}; + +// LINT.IfChange +typedef enum { + kUpb_EncodeStatus_Ok = kUpb_ErrorCode_Ok, + kUpb_EncodeStatus_OutOfMemory = + kUpb_ErrorCode_OutOfMemory, // Arena alloc failed + // One or more required fields are missing. Only returned if + // kUpb_EncodeOption_CheckRequired is set. + kUpb_EncodeStatus_MaxDepthExceeded = kUpb_ErrorCode_MaxDepthExceeded, + + kUpb_EncodeStatus_MissingRequired = 10, + // The message is larger than protobuf's 2GB size limit. + kUpb_EncodeStatus_MaxSizeExceeded = 11, +} upb_EncodeStatus; +// LINT.ThenChange(//depot/google3/third_party/upb/rust/sys/wire/wire.rs:encode_status) + +UPB_INLINE uint32_t upb_EncodeOptions_MaxDepth(uint16_t depth) { + return (uint32_t)depth << 16; +} + +UPB_INLINE uint16_t upb_EncodeOptions_GetMaxDepth(uint32_t options) { + return options >> 16; +} + +UPB_INLINE uint16_t upb_EncodeOptions_GetEffectiveMaxDepth(uint32_t options) { + uint16_t max_depth = upb_EncodeOptions_GetMaxDepth(options); + return max_depth ? max_depth : kUpb_WireFormat_DefaultDepthLimit; +} + +// Enforce an upper bound on recursion depth. +UPB_INLINE int upb_Encode_LimitDepth(uint32_t encode_options, uint32_t limit) { + uint32_t max_depth = upb_EncodeOptions_GetEffectiveMaxDepth(encode_options); + if (max_depth > limit) max_depth = limit; + return (int)(upb_EncodeOptions_MaxDepth(max_depth) | + (encode_options & 0xffff)); +} + +UPB_NODISCARD UPB_API upb_EncodeStatus upb_Encode(const upb_Message* msg, + const upb_MiniTable* l, + int options, upb_Arena* arena, + char** buf, size_t* size); + +// Encodes the message prepended by a varint of the serialized length. +UPB_NODISCARD UPB_API upb_EncodeStatus upb_EncodeLengthPrefixed( + const upb_Message* msg, const upb_MiniTable* l, int options, + upb_Arena* arena, char** buf, size_t* size); +// Utility function for wrapper languages to get an error string from a +// upb_EncodeStatus. +UPB_API const char* upb_EncodeStatus_String(upb_EncodeStatus status); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_WIRE_ENCODE_H_ */ + +#ifndef UPB_BASE_INTERNAL_LOG2_H_ +#define UPB_BASE_INTERNAL_LOG2_H_ + +#include +#include +#include + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_INLINE int upb_Log2Ceiling(size_t x) { + if (x <= 1) return 0; +#if SIZE_MAX == ULLONG_MAX && UPB_HAS_BUILTIN(__builtin_clzll) + return (sizeof(size_t) * CHAR_BIT) - __builtin_clzll(x - 1); +#elif SIZE_MAX == ULONG_MAX && UPB_HAS_BUILTIN(__builtin_clzl) + return (sizeof(size_t) * CHAR_BIT) - __builtin_clzl(x - 1); +#elif SIZE_MAX == UINT_MAX && UPB_HAS_BUILTIN(__builtin_clz) + return (sizeof(size_t) * CHAR_BIT) - __builtin_clz(x - 1); +#else + if (x > SIZE_MAX / 2) return sizeof(size_t) * CHAR_BIT; + int lg2 = 0; + while (((size_t)1 << lg2) < x) lg2++; + return lg2; +#endif +} + +// Returns the smallest power of two that is greater than or equal to x. Returns +// SIZE_MAX if the computation would overflow. +UPB_INLINE size_t upb_RoundUpToPowerOfTwo(size_t x) { + int lg2 = upb_Log2Ceiling(x); + UPB_ASSERT(lg2 >= 0 && lg2 <= (int)sizeof(size_t) * CHAR_BIT); + if (lg2 == sizeof(size_t) * CHAR_BIT) { + return SIZE_MAX; + } + return ((size_t)1) << lg2; +} + +UPB_INLINE bool upb_ShlOverflow(size_t* a, unsigned int b) { + if (*a > (SIZE_MAX >> b)) { + return true; + } + *a <<= b; + return false; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_BASE_INTERNAL_LOG2_H_ */ + +#ifndef UPB_HASH_EXT_TABLE_H_ +#define UPB_HASH_EXT_TABLE_H_ + +#include +#include + + +// Must be last. + +typedef struct { + upb_table t; +} upb_exttable; + +#ifdef __cplusplus +extern "C" { +#endif + +// Initialize a table. If memory allocation failed, false is returned and +// the table is uninitialized. +UPB_NODISCARD bool upb_exttable_init(upb_exttable* table, size_t expected_size, + upb_Arena* a); + +// Returns the number of values in the table. +UPB_INLINE size_t upb_exttable_count(const upb_exttable* t) { + return t->t.count; +} + +void upb_exttable_clear(upb_exttable* t); + +// Inserts the given key and value into the hashtable. +// The key must not already exist in the hash table, and must not be NULL. +// +// If a table resize was required but memory allocation failed, false is +// returned and the table is unchanged. +UPB_NODISCARD bool upb_exttable_insert(upb_exttable* t, const void* k, + const uint32_t* v, upb_Arena* a); + +// Looks up key and ext_number in this table, returning the value if the key was +// found, or NULL otherwise. +const uint32_t* upb_exttable_lookup(const upb_exttable* t, const void* k, + uint32_t ext_number); + +// Removes an item from the table. Returns the removed item if the remove was +// successful, or NULL if the key was not found. +const uint32_t* upb_exttable_remove(upb_exttable* t, const void* k, + uint32_t ext_number); + +size_t upb_exttable_size(const upb_exttable* t); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_HASH_EXT_TABLE_H_ */ + +#ifndef UPB_PORT_ATOMIC_H_ +#define UPB_PORT_ATOMIC_H_ + + +#ifdef UPB_USE_C11_ATOMICS + +// IWYU pragma: begin_exports +#include +#include +// IWYU pragma: end_exports + +#define upb_Atomic_Init(addr, val) atomic_init(addr, val) +#define upb_Atomic_Load(addr, order) atomic_load_explicit(addr, order) +#define upb_Atomic_Store(addr, val, order) \ + atomic_store_explicit(addr, val, order) +#define upb_Atomic_Exchange(addr, val, order) \ + atomic_exchange_explicit(addr, val, order) +#define upb_Atomic_CompareExchangeStrong(addr, expected, desired, \ + success_order, failure_order) \ + atomic_compare_exchange_strong_explicit(addr, expected, desired, \ + success_order, failure_order) +#define upb_Atomic_CompareExchangeWeak(addr, expected, desired, success_order, \ + failure_order) \ + atomic_compare_exchange_weak_explicit(addr, expected, desired, \ + success_order, failure_order) +#define upb_Atomic_Add(addr, val, order) \ + atomic_fetch_add_explicit(addr, val, order) +#define upb_Atomic_Sub(addr, val, order) \ + atomic_fetch_sub_explicit(addr, val, order) + +#elif defined(UPB_USE_MSC_ATOMICS) +#include +#include +#include + +#define upb_Atomic_Init(addr, val) (*(addr) = val) + +#pragma intrinsic(_InterlockedExchange) +static int32_t upb_Atomic_LoadMsc32(int32_t volatile* addr) { + // Compare exchange with an unlikely value reduces the risk of a spurious + // (but harmless) store + return _InterlockedCompareExchange(addr, 0xDEADC0DE, 0xDEADC0DE); +} + +#pragma intrinsic(_InterlockedCompareExchange) +static bool upb_Atomic_CompareExchangeMscP32(int32_t volatile* addr, + int32_t* expected, + int32_t desired) { + int32_t expect_val = *expected; + int32_t actual_val = _InterlockedCompareExchange(addr, desired, expect_val); + if (expect_val != actual_val) { + *expected = actual_val; + return false; + } + return true; +} + +#if defined(_WIN64) +// MSVC, without C11 atomics, does not have any way in pure C to force +// load-acquire store-release behavior, so we hack it with exchanges. +#pragma intrinsic(_InterlockedCompareExchange64) +static uintptr_t upb_Atomic_LoadMsc64(uint64_t volatile* addr) { + // Compare exchange with an unlikely value reduces the risk of a spurious + // (but harmless) store + return _InterlockedCompareExchange64(addr, 0xDEADC0DEBAADF00D, + 0xDEADC0DEBAADF00D); +} + +#pragma intrinsic(_InterlockedCompareExchange64) +static bool upb_Atomic_CompareExchangeMscP64(uint64_t volatile* addr, + uint64_t* expected, + uint64_t desired) { + uint64_t expect_val = *expected; + uint64_t actual_val = + _InterlockedCompareExchange64(addr, desired, expect_val); + if (expect_val != actual_val) { + *expected = actual_val; + return false; + } + return true; +} + +#pragma intrinsic(_InterlockedExchange64) +// If _Generic is available, use it to avoid emitting a "'uintptr_t' differs in +// levels of indirection from 'void *'" or -Wint-conversion compiler warning. +#if __STDC_VERSION__ >= 201112L +#define upb_Atomic_Store(addr, val, order) \ + _Generic(addr, \ + UPB_ATOMIC(uintptr_t)*: (void)_InterlockedExchange64( \ + (uint64_t volatile*)(addr), (uint64_t)val), \ + UPB_ATOMIC(int32_t)*: (void)_InterlockedExchange( \ + (int32_t volatile*)(addr), (int32_t)val), \ + default: (void)_InterlockedExchange64((uint64_t volatile*)addr, \ + (uint64_t)val)) + +#define upb_Atomic_Load(addr, order) \ + _Generic(addr, \ + UPB_ATOMIC(uintptr_t)*: upb_Atomic_LoadMsc64( \ + (uint64_t volatile*)(addr)), \ + UPB_ATOMIC(int32_t)*: upb_Atomic_LoadMsc32((int32_t volatile*)(addr)), \ + default: (void*)upb_Atomic_LoadMsc64((uint64_t volatile*)(addr))) + +#define upb_Atomic_Exchange(addr, val, order) \ + _Generic(addr, \ + UPB_ATOMIC(uintptr_t)*: _InterlockedExchange64( \ + (uint64_t volatile*)(addr), (uint64_t)val), \ + UPB_ATOMIC(int32_t)*: _InterlockedExchange((int32_t volatile*)(addr), \ + (int32_t)val), \ + default: (void*)_InterlockedExchange64((uint64_t volatile*)addr, \ + (uint64_t)val)) + +#define upb_Atomic_CompareExchangeStrong(addr, expected, desired, \ + success_order, failure_order) \ + _Generic(addr, \ + UPB_ATOMIC(int32_t)*: upb_Atomic_CompareExchangeMscP32( \ + (int32_t volatile*)(addr), (int32_t*)expected, \ + (int32_t)desired), \ + default: upb_Atomic_CompareExchangeMscP64((uint64_t volatile*)(addr), \ + (uint64_t*)expected, \ + (uint64_t)desired)) + +#define upb_Atomic_CompareExchangeWeak(addr, expected, desired, success_order, \ + failure_order) \ + _Generic(addr, \ + UPB_ATOMIC(int32_t)*: upb_Atomic_CompareExchangeMscP32( \ + (int32_t volatile*)(addr), (int32_t*)expected, \ + (int32_t)desired), \ + default: upb_Atomic_CompareExchangeMscP64((uint64_t volatile*)(addr), \ + (uint64_t*)expected, \ + (uint64_t)desired)) + +#else + +UPB_INLINE void _upb_Atomic_StoreP(void volatile* addr, uint64_t val, + size_t size) { + if (size == sizeof(int32_t)) { + (void)_InterlockedExchange((int32_t volatile*)addr, (int32_t)val); + } else { + (void)_InterlockedExchange64((uint64_t volatile*)addr, val); + } +} + +#define upb_Atomic_Store(addr, val, order) \ + _upb_Atomic_StoreP(addr, val, sizeof(*addr)) + +UPB_INLINE int64_t _upb_Atomic_LoadP(void volatile* addr, size_t size) { + if (size == sizeof(int32_t)) { + return (int64_t)upb_Atomic_LoadMsc32((int32_t volatile*)addr); + } else { + return upb_Atomic_LoadMsc64((uint64_t volatile*)addr); + } +} + +#define upb_Atomic_Load(addr, order) \ + (void*)_upb_Atomic_LoadP((void volatile*)addr, sizeof(*addr)) + +UPB_INLINE int64_t _upb_Atomic_ExchangeP(void volatile* addr, uint64_t val, + size_t size) { + if (size == sizeof(int32_t)) { + return (int64_t)_InterlockedExchange((int32_t volatile*)addr, (int32_t)val); + } else { + return (int64_t)_InterlockedExchange64((uint64_t volatile*)addr, val); + } +} + +#define upb_Atomic_Exchange(addr, val, order) \ + (void*)_upb_Atomic_ExchangeP((void volatile*)addr, (uint64_t)val, \ + sizeof(*addr)) + +UPB_INLINE bool _upb_Atomic_CompareExchangeMscP(void volatile* addr, + void* expected, + uint64_t desired, size_t size) { + if (size == sizeof(int32_t)) { + return upb_Atomic_CompareExchangeMscP32( + (int32_t volatile*)addr, (int32_t*)expected, (int32_t)desired); + } else { + return upb_Atomic_CompareExchangeMscP64((uint64_t volatile*)addr, + (uint64_t*)expected, desired); + } +} + +#define upb_Atomic_CompareExchangeStrong(addr, expected, desired, \ + success_order, failure_order) \ + _upb_Atomic_CompareExchangeMscP(addr, expected, (uint64_t)desired, \ + sizeof(*addr)) + +#define upb_Atomic_CompareExchangeWeak(addr, expected, desired, success_order, \ + failure_order) \ + _upb_Atomic_CompareExchangeMscP(addr, expected, (uint64_t)desired, \ + sizeof(*addr)) + +#endif + +#else // 32 bit pointers +#pragma intrinsic(_InterlockedExchange) +#define upb_Atomic_Store(addr, val, order) \ + (void)_InterlockedExchange((uint32_t volatile*)addr, (uint32_t)val) + +// If _Generic is available, use it to avoid emitting 'uintptr_t' differs in +// levels of indirection from 'void *' +#if __STDC_VERSION__ >= 201112L +#define upb_Atomic_Load(addr, order) \ + _Generic(addr, \ + UPB_ATOMIC(uintptr_t)*: (uintptr_t)upb_Atomic_LoadMsc32( \ + (uint32_t volatile*)(addr)), \ + UPB_ATOMIC(int32_t)*: upb_Atomic_LoadMsc32((int32_t volatile*)(addr)), \ + default: (void*)upb_Atomic_LoadMsc32((uint32_t volatile*)(addr))) + +#define upb_Atomic_Exchange(addr, val, order) \ + _Generic(addr, \ + UPB_ATOMIC(uintptr_t)*: _InterlockedExchange((uint32_t volatile*)(addr), \ + (uint32_t)val), \ + default: (void*)_InterlockedExchange((uint32_t volatile*)addr, \ + (uint32_t)val)) +#else +#define upb_Atomic_Load(addr, order) \ + (void*)upb_Atomic_LoadMsc32((uint32_t volatile*)(addr)) + +#define upb_Atomic_Exchange(addr, val, order) \ + (void*)_InterlockedExchange((uint32_t volatile*)addr, (uint32_t)val) +#endif + +#define upb_Atomic_CompareExchangeStrong(addr, expected, desired, \ + success_order, failure_order) \ + upb_Atomic_CompareExchangeMscP32((uint32_t volatile*)addr, \ + (uint32_t*)expected, (uint32_t)desired) + +#define upb_Atomic_CompareExchangeWeak(addr, expected, desired, success_order, \ + failure_order) \ + upb_Atomic_CompareExchangeMscP32((uint32_t volatile*)addr, \ + (uint32_t*)expected, (uint32_t)desired) +#endif + +#pragma intrinsic(_InterlockedExchangeAdd) +#pragma intrinsic(_InterlockedExchangeAdd64) + +// If _Generic is available, use it to switch between 32 and 64 bit types. +#if __STDC_VERSION__ >= 201112L +#define upb_Atomic_Add(addr, val, order) \ + _Generic(addr, \ + UPB_ATOMIC(int64_t)*: _InterlockedExchangeAdd64(addr, (int64_t)val), \ + UPB_ATOMIC(int32_t)*: _InterlockedExchangeAdd(addr, (int32_t)val)) +#define upb_Atomic_Sub(addr, val, order) \ + _Generic(addr, \ + UPB_ATOMIC(int64_t)*: _InterlockedExchangeAdd64(addr, -(int64_t)val), \ + UPB_ATOMIC(int32_t)*: _InterlockedExchangeAdd(addr, -(int32_t)val)) +#else +#define upb_Atomic_Add(addr, val, order) \ + sizeof(*addr) == sizeof(int32_t) \ + ? _InterlockedExchangeAdd((uint32_t volatile*)addr, (int32_t)val) \ + : _InterlockedExchangeAdd64((uint64_t volatile*)addr, (int64_t)val) +#define upb_Atomic_Sub(addr, val, order) \ + sizeof(*addr) == sizeof(int32_t) \ + ? _InterlockedExchangeAdd((uint32_t volatile*)addr, -(int32_t)val) \ + : _InterlockedExchangeAdd64((uint64_t volatile*)addr, -(int64_t)val) +#endif + +#else // No atomics + +#if !defined(UPB_SUPPRESS_MISSING_ATOMICS) +// NOLINTNEXTLINE +#error Your compiler does not support atomic instructions, which UPB uses. If you do not use UPB on multiple threads, you can suppress this error by defining UPB_SUPPRESS_MISSING_ATOMICS. +#endif + +#include + +#define upb_Atomic_Init(addr, val) (*addr = val) +#define upb_Atomic_Load(addr, order) (*addr) +#define upb_Atomic_Store(addr, val, order) (*(addr) = val) + +UPB_INLINE void* _upb_NonAtomic_Exchange(void* addr, void* value) { + void* old; + memcpy(&old, addr, sizeof(value)); + memcpy(addr, &value, sizeof(value)); + return old; +} + +#define upb_Atomic_Exchange(addr, val, order) _upb_NonAtomic_Exchange(addr, val) + +// `addr` and `expected` are logically double pointers. +UPB_INLINE bool _upb_NonAtomic_CompareExchangeStrongP(void* addr, + void* expected, + void* desired) { + if (memcmp(addr, expected, sizeof(desired)) == 0) { + memcpy(addr, &desired, sizeof(desired)); + return true; + } else { + memcpy(expected, addr, sizeof(desired)); + return false; + } +} + +#define upb_Atomic_CompareExchangeStrong(addr, expected, desired, \ + success_order, failure_order) \ + _upb_NonAtomic_CompareExchangeStrongP((void*)addr, (void*)expected, \ + (void*)desired) +#define upb_Atomic_CompareExchangeWeak(addr, expected, desired, success_order, \ + failure_order) \ + upb_Atomic_CompareExchangeStrong(addr, expected, desired, 0, 0) + +#define upb_Atomic_Add(addr, val, order) (*addr += val) +#define upb_Atomic_Sub(addr, val, order) (*addr -= val) + +#endif + + +#endif // UPB_PORT_ATOMIC_H_ + +#ifndef UPB_MESSAGE_COMPARE_H_ +#define UPB_MESSAGE_COMPARE_H_ + +#include + + +// Must be last. + +enum { + // If set, upb_Message_IsEqual() will attempt to compare unknown fields. + // By its very nature this comparison is inexact. + kUpb_CompareOption_IncludeUnknownFields = (1 << 0) +}; + +#ifdef __cplusplus +extern "C" { +#endif + +// Returns true if no known fields or extensions are set in the message. +UPB_API bool upb_Message_IsEmpty(const upb_Message* msg, + const upb_MiniTable* m); + +UPB_API bool upb_Message_IsEqual(const upb_Message* msg1, + const upb_Message* msg2, + const upb_MiniTable* m, int options); + +// If |ctype| is a message then |m| must point to its minitable. +UPB_API_INLINE bool upb_MessageValue_IsEqual(upb_MessageValue val1, + upb_MessageValue val2, + upb_CType ctype, + const upb_MiniTable* m, + int options) { + switch (ctype) { + case kUpb_CType_Bool: + return val1.bool_val == val2.bool_val; + + case kUpb_CType_Float: + case kUpb_CType_Int32: + case kUpb_CType_UInt32: + case kUpb_CType_Enum: + return val1.int32_val == val2.int32_val; + + case kUpb_CType_Double: + case kUpb_CType_Int64: + case kUpb_CType_UInt64: + return val1.int64_val == val2.int64_val; + + case kUpb_CType_String: + case kUpb_CType_Bytes: + return upb_StringView_IsEqual(val1.str_val, val2.str_val); + + case kUpb_CType_Message: + return upb_Message_IsEqual(val1.msg_val, val2.msg_val, m, options); + + default: + UPB_UNREACHABLE(); + return false; + } +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_MESSAGE_COMPARE_H_ + +#ifndef UPB_MESSAGE_INTERNAL_COMPARE_UNKNOWN_H_ +#define UPB_MESSAGE_INTERNAL_COMPARE_UNKNOWN_H_ + +#include + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// Returns true if unknown fields from the two messages are equal when sorted +// and varints are made canonical. +// +// This function is discouraged, as the comparison is inherently lossy without +// schema data: +// +// 1. We don't know whether delimited fields are sub-messages. Unknown +// sub-messages will therefore not have their fields sorted and varints +// canonicalized. +// 2. We don't know about oneof/non-repeated fields, which should semantically +// discard every value except the last. + +typedef enum { + kUpb_UnknownCompareResult_Equal = 0, + kUpb_UnknownCompareResult_NotEqual = 1, + kUpb_UnknownCompareResult_OutOfMemory = 2, + kUpb_UnknownCompareResult_MaxDepthExceeded = 3, +} upb_UnknownCompareResult; + +upb_UnknownCompareResult UPB_PRIVATE(_upb_Message_UnknownFieldsAreEqual)( + const upb_Message* msg1, const upb_Message* msg2, int max_depth); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_INTERNAL_COMPARE_UNKNOWN_H_ */ + +#ifndef GOOGLE_UPB_UPB_MESSAGE_INTERNAL_ITERATOR_H__ +#define GOOGLE_UPB_UPB_MESSAGE_INTERNAL_ITERATOR_H__ + +#include +#include + + +// Must be last. + +#define kUpb_BaseField_Begin ((size_t)-1) +bool UPB_PRIVATE(_upb_Message_NextBaseField)(const upb_Message* msg, + const upb_MiniTable* m, + const upb_MiniTableField** out_f, + upb_MessageValue* out_v, + uintptr_t* iter); + +#endif // GOOGLE_UPB_UPB_MESSAGE_INTERNAL_ITERATOR_H__ + +#ifndef UPB_MESSAGE_COMPAT_H_ +#define UPB_MESSAGE_COMPAT_H_ + +#include + + +// Must be last. + +// upb does not support mixing minitables from different sources but these +// functions are still used by some existing users so for now we make them +// available here. This may or may not change in the future so do not add +// them to new code. + +#ifdef __cplusplus +extern "C" { +#endif + +// Same as upb_Message_NextExtension but iterates in reverse wire order +bool upb_Message_NextExtensionReverse(const upb_Message* msg, + const upb_MiniTableExtension** result, + uintptr_t* iter); +// Returns the minitable with the given field number, or NULL on failure. +const upb_MiniTableExtension* upb_Message_FindExtensionByNumber( + const upb_Message* msg, uint32_t field_number); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_COMPAT_H_ */ + +#ifndef UPB_MESSAGE_CONVERT_H_ +#define UPB_MESSAGE_CONVERT_H_ + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// Converts a message between two different `upb_MiniTable` types. The source +// and destination `upb_MiniTable`s must be compatible, e.g. they are both +// derived from the same proto definition (e.g., via tree-shaking) or subsets of +// some message proto. +// +// It is equivalent to encoding the source message and then decoding it +// using the destination `upb_MiniTable`, but is generally faster and uses less +// memory. +// +// If the destination message, or any of its submessages, uses the same +// minitable as the matching part of the source (determined by pointer +// identity), the destination will alias the source's memory (shallow copy) +// instead of performing a deep copy. Strings and unknown fields are aliased +// from the input message. +// +// Fields present in the source but not the destination will be encoded and +// added to the destination's unknown fields (or extensions, if the extension +// registry allows it). +// +// Returns a new message on success, or NULL on failure. This function may +// return NULL even for valid inputs, if it encounters a case it does not +// support. If the caller wishes to handle all cases, they should detect NULL +// and fallback to serializing the source message and then decoding it using +// the destination `upb_MiniTable`. +// +// `decode_options` and `encode_options` are passed to the underlying decode and +// encode operations. Note that `kUpb_DecodeOption_AliasString` is set +// unconditionally, so strings in decoded unknown fields are always aliased +// regardless of `decode_options`. +const upb_Message* upb_Message_Convert(const upb_Message* src, + const upb_MiniTable* src_mt, + const upb_MiniTable* dst_mt, + const upb_ExtensionRegistry* extreg, + int decode_options, int encode_options, + upb_Arena* arena); + +#ifdef __cplusplus +} // extern "C" +#endif + + +#endif // UPB_MESSAGE_CONVERT_H_ + +#ifndef UPB_WIRE_EPS_COPY_INPUT_STREAM_H_ +#define UPB_WIRE_EPS_COPY_INPUT_STREAM_H_ + +#include +#include + + +#ifndef UPB_WIRE_INTERNAL_EPS_COPY_INPUT_STREAM_H_ +#define UPB_WIRE_INTERNAL_EPS_COPY_INPUT_STREAM_H_ + +#include +#include +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// The maximum number of bytes a single protobuf field can take up in the +// wire format. We only want to do one bounds check per field, so the input +// stream guarantees that after upb_EpsCopyInputStream_IsDone() is called, +// the decoder can read this many bytes without performing another bounds +// check. The stream will copy into a patch buffer as necessary to guarantee +// this invariant. Since tags can only be up to 5 bytes, and a max-length scalar +// field can be 10 bytes, only 15 is required; but sizing up to 16 permits more +// efficient fixed size copies. +#define kUpb_EpsCopyInputStream_SlopBytes 16 + +struct upb_EpsCopyCapture { + const char* start; // Pointer to the beginning of the captured region. +}; + +struct upb_EpsCopyInputStream { + const char* end; // Can read up to SlopBytes bytes beyond this. + const char* limit_ptr; // For bounds checks, = end + UPB_MIN(limit, 0) + uintptr_t input_delta; // Diff between the original input pointer and patch + const char* buffer_start; // Pointer to the original input buffer + ptrdiff_t limit; // Submessage limit relative to end + upb_ErrorHandler* err; // Error handler to use when things go wrong. + bool error; // To distinguish between EOF and error. +#ifndef NDEBUG + int guaranteed_bytes; +#endif + // Allocate double the size of what's required; this permits a fixed-size copy + // from the input buffer, regardless of how many bytes actually remain in the + // input buffer. + char patch[kUpb_EpsCopyInputStream_SlopBytes * 2]; +}; + +UPB_INLINE void UPB_PRIVATE(upb_EpsCopyInputStream_BoundsChecked)( + struct upb_EpsCopyInputStream* e); + +UPB_INLINE bool upb_EpsCopyInputStream_IsError( + struct upb_EpsCopyInputStream* e) { + return e->error; +} + +UPB_INLINE void upb_EpsCopyInputStream_InitWithErrorHandler( + struct upb_EpsCopyInputStream* e, const char** ptr, size_t size, + upb_ErrorHandler* err) { + e->buffer_start = *ptr; + e->err = err; + if (size <= kUpb_EpsCopyInputStream_SlopBytes) { + memset(&e->patch, 0, 32); + if (size) memcpy(&e->patch, *ptr, size); + e->input_delta = (uintptr_t)*ptr - (uintptr_t)e->patch; + *ptr = e->patch; + e->end = *ptr + size; + e->limit = 0; + } else { + e->end = *ptr + size - kUpb_EpsCopyInputStream_SlopBytes; + e->limit = kUpb_EpsCopyInputStream_SlopBytes; + e->input_delta = 0; + } + e->limit_ptr = e->end; + e->error = false; + UPB_PRIVATE(upb_EpsCopyInputStream_BoundsChecked)(e); +} + +UPB_INLINE void upb_EpsCopyInputStream_Init(struct upb_EpsCopyInputStream* e, + const char** ptr, size_t size) { + upb_EpsCopyInputStream_InitWithErrorHandler(e, ptr, size, NULL); +} + +UPB_ATTR_CONST +UPB_INLINE bool upb_EpsCopyInputStream_HasErrorHandler( + const struct upb_EpsCopyInputStream* e) { + return e && e->err != NULL; +} + +UPB_NORETURN UPB_NOINLINE void UPB_PRIVATE( + upb_EpsCopyInputStream_ThrowMalformed)(struct upb_EpsCopyInputStream* e); + +// Call this function to signal an error. If an error handler is set, it will be +// called and the function will never return. Otherwise, returns NULL to +// indicate an error. +UPB_INLINE const char* UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)( + struct upb_EpsCopyInputStream* e) { + if (e->err) { + UPB_PRIVATE(upb_EpsCopyInputStream_ThrowMalformed)(e); + } else { + e->error = true; + } + return NULL; +} + +UPB_INLINE const char* UPB_PRIVATE(upb_EpsCopyInputStream_AssumeResult)( + struct upb_EpsCopyInputStream* e, const char* ptr) { + UPB_MAYBE_ASSUME(upb_EpsCopyInputStream_HasErrorHandler(e), ptr != NULL); + return ptr; +} + +//////////////////////////////////////////////////////////////////////////////// + +// Debug checks that attempt to ensure that no code paths will overrun the slop +// bytes even in the worst case. Since we are frequently parsing varints, it's +// possible that the user is trying to parse too many varints before calling +// upb_EpsCopyInputStream_IsDone(), but this error case is not detected because +// the varints are short. These checks ensure that will not overrun the slop +// bytes, even if each varint is its maximum possible length. + +UPB_INLINE void UPB_PRIVATE(upb_EpsCopyInputStream_BoundsChecked)( + struct upb_EpsCopyInputStream* e) { +#ifndef NDEBUG + e->guaranteed_bytes = kUpb_EpsCopyInputStream_SlopBytes; +#endif +} + +UPB_INLINE void UPB_PRIVATE(upb_EpsCopyInputStream_BoundsHit)( + struct upb_EpsCopyInputStream* e) { +#ifndef NDEBUG + e->guaranteed_bytes = 0; +#endif +} + +// Signals the maximum number that the operation about to be performed may +// consume. +UPB_INLINE void UPB_PRIVATE(upb_EpsCopyInputStream_ConsumeBytes)( + struct upb_EpsCopyInputStream* e, int n) { +#ifndef NDEBUG + if (e) { + UPB_ASSERT(e->guaranteed_bytes >= n); + e->guaranteed_bytes -= n; + } +#endif +} + +//////////////////////////////////////////////////////////////////////////////// + +typedef enum { + // The current stream position is at a limit. + kUpb_IsDoneStatus_Done, + + // The current stream position is not at a limit. + kUpb_IsDoneStatus_NotDone, + + // The current stream position is not at a limit, and the stream needs to + // be flipped to a new buffer before more data can be read. + kUpb_IsDoneStatus_NeedFallback, +} upb_IsDoneStatus; + +// Returns the status of the current stream position. This is a low-level +// function, it is simpler to call upb_EpsCopyInputStream_IsDone() if possible. +UPB_INLINE upb_IsDoneStatus UPB_PRIVATE(upb_EpsCopyInputStream_IsDoneStatus)( + struct upb_EpsCopyInputStream* e, const char* ptr, int* overrun) { + *overrun = ptr - e->end; + if (UPB_LIKELY(ptr < e->limit_ptr)) { + UPB_PRIVATE(upb_EpsCopyInputStream_BoundsChecked)(e); + return kUpb_IsDoneStatus_NotDone; + } else if (UPB_LIKELY(*overrun == e->limit)) { + UPB_PRIVATE(upb_EpsCopyInputStream_BoundsHit)(e); + return kUpb_IsDoneStatus_Done; + } else { + UPB_PRIVATE(upb_EpsCopyInputStream_BoundsHit)(e); + return kUpb_IsDoneStatus_NeedFallback; + } +} + +const char* UPB_PRIVATE(upb_EpsCopyInputStream_IsDoneFallback)( + struct upb_EpsCopyInputStream* e, const char* ptr, int overrun); + +UPB_INLINE bool upb_EpsCopyInputStream_IsDone(struct upb_EpsCopyInputStream* e, + const char** ptr) { + int overrun; + switch (UPB_PRIVATE(upb_EpsCopyInputStream_IsDoneStatus)(e, *ptr, &overrun)) { + case kUpb_IsDoneStatus_Done: + UPB_PRIVATE(upb_EpsCopyInputStream_BoundsHit)(e); + return true; + case kUpb_IsDoneStatus_NotDone: + UPB_PRIVATE(upb_EpsCopyInputStream_BoundsChecked)(e); + return false; + case kUpb_IsDoneStatus_NeedFallback: + *ptr = + UPB_PRIVATE(upb_EpsCopyInputStream_IsDoneFallback)(e, *ptr, overrun); + if (*ptr) { + UPB_PRIVATE(upb_EpsCopyInputStream_BoundsChecked)(e); + } else { + UPB_PRIVATE(upb_EpsCopyInputStream_BoundsHit)(e); + } + return *ptr == NULL; + } + UPB_UNREACHABLE(); +} + +UPB_INLINE bool upb_EpsCopyInputStream_CheckSize( + const struct upb_EpsCopyInputStream* e, const char* ptr, int size) { + UPB_ASSERT(size >= 0); + return size <= e->limit - (ptr - e->end); +} + +// Returns a pointer into an input buffer that corresponds to the parsing +// pointer `ptr`. The returned pointer may be the same as `ptr`, but also may +// be different if we are currently parsing out of the patch buffer. +UPB_INLINE const char* UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)( + struct upb_EpsCopyInputStream* e, const char* ptr) { + // This somewhat silly looking add-and-subtract behavior provides provenance + // from the original input buffer's pointer. After optimization it produces + // the same assembly as just casting `(uintptr_t)ptr+input_delta` + // https://godbolt.org/z/zosG88oPn + size_t position = + (uintptr_t)ptr + e->input_delta - (uintptr_t)e->buffer_start; + return e->buffer_start + position; +} + +UPB_INLINE void upb_EpsCopyCapture_Start(struct upb_EpsCopyCapture* c, + struct upb_EpsCopyInputStream* e, + const char* ptr) { + c->start = UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(e, ptr); +} + +UPB_INLINE bool upb_EpsCopyCapture_End(struct upb_EpsCopyCapture* c, + struct upb_EpsCopyInputStream* e, + const char* ptr, upb_StringView* sv) { + if (ptr - e->end > e->limit) { + return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(e); + } + const char* end = UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(e, ptr); + sv->data = c->start; + sv->size = end - sv->data; + return true; +} + +UPB_INLINE const char* upb_EpsCopyInputStream_ReadStringAlwaysAlias( + struct upb_EpsCopyInputStream* e, const char* ptr, size_t size, + upb_StringView* sv) { + UPB_ASSERT(size <= PTRDIFF_MAX); + // The `size` must be within the input buffer. If `ptr` is in the input + // buffer, then using the slop bytes is fine (because they are real bytes from + // the tail of the input buffer). If `ptr` is in the patch buffer, then slop + // bytes represent bytes that do not actually exist in the original input + // buffer, so we must fail if the size extends into the slop bytes. + const char* limit = + e->end + (e->input_delta == 0) * kUpb_EpsCopyInputStream_SlopBytes; + if ((ptrdiff_t)size > limit - ptr) { + // For the moment, we consider this an error. In a multi-buffer world, + // it could be that the requested string extends into the next buffer, which + // is not an error and should be recoverable. + return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(e); + } + const char* input = UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(e, ptr); + *sv = upb_StringView_FromDataAndSize(input, size); + return ptr + size; +} + +UPB_INLINE const char* upb_EpsCopyInputStream_ReadStringEphemeral( + struct upb_EpsCopyInputStream* e, const char* ptr, size_t size, + upb_StringView* sv) { + UPB_ASSERT(size <= PTRDIFF_MAX); + // Size must be within the current buffer (including slop bytes). + const char* limit = e->end + kUpb_EpsCopyInputStream_SlopBytes; + if ((ptrdiff_t)size > limit - ptr) { + // For the moment, we consider this an error. In a multi-buffer world, + // it could be that the requested string extends into the next buffer, which + // is not an error and should be recoverable. + return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(e); + } + *sv = upb_StringView_FromDataAndSize(ptr, size); + return ptr + size; +} + +UPB_INLINE void UPB_PRIVATE(upb_EpsCopyInputStream_CheckLimit)( + struct upb_EpsCopyInputStream* e) { + UPB_ASSERT(e->limit_ptr == e->end + UPB_MIN(0, e->limit)); +} + +UPB_INLINE ptrdiff_t upb_EpsCopyInputStream_PushLimit( + struct upb_EpsCopyInputStream* e, const char* ptr, size_t size) { + UPB_ASSERT(size <= PTRDIFF_MAX); + ptrdiff_t limit = (ptrdiff_t)size + (ptr - e->end); + ptrdiff_t delta = e->limit - limit; + UPB_PRIVATE(upb_EpsCopyInputStream_CheckLimit)(e); + e->limit = limit; + e->limit_ptr = e->end + UPB_MIN(0, limit); + UPB_PRIVATE(upb_EpsCopyInputStream_CheckLimit)(e); + if (UPB_UNLIKELY(delta < 0)) { + UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(e); + } + return delta; +} + +// Pops the last limit that was pushed on this stream. This may only be called +// once IsDone() returns true. The user must pass the delta that was returned +// from PushLimit(). +UPB_INLINE void upb_EpsCopyInputStream_PopLimit( + struct upb_EpsCopyInputStream* e, const char* ptr, ptrdiff_t saved_delta) { + UPB_ASSERT(ptr - e->end == e->limit); + UPB_PRIVATE(upb_EpsCopyInputStream_CheckLimit)(e); + e->limit += saved_delta; + e->limit_ptr = e->end + UPB_MIN(0, e->limit); + UPB_PRIVATE(upb_EpsCopyInputStream_CheckLimit)(e); +} + +typedef const char* upb_EpsCopyInputStream_ParseDelimitedFunc( + struct upb_EpsCopyInputStream* e, const char* ptr, int size, void* ctx); + +UPB_FORCEINLINE bool upb_EpsCopyInputStream_TryParseDelimitedFast( + struct upb_EpsCopyInputStream* e, const char** ptr, size_t size, + upb_EpsCopyInputStream_ParseDelimitedFunc* func, void* ctx) { + UPB_ASSERT(size <= PTRDIFF_MAX); + if ((ptrdiff_t)size > e->limit_ptr - *ptr) { + return false; + } + + // Fast case: Sub-message is <128 bytes and fits in the current buffer. + // This means we can preserve limit/limit_ptr verbatim. + const char* saved_limit_ptr = e->limit_ptr; + ptrdiff_t saved_limit = e->limit; + e->limit_ptr = *ptr + size; + e->limit = e->limit_ptr - e->end; + UPB_ASSERT(e->limit_ptr == e->end + UPB_MIN(0, e->limit)); + *ptr = func(e, *ptr, size, ctx); + e->limit_ptr = saved_limit_ptr; + e->limit = saved_limit; + UPB_ASSERT(e->limit_ptr == e->end + UPB_MIN(0, e->limit)); + return true; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_WIRE_INTERNAL_EPS_COPY_INPUT_STREAM_H_ + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct upb_EpsCopyCapture upb_EpsCopyCapture; +typedef struct upb_EpsCopyInputStream upb_EpsCopyInputStream; + +// Initializes a upb_EpsCopyInputStream using the contents of the buffer +// [*ptr, size]. Updates `*ptr` as necessary to guarantee that at least +// kUpb_EpsCopyInputStream_SlopBytes are available to read. +UPB_INLINE void upb_EpsCopyInputStream_Init(upb_EpsCopyInputStream* e, + const char** ptr, size_t size); + +// Like the previous function, but registers an error handler that will be +// called for any errors encountered. +UPB_INLINE void upb_EpsCopyInputStream_InitWithErrorHandler( + upb_EpsCopyInputStream* e, const char** ptr, size_t size, + upb_ErrorHandler* err); + +// Returns true if the stream has an error handler. +// +// This function is marked const, which indicates to the compiler that the +// return value is solely a function of the pointer value. This is not +// entirely true if the stream is reinitialized with +// upb_EpsCopyInputStream_Init*(), so users must not call this function in +// any context where the stream may be reinitialized between calls to this +// function, and the presence of an error handler changes when reinitialized. +UPB_ATTR_CONST +UPB_INLINE bool upb_EpsCopyInputStream_HasErrorHandler( + const upb_EpsCopyInputStream* e); + +// Returns true if the stream is in the error state. A stream enters the error +// state when the user reads past a limit (caught in IsDone()) or the +// ZeroCopyInputStream returns an error. +UPB_INLINE bool upb_EpsCopyInputStream_IsError(upb_EpsCopyInputStream* e); + +// Returns true if the stream has hit a limit, either the current delimited +// limit or the overall end-of-stream. As a side effect, this function may flip +// the pointer to a new buffer if there are less than +// kUpb_EpsCopyInputStream_SlopBytes of data to be read in the current buffer. +// +// Postcondition: if the function returns false, there are at least +// kUpb_EpsCopyInputStream_SlopBytes of data available to read at *ptr. +// +// If this returns true, the user must call upb_EpsCopyInputStream_IsError() +// to distinguish between EOF and error. +UPB_INLINE bool upb_EpsCopyInputStream_IsDone(upb_EpsCopyInputStream* e, + const char** ptr); + +// Returns true if the given delimited field size is valid (it does not extend +// beyond any previously-pushed limits). `ptr` should point to the beginning +// of the field data, after the delimited size. +// +// Note that this does *not* guarantee that all of the data for this field is in +// the current buffer. +UPB_INLINE bool upb_EpsCopyInputStream_CheckSize( + const upb_EpsCopyInputStream* e, const char* ptr, int size); + +// Marks the start of a capture operation. The capture operation will be +// finalized by a call to upb_EpsCopyCapture_End(). The captured string will +// be returned in sv, and will point to the original input buffer if possible. +UPB_INLINE void upb_EpsCopyCapture_Start(upb_EpsCopyCapture* c, + upb_EpsCopyInputStream* e, + const char* ptr); + +// Ends a capture operation and returns the captured string. Returns false if +// the capture operation was invalid (the parsing pointer extends beyond the +// end of the stream). +UPB_INLINE bool upb_EpsCopyCapture_End(upb_EpsCopyCapture* c, + upb_EpsCopyInputStream* e, + const char* ptr, upb_StringView* sv); + +// Reads a string from the stream and advances the pointer accordingly. The +// returned string view will always alias the input buffer. +// +// Returns NULL if size extends beyond the end of the current input buffer. +// Currently, we only support a single input buffer, so this function will only +// fail if `size` overflows the end of the stream. +// +// If/when we support multiple input buffers, there may be cases where this +// function returns failure, even if the requested region is valid, because the +// requested region spans multiple buffers. In this case, the caller must +// attempt to read the string using other string reading functions before +// signaling an error. +UPB_INLINE const char* upb_EpsCopyInputStream_ReadStringAlwaysAlias( + upb_EpsCopyInputStream* e, const char* ptr, size_t size, + upb_StringView* sv); + +// Reads a string from the stream and advances the pointer accordingly. The +// returned string view is ephemeral, only valid until the next call to +// upb_EpsCopyInputStream. It may point to the patch buffer. +// +// Returns NULL if size extends beyond the end of the current buffer (which may +// be the patch buffer). +// +// IMPORTANT NOTE: If `size` extends beyond the end of the stream, the returned +// data may contain garbage bytes from the patch buffer. For efficiency, this +// function does not check that `size` is within the current limit or even the +// end of the stream. +// +// The bytes are guaranteed to be safe to read ephemerally, but they may contain +// garbage data that does not correspond to anything in the input. This error +// will be detected later, when calling upb_EpsCopyInputStream_IsDone() (because +// we will not end at the proper limit), but it may result in nonsense bytes +// ending up in the output. +UPB_INLINE const char* upb_EpsCopyInputStream_ReadStringEphemeral( + upb_EpsCopyInputStream* e, const char* ptr, size_t size, + upb_StringView* sv); + +// Pushes a limit onto the stack of limits for the current stream. The limit +// will extend for `size` bytes beyond the position in `ptr`. Future calls to +// upb_EpsCopyInputStream_IsDone() will return `true` when the stream position +// reaches this limit. +// +// Returns a delta that the caller must store and supply to PopLimit() below. +// +// A return value of <0 indicates that `size` is too large, and exceeds a +// previous limit. If this occurs, the stream is in an error state and must no +// longer be used. +UPB_INLINE ptrdiff_t upb_EpsCopyInputStream_PushLimit(upb_EpsCopyInputStream* e, + const char* ptr, + size_t size); + +// Pops the last limit that was pushed on this stream. This may only be called +// once IsDone() returns true. The user must pass the delta that was returned +// from PushLimit(). +UPB_INLINE void upb_EpsCopyInputStream_PopLimit(upb_EpsCopyInputStream* e, + const char* ptr, + ptrdiff_t saved_delta); + +// Tries to perform a fast-path handling of the given delimited message data. +// If the sub-message beginning at `*ptr` and extending for `len` is short and +// fits within this buffer, calls `func` with `ctx` as a parameter, where the +// pushing and popping of limits is handled automatically and with lower cost +// than the normal PushLimit()/PopLimit() sequence. +UPB_FORCEINLINE bool upb_EpsCopyInputStream_TryParseDelimitedFast( + upb_EpsCopyInputStream* e, const char** ptr, size_t size, + upb_EpsCopyInputStream_ParseDelimitedFunc* func, void* ctx); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#ifdef __cplusplus +// Temporary overloads for functions whose signature has recently changed. +UPB_DEPRECATE_AND_INLINE() +UPB_INLINE void upb_EpsCopyInputStream_Init(upb_EpsCopyInputStream* e, + const char** ptr, size_t size, + bool enable_aliasing) { + upb_EpsCopyInputStream_Init(e, ptr, size); +} +#endif + + +#endif // UPB_WIRE_EPS_COPY_INPUT_STREAM_H_ + +#ifndef GOOGLE_UPB_UPB_WIRE_INTERNAL_BACK_ALLOC_H__ +#define GOOGLE_UPB_UPB_WIRE_INTERNAL_BACK_ALLOC_H__ + +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// Allocates memory from the back of the arena. +typedef struct { + upb_Arena* arena; + char *buf, *limit; + bool standalone; +} upb_BackAlloc; + +// Needed because C doesn't allow NULL - NULL. +extern char upb_BackAlloc_sentinel; + +char* upb_BackAlloc_Grow(upb_BackAlloc* a, char* ptr, size_t need); + +UPB_INLINE char* upb_BackAlloc_Init(upb_BackAlloc* a, upb_Arena* arena) { + a->arena = arena; + // This could eagerly steal whatever's in the arena, since stealing with a + // minimum of 0 can't fail. + a->buf = &upb_BackAlloc_sentinel; + a->limit = &upb_BackAlloc_sentinel; + a->standalone = false; + return a->limit; +} + +UPB_INLINE void upb_BackAlloc_Abort(upb_BackAlloc* a) { + if (a->standalone) { + UPB_PRIVATE(_upb_Arena_FreeBlock)(a->arena, a->buf); + } else if (a->limit != a->buf) { + UPB_PRIVATE(_upb_Arena_UseBlock)(a->arena, a->buf, a->limit - a->buf); + } +} + +UPB_INLINE size_t upb_BackAlloc_Finish(upb_BackAlloc* a, const char* ptr) { + if (a->standalone) { + UPB_PRIVATE(_upb_Arena_AddBlock)(a->arena, a->buf); + } + if (ptr != a->buf) { + UPB_PRIVATE(_upb_Arena_UseBlock)(a->arena, a->buf, ptr - a->buf); + } + return a->limit - ptr; +} + +UPB_FORCEINLINE bool upb_BackAlloc_HasBytes(const upb_BackAlloc* a, + const char* ptr, size_t need) { + size_t have = ptr - a->buf; + return have >= need; +} + +UPB_FORCEINLINE char* upb_BackAlloc_Reserve(upb_BackAlloc* a, char* ptr, + size_t need) { + return upb_BackAlloc_HasBytes(a, ptr, need) + ? ptr - need + : upb_BackAlloc_Grow(a, ptr, need); +} + +UPB_INLINE size_t upb_BackAlloc_Size(const upb_BackAlloc* a, const char* ptr) { + return a->limit - ptr; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // GOOGLE_UPB_UPB_WIRE_INTERNAL_BACK_ALLOC_H__ + +/* + * Internal implementation details of the decoder that are shared between + * decode.c and decode_fast.c. + */ + +#ifndef UPB_WIRE_INTERNAL_DECODER_H_ +#define UPB_WIRE_INTERNAL_DECODER_H_ + +#include +#include +#include + + +#ifndef UPB_WIRE_TYPES_H_ +#define UPB_WIRE_TYPES_H_ + +// A list of types as they are encoded on the wire. +typedef enum { + kUpb_WireType_Varint = 0, + kUpb_WireType_64Bit = 1, + kUpb_WireType_Delimited = 2, + kUpb_WireType_StartGroup = 3, + kUpb_WireType_EndGroup = 4, + kUpb_WireType_32Bit = 5 +} upb_WireType; + +#endif /* UPB_WIRE_TYPES_H_ */ +#include "utf8_range.h" + +// Must be last. + +#define DECODE_NOGROUP (uint32_t)-1 +#define kUpb_Decoder_EncodeVarint32MaxSize 5 + +typedef union { + bool bool_val; + uint32_t uint32_val; + uint64_t uint64_val; + uint32_t size; +} wireval; + +typedef struct upb_Decoder { + upb_EpsCopyInputStream input; + const upb_ExtensionRegistry* extreg; + upb_Message* original_msg; // Pointer to preserve data to + int depth; // Tracks recursion depth to bound stack usage. + uint32_t end_group; // field number of END_GROUP tag, else DECODE_NOGROUP. + uint16_t options; + bool missing_required; + bool message_is_done; + union { + upb_Arena arena; + void* foo[UPB_ARENA_SIZE_HACK / sizeof(void*)]; + }; + upb_ErrorHandler* err; + +#ifndef NDEBUG + char* trace_buf; + char* trace_ptr; + char* trace_end; +#endif +} upb_Decoder; + +UPB_INLINE void _upb_Decoder_AssumeEpsHasErrorHandler(upb_Decoder* d) { + UPB_ASSUME(upb_EpsCopyInputStream_HasErrorHandler(&d->input)); +} + +#define EPS(d) (_upb_Decoder_AssumeEpsHasErrorHandler(d), &(d)->input) + +UPB_INLINE const char* upb_Decoder_Init(upb_Decoder* d, const char* buf, + size_t size, + const upb_ExtensionRegistry* extreg, + int options, upb_Arena* arena, + upb_ErrorHandler* err, char* trace_buf, + size_t trace_size) { + d->err = err; + upb_EpsCopyInputStream_InitWithErrorHandler(&d->input, &buf, size, d->err); + + UPB_STATIC_ASSERT((int)kUpb_DecodeStatus_Ok == (int)kUpb_ErrorCode_Ok, + "mismatched error codes"); + UPB_STATIC_ASSERT( + (int)kUpb_DecodeStatus_OutOfMemory == (int)kUpb_ErrorCode_OutOfMemory, + "mismatched error codes"); + UPB_STATIC_ASSERT( + (int)kUpb_DecodeStatus_Malformed == (int)kUpb_ErrorCode_Malformed, + "mismatched error codes"); + + if (options & kUpb_DecodeOption_AlwaysValidateUtf8) { + // Fasttable decoder does not support this option. + options |= kUpb_DecodeOption_DisableFastTable; + } + + d->extreg = extreg; + d->depth = upb_DecodeOptions_GetEffectiveMaxDepth(options); + d->end_group = DECODE_NOGROUP; + d->options = (uint16_t)options; + d->missing_required = false; + d->message_is_done = false; +#ifndef NDEBUG + d->trace_buf = trace_buf; + d->trace_ptr = trace_buf; + d->trace_end = UPB_PTRADD(trace_buf, trace_size); +#endif + if (trace_buf) *trace_buf = 0; // Null-terminate. + + // Violating the encapsulation of the arena for performance reasons. + // This is a temporary arena that we swap into and swap out of when we are + // done. The temporary arena only needs to be able to handle allocation, + // not fuse or free, so it does not need many of the members to be initialized + // (particularly parent_or_count). + UPB_PRIVATE(_upb_Arena_SwapIn)(&d->arena, arena); + return buf; +} + +UPB_INLINE upb_DecodeStatus upb_Decoder_Destroy(upb_Decoder* d, + upb_Arena* arena) { + UPB_PRIVATE(_upb_Arena_SwapOut)(arena, &d->arena); + return (upb_DecodeStatus)d->err->code; +} + +// Resets decoder fields in preparation for decoding a new message. +// +// Some decoder fields (arena, extreg, err) are preserved so they can be +// reused across messages. +// NOTE: The input stream is NOT reset. If a new input buffer is being used, +// upb_EpsCopyInputStream_InitWithErrorHandler() must be called separately. +UPB_INLINE void upb_Decoder_Reset(upb_Decoder* d, int options, + upb_Message* msg) { + d->depth = upb_DecodeOptions_GetEffectiveMaxDepth(options); + d->options = options; + d->end_group = DECODE_NOGROUP; + d->missing_required = false; + d->message_is_done = false; + d->original_msg = msg; +} + +#ifndef NDEBUG +UPB_INLINE bool _upb_Decoder_TraceBufferHasBytesAvailable(upb_Decoder* d, + int n) { + return d->trace_ptr && d->trace_end && d->trace_end - d->trace_ptr > n; +} +#endif + +UPB_INLINE char* _upb_Decoder_TraceNext(upb_Decoder* d) { +#ifndef NDEBUG + return _upb_Decoder_TraceBufferHasBytesAvailable(d, 2) ? d->trace_ptr + 1 + : NULL; +#else + return NULL; +#endif +} + +UPB_INLINE char* _upb_Decoder_TracePtr(upb_Decoder* d) { +#ifndef NDEBUG + return d->trace_ptr; +#else + return NULL; +#endif +} + +// Trace events are used to trace the progress of the decoder. +// Events: +// 'D' Fast dispatch +// 'F' Field successfully parsed fast. +// '<' Fallback to MiniTable parser. +// 'M' Field successfully parsed with MiniTable. +// 'X' Truncated -- trace buffer is full, further events were discarded. +// 'U' Unknown field parsed fast +// +// Lower-case letters indicate events that are more subtle and therefore +// difficult to assert on, but may be useful information for debugging: +// 'r' Refresh buffer. +// 's' Fall back to unknown fast path +// 'm' Fall back to minitable lookup fast path +UPB_INLINE void _upb_Decoder_Trace(upb_Decoder* d, char event) { +#ifndef NDEBUG +#ifdef UPB_TRACE_FASTDECODER + fprintf(stderr, "Fasttable trace event: %c\n", event); +#endif + if (d->trace_ptr == NULL) return; + if (!_upb_Decoder_TraceBufferHasBytesAvailable(d, 1)) { + d->trace_ptr[-1] = 'X'; // Truncated. + return; + } + d->trace_ptr[0] = event; + d->trace_ptr[1] = '\0'; + d->trace_ptr++; +#endif +}; + +UPB_INLINE +bool _upb_Decoder_VerifyUtf8Inline(const char* ptr, int len) { + return utf8_range_IsValid(ptr, len); +} + +UPB_INLINE void _upb_Decoder_VerifyOneofUnlinked( + const upb_MiniTable* mt, const upb_MiniTableField* field) { +#ifndef NDEBUG + const upb_MiniTableField* oneof = upb_MiniTable_GetOneof(mt, field); + if (oneof) { + // All other members of the oneof must be message fields that are also + // unlinked. + do { + UPB_ASSERT(upb_MiniTableField_CType(oneof) == kUpb_CType_Message); + const upb_MiniTable* oneof_sub = upb_MiniTable_GetSubMessageTable(oneof); + UPB_ASSERT(!oneof_sub); + } while (upb_MiniTable_NextOneofField(mt, &oneof)); + } +#endif // NDEBUG +} + +const char* _upb_Decoder_CheckRequired(upb_Decoder* d, const char* ptr, + const upb_Message* msg, + const upb_MiniTable* m); + +#if UPB_FASTTABLE +UPB_PRESERVE_NONE +#endif +const char* _upb_Decoder_DecodeMessage(upb_Decoder* d, const char* ptr, + upb_Message* msg, + const upb_MiniTable* layout); + +UPB_INLINE bool _upb_Decoder_FieldRequiresUtf8Validation( + const upb_Decoder* d, const upb_MiniTableField* field) { + if (field->UPB_PRIVATE(descriptortype) == kUpb_FieldType_String) return true; + + if (field->UPB_PRIVATE(descriptortype) == kUpb_FieldType_Bytes && + (field->UPB_ONLYBITS(mode) & kUpb_LabelFlags_IsAlternate) && + (d->options & kUpb_DecodeOption_AlwaysValidateUtf8)) { + return true; + } + + return false; +} + +UPB_INLINE bool _upb_Decoder_ReadString(upb_Decoder* d, const char** ptr, + size_t size, upb_StringView* sv, + bool validate_utf8) { + upb_StringView tmp; + *ptr = + upb_EpsCopyInputStream_ReadStringAlwaysAlias(&d->input, *ptr, size, &tmp); + if (*ptr == NULL) return false; + if (validate_utf8 && !utf8_range_IsValid(tmp.data, tmp.size)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_BadUtf8); + return false; + } + if ((d->options & kUpb_DecodeOption_AliasString) == 0) { + char* data = (char*)upb_Arena_Malloc(&d->arena, tmp.size); + if (!data) return false; + memcpy(data, tmp.data, tmp.size); + tmp.data = data; + } + *sv = tmp; + return true; +} + +UPB_INLINE char* upb_Decoder_EncodeVarint32(uint32_t val, char* ptr) { + do { + uint8_t byte = val & 0x7fU; + val >>= 7; + if (val) byte |= 0x80U; + *(ptr++) = byte; + } while (val); + return ptr; +} + +UPB_FORCEINLINE +void _upb_Decoder_AddEnumValueToUnknown(upb_Decoder* d, upb_Message* msg, + const upb_MiniTableField* field, + uint64_t val) { + // Unrecognized enum goes into unknown fields. + // For packed fields the tag could be arbitrarily far in the past, + // so we just re-encode the tag and value here. + const uint32_t tag = + ((uint32_t)field->UPB_PRIVATE(number) << 3) | kUpb_WireType_Varint; + upb_Message* unknown_msg = + field->UPB_PRIVATE(mode) & kUpb_LabelFlags_IsExtension ? d->original_msg + : msg; + char buf[2 * kUpb_Decoder_EncodeVarint32MaxSize]; + char* end = buf; + end = upb_Decoder_EncodeVarint32(tag, end); + end = upb_Decoder_EncodeVarint32(val, end); + + if (!UPB_PRIVATE(_upb_Message_AddUnknown)(unknown_msg, buf, end - buf, + &d->arena, kUpb_AddUnknown_Copy)) { + upb_ErrorHandler_ThrowError(d->err, kUpb_DecodeStatus_OutOfMemory); + } +} + + +#endif /* UPB_WIRE_INTERNAL_DECODER_H_ */ + +#ifndef UPB_WIRE_INTERNAL_ENCODE_H_ +#define UPB_WIRE_INTERNAL_ENCODE_H_ + +#include +#include +#include + + +// EVERYTHING BELOW THIS LINE IS INTERNAL - DO NOT USE ///////////////////////// + +#ifndef UPB_MESSAGE_INTERNAL_MAP_SORTER_H_ +#define UPB_MESSAGE_INTERNAL_MAP_SORTER_H_ + +#include +#include +#include + + +#ifndef UPB_MESSAGE_INTERNAL_MAP_ENTRY_H_ +#define UPB_MESSAGE_INTERNAL_MAP_ENTRY_H_ + +#include + + +// Map entries aren't actually stored for map fields, they are only used during +// parsing. (It helps a lot if all map entry messages have the same layout.) +// The mini_table layout code will ensure that all map entries have this layout. +// +// Note that users can and do create map entries directly, which will also use +// this layout. + +typedef struct { + struct upb_Message message; + // We only need 2 hasbits max, but due to alignment we'll use 8 bytes here, + // and the uint64_t helps make this clear. + uint64_t hasbits; + union { + upb_StringView str; // For str/bytes. + upb_value val; // For all other types. + double d[2]; // Padding for 32-bit builds. + } k; + union { + upb_StringView str; // For str/bytes. + upb_value val; // For all other types. + double d[2]; // Padding for 32-bit builds. + } v; +} upb_MapEntry; + +#endif // UPB_MESSAGE_INTERNAL_MAP_ENTRY_H_ + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// _upb_mapsorter sorts maps and provides ordered iteration over the entries. +// Since maps can be recursive (map values can be messages which contain other +// maps), _upb_mapsorter can contain a stack of maps. + +typedef struct { + void const** entries; + int size; + int cap; +} _upb_mapsorter; + +typedef struct { + int start; + int pos; + int end; +} _upb_sortedmap; + +UPB_INLINE void _upb_mapsorter_init(_upb_mapsorter* s) { + s->entries = NULL; + s->size = 0; + s->cap = 0; +} + +UPB_INLINE void _upb_mapsorter_destroy(_upb_mapsorter* s) { + if (s->entries) upb_gfree(s->entries); +} + +UPB_INLINE bool _upb_sortedmap_next(_upb_mapsorter* s, + const struct upb_Map* map, + _upb_sortedmap* sorted, upb_MapEntry* ent) { + if (sorted->pos == sorted->end) return false; + const upb_tabent* tabent = (const upb_tabent*)s->entries[sorted->pos++]; + if (map->UPB_PRIVATE(is_strtable)) { + upb_StringView key = upb_key_strview(tabent->key); + _upb_map_fromkey(key, &ent->k, map->key_size); + } else { + uintptr_t key = tabent->key.num; + memcpy(&ent->k, &key, map->key_size); + } + upb_value val = {tabent->val.val}; + _upb_map_fromvalue(val, &ent->v, map->val_size); + return true; +} + +UPB_INLINE bool _upb_sortedmap_nextext(_upb_mapsorter* s, + _upb_sortedmap* sorted, + const upb_Extension** ext) { + if (sorted->pos == sorted->end) return false; + *ext = (const upb_Extension*)s->entries[sorted->pos++]; + return true; +} + +UPB_INLINE void _upb_mapsorter_popmap(_upb_mapsorter* s, + _upb_sortedmap* sorted) { + s->size = sorted->start; +} + +bool _upb_mapsorter_pushmap(_upb_mapsorter* s, upb_FieldType key_type, + const struct upb_Map* map, _upb_sortedmap* sorted); + +bool _upb_mapsorter_pushexts(_upb_mapsorter* s, const upb_Message_Internal* in, + _upb_sortedmap* sorted); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_INTERNAL_MAP_SORTER_H_ */ + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct { + upb_BackAlloc alloc; + int options; + int depth; + upb_EncodeStatus status; + _upb_mapsorter sorter; + jmp_buf* err; +} upb_encstate; + +UPB_INLINE char* UPB_PRIVATE(_upb_encstate_init)(upb_encstate* e, jmp_buf* err, + upb_Arena* arena) { + e->status = kUpb_EncodeStatus_Ok; + char* ptr = upb_BackAlloc_Init(&e->alloc, arena); + e->options = 0; + e->depth = 0; + e->err = err; + _upb_mapsorter_init(&e->sorter); + return ptr; +} + +UPB_INLINE void UPB_PRIVATE(_upb_encstate_destroy)(upb_encstate* e) { + _upb_mapsorter_destroy(&e->sorter); +} + +// Internal version of upb_Encode that encodes a single field. +// +// The caller must clean up the `upb_encstate` by calling +// `_upb_encstate_destroy(e)` when done. +upb_EncodeStatus UPB_PRIVATE(_upb_Encode_Field)(upb_encstate* e, + const upb_Message* msg, + const upb_MiniTableField* field, + char** buf, size_t* size, + int options); + +// Internal version of upb_Encode that encodes a single extension. +// +// The caller must clean up the `upb_encstate` by calling +// `_upb_encstate_destroy(e)` when done. +upb_EncodeStatus UPB_PRIVATE(_upb_Encode_Extension)( + upb_encstate* e, const upb_MiniTableExtension* ext, + upb_MessageValue ext_val, bool is_message_set, char** buf, size_t* size, + int options); + +char* encode_message(char* ptr, upb_encstate* e, const upb_Message* msg, + const upb_MiniTable* m, size_t* size); + +#define kUpb_Encoder_EncodeVarint32MaxSize 5 +#define kUpb_Encoder_EncodeVarint64MaxSize 10 + +static char* upb_Encoder_EncodeVarint32(uint32_t val, char* ptr) { + do { + uint8_t byte = val & 0x7fU; + val >>= 7; + if (val) byte |= 0x80U; + *(ptr++) = byte; + } while (val); + return ptr; +} + +static char* upb_Encoder_EncodeVarint64(uint64_t val, char* ptr) { + do { + uint8_t byte = val & 0x7fU; + val >>= 7; + if (val) byte |= 0x80U; + *(ptr++) = byte; + } while (val); + return ptr; +} + +UPB_INLINE +bool _upb_Encoder_AddEnumValueToUnknown(upb_Message* msg, + const upb_MiniTableField* field, + uint64_t val, upb_Arena* arena) { + // Unrecognized enum goes into unknown fields. + // For packed fields the tag could be arbitrarily far in the past, + // so we just re-encode the tag and value here. + const uint32_t tag = + ((uint32_t)field->UPB_PRIVATE(number) << 3) | kUpb_WireType_Varint; + char buf[kUpb_Encoder_EncodeVarint32MaxSize + + kUpb_Encoder_EncodeVarint64MaxSize]; + char* end = buf; + end = upb_Encoder_EncodeVarint32(tag, end); + end = upb_Encoder_EncodeVarint64(val, end); + + return UPB_PRIVATE(_upb_Message_AddUnknown)(msg, buf, end - buf, arena, + kUpb_AddUnknown_Copy); +} + +bool _upb_Encoder_AddMapEntryUnknown(upb_Message* msg, + const upb_MiniTableField* field, + upb_Message* ent_msg, + const upb_MiniTable* entry, + upb_Arena* arena); + +upb_EncodeStatus _upb_Encode(const upb_Message* msg, const upb_MiniTable* l, + int options, upb_Arena* arena, char** buf, + size_t* size, bool prepend_len); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_WIRE_INTERNAL_ENCODE_H_ */ + +#ifndef UPB_WIRE_READER_H_ +#define UPB_WIRE_READER_H_ + +#include +#include +#include + + +#ifndef UPB_WIRE_INTERNAL_READER_H_ +#define UPB_WIRE_INTERNAL_READER_H_ + +#include +#include + + +// Must be last. + +#define kUpb_WireReader_WireTypeBits 3 +#define kUpb_WireReader_WireTypeMask 7 + +typedef struct { + const char* ptr; + uint64_t val; +} UPB_PRIVATE(_upb_WireReader_LongVarint); + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_PRIVATE(_upb_WireReader_LongVarint) +UPB_PRIVATE(_upb_WireReader_ReadLongVarint)(const char* ptr, uint64_t val, + upb_EpsCopyInputStream* stream); +UPB_PRIVATE(_upb_WireReader_LongVarint) +UPB_PRIVATE(_upb_WireReader_ReadLongTag)(const char* ptr, uint64_t val, + upb_EpsCopyInputStream* stream); +UPB_PRIVATE(_upb_WireReader_LongVarint) +UPB_PRIVATE(_upb_WireReader_ReadLongSize)(const char* ptr, uint64_t val, + upb_EpsCopyInputStream* stream); + +UPB_FORCEINLINE const char* upb_WireReader_ReadVarint( + const char* ptr, uint64_t* val, upb_EpsCopyInputStream* stream) { + UPB_PRIVATE(upb_EpsCopyInputStream_ConsumeBytes)(stream, 10); + uint8_t byte = *ptr; + if (UPB_LIKELY((byte & 0x80) == 0)) { + *val = byte; + return ptr + 1; + } + UPB_PRIVATE(_upb_WireReader_LongVarint) res; + res = UPB_PRIVATE(_upb_WireReader_ReadLongVarint)(ptr, byte, stream); + *val = res.val; + return UPB_PRIVATE(upb_EpsCopyInputStream_AssumeResult)(stream, res.ptr); +} + +UPB_FORCEINLINE const char* upb_WireReader_ReadTag( + const char* ptr, uint32_t* val, upb_EpsCopyInputStream* stream) { + UPB_PRIVATE(upb_EpsCopyInputStream_ConsumeBytes)(stream, 5); + uint8_t byte = *ptr; + if (UPB_LIKELY((byte & 0x80) == 0)) { + *val = byte; + return ptr + 1; + } + UPB_PRIVATE(_upb_WireReader_LongVarint) res; + res = UPB_PRIVATE(_upb_WireReader_ReadLongTag)(ptr, byte, stream); + *val = res.val; + return UPB_PRIVATE(upb_EpsCopyInputStream_AssumeResult)(stream, res.ptr); +} + +UPB_FORCEINLINE const char* upb_WireReader_ReadSize( + const char* ptr, int* val, upb_EpsCopyInputStream* stream) { + UPB_PRIVATE(upb_EpsCopyInputStream_ConsumeBytes)(stream, 5); + uint8_t byte = *ptr; + if (UPB_LIKELY((byte & 0x80) == 0)) { + *val = byte; + return ptr + 1; + } + UPB_PRIVATE(_upb_WireReader_LongVarint) res; + res = UPB_PRIVATE(_upb_WireReader_ReadLongSize)(ptr, byte, stream); + *val = res.val; + return UPB_PRIVATE(upb_EpsCopyInputStream_AssumeResult)(stream, res.ptr); +} + +UPB_API_INLINE uint32_t upb_WireReader_GetFieldNumber(uint32_t tag) { + return tag >> kUpb_WireReader_WireTypeBits; +} + +UPB_API_INLINE uint8_t upb_WireReader_GetWireType(uint32_t tag) { + return tag & kUpb_WireReader_WireTypeMask; +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_WIRE_INTERNAL_READER_H_ + +// Must be last. + +// The upb_WireReader interface is suitable for general-purpose parsing of +// protobuf binary wire format. It is designed to be used along with +// upb_EpsCopyInputStream for buffering, and all parsing routines in this file +// assume that at least kUpb_EpsCopyInputStream_SlopBytes worth of data is +// available to read without any bounds checks. + +#ifdef __cplusplus +extern "C" { +#endif + +// Parses a tag into `tag`, and returns a pointer past the end of the tag, or +// NULL if there was an error in the tag data. +// +// REQUIRES: there must be at least 10 bytes of data available at `ptr`. +// Bounds checks must be performed before calling this function, preferably +// by calling upb_EpsCopyInputStream_IsDone(). +UPB_FORCEINLINE const char* upb_WireReader_ReadTag( + const char* ptr, uint32_t* tag, upb_EpsCopyInputStream* stream); + +// Given a tag, returns the field number. +UPB_API_INLINE uint32_t upb_WireReader_GetFieldNumber(uint32_t tag); + +// Given a tag, returns the wire type. +UPB_API_INLINE uint8_t upb_WireReader_GetWireType(uint32_t tag); + +UPB_FORCEINLINE const char* upb_WireReader_ReadVarint( + const char* ptr, uint64_t* val, upb_EpsCopyInputStream* stream); + +// Skips data for a varint, returning a pointer past the end of the varint, or +// NULL if there was an error in the varint data. +// +// REQUIRES: there must be at least 10 bytes of data available at `ptr`. +// Bounds checks must be performed before calling this function, preferably +// by calling upb_EpsCopyInputStream_IsDone(). +UPB_INLINE const char* upb_WireReader_SkipVarint( + const char* ptr, upb_EpsCopyInputStream* stream) { + UPB_PRIVATE(upb_EpsCopyInputStream_ConsumeBytes)(stream, 10); + const char* bound = ptr + 10; + do { + if ((*(ptr++) & 0x80) == 0) { + return ptr; + } + } while (ptr != bound); + return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(stream); +} + +// Reads a varint indicating the size of a delimited field into `size`, or +// NULL if there was an error in the varint data. +// +// REQUIRES: there must be at least 10 bytes of data available at `ptr`. +// Bounds checks must be performed before calling this function, preferably +// by calling upb_EpsCopyInputStream_IsDone(). +UPB_INLINE const char* upb_WireReader_ReadSize(const char* ptr, int* size, + upb_EpsCopyInputStream* stream); + +// Reads a fixed32 field, performing byte swapping if necessary. +// +// REQUIRES: there must be at least 4 bytes of data available at `ptr`. +// Bounds checks must be performed before calling this function, preferably +// by calling upb_EpsCopyInputStream_IsDone(). +UPB_INLINE const char* upb_WireReader_ReadFixed32( + const char* ptr, void* val, upb_EpsCopyInputStream* stream) { + UPB_PRIVATE(upb_EpsCopyInputStream_ConsumeBytes)(stream, 4); + uint32_t uval; + memcpy(&uval, ptr, 4); + uval = upb_BigEndian32(uval); + memcpy(val, &uval, 4); + return ptr + 4; +} + +// Reads a fixed64 field, performing byte swapping if necessary. +// +// REQUIRES: there must be at least 4 bytes of data available at `ptr`. +// Bounds checks must be performed before calling this function, preferably +// by calling upb_EpsCopyInputStream_IsDone(). +UPB_INLINE const char* upb_WireReader_ReadFixed64( + const char* ptr, void* val, upb_EpsCopyInputStream* stream) { + UPB_PRIVATE(upb_EpsCopyInputStream_ConsumeBytes)(stream, 8); + uint64_t uval; + memcpy(&uval, ptr, 8); + uval = upb_BigEndian64(uval); + memcpy(val, &uval, 8); + return ptr + 8; +} + +const char* UPB_PRIVATE(_upb_WireReader_SkipGroup)( + const char* ptr, uint32_t tag, int depth_limit, + upb_EpsCopyInputStream* stream); + +// Skips data for a group, returning a pointer past the end of the group, or +// NULL if there was an error parsing the group. The `tag` argument should be +// the start group tag that begins the group. The `depth_limit` argument +// indicates how many levels of recursion the group is allowed to have before +// reporting a parse error (this limit exists to protect against stack +// overflow). +// +// TODO: evaluate how the depth_limit should be specified. Do users need +// control over this? +UPB_INLINE const char* upb_WireReader_SkipGroup( + const char* ptr, uint32_t tag, upb_EpsCopyInputStream* stream) { + const char* ret = + UPB_PRIVATE(_upb_WireReader_SkipGroup)(ptr, tag, 100, stream); + return UPB_PRIVATE(upb_EpsCopyInputStream_AssumeResult)(stream, ret); +} + +UPB_FORCEINLINE const char* _upb_WireReader_SkipValueForceInline( + const char* ptr, uint32_t tag, int depth_limit, + upb_EpsCopyInputStream* stream) { + switch (upb_WireReader_GetWireType(tag)) { + case kUpb_WireType_Varint: + return upb_WireReader_SkipVarint(ptr, stream); + case kUpb_WireType_32Bit: + UPB_PRIVATE(upb_EpsCopyInputStream_ConsumeBytes)(stream, 4); + return ptr + 4; + case kUpb_WireType_64Bit: + UPB_PRIVATE(upb_EpsCopyInputStream_ConsumeBytes)(stream, 8); + return ptr + 8; + case kUpb_WireType_Delimited: { + int size; + ptr = upb_WireReader_ReadSize(ptr, &size, stream); + if (!ptr || !upb_EpsCopyInputStream_CheckSize(stream, ptr, size)) { + return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(stream); + } + ptr += size; + return ptr; + } + case kUpb_WireType_StartGroup: + return UPB_PRIVATE(_upb_WireReader_SkipGroup)(ptr, tag, depth_limit, + stream); + case kUpb_WireType_EndGroup: + // Should be handled before now. + default: + // Unknown wire type. + return UPB_PRIVATE(upb_EpsCopyInputStream_ReturnError)(stream); + } +} + +UPB_INLINE const char* _upb_WireReader_SkipValue( + const char* ptr, uint32_t tag, int depth_limit, + upb_EpsCopyInputStream* stream) { + return _upb_WireReader_SkipValueForceInline(ptr, tag, depth_limit, stream); +} + +// Skips data for a wire value of any type, returning a pointer past the end of +// the data, or NULL if there was an error parsing the group. The `tag` argument +// should be the tag that was just parsed. The `depth_limit` argument indicates +// how many levels of recursion a group is allowed to have before reporting a +// parse error (this limit exists to protect against stack overflow). +// +// REQUIRES: there must be at least 10 bytes of data available at `ptr`. +// Bounds checks must be performed before calling this function, preferably +// by calling upb_EpsCopyInputStream_IsDone(). +// +// TODO: evaluate how the depth_limit should be specified. Do users need +// control over this? +UPB_INLINE const char* upb_WireReader_SkipValue( + const char* ptr, uint32_t tag, upb_EpsCopyInputStream* stream) { + return _upb_WireReader_SkipValue(ptr, tag, 100, stream); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_WIRE_READER_H_ + +#ifndef UPB_MESSAGE_COPY_H_ +#define UPB_MESSAGE_COPY_H_ + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// Deep clones a message using the provided target arena. +UPB_NODISCARD upb_Message* upb_Message_DeepClone(const upb_Message* msg, + const upb_MiniTable* m, + upb_Arena* arena); + +// Shallow clones a message using the provided target arena. +// `msg` must outlive the returned message since all strings, repeated fields, +// maps, and unknown fields will alias the original message. +UPB_NODISCARD upb_Message* upb_Message_ShallowClone(const upb_Message* msg, + const upb_MiniTable* m, + upb_Arena* arena); + +// Deep clones array contents. +UPB_NODISCARD upb_Array* upb_Array_DeepClone(const upb_Array* array, + upb_CType value_type, + const upb_MiniTable* sub, + upb_Arena* arena); + +// Deep clones map contents. +UPB_NODISCARD upb_Map* upb_Map_DeepClone(const upb_Map* map, upb_CType key_type, + upb_CType value_type, + const upb_MiniTable* map_entry_table, + upb_Arena* arena); + +// Deep copies the message from src to dst. +UPB_NODISCARD bool upb_Message_DeepCopy(upb_Message* dst, + const upb_Message* src, + const upb_MiniTable* m, + upb_Arena* arena); + +// Shallow copies the message from src to dst. +// `src` must outlive `dst` since all strings, repeated fields, maps, and +// unknown fields will alias the original message. +UPB_NODISCARD UPB_API bool upb_Message_ShallowCopy(upb_Message* dst, + const upb_Message* src, + const upb_MiniTable* m, + upb_Arena* arena); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_MESSAGE_COPY_H_ + +#ifndef UPB_MESSAGE_UNKNOWN_FIELDS_H_ +#define UPB_MESSAGE_UNKNOWN_FIELDS_H_ + +#include +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +// Support iteration over unknown (upb_MessageUnknown*), including unknown +// upb_StringView and non-canonical extensions (upb_Extension*). +UPB_INLINE bool upb_Message_NextUnknown2(const struct upb_Message* msg, + struct upb_MessageUnknown* data, + uintptr_t* iter) { + const upb_Message_Internal* in = UPB_PRIVATE(_upb_Message_GetInternal)(msg); + size_t i = *iter; + if (in) { + while (i < in->size) { + upb_TaggedAuxPtr tagged_ptr = in->aux_data[i++]; + if (upb_TaggedAuxPtr_IsUnknownStringView(tagged_ptr)) { + data->type = kUpb_MessageUnknownType_StringView; + data->value.bytes = *upb_TaggedPtrAux_StringViewRepr(tagged_ptr); + *iter = i; + return true; + } else if (upb_TaggedAuxPtr_IsNonCanonicalExtension(tagged_ptr)) { + data->type = kUpb_MessageUnknownType_NonCanonicalExtension; + data->value.extension = + upb_TaggedAuxPtr_NonCanonicalExtension(tagged_ptr); + *iter = i; + return true; + } + } + } + data->type = kUpb_MessageUnknownType_StringView; + data->value.bytes.size = 0; + data->value.bytes.data = NULL; + *iter = i; + return false; +} + +typedef enum { + kUpb_FindUnknown_Ok, + kUpb_FindUnknown_NotPresent, + kUpb_FindUnknown_ParseError, +} upb_FindUnknown_Status; + +typedef struct { + upb_FindUnknown_Status status; + struct upb_MessageUnknown unknown; + uintptr_t iter; +} upb_FindUnknownRet2; + +// Finds first occurrence of unknown data (upb_MessageUnknown) by tag id in +// message, including unknown upb_StringView and non-canonical extensions +// (upb_Extension*). +// +// If multiple matching entries exist for the same field number (e.g. both a +// raw unknown upb_StringView and a non-canonical extension), this function +// returns the one encountered first in internal iteration order (which follows +// the order they were added or parsed). +// +// A depth_limit of zero means to just use the upb default depth limit. +upb_FindUnknownRet2 upb_Message_FindUnknown2(const struct upb_Message* msg, + uint32_t field_number, + int depth_limit); + +// Removes a segment of unknown data from the message, advancing to the next +// segment. Returns false if the removed segment was at the end of the last +// chunk. +// +// This must be done while iterating: +// +// uintptr_t iter = kUpb_Message_UnknownBegin; +// upb_MessageUnknown data; +// // Iterate chunks +// while (upb_Message_NextUnknown2(msg, &data, &iter)) { +// // Iterate within a chunk, deleting ranges +// while (ShouldDeleteSubSegment(&data)) { +// // Data now points to the region to be deleted +// switch (upb_Message_DeleteUnknown2(msg, &data, &iter)) { +// case kUpb_Message_DeleteUnknown_DeletedLast: return ok; +// case kUpb_Message_DeleteUnknown_IterUpdated: break; +// // If DeleteUnknown returned kUpb_Message_DeleteUnknown_IterUpdated, +// // then data now points to the remaining unknown fields after the +// // region that was just deleted. +// case kUpb_Message_DeleteUnknown_AllocFail: return err; +// } +// } +// } +// +// The range given in `data` must be contained inside the most recently +// returned region. +// +// Support deletion of unknown (upb_MessageUnknown*), including unknown +// upb_StringView and non-canonical extensions (upb_Extension*). +UPB_NODISCARD upb_Message_DeleteUnknownStatus upb_Message_DeleteUnknown2( + struct upb_Message* msg, struct upb_MessageUnknown* data, uintptr_t* iter, + struct upb_Arena* arena); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MESSAGE_UNKNOWN_FIELDS_H_ */ + +#ifndef UPB_MESSAGE_PROMOTE_H_ +#define UPB_MESSAGE_PROMOTE_H_ + +#include +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + kUpb_GetExtension_Ok, + kUpb_GetExtension_NotPresent, + kUpb_GetExtension_ParseError, + kUpb_GetExtension_OutOfMemory, +} upb_GetExtension_Status; + +typedef enum { + kUpb_GetExtensionAsBytes_Ok, + kUpb_GetExtensionAsBytes_NotPresent, + kUpb_GetExtensionAsBytes_EncodeError, +} upb_GetExtensionAsBytes_Status; + +// Returns a message value or promotes an unknown field to an extension. +// +// TODO: Only supports extension fields that are messages, +// expand support to include non-message types. +UPB_NODISCARD upb_GetExtension_Status upb_Message_GetOrPromoteExtension( + upb_Message* msg, const upb_MiniTableExtension* ext_table, + int decode_options, upb_Arena* arena, upb_MessageValue* value); + +typedef struct { + upb_FindUnknown_Status status; + // Start of unknown field data in message arena. + const char* ptr; + // Size of unknown field data. + size_t len; + uintptr_t iter; +} upb_FindUnknownRet; + +// TODO: b/510055656 - Legacy API that works with messages that only have +// unknown data in upb_StringView format. Use `upb_Message_FindUnknown2` for +// messages that may have non-canonical extensions. +// +// Finds first occurrence of unknown data by tag id in message. +// A depth_limit of zero means to just use the upb default depth limit. +UPB_DEPRECATED upb_FindUnknownRet upb_Message_FindUnknown( + const upb_Message* msg, uint32_t field_number, int depth_limit); + +typedef enum { + kUpb_UnknownToMessage_Ok, + kUpb_UnknownToMessage_ParseError, + kUpb_UnknownToMessage_OutOfMemory, + kUpb_UnknownToMessage_NotFound, +} upb_UnknownToMessage_Status; + +typedef struct { + upb_UnknownToMessage_Status status; + upb_Message* message; +} upb_UnknownToMessageRet; + +// Utility function for wrapper languages to get an error string from a +// upb_UnknownToMessageStatus. +const char* upb_FindUnknownStatus_String(upb_FindUnknown_Status status); + +// Promotes unknown data inside message to a upb_Message parsing the unknown. +// +// The unknown data is removed from message after field value is set +// using upb_Message_SetMessage. +// +// WARNING!: See b/267655898 +UPB_NODISCARD upb_UnknownToMessageRet upb_MiniTable_PromoteUnknownToMessage( + upb_Message* msg, const upb_MiniTable* mini_table, + const upb_MiniTableField* field, const upb_MiniTable* sub_mini_table, + int decode_options, upb_Arena* arena); + +// Promotes all unknown data that matches field tag id to repeated messages +// in upb_Array. +// +// The unknown data is removed from message after upb_Array is populated. +// Since repeated messages can't be packed we remove each unknown that +// contains the target tag id. +UPB_NODISCARD upb_UnknownToMessage_Status +upb_MiniTable_PromoteUnknownToMessageArray(upb_Message* msg, + const upb_MiniTableField* field, + const upb_MiniTable* mini_table, + int decode_options, + upb_Arena* arena); + +// Promotes all unknown data that matches field tag id to upb_Map. +// +// The unknown data is removed from message after upb_Map is populated. +// Since repeated messages can't be packed we remove each unknown that +// contains the target tag id. +UPB_NODISCARD upb_UnknownToMessage_Status upb_MiniTable_PromoteUnknownToMap( + upb_Message* msg, const upb_MiniTable* mini_table, + const upb_MiniTableField* field, int decode_options, upb_Arena* arena); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_MESSAGE_PROMOTE_H_ +#ifndef GOOGLE_UPB_UPB_MESSAGE_MERGE_H__ +#define GOOGLE_UPB_UPB_MESSAGE_MERGE_H__ + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_NODISCARD UPB_API bool upb_Message_MergeFrom( + upb_Message* dst, const upb_Message* src, const upb_MiniTable* mt, + const upb_ExtensionRegistry* extreg, upb_Arena* arena); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif // GOOGLE_UPB_UPB_MESSAGE_MERGE_H__ + +#ifndef UPB_MINI_DESCRIPTOR_INTERNAL_BASE92_H_ +#define UPB_MINI_DESCRIPTOR_INTERNAL_BASE92_H_ + +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_INLINE char _upb_ToBase92(int8_t ch) { + extern const char _kUpb_ToBase92[]; + UPB_ASSERT(0 <= ch && ch < 92); + return _kUpb_ToBase92[ch]; +} + +UPB_INLINE char _upb_FromBase92(uint8_t ch) { + extern const int8_t _kUpb_FromBase92[]; + if (' ' > ch || ch > '~') return -1; + return _kUpb_FromBase92[ch - ' ']; +} + +UPB_INLINE const char* _upb_Base92_DecodeVarint(const char* ptr, + const char* end, char first_ch, + uint8_t min, uint8_t max, + uint32_t* out_val) { + uint32_t val = 0; + uint32_t shift = 0; + const int bits_per_char = + upb_Log2Ceiling(_upb_FromBase92(max) - _upb_FromBase92(min)); + char ch = first_ch; + while (1) { + uint32_t bits = _upb_FromBase92(ch) - _upb_FromBase92(min); + val |= bits << shift; + if (ptr == end || *ptr < min || max < *ptr) { + *out_val = val; + UPB_ASSUME(ptr != NULL); + return ptr; + } + ch = *ptr++; + shift += bits_per_char; + if (shift >= 32) return NULL; + } +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_MINI_DESCRIPTOR_INTERNAL_BASE92_H_ + +#ifndef UPB_MINI_DESCRIPTOR_INTERNAL_DECODER_H_ +#define UPB_MINI_DESCRIPTOR_INTERNAL_DECODER_H_ + + +// Must be last. + +// upb_MdDecoder: used internally for decoding MiniDescriptors for messages, +// extensions, and enums. +typedef struct { + const char* end; + upb_Status* status; + jmp_buf err; +} upb_MdDecoder; + +UPB_PRINTF(2, 3) +UPB_NORETURN UPB_INLINE void upb_MdDecoder_ErrorJmp(upb_MdDecoder* d, + const char* fmt, ...) { + if (d->status) { + va_list argp; + upb_Status_SetErrorMessage(d->status, "Error building mini table: "); + va_start(argp, fmt); + upb_Status_VAppendErrorFormat(d->status, fmt, argp); + va_end(argp); + } + UPB_LONGJMP(d->err, 1); +} + +UPB_INLINE void upb_MdDecoder_CheckOutOfMemory(upb_MdDecoder* d, + const void* ptr) { + if (!ptr) upb_MdDecoder_ErrorJmp(d, "Out of memory"); +} + +UPB_INLINE const char* upb_MdDecoder_DecodeBase92Varint( + upb_MdDecoder* d, const char* ptr, char first_ch, uint8_t min, uint8_t max, + uint32_t* out_val) { + ptr = _upb_Base92_DecodeVarint(ptr, d->end, first_ch, min, max, out_val); + if (!ptr) upb_MdDecoder_ErrorJmp(d, "Overlong varint"); + return ptr; +} + + +#endif // UPB_MINI_DESCRIPTOR_INTERNAL_DECODER_H_ + +#ifndef UPB_MINI_DESCRIPTOR_INTERNAL_MODIFIERS_H_ +#define UPB_MINI_DESCRIPTOR_INTERNAL_MODIFIERS_H_ + +// Must be last. + +typedef enum { + kUpb_FieldModifier_IsRepeated = 1 << 0, + kUpb_FieldModifier_IsPacked = 1 << 1, + kUpb_FieldModifier_IsClosedEnum = 1 << 2, + kUpb_FieldModifier_IsProto3Singular = 1 << 3, + kUpb_FieldModifier_IsRequired = 1 << 4, + kUpb_FieldModifier_ValidateUtf8 = 1 << 5, +} kUpb_FieldModifier; + +// These modifiers are also used on the wire. +typedef enum { + kUpb_MessageModifier_ValidateUtf8 = 1 << 0, + kUpb_MessageModifier_DefaultIsPacked = 1 << 1, + kUpb_MessageModifier_IsExtendable = 1 << 2, +} kUpb_MessageModifier; + + +#endif // UPB_MINI_DESCRIPTOR_INTERNAL_MODIFIERS_H_ + +#ifndef UPB_MINI_DESCRIPTOR_INTERNAL_WIRE_CONSTANTS_H_ +#define UPB_MINI_DESCRIPTOR_INTERNAL_WIRE_CONSTANTS_H_ + + +// Must be last. + +typedef enum { + kUpb_EncodedType_Double = 0, + kUpb_EncodedType_Float = 1, + kUpb_EncodedType_Fixed32 = 2, + kUpb_EncodedType_Fixed64 = 3, + kUpb_EncodedType_SFixed32 = 4, + kUpb_EncodedType_SFixed64 = 5, + kUpb_EncodedType_Int32 = 6, + kUpb_EncodedType_UInt32 = 7, + kUpb_EncodedType_SInt32 = 8, + kUpb_EncodedType_Int64 = 9, + kUpb_EncodedType_UInt64 = 10, + kUpb_EncodedType_SInt64 = 11, + kUpb_EncodedType_OpenEnum = 12, + kUpb_EncodedType_Bool = 13, + kUpb_EncodedType_Bytes = 14, + kUpb_EncodedType_String = 15, + kUpb_EncodedType_Group = 16, + kUpb_EncodedType_Message = 17, + kUpb_EncodedType_ClosedEnum = 18, + + kUpb_EncodedType_RepeatedBase = 20, +} upb_EncodedType; + +typedef enum { + kUpb_EncodedFieldModifier_FlipPacked = 1 << 0, + kUpb_EncodedFieldModifier_IsRequired = 1 << 1, + kUpb_EncodedFieldModifier_IsProto3Singular = 1 << 2, + kUpb_EncodedFieldModifier_FlipValidateUtf8 = 1 << 3, +} upb_EncodedFieldModifier; + +enum { + kUpb_EncodedValue_MinField = ' ', + kUpb_EncodedValue_MaxField = 'I', + kUpb_EncodedValue_MinModifier = 'L', + kUpb_EncodedValue_MaxModifier = '[', + kUpb_EncodedValue_End = '^', + kUpb_EncodedValue_MinSkip = '_', + kUpb_EncodedValue_MaxSkip = '~', + kUpb_EncodedValue_OneofSeparator = '~', + kUpb_EncodedValue_FieldSeparator = '|', + kUpb_EncodedValue_MinOneofField = ' ', + kUpb_EncodedValue_MaxOneofField = 'b', + kUpb_EncodedValue_MaxEnumMask = 'A', +}; + +enum { + kUpb_EncodedVersion_EnumV1 = '!', + kUpb_EncodedVersion_ExtensionV1 = '#', + kUpb_EncodedVersion_MapV1 = '%', + kUpb_EncodedVersion_MessageV1 = '$', + kUpb_EncodedVersion_MessageSetV1 = '&', +}; + + +#endif // UPB_MINI_DESCRIPTOR_INTERNAL_WIRE_CONSTANTS_H_ + +#ifndef UPB_MINI_DESCRIPTOR_INTERNAL_ENCODE_H_ +#define UPB_MINI_DESCRIPTOR_INTERNAL_ENCODE_H_ + +#include + + +// Must be last. + +// If the input buffer has at least this many bytes available, the encoder call +// is guaranteed to succeed (as long as field number order is maintained). +#define kUpb_MtDataEncoder_MinSize 16 + +typedef struct { + char* end; // Limit of the buffer passed as a parameter. + // Aliased to internal-only members in .cc. + char internal[32]; +} upb_MtDataEncoder; + +#ifdef __cplusplus +extern "C" { +#endif + +// Encodes field/oneof information for a given message. The sequence of calls +// should look like: +// +// upb_MtDataEncoder e; +// char buf[256]; +// char* ptr = buf; +// e.end = ptr + sizeof(buf); +// unit64_t msg_mod = ...; // bitwise & of kUpb_MessageModifiers or zero +// ptr = upb_MtDataEncoder_StartMessage(&e, ptr, msg_mod); +// // Fields *must* be in field number order. +// ptr = upb_MtDataEncoder_PutField(&e, ptr, ...); +// ptr = upb_MtDataEncoder_PutField(&e, ptr, ...); +// ptr = upb_MtDataEncoder_PutField(&e, ptr, ...); +// +// // If oneofs are present. Oneofs must be encoded after regular fields. +// ptr = upb_MiniTable_StartOneof(&e, ptr) +// ptr = upb_MiniTable_PutOneofField(&e, ptr, ...); +// ptr = upb_MiniTable_PutOneofField(&e, ptr, ...); +// +// ptr = upb_MiniTable_StartOneof(&e, ptr); +// ptr = upb_MiniTable_PutOneofField(&e, ptr, ...); +// ptr = upb_MiniTable_PutOneofField(&e, ptr, ...); +// +// Oneofs must be encoded after all regular fields. +char* upb_MtDataEncoder_StartMessage(upb_MtDataEncoder* e, char* ptr, + uint64_t msg_mod); +char* upb_MtDataEncoder_PutField(upb_MtDataEncoder* e, char* ptr, + upb_FieldType type, uint32_t field_num, + uint64_t field_mod); +char* upb_MtDataEncoder_StartOneof(upb_MtDataEncoder* e, char* ptr); +char* upb_MtDataEncoder_PutOneofField(upb_MtDataEncoder* e, char* ptr, + uint32_t field_num); + +// Encodes the set of values for a given enum. The values must be given in +// order (after casting to uint32_t), and repeats are not allowed. +char* upb_MtDataEncoder_StartEnum(upb_MtDataEncoder* e, char* ptr); +char* upb_MtDataEncoder_PutEnumValue(upb_MtDataEncoder* e, char* ptr, + uint32_t val); +char* upb_MtDataEncoder_EndEnum(upb_MtDataEncoder* e, char* ptr); + +// Encodes an entire mini descriptor for an extension. +char* upb_MtDataEncoder_EncodeExtension(upb_MtDataEncoder* e, char* ptr, + upb_FieldType type, uint32_t field_num, + uint64_t field_mod); + +// Encodes an entire mini descriptor for a map. +char* upb_MtDataEncoder_EncodeMap(upb_MtDataEncoder* e, char* ptr, + upb_FieldType key_type, + upb_FieldType value_type, uint64_t key_mod, + uint64_t value_mod); + +// Encodes an entire mini descriptor for a message set. +char* upb_MtDataEncoder_EncodeMessageSet(upb_MtDataEncoder* e, char* ptr); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_DESCRIPTOR_INTERNAL_ENCODE_H_ */ + +#ifndef UPB_MINI_TABLE_DEBUG_STRING_H_ +#define UPB_MINI_TABLE_DEBUG_STRING_H_ + +#include + + +#ifdef __cplusplus +extern "C" { +#endif + +size_t upb_MiniTable_DebugString(const upb_MiniTable* mini_table, char* buf, + size_t size); + +#ifdef __cplusplus +} // extern "C" +#endif + +#endif // UPB_MINI_TABLE_DEBUG_STRING_H_ + +#ifndef UPB_PORT_VSNPRINTF_COMPAT_H_ +#define UPB_PORT_VSNPRINTF_COMPAT_H_ + +// Must be last. + +UPB_INLINE int _upb_vsnprintf(char* buf, size_t size, const char* fmt, + va_list ap) { +#if defined(__MINGW64__) || defined(__MINGW32__) || defined(_MSC_VER) + // The msvc runtime has a non-conforming vsnprintf() that requires the + // following compatibility code to become conformant. + int n = -1; + if (size != 0) n = _vsnprintf_s(buf, size, _TRUNCATE, fmt, ap); + if (n == -1) n = _vscprintf(fmt, ap); + return n; +#else + return vsnprintf(buf, size, fmt, ap); +#endif +} + + +#endif // UPB_PORT_VSNPRINTF_COMPAT_H_ + +#ifndef UPB_MINI_TABLE_COMPAT_H_ +#define UPB_MINI_TABLE_COMPAT_H_ + + +// Must be last. + +// upb does not support mixing minitables from different sources but these +// functions are still used by some existing users so for now we make them +// available here. This may or may not change in the future so do not add +// them to new code. + +#ifdef __cplusplus +extern "C" { +#endif + +// Checks if memory layout of src is compatible with dst. +bool upb_MiniTable_Compatible(const upb_MiniTable* src, + const upb_MiniTable* dst); + +typedef enum { + kUpb_MiniTableEquals_NotEqual, + kUpb_MiniTableEquals_Equal, + kUpb_MiniTableEquals_OutOfMemory, +} upb_MiniTableEquals_Status; + +// Checks equality of mini tables originating from different language runtimes. +upb_MiniTableEquals_Status upb_MiniTable_Equals(const upb_MiniTable* src, + const upb_MiniTable* dst); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* UPB_MINI_TABLE_COMPAT_H_ */ + +#ifndef UPB_MINI_TABLE_GENERATED_REGISTRY_H_ +#define UPB_MINI_TABLE_GENERATED_REGISTRY_H_ + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +/* Generated registry: a global singleton that gathers all extensions linked + * into the binary. + * + * This singleton is thread-safe and lock-free, implemented using atomics. The + * registry is lazily initialized the first time it is loaded. When all + * references are released, the registry will be destroyed. New loads + * afterwards will simply reload the same registry as needed. + * + * The extension minitables are registered in gencode using linker arrays. Each + * .proto file produces a weak, hidden, constructor function that adds all + * visible extensions from the array into the registry. In each binary, only + * one copy of the constructor will actually be preserved by the linker, and + * that copy will add all of the extensions for the entire binary. All of these + * are added to a global linked list of minitables pre-main, which are then used + * to construct this singleton as needed. + */ + +typedef struct upb_GeneratedRegistryRef upb_GeneratedRegistryRef; + +// Loads the generated registry, returning a reference to it. The reference +// must be held for the lifetime of any ExtensionRegistry obtained from it. +// +// Returns NULL on failure. +UPB_API const upb_GeneratedRegistryRef* upb_GeneratedRegistry_Load(void); + +// Releases a reference to the generated registry. This may destroy the +// registry if there are no other references to it. +// +// NULL is a valid argument and is simply ignored for easier error handling in +// callers. +UPB_API void upb_GeneratedRegistry_Release(const upb_GeneratedRegistryRef* r); + +// Returns the extension registry contained by a reference to the generated +// registry. +// +// The reference must be held for the lifetime of the registry. +UPB_API const upb_ExtensionRegistry* upb_GeneratedRegistry_Get( + const upb_GeneratedRegistryRef* r); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif // UPB_MINI_TABLE_GENERATED_REGISTRY_H_ +#ifndef GOOGLE_UPB_UPB_WIRE_WRITER_H__ +#define GOOGLE_UPB_UPB_WIRE_WRITER_H__ + +#include + +// Must be last. + +UPB_FORCEINLINE uint32_t +UPB_PRIVATE(upb_WireWriter_VarintUnusedSizeFromLeadingZeros64)(uint64_t clz) { + // Calculate how many bytes of the possible 10 bytes we will *not* encode, + // because they are part of a zero prefix. For the number 300, it would use 2 + // bytes encoded, so the number of bytes to skip would be 8. Adding 7 to the + // clz input ensures that we're rounding up. + return (((uint32_t)clz + 7) * 9) >> 6; +} + + +#endif // GOOGLE_UPB_UPB_WIRE_WRITER_H__ + +#ifndef UPB_WIRE_BYTE_SIZE_H_ +#define UPB_WIRE_BYTE_SIZE_H_ + +#include + + +// Must be last. + +#ifdef __cplusplus +extern "C" { +#endif + +UPB_API size_t upb_ByteSize(const upb_Message* msg, const upb_MiniTable* mt); + +#ifdef __cplusplus +} // extern "C" +#endif + + +#endif // UPB_WIRE_BYTE_SIZE_H_ + +// This should #undef all macros #defined in def.inc + +#undef UPB_SIZE +#undef UPB_PTR_AT +#undef UPB_SIZEOF_FLEX +#undef UPB_SIZEOF_FLEX_WOULD_OVERFLOW +#undef UPB_MAPTYPE_STRING +#undef UPB_EXPORT +#undef UPB_INLINE +#undef UPB_API +#undef UPBC_API +#undef UPB_API_INLINE +#undef UPB_API_INLINE_IF_NOT_GCC +#undef UPB_ALIGN_UP +#undef UPB_ALIGN_DOWN +#undef UPB_ALIGN_MALLOC +#undef UPB_ALIGN_OF +#undef UPB_ALIGN_AS +#undef UPB_STATIC_ASSERT +#undef UPB_STATIC_ASSERT_CONCAT +#undef UPB_STATIC_ASSERT_CONCAT_IMPL +#undef UPB_LIKELY +#undef UPB_UNLIKELY +#undef UPB_UNPREDICTABLE +#undef UPB_FORCEINLINE +#undef UPB_NOINLINE +#undef UPB_NORETURN +#undef UPB_PRINTF +#undef UPB_NODEREF +#undef UPB_NODISCARD +#undef UPB_MAX +#undef UPB_MIN +#undef UPB_UNUSED +#undef UPB_ASSUME +#undef UPB_ASSERT +#undef UPB_UNREACHABLE +#undef UPB_UNREACHABLE_FAILURE +#undef UPB_PRETTY_FUNCTION +#undef UPB_DEFAULT_MAX_BLOCK_SIZE +#undef UPB_SETJMP +#undef UPB_LONGJMP +#undef UPB_PTRADD +#undef UPB_MUSTTAIL +#undef UPB_PRESERVE_MOST +#undef UPB_PRESERVE_NONE +#undef UPB_FASTTABLE_SUPPORTED +#undef UPB_FASTTABLE_MASK +#undef UPB_FASTTABLE +#undef UPB_FASTTABLE_INIT +#undef UPB_POISON_MEMORY_REGION +#undef UPB_UNPOISON_MEMORY_REGION +#undef UPB_ASAN +#undef UPB_HWASAN +#undef UPB_HWASAN_POISON_TAG +#undef UPB_MSAN +#undef UPB_MALLOC_ALIGN +#undef UPB_TSAN +#undef UPB_DEPRECATED +#undef UPB_GNUC_MIN +#undef UPB_CLANG_MIN +#undef UPB_DESCRIPTOR_UPB_H_FILENAME +#undef UPB_DESC_MINITABLE +#undef UPB_IS_GOOGLE3 +#undef UPB_ATOMIC +#undef UPB_USE_C11_ATOMICS +#undef UPB_USE_MSC_ATOMICS +#undef UPB_PRIVATE +#undef UPB_ONLYBITS +#undef UPB_LINKARR_DECLARE +#undef UPB_LINKARR_APPEND +#undef UPB_LINKARR_START +#undef UPB_LINKARR_STOP +#undef UPB_HAS_ATTRIBUTE +#undef UPB_HAS_CPP_ATTRIBUTE +#undef UPB_HAS_BUILTIN +#undef UPB_HAS_EXTENSION +#undef UPB_HAS_FEATURE +#undef UPB_XSAN_MEMBER +#undef UPB_XSAN +#undef UPB_XSAN_STRUCT_SIZE +#undef UPB_ENABLE_REF_CYCLE_CHECKS +#undef UPB_ARM64_ASM +#undef UPB_ARM64_BTI_DEFAULT +#undef UPB_DEPRECATE_AND_INLINE +#undef UPB_MAYBE_ASSUME +#undef UPB_ATTR_CONST +#undef _UPB_STRINGIFY +#undef _UPB_STRINGIFY2 +#undef UPB_CONSTRUCTOR diff --git a/vendor/upb/upb/port/def.inc b/vendor/upb/upb/port/def.inc new file mode 100644 index 000000000..00446964f --- /dev/null +++ b/vendor/upb/upb/port/def.inc @@ -0,0 +1,828 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2023 Google LLC. All rights reserved. +// +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file or at +// https://developers.google.com/open-source/licenses/bsd + +/* + * This is where we define internal portability macros used across upb. + * + * All of these macros are undef'd in undef.inc to avoid leaking them to users. + * + * The correct usage is: + * + * #include "upb/foobar.h" + * #include "upb/baz.h" + * + * // MUST be last included header. + * #include "upb/port/def.inc" + * + * // Code for this file. + * // <...> + * + * // Can be omitted for .c files, required for .h. + * #include "upb/port/undef.inc" + * + * This file is private and must not be included by users! + */ + +#if !((defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \ + (defined(__cplusplus) && __cplusplus >= 201703L) || \ + (defined(_MSC_VER) && _MSC_VER >= 1900)) +#error upb requires C99 or C++17 or MSVC >= 2015. +#endif + +// Portable check for GCC minimum version: +// https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html +#if defined(__GNUC__) && defined(__GNUC_MINOR__) && defined(__GNUC_PATCHLEVEL__) +#define UPB_GNUC_MIN(x, y) \ + (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y)) +#else +#define UPB_GNUC_MIN(x, y) 0 +#endif + +#if defined(__clang__) && defined(__clang_major__) && defined(__clang_minor__) +#define UPB_CLANG_MIN(x, y) \ + (__clang_major__ > (x) || __clang_major__ == (x) && __clang_minor__ >= (y)) +#else +#define UPB_CLANG_MIN(x, y) 0 +#endif + +// Macros for checking for compiler attributes, defined here to avoid the +// problem described in +// https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005fattribute.html. +#ifdef __has_attribute +#define UPB_HAS_ATTRIBUTE(x) __has_attribute(x) +#else +#define UPB_HAS_ATTRIBUTE(x) 0 +#endif + +#ifdef __has_c_attribute +#define UPB_HAS_C_ATTRIBUTE(x) __has_c_attribute(x) +#else +#define UPB_HAS_C_ATTRIBUTE(x) 0 +#endif + +#if defined(__cplusplus) && defined(__has_cpp_attribute) +// NOTE: requiring __cplusplus above should not be necessary, but +// works around https://bugs.llvm.org/show_bug.cgi?id=23435. +#define UPB_HAS_CPP_ATTRIBUTE(x) __has_cpp_attribute(x) +#else +#define UPB_HAS_CPP_ATTRIBUTE(x) 0 +#endif + +// Once in a while we want to use this macro in a C++-only portion of an +// otherwise C-compatible header, so we copy and paste this from ABSL. +#if UPB_HAS_CPP_ATTRIBUTE(deprecated) && UPB_HAS_CPP_ATTRIBUTE(clang::annotate) +#define UPB_DEPRECATE_AND_INLINE() [[deprecated, clang::annotate("inline-me")]] +#elif UPB_HAS_CPP_ATTRIBUTE(deprecated) +#define UPB_DEPRECATE_AND_INLINE() [[deprecated]] +#else +#define UPB_DEPRECATE_AND_INLINE() +#endif + +#ifdef __has_builtin +#define UPB_HAS_BUILTIN(x) __has_builtin(x) +#else +#define UPB_HAS_BUILTIN(x) 0 +#endif + +#ifdef __has_extension +#define UPB_HAS_EXTENSION(x) __has_extension(x) +#else +#define UPB_HAS_EXTENSION(x) 0 +#endif + +#ifdef __has_feature +#define UPB_HAS_FEATURE(x) __has_feature(x) +#else +#define UPB_HAS_FEATURE(x) 0 +#endif + +#include +#include +#include +#include +#include +#include + +#ifndef UINTPTR_MAX +Error, UINTPTR_MAX is undefined +#endif + +#if UINTPTR_MAX == 0xffffffff +#define UPB_SIZE(size32, size64) size32 +#else +#define UPB_SIZE(size32, size64) size64 +#endif + +/* If we always read/write as a consistent type to each address, this shouldn't + * violate aliasing. + */ +#define UPB_PTR_AT(msg, ofs, type) ((type*)((char*)(msg) + (ofs))) + +// A flexible array member may have lower alignment requirements than the struct +// overall - in that case, it can overlap with the trailing padding of the rest +// of the struct, and a naive sizeof(base) + sizeof(flex) * count calculation +// will not take into account that overlap, and allocate more than is required. +#define UPB_SIZEOF_FLEX(type, member, count) \ + UPB_MAX(sizeof(type), offsetof(type, member[count])) + +#define UPB_SIZEOF_FLEX_WOULD_OVERFLOW(type, member, count) \ + (((SIZE_MAX - offsetof(type, member[0])) / \ + (offsetof(type, member[1]) - offsetof(type, member[0]))) < (size_t)count) + +#define UPB_ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) + +#define UPB_MAPTYPE_STRING 0 + +// UPB_EXPORT: always generate a public symbol. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_EXPORT __attribute__((visibility("default"))) __attribute__((used)) +#else +#define UPB_EXPORT +#endif + +// UPB_INLINE: inline if possible, emit standalone code if required. +#ifdef __cplusplus +#define UPB_INLINE inline +#elif defined(__GNUC__) || defined(__clang__) +#define UPB_INLINE static __inline__ +#else +#define UPB_INLINE static +#endif + +// UPB_INLINE_IF_NOT_GCC: because gcc can be very noisy at times. +#if defined(__GNUC__) && !defined(__clang__) +#define UPB_INLINE_IF_NOT_GCC static +#else +#define UPB_INLINE_IF_NOT_GCC UPB_INLINE +#endif + +#ifdef UPB_BUILD_API +#define UPB_API UPB_EXPORT +#define UPB_API_INLINE UPB_EXPORT +#else +#define UPB_API +#define UPB_API_INLINE UPB_INLINE +#endif + +#ifdef EXPORT_UPBC +#define UPBC_API UPB_EXPORT +#else +#define UPBC_API +#endif + +#if UPB_HAS_FEATURE(address_sanitizer) || defined(__SANITIZE_ADDRESS__) +#define UPB_ASAN 1 +#else +#define UPB_ASAN 0 +#endif + +#if UPB_HAS_FEATURE(hwaddress_sanitizer) +#define UPB_HWASAN 1 +#define UPB_HWASAN_POISON_TAG 17 +#define UPB_MALLOC_ALIGN 16 +#else +#define UPB_HWASAN 0 +#define UPB_MALLOC_ALIGN 8 +#endif + +#if UPB_HAS_FEATURE(thread_sanitizer) || defined(__SANITIZE_THREAD__) +#define UPB_TSAN 1 +#else +#define UPB_TSAN 0 +#endif + +#if UPB_HAS_FEATURE(memory_sanitizer) +#define UPB_MSAN 1 +#else +#define UPB_MSAN 0 +#endif + +// An unfortunate concession to C++17 and MSVC, which don't support zero-sized +// structs. +#if UPB_ASAN || UPB_HWASAN || UPB_TSAN +#define UPB_XSAN_MEMBER upb_Xsan xsan; +#define UPB_XSAN(st) (&(st)->xsan) +#define UPB_XSAN_STRUCT_SIZE 1 +#else +#define UPB_XSAN_MEMBER +#define UPB_XSAN(st) (NULL) +#define UPB_XSAN_STRUCT_SIZE 0 +#endif + +#define UPB_ALIGN_UP(size, align) (((size) + (align) - 1) / (align) * (align)) +#define UPB_ALIGN_DOWN(size, align) ((size) / (align) * (align)) +#define UPB_ALIGN_MALLOC(size) UPB_ALIGN_UP(size, UPB_MALLOC_ALIGN) + +#if __STDC_VERSION__ >= 202311L || UPB_HAS_EXTENSION(cxx_alignof) || \ + defined(__cplusplus) +#define UPB_ALIGN_OF(type) alignof(type) +#elif __STDC_VERSION__ >= 201112L || UPB_HAS_EXTENSION(c_alignof) +#define UPB_ALIGN_OF(type) _Alignof(type) +#elif UPB_GNUC_MIN(2, 95) +#define UPB_ALIGN_OF(type) __alignof__(type) +#elif defined(_MSC_VER) +#define UPB_ALIGN_OF(type) __alignof(type) +#else +#define UPB_ALIGN_OF(type) \ + offsetof( \ + struct { \ + char c; \ + type member; \ + }, \ + member) +#endif + +#ifdef _MSC_VER +// Some versions of our Windows compiler don't support the C11 syntax. +#define UPB_ALIGN_AS(x) __declspec(align(x)) +#elif defined(__GNUC__) +#define UPB_ALIGN_AS(x) __attribute__((aligned(x))) +#else +#define UPB_ALIGN_AS(x) _Alignas(x) +#endif + +#if __STDC_VERSION__ >= 202311L || UPB_HAS_EXTENSION(cxx_static_assert) || \ + defined(__cplusplus) +#define UPB_STATIC_ASSERT(val, msg) static_assert((val), msg) +#elif __STDC_VERSION__ >= 201112L || UPB_HAS_EXTENSION(c_static_assert) || \ + UPB_GNUC_MIN(4, 6) +#define UPB_STATIC_ASSERT(val, msg) _Static_assert((val), msg) +#else +// Unfortunately this hack doesn't work inside struct declarations, but it works +// everywhere else +#define UPB_STATIC_ASSERT_CONCAT_IMPL(s1, s2) s1##s2 +#define UPB_STATIC_ASSERT_CONCAT(s1, s2) UPB_STATIC_ASSERT_CONCAT_IMPL(s1, s2) +#ifdef __COUNTER__ +#define UPB_STATIC_ASSERT(condition, message) \ + typedef char UPB_STATIC_ASSERT_CONCAT(static_assertion_failure_, \ + __COUNTER__)[(condition) ? 1 : -1] +#else +#define UPB_STATIC_ASSERT(condition, message) \ + typedef char UPB_STATIC_ASSERT_CONCAT(static_assertion_failure_, \ + __LINE__)[(condition) ? 1 : -1] +#endif +#endif + +// Hints to the compiler about likely/unlikely branches. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_LIKELY(x) __builtin_expect((bool)(x), 1) +#define UPB_UNLIKELY(x) __builtin_expect((bool)(x), 0) +#else +#define UPB_LIKELY(x) (x) +#define UPB_UNLIKELY(x) (x) +#endif + +#if UPB_HAS_BUILTIN(__builtin_expect_with_probability) +#define UPB_UNPREDICTABLE(x) \ + __builtin_expect_with_probability((bool)(x), 1, 0.5) +#else +#define UPB_UNPREDICTABLE(x) (x) +#endif + +// Macros for function attributes on compilers that support them. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_FORCEINLINE __inline__ __attribute__((always_inline)) static +#define UPB_NOINLINE __attribute__((noinline)) +#define UPB_NORETURN __attribute__((__noreturn__)) +#define UPB_PRINTF(str, first_vararg) \ + __attribute__((format(printf, str, first_vararg))) +#elif defined(_MSC_VER) +#define UPB_NOINLINE +#define UPB_FORCEINLINE static +#define UPB_NORETURN __declspec(noreturn) +#define UPB_PRINTF(str, first_vararg) +#else /* !defined(__GNUC__) */ +#define UPB_FORCEINLINE static +#define UPB_NOINLINE +#define UPB_NORETURN +#define UPB_PRINTF(str, first_vararg) +#endif + +#if UPB_HAS_ATTRIBUTE(noderef) +#define UPB_NODEREF __attribute__((noderef)) +#else +#define UPB_NODEREF +#endif + +// Will be defined properly once call sites are updated +#if false && UPB_HAS_C_ATTRIBUTE(nodiscard) +#define UPB_NODISCARD [[nodiscard]] +#elif false && UPB_HAS_ATTRIBUTE(warn_unused_result) +#define UPB_NODISCARD __attribute__((warn_unused_result)) +#elif false && UPB_HAS_CPP_ATTRIBUTE(nodiscard) +#define UPB_NODISCARD [[nodiscard]] +#else +#define UPB_NODISCARD +#endif + +#define UPB_MAX(x, y) ((x) > (y) ? (x) : (y)) +#define UPB_MIN(x, y) ((x) < (y) ? (x) : (y)) + +#define UPB_UNUSED(var) (void)(var) + +// UPB_ASSUME(): in release mode, we tell the compiler to assume this is true. +#ifdef NDEBUG +#ifdef __GNUC__ +#define UPB_ASSUME(expr) \ + if (!(expr)) __builtin_unreachable() +#elif defined _MSC_VER +#define UPB_ASSUME(expr) \ + if (!(expr)) __assume(0) +#else +#define UPB_ASSUME(expr) \ + do { \ + } while (false && (expr)) +#endif +#else +#define UPB_ASSUME(expr) assert(expr) +#endif + +#if UPB_HAS_BUILTIN(__builtin_constant_p) && UPB_HAS_ATTRIBUTE(const) +#define UPB_MAYBE_ASSUME(pred, x) \ + if (__builtin_constant_p(pred) && pred) UPB_ASSUME(x) +#define UPB_ATTR_CONST __attribute__((const)) +#else +#define UPB_MAYBE_ASSUME(pred, x) +#define UPB_ATTR_CONST +#endif + +/* UPB_ASSERT(): in release mode, we use the expression without letting it be + * evaluated. This prevents "unused variable" warnings. */ +#ifdef NDEBUG +#define UPB_ASSERT(expr) \ + do { \ + } while (false && (expr)) +#else +#define UPB_ASSERT(expr) assert(expr) +#endif + +#if !defined(NDEBUG) && !defined(UPB_TSAN) +#define UPB_ENABLE_REF_CYCLE_CHECKS 1 +#else +#define UPB_ENABLE_REF_CYCLE_CHECKS 0 +#endif + +#if defined(__GNUC__) || defined(__clang__) +#define UPB_PRETTY_FUNCTION __PRETTY_FUNCTION__ +#else +#define UPB_PRETTY_FUNCTION NULL +#endif + +#ifdef __cplusplus + extern "C" { +#endif + UPB_NORETURN void _upb_UnreachableFailure(const char* file, int line, + const char* function_name); +#if !defined(NDEBUG) +#define UPB_UNREACHABLE_FAILURE() \ + _upb_UnreachableFailure(__FILE__, __LINE__, UPB_PRETTY_FUNCTION); +#else +#define UPB_UNREACHABLE_FAILURE() +#endif +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#if defined(__GNUC__) || defined(__clang__) +#define UPB_UNREACHABLE() \ + do { \ + UPB_UNREACHABLE_FAILURE(); \ + __builtin_unreachable(); \ + } while (0) +#elif defined(_MSC_VER) +#define UPB_UNREACHABLE() \ + do { \ + UPB_UNREACHABLE_FAILURE(); \ + __assume(0); \ + } while (0) +#else +#define UPB_UNREACHABLE() \ + do { \ + UPB_UNREACHABLE_FAILURE(); \ + } while (0) +#endif + +#ifdef __ANDROID__ +#define UPB_DEFAULT_MAX_BLOCK_SIZE 8192 +#else +#define UPB_DEFAULT_MAX_BLOCK_SIZE 32768 +#endif + +/* UPB_SETJMP() / UPB_LONGJMP() */ +// Android uses a custom libc that does not implement all of posix, but it has +// had sigsetjmp/siglongjmp forever on arm and since API 12 on x86. Apple has +// sigsetjmp, but does not define the posix feature test macro. +#if defined(__APPLE__) || defined(_POSIX_C_SOURCE) || defined(__ANDROID__) +// avoid setting/restoring signal mask, which involves costly syscalls +#define UPB_SETJMP(buf) sigsetjmp(buf, 0) +#define UPB_LONGJMP(buf, val) siglongjmp(buf, val) +#elif defined(WASM_WAMR) +#define UPB_SETJMP(buf) 0 +#define UPB_LONGJMP(buf, val) abort() +#else +#define UPB_SETJMP(buf) setjmp(buf) +#define UPB_LONGJMP(buf, val) longjmp(buf, val) +#endif + +#if ((__STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_ATOMICS__)) || \ + UPB_HAS_EXTENSION(c_atomic) || \ + defined(__GNUC__) // GCC supported atomics as an extension before it + // supported __has_extension +#define UPB_USE_C11_ATOMICS +#elif defined(_MSC_VER) +#define UPB_USE_MSC_ATOMICS +#endif + +#if defined(UPB_USE_C11_ATOMICS) +#define UPB_ATOMIC(T) _Atomic(T) +#elif defined(UPB_USE_MSC_ATOMICS) +#define UPB_ATOMIC(T) volatile T +#else +#define UPB_ATOMIC(T) T +#endif + +/* UPB_PTRADD(ptr, ofs): add pointer while avoiding "NULL + 0" UB */ +#define UPB_PTRADD(ptr, ofs) ((ofs) ? (ptr) + (ofs) : (ptr)) + +#define UPB_PRIVATE(x) x##_dont_copy_me__upb_internal_use_only + +#ifdef UPB_ALLOW_PRIVATE_ACCESS__FOR_BITS_ONLY +#define UPB_ONLYBITS(x) x +#else +#define UPB_ONLYBITS(x) UPB_PRIVATE(x) +#endif + +/* Configure whether fasttable is switched on or not. *************************/ + +#if UPB_HAS_ATTRIBUTE(musttail) +#define UPB_MUSTTAIL __attribute__((musttail)) +#else +#define UPB_MUSTTAIL +#endif + +#if UPB_HAS_ATTRIBUTE(preserve_most) && !defined(__i386__) +#define UPB_PRESERVE_MOST __attribute__((preserve_most)) +#else +#define UPB_PRESERVE_MOST +#endif + +#if UPB_HAS_ATTRIBUTE(preserve_none) +#define UPB_PRESERVE_NONE __attribute__((preserve_none)) +#else +#define UPB_PRESERVE_NONE +#endif + +#if defined(__aarch64__) && (defined(__GNUC__) || defined(__clang__)) +#define UPB_ARM64_ASM 1 +#else +#define UPB_ARM64_ASM 0 +#endif + +/* When compiling with branch protection, we need to ensure that all branch + * targets in assembly use the appropriate landing pad instruction. These + * instructions are backwards compatible with processors that don't have + * FEAT_BTI and are treated as nops. + */ +#if UPB_ARM64_ASM && defined(__ARM_FEATURE_BTI_DEFAULT) +#if __ARM_FEATURE_BTI_DEFAULT == 1 +#define UPB_ARM64_BTI_DEFAULT 1 +#else +#define UPB_ARM64_BTI_DEFAULT 0 +#endif +#else +#define UPB_ARM64_BTI_DEFAULT 0 +#endif + +/* aarch64 supports big and little endian modes; fasttable performs multibyte + * tag loads assumes the tag of a varint is in the low bits. */ +#if (defined(__x86_64__) || defined(__AARCH64EL__)) && \ + UPB_HAS_ATTRIBUTE(preserve_none) && UPB_HAS_ATTRIBUTE(musttail) +#define UPB_FASTTABLE_SUPPORTED 1 +#else +#define UPB_FASTTABLE_SUPPORTED 0 +#endif + +/* define UPB_ENABLE_FASTTABLE to force fast table support. + * This is useful when we want to ensure we are really getting fasttable, + * for example for testing or benchmarking. */ +#if defined(UPB_ENABLE_FASTTABLE) +#if !UPB_FASTTABLE_SUPPORTED +#error fasttable is x86-64/ARM64le only and requires preserve_none and musttail. +#endif +#define UPB_FASTTABLE 1 +/* Define UPB_TRY_ENABLE_FASTTABLE to use fasttable if possible. + * This is useful for releasing code that might be used on multiple platforms, + * for example the PHP or Ruby C extensions. */ +#elif defined(UPB_TRY_ENABLE_FASTTABLE) +#define UPB_FASTTABLE UPB_FASTTABLE_SUPPORTED +#else +#define UPB_FASTTABLE 0 +#endif + +/* UPB_FASTTABLE_INIT() allows protos compiled for fasttable to gracefully + * degrade to non-fasttable if the runtime or platform do not support it. */ +#if !UPB_FASTTABLE +#define UPB_FASTTABLE_INIT(...) +#define UPB_FASTTABLE_MASK(mask) -1 +#else +#define UPB_FASTTABLE_INIT(...) __VA_ARGS__ +#define UPB_FASTTABLE_MASK(mask) mask +#endif + +#undef UPB_FASTTABLE_SUPPORTED + +#if defined(__cplusplus) +#if defined(__clang__) || UPB_GNUC_MIN(6, 0) +// https://gcc.gnu.org/gcc-6/changes.html +#define UPB_DEPRECATED [[deprecated]] +#else +#define UPB_DEPRECATED +#endif +#else +#define UPB_DEPRECATED +#endif + +#if defined(UPB_IS_GOOGLE3) && \ + (!defined(UPB_BOOTSTRAP_STAGE) || UPB_BOOTSTRAP_STAGE != 0) +#define UPB_DESC_MINITABLE(sym) &proto2__##sym##_msg_init +#elif defined(UPB_IS_GOOGLE3) && defined(UPB_BOOTSTRAP_STAGE) && \ + UPB_BOOTSTRAP_STAGE == 0 +#define UPB_DESC_MINITABLE(sym) proto2__##sym##_msg_init() +#elif defined(UPB_BOOTSTRAP_STAGE) && UPB_BOOTSTRAP_STAGE == 0 +#define UPB_DESC_MINITABLE(sym) google__protobuf__##sym##_msg_init() +#else +#define UPB_DESC_MINITABLE(sym) &google__protobuf__##sym##_msg_init +#endif + +#undef UPB_IS_GOOGLE3 + +#ifdef __clang__ +#define UPB_NO_SANITIZE_ADDRESS __attribute__((no_sanitize("address"))) +#else +#define UPB_NO_SANITIZE_ADDRESS +#endif + +#if defined(__GNUC__) && (defined(__clang__) || UPB_GNUC_MIN(11, 0)) +#define UPB_RETAIN __attribute__((retain)) +#else +#define UPB_RETAIN +#endif + +// Linker arrays combine elements from multiple translation units into a single +// array that can be iterated over at runtime. +// +// It is an alternative to pre-main "registration" functions. +// +// Usage: +// +// // In N translation units. +// UPB_LINKARR_APPEND(foo_array) static int elems[3] = {1, 2, 3}; +// +// // At runtime: +// UPB_LINKARR_DECLARE(foo_array, int); +// +// void f() { +// const int* start = UPB_LINKARR_START(foo_array); +// const int* stop = UPB_LINKARR_STOP(foo_array); +// for (const int* p = start; p < stop; p++) { +// // Windows can introduce zero padding, so we have to skip zeroes. +// if (*p != 0) { +// vec.push_back(*p); +// } +// } +// } + +#if defined(__GNUC__) && !defined(__clang__) +// GCC can't handle mismatched retain attributes in the same section: +// https://github.com/protocolbuffers/protobuf/issues/26385 +// To work around this, we retain all linker array elements, even though this +// effectively disables tree-shaking of unused extensions when using GCC. +#define UPB_LINKARR_ATTR UPB_RETAIN +#else +#define UPB_LINKARR_ATTR +#endif + +#define UPB_LINKARR_SENTINEL UPB_RETAIN __attribute__((weak, used)) + +#if defined(__ELF__) || defined(__wasm__) + +#define UPB_LINKARR_APPEND(name) \ + __attribute__(( \ + section("linkarr_" #name))) UPB_LINKARR_ATTR UPB_NO_SANITIZE_ADDRESS +#define UPB_LINKARR_DECLARE(name, type) \ + UPB_STATIC_ASSERT(sizeof("__la_" #name) <= 17, \ + "Linker array name too long for Mach-O (16-char limit)"); \ + extern type __start_linkarr_##name; \ + extern type __stop_linkarr_##name; \ + UPB_LINKARR_APPEND(name) \ + UPB_LINKARR_SENTINEL type UPB_linkarr_internal_empty_##name[1] +#define UPB_LINKARR_START(name) (&__start_linkarr_##name) +#define UPB_LINKARR_STOP(name) (&__stop_linkarr_##name) + +#elif defined(__MACH__) + +/* As described in: https://stackoverflow.com/a/22366882 */ +#define UPB_LINKARR_APPEND(name) \ + __attribute__(( \ + section("__DATA,__la_" #name))) UPB_LINKARR_ATTR UPB_NO_SANITIZE_ADDRESS +#define UPB_LINKARR_DECLARE(name, type) \ + UPB_STATIC_ASSERT(sizeof("__la_" #name) <= 17, \ + "Linker array name too long for Mach-O (16-char limit)"); \ + extern type __start_linkarr_##name __asm( \ + "section$start$__DATA$__la_" #name); \ + extern type __stop_linkarr_##name __asm( \ + "section$end$__DATA$" \ + "__la_" #name); \ + UPB_LINKARR_APPEND(name) \ + UPB_LINKARR_SENTINEL type UPB_linkarr_internal_empty_##name[1] +#define UPB_LINKARR_START(name) (&__start_linkarr_##name) +#define UPB_LINKARR_STOP(name) (&__stop_linkarr_##name) + +#elif defined(_MSC_VER) + +/* See: + * https://devblogs.microsoft.com/oldnewthing/20181107-00/?p=100155 + * https://devblogs.microsoft.com/oldnewthing/20181108-00/?p=100165 + * https://devblogs.microsoft.com/oldnewthing/20181109-00/?p=100175 */ +#define UPB_STRINGIFY_INTERNAL(x) #x +#define UPB_STRINGIFY(x) UPB_STRINGIFY_INTERNAL(x) +#define UPB_CONCAT(a, b, c) a##b##c +#define UPB_LINKARR_NAME(name, index) \ + UPB_STRINGIFY(UPB_CONCAT(la_, name, index)) +#define UPB_LINKARR_APPEND(name) \ + __pragma(section(UPB_LINKARR_NAME(name, $j), read)) \ + __declspec(allocate(UPB_LINKARR_NAME(name, $j))) +// clang-format off +#define UPB_LINKARR_DECLARE(name, type) \ + __pragma(message(UPB_LINKARR_NAME(name, $j))) \ + __pragma(section(UPB_LINKARR_NAME(name, $a), read)) \ + __pragma(section(UPB_LINKARR_NAME(name, $z), read)) \ + __declspec(allocate(UPB_LINKARR_NAME(name, $a)), selectany) \ + type __start_linkarr_##name; \ + __declspec(allocate(UPB_LINKARR_NAME(name, $z)), selectany) \ + type __stop_linkarr_##name; \ + UPB_LINKARR_APPEND(name) \ + __declspec(selectany) type UPB_linkarr_internal_empty_##name[1] = {0} +// clang-format on +#define UPB_LINKARR_START(name) (&__start_linkarr_##name) +#define UPB_LINKARR_STOP(name) (&__stop_linkarr_##name) + +#else + +// Linker arrays are not supported on this platform. Make macros no-ops. +#define UPB_LINKARR_APPEND(name) +#define UPB_LINKARR_DECLARE(name, type) \ + UPB_STATIC_ASSERT(sizeof("__la_" #name) <= 17, \ + "Linker array name too long for Mach-O (16-char limit)") +#define UPB_LINKARR_START(name) (NULL) +#define UPB_LINKARR_STOP(name) (NULL) + +#endif + +// Workaround for https://github.com/llvm/llvm-project/issues/167577 until it's +// fixed. Some function must exist for the constructor to work properly. +// TODO Remove this or gate it on a future version of clang. +#if defined(__clang__) && defined(__arm__) +#define _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) \ + __attribute__((used, visibility("hidden"))) void UPB_PRIVATE(unique_name)( \ + void) {} +#else +#define _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) +#endif + +#define _UPB_STRINGIFY2(x) #x +#define _UPB_STRINGIFY(x) _UPB_STRINGIFY2(x) + +#if defined(__ELF__) && (UPB_GNUC_MIN(15, 1) || UPB_CLANG_MIN(21, 1)) +/* + * Workaround for b/456308964 and b/456317163. Although weak constructors + * resolve to a single function body, Clang still emits a pointer into + * .init_array for every translation unit, causing the constructor to be + * executed multiple times and inflating binary size. We wrap the .init_array + * entry in a COMDAT group (using inline assembly) to force the linker to + * deduplicate the pointer to exactly one instance. %cc is used in preference to + * the more widely available %c because %c may under some circumstances still + * output a function name including relocation information, which will then + * confuse the linker. This was only a problem on gcc; when %cc was introduced + * to clang it was just an alias to %c, and clang's %c had already done the + * checks that %cc introduced to gcc. + * References: + * https://github.com/gcc-mirror/gcc/commit/74d6a676034b3ab20c387f12f19f5597e4f1c9fa + * https://github.com/llvm/llvm-project/pull/127719#issuecomment-2686276305 + */ +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) \ + __attribute__((weak, used, visibility("hidden"))) void UPB_PRIVATE(name)( \ + void) { \ + __asm__ volatile( \ + ".pushsection .init_array,\"awG\",%%init_array, %cc0, comdat\n" \ + ".dc.a %cc0\n" \ + ".popsection\n" \ + : \ + : "X"(UPB_PRIVATE(name))); \ + __VA_ARGS__ \ + } +#elif defined(__ELF__) || defined(__wasm__) || defined(__MACH__) || \ + defined(__MINGW32__) +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + _UPB_CONSTRUCTOR_PLACEHOLDER(unique_name) \ + __attribute__((weak, visibility("hidden"), constructor)) void UPB_PRIVATE( \ + name)(void) { \ + __VA_ARGS__ \ + } +#elif defined(_MSC_VER) +/* + * See: https://stackoverflow.com/questions/1113409 + * + * The /include pragma suggested in the link above doesn't work in our case + * because it requires globally unique names. We need a different solution + * to prevent optimizers from removing the constructor. Our solution is to + * create a dummy exported weak symbol that prevent this stripping. + */ +#pragma section(".CRT$XCT", read) +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + static void __cdecl UPB_PRIVATE(name)(void); \ + __declspec(allocate(".CRT$XCT"), selectany) void( \ + __cdecl * UPB_PRIVATE(name##_))(void) = UPB_PRIVATE(name); \ + __declspec(selectany, dllexport) void* UPB_PRIVATE(name##_force_linkage) = \ + &UPB_PRIVATE(name##_); \ + static void __cdecl UPB_PRIVATE(name)(void) { __VA_ARGS__ } +#else +// No constructor support, nothing we can do except not break builds. +#if defined(__GNUC__) || defined(__clang__) +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + static __attribute__((used)) void UPB_PRIVATE(name)(void) { __VA_ARGS__ } +#else +#define UPB_CONSTRUCTOR(name, unique_name, ...) \ + static void UPB_PRIVATE(name)(void) { __VA_ARGS__ } +#endif +#endif + +// +// Weak alias platform support. Theoretically this should be possible to do with +// only C using attributes like __attribute__((weak, alias("foo"))), but +// Clang doesn't support this properly on macOS. So we have to use assembly. +#if defined(__APPLE__) + +// TODO: once https://github.com/llvm/llvm-project/issues/167262 is fixed +// in the LLVM linker, we should have all weak variables point to a single +// "default" empty MiniTable instead of having each leaf define its own, like +// we do with ELF below. This will reduce binary size if many messages are tree +// shaken. +#define UPB_WEAK_SINGLETON_PLACEHOLDER_MINITABLE() +#define UPB_WEAK_PLACEHOLDER_MINITABLE(name) \ + __attribute__((weak)) const upb_MiniTable name = { \ + .UPB_PRIVATE(fields) = NULL, \ + .UPB_PRIVATE(size) = sizeof(struct upb_Message), \ + .UPB_PRIVATE(field_count) = 0, \ + .UPB_PRIVATE(ext) = kUpb_ExtMode_NonExtendable, \ + .UPB_PRIVATE(dense_below) = 0, \ + .UPB_PRIVATE(table_mask) = -1, \ + .UPB_PRIVATE(required_count) = 0, \ + }; +#define UPB_WEAK_ALIAS(type, from, to) \ + extern type to; \ + __asm__(".globl _" #to); \ + __asm__(".private_extern _" #to); \ + __asm__(".set _" #to ", _" #from); \ + __asm__(".weak_definition _" #to); +#define UPB_STRONG_ALIAS(type, from, to) \ + __asm__(".globl _" #to); \ + __asm__(".private_extern _" #to); \ + __asm__(".set _" #to ", _" #from); + +#elif defined(__ELF__) || defined(__wasm__) + + // On ELF, weak aliases work properly, so we can have all weak MiniTables + // point to the same empty singleton MiniTable. This reduces code size if many + // MiniTables are tree shaken. +#define UPB_WEAK_SINGLETON_PLACEHOLDER_MINITABLE() \ + __attribute__((weak)) \ + const upb_MiniTable kUpb_WeakSingletonPlaceholderMiniTable = { \ + .UPB_PRIVATE(fields) = NULL, \ + .UPB_PRIVATE(size) = sizeof(struct upb_Message), \ + .UPB_PRIVATE(field_count) = 0, \ + .UPB_PRIVATE(ext) = kUpb_ExtMode_NonExtendable, \ + .UPB_PRIVATE(dense_below) = 0, \ + .UPB_PRIVATE(table_mask) = -1, \ + .UPB_PRIVATE(required_count) = 0, \ + }; +#define UPB_WEAK_PLACEHOLDER_MINITABLE(name) +#define UPB_WEAK_ALIAS(type, from, to) \ + extern type to \ + __attribute__((weak, alias("kUpb_WeakSingletonPlaceholderMiniTable"))); +#define UPB_STRONG_ALIAS(type, from, to) \ + extern type to __attribute__((alias(#from))); + +#else +#define UPB_WEAK_SINGLETON_PLACEHOLDER_MINITABLE() +#define UPB_WEAK_PLACEHOLDER_MINITABLE(name) +#define UPB_WEAK_ALIAS(type, from, to) weak_alias_not_supported_on_this_platform +#define UPB_STRONG_ALIAS(type, from, to) \ + strong_alias_not_supported_on_this_platform + +#endif diff --git a/vendor/upb/upb/port/undef.inc b/vendor/upb/upb/port/undef.inc new file mode 100644 index 000000000..a2bf8a6be --- /dev/null +++ b/vendor/upb/upb/port/undef.inc @@ -0,0 +1,96 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2023 Google LLC. All rights reserved. +// +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file or at +// https://developers.google.com/open-source/licenses/bsd + +// This should #undef all macros #defined in def.inc + +#undef UPB_SIZE +#undef UPB_PTR_AT +#undef UPB_SIZEOF_FLEX +#undef UPB_SIZEOF_FLEX_WOULD_OVERFLOW +#undef UPB_MAPTYPE_STRING +#undef UPB_EXPORT +#undef UPB_INLINE +#undef UPB_API +#undef UPBC_API +#undef UPB_API_INLINE +#undef UPB_API_INLINE_IF_NOT_GCC +#undef UPB_ALIGN_UP +#undef UPB_ALIGN_DOWN +#undef UPB_ALIGN_MALLOC +#undef UPB_ALIGN_OF +#undef UPB_ALIGN_AS +#undef UPB_STATIC_ASSERT +#undef UPB_STATIC_ASSERT_CONCAT +#undef UPB_STATIC_ASSERT_CONCAT_IMPL +#undef UPB_LIKELY +#undef UPB_UNLIKELY +#undef UPB_UNPREDICTABLE +#undef UPB_FORCEINLINE +#undef UPB_NOINLINE +#undef UPB_NORETURN +#undef UPB_PRINTF +#undef UPB_NODEREF +#undef UPB_NODISCARD +#undef UPB_MAX +#undef UPB_MIN +#undef UPB_UNUSED +#undef UPB_ASSUME +#undef UPB_ASSERT +#undef UPB_UNREACHABLE +#undef UPB_UNREACHABLE_FAILURE +#undef UPB_PRETTY_FUNCTION +#undef UPB_DEFAULT_MAX_BLOCK_SIZE +#undef UPB_SETJMP +#undef UPB_LONGJMP +#undef UPB_PTRADD +#undef UPB_MUSTTAIL +#undef UPB_PRESERVE_MOST +#undef UPB_PRESERVE_NONE +#undef UPB_FASTTABLE_SUPPORTED +#undef UPB_FASTTABLE_MASK +#undef UPB_FASTTABLE +#undef UPB_FASTTABLE_INIT +#undef UPB_POISON_MEMORY_REGION +#undef UPB_UNPOISON_MEMORY_REGION +#undef UPB_ASAN +#undef UPB_HWASAN +#undef UPB_HWASAN_POISON_TAG +#undef UPB_MSAN +#undef UPB_MALLOC_ALIGN +#undef UPB_TSAN +#undef UPB_DEPRECATED +#undef UPB_GNUC_MIN +#undef UPB_CLANG_MIN +#undef UPB_DESCRIPTOR_UPB_H_FILENAME +#undef UPB_DESC_MINITABLE +#undef UPB_IS_GOOGLE3 +#undef UPB_ATOMIC +#undef UPB_USE_C11_ATOMICS +#undef UPB_USE_MSC_ATOMICS +#undef UPB_PRIVATE +#undef UPB_ONLYBITS +#undef UPB_LINKARR_DECLARE +#undef UPB_LINKARR_APPEND +#undef UPB_LINKARR_START +#undef UPB_LINKARR_STOP +#undef UPB_HAS_ATTRIBUTE +#undef UPB_HAS_CPP_ATTRIBUTE +#undef UPB_HAS_BUILTIN +#undef UPB_HAS_EXTENSION +#undef UPB_HAS_FEATURE +#undef UPB_XSAN_MEMBER +#undef UPB_XSAN +#undef UPB_XSAN_STRUCT_SIZE +#undef UPB_ENABLE_REF_CYCLE_CHECKS +#undef UPB_ARM64_ASM +#undef UPB_ARM64_BTI_DEFAULT +#undef UPB_DEPRECATE_AND_INLINE +#undef UPB_MAYBE_ASSUME +#undef UPB_ATTR_CONST +#undef _UPB_STRINGIFY +#undef _UPB_STRINGIFY2 +#undef UPB_CONSTRUCTOR